UNPKG

@vladmandic/human

Version:

Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition

9 lines (8 loc) 1.58 MB
/* Human homepage: <https://github.com/vladmandic/human> author: <https://github.com/vladmandic>' */ "use strict";var Human=(()=>{var jc=Object.defineProperty;var MC=Object.getOwnPropertyDescriptor;var $C=Object.getOwnPropertyNames;var PC=Object.prototype.hasOwnProperty;var Gx=e=>{throw TypeError(e)};var _C=(e,t,a)=>t in e?jc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var Ar=(e,t)=>{for(var a in t)jc(e,a,{get:t[a],enumerable:!0})},FC=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of $C(t))!PC.call(e,r)&&r!==a&&jc(e,r,{get:()=>t[r],enumerable:!(n=MC(t,r))||n.enumerable});return e};var DC=e=>FC(jc({},"__esModule",{value:!0}),e);var he=(e,t,a)=>_C(e,typeof t!="symbol"?t+"":t,a),Hx=(e,t,a)=>t.has(e)||Gx("Cannot "+a);var qa=(e,t,a)=>(Hx(e,t,"read from private field"),a?a.call(e):t.get(e)),Kn=(e,t,a)=>t.has(e)?Gx("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),br=(e,t,a,n)=>(Hx(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var dye={};Ar(dye,{Env:()=>nc,Human:()=>Mx,default:()=>Mx,defaults:()=>pl,draw:()=>C0,empty:()=>hr,env:()=>ne,match:()=>em,models:()=>Ex});var Ke={};Ar(Ke,{Abs:()=>ou,Acos:()=>oi,Acosh:()=>li,AdadeltaOptimizer:()=>Zg,AdagradOptimizer:()=>Jg,AdamOptimizer:()=>Qg,AdamaxOptimizer:()=>e3,Add:()=>ls,AddN:()=>ui,All:()=>di,Any:()=>pi,ArgMax:()=>lu,ArgMin:()=>uu,Asin:()=>ci,Asinh:()=>hi,Atan:()=>mi,Atan2:()=>gi,Atanh:()=>fi,AvgPool:()=>yi,AvgPool3D:()=>du,AvgPool3DGrad:()=>pp,AvgPoolGrad:()=>dp,BackendWasm:()=>Ik,BatchMatMul:()=>xi,BatchToSpaceND:()=>pu,Bincount:()=>Ai,BitwiseAnd:()=>cu,BroadcastArgs:()=>hu,BroadcastTo:()=>TT,Cast:()=>bi,Ceil:()=>vi,ClipByValue:()=>us,Complex:()=>cp,ComplexAbs:()=>hp,Concat:()=>mu,Conv2D:()=>wi,Conv2DBackpropFilter:()=>mp,Conv2DBackpropInput:()=>ki,Conv3D:()=>Ii,Conv3DBackpropFilterV2:()=>fu,Conv3DBackpropInputV2:()=>Si,Cos:()=>Ci,Cosh:()=>Ti,CropAndResize:()=>Ei,Cumprod:()=>Ni,Cumsum:()=>Ri,DataStorage:()=>op,DenseBincount:()=>gu,DepthToSpace:()=>Mi,DepthwiseConv2dNative:()=>$i,DepthwiseConv2dNativeBackpropFilter:()=>fp,DepthwiseConv2dNativeBackpropInput:()=>gp,Diag:()=>yu,Dilation2D:()=>Pi,Dilation2DBackpropFilter:()=>Xl,Dilation2DBackpropInput:()=>ql,Draw:()=>yp,ENV:()=>eg,Einsum:()=>xp,Elu:()=>Fi,EluGrad:()=>xu,Environment:()=>TA,Equal:()=>Oi,Erf:()=>Di,Exp:()=>zi,ExpandDims:()=>Au,Expm1:()=>Li,FFT:()=>Ap,Fill:()=>bu,FlipLeftRight:()=>Wi,Floor:()=>Bi,FloorDiv:()=>Vi,FromPixels:()=>Wd,FusedBatchNorm:()=>Ui,FusedConv2D:()=>Jr,FusedDepthwiseConv2D:()=>Qr,GPGPUContext:()=>Hl,GatherNd:()=>Gi,GatherV2:()=>vu,GraphModel:()=>Xp,Greater:()=>Hi,GreaterEqual:()=>ji,IFFT:()=>bp,Identity:()=>qi,Imag:()=>vp,IsFinite:()=>Xi,IsInf:()=>Ki,IsNan:()=>Yi,KernelBackend:()=>su,LRN:()=>io,LRNGrad:()=>wu,LeakyRelu:()=>Zi,Less:()=>Ji,LessEqual:()=>Qi,LinSpace:()=>eo,Log:()=>to,Log1p:()=>ao,LogSoftmax:()=>NT,LogicalAnd:()=>no,LogicalNot:()=>ro,LogicalOr:()=>so,LogicalXor:()=>RA,LowerBound:()=>RT,MathBackendCPU:()=>p3,MathBackendWebGL:()=>Jp,MatrixBandPart:()=>ET,Max:()=>oo,MaxPool:()=>uo,MaxPool3D:()=>ku,MaxPool3DGrad:()=>kp,MaxPoolGrad:()=>wp,MaxPoolWithArgmax:()=>Iu,Maximum:()=>lo,Mean:()=>po,Min:()=>co,Minimum:()=>ho,MirrorPad:()=>mo,Mod:()=>fo,MomentumOptimizer:()=>t3,Multinomial:()=>go,Multiply:()=>yo,Neg:()=>Su,NonMaxSuppressionV3:()=>Ao,NonMaxSuppressionV4:()=>Cu,NonMaxSuppressionV5:()=>bo,NotEqual:()=>xo,OP_SCOPE_SUFFIX:()=>sg,OneHot:()=>vo,OnesLike:()=>Tu,Optimizer:()=>hs,OptimizerConstructors:()=>U7,Pack:()=>Nu,PadV2:()=>wo,Pool:()=>MT,Pow:()=>ko,Prelu:()=>Io,Prod:()=>So,RMSPropOptimizer:()=>a3,RaggedGather:()=>$h,RaggedRange:()=>Ph,RaggedTensorToTensor:()=>_h,Range:()=>Ru,Rank:()=>n1,Real:()=>Ip,RealDiv:()=>_i,Reciprocal:()=>Co,Reduction:()=>wa,Relu:()=>To,Relu6:()=>Eo,Reshape:()=>Eu,ResizeBilinear:()=>Ro,ResizeBilinearGrad:()=>$u,ResizeNearestNeighbor:()=>No,ResizeNearestNeighborGrad:()=>Mu,Reverse:()=>Mo,RotateWithOffset:()=>el,Round:()=>$o,Rsqrt:()=>Po,SGDOptimizer:()=>Qh,ScatterNd:()=>_o,SearchSorted:()=>Do,Select:()=>Pu,Selu:()=>Oo,Sigmoid:()=>Bo,Sign:()=>Wo,Sin:()=>zo,Sinh:()=>Lo,Slice:()=>_u,Softmax:()=>Ho,Softplus:()=>Vo,SpaceToBatchND:()=>Fu,SparseFillEmptyRows:()=>Sp,SparseReshape:()=>Ou,SparseSegmentMean:()=>zu,SparseSegmentSum:()=>Lu,SparseToDense:()=>jo,SplitV:()=>Du,Sqrt:()=>Uo,Square:()=>Cp,SquaredDifference:()=>qo,StaticRegexReplace:()=>Tp,Step:()=>ps,StridedSlice:()=>Xo,StringNGrams:()=>Wu,StringSplit:()=>Np,StringToHashBucketFast:()=>Rp,Sub:()=>Ko,Sum:()=>Go,Tan:()=>Yo,Tanh:()=>Zo,Tensor:()=>yt,TensorBuffer:()=>Vt,TensorScatterUpdate:()=>Fo,Tile:()=>ds,TopK:()=>Jo,Transform:()=>Qo,Transpose:()=>Ir,Unique:()=>Ep,Unpack:()=>Bu,UnsortedSegmentSum:()=>Mp,UpperBound:()=>$T,Variable:()=>Gd,WebGPUBackend:()=>X3,ZerosLike:()=>Vu,_FusedMatMul:()=>Zr,abs:()=>Za,acos:()=>ab,acosh:()=>nb,add:()=>we,addN:()=>Dh,all:()=>rb,any:()=>sb,argMax:()=>ir,argMin:()=>ib,asin:()=>ob,asinh:()=>lb,atan:()=>ub,atan2:()=>db,atanh:()=>pb,avgPool:()=>hg,avgPool3d:()=>fb,backend:()=>Vn,backend_util:()=>C,basicLSTMCell:()=>gb,batchNorm:()=>Wp,batchNorm2d:()=>yb,batchNorm3d:()=>xb,batchNorm4d:()=>Ab,batchToSpaceND:()=>mg,bincount:()=>fg,bitwiseAnd:()=>bb,booleanMaskAsync:()=>r7,broadcastArgs:()=>vb,broadcastTo:()=>Gl,broadcast_util:()=>nl,browser:()=>Un,buffer:()=>_e,cast:()=>Ue,ceil:()=>wb,clipByValue:()=>kb,clone:()=>Ia,complex:()=>Tr,concat:()=>lt,concat1d:()=>Ib,concat2d:()=>Uu,concat3d:()=>Sb,concat4d:()=>Cb,conv1d:()=>Tb,conv2d:()=>Bp,conv2dTranspose:()=>Rb,conv3d:()=>Eb,conv3dTranspose:()=>Mb,copyRegisteredKernels:()=>OT,cos:()=>$b,cosh:()=>Pb,cosineWindow:()=>Xh,cumprod:()=>_b,cumsum:()=>Fb,customGrad:()=>nr,denseBincount:()=>Db,deprecationWarn:()=>og,depthToSpace:()=>Ob,depthwiseConv2d:()=>Oh,deregisterOp:()=>LD,device_util:()=>Fp,diag:()=>zb,dilation2d:()=>Lb,disableDeprecationWarnings:()=>mN,dispose:()=>J,disposeVariables:()=>fN,div:()=>ve,divNoNan:()=>Bb,dot:()=>Vb,dropout:()=>u7,einsum:()=>Vs,elu:()=>xg,enableDebugMode:()=>hN,enableProdMode:()=>ig,enclosingPowerOfTwo:()=>Xg,engine:()=>It,ensureShape:()=>Ub,env:()=>B,equal:()=>yg,erf:()=>Gb,euclideanNorm:()=>qb,exp:()=>rs,expandDims:()=>Wt,expm1:()=>Xb,eye:()=>bg,fft:()=>Gh,fill:()=>or,findBackend:()=>lg,findBackendFactory:()=>bN,floor:()=>vg,floorDiv:()=>zp,forceHalfFloat:()=>x8,fused:()=>Kg,gather:()=>wg,gatherND:()=>l7,gather_util:()=>s3,getBackend:()=>ea,getGradient:()=>t1,getKernel:()=>Vd,getKernelsForBackend:()=>er,getThreadsCount:()=>dle,gpgpu_util:()=>Kv,grad:()=>aM,grads:()=>nM,greater:()=>Gp,greaterEqual:()=>kg,ifft:()=>Jd,imag:()=>Hp,image:()=>fe,inTopKAsync:()=>d7,io:()=>Zn,irfft:()=>Vg,isFinite:()=>Kb,isInf:()=>Yb,isNaN:()=>Zb,keep:()=>Ln,kernel_impls:()=>En,leakyRelu:()=>Ig,less:()=>mh,lessEqual:()=>zh,linalg:()=>x7,linspace:()=>Jb,loadGraphModel:()=>d3,loadGraphModelSync:()=>HO,localResponseNormalization:()=>Qb,log:()=>Zl,log1p:()=>Sg,logSigmoid:()=>t4,logSoftmax:()=>a4,logSumExp:()=>Tg,logicalAnd:()=>Kd,logicalNot:()=>Ng,logicalOr:()=>Rg,logicalXor:()=>n4,losses:()=>A7,lowerBound:()=>r4,matMul:()=>pt,math:()=>M7,max:()=>ga,maxPool:()=>Eg,maxPool3d:()=>s4,maxPoolWithArgmax:()=>i4,maximum:()=>Mg,mean:()=>Yd,memory:()=>gN,meshgrid:()=>o4,min:()=>ns,minimum:()=>Zd,mirrorPad:()=>l4,mod:()=>Gu,moments:()=>u4,movingAverage:()=>s7,mul:()=>te,multiRNNCell:()=>d4,multinomial:()=>p4,neg:()=>Wn,nextFrame:()=>G7,node:()=>Q3,norm:()=>Up,notEqual:()=>$g,oneHot:()=>fh,ones:()=>jr,onesLike:()=>c4,op:()=>z,outerProduct:()=>h4,pad:()=>Rn,pad1d:()=>m4,pad2d:()=>f4,pad3d:()=>g4,pad4d:()=>y4,pool:()=>x4,pow:()=>Yl,prelu:()=>_g,print:()=>pg,prod:()=>A4,profile:()=>yN,raggedGather:()=>b4,raggedRange:()=>v4,raggedTensorToTensor:()=>w4,rand:()=>k4,randomGamma:()=>T4,randomNormal:()=>Lg,randomStandardNormal:()=>N4,randomUniform:()=>Bh,randomUniformInt:()=>R4,range:()=>Jl,ready:()=>tl,real:()=>Ql,reciprocal:()=>E4,registerBackend:()=>al,registerGradient:()=>_T,registerKernel:()=>xn,registerOp:()=>zD,relu:()=>jp,relu6:()=>Wg,removeBackend:()=>AN,reshape:()=>Q,reverse:()=>ss,reverse1d:()=>M4,reverse2d:()=>$4,reverse3d:()=>P4,reverse4d:()=>_4,rfft:()=>Hh,round:()=>Bg,rsqrt:()=>F4,scalar:()=>Ge,scatterND:()=>i7,scatter_util:()=>jh,searchSorted:()=>Wh,selu:()=>D4,separableConv2d:()=>O4,serialization:()=>w7,setBackend:()=>Dp,setPlatform:()=>vN,setThreadsCount:()=>ule,setWasmPath:()=>lle,setWasmPaths:()=>u0,setWebGLContext:()=>n0,setdiff1dAsync:()=>z4,shared:()=>t0,sigmoid:()=>za,sign:()=>L4,signal:()=>y7,sin:()=>W4,sinh:()=>B4,slice:()=>Fe,slice1d:()=>V4,slice2d:()=>U4,slice3d:()=>qp,slice4d:()=>Vh,slice_util:()=>Nt,softmax:()=>Uh,softplus:()=>Cg,spaceToBatchND:()=>Pg,sparse:()=>b7,sparseToDense:()=>o7,spectral:()=>g7,split:()=>Sa,sqrt:()=>ar,square:()=>Tn,squaredDifference:()=>Ug,squeeze:()=>Oe,stack:()=>ha,step:()=>Gg,stridedSlice:()=>G4,string:()=>v7,sub:()=>xe,sum:()=>ot,sumOutType:()=>_p,tan:()=>H4,tanh:()=>hh,tensor:()=>Ve,tensor1d:()=>Bt,tensor2d:()=>Qn,tensor3d:()=>Hg,tensor4d:()=>j4,tensor5d:()=>q4,tensor6d:()=>X4,tensorScatterUpdate:()=>Y4,tensor_util:()=>FA,test_util:()=>I4,tidy:()=>De,tile:()=>Kr,time:()=>xN,topk:()=>Z4,train:()=>FF,transpose:()=>Qs,truncatedNormal:()=>J4,unique:()=>Q4,unregisterGradient:()=>DT,unregisterKernel:()=>FT,unsortedSegmentSum:()=>e7,unstack:()=>Na,upcastType:()=>ca,upperBound:()=>t7,util:()=>v,valueAndGrad:()=>rM,valueAndGrads:()=>sM,variable:()=>a7,variableGrads:()=>e4,version:()=>ac,version_converter:()=>qO,version_core:()=>i3,version_cpu:()=>oL,version_wasm:()=>ple,version_webgl:()=>Yj,webgl:()=>Zj,webgl_util:()=>Av,webgpu_util:()=>Tk,where:()=>Sr,whereAsync:()=>qg,zeros:()=>yn,zerosLike:()=>Qa});var OC=Object.create,Z1=Object.defineProperty,zC=Object.getOwnPropertyDescriptor,LC=Object.getOwnPropertyNames,WC=Object.getPrototypeOf,BC=Object.prototype.hasOwnProperty,Xt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ze=(e,t)=>{for(var a in t)Z1(e,a,{get:t[a],enumerable:!0})},VC=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of LC(t))!BC.call(e,r)&&r!==a&&Z1(e,r,{get:()=>t[r],enumerable:!(n=zC(t,r))||n.enumerable});return e},ru=(e,t,a)=>(a=e!=null?OC(WC(e)):{},VC(t||!e||!e.__esModule?Z1(a,"default",{value:e,enumerable:!0}):a,e)),UC=Xt((e,t)=>{t.exports=n;var a=null;try{a=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(S){}function n(S,_,O){this.low=S|0,this.high=_|0,this.unsigned=!!O}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0});function r(S){return(S&&S.__isLong__)===!0}n.isLong=r;var s={},i={};function o(S,_){var O,W,P;return _?(S>>>=0,(P=0<=S&&S<256)&&(W=i[S],W)?W:(O=u(S,(S|0)<0?-1:0,!0),P&&(i[S]=O),O)):(S|=0,(P=-128<=S&&S<128)&&(W=s[S],W)?W:(O=u(S,S<0?-1:0,!1),P&&(s[S]=O),O))}n.fromInt=o;function l(S,_){if(isNaN(S))return _?b:A;if(_){if(S<0)return b;if(S>=g)return M}else{if(S<=-y)return $;if(S+1>=y)return N}return S<0?l(-S,_).neg():u(S%f|0,S/f|0,_)}n.fromNumber=l;function u(S,_,O){return new n(S,_,O)}n.fromBits=u;var p=Math.pow;function c(S,_,O){if(S.length===0)throw Error("empty string");if(S==="NaN"||S==="Infinity"||S==="+Infinity"||S==="-Infinity")return A;if(typeof _=="number"?(O=_,_=!1):_=!!_,O=O||10,O<2||36<O)throw RangeError("radix");var W;if((W=S.indexOf("-"))>0)throw Error("interior hyphen");if(W===0)return c(S.substring(1),_,O).neg();for(var P=l(p(O,8)),U=A,G=0;G<S.length;G+=8){var q=Math.min(8,S.length-G),H=parseInt(S.substring(G,G+q),O);if(q<8){var V=l(p(O,q));U=U.mul(V).add(l(H))}else U=U.mul(P),U=U.add(l(H))}return U.unsigned=_,U}n.fromString=c;function d(S,_){return typeof S=="number"?l(S,_):typeof S=="string"?c(S,_):u(S.low,S.high,typeof _=="boolean"?_:S.unsigned)}n.fromValue=d;var h=65536,m=1<<24,f=h*h,g=f*f,y=g/2,x=o(m),A=o(0);n.ZERO=A;var b=o(0,!0);n.UZERO=b;var w=o(1);n.ONE=w;var I=o(1,!0);n.UONE=I;var T=o(-1);n.NEG_ONE=T;var N=u(-1,2147483647,!1);n.MAX_VALUE=N;var M=u(-1,-1,!0);n.MAX_UNSIGNED_VALUE=M;var $=u(0,-2147483648,!1);n.MIN_VALUE=$;var E=n.prototype;E.toInt=function(){return this.unsigned?this.low>>>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*f+(this.low>>>0):this.high*f+(this.low>>>0)},E.toString=function(S){if(S=S||10,S<2||36<S)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq($)){var _=l(S),O=this.div(_),W=O.mul(_).sub(this);return O.toString(S)+W.toInt().toString(S)}else return"-"+this.neg().toString(S);for(var P=l(p(S,6),this.unsigned),U=this,G="";;){var q=U.div(P),H=U.sub(q.mul(P)).toInt()>>>0,V=H.toString(S);if(U=q,U.isZero())return V+G;for(;V.length<6;)V="0"+V;G=""+V+G}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq($)?64:this.neg().getNumBitsAbs();for(var S=this.high!=0?this.high:this.low,_=31;_>0&&!(S&1<<_);_--);return this.high!=0?_+33:_+1},E.isZero=function(){return this.high===0&&this.low===0},E.eqz=E.isZero,E.isNegative=function(){return!this.unsigned&&this.high<0},E.isPositive=function(){return this.unsigned||this.high>=0},E.isOdd=function(){return(this.low&1)===1},E.isEven=function(){return(this.low&1)===0},E.equals=function(S){return r(S)||(S=d(S)),this.unsigned!==S.unsigned&&this.high>>>31===1&&S.high>>>31===1?!1:this.high===S.high&&this.low===S.low},E.eq=E.equals,E.notEquals=function(S){return!this.eq(S)},E.neq=E.notEquals,E.ne=E.notEquals,E.lessThan=function(S){return this.comp(S)<0},E.lt=E.lessThan,E.lessThanOrEqual=function(S){return this.comp(S)<=0},E.lte=E.lessThanOrEqual,E.le=E.lessThanOrEqual,E.greaterThan=function(S){return this.comp(S)>0},E.gt=E.greaterThan,E.greaterThanOrEqual=function(S){return this.comp(S)>=0},E.gte=E.greaterThanOrEqual,E.ge=E.greaterThanOrEqual,E.compare=function(S){if(r(S)||(S=d(S)),this.eq(S))return 0;var _=this.isNegative(),O=S.isNegative();return _&&!O?-1:!_&&O?1:this.unsigned?S.high>>>0>this.high>>>0||S.high===this.high&&S.low>>>0>this.low>>>0?-1:1:this.sub(S).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq($)?$:this.not().add(w)},E.neg=E.negate,E.add=function(S){r(S)||(S=d(S));var _=this.high>>>16,O=this.high&65535,W=this.low>>>16,P=this.low&65535,U=S.high>>>16,G=S.high&65535,q=S.low>>>16,H=S.low&65535,V=0,Z=0,X=0,re=0;return re+=P+H,X+=re>>>16,re&=65535,X+=W+q,Z+=X>>>16,X&=65535,Z+=O+G,V+=Z>>>16,Z&=65535,V+=_+U,V&=65535,u(X<<16|re,V<<16|Z,this.unsigned)},E.subtract=function(S){return r(S)||(S=d(S)),this.add(S.neg())},E.sub=E.subtract,E.multiply=function(S){if(this.isZero())return A;if(r(S)||(S=d(S)),a){var _=a.mul(this.low,this.high,S.low,S.high);return u(_,a.get_high(),this.unsigned)}if(S.isZero())return A;if(this.eq($))return S.isOdd()?$:A;if(S.eq($))return this.isOdd()?$:A;if(this.isNegative())return S.isNegative()?this.neg().mul(S.neg()):this.neg().mul(S).neg();if(S.isNegative())return this.mul(S.neg()).neg();if(this.lt(x)&&S.lt(x))return l(this.toNumber()*S.toNumber(),this.unsigned);var O=this.high>>>16,W=this.high&65535,P=this.low>>>16,U=this.low&65535,G=S.high>>>16,q=S.high&65535,H=S.low>>>16,V=S.low&65535,Z=0,X=0,re=0,ee=0;return ee+=U*V,re+=ee>>>16,ee&=65535,re+=P*V,X+=re>>>16,re&=65535,re+=U*H,X+=re>>>16,re&=65535,X+=W*V,Z+=X>>>16,X&=65535,X+=P*H,Z+=X>>>16,X&=65535,X+=U*q,Z+=X>>>16,X&=65535,Z+=O*V+W*H+P*q+U*G,Z&=65535,u(re<<16|ee,Z<<16|X,this.unsigned)},E.mul=E.multiply,E.divide=function(S){if(r(S)||(S=d(S)),S.isZero())throw Error("division by zero");if(a){if(!this.unsigned&&this.high===-2147483648&&S.low===-1&&S.high===-1)return this;var _=(this.unsigned?a.div_u:a.div_s)(this.low,this.high,S.low,S.high);return u(_,a.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?b:A;var O,W,P;if(this.unsigned){if(S.unsigned||(S=S.toUnsigned()),S.gt(this))return b;if(S.gt(this.shru(1)))return I;P=b}else{if(this.eq($)){if(S.eq(w)||S.eq(T))return $;if(S.eq($))return w;var U=this.shr(1);return O=U.div(S).shl(1),O.eq(A)?S.isNegative()?w:T:(W=this.sub(S.mul(O)),P=O.add(W.div(S)),P)}else if(S.eq($))return this.unsigned?b:A;if(this.isNegative())return S.isNegative()?this.neg().div(S.neg()):this.neg().div(S).neg();if(S.isNegative())return this.div(S.neg()).neg();P=A}for(W=this;W.gte(S);){O=Math.max(1,Math.floor(W.toNumber()/S.toNumber()));for(var G=Math.ceil(Math.log(O)/Math.LN2),q=G<=48?1:p(2,G-48),H=l(O),V=H.mul(S);V.isNegative()||V.gt(W);)O-=q,H=l(O,this.unsigned),V=H.mul(S);H.isZero()&&(H=w),P=P.add(H),W=W.sub(V)}return P},E.div=E.divide,E.modulo=function(S){if(r(S)||(S=d(S)),a){var _=(this.unsigned?a.rem_u:a.rem_s)(this.low,this.high,S.low,S.high);return u(_,a.get_high(),this.unsigned)}return this.sub(this.div(S).mul(S))},E.mod=E.modulo,E.rem=E.modulo,E.not=function(){return u(~this.low,~this.high,this.unsigned)},E.and=function(S){return r(S)||(S=d(S)),u(this.low&S.low,this.high&S.high,this.unsigned)},E.or=function(S){return r(S)||(S=d(S)),u(this.low|S.low,this.high|S.high,this.unsigned)},E.xor=function(S){return r(S)||(S=d(S)),u(this.low^S.low,this.high^S.high,this.unsigned)},E.shiftLeft=function(S){return r(S)&&(S=S.toInt()),(S&=63)===0?this:S<32?u(this.low<<S,this.high<<S|this.low>>>32-S,this.unsigned):u(0,this.low<<S-32,this.unsigned)},E.shl=E.shiftLeft,E.shiftRight=function(S){return r(S)&&(S=S.toInt()),(S&=63)===0?this:S<32?u(this.low>>>S|this.high<<32-S,this.high>>S,this.unsigned):u(this.high>>S-32,this.high>=0?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(S){if(r(S)&&(S=S.toInt()),S&=63,S===0)return this;var _=this.high;if(S<32){var O=this.low;return u(O>>>S|_<<32-S,_>>>S,this.unsigned)}else return S===32?u(_,0,this.unsigned):u(_>>>S-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.shr_u=E.shiftRightUnsigned,E.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},E.toBytes=function(S){return S?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var S=this.high,_=this.low;return[_&255,_>>>8&255,_>>>16&255,_>>>24,S&255,S>>>8&255,S>>>16&255,S>>>24]},E.toBytesBE=function(){var S=this.high,_=this.low;return[S>>>24,S>>>16&255,S>>>8&255,S&255,_>>>24,_>>>16&255,_>>>8&255,_&255]},n.fromBytes=function(S,_,O){return O?n.fromBytesLE(S,_):n.fromBytesBE(S,_)},n.fromBytesLE=function(S,_){return new n(S[0]|S[1]<<8|S[2]<<16|S[3]<<24,S[4]|S[5]<<8|S[6]<<16|S[7]<<24,_)},n.fromBytesBE=function(S,_){return new n(S[4]<<24|S[5]<<16|S[6]<<8|S[7],S[0]<<24|S[1]<<16|S[2]<<8|S[3],_)}}),GC=Xt(()=>{}),HC=Xt(()=>{}),jC=Xt((e,t)=>{(function(a,n,r){function s(u){var p=this,c=l();p.next=function(){var d=2091639*p.s0+p.c*23283064365386963e-26;return p.s0=p.s1,p.s1=p.s2,p.s2=d-(p.c=d|0)},p.c=1,p.s0=c(" "),p.s1=c(" "),p.s2=c(" "),p.s0-=c(u),p.s0<0&&(p.s0+=1),p.s1-=c(u),p.s1<0&&(p.s1+=1),p.s2-=c(u),p.s2<0&&(p.s2+=1),c=null}function i(u,p){return p.c=u.c,p.s0=u.s0,p.s1=u.s1,p.s2=u.s2,p}function o(u,p){var c=new s(u),d=p&&p.state,h=c.next;return h.int32=function(){return c.next()*4294967296|0},h.double=function(){return h()+(h()*2097152|0)*11102230246251565e-32},h.quick=h,d&&(typeof d=="object"&&i(d,c),h.state=function(){return i(c,{})}),h}function l(){var u=4022871197,p=function(c){c=String(c);for(var d=0;d<c.length;d++){u+=c.charCodeAt(d);var h=.02519603282416938*u;u=h>>>0,h-=u,h*=u,u=h>>>0,h-=u,u+=h*4294967296}return(u>>>0)*23283064365386963e-26};return p}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.alea=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),qC=Xt((e,t)=>{(function(a,n,r){function s(l){var u=this,p="";u.x=0,u.y=0,u.z=0,u.w=0,u.next=function(){var d=u.x^u.x<<11;return u.x=u.y,u.y=u.z,u.z=u.w,u.w^=u.w>>>19^d^d>>>8},l===(l|0)?u.x=l:p+=l;for(var c=0;c<p.length+64;c++)u.x^=p.charCodeAt(c)|0,u.next()}function i(l,u){return u.x=l.x,u.y=l.y,u.z=l.z,u.w=l.w,u}function o(l,u){var p=new s(l),c=u&&u.state,d=function(){return(p.next()>>>0)/4294967296};return d.double=function(){do var h=p.next()>>>11,m=(p.next()>>>0)/4294967296,f=(h+m)/(1<<21);while(f===0);return f},d.int32=p.next,d.quick=d,c&&(typeof c=="object"&&i(c,p),d.state=function(){return i(p,{})}),d}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.xor128=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),XC=Xt((e,t)=>{(function(a,n,r){function s(l){var u=this,p="";u.next=function(){var d=u.x^u.x>>>2;return u.x=u.y,u.y=u.z,u.z=u.w,u.w=u.v,(u.d=u.d+362437|0)+(u.v=u.v^u.v<<4^(d^d<<1))|0},u.x=0,u.y=0,u.z=0,u.w=0,u.v=0,l===(l|0)?u.x=l:p+=l;for(var c=0;c<p.length+64;c++)u.x^=p.charCodeAt(c)|0,c==p.length&&(u.d=u.x<<10^u.x>>>4),u.next()}function i(l,u){return u.x=l.x,u.y=l.y,u.z=l.z,u.w=l.w,u.v=l.v,u.d=l.d,u}function o(l,u){var p=new s(l),c=u&&u.state,d=function(){return(p.next()>>>0)/4294967296};return d.double=function(){do var h=p.next()>>>11,m=(p.next()>>>0)/4294967296,f=(h+m)/(1<<21);while(f===0);return f},d.int32=p.next,d.quick=d,c&&(typeof c=="object"&&i(c,p),d.state=function(){return i(p,{})}),d}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.xorwow=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),KC=Xt((e,t)=>{(function(a,n,r){function s(l){var u=this;u.next=function(){var c=u.x,d=u.i,h,m,f;return h=c[d],h^=h>>>7,m=h^h<<24,h=c[d+1&7],m^=h^h>>>10,h=c[d+3&7],m^=h^h>>>3,h=c[d+4&7],m^=h^h<<7,h=c[d+7&7],h=h^h<<13,m^=h^h<<9,c[d]=m,u.i=d+1&7,m};function p(c,d){var h,m,f=[];if(d===(d|0))m=f[0]=d;else for(d=""+d,h=0;h<d.length;++h)f[h&7]=f[h&7]<<15^d.charCodeAt(h)+f[h+1&7]<<13;for(;f.length<8;)f.push(0);for(h=0;h<8&&f[h]===0;++h);for(h==8?m=f[7]=-1:m=f[h],c.x=f,c.i=0,h=256;h>0;--h)c.next()}p(u,l)}function i(l,u){return u.x=l.x.slice(),u.i=l.i,u}function o(l,u){l==null&&(l=+new Date);var p=new s(l),c=u&&u.state,d=function(){return(p.next()>>>0)/4294967296};return d.double=function(){do var h=p.next()>>>11,m=(p.next()>>>0)/4294967296,f=(h+m)/(1<<21);while(f===0);return f},d.int32=p.next,d.quick=d,c&&(c.x&&i(c,p),d.state=function(){return i(p,{})}),d}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.xorshift7=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),YC=Xt((e,t)=>{(function(a,n,r){function s(l){var u=this;u.next=function(){var c=u.w,d=u.X,h=u.i,m,f;return u.w=c=c+1640531527|0,f=d[h+34&127],m=d[h=h+1&127],f^=f<<13,m^=m<<17,f^=f>>>15,m^=m>>>12,f=d[h]=f^m,u.i=h,f+(c^c>>>16)|0};function p(c,d){var h,m,f,g,y,x=[],A=128;for(d===(d|0)?(m=d,d=null):(d=d+"\0",m=0,A=Math.max(A,d.length)),f=0,g=-32;g<A;++g)d&&(m^=d.charCodeAt((g+32)%d.length)),g===0&&(y=m),m^=m<<10,m^=m>>>15,m^=m<<4,m^=m>>>13,g>=0&&(y=y+1640531527|0,h=x[g&127]^=m+y,f=h==0?f+1:0);for(f>=128&&(x[(d&&d.length||0)&127]=-1),f=127,g=4*128;g>0;--g)m=x[f+34&127],h=x[f=f+1&127],m^=m<<13,h^=h<<17,m^=m>>>15,h^=h>>>12,x[f]=m^h;c.w=y,c.X=x,c.i=f}p(u,l)}function i(l,u){return u.i=l.i,u.w=l.w,u.X=l.X.slice(),u}function o(l,u){l==null&&(l=+new Date);var p=new s(l),c=u&&u.state,d=function(){return(p.next()>>>0)/4294967296};return d.double=function(){do var h=p.next()>>>11,m=(p.next()>>>0)/4294967296,f=(h+m)/(1<<21);while(f===0);return f},d.int32=p.next,d.quick=d,c&&(c.X&&i(c,p),d.state=function(){return i(p,{})}),d}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.xor4096=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),ZC=Xt((e,t)=>{(function(a,n,r){function s(l){var u=this,p="";u.next=function(){var d=u.b,h=u.c,m=u.d,f=u.a;return d=d<<25^d>>>7^h,h=h-m|0,m=m<<24^m>>>8^f,f=f-d|0,u.b=d=d<<20^d>>>12^h,u.c=h=h-m|0,u.d=m<<16^h>>>16^f,u.a=f-d|0},u.a=0,u.b=0,u.c=-1640531527,u.d=1367130551,l===Math.floor(l)?(u.a=l/4294967296|0,u.b=l|0):p+=l;for(var c=0;c<p.length+20;c++)u.b^=p.charCodeAt(c)|0,u.next()}function i(l,u){return u.a=l.a,u.b=l.b,u.c=l.c,u.d=l.d,u}function o(l,u){var p=new s(l),c=u&&u.state,d=function(){return(p.next()>>>0)/4294967296};return d.double=function(){do var h=p.next()>>>11,m=(p.next()>>>0)/4294967296,f=(h+m)/(1<<21);while(f===0);return f},d.int32=p.next,d.quick=d,c&&(typeof c=="object"&&i(c,p),d.state=function(){return i(p,{})}),d}n&&n.exports?n.exports=o:r&&r.amd?r(function(){return o}):this.tychei=o})(e,typeof t=="object"&&t,typeof define=="function"&&define)}),JC=Xt(()=>{}),QC=Xt((e,t)=>{(function(a,n,r){var s=256,i=6,o=52,l="random",u=r.pow(s,i),p=r.pow(2,o),c=p*2,d=s-1,h;function m(w,I,T){var N=[];I=I==!0?{entropy:!0}:I||{};var M=x(y(I.entropy?[w,b(n)]:w==null?A():w,3),N),$=new f(N),E=function(){for(var S=$.g(i),_=u,O=0;S<p;)S=(S+O)*s,_*=s,O=$.g(1);for(;S>=c;)S/=2,_/=2,O>>>=1;return(S+O)/_};return E.int32=function(){return $.g(4)|0},E.quick=function(){return $.g(4)/4294967296},E.double=E,x(b($.S),n),(I.pass||T||function(S,_,O,W){return W&&(W.S&&g(W,$),S.state=function(){return g($,{})}),O?(r[l]=S,_):S})(E,M,"global"in I?I.global:this==r,I.state)}function f(w){var I,T=w.length,N=this,M=0,$=N.i=N.j=0,E=N.S=[];for(T||(w=[T++]);M<s;)E[M]=M++;for(M=0;M<s;M++)E[M]=E[$=d&$+w[M%T]+(I=E[M])],E[$]=I;(N.g=function(S){for(var _,O=0,W=N.i,P=N.j,U=N.S;S--;)_=U[W=d&W+1],O=O*s+U[d&(U[W]=U[P=d&P+_])+(U[P]=_)];return N.i=W,N.j=P,O})(s)}function g(w,I){return I.i=w.i,I.j=w.j,I.S=w.S.slice(),I}function y(w,I){var T=[],N=typeof w,M;if(I&&N=="object")for(M in w)try{T.push(y(w[M],I-1))}catch($){}return T.length?T:N=="string"?w:w+"\0"}function x(w,I){for(var T=w+"",N,M=0;M<T.length;)I[d&M]=d&(N^=I[d&M]*19)+T.charCodeAt(M++);return b(I)}function A(){try{var w;return h&&(w=h.randomBytes)?w=w(s):(w=new Uint8Array(s),(a.crypto||a.msCrypto).getRandomValues(w)),b(w)}catch(N){var I=a.navigator,T=I&&I.plugins;return[+new Date,a,T,a.screen,b(n)]}}function b(w){return String.fromCharCode.apply(0,w)}if(x(r.random(),n),typeof t=="object"&&t.exports){t.exports=m;try{h=JC()}catch(w){}}else typeof define=="function"&&define.amd?define(function(){return m}):r["seed"+l]=m})(typeof self!="undefined"?self:e,[],Math)}),mA=Xt((e,t)=>{var a=jC(),n=qC(),r=XC(),s=KC(),i=YC(),o=ZC(),l=QC();l.alea=a,l.xor128=n,l.xorwow=r,l.xorshift7=s,l.xor4096=i,l.tychei=o,t.exports=l}),fA=Xt(()=>{}),gA=Xt(()=>{}),eT=Xt(()=>{}),tT=Xt(()=>{}),aT=Xt(()=>{}),nT=Xt((e,t)=>{var a=(()=>{var n=typeof document!="undefined"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename!="undefined"&&(n=n||__filename),function(r){r=r||{};function s(){return ie.buffer!=He&&ht(ie.buffer),xt}function i(){return ie.buffer!=He&&ht(ie.buffer),Ha}function o(){return ie.buffer!=He&&ht(ie.buffer),zt}function l(){return ie.buffer!=He&&ht(ie.buffer),ua}function u(){return ie.buffer!=He&&ht(ie.buffer),_a}function p(){return ie.buffer!=He&&ht(ie.buffer),dn}function c(){return ie.buffer!=He&&ht(ie.buffer),Fa}var d=typeof r!="undefined"?r:{},h,m;d.ready=new Promise(function(D,j){h=D,m=j});var f;typeof process!="undefined"&&process.listeners&&(f={uncaughtException:process.listeners("uncaughtException"),unhandledRejection:process.listeners("unhandledRejection")});var g=Object.assign({},d),y=[],x="./this.program",A=(D,j)=>{throw j},b=typeof window=="object",w=typeof importScripts=="function",I=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",T=d.ENVIRONMENT_IS_PTHREAD||!1,N="";function M(D){return d.locateFile?d.locateFile(D,N):N+D}var $,E,S,_;function O(D){D instanceof Fs||H("exiting due to exception: "+D)}if(I){var W=fA(),P=gA();w?N=P.dirname(N)+"/":N=__dirname+"/",$=(j,oe)=>(j=Rl(j)?new URL(j):P.normalize(j),W.readFileSync(j,oe?void 0:"utf8")),S=j=>{var oe=$(j,!0);return oe.buffer||(oe=new Uint8Array(oe)),oe},E=(j,oe,Me)=>{j=Rl(j)?new URL(j):P.normalize(j),W.readFile(j,function(je,Be){je?Me(je):oe(Be.buffer)})},process.argv.length>1&&(x=process.argv[1].replace(/\\/g,"/")),y=process.argv.slice(2),process.on("uncaughtException",function(j){if(!(j instanceof Fs))throw j}),process.on("unhandledRejection",function(j){throw j}),A=(j,oe)=>{if(In())throw process.exitCode=j,oe;O(oe),process.exit(j)},d.inspect=function(){return"[Emscripten Module object]"};let D;try{D=eT()}catch(j){throw console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?'),j}global.Worker=D.Worker}else(b||w)&&(w?N=self.location.href:typeof document!="undefined"&&document.currentScript&&(N=document.currentScript.src),typeof n!="undefined"&&n&&(N=n),N.indexOf("blob:")!==0?N=N.substr(0,N.replace(/[?#].*/,"").lastIndexOf("/")+1):N="",I||($=D=>{var j=new XMLHttpRequest;return j.open("GET",D,!1),j.send(null),j.responseText},w&&(S=D=>{var j=new XMLHttpRequest;return j.open("GET",D,!1),j.responseType="arraybuffer",j.send(null),new Uint8Array(j.response)}),E=(D,j,oe)=>{var Me=new XMLHttpRequest;Me.open("GET",D,!0),Me.responseType="arraybuffer",Me.onload=()=>{if(Me.status==200||Me.status==0&&Me.response){j(Me.response);return}oe()},Me.onerror=oe,Me.send(null)}),_=D=>document.title=D);I&&typeof performance=="undefined"&&(global.performance=tT().performance);var U=console.log.bind(console),G=console.warn.bind(console);I&&(U=D=>W.writeSync(1,D+` `),G=D=>W.writeSync(2,D+` `));var q=d.print||U,H=d.printErr||G;Object.assign(d,g),g=null,d.arguments&&(y=d.arguments),d.thisProgram&&(x=d.thisProgram),d.quit&&(A=d.quit);var V=4,Z=Atomics.load,X=Atomics.store,re=Atomics.compareExchange,ee;d.wasmBinary&&(ee=d.wasmBinary);var ge=d.noExitRuntime||!0;typeof WebAssembly!="object"&&_s("no native wasm support detected");var ie,be,Ce=!1,Re;function Le(D,j){D||_s(j)}var qe=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):void 0;function gt(D,j,oe){j>>>=0;for(var Me=j+oe,je=j;D[je]&&!(je>=Me);)++je;if(je-j>16&&D.buffer&&qe)return qe.decode(D.buffer instanceof SharedArrayBuffer?D.slice(j,je):D.subarray(j,je));for(var Be="";j<je;){var ye=D[j++];if(!(ye&128)){Be+=String.fromCharCode(ye);continue}var Ne=D[j++]&63;if((ye&224)==192){Be+=String.fromCharCode((ye&31)<<6|Ne);continue}var Tt=D[j++]&63;if((ye&240)==224?ye=(ye&15)<<12|Ne<<6|Tt:ye=(ye&7)<<18|Ne<<12|Tt<<6|D[j++]&63,ye<65536)Be+=String.fromCharCode(ye);else{var cn=ye-65536;Be+=String.fromCharCode(55296|cn>>10,56320|cn&1023)}}return Be}function dt(D,j){return D>>>=0,D?gt(i(),D,j):""}function st(D,j,oe,Me){if(oe>>>=0,!(Me>0))return 0;for(var je=oe,Be=oe+Me-1,ye=0;ye<D.length;++ye){var Ne=D.charCodeAt(ye);if(Ne>=55296&&Ne<=57343){var Tt=D.charCodeAt(++ye);Ne=65536+((Ne&1023)<<10)|Tt&1023}if(Ne<=127){if(oe>=Be)break;j[oe++>>>0]=Ne}else if(Ne<=2047){if(oe+1>=Be)break;j[oe++>>>0]=192|Ne>>6,j[oe++>>>0]=128|Ne&63}else if(Ne<=65535){if(oe+2>=Be)break;j[oe++>>>0]=224|Ne>>12,j[oe++>>>0]=128|Ne>>6&63,j[oe++>>>0]=128|Ne&63}else{if(oe+3>=Be)break;j[oe++>>>0]=240|Ne>>18,j[oe++>>>0]=128|Ne>>12&63,j[oe++>>>0]=128|Ne>>6&63,j[oe++>>>0]=128|Ne&63}}return j[oe>>>0]=0,oe-je}function it(D,j,oe){return st(D,i(),j,oe)}var He,xt,Ha,zt,un,ua,_a,dn,Fa;T&&(He=d.buffer);function ht(D){He=D,d.HEAP8=xt=new Int8Array(D),d.HEAP16=zt=new Int16Array(D),d.HEAP32=ua=new Int32Array(D),d.HEAPU8=Ha=new Uint8Array(D),d.HEAPU16=un=new Uint16Array(D),d.HEAPU32=_a=new Uint32Array(D),d.HEAPF32=dn=new Float32Array(D),d.HEAPF64=Fa=new Float64Array(D)}var Da=d.INITIAL_MEMORY||16777216;if(T)ie=d.wasmMemory,He=d.buffer;else if(d.wasmMemory)ie=d.wasmMemory;else if(ie=new WebAssembly.Memory({initial:Da/65536,maximum:65536,shared:!0}),!(ie.buffer instanceof SharedArrayBuffer))throw H("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag"),I&&H("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and/or recent version)"),Error("bad memory");ie&&(He=ie.buffer),Da=He.byteLength,ht(He);var ja,fr=[],Tl=[],Xn=[],fd=!1;function In(){return ge}function Or(){if(d.preRun)for(typeof d.preRun=="function"&&(d.preRun=[d.preRun]);d.preRun.length;)pm(d.preRun.shift());yd(fr)}function Zt(){fd=!0,!T&&yd(Tl)}function xc(){if(!T){if(d.postRun)for(typeof d.postRun=="function"&&(d.postRun=[d.postRun]);d.postRun.length;)$x(d.postRun.shift());yd(Xn)}}function pm(D){fr.unshift(D)}function cm(D){Tl.unshift(D)}function $x(D){Xn.unshift(D)}var zr=0,Nl=null,gr=null;function hm(D){zr++,d.monitorRunDependencies&&d.monitorRunDependencies(zr)}function Ac(D){if(zr--,d.monitorRunDependencies&&d.monitorRunDependencies(zr),zr==0&&(Nl!==null&&(clearInterval(Nl),Nl=null),gr)){var j=gr;gr=null,j()}}function _s(D){d.onAbort&&d.onAbort(D),D="Aborted("+D+")",H(D),Ce=!0,Re=1,D+=". Build with -sASSERTIONS for more info.";var j=new WebAssembly.RuntimeError(D);throw m(j),j}var mm="data:application/octet-stream;base64,";function bc(D){return D.startsWith(mm)}function Rl(D){return D.startsWith("file://")}var fa;fa="tfjs-backend-wasm-threaded-simd.wasm",bc(fa)||(fa=M(fa));function vc(D){try{if(D==fa&&ee)return new Uint8Array(ee);if(S)return S(D);throw"both async and sync fetching of the wasm failed"}catch(j){_s(j)}}function fm(){if(!ee&&(b||w)){if(typeof fetch=="function"&&!Rl(fa))return fetch(fa,{credentials:"same-origin"}).then(function(D){if(!D.ok)throw"failed to load wasm binary file at '"+fa+"'";return D.arrayBuffer()}).catch(function(){return vc(fa)});if(E)return new Promise(function(D,j){E(fa,function(oe){D(new Uint8Array(oe))},j)})}return Promise.resolve().then(function(){return vc(fa)})}function gm(){var D={env:_c,wasi_snapshot_preview1:_c};function j(ye,Ne){var Tt=ye.exports;if(d.asm=Tt,Sm(d.asm._emscripten_tls_init),ja=d.asm.__indirect_function_table,cm(d.asm.__wasm_call_ctors),be=Ne,!T){var cn=We.unusedWorkers.length;We.unusedWorkers.forEach(function(xr){We.loadWasmModuleToWorker(xr,function(){--cn||Ac("wasm-instantiate")})})}}T||hm("wasm-instantiate");function oe(ye){j(ye.instance,ye.module)}function Me(ye){return fm().then(function(Ne){return WebAssembly.instantiate(Ne,D)}).then(function(Ne){return Ne}).then(ye,function(Ne){H("failed to asynchronously prepare wasm: "+Ne),_s(Ne)})}function je(){return!ee&&typeof WebAssembly.instantiateStreaming=="function"&&!bc(fa)&&!Rl(fa)&&!I&&typeof fetch=="function"?fetch(fa,{credentials:"same-origin"}).then(function(ye){var Ne=WebAssembly.instantiateStreaming(ye,D);return Ne.then(oe,function(Tt){return H("wasm streaming compile failed: "+Tt),H("falling back to ArrayBuffer instantiation"),Me(oe)})}):Me(oe)}if(d.instantiateWasm)try{var Be=d.instantiateWasm(D,j);return Be}catch(ye){H("Module.instantiateWasm callback failed with error: "+ye),m(ye)}return je().catch(m),{}}var Px,_x,wc={};function Fs(D){this.name="ExitStatus",this.message="Program terminated with exit("+D+")",this.status=D}function ym(D){var j=We.pthreads[D];delete We.pthreads[D],j.terminate(),V2(D),We.runningWorkers.splice(We.runningWorkers.indexOf(j),1),j.pthread_ptr=0}function xm(D){var j=We.pthreads[D];j.postMessage({cmd:"cancel"})}function gd(D){var j=We.pthreads[D];Le(j),We.returnWorkerToPool(j)}function Am(D){var j=We.getNewWorker();if(!j)return 6;We.runningWorkers.push(j),We.pthreads[D.pthread_ptr]=j,j.pthread_ptr=D.pthread_ptr;var oe={cmd:"run",start_routine:D.startRoutine,arg:D.arg,pthread_ptr:D.pthread_ptr};return j.runPthread=()=>{I&&j.ref(),j.postMessage(oe,D.transferList),delete j.runPthread},j.loaded&&j.runPthread(),0}var kc={varargs:void 0,get:function(){kc.varargs+=4;var D=l()[kc.varargs-4>>>2];return D},getStr:function(D){var j=dt(D);return j}};function Ic(D){if(T)return Lr(1,1,D);Re=D,In()||(We.terminateAllThreads(),d.onExit&&d.onExit(D),Ce=!0),A(D,new Fs(D))}function bm(D,j){if(Re=D,!j&&T)throw Cc(D),"unwind";Ic(D)}var Sc=bm;function vm(D){if(D instanceof Fs||D=="unwind")return Re;A(1,D)}var We={unusedWorkers:[],runningWorkers:[],tlsInitFunctions:[],pthreads:{},init:function(){T?We.initWorker():We.initMainThread()},initMainThread:function(){for(var D=8;D--;)We.allocateUnusedWorker()},initWorker:function(){ge=!1},setExitStatus:function(D){Re=D},terminateAllThreads:function(){for(var D of Object.values(We.pthreads))We.returnWorkerToPool(D);for(var D of We.unusedWorkers)D.terminate();We.unusedWorkers=[]},returnWorkerToPool:function(D){var j=D.pthread_ptr;delete We.pthreads[j],We.unusedWorkers.push(D),We.runningWorkers.splice(We.runningWorkers.indexOf(D),1),D.pthread_ptr=0,I&&D.unref(),V2(j)},receiveObjectTransfer:function(D){},threadInitTLS:function(){We.tlsInitFunctions.forEach(D=>D())},loadWasmModuleToWorker:function(D,j){D.onmessage=Be=>{var ye=Be.data,Ne=ye.cmd;if(D.pthread_ptr&&(We.currentProxiedOperationCallerThread=D.pthread_ptr),ye.targetThread&&ye.targetThread!=Wc()){var Tt=We.pthreads[ye.targetThread];Tt?Tt.postMessage(ye,ye.transferList):H('Internal error! Worker sent a message "'+Ne+'" to target pthread '+ye.targetThread+", but that thread no longer exists!"),We.currentProxiedOperationCallerThread=void 0;return}Ne==="processProxyingQueue"?xd(ye.queue):Ne==="spawnThread"?Am(ye):Ne==="cleanupThread"?gd(ye.thread):Ne==="killThread"?ym(ye.thread):Ne==="cancelThread"?xm(ye.thread):Ne==="loaded"?(D.loaded=!0,I&&D.unref(),j&&j(D),D.runPthread&&D.runPthread()):Ne==="print"?q("Thread "+ye.threadId+": "+ye.text):Ne==="printErr"?H("Thread "+ye.threadId+": "+ye.text):Ne==="alert"?alert("Thread "+ye.threadId+": "+ye.text):ye.target==="setimmediate"?D.postMessage(ye):Ne==="callHandler"?d[ye.handler](...ye.args):Ne&&H("worker sent an unknown command "+Ne),We.currentProxiedOperationCallerThread=void 0},D.onerror=Be=>{var ye="worker sent an error!";throw H(ye+" "+Be.filename+":"+Be.lineno+": "+Be.message),Be},I&&(D.on("message",function(Be){D.onmessage({data:Be})}),D.on("error",function(Be){D.onerror(Be)}),D.on("detachedExit",function(){}));var oe=[],Me=["onExit","onAbort","print","printErr"];for(var je of Me)d.hasOwnProperty(je)&&oe.push(je);D.postMessage({cmd:"load",handlers:oe,urlOrBlob:d.mainScriptUrlOrBlob||n,wasmMemory:ie,wasmModule:be})},allocateUnusedWorker:function(){var D,j=M("tfjs-backend-wasm-threaded-simd.worker.js");D=new Worker(j),We.unusedWorkers.push(D)},getNewWorker:function(){return We.unusedWorkers.length==0&&(We.allocateUnusedWorker(),We.loadWasmModuleToWorker(We.unusedWorkers[0])),We.unusedWorkers.pop()}};d.PThread=We;function yd(D){for(;D.length>0;)D.shift()(d)}function wm(){var D=Wc(),j=l()[D+52>>>2],oe=l()[D+56>>>2],Me=j-oe;Wx(j,Me),Bc(j)}d.establishStackSpace=wm;function Cc(D){if(T)return Lr(2,0,D);try{Sc(D)}catch(j){vm(j)}}var El=[];function km(D){var j=El[D];return j||(D>=El.length&&(El.length=D+1),El[D]=j=ja.get(D)),j}function Im(D,j){var oe=km(D)(j);In()?We.setExitStatus(oe):Lx(oe)}d.invokeEntryPoint=Im;function Sm(D){We.tlsInitFunctions.push(D)}function Cm(D){Dx(D,!w,1,!b),We.threadInitTLS()}function Tm(D){T?postMessage({cmd:"cleanupThread",thread:D}):gd(D)}function Tc(D,j,oe,Me){return T?Lr(3,1,D,j,oe,Me):Nc(D,j,oe,Me)}function Nc(D,j,oe,Me){if(typeof SharedArrayBuffer=="undefined")return H("Current environment does not support SharedArrayBuffer, pthreads are not available!"),6;var je=[],Be=0;if(T&&(je.length===0||Be))return Tc(D,j,oe,Me);if(Be)return Be;var ye={startRoutine:oe,pthread_ptr:D,arg:Me,transferList:je};return T?(ye.cmd="spawnThread",postMessage(ye,je),0):Am(ye)}function Nm(){return 65536}var Rm=!0;function Em(){return Rm}function xd(D){Atomics.store(l(),D>>2,1),Wc()&&zx(D),Atomics.compareExchange(l(),D>>2,1,0)}d.executeNotifiedProxyingQueue=xd;function Mm(D,j,oe,Me){if(D==j)setTimeout(()=>xd(Me));else if(T)postMessage({targetThread:D,cmd:"processProxyingQueue",queue:Me});else{var je=We.pthreads[D];if(!je)return;je.postMessage({cmd:"processProxyingQueue",queue:Me})}return 1}function $m(D,j,oe){return-1}function Pm(){_s("")}function Ds(D){Ds.shown||(Ds.shown={}),Ds.shown[D]||(Ds.shown[D]=1,I&&(D="warning: "+D),H(D))}function _m(){I||w||Ds("Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread")}function Fm(){return Date.now()}function Rc(){return 4294901760}function Dm(){return Rc()}var Ad;I?Ad=()=>{var D=process.hrtime();return D[0]*1e3+D[1]/1e6}:Ad=()=>performance.timeOrigin+performance.now();function Om(D,j,oe){i().copyWithin(D>>>0,j>>>0,j+oe>>>0)}function zm(){return I?aT().cpus().length:navigator.hardwareConcurrency}function Lm(D){var j=U2(),oe=D();return Bc(j),oe}function Lr(D,j){var oe=arguments.length-2,Me=arguments;return Lm(()=>{for(var je=oe,Be=Vc(je*8),ye=Be>>3,Ne=0;Ne<oe;Ne++){var Tt=Me[2+Ne];c()[ye+Ne>>>0]=Tt}return Ox(D,je,Be,j)})}var bd=[];function Wm(D,j,oe){bd.length=j;for(var Me=oe>>3,je=0;je<j;je++)bd[je]=c()[Me+je>>>0];var Be=D<0,ye=Be?wc[-D-1]:Km[D];return ye.apply(null,bd)}function Bm(D){try{return ie.grow(D-He.byteLength+65535>>>16),ht(ie.buffer),1}catch(j){}}function Vm(D){var j=i().length;if(D=D>>>0,D<=j)return!1;var oe=Rc();if(D>oe)return!1;let Me=(Tt,cn)=>Tt+(cn-Tt%cn)%cn;for(var je=1;je<=4;je*=2){var Be=j*(1+.2/je);Be=Math.min(Be,D+100663296);var ye=Math.min(oe,Me(Math.max(D,Be),65536)),Ne=Bm(ye);if(Ne)return!0}return!1}function Um(){throw"unwind"}function Ec(D){return T?Lr(4,1,D):52}function Mc(D,j,oe,Me,je){return T?Lr(5,1,D,j,oe,Me,je):70}var Gm=[null,[],[]];function Hm(D,j){var oe=Gm[D];j===0||j===10?((D===1?q:H)(gt(oe,0)),oe.length=0):oe.push(j)}function $c(D,j,oe,Me){if(T)return Lr(6,1,D,j,oe,Me);for(var je=0,Be=0;Be<oe;Be++){var ye=u()[j>>>2],Ne=u()[j+4>>>2];j+=8;for(var Tt=0;Tt<Ne;Tt++)Hm(D,i()[ye+Tt>>>0]);je+=Ne}return u()[Me>>>2]=je,0}function Pc(D){var j=d["_"+D];return j}function jm(D,j){s().set(D,j>>>0)}function qm(D,j,oe,Me,je){var Be={string:hn=>{var _l=0;if(hn!=null&&hn!==0){var Ux=(hn.length<<2)+1;_l=Vc(Ux),it(hn,_l,Ux)}return _l},array:hn=>{var _l=Vc(hn.length);return jm(hn,_l),_l}};function ye(hn){return j==="string"?dt(hn):j==="boolean"?!!hn:hn}var Ne=Pc(D),Tt=[],cn=0;if(Me)for(var xr=0;xr<Me.length;xr++){var Vx=Be[oe[xr]];Vx?(cn===0&&(cn=U2()),Tt[xr]=Vx(Me[xr])):Tt[xr]=Me[xr]}var G2=Ne.apply(null,Tt);function EC(hn){return cn!==0&&Bc(cn),ye(hn)}return G2=EC(G2),G2}function Xm(D,j,oe,Me){oe=oe||[];var je=oe.every(ye=>ye==="number"||ye==="boolean"),Be=j!=="string";return Be&&je&&!Me?Pc(D):function(){return qm(D,j,oe,arguments,Me)}}We.init();var Km=[null,Ic,Cc,Tc,Ec,Mc,$c],_c={__emscripten_init_main_thread_js:Cm,__emscripten_thread_cleanup:Tm,__pthread_create_js:Nc,_emscripten_default_pthread_stack_size:Nm,_emscripten_get_now_is_monotonic:Em,_emscripten_notify_task_queue:Mm,_emscripten_set_offscreencanvas_size:$m,abort:Pm,emscripten_check_blocking_allowed:_m,emscripten_date_now:Fm,emscripten_get_heap_max:Dm,emscripten_get_now:Ad,emscripten_memcpy_big:Om,emscripten_num_logical_cores:zm,emscripten_receive_on_main_thread_js:Wm,emscripten_resize_heap:Vm,emscripten_unwind_to_js_event_loop:Um,exit:Sc,fd_close:Ec,fd_seek:Mc,fd_write:$c,memory:ie||d.wasmMemory},Fx=gm(),Ym=d.___wasm_call_ctors=function(){return(Ym=d.___wasm_call_ctors=d.asm.__wasm_call_ctors).apply(null,arguments)},Zm=d._init=function(){return(Zm=d._init=d.asm.init).apply(null,arguments)},Jm=d._init_with_threads_count=function(){return(Jm=d._init_with_threads_count=d.asm.init_with_threads_count).apply(null,arguments)},Qm=d._get_threads_count=function(){return(Qm=d._get_threads_count=d.asm.get_threads_count).apply(null,arguments)},ef=d._register_tensor=function(){return(ef=d._register_tensor=d.asm.register_tensor).apply(null,arguments)},tf=d._dispose_data=function(){return(tf=d._dispose_data=d.asm.dispose_data).apply(null,arguments)},af=d._dispose=function(){return(af=d._dispose=d.asm.dispose).apply(null,arguments)},nf=d._Abs=function(){return(nf=d._Abs=d.asm.Abs).apply(null,arguments)},rf=d._Acos=function(){return(rf=d._Acos=d.asm.Acos).apply(null,arguments)},sf=d._Acosh=function(){return(sf=d._Acosh=d.asm.Acosh).apply(null,arguments)},of=d._Add=function(){return(of=d._Add=d.asm.Add).apply(null,arguments)},lf=d._AddN=function(){return(lf=d._AddN=d.asm.AddN).apply(null,arguments)},uf=d._All=function(){return(uf=d._All=d.asm.All).apply(null,arguments)},df=d._Any=function(){return(df=d._Any=d.asm.Any).apply(null,arguments)},pf=d._ArgMax=function(){return(pf=d._ArgMax=d.asm.ArgMax).apply(null,arguments)},cf=d._ArgMin=function(){return(cf=d._ArgMin=d.asm.ArgMin).apply(null,arguments)},hf=d._Asin=function(){return(hf=d._Asin=d.asm.Asin).apply(null,arguments)},mf=d._Asinh=function(){return(mf=d._Asinh=d.asm.Asinh).apply(null,arguments)},ff=d._Atan=function(){return(ff=d._Atan=d.asm.Atan).apply(null,arguments)},gf=d._Atan2=function(){return(gf=d._Atan2=d.asm.Atan2).apply(null,arguments)},yf=d._Atanh=function(){return(yf=d._Atanh=d.asm.Atanh).apply(null,arguments)},xf=d._AvgPool=function(){return(xf=d._AvgPool=d.asm.AvgPool).apply(null,arguments)},Af=d._AvgPool3D=function(){return(Af=d._AvgPool3D=d.asm.AvgPool3D).apply(null,arguments)},bf=d._AvgPool3DGrad=function(){return(bf=d._AvgPool3DGrad=d.asm.AvgPool3DGrad).apply(null,arguments)},vf=d._AvgPoolGrad=function(){return(vf=d._AvgPoolGrad=d.asm.AvgPoolGrad).apply(null,arguments)},wf=d._BatchMatMul=function(){return(wf=d._BatchMatMul=d.asm.BatchMatMul).apply(null,arguments)},kf=d._Bincount=function(){return(kf=d._Bincount=d.asm.Bincount).apply(null,arguments)},If=d._BitwiseAnd=function(){return(If=d._BitwiseAnd=d.asm.BitwiseAnd).apply(null,arguments)},Sf=d._Ceil=function(){return(Sf=d._Ceil=d.asm.Ceil).apply(null,arguments)},Cf=d._ClipByValue=function(){return(Cf=d._ClipByValue=d.asm.ClipByValue).apply(null,arguments)},Tf=d._Conv2D=function(){return(Tf=d._Conv2D=d.asm.Conv2D).apply(null,arguments)},Nf=d._Conv2DBackpropInput=function(){return(Nf=d._Conv2DBackpropInput=d.asm.Conv2DBackpropInput).apply(null,arguments)},Rf=d._Conv3D=function(){return(Rf=d._Conv3D=d.asm.Conv3D).apply(null,arguments)},Ef=d._Conv3DBackpropFilterV2=function(){return(Ef=d._Conv3DBackpropFilterV2=d.asm.Conv3DBackpropFilterV2).apply(null,arguments)},Mf=d._Conv3DBackpropInputV2=function(){return(Mf=d._Conv3DBackpropInputV2=d.asm.Conv3DBackpropInputV2).apply(null,arguments)},$f=d._Cos=function(){return($f=d._Cos=d.asm.Cos).apply(null,arguments)},Pf=d._Cosh=function(){return(Pf=d._Cosh=d.asm.Cosh).apply(null,arguments)},_f=d._CropAndResize=function(){return(_f=d._CropAndResize=d.asm.CropAndResize).apply(null,arguments)},Ff=d._Cumprod=function(){return(Ff=d._Cumprod=d.asm.Cumprod).apply(null,arguments)},Df=d._Cumsum=function(){return(Df=d._Cumsum=d.asm.Cumsum).apply(null,arguments)},Of=d._DenseBincount=function(){return(Of=d._DenseBincount=d.asm.DenseBincount).apply(null,arguments)},zf=d._DepthToSpace=function(){return(zf=d._DepthToSpace=d.asm.DepthToSpace).apply(null,arguments)},Lf=d._DepthwiseConv2dNative=function(){return(Lf=d._DepthwiseConv2dNative=d.asm.DepthwiseConv2dNative).apply(null,arguments)},Wf=d._Diag=function(){return(Wf=d._Diag=d.asm.Diag).apply(null,arguments)},Bf=d._Dilation2D=function(){return(Bf=d._Dilation2D=d.asm.Dilation2D).apply(null,arguments)},Vf=d._Dilation2DBackpropFilter=function(){return(Vf=d._Dilation2DBackpropFilter=d.asm.Dilation2DBackpropFilter).apply(null,arguments)},Uf=d._Dilation2DBackpropInput=function(){return(Uf=d._Dilation2DBackpropInput=d.asm.Dilation2DBackpropInput).apply(null,arguments)},Gf=d._Elu=function(){return(Gf=d._Elu=d.asm.Elu).apply(null,arguments)},Hf=d._EluGrad=function(){return(Hf=d._EluGrad=d.asm.EluGrad).apply(null,arguments)},jf=d._Equal=function(){return(jf=d._Equal=d.asm.Equal).apply(null,arguments)},qf=d._Erf=function(){return(qf=d._Erf=d.asm.Erf).apply(null,arguments)},Xf=d._Exp=function(){return(Xf=d._Exp=d.asm.Exp).apply(null,arguments)},Kf=d._Expm1=function(){return(Kf=d._Expm1=d.asm.Expm1).apply(null,arguments)},Yf=d._FlipLeftRight=function(){return(Yf=d._FlipLeftRight=d.asm.FlipLeftRight).apply(null,arguments)},Zf=d._Floor=function(){return(Zf=d._Floor=d.asm.Floor).apply(null,arguments)},Jf=d._FloorDiv=function(){return(Jf=d._FloorDiv=d.asm.FloorDiv).apply(null,arguments)},Qf=d._FusedBatchNorm=function(){return(Qf=d._FusedBatchNorm=d.asm.FusedBatchNorm).apply(null,arguments)},e2=d._FusedConv2D=function(){return(e2=d._FusedConv2D=d.asm.FusedConv2D).apply(null,arguments)},t2=d._FusedDepthwiseConv2D=function(){return(t2=d._FusedDepthwiseConv2D=d.asm.FusedDepthwiseConv2D).apply(null,arguments)},a2=d._Gather=function(){return(a2=d._Gather=d.asm.Gather).apply(null,arguments)},n2=d._GatherNd=function(){return(n2=d._GatherNd=d.asm.GatherNd).apply(null,arguments)},r2=d._Greater=function(){return(r2=d._Greater=d.asm.Greater).apply(null,arguments)},s2=d._GreaterEqual=function(){return(s2=d._GreaterEqual=d.asm.GreaterEqual).apply(null,arguments)},i2=d._IsFinite=function(){return(i2=d._IsFinite=d.asm.IsFinite).apply(null,arguments)},o2=d._IsInf=function(){return(o2=d._IsInf=d.asm.IsInf).apply(null,arguments)},l2=d._IsNan=function(){return(l2=d._IsNan=d.asm.IsNan).apply(null,arguments)},u2=d._LRN=function(){return(u2=d._LRN=d.asm.LRN).apply(null,arguments)},d2=d._LRNGrad=function(){return(d2=d._LRNGrad=d.asm.LRNGrad).apply(null,arguments)},p2=d._LeakyRelu=function(){return(p2=d._LeakyRelu=d.asm.LeakyRelu).apply(null,arguments)},c2=d._Less=function(){return(c2=d._Less=d.asm.Less).apply(null,arguments)},h2=d._LessEqual=function(){return(h2=d._LessEqual=d.asm.LessEqual).apply(null,arguments)},m2=d._LinSpace=function(){return(m2=d._LinSpace=d.asm.LinSpace).apply(null,arguments)},f2=d._Log=function(){return(f2=d._Log=d.asm.Log).apply(null,arguments)},g2=d._Log1p=function(){return(g2=d._Log1p=d.asm.Log1p).apply(null,arguments)},y2=d._LogicalAnd=function(){return(y2=d._LogicalAnd=d.asm.LogicalA