axp-ui/docs/sb-addons/essentials-controls-1/manager-bundle.js
2023-10-11 10:29:52 +03:00

115 lines
372 KiB
JavaScript

try{
var Hy=Object.create;var ya=Object.defineProperty;var zy=Object.getOwnPropertyDescriptor;var Wy=Object.getOwnPropertyNames;var Gy=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty;var dr=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ze=(e,t)=>()=>(e&&(t=e(e=0)),t);var S=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mu=(e,t)=>{for(var r in t)ya(e,r,{get:t[r],enumerable:!0})},Ky=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wy(t))!Vy.call(e,a)&&a!==r&&ya(e,a,{get:()=>t[a],enumerable:!(n=zy(t,a))||n.enumerable});return e};var fe=(e,t,r)=>(r=e!=null?Hy(Gy(e)):{},Ky(t||!e||!e.__esModule?ya(r,"default",{value:e,enumerable:!0}):r,e));var l=Ze(()=>{});var c=Ze(()=>{});var d=Ze(()=>{});var h,Jr,et,gu,FI,SI,wI,yu,BI,me,pr,Aa,TI,_I,OI,RI,Eu,PI,ge,qe,II,he,kI,bu,ot,NI,Fe,ne,MI,Ot=Ze(()=>{l();c();d();h=__REACT__,{Children:Jr,Component:et,Fragment:gu,Profiler:FI,PureComponent:SI,StrictMode:wI,Suspense:yu,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:BI,cloneElement:me,createContext:pr,createElement:Aa,createFactory:TI,createRef:_I,forwardRef:OI,isValidElement:RI,lazy:Eu,memo:PI,useCallback:ge,useContext:qe,useDebugValue:II,useEffect:he,useImperativeHandle:kI,useLayoutEffect:bu,useMemo:ot,useReducer:NI,useRef:Fe,useState:ne,version:MI}=__REACT__});var Fu={};mu(Fu,{A:()=>Jy,ActionBar:()=>Ca,AddonPanel:()=>xa,Badge:()=>Fa,Bar:()=>Qy,Blockquote:()=>Zy,Button:()=>e2,ClipboardCode:()=>t2,Code:()=>Sa,DL:()=>r2,Div:()=>n2,DocumentWrapper:()=>a2,ErrorFormatter:()=>wa,FlexBar:()=>Ba,Form:()=>Re,H1:()=>o2,H2:()=>Ta,H3:()=>_a,H4:()=>i2,H5:()=>u2,H6:()=>s2,HR:()=>l2,IconButton:()=>yt,IconButtonSkeleton:()=>Oa,Icons:()=>Oe,Img:()=>c2,LI:()=>d2,Link:()=>Et,ListItem:()=>p2,Loader:()=>Ra,OL:()=>f2,P:()=>h2,Placeholder:()=>m2,Pre:()=>g2,ResetWrapper:()=>Pa,ScrollArea:()=>y2,Separator:()=>E2,Spaced:()=>Ia,Span:()=>b2,StorybookIcon:()=>A2,StorybookLogo:()=>v2,Symbols:()=>D2,SyntaxHighlighter:()=>Qr,TT:()=>C2,TabBar:()=>x2,TabButton:()=>F2,TabWrapper:()=>S2,Table:()=>w2,Tabs:()=>B2,TabsState:()=>ka,TooltipLinkList:()=>T2,TooltipMessage:()=>_2,TooltipNote:()=>Na,UL:()=>O2,WithTooltip:()=>Zr,WithTooltipPure:()=>Ma,Zoom:()=>La,codeCommon:()=>Rt,components:()=>ja,createCopyToClipboardFunction:()=>R2,default:()=>Xy,getStoryHref:()=>qa,icons:()=>P2,interleaveSeparators:()=>I2,nameSpaceClassNames:()=>$a,resetComponents:()=>k2,withReset:()=>Pt});var Xy,Jy,Ca,xa,Fa,Qy,Zy,e2,t2,Sa,r2,n2,a2,wa,Ba,Re,o2,Ta,_a,i2,u2,s2,l2,yt,Oa,Oe,c2,d2,Et,p2,Ra,f2,h2,m2,g2,Pa,y2,E2,Ia,b2,A2,v2,D2,Qr,C2,x2,F2,S2,w2,B2,ka,T2,_2,Na,O2,Zr,Ma,La,Rt,ja,R2,qa,P2,I2,$a,k2,Pt,fr=Ze(()=>{l();c();d();Xy=__STORYBOOKCOMPONENTS__,{A:Jy,ActionBar:Ca,AddonPanel:xa,Badge:Fa,Bar:Qy,Blockquote:Zy,Button:e2,ClipboardCode:t2,Code:Sa,DL:r2,Div:n2,DocumentWrapper:a2,ErrorFormatter:wa,FlexBar:Ba,Form:Re,H1:o2,H2:Ta,H3:_a,H4:i2,H5:u2,H6:s2,HR:l2,IconButton:yt,IconButtonSkeleton:Oa,Icons:Oe,Img:c2,LI:d2,Link:Et,ListItem:p2,Loader:Ra,OL:f2,P:h2,Placeholder:m2,Pre:g2,ResetWrapper:Pa,ScrollArea:y2,Separator:E2,Spaced:Ia,Span:b2,StorybookIcon:A2,StorybookLogo:v2,Symbols:D2,SyntaxHighlighter:Qr,TT:C2,TabBar:x2,TabButton:F2,TabWrapper:S2,Table:w2,Tabs:B2,TabsState:ka,TooltipLinkList:T2,TooltipMessage:_2,TooltipNote:Na,UL:O2,WithTooltip:Zr,WithTooltipPure:Ma,Zoom:La,codeCommon:Rt,components:ja,createCopyToClipboardFunction:R2,getStoryHref:qa,icons:P2,interleaveSeparators:I2,nameSpaceClassNames:$a,resetComponents:k2,withReset:Pt}=__STORYBOOKCOMPONENTS__});var Pe,hr,Ua=Ze(()=>{l();c();d();Pe=e=>`control-${e.replace(/\s+/g,"-")}`,hr=e=>`set-${e.replace(/\s+/g,"-")}`});var Dk,Ck,xk,Fk,Su,Sk,wk,wu,Bk,Tk,_k,Ok,Rk,Pk,N2,Bu,Ik,kk,Nk,Mk,j,Ha,Lk,Tu,jk,za=Ze(()=>{l();c();d();Dk=__STORYBOOKTHEMING__,{CacheProvider:Ck,ClassNames:xk,Global:Fk,ThemeProvider:Su,background:Sk,color:wk,convert:wu,create:Bk,createCache:Tk,createGlobal:_k,createReset:Ok,css:Rk,darken:Pk,ensure:N2,ignoreSsrWarning:Bu,isPropValid:Ik,jsx:kk,keyframes:Nk,lighten:Mk,styled:j,themes:Ha,typography:Lk,useTheme:Tu,withTheme:jk}=__STORYBOOKTHEMING__});var eo=S((uN,Nu)=>{l();c();d();function v1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}Nu.exports=v1});var Lu=S((dN,Mu)=>{l();c();d();function D1(){this.__data__=[],this.size=0}Mu.exports=D1});var tn=S((mN,ju)=>{l();c();d();function C1(e,t){return e===t||e!==e&&t!==t}ju.exports=C1});var br=S((bN,qu)=>{l();c();d();var x1=tn();function F1(e,t){for(var r=e.length;r--;)if(x1(e[r][0],t))return r;return-1}qu.exports=F1});var Uu=S((CN,$u)=>{l();c();d();var S1=br(),w1=Array.prototype,B1=w1.splice;function T1(e){var t=this.__data__,r=S1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():B1.call(t,r,1),--this.size,!0}$u.exports=T1});var zu=S((wN,Hu)=>{l();c();d();var _1=br();function O1(e){var t=this.__data__,r=_1(t,e);return r<0?void 0:t[r][1]}Hu.exports=O1});var Gu=S((ON,Wu)=>{l();c();d();var R1=br();function P1(e){return R1(this.__data__,e)>-1}Wu.exports=P1});var Ku=S((kN,Vu)=>{l();c();d();var I1=br();function k1(e,t){var r=this.__data__,n=I1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Vu.exports=k1});var Ar=S((jN,Yu)=>{l();c();d();var N1=Lu(),M1=Uu(),L1=zu(),j1=Gu(),q1=Ku();function Mt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Mt.prototype.clear=N1;Mt.prototype.delete=M1;Mt.prototype.get=L1;Mt.prototype.has=j1;Mt.prototype.set=q1;Yu.exports=Mt});var Ju=S((HN,Xu)=>{l();c();d();var $1=Ar();function U1(){this.__data__=new $1,this.size=0}Xu.exports=U1});var Zu=S((VN,Qu)=>{l();c();d();function H1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Qu.exports=H1});var ts=S((JN,es)=>{l();c();d();function z1(e){return this.__data__.get(e)}es.exports=z1});var ns=S((tM,rs)=>{l();c();d();function W1(e){return this.__data__.has(e)}rs.exports=W1});var to=S((oM,as)=>{l();c();d();var G1=typeof window=="object"&&window&&window.Object===Object&&window;as.exports=G1});var $e=S((lM,os)=>{l();c();d();var V1=to(),K1=typeof self=="object"&&self&&self.Object===Object&&self,Y1=V1||K1||Function("return this")();os.exports=Y1});var At=S((fM,is)=>{l();c();d();var X1=$e(),J1=X1.Symbol;is.exports=J1});var cs=S((yM,ls)=>{l();c();d();var us=At(),ss=Object.prototype,Q1=ss.hasOwnProperty,Z1=ss.toString,vr=us?us.toStringTag:void 0;function eE(e){var t=Q1.call(e,vr),r=e[vr];try{e[vr]=void 0;var n=!0}catch{}var a=Z1.call(e);return n&&(t?e[vr]=r:delete e[vr]),a}ls.exports=eE});var ps=S((vM,ds)=>{l();c();d();var tE=Object.prototype,rE=tE.toString;function nE(e){return rE.call(e)}ds.exports=nE});var vt=S((FM,ms)=>{l();c();d();var fs=At(),aE=cs(),oE=ps(),iE="[object Null]",uE="[object Undefined]",hs=fs?fs.toStringTag:void 0;function sE(e){return e==null?e===void 0?uE:iE:hs&&hs in Object(e)?aE(e):oE(e)}ms.exports=sE});var We=S((TM,gs)=>{l();c();d();function lE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}gs.exports=lE});var ro=S((PM,ys)=>{l();c();d();var cE=vt(),dE=We(),pE="[object AsyncFunction]",fE="[object Function]",hE="[object GeneratorFunction]",mE="[object Proxy]";function gE(e){if(!dE(e))return!1;var t=cE(e);return t==fE||t==hE||t==pE||t==mE}ys.exports=gE});var bs=S((MM,Es)=>{l();c();d();var yE=$e(),EE=yE["__core-js_shared__"];Es.exports=EE});var Ds=S(($M,vs)=>{l();c();d();var no=bs(),As=function(){var e=/[^.]+$/.exec(no&&no.keys&&no.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function bE(e){return!!As&&As in e}vs.exports=bE});var ao=S((WM,Cs)=>{l();c();d();var AE=Function.prototype,vE=AE.toString;function DE(e){if(e!=null){try{return vE.call(e)}catch{}try{return e+""}catch{}}return""}Cs.exports=DE});var Fs=S((YM,xs)=>{l();c();d();var CE=ro(),xE=Ds(),FE=We(),SE=ao(),wE=/[\\^$.*+?()[\]{}|]/g,BE=/^\[object .+?Constructor\]$/,TE=Function.prototype,_E=Object.prototype,OE=TE.toString,RE=_E.hasOwnProperty,PE=RegExp("^"+OE.call(RE).replace(wE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function IE(e){if(!FE(e)||xE(e))return!1;var t=CE(e)?PE:BE;return t.test(SE(e))}xs.exports=IE});var ws=S((ZM,Ss)=>{l();c();d();function kE(e,t){return e?.[t]}Ss.exports=kE});var lt=S((nL,Bs)=>{l();c();d();var NE=Fs(),ME=ws();function LE(e,t){var r=ME(e,t);return NE(r)?r:void 0}Bs.exports=LE});var rn=S((uL,Ts)=>{l();c();d();var jE=lt(),qE=$e(),$E=jE(qE,"Map");Ts.exports=$E});var Dr=S((dL,_s)=>{l();c();d();var UE=lt(),HE=UE(Object,"create");_s.exports=HE});var Ps=S((mL,Rs)=>{l();c();d();var Os=Dr();function zE(){this.__data__=Os?Os(null):{},this.size=0}Rs.exports=zE});var ks=S((bL,Is)=>{l();c();d();function WE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Is.exports=WE});var Ms=S((CL,Ns)=>{l();c();d();var GE=Dr(),VE="__lodash_hash_undefined__",KE=Object.prototype,YE=KE.hasOwnProperty;function XE(e){var t=this.__data__;if(GE){var r=t[e];return r===VE?void 0:r}return YE.call(t,e)?t[e]:void 0}Ns.exports=XE});var js=S((wL,Ls)=>{l();c();d();var JE=Dr(),QE=Object.prototype,ZE=QE.hasOwnProperty;function eb(e){var t=this.__data__;return JE?t[e]!==void 0:ZE.call(t,e)}Ls.exports=eb});var $s=S((OL,qs)=>{l();c();d();var tb=Dr(),rb="__lodash_hash_undefined__";function nb(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=tb&&t===void 0?rb:t,this}qs.exports=nb});var Hs=S((kL,Us)=>{l();c();d();var ab=Ps(),ob=ks(),ib=Ms(),ub=js(),sb=$s();function Lt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Lt.prototype.clear=ab;Lt.prototype.delete=ob;Lt.prototype.get=ib;Lt.prototype.has=ub;Lt.prototype.set=sb;Us.exports=Lt});var Gs=S((jL,Ws)=>{l();c();d();var zs=Hs(),lb=Ar(),cb=rn();function db(){this.size=0,this.__data__={hash:new zs,map:new(cb||lb),string:new zs}}Ws.exports=db});var Ks=S((HL,Vs)=>{l();c();d();function pb(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Vs.exports=pb});var Cr=S((VL,Ys)=>{l();c();d();var fb=Ks();function hb(e,t){var r=e.__data__;return fb(t)?r[typeof t=="string"?"string":"hash"]:r.map}Ys.exports=hb});var Js=S((JL,Xs)=>{l();c();d();var mb=Cr();function gb(e){var t=mb(this,e).delete(e);return this.size-=t?1:0,t}Xs.exports=gb});var Zs=S((tj,Qs)=>{l();c();d();var yb=Cr();function Eb(e){return yb(this,e).get(e)}Qs.exports=Eb});var tl=S((oj,el)=>{l();c();d();var bb=Cr();function Ab(e){return bb(this,e).has(e)}el.exports=Ab});var nl=S((lj,rl)=>{l();c();d();var vb=Cr();function Db(e,t){var r=vb(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}rl.exports=Db});var nn=S((fj,al)=>{l();c();d();var Cb=Gs(),xb=Js(),Fb=Zs(),Sb=tl(),wb=nl();function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}jt.prototype.clear=Cb;jt.prototype.delete=xb;jt.prototype.get=Fb;jt.prototype.has=Sb;jt.prototype.set=wb;al.exports=jt});var il=S((yj,ol)=>{l();c();d();var Bb=Ar(),Tb=rn(),_b=nn(),Ob=200;function Rb(e,t){var r=this.__data__;if(r instanceof Bb){var n=r.__data__;if(!Tb||n.length<Ob-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new _b(n)}return r.set(e,t),this.size=r.size,this}ol.exports=Rb});var an=S((vj,ul)=>{l();c();d();var Pb=Ar(),Ib=Ju(),kb=Zu(),Nb=ts(),Mb=ns(),Lb=il();function qt(e){var t=this.__data__=new Pb(e);this.size=t.size}qt.prototype.clear=Ib;qt.prototype.delete=kb;qt.prototype.get=Nb;qt.prototype.has=Mb;qt.prototype.set=Lb;ul.exports=qt});var ll=S((Fj,sl)=>{l();c();d();var jb="__lodash_hash_undefined__";function qb(e){return this.__data__.set(e,jb),this}sl.exports=qb});var dl=S((Tj,cl)=>{l();c();d();function $b(e){return this.__data__.has(e)}cl.exports=$b});var oo=S((Pj,pl)=>{l();c();d();var Ub=nn(),Hb=ll(),zb=dl();function on(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ub;++t<r;)this.add(e[t])}on.prototype.add=on.prototype.push=Hb;on.prototype.has=zb;pl.exports=on});var hl=S((Mj,fl)=>{l();c();d();function Wb(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}fl.exports=Wb});var io=S(($j,ml)=>{l();c();d();function Gb(e,t){return e.has(t)}ml.exports=Gb});var uo=S((Wj,gl)=>{l();c();d();var Vb=oo(),Kb=hl(),Yb=io(),Xb=1,Jb=2;function Qb(e,t,r,n,a,o){var i=r&Xb,u=e.length,s=t.length;if(u!=s&&!(i&&s>u))return!1;var p=o.get(e),y=o.get(t);if(p&&y)return p==t&&y==e;var b=-1,m=!0,g=r&Jb?new Vb:void 0;for(o.set(e,t),o.set(t,e);++b<u;){var A=e[b],E=t[b];if(n)var x=i?n(E,A,b,t,e,o):n(A,E,b,e,t,o);if(x!==void 0){if(x)continue;m=!1;break}if(g){if(!Kb(t,function(F,B){if(!Yb(g,B)&&(A===F||a(A,F,r,n,o)))return g.push(B)})){m=!1;break}}else if(!(A===E||a(A,E,r,n,o))){m=!1;break}}return o.delete(e),o.delete(t),m}gl.exports=Qb});var so=S((Yj,yl)=>{l();c();d();var Zb=$e(),eA=Zb.Uint8Array;yl.exports=eA});var bl=S((Zj,El)=>{l();c();d();function tA(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}El.exports=tA});var un=S((nq,Al)=>{l();c();d();function rA(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Al.exports=rA});var Fl=S((uq,xl)=>{l();c();d();var vl=At(),Dl=so(),nA=tn(),aA=uo(),oA=bl(),iA=un(),uA=1,sA=2,lA="[object Boolean]",cA="[object Date]",dA="[object Error]",pA="[object Map]",fA="[object Number]",hA="[object RegExp]",mA="[object Set]",gA="[object String]",yA="[object Symbol]",EA="[object ArrayBuffer]",bA="[object DataView]",Cl=vl?vl.prototype:void 0,lo=Cl?Cl.valueOf:void 0;function AA(e,t,r,n,a,o,i){switch(r){case bA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case EA:return!(e.byteLength!=t.byteLength||!o(new Dl(e),new Dl(t)));case lA:case cA:case fA:return nA(+e,+t);case dA:return e.name==t.name&&e.message==t.message;case hA:case gA:return e==t+"";case pA:var u=oA;case mA:var s=n&uA;if(u||(u=iA),e.size!=t.size&&!s)return!1;var p=i.get(e);if(p)return p==t;n|=sA,i.set(e,t);var y=aA(u(e),u(t),n,a,o,i);return i.delete(e),y;case yA:if(lo)return lo.call(e)==lo.call(t)}return!1}xl.exports=AA});var sn=S((dq,Sl)=>{l();c();d();function vA(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}Sl.exports=vA});var Ge=S((mq,wl)=>{l();c();d();var DA=Array.isArray;wl.exports=DA});var co=S((bq,Bl)=>{l();c();d();var CA=sn(),xA=Ge();function FA(e,t,r){var n=t(e);return xA(e)?n:CA(n,r(e))}Bl.exports=FA});var _l=S((Cq,Tl)=>{l();c();d();function SA(e,t){for(var r=-1,n=e==null?0:e.length,a=0,o=[];++r<n;){var i=e[r];t(i,r,e)&&(o[a++]=i)}return o}Tl.exports=SA});var po=S((wq,Ol)=>{l();c();d();function wA(){return[]}Ol.exports=wA});var ln=S((Oq,Pl)=>{l();c();d();var BA=_l(),TA=po(),_A=Object.prototype,OA=_A.propertyIsEnumerable,Rl=Object.getOwnPropertySymbols,RA=Rl?function(e){return e==null?[]:(e=Object(e),BA(Rl(e),function(t){return OA.call(e,t)}))}:TA;Pl.exports=RA});var kl=S((kq,Il)=>{l();c();d();function PA(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}Il.exports=PA});var rt=S((jq,Nl)=>{l();c();d();function IA(e){return e!=null&&typeof e=="object"}Nl.exports=IA});var Ll=S((Hq,Ml)=>{l();c();d();var kA=vt(),NA=rt(),MA="[object Arguments]";function LA(e){return NA(e)&&kA(e)==MA}Ml.exports=LA});var cn=S((Vq,$l)=>{l();c();d();var jl=Ll(),jA=rt(),ql=Object.prototype,qA=ql.hasOwnProperty,$A=ql.propertyIsEnumerable,UA=jl(function(){return arguments}())?jl:function(e){return jA(e)&&qA.call(e,"callee")&&!$A.call(e,"callee")};$l.exports=UA});var Hl=S((Jq,Ul)=>{l();c();d();function HA(){return!1}Ul.exports=HA});var dn=S((xr,$t)=>{l();c();d();var zA=$e(),WA=Hl(),Gl=typeof xr=="object"&&xr&&!xr.nodeType&&xr,zl=Gl&&typeof $t=="object"&&$t&&!$t.nodeType&&$t,GA=zl&&zl.exports===Gl,Wl=GA?zA.Buffer:void 0,VA=Wl?Wl.isBuffer:void 0,KA=VA||WA;$t.exports=KA});var pn=S((a$,Vl)=>{l();c();d();var YA=9007199254740991,XA=/^(?:0|[1-9]\d*)$/;function JA(e,t){var r=typeof e;return t=t??YA,!!t&&(r=="number"||r!="symbol"&&XA.test(e))&&e>-1&&e%1==0&&e<t}Vl.exports=JA});var fn=S((s$,Kl)=>{l();c();d();var QA=9007199254740991;function ZA(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=QA}Kl.exports=ZA});var Xl=S((p$,Yl)=>{l();c();d();var ev=vt(),tv=fn(),rv=rt(),nv="[object Arguments]",av="[object Array]",ov="[object Boolean]",iv="[object Date]",uv="[object Error]",sv="[object Function]",lv="[object Map]",cv="[object Number]",dv="[object Object]",pv="[object RegExp]",fv="[object Set]",hv="[object String]",mv="[object WeakMap]",gv="[object ArrayBuffer]",yv="[object DataView]",Ev="[object Float32Array]",bv="[object Float64Array]",Av="[object Int8Array]",vv="[object Int16Array]",Dv="[object Int32Array]",Cv="[object Uint8Array]",xv="[object Uint8ClampedArray]",Fv="[object Uint16Array]",Sv="[object Uint32Array]",ce={};ce[Ev]=ce[bv]=ce[Av]=ce[vv]=ce[Dv]=ce[Cv]=ce[xv]=ce[Fv]=ce[Sv]=!0;ce[nv]=ce[av]=ce[gv]=ce[ov]=ce[yv]=ce[iv]=ce[uv]=ce[sv]=ce[lv]=ce[cv]=ce[dv]=ce[pv]=ce[fv]=ce[hv]=ce[mv]=!1;function wv(e){return rv(e)&&tv(e.length)&&!!ce[ev(e)]}Yl.exports=wv});var hn=S((g$,Jl)=>{l();c();d();function Bv(e){return function(t){return e(t)}}Jl.exports=Bv});var mn=S((Fr,Ut)=>{l();c();d();var Tv=to(),Ql=typeof Fr=="object"&&Fr&&!Fr.nodeType&&Fr,Sr=Ql&&typeof Ut=="object"&&Ut&&!Ut.nodeType&&Ut,_v=Sr&&Sr.exports===Ql,fo=_v&&Tv.process,Ov=function(){try{var e=Sr&&Sr.require&&Sr.require("util").types;return e||fo&&fo.binding&&fo.binding("util")}catch{}}();Ut.exports=Ov});var ho=S((C$,tc)=>{l();c();d();var Rv=Xl(),Pv=hn(),Zl=mn(),ec=Zl&&Zl.isTypedArray,Iv=ec?Pv(ec):Rv;tc.exports=Iv});var mo=S((w$,rc)=>{l();c();d();var kv=kl(),Nv=cn(),Mv=Ge(),Lv=dn(),jv=pn(),qv=ho(),$v=Object.prototype,Uv=$v.hasOwnProperty;function Hv(e,t){var r=Mv(e),n=!r&&Nv(e),a=!r&&!n&&Lv(e),o=!r&&!n&&!a&&qv(e),i=r||n||a||o,u=i?kv(e.length,String):[],s=u.length;for(var p in e)(t||Uv.call(e,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||jv(p,s)))&&u.push(p);return u}rc.exports=Hv});var gn=S((O$,nc)=>{l();c();d();var zv=Object.prototype;function Wv(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||zv;return e===r}nc.exports=Wv});var go=S((k$,ac)=>{l();c();d();function Gv(e,t){return function(r){return e(t(r))}}ac.exports=Gv});var ic=S((j$,oc)=>{l();c();d();var Vv=go(),Kv=Vv(Object.keys,Object);oc.exports=Kv});var sc=S((H$,uc)=>{l();c();d();var Yv=gn(),Xv=ic(),Jv=Object.prototype,Qv=Jv.hasOwnProperty;function Zv(e){if(!Yv(e))return Xv(e);var t=[];for(var r in Object(e))Qv.call(e,r)&&r!="constructor"&&t.push(r);return t}uc.exports=Zv});var yo=S((V$,lc)=>{l();c();d();var eD=ro(),tD=fn();function rD(e){return e!=null&&tD(e.length)&&!eD(e)}lc.exports=rD});var Ht=S((J$,cc)=>{l();c();d();var nD=mo(),aD=sc(),oD=yo();function iD(e){return oD(e)?nD(e):aD(e)}cc.exports=iD});var Eo=S((tU,dc)=>{l();c();d();var uD=co(),sD=ln(),lD=Ht();function cD(e){return uD(e,lD,sD)}dc.exports=cD});var hc=S((oU,fc)=>{l();c();d();var pc=Eo(),dD=1,pD=Object.prototype,fD=pD.hasOwnProperty;function hD(e,t,r,n,a,o){var i=r&dD,u=pc(e),s=u.length,p=pc(t),y=p.length;if(s!=y&&!i)return!1;for(var b=s;b--;){var m=u[b];if(!(i?m in t:fD.call(t,m)))return!1}var g=o.get(e),A=o.get(t);if(g&&A)return g==t&&A==e;var E=!0;o.set(e,t),o.set(t,e);for(var x=i;++b<s;){m=u[b];var F=e[m],B=t[m];if(n)var I=i?n(B,F,m,t,e,o):n(F,B,m,e,t,o);if(!(I===void 0?F===B||a(F,B,r,n,o):I)){E=!1;break}x||(x=m=="constructor")}if(E&&!x){var L=e.constructor,w=t.constructor;L!=w&&"constructor"in e&&"constructor"in t&&!(typeof L=="function"&&L instanceof L&&typeof w=="function"&&w instanceof w)&&(E=!1)}return o.delete(e),o.delete(t),E}fc.exports=hD});var gc=S((lU,mc)=>{l();c();d();var mD=lt(),gD=$e(),yD=mD(gD,"DataView");mc.exports=yD});var Ec=S((fU,yc)=>{l();c();d();var ED=lt(),bD=$e(),AD=ED(bD,"Promise");yc.exports=AD});var bo=S((yU,bc)=>{l();c();d();var vD=lt(),DD=$e(),CD=vD(DD,"Set");bc.exports=CD});var vc=S((vU,Ac)=>{l();c();d();var xD=lt(),FD=$e(),SD=xD(FD,"WeakMap");Ac.exports=SD});var wr=S((FU,Bc)=>{l();c();d();var Ao=gc(),vo=rn(),Do=Ec(),Co=bo(),xo=vc(),wc=vt(),zt=ao(),Dc="[object Map]",wD="[object Object]",Cc="[object Promise]",xc="[object Set]",Fc="[object WeakMap]",Sc="[object DataView]",BD=zt(Ao),TD=zt(vo),_D=zt(Do),OD=zt(Co),RD=zt(xo),Dt=wc;(Ao&&Dt(new Ao(new ArrayBuffer(1)))!=Sc||vo&&Dt(new vo)!=Dc||Do&&Dt(Do.resolve())!=Cc||Co&&Dt(new Co)!=xc||xo&&Dt(new xo)!=Fc)&&(Dt=function(e){var t=wc(e),r=t==wD?e.constructor:void 0,n=r?zt(r):"";if(n)switch(n){case BD:return Sc;case TD:return Dc;case _D:return Cc;case OD:return xc;case RD:return Fc}return t});Bc.exports=Dt});var Nc=S((TU,kc)=>{l();c();d();var Fo=an(),PD=uo(),ID=Fl(),kD=hc(),Tc=wr(),_c=Ge(),Oc=dn(),ND=ho(),MD=1,Rc="[object Arguments]",Pc="[object Array]",yn="[object Object]",LD=Object.prototype,Ic=LD.hasOwnProperty;function jD(e,t,r,n,a,o){var i=_c(e),u=_c(t),s=i?Pc:Tc(e),p=u?Pc:Tc(t);s=s==Rc?yn:s,p=p==Rc?yn:p;var y=s==yn,b=p==yn,m=s==p;if(m&&Oc(e)){if(!Oc(t))return!1;i=!0,y=!1}if(m&&!y)return o||(o=new Fo),i||ND(e)?PD(e,t,r,n,a,o):ID(e,t,s,r,n,a,o);if(!(r&MD)){var g=y&&Ic.call(e,"__wrapped__"),A=b&&Ic.call(t,"__wrapped__");if(g||A){var E=g?e.value():e,x=A?t.value():t;return o||(o=new Fo),a(E,x,r,n,o)}}return m?(o||(o=new Fo),kD(e,t,r,n,a,o)):!1}kc.exports=jD});var So=S((PU,jc)=>{l();c();d();var qD=Nc(),Mc=rt();function Lc(e,t,r,n,a){return e===t?!0:e==null||t==null||!Mc(e)&&!Mc(t)?e!==e&&t!==t:qD(e,t,r,n,Lc,a)}jc.exports=Lc});var $c=S((MU,qc)=>{l();c();d();var $D=an(),UD=So(),HD=1,zD=2;function WD(e,t,r,n){var a=r.length,o=a,i=!n;if(e==null)return!o;for(e=Object(e);a--;){var u=r[a];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<o;){u=r[a];var s=u[0],p=e[s],y=u[1];if(i&&u[2]){if(p===void 0&&!(s in e))return!1}else{var b=new $D;if(n)var m=n(p,y,s,e,t,b);if(!(m===void 0?UD(y,p,HD|zD,n,b):m))return!1}}return!0}qc.exports=WD});var wo=S(($U,Uc)=>{l();c();d();var GD=We();function VD(e){return e===e&&!GD(e)}Uc.exports=VD});var zc=S((WU,Hc)=>{l();c();d();var KD=wo(),YD=Ht();function XD(e){for(var t=YD(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,KD(a)]}return t}Hc.exports=XD});var Bo=S((YU,Wc)=>{l();c();d();function JD(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}Wc.exports=JD});var Vc=S((ZU,Gc)=>{l();c();d();var QD=$c(),ZD=zc(),eC=Bo();function tC(e){var t=ZD(e);return t.length==1&&t[0][2]?eC(t[0][0],t[0][1]):function(r){return r===e||QD(r,e,t)}}Gc.exports=tC});var Br=S((nH,Kc)=>{l();c();d();var rC=vt(),nC=rt(),aC="[object Symbol]";function oC(e){return typeof e=="symbol"||nC(e)&&rC(e)==aC}Kc.exports=oC});var En=S((uH,Yc)=>{l();c();d();var iC=Ge(),uC=Br(),sC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lC=/^\w*$/;function cC(e,t){if(iC(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||uC(e)?!0:lC.test(e)||!sC.test(e)||t!=null&&e in Object(t)}Yc.exports=cC});var Qc=S((dH,Jc)=>{l();c();d();var Xc=nn(),dC="Expected a function";function To(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(dC);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(To.Cache||Xc),r}To.Cache=Xc;Jc.exports=To});var ed=S((mH,Zc)=>{l();c();d();var pC=Qc(),fC=500;function hC(e){var t=pC(e,function(n){return r.size===fC&&r.clear(),n}),r=t.cache;return t}Zc.exports=hC});var rd=S((bH,td)=>{l();c();d();var mC=ed(),gC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yC=/\\(\\)?/g,EC=mC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(gC,function(r,n,a,o){t.push(a?o.replace(yC,"$1"):n||r)}),t});td.exports=EC});var sd=S((CH,ud)=>{l();c();d();var nd=At(),bC=eo(),AC=Ge(),vC=Br(),DC=1/0,ad=nd?nd.prototype:void 0,od=ad?ad.toString:void 0;function id(e){if(typeof e=="string")return e;if(AC(e))return bC(e,id)+"";if(vC(e))return od?od.call(e):"";var t=e+"";return t=="0"&&1/e==-DC?"-0":t}ud.exports=id});var cd=S((wH,ld)=>{l();c();d();var CC=sd();function xC(e){return e==null?"":CC(e)}ld.exports=xC});var Tr=S((OH,dd)=>{l();c();d();var FC=Ge(),SC=En(),wC=rd(),BC=cd();function TC(e,t){return FC(e)?e:SC(e,t)?[e]:wC(BC(e))}dd.exports=TC});var Wt=S((kH,pd)=>{l();c();d();var _C=Br(),OC=1/0;function RC(e){if(typeof e=="string"||_C(e))return e;var t=e+"";return t=="0"&&1/e==-OC?"-0":t}pd.exports=RC});var bn=S((jH,fd)=>{l();c();d();var PC=Tr(),IC=Wt();function kC(e,t){t=PC(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[IC(t[r++])];return r&&r==n?e:void 0}fd.exports=kC});var md=S((HH,hd)=>{l();c();d();var NC=bn();function MC(e,t,r){var n=e==null?void 0:NC(e,t);return n===void 0?r:n}hd.exports=MC});var yd=S((VH,gd)=>{l();c();d();function LC(e,t){return e!=null&&t in Object(e)}gd.exports=LC});var bd=S((JH,Ed)=>{l();c();d();var jC=Tr(),qC=cn(),$C=Ge(),UC=pn(),HC=fn(),zC=Wt();function WC(e,t,r){t=jC(t,e);for(var n=-1,a=t.length,o=!1;++n<a;){var i=zC(t[n]);if(!(o=e!=null&&r(e,i)))break;e=e[i]}return o||++n!=a?o:(a=e==null?0:e.length,!!a&&HC(a)&&UC(i,a)&&($C(e)||qC(e)))}Ed.exports=WC});var _o=S((tz,Ad)=>{l();c();d();var GC=yd(),VC=bd();function KC(e,t){return e!=null&&VC(e,t,GC)}Ad.exports=KC});var Dd=S((oz,vd)=>{l();c();d();var YC=So(),XC=md(),JC=_o(),QC=En(),ZC=wo(),ex=Bo(),tx=Wt(),rx=1,nx=2;function ax(e,t){return QC(e)&&ZC(t)?ex(tx(e),t):function(r){var n=XC(r,e);return n===void 0&&n===t?JC(r,e):YC(t,n,rx|nx)}}vd.exports=ax});var Oo=S((lz,Cd)=>{l();c();d();function ox(e){return e}Cd.exports=ox});var Fd=S((fz,xd)=>{l();c();d();function ix(e){return function(t){return t?.[e]}}xd.exports=ix});var wd=S((yz,Sd)=>{l();c();d();var ux=bn();function sx(e){return function(t){return ux(t,e)}}Sd.exports=sx});var Td=S((vz,Bd)=>{l();c();d();var lx=Fd(),cx=wd(),dx=En(),px=Wt();function fx(e){return dx(e)?lx(px(e)):cx(e)}Bd.exports=fx});var Ro=S((Fz,_d)=>{l();c();d();var hx=Vc(),mx=Dd(),gx=Oo(),yx=Ge(),Ex=Td();function bx(e){return typeof e=="function"?e:e==null?gx:typeof e=="object"?yx(e)?mx(e[0],e[1]):hx(e):Ex(e)}_d.exports=bx});var Po=S((Tz,Od)=>{l();c();d();var Ax=lt(),vx=function(){try{var e=Ax(Object,"defineProperty");return e({},"",{}),e}catch{}}();Od.exports=vx});var An=S((Pz,Pd)=>{l();c();d();var Rd=Po();function Dx(e,t,r){t=="__proto__"&&Rd?Rd(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Pd.exports=Dx});var vn=S((Mz,Id)=>{l();c();d();var Cx=An(),xx=tn(),Fx=Object.prototype,Sx=Fx.hasOwnProperty;function wx(e,t,r){var n=e[t];(!(Sx.call(e,t)&&xx(n,r))||r===void 0&&!(t in e))&&Cx(e,t,r)}Id.exports=wx});var Md=S(($z,Nd)=>{l();c();d();var Bx=vn(),Tx=Tr(),_x=pn(),kd=We(),Ox=Wt();function Rx(e,t,r,n){if(!kd(e))return e;t=Tx(t,e);for(var a=-1,o=t.length,i=o-1,u=e;u!=null&&++a<o;){var s=Ox(t[a]),p=r;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(a!=i){var y=u[s];p=n?n(y,s,u):void 0,p===void 0&&(p=kd(y)?y:_x(t[a+1])?[]:{})}Bx(u,s,p),u=u[s]}return e}Nd.exports=Rx});var Io=S((Wz,Ld)=>{l();c();d();var Px=bn(),Ix=Md(),kx=Tr();function Nx(e,t,r){for(var n=-1,a=t.length,o={};++n<a;){var i=t[n],u=Px(e,i);r(u,i)&&Ix(o,kx(i,e),u)}return o}Ld.exports=Nx});var Dn=S((Yz,jd)=>{l();c();d();var Mx=go(),Lx=Mx(Object.getPrototypeOf,Object);jd.exports=Lx});var ko=S((Zz,qd)=>{l();c();d();var jx=sn(),qx=Dn(),$x=ln(),Ux=po(),Hx=Object.getOwnPropertySymbols,zx=Hx?function(e){for(var t=[];e;)jx(t,$x(e)),e=qx(e);return t}:Ux;qd.exports=zx});var Ud=S((nW,$d)=>{l();c();d();function Wx(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}$d.exports=Wx});var zd=S((uW,Hd)=>{l();c();d();var Gx=We(),Vx=gn(),Kx=Ud(),Yx=Object.prototype,Xx=Yx.hasOwnProperty;function Jx(e){if(!Gx(e))return Kx(e);var t=Vx(e),r=[];for(var n in e)n=="constructor"&&(t||!Xx.call(e,n))||r.push(n);return r}Hd.exports=Jx});var Cn=S((dW,Wd)=>{l();c();d();var Qx=mo(),Zx=zd(),eF=yo();function tF(e){return eF(e)?Qx(e,!0):Zx(e)}Wd.exports=tF});var No=S((mW,Gd)=>{l();c();d();var rF=co(),nF=ko(),aF=Cn();function oF(e){return rF(e,aF,nF)}Gd.exports=oF});var Mo=S((bW,Vd)=>{l();c();d();var iF=eo(),uF=Ro(),sF=Io(),lF=No();function cF(e,t){if(e==null)return{};var r=iF(lF(e),function(n){return[n]});return t=uF(t),sF(e,r,function(n,a){return t(n,a[0])})}Vd.exports=cF});var Sn=S((Cp,Ko)=>{l();c();d();(function(e){if(typeof Cp=="object"&&typeof Ko<"u")Ko.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function n(a,o,i){function u(y,b){if(!o[y]){if(!a[y]){var m=typeof dr=="function"&&dr;if(!b&&m)return m(y,!0);if(s)return s(y,!0);var g=new Error("Cannot find module '"+y+"'");throw g.code="MODULE_NOT_FOUND",g}var A=o[y]={exports:{}};a[y][0].call(A.exports,function(E){var x=a[y][1][E];return u(x||E)},A,A.exports,n,a,o,i)}return o[y].exports}for(var s=typeof dr=="function"&&dr,p=0;p<i.length;p++)u(i[p]);return u}({1:[function(n,a,o){a.exports=function(i){if(typeof Map!="function"||i){var u=n("./similar");return new u}else return new Map}},{"./similar":2}],2:[function(n,a,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}i.prototype.get=function(u){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,u))return this.lastItem.val;if(s=this.indexOf(u),s>=0)return this.lastItem=this.list[s],this.list[s].val},i.prototype.set=function(u,s){var p;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=s,this):(p=this.indexOf(u),p>=0?(this.lastItem=this.list[p],this.list[p].val=s,this):(this.lastItem={key:u,val:s},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(u){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),s=this.indexOf(u),s>=0)return this.size--,this.list.splice(s,1)[0]},i.prototype.has=function(u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(s=this.indexOf(u),s>=0?(this.lastItem=this.list[s],!0):!1)},i.prototype.forEach=function(u,s){var p;for(p=0;p<this.size;p++)u.call(s||this,this.list[p].val,this.list[p].key,this)},i.prototype.indexOf=function(u){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,u))return s;return-1},i.prototype.isEqual=function(u,s){return u===s||u!==u&&s!==s},a.exports=i},{}],3:[function(n,a,o){var i=n("map-or-similar");a.exports=function(y){var b=new i(!1),m=[];return function(g){var A=function(){var E=b,x,F,B=arguments.length-1,I=Array(B+1),L=!0,w;if((A.numArgs||A.numArgs===0)&&A.numArgs!==B+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(w=0;w<B;w++){if(I[w]={cacheItem:E,arg:arguments[w]},E.has(arguments[w])){E=E.get(arguments[w]);continue}L=!1,x=new i(!1),E.set(arguments[w],x),E=x}return L&&(E.has(arguments[B])?F=E.get(arguments[B]):L=!1),L||(F=g.apply(null,arguments),E.set(arguments[B],F)),y>0&&(I[B]={cacheItem:E,arg:arguments[B]},L?u(m,I):m.push(I),m.length>y&&s(m.shift())),A.wasMemoized=L,A.numArgs=B+1,F};return A.limit=y,A.wasMemoized=!1,A.cache=b,A.lru=m,A}};function u(y,b){var m=y.length,g=b.length,A,E,x;for(E=0;E<m;E++){for(A=!0,x=0;x<g;x++)if(!p(y[E][x].arg,b[x].arg)){A=!1;break}if(A)break}y.push(y.splice(E,1)[0])}function s(y){var b=y.length,m=y[b-1],g,A;for(m.cacheItem.delete(m.arg),A=b-2;A>=0&&(m=y[A],g=m.cacheItem.get(m.arg),!g||!g.size);A--)m.cacheItem.delete(m.arg)}function p(y,b){return y===b||y!==y&&b!==b}},{"map-or-similar":1}]},{},[3])(3)})});var Fp=S(($W,xp)=>{l();c();d();function xS(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o<a;)if(t(e[o],o,e))return o;return-1}xp.exports=xS});var wp=S((WW,Sp)=>{l();c();d();function FS(e){return e!==e}Sp.exports=FS});var Tp=S((YW,Bp)=>{l();c();d();function SS(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}Bp.exports=SS});var Op=S((ZW,_p)=>{l();c();d();var wS=Fp(),BS=wp(),TS=Tp();function _S(e,t,r){return t===t?TS(e,t,r):wS(e,BS,r)}_p.exports=_S});var Pp=S((nG,Rp)=>{l();c();d();var OS=Op();function RS(e,t){var r=e==null?0:e.length;return!!r&&OS(e,t,0)>-1}Rp.exports=RS});var kp=S((uG,Ip)=>{l();c();d();function PS(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}Ip.exports=PS});var Mp=S((dG,Np)=>{l();c();d();function IS(){}Np.exports=IS});var jp=S((mG,Lp)=>{l();c();d();var Yo=bo(),kS=Mp(),NS=un(),MS=1/0,LS=Yo&&1/NS(new Yo([,-0]))[1]==MS?function(e){return new Yo(e)}:kS;Lp.exports=LS});var $p=S((bG,qp)=>{l();c();d();var jS=oo(),qS=Pp(),$S=kp(),US=io(),HS=jp(),zS=un(),WS=200;function GS(e,t,r){var n=-1,a=qS,o=e.length,i=!0,u=[],s=u;if(r)i=!1,a=$S;else if(o>=WS){var p=t?null:HS(e);if(p)return zS(p);i=!1,a=US,s=new jS}else s=t?[]:u;e:for(;++n<o;){var y=e[n],b=t?t(y):y;if(y=r||y!==0?y:0,i&&b===b){for(var m=s.length;m--;)if(s[m]===b)continue e;t&&s.push(b),u.push(y)}else a(s,b,r)||(s!==u&&s.push(b),u.push(y))}return u}qp.exports=GS});var Hp=S((CG,Up)=>{l();c();d();var VS=$p();function KS(e){return e&&e.length?VS(e):[]}Up.exports=KS});var Wp=S((wG,zp)=>{l();c();d();function YS(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}zp.exports=YS});var Or=S((OG,Gp)=>{l();c();d();var XS=vn(),JS=An();function QS(e,t,r,n){var a=!r;r||(r={});for(var o=-1,i=t.length;++o<i;){var u=t[o],s=n?n(r[u],e[u],u,r,e):void 0;s===void 0&&(s=e[u]),a?JS(r,u,s):XS(r,u,s)}return r}Gp.exports=QS});var Kp=S((kG,Vp)=>{l();c();d();var ZS=Or(),ew=Ht();function tw(e,t){return e&&ZS(t,ew(t),e)}Vp.exports=tw});var Xp=S((jG,Yp)=>{l();c();d();var rw=Or(),nw=Cn();function aw(e,t){return e&&rw(t,nw(t),e)}Yp.exports=aw});var tf=S((Rr,Vt)=>{l();c();d();var ow=$e(),ef=typeof Rr=="object"&&Rr&&!Rr.nodeType&&Rr,Jp=ef&&typeof Vt=="object"&&Vt&&!Vt.nodeType&&Vt,iw=Jp&&Jp.exports===ef,Qp=iw?ow.Buffer:void 0,Zp=Qp?Qp.allocUnsafe:void 0;function uw(e,t){if(t)return e.slice();var r=e.length,n=Zp?Zp(r):new e.constructor(r);return e.copy(n),n}Vt.exports=uw});var nf=S((GG,rf)=>{l();c();d();function sw(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}rf.exports=sw});var of=S((XG,af)=>{l();c();d();var lw=Or(),cw=ln();function dw(e,t){return lw(e,cw(e),t)}af.exports=dw});var sf=S((eV,uf)=>{l();c();d();var pw=Or(),fw=ko();function hw(e,t){return pw(e,fw(e),t)}uf.exports=hw});var cf=S((aV,lf)=>{l();c();d();var mw=Object.prototype,gw=mw.hasOwnProperty;function yw(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&gw.call(e,"index")&&(r.index=e.index,r.input=e.input),r}lf.exports=yw});var wn=S((sV,pf)=>{l();c();d();var df=so();function Ew(e){var t=new e.constructor(e.byteLength);return new df(t).set(new df(e)),t}pf.exports=Ew});var hf=S((pV,ff)=>{l();c();d();var bw=wn();function Aw(e,t){var r=t?bw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}ff.exports=Aw});var gf=S((gV,mf)=>{l();c();d();var vw=/\w*$/;function Dw(e){var t=new e.constructor(e.source,vw.exec(e));return t.lastIndex=e.lastIndex,t}mf.exports=Dw});var vf=S((AV,Af)=>{l();c();d();var yf=At(),Ef=yf?yf.prototype:void 0,bf=Ef?Ef.valueOf:void 0;function Cw(e){return bf?Object(bf.call(e)):{}}Af.exports=Cw});var Cf=S((xV,Df)=>{l();c();d();var xw=wn();function Fw(e,t){var r=t?xw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Df.exports=Fw});var Ff=S((BV,xf)=>{l();c();d();var Sw=wn(),ww=hf(),Bw=gf(),Tw=vf(),_w=Cf(),Ow="[object Boolean]",Rw="[object Date]",Pw="[object Map]",Iw="[object Number]",kw="[object RegExp]",Nw="[object Set]",Mw="[object String]",Lw="[object Symbol]",jw="[object ArrayBuffer]",qw="[object DataView]",$w="[object Float32Array]",Uw="[object Float64Array]",Hw="[object Int8Array]",zw="[object Int16Array]",Ww="[object Int32Array]",Gw="[object Uint8Array]",Vw="[object Uint8ClampedArray]",Kw="[object Uint16Array]",Yw="[object Uint32Array]";function Xw(e,t,r){var n=e.constructor;switch(t){case jw:return Sw(e);case Ow:case Rw:return new n(+e);case qw:return ww(e,r);case $w:case Uw:case Hw:case zw:case Ww:case Gw:case Vw:case Kw:case Yw:return _w(e,r);case Pw:return new n;case Iw:case Mw:return new n(e);case kw:return Bw(e);case Nw:return new n;case Lw:return Tw(e)}}xf.exports=Xw});var Bf=S((RV,wf)=>{l();c();d();var Jw=We(),Sf=Object.create,Qw=function(){function e(){}return function(t){if(!Jw(t))return{};if(Sf)return Sf(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();wf.exports=Qw});var _f=S((NV,Tf)=>{l();c();d();var Zw=Bf(),e5=Dn(),t5=gn();function r5(e){return typeof e.constructor=="function"&&!t5(e)?Zw(e5(e)):{}}Tf.exports=r5});var Rf=S((qV,Of)=>{l();c();d();var n5=wr(),a5=rt(),o5="[object Map]";function i5(e){return a5(e)&&n5(e)==o5}Of.exports=i5});var Nf=S((zV,kf)=>{l();c();d();var u5=Rf(),s5=hn(),Pf=mn(),If=Pf&&Pf.isMap,l5=If?s5(If):u5;kf.exports=l5});var Lf=S((KV,Mf)=>{l();c();d();var c5=wr(),d5=rt(),p5="[object Set]";function f5(e){return d5(e)&&c5(e)==p5}Mf.exports=f5});var Uf=S((QV,$f)=>{l();c();d();var h5=Lf(),m5=hn(),jf=mn(),qf=jf&&jf.isSet,g5=qf?m5(qf):h5;$f.exports=g5});var Vf=S((rK,Gf)=>{l();c();d();var y5=an(),E5=Wp(),b5=vn(),A5=Kp(),v5=Xp(),D5=tf(),C5=nf(),x5=of(),F5=sf(),S5=Eo(),w5=No(),B5=wr(),T5=cf(),_5=Ff(),O5=_f(),R5=Ge(),P5=dn(),I5=Nf(),k5=We(),N5=Uf(),M5=Ht(),L5=Cn(),j5=1,q5=2,$5=4,Hf="[object Arguments]",U5="[object Array]",H5="[object Boolean]",z5="[object Date]",W5="[object Error]",zf="[object Function]",G5="[object GeneratorFunction]",V5="[object Map]",K5="[object Number]",Wf="[object Object]",Y5="[object RegExp]",X5="[object Set]",J5="[object String]",Q5="[object Symbol]",Z5="[object WeakMap]",e3="[object ArrayBuffer]",t3="[object DataView]",r3="[object Float32Array]",n3="[object Float64Array]",a3="[object Int8Array]",o3="[object Int16Array]",i3="[object Int32Array]",u3="[object Uint8Array]",s3="[object Uint8ClampedArray]",l3="[object Uint16Array]",c3="[object Uint32Array]",le={};le[Hf]=le[U5]=le[e3]=le[t3]=le[H5]=le[z5]=le[r3]=le[n3]=le[a3]=le[o3]=le[i3]=le[V5]=le[K5]=le[Wf]=le[Y5]=le[X5]=le[J5]=le[Q5]=le[u3]=le[s3]=le[l3]=le[c3]=!0;le[W5]=le[zf]=le[Z5]=!1;function Bn(e,t,r,n,a,o){var i,u=t&j5,s=t&q5,p=t&$5;if(r&&(i=a?r(e,n,a,o):r(e)),i!==void 0)return i;if(!k5(e))return e;var y=R5(e);if(y){if(i=T5(e),!u)return C5(e,i)}else{var b=B5(e),m=b==zf||b==G5;if(P5(e))return D5(e,u);if(b==Wf||b==Hf||m&&!a){if(i=s||m?{}:O5(e),!u)return s?F5(e,v5(i,e)):x5(e,A5(i,e))}else{if(!le[b])return a?e:{};i=_5(e,b,u)}}o||(o=new y5);var g=o.get(e);if(g)return g;o.set(e,i),N5(e)?e.forEach(function(x){i.add(Bn(x,t,r,x,e,o))}):I5(e)&&e.forEach(function(x,F){i.set(F,Bn(x,t,r,F,e,o))});var A=p?s?w5:S5:s?L5:M5,E=y?void 0:A(e);return E5(E||e,function(x,F){E&&(F=x,x=e[F]),b5(i,F,Bn(x,t,r,F,e,o))}),i}Gf.exports=Bn});var Yf=S((iK,Kf)=>{l();c();d();var d3=Vf(),p3=1,f3=4;function h3(e){return d3(e,p3|f3)}Kf.exports=h3});var a0=S((VK,n0)=>{l();c();d();function G3(e){return function(t,r,n){for(var a=-1,o=Object(t),i=n(t),u=i.length;u--;){var s=i[e?u:++a];if(r(o[s],s,o)===!1)break}return t}}n0.exports=G3});var i0=S((JK,o0)=>{l();c();d();var V3=a0(),K3=V3();o0.exports=K3});var s0=S((tY,u0)=>{l();c();d();var Y3=i0(),X3=Ht();function J3(e,t){return e&&Y3(e,t,X3)}u0.exports=J3});var In=S((oY,l0)=>{l();c();d();var Q3=An(),Z3=s0(),eB=Ro();function tB(e,t){var r={};return t=eB(t,3),Z3(e,function(n,a,o){Q3(r,a,t(n,a,o))}),r}l0.exports=tB});var d0=S((lY,c0)=>{l();c();d();var rB=Io(),nB=_o();function aB(e,t){return rB(e,t,function(r,n){return nB(e,n)})}c0.exports=aB});var m0=S((fY,h0)=>{l();c();d();var p0=At(),oB=cn(),iB=Ge(),f0=p0?p0.isConcatSpreadable:void 0;function uB(e){return iB(e)||oB(e)||!!(f0&&e&&e[f0])}h0.exports=uB});var E0=S((yY,y0)=>{l();c();d();var sB=sn(),lB=m0();function g0(e,t,r,n,a){var o=-1,i=e.length;for(r||(r=lB),a||(a=[]);++o<i;){var u=e[o];t>0&&r(u)?t>1?g0(u,t-1,r,n,a):sB(a,u):n||(a[a.length]=u)}return a}y0.exports=g0});var A0=S((vY,b0)=>{l();c();d();var cB=E0();function dB(e){var t=e==null?0:e.length;return t?cB(e,1):[]}b0.exports=dB});var D0=S((FY,v0)=>{l();c();d();function pB(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}v0.exports=pB});var F0=S((TY,x0)=>{l();c();d();var fB=D0(),C0=Math.max;function hB(e,t,r){return t=C0(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=C0(n.length-t,0),i=Array(o);++a<o;)i[a]=n[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=n[a];return u[t]=r(i),fB(e,this,u)}}x0.exports=hB});var w0=S((PY,S0)=>{l();c();d();function mB(e){return function(){return e}}S0.exports=mB});var _0=S((MY,T0)=>{l();c();d();var gB=w0(),B0=Po(),yB=Oo(),EB=B0?function(e,t){return B0(e,"toString",{configurable:!0,enumerable:!1,value:gB(t),writable:!0})}:yB;T0.exports=EB});var R0=S(($Y,O0)=>{l();c();d();var bB=800,AB=16,vB=Date.now;function DB(e){var t=0,r=0;return function(){var n=vB(),a=AB-(n-r);if(r=n,a>0){if(++t>=bB)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}O0.exports=DB});var I0=S((WY,P0)=>{l();c();d();var CB=_0(),xB=R0(),FB=xB(CB);P0.exports=FB});var N0=S((YY,k0)=>{l();c();d();var SB=A0(),wB=F0(),BB=I0();function TB(e){return BB(wB(e,void 0,SB),e+"")}k0.exports=TB});var L0=S((ZY,M0)=>{l();c();d();var _B=d0(),OB=N0(),RB=OB(function(e,t){return e==null?{}:_B(e,t)});M0.exports=RB});var Nn=S((nX,z0)=>{"use strict";l();c();d();function kn(e){return Array.prototype.slice.apply(e)}var U0="pending",j0="resolved",q0="rejected";function ae(e){this.status=U0,this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function Pr(e){return e&&typeof e.then=="function"}function PB(e){return e}ae.prototype={then:function(e,t){var r=ae.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:r,nextFn:e,catchFn:t}),r;if(t)try{var n=t(this._error);return Pr(n)?(this._chainPromiseData(n,r),r):ae.resolve(n)._setParent(this)}catch(a){return ae.reject(a)._setParent(this)}return ae.reject(this._error)._setParent(this)}return this._continuations.push({promise:r,nextFn:e,catchFn:t}),this._runResolutions(),r},catch:function(e){if(this._isResolved())return ae.resolve(this._data)._setParent(this);var t=ae.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function r(n,a){if(!t){t=!0,e||(e=PB);var o=e(n);return Pr(o)?o.then(function(){if(a)throw a;return n}):n}}return this.then(function(n){return r(n)}).catch(function(n){return r(null,n)})},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce(function(e,t){if(t.promise){var r={promise:t.promise,children:t.promise._findAncestry()};e.push(r)}return e},[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor(function(e){return e._isPending&&e._isPending()})},_findFirstPaused:function(){return this._findFirstAncestor(function(e){return e._paused})},_findFirstAncestor:function(e){for(var t=this,r;t;)e(t)&&(r=t),t=t._parent;return r},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!(this._paused||!this._isRejected())){var e=this._error,t=this._takeContinuations(),r=this;t.forEach(function(n){if(n.catchFn)try{var a=n.catchFn(e);r._handleUserFunctionResult(a,n.promise)}catch(o){n.promise.reject(o)}else n.promise.reject(e)})}},_runResolutions:function(){if(!(this._paused||!this._isResolved()||this._isPending())){var e=this._takeContinuations(),t=this._data,r=this;if(e.forEach(function(n){if(n.nextFn)try{var a=n.nextFn(t);r._handleUserFunctionResult(a,n.promise)}catch(o){r._handleResolutionError(o,n)}else n.promise&&n.promise.resolve(t)}),Pr(this._data))return this._handleWhenResolvedDataIsPromise(this._data)}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{t.catchFn(e);return}catch(r){e=r}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then(function(r){t._data=r,t._runResolutions()}).catch(function(r){t._error=r,t._setRejected(),t._runRejections()})},_handleUserFunctionResult:function(e,t){Pr(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then(function(r){t.resolve(r)}).catch(function(r){t.reject(r)})},_setResolved:function(){this.status=j0,this._paused||this._runResolutions()},_setRejected:function(){this.status=q0,this._paused||this._runRejections()},_isPending:function(){return this.status===U0},_isResolved:function(){return this.status===j0},_isRejected:function(){return this.status===q0}};ae.resolve=function(e){return new ae(function(t,r){Pr(e)?e.then(function(n){t(n)}).catch(function(n){r(n)}):t(e)})};ae.reject=function(e){return new ae(function(t,r){r(e)})};ae.unresolved=function(){return new ae(function(e,t){this.resolve=e,this.reject=t})};ae.all=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t,r){var n=[],a=0,o=function(){a===e.length&&t(n)},i=!1,u=function(s){i||(i=!0,r(s))};e.forEach(function(s,p){ae.resolve(s).then(function(y){n[p]=y,a+=1,o()}).catch(function(y){u(y)})})}):ae.resolve([])};function $0(e){return typeof window<"u"&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}ae.any=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t,r){var n=[],a=0,o=function(){a===e.length&&r($0(n))},i=!1,u=function(s){i||(i=!0,t(s))};e.forEach(function(s,p){ae.resolve(s).then(function(y){u(y)}).catch(function(y){n[p]=y,a+=1,o()})})}):ae.reject($0([]))};ae.allSettled=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t){var r=[],n=0,a=function(){n+=1,n===e.length&&t(r)};e.forEach(function(o,i){ae.resolve(o).then(function(u){r[i]={status:"fulfilled",value:u},a()}).catch(function(u){r[i]={status:"rejected",reason:u},a()})})}):ae.resolve([])};if(Promise===ae)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var H0=Promise;ae.installGlobally=function(e){if(Promise===ae)return e;var t=IB(e);return Promise=ae,t};ae.uninstallGlobally=function(){Promise===ae&&(Promise=H0)};function IB(e){if(typeof e>"u"||e.__patched)return e;var t=e;return e=function(){var r=H0;t.apply(this,kn(arguments))},e.__patched=!0,e}z0.exports={SynchronousPromise:ae}});var Zo=S((SX,G0)=>{l();c();d();var NB=vt(),MB=Dn(),LB=rt(),jB="[object Object]",qB=Function.prototype,$B=Object.prototype,W0=qB.toString,UB=$B.hasOwnProperty,HB=W0.call(Object);function zB(e){if(!LB(e)||NB(e)!=jB)return!1;var t=MB(e);if(t===null)return!0;var r=UB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&W0.call(r)==HB}G0.exports=zB});var K0=S((_X,V0)=>{l();c();d();V0.exports=WB;function WB(e,t){if(ei("noDeprecation"))return e;var r=!1;function n(){if(!r){if(ei("throwDeprecation"))throw new Error(t);ei("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function ei(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var th=S((ZX,eh)=>{"use strict";l();c();d();eh.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==a||i.enumerable!==!0)return!1}return!0}});var ah=S((nJ,nh)=>{"use strict";l();c();d();var rh=typeof Symbol<"u"&&Symbol,uT=th();nh.exports=function(){return typeof rh!="function"||typeof Symbol!="function"||typeof rh("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:uT()}});var uh=S((uJ,ih)=>{"use strict";l();c();d();var oh={foo:{}},sT=Object;ih.exports=function(){return{__proto__:oh}.foo===oh.foo&&!({__proto__:null}instanceof sT)}});var lh=S((dJ,sh)=>{"use strict";l();c();d();var lT="Function.prototype.bind called on incompatible ",ai=Array.prototype.slice,cT=Object.prototype.toString,dT="[object Function]";sh.exports=function(t){var r=this;if(typeof r!="function"||cT.call(r)!==dT)throw new TypeError(lT+r);for(var n=ai.call(arguments,1),a,o=function(){if(this instanceof a){var y=r.apply(this,n.concat(ai.call(arguments)));return Object(y)===y?y:this}else return r.apply(t,n.concat(ai.call(arguments)))},i=Math.max(0,r.length-n.length),u=[],s=0;s<i;s++)u.push("$"+s);if(a=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var p=function(){};p.prototype=r.prototype,a.prototype=new p,p.prototype=null}return a}});var $n=S((mJ,ch)=>{"use strict";l();c();d();var pT=lh();ch.exports=Function.prototype.bind||pT});var ph=S((bJ,dh)=>{"use strict";l();c();d();var fT=$n();dh.exports=fT.call(Function.call,Object.prototype.hasOwnProperty)});var zn=S((CJ,yh)=>{"use strict";l();c();d();var te,Qt=SyntaxError,gh=Function,Jt=TypeError,oi=function(e){try{return gh('"use strict"; return ('+e+").constructor;")()}catch{}},Ft=Object.getOwnPropertyDescriptor;if(Ft)try{Ft({},"")}catch{Ft=null}var ii=function(){throw new Jt},hT=Ft?function(){try{return arguments.callee,ii}catch{try{return Ft(arguments,"callee").get}catch{return ii}}}():ii,Yt=ah()(),mT=uh()(),De=Object.getPrototypeOf||(mT?function(e){return e.__proto__}:null),Xt={},gT=typeof Uint8Array>"u"||!De?te:De(Uint8Array),St={"%AggregateError%":typeof AggregateError>"u"?te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?te:ArrayBuffer,"%ArrayIteratorPrototype%":Yt&&De?De([][Symbol.iterator]()):te,"%AsyncFromSyncIteratorPrototype%":te,"%AsyncFunction%":Xt,"%AsyncGenerator%":Xt,"%AsyncGeneratorFunction%":Xt,"%AsyncIteratorPrototype%":Xt,"%Atomics%":typeof Atomics>"u"?te:Atomics,"%BigInt%":typeof BigInt>"u"?te:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?te:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?te:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?te:FinalizationRegistry,"%Function%":gh,"%GeneratorFunction%":Xt,"%Int8Array%":typeof Int8Array>"u"?te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Yt&&De?De(De([][Symbol.iterator]())):te,"%JSON%":typeof JSON=="object"?JSON:te,"%Map%":typeof Map>"u"?te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Yt||!De?te:De(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?te:Promise,"%Proxy%":typeof Proxy>"u"?te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Yt||!De?te:De(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Yt&&De?De(""[Symbol.iterator]()):te,"%Symbol%":Yt?Symbol:te,"%SyntaxError%":Qt,"%ThrowTypeError%":hT,"%TypedArray%":gT,"%TypeError%":Jt,"%Uint8Array%":typeof Uint8Array>"u"?te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?te:WeakSet};if(De)try{null.error}catch(e){fh=De(De(e)),St["%Error.prototype%"]=fh}var fh,yT=function e(t){var r;if(t==="%AsyncFunction%")r=oi("async function () {}");else if(t==="%GeneratorFunction%")r=oi("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=oi("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&De&&(r=De(a.prototype))}return St[t]=r,r},hh={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Mr=$n(),Un=ph(),ET=Mr.call(Function.call,Array.prototype.concat),bT=Mr.call(Function.apply,Array.prototype.splice),mh=Mr.call(Function.call,String.prototype.replace),Hn=Mr.call(Function.call,String.prototype.slice),AT=Mr.call(Function.call,RegExp.prototype.exec),vT=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,DT=/\\(\\)?/g,CT=function(t){var r=Hn(t,0,1),n=Hn(t,-1);if(r==="%"&&n!=="%")throw new Qt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Qt("invalid intrinsic syntax, expected opening `%`");var a=[];return mh(t,vT,function(o,i,u,s){a[a.length]=u?mh(s,DT,"$1"):i||o}),a},xT=function(t,r){var n=t,a;if(Un(hh,n)&&(a=hh[n],n="%"+a[0]+"%"),Un(St,n)){var o=St[n];if(o===Xt&&(o=yT(n)),typeof o>"u"&&!r)throw new Jt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Qt("intrinsic "+t+" does not exist!")};yh.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Jt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Jt('"allowMissing" argument must be a boolean');if(AT(/^%?[^%]*%?$/,t)===null)throw new Qt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=CT(t),a=n.length>0?n[0]:"",o=xT("%"+a+"%",r),i=o.name,u=o.value,s=!1,p=o.alias;p&&(a=p[0],bT(n,ET([0,1],p)));for(var y=1,b=!0;y<n.length;y+=1){var m=n[y],g=Hn(m,0,1),A=Hn(m,-1);if((g==='"'||g==="'"||g==="`"||A==='"'||A==="'"||A==="`")&&g!==A)throw new Qt("property names with quotes must have matching quotes");if((m==="constructor"||!b)&&(s=!0),a+="."+m,i="%"+a+"%",Un(St,i))u=St[i];else if(u!=null){if(!(m in u)){if(!r)throw new Jt("base intrinsic for "+t+" exists, but the property is not available.");return}if(Ft&&y+1>=n.length){var E=Ft(u,m);b=!!E,b&&"get"in E&&!("originalValue"in E.get)?u=E.get:u=u[m]}else b=Un(u,m),u=u[m];b&&!s&&(St[i]=u)}}return u}});var Ch=S((wJ,Wn)=>{"use strict";l();c();d();var ui=$n(),Zt=zn(),Ah=Zt("%Function.prototype.apply%"),vh=Zt("%Function.prototype.call%"),Dh=Zt("%Reflect.apply%",!0)||ui.call(vh,Ah),Eh=Zt("%Object.getOwnPropertyDescriptor%",!0),wt=Zt("%Object.defineProperty%",!0),FT=Zt("%Math.max%");if(wt)try{wt({},"a",{value:1})}catch{wt=null}Wn.exports=function(t){var r=Dh(ui,vh,arguments);if(Eh&&wt){var n=Eh(r,"length");n.configurable&&wt(r,"length",{value:1+FT(0,t.length-(arguments.length-1))})}return r};var bh=function(){return Dh(ui,Ah,arguments)};wt?wt(Wn.exports,"apply",{value:bh}):Wn.exports.apply=bh});var wh=S((OJ,Sh)=>{"use strict";l();c();d();var xh=zn(),Fh=Ch(),ST=Fh(xh("String.prototype.indexOf"));Sh.exports=function(t,r){var n=xh(t,!!r);return typeof n=="function"&&ST(t,".prototype.")>-1?Fh(n):n}});var Bh=S(()=>{l();c();d()});var Kh=S((qJ,Vh)=>{l();c();d();var yi=typeof Map=="function"&&Map.prototype,si=Object.getOwnPropertyDescriptor&&yi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Vn=yi&&si&&typeof si.get=="function"?si.get:null,Th=yi&&Map.prototype.forEach,Ei=typeof Set=="function"&&Set.prototype,li=Object.getOwnPropertyDescriptor&&Ei?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kn=Ei&&li&&typeof li.get=="function"?li.get:null,_h=Ei&&Set.prototype.forEach,wT=typeof WeakMap=="function"&&WeakMap.prototype,jr=wT?WeakMap.prototype.has:null,BT=typeof WeakSet=="function"&&WeakSet.prototype,qr=BT?WeakSet.prototype.has:null,TT=typeof WeakRef=="function"&&WeakRef.prototype,Oh=TT?WeakRef.prototype.deref:null,_T=Boolean.prototype.valueOf,OT=Object.prototype.toString,RT=Function.prototype.toString,PT=String.prototype.match,bi=String.prototype.slice,ft=String.prototype.replace,IT=String.prototype.toUpperCase,Rh=String.prototype.toLowerCase,$h=RegExp.prototype.test,Ph=Array.prototype.concat,Ye=Array.prototype.join,kT=Array.prototype.slice,Ih=Math.floor,pi=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ci=Object.getOwnPropertySymbols,fi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,er=typeof Symbol=="function"&&typeof Symbol.iterator=="object",we=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===er||"symbol")?Symbol.toStringTag:null,Uh=Object.prototype.propertyIsEnumerable,kh=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Nh(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||$h.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Ih(-e):Ih(e);if(n!==e){var a=String(n),o=bi.call(t,a.length+1);return ft.call(a,r,"$&_")+"."+ft.call(ft.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ft.call(t,r,"$&_")}var hi=Bh(),Mh=hi.custom,Lh=zh(Mh)?Mh:null;Vh.exports=function e(t,r,n,a){var o=r||{};if(pt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=pt(o,"customInspect")?o.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Gh(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Nh(t,s):s}if(typeof t=="bigint"){var p=String(t)+"n";return u?Nh(t,p):p}var y=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=y&&y>0&&typeof t=="object")return mi(t)?"[Array]":"[Object]";var b=ZT(o,n);if(typeof a>"u")a=[];else if(Wh(a,t)>=0)return"[Circular]";function m(Y,R,_){if(R&&(a=kT.call(a),a.push(R)),_){var q={depth:o.depth};return pt(o,"quoteStyle")&&(q.quoteStyle=o.quoteStyle),e(Y,q,n+1,a)}return e(Y,o,n+1,a)}if(typeof t=="function"&&!jh(t)){var g=zT(t),A=Gn(t,m);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(A.length>0?" { "+Ye.call(A,", ")+" }":"")}if(zh(t)){var E=er?ft.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):fi.call(t);return typeof t=="object"&&!er?Lr(E):E}if(XT(t)){for(var x="<"+Rh.call(String(t.nodeName)),F=t.attributes||[],B=0;B<F.length;B++)x+=" "+F[B].name+"="+Hh(NT(F[B].value),"double",o);return x+=">",t.childNodes&&t.childNodes.length&&(x+="..."),x+="</"+Rh.call(String(t.nodeName))+">",x}if(mi(t)){if(t.length===0)return"[]";var I=Gn(t,m);return b&&!QT(I)?"["+gi(I,b)+"]":"[ "+Ye.call(I,", ")+" ]"}if(LT(t)){var L=Gn(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!Uh.call(t,"cause")?"{ ["+String(t)+"] "+Ye.call(Ph.call("[cause]: "+m(t.cause),L),", ")+" }":L.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ye.call(L,", ")+" }"}if(typeof t=="object"&&i){if(Lh&&typeof t[Lh]=="function"&&hi)return hi(t,{depth:y-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(WT(t)){var w=[];return Th&&Th.call(t,function(Y,R){w.push(m(R,t,!0)+" => "+m(Y,t))}),qh("Map",Vn.call(t),w,b)}if(KT(t)){var k=[];return _h&&_h.call(t,function(Y){k.push(m(Y,t))}),qh("Set",Kn.call(t),k,b)}if(GT(t))return di("WeakMap");if(YT(t))return di("WeakSet");if(VT(t))return di("WeakRef");if(qT(t))return Lr(m(Number(t)));if(UT(t))return Lr(m(pi.call(t)));if($T(t))return Lr(_T.call(t));if(jT(t))return Lr(m(String(t)));if(!MT(t)&&!jh(t)){var N=Gn(t,m),U=kh?kh(t)===Object.prototype:t instanceof Object||t.constructor===Object,V=t instanceof Object?"":"null prototype",H=!U&&we&&Object(t)===t&&we in t?bi.call(ht(t),8,-1):V?"Object":"",ee=U||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Q=ee+(H||V?"["+Ye.call(Ph.call([],H||[],V||[]),": ")+"] ":"");return N.length===0?Q+"{}":b?Q+"{"+gi(N,b)+"}":Q+"{ "+Ye.call(N,", ")+" }"}return String(t)};function Hh(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function NT(e){return ft.call(String(e),/"/g,"&quot;")}function mi(e){return ht(e)==="[object Array]"&&(!we||!(typeof e=="object"&&we in e))}function MT(e){return ht(e)==="[object Date]"&&(!we||!(typeof e=="object"&&we in e))}function jh(e){return ht(e)==="[object RegExp]"&&(!we||!(typeof e=="object"&&we in e))}function LT(e){return ht(e)==="[object Error]"&&(!we||!(typeof e=="object"&&we in e))}function jT(e){return ht(e)==="[object String]"&&(!we||!(typeof e=="object"&&we in e))}function qT(e){return ht(e)==="[object Number]"&&(!we||!(typeof e=="object"&&we in e))}function $T(e){return ht(e)==="[object Boolean]"&&(!we||!(typeof e=="object"&&we in e))}function zh(e){if(er)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!fi)return!1;try{return fi.call(e),!0}catch{}return!1}function UT(e){if(!e||typeof e!="object"||!pi)return!1;try{return pi.call(e),!0}catch{}return!1}var HT=Object.prototype.hasOwnProperty||function(e){return e in this};function pt(e,t){return HT.call(e,t)}function ht(e){return OT.call(e)}function zT(e){if(e.name)return e.name;var t=PT.call(RT.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Wh(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function WT(e){if(!Vn||!e||typeof e!="object")return!1;try{Vn.call(e);try{Kn.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function GT(e){if(!jr||!e||typeof e!="object")return!1;try{jr.call(e,jr);try{qr.call(e,qr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function VT(e){if(!Oh||!e||typeof e!="object")return!1;try{return Oh.call(e),!0}catch{}return!1}function KT(e){if(!Kn||!e||typeof e!="object")return!1;try{Kn.call(e);try{Vn.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function YT(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e,qr);try{jr.call(e,jr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function XT(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Gh(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Gh(bi.call(e,0,t.maxStringLength),t)+n}var a=ft.call(ft.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,JT);return Hh(a,"single",t)}function JT(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+IT.call(t.toString(16))}function Lr(e){return"Object("+e+")"}function di(e){return e+" { ? }"}function qh(e,t,r,n){var a=n?gi(r,n):Ye.call(r,", ");return e+" ("+t+") {"+a+"}"}function QT(e){for(var t=0;t<e.length;t++)if(Wh(e[t],`
`)>=0)return!1;return!0}function ZT(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ye.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ye.call(Array(t+1),r)}}function gi(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Ye.call(e,","+r)+`
`+t.prev}function Gn(e,t){var r=mi(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=pt(e,a)?t(e[a],e):""}var o=typeof ci=="function"?ci(e):[],i;if(er){i={};for(var u=0;u<o.length;u++)i["$"+o[u]]=o[u]}for(var s in e)pt(e,s)&&(r&&String(Number(s))===s&&s<e.length||er&&i["$"+s]instanceof Symbol||($h.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if(typeof ci=="function")for(var p=0;p<o.length;p++)Uh.call(e,o[p])&&n.push("["+t(o[p])+"]: "+t(e[o[p]],e));return n}});var Xh=S((zJ,Yh)=>{"use strict";l();c();d();var Ai=zn(),tr=wh(),e_=Kh(),t_=Ai("%TypeError%"),Yn=Ai("%WeakMap%",!0),Xn=Ai("%Map%",!0),r_=tr("WeakMap.prototype.get",!0),n_=tr("WeakMap.prototype.set",!0),a_=tr("WeakMap.prototype.has",!0),o_=tr("Map.prototype.get",!0),i_=tr("Map.prototype.set",!0),u_=tr("Map.prototype.has",!0),vi=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},s_=function(e,t){var r=vi(e,t);return r&&r.value},l_=function(e,t,r){var n=vi(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},c_=function(e,t){return!!vi(e,t)};Yh.exports=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new t_("Side channel does not contain "+e_(o))},get:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return r_(t,o)}else if(Xn){if(r)return o_(r,o)}else if(n)return s_(n,o)},has:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return a_(t,o)}else if(Xn){if(r)return u_(r,o)}else if(n)return c_(n,o);return!1},set:function(o,i){Yn&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yn),n_(t,o,i)):Xn?(r||(r=new Xn),i_(r,o,i)):(n||(n={key:{},next:null}),l_(n,o,i))}};return a}});var Jn=S((KJ,Jh)=>{"use strict";l();c();d();var d_=String.prototype.replace,p_=/%20/g,Di={RFC1738:"RFC1738",RFC3986:"RFC3986"};Jh.exports={default:Di.RFC3986,formatters:{RFC1738:function(e){return d_.call(e,p_,"+")},RFC3986:function(e){return String(e)}},RFC1738:Di.RFC1738,RFC3986:Di.RFC3986}});var xi=S((QJ,Zh)=>{"use strict";l();c();d();var f_=Jn(),Ci=Object.prototype.hasOwnProperty,Bt=Array.isArray,Xe=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),h_=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Bt(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},Qh=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},m_=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(Bt(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ci.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return Bt(t)&&!Bt(r)&&(a=Qh(t,n)),Bt(t)&&Bt(r)?(r.forEach(function(o,i){if(Ci.call(t,i)){var u=t[i];u&&typeof u=="object"&&o&&typeof o=="object"?t[i]=e(u,o,n):t.push(o)}else t[i]=o}),t):Object.keys(r).reduce(function(o,i){var u=r[i];return Ci.call(o,i)?o[i]=e(o[i],u,n):o[i]=u,o},a)},g_=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},y_=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},E_=function(t,r,n,a,o){if(t.length===0)return t;var i=t;if(typeof t=="symbol"?i=Symbol.prototype.toString.call(t):typeof t!="string"&&(i=String(t)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(y){return"%26%23"+parseInt(y.slice(2),16)+"%3B"});for(var u="",s=0;s<i.length;++s){var p=i.charCodeAt(s);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===f_.RFC1738&&(p===40||p===41)){u+=i.charAt(s);continue}if(p<128){u=u+Xe[p];continue}if(p<2048){u=u+(Xe[192|p>>6]+Xe[128|p&63]);continue}if(p<55296||p>=57344){u=u+(Xe[224|p>>12]+Xe[128|p>>6&63]+Xe[128|p&63]);continue}s+=1,p=65536+((p&1023)<<10|i.charCodeAt(s)&1023),u+=Xe[240|p>>18]+Xe[128|p>>12&63]+Xe[128|p>>6&63]+Xe[128|p&63]}return u},b_=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a<r.length;++a)for(var o=r[a],i=o.obj[o.prop],u=Object.keys(i),s=0;s<u.length;++s){var p=u[s],y=i[p];typeof y=="object"&&y!==null&&n.indexOf(y)===-1&&(r.push({obj:i,prop:p}),n.push(y))}return h_(r),t},A_=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},v_=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},D_=function(t,r){return[].concat(t,r)},C_=function(t,r){if(Bt(t)){for(var n=[],a=0;a<t.length;a+=1)n.push(r(t[a]));return n}return r(t)};Zh.exports={arrayToObject:Qh,assign:g_,combine:D_,compact:b_,decode:y_,encode:E_,isBuffer:v_,isRegExp:A_,maybeMap:C_,merge:m_}});var om=S((rQ,am)=>{"use strict";l();c();d();var rm=Xh(),Qn=xi(),$r=Jn(),x_=Object.prototype.hasOwnProperty,em={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},at=Array.isArray,F_=Array.prototype.push,nm=function(e,t){F_.apply(e,at(t)?t:[t])},S_=Date.prototype.toISOString,tm=$r.default,Be={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Qn.encode,encodeValuesOnly:!1,format:tm,formatter:$r.formatters[tm],indices:!1,serializeDate:function(t){return S_.call(t)},skipNulls:!1,strictNullHandling:!1},w_=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Fi={},B_=function e(t,r,n,a,o,i,u,s,p,y,b,m,g,A,E,x){for(var F=t,B=x,I=0,L=!1;(B=B.get(Fi))!==void 0&&!L;){var w=B.get(t);if(I+=1,typeof w<"u"){if(w===I)throw new RangeError("Cyclic object value");L=!0}typeof B.get(Fi)>"u"&&(I=0)}if(typeof s=="function"?F=s(r,F):F instanceof Date?F=b(F):n==="comma"&&at(F)&&(F=Qn.maybeMap(F,function(q){return q instanceof Date?b(q):q})),F===null){if(o)return u&&!A?u(r,Be.encoder,E,"key",m):r;F=""}if(w_(F)||Qn.isBuffer(F)){if(u){var k=A?r:u(r,Be.encoder,E,"key",m);return[g(k)+"="+g(u(F,Be.encoder,E,"value",m))]}return[g(r)+"="+g(String(F))]}var N=[];if(typeof F>"u")return N;var U;if(n==="comma"&&at(F))A&&u&&(F=Qn.maybeMap(F,u)),U=[{value:F.length>0?F.join(",")||null:void 0}];else if(at(s))U=s;else{var V=Object.keys(F);U=p?V.sort(p):V}for(var H=a&&at(F)&&F.length===1?r+"[]":r,ee=0;ee<U.length;++ee){var Q=U[ee],Y=typeof Q=="object"&&typeof Q.value<"u"?Q.value:F[Q];if(!(i&&Y===null)){var R=at(F)?typeof n=="function"?n(H,Q):H:H+(y?"."+Q:"["+Q+"]");x.set(t,I);var _=rm();_.set(Fi,x),nm(N,e(Y,R,n,a,o,i,n==="comma"&&A&&at(F)?null:u,s,p,y,b,m,g,A,E,_))}}return N},T_=function(t){if(!t)return Be;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Be.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=$r.default;if(typeof t.format<"u"){if(!x_.call($r.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var a=$r.formatters[n],o=Be.filter;return(typeof t.filter=="function"||at(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Be.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Be.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,delimiter:typeof t.delimiter>"u"?Be.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Be.encode,encoder:typeof t.encoder=="function"?t.encoder:Be.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Be.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Be.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Be.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}};am.exports=function(e,t){var r=e,n=T_(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):at(n.filter)&&(o=n.filter,a=o);var i=[];if(typeof r!="object"||r===null)return"";var u;t&&t.arrayFormat in em?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=em[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=s==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var y=rm(),b=0;b<a.length;++b){var m=a[b];n.skipNulls&&r[m]===null||nm(i,B_(r[m],m,s,p,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,y))}var g=i.join(n.delimiter),A=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?A+="utf8=%26%2310003%3B&":A+="utf8=%E2%9C%93&"),g.length>0?A+g:""}});var sm=S((iQ,um)=>{"use strict";l();c();d();var rr=xi(),Si=Object.prototype.hasOwnProperty,__=Array.isArray,Ce={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:rr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},O_=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},im=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},R_="utf8=%26%2310003%3B",P_="utf8=%E2%9C%93",I_=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,i=a.split(r.delimiter,o),u=-1,s,p=r.charset;if(r.charsetSentinel)for(s=0;s<i.length;++s)i[s].indexOf("utf8=")===0&&(i[s]===P_?p="utf-8":i[s]===R_&&(p="iso-8859-1"),u=s,s=i.length);for(s=0;s<i.length;++s)if(s!==u){var y=i[s],b=y.indexOf("]="),m=b===-1?y.indexOf("="):b+1,g,A;m===-1?(g=r.decoder(y,Ce.decoder,p,"key"),A=r.strictNullHandling?null:""):(g=r.decoder(y.slice(0,m),Ce.decoder,p,"key"),A=rr.maybeMap(im(y.slice(m+1),r),function(E){return r.decoder(E,Ce.decoder,p,"value")})),A&&r.interpretNumericEntities&&p==="iso-8859-1"&&(A=O_(A)),y.indexOf("[]=")>-1&&(A=__(A)?[A]:A),Si.call(n,g)?n[g]=rr.combine(n[g],A):n[g]=A}return n},k_=function(e,t,r,n){for(var a=n?t:im(t,r),o=e.length-1;o>=0;--o){var i,u=e[o];if(u==="[]"&&r.parseArrays)i=[].concat(a);else{i=r.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,p=parseInt(s,10);!r.parseArrays&&s===""?i={0:a}:!isNaN(p)&&u!==s&&String(p)===s&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[],i[p]=a):s!=="__proto__"&&(i[s]=a)}a=i}return a},N_=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=n.depth>0&&i.exec(o),p=s?o.slice(0,s.index):o,y=[];if(p){if(!n.plainObjects&&Si.call(Object.prototype,p)&&!n.allowPrototypes)return;y.push(p)}for(var b=0;n.depth>0&&(s=u.exec(o))!==null&&b<n.depth;){if(b+=1,!n.plainObjects&&Si.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;y.push(s[1])}return s&&y.push("["+o.slice(s.index)+"]"),k_(y,r,n,a)}},M_=function(t){if(!t)return Ce;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?Ce.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Ce.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Ce.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Ce.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Ce.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ce.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Ce.comma,decoder:typeof t.decoder=="function"?t.decoder:Ce.decoder,delimiter:typeof t.delimiter=="string"||rr.isRegExp(t.delimiter)?t.delimiter:Ce.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Ce.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Ce.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Ce.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Ce.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ce.strictNullHandling}};um.exports=function(e,t){var r=M_(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?I_(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),i=0;i<o.length;++i){var u=o[i],s=N_(u,n[u],r,typeof e=="string");a=rr.merge(a,s,r)}return r.allowSparse===!0?a:rr.compact(a)}});var wi=S((cQ,lm)=>{"use strict";l();c();d();var L_=om(),j_=sm(),q_=Jn();lm.exports={formats:q_,parse:j_,stringify:L_}});var mm=S((YZ,hm)=>{l();c();d();(function(){"use strict";function e(i){if(i==null)return!1;switch(i.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(i){if(i==null)return!1;switch(i.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(i){if(i==null)return!1;switch(i.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(i){return r(i)||i!=null&&i.type==="FunctionDeclaration"}function a(i){switch(i.type){case"IfStatement":return i.alternate!=null?i.alternate:i.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return i.body}return null}function o(i){var u;if(i.type!=="IfStatement"||i.alternate==null)return!1;u=i.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=a(u)}while(u);return!1}hm.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:o,trailingStatement:a}})()});var Bi=S((ZZ,gm)=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function i(x){return 48<=x&&x<=57}function u(x){return 48<=x&&x<=57||97<=x&&x<=102||65<=x&&x<=70}function s(x){return x>=48&&x<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function p(x){return x===32||x===9||x===11||x===12||x===160||x>=5760&&r.indexOf(x)>=0}function y(x){return x===10||x===13||x===8232||x===8233}function b(x){if(x<=65535)return String.fromCharCode(x);var F=String.fromCharCode(Math.floor((x-65536)/1024)+55296),B=String.fromCharCode((x-65536)%1024+56320);return F+B}for(n=new Array(128),o=0;o<128;++o)n[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function m(x){return x<128?n[x]:t.NonAsciiIdentifierStart.test(b(x))}function g(x){return x<128?a[x]:t.NonAsciiIdentifierPart.test(b(x))}function A(x){return x<128?n[x]:e.NonAsciiIdentifierStart.test(b(x))}function E(x){return x<128?a[x]:e.NonAsciiIdentifierPart.test(b(x))}gm.exports={isDecimalDigit:i,isHexDigit:u,isOctalDigit:s,isWhiteSpace:p,isLineTerminator:y,isIdentifierStartES5:m,isIdentifierPartES5:g,isIdentifierStartES6:A,isIdentifierPartES6:E}})()});var Em=S((nee,ym)=>{l();c();d();(function(){"use strict";var e=Bi();function t(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(m,g){return!g&&m==="yield"?!1:n(m,g)}function n(m,g){if(g&&t(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function a(m,g){return m==="null"||m==="true"||m==="false"||r(m,g)}function o(m,g){return m==="null"||m==="true"||m==="false"||n(m,g)}function i(m){return m==="eval"||m==="arguments"}function u(m){var g,A,E;if(m.length===0||(E=m.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(g=1,A=m.length;g<A;++g)if(E=m.charCodeAt(g),!e.isIdentifierPartES5(E))return!1;return!0}function s(m,g){return(m-55296)*1024+(g-56320)+65536}function p(m){var g,A,E,x,F;if(m.length===0)return!1;for(F=e.isIdentifierStartES6,g=0,A=m.length;g<A;++g){if(E=m.charCodeAt(g),55296<=E&&E<=56319){if(++g,g>=A||(x=m.charCodeAt(g),!(56320<=x&&x<=57343)))return!1;E=s(E,x)}if(!F(E))return!1;F=e.isIdentifierPartES6}return!0}function y(m,g){return u(m)&&!a(m,g)}function b(m,g){return p(m)&&!o(m,g)}ym.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:i,isIdentifierNameES5:u,isIdentifierNameES6:p,isIdentifierES5:y,isIdentifierES6:b}})()});var Ti=S(Zn=>{l();c();d();(function(){"use strict";Zn.ast=mm(),Zn.code=Bi(),Zn.keyword=Em()})()});var bm=S((dee,o8)=>{o8.exports={name:"doctrine",description:"JSDoc parser",homepage:"https://github.com/eslint/doctrine",main:"lib/doctrine.js",version:"3.0.0",engines:{node:">=6.0.0"},directories:{lib:"./lib"},files:["lib"],maintainers:[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],repository:"eslint/doctrine",devDependencies:{coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},license:"Apache-2.0",scripts:{pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},dependencies:{esutils:"^2.0.2"}}});var vm=S((pee,Am)=>{l();c();d();function i8(e,t){if(!e)throw new Error(t||"unknown assertion error")}Am.exports=i8});var _i=S(Ur=>{l();c();d();(function(){"use strict";var e;e=bm().version,Ur.VERSION=e;function t(n){this.name="DoctrineError",this.message=n}t.prototype=function(){var n=function(){};return n.prototype=Error.prototype,new n}(),t.prototype.constructor=t,Ur.DoctrineError=t;function r(n){throw new t(n)}Ur.throwError=r,Ur.assert=vm()})()});var Dm=S(Hr=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o,i,u,s,p,y,b;s=Ti(),p=_i(),e={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},t={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function m(T){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(T))===-1&&!s.code.isWhiteSpace(T)&&!s.code.isLineTerminator(T)}function g(T,P,M,O){this._previous=T,this._index=P,this._token=M,this._value=O}g.prototype.restore=function(){o=this._previous,a=this._index,i=this._token,u=this._value},g.save=function(){return new g(o,a,i,u)};function A(T,P){return b&&(T.range=[P[0]+y,P[1]+y]),T}function E(){var T=r.charAt(a);return a+=1,T}function x(T){var P,M,O,$=0;for(M=T==="u"?4:2,P=0;P<M;++P)if(a<n&&s.code.isHexDigit(r.charCodeAt(a)))O=E(),$=$*16+"0123456789abcdef".indexOf(O.toLowerCase());else return"";return String.fromCharCode($)}function F(){var T="",P,M,O,$,z;for(P=r.charAt(a),++a;a<n;)if(M=E(),M===P){P="";break}else if(M==="\\")if(M=E(),s.code.isLineTerminator(M.charCodeAt(0)))M==="\r"&&r.charCodeAt(a)===10&&++a;else switch(M){case"n":T+=`
`;break;case"r":T+="\r";break;case"t":T+=" ";break;case"u":case"x":z=a,$=x(M),$?T+=$:(a=z,T+=M);break;case"b":T+="\b";break;case"f":T+="\f";break;case"v":T+="\v";break;default:s.code.isOctalDigit(M.charCodeAt(0))?(O="01234567".indexOf(M),a<n&&s.code.isOctalDigit(r.charCodeAt(a))&&(O=O*8+"01234567".indexOf(E()),"0123".indexOf(M)>=0&&a<n&&s.code.isOctalDigit(r.charCodeAt(a))&&(O=O*8+"01234567".indexOf(E()))),T+=String.fromCharCode(O)):T+=M;break}else{if(s.code.isLineTerminator(M.charCodeAt(0)))break;T+=M}return P!==""&&p.throwError("unexpected quote"),u=T,t.STRING}function B(){var T,P;if(T="",P=r.charCodeAt(a),P!==46){if(T=E(),P=r.charCodeAt(a),T==="0"){if(P===120||P===88){for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isHexDigit(P));)T+=E();return T.length<=2&&p.throwError("unexpected token"),a<n&&(P=r.charCodeAt(a),s.code.isIdentifierStartES5(P)&&p.throwError("unexpected token")),u=parseInt(T,16),t.NUMBER}if(s.code.isOctalDigit(P)){for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isOctalDigit(P));)T+=E();return a<n&&(P=r.charCodeAt(a),(s.code.isIdentifierStartES5(P)||s.code.isDecimalDigit(P))&&p.throwError("unexpected token")),u=parseInt(T,8),t.NUMBER}s.code.isDecimalDigit(P)&&p.throwError("unexpected token")}for(;a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E()}if(P===46)for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E();if(P===101||P===69)if(T+=E(),P=r.charCodeAt(a),(P===43||P===45)&&(T+=E()),P=r.charCodeAt(a),s.code.isDecimalDigit(P))for(T+=E();a<n&&(P=r.charCodeAt(a),!!s.code.isDecimalDigit(P));)T+=E();else p.throwError("unexpected token");return a<n&&(P=r.charCodeAt(a),s.code.isIdentifierStartES5(P)&&p.throwError("unexpected token")),u=parseFloat(T),t.NUMBER}function I(){var T,P;for(u=E();a<n&&m(r.charCodeAt(a));){if(T=r.charCodeAt(a),T===46){if(a+1>=n)return t.ILLEGAL;if(P=r.charCodeAt(a+1),P===60)break}u+=E()}return t.NAME}function L(){var T;for(o=a;a<n&&s.code.isWhiteSpace(r.charCodeAt(a));)E();if(a>=n)return i=t.EOF,i;switch(T=r.charCodeAt(a),T){case 39:case 34:return i=F(),i;case 58:return E(),i=t.COLON,i;case 44:return E(),i=t.COMMA,i;case 40:return E(),i=t.LPAREN,i;case 41:return E(),i=t.RPAREN,i;case 91:return E(),i=t.LBRACK,i;case 93:return E(),i=t.RBRACK,i;case 123:return E(),i=t.LBRACE,i;case 125:return E(),i=t.RBRACE,i;case 46:if(a+1<n){if(T=r.charCodeAt(a+1),T===60)return E(),E(),i=t.DOT_LT,i;if(T===46&&a+2<n&&r.charCodeAt(a+2)===46)return E(),E(),E(),i=t.REST,i;if(s.code.isDecimalDigit(T))return i=B(),i}return i=t.ILLEGAL,i;case 60:return E(),i=t.LT,i;case 62:return E(),i=t.GT,i;case 42:return E(),i=t.STAR,i;case 124:return E(),i=t.PIPE,i;case 63:return E(),i=t.QUESTION,i;case 33:return E(),i=t.BANG,i;case 61:return E(),i=t.EQUAL,i;case 45:return i=B(),i;default:return s.code.isDecimalDigit(T)?(i=B(),i):(p.assert(m(T)),i=I(),i)}}function w(T,P){p.assert(i===T,P||"consumed token not matched"),L()}function k(T,P){i!==T&&p.throwError(P||"unexpected token"),L()}function N(){var T,P=a-1;if(w(t.LPAREN,"UnionType should start with ("),T=[],i!==t.RPAREN)for(;T.push(K()),i!==t.RPAREN;)k(t.PIPE);return w(t.RPAREN,"UnionType should end with )"),A({type:e.UnionType,elements:T},[P,o])}function U(){var T,P=a-1,M;for(w(t.LBRACK,"ArrayType should start with ["),T=[];i!==t.RBRACK;){if(i===t.REST){M=a-3,w(t.REST),T.push(A({type:e.RestType,expression:K()},[M,o]));break}else T.push(K());i!==t.RBRACK&&k(t.COMMA)}return k(t.RBRACK),A({type:e.ArrayType,elements:T},[P,o])}function V(){var T=u;if(i===t.NAME||i===t.STRING)return L(),T;if(i===t.NUMBER)return w(t.NUMBER),String(T);p.throwError("unexpected token")}function H(){var T,P=o;return T=V(),i===t.COLON?(w(t.COLON),A({type:e.FieldType,key:T,value:K()},[P,o])):A({type:e.FieldType,key:T,value:null},[P,o])}function ee(){var T,P=a-1,M;if(w(t.LBRACE,"RecordType should start with {"),T=[],i===t.COMMA)w(t.COMMA);else for(;i!==t.RBRACE;)T.push(H()),i!==t.RBRACE&&k(t.COMMA);return M=a,k(t.RBRACE),A({type:e.RecordType,fields:T},[P,M])}function Q(){var T=u,P=a-T.length;return k(t.NAME),i===t.COLON&&(T==="module"||T==="external"||T==="event")&&(w(t.COLON),T+=":"+u,k(t.NAME)),A({type:e.NameExpression,name:T},[P,o])}function Y(){var T=[];for(T.push(Z());i===t.COMMA;)w(t.COMMA),T.push(Z());return T}function R(){var T,P,M=a-u.length;return T=Q(),i===t.DOT_LT||i===t.LT?(L(),P=Y(),k(t.GT),A({type:e.TypeApplication,expression:T,applications:P},[M,o])):T}function _(){return w(t.COLON,"ResultType should start with :"),i===t.NAME&&u==="void"?(w(t.NAME),{type:e.VoidLiteral}):K()}function q(){for(var T=[],P=!1,M,O=!1,$,z=a-3,pe;i!==t.RPAREN;)i===t.REST&&(w(t.REST),O=!0),$=o,M=K(),M.type===e.NameExpression&&i===t.COLON&&(pe=o-M.name.length,w(t.COLON),M=A({type:e.ParameterType,name:M.name,expression:K()},[pe,o])),i===t.EQUAL?(w(t.EQUAL),M=A({type:e.OptionalType,expression:M},[$,o]),P=!0):P&&p.throwError("unexpected token"),O&&(M=A({type:e.RestType,expression:M},[z,o])),T.push(M),i!==t.RPAREN&&k(t.COMMA);return T}function W(){var T,P,M,O,$,z=a-u.length;return p.assert(i===t.NAME&&u==="function","FunctionType should start with 'function'"),w(t.NAME),k(t.LPAREN),T=!1,M=[],P=null,i!==t.RPAREN&&(i===t.NAME&&(u==="this"||u==="new")?(T=u==="new",w(t.NAME),k(t.COLON),P=R(),i===t.COMMA&&(w(t.COMMA),M=q())):M=q()),k(t.RPAREN),O=null,i===t.COLON&&(O=_()),$=A({type:e.FunctionType,params:M,result:O},[z,o]),P&&($.this=P,T&&($.new=!0)),$}function X(){var T,P;switch(i){case t.STAR:return w(t.STAR),A({type:e.AllLiteral},[o-1,o]);case t.LPAREN:return N();case t.LBRACK:return U();case t.LBRACE:return ee();case t.NAME:if(P=a-u.length,u==="null")return w(t.NAME),A({type:e.NullLiteral},[P,o]);if(u==="undefined")return w(t.NAME),A({type:e.UndefinedLiteral},[P,o]);if(u==="true"||u==="false")return w(t.NAME),A({type:e.BooleanLiteralType,value:u==="true"},[P,o]);if(T=g.save(),u==="function")try{return W()}catch{T.restore()}return R();case t.STRING:return L(),A({type:e.StringLiteralType,value:u},[o-u.length-2,o]);case t.NUMBER:return L(),A({type:e.NumericLiteralType,value:u},[o-String(u).length,o]);default:p.throwError("unexpected token")}}function K(){var T,P;return i===t.QUESTION?(P=a-1,w(t.QUESTION),i===t.COMMA||i===t.EQUAL||i===t.RBRACE||i===t.RPAREN||i===t.PIPE||i===t.EOF||i===t.RBRACK||i===t.GT?A({type:e.NullableLiteral},[P,o]):A({type:e.NullableType,expression:X(),prefix:!0},[P,o])):i===t.BANG?(P=a-1,w(t.BANG),A({type:e.NonNullableType,expression:X(),prefix:!0},[P,o])):(P=o,T=X(),i===t.BANG?(w(t.BANG),A({type:e.NonNullableType,expression:T,prefix:!1},[P,o])):i===t.QUESTION?(w(t.QUESTION),A({type:e.NullableType,expression:T,prefix:!1},[P,o])):i===t.LBRACK?(w(t.LBRACK),k(t.RBRACK,"expected an array-style type declaration ("+u+"[])"),A({type:e.TypeApplication,expression:A({type:e.NameExpression,name:"Array"},[P,o]),applications:[T]},[P,o])):T)}function Z(){var T,P;if(T=K(),i!==t.PIPE)return T;for(P=[T],w(t.PIPE);P.push(K()),i===t.PIPE;)w(t.PIPE);return A({type:e.UnionType,elements:P},[0,a])}function se(){var T;return i===t.REST?(w(t.REST),A({type:e.RestType,expression:Z()},[0,a])):(T=Z(),i===t.EQUAL?(w(t.EQUAL),A({type:e.OptionalType,expression:T},[0,a])):T)}function ke(T,P){var M;return r=T,n=r.length,a=0,o=0,b=P&&P.range,y=P&&P.startIndex||0,L(),M=Z(),P&&P.midstream?{expression:M,index:o}:(i!==t.EOF&&p.throwError("not reach to EOF"),M)}function Ne(T,P){var M;return r=T,n=r.length,a=0,o=0,b=P&&P.range,y=P&&P.startIndex||0,L(),M=se(),P&&P.midstream?{expression:M,index:o}:(i!==t.EOF&&p.throwError("not reach to EOF"),M)}function J(T,P,M){var O,$,z;switch(T.type){case e.NullableLiteral:O="?";break;case e.AllLiteral:O="*";break;case e.NullLiteral:O="null";break;case e.UndefinedLiteral:O="undefined";break;case e.VoidLiteral:O="void";break;case e.UnionType:for(M?O="":O="(",$=0,z=T.elements.length;$<z;++$)O+=J(T.elements[$],P),$+1!==z&&(O+=P?"|":" | ");M||(O+=")");break;case e.ArrayType:for(O="[",$=0,z=T.elements.length;$<z;++$)O+=J(T.elements[$],P),$+1!==z&&(O+=P?",":", ");O+="]";break;case e.RecordType:for(O="{",$=0,z=T.fields.length;$<z;++$)O+=J(T.fields[$],P),$+1!==z&&(O+=P?",":", ");O+="}";break;case e.FieldType:T.value?O=T.key+(P?":":": ")+J(T.value,P):O=T.key;break;case e.FunctionType:for(O=P?"function(":"function (",T.this&&(T.new?O+=P?"new:":"new: ":O+=P?"this:":"this: ",O+=J(T.this,P),T.params.length!==0&&(O+=P?",":", ")),$=0,z=T.params.length;$<z;++$)O+=J(T.params[$],P),$+1!==z&&(O+=P?",":", ");O+=")",T.result&&(O+=(P?":":": ")+J(T.result,P));break;case e.ParameterType:O=T.name+(P?":":": ")+J(T.expression,P);break;case e.RestType:O="...",T.expression&&(O+=J(T.expression,P));break;case e.NonNullableType:T.prefix?O="!"+J(T.expression,P):O=J(T.expression,P)+"!";break;case e.OptionalType:O=J(T.expression,P)+"=";break;case e.NullableType:T.prefix?O="?"+J(T.expression,P):O=J(T.expression,P)+"?";break;case e.NameExpression:O=T.name;break;case e.TypeApplication:for(O=J(T.expression,P)+".<",$=0,z=T.applications.length;$<z;++$)O+=J(T.applications[$],P),$+1!==z&&(O+=P?",":", ");O+=">";break;case e.StringLiteralType:O='"'+T.value+'"';break;case e.NumericLiteralType:O=String(T.value);break;case e.BooleanLiteralType:O=String(T.value);break;default:p.throwError("Unknown type "+T.type)}return O}function Ue(T,P){return P==null&&(P={}),J(T,P.compact,P.topLevel)}Hr.parseType=ke,Hr.parseParamType=Ne,Hr.stringify=Ue,Hr.Syntax=e})()});var Cm=S(Je=>{l();c();d();(function(){"use strict";var e,t,r,n,a;n=Ti(),e=Dm(),t=_i();function o(w,k,N){return w.slice(k,N)}a=function(){var w=Object.prototype.hasOwnProperty;return function(N,U){return w.call(N,U)}}();function i(w){var k={},N;for(N in w)w.hasOwnProperty(N)&&(k[N]=w[N]);return k}function u(w){return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57}function s(w){return w==="param"||w==="argument"||w==="arg"}function p(w){return w==="return"||w==="returns"}function y(w){return w==="property"||w==="prop"}function b(w){return s(w)||y(w)||w==="alias"||w==="this"||w==="mixes"||w==="requires"}function m(w){return b(w)||w==="const"||w==="constant"}function g(w){return y(w)||s(w)}function A(w){return y(w)||s(w)}function E(w){return s(w)||p(w)||w==="define"||w==="enum"||w==="implements"||w==="this"||w==="type"||w==="typedef"||y(w)}function x(w){return E(w)||w==="throws"||w==="const"||w==="constant"||w==="namespace"||w==="member"||w==="var"||w==="module"||w==="constructor"||w==="class"||w==="extends"||w==="augments"||w==="public"||w==="private"||w==="protected"}var F="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",B="("+F+"*(?:\\*"+F+`?)?)(.+|[\r
\u2028\u2029])`;function I(w){return w.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(B,"g"),"$2").replace(/\s*$/,"")}function L(w,k){for(var N=w.replace(/^\/\*\*?/,""),U=0,V=new RegExp(B,"g"),H;H=V.exec(N);)if(U+=H[1].length,H.index+H[0].length>k+U)return k+U+w.length-N.length;return w.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(w){var k,N,U,V,H,ee,Q,Y,R;function _(){var M=H.charCodeAt(N);return N+=1,n.code.isLineTerminator(M)&&!(M===13&&H.charCodeAt(N)===10)&&(U+=1),String.fromCharCode(M)}function q(){var M="";for(_();N<V&&u(H.charCodeAt(N));)M+=_();return M}function W(){var M,O,$=N;for(O=!1;$<V;){if(M=H.charCodeAt($),n.code.isLineTerminator(M)&&!(M===13&&H.charCodeAt($+1)===10))O=!0;else if(O){if(M===64)break;n.code.isWhiteSpace(M)||(O=!1)}$+=1}return $}function X(M,O,$){for(var z,pe,oe,ie,Ae=!1;N<O;)if(z=H.charCodeAt(N),n.code.isWhiteSpace(z))_();else if(z===123){_();break}else{Ae=!0;break}if(Ae)return null;for(pe=1,oe="";N<O;)if(z=H.charCodeAt(N),n.code.isLineTerminator(z))_();else{if(z===125){if(pe-=1,pe===0){_();break}}else z===123&&(pe+=1);oe===""&&(ie=N),oe+=_()}return pe!==0?t.throwError("Braces are not balanced"):A(M)?e.parseParamType(oe,{startIndex:Ne(ie),range:$}):e.parseType(oe,{startIndex:Ne(ie),range:$})}function K(M){var O;if(!n.code.isIdentifierStartES5(H.charCodeAt(N))&&!H[N].match(/[0-9]/))return null;for(O=_();N<M&&n.code.isIdentifierPartES5(H.charCodeAt(N));)O+=_();return O}function Z(M){for(;N<M&&(n.code.isWhiteSpace(H.charCodeAt(N))||n.code.isLineTerminator(H.charCodeAt(N)));)_()}function se(M,O,$){var z="",pe,oe;if(Z(M),N>=M)return null;if(H.charCodeAt(N)===91)if(O)pe=!0,z=_();else return null;if(z+=K(M),$)for(H.charCodeAt(N)===58&&(z==="module"||z==="external"||z==="event")&&(z+=_(),z+=K(M)),H.charCodeAt(N)===91&&H.charCodeAt(N+1)===93&&(z+=_(),z+=_());H.charCodeAt(N)===46||H.charCodeAt(N)===47||H.charCodeAt(N)===35||H.charCodeAt(N)===45||H.charCodeAt(N)===126;)z+=_(),z+=K(M);if(pe){if(Z(M),H.charCodeAt(N)===61){z+=_(),Z(M);for(var ie,Ae=1;N<M;){if(ie=H.charCodeAt(N),n.code.isWhiteSpace(ie)&&(oe||(Z(M),ie=H.charCodeAt(N))),ie===39&&(oe?oe==="'"&&(oe=""):oe="'"),ie===34&&(oe?oe==='"'&&(oe=""):oe='"'),ie===91)Ae++;else if(ie===93&&--Ae===0)break;z+=_()}}if(Z(M),N>=M||H.charCodeAt(N)!==93)return null;z+=_()}return z}function ke(){for(;N<V&&H.charCodeAt(N)!==64;)_();return N>=V?!1:(t.assert(H.charCodeAt(N)===64),!0)}function Ne(M){return H===ee?M:L(ee,M)}function J(M,O){this._options=M,this._title=O.toLowerCase(),this._tag={title:O,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=N-O.length-1,this._last=0,this._extra={}}J.prototype.addError=function(O){var $=Array.prototype.slice.call(arguments,1),z=O.replace(/%(\d)/g,function(pe,oe){return t.assert(oe<$.length,"Message reference must be in range"),$[oe]});return this._tag.errors||(this._tag.errors=[]),R&&t.throwError(z),this._tag.errors.push(z),Q},J.prototype.parseType=function(){if(E(this._title))try{if(this._tag.type=X(this._title,this._last,this._options.range),!this._tag.type&&!s(this._title)&&!p(this._title)&&!this.addError("Missing or invalid tag type"))return!1}catch(M){if(this._tag.type=null,!this.addError(M.message))return!1}else if(x(this._title))try{this._tag.type=X(this._title,this._last,this._options.range)}catch{}return!0},J.prototype._parseNamePath=function(M){var O;return O=se(this._last,Y&&A(this._title),!0),!O&&!M&&!this.addError("Missing or invalid tag name")?!1:(this._tag.name=O,!0)},J.prototype.parseNamePath=function(){return this._parseNamePath(!1)},J.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},J.prototype.parseName=function(){var M,O;if(m(this._title))if(this._tag.name=se(this._last,Y&&A(this._title),g(this._title)),this._tag.name)O=this._tag.name,O.charAt(0)==="["&&O.charAt(O.length-1)==="]"&&(M=O.substring(1,O.length-1).split("="),M.length>1&&(this._tag.default=M.slice(1).join("=")),this._tag.name=M[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!b(this._title))return!0;if(s(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},J.prototype.parseDescription=function(){var O=o(H,N,this._last).trim();return O&&(/^-\s+/.test(O)&&(O=O.substring(2)),this._tag.description=O),!0},J.prototype.parseCaption=function(){var O=o(H,N,this._last).trim(),$="<caption>",z="</caption>",pe=O.indexOf($),oe=O.indexOf(z);return pe>=0&&oe>=0?(this._tag.caption=O.substring(pe+$.length,oe).trim(),this._tag.description=O.substring(oe+z.length).trim()):this._tag.description=O,!0},J.prototype.parseKind=function(){var O,$;return $={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},O=o(H,N,this._last).trim(),this._tag.kind=O,!(!a($,O)&&!this.addError("Invalid kind name '%0'",O))},J.prototype.parseAccess=function(){var O;return O=o(H,N,this._last).trim(),this._tag.access=O,!(O!=="private"&&O!=="protected"&&O!=="public"&&!this.addError("Invalid access name '%0'",O))},J.prototype.parseThis=function(){var O=o(H,N,this._last).trim();if(O&&O.charAt(0)==="{"){var $=this.parseType();return $&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},J.prototype.parseVariation=function(){var O,$;return $=o(H,N,this._last).trim(),O=parseFloat($,10),this._tag.variation=O,!(isNaN(O)&&!this.addError("Invalid variation '%0'",$))},J.prototype.ensureEnd=function(){var M=o(H,N,this._last).trim();return!(M&&!this.addError("Unknown content '%0'",M))},J.prototype.epilogue=function(){var O;return O=this._tag.description,!(A(this._title)&&!this._tag.type&&O&&O.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!Y&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},J.prototype.parse=function(){var O,$,z,pe;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=W(this._title),this._options.range&&(this._tag.range=[this._first,H.slice(0,this._last).replace(/\s*$/,"").length].map(Ne)),a(k,this._title)?z=k[this._title]:z=["parseType","parseName","parseDescription","epilogue"],O=0,$=z.length;O<$;++O)if(pe=z[O],!this[pe]())return null;return this._tag};function Ue(M){var O,$,z;if(!ke())return null;for(O=q(),$=new J(M,O),z=$.parse();N<$._last;)_();return z}function T(M){var O="",$,z;for(z=!0;N<V&&($=H.charCodeAt(N),!(z&&$===64));)n.code.isLineTerminator($)?z=!0:z&&!n.code.isWhiteSpace($)&&(z=!1),O+=_();return M?O:O.trim()}function P(M,O){var $=[],z,pe,oe,ie,Ae;if(O===void 0&&(O={}),typeof O.unwrap=="boolean"&&O.unwrap?H=I(M):H=M,ee=M,O.tags)if(Array.isArray(O.tags))for(oe={},ie=0,Ae=O.tags.length;ie<Ae;ie++)typeof O.tags[ie]=="string"?oe[O.tags[ie]]=!0:t.throwError('Invalid "tags" parameter: '+O.tags);else t.throwError('Invalid "tags" parameter: '+O.tags);for(V=H.length,N=0,U=0,Q=O.recoverable,Y=O.sloppy,R=O.strict,pe=T(O.preserveWhitespace);z=Ue(O),!!z;)(!oe||oe.hasOwnProperty(z.title))&&$.push(z);return{description:pe,tags:$}}w.parse=P})(r={}),Je.version=t.VERSION,Je.parse=r.parse,Je.parseType=e.parseType,Je.parseParamType=e.parseParamType,Je.unwrapComment=I,Je.Syntax=i(e.Syntax),Je.Error=t.DoctrineError,Je.type={Syntax:Je.Syntax,parseType:e.parseType,parseParamType:e.parseParamType,stringify:e.stringify}})()});var Vm=S((zee,Gm)=>{l();c();d();Gm.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}});var Ym=S((Kee,Km)=>{l();c();d();Km.exports=function(e){var t=[].forEach,r=[].some,n=document.body,a,o=!0,i=" ";function u(F,B){var I=B.appendChild(p(F));if(F.children.length){var L=y(F.isCollapsed);F.children.forEach(function(w){u(w,L)}),I.appendChild(L)}}function s(F,B){var I=!1,L=y(I);if(B.forEach(function(w){u(w,L)}),a=F||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),B.length===0?a:a.appendChild(L)}function p(F){var B=document.createElement("li"),I=document.createElement("a");return e.listItemClass&&B.setAttribute("class",e.listItemClass),e.onClick&&(I.onclick=e.onClick),e.includeTitleTags&&I.setAttribute("title",F.textContent),e.includeHtml&&F.childNodes.length?t.call(F.childNodes,function(L){I.appendChild(L.cloneNode(!0))}):I.textContent=F.textContent,I.setAttribute("href",e.basePath+"#"+F.id),I.setAttribute("class",e.linkClass+i+"node-name--"+F.nodeName+i+e.extraLinkClasses),B.appendChild(I),B}function y(F){var B=e.orderedList?"ol":"ul",I=document.createElement(B),L=e.listClass+i+e.extraListClasses;return F&&(L=L+i+e.collapsibleClass,L=L+i+e.isCollapsedClass),I.setAttribute("class",L),I}function b(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var F;F=document.querySelector(e.scrollContainer).scrollTop}else F=document.documentElement.scrollTop||n.scrollTop;var B=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),F>e.fixedSidebarOffset?B.className.indexOf(e.positionFixedClass)===-1&&(B.className+=i+e.positionFixedClass):B.className=B.className.split(i+e.positionFixedClass).join("")}function m(F){var B=0;return F!==null&&(B=F.offsetTop,e.hasInnerContainers&&(B+=m(F.offsetParent))),B}function g(F){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var B;B=document.querySelector(e.scrollContainer).scrollTop}else B=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&b();var I=F,L;if(o&&a!==null&&I.length>0){r.call(I,function(ee,Q){if(m(ee)>B+e.headingsOffset+10){var Y=Q===0?Q:Q-1;return L=I[Y],!0}else if(Q===I.length-1)return L=I[I.length-1],!0});var w=a.querySelector("."+e.activeLinkClass),k=a.querySelector("."+e.linkClass+".node-name--"+L.nodeName+'[href="'+e.basePath+"#"+L.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(w===k)return;var N=a.querySelectorAll("."+e.linkClass);t.call(N,function(ee){ee.className=ee.className.split(i+e.activeLinkClass).join("")});var U=a.querySelectorAll("."+e.listItemClass);t.call(U,function(ee){ee.className=ee.className.split(i+e.activeListItemClass).join("")}),k&&k.className.indexOf(e.activeLinkClass)===-1&&(k.className+=i+e.activeLinkClass);var V=k&&k.parentNode;V&&V.className.indexOf(e.activeListItemClass)===-1&&(V.className+=i+e.activeListItemClass);var H=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(H,function(ee){ee.className.indexOf(e.isCollapsedClass)===-1&&(ee.className+=i+e.isCollapsedClass)}),k&&k.nextSibling&&k.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&(k.nextSibling.className=k.nextSibling.className.split(i+e.isCollapsedClass).join("")),A(k&&k.parentNode.parentNode)}}function A(F){return F&&F.className.indexOf(e.collapsibleClass)!==-1&&F.className.indexOf(e.isCollapsedClass)!==-1?(F.className=F.className.split(i+e.isCollapsedClass).join(""),A(F.parentNode.parentNode)):F}function E(F){var B=F.target||F.srcElement;typeof B.className!="string"||B.className.indexOf(e.linkClass)===-1||(o=!1)}function x(){o=!0}return{enableTocAnimation:x,disableTocAnimation:E,render:s,updateToc:g}}});var Jm=S((Qee,Xm)=>{l();c();d();Xm.exports=function(t){var r=[].reduce;function n(y){return y[y.length-1]}function a(y){return+y.nodeName.toUpperCase().replace("H","")}function o(y){try{return y instanceof window.HTMLElement||y instanceof window.parent.HTMLElement}catch{return y instanceof window.HTMLElement}}function i(y){if(!o(y))return y;if(t.ignoreHiddenElements&&(!y.offsetHeight||!y.offsetParent))return null;let b=y.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(y.textContent)):y.textContent.trim());var m={id:y.id,children:[],nodeName:y.nodeName,headingLevel:a(y),textContent:b};return t.includeHtml&&(m.childNodes=y.childNodes),t.headingObjectCallback?t.headingObjectCallback(m,y):m}function u(y,b){for(var m=i(y),g=m.headingLevel,A=b,E=n(A),x=E?E.headingLevel:0,F=g-x;F>0&&(E=n(A),!(E&&g===E.headingLevel));)E&&E.children!==void 0&&(A=E.children),F--;return g>=t.collapseDepth&&(m.isCollapsed=!0),A.push(m),A}function s(y,b){var m=b;t.ignoreSelector&&(m=b.split(",").map(function(A){return A.trim()+":not("+t.ignoreSelector+")"}));try{return y.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function p(y){return r.call(y,function(m,g){var A=i(g);return A&&u(A,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:s}}});var Zm=S((rte,Qm)=>{l();c();d();Qm.exports=function(t){var r=t.tocElement||document.querySelector(t.tocSelector);if(r&&r.scrollHeight>r.clientHeight){var n=r.querySelector("."+t.activeListItemClass);n&&(r.scrollTop=n.offsetTop-t.tocScrollOffset)}}});var tg=S(eg=>{l();c();d();eg.initSmoothScrolling=Z6;function Z6(e){var t=e.duration,r=e.offset,n=location.hash?i(location.href):location.href;a();function a(){document.body.addEventListener("click",s,!1);function s(p){!o(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(e.linkClass)===-1||eR(p.target.hash,{duration:t,offset:r,callback:function(){u(p.target.hash)}})}}function o(s){return s.tagName.toLowerCase()==="a"&&(s.hash.length>0||s.href.charAt(s.href.length-1)==="#")&&(i(s.href)===n||i(s.href)+"#"===n)}function i(s){return s.slice(0,s.lastIndexOf("#"))}function u(s){var p=document.getElementById(s.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function eR(e,t){var r=window.pageYOffset,n={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||b},a=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),o=typeof e=="string"?n.offset+(e?a&&a.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,i=typeof n.duration=="function"?n.duration(o):n.duration,u,s;requestAnimationFrame(function(m){u=m,p(m)});function p(m){s=m-u,window.scrollTo(0,n.easing(s,r,o,i)),s<i?requestAnimationFrame(p):y()}function y(){window.scrollTo(0,r+o),typeof n.callback=="function"&&n.callback()}function b(m,g,A,E){return m/=E/2,m<1?A/2*m*m+g:(m--,-A/2*(m*(m-2)-1)+g)}}});var ag=S((rg,ng)=>{l();c();d();(function(e,t){typeof define=="function"&&define.amd?define([],t(e)):typeof rg=="object"?ng.exports=t(e):e.tocbot=t(e)})(typeof window<"u"?window:window||window,function(e){"use strict";var t=Vm(),r={},n={},a=Ym(),o=Jm(),i=Zm(),u,s,p=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window>"u"&&!p)return;var y,b=Object.prototype.hasOwnProperty;function m(){for(var x={},F=0;F<arguments.length;F++){var B=arguments[F];for(var I in B)b.call(B,I)&&(x[I]=B[I])}return x}function g(x,F,B){F||(F=250);var I,L;return function(){var w=B||this,k=+new Date,N=arguments;I&&k<I+F?(clearTimeout(L),L=setTimeout(function(){I=k,x.apply(w,N)},F)):(I=k,x.apply(w,N))}}function A(x){try{return x.contentElement||document.querySelector(x.contentSelector)}catch{return console.warn("Contents element not found: "+x.contentSelector),null}}function E(x){try{return x.tocElement||document.querySelector(x.tocSelector)}catch{return console.warn("TOC element not found: "+x.tocSelector),null}}return n.destroy=function(){var x=E(r);x!==null&&(r.skipRendering||x&&(x.innerHTML=""),r.scrollContainer&&document.querySelector(r.scrollContainer)?(document.querySelector(r.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(r.scrollContainer).removeEventListener("resize",this._scrollListener,!1),u&&document.querySelector(r.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),u&&document.removeEventListener("click",this._clickListener,!1)))},n.init=function(x){if(p){r=m(t,x||{}),this.options=r,this.state={},r.scrollSmooth&&(r.duration=r.scrollSmoothDuration,r.offset=r.scrollSmoothOffset,n.scrollSmooth=tg().initSmoothScrolling(r)),u=a(r),s=o(r),this._buildHtml=u,this._parseContent=s,this._headingsArray=y,n.destroy();var F=A(r);if(F!==null){var B=E(r);if(B!==null&&(y=s.selectHeadings(F,r.headingSelector),y!==null)){var I=s.nestHeadingsArray(y),L=I.nest;if(!r.skipRendering)u.render(B,L);else return this;this._scrollListener=g(function(k){u.updateToc(y),!r.disableTocScrollSync&&i(r);var N=k&&k.target&&k.target.scrollingElement&&k.target.scrollingElement.scrollTop===0;(k&&(k.eventPhase===0||k.currentTarget===null)||N)&&(u.updateToc(y),r.scrollEndCallback&&r.scrollEndCallback(k))},r.throttleTimeout),this._scrollListener(),r.scrollContainer&&document.querySelector(r.scrollContainer)?(document.querySelector(r.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(r.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var w=null;return this._clickListener=g(function(k){r.scrollSmooth&&u.disableTocAnimation(k),u.updateToc(y),w&&clearTimeout(w),w=setTimeout(function(){u.enableTocAnimation()},r.scrollSmoothDuration)},r.throttleTimeout),r.scrollContainer&&document.querySelector(r.scrollContainer)?document.querySelector(r.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}}}},n.refresh=function(x){n.destroy(),n.init(x||this.options)},e.tocbot=n,n})});function Tt(){return(Tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function $i(e,t){if(e==null)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(a[r]=e[r]);return a}function Mi(e){var t=Fe(e),r=Fe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function mg(e,t,r){var n=Mi(r),a=ne(function(){return e.toHsva(t)}),o=a[0],i=a[1],u=Fe({color:t,hsva:o});he(function(){if(!e.equal(t,u.current.color)){var p=e.toHsva(t);u.current={hsva:p,color:t},i(p)}},[t,e]),he(function(){var p;fg(o,u.current.hsva)||e.equal(p=e.fromHsva(o),u.current.color)||(u.current={hsva:o,color:p},n(p))},[o,e,n]);var s=ge(function(p){i(function(y){return Object.assign({},y,p)})},[]);return[o,s]}var ur,Vr,Li,og,ig,Ui,Kr,Hi,xe,tR,rR,ji,nR,aR,oR,iR,sg,qi,ia,lg,uR,oa,sR,cg,dg,pg,fg,hg,lR,cR,dR,pR,ug,gg,fR,hR,yg,mR,Eg,gR,bg,yR,Ag,vg=Ze(()=>{l();c();d();Ot();ur=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e<t?t:e},Vr=function(e){return"touches"in e},Li=function(e){return e&&e.ownerDocument.defaultView||self},og=function(e,t,r){var n=e.getBoundingClientRect(),a=Vr(t)?function(o,i){for(var u=0;u<o.length;u++)if(o[u].identifier===i)return o[u];return o[0]}(t.touches,r):t;return{left:ur((a.pageX-(n.left+Li(e).pageXOffset))/n.width),top:ur((a.pageY-(n.top+Li(e).pageYOffset))/n.height)}},ig=function(e){!Vr(e)&&e.preventDefault()},Ui=h.memo(function(e){var t=e.onMove,r=e.onKey,n=$i(e,["onMove","onKey"]),a=Fe(null),o=Mi(t),i=Mi(r),u=Fe(null),s=Fe(!1),p=ot(function(){var g=function(x){ig(x),(Vr(x)?x.touches.length>0:x.buttons>0)&&a.current?o(og(a.current,x,u.current)):E(!1)},A=function(){return E(!1)};function E(x){var F=s.current,B=Li(a.current),I=x?B.addEventListener:B.removeEventListener;I(F?"touchmove":"mousemove",g),I(F?"touchend":"mouseup",A)}return[function(x){var F=x.nativeEvent,B=a.current;if(B&&(ig(F),!function(L,w){return w&&!Vr(L)}(F,s.current)&&B)){if(Vr(F)){s.current=!0;var I=F.changedTouches||[];I.length&&(u.current=I[0].identifier)}B.focus(),o(og(B,F,u.current)),E(!0)}},function(x){var F=x.which||x.keyCode;F<37||F>40||(x.preventDefault(),i({left:F===39?.05:F===37?-.05:0,top:F===40?.05:F===38?-.05:0}))},E]},[i,o]),y=p[0],b=p[1],m=p[2];return he(function(){return m},[m]),h.createElement("div",Tt({},n,{onTouchStart:y,onMouseDown:y,className:"react-colorful__interactive",ref:a,onKeyDown:b,tabIndex:0,role:"slider"}))}),Kr=function(e){return e.filter(Boolean).join(" ")},Hi=function(e){var t=e.color,r=e.left,n=e.top,a=n===void 0?.5:n,o=Kr(["react-colorful__pointer",e.className]);return h.createElement("div",{className:o,style:{top:100*a+"%",left:100*r+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},xe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},tR={grad:.9,turn:360,rad:360/(2*Math.PI)},rR=function(e){return cg(ji(e))},ji=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?xe(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?xe(parseInt(e.substring(6,8),16)/255,2):1}},nR=function(e,t){return t===void 0&&(t="deg"),Number(e)*(tR[t]||1)},aR=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?oR({h:nR(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},oR=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},iR=function(e){return sR(lg(e))},sg=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:xe(e.h),s:xe(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:xe(a/2),a:xe(n,2)}},qi=function(e){var t=sg(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ia=function(e){var t=sg(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},lg=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),u=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),p=o%6;return{r:xe(255*[n,u,i,i,s,n][p]),g:xe(255*[s,n,n,u,i,i][p]),b:xe(255*[i,i,s,n,n,u][p]),a:xe(a,2)}},uR=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?cg({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},oa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},sR=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?oa(xe(255*a)):"";return"#"+oa(t)+oa(r)+oa(n)+o},cg=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),u=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:xe(60*(u<0?u+6:u)),s:xe(o?i/o*100:0),v:xe(o/255*100),a}},dg=h.memo(function(e){var t=e.hue,r=e.onChange,n=Kr(["react-colorful__hue",e.className]);return h.createElement("div",{className:n},h.createElement(Ui,{onMove:function(a){r({h:360*a.left})},onKey:function(a){r({h:ur(t+360*a.left,0,360)})},"aria-label":"Hue","aria-valuenow":xe(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Hi,{className:"react-colorful__hue-pointer",left:t/360,color:qi({h:t,s:100,v:100,a:1})})))}),pg=h.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:qi({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:n},h.createElement(Ui,{onMove:function(a){r({s:100*a.left,v:100-100*a.top})},onKey:function(a){r({s:ur(t.s+100*a.left,0,100),v:ur(t.v-100*a.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+xe(t.s)+"%, Brightness "+xe(t.v)+"%"},h.createElement(Hi,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:qi(t)})))}),fg=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},hg=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},lR=function(e,t){return e.toLowerCase()===t.toLowerCase()||fg(ji(e),ji(t))};dR=typeof window<"u"?bu:he,pR=function(){return cR||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)},ug=new Map,gg=function(e){dR(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!ug.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,ug.set(t,r);var n=pR();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fR=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=$i(e,["className","colorModel","color","onChange"]),u=Fe(null);gg(u);var s=mg(r,a,o),p=s[0],y=s[1],b=Kr(["react-colorful",t]);return h.createElement("div",Tt({},i,{ref:u,className:b}),h.createElement(pg,{hsva:p,onChange:y}),h.createElement(dg,{hue:p.h,onChange:y,className:"react-colorful__last-control"}))},hR={defaultColor:"000",toHsva:rR,fromHsva:function(e){return iR({h:e.h,s:e.s,v:e.v,a:1})},equal:lR},yg=function(e){return h.createElement(fR,Tt({},e,{colorModel:hR}))},mR=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+ia(Object.assign({},r,{a:0}))+", "+ia(Object.assign({},r,{a:1}))+")"},o=Kr(["react-colorful__alpha",t]),i=xe(100*r.a);return h.createElement("div",{className:o},h.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),h.createElement(Ui,{onMove:function(u){n({a:u.left})},onKey:function(u){n({a:ur(r.a+u.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Hi,{className:"react-colorful__alpha-pointer",left:r.a,color:ia(r)})))},Eg=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=$i(e,["className","colorModel","color","onChange"]),u=Fe(null);gg(u);var s=mg(r,a,o),p=s[0],y=s[1],b=Kr(["react-colorful",t]);return h.createElement("div",Tt({},i,{ref:u,className:b}),h.createElement(pg,{hsva:p,onChange:y}),h.createElement(dg,{hue:p.h,onChange:y}),h.createElement(mR,{hsva:p,onChange:y,className:"react-colorful__last-control"}))},gR={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:aR,fromHsva:ia,equal:hg},bg=function(e){return h.createElement(Eg,Tt({},e,{colorModel:gR}))},yR={defaultColor:"rgba(0, 0, 0, 1)",toHsva:uR,fromHsva:function(e){var t=lg(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:hg},Ag=function(e){return h.createElement(Eg,Tt({},e,{colorModel:yR}))}});var Cg=S((Ete,Dg)=>{"use strict";l();c();d();Dg.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var zi=S((Dte,Fg)=>{l();c();d();var Yr=Cg(),xg={};for(let e of Object.keys(Yr))xg[Yr[e]]=e;var G={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Fg.exports=G;for(let e of Object.keys(G)){if(!("channels"in G[e]))throw new Error("missing channels property: "+e);if(!("labels"in G[e]))throw new Error("missing channel labels property: "+e);if(G[e].labels.length!==G[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=G[e];delete G[e].channels,delete G[e].labels,Object.defineProperty(G[e],"channels",{value:t}),Object.defineProperty(G[e],"labels",{value:r})}G.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),o=Math.max(t,r,n),i=o-a,u,s;o===a?u=0:t===o?u=(r-n)/i:r===o?u=2+(n-t)/i:n===o&&(u=4+(t-r)/i),u=Math.min(u*60,360),u<0&&(u+=360);let p=(a+o)/2;return o===a?s=0:p<=.5?s=i/(o+a):s=i/(2-o-a),[u,s*100,p*100]};G.rgb.hsv=function(e){let t,r,n,a,o,i=e[0]/255,u=e[1]/255,s=e[2]/255,p=Math.max(i,u,s),y=p-Math.min(i,u,s),b=function(m){return(p-m)/6/y+1/2};return y===0?(a=0,o=0):(o=y/p,t=b(i),r=b(u),n=b(s),i===p?a=n-r:u===p?a=1/3+t-n:s===p&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[a*360,o*100,p*100]};G.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],a=G.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[a,o*100,n*100]};G.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-r,1-n),o=(1-t-a)/(1-a)||0,i=(1-r-a)/(1-a)||0,u=(1-n-a)/(1-a)||0;return[o*100,i*100,u*100,a*100]};function ER(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}G.rgb.keyword=function(e){let t=xg[e];if(t)return t;let r=1/0,n;for(let a of Object.keys(Yr)){let o=Yr[a],i=ER(e,o);i<r&&(r=i,n=a)}return n};G.keyword.rgb=function(e){return Yr[e]};G.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let a=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,i=t*.0193+r*.1192+n*.9505;return[a*100,o*100,i*100]};G.rgb.lab=function(e){let t=G.rgb.xyz(e),r=t[0],n=t[1],a=t[2];r/=95.047,n/=100,a/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*n-16,i=500*(r-n),u=200*(n-a);return[o,i,u]};G.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a,o,i;if(r===0)return i=n*255,[i,i,i];n<.5?a=n*(1+r):a=n+r-n*r;let u=2*n-a,s=[0,0,0];for(let p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?i=u+(a-u)*6*o:2*o<1?i=a:3*o<2?i=u+(a-u)*(2/3-o)*6:i=u,s[p]=i*255;return s};G.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,a*=o<=1?o:2-o;let i=(n+r)/2,u=n===0?2*a/(o+a):2*r/(n+r);return[t,u*100,i*100]};G.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),u=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[u,n,i];case 2:return[i,n,s];case 3:return[i,u,n];case 4:return[s,i,n];case 5:return[n,i,u]}};G.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=Math.max(n,.01),o,i;i=(2-r)*n;let u=(2-r)*a;return o=r*a,o/=u<=1?u:2-u,o=o||0,i/=2,[t,o*100,i*100]};G.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a=r+n,o;a>1&&(r/=a,n/=a);let i=Math.floor(6*t),u=1-n;o=6*t-i,i&1&&(o=1-o);let s=r+o*(u-r),p,y,b;switch(i){default:case 6:case 0:p=u,y=s,b=r;break;case 1:p=s,y=u,b=r;break;case 2:p=r,y=u,b=s;break;case 3:p=r,y=s,b=u;break;case 4:p=s,y=r,b=u;break;case 5:p=u,y=r,b=s;break}return[p*255,y*255,b*255]};G.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100,o=1-Math.min(1,t*(1-a)+a),i=1-Math.min(1,r*(1-a)+a),u=1-Math.min(1,n*(1-a)+a);return[o*255,i*255,u*255]};G.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a,o,i;return a=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,i=t*.0557+r*-.204+n*1.057,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),[a*255,o*255,i*255]};G.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let a=116*r-16,o=500*(t-r),i=200*(r-n);return[a,o,i]};G.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],a,o,i;o=(t+16)/116,a=r/500+o,i=o-n/200;let u=o**3,s=a**3,p=i**3;return o=u>.008856?u:(o-16/116)/7.787,a=s>.008856?s:(a-16/116)/7.787,i=p>.008856?p:(i-16/116)/7.787,a*=95.047,o*=100,i*=108.883,[a,o,i]};G.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],a;a=Math.atan2(n,r)*360/2/Math.PI,a<0&&(a+=360);let i=Math.sqrt(r*r+n*n);return[t,i,a]};G.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]};G.rgb.ansi16=function(e,t=null){let[r,n,a]=e,o=t===null?G.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let i=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(i+=60),i};G.hsv.ansi16=function(e){return G.rgb.ansi16(G.hsv.rgb(e),e[2])};G.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};G.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,a=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,a,o]};G.ansi256.rgb=function(e){if(e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,a=t%6/5*255;return[r,n,a]};G.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};G.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(u=>u+u).join(""));let n=parseInt(r,16),a=n>>16&255,o=n>>8&255,i=n&255;return[a,o,i]};G.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),i=a-o,u,s;return i<1?u=o/(1-i):u=0,i<=0?s=0:a===t?s=(r-n)/i%6:a===r?s=2+(n-t)/i:s=4+(t-r)/i,s/=6,s%=1,[s*360,i*100,u*100]};G.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),a=0;return n<1&&(a=(r-.5*n)/(1-n)),[e[0],n*100,a*100]};G.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],n*100,a*100]};G.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let a=[0,0,0],o=t%1*6,i=o%1,u=1-i,s=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=i,a[2]=0;break;case 1:a[0]=u,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=i;break;case 3:a[0]=0,a[1]=u,a[2]=1;break;case 4:a[0]=i,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=u}return s=(1-r)*n,[(r*a[0]+s)*255,(r*a[1]+s)*255,(r*a[2]+s)*255]};G.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),a=0;return n>0&&(a=t/n),[e[0],a*100,n*100]};G.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,a=0;return n>0&&n<.5?a=t/(2*n):n>=.5&&n<1&&(a=t/(2*(1-n))),[e[0],a*100,n*100]};G.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};G.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,a=n-t,o=0;return a<1&&(o=(n-a)/(1-a)),[e[0],a*100,o*100]};G.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};G.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};G.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};G.gray.hsl=function(e){return[0,0,e[0]]};G.gray.hsv=G.gray.hsl;G.gray.hwb=function(e){return[0,100,e[0]]};G.gray.cmyk=function(e){return[0,0,0,e[0]]};G.gray.lab=function(e){return[e[0],0,0]};G.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};G.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var wg=S((Ste,Sg)=>{l();c();d();var ua=zi();function bR(){let e={},t=Object.keys(ua);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function AR(e){let t=bR(),r=[e];for(t[e].distance=0;r.length;){let n=r.pop(),a=Object.keys(ua[n]);for(let o=a.length,i=0;i<o;i++){let u=a[i],s=t[u];s.distance===-1&&(s.distance=t[n].distance+1,s.parent=n,r.unshift(u))}}return t}function vR(e,t){return function(r){return t(e(r))}}function DR(e,t){let r=[t[e].parent,e],n=ua[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)r.unshift(t[a].parent),n=vR(ua[t[a].parent][a],n),a=t[a].parent;return n.conversion=r,n}Sg.exports=function(e){let t=AR(e),r={},n=Object.keys(t);for(let a=n.length,o=0;o<a;o++){let i=n[o];t[i].parent!==null&&(r[i]=DR(i,t))}return r}});var Tg=S((_te,Bg)=>{l();c();d();var Wi=zi(),CR=wg(),sr={},xR=Object.keys(Wi);function FR(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function SR(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let a=e(r);if(typeof a=="object")for(let o=a.length,i=0;i<o;i++)a[i]=Math.round(a[i]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}xR.forEach(e=>{sr[e]={},Object.defineProperty(sr[e],"channels",{value:Wi[e].channels}),Object.defineProperty(sr[e],"labels",{value:Wi[e].labels});let t=CR(e);Object.keys(t).forEach(n=>{let a=t[n];sr[e][n]=SR(a),sr[e][n].raw=FR(a)})});Bg.exports=sr});var Og=S((Ite,_g)=>{l();c();d();var wR=$e(),BR=function(){return wR.Date.now()};_g.exports=BR});var Pg=S((Lte,Rg)=>{l();c();d();var TR=/\s/;function _R(e){for(var t=e.length;t--&&TR.test(e.charAt(t)););return t}Rg.exports=_R});var kg=S((Ute,Ig)=>{l();c();d();var OR=Pg(),RR=/^\s+/;function PR(e){return e&&e.slice(0,OR(e)+1).replace(RR,"")}Ig.exports=PR});var jg=S((Gte,Lg)=>{l();c();d();var IR=kg(),Ng=We(),kR=Br(),Mg=0/0,NR=/^[-+]0x[0-9a-f]+$/i,MR=/^0b[01]+$/i,LR=/^0o[0-7]+$/i,jR=parseInt;function qR(e){if(typeof e=="number")return e;if(kR(e))return Mg;if(Ng(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ng(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IR(e);var r=MR.test(e);return r||LR.test(e)?jR(e.slice(2),r?2:8):NR.test(e)?Mg:+e}Lg.exports=qR});var Ug=S((Xte,$g)=>{l();c();d();var $R=We(),Gi=Og(),qg=jg(),UR="Expected a function",HR=Math.max,zR=Math.min;function WR(e,t,r){var n,a,o,i,u,s,p=0,y=!1,b=!1,m=!0;if(typeof e!="function")throw new TypeError(UR);t=qg(t)||0,$R(r)&&(y=!!r.leading,b="maxWait"in r,o=b?HR(qg(r.maxWait)||0,t):o,m="trailing"in r?!!r.trailing:m);function g(k){var N=n,U=a;return n=a=void 0,p=k,i=e.apply(U,N),i}function A(k){return p=k,u=setTimeout(F,t),y?g(k):i}function E(k){var N=k-s,U=k-p,V=t-N;return b?zR(V,o-U):V}function x(k){var N=k-s,U=k-p;return s===void 0||N>=t||N<0||b&&U>=o}function F(){var k=Gi();if(x(k))return B(k);u=setTimeout(F,E(k))}function B(k){return u=void 0,m&&n?g(k):(n=a=void 0,i)}function I(){u!==void 0&&clearTimeout(u),p=0,n=s=a=u=void 0}function L(){return u===void 0?i:B(Gi())}function w(){var k=Gi(),N=x(k);if(n=arguments,a=this,s=k,N){if(u===void 0)return A(s);if(b)return clearTimeout(u),u=setTimeout(F,t),g(s)}return u===void 0&&(u=setTimeout(F,t)),i}return w.cancel=I,w.flush=L,w}$g.exports=WR});var zg=S((ere,Hg)=>{l();c();d();var GR=Ug(),VR=We(),KR="Expected a function";function YR(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(KR);return VR(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),GR(e,t,{leading:n,maxWait:t,trailing:a})}Hg.exports=YR});var Xg={};mu(Xg,{ColorControl:()=>Yg,default:()=>f4});var je,Vg,XR,JR,QR,ZR,e4,t4,r4,Wg,n4,a4,Kg,sa,o4,i4,u4,Vi,s4,l4,la,Gg,lr,c4,d4,ca,p4,Yg,f4,Jg=Ze(()=>{l();c();d();Ua();Ot();vg();je=fe(Tg(),1),Vg=fe(zg(),1);za();fr();XR=j.div({position:"relative",maxWidth:250}),JR=j(Zr)({position:"absolute",zIndex:1,top:4,left:4}),QR=j.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),ZR=j(Na)(({theme:e})=>({fontFamily:e.typography.fonts.base})),e4=j.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),t4=j.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),r4=`url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`,Wg=({value:e,active:t,onClick:r,style:n,...a})=>{let o=`linear-gradient(${e}, ${e}), ${r4}, linear-gradient(#fff, #fff)`;return h.createElement(t4,{...a,active:t,onClick:r,style:{...n,backgroundImage:o}})},n4=j(Re.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),a4=j(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Kg=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Kg||{}),sa=Object.values(Kg),o4=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,i4=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,u4=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Vi=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,s4=/^\s*#?([0-9a-f]{3})\s*$/i,l4={hex:yg,rgb:Ag,hsl:bg},la={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Gg=e=>{let t=e?.match(o4);if(!t)return[0,0,0,1];let[,r,n,a,o=1]=t;return[r,n,a,o].map(Number)},lr=e=>{if(!e)return;let t=!0;if(i4.test(e)){let[i,u,s,p]=Gg(e),[y,b,m]=je.default.rgb.hsl([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:je.default.rgb.keyword([i,u,s]),colorSpace:"rgb",rgb:e,hsl:`hsla(${y}, ${b}%, ${m}%, ${p})`,hex:`#${je.default.rgb.hex([i,u,s]).toLowerCase()}`}}if(u4.test(e)){let[i,u,s,p]=Gg(e),[y,b,m]=je.default.hsl.rgb([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:je.default.hsl.keyword([i,u,s]),colorSpace:"hsl",rgb:`rgba(${y}, ${b}, ${m}, ${p})`,hsl:e,hex:`#${je.default.hsl.hex([i,u,s]).toLowerCase()}`}}let r=e.replace("#",""),n=je.default.keyword.rgb(r)||je.default.hex.rgb(r),a=je.default.rgb.hsl(n),o=e;if(/[^#a-f0-9]/i.test(e)?o=r:Vi.test(e)&&(o=`#${r}`),o.startsWith("#"))t=Vi.test(o);else try{je.default.keyword.hex(o)}catch{t=!1}return{valid:t,value:o,keyword:je.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${a[0]}, ${a[1]}%, ${a[2]}%, 1)`,hex:o}},c4=(e,t,r)=>{if(!e||!t?.valid)return la[r];if(r!=="hex")return t?.[r]||la[r];if(!t.hex.startsWith("#"))try{return`#${je.default.keyword.hex(t.hex)}`}catch{return la.hex}let n=t.hex.match(s4);if(!n)return Vi.test(t.hex)?t.hex:la.hex;let[a,o,i]=n[1].split("");return`#${a}${a}${o}${o}${i}${i}`},d4=(e,t)=>{let[r,n]=ne(e||""),[a,o]=ne(()=>lr(r)),[i,u]=ne(a?.colorSpace||"hex");he(()=>{let b=e||"",m=lr(b);n(b),o(m),u(m?.colorSpace||"hex")},[e]);let s=ot(()=>c4(r,a,i).toLowerCase(),[r,a,i]),p=ge(b=>{let m=lr(b),g=m?.value||b||"";n(g),g===""&&(o(void 0),t(void 0)),m&&(o(m),u(m.colorSpace),t(m.value))},[t]),y=ge(()=>{let b=sa.indexOf(i)+1;b>=sa.length&&(b=0),u(sa[b]);let m=a?.[sa[b]]||"";n(m),t(m)},[a,i,t]);return{value:r,realValue:s,updateValue:p,color:a,colorSpace:i,cycleColorSpace:y}},ca=e=>e.replace(/\s*/,"").toLowerCase(),p4=(e,t,r)=>{let[n,a]=ne(t?.valid?[t]:[]);he(()=>{t===void 0&&a([])},[t]);let o=ot(()=>(e||[]).map(u=>typeof u=="string"?lr(u):u.title?{...lr(u.color),keyword:u.title}:lr(u.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=ge(u=>{u?.valid&&(o.some(s=>ca(s[r])===ca(u[r]))||a(s=>s.concat(u)))},[r,o]);return{presets:o,addPreset:i}},Yg=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,presetColors:o,startOpen:i=!1})=>{let u=ge((0,Vg.default)(r,200),[r]),{value:s,realValue:p,updateValue:y,color:b,colorSpace:m,cycleColorSpace:g}=d4(t,u),{presets:A,addPreset:E}=p4(o,b,m),x=l4[m];return h.createElement(XR,null,h.createElement(JR,{startOpen:i,closeOnOutsideClick:!0,onVisibleChange:()=>E(b),tooltip:h.createElement(QR,null,h.createElement(x,{color:p==="transparent"?"#000000":p,onChange:y,onFocus:n,onBlur:a}),A.length>0&&h.createElement(e4,null,A.map((F,B)=>h.createElement(Zr,{key:`${F.value}-${B}`,hasChrome:!1,tooltip:h.createElement(ZR,{note:F.keyword||F.value})},h.createElement(Wg,{value:F[m],active:b&&ca(F[m])===ca(b[m]),onClick:()=>y(F.value)})))))},h.createElement(Wg,{value:p,style:{margin:4}})),h.createElement(n4,{id:Pe(e),value:s,onChange:F=>y(F.target.value),onFocus:F=>F.target.select(),placeholder:"Choose color..."}),s?h.createElement(a4,{icon:"markup",onClick:g}):null)},f4=Yg});l();c();d();l();c();d();l();c();d();l();c();d();var Ea="addon-controls",ba="controls";Ot();l();c();d();var $I=__STORYBOOKAPI__,{ActiveTabs:UI,Consumer:HI,ManagerContext:zI,Provider:WI,addons:va,combineParameters:GI,controlOrMetaKey:VI,controlOrMetaSymbol:KI,eventMatchesShortcut:YI,eventToShortcut:XI,isMacLike:JI,isShortcutTaken:QI,keyToSymbol:ZI,merge:ek,mockChannel:tk,optionOrAltSymbol:rk,shortcutMatchesShortcut:nk,shortcutToHumanString:ak,types:Au,useAddonState:ok,useArgTypes:Da,useArgs:vu,useChannel:ik,useGlobalTypes:uk,useGlobals:Du,useParameter:Cu,useSharedState:sk,useStoryPrepared:lk,useStorybookApi:ck,useStorybookState:xu}=__STORYBOOKAPI__;fr();l();c();d();Ua();za();Ot();fr();l();c();d();l();c();d();function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(this,arguments)}l();c();d();function Wa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}l();c();d();l();c();d();function tt(e,t){return tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},tt(e,t)}function Ga(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,tt(e,t)}l();c();d();l();c();d();function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}l();c();d();function Va(e){return Function.toString.call(e).indexOf("[native code]")!==-1}l();c();d();l();c();d();function Ka(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function It(e,t,r){return Ka()?It=Reflect.construct.bind():It=function(a,o,i){var u=[null];u.push.apply(u,o);var s=Function.bind.apply(a,u),p=new s;return i&&tt(p,i.prototype),p},It.apply(null,arguments)}function gr(e){var t=typeof Map=="function"?new Map:void 0;return gr=function(n){if(n===null||!Va(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return It(n,arguments,mr(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),tt(a,n)},gr(e)}l();c();d();var Ie=function(e){Ga(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var a,o,i;i<a;i++);return Wa(n)}return t}(gr(Error));function _u(e,t){return e.substr(-t.length)===t}var M2=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function Ou(e){if(typeof e!="string")return e;var t=e.match(M2);return t?parseFloat(e):e}var L2=function(t){return function(r,n){n===void 0&&(n="16px");var a=r,o=n;if(typeof r=="string"){if(!_u(r,"px"))throw new Ie(69,t,r);a=Ou(r)}if(typeof n=="string"){if(!_u(n,"px"))throw new Ie(70,t,n);o=Ou(n)}if(typeof a=="string")throw new Ie(71,r,t);if(typeof o=="string")throw new Ie(72,n,t);return""+a/o+t}},Pu=L2,H7=Pu("em");var z7=Pu("rem");function Ya(e){return Math.round(e*255)}function j2(e,t,r){return Ya(e)+","+Ya(t)+","+Ya(r)}function yr(e,t,r,n){if(n===void 0&&(n=j2),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),u=0,s=0,p=0;a>=0&&a<1?(u=o,s=i):a>=1&&a<2?(u=i,s=o):a>=2&&a<3?(s=o,p=i):a>=3&&a<4?(s=i,p=o):a>=4&&a<5?(u=i,p=o):a>=5&&a<6&&(u=o,p=i);var y=r-o/2,b=u+y,m=s+y,g=p+y;return n(b,m,g)}var Ru={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function q2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ru[t]?"#"+Ru[t]:e}var $2=/^#[a-fA-F0-9]{6}$/,U2=/^#[a-fA-F0-9]{8}$/,H2=/^#[a-fA-F0-9]{3}$/,z2=/^#[a-fA-F0-9]{4}$/,Xa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,W2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,G2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,V2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function kt(e){if(typeof e!="string")throw new Ie(3);var t=q2(e);if(t.match($2))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(U2)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(H2))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(z2)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Xa.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=W2.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=G2.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,p=parseInt(""+i[3],10)/100,y="rgb("+yr(u,s,p)+")",b=Xa.exec(y);if(!b)throw new Ie(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var m=V2.exec(t.substring(0,50));if(m){var g=parseInt(""+m[1],10),A=parseInt(""+m[2],10)/100,E=parseInt(""+m[3],10)/100,x="rgb("+yr(g,A,E)+")",F=Xa.exec(x);if(!F)throw new Ie(4,t,x);return{red:parseInt(""+F[1],10),green:parseInt(""+F[2],10),blue:parseInt(""+F[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ie(5)}function K2(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=a-o,p=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:u=(r-n)/s+(r<n?6:0);break;case r:u=(n-t)/s+2;break;default:u=(t-r)/s+4;break}return u*=60,e.alpha!==void 0?{hue:u,saturation:p,lightness:i,alpha:e.alpha}:{hue:u,saturation:p,lightness:i}}function it(e){return K2(kt(e))}var Y2=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},Qa=Y2;function bt(e){var t=e.toString(16);return t.length===1?"0"+t:t}function Ja(e){return bt(Math.round(e*255))}function X2(e,t,r){return Qa("#"+Ja(e)+Ja(t)+Ja(r))}function en(e,t,r){return yr(e,t,r,X2)}function J2(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return en(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return en(e.hue,e.saturation,e.lightness);throw new Ie(1)}function Q2(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?en(e,t,r):"rgba("+yr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?en(e.hue,e.saturation,e.lightness):"rgba("+yr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ie(2)}function Za(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Qa("#"+bt(e)+bt(t)+bt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Qa("#"+bt(e.red)+bt(e.green)+bt(e.blue));throw new Ie(6)}function He(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=kt(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Za(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Za(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ie(7)}var Z2=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},e1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},t1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},r1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function ut(e){if(typeof e!="object")throw new Ie(8);if(e1(e))return He(e);if(Z2(e))return Za(e);if(r1(e))return Q2(e);if(t1(e))return J2(e);throw new Ie(8)}function Iu(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Iu(e,t,a)}}function Me(e){return Iu(e,e.length,[])}function n1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{hue:r.hue+parseFloat(e)}))}var W7=Me(n1);function Nt(e,t,r){return Math.max(e,Math.min(t,r))}function a1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{lightness:Nt(0,1,r.lightness-parseFloat(e))}))}var o1=Me(a1),ze=o1;function i1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{saturation:Nt(0,1,r.saturation-parseFloat(e))}))}var G7=Me(i1);function u1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{lightness:Nt(0,1,r.lightness+parseFloat(e))}))}var s1=Me(u1),st=s1;function l1(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=kt(t),a=Se({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=kt(r),i=Se({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),u=a.alpha-i.alpha,s=parseFloat(e)*2-1,p=s*u===-1?s:s+u,y=1+s*u,b=(p/y+1)/2,m=1-b,g={red:Math.floor(a.red*b+i.red*m),green:Math.floor(a.green*b+i.green*m),blue:Math.floor(a.blue*b+i.blue*m),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return He(g)}var c1=Me(l1),ku=c1;function d1(e,t){if(t==="transparent")return t;var r=kt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Se({},r,{alpha:Nt(0,1,(n*100+parseFloat(e)*100)/100)});return He(a)}var p1=Me(d1),Er=p1;function f1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{saturation:Nt(0,1,r.saturation+parseFloat(e))}))}var V7=Me(f1);function h1(e,t){return t==="transparent"?t:ut(Se({},it(t),{hue:parseFloat(e)}))}var K7=Me(h1);function m1(e,t){return t==="transparent"?t:ut(Se({},it(t),{lightness:parseFloat(e)}))}var Y7=Me(m1);function g1(e,t){return t==="transparent"?t:ut(Se({},it(t),{saturation:parseFloat(e)}))}var X7=Me(g1);function y1(e,t){return t==="transparent"?t:ku(parseFloat(e),"rgb(0, 0, 0)",t)}var J7=Me(y1);function E1(e,t){return t==="transparent"?t:ku(parseFloat(e),"rgb(255, 255, 255)",t)}var Q7=Me(E1);function b1(e,t){if(t==="transparent")return t;var r=kt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Se({},r,{alpha:Nt(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return He(a)}var A1=Me(b1),de=A1;l();c();d();var ue=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var py=fe(Mo(),1);l();c();d();var dF=Object.create,Yd=Object.defineProperty,pF=Object.getOwnPropertyDescriptor,fF=Object.getOwnPropertyNames,hF=Object.getPrototypeOf,mF=Object.prototype.hasOwnProperty,gF=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yF=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of fF(t))!mF.call(e,a)&&a!==r&&Yd(e,a,{get:()=>t[a],enumerable:!(n=pF(t,a))||n.enumerable});return e},EF=(e,t,r)=>(r=e!=null?dF(hF(e)):{},yF(t||!e||!e.__esModule?Yd(r,"default",{value:e,enumerable:!0}):r,e)),bF=gF(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(u,s,p){var y,b,m,g=t.call(u),A=t.call(s);if(u===s)return!0;if(u==null||s==null)return!1;if(p.indexOf(u)>-1&&p.indexOf(s)>-1)return!0;if(p.push(u,s),g!=A||(y=n(u),b=n(s),y.length!=b.length||y.some(function(E){return!i(u[E],s[E],p)})))return!1;switch(g.slice(8,-1)){case"Symbol":return u.valueOf()==s.valueOf();case"Date":case"Number":return+u==+s||+u!=+u&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+u==""+s;case"Set":case"Map":y=u.entries(),b=s.entries();do if(!i((m=y.next()).value,b.next().value,p))return!1;while(!m.done);return!0;case"ArrayBuffer":u=new Uint8Array(u),s=new Uint8Array(s);case"DataView":u=new Uint8Array(u.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(u.length!=s.length)return!1;for(m=0;m<u.length;m++)if((m in u||m in s)&&(m in u!=m in s||!i(u[m],s[m],p)))return!1;return!0;case"Object":return i(r(u),r(s),p);default:return!1}}(a,o,[])}}()});var Kd=EF(bF()),Xd=e=>e.map(t=>typeof t<"u").filter(Boolean).length,AF=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Xd([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,Kd.isEqual)(t,n);if(typeof a<"u")return!(0,Kd.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},Lo=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Xd([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return AF(e.if,o)};l();c();d();var wW=__STORYBOOKCLIENTLOGGER__,{deprecate:ye,logger:Ve,once:xn,pretty:BW}=__STORYBOOKCLIENTLOGGER__;l();c();d();Ot();function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ct.apply(this,arguments)}var vF=["children","options"],Jd=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Qd={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},DF=["style","script"],CF=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,xF=/mailto:/i,FF=/\n{2,}$/,ap=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,SF=/^ *> ?/gm,wF=/^ {2,}\n/,BF=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,op=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,ip=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,TF=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,_F=/^(?:\n *)*\n/,OF=/\r\n?/g,RF=/^\[\^([^\]]+)](:.*)\n/,PF=/^\[\^([^\]]+)]/,IF=/\f/g,kF=/^\s*?\[(x|\s)\]/,up=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,sp=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lp=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Ho=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,NF=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,cp=/^<!--[\s\S]*?(?:-->)/,MF=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,zo=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,LF=/^\{.*\}$/,jF=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,qF=/^<([^ >]+@[^ >]+)>/,$F=/^<([^ >]+:\/[^ >]+)>/,UF=/-([a-z])?/gi,dp=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,HF=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,zF=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,WF=/^\[([^\]]*)\] ?\[([^\]]*)\]/,GF=/(\[|\])/g,VF=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,KF=/\t/g,YF=/^ *\| */,XF=/(^ *\||\| *$)/g,JF=/ *$/,QF=/^ *:-+: *$/,ZF=/^ *:-+ *$/,eS=/^ *-+: *$/,tS=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,rS=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,nS=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,aS=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,oS=/^\\([^0-9A-Za-z\s])/,iS=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,uS=/^\n+/,sS=/^([ \t]*)/,lS=/\\([^\\])/g,Zd=/ *\n+$/,cS=/(?:^|\n)( *)$/,Wo="(?:\\d+\\.)",Go="(?:[*+-])";function pp(e){return"( *)("+(e===1?Wo:Go)+") +"}var fp=pp(1),hp=pp(2);function mp(e){return new RegExp("^"+(e===1?fp:hp))}var dS=mp(1),pS=mp(2);function gp(e){return new RegExp("^"+(e===1?fp:hp)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Wo:Go)+" )[^\\n]*)*(\\n|$)","gm")}var yp=gp(1),Ep=gp(2);function bp(e){let t=e===1?Wo:Go;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Ap=bp(1),vp=bp(2);function ep(e,t){let r=t===1,n=r?Ap:vp,a=r?yp:Ep,o=r?dS:pS;return{t(i,u,s){let p=cS.exec(s);return p&&(u.o||!u._&&!u.u)?n.exec(i=p[1]+i):null},i:re.HIGH,l(i,u,s){let p=r?+i[2]:void 0,y=i[0].replace(FF,`
`).match(a),b=!1;return{p:y.map(function(m,g){let A=o.exec(m)[0].length,E=new RegExp("^ {1,"+A+"}","gm"),x=m.replace(E,"").replace(o,""),F=g===y.length-1,B=x.indexOf(`
`)!==-1||F&&b;b=B;let I=s._,L=s.o,w;s.o=!0,B?(s._=!1,w=x.replace(Zd,`
`)):(s._=!0,w=x.replace(Zd,""));let k=u(w,s);return s._=I,s.o=L,k}),m:r,g:p}},h:(i,u,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(p,y){return e("li",{key:y},u(p,s))}))}}var fS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,hS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Dp=[ap,op,ip,up,lp,sp,cp,dp,yp,Ap,Ep,vp],mS=[...Dp,/^[^\n]+(?: \n|\n{2,})/,Ho,zo];function gS(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function yS(e){return eS.test(e)?"right":QF.test(e)?"center":ZF.test(e)?"left":null}function tp(e,t,r){let n=r.$;r.$=!0;let a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(i,u){i.type==="tableSeparator"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="text"||a[u+1]!=null&&a[u+1].type!=="tableSeparator"||(i.v=i.v.replace(JF,"")),o[o.length-1].push(i))}),o}function ES(e,t,r){r._=!0;let n=tp(e[1],t,r),a=e[2].replace(XF,"").split("|").map(yS),o=function(i,u,s){return i.trim().split(`
`).map(function(p){return tp(p,u,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function rp(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ct(e){return function(t,r){return r._?e.exec(t):null}}function dt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function nt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function _r(e){return function(t){return e.exec(t)}}function bS(e,t,r){if(t._||t.u||r&&!r.endsWith(`
`))return null;let n="";e.split(`
`).every(o=>!Dp.some(i=>i.test(o))&&(n+=o+`
`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function Gt(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function np(e){return e.replace(lS,"$1")}function Fn(e,t,r){let n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function AS(e,t,r){let n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function vS(e,t,r){return r._=!1,e(t,r)}var jo=(e,t,r)=>({v:Fn(t,e[1],r)});function qo(){return{}}function $o(){return null}function DS(...e){return e.filter(Boolean).join(" ")}function Uo(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var re;function CS(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||gS,t.namedCodesToUnicode=t.namedCodesToUnicode?Ct({},Qd,t.namedCodesToUnicode):Qd;let r=t.createElement||Aa;function n(g,A,...E){let x=Uo(t.overrides,`${g}.props`,{});return r(function(F,B){let I=Uo(B,F);return I?typeof I=="function"||typeof I=="object"&&"render"in I?I:Uo(B,`${F}.component`,F):F}(g,t.overrides),Ct({},A,x,{className:DS(A?.className,x.className)||void 0}),...E)}function a(g){let A=!1;t.forceInline?A=!0:t.forceBlock||(A=VF.test(g)===!1);let E=y(p(A?g:`${g.trimEnd().replace(uS,"")}
`,{_:A}));for(;typeof E[E.length-1]=="string"&&!E[E.length-1].trim();)E.pop();if(t.wrapper===null)return E;let x=t.wrapper||(A?"span":"div"),F;if(E.length>1||t.forceWrapper)F=E;else{if(E.length===1)return F=E[0],typeof F=="string"?n("span",{key:"outer"},F):F;F=null}return Aa(x,{key:"outer"},F)}function o(g){let A=g.match(CF);return A?A.reduce(function(E,x,F){let B=x.indexOf("=");if(B!==-1){let I=function(N){return N.indexOf("-")!==-1&&N.match(MF)===null&&(N=N.replace(UF,function(U,V){return V.toUpperCase()})),N}(x.slice(0,B)).trim(),L=function(N){let U=N[0];return(U==='"'||U==="'")&&N.length>=2&&N[N.length-1]===U?N.slice(1,-1):N}(x.slice(B+1).trim()),w=Jd[I]||I,k=E[w]=function(N,U){return N==="style"?U.split(/;\s?/).reduce(function(V,H){let ee=H.slice(0,H.indexOf(":"));return V[ee.replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=H.slice(ee.length+1).trim(),V},{}):N==="href"?Gt(U):(U.match(LF)&&(U=U.slice(1,U.length-1)),U==="true"||U!=="false"&&U)}(I,L);typeof k=="string"&&(Ho.test(k)||zo.test(k))&&(E[w]=me(a(k.trim()),{key:F}))}else x!=="style"&&(E[Jd[x]||x]=!0);return E},{}):null}let i=[],u={},s={blockQuote:{t:nt(ap),i:re.HIGH,l:(g,A,E)=>({v:A(g[0].replace(SF,""),E)}),h:(g,A,E)=>n("blockquote",{key:E.k},A(g.v,E))},breakLine:{t:_r(wF),i:re.HIGH,l:qo,h:(g,A,E)=>n("br",{key:E.k})},breakThematic:{t:nt(BF),i:re.HIGH,l:qo,h:(g,A,E)=>n("hr",{key:E.k})},codeBlock:{t:nt(ip),i:re.MAX,l:g=>({v:g[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(g,A,E)=>n("pre",{key:E.k},n("code",Ct({},g.O,{className:g.M?`lang-${g.M}`:""}),g.v))},codeFenced:{t:nt(op),i:re.MAX,l:g=>({O:o(g[3]||""),v:g[4],M:g[2]||void 0,type:"codeBlock"})},codeInline:{t:dt(TF),i:re.LOW,l:g=>({v:g[2]}),h:(g,A,E)=>n("code",{key:E.k},g.v)},footnote:{t:nt(RF),i:re.MAX,l:g=>(i.push({I:g[2],j:g[1]}),{}),h:$o},footnoteReference:{t:ct(PF),i:re.HIGH,l:g=>({v:g[1],B:`#${t.slugify(g[1])}`}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B)},n("sup",{key:E.k},g.v))},gfmTask:{t:ct(kF),i:re.HIGH,l:g=>({R:g[1].toLowerCase()==="x"}),h:(g,A,E)=>n("input",{checked:g.R,key:E.k,readOnly:!0,type:"checkbox"})},heading:{t:nt(t.enforceAtxHeadings?sp:up),i:re.HIGH,l:(g,A,E)=>({v:Fn(A,g[2],E),T:t.slugify(g[2]),C:g[1].length}),h:(g,A,E)=>n(`h${g.C}`,{id:g.T,key:E.k},A(g.v,E))},headingSetext:{t:nt(lp),i:re.MAX,l:(g,A,E)=>({v:Fn(A,g[1],E),C:g[2]==="="?1:2,type:"heading"})},htmlComment:{t:_r(cp),i:re.HIGH,l:()=>({}),h:$o},image:{t:dt(hS),i:re.HIGH,l:g=>({D:g[1],B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D||void 0,title:g.F||void 0,src:Gt(g.B)})},link:{t:ct(fS),i:re.LOW,l:(g,A,E)=>({v:AS(A,g[1],E),B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B),title:g.F},A(g.v,E))},linkAngleBraceStyleDetector:{t:ct($F),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],type:"link"})},linkBareUrlDetector:{t:(g,A)=>A.N?null:ct(jF)(g,A),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ct(qF),i:re.MAX,l(g){let A=g[1],E=g[1];return xF.test(E)||(E="mailto:"+E),{v:[{v:A.replace("mailto:",""),type:"text"}],B:E,type:"link"}}},orderedList:ep(n,1),unorderedList:ep(n,2),newlineCoalescer:{t:nt(_F),i:re.LOW,l:qo,h:()=>`
`},paragraph:{t:bS,i:re.LOW,l:jo,h:(g,A,E)=>n("p",{key:E.k},A(g.v,E))},ref:{t:ct(HF),i:re.MAX,l:g=>(u[g[1]]={B:g[2],F:g[4]},{}),h:$o},refImage:{t:dt(zF),i:re.MAX,l:g=>({D:g[1]||void 0,P:g[2]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D,src:Gt(u[g.P].B),title:u[g.P].F})},refLink:{t:ct(WF),i:re.MAX,l:(g,A,E)=>({v:A(g[1],E),Z:A(g[0].replace(GF,"\\$1"),E),P:g[2]}),h:(g,A,E)=>u[g.P]?n("a",{key:E.k,href:Gt(u[g.P].B),title:u[g.P].F},A(g.v,E)):n("span",{key:E.k},A(g.Z,E))},table:{t:nt(dp),i:re.HIGH,l:ES,h:(g,A,E)=>n("table",{key:E.k},n("thead",null,n("tr",null,g.L.map(function(x,F){return n("th",{key:F,style:rp(g,F)},A(x,E))}))),n("tbody",null,g.A.map(function(x,F){return n("tr",{key:F},x.map(function(B,I){return n("td",{key:I,style:rp(g,I)},A(B,E))}))})))},tableSeparator:{t:function(g,A){return A.$?(A._=!0,YF.exec(g)):null},i:re.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:_r(iS),i:re.MIN,l:g=>({v:g[0].replace(NF,(A,E)=>t.namedCodesToUnicode[E]?t.namedCodesToUnicode[E]:A)}),h:g=>g.v},textBolded:{t:dt(tS),i:re.MED,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("strong",{key:E.k},A(g.v,E))},textEmphasized:{t:dt(rS),i:re.LOW,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("em",{key:E.k},A(g.v,E))},textEscaped:{t:dt(oS),i:re.HIGH,l:g=>({v:g[1],type:"text"})},textMarked:{t:dt(nS),i:re.LOW,l:jo,h:(g,A,E)=>n("mark",{key:E.k},A(g.v,E))},textStrikethroughed:{t:dt(aS),i:re.LOW,l:jo,h:(g,A,E)=>n("del",{key:E.k},A(g.v,E))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:_r(Ho),i:re.HIGH,l(g,A,E){let[,x]=g[3].match(sS),F=new RegExp(`^${x}`,"gm"),B=g[3].replace(F,""),I=(L=B,mS.some(U=>U.test(L))?vS:Fn);var L;let w=g[1].toLowerCase(),k=DF.indexOf(w)!==-1;E.N=E.N||w==="a";let N=k?g[3]:I(A,B,E);return E.N=!1,{O:o(g[2]),v:N,G:k,H:k?w:g[1]}},h:(g,A,E)=>n(g.H,Ct({key:E.k},g.O),g.G?g.v:A(g.v,E))},s.htmlSelfClosing={t:_r(zo),i:re.HIGH,l:g=>({O:o(g[2]||""),H:g[1]}),h:(g,A,E)=>n(g.H,Ct({},g.O,{key:E.k}))});let p=function(g){let A=Object.keys(g);function E(x,F){let B=[],I="";for(;x;){let L=0;for(;L<A.length;){let w=A[L],k=g[w],N=k.t(x,F,I);if(N){let U=N[0];x=x.substring(U.length);let V=k.l(N,E,F);V.type==null&&(V.type=w),B.push(V),I=U;break}L++}}return B}return A.sort(function(x,F){let B=g[x].i,I=g[F].i;return B!==I?B-I:x<F?-1:1}),function(x,F){return E(function(B){return B.replace(OF,`
`).replace(IF,"").replace(KF," ")}(x),F)}}(s),y=(b=function(g){return function(A,E,x){return g[A.type].h(A,E,x)}}(s),function g(A,E={}){if(Array.isArray(A)){let x=E.k,F=[],B=!1;for(let I=0;I<A.length;I++){E.k=I;let L=g(A[I],E),w=typeof L=="string";w&&B?F[F.length-1]+=L:L!==null&&F.push(L),B=w}return E.k=x,F}return b(A,g,E)});var b;let m=a(e);return i.length?n("div",null,m,n("footer",{key:"footer"},i.map(function(g){return n("div",{id:t.slugify(g.j),key:g.j},g.j,y(p(g.I,{_:!0})))}))):m}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(re||(re={}));var Vo=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var i,u,s={},p=Object.keys(a);for(u=0;u<p.length;u++)o.indexOf(i=p[u])>=0||(s[i]=a[i]);return s}(e,vF);return me(CS(t,r),n)};var fy=fe(Sn(),1),hy=fe(Hp(),1),my=fe(Yf(),1);l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();var cK=__STORYBOOKCHANNELS__,{Channel:Xo,PostMessageTransport:dK,WebsocketTransport:pK,createBrowserChannel:m3,createPostMessageChannel:fK,createWebSocketChannel:hK}=__STORYBOOKCHANNELS__;l();c();d();var bK=__STORYBOOKCOREEVENTS__,{CHANNEL_CREATED:AK,CONFIG_ERROR:g3,CURRENT_STORY_WAS_SET:y3,DOCS_PREPARED:E3,DOCS_RENDERED:b3,FORCE_REMOUNT:A3,FORCE_RE_RENDER:Jo,GLOBALS_UPDATED:Tn,IGNORED_EXCEPTION:vK,NAVIGATE_URL:Xf,PLAY_FUNCTION_THREW_EXCEPTION:v3,PRELOAD_ENTRIES:D3,PREVIEW_BUILDER_PROGRESS:DK,PREVIEW_KEYDOWN:C3,REGISTER_SUBSCRIPTION:CK,REQUEST_WHATS_NEW_DATA:xK,RESET_STORY_ARGS:_n,RESULT_WHATS_NEW_DATA:FK,SELECT_STORY:SK,SET_CONFIG:wK,SET_CURRENT_STORY:x3,SET_GLOBALS:F3,SET_INDEX:S3,SET_STORIES:BK,SET_WHATS_NEW_CACHE:TK,SHARED_STATE_CHANGED:w3,SHARED_STATE_SET:B3,STORIES_COLLAPSE_ALL:_K,STORIES_EXPAND_ALL:OK,STORY_ARGS_UPDATED:On,STORY_CHANGED:T3,STORY_ERRORED:_3,STORY_INDEX_INVALIDATED:O3,STORY_MISSING:R3,STORY_PREPARED:P3,STORY_RENDERED:Jf,STORY_RENDER_PHASE_CHANGED:I3,STORY_SPECIFIED:k3,STORY_THREW_EXCEPTION:N3,STORY_UNCHANGED:M3,TELEMETRY_ERROR:RK,TOGGLE_WHATS_NEW_NOTIFICATIONS:PK,UPDATE_GLOBALS:Qf,UPDATE_QUERY_PARAMS:L3,UPDATE_STORY_ARGS:Rn}=__STORYBOOKCOREEVENTS__;var j3=Object.create,Zf=Object.defineProperty,q3=Object.getOwnPropertyDescriptor,e0=Object.getOwnPropertyNames,$3=Object.getPrototypeOf,U3=Object.prototype.hasOwnProperty,Ke=(e,t)=>function(){return t||(0,e[e0(e)[0]])((t={exports:{}}).exports,t),t.exports},H3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of e0(t))!U3.call(e,a)&&a!==r&&Zf(e,a,{get:()=>t[a],enumerable:!(n=q3(t,a))||n.enumerable});return e},t0=(e,t,r)=>(r=e!=null?j3($3(e)):{},H3(t||!e||!e.__esModule?Zf(r,"default",{value:e,enumerable:!0}):r,e));function r0(){let e={setHandler:()=>{},send:()=>{}};return new Xo({transport:e})}var z3=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=r0();return this.setChannel(e),e}return this.channel},this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=e=>{this.channel=e,this.resolve()},this.setServerChannel=e=>{this.serverChannel=e},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Qo="__STORYBOOK_ADDONS_PREVIEW";function W3(){return ue[Qo]||(ue[Qo]=new z3),ue[Qo]}var Pn=W3();var X0=fe(Sn(),1),Ir=fe(In(),1),rT=fe(L0(),1),nT=fe(Nn(),1);l();c();d();l();c();d();l();c();d();function Kt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(u,s){var p=s.match(/\n([\t ]+|(?!\s).)/g);return p?u.concat(p.map(function(y){var b,m;return(m=(b=y.match(/[\t ]/g))===null||b===void 0?void 0:b.length)!==null&&m!==void 0?m:0})):u},[]);if(a.length){var o=new RegExp(`
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(u){return u.replace(o,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(u,s){var p=i.match(/(?:^|\n)( *)$/),y=p?p[1]:"",b=u;typeof u=="string"&&u.includes(`
`)&&(b=String(u).split(`
`).map(function(m,g){return g===0?m:""+y+m}).join(`
`)),i+=b+n[s+1]}),i}var ve=Kt;var kB=(e=>(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.FRAMEWORK_ANGULAR="FRAMEWORK_ANGULAR",e.FRAMEWORK_EMBER="FRAMEWORK_EMBER",e.FRAMEWORK_HTML_VITE="FRAMEWORK_HTML-VITE",e.FRAMEWORK_HTML_WEBPACK5="FRAMEWORK_HTML-WEBPACK5",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.FRAMEWORK_PREACT_VITE="FRAMEWORK_PREACT-VITE",e.FRAMEWORK_PREACT_WEBPACK5="FRAMEWORK_PREACT-WEBPACK5",e.FRAMEWORK_REACT_VITE="FRAMEWORK_REACT-VITE",e.FRAMEWORK_REACT_WEBPACK5="FRAMEWORK_REACT-WEBPACK5",e.FRAMEWORK_SERVER_WEBPACK5="FRAMEWORK_SERVER-WEBPACK5",e.FRAMEWORK_SVELTE_VITE="FRAMEWORK_SVELTE-VITE",e.FRAMEWORK_SVELTE_WEBPACK5="FRAMEWORK_SVELTE-WEBPACK5",e.FRAMEWORK_SVELTEKIT="FRAMEWORK_SVELTEKIT",e.FRAMEWORK_VUE_VITE="FRAMEWORK_VUE-VITE",e.FRAMEWORK_VUE_WEBPACK5="FRAMEWORK_VUE-WEBPACK5",e.FRAMEWORK_VUE3_VITE="FRAMEWORK_VUE3-VITE",e.FRAMEWORK_VUE3_WEBPACK5="FRAMEWORK_VUE3-WEBPACK5",e.FRAMEWORK_WEB_COMPONENTS_VITE="FRAMEWORK_WEB-COMPONENTS-VITE",e.FRAMEWORK_WEB_COMPONENTS_WEBPACK5="FRAMEWORK_WEB-COMPONENTS-WEBPACK5",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(kB||{});l();c();d();var qn=fe(Zo(),1);var J0=fe(K0(),1);var Q0=fe(Mo(),1);var zX=(0,X0.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var WX=Symbol("incompatible");var GX=Symbol("Deeply equal");var aT=Kt`
CSF .story annotations deprecated; annotate story functions directly:
- StoryFn.story.name => StoryFn.storyName
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
`,VX=(0,J0.default)(()=>{},aT);var xt=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,u])=>{let s=a[i];Array.isArray(u)||typeof s>"u"?a[i]=u:(0,qn.default)(u)&&(0,qn.default)(s)?t[i]=!0:typeof u<"u"&&(a[i]=u)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>(0,qn.default)(i))?n[a]=xt(...o):n[a]=o[o.length-1]}),n};var ti=(e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Ve.warn(Kt`
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
Consider using the mapping feature or fully custom args:
- Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values
- Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ti(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Ir.default)(e,a=>ti(a,t,new Set(r)))}):{name:"object",value:{}}},oT=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=(0,Ir.default)(n,(i,u)=>({name:u,type:ti(i,`${t}.${u}`,new Set)})),o=(0,Ir.default)(r,(i,u)=>({name:u}));return xt(a,o,r)};oT.secondPass=!0;var Y0=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Nr=(e,t,r)=>!t&&!r?e:e&&(0,Q0.default)(e,(n,a)=>{let o=n.name||a;return(!t||Y0(o,t))&&(!r||!Y0(o,r))}),iT=(e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&Ve.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},Z0=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=Nr(t,n,a),u=(0,Ir.default)(i,(s,p)=>s?.type&&iT(s,p,o));return xt(u,i)};Z0.secondPass=!0;function ri(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}function kr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function Mn(e,t,r={}){return kr(e,t).reduce((n,a)=>r.reverseFileOrder?[...a,...n]:[...n,...a],[])}function Ln(e,t){return Object.assign({},...kr(e,t))}function jn(e,t){return kr(e,t).pop()}function ni(e){let t=Mn(e,"argTypesEnhancers"),r=kr(e,"runStep");return{parameters:xt(...kr(e,"parameters")),decorators:Mn(e,"decorators",{reverseFileOrder:!(ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ln(e,"args"),argsEnhancers:Mn(e,"argsEnhancers"),argTypes:Ln(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:Ln(e,"globals"),globalTypes:Ln(e,"globalTypes"),loaders:Mn(e,"loaders"),render:jn(e,"render"),renderToCanvas:jn(e,"renderToCanvas"),renderToDOM:jn(e,"renderToDOM"),applyDecorators:jn(e,"applyDecorators"),runStep:ri(r)}}var KX=ni([]);var U_=fe(Nn(),1),H_=fe(wi(),1);l();c();d();var W_=fe(Nn(),1);var G_=fe(wi(),1),V_=fe(Zo(),1),pm=Ke({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),K_=Ke({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),fm=Ke({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),Y_=Ke({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),X_=Ke({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Y_()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in r.default&&(o=r.default[o]),n(o))}e.default=a}}),cm=Ke({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(pm()),n=t(K_()),a=t(fm()),o=t(X_()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=u(a.default),e.decodeHTMLStrict=u(r.default);function u(y){var b=p(y);return function(m){return String(m).replace(i,b)}}var s=function(y,b){return y<b?1:-1};e.decodeHTML=function(){for(var y=Object.keys(n.default).sort(s),b=Object.keys(r.default).sort(s),m=0,g=0;m<b.length;m++)y[g]===b[m]?(b[m]+=";?",g++):b[m]+=";";var A=new RegExp("&(?:"+b.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),E=p(r.default);function x(F){return F.substr(-1)!==";"&&(F+=";"),E(F)}return function(F){return String(F).replace(A,x)}}();function p(y){return function(b){if(b.charAt(1)==="#"){var m=b.charAt(2);return m==="X"||m==="x"?o.default(parseInt(b.substr(3),16)):o.default(parseInt(b.substr(2),10))}return y[b.slice(1,-1)]||b}}}}),dm=Ke({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(fm()),n=s(r.default),a=p(n);e.encodeXML=F(n);var o=t(pm()),i=s(o.default),u=p(i);e.encodeHTML=g(i,u),e.encodeNonAsciiHTML=F(i);function s(B){return Object.keys(B).sort().reduce(function(I,L){return I[B[L]]="&"+L+";",I},{})}function p(B){for(var I=[],L=[],w=0,k=Object.keys(B);w<k.length;w++){var N=k[w];N.length===1?I.push("\\"+N):L.push(N)}I.sort();for(var U=0;U<I.length-1;U++){for(var V=U;V<I.length-1&&I[V].charCodeAt(1)+1===I[V+1].charCodeAt(1);)V+=1;var H=1+V-U;H<3||I.splice(U,H,I[U]+"-"+I[V])}return L.unshift("["+I.join("")+"]"),new RegExp(L.join("|"),"g")}var y=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,b=String.prototype.codePointAt!=null?function(B){return B.codePointAt(0)}:function(B){return(B.charCodeAt(0)-55296)*1024+B.charCodeAt(1)-56320+65536};function m(B){return"&#x"+(B.length>1?b(B):B.charCodeAt(0)).toString(16).toUpperCase()+";"}function g(B,I){return function(L){return L.replace(I,function(w){return B[w]}).replace(y,m)}}var A=new RegExp(a.source+"|"+y.source,"g");function E(B){return B.replace(A,m)}e.escape=E;function x(B){return B.replace(a,m)}e.escapeUTF8=x;function F(B){return function(I){return I.replace(A,function(L){return B[L]||m(L)})}}}}),J_=Ke({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=cm(),r=dm();function n(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTML)(s)}e.decode=n;function a(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTMLStrict)(s)}e.decodeStrict=a;function o(s,p){return(!p||p<=0?r.encodeXML:r.encodeHTML)(s)}e.encode=o;var i=dm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var u=cm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})}}),Q_=Ke({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(R,_){if(!(R instanceof _))throw new TypeError("Cannot call a class as a function")}function n(R,_){for(var q=0;q<_.length;q++){var W=_[q];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(R,W.key,W)}}function a(R,_,q){return _&&n(R.prototype,_),q&&n(R,q),R}function o(R){if(typeof Symbol>"u"||R[Symbol.iterator]==null){if(Array.isArray(R)||(R=i(R))){var _=0,q=function(){};return{s:q,n:function(){return _>=R.length?{done:!0}:{done:!1,value:R[_++]}},e:function(se){throw se},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W,X=!0,K=!1,Z;return{s:function(){W=R[Symbol.iterator]()},n:function(){var se=W.next();return X=se.done,se},e:function(se){K=!0,Z=se},f:function(){try{!X&&W.return!=null&&W.return()}finally{if(K)throw Z}}}}function i(R,_){if(R){if(typeof R=="string")return u(R,_);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return u(R,_)}}function u(R,_){(_==null||_>R.length)&&(_=R.length);for(var q=0,W=new Array(_);q<_;q++)W[q]=R[q];return W}var s=J_(),p={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:y()};function y(){var R={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return B(0,5).forEach(function(_){B(0,5).forEach(function(q){B(0,5).forEach(function(W){return b(_,q,W,R)})})}),B(0,23).forEach(function(_){var q=_+232,W=m(_*10+8);R[q]="#"+W+W+W}),R}function b(R,_,q,W){var X=16+R*36+_*6+q,K=R>0?R*40+55:0,Z=_>0?_*40+55:0,se=q>0?q*40+55:0;W[X]=g([K,Z,se])}function m(R){for(var _=R.toString(16);_.length<2;)_="0"+_;return _}function g(R){var _=[],q=o(R),W;try{for(q.s();!(W=q.n()).done;){var X=W.value;_.push(m(X))}}catch(K){q.e(K)}finally{q.f()}return"#"+_.join("")}function A(R,_,q,W){var X;return _==="text"?X=w(q,W):_==="display"?X=x(R,q,W):_==="xterm256"?X=U(R,W.colors[q]):_==="rgb"&&(X=E(R,q)),X}function E(R,_){_=_.substring(2).slice(0,-1);var q=+_.substr(0,2),W=_.substring(5).split(";"),X=W.map(function(K){return("0"+Number(K).toString(16)).substr(-2)}).join("");return N(R,(q===38?"color:#":"background-color:#")+X)}function x(R,_,q){_=parseInt(_,10);var W={"-1":function(){return"<br/>"},0:function(){return R.length&&F(R)},1:function(){return k(R,"b")},3:function(){return k(R,"i")},4:function(){return k(R,"u")},8:function(){return N(R,"display:none")},9:function(){return k(R,"strike")},22:function(){return N(R,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return H(R,"i")},24:function(){return H(R,"u")},39:function(){return U(R,q.fg)},49:function(){return V(R,q.bg)},53:function(){return N(R,"text-decoration:overline")}},X;return W[_]?X=W[_]():4<_&&_<7?X=k(R,"blink"):29<_&&_<38?X=U(R,q.colors[_-30]):39<_&&_<48?X=V(R,q.colors[_-40]):89<_&&_<98?X=U(R,q.colors[8+(_-90)]):99<_&&_<108&&(X=V(R,q.colors[8+(_-100)])),X}function F(R){var _=R.slice(0);return R.length=0,_.reverse().map(function(q){return"</"+q+">"}).join("")}function B(R,_){for(var q=[],W=R;W<=_;W++)q.push(W);return q}function I(R){return function(_){return(R===null||_.category!==R)&&R!=="all"}}function L(R){R=parseInt(R,10);var _=null;return R===0?_="all":R===1?_="bold":2<R&&R<5?_="underline":4<R&&R<7?_="blink":R===8?_="hide":R===9?_="strike":29<R&&R<38||R===39||89<R&&R<98?_="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(_="background-color"),_}function w(R,_){return _.escapeXML?s.encodeXML(R):R}function k(R,_,q){return q||(q=""),R.push(_),"<".concat(_).concat(q?' style="'.concat(q,'"'):"",">")}function N(R,_){return k(R,"span",_)}function U(R,_){return k(R,"span","color:"+_)}function V(R,_){return k(R,"span","background-color:"+_)}function H(R,_){var q;if(R.slice(-1)[0]===_&&(q=R.pop()),q)return"</"+_+">"}function ee(R,_,q){var W=!1,X=3;function K(){return""}function Z(ie,Ae){return q("xterm256",Ae),""}function se(ie){return _.newline?q("display",-1):q("text",ie),""}function ke(ie,Ae){W=!0,Ae.trim().length===0&&(Ae="0"),Ae=Ae.trimRight(";").split(";");var Xr=o(Ae),hu;try{for(Xr.s();!(hu=Xr.n()).done;){var $y=hu.value;q("display",$y)}}catch(Uy){Xr.e(Uy)}finally{Xr.f()}return""}function Ne(ie){return q("text",ie),""}function J(ie){return q("rgb",ie),""}var Ue=[{pattern:/^\x08+/,sub:K},{pattern:/^\x1b\[[012]?K/,sub:K},{pattern:/^\x1b\[\(B/,sub:K},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:se},{pattern:/^\r+\n/,sub:se},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ke},{pattern:/^\x1b\[\d?J/,sub:K},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:K},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:K},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ne}];function T(ie,Ae){Ae>X&&W||(W=!1,R=R.replace(ie.pattern,ie.sub))}var P=[],M=R,O=M.length;e:for(;O>0;){for(var $=0,z=0,pe=Ue.length;z<pe;$=++z){var oe=Ue[$];if(T(oe,$),R.length!==O){O=R.length;continue e}}if(R.length===O)break;P.push(0),O=R.length}return P}function Q(R,_,q){return _!=="text"&&(R=R.filter(I(L(q))),R.push({token:_,data:q,category:L(q)})),R}var Y=function(){function R(_){r(this,R),_=_||{},_.colors&&(_.colors=Object.assign({},p.colors,_.colors)),this.options=Object.assign({},p,_),this.stack=[],this.stickyStack=[]}return a(R,[{key:"toHtml",value:function(_){var q=this;_=typeof _=="string"?[_]:_;var W=this.stack,X=this.options,K=[];return this.stickyStack.forEach(function(Z){var se=A(W,Z.token,Z.data,X);se&&K.push(se)}),ee(_.join(""),X,function(Z,se){var ke=A(W,Z,se,X);ke&&K.push(ke),X.stream&&(q.stickyStack=Q(q.stickyStack,Z,se))}),W.length&&K.push(F(W)),K.join("")}}]),R}();t.exports=Y}}),OQ=new Error("prepareAborted"),{AbortController:RQ}=globalThis;var{fetch:PQ}=ue;var{history:IQ,document:kQ}=ue;var Z_=t0(Q_()),{document:NQ}=ue;var e8=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(e8||{});var MQ=new Z_.default({escapeXML:!0});var{document:LQ}=ue;var{FEATURES:XQ}=ue;l();c();d();var gy=fe(In(),1);l();c();d();var u8=fe(In(),1),s8=fe(Cm(),1);var l8=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(l8||{});var ea=e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)};var xm="storybook/docs",Tee=`${xm}/panel`;var c8=`${xm}/snippet-rendered`,zr=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(zr||{});l();c();d();l();c();d();var d8=Object.create,Fm=Object.defineProperty,p8=Object.getOwnPropertyDescriptor,Sm=Object.getOwnPropertyNames,f8=Object.getPrototypeOf,h8=Object.prototype.hasOwnProperty,Le=(e,t)=>function(){return t||(0,e[Sm(e)[0]])((t={exports:{}}).exports,t),t.exports},m8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Sm(t))!h8.call(e,a)&&a!==r&&Fm(e,a,{get:()=>t[a],enumerable:!(n=p8(t,a))||n.enumerable});return e},ta=(e,t,r)=>(r=e!=null?d8(f8(e)):{},m8(t||!e||!e.__esModule?Fm(r,"default",{value:e,enumerable:!0}):r,e)),g8=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],y8=["detail"];function wm(e){let t=g8.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&y8.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Um=fe(Sn(),1),Pm=Le({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),Im=Le({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=Pm();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),E8=Le({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(u){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var p=n.call(arguments,1),y,b=function(){if(this instanceof y){var x=s.apply(this,p.concat(n.call(arguments)));return Object(x)===x?x:this}else return s.apply(u,p.concat(n.call(arguments)))},m=Math.max(0,s.length-p.length),g=[],A=0;A<m;A++)g.push("$"+A);if(y=Function("binder","return function ("+g.join(",")+"){ return binder.apply(this,arguments); }")(b),s.prototype){var E=function(){};E.prototype=s.prototype,y.prototype=new E,E.prototype=null}return y}}}),Ri=Le({"node_modules/function-bind/index.js"(e,t){"use strict";var r=E8();t.exports=Function.prototype.bind||r}}),b8=Le({"node_modules/has/src/index.js"(e,t){"use strict";var r=Ri();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),km=Le({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,a=Function,o=TypeError,i=function(Q){try{return a('"use strict"; return ('+Q+").constructor;")()}catch{}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch{u=null}var s=function(){throw new o},p=u?function(){try{return arguments.callee,s}catch{try{return u(arguments,"callee").get}catch{return s}}}():s,y=Im()(),b=Object.getPrototypeOf||function(Q){return Q.__proto__},m={},g=typeof Uint8Array>"u"?r:b(Uint8Array),A={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":y?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y?b(b([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!y?r:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!y?r:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y?b(""[Symbol.iterator]()):r,"%Symbol%":y?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":p,"%TypedArray%":g,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},E=function Q(Y){var R;if(Y==="%AsyncFunction%")R=i("async function () {}");else if(Y==="%GeneratorFunction%")R=i("function* () {}");else if(Y==="%AsyncGeneratorFunction%")R=i("async function* () {}");else if(Y==="%AsyncGenerator%"){var _=Q("%AsyncGeneratorFunction%");_&&(R=_.prototype)}else if(Y==="%AsyncIteratorPrototype%"){var q=Q("%AsyncGenerator%");q&&(R=b(q.prototype))}return A[Y]=R,R},x={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=Ri(),B=b8(),I=F.call(Function.call,Array.prototype.concat),L=F.call(Function.apply,Array.prototype.splice),w=F.call(Function.call,String.prototype.replace),k=F.call(Function.call,String.prototype.slice),N=F.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,H=function(Y){var R=k(Y,0,1),_=k(Y,-1);if(R==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&R!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var q=[];return w(Y,U,function(W,X,K,Z){q[q.length]=K?w(Z,V,"$1"):X||W}),q},ee=function(Y,R){var _=Y,q;if(B(x,_)&&(q=x[_],_="%"+q[0]+"%"),B(A,_)){var W=A[_];if(W===m&&(W=E(_)),typeof W>"u"&&!R)throw new o("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:q,name:_,value:W}}throw new n("intrinsic "+Y+" does not exist!")};t.exports=function(Y,R){if(typeof Y!="string"||Y.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=H(Y),q=_.length>0?_[0]:"",W=ee("%"+q+"%",R),X=W.name,K=W.value,Z=!1,se=W.alias;se&&(q=se[0],L(_,I([0,1],se)));for(var ke=1,Ne=!0;ke<_.length;ke+=1){var J=_[ke],Ue=k(J,0,1),T=k(J,-1);if((Ue==='"'||Ue==="'"||Ue==="`"||T==='"'||T==="'"||T==="`")&&Ue!==T)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!Ne)&&(Z=!0),q+="."+J,X="%"+q+"%",B(A,X))K=A[X];else if(K!=null){if(!(J in K)){if(!R)throw new o("base intrinsic for "+Y+" exists, but the property is not available.");return}if(u&&ke+1>=_.length){var P=u(K,J);Ne=!!P,Ne&&"get"in P&&!("originalValue"in P.get)?K=P.get:K=K[J]}else Ne=B(K,J),K=K[J];Ne&&!Z&&(A[X]=K)}}return K}}}),A8=Le({"node_modules/call-bind/index.js"(e,t){"use strict";var r=Ri(),n=km(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(m){var g=i(r,o,arguments);if(u&&s){var A=u(g,"length");A.configurable&&s(g,"length",{value:1+p(0,m.length-(arguments.length-1))})}return g};var y=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:y}):t.exports.apply=y}}),v8=Le({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=km(),n=A8(),a=n(r("String.prototype.indexOf"));t.exports=function(i,u){var s=r(i,!!u);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),D8=Le({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=Pm();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),C8=Le({"node_modules/is-regex/index.js"(e,t){"use strict";var r=v8(),n=D8()(),a,o,i,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},s=function(){throw i},u={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s));var s,p=r("Object.prototype.toString"),y=Object.getOwnPropertyDescriptor,b="[object RegExp]";t.exports=n?function(g){if(!g||typeof g!="object")return!1;var A=y(g,"lastIndex"),E=A&&a(A,"value");if(!E)return!1;try{o(g,u)}catch(x){return x===i}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:p(g)===b}}}),x8=Le({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),F8=Le({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=Im()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),S8=ta(C8()),w8=ta(x8()),B8=ta(F8());function T8(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var _8=typeof window=="object"&&window&&window.Object===Object&&window,O8=_8,R8=typeof self=="object"&&self&&self.Object===Object&&self,P8=O8||R8||Function("return this")(),Pi=P8,I8=Pi.Symbol,nr=I8,Nm=Object.prototype,k8=Nm.hasOwnProperty,N8=Nm.toString,Wr=nr?nr.toStringTag:void 0;function M8(e){var t=k8.call(e,Wr),r=e[Wr];try{e[Wr]=void 0;var n=!0}catch{}var a=N8.call(e);return n&&(t?e[Wr]=r:delete e[Wr]),a}var L8=M8,j8=Object.prototype,q8=j8.toString;function $8(e){return q8.call(e)}var U8=$8,H8="[object Null]",z8="[object Undefined]",Bm=nr?nr.toStringTag:void 0;function W8(e){return e==null?e===void 0?z8:H8:Bm&&Bm in Object(e)?L8(e):U8(e)}var Mm=W8;function G8(e){return e!=null&&typeof e=="object"}var V8=G8,K8="[object Symbol]";function Y8(e){return typeof e=="symbol"||V8(e)&&Mm(e)==K8}var Ii=Y8;function X8(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var J8=X8,Q8=Array.isArray,ki=Q8,Z8=1/0,Tm=nr?nr.prototype:void 0,_m=Tm?Tm.toString:void 0;function Lm(e){if(typeof e=="string")return e;if(ki(e))return J8(e,Lm)+"";if(Ii(e))return _m?_m.call(e):"";var t=e+"";return t=="0"&&1/e==-Z8?"-0":t}var eO=Lm;function tO(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jm=tO,rO="[object AsyncFunction]",nO="[object Function]",aO="[object GeneratorFunction]",oO="[object Proxy]";function iO(e){if(!jm(e))return!1;var t=Mm(e);return t==nO||t==aO||t==rO||t==oO}var uO=iO,sO=Pi["__core-js_shared__"],Oi=sO,Om=function(){var e=/[^.]+$/.exec(Oi&&Oi.keys&&Oi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function lO(e){return!!Om&&Om in e}var cO=lO,dO=Function.prototype,pO=dO.toString;function fO(e){if(e!=null){try{return pO.call(e)}catch{}try{return e+""}catch{}}return""}var hO=fO,mO=/[\\^$.*+?()[\]{}|]/g,gO=/^\[object .+?Constructor\]$/,yO=Function.prototype,EO=Object.prototype,bO=yO.toString,AO=EO.hasOwnProperty,vO=RegExp("^"+bO.call(AO).replace(mO,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function DO(e){if(!jm(e)||cO(e))return!1;var t=uO(e)?vO:gO;return t.test(hO(e))}var CO=DO;function xO(e,t){return e?.[t]}var FO=xO;function SO(e,t){var r=FO(e,t);return CO(r)?r:void 0}var qm=SO;function wO(e,t){return e===t||e!==e&&t!==t}var BO=wO,TO=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_O=/^\w*$/;function OO(e,t){if(ki(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ii(e)?!0:_O.test(e)||!TO.test(e)||t!=null&&e in Object(t)}var RO=OO,PO=qm(Object,"create"),Gr=PO;function IO(){this.__data__=Gr?Gr(null):{},this.size=0}var kO=IO;function NO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var MO=NO,LO="__lodash_hash_undefined__",jO=Object.prototype,qO=jO.hasOwnProperty;function $O(e){var t=this.__data__;if(Gr){var r=t[e];return r===LO?void 0:r}return qO.call(t,e)?t[e]:void 0}var UO=$O,HO=Object.prototype,zO=HO.hasOwnProperty;function WO(e){var t=this.__data__;return Gr?t[e]!==void 0:zO.call(t,e)}var GO=WO,VO="__lodash_hash_undefined__";function KO(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Gr&&t===void 0?VO:t,this}var YO=KO;function ar(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ar.prototype.clear=kO;ar.prototype.delete=MO;ar.prototype.get=UO;ar.prototype.has=GO;ar.prototype.set=YO;var Rm=ar;function XO(){this.__data__=[],this.size=0}var JO=XO;function QO(e,t){for(var r=e.length;r--;)if(BO(e[r][0],t))return r;return-1}var na=QO,ZO=Array.prototype,e6=ZO.splice;function t6(e){var t=this.__data__,r=na(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():e6.call(t,r,1),--this.size,!0}var r6=t6;function n6(e){var t=this.__data__,r=na(t,e);return r<0?void 0:t[r][1]}var a6=n6;function o6(e){return na(this.__data__,e)>-1}var i6=o6;function u6(e,t){var r=this.__data__,n=na(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var s6=u6;function or(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}or.prototype.clear=JO;or.prototype.delete=r6;or.prototype.get=a6;or.prototype.has=i6;or.prototype.set=s6;var l6=or,c6=qm(Pi,"Map"),d6=c6;function p6(){this.size=0,this.__data__={hash:new Rm,map:new(d6||l6),string:new Rm}}var f6=p6;function h6(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var m6=h6;function g6(e,t){var r=e.__data__;return m6(t)?r[typeof t=="string"?"string":"hash"]:r.map}var aa=g6;function y6(e){var t=aa(this,e).delete(e);return this.size-=t?1:0,t}var E6=y6;function b6(e){return aa(this,e).get(e)}var A6=b6;function v6(e){return aa(this,e).has(e)}var D6=v6;function C6(e,t){var r=aa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var x6=C6;function ir(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ir.prototype.clear=f6;ir.prototype.delete=E6;ir.prototype.get=A6;ir.prototype.has=D6;ir.prototype.set=x6;var $m=ir,F6="Expected a function";function Ni(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(F6);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(Ni.Cache||$m),r}Ni.Cache=$m;var S6=Ni,w6=500;function B6(e){var t=S6(e,function(n){return r.size===w6&&r.clear(),n}),r=t.cache;return t}var T6=B6,_6=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O6=/\\(\\)?/g,R6=T6(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(_6,function(r,n,a,o){t.push(a?o.replace(O6,"$1"):n||r)}),t}),P6=R6;function I6(e){return e==null?"":eO(e)}var k6=I6;function N6(e,t){return ki(e)?e:RO(e,t)?[e]:P6(k6(e))}var M6=N6,L6=1/0;function j6(e){if(typeof e=="string"||Ii(e))return e;var t=e+"";return t=="0"&&1/e==-L6?"-0":t}var q6=j6;function $6(e,t){t=M6(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[q6(t[r++])];return r&&r==n?e:void 0}var U6=$6;function H6(e,t,r){var n=e==null?void 0:U6(e,t);return n===void 0?r:n}var z6=H6,ra=T8,W6=e=>{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!n&&!a?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?n=!0:e[i]==="/"&&e[i+1]!=="/"&&(a=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
`&&t!=="`")&&(t=null),a&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
`)&&(a=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]===`
`&&(n=!1)),!r&&!n&&(o+=e[i]);else o=e;return o},G6=(0,Um.default)(1e4)(e=>W6(e).replace(/\n\s*/g,"").trim()),V6=function(t,r){let n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},K6=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Y6=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Hm(e){if(!ra(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=wm(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var X6=function(t){let r,n,a,o;return function(u,s){try{if(u==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;let p=n.get(this)||this;for(;a.length&&p!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return K6.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,S8.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,w8.default)(s)){if(!t.allowFunction)return;let{name:b}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${b}|${(()=>{}).toString()}`:`_function_${b}|${G6(V6(u,m))}`}if((0,B8.default)(s)){if(!t.allowSymbol)return;let b=Symbol.keyFor(s);return b!==void 0?`_gsymbol_${b}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;let y=r.get(s);if(!y){let b=Array.isArray(s)?s:Hm(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(b,{"_constructor-name_":s.constructor.name})}catch{}return o.push(u),a.unshift(b),r.set(s,JSON.stringify(o)),s!==b&&n.set(s,b),b}return`_duplicate_${y}`}catch{return}}},J6=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Y6(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=z6(root,n)})),key==="_constructor-name_")return value;if(ra(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ra(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},zm={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Wm=(e,t={})=>{let r={...zm,...t};return JSON.stringify(Hm(e),X6(r),t.space)},Q6=()=>{let e=new Map;return function t(r){ra(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},jee=(e,t={})=>{let r={...zm,...t},n=JSON.parse(e,J6(r));return Q6()(n),n};var yy=fe(ag(),1);var h4=j.div(Pt,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:de(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Ey=e=>h.createElement(h4,{...e,className:"docblock-emptyblock sb-unstyled"}),m4=j(Qr)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),g4=j.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),da=j.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Bu}`]:{margin:0}})),y4=()=>h.createElement(g4,null,h.createElement(da,null),h.createElement(da,{style:{width:"80%"}}),h.createElement(da,{style:{width:"30%"}}),h.createElement(da,{style:{width:"80%"}})),au=({isLoading:e,error:t,language:r,code:n,dark:a,format:o,...i})=>{if(e)return h.createElement(y4,null);if(t)return h.createElement(Ey,null,t);let u=h.createElement(m4,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let s=a?Ha.dark:Ha.light;return h.createElement(Su,{theme:wu(s)},u)};au.defaultProps={format:!1};var Ee=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,ou=600,wre=j.h1(Pt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${ou}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Bre=j.h2(Pt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${ou}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:de(.25,e.color.defaultText)})),Tre=j.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?de(.1,e.color.defaultText):de(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Ee("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Ee("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Ee("div")]:t,[Ee("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Ee("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Ee("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Ee("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Ee("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Ee("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Ee("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Ee("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Ee("img")]:{maxWidth:"100%"},[Ee("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Ee("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Ee("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Ee("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Ee("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Ee("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Ee("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),_re=j.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${ou}px)`]:{}}));var ma=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),E4=({zoom:e,resetZoom:t})=>h.createElement(h.Fragment,null,h.createElement(yt,{key:"zoomin",onClick:r=>{r.preventDefault(),e(.8)},title:"Zoom in"},h.createElement(Oe,{icon:"zoom"})),h.createElement(yt,{key:"zoomout",onClick:r=>{r.preventDefault(),e(1.25)},title:"Zoom out"},h.createElement(Oe,{icon:"zoomout"})),h.createElement(yt,{key:"zoomreset",onClick:r=>{r.preventDefault(),t()},title:"Reset zoom"},h.createElement(Oe,{icon:"zoomreset"}))),b4=j(Ba)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),A4=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>h.createElement(b4,{...o},h.createElement(gu,{key:"left"},e?[1,2,3].map(i=>h.createElement(Oa,{key:i})):h.createElement(E4,{zoom:n,resetZoom:a}))),by=pr({scale:1}),{window:v4}=ue,D4=class extends et{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=v4.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return h.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},{PREVIEW_URL:C4}=ue,x4=C4||"iframe.html",Ji=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,F4=e=>{let t=Fe(),[r,n]=ne(!0),[a,o]=ne(),{story:i,height:u,autoplay:s,forceInitialArgs:p,renderStoryToElement:y}=e;return he(()=>{if(!(i&&t.current))return()=>{};let b=t.current,m=y(i,b,{showMain:()=>{},showError:({title:g,description:A})=>o(new Error(`${g} - ${A}`)),showException:g=>o(g)},{autoplay:s,forceInitialArgs:p});return n(!1),()=>{Promise.resolve().then(()=>m())}},[s,y,i]),a?h.createElement("pre",null,h.createElement(wa,{error:a})):h.createElement(h.Fragment,null,u?h.createElement("style",null,`#${Ji(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&h.createElement(iu,null),h.createElement("div",{ref:t,id:`${Ji(e)}-inner`,"data-name":i.name}))},S4=({story:e,height:t="500px"})=>h.createElement("div",{style:{width:"100%",height:t}},h.createElement(by.Consumer,null,({scale:r})=>h.createElement(D4,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:qa(x4,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),w4=e=>{let{inline:t}=e;return h.createElement("div",{id:Ji(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?h.createElement(F4,{...e}):h.createElement(S4,{...e}))},iu=()=>h.createElement(Ra,null),B4=j.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px",margin:-10,"& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Qg=j(au)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ze(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ze(.05,e.background.content)}})),T4=j.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ma(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),_4=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:h.createElement(Qg,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:h.createElement(Qg,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function O4(e){if(Jr.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var R4=j(A4)({position:"absolute",top:0,left:0,right:0,height:40}),P4=j.div({overflow:"hidden",position:"relative"}),Qi=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:u,className:s,layout:p="padded",...y})=>{let[b,m]=ne(i),{source:g,actionItem:A}=_4(a,b,m),[E,x]=ne(1),F=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),B=a?[A]:[],[I,L]=ne(u?[...u]:[]),w=[...B,...I],{window:k}=ue,N=ge(async V=>{let{createCopyToClipboardFunction:H}=await Promise.resolve().then(()=>(fr(),Fu));H()},[]),U=V=>{let H=k.getSelection();H&&H.type==="Range"||(V.preventDefault(),I.filter(ee=>ee.title==="Copied").length===0&&N(g.props.code).then(()=>{L([...I,{title:"Copied",onClick:()=>{}}]),k.setTimeout(()=>L(I.filter(ee=>ee.title!=="Copied")),1500)}))};return h.createElement(T4,{withSource:a,withToolbar:o,...y,className:F.join(" ")},o&&h.createElement(R4,{isLoading:e,border:!0,zoom:V=>x(E*V),resetZoom:()=>x(1),storyId:O4(n),baseUrl:"./iframe.html"}),h.createElement(by.Provider,{value:{scale:E}},h.createElement(P4,{className:"docs-story",onCopyCapture:a&&U},h.createElement(B4,{isColumn:t||!Array.isArray(n),columns:r,layout:p},h.createElement(La.Element,{scale:E},Array.isArray(n)?n.map((V,H)=>h.createElement("div",{key:H},V)):h.createElement("div",null,n))),h.createElement(Ca,{actionItems:w}))),a&&b&&g)},I4=j(Qi)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}})),k4=()=>h.createElement(I4,{isLoading:!0,withToolbar:!0},h.createElement(iu,null)),N4=j.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Rt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),M4=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:h.createElement(h.Fragment,null,h.createElement(N4,null,h.createElement("tbody",null,n&&h.createElement("tr",{key:"deprecated"},h.createElement("td",{colSpan:2},h.createElement("strong",null,"Deprecated"),": ",e.deprecated)),r&&t.map(o=>h.createElement("tr",{key:o.name},h.createElement("td",null,h.createElement("code",null,o.name)),h.createElement("td",null,o.description))),a&&h.createElement("tr",{key:"returns"},h.createElement("td",null,h.createElement("code",null,"Returns")),h.createElement("td",null,e.returns.description)))))},Zi=8,Zg=j.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),L4=j.span(Rt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),j4=j.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),q4=j.div(Rt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),$4=j.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),U4=j(Oe)({height:10,width:10,minWidth:10,marginLeft:4}),H4=()=>h.createElement("span",null,"-"),Ay=({text:e,simple:t})=>h.createElement(L4,{simple:t},e),z4=(0,fy.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),W4=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,hy.default)(t)},ey=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Zi)),r.map(n=>h.createElement(Ay,{key:n,text:n===""?'""':n}))},G4=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=ne(!1),[i,u]=ne(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return h.createElement(Ay,{text:s});let p=W4(s),y=p.length;return y>Zi?h.createElement(Zg,{isExpanded:i},ey(p,i),h.createElement(j4,{onClick:()=>u(!i)},i?"Show less...":`Show ${y-Zi} more...`)):h.createElement(Zg,null,ey(p))}return h.createElement(Ma,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:p=>{o(p)},tooltip:h.createElement($4,{width:z4(n)},h.createElement(Qr,{language:"jsx",format:!1},n))},h.createElement(q4,{className:"sbdocs-expandable"},h.createElement("span",null,s),h.createElement(U4,{icon:a?"arrowup":"arrowdown"})))},Ki=({value:e,initialExpandedArgs:t})=>e==null?h.createElement(H4,null):h.createElement(G4,{value:e,initialExpandedArgs:t}),V4=j.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:de(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Er(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Er(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Er(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Er(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),K4=e=>e==="true",Y4=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let o=ge(()=>r(!1),[r]);if(t===void 0)return h.createElement(Re.Button,{id:hr(e),onClick:o},"Set boolean");let i=Pe(e),u=typeof t=="string"?K4(t):t;return h.createElement(V4,{htmlFor:i,title:u?"Change to false":"Change to true"},h.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:u,name:e,onBlur:n,onFocus:a}),h.createElement("span",null,"False"),h.createElement("span",null,"True"))},X4=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},J4=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},Q4=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},Z4=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},e9=j.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),t9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[o,i]=ne(!0),u=Fe(),s=Fe();he(()=>{o!==!1&&(u&&u.current&&(u.current.value=Q4(t)),s&&s.current&&(s.current.value=Z4(t)))},[t]);let p=m=>{let g=X4(m.target.value),A=new Date(t);A.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let E=A.getTime();E&&r(E),i(!!E)},y=m=>{let g=J4(m.target.value),A=new Date(t);A.setHours(g.getHours()),A.setMinutes(g.getMinutes());let E=A.getTime();E&&r(E),i(!!E)},b=Pe(e);return h.createElement(e9,null,h.createElement(Re.Input,{type:"date",max:"9999-12-31",ref:u,id:`${b}-date`,name:`${b}-date`,onChange:p,onFocus:n,onBlur:a}),h.createElement(Re.Input,{type:"time",id:`${b}-time`,name:`${b}-time`,ref:s,onChange:y,onFocus:n,onBlur:a}),o?null:h.createElement("div",null,"invalid"))},r9=j.label({display:"flex"}),n9=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t};var a9=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:u})=>{let[s,p]=ne(typeof t=="number"?t:""),[y,b]=ne(!1),[m,g]=ne(null),A=ge(F=>{p(F.target.value);let B=parseFloat(F.target.value);Number.isNaN(B)?g(new Error(`'${F.target.value}' is not a number`)):(r(B),g(null))},[r,g]),E=ge(()=>{p("0"),r(0),b(!0)},[b]),x=Fe(null);return he(()=>{y&&x.current&&x.current.select()},[y]),he(()=>{s!==(typeof t=="number"?t:"")&&p(t)},[t]),!y&&t===void 0?h.createElement(Re.Button,{id:hr(e),onClick:E},"Set number"):h.createElement(r9,null,h.createElement(Re.Input,{ref:x,id:Pe(e),type:"number",onChange:A,size:"flex",placeholder:"Edit number...",value:s,valid:m?"error":null,autoFocus:y,name:e,min:n,max:a,step:o,onFocus:u,onBlur:i}))},vy=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},eu=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Dy=(e,t)=>e&&t&&e.map(r=>t[r]),o9=j.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),i9=j.span({}),u9=j.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ty=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return Ve.warn(`Checkbox with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=eu(r,t),[i,u]=ne(o),s=y=>{let b=y.target.value,m=[...i];m.includes(b)?m.splice(m.indexOf(b),1):m.push(b),n(Dy(m,t)),u(m)};he(()=>{u(eu(r,t))},[r]);let p=Pe(e);return h.createElement(o9,{isInline:a},Object.keys(t).map((y,b)=>{let m=`${p}-${b}`;return h.createElement(u9,{key:m,htmlFor:m},h.createElement("input",{type:"checkbox",id:m,name:m,value:y,onChange:s,checked:i?.includes(y)}),h.createElement(i9,null,y))}))},s9=j.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),l9=j.span({}),c9=j.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ry=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return Ve.warn(`Radio with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=vy(r,t),i=Pe(e);return h.createElement(s9,{isInline:a},Object.keys(t).map((u,s)=>{let p=`${i}-${s}`;return h.createElement(c9,{key:p,htmlFor:p},h.createElement("input",{type:"radio",id:p,name:p,value:u,onChange:y=>n(t[y.currentTarget.value]),checked:u===o}),h.createElement(l9,null,u))}))},d9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Cy=j.select(({theme:e})=>({...d9,boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),xy=j.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),ny="Choose option...",p9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{n(r[u.currentTarget.value])},o=vy(t,r)||ny,i=Pe(e);return h.createElement(xy,null,h.createElement(Oe,{icon:"arrowdown"}),h.createElement(Cy,{id:i,value:o,onChange:a},h.createElement("option",{key:"no-selection",disabled:!0},ny),Object.keys(r).map(u=>h.createElement("option",{key:u},u))))},f9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{let s=Array.from(u.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Dy(s,r))},o=eu(t,r),i=Pe(e);return h.createElement(xy,null,h.createElement(Cy,{id:i,multiple:!0,value:o,onChange:a},Object.keys(r).map(u=>h.createElement("option",{key:u},u))))},ay=e=>{let{name:t,options:r}=e;return r?e.isMulti?h.createElement(f9,{...e}):h.createElement(p9,{...e}):(Ve.warn(`Select with no options: ${t}`),h.createElement(h.Fragment,null,"-"))},h9=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,m9={check:ty,"inline-check":ty,radio:ry,"inline-radio":ry,select:ay,"multi-select":ay},cr=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?h9(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=m9[t];if(o)return h.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},uu="value",g9="key",y9="Error",E9="Object",b9="Array",A9="String",v9="Number",D9="Boolean",C9="Date",x9="Null",F9="Undefined",S9="Function",w9="Symbol",Fy="ADD_DELTA_TYPE",Sy="REMOVE_DELTA_TYPE",wy="UPDATE_DELTA_TYPE";function gt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function By(e,t){let r=gt(e),n=gt(t);return(r==="Function"||n==="Function")&&n!==r}var su=class extends et{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,i.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,u=me(r,{onClick:this.onSubmit}),s=me(n,{onClick:e}),p=a(uu,o,i),y=me(p,{placeholder:"Value",ref:this.refInputValue}),b=null;if(!t){let m=a(g9,o,i);b=me(m,{placeholder:"Key",ref:this.refInputKey})}return h.createElement("span",{className:"rejt-add-value-node"},b,y,s,u)}};su.defaultProps={onlyValue:!1,addButtonElement:h.createElement("button",null,"+"),cancelButtonElement:h.createElement("button",null,"c")};var Ty=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Sy};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(r[r.length-1],i),s({type:Fy,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(i[i.length-1],o),y({type:wy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:u,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=i(e,t,r,n,u),b=o(e,t,r,n,u),m=me(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!b&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:b,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}=this.props,{minus:U,plus:V,delimiter:H,ul:ee,addForm:Q}=y(e,t,r,n,b),Y=p(e,t,r,n,b),R=me(B,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),_=me(F,{onClick:u,className:"rejt-minus-menu",style:U}),q=!0,W="[",X="]";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},W),!a&&R,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ee},t.map((K,Z)=>h.createElement(ga,{key:Z,name:Z.toString(),data:K,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(Z),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}))),!Y&&a&&h.createElement("div",{className:"rejt-add-form",style:Q},h.createElement(su,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:q,addButtonElement:m,cancelButtonElement:g,inputElementGenerator:E,keyPath:r,deep:n,onSubmitValueParser:N})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},X),!Y&&_)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,o);return h.createElement("div",{className:"rejt-array-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};Ty.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var _y=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{By(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:b,textareaElementGenerator:m,minusMenuElement:g,keyPath:A}=this.props,E=p(e,i,n,a,s),x=null,F=null,B=u(e,i,n,a,s);if(r&&!B){let I=m(uu,A,a,e,i,s),L=me(y,{onClick:this.handleEdit}),w=me(b,{onClick:this.handleCancelEdit}),k=me(I,{ref:this.refInput,defaultValue:i});x=h.createElement("span",{className:"rejt-edit-form",style:E.editForm},k," ",w,L),F=null}else{x=h.createElement("span",{className:"rejt-value",style:E.value,onClick:B?null:this.handleEditMode},t);let I=me(g,{onClick:o,className:"rejt-minus-menu",style:E.minus});F=B?null:I}return h.createElement("li",{className:"rejt-function-value-node",style:E.li},h.createElement("span",{className:"rejt-name",style:E.name},e," :"," "),x,F)}};_y.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var ga=class extends et{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:u,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k}=this.props,N=()=>!0,U=gt(e);switch(U){case y9:return h.createElement(tu,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:N,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case E9:return h.createElement(tu,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case b9:return h.createElement(Ty,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case A9:return h.createElement(mt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case v9:return h.createElement(mt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case D9:return h.createElement(mt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case C9:return h.createElement(mt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:N,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case x9:return h.createElement(mt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case F9:return h.createElement(mt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case S9:return h.createElement(_y,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,textareaElementGenerator:E,minusMenuElement:x,logger:w,onSubmitValueParser:k});case w9:return h.createElement(mt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:N,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});default:return null}}};ga.defaultProps={keyPath:[],deep:0};var tu=class extends et{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(n[n.length-1],r),s({type:Fy,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Sy};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(i[i.length-1],o),y({type:wy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:u,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=u(e,n,t,r,i),b=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),g=me(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"{...}"," ",b.length," ",b.length===1?"key":"keys"),!m&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:b,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}=this.props,{minus:U,plus:V,addForm:H,ul:ee,delimiter:Q}=y(e,t,r,n,b),Y=Object.getOwnPropertyNames(t),R=p(e,t,r,n,b),_=me(B,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),q=me(F,{onClick:u,className:"rejt-minus-menu",style:U}),W=Y.map(Z=>h.createElement(ga,{key:Z,name:Z,data:t[Z],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(Z),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N})),X="{",K="}";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},X),!R&&_,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ee},W),!R&&o&&h.createElement("div",{className:"rejt-add-form",style:H},h.createElement(su,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:g,inputElementGenerator:E,keyPath:r,deep:n,onSubmitValueParser:N})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},K),!R&&q)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=o(e,r,n,a,i);return h.createElement("div",{className:"rejt-object-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};tu.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var mt=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{By(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:b,inputElementGenerator:m,minusMenuElement:g,keyPath:A}=this.props,E=p(e,i,n,a,s),x=u(e,i,n,a,s),F=r&&!x,B=m(uu,A,a,e,i,s),I=me(y,{onClick:this.handleEdit}),L=me(b,{onClick:this.handleCancelEdit}),w=me(B,{ref:this.refInput,defaultValue:JSON.stringify(i)}),k=me(g,{onClick:o,className:"rejt-minus-menu",style:E.minus});return h.createElement("li",{className:"rejt-value-node",style:E.li},h.createElement("span",{className:"rejt-name",style:E.name},e," : "),F?h.createElement("span",{className:"rejt-edit-form",style:E.editForm},w," ",L,I):h.createElement("span",{className:"rejt-value",style:E.value,onClick:x?null:this.handleEditMode},String(t)),!x&&!F&&k)}};mt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var B9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},T9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},_9={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function O9(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Oy=class extends et{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElement:p,textareaElement:y,minusMenuElement:b,plusMenuElement:m,beforeRemoveAction:g,beforeAddAction:A,beforeUpdateAction:E,logger:x,onSubmitValueParser:F,fallback:B=null}=this.props,I=gt(e),L=a;gt(a)==="Boolean"&&(L=()=>a);let w=p;p&&gt(p)!=="Function"&&(w=()=>p);let k=y;return y&&gt(y)!=="Function"&&(k=()=>y),I==="Object"||I==="Array"?h.createElement("div",{className:"rejt-tree"},h.createElement(ga,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:L,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElementGenerator:w,textareaElementGenerator:k,minusMenuElement:b,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:g,beforeAddAction:A,beforeUpdateAction:E,logger:x,onSubmitValueParser:F})):B}};Oy.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return B9;case"Array":return T9;default:return _9}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>O9(a),inputElement:()=>h.createElement("input",null),textareaElement:()=>h.createElement("textarea",null),fallback:null};var{window:R9}=ue,P9=j.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yi=j.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),oy=j(Oe)(({theme:e,icon:t,disabled:r})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:r?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":r?{}:{color:t==="subtract"?e.color.negative:e.color.ancillary},"svg + &":{marginLeft:0}})),iy=j.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),I9=j(yt)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),k9=j(Re.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),N9={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},M9=e=>{e.currentTarget.dispatchEvent(new R9.KeyboardEvent("keydown",N9))},L9=e=>{e.currentTarget.select()},j9=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),uy=({name:e,value:t,onChange:r})=>{let n=Tu(),a=ot(()=>t&&(0,my.default)(t),[t]),o=a!=null,[i,u]=ne(!o),[s,p]=ne(null),y=ge(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(F){p(F)}},[r]),[b,m]=ne(!1),g=ge(()=>{r({}),m(!0)},[m]),A=Fe(null);if(he(()=>{b&&A.current&&A.current.select()},[b]),!o)return h.createElement(Re.Button,{id:hr(e),onClick:g},"Set object");let E=h.createElement(k9,{ref:A,id:Pe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>y(x.target.value),placeholder:"Edit JSON string...",autoFocus:b,valid:s?"error":null});return h.createElement(P9,null,["Object","Array"].includes(gt(a))&&h.createElement(I9,{href:"#",onClick:x=>{x.preventDefault(),u(F=>!F)}},h.createElement(Oe,{icon:i?"eyeclose":"eye"}),h.createElement("span",null,"RAW")),i?E:h.createElement(Oy,{data:a,rootName:e,onFullyUpdate:r,getStyle:j9(n),cancelButtonElement:h.createElement(Yi,{type:"button"},"Cancel"),editButtonElement:h.createElement(Yi,{type:"submit"},"Save"),addButtonElement:h.createElement(Yi,{type:"submit",primary:!0},"Save"),plusMenuElement:h.createElement(oy,{icon:"add"}),minusMenuElement:h.createElement(oy,{icon:"subtract"}),inputElement:(x,F,B,I)=>I?h.createElement(iy,{onFocus:L9,onBlur:M9}):h.createElement(iy,null),fallback:E}))},q9=j.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:He(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Ry=j.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),$9=j(Ry)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),U9=j.div({display:"flex",alignItems:"center",width:"100%"});function H9(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var z9=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:u})=>{let s=b=>{r(n9(b.target.value))},p=t!==void 0,y=ot(()=>H9(o),[o]);return h.createElement(U9,null,h.createElement(Ry,null,n),h.createElement(q9,{id:Pe(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:i}),h.createElement($9,{numberOFDecimalsPlaces:y,max:a},p?t.toFixed(y):"--"," / ",a))},W9=j.label({display:"flex"}),G9=j.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),V9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let i=b=>{r(b.target.value)},[u,s]=ne(!1),p=ge(()=>{r(""),s(!0)},[s]);if(t===void 0)return h.createElement(Re.Button,{id:hr(e),onClick:p},"Set string");let y=typeof t=="string";return h.createElement(W9,null,h.createElement(Re.Textarea,{id:Pe(e),maxLength:o,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:a}),o&&h.createElement(G9,{isMaxed:t?.length===o},t?.length??0," / ",o))},K9=j(Re.Input)({padding:10});function Y9(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var X9=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=Fe(null);function o(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),Y9(n)}return he(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),h.createElement(K9,{ref:a,id:Pe(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},J9=Eu(()=>Promise.resolve().then(()=>(Jg(),Xg))),Q9=e=>h.createElement(yu,{fallback:h.createElement("div",null)},h.createElement(J9,{...e})),Z9={array:uy,object:uy,boolean:Y4,color:Q9,date:t9,number:a9,check:cr,"inline-check":cr,radio:cr,"inline-radio":cr,select:cr,"multi-select":cr,range:z9,text:V9,file:X9},sy=()=>h.createElement(h.Fragment,null,"-"),eP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[i,u]=ne(!1),[s,p]=ne({value:t});he(()=>{i||p({value:t})},[i,t]);let y=ge(E=>(p({value:E}),r({[a]:E}),E),[r,a]),b=ge(()=>u(!1),[]),m=ge(()=>u(!0),[]);if(!o||o.disable)return n?h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):h.createElement(sy,null);let g={name:a,argType:e,value:s.value,onChange:y,onBlur:b,onFocus:m},A=Z9[o.type]||sy;return h.createElement(A,{...g,...o,controlType:o.type})},tP=j.span({fontWeight:"bold"}),rP=j.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nP=j.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Rt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),aP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?4:0})),oP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),iP=j.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),pa=e=>{let[t,r]=ne(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:u}=e,{name:s,description:p}=n,y=n.table||{},b=y.type||n.type,m=y.defaultValue||n.defaultValue,g=n.type?.required,A=p!=null&&p!=="";return h.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},h.createElement(iP,{expandable:i},h.createElement(tP,null,s),g?h.createElement(rP,{title:"Required"},"*"):null),o?null:h.createElement("td",null,A&&h.createElement(nP,null,h.createElement(Vo,null,p)),y.jsDocTags!=null?h.createElement(h.Fragment,null,h.createElement(oP,{hasDescription:A},h.createElement(Ki,{value:b,initialExpandedArgs:u})),h.createElement(M4,{tags:y.jsDocTags})):h.createElement(aP,{hasDescription:A},h.createElement(Ki,{value:b,initialExpandedArgs:u}))),o?null:h.createElement("td",null,h.createElement(Ki,{value:m,initialExpandedArgs:u})),a?h.createElement("td",null,h.createElement(eP,{...e,isHovered:t})):null)},uP=j(Oe)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),sP=j.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),lP=j.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),cP=j.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),dP=j.td(()=>({position:"relative"})),pP=j.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${st(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),ly=j.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xi=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=ne(n),u=e==="subsection"?cP:lP,s=r?.length||0,p=e==="subsection"?`${s} item${s!==1?"s":""}`:"",y=o?"arrowdown":"arrowright",b=`${o?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return h.createElement(h.Fragment,null,h.createElement(pP,{title:b},h.createElement(u,{colSpan:1},h.createElement(ly,{onClick:m=>i(!o),tabIndex:0},b),h.createElement(sP,null,h.createElement(uP,{icon:y}),t)),h.createElement(dP,{colSpan:a-1},h.createElement(ly,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},b),o?null:p)),o?r:null)},fa=j.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Te=j.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),be=j.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_e=[2,4,2,2],fP=()=>h.createElement(h.Fragment,null,h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"})))),hP=j.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),mP=j.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),gP=j.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),yP=j.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),EP=j.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),bP=j.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),AP=({inAddonPanel:e})=>{let[t,r]=ne(!0);return he(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:h.createElement(hP,{inAddonPanel:e},h.createElement(mP,null,h.createElement(gP,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),h.createElement(yP,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),h.createElement(EP,null,e&&h.createElement(h.Fragment,null,h.createElement(Et,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},h.createElement(Oe,{icon:"video"})," Watch 5m video"),h.createElement(bP,null),h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},vP=j.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?de(.25,e.color.defaultText):de(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),DP=j(yt)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),CP=j.span({display:"flex",justifyContent:"space-between"}),xP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},FP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:u,subcategory:s}=i?.table||{};if(u){let p=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)p.ungrouped.push({key:o,...i});else{let y=p.subsections[s]||[];y.push({key:o,...i}),p.subsections[s]=y}r.sections[u]=p}else if(s){let p=r.ungroupedSubsections[s]||[];p.push({key:o,...i}),r.ungroupedSubsections[s]=p}else r.ungrouped.push({key:o,...i})});let n=xP[t],a=o=>n?Object.keys(o).reduce((i,u)=>({...i,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},SP=(e,t,r)=>{try{return Lo(e,t,r)}catch(n){return xn.warn(n.message),!1}},_t=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:u}=e;if("error"in e){let{error:B}=e;return h.createElement(Ey,null,B,"\xA0",h.createElement(Et,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return h.createElement(fP,null);let{rows:s,args:p,globals:y}="rows"in e&&e,b=FP((0,py.default)(s,B=>!B?.table?.disable&&SP(B,p||{},y||{})),i),m=b.ungrouped.length===0,g=Object.entries(b.sections).length===0,A=Object.entries(b.ungroupedSubsections).length===0;if(m&&g&&A)return h.createElement(AP,{inAddonPanel:a});let E=1;t&&(E+=1),n||(E+=2);let x=Object.keys(b.sections).length>0,F={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return h.createElement(Pa,null,h.createElement(vP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},h.createElement("thead",{className:"docblock-argstable-head"},h.createElement("tr",null,h.createElement("th",null,h.createElement("span",null,"Name")),n?null:h.createElement("th",null,h.createElement("span",null,"Description")),n?null:h.createElement("th",null,h.createElement("span",null,"Default")),t?h.createElement("th",null,h.createElement(CP,null,"Control"," ",!u&&r&&h.createElement(DP,{onClick:()=>r(),title:"Reset controls"},h.createElement(Oe,{icon:"undo","aria-hidden":!0})))):null)),h.createElement("tbody",{className:"docblock-argstable-body"},b.ungrouped.map(B=>h.createElement(pa,{key:B.key,row:B,arg:p&&p[B.key],...F})),Object.entries(b.ungroupedSubsections).map(([B,I])=>h.createElement(Xi,{key:B,label:B,level:"subsection",colSpan:E},I.map(L=>h.createElement(pa,{key:L.key,row:L,arg:p&&p[L.key],expandable:x,...F})))),Object.entries(b.sections).map(([B,I])=>h.createElement(Xi,{key:B,label:B,level:"section",colSpan:E},I.ungrouped.map(L=>h.createElement(pa,{key:L.key,row:L,arg:p&&p[L.key],...F})),Object.entries(I.subsections).map(([L,w])=>h.createElement(Xi,{key:L,label:L,level:"subsection",colSpan:E},w.map(k=>h.createElement(pa,{key:k.key,row:k,arg:p&&p[k.key],expandable:x,...F})))))))))},Py=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?h.createElement(_t,{...r[0][1],...t}):h.createElement(ka,null,r.map(n=>{let[a,o]=n,i=`prop_table_div_${a}`;return h.createElement("div",{key:i,id:i,title:a},({active:u})=>u?h.createElement(_t,{key:`prop_table_${a}`,...o,...t}):null)}))},Ore=j.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)})),Rre=j.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Pre=j.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Ire=j.div(Pt,({theme:e})=>({...ma(e),margin:"25px 0 40px",padding:"30px 20px"}));var kre=j.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),Nre=j.div(({theme:e})=>({color:e.base==="light"?de(.2,e.color.defaultText):de(.6,e.color.defaultText)})),Mre=j.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),Lre=j.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),jre=j.div({display:"flex",flexDirection:"row"}),qre=j.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),$re=j.div(({theme:e})=>({...ma(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),Ure=j.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Hre=j.div({flex:1,display:"flex",flexDirection:"row"}),zre=j.div({display:"flex",alignItems:"flex-start"}),Wre=j.div({flex:"0 0 30%"}),Gre=j.div({flex:1}),Vre=j.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)})),Kre=j.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yre=j.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Xre=j.div(({theme:e})=>({...ma(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Jre=j.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Qre=j.div({display:"flex",flexFlow:"row wrap"});var wP=e=>`anchor--${e}`,BP=({storyId:e,children:t})=>h.createElement("div",{id:wP(e),className:"sb-anchor"},t);ue&&ue.__DOCS_CONTEXT__===void 0&&(ue.__DOCS_CONTEXT__=pr(null),ue.__DOCS_CONTEXT__.displayName="DocsContext");var Qe=ue?ue.__DOCS_CONTEXT__:pr(null),lu=(e,t)=>qe(Qe).resolveOf(e,t);var cu="^",TP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Iy=e=>{if(e)return typeof e=="string"?e.includes("-")?TP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function ky(e,t){let r=du([e],t);return r&&r[0]}function du(e,t){let[r,n]=ne({});return he(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var _P=(e,t)=>{let r=t.getStoryContext(t.storyById()),[n,a]=ne(r.args);he(()=>{let u=s=>{s.storyId===e&&a(s.args)};return t.channel.on(On,u),()=>t.channel.off(On,u)},[e]);let o=ge(u=>t.channel.emit(Rn,{storyId:e,updatedArgs:u}),[e]),i=ge(u=>t.channel.emit(_n,{storyId:e,argNames:u}),[e]);return[n,o,i]},OP=e=>{let t=e.getStoryContext(e.storyById()),[r,n]=ne(t.globals);return he(()=>{let a=o=>{n(o.globals)};return e.channel.on(Tn,a),()=>e.channel.off(Tn,a)},[]),[r]},Ny=(e,t,r,n)=>{let{extractArgTypes:a}=t.docs||{};if(!a)throw new Error("Args unsupported. See Args documentation for your framework.");let o=a(e);return o=Nr(o,r,n),o},cy=e=>e&&[cu].includes(e),RP=(e={},t)=>{let{of:r}=e,{story:n}=e;if(cy(r)||cy(n))return t||null;if(!r)throw new Error("No component found.");return r},ru=(e,t,r,n,a,o)=>({...e,...(0,gy.default)(t,i=>({rows:Ny(i,r,n,a),sort:o}))}),PP=e=>{let t=qe(Qe),{story:r,component:n,subcomponents:a,showComponent:o,include:i,exclude:u,sort:s}=e;try{let p;switch(r){case cu:{p=t.storyById().id;break}default:p=t.storyIdByName(r)}let y=ky(p,t),[b,m,g]=_P(p,t),[A]=OP(t);if(!y)return h.createElement(_t,{isLoading:!0,updateArgs:m,resetArgs:g});let E=Nr(y.argTypes,i,u),x=Iy(n)||"Story",F={[x]:{rows:E,args:b,globals:A,updateArgs:m,resetArgs:g}},B=E&&Object.values(E).find(I=>!!I?.control);if(B||(m=null,g=null,F={}),n&&(!B||o)&&(F=ru(F,{[x]:n},y.parameters,i,u)),a){if(Array.isArray(a))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");F=ru(F,a,y.parameters,i,u)}return h.createElement(Py,{tabs:F,sort:s})}catch(p){return h.createElement(_t,{error:p.message})}},dy=e=>{let{components:t,include:r,exclude:n,sort:a,parameters:o}=e,i=ru({},t,o,r,n);return h.createElement(Py,{tabs:i,sort:a})},IP=e=>{ye(ve`The ArgsTable doc block is deprecated. Instead use the ArgTypes doc block for static tables or the Controls doc block for tables with controls.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block
`);let t=qe(Qe),r,n,a;try{({parameters:r,component:n,subcomponents:a}=t.storyById())}catch{let{of:g}=e;if("of"in e&&g===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");({projectAnnotations:{parameters:r}}=t.resolveOf(g,["component"]))}let{include:o,exclude:i,components:u,sort:s}=e,{story:p}=e,y=s||r.controls?.sort,b=RP(e,n);if(p)return h.createElement(PP,{...e,component:b,subcomponents:a,sort:y});if(!u&&!a){let g;try{g={rows:Ny(b,r,o,i)}}catch(A){g={error:A.message}}return h.createElement(_t,{...g,sort:y})}if(u)return h.createElement(dy,{...e,components:u,sort:y,parameters:r});let m=Iy(b);return h.createElement(dy,{...e,components:{[m]:b,...a},sort:y,parameters:r})};IP.defaultProps={of:cu};function kP(e){return Wm(e)}var NP=pr({sources:{}}),MP="--unknown--";var LP=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(LP||{}),jP=e=>{let t=e.map(r=>r.parameters.docs?.source?.state).filter(Boolean);return t.length===0?"closed":t[0]},qP=(e,t,r)=>{let{sources:n}=r,a=n?.[e];return a?.[kP(t)]||a?.[MP]||{code:""}},$P=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{let{__isArgsStory:a}=t.parameters,o=t.parameters.docs?.source||{},i=r||o.type||zr.AUTO;if(o.code!==void 0)return o.code;let u=i===zr.DYNAMIC||i===zr.AUTO&&e&&a?e:o.originalSource||"";return o.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),t.parameters.docs?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),t.parameters.jsx?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),(n??o.transform??o.transformSource??t.parameters.docs?.transformSource??t.parameters.jsx?.transformSource)?.(u,t)||u},My=(e,t,r)=>{let n=e.ids||(e.id?[e.id]:[]),a=du(n,t),o=a,{of:i}=e;if("of"in e&&i===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(i)o=[t.resolveOf(i,["story"]).story];else if(o.length===0)try{o=[t.storyById()]}catch{}if(!a.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let u=o[0]?.parameters?.docs?.source||{},{code:s}=e,p=e.format??u.format,y=e.language??u.language??"jsx",b=e.dark??u.dark??!1;s||(s=o.map((g,A)=>{if(!g)return"";let E=t.getStoryContext(g),x=e.__forceInitialArgs?E.initialArgs:E.unmappedArgs,F=qP(g.id,x,r);return A===0&&(p=F.format??g.parameters.docs?.source?.format??!1),$P({snippet:F.code,storyContext:{...E,args:x},typeFromProps:e.type,transformFromProps:e.transform})}).join(`
`));let m=jP(o);return s?{code:s,format:p,language:y,dark:b,state:m}:{error:"Oh no! The source is not available.",state:m}};var Ly=(e,t)=>{let{id:r,of:n,meta:a,story:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(r)return ye(ve`Referencing stories by \`id\` is deprecated, please use \`of\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:i}=e;return i?(ye(ve`Referencing stories by \`name\` is deprecated, please use \`of\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(i)):(o&&ye(ve`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),a&&t.referenceMeta(a,!1),t.resolveOf(n||o||"story",["story"]).story.id)},UP=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;let{inlineStories:i,iframeHeight:u}=a;typeof i<"u"&&ye(ve`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
`);let s=e.inline??o.inline??i??!1;if(typeof u<"u"&&ye(ve`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
`),s){let y=e.height??o.height,b=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:y,autoplay:b,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let p=e.height??o.height??o.iframeHeight??u??"100px";return{story:t,inline:!1,height:p,primary:!!e.__primary}},HP=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=qe(Qe),r=Ly(e,t),n=ky(r,t);if(!n)return h.createElement(iu,null);let a=UP(e,n,t);return a?h.createElement(w4,{...a}):null},zP=({withSource:e,mdxSource:t,children:r,layout:n,...a},o,i)=>{let u=Jr.toArray(r).filter(m=>m.props&&(m.props.id||m.props.name||m.props.of)).map(m=>Ly(m.props,o)),s=du(u,o),p=s.some(m=>!m),y=My({...t?{code:decodeURI(t)}:{ids:u},...a.of&&{of:a.of}},o,i);if(e==="none")return{isLoading:p,previewProps:a};let b=n;return Jr.forEach(r,m=>{b||(b=m?.props?.parameters?.layout)}),s.forEach(m=>{b||!m||(b=m?.parameters.layout??m.parameters.docs?.canvas?.layout)}),{isLoading:p,previewProps:{...a,layout:b??"padded",withSource:y,isExpanded:(e||y.state)==="open"}}},WP=e=>{let t=qe(Qe),r=qe(NP),{children:n,of:a,source:o}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{isLoading:i,previewProps:u}=zP(e,t,r),s,p,y;try{({story:s}=lu(a||"story",["story"]))}catch(x){n||(y=x)}try{p=My({...o,...a&&{of:a}},t,r)}catch(x){n||(y=x)}if(y)throw y;if(e.withSource&&ye(ve`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),e.mdxSource&&ye(ve`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),(e.isColumn!==void 0||e.columns!==void 0)&&ye(ve`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),n)return ye(ve`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),i?h.createElement(k4,null):h.createElement(Qi,{...u},n);let b=e.layout??s.parameters.layout??s.parameters.docs?.canvas?.layout??"padded",m=e.withToolbar??s.parameters.docs?.canvas?.withToolbar??!1,g=e.additionalActions??s.parameters.docs?.canvas?.additionalActions,A=e.sourceState??s.parameters.docs?.canvas?.sourceState??"hidden",E=e.className??s.parameters.docs?.canvas?.className;return h.createElement(Qi,{withSource:A==="none"?void 0:p,isExpanded:A==="shown",withToolbar:m,additionalActions:g,className:E,layout:b},h.createElement(HP,{of:a||s.moduleExport,meta:e.meta,...e.story}))};var{document:jy}=ue;var GP=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return h.createElement(Sa,null,t);let n=e&&e.split("-");return h.createElement(au,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function pu(e,t){e.channel.emit(Xf,t)}var nu=ja.a,VP=({hash:e,children:t})=>{let r=qe(Qe);return h.createElement(nu,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);jy.getElementById(a)&&pu(r,e)}},t)},KP=e=>{let{href:t,target:r,children:n,...a}=e,o=qe(Qe);if(t){if(t.startsWith("#"))return h.createElement(VP,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return h.createElement(nu,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),pu(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)}return h.createElement(nu,{...e})},qy=["h1","h2","h3","h4","h5","h6"],YP=qy.reduce((e,t)=>({...e,[t]:j(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),XP=j.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),JP=({as:e,id:t,children:r,...n})=>{let a=qe(Qe),o=YP[e],i=`#${t}`;return h.createElement(o,{id:t,...n},h.createElement(XP,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{jy.getElementById(t)&&pu(a,i)}},h.createElement(Oe,{icon:"link"})),r)},fu=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return h.createElement(JP,{as:t,id:r,...a},n);let o=t,{as:i,...u}=e;return h.createElement(o,{...$a(u,t)})},QP=qy.reduce((e,t)=>({...e,[t]:r=>h.createElement(fu,{as:t,...r})}),{}),ZP=e=>{if(!e.children)return null;if(typeof e.children!="string")throw new Error(ve`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
This is often caused by not wrapping the child in a template string.
This is invalid:
<Markdown>
# Some heading
A paragraph
</Markdown>
Instead do:
<Markdown>
{\`
# Some heading
A paragraph
\`}
</Markdown>
`);return h.createElement(Vo,{...e,options:{forceBlock:!0,overrides:{code:GP,a:KP,...QP,...e?.options?.overrides},...e?.options}})},eI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(eI||{}),ha="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",tI=e=>e&&(typeof e=="string"?e:ea(e.markdown)||ea(e.text)),rI=e=>e&&(typeof e=="string"?e:ea(e.text)),nI=e=>null,aI=e=>{switch(e.type){case"story":return e.story.parameters.docs?.description?.story||null;case"meta":{let{parameters:t,component:r}=e.preparedMeta;return t.docs?.description?.component||t.docs?.extractComponentDescription?.(r,{component:r,parameters:t})||null}case"component":{let{component:t,projectAnnotations:{parameters:r}}=e;return r.docs?.extractComponentDescription?.(t,{component:t,parameters:r})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},oI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:i,info:u,docs:s}=o;(i||u)&&ye(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${ha}`);let{extractComponentDescription:p=nI,description:y}=s||{},b=y?.component;if(b)return b;switch(e){case"info":return rI(u);case"notes":return tI(i);case"docgen":case"auto":default:return p(a,{component:a,...o})}},iI=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o=qe(Qe),i=lu(t||"meta"),u;return r||n||a?u=oI(e,o):u=aI(i),r&&ye(`Manually specifying description type is deprecated. See ${ha}`),n&&ye(`The 'markdown' prop on the Description block is deprecated. See ${ha}`),a&&ye(`The 'children' prop on the Description block is deprecated. See ${ha}`),u?h.createElement(ZP,null,u):null},Zre=j.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ene=j.div(({theme:e})=>({position:"fixed",top:0,width:"10rem",paddingTop:"4rem",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),tne=j.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:rne,window:nne}=ue;var uI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return h.createElement(_a,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h3",id:r},e)},sI=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{let{story:o}=lu(e||"story",["story"]),i=o.parameters.docs?.canvas?.withToolbar??r;return h.createElement(BP,{storyId:o.id},t&&h.createElement(h.Fragment,null,h.createElement(uI,null,o.name),h.createElement(iI,{of:e})),h.createElement(WP,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))};var lI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return h.createElement(Ta,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h2",id:n,...r},e)},cI=j(lI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),dI=({title:e,includePrimary:t=!0})=>{let{componentStories:r}=qe(Qe),n=r().filter(a=>!a.parameters?.docs?.disable);return t||(n=n.slice(1)),!n||n.length===0?null:h.createElement(h.Fragment,null,h.createElement(cI,null,e),n.map(a=>a&&h.createElement(sI,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))};dI.defaultProps={title:"Stories"};var pI=()=>{let[e,t]=ne(!0),[r,n,a]=vu(),[o]=Du(),i=Da(),{expanded:u,sort:s,presetColors:p}=Cu(ba,{}),{path:y,previewInitialized:b}=xu();he(()=>{b&&t(!1)},[b]);let m=Object.values(i).some(A=>A?.control),g=Object.entries(i).reduce((A,[E,x])=>(x?.control?.type!=="color"||x?.control?.presetColors?A[E]=x:A[E]={...x,control:{...x.control,presetColors:p}},A),{});return h.createElement(_t,{key:y,compact:!u&&m,rows:g,args:r,globals:o,updateArgs:n,resetArgs:a,inAddonPanel:!0,sort:s,isLoading:e})};function fI(){let e=Da(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return h.createElement("div",null,h.createElement(Ia,{col:1},h.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":h.createElement(Fa,{status:"neutral"},t)))}va.register(Ea,e=>{va.add(Ea,{title:fI,type:Au.PANEL,paramKey:ba,render:({active:t})=>!t||!e.getCurrentStoryData()?null:h.createElement(xa,{active:t},h.createElement(pI,null))})});
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }