PageSourceSearch

https://guild.host/assets/66d3a2ee0b0dc64e71af.js

js guild.host collected 2026-10-03 20:16:53 UTC 154,992 bytes, 3 lines download raw bytes

1/*! For license information please see 66d3a2ee0b0dc64e71af.js.LICENSE.txt */
2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[11274],{74579:(e,t,r)=>{"use strict";r.d(t,{t:()=>c}),r(76613);var n=r(92995),i=r(98518),o=r(70101);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u="__reactLayoutHandler",s=null,c={OS:"web",PixelRatio:"undefined"!==typeof window?window.devicePixelRatio:1,resolveAsset:function(e){if((0,o.isRNModule)(e)){if("number"===typeof e){var t=(0,r(54546).getAssetByID)(e);return t.httpServerLocation+"/"+t.name+"."+t.type}throw new Error("Asset source is a number - this is not supported on the web")}return"uri"in e?e.uri:e.default},findNodeHandle:function(){throw new Error("findNodeHandle is not supported on the web")},View:function(e){var t=e.children,r=e.onLayout,o=e.style,c=(0,i.useMemo)((function(){return null!==o&&void 0!==o?o:{}}),[o]),f=(0,i.useRef)(null);!function(e,t){var r=(null==s&&(s=new window.ResizeObserver((function(e){e.forEach((function(e){var t=e.target,r=e.contentRect,n=r.left,i=r.top,o=r.width,a=r.height,s=t[u];"function"===typeof s&&setTimeout((function(){return s({timeStamp:Date.now(),nativeEvent:{layout:{x:n,y:i,width:o,height:a}},currentTarget:0,target:0,bubbles:!1,cancelable:!1,defaultPrevented:!1,eventPhase:0,isDefaultPrevented:function(){throw new Error("Method not supported on web.")},isPropagationStopped:function(){throw new Error("Method not supported on web.")},persist:function(){throw new Error("Method not supported on web.")},preventDefault:function(){throw new Error("Method not supported on web.")},stopPropagation:function(){throw new Error("Method not supported on web.")},isTrusted:!0,type:""})}),0)}))}))),s);(0,i.useLayoutEffect)((function(){var r=e.current;null!==r&&(r[u]=t)}),[e,t]),(0,i.useLayoutEffect)((function(){var t=e.current;return null!=t&&null!=r&&("function"===typeof t[u]?r.observe(t):r.unobserve(t)),function(){null!=t&&null!=r&&r.unobserve(t)}}),[r,e])}(f,r);var l=(0,i.useMemo)((function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},c)}),[c]);return i.createElement("div",{ref:f,style:l},t)}}},2:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var n=function(e){return e[e.Difference=0]="Difference",e[e.Intersect=1]="Intersect",e}({})},4088:()=>{},33863:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var n=function(e){return"number"===typeof e}},4664:()=>{"use strict";var e=function(e,t,r){return{weight:e,width:t,slant:r}},t=function(e){return e[e.Invisible=0]="Invisible",e[e.Thin=100]="Thin",e[e.ExtraLight=200]="ExtraLight",e[e.Light=300]="Light",e[e.Normal=400]="Normal",e[e.Medium=500]="Medium",e[e.SemiBold=600]="SemiBold",e[e.Bold=700]="Bold",e[e.ExtraBold=800]="ExtraBold",e[e.Black=900]="Black",e[e.ExtraBlack=1e3]="ExtraBlack",e}({}),r=function(e){return e[e.UltraCondensed=1]="UltraCondensed",e[e.ExtraCondensed=2]="ExtraCondensed",e[e.Condensed=3]="Condensed",e[e.SemiCondensed=4]="SemiCondensed",e[e.Normal=5]="Normal",e[e.SemiExpanded=6]="SemiExpanded",e[e.Expanded=7]="Expanded",e[e.ExtraExpanded=8]="ExtraExpanded",e[e.UltraExpanded=9]="UltraExpanded",e}({}),n=function(e){return e[e.Upright=0]="Upright",e[e.Italic=1]="Italic",e[e.Oblique=2]="Oblique",e}({});e(t.Normal,r.Normal,n.Upright),e(t.Bold,r.Normal,n.Upright),e(t.Normal,r.Normal,n.Italic),e(t.Bold,r.Normal,n.Italic)},45745:(e,t,r)=>{"use strict";r.d(t,{X9:()=>i,b:()=>o,FN:()=>a});var n,i=function(e){return e[e.Nearest=0]="Nearest",e[e.Linear=1]="Linear",e}({}),o=function(e){return e[e.None=0]="None",e[e.Nearest=1]="Nearest",e[e.Linear=2]="Linear",e}({}),a=((n=function(e){return"B"in e&&"C"in e}).__closure={},n.__workletHash=4655315080179,n)},46721:(e,t,r)=>{"use strict";r.d(t,{aV:()=>i,$7:()=>n});var n=function(e){return e[e.Clamp=0]="Clamp",e[e.Repeat=1]="Repeat",e[e.Mirror=2]="Mirror",e[e.Decal=3]="Decal",e}({}),i=function(e){return e[e.R=0]="R",e[e.G=1]="G",e[e.B=2]="B",e[e.A=3]="A",e}({})},13562:()=>{},73445:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var n=function(e){return e[e.Normal=0]="Normal",e[e.Solid=1]="Solid",e[e.Outer=2]="Outer",e[e.Inner=3]="Inner",e}({})},15019:(e,t,r)=>{"use strict";r.d(t,{f7:()=>o});var n,i=r(18421),o=((n=function(e,t){var r=(0,i.ud)(t);return e.concat(r),e}).__closure={processTransform3d:i.ud},n.__workletHash=7600920411666,n)},18421:(e,t,r)=>{"use strict";r.d(t,{ud:()=>X,vy:()=>z});var n,i,o,a,u,s,c,f,l,h,d,p,y,g,v,m,b,A,_,w,P,T,C,M,k,F,S,x,E,B,R=r(78019),D=r(60697),I=((n=function(e){throw new Error("Unexhaustive handling for "+e)}).__closure={},n.__workletHash=8129029734104,n),L=((i=function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}).__closure={},i.__workletHash=0xd7a34f8ded0,i),O=((o=function(e,t){return[1,0,0,e,0,1,0,t,0,0,1,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,0,0,0,1]}).__closure={},o.__workletHash=1283578139948,o),H=((a=function(e){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,-1/e,1]}).__closure={},a.__workletHash=7347197968821,a),j=((u=function(e){var t=(0,D.Z)(e,3),r=t[0],n=t[1],i=t[2],o=Math.sqrt(r*r+n*n+i*i);
2return 0===o?[0,0,0]:[r/o,n/o,i/o]}).__closure={},u.__workletHash=0x974f2c3acdd,u),G=((s=function(e,t,r){var n=e[0],i=e[1],o=e[2],a=1-r;return[a*n*n+r,a*n*i-t*o,a*n*o+t*i,0,a*n*i+t*o,a*i*i+r,a*i*o-t*n,0,a*n*o-t*i,a*i*o+t*n,a*o*o+r,0,0,0,0,1]}).__closure={},s.__workletHash=0xcc7a81bed2a,s),W=((c=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]}).__closure={},c.__workletHash=0xe662a859da2,c),U=((f=function(e,t){var r=W(e,[].concat((0,R.Z)(t),[1]));return[r[0]/r[3],r[1]/r[3],r[2]/r[3]]}).__closure={matrixVecMul4:W},f.__workletHash=6689500399552,(l=function(e,t){for(var r=new Array(16).fill(0),n=0;n<4;n++)for(var i=0;i<4;i++)r[4*n+i]=e[4*n]*t[i]+e[4*n+1]*t[i+4]+e[4*n+2]*t[i+8]+e[4*n+3]*t[i+12];return r}).__closure={},l.__workletHash=5765954600262,l),N=((h=function(e){return[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1]}).__closure={},h.__workletHash=4773075386487,h),V=((d=function(e){return[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1]}).__closure={},d.__workletHash=1871192719510,d),z=((p=function(e){return[e[0],e[1],e[3],e[4],e[5],e[7],e[12],e[13],e[15]]}).__closure={},p.__workletHash=0x983102f1aea,p),q=((y=function(e,t){return G(j(e),Math.sin(t),Math.cos(t))}).__closure={rotatedUnitSinCos:G,normalizeVec:j},y.__workletHash=1303846517270,y),$=((g=function(e,t){return U(O(t.x,t.y),U(e,O(-t.x,-t.y)))}).__closure={multiply4:U,translate:O},g.__workletHash=0xa657826fbff,g),Y=((v=function(e,t){var r=arguments.length>3?arguments[3]:void 0,n=[e,0,0,0,0,t,0,0,0,0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,0,0,0,0,1];return r?$(n,r):n}).__closure={pivot:$},v.__workletHash=0xf0677d0f775,v),Z=((m=function(e,t,r){var n=q(e,t);return r?$(n,r):n}).__closure={rotate:q,pivot:$},m.__workletHash=0xf6af6ae761c,m),X=((b=function(e,t){return Z([0,0,1],e,t)}).__closure={rotateAxis:Z},b.__workletHash=3243560710632,(A=function(e,t){return Z([1,0,0],e,t)}).__closure={rotateAxis:Z},A.__workletHash=5701320477575,(_=function(e,t){return Z([0,1,0],e,t)}).__closure={rotateAxis:Z},_.__workletHash=0xb03031f0b26,(w=function(e){return e.reduce((function(e,t){var r=Object.keys(t)[0],n=t;if("translateX"===r){var i=n[r];return U(e,O(i,0,0))}if("translate"===r){var o=(0,D.Z)(n[r],3),a=o[0],u=o[1],s=o[2];return U(e,O(a,u,void 0===s?0:s))}if("translateY"===r){var c=n[r];return U(e,O(0,c,0))}if("translateZ"===r){var f=n[r];return U(e,O(0,0,f))}if("scale"===r){var l=n[r];return U(e,Y(l,l,1))}if("scaleX"===r){var h=n[r];return U(e,Y(h,1,1))}if("scaleY"===r){var d=n[r];return U(e,Y(1,d,1))}if("skewX"===r){var p=n[r];return U(e,V(p))}if("skewY"===r){var y=n[r];return U(e,N(y))}if("rotateX"===r){var g=n[r];return U(e,q([1,0,0],g))}if("rotateY"===r){var v=n[r];return U(e,q([0,1,0],v))}if("perspective"===r){var m=n[r];return U(e,H(m))}if("rotate"===r||"rotateZ"===r){var b=n[r];return U(e,q([0,0,1],b))}if("matrix"===r){var A=n[r];return U(e,A)}return I(r)}),L())}).__closure={multiply4:U,translate:O,scale:Y,skewX:V,skewY:N,rotate:q,perspective:H,exhaustiveCheck:I,Matrix4:L},w.__workletHash=2225508254275,w),J=((P=function(e){for(var t=new Array(16),r=0;r<4;r++)for(var n=0;n<4;n++)t[4*n+r]=e[4*r+n];return t}).__closure={},P.__workletHash=8340212603925,(T=function(e){for(var t=new Array(9),r=0;r<3;r++)for(var n=0;n<3;n++)t[3*n+r]=e[3*r+n];return t}).__closure={},T.__workletHash=739290513647,(C=function(e){return[e[0],e[1],e[4],e[5],e[12],e[13]]}).__closure={},C.__workletHash=9042350520027,(M=function(e,t,r,n,i,o,a,u,s){return e*(i*s-o*u)+t*(o*a-n*s)+r*(n*u-i*a)}).__closure={},M.__workletHash=0x9348147cacb,M),K=((k=function(e){var t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],a=e[5],u=e[6],s=e[7],c=e[8],f=e[9],l=e[10],h=e[11],d=e[12],p=e[13],y=e[14],g=e[15],v=J(a,u,s,f,l,h,p,y,g),m=-J(o,u,s,c,l,h,d,y,g),b=J(o,a,s,c,f,h,d,p,g),A=-J(o,a,u,c,f,l,d,p,y),_=-J(r,n,i,f,l,h,p,y,g),w=J(t,n,i,c,l,h,d,y,g),P=-J(t,r,i,c,f,h,d,p,g),T=J(t,r,n,c,f,l,d,p,y),C=J(r,n,i,a,u,s,p,y,g),M=-J(t,n,i,o,u,s,d,y,g),k=J(t,r,i,o,a,s,d,p,g),F=-J(t,r,n,o,a,u,d,p,y),S=-J(r,n,i,a,u,s,f,l,h),x=J(t,n,i,o,u,s,c,l,h),E=-J(t,r,i,o,a,s,c,f,h),B=J(t,r,n,o,a,u,c,f,l),R=t*v+r*m+n*b+i*A;if(Math.abs(R)<1e-8)return L();var D=1/R;return[v*D,_*D,C*D,S*D,m*D,w*D,M*D,x*D,b*D,P*D,k*D,E*D,A*D,T*D,F*D,B*D]}).__closure={det3x3:J,Matrix4:L},k.__workletHash=7661648650085,k),Q=((F=function(e,t){return[e[0]-t[0],e[1]-t[1],e[2]-t[2]]}).__closure={},F.__workletHash=2589765625099,F),ee=((S=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}).__closure={},S.__workletHash=5534303653513,S),te=((x=function(e,t,r){var n=j(Q(t,e)),i=j(r),o=j(ee(n,i)),a=ee(o,n),u=[o[0],a[0],-n[0],e[0],o[1],a[1],-n[1],e[1],o[2],a[2],-n[2],e[2],0,0,0,1];return K(u)}).__closure={normalizeVec:j,vecSub:Q,vecCross:ee,invert4:K},x.__workletHash=4420818988046,x),re=((E=function(e,t,r){var n=1/(t-e),i=r/2,o=Math.cos(i)/Math.sin(i);return[o,0,0,0,0,o,0,0,0,0,(t+e)*n,2*t*e*n,0,0,-1,1]}).__closure={},E.__workletHash=0xdd95cb3ee1b,E);(B=function(e,t,r){var n=te(r.eye,r.coa,r.up),i=re(r.near,r.far,r.angle),o=[(e[0]+e[2])/2,(e[1]+e[3])/2,0],a=[(e[2]-e[0])/2,(e[3]-e[1])/2,t],u=U(O(o[0],o[1],o[2]),Y(a[0],a[1],a[2]));return U(U(u,i),U(n,K(u)))}).__closure={lookat:te,perspectiveMatrix:re,multiply4:U,translate:O,scale:Y,invert4:K},B.__workletHash=0xe6c79810a60},33026:(e,t,r)=>{"use strict";r.d(t,{Ao:()=>o,x_:()=>a});var n=r(61357),i=r(506),o=(0,n.Z)((function e(){(0,i.Z)(this,e)})),a=function(e){return e instanceof HTMLVideoElement||e instanceof HTMLCanvasElement||e instanceof ImageBitmap||e instanceof OffscreenCanvas||"undefined"!==typeof VideoFrame&&e instanceof VideoFrame||e instanceof HTMLImageElement||e instanceof SVGImageElement||e instanceof o}},11972:(e,t,r)=>{"use strict";r.d(t,{bt:()=>a,zb:()=>n,h8:()=>i,tG:()=>o});var n=function(e){return e[e.Fill=0]="Fill",e[e.Stroke=1]="Stroke",e}({}),i=function(e){return e[e.Butt=0]="Butt",e[e.Round=1]="Round",e[e.Square=2]="Square",e}({}),o=function(e){return e[e.Miter=0]="Miter",e[e.Round=1]="Round",e[e.Bevel=2]="Bevel",e}({}),a=function(e){return e[e.Clear=0]="Clear",e[e.Src=1]="Src",e[e.Dst=2]="Dst",e[e.SrcOver=3]="SrcOver",e[e.DstOver=4]="DstOver",e[e.SrcIn=5]="SrcIn",e[e.DstIn=6]="DstIn",e[e.SrcOut=7]="SrcOut",e[e.DstOut=8]="DstOut",e[e.SrcATop=9]="SrcATop",e[e.DstATop=10]="DstATop",e[e.Xor=11]="Xor",e[e.Plus=12]="Plus",e[e.Modulate=13]="Modulate",e[e.Screen=14]="Screen",e[e.Overlay=15]="Overlay",e[e.Darken=16]="Darken",e[e.Lighten=17]="Lighten",e[e.ColorDodge=18]="ColorDodge",e[e.ColorBurn=19]="ColorBurn",e[e.HardLight=20]="HardLight",e[e.SoftLight=21]="SoftLight",e[e.Difference=22]="Difference",e[e.Exclusion=23]="Exclusion",e[e.Multiply=24]="Multiply",e[e.Hue=25]="Hue",e[e.Saturation=26]="Saturation",e[e.Color=27]="Color",e[e.Luminosity=28]="Luminosity",e[e.PlusDarker=1001]="PlusDarker",e[e.PlusLighter=1002]="PlusLighter",e}({})},52062:(e,t,r)=>{"use strict";r.d(t,{yw:()=>n,EQ:()=>o,m5:()=>i});var n=function(e){return e[e.Baseline=0]="Baseline",e[e.AboveBaseline=1]="AboveBaseline",e[e.BelowBaseline=2]="BelowBaseline",e[e.Top=3]="Top",e[e.Bottom=4]="Bottom",e[e.Middle=5]="Middle",e}({}),i=function(e){return e[e.RTL=0]="RTL",e[e.LTR=1]="LTR",e}({}),o=function(e){return e[e.Alphabetic=0]="Alphabetic",e[e.Ideographic=1]="Ideographic",e}({})},64771:(e,t,r)=>{"use strict";r.d(t,{lm:()=>i,Tb:()=>o,AZ:()=>a});var n,i=function(e){return e[e.Winding=0]="Winding",e[e.EvenOdd=1]="EvenOdd",e[e.InverseWinding=2]="InverseWinding",e[e.InverseEvenOdd=3]="InverseEvenOdd",e}({}),o=function(e){return e[e.Move=0]="Move",e[e.Line=1]="Line",e[e.Quad=2]="Quad",e[e.Conic=3]="Conic",e[e.Cubic=4]="Cubic",e[e.Close=5]="Close",e}({}),a=((n=function(e){return null!==e&&"Path"===e.__typename__}).__closure={},n.__workletHash=0xc29f3bffc47,n)},17873:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var n=function(e){return e[e.Translate=0]="Translate",e[e.Rotate=1]="Rotate",e[e.Morph=2]="Morph",e}({})},54348:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});var n=function(e){return e[e.Points=0]="Points",e[e.Lines=1]="Lines",e[e.Polygon=2]="Polygon",e}({})},21162:(e,t,r)=>{"use strict";r.d(t,{J:()=>i});var n,i=((n=function(e){return"object"===typeof e&&null!==e&&"object"===typeof e.rect}).__closure={},n.__workletHash=4485961906480,n)},42787:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n,i=((n=function(e){if("object"===typeof e&&null!==e){var t=e;return"number"===typeof t.x&&"number"===typeof t.y&&"number"===typeof t.width&&"number"===typeof t.height}return!1}).__closure={},n.__workletHash=0xc87d66445ea,n)},84412:(e,t,r)=>{"use strict";r.d(t,{q:()=>s});var n,i,o=r(78019),a=(r(76613),r(51818),r(97819),r(49478),(n=function(e){return void 0!==e.x&&void 0!==e.y}).__closure={},n.__workletHash=9109868718361,n),u=function(){var e=function e(t,r){"number"===typeof r?t.pu
2sh(r):Array.isArray(r)?r.forEach((function(r){return e(t,r)})):a(r)?t.push(r.x,r.y):r instanceof Float32Array&&t.push.apply(t,(0,o.Z)(r))};return e.__closure={isVector:a},e.__workletHash=5973241035585,e}(),s=((i=function(e,t,r){for(var n=[],i=e.getUniformCount(),o=0;o<i;o++){var a=e.getUniformName(o),s=t[a];if(void 0===s)throw new Error('The runtime effect has the uniform value "'+a+'" declared, but it is missing from the uniforms property of the Runtime effect.');if(void 0===r)u(n,s);else{var c=[];u(c,s),r.setUniform(a,c),n.push.apply(n,c)}}return n}).__closure={processValue:u},i.__workletHash=0xe2002eea563,i)},91882:()=>{},27649:()=>{},43436:()=>{},59716:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});var n=function(e){return e[e.Triangles=0]="Triangles",e[e.TriangleStrip=1]="TriangleStrip",e[e.TriangleFan=2]="TriangleFan",e}({})},70101:(e,t,r)=>{"use strict";r.d(t,{BlendMode:()=>s.bt,BlurStyle:()=>h.t,CanvasKitWebGLBuffer:()=>w.Ao,ClipOp:()=>l._,ColorChannel:()=>u.aV,FillType:()=>c.lm,FilterMode:()=>a.X9,MipmapMode:()=>a.b,PaintStyle:()=>s.zb,Path1DEffectStyle:()=>p.b,PathVerb:()=>c.Tb,PlaceholderAlignment:()=>A.yw,PointMode:()=>y.u,StrokeCap:()=>s.h8,StrokeJoin:()=>s.tG,TextBaseline:()=>A.EQ,TextDirection:()=>A.m5,TileMode:()=>u.$7,VertexMode:()=>i.U,isCubicSampling:()=>a.FN,isNativeBufferWeb:()=>w.x_,isPath:()=>c.AZ,isRNModule:()=>n.c,isRRect:()=>v.J,isRect:()=>g.E,processTransform:()=>d.f7,processUniforms:()=>o.q,toMatrix3:()=>_.vy});var n=r(33863),i=(r(43436),r(59716)),o=r(84412),a=r(45745),u=r(46721),s=(r(4664),r(11972)),c=r(64771),f=r(4088);r.o(f,"BlurStyle")&&r.d(t,{BlurStyle:function(){return f.BlurStyle}}),r.o(f,"CanvasKitWebGLBuffer")&&r.d(t,{CanvasKitWebGLBuffer:function(){return f.CanvasKitWebGLBuffer}}),r.o(f,"ClipOp")&&r.d(t,{ClipOp:function(){return f.ClipOp}}),r.o(f,"Path")&&r.d(t,{Path:function(){return f.Path}}),r.o(f,"Path1DEffectStyle")&&r.d(t,{Path1DEffectStyle:function(){return f.Path1DEffectStyle}}),r.o(f,"PlaceholderAlignment")&&r.d(t,{PlaceholderAlignment:function(){return f.PlaceholderAlignment}}),r.o(f,"PointMode")&&r.d(t,{PointMode:function(){return f.PointMode}}),r.o(f,"TextBaseline")&&r.d(t,{TextBaseline:function(){return f.TextBaseline}}),r.o(f,"TextDirection")&&r.d(t,{TextDirection:function(){return f.TextDirection}}),r.o(f,"isNativeBufferWeb")&&r.d(t,{isNativeBufferWeb:function(){return f.isNativeBufferWeb}}),r.o(f,"isRRect")&&r.d(t,{isRRect:function(){return f.isRRect}}),r.o(f,"isRect")&&r.d(t,{isRect:function(){return f.isRect}}),r.o(f,"processTransform")&&r.d(t,{processTransform:function(){return f.processTransform}}),r.o(f,"toMatrix3")&&r.d(t,{toMatrix3:function(){return f.toMatrix3}});var l=r(2),h=r(73445),d=r(15019),p=r(17873),y=r(54348),g=r(42787),v=r(21162),m=r(13562);r.o(m,"CanvasKitWebGLBuffer")&&r.d(t,{CanvasKitWebGLBuffer:function(){return m.CanvasKitWebGLBuffer}}),r.o(m,"Path")&&r.d(t,{Path:function(){return m.Path}}),r.o(m,"PlaceholderAlignment")&&r.d(t,{PlaceholderAlignment:function(){return m.PlaceholderAlignment}}),r.o(m,"TextBaseline")&&r.d(t,{TextBaseline:function(){return m.TextBaseline}}),r.o(m,"TextDirection")&&r.d(t,{TextDirection:function(){return m.TextDirection}}),r.o(m,"isNativeBufferWeb")&&r.d(t,{isNativeBufferWeb:function(){return m.isNativeBufferWeb}}),r.o(m,"toMatrix3")&&r.d(t,{toMatrix3:function(){return m.toMatrix3}});var b=r(91882);r.o(b,"CanvasKitWebGLBuffer")&&r.d(t,{CanvasKitWebGLBuffer:function(){return b.CanvasKitWebGLBuffer}}),r.o(b,"Path")&&r.d(t,{Path:function(){return b.Path}}),r.o(b,"PlaceholderAlignment")&&r.d(t,{PlaceholderAlignment:function(){return b.PlaceholderAlignment}}),r.o(b,"TextBaseline")&&r.d(t,{TextBaseline:function(){return b.TextBaseline}}),r.o(b,"TextDirection")&&r.d(t,{TextDirection:function(){return b.TextDirection}}),r.o(b,"isNativeBufferWeb")&&r.d(t,{isNativeBufferWeb:function(){return b.isNativeBufferWeb}}),r.o(b,"toMatrix3")&&r.d(t,{toMatrix3:function(){return b.toMatrix3}});var A=r(52062),_=r(18421),w=r(33026);r(27649)},40477:(e,t,r)=>{"use strict";r.d(t,{Rq:()=>l});var n,i,o=r(45391),a=r.n(o),u=(i=function(e){var t,r,i;if(void 0===window.CanvasKit)return i=function(e){window.CanvasKit=e},(r=n=null!==(t=n)&&void 0!==t?t:a()(e))&&r.then||(r=Promise.resolve(r)),i?r.then(i):r},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(i.apply(this,e))}catch(e){return Promise.reject(e)}}),s=r(98518),c=r(74579);function f(){}var l=function(e){var t=e.getComponent,r=e.fallback,n=e.opts,i=e.componentProps,o=(0,s.useMemo)((function(){return(0,s.lazy)(function(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}((function(){return e=function(){return t()},(r=function(){if("web"===c.t.OS)return(e=u(n))&&e.then?e.then(f):Promise.resolve();var e}())&&r.then?r.then(e):e();var e,r})))}),[]);return s.createElement(s.Suspense,{fallback:null!==r&&void 0!==r?r:null},s.createElement(o,i))}},45391:(e,t,r)=>{var n=r(86700),i=r(17870),o=r(96987),a=r(31513),u=r(38982),s=r(68517),c=r(43475);function f(e){var t=l();return function(){var r,n=u(e);if(t){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return a(this,r)}}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}r(76613),r(51818),r(97819),r(49478),r(38014),r(97663),r(30946),r(22678);var h,d=(h=(h="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(){var e,t,a,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=u;l.ready=new Promise((function(r,n){e=r,t=n})),(a=l).ke=a.ke||[],a.ke.push((function(){a.MakeSWCanvasSurface=function(e){var t=e,r="undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas;if(!("undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||r||(t=document.getElementById(e),t)))throw"Canvas with id "+e+" was not found";return(e=a.MakeSurface(t.width,t.height))&&(e.de=t),e},a.MakeCanvasSurface||(a.MakeCanvasSurface=a.MakeSWCanvasSurface),a.MakeSurface=function(e,t){var r={width:e,height:t,colorType:a.ColorType.RGBA_8888,alphaType:a.AlphaType.Unpremul,colorSpace:a.ColorSpace.SRGB},n=e*t*4,i=a._malloc(n);return(r=a.Surface._makeRasterDirect(r,i,4*e))&&(r.de=null,r.Yf=e,r.Uf=t,r.Wf=n,r.xf=i,r.getCanvas().clear(a.TRANSPARENT)),r},a.MakeRasterDirectSurface=function(e,t,r){return a.Surface._makeRasterDirect(e,t.byteOffset,r)},a.Surface.prototype.flush=function(e){if(a.ee(this.ce),this._flush(),this.de){var t=new Uint8ClampedArray(a.HEAPU8.buffer,this.xf,this.Wf);t=new ImageData(t,this.Yf,this.Uf),e?this.de.getContext("2d").putImageData(t,0,0,e[0],e[1],e[2]-e[0],e[3]-e[1]):this.de.getContext("2d").putImageData(t,0,0)}},a.Surface.prototype.dispose=function(){this.xf&&a._free(this.xf),this.delete()},a.ee=a.ee||function(){},a.nf=a.nf||function(){return null}})),function(e){e.ke=e.ke||[],e.ke.push((function(){function t(e,t,r){return e&&e.hasOwnProperty(t)?e[t]:r}function r(e){var t=jt(Ft);return Ft[t]=e,t}function n(e){return e.naturalHeight||e.videoHeight||e.displayHeight||e.height}
2function i(e){return e.naturalWidth||e.videoWidth||e.displayWidth||e.width}function o(t,r,n,i){return t.bindTexture(t.TEXTURE_2D,r),i||n.alphaType!==e.AlphaType.Premul||t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),r}function a(t,r,n){n||r.alphaType!==e.AlphaType.Premul||t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),t.bindTexture(t.TEXTURE_2D,null)}e.GetWebGLContext=function(e,r){if(!e)throw"null canvas passed into makeWebGLContext";var n={alpha:t(r,"alpha",1),depth:t(r,"depth",1),stencil:t(r,"stencil",8),antialias:t(r,"antialias",0),premultipliedAlpha:t(r,"premultipliedAlpha",1),preserveDrawingBuffer:t(r,"preserveDrawingBuffer",0),preferLowPowerToHighPerformance:t(r,"preferLowPowerToHighPerformance",0),failIfMajorPerformanceCaveat:t(r,"failIfMajorPerformanceCaveat",0),enableExtensionsByDefault:t(r,"enableExtensionsByDefault",1),explicitSwapControl:t(r,"explicitSwapControl",0),renderViaOffscreenBackBuffer:t(r,"renderViaOffscreenBackBuffer",0)};if(n.majorVersion=r&&r.majorVersion?r.majorVersion:"undefined"!==typeof WebGL2RenderingContext?2:1,n.explicitSwapControl)throw"explicitSwapControl is not supported";return e=function(e,t){e.ef||(e.ef=e.getContext,e.getContext=function(t,r){return"webgl"==t==(r=e.ef(t,r))instanceof WebGLRenderingContext?r:null});var r=1<t.majorVersion?e.getContext("webgl2",t):e.getContext("webgl",t);return r?function(e,t){var r=jt(Et),n={handle:r,attributes:t,version:t.majorVersion,ye:e};return e.canvas&&(e.canvas.Sf=n),Et[r]=n,("undefined"==typeof t.fg||t.fg)&&function(e){if(e||(e=bt),!e.pg){e.pg=!0;var t=e.ye;!function(e){var t=e.getExtension("ANGLE_instanced_arrays");t&&(e.vertexAttribDivisor=function(e,r){t.vertexAttribDivisorANGLE(e,r)},e.drawArraysInstanced=function(e,r,n,i){t.drawArraysInstancedANGLE(e,r,n,i)},e.drawElementsInstanced=function(e,r,n,i,o){t.drawElementsInstancedANGLE(e,r,n,i,o)})}(t),function(e){var t=e.getExtension("OES_vertex_array_object");t&&(e.createVertexArray=function(){return t.createVertexArrayOES()},e.deleteVertexArray=function(e){t.deleteVertexArrayOES(e)},e.bindVertexArray=function(e){t.bindVertexArrayOES(e)},e.isVertexArray=function(e){return t.isVertexArrayOES(e)})}(t),function(e){var t=e.getExtension("WEBGL_draw_buffers");t&&(e.drawBuffers=function(e,r){t.drawBuffersWEBGL(e,r)})}(t),t.Jf=t.getExtension("WEBGL_draw_instanced_base_vertex_base_instance"),t.Nf=t.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance"),2<=e.version&&(t.Ae=t.getExtension("EXT_disjoint_timer_query_webgl2")),(2>e.version||!t.Ae)&&(t.Ae=t.getExtension("EXT_disjoint_timer_query")),t.Og=t.getExtension("WEBGL_multi_draw"),(t.getSupportedExtensions()||[]).forEach((function(e){e.includes("lose_context")||e.includes("debug")||t.getExtension(e)}))}}(n),r}(r,t):0}(e,n),e?(Gt(e),bt.ye.getExtension("WEBGL_debug_renderer_info"),e):0},e.deleteContext=function(e){bt===Et[e]&&(bt=null),"object"==typeof JSEvents&&JSEvents.Qg(Et[e].ye.canvas),Et[e]&&Et[e].ye.canvas&&(Et[e].ye.canvas.Sf=void 0),Et[e]=null},e._setTextureCleanup({deleteTexture:function(e,t){var r=Ft[t];r&&Et[e].ye.deleteTexture(r),Ft[t]=null}}),e.MakeWebGLContext=function(t){if(!this.ee(t))return null;var r=this._MakeGrContext();if(!r)return null;r.ce=t;var n=r.delete.bind(r);return r.delete=function(){e.ee(this.ce),n()}.bind(r),bt.Bf=r},e.MakeGrContext=e.MakeWebGLContext,e.GrDirectContext.prototype.getResourceCacheLimitBytes=function(){e.ee(this.ce),this._getResourceCacheLimitBytes()},e.GrDirectContext.prototype.getResourceCacheUsageBytes=function(){e.ee(this.ce),this._getResourceCacheUsageBytes()},e.GrDirectContext.prototype.releaseResourcesAndAbandonContext=function(){e.ee(this.ce),this._releaseResourcesAndAbandonContext()},e.GrDirectContext.prototype.setResourceCacheLimitBytes=function(t){e.ee(this.ce),this._setResourceCacheLimitBytes(t)},e.MakeOnScreenGLSurface=function(e,t,r,n,i,o){return this.ee(e.ce)&&(t=void 0===i||void 0===o?this._MakeOnScreenGLSurface(e,t,r,n):this._MakeOnScreenGLSurface(e,t,r,n,i,o))?(t.ce=e.ce,t):null},e.MakeRenderTarget=function(){var e=arguments[0];if(!this.ee(e.ce))return null;if(3===arguments.length){var t=this._MakeRenderTargetWH(e,arguments[1],arguments[2]);if(!t)return null}else{if(2!==arguments.length)return null;if(!(t=this._MakeRenderTargetII(e,arguments[1])))return null}return t.ce=e.ce,t},e.MakeWebGLCanvasSurface=function(t,r,n){r=r||null;var i=t,o="undefined"!==typeof OffscreenCanvas&&i instanceof OffscreenCanvas;if(!("undefined"!==typeof HTMLCanvasElement&&i instanceof HTMLCanvasElement||o||(i=document.getElementById(t),i)))throw"Canvas with id "+t+" was not found";if(!(t=this.GetWebGLContext(i,n))||0>t)throw"failed to create webgl context: err "+t;return t=this.MakeWebGLContext(t),(r=this.MakeOnScreenGLSurface(t,i.width,i.height,r))||(r=i.cloneNode(!0),i.parentNode.replaceChild(r,i),r.classList.add("ck-replaced"),e.MakeSWCanvasSurface(r))},e.MakeCanvasSurface=e.MakeWebGLCanvasSurface,e.Surface.prototype.makeImageFromTexture=function(t,n){return e.ee(this.ce),t=r(t),(n=this._makeImageFromTexture(this.ce,t,n))&&
2(n.df=t),n},e.Surface.prototype.makeImageFromTextureSource=function(t,r,u){r||(r={height:n(t),width:i(t),colorType:e.ColorType.RGBA_8888,alphaType:u?e.AlphaType.Premul:e.AlphaType.Unpremul}),r.colorSpace||(r.colorSpace=e.ColorSpace.SRGB),e.ee(this.ce);var s=bt.ye;return u=o(s,s.createTexture(),r,u),2===bt.version?s.texImage2D(s.TEXTURE_2D,0,s.RGBA,r.width,r.height,0,s.RGBA,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,s.RGBA,s.RGBA,s.UNSIGNED_BYTE,t),a(s,r),this._resetContext(),this.makeImageFromTexture(u,r)},e.Surface.prototype.updateTextureFromSource=function(t,u,s){if(t.df){e.ee(this.ce);var c=t.getImageInfo(),f=bt.ye,l=o(f,Ft[t.df],c,s);2===bt.version?f.texImage2D(f.TEXTURE_2D,0,f.RGBA,i(u),n(u),0,f.RGBA,f.UNSIGNED_BYTE,u):f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,u),a(f,c,s),this._resetContext(),Ft[t.df]=null,t.df=r(l),c.colorSpace=t.getColorSpace(),u=this._makeImageFromTexture(this.ce,t.df,c),s=t.be.je,f=t.be.qe,t.be.je=u.be.je,t.be.qe=u.be.qe,u.be.je=s,u.be.qe=f,u.delete(),c.colorSpace.delete()}},e.MakeLazyImageFromTextureSource=function(t,u,s){u||(u={height:n(t),width:i(t),colorType:e.ColorType.RGBA_8888,alphaType:s?e.AlphaType.Premul:e.AlphaType.Unpremul}),u.colorSpace||(u.colorSpace=e.ColorSpace.SRGB);var c={makeTexture:function(){var e=bt,n=e.ye,i=o(n,n.createTexture(),u,s);return 2===e.version?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,u.width,u.height,0,n.RGBA,n.UNSIGNED_BYTE,t):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),a(n,u,s),r(i)},freeSrc:function(){}};return"VideoFrame"===t.constructor.name&&(c.freeSrc=function(){t.close()}),e.Image._makeFromGenerator(u,c)},e.ee=function(e){return!!e&&Gt(e)},e.nf=function(){return bt&&bt.Bf&&!bt.Bf.isDeleted()?bt.Bf:null}}))}(l),function(e){function t(e,t,r,n,i){for(var o=0;o<e.length;o++)t[o*r+(o*i+n+r)%r]=e[o];return t}function r(e){for(var t=e*e,r=Array(t);t--;)r[t]=0===t%(e+1)?1:0;return r}function n(e){return!!e&&e.constructor===Float32Array&&4===e.length}function i(e){return(u(255*e[3])<<24|u(255*e[0])<<16|u(255*e[1])<<8|u(255*e[2]))>>>0}function o(e){if(e&&e._ck)return e;if(e instanceof Float32Array){for(var t=Math.floor(e.length/4),r=new Uint32Array(t),n=0;n<t;n++)r[n]=i(e.slice(4*n,4*(n+1)));return r}return e instanceof Uint32Array?e:e instanceof Array&&e[0]instanceof Float32Array?e.map(i):void 0}function a(e){if(void 0===e)return 1;var t=parseFloat(e);return e&&-1!==e.indexOf("%")?t/100:t}function u(e){return Math.round(Math.max(0,Math.min(e||0,255)))}function s(t,r){r&&r._ck||e._free(t)}function c(t,r,n){if(!t||!t.length)return N;if(t&&t._ck)return t.byteOffset;var i=e[r].BYTES_PER_ELEMENT;return n||(n=e._malloc(t.length*i)),e[r].set(t,n/i),n}function f(t){var r={ue:N,count:t.length,colorType:e.ColorType.RGBA_F32};if(t instanceof Float32Array)r.ue=c(t,"HEAPF32"),r.count=t.length/4;else if(t instanceof Uint32Array)r.ue=c(t,"HEAPU32"),r.colorType=e.ColorType.RGBA_8888;else{if(!(t instanceof Array))throw"Invalid argument to copyFlexibleColorArray, Not a color array "+typeof t;if(t&&t.length){for(var n=e._malloc(16*t.length),i=0,o=n/4,a=0;a<t.length;a++)for(var u=0;4>u;u++)e.HEAPF32[o+i]=t[a][u],i++;t=n}else t=N;r.ue=t}return r}function h(t){if(!t)return N;var r=_.toTypedArray();if(t.length){if(6===t.length||9===t.length)return c(t,"HEAPF32",E),6===t.length&&e.HEAPF32.set(U,6+E/4),E;if(16===t.length)return r[0]=t[0],r[1]=t[1],r[2]=t[3],r[3]=t[4],r[4]=t[5],r[5]=t[7],r[6]=t[12],r[7]=t[13],r[8]=t[15],E;throw"invalid matrix size"}if(void 0===t.m11)throw"invalid matrix argument";return r[0]=t.m11,r[1]=t.m21,r[2]=t.m41,r[3]=t.m12,r[4]=t.m22,r[5]=t.m42,r[6]=t.m14,r[7]=t.m24,r[8]=t.m44,E}function d(e,t){return c(e,"HEAPF32",t||D)}function p(e,t,r,n){var i=P.toTypedArray();return i[0]=e,i[1]=t,i[2]=r,i[3]=n,D}function y(t){for(var r=new Float32Array(4),n=0;4>n;n++)r[n]=e.HEAPF32[t/4+n];return r}function g(e,t){return c(e,"HEAPF32",t||I)}function v(e,t){return c(e,"HEAPF32",t||G)}function m(){for(var e=0,t=0;t<arguments.length-1;t+=2)e+=arguments[t]*arguments[t+1];return e}function b(e,t,r){for(var n=Array(e.length),i=0;i<r;i++)for(var o=0;o<r;o++){for(var a=0,u=0;u<r;u++)a+=e[r*i+u]*t[r*u+o];n[i*r+o]=a}return n}function A(e,t){for(var r=b(t[0],t[1],e),n=2;n<t.length;)r=b(r,t[n],e),n++;return r}e.Color=function(t,r,n,i){return void 0===i&&(i=1),e.Color4f(u(t)/255,u(r)/255,u(n)/255,i)},e.ColorAsInt=function(e,t,r,n){return void 0===n&&(n=255),(u(n)<<24|u(e)<<16|u(t)<<8|268435455&u(r))>>>0},e.Color4f=function(e,t,r,n){return void 0===n&&(n=1),Float32Array.of(e,t,r,n)},Object.defineProperty(e,"TRANSPARENT",{get:function(){return e.Color4f(0,0,0,0)}}),Object.defineProperty(e,"BLACK",{get:function(){return e.Color4f(0,0,0,1)}}),Object.defineProperty(e,"WHITE",{get:function(){return e.Color4f(1,1,1,1)}}),Object.defineProperty(e,"RED",{get:function(){return e.Color4f(1,0,0,1)}}),Object.defineProperty(e,"GREEN",{get:function(){return e.Color4f(0,1,0,1)}}),Object.defineProperty(e,"BLUE",{get:function(){return e.Color4f(0,0,1,1)}}),Object.defineProperty(e,"YELLOW",{get:function(){return e.Color4f(1,1,0,1)}}),Object.defineProperty(e,"CYAN",{get:function(){return e.Color4f(0,1,1,1)}}),Object.defineProperty(e,"MAGENTA",{get:function(){return e.Color4f(1,0,1,1)}}),e.getColorComponents=function(e){return[Math.floor(255*e[0]),Math.floor(255*e[1]),Math.floor(255*e[2]),e[3]]},e.parseColorString=function(t,r){if((t=t.toLowerCase()).startsWith("#")){switch(r=255,t.length){case 9:r=parseInt(t.slice(7,9),16);case 7:var n=parseInt(t.slice(1,3),16),i=parseInt(t.slice(3,5),16),o=parseInt(t.slice(5,7),16);break;case 5:r=17*parseInt(t.slice(4,5),16);case 4:n=17*parseInt(t.slice(1,2),16),i=17*parseInt(t.slice(2,3),16),o=17*parseInt(t.slice(3,4),16)}return e.Color(n,i,o,r/255)}return t.startsWith("rgba")?(t=(t=t.slice(5,-1)).split(","),e.Color(+t[0],+t[1],+t[2],a(t[3]))):t.startsWith("rgb")?(t=(t=t.slice(4,-1)).split(","),e.Color(+t[0],+t[1],+t[2],a(t[3]))):t.startsWith("gray(")||t.startsWith("hsl")||!r||void 0===(t=r[t])?e.BLACK:t},e.multiplyByAlpha=function(e,t){return(e=e.slice())[3]=Math.max(0,Math.min(e[3]*t,1)),e},e.Malloc=function(t,r){var n=e._malloc(r*t.BYTES_PER_ELEMENT);return{_ck:!0,length:r,byteOffset:n,Ke:null,subarray:function(e,t){return(e=this.toTypedArray().subarray(e,t))._ck=!0,e},toTypedArray:function(){return this.Ke&&this.Ke.length||(this.Ke=new t(e.HEAPU8.buffer,n,r),this.Ke._ck=!0),this.Ke}}},e.Free=function(t){e._free(t.byteOffset),t.byteOffset=N,t.toTypedArray=null,t.Ke=null};var _,w,P,T,C,M,k,F,S,x,E=N,R=N,D=N,I=N,L=N,O=N,H=N,j=N,G=N,W=N,U=Float32Array.of(0,0,1),N=0;e.onRuntimeInitialized=function(){function t(t,r,n,i,o,a,u){a||(a=4*i.width,i.colorType===e.ColorType.RGBA_F16?a*=2:i.colorType===e.ColorType.RGBA_F32&&(a*=4));var s=a*i.height,c=o?o.byteOffset:e._malloc(s);if(u?!t._readPixels(i,c,a,r,n,u):!t._readPixels(i,c,a,r,n))return o||e._free(c),null;if(o)return o.toTypedArray();switch(i.colorType){case e.ColorType.RGBA_8888:case e.ColorType.RGBA_F16:t=new Uint8Array(e.HEAPU8.buffer,c,s).slice();break;case e.ColorType.RGBA_F32:t=new Float32Array(e.HEAPU8.buffer,c,s).slice();break;default:return null}return e._free(c),t}P=e.Malloc(Float32Array,4),D=P.byteOffset,w=e.Malloc(Float32Array,16),R=w.byteOffset,_=e.Malloc(Float32Array,9),E=_.byteOffset,S=e.Malloc(Float32Array,12),G=S.byteOffset,x=e.Malloc(Float32Array,12),W=x.byteOffset,T=e.Malloc(Float32Array,4),I=T.byteOffset,C=e.Malloc(Float32Array,4),L=C.byteOffset,M=e.Malloc(Float32Array,3),O=M.byteOffset,k=e.Malloc(Float32Array,3),H=k.byteOffset,F=e.Malloc(Int32Array,4),j=F.byteOffset,e.ColorSpace.SRGB=e.ColorSpace._MakeSRGB(),e.ColorSpace.DISPLAY_P3=e.ColorSpace._MakeDisplayP3(),e.ColorSpace.ADOBE_RGB=e.ColorSpace._MakeAdobeRGB(),e.GlyphRunFlags={IsWhiteSpace:e._GlyphRunFlags_isWhiteSpace},e.Path.MakeFromCmds=function(t){var r=c(t,"HEAPF32"),n=e.Path._MakeFromCmds(r,t.length);return s(r,t),n},e.Path.MakeFromVerbsPointsWeights=function(t,r,n){var i=c(t,"HEAPU8"),o=c(r,"HEAPF32"),a=c(n,"HEAPF32"),u=e.Path._MakeFromVerbsPointsWeights(i,t.length,o,r.length,a,n&&n.length||0);return s(i,t),s(o,r),s(a,n),u},e.Path.prototype.addArc=function(e,t,r){return e=g(e),this._addArc(e,t,r),this},e.Path.prototype.addCircle=function(e,t,r,n){return this._addCircle(e,t,r,!!n),this},e.Path.prototype.addOval=function(e,t,r){return void 0===r&&(r=1),e=g(e),this._addOval(e,!!t,r),this},e.Path.prototype.addPath=function(){var e=Array.prototype.slice.call(arguments),t=e[0],r=!1;if("boolean"===typeof e[e.length-1]&&(r=e.pop()),1===e.length)this._addPath(t,1,0,0,0,1,0,0,0,1,r);else if(2===e.length)e=e[1],this._addPath(t,e[0],e[1],e[2],e[3],e[4],e[5],e[6]||0,e[7]||0,e[8]||1,r);else{if(7!==e.length&&10!==e.length)return null;this._addPath(t,e[1],e[2],e[3],e[4],e[5],e[6],e[7]||0,e[8]||0,e[9]||1,r)}return this},e.Path.prototype.addPoly=function(e,t){var r=c(e,"HEAPF32");return this._addPoly(r,e.length/2,t),s(r,e),this},e.Path.prototype.addRect=function(e,t){return e=g(e),this._addRect(e,!!t),this},e.Path.prototype.addRRect=function(e,t){return e=v(e),this._addRRect(e,!!t),this},e.Path.prototype.addVerbsPointsWeights=function(e,t,r){var n=c(e,"HEAPU8"),i=c(t,"HEAPF32"),o=c(r,"HEAPF32");this._addVerbsPointsWeights(n,e.length,i,t.length,o,r&&r.length||0),s(n,e),s(i,t),s(o,r)},e.Path.prototype.arc=function(t,r,n,i,o,a){return t=e.LTRBRect(t-n,r-n,t+n,r+n),o=(o-i)/Math.PI*180-360*!!a,(a=new e.Path).addArc(t,i/Math.PI*180,o),this.addPath(a,!0),a.delete(),this},e.Path.prototype.arcToOval=function(e,t,r,n){return e=g(e),this._arcToOval(e,t,r,n),this},e.Path.prototype.arcToRotated=function(e,t,r,n,i,o,a){return this._arcToRotated(e,t,r,!!n,!!i,o,a),this},e.Path.prototype.arcToTangent=function(e,t,r,n,i){return this._arcToTangent(e,t,r,n,i),this},e.Path.prototype.close=function(){return this._close(),this},e.Path.prototype.conicTo=function(e,t,r,n,i){return this._conicTo(e,t,r,n,i),this},e.Path.prototype.computeTightBounds=function(e){this._computeTightBounds(I);var t=T.toTypedArray();return e?(e.set(t),e):t.slice()},e.Path.prototype.cubicTo=function(e,t,r,n,i,o){return this._cubicTo(e,t,r,n,i,o),this},e.Path.prototype.dash=function(e,t,r){return this._dash(e,t,r)?this:null},e.Path.prototype.getBounds=function(e){this._getBounds(I);var t=T.toTypedArray();return e?(e.set(t),e):t.slice()},e.Path.prototype.lineTo=function(e,t){return this._lineTo(e,t),this},e.Path.prototype.moveTo=function(e,t){return this._moveTo(e,t),this},e.Path.prototype.offset=function(e,t){return this._transform(1,0,e,0,1,t,0,0,1),this},e.Path.prototype.quadTo=function(e,t,r,n){return this._quadTo(e,t,r,n),this},e.Path.prototype.rArcTo=function(e,t,r,n,i,o,a){return this._rArcTo(e,t,r,n,i,o,a),this},e.Path.prototype.rConicTo=function(e,t,r,n,i){return this._rConicTo(e,t,r,n,i),this},e.Path.prototype.rCubicTo=function(e,t,r,n,i,o){return this._rCubicTo(e,t,r,n,i,o),this},e.Path.prototype.rLineTo=function(e,t){return this._rLineTo(e,t),this},e.Path.prototype.rMoveTo=function(e,t){return this._rMoveTo(e,t),this},e.Path.prototype.rQuadTo=function(e,t,r,n){return this._rQuadTo(e,t,r,n),this},e.Path.prototype.stroke=function(t){return(t=t||{}).width=t.width||1,t.miter_limit=t.miter_limit||4,t.cap=t.cap||e.StrokeCap.Butt,t.join=t.join||e.StrokeJoin.Miter,t.precision=t.precision||1,this._stroke(t)?this:null},e.Path.prototype.transform=function(){if(1===arguments.length){var e=arguments[0];this._transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6]||0,e[7]||0,e[8]||1)}else{if(6!==arguments.length&&9!==arguments.length)throw"transform expected to take 1 or 9 arguments. Got "+arguments.length;e=arguments,this._transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6]||0,e[7]||0,e[8]||1)}return this},e.Path.prototype.trim=function(e,t,r){return this._trim(e,t,!!r)?this:null},e.Image.prototype.encodeToBytes=function(t,r){var n=e.nf();return t=t||e.ImageFormat.PNG,r=r||100,n?this._encodeToBytes(t,r,n):this._encodeToBytes(t,r)},e.Image.prototype.makeShaderCubic=function(e,t,r,n,i){return i=h(i),this._makeShaderCubic(e,t,r,n,i)},e.Image.prototype.makeShaderOptions=function(e,t,r,n,i){return i=h(i),this._makeShaderOptions(e,t,r,n,i)},e.Image.prototype.readPixels=function(r,n,i,o,a){return t(this,r,n,i,o,a,e.nf())},e.Canvas.prototype.clear=function(t){e.ee(this.ce),t=d(t),this._clear(t)},e.Canvas.prototype.clipRRect=function(t,r,n){e.ee(this.ce),t=v(t),this._clipRRect(t,r,n)},e.Canvas.prototype.clipRect=function(t,r,n){e.ee(this.ce),t=g(t),this._clipRect(t,r,n)},e.Canvas.prototype.concat=function(t){e.ee(this.ce),t=function(e){if(!e)return N;var t=w.toTypedArray();if(e.length){if(16!==e.length&&6!==e.length&&9!==e.length)throw"invalid matrix size";return 16===e.length?c(e,"HEAPF32",R):(t.fill(0),t[0]=e[0],t[1]=e[1],t[3]=e[2],t[4]=e[3],t[5]=e[4],t[7]=e[5],t[10]=1,t[12]=e[6],t[13]=e[7],t[15]=e[8],6===e.length&&(t[12]=0,t[13]=0,t[15]=1),R)}if(void 0===e.m11)throw"invalid matrix argument";return t[0]=e.m11,t[1]=e.m21,t[2]=e.m31,t[3]=e.m41,t[4]=e.m12,t[5]=e.m22,t[6]=e.m32,t[7]=e.m42,t[8]=e.m13,t[9]=e.m23,t[10]=e.m33,t[11]=e.m43,t[12]=e.m14,t[13]=e.m24,t[14]=e.m34,t[15]=e.m44,R}(t),this._concat(t)},e.Canvas.prototype.drawArc=function(t,r,n,i,o){e.ee(this.ce),t=g(t),this._drawArc(t,r,n,i,o)},e.Canvas.prototype.drawAtlas=function(t,r,n,i,a,u,f){if(t&&i&&r&&n&&r.length===n.length){e.ee(this.ce),a||(a=e.BlendM
vendor: 4,544 bytes, line 2
2ode.SrcOver);var l=c(r,"HEAPF32"),h=c(n,"HEAPF32"),d=n.length/4,p=c(o(u),"HEAPU32");if(f&&"B"in f&&"C"in f)this._drawAtlasCubic(t,h,l,p,d,a,f.B,f.C,i);else{var y=e.FilterMode.Linear,g=e.MipmapMode.None;f&&(y=f.filter,"mipmap"in f&&(g=f.mipmap)),this._drawAtlasOptions(t,h,l,p,d,a,y,g,i)}s(l,r),s(h,n),s(p,u)}},e.Canvas.prototype.drawCircle=function(t,r,n,i){e.ee(this.ce),this._drawCircle(t,r,n,i)},e.Canvas.prototype.drawColor=function(t,r){e.ee(this.ce),t=d(t),void 0!==r?this._drawColor(t,r):this._drawColor(t)},e.Canvas.prototype.drawColorInt=function(t,r){e.ee(this.ce),this._drawColorInt(t,r||e.BlendMode.SrcOver)},e.Canvas.prototype.drawColorComponents=function(t,r,n,i,o){e.ee(this.ce),t=p(t,r,n,i),void 0!==o?this._drawColor(t,o):this._drawColor(t)},e.Canvas.prototype.drawDRRect=function(t,r,n){e.ee(this.ce),t=v(t,G),r=v(r,W),this._drawDRRect(t,r,n)},e.Canvas.prototype.drawImage=function(t,r,n,i){e.ee(this.ce),this._drawImage(t,r,n,i||null)},e.Canvas.prototype.drawImageCubic=function(t,r,n,i,o,a){e.ee(this.ce),this._drawImageCubic(t,r,n,i,o,a||null)},e.Canvas.prototype.drawImageOptions=function(t,r,n,i,o,a){e.ee(this.ce),this._drawImageOptions(t,r,n,i,o,a||null)},e.Canvas.prototype.drawImageNine=function(t,r,n,i,o){e.ee(this.ce),r=c(r,"HEAP32",j),n=g(n),this._drawImageNine(t,r,n,i,o||null)},e.Canvas.prototype.drawImageRect=function(t,r,n,i,o){e.ee(this.ce),g(r,I),g(n,L),this._drawImageRect(t,I,L,i,!!o)},e.Canvas.prototype.drawImageRectCubic=function(t,r,n,i,o,a){e.ee(this.ce),g(r,I),g(n,L),this._drawImageRectCubic(t,I,L,i,o,a||null)},e.Canvas.prototype.drawImageRectOptions=function(t,r,n,i,o,a){e.ee(this.ce),g(r,I),g(n,L),this._drawImageRectOptions(t,I,L,i,o,a||null)},e.Canvas.prototype.drawLine=function(t,r,n,i,o){e.ee(this.ce),this._drawLine(t,r,n,i,o)},e.Canvas.prototype.drawOval=function(t,r){e.ee(this.ce),t=g(t),this._drawOval(t,r)},e.Canvas.prototype.drawPaint=function(t){e.ee(this.ce),this._drawPaint(t)},e.Canvas.prototype.drawParagraph=function(t,r,n){e.ee(this.ce),this._drawParagraph(t,r,n)},e.Canvas.prototype.drawPatch=function(t,r,n,i,a){if(24>t.length)throw"Need 12 cubic points";if(r&&4>r.length)throw"Need 4 colors";if(n&&8>n.length)throw"Need 4 shader coordinates";e.ee(this.ce);var u=c(t,"HEAPF32"),f=r?c(o(r),"HEAPU32"):N,l=n?c(n,"HEAPF32"):N;i||(i=e.BlendMode.Modulate),this._drawPatch(u,f,l,i,a),s(l,n),s(f,r),s(u,t)},e.Canvas.prototype.drawPath=function(t,r){e.ee(this.ce),this._drawPath(t,r)},e.Canvas.prototype.drawPicture=function(t){e.ee(this.ce),this._drawPicture(t)},e.Canvas.prototype.drawPoints=function(t,r,n){e.ee(this.ce);var i=c(r,"HEAPF32");this._drawPoints(t,i,r.length/2,n),s(i,r)},e.Canvas.prototype.drawRRect=function(t,r){e.ee(this.ce),t=v(t),this._drawRRect(t,r)},e.Canvas.prototype.drawRect=function(t,r){e.ee(this.ce),t=g(t),this._drawRect(t,r)},e.Canvas.prototype.drawRect4f=function(t,r,n,i,o){e.ee(this.ce),this._drawRect4f(t,r,n,i,o)},e.Canvas.prototype.drawShadow=function(t,r,n,i,o,a,u){e.ee(this.ce);var f=c(o,"HEAPF32"),l=c(a,"HEAPF32");r=c(r,"HEAPF32",O),n=c(n,"HEAPF32",H),this._drawShadow(t,r,n,i,f,l,u),s(f,o),s(l,a)},e.getShadowLocalBounds=function(e,t,r,n,i,o,a){return e=h(e),r=c(r,"HEAPF32",O),n=c(n,"HEAPF32",H),this._getShadowLocalBounds(e,t,r,n,i,o,I)?(t=T.toTypedArray(),a?(a.set(t),a):t.slice()):null},e.Canvas.prototype.drawTextBlob=function(t,r,n,i){e.ee(this.ce),this._drawTextBlob(t,r,n,i)},e.Canvas.prototype.drawVertices=function(t,r,n){e.ee(this.ce),this._drawVertices(t,r,n)},e.Canvas.prototype.getDeviceClipBounds=function(e){this._getDeviceClipBounds(j);var t=F.toTypedArray();return e?e.set(t):e=t.slice(),e},e.Canvas.prototype.quickReject=function(e){return e=g(e),this._quickReject(e)},e.Canvas.prototype.getLocalToDevice=function(){this._getLocalToDevice(R);for(var t=R,r=Array(16),n=0;16>n;n++)r[n]=e.HEAPF32[t/4+n];return r},e.Canvas.prototype.getTotalMatrix=function(){this._getTotalMatrix(E);for(var t=Array(9),r=0;9>r;r++)t[r]=e.HEAPF32[E/4+r];return t},e.Canvas.prototype.makeSurface=function(e){return(e=this._makeSurface(e)).ce=this.ce,e},e.Canvas.prototype.readPixels=function(r,n,i,o,a){return e.ee(this.ce),t(this,r,n,i,o,a)},e.Canvas.prototype.saveLayer=function(t,r,n,i,o){return r=g(r),this._saveLayer(t||null,r,n||null,i||0,o||e.TileMode.Clamp)},e.Canvas.prototype.writePixels=function(t,r,n,i,o,a,u,f){if(t.byteLength%(r*n))throw"pixels length must be a multiple of the srcWidth * srcHeight";e.ee(this.ce);var l=t.byteLength/(r*n);a=a||e.AlphaType.Unpremul,u=u||e.ColorType.RGBA_8888,f=f||e.ColorSpace.SRGB;var h=l*r;
2return l=c(t,"HEAPU8"),r=this._writePixels({width:r,height:n,colorType:u,alphaType:a,colorSpace:f},l,h,i,o),s(l,t),r},e.ColorFilter.MakeBlend=function(t,r,n){return t=d(t),n=n||e.ColorSpace.SRGB,e.ColorFilter._MakeBlend(t,r,n)},e.ColorFilter.MakeMatrix=function(t){if(!t||20!==t.length)throw"invalid color matrix";var r=c(t,"HEAPF32"),n=e.ColorFilter._makeMatrix(r);return s(r,t),n},e.ContourMeasure.prototype.getPosTan=function(e,t){return this._getPosTan(e,I),e=T.toTypedArray(),t?(t.set(e),t):e.slice()},e.ImageFilter.prototype.getOutputBounds=function(e,t,r){return e=g(e,I),t=h(t),this._getOutputBounds(e,t,j),t=F.toTypedArray(),r?(r.set(t),r):t.slice()},e.ImageFilter.MakeDropShadow=function(t,r,n,i,o,a){return o=d(o,D),e.ImageFilter._MakeDropShadow(t,r,n,i,o,a)},e.ImageFilter.MakeDropShadowOnly=function(t,r,n,i,o,a){return o=d(o,D),e.ImageFilter._MakeDropShadowOnly(t,r,n,i,o,a)},e.ImageFilter.MakeImage=function(t,r,n,i){if(n=g(n,I),i=g(i,L),"B"in r&&"C"in r)return e.ImageFilter._MakeImageCubic(t,r.B,r.C,n,i);var o=r.filter,a=e.MipmapMode.None;return"mipmap"in r&&(a=r.mipmap),e.ImageFilter._MakeImageOptions(t,o,a,n,i)},e.ImageFilter.MakeMatrixTransform=function(t,r,n){if(t=h(t),"B"in r&&"C"in r)return e.ImageFilter._MakeMatrixTransformCubic(t,r.B,r.C,n);var i=r.filter,o=e.MipmapMode.None;return"mipmap"in r&&(o=r.mipmap),e.ImageFilter._MakeMatrixTransformOptions(t,i,o,n)},e.Paint.prototype.getColor=function(){return this._getColor(D),y(D)},e.Paint.prototype.setColor=function(e,t){t=t||null,e=d(e),this._setColor(e,t)},e.Paint.prototype.setColorComponents=function(e,t,r,n,i){i=i||null,e=p(e,t,r,n),this._setColor(e,i)},e.Path.prototype.getPoint=function(e,t){return this._getPoint(e,I),e=T.toTypedArray(),t?(t[0]=e[0],t[1]=e[1],t):e.slice(0,2)},e.Picture.prototype.makeShader=function(e,t,r,n,i){return n=h(n),i=g(i),this._makeShader(e,t,r,n,i)},e.Picture.prototype.cullRect=function(e){this._cullRect(I);var t=T.toTypedArray();return e?(e.set(t),e):t.slice()},e.PictureRecorder.prototype.beginRecording=function(e,t){return e=g(e),this._beginRecording(e,!!t)},e.Surface.prototype.getCanvas=function(){var e=this._getCanvas();return e.ce=this.ce,e},e.Surface.prototype.makeImageSnapshot=function(t){return e.ee(this.ce),t=c(t,"HEAP32",j),this._makeImageSnapshot(t)},e.Surface.prototype.makeSurface=function(t){return e.ee(this.ce),(t=this._makeSurface(t)).ce=this.ce,t},e.Surface.prototype.Xf=function(t,r){return this.$e||(this.$e=this.getCanvas()),requestAnimationFrame(function(){e.ee(this.ce),t(this.$e),this.flush(r)}.bind(this))},e.Surface.prototype.requestAnimationFrame||(e.Surface.prototype.requestAnimationFrame=e.Surface.prototype.Xf),e.Surface.prototype.Tf=function(t,r){this.$e||(this.$e=this.getCanvas()),requestAnimationFrame(function(){e.ee(this.ce),t(this.$e),this.flush(r),this.dispose()}.bind(this))},e.Surface.prototype.drawOnce||(e.Surface.prototype.drawOnce=e.Surface.prototype.Tf),e.PathEffect.MakeDash=function(t,r){if(r||(r=0),!t.length||1===t.length%2)throw"Intervals array must have even length";var n=c(t,"HEAPF32");return r=e.PathEffect._MakeDash(n,t.length,r),s(n,t),r},e.PathEffect.MakeLine2D=function(t,r){return r=h(r),e.PathEffect._MakeLine2D(t,r)},e.PathEffect.MakePath2D=function(t,r){return t=h(t),e.PathEffect._MakePath2D(t,r)},e.Shader.MakeColor=function(t,r){return r=r||null,t=d(t),e.Shader._MakeColor(t,r)},e.Shader.Blend=e.Shader.MakeBlend,e.Shader.Color=e.Shader.MakeColor,e.Shader.MakeLinearGradient=function(t,r,n,i,o,a,u,l){l=l||null;var d=f(n),p=c(i,"HEAPF32");u=u||0,a=h(a);var y=T.toTypedArray();return y.set(t),y.set(r,2),t=e.Shader._MakeLinearGradient(I,d.ue,d.colorType,p,d.count,o,u,a,l),s(d.ue,n),i&&s(p,i),t},e.Shader.MakeRadialGradient=function(t,r,n,i,o,a,u,l){l=l||null;var d=f(n),p=c(i,"HEAPF32");return u=u||0,a=h(a),t=e.Shader._MakeRadialGradient(t[0],t[1],r,d.ue,d.colorType,p,d.count,o,u,a,l),s(d.ue,n),i&&s(p,i),t},e.Shader.MakeSweepGradient=function(t,r,n,i,o,a,u,l,d,p){p=p||null;var y=f(n),g=c(i,"HEAPF32");return u=u||0,l=l||0,d=d||360,a=h(a),t=e.Shader._MakeSweepGradient(t,r,y.ue,y.colorType,g,y.count,o,l,d,u,a,p),s(y.ue,n),i&&s(g,i),t},e.Shader.MakeTwoPointConicalGradient=function(t,r,n,i,o,a,u,l,d,p){p=p||null;var y=f(o),g=c(a,"HEAPF32");d=d||0,l=h(l);var v=T.toTypedArray();return v.set(t),v.set(n,2),t=e.Shader._MakeTwoPointConicalGradient(I,r,i,y.ue,y.colorType,g,y.count,u,d,l,p),s(y.ue,o),a&&s(g,a),t},e.Vertices.prototype.bounds=function(e){this._bounds(I);var t=T.toTypedArray();return e?(e.set(t),e):t.slice()},e.ke&&e.ke.forEach((function(e){e()}
2))},e.computeTonalColors=function(e){var t=c(e.ambient,"HEAPF32"),r=c(e.spot,"HEAPF32");this._computeTonalColors(t,r);var n={ambient:y(t),spot:y(r)};return s(t,e.ambient),s(r,e.spot),n},e.LTRBRect=function(e,t,r,n){return Float32Array.of(e,t,r,n)},e.XYWHRect=function(e,t,r,n){return Float32Array.of(e,t,e+r,t+n)},e.LTRBiRect=function(e,t,r,n){return Int32Array.of(e,t,r,n)},e.XYWHiRect=function(e,t,r,n){return Int32Array.of(e,t,e+r,t+n)},e.RRectXY=function(e,t,r){return Float32Array.of(e[0],e[1],e[2],e[3],t,r,t,r,t,r,t,r)},e.MakeAnimatedImageFromEncoded=function(t){t=new Uint8Array(t);var r=e._malloc(t.byteLength);return e.HEAPU8.set(t,r),(t=e._decodeAnimatedImage(r,t.byteLength))?t:null},e.MakeImageFromEncoded=function(t){t=new Uint8Array(t);var r=e._malloc(t.byteLength);return e.HEAPU8.set(t,r),(t=e._decodeImage(r,t.byteLength))?t:null};var V=null;e.MakeImageFromCanvasImageSource=function(t){var r=t.width,n=t.height;V||(V=document.createElement("canvas")),V.width=r,V.height=n;var i=V.getContext("2d",{willReadFrequently:!0});return i.drawImage(t,0,0),t=i.getImageData(0,0,r,n),e.MakeImage({width:r,height:n,alphaType:e.AlphaType.Unpremul,colorType:e.ColorType.RGBA_8888,colorSpace:e.ColorSpace.SRGB},t.data,4*r)},e.MakeImage=function(t,r,n){var i=e._malloc(r.length);return e.HEAPU8.set(r,i),e._MakeImage(t,i,r.length,n)},e.MakeVertices=function(t,r,n,i,a,u){var s=a&&a.length||0,f=0;return n&&n.length&&(f|=1),i&&i.length&&(f|=2),void 0===u||u||(f|=4),c(r,"HEAPF32",(t=new e._VerticesBuilder(t,r.length/2,s,f)).positions()),t.texCoords()&&c(n,"HEAPF32",t.texCoords()),t.colors()&&c(o(i),"HEAPU32",t.colors()),t.indices()&&c(a,"HEAPU16",t.indices()),t.detach()},e.Matrix={},e.Matrix.identity=function(){return r(3)},e.Matrix.invert=function(e){var t=e[0]*e[4]*e[8]+e[1]*e[5]*e[6]+e[2]*e[3]*e[7]-e[2]*e[4]*e[6]-e[1]*e[3]*e[8]-e[0]*e[5]*e[7];return t?[(e[4]*e[8]-e[5]*e[7])/t,(e[2]*e[7]-e[1]*e[8])/t,(e[1]*e[5]-e[2]*e[4])/t,(e[5]*e[6]-e[3]*e[8])/t,(e[0]*e[8]-e[2]*e[6])/t,(e[2]*e[3]-e[0]*e[5])/t,(e[3]*e[7]-e[4]*e[6])/t,(e[1]*e[6]-e[0]*e[7])/t,(e[0]*e[4]-e[1]*e[3])/t]:null},e.Matrix.mapPoints=function(e,t){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1],o=e[6]*n+e[7]*i+e[8],a=e[3]*n+e[4]*i+e[5];t[r]=(e[0]*n+e[1]*i+e[2])/o,t[r+1]=a/o}return t},e.Matrix.multiply=function(){return A(3,arguments)},e.Matrix.rotated=function(e,t,r){t=t||0,r=r||0;var n=Math.sin(e);return[e=Math.cos(e),-n,m(n,r,1-e,t),n,e,m(-n,t,1-e,r),0,0,1]},e.Matrix.scaled=function(e,n,i,o){i=i||0,o=o||0;var a=t([e,n],r(3),3,0,1);return t([i-e*i,o-n*o],a,3,2,0)},e.Matrix.skewed=function(e,n,i,o){i=i||0,o=o||0;var a=t([e,n],r(3),3,1,-1);return t([-e*i,-n*o],a,3,2,0)},e.Matrix.translated=function(e,n){return t(arguments,r(3),3,2,0)},e.Vector={},e.Vector.dot=function(e,t){return e.map((function(e,r){return e*t[r]})).reduce((function(e,t){return e+t}))},e.Vector.lengthSquared=function(t){return e.Vector.dot(t,t)},e.Vector.length=function(t){return Math.sqrt(e.Vector.lengthSquared(t))},e.Vector.mulScalar=function(e,t){return e.map((function(e){return e*t}))},e.Vector.add=function(e,t){return e.map((function(e,r){return e+t[r]}))},e.Vector.sub=function(e,t){return e.map((function(e,r){return e-t[r]}))},e.Vector.dist=function(t,r){return e.Vector.length(e.Vector.sub(t,r))},e.Vector.normalize=function(t){return e.Vector.mulScalar(t,1/e.Vector.length(t))},e.Vector.cross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},e.M44={},e.M44.identity=function(){return r(4)},e.M44.translated=function(e){return t(e,r(4),4,3,0)},e.M44.scaled=function(e){return t(e,r(4),4,0,1)},e.M44.rotated=function(t,r){return e.M44.rotatedUnitSinCos(e.Vector.normalize(t),Math.sin(r),Math.cos(r))},e.M44.rotatedUnitSinCos=function(e,t,r){var n=e[0],i=e[1],o=1-r;return[o*n*n+r,o*n*i-t*(e=e[2]),o*n*e+t*i,0,o*n*i+t*e,o*i*i+r,o*i*e-t*n,0,o*n*e-t*i,o*i*e+t*n,o*e*e+r,0,0,0,0,1]},e.M44.lookat=function(r,n,i){n=e.Vector.normalize(e.Vector.sub(n,r)),i=e.Vector.normalize(i),i=e.Vector.normalize(e.Vector.cross(n,i));var o=e.M44.identity();return t(i,o,4,0,0),t(e.Vector.cross(i,n),o,4,1,0),t(e.Vector.mulScalar(n,-1),o,4,2,0),t(r,o,4,3,0),null===(r=e.M44.invert(o))?e.M44.identity():r},e.M44.perspective=function(e,t,r){var n=1/(t-e);return r/=2,[r=Math.cos(r)/Math.sin(r),0,0,0,0,r,0,0,0,0,(t+e)*n,2*t*e*n,0,0,-1,1]},e.M44.rc=function(e,t,r){return e[4*t+r]},e.M44.multiply=function(){return A(4,arguments)},e.M44.invert=function(e){var t=e[0],r=e[4],n=e[8],i=e[12],o=e[1],a=e[5],u=e[9],s=e[13],c=e[2],f=e[6],l=e[10],h=e[14],d=e[3],p=e[7],y=e[11],g=t*a-r*o,v=t*u-n*o,m=t*s-i*o,b=r*u-n*a,A=r*s-i*a,_=n*s-i*u,w=c*p-f*d,P=c*y-l*d,T=c*(e=e[15])-h*d,C=f*y-l*p,M=f*e-h*p,k=l*e-h*y,F=g*k-v*M+m*C+b*T-A*P+_*w,S=1/F;return 0===F||1/0===S?null:(t=[a*(k*=S)-u*(M*=S)+s*(C*=S),u*(T*=S)-o*k-s*(P*=S),o*M-a*T+s*(w*=S),a*P-o*C-u*w,n*M-r*k-i*C,t*k-n*T+i*P,r*T-t*M-i*w,t*C-r*P+n*w,p*(_*=S)-y*(A*=S)+e*(b*=S),y*(m*=S)-d*_-e*(v*=S),d*A-p*m+e*(g*=S),p*v-d*b-y*g,l*A-f*_-h*b,c*_-l*m+h*v,f*m-c*A-h*g,c*b-f*v+l*g]).every((function(e){return!isNaN(e)&&1/0!==e&&-1/0!==e}))?t:null},e.M44.transpose=function(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]},e.M44.mustInvert=function(t){if(null===(t=e.M44.invert(t)))throw"Matrix not invertible";return t},e.M44.setupCamera=function(t,r,n){var i=e.M44.lookat(n.eye,n.coa,n.up);return n=e.M44.perspective(n.near,n.far,n.angle),r=[(t[2]-t[0])/2,(t[3]-t[1])/2,r],t=e.M44.multiply(e.M44.translated([(t[0]+t[2])/2,(t[1]+t[3])/2,0]),e.M44.scaled(r)),e.M44.multiply(t,n,i,e.M44.mustInvert(t))},e.ColorMatrix={},e.ColorMatrix.identity=function(){var e=new Float32Array(20);return e[0]=1,e[6]=1,e[12]=1,e[18]=1,e},e.ColorMatrix.scaled=function(e,t,r,n){var i=new Float32Array(20);return i[0]=e,i[6]=t,i[12]=r,i[18]=n,i};var z,q=[[6,7,11,12],[0,10,2,12],[0,1,5,6]];e.ColorMatrix.rotated=function(t,r,n){var i=e.ColorMatrix.identity();return i[(t=q[t])[0]]=n,i[t[1]]=r,i[t[2]]=-r,i[t[3]]=n,i},e.ColorMatrix.postTranslate=function(e,t,r,n,i){return e[4]+=t,e[9]+=r,e[14]+=n,e[19]+=i,e},e.ColorMatrix.concat=function(e,t){for(var r=new Float32Array(20),n=0,i=0;20>i;i+=5){for(var o=0;4>o;o++)r[n++]=e[i]*t[o]+e[i+1]*t[o+5]+e[i+2]*t[o+10]+e[i+3]*t[o+15];r[n++]=e[i]*t[4]+e[i+1]*t[9]+e[i+2]*t[14]+e[i+3]*t[19]+e[i+4]}return r},(z=l).ke=z.ke||[],z.ke.push((function(){function e(e){return e&&(e.dir=0===e.dir?z.TextDirection.RTL:z.TextDirection.LTR),e}function t(e){if(!e||!e.length)return[];for(var t=[],r=0;r<e.length;r+=5){var n=z.LTRBRect(e[r],e[r+1],e[r+2],e[r+3]),i=z.TextDirection.LTR;0===e[r+4]&&(i=z.TextDirection.RTL),t.push({rect:n,dir:i})}return z._free(e.byteOffset),t}function r(e){return void 0===(e=e||{}).weight&&(e.weight=z.FontWeight.Normal),e.width=e.width||z.FontWidth.Normal,e.slant=e.slant||z.FontSlant.Upright,e}function n(e){if(!e||!e.length)return N;for(var t=[],r=0;r<e.length;r++){var n=i(e[r]);t.push(n)}return c(t,"HEAPU32")}function i(e){if(u[e])return u[e];var t=ut(e)+1,r=z._malloc(t);return at(e,B,r,t),u[e]=r}function o(e){if(e._colorPtr=d(e.color),e._foregroundColorPtr=N,e._backgroundColorPtr=N,e._decorationColorPtr=N,e.foregroundColor&&(e._foregroundColorPtr=d(e.foregroundColor,l)),e.backgroundColor&&(e._backgroundColorPtr=d(e.backgroundColor,h)),e.decorationColor&&(e._decorationColorPtr=d(e.decorationColor,p)),Array.isArray(e.fontFamilies)&&e.fontFamilies.length?(e._fontFamiliesPtr=n(e.fontFamilies),e._fontFamiliesLen=e.fontFamilies.length):(e._fontFamiliesPtr=N,e._fontFamiliesLen=0),e.locale){var t=e.locale;e._localePtr=i(t),e._localeLen=ut(t)}else e._localePtr=N,e._localeLen=0;if(Array.isArray(e.shadows)&&e.shadows.length){var r=(t=e.shadows).map((function(e){return e.color||z.BLACK})),o=t.map((function(e){return e.blurRadius||0}
2));e._shadowLen=t.length;for(var a=z._malloc(8*t.length),u=a/4,s=0;s<t.length;s++){var y=t[s].offset||[0,0];z.HEAPF32[u]=y[0],z.HEAPF32[u+1]=y[1],u+=2}e._shadowColorsPtr=f(r).ue,e._shadowOffsetsPtr=a,e._shadowBlurRadiiPtr=c(o,"HEAPF32")}else e._shadowLen=0,e._shadowColorsPtr=N,e._shadowOffsetsPtr=N,e._shadowBlurRadiiPtr=N;Array.isArray(e.fontFeatures)&&e.fontFeatures.length?(r=(t=e.fontFeatures).map((function(e){return e.name})),o=t.map((function(e){return e.value})),e._fontFeatureLen=t.length,e._fontFeatureNamesPtr=n(r),e._fontFeatureValuesPtr=c(o,"HEAPU32")):(e._fontFeatureLen=0,e._fontFeatureNamesPtr=N,e._fontFeatureValuesPtr=N),Array.isArray(e.fontVariations)&&e.fontVariations.length?(r=(t=e.fontVariations).map((function(e){return e.axis})),o=t.map((function(e){return e.value})),e._fontVariationLen=t.length,e._fontVariationAxesPtr=n(r),e._fontVariationValuesPtr=c(o,"HEAPF32")):(e._fontVariationLen=0,e._fontVariationAxesPtr=N,e._fontVariationValuesPtr=N)}function a(e){z._free(e._fontFamiliesPtr),z._free(e._shadowColorsPtr),z._free(e._shadowOffsetsPtr),z._free(e._shadowBlurRadiiPtr),z._free(e._fontFeatureNamesPtr),z._free(e._fontFeatureValuesPtr),z._free(e._fontVariationAxesPtr),z._free(e._fontVariationValuesPtr)}z.Paragraph.prototype.getRectsForRange=function(e,r,n,i){return t(e=this._getRectsForRange(e,r,n,i))},z.Paragraph.prototype.getRectsForPlaceholders=function(){return t(this._getRectsForPlaceholders())},z.Paragraph.prototype.getGlyphInfoAt=function(t){return e(this._getGlyphInfoAt(t))},z.Paragraph.prototype.getClosestGlyphInfoAtCoordinate=function(t,r){return e(this._getClosestGlyphInfoAtCoordinate(t,r))},z.TypefaceFontProvider.prototype.registerFont=function(e,t){if(!(e=z.Typeface.MakeTypefaceFromData(e)))return null;t=i(t),this._registerFont(e,t),e.delete()},z.ParagraphStyle=function(e){if(e.disableHinting=e.disableHinting||!1,e.ellipsis){var t=e.ellipsis;e._ellipsisPtr=i(t),e._ellipsisLen=ut(t)}else e._ellipsisPtr=N,e._ellipsisLen=0;return null==e.heightMultiplier&&(e.heightMultiplier=-1),e.maxLines=e.maxLines||0,e.replaceTabCharacters=e.replaceTabCharacters||!1,(t=(t=e.strutStyle)||{}).strutEnabled=t.strutEnabled||!1,t.strutEnabled&&Array.isArray(t.fontFamilies)&&t.fontFamilies.length?(t._fontFamiliesPtr=n(t.fontFamilies),t._fontFamiliesLen=t.fontFamilies.length):(t._fontFamiliesPtr=N,t._fontFamiliesLen=0),t.fontStyle=r(t.fontStyle),null==t.fontSize&&(t.fontSize=-1),null==t.heightMultiplier&&(t.heightMultiplier=-1),t.halfLeading=t.halfLeading||!1,t.leading=t.leading||0,t.forceStrutHeight=t.forceStrutHeight||!1,e.strutStyle=t,e.textAlign=e.textAlign||z.TextAlign.Start,e.textDirection=e.textDirection||z.TextDirection.LTR,e.textHeightBehavior=e.textHeightBehavior||z.TextHeightBehavior.All,e.textStyle=z.TextStyle(e.textStyle),e.a
2pplyRoundingHack=!1!==e.applyRoundingHack,e},z.TextStyle=function(e){return e.color||(e.color=z.BLACK),e.decoration=e.decoration||0,e.decorationThickness=e.decorationThickness||0,e.decorationStyle=e.decorationStyle||z.DecorationStyle.Solid,e.textBaseline=e.textBaseline||z.TextBaseline.Alphabetic,null==e.fontSize&&(e.fontSize=-1),e.letterSpacing=e.letterSpacing||0,e.wordSpacing=e.wordSpacing||0,null==e.heightMultiplier&&(e.heightMultiplier=-1),e.halfLeading=e.halfLeading||!1,e.fontStyle=r(e.fontStyle),e};var u={},l=z._malloc(16),h=z._malloc(16),p=z._malloc(16);z.ParagraphBuilder.Make=function(e,t){return o(e.textStyle),t=z.ParagraphBuilder._Make(e,t),a(e.textStyle),t},z.ParagraphBuilder.MakeFromFontProvider=function(e,t){return o(e.textStyle),t=z.ParagraphBuilder._MakeFromFontProvider(e,t),a(e.textStyle),t},z.ParagraphBuilder.MakeFromFontCollection=function(e,t){return o(e.textStyle),t=z.ParagraphBuilder._MakeFromFontCollection(e,t),a(e.textStyle),t},z.ParagraphBuilder.ShapeText=function(e,t,r){var n=0;for(var i of t)n+=i.length;if(n!==e.length)throw"Accumulated block lengths must equal text.length";return z.ParagraphBuilder._ShapeText(e,t,r)},z.ParagraphBuilder.prototype.pushStyle=function(e){o(e),this._pushStyle(e),a(e)},z.ParagraphBuilder.prototype.pushPaintStyle=function(e,t,r){o(e),this._pushPaintStyle(e,t,r),a(e)},z.ParagraphBuilder.prototype.addPlaceholder=function(e,t,r,n,i){r=r||z.PlaceholderAlignment.Baseline,n=n||z.TextBaseline.Alphabetic,this._addPlaceholder(e||0,t||0,r,n,i||0)},z.ParagraphBuilder.prototype.setWordsUtf8=function(e){var t=c(e,"HEAPU32");this._setWordsUtf8(t,e&&e.length||0),s(t,e)},z.ParagraphBuilder.prototype.setWordsUtf16=function(e){var t=c(e,"HEAPU32");this._setWordsUtf16(t,e&&e.length||0),s(t,e)},z.ParagraphBuilder.prototype.setGraphemeBreaksUtf8=function(e){var t=c(e,"HEAPU32");this._setGraphemeBreaksUtf8(t,e&&e.length||0),s(t,e)},z.ParagraphBuilder.prototype.setGraphemeBreaksUtf16=function(e){var t=c(e,"HEAPU32");this._setGraphemeBreaksUtf16(t,e&&e.length||0),s(t,e)},z.ParagraphBuilder.prototype.setLineBreaksUtf8=function(e){var t=c(e,"HEAPU32");this._setLineBreaksUtf8(t,e&&e.length||0),s(t,e)},z.ParagraphBuilder.prototype.setLineBreaksUtf16=function(e){var t=c(e,"HEAPU32");this._setLineBreaksUtf16(t,e&&e.length||0),s(t,e)}})),e.MakeManagedAnimation=function(t,r,n,i,o){if(!e._MakeManagedAnimation)throw"Not compiled with MakeManagedAnimation";if(n||(n=""),!r)return e._MakeManagedAnimation(t,0,N,N,N,n,i,o);for(var a=[],u=[],s=[],f=Object.keys(r||{}),l=0;l<f.length;l++){var h=f[l],d=new Uint8Array(r[h]),p=e._malloc(d.byteLength);e.HEAPU8.set(d,p),u.push(p),s.push(d.byteLength),d=ut(h)+1,p=e._malloc(d),at(h,B,p,d),a.push(p)}return r=c(a,"HEAPU32"),u=c(u,"HEAPU32"),s=c(s,"HEAPU32"),t=e._MakeManagedAnimation(t,f.length,r,u,s,n,i,o),e._free(r),e._free(u),e._free(s),t},e.Lg=function(t){return t.text=t.text||"",t.textSize=t.textSize||0,t.minTextSize=t.minTextSize||0,t.maxTextSize=t.maxTextSize||Number.MAX_VALUE,t.strokeWidth=t.strokeWidth||0,t.lineHeight=t.lineHeight||0,t.lineShift=t.lineShift||0,t.ascent=t.ascent||0,t.maxLines=t.maxLines||0,t.horizAlign=t.horizAlign||e.TextAlign.Left,t.vertAlign=t.vertAlign||e.Mg.Top,t.strokeJoin=t.strokeJoin||e.StrokeJoin.Miter,t.direction=t.direction||e.TextDirection.LTR,t.linebreak=t.linebreak||e.LineBreakType.HardLineBreak,t.resize=t.resize||e.Kg.None,t.fillColor||(t.fillColor=e.TRANSPARENT),t.strokeColor||(t.strokeColor=e.TRANSPARENT),t.boundingBox||(t.boundingBox=[0,0,0,0]),t},function(e){e.ke=e.ke||[],e.ke.push((function(){e.Animation.prototype.render=function(e,t){g(t,I),this._render(e,I)},e.Animation.prototype.size=function(e){this._size(I);var t=T.toTypedArray();return e?(e[0]=t[0],e[1]=t[1],e):t.slice(0,2)},e.ManagedAnimation&&(e.ManagedAnimation.prototype.render=function(e,t){g(t,I),this._render(e,I)},e.ManagedAnimation.prototype.seek=function(e,t){return this._seek(e,I),e=T.toTypedArray(),t?(t.set(e),t):e.slice()},e.ManagedAnimation.prototype.seekFrame=function(e,t){return this._seekFrame(e,I),e=T.toTypedArray(),t?(t.set(e),t):e.slice()},e.ManagedAnimation.prototype.setColor=function(e,t){return t=d(t),this._setColor(e,t)},e.ManagedAnimation.prototype.setColorSlot=function(e,t){return t=d(t),this._setColorSlot(e,t)},e.ManagedAnimation.prototype.getColorSlot=function(e){return this._getColorSlot(e,D),-1==(e=y(D))[0]?null:e},e.ManagedAnimation.prototype.setVec2Slot=function(e,t){return c(t,"HEAPF32",O),this._setVec2Slot(e,O)},e.ManagedAnimation.prototype.getVec2Slot=function(e){return this._getVec2Slot(e,O),-1===(e=M.toTypedArray())[2]?null:e.slice(0,2)},e.ManagedAnimation.prototype.setTextSlot=function(e,t){var r=d(t.fillColor,D),n=d(t.strokeColor,I),i=g(t.boun
2dingBox,L);return t._fillColorPtr=r,t._strokeColorPtr=n,t._boundingBoxPtr=i,this._setTextSlot(e,t)},e.ManagedAnimation.prototype.setTransform=function(e,t,r,n,i,o,a){return t=c([t[0],t[1],r[0],r[1],n[0],n[1],i,o,a],"HEAPF32",E),this._setTransform(e,t)},e.ManagedAnimation.prototype.size=function(e){this._size(I);var t=T.toTypedArray();return e?(e[0]=t[0],e[1]=t[1],e):t.slice(0,2)})}))}(l),e.ke=e.ke||[],e.ke.push((function(){e.Path.prototype.op=function(e,t){return this._op(e,t)?this:null},e.Path.prototype.simplify=function(){return this._simplify()?this:null}})),e.ke=e.ke||[],e.ke.push((function(){e.Canvas.prototype.drawText=function(t,r,n,i,o){var a=ut(t),u=e._malloc(a+1);at(t,B,u,a+1),this._drawSimpleText(u,a,r,n,o,i),e._free(u)},e.Canvas.prototype.drawGlyphs=function(t,r,n,i,o,a){if(!(2*t.length<=r.length))throw"Not enough positions for the array of gyphs";e.ee(this.ce);var u=c(t,"HEAPU16"),f=c(r,"HEAPF32");this._drawGlyphs(t.length,u,f,n,i,o,a),s(f,r),s(u,t)},e.Font.prototype.getGlyphBounds=function(t,r,n){var i=c(t,"HEAPU16"),o=e._malloc(16*t.length);return this._getGlyphWidthBounds(i,t.length,N,o,r||null),r=new Float32Array(e.HEAPU8.buffer,o,4*t.length),s(i,t),n?(n.set(r),e._free(o),n):(t=Float32Array.from(r),e._free(o),t)},e.Font.prototype.getGlyphIDs=function(t,r,n){r||(r=t.length);var i=ut(t)+1,o=e._malloc(i);return at(t,B,o,i),t=e._malloc(2*r),r=this._getGlyphIDs(o,i-1,r,t),e._free(o),0>r?(e._free(t),null):(o=new Uint16Array(e.HEAPU8.buffer,t,r),n?(n.set(o),e._free(t),n):(n=Uint16Array.from(o),e._free(t),n))},e.Font.prototype.getGlyphIntercepts=function(e,t,r,n){var i=c(e,"HEAPU16"),o=c(t,"HEAPF32");return this._getGlyphIntercepts(i,e.length,!(e&&e._ck),o,t.length,!(t&&t._ck),r,n)},e.Font.prototype.getGlyphWidths=function(t,r,n){var i=c(t,"HEAPU16"),o=e._malloc(4*t.length);return this._getGlyphWidthBounds(i,t.length,o,N,r||null),r=new Float32Array(e.HEAPU8.buffer,o,t.length),s(i,t),n?(n.set(r),e._free(o),n):(t=Float32Array.from(r),e._free(o),t)},e.FontMgr.FromData=function(){if(!arguments.length)return null;var t=arguments;if(1===t.length&&Array.isArray(t[0])&&(t=arguments[0]),!t.length)return null;for(var r=[],n=[],i=0;i<t.length;i++){var o=new Uint8Array(t[i]),a=c(o,"HEAPU8");r.push(a),n.push(o.byteLength)}return r=c(r,"HEAPU32"),n=c(n,"HEAPU32"),t=e.FontMgr._fromData(r,n,t.length),e._free(r),e._free(n),t},e.Typeface.MakeTypefaceFromData=function(t){var r=c(t=new Uint8Array(t),"HEAPU8");return(t=e.Typeface._MakeTypefaceFromData(r,t.byteLength))?t:null},e.Typeface.MakeFreeTypeFaceFromData=e.Typeface.MakeTypefaceFromData,e.Typeface.prototype.getGlyphIDs=function(t,r,n){r||(r=t.length);var i=ut(t)+1,o=e._malloc(i);return at(t,B,o,i),t=e._malloc(2*r),r=this._getGlyphIDs(o,i-1,r,t),e._free(o),0>r?(e._free(t),null):(o=new Uint16Array(e.HEAPU8.buffer,t,r),n?(n.set(o),e._free(t),n):(n=Uint16Array.from(o),e._free(t),n))},e.TextBlob.MakeOnPath=function(t,r,n,i){if(t&&t.length&&r&&r.countPoints()){if(1===r.countPoints())return this.MakeFromText(t,n);i||(i=0);var o=n.getGlyphIDs(t);o=n.getGlyphWidths(o);for(var a=[],u=(r=new e.ContourMeasureIter(r,!1,1)).next(),s=new Float32Array(4),c=0;c<t.length&&u;c++){var f=o[c];if((i+=f/2)>u.length()){if(u.delete(),!(u=r.next())){t=t.substring(0,c);break}i=f/2}u.getPosTan(i,s);var l=s[2],h=s[3];a.push(l,h,s[0]-f/2*l,s[1]-f/2*h),i+=f/2}return t=this.MakeFromRSXform(t,a,n),u&&u.delete(),r.delete(),t}},e.TextBlob.MakeFromRSXform=function(t,r,n){var i=ut(t)+1,o=e._malloc(i);return at(t,B,o,i),t=c(r,"HEAPF32"),n=e.TextBlob._MakeFromRSXform(o,i-1,t,n),e._free(o),n||null},e.TextBlob.MakeFromRSXformGlyphs=function(t,r,n){var i=c(t,"HEAPU16");return r=c(r,"HEAPF32"),n=e.TextBlob._MakeFromRSXformGlyphs(i,2*t.length,r,n),s(i,t),n||null},e.TextBlob.MakeFromGlyphs=function(t,r){var n=c(t,"HEAPU16");return r=e.TextBlob._MakeFromGlyphs(n,2*t.length,r),s(n,t),r||null},e.TextBlob.MakeFromText=function(t,r){var n=ut(t)+1,i=e._malloc(n);return at(t,B,i,n),t=e.TextBlob._MakeFromText(i,n-1,r),e._free(i),t||null},e.MallocGlyphIDs=function(t){return e.Malloc(Uint16Array,t)}})),e.ke=e.ke||[],e.ke.push((function(){e.MakePicture=function(t){t=new 
2Uint8Array(t);var r=e._malloc(t.byteLength);return e.HEAPU8.set(t,r),(t=e._MakePicture(r,t.byteLength))?t:null}})),e.ke=e.ke||[],e.ke.push((function(){e.RuntimeEffect.Make=function(t,r){return e.RuntimeEffect._Make(t,{onError:r||function(){}})},e.RuntimeEffect.MakeForBlender=function(t,r){return e.RuntimeEffect._MakeForBlender(t,{onError:r||function(){}})},e.RuntimeEffect.prototype.makeShader=function(e,t){var r=!e._ck,n=c(e,"HEAPF32");return t=h(t),this._makeShader(n,4*e.length,r,t)},e.RuntimeEffect.prototype.makeShaderWithChildren=function(e,t,r){var n=!e._ck,i=c(e,"HEAPF32");r=h(r);for(var o=[],a=0;a<t.length;a++)o.push(t[a].be.je);return t=c(o,"HEAPU32"),this._makeShaderWithChildren(i,4*e.length,n,t,o.length,r)},e.RuntimeEffect.prototype.makeBlender=function(e){var t=!e._ck,r=c(e,"HEAPF32");return this._makeBlender(r,4*e.length,t)}})),function(){function t(e){for(var t=0;t<e.length;t++)if(void 0!==e[t]&&!Number.isFinite(e[t]))return!1;return!0}function r(t){var r=e.getColorComponents(t);t=r[0];var n=r[1],i=r[2];return 1===(r=r[3])?(t=t.toString(16).toLowerCase(),n=n.toString(16).toLowerCase(),i=i.toString(16).toLowerCase(),"#"+(t=1===t.length?"0"+t:t)+(n=1===n.length?"0"+n:n)+(i=1===i.length?"0"+i:i)):"rgba("+t+", "+n+", "+i+", "+(r=0===r||1===r?r:r.toFixed(8))+")"}function i(t){return e.parseColorString(t,A)}function o(e){if(!(e=w.exec(e)))return null;var t=parseFloat(e[4]),r=16;switch(e[5]){case"em":case"rem":case"pc":r=16*t;break;case"pt":r=4*t/3;break;case"px":r=t;break;case"in":r=96*t;break;case"cm":r=96*t/2.54;break;case"mm":r=96/25.4*t;break;case"q":r=96/25.4/4*t;break;case"%":r=16/75*t}return{style:e[1],variant:e[2],weight:e[3],sizePx:r,family:e[6].trim()}}function a(){_||(_={"Noto Mono":{"*":e.Typeface.GetDefault()},monospace:{"*":e.Typeface.GetDefault()}})}function u(u){this.de=u,this.ge=new e.Paint,this.ge.setAntiAlias(!0),this.ge.setStrokeMiter(10),this.ge.setStrokeCap(e.StrokeCap.Butt),this.ge.setStrokeJoin(e.StrokeJoin.Miter),this.lf="10px monospace",this.Ge=new e.Font(e.Typeface.GetDefault(),10),this.Ge.setSubpixel(!0),this.te=this.ze=e.BLACK,this.Pe=0,this.bf=e.TRANSPARENT,this.Re=this.Qe=0,this.cf=this.Ce=1,this.af=0,this.Oe=[],this.fe=e.BlendMode.SrcOver,this.ge.setStrokeWidth(this.cf),this.ge.setBlendMode(this.fe),this.ie=new e.Path,this.le=e.Matrix.identity(),this.Gf=[],this.Ve=[],this.Fe=function(){this.ie.delete(),this.ge.delete(),this.Ge.delete(),this.Ve.forEach((function(e){e.Fe()}))},Object.defineProperty(this,"currentTransform",{enumerable:!0,get:function(){return{a:this.le[0],c:this.le[1],e:this.le[2],b:this.le[3],d:this.le[4],f:this.le[5]}},set:function(e){e.a&&this.setTransform(e.a,e.b,e.c,e.d,e.e,e.f)}}),Object.defineProperty(this,"fillStyle",{enumerable:!0,get:function(){return n(this.te)?r(this.te):this.te},set:function(e){"string"===typeof e?this.te=i(e):e.Ne&&(this.te=e)}}),Object.defineProperty(this,"font",{enumerable:!0,get:function(){return this.lf},set:function(t){var r=o(t),n=(r.style||"normal")+"|"+(r.variant||"normal")+"|"+(r.weight||"normal"),i=r.family;a(),n=_[i]?_[i][n]||_[i]["*"]:e.Typeface.GetDefault(),r.typeface=n,r&&(this.Ge.setSize(r.sizePx),this.Ge.setTypeface(r.typeface),this.lf=t)}}),Object.defineProperty(this,"globalAlpha",{enumerable:!0,get:function(){return this.Ce},set:function(e){!isFinite(e)||0>e||1<e||(this.Ce=e)}}),Object.defineProperty(this,"globalCompositeOperation",{enumerable:!0,get:function(){switch(this.fe){case e.BlendMode.SrcOver:return"source-over";case e.BlendMode.DstOver:return"destination-over";case e.BlendMode.Src:return"copy";case e.BlendMode.Dst:return"destination";case e.BlendMode.Clear:return"clear";case e.BlendMode.SrcIn:return"source-in";case e.BlendMode.DstIn:return"destination-in";case e.BlendMode.SrcOut:return"source-out";case e.BlendMode.DstOut:return"destination-out";case e.BlendMode.SrcATop:return"source-atop";case e.BlendMode.DstATop:return"destination-atop";case e.BlendMode.Xor:return"xor";case e.BlendMode.Plus:return"lighter";case e.BlendMode.Multiply:return"multiply";case e.BlendMode.Screen:return"screen";case e.BlendMode.Overlay:return"overlay";case e.BlendMode.Darken:return"darken";case e.BlendMode.Lighten:return"lighten";case e.BlendMode.ColorDodge:return"color-dodge";case e.BlendMode.ColorBurn:return"color-burn";case e.BlendMode.HardLight:return"hard-light";case e.BlendMode.SoftLight:return"soft-light";case e.BlendMode.Difference:return"difference";case e.BlendMode.Exclusion:return"exclusion";case e.BlendMode.Hue:return"hue";case e.BlendMode.Saturation:return"saturation";case e.BlendMode.Color:return"color";case e.BlendMode.Luminosity:return"luminosity"}}
vendor: 4,137 bytes, line 2
2,set:function(t){switch(t){case"source-over":this.fe=e.BlendMode.SrcOver;break;case"destination-over":this.fe=e.BlendMode.DstOver;break;case"copy":this.fe=e.BlendMode.Src;break;case"destination":this.fe=e.BlendMode.Dst;break;case"clear":this.fe=e.BlendMode.Clear;break;case"source-in":this.fe=e.BlendMode.SrcIn;break;case"destination-in":this.fe=e.BlendMode.DstIn;break;case"source-out":this.fe=e.BlendMode.SrcOut;break;case"destination-out":this.fe=e.BlendMode.DstOut;break;case"source-atop":this.fe=e.BlendMode.SrcATop;break;case"destination-atop":this.fe=e.BlendMode.DstATop;break;case"xor":this.fe=e.BlendMode.Xor;break;case"lighter":case"plus-lighter":this.fe=e.BlendMode.Plus;break;case"plus-darker":throw"plus-darker is not supported";case"multiply":this.fe=e.BlendMode.Multiply;break;case"screen":this.fe=e.BlendMode.Screen;break;case"overlay":this.fe=e.BlendMode.Overlay;break;case"darken":this.fe=e.BlendMode.Darken;break;case"lighten":this.fe=e.BlendMode.Lighten;break;case"color-dodge":this.fe=e.BlendMode.ColorDodge;break;case"color-burn":this.fe=e.BlendMode.ColorBurn;break;case"hard-light":this.fe=e.BlendMode.HardLight;break;case"soft-light":this.fe=e.BlendMode.SoftLight;break;case"difference":this.fe=e.BlendMode.Difference;break;case"exclusion":this.fe=e.BlendMode.Exclusion;break;case"hue":this.fe=e.BlendMode.Hue;break;case"saturation":this.fe=e.BlendMode.Saturation;break;case"color":this.fe=e.BlendMode.Color;break;case"luminosity":this.fe=e.BlendMode.Luminosity;break;default:return}this.ge.setBlendMode(this.fe)}}),Object.defineProperty(this,"imageSmoothingEnabled",{enumerable:!0,get:function(){return!0},set:function(){}}),Object.defineProperty(this,"imageSmoothingQuality",{enumerable:!0,get:function(){return"high"},set:function(){}}),Object.defineProperty(this,"lineCap",{enumerable:!0,get:function(){switch(this.ge.getStrokeCap()){case e.StrokeCap.Butt:return"butt";case e.StrokeCap.Round:return"round";case e.StrokeCap.Square:return"square"}},set:function(t){switch(t){case"butt":this.ge.setStrokeCap(e.StrokeCap.Butt);break;case"round":this.ge.setStrokeCap(e.StrokeCap.Round);break;case"square":this.ge.setStrokeCap(e.StrokeCap.Square)}}}),Object.defineProperty(this,"lineDashOffset",{enumerable:!0,get:function(){return this.af},set:function(e){isFinite(e)&&(this.af=e)}}),Object.defineProperty(this,"lineJoin",{enumerable:!0,get:function(){switch(this.ge.getStrokeJoin()){case e.StrokeJoin.Miter:return"miter";case e.StrokeJoin.Round:return"round";case e.StrokeJoin.Bevel:return"bevel"}},set:function(t){switch(t){case"miter":this.ge.setStrokeJoin(e.StrokeJoin.Miter);break;case"round":this.ge.setStrokeJoin(e.StrokeJoin.Round);break;case"bevel":this.ge.setStrokeJoin(e.StrokeJoin.Bevel)}}}),Object.defineProperty(this,"lineWidth",{enumerable:!0,get:function(){return this.ge.getStrokeWidth()},set:function(e){0>=e||!e||(this.cf=e,this.ge.setStrokeWidth(e))}}),Object.defineProperty(this,"miterLimit",{enumerable:!0,get:function(){return this.ge.getStrokeMiter()},set:function(e){0>=e||!e||this.ge.setStrokeMiter(e)}}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,get:function(){return this.Pe},set:function(e){0>e||!isFinite(e)||(this.Pe=e)}}),Object.defineProperty(this,"shadowColor",{enumerable:!0,get:function(){return r(this.bf)},set:function(e){this.bf=i(e)}}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,get:function(){return this.Qe},set:function(e){isFinite(e)&&(this.Qe=e)}}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,get:function(){return this.Re},set:function(e){isFinite(e)&&(this.Re=e)}}),Object.defineProperty(this,"strokeStyle",{enumerable:!0,get:function(){return r(this.ze)},set:function(e){"string"===typeof e?this.ze=i(e):e.Ne&&(this.ze=e)}}),this.arc=function(e,t,r,n,i,o){y(this.ie,e,t,r,r,0,n,i,o)},this.arcTo=function(e,t,r,n,i){h(this.ie,e,t,r,n,i)},this.beginPath=function(){this.ie.delete(),this.ie=new e.Path},this.bezierCurveTo=function(e,r,n,i,o,a){var u=this.ie;t([e,r,n,i,o,a])&&(u.isEmpty()&&u.moveTo(e,r),u.cubicTo(e,r,n,i,o,a))},this.clearRect=function(t,r,n,i){this.ge.setStyle(e.PaintStyle.Fill),this.ge.setBlendMode(e.BlendM
2ode.Clear),this.de.drawRect(e.XYWHRect(t,r,n,i),this.ge),this.ge.setBlendMode(this.fe)},this.clip=function(t,r){"string"===typeof t?(r=t,t=this.ie):t&&t.wf&&(t=t.me),t||(t=this.ie),t=t.copy(),r&&"evenodd"===r.toLowerCase()?t.setFillType(e.FillType.EvenOdd):t.setFillType(e.FillType.Winding),this.de.clipPath(t,e.ClipOp.Intersect,!0),t.delete()},this.closePath=function(){d(this.ie)},this.createImageData=function(){if(1===arguments.length){var e=arguments[0];return new f(new Uint8ClampedArray(4*e.width*e.height),e.width,e.height)}if(2===arguments.length){e=arguments[0];var t=arguments[1];return new f(new Uint8ClampedArray(4*e*t),e,t)}throw"createImageData expects 1 or 2 arguments, got "+arguments.length},this.createLinearGradient=function(e,r,n,i){if(t(arguments)){var o=new l(e,r,n,i);return this.Ve.push(o),o}},this.createPattern=function(e,t){return e=new m(e,t),this.Ve.push(e),e},this.createRadialGradient=function(e,r,n,i,o,a){if(t(arguments)){var u=new b(e,r,n,i,o,a);return this.Ve.push(u),u}},this.drawImage=function(t){t instanceof c&&(t=t.Mf());var r=this.kf();if(3===arguments.length||5===arguments.length)var n=e.XYWHRect(arguments[1],arguments[2],arguments[3]||t.width(),arguments[4]||t.height()),i=e.XYWHRect(0,0,t.width(),t.height());else{if(9!==arguments.length)throw"invalid number of args for drawImage, need 3, 5, or 9; got "+arguments.length;n=e.XYWHRect(arguments[5],arguments[6],arguments[7],arguments[8]),i=e.XYWHRect(arguments[1],arguments[2],arguments[3],arguments[4])}this.de.drawImageRect(t,i,n,r,!1),r.dispose()},this.ellipse=function(e,t,r,n,i,o,a,u){y(this.ie,e,t,r,n,i,o,a,u)},this.kf=function(){var t=this.ge.copy();if(t.setStyle(e.PaintStyle.Fill),n(this.te)){var r=e.multiplyByAlpha(this.te,this.Ce);t.setColor(r)}else r=this.te.Ne(this.le),t.setColor(e.Color(0,0,0,this.Ce)),t.setShader(r);return t.dispose=function(){this.delete()},t},this.fill=function(t,r){if("string"===typeof t?(r=t,t=this.ie):t&&t.wf&&(t=t.me),"evenodd"===r)this.ie.setFillType(e.FillType.EvenOdd);else{if("nonzero"!==r&&r)throw"invalid fill rule";this.ie.setFillType(e.FillType.Winding)}t||(t=this.ie),r=this.kf();var n=this.Se(r);n&&(this.de.save(),this.Le(),this.de.drawPath(t,n),this.de.restore(),n.dispose()),this.de.drawPath(t,r),r.dispose()},this.fillRect=function(t,r,n,i){var o=this.kf(),a=this.Se(o);a&&(this.de.save(),this.Le(),this.de.drawRect(e.XYWHRect(t,r,n,i),a),this.de.restore(),a.dispose()),this.de.drawRect(e.XYWHRect(t,r,n,i),o),o.dispose()},this.fillText=function(t,r,n){var i=this.kf();t=e.TextBlob.MakeFromText(t,this.Ge);var o=this.Se(i);o&&(this.de.save(),this.Le(),this.de.drawTextBlob(t,r,n,o),this.de.restore(),o.dispose()),this.de.drawTextBlob(t,r,n,i),t.delete(),i.dispose()},this.getImageData=function(t,r,n,i){return(t=this.de.readPixels(t,r,{width:n,height:i,colorType:e.ColorType.RGBA_8888,alphaType:e.AlphaType.Unpremul,colorSpace:e.ColorSpace.SRGB}))?new f(new Uint8ClampedArray(t.buffer),n,i):null},this.getLineDash=function(){return this.Oe.slice()},this.Hf=function(t){var r=e.Matrix.invert(this.le);
2return e.Matrix.mapPoints(r,t),t},this.isPointInPath=function(t,r,n){var i=arguments;if(3===i.length)var o=this.ie;else{if(4!==i.length)throw"invalid arg count, need 3 or 4, got "+i.length;o=i[0],t=i[1],r=i[2],n=i[3]}return!(!isFinite(t)||!isFinite(r))&&("nonzero"===(n=n||"nonzero")||"evenodd"===n)&&(t=(i=this.Hf([t,r]))[0],r=i[1],o.setFillType("nonzero"===n?e.FillType.Winding:e.FillType.EvenOdd),o.contains(t,r))},this.isPointInStroke=function(t,r){var n=arguments;if(2===n.length)var i=this.ie;else{if(3!==n.length)throw"invalid arg count, need 2 or 3, got "+n.length;i=n[0],t=n[1],r=n[2]}return!(!isFinite(t)||!isFinite(r))&&(t=(n=this.Hf([t,r]))[0],r=n[1],(i=i.copy()).setFillType(e.FillType.Winding),i.stroke({width:this.lineWidth,miter_limit:this.miterLimit,cap:this.ge.getStrokeCap(),join:this.ge.getStrokeJoin(),precision:.3}),n=i.contains(t,r),i.delete(),n)},this.lineTo=function(e,t){g(this.ie,e,t)},this.measureText=function(e){e=this.Ge.getGlyphIDs(e),e=this.Ge.getGlyphWidths(e);var t=0;for(var r of e)t+=r;return{width:t}},this.moveTo=function(e,r){var n=this.ie;t([e,r])&&n.moveTo(e,r)},this.putImageData=function(r,n,i,o,a,u,s){if(t([n,i,o,a,u,s]))if(void 0===o)this.de.writePixels(r.data,r.width,r.height,n,i);else if(o=o||0,a=a||0,u=u||r.width,s=s||r.height,0>u&&(o+=u,u=Math.abs(u)),0>s&&(a+=s,s=Math.abs(s)),0>o&&(u+=o,o=0),0>a&&(s+=a,a=0),!(0>=u||0>=s)){r=e.MakeImage({width:r.width,height:r.height,alphaType:e.AlphaType.Unpremul,colorType:e.ColorType.RGBA_8888,colorSpace:e.ColorSpace.SRGB},r.data,4*r.width);var c=e.XYWHRect(o,a,u,s);n=e.XYWHRect(n+o,i+a,u,s),i=e.Matrix.invert(this.le),this.de.save(),this.de.concat(i),this.de.drawImageRect(r,c,n,null,!1),this.de.restore(),r.delete()}},this.quadraticCurveTo=function(e,r,n,i){var o=this.ie;t([e,r,n,i])&&(o.isEmpty()&&o.moveTo(e,r),o.quadTo(e,r,n,i))},this.rect=function(r,n,i,o){var a=this.ie;t(r=e.XYWHRect(r,n,i,o))&&a.addRect(r)},this.resetTransform=function(){this.ie.transform(this.le);var t=e.Matrix.invert(this.le);this.de.concat(t),this.le=this.de.getTotalMatrix()},this.restore=function(){var t=this.Gf.pop();if(t){var r=e.Matrix.multiply(this.le,e.Matrix.invert(t.ag));this.ie.transform(r),this.ge.delete(),this.ge=t.tg,this.Oe=t.rg,this.cf=t.Fg,this.ze=t.Eg,this.te=t.fs,this.Qe=t.Cg,this.Re=t.Dg,this.Pe=t.sb,this.bf=t.Bg,this.Ce=t.ga,this.fe=t.ig,this.af=t.sg,this.lf=t.hg,this.de.restore(),this.le=this.de.getTotalMatrix()}},this.rotate=function(t){if(isFinite(t)){var r=e.Matrix.rotated(-t);this.ie.transform(r),this.de.rotate(t/Math.PI*180,0,0),this.le=this.de.getTotalMatrix()}},this.save=function(){if(this.te.Me){var e=this.te.Me();this.Ve.push(e)}else e=this.te;if(this.ze.Me){var t=this.ze.Me();this.Ve.push(t)}else t=this.ze;this.Gf.push({ag:this.le.slice(),rg:this.Oe.slice(),Fg:this.cf,Eg:t,fs:e,Cg:this.Qe,Dg:this.Re,sb:this.Pe,Bg:this.bf,ga:this.Ce,sg:this.af,ig:this.fe,tg:this.ge.copy(),hg:this.lf}),this.de.save()},this.scale=function(r,n){if(t(arguments)){var i=e.Matrix.scaled(1/r,1/n);this.ie.transform(i),this.de.scale(r,n),this.le=this.de.getTotalMatrix()}},this.setLineDash=function(e){for(var t=0;t<e.length;t++)if(!isFinite(e[t])||0>e[t])return;1===e.length%2&&Array.prototype.push.apply(e,e),this.Oe=e},this.setTransform=function(e,r,n,i,o,a){t(arguments)&&(this.resetTransform(),this.transform(e,r,n,i,o,a))},this.Le=function(){var t=e.Matrix.invert(this.le);this.de.concat(t),this.de.concat(e.Matrix.translated(this.Qe,this.Re)),this.de.concat(this.le)},this.Se=function(t){var r=e.multiplyByAlpha(this.bf,this.Ce);if(!e.getColorComponents(r)[3]||!(this.Pe||this.Re||this.Qe))return null;(t=t.copy()).setColor(r);var n=e.MaskFilter.MakeBlur(e.BlurStyle.Normal,this.Pe/2,!1);return t.setMaskFilter(n),t.dispose=function(){n.delete(),this.delete()},t},this.yf=function(){var t=this.ge.copy();if(t.setStyle(e.PaintStyle.Stroke),n(this.ze)){var r=e.multiplyByAlpha(this.ze,this.Ce);t.setColor(r)}else r=this.ze.Ne(this.le),t.setColor(e.Color(0,0,0,this.Ce)),t.setShader(r);if(t.setStrokeWidth(this.cf),this.Oe.length){var i=e.PathEffect.MakeDash(this.Oe,this.af);t.setPathEffect(i)}return t.dispose=function(){i&&i.delete(),this.delete()},t},this.stroke=function(e){e=e?e.me:this.ie;var t=this.yf(),r=this.Se(t);r&&(this.de.save(),this.Le(),this.de.drawPath(e,r),this.de.restore(
2),r.dispose()),this.de.drawPath(e,t),t.dispose()},this.strokeRect=function(t,r,n,i){var o=this.yf(),a=this.Se(o);a&&(this.de.save(),this.Le(),this.de.drawRect(e.XYWHRect(t,r,n,i),a),this.de.restore(),a.dispose()),this.de.drawRect(e.XYWHRect(t,r,n,i),o),o.dispose()},this.strokeText=function(t,r,n){var i=this.yf();t=e.TextBlob.MakeFromText(t,this.Ge);var o=this.Se(i);o&&(this.de.save(),this.Le(),this.de.drawTextBlob(t,r,n,o),this.de.restore(),o.dispose()),this.de.drawTextBlob(t,r,n,i),t.delete(),i.dispose()},this.translate=function(r,n){if(t(arguments)){var i=e.Matrix.translated(-r,-n);this.ie.transform(i),this.de.translate(r,n),this.le=this.de.getTotalMatrix()}},this.transform=function(t,r,n,i,o,a){t=[t,n,o,r,i,a,0,0,1],r=e.Matrix.invert(t),this.ie.transform(r),this.de.concat(t),this.le=this.de.getTotalMatrix()},this.addHitRegion=function(){},this.clearHitRegions=function(){},this.drawFocusIfNeeded=function(){},this.removeHitRegion=function(){},this.scrollPathIntoView=function(){},Object.defineProperty(this,"canvas",{value:null,writable:!1})}function s(t){this.zf=t,this.ce=new u(t.getCanvas()),this.mf=[],this.decodeImage=function(t){if(!(t=e.MakeImageFromEncoded(t)))throw"Invalid input";return this.mf.push(t),new c(t)},this.loadFont=function(t,r){if(!(t=e.Typeface.MakeTypefaceFromData(t)))return null;this.mf.push(t);var n=(r.style||"normal")+"|"+(r.variant||"normal")+"|"+(r.weight||"normal");r=r.family,a(),_[r]||(_[r]={"*":t}),_[r][n]=t},this.makePath2D=function(e){return e=new v(e),this.mf.push(e.me),e},this.getContext=function(e){return"2d"===e?this.ce:null},this.toDataURL=function(t,r){this.zf.flush();var n=this.zf.makeImageSnapshot();if(n){t=t||"image/png";var i=e.ImageFormat.PNG;if("image/jpeg"===t&&(i=e.ImageFormat.JPEG),r=n.encodeToBytes(i,r||.92)){if(n.delete(),t="data:"+t+";base64,","undefined"!==typeof Buffer)r=Buffer.from(r).toString("base64");else{n=0,i=r.length;for(var o,a="";n<i;)o=r.slice(n,Math.min(n+32768,i)),a+=String.fromCharCode.apply(null,o),n+=32768;r=btoa(a)}return t+r}}},this.dispose=function(){this.ce.Fe(),this.mf.forEach((function(e){e.delete()})),this.zf.dispose()}}function c(e){this.width=e.width(),this.height=e.height(),this.naturalWidth=this.width,this.naturalHeight=this.height,this.Mf=function(){return e}}function f(e,t,r){if(!t||0===r)throw new TypeError("invalid dimensions, width and height must be non-zero");if(e.length%4)throw new TypeError("arr must be a multiple of 4");r=r||e.length/(4*t),Object.defineProperty(this,"data",{value:e,writable:!1}),Object.defineProperty(this,"height",{value:r,writable:!1}),Object.defineProperty(this,"width",{value:t,writable:!1})}function l(t,r,n,o){this.oe=null,this.ve=[],this.re=[],this.addColorStop=function(e,t){if(0>e||1<e||!isFinite(e))throw"offset must be between 0 and 1 inclusively";t=i(t);var r=this.re.indexOf(e);if(-1!==r)this.ve[r]=t;else{for(r=0;r<this.re.length&&!(this.re[r]>e);r++);this.re.splice(r,0,e),this.ve.splice(r,0,t)}},this.Me=function(){var e=new l(t,r,n,o);return e.ve=this.ve.slice(),e.re=this.re.slice(),e},this.Fe=function(){this.oe&&(this.oe.delete(),this.oe=null)},this.Ne=function(i){var a=[t,r,n,o];e.Matrix.mapPoints(i,a),i=a[0];var u=a[1],s=a[2];return a=a[3],this.Fe(),this.oe=e.Shader.MakeLinearGradient([i,u],[s,a],this.ve,this.re,e.TileMode.Clamp)}}function h(e,r,n,i,o,a){if(t([r,n,i,o,a])){if(0>a)throw"radii cannot be negative";e.isEmpty()&&e.moveTo(r,n),e.arcToTangent(r,n,i,o,a)}}function d(e){if(!e.isEmpty()){var t=e.getBounds();(t[3]-t[1]||t[2]-t[0])&&e.close()}}function p(t,r,n,i,o,a,u){u=(u-a)/Math.PI*180,a=a/Math.PI*180,r=e.LTRBRect(r-i,n-o,r+i,n+o),1e-5>Math.abs(Math.abs(u)-360)?(n=u/2,t.arcToOval(r,a,n,!1),t.arcToOval(r,a+n,n,!1)):t.arcToOval(r,a,u,!1)}function y(r,n,i,o,a,u,s,c,f){if(t([n,i,o,a,u,s,c])){if(0>o||0>a)throw"radii cannot be negative";var l=2*Math.PI,h=s%l;0>h&&(h+=l);var d=h-s;s=h,c+=d,!f&&c-s>=l?c=s+l:f&&s-c>=l?c=s-l:!f&&s>c?c=s+(l-(s-c)%l):f&&s<c&&(c=s-(l-(c-s)%l)),u?(f=e.Matrix.rotated(u,n,i),u=e.Matrix.rotated(-u,n,i),r.transform(u),p(r,n,i,o,a,s,c),r.transform(f)):p(r,n,i,o,a,s,c)}}function g(e,r,n){t([r,n])&&(e.isEmpty()&&e.moveTo(r,n),e.lineTo(r,n))}function v(r){this.me=null,this.me="string"===typeof r?e.Path.MakeFromSVGString(r):r&&r.wf?r.me.copy():new e.Path,this.wf=function(){return this.me},this.addPath=function(e,t){t||(t={a:1,c:0,e:0,b:0,d:1,f:0}),this.me.addPath(e.me,[t.a,t.c,t.e,t.b,t.d,t.f])},this.arc=function(e,t,r,n,i,o){y(this.me,e,t,r,r,0,n,i,o)},this.arcTo=function(e,t,r,n,i){h(this.me,e,t,r,n,i)},this.bezierCurveTo=function(e,r,n,i,o,a){var u=this.me;t([e,r,n,i,o,a])&&(u.isEmpty()&&u.moveTo(e,r),u.cubicTo(e,r,n,i,o,a))},this.closePath=function(){d(this.me)},this.ellipse=function(e,t,r,n,i,o,a,u){y(this.me,e,t,r,n,i,o,a,u)},this.lineTo=function(e,t){g(this.me,e,t)},this.moveTo=function(e,r){var n=this.me;t([e,r])&&n.moveTo(e,r)},this.quadraticCurveTo=function(e,r,n,i){var o=this.me;
2t([e,r,n,i])&&(o.isEmpty()&&o.moveTo(e,r),o.quadTo(e,r,n,i))},this.rect=function(r,n,i,o){var a=this.me;t(r=e.XYWHRect(r,n,i,o))&&a.addRect(r)}}function m(r,n){switch(this.oe=null,r instanceof c&&(r=r.Mf()),this.Vf=r,this._transform=e.Matrix.identity(),""===n&&(n="repeat"),n){case"repeat-x":this.Te=e.TileMode.Repeat,this.Ue=e.TileMode.Decal;break;case"repeat-y":this.Te=e.TileMode.Decal,this.Ue=e.TileMode.Repeat;break;case"repeat":this.Ue=this.Te=e.TileMode.Repeat;break;case"no-repeat":this.Ue=this.Te=e.TileMode.Decal;break;default:throw"invalid repetition mode "+n}this.setTransform=function(e){t(e=[e.a,e.c,e.e,e.b,e.d,e.f,0,0,1])&&(this._transform=e)},this.Me=function(){var e=new m;return e.Te=this.Te,e.Ue=this.Ue,e},this.Fe=function(){this.oe&&(this.oe.delete(),this.oe=null)},this.Ne=function(){return this.Fe(),this.oe=this.Vf.makeShaderCubic(this.Te,this.Ue,1/3,1/3,this._transform)}}function b(t,r,n,o,a,u){this.oe=null,this.ve=[],this.re=[],this.addColorStop=function(e,t){if(0>e||1<e||!isFinite(e))throw"offset must be between 0 and 1 inclusively";t=i(t);var r=this.re.indexOf(e);if(-1!==r)this.ve[r]=t;else{for(r=0;r<this.re.length&&!(this.re[r]>e);r++);this.re.splice(r,0,e),this.ve.splice(r,0,t)}},this.Me=function(){var e=new b(t,r,n,o,a,u);return e.ve=this.ve.slice(),e.re=this.re.slice(),e},this.Fe=function(){this.oe&&(this.oe.delete(),this.oe=null)},this.Ne=function(i){var s=[t,r,o,a];e.Matrix.mapPoints(i,s);var c=s[0],f=s[1],l=s[2];s=s[3];var h=(Math.abs(i[0])+Math.abs(i[4]))/2;return i=n*h,h*=u,this.Fe(),this.oe=e.Shader.MakeTwoPointConicalGradient([c,f],i,[l,s],h,this.ve,this.re,e.TileMode.Clamp)}}e._testing={};var A={aliceblue:Float32Array.of(.941,.973,1,1),antiquewhite:Float32Array.of(.98,.922,.843,1),aqua:Float32Array.of(0,1,1,1),aquamarine:Float32Array.of(.498,1,.831,1),azure:Float32Array.of(.941,1,1,1),beige:Float32Array.of(.961,.961,.863,1),bisque:Float32Array.of(1,.894,.769,1),black:Float32Array.of(0,0,0,1),blanchedalmond:Float32Array.of(1,.922,.804,1),blue:Float32Array.of(0,0,1,1),blueviolet:Float32Array.of(.541,.169,.886,1),brown:Float32Array.of(.647,.165,.165,1),burlywood:Float32Array.of(.871,.722,.529,1),cadetblue:Float32Array.of(.373,.62,.627,1),chartreuse:Float32Array.of(.498,1,0,1),chocolate:Float32Array.of(.824,.412,.118,1),coral:Float32Array.of(1,.498,.314,1),cornflowerblue:Float32Array.of(.392,.584,.929,1),cornsilk:Float32Array.of(1,.973,.863,1),crimson:Float32Array.of(.863,.078,.235,1),cyan:Float32Array.of(0,1,1,1),darkblue:Float32Array.of(0,0,.545,1),darkcyan:Float32Array.of(0,.545,.545,1),darkgoldenrod:Float32Array.of(.722,.525,.043,1),darkgray:Float32Array.of(.663,.663,.663,1),darkgreen:Float32Array.of(0,.392,0,1),darkgrey:Float32Array.of(.663,.663,.663,1),darkkhaki:Float32Array.of(.741,.718,.42,1),darkmagenta:Float32Array.of(.545,0,.545,1),darkolivegreen:Float32Array.of(.333,.42,.184,1),darkorange:Float32Array.of(1,.549,0,1),darkorchid:Float32Array.of(.6,.196,.8,1),darkred:Float32Array.of(.545,0,0,1),darksalmon:Float32Array.of(.914,.588,.478,1),darkseagreen:Float32Array.of(.561,.737,.561,1),darkslateblue:Float32Array.of(.282,.239,.545,1),darkslategray:Float32Array.of(.184,.31,.31,1),darkslategrey:Float32Array.of(.184,.31,.31,1),darkturquoise:Float32Array.of(0,.808,.82,1),darkviolet:Float32Array.of(.58,0,.827,1),deeppink:Float32Array.of(1,.078,.576,1),deepskyblue:Float32Array.of(0,.749,1,1),dimgray:Float32Array.of(.412,.412,.412,1),dimgrey:Float32Array.of(.412,.412,.412,1),dodgerblue:Float32Array.of(.118,.565,1,1),firebrick:Float32Array.of(.698,.133,.133,1),floralwhite:Float32Array.of(1,.98,.941,1),forestgreen:Float32Array.of(.133,.545,.133,1),fuchsia:Float32Array.of(1,0,1,1),gainsboro:Float32Array.of(.863,.863,.863,1),ghostwhite:Float32Array.of(.973,.973,1,1),gold:Float32Array.of(1,.843,0,1),goldenrod:Float32Array.of(.855,.647,.125,1),gray:Float32Array.of(.502,.502,.502,1),green:Float32Array.of(0,.502,0,1),greenyellow:Float32Array.of(.678,1,.184,1),grey:Float32Array.of(.502,.502,.502,1),honeydew:Float32Array.of(.941,1,.941,1),hotpink:Float32Array.of(1,.412,.706,1),indianred:Float32Array.of(.804,.361,.361,1),indigo:Float32Array.of(.294,0,.51,1),ivory:Float32Array.of(1,1,.941,1),khaki:Float32Array.of(.941,.902,.549,1),lavender:Float32Array.of(.902,.902,.98,1),lavenderblush:Float32Array.of(1,.941,.961,1),lawngreen:Float32Array.of(.486,.988,0,1),lemonchiffon:Float32Array.of(1,.98,.804,1),lightblue:Float32Array.of(.678,.847,.902,1),lightcoral:Float32Array.of(.941,.502,.502,1),lightcyan:Float32Array.of(.878,1,1,1),lightgoldenrodyellow:Float32Array.of(.98,.98,.824,1),lightgray:Float32Array.of(.827,.827,.827,1),lightgreen:Float32Array.of(.565,.933,.565,1),lightgrey:Float32Array.of(.827,.827,.827,1),lightpink:Float32Array.of(1,.714,.757,1
2),lightsalmon:Float32Array.of(1,.627,.478,1),lightseagreen:Float32Array.of(.125,.698,.667,1),lightskyblue:Float32Array.of(.529,.808,.98,1),lightslategray:Float32Array.of(.467,.533,.6,1),lightslategrey:Float32Array.of(.467,.533,.6,1),lightsteelblue:Float32Array.of(.69,.769,.871,1),lightyellow:Float32Array.of(1,1,.878,1),lime:Float32Array.of(0,1,0,1),limegreen:Float32Array.of(.196,.804,.196,1),linen:Float32Array.of(.98,.941,.902,1),magenta:Float32Array.of(1,0,1,1),maroon:Float32Array.of(.502,0,0,1),mediumaquamarine:Float32Array.of(.4,.804,.667,1),mediumblue:Float32Array.of(0,0,.804,1),mediumorchid:Float32Array.of(.729,.333,.827,1),mediumpurple:Float32Array.of(.576,.439,.859,1),mediumseagreen:Float32Array.of(.235,.702,.443,1),mediumslateblue:Float32Array.of(.482,.408,.933,1),mediumspringgreen:Float32Array.of(0,.98,.604,1),mediumturquoise:Float32Array.of(.282,.82,.8,1),mediumvioletred:Float32Array.of(.78,.082,.522,1),midnightblue:Float32Array.of(.098,.098,.439,1),mintcream:Float32Array.of(.961,1,.98,1),mistyrose:Float32Array.of(1,.894,.882,1),moccasin:Float32Array.of(1,.894,.71,1),navajowhite:Float32Array.of(1,.871,.678,1),navy:Float32Array.of(0,0,.502,1),oldlace:Float32Array.of(.992,.961,.902,1),olive:Float32Array.of(.502,.502,0,1),olivedrab:Float32Array.of(.42,.557,.137,1),orange:Float32Array.of(1,.647,0,1),orangered:Float32Array.of(1,.271,0,1),orchid:Float32Array.of(.855,.439,.839,1),palegoldenrod:Float32Array.of(.933,.91,.667,1),palegreen:Float32Array.of(.596,.984,.596,1),paleturquoise:Float32Array.of(.686,.933,.933,1),palevioletred:Float32Array.of(.859,.439,.576,1),papayawhip:Float32Array.of(1,.937,.835,1),peachpuff:Float32Array.of(1,.855,.725,1),peru:Float32Array.of(.804,.522,.247,1),pink:Float32Array.of(1,.753,.796,1),plum:Float32Array.of(.867,.627,.867,1),powderblue:Float32Array.of(.69,.878,.902,1),purple:Float32Array.of(.502,0,.502,1),rebeccapurple:Float32Array.of(.4,.2,.6,1),red:Float32Array.of(1,0,0,1),rosybrown:Float32Array.of(.737,.561,.561,1),royalblue:Float32Array.of(.255,.412,.882,1),saddlebrown:Float32Array.of(.545,.271,.075,1),salmon:Float32Array.of(.98,.502,.447,1),sandybrown:Float32Array.of(.957,.643,.376,1),seagreen:Float32Array.of(.18,.545,.341,1),seashell:Float32Array.of(1,.961,.933,1),sienna:Float32Array.of(.627,.322,.176,1),silver:Float32Array.of(.753,.753,.753,1),skyblue:Float32Array.of(.529,.808,.922,1),slateblue:Float32Array.of(.416,.353,.804,1),slategray:Float32Array.of(.439,.502,.565,1),slategrey:Float32Array.of(.439,.502,.565,1),snow:Float32Array.of(1,.98,.98,1),springgreen:Float32Array.of(0,1,.498,1),steelblue:Float32Array.of(.275,.51,.706,1),tan:Float32Array.of(.824,.706,.549,1),teal:Float32Array.of(0,.502,.502,1),thistle:Float32Array.of(.847,.749,.847,1),tomato:Float32Array.of(1,.388,.278,1),transparent:Float32Array.of(0,0,0,0),turquoise:Float32Array.of(.251,.878,.816,1),violet:Float32Array.of(.933,.51,.933,1),wheat:Float32Array.of(.961,.871,.702,1),white:Float32Array.of(1,1,1,1),whitesmoke:Float32Array.of(.961,.961,.961,1),yellow:Float32Array.of(1,1,0,1),yellowgreen:Float32Array.of(.604,.804,.196,1)};e._testing.parseColor=i,e._testing.colorToString=r;var _,w=RegExp("(italic|oblique|normal|)\\s*(small-caps|normal|)\\s*(bold|bolder|lighter|[1-9]00|normal|)\\s*([\\d\\.]+)(px|pt|pc|in|cm|mm|%|em|ex|ch|rem|q)(.+)");e._testing.parseFontString=o,e.MakeCanvas=function(t,r){return(t=e.MakeSurface(t,r))?new s(t):null},e.ImageData=function(){if(2===arguments.length){var e=arguments[0],t=arguments[1];return new f(new Uint8ClampedArray(4*e*t),e,t)}if(3===arguments.length){var r=arguments[0];if(r.prototype.constructor!==Uint8ClampedArray)throw new TypeError("bytes must be given as a Uint8ClampedArray");if(e=arguments[1],t=arguments[2],r%4)throw new TypeError("bytes must be given in a multiple of 4");if(r%e)throw new TypeError("bytes must divide evenly by width");if(t&&t!==r/(4*e))throw new TypeError("invalid height given");return new f(r,e,r/(4*e))}throw new TypeError("invalid number of arguments - takes 2 or 3, saw "+arguments.length)}}()}(l);var d,p,y,g=Object.assign({},l),v="./this.program",m=function(e,t){throw t},b="object"==typeof window,A="function"==typeof importScripts,_="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,w="";if(_){var P=r(42441),T=r(1327);w=A?T.dirname(w)+"/":"//",d=function(e,t){return e=e.startsWith("file://")?new URL(e):T.normalize(e),P.readFileSync(e,t?void 0:"utf8")},y=function(e){return(e=d(e,!0)).buffer||(e=new Uint8Array(e)),e},p=function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=e.startsWith("file://")?new URL(e):T.normalize(e),P.readFile(e,n?void 0:"utf8",(function(e,i){e?r(e):t(n?i.buffer:i)}))},!l.thisProgram&&1<process.argv.length&&(v=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),m=function(e,t){throw process.exitCode=e,t},l.inspect=function(){return"[Emscripten Module object]"}}else(b||A)&&(A?w=self.location.href:"undefined"!=typeof document&&document.currentScript&&(w=document.currentScript.src),h&&(w=h),w=0!==w.indexOf("blob:")?w.substr(0,w.replace(/[?#].*/,"").lastIndexOf("/")+1):"",d=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},A&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),p=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var C,M=l.print||function(){}.bind(),k=l.printErr||function(){}.bind();Object.assign(l,g),g=null,l.thisProgram&&(v=l.thisProgram),l.quit&&(m=l.quit),l.wasmBinary&&(C=l.wasmBinary);var F=l.noExitRuntime||!0;"object"!=typeof WebAssembly&&X("no native wasm support detected");var S,x,E,B,R,D,I,L,O,H,j=!1;function G(){var e=S.buffer;l.HEAP8=E=new Int8Array(e),l.HEAP16=R=new Int16Array(e),l.HEAP32=I=new Int32Array(e),l.HEAPU8=B=new Uint8Array(e),l.HEAPU16=D=new Uint16Array(e),l.HEAPU32
2=L=new Uint32Array(e),l.HEAPF32=O=new Float32Array(e),l.HEAPF64=H=new Float64Array(e)}var W,U=[],N=[],V=[];function z(){var e=l.preRun.shift();U.unshift(e)}var q,$=0,Y=null,Z=null;function X(e){throw l.onAbort&&l.onAbort(e),k(e="Aborted("+e+")"),j=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),t(e),e}function J(e){return e.startsWith("data:application/octet-stream;base64,")}if(!J(q="canvaskit.wasm")){var K=q;q=l.locateFile?l.locateFile(K,w):w+K}function Q(e){if(e==q&&C)return new Uint8Array(C);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}function ee(e,t,r){return function(e){if(!C&&(b||A)){if("function"==typeof fetch&&!e.startsWith("file://"))return fetch(e,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()})).catch((function(){return Q(e)}));if(p)return new Promise((function(t,r){p(e,(function(e){return t(new Uint8Array(e))}),r)}))}return Promise.resolve().then((function(){return Q(e)}))}(e).then((function(e){return WebAssembly.instantiate(e,t)})).then((function(e){return e})).then(r,(function(e){k("failed to asynchronously prepare wasm: "+e),X(e)}))}function te(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}var re=function(e){for(;0<e.length;)e.shift()(l)},ne="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,ie=function(e,t,r){var n=t+r;for(r=t;e[r]&&!(r>=n);)++r;if(16<r-t&&e.buffer&&ne)return ne.decode(e.subarray(t,r));for(n="";t<r;){var i=e[t++];if(128&i){var o=63&e[t++];if(192==(224&i))n+=String.fromCharCode((31&i)<<6|o);else{var a=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&e[t++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n},oe={};function ae(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function ue(e){return this.fromWireType(I[e>>2])}var se={},ce={},fe={},le=void 0;function he(e){throw new le(e)}function de(e,t,r){function n(t){(t=r(t)).length!==e.length&&he("Mismatched type converter count");for(var n=0;n<e.length;++n)be(e[n],t[n])}e.forEach((function(e){fe[e]=t}));var i=Array(t.length),o=[],a=0;t.forEach((function(e,t){ce.hasOwnProperty(e)?i[t]=ce[e]:(o.push(e),se.hasOwnProperty(e)||(se[e]=[]),se[e].push((function(){i[t]=ce[e],++a===o.length&&n(i)})))})),0===o.length&&n(i)}function pe(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var ye=void 0;function ge(e){for(var t="";B[e];)t+=ye[B[e++]];return t}var ve=void 0;function me(e){throw new ve(e)}function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");!function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.name;if(e||me('type "'+n+'" must have a positive integer typeid pointer'),ce.hasOwnProperty(e)){if(r.og)return;me("Cannot register type '"+n+"' twice")}ce[e]=t,delete fe[e],se.hasOwnProperty(e)&&(t=se[e],delete se[e],t.forEach((function(e){return e()})))}(e,t,r)}function Ae(e){me(e.be.ne.he.name+" instance already deleted")}var _e=!1;function we(){}function Pe(e){--e.count.value,0===e.count.value&&(e.qe?e.xe.Ee(e.qe):e.ne.he.Ee(e.je))}function Te(e,t,r){return t===r?e:void 0===r.se||null===(e=Te(e,t,r.se))?null:r.eg(e)}var Ce={},Me=[];function ke(){for(;Me.length;){var e=Me.pop();e.be.Ye=!1,e.delete()}}var Fe=void 0,Se={};function xe(e,t){return t.ne&&t.je||he("makeClassHandle requires ptr and ptrType"),!!t.xe!==!!t.qe&&he("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Ee(Object.create(e,{be:{value:t}}))}function Ee(e){return"undefined"===typeof FinalizationRegistry?(Ee=function(e){return e},e):(_e=new FinalizationRegistry((function(e){Pe(e.be)})),we=function(e){_e.unregister(e)},(Ee=function(e){var t=e.be;return t.qe&&_e.register(e,{be:t},e),e})(e))}function Be(){}function Re(e){if(void 0===e)return"_unknown";
2var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?"_"+e:e}function De(e,t){return e=Re(e),c({},e,(function(){return t.apply(this,arguments)}))[e]}function Ie(e,t,r){if(void 0===e[t].pe){var n=e[t];e[t]=function(){return e[t].pe.hasOwnProperty(arguments.length)||me("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].pe+")!"),e[t].pe[arguments.length].apply(this,arguments)},e[t].pe=[],e[t].pe[n.We]=n}}function Le(e,t,r){l.hasOwnProperty(e)?((void 0===r||void 0!==l[e].pe&&void 0!==l[e].pe[r])&&me("Cannot register public name '"+e+"' twice"),Ie(l,e,e),l.hasOwnProperty(r)&&me("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),l[e].pe[r]=t):(l[e]=t,void 0!==r&&(l[e].Pg=r))}function Oe(e,t,r,n,i,o,a,u){this.name=e,this.constructor=t,this.Ze=r,this.Ee=n,this.se=i,this.jg=o,this.hf=a,this.eg=u,this.vg=[]}function He(e,t,r){for(;t!==r;)t.hf||me("Expected null or instance of "+r.name+", got an instance of "+t.name),e=t.hf(e),t=t.se;return e}function je(e,t){return null===t?(this.Cf&&me("null is not a valid "+this.name),0):(t.be||me('Cannot pass "'+nt(t)+'" as a '+this.name),t.be.je||me("Cannot pass deleted object as a pointer of type "+this.name),He(t.be.je,t.be.ne.he,this.he))}function Ge(e,t){if(null===t){if(this.Cf&&me("null is not a valid "+this.name),this.qf){var r=this.Df();return null!==e&&e.push(this.Ee,r),r}return 0}if(t.be||me('Cannot pass "'+nt(t)+'" as a '+this.name),t.be.je||me("Cannot pass deleted object as a pointer of type "+this.name),!this.pf&&t.be.ne.pf&&me("Cannot convert argument of type "+(t.be.xe?t.be.xe.name:t.be.ne.name)+" to parameter type "+this.name),r=He(t.be.je,t.be.ne.he,this.he),this.qf)switch(void 0===t.be.qe&&me("Passing raw pointer to smart pointer is illegal"),this.Ag){case 0:t.be.xe===this?r=t.be.qe:me("Cannot convert argument of type "+(t.be.xe?t.be.xe.name:t.be.ne.name)+" to parameter type "+this.name);break;case 1:r=t.be.qe;break;case 2:if(t.be.xe===this)r=t.be.qe;else{var n=t.clone();r=this.wg(r,et((function(){n.delete()}))),null!==e&&e.push(this.Ee,r)}break;default:me("Unsupporting sharing policy")}return r}function We(e,t){return null===t?(this.Cf&&me("null is not a valid "+this.name),0):(t.be||me('Cannot pass "'+nt(t)+'" as a '+this.name),t.be.je||me("Cannot pass deleted object as a pointer of type "+this.name),t.be.ne.pf&&me("Cannot convert argument of type "+t.be.ne.name+" to parameter type "+this.name),He(t.be.je,t.be.ne.he,this.he))}function Ue(e,t,r,n,i,o,a,u,s,c,f){this.name=e,this.he=t,this.Cf=r,this.pf=n,this.qf=i,this.ug=o,this.Ag=a,this.Of=u,this.Df=s,this.wg=c,this.Ee=f,i||void 0!==t.se?this.toWireType=Ge:(this.toWireType=n?je:We,this.we=null)}function Ne(e,t,r){l.hasOwnProperty(e)||he("Replacing nonexistant public symbol"),void 0!==l[e].pe&&void 0!==r?l[e].pe[r]=t:(l[e]=t,l[e].We=r)}function Ve(e,t){var r=(e=ge(e)).includes("j")?function(e,t){var r=[];return function(){if(r.length=0,Object.assign(r,arguments),e.includes("j")){var n=l["dynCall_"+e];n=r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}else n=W.get(t).apply(null,r);return n}}(e,t):W.get(t);return"function"!=typeof r&&me("unknown function pointer with signature "+e+": "+t),r}var ze=void 0;function qe(e){var t=ge(e=Mr(e));return Cr(e),t}function $e(e,t){var r=[],n={};throw t.forEach((function e(t){n[t]||ce[t]||(fe[t]?fe[t].forEach(e):(r.push(t),n[t]=!0))})),new ze(e+": "+r.map(qe).join([", "]))}function Ye(e,t,r,n,i){var o=t.length;2>o&&me("argTypes array size mismatch! Must at least get return value and 'this' types!");var a=null!==t[1]&&null!==r,u=!1;for(r=1;r<t.length;++r)if(null!==t[r]&&void 0===t[r].we){u=!0;break}var s="void"!==t[0].name,c=o-2,f=Array(c),l=[],h=[];return function(){if(arguments.length!==c&&me("function "+e+" called with "+arguments.length+" arguments, expected "+c+" args!"),h.length=0,l.length=a?2:1,l[0]=i,a){var r=t[1].toWireType(h,this);l[1]=r}for(var o=0;o<c;++o)f[o]=t[o+2].toWireType(h,arguments[o]),l.push(f[o]);if(o=n.apply(null,l),u)ae(h);else for(var d=a?1:2;d<t.length;d++){var p=1===d?r:f[d-2];
2null!==t[d].we&&t[d].we(p)}return s?t[0].fromWireType(o):void 0}}function Ze(e,t){for(var r=[],n=0;n<e;n++)r.push(L[t+4*n>>2]);return r}function Xe(){this.De=[void 0],this.Lf=[]}var Je=new Xe;function Ke(e){e>=Je.ef&&0===--Je.get(e).Pf&&Je.cg(e)}var Qe=function(e){return e||me("Cannot use deleted val. handle = "+e),Je.get(e).value},et=function(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Je.Zf({Pf:1,value:e})}};function tt(e,t,r){switch(t){case 0:return function(e){return this.fromWireType((r?E:B)[e])};case 1:return function(e){return this.fromWireType((r?R:D)[e>>1])};case 2:return function(e){return this.fromWireType((r?I:L)[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function rt(e,t){var r=ce[e];return void 0===r&&me(t+" has unknown type "+qe(e)),r}function nt(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}function it(e,t){switch(t){case 2:return function(e){return this.fromWireType(O[e>>2])};case 3:return function(e){return this.fromWireType(H[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function ot(e,t,r){switch(t){case 0:return r?function(e){return E[e]}:function(e){return B[e]};case 1:return r?function(e){return R[e>>1]}:function(e){return D[e>>1]};case 2:return r?function(e){return I[e>>2]}:function(e){return L[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var at=function(e,t,r,n){if(!(0<n))return 0;var i=r;n=r+n-1;for(var o=0;o<e.length;++o){var a=e.charCodeAt(o);if(55296<=a&&57343>=a&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),127>=a){if(r>=n)break;t[r++]=a}else{if(2047>=a){if(r+1>=n)break;t[r++]=192|a>>6}else{if(65535>=a){if(r+2>=n)break;t[r++]=224|a>>12}else{if(r+3>=n)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63}t[r++]=128|a>>6&63}t[r++]=128|63&a}}return t[r]=0,r-i},ut=function(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);127>=n?t++:2047>=n?t+=2:55296<=n&&57343>=n?(t+=4,++r):t+=3}return t},st="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,ct=function(e,t){for(var r=e>>1,n=r+t/2;!(r>=n)&&D[r];)++r;if(32<(r<<=1)-e&&st)return st.decode(B.subarray(e,r));for(r="",n=0;!(n>=t/2);++n){var i=R[e+2*n>>1];if(0==i)break;r+=String.fromCharCode(i)}return r},ft=function(e,t,r){if(void 0===r&&(r=2147483647),2>r)return 0;var n=t;r=(r-=2)<2*e.length?r/2:e.length;for(var i=0;i<r;++i)R[t>>1]=e.charCodeAt(i),t+=2;return R[t>>1]=0,t-n},lt=function(e){return 2*e.length},ht=function(e,t){for(var r=0,n="";!(r>=t/4);){var i=I[e+4*r>>2];if(0==i)break;++r,65536<=i?(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i)):n+=String.fromCharCode(i)}return n},dt=function(e,t,r){if(void 0===r&&(r=2147483647),4>r)return 0;var n=t;r=n+r-4;for(var i=0;i<e.length;++i){var o=e.charCodeAt(i);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++i)),I[t>>2]=o,(t+=4)+4>r)break}return I[t>>2]=0,t-n},pt=function(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);55296<=n&&57343>=n&&++r,t+=4}return t},yt={};function gt(e){var t=yt[e];return void 0===t?ge(e):t}var vt=[];function mt(){function e(e){e.$$$embind_global$$$=e;var t="object"==typeof $$$embind_global$$$&&e.$$$embind_global$$$==e;return t||delete e.$$$embind_global$$$,t}if("object"==typeof globalThis)return globalThis;if("object"==typeof $$$embind_global$$$)return $$$embind_global$$$;if("object"==typeof window&&e(window)?$$$embind_global$$$=window:"object"==typeof self&&e(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$)return $$$embind_global$$$;throw Error("unable to get global object.")}var bt,At,_t=[],wt={},Pt=1,Tt=[],Ct=[],Mt=[],kt=[],Ft=[],St=[],xt=[],Et=[],Bt=[],Rt=[],Dt=[],It={},Lt={},Ot=4;function Ht(e){At||(At=e)}function jt(e){for(var t=Pt++,r=e.length;r<t;r++)e[r]=null;return t}function Gt(e){return bt=Et[e],l.Ng=br=bt&&bt.ye,!(e&&!br)}function Wt(e,t){br.bindFramebuffer(e,Mt[t])}function Ut(e){br.bindVertexArray(xt[e])}function Nt(e){br.clear(e)}function Vt(e,t,r,n){br.clearColor(e,t,r,n)}function zt(e){br.clearStencil(e)}function qt(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2];br.deleteVertexArray(xt[n]),xt[n]=null}}var $t=[];function Yt(e,t,r,n){br.drawElements(e,t,r,n)}function Zt(e,t,r,n){for(var i=0;i<e;i++){var o=br[r](),a=o&&jt(n);o?(o.name=a,n[a]=o):Ht(1282),I[t+4*i>>2]=a}}function Xt(e,t){Zt(e,t,"createVertexArray",xt)}function Jt(e,t){L[e>>2]=t,L[e+4>>2]=(t-L[e>>2])/4294967296}function Kt(e,t,r){if(t){var n=void 0;switch(e){case 36346:n=1;break;case 36344:return void(0!=r&&1!=r&&Ht(1280));case 34814:case 36345:n=0;break;case 34466:var i=br.getParameter(34467);n=i?i.length:0;break;case 33309:if(2>bt.version)return void Ht(1282);
2n=2*(br.getSupportedExtensions()||[]).length;break;case 33307:case 33308:if(2>bt.version)return void Ht(1280);n=33307==e?3:0}if(void 0===n)switch(i=br.getParameter(e),typeof i){case"number":n=i;break;case"boolean":n=i?1:0;break;case"string":return void Ht(1280);case"object":if(null===i)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:return void Ht(1280)}else{if(i instanceof Float32Array||i instanceof Uint32Array||i instanceof Int32Array||i instanceof Array){for(e=0;e<i.length;++e)switch(r){case 0:I[t+4*e>>2]=i[e];break;case 2:O[t+4*e>>2]=i[e];break;case 4:E[t+e|0]=i[e]?1:0}return}try{n=0|i.name}catch(t){return Ht(1280),void k("GL_INVALID_ENUM in glGet"+r+"v: Unknown object returned from WebGL getParameter("+e+")! (error: "+t+")")}}break;default:return Ht(1280),void k("GL_INVALID_ENUM in glGet"+r+"v: Native code calling glGet"+r+"v("+e+") and it returns "+i+" of type "+typeof i+"!")}switch(r){case 1:Jt(t,n);break;case 0:I[t>>2]=n;break;case 2:O[t>>2]=n;break;case 4:E[0|t]=n?1:0}}else Ht(1281)}function Qt(e,t){Kt(e,t,0)}function er(e,t,r){r?(e=Bt[e],Jt(r,"boolean"==typeof(t=2>bt.version?br.Ae.getQueryObjectEXT(e,t):br.getQueryParameter(e,t))?t?1:0:t)):Ht(1281)}var tr=function(e){var t=ut(e)+1,r=Tr(t);return r&&at(e,B,r,t),r};function rr(e){var t=It[e];if(!t){switch(e){case 7939:t=(t=br.getSupportedExtensions()||[]).concat(t.map((function(e){return"GL_"+e}))),t=tr(t.join(" "));break;case 7936:case 7937:case 37445:case 37446:(t=br.getParameter(e))||Ht(1280),t=t&&tr(t);break;case 7938:t=br.getParameter(7938),t=2<=bt.version?"OpenGL ES 3.0 ("+t+")":"OpenGL ES 2.0 ("+t+")",t=tr(t);break;case 35724:var r=(t=br.getParameter(35724)).match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==r&&(3==r[1].length&&(r[1]+="0"),t="OpenGL ES GLSL ES "+r[1]+" ("+t+")"),t=tr(t);break;default:Ht(1280)}It[e]=t}return t}function nr(e,t){if(2>bt.version)return Ht(1282),0;var r=Lt[e];return r?0>t||t>=r.length?(Ht(1281),0):r[t]:7939===e?(r=(r=(r=br.getSupportedExtensions()||[]).concat(r.map((function(e){return"GL_"+e})))).map((function(e){return tr(e)})),r=Lt[e]=r,0>t||t>=r.length?(Ht(1281),0):r[t]):(Ht(1280),0)}function ir(e){return"]"==e.slice(-1)&&e.lastIndexOf("[")}function or(e){return 0==(e-=5120)?E:1==e?B:2==e?R:4==e?I:6==e?O:5==e||28922==e||28520==e||30779==e||30782==e?L:D}function ar(e,t,r,n,i){e=or(e);var o=31-Math.clz32(e.BYTES_PER_ELEMENT),a=Ot;return e.subarray(i>>o,i+n*(r*({5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4}[t-6402]||1)*(1<<o)+a-1&-a)>>o)}function ur(e){var t=br.bg;if(t){var r=t.gf[e];return"number"==typeof r&&(t.gf[e]=r=br.getUniformLocation(t,t.Qf[e]+(0<r?"["+r+"]":""))),r}Ht(1282)}var sr,cr=[],fr=[],lr={},hr=function(){if(!sr){var e,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:v||"./this.program"};for(e in lr)void 0===lr[e]?delete t[e]:t[e]=lr[e];var r=[];for(e in t)r.push(e+"="+t[e]);sr=r}return sr},dr=[null,[],[]],pr=function(e){return 0===e%4&&(0!==e%100||0===e%400)},yr=[31,29,31,30,31,30,31,31,30,31,30,31],gr=[31,28,31,30,31,30,31,31,30,31,30,31];le=l.InternalError=function(e){"use strict";o(r,e);var t=f(r);function r(e){var n;return i(this,r),(n=t.call(this,e)).name="InternalError",n}return n(r)}(s(Error));for(var vr=Array(256),mr=0;256>mr;++mr)vr[mr]=String.fromCharCode(mr);ye=vr,ve=l.BindingError=function(e){"use strict";o(r,e);var t=f(r);function r(e){var n;return i(this,r),(n=t.call(this,e)).name="BindingError",n}return n(r)}(s(Error)),Be.prototype.isAliasOf=function(e){if(!(this instanceof Be&&e instanceof Be))return!1;var t=this.be.ne.he,r=this.be.je,n=e.be.ne.he;for(e=e.be.je;t.se;)r=t.hf(r),t=t.se;for(;n.se;)e=n.hf(e),n=n.se;return t===n&&r===e},Be.prototype.clone=function(){if(this.be.je||Ae(this),this.be.ff)return this.be.count.value+=1,this;var e=Ee,t=Object,r=t.create,n=Object.getPrototypeOf(this),i=this.be;return(e=e(r.call(t,n,{be:{value:{count:i.count,Ye:i.Ye,ff:i.ff,je:i.je,ne:i.ne,qe:i.qe,xe:i.xe}}}
2))).be.count.value+=1,e.be.Ye=!1,e},Be.prototype.delete=function(){this.be.je||Ae(this),this.be.Ye&&!this.be.ff&&me("Object already scheduled for deletion"),we(this),Pe(this.be),this.be.ff||(this.be.qe=void 0,this.be.je=void 0)},Be.prototype.isDeleted=function(){return!this.be.je},Be.prototype.deleteLater=function(){return this.be.je||Ae(this),this.be.Ye&&!this.be.ff&&me("Object already scheduled for deletion"),Me.push(this),1===Me.length&&Fe&&Fe(ke),this.be.Ye=!0,this},l.getInheritedInstanceCount=function(){return Object.keys(Se).length},l.getLiveInheritedInstances=function(){var e,t=[];for(e in Se)Se.hasOwnProperty(e)&&t.push(Se[e]);return t},l.flushPendingDeletes=ke,l.setDelayFunction=function(e){Fe=e,Me.length&&Fe&&Fe(ke)},Ue.prototype.kg=function(e){return this.Of&&(e=this.Of(e)),e},Ue.prototype.If=function(e){this.Ee&&this.Ee(e)},Ue.prototype.argPackAdvance=8,Ue.prototype.readValueFromPointer=ue,Ue.prototype.deleteObject=function(e){null!==e&&e.delete()},Ue.prototype.fromWireType=function(e){function t(){return this.qf?xe(this.he.Ze,{ne:this.ug,je:r,xe:this,qe:e}):xe(this.he.Ze,{ne:this,je:e})}var r=this.kg(e);if(!r)return this.If(e),null;var n=function(e,t){for(void 0===t&&me("ptr should not be undefined");e.se;)t=e.hf(t),e=e.se;return Se[t]}(this.he,r);if(void 0!==n)return 0===n.be.count.value?(n.be.je=r,n.be.qe=e,n.clone()):(n=n.clone(),this.If(e),n);if(n=this.he.jg(r),!(n=Ce[n]))return t.call(this);n=this.pf?n.$f:n.pointerType;var i=Te(r,this.he,n.he);return null===i?t.call(this):this.qf?xe(n.he.Ze,{ne:n,je:i,xe:this,qe:e}):xe(n.he.Ze,{ne:n,je:i})},ze=l.UnboundTypeError=function(e,t){var r=De(t,(function(e){this.name=t,this.message=e,void 0!==(e=Error(e).stack)&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}(Error,"UnboundTypeError"),Object.assign(Xe.prototype,{get:function(e){return this.De[e]},has:function(e){return void 0!==this.De[e]},Zf:function(e){var t=this.Lf.pop()||this.De.length;return this.De[t]=e,t},cg:function(e){this.De[e]=void 0,this.Lf.push(e)}}),Je.De.push({value:void 0},{value:null},{value:!0},{value:!1}),Je.ef=Je.De.length,l.count_emval_handles=function(){for(var e=0,t=Je.ef;t<Je.De.length;++t)void 0!==Je.De[t]&&++e;return e};for(var br,Ar=0;32>Ar;++Ar)$t.push(Array(Ar));var _r=new Float32Array(288);for(Ar=0;288>Ar;++Ar)cr[Ar]=_r.subarray(0,Ar+1);var wr=new Int32Array(288);for(Ar=0;288>Ar;++Ar)fr[Ar]=wr.subarray(0,Ar+1);var Pr={S:function(){return 0},xb:function(){},zb:function(){return 0},ub:function(){},vb:function(){},T:function(){},wb:function(){},E:function(e){var t=oe[e];delete oe[e];var r=t.Df,n=t.Ee,i=t.Kf;de([e],i.map((function(e){return e.ng})).concat(i.map((function(e){return e.yg}))),(function(e){var o={};return i.forEach((function(t,r){var n=e[r],a=t.lg,u=t.mg,s=e[r+i.length],c=t.xg,f=t.zg;o[t.gg]={read:function(e){return n.fromWireType(a(u,e))},write:function(e,t){var r=[];c(f,e,s.toWireType(r,t)),ae(r)}}})),[{name:t.name,fromWireType:function(e){var t,r={};for(t in o)r[t]=o[t].read(e);return n(e),r},toWireType:function(e,t){for(var i in o)if(!(i in t))throw new TypeError('Missing field: "'+i+'"');var a=r();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:ue,we:n}]}))},ob:function(){},Db:function(e,t,r,n,i){var o=pe(r);be(e,{name:t=ge(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:i},argPackAdvance:8,readValueFromPointer:function(e){if(1===r)var n=E;else if(2===r)n=R;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=I}return this.fromWireType(n[e>>o])},we:null})},o:function(e,t,r,n,i,o,a,u,s,c,f,l,h){f=ge(f),o=Ve(i,o),u&&(u=Ve(a,u)),c&&(c=Ve(s,c)),h=Ve(l,h);var d=Re(f);Le(d,(function(){$e("Cannot construct "+f+" due to unbound types",[n])})),de([e,t,r],n?[n]:[],(function(t){if(t=t[0],n)var r=t.he,i=r.Ze;else i=Be.prototype;t=De(d,(function(){if(Object.getPrototypeOf(this)!==a)throw new ve("Use 'new' to construct "+f);if(void 0===s.He)throw new ve(f+" has no accessible constructor");var e=s.He[arguments.length];if(void 0===e)throw new ve("Tried to invoke ctor of "+f+" with invali
2d number of parameters ("+arguments.length+") - expected ("+Object.keys(s.He).toString()+") parameters instead!");return e.apply(this,arguments)}));var a=Object.create(i,{constructor:{value:t}});t.prototype=a;var s=new Oe(f,t,a,h,r,o,u,c);s.se&&(void 0===s.se.jf&&(s.se.jf=[]),s.se.jf.push(s)),r=new Ue(f,s,!0,!1,!1),i=new Ue(f+"*",s,!1,!1,!1);var l=new Ue(f+" const*",s,!1,!0,!1);return Ce[e]={pointerType:i,$f:l},Ne(d,t),[r,i,l]}))},i:function(e,t,r,n,i,o,a){var u=Ze(r,n);t=ge(t),o=Ve(i,o),de([],[e],(function(e){function n(){$e("Cannot call "+i+" due to unbound types",u)}var i=(e=e[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var s=e.he.constructor;return void 0===s[t]?(n.We=r-1,s[t]=n):(Ie(s,t,i),s[t].pe[r-1]=n),de([],u,(function(n){if(n=[n[0],null].concat(n.slice(1)),n=Ye(i,n,null,o,a),void 0===s[t].pe?(n.We=r-1,s[t]=n):s[t].pe[r-1]=n,e.he.jf)for(var u of e.he.jf)u.constructor.hasOwnProperty(t)||(u.constructor[t]=n);return[]})),[]}))},G:function(e,t,r,n,i,o){var a=Ze(t,r);i=Ve(n,i),de([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.he.He&&(e.he.He=[]),void 0!==e.he.He[t-1])throw new ve("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.he.He[t-1]=function(){$e("Cannot construct "+e.name+" due to unbound types",a)},de([],a,(function(n){return n.splice(1,0,null),e.he.He[t-1]=Ye(r,n,null,i,o),[]})),[]}))},b:function(e,t,r,n,i,o,a,u){var s=Ze(r,n);t=ge(t),o=Ve(i,o),de([],[e],(function(e){function n(){$e("Cannot call "+i+" due to unbound types",s)}var i=(e=e[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),u&&e.he.vg.push(t);var c=e.he.Ze,f=c[t];return void 0===f||void 0===f.pe&&f.className!==e.name&&f.We===r-2?(n.We=r-2,n.className=e.name,c[t]=n):(Ie(c,t,i),c[t].pe[r-2]=n),de([],s,(function(n){return n=Ye(i,n,e,o,a),void 0===c[t].pe?(n.We=r-2,c[t]=n):c[t].pe[r-2]=n,[]})),[]}))},u:function(e,t,r){e=ge(e),de([],[t],(function(t){return t=t[0],l[e]=t.fromWireType(r),[]}))},Cb:function(e,t){be(e,{name:t=ge(t),fromWireType:function(e){var t=Qe(e);return Ke(e),t},toWireType:function(e,t){return et(t)},argPackAdvance:8,readValueFromPointer:ue,we:null})},m:function(e,t,r,n){function i(){}r=pe(r),t=ge(t),i.values={},be(e,{name:t,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,t){return t.value},argPackAdvance:8,readValueFromPointer:tt(t,r,n),we:null}),Le(t,i)},d:function(e,t,r){var n=rt(e,"enum");t=ge(t),e=n.constructor,n=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:De(n.name+"_"+t,(function(){}))}}),e.values[r]=n,e[t]=n},V:function(e,t,r){r=pe(r),be(e,{name:t=ge(t),fromWireType:function(e){return e},toWireType:function(e,t){return t},argPackAdvance:8,readValueFromPointer:it(t,r),we:null})},z:function(e,t,r,n,i,o){var a=Ze(t,r);e=ge(e),i=Ve(n,i),Le(e,(function(){$e("Cannot call "+e+" due to unbound types",a)}),t-1),de([],a,(function(r){return r=[r[0],null].concat(r.slice(1)),Ne(e,Ye(e,r,null,i,o),t-1),[]}))},I:function(e,t,r,n,i){t=ge(t),-1===i&&(i=4294967295),i=pe(r);var o=function(e){return e};if(0===n){var a=32-8*r;o=function(e){return e<<a>>>a}}r=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t},be(e,{name:t,fromWireType:o,toWireType:r,argPackAdvance:8,readValueFromPointer:ot(t,i,0!==n),we:null})},v:function(e,t,r){function n(e){e>>=2;var t=L;return new i(t.buffer,t[e+1],t[e])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];be(e,{name:r=ge(r),fromWireType:n,argPackAdvance:8,readValueFromPointer:n},{og:!0})},s:function(e,t,r,n,i,o,a,u,s,c,f,l){r=ge(r),o=Ve(i,o),u=Ve(a,u),c=Ve(s,c),l=Ve(f,l),de([e],[t],(function(e){return e=e[0],[new Ue(r,e.he,!1,!1,!0,e,n,o,u,c,l)]}))},U:function(e,t){var r="std::string"===(t=ge(t));be(e,{name:t,fromWireType:function(e){var t=L[e>>2],n=e+4;if(r)for(var i=n,o=0;o<=t;++o){var a=n+o;if(o==t||0==B[a]){if(i=i?ie(B,i,a-i):"",void 0===u)var u=i;
2else u+=String.fromCharCode(0),u+=i;i=a+1}}else{for(u=Array(t),o=0;o<t;++o)u[o]=String.fromCharCode(B[n+o]);u=u.join("")}return Cr(e),u},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n="string"==typeof t;n||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||me("Cannot pass non-string to std::string");var i=r&&n?ut(t):t.length,o=Tr(4+i+1),a=o+4;if(L[o>>2]=i,r&&n)at(t,B,a,i+1);else if(n)for(n=0;n<i;++n){var u=t.charCodeAt(n);255<u&&(Cr(a),me("String has UTF-16 code units that do not fit in 8 bits")),B[a+n]=u}else for(n=0;n<i;++n)B[a+n]=t[n];return null!==e&&e.push(Cr,o),o},argPackAdvance:8,readValueFromPointer:ue,we:function(e){Cr(e)}})},P:function(e,t,r){if(r=ge(r),2===t)var n=ct,i=ft,o=lt,a=function(){return D},u=1;else 4===t&&(n=ht,i=dt,o=pt,a=function(){return L},u=2);be(e,{name:r,fromWireType:function(e){for(var r,i=L[e>>2],o=a(),s=e+4,c=0;c<=i;++c){var f=e+4+c*t;c!=i&&0!=o[f>>u]||(s=n(s,f-s),void 0===r?r=s:(r+=String.fromCharCode(0),r+=s),s=f+t)}return Cr(e),r},toWireType:function(e,n){"string"!=typeof n&&me("Cannot pass non-string to C++ string type "+r);var a=o(n),s=Tr(4+a+t);return L[s>>2]=a>>u,i(n,s+4,a+t),null!==e&&e.push(Cr,s),s},argPackAdvance:8,readValueFromPointer:ue,we:function(e){Cr(e)}})},F:function(e,t,r,n,i,o){oe[e]={name:ge(t),Df:Ve(r,n),Ee:Ve(i,o),Kf:[]}},f:function(e,t,r,n,i,o,a,u,s,c){oe[e].Kf.push({gg:ge(t),ng:r,lg:Ve(n,i),mg:o,yg:a,xg:Ve(u,s),zg:c})},Eb:function(e,t){be(e,{qg:!0,name:t=ge(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},Bb:function(){return!0},qb:function(){throw 1/0},C:function(e,t,r){e=Qe(e),t=rt(t,"emval::as");var n=[],i=et(n);return L[r>>2]=i,t.toWireType(n,e)},L:function(e,t,r,n,i){e=vt[e],t=Qe(t),r=gt(r);var o=[];return L[n>>2]=et(o),e(t,r,o,i)},r:function(e,t,r,n){(e=vt[e])(t=Qe(t),r=gt(r),null,n)},c:Ke,K:function(e){return 0===e?et(mt()):(e=gt(e),et(mt()[e]))},p:function(e,t){var r=function(e,t){for(var r=Array(e),n=0;n<e;++n)r[n]=rt(L[t+4*n>>2],"parameter "+n);return r}(e,t),n=r[0];t=n.name+"_$"+r.slice(1).map((function(e){return e.name})).join("_")+"$";var i=_t[t];if(void 0!==i)return i;var o=Array(e-1);return i=function(e){var t=vt.length;return vt.push(e),t}((function(t,i,a,u){for(var s=0,c=0;c<e-1;++c)o[c]=r[c+1].readValueFromPointer(u+s),s+=r[c+1].argPackAdvance;for(t=t[i].apply(t,o),c=0;c<e-1;++c)r[c+1].dg&&r[c+1].dg(o[c]);if(!n.qg)return n.toWireType(a,t)})),_t[t]=i},B:function(e,t){return e=Qe(e),t=Qe(t),et(e[t])},n:function(e){4<e&&(Je.get(e).Pf+=1)},M:function(e,t,r,n){e=Qe(e);var i=wt[t];return i||(i=function(e){var t=Array(e+1);return function(r,n,i){t[0]=r;for(var o=0;o<e;++o){var a=rt(L[n+4*o>>2],"parameter "+o);t[o+1]=a.readValueFromPointer(i),i+=a.argPackAdvance}return r=new(r.bind.apply(r,t)),et(r)}}(t),wt[t]=i),i(e,r,n)},D:function(){return et([])},e:function(e){return et(gt(e))},x:function(){return et({})},hb:function(e){return!(e=Qe(e))},A:function(e){ae(Qe(e)),Ke(e)},h:function(e,t,r){e=Qe(e),t=Qe(t),r=Qe(r),e[t]=r},g:function(e,t){return e=(e=rt(e,"_emval_take_value")).readValueFromPointer(t),et(e)},lb:function(){return-52},mb:function(){},a:function(){X("")},Ab:function(){return performance.now()},sd:function(e){br.activeTexture(e)},td:function(e,t){br.attachShader(Ct[e],St[t])},Yb:function(e,t){br.beginQuery(e,Bt[t])},Sb:function(e,t){br.Ae.beginQueryEXT(e,Bt[t])},ud:function(e,t,r){br.bindAttribLocation(Ct[e],t,r?ie(B,r):"")},vd:function(e,t){35051==e?br.Af=t:35052==e&&(br.Xe=t),br.bindBuffer(e,Tt[t])},uc:Wt,vc:function(e,t){br.bindRenderbuffer(e,kt[t])},cc:function(e,t){br.bindSampler(e,Rt[t])},wd:function(e,t){br.bindTexture(e,Ft[t])},Pc:Ut,Tc:Ut,Z:function(e,t,r,n){br.blendColor(e,t,r,n)},_:function(e){br.blendEquation(e)},$:function(e,t){br.blendFunc(e,t)},oc:function(e,t,r,n,i,o,a,u,s,c){br.blitFramebuffer(e,t,r,n,i,o,a,u,s,c)},aa:function(e,t,r,n){2<=bt.version?r&&t?br.bufferData(e,B,n,r,t):br.bufferData(e,t,n):br.bufferData(e,r?B.subarray(r,r+t):t,n)},ba:function(e,t,r,n){2<=bt.version?r&&br.bufferSubData(e,t,B,n,r):br.bufferSubData(e,t,B.subarray(n,n+r))},wc:function(e){return br.checkFramebufferStatus(e)},ca:Nt,da:Vt,ea:zt,lc:function(e,t,r,n){return br.clientWaitSync(Dt[e],t,(r>>>0)+4294967296*n)},fa:function(e,t,r,n){br.colorMask(!!e,!!t,!!r,!!n)},ga:function(e){br.compileShader(St[e])},ha:function(e,t,r,n,i,o,a,u){2<=bt.version?br.Xe||!a?br.compressedTexImage2D(e,t,r,n,i,o,a,u):br.compressedTexImage2D(e,t,r,n,i,o,B,u,a):br.compressedTexImage2D(e,t,r,n,i,o,u?B.subarray(u,u+a):null)},ia:function(e,t,r,n,i,o,a,u,s){2<=bt.version?br.Xe||!u?br.compressedTexSubImage2D(e,t,r,n,i,o,a,u,s):br.compressedTexSubImage2D(e,t,r,n,i,o,a,B,s,u):br.compressedTexSubImage2D(e,t,r,n,i,o,a,s?B.subarray(s,s+u):null)},nc:function(e,t,r,n,i){br.copyBufferSubData(e,t,r,n,i)},ja:function(e,t,r,n,i,o,a,u){br.copyTexSubImage2D(e,t,r,n,i,o,a,u)},ka:function(){var e=jt(Ct),t=br.createProgram();return t.name=e,t.tf=t.rf=t.sf=0,t.Ff=1,Ct[e]=t,e},la:function(e){var t=jt(St);return St[t]=br.createShader(e),t},ma:function(e){br.cullFace(e)},na:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=Tt[n];i&&(br.deleteBuffer(i),i.name=0,Tt[n]=null,n==br.Af&&(br.Af=0),n==br.Xe&&(br.Xe=0))}},xc:function(e,t){for(var r=0;r<e;++r){var n=I[t+4*r>>2],i=Mt[n];i&&(br.deleteFramebuffer(i),i.name=0,Mt[n]=null)}},oa:function(e){if(e){var t=Ct[e];t?(br.deleteProgram(t),t.name=0,Ct[e]=null):Ht(1281)}},Zb:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=Bt[n];i&&(br.deleteQuery(i),Bt[n]=null)}},Tb:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=Bt[n];i&&(br.Ae.deleteQueryEXT(i),Bt[n]=null)}},yc:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=kt[n];i&&(br.deleteRenderbuffer(i),i.name=0,kt[n]=null)}},dc:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=Rt[n];i&&(br.deleteSampler(i),i.name=0,Rt[n]=null)}},pa:function(e){if(e){var t=St[e];t?(br.deleteShader(t),St[e]=null):Ht(1281)}},mc:function(e){if(e){var t=Dt[e];t?(br.deleteSync(t),t.name=0,Dt[e]=null):Ht(1281)}},qa:function(e,t){for(var r=0;r<e;r++){var n=I[t+4*r>>2],i=Ft[n];i&&(br.deleteTexture(i),i.name=0,Ft[n]=null)}},Qc:qt,Uc:qt,ra:function(e){br.depthMask(!!e)},sa:function(e){br.disable(e)},ta:function(e){br.disableVertexAttribArray(e)},ua:function(e,t,r){br.drawArrays(e,t,r)},Nc:function(e,t,r,n){br.drawArraysInstanced(e,t,r,n)},Lc:function(e,t,r,n,i){br.Jf.drawArraysInstancedBaseInstanceWEBGL(e,t,r,n,i)},Jc:function(e,t){for(var r=$t[e],n=0;n<e;n++)r[n]=I[t+4*n>>2];br.drawBuffers(r)},va:Yt,Oc:function(e,t,r,n,i){br.drawElementsInstanced(e,t,r,n,i)},Mc:function(e,t,r,n,i,o,a){br.Jf.drawElementsInstancedBaseVertexBaseInstanceWEBGL(e,t,r,n,i,o,a)},Dc:function(e,t,r,n,i,o){Yt(e,n,i,o)},wa:function(e){br.enable(e)},xa:function(e){br.enableVertexAttribArray(e)},_b:function(e){br.endQuery(e)},Ub:function(e){br.Ae.endQueryEXT(e)},ic:function(e,t){return(e=br.fenceSync(e,t))?(t=jt(Dt),e.name=t,Dt[t]=e,t):0},ya:function(){br.finish()},za:function(){br.flush()},zc:function(e,t,r,n){br.framebufferRenderbuffer(e,t,r,kt[n])},Ac:function(e,t,r,n,i){br.framebufferTexture2D(e,t,r,Ft[n],i)},Aa:function(e){br.frontFace(e)},Ba:function(e,t){Zt(e,t,"createBuffer",Tt)},Bc:function(e,t){Zt(e,t,"createFramebuffer",Mt)},$b:function(e,t){Zt(e,t,"createQuery",Bt)},Vb:function(e,t){for(var r=0;r<e;r++){var n=br.Ae.createQueryEXT();if(!n){for(Ht(1282);r<e;)I[t+4*r++>>2]=0;break}var i=jt(Bt);n.name=i,Bt[i]=n,I[t+4*r>>2]=i}},Cc:function(e,t){Zt(e,t,"createRenderbuffer",kt)},ec:function(e,t){Zt(e,t,"createSampler",Rt)},Ca:function(e,t){Zt(e,t,"createTexture",Ft)},Rc:Xt,Vc:Xt,qc:function(e){br.generateMipmap(e)},Da:function(e,t,r){r?I[r>>2]=br.getBufferParameter(e,t):Ht(1281)},Ea:function(){var e=br.getError()||At;return At=0,e},Fa:function(e,t){Kt(e,t,2)},rc:function(e,t,r,n){((e=br.getFramebufferAttachmentParameter(e,t,r))instanceof WebGLRenderbuffer||e instanceof WebGLTexture)&&(e=0|e.name),I[n>>2]=e},Ga:Qt,Ha:function(e,t,r,n){null===(e=br.getProgramInfoLog(Ct[e]))&&(e="(unknown error)"),t=0<t&&n?at(e,B,n,t):0,r&&(I[r>>2]=t)},Ia:function(e,t,r){if(r)if(e>=Pt)Ht(1281);else if(e=Ct[e],35716==t)null===(e=br.getProgramInfoLog(e))&&(e="(unknown error)"),I[r>>2]=e.length+1;else if(35719==t){if(!e.tf)for(t=0;
2t<br.getProgramParameter(e,35718);++t)e.tf=Math.max(e.tf,br.getActiveUniform(e,t).name.length+1);I[r>>2]=e.tf}else if(35722==t){if(!e.rf)for(t=0;t<br.getProgramParameter(e,35721);++t)e.rf=Math.max(e.rf,br.getActiveAttrib(e,t).name.length+1);I[r>>2]=e.rf}else if(35381==t){if(!e.sf)for(t=0;t<br.getProgramParameter(e,35382);++t)e.sf=Math.max(e.sf,br.getActiveUniformBlockName(e,t).length+1);I[r>>2]=e.sf}else I[r>>2]=br.getProgramParameter(e,t);else Ht(1281)},Pb:er,Qb:er,ac:function(e,t,r){var n;r?(n="boolean"==typeof(e=br.getQueryParameter(Bt[e],t))?e?1:0:e,I[r>>2]=n):Ht(1281)},Wb:function(e,t,r){var n;r?(n="boolean"==typeof(e=br.Ae.getQueryObjectEXT(Bt[e],t))?e?1:0:e,I[r>>2]=n):Ht(1281)},bc:function(e,t,r){r?I[r>>2]=br.getQuery(e,t):Ht(1281)},Xb:function(e,t,r){r?I[r>>2]=br.Ae.getQueryEXT(e,t):Ht(1281)},sc:function(e,t,r){r?I[r>>2]=br.getRenderbufferParameter(e,t):Ht(1281)},Ja:function(e,t,r,n){null===(e=br.getShaderInfoLog(St[e]))&&(e="(unknown error)"),t=0<t&&n?at(e,B,n,t):0,r&&(I[r>>2]=t)},Mb:function(e,t,r,n){e=br.getShaderPrecisionFormat(e,t),I[r>>2]=e.rangeMin,I[r+4>>2]=e.rangeMax,I[n>>2]=e.precision},Ka:function(e,t,r){r?35716==t?(null===(e=br.getShaderInfoLog(St[e]))&&(e="(unknown error)"),I[r>>2]=e?e.length+1:0):35720==t?(e=br.getShaderSource(St[e]),I[r>>2]=e?e.length+1:0):I[r>>2]=br.getShaderParameter(St[e],t):Ht(1281)},La:rr,Sc:nr,Ma:function(e,t){if(t=t?ie(B,t):"",e=Ct[e]){var r,n=e,i=n.gf,o=n.Rf;if(!i)for(n.gf=i={},n.Qf={},r=0;r<br.getProgramParameter(n,35718);++r){var a=br.getActiveUniform(n,r),u=a.name;a=a.size;
vendor: 4,525 bytes, line 2
2var s=ir(u);s=0<s?u.slice(0,s):u;var c=n.Ff;for(n.Ff+=a,o[s]=[a,c],u=0;u<a;++u)i[c]=u,n.Qf[c++]=s}if(n=e.gf,i=0,o=t,0<(r=ir(t))&&(i=parseInt(t.slice(r+1))>>>0,o=t.slice(0,r)),(o=e.Rf[o])&&i<o[0]&&(n[i+=o[1]]=n[i]||br.getUniformLocation(e,t)))return i}else Ht(1281);return-1},Nb:function(e,t,r){for(var n=$t[t],i=0;i<t;i++)n[i]=I[r+4*i>>2];br.invalidateFramebuffer(e,n)},Ob:function(e,t,r,n,i,o,a){for(var u=$t[t],s=0;s<t;s++)u[s]=I[r+4*s>>2];br.invalidateSubFramebuffer(e,u,n,i,o,a)},jc:function(e){return br.isSync(Dt[e])},Na:function(e){return(e=Ft[e])?br.isTexture(e):0},Oa:function(e){br.lineWidth(e)},Pa:function(e){e=Ct[e],br.linkProgram(e),e.gf=0,e.Rf={}},Hc:function(e,t,r,n,i,o){br.Nf.multiDrawArraysInstancedBaseInstanceWEBGL(e,I,t>>2,I,r>>2,I,n>>2,L,i>>2,o)},Ic:function(e,t,r,n,i,o,a,u){br.Nf.multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(e,I,t>>2,r,I,n>>2,I,i>>2,I,o>>2,L,a>>2,u)},Qa:function(e,t){3317==e&&(Ot=t),br.pixelStorei(e,t)},Rb:function(e,t){br.Ae.queryCounterEXT(Bt[e],t)},Kc:function(e){br.readBuffer(e)},Ra:function(e,t,r,n,i,o,a){if(2<=bt.version)if(br.Af)br.readPixels(e,t,r,n,i,o,a);else{var u=or(o);br.readPixels(e,t,r,n,i,o,u,a>>31-Math.clz32(u.BYTES_PER_ELEMENT))}else(a=ar(o,i,r,n,a))?br.readPixels(e,t,r,n,i,o,a):Ht(1280)},tc:function(e,t,r,n){br.renderbufferStorage(e,t,r,n)},pc:function(e,t,r,n,i){br.renderbufferStorageMultisample(e,t,r,n,i)},fc:function(e,t,r){br.samplerParameterf(Rt[e],t,r)},gc:function(e,t,r){br.samplerParameteri(Rt[e],t,r)},hc:function(e,t,r){br.samplerParameteri(Rt[e],t,I[r>>2])},Sa:function(e,t,r,n){br.scissor(e,t,r,n)},Ta:function(e,t,r,n){for(var i="",o=0;o<t;++o){var a=n?I[n+4*o>>2]:-1,u=I[r+4*o>>2];i+=a=u?ie(B,u,0>a?void 0:a):""}br.shaderSource(St[e],i)},Ua:function(e,t,r){br.stencilFunc(e,t,r)},Va:function(e,t,r,n){br.stencilFuncSeparate(e,t,r,n)},Wa:function(e){br.stencilMask(e)},Xa:function(e,t){br.stencilMaskSeparate(e,t)},Ya:function(e,t,r){br.stencilOp(e,t,r)},Za:function(e,t,r,n){br.stencilOpSeparate(e,t,r,n)},_a:function(e,t,r,n,i,o,a,u,s){if(2<=bt.version)if(br.Xe)br.texImage2D(e,t,r,n,i,o,a,u,s);else if(s){var c=or(u);br.texImage2D(e,t,r,n,i,o,a,u,c,s>>31-Math.clz32(c.BYTES_PER_ELEMENT))}else br.texImage2D(e,t,r,n,i,o,a,u,null);else br.texImage2D(e,t,r,n,i,o,a,u,s?ar(u,a,n,i,s):null)},$a:function(e,t,r){br.texParameterf(e,t,r)},ab:function(e,t,r){br.texParameterf(e,t,O[r>>2])},bb:function(e,t,r){br.texParameteri(e,t,r)},cb:function(e,t,r){br.texParameteri(e,t,I[r>>2])},Ec:function(e,t,r,n,i){br.texStorage2D(e,t,r,n,i)},db:function(e,t,r,n,i,o,a,u,s){if(2<=bt.version)if(br.Xe)br.texSubImage2D(e,t,r,n,i,o,a,u,s);else if(s){var c=or(u);br.texSubImage2D(e,t,r,n,i,o,a,u,c,s>>31-Math.clz32(c.BYTES_PER_ELEMENT))}else br.texSubImage2D(e,t,r,n,i,o,a,u,null);else c=null,s&&(c=ar(u,a,i,o,s)),br.texSubImage2D(e,t,r,n,i,o,a,u,c)},eb:function(e,t){br.uniform1f(ur(e),t)},fb:function(e,t,r){if(2<=bt.version)t&&br.uniform1fv(ur(e),O,r>>2,t);else{if(288>=t)for(var n=cr[t-1],i=0;i<t;++i)n[i]=O[r+4*i>>2];else n=O.subarray(r>>2,r+4*t>>2);br.uniform1fv(ur(e),n)}},od:function(e,t){br.uniform1i(ur(e),t)},pd:function(e,t,r){if(2<=bt.version)t&&br.uniform1iv(ur(e),I,r>>2,t);else{if(288>=t)for(var n=fr[t-1],i=0;i<t;++i)n[i]=I[r+4*i>>2];else n=I.subarray(r>>2,r+4*t>>2);br.uniform1iv(ur(e),n)}},qd:function(e,t,r){br.uniform2f(ur(e),t,r)},rd:function(e,t,r){if(2<=bt.version)t&&br.uniform2fv(ur(e),O,r>>2,2*t);else{if(144>=t)for(var n=cr[2*t-1],i=0;i<2*t;i+=2)n[i]=O[r+4*i>>2],n[i+1]=O[r+(4*i+4)>>2];else n=O.subarray(r>>2,r+8*t>>2);br.uniform2fv(ur(e),n)}},nd:function(e,t,r){br.uniform2i(ur(e),t,r)},md:function(e,t,r){if(2<=bt.version)t&&br.uniform2iv(ur(e),I,r>>2,2*t);else{if(144>=t)for(var n=fr[2*t-1],i=0;i<2*t;i+=2)n[i]=I[r+4*i>>2],n[i+1]=I[r+(4*i+4)>>2];else n=I.subarray(r>>2,r+8*t>>2);br.uniform2iv(ur(e),n)}},ld:function(e,t,r,n){br.uniform3f(ur(e),t,r,n)},kd:function(e,t,r){if(2<=bt.version)t&&br.uniform3fv(ur(e),O,r>>2,3*t);else{if(96>=t)for(var n=cr[3*t-1],i=0;i<3*t;i+=3)n[i]=O[r+4*i>>2],n[i+1]=O[r+(4*i+4)>>2],n[i+2]=O[r+(4*i+8)>>2];else n=O.subarray(r>>2,r+12*t>>2);br.uniform3fv(ur(e),n)}},jd:function(e,t,r,n){br.uniform3i(ur(e),t,r,n)},id:function(e,t,r){if(2<=bt.version)t&&br.uniform3iv(ur(e),I,r>>2,3*t);else{if(96>=t)for(var n=fr[3*t-1],i=0;i<3*t;i+=3)n[i]=I[r+4*i>>2],n[i+1]=I[r+(4*i+4)>>2],n[i+2]=I[r+(4*i+8)>>2];else n=I.subarray(r>>2,r+12*t>>2);br.uniform3iv(ur(e),n)}},hd:function(e,t,r,n,i){br.uniform4f(ur(e),t,r,n,i)},gd:function(e,t,r){if(2<=bt.version)t&&br.uniform4fv(ur(e),O,r>>2,4*t);else{if(72>
2=t){var n=cr[4*t-1],i=O;r>>=2;for(var o=0;o<4*t;o+=4){var a=r+o;n[o]=i[a],n[o+1]=i[a+1],n[o+2]=i[a+2],n[o+3]=i[a+3]}}else n=O.subarray(r>>2,r+16*t>>2);br.uniform4fv(ur(e),n)}},Wc:function(e,t,r,n,i){br.uniform4i(ur(e),t,r,n,i)},Xc:function(e,t,r){if(2<=bt.version)t&&br.uniform4iv(ur(e),I,r>>2,4*t);else{if(72>=t)for(var n=fr[4*t-1],i=0;i<4*t;i+=4)n[i]=I[r+4*i>>2],n[i+1]=I[r+(4*i+4)>>2],n[i+2]=I[r+(4*i+8)>>2],n[i+3]=I[r+(4*i+12)>>2];else n=I.subarray(r>>2,r+16*t>>2);br.uniform4iv(ur(e),n)}},Yc:function(e,t,r,n){if(2<=bt.version)t&&br.uniformMatrix2fv(ur(e),!!r,O,n>>2,4*t);else{if(72>=t)for(var i=cr[4*t-1],o=0;o<4*t;o+=4)i[o]=O[n+4*o>>2],i[o+1]=O[n+(4*o+4)>>2],i[o+2]=O[n+(4*o+8)>>2],i[o+3]=O[n+(4*o+12)>>2];else i=O.subarray(n>>2,n+16*t>>2);br.uniformMatrix2fv(ur(e),!!r,i)}},Zc:function(e,t,r,n){if(2<=bt.version)t&&br.uniformMatrix3fv(ur(e),!!r,O,n>>2,9*t);else{if(32>=t)for(var i=cr[9*t-1],o=0;o<9*t;o+=9)i[o]=O[n+4*o>>2],i[o+1]=O[n+(4*o+4)>>2],i[o+2]=O[n+(4*o+8)>>2],i[o+3]=O[n+(4*o+12)>>2],i[o+4]=O[n+(4*o+16)>>2],i[o+5]=O[n+(4*o+20)>>2],i[o+6]=O[n+(4*o+24)>>2],i[o+7]=O[n+(4*o+28)>>2],i[o+8]=O[n+(4*o+32)>>2];else i=O.subarray(n>>2,n+36*t>>2);br.uniformMatrix3fv(ur(e),!!r,i)}},_c:function(e,t,r,n){if(2<=bt.version)t&&br.uniformMatrix4fv(ur(e),!!r,O,n>>2,16*t);else{if(18>=t){var i=cr[16*t-1],o=O;n>>=2;for(var a=0;a<16*t;a+=16){var u=n+a;i[a]=o[u],i[a+1]=o[u+1],i[a+2]=o[u+2],i[a+3]=o[u+3],i[a+4]=o[u+4],i[a+5]=o[u+5],i[a+6]=o[u+6],i[a+7]=o[u+7],i[a+8]=o[u+8],i[a+9]=o[u+9],i[a+10]=o[u+10],i[a+11]=o[u+11],i[a+12]=o[u+12],i[a+13]=o[u+13],i[a+14]=o[u+14],i[a+15]=o[u+15]}}else i=O.subarray(n>>2,n+64*t>>2);br.uniformMatrix4fv(ur(e),!!r,i)}},$c:function(e){e=Ct[e],br.useProgram(e),br.bg=e},ad:function(e,t){br.vertexAttrib1f(e,t)},bd:function(e,t){br.vertexAttrib2f(e,O[t>>2],O[t+4>>2])},cd:function(e,t){br.vertexAttrib3f(e,O[t>>2],O[t+4>>2],O[t+8>>2])},dd:function(e,t){br.vertexAttrib4f(e,O[t>>2],O[t+4>>2],O[t+8>>2],O[t+12>>2])},Fc:function(e,t){br.vertexAttribDivisor(e,t)},Gc:function(e,t,r,n,i){br.vertexAttribIPointer(e,t,r,n,i)},ed:function(e,t,r,n,i,o){br.vertexAttribPointer(e,t,r,!!n,i,o)},fd:function(e,t,r,n){br.viewport(e,t,r,n)},kc:function(e,t,r,n){br.waitSync(Dt[e],t,(r>>>0)+4294967296*n)},rb:function(e){var t=B.length;if(2147483648<(e>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=t*(1+.2/r);n=Math.min(n,e+100663296);var i=Math;n=Math.max(e,n);e:{i=i.min.call(i,2147483648,n+(65536-n%65536)%65536)-S.buffer.byteLength+65535>>>16;try{S.grow(i),G();var o=1;break e}catch(e){}o=void 0}if(o)return!0}return!1},ib:function(){return bt?bt.handle:0},sb:function(e,t){var r=0;return hr().forEach((function(n,i){var o=t+r;for(i=L[e+4*i>>2]=o,o=0;o<n.length;++o)E[0|i++]=n.charCodeAt(o);E[0|i]=0,r+=n.length+1})),0},tb:function(e,t){var r=hr();L[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),L[t>>2]=n,0},Fb:function(e){F||(l.onExit&&l.onExit(e),j=!0),m(e,new te(e))},O:function(){return 52},kb:function(){return 52},yb:function(){return 52},nb:function(){return 70},R:function(e,t,r,n){for(var i=0,o=0;o<r;o++){var a=L[t>>2],u=L[t+4>>2];t+=8;for(var s=0;s<u;s++){var c=B[a+s],f=dr[e];0===c||10===c?((1===e?M:k)(ie(f,0)),f.length=0):f.push(c)}i+=u}return L[n>>2]=i,0},yd:Wt,jb:Nt,xd:Vt,Lb:zt,N:Qt,Q:rr,gb:nr,Ib:function(e){var t=Sr();try{return W.get(e)()}catch(e){if(xr(t),e!==e+0)throw e;Fr(1,0)}},j:function(e,t){var r=Sr();try{return W.get(e)(t)}catch(e){if(xr(r),e!==e+0)throw e;Fr(1,0)}},q:function(e,t,r){var n=Sr();try{return W.get(e)(t,r)}catch(e){if(xr(n),e!==e+0)throw e;Fr(1,0)}},l:function(e,t,r,n){var i=Sr();try{return W.get(e)(t,r,n)}catch(e){if(xr(i),e!==e+0)throw e;Fr(1,0)}},H:function(e,t,r,n,i){var o=Sr();try{return W.get(e)(t,r,n,i)}catch(e){if(xr(o),e!==e+0)throw e;Fr(1,0)}},Hb:function(e,t,r,n,i,o){var a=Sr();try{return W.get(e)(t,r,n,i,o)}catch(e){if(xr(a),e!==e+0)throw e;Fr(1,0)}},Y:function(e,t,r,n,i,o,a){var u=Sr();try{return W.get(e)(t,r,n,i,o,a)}catch(e){if(xr(u),e!==e+0)throw e;Fr(1,0)}},X:function(e,t,r,n,i,o,a,u){var s=Sr();try{return W.get(e)(t,r,n,i,o,a,u)}catch(e){if(xr(s),e!==e+0)throw e;Fr(1,0)}},W:function(e,t,r,n,i,o,a,u,s,c){var f=Sr();try{return W.get(e)(t,r,n,i,o,a,u,s,c)}catch(e){if(xr(f),e!==e+0)throw e;Fr(1,0)}},J:function(e){var t=Sr();try{W.get(e)()}catch(e){if(xr(t),e!==e+0)throw e;Fr(1,0)}},k:function(e,t){var r=Sr();try{W.get(e)(t)}catch(e){if(xr(r),e!==e+0)throw e;Fr(1,0)}},y:function(e,t,r){var n=Sr();try{W.get(e)(t,r)}catch(e){if(xr(n),e!==e+0)throw e;Fr(1,0)}},w:function(e,t,r,n){var i=Sr();try{W.get(e)(t,r,n)}catch(e){if(xr(i),e!==e+0)throw e;Fr(1,0)}},t:function(e,t,r,n,i){var o=Sr();try{W.get(e)(t,r,n,i)}catch(e){if(xr(o),e!==e+0)throw e;Fr(1,0)}},Gb:function(e,t,r,n,i,o){var a=Sr();try{W.get(e)(t,r,n,i,o)}catch(e){if(xr(a),e!==e+0)throw e;Fr(1,0)}},Jb:function(e,t,r,n,i,o,a){var u=Sr();try{W.get(e)(t,r,n,i,o,a)}catch(e){if(xr(u),e!==e+0)throw e;Fr(1,0)}},Kb:function(e,t,r,n,i,o,a,u,s,c){var f=Sr();try{W.get(e)(t,r,n,i,o,a,u,s,c)}catch(e){if(xr(f),e!==e+0)throw e;Fr(1,0)}},pb:function(e,t,r,n){return function(e,t,r,n){function i(e,t,r){for(e="number"==typeof e?e.toString():e||"";e.length<t;)e=r[0]+e;return e}function o(e,t){return i(e,t,"0")}
2function a(e,t){function r(e){return 0>e?-1:0<e?1:0}var n;return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function u(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function s(e){var t=e.Ie;for(e=new Date(new Date(e.Je+1900,0,1).getTime());0<t;){var r=e.getMonth(),n=(pr(e.getFullYear())?yr:gr)[r];if(!(t>n-e.getDate())){e.setDate(e.getDate()+t);break}t-=n-e.getDate()+1,e.setDate(1),11>r?e.setMonth(r+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return r=new Date(e.getFullYear()+1,0,4),t=u(new Date(e.getFullYear(),0,4)),r=u(r),0>=a(t,e)?0>=a(r,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var c=I[n+40>>2];for(var f in n={Ig:I[n>>2],Hg:I[n+4>>2],uf:I[n+8>>2],Ef:I[n+12>>2],vf:I[n+16>>2],Je:I[n+20>>2],Be:I[n+24>>2],Ie:I[n+28>>2],Rg:I[n+32>>2],Gg:I[n+36>>2],Jg:c&&c?ie(B,c):""},r=r?ie(B,r):"",c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})r=r.replace(new RegExp(f,"g"),c[f]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(f in c={"%a":function(e){return l[e.Be].substring(0,3)},"%A":function(e){return l[e.Be]},"%b":function(e){return h[e.vf].substring(0,3)},"%B":function(e){return h[e.vf]},"%C":function(e){return o((e.Je+1900)/100|0,2)},"%d":function(e){return o(e.Ef,2)},"%e":function(e){return i(e.Ef,2," ")},"%g":function(e){return s(e).toString().substring(2)},"%G":function(e){return s(e)},"%H":function(e){return o(e.uf,2)},"%I":function(e){return 0==(e=e.uf)?e=12:12<e&&(e-=12),o(e,2)},"%j":function(e){for(var t=0,r=0;r<=e.vf-1;t+=(pr(e.Je+1900)?yr:gr)[r++]);return o(e.Ef+t,3)},"%m":function(e){return o(e.vf+1,2)},"%M":function(e){return o(e.Hg,2)},"%n":function(){return"\n"},"%p":function(e){return 0<=e.uf&&12>e.uf?"AM":"PM"},"%S":function(e){return o(e.Ig,2)},"%t":function(){return"\t"},"%u":function(e){return e.Be||7},"%U":function(e){return o(Math.floor((e.Ie+7-e.Be)/7),2)},"%V":function(e){var t=Math.floor((e.Ie+7-(e.Be+6)%7)/7);if(2>=(e.Be+371-e.Ie-2)%7&&t++,t)53==t&&(4==(r=(e.Be+371-e.Ie)%7)||3==r&&pr(e.Je)||(t=1));else{t=52;var r=(e.Be+7-e.Ie-1)%7;(4==r||5==r&&pr(e.Je%400-1))&&t++}return o(t,2)},"%w":function(e){return e.Be},"%W":function(e){return o(Math.floor((e.Ie+7-(e.Be+6)%7)/7),2)},"%y":function(e){return(e.Je+1900).toString().substring(2)},"%Y":function(e){return e.Je+1900},"%z":function(e){var t=0<=(e=e.Gg);return e=Math.abs(e)/60,(t?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":function(e){return e.Jg},"%%":function(){return"%"}},r=r.replace(/%%/g,"\0\0"),c)r.includes(f)&&(r=r.replace(new RegExp(f,"g"),c[f](n)));return f=function(e){var t=Array(ut(e)+1);return at(e,t,0,t.length),t}(r=r.replace(/\0\0/g,"%")),f.length>t?0:(E.set(f,e),f.length-1)}(e,t,r,n)}};!function(){function e(e){if(x=e=e.exports,S=x.zd,G(),W=x.Cd,N.unshift(x.Ad),$--,l.monitorRunDependencies&&l.monitorRunDependencies($),0==$&&(null!==Y&&(clearInterval(Y),Y=null),Z)){var t=Z;Z=null,t()}return e}var r={a:Pr};if($++,l.monitorRunDependencies&&l.monitorRunDependencies($),l.instantiateWasm)try{return l.instantiateWasm(r,e)}catch(e){k("Module.instantiateWasm callback failed with error: "+e),t(e)}(function(e,t){var r=q;return C||"function"!=typeof WebAssembly.instantiateStreaming||J(r)||r.startsWith("file://")||_||"function"!=typeof fetch?ee(r,e,t):fetch(r,{credentials:"same-origin"}).then((function(n){return WebAssembly.instantiateStreaming(n,e).then(t,(function(n){return k("wasm streaming compile failed: "+n),k("falling back to ArrayBuffer instantiation"),ee(r,e,t)}))}))})(r,(function(t){e(t.instance)})).catch(t)}();var Tr=l._malloc=function(e){return(Tr=l._malloc=x.Bd)(e)},Cr=l._free=function(e){return(Cr=l._free=x.Dd)(e)},Mr=function(e){return(Mr=x.Ed)(e)};l.__embind_initialize_bindings=function(){return(l.__embind_initialize_bindings=x.Fd)()};var kr,Fr=function(e,t){return(Fr=x.Gd)(e,t)},Sr=function(){return(Sr=x.Hd)()}
2,xr=function(e){return(xr=x.Id)(e)};function Er(){function t(){if(!kr&&(kr=!0,l.calledRun=!0,!j)){if(re(N),e(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),l.postRun)for("function"==typeof l.postRun&&(l.postRun=[l.postRun]);l.postRun.length;){var t=l.postRun.shift();V.unshift(t)}re(V)}}if(!(0<$)){if(l.preRun)for("function"==typeof l.preRun&&(l.preRun=[l.preRun]);l.preRun.length;)z();re(U),0<$||(l.setStatus?(l.setStatus("Running..."),setTimeout((function(){setTimeout((function(){l.setStatus("")}),1),t()}),1)):t())}}if(l.dynCall_viji=function(e,t,r,n,i){return(l.dynCall_viji=x.Jd)(e,t,r,n,i)},l.dynCall_vijiii=function(e,t,r,n,i,o,a){return(l.dynCall_vijiii=x.Kd)(e,t,r,n,i,o,a)},l.dynCall_viiiiij=function(e,t,r,n,i,o,a,u){return(l.dynCall_viiiiij=x.Ld)(e,t,r,n,i,o,a,u)},l.dynCall_jii=function(e,t,r){return(l.dynCall_jii=x.Md)(e,t,r)},l.dynCall_vij=function(e,t,r,n){return(l.dynCall_vij=x.Nd)(e,t,r,n)},l.dynCall_jiiiii=function(e,t,r,n,i,o){return(l.dynCall_jiiiii=x.Od)(e,t,r,n,i,o)},l.dynCall_jiiiiii=function(e,t,r,n,i,o,a){return(l.dynCall_jiiiiii=x.Pd)(e,t,r,n,i,o,a)},l.dynCall_jiiiiji=function(e,t,r,n,i,o,a,u){return(l.dynCall_jiiiiji=x.Qd)(e,t,r,n,i,o,a,u)},l.dynCall_ji=function(e,t){return(l.dynCall_ji=x.Rd)(e,t)},l.dynCall_iijj=function(e,t,r,n,i,o){return(l.dynCall_iijj=x.Sd)(e,t,r,n,i,o)},l.dynCall_iiiji=function(e,t,r,n,i,o){return(l.dynCall_iiiji=x.Td)(e,t,r,n,i,o)},l.dynCall_iiji=function(e,t,r,n,i){return(l.dynCall_iiji=x.Ud)(e,t,r,n,i)},l.dynCall_iijjiii=function(e,t,r,n,i,o,a,u,s){return(l.dynCall_iijjiii=x.Vd)(e,t,r,n,i,o,a,u,s)},l.dynCall_iij=function(e,t,r,n){return(l.dynCall_iij=x.Wd)(e,t,r,n)},l.dynCall_vijjjii=function(e,t,r,n,i,o,a,u,s,c){return(l.dynCall_vijjjii=x.Xd)(e,t,r,n,i,o,a,u,s,c)},l.dynCall_jiji=function(e,t,r,n,i){return(l.dynCall_jiji=x.Yd)(e,t,r,n,i)},l.dynCall_viijii=function(e,t,r,n,i,o,a){return(l.dynCall_viijii=x.Zd)(e,t,r,n,i,o,a)},l.dynCall_iiiiij=function(e,t,r,n,i,o,a){return(l.dynCall_iiiiij=x._d)(e,t,r,n,i,o,a)},l.dynCall_iiiiijj=function(e,t,r,n,i,o,a,u,s){return(l.dynCall_iiiiijj=x.$d)(e,t,r,n,i,o,a,u,s)},l.dynCall_iiiiiijj=function(e,t,r,n,i,o,a,u,s,c){return(l.dynCall_iiiiiijj=x.ae)(e,t,r,n,i,o,a,u,s,c)},Z=function e(){kr||Er(),kr||(Z=e)},l.preInit)for("function"==typeof l.preInit&&(l.preInit=[l.preInit]);0<l.preInit.length;)l.preInit.pop()();return Er(),u.ready});e.exports=d},96746:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(94330),i=r(40162),o=r(10977);function a(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),a=(0,n.Z)(t);return isNaN(a)?new Date(NaN):a?(r.setDate(r.getDate()+a),r):r}},96756:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(94330),i=r(23974),o=r(10977),a=36e5;function u(e,t){(0,o.Z)(2,arguments);var r=(0,n.Z)(t);return(0,i.Z)(e,r*a)}},82698:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(94330),i=r(40162),o=r(10977);function a(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),a=(0,n.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return r;var u=r.getDate(),s=new Date(r.getTime());return s.setMonth(r.getMonth()+a+1,0),u>=s.getDate()?s:(r.setFullYear(s.getFullYear(),s.getMonth(),u),r)}},13098:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(63912),i=r(51893),o=r(10977),a=864e5;function u(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),u=(0,i.Z)(t),s=r.getTime()-(0,n.Z)(r),c=u.getTime()-(0,n.Z)(u);return Math.round((s-c)/a)}},74511:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(40162),i=r(13098),o=r(10977);function a(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function u(e,t){(0,o.Z)(2,arguments);var r=(0,n.Z)(e),u=(0,n.Z)(t),s=a(r,u),c=Math.abs((0,i.Z)(r,u));r.setDate(r.getDate()-s*c);var f=s*(c-Number(a(r,u)===-s));return 0===f?0:f}},51893:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(40162),i=r(10977);function o(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e);return t.setHours(0,0,0,0),t}},28514:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(40162),i=r(10977);function o(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e);return t.setMinutes(0,0,0),t}},28867:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(14794),i=r(96746),o=r(10977),a=r(94330),u=r(82698);function s(e,t){if((0,o.Z)(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN);var r=t.years?(0,a.Z)(t.years):0,s=t.months?(0,a.Z)(t.months):0,c=t.weeks?(0,a.Z)(t.weeks):0,f=t.days?(0,a.Z)(t.days):0,l=t.hours?(0,a.Z)(t.hours):0,h=t.minutes?(0,a.Z)(t.minutes):0,d=t.seconds?(0,a.Z)(t.seconds):0,p=function(e,t){(0,o.Z)(2,arguments);var r=(0,a.Z)(t);
2return(0,u.Z)(e,-r)}(e,s+12*r),y=function(e,t){(0,o.Z)(2,arguments);var r=(0,a.Z)(t);return(0,i.Z)(e,-r)}(p,f+7*c),g=1e3*(d+60*(h+60*l));return new Date(y.getTime()-g)}},54546:(e,t,r)=>{"use strict";e.exports=r(43154)}}]);
3//# sourceMappingURL=66d3a2ee0b0dc64e71af.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.