reacthub-pixitweenjs 0.2.107-alpha.62 → 0.2.107-alpha.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +2 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Subject to the terms at https://greensock.com/standard-license or for
|
|
23
23
|
* Club GreenSock members, the agreement issued with that membership.
|
|
24
24
|
* @author: Jack Doyle, jack@greensock.com
|
|
25
|
-
*/var Ut,df,pf=function(){return Ut||typeof window<"u"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},gf=function(){Ut=pf(),Ut?(Ut.registerEase("_CE",ts.create),df=1):console.warn("Please gsap.registerPlugin(CustomEase)")},xw=1e20,ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},bw=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Tw=/[cLlsSaAhHvVtTqQ]/g,ww=function(e){var r=e.length,n=xw,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Sw=function(e,r,n){!n&&n!==0&&(n=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,a=-n,u=e.length,l=1/(+e[u-2]+i),h=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?ww(e)+a:+e[u-1]+a),p;for(h?h=1/h:h=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*h},Aw=function t(e,r,n,i,a,u,l,h,p,g,c){var d=(e+n)/2,m=(r+i)/2,_=(n+a)/2,y=(i+u)/2,b=(a+l)/2,x=(u+h)/2,E=(d+_)/2,w=(m+y)/2,I=(_+b)/2,O=(y+x)/2,F=(E+I)/2,N=(w+O)/2,L=l-e,D=h-r,V=Math.abs((n-l)*D-(i-h)*L),K=Math.abs((a-l)*D-(u-h)*L),ae;return g||(g=[{x:e,y:r},{x:l,y:h}],c=1),g.splice(c||g.length-1,0,{x:F,y:N}),(V+K)*(V+K)>p*(L*L+D*D)&&(ae=g.length,t(e,r,d,m,E,w,F,N,p,g,c),t(F,N,I,O,b,x,l,h,p,g,c+1+(g.length-ae))),g},ts=function(){function t(r,n,i){df||gf(),this.id=r,this.setData(n,i)}var e=t.prototype;return e.setData=function(n,i){i=i||{},n=n||"0,0,1,1";var a=n.match(bw),u=1,l=[],h=[],p=i.precision||1,g=p<=1,c,d,m,_,y,b,x,E,w;if(this.data=n,(Tw.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=_w(n)[0]),c=a.length,c===4)a.unshift(0,0),a.push(1,1),c=8;else if((c-2)%6)throw"Invalid CustomEase";for((+a[0]!=0||+a[c-2]!=1)&&Sw(a,i.height,i.originY),this.segment=a,_=2;_<c;_+=6)d={x:+a[_-2],y:+a[_-1]},m={x:+a[_+4],y:+a[_+5]},l.push(d,m),Aw(d.x,d.y,+a[_],+a[_+1],+a[_+2],+a[_+3],m.x,m.y,1/(p*2e5),l,l.length-1);for(c=l.length,_=0;_<c;_++)x=l[_],E=l[_-1]||x,(x.x>E.x||E.y!==x.y&&E.x===x.x||x===E)&&x.x<=1?(E.cx=x.x-E.x,E.cy=x.y-E.y,E.n=x,E.nx=x.x,g&&_>1&&Math.abs(E.cy/E.cx-l[_-2].cy/l[_-2].cx)>2&&(g=0),E.cx<u&&(E.cx?u=E.cx:(E.cx=.001,_===c-1&&(E.x-=.001,u=Math.min(u,.001),g=0)))):(l.splice(_--,1),c--);if(c=1/u+1|0,y=1/c,b=0,x=l[0],g){for(_=0;_<c;_++)w=_*y,x.nx<w&&(x=l[++b]),d=x.y+(w-x.x)/x.cx*x.cy,h[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(h[_-1].cy=d-h[_-1].y);h[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),h[_]=x;b<l.length-1&&(h[_-1]=l[l.length-2])}return this.ease=function(I){var O=h[I*c|0]||h[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&Ut&&Ut.registerEase(this.id,this.ease),this},e.getSVGData=function(n){return t.getSVGData(this,n)},t.create=function(n,i,a){return new t(n,i,a).ease},t.register=function(n){Ut=n,gf()},t.get=function(n){return Ut.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,h=(i.y||0)+u,p=Ut.utils.toArray(i.path)[0],g,c,d,m,_,y,b,x,E,w;if(i.invert&&(u=-u,h=0),typeof n=="string"&&(n=Ut.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)g=yw(mw([n.segment],a,0,0,-u,l,h));else{for(g=[l,h],b=Math.max(5,(i.precision||1)*200),m=1/b,b+=2,x=5/b,E=ta(l+m*a),w=ta(h+n(m)*-u),c=(w-h)/(E-l),d=2;d<b;d++)_=ta(l+d*m*a),y=ta(h+n(d*m)*-u),(Math.abs((y-w)/(_-E)-c)>x||d===b-1)&&(g.push(E,w),c=(y-w)/(_-E)),E=_,w=y;g="M"+g.join(",")}return p&&p.setAttribute("d",g),g},t}();pf()&&Ut.registerPlugin(ts),ts.version="3.11.5",ee.registerPlugin(ts),ts.create("springBounce","0.32, 1.06, 0.61, 0.93"),ee.registerEffect({name:"PULSE",effect(t,e){return ee.timeline().fromTo(t,{width:(e==null?void 0:e.width)*.9,height:(e==null?void 0:e.height)*.9},{width:(e==null?void 0:e.width)*1.1,height:(e==null?void 0:e.height)*1.1,duration:.5,ease:"slow"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SHAKE",effect(t,e){return ee.timeline().to(t,{duration:.1,x:"+=5"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=10"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=5"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SWING",effect(t,e){return ee.timeline().to(t,{duration:.5,rotation:1}).to(t,{duration:.5,rotation:-1}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"JELLO",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,rotation:-1}).to(t,{duration:.4,width:e.width*1.2,rotation:1}).to(t,{duration:.3,width:e.width,rotation:0}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"WOOBLE",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,x:e.x*-.5}).to(t,{duration:.3,width:e.width*1.5,x:e.x*1.5}).to(t,{duration:.3,width:e.width*.5,x:e.x*-.01}).to(t,{duration:.3,width:e.width,x:e.x}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"NONE",effect(t,e){return ee.to(t,{duration:0})}}),ee.registerEffect({name:"FLASH",effect(t,e){return ee.timeline().to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1,...e})}}),ee.registerEffect({name:"BOUNCE_IN",effect(t,e){return ee.from(t,{...e,duration:2,width:(e==null?void 0:e.width)*1.5,height:(e==null?void 0:e.height)*1.5,ease:"bounce.out"})}}),ee.registerEffect({name:"BOUNCE_IN_DOWN",effect(t,e){return ee.from(t,{...e,duration:2,ease:"bounce.out",y:-1500,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_LEFT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:-1500,duration:2,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_RIGHT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_IN_UP",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",y:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_OUT",effect(t,e){return ee.from(t,{...e,ease:"bounce.in",y:2e3,duration:1.5})}}),ee.registerEffect({name:"FADE_IN",effect(t,e){return ee.fromTo(t,{alpha:0},{ease:"power4.in",alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_DOWN",effect(t,e){return ee.fromTo(t,{y:-1e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_LEFT",effect(t,e){return ee.fromTo(t,{x:-1e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_RIGHT",effect(t,e){return ee.fromTo(t,{x:2e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_UP",effect(t,e){return ee.fromTo(t,{y:2e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:.8,...e})}}),ee.registerEffect({name:"SPIN",effect(t){return ee.to(t,{rotation:(e,r)=>ee.utils.snap(360,Number(ee.getProperty(r,"rotation"))+360)})}});function Ew(t,e,r){const[n,i]=W.useState(ee.to(t,{duration:0}));return hw(()=>{ee.effects[e]&&t.current&&i(ee.effects[e](t.current,r))},[e,t,r]),n}var du=(t=>(t.NONE="NONE",t.FLASH="FLASH",t.PULSE="PULSE",t.SHAKE="SHAKE",t.SWING="SWING",t.JELLO="JELLO",t.WOOBLE="WOOBLE",t.FADE_IN="FADE_IN",t.FADE_OUT="FADE_OUT",t.FADE_IN_OUT="FADE_IN_OUT",t.SLIDE_IN_LEFT="SLIDE_IN_LEFT",t.SLIDE_IN_RIGHT="SLIDE_IN_RIGHT",t.SLIDE_IN_TOP="SLIDE_IN_TOP",t.SLIDE_IN_BOTTOM="SLIDE_IN_BOTTOM",t.SLIDE_OUT_LEFT="SLIDE_OUT_LEFT",t.SLIDE_OUT_RIGHT="SLIDE_OUT_RIGHT",t.SLIDE_OUT_TOP="SLIDE_OUT_TOP",t.SLIDE_OUT_BOTTOM="SLIDE_OUT_BOTTOM",t.ZOOM_IN="ZOOM_IN",t.ZOOM_OUT="ZOOM_OUT",t.ZOOM_IN_OUT="ZOOM_IN_OUT",t.BOUNCE_IN="BOUNCE_IN",t.BOUNCE_OUT="BOUNCE_OUT",t.BOUNCE_IN_OUT="BOUNCE_IN_OUT",t.BOUNCE_IN_DOWN="BOUNCE_IN_DOWN",t.BOUNCE_IN_LEFT="BOUNCE_IN_LEFT",t.BOUNCE_IN_RIGHT="BOUNCE_IN_RIGHT",t.BOUNCE_IN_UP="BOUNCE_IN_UP",t.BOUNCE_OUT_DOWN="BOUNCE_OUT_DOWN",t.BOUNCE_OUT_LEFT="BOUNCE_OUT_LEFT",t.BOUNCE_OUT_RIGHT="BOUNCE_OUT_RIGHT",t.BOUNCE_OUT_UP="BOUNCE_OUT_UP",t.FADE_IN_DOWN="FADE_IN_DOWN",t.FADE_IN_LEFT="FADE_IN_LEFT",t.FADE_IN_RIGHT="FADE_IN_RIGHT",t.FADE_IN_UP="FADE_IN_UP",t.FADE_OUT_DOWN="FADE_OUT_DOWN",t.FADE_OUT_LEFT="FADE_OUT_LEFT",t.FADE_OUT_RIGHT="FADE_OUT_RIGHT",t.FADE_OUT_UP="FADE_OUT_UP",t.ELASTIC_IN="ELASTIC_IN",t.ELASTIC_OUT="ELASTIC_OUT",t.ELASTIC_IN_OUT="ELASTIC_IN_OUT",t.BACK_IN="BACK_IN",t.BACK_OUT="BACK_OUT",t.BACK_IN_OUT="BACK_IN_OUT",t.CIRCULAR_IN="CIRCULAR_IN",t.CIRCULAR_OUT="CIRCULAR_OUT",t.CIRCULAR_IN_OUT="CIRCULAR_IN_OUT",t.EXPO_IN="EXPO_IN",t.EXPO_OUT="EXPO_OUT",t.EXPO_IN_OUT="EXPO_IN_OUT",t.SINE_IN="SINE_IN",t.SINE_OUT="SINE_OUT",t.SINE_IN_OUT="SINE_IN_OUT",t.BOUNCE="BOUNCE",t.ELASTIC="ELASTIC",t.BACK="BACK",t.CIRCULAR="CIRCULAR",t.EXPO="EXPO",t.SINE="SINE",t))(du||{});const Cw=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],rn=te.forwardRef((t,e)=>{var ye,we,De,Ue;const[r,n]=te.useState(!1),[i,a]=W.useState(!1),[u,l]=W.useState(!1),h=W.useRef(null),p=W.useRef(null),g=W.useRef(null),c=W.useRef(null),d=W.useRef(null),{tl:m}=W.useContext(en),{uniqueId:_,visible:y,startAt:b,transformation:{x,y:E,width:w,height:I,scale:O=[1,1],rotation:F=0,effect:N,overlay:L,animation:D=du.NONE},applyTransformer:V,disabled:K,pointerdown:ae,pointerout:j,pointerover:G,isText:se,isDragging:ie,isGif:H,onDoubleClick:J,isTextEditMode:pe}=t,X=Ew(h,D,{x,y:E,width:w,height:I});ht(Ke.COMPLETE,()=>{h.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>(h.current&&n(!0),()=>{n(!1),h.current=null}),[]),te.useEffect(()=>(m.current&&(d.current&&m.current.remove(d.current),d.current=X),()=>{m.current&&(m.current.remove(X),X.progress(0).kill())}),[b,,X]);const q=te.useCallback(()=>{l(!0),G&&G()},[]),ce=te.useCallback(()=>{a(!0)},[]),fe=te.useCallback(Fe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(Fe),a(!1)},[]),ge=$e.withFilters($e.Container,{matrix:jt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(ye=h.current)==null?void 0:ye.x,(we=h.current)==null?void 0:we.y,x,E,"imagegroup",(De=g.current)==null?void 0:De.x,(Ue=g.current)==null?void 0:Ue.y),Ae.jsxs($e.Container,{ref:p,children:[Ae.jsxs($e.Container,{ref:h,position:[x,E],pivot:[x,E],width:w,height:I,scale:O,rotation:F,...!K&&y&&!i&&!ie&&{interactive:!0,buttonMode:!0,pointerdown:ae,pointerover:G,pointerout:j},children:[!H&&Ae.jsx(ge,{scale:1,apply:({matrix:Fe})=>{N===Tn.BlackAndWhite?Fe.desaturate():N===Tn.Sepia?Fe.sepia():N===Tn.RetroVintage||N===Tn.NightVision?Fe.negative():N===Tn.Normal&&Fe.reset()},matrix:{enabled:!0,matrix:Cw},children:Ae.jsx($e.Container,{ref:g,children:t.children})}),H&&Ae.jsx($e.Container,{ref:g,children:t.children}),!Qi(L)&&L!==ou.NONE&&L!==ou.NORMAL&&Ae.jsx(Ex,{overlay:L,width:w,height:I,x,y:E})]}),V&&y&&!pe&&Ae.jsx(Pv,{pixiTransformerRef:c,imageRef:h,isMounted:r,transformCommit:fe,transformChange:ce,mouseoverEvent:q,uniqueId:_,isText:se,onDoubleClick:J})]})});rn.whyDidYouRender={logOnDifferentValues:!0,customName:"AbstractContainer"};var Sn=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(Sn||{}),mf=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(mf||{}),pu=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(pu||{}),de=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(de||{}),nn=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(nn||{}),Z=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(Z||{}),si=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(si||{}),Ge=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Ge||{}),gu=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(gu||{}),Pr=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Pr||{}),rs=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(rs||{}),An=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(An||{}),sn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(sn||{}),En=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(En||{}),mu=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(mu||{}),tr=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(tr||{}),_t=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(_t||{}),vt=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(vt||{}),Mr=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(Mr||{});const Ce={ADAPTER:{createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var vu=/iPhone/i,vf=/iPod/i,_f=/iPad/i,yf=/\biOS-universal(?:.+)Mac\b/i,_u=/\bAndroid(?:.+)Mobile\b/i,xf=/Android/i,ai=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,ra=/Silk/i,Ur=/Windows Phone/i,bf=/\bWindows(?:.+)ARM\b/i,Tf=/BlackBerry/i,wf=/BB10/i,Sf=/Opera Mini/i,Af=/\b(CriOS|Chrome)(?:.+)Mobile/i,Ef=/Mobile(?:.+)Firefox\b/i,Cf=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function Iw(t){return function(e){return e.test(t)}}function If(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=Iw(r),a={apple:{phone:i(vu)&&!i(Ur),ipod:i(vf),tablet:!i(vu)&&(i(_f)||Cf(e))&&!i(Ur),universal:i(yf),device:(i(vu)||i(vf)||i(_f)||i(yf)||Cf(e))&&!i(Ur)},amazon:{phone:i(ai),tablet:!i(ai)&&i(ra),device:i(ai)||i(ra)},android:{phone:!i(Ur)&&i(ai)||!i(Ur)&&i(_u),tablet:!i(Ur)&&!i(ai)&&!i(_u)&&(i(ra)||i(xf)),device:!i(Ur)&&(i(ai)||i(ra)||i(_u)||i(xf))||i(/\bokhttp\b/i)},windows:{phone:i(Ur),tablet:i(bf),device:i(Ur)||i(bf)},other:{blackberry:i(Tf),blackberry10:i(wf),opera:i(Sf),firefox:i(Ef),chrome:i(Af),device:i(Tf)||i(wf)||i(Sf)||i(Ef)||i(Af)},any:!1,phone:!1,tablet:!1};return a.any=a.apple.device||a.android.device||a.windows.device||a.other.device,a.phone=a.apple.phone||a.android.phone||a.windows.phone,a.tablet=a.apple.tablet||a.android.tablet||a.windows.tablet,a}const oi=(If.default??If)(globalThis.navigator);Ce.RETINA_PREFIX=/@([0-9\.]+)x/,Ce.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var Rf={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(h,p,g){this.fn=h,this.context=p,this.once=g||!1}function a(h,p,g,c,d){if(typeof g!="function")throw new TypeError("The listener must be a function");var m=new i(g,c||h,d),_=r?r+p:p;return h._events[_]?h._events[_].fn?h._events[_]=[h._events[_],m]:h._events[_].push(m):(h._events[_]=m,h._eventsCount++),h}function u(h,p){--h._eventsCount===0?h._events=new n:delete h._events[p]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var p=[],g,c;if(this._eventsCount===0)return p;for(c in g=this._events)e.call(g,c)&&p.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(g)):p},l.prototype.listeners=function(p){var g=r?r+p:p,c=this._events[g];if(!c)return[];if(c.fn)return[c.fn];for(var d=0,m=c.length,_=new Array(m);d<m;d++)_[d]=c[d].fn;return _},l.prototype.listenerCount=function(p){var g=r?r+p:p,c=this._events[g];return c?c.fn?1:c.length:0},l.prototype.emit=function(p,g,c,d,m,_){var y=r?r+p:p;if(!this._events[y])return!1;var b=this._events[y],x=arguments.length,E,w;if(b.fn){switch(b.once&&this.removeListener(p,b.fn,void 0,!0),x){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,g),!0;case 3:return b.fn.call(b.context,g,c),!0;case 4:return b.fn.call(b.context,g,c,d),!0;case 5:return b.fn.call(b.context,g,c,d,m),!0;case 6:return b.fn.call(b.context,g,c,d,m,_),!0}for(w=1,E=new Array(x-1);w<x;w++)E[w-1]=arguments[w];b.fn.apply(b.context,E)}else{var I=b.length,O;for(w=0;w<I;w++)switch(b[w].once&&this.removeListener(p,b[w].fn,void 0,!0),x){case 1:b[w].fn.call(b[w].context);break;case 2:b[w].fn.call(b[w].context,g);break;case 3:b[w].fn.call(b[w].context,g,c);break;case 4:b[w].fn.call(b[w].context,g,c,d);break;default:if(!E)for(O=1,E=new Array(x-1);O<x;O++)E[O-1]=arguments[O];b[w].fn.apply(b[w].context,E)}}return!0},l.prototype.on=function(p,g,c){return a(this,p,g,c,!1)},l.prototype.once=function(p,g,c){return a(this,p,g,c,!0)},l.prototype.removeListener=function(p,g,c,d){var m=r?r+p:p;if(!this._events[m])return this;if(!g)return u(this,m),this;var _=this._events[m];if(_.fn)_.fn===g&&(!d||_.once)&&(!c||_.context===c)&&u(this,m);else{for(var y=0,b=[],x=_.length;y<x;y++)(_[y].fn!==g||d&&!_[y].once||c&&_[y].context!==c)&&b.push(_[y]);b.length?this._events[m]=b.length===1?b[0]:b:u(this,m)}return this},l.prototype.removeAllListeners=function(p){var g;return p?(g=r?r+p:p,this._events[g]&&u(this,g)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(Rf);var Rw=Rf.exports;const na=bn(Rw);var yu={exports:{}};yu.exports=ia,yu.exports.default=ia;function ia(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,a=Pf(t,0,i,r,!0),u=[];if(!a||a.next===a.prev)return u;var l,h,p,g,c,d,m;if(n&&(a=Nw(t,e,a,r)),t.length>80*r){l=p=t[0],h=g=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<h&&(h=d),c>p&&(p=c),d>g&&(g=d);m=Math.max(p-l,g-h),m=m!==0?32767/m:0}return ns(a,u,r,l,h,m,0),u}function Pf(t,e,r,n,i){var a,u;if(i===Tu(t,e,r,n)>0)for(a=e;a<r;a+=n)u=Ff(a,t[a],t[a+1],u);else for(a=r-n;a>=e;a-=n)u=Ff(a,t[a],t[a+1],u);return u&&sa(u,u.next)&&(ss(u),u=u.next),u}function Cn(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(sa(r,r.next)||ot(r.prev,r,r.next)===0)){if(ss(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function ns(t,e,r,n,i,a,u){if(t){!u&&a&&Uw(t,n,i,a);for(var l=t,h,p;t.prev!==t.next;){if(h=t.prev,p=t.next,a?Mw(t,n,i,a):Pw(t)){e.push(h.i/r|0),e.push(t.i/r|0),e.push(p.i/r|0),ss(t),t=p.next,l=p.next;continue}if(t=p,t===l){u?u===1?(t=Ow(Cn(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&Fw(t,e,r,n,i,a):ns(Cn(t),e,r,n,i,a,1);break}}}}function Pw(t){var e=t.prev,r=t,n=t.next;if(ot(e,r,n)>=0)return!1;for(var i=e.x,a=r.x,u=n.x,l=e.y,h=r.y,p=n.y,g=i<a?i<u?i:u:a<u?a:u,c=l<h?l<p?l:p:h<p?h:p,d=i>a?i>u?i:u:a>u?a:u,m=l>h?l>p?l:p:h>p?h:p,_=n.next;_!==e;){if(_.x>=g&&_.x<=d&&_.y>=c&&_.y<=m&&ui(i,l,a,h,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Mw(t,e,r,n){var i=t.prev,a=t,u=t.next;if(ot(i,a,u)>=0)return!1;for(var l=i.x,h=a.x,p=u.x,g=i.y,c=a.y,d=u.y,m=l<h?l<p?l:p:h<p?h:p,_=g<c?g<d?g:d:c<d?c:d,y=l>h?l>p?l:p:h>p?h:p,b=g>c?g>d?g:d:c>d?c:d,x=xu(m,_,e,r,n),E=xu(y,b,e,r,n),w=t.prevZ,I=t.nextZ;w&&w.z>=x&&I&&I.z<=E;){if(w.x>=m&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ui(l,g,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0||(w=w.prevZ,I.x>=m&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ui(l,g,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0))return!1;I=I.nextZ}for(;w&&w.z>=x;){if(w.x>=m&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ui(l,g,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;I&&I.z<=E;){if(I.x>=m&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ui(l,g,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Ow(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!sa(i,a)&&Mf(i,n,n.next,a)&&is(i,a)&&is(a,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(a.i/r|0),ss(n),ss(n.next),n=t=a),n=n.next}while(n!==t);return Cn(n)}function Fw(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&Hw(u,l)){var h=Of(u,l);u=Cn(u,u.next),h=Cn(h,h.next),ns(u,e,r,n,i,a,0),ns(h,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Nw(t,e,r,n){var i=[],a,u,l,h,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,h=a<u-1?e[a+1]*n:t.length,p=Pf(t,l,h,n,!1),p===p.next&&(p.steiner=!0),i.push(Gw(p));for(i.sort(Lw),a=0;a<i.length;a++)r=kw(i[a],r);return r}function Lw(t,e){return t.x-e.x}function kw(t,e){var r=Dw(t,e);if(!r)return e;var n=Of(r,t);return Cn(n,n.next),Cn(r,r.next)}function Dw(t,e){var r=e,n=t.x,i=t.y,a=-1/0,u;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a&&(a=l,u=r.x<r.next.x?r:r.next,l===n))return u}r=r.next}while(r!==e);if(!u)return null;var h=u,p=u.x,g=u.y,c=1/0,d;r=u;do n>=r.x&&r.x>=p&&n!==r.x&&ui(i<g?n:a,i,p,g,i<g?a:n,i,r.x,r.y)&&(d=Math.abs(i-r.y)/(n-r.x),is(r,t)&&(d<c||d===c&&(r.x>u.x||r.x===u.x&&Bw(u,r)))&&(u=r,c=d)),r=r.next;while(r!==h);return u}function Bw(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function Uw(t,e,r,n){var i=t;do i.z===0&&(i.z=xu(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,$w(i)}function $w(t){var e,r,n,i,a,u,l,h,p=1;do{for(r=t,t=null,a=null,u=0;r;){for(u++,n=r,l=0,e=0;e<p&&(l++,n=n.nextZ,!!n);e++);for(h=p;l>0||h>0&&n;)l!==0&&(h===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,h--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,p*=2}while(u>1);return t}function xu(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function Gw(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ui(t,e,r,n,i,a,u,l){return(i-u)*(e-l)>=(t-u)*(a-l)&&(t-u)*(n-l)>=(r-u)*(e-l)&&(r-u)*(a-l)>=(i-u)*(n-l)}function Hw(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!zw(t,e)&&(is(t,e)&&is(e,t)&&Vw(t,e)&&(ot(t.prev,t,e.prev)||ot(t,e.prev,e))||sa(t,e)&&ot(t.prev,t,t.next)>0&&ot(e.prev,e,e.next)>0)}function ot(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function sa(t,e){return t.x===e.x&&t.y===e.y}function Mf(t,e,r,n){var i=oa(ot(t,e,r)),a=oa(ot(t,e,n)),u=oa(ot(r,n,t)),l=oa(ot(r,n,e));return!!(i!==a&&u!==l||i===0&&aa(t,r,e)||a===0&&aa(t,n,e)||u===0&&aa(r,t,n)||l===0&&aa(r,e,n))}function aa(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function oa(t){return t>0?1:t<0?-1:0}function zw(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&Mf(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function is(t,e){return ot(t.prev,t,t.next)<0?ot(t,e,t.next)>=0&&ot(t,t.prev,e)>=0:ot(t,e,t.prev)<0||ot(t,t.next,e)<0}function Vw(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function Of(t,e){var r=new bu(t.i,t.x,t.y),n=new bu(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function Ff(t,e,r,n){var i=new bu(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function ss(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function bu(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}ia.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,u=Math.abs(Tu(t,0,a,r));if(i)for(var l=0,h=e.length;l<h;l++){var p=e[l]*r,g=l<h-1?e[l+1]*r:t.length;u-=Math.abs(Tu(t,p,g,r))}var c=0;for(l=0;l<n.length;l+=3){var d=n[l]*r,m=n[l+1]*r,_=n[l+2]*r;c+=Math.abs((t[d]-t[_])*(t[m+1]-t[d+1])-(t[d]-t[m])*(t[_+1]-t[d+1]))}return u===0&&c===0?0:Math.abs((c-u)/u)};function Tu(t,e,r,n){for(var i=0,a=e,u=r-n;a<r;a+=n)i+=(t[u]-t[a])*(t[a+1]+t[u+1]),u=a;return i}ia.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var u=0;u<e;u++)r.vertices.push(t[i][a][u]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var jw=yu.exports;const Xw=bn(jw);var ua={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */ua.exports,function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a=typeof At=="object"&&At;(a.global===a||a.window===a||a.self===a)&&(r=a);var u,l=2147483647,h=36,p=1,g=26,c=38,d=700,m=72,_=128,y="-",b=/^xn--/,x=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=h-p,O=Math.floor,F=String.fromCharCode,N;function L(X){throw new RangeError(w[X])}function D(X,q){for(var ce=X.length,fe=[];ce--;)fe[ce]=q(X[ce]);return fe}function V(X,q){var ce=X.split("@"),fe="";ce.length>1&&(fe=ce[0]+"@",X=ce[1]),X=X.replace(E,".");var ge=X.split("."),ye=D(ge,q).join(".");return fe+ye}function K(X){for(var q=[],ce=0,fe=X.length,ge,ye;ce<fe;)ge=X.charCodeAt(ce++),ge>=55296&&ge<=56319&&ce<fe?(ye=X.charCodeAt(ce++),(ye&64512)==56320?q.push(((ge&1023)<<10)+(ye&1023)+65536):(q.push(ge),ce--)):q.push(ge);return q}function ae(X){return D(X,function(q){var ce="";return q>65535&&(q-=65536,ce+=F(q>>>10&1023|55296),q=56320|q&1023),ce+=F(q),ce}).join("")}function j(X){return X-48<10?X-22:X-65<26?X-65:X-97<26?X-97:h}function G(X,q){return X+22+75*(X<26)-((q!=0)<<5)}function se(X,q,ce){var fe=0;for(X=ce?O(X/d):X>>1,X+=O(X/q);X>I*g>>1;fe+=h)X=O(X/I);return O(fe+(I+1)*X/(X+c))}function ie(X){var q=[],ce=X.length,fe,ge=0,ye=_,we=m,De,Ue,Fe,be,Ie,ze,et,Ee,ve;for(De=X.lastIndexOf(y),De<0&&(De=0),Ue=0;Ue<De;++Ue)X.charCodeAt(Ue)>=128&&L("not-basic"),q.push(X.charCodeAt(Ue));for(Fe=De>0?De+1:0;Fe<ce;){for(be=ge,Ie=1,ze=h;Fe>=ce&&L("invalid-input"),et=j(X.charCodeAt(Fe++)),(et>=h||et>O((l-ge)/Ie))&&L("overflow"),ge+=et*Ie,Ee=ze<=we?p:ze>=we+g?g:ze-we,!(et<Ee);ze+=h)ve=h-Ee,Ie>O(l/ve)&&L("overflow"),Ie*=ve;fe=q.length+1,we=se(ge-be,fe,be==0),O(ge/fe)>l-ye&&L("overflow"),ye+=O(ge/fe),ge%=fe,q.splice(ge++,0,ye)}return ae(q)}function H(X){var q,ce,fe,ge,ye,we,De,Ue,Fe,be,Ie,ze=[],et,Ee,ve,st;for(X=K(X),et=X.length,q=_,ce=0,ye=m,we=0;we<et;++we)Ie=X[we],Ie<128&&ze.push(F(Ie));for(fe=ge=ze.length,ge&&ze.push(y);fe<et;){for(De=l,we=0;we<et;++we)Ie=X[we],Ie>=q&&Ie<De&&(De=Ie);for(Ee=fe+1,De-q>O((l-ce)/Ee)&&L("overflow"),ce+=(De-q)*Ee,q=De,we=0;we<et;++we)if(Ie=X[we],Ie<q&&++ce>l&&L("overflow"),Ie==q){for(Ue=ce,Fe=h;be=Fe<=ye?p:Fe>=ye+g?g:Fe-ye,!(Ue<be);Fe+=h)st=Ue-be,ve=h-be,ze.push(F(G(be+st%ve,0))),Ue=O(st/ve);ze.push(F(G(Ue,0))),ye=se(ce,Ee,fe==ge),ce=0,++fe}++ce,++q}return ze.join("")}function J(X){return V(X,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(X){return V(X,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:K,encode:ae},decode:ie,encode:H,toASCII:pe,toUnicode:J},n&&i)if(t.exports==n)i.exports=u;else for(N in u)u.hasOwnProperty(N)&&(n[N]=u[N]);else r.punycode=u})(At)}(ua,ua.exports);var Ww=ua.exports,qw=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},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 i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0},Nf=typeof Symbol<"u"&&Symbol,Yw=qw,Kw=function(){return typeof Nf!="function"||typeof Symbol!="function"||typeof Nf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Yw()},Lf={foo:{}},Zw=Object,Qw=function(){return{__proto__:Lf}.foo===Lf.foo&&!({__proto__:null}instanceof Zw)},Jw="Function.prototype.bind called on incompatible ",wu=Array.prototype.slice,eS=Object.prototype.toString,tS="[object Function]",rS=function(e){var r=this;if(typeof r!="function"||eS.call(r)!==tS)throw new TypeError(Jw+r);for(var n=wu.call(arguments,1),i,a=function(){if(this instanceof i){var g=r.apply(this,n.concat(wu.call(arguments)));return Object(g)===g?g:this}else return r.apply(e,n.concat(wu.call(arguments)))},u=Math.max(0,r.length-n.length),l=[],h=0;h<u;h++)l.push("$"+h);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i},nS=rS,Su=Function.prototype.bind||nS,iS=Su,sS=iS.call(Function.call,Object.prototype.hasOwnProperty),Pe,li=SyntaxError,kf=Function,ci=TypeError,Au=function(t){try{return kf('"use strict"; return ('+t+").constructor;")()}catch{}},In=Object.getOwnPropertyDescriptor;if(In)try{In({},"")}catch{In=null}var Eu=function(){throw new ci},aS=In?function(){try{return arguments.callee,Eu}catch{try{return In(arguments,"callee").get}catch{return Eu}}}():Eu,hi=Kw(),oS=Qw(),bt=Object.getPrototypeOf||(oS?function(t){return t.__proto__}:null),fi={},uS=typeof Uint8Array>"u"||!bt?Pe:bt(Uint8Array),Rn={"%AggregateError%":typeof AggregateError>"u"?Pe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Pe:ArrayBuffer,"%ArrayIteratorPrototype%":hi&&bt?bt([][Symbol.iterator]()):Pe,"%AsyncFromSyncIteratorPrototype%":Pe,"%AsyncFunction%":fi,"%AsyncGenerator%":fi,"%AsyncGeneratorFunction%":fi,"%AsyncIteratorPrototype%":fi,"%Atomics%":typeof Atomics>"u"?Pe:Atomics,"%BigInt%":typeof BigInt>"u"?Pe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Pe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Pe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Pe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Pe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Pe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Pe:FinalizationRegistry,"%Function%":kf,"%GeneratorFunction%":fi,"%Int8Array%":typeof Int8Array>"u"?Pe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Pe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Pe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hi&&bt?bt(bt([][Symbol.iterator]())):Pe,"%JSON%":typeof JSON=="object"?JSON:Pe,"%Map%":typeof Map>"u"?Pe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hi||!bt?Pe:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Pe:Promise,"%Proxy%":typeof Proxy>"u"?Pe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Pe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Pe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hi||!bt?Pe:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Pe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hi&&bt?bt(""[Symbol.iterator]()):Pe,"%Symbol%":hi?Symbol:Pe,"%SyntaxError%":li,"%ThrowTypeError%":aS,"%TypedArray%":uS,"%TypeError%":ci,"%Uint8Array%":typeof Uint8Array>"u"?Pe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Pe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Pe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Pe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Pe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Pe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Pe:WeakSet};if(bt)try{null.error}catch(t){var lS=bt(bt(t));Rn["%Error.prototype%"]=lS}var cS=function t(e){var r;if(e==="%AsyncFunction%")r=Au("async function () {}");else if(e==="%GeneratorFunction%")r=Au("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Au("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&bt&&(r=bt(i.prototype))}return Rn[e]=r,r},Df={"%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"]},as=Su,la=sS,hS=as.call(Function.call,Array.prototype.concat),fS=as.call(Function.apply,Array.prototype.splice),Bf=as.call(Function.call,String.prototype.replace),ca=as.call(Function.call,String.prototype.slice),dS=as.call(Function.call,RegExp.prototype.exec),pS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gS=/\\(\\)?/g,mS=function(e){var r=ca(e,0,1),n=ca(e,-1);if(r==="%"&&n!=="%")throw new li("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new li("invalid intrinsic syntax, expected opening `%`");var i=[];return Bf(e,pS,function(a,u,l,h){i[i.length]=l?Bf(h,gS,"$1"):u||a}),i},vS=function(e,r){var n=e,i;if(la(Df,n)&&(i=Df[n],n="%"+i[0]+"%"),la(Rn,n)){var a=Rn[n];if(a===fi&&(a=cS(n)),typeof a>"u"&&!r)throw new ci("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new li("intrinsic "+e+" does not exist!")},Cu=function(e,r){if(typeof e!="string"||e.length===0)throw new ci("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ci('"allowMissing" argument must be a boolean');if(dS(/^%?[^%]*%?$/,e)===null)throw new li("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=mS(e),i=n.length>0?n[0]:"",a=vS("%"+i+"%",r),u=a.name,l=a.value,h=!1,p=a.alias;p&&(i=p[0],fS(n,hS([0,1],p)));for(var g=1,c=!0;g<n.length;g+=1){var d=n[g],m=ca(d,0,1),_=ca(d,-1);if((m==='"'||m==="'"||m==="`"||_==='"'||_==="'"||_==="`")&&m!==_)throw new li("property names with quotes must have matching quotes");if((d==="constructor"||!c)&&(h=!0),i+="."+d,u="%"+i+"%",la(Rn,u))l=Rn[u];else if(l!=null){if(!(d in l)){if(!r)throw new ci("base intrinsic for "+e+" exists, but the property is not available.");return}if(In&&g+1>=n.length){var y=In(l,d);c=!!y,c&&"get"in y&&!("originalValue"in y.get)?l=y.get:l=l[d]}else c=la(l,d),l=l[d];c&&!h&&(Rn[u]=l)}}return l},Uf={exports:{}};(function(t){var e=Su,r=Cu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(i,n),u=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(c){var d=a(e,i,arguments);if(u&&l){var m=u(d,"length");m.configurable&&l(d,"length",{value:1+h(0,c.length-(arguments.length-1))})}return d};var p=function(){return a(e,n,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p})(Uf);var _S=Uf.exports,$f=Cu,Gf=_S,yS=Gf($f("String.prototype.indexOf")),xS=function(e,r){var n=$f(e,!!r);return typeof n=="function"&&yS(e,".prototype.")>-1?Gf(n):n};const bS=bv(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Iu=typeof Map=="function"&&Map.prototype,Ru=Object.getOwnPropertyDescriptor&&Iu?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ha=Iu&&Ru&&typeof Ru.get=="function"?Ru.get:null,Hf=Iu&&Map.prototype.forEach,Pu=typeof Set=="function"&&Set.prototype,Mu=Object.getOwnPropertyDescriptor&&Pu?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,fa=Pu&&Mu&&typeof Mu.get=="function"?Mu.get:null,zf=Pu&&Set.prototype.forEach,TS=typeof WeakMap=="function"&&WeakMap.prototype,os=TS?WeakMap.prototype.has:null,wS=typeof WeakSet=="function"&&WeakSet.prototype,us=wS?WeakSet.prototype.has:null,SS=typeof WeakRef=="function"&&WeakRef.prototype,Vf=SS?WeakRef.prototype.deref:null,AS=Boolean.prototype.valueOf,ES=Object.prototype.toString,CS=Function.prototype.toString,IS=String.prototype.match,Ou=String.prototype.slice,an=String.prototype.replace,RS=String.prototype.toUpperCase,jf=String.prototype.toLowerCase,Xf=RegExp.prototype.test,Wf=Array.prototype.concat,Or=Array.prototype.join,PS=Array.prototype.slice,qf=Math.floor,Fu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Nu=Object.getOwnPropertySymbols,Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,di=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Rt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===di||"symbol")?Symbol.toStringTag:null,Yf=Object.prototype.propertyIsEnumerable,Kf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Zf(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Xf.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-qf(-t):qf(t);if(n!==t){var i=String(n),a=Ou.call(e,i.length+1);return an.call(i,r,"$&_")+"."+an.call(an.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return an.call(e,r,"$&_")}var ku=bS,Qf=ku.custom,Jf=rd(Qf)?Qf:null,MS=function t(e,r,n,i){var a=r||{};if(on(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(on(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=on(a,"customInspect")?a.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(on(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(on(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return id(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var h=String(e);return l?Zf(e,h):h}if(typeof e=="bigint"){var p=String(e)+"n";return l?Zf(e,p):p}var g=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=g&&g>0&&typeof e=="object")return Du(e)?"[Array]":"[Object]";var c=YS(a,n);if(typeof i>"u")i=[];else if(nd(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=PS.call(i),i.push(G)),se){var ie={depth:a.depth};return on(a,"quoteStyle")&&(ie.quoteStyle=a.quoteStyle),t(j,ie,n+1,i)}return t(j,a,n+1,i)}if(typeof e=="function"&&!td(e)){var m=$S(e),_=da(e,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(_.length>0?" { "+Or.call(_,", ")+" }":"")}if(rd(e)){var y=di?an.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lu.call(e);return typeof e=="object"&&!di?ls(y):y}if(XS(e)){for(var b="<"+jf.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+ed(OS(x[E].value),"double",a);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+jf.call(String(e.nodeName))+">",b}if(Du(e)){if(e.length===0)return"[]";var w=da(e,d);return c&&!qS(w)?"["+Uu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(NS(e)){var I=da(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Yf.call(e,"cause")?"{ ["+String(e)+"] "+Or.call(Wf.call("[cause]: "+d(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Or.call(I,", ")+" }"}if(typeof e=="object"&&u){if(Jf&&typeof e[Jf]=="function"&&ku)return ku(e,{depth:g-n});if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(GS(e)){var O=[];return Hf&&Hf.call(e,function(j,G){O.push(d(G,e,!0)+" => "+d(j,e))}),sd("Map",ha.call(e),O,c)}if(VS(e)){var F=[];return zf&&zf.call(e,function(j){F.push(d(j,e))}),sd("Set",fa.call(e),F,c)}if(HS(e))return Bu("WeakMap");if(jS(e))return Bu("WeakSet");if(zS(e))return Bu("WeakRef");if(kS(e))return ls(d(Number(e)));if(BS(e))return ls(d(Fu.call(e)));if(DS(e))return ls(AS.call(e));if(LS(e))return ls(d(String(e)));if(!FS(e)&&!td(e)){var N=da(e,d),L=Kf?Kf(e)===Object.prototype:e instanceof Object||e.constructor===Object,D=e instanceof Object?"":"null prototype",V=!L&&Rt&&Object(e)===e&&Rt in e?Ou.call(un(e),8,-1):D?"Object":"",K=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=K+(V||D?"["+Or.call(Wf.call([],V||[],D||[]),": ")+"] ":"");return N.length===0?ae+"{}":c?ae+"{"+Uu(N,c)+"}":ae+"{ "+Or.call(N,", ")+" }"}return String(e)};function ed(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function OS(t){return an.call(String(t),/"/g,""")}function Du(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function FS(t){return un(t)==="[object Date]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function td(t){return un(t)==="[object RegExp]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function NS(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function LS(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kS(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function DS(t){return un(t)==="[object Boolean]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function rd(t){if(di)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Lu)return!1;try{return Lu.call(t),!0}catch{}return!1}function BS(t){if(!t||typeof t!="object"||!Fu)return!1;try{return Fu.call(t),!0}catch{}return!1}var US=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return US.call(t,e)}function un(t){return ES.call(t)}function $S(t){if(t.name)return t.name;var e=IS.call(CS.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nd(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function GS(t){if(!ha||!t||typeof t!="object")return!1;try{ha.call(t);try{fa.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function HS(t){if(!os||!t||typeof t!="object")return!1;try{os.call(t,os);try{us.call(t,us)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function zS(t){if(!Vf||!t||typeof t!="object")return!1;try{return Vf.call(t),!0}catch{}return!1}function VS(t){if(!fa||!t||typeof t!="object")return!1;try{fa.call(t);try{ha.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function jS(t){if(!us||!t||typeof t!="object")return!1;try{us.call(t,us);try{os.call(t,os)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function XS(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function id(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return id(Ou.call(t,0,e.maxStringLength),e)+n}var i=an.call(an.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,WS);return ed(i,"single",e)}function WS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+RS.call(e.toString(16))}function ls(t){return"Object("+t+")"}function Bu(t){return t+" { ? }"}function sd(t,e,r,n){var i=n?Uu(r,n):Or.call(r,", ");return t+" ("+e+") {"+i+"}"}function qS(t){for(var e=0;e<t.length;e++)if(nd(t[e],`
|
|
25
|
+
*/var Ut,df,pf=function(){return Ut||typeof window<"u"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},gf=function(){Ut=pf(),Ut?(Ut.registerEase("_CE",ts.create),df=1):console.warn("Please gsap.registerPlugin(CustomEase)")},xw=1e20,ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},bw=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Tw=/[cLlsSaAhHvVtTqQ]/g,ww=function(e){var r=e.length,n=xw,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Sw=function(e,r,n){!n&&n!==0&&(n=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,a=-n,u=e.length,l=1/(+e[u-2]+i),h=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?ww(e)+a:+e[u-1]+a),p;for(h?h=1/h:h=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*h},Aw=function t(e,r,n,i,a,u,l,h,p,g,c){var d=(e+n)/2,m=(r+i)/2,_=(n+a)/2,y=(i+u)/2,b=(a+l)/2,x=(u+h)/2,E=(d+_)/2,w=(m+y)/2,I=(_+b)/2,O=(y+x)/2,F=(E+I)/2,N=(w+O)/2,L=l-e,D=h-r,V=Math.abs((n-l)*D-(i-h)*L),K=Math.abs((a-l)*D-(u-h)*L),ae;return g||(g=[{x:e,y:r},{x:l,y:h}],c=1),g.splice(c||g.length-1,0,{x:F,y:N}),(V+K)*(V+K)>p*(L*L+D*D)&&(ae=g.length,t(e,r,d,m,E,w,F,N,p,g,c),t(F,N,I,O,b,x,l,h,p,g,c+1+(g.length-ae))),g},ts=function(){function t(r,n,i){df||gf(),this.id=r,this.setData(n,i)}var e=t.prototype;return e.setData=function(n,i){i=i||{},n=n||"0,0,1,1";var a=n.match(bw),u=1,l=[],h=[],p=i.precision||1,g=p<=1,c,d,m,_,y,b,x,E,w;if(this.data=n,(Tw.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=_w(n)[0]),c=a.length,c===4)a.unshift(0,0),a.push(1,1),c=8;else if((c-2)%6)throw"Invalid CustomEase";for((+a[0]!=0||+a[c-2]!=1)&&Sw(a,i.height,i.originY),this.segment=a,_=2;_<c;_+=6)d={x:+a[_-2],y:+a[_-1]},m={x:+a[_+4],y:+a[_+5]},l.push(d,m),Aw(d.x,d.y,+a[_],+a[_+1],+a[_+2],+a[_+3],m.x,m.y,1/(p*2e5),l,l.length-1);for(c=l.length,_=0;_<c;_++)x=l[_],E=l[_-1]||x,(x.x>E.x||E.y!==x.y&&E.x===x.x||x===E)&&x.x<=1?(E.cx=x.x-E.x,E.cy=x.y-E.y,E.n=x,E.nx=x.x,g&&_>1&&Math.abs(E.cy/E.cx-l[_-2].cy/l[_-2].cx)>2&&(g=0),E.cx<u&&(E.cx?u=E.cx:(E.cx=.001,_===c-1&&(E.x-=.001,u=Math.min(u,.001),g=0)))):(l.splice(_--,1),c--);if(c=1/u+1|0,y=1/c,b=0,x=l[0],g){for(_=0;_<c;_++)w=_*y,x.nx<w&&(x=l[++b]),d=x.y+(w-x.x)/x.cx*x.cy,h[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(h[_-1].cy=d-h[_-1].y);h[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),h[_]=x;b<l.length-1&&(h[_-1]=l[l.length-2])}return this.ease=function(I){var O=h[I*c|0]||h[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&Ut&&Ut.registerEase(this.id,this.ease),this},e.getSVGData=function(n){return t.getSVGData(this,n)},t.create=function(n,i,a){return new t(n,i,a).ease},t.register=function(n){Ut=n,gf()},t.get=function(n){return Ut.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,h=(i.y||0)+u,p=Ut.utils.toArray(i.path)[0],g,c,d,m,_,y,b,x,E,w;if(i.invert&&(u=-u,h=0),typeof n=="string"&&(n=Ut.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)g=yw(mw([n.segment],a,0,0,-u,l,h));else{for(g=[l,h],b=Math.max(5,(i.precision||1)*200),m=1/b,b+=2,x=5/b,E=ta(l+m*a),w=ta(h+n(m)*-u),c=(w-h)/(E-l),d=2;d<b;d++)_=ta(l+d*m*a),y=ta(h+n(d*m)*-u),(Math.abs((y-w)/(_-E)-c)>x||d===b-1)&&(g.push(E,w),c=(y-w)/(_-E)),E=_,w=y;g="M"+g.join(",")}return p&&p.setAttribute("d",g),g},t}();pf()&&Ut.registerPlugin(ts),ts.version="3.11.5",ee.registerPlugin(ts),ts.create("springBounce","0.32, 1.06, 0.61, 0.93"),ee.registerEffect({name:"PULSE",effect(t,e){return ee.timeline().fromTo(t,{width:(e==null?void 0:e.width)*.9,height:(e==null?void 0:e.height)*.9},{width:(e==null?void 0:e.width)*1.1,height:(e==null?void 0:e.height)*1.1,duration:.5,ease:"slow"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SHAKE",effect(t,e){return ee.timeline().to(t,{duration:.1,x:"+=5"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=10"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=5"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SWING",effect(t,e){return ee.timeline().to(t,{duration:.5,rotation:1}).to(t,{duration:.5,rotation:-1}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"JELLO",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,rotation:-1}).to(t,{duration:.4,width:e.width*1.2,rotation:1}).to(t,{duration:.3,width:e.width,rotation:0}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"WOOBLE",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,x:e.x*-.5}).to(t,{duration:.3,width:e.width*1.5,x:e.x*1.5}).to(t,{duration:.3,width:e.width*.5,x:e.x*-.01}).to(t,{duration:.3,width:e.width,x:e.x}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"NONE",effect(t,e){return ee.to(t,{duration:0})}}),ee.registerEffect({name:"FLASH",effect(t,e){return ee.timeline().to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1,...e})}}),ee.registerEffect({name:"BOUNCE_IN",effect(t,e){return ee.from(t,{...e,duration:2,width:(e==null?void 0:e.width)*1.5,height:(e==null?void 0:e.height)*1.5,ease:"bounce.out"})}}),ee.registerEffect({name:"BOUNCE_IN_DOWN",effect(t,e){return ee.from(t,{...e,duration:2,ease:"bounce.out",y:-1500,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_LEFT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:-1500,duration:2,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_RIGHT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_IN_UP",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",y:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_OUT",effect(t,e){return ee.from(t,{...e,ease:"bounce.in",y:2e3,duration:1.5})}}),ee.registerEffect({name:"FADE_IN",effect(t,e){return ee.fromTo(t,{alpha:0},{ease:"power4.in",alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_DOWN",effect(t,e){return ee.fromTo(t,{y:-1e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_LEFT",effect(t,e){return ee.fromTo(t,{x:-1e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_RIGHT",effect(t,e){return ee.fromTo(t,{x:2e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_UP",effect(t,e){return ee.fromTo(t,{y:2e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:.8,...e})}}),ee.registerEffect({name:"SPIN",effect(t){return ee.to(t,{rotation:(e,r)=>ee.utils.snap(360,Number(ee.getProperty(r,"rotation"))+360)})}});function Ew(t,e,r){const[n,i]=W.useState(ee.to(t,{duration:0}));return hw(()=>{ee.effects[e]&&t.current&&i(ee.effects[e](t.current,r))},[e,t,r]),n}var du=(t=>(t.NONE="NONE",t.FLASH="FLASH",t.PULSE="PULSE",t.SHAKE="SHAKE",t.SWING="SWING",t.JELLO="JELLO",t.WOOBLE="WOOBLE",t.FADE_IN="FADE_IN",t.FADE_OUT="FADE_OUT",t.FADE_IN_OUT="FADE_IN_OUT",t.SLIDE_IN_LEFT="SLIDE_IN_LEFT",t.SLIDE_IN_RIGHT="SLIDE_IN_RIGHT",t.SLIDE_IN_TOP="SLIDE_IN_TOP",t.SLIDE_IN_BOTTOM="SLIDE_IN_BOTTOM",t.SLIDE_OUT_LEFT="SLIDE_OUT_LEFT",t.SLIDE_OUT_RIGHT="SLIDE_OUT_RIGHT",t.SLIDE_OUT_TOP="SLIDE_OUT_TOP",t.SLIDE_OUT_BOTTOM="SLIDE_OUT_BOTTOM",t.ZOOM_IN="ZOOM_IN",t.ZOOM_OUT="ZOOM_OUT",t.ZOOM_IN_OUT="ZOOM_IN_OUT",t.BOUNCE_IN="BOUNCE_IN",t.BOUNCE_OUT="BOUNCE_OUT",t.BOUNCE_IN_OUT="BOUNCE_IN_OUT",t.BOUNCE_IN_DOWN="BOUNCE_IN_DOWN",t.BOUNCE_IN_LEFT="BOUNCE_IN_LEFT",t.BOUNCE_IN_RIGHT="BOUNCE_IN_RIGHT",t.BOUNCE_IN_UP="BOUNCE_IN_UP",t.BOUNCE_OUT_DOWN="BOUNCE_OUT_DOWN",t.BOUNCE_OUT_LEFT="BOUNCE_OUT_LEFT",t.BOUNCE_OUT_RIGHT="BOUNCE_OUT_RIGHT",t.BOUNCE_OUT_UP="BOUNCE_OUT_UP",t.FADE_IN_DOWN="FADE_IN_DOWN",t.FADE_IN_LEFT="FADE_IN_LEFT",t.FADE_IN_RIGHT="FADE_IN_RIGHT",t.FADE_IN_UP="FADE_IN_UP",t.FADE_OUT_DOWN="FADE_OUT_DOWN",t.FADE_OUT_LEFT="FADE_OUT_LEFT",t.FADE_OUT_RIGHT="FADE_OUT_RIGHT",t.FADE_OUT_UP="FADE_OUT_UP",t.ELASTIC_IN="ELASTIC_IN",t.ELASTIC_OUT="ELASTIC_OUT",t.ELASTIC_IN_OUT="ELASTIC_IN_OUT",t.BACK_IN="BACK_IN",t.BACK_OUT="BACK_OUT",t.BACK_IN_OUT="BACK_IN_OUT",t.CIRCULAR_IN="CIRCULAR_IN",t.CIRCULAR_OUT="CIRCULAR_OUT",t.CIRCULAR_IN_OUT="CIRCULAR_IN_OUT",t.EXPO_IN="EXPO_IN",t.EXPO_OUT="EXPO_OUT",t.EXPO_IN_OUT="EXPO_IN_OUT",t.SINE_IN="SINE_IN",t.SINE_OUT="SINE_OUT",t.SINE_IN_OUT="SINE_IN_OUT",t.BOUNCE="BOUNCE",t.ELASTIC="ELASTIC",t.BACK="BACK",t.CIRCULAR="CIRCULAR",t.EXPO="EXPO",t.SINE="SINE",t))(du||{});const Cw=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],rn=te.forwardRef((t,e)=>{var ye,we,De,Ue;const[r,n]=te.useState(!1),[i,a]=W.useState(!1),[u,l]=W.useState(!1),h=W.useRef(null),p=W.useRef(null),g=W.useRef(null),c=W.useRef(null),d=W.useRef(null),{tl:m}=W.useContext(en),{uniqueId:_,visible:y,startAt:b,transformation:{x,y:E,width:w,height:I,scale:O=[1,1],rotation:F=0,effect:N,overlay:L,animation:D=du.NONE},applyTransformer:V,disabled:K,pointerdown:ae,pointerout:j,pointerover:G,isText:se,isDragging:ie,isGif:H,onDoubleClick:J,isTextEditMode:pe}=t,X=Ew(h,D,{x,y:E,width:w,height:I,overwrite:!0});ht(Ke.COMPLETE,()=>{h.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>(h.current&&n(!0),()=>{n(!1),h.current=null}),[]),te.useEffect(()=>(m.current&&(d.current&&m.current.remove(d.current),d.current=X),()=>{m.current&&(m.current.remove(X),X.progress(0).kill())}),[b,,X]);const q=te.useCallback(()=>{l(!0),G&&G()},[]),ce=te.useCallback(()=>{a(!0)},[]),fe=te.useCallback(Fe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(Fe),a(!1)},[]),ge=$e.withFilters($e.Container,{matrix:jt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(ye=h.current)==null?void 0:ye.x,(we=h.current)==null?void 0:we.y,x,E,"imagegroup",(De=g.current)==null?void 0:De.x,(Ue=g.current)==null?void 0:Ue.y),Ae.jsxs($e.Container,{ref:p,children:[Ae.jsxs($e.Container,{ref:h,position:[x,E],pivot:[x,E],width:w,height:I,scale:O,rotation:F,...!K&&y&&!i&&!ie&&{interactive:!0,buttonMode:!0,pointerdown:ae,pointerover:G,pointerout:j},children:[!H&&Ae.jsx(ge,{scale:1,apply:({matrix:Fe})=>{N===Tn.BlackAndWhite?Fe.desaturate():N===Tn.Sepia?Fe.sepia():N===Tn.RetroVintage||N===Tn.NightVision?Fe.negative():N===Tn.Normal&&Fe.reset()},matrix:{enabled:!0,matrix:Cw},children:Ae.jsx($e.Container,{ref:g,children:t.children})}),H&&Ae.jsx($e.Container,{ref:g,children:t.children}),!Qi(L)&&L!==ou.NONE&&L!==ou.NORMAL&&Ae.jsx(Ex,{overlay:L,width:w,height:I,x,y:E})]}),V&&y&&!pe&&Ae.jsx(Pv,{pixiTransformerRef:c,imageRef:h,isMounted:r,transformCommit:fe,transformChange:ce,mouseoverEvent:q,uniqueId:_,isText:se,onDoubleClick:J})]})});rn.whyDidYouRender={logOnDifferentValues:!0,customName:"AbstractContainer"};var Sn=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(Sn||{}),mf=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(mf||{}),pu=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(pu||{}),de=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(de||{}),nn=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(nn||{}),Z=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(Z||{}),si=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(si||{}),Ge=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Ge||{}),gu=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(gu||{}),Pr=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Pr||{}),rs=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(rs||{}),An=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(An||{}),sn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(sn||{}),En=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(En||{}),mu=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(mu||{}),tr=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(tr||{}),_t=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(_t||{}),vt=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(vt||{}),Mr=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(Mr||{});const Ce={ADAPTER:{createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var vu=/iPhone/i,vf=/iPod/i,_f=/iPad/i,yf=/\biOS-universal(?:.+)Mac\b/i,_u=/\bAndroid(?:.+)Mobile\b/i,xf=/Android/i,ai=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,ra=/Silk/i,Ur=/Windows Phone/i,bf=/\bWindows(?:.+)ARM\b/i,Tf=/BlackBerry/i,wf=/BB10/i,Sf=/Opera Mini/i,Af=/\b(CriOS|Chrome)(?:.+)Mobile/i,Ef=/Mobile(?:.+)Firefox\b/i,Cf=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function Iw(t){return function(e){return e.test(t)}}function If(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=Iw(r),a={apple:{phone:i(vu)&&!i(Ur),ipod:i(vf),tablet:!i(vu)&&(i(_f)||Cf(e))&&!i(Ur),universal:i(yf),device:(i(vu)||i(vf)||i(_f)||i(yf)||Cf(e))&&!i(Ur)},amazon:{phone:i(ai),tablet:!i(ai)&&i(ra),device:i(ai)||i(ra)},android:{phone:!i(Ur)&&i(ai)||!i(Ur)&&i(_u),tablet:!i(Ur)&&!i(ai)&&!i(_u)&&(i(ra)||i(xf)),device:!i(Ur)&&(i(ai)||i(ra)||i(_u)||i(xf))||i(/\bokhttp\b/i)},windows:{phone:i(Ur),tablet:i(bf),device:i(Ur)||i(bf)},other:{blackberry:i(Tf),blackberry10:i(wf),opera:i(Sf),firefox:i(Ef),chrome:i(Af),device:i(Tf)||i(wf)||i(Sf)||i(Ef)||i(Af)},any:!1,phone:!1,tablet:!1};return a.any=a.apple.device||a.android.device||a.windows.device||a.other.device,a.phone=a.apple.phone||a.android.phone||a.windows.phone,a.tablet=a.apple.tablet||a.android.tablet||a.windows.tablet,a}const oi=(If.default??If)(globalThis.navigator);Ce.RETINA_PREFIX=/@([0-9\.]+)x/,Ce.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var Rf={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(h,p,g){this.fn=h,this.context=p,this.once=g||!1}function a(h,p,g,c,d){if(typeof g!="function")throw new TypeError("The listener must be a function");var m=new i(g,c||h,d),_=r?r+p:p;return h._events[_]?h._events[_].fn?h._events[_]=[h._events[_],m]:h._events[_].push(m):(h._events[_]=m,h._eventsCount++),h}function u(h,p){--h._eventsCount===0?h._events=new n:delete h._events[p]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var p=[],g,c;if(this._eventsCount===0)return p;for(c in g=this._events)e.call(g,c)&&p.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(g)):p},l.prototype.listeners=function(p){var g=r?r+p:p,c=this._events[g];if(!c)return[];if(c.fn)return[c.fn];for(var d=0,m=c.length,_=new Array(m);d<m;d++)_[d]=c[d].fn;return _},l.prototype.listenerCount=function(p){var g=r?r+p:p,c=this._events[g];return c?c.fn?1:c.length:0},l.prototype.emit=function(p,g,c,d,m,_){var y=r?r+p:p;if(!this._events[y])return!1;var b=this._events[y],x=arguments.length,E,w;if(b.fn){switch(b.once&&this.removeListener(p,b.fn,void 0,!0),x){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,g),!0;case 3:return b.fn.call(b.context,g,c),!0;case 4:return b.fn.call(b.context,g,c,d),!0;case 5:return b.fn.call(b.context,g,c,d,m),!0;case 6:return b.fn.call(b.context,g,c,d,m,_),!0}for(w=1,E=new Array(x-1);w<x;w++)E[w-1]=arguments[w];b.fn.apply(b.context,E)}else{var I=b.length,O;for(w=0;w<I;w++)switch(b[w].once&&this.removeListener(p,b[w].fn,void 0,!0),x){case 1:b[w].fn.call(b[w].context);break;case 2:b[w].fn.call(b[w].context,g);break;case 3:b[w].fn.call(b[w].context,g,c);break;case 4:b[w].fn.call(b[w].context,g,c,d);break;default:if(!E)for(O=1,E=new Array(x-1);O<x;O++)E[O-1]=arguments[O];b[w].fn.apply(b[w].context,E)}}return!0},l.prototype.on=function(p,g,c){return a(this,p,g,c,!1)},l.prototype.once=function(p,g,c){return a(this,p,g,c,!0)},l.prototype.removeListener=function(p,g,c,d){var m=r?r+p:p;if(!this._events[m])return this;if(!g)return u(this,m),this;var _=this._events[m];if(_.fn)_.fn===g&&(!d||_.once)&&(!c||_.context===c)&&u(this,m);else{for(var y=0,b=[],x=_.length;y<x;y++)(_[y].fn!==g||d&&!_[y].once||c&&_[y].context!==c)&&b.push(_[y]);b.length?this._events[m]=b.length===1?b[0]:b:u(this,m)}return this},l.prototype.removeAllListeners=function(p){var g;return p?(g=r?r+p:p,this._events[g]&&u(this,g)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(Rf);var Rw=Rf.exports;const na=bn(Rw);var yu={exports:{}};yu.exports=ia,yu.exports.default=ia;function ia(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,a=Pf(t,0,i,r,!0),u=[];if(!a||a.next===a.prev)return u;var l,h,p,g,c,d,m;if(n&&(a=Nw(t,e,a,r)),t.length>80*r){l=p=t[0],h=g=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<h&&(h=d),c>p&&(p=c),d>g&&(g=d);m=Math.max(p-l,g-h),m=m!==0?32767/m:0}return ns(a,u,r,l,h,m,0),u}function Pf(t,e,r,n,i){var a,u;if(i===Tu(t,e,r,n)>0)for(a=e;a<r;a+=n)u=Ff(a,t[a],t[a+1],u);else for(a=r-n;a>=e;a-=n)u=Ff(a,t[a],t[a+1],u);return u&&sa(u,u.next)&&(ss(u),u=u.next),u}function Cn(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(sa(r,r.next)||ot(r.prev,r,r.next)===0)){if(ss(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function ns(t,e,r,n,i,a,u){if(t){!u&&a&&Uw(t,n,i,a);for(var l=t,h,p;t.prev!==t.next;){if(h=t.prev,p=t.next,a?Mw(t,n,i,a):Pw(t)){e.push(h.i/r|0),e.push(t.i/r|0),e.push(p.i/r|0),ss(t),t=p.next,l=p.next;continue}if(t=p,t===l){u?u===1?(t=Ow(Cn(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&Fw(t,e,r,n,i,a):ns(Cn(t),e,r,n,i,a,1);break}}}}function Pw(t){var e=t.prev,r=t,n=t.next;if(ot(e,r,n)>=0)return!1;for(var i=e.x,a=r.x,u=n.x,l=e.y,h=r.y,p=n.y,g=i<a?i<u?i:u:a<u?a:u,c=l<h?l<p?l:p:h<p?h:p,d=i>a?i>u?i:u:a>u?a:u,m=l>h?l>p?l:p:h>p?h:p,_=n.next;_!==e;){if(_.x>=g&&_.x<=d&&_.y>=c&&_.y<=m&&ui(i,l,a,h,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Mw(t,e,r,n){var i=t.prev,a=t,u=t.next;if(ot(i,a,u)>=0)return!1;for(var l=i.x,h=a.x,p=u.x,g=i.y,c=a.y,d=u.y,m=l<h?l<p?l:p:h<p?h:p,_=g<c?g<d?g:d:c<d?c:d,y=l>h?l>p?l:p:h>p?h:p,b=g>c?g>d?g:d:c>d?c:d,x=xu(m,_,e,r,n),E=xu(y,b,e,r,n),w=t.prevZ,I=t.nextZ;w&&w.z>=x&&I&&I.z<=E;){if(w.x>=m&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ui(l,g,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0||(w=w.prevZ,I.x>=m&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ui(l,g,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0))return!1;I=I.nextZ}for(;w&&w.z>=x;){if(w.x>=m&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ui(l,g,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;I&&I.z<=E;){if(I.x>=m&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ui(l,g,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Ow(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!sa(i,a)&&Mf(i,n,n.next,a)&&is(i,a)&&is(a,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(a.i/r|0),ss(n),ss(n.next),n=t=a),n=n.next}while(n!==t);return Cn(n)}function Fw(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&Hw(u,l)){var h=Of(u,l);u=Cn(u,u.next),h=Cn(h,h.next),ns(u,e,r,n,i,a,0),ns(h,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Nw(t,e,r,n){var i=[],a,u,l,h,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,h=a<u-1?e[a+1]*n:t.length,p=Pf(t,l,h,n,!1),p===p.next&&(p.steiner=!0),i.push(Gw(p));for(i.sort(Lw),a=0;a<i.length;a++)r=kw(i[a],r);return r}function Lw(t,e){return t.x-e.x}function kw(t,e){var r=Dw(t,e);if(!r)return e;var n=Of(r,t);return Cn(n,n.next),Cn(r,r.next)}function Dw(t,e){var r=e,n=t.x,i=t.y,a=-1/0,u;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a&&(a=l,u=r.x<r.next.x?r:r.next,l===n))return u}r=r.next}while(r!==e);if(!u)return null;var h=u,p=u.x,g=u.y,c=1/0,d;r=u;do n>=r.x&&r.x>=p&&n!==r.x&&ui(i<g?n:a,i,p,g,i<g?a:n,i,r.x,r.y)&&(d=Math.abs(i-r.y)/(n-r.x),is(r,t)&&(d<c||d===c&&(r.x>u.x||r.x===u.x&&Bw(u,r)))&&(u=r,c=d)),r=r.next;while(r!==h);return u}function Bw(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function Uw(t,e,r,n){var i=t;do i.z===0&&(i.z=xu(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,$w(i)}function $w(t){var e,r,n,i,a,u,l,h,p=1;do{for(r=t,t=null,a=null,u=0;r;){for(u++,n=r,l=0,e=0;e<p&&(l++,n=n.nextZ,!!n);e++);for(h=p;l>0||h>0&&n;)l!==0&&(h===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,h--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,p*=2}while(u>1);return t}function xu(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function Gw(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ui(t,e,r,n,i,a,u,l){return(i-u)*(e-l)>=(t-u)*(a-l)&&(t-u)*(n-l)>=(r-u)*(e-l)&&(r-u)*(a-l)>=(i-u)*(n-l)}function Hw(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!zw(t,e)&&(is(t,e)&&is(e,t)&&Vw(t,e)&&(ot(t.prev,t,e.prev)||ot(t,e.prev,e))||sa(t,e)&&ot(t.prev,t,t.next)>0&&ot(e.prev,e,e.next)>0)}function ot(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function sa(t,e){return t.x===e.x&&t.y===e.y}function Mf(t,e,r,n){var i=oa(ot(t,e,r)),a=oa(ot(t,e,n)),u=oa(ot(r,n,t)),l=oa(ot(r,n,e));return!!(i!==a&&u!==l||i===0&&aa(t,r,e)||a===0&&aa(t,n,e)||u===0&&aa(r,t,n)||l===0&&aa(r,e,n))}function aa(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function oa(t){return t>0?1:t<0?-1:0}function zw(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&Mf(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function is(t,e){return ot(t.prev,t,t.next)<0?ot(t,e,t.next)>=0&&ot(t,t.prev,e)>=0:ot(t,e,t.prev)<0||ot(t,t.next,e)<0}function Vw(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function Of(t,e){var r=new bu(t.i,t.x,t.y),n=new bu(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function Ff(t,e,r,n){var i=new bu(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function ss(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function bu(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}ia.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,u=Math.abs(Tu(t,0,a,r));if(i)for(var l=0,h=e.length;l<h;l++){var p=e[l]*r,g=l<h-1?e[l+1]*r:t.length;u-=Math.abs(Tu(t,p,g,r))}var c=0;for(l=0;l<n.length;l+=3){var d=n[l]*r,m=n[l+1]*r,_=n[l+2]*r;c+=Math.abs((t[d]-t[_])*(t[m+1]-t[d+1])-(t[d]-t[m])*(t[_+1]-t[d+1]))}return u===0&&c===0?0:Math.abs((c-u)/u)};function Tu(t,e,r,n){for(var i=0,a=e,u=r-n;a<r;a+=n)i+=(t[u]-t[a])*(t[a+1]+t[u+1]),u=a;return i}ia.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var u=0;u<e;u++)r.vertices.push(t[i][a][u]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var jw=yu.exports;const Xw=bn(jw);var ua={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */ua.exports,function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a=typeof At=="object"&&At;(a.global===a||a.window===a||a.self===a)&&(r=a);var u,l=2147483647,h=36,p=1,g=26,c=38,d=700,m=72,_=128,y="-",b=/^xn--/,x=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=h-p,O=Math.floor,F=String.fromCharCode,N;function L(X){throw new RangeError(w[X])}function D(X,q){for(var ce=X.length,fe=[];ce--;)fe[ce]=q(X[ce]);return fe}function V(X,q){var ce=X.split("@"),fe="";ce.length>1&&(fe=ce[0]+"@",X=ce[1]),X=X.replace(E,".");var ge=X.split("."),ye=D(ge,q).join(".");return fe+ye}function K(X){for(var q=[],ce=0,fe=X.length,ge,ye;ce<fe;)ge=X.charCodeAt(ce++),ge>=55296&&ge<=56319&&ce<fe?(ye=X.charCodeAt(ce++),(ye&64512)==56320?q.push(((ge&1023)<<10)+(ye&1023)+65536):(q.push(ge),ce--)):q.push(ge);return q}function ae(X){return D(X,function(q){var ce="";return q>65535&&(q-=65536,ce+=F(q>>>10&1023|55296),q=56320|q&1023),ce+=F(q),ce}).join("")}function j(X){return X-48<10?X-22:X-65<26?X-65:X-97<26?X-97:h}function G(X,q){return X+22+75*(X<26)-((q!=0)<<5)}function se(X,q,ce){var fe=0;for(X=ce?O(X/d):X>>1,X+=O(X/q);X>I*g>>1;fe+=h)X=O(X/I);return O(fe+(I+1)*X/(X+c))}function ie(X){var q=[],ce=X.length,fe,ge=0,ye=_,we=m,De,Ue,Fe,be,Ie,ze,et,Ee,ve;for(De=X.lastIndexOf(y),De<0&&(De=0),Ue=0;Ue<De;++Ue)X.charCodeAt(Ue)>=128&&L("not-basic"),q.push(X.charCodeAt(Ue));for(Fe=De>0?De+1:0;Fe<ce;){for(be=ge,Ie=1,ze=h;Fe>=ce&&L("invalid-input"),et=j(X.charCodeAt(Fe++)),(et>=h||et>O((l-ge)/Ie))&&L("overflow"),ge+=et*Ie,Ee=ze<=we?p:ze>=we+g?g:ze-we,!(et<Ee);ze+=h)ve=h-Ee,Ie>O(l/ve)&&L("overflow"),Ie*=ve;fe=q.length+1,we=se(ge-be,fe,be==0),O(ge/fe)>l-ye&&L("overflow"),ye+=O(ge/fe),ge%=fe,q.splice(ge++,0,ye)}return ae(q)}function H(X){var q,ce,fe,ge,ye,we,De,Ue,Fe,be,Ie,ze=[],et,Ee,ve,st;for(X=K(X),et=X.length,q=_,ce=0,ye=m,we=0;we<et;++we)Ie=X[we],Ie<128&&ze.push(F(Ie));for(fe=ge=ze.length,ge&&ze.push(y);fe<et;){for(De=l,we=0;we<et;++we)Ie=X[we],Ie>=q&&Ie<De&&(De=Ie);for(Ee=fe+1,De-q>O((l-ce)/Ee)&&L("overflow"),ce+=(De-q)*Ee,q=De,we=0;we<et;++we)if(Ie=X[we],Ie<q&&++ce>l&&L("overflow"),Ie==q){for(Ue=ce,Fe=h;be=Fe<=ye?p:Fe>=ye+g?g:Fe-ye,!(Ue<be);Fe+=h)st=Ue-be,ve=h-be,ze.push(F(G(be+st%ve,0))),Ue=O(st/ve);ze.push(F(G(Ue,0))),ye=se(ce,Ee,fe==ge),ce=0,++fe}++ce,++q}return ze.join("")}function J(X){return V(X,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(X){return V(X,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:K,encode:ae},decode:ie,encode:H,toASCII:pe,toUnicode:J},n&&i)if(t.exports==n)i.exports=u;else for(N in u)u.hasOwnProperty(N)&&(n[N]=u[N]);else r.punycode=u})(At)}(ua,ua.exports);var Ww=ua.exports,qw=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},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 i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0},Nf=typeof Symbol<"u"&&Symbol,Yw=qw,Kw=function(){return typeof Nf!="function"||typeof Symbol!="function"||typeof Nf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Yw()},Lf={foo:{}},Zw=Object,Qw=function(){return{__proto__:Lf}.foo===Lf.foo&&!({__proto__:null}instanceof Zw)},Jw="Function.prototype.bind called on incompatible ",wu=Array.prototype.slice,eS=Object.prototype.toString,tS="[object Function]",rS=function(e){var r=this;if(typeof r!="function"||eS.call(r)!==tS)throw new TypeError(Jw+r);for(var n=wu.call(arguments,1),i,a=function(){if(this instanceof i){var g=r.apply(this,n.concat(wu.call(arguments)));return Object(g)===g?g:this}else return r.apply(e,n.concat(wu.call(arguments)))},u=Math.max(0,r.length-n.length),l=[],h=0;h<u;h++)l.push("$"+h);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i},nS=rS,Su=Function.prototype.bind||nS,iS=Su,sS=iS.call(Function.call,Object.prototype.hasOwnProperty),Pe,li=SyntaxError,kf=Function,ci=TypeError,Au=function(t){try{return kf('"use strict"; return ('+t+").constructor;")()}catch{}},In=Object.getOwnPropertyDescriptor;if(In)try{In({},"")}catch{In=null}var Eu=function(){throw new ci},aS=In?function(){try{return arguments.callee,Eu}catch{try{return In(arguments,"callee").get}catch{return Eu}}}():Eu,hi=Kw(),oS=Qw(),bt=Object.getPrototypeOf||(oS?function(t){return t.__proto__}:null),fi={},uS=typeof Uint8Array>"u"||!bt?Pe:bt(Uint8Array),Rn={"%AggregateError%":typeof AggregateError>"u"?Pe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Pe:ArrayBuffer,"%ArrayIteratorPrototype%":hi&&bt?bt([][Symbol.iterator]()):Pe,"%AsyncFromSyncIteratorPrototype%":Pe,"%AsyncFunction%":fi,"%AsyncGenerator%":fi,"%AsyncGeneratorFunction%":fi,"%AsyncIteratorPrototype%":fi,"%Atomics%":typeof Atomics>"u"?Pe:Atomics,"%BigInt%":typeof BigInt>"u"?Pe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Pe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Pe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Pe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Pe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Pe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Pe:FinalizationRegistry,"%Function%":kf,"%GeneratorFunction%":fi,"%Int8Array%":typeof Int8Array>"u"?Pe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Pe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Pe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hi&&bt?bt(bt([][Symbol.iterator]())):Pe,"%JSON%":typeof JSON=="object"?JSON:Pe,"%Map%":typeof Map>"u"?Pe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hi||!bt?Pe:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Pe:Promise,"%Proxy%":typeof Proxy>"u"?Pe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Pe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Pe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hi||!bt?Pe:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Pe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hi&&bt?bt(""[Symbol.iterator]()):Pe,"%Symbol%":hi?Symbol:Pe,"%SyntaxError%":li,"%ThrowTypeError%":aS,"%TypedArray%":uS,"%TypeError%":ci,"%Uint8Array%":typeof Uint8Array>"u"?Pe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Pe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Pe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Pe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Pe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Pe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Pe:WeakSet};if(bt)try{null.error}catch(t){var lS=bt(bt(t));Rn["%Error.prototype%"]=lS}var cS=function t(e){var r;if(e==="%AsyncFunction%")r=Au("async function () {}");else if(e==="%GeneratorFunction%")r=Au("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Au("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&bt&&(r=bt(i.prototype))}return Rn[e]=r,r},Df={"%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"]},as=Su,la=sS,hS=as.call(Function.call,Array.prototype.concat),fS=as.call(Function.apply,Array.prototype.splice),Bf=as.call(Function.call,String.prototype.replace),ca=as.call(Function.call,String.prototype.slice),dS=as.call(Function.call,RegExp.prototype.exec),pS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gS=/\\(\\)?/g,mS=function(e){var r=ca(e,0,1),n=ca(e,-1);if(r==="%"&&n!=="%")throw new li("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new li("invalid intrinsic syntax, expected opening `%`");var i=[];return Bf(e,pS,function(a,u,l,h){i[i.length]=l?Bf(h,gS,"$1"):u||a}),i},vS=function(e,r){var n=e,i;if(la(Df,n)&&(i=Df[n],n="%"+i[0]+"%"),la(Rn,n)){var a=Rn[n];if(a===fi&&(a=cS(n)),typeof a>"u"&&!r)throw new ci("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new li("intrinsic "+e+" does not exist!")},Cu=function(e,r){if(typeof e!="string"||e.length===0)throw new ci("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ci('"allowMissing" argument must be a boolean');if(dS(/^%?[^%]*%?$/,e)===null)throw new li("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=mS(e),i=n.length>0?n[0]:"",a=vS("%"+i+"%",r),u=a.name,l=a.value,h=!1,p=a.alias;p&&(i=p[0],fS(n,hS([0,1],p)));for(var g=1,c=!0;g<n.length;g+=1){var d=n[g],m=ca(d,0,1),_=ca(d,-1);if((m==='"'||m==="'"||m==="`"||_==='"'||_==="'"||_==="`")&&m!==_)throw new li("property names with quotes must have matching quotes");if((d==="constructor"||!c)&&(h=!0),i+="."+d,u="%"+i+"%",la(Rn,u))l=Rn[u];else if(l!=null){if(!(d in l)){if(!r)throw new ci("base intrinsic for "+e+" exists, but the property is not available.");return}if(In&&g+1>=n.length){var y=In(l,d);c=!!y,c&&"get"in y&&!("originalValue"in y.get)?l=y.get:l=l[d]}else c=la(l,d),l=l[d];c&&!h&&(Rn[u]=l)}}return l},Uf={exports:{}};(function(t){var e=Su,r=Cu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(i,n),u=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(c){var d=a(e,i,arguments);if(u&&l){var m=u(d,"length");m.configurable&&l(d,"length",{value:1+h(0,c.length-(arguments.length-1))})}return d};var p=function(){return a(e,n,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p})(Uf);var _S=Uf.exports,$f=Cu,Gf=_S,yS=Gf($f("String.prototype.indexOf")),xS=function(e,r){var n=$f(e,!!r);return typeof n=="function"&&yS(e,".prototype.")>-1?Gf(n):n};const bS=bv(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Iu=typeof Map=="function"&&Map.prototype,Ru=Object.getOwnPropertyDescriptor&&Iu?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ha=Iu&&Ru&&typeof Ru.get=="function"?Ru.get:null,Hf=Iu&&Map.prototype.forEach,Pu=typeof Set=="function"&&Set.prototype,Mu=Object.getOwnPropertyDescriptor&&Pu?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,fa=Pu&&Mu&&typeof Mu.get=="function"?Mu.get:null,zf=Pu&&Set.prototype.forEach,TS=typeof WeakMap=="function"&&WeakMap.prototype,os=TS?WeakMap.prototype.has:null,wS=typeof WeakSet=="function"&&WeakSet.prototype,us=wS?WeakSet.prototype.has:null,SS=typeof WeakRef=="function"&&WeakRef.prototype,Vf=SS?WeakRef.prototype.deref:null,AS=Boolean.prototype.valueOf,ES=Object.prototype.toString,CS=Function.prototype.toString,IS=String.prototype.match,Ou=String.prototype.slice,an=String.prototype.replace,RS=String.prototype.toUpperCase,jf=String.prototype.toLowerCase,Xf=RegExp.prototype.test,Wf=Array.prototype.concat,Or=Array.prototype.join,PS=Array.prototype.slice,qf=Math.floor,Fu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Nu=Object.getOwnPropertySymbols,Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,di=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Rt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===di||"symbol")?Symbol.toStringTag:null,Yf=Object.prototype.propertyIsEnumerable,Kf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Zf(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Xf.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-qf(-t):qf(t);if(n!==t){var i=String(n),a=Ou.call(e,i.length+1);return an.call(i,r,"$&_")+"."+an.call(an.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return an.call(e,r,"$&_")}var ku=bS,Qf=ku.custom,Jf=rd(Qf)?Qf:null,MS=function t(e,r,n,i){var a=r||{};if(on(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(on(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=on(a,"customInspect")?a.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(on(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(on(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return id(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var h=String(e);return l?Zf(e,h):h}if(typeof e=="bigint"){var p=String(e)+"n";return l?Zf(e,p):p}var g=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=g&&g>0&&typeof e=="object")return Du(e)?"[Array]":"[Object]";var c=YS(a,n);if(typeof i>"u")i=[];else if(nd(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=PS.call(i),i.push(G)),se){var ie={depth:a.depth};return on(a,"quoteStyle")&&(ie.quoteStyle=a.quoteStyle),t(j,ie,n+1,i)}return t(j,a,n+1,i)}if(typeof e=="function"&&!td(e)){var m=$S(e),_=da(e,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(_.length>0?" { "+Or.call(_,", ")+" }":"")}if(rd(e)){var y=di?an.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lu.call(e);return typeof e=="object"&&!di?ls(y):y}if(XS(e)){for(var b="<"+jf.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+ed(OS(x[E].value),"double",a);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+jf.call(String(e.nodeName))+">",b}if(Du(e)){if(e.length===0)return"[]";var w=da(e,d);return c&&!qS(w)?"["+Uu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(NS(e)){var I=da(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Yf.call(e,"cause")?"{ ["+String(e)+"] "+Or.call(Wf.call("[cause]: "+d(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Or.call(I,", ")+" }"}if(typeof e=="object"&&u){if(Jf&&typeof e[Jf]=="function"&&ku)return ku(e,{depth:g-n});if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(GS(e)){var O=[];return Hf&&Hf.call(e,function(j,G){O.push(d(G,e,!0)+" => "+d(j,e))}),sd("Map",ha.call(e),O,c)}if(VS(e)){var F=[];return zf&&zf.call(e,function(j){F.push(d(j,e))}),sd("Set",fa.call(e),F,c)}if(HS(e))return Bu("WeakMap");if(jS(e))return Bu("WeakSet");if(zS(e))return Bu("WeakRef");if(kS(e))return ls(d(Number(e)));if(BS(e))return ls(d(Fu.call(e)));if(DS(e))return ls(AS.call(e));if(LS(e))return ls(d(String(e)));if(!FS(e)&&!td(e)){var N=da(e,d),L=Kf?Kf(e)===Object.prototype:e instanceof Object||e.constructor===Object,D=e instanceof Object?"":"null prototype",V=!L&&Rt&&Object(e)===e&&Rt in e?Ou.call(un(e),8,-1):D?"Object":"",K=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=K+(V||D?"["+Or.call(Wf.call([],V||[],D||[]),": ")+"] ":"");return N.length===0?ae+"{}":c?ae+"{"+Uu(N,c)+"}":ae+"{ "+Or.call(N,", ")+" }"}return String(e)};function ed(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function OS(t){return an.call(String(t),/"/g,""")}function Du(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function FS(t){return un(t)==="[object Date]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function td(t){return un(t)==="[object RegExp]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function NS(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function LS(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kS(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function DS(t){return un(t)==="[object Boolean]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function rd(t){if(di)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Lu)return!1;try{return Lu.call(t),!0}catch{}return!1}function BS(t){if(!t||typeof t!="object"||!Fu)return!1;try{return Fu.call(t),!0}catch{}return!1}var US=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return US.call(t,e)}function un(t){return ES.call(t)}function $S(t){if(t.name)return t.name;var e=IS.call(CS.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nd(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function GS(t){if(!ha||!t||typeof t!="object")return!1;try{ha.call(t);try{fa.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function HS(t){if(!os||!t||typeof t!="object")return!1;try{os.call(t,os);try{us.call(t,us)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function zS(t){if(!Vf||!t||typeof t!="object")return!1;try{return Vf.call(t),!0}catch{}return!1}function VS(t){if(!fa||!t||typeof t!="object")return!1;try{fa.call(t);try{ha.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function jS(t){if(!us||!t||typeof t!="object")return!1;try{us.call(t,us);try{os.call(t,os)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function XS(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function id(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return id(Ou.call(t,0,e.maxStringLength),e)+n}var i=an.call(an.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,WS);return ed(i,"single",e)}function WS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+RS.call(e.toString(16))}function ls(t){return"Object("+t+")"}function Bu(t){return t+" { ? }"}function sd(t,e,r,n){var i=n?Uu(r,n):Or.call(r,", ");return t+" ("+e+") {"+i+"}"}function qS(t){for(var e=0;e<t.length;e++)if(nd(t[e],`
|
|
26
26
|
`)>=0)return!1;return!0}function YS(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=Or.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Or.call(Array(e+1),r)}}function Uu(t,e){if(t.length===0)return"";var r=`
|
|
27
27
|
`+e.prev+e.base;return r+Or.call(t,","+r)+`
|
|
28
28
|
`+e.prev}function da(t,e){var r=Du(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=on(t,i)?e(t[i],t):""}var a=typeof Nu=="function"?Nu(t):[],u;if(di){u={};for(var l=0;l<a.length;l++)u["$"+a[l]]=a[l]}for(var h in t)on(t,h)&&(r&&String(Number(h))===h&&h<t.length||di&&u["$"+h]instanceof Symbol||(Xf.call(/[^\w$]/,h)?n.push(e(h,t)+": "+e(t[h],t)):n.push(h+": "+e(t[h],t))));if(typeof Nu=="function")for(var p=0;p<a.length;p++)Yf.call(t,a[p])&&n.push("["+e(a[p])+"]: "+e(t[a[p]],t));return n}var $u=Cu,pi=xS,KS=MS,ZS=$u("%TypeError%"),pa=$u("%WeakMap%",!0),ga=$u("%Map%",!0),QS=pi("WeakMap.prototype.get",!0),JS=pi("WeakMap.prototype.set",!0),eA=pi("WeakMap.prototype.has",!0),tA=pi("Map.prototype.get",!0),rA=pi("Map.prototype.set",!0),nA=pi("Map.prototype.has",!0),Gu=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},iA=function(t,e){var r=Gu(t,e);return r&&r.value},sA=function(t,e,r){var n=Gu(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},aA=function(t,e){return!!Gu(t,e)},oA=function(){var e,r,n,i={assert:function(a){if(!i.has(a))throw new ZS("Side channel does not contain "+KS(a))},get:function(a){if(pa&&a&&(typeof a=="object"||typeof a=="function")){if(e)return QS(e,a)}else if(ga){if(r)return tA(r,a)}else if(n)return iA(n,a)},has:function(a){if(pa&&a&&(typeof a=="object"||typeof a=="function")){if(e)return eA(e,a)}else if(ga){if(r)return nA(r,a)}else if(n)return aA(n,a);return!1},set:function(a,u){pa&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new pa),JS(e,a,u)):ga?(r||(r=new ga),rA(r,a,u)):(n||(n={key:{},next:null}),sA(n,a,u))}};return i},uA=String.prototype.replace,lA=/%20/g,Hu={RFC1738:"RFC1738",RFC3986:"RFC3986"},zu={default:Hu.RFC3986,formatters:{RFC1738:function(t){return uA.call(t,lA,"+")},RFC3986:function(t){return String(t)}},RFC1738:Hu.RFC1738,RFC3986:Hu.RFC3986},cA=zu,Vu=Object.prototype.hasOwnProperty,Pn=Array.isArray,Fr=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),hA=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Pn(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},ad=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},fA=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Pn(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Vu.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Pn(e)&&!Pn(r)&&(i=ad(e,n)),Pn(e)&&Pn(r)?(r.forEach(function(a,u){if(Vu.call(e,u)){var l=e[u];l&&typeof l=="object"&&a&&typeof a=="object"?e[u]=t(l,a,n):e.push(a)}else e[u]=a}),e):Object.keys(r).reduce(function(a,u){var l=r[u];return Vu.call(a,u)?a[u]=t(a[u],l,n):a[u]=l,a},i)},dA=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},pA=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},gA=function(e,r,n,i,a){if(e.length===0)return e;var u=e;if(typeof e=="symbol"?u=Symbol.prototype.toString.call(e):typeof e!="string"&&(u=String(e)),n==="iso-8859-1")return escape(u).replace(/%u[0-9a-f]{4}/gi,function(g){return"%26%23"+parseInt(g.slice(2),16)+"%3B"});for(var l="",h=0;h<u.length;++h){var p=u.charCodeAt(h);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===cA.RFC1738&&(p===40||p===41)){l+=u.charAt(h);continue}if(p<128){l=l+Fr[p];continue}if(p<2048){l=l+(Fr[192|p>>6]+Fr[128|p&63]);continue}if(p<55296||p>=57344){l=l+(Fr[224|p>>12]+Fr[128|p>>6&63]+Fr[128|p&63]);continue}h+=1,p=65536+((p&1023)<<10|u.charCodeAt(h)&1023),l+=Fr[240|p>>18]+Fr[128|p>>12&63]+Fr[128|p>>6&63]+Fr[128|p&63]}return l},mA=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],u=a.obj[a.prop],l=Object.keys(u),h=0;h<l.length;++h){var p=l[h],g=u[p];typeof g=="object"&&g!==null&&n.indexOf(g)===-1&&(r.push({obj:u,prop:p}),n.push(g))}return hA(r),e},vA=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},_A=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},yA=function(e,r){return[].concat(e,r)},xA=function(e,r){if(Pn(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},od={arrayToObject:ad,assign:dA,combine:yA,compact:mA,decode:pA,encode:gA,isBuffer:_A,isRegExp:vA,maybeMap:xA,merge:fA},ud=oA,ma=od,cs=zu,bA=Object.prototype.hasOwnProperty,ld={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},$r=Array.isArray,TA=Array.prototype.push,cd=function(t,e){TA.apply(t,$r(e)?e:[e])},wA=Date.prototype.toISOString,hd=cs.default,Pt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ma.encode,encodeValuesOnly:!1,format:hd,formatter:cs.formatters[hd],indices:!1,serializeDate:function(e){return wA.call(e)},skipNulls:!1,strictNullHandling:!1},SA=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ju={},AA=function t(e,r,n,i,a,u,l,h,p,g,c,d,m,_,y,b){for(var x=e,E=b,w=0,I=!1;(E=E.get(ju))!==void 0&&!I;){var O=E.get(e);if(w+=1,typeof O<"u"){if(O===w)throw new RangeError("Cyclic object value");I=!0}typeof E.get(ju)>"u"&&(w=0)}if(typeof h=="function"?x=h(r,x):x instanceof Date?x=c(x):n==="comma"&&$r(x)&&(x=ma.maybeMap(x,function(ie){return ie instanceof Date?c(ie):ie})),x===null){if(a)return l&&!_?l(r,Pt.encoder,y,"key",d):r;x=""}if(SA(x)||ma.isBuffer(x)){if(l){var F=_?r:l(r,Pt.encoder,y,"key",d);return[m(F)+"="+m(l(x,Pt.encoder,y,"value",d))]}return[m(r)+"="+m(String(x))]}var N=[];if(typeof x>"u")return N;var L;if(n==="comma"&&$r(x))_&&l&&(x=ma.maybeMap(x,l)),L=[{value:x.length>0?x.join(",")||null:void 0}];else if($r(h))L=h;else{var D=Object.keys(x);L=p?D.sort(p):D}for(var V=i&&$r(x)&&x.length===1?r+"[]":r,K=0;K<L.length;++K){var ae=L[K],j=typeof ae=="object"&&typeof ae.value<"u"?ae.value:x[ae];if(!(u&&j===null)){var G=$r(x)?typeof n=="function"?n(V,ae):V:V+(g?"."+ae:"["+ae+"]");b.set(e,w);var se=ud();se.set(ju,b),cd(N,t(j,G,n,i,a,u,n==="comma"&&_&&$r(x)?null:l,h,p,g,c,d,m,_,y,se))}}return N},EA=function(e){if(!e)return Pt;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||Pt.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=cs.default;if(typeof e.format<"u"){if(!bA.call(cs.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=cs.formatters[n],a=Pt.filter;return(typeof e.filter=="function"||$r(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Pt.addQueryPrefix,allowDots:typeof e.allowDots>"u"?Pt.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Pt.charsetSentinel,delimiter:typeof e.delimiter>"u"?Pt.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Pt.encode,encoder:typeof e.encoder=="function"?e.encoder:Pt.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Pt.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Pt.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Pt.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Pt.strictNullHandling}},CA=function(t,e){var r=t,n=EA(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):$r(n.filter)&&(a=n.filter,i=a);var u=[];if(typeof r!="object"||r===null)return"";var l;e&&e.arrayFormat in ld?l=e.arrayFormat:e&&"indices"in e?l=e.indices?"indices":"repeat":l="indices";var h=ld[l];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=h==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var g=ud(),c=0;c<i.length;++c){var d=i[c];n.skipNulls&&r[d]===null||cd(u,AA(r[d],d,h,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,g))}var m=u.join(n.delimiter),_=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),m.length>0?_+m:""},gi=od,Xu=Object.prototype.hasOwnProperty,IA=Array.isArray,Tt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:gi.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},RA=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},fd=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},PA="utf8=%26%2310003%3B",MA="utf8=%E2%9C%93",OA=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,u=i.split(r.delimiter,a),l=-1,h,p=r.charset;if(r.charsetSentinel)for(h=0;h<u.length;++h)u[h].indexOf("utf8=")===0&&(u[h]===MA?p="utf-8":u[h]===PA&&(p="iso-8859-1"),l=h,h=u.length);for(h=0;h<u.length;++h)if(h!==l){var g=u[h],c=g.indexOf("]="),d=c===-1?g.indexOf("="):c+1,m,_;d===-1?(m=r.decoder(g,Tt.decoder,p,"key"),_=r.strictNullHandling?null:""):(m=r.decoder(g.slice(0,d),Tt.decoder,p,"key"),_=gi.maybeMap(fd(g.slice(d+1),r),function(y){return r.decoder(y,Tt.decoder,p,"value")})),_&&r.interpretNumericEntities&&p==="iso-8859-1"&&(_=RA(_)),g.indexOf("[]=")>-1&&(_=IA(_)?[_]:_),Xu.call(n,m)?n[m]=gi.combine(n[m],_):n[m]=_}return n},FA=function(t,e,r,n){for(var i=n?e:fd(e,r),a=t.length-1;a>=0;--a){var u,l=t[a];if(l==="[]"&&r.parseArrays)u=[].concat(i);else{u=r.plainObjects?Object.create(null):{};var h=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,p=parseInt(h,10);!r.parseArrays&&h===""?u={0:i}:!isNaN(p)&&l!==h&&String(p)===h&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(u=[],u[p]=i):h!=="__proto__"&&(u[h]=i)}i=u}return i},NA=function(e,r,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,u=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,h=n.depth>0&&u.exec(a),p=h?a.slice(0,h.index):a,g=[];if(p){if(!n.plainObjects&&Xu.call(Object.prototype,p)&&!n.allowPrototypes)return;g.push(p)}for(var c=0;n.depth>0&&(h=l.exec(a))!==null&&c<n.depth;){if(c+=1,!n.plainObjects&&Xu.call(Object.prototype,h[1].slice(1,-1))&&!n.allowPrototypes)return;g.push(h[1])}return h&&g.push("["+a.slice(h.index)+"]"),FA(g,r,n,i)}},LA=function(e){if(!e)return Tt;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?Tt.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?Tt.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Tt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Tt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Tt.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Tt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Tt.comma,decoder:typeof e.decoder=="function"?e.decoder:Tt.decoder,delimiter:typeof e.delimiter=="string"||gi.isRegExp(e.delimiter)?e.delimiter:Tt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Tt.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Tt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Tt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Tt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Tt.strictNullHandling}},kA=function(t,e){var r=LA(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?OA(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),u=0;u<a.length;++u){var l=a[u],h=NA(l,n[l],r,typeof t=="string");i=gi.merge(i,h,r)}return r.allowSparse===!0?i:gi.compact(i)},DA=CA,BA=kA,UA=zu,$A={formats:UA,parse:BA,stringify:DA},GA=Ww;function fr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var HA=/^([a-z0-9.+-]+:)/i,zA=/:[0-9]*$/,VA=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,jA=["<",">",'"',"`"," ","\r",`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reacthub-pixitweenjs",
|
|
3
|
-
"version": "0.2.107-alpha.
|
|
3
|
+
"version": "0.2.107-alpha.63",
|
|
4
4
|
"description": "reacthub-pixitweenjs is a library that provides a powerful combination of React, PixiJS, GSAP, and image manipulation capabilities in a timeline sequence. With this library, you can easily create stunning animations and interactive graphics for your React applications",
|
|
5
5
|
"author": "khanzzirfan <reacthub.ai@gmail.com>",
|
|
6
6
|
"main": "dist/index.es.js",
|