reacthub-pixitweenjs 0.2.107-alpha.70 → 0.2.107-alpha.72

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 CHANGED
@@ -1193,13 +1193,21 @@ J.registerEffect({
1193
1193
  J.registerEffect({
1194
1194
  name: "BOUNCE_IN",
1195
1195
  effect(t, e) {
1196
- return J.from(t, {
1196
+ return J.timeline().to(t, {
1197
1197
  ...e,
1198
- duration: 2,
1199
- width: (e == null ? void 0 : e.width) * 1.5,
1200
- height: (e == null ? void 0 : e.height) * 1.5,
1201
- ease: "bounce.out"
1202
- });
1198
+ duration: 0.3
1199
+ }).fromTo(
1200
+ t,
1201
+ {
1202
+ width: (e == null ? void 0 : e.width) * 1.5,
1203
+ height: (e == null ? void 0 : e.height) * 1.5
1204
+ },
1205
+ {
1206
+ ...e,
1207
+ duration: 2,
1208
+ ease: "bounce.out"
1209
+ }
1210
+ );
1203
1211
  }
1204
1212
  });
1205
1213
  J.registerEffect({
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 $t,df,pf=function(){return $t||typeof window<"u"&&($t=window.gsap)&&$t.registerPlugin&&$t},gf=function(){$t=pf(),$t?($t.registerEase("_CE",ts.create),df=1):console.warn("Please gsap.registerPlugin(CustomEase)")},bw=1e20,ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Tw=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,ww=/[cLlsSaAhHvVtTqQ]/g,Sw=function(e){var r=e.length,n=bw,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Aw=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),f=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?Sw(e)+a:+e[u-1]+a),p;for(f?f=1/f:f=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*f},Ew=function t(e,r,n,i,a,u,l,f,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+f)/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=f-r,z=Math.abs((n-l)*D-(i-f)*L),Y=Math.abs((a-l)*D-(u-f)*L),ae;return g||(g=[{x:e,y:r},{x:l,y:f}],c=1),g.splice(c||g.length-1,0,{x:F,y:N}),(z+Y)*(z+Y)>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,f,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(Tw),u=1,l=[],f=[],p=i.precision||1,g=p<=1,c,d,m,_,y,b,x,E,w;if(this.data=n,(ww.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=yw(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)&&Aw(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),Ew(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,f[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(f[_-1].cy=d-f[_-1].y);f[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),f[_]=x;b<l.length-1&&(f[_-1]=l[l.length-2])}return this.ease=function(I){var O=f[I*c|0]||f[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&$t&&$t.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){$t=n,gf()},t.get=function(n){return $t.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,f=(i.y||0)+u,p=$t.utils.toArray(i.path)[0],g,c,d,m,_,y,b,x,E,w;if(i.invert&&(u=-u,f=0),typeof n=="string"&&(n=$t.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)g=xw(vw([n.segment],a,0,0,-u,l,f));else{for(g=[l,f],b=Math.max(5,(i.precision||1)*200),m=1/b,b+=2,x=5/b,E=ta(l+m*a),w=ta(f+n(m)*-u),c=(w-f)/(E-l),d=2;d<b;d++)_=ta(l+d*m*a),y=ta(f+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()&&$t.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 Cw(){return{updateEffect:X.useCallback((e,r,n)=>(console.log("useGsapEffect useEffect",r,n),ee.effects[r]&&e?ee.effects[r](e,n):ee.effects.NONE(e,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 Iw=[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 Ue,je,_e,we;const[r,n]=te.useState(!1),[i,a]=X.useState(!1),[u,l]=X.useState(!1),[f,p]=X.useState(),g=ZT(f,1300),c=X.useRef(null),d=X.useRef(null),m=X.useRef(null),_=X.useRef(null),y=X.useRef(null),{tl:b}=X.useContext(en),{uniqueId:x,visible:E,startAt:w,transformation:{x:I,y:O,width:F,height:N,scale:L=[1,1],rotation:D=0,effect:z,overlay:Y,animation:ae=du.NONE},applyTransformer:j,disabled:G,pointerdown:se,pointerout:ie,pointerover:H,isText:J,isDragging:pe,isGif:W,onDoubleClick:q,isTextEditMode:he}=t,fe=Cw();ht(Ze.COMPLETE,()=>{c.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>{c.current&&n(!0)},[]),te.useEffect(()=>{p({x:I,y:O,width:F,height:N,animation:ae})},[ae,I,O,F,N,D,L]),te.useEffect(()=>{if(b.current&&g){const{x:xe,y:Ke,width:Se,height:ge,animation:tt}=g||{},oe=fe.updateEffect(c.current,tt,{x:xe,y:Ke,width:Se,height:ge,overwrite:!0,onUpdate:()=>{var Re,Ot;console.log("current image ref location",(Re=c.current)==null?void 0:Re.x,(Ot=c.current)==null?void 0:Ot.y)}});y.current&&(b.current.remove(y.current),console.log("killing timeline"),y.current.progress(0).kill()),console.log("startAt Anim",w),b.current.add(oe,w),y.current=oe}else console.log("no animation"),y.current&&y.current.progress(0).kill();return()=>{b.current&&y.current&&(b.current.remove(y.current),y.current&&y.current.progress(0).kill())}},[w,g]);const me=te.useCallback(()=>{l(!0),H&&H()},[]),Te=te.useCallback(()=>{a(!0)},[]),Ie=te.useCallback(xe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(xe),a(!1)},[]),Be=$e.withFilters($e.Container,{matrix:Xt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(Ue=c.current)==null?void 0:Ue.x,(je=c.current)==null?void 0:je.y,I,O,"imagegroup",(_e=m.current)==null?void 0:_e.x,(we=m.current)==null?void 0:we.y),Ce.jsxs($e.Container,{ref:d,children:[Ce.jsxs($e.Container,{ref:c,position:[I,O],pivot:[I,O],width:F,height:N,scale:L,rotation:D,...!G&&E&&!i&&!pe&&{interactive:!0,buttonMode:!0,pointerdown:se,pointerover:H,pointerout:ie},children:[!W&&Ce.jsx(Be,{scale:1,apply:({matrix:xe})=>{z===Tn.BlackAndWhite?xe.desaturate():z===Tn.Sepia?xe.sepia():z===Tn.RetroVintage||z===Tn.NightVision?xe.negative():z===Tn.Normal&&xe.reset()},matrix:{enabled:!0,matrix:Iw},children:Ce.jsx($e.Container,{ref:m,children:t.children})}),W&&Ce.jsx($e.Container,{ref:m,children:t.children}),!Qi(Y)&&Y!==fu.NONE&&Y!==fu.NORMAL&&Ce.jsx(fw,{overlay:Y,width:F,height:N,x:I,y:O})]}),j&&E&&!he&&Ce.jsx(Pv,{pixiTransformerRef:_,imageRef:c,isMounted:r,transformCommit:Ie,transformChange:Te,mouseoverEvent:me,uniqueId:x,isText:J,onDoubleClick:q})]})});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 Pe={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 Rw(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=Rw(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);Pe.RETINA_PREFIX=/@([0-9\.]+)x/,Pe.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(f,p,g){this.fn=f,this.context=p,this.once=g||!1}function a(f,p,g,c,d){if(typeof g!="function")throw new TypeError("The listener must be a function");var m=new i(g,c||f,d),_=r?r+p:p;return f._events[_]?f._events[_].fn?f._events[_]=[f._events[_],m]:f._events[_].push(m):(f._events[_]=m,f._eventsCount++),f}function u(f,p){--f._eventsCount===0?f._events=new n:delete f._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 Pw=Rf.exports;const na=bn(Pw);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,f,p,g,c,d,m;if(n&&(a=Lw(t,e,a,r)),t.length>80*r){l=p=t[0],f=g=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<f&&(f=d),c>p&&(p=c),d>g&&(g=d);m=Math.max(p-l,g-f),m=m!==0?32767/m:0}return ns(a,u,r,l,f,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&&$w(t,n,i,a);for(var l=t,f,p;t.prev!==t.next;){if(f=t.prev,p=t.next,a?Ow(t,n,i,a):Mw(t)){e.push(f.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=Fw(Cn(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&Nw(t,e,r,n,i,a):ns(Cn(t),e,r,n,i,a,1);break}}}}function Mw(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,f=r.y,p=n.y,g=i<a?i<u?i:u:a<u?a:u,c=l<f?l<p?l:p:f<p?f:p,d=i>a?i>u?i:u:a>u?a:u,m=l>f?l>p?l:p:f>p?f:p,_=n.next;_!==e;){if(_.x>=g&&_.x<=d&&_.y>=c&&_.y<=m&&ui(i,l,a,f,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Ow(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,f=a.x,p=u.x,g=i.y,c=a.y,d=u.y,m=l<f?l<p?l:p:f<p?f:p,_=g<c?g<d?g:d:c<d?c:d,y=l>f?l>p?l:p:f>p?f: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,f,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,f,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,f,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,f,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Fw(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 Nw(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&zw(u,l)){var f=Of(u,l);u=Cn(u,u.next),f=Cn(f,f.next),ns(u,e,r,n,i,a,0),ns(f,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Lw(t,e,r,n){var i=[],a,u,l,f,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,f=a<u-1?e[a+1]*n:t.length,p=Pf(t,l,f,n,!1),p===p.next&&(p.steiner=!0),i.push(Hw(p));for(i.sort(kw),a=0;a<i.length;a++)r=Dw(i[a],r);return r}function kw(t,e){return t.x-e.x}function Dw(t,e){var r=Bw(t,e);if(!r)return e;var n=Of(r,t);return Cn(n,n.next),Cn(r,r.next)}function Bw(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 f=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&&Uw(u,r)))&&(u=r,c=d)),r=r.next;while(r!==f);return u}function Uw(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function $w(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,Gw(i)}function Gw(t){var e,r,n,i,a,u,l,f,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(f=p;l>0||f>0&&n;)l!==0&&(f===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,f--),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 Hw(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 zw(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!Vw(t,e)&&(is(t,e)&&is(e,t)&&jw(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 Vw(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 jw(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,f=e.length;l<f;l++){var p=e[l]*r,g=l<f-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 Xw=yu.exports;const Ww=bn(Xw);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,f=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=f-p,O=Math.floor,F=String.fromCharCode,N;function L(W){throw new RangeError(w[W])}function D(W,q){for(var he=W.length,fe=[];he--;)fe[he]=q(W[he]);return fe}function z(W,q){var he=W.split("@"),fe="";he.length>1&&(fe=he[0]+"@",W=he[1]),W=W.replace(E,".");var me=W.split("."),Te=D(me,q).join(".");return fe+Te}function Y(W){for(var q=[],he=0,fe=W.length,me,Te;he<fe;)me=W.charCodeAt(he++),me>=55296&&me<=56319&&he<fe?(Te=W.charCodeAt(he++),(Te&64512)==56320?q.push(((me&1023)<<10)+(Te&1023)+65536):(q.push(me),he--)):q.push(me);return q}function ae(W){return D(W,function(q){var he="";return q>65535&&(q-=65536,he+=F(q>>>10&1023|55296),q=56320|q&1023),he+=F(q),he}).join("")}function j(W){return W-48<10?W-22:W-65<26?W-65:W-97<26?W-97:f}function G(W,q){return W+22+75*(W<26)-((q!=0)<<5)}function se(W,q,he){var fe=0;for(W=he?O(W/d):W>>1,W+=O(W/q);W>I*g>>1;fe+=f)W=O(W/I);return O(fe+(I+1)*W/(W+c))}function ie(W){var q=[],he=W.length,fe,me=0,Te=_,Ie=m,Be,Ue,je,_e,we,xe,Ke,Se,ge;for(Be=W.lastIndexOf(y),Be<0&&(Be=0),Ue=0;Ue<Be;++Ue)W.charCodeAt(Ue)>=128&&L("not-basic"),q.push(W.charCodeAt(Ue));for(je=Be>0?Be+1:0;je<he;){for(_e=me,we=1,xe=f;je>=he&&L("invalid-input"),Ke=j(W.charCodeAt(je++)),(Ke>=f||Ke>O((l-me)/we))&&L("overflow"),me+=Ke*we,Se=xe<=Ie?p:xe>=Ie+g?g:xe-Ie,!(Ke<Se);xe+=f)ge=f-Se,we>O(l/ge)&&L("overflow"),we*=ge;fe=q.length+1,Ie=se(me-_e,fe,_e==0),O(me/fe)>l-Te&&L("overflow"),Te+=O(me/fe),me%=fe,q.splice(me++,0,Te)}return ae(q)}function H(W){var q,he,fe,me,Te,Ie,Be,Ue,je,_e,we,xe=[],Ke,Se,ge,tt;for(W=Y(W),Ke=W.length,q=_,he=0,Te=m,Ie=0;Ie<Ke;++Ie)we=W[Ie],we<128&&xe.push(F(we));for(fe=me=xe.length,me&&xe.push(y);fe<Ke;){for(Be=l,Ie=0;Ie<Ke;++Ie)we=W[Ie],we>=q&&we<Be&&(Be=we);for(Se=fe+1,Be-q>O((l-he)/Se)&&L("overflow"),he+=(Be-q)*Se,q=Be,Ie=0;Ie<Ke;++Ie)if(we=W[Ie],we<q&&++he>l&&L("overflow"),we==q){for(Ue=he,je=f;_e=je<=Te?p:je>=Te+g?g:je-Te,!(Ue<_e);je+=f)tt=Ue-_e,ge=f-_e,xe.push(F(G(_e+tt%ge,0))),Ue=O(tt/ge);xe.push(F(G(Ue,0))),Te=se(he,Se,fe==me),he=0,++fe}++he,++q}return xe.join("")}function J(W){return z(W,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(W){return z(W,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:Y,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 qw=ua.exports,Yw=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,Kw=Yw,Zw=function(){return typeof Nf!="function"||typeof Symbol!="function"||typeof Nf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Kw()},Lf={foo:{}},Qw=Object,Jw=function(){return{__proto__:Lf}.foo===Lf.foo&&!({__proto__:null}instanceof Qw)},eS="Function.prototype.bind called on incompatible ",wu=Array.prototype.slice,tS=Object.prototype.toString,rS="[object Function]",nS=function(e){var r=this;if(typeof r!="function"||tS.call(r)!==rS)throw new TypeError(eS+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=[],f=0;f<u;f++)l.push("$"+f);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},iS=nS,Su=Function.prototype.bind||iS,sS=Su,aS=sS.call(Function.call,Object.prototype.hasOwnProperty),Oe,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},oS=In?function(){try{return arguments.callee,Eu}catch{try{return In(arguments,"callee").get}catch{return Eu}}}():Eu,hi=Zw(),uS=Jw(),bt=Object.getPrototypeOf||(uS?function(t){return t.__proto__}:null),fi={},lS=typeof Uint8Array>"u"||!bt?Oe:bt(Uint8Array),Rn={"%AggregateError%":typeof AggregateError>"u"?Oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Oe:ArrayBuffer,"%ArrayIteratorPrototype%":hi&&bt?bt([][Symbol.iterator]()):Oe,"%AsyncFromSyncIteratorPrototype%":Oe,"%AsyncFunction%":fi,"%AsyncGenerator%":fi,"%AsyncGeneratorFunction%":fi,"%AsyncIteratorPrototype%":fi,"%Atomics%":typeof Atomics>"u"?Oe:Atomics,"%BigInt%":typeof BigInt>"u"?Oe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Oe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Oe:FinalizationRegistry,"%Function%":kf,"%GeneratorFunction%":fi,"%Int8Array%":typeof Int8Array>"u"?Oe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Oe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hi&&bt?bt(bt([][Symbol.iterator]())):Oe,"%JSON%":typeof JSON=="object"?JSON:Oe,"%Map%":typeof Map>"u"?Oe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hi||!bt?Oe:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Oe:Promise,"%Proxy%":typeof Proxy>"u"?Oe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Oe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hi||!bt?Oe:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hi&&bt?bt(""[Symbol.iterator]()):Oe,"%Symbol%":hi?Symbol:Oe,"%SyntaxError%":li,"%ThrowTypeError%":oS,"%TypedArray%":lS,"%TypeError%":ci,"%Uint8Array%":typeof Uint8Array>"u"?Oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Oe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Oe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Oe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Oe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Oe:WeakSet};if(bt)try{null.error}catch(t){var cS=bt(bt(t));Rn["%Error.prototype%"]=cS}var hS=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=aS,fS=as.call(Function.call,Array.prototype.concat),dS=as.call(Function.apply,Array.prototype.splice),Bf=as.call(Function.call,String.prototype.replace),ca=as.call(Function.call,String.prototype.slice),pS=as.call(Function.call,RegExp.prototype.exec),gS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,mS=/\\(\\)?/g,vS=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,gS,function(a,u,l,f){i[i.length]=l?Bf(f,mS,"$1"):u||a}),i},_S=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=hS(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(pS(/^%?[^%]*%?$/,e)===null)throw new li("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vS(e),i=n.length>0?n[0]:"",a=_S("%"+i+"%",r),u=a.name,l=a.value,f=!1,p=a.alias;p&&(i=p[0],dS(n,fS([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)&&(f=!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&&!f&&(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),f=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+f(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 yS=Uf.exports,$f=Cu,Gf=yS,xS=Gf($f("String.prototype.indexOf")),bS=function(e,r){var n=$f(e,!!r);return typeof n=="function"&&xS(e,".prototype.")>-1?Gf(n):n};const TS=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,wS=typeof WeakMap=="function"&&WeakMap.prototype,os=wS?WeakMap.prototype.has:null,SS=typeof WeakSet=="function"&&WeakSet.prototype,us=SS?WeakSet.prototype.has:null,AS=typeof WeakRef=="function"&&WeakRef.prototype,Vf=AS?WeakRef.prototype.deref:null,ES=Boolean.prototype.valueOf,CS=Object.prototype.toString,IS=Function.prototype.toString,RS=String.prototype.match,Ou=String.prototype.slice,an=String.prototype.replace,PS=String.prototype.toUpperCase,jf=String.prototype.toLowerCase,Xf=RegExp.prototype.test,Wf=Array.prototype.concat,Or=Array.prototype.join,MS=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=TS,Qf=ku.custom,Jf=rd(Qf)?Qf:null,OS=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 f=String(e);return l?Zf(e,f):f}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=KS(a,n);if(typeof i>"u")i=[];else if(nd(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=MS.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=GS(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(WS(e)){for(var b="<"+jf.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+ed(FS(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&&!YS(w)?"["+Uu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(LS(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(HS(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(jS(e)){var F=[];return zf&&zf.call(e,function(j){F.push(d(j,e))}),sd("Set",fa.call(e),F,c)}if(zS(e))return Bu("WeakMap");if(XS(e))return Bu("WeakSet");if(VS(e))return Bu("WeakRef");if(DS(e))return ls(d(Number(e)));if(US(e))return ls(d(Fu.call(e)));if(BS(e))return ls(ES.call(e));if(kS(e))return ls(d(String(e)));if(!NS(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",z=!L&&Rt&&Object(e)===e&&Rt in e?Ou.call(un(e),8,-1):D?"Object":"",Y=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=Y+(z||D?"["+Or.call(Wf.call([],z||[],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 FS(t){return an.call(String(t),/"/g,"&quot;")}function Du(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function NS(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 LS(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kS(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function DS(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function BS(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 US(t){if(!t||typeof t!="object"||!Fu)return!1;try{return Fu.call(t),!0}catch{}return!1}var $S=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return $S.call(t,e)}function un(t){return CS.call(t)}function GS(t){if(t.name)return t.name;var e=RS.call(IS.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 HS(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 zS(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 VS(t){if(!Vf||!t||typeof t!="object")return!1;try{return Vf.call(t),!0}catch{}return!1}function jS(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 XS(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 WS(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,qS);return ed(i,"single",e)}function qS(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":"")+PS.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 YS(t){for(var e=0;e<t.length;e++)if(nd(t[e],`
25
+ */var $t,df,pf=function(){return $t||typeof window<"u"&&($t=window.gsap)&&$t.registerPlugin&&$t},gf=function(){$t=pf(),$t?($t.registerEase("_CE",ts.create),df=1):console.warn("Please gsap.registerPlugin(CustomEase)")},bw=1e20,ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Tw=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,ww=/[cLlsSaAhHvVtTqQ]/g,Sw=function(e){var r=e.length,n=bw,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Aw=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),f=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?Sw(e)+a:+e[u-1]+a),p;for(f?f=1/f:f=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*f},Ew=function t(e,r,n,i,a,u,l,f,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+f)/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=f-r,z=Math.abs((n-l)*D-(i-f)*L),Y=Math.abs((a-l)*D-(u-f)*L),ae;return g||(g=[{x:e,y:r},{x:l,y:f}],c=1),g.splice(c||g.length-1,0,{x:F,y:N}),(z+Y)*(z+Y)>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,f,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(Tw),u=1,l=[],f=[],p=i.precision||1,g=p<=1,c,d,m,_,y,b,x,E,w;if(this.data=n,(ww.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=yw(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)&&Aw(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),Ew(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,f[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(f[_-1].cy=d-f[_-1].y);f[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),f[_]=x;b<l.length-1&&(f[_-1]=l[l.length-2])}return this.ease=function(I){var O=f[I*c|0]||f[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&$t&&$t.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){$t=n,gf()},t.get=function(n){return $t.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,f=(i.y||0)+u,p=$t.utils.toArray(i.path)[0],g,c,d,m,_,y,b,x,E,w;if(i.invert&&(u=-u,f=0),typeof n=="string"&&(n=$t.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)g=xw(vw([n.segment],a,0,0,-u,l,f));else{for(g=[l,f],b=Math.max(5,(i.precision||1)*200),m=1/b,b+=2,x=5/b,E=ta(l+m*a),w=ta(f+n(m)*-u),c=(w-f)/(E-l),d=2;d<b;d++)_=ta(l+d*m*a),y=ta(f+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()&&$t.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.timeline().to(t,{...e,duration:.3}).fromTo(t,{width:(e==null?void 0:e.width)*1.5,height:(e==null?void 0:e.height)*1.5},{...e,duration:2,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 Cw(){return{updateEffect:X.useCallback((e,r,n)=>(console.log("useGsapEffect useEffect",r,n),ee.effects[r]&&e?ee.effects[r](e,n):ee.effects.NONE(e,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 Iw=[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 Ue,je,_e,we;const[r,n]=te.useState(!1),[i,a]=X.useState(!1),[u,l]=X.useState(!1),[f,p]=X.useState(),g=ZT(f,1300),c=X.useRef(null),d=X.useRef(null),m=X.useRef(null),_=X.useRef(null),y=X.useRef(null),{tl:b}=X.useContext(en),{uniqueId:x,visible:E,startAt:w,transformation:{x:I,y:O,width:F,height:N,scale:L=[1,1],rotation:D=0,effect:z,overlay:Y,animation:ae=du.NONE},applyTransformer:j,disabled:G,pointerdown:se,pointerout:ie,pointerover:H,isText:J,isDragging:pe,isGif:W,onDoubleClick:q,isTextEditMode:he}=t,fe=Cw();ht(Ze.COMPLETE,()=>{c.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>{c.current&&n(!0)},[]),te.useEffect(()=>{p({x:I,y:O,width:F,height:N,animation:ae})},[ae,I,O,F,N,D,L]),te.useEffect(()=>{if(b.current&&g){const{x:xe,y:Ke,width:Se,height:ge,animation:tt}=g||{},oe=fe.updateEffect(c.current,tt,{x:xe,y:Ke,width:Se,height:ge,overwrite:!0,onUpdate:()=>{var Re,Ot;console.log("current image ref location",(Re=c.current)==null?void 0:Re.x,(Ot=c.current)==null?void 0:Ot.y)}});y.current&&(b.current.remove(y.current),console.log("killing timeline"),y.current.progress(0).kill()),console.log("startAt Anim",w),b.current.add(oe,w),y.current=oe}else console.log("no animation"),y.current&&y.current.progress(0).kill();return()=>{b.current&&y.current&&(b.current.remove(y.current),y.current&&y.current.progress(0).kill())}},[w,g]);const me=te.useCallback(()=>{l(!0),H&&H()},[]),Te=te.useCallback(()=>{a(!0)},[]),Ie=te.useCallback(xe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(xe),a(!1)},[]),Be=$e.withFilters($e.Container,{matrix:Xt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(Ue=c.current)==null?void 0:Ue.x,(je=c.current)==null?void 0:je.y,I,O,"imagegroup",(_e=m.current)==null?void 0:_e.x,(we=m.current)==null?void 0:we.y),Ce.jsxs($e.Container,{ref:d,children:[Ce.jsxs($e.Container,{ref:c,position:[I,O],pivot:[I,O],width:F,height:N,scale:L,rotation:D,...!G&&E&&!i&&!pe&&{interactive:!0,buttonMode:!0,pointerdown:se,pointerover:H,pointerout:ie},children:[!W&&Ce.jsx(Be,{scale:1,apply:({matrix:xe})=>{z===Tn.BlackAndWhite?xe.desaturate():z===Tn.Sepia?xe.sepia():z===Tn.RetroVintage||z===Tn.NightVision?xe.negative():z===Tn.Normal&&xe.reset()},matrix:{enabled:!0,matrix:Iw},children:Ce.jsx($e.Container,{ref:m,children:t.children})}),W&&Ce.jsx($e.Container,{ref:m,children:t.children}),!Qi(Y)&&Y!==fu.NONE&&Y!==fu.NORMAL&&Ce.jsx(fw,{overlay:Y,width:F,height:N,x:I,y:O})]}),j&&E&&!he&&Ce.jsx(Pv,{pixiTransformerRef:_,imageRef:c,isMounted:r,transformCommit:Ie,transformChange:Te,mouseoverEvent:me,uniqueId:x,isText:J,onDoubleClick:q})]})});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 Pe={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 Rw(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=Rw(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);Pe.RETINA_PREFIX=/@([0-9\.]+)x/,Pe.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(f,p,g){this.fn=f,this.context=p,this.once=g||!1}function a(f,p,g,c,d){if(typeof g!="function")throw new TypeError("The listener must be a function");var m=new i(g,c||f,d),_=r?r+p:p;return f._events[_]?f._events[_].fn?f._events[_]=[f._events[_],m]:f._events[_].push(m):(f._events[_]=m,f._eventsCount++),f}function u(f,p){--f._eventsCount===0?f._events=new n:delete f._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 Pw=Rf.exports;const na=bn(Pw);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,f,p,g,c,d,m;if(n&&(a=Lw(t,e,a,r)),t.length>80*r){l=p=t[0],f=g=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<f&&(f=d),c>p&&(p=c),d>g&&(g=d);m=Math.max(p-l,g-f),m=m!==0?32767/m:0}return ns(a,u,r,l,f,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&&$w(t,n,i,a);for(var l=t,f,p;t.prev!==t.next;){if(f=t.prev,p=t.next,a?Ow(t,n,i,a):Mw(t)){e.push(f.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=Fw(Cn(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&Nw(t,e,r,n,i,a):ns(Cn(t),e,r,n,i,a,1);break}}}}function Mw(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,f=r.y,p=n.y,g=i<a?i<u?i:u:a<u?a:u,c=l<f?l<p?l:p:f<p?f:p,d=i>a?i>u?i:u:a>u?a:u,m=l>f?l>p?l:p:f>p?f:p,_=n.next;_!==e;){if(_.x>=g&&_.x<=d&&_.y>=c&&_.y<=m&&ui(i,l,a,f,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Ow(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,f=a.x,p=u.x,g=i.y,c=a.y,d=u.y,m=l<f?l<p?l:p:f<p?f:p,_=g<c?g<d?g:d:c<d?c:d,y=l>f?l>p?l:p:f>p?f: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,f,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,f,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,f,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,f,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Fw(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 Nw(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&zw(u,l)){var f=Of(u,l);u=Cn(u,u.next),f=Cn(f,f.next),ns(u,e,r,n,i,a,0),ns(f,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Lw(t,e,r,n){var i=[],a,u,l,f,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,f=a<u-1?e[a+1]*n:t.length,p=Pf(t,l,f,n,!1),p===p.next&&(p.steiner=!0),i.push(Hw(p));for(i.sort(kw),a=0;a<i.length;a++)r=Dw(i[a],r);return r}function kw(t,e){return t.x-e.x}function Dw(t,e){var r=Bw(t,e);if(!r)return e;var n=Of(r,t);return Cn(n,n.next),Cn(r,r.next)}function Bw(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 f=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&&Uw(u,r)))&&(u=r,c=d)),r=r.next;while(r!==f);return u}function Uw(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function $w(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,Gw(i)}function Gw(t){var e,r,n,i,a,u,l,f,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(f=p;l>0||f>0&&n;)l!==0&&(f===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,f--),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 Hw(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 zw(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!Vw(t,e)&&(is(t,e)&&is(e,t)&&jw(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 Vw(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 jw(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,f=e.length;l<f;l++){var p=e[l]*r,g=l<f-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 Xw=yu.exports;const Ww=bn(Xw);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,f=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=f-p,O=Math.floor,F=String.fromCharCode,N;function L(W){throw new RangeError(w[W])}function D(W,q){for(var he=W.length,fe=[];he--;)fe[he]=q(W[he]);return fe}function z(W,q){var he=W.split("@"),fe="";he.length>1&&(fe=he[0]+"@",W=he[1]),W=W.replace(E,".");var me=W.split("."),Te=D(me,q).join(".");return fe+Te}function Y(W){for(var q=[],he=0,fe=W.length,me,Te;he<fe;)me=W.charCodeAt(he++),me>=55296&&me<=56319&&he<fe?(Te=W.charCodeAt(he++),(Te&64512)==56320?q.push(((me&1023)<<10)+(Te&1023)+65536):(q.push(me),he--)):q.push(me);return q}function ae(W){return D(W,function(q){var he="";return q>65535&&(q-=65536,he+=F(q>>>10&1023|55296),q=56320|q&1023),he+=F(q),he}).join("")}function j(W){return W-48<10?W-22:W-65<26?W-65:W-97<26?W-97:f}function G(W,q){return W+22+75*(W<26)-((q!=0)<<5)}function se(W,q,he){var fe=0;for(W=he?O(W/d):W>>1,W+=O(W/q);W>I*g>>1;fe+=f)W=O(W/I);return O(fe+(I+1)*W/(W+c))}function ie(W){var q=[],he=W.length,fe,me=0,Te=_,Ie=m,Be,Ue,je,_e,we,xe,Ke,Se,ge;for(Be=W.lastIndexOf(y),Be<0&&(Be=0),Ue=0;Ue<Be;++Ue)W.charCodeAt(Ue)>=128&&L("not-basic"),q.push(W.charCodeAt(Ue));for(je=Be>0?Be+1:0;je<he;){for(_e=me,we=1,xe=f;je>=he&&L("invalid-input"),Ke=j(W.charCodeAt(je++)),(Ke>=f||Ke>O((l-me)/we))&&L("overflow"),me+=Ke*we,Se=xe<=Ie?p:xe>=Ie+g?g:xe-Ie,!(Ke<Se);xe+=f)ge=f-Se,we>O(l/ge)&&L("overflow"),we*=ge;fe=q.length+1,Ie=se(me-_e,fe,_e==0),O(me/fe)>l-Te&&L("overflow"),Te+=O(me/fe),me%=fe,q.splice(me++,0,Te)}return ae(q)}function H(W){var q,he,fe,me,Te,Ie,Be,Ue,je,_e,we,xe=[],Ke,Se,ge,tt;for(W=Y(W),Ke=W.length,q=_,he=0,Te=m,Ie=0;Ie<Ke;++Ie)we=W[Ie],we<128&&xe.push(F(we));for(fe=me=xe.length,me&&xe.push(y);fe<Ke;){for(Be=l,Ie=0;Ie<Ke;++Ie)we=W[Ie],we>=q&&we<Be&&(Be=we);for(Se=fe+1,Be-q>O((l-he)/Se)&&L("overflow"),he+=(Be-q)*Se,q=Be,Ie=0;Ie<Ke;++Ie)if(we=W[Ie],we<q&&++he>l&&L("overflow"),we==q){for(Ue=he,je=f;_e=je<=Te?p:je>=Te+g?g:je-Te,!(Ue<_e);je+=f)tt=Ue-_e,ge=f-_e,xe.push(F(G(_e+tt%ge,0))),Ue=O(tt/ge);xe.push(F(G(Ue,0))),Te=se(he,Se,fe==me),he=0,++fe}++he,++q}return xe.join("")}function J(W){return z(W,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(W){return z(W,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:Y,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 qw=ua.exports,Yw=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,Kw=Yw,Zw=function(){return typeof Nf!="function"||typeof Symbol!="function"||typeof Nf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Kw()},Lf={foo:{}},Qw=Object,Jw=function(){return{__proto__:Lf}.foo===Lf.foo&&!({__proto__:null}instanceof Qw)},eS="Function.prototype.bind called on incompatible ",wu=Array.prototype.slice,tS=Object.prototype.toString,rS="[object Function]",nS=function(e){var r=this;if(typeof r!="function"||tS.call(r)!==rS)throw new TypeError(eS+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=[],f=0;f<u;f++)l.push("$"+f);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},iS=nS,Su=Function.prototype.bind||iS,sS=Su,aS=sS.call(Function.call,Object.prototype.hasOwnProperty),Oe,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},oS=In?function(){try{return arguments.callee,Eu}catch{try{return In(arguments,"callee").get}catch{return Eu}}}():Eu,hi=Zw(),uS=Jw(),bt=Object.getPrototypeOf||(uS?function(t){return t.__proto__}:null),fi={},lS=typeof Uint8Array>"u"||!bt?Oe:bt(Uint8Array),Rn={"%AggregateError%":typeof AggregateError>"u"?Oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Oe:ArrayBuffer,"%ArrayIteratorPrototype%":hi&&bt?bt([][Symbol.iterator]()):Oe,"%AsyncFromSyncIteratorPrototype%":Oe,"%AsyncFunction%":fi,"%AsyncGenerator%":fi,"%AsyncGeneratorFunction%":fi,"%AsyncIteratorPrototype%":fi,"%Atomics%":typeof Atomics>"u"?Oe:Atomics,"%BigInt%":typeof BigInt>"u"?Oe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Oe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Oe:FinalizationRegistry,"%Function%":kf,"%GeneratorFunction%":fi,"%Int8Array%":typeof Int8Array>"u"?Oe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Oe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hi&&bt?bt(bt([][Symbol.iterator]())):Oe,"%JSON%":typeof JSON=="object"?JSON:Oe,"%Map%":typeof Map>"u"?Oe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hi||!bt?Oe:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Oe:Promise,"%Proxy%":typeof Proxy>"u"?Oe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Oe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hi||!bt?Oe:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hi&&bt?bt(""[Symbol.iterator]()):Oe,"%Symbol%":hi?Symbol:Oe,"%SyntaxError%":li,"%ThrowTypeError%":oS,"%TypedArray%":lS,"%TypeError%":ci,"%Uint8Array%":typeof Uint8Array>"u"?Oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Oe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Oe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Oe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Oe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Oe:WeakSet};if(bt)try{null.error}catch(t){var cS=bt(bt(t));Rn["%Error.prototype%"]=cS}var hS=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=aS,fS=as.call(Function.call,Array.prototype.concat),dS=as.call(Function.apply,Array.prototype.splice),Bf=as.call(Function.call,String.prototype.replace),ca=as.call(Function.call,String.prototype.slice),pS=as.call(Function.call,RegExp.prototype.exec),gS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,mS=/\\(\\)?/g,vS=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,gS,function(a,u,l,f){i[i.length]=l?Bf(f,mS,"$1"):u||a}),i},_S=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=hS(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(pS(/^%?[^%]*%?$/,e)===null)throw new li("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vS(e),i=n.length>0?n[0]:"",a=_S("%"+i+"%",r),u=a.name,l=a.value,f=!1,p=a.alias;p&&(i=p[0],dS(n,fS([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)&&(f=!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&&!f&&(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),f=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+f(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 yS=Uf.exports,$f=Cu,Gf=yS,xS=Gf($f("String.prototype.indexOf")),bS=function(e,r){var n=$f(e,!!r);return typeof n=="function"&&xS(e,".prototype.")>-1?Gf(n):n};const TS=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,wS=typeof WeakMap=="function"&&WeakMap.prototype,os=wS?WeakMap.prototype.has:null,SS=typeof WeakSet=="function"&&WeakSet.prototype,us=SS?WeakSet.prototype.has:null,AS=typeof WeakRef=="function"&&WeakRef.prototype,Vf=AS?WeakRef.prototype.deref:null,ES=Boolean.prototype.valueOf,CS=Object.prototype.toString,IS=Function.prototype.toString,RS=String.prototype.match,Ou=String.prototype.slice,an=String.prototype.replace,PS=String.prototype.toUpperCase,jf=String.prototype.toLowerCase,Xf=RegExp.prototype.test,Wf=Array.prototype.concat,Or=Array.prototype.join,MS=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=TS,Qf=ku.custom,Jf=rd(Qf)?Qf:null,OS=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 f=String(e);return l?Zf(e,f):f}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=KS(a,n);if(typeof i>"u")i=[];else if(nd(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=MS.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=GS(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(WS(e)){for(var b="<"+jf.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+ed(FS(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&&!YS(w)?"["+Uu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(LS(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(HS(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(jS(e)){var F=[];return zf&&zf.call(e,function(j){F.push(d(j,e))}),sd("Set",fa.call(e),F,c)}if(zS(e))return Bu("WeakMap");if(XS(e))return Bu("WeakSet");if(VS(e))return Bu("WeakRef");if(DS(e))return ls(d(Number(e)));if(US(e))return ls(d(Fu.call(e)));if(BS(e))return ls(ES.call(e));if(kS(e))return ls(d(String(e)));if(!NS(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",z=!L&&Rt&&Object(e)===e&&Rt in e?Ou.call(un(e),8,-1):D?"Object":"",Y=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=Y+(z||D?"["+Or.call(Wf.call([],z||[],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 FS(t){return an.call(String(t),/"/g,"&quot;")}function Du(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function NS(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 LS(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kS(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function DS(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function BS(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 US(t){if(!t||typeof t!="object"||!Fu)return!1;try{return Fu.call(t),!0}catch{}return!1}var $S=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return $S.call(t,e)}function un(t){return CS.call(t)}function GS(t){if(t.name)return t.name;var e=RS.call(IS.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 HS(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 zS(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 VS(t){if(!Vf||!t||typeof t!="object")return!1;try{return Vf.call(t),!0}catch{}return!1}function jS(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 XS(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 WS(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,qS);return ed(i,"single",e)}function qS(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":"")+PS.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 YS(t){for(var e=0;e<t.length;e++)if(nd(t[e],`
26
26
  `)>=0)return!1;return!0}function KS(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 f in t)on(t,f)&&(r&&String(Number(f))===f&&f<t.length||di&&u["$"+f]instanceof Symbol||(Xf.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],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=bS,ZS=OS,QS=$u("%TypeError%"),pa=$u("%WeakMap%",!0),ga=$u("%Map%",!0),JS=pi("WeakMap.prototype.get",!0),eA=pi("WeakMap.prototype.set",!0),tA=pi("WeakMap.prototype.has",!0),rA=pi("Map.prototype.get",!0),nA=pi("Map.prototype.set",!0),iA=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},sA=function(t,e){var r=Gu(t,e);return r&&r.value},aA=function(t,e,r){var n=Gu(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},oA=function(t,e){return!!Gu(t,e)},uA=function(){var e,r,n,i={assert:function(a){if(!i.has(a))throw new QS("Side channel does not contain "+ZS(a))},get:function(a){if(pa&&a&&(typeof a=="object"||typeof a=="function")){if(e)return JS(e,a)}else if(ga){if(r)return rA(r,a)}else if(n)return sA(n,a)},has:function(a){if(pa&&a&&(typeof a=="object"||typeof a=="function")){if(e)return tA(e,a)}else if(ga){if(r)return iA(r,a)}else if(n)return oA(n,a);return!1},set:function(a,u){pa&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new pa),eA(e,a,u)):ga?(r||(r=new ga),nA(r,a,u)):(n||(n={key:{},next:null}),aA(n,a,u))}};return i},lA=String.prototype.replace,cA=/%20/g,Hu={RFC1738:"RFC1738",RFC3986:"RFC3986"},zu={default:Hu.RFC3986,formatters:{RFC1738:function(t){return lA.call(t,cA,"+")},RFC3986:function(t){return String(t)}},RFC1738:Hu.RFC1738,RFC3986:Hu.RFC3986},hA=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}(),fA=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},dA=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)},pA=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},gA=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}},mA=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="",f=0;f<u.length;++f){var p=u.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===hA.RFC1738&&(p===40||p===41)){l+=u.charAt(f);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}f+=1,p=65536+((p&1023)<<10|u.charCodeAt(f)&1023),l+=Fr[240|p>>18]+Fr[128|p>>12&63]+Fr[128|p>>6&63]+Fr[128|p&63]}return l},vA=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),f=0;f<l.length;++f){var p=l[f],g=u[p];typeof g=="object"&&g!==null&&n.indexOf(g)===-1&&(r.push({obj:u,prop:p}),n.push(g))}return fA(r),e},_A=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},yA=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},xA=function(e,r){return[].concat(e,r)},bA=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:pA,combine:xA,compact:vA,decode:gA,encode:mA,isBuffer:yA,isRegExp:_A,maybeMap:bA,merge:dA},ud=uA,ma=od,cs=zu,TA=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,wA=Array.prototype.push,cd=function(t,e){wA.apply(t,$r(e)?e:[e])},SA=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 SA.call(e)},skipNulls:!1,strictNullHandling:!1},AA=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ju={},EA=function t(e,r,n,i,a,u,l,f,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 f=="function"?x=f(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(AA(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(f))L=f;else{var D=Object.keys(x);L=p?D.sort(p):D}for(var z=i&&$r(x)&&x.length===1?r+"[]":r,Y=0;Y<L.length;++Y){var ae=L[Y],j=typeof ae=="object"&&typeof ae.value<"u"?ae.value:x[ae];if(!(u&&j===null)){var G=$r(x)?typeof n=="function"?n(z,ae):z:z+(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,f,p,g,c,d,m,_,y,se))}}return N},CA=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(!TA.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}},IA=function(t,e){var r=t,n=CA(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 f=ld[l];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=f==="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,EA(r[d],d,f,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,RA=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},PA=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},MA="utf8=%26%2310003%3B",OA="utf8=%E2%9C%93",FA=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,f,p=r.charset;if(r.charsetSentinel)for(f=0;f<u.length;++f)u[f].indexOf("utf8=")===0&&(u[f]===OA?p="utf-8":u[f]===MA&&(p="iso-8859-1"),l=f,f=u.length);for(f=0;f<u.length;++f)if(f!==l){var g=u[f],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"&&(_=PA(_)),g.indexOf("[]=")>-1&&(_=RA(_)?[_]:_),Xu.call(n,m)?n[m]=gi.combine(n[m],_):n[m]=_}return n},NA=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 f=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,p=parseInt(f,10);!r.parseArrays&&f===""?u={0:i}:!isNaN(p)&&l!==f&&String(p)===f&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(u=[],u[p]=i):f!=="__proto__"&&(u[f]=i)}i=u}return i},LA=function(e,r,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,u=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,f=n.depth>0&&u.exec(a),p=f?a.slice(0,f.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&&(f=l.exec(a))!==null&&c<n.depth;){if(c+=1,!n.plainObjects&&Xu.call(Object.prototype,f[1].slice(1,-1))&&!n.allowPrototypes)return;g.push(f[1])}return f&&g.push("["+a.slice(f.index)+"]"),NA(g,r,n,i)}},kA=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}},DA=function(t,e){var r=kA(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?FA(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),u=0;u<a.length;++u){var l=a[u],f=LA(l,n[l],r,typeof t=="string");i=gi.merge(i,f,r)}return r.allowSparse===!0?i:gi.compact(i)},BA=IA,UA=DA,$A=zu,GA={formats:$A,parse:UA,stringify:BA},HA=qw;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 zA=/^([a-z0-9.+-]+:)/i,VA=/:[0-9]*$/,jA=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,XA=["<",">",'"',"`"," ","\r",`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reacthub-pixitweenjs",
3
- "version": "0.2.107-alpha.70",
3
+ "version": "0.2.107-alpha.72",
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",