numpy-ts 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,10 @@
1
- "use strict";var np=(()=>{var wK=Object.create;var Wo=Object.defineProperty;var SK=Object.getOwnPropertyDescriptor;var EK=Object.getOwnPropertyNames;var AK=Object.getPrototypeOf,_K=Object.prototype.hasOwnProperty;var c=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),TK=(r,e)=>{for(var a in e)Wo(r,a,{get:e[a],enumerable:!0})},Cc=(r,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of EK(e))!_K.call(r,o)&&o!==a&&Wo(r,o,{get:()=>e[o],enumerable:!(t=SK(e,o))||t.enumerable});return r};var ra=(r,e,a)=>(a=r!=null?wK(AK(r)):{},Cc(e||!r||!r.__esModule?Wo(a,"default",{value:r,enumerable:!0}):a,r)),jK=r=>Cc(Wo({},"__esModule",{value:!0}),r);var Pc=c((PJr,Lc)=>{"use strict";var IK=typeof Object.defineProperty=="function"?Object.defineProperty:null;Lc.exports=IK});var Mc=c((UJr,Uc)=>{"use strict";var OK=Pc();function NK(){try{return OK({},"x",{}),!0}catch{return!1}}Uc.exports=NK});var Yc=c((MJr,Gc)=>{"use strict";var DK=Object.defineProperty;Gc.exports=DK});var Us=c((GJr,$c)=>{"use strict";function kK(r){return typeof r=="number"}$c.exports=kK});var Ms=c((YJr,Jc)=>{"use strict";function BK(r){return r[0]==="-"}function Wc(r){var e="",a;for(a=0;a<r;a++)e+="0";return e}function FK(r,e,a){var t=!1,o=e-r.length;return o<0||(BK(r)&&(t=!0,r=r.substr(1)),r=a?r+Wc(o):Wc(o)+r,t&&(r="-"+r)),r}Jc.exports=FK});var Zc=c(($Jr,Hc)=>{"use strict";var RK=Us(),Xc=Ms(),VK=String.prototype.toLowerCase,Kc=String.prototype.toUpperCase;function zK(r){var e,a,t;switch(r.specifier){case"b":e=2;break;case"o":e=8;break;case"x":case"X":e=16;break;case"d":case"i":case"u":default:e=10;break}if(a=r.arg,t=parseInt(a,10),!isFinite(t)){if(!RK(a))throw new Error("invalid integer. Value: "+a);t=0}return t<0&&(r.specifier==="u"||e!==10)&&(t=4294967295+t+1),t<0?(a=(-t).toString(e),r.precision&&(a=Xc(a,r.precision,r.padRight)),a="-"+a):(a=t.toString(e),!t&&!r.precision?a="":r.precision&&(a=Xc(a,r.precision,r.padRight)),r.sign&&(a=r.sign+a)),e===16&&(r.alternate&&(a="0x"+a),a=r.specifier===Kc.call(r.specifier)?Kc.call(a):VK.call(a)),e===8&&r.alternate&&a.charAt(0)!=="0"&&(a="0"+a),a}Hc.exports=zK});var rd=c((WJr,Qc)=>{"use strict";function CK(r){return typeof r=="string"}Qc.exports=CK});var td=c((JJr,ad)=>{"use strict";var LK=Us(),PK=Math.abs,UK=String.prototype.toLowerCase,ed=String.prototype.toUpperCase,Bt=String.prototype.replace,MK=/e\+(\d)$/,GK=/e-(\d)$/,YK=/^(\d+)$/,$K=/^(\d+)e/,WK=/\.0$/,JK=/\.0*e/,XK=/(\..*[^0])0*e/;function KK(r){var e,a,t=parseFloat(r.arg);if(!isFinite(t)){if(!LK(r.arg))throw new Error("invalid floating-point number. Value: "+a);t=r.arg}switch(r.specifier){case"e":case"E":a=t.toExponential(r.precision);break;case"f":case"F":a=t.toFixed(r.precision);break;case"g":case"G":PK(t)<1e-4?(e=r.precision,e>0&&(e-=1),a=t.toExponential(e)):a=t.toPrecision(r.precision),r.alternate||(a=Bt.call(a,XK,"$1e"),a=Bt.call(a,JK,"e"),a=Bt.call(a,WK,""));break;default:throw new Error("invalid double notation. Value: "+r.specifier)}return a=Bt.call(a,MK,"e+0$1"),a=Bt.call(a,GK,"e-0$1"),r.alternate&&(a=Bt.call(a,YK,"$1."),a=Bt.call(a,$K,"$1.e")),t>=0&&r.sign&&(a=r.sign+a),a=r.specifier===ed.call(r.specifier)?ed.call(a):UK.call(a),a}ad.exports=KK});var nd=c((XJr,od)=>{"use strict";function id(r){var e="",a;for(a=0;a<r;a++)e+=" ";return e}function HK(r,e,a){var t=e-r.length;return t<0||(r=a?r+id(t):id(t)+r),r}od.exports=HK});var ud=c((KJr,sd)=>{"use strict";var ZK=Zc(),QK=rd(),rH=td(),eH=nd(),aH=Ms(),tH=String.fromCharCode,iH=Array.isArray;function Jo(r){return r!==r}function oH(r){var e={};return e.specifier=r.specifier,e.precision=r.precision===void 0?1:r.precision,e.width=r.width,e.flags=r.flags||"",e.mapping=r.mapping,e}function nH(r){var e,a,t,o,i,n,s,u,v;if(!iH(r))throw new TypeError("invalid argument. First argument must be an array. Value: `"+r+"`.");for(n="",s=1,u=0;u<r.length;u++)if(t=r[u],QK(t))n+=t;else{if(e=t.precision!==void 0,t=oH(t),!t.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+u+"`. Value: `"+t+"`.");for(t.mapping&&(s=t.mapping),a=t.flags,v=0;v<a.length;v++)switch(o=a.charAt(v),o){case" ":t.sign=" ";break;case"+":t.sign="+";break;case"-":t.padRight=!0,t.padZeros=!1;break;case"0":t.padZeros=a.indexOf("-")<0;break;case"#":t.alternate=!0;break;default:throw new Error("invalid flag: "+o)}if(t.width==="*"){if(t.width=parseInt(arguments[s],10),s+=1,Jo(t.width))throw new TypeError("the argument for * width at position "+s+" is not a number. Value: `"+t.width+"`.");t.width<0&&(t.padRight=!0,t.width=-t.width)}if(e&&t.precision==="*"){if(t.precision=parseInt(arguments[s],10),s+=1,Jo(t.precision))throw new TypeError("the argument for * precision at position "+s+" is not a number. Value: `"+t.precision+"`.");t.precision<0&&(t.precision=1,e=!1)}switch(t.arg=arguments[s],t.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":e&&(t.padZeros=!1),t.arg=ZK(t);break;case"s":t.maxWidth=e?t.precision:-1,t.arg=String(t.arg);break;case"c":if(!Jo(t.arg)){if(i=parseInt(t.arg,10),i<0||i>127)throw new Error("invalid character code. Value: "+t.arg);t.arg=Jo(i)?String(t.arg):tH(i)}break;case"e":case"E":case"f":case"F":case"g":case"G":e||(t.precision=6),t.arg=rH(t);break;default:throw new Error("invalid specifier: "+t.specifier)}t.maxWidth>=0&&t.arg.length>t.maxWidth&&(t.arg=t.arg.substring(0,t.maxWidth)),t.padZeros?t.arg=aH(t.arg,t.width||t.precision,t.padRight):t.width&&(t.arg=eH(t.arg,t.width,t.padRight)),n+=t.arg||"",s+=1}return n}sd.exports=nH});var fd=c((HJr,vd)=>{"use strict";var sH=ud();vd.exports=sH});var cd=c((ZJr,ld)=>{"use strict";var Xo=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function uH(r){var e={mapping:r[1]?parseInt(r[1],10):void 0,flags:r[2],width:r[3],precision:r[5],specifier:r[6]};return r[4]==="."&&r[5]===void 0&&(e.precision="1"),e}function vH(r){var e,a,t,o;for(a=[],o=0,t=Xo.exec(r);t;)e=r.slice(o,Xo.lastIndex-t[0].length),e.length&&a.push(e),a.push(uH(t)),o=Xo.lastIndex,t=Xo.exec(r);return e=r.slice(o),e.length&&a.push(e),a}ld.exports=vH});var pd=c((QJr,dd)=>{"use strict";var fH=cd();dd.exports=fH});var md=c((rXr,yd)=>{"use strict";function lH(r){return typeof r=="string"}yd.exports=lH});var bd=c((eXr,gd)=>{"use strict";var cH=fd(),dH=pd(),pH=md();function hd(r){var e,a;if(!pH(r))throw new TypeError(hd("invalid argument. First argument must be a string. Value: `%s`.",r));for(e=[dH(r)],a=1;a<arguments.length;a++)e.push(arguments[a]);return cH.apply(null,e)}gd.exports=hd});var pr=c((aXr,xd)=>{"use strict";var yH=bd();xd.exports=yH});var _d=c((tXr,Ad)=>{"use strict";var qd=pr(),ni=Object.prototype,wd=ni.toString,Sd=ni.__defineGetter__,Ed=ni.__defineSetter__,mH=ni.__lookupGetter__,hH=ni.__lookupSetter__;function gH(r,e,a){var t,o,i,n;if(typeof r!="object"||r===null||wd.call(r)==="[object Array]")throw new TypeError(qd("invalid argument. First argument must be an object. Value: `%s`.",r));if(typeof a!="object"||a===null||wd.call(a)==="[object Array]")throw new TypeError(qd("invalid argument. Property descriptor must be an object. Value: `%s`.",a));if(o="value"in a,o&&(mH.call(r,e)||hH.call(r,e)?(t=r.__proto__,r.__proto__=ni,delete r[e],r[e]=a.value,r.__proto__=t):r[e]=a.value),i="get"in a,n="set"in a,o&&(i||n))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return i&&Sd&&Sd.call(r,e,a.get),n&&Ed&&Ed.call(r,e,a.set),r}Ad.exports=gH});var Ft=c((iXr,Td)=>{"use strict";var bH=Mc(),xH=Yc(),qH=_d(),Gs;bH()?Gs=xH:Gs=qH;Td.exports=Gs});var Id=c((oXr,jd)=>{"use strict";var wH=Ft();function SH(r,e,a){wH(r,e,{configurable:!1,enumerable:!0,writable:!1,value:a})}jd.exports=SH});var Rt=c((nXr,Od)=>{"use strict";var EH=Id();Od.exports=EH});var Dd=c((sXr,Nd)=>{"use strict";var AH=Object.prototype.hasOwnProperty;function _H(r,e){return r==null?!1:AH.call(r,e)}Nd.exports=_H});var Xr=c((uXr,kd)=>{"use strict";var TH=Dd();kd.exports=TH});var Fd=c((vXr,Bd)=>{"use strict";function jH(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}Bd.exports=jH});var Ys=c((fXr,Rd)=>{"use strict";var IH=Fd();Rd.exports=IH});var zd=c((lXr,Vd)=>{"use strict";var OH=Ys(),NH=OH();function DH(){return NH&&typeof Symbol.toStringTag=="symbol"}Vd.exports=DH});var si=c((cXr,Cd)=>{"use strict";var kH=zd();Cd.exports=kH});var $s=c((dXr,Ld)=>{"use strict";var BH=Object.prototype.toString;Ld.exports=BH});var Ud=c((pXr,Pd)=>{"use strict";var FH=$s();function RH(r){return FH.call(r)}Pd.exports=RH});var Gd=c((yXr,Md)=>{"use strict";var VH=typeof Symbol=="function"?Symbol:void 0;Md.exports=VH});var Ws=c((mXr,Yd)=>{"use strict";var zH=Gd();Yd.exports=zH});var Jd=c((hXr,Wd)=>{"use strict";var $d=Ws(),CH=typeof $d=="function"?$d.toStringTag:"";Wd.exports=CH});var Kd=c((gXr,Xd)=>{"use strict";var LH=Xr(),zi=Jd(),Js=$s();function PH(r){var e,a,t;if(r==null)return Js.call(r);a=r[zi],e=LH(r,zi);try{r[zi]=void 0}catch{return Js.call(r)}return t=Js.call(r),e?r[zi]=a:delete r[zi],t}Xd.exports=PH});var me=c((bXr,Hd)=>{"use strict";var UH=si(),MH=Ud(),GH=Kd(),Xs;UH()?Xs=GH:Xs=MH;Hd.exports=Xs});var Qd=c((xXr,Zd)=>{"use strict";var YH=me(),Ks;function $H(r){return YH(r)==="[object Array]"}Array.isArray?Ks=Array.isArray:Ks=$H;Zd.exports=Ks});var qa=c((qXr,r0)=>{"use strict";var WH=Qd();r0.exports=WH});var a0=c((wXr,e0)=>{"use strict";var JH=qa();function XH(r){return typeof r=="object"&&r!==null&&!JH(r)}e0.exports=XH});var Ci=c((SXr,t0)=>{"use strict";var KH=a0();t0.exports=KH});var o0=c((EXr,i0)=>{"use strict";var HH=/./;i0.exports=HH});var s0=c((AXr,n0)=>{"use strict";var ZH=Ft();function QH(r,e,a){ZH(r,e,{configurable:!1,enumerable:!1,writable:!1,value:a})}n0.exports=QH});var Ir=c((_Xr,u0)=>{"use strict";var rZ=s0();u0.exports=rZ});var Hs=c((TXr,v0)=>{"use strict";function eZ(r){return typeof r=="boolean"}v0.exports=eZ});var l0=c((jXr,f0)=>{"use strict";var aZ=Boolean;f0.exports=aZ});var Vt=c((IXr,c0)=>{"use strict";var tZ=l0();c0.exports=tZ});var p0=c((OXr,d0)=>{"use strict";var iZ=Boolean.prototype.toString;d0.exports=iZ});var m0=c((NXr,y0)=>{"use strict";var oZ=p0();function nZ(r){try{return oZ.call(r),!0}catch{return!1}}y0.exports=nZ});var Zs=c((DXr,h0)=>{"use strict";var sZ=si(),uZ=me(),vZ=Vt(),fZ=m0(),lZ=sZ();function cZ(r){return typeof r=="object"?r instanceof vZ?!0:lZ?fZ(r):uZ(r)==="[object Boolean]":!1}h0.exports=cZ});var b0=c((kXr,g0)=>{"use strict";var dZ=Hs(),pZ=Zs();function yZ(r){return dZ(r)||pZ(r)}g0.exports=yZ});var pe=c((BXr,q0)=>{"use strict";var x0=Ir(),Qs=b0(),mZ=Hs(),hZ=Zs();x0(Qs,"isPrimitive",mZ);x0(Qs,"isObject",hZ);q0.exports=Qs});var S0=c((FXr,w0)=>{"use strict";function gZ(){return new Function("return this;")()}w0.exports=gZ});var A0=c((RXr,E0)=>{"use strict";var bZ=typeof self=="object"?self:null;E0.exports=bZ});var T0=c((VXr,_0)=>{"use strict";var xZ=typeof window=="object"?window:null;_0.exports=xZ});var I0=c((zXr,j0)=>{"use strict";var qZ=typeof globalThis=="object"?globalThis:null;j0.exports=qZ});var ru=c((CXr,k0)=>{"use strict";var wZ=pe().isPrimitive,SZ=pr(),EZ=S0(),O0=A0(),N0=T0(),D0=I0();function AZ(r){if(arguments.length){if(!wZ(r))throw new TypeError(SZ("invalid argument. Must provide a boolean. Value: `%s`.",r));if(r)return EZ()}if(D0)return D0;if(O0)return O0;if(N0)return N0;throw new Error("unexpected error. Unable to resolve global object.")}k0.exports=AZ});var R0=c((LXr,F0)=>{"use strict";var _Z=ru(),B0=_Z(),TZ=B0.document&&B0.document.childNodes;F0.exports=TZ});var z0=c((PXr,V0)=>{"use strict";var jZ=Int8Array;V0.exports=jZ});var L0=c((UXr,C0)=>{"use strict";var IZ=o0(),OZ=R0(),NZ=z0();function DZ(){return typeof IZ=="function"||typeof NZ=="object"||typeof OZ=="function"}C0.exports=DZ});var eu=c((MXr,P0)=>{"use strict";function kZ(){return/^\s*function\s*([^(]*)/i}P0.exports=kZ});var M0=c((GXr,U0)=>{"use strict";var BZ=eu(),FZ=BZ();U0.exports=FZ});var $0=c((YXr,Y0)=>{"use strict";var RZ=Ir(),G0=eu(),VZ=M0();RZ(G0,"REGEXP",VZ);Y0.exports=G0});var J0=c(($Xr,W0)=>{"use strict";var zZ=qa(),CZ=pr();function LZ(r){if(typeof r!="function")throw new TypeError(CZ("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!zZ(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}W0.exports=LZ});var au=c((WXr,X0)=>{"use strict";var PZ=J0();X0.exports=PZ});var H0=c((JXr,K0)=>{"use strict";function UZ(r){return r!==null&&typeof r=="object"}K0.exports=UZ});var Ko=c((XXr,Z0)=>{"use strict";var MZ=Ir(),GZ=au(),tu=H0(),YZ=GZ(tu);MZ(tu,"isObjectLikeArray",YZ);Z0.exports=tu});var rp=c((KXr,Q0)=>{"use strict";var $Z=Ko();function WZ(r){return $Z(r)&&(r._isBuffer||r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r))}Q0.exports=WZ});var Li=c((HXr,ep)=>{"use strict";var JZ=rp();ep.exports=JZ});var tp=c((ZXr,ap)=>{"use strict";var XZ=me(),KZ=$0().REGEXP,HZ=Li();function ZZ(r){var e,a,t;if(a=XZ(r).slice(8,-1),(a==="Object"||a==="Error")&&r.constructor){if(t=r.constructor,typeof t.name=="string")return t.name;if(e=KZ.exec(t.toString()),e)return e[1]}return HZ(r)?"Buffer":a}ap.exports=ZZ});var ht=c((QXr,ip)=>{"use strict";var QZ=tp();ip.exports=QZ});var np=c((rKr,op)=>{"use strict";var rQ=ht();function eQ(r){var e;return r===null?"null":(e=typeof r,e==="object"?rQ(r).toLowerCase():e)}op.exports=eQ});var up=c((eKr,sp)=>{"use strict";var aQ=ht();function tQ(r){return aQ(r).toLowerCase()}sp.exports=tQ});var ui=c((aKr,vp)=>{"use strict";var iQ=L0(),oQ=np(),nQ=up(),sQ=iQ()?nQ:oQ;vp.exports=sQ});var lp=c((tKr,fp)=>{"use strict";var uQ=ui();function vQ(r){return uQ(r)==="function"}fp.exports=vQ});var Pe=c((iKr,cp)=>{"use strict";var fQ=lp();cp.exports=fQ});var pp=c((oKr,dp)=>{"use strict";var lQ=Object;dp.exports=lQ});var zt=c((nKr,yp)=>{"use strict";var cQ=pp();yp.exports=cQ});var hp=c((sKr,mp)=>{"use strict";var dQ=Object.getPrototypeOf;mp.exports=dQ});var bp=c((uKr,gp)=>{"use strict";function pQ(r){return r.__proto__}gp.exports=pQ});var qp=c((vKr,xp)=>{"use strict";var yQ=me(),mQ=bp();function hQ(r){var e=mQ(r);return e||e===null?e:yQ(r.constructor)==="[object Function]"?r.constructor.prototype:r instanceof Object?Object.prototype:null}xp.exports=hQ});var Sp=c((fKr,wp)=>{"use strict";var gQ=Pe(),bQ=hp(),xQ=qp(),iu;gQ(Object.getPrototypeOf)?iu=bQ:iu=xQ;wp.exports=iu});var Ap=c((lKr,Ep)=>{"use strict";var qQ=zt(),wQ=Sp();function SQ(r){return r==null?null:(r=qQ(r),wQ(r))}Ep.exports=SQ});var Ct=c((cKr,_p)=>{"use strict";var EQ=Ap();_p.exports=EQ});var Ip=c((dKr,jp)=>{"use strict";var AQ=Ci(),Tp=Pe(),_Q=Ct(),Ho=Xr(),TQ=me(),jQ=Object.prototype;function IQ(r){var e;for(e in r)if(!Ho(r,e))return!1;return!0}function OQ(r){var e;return AQ(r)?(e=_Q(r),e?!Ho(r,"constructor")&&Ho(e,"constructor")&&Tp(e.constructor)&&TQ(e.constructor)==="[object Function]"&&Ho(e,"isPrototypeOf")&&Tp(e.isPrototypeOf)&&(e===jQ||IQ(r)):!0):!1}jp.exports=OQ});var ne=c((pKr,Op)=>{"use strict";var NQ=Ip();Op.exports=NQ});var ou=c((yKr,Np)=>{"use strict";function DQ(r){return typeof r=="number"}Np.exports=DQ});var kp=c((mKr,Dp)=>{"use strict";Dp.exports=Number});var Zo=c((hKr,Bp)=>{"use strict";var kQ=kp();Bp.exports=kQ});var Rp=c((gKr,Fp)=>{"use strict";var BQ=Zo(),FQ=BQ.prototype.toString;Fp.exports=FQ});var zp=c((bKr,Vp)=>{"use strict";var RQ=Rp();function VQ(r){try{return RQ.call(r),!0}catch{return!1}}Vp.exports=VQ});var nu=c((xKr,Cp)=>{"use strict";var zQ=si(),CQ=me(),LQ=Zo(),PQ=zp(),UQ=zQ();function MQ(r){return typeof r=="object"?r instanceof LQ?!0:UQ?PQ(r):CQ(r)==="[object Number]":!1}Cp.exports=MQ});var Pp=c((qKr,Lp)=>{"use strict";var GQ=ou(),YQ=nu();function $Q(r){return GQ(r)||YQ(r)}Lp.exports=$Q});var Ge=c((wKr,Mp)=>{"use strict";var Up=Ir(),su=Pp(),WQ=ou(),JQ=nu();Up(su,"isPrimitive",WQ);Up(su,"isObject",JQ);Mp.exports=su});var Pi=c((SKr,Gp)=>{"use strict";var XQ=Number.POSITIVE_INFINITY;Gp.exports=XQ});var Qo=c((EKr,Yp)=>{"use strict";var KQ=Zo(),HQ=KQ.NEGATIVE_INFINITY;Yp.exports=HQ});var Wp=c((AKr,$p)=>{"use strict";var ZQ=Math.floor;$p.exports=ZQ});var ea=c((_Kr,Jp)=>{"use strict";var QQ=Wp();Jp.exports=QQ});var Kp=c((TKr,Xp)=>{"use strict";var rrr=ea();function err(r){return rrr(r)===r}Xp.exports=err});var wa=c((jKr,Hp)=>{"use strict";var arr=Kp();Hp.exports=arr});var uu=c((IKr,Zp)=>{"use strict";var trr=Pi(),irr=Qo(),orr=wa();function nrr(r){return r<trr&&r>irr&&orr(r)}Zp.exports=nrr});var vu=c((OKr,Qp)=>{"use strict";var srr=Ge().isPrimitive,urr=uu();function vrr(r){return srr(r)&&urr(r)}Qp.exports=vrr});var fu=c((NKr,ry)=>{"use strict";var frr=Ge().isObject,lrr=uu();function crr(r){return frr(r)&&lrr(r.valueOf())}ry.exports=crr});var ay=c((DKr,ey)=>{"use strict";var drr=vu(),prr=fu();function yrr(r){return drr(r)||prr(r)}ey.exports=yrr});var ve=c((kKr,iy)=>{"use strict";var ty=Ir(),lu=ay(),mrr=vu(),hrr=fu();ty(lu,"isPrimitive",mrr);ty(lu,"isObject",hrr);iy.exports=lu});var cu=c((BKr,oy)=>{"use strict";var grr=ve().isPrimitive;function brr(r){return grr(r)&&r>=0}oy.exports=brr});var du=c((FKr,ny)=>{"use strict";var xrr=ve().isObject;function qrr(r){return xrr(r)&&r.valueOf()>=0}ny.exports=qrr});var uy=c((RKr,sy)=>{"use strict";var wrr=cu(),Srr=du();function Err(r){return wrr(r)||Srr(r)}sy.exports=Err});var ge=c((VKr,fy)=>{"use strict";var vy=Ir(),pu=uy(),Arr=cu(),_rr=du();vy(pu,"isPrimitive",Arr);vy(pu,"isObject",_rr);fy.exports=pu});var dy=c((zKr,cy)=>{"use strict";var Trr=ru(),ly=Trr();function jrr(){return typeof ly.BigInt=="function"&&typeof BigInt=="function"&&typeof ly.BigInt("1")=="bigint"&&typeof BigInt("1")=="bigint"}cy.exports=jrr});var yu=c((CKr,py)=>{"use strict";var Irr=dy();py.exports=Irr});var my=c((LKr,yy)=>{"use strict";var Orr=Ft();function Nrr(r,e,a){Orr(r,e,{configurable:!1,enumerable:!1,get:a})}yy.exports=Nrr});var gt=c((PKr,hy)=>{"use strict";var Drr=my();hy.exports=Drr});var gy=c((UKr,krr)=>{krr.exports={binary:1,bool:1,complex64:8,complex128:16,float16:2,bfloat16:2,float32:4,float64:8,float128:16,generic:null,int8:1,int16:2,int32:4,int64:8,int128:16,int256:32,uint8:1,uint8c:1,uint16:2,uint32:4,uint64:8,uint128:16,uint256:32}});var xy=c((MKr,by)=>{"use strict";var Brr=gy();function Frr(r){return Brr[r]||null}by.exports=Frr});var bt=c((GKr,qy)=>{"use strict";var Rrr=xy();qy.exports=Rrr});var Sy=c((YKr,wy)=>{"use strict";function Vrr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]<0&&(e+=1);return e===0?1:e===r.length?-1:0}wy.exports=Vrr});var Sa=c(($Kr,Ey)=>{"use strict";var zrr=Sy();Ey.exports=zrr});var _y=c((WKr,Ay)=>{"use strict";function Crr(r){return Math.abs(r)}Ay.exports=Crr});var vi=c((JKr,Ty)=>{"use strict";var Lrr=_y();Ty.exports=Lrr});var Oy=c((XKr,Iy)=>{"use strict";var jy=vi();function Prr(r){var e,a,t,o,i,n;if(a=r.length,a===0)return 0;for(e=!0,t=!0,o=jy(r[0]),n=1;n<a;n++)if(i=jy(r[n]),e&&i<o?e=!1:t&&i>o&&(t=!1),t||e)o=i;else return 0;return t&&e?3:t?1:2}Iy.exports=Prr});var Lt=c((KKr,Ny)=>{"use strict";var Urr=Oy();Ny.exports=Urr});var ky=c((HKr,Dy)=>{"use strict";function Mrr(r,e){return e&&(r===2||r===3)}Dy.exports=Mrr});var Fy=c((ZKr,By)=>{"use strict";function Grr(r,e){return e&&(r===1||r===3)}By.exports=Grr});var Vy=c((QKr,Ry)=>{"use strict";function Yrr(r,e,a){var t,o,i,n,s;for(t=r.length,o=a,i=a,s=0;s<t;s++){if(r[s]===0)return[a,a];n=e[s],n>0?i+=n*(r[s]-1):n<0&&(o+=n*(r[s]-1))}return[o,i]}Ry.exports=Yrr});var Cy=c((rHr,zy)=>{"use strict";function $rr(r,e,a,t){var o,i,n,s,u;for(o=r.length,i=a,n=a,u=0;u<o;u++){if(r[u]===0)return t[0]=a,t[1]=a,t;s=e[u],s>0?n+=s*(r[u]-1):s<0&&(i+=s*(r[u]-1))}return t[0]=i,t[1]=n,t}zy.exports=$rr});var et=c((eHr,Py)=>{"use strict";var Wrr=Ir(),Ly=Vy(),Jrr=Cy();Wrr(Ly,"assign",Jrr);Py.exports=Ly});var My=c((aHr,Uy)=>{"use strict";var Xrr=et();function Krr(r,e,a,t,o){var i;return r===0||o===0?!1:(i=Xrr(e,a,t),r===i[1]-i[0]+1)}Uy.exports=Krr});var Yy=c((tHr,Gy)=>{"use strict";function Hrr(r){return{ROW_MAJOR_CONTIGUOUS:r.ROW_MAJOR_CONTIGUOUS,COLUMN_MAJOR_CONTIGUOUS:r.COLUMN_MAJOR_CONTIGUOUS,READONLY:r.READONLY}}Gy.exports=Hrr});var Wy=c((iHr,$y)=>{"use strict";function Zrr(r){var e,a,t,o,i,n;if(t=this._ndims,t===0)return this._accessors?this._buffer.get(this._offset):this._buffer[this._offset];if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.get(this._offset+r):this._buffer[this._offset+r];if(this._iterationOrder===-1)return this._accessors?this._buffer.get(this.offset-r):this._buffer[this._offset-r]}if(a=this._shape,e=this._strides,o=this._offset,this._order==="column-major"){for(n=0;n<t;n++)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}for(n=t-1;n>=0;n--)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}$y.exports=Zrr});var Xy=c((oHr,Jy)=>{"use strict";function Qrr(r,e){var a,t,o,i,n,s;if(o=this._ndims,o===0)return this._accessors?this._buffer.set(r,this._offset):this._buffer[this._offset]=r,this;if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.set(e,this._offset+r):this._buffer[this._offset+r]=e,this;if(this._iterationOrder===-1)return this._accessors?this._buffer.set(e,this._offset-r):this._buffer[this._offset-r]=e,this}if(t=this._shape,a=this._strides,i=this._offset,this._order==="column-major"){for(s=0;s<o;s++)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}for(s=o-1;s>=0;s--)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}Jy.exports=Qrr});var Hy=c((nHr,Ky)=>{"use strict";function rer(){var r,e;for(r=this._offset,e=0;e<arguments.length-1;e++)r+=this._strides[e]*arguments[e];return this._accessors?this._buffer.set(arguments[e],r):this._buffer[r]=arguments[e],this}Ky.exports=rer});var Qy=c((sHr,Zy)=>{"use strict";function eer(){var r,e;for(r=this._offset,e=0;e<arguments.length;e++)r+=this._strides[e]*arguments[e];return this._accessors?this._buffer.get(r):this._buffer[r]}Zy.exports=eer});var em=c((uHr,rm)=>{"use strict";function aer(r){return r.re}rm.exports=aer});var Pt=c((vHr,am)=>{"use strict";var ter=em();am.exports=ter});var im=c((fHr,tm)=>{"use strict";function ier(r){return r.im}tm.exports=ier});var Ut=c((lHr,om)=>{"use strict";var oer=im();om.exports=oer});var sm=c((cHr,nm)=>{"use strict";var ner=Pt(),ser=Ut();function uer(){var r,e,a,t;for(e=this._length,r={},r.type="ndarray",r.dtype=this.dtype,r.flags={READONLY:this._flags.READONLY},r.order=this._order,r.shape=this._shape.slice(),r.strides=this._strides.slice(),t=0;t<e;t++)r.strides[t]<0&&(r.strides[t]*=-1);if(r.data=[],r.dtype==="complex64"||r.dtype==="complex128")for(t=0;t<e;t++)a=this.iget(t),r.data.push(ner(a),ser(a));else for(t=0;t<e;t++)r.data.push(this.iget(t));return r}nm.exports=uer});var mu=c((dHr,um)=>{"use strict";function ver(r){return typeof r=="string"}um.exports=ver});var fm=c((pHr,vm)=>{"use strict";var fer=String.prototype.valueOf;vm.exports=fer});var cm=c((yHr,lm)=>{"use strict";var ler=fm();function cer(r){try{return ler.call(r),!0}catch{return!1}}lm.exports=cer});var hu=c((mHr,dm)=>{"use strict";var der=si(),per=me(),yer=cm(),mer=der();function her(r){return typeof r=="object"?r instanceof String?!0:mer?yer(r):per(r)==="[object String]":!1}dm.exports=her});var ym=c((hHr,pm)=>{"use strict";var ger=mu(),ber=hu();function xer(r){return ger(r)||ber(r)}pm.exports=xer});var La=c((gHr,hm)=>{"use strict";var mm=Ir(),gu=ym(),qer=mu(),wer=hu();mm(gu,"isPrimitive",qer);mm(gu,"isObject",wer);hm.exports=gu});var xm=c((bHr,bm)=>{"use strict";var Ser=La().isPrimitive,Eer=pr(),gm=/[-\/\\^$*+?.()|[\]{}]/g;function Aer(r){var e,a,t;if(!Ser(r))throw new TypeError(Eer("invalid argument. Must provide a regular expression string. Value: `%s`.",r));if(r[0]==="/")for(e=r.length,t=e-1;t>=0&&r[t]!=="/";t--);return t===void 0||t<=0?r.replace(gm,"\\$&"):(a=r.substring(1,t),a=a.replace(gm,"\\$&"),r=r[0]+a+r.substring(t),r)}bm.exports=Aer});var wm=c((xHr,qm)=>{"use strict";var _er=xm();qm.exports=_er});var Em=c((qHr,Sm)=>{"use strict";var Ter=RegExp.prototype.exec;Sm.exports=Ter});var _m=c((wHr,Am)=>{"use strict";var jer=Em();function Ier(r){try{return jer.call(r),!0}catch{return!1}}Am.exports=Ier});var jm=c((SHr,Tm)=>{"use strict";var Oer=si(),Ner=me(),Der=_m(),ker=Oer();function Ber(r){return typeof r=="object"?r instanceof RegExp?!0:ker?Der(r):Ner(r)==="[object RegExp]":!1}Tm.exports=Ber});var Om=c((EHr,Im)=>{"use strict";var Fer=jm();Im.exports=Fer});var Dm=c((AHr,Nm)=>{"use strict";function Rer(r,e,a){return r.replace(e,a)}Nm.exports=Rer});var at=c((_Hr,km)=>{"use strict";var Ver=Dm();km.exports=Ver});var Fm=c((THr,Bm)=>{"use strict";var zer=wm(),Cer=Pe(),bu=La().isPrimitive,Ler=Om(),xu=pr(),Per=at();function Uer(r,e,a){if(!bu(r))throw new TypeError(xu("invalid argument. First argument must be a string. Value: `%s`.",r));if(bu(e))e=new RegExp(zer(e),"g");else if(!Ler(e))throw new TypeError(xu("invalid argument. Second argument must be a string or regular expression. Value: `%s`.",e));if(!bu(a)&&!Cer(a))throw new TypeError(xu("invalid argument. Third argument must be a string or replacement function. Value: `%s`.",a));return Per(r,e,a)}Bm.exports=Uer});var Vm=c((jHr,Rm)=>{"use strict";var Mer=Fm();Rm.exports=Mer});var Cm=c((IHr,zm)=>{"use strict";var Ger=Vm(),qu=Pt(),wu=Ut(),Yer={int8:"new Int8Array( [ {{data}} ] )",uint8:"new Uint8Array( [ {{data}} ] )",uint8c:"new Uint8ClampedArray( [ {{data}} ] )",int16:"new Int16Array( [ {{data}} ] )",uint16:"new Uint16Array( [ {{data}} ] )",int32:"new Int32Array( [ {{data}} ] )",uint32:"new Uint32Array( [ {{data}} ] )",float32:"new Float32Array( [ {{data}} ] )",float64:"new Float64Array( [ {{data}} ] )",generic:"[ {{data}} ]",binary:"new Buffer( [ {{data}} ] )",complex64:"new Complex64Array( [ {{data}} ] )",complex128:"new Complex128Array( [ {{data}} ] )"};function $er(){var r,e,a,t,o,i,n;if(e=this._shape.length,o=this._dtype,t="ndarray( '"+o+"', ",r="",this._length<=100)if(o==="complex64"||o==="complex128")for(n=0;n<this._length;n++)i=this.iget(n),r+=qu(i)+", "+wu(i),n<this._length-1&&(r+=", ");else for(n=0;n<this._length;n++)r+=this.iget(n),n<this._length-1&&(r+=", ");else{if(o==="complex64"||o==="complex128")for(n=0;n<3;n++)i=this.iget(n),r+=qu(i)+", "+wu(i),n<2&&(r+=", ");else for(n=0;n<3;n++)r+=this.iget(n),n<2&&(r+=", ");if(r+=", ..., ",o==="complex64"||o==="complex128")for(n=2;n>=0;n--)i=this.iget(this._length-1-n),r+=qu(i)+", "+wu(i),n>0&&(r+=", ");else for(n=2;n>=0;n--)r+=this.iget(this._length-1-n),n>0&&(r+=", ")}if(a=Yer[this.dtype],t+=Ger(a,"{{data}}",r),t+=", ",e===0?t+="[]":t+="[ "+this._shape.join(", ")+" ]",t+=", ",t+="[ ",e===0)t+="0";else for(n=0;n<e;n++)this._strides[n]<0?t+=-this._strides[n]:t+=this._strides[n],n<e-1&&(t+=", ");return t+=" ]",t+=", ",t+="0",t+=", ",t+="'"+this._order+"'",t+=" )",t}zm.exports=$er});var Pm=c((OHr,Lm)=>{"use strict";var Wer=me(),Jer=typeof Uint8Array=="function";function Xer(r){return Jer&&r instanceof Uint8Array||Wer(r)==="[object Uint8Array]"}Lm.exports=Xer});var Mm=c((NHr,Um)=>{"use strict";var Ker=Pm();Um.exports=Ker});var Su=c((DHr,Gm)=>{"use strict";var Her=255;Gm.exports=Her});var $m=c((kHr,Ym)=>{"use strict";var Zer=typeof Uint8Array=="function"?Uint8Array:null;Ym.exports=Zer});var Xm=c((BHr,Jm)=>{"use strict";var Qer=Mm(),Eu=Su(),Wm=$m();function rar(){var r,e;if(typeof Wm!="function")return!1;try{e=[1,3.14,-3.14,Eu+1,Eu+2],e=new Wm(e),r=Qer(e)&&e[0]===1&&e[1]===3&&e[2]===Eu-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Jm.exports=rar});var Hm=c((FHr,Km)=>{"use strict";var ear=Xm();Km.exports=ear});var Qm=c((RHr,Zm)=>{"use strict";var aar=typeof Uint8Array=="function"?Uint8Array:void 0;Zm.exports=aar});var eh=c((VHr,rh)=>{"use strict";function tar(){throw new Error("not implemented")}rh.exports=tar});var va=c((zHr,ah)=>{"use strict";var iar=Hm(),oar=Qm(),nar=eh(),Au;iar()?Au=oar:Au=nar;ah.exports=Au});var ih=c((CHr,th)=>{"use strict";var sar=me(),uar=typeof Uint16Array=="function";function far(r){return uar&&r instanceof Uint16Array||sar(r)==="[object Uint16Array]"}th.exports=far});var nh=c((LHr,oh)=>{"use strict";var lar=ih();oh.exports=lar});var _u=c((PHr,sh)=>{"use strict";var car=65535;sh.exports=car});var vh=c((UHr,uh)=>{"use strict";var dar=typeof Uint16Array=="function"?Uint16Array:null;uh.exports=dar});var ch=c((MHr,lh)=>{"use strict";var par=nh(),Tu=_u(),fh=vh();function yar(){var r,e;if(typeof fh!="function")return!1;try{e=[1,3.14,-3.14,Tu+1,Tu+2],e=new fh(e),r=par(e)&&e[0]===1&&e[1]===3&&e[2]===Tu-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}lh.exports=yar});var ph=c((GHr,dh)=>{"use strict";var mar=ch();dh.exports=mar});var mh=c((YHr,yh)=>{"use strict";var har=typeof Uint16Array=="function"?Uint16Array:void 0;yh.exports=har});var gh=c(($Hr,hh)=>{"use strict";function gar(){throw new Error("not implemented")}hh.exports=gar});var fi=c((WHr,bh)=>{"use strict";var bar=ph(),xar=mh(),qar=gh(),ju;bar()?ju=xar:ju=qar;bh.exports=ju});var qh=c((JHr,xh)=>{"use strict";var war=va(),Sar=fi(),Ear={uint16:Sar,uint8:war};xh.exports=Ear});var Ah=c((XHr,Eh)=>{"use strict";var wh=qh(),Sh;function Aar(){var r,e;return r=new wh.uint16(1),r[0]=4660,e=new wh.uint8(r.buffer),e[0]===52}Sh=Aar();Eh.exports=Sh});var Mt=c((KHr,_h)=>{"use strict";var _ar=Ah();_h.exports=_ar});var jh=c((HHr,Th)=>{"use strict";var Tar=me(),jar=typeof ArrayBuffer=="function";function Iar(r){return jar&&r instanceof ArrayBuffer||Tar(r)==="[object ArrayBuffer]"}Th.exports=Iar});var Ui=c((ZHr,Ih)=>{"use strict";var Oar=jh();Ih.exports=Oar});var Nh=c((QHr,Oh)=>{"use strict";var Nar=me(),Dar=typeof Float64Array=="function";function kar(r){return Dar&&r instanceof Float64Array||Nar(r)==="[object Float64Array]"}Oh.exports=kar});var kh=c((rZr,Dh)=>{"use strict";var Bar=Nh();Dh.exports=Bar});var Fh=c((eZr,Bh)=>{"use strict";var Far=typeof Float64Array=="function"?Float64Array:null;Bh.exports=Far});var zh=c((aZr,Vh)=>{"use strict";var Rar=kh(),Rh=Fh();function Var(){var r,e;if(typeof Rh!="function")return!1;try{e=new Rh([1,3.14,-3.14,NaN]),r=Rar(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{r=!1}return r}Vh.exports=Var});var Lh=c((tZr,Ch)=>{"use strict";var zar=zh();Ch.exports=zar});var Uh=c((iZr,Ph)=>{"use strict";var Car=typeof Float64Array=="function"?Float64Array:void 0;Ph.exports=Car});var Gh=c((oZr,Mh)=>{"use strict";function Lar(){throw new Error("not implemented")}Mh.exports=Lar});var xt=c((nZr,Yh)=>{"use strict";var Par=Lh(),Uar=Uh(),Mar=Gh(),Iu;Par()?Iu=Uar:Iu=Mar;Yh.exports=Iu});var Wh=c((sZr,$h)=>{"use strict";var Gar=typeof ArrayBuffer=="function"?ArrayBuffer:null;$h.exports=Gar});var Xh=c((uZr,Jh)=>{"use strict";var Yar=Ui(),$ar=xt(),rn=Wh();function War(){var r,e,a;if(typeof rn!="function")return!1;try{a=new rn(16),r=Yar(a)&&typeof rn.isView=="function",r&&(e=new $ar(a),e[0]=-3.14,e[1]=NaN,r=r&&rn.isView(e)&&a.byteLength===16&&e[0]===-3.14&&e[1]!==e[1])}catch{r=!1}return r}Jh.exports=War});var Hh=c((vZr,Kh)=>{"use strict";var Jar=Xh();Kh.exports=Jar});var Qh=c((fZr,Zh)=>{"use strict";var Xar=typeof ArrayBuffer=="function"?ArrayBuffer:void 0;Zh.exports=Xar});var e1=c((lZr,r1)=>{"use strict";function Kar(){throw new Error("not implemented")}r1.exports=Kar});var li=c((cZr,a1)=>{"use strict";var Har=Hh(),Zar=Qh(),Qar=e1(),Ou;Har()?Ou=Zar:Ou=Qar;a1.exports=Ou});var i1=c((dZr,t1)=>{"use strict";var rtr=me(),etr=typeof DataView=="function";function atr(r){return etr&&r instanceof DataView||rtr(r)==="[object DataView]"}t1.exports=atr});var n1=c((pZr,o1)=>{"use strict";var ttr=i1();o1.exports=ttr});var u1=c((yZr,s1)=>{"use strict";var itr=typeof DataView=="function"?DataView:null;s1.exports=itr});var l1=c((mZr,f1)=>{"use strict";var otr=n1(),ntr=li(),v1=u1();function str(){var r,e,a;if(typeof v1!="function")return!1;try{a=new ntr(24),e=new v1(a,8),r=otr(e)&&typeof e.getFloat64=="function"&&typeof e.setFloat64=="function",r&&(e.setFloat64(0,-3.14),e.setFloat64(8,NaN),r=r&&e.buffer===a&&e.byteLength===16&&e.byteOffset===8&&e.getFloat64(0)===-3.14&&e.getFloat64(8)!==e.getFloat64(8))}catch{r=!1}return r}f1.exports=str});var d1=c((hZr,c1)=>{"use strict";var utr=l1();c1.exports=utr});var y1=c((gZr,p1)=>{"use strict";var vtr=typeof DataView=="function"?DataView:void 0;p1.exports=vtr});var h1=c((bZr,m1)=>{"use strict";function ftr(){throw new Error("not implemented")}m1.exports=ftr});var Gt=c((xZr,g1)=>{"use strict";var ltr=d1(),ctr=y1(),dtr=h1(),Nu;ltr()?Nu=ctr:Nu=dtr;g1.exports=Nu});var x1=c((qZr,b1)=>{"use strict";var ptr=typeof BigInt=="function"?BigInt:void 0;b1.exports=ptr});var Du=c((wZr,q1)=>{"use strict";var ytr=x1();q1.exports=ytr});var w1=c((SZr,mtr)=>{mtr.exports={all:["binary","bool","complex64","complex128","float32","float64","generic","int16","int32","int8","uint16","uint32","uint8","uint8c"],typed:["binary","bool","complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],floating_point:["complex64","complex128","float32","float64"],real_floating_point:["float32","float64"],complex_floating_point:["complex64","complex128"],boolean:["bool"],integer:["int16","int32","int8","uint16","uint32","uint8","uint8c"],signed_integer:["int16","int32","int8"],unsigned_integer:["uint16","uint32","uint8","uint8c"],real:["float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],numeric:["complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"]}});var _1=c((EZr,A1)=>{"use strict";var htr=at(),S1=w1(),E1=/_and_generic$/;function gtr(){var r,e,a;return arguments.length===0?S1.all.slice():(a=!1,r=arguments[0],E1.test(r)&&(r=htr(r,E1,""),r!=="all"&&(a=!0)),e=S1[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}A1.exports=gtr});var j1=c((AZr,T1)=>{"use strict";function btr(){return{bool:0,int8:1,uint8:2,uint8c:3,int16:4,uint16:5,int32:6,uint32:7,int64:8,uint64:9,float32:10,float64:11,complex64:12,complex128:13,binary:14,generic:15,notype:17,userdefined_type:256}}T1.exports=btr});var en=c((_Zr,I1)=>{"use strict";function xtr(r){return Object.keys(Object(r))}I1.exports=xtr});var N1=c((TZr,O1)=>{"use strict";var qtr=en();function wtr(){return(qtr(arguments)||"").length!==2}function Str(){return wtr(1,2)}O1.exports=Str});var k1=c((jZr,D1)=>{"use strict";var Etr=typeof Object.keys<"u";D1.exports=Etr});var ku=c((IZr,B1)=>{"use strict";var Atr=me();function _tr(r){return Atr(r)==="[object Arguments]"}B1.exports=_tr});var V1=c((OZr,R1)=>{"use strict";var Ttr=ku(),F1;function jtr(){return Ttr(arguments)}F1=jtr();R1.exports=F1});var C1=c((NZr,z1)=>{"use strict";function Itr(r){return r!==r}z1.exports=Itr});var Bu=c((DZr,L1)=>{"use strict";var Otr=C1();L1.exports=Otr});var Fu=c((kZr,P1)=>{"use strict";var Ntr=Ge().isPrimitive,Dtr=Bu();function ktr(r){return Ntr(r)&&Dtr(r)}P1.exports=ktr});var Ru=c((BZr,U1)=>{"use strict";var Btr=Ge().isObject,Ftr=Bu();function Rtr(r){return Btr(r)&&Ftr(r.valueOf())}U1.exports=Rtr});var G1=c((FZr,M1)=>{"use strict";var Vtr=Fu(),ztr=Ru();function Ctr(r){return Vtr(r)||ztr(r)}M1.exports=Ctr});var zu=c((RZr,$1)=>{"use strict";var Y1=Ir(),Vu=G1(),Ltr=Fu(),Ptr=Ru();Y1(Vu,"isPrimitive",Ltr);Y1(Vu,"isObject",Ptr);$1.exports=Vu});var Cu=c((VZr,W1)=>{"use strict";var Utr=Object.prototype.propertyIsEnumerable;W1.exports=Utr});var K1=c((zZr,X1)=>{"use strict";var Mtr=Cu(),J1;function Gtr(){return!Mtr.call("beep","0")}J1=Gtr();X1.exports=J1});var Z1=c((CZr,H1)=>{"use strict";var Ytr=La(),$tr=zu().isPrimitive,Wtr=ve().isPrimitive,Jtr=Cu(),Xtr=K1();function Ktr(r,e){var a;return r==null?!1:(a=Jtr.call(r,e),!a&&Xtr&&Ytr(r)?(e=+e,!$tr(e)&&Wtr(e)&&e>=0&&e<r.length):a)}H1.exports=Ktr});var Mi=c((LZr,Q1)=>{"use strict";var Htr=Z1();Q1.exports=Htr});var an=c((PZr,rg)=>{"use strict";var Ztr=4294967295;rg.exports=Ztr});var ag=c((UZr,eg)=>{"use strict";var Qtr=Xr(),rir=Mi(),eir=qa(),air=wa(),tir=an();function iir(r){return r!==null&&typeof r=="object"&&!eir(r)&&typeof r.length=="number"&&air(r.length)&&r.length>=0&&r.length<=tir&&Qtr(r,"callee")&&!rir(r,"callee")}eg.exports=iir});var Pu=c((MZr,tg)=>{"use strict";var oir=V1(),nir=ku(),sir=ag(),Lu;oir?Lu=nir:Lu=sir;tg.exports=Lu});var ng=c((GZr,og)=>{"use strict";var uir=Pu(),ig=en(),vir=Array.prototype.slice;function fir(r){return uir(r)?ig(vir.call(r)):ig(r)}og.exports=fir});var ug=c((YZr,sg)=>{"use strict";function lir(){}sg.exports=lir});var fg=c(($Zr,vg)=>{"use strict";var cir=ug();vg.exports=cir});var cg=c((WZr,lg)=>{"use strict";var dir=Mi(),pir=fg(),yir=dir(pir,"prototype");lg.exports=yir});var pg=c((JZr,dg)=>{"use strict";var mir=Mi(),hir={toString:null},gir=!mir(hir,"toString");dg.exports=gir});var mg=c((XZr,yg)=>{"use strict";var bir=9007199254740991;yg.exports=bir});var gg=c((KZr,hg)=>{"use strict";var xir=wa(),qir=mg();function wir(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&xir(r.length)&&r.length>=0&&r.length<=qir}hg.exports=wir});var De=c((HZr,bg)=>{"use strict";var Sir=gg();bg.exports=Sir});var Sg=c((ZZr,wg)=>{"use strict";var xg=zu(),Eir=De(),Air=La().isPrimitive,_ir=ve().isPrimitive,qg=pr();function Tir(r,e,a){var t,o;if(!Eir(r)&&!Air(r))throw new TypeError(qg("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(t=r.length,t===0)return-1;if(arguments.length===3){if(!_ir(a))throw new TypeError(qg("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(a>=0){if(a>=t)return-1;o=a}else o=t+a,o<0&&(o=0)}else o=0;if(xg(e)){for(;o<t;o++)if(xg(r[o]))return o}else for(;o<t;o++)if(r[o]===e)return o;return-1}wg.exports=Tir});var Ag=c((QZr,Eg)=>{"use strict";var jir=Sg();Eg.exports=jir});var Uu=c((rQr,_g)=>{"use strict";function Iir(r){return r.constructor&&r.constructor.prototype===r}_g.exports=Iir});var Tg=c((eQr,Oir)=>{Oir.exports=["console","external","frame","frameElement","frames","innerHeight","innerWidth","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","scrollLeft","scrollTop","scrollX","scrollY","self","webkitIndexedDB","webkitStorageInfo","window"]});var Ig=c((aQr,jg)=>{"use strict";var Nir=typeof window>"u"?void 0:window;jg.exports=Nir});var kg=c((tQr,Dg)=>{"use strict";var Dir=Xr(),kir=Ag(),Og=ui(),Bir=Uu(),Fir=Tg(),ci=Ig(),Ng;function Rir(){var r;if(Og(ci)==="undefined")return!1;for(r in ci)try{kir(Fir,r)===-1&&Dir(ci,r)&&ci[r]!==null&&Og(ci[r])==="object"&&Bir(ci[r])}catch{return!0}return!1}Ng=Rir();Dg.exports=Ng});var Fg=c((iQr,Bg)=>{"use strict";var Vir=typeof window<"u";Bg.exports=Vir});var zg=c((oQr,Vg)=>{"use strict";var zir=kg(),Rg=Uu(),Cir=Fg();function Lir(r){if(Cir===!1&&!zir)return Rg(r);try{return Rg(r)}catch{return!1}}Vg.exports=Lir});var Cg=c((nQr,Pir)=>{Pir.exports=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]});var Ug=c((sQr,Pg)=>{"use strict";var Uir=Ko(),Mu=Xr(),Mir=Pu(),Gir=cg(),Yir=pg(),$ir=zg(),Lg=Cg();function Wir(r){var e,a,t,o,i,n,s;if(o=[],Mir(r)){for(s=0;s<r.length;s++)o.push(s.toString());return o}if(typeof r=="string"){if(r.length>0&&!Mu(r,"0"))for(s=0;s<r.length;s++)o.push(s.toString())}else{if(t=typeof r=="function",t===!1&&!Uir(r))return o;a=Gir&&t}for(i in r)!(a&&i==="prototype")&&Mu(r,i)&&o.push(String(i));if(Yir)for(e=$ir(r),s=0;s<Lg.length;s++)n=Lg[s],!(e&&n==="constructor")&&Mu(r,n)&&o.push(String(n));return o}Pg.exports=Wir});var Gg=c((uQr,Mg)=>{"use strict";var Jir=N1(),Xir=k1(),Kir=en(),Hir=ng(),Zir=Ug(),tn;Xir?Jir()?tn=Hir:tn=Kir:tn=Zir;Mg.exports=tn});var Ea=c((vQr,Yg)=>{"use strict";var Qir=Gg();Yg.exports=Qir});var Wg=c((fQr,$g)=>{"use strict";var ror=Rt(),eor=Ea();function aor(r,e){var a,t,o;for(a=eor(e),o=0;o<a.length;o++)t=a[o],ror(r,t,e[t]);return r}$g.exports=aor});var ke=c((lQr,Xg)=>{"use strict";var tor=Ir(),Gu=_1(),Jg=j1(),ior=Wg();tor(Gu,"enum",Jg);ior(Gu,Jg());Xg.exports=Gu});var Kg=c((cQr,oor)=>{oor.exports=["row-major","column-major"]});var Zg=c((dQr,Hg)=>{"use strict";var nor=Kg();function sor(){return nor.slice()}Hg.exports=sor});var Qg=c((pQr,uor)=>{uor.exports=["row-major","column-major"]});var e2=c((yQr,r2)=>{"use strict";var vor=Qg();function lor(){return vor.slice()}r2.exports=lor});var t2=c((mQr,a2)=>{"use strict";function cor(){return{"row-major":101,"column-major":102}}a2.exports=cor});var Yu=c((hQr,o2)=>{"use strict";var dor=Ir(),i2=e2(),por=t2();dor(i2,"enum",por);o2.exports=i2});var u2=c((gQr,s2)=>{"use strict";var yor=Yu().enum,n2=yor();function mor(){return{"row-major":n2["row-major"],"column-major":n2["column-major"]}}s2.exports=mor});var Yt=c((bQr,f2)=>{"use strict";var hor=Ir(),v2=Zg(),gor=u2();hor(v2,"enum",gor);f2.exports=v2});var l2=c((xQr,bor)=>{bor.exports=["throw","normalize","clamp","wrap"]});var d2=c((qQr,c2)=>{"use strict";var xor=l2();function qor(){return xor.slice()}c2.exports=qor});var y2=c((wQr,p2)=>{"use strict";function wor(){return{throw:1,clamp:2,wrap:3,normalize:4}}p2.exports=wor});var $t=c((SQr,h2)=>{"use strict";var Sor=Ir(),m2=d2(),Eor=y2();Sor(m2,"enum",Eor);h2.exports=m2});var x2=c((EQr,b2)=>{"use strict";var qt=Mt(),Aor=li(),_or=Gt(),Gi=Du(),Tor=ke().enum,jor=Yt().enum,Ior=$t().enum,Oor=Tor(),Nor=jor(),g2=Ior();function Dor(){var r,e,a,t,o,i,n,s,u,v,f,l,p,m;if(u=this._mode||"throw",n=this._submode||[u],l=this._ndims,p=n.length,a=33+l*16+p,s=this.__meta_dataview__,s&&s.byteLength===a)return s;for(s=new _or(new Aor(a)),o=this._shape,i=this._strides,t=this._dtype,r=this._bytesPerElement,v=0,s.setInt8(v,qt?1:0),v+=1,s.setInt16(v,Oor[t],qt),v+=2,s.setBigInt64(v,Gi(l),qt),f=l*8,v+=8,m=0;m<l;m++)s.setBigInt64(v,Gi(o[m]),qt),s.setBigInt64(v+f,Gi(i[m]*r),qt),v+=8;for(v+=f,s.setBigInt64(v,Gi(this._offset*r),qt),v+=8,s.setInt8(v,Nor[this._order]),v+=1,s.setInt8(v,g2[u]),v+=1,s.setBigInt64(v,Gi(p),qt),v+=8,m=0;m<p;m++)s.setInt8(v,g2[n[m]]),v+=1;return e=0,e|=this._flags.READONLY?4:0,s.setInt32(v,e,qt),this.__meta_dataview__=s,s}b2.exports=Dor});var w2=c((AQr,q2)=>{"use strict";var Yi=Mt(),kor=va(),Bor=Gt(),For=ea(),Ror=4294967295,Vor=4294967296;function zor(r){var e,a,t,o;return e=new kor(8),r===0||(o=(r&Ror)>>>0,t=For(r/Vor),a=new Bor(e.buffer),Yi?(a.setUint32(0,o,Yi),a.setUint32(4,t,Yi)):(a.setUint32(0,t,Yi),a.setUint32(4,o,Yi))),e}q2.exports=zor});var E2=c((_Qr,S2)=>{"use strict";var $i=Mt(),Cor=va(),Lor=Gt(),Por=ea(),Uor=4294967295,Mor=4294967296,nn=new Cor(8),on=new Lor(nn.buffer);function Gor(r,e,a,t){var o,i,n;if(r===0){for(n=0;n<nn.length;n++)e[t]=0,t+=a;return e}for(i=(r&Uor)>>>0,o=Por(r/Mor),$i?(on.setUint32(0,i,$i),on.setUint32(4,o,$i)):(on.setUint32(0,o,$i),on.setUint32(4,i,$i)),n=0;n<nn.length;n++)e[t]=nn[n],t+=a;return e}S2.exports=Gor});var $u=c((TQr,_2)=>{"use strict";var Yor=Ir(),A2=w2(),$or=E2();Yor(A2,"assign",$or);_2.exports=A2});var I2=c((jQr,j2)=>{"use strict";var Wu=Mt(),Wor=li(),Jor=Gt(),Xor=va(),Kor=ke().enum,Hor=Yt().enum,Zor=$t().enum,Wi=$u().assign,Qor=Kor(),rnr=Hor(),T2=Zor();function enr(){var r,e,a,t,o,i,n,s,u,v,f,l,p,m,d;if(v=this._mode||"throw",s=this._submode||[v],p=this._ndims,m=s.length,t=33+p*16+m,u=this.__meta_dataview__,u&&u.byteLength===t)return u;for(u=new Jor(new Wor(t)),e=new Xor(u.buffer),i=this._shape,n=this._strides,o=this._dtype,r=this._bytesPerElement,f=0,u.setInt8(f,Wu?1:0),f+=1,u.setInt16(f,Qor[o],Wu),f+=2,Wi(p,e,1,f),l=p*8,f+=8,d=0;d<p;d++)Wi(i[d],e,1,f),Wi(n[d]*r,e,1,f+l),f+=8;for(f+=l,Wi(this._offset*r,e,1,f),f+=8,u.setInt8(f,rnr[this._order]),f+=1,u.setInt8(f,T2[v]),f+=1,Wi(m,e,1,f),f+=8,d=0;d<m;d++)u.setInt8(f,T2[s[d]]),f+=1;return a=0,a|=this._flags.READONLY?4:0,u.setInt32(f,a,Wu),this.__meta_dataview__=u,u}j2.exports=enr});var N2=c((IQr,O2)=>{"use strict";var anr=yu(),wt=Ir(),Aa=gt(),tnr=bt(),inr=Sa(),onr=Lt(),nnr=Vt(),snr=ky(),unr=Fy(),vnr=My(),fnr=Yy(),lnr=Wy(),cnr=Xy(),dnr=Hy(),pnr=Qy(),ynr=sm(),mnr=Cm(),hnr=x2(),gnr=I2();function be(r,e,a,t,o,i){var n,s,u,v,f;if(!(this instanceof be))return new be(r,e,a,t,o,i);for(v=1,f=0;f<a.length;f++)v*=a[f];return e.BYTES_PER_ELEMENT?s=e.BYTES_PER_ELEMENT*v:s=null,this._byteLength=s,this._bytesPerElement=tnr(r),this._buffer=e,this._dtype=r,this._length=v,this._ndims=a.length,this._offset=o,this._order=i,this._shape=a,this._strides=t,this._accessors=nnr(e.get&&e.set),this._iterationOrder=inr(t),n=vnr(v,a,t,o,this._iterationOrder),u=onr(t),this._flags={ROW_MAJOR_CONTIGUOUS:unr(u,n),COLUMN_MAJOR_CONTIGUOUS:snr(u,n),READONLY:!1},this.__meta_dataview__=null,this}wt(be,"name","ndarray");Aa(be.prototype,"byteLength",function(){return this._byteLength});Aa(be.prototype,"BYTES_PER_ELEMENT",function(){return this._bytesPerElement});Aa(be.prototype,"data",function(){return this._buffer});Aa(be.prototype,"dtype",function(){return this._dtype});Aa(be.prototype,"flags",function(){return fnr(this._flags)});Aa(be.prototype,"length",function(){return this._length});Aa(be.prototype,"ndims",function(){return this._ndims});Aa(be.prototype,"offset",function(){return this._offset});Aa(be.prototype,"order",function(){return this._order});Aa(be.prototype,"shape",function(){return this._shape.slice()});Aa(be.prototype,"strides",function(){return this._strides.slice()});wt(be.prototype,"get",pnr);wt(be.prototype,"iget",lnr);wt(be.prototype,"set",dnr);wt(be.prototype,"iset",cnr);wt(be.prototype,"toString",mnr);wt(be.prototype,"toJSON",ynr);wt(be.prototype,"__array_meta_dataview__",anr()?hnr:gnr);O2.exports=be});var aa=c((OQr,D2)=>{"use strict";var bnr=N2();D2.exports=bnr});var B2=c((NQr,k2)=>{"use strict";var xnr=aa();function qnr(r){return r instanceof xnr||r!==null&&typeof r=="object"&&typeof r.data=="object"&&typeof r.shape=="object"&&typeof r.strides=="object"&&typeof r.offset=="number"&&typeof r.order=="string"&&typeof r.ndims=="number"&&typeof r.dtype=="string"&&typeof r.length=="number"&&typeof r.flags=="object"&&typeof r.get=="function"&&typeof r.set=="function"}k2.exports=qnr});var se=c((DQr,F2)=>{"use strict";var wnr=B2();F2.exports=wnr});var V2=c((kQr,R2)=>{"use strict";function Snr(r){var e,a,t,o;for(e=r.length,a=[],o=0;o<e;o++)a.push(0);for(t=1,o=e-1;o>=0;o--)a[o]=t,t*=r[o];return a}function Enr(r){var e,a,t;for(e=[],a=1,t=0;t<r.length;t++)e.push(a),a*=r[t];return e}function Anr(r,e){return e==="column-major"?Enr(r):Snr(r)}R2.exports=Anr});var C2=c((BQr,z2)=>{"use strict";function _nr(r,e){var a,t,o;for(a=r.length,t=1,o=a-1;o>=0;o--)e[o]=t,t*=r[o];return e}function Tnr(r,e){var a,t;for(a=1,t=0;t<r.length;t++)e[t]=a,a*=r[t];return e}function jnr(r,e,a){return e==="column-major"?Tnr(r,a):_nr(r,a)}z2.exports=jnr});var Ve=c((FQr,P2)=>{"use strict";var Inr=Ir(),L2=V2(),Onr=C2();Inr(L2,"assign",Onr);P2.exports=L2});var M2=c((RQr,U2)=>{"use strict";function Nnr(r,e){var a,t,o;for(t=r.length,a=0,o=0;o<t;o++)e[o]<0&&(a-=e[o]*(r[o]-1));return a}U2.exports=Nnr});var Ye=c((VQr,G2)=>{"use strict";var Dnr=M2();G2.exports=Dnr});var $2=c((zQr,Y2)=>{"use strict";function knr(r){var e,a,t;if(e=r.length,e===0)return 0;for(a=1,t=0;t<e;t++)a*=r[t];return a}Y2.exports=knr});var Jr=c((CQr,W2)=>{"use strict";var Bnr=$2();W2.exports=Bnr});var Ju=c((LQr,J2)=>{"use strict";var Fnr=4294967295;J2.exports=Fnr});var K2=c((PQr,X2)=>{"use strict";var Rnr=wa(),Vnr=Ju();function znr(r){return r!=null&&typeof r!="function"&&typeof r.length=="number"&&Rnr(r.length)&&r.length>=0&&r.length<=Vnr}X2.exports=znr});var sn=c((UQr,H2)=>{"use strict";var Cnr=K2();H2.exports=Cnr});var Q2=c((MQr,Z2)=>{"use strict";var Lnr=sn(),Pnr=pr();function Unr(r){if(typeof r!="function")throw new TypeError(Pnr("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!Lnr(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}Z2.exports=Unr});var un=c((GQr,rb)=>{"use strict";var Mnr=Q2();rb.exports=Mnr});var Wt=c((YQr,ab)=>{"use strict";var Xu=ge(),eb=Ir(),Ku=un(),Gnr=Ku(Xu.isPrimitive),Ynr=Ku(Xu.isObject),Hu=Ku(Xu);eb(Hu,"primitives",Gnr);eb(Hu,"objects",Ynr);ab.exports=Hu});var ev=c(($Qr,ib)=>{"use strict";var Zu=ve(),tb=Ir(),Qu=un(),$nr=Qu(Zu.isPrimitive),Wnr=Qu(Zu.isObject),rv=Qu(Zu);tb(rv,"primitives",$nr);tb(rv,"objects",Wnr);ib.exports=rv});var sb=c((WQr,nb)=>{"use strict";var Jnr=Yt(),ob=Jnr(),Xnr=ob.length;function Knr(r){var e;for(e=0;e<Xnr;e++)if(r===ob[e])return!0;return!1}nb.exports=Knr});var _a=c((JQr,ub)=>{"use strict";var Hnr=sb();ub.exports=Hnr});var lb=c((XQr,fb)=>{"use strict";var vb="function";function Znr(r){return typeof r.get===vb&&typeof r.set===vb}fb.exports=Znr});var tt=c((KQr,cb)=>{"use strict";var Qnr=lb();cb.exports=Qnr});var yb=c((HQr,pb)=>{"use strict";var db={complex128:rsr,complex64:esr,default:asr};function rsr(r,e){return r.get(e)}function esr(r,e){return r.get(e)}function asr(r,e){return r.get(e)}function tsr(r){var e=db[r];return typeof e=="function"?e:db.default}pb.exports=tsr});var it=c((ZQr,mb)=>{"use strict";var isr=yb();mb.exports=isr});var bb=c((QQr,gb)=>{"use strict";var hb={float64:osr,float32:nsr,int32:ssr,int16:usr,int8:vsr,uint32:fsr,uint16:lsr,uint8:csr,uint8c:dsr,generic:psr,default:ysr};function osr(r,e){return r[e]}function nsr(r,e){return r[e]}function ssr(r,e){return r[e]}function usr(r,e){return r[e]}function vsr(r,e){return r[e]}function fsr(r,e){return r[e]}function lsr(r,e){return r[e]}function csr(r,e){return r[e]}function dsr(r,e){return r[e]}function psr(r,e){return r[e]}function ysr(r,e){return r[e]}function msr(r){var e=hb[r];return typeof e=="function"?e:hb.default}gb.exports=msr});var St=c((rre,xb)=>{"use strict";var hsr=bb();xb.exports=hsr});var wb=c((ere,qb)=>{"use strict";var gsr={Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};qb.exports=gsr});var Eb=c((are,Sb)=>{"use strict";var bsr=me(),xsr=typeof Float32Array=="function";function qsr(r){return xsr&&r instanceof Float32Array||bsr(r)==="[object Float32Array]"}Sb.exports=qsr});var _b=c((tre,Ab)=>{"use strict";var wsr=Eb();Ab.exports=wsr});var jb=c((ire,Tb)=>{"use strict";var Ssr=typeof Float32Array=="function"?Float32Array:null;Tb.exports=Ssr});var Nb=c((ore,Ob)=>{"use strict";var Esr=_b(),Asr=Pi(),Ib=jb();function _sr(){var r,e;if(typeof Ib!="function")return!1;try{e=new Ib([1,3.14,-3.14,5e40]),r=Esr(e)&&e[0]===1&&e[1]===3.140000104904175&&e[2]===-3.140000104904175&&e[3]===Asr}catch{r=!1}return r}Ob.exports=_sr});var kb=c((nre,Db)=>{"use strict";var Tsr=Nb();Db.exports=Tsr});var Fb=c((sre,Bb)=>{"use strict";var jsr=typeof Float32Array=="function"?Float32Array:void 0;Bb.exports=jsr});var Vb=c((ure,Rb)=>{"use strict";function Isr(){throw new Error("not implemented")}Rb.exports=Isr});var Et=c((vre,zb)=>{"use strict";var Osr=kb(),Nsr=Fb(),Dsr=Vb(),av;Osr()?av=Nsr:av=Dsr;zb.exports=av});var Lb=c((fre,Cb)=>{"use strict";var ksr=me(),Bsr=typeof Uint32Array=="function";function Fsr(r){return Bsr&&r instanceof Uint32Array||ksr(r)==="[object Uint32Array]"}Cb.exports=Fsr});var Ub=c((lre,Pb)=>{"use strict";var Rsr=Lb();Pb.exports=Rsr});var Gb=c((cre,Mb)=>{"use strict";var Vsr=typeof Uint32Array=="function"?Uint32Array:null;Mb.exports=Vsr});var Wb=c((dre,$b)=>{"use strict";var zsr=Ub(),tv=an(),Yb=Gb();function Csr(){var r,e;if(typeof Yb!="function")return!1;try{e=[1,3.14,-3.14,tv+1,tv+2],e=new Yb(e),r=zsr(e)&&e[0]===1&&e[1]===3&&e[2]===tv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}$b.exports=Csr});var Xb=c((pre,Jb)=>{"use strict";var Lsr=Wb();Jb.exports=Lsr});var Hb=c((yre,Kb)=>{"use strict";var Psr=typeof Uint32Array=="function"?Uint32Array:void 0;Kb.exports=Psr});var Qb=c((mre,Zb)=>{"use strict";function Usr(){throw new Error("not implemented")}Zb.exports=Usr});var Ji=c((hre,rx)=>{"use strict";var Msr=Xb(),Gsr=Hb(),Ysr=Qb(),iv;Msr()?iv=Gsr:iv=Ysr;rx.exports=iv});var ax=c((gre,ex)=>{"use strict";var $sr=me(),Wsr=typeof Int32Array=="function";function Jsr(r){return Wsr&&r instanceof Int32Array||$sr(r)==="[object Int32Array]"}ex.exports=Jsr});var ix=c((bre,tx)=>{"use strict";var Xsr=ax();tx.exports=Xsr});var ov=c((xre,ox)=>{"use strict";var Ksr=2147483647;ox.exports=Ksr});var nv=c((qre,nx)=>{"use strict";var Hsr=-2147483648;nx.exports=Hsr});var ux=c((wre,sx)=>{"use strict";var Zsr=typeof Int32Array=="function"?Int32Array:null;sx.exports=Zsr});var lx=c((Sre,fx)=>{"use strict";var Qsr=ix(),rur=ov(),eur=nv(),vx=ux();function aur(){var r,e;if(typeof vx!="function")return!1;try{e=new vx([1,3.14,-3.14,rur+1]),r=Qsr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===eur}catch{r=!1}return r}fx.exports=aur});var dx=c((Ere,cx)=>{"use strict";var tur=lx();cx.exports=tur});var yx=c((Are,px)=>{"use strict";var iur=typeof Int32Array=="function"?Int32Array:void 0;px.exports=iur});var hx=c((_re,mx)=>{"use strict";function our(){throw new Error("not implemented")}mx.exports=our});var Xi=c((Tre,gx)=>{"use strict";var nur=dx(),sur=yx(),uur=hx(),sv;nur()?sv=sur:sv=uur;gx.exports=sv});var xx=c((jre,bx)=>{"use strict";var vur=me(),fur=typeof Int16Array=="function";function lur(r){return fur&&r instanceof Int16Array||vur(r)==="[object Int16Array]"}bx.exports=lur});var wx=c((Ire,qx)=>{"use strict";var cur=xx();qx.exports=cur});var uv=c((Ore,Sx)=>{"use strict";var dur=32767;Sx.exports=dur});var vv=c((Nre,Ex)=>{"use strict";var pur=-32768;Ex.exports=pur});var _x=c((Dre,Ax)=>{"use strict";var yur=typeof Int16Array=="function"?Int16Array:null;Ax.exports=yur});var Ix=c((kre,jx)=>{"use strict";var mur=wx(),hur=uv(),gur=vv(),Tx=_x();function bur(){var r,e;if(typeof Tx!="function")return!1;try{e=new Tx([1,3.14,-3.14,hur+1]),r=mur(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===gur}catch{r=!1}return r}jx.exports=bur});var Nx=c((Bre,Ox)=>{"use strict";var xur=Ix();Ox.exports=xur});var kx=c((Fre,Dx)=>{"use strict";var qur=typeof Int16Array=="function"?Int16Array:void 0;Dx.exports=qur});var Fx=c((Rre,Bx)=>{"use strict";function wur(){throw new Error("not implemented")}Bx.exports=wur});var Ki=c((Vre,Rx)=>{"use strict";var Sur=Nx(),Eur=kx(),Aur=Fx(),fv;Sur()?fv=Eur:fv=Aur;Rx.exports=fv});var zx=c((zre,Vx)=>{"use strict";var _ur=me(),Tur=typeof Uint8ClampedArray=="function";function jur(r){return Tur&&r instanceof Uint8ClampedArray||_ur(r)==="[object Uint8ClampedArray]"}Vx.exports=jur});var Lx=c((Cre,Cx)=>{"use strict";var Iur=zx();Cx.exports=Iur});var Ux=c((Lre,Px)=>{"use strict";var Our=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;Px.exports=Our});var Yx=c((Pre,Gx)=>{"use strict";var Nur=Lx(),Mx=Ux();function Dur(){var r,e;if(typeof Mx!="function")return!1;try{e=new Mx([-1,0,1,3.14,4.99,255,256]),r=Nur(e)&&e[0]===0&&e[1]===0&&e[2]===1&&e[3]===3&&e[4]===5&&e[5]===255&&e[6]===255}catch{r=!1}return r}Gx.exports=Dur});var Wx=c((Ure,$x)=>{"use strict";var kur=Yx();$x.exports=kur});var Xx=c((Mre,Jx)=>{"use strict";var Bur=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Jx.exports=Bur});var Hx=c((Gre,Kx)=>{"use strict";function Fur(){throw new Error("not implemented")}Kx.exports=Fur});var Hi=c((Yre,Zx)=>{"use strict";var Rur=Wx(),Vur=Xx(),zur=Hx(),lv;Rur()?lv=Vur:lv=zur;Zx.exports=lv});var rq=c(($re,Qx)=>{"use strict";var Cur=me(),Lur=typeof Int8Array=="function";function Pur(r){return Lur&&r instanceof Int8Array||Cur(r)==="[object Int8Array]"}Qx.exports=Pur});var aq=c((Wre,eq)=>{"use strict";var Uur=rq();eq.exports=Uur});var cv=c((Jre,tq)=>{"use strict";var Mur=127;tq.exports=Mur});var dv=c((Xre,iq)=>{"use strict";var Gur=-128;iq.exports=Gur});var nq=c((Kre,oq)=>{"use strict";var Yur=typeof Int8Array=="function"?Int8Array:null;oq.exports=Yur});var vq=c((Hre,uq)=>{"use strict";var $ur=aq(),Wur=cv(),Jur=dv(),sq=nq();function Xur(){var r,e;if(typeof sq!="function")return!1;try{e=new sq([1,3.14,-3.14,Wur+1]),r=$ur(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===Jur}catch{r=!1}return r}uq.exports=Xur});var lq=c((Zre,fq)=>{"use strict";var Kur=vq();fq.exports=Kur});var dq=c((Qre,cq)=>{"use strict";var Hur=typeof Int8Array=="function"?Int8Array:void 0;cq.exports=Hur});var yq=c((ree,pq)=>{"use strict";function Zur(){throw new Error("not implemented")}pq.exports=Zur});var Zi=c((eee,mq)=>{"use strict";var Qur=lq(),rvr=dq(),evr=yq(),pv;Qur()?pv=rvr:pv=evr;mq.exports=pv});var gq=c((aee,hq)=>{"use strict";var avr=wa(),tvr=Ju();function ivr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&avr(r.length)&&r.length>=0&&r.length<=tvr}hq.exports=ivr});var ze=c((tee,bq)=>{"use strict";var ovr=gq();bq.exports=ovr});var vn=c((iee,qq)=>{"use strict";var xq=Ir(),yv=au(),mv=La(),nvr=yv(mv.isPrimitive),svr=yv(mv.isObject),hv=yv(mv);xq(hv,"primitives",nvr);xq(hv,"objects",svr);qq.exports=hv});var Sq=c((oee,wq)=>{"use strict";function uvr(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}wq.exports=uvr});var Aq=c((nee,Eq)=>{"use strict";function vvr(){var r={};return r.type="Complex128",r.re=this.re,r.im=this.im,r}Eq.exports=vvr});var Oq=c((see,Iq)=>{"use strict";var _q=Ge().isPrimitive,Tq=Ft(),Qi=Ir(),jq=pr(),fvr=Sq(),lvr=Aq();function Jt(r,e){if(!(this instanceof Jt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!_q(r))throw new TypeError(jq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!_q(e))throw new TypeError(jq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return Tq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:r}),Tq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:e}),this}Qi(Jt,"BYTES_PER_ELEMENT",8);Qi(Jt.prototype,"BYTES_PER_ELEMENT",8);Qi(Jt.prototype,"byteLength",16);Qi(Jt.prototype,"toString",fvr);Qi(Jt.prototype,"toJSON",lvr);Iq.exports=Jt});var fn=c((uee,Nq)=>{"use strict";var cvr=Oq();Nq.exports=cvr});var kq=c((vee,Dq)=>{"use strict";var dvr=typeof Math.fround=="function"?Math.fround:null;Dq.exports=dvr});var Rq=c((fee,Fq)=>{"use strict";var pvr=Et(),Bq=new pvr(1);function yvr(r){return Bq[0]=r,Bq[0]}Fq.exports=yvr});var Cq=c((lee,zq)=>{"use strict";var Vq=kq(),mvr=Rq(),gv;typeof Vq=="function"?gv=Vq:gv=mvr;zq.exports=gv});var Pq=c((cee,Lq)=>{"use strict";function hvr(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}Lq.exports=hvr});var Mq=c((dee,Uq)=>{"use strict";function gvr(){var r={};return r.type="Complex64",r.re=this.re,r.im=this.im,r}Uq.exports=gvr});var Xq=c((pee,Jq)=>{"use strict";var Gq=Ge().isPrimitive,Yq=Ft(),ro=Ir(),$q=Cq(),Wq=pr(),bvr=Pq(),xvr=Mq();function Xt(r,e){if(!(this instanceof Xt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Gq(r))throw new TypeError(Wq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!Gq(e))throw new TypeError(Wq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return Yq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:$q(r)}),Yq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:$q(e)}),this}ro(Xt,"BYTES_PER_ELEMENT",4);ro(Xt.prototype,"BYTES_PER_ELEMENT",4);ro(Xt.prototype,"byteLength",8);ro(Xt.prototype,"toString",bvr);ro(Xt.prototype,"toJSON",xvr);Jq.exports=Xt});var ln=c((yee,Kq)=>{"use strict";var qvr=Xq();Kq.exports=qvr});var Zq=c((mee,Hq)=>{"use strict";var wvr=fn(),Svr=ln();function Evr(r){return r instanceof wvr||r instanceof Svr?!0:typeof r=="object"&&r!==null&&typeof r.re=="number"&&typeof r.im=="number"}Hq.exports=Evr});var fa=c((hee,Qq)=>{"use strict";var Avr=Zq();Qq.exports=Avr});var ew=c((gee,rw)=>{"use strict";var _vr=wa();function Tvr(r){return _vr(r/2)}rw.exports=Tvr});var bv=c((bee,aw)=>{"use strict";var jvr=ew();aw.exports=jvr});var iw=c((xee,tw)=>{"use strict";var Ivr=8;function Ovr(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex64Array"&&r.BYTES_PER_ELEMENT===Ivr}tw.exports=Ovr});var cn=c((qee,ow)=>{"use strict";var Nvr=iw();ow.exports=Nvr});var sw=c((wee,nw)=>{"use strict";var Dvr=16;function kvr(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex128Array"&&r.BYTES_PER_ELEMENT===Dvr}nw.exports=kvr});var dn=c((See,uw)=>{"use strict";var Bvr=sw();uw.exports=Bvr});var fw=c((Eee,vw)=>{"use strict";var Fvr=Xr(),pn=Ws();function Rvr(){return typeof pn=="function"&&typeof pn("foo")=="symbol"&&Fvr(pn,"iterator")&&typeof pn.iterator=="symbol"}vw.exports=Rvr});var eo=c((Aee,lw)=>{"use strict";var Vvr=fw();lw.exports=Vvr});var dw=c((_ee,cw)=>{"use strict";var zvr=eo(),Cvr=zvr()?Symbol.iterator:null;cw.exports=Cvr});var Be=c((Tee,pw)=>{"use strict";var Lvr=dw();pw.exports=Lvr});var mw=c((jee,yw)=>{"use strict";function Pvr(r){return r.re}yw.exports=Pvr});var ao=c((Iee,hw)=>{"use strict";var Uvr=mw();hw.exports=Uvr});var bw=c((Oee,gw)=>{"use strict";function Mvr(r){return r.im}gw.exports=Mvr});var to=c((Nee,xw)=>{"use strict";var Gvr=bw();xw.exports=Gvr});var ww=c((Dee,qw)=>{"use strict";var Yvr=Et();function $vr(r,e){return new Yvr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}qw.exports=$vr});var io=c((kee,Sw)=>{"use strict";var Wvr=ww();Sw.exports=Wvr});var Aw=c((Bee,Ew)=>{"use strict";var Jvr=xt();function Xvr(r,e){return new Jvr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}Ew.exports=Xvr});var oo=c((Fee,_w)=>{"use strict";var Kvr=Aw();_w.exports=Kvr});var jw=c((Ree,Tw)=>{"use strict";var Hvr=ze(),Zvr=fa(),Qvr=ao(),rfr=to(),efr=pr();function afr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,Hvr(t)&&t.length>=2)e.push(t[0],t[1]);else if(Zvr(t))e.push(Qvr(t),rfr(t));else return new TypeError(efr("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",t));return e}Tw.exports=afr});var Ow=c((Vee,Iw)=>{"use strict";var tfr=ze(),ifr=fa(),ofr=ao(),nfr=to(),sfr=pr();function ufr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),tfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(ifr(i))t.push(ofr(i),nfr(i));else return new TypeError(sfr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",i));return t}Iw.exports=ufr});var Dw=c((zee,Nw)=>{"use strict";var vfr=fa(),ffr=ao(),lfr=to();function cfr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!vfr(t))return null;r[i]=ffr(t),r[i+1]=lfr(t),i+=2}return r}Nw.exports=cfr});var Cw=c((Cee,zw)=>{"use strict";var no=ge().isPrimitive,xv=ze(),qv=De(),kw=Ui(),wv=Ci(),dfr=qa(),pfr=vn().primitives,Bw=La().isPrimitive,Ee=Pe(),ca=fa(),yn=bv(),$e=wa(),yfr=cn(),mfr=dn(),hfr=eo(),Pa=Be(),Gr=Ir(),mn=gt(),la=Et(),gfr=ln(),Nr=pr(),Ta=ao(),ja=to(),bfr=ea(),xfr=io(),qfr=oo(),wfr=St(),Sfr=it(),Fw=jw(),Efr=Ow(),Afr=Dw(),ta=la.BYTES_PER_ELEMENT*2,Rw=hfr();function ee(r){return r instanceof zr||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Vw(r){return r===zr||r.name==="Complex128Array"}function xe(r,e){return e*=2,new gfr(r[e],r[e+1])}function zr(){var r,e,a,t;if(e=arguments.length,!(this instanceof zr))return e===0?new zr:e===1?new zr(arguments[0]):e===2?new zr(arguments[0],arguments[1]):new zr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new la(0);else if(e===1)if(no(arguments[0]))a=new la(arguments[0]*2);else if(qv(arguments[0]))if(a=arguments[0],t=a.length,t&&dfr(a)&&ca(a[0])){if(a=Afr(new la(t*2),a),a===null){if(!yn(t))throw new RangeError(Nr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new la(arguments[0])}}else{if(yfr(a))a=xfr(a,0);else if(mfr(a))a=qfr(a,0);else if(!yn(t))throw new RangeError(Nr("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new la(a)}else if(kw(arguments[0])){if(a=arguments[0],!$e(a.byteLength/ta))throw new RangeError(Nr("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",ta,a.byteLength));a=new la(a)}else if(wv(arguments[0])){if(a=arguments[0],Rw===!1)throw new TypeError(Nr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Ee(a[Pa]))throw new TypeError(Nr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Pa](),!Ee(a.next))throw new TypeError(Nr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=Fw(a),a instanceof Error)throw a;a=new la(a)}else throw new TypeError(Nr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!kw(a))throw new TypeError(Nr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!no(r))throw new TypeError(Nr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!$e(r/ta))throw new RangeError(Nr("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",ta,r));if(e===2){if(t=a.byteLength-r,!$e(t/ta))throw new RangeError(Nr("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",ta,t));a=new la(a,r)}else{if(t=arguments[2],!no(t))throw new TypeError(Nr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ta>a.byteLength-r)throw new RangeError(Nr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ta));a=new la(a,r,t*2)}}return Gr(this,"_buffer",a),Gr(this,"_length",a.length/2),this}Gr(zr,"BYTES_PER_ELEMENT",ta);Gr(zr,"name","Complex64Array");Gr(zr,"from",function(e){var a,t,o,i,n,s,u,v,f,l,p,m;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Vw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(t=arguments.length,t>1){if(o=arguments[1],!Ee(o))throw new TypeError(Nr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(ee(e)){if(v=e.length,o){for(i=new this(v),n=i._buffer,m=0,p=0;p<v;p++){if(l=o.call(a,e.get(p),p),ca(l))n[m]=Ta(l),n[m+1]=ja(l);else if(xv(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Nr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(qv(e)){if(o){for(v=e.length,e.get&&e.set?u=Sfr("default"):u=wfr("default"),p=0;p<v;p++)if(!ca(u(e,p))){f=!0;break}if(f){if(!yn(v))throw new RangeError(Nr("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,v));for(i=new this(v/2),n=i._buffer,p=0;p<v;p++)n[p]=o.call(a,u(e,p),p);return i}for(i=new this(v),n=i._buffer,m=0,p=0;p<v;p++){if(l=o.call(a,u(e,p),p),ca(l))n[m]=Ta(l),n[m+1]=ja(l);else if(xv(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Nr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(wv(e)&&Rw&&Ee(e[Pa])){if(n=e[Pa](),!Ee(n.next))throw new TypeError(Nr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=Efr(n,o,a):s=Fw(n),s instanceof Error)throw s;for(v=s.length/2,i=new this(v),n=i._buffer,p=0;p<v;p++)n[p]=s[p];return i}throw new TypeError(Nr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Gr(zr,"of",function(){var e,a;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Vw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});Gr(zr.prototype,"at",function(e){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$e(e))throw new TypeError(Nr("invalid argument. Must provide an integer. Value: `%s`.",e));if(e<0&&(e+=this._length),!(e<0||e>=this._length))return xe(this._buffer,e)});mn(zr.prototype,"buffer",function(){return this._buffer.buffer});mn(zr.prototype,"byteLength",function(){return this._buffer.byteLength});mn(zr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Gr(zr.prototype,"BYTES_PER_ELEMENT",zr.BYTES_PER_ELEMENT);Gr(zr.prototype,"copyWithin",function(e,a){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(e*2,a*2):this._buffer.copyWithin(e*2,a*2,arguments[2]*2),this});Gr(zr.prototype,"entries",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},Gr(a,"next",s),Gr(a,"return",u),Pa&&Gr(a,Pa,v),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,xe(o,n)],done:!1}}function u(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return e.entries()}});Gr(zr.prototype,"every",function(e,a){var t,o;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,xe(t,o),o,this))return!1;return!0});Gr(zr.prototype,"fill",function(e,a,t){var o,i,n,s,u,v;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(Nr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!$e(t))throw new TypeError(Nr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=Ta(e),u=ja(e),v=a;v<t;v++)n=2*v,o[n]=s,o[n+1]=u;return this});Gr(zr.prototype,"filter",function(e,a){var t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=xe(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Gr(zr.prototype,"find",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=xe(t,o),e.call(a,i,o,this))return i});Gr(zr.prototype,"findIndex",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=xe(t,o),e.call(a,i,o,this))return o;return-1});Gr(zr.prototype,"findLast",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=xe(t,o),e.call(a,i,o,this))return i});Gr(zr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=xe(t,o),e.call(a,i,o,this))return o;return-1});Gr(zr.prototype,"forEach",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)i=xe(t,o),e.call(a,i,o,this)});Gr(zr.prototype,"get",function(e){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!no(e))throw new TypeError(Nr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return xe(this._buffer,e)});Gr(zr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(Nr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ta(e),n=ja(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Gr(zr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(Nr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ta(e),n=ja(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Gr(zr.prototype,"join",function(e){var a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(Bw(e))o=e;else throw new TypeError(Nr("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(xe(t,i).toString());return a.join(o)});Gr(zr.prototype,"keys",function(){var e,a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Gr(a,"next",n),Gr(a,"return",s),Pa&&Gr(a,Pa,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});Gr(zr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(Nr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(i=Ta(e),n=ja(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});mn(zr.prototype,"length",function(){return this._length});Gr(zr.prototype,"map",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,xe(o,n),n,this),ca(s))t[2*n]=Ta(s),t[2*n+1]=ja(s);else if(xv(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(Nr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Gr(zr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=xe(t,0),s=1}for(;s<i;s++)n=xe(t,s),o=e(o,n,s,this);return o});Gr(zr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=xe(t,i-1),s=i-2}for(;s>=0;s--)n=xe(t,s),o=e(o,n,s,this);return o});Gr(zr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=bfr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Gr(zr.prototype,"set",function(e){var a,t,o,i,n,s,u,v,f;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!no(t))throw new TypeError(Nr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(ca(e)){if(t>=this._length)throw new RangeError(Nr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Ta(e),o[t+1]=ja(e);return}if(ee(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*ta,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new la(a.length),v=0;v<a.length;v++)i[v]=a[v];a=i}for(t*=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(qv(e)){for(s=e.length,v=0;v<s;v++)if(!ca(e[v])){n=!0;break}if(n){if(!yn(s))throw new RangeError(Nr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ta,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new la(s),v=0;v<s;v++)i[v]=a[v];a=i}for(t*=2,s/=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,v=0;v<s;v++)u=e[v],o[t]=Ta(u),o[t+1]=ja(u),t+=2;return}throw new TypeError(Nr("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Gr(zr.prototype,"slice",function(e,a){var t,o,i,n,s,u,v;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,u=this._length,arguments.length===0)e=0,a=u;else{if(!$e(e))throw new TypeError(Nr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=u,e<0&&(e=0)),arguments.length===1)a=u;else{if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=u,a<0&&(a=0)):a>u&&(a=u)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)n=2*(v+e),o[2*v]=s[n],o[2*v+1]=s[n+1];return i});Gr(zr.prototype,"some",function(e,a){var t,o;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,xe(t,o),o,this))return!0;return!1});Gr(zr.prototype,"sort",function(e){var a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(xe(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=Ta(a[i]),t[n+1]=ja(a[i]);return this});Gr(zr.prototype,"subarray",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!$e(e))throw new TypeError(Nr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*ta):(i=a-e,t=o.byteOffset+e*ta),new this.constructor(o.buffer,t,i<0?0:i)});Gr(zr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Bw(e)||pfr(e))o=e;else throw new TypeError(Nr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(wv(a))t=a;else throw new TypeError(Nr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(xe(n,s).toLocaleString(o,t));return i.join(",")});Gr(zr.prototype,"toReversed",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Gr(zr.prototype,"toSorted",function(e){var a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(Nr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(xe(t,i));return a.sort(e),new zr(a)});Gr(zr.prototype,"toString",function(){var e,a,t;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)e.push(xe(a,t).toString());return e.join(",")});Gr(zr.prototype,"values",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Gr(e,"next",s),Gr(e,"return",u),Pa&&Gr(e,Pa,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:xe(i,n),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});Gr(zr.prototype,"with",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$e(e))throw new TypeError(Nr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Nr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!ca(a))throw new TypeError(Nr("invalid argument. Second argument must be a complex number. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,t[2*e]=Ta(a),t[2*e+1]=ja(a),o});zw.exports=zr});var so=c((Lee,Lw)=>{"use strict";var _fr=Cw();Lw.exports=_fr});var Uw=c((Pee,Pw)=>{"use strict";var Tfr=ze(),jfr=fa(),Ifr=pr(),Ofr=Pt(),Nfr=Ut();function Dfr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,Tfr(t)&&t.length>=2)e.push(t[0],t[1]);else if(jfr(t))e.push(Ofr(t),Nfr(t));else return new TypeError(Ifr("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",t));return e}Pw.exports=Dfr});var Gw=c((Uee,Mw)=>{"use strict";var kfr=ze(),Bfr=fa(),Ffr=pr(),Rfr=Pt(),Vfr=Ut();function zfr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),kfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(Bfr(i))t.push(Rfr(i),Vfr(i));else return new TypeError(Ffr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",i));return t}Mw.exports=zfr});var $w=c((Mee,Yw)=>{"use strict";var Cfr=fa(),Lfr=Pt(),Pfr=Ut();function Ufr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!Cfr(t))return null;r[i]=Lfr(t),r[i+1]=Pfr(t),i+=2}return r}Yw.exports=Ufr});var r3=c((Gee,Qw)=>{"use strict";var uo=ge().isPrimitive,Sv=ze(),Ev=De(),Ww=Ui(),Av=Ci(),Mfr=qa(),Gfr=vn().primitives,Jw=La(),Ae=Pe(),pa=fa(),hn=bv(),We=wa(),Yfr=cn(),$fr=dn(),Wfr=eo(),Ua=Be(),Yr=Ir(),gn=gt(),da=xt(),Xw=fn(),Ia=Pt(),Oa=Ut(),Jfr=ea(),Xfr=io(),Kfr=oo(),Hfr=St(),Zfr=it(),Dr=pr(),Kw=Uw(),Qfr=Gw(),rlr=$w(),ia=da.BYTES_PER_ELEMENT*2,Hw=Wfr();function ae(r){return r instanceof Cr||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Zw(r){return r===Cr||r.name==="Complex64Array"}function we(r,e){return e*=2,new Xw(r[e],r[e+1])}function Cr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Cr))return e===0?new Cr:e===1?new Cr(arguments[0]):e===2?new Cr(arguments[0],arguments[1]):new Cr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new da(0);else if(e===1)if(uo(arguments[0]))a=new da(arguments[0]*2);else if(Ev(arguments[0]))if(a=arguments[0],t=a.length,t&&Mfr(a)&&pa(a[0])){if(a=rlr(new da(t*2),a),a===null){if(!hn(t))throw new RangeError(Dr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new da(arguments[0])}}else{if(Yfr(a))a=Xfr(a,0);else if($fr(a))a=Kfr(a,0);else if(!hn(t))throw new RangeError(Dr("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new da(a)}else if(Ww(arguments[0])){if(a=arguments[0],!We(a.byteLength/ia))throw new RangeError(Dr("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",ia,a.byteLength));a=new da(a)}else if(Av(arguments[0])){if(a=arguments[0],Hw===!1)throw new TypeError(Dr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Ae(a[Ua]))throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Ua](),!Ae(a.next))throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=Kw(a),a instanceof Error)throw a;a=new da(a)}else throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!Ww(a))throw new TypeError(Dr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!uo(r))throw new TypeError(Dr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!We(r/ia))throw new RangeError(Dr("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",ia,r));if(e===2){if(t=a.byteLength-r,!We(t/ia))throw new RangeError(Dr("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",ia,t));a=new da(a,r)}else{if(t=arguments[2],!uo(t))throw new TypeError(Dr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ia>a.byteLength-r)throw new RangeError(Dr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ia));a=new da(a,r,t*2)}}return Yr(this,"_buffer",a),Yr(this,"_length",a.length/2),this}Yr(Cr,"BYTES_PER_ELEMENT",ia);Yr(Cr,"name","Complex128Array");Yr(Cr,"from",function(e){var a,t,o,i,n,s,u,v,f,l,p,m;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Zw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(t=arguments.length,t>1){if(o=arguments[1],!Ae(o))throw new TypeError(Dr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(ae(e)){if(v=e.length,o){for(i=new this(v),n=i._buffer,m=0,p=0;p<v;p++){if(l=o.call(a,e.get(p),p),pa(l))n[m]=Ia(l),n[m+1]=Oa(l);else if(Sv(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(Ev(e)){if(o){for(v=e.length,e.get&&e.set?u=Zfr("default"):u=Hfr("default"),p=0;p<v;p++)if(!pa(u(e,p))){f=!0;break}if(f){if(!hn(v))throw new RangeError(Dr("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",v));for(i=new this(v/2),n=i._buffer,p=0;p<v;p++)n[p]=o.call(a,u(e,p),p);return i}for(i=new this(v),n=i._buffer,m=0,p=0;p<v;p++){if(l=o.call(a,u(e,p),p),pa(l))n[m]=Ia(l),n[m+1]=Oa(l);else if(Sv(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(Av(e)&&Hw&&Ae(e[Ua])){if(n=e[Ua](),!Ae(n.next))throw new TypeError(Dr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=Qfr(n,o,a):s=Kw(n),s instanceof Error)throw s;for(v=s.length/2,i=new this(v),n=i._buffer,p=0;p<v;p++)n[p]=s[p];return i}throw new TypeError(Dr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Yr(Cr,"of",function(){var e,a;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Zw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});Yr(Cr.prototype,"at",function(e){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!We(e))throw new TypeError(Dr("invalid argument. Must provide an integer. Value: `%s`.",e));if(e<0&&(e+=this._length),!(e<0||e>=this._length))return we(this._buffer,e)});gn(Cr.prototype,"buffer",function(){return this._buffer.buffer});gn(Cr.prototype,"byteLength",function(){return this._buffer.byteLength});gn(Cr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Yr(Cr.prototype,"BYTES_PER_ELEMENT",Cr.BYTES_PER_ELEMENT);Yr(Cr.prototype,"copyWithin",function(e,a){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(e*2,a*2):this._buffer.copyWithin(e*2,a*2,arguments[2]*2),this});Yr(Cr.prototype,"entries",function(){var e,a,t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,e=this._buffer,o=this._length,n=-1,s=-2,t={},Yr(t,"next",u),Yr(t,"return",v),Ua&&Yr(t,Ua,f),t;function u(){var l;return n+=1,i||n>=o?{done:!0}:(s+=2,l=new Xw(e[s],e[s+1]),{value:[n,l],done:!1})}function v(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function f(){return a.entries()}});Yr(Cr.prototype,"every",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,we(t,o),o,this))return!1;return!0});Yr(Cr.prototype,"fill",function(e,a,t){var o,i,n,s,u,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!We(t))throw new TypeError(Dr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=Ia(e),u=Oa(e),v=a;v<t;v++)n=2*v,o[n]=s,o[n+1]=u;return this});Yr(Cr.prototype,"filter",function(e,a){var t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=we(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Yr(Cr.prototype,"find",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=we(t,o),e.call(a,i,o,this))return i});Yr(Cr.prototype,"findIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=we(t,o),e.call(a,i,o,this))return o;return-1});Yr(Cr.prototype,"findLast",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=we(t,o),e.call(a,i,o,this))return i});Yr(Cr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=we(t,o),e.call(a,i,o,this))return o;return-1});Yr(Cr.prototype,"forEach",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)i=we(t,o),e.call(a,i,o,this)});Yr(Cr.prototype,"get",function(e){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!uo(e))throw new TypeError(Dr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return we(this._buffer,e)});gn(Cr.prototype,"length",function(){return this._length});Yr(Cr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ia(e),n=Oa(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Yr(Cr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ia(e),n=Oa(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Yr(Cr.prototype,"join",function(e){var a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(Jw(e))o=e;else throw new TypeError(Dr("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(we(t,i).toString());return a.join(o)});Yr(Cr.prototype,"keys",function(){var e,a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Yr(a,"next",n),Yr(a,"return",s),Ua&&Yr(a,Ua,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});Yr(Cr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(i=Ia(e),n=Oa(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Yr(Cr.prototype,"map",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,we(o,n),n,this),pa(s))t[2*n]=Ia(s),t[2*n+1]=Oa(s);else if(Sv(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Yr(Cr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,0),s=1}for(;s<i;s++)n=we(t,s),o=e(o,n,s,this);return o});Yr(Cr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,i-1),s=i-2}for(;s>=0;s--)n=we(t,s),o=e(o,n,s,this);return o});Yr(Cr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=Jfr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Yr(Cr.prototype,"set",function(e){var a,t,o,i,n,s,u,v,f;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!uo(t))throw new TypeError(Dr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(pa(e)){if(t>=this._length)throw new RangeError(Dr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Ia(e),o[t+1]=Oa(e);return}if(ae(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*ia,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new da(a.length),v=0;v<a.length;v++)i[v]=a[v];a=i}for(t*=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(Ev(e)){for(s=e.length,v=0;v<s;v++)if(!pa(e[v])){n=!0;break}if(n){if(!hn(s))throw new RangeError(Dr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ia,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new da(s),v=0;v<s;v++)i[v]=a[v];a=i}for(t*=2,s/=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,v=0;v<s;v++)u=e[v],o[t]=Ia(u),o[t+1]=Oa(u),t+=2;return}throw new TypeError(Dr("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Yr(Cr.prototype,"slice",function(e,a){var t,o,i,n,s,u,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,u=this._length,arguments.length===0)e=0,a=u;else{if(!We(e))throw new TypeError(Dr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=u,e<0&&(e=0)),arguments.length===1)a=u;else{if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=u,a<0&&(a=0)):a>u&&(a=u)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)n=2*(v+e),o[2*v]=s[n],o[2*v+1]=s[n+1];return i});Yr(Cr.prototype,"some",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,we(t,o),o,this))return!0;return!1});Yr(Cr.prototype,"sort",function(e){var a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(we(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=Ia(a[i]),t[n+1]=Oa(a[i]);return this});Yr(Cr.prototype,"subarray",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!We(e))throw new TypeError(Dr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!We(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*ia):(i=a-e,t=o.byteOffset+e*ia),new this.constructor(o.buffer,t,i<0?0:i)});Yr(Cr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Jw(e)||Gfr(e))o=e;else throw new TypeError(Dr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(Av(a))t=a;else throw new TypeError(Dr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(we(n,s).toLocaleString(o,t));return i.join(",")});Yr(Cr.prototype,"toReversed",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Yr(Cr.prototype,"toSorted",function(e){var a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(we(t,i));return a.sort(e),new Cr(a)});Yr(Cr.prototype,"toString",function(){var e,a,t;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)e.push(we(a,t).toString());return e.join(",")});Yr(Cr.prototype,"values",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Yr(e,"next",s),Yr(e,"return",u),Ua&&Yr(e,Ua,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:we(i,n),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});Yr(Cr.prototype,"with",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!We(e))throw new TypeError(Dr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Dr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!pa(a))throw new TypeError(Dr("invalid argument. Second argument must be a complex number. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,t[2*e]=Ia(a),t[2*e+1]=Oa(a),o});Qw.exports=Cr});var vo=c((Yee,e3)=>{"use strict";var elr=r3();e3.exports=elr});var t3=c(($ee,a3)=>{"use strict";var alr=Vt();function tlr(r){var e,a;for(e=[];a=r.next(),!a.done;)e.push(alr(a.value));return e}a3.exports=tlr});var o3=c((Wee,i3)=>{"use strict";var ilr=Vt();function olr(r,e,a){var t,o,i;for(t=[],i=-1;o=r.next(),!o.done;)i+=1,t.push(ilr(e.call(a,o.value,i)));return t}i3.exports=olr});var s3=c((Jee,n3)=>{"use strict";var nlr=Vt();function slr(r,e){var a,t;for(a=e.length,t=0;t<a;t++)r[t]=nlr(e[t]);return r}n3.exports=slr});var p3=c((Xee,d3)=>{"use strict";var fo=ge().isPrimitive,_v=De(),u3=Ui(),Tv=Ci(),_e=Pe(),lo=pe().isPrimitive,Na=ve().isPrimitive,v3=La().isPrimitive,ulr=vn().primitives,vlr=eo(),Ma=Be(),$r=Ir(),bn=gt(),ot=va(),le=Vt(),flr=St(),llr=ea(),clr=it(),Wr=pr(),f3=t3(),dlr=o3(),plr=s3(),Kt=ot.BYTES_PER_ELEMENT,l3=vlr();function te(r){return typeof r=="object"&&r!==null&&r.constructor.name==="BooleanArray"&&r.BYTES_PER_ELEMENT===Kt}function c3(r){return r===Mr}function Mr(){var r,e,a,t,o;if(e=arguments.length,!(this instanceof Mr))return e===0?new Mr:e===1?new Mr(arguments[0]):e===2?new Mr(arguments[0],arguments[1]):new Mr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new ot(0);else if(e===1)if(o=arguments[0],fo(o))a=new ot(o);else if(_v(o))a=plr(new ot(o.length),o);else if(u3(o))a=new ot(o);else if(Tv(o)){if(l3===!1)throw new TypeError(Wr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",o));if(!_e(o[Ma]))throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));if(a=o[Ma](),!_e(a.next))throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));a=new ot(f3(a))}else throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));else{if(a=arguments[0],!u3(a))throw new TypeError(Wr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!fo(r))throw new TypeError(Wr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(e===2)a=new ot(a,r);else{if(t=arguments[2],!fo(t))throw new TypeError(Wr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*Kt>a.byteLength-r)throw new RangeError(Wr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*Kt));a=new ot(a,r,t)}}return $r(this,"_buffer",a),$r(this,"_length",a.length),this}$r(Mr,"BYTES_PER_ELEMENT",Kt);$r(Mr,"name","BooleanArray");$r(Mr,"from",function(e){var a,t,o,i,n,s,u,v,f;if(!_e(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!c3(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(t=arguments.length,t>1){if(o=arguments[1],!_e(o))throw new TypeError(Wr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(_v(e)){if(o){for(v=e.length,e.get&&e.set?u=clr("default"):u=flr("default"),i=new this(v),n=i._buffer,f=0;f<v;f++)n[f]=le(o.call(a,u(e,f),f));return i}return new this(e)}if(Tv(e)&&l3&&_e(e[Ma])){if(n=e[Ma](),!_e(n.next))throw new TypeError(Wr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));for(o?s=dlr(n,o,a):s=f3(n),v=s.length,i=new this(v),n=i._buffer,f=0;f<v;f++)n[f]=s[f];return i}throw new TypeError(Wr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});$r(Mr,"of",function(){var e,a;if(!_e(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!c3(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});$r(Mr.prototype,"at",function(e){var a,t;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Na(e))throw new TypeError(Wr("invalid argument. Must provide an integer. Value: `%s`.",e));if(t=this._length,a=this._buffer,e<0&&(e+=t),!(e<0||e>=t))return le(a[e])});bn(Mr.prototype,"buffer",function(){return this._buffer.buffer});bn(Mr.prototype,"byteLength",function(){return this._buffer.byteLength});bn(Mr.prototype,"byteOffset",function(){return this._buffer.byteOffset});$r(Mr.prototype,"BYTES_PER_ELEMENT",Mr.BYTES_PER_ELEMENT);$r(Mr.prototype,"copyWithin",function(e,a){if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return arguments.length===2?this._buffer.copyWithin(e,a):this._buffer.copyWithin(e,a,arguments[2]),this});$r(Mr.prototype,"entries",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},$r(a,"next",s),$r(a,"return",u),Ma&&$r(a,Ma,v),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,le(o[n])],done:!1}}function u(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return e.entries()}});$r(Mr.prototype,"every",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,le(t[o]),o,this))return!1;return!0});$r(Mr.prototype,"fill",function(e,a,t){var o,i,n,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!Na(t))throw new TypeError(Wr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(e?n=1:n=0,s=a;s<t;s++)o[s]=n;return this});$r(Mr.prototype,"filter",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=le(t[i]),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});$r(Mr.prototype,"find",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=le(t[i]),e.call(a,o,i,this))return o});$r(Mr.prototype,"findIndex",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=le(t[i]),e.call(a,o,i,this))return i;return-1});$r(Mr.prototype,"findLast",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=le(t[i]),e.call(a,o,i,this))return o});$r(Mr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=le(t[i]),e.call(a,o,i,this))return i;return-1});$r(Mr.prototype,"forEach",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)e.call(a,le(t[o]),o,this)});$r(Mr.prototype,"get",function(e){if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!fo(e))throw new TypeError(Wr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return le(this._buffer[e])});$r(Mr.prototype,"includes",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(t=this._buffer,o=a;o<this._length;o++)if(e===le(t[o]))return!0;return!1});$r(Mr.prototype,"indexOf",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(t=this._buffer,o=a;o<this._length;o++)if(e===le(t[o]))return o;return-1});$r(Mr.prototype,"join",function(e){var a,t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length>0){if(!v3(e))throw new TypeError(Wr("invalid argument. First argument must be a string. Value: `%s`.",e))}else e=",";for(a=this._buffer,t=[],o=0;o<this._length;o++)a[o]?t.push("true"):t.push("false");return t.join(e)});$r(Mr.prototype,"keys",function(){var e,a,t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,t=this._length,i=-1,a={},$r(a,"next",n),$r(a,"return",s),Ma&&$r(a,Ma,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});$r(Mr.prototype,"lastIndexOf",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(t=this._buffer,o=a;o>=0;o--)if(e===le(t[o]))return o;return-1});bn(Mr.prototype,"length",function(){return this._length});$r(Mr.prototype,"map",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError("invalid argument. First argument must be a function. Value: `%s`.",e);for(i=this._buffer,o=new this.constructor(this._length),t=o._buffer,n=0;n<this._length;n++)t[n]=le(e.call(a,le(i[n]),n,this));return o});$r(Mr.prototype,"reduce",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,n=0;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=le(t[0]),n=1}for(;n<o;n++)i=e(i,le(t[n]),n,this);return i});$r(Mr.prototype,"reduceRight",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,n=o-1;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=le(t[o-1]),n=o-2}for(;n>=0;n--)i=e(i,le(t[n]),n,this);return i});$r(Mr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=this._buffer,t=this._length,o=llr(t/2),i=0;i<o;i++)n=t-i-1,a=e[i],e[i]=e[n],e[n]=a;return this});$r(Mr.prototype,"set",function(e){var a,t,o,i,n,s,u;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!fo(t))throw new TypeError(Wr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(_v(e)){if(n=e.length,t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(te(e)?a=e._buffer:a=e,u=o.byteOffset+t*Kt,a.buffer===o.buffer&&a.byteOffset<u&&a.byteOffset+a.byteLength>u){for(i=new ot(a.length),s=0;s<a.length;s++)i[s]=a[s];a=i}for(s=0;s<n;t++,s++)o[t]=a[s]?1:0;return}if(t>=this._length)throw new RangeError(Wr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));o[t]=e?1:0});$r(Mr.prototype,"slice",function(e,a){var t,o,i,n,s,u;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(n=this._buffer,s=this._length,arguments.length===0)e=0,a=s;else{if(!Na(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=s,e<0&&(e=0)),arguments.length===1)a=s;else{if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=s,a<0&&(a=0)):a>s&&(a=s)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,u=0;u<t;u++)o[u]=n[u+e];return i});$r(Mr.prototype,"some",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,le(t[o]),o,this))return!0;return!1});$r(Mr.prototype,"sort",function(e){var a;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(a=this._buffer,arguments.length===0)return a.sort(),this;if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(t),this;function t(o,i){return e(le(o),le(i))}});$r(Mr.prototype,"subarray",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!Na(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!Na(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*Kt):(i=a-e,t=o.byteOffset+e*Kt),new this.constructor(o.buffer,t,i<0?0:i)});$r(Mr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)o=[];else if(v3(e)||ulr(e))o=e;else throw new TypeError(Wr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(Tv(a))t=a;else throw new TypeError(Wr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(le(n[s]).toLocaleString(o,t));return i.join(",")});$r(Mr.prototype,"toReversed",function(){var e,a,t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)e[i]=o[t-i-1];return a});$r(Mr.prototype,"toSorted",function(e){var a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(o=this._length,t=new this.constructor(o),i=this._buffer,a=t._buffer,n=0;n<o;n++)a[n]=i[n];if(arguments.length===0)return a.sort(),t;if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(s),t;function s(u,v){return e(le(u),le(v))}});$r(Mr.prototype,"toString",function(){var e,a,t;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)a[t]?e.push("true"):e.push("false");return e.join(",")});$r(Mr.prototype,"values",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},$r(e,"next",s),$r(e,"return",u),Ma&&$r(e,Ma,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:le(i[n]),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});$r(Mr.prototype,"with",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Na(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Wr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!lo(a))throw new TypeError(Wr("invalid argument. Second argument must be a boolean. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,a?t[e]=1:t[e]=0,o});d3.exports=Mr});var co=c((Kee,y3)=>{"use strict";var ylr=p3();y3.exports=ylr});var h3=c((Hee,m3)=>{"use strict";var mlr=xt(),hlr=Et(),glr=Ji(),blr=Xi(),xlr=fi(),qlr=Ki(),wlr=va(),Slr=Hi(),Elr=Zi(),Alr=so(),_lr=vo(),Tlr=co(),jlr=[mlr,hlr,blr,glr,qlr,xlr,Elr,wlr,Slr,Alr,_lr,Tlr];m3.exports=jlr});var b3=c((Zee,g3)=>{"use strict";var Ilr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];g3.exports=Ilr});var w3=c((Qee,q3)=>{"use strict";var Olr=Li(),Nlr=qa(),Dlr=ht(),klr=wb(),Blr=h3(),x3=b3(),Flr=x3.length;function Rlr(r){var e;if(Nlr(r))return"generic";if(Olr(r))return null;for(e=0;e<Flr;e++)if(r instanceof Blr[e])return x3[e];return klr[Dlr(r)]||null}q3.exports=Rlr});var po=c((rae,S3)=>{"use strict";var Vlr=w3();S3.exports=Vlr});var A3=c((eae,E3)=>{"use strict";var zlr=tt(),Clr=it(),Llr=St(),Plr=po();function Ulr(r,e){var a,t,o,i;for(o=Plr(r),zlr(r)?t=Clr(o):t=Llr(o),a=r.length,i=0;i<a;i++)if(t(r,i)===e)return!0;return!1}E3.exports=Ulr});var T3=c((aae,_3)=>{"use strict";var Mlr=De(),Glr=tt(),Ylr=it(),$lr=po(),Wlr=pr();function Jlr(r){var e,a,t;if(!Mlr(r))throw new TypeError(Wlr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return t=$lr(r),Glr(r)&&(e=Ylr(t)),a=r.length,e===void 0?o:i;function o(n){var s;for(s=0;s<a;s++)if(r[s]===n)return!0;return!1}function i(n){var s;for(s=0;s<a;s++)if(e(r,s)===n)return!0;return!1}}_3.exports=Jlr});var Ce=c((tae,I3)=>{"use strict";var Xlr=Ir(),j3=A3(),Klr=T3();Xlr(j3,"factory",Klr);I3.exports=j3});var N3=c((iae,O3)=>{"use strict";var Hlr=Ce().factory,Zlr=ke(),Qlr=Hlr(Zlr());O3.exports=Qlr});var di=c((oae,D3)=>{"use strict";var rcr=N3();D3.exports=rcr});var B3=c((nae,k3)=>{"use strict";var ecr=et();function acr(r,e,a,t){var o=ecr(e,a,t);return o[0]>=0&&o[1]<r}k3.exports=acr});var jv=c((sae,F3)=>{"use strict";var tcr=B3();F3.exports=tcr});var Iv=c((uae,R3)=>{"use strict";function icr(){return{dtypes:{default:"float64",numeric:"float64",real:"float64",floating_point:"float64",real_floating_point:"float64",complex_floating_point:"complex128",integer:"int32",signed_integer:"int32",unsigned_integer:"uint32",boolean:"bool"},order:"row-major",casting:"safe",index_mode:"throw"}}R3.exports=icr});var z3=c((vae,V3)=>{"use strict";var ocr=Iv(),oa=ocr(),ncr={"dtypes.default":oa.dtypes.default,"dtypes.numeric":oa.dtypes.numeric,"dtypes.real":oa.dtypes.real,"dtypes.floating_point":oa.dtypes.floating_point,"dtypes.real_floating_point":oa.dtypes.real_floating_point,"dtypes.complex_floating_point":oa.dtypes.complex_floating_point,"dtypes.integer":oa.dtypes.integer,"dtypes.signed_integer":oa.dtypes.signed_integer,"dtypes.unsigned_integer":oa.dtypes.unsigned_integer,"dtypes.boolean":oa.dtypes.boolean,order:oa.order,casting:oa.casting,index_mode:oa.index_mode};function scr(r){var e=ncr[r];return e===void 0?null:e}V3.exports=scr});var Da=c((fae,L3)=>{"use strict";var ucr=Ir(),C3=Iv(),vcr=z3();ucr(C3,"get",vcr);L3.exports=C3});var U3=c((lae,P3)=>{"use strict";var fcr=pr();function lcr(r){var e=typeof r;return r===null||e!=="object"&&e!=="function"?new TypeError(fcr("invalid argument. A provided constructor must be either an object (except null) or a function. Value: `%s`.",r)):null}P3.exports=lcr});var G3=c((cae,M3)=>{"use strict";M3.exports=Object.create});var W3=c((dae,$3)=>{"use strict";function Y3(){}function ccr(r){return Y3.prototype=r,new Y3}$3.exports=ccr});var K3=c((pae,X3)=>{"use strict";var J3=G3(),dcr=W3(),Ov;typeof J3=="function"?Ov=J3:Ov=dcr;X3.exports=Ov});var Q3=c((yae,Z3)=>{"use strict";var pcr=Ft(),ycr=pr(),H3=U3(),mcr=K3();function hcr(r,e){var a=H3(r);if(a||(a=H3(e),a))throw a;if(typeof e.prototype>"u")throw new TypeError(ycr("invalid argument. Second argument must have a prototype from which another object can inherit. Value: `%s`.",e.prototype));return r.prototype=mcr(e.prototype),pcr(r.prototype,"constructor",{configurable:!0,enumerable:!1,writable:!0,value:r}),r}Z3.exports=hcr});var Nv=c((mae,r4)=>{"use strict";var gcr=Q3();r4.exports=gcr});var a4=c((hae,e4)=>{"use strict";function bcr(r,e){return r<0?0:r>e?e:r}e4.exports=bcr});var xn=c((gae,t4)=>{"use strict";var xcr=a4();t4.exports=xcr});var o4=c((bae,i4)=>{"use strict";function qcr(r,e){var a=e+1;return r<0?(r+=a,r<0&&(r%=a,r!==0&&(r+=a)),r):(r>e&&(r-=a,r>e&&(r%=a)),r)}i4.exports=qcr});var qn=c((xae,n4)=>{"use strict";var wcr=o4();n4.exports=wcr});var u4=c((qae,s4)=>{"use strict";function Scr(r,e){return r<0?(r+=e+1,r<0?-1:r):r>e?-1:r}s4.exports=Scr});var ya=c((wae,v4)=>{"use strict";var Ecr=u4();v4.exports=Ecr});var l4=c((Sae,f4)=>{"use strict";var Acr=Ce().factory,_cr=$t(),Tcr=Acr(_cr());f4.exports=Tcr});var pi=c((Eae,c4)=>{"use strict";var jcr=l4();c4.exports=jcr});var p4=c((Aae,d4)=>{"use strict";var Icr=xn(),Ocr=qn(),Ncr=ya(),Dcr=pi(),Dv=pr(),kcr={wrap:Ocr,clamp:Icr,normalize:Fcr,throw:Bcr};function Bcr(r,e){if(r<0||r>e)throw new RangeError(Dv("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return r}function Fcr(r,e){var a=Ncr(r,e);if(a<0||a>e)throw new RangeError(Dv("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return a}function Rcr(r){if(!Dcr(r))throw new TypeError(Dv("invalid argument. First argument must be a recognized index mode. Value: `%s`.",r));return kcr[r]}d4.exports=Rcr});var m4=c((_ae,y4)=>{"use strict";var Vcr=xn(),zcr=qn(),Ccr=ya(),Lcr=pr();function Pcr(r,e,a){var t;if(a==="clamp")return Vcr(r,e);if(a==="wrap")return zcr(r,e);if(t=r,a==="normalize"&&(t=Ccr(t,e)),t<0||t>e)throw new RangeError(Lcr("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return t}y4.exports=Pcr});var nt=c((Tae,g4)=>{"use strict";var Ucr=Ir(),Mcr=p4(),h4=m4();Ucr(h4,"factory",Mcr);g4.exports=h4});var q4=c((jae,x4)=>{"use strict";var Gcr=ve().isPrimitive,Ycr=nt(),$cr=aa(),Wcr=pr(),b4=$cr.prototype.iget;function Jcr(r){if(this._ndims>0){if(!Gcr(r))throw new TypeError(Wcr("invalid argument. Index must be an integer. Value: `%s`.",r));return r=Ycr(r,this._length-1,this._mode),b4.call(this,r)}return b4.call(this)}x4.exports=Jcr});var E4=c((Iae,S4)=>{"use strict";var Xcr=ve().isPrimitive,Kcr=nt(),Hcr=aa(),Zcr=pr(),w4=Hcr.prototype.iset;function Qcr(r,e){if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(this._ndims>0){if(!Xcr(r))throw new TypeError(Zcr("invalid argument. Index must be an integer. Value: `%s`.",r));r=Kcr(r,this._length-1,this._mode),w4.call(this,r,e)}else w4.call(this,r);return this}S4.exports=Qcr});var T4=c((Oae,_4)=>{"use strict";var rdr=ve().isPrimitive,edr=nt(),A4=pr();function adr(){var r,e,a,t;if(arguments.length!==this._ndims)throw new RangeError(A4("invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.",this._ndims,arguments.length));for(r=this._offset,a=this._submode.length,t=0;t<arguments.length;t++){if(!rdr(arguments[t]))throw new TypeError(A4("invalid argument. Indices must be integer valued. Argument: `%u`. Value: `%s`.",t,arguments[t]));e=edr(arguments[t],this._shape[t]-1,this._submode[t%a]),r+=this._strides[t]*e}return this._accessors?this._buffer.get(r):this._buffer[r]}_4.exports=adr});var O4=c((Nae,I4)=>{"use strict";var tdr=ve().isPrimitive,idr=nt(),j4=pr();function odr(){var r,e,a,t;if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(arguments.length!==this._ndims+1)throw new RangeError(j4("invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.",this._ndims,arguments.length));for(r=this._offset,a=this._submode.length,t=0;t<arguments.length-1;t++){if(!tdr(arguments[t]))throw new TypeError(j4("invalid argument. Indices must be integer valued. Argument: `%i`. Value: `%s`.",t,arguments[t]));e=idr(arguments[t],this._shape[t]-1,this._submode[t%a]),r+=this._strides[t]*e}return this._accessors?this._buffer.set(arguments[t],r):this._buffer[r]=arguments[t],this}I4.exports=odr});var D4=c((Dae,N4)=>{"use strict";function ndr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r[t]);return a}N4.exports=ndr});var F4=c((kae,B4)=>{"use strict";var sdr=ne(),kv=Xr(),udr=ze(),k4=pi(),vdr=pe().isPrimitive,yi=pr();function fdr(r,e){var a;if(!sdr(e))return new TypeError(yi("invalid argument. Options argument must be an object. Value: `%s`.",e));if(kv(e,"mode")&&(r.mode=e.mode,!k4(r.mode)))return new TypeError(yi("invalid option. `%s` option must be a recognized mode. Option: `%s`.","mode",r.mode));if(kv(e,"submode")){if(r.submode=e.submode,!udr(r.submode))return new TypeError(yi("invalid option. `%s` option must be an array containing recognized modes. Option: `%s`.","submode",r.submode));if(r.submode.length===0)return new TypeError(yi("invalid option. `%s` option must be an array containing recognized modes. Option: `%s`.","submode",r.submode.join(",")));for(a=0;a<r.submode.length;a++)if(!k4(r.submode[a]))return new TypeError(yi("invalid option. Each submode must be a recognized mode. Option: `%s`.",r.submode[a]));r.submode=r.submode.slice()}return kv(e,"readonly")&&(r.readonly=e.readonly,!vdr(r.readonly))?new TypeError(yi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",r.readonly)):null}B4.exports=fdr});var U4=c((Bae,P4)=>{"use strict";var yo=Ir(),R4=De(),ldr=Wt().primitives,cdr=ge().isPrimitive,ddr=ev().primitives,V4=Pe(),pdr=_a(),ydr=di(),mdr=jv(),hdr=Jr(),L4=aa(),gdr=Da(),bdr=Nv(),Ga=pr(),xdr=q4(),qdr=E4(),wdr=T4(),Sdr=O4(),z4=D4(),Edr=F4(),C4=32767,Adr=gdr.get("index_mode"),_dr=!1;function Ya(r,e,a,t,o,i,n){var s,u,v,f,l;if(!(this instanceof Ya))return arguments.length<7?new Ya(r,e,a,t,o,i):new Ya(r,e,a,t,o,i,n);if(!ydr(r))throw new TypeError(Ga("invalid argument. First argument must be a supported ndarray data type. Value: `%s`.",r));if(R4(e)){if(e.get&&e.set&&(!V4(e.get)||!V4(e.set)))throw new TypeError(Ga("invalid argument. Second argument `get` and `set` properties must be functions. Value: `%s`.",e))}else throw new TypeError(Ga("invalid argument. Second argument must be an array-like object, typed-array-like, or a Buffer. Value: `%s`.",e));if(!ldr(a)&&(!R4(a)||a.length>0))throw new TypeError(Ga("invalid argument. Third argument must be an array-like object containing nonnegative integers. Value: `%s`.",a));if(s=a.length,s>C4)throw new RangeError(Ga("invalid argument. Number of dimensions must not exceed %u due to stack limits. Value: `%u`.",C4,s));if(!ddr(t))throw new TypeError(Ga("invalid argument. Fourth argument must be an array-like object containing integers. Value: `%s`.",t));if(s>0){if(t.length!==s)throw new RangeError(Ga("invalid argument. Fourth argument length must match the number of dimensions. Expected number of dimensions: `%u`. Strides length: `%u`.",s,t.length))}else{if(t.length!==1)throw new RangeError("invalid argument. Fourth argument length must be equal to 1 when creating a zero-dimensional ndarray.");if(t[0]!==0)throw new RangeError(Ga("invalid argument. Fourth argument must contain a single element equal to 0. Value: `%d`.",t[0]))}if(!cdr(o))throw new TypeError(Ga("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!pdr(i))throw new TypeError(Ga("invalid argument. Sixth argument must be a supported order. Value: `%s`.",i));if(s>0&&!mdr(e.length,a,t,o)&&hdr(a)>0)throw new Error("invalid arguments. Input buffer is incompatible with the specified meta data. Ensure that the offset is valid with regard to the strides array and that the buffer has enough elements to satisfy the desired array shape.");if(u={},u.mode=Adr,u.readonly=_dr,arguments.length>6&&(v=Edr(u,n),v))throw v;return this._mode=u.mode,u.submode===void 0&&(u.submode=[this._mode]),this._submode=u.submode,f=z4(a,s),l=z4(t,s||1),L4.call(this,r,e,f,l,o,i),this._flags.READONLY=u.readonly,this}bdr(Ya,L4);yo(Ya,"name","ndarray");yo(Ya.prototype,"get",wdr);yo(Ya.prototype,"iget",xdr);yo(Ya.prototype,"set",Sdr);yo(Ya.prototype,"iset",qdr);P4.exports=Ya});var ma=c((Fae,M4)=>{"use strict";var Tdr=U4();M4.exports=Tdr});var G4=c((Rae,jdr)=>{jdr.exports=["none","equiv","safe","mostly-safe","same-kind","unsafe"]});var $4=c((Vae,Y4)=>{"use strict";var Idr=G4();function Odr(){return Idr.slice()}Y4.exports=Odr});var J4=c((zae,W4)=>{"use strict";function Ndr(){return{none:0,equiv:1,safe:2,"mostly-safe":3,"same-kind":4,unsafe:5}}W4.exports=Ndr});var Bv=c((Cae,K4)=>{"use strict";var Ddr=Ir(),X4=$4(),kdr=J4();Ddr(X4,"enum",kdr);K4.exports=X4});var Q4=c((Lae,Z4)=>{"use strict";var Bdr=Bv(),H4=Bdr(),Fdr=H4.length;function Rdr(r){var e;for(e=0;e<Fdr;e++)if(r===H4[e])return!0;return!1}Z4.exports=Rdr});var Fv=c((Pae,r6)=>{"use strict";var Vdr=Q4();r6.exports=Vdr});var t6=c((Uae,a6)=>{"use strict";var zdr=Ea(),Cdr=qa(),Ldr=ne(),Pdr=Ko(),Udr=pe().isPrimitive,e6=Xr(),Rv=pr();function Mdr(r,e){var a=!0,t,o,i,n,s,u,v;if(!Pdr(r))throw new TypeError(Rv("invalid argument. First argument must be an object (except null). Value: `%s`.",r));if(arguments.length>1){if(!Ldr(e))throw new TypeError(Rv("invalid argument. Options argument must be an object. Value: `%s`.",e));if(e6(e,"duplicates")&&(a=e.duplicates,!Udr(a)))throw new TypeError(Rv("invalid option. `%s` option must be a boolean. Option: `%s`.","duplicates",a))}if(t=zdr(r),o=t.length,s={},a)for(v=0;v<o;v++){if(i=t[v],n=r[i],!e6(s,n)){s[n]=i;continue}u=s[n],Cdr(u)?s[n].push(i):s[n]=[u,i]}else for(v=0;v<o;v++)i=t[v],s[r[i]]=i;return s}a6.exports=Mdr});var wn=c((Mae,i6)=>{"use strict";var Gdr=t6();i6.exports=Gdr});var n6=c((Gae,o6)=>{"use strict";var Ydr=wn(),$dr=ke().enum,Wdr=Ydr($dr(),{duplicates:!1});function Jdr(r){var e=Wdr[r];return typeof e=="string"?e:null}o6.exports=Jdr});var Sn=c((Yae,s6)=>{"use strict";var Xdr=n6();s6.exports=Xdr});var v6=c(($ae,u6)=>{"use strict";var Kdr=ke().enum,Hdr=Kdr();function Zdr(r){var e=Hdr[r];return typeof e=="number"?e:null}u6.exports=Zdr});var mo=c((Wae,f6)=>{"use strict";var Qdr=v6();f6.exports=Qdr});var c6=c((Jae,l6)=>{"use strict";var r0r=Sn(),e0r=mo();function a0r(r){var e=typeof r;return e==="string"?e0r(r)===null?null:r:e==="number"?r0r(r):null}l6.exports=a0r});var ka=c((Xae,d6)=>{"use strict";var t0r=c6();d6.exports=t0r});var p6=c((Kae,i0r)=>{i0r.exports={float64:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var h6=c((Hae,m6)=>{"use strict";var y6=Ea(),o0r=Xr(),n0r=ka(),An=p6(),En;function s0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=y6(An),e=r.length,u=0;u<e;u++){for(o=r[u],n=An[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function u0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=y6(An),e=r.length,u=0;u<e;u++){for(o=r[u],n=An[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function v0r(r){return arguments.length===0?s0r():(En===void 0&&(En=u0r()),r=n0r(r),o0r(En,r)?En[r].slice():null)}m6.exports=v0r});var Vv=c((Zae,g6)=>{"use strict";var f0r=h6();g6.exports=f0r});var x6=c((Qae,b6)=>{"use strict";var l0r=Vv(),c0r=l0r();function d0r(r,e){return r===e?!0:c0r[r][e]>0}b6.exports=d0r});var _n=c((rte,q6)=>{"use strict";var p0r=x6();q6.exports=p0r});var w6=c((ete,y0r)=>{y0r.exports={float64:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var A6=c((ate,E6)=>{"use strict";var S6=Ea(),m0r=Xr(),h0r=ka(),jn=w6(),Tn;function g0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=S6(jn),e=r.length,u=0;u<e;u++){for(o=r[u],n=jn[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function b0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=S6(jn),e=r.length,u=0;u<e;u++){for(o=r[u],n=jn[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function x0r(r){return arguments.length===0?g0r():(Tn===void 0&&(Tn=b0r()),r=h0r(r),m0r(Tn,r)?Tn[r].slice():null)}E6.exports=x0r});var zv=c((tte,_6)=>{"use strict";var q0r=A6();_6.exports=q0r});var j6=c((ite,T6)=>{"use strict";var w0r=zv(),S0r=w0r();function E0r(r,e){return r===e?!0:S0r[r][e]>0}T6.exports=E0r});var In=c((ote,I6)=>{"use strict";var A0r=j6();I6.exports=A0r});var O6=c((nte,_0r)=>{_0r.exports={float64:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:0,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:0,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var k6=c((ste,D6)=>{"use strict";var N6=Ea(),T0r=Xr(),j0r=ka(),Nn=O6(),On;function I0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=N6(Nn),e=r.length,u=0;u<e;u++){for(o=r[u],n=Nn[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function O0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=N6(Nn),e=r.length,u=0;u<e;u++){for(o=r[u],n=Nn[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function N0r(r){return arguments.length===0?I0r():(On===void 0&&(On=O0r()),r=j0r(r),T0r(On,r)?On[r].slice():null)}D6.exports=N0r});var Cv=c((ute,B6)=>{"use strict";var D0r=k6();B6.exports=D0r});var R6=c((vte,F6)=>{"use strict";var k0r=Cv(),B0r=k0r();function F0r(r,e){return r===e?!0:B0r[r][e]>0}F6.exports=F0r});var Lv=c((fte,V6)=>{"use strict";var R0r=R6();V6.exports=R0r});var C6=c((lte,z6)=>{"use strict";var V0r=_n(),z0r=In(),C0r=Lv();function L0r(r,e,a){return a==="unsafe"||r===e?!0:a==="none"||a==="equiv"?!1:a==="safe"?V0r(r,e):a==="mostly-safe"?z0r(r,e):C0r(r,e)}z6.exports=L0r});var Pv=c((cte,L6)=>{"use strict";var P0r=C6();L6.exports=P0r});var U6=c((dte,P6)=>{"use strict";var U0r=typeof Buffer=="function"?Buffer:null;P6.exports=U0r});var G6=c((pte,M6)=>{"use strict";var M0r=Li(),Dn=U6();function G0r(){var r,e;if(typeof Dn!="function")return!1;try{typeof Dn.from=="function"?e=Dn.from([1,2,3,4]):e=new Dn([1,2,3,4]),r=M0r(e)&&e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4}catch{r=!1}return r}M6.exports=G0r});var $6=c((yte,Y6)=>{"use strict";var Y0r=G6();Y6.exports=Y0r});var X6=c(kn=>{"use strict";kn.byteLength=W0r;kn.toByteArray=X0r;kn.fromByteArray=Z0r;var $a=[],ha=[],$0r=typeof Uint8Array<"u"?Uint8Array:Array,Uv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Ht=0,W6=Uv.length;Ht<W6;++Ht)$a[Ht]=Uv[Ht],ha[Uv.charCodeAt(Ht)]=Ht;var Ht,W6;ha[45]=62;ha[95]=63;function J6(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=r.indexOf("=");a===-1&&(a=e);var t=a===e?0:4-a%4;return[a,t]}function W0r(r){var e=J6(r),a=e[0],t=e[1];return(a+t)*3/4-t}function J0r(r,e,a){return(e+a)*3/4-a}function X0r(r){var e,a=J6(r),t=a[0],o=a[1],i=new $0r(J0r(r,t,o)),n=0,s=o>0?t-4:t,u;for(u=0;u<s;u+=4)e=ha[r.charCodeAt(u)]<<18|ha[r.charCodeAt(u+1)]<<12|ha[r.charCodeAt(u+2)]<<6|ha[r.charCodeAt(u+3)],i[n++]=e>>16&255,i[n++]=e>>8&255,i[n++]=e&255;return o===2&&(e=ha[r.charCodeAt(u)]<<2|ha[r.charCodeAt(u+1)]>>4,i[n++]=e&255),o===1&&(e=ha[r.charCodeAt(u)]<<10|ha[r.charCodeAt(u+1)]<<4|ha[r.charCodeAt(u+2)]>>2,i[n++]=e>>8&255,i[n++]=e&255),i}function K0r(r){return $a[r>>18&63]+$a[r>>12&63]+$a[r>>6&63]+$a[r&63]}function H0r(r,e,a){for(var t,o=[],i=e;i<a;i+=3)t=(r[i]<<16&16711680)+(r[i+1]<<8&65280)+(r[i+2]&255),o.push(K0r(t));return o.join("")}function Z0r(r){for(var e,a=r.length,t=a%3,o=[],i=16383,n=0,s=a-t;n<s;n+=i)o.push(H0r(r,n,n+i>s?s:n+i));return t===1?(e=r[a-1],o.push($a[e>>2]+$a[e<<4&63]+"==")):t===2&&(e=(r[a-2]<<8)+r[a-1],o.push($a[e>>10]+$a[e>>4&63]+$a[e<<2&63]+"=")),o.join("")}});var K6=c(Mv=>{Mv.read=function(r,e,a,t,o){var i,n,s=o*8-t-1,u=(1<<s)-1,v=u>>1,f=-7,l=a?o-1:0,p=a?-1:1,m=r[e+l];for(l+=p,i=m&(1<<-f)-1,m>>=-f,f+=s;f>0;i=i*256+r[e+l],l+=p,f-=8);for(n=i&(1<<-f)-1,i>>=-f,f+=t;f>0;n=n*256+r[e+l],l+=p,f-=8);if(i===0)i=1-v;else{if(i===u)return n?NaN:(m?-1:1)*(1/0);n=n+Math.pow(2,t),i=i-v}return(m?-1:1)*n*Math.pow(2,i-t)};Mv.write=function(r,e,a,t,o,i){var n,s,u,v=i*8-o-1,f=(1<<v)-1,l=f>>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=t?0:i-1,d=t?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,n=f):(n=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-n))<1&&(n--,u*=2),n+l>=1?e+=p/u:e+=p*Math.pow(2,1-l),e*u>=2&&(n++,u/=2),n+l>=f?(s=0,n=f):n+l>=1?(s=(e*u-1)*Math.pow(2,o),n=n+l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),n=0));o>=8;r[a+m]=s&255,m+=d,s/=256,o-=8);for(n=n<<o|s,v+=o;v>0;r[a+m]=n&255,m+=d,n/=256,v-=8);r[a+m-d]|=y*128}});var vS=c(hi=>{"use strict";var Gv=X6(),mi=K6(),H6=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;hi.Buffer=cr;hi.SlowBuffer=ipr;hi.INSPECT_MAX_BYTES=50;var Bn=2147483647;hi.kMaxLength=Bn;cr.TYPED_ARRAY_SUPPORT=Q0r();!cr.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Q0r(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch{return!1}}Object.defineProperty(cr.prototype,"parent",{enumerable:!0,get:function(){if(cr.isBuffer(this))return this.buffer}});Object.defineProperty(cr.prototype,"offset",{enumerable:!0,get:function(){if(cr.isBuffer(this))return this.byteOffset}});function st(r){if(r>Bn)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,cr.prototype),e}function cr(r,e,a){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Jv(r)}return rS(r,e,a)}cr.poolSize=8192;function rS(r,e,a){if(typeof r=="string")return epr(r,e);if(ArrayBuffer.isView(r))return apr(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Wa(r,ArrayBuffer)||r&&Wa(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Wa(r,SharedArrayBuffer)||r&&Wa(r.buffer,SharedArrayBuffer)))return $v(r,e,a);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var t=r.valueOf&&r.valueOf();if(t!=null&&t!==r)return cr.from(t,e,a);var o=tpr(r);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return cr.from(r[Symbol.toPrimitive]("string"),e,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}cr.from=function(r,e,a){return rS(r,e,a)};Object.setPrototypeOf(cr.prototype,Uint8Array.prototype);Object.setPrototypeOf(cr,Uint8Array);function eS(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function rpr(r,e,a){return eS(r),r<=0?st(r):e!==void 0?typeof a=="string"?st(r).fill(e,a):st(r).fill(e):st(r)}cr.alloc=function(r,e,a){return rpr(r,e,a)};function Jv(r){return eS(r),st(r<0?0:Xv(r)|0)}cr.allocUnsafe=function(r){return Jv(r)};cr.allocUnsafeSlow=function(r){return Jv(r)};function epr(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!cr.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var a=aS(r,e)|0,t=st(a),o=t.write(r,e);return o!==a&&(t=t.slice(0,o)),t}function Yv(r){for(var e=r.length<0?0:Xv(r.length)|0,a=st(e),t=0;t<e;t+=1)a[t]=r[t]&255;return a}function apr(r){if(Wa(r,Uint8Array)){var e=new Uint8Array(r);return $v(e.buffer,e.byteOffset,e.byteLength)}return Yv(r)}function $v(r,e,a){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(a||0))throw new RangeError('"length" is outside of buffer bounds');var t;return e===void 0&&a===void 0?t=new Uint8Array(r):a===void 0?t=new Uint8Array(r,e):t=new Uint8Array(r,e,a),Object.setPrototypeOf(t,cr.prototype),t}function tpr(r){if(cr.isBuffer(r)){var e=Xv(r.length)|0,a=st(e);return a.length===0||r.copy(a,0,0,e),a}if(r.length!==void 0)return typeof r.length!="number"||Kv(r.length)?st(0):Yv(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Yv(r.data)}function Xv(r){if(r>=Bn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Bn.toString(16)+" bytes");return r|0}function ipr(r){return+r!=r&&(r=0),cr.alloc(+r)}cr.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==cr.prototype};cr.compare=function(e,a){if(Wa(e,Uint8Array)&&(e=cr.from(e,e.offset,e.byteLength)),Wa(a,Uint8Array)&&(a=cr.from(a,a.offset,a.byteLength)),!cr.isBuffer(e)||!cr.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===a)return 0;for(var t=e.length,o=a.length,i=0,n=Math.min(t,o);i<n;++i)if(e[i]!==a[i]){t=e[i],o=a[i];break}return t<o?-1:o<t?1:0};cr.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};cr.concat=function(e,a){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return cr.alloc(0);var t;if(a===void 0)for(a=0,t=0;t<e.length;++t)a+=e[t].length;var o=cr.allocUnsafe(a),i=0;for(t=0;t<e.length;++t){var n=e[t];if(Wa(n,Uint8Array))i+n.length>o.length?cr.from(n).copy(o,i):Uint8Array.prototype.set.call(o,n,i);else if(cr.isBuffer(n))n.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=n.length}return o};function aS(r,e){if(cr.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Wa(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var a=r.length,t=arguments.length>2&&arguments[2]===!0;if(!t&&a===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return Wv(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return uS(r).length;default:if(o)return t?-1:Wv(r).length;e=(""+e).toLowerCase(),o=!0}}cr.byteLength=aS;function opr(r,e,a){var t=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,e>>>=0,a<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return ypr(this,e,a);case"utf8":case"utf-8":return iS(this,e,a);case"ascii":return dpr(this,e,a);case"latin1":case"binary":return ppr(this,e,a);case"base64":return lpr(this,e,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mpr(this,e,a);default:if(t)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),t=!0}}cr.prototype._isBuffer=!0;function Zt(r,e,a){var t=r[e];r[e]=r[a],r[a]=t}cr.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var a=0;a<e;a+=2)Zt(this,a,a+1);return this};cr.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var a=0;a<e;a+=4)Zt(this,a,a+3),Zt(this,a+1,a+2);return this};cr.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var a=0;a<e;a+=8)Zt(this,a,a+7),Zt(this,a+1,a+6),Zt(this,a+2,a+5),Zt(this,a+3,a+4);return this};cr.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?iS(this,0,e):opr.apply(this,arguments)};cr.prototype.toLocaleString=cr.prototype.toString;cr.prototype.equals=function(e){if(!cr.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:cr.compare(this,e)===0};cr.prototype.inspect=function(){var e="",a=hi.INSPECT_MAX_BYTES;return e=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(e+=" ... "),"<Buffer "+e+">"};H6&&(cr.prototype[H6]=cr.prototype.inspect);cr.prototype.compare=function(e,a,t,o,i){if(Wa(e,Uint8Array)&&(e=cr.from(e,e.offset,e.byteLength)),!cr.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(a===void 0&&(a=0),t===void 0&&(t=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),a<0||t>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&a>=t)return 0;if(o>=i)return-1;if(a>=t)return 1;if(a>>>=0,t>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var n=i-o,s=t-a,u=Math.min(n,s),v=this.slice(o,i),f=e.slice(a,t),l=0;l<u;++l)if(v[l]!==f[l]){n=v[l],s=f[l];break}return n<s?-1:s<n?1:0};function tS(r,e,a,t,o){if(r.length===0)return-1;if(typeof a=="string"?(t=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,Kv(a)&&(a=o?0:r.length-1),a<0&&(a=r.length+a),a>=r.length){if(o)return-1;a=r.length-1}else if(a<0)if(o)a=0;else return-1;if(typeof e=="string"&&(e=cr.from(e,t)),cr.isBuffer(e))return e.length===0?-1:Z6(r,e,a,t,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(r,e,a):Uint8Array.prototype.lastIndexOf.call(r,e,a):Z6(r,[e],a,t,o);throw new TypeError("val must be string, number or Buffer")}function Z6(r,e,a,t,o){var i=1,n=r.length,s=e.length;if(t!==void 0&&(t=String(t).toLowerCase(),t==="ucs2"||t==="ucs-2"||t==="utf16le"||t==="utf-16le")){if(r.length<2||e.length<2)return-1;i=2,n/=2,s/=2,a/=2}function u(m,d){return i===1?m[d]:m.readUInt16BE(d*i)}var v;if(o){var f=-1;for(v=a;v<n;v++)if(u(r,v)===u(e,f===-1?0:v-f)){if(f===-1&&(f=v),v-f+1===s)return f*i}else f!==-1&&(v-=v-f),f=-1}else for(a+s>n&&(a=n-s),v=a;v>=0;v--){for(var l=!0,p=0;p<s;p++)if(u(r,v+p)!==u(e,p)){l=!1;break}if(l)return v}return-1}cr.prototype.includes=function(e,a,t){return this.indexOf(e,a,t)!==-1};cr.prototype.indexOf=function(e,a,t){return tS(this,e,a,t,!0)};cr.prototype.lastIndexOf=function(e,a,t){return tS(this,e,a,t,!1)};function npr(r,e,a,t){a=Number(a)||0;var o=r.length-a;t?(t=Number(t),t>o&&(t=o)):t=o;var i=e.length;t>i/2&&(t=i/2);for(var n=0;n<t;++n){var s=parseInt(e.substr(n*2,2),16);if(Kv(s))return n;r[a+n]=s}return n}function spr(r,e,a,t){return Fn(Wv(e,r.length-a),r,a,t)}function upr(r,e,a,t){return Fn(bpr(e),r,a,t)}function vpr(r,e,a,t){return Fn(uS(e),r,a,t)}function fpr(r,e,a,t){return Fn(xpr(e,r.length-a),r,a,t)}cr.prototype.write=function(e,a,t,o){if(a===void 0)o="utf8",t=this.length,a=0;else if(t===void 0&&typeof a=="string")o=a,t=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(t)?(t=t>>>0,o===void 0&&(o="utf8")):(o=t,t=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-a;if((t===void 0||t>i)&&(t=i),e.length>0&&(t<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var n=!1;;)switch(o){case"hex":return npr(this,e,a,t);case"utf8":case"utf-8":return spr(this,e,a,t);case"ascii":case"latin1":case"binary":return upr(this,e,a,t);case"base64":return vpr(this,e,a,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fpr(this,e,a,t);default:if(n)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),n=!0}};cr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function lpr(r,e,a){return e===0&&a===r.length?Gv.fromByteArray(r):Gv.fromByteArray(r.slice(e,a))}function iS(r,e,a){a=Math.min(r.length,a);for(var t=[],o=e;o<a;){var i=r[o],n=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=a){var u,v,f,l;switch(s){case 1:i<128&&(n=i);break;case 2:u=r[o+1],(u&192)===128&&(l=(i&31)<<6|u&63,l>127&&(n=l));break;case 3:u=r[o+1],v=r[o+2],(u&192)===128&&(v&192)===128&&(l=(i&15)<<12|(u&63)<<6|v&63,l>2047&&(l<55296||l>57343)&&(n=l));break;case 4:u=r[o+1],v=r[o+2],f=r[o+3],(u&192)===128&&(v&192)===128&&(f&192)===128&&(l=(i&15)<<18|(u&63)<<12|(v&63)<<6|f&63,l>65535&&l<1114112&&(n=l))}}n===null?(n=65533,s=1):n>65535&&(n-=65536,t.push(n>>>10&1023|55296),n=56320|n&1023),t.push(n),o+=s}return cpr(t)}var Q6=4096;function cpr(r){var e=r.length;if(e<=Q6)return String.fromCharCode.apply(String,r);for(var a="",t=0;t<e;)a+=String.fromCharCode.apply(String,r.slice(t,t+=Q6));return a}function dpr(r,e,a){var t="";a=Math.min(r.length,a);for(var o=e;o<a;++o)t+=String.fromCharCode(r[o]&127);return t}function ppr(r,e,a){var t="";a=Math.min(r.length,a);for(var o=e;o<a;++o)t+=String.fromCharCode(r[o]);return t}function ypr(r,e,a){var t=r.length;(!e||e<0)&&(e=0),(!a||a<0||a>t)&&(a=t);for(var o="",i=e;i<a;++i)o+=qpr[r[i]];return o}function mpr(r,e,a){for(var t=r.slice(e,a),o="",i=0;i<t.length-1;i+=2)o+=String.fromCharCode(t[i]+t[i+1]*256);return o}cr.prototype.slice=function(e,a){var t=this.length;e=~~e,a=a===void 0?t:~~a,e<0?(e+=t,e<0&&(e=0)):e>t&&(e=t),a<0?(a+=t,a<0&&(a=0)):a>t&&(a=t),a<e&&(a=e);var o=this.subarray(e,a);return Object.setPrototypeOf(o,cr.prototype),o};function Fe(r,e,a){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>a)throw new RangeError("Trying to access beyond buffer length")}cr.prototype.readUintLE=cr.prototype.readUIntLE=function(e,a,t){e=e>>>0,a=a>>>0,t||Fe(e,a,this.length);for(var o=this[e],i=1,n=0;++n<a&&(i*=256);)o+=this[e+n]*i;return o};cr.prototype.readUintBE=cr.prototype.readUIntBE=function(e,a,t){e=e>>>0,a=a>>>0,t||Fe(e,a,this.length);for(var o=this[e+--a],i=1;a>0&&(i*=256);)o+=this[e+--a]*i;return o};cr.prototype.readUint8=cr.prototype.readUInt8=function(e,a){return e=e>>>0,a||Fe(e,1,this.length),this[e]};cr.prototype.readUint16LE=cr.prototype.readUInt16LE=function(e,a){return e=e>>>0,a||Fe(e,2,this.length),this[e]|this[e+1]<<8};cr.prototype.readUint16BE=cr.prototype.readUInt16BE=function(e,a){return e=e>>>0,a||Fe(e,2,this.length),this[e]<<8|this[e+1]};cr.prototype.readUint32LE=cr.prototype.readUInt32LE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};cr.prototype.readUint32BE=cr.prototype.readUInt32BE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};cr.prototype.readIntLE=function(e,a,t){e=e>>>0,a=a>>>0,t||Fe(e,a,this.length);for(var o=this[e],i=1,n=0;++n<a&&(i*=256);)o+=this[e+n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*a)),o};cr.prototype.readIntBE=function(e,a,t){e=e>>>0,a=a>>>0,t||Fe(e,a,this.length);for(var o=a,i=1,n=this[e+--o];o>0&&(i*=256);)n+=this[e+--o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*a)),n};cr.prototype.readInt8=function(e,a){return e=e>>>0,a||Fe(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};cr.prototype.readInt16LE=function(e,a){e=e>>>0,a||Fe(e,2,this.length);var t=this[e]|this[e+1]<<8;return t&32768?t|4294901760:t};cr.prototype.readInt16BE=function(e,a){e=e>>>0,a||Fe(e,2,this.length);var t=this[e+1]|this[e]<<8;return t&32768?t|4294901760:t};cr.prototype.readInt32LE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};cr.prototype.readInt32BE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};cr.prototype.readFloatLE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),mi.read(this,e,!0,23,4)};cr.prototype.readFloatBE=function(e,a){return e=e>>>0,a||Fe(e,4,this.length),mi.read(this,e,!1,23,4)};cr.prototype.readDoubleLE=function(e,a){return e=e>>>0,a||Fe(e,8,this.length),mi.read(this,e,!0,52,8)};cr.prototype.readDoubleBE=function(e,a){return e=e>>>0,a||Fe(e,8,this.length),mi.read(this,e,!1,52,8)};function Je(r,e,a,t,o,i){if(!cr.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(a+t>r.length)throw new RangeError("Index out of range")}cr.prototype.writeUintLE=cr.prototype.writeUIntLE=function(e,a,t,o){if(e=+e,a=a>>>0,t=t>>>0,!o){var i=Math.pow(2,8*t)-1;Je(this,e,a,t,i,0)}var n=1,s=0;for(this[a]=e&255;++s<t&&(n*=256);)this[a+s]=e/n&255;return a+t};cr.prototype.writeUintBE=cr.prototype.writeUIntBE=function(e,a,t,o){if(e=+e,a=a>>>0,t=t>>>0,!o){var i=Math.pow(2,8*t)-1;Je(this,e,a,t,i,0)}var n=t-1,s=1;for(this[a+n]=e&255;--n>=0&&(s*=256);)this[a+n]=e/s&255;return a+t};cr.prototype.writeUint8=cr.prototype.writeUInt8=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,1,255,0),this[a]=e&255,a+1};cr.prototype.writeUint16LE=cr.prototype.writeUInt16LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,65535,0),this[a]=e&255,this[a+1]=e>>>8,a+2};cr.prototype.writeUint16BE=cr.prototype.writeUInt16BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,65535,0),this[a]=e>>>8,this[a+1]=e&255,a+2};cr.prototype.writeUint32LE=cr.prototype.writeUInt32LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,4294967295,0),this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=e&255,a+4};cr.prototype.writeUint32BE=cr.prototype.writeUInt32BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,4294967295,0),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=e&255,a+4};cr.prototype.writeIntLE=function(e,a,t,o){if(e=+e,a=a>>>0,!o){var i=Math.pow(2,8*t-1);Je(this,e,a,t,i-1,-i)}var n=0,s=1,u=0;for(this[a]=e&255;++n<t&&(s*=256);)e<0&&u===0&&this[a+n-1]!==0&&(u=1),this[a+n]=(e/s>>0)-u&255;return a+t};cr.prototype.writeIntBE=function(e,a,t,o){if(e=+e,a=a>>>0,!o){var i=Math.pow(2,8*t-1);Je(this,e,a,t,i-1,-i)}var n=t-1,s=1,u=0;for(this[a+n]=e&255;--n>=0&&(s*=256);)e<0&&u===0&&this[a+n+1]!==0&&(u=1),this[a+n]=(e/s>>0)-u&255;return a+t};cr.prototype.writeInt8=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,1,127,-128),e<0&&(e=255+e+1),this[a]=e&255,a+1};cr.prototype.writeInt16LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,32767,-32768),this[a]=e&255,this[a+1]=e>>>8,a+2};cr.prototype.writeInt16BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,32767,-32768),this[a]=e>>>8,this[a+1]=e&255,a+2};cr.prototype.writeInt32LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,2147483647,-2147483648),this[a]=e&255,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24,a+4};cr.prototype.writeInt32BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=e&255,a+4};function oS(r,e,a,t,o,i){if(a+t>r.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function nS(r,e,a,t,o){return e=+e,a=a>>>0,o||oS(r,e,a,4,34028234663852886e22,-34028234663852886e22),mi.write(r,e,a,t,23,4),a+4}cr.prototype.writeFloatLE=function(e,a,t){return nS(this,e,a,!0,t)};cr.prototype.writeFloatBE=function(e,a,t){return nS(this,e,a,!1,t)};function sS(r,e,a,t,o){return e=+e,a=a>>>0,o||oS(r,e,a,8,17976931348623157e292,-17976931348623157e292),mi.write(r,e,a,t,52,8),a+8}cr.prototype.writeDoubleLE=function(e,a,t){return sS(this,e,a,!0,t)};cr.prototype.writeDoubleBE=function(e,a,t){return sS(this,e,a,!1,t)};cr.prototype.copy=function(e,a,t,o){if(!cr.isBuffer(e))throw new TypeError("argument should be a Buffer");if(t||(t=0),!o&&o!==0&&(o=this.length),a>=e.length&&(a=e.length),a||(a=0),o>0&&o<t&&(o=t),o===t||e.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-a<o-t&&(o=e.length-a+t);var i=o-t;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,t,o):Uint8Array.prototype.set.call(e,this.subarray(t,o),a),i};cr.prototype.fill=function(e,a,t,o){if(typeof e=="string"){if(typeof a=="string"?(o=a,a=0,t=this.length):typeof t=="string"&&(o=t,t=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!cr.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(a<0||this.length<a||this.length<t)throw new RangeError("Out of range index");if(t<=a)return this;a=a>>>0,t=t===void 0?this.length:t>>>0,e||(e=0);var n;if(typeof e=="number")for(n=a;n<t;++n)this[n]=e;else{var s=cr.isBuffer(e)?e:cr.from(e,o),u=s.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<t-a;++n)this[n+a]=s[n%u]}return this};var hpr=/[^+/0-9A-Za-z-_]/g;function gpr(r){if(r=r.split("=")[0],r=r.trim().replace(hpr,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Wv(r,e){e=e||1/0;for(var a,t=r.length,o=null,i=[],n=0;n<t;++n){if(a=r.charCodeAt(n),a>55295&&a<57344){if(!o){if(a>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(n+1===t){(e-=3)>-1&&i.push(239,191,189);continue}o=a;continue}if(a<56320){(e-=3)>-1&&i.push(239,191,189),o=a;continue}a=(o-55296<<10|a-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,a<128){if((e-=1)<0)break;i.push(a)}else if(a<2048){if((e-=2)<0)break;i.push(a>>6|192,a&63|128)}else if(a<65536){if((e-=3)<0)break;i.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((e-=4)<0)break;i.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return i}function bpr(r){for(var e=[],a=0;a<r.length;++a)e.push(r.charCodeAt(a)&255);return e}function xpr(r,e){for(var a,t,o,i=[],n=0;n<r.length&&!((e-=2)<0);++n)a=r.charCodeAt(n),t=a>>8,o=a%256,i.push(o),i.push(t);return i}function uS(r){return Gv.toByteArray(gpr(r))}function Fn(r,e,a,t){for(var o=0;o<t&&!(o+a>=e.length||o>=r.length);++o)e[o+a]=r[o];return o}function Wa(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Kv(r){return r!==r}var qpr=(function(){for(var r="0123456789abcdef",e=new Array(256),a=0;a<16;++a)for(var t=a*16,o=0;o<16;++o)e[t+o]=r[a]+r[o];return e})()});var lS=c((bte,fS)=>{"use strict";var wpr=vS().Buffer;fS.exports=wpr});var dS=c((xte,cS)=>{"use strict";function Spr(){throw new Error("not implemented")}cS.exports=Spr});var ho=c((qte,pS)=>{"use strict";var Epr=$6(),Apr=lS(),_pr=dS(),Hv;Epr()?Hv=Apr:Hv=_pr;pS.exports=Hv});var mS=c((wte,yS)=>{"use strict";var Tpr=ho(),jpr=xt(),Ipr=Et(),Opr=Ki(),Npr=Xi(),Dpr=Zi(),kpr=fi(),Bpr=Ji(),Fpr=va(),Rpr=Hi(),Vpr=so(),zpr=vo(),Cpr=co(),Lpr={binary:Tpr,float64:jpr,float32:Ipr,generic:Array,int16:Opr,int32:Npr,int8:Dpr,uint16:kpr,uint32:Bpr,uint8:Fpr,uint8c:Rpr,complex64:Vpr,complex128:zpr,bool:Cpr};yS.exports=Lpr});var gS=c((Ste,hS)=>{"use strict";var Ppr=mS();function Upr(r){return Ppr[r]||null}hS.exports=Upr});var go=c((Ete,bS)=>{"use strict";var Mpr=gS();bS.exports=Mpr});var qS=c((Ate,xS)=>{"use strict";var Gpr=Pe(),Ypr=ho(),$pr=Gpr(Ypr.allocUnsafe);xS.exports=$pr});var SS=c((_te,wS)=>{"use strict";var Wpr=ge(),Jpr=pr(),Xpr=ho();function Kpr(r){if(!Wpr(r))throw new TypeError(Jpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return Xpr.allocUnsafe(r)}wS.exports=Kpr});var AS=c((Tte,ES)=>{"use strict";var Hpr=ge(),Zpr=pr(),Qpr=ho();function ryr(r){if(!Hpr(r))throw new TypeError(Zpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return new Qpr(r)}ES.exports=ryr});var At=c((jte,_S)=>{"use strict";var eyr=qS(),ayr=SS(),tyr=AS(),Zv;eyr?Zv=ayr:Zv=tyr;_S.exports=Zv});var jS=c((Ite,TS)=>{"use strict";function iyr(r){var e;for(e=0;e<r.length;e++)r[e]=0;return r}TS.exports=iyr});var OS=c((Ote,IS)=>{"use strict";var oyr=go(),nyr=At(),syr=jS();function uyr(r){var e,a;for(e=[],a=0;a<r;a++)e.push(0);return e}function vyr(r){return syr(nyr(r))}function fyr(r,e){var a=oyr(r);return a?new a(e):null}function lyr(r,e){return r==="generic"?uyr(e):r==="binary"?vyr(e):fyr(r,e)}IS.exports=lyr});var Ba=c((Nte,NS)=>{"use strict";var cyr=OS();NS.exports=cyr});var kS=c((Dte,DS)=>{"use strict";var dyr={Buffer:"binary",Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Object:"generic",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};DS.exports=dyr});var FS=c((kte,BS)=>{"use strict";var pyr=xt(),yyr=Et(),myr=Ji(),hyr=Xi(),gyr=fi(),byr=Ki(),xyr=va(),qyr=Hi(),wyr=Zi(),Syr=so(),Eyr=vo(),Ayr=co(),_yr=[pyr,yyr,hyr,myr,byr,gyr,wyr,xyr,qyr,Syr,Eyr,Ayr];BS.exports=_yr});var VS=c((Bte,RS)=>{"use strict";var Tyr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];RS.exports=Tyr});var LS=c((Fte,CS)=>{"use strict";var jyr=Li(),Iyr=qa(),Oyr=ht(),Nyr=kS(),Dyr=FS(),zS=VS(),kyr=zS.length;function Byr(r){var e;if(Iyr(r))return"generic";if(jyr(r))return"binary";for(e=0;e<kyr;e++)if(r instanceof Dyr[e])return zS[e];return Nyr[Oyr(r)]||null}CS.exports=Byr});var Rn=c((Rte,PS)=>{"use strict";var Fyr=LS();PS.exports=Fyr});var GS=c((Vte,MS)=>{"use strict";var Ryr=di(),US=pr();function Vyr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(US("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.dtype,Ryr(e))return e;throw new TypeError(US("invalid argument. Must provide an ndarray having a supported data type. Value: `%s`.",e))}MS.exports=Vyr});var Fa=c((zte,YS)=>{"use strict";var zyr=GS();YS.exports=zyr});var WS=c((Cte,$S)=>{"use strict";var Cyr=ge().isPrimitive,Lyr=De(),Qv=pr();function Pyr(r){var e,a,t,o;if(typeof r!="object"||r===null)throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.shape,!Lyr(a))throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r));for(e=[],o=0;o<a.length;o++){if(t=a[o],!Cyr(t))throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(t)}return e}$S.exports=Pyr});var oe=c((Lte,JS)=>{"use strict";var Uyr=WS();JS.exports=Uyr});var HS=c((Pte,KS)=>{"use strict";var Myr=ve().isPrimitive,XS=De(),Gyr=_a(),Yyr=Ve(),rf=pr();function $yr(r){var e,a,t,o,i,n;if(typeof r!="object"||r===null)throw new TypeError(rf("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(o=r.strides,!XS(o)){if(t=r.shape,!XS(t))throw new TypeError(rf("invalid argument. Must provide an ndarray. Value: `%s`.",r));return t.length===0?[0]:(a=r.order,Gyr(a)||(a="row-major"),Yyr(t,a))}for(e=[],n=0;n<o.length;n++){if(i=o[n],!Myr(i))throw new TypeError(rf("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(i)}return e}KS.exports=$yr});var Ja=c((Ute,ZS)=>{"use strict";var Wyr=HS();ZS.exports=Wyr});var aE=c((Mte,eE)=>{"use strict";var QS=ge().isPrimitive,rE=De(),Jyr=Ye(),ef=pr();function Xyr(r){var e,a,t;if(typeof r!="object"||r===null)throw new TypeError(ef("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.offset,QS(t))return t;if(a=r.shape,!rE(a))throw new TypeError(ef("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.strides,a.length===0||!rE(e))return 0;if(t=Jyr(a,e),QS(t))return t;throw new TypeError(ef("invalid argument. Must provide an ndarray. Value: `%s`.",r))}eE.exports=Xyr});var _t=c((Gte,tE)=>{"use strict";var Kyr=aE();tE.exports=Kyr});var nE=c((Yte,oE)=>{"use strict";var Hyr=ge().isPrimitive,Zyr=De(),iE=pr();function Qyr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(iE("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.ndims,Hyr(a))return a;if(e=r.shape,!Zyr(e))throw new TypeError(iE("invalid argument. Must provide an ndarray. Value: `%s`.",r));return e.length}oE.exports=Qyr});var Vn=c(($te,sE)=>{"use strict";var rmr=nE();sE.exports=rmr});var fE=c((Wte,vE)=>{"use strict";var emr=_a(),amr=Ja(),tmr=Vn(),imr=Lt(),omr=pr(),uE="row-major",nmr="column-major";function smr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(omr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return a=r.order,emr(a)?a:(e=amr(r),a=imr(e),a===1||a===3?uE:a===2?nmr:tmr(r)===0?uE:null)}vE.exports=smr});var Xa=c((Jte,lE)=>{"use strict";var umr=fE();lE.exports=umr});var pE=c((Xte,dE)=>{"use strict";var vmr=De(),cE=pr();function fmr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(cE("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.data,vmr(e))return e;throw new TypeError(cE("invalid argument. Must provide an ndarray. Value: `%s`.",r))}dE.exports=fmr});var ut=c((Kte,yE)=>{"use strict";var lmr=pE();yE.exports=lmr});var bE=c((Hte,gE)=>{"use strict";var af=ze(),cmr=pr();function mE(r,e){var a=e[0];return af(a)&&(r.push(a.length),mE(r,a)),r}function hE(r,e,a,t,o){var i,n,s;for(i=e[a],s=0;s<t.length;s++){if(n=t[s],!af(n)||n.length!==i)return a;if(o&&(n=hE(r,e,a+1,n,a+1<r-1),n<r))return n}return r}function dmr(r){var e,a;if(!af(r))throw new TypeError(cmr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return e=[r.length],mE(e,r),a=e.length,a>1&&(e.length=hE(a,e,1,r,a>2)),e}gE.exports=dmr});var qE=c((Zte,xE)=>{"use strict";var pmr=bE();xE.exports=pmr});var SE=c((Qte,wE)=>{"use strict";function ymr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r);return a}wE.exports=ymr});var bo=c((rie,EE)=>{"use strict";var mmr=SE();EE.exports=mmr});var _E=c((eie,AE)=>{"use strict";var hmr=bo();function gmr(r){return hmr(0,r)}AE.exports=gmr});var Se=c((aie,TE)=>{"use strict";var bmr=_E();TE.exports=bmr});var IE=c((tie,jE)=>{"use strict";var xmr=pr();function qmr(r,e,a,t,o,i){var n,s,u,v,f;for(n=r.length,s=1,f=0;f<n;f++)s*=r[f];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(xmr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(u=a,t==="column-major"){for(f=0;f<n;f++)v=o%r[f],o-=v,o/=r[f],u+=v*e[f];return u}for(f=n-1;f>=0;f--)v=o%r[f],o-=v,o/=r[f],u+=v*e[f];return u}jE.exports=qmr});var na=c((iie,OE)=>{"use strict";var wmr=IE();OE.exports=wmr});var kE=c((oie,DE)=>{"use strict";var NE={float64:Smr,float32:Emr,int32:Amr,int16:_mr,int8:Tmr,uint32:jmr,uint16:Imr,uint8:Omr,uint8c:Nmr,generic:Dmr,default:kmr};function Smr(r,e,a){r[e]=a}function Emr(r,e,a){r[e]=a}function Amr(r,e,a){r[e]=a}function _mr(r,e,a){r[e]=a}function Tmr(r,e,a){r[e]=a}function jmr(r,e,a){r[e]=a}function Imr(r,e,a){r[e]=a}function Omr(r,e,a){r[e]=a}function Nmr(r,e,a){r[e]=a}function Dmr(r,e,a){r[e]=a}function kmr(r,e,a){r[e]=a}function Bmr(r){var e=NE[r];return typeof e=="function"?e:NE.default}DE.exports=Bmr});var gi=c((nie,BE)=>{"use strict";var Fmr=kE();BE.exports=Fmr});var VE=c((sie,RE)=>{"use strict";var FE={complex128:Rmr,complex64:Vmr,default:zmr};function Rmr(r,e,a){r.set(a,e)}function Vmr(r,e,a){r.set(a,e)}function zmr(r,e,a){r.set(a,e)}function Cmr(r){var e=FE[r];return typeof e=="function"?e:FE.default}RE.exports=Cmr});var bi=c((uie,zE)=>{"use strict";var Lmr=VE();zE.exports=Lmr});var LE=c((vie,CE)=>{"use strict";var Pmr=tt(),Umr=St(),Mmr=gi(),Gmr=it(),Ymr=bi(),$mr=po();function Wmr(r){var e=$mr(r);return Pmr(r)?{data:r,dtype:e,accessorProtocol:!0,accessors:[Gmr(e),Ymr(e)]}:{data:r,dtype:e,accessorProtocol:!1,accessors:[Umr(e),Mmr(e)]}}CE.exports=Wmr});var vt=c((fie,PE)=>{"use strict";var Jmr=LE();PE.exports=Jmr});var tf=c((lie,UE)=>{"use strict";var Xmr=ea();function Kmr(r,e,a,t){var o,i,n,s,u,v,f,l;for(o=e.data,n=e.accessors[0],i=e.accessors[1],f=Xmr(r/2),u=t,v=u+(r-1)*a,l=0;l<f;l++)s=n(o,u),i(o,u,n(o,v)),i(o,v,s),u+=a,v-=a;return e}UE.exports=Kmr});var GE=c((cie,ME)=>{"use strict";var Hmr=ea(),Zmr=vt(),Qmr=tf(),zn=3;function rhr(r,e,a){var t,o,i,n,s,u,v;if(r<=0)return e;if(n=Zmr(e),n.accessorProtocol)return a<0?o=(1-r)*a:o=0,Qmr(r,n,a,o),n.data;if(u=Hmr(r/2),a===1){if(s=u%zn,i=r-1,s>0)for(o=0;o<s;o++)t=e[o],e[o]=e[i],e[i]=t,i-=1;if(u<zn)return e;for(o=s;o<u;o+=zn)t=e[o],e[o]=e[i],e[i]=t,t=e[o+1],e[o+1]=e[i-1],e[i-1]=t,t=e[o+2],e[o+2]=e[i-2],e[i-2]=t,i-=zn;return e}for(a<0?o=(1-r)*a:o=0,i=o+(r-1)*a,v=0;v<u;v++)t=e[o],e[o]=e[i],e[i]=t,o+=a,i-=a;return e}ME.exports=rhr});var $E=c((die,YE)=>{"use strict";var ehr=ea(),ahr=vt(),thr=tf(),xo=3;function ihr(r,e,a,t){var o,i,n,s,u,v,f;if(r<=0)return e;if(s=ahr(e),s.accessorProtocol)return thr(r,s,a,t),s.data;if(v=ehr(r/2),i=t,a===1){if(u=v%xo,n=i+r-1,u>0)for(f=0;f<u;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;if(v<xo)return e;for(f=u;f<v;f+=xo)o=e[i],e[i]=e[n],e[n]=o,o=e[i+1],e[i+1]=e[n-1],e[n-1]=o,o=e[i+2],e[i+2]=e[n-2],e[n-2]=o,i+=xo,n-=xo;return e}for(n=i+(r-1)*a,f=0;f<v;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;return e}YE.exports=ihr});var XE=c((pie,JE)=>{"use strict";var ohr=Ir(),WE=GE(),nhr=$E();ohr(WE,"ndarray",nhr);JE.exports=WE});var nf=c((yie,QE)=>{"use strict";var shr=Ve(),uhr=na(),vhr=Jr(),KE=XE(),HE=Se(),fhr="throw";function ZE(r,e,a,t,o){var i;for(i=0;i<e;i++)a[o]=r[i],o+=t}function of(r,e,a,t,o,i,n){var s,u,v,f;for(v=t+1,s=v===e,u=a[t],f=0;f<u;f++)s?(o[n]=r[f],n+=i):n=of(r[f],e,a,v,o,i,n);return n}function lhr(r,e,a,t,o,i){var n,s,u,v,f,l,p;for(n=vhr(a),s=HE(n),of(r,e,a,0,s,1,0),u="row-major",f=shr(a,u),v=HE(e),ZE(a,e,v,1,0),KE(e,v,1),KE(e,f,1),p=0;p<n;p++)l=uhr(v,f,0,u,p,fhr),t[i]=s[l],i+=o}function chr(r,e,a,t,o,i){var n=e.length;return n===0?t:n===1?(ZE(r,e[0],t,o,i),t):a?(lhr(r,n,e,t,o,i),t):(of(r,n,e,0,t,o,i),t)}QE.exports=chr});var eA=c((mie,rA)=>{"use strict";var dhr=Jr(),phr=Se(),yhr=nf();function mhr(r,e,a){var t=phr(dhr(e));return yhr(r,e,a,t,1,0)}rA.exports=mhr});var iA=c((hie,tA)=>{"use strict";var hhr=Ir(),aA=eA(),ghr=nf();hhr(aA,"assign",ghr);tA.exports=aA});var nA=c((gie,oA)=>{"use strict";var bhr=Pi(),xhr=wa();function qhr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&xhr(r.length)&&r.length>=0&&r.length<bhr}oA.exports=qhr});var uA=c((bie,sA)=>{"use strict";var Cn=Da();function whr(){return{casting:Cn.get("casting"),copy:!1,dtype:Cn.get("dtypes.default"),flatten:!0,mode:Cn.get("index_mode"),ndmin:0,order:Cn.get("order"),readonly:!1}}sA.exports=whr});var fA=c((xie,vA)=>{"use strict";var Shr=go(),Ehr=At();function Ahr(r,e,a){var t,o,i;if(t=Shr(a),a==="generic")for(o=[],i=0;i<e;i++)o.push(r[i]);else if(a==="binary")for(o=Ehr(e),i=0;i<e;i++)o[i]=r[i];else for(o=new t(e),i=0;i<e;i++)o[i]=r[i];return o}vA.exports=Ahr});var dA=c((qie,cA)=>{"use strict";var lA=Pe(),_hr=ge().isPrimitive,sf=pr(),Qt="number";function Thr(r,e,a){var t;if(!lA(r))throw new TypeError(sf("invalid argument. First argument must be a function. Value: `%s`.",r));if(!_hr(e))throw new TypeError(sf("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!lA(a))throw new TypeError(sf("invalid argument. Third argument must be a constructor function. Value: `%s`.",a));return t=[o,i,n,s,u,v],e<=5?t[e]:f;function o(){var l=r();return typeof l===Qt?new a(l,0):l}function i(l){var p=r(l);return typeof p===Qt?new a(p,0):p}function n(l,p){var m=r(l,p);return typeof m===Qt?new a(m,0):m}function s(l,p,m){var d=r(l,p,m);return typeof d===Qt?new a(d,0):d}function u(l,p,m,d){var y=r(l,p,m,d);return typeof y===Qt?new a(y,0):y}function v(l,p,m,d,y){var h=r(l,p,m,d,y);return typeof h===Qt?new a(h,0):h}function f(){var l,p,m;for(l=[],m=0;m<arguments.length;m++)l.push(arguments[m]);return p=r.apply(null,l),typeof p===Qt?new a(p,0):p}}cA.exports=Thr});var uf=c((wie,pA)=>{"use strict";var jhr=dA();pA.exports=jhr});var mA=c((Sie,yA)=>{"use strict";var Ihr=ln(),Ohr=fn(),Nhr={complex64:Ihr,complex128:Ohr};yA.exports=Nhr});var gA=c((Eie,hA)=>{"use strict";var Dhr=mA();function khr(r){return Dhr[r]||null}hA.exports=khr});var Ln=c((Aie,bA)=>{"use strict";var Bhr=gA();bA.exports=Bhr});var qA=c((_ie,xA)=>{"use strict";var Fhr=vt(),Rhr=uf(),Vhr=Ln(),zhr=go(),Chr=At(),Lhr=aa(),Phr=Fa(),Uhr=oe(),Mhr=Ja(),Ghr=_t(),Yhr=Xa(),$hr=ut();function Whr(r){var e,a,t;for(e=r.length,a=[],t=0;t<e;t++)a.push(r.iget(t));return a}function Jhr(r){var e,a,t;for(e=r.length,a=Chr(e),t=0;t<e;t++)a[t]=r.iget(t);return a}function Xhr(r,e){var a,t,o,i,n,s,u;if(a=zhr(e),t=r.length,o=new a(t),s=Fhr(o),s.accessorProtocol)for(i=s.accessors[1],n=Rhr(v,1,Vhr(e)),u=0;u<t;u++)i(o,u,n(u));else for(u=0;u<t;u++)o[u]=r.iget(u);return o;function v(f){return r.iget(f)}}function Khr(r,e){var a;return a=new Lhr(Phr(r),$hr(r),Uhr(r),Mhr(r),Ghr(r),Yhr(r)),e==="generic"?Whr(a):e==="binary"?Jhr(a):Xhr(a,e)}xA.exports=Khr});var SA=c((Tie,wA)=>{"use strict";function Hhr(r,e,a){var t,o;for(t=[],o=0;o<a-r;o++)t.push(1);for(o=0;o<r;o++)t.push(e[o]);return t}wA.exports=Hhr});var AA=c((jie,EA)=>{"use strict";var Zhr=vi();function Qhr(r,e,a,t){var o,i,n,s,u;if(i=a.length,u=r-i,o=[],t==="row-major"){for(n=Zhr(a[0])*e[u],s=0;s<u;s++)o.push(n);for(s=0;s<i;s++)o.push(a[s])}else{for(s=0;s<u;s++)o.push(1);for(s=0;s<i;s++)o.push(a[s])}return o}EA.exports=Qhr});var DA=c((Iie,NA)=>{"use strict";var Ra=Xr(),_A=ne(),TA=pe().isPrimitive,r1r=qa(),e1r=ge().isPrimitive,a1r=se(),t1r=Ve(),i1r=Ye(),o1r=Lt(),Pn=Jr(),n1r=ma(),s1r=di(),u1r=_a(),v1r=Fv(),f1r=Pv(),l1r=Ba(),c1r=Rn(),d1r=Fa(),p1r=oe(),jA=Ja(),y1r=_t(),IA=Xa(),m1r=ut(),OA=qE(),h1r=iA(),ga=pr(),Un=nA(),g1r=uA(),b1r=fA(),x1r=qA(),q1r=SA(),w1r=AA(),Va=g1r();function S1r(){var r,e,a,t,o,i,n,s,u,v,f,l,p,m,d;if(arguments.length===1)if(Un(arguments[0]))a=arguments[0],r={};else{if(r=arguments[0],!_A(r))throw new TypeError(ga("invalid argument. Must provide either a valid data source, options argument, or both. Value: `%s`.",r));if(Ra(r,"buffer")&&(a=r.buffer,!Un(a)))throw new TypeError(ga("invalid option. `%s` option must be an array-like object, typed-array-like, a Buffer, or an ndarray. Option: `%s`.","buffer",a))}else{if(a=arguments[0],!Un(a))throw new TypeError(ga("invalid option. Data source must be an array-like object, typed-array-like, a Buffer, or an ndarray. Value: `%s`.",a));if(r=arguments[1],!_A(r))throw new TypeError(ga("invalid argument. Options argument must be an object. Value: `%s`.",r))}if(a&&(a1r(a)?(n=d1r(a),d=!0):(n=c1r(a),d=!1)),v={},f={},Ra(r,"casting")){if(f.casting=r.casting,!v1r(f.casting))throw new TypeError(ga("invalid option. `%s` option must be a recognized casting mode. Option: `%s`.","casting",f.casting))}else f.casting=Va.casting;if(Ra(r,"flatten")){if(f.flatten=r.flatten,!TA(f.flatten))throw new TypeError(ga("invalid option. `%s` option must be a boolean. Option: `%s`.","flatten",f.flatten))}else f.flatten=Va.flatten;if(Ra(r,"ndmin")){if(f.ndmin=r.ndmin,!e1r(f.ndmin))throw new TypeError(ga("invalid option. `%s` option must be a nonnegative integer. Option: `%s`.","ndmin",f.ndmin))}else f.ndmin=Va.ndmin;if(Ra(r,"dtype")){if(i=r.dtype,!s1r(i))throw new TypeError(ga("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",i));if(n&&!f1r(n,i,f.casting))throw new Error(ga("invalid option. Data type cast is not allowed. Casting mode: `%s`. From: `%s`. To: `%s`.",f.casting,n,i))}else n?!d&&n==="generic"?i=Va.dtype:i=n:i=Va.dtype;if(Ra(r,"order")){if(o=r.order,o==="any"||o==="same")d?o==="any"?(m=o1r(jA(a)),m===3?o=Va.order:o=IA(a)):o==="same"&&(o=IA(a)):o=Va.order;else if(!u1r(o))throw new TypeError(ga("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",o))}else o=Va.order;if(Ra(r,"mode")?v.mode=r.mode:v.mode=Va.mode,Ra(r,"submode")?v.submode=r.submode:v.submode=[v.mode],Ra(r,"readonly")?v.readonly=r.readonly:v.readonly=Va.readonly,Ra(r,"copy")){if(f.copy=r.copy,!TA(f.copy))throw new TypeError(ga("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",f.copy))}else f.copy=Va.copy;if(Ra(r,"shape")){if(s=r.shape,!Un(s))throw new TypeError(ga("invalid option. `%s` option must be an array-like object containing nonnegative integers. Option: `%s`.","shape",s));u=s.length,p=Pn(s)}else if(a)d?(s=p1r(a),u=s.length,p=Pn(s)):f.flatten&&r1r(a)?(s=OA(a),l=s,u=s.length,p=Pn(s)):(u=1,p=a.length,s=[p]);else throw new Error("invalid arguments. Must provide either a data source, array shape, or both.");if(u<f.ndmin&&(s=q1r(u,s,f.ndmin),u=f.ndmin),d){if(Pn(a.shape)!==p)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");n!==i||f.copy?a=x1r(a,i):(e=jA(a),t=y1r(a),a=m1r(a),e.length<u&&(e=w1r(u,s,e,o)))}else if(a){if(n==="generic"&&f.flatten&&(a=h1r(a,l||OA(a),o==="column-major")),a.length!==p)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");(n!==i||f.copy)&&(a=b1r(a,p,i))}else a=l1r(i,p);return e===void 0&&(e=t1r(s,o),t=i1r(s,e)),new n1r(i,a,s,e,t,o,v)}NA.exports=S1r});var BA=c((Oie,kA)=>{"use strict";var E1r=DA();kA.exports=E1r});var VA=c((Nie,RA)=>{"use strict";var A1r=se(),_1r=ve().isPrimitive,T1r=ya(),j1r=oe(),FA=pr();function I1r(r){var e,a,t,o,i,n;if(!A1r(r))throw new TypeError(FA("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o=j1r(r),i=o.length,e=arguments.length-1,e<i)throw new RangeError("invalid invocation. Insufficient arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);if(e>i)throw new RangeError("invalid invocation. Too many arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);for(a=[],n=1;n<=e;n++){if(t=arguments[n],!_1r(t))throw new TypeError(FA("invalid argument. Index arguments must be integers. Value: `%s`.",t));if(t=T1r(t,o[n-1]-1),t===-1)return;a.push(t)}return r.get.apply(r,a)}RA.exports=I1r});var CA=c((Die,zA)=>{"use strict";var O1r=VA();zA.exports=O1r});var PA=c((kie,LA)=>{"use strict";function N1r(r){var e,a,t;for(a=r.length,e=[],t=0;t<a;t++)e.push(r[t]);return e}LA.exports=N1r});var Tt=c((Bie,UA)=>{"use strict";var D1r=PA();UA.exports=D1r});var GA=c((Fie,MA)=>{"use strict";var k1r=Tt();function B1r(r,e){var a=r.shape;return e?k1r(a):a}MA.exports=B1r});var Te=c((Rie,YA)=>{"use strict";var F1r=GA();YA.exports=F1r});var WA=c((Vie,$A)=>{"use strict";function R1r(r,e){var a;if(r.length!==e.length)return!1;for(a=0;a<r.length;a++)if(r[a]!==e[a])return!1;return!0}$A.exports=R1r});var XA=c((zie,JA)=>{"use strict";var V1r=WA();JA.exports=V1r});var ZA=c((Cie,HA)=>{"use strict";var KA=Te(),z1r=XA();function C1r(r,e){return z1r(KA(r,!1),KA(e,!1))}HA.exports=C1r});var r5=c((Lie,QA)=>{"use strict";var L1r=ZA();QA.exports=L1r});var a5=c((Pie,e5)=>{"use strict";var P1r=Ce().factory,U1r=ke(),M1r=P1r(U1r("boolean"));e5.exports=M1r});var i5=c((Uie,t5)=>{"use strict";var G1r=a5();t5.exports=G1r});var n5=c((Mie,o5)=>{"use strict";var Y1r=Jr();function $1r(r,e){return r>=Y1r(e)}o5.exports=$1r});var u5=c((Gie,s5)=>{"use strict";var W1r=n5();s5.exports=W1r});var l5=c((Yie,f5)=>{"use strict";var v5=vi();function J1r(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=v5(r[0]),o=1;o<e;o++){if(t=v5(r[o]),t<a)return!1;a=t}return!0}f5.exports=J1r});var vf=c(($ie,c5)=>{"use strict";var X1r=l5();c5.exports=X1r});var p5=c((Wie,d5)=>{"use strict";var K1r=Jr(),H1r=et();function Z1r(r,e,a){var t,o;return t=K1r(r),t===0?!1:(o=H1r(r,e,a),t===o[1]-o[0]+1)}d5.exports=Z1r});var qo=c((Jie,y5)=>{"use strict";var Q1r=p5();y5.exports=Q1r});var h5=c((Xie,m5)=>{"use strict";var rgr=qo(),egr=Sa(),agr=vf();function tgr(r,e,a){return egr(e)!==0&&agr(e)&&rgr(r,e,a)}m5.exports=tgr});var b5=c((Kie,g5)=>{"use strict";var igr=h5();g5.exports=igr});var q5=c((Hie,x5)=>{"use strict";var ogr=Ce().factory,ngr=ke(),sgr=ogr(ngr("complex_floating_point"));x5.exports=sgr});var wo=c((Zie,w5)=>{"use strict";var ugr=q5();w5.exports=ugr});var E5=c((Qie,S5)=>{"use strict";var vgr=qo(),fgr=Sa();function lgr(r,e,a){return fgr(e)!==0&&vgr(r,e,a)}S5.exports=lgr});var _5=c((roe,A5)=>{"use strict";var cgr=E5();A5.exports=cgr});var j5=c((eoe,T5)=>{"use strict";var dgr=Ce().factory,pgr=ke(),ygr=dgr(pgr("floating_point"));T5.exports=ygr});var Mn=c((aoe,I5)=>{"use strict";var mgr=j5();I5.exports=mgr});var N5=c((toe,O5)=>{"use strict";var hgr=Ce().factory,ggr=ke(),bgr=hgr(ggr("integer"));O5.exports=bgr});var ff=c((ioe,D5)=>{"use strict";var xgr=N5();D5.exports=xgr});var B5=c((ooe,k5)=>{"use strict";var qgr=Ce().factory,wgr=ke(),Sgr=qgr(wgr("numeric"));k5.exports=Sgr});var lf=c((noe,F5)=>{"use strict";var Egr=B5();F5.exports=Egr});var V5=c((soe,R5)=>{"use strict";var Agr=Pe(),_gr=Agr(Object.assign);R5.exports=_gr});var C5=c((uoe,z5)=>{"use strict";var Tgr=Object.assign;z5.exports=Tgr});var P5=c((voe,L5)=>{"use strict";var jgr=typeof Object.getOwnPropertySymbols<"u";L5.exports=jgr});var G5=c((foe,M5)=>{"use strict";var U5=zt(),Igr=U5.getOwnPropertySymbols;function Ogr(r){return Igr(U5(r))}M5.exports=Ogr});var $5=c((loe,Y5)=>{"use strict";function Ngr(){return[]}Y5.exports=Ngr});var df=c((coe,W5)=>{"use strict";var Dgr=P5(),kgr=G5(),Bgr=$5(),cf;Dgr?cf=kgr:cf=Bgr;W5.exports=cf});var X5=c((doe,J5)=>{"use strict";var Fgr=Ea(),Rgr=df(),Vgr=Mi();function zgr(r){var e,a,t;for(e=Fgr(r),a=Rgr(r),t=0;t<a.length;t++)Vgr(r,a[t])&&e.push(a[t]);return e}J5.exports=zgr});var H5=c((poe,K5)=>{"use strict";var Cgr=X5();K5.exports=Cgr});var r8=c((yoe,Q5)=>{"use strict";var Lgr=H5(),Z5=zt(),Pgr=pr();function Ugr(r){var e,a,t,o,i,n,s;if(r==null)throw new TypeError(Pgr("invalid argument. First argument must be a non-null object. Value: `%s`.",r));for(i=Z5(r),n=1;n<arguments.length;n++)if(e=arguments[n],e!=null)for(a=Lgr(Z5(e)),o=a.length,s=0;s<o;s++)t=a[s],i[t]=e[t];return i}Q5.exports=Ugr});var a8=c((moe,e8)=>{"use strict";var Mgr=V5(),Ggr=C5(),Ygr=r8(),pf;Mgr?pf=Ggr:pf=Ygr;e8.exports=pf});var i8=c((hoe,t8)=>{"use strict";var $gr=a8();function Wgr(r,e){var a=r.flags;return typeof a!="object"||a===null?{}:e?$gr({},a):a}t8.exports=Wgr});var So=c((goe,o8)=>{"use strict";var Jgr=i8();o8.exports=Jgr});var s8=c((boe,n8)=>{"use strict";var Xgr=So();function Kgr(r,e){return Xgr(r,!1)[e]}n8.exports=Kgr});var yf=c((xoe,u8)=>{"use strict";var Hgr=s8();u8.exports=Hgr});var f8=c((qoe,v8)=>{"use strict";var Zgr=yf();function Qgr(r){return Zgr(r,"READONLY")===!0}v8.exports=Qgr});var Ue=c((woe,l8)=>{"use strict";var r2r=f8();l8.exports=r2r});var d8=c((Soe,c8)=>{"use strict";var e2r=Ce().factory,a2r=ke(),t2r=e2r(a2r("real"));c8.exports=t2r});var Gn=c((Eoe,p8)=>{"use strict";var i2r=d8();p8.exports=i2r});var m8=c((Aoe,y8)=>{"use strict";var o2r=Ce().factory,n2r=ke(),s2r=o2r(n2r("real_floating_point"));y8.exports=s2r});var mf=c((_oe,h8)=>{"use strict";var u2r=m8();h8.exports=u2r});var x8=c((Toe,b8)=>{"use strict";var g8=vi();function v2r(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=g8(r[0]),o=1;o<e;o++){if(t=g8(r[o]),t>a)return!1;a=t}return!0}b8.exports=v2r});var Yn=c((joe,q8)=>{"use strict";var f2r=x8();q8.exports=f2r});var S8=c((Ioe,w8)=>{"use strict";var l2r=qo(),c2r=Sa(),d2r=Yn();function p2r(r,e,a){return c2r(e)!==0&&d2r(e)&&l2r(r,e,a)}w8.exports=p2r});var A8=c((Ooe,E8)=>{"use strict";var y2r=S8();E8.exports=y2r});var T8=c((Noe,_8)=>{"use strict";var m2r=Ce().factory,h2r=ke(),g2r=m2r(h2r("signed_integer"));_8.exports=g2r});var $n=c((Doe,j8)=>{"use strict";var b2r=T8();j8.exports=b2r});var O8=c((koe,I8)=>{"use strict";var x2r=Ce().factory,q2r=ke(),w2r=x2r(q2r("unsigned_integer"));I8.exports=w2r});var Wn=c((Boe,N8)=>{"use strict";var S2r=O8();N8.exports=S2r});var k8=c((Foe,D8)=>{"use strict";var ce=Rt(),fe={};ce(fe,"hasEqualShape",r5());ce(fe,"isAllowedDataTypeCast",Pv());ce(fe,"isBooleanDataType",i5());ce(fe,"isBufferLengthCompatible",jv());ce(fe,"isBufferLengthCompatibleShape",u5());ce(fe,"isCastingMode",Fv());ce(fe,"isColumnMajor",vf());ce(fe,"isColumnMajorContiguous",b5());ce(fe,"isComplexFloatingPointDataType",wo());ce(fe,"isContiguous",_5());ce(fe,"isDataType",di());ce(fe,"isFloatingPointDataType",Mn());ce(fe,"isIndexMode",pi());ce(fe,"isIntegerDataType",ff());ce(fe,"isMostlySafeDataTypeCast",In());ce(fe,"isNumericDataType",lf());ce(fe,"isOrder",_a());ce(fe,"isReadOnly",Ue());ce(fe,"isRealDataType",Gn());ce(fe,"isRealFloatingPointDataType",mf());ce(fe,"isRowMajor",Yn());ce(fe,"isRowMajorContiguous",A8());ce(fe,"isSafeDataTypeCast",_n());ce(fe,"isSameKindDataTypeCast",Lv());ce(fe,"isSignedIntegerDataType",$n());ce(fe,"isSingleSegmentCompatible",qo());ce(fe,"isUnsignedIntegerDataType",Wn());D8.exports=fe});var F8=c((Roe,B8)=>{"use strict";function E2r(r){return r.dtype}B8.exports=E2r});var Xe=c((Voe,R8)=>{"use strict";var A2r=F8();R8.exports=A2r});var z8=c((zoe,V8)=>{"use strict";var _2r=Ve(),T2r=Tt(),j2r="row-major";function I2r(r,e){var a,t,o;return o=r.strides,typeof o!="object"||o===null?(t=r.shape,t.length===0?[0]:(a=r.order,typeof a!="string"&&(a=j2r),_2r(t,a))):e?T2r(o):o}V8.exports=I2r});var ba=c((Coe,C8)=>{"use strict";var O2r=z8();C8.exports=O2r});var P8=c((Loe,L8)=>{"use strict";var N2r=Ye();function D2r(r){var e,a,t;return t=r.offset,typeof t=="number"?t:(a=r.shape,a.length===0||(e=r.strides,typeof e!="object"||e===null)?0:N2r(a,e))}L8.exports=D2r});var Ka=c((Poe,U8)=>{"use strict";var k2r=P8();U8.exports=k2r});var G8=c((Uoe,M8)=>{"use strict";var B2r=Lt(),hf="row-major",F2r="column-major";function R2r(r){var e,a;return a=r.order,typeof a=="string"?a:(e=r.strides,typeof e!="object"||e===null||(a=B2r(e),a===1||a===3)?hf:a===2?F2r:r.shape.length===0?hf:null)}M8.exports=R2r});var sa=c((Moe,Y8)=>{"use strict";var V2r=G8();Y8.exports=V2r});var W8=c((Goe,$8)=>{"use strict";function z2r(r){return r.data}$8.exports=z2r});var ft=c((Yoe,J8)=>{"use strict";var C2r=W8();J8.exports=C2r});var K8=c(($oe,X8)=>{"use strict";var L2r=tt(),P2r=it(),U2r=bi(),M2r=St(),G2r=gi(),Y2r=Jr(),$2r=Xe(),W2r=Te(),J2r=ba(),X2r=Ka(),K2r=sa(),H2r=ft();function Z2r(r){var e,a,t,o;return e=H2r(r),t=W2r(r,!0),o=$2r(r),a=L2r(e),{ref:r,dtype:o,data:e,length:Y2r(t),shape:t,strides:J2r(r,!0),offset:X2r(r),order:K2r(r),accessorProtocol:a,accessors:a?[P2r(o),U2r(o)]:[M2r(o),G2r(o)]}}X8.exports=Z2r});var ri=c((Woe,H8)=>{"use strict";var Q2r=K8();H8.exports=Q2r});var Q8=c((Joe,Z8)=>{"use strict";function rbr(r){var e,a;if(e=[],r<=0)return e;for(a=0;a<r;a++)e.push(a);return e}Z8.exports=rbr});var a_=c((Xoe,e_)=>{"use strict";var ebr=vt(),abr=oo(),tbr=io();function ibr(r,e,a){var t,o;for(o=a,t=0;o>=0&&o<r.length;)r[o]=t,o+=e,t+=1;return r}function r_(r,e,a,t){var o,i,n;for(i=a*2,n=t*2,o=0;n>=0&&n<e.length;)e[n]=o,e[n+1]=0,n+=i,o+=1;return r}function obr(r,e,a){var t,o,i,n;for(t=r.data,o=r.accessors[1],n=a,i=0;n>=0&&n<t.length;)o(t,n,i),n+=e,i+=1;return t}function nbr(r,e,a){var t=ebr(r);return t.accessorProtocol?t.dtype==="complex128"?r_(r,abr(r,0),e,a):t.dtype==="complex64"?r_(r,tbr(r,0),e,a):obr(t,e,a):ibr(r,e,a)}e_.exports=nbr});var qe=c((Koe,i_)=>{"use strict";var sbr=Ir(),t_=Q8(),ubr=a_();sbr(t_,"assign",ubr);i_.exports=t_});var n_=c((Hoe,o_)=>{"use strict";function vbr(r,e){var a,t;for(a=[],t=0;t<e.length;t++)a.push(r[e[t]]);return a}o_.exports=vbr});var Kr=c((Zoe,s_)=>{"use strict";var fbr=n_();s_.exports=fbr});var v_=c((Qoe,u_)=>{"use strict";function lbr(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}u_.exports=lbr});var c_=c((rne,l_)=>{"use strict";var cbr=qe(),dbr=Tt(),f_=Kr(),pbr=v_();function ybr(r,e,a){var t;return t=cbr(r.length),e=dbr(e),pbr(e,t),r=f_(r,t),a=f_(a,t),{sh:r,sx:e,sy:a,idx:t}}l_.exports=ybr});var Fr=c((ene,d_)=>{"use strict";var mbr=c_();d_.exports=mbr});var y_=c((ane,p_)=>{"use strict";var hbr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};p_.exports=hbr});var g_=c((tne,h_)=>{"use strict";var m_=bt(),gf=y_();function gbr(r,e){var a,t;return a=m_(r),t=m_(e),a===null||t===null?gf.BLOCK_SIZE_IN_ELEMENTS:a>t?gf.BLOCK_SIZE_IN_BYTES/a|0:gf.BLOCK_SIZE_IN_BYTES/t|0}h_.exports=gbr});var Br=c((ine,b_)=>{"use strict";var bbr=g_();b_.exports=bbr});var q_=c((one,x_)=>{"use strict";var xbr=Fr(),qbr=Br();function wbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T;for(T=xbr(r.shape,r.strides,e.strides),m=T.sh,h=T.sx,g=T.sy,a=qbr(r.dtype,e.dtype),x=r.offset,S=e.offset,t=r.data,o=e.data,s=h[0],v=g[0],i=r.accessors[0],n=e.accessors[1],q=m[1];q>0;)for(q<a?(y=q,q=0):(y=a,q-=a),l=x+q*h[1],p=S+q*g[1],E=m[0];E>0;)for(E<a?(d=E,E=0):(d=a,E-=a),w=l+E*h[0],A=p+E*g[0],u=h[1]-d*h[0],f=g[1]-d*g[0],b=0;b<y;b++){for(_=0;_<d;_++)n(o,A,i(t,w)),w+=s,A+=v;w+=u,A+=f}}x_.exports=wbr});var S_=c((nne,w_)=>{"use strict";var Sbr=Fr(),Ebr=Br();function Abr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F;for(F=Sbr(r.shape,r.strides,e.strides),g=F.sh,A=F.sx,_=F.sy,a=Ebr(r.dtype,e.dtype),b=r.offset,E=e.offset,t=r.data,o=e.data,s=A[0],f=_[0],i=r.accessors[0],n=e.accessors[1],N=g[2];N>0;)for(N<a?(w=N,N=0):(w=a,N-=a),d=b+N*A[2],h=E+N*_[2],k=g[1];k>0;)for(k<a?(S=k,k=0):(S=a,k-=a),v=A[2]-S*A[1],p=_[2]-S*_[1],m=d+k*A[1],y=h+k*_[1],D=g[0];D>0;)for(D<a?(x=D,D=0):(x=a,D-=a),q=m+D*A[0],T=y+D*_[0],u=A[1]-x*A[0],l=_[1]-x*_[0],I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++)n(o,T,i(t,q)),q+=s,T+=f;q+=u,T+=l}q+=v,T+=p}}w_.exports=Abr});var A_=c((sne,E_)=>{"use strict";var _br=Fr(),Tbr=Br();function jbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P;for(P=_br(r.shape,r.strides,e.strides),A=P.sh,T=P.sx,j=P.sy,a=Tbr(r.dtype,e.dtype),O=r.offset,I=e.offset,t=r.data,o=e.data,s=T[0],l=j[0],i=r.accessors[0],n=e.accessors[1],L=A[3];L>0;)for(L<a?(q=L,L=0):(q=a,L-=a),g=O+L*T[3],w=I+L*j[3],C=A[2];C>0;)for(C<a?(E=C,C=0):(E=a,C-=a),f=T[3]-E*T[2],d=j[3]-E*j[2],h=g+C*T[2],S=w+C*j[2],z=A[1];z>0;)for(z<a?(b=z,z=0):(b=a,z-=a),v=T[2]-b*T[1],m=j[2]-b*j[1],y=h+z*T[1],x=S+z*j[1],V=A[0];V>0;)for(V<a?(_=V,V=0):(_=a,V-=a),D=y+V*T[0],k=x+V*j[0],u=T[1]-_*T[0],p=j[1]-_*j[0],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++)n(o,k,i(t,D)),D+=s,k+=l;D+=u,k+=p}D+=v,k+=m}D+=f,k+=d}}E_.exports=jbr});var T_=c((une,__)=>{"use strict";var Ibr=Fr(),Obr=Br();function Nbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J;for(J=Ibr(r.shape,r.strides,e.strides),q=J.sh,k=J.sx,N=J.sy,a=Obr(r.dtype,e.dtype),F=r.offset,R=e.offset,t=r.data,o=e.data,s=k[0],p=N[0],i=r.accessors[0],n=e.accessors[1],W=q[4];W>0;)for(W<a?(D=W,W=0):(D=a,W-=a),w=F+W*k[4],E=R+W*N[4],Y=q[3];Y>0;)for(Y<a?(I=Y,Y=0):(I=a,Y-=a),l=k[4]-I*k[3],h=N[4]-I*N[3],S=w+Y*k[3],b=E+Y*N[3],$=q[2];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),f=k[3]-O*k[2],y=N[3]-O*N[2],x=S+$*k[2],_=b+$*N[2],G=q[1];G>0;)for(G<a?(j=G,G=0):(j=a,G-=a),v=k[2]-j*k[1],d=N[2]-j*N[1],g=x+G*k[1],A=_+G*N[1],M=q[0];M>0;)for(M<a?(T=M,M=0):(T=a,M-=a),B=g+M*k[0],V=A+M*N[0],u=k[1]-T*k[0],m=N[1]-T*N[0],U=0;U<D;U++){for(P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++)n(o,V,i(t,B)),B+=s,V+=p;B+=u,V+=m}B+=v,V+=d}B+=f,V+=y}B+=l,V+=h}}__.exports=Nbr});var I_=c((vne,j_)=>{"use strict";var Dbr=Fr(),kbr=Br();function Bbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar;for(ar=Dbr(r.shape,r.strides,e.strides),I=ar.sh,V=ar.sx,z=ar.sy,a=kbr(r.dtype,e.dtype),C=r.offset,L=e.offset,t=r.data,o=e.data,s=V[0],m=z[0],i=r.accessors[0],n=e.accessors[1],rr=I[5];rr>0;)for(rr<a?(B=rr,rr=0):(B=a,rr-=a),b=C+rr*V[5],O=L+rr*z[5],Z=I[4];Z>0;)for(Z<a?(R=Z,Z=0):(R=a,Z-=a),p=V[5]-R*V[4],x=z[5]-R*z[4],_=b+Z*V[4],j=O+Z*z[4],Q=I[3];Q>0;)for(Q<a?(F=Q,Q=0):(F=a,Q-=a),l=V[4]-F*V[3],g=z[4]-F*z[3],A=_+Q*V[3],T=j+Q*z[3],H=I[2];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=V[3]-N*V[2],h=z[3]-N*z[2],w=A+H*V[2],q=T+H*z[2],K=I[1];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),v=V[2]-k*V[1],y=z[2]-k*z[1],S=w+K*V[1],E=q+K*z[1],X=I[0];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),P=S+X*V[0],U=E+X*z[0],u=V[1]-D*V[0],d=z[1]-D*z[0],J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++)n(o,U,i(t,P)),P+=s,U+=m;P+=u,U+=d}P+=v,U+=y}P+=f,U+=h}P+=l,U+=g}P+=p,U+=x}}j_.exports=Bbr});var N_=c((fne,O_)=>{"use strict";var Fbr=Fr(),Rbr=Br();function Vbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur;for(ur=Fbr(r.shape,r.strides,e.strides),F=ur.sh,U=ur.sx,M=ur.sy,a=Rbr(r.dtype,e.dtype),G=r.offset,$=e.offset,t=r.data,o=e.data,s=U[0],d=M[0],i=r.accessors[0],n=e.accessors[1],sr=F[6];sr>0;)for(sr<a?(P=sr,sr=0):(P=a,sr-=a),T=G+sr*U[6],N=$+sr*M[6],nr=F[5];nr>0;)for(nr<a?(L=nr,nr=0):(L=a,nr-=a),m=U[6]-L*U[5],w=M[6]-L*M[5],q=T+nr*U[5],k=N+nr*M[5],or=F[4];or>0;)for(or<a?(C=or,or=0):(C=a,or-=a),p=U[5]-C*U[4],S=M[5]-C*M[4],E=q+or*U[4],D=k+or*M[4],tr=F[3];tr>0;)for(tr<a?(z=tr,tr=0):(z=a,tr-=a),l=U[4]-z*U[3],x=M[4]-z*M[3],b=E+tr*U[3],I=D+tr*M[3],ir=F[2];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),f=U[3]-V*U[2],g=M[3]-V*M[2],_=b+ir*U[2],O=I+ir*M[2],er=F[1];er>0;)for(er<a?(B=er,er=0):(B=a,er-=a),v=U[2]-B*U[1],h=M[2]-B*M[1],A=_+er*U[1],j=O+er*M[1],ar=F[0];ar>0;)for(ar<a?(R=ar,ar=0):(R=a,ar-=a),Y=A+ar*U[0],W=j+ar*M[0],u=U[1]-R*U[0],y=M[1]-R*M[0],rr=0;rr<P;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<C;Q++){for(H=0;H<z;H++){for(K=0;K<V;K++){for(X=0;X<B;X++){for(J=0;J<R;J++)n(o,W,i(t,Y)),Y+=s,W+=d;Y+=u,W+=y}Y+=v,W+=h}Y+=f,W+=g}Y+=l,W+=x}Y+=p,W+=S}Y+=m,W+=w}}O_.exports=Vbr});var k_=c((lne,D_)=>{"use strict";var zbr=Fr(),Cbr=Br();function Lbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr;for(hr=zbr(r.shape,r.strides,e.strides),z=hr.sh,W=hr.sx,J=hr.sy,a=Cbr(r.dtype,e.dtype),X=r.offset,K=e.offset,t=r.data,o=e.data,s=W[0],y=J[0],i=r.accessors[0],n=e.accessors[1],mr=z[7];mr>0;)for(mr<a?(Y=mr,mr=0):(Y=a,mr-=a),I=X+mr*W[7],V=K+mr*J[7],dr=z[6];dr>0;)for(dr<a?($=dr,dr=0):($=a,dr-=a),d=W[7]-$*W[6],_=J[7]-$*J[6],O=I+dr*W[6],B=V+dr*J[6],yr=z[5];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),m=W[6]-G*W[5],A=J[6]-G*J[5],j=O+yr*W[5],R=B+yr*J[5],fr=z[4];fr>0;)for(fr<a?(M=fr,fr=0):(M=a,fr-=a),p=W[5]-M*W[4],w=J[5]-M*J[4],T=j+fr*W[4],F=R+fr*J[4],lr=z[3];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),l=W[4]-U*W[3],S=J[4]-U*J[3],q=T+lr*W[3],N=F+lr*J[3],vr=z[2];vr>0;)for(vr<a?(P=vr,vr=0):(P=a,vr-=a),f=W[3]-P*W[2],x=J[3]-P*J[2],E=q+vr*W[2],k=N+vr*J[2],ur=z[1];ur>0;)for(ur<a?(L=ur,ur=0):(L=a,ur-=a),v=W[2]-L*W[1],g=J[2]-L*J[1],b=E+ur*W[1],D=k+ur*J[1],sr=z[0];sr>0;)for(sr<a?(C=sr,sr=0):(C=a,sr-=a),H=b+sr*W[0],Q=D+sr*J[0],u=W[1]-C*W[0],h=J[1]-C*J[0],nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<C;Z++)n(o,Q,i(t,H)),H+=s,Q+=y;H+=u,Q+=h}H+=v,Q+=g}H+=f,Q+=x}H+=l,Q+=S}H+=p,Q+=w}H+=m,Q+=A}H+=d,Q+=_}}D_.exports=Lbr});var F_=c((cne,B_)=>{"use strict";var Pbr=Fr(),Ubr=Br();function Mbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r;for(_r=Pbr(r.shape,r.strides,e.strides),U=_r.sh,Q=_r.sx,Z=_r.sy,a=Ubr(r.dtype,e.dtype),rr=r.offset,ar=e.offset,t=r.data,o=e.data,s=Q[0],h=Z[0],i=r.accessors[0],n=e.accessors[1],Ar=U[8];Ar>0;)for(Ar<a?(H=Ar,Ar=0):(H=a,Ar-=a),N=rr+Ar*Q[8],P=ar+Ar*Z[8],gr=U[7];gr>0;)for(gr<a?(K=gr,gr=0):(K=a,gr-=a),y=Q[8]-K*Q[7],E=Z[8]-K*Z[7],k=N+gr*Q[7],L=P+gr*Z[7],qr=U[6];qr>0;)for(qr<a?(X=qr,qr=0):(X=a,qr-=a),d=Q[7]-X*Q[6],b=Z[7]-X*Z[6],D=k+qr*Q[6],C=L+qr*Z[6],xr=U[5];xr>0;)for(xr<a?(J=xr,xr=0):(J=a,xr-=a),m=Q[6]-J*Q[5],_=Z[6]-J*Z[5],I=D+xr*Q[5],z=C+xr*Z[5],wr=U[4];wr>0;)for(wr<a?(W=wr,wr=0):(W=a,wr-=a),p=Q[5]-W*Q[4],A=Z[5]-W*Z[4],O=I+wr*Q[4],V=z+wr*Z[4],br=U[3];br>0;)for(br<a?(Y=br,br=0):(Y=a,br-=a),l=Q[4]-Y*Q[3],w=Z[4]-Y*Z[3],j=O+br*Q[3],B=V+br*Z[3],hr=U[2];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),f=Q[3]-$*Q[2],S=Z[3]-$*Z[2],T=j+hr*Q[2],R=B+hr*Z[2],mr=U[1];mr>0;)for(mr<a?(G=mr,mr=0):(G=a,mr-=a),v=Q[2]-G*Q[1],x=Z[2]-G*Z[1],q=T+mr*Q[1],F=R+mr*Z[1],dr=U[0];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),er=q+dr*Q[0],ir=F+dr*Z[0],u=Q[1]-M*Q[0],g=Z[1]-M*Z[0],yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++)n(o,ir,i(t,er)),er+=s,ir+=h;er+=u,ir+=g}er+=v,ir+=x}er+=f,ir+=S}er+=l,ir+=w}er+=p,ir+=A}er+=m,ir+=_}er+=d,ir+=b}er+=y,ir+=E}}B_.exports=Mbr});var V_=c((dne,R_)=>{"use strict";var Gbr=Fr(),Ybr=Br();function $br(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr,Hr,ie;for(ie=Gbr(r.shape,r.strides,e.strides),Y=ie.sh,ir=ie.sx,tr=ie.sy,a=Ybr(r.dtype,e.dtype),or=r.offset,nr=e.offset,t=r.data,o=e.data,s=ir[0],g=tr[0],i=r.accessors[0],n=e.accessors[1],Hr=Y[9];Hr>0;)for(Hr<a?(er=Hr,Hr=0):(er=a,Hr-=a),B=or+Hr*ir[9],$=nr+Hr*tr[9],Rr=Y[8];Rr>0;)for(Rr<a?(ar=Rr,Rr=0):(ar=a,Rr-=a),h=ir[9]-ar*ir[8],T=tr[9]-ar*tr[8],R=B+Rr*ir[8],G=$+Rr*tr[8],kr=Y[7];kr>0;)for(kr<a?(rr=kr,kr=0):(rr=a,kr-=a),y=ir[8]-rr*ir[7],q=tr[8]-rr*tr[7],F=R+kr*ir[7],M=G+kr*tr[7],Or=Y[6];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),d=ir[7]-Z*ir[6],E=tr[7]-Z*tr[6],N=F+Or*ir[6],U=M+Or*tr[6],jr=Y[5];jr>0;)for(jr<a?(Q=jr,jr=0):(Q=a,jr-=a),m=ir[6]-Q*ir[5],b=tr[6]-Q*tr[5],k=N+jr*ir[5],P=U+jr*tr[5],Tr=Y[4];Tr>0;)for(Tr<a?(H=Tr,Tr=0):(H=a,Tr-=a),p=ir[5]-H*ir[4],_=tr[5]-H*tr[4],D=k+Tr*ir[4],L=P+Tr*tr[4],_r=Y[3];_r>0;)for(_r<a?(K=_r,_r=0):(K=a,_r-=a),l=ir[4]-K*ir[3],A=tr[4]-K*tr[3],I=D+_r*ir[3],C=L+_r*tr[3],Ar=Y[2];Ar>0;)for(Ar<a?(X=Ar,Ar=0):(X=a,Ar-=a),f=ir[3]-X*ir[2],w=tr[3]-X*tr[2],O=I+Ar*ir[2],z=C+Ar*tr[2],gr=Y[1];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),v=ir[2]-J*ir[1],S=tr[2]-J*tr[1],j=O+gr*ir[1],V=z+gr*tr[1],qr=Y[0];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),sr=j+qr*ir[0],ur=V+qr*tr[0],u=ir[1]-W*ir[0],x=tr[1]-W*tr[0],xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++)n(o,ur,i(t,sr)),sr+=s,ur+=g;sr+=u,ur+=x}sr+=v,ur+=S}sr+=f,ur+=w}sr+=l,ur+=A}sr+=p,ur+=_}sr+=m,ur+=b}sr+=d,ur+=E}sr+=y,ur+=q}sr+=h,ur+=T}}R_.exports=$br});var C_=c((pne,z_)=>{"use strict";var Wbr=Fr(),Jbr=Br();function Xbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E;for(E=Wbr(r.shape,r.strides,e.strides),l=E.sh,d=E.sx,y=E.sy,a=Jbr(r.dtype,e.dtype),h=r.offset,g=e.offset,t=r.data,o=e.data,i=d[0],s=y[0],b=l[1];b>0;)for(b<a?(m=b,b=0):(m=a,b-=a),v=h+b*d[1],f=g+b*y[1],_=l[0];_>0;)for(_<a?(p=_,_=0):(p=a,_-=a),x=v+_*d[0],S=f+_*y[0],n=d[1]-p*d[0],u=y[1]-p*y[0],A=0;A<m;A++){for(w=0;w<p;w++)o[S]=t[x],x+=i,S+=s;x+=n,S+=u}}z_.exports=Xbr});var P_=c((yne,L_)=>{"use strict";var Kbr=Fr(),Hbr=Br();function Zbr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k;for(k=Kbr(r.shape,r.strides,e.strides),y=k.sh,S=k.sx,w=k.sy,a=Hbr(r.dtype,e.dtype),A=r.offset,_=e.offset,t=r.data,o=e.data,i=S[0],u=w[0],D=y[2];D>0;)for(D<a?(x=D,D=0):(x=a,D-=a),p=A+D*S[2],d=_+D*w[2],I=y[1];I>0;)for(I<a?(g=I,I=0):(g=a,I-=a),s=S[2]-g*S[1],f=w[2]-g*w[1],l=p+I*S[1],m=d+I*w[1],O=y[0];O>0;)for(O<a?(h=O,O=0):(h=a,O-=a),b=l+O*S[0],E=m+O*w[0],n=S[1]-h*S[0],v=w[1]-h*w[0],j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)o[E]=t[b],b+=i,E+=u;b+=n,E+=v}b+=s,E+=f}}L_.exports=Zbr});var M_=c((mne,U_)=>{"use strict";var Qbr=Fr(),rxr=Br();function exr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(C=Qbr(r.shape,r.strides,e.strides),S=C.sh,E=C.sx,q=C.sy,a=rxr(r.dtype,e.dtype),T=r.offset,j=e.offset,t=r.data,o=e.data,i=E[0],v=q[0],z=S[3];z>0;)for(z<a?(b=z,z=0):(b=a,z-=a),y=T+z*E[3],x=j+z*q[3],V=S[2];V>0;)for(V<a?(_=V,V=0):(_=a,V-=a),u=E[3]-_*E[2],p=q[3]-_*q[2],d=y+V*E[2],g=x+V*q[2],B=S[1];B>0;)for(B<a?(A=B,B=0):(A=a,B-=a),s=E[2]-A*E[1],l=q[2]-A*q[1],m=d+B*E[1],h=g+B*q[1],R=S[0];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),O=m+R*E[0],I=h+R*q[0],n=E[1]-w*E[0],f=q[1]-w*q[0],F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)o[I]=t[O],O+=i,I+=v;O+=n,I+=f}O+=s,I+=l}O+=u,I+=p}}U_.exports=exr});var Y_=c((hne,G_)=>{"use strict";var axr=Fr(),txr=Br();function ixr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y;for(Y=axr(r.shape,r.strides,e.strides),b=Y.sh,I=Y.sx,D=Y.sy,a=txr(r.dtype,e.dtype),k=r.offset,N=e.offset,t=r.data,o=e.data,i=I[0],f=D[0],$=b[4];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),x=k+$*I[4],_=N+$*D[4],G=b[3];G>0;)for(G<a?(j=G,G=0):(j=a,G-=a),v=I[4]-j*I[3],d=D[4]-j*D[3],g=x+G*I[3],A=_+G*D[3],M=b[2];M>0;)for(M<a?(T=M,M=0):(T=a,M-=a),u=I[3]-T*I[2],m=D[3]-T*D[2],h=g+M*I[2],w=A+M*D[2],U=b[1];U>0;)for(U<a?(q=U,U=0):(q=a,U-=a),s=I[2]-q*I[1],p=D[2]-q*D[1],y=h+U*I[1],S=w+U*D[1],P=b[0];P>0;)for(P<a?(E=P,P=0):(E=a,P-=a),F=y+P*I[0],R=S+P*D[0],n=I[1]-E*I[0],l=D[1]-E*D[0],L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++)o[R]=t[F],F+=i,R+=f;F+=n,R+=l}F+=s,R+=p}F+=u,R+=m}F+=v,R+=d}}G_.exports=ixr});var W_=c((gne,$_)=>{"use strict";var oxr=Fr(),nxr=Br();function sxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z;for(Z=oxr(r.shape,r.strides,e.strides),j=Z.sh,R=Z.sx,B=Z.sy,a=nxr(r.dtype,e.dtype),V=r.offset,z=e.offset,t=r.data,o=e.data,i=R[0],l=B[0],Q=j[5];Q>0;)for(Q<a?(F=Q,Q=0):(F=a,Q-=a),A=V+Q*R[5],T=z+Q*B[5],H=j[4];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=R[5]-N*R[4],h=B[5]-N*B[4],w=A+H*R[4],q=T+H*B[4],K=j[3];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),v=R[4]-k*R[3],y=B[4]-k*B[3],S=w+K*R[3],E=q+K*B[3],X=j[2];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),u=R[3]-D*R[2],d=B[3]-D*B[2],x=S+X*R[2],b=E+X*B[2],J=j[1];J>0;)for(J<a?(I=J,J=0):(I=a,J-=a),s=R[2]-I*R[1],m=B[2]-I*B[1],g=x+J*R[1],_=b+J*B[1],W=j[0];W>0;)for(W<a?(O=W,W=0):(O=a,W-=a),C=g+W*R[0],L=_+W*B[0],n=R[1]-O*R[0],p=B[1]-O*B[0],Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++)o[L]=t[C],C+=i,L+=l;C+=n,L+=p}C+=s,L+=m}C+=u,L+=d}C+=v,L+=y}C+=f,L+=h}}$_.exports=sxr});var X_=c((bne,J_)=>{"use strict";var uxr=Fr(),vxr=Br();function fxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(nr=uxr(r.shape,r.strides,e.strides),k=nr.sh,L=nr.sx,P=nr.sy,a=vxr(r.dtype,e.dtype),U=r.offset,M=e.offset,t=r.data,o=e.data,i=L[0],p=P[0],or=k[6];or>0;)for(or<a?(C=or,or=0):(C=a,or-=a),E=U+or*L[6],D=M+or*P[6],tr=k[5];tr>0;)for(tr<a?(z=tr,tr=0):(z=a,tr-=a),l=L[6]-z*L[5],x=P[6]-z*P[5],b=E+tr*L[5],I=D+tr*P[5],ir=k[4];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),f=L[5]-V*L[4],g=P[5]-V*P[4],_=b+ir*L[4],O=I+ir*P[4],er=k[3];er>0;)for(er<a?(B=er,er=0):(B=a,er-=a),v=L[4]-B*L[3],h=P[4]-B*P[3],A=_+er*L[3],j=O+er*P[3],ar=k[2];ar>0;)for(ar<a?(R=ar,ar=0):(R=a,ar-=a),u=L[3]-R*L[2],y=P[3]-R*P[2],w=A+ar*L[2],T=j+ar*P[2],rr=k[1];rr>0;)for(rr<a?(F=rr,rr=0):(F=a,rr-=a),s=L[2]-F*L[1],d=P[2]-F*P[1],S=w+rr*L[1],q=T+rr*P[1],Z=k[0];Z>0;)for(Z<a?(N=Z,Z=0):(N=a,Z-=a),G=S+Z*L[0],$=q+Z*P[0],n=L[1]-N*L[0],m=P[1]-N*P[0],Q=0;Q<C;Q++){for(H=0;H<z;H++){for(K=0;K<V;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++)o[$]=t[G],G+=i,$+=p;G+=n,$+=m}G+=s,$+=d}G+=u,$+=y}G+=v,$+=h}G+=f,$+=g}G+=l,$+=x}}J_.exports=fxr});var H_=c((xne,K_)=>{"use strict";var lxr=Fr(),cxr=Br();function dxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr;for(dr=lxr(r.shape,r.strides,e.strides),B=dr.sh,$=dr.sx,Y=dr.sy,a=cxr(r.dtype,e.dtype),W=r.offset,J=e.offset,t=r.data,o=e.data,i=$[0],m=Y[0],yr=B[7];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),j=W+yr*$[7],R=J+yr*Y[7],fr=B[6];fr>0;)for(fr<a?(M=fr,fr=0):(M=a,fr-=a),p=$[7]-M*$[6],w=Y[7]-M*Y[6],T=j+fr*$[6],F=R+fr*Y[6],lr=B[5];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),l=$[6]-U*$[5],S=Y[6]-U*Y[5],q=T+lr*$[5],N=F+lr*Y[5],vr=B[4];vr>0;)for(vr<a?(P=vr,vr=0):(P=a,vr-=a),f=$[5]-P*$[4],x=Y[5]-P*Y[4],E=q+vr*$[4],k=N+vr*Y[4],ur=B[3];ur>0;)for(ur<a?(L=ur,ur=0):(L=a,ur-=a),v=$[4]-L*$[3],g=Y[4]-L*Y[3],b=E+ur*$[3],D=k+ur*Y[3],sr=B[2];sr>0;)for(sr<a?(C=sr,sr=0):(C=a,sr-=a),u=$[3]-C*$[2],h=Y[3]-C*Y[2],_=b+sr*$[2],I=D+sr*Y[2],nr=B[1];nr>0;)for(nr<a?(z=nr,nr=0):(z=a,nr-=a),s=$[2]-z*$[1],y=Y[2]-z*Y[1],A=_+nr*$[1],O=I+nr*Y[1],or=B[0];or>0;)for(or<a?(V=or,or=0):(V=a,or-=a),X=A+or*$[0],K=O+or*Y[0],n=$[1]-V*$[0],d=Y[1]-V*Y[0],tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<z;Q++){for(H=0;H<V;H++)o[K]=t[X],X+=i,K+=m;X+=n,K+=d}X+=s,K+=y}X+=u,K+=h}X+=v,K+=g}X+=f,K+=x}X+=l,K+=S}X+=p,K+=w}}K_.exports=dxr});var Q_=c((qne,Z_)=>{"use strict";var pxr=Fr(),yxr=Br();function mxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr;for(gr=pxr(r.shape,r.strides,e.strides),L=gr.sh,K=gr.sx,H=gr.sy,a=yxr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,t=r.data,o=e.data,i=K[0],d=H[0],qr=L[8];qr>0;)for(qr<a?(X=qr,qr=0):(X=a,qr-=a),D=Q+qr*K[8],C=Z+qr*H[8],xr=L[7];xr>0;)for(xr<a?(J=xr,xr=0):(J=a,xr-=a),m=K[8]-J*K[7],_=H[8]-J*H[7],I=D+xr*K[7],z=C+xr*H[7],wr=L[6];wr>0;)for(wr<a?(W=wr,wr=0):(W=a,wr-=a),p=K[7]-W*K[6],A=H[7]-W*H[6],O=I+wr*K[6],V=z+wr*H[6],br=L[5];br>0;)for(br<a?(Y=br,br=0):(Y=a,br-=a),l=K[6]-Y*K[5],w=H[6]-Y*H[5],j=O+br*K[5],B=V+br*H[5],hr=L[4];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),f=K[5]-$*K[4],S=H[5]-$*H[4],T=j+hr*K[4],R=B+hr*H[4],mr=L[3];mr>0;)for(mr<a?(G=mr,mr=0):(G=a,mr-=a),v=K[4]-G*K[3],x=H[4]-G*H[3],q=T+mr*K[3],F=R+mr*H[3],dr=L[2];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),u=K[3]-M*K[2],g=H[3]-M*H[2],E=q+dr*K[2],N=F+dr*H[2],yr=L[1];yr>0;)for(yr<a?(U=yr,yr=0):(U=a,yr-=a),s=K[2]-U*K[1],h=H[2]-U*H[1],b=E+yr*K[1],k=N+yr*H[1],fr=L[0];fr>0;)for(fr<a?(P=fr,fr=0):(P=a,fr-=a),rr=b+fr*K[0],ar=k+fr*H[0],n=K[1]-P*K[0],y=H[1]-P*H[0],lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<U;ir++){for(er=0;er<P;er++)o[ar]=t[rr],rr+=i,ar+=d;rr+=n,ar+=y}rr+=s,ar+=h}rr+=u,ar+=g}rr+=v,ar+=x}rr+=f,ar+=S}rr+=l,ar+=w}rr+=p,ar+=A}rr+=m,ar+=_}}Z_.exports=mxr});var eT=c((wne,rT)=>{"use strict";var hxr=Fr(),gxr=Br();function bxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr;for(Rr=hxr(r.shape,r.strides,e.strides),G=Rr.sh,ar=Rr.sx,er=Rr.sy,a=gxr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,t=r.data,o=e.data,i=ar[0],y=er[0],kr=G[9];kr>0;)for(kr<a?(rr=kr,kr=0):(rr=a,kr-=a),F=ir+kr*ar[9],M=tr+kr*er[9],Or=G[8];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),d=ar[9]-Z*ar[8],E=er[9]-Z*er[8],N=F+Or*ar[8],U=M+Or*er[8],jr=G[7];jr>0;)for(jr<a?(Q=jr,jr=0):(Q=a,jr-=a),m=ar[8]-Q*ar[7],b=er[8]-Q*er[7],k=N+jr*ar[7],P=U+jr*er[7],Tr=G[6];Tr>0;)for(Tr<a?(H=Tr,Tr=0):(H=a,Tr-=a),p=ar[7]-H*ar[6],_=er[7]-H*er[6],D=k+Tr*ar[6],L=P+Tr*er[6],_r=G[5];_r>0;)for(_r<a?(K=_r,_r=0):(K=a,_r-=a),l=ar[6]-K*ar[5],A=er[6]-K*er[5],I=D+_r*ar[5],C=L+_r*er[5],Ar=G[4];Ar>0;)for(Ar<a?(X=Ar,Ar=0):(X=a,Ar-=a),f=ar[5]-X*ar[4],w=er[5]-X*er[4],O=I+Ar*ar[4],z=C+Ar*er[4],gr=G[3];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),v=ar[4]-J*ar[3],S=er[4]-J*er[3],j=O+gr*ar[3],V=z+gr*er[3],qr=G[2];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),u=ar[3]-W*ar[2],x=er[3]-W*er[2],T=j+qr*ar[2],B=V+qr*er[2],xr=G[1];xr>0;)for(xr<a?(Y=xr,xr=0):(Y=a,xr-=a),s=ar[2]-Y*ar[1],g=er[2]-Y*er[1],q=T+xr*ar[1],R=B+xr*er[1],wr=G[0];wr>0;)for(wr<a?($=wr,wr=0):($=a,wr-=a),or=q+wr*ar[0],nr=R+wr*er[0],n=ar[1]-$*ar[0],h=er[1]-$*er[0],br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++){for(ur=0;ur<Y;ur++){for(sr=0;sr<$;sr++)o[nr]=t[or],or+=i,nr+=y;or+=n,nr+=h}or+=s,nr+=g}or+=u,nr+=x}or+=v,nr+=S}or+=f,nr+=w}or+=l,nr+=A}or+=p,nr+=_}or+=m,nr+=b}or+=d,nr+=E}}rT.exports=bxr});var tT=c((Sne,aT)=>{"use strict";function xxr(r,e){e.accessors[1](e.data,e.offset,r.accessors[0](r.data,r.offset))}aT.exports=xxr});var oT=c((Ene,iT)=>{"use strict";function qxr(r,e){var a,t,o,i,n,s,u,v,f,l;for(u=r.shape[0],n=r.strides[0],s=e.strides[0],v=r.offset,f=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],l=0;l<u;l++)i(t,f,o(a,v)),v+=n,f+=s}iT.exports=qxr});var sT=c((Ane,nT)=>{"use strict";function wxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x;for(f=r.shape,m=r.strides,d=e.strides,r.order==="row-major"?(l=f[1],p=f[0],n=m[1],s=m[0]-l*m[1],u=d[1],v=d[0]-l*d[1]):(l=f[0],p=f[1],n=m[0],s=m[1]-l*m[0],u=d[0],v=d[1]-l*d[0]),y=r.offset,h=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],x=0;x<p;x++){for(g=0;g<l;g++)i(t,h,o(a,y)),y+=n,h+=u;y+=s,h+=v}}nT.exports=wxr});var vT=c((_ne,uT)=>{"use strict";function Sxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_;for(p=r.shape,h=r.strides,g=e.strides,r.order==="row-major"?(m=p[2],d=p[1],y=p[0],n=h[2],s=h[1]-m*h[2],u=h[0]-d*h[1],v=g[2],f=g[1]-m*g[2],l=g[0]-d*g[1]):(m=p[0],d=p[1],y=p[2],n=h[0],s=h[1]-m*h[0],u=h[2]-d*h[1],v=g[0],f=g[1]-m*g[0],l=g[2]-d*g[1]),x=r.offset,S=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<m;w++)i(t,S,o(a,x)),x+=n,S+=v;x+=s,S+=f}x+=u,S+=l}}uT.exports=Sxr});var lT=c((Tne,fT)=>{"use strict";function Exr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T;for(d=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(y=d[3],h=d[2],g=d[1],x=d[0],n=S[3],s=S[2]-y*S[3],u=S[1]-h*S[2],v=S[0]-g*S[1],f=w[3],l=w[2]-y*w[3],p=w[1]-h*w[2],m=w[0]-g*w[1]):(y=d[0],h=d[1],g=d[2],x=d[3],n=S[0],s=S[1]-y*S[0],u=S[2]-h*S[1],v=S[3]-g*S[2],f=w[0],l=w[1]-y*w[0],p=w[2]-h*w[1],m=w[3]-g*w[2]),A=r.offset,_=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++)i(t,_,o(a,A)),A+=n,_+=f;A+=s,_+=l}A+=u,_+=p}A+=v,_+=m}}fT.exports=Exr});var dT=c((jne,cT)=>{"use strict";function Axr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D;for(h=r.shape,_=r.strides,b=e.strides,r.order==="row-major"?(g=h[4],x=h[3],S=h[2],w=h[1],A=h[0],n=_[4],s=_[3]-g*_[4],u=_[2]-x*_[3],v=_[1]-S*_[2],f=_[0]-w*_[1],l=b[4],p=b[3]-g*b[4],m=b[2]-x*b[3],d=b[1]-S*b[2],y=b[0]-w*b[1]):(g=h[0],x=h[1],S=h[2],w=h[3],A=h[4],n=_[0],s=_[1]-g*_[0],u=_[2]-x*_[1],v=_[3]-S*_[2],f=_[4]-w*_[3],l=b[0],p=b[1]-g*b[0],m=b[2]-x*b[1],d=b[3]-S*b[2],y=b[4]-w*b[3]),E=r.offset,q=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++)i(t,q,o(a,E)),E+=n,q+=l;E+=s,q+=p}E+=u,q+=m}E+=v,q+=d}E+=f,q+=y}}cT.exports=Axr});var yT=c((Ine,pT)=>{"use strict";function _xr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R;for(x=r.shape,q=r.strides,T=e.strides,r.order==="row-major"?(S=x[5],w=x[4],A=x[3],_=x[2],b=x[1],E=x[0],n=q[5],s=q[4]-S*q[5],u=q[3]-w*q[4],v=q[2]-A*q[3],f=q[1]-_*q[2],l=q[0]-b*q[1],p=T[5],m=T[4]-S*T[5],d=T[3]-w*T[4],y=T[2]-A*T[3],h=T[1]-_*T[2],g=T[0]-b*T[1]):(S=x[0],w=x[1],A=x[2],_=x[3],b=x[4],E=x[5],n=q[0],s=q[1]-S*q[0],u=q[2]-w*q[1],v=q[3]-A*q[2],f=q[4]-_*q[3],l=q[5]-b*q[4],p=T[0],m=T[1]-S*T[0],d=T[2]-w*T[1],y=T[3]-A*T[2],h=T[4]-_*T[3],g=T[5]-b*T[4]),j=r.offset,O=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++)i(t,O,o(a,j)),j+=n,O+=p;j+=s,O+=m}j+=u,O+=d}j+=v,O+=y}j+=f,O+=h}j+=l,O+=g}}pT.exports=_xr});var hT=c((One,mT)=>{"use strict";function Txr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(w=r.shape,O=r.strides,I=e.strides,r.order==="row-major"?(A=w[6],_=w[5],b=w[4],E=w[3],q=w[2],T=w[1],j=w[0],n=O[6],s=O[5]-A*O[6],u=O[4]-_*O[5],v=O[3]-b*O[4],f=O[2]-E*O[3],l=O[1]-q*O[2],p=O[0]-T*O[1],m=I[6],d=I[5]-A*I[6],y=I[4]-_*I[5],h=I[3]-b*I[4],g=I[2]-E*I[3],x=I[1]-q*I[2],S=I[0]-T*I[1]):(A=w[0],_=w[1],b=w[2],E=w[3],q=w[4],T=w[5],j=w[6],n=O[0],s=O[1]-A*O[0],u=O[2]-_*O[1],v=O[3]-b*O[2],f=O[4]-E*O[3],l=O[5]-q*O[4],p=O[6]-T*O[5],m=I[0],d=I[1]-A*I[0],y=I[2]-_*I[1],h=I[3]-b*I[2],g=I[4]-E*I[3],x=I[5]-q*I[4],S=I[6]-T*I[5]),D=r.offset,k=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++)i(t,k,o(a,D)),D+=n,k+=m;D+=s,k+=d}D+=u,k+=y}D+=v,k+=h}D+=f,k+=g}D+=l,k+=x}D+=p,k+=S}}mT.exports=Txr});var bT=c((Nne,gT)=>{"use strict";function jxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M;for(_=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(b=_[7],E=_[6],q=_[5],T=_[4],j=_[3],O=_[2],I=_[1],D=_[0],n=k[7],s=k[6]-b*k[7],u=k[5]-E*k[6],v=k[4]-q*k[5],f=k[3]-T*k[4],l=k[2]-j*k[3],p=k[1]-O*k[2],m=k[0]-I*k[1],d=N[7],y=N[6]-b*N[7],h=N[5]-E*N[6],g=N[4]-q*N[5],x=N[3]-T*N[4],S=N[2]-j*N[3],w=N[1]-O*N[2],A=N[0]-I*N[1]):(b=_[0],E=_[1],q=_[2],T=_[3],j=_[4],O=_[5],I=_[6],D=_[7],n=k[0],s=k[1]-b*k[0],u=k[2]-E*k[1],v=k[3]-q*k[2],f=k[4]-T*k[3],l=k[5]-j*k[4],p=k[6]-O*k[5],m=k[7]-I*k[6],d=N[0],y=N[1]-b*N[0],h=N[2]-E*N[1],g=N[3]-q*N[2],x=N[4]-T*N[3],S=N[5]-j*N[4],w=N[6]-O*N[5],A=N[7]-I*N[6]),F=r.offset,R=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++)i(t,R,o(a,F)),F+=n,R+=d;F+=s,R+=y}F+=u,R+=h}F+=v,R+=g}F+=f,R+=x}F+=l,R+=S}F+=p,R+=w}F+=m,R+=A}}gT.exports=jxr});var qT=c((Dne,xT)=>{"use strict";function Ixr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W;for(E=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(q=E[8],T=E[7],j=E[6],O=E[5],I=E[4],D=E[3],k=E[2],N=E[1],F=E[0],n=R[8],s=R[7]-q*R[8],u=R[6]-T*R[7],v=R[5]-j*R[6],f=R[4]-O*R[5],l=R[3]-I*R[4],p=R[2]-D*R[3],m=R[1]-k*R[2],d=R[0]-N*R[1],y=B[8],h=B[7]-q*B[8],g=B[6]-T*B[7],x=B[5]-j*B[6],S=B[4]-O*B[5],w=B[3]-I*B[4],A=B[2]-D*B[3],_=B[1]-k*B[2],b=B[0]-N*B[1]):(q=E[0],T=E[1],j=E[2],O=E[3],I=E[4],D=E[5],k=E[6],N=E[7],F=E[8],n=R[0],s=R[1]-q*R[0],u=R[2]-T*R[1],v=R[3]-j*R[2],f=R[4]-O*R[3],l=R[5]-I*R[4],p=R[6]-D*R[5],m=R[7]-k*R[6],d=R[8]-N*R[7],y=B[0],h=B[1]-q*B[0],g=B[2]-T*B[1],x=B[3]-j*B[2],S=B[4]-O*B[3],w=B[5]-I*B[4],A=B[6]-D*B[5],_=B[7]-k*B[6],b=B[8]-N*B[7]),V=r.offset,z=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++){for(C=0;C<q;C++)i(t,z,o(a,V)),V+=n,z+=y;V+=s,z+=h}V+=u,z+=g}V+=v,z+=x}V+=f,z+=S}V+=l,z+=w}V+=p,z+=A}V+=m,z+=_}V+=d,z+=b}}xT.exports=Ixr});var ST=c((kne,wT)=>{"use strict";function Oxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H;for(T=r.shape,z=r.strides,C=e.strides,r.order==="row-major"?(j=T[9],O=T[8],I=T[7],D=T[6],k=T[5],N=T[4],F=T[3],R=T[2],B=T[1],V=T[0],n=z[9],s=z[8]-j*z[9],u=z[7]-O*z[8],v=z[6]-I*z[7],f=z[5]-D*z[6],l=z[4]-k*z[5],p=z[3]-N*z[4],m=z[2]-F*z[3],d=z[1]-R*z[2],y=z[0]-B*z[1],h=C[9],g=C[8]-j*C[9],x=C[7]-O*C[8],S=C[6]-I*C[7],w=C[5]-D*C[6],A=C[4]-k*C[5],_=C[3]-N*C[4],b=C[2]-F*C[3],E=C[1]-R*C[2],q=C[0]-B*C[1]):(j=T[0],O=T[1],I=T[2],D=T[3],k=T[4],N=T[5],F=T[6],R=T[7],B=T[8],V=T[9],n=z[0],s=z[1]-j*z[0],u=z[2]-O*z[1],v=z[3]-I*z[2],f=z[4]-D*z[3],l=z[5]-k*z[4],p=z[6]-N*z[5],m=z[7]-F*z[6],d=z[8]-R*z[7],y=z[9]-B*z[8],h=C[0],g=C[1]-j*C[0],x=C[2]-O*C[1],S=C[3]-I*C[2],w=C[4]-D*C[3],A=C[5]-k*C[4],_=C[6]-N*C[5],b=C[7]-F*C[6],E=C[8]-R*C[7],q=C[9]-B*C[8]),L=r.offset,P=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],H=0;H<V;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(U=0;U<j;U++)i(t,P,o(a,L)),L+=n,P+=h;L+=s,P+=g}L+=u,P+=x}L+=v,P+=S}L+=f,P+=w}L+=l,P+=A}L+=p,P+=_}L+=m,P+=b}L+=d,P+=E}L+=y,P+=q}}wT.exports=Oxr});var TT=c((Bne,_T)=>{"use strict";var Nxr=Jr(),ET=na(),AT="throw";function Dxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h;for(v=r.shape,n=Nxr(v),a=r.data,t=e.data,f=r.strides,l=e.strides,p=r.offset,m=e.offset,o=r.order,i=e.order,s=r.accessors[0],u=e.accessors[1],h=0;h<n;h++)d=ET(v,f,p,o,h,AT),y=ET(v,l,m,i,h,AT),u(t,y,s(a,d))}_T.exports=Dxr});var IT=c((Fne,jT)=>{"use strict";function kxr(r,e){e.data[e.offset]=r.data[r.offset]}jT.exports=kxr});var NT=c((Rne,OT)=>{"use strict";function Bxr(r,e){var a,t,o,i,n,s,u,v;for(n=r.shape[0],o=r.strides[0],i=e.strides[0],s=r.offset,u=e.offset,a=r.data,t=e.data,v=0;v<n;v++)t[u]=a[s],s+=o,u+=i}OT.exports=Bxr});var kT=c((Vne,DT)=>{"use strict";function Fxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h;for(u=r.shape,l=r.strides,p=e.strides,r.order==="row-major"?(v=u[1],f=u[0],o=l[1],i=l[0]-v*l[1],n=p[1],s=p[0]-v*p[1]):(v=u[0],f=u[1],o=l[0],i=l[1]-v*l[0],n=p[0],s=p[1]-v*p[0]),m=r.offset,d=e.offset,a=r.data,t=e.data,h=0;h<f;h++){for(y=0;y<v;y++)t[d]=a[m],m+=o,d+=n;m+=i,d+=s}}DT.exports=Fxr});var FT=c((zne,BT)=>{"use strict";function Rxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;for(f=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(l=f[2],p=f[1],m=f[0],o=d[2],i=d[1]-l*d[2],n=d[0]-p*d[1],s=y[2],u=y[1]-l*y[2],v=y[0]-p*y[1]):(l=f[0],p=f[1],m=f[2],o=d[0],i=d[1]-l*d[0],n=d[2]-p*d[1],s=y[0],u=y[1]-l*y[0],v=y[2]-p*y[1]),h=r.offset,g=e.offset,a=r.data,t=e.data,w=0;w<m;w++){for(S=0;S<p;S++){for(x=0;x<l;x++)t[g]=a[h],h+=o,g+=s;h+=i,g+=u}h+=n,g+=v}}BT.exports=Rxr});var VT=c((Cne,RT)=>{"use strict";function Vxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E;for(p=r.shape,g=r.strides,x=e.strides,r.order==="row-major"?(m=p[3],d=p[2],y=p[1],h=p[0],o=g[3],i=g[2]-m*g[3],n=g[1]-d*g[2],s=g[0]-y*g[1],u=x[3],v=x[2]-m*x[3],f=x[1]-d*x[2],l=x[0]-y*x[1]):(m=p[0],d=p[1],y=p[2],h=p[3],o=g[0],i=g[1]-m*g[0],n=g[2]-d*g[1],s=g[3]-y*g[2],u=x[0],v=x[1]-m*x[0],f=x[2]-d*x[1],l=x[3]-y*x[2]),S=r.offset,w=e.offset,a=r.data,t=e.data,E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++){for(A=0;A<m;A++)t[w]=a[S],S+=o,w+=u;S+=i,w+=v}S+=n,w+=f}S+=s,w+=l}}RT.exports=Vxr});var CT=c((Lne,zT)=>{"use strict";function zxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O;for(d=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(y=d[4],h=d[3],g=d[2],x=d[1],S=d[0],o=w[4],i=w[3]-y*w[4],n=w[2]-h*w[3],s=w[1]-g*w[2],u=w[0]-x*w[1],v=A[4],f=A[3]-y*A[4],l=A[2]-h*A[3],p=A[1]-g*A[2],m=A[0]-x*A[1]):(y=d[0],h=d[1],g=d[2],x=d[3],S=d[4],o=w[0],i=w[1]-y*w[0],n=w[2]-h*w[1],s=w[3]-g*w[2],u=w[4]-x*w[3],v=A[0],f=A[1]-y*A[0],l=A[2]-h*A[1],p=A[3]-g*A[2],m=A[4]-x*A[3]),_=r.offset,b=e.offset,a=r.data,t=e.data,O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<y;E++)t[b]=a[_],_+=o,b+=v;_+=i,b+=f}_+=n,b+=l}_+=s,b+=p}_+=u,b+=m}}zT.exports=zxr});var PT=c((Pne,LT)=>{"use strict";function Cxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N;for(h=r.shape,b=r.strides,E=e.strides,r.order==="row-major"?(g=h[5],x=h[4],S=h[3],w=h[2],A=h[1],_=h[0],o=b[5],i=b[4]-g*b[5],n=b[3]-x*b[4],s=b[2]-S*b[3],u=b[1]-w*b[2],v=b[0]-A*b[1],f=E[5],l=E[4]-g*E[5],p=E[3]-x*E[4],m=E[2]-S*E[3],d=E[1]-w*E[2],y=E[0]-A*E[1]):(g=h[0],x=h[1],S=h[2],w=h[3],A=h[4],_=h[5],o=b[0],i=b[1]-g*b[0],n=b[2]-x*b[1],s=b[3]-S*b[2],u=b[4]-w*b[3],v=b[5]-A*b[4],f=E[0],l=E[1]-g*E[0],p=E[2]-x*E[1],m=E[3]-S*E[2],d=E[4]-w*E[3],y=E[5]-A*E[4]),q=r.offset,T=e.offset,a=r.data,t=e.data,N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++){for(j=0;j<g;j++)t[T]=a[q],q+=o,T+=f;q+=i,T+=l}q+=n,T+=p}q+=s,T+=m}q+=u,T+=d}q+=v,T+=y}}LT.exports=Cxr});var MT=c((Une,UT)=>{"use strict";function Lxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V;for(x=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(S=x[6],w=x[5],A=x[4],_=x[3],b=x[2],E=x[1],q=x[0],o=T[6],i=T[5]-S*T[6],n=T[4]-w*T[5],s=T[3]-A*T[4],u=T[2]-_*T[3],v=T[1]-b*T[2],f=T[0]-E*T[1],l=j[6],p=j[5]-S*j[6],m=j[4]-w*j[5],d=j[3]-A*j[4],y=j[2]-_*j[3],h=j[1]-b*j[2],g=j[0]-E*j[1]):(S=x[0],w=x[1],A=x[2],_=x[3],b=x[4],E=x[5],q=x[6],o=T[0],i=T[1]-S*T[0],n=T[2]-w*T[1],s=T[3]-A*T[2],u=T[4]-_*T[3],v=T[5]-b*T[4],f=T[6]-E*T[5],l=j[0],p=j[1]-S*j[0],m=j[2]-w*j[1],d=j[3]-A*j[2],y=j[4]-_*j[3],h=j[5]-b*j[4],g=j[6]-E*j[5]),O=r.offset,I=e.offset,a=r.data,t=e.data,V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++)t[I]=a[O],O+=o,I+=l;O+=i,I+=p}O+=n,I+=m}O+=s,I+=d}O+=u,I+=y}O+=v,I+=h}O+=f,I+=g}}UT.exports=Lxr});var YT=c((Mne,GT)=>{"use strict";function Pxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P;for(w=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(A=w[7],_=w[6],b=w[5],E=w[4],q=w[3],T=w[2],j=w[1],O=w[0],o=I[7],i=I[6]-A*I[7],n=I[5]-_*I[6],s=I[4]-b*I[5],u=I[3]-E*I[4],v=I[2]-q*I[3],f=I[1]-T*I[2],l=I[0]-j*I[1],p=D[7],m=D[6]-A*D[7],d=D[5]-_*D[6],y=D[4]-b*D[5],h=D[3]-E*D[4],g=D[2]-q*D[3],x=D[1]-T*D[2],S=D[0]-j*D[1]):(A=w[0],_=w[1],b=w[2],E=w[3],q=w[4],T=w[5],j=w[6],O=w[7],o=I[0],i=I[1]-A*I[0],n=I[2]-_*I[1],s=I[3]-b*I[2],u=I[4]-E*I[3],v=I[5]-q*I[4],f=I[6]-T*I[5],l=I[7]-j*I[6],p=D[0],m=D[1]-A*D[0],d=D[2]-_*D[1],y=D[3]-b*D[2],h=D[4]-E*D[3],g=D[5]-q*D[4],x=D[6]-T*D[5],S=D[7]-j*D[6]),k=r.offset,N=e.offset,a=r.data,t=e.data,P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++){for(F=0;F<A;F++)t[N]=a[k],k+=o,N+=p;k+=i,N+=m}k+=n,N+=d}k+=s,N+=y}k+=u,N+=h}k+=v,N+=g}k+=f,N+=x}k+=l,N+=S}}GT.exports=Pxr});var WT=c((Gne,$T)=>{"use strict";function Uxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$;for(_=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(b=_[8],E=_[7],q=_[6],T=_[5],j=_[4],O=_[3],I=_[2],D=_[1],k=_[0],o=N[8],i=N[7]-b*N[8],n=N[6]-E*N[7],s=N[5]-q*N[6],u=N[4]-T*N[5],v=N[3]-j*N[4],f=N[2]-O*N[3],l=N[1]-I*N[2],p=N[0]-D*N[1],m=F[8],d=F[7]-b*F[8],y=F[6]-E*F[7],h=F[5]-q*F[6],g=F[4]-T*F[5],x=F[3]-j*F[4],S=F[2]-O*F[3],w=F[1]-I*F[2],A=F[0]-D*F[1]):(b=_[0],E=_[1],q=_[2],T=_[3],j=_[4],O=_[5],I=_[6],D=_[7],k=_[8],o=N[0],i=N[1]-b*N[0],n=N[2]-E*N[1],s=N[3]-q*N[2],u=N[4]-T*N[3],v=N[5]-j*N[4],f=N[6]-O*N[5],l=N[7]-I*N[6],p=N[8]-D*N[7],m=F[0],d=F[1]-b*F[0],y=F[2]-E*F[1],h=F[3]-q*F[2],g=F[4]-T*F[3],x=F[5]-j*F[4],S=F[6]-O*F[5],w=F[7]-I*F[6],A=F[8]-D*F[7]),R=r.offset,B=e.offset,a=r.data,t=e.data,$=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++){for(C=0;C<q;C++){for(z=0;z<E;z++){for(V=0;V<b;V++)t[B]=a[R],R+=o,B+=m;R+=i,B+=d}R+=n,B+=y}R+=s,B+=h}R+=u,B+=g}R+=v,B+=x}R+=f,B+=S}R+=l,B+=w}R+=p,B+=A}}$T.exports=Uxr});var XT=c((Yne,JT)=>{"use strict";function Mxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X;for(E=r.shape,B=r.strides,V=e.strides,r.order==="row-major"?(q=E[9],T=E[8],j=E[7],O=E[6],I=E[5],D=E[4],k=E[3],N=E[2],F=E[1],R=E[0],o=B[9],i=B[8]-q*B[9],n=B[7]-T*B[8],s=B[6]-j*B[7],u=B[5]-O*B[6],v=B[4]-I*B[5],f=B[3]-D*B[4],l=B[2]-k*B[3],p=B[1]-N*B[2],m=B[0]-F*B[1],d=V[9],y=V[8]-q*V[9],h=V[7]-T*V[8],g=V[6]-j*V[7],x=V[5]-O*V[6],S=V[4]-I*V[5],w=V[3]-D*V[4],A=V[2]-k*V[3],_=V[1]-N*V[2],b=V[0]-F*V[1]):(q=E[0],T=E[1],j=E[2],O=E[3],I=E[4],D=E[5],k=E[6],N=E[7],F=E[8],R=E[9],o=B[0],i=B[1]-q*B[0],n=B[2]-T*B[1],s=B[3]-j*B[2],u=B[4]-O*B[3],v=B[5]-I*B[4],f=B[6]-D*B[5],l=B[7]-k*B[6],p=B[8]-N*B[7],m=B[9]-F*B[8],d=V[0],y=V[1]-q*V[0],h=V[2]-T*V[1],g=V[3]-j*V[2],x=V[4]-O*V[3],S=V[5]-I*V[4],w=V[6]-D*V[5],A=V[7]-k*V[6],_=V[8]-N*V[7],b=V[9]-F*V[8]),z=r.offset,C=e.offset,a=r.data,t=e.data,X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(U=0;U<j;U++){for(P=0;P<T;P++){for(L=0;L<q;L++)t[C]=a[z],z+=o,C+=d;z+=i,C+=y}z+=n,C+=h}z+=s,C+=g}z+=u,C+=x}z+=v,C+=S}z+=f,C+=w}z+=l,C+=A}z+=p,C+=_}z+=m,C+=b}}JT.exports=Mxr});var QT=c(($ne,ZT)=>{"use strict";var Gxr=Jr(),KT=na(),HT="throw";function Yxr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d;for(s=r.shape,n=Gxr(s),a=r.data,t=e.data,u=r.strides,v=e.strides,f=r.offset,l=e.offset,o=r.order,i=e.order,d=0;d<n;d++)p=KT(s,u,f,o,d,HT),m=KT(s,v,l,i,d,HT),t[m]=a[p]}ZT.exports=Yxr});var oj=c((Wne,ij)=>{"use strict";var $xr=wo(),Wxr=Gn(),rj=Sa(),Jxr=uf(),Xxr=Ln(),ej=et(),aj=ri(),Kxr=q_(),Hxr=S_(),Zxr=A_(),Qxr=T_(),rqr=I_(),eqr=N_(),aqr=k_(),tqr=F_(),iqr=V_(),oqr=C_(),nqr=P_(),sqr=M_(),uqr=Y_(),vqr=W_(),fqr=X_(),lqr=H_(),cqr=Q_(),dqr=eT(),pqr=tT(),yqr=oT(),mqr=sT(),hqr=vT(),gqr=lT(),bqr=dT(),xqr=yT(),qqr=hT(),wqr=bT(),Sqr=qT(),Eqr=ST(),Aqr=TT(),_qr=IT(),Tqr=NT(),jqr=kT(),Iqr=FT(),Oqr=VT(),Nqr=CT(),Dqr=PT(),kqr=MT(),Bqr=YT(),Fqr=WT(),Rqr=XT(),Vqr=QT(),xi=[_qr,Tqr,jqr,Iqr,Oqr,Nqr,Dqr,kqr,Bqr,Fqr,Rqr],Eo=[pqr,yqr,mqr,hqr,gqr,bqr,xqr,qqr,wqr,Sqr,Eqr],zqr=[oqr,nqr,sqr,uqr,vqr,fqr,lqr,cqr,dqr],Cqr=[Kxr,Hxr,Zxr,Qxr,rqr,eqr,aqr,tqr,iqr],tj=xi.length-1;function Lqr(r){var e,a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;if(d=aj(r[0]),y=aj(r[1]),Wxr(d.dtype)&&$xr(y.dtype)&&(d.accessorProtocol=!0,d.accessors[0]=Jxr(d.accessors[0],2,Xxr(y.dtype))),o=d.shape,i=y.shape,e=o.length,e!==i.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+e+". ndims(y) == "+i.length+".");if(e===0)return d.accessorProtocol||y.accessorProtocol?Eo[e](d,y):xi[e](d,y);for(u=1,m=0,g=0;g<e;g++){if(h=o[g],h!==i[g])throw new Error("invalid arguments. Arrays must have the same shape.");u*=h,h===1&&(m+=1)}if(u!==0){if(e===1)return d.accessorProtocol||y.accessorProtocol?Eo[e](d,y):xi[e](d,y);if(v=d.strides,f=y.strides,m===e-1){for(g=0;g<e&&o[g]===1;g++);return d.shape=[o[g]],y.shape=d.shape,d.strides=[v[g]],y.strides=[f[g]],d.accessorProtocol||y.accessorProtocol?Eo[1](d,y):xi[1](d,y)}if(n=rj(v),s=rj(f),n!==0&&s!==0&&n===s){if(a=ej(o,v,d.offset),t=ej(i,f,y.offset),u===a[1]-a[0]+1&&u===t[1]-t[0]+1)return n===1?l=a[0]:l=a[1],s===1?p=t[0]:p=t[1],d.shape=[u],y.shape=d.shape,d.strides=[n],y.strides=[s],d.offset=l,y.offset=p,d.accessorProtocol||y.accessorProtocol?Eo[1](d,y):xi[1](d,y);if(e<=tj)return d.accessorProtocol||y.accessorProtocol?Eo[e](d,y):xi[e](d,y)}if(e<=tj)return d.accessorProtocol||y.accessorProtocol?Cqr[e-2](d,y):zqr[e-2](d,y);if(d.accessorProtocol||y.accessorProtocol)return Aqr(d,y);Vqr(d,y)}}ij.exports=Lqr});var bf=c((Jne,nj)=>{"use strict";var Pqr=oj();nj.exports=Pqr});var uj=c((Xne,sj)=>{"use strict";function Uqr(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}sj.exports=Uqr});var lj=c((Kne,fj)=>{"use strict";var Mqr=qe(),Gqr=Tt(),Jn=Kr(),Yqr=bo(),xf=Lt(),$qr=uj(),vj=3;function Wqr(r,e,a,t){var o,i,n,s,u,v,f,l,p,m;if(o=Mqr(r.length),v=xf(e),f=xf(a),l=xf(t),i=Yqr([],4),i[v].push(e),i[f].push(a),i[l].push(t),n=i[0].length,n===vj)u=e;else if(n===vj-1){for(p=1;p<4;p++)if(i[p].length){u=i[p][0];break}}else{for(m=0,p=1;p<4;p++)s=i[p].length,s>=n&&(n=s,m=p);u=i[m][0]}return u=Gqr(u),$qr(u,o),r=Jn(r,o),e=e===u?u:Jn(e,o),a=a===u?u:Jn(a,o),t=t===u?u:Jn(t,o),{sh:r,sx:e,sy:a,sz:t}}fj.exports=Wqr});var dj=c((Hne,cj)=>{"use strict";var Jqr=lj();cj.exports=Jqr});var yj=c((Zne,pj)=>{"use strict";var Xqr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};pj.exports=Xqr});var hj=c((Qne,mj)=>{"use strict";var qf=bt(),Xn=yj();function Kqr(r,e,a){var t,o,i;return t=qf(r),o=qf(e),i=qf(a),t===null||o===null||i===null?Xn.BLOCK_SIZE_IN_ELEMENTS:t>o&&t>i?Xn.BLOCK_SIZE_IN_BYTES/t|0:o>i?Xn.BLOCK_SIZE_IN_BYTES/o|0:Xn.BLOCK_SIZE_IN_BYTES/i|0}mj.exports=Kqr});var bj=c((rse,gj)=>{"use strict";var Hqr=hj();gj.exports=Hqr});var qj=c((ese,xj)=>{"use strict";var Zqr=Math.ceil;xj.exports=Zqr});var wf=c((ase,wj)=>{"use strict";var Qqr=qj();wj.exports=Qqr});var Ej=c((tse,Sj)=>{"use strict";var rwr=ea(),ewr=wf();function awr(r){return r<0?ewr(r):rwr(r)}Sj.exports=awr});var Sf=c((ise,Aj)=>{"use strict";var twr=Ej();Aj.exports=twr});var jj=c((ose,Tj)=>{"use strict";var iwr=pr(),Kn=Sf(),_j=vi();function owr(r,e,a,t,o,i){var n,s,u,v,f,l;for(n=r.length,s=1,l=0;l<n;l++)s*=r[l];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(iwr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(u=0,t==="column-major"){for(l=n-1;l>=0;l--)f=e[l],f<0?(v=Kn(o/f),o-=v*f,v+=r[l]-1):(v=Kn(o/f),o-=v*f),u+=v*_j(f);return u}for(l=0;l<n;l++)f=e[l],f<0?(v=Kn(o/f),o-=v*f,v+=r[l]-1):(v=Kn(o/f),o-=v*f),u+=v*_j(f);return u}Tj.exports=owr});var Oj=c((nse,Ij)=>{"use strict";var nwr=jj();Ij.exports=nwr});var kj=c((sse,Dj)=>{"use strict";var Ao=Tt(),swr=aa(),uwr=Te(),vwr=ba(),fwr=Ka(),lwr=sa(),cwr=Xe(),dwr=ft(),Nj=pr();function pwr(r,e){var a,t,o,i,n,s,u,v,f;if(n=e.length,o=uwr(r,!1),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],v=0;v<n;v++)a.push(0);for(i=vwr(r,!1),v=n-1;v>=0;v--)if(f=s-n+v,!(f<0)){if(u=o[f],t=e[v],t!==0&&t<u)throw new Error(Nj("invalid argument. Input array cannot be broadcast to the specified shape, as the specified shape has a dimension whose size is less than the size of the corresponding dimension in the input array. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Ao(o).join(", "),Ao(e).join(", "),v));if(u===t)a[v]=i[f];else if(u===1)a[v]=0;else throw new Error(Nj("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Ao(o).join(", "),Ao(e).join(", "),v))}return swr(cwr(r),dwr(r),Ao(e),a,fwr(r),lwr(r))}Dj.exports=pwr});var _o=c((use,Bj)=>{"use strict";var ywr=kj();Bj.exports=ywr});var Rj=c((vse,Fj)=>{"use strict";function mwr(r){var e,a,t,o,i,n,s,u,v,f,l;if(u=r.length,a=[],u===0)return a;if(o=r[0],v=o.length,u===1){for(f=0;f<v;f++)a.push(o[f]);return a}for(e=[v],f=1;f<u;f++)e.push(r[f].length),e[f]>v&&(v=e[f]);for(f=0;f<v;f++)a.push(0);for(f=v-1;f>=0;){for(i=e[0]-v+f,i>=0?t=o[i]:t=1,l=1;l<u;l++){if(n=e[l]-v+f,n>=0?s=r[l][n]:s=1,t===1){t=s;continue}if(!(s===1||t===s))return null}a[f]=t,f-=1}return a}Fj.exports=mwr});var qi=c((fse,Vj)=>{"use strict";var hwr=Rj();Vj.exports=hwr});var Cj=c((lse,zj)=>{"use strict";var gwr=qi(),bwr=_o(),xwr=Te();function qwr(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(xwr(r[i],!1));if(t=gwr(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(bwr(r[i],t));return a}zj.exports=qwr});var Pj=c((cse,Lj)=>{"use strict";var wwr=Cj();Lj.exports=wwr});var Mj=c((dse,Uj)=>{"use strict";var Swr=tt(),Ewr=bi(),Awr=gi(),_wr=Se(),Twr=Ba(),jwr=aa(),Iwr=pr();function Owr(r,e,a,t){var o,i;if(o=Twr(e,1),o===null)throw new TypeError(Iwr("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),Swr(o)?i=Ewr(e):i=Awr(e),i(o,0,r),new jwr(e,o,a,_wr(a.length),0,t)}Uj.exports=Owr});var Yj=c((pse,Gj)=>{"use strict";var Nwr=Mj();Gj.exports=Nwr});var Wj=c((yse,$j)=>{"use strict";var Dwr=mo(),kwr=Rn();function Bwr(r){var e=kwr(r);return e?Dwr(e):null}$j.exports=Bwr});var Xj=c((mse,Jj)=>{"use strict";var Fwr=Wj();Jj.exports=Fwr});var Hj=c((hse,Kj)=>{"use strict";function Rwr(){return{binary:"r",bool:"x",complex64:"c",complex128:"z",float16:"h",bfloat16:"e",float32:"f",float64:"d",float128:"g",generic:"o",int8:"s",int16:"k",int32:"i",int64:"l",int128:"m",int256:"n",uint8:"b",uint8c:"a",uint16:"t",uint32:"u",uint64:"v",uint128:"w",uint256:"y"}}Kj.exports=Rwr});var rI=c((gse,Qj)=>{"use strict";var Vwr=ka(),Zj=Hj(),Ef;function zwr(r){return arguments.length===0?Zj():(Ef===void 0&&(Ef=Zj()),Ef[Vwr(r)]||null)}Qj.exports=zwr});var Af=c((bse,eI)=>{"use strict";var Cwr=rI();eI.exports=Cwr});var oI=c((xse,iI)=>{"use strict";var aI=wn(),tI=Af(),_f;function Lwr(r){return arguments.length===0?aI(tI()):(_f===void 0&&(_f=aI(tI())),_f[r]||null)}iI.exports=Lwr});var sI=c((qse,nI)=>{"use strict";var Pwr=oI();nI.exports=Pwr});var vI=c((wse,uI)=>{"use strict";function Uwr(){return{binary:"byte",bool:"boolean",complex64:"single-precision floating-point complex number",complex128:"double-precision floating-point complex number",float16:"half-precision floating-point number",bfloat16:"brain floating-point number",float32:"single-precision floating-point number",float64:"double-precision floating-point number",float128:"quadruple-precision floating-point number",generic:"generic array value",int8:"signed 8-bit integer",int16:"signed 16-bit integer",int32:"signed 32-bit integer",int64:"signed 64-bit integer",int128:"signed 128-bit integer",int256:"signed 256-bit integer",uint8:"unsigned 8-bit integer",uint8c:"unsigned 8-bit integer (clamped)",uint16:"unsigned 16-bit integer",uint32:"unsigned 32-bit integer",uint64:"unsigned 64-bit integer",uint128:"unsigned 128-bit integer",uint256:"unsigned 256-bit integer"}}uI.exports=Uwr});var cI=c((Sse,lI)=>{"use strict";var Mwr=ka(),fI=vI(),Tf;function Gwr(r){return arguments.length===0?fI():(Tf===void 0&&(Tf=fI()),Tf[Mwr(r)]||null)}lI.exports=Gwr});var pI=c((Ese,dI)=>{"use strict";var Ywr=cI();dI.exports=Ywr});var mI=c((Ase,yI)=>{"use strict";var $wr=Sn(),Wwr=mo();function Jwr(r){var e=typeof r;return e==="number"?$wr(r)?r:null:e==="string"?Wwr(r):null}yI.exports=Jwr});var jf=c((_se,hI)=>{"use strict";var Xwr=mI();hI.exports=Xwr});var gI=c((Tse,Kwr)=>{Kwr.exports={binary:null,bool:"bool",complex64:"stdlib_complex64_t",complex128:"stdlib_complex128_t",float16:null,bfloat16:null,float32:"float",float64:"double",float128:null,generic:null,int8:"int8_t",int16:"int16_t",int32:"int32_t",int64:"int64_t",int128:null,int256:null,uint8:"uint8_t",uint8c:null,uint16:"uint16_t",uint32:"uint32_t",uint64:"uint64_t",uint128:null,uint256:null}});var xI=c((jse,bI)=>{"use strict";var Hwr=ka(),Zwr=gI();function Qwr(r){return Zwr[Hwr(r)]||null}bI.exports=Qwr});var wI=c((Ise,qI)=>{"use strict";var r3r=xI();qI.exports=r3r});var AI=c((Ose,EI)=>{"use strict";var e3r=ze(),SI=ge().isPrimitive,a3r=ka(),If=pr();function t3r(r,e,a){var t,o,i,n,s,u,v,f;if(!e3r(r))throw new TypeError(If("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(!SI(e))throw new TypeError(If("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!SI(a))throw new TypeError(If("invalid argument. Third argument must be a nonnegative integer. Value: `%s`.",a));if(t=r.length,t===0)throw new RangeError("invalid argument. First argument must contain at least one element.");if(s=e+a,t%s!==0)throw new RangeError("invalid arguments. Length of the first argument is incompatible with the second and third arguments.");for(o=[],i=[],u=2*s,f=2*e,v=0;v<=u;v++)v===0?v===f?i.push("() => ("):i.push("("):v===u?v===f?i.push(") => ()"):i.push(")"):v===f?i.push(") => ("):v%2===1?i.push(""):i.push(", ");for(v=0;v<t;v++)n=a3r(r[v]),n===null&&(n=r[v]),f=v%s,i[2*f+1]=n,f===s-1&&o.push(i.join(""));return o}EI.exports=t3r});var Of=c((Nse,_I)=>{"use strict";var i3r=AI();_I.exports=i3r});var jI=c((Dse,TI)=>{"use strict";var o3r=xt(),n3r=Et(),s3r=Ki(),u3r=Xi(),v3r=Zi(),f3r=fi(),l3r=Ji(),c3r=va(),d3r=Hi(),p3r=so(),y3r=vo(),m3r=co(),h3r={float64:o3r,float32:n3r,generic:Array,int16:s3r,int32:u3r,int8:v3r,uint16:f3r,uint32:l3r,uint8:c3r,uint8c:d3r,complex64:p3r,complex128:y3r,bool:m3r};TI.exports=h3r});var OI=c((kse,II)=>{"use strict";var g3r=jI();function b3r(r){return g3r[r]||null}II.exports=b3r});var DI=c((Bse,NI)=>{"use strict";var x3r=OI();NI.exports=x3r});var Nf=c((Fse,kI)=>{"use strict";function q3r(){return{dtypes:{default:"float64",numeric:"float64",real:"float64",floating_point:"float64",real_floating_point:"float64",complex_floating_point:"complex128",boolean:"bool",integer:"int32",signed_integer:"int32",unsigned_integer:"uint32"}}}kI.exports=q3r});var FI=c((Rse,BI)=>{"use strict";var w3r=Nf(),Ha=w3r(),S3r={"dtypes.default":Ha.dtypes.default,"dtypes.numeric":Ha.dtypes.numeric,"dtypes.real":Ha.dtypes.real,"dtypes.floating_point":Ha.dtypes.floating_point,"dtypes.real_floating_point":Ha.dtypes.real_floating_point,"dtypes.complex_floating_point":Ha.dtypes.complex_floating_point,"dtypes.boolean":Ha.dtypes.boolean,"dtypes.integer":Ha.dtypes.integer,"dtypes.signed_integer":Ha.dtypes.signed_integer,"dtypes.unsigned_integer":Ha.dtypes.unsigned_integer};function E3r(r){var e=S3r[r];return e===void 0?null:e}BI.exports=E3r});var zI=c((Vse,VI)=>{"use strict";var A3r=Ir(),RI=Nf(),_3r=FI();A3r(RI,"get",_3r);VI.exports=RI});var PI=c((zse,LI)=>{"use strict";var T3r=ge().isPrimitive,j3r=DI(),I3r=Se(),O3r=zI(),CI=pr(),N3r=O3r.get("dtypes.default");function D3r(r){var e,a;if(!T3r(r))throw new TypeError(CI("invalid argument. First argument must be a nonnegative integer. Value: `%s`.",r));if(arguments.length>1?e=arguments[1]:e=N3r,e==="generic")return I3r(r);if(a=j3r(e),a===null)throw new TypeError(CI("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return new a(r)}LI.exports=D3r});var MI=c((Cse,UI)=>{"use strict";var k3r=PI();UI.exports=k3r});var To=c((Lse,YI)=>{"use strict";var GI=MI();function B3r(r){return arguments.length>1?GI(r,arguments[1]):GI(r)}YI.exports=B3r});var WI=c((Pse,$I)=>{"use strict";var F3r=Ve(),R3r=Ye(),V3r=aa(),z3r=Jr(),C3r=To(),L3r=At();function P3r(r,e,a){var t,o,i,n;return t=e.length,t>0?(i=z3r(e),n=F3r(e,a)):(i=1,n=[0]),r==="binary"?o=L3r(i):o=C3r(i,r),new V3r(r,o,e,n,R3r(e,n),a)}$I.exports=P3r});var XI=c((Use,JI)=>{"use strict";var U3r=WI();JI.exports=U3r});var HI=c((Mse,KI)=>{"use strict";var M3r=Ve(),G3r=Ye(),Y3r=Jr(),$3r=Xe(),W3r=Te(),J3r=sa(),X3r=To(),K3r=At();function H3r(r){var e,a,t,o,i,n,s;return s=$3r(r),i=W3r(r,!0),o=J3r(r),e=i.length,e>0?(a=Y3r(i),n=M3r(i,o)):(a=1,n=[0]),s==="binary"?t=K3r(a):t=X3r(a,s),new r.constructor(s,t,i,n,G3r(i,n),o)}KI.exports=H3r});var QI=c((Gse,ZI)=>{"use strict";var Z3r=HI();ZI.exports=Z3r});var oO=c((Yse,iO)=>{"use strict";var Q3r=Ue(),rO=Xe(),r4r=Te(),e4r=ba(),eO=Ka(),a4r=sa(),aO=ft(),tO=pr();function t4r(r,e){var a,t,o,i,n,s,u;if(i=r4r(r,!1),n=e4r(r,!1),o=a4r(r),s=i.length,a=[],t=[],e<0){if(e<-s-1)throw new RangeError(tO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));e+=s+1}else if(e>s)throw new RangeError(tO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));if(e===0)for(t.push(1),a.push(n[0]),u=0;u<s;u++)t.push(i[u]),a.push(n[u]);else if(e===s){for(u=0;u<s;u++)t.push(i[u]),a.push(n[u]);t.push(1),a.push(n[s-1])}else for(u=0;u<s+1;u++)u===e?(t.push(1),o==="row-major"?a.push(n[u-1]):a.push(n[u])):u<e?(t.push(i[u]),a.push(n[u])):(t.push(i[u-1]),a.push(n[u-1]));return Q3r(r)?new r.constructor(rO(r),aO(r),t,a,eO(r),o,{readonly:!0}):new r.constructor(rO(r),aO(r),t,a,eO(r),o)}iO.exports=t4r});var sO=c(($se,nO)=>{"use strict";var i4r=oO();nO.exports=i4r});var vO=c((Wse,uO)=>{"use strict";function o4r(r){return r===null}uO.exports=o4r});var wi=c((Jse,fO)=>{"use strict";var n4r=vO();fO.exports=n4r});var cO=c((Xse,lO)=>{"use strict";function s4r(r){return r===void 0}lO.exports=s4r});var Si=c((Kse,dO)=>{"use strict";var u4r=cO();dO.exports=u4r});var yO=c((Hse,pO)=>{"use strict";var kf=Ir(),Bf=gt(),v4r=ve().isPrimitive,f4r=wi(),l4r=Si(),Hn=pr();function Df(r){return v4r(r)||f4r(r)||l4r(r)}function lt(){var r,e,a,t;if(r=arguments.length,r===0?(e=null,a=null,t=null):r===1?(e=null,a=arguments[0],t=null):r===2?(e=arguments[0],a=arguments[1],t=null):(e=arguments[0],a=arguments[1],t=arguments[2]),!(this instanceof lt))return new lt(e,a,t);if(!Df(e))throw new TypeError(Hn("invalid argument. First argument must be an integer, null, or undefined. Value: `%s`.",e));if(!Df(a))throw new TypeError(Hn("invalid argument. Second argument must be an integer, null, or undefined. Value: `%s`.",a));if(Df(t)){if(t===0)throw new RangeError(Hn("invalid argument. Third argument cannot be zero. Value: `%s`.",t))}else throw new TypeError(Hn("invalid argument. Third argument must be an integer, null, or undefined. Value: `%s`.",t));return this._start=e===void 0?null:e,this._stop=a===void 0?null:a,this._step=t===void 0?null:t,this}kf(lt,"name","Slice");Bf(lt.prototype,"start",function(){return this._start});Bf(lt.prototype,"stop",function(){return this._stop});Bf(lt.prototype,"step",function(){return this._step});kf(lt.prototype,"toString",function(){return"Slice("+this._start+","+this._stop+","+this.step+")"});kf(lt.prototype,"toJSON",function(){return{type:"Slice",data:[this._start,this._stop,this._step]}});pO.exports=lt});var Le=c((Zse,mO)=>{"use strict";var c4r=yO();mO.exports=c4r});var gO=c((Qse,hO)=>{"use strict";var d4r=Le(),p4r=ht();function y4r(r){return r instanceof d4r||p4r(r)==="Slice"}hO.exports=y4r});var Ff=c((rue,bO)=>{"use strict";var m4r=gO();bO.exports=m4r});var wO=c((eue,qO)=>{"use strict";var Rf=Ir(),xO=gt(),h4r=ve().isPrimitive,g4r=wi(),b4r=Si(),x4r=Ff(),q4r=pr();function w4r(r){return h4r(r)||g4r(r)||b4r(r)||x4r(r)}function Ke(){var r,e,a,t,o;if(r=arguments.length,!(this instanceof Ke)){if(r===1)return new Ke(arguments[0]);if(r===2)return new Ke(arguments[0],arguments[1]);if(r===3)return new Ke(arguments[0],arguments[1],arguments[2]);if(r===4)return new Ke(arguments[0],arguments[1],arguments[2],arguments[3]);if(r===5)return new Ke(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);for(a=[],o=0;o<r;o++)a.push(arguments[o]);return e=Object.create(Ke.prototype),Ke.apply(e,a)}for(this._data=[],o=0;o<r;o++){if(t=arguments[o],!w4r(t))throw new TypeError(q4r("invalid argument. Provided arguments must be either a Slice, integer, null, or undefined. Argument: `%d`. Value: `%s`.",o,String(t)));this._data.push(t===void 0?null:t)}return this}Rf(Ke,"name","MultiSlice");xO(Ke.prototype,"ndims",function(){return this._data.length});xO(Ke.prototype,"data",function(){return this._data.slice()});Rf(Ke.prototype,"toString",function(){var e,a,t;for(e=this._data,a=[],t=0;t<e.length;t++)a.push(String(e[t]));return"MultiSlice("+a.join(",")+")"});Rf(Ke.prototype,"toJSON",function(){var e,a,t,o;for(e=this._data,a={type:"MultiSlice",data:[]},o=0;o<e.length;o++)t=e[o],a.data.push(t&&typeof t.toJSON=="function"?t.toJSON():t);return a});qO.exports=Ke});var Za=c((aue,SO)=>{"use strict";var S4r=wO();SO.exports=S4r});var AO=c((tue,EO)=>{"use strict";var xa=Za();function E4r(r){switch(r.length){case 0:return new xa;case 1:return new xa(r[0]);case 2:return new xa(r[0],r[1]);case 3:return new xa(r[0],r[1],r[2]);case 4:return new xa(r[0],r[1],r[2],r[3]);case 5:return new xa(r[0],r[1],r[2],r[3],r[4]);case 6:return new xa(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6]);case 8:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7]);case 9:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8]);case 10:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9]);default:return xa.apply(null,r)}}EO.exports=E4r});var he=c((iue,_O)=>{"use strict";var A4r=AO();_O.exports=A4r});var jO=c((oue,TO)=>{"use strict";function _4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}TO.exports=_4r});var OO=c((nue,IO)=>{"use strict";var T4r=Le(),jo=jO();function j4r(r,e,a){var t,o,i;if(t=r.start,o=r.stop,i=r.step,i===null&&(i=1),t===null)i>0?t=0:t=e-1;else if(t<0){if(t=e+t,t<0){if(a)return jo();t=0}}else if(t>=e){if(a)return jo();i<0?t=e-1:t=e}if(o===null)i>0?o=e:o=null;else if(o<0){if(o=e+o,o<0)if(i>0){if(a)return jo();o=0}else{if(a&&o<-1)return jo();o=null}}else if(o>e){if(a)return jo();o=e}return new T4r(t,o,i)}IO.exports=j4r});var DO=c((sue,NO)=>{"use strict";var I4r=OO();NO.exports=I4r});var BO=c((uue,kO)=>{"use strict";function O4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}kO.exports=O4r});var VO=c((vue,RO)=>{"use strict";var Zn=Le(),FO=BO();function N4r(r,e,a){return r>=e?a?FO():new Zn(e,e,1):r<0?(r=e+r,r<0?a?FO():new Zn(0,0,1):new Zn(r,r+1,1)):new Zn(r,r+1,1)}RO.exports=N4r});var CO=c((fue,zO)=>{"use strict";var D4r=VO();zO.exports=D4r});var PO=c((lue,LO)=>{"use strict";var k4r=he(),B4r=Le(),F4r=DO(),R4r=CO();function V4r(r,e,a){return r===null?new B4r(0,e,1):typeof r=="number"?R4r(r,e,a):F4r(r,e,a)}function z4r(r,e,a){var t,o,i,n;for(t=r.data,o=[],n=0;n<t.length;n++){if(i=V4r(t[n],e[n],a),i.code!==void 0)return i;o.push(i)}return k4r(o)}LO.exports=z4r});var MO=c((cue,UO)=>{"use strict";var C4r=PO();UO.exports=C4r});var YO=c((due,GO)=>{"use strict";function L4r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)typeof e[t]!="number"&&a.push(t);return a}GO.exports=L4r});var WO=c((pue,$O)=>{"use strict";var P4r=YO();$O.exports=P4r});var XO=c((yue,JO)=>{"use strict";var U4r=wf();function M4r(r){var e,a,t;return a=r.start,t=r.stop,e=r.step,t===null&&(t=-1),e>0&&a>=t||e<0&&a<=t?0:U4r((t-a)/e)}JO.exports=M4r});var HO=c((mue,KO)=>{"use strict";var G4r=XO();KO.exports=G4r});var QO=c((hue,ZO)=>{"use strict";var Y4r=HO();function $4r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)a.push(Y4r(e[t]));return a}ZO.exports=$4r});var e7=c((gue,r7)=>{"use strict";var W4r=QO();r7.exports=W4r});var t7=c((bue,a7)=>{"use strict";function J4r(r,e,a){var t,o,i;for(t=r.data,o=a,i=0;i<t.length;i++)o+=e[i]*t[i].start;return o}a7.exports=J4r});var o7=c((xue,i7)=>{"use strict";function X4r(r,e,a){var t,o,i,n;for(t=r.data,o=[],i=0;i<a.length;i++)n=a[i],o.push(e[n]*t[n].step);return o}i7.exports=X4r});var s7=c((que,n7)=>{"use strict";var K4r=Ba(),H4r=Se();function Z4r(r,e,a,t,o){var i,n;return n=a.length,n===0?i=[0]:i=H4r(n),new r(e,K4r(e,0),a,i,0,t,{readonly:o})}n7.exports=Z4r});var d7=c((wue,c7)=>{"use strict";var u7=MO(),Q4r=WO(),v7=e7(),Vf=Kr(),r6r=Se(),f7=Jr(),e6r=Xe(),a6r=Te(),t6r=ba(),i6r=Ka(),o6r=sa(),zf=ft(),l7=pr(),n6r=t7(),s6r=o7(),u6r=s7();function v6r(r,e,a,t){var o,i,n,s,u,v,f,l,p,m;if(n=e6r(r),s=a6r(r,!0),o=t6r(r,!0),i=i6r(r),u=o6r(r),f=s.length,e.ndims!==f)throw new RangeError(l7("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",s.join(","),e.ndims));if(l=r.constructor,f===0)return new l(n,zf(r),s,o,i,u,{readonly:!t});if(v=Q4r(e),m=u7(e,s,!0),m.code){if(a)throw new RangeError(l7("invalid argument. Slice exceeds array bounds. Array shape: (%s).",s.join(",")));m=u7(e,s,!1),p=v7(m),f7(Vf(p,v))>0&&(p=r6r(p.length))}else p=v7(m);return f7(p)===0?u6r(l,n,Vf(p,v),u,!t):(i=n6r(m,o,i),p=Vf(p,v),p.length===0?new l(n,zf(r),[],[0],i,u,{readonly:!t}):(o=s6r(m,o,v),new l(n,zf(r),p,o,i,u,{readonly:!t})))}c7.exports=v6r});var ye=c((Sue,p7)=>{"use strict";var f6r=d7();p7.exports=f6r});var m7=c((Eue,y7)=>{"use strict";var l6r=bo();function c6r(r){return l6r(null,r)}y7.exports=c6r});var Ei=c((Aue,h7)=>{"use strict";var d6r=m7();h7.exports=d6r});var b7=c((_ue,g7)=>{"use strict";function p6r(r){var e=r.ndims;return typeof e=="number"?e:r.shape.length}g7.exports=p6r});var za=c((Tue,x7)=>{"use strict";var y6r=b7();x7.exports=y6r});var w7=c((jue,q7)=>{"use strict";var m6r=he(),h6r=Le(),g6r=ye(),b6r=Ei(),x6r=za(),Cf=pr();function q6r(r,e,a){var t,o,i;if(o=x6r(r),o===0)throw new TypeError(Cf("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",o));if(i=e,i<0){if(i+=o,i<0)throw new RangeError(Cf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e))}else if(i>=o)throw new RangeError(Cf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return t=b6r(o),t[i]=new h6r(null,null,-1),g6r(r,m6r(t),!0,a)}q7.exports=q6r});var Qn=c((Iue,S7)=>{"use strict";var w6r=w7();S7.exports=w6r});var A7=c((Oue,E7)=>{"use strict";var S6r=Za(),E6r=Qn(),A6r=ye(),_6r=za();function T6r(r,e){return _6r(r)===0?A6r(r,new S6r,!0,e):E6r(r,-1,e)}E7.exports=T6r});var T7=c((Nue,_7)=>{"use strict";var j6r=A7();_7.exports=j6r});var N7=c((Due,O7)=>{"use strict";var j7=Za(),I6r=Qn(),I7=ye(),O6r=za();function N6r(r,e){var a=O6r(r);return a===0?I7(r,new j7,!0,e):a===1?I7(r,new j7(null),!0,e):I6r(r,-2,e)}O7.exports=N6r});var k7=c((kue,D7)=>{"use strict";var D6r=N7();D7.exports=D6r});var F7=c((Bue,B7)=>{"use strict";function k6r(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}B7.exports=k6r});var V7=c((Fue,R7)=>{"use strict";var B6r=qe(),F6r=Tt(),R6r=Kr(),V6r=F7();function z6r(r,e){var a;return a=B6r(r.length),e=F6r(e),V6r(e,a),r=R6r(r,a),{sh:r,sx:e,idx:a}}R7.exports=z6r});var Zr=c((Rue,z7)=>{"use strict";var C6r=V7();z7.exports=C6r});var L7=c((Vue,C7)=>{"use strict";var L6r={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};C7.exports=L6r});var M7=c((zue,U7)=>{"use strict";var P6r=bt(),P7=L7();function U6r(r){var e=P6r(r);return e===null?P7.BLOCK_SIZE_IN_ELEMENTS:P7.BLOCK_SIZE_IN_BYTES/e|0}U7.exports=U6r});var Qr=c((Cue,G7)=>{"use strict";var M6r=M7();G7.exports=M6r});var W7=c((Lue,$7)=>{"use strict";var G6r=vt(),Y7=ea();function Y6r(r,e){return typeof r[e]=="function"}function $6r(r){var e,a,t,o,i;for(a=Y7(r.length/2),t=r.length-1,o=0;o<a;o++)i=t-o,e=r[o],r[o]=r[i],r[i]=e;return r}function W6r(r){var e,a,t,o,i,n,s,u;for(e=r.data,a=r.accessors[0],t=r.accessors[1],i=Y7(e.length/2),n=e.length-1,s=0;s<i;s++)u=n-s,o=a(e,s),t(e,s,a(e,u)),t(e,u,o);return e}function J6r(r){var e;return Y6r(r,"reverse")?r.reverse():(e=G6r(r),e.accessorProtocol?W6r(e):$6r(r))}$7.exports=J6r});var re=c((Pue,J7)=>{"use strict";var X6r=W7();J7.exports=X6r});var K7=c((Uue,X7)=>{"use strict";var K6r=Zr(),H6r=Qr(),Z6r=Kr(),Q6r=re();function rSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;for(w=K6r(r.shape,r.strides),f=w.sh,m=w.sx,v=Q6r(w.idx),t=H6r(r.dtype),d=r.offset,o=r.data,n=m[0],i=r.accessors[0],S=f[1];S>0;)for(S<t?(p=S,S=0):(p=t,S-=t),u=d+S*m[1],x=f[0];x>0;)for(x<t?(l=x,x=0):(l=t,x-=t),y=u+x*m[0],s=m[1]-l*m[0],g=0;g<p;g++){for(h=0;h<l;h++)e.call(a,i(o,y),Z6r([g,h],v),r.ref),y+=n;y+=s}}X7.exports=rSr});var Z7=c((Mue,H7)=>{"use strict";var eSr=Zr(),aSr=Qr(),tSr=Kr(),iSr=re();function oSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(q=eSr(r.shape,r.strides),p=q.sh,h=q.sx,l=iSr(q.idx),t=aSr(r.dtype),g=r.offset,o=r.data,n=h[0],i=r.accessors[0],E=p[2];E>0;)for(E<t?(y=E,E=0):(y=t,E-=t),f=g+E*h[2],b=p[1];b>0;)for(b<t?(d=b,b=0):(d=t,b-=t),u=h[2]-d*h[1],v=f+b*h[1],_=p[0];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),x=v+_*h[0],s=h[1]-m*h[0],A=0;A<y;A++){for(w=0;w<d;w++){for(S=0;S<m;S++)e.call(a,i(o,x),tSr([A,w,S],l),r.ref),x+=n;x+=s}x+=u}}H7.exports=oSr});var rN=c((Gue,Q7)=>{"use strict";var nSr=Zr(),sSr=Qr(),uSr=Kr(),vSr=re();function fSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D;for(D=nSr(r.shape,r.strides),d=D.sh,S=D.sx,m=vSr(D.idx),t=sSr(r.dtype),w=r.offset,o=r.data,n=S[0],i=r.accessors[0],I=d[3];I>0;)for(I<t?(x=I,I=0):(x=t,I-=t),p=w+I*S[3],O=d[2];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),v=S[3]-g*S[2],l=p+O*S[2],j=d[1];j>0;)for(j<t?(h=j,j=0):(h=t,j-=t),u=S[2]-h*S[1],f=l+j*S[1],T=d[0];T>0;)for(T<t?(y=T,T=0):(y=t,T-=t),A=f+T*S[0],s=S[1]-y*S[0],q=0;q<x;q++){for(E=0;E<g;E++){for(b=0;b<h;b++){for(_=0;_<y;_++)e.call(a,i(o,A),uSr([q,E,b,_],m),r.ref),A+=n;A+=s}A+=u}A+=v}}Q7.exports=fSr});var aN=c((Yue,eN)=>{"use strict";var lSr=Zr(),cSr=Qr(),dSr=Kr(),pSr=re();function ySr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B;for(B=lSr(r.shape,r.strides),h=B.sh,_=B.sx,y=pSr(B.idx),t=cSr(r.dtype),b=r.offset,o=r.data,n=_[0],i=r.accessors[0],R=h[4];R>0;)for(R<t?(A=R,R=0):(A=t,R-=t),d=b+R*_[4],F=h[3];F>0;)for(F<t?(w=F,F=0):(w=t,F-=t),f=_[4]-w*_[3],m=d+F*_[3],N=h[2];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),v=_[3]-S*_[2],p=m+N*_[2],k=h[1];k>0;)for(k<t?(x=k,k=0):(x=t,k-=t),u=_[2]-x*_[1],l=p+k*_[1],D=h[0];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),E=l+D*_[0],s=_[1]-g*_[0],I=0;I<A;I++){for(O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<x;T++){for(q=0;q<g;q++)e.call(a,i(o,E),dSr([I,O,j,T,q],y),r.ref),E+=n;E+=s}E+=u}E+=v}E+=f}}eN.exports=ySr});var iN=c(($ue,tN)=>{"use strict";var mSr=Zr(),hSr=Qr(),gSr=Kr(),bSr=re();function xSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P;for(P=mSr(r.shape,r.strides),x=P.sh,q=P.sx,g=bSr(P.idx),t=hSr(r.dtype),T=r.offset,o=r.data,n=q[0],i=r.accessors[0],L=x[5];L>0;)for(L<t?(E=L,L=0):(E=t,L-=t),h=T+L*q[5],C=x[4];C>0;)for(C<t?(b=C,C=0):(b=t,C-=t),l=q[5]-b*q[4],y=h+C*q[4],z=x[3];z>0;)for(z<t?(_=z,z=0):(_=t,z-=t),f=q[4]-_*q[3],d=y+z*q[3],V=x[2];V>0;)for(V<t?(A=V,V=0):(A=t,V-=t),v=q[3]-A*q[2],m=d+V*q[2],B=x[1];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),u=q[2]-w*q[1],p=m+B*q[1],R=x[0];R>0;)for(R<t?(S=R,R=0):(S=t,R-=t),j=p+R*q[0],s=q[1]-S*q[0],F=0;F<E;F++){for(N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)e.call(a,i(o,j),gSr([F,N,k,D,I,O],g),r.ref),j+=n;j+=s}j+=u}j+=v}j+=f}j+=l}}tN.exports=xSr});var nN=c((Wue,oN)=>{"use strict";var qSr=Zr(),wSr=Qr(),SSr=Kr(),ESr=re();function ASr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y;for(Y=qSr(r.shape,r.strides),w=Y.sh,O=Y.sx,S=ESr(Y.idx),t=wSr(r.dtype),I=r.offset,o=r.data,n=O[0],i=r.accessors[0],$=w[6];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),x=I+$*O[6],G=w[5];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),p=O[6]-T*O[5],g=x+G*O[5],M=w[4];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=O[5]-q*O[4],h=g+M*O[4],U=w[3];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),f=O[4]-E*O[3],y=h+U*O[3],P=w[2];P>0;)for(P<t?(b=P,P=0):(b=t,P-=t),v=O[3]-b*O[2],d=y+P*O[2],L=w[1];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),u=O[2]-_*O[1],m=d+L*O[1],C=w[0];C>0;)for(C<t?(A=C,C=0):(A=t,C-=t),D=m+C*O[0],s=O[1]-A*O[0],z=0;z<j;z++){for(V=0;V<T;V++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++)e.call(a,i(o,D),SSr([z,V,B,R,F,N,k],S),r.ref),D+=n;D+=s}D+=u}D+=v}D+=f}D+=l}D+=p}}oN.exports=ASr});var uN=c((Jue,sN)=>{"use strict";var _Sr=Zr(),TSr=Qr(),jSr=Kr(),ISr=re();function OSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H;for(H=_Sr(r.shape,r.strides),_=H.sh,k=H.sx,A=ISr(H.idx),t=TSr(r.dtype),N=r.offset,o=r.data,n=k[0],i=r.accessors[0],K=_[7];K>0;)for(K<t?(D=K,K=0):(D=t,K-=t),w=N+K*k[7],X=_[6];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),m=k[7]-I*k[6],S=w+X*k[6],J=_[5];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),p=k[6]-O*k[5],x=S+J*k[5],W=_[4];W>0;)for(W<t?(j=W,W=0):(j=t,W-=t),l=k[5]-j*k[4],g=x+W*k[4],Y=_[3];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),f=k[4]-T*k[3],h=g+Y*k[3],$=_[2];$>0;)for($<t?(q=$,$=0):(q=t,$-=t),v=k[3]-q*k[2],y=h+$*k[2],G=_[1];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),u=k[2]-E*k[1],d=y+G*k[1],M=_[0];M>0;)for(M<t?(b=M,M=0):(b=t,M-=t),F=d+M*k[0],s=k[1]-b*k[0],U=0;U<D;U++){for(P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++)e.call(a,i(o,F),jSr([U,P,L,C,z,V,B,R],A),r.ref),F+=n;F+=s}F+=u}F+=v}F+=f}F+=l}F+=p}F+=m}}sN.exports=OSr});var fN=c((Xue,vN)=>{"use strict";var NSr=Zr(),DSr=Qr(),kSr=Kr(),BSr=re();function FSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(er=NSr(r.shape,r.strides),E=er.sh,R=er.sx,b=BSr(er.idx),t=DSr(r.dtype),B=r.offset,o=r.data,n=R[0],i=r.accessors[0],ar=E[8];ar>0;)for(ar<t?(F=ar,ar=0):(F=t,ar-=t),_=B+ar*R[8],rr=E[7];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),d=R[8]-N*R[7],A=_+rr*R[7],Z=E[6];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),m=R[7]-k*R[6],w=A+Z*R[6],Q=E[5];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),p=R[6]-D*R[5],S=w+Q*R[5],H=E[4];H>0;)for(H<t?(I=H,H=0):(I=t,H-=t),l=R[5]-I*R[4],x=S+H*R[4],K=E[3];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),f=R[4]-O*R[3],g=x+K*R[3],X=E[2];X>0;)for(X<t?(j=X,X=0):(j=t,X-=t),v=R[3]-j*R[2],h=g+X*R[2],J=E[1];J>0;)for(J<t?(T=J,J=0):(T=t,J-=t),u=R[2]-T*R[1],y=h+J*R[1],W=E[0];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),V=y+W*R[0],s=R[1]-q*R[0],Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++)e.call(a,i(o,V),kSr([Y,$,G,M,U,P,L,C,z],b),r.ref),V+=n;V+=s}V+=u}V+=v}V+=f}V+=l}V+=p}V+=m}V+=d}}vN.exports=FSr});var cN=c((Kue,lN)=>{"use strict";var RSr=Zr(),VSr=Qr(),zSr=Kr(),CSr=re();function LSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr;for(sr=RSr(r.shape,r.strides),T=sr.sh,z=sr.sx,q=CSr(sr.idx),t=VSr(r.dtype),C=r.offset,o=r.data,n=z[0],i=r.accessors[0],nr=T[9];nr>0;)for(nr<t?(V=nr,nr=0):(V=t,nr-=t),E=C+nr*z[9],or=T[8];or>0;)for(or<t?(B=or,or=0):(B=t,or-=t),y=z[9]-B*z[8],b=E+or*z[8],tr=T[7];tr>0;)for(tr<t?(R=tr,tr=0):(R=t,tr-=t),d=z[8]-R*z[7],_=b+tr*z[7],ir=T[6];ir>0;)for(ir<t?(F=ir,ir=0):(F=t,ir-=t),m=z[7]-F*z[6],A=_+ir*z[6],er=T[5];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),p=z[6]-N*z[5],w=A+er*z[5],ar=T[4];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),l=z[5]-k*z[4],S=w+ar*z[4],rr=T[3];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=z[4]-D*z[3],x=S+rr*z[3],Z=T[2];Z>0;)for(Z<t?(I=Z,Z=0):(I=t,Z-=t),v=z[3]-I*z[2],g=x+Z*z[2],Q=T[1];Q>0;)for(Q<t?(O=Q,Q=0):(O=t,Q-=t),u=z[2]-O*z[1],h=g+Q*z[1],H=T[0];H>0;)for(H<t?(j=H,H=0):(j=t,H-=t),L=h+H*z[0],s=z[1]-j*z[0],K=0;K<V;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++)e.call(a,i(o,L),zSr([K,X,J,W,Y,$,G,M,U,P],q),r.ref),L+=n;L+=s}L+=u}L+=v}L+=f}L+=l}L+=p}L+=m}L+=d}L+=y}}lN.exports=LSr});var pN=c((Hue,dN)=>{"use strict";var PSr=Zr(),USr=Qr(),MSr=Kr(),GSr=re();function YSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S;for(S=PSr(r.shape,r.strides),v=S.sh,p=S.sx,u=GSr(S.idx),t=USr(r.dtype),m=r.offset,o=r.data,i=p[0],x=v[1];x>0;)for(x<t?(l=x,x=0):(l=t,x-=t),s=m+x*p[1],g=v[0];g>0;)for(g<t?(f=g,g=0):(f=t,g-=t),d=s+g*p[0],n=p[1]-f*p[0],h=0;h<l;h++){for(y=0;y<f;y++)e.call(a,o[d],MSr([h,y],u),r.ref),d+=i;d+=n}}dN.exports=YSr});var mN=c((Zue,yN)=>{"use strict";var $Sr=Zr(),WSr=Qr(),JSr=Kr(),XSr=re();function KSr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E;for(E=$Sr(r.shape,r.strides),l=E.sh,y=E.sx,f=XSr(E.idx),t=WSr(r.dtype),h=r.offset,o=r.data,i=y[0],b=l[2];b>0;)for(b<t?(d=b,b=0):(d=t,b-=t),v=h+b*y[2],_=l[1];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),s=y[2]-m*y[1],u=v+_*y[1],A=l[0];A>0;)for(A<t?(p=A,A=0):(p=t,A-=t),g=u+A*y[0],n=y[1]-p*y[0],w=0;w<d;w++){for(S=0;S<m;S++){for(x=0;x<p;x++)e.call(a,o[g],JSr([w,S,x],f),r.ref),g+=i;g+=n}g+=s}}yN.exports=KSr});var gN=c((Que,hN)=>{"use strict";var HSr=Zr(),ZSr=Qr(),QSr=Kr(),rEr=re();function eEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(I=HSr(r.shape,r.strides),m=I.sh,x=I.sx,p=rEr(I.idx),t=ZSr(r.dtype),S=r.offset,o=r.data,i=x[0],O=m[3];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),l=S+O*x[3],j=m[2];j>0;)for(j<t?(h=j,j=0):(h=t,j-=t),u=x[3]-h*x[2],f=l+j*x[2],T=m[1];T>0;)for(T<t?(y=T,T=0):(y=t,T-=t),s=x[2]-y*x[1],v=f+T*x[1],q=m[0];q>0;)for(q<t?(d=q,q=0):(d=t,q-=t),w=v+q*x[0],n=x[1]-d*x[0],E=0;E<g;E++){for(b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++)e.call(a,o[w],QSr([E,b,_,A],p),r.ref),w+=i;w+=n}w+=s}w+=u}}hN.exports=eEr});var xN=c((rve,bN)=>{"use strict";var aEr=Zr(),tEr=Qr(),iEr=Kr(),oEr=re();function nEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R;for(R=aEr(r.shape,r.strides),y=R.sh,A=R.sx,d=oEr(R.idx),t=tEr(r.dtype),_=r.offset,o=r.data,i=A[0],F=y[4];F>0;)for(F<t?(w=F,F=0):(w=t,F-=t),m=_+F*A[4],N=y[3];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),v=A[4]-S*A[3],p=m+N*A[3],k=y[2];k>0;)for(k<t?(x=k,k=0):(x=t,k-=t),u=A[3]-x*A[2],l=p+k*A[2],D=y[1];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),s=A[2]-g*A[1],f=l+D*A[1],I=y[0];I>0;)for(I<t?(h=I,I=0):(h=t,I-=t),b=f+I*A[0],n=A[1]-h*A[0],O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)e.call(a,o[b],iEr([O,j,T,q,E],d),r.ref),b+=i;b+=n}b+=s}b+=u}b+=v}}bN.exports=nEr});var wN=c((eve,qN)=>{"use strict";var sEr=Zr(),uEr=Qr(),vEr=Kr(),fEr=re();function lEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L;for(L=sEr(r.shape,r.strides),g=L.sh,E=L.sx,h=fEr(L.idx),t=uEr(r.dtype),q=r.offset,o=r.data,i=E[0],C=g[5];C>0;)for(C<t?(b=C,C=0):(b=t,C-=t),y=q+C*E[5],z=g[4];z>0;)for(z<t?(_=z,z=0):(_=t,z-=t),f=E[5]-_*E[4],d=y+z*E[4],V=g[3];V>0;)for(V<t?(A=V,V=0):(A=t,V-=t),v=E[4]-A*E[3],m=d+V*E[3],B=g[2];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),u=E[3]-w*E[2],p=m+B*E[2],R=g[1];R>0;)for(R<t?(S=R,R=0):(S=t,R-=t),s=E[2]-S*E[1],l=p+R*E[1],F=g[0];F>0;)for(F<t?(x=F,F=0):(x=t,F-=t),T=l+F*E[0],n=E[1]-x*E[0],N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++)e.call(a,o[T],vEr([N,k,D,I,O,j],h),r.ref),T+=i;T+=n}T+=s}T+=u}T+=v}T+=f}}qN.exports=lEr});var EN=c((ave,SN)=>{"use strict";var cEr=Zr(),dEr=Qr(),pEr=Kr(),yEr=re();function mEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$;for($=cEr(r.shape,r.strides),S=$.sh,j=$.sx,x=yEr($.idx),t=dEr(r.dtype),O=r.offset,o=r.data,i=j[0],G=S[6];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),g=O+G*j[6],M=S[5];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=j[6]-q*j[5],h=g+M*j[5],U=S[4];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),f=j[5]-E*j[4],y=h+U*j[4],P=S[3];P>0;)for(P<t?(b=P,P=0):(b=t,P-=t),v=j[4]-b*j[3],d=y+P*j[3],L=S[2];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),u=j[3]-_*j[2],m=d+L*j[2],C=S[1];C>0;)for(C<t?(A=C,C=0):(A=t,C-=t),s=j[2]-A*j[1],p=m+C*j[1],z=S[0];z>0;)for(z<t?(w=z,z=0):(w=t,z-=t),I=p+z*j[0],n=j[1]-w*j[0],V=0;V<T;V++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)e.call(a,o[I],pEr([V,B,R,F,N,k,D],x),r.ref),I+=i;I+=n}I+=s}I+=u}I+=v}I+=f}I+=l}}SN.exports=mEr});var _N=c((tve,AN)=>{"use strict";var hEr=Zr(),gEr=Qr(),bEr=Kr(),xEr=re();function qEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K;for(K=hEr(r.shape,r.strides),A=K.sh,D=K.sx,w=xEr(K.idx),t=gEr(r.dtype),k=r.offset,o=r.data,i=D[0],X=A[7];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),S=k+X*D[7],J=A[6];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),p=D[7]-O*D[6],x=S+J*D[6],W=A[5];W>0;)for(W<t?(j=W,W=0):(j=t,W-=t),l=D[6]-j*D[5],g=x+W*D[5],Y=A[4];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),f=D[5]-T*D[4],h=g+Y*D[4],$=A[3];$>0;)for($<t?(q=$,$=0):(q=t,$-=t),v=D[4]-q*D[3],y=h+$*D[3],G=A[2];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),u=D[3]-E*D[2],d=y+G*D[2],M=A[1];M>0;)for(M<t?(b=M,M=0):(b=t,M-=t),s=D[2]-b*D[1],m=d+M*D[1],U=A[0];U>0;)for(U<t?(_=U,U=0):(_=t,U-=t),N=m+U*D[0],n=D[1]-_*D[0],P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++)e.call(a,o[N],bEr([P,L,C,z,V,B,R,F],w),r.ref),N+=i;N+=n}N+=s}N+=u}N+=v}N+=f}N+=l}N+=p}}AN.exports=qEr});var jN=c((ive,TN)=>{"use strict";var wEr=Zr(),SEr=Qr(),EEr=Kr(),AEr=re();function _Er(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar;for(ar=wEr(r.shape,r.strides),b=ar.sh,F=ar.sx,_=AEr(ar.idx),t=SEr(r.dtype),R=r.offset,o=r.data,i=F[0],rr=b[8];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),A=R+rr*F[8],Z=b[7];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),m=F[8]-k*F[7],w=A+Z*F[7],Q=b[6];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),p=F[7]-D*F[6],S=w+Q*F[6],H=b[5];H>0;)for(H<t?(I=H,H=0):(I=t,H-=t),l=F[6]-I*F[5],x=S+H*F[5],K=b[4];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),f=F[5]-O*F[4],g=x+K*F[4],X=b[3];X>0;)for(X<t?(j=X,X=0):(j=t,X-=t),v=F[4]-j*F[3],h=g+X*F[3],J=b[2];J>0;)for(J<t?(T=J,J=0):(T=t,J-=t),u=F[3]-T*F[2],y=h+J*F[2],W=b[1];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),s=F[2]-q*F[1],d=y+W*F[1],Y=b[0];Y>0;)for(Y<t?(E=Y,Y=0):(E=t,Y-=t),B=d+Y*F[0],n=F[1]-E*F[0],$=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++)e.call(a,o[B],EEr([$,G,M,U,P,L,C,z,V],_),r.ref),B+=i;B+=n}B+=s}B+=u}B+=v}B+=f}B+=l}B+=p}B+=m}}TN.exports=_Er});var ON=c((ove,IN)=>{"use strict";var TEr=Zr(),jEr=Qr(),IEr=Kr(),OEr=re();function NEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(nr=TEr(r.shape,r.strides),q=nr.sh,V=nr.sx,E=OEr(nr.idx),t=jEr(r.dtype),z=r.offset,o=r.data,i=V[0],or=q[9];or>0;)for(or<t?(B=or,or=0):(B=t,or-=t),b=z+or*V[9],tr=q[8];tr>0;)for(tr<t?(R=tr,tr=0):(R=t,tr-=t),d=V[9]-R*V[8],_=b+tr*V[8],ir=q[7];ir>0;)for(ir<t?(F=ir,ir=0):(F=t,ir-=t),m=V[8]-F*V[7],A=_+ir*V[7],er=q[6];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),p=V[7]-N*V[6],w=A+er*V[6],ar=q[5];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),l=V[6]-k*V[5],S=w+ar*V[5],rr=q[4];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=V[5]-D*V[4],x=S+rr*V[4],Z=q[3];Z>0;)for(Z<t?(I=Z,Z=0):(I=t,Z-=t),v=V[4]-I*V[3],g=x+Z*V[3],Q=q[2];Q>0;)for(Q<t?(O=Q,Q=0):(O=t,Q-=t),u=V[3]-O*V[2],h=g+Q*V[2],H=q[1];H>0;)for(H<t?(j=H,H=0):(j=t,H-=t),s=V[2]-j*V[1],y=h+H*V[1],K=q[0];K>0;)for(K<t?(T=K,K=0):(T=t,K-=t),C=y+K*V[0],n=V[1]-T*V[0],X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++)e.call(a,o[C],IEr([X,J,W,Y,$,G,M,U,P,L],E),r.ref),C+=i;C+=n}C+=s}C+=u}C+=v}C+=f}C+=l}C+=p}C+=m}C+=d}}IN.exports=NEr});var DN=c((nve,NN)=>{"use strict";function DEr(r,e,a){e.call(a,r.accessors[0](r.data,r.offset),[],r.ref)}NN.exports=DEr});var BN=c((sve,kN)=>{"use strict";function kEr(r,e,a){var t,o,i,n,s,u;for(n=r.shape[0],i=r.strides[0],s=r.offset,t=r.data,o=r.accessors[0],u=0;u<n;u++)e.call(a,o(t,s),[u],r.ref),s+=i}kN.exports=kEr});var RN=c((uve,FN)=>{"use strict";var BEr=qe(),FEr=re(),REr=Kr();function VEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d;for(u=r.shape,l=r.strides,s=BEr(u.length),r.order==="row-major"?(v=u[1],f=u[0],i=l[1],n=l[0]-v*l[1]):(v=u[0],f=u[1],i=l[0],n=l[1]-v*l[0],s=FEr(s)),p=r.offset,t=r.data,o=r.accessors[0],d=0;d<f;d++){for(m=0;m<v;m++)e.call(a,o(t,p),REr([d,m],s),r.ref),p+=i;p+=n}}FN.exports=VEr});var zN=c((vve,VN)=>{"use strict";var zEr=qe(),CEr=re(),LEr=Kr();function PEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;for(v=r.shape,m=r.strides,u=zEr(v.length),r.order==="row-major"?(f=v[2],l=v[1],p=v[0],i=m[2],n=m[1]-f*m[2],s=m[0]-l*m[1]):(f=v[0],l=v[1],p=v[2],i=m[0],n=m[1]-f*m[0],s=m[2]-l*m[1],u=CEr(u)),d=r.offset,t=r.data,o=r.accessors[0],g=0;g<p;g++){for(h=0;h<l;h++){for(y=0;y<f;y++)e.call(a,o(t,d),LEr([g,h,y],u),r.ref),d+=i;d+=n}d+=s}}VN.exports=PEr});var LN=c((fve,CN)=>{"use strict";var UEr=qe(),MEr=re(),GEr=Kr();function YEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;for(f=r.shape,y=r.strides,v=UEr(f.length),r.order==="row-major"?(l=f[3],p=f[2],m=f[1],d=f[0],i=y[3],n=y[2]-l*y[3],s=y[1]-p*y[2],u=y[0]-m*y[1]):(l=f[0],p=f[1],m=f[2],d=f[3],i=y[0],n=y[1]-l*y[0],s=y[2]-p*y[1],u=y[3]-m*y[2],v=MEr(v)),h=r.offset,t=r.data,o=r.accessors[0],w=0;w<d;w++){for(S=0;S<m;S++){for(x=0;x<p;x++){for(g=0;g<l;g++)e.call(a,o(t,h),GEr([w,S,x,g],v),r.ref),h+=i;h+=n}h+=s}h+=u}}CN.exports=YEr});var UN=c((lve,PN)=>{"use strict";var $Er=qe(),WEr=re(),JEr=Kr();function XEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b;for(l=r.shape,g=r.strides,f=$Er(l.length),r.order==="row-major"?(p=l[4],m=l[3],d=l[2],y=l[1],h=l[0],i=g[4],n=g[3]-p*g[4],s=g[2]-m*g[3],u=g[1]-d*g[2],v=g[0]-y*g[1]):(p=l[0],m=l[1],d=l[2],y=l[3],h=l[4],i=g[0],n=g[1]-p*g[0],s=g[2]-m*g[1],u=g[3]-d*g[2],v=g[4]-y*g[3],f=WEr(f)),x=r.offset,t=r.data,o=r.accessors[0],b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<m;w++){for(S=0;S<p;S++)e.call(a,o(t,x),JEr([b,_,A,w,S],f),r.ref),x+=i;x+=n}x+=s}x+=u}x+=v}}PN.exports=XEr});var GN=c((cve,MN)=>{"use strict";var KEr=qe(),HEr=re(),ZEr=Kr();function QEr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T;for(p=r.shape,S=r.strides,l=KEr(p.length),r.order==="row-major"?(m=p[5],d=p[4],y=p[3],h=p[2],g=p[1],x=p[0],i=S[5],n=S[4]-m*S[5],s=S[3]-d*S[4],u=S[2]-y*S[3],v=S[1]-h*S[2],f=S[0]-g*S[1]):(m=p[0],d=p[1],y=p[2],h=p[3],g=p[4],x=p[5],i=S[0],n=S[1]-m*S[0],s=S[2]-d*S[1],u=S[3]-y*S[2],v=S[4]-h*S[3],f=S[5]-g*S[4],l=HEr(l)),w=r.offset,t=r.data,o=r.accessors[0],T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++){for(A=0;A<m;A++)e.call(a,o(t,w),ZEr([T,q,E,b,_,A],l),r.ref),w+=i;w+=n}w+=s}w+=u}w+=v}w+=f}}MN.exports=QEr});var $N=c((dve,YN)=>{"use strict";var rAr=qe(),eAr=re(),aAr=Kr();function tAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(m=r.shape,A=r.strides,p=rAr(m.length),r.order==="row-major"?(d=m[6],y=m[5],h=m[4],g=m[3],x=m[2],S=m[1],w=m[0],i=A[6],n=A[5]-d*A[6],s=A[4]-y*A[5],u=A[3]-h*A[4],v=A[2]-g*A[3],f=A[1]-x*A[2],l=A[0]-S*A[1]):(d=m[0],y=m[1],h=m[2],g=m[3],x=m[4],S=m[5],w=m[6],i=A[0],n=A[1]-d*A[0],s=A[2]-y*A[1],u=A[3]-h*A[2],v=A[4]-g*A[3],f=A[5]-x*A[4],l=A[6]-S*A[5],p=eAr(p)),_=r.offset,t=r.data,o=r.accessors[0],I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<y;E++){for(b=0;b<d;b++)e.call(a,o(t,_),aAr([I,O,j,T,q,E,b],p),r.ref),_+=i;_+=n}_+=s}_+=u}_+=v}_+=f}_+=l}}YN.exports=tAr});var JN=c((pve,WN)=>{"use strict";var iAr=qe(),oAr=re(),nAr=Kr();function sAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N;for(d=r.shape,b=r.strides,m=iAr(d.length),r.order==="row-major"?(y=d[7],h=d[6],g=d[5],x=d[4],S=d[3],w=d[2],A=d[1],_=d[0],i=b[7],n=b[6]-y*b[7],s=b[5]-h*b[6],u=b[4]-g*b[5],v=b[3]-x*b[4],f=b[2]-S*b[3],l=b[1]-w*b[2],p=b[0]-A*b[1]):(y=d[0],h=d[1],g=d[2],x=d[3],S=d[4],w=d[5],A=d[6],_=d[7],i=b[0],n=b[1]-y*b[0],s=b[2]-h*b[1],u=b[3]-g*b[2],v=b[4]-x*b[3],f=b[5]-S*b[4],l=b[6]-w*b[5],p=b[7]-A*b[6],m=oAr(m)),E=r.offset,t=r.data,o=r.accessors[0],N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<y;q++)e.call(a,o(t,E),nAr([N,k,D,I,O,j,T,q],m),r.ref),E+=i;E+=n}E+=s}E+=u}E+=v}E+=f}E+=l}E+=p}}WN.exports=sAr});var KN=c((yve,XN)=>{"use strict";var uAr=qe(),vAr=re(),fAr=Kr();function lAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B;for(y=r.shape,q=r.strides,d=uAr(y.length),r.order==="row-major"?(h=y[8],g=y[7],x=y[6],S=y[5],w=y[4],A=y[3],_=y[2],b=y[1],E=y[0],i=q[8],n=q[7]-h*q[8],s=q[6]-g*q[7],u=q[5]-x*q[6],v=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],p=q[1]-_*q[2],m=q[0]-b*q[1]):(h=y[0],g=y[1],x=y[2],S=y[3],w=y[4],A=y[5],_=y[6],b=y[7],E=y[8],i=q[0],n=q[1]-h*q[0],s=q[2]-g*q[1],u=q[3]-x*q[2],v=q[4]-S*q[3],f=q[5]-w*q[4],l=q[6]-A*q[5],p=q[7]-_*q[6],m=q[8]-b*q[7],d=vAr(d)),T=r.offset,t=r.data,o=r.accessors[0],B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<x;I++){for(O=0;O<g;O++){for(j=0;j<h;j++)e.call(a,o(t,T),fAr([B,R,F,N,k,D,I,O,j],d),r.ref),T+=i;T+=n}T+=s}T+=u}T+=v}T+=f}T+=l}T+=p}T+=m}}XN.exports=lAr});var ZN=c((mve,HN)=>{"use strict";var cAr=qe(),dAr=re(),pAr=Kr();function yAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(h=r.shape,j=r.strides,y=cAr(h.length),r.order==="row-major"?(g=h[9],x=h[8],S=h[7],w=h[6],A=h[5],_=h[4],b=h[3],E=h[2],q=h[1],T=h[0],i=j[9],n=j[8]-g*j[9],s=j[7]-x*j[8],u=j[6]-S*j[7],v=j[5]-w*j[6],f=j[4]-A*j[5],l=j[3]-_*j[4],p=j[2]-b*j[3],m=j[1]-E*j[2],d=j[0]-q*j[1]):(g=h[0],x=h[1],S=h[2],w=h[3],A=h[4],_=h[5],b=h[6],E=h[7],q=h[8],T=h[9],i=j[0],n=j[1]-g*j[0],s=j[2]-x*j[1],u=j[3]-S*j[2],v=j[4]-w*j[3],f=j[5]-A*j[4],l=j[6]-_*j[5],p=j[7]-b*j[6],m=j[8]-E*j[7],d=j[9]-q*j[8],y=dAr(y)),O=r.offset,t=r.data,o=r.accessors[0],C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(I=0;I<g;I++)e.call(a,o(t,O),pAr([C,z,V,B,R,F,N,k,D,I],y),r.ref),O+=i;O+=n}O+=s}O+=u}O+=v}O+=f}O+=l}O+=p}O+=m}O+=d}}HN.exports=yAr});var Lf=c((hve,QN)=>{"use strict";var mAr=pr(),rs=Sf();function hAr(r,e,a,t,o,i,n){var s,u,v,f,l;for(s=r.length,u=1,l=0;l<s;l++)u*=r[l];if(i==="clamp")o<0?o=0:o>=u&&(o=u-1);else if(i==="wrap")o<0?(o+=u,o<0&&(o%=u,o!==0&&(o+=u))):o>=u&&(o-=u,o>=u&&(o%=u));else if(i==="normalize"&&o<0&&(o+=u),o<0||o>=u)throw new RangeError(mAr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",u,o));if(a===0){if(t==="column-major"){for(l=0;l<s;l++)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}for(l=s-1;l>=0;l--)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}if(t==="column-major"){for(l=s-1;l>=0;l--)f=e[l],f<0?(v=rs(o/f),o-=v*f,n[l]=r[l]-1+v):(v=rs(o/f),o-=v*f,n[l]=v);return n}for(l=0;l<s;l++)f=e[l],f<0?(v=rs(o/f),o-=v*f,n[l]=r[l]-1+v):(v=rs(o/f),o-=v*f,n[l]=v);return n}QN.exports=hAr});var eD=c((gve,rD)=>{"use strict";var gAr=Se(),bAr=Lf();function xAr(r,e,a,t,o,i){return bAr(r,e,a,t,o,i,gAr(r.length))}rD.exports=xAr});var Ai=c((bve,tD)=>{"use strict";var qAr=Ir(),aD=eD(),wAr=Lf();qAr(aD,"assign",wAr);tD.exports=aD});var nD=c((xve,oD)=>{"use strict";var SAr=Jr(),EAr=na(),AAr=Ai(),iD="throw";function _Ar(r,e,a){var t,o,i,n,s,u,v,f,l,p;for(u=r.shape,i=SAr(u),t=r.data,v=r.strides,f=r.offset,o=r.order,n=r.accessors[0],p=0;p<i;p++)l=EAr(u,v,f,o,p,iD),s=AAr(u,v,0,o,p,iD),e.call(a,n(t,l),s,r.ref)}oD.exports=_Ar});var uD=c((qve,sD)=>{"use strict";function TAr(r,e,a){e.call(a,r.data[r.offset],[],r.ref)}sD.exports=TAr});var fD=c((wve,vD)=>{"use strict";function jAr(r,e,a){var t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,t=r.data,s=0;s<i;s++)e.call(a,t[n],[s],r.ref),n+=o}vD.exports=jAr});var cD=c((Sve,lD)=>{"use strict";var IAr=qe(),OAr=re(),NAr=Kr();function DAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m;for(s=r.shape,f=r.strides,n=IAr(s.length),r.order==="row-major"?(u=s[1],v=s[0],o=f[1],i=f[0]-u*f[1]):(u=s[0],v=s[1],o=f[0],i=f[1]-u*f[0],n=OAr(n)),l=r.offset,t=r.data,m=0;m<v;m++){for(p=0;p<u;p++)e.call(a,t[l],NAr([m,p],n),r.ref),l+=o;l+=i}}lD.exports=DAr});var pD=c((Eve,dD)=>{"use strict";var kAr=qe(),BAr=re(),FAr=Kr();function RAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h;for(u=r.shape,p=r.strides,s=kAr(u.length),r.order==="row-major"?(v=u[2],f=u[1],l=u[0],o=p[2],i=p[1]-v*p[2],n=p[0]-f*p[1]):(v=u[0],f=u[1],l=u[2],o=p[0],i=p[1]-v*p[0],n=p[2]-f*p[1],s=BAr(s)),m=r.offset,t=r.data,h=0;h<l;h++){for(y=0;y<f;y++){for(d=0;d<v;d++)e.call(a,t[m],FAr([h,y,d],s),r.ref),m+=o;m+=i}m+=n}}dD.exports=RAr});var mD=c((Ave,yD)=>{"use strict";var VAr=qe(),zAr=re(),CAr=Kr();function LAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S;for(v=r.shape,d=r.strides,u=VAr(v.length),r.order==="row-major"?(f=v[3],l=v[2],p=v[1],m=v[0],o=d[3],i=d[2]-f*d[3],n=d[1]-l*d[2],s=d[0]-p*d[1]):(f=v[0],l=v[1],p=v[2],m=v[3],o=d[0],i=d[1]-f*d[0],n=d[2]-l*d[1],s=d[3]-p*d[2],u=zAr(u)),y=r.offset,t=r.data,S=0;S<m;S++){for(x=0;x<p;x++){for(g=0;g<l;g++){for(h=0;h<f;h++)e.call(a,t[y],CAr([S,x,g,h],u),r.ref),y+=o;y+=i}y+=n}y+=s}}yD.exports=LAr});var gD=c((_ve,hD)=>{"use strict";var PAr=qe(),UAr=re(),MAr=Kr();function GAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_;for(f=r.shape,h=r.strides,v=PAr(f.length),r.order==="row-major"?(l=f[4],p=f[3],m=f[2],d=f[1],y=f[0],o=h[4],i=h[3]-l*h[4],n=h[2]-p*h[3],s=h[1]-m*h[2],u=h[0]-d*h[1]):(l=f[0],p=f[1],m=f[2],d=f[3],y=f[4],o=h[0],i=h[1]-l*h[0],n=h[2]-p*h[1],s=h[3]-m*h[2],u=h[4]-d*h[3],v=UAr(v)),g=r.offset,t=r.data,_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<m;w++){for(S=0;S<p;S++){for(x=0;x<l;x++)e.call(a,t[g],MAr([_,A,w,S,x],v),r.ref),g+=o;g+=i}g+=n}g+=s}g+=u}}hD.exports=GAr});var xD=c((Tve,bD)=>{"use strict";var YAr=qe(),$Ar=re(),WAr=Kr();function JAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(l=r.shape,x=r.strides,f=YAr(l.length),r.order==="row-major"?(p=l[5],m=l[4],d=l[3],y=l[2],h=l[1],g=l[0],o=x[5],i=x[4]-p*x[5],n=x[3]-m*x[4],s=x[2]-d*x[3],u=x[1]-y*x[2],v=x[0]-h*x[1]):(p=l[0],m=l[1],d=l[2],y=l[3],h=l[4],g=l[5],o=x[0],i=x[1]-p*x[0],n=x[2]-m*x[1],s=x[3]-d*x[2],u=x[4]-y*x[3],v=x[5]-h*x[4],f=$Ar(f)),S=r.offset,t=r.data,q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++){for(A=0;A<m;A++){for(w=0;w<p;w++)e.call(a,t[S],WAr([q,E,b,_,A,w],f),r.ref),S+=o;S+=i}S+=n}S+=s}S+=u}S+=v}}bD.exports=JAr});var wD=c((jve,qD)=>{"use strict";var XAr=qe(),KAr=re(),HAr=Kr();function ZAr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O;for(p=r.shape,w=r.strides,l=XAr(p.length),r.order==="row-major"?(m=p[6],d=p[5],y=p[4],h=p[3],g=p[2],x=p[1],S=p[0],o=w[6],i=w[5]-m*w[6],n=w[4]-d*w[5],s=w[3]-y*w[4],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-x*w[1]):(m=p[0],d=p[1],y=p[2],h=p[3],g=p[4],x=p[5],S=p[6],o=w[0],i=w[1]-m*w[0],n=w[2]-d*w[1],s=w[3]-y*w[2],u=w[4]-h*w[3],v=w[5]-g*w[4],f=w[6]-x*w[5],l=KAr(l)),A=r.offset,t=r.data,O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<y;E++){for(b=0;b<d;b++){for(_=0;_<m;_++)e.call(a,t[A],HAr([O,j,T,q,E,b,_],l),r.ref),A+=o;A+=i}A+=n}A+=s}A+=u}A+=v}A+=f}}qD.exports=ZAr});var ED=c((Ive,SD)=>{"use strict";var QAr=qe(),r5r=re(),e5r=Kr();function a5r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k;for(m=r.shape,_=r.strides,p=QAr(m.length),r.order==="row-major"?(d=m[7],y=m[6],h=m[5],g=m[4],x=m[3],S=m[2],w=m[1],A=m[0],o=_[7],i=_[6]-d*_[7],n=_[5]-y*_[6],s=_[4]-h*_[5],u=_[3]-g*_[4],v=_[2]-x*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(d=m[0],y=m[1],h=m[2],g=m[3],x=m[4],S=m[5],w=m[6],A=m[7],o=_[0],i=_[1]-d*_[0],n=_[2]-y*_[1],s=_[3]-h*_[2],u=_[4]-g*_[3],v=_[5]-x*_[4],f=_[6]-S*_[5],l=_[7]-w*_[6],p=r5r(p)),b=r.offset,t=r.data,k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<y;q++){for(E=0;E<d;E++)e.call(a,t[b],e5r([k,D,I,O,j,T,q,E],p),r.ref),b+=o;b+=i}b+=n}b+=s}b+=u}b+=v}b+=f}b+=l}}SD.exports=a5r});var _D=c((Ove,AD)=>{"use strict";var t5r=qe(),i5r=re(),o5r=Kr();function n5r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R;for(d=r.shape,E=r.strides,m=t5r(d.length),r.order==="row-major"?(y=d[8],h=d[7],g=d[6],x=d[5],S=d[4],w=d[3],A=d[2],_=d[1],b=d[0],o=E[8],i=E[7]-y*E[8],n=E[6]-h*E[7],s=E[5]-g*E[6],u=E[4]-x*E[5],v=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],p=E[0]-_*E[1]):(y=d[0],h=d[1],g=d[2],x=d[3],S=d[4],w=d[5],A=d[6],_=d[7],b=d[8],o=E[0],i=E[1]-y*E[0],n=E[2]-h*E[1],s=E[3]-g*E[2],u=E[4]-x*E[3],v=E[5]-S*E[4],f=E[6]-w*E[5],l=E[7]-A*E[6],p=E[8]-_*E[7],m=i5r(m)),q=r.offset,t=r.data,R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<x;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<y;T++)e.call(a,t[q],o5r([R,F,N,k,D,I,O,j,T],m),r.ref),q+=o;q+=i}q+=n}q+=s}q+=u}q+=v}q+=f}q+=l}q+=p}}AD.exports=n5r});var jD=c((Nve,TD)=>{"use strict";var s5r=qe(),u5r=re(),v5r=Kr();function f5r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z;for(y=r.shape,T=r.strides,d=s5r(y.length),r.order==="row-major"?(h=y[9],g=y[8],x=y[7],S=y[6],w=y[5],A=y[4],_=y[3],b=y[2],E=y[1],q=y[0],o=T[9],i=T[8]-h*T[9],n=T[7]-g*T[8],s=T[6]-x*T[7],u=T[5]-S*T[6],v=T[4]-w*T[5],f=T[3]-A*T[4],l=T[2]-_*T[3],p=T[1]-b*T[2],m=T[0]-E*T[1]):(h=y[0],g=y[1],x=y[2],S=y[3],w=y[4],A=y[5],_=y[6],b=y[7],E=y[8],q=y[9],o=T[0],i=T[1]-h*T[0],n=T[2]-g*T[1],s=T[3]-x*T[2],u=T[4]-S*T[3],v=T[5]-w*T[4],f=T[6]-A*T[5],l=T[7]-_*T[6],p=T[8]-b*T[7],m=T[9]-E*T[8],d=u5r(d)),j=r.offset,t=r.data,z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(I=0;I<g;I++){for(O=0;O<h;O++)e.call(a,t[j],v5r([z,V,B,R,F,N,k,D,I,O],d),r.ref),j+=o;j+=i}j+=n}j+=s}j+=u}j+=v}j+=f}j+=l}j+=p}j+=m}}TD.exports=f5r});var ND=c((Dve,OD)=>{"use strict";var l5r=Jr(),c5r=na(),d5r=Ai(),ID="throw";function p5r(r,e,a){var t,o,i,n,s,u,v,f,l;for(s=r.shape,i=l5r(s),t=r.data,u=r.strides,v=r.offset,o=r.order,l=0;l<i;l++)f=c5r(s,u,v,o,l,ID),n=d5r(s,u,0,o,l,ID),e.call(a,t[f],n,r.ref)}OD.exports=p5r});var FD=c((kve,BD)=>{"use strict";var y5r=Sa(),m5r=ri(),h5r=Jr(),g5r=K7(),b5r=Z7(),x5r=rN(),q5r=aN(),w5r=iN(),S5r=nN(),E5r=uN(),A5r=fN(),_5r=cN(),T5r=pN(),j5r=mN(),I5r=gN(),O5r=xN(),N5r=wN(),D5r=EN(),k5r=_N(),B5r=jN(),F5r=ON(),R5r=DN(),V5r=BN(),z5r=RN(),C5r=zN(),L5r=LN(),P5r=UN(),U5r=GN(),M5r=$N(),G5r=JN(),Y5r=KN(),$5r=ZN(),W5r=nD(),J5r=uD(),X5r=fD(),K5r=cD(),H5r=pD(),Z5r=mD(),Q5r=gD(),r8r=xD(),e8r=wD(),a8r=ED(),t8r=_D(),i8r=jD(),o8r=ND(),Pf=[J5r,X5r,K5r,H5r,Z5r,Q5r,r8r,e8r,a8r,t8r,i8r],DD=[R5r,V5r,z5r,C5r,L5r,P5r,U5r,M5r,G5r,Y5r,$5r],n8r=[T5r,j5r,I5r,O5r,N5r,D5r,k5r,B5r,F5r],s8r=[g5r,b5r,x5r,q5r,w5r,S5r,E5r,A5r,_5r],kD=Pf.length-1;function u8r(r,e,a){var t,o,i;if(i=m5r(r[0]),o=i.shape,t=o.length,t===0)return i.accessorProtocol?DD[t](i,e,a):Pf[t](i,e,a);if(h5r(o)!==0){if(t<=kD&&y5r(i.strides)!==0)return i.accessorProtocol?DD[t](i,e,a):Pf[t](i,e,a);if(t<=kD)return i.accessorProtocol?s8r[t-2](i,e,a):n8r[t-2](i,e,a);if(i.accessorProtocol)return W5r(i,e,a);o8r(i,e,a)}}BD.exports=u8r});var VD=c((Bve,RD)=>{"use strict";var v8r=FD();RD.exports=v8r});var CD=c((Fve,zD)=>{"use strict";var f8r=tt(),l8r=bi(),c8r=gi(),d8r=Ba(),p8r=aa(),y8r=pr();function m8r(r,e,a){var t,o;if(t=d8r(e,1),t===null)throw new TypeError(y8r("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),f8r(t)?o=l8r(e):o=c8r(e),o(t,0,r),new p8r(e,t,[],[0],0,a)}zD.exports=m8r});var PD=c((Rve,LD)=>{"use strict";var h8r=CD();LD.exports=h8r});var MD=c((Vve,UD)=>{"use strict";function g8r(r,e,a){var t,o,i;for(t=r.length,o=a,i=0;i<t;i++){if(r[i]===0)return a;e[i]>0&&(o+=e[i]*(r[i]-1))}return o}UD.exports=g8r});var YD=c((zve,GD)=>{"use strict";var b8r=MD();GD.exports=b8r});var JD=c((Cve,WD)=>{"use strict";var $D=_o(),x8r=Te();function q8r(r,e){var a,t,o;if(t=e.length,a=x8r(r,!1),a.length===t){for(o=0;o<t;o++)if(a[o]!==e[o])return $D(r,e);return r}return $D(r,e)}WD.exports=q8r});var Uf=c((Lve,XD)=>{"use strict";var w8r=JD();XD.exports=w8r});var HD=c((Pve,KD)=>{"use strict";var S8r=qi(),E8r=Uf(),A8r=Te();function _8r(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(A8r(r[i],!1));if(t=S8r(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(E8r(r[i],t));return a}KD.exports=_8r});var QD=c((Uve,ZD)=>{"use strict";var T8r=HD();ZD.exports=T8r});var ek=c((Mve,rk)=>{"use strict";var Mf=Ir(),j8r=gt(),I8r=Of();function O8r(r,e,a){return Mf(a,"nargs",r.nargs),Mf(a,"nin",r.nin),Mf(a,"nout",r.nout),j8r(a,"types",t),a;function t(){return I8r(e,r.nin,r.nout)}}rk.exports=O8r});var tk=c((Gve,ak)=>{"use strict";var N8r=ek();ak.exports=N8r});var ok=c((Yve,ik)=>{"use strict";function D8r(r,e,a){var t,o,i;for(t=r.length,o=a,i=0;i<t;i++){if(r[i]===0)return a;e[i]<0&&(o+=e[i]*(r[i]-1))}return o}ik.exports=D8r});var sk=c(($ve,nk)=>{"use strict";var k8r=ok();nk.exports=k8r});var vk=c((Wve,uk)=>{"use strict";var B8r=Fa(),F8r=oe(),R8r=Ja(),V8r=_t(),z8r=Xa(),C8r=ut(),L8r=aa(),P8r=Da(),U8r=P8r("order");function M8r(r){return new L8r(B8r(r),C8r(r),F8r(r),R8r(r),V8r(r),z8r(r)||U8r)}uk.exports=M8r});var lk=c((Jve,fk)=>{"use strict";var G8r=vk();fk.exports=G8r});var Gf=c((Xve,ck)=>{"use strict";var Y8r="row-major";function $8r(r,e,a,t,o){var i,n;for(i=r-1;i>t;i--)o[i]=a[i];for(i=t;i>=0&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i--);for(i-=1;i>=0;i--)o[i]=a[i];return o}function W8r(r,e,a,t,o){var i,n;for(i=0;i<t;i++)o[i]=a[i];for(i=t;i<r&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i++);for(i+=1;i<r;i++)o[i]=a[i];return o}function J8r(r,e,a,t,o){var i=r.length;if(i===0)return null;if(t<0){if(t+=i,t<0)return null}else if(t>=i)return null;return e===Y8r?$8r(i,r,a,t,o):W8r(i,r,a,t,o)}ck.exports=J8r});var pk=c((Kve,dk)=>{"use strict";var X8r=Se(),K8r=Gf();function H8r(r,e,a,t){return K8r(r,e,a,t,X8r(r.length))}dk.exports=H8r});var He=c((Hve,mk)=>{"use strict";var Z8r=Ir(),yk=pk(),Q8r=Gf();Z8r(yk,"assign",Q8r);mk.exports=yk});var gk=c((Zve,hk)=>{"use strict";function r_r(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]!==1&&(e+=1);return e}hk.exports=r_r});var xk=c((Qve,bk)=>{"use strict";var e_r=gk();bk.exports=e_r});var wk=c((rfe,qk)=>{"use strict";var a_r=Zr(),t_r=Qr();function i_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x;for(x=a_r(r.shape,r.strides),u=x.sh,l=x.sx,a=t_r(r.dtype),p=r.offset,t=r.data,i=l[0],o=r.accessors[1],g=u[1];g>0;)for(g<a?(f=g,g=0):(f=a,g-=a),s=p+g*l[1],h=u[0];h>0;)for(h<a?(v=h,h=0):(v=a,h-=a),m=s+h*l[0],n=l[1]-v*l[0],y=0;y<f;y++){for(d=0;d<v;d++)o(t,m,e()),m+=i;m+=n}}qk.exports=i_r});var Ek=c((efe,Sk)=>{"use strict";var o_r=Zr(),n_r=Qr();function s_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b;for(b=o_r(r.shape,r.strides),f=b.sh,d=b.sx,a=n_r(r.dtype),y=r.offset,t=r.data,i=d[0],o=r.accessors[1],_=f[2];_>0;)for(_<a?(m=_,_=0):(m=a,_-=a),v=y+_*d[2],A=f[1];A>0;)for(A<a?(p=A,A=0):(p=a,A-=a),s=d[2]-p*d[1],u=v+A*d[1],w=f[0];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),h=u+w*d[0],n=d[1]-l*d[0],S=0;S<m;S++){for(x=0;x<p;x++){for(g=0;g<l;g++)o(t,h,e()),h+=i;h+=n}h+=s}}Sk.exports=s_r});var _k=c((afe,Ak)=>{"use strict";var u_r=Zr(),v_r=Qr();function f_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O;for(O=u_r(r.shape,r.strides),p=O.sh,g=O.sx,a=v_r(r.dtype),x=r.offset,t=r.data,i=g[0],o=r.accessors[1],j=p[3];j>0;)for(j<a?(h=j,j=0):(h=a,j-=a),l=x+j*g[3],T=p[2];T>0;)for(T<a?(y=T,T=0):(y=a,T-=a),u=g[3]-y*g[2],f=l+T*g[2],q=p[1];q>0;)for(q<a?(d=q,q=0):(d=a,q-=a),s=g[2]-d*g[1],v=f+q*g[1],E=p[0];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),S=v+E*g[0],n=g[1]-m*g[0],b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<m;w++)o(t,S,e()),S+=i;S+=n}S+=s}S+=u}}Ak.exports=f_r});var jk=c((tfe,Tk)=>{"use strict";var l_r=Zr(),c_r=Qr();function d_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F;for(F=l_r(r.shape,r.strides),d=F.sh,w=F.sx,a=c_r(r.dtype),A=r.offset,t=r.data,i=w[0],o=r.accessors[1],N=d[4];N>0;)for(N<a?(S=N,N=0):(S=a,N-=a),m=A+N*w[4],k=d[3];k>0;)for(k<a?(x=k,k=0):(x=a,k-=a),v=w[4]-x*w[3],p=m+k*w[3],D=d[2];D>0;)for(D<a?(g=D,D=0):(g=a,D-=a),u=w[3]-g*w[2],l=p+D*w[2],I=d[1];I>0;)for(I<a?(h=I,I=0):(h=a,I-=a),s=w[2]-h*w[1],f=l+I*w[1],O=d[0];O>0;)for(O<a?(y=O,O=0):(y=a,O-=a),_=f+O*w[0],n=w[1]-y*w[0],j=0;j<S;j++){for(T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++)o(t,_,e()),_+=i;_+=n}_+=s}_+=u}_+=v}}Tk.exports=d_r});var Ok=c((ife,Ik)=>{"use strict";var p_r=Zr(),y_r=Qr();function m_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(C=p_r(r.shape,r.strides),h=C.sh,b=C.sx,a=y_r(r.dtype),E=r.offset,t=r.data,i=b[0],o=r.accessors[1],z=h[5];z>0;)for(z<a?(_=z,z=0):(_=a,z-=a),y=E+z*b[5],V=h[4];V>0;)for(V<a?(A=V,V=0):(A=a,V-=a),f=b[5]-A*b[4],d=y+V*b[4],B=h[3];B>0;)for(B<a?(w=B,B=0):(w=a,B-=a),v=b[4]-w*b[3],m=d+B*b[3],R=h[2];R>0;)for(R<a?(S=R,R=0):(S=a,R-=a),u=b[3]-S*b[2],p=m+R*b[2],F=h[1];F>0;)for(F<a?(x=F,F=0):(x=a,F-=a),s=b[2]-x*b[1],l=p+F*b[1],N=h[0];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),q=l+N*b[0],n=b[1]-g*b[0],k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++)o(t,q,e()),q+=i;q+=n}q+=s}q+=u}q+=v}q+=f}}Ik.exports=m_r});var Dk=c((ofe,Nk)=>{"use strict";var h_r=Zr(),g_r=Qr();function b_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G;for(G=h_r(r.shape,r.strides),x=G.sh,T=G.sx,a=g_r(r.dtype),j=r.offset,t=r.data,i=T[0],o=r.accessors[1],M=x[6];M>0;)for(M<a?(q=M,M=0):(q=a,M-=a),g=j+M*T[6],U=x[5];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),l=T[6]-E*T[5],h=g+U*T[5],P=x[4];P>0;)for(P<a?(b=P,P=0):(b=a,P-=a),f=T[5]-b*T[4],y=h+P*T[4],L=x[3];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),v=T[4]-_*T[3],d=y+L*T[3],C=x[2];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),u=T[3]-A*T[2],m=d+C*T[2],z=x[1];z>0;)for(z<a?(w=z,z=0):(w=a,z-=a),s=T[2]-w*T[1],p=m+z*T[1],V=x[0];V>0;)for(V<a?(S=V,V=0):(S=a,V-=a),O=p+V*T[0],n=T[1]-S*T[0],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++)o(t,O,e()),O+=i;O+=n}O+=s}O+=u}O+=v}O+=f}O+=l}}Nk.exports=b_r});var Bk=c((nfe,kk)=>{"use strict";var x_r=Zr(),q_r=Qr();function w_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X;for(X=x_r(r.shape,r.strides),w=X.sh,I=X.sx,a=q_r(r.dtype),D=r.offset,t=r.data,i=I[0],o=r.accessors[1],J=w[7];J>0;)for(J<a?(O=J,J=0):(O=a,J-=a),S=D+J*I[7],W=w[6];W>0;)for(W<a?(j=W,W=0):(j=a,W-=a),p=I[7]-j*I[6],x=S+W*I[6],Y=w[5];Y>0;)for(Y<a?(T=Y,Y=0):(T=a,Y-=a),l=I[6]-T*I[5],g=x+Y*I[5],$=w[4];$>0;)for($<a?(q=$,$=0):(q=a,$-=a),f=I[5]-q*I[4],h=g+$*I[4],G=w[3];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),v=I[4]-E*I[3],y=h+G*I[3],M=w[2];M>0;)for(M<a?(b=M,M=0):(b=a,M-=a),u=I[3]-b*I[2],d=y+M*I[2],U=w[1];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),s=I[2]-_*I[1],m=d+U*I[1],P=w[0];P>0;)for(P<a?(A=P,P=0):(A=a,P-=a),k=m+P*I[0],n=I[1]-A*I[0],L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++)o(t,k,e()),k+=i;k+=n}k+=s}k+=u}k+=v}k+=f}k+=l}k+=p}}kk.exports=w_r});var Rk=c((sfe,Fk)=>{"use strict";var S_r=Zr(),E_r=Qr();function A_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(rr=S_r(r.shape,r.strides),_=rr.sh,N=rr.sx,a=E_r(r.dtype),F=r.offset,t=r.data,i=N[0],o=r.accessors[1],Z=_[8];Z>0;)for(Z<a?(k=Z,Z=0):(k=a,Z-=a),A=F+Z*N[8],Q=_[7];Q>0;)for(Q<a?(D=Q,Q=0):(D=a,Q-=a),m=N[8]-D*N[7],w=A+Q*N[7],H=_[6];H>0;)for(H<a?(I=H,H=0):(I=a,H-=a),p=N[7]-I*N[6],S=w+H*N[6],K=_[5];K>0;)for(K<a?(O=K,K=0):(O=a,K-=a),l=N[6]-O*N[5],x=S+K*N[5],X=_[4];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),f=N[5]-j*N[4],g=x+X*N[4],J=_[3];J>0;)for(J<a?(T=J,J=0):(T=a,J-=a),v=N[4]-T*N[3],h=g+J*N[3],W=_[2];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),u=N[3]-q*N[2],y=h+W*N[2],Y=_[1];Y>0;)for(Y<a?(E=Y,Y=0):(E=a,Y-=a),s=N[2]-E*N[1],d=y+Y*N[1],$=_[0];$>0;)for($<a?(b=$,$=0):(b=a,$-=a),R=d+$*N[0],n=N[1]-b*N[0],G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++)o(t,R,e()),R+=i;R+=n}R+=s}R+=u}R+=v}R+=f}R+=l}R+=p}R+=m}}Fk.exports=A_r});var zk=c((ufe,Vk)=>{"use strict";var __r=Zr(),T_r=Qr();function j_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or;for(or=__r(r.shape,r.strides),E=or.sh,B=or.sx,a=T_r(r.dtype),V=r.offset,t=r.data,i=B[0],o=r.accessors[1],tr=E[9];tr>0;)for(tr<a?(R=tr,tr=0):(R=a,tr-=a),b=V+tr*B[9],ir=E[8];ir>0;)for(ir<a?(F=ir,ir=0):(F=a,ir-=a),d=B[9]-F*B[8],_=b+ir*B[8],er=E[7];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),m=B[8]-N*B[7],A=_+er*B[7],ar=E[6];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),p=B[7]-k*B[6],w=A+ar*B[6],rr=E[5];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),l=B[6]-D*B[5],S=w+rr*B[5],Z=E[4];Z>0;)for(Z<a?(I=Z,Z=0):(I=a,Z-=a),f=B[5]-I*B[4],x=S+Z*B[4],Q=E[3];Q>0;)for(Q<a?(O=Q,Q=0):(O=a,Q-=a),v=B[4]-O*B[3],g=x+Q*B[3],H=E[2];H>0;)for(H<a?(j=H,H=0):(j=a,H-=a),u=B[3]-j*B[2],h=g+H*B[2],K=E[1];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),s=B[2]-T*B[1],y=h+K*B[1],X=E[0];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),z=y+X*B[0],n=B[1]-q*B[0],J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++){for(C=0;C<q;C++)o(t,z,e()),z+=i;z+=n}z+=s}z+=u}z+=v}z+=f}z+=l}z+=p}z+=m}z+=d}}Vk.exports=j_r});var Lk=c((vfe,Ck)=>{"use strict";var I_r=Zr(),O_r=Qr();function N_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;for(g=I_r(r.shape,r.strides),s=g.sh,f=g.sx,a=O_r(r.dtype),l=r.offset,t=r.data,o=f[0],h=s[1];h>0;)for(h<a?(v=h,h=0):(v=a,h-=a),n=l+h*f[1],y=s[0];y>0;)for(y<a?(u=y,y=0):(u=a,y-=a),p=n+y*f[0],i=f[1]-u*f[0],d=0;d<v;d++){for(m=0;m<u;m++)t[p]=e(),p+=o;p+=i}}Ck.exports=N_r});var Uk=c((ffe,Pk)=>{"use strict";var D_r=Zr(),k_r=Qr();function B_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_;for(_=D_r(r.shape,r.strides),v=_.sh,m=_.sx,a=k_r(r.dtype),d=r.offset,t=r.data,o=m[0],A=v[2];A>0;)for(A<a?(p=A,A=0):(p=a,A-=a),u=d+A*m[2],w=v[1];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),n=m[2]-l*m[1],s=u+w*m[1],S=v[0];S>0;)for(S<a?(f=S,S=0):(f=a,S-=a),y=s+S*m[0],i=m[1]-f*m[0],x=0;x<p;x++){for(g=0;g<l;g++){for(h=0;h<f;h++)t[y]=e(),y+=o;y+=i}y+=n}}Pk.exports=B_r});var Gk=c((lfe,Mk)=>{"use strict";var F_r=Zr(),R_r=Qr();function V_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j;for(j=F_r(r.shape,r.strides),l=j.sh,h=j.sx,a=R_r(r.dtype),g=r.offset,t=r.data,o=h[0],T=l[3];T>0;)for(T<a?(y=T,T=0):(y=a,T-=a),f=g+T*h[3],q=l[2];q>0;)for(q<a?(d=q,q=0):(d=a,q-=a),s=h[3]-d*h[2],v=f+q*h[2],E=l[1];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),n=h[2]-m*h[1],u=v+E*h[1],b=l[0];b>0;)for(b<a?(p=b,b=0):(p=a,b-=a),x=u+b*h[0],i=h[1]-p*h[0],_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<m;w++){for(S=0;S<p;S++)t[x]=e(),x+=o;x+=i}x+=n}x+=s}}Mk.exports=V_r});var $k=c((cfe,Yk)=>{"use strict";var z_r=Zr(),C_r=Qr();function L_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N;for(N=z_r(r.shape,r.strides),m=N.sh,S=N.sx,a=C_r(r.dtype),w=r.offset,t=r.data,o=S[0],k=m[4];k>0;)for(k<a?(x=k,k=0):(x=a,k-=a),p=w+k*S[4],D=m[3];D>0;)for(D<a?(g=D,D=0):(g=a,D-=a),u=S[4]-g*S[3],l=p+D*S[3],I=m[2];I>0;)for(I<a?(h=I,I=0):(h=a,I-=a),s=S[3]-h*S[2],f=l+I*S[2],O=m[1];O>0;)for(O<a?(y=O,O=0):(y=a,O-=a),n=S[2]-y*S[1],v=f+O*S[1],j=m[0];j>0;)for(j<a?(d=j,j=0):(d=a,j-=a),A=v+j*S[0],i=S[1]-d*S[0],T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++)t[A]=e(),A+=o;A+=i}A+=n}A+=s}A+=u}}Yk.exports=L_r});var Jk=c((dfe,Wk)=>{"use strict";var P_r=Zr(),U_r=Qr();function M_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z;for(z=P_r(r.shape,r.strides),y=z.sh,_=z.sx,a=U_r(r.dtype),b=r.offset,t=r.data,o=_[0],V=y[5];V>0;)for(V<a?(A=V,V=0):(A=a,V-=a),d=b+V*_[5],B=y[4];B>0;)for(B<a?(w=B,B=0):(w=a,B-=a),v=_[5]-w*_[4],m=d+B*_[4],R=y[3];R>0;)for(R<a?(S=R,R=0):(S=a,R-=a),u=_[4]-S*_[3],p=m+R*_[3],F=y[2];F>0;)for(F<a?(x=F,F=0):(x=a,F-=a),s=_[3]-x*_[2],l=p+F*_[2],N=y[1];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),n=_[2]-g*_[1],f=l+N*_[1],k=y[0];k>0;)for(k<a?(h=k,k=0):(h=a,k-=a),E=f+k*_[0],i=_[1]-h*_[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)t[E]=e(),E+=o;E+=i}E+=n}E+=s}E+=u}E+=v}}Wk.exports=M_r});var Kk=c((pfe,Xk)=>{"use strict";var G_r=Zr(),Y_r=Qr();function $_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M;for(M=G_r(r.shape,r.strides),g=M.sh,q=M.sx,a=Y_r(r.dtype),T=r.offset,t=r.data,o=q[0],U=g[6];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),h=T+U*q[6],P=g[5];P>0;)for(P<a?(b=P,P=0):(b=a,P-=a),f=q[6]-b*q[5],y=h+P*q[5],L=g[4];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),v=q[5]-_*q[4],d=y+L*q[4],C=g[3];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),u=q[4]-A*q[3],m=d+C*q[3],z=g[2];z>0;)for(z<a?(w=z,z=0):(w=a,z-=a),s=q[3]-w*q[2],p=m+z*q[2],V=g[1];V>0;)for(V<a?(S=V,V=0):(S=a,V-=a),n=q[2]-S*q[1],l=p+V*q[1],B=g[0];B>0;)for(B<a?(x=B,B=0):(x=a,B-=a),j=l+B*q[0],i=q[1]-x*q[0],R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++)t[j]=e(),j+=o;j+=i}j+=n}j+=s}j+=u}j+=v}j+=f}}Xk.exports=$_r});var Zk=c((yfe,Hk)=>{"use strict";var W_r=Zr(),J_r=Qr();function X_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J;for(J=W_r(r.shape,r.strides),S=J.sh,O=J.sx,a=J_r(r.dtype),I=r.offset,t=r.data,o=O[0],W=S[7];W>0;)for(W<a?(j=W,W=0):(j=a,W-=a),x=I+W*O[7],Y=S[6];Y>0;)for(Y<a?(T=Y,Y=0):(T=a,Y-=a),l=O[7]-T*O[6],g=x+Y*O[6],$=S[5];$>0;)for($<a?(q=$,$=0):(q=a,$-=a),f=O[6]-q*O[5],h=g+$*O[5],G=S[4];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),v=O[5]-E*O[4],y=h+G*O[4],M=S[3];M>0;)for(M<a?(b=M,M=0):(b=a,M-=a),u=O[4]-b*O[3],d=y+M*O[3],U=S[2];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),s=O[3]-_*O[2],m=d+U*O[2],P=S[1];P>0;)for(P<a?(A=P,P=0):(A=a,P-=a),n=O[2]-A*O[1],p=m+P*O[1],L=S[0];L>0;)for(L<a?(w=L,L=0):(w=a,L-=a),D=p+L*O[0],i=O[1]-w*O[0],C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++)t[D]=e(),D+=o;D+=i}D+=n}D+=s}D+=u}D+=v}D+=f}D+=l}}Hk.exports=X_r});var rB=c((mfe,Qk)=>{"use strict";var K_r=Zr(),H_r=Qr();function Z_r(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z;for(Z=K_r(r.shape,r.strides),A=Z.sh,k=Z.sx,a=H_r(r.dtype),N=r.offset,t=r.data,o=k[0],Q=A[8];Q>0;)for(Q<a?(D=Q,Q=0):(D=a,Q-=a),w=N+Q*k[8],H=A[7];H>0;)for(H<a?(I=H,H=0):(I=a,H-=a),p=k[8]-I*k[7],S=w+H*k[7],K=A[6];K>0;)for(K<a?(O=K,K=0):(O=a,K-=a),l=k[7]-O*k[6],x=S+K*k[6],X=A[5];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),f=k[6]-j*k[5],g=x+X*k[5],J=A[4];J>0;)for(J<a?(T=J,J=0):(T=a,J-=a),v=k[5]-T*k[4],h=g+J*k[4],W=A[3];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),u=k[4]-q*k[3],y=h+W*k[3],Y=A[2];Y>0;)for(Y<a?(E=Y,Y=0):(E=a,Y-=a),s=k[3]-E*k[2],d=y+Y*k[2],$=A[1];$>0;)for($<a?(b=$,$=0):(b=a,$-=a),n=k[2]-b*k[1],m=d+$*k[1],G=A[0];G>0;)for(G<a?(_=G,G=0):(_=a,G-=a),F=m+G*k[0],i=k[1]-_*k[0],M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++)t[F]=e(),F+=o;F+=i}F+=n}F+=s}F+=u}F+=v}F+=f}F+=l}F+=p}}Qk.exports=Z_r});var aB=c((hfe,eB)=>{"use strict";var Q_r=Zr(),rTr=Qr();function eTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(tr=Q_r(r.shape,r.strides),b=tr.sh,R=tr.sx,a=rTr(r.dtype),B=r.offset,t=r.data,o=R[0],ir=b[9];ir>0;)for(ir<a?(F=ir,ir=0):(F=a,ir-=a),_=B+ir*R[9],er=b[8];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),m=R[9]-N*R[8],A=_+er*R[8],ar=b[7];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),p=R[8]-k*R[7],w=A+ar*R[7],rr=b[6];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),l=R[7]-D*R[6],S=w+rr*R[6],Z=b[5];Z>0;)for(Z<a?(I=Z,Z=0):(I=a,Z-=a),f=R[6]-I*R[5],x=S+Z*R[5],Q=b[4];Q>0;)for(Q<a?(O=Q,Q=0):(O=a,Q-=a),v=R[5]-O*R[4],g=x+Q*R[4],H=b[3];H>0;)for(H<a?(j=H,H=0):(j=a,H-=a),u=R[4]-j*R[3],h=g+H*R[3],K=b[2];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),s=R[3]-T*R[2],y=h+K*R[2],X=b[1];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),n=R[2]-q*R[1],d=y+X*R[1],J=b[0];J>0;)for(J<a?(E=J,J=0):(E=a,J-=a),V=d+J*R[0],i=R[1]-E*R[0],W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++){for(C=0;C<q;C++){for(z=0;z<E;z++)t[V]=e(),V+=o;V+=i}V+=n}V+=s}V+=u}V+=v}V+=f}V+=l}V+=p}V+=m}}eB.exports=eTr});var iB=c((gfe,tB)=>{"use strict";function aTr(r,e){r.accessors[1](r.data,r.offset,e())}tB.exports=aTr});var nB=c((bfe,oB)=>{"use strict";function tTr(r,e){var a,t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,a=r.data,t=r.accessors[1],s=0;s<i;s++)t(a,n,e()),n+=o}oB.exports=tTr});var uB=c((xfe,sB)=>{"use strict";function iTr(r,e){var a,t,o,i,n,s,u,v,f,l,p;for(n=r.shape,v=r.strides,r.order==="row-major"?(s=n[1],u=n[0],o=v[1],i=v[0]-s*v[1]):(s=n[0],u=n[1],o=v[0],i=v[1]-s*v[0]),f=r.offset,a=r.data,t=r.accessors[1],p=0;p<u;p++){for(l=0;l<s;l++)t(a,f,e()),f+=o;f+=i}}sB.exports=iTr});var fB=c((qfe,vB)=>{"use strict";function oTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y;for(s=r.shape,l=r.strides,r.order==="row-major"?(u=s[2],v=s[1],f=s[0],o=l[2],i=l[1]-u*l[2],n=l[0]-v*l[1]):(u=s[0],v=s[1],f=s[2],o=l[0],i=l[1]-u*l[0],n=l[2]-v*l[1]),p=r.offset,a=r.data,t=r.accessors[1],y=0;y<f;y++){for(d=0;d<v;d++){for(m=0;m<u;m++)t(a,p,e()),p+=o;p+=i}p+=n}}vB.exports=oTr});var cB=c((wfe,lB)=>{"use strict";function nTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x;for(u=r.shape,m=r.strides,r.order==="row-major"?(v=u[3],f=u[2],l=u[1],p=u[0],o=m[3],i=m[2]-v*m[3],n=m[1]-f*m[2],s=m[0]-l*m[1]):(v=u[0],f=u[1],l=u[2],p=u[3],o=m[0],i=m[1]-v*m[0],n=m[2]-f*m[1],s=m[3]-l*m[2]),d=r.offset,a=r.data,t=r.accessors[1],x=0;x<p;x++){for(g=0;g<l;g++){for(h=0;h<f;h++){for(y=0;y<v;y++)t(a,d,e()),d+=o;d+=i}d+=n}d+=s}}lB.exports=nTr});var pB=c((Sfe,dB)=>{"use strict";function sTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A;for(v=r.shape,y=r.strides,r.order==="row-major"?(f=v[4],l=v[3],p=v[2],m=v[1],d=v[0],o=y[4],i=y[3]-f*y[4],n=y[2]-l*y[3],s=y[1]-p*y[2],u=y[0]-m*y[1]):(f=v[0],l=v[1],p=v[2],m=v[3],d=v[4],o=y[0],i=y[1]-f*y[0],n=y[2]-l*y[1],s=y[3]-p*y[2],u=y[4]-m*y[3]),h=r.offset,a=r.data,t=r.accessors[1],A=0;A<d;A++){for(w=0;w<m;w++){for(S=0;S<p;S++){for(x=0;x<l;x++){for(g=0;g<f;g++)t(a,h,e()),h+=o;h+=i}h+=n}h+=s}h+=u}}dB.exports=sTr});var mB=c((Efe,yB)=>{"use strict";function uTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E;for(f=r.shape,g=r.strides,r.order==="row-major"?(l=f[5],p=f[4],m=f[3],d=f[2],y=f[1],h=f[0],o=g[5],i=g[4]-l*g[5],n=g[3]-p*g[4],s=g[2]-m*g[3],u=g[1]-d*g[2],v=g[0]-y*g[1]):(l=f[0],p=f[1],m=f[2],d=f[3],y=f[4],h=f[5],o=g[0],i=g[1]-l*g[0],n=g[2]-p*g[1],s=g[3]-m*g[2],u=g[4]-d*g[3],v=g[5]-y*g[4]),x=r.offset,a=r.data,t=r.accessors[1],E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++){for(A=0;A<m;A++){for(w=0;w<p;w++){for(S=0;S<l;S++)t(a,x,e()),x+=o;x+=i}x+=n}x+=s}x+=u}x+=v}}yB.exports=uTr});var gB=c((Afe,hB)=>{"use strict";function vTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j;for(l=r.shape,S=r.strides,r.order==="row-major"?(p=l[6],m=l[5],d=l[4],y=l[3],h=l[2],g=l[1],x=l[0],o=S[6],i=S[5]-p*S[6],n=S[4]-m*S[5],s=S[3]-d*S[4],u=S[2]-y*S[3],v=S[1]-h*S[2],f=S[0]-g*S[1]):(p=l[0],m=l[1],d=l[2],y=l[3],h=l[4],g=l[5],x=l[6],o=S[0],i=S[1]-p*S[0],n=S[2]-m*S[1],s=S[3]-d*S[2],u=S[4]-y*S[3],v=S[5]-h*S[4],f=S[6]-g*S[5]),w=r.offset,a=r.data,t=r.accessors[1],j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<y;E++){for(b=0;b<d;b++){for(_=0;_<m;_++){for(A=0;A<p;A++)t(a,w,e()),w+=o;w+=i}w+=n}w+=s}w+=u}w+=v}w+=f}}hB.exports=vTr});var xB=c((_fe,bB)=>{"use strict";function fTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D;for(p=r.shape,A=r.strides,r.order==="row-major"?(m=p[7],d=p[6],y=p[5],h=p[4],g=p[3],x=p[2],S=p[1],w=p[0],o=A[7],i=A[6]-m*A[7],n=A[5]-d*A[6],s=A[4]-y*A[5],u=A[3]-h*A[4],v=A[2]-g*A[3],f=A[1]-x*A[2],l=A[0]-S*A[1]):(m=p[0],d=p[1],y=p[2],h=p[3],g=p[4],x=p[5],S=p[6],w=p[7],o=A[0],i=A[1]-m*A[0],n=A[2]-d*A[1],s=A[3]-y*A[2],u=A[4]-h*A[3],v=A[5]-g*A[4],f=A[6]-x*A[5],l=A[7]-S*A[6]),_=r.offset,a=r.data,t=r.accessors[1],D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<y;q++){for(E=0;E<d;E++){for(b=0;b<m;b++)t(a,_,e()),_+=o;_+=i}_+=n}_+=s}_+=u}_+=v}_+=f}_+=l}}bB.exports=fTr});var wB=c((Tfe,qB)=>{"use strict";function lTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F;for(m=r.shape,b=r.strides,r.order==="row-major"?(d=m[8],y=m[7],h=m[6],g=m[5],x=m[4],S=m[3],w=m[2],A=m[1],_=m[0],o=b[8],i=b[7]-d*b[8],n=b[6]-y*b[7],s=b[5]-h*b[6],u=b[4]-g*b[5],v=b[3]-x*b[4],f=b[2]-S*b[3],l=b[1]-w*b[2],p=b[0]-A*b[1]):(d=m[0],y=m[1],h=m[2],g=m[3],x=m[4],S=m[5],w=m[6],A=m[7],_=m[8],o=b[0],i=b[1]-d*b[0],n=b[2]-y*b[1],s=b[3]-h*b[2],u=b[4]-g*b[3],v=b[5]-x*b[4],f=b[6]-S*b[5],l=b[7]-w*b[6],p=b[8]-A*b[7]),E=r.offset,a=r.data,t=r.accessors[1],F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<x;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<y;T++){for(q=0;q<d;q++)t(a,E,e()),E+=o;E+=i}E+=n}E+=s}E+=u}E+=v}E+=f}E+=l}E+=p}}qB.exports=lTr});var EB=c((jfe,SB)=>{"use strict";function cTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V;for(d=r.shape,q=r.strides,r.order==="row-major"?(y=d[9],h=d[8],g=d[7],x=d[6],S=d[5],w=d[4],A=d[3],_=d[2],b=d[1],E=d[0],o=q[9],i=q[8]-y*q[9],n=q[7]-h*q[8],s=q[6]-g*q[7],u=q[5]-x*q[6],v=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],p=q[1]-_*q[2],m=q[0]-b*q[1]):(y=d[0],h=d[1],g=d[2],x=d[3],S=d[4],w=d[5],A=d[6],_=d[7],b=d[8],E=d[9],o=q[0],i=q[1]-y*q[0],n=q[2]-h*q[1],s=q[3]-g*q[2],u=q[4]-x*q[3],v=q[5]-S*q[4],f=q[6]-w*q[5],l=q[7]-A*q[6],p=q[8]-_*q[7],m=q[9]-b*q[8]),T=r.offset,a=r.data,t=r.accessors[1],V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(I=0;I<g;I++){for(O=0;O<h;O++){for(j=0;j<y;j++)t(a,T,e()),T+=o;T+=i}T+=n}T+=s}T+=u}T+=v}T+=f}T+=l}T+=p}T+=m}}SB.exports=cTr});var _B=c((Ife,AB)=>{"use strict";var dTr=Jr(),pTr=na(),yTr="throw";function mTr(r,e){var a,t,o,i,n,s,u,v,f;for(n=r.shape,o=dTr(n),a=r.data,s=r.strides,u=r.offset,t=r.order,i=r.accessors[1],f=0;f<o;f++)v=pTr(n,s,u,t,f,yTr),i(a,v,e())}AB.exports=mTr});var jB=c((Ofe,TB)=>{"use strict";function hTr(r,e){r.data[r.offset]=e()}TB.exports=hTr});var OB=c((Nfe,IB)=>{"use strict";function gTr(r,e){var a,t,o,i,n;for(o=r.shape[0],t=r.strides[0],i=r.offset,a=r.data,n=0;n<o;n++)a[i]=e(),i+=t}IB.exports=gTr});var DB=c((Dfe,NB)=>{"use strict";function bTr(r,e){var a,t,o,i,n,s,u,v,f,l;for(i=r.shape,u=r.strides,r.order==="row-major"?(n=i[1],s=i[0],t=u[1],o=u[0]-n*u[1]):(n=i[0],s=i[1],t=u[0],o=u[1]-n*u[0]),v=r.offset,a=r.data,l=0;l<s;l++){for(f=0;f<n;f++)a[v]=e(),v+=t;v+=o}}NB.exports=bTr});var BB=c((kfe,kB)=>{"use strict";function xTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d;for(n=r.shape,f=r.strides,r.order==="row-major"?(s=n[2],u=n[1],v=n[0],t=f[2],o=f[1]-s*f[2],i=f[0]-u*f[1]):(s=n[0],u=n[1],v=n[2],t=f[0],o=f[1]-s*f[0],i=f[2]-u*f[1]),l=r.offset,a=r.data,d=0;d<v;d++){for(m=0;m<u;m++){for(p=0;p<s;p++)a[l]=e(),l+=t;l+=o}l+=i}}kB.exports=xTr});var RB=c((Bfe,FB)=>{"use strict";function qTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;for(s=r.shape,p=r.strides,r.order==="row-major"?(u=s[3],v=s[2],f=s[1],l=s[0],t=p[3],o=p[2]-u*p[3],i=p[1]-v*p[2],n=p[0]-f*p[1]):(u=s[0],v=s[1],f=s[2],l=s[3],t=p[0],o=p[1]-u*p[0],i=p[2]-v*p[1],n=p[3]-f*p[2]),m=r.offset,a=r.data,g=0;g<l;g++){for(h=0;h<f;h++){for(y=0;y<v;y++){for(d=0;d<u;d++)a[m]=e(),m+=t;m+=o}m+=i}m+=n}}FB.exports=qTr});var zB=c((Ffe,VB)=>{"use strict";function wTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;for(u=r.shape,d=r.strides,r.order==="row-major"?(v=u[4],f=u[3],l=u[2],p=u[1],m=u[0],t=d[4],o=d[3]-v*d[4],i=d[2]-f*d[3],n=d[1]-l*d[2],s=d[0]-p*d[1]):(v=u[0],f=u[1],l=u[2],p=u[3],m=u[4],t=d[0],o=d[1]-v*d[0],i=d[2]-f*d[1],n=d[3]-l*d[2],s=d[4]-p*d[3]),y=r.offset,a=r.data,w=0;w<m;w++){for(S=0;S<p;S++){for(x=0;x<l;x++){for(g=0;g<f;g++){for(h=0;h<v;h++)a[y]=e(),y+=t;y+=o}y+=i}y+=n}y+=s}}VB.exports=wTr});var LB=c((Rfe,CB)=>{"use strict";function STr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b;for(v=r.shape,h=r.strides,r.order==="row-major"?(f=v[5],l=v[4],p=v[3],m=v[2],d=v[1],y=v[0],t=h[5],o=h[4]-f*h[5],i=h[3]-l*h[4],n=h[2]-p*h[3],s=h[1]-m*h[2],u=h[0]-d*h[1]):(f=v[0],l=v[1],p=v[2],m=v[3],d=v[4],y=v[5],t=h[0],o=h[1]-f*h[0],i=h[2]-l*h[1],n=h[3]-p*h[2],s=h[4]-m*h[3],u=h[5]-d*h[4]),g=r.offset,a=r.data,b=0;b<y;b++){for(_=0;_<d;_++){for(A=0;A<m;A++){for(w=0;w<p;w++){for(S=0;S<l;S++){for(x=0;x<f;x++)a[g]=e(),g+=t;g+=o}g+=i}g+=n}g+=s}g+=u}}CB.exports=STr});var UB=c((Vfe,PB)=>{"use strict";function ETr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T;for(f=r.shape,x=r.strides,r.order==="row-major"?(l=f[6],p=f[5],m=f[4],d=f[3],y=f[2],h=f[1],g=f[0],t=x[6],o=x[5]-l*x[6],i=x[4]-p*x[5],n=x[3]-m*x[4],s=x[2]-d*x[3],u=x[1]-y*x[2],v=x[0]-h*x[1]):(l=f[0],p=f[1],m=f[2],d=f[3],y=f[4],h=f[5],g=f[6],t=x[0],o=x[1]-l*x[0],i=x[2]-p*x[1],n=x[3]-m*x[2],s=x[4]-d*x[3],u=x[5]-y*x[4],v=x[6]-h*x[5]),S=r.offset,a=r.data,T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<y;E++){for(b=0;b<d;b++){for(_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<l;w++)a[S]=e(),S+=t;S+=o}S+=i}S+=n}S+=s}S+=u}S+=v}}PB.exports=ETr});var GB=c((zfe,MB)=>{"use strict";function ATr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(l=r.shape,w=r.strides,r.order==="row-major"?(p=l[7],m=l[6],d=l[5],y=l[4],h=l[3],g=l[2],x=l[1],S=l[0],t=w[7],o=w[6]-p*w[7],i=w[5]-m*w[6],n=w[4]-d*w[5],s=w[3]-y*w[4],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-x*w[1]):(p=l[0],m=l[1],d=l[2],y=l[3],h=l[4],g=l[5],x=l[6],S=l[7],t=w[0],o=w[1]-p*w[0],i=w[2]-m*w[1],n=w[3]-d*w[2],s=w[4]-y*w[3],u=w[5]-h*w[4],v=w[6]-g*w[5],f=w[7]-x*w[6]),A=r.offset,a=r.data,I=0;I<S;I++){for(O=0;O<x;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<y;q++){for(E=0;E<d;E++){for(b=0;b<m;b++){for(_=0;_<p;_++)a[A]=e(),A+=t;A+=o}A+=i}A+=n}A+=s}A+=u}A+=v}A+=f}}MB.exports=ATr});var $B=c((Cfe,YB)=>{"use strict";function _Tr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N;for(p=r.shape,_=r.strides,r.order==="row-major"?(m=p[8],d=p[7],y=p[6],h=p[5],g=p[4],x=p[3],S=p[2],w=p[1],A=p[0],t=_[8],o=_[7]-m*_[8],i=_[6]-d*_[7],n=_[5]-y*_[6],s=_[4]-h*_[5],u=_[3]-g*_[4],v=_[2]-x*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(m=p[0],d=p[1],y=p[2],h=p[3],g=p[4],x=p[5],S=p[6],w=p[7],A=p[8],t=_[0],o=_[1]-m*_[0],i=_[2]-d*_[1],n=_[3]-y*_[2],s=_[4]-h*_[3],u=_[5]-g*_[4],v=_[6]-x*_[5],f=_[7]-S*_[6],l=_[8]-w*_[7]),b=r.offset,a=r.data,N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<x;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<y;T++){for(q=0;q<d;q++){for(E=0;E<m;E++)a[b]=e(),b+=t;b+=o}b+=i}b+=n}b+=s}b+=u}b+=v}b+=f}b+=l}}YB.exports=_Tr});var JB=c((Lfe,WB)=>{"use strict";function TTr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B;for(m=r.shape,E=r.strides,r.order==="row-major"?(d=m[9],y=m[8],h=m[7],g=m[6],x=m[5],S=m[4],w=m[3],A=m[2],_=m[1],b=m[0],t=E[9],o=E[8]-d*E[9],i=E[7]-y*E[8],n=E[6]-h*E[7],s=E[5]-g*E[6],u=E[4]-x*E[5],v=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],p=E[0]-_*E[1]):(d=m[0],y=m[1],h=m[2],g=m[3],x=m[4],S=m[5],w=m[6],A=m[7],_=m[8],b=m[9],t=E[0],o=E[1]-d*E[0],i=E[2]-y*E[1],n=E[3]-h*E[2],s=E[4]-g*E[3],u=E[5]-x*E[4],v=E[6]-S*E[5],f=E[7]-w*E[6],l=E[8]-A*E[7],p=E[9]-_*E[8]),q=r.offset,a=r.data,B=0;B<b;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(I=0;I<g;I++){for(O=0;O<h;O++){for(j=0;j<y;j++){for(T=0;T<d;T++)a[q]=e(),q+=t;q+=o}q+=i}q+=n}q+=s}q+=u}q+=v}q+=f}q+=l}q+=p}}WB.exports=TTr});var KB=c((Pfe,XB)=>{"use strict";var jTr=Jr(),ITr=na(),OTr="throw";function NTr(r,e){var a,t,o,i,n,s,u,v;for(i=r.shape,o=jTr(i),a=r.data,n=r.strides,s=r.offset,t=r.order,v=0;v<o;v++)u=ITr(i,n,s,t,v,OTr),a[u]=e()}XB.exports=NTr});var QB=c((Ufe,ZB)=>{"use strict";var DTr=Sa(),kTr=et(),BTr=ri(),FTr=wk(),RTr=Ek(),VTr=_k(),zTr=jk(),CTr=Ok(),LTr=Dk(),PTr=Bk(),UTr=Rk(),MTr=zk(),GTr=Lk(),YTr=Uk(),$Tr=Gk(),WTr=$k(),JTr=Jk(),XTr=Kk(),KTr=Zk(),HTr=rB(),ZTr=aB(),QTr=iB(),rjr=nB(),ejr=uB(),ajr=fB(),tjr=cB(),ijr=pB(),ojr=mB(),njr=gB(),sjr=xB(),ujr=wB(),vjr=EB(),fjr=_B(),ljr=jB(),cjr=OB(),djr=DB(),pjr=BB(),yjr=RB(),mjr=zB(),hjr=LB(),gjr=UB(),bjr=GB(),xjr=$B(),qjr=JB(),wjr=KB(),_i=[ljr,cjr,djr,pjr,yjr,mjr,hjr,gjr,bjr,xjr,qjr],Io=[QTr,rjr,ejr,ajr,tjr,ijr,ojr,njr,sjr,ujr,vjr],Sjr=[GTr,YTr,$Tr,WTr,JTr,XTr,KTr,HTr,ZTr],Ejr=[FTr,RTr,VTr,zTr,CTr,LTr,PTr,UTr,MTr],HB=_i.length-1;function Ajr(r,e){var a,t,o,i,n,s,u,v,f,l,p;if(f=BTr(r[0]),o=f.shape,a=o.length,a===0)return f.accessorProtocol?Io[a](f,e):_i[a](f,e);for(n=1,v=0,p=0;p<a;p++)l=o[p],n*=l,l===1&&(v+=1);if(n!==0){if(a===1)return f.accessorProtocol?Io[a](f,e):_i[a](f,e);if(s=f.strides,v===a-1){for(p=0;p<a&&o[p]===1;p++);return f.shape=[o[p]],f.strides=[s[p]],f.accessorProtocol?Io[1](f,e):_i[1](f,e)}if(i=DTr(s),i!==0){if(t=kTr(o,s,f.offset),n===t[1]-t[0]+1)return i===1?u=t[0]:u=t[1],f.shape=[n],f.strides=[i],f.offset=u,f.accessorProtocol?Io[1](f,e):_i[1](f,e);if(a<=HB)return f.accessorProtocol?Io[a](f,e):_i[a](f,e)}if(a<=HB)return f.accessorProtocol?Ejr[a-2](f,e):Sjr[a-2](f,e);if(f.accessorProtocol)return fjr(f,e);wjr(f,e)}}ZB.exports=Ajr});var eF=c((Mfe,rF)=>{"use strict";var _jr=QB();rF.exports=_jr});var iF=c((Gfe,tF)=>{"use strict";var Tjr=ya(),jjr=za(),Ijr=Te(),aF=pr();function Ojr(r,e){var a,t;if(a=jjr(r),a===0)throw new TypeError(aF("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=Tjr(e,a-1),t===-1)throw new RangeError(aF("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return Ijr(r,!1)[t]}tF.exports=Ojr});var Yf=c((Yfe,oF)=>{"use strict";var Njr=iF();oF.exports=Njr});var nF=c(($fe,Djr)=>{Djr.exports=["same","promoted","bool","signed_integer","unsigned_integer","integer","floating_point","real_floating_point","complex_floating_point","real","numeric","default"]});var uF=c((Wfe,sF)=>{"use strict";var kjr=nF();function Bjr(){return kjr.slice()}sF.exports=Bjr});var fF=c((Jfe,vF)=>{"use strict";function Fjr(){return{same:0,promoted:1,bool:2,signed_integer:3,unsigned_integer:4,integer:5,floating_point:6,real_floating_point:7,complex_floating_point:8,real:9,numeric:10,default:11}}vF.exports=Fjr});var cF=c((Xfe,lF)=>{"use strict";var Rjr=Rt(),Vjr=Ea();function zjr(r,e){var a,t,o;for(a=Vjr(e),o=0;o<a.length;o++)t=a[o],Rjr(r,t,e[t]);return r}lF.exports=zjr});var es=c((Kfe,pF)=>{"use strict";var Cjr=Ir(),$f=uF(),dF=fF(),Ljr=cF();Cjr($f,"enum",dF);Ljr($f,dF());pF.exports=$f});var mF=c((Hfe,yF)=>{"use strict";var Pjr=wn(),Ujr=es().enum,Mjr=Pjr(Ujr(),{duplicates:!1});function Gjr(r){var e=Mjr[r];return typeof e=="string"?e:null}yF.exports=Gjr});var as=c((Zfe,hF)=>{"use strict";var Yjr=mF();hF.exports=Yjr});var bF=c((Qfe,gF)=>{"use strict";var $jr=es().enum,Wjr=$jr();function Jjr(r){var e=Wjr[r];return typeof e=="number"?e:null}gF.exports=Jjr});var ts=c((rle,xF)=>{"use strict";var Xjr=bF();xF.exports=Xjr});var wF=c((ele,qF)=>{"use strict";var Kjr=as(),Hjr=ts();function Zjr(r){var e=typeof r;return e==="number"?Kjr(r)?r:null:e==="string"?Hjr(r):null}qF.exports=Zjr});var EF=c((ale,SF)=>{"use strict";var Qjr=wF();SF.exports=Qjr});var _F=c((tle,AF)=>{"use strict";var rIr=as(),eIr=ts();function aIr(r){var e=typeof r;return e==="string"?eIr(r)===null?null:r:e==="number"?rIr(r):null}AF.exports=aIr});var jF=c((ile,TF)=>{"use strict";var tIr=_F();TF.exports=tIr});var BF=c((ole,kF)=>{"use strict";var iIr=Ue(),IF=Xe(),oIr=Te(),nIr=ba(),OF=Ka(),NF=sa(),DF=ft();function sIr(r,e){var a,t,o,i,n,s;for(o=oIr(r,!1),i=nIr(r,!1),n=o.length,a=[],t=[],s=0;s<e;s++)t.push(1),a.push(i[0]);for(s=0;s<n;s++)t.push(o[s]),a.push(i[s]);return iIr(r)?new r.constructor(IF(r),DF(r),t,a,OF(r),NF(r),{readonly:!0}):new r.constructor(IF(r),DF(r),t,a,OF(r),NF(r))}kF.exports=sIr});var RF=c((nle,FF)=>{"use strict";var uIr=BF();FF.exports=uIr});var UF=c((sle,PF)=>{"use strict";var vIr=Ue(),VF=Xe(),fIr=Te(),lIr=ba(),zF=Ka(),CF=sa(),LF=ft();function cIr(r){var e,a,t,o,i,n;for(t=fIr(r,!1),o=lIr(r,!1),i=t.length,e=[],a=[],n=0;n<i;n++)t[n]!==1&&(a.push(t[n]),e.push(o[n]));return a.length===i?r:vIr(r)?new r.constructor(VF(r),LF(r),a,e,zF(r),CF(r),{readonly:!0}):new r.constructor(VF(r),LF(r),a,e,zF(r),CF(r))}PF.exports=cIr});var GF=c((ule,MF)=>{"use strict";var dIr=UF();MF.exports=dIr});var $F=c((vle,YF)=>{"use strict";var pIr=he(),yIr=Le(),mIr=bo(),hIr=ye(),gIr=za();function bIr(r,e){var a=mIr(new yIr(null,null,-1),gIr(r));return hIr(r,pIr(a),!0,e)}YF.exports=bIr});var JF=c((fle,WF)=>{"use strict";var xIr=$F();WF.exports=xIr});var HF=c((lle,KF)=>{"use strict";var jt=Mt(),qIr=li(),wIr=Gt(),Oo=Du(),SIr=bt(),EIr=ke().enum,AIr=Yt().enum,_Ir=$t().enum,TIr=Xe(),jIr=Te(),IIr=ba(),OIr=Ka(),NIr=sa(),DIr=EIr(),kIr=AIr(),XF=_Ir();function BIr(r){var e,a,t,o,i,n,s,u,v,f,l,p,m,d;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(o=TIr(r),i=jIr(r,!1),n=IIr(r,!1),p=i.length,v=r.mode||"throw",s=r.submode||[v],m=s.length,e=SIr(o),t=33+p*16+m,u=new wIr(new qIr(t)),f=0,u.setInt8(f,jt?1:0),f+=1,u.setInt16(f,DIr[o],jt),f+=2,u.setBigInt64(f,Oo(p),jt),l=p*8,f+=8,d=0;d<p;d++)u.setBigInt64(f,Oo(i[d]),jt),u.setBigInt64(f+l,Oo(n[d]*e),jt),f+=8;for(f+=l,u.setBigInt64(f,Oo(OIr(r)*e),jt),f+=8,u.setInt8(f,kIr[NIr(r)]),f+=1,u.setInt8(f,XF[v]),f+=1,u.setBigInt64(f,Oo(m),jt),f+=8,d=0;d<m;d++)u.setInt8(f,XF[s[d]]),f+=1;return a=0,r.flags&&(a|=r.flags.READONLY?4:0),u.setInt32(f,a,jt),u}KF.exports=BIr});var rR=c((cle,QF)=>{"use strict";var Wf=Mt(),No=$u().assign,FIr=li(),RIr=va(),VIr=Gt(),zIr=bt(),CIr=ke().enum,LIr=Yt().enum,PIr=$t().enum,UIr=Xe(),MIr=Te(),GIr=ba(),YIr=Ka(),$Ir=sa(),WIr=CIr(),JIr=LIr(),ZF=PIr();function XIr(r){var e,a,t,o,i,n,s,u,v,f,l,p,m,d,y;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(i=UIr(r),n=MIr(r,!1),s=GIr(r,!1),m=n.length,f=r.mode||"throw",u=r.submode||[f],d=u.length,e=zIr(i),o=33+m*16+d,v=new VIr(new FIr(o)),a=new RIr(v.buffer),l=0,v.setInt8(l,Wf?1:0),l+=1,v.setInt16(l,WIr[i],Wf),l+=2,No(m,a,1,l),p=m*8,l+=8,y=0;y<m;y++)No(n[y],a,1,l),No(s[y]*e,a,1,l+p),l+=8;for(l+=p,No(YIr(r)*e,a,1,l),l+=8,v.setInt8(l,JIr[$Ir(r)]),l+=1,v.setInt8(l,ZF[f]),l+=1,No(d,a,1,l),l+=8,y=0;y<d;y++)v.setInt8(l,ZF[u[y]]),l+=1;return t=0,r.flags&&(t|=r.flags.READONLY?4:0),v.setInt32(l,t,Wf),v}QF.exports=XIr});var aR=c((dle,eR)=>{"use strict";var KIr=yu(),HIr=HF(),ZIr=rR(),Jf;KIr()?Jf=HIr:Jf=ZIr;eR.exports=Jf});var iR=c((ple,tR)=>{"use strict";function QIr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]===1&&(e+=1);return e}tR.exports=QIr});var nR=c((yle,oR)=>{"use strict";var rOr=iR();oR.exports=rOr});var vR=c((mle,uR)=>{"use strict";var eOr=In(),aOr=_o(),tOr=bf(),iOr=ye(),sR=Xe(),oOr=Te(),nOr=pr();function sOr(r,e,a,t){var o,i,n;if(i=sR(r),n=sR(e),!eOr(i,n))throw new TypeError(nOr("invalid argument. Input array values cannot be safely cast to the output array data type. Data types: [%s, %s].",i,n));return o=iOr(e,a,t,!0),r=aOr(r,oOr(o,!0)),tOr([r,o]),e}uR.exports=sOr});var is=c((hle,fR)=>{"use strict";var uOr=vR();fR.exports=uOr});var dR=c((gle,cR)=>{"use strict";var vOr=he(),fOr=za(),lOr=ye(),cOr=ya(),dOr=Ei(),lR=pr();function pOr(r,e,a,t,o){var i,n,s;if(n=fOr(r),n===0)throw new TypeError(lR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=cOr(e,n-1),s===-1)throw new RangeError(lR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=dOr(n),i[s]=a,lOr(r,vOr(i),t,o)}cR.exports=pOr});var Xf=c((ble,pR)=>{"use strict";var yOr=dR();pR.exports=yOr});var hR=c((xle,mR)=>{"use strict";var mOr=he(),hOr=Le(),gOr=za(),bOr=ye(),xOr=ya(),qOr=Ei(),yR=pr();function wOr(r,e,a,t,o){var i,n,s;if(n=gOr(r),n===0)throw new TypeError(yR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=xOr(e,n-1),s===-1)throw new RangeError(yR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=qOr(n),i[s]=new hOr(a,null),bOr(r,mOr(i),t,o)}mR.exports=wOr});var Kf=c((qle,gR)=>{"use strict";var SOr=hR();gR.exports=SOr});var qR=c((wle,xR)=>{"use strict";var EOr=he(),AOr=Le(),_Or=za(),TOr=ye(),jOr=ya(),IOr=Ei(),bR=pr();function OOr(r,e,a,t,o){var i,n,s;if(n=_Or(r),n===0)throw new TypeError(bR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=jOr(e,n-1),s===-1)throw new RangeError(bR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=IOr(n),i[s]=new AOr(a),TOr(r,EOr(i),t,o)}xR.exports=OOr});var Hf=c((Sle,wR)=>{"use strict";var NOr=qR();wR.exports=NOr});var AR=c((Ele,ER)=>{"use strict";var DOr=Ge().isPrimitive,kOr=he(),SR=Le(),BOr=Te(),FOr=ye();function ROr(r,e,a,t){var o,i,n,s;for(i=BOr(r),o=[],s=0;s<e.length;s++)n=e[s],DOr(n)&&n!==0?n===i[s]?(n-=1,o.push(new SR(n,n))):o.push(new SR(n,null)):o.push(null);return FOr(r,kOr(o),a,t)}ER.exports=ROr});var Zf=c((Ale,_R)=>{"use strict";var VOr=AR();_R.exports=VOr});var jR=c((_le,TR)=>{"use strict";var zOr=Ge().isPrimitive,COr=he(),LOr=Le(),POr=ye();function UOr(r,e,a,t){var o,i;for(o=[],i=0;i<e.length;i++)zOr(e[i])?o.push(new LOr(e[i])):o.push(null);return POr(r,COr(o),a,t)}TR.exports=UOr});var Qf=c((Tle,IR)=>{"use strict";var MOr=jR();IR.exports=MOr});var DR=c((jle,NR)=>{"use strict";var GOr=ya(),YOr=za(),$Or=ba(),OR=pr();function WOr(r,e){var a,t;if(a=YOr(r),a===0)throw new TypeError(OR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=GOr(e,a-1),t===-1)throw new RangeError(OR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return $Or(r,!1)[t]}NR.exports=WOr});var rl=c((Ile,kR)=>{"use strict";var JOr=DR();kR.exports=JOr});var FR=c((Ole,BR)=>{"use strict";var XOr=pr();function KOr(){var r,e,a,t,o,i,n,s,u,v,f,l;for(t=arguments[0],r=arguments[1],e=arguments[2],o=t.length,i=arguments[3+o],a=i.length,s=e,l=0;l<o;l++){if(u=t[l],f=arguments[l+3],n=i[l%a],n==="clamp")f<0?f=0:f>=u&&(f=u-1);else if(n==="wrap")f<0?(f+=u,f<0&&(f%=u,f!==0&&(f+=u))):f>=u&&(f-=u,f>=u&&(f%=u));else if(n==="normalize"&&f<0&&(f+=u),f<0||f>=u)throw new RangeError(XOr("invalid argument. Subscripts must not exceed array dimensions. Subscript: `%u`. Value: `%d`.",l,f));v=r[l],v<0&&e===0?s-=f*v:s+=f*v}return s}BR.exports=KOr});var el=c((Nle,RR)=>{"use strict";var HOr=FR();RR.exports=HOr});var CR=c((Dle,zR)=>{"use strict";function VR(r,e,a,t,o,i){var n,s,u,v,f;if(i>=e.length)return r.accessors[0](r.data,t);for(u=[],v=e[i],n=a[i],f=0;f<v;f++)s=VR(r,e,a,t,o,i+1),u.push(s),t+=n;return u}zR.exports=VR});var PR=c((kle,LR)=>{"use strict";var ZOr=vt(),QOr=CR();function r7r(r,e,a,t,o){var i;if(e.length===0)return[];for(i=0;i<e.length;i++)if(e[i]===0)return[];return QOr(ZOr(r),e,a,t,o,0)}LR.exports=r7r});var al=c((Ble,UR)=>{"use strict";var e7r=PR();UR.exports=e7r});var GR=c((Fle,MR)=>{"use strict";var a7r=Ye(),t7r=Xe(),i7r=Te(),o7r=ba(),n7r=sa(),s7r=ft();function u7r(r){var e,a,t,o;if(a=i7r(r,!0),o=a.length,o<2)throw new Error("invalid argument. Must provide an ndarray having two or more dimensions.");return t=o7r(r,!0),e=a[o-2],a[o-2]=a[o-1],a[o-1]=e,e=t[o-2],t[o-2]=t[o-1],t[o-1]=e,new r.constructor(t7r(r),s7r(r),a,t,a7r(a,t),n7r(r))}MR.exports=u7r});var $R=c((Rle,YR)=>{"use strict";var v7r=GR();YR.exports=v7r});var JR=c((Vle,WR)=>{"use strict";var f7r=Fr(),l7r=Br();function c7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j;for(j=f7r(r.shape,r.strides,e.strides),d=j.sh,g=j.sx,x=j.sy,t=l7r(r.dtype,e.dtype),S=r.offset,w=e.offset,o=r.data,i=e.data,u=g[0],f=x[0],n=r.accessors[0],s=e.accessors[1],T=d[1];T>0;)for(T<t?(h=T,T=0):(h=t,T-=t),p=S+T*g[1],m=w+T*x[1],q=d[0];q>0;)for(q<t?(y=q,q=0):(y=t,q-=t),A=p+q*g[0],_=m+q*x[0],v=g[1]-y*g[0],l=x[1]-y*x[0],E=0;E<h;E++){for(b=0;b<y;b++)s(i,_,a(n(o,A))),A+=u,_+=f;A+=v,_+=l}}WR.exports=c7r});var KR=c((zle,XR)=>{"use strict";var d7r=Fr(),p7r=Br();function y7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R;for(R=d7r(r.shape,r.strides,e.strides),x=R.sh,_=R.sx,b=R.sy,t=p7r(r.dtype,e.dtype),E=r.offset,q=e.offset,o=r.data,i=e.data,u=_[0],l=b[0],n=r.accessors[0],s=e.accessors[1],F=x[2];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),y=E+F*_[2],g=q+F*b[2],N=x[1];N>0;)for(N<t?(w=N,N=0):(w=t,N-=t),f=_[2]-w*_[1],m=b[2]-w*b[1],d=y+N*_[1],h=g+N*b[1],k=x[0];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),T=d+k*_[0],j=h+k*b[0],v=_[1]-S*_[0],p=b[1]-S*b[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)s(i,j,a(n(o,T))),T+=u,j+=l;T+=v,j+=p}T+=f,j+=m}}XR.exports=y7r});var ZR=c((Cle,HR)=>{"use strict";var m7r=Fr(),h7r=Br();function g7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U;for(U=m7r(r.shape,r.strides,e.strides),_=U.sh,j=U.sx,O=U.sy,t=h7r(r.dtype,e.dtype),I=r.offset,D=e.offset,o=r.data,i=e.data,u=j[0],p=O[0],n=r.accessors[0],s=e.accessors[1],P=_[3];P>0;)for(P<t?(T=P,P=0):(T=t,P-=t),x=I+P*j[3],A=D+P*O[3],L=_[2];L>0;)for(L<t?(q=L,L=0):(q=t,L-=t),l=j[3]-q*j[2],y=O[3]-q*O[2],g=x+L*j[2],w=A+L*O[2],C=_[1];C>0;)for(C<t?(E=C,C=0):(E=t,C-=t),f=j[2]-E*j[1],d=O[2]-E*O[1],h=g+C*j[1],S=w+C*O[1],z=_[0];z>0;)for(z<t?(b=z,z=0):(b=t,z-=t),k=h+z*j[0],N=S+z*O[0],v=j[1]-b*j[0],m=O[1]-b*O[0],V=0;V<T;V++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++)s(i,N,a(n(o,k))),k+=u,N+=p;k+=v,N+=m}k+=f,N+=d}k+=l,N+=y}}HR.exports=g7r});var rV=c((Lle,QR)=>{"use strict";var b7r=Fr(),x7r=Br();function q7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X;for(X=b7r(r.shape,r.strides,e.strides),T=X.sh,N=X.sx,F=X.sy,t=x7r(r.dtype,e.dtype),R=r.offset,B=e.offset,o=r.data,i=e.data,u=N[0],m=F[0],n=r.accessors[0],s=e.accessors[1],J=T[4];J>0;)for(J<t?(k=J,J=0):(k=t,J-=t),A=R+J*N[4],q=B+J*F[4],W=T[3];W>0;)for(W<t?(D=W,W=0):(D=t,W-=t),p=N[4]-D*N[3],g=F[4]-D*F[3],w=A+W*N[3],E=q+W*F[3],Y=T[2];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),l=N[3]-I*N[2],h=F[3]-I*F[2],S=w+Y*N[2],b=E+Y*F[2],$=T[1];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),f=N[2]-O*N[1],y=F[2]-O*F[1],x=S+$*N[1],_=b+$*F[1],G=T[0];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),V=x+G*N[0],z=_+G*F[0],v=N[1]-j*N[0],d=F[1]-j*F[0],M=0;M<k;M++){for(U=0;U<D;U++){for(P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++)s(i,z,a(n(o,V))),V+=u,z+=m;V+=v,z+=d}V+=f,z+=y}V+=l,z+=h}V+=p,z+=g}}QR.exports=q7r});var aV=c((Ple,eV)=>{"use strict";var w7r=Fr(),S7r=Br();function E7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(er=w7r(r.shape,r.strides,e.strides),D=er.sh,z=er.sx,C=er.sy,t=S7r(r.dtype,e.dtype),L=r.offset,P=e.offset,o=r.data,i=e.data,u=z[0],d=C[0],n=r.accessors[0],s=e.accessors[1],ar=D[5];ar>0;)for(ar<t?(V=ar,ar=0):(V=t,ar-=t),E=L+ar*z[5],I=P+ar*C[5],rr=D[4];rr>0;)for(rr<t?(B=rr,rr=0):(B=t,rr-=t),m=z[5]-B*z[4],S=C[5]-B*C[4],b=E+rr*z[4],O=I+rr*C[4],Z=D[3];Z>0;)for(Z<t?(R=Z,Z=0):(R=t,Z-=t),p=z[4]-R*z[3],x=C[4]-R*C[3],_=b+Z*z[3],j=O+Z*C[3],Q=D[2];Q>0;)for(Q<t?(F=Q,Q=0):(F=t,Q-=t),l=z[3]-F*z[2],g=C[3]-F*C[2],A=_+Q*z[2],T=j+Q*C[2],H=D[1];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=z[2]-N*z[1],h=C[2]-N*C[1],w=A+H*z[1],q=T+H*C[1],K=D[0];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),U=w+K*z[0],M=q+K*C[0],v=z[1]-k*z[0],y=C[1]-k*C[0],X=0;X<V;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++)s(i,M,a(n(o,U))),U+=u,M+=d;U+=v,M+=y}U+=f,M+=h}U+=l,M+=g}U+=p,M+=x}U+=m,M+=S}}eV.exports=E7r});var iV=c((Ule,tV)=>{"use strict";var A7r=Fr(),_7r=Br();function T7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr;for(vr=A7r(r.shape,r.strides,e.strides),R=vr.sh,M=vr.sx,G=vr.sy,t=_7r(r.dtype,e.dtype),$=r.offset,Y=e.offset,o=r.data,i=e.data,u=M[0],y=G[0],n=r.accessors[0],s=e.accessors[1],ur=R[6];ur>0;)for(ur<t?(U=ur,ur=0):(U=t,ur-=t),j=$+ur*M[6],F=Y+ur*G[6],sr=R[5];sr>0;)for(sr<t?(P=sr,sr=0):(P=t,sr-=t),d=M[6]-P*M[5],A=G[6]-P*G[5],T=j+sr*M[5],N=F+sr*G[5],nr=R[4];nr>0;)for(nr<t?(L=nr,nr=0):(L=t,nr-=t),m=M[5]-L*M[4],w=G[5]-L*G[4],q=T+nr*M[4],k=N+nr*G[4],or=R[3];or>0;)for(or<t?(C=or,or=0):(C=t,or-=t),p=M[4]-C*M[3],S=G[4]-C*G[3],E=q+or*M[3],D=k+or*G[3],tr=R[2];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),l=M[3]-z*M[2],x=G[3]-z*G[2],b=E+tr*M[2],I=D+tr*G[2],ir=R[1];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),f=M[2]-V*M[1],g=G[2]-V*G[1],_=b+ir*M[1],O=I+ir*G[1],er=R[0];er>0;)for(er<t?(B=er,er=0):(B=t,er-=t),W=_+er*M[0],J=O+er*G[0],v=M[1]-B*M[0],h=G[1]-B*G[0],ar=0;ar<U;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<C;Q++){for(H=0;H<z;H++){for(K=0;K<V;K++){for(X=0;X<B;X++)s(i,J,a(n(o,W))),W+=u,J+=y;W+=v,J+=h}W+=f,J+=g}W+=l,J+=x}W+=p,J+=S}W+=m,J+=w}W+=d,J+=A}}tV.exports=T7r});var nV=c((Mle,oV)=>{"use strict";var j7r=Fr(),I7r=Br();function O7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br;for(br=j7r(r.shape,r.strides,e.strides),C=br.sh,J=br.sx,X=br.sy,t=I7r(r.dtype,e.dtype),K=r.offset,H=e.offset,o=r.data,i=e.data,u=J[0],h=X[0],n=r.accessors[0],s=e.accessors[1],hr=C[7];hr>0;)for(hr<t?(W=hr,hr=0):(W=t,hr-=t),D=K+hr*J[7],z=H+hr*X[7],mr=C[6];mr>0;)for(mr<t?(Y=mr,mr=0):(Y=t,mr-=t),y=J[7]-Y*J[6],b=X[7]-Y*X[6],I=D+mr*J[6],V=z+mr*X[6],dr=C[5];dr>0;)for(dr<t?($=dr,dr=0):($=t,dr-=t),d=J[6]-$*J[5],_=X[6]-$*X[5],O=I+dr*J[5],B=V+dr*X[5],yr=C[4];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),m=J[5]-G*J[4],A=X[5]-G*X[4],j=O+yr*J[4],R=B+yr*X[4],fr=C[3];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),p=J[4]-M*J[3],w=X[4]-M*X[3],T=j+fr*J[3],F=R+fr*X[3],lr=C[2];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),l=J[3]-U*J[2],S=X[3]-U*X[2],q=T+lr*J[2],N=F+lr*X[2],vr=C[1];vr>0;)for(vr<t?(P=vr,vr=0):(P=t,vr-=t),f=J[2]-P*J[1],x=X[2]-P*X[1],E=q+vr*J[1],k=N+vr*X[1],ur=C[0];ur>0;)for(ur<t?(L=ur,ur=0):(L=t,ur-=t),Q=E+ur*J[0],Z=k+ur*X[0],v=J[1]-L*J[0],g=X[1]-L*X[0],sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<L;rr++)s(i,Z,a(n(o,Q))),Q+=u,Z+=h;Q+=v,Z+=g}Q+=f,Z+=x}Q+=l,Z+=S}Q+=p,Z+=w}Q+=m,Z+=A}Q+=d,Z+=_}Q+=y,Z+=b}}oV.exports=O7r});var uV=c((Gle,sV)=>{"use strict";var N7r=Fr(),D7r=Br();function k7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr;for(Tr=N7r(r.shape,r.strides,e.strides),M=Tr.sh,Z=Tr.sx,rr=Tr.sy,t=D7r(r.dtype,e.dtype),ar=r.offset,er=e.offset,o=r.data,i=e.data,u=Z[0],g=rr[0],n=r.accessors[0],s=e.accessors[1],_r=M[8];_r>0;)for(_r<t?(Q=_r,_r=0):(Q=t,_r-=t),F=ar+_r*Z[8],U=er+_r*rr[8],Ar=M[7];Ar>0;)for(Ar<t?(H=Ar,Ar=0):(H=t,Ar-=t),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=F+Ar*Z[7],P=U+Ar*rr[7],gr=M[6];gr>0;)for(gr<t?(K=gr,gr=0):(K=t,gr-=t),y=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+gr*Z[6],L=P+gr*rr[6],qr=M[5];qr>0;)for(qr<t?(X=qr,qr=0):(X=t,qr-=t),d=Z[6]-X*Z[5],b=rr[6]-X*rr[5],D=k+qr*Z[5],C=L+qr*rr[5],xr=M[4];xr>0;)for(xr<t?(J=xr,xr=0):(J=t,xr-=t),m=Z[5]-J*Z[4],_=rr[5]-J*rr[4],I=D+xr*Z[4],z=C+xr*rr[4],wr=M[3];wr>0;)for(wr<t?(W=wr,wr=0):(W=t,wr-=t),p=Z[4]-W*Z[3],A=rr[4]-W*rr[3],O=I+wr*Z[3],V=z+wr*rr[3],br=M[2];br>0;)for(br<t?(Y=br,br=0):(Y=t,br-=t),l=Z[3]-Y*Z[2],w=rr[3]-Y*rr[2],j=O+br*Z[2],B=V+br*rr[2],hr=M[1];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),f=Z[2]-$*Z[1],S=rr[2]-$*rr[1],T=j+hr*Z[1],R=B+hr*rr[1],mr=M[0];mr>0;)for(mr<t?(G=mr,mr=0):(G=t,mr-=t),ir=T+mr*Z[0],tr=R+mr*rr[0],v=Z[1]-G*Z[0],x=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++)s(i,tr,a(n(o,ir))),ir+=u,tr+=g;ir+=v,tr+=x}ir+=f,tr+=S}ir+=l,tr+=w}ir+=p,tr+=A}ir+=m,tr+=_}ir+=d,tr+=b}ir+=y,tr+=E}ir+=h,tr+=q}}sV.exports=k7r});var fV=c((Yle,vV)=>{"use strict";var B7r=Fr(),F7r=Br();function R7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr,Hr,ie,Ne;for(Ne=B7r(r.shape,r.strides,e.strides),W=Ne.sh,tr=Ne.sx,or=Ne.sy,t=F7r(r.dtype,e.dtype),nr=r.offset,sr=e.offset,o=r.data,i=e.data,u=tr[0],x=or[0],n=r.accessors[0],s=e.accessors[1],ie=W[9];ie>0;)for(ie<t?(ir=ie,ie=0):(ir=t,ie-=t),V=nr+ie*tr[9],Y=sr+ie*or[9],Hr=W[8];Hr>0;)for(Hr<t?(er=Hr,Hr=0):(er=t,Hr-=t),g=tr[9]-er*tr[8],j=or[9]-er*or[8],B=V+Hr*tr[8],$=Y+Hr*or[8],Rr=W[7];Rr>0;)for(Rr<t?(ar=Rr,Rr=0):(ar=t,Rr-=t),h=tr[8]-ar*tr[7],T=or[8]-ar*or[7],R=B+Rr*tr[7],G=$+Rr*or[7],kr=W[6];kr>0;)for(kr<t?(rr=kr,kr=0):(rr=t,kr-=t),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],F=R+kr*tr[6],M=G+kr*or[6],Or=W[5];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),d=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=F+Or*tr[5],U=M+Or*or[5],jr=W[4];jr>0;)for(jr<t?(Q=jr,jr=0):(Q=t,jr-=t),m=tr[5]-Q*tr[4],b=or[5]-Q*or[4],k=N+jr*tr[4],P=U+jr*or[4],Tr=W[3];Tr>0;)for(Tr<t?(H=Tr,Tr=0):(H=t,Tr-=t),p=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+Tr*tr[3],L=P+Tr*or[3],_r=W[2];_r>0;)for(_r<t?(K=_r,_r=0):(K=t,_r-=t),l=tr[3]-K*tr[2],A=or[3]-K*or[2],I=D+_r*tr[2],C=L+_r*or[2],Ar=W[1];Ar>0;)for(Ar<t?(X=Ar,Ar=0):(X=t,Ar-=t),f=tr[2]-X*tr[1],w=or[2]-X*or[1],O=I+Ar*tr[1],z=C+Ar*or[1],gr=W[0];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),ur=O+gr*tr[0],vr=z+gr*or[0],v=tr[1]-J*tr[0],S=or[1]-J*or[0],qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)s(i,vr,a(n(o,ur))),ur+=u,vr+=x;ur+=v,vr+=S}ur+=f,vr+=w}ur+=l,vr+=A}ur+=p,vr+=_}ur+=m,vr+=b}ur+=d,vr+=E}ur+=y,vr+=q}ur+=h,vr+=T}ur+=g,vr+=j}}vV.exports=R7r});var cV=c(($le,lV)=>{"use strict";var V7r=Fr(),z7r=Br();function C7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(q=V7r(r.shape,r.strides,e.strides),p=q.sh,y=q.sx,h=q.sy,t=z7r(r.dtype,e.dtype),g=r.offset,x=e.offset,o=r.data,i=e.data,n=y[0],u=h[0],E=p[1];E>0;)for(E<t?(d=E,E=0):(d=t,E-=t),f=g+E*y[1],l=x+E*h[1],b=p[0];b>0;)for(b<t?(m=b,b=0):(m=t,b-=t),S=f+b*y[0],w=l+b*h[0],s=y[1]-m*y[0],v=h[1]-m*h[0],_=0;_<d;_++){for(A=0;A<m;A++)i[w]=a(o[S]),S+=n,w+=u;S+=s,w+=v}}lV.exports=C7r});var pV=c((Wle,dV)=>{"use strict";var L7r=Fr(),P7r=Br();function U7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N;for(N=L7r(r.shape,r.strides,e.strides),h=N.sh,w=N.sx,A=N.sy,t=P7r(r.dtype,e.dtype),_=r.offset,b=e.offset,o=r.data,i=e.data,n=w[0],v=A[0],k=h[2];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),m=_+k*w[2],y=b+k*A[2],D=h[1];D>0;)for(D<t?(x=D,D=0):(x=t,D-=t),u=w[2]-x*w[1],l=A[2]-x*A[1],p=m+D*w[1],d=y+D*A[1],I=h[0];I>0;)for(I<t?(g=I,I=0):(g=t,I-=t),E=p+I*w[0],q=d+I*A[0],s=w[1]-g*w[0],f=A[1]-g*A[0],O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++)i[q]=a(o[E]),E+=n,q+=v;E+=s,q+=f}E+=u,q+=l}}dV.exports=U7r});var mV=c((Jle,yV)=>{"use strict";var M7r=Fr(),G7r=Br();function Y7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L;for(L=M7r(r.shape,r.strides,e.strides),w=L.sh,q=L.sx,T=L.sy,t=G7r(r.dtype,e.dtype),j=r.offset,O=e.offset,o=r.data,i=e.data,n=q[0],f=T[0],C=w[3];C>0;)for(C<t?(E=C,C=0):(E=t,C-=t),h=j+C*q[3],S=O+C*T[3],z=w[2];z>0;)for(z<t?(b=z,z=0):(b=t,z-=t),v=q[3]-b*q[2],m=T[3]-b*T[2],y=h+z*q[2],x=S+z*T[2],V=w[1];V>0;)for(V<t?(_=V,V=0):(_=t,V-=t),u=q[2]-_*q[1],p=T[2]-_*T[1],d=y+V*q[1],g=x+V*T[1],B=w[0];B>0;)for(B<t?(A=B,B=0):(A=t,B-=t),I=d+B*q[0],D=g+B*T[0],s=q[1]-A*q[0],l=T[1]-A*T[0],R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++)i[D]=a(o[I]),I+=n,D+=f;I+=s,D+=l}I+=u,D+=p}I+=v,D+=m}}yV.exports=Y7r});var gV=c((Xle,hV)=>{"use strict";var $7r=Fr(),W7r=Br();function J7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W;for(W=$7r(r.shape,r.strides,e.strides),E=W.sh,D=W.sx,k=W.sy,t=W7r(r.dtype,e.dtype),N=r.offset,F=e.offset,o=r.data,i=e.data,n=D[0],l=k[0],Y=E[4];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),S=N+Y*D[4],b=F+Y*k[4],$=E[3];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),f=D[4]-O*D[3],y=k[4]-O*k[3],x=S+$*D[3],_=b+$*k[3],G=E[2];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),v=D[3]-j*D[2],d=k[3]-j*k[2],g=x+G*D[2],A=_+G*k[2],M=E[1];M>0;)for(M<t?(T=M,M=0):(T=t,M-=t),u=D[2]-T*D[1],m=k[2]-T*k[1],h=g+M*D[1],w=A+M*k[1],U=E[0];U>0;)for(U<t?(q=U,U=0):(q=t,U-=t),R=h+U*D[0],B=w+U*k[0],s=D[1]-q*D[0],p=k[1]-q*k[0],P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++)i[B]=a(o[R]),R+=n,B+=l;R+=s,B+=p}R+=u,B+=m}R+=v,B+=d}R+=f,B+=y}}hV.exports=J7r});var xV=c((Kle,bV)=>{"use strict";var X7r=Fr(),K7r=Br();function H7r(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(rr=X7r(r.shape,r.strides,e.strides),O=rr.sh,B=rr.sx,V=rr.sy,t=K7r(r.dtype,e.dtype),z=r.offset,C=e.offset,o=r.data,i=e.data,n=B[0],p=V[0],Z=O[5];Z>0;)for(Z<t?(R=Z,Z=0):(R=t,Z-=t),_=z+Z*B[5],j=C+Z*V[5],Q=O[4];Q>0;)for(Q<t?(F=Q,Q=0):(F=t,Q-=t),l=B[5]-F*B[4],g=V[5]-F*V[4],A=_+Q*B[4],T=j+Q*V[4],H=O[3];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=B[4]-N*B[3],h=V[4]-N*V[3],w=A+H*B[3],q=T+H*V[3],K=O[2];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),v=B[3]-k*B[2],y=V[3]-k*V[2],S=w+K*B[2],E=q+K*V[2],X=O[1];X>0;)for(X<t?(D=X,X=0):(D=t,X-=t),u=B[2]-D*B[1],d=V[2]-D*V[1],x=S+X*B[1],b=E+X*V[1],J=O[0];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),L=x+J*B[0],P=b+J*V[0],s=B[1]-I*B[0],m=V[1]-I*V[0],W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++)i[P]=a(o[L]),L+=n,P+=p;L+=s,P+=m}L+=u,P+=d}L+=v,P+=y}L+=f,P+=h}L+=l,P+=g}}bV.exports=H7r});var wV=c((Hle,qV)=>{"use strict";var Z7r=Fr(),Q7r=Br();function rNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr;for(sr=Z7r(r.shape,r.strides,e.strides),N=sr.sh,P=sr.sx,U=sr.sy,t=Q7r(r.dtype,e.dtype),M=r.offset,G=e.offset,o=r.data,i=e.data,n=P[0],m=U[0],nr=N[6];nr>0;)for(nr<t?(L=nr,nr=0):(L=t,nr-=t),q=M+nr*P[6],k=G+nr*U[6],or=N[5];or>0;)for(or<t?(C=or,or=0):(C=t,or-=t),p=P[6]-C*P[5],S=U[6]-C*U[5],E=q+or*P[5],D=k+or*U[5],tr=N[4];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),l=P[5]-z*P[4],x=U[5]-z*U[4],b=E+tr*P[4],I=D+tr*U[4],ir=N[3];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),f=P[4]-V*P[3],g=U[4]-V*U[3],_=b+ir*P[3],O=I+ir*U[3],er=N[2];er>0;)for(er<t?(B=er,er=0):(B=t,er-=t),v=P[3]-B*P[2],h=U[3]-B*U[2],A=_+er*P[2],j=O+er*U[2],ar=N[1];ar>0;)for(ar<t?(R=ar,ar=0):(R=t,ar-=t),u=P[2]-R*P[1],y=U[2]-R*U[1],w=A+ar*P[1],T=j+ar*U[1],rr=N[0];rr>0;)for(rr<t?(F=rr,rr=0):(F=t,rr-=t),$=w+rr*P[0],Y=T+rr*U[0],s=P[1]-F*P[0],d=U[1]-F*U[0],Z=0;Z<L;Z++){for(Q=0;Q<C;Q++){for(H=0;H<z;H++){for(K=0;K<V;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++)i[Y]=a(o[$]),$+=n,Y+=m;$+=s,Y+=d}$+=u,Y+=y}$+=v,Y+=h}$+=f,Y+=g}$+=l,Y+=x}$+=p,Y+=S}}qV.exports=rNr});var EV=c((Zle,SV)=>{"use strict";var eNr=Fr(),aNr=Br();function tNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr;for(mr=eNr(r.shape,r.strides,e.strides),V=mr.sh,Y=mr.sx,W=mr.sy,t=aNr(r.dtype,e.dtype),J=r.offset,X=e.offset,o=r.data,i=e.data,n=Y[0],d=W[0],dr=V[7];dr>0;)for(dr<t?($=dr,dr=0):($=t,dr-=t),O=J+dr*Y[7],B=X+dr*W[7],yr=V[6];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),m=Y[7]-G*Y[6],A=W[7]-G*W[6],j=O+yr*Y[6],R=B+yr*W[6],fr=V[5];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),p=Y[6]-M*Y[5],w=W[6]-M*W[5],T=j+fr*Y[5],F=R+fr*W[5],lr=V[4];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),l=Y[5]-U*Y[4],S=W[5]-U*W[4],q=T+lr*Y[4],N=F+lr*W[4],vr=V[3];vr>0;)for(vr<t?(P=vr,vr=0):(P=t,vr-=t),f=Y[4]-P*Y[3],x=W[4]-P*W[3],E=q+vr*Y[3],k=N+vr*W[3],ur=V[2];ur>0;)for(ur<t?(L=ur,ur=0):(L=t,ur-=t),v=Y[3]-L*Y[2],g=W[3]-L*W[2],b=E+ur*Y[2],D=k+ur*W[2],sr=V[1];sr>0;)for(sr<t?(C=sr,sr=0):(C=t,sr-=t),u=Y[2]-C*Y[1],h=W[2]-C*W[1],_=b+sr*Y[1],I=D+sr*W[1],nr=V[0];nr>0;)for(nr<t?(z=nr,nr=0):(z=t,nr-=t),K=_+nr*Y[0],H=I+nr*W[0],s=Y[1]-z*Y[0],y=W[1]-z*W[0],or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<z;Q++)i[H]=a(o[K]),K+=n,H+=d;K+=s,H+=y}K+=u,H+=h}K+=v,H+=g}K+=f,H+=x}K+=l,H+=S}K+=p,H+=w}K+=m,H+=A}}SV.exports=tNr});var _V=c((Qle,AV)=>{"use strict";var iNr=Fr(),oNr=Br();function nNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar;for(Ar=iNr(r.shape,r.strides,e.strides),P=Ar.sh,H=Ar.sx,Q=Ar.sy,t=oNr(r.dtype,e.dtype),Z=r.offset,rr=e.offset,o=r.data,i=e.data,n=H[0],y=Q[0],gr=P[8];gr>0;)for(gr<t?(K=gr,gr=0):(K=t,gr-=t),k=Z+gr*H[8],L=rr+gr*Q[8],qr=P[7];qr>0;)for(qr<t?(X=qr,qr=0):(X=t,qr-=t),d=H[8]-X*H[7],b=Q[8]-X*Q[7],D=k+qr*H[7],C=L+qr*Q[7],xr=P[6];xr>0;)for(xr<t?(J=xr,xr=0):(J=t,xr-=t),m=H[7]-J*H[6],_=Q[7]-J*Q[6],I=D+xr*H[6],z=C+xr*Q[6],wr=P[5];wr>0;)for(wr<t?(W=wr,wr=0):(W=t,wr-=t),p=H[6]-W*H[5],A=Q[6]-W*Q[5],O=I+wr*H[5],V=z+wr*Q[5],br=P[4];br>0;)for(br<t?(Y=br,br=0):(Y=t,br-=t),l=H[5]-Y*H[4],w=Q[5]-Y*Q[4],j=O+br*H[4],B=V+br*Q[4],hr=P[3];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),f=H[4]-$*H[3],S=Q[4]-$*Q[3],T=j+hr*H[3],R=B+hr*Q[3],mr=P[2];mr>0;)for(mr<t?(G=mr,mr=0):(G=t,mr-=t),v=H[3]-G*H[2],x=Q[3]-G*Q[2],q=T+mr*H[2],F=R+mr*Q[2],dr=P[1];dr>0;)for(dr<t?(M=dr,dr=0):(M=t,dr-=t),u=H[2]-M*H[1],g=Q[2]-M*Q[1],E=q+dr*H[1],N=F+dr*Q[1],yr=P[0];yr>0;)for(yr<t?(U=yr,yr=0):(U=t,yr-=t),ar=E+yr*H[0],er=N+yr*Q[0],s=H[1]-U*H[0],h=Q[1]-U*Q[0],fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<U;ir++)i[er]=a(o[ar]),ar+=n,er+=y;ar+=s,er+=h}ar+=u,er+=g}ar+=v,er+=x}ar+=f,er+=S}ar+=l,er+=w}ar+=p,er+=A}ar+=m,er+=_}ar+=d,er+=b}}AV.exports=nNr});var jV=c((rce,TV)=>{"use strict";var sNr=Fr(),uNr=Br();function vNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr,Hr;for(Hr=sNr(r.shape,r.strides,e.strides),$=Hr.sh,er=Hr.sx,ir=Hr.sy,t=uNr(r.dtype,e.dtype),tr=r.offset,or=e.offset,o=r.data,i=e.data,n=er[0],h=ir[0],Rr=$[9];Rr>0;)for(Rr<t?(ar=Rr,Rr=0):(ar=t,Rr-=t),R=tr+Rr*er[9],G=or+Rr*ir[9],kr=$[8];kr>0;)for(kr<t?(rr=kr,kr=0):(rr=t,kr-=t),y=er[9]-rr*er[8],q=ir[9]-rr*ir[8],F=R+kr*er[8],M=G+kr*ir[8],Or=$[7];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),d=er[8]-Z*er[7],E=ir[8]-Z*ir[7],N=F+Or*er[7],U=M+Or*ir[7],jr=$[6];jr>0;)for(jr<t?(Q=jr,jr=0):(Q=t,jr-=t),m=er[7]-Q*er[6],b=ir[7]-Q*ir[6],k=N+jr*er[6],P=U+jr*ir[6],Tr=$[5];Tr>0;)for(Tr<t?(H=Tr,Tr=0):(H=t,Tr-=t),p=er[6]-H*er[5],_=ir[6]-H*ir[5],D=k+Tr*er[5],L=P+Tr*ir[5],_r=$[4];_r>0;)for(_r<t?(K=_r,_r=0):(K=t,_r-=t),l=er[5]-K*er[4],A=ir[5]-K*ir[4],I=D+_r*er[4],C=L+_r*ir[4],Ar=$[3];Ar>0;)for(Ar<t?(X=Ar,Ar=0):(X=t,Ar-=t),f=er[4]-X*er[3],w=ir[4]-X*ir[3],O=I+Ar*er[3],z=C+Ar*ir[3],gr=$[2];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),v=er[3]-J*er[2],S=ir[3]-J*ir[2],j=O+gr*er[2],V=z+gr*ir[2],qr=$[1];qr>0;)for(qr<t?(W=qr,qr=0):(W=t,qr-=t),u=er[2]-W*er[1],x=ir[2]-W*ir[1],T=j+qr*er[1],B=V+qr*ir[1],xr=$[0];xr>0;)for(xr<t?(Y=xr,xr=0):(Y=t,xr-=t),nr=T+xr*er[0],sr=B+xr*ir[0],s=er[1]-Y*er[0],g=ir[1]-Y*ir[0],wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++){for(ur=0;ur<Y;ur++)i[sr]=a(o[nr]),nr+=n,sr+=h;nr+=s,sr+=g}nr+=u,sr+=x}nr+=v,sr+=S}nr+=f,sr+=w}nr+=l,sr+=A}nr+=p,sr+=_}nr+=m,sr+=b}nr+=d,sr+=E}nr+=y,sr+=q}}TV.exports=vNr});var OV=c((ece,IV)=>{"use strict";function fNr(r,e,a){e.accessors[1](e.data,e.offset,a(r.accessors[0](r.data,r.offset)))}IV.exports=fNr});var DV=c((ace,NV)=>{"use strict";function lNr(r,e,a){var t,o,i,n,s,u,v,f,l,p;for(v=r.shape[0],s=r.strides[0],u=e.strides[0],f=r.offset,l=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],p=0;p<v;p++)n(o,l,a(i(t,f))),f+=s,l+=u}NV.exports=lNr});var BV=c((tce,kV)=>{"use strict";function cNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S;for(l=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(p=l[1],m=l[0],s=d[1],u=d[0]-p*d[1],v=y[1],f=y[0]-p*y[1]):(p=l[0],m=l[1],s=d[0],u=d[1]-p*d[0],v=y[0],f=y[1]-p*y[0]),h=r.offset,g=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],S=0;S<m;S++){for(x=0;x<p;x++)n(o,g,a(i(t,h))),h+=s,g+=v;h+=u,g+=f}}kV.exports=cNr});var RV=c((ice,FV)=>{"use strict";function dNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b;for(m=r.shape,g=r.strides,x=e.strides,r.order==="row-major"?(d=m[2],y=m[1],h=m[0],s=g[2],u=g[1]-d*g[2],v=g[0]-y*g[1],f=x[2],l=x[1]-d*x[2],p=x[0]-y*x[1]):(d=m[0],y=m[1],h=m[2],s=g[0],u=g[1]-d*g[0],v=g[2]-y*g[1],f=x[0],l=x[1]-d*x[0],p=x[2]-y*x[1]),S=r.offset,w=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++)n(o,w,a(i(t,S))),S+=s,w+=f;S+=u,w+=l}S+=v,w+=p}}FV.exports=dNr});var zV=c((oce,VV)=>{"use strict";function pNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j;for(y=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(h=y[3],g=y[2],x=y[1],S=y[0],s=w[3],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-x*w[1],l=A[3],p=A[2]-h*A[3],m=A[1]-g*A[2],d=A[0]-x*A[1]):(h=y[0],g=y[1],x=y[2],S=y[3],s=w[0],u=w[1]-h*w[0],v=w[2]-g*w[1],f=w[3]-x*w[2],l=A[0],p=A[1]-h*A[0],m=A[2]-g*A[1],d=A[3]-x*A[2]),_=r.offset,b=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],j=0;j<S;j++){for(T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)n(o,b,a(i(t,_))),_+=s,b+=l;_+=u,b+=p}_+=v,b+=m}_+=f,b+=d}}VV.exports=pNr});var LV=c((nce,CV)=>{"use strict";function yNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k;for(g=r.shape,b=r.strides,E=e.strides,r.order==="row-major"?(x=g[4],S=g[3],w=g[2],A=g[1],_=g[0],s=b[4],u=b[3]-x*b[4],v=b[2]-S*b[3],f=b[1]-w*b[2],l=b[0]-A*b[1],p=E[4],m=E[3]-x*E[4],d=E[2]-S*E[3],y=E[1]-w*E[2],h=E[0]-A*E[1]):(x=g[0],S=g[1],w=g[2],A=g[3],_=g[4],s=b[0],u=b[1]-x*b[0],v=b[2]-S*b[1],f=b[3]-w*b[2],l=b[4]-A*b[3],p=E[0],m=E[1]-x*E[0],d=E[2]-S*E[1],y=E[3]-w*E[2],h=E[4]-A*E[3]),q=r.offset,T=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++)n(o,T,a(i(t,q))),q+=s,T+=p;q+=u,T+=m}q+=v,T+=d}q+=f,T+=y}q+=l,T+=h}}CV.exports=yNr});var UV=c((sce,PV)=>{"use strict";function mNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B;for(S=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],b=S[2],E=S[1],q=S[0],s=T[5],u=T[4]-w*T[5],v=T[3]-A*T[4],f=T[2]-_*T[3],l=T[1]-b*T[2],p=T[0]-E*T[1],m=j[5],d=j[4]-w*j[5],y=j[3]-A*j[4],h=j[2]-_*j[3],g=j[1]-b*j[2],x=j[0]-E*j[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],s=T[0],u=T[1]-w*T[0],v=T[2]-A*T[1],f=T[3]-_*T[2],l=T[4]-b*T[3],p=T[5]-E*T[4],m=j[0],d=j[1]-w*j[0],y=j[2]-A*j[1],h=j[3]-_*j[2],g=j[4]-b*j[3],x=j[5]-E*j[4]),O=r.offset,I=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)n(o,I,a(i(t,O))),O+=s,I+=m;O+=u,I+=d}O+=v,I+=y}O+=f,I+=h}O+=l,I+=g}O+=p,I+=x}}PV.exports=mNr});var GV=c((uce,MV)=>{"use strict";function hNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L;for(A=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],b=A[5],E=A[4],q=A[3],T=A[2],j=A[1],O=A[0],s=I[6],u=I[5]-_*I[6],v=I[4]-b*I[5],f=I[3]-E*I[4],l=I[2]-q*I[3],p=I[1]-T*I[2],m=I[0]-j*I[1],d=D[6],y=D[5]-_*D[6],h=D[4]-b*D[5],g=D[3]-E*D[4],x=D[2]-q*D[3],S=D[1]-T*D[2],w=D[0]-j*D[1]):(_=A[0],b=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],s=I[0],u=I[1]-_*I[0],v=I[2]-b*I[1],f=I[3]-E*I[2],l=I[4]-q*I[3],p=I[5]-T*I[4],m=I[6]-j*I[5],d=D[0],y=D[1]-_*D[0],h=D[2]-b*D[1],g=D[3]-E*D[2],x=D[4]-q*D[3],S=D[5]-T*D[4],w=D[6]-j*D[5]),k=r.offset,N=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++)n(o,N,a(i(t,k))),k+=s,N+=d;k+=u,N+=y}k+=v,N+=h}k+=f,N+=g}k+=l,N+=x}k+=p,N+=S}k+=m,N+=w}}MV.exports=hNr});var $V=c((vce,YV)=>{"use strict";function gNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G;for(b=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(E=b[7],q=b[6],T=b[5],j=b[4],O=b[3],I=b[2],D=b[1],k=b[0],s=N[7],u=N[6]-E*N[7],v=N[5]-q*N[6],f=N[4]-T*N[5],l=N[3]-j*N[4],p=N[2]-O*N[3],m=N[1]-I*N[2],d=N[0]-D*N[1],y=F[7],h=F[6]-E*F[7],g=F[5]-q*F[6],x=F[4]-T*F[5],S=F[3]-j*F[4],w=F[2]-O*F[3],A=F[1]-I*F[2],_=F[0]-D*F[1]):(E=b[0],q=b[1],T=b[2],j=b[3],O=b[4],I=b[5],D=b[6],k=b[7],s=N[0],u=N[1]-E*N[0],v=N[2]-q*N[1],f=N[3]-T*N[2],l=N[4]-j*N[3],p=N[5]-O*N[4],m=N[6]-I*N[5],d=N[7]-D*N[6],y=F[0],h=F[1]-E*F[0],g=F[2]-q*F[1],x=F[3]-T*F[2],S=F[4]-j*F[3],w=F[5]-O*F[4],A=F[6]-I*F[5],_=F[7]-D*F[6]),R=r.offset,B=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++)n(o,B,a(i(t,R))),R+=s,B+=y;R+=u,B+=h}R+=v,B+=g}R+=f,B+=x}R+=l,B+=S}R+=p,B+=w}R+=m,B+=A}R+=d,B+=_}}YV.exports=gNr});var JV=c((fce,WV)=>{"use strict";function bNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J;for(q=r.shape,B=r.strides,V=e.strides,r.order==="row-major"?(T=q[8],j=q[7],O=q[6],I=q[5],D=q[4],k=q[3],N=q[2],F=q[1],R=q[0],s=B[8],u=B[7]-T*B[8],v=B[6]-j*B[7],f=B[5]-O*B[6],l=B[4]-I*B[5],p=B[3]-D*B[4],m=B[2]-k*B[3],d=B[1]-N*B[2],y=B[0]-F*B[1],h=V[8],g=V[7]-T*V[8],x=V[6]-j*V[7],S=V[5]-O*V[6],w=V[4]-I*V[5],A=V[3]-D*V[4],_=V[2]-k*V[3],b=V[1]-N*V[2],E=V[0]-F*V[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],s=B[0],u=B[1]-T*B[0],v=B[2]-j*B[1],f=B[3]-O*B[2],l=B[4]-I*B[3],p=B[5]-D*B[4],m=B[6]-k*B[5],d=B[7]-N*B[6],y=B[8]-F*B[7],h=V[0],g=V[1]-T*V[0],x=V[2]-j*V[1],S=V[3]-O*V[2],w=V[4]-I*V[3],A=V[5]-D*V[4],_=V[6]-k*V[5],b=V[7]-N*V[6],E=V[8]-F*V[7]),z=r.offset,C=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++)n(o,C,a(i(t,z))),z+=s,C+=h;z+=u,C+=g}z+=v,C+=x}z+=f,C+=S}z+=l,C+=w}z+=p,C+=A}z+=m,C+=_}z+=d,C+=b}z+=y,C+=E}}WV.exports=bNr});var KV=c((lce,XV)=>{"use strict";function xNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q;for(j=r.shape,C=r.strides,L=e.strides,r.order==="row-major"?(O=j[9],I=j[8],D=j[7],k=j[6],N=j[5],F=j[4],R=j[3],B=j[2],V=j[1],z=j[0],s=C[9],u=C[8]-O*C[9],v=C[7]-I*C[8],f=C[6]-D*C[7],l=C[5]-k*C[6],p=C[4]-N*C[5],m=C[3]-F*C[4],d=C[2]-R*C[3],y=C[1]-B*C[2],h=C[0]-V*C[1],g=L[9],x=L[8]-O*L[9],S=L[7]-I*L[8],w=L[6]-D*L[7],A=L[5]-k*L[6],_=L[4]-N*L[5],b=L[3]-F*L[4],E=L[2]-R*L[3],q=L[1]-B*L[2],T=L[0]-V*L[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],V=j[8],z=j[9],s=C[0],u=C[1]-O*C[0],v=C[2]-I*C[1],f=C[3]-D*C[2],l=C[4]-k*C[3],p=C[5]-N*C[4],m=C[6]-F*C[5],d=C[7]-R*C[6],y=C[8]-B*C[7],h=C[9]-V*C[8],g=L[0],x=L[1]-O*L[0],S=L[2]-I*L[1],w=L[3]-D*L[2],A=L[4]-k*L[3],_=L[5]-N*L[4],b=L[6]-F*L[5],E=L[7]-R*L[6],q=L[8]-B*L[7],T=L[9]-V*L[8]),P=r.offset,U=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],Q=0;Q<z;Q++){for(H=0;H<V;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++)n(o,U,a(i(t,P))),P+=s,U+=g;P+=u,U+=x}P+=v,U+=S}P+=f,U+=w}P+=l,U+=A}P+=p,U+=_}P+=m,U+=b}P+=d,U+=E}P+=y,U+=q}P+=h,U+=T}}XV.exports=xNr});var rz=c((cce,QV)=>{"use strict";var qNr=Jr(),HV=na(),ZV="throw";function wNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;for(f=r.shape,s=qNr(f),t=r.data,o=e.data,l=r.strides,p=e.strides,m=r.offset,d=e.offset,i=r.order,n=e.order,u=r.accessors[0],v=e.accessors[1],g=0;g<s;g++)y=HV(f,l,m,i,g,ZV),h=HV(f,p,d,n,g,ZV),v(o,h,a(u(t,y)))}QV.exports=wNr});var az=c((dce,ez)=>{"use strict";function SNr(r,e,a){e.data[e.offset]=a(r.data[r.offset])}ez.exports=SNr});var iz=c((pce,tz)=>{"use strict";function ENr(r,e,a){var t,o,i,n,s,u,v,f;for(s=r.shape[0],i=r.strides[0],n=e.strides[0],u=r.offset,v=e.offset,t=r.data,o=e.data,f=0;f<s;f++)o[v]=a(t[u]),u+=i,v+=n}tz.exports=ENr});var nz=c((yce,oz)=>{"use strict";function ANr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;for(v=r.shape,p=r.strides,m=e.strides,r.order==="row-major"?(f=v[1],l=v[0],i=p[1],n=p[0]-f*p[1],s=m[1],u=m[0]-f*m[1]):(f=v[0],l=v[1],i=p[0],n=p[1]-f*p[0],s=m[0],u=m[1]-f*m[0]),d=r.offset,y=e.offset,t=r.data,o=e.data,g=0;g<l;g++){for(h=0;h<f;h++)o[y]=a(t[d]),d+=i,y+=s;d+=n,y+=u}}oz.exports=ANr});var uz=c((mce,sz)=>{"use strict";function _Nr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A;for(l=r.shape,y=r.strides,h=e.strides,r.order==="row-major"?(p=l[2],m=l[1],d=l[0],i=y[2],n=y[1]-p*y[2],s=y[0]-m*y[1],u=h[2],v=h[1]-p*h[2],f=h[0]-m*h[1]):(p=l[0],m=l[1],d=l[2],i=y[0],n=y[1]-p*y[0],s=y[2]-m*y[1],u=h[0],v=h[1]-p*h[0],f=h[2]-m*h[1]),g=r.offset,x=e.offset,t=r.data,o=e.data,A=0;A<d;A++){for(w=0;w<m;w++){for(S=0;S<p;S++)o[x]=a(t[g]),g+=i,x+=u;g+=n,x+=v}g+=s,x+=f}}sz.exports=_Nr});var fz=c((hce,vz)=>{"use strict";function TNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(m=r.shape,x=r.strides,S=e.strides,r.order==="row-major"?(d=m[3],y=m[2],h=m[1],g=m[0],i=x[3],n=x[2]-d*x[3],s=x[1]-y*x[2],u=x[0]-h*x[1],v=S[3],f=S[2]-d*S[3],l=S[1]-y*S[2],p=S[0]-h*S[1]):(d=m[0],y=m[1],h=m[2],g=m[3],i=x[0],n=x[1]-d*x[0],s=x[2]-y*x[1],u=x[3]-h*x[2],v=S[0],f=S[1]-d*S[0],l=S[2]-y*S[1],p=S[3]-h*S[2]),w=r.offset,A=e.offset,t=r.data,o=e.data,q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++){for(_=0;_<d;_++)o[A]=a(t[w]),w+=i,A+=v;w+=n,A+=f}w+=s,A+=l}w+=u,A+=p}}vz.exports=TNr});var cz=c((gce,lz)=>{"use strict";function jNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(y=r.shape,A=r.strides,_=e.strides,r.order==="row-major"?(h=y[4],g=y[3],x=y[2],S=y[1],w=y[0],i=A[4],n=A[3]-h*A[4],s=A[2]-g*A[3],u=A[1]-x*A[2],v=A[0]-S*A[1],f=_[4],l=_[3]-h*_[4],p=_[2]-g*_[3],m=_[1]-x*_[2],d=_[0]-S*_[1]):(h=y[0],g=y[1],x=y[2],S=y[3],w=y[4],i=A[0],n=A[1]-h*A[0],s=A[2]-g*A[1],u=A[3]-x*A[2],v=A[4]-S*A[3],f=_[0],l=_[1]-h*_[0],p=_[2]-g*_[1],m=_[3]-x*_[2],d=_[4]-S*_[3]),b=r.offset,E=e.offset,t=r.data,o=e.data,I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)o[E]=a(t[b]),b+=i,E+=f;b+=n,E+=l}b+=s,E+=p}b+=u,E+=m}b+=v,E+=d}}lz.exports=jNr});var pz=c((bce,dz)=>{"use strict";function INr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F;for(g=r.shape,E=r.strides,q=e.strides,r.order==="row-major"?(x=g[5],S=g[4],w=g[3],A=g[2],_=g[1],b=g[0],i=E[5],n=E[4]-x*E[5],s=E[3]-S*E[4],u=E[2]-w*E[3],v=E[1]-A*E[2],f=E[0]-_*E[1],l=q[5],p=q[4]-x*q[5],m=q[3]-S*q[4],d=q[2]-w*q[3],y=q[1]-A*q[2],h=q[0]-_*q[1]):(x=g[0],S=g[1],w=g[2],A=g[3],_=g[4],b=g[5],i=E[0],n=E[1]-x*E[0],s=E[2]-S*E[1],u=E[3]-w*E[2],v=E[4]-A*E[3],f=E[5]-_*E[4],l=q[0],p=q[1]-x*q[0],m=q[2]-S*q[1],d=q[3]-w*q[2],y=q[4]-A*q[3],h=q[5]-_*q[4]),T=r.offset,j=e.offset,t=r.data,o=e.data,F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<x;O++)o[j]=a(t[T]),T+=i,j+=l;T+=n,j+=p}T+=s,j+=m}T+=u,j+=d}T+=v,j+=y}T+=f,j+=h}}dz.exports=INr});var mz=c((xce,yz)=>{"use strict";function ONr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z;for(S=r.shape,j=r.strides,O=e.strides,r.order==="row-major"?(w=S[6],A=S[5],_=S[4],b=S[3],E=S[2],q=S[1],T=S[0],i=j[6],n=j[5]-w*j[6],s=j[4]-A*j[5],u=j[3]-_*j[4],v=j[2]-b*j[3],f=j[1]-E*j[2],l=j[0]-q*j[1],p=O[6],m=O[5]-w*O[6],d=O[4]-A*O[5],y=O[3]-_*O[4],h=O[2]-b*O[3],g=O[1]-E*O[2],x=O[0]-q*O[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],T=S[6],i=j[0],n=j[1]-w*j[0],s=j[2]-A*j[1],u=j[3]-_*j[2],v=j[4]-b*j[3],f=j[5]-E*j[4],l=j[6]-q*j[5],p=O[0],m=O[1]-w*O[0],d=O[2]-A*O[1],y=O[3]-_*O[2],h=O[4]-b*O[3],g=O[5]-E*O[4],x=O[6]-q*O[5]),I=r.offset,D=e.offset,t=r.data,o=e.data,z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++)o[D]=a(t[I]),I+=i,D+=p;I+=n,D+=m}I+=s,D+=d}I+=u,D+=y}I+=v,D+=h}I+=f,D+=g}I+=l,D+=x}}yz.exports=ONr});var gz=c((qce,hz)=>{"use strict";function NNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U;for(A=r.shape,D=r.strides,k=e.strides,r.order==="row-major"?(_=A[7],b=A[6],E=A[5],q=A[4],T=A[3],j=A[2],O=A[1],I=A[0],i=D[7],n=D[6]-_*D[7],s=D[5]-b*D[6],u=D[4]-E*D[5],v=D[3]-q*D[4],f=D[2]-T*D[3],l=D[1]-j*D[2],p=D[0]-O*D[1],m=k[7],d=k[6]-_*k[7],y=k[5]-b*k[6],h=k[4]-E*k[5],g=k[3]-q*k[4],x=k[2]-T*k[3],S=k[1]-j*k[2],w=k[0]-O*k[1]):(_=A[0],b=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],I=A[7],i=D[0],n=D[1]-_*D[0],s=D[2]-b*D[1],u=D[3]-E*D[2],v=D[4]-q*D[3],f=D[5]-T*D[4],l=D[6]-j*D[5],p=D[7]-O*D[6],m=k[0],d=k[1]-_*k[0],y=k[2]-b*k[1],h=k[3]-E*k[2],g=k[4]-q*k[3],x=k[5]-T*k[4],S=k[6]-j*k[5],w=k[7]-O*k[6]),N=r.offset,F=e.offset,t=r.data,o=e.data,U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++){for(B=0;B<b;B++){for(R=0;R<_;R++)o[F]=a(t[N]),N+=i,F+=m;N+=n,F+=d}N+=s,F+=y}N+=u,F+=h}N+=v,F+=g}N+=f,F+=x}N+=l,F+=S}N+=p,F+=w}}hz.exports=NNr});var xz=c((wce,bz)=>{"use strict";function DNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y;for(b=r.shape,F=r.strides,R=e.strides,r.order==="row-major"?(E=b[8],q=b[7],T=b[6],j=b[5],O=b[4],I=b[3],D=b[2],k=b[1],N=b[0],i=F[8],n=F[7]-E*F[8],s=F[6]-q*F[7],u=F[5]-T*F[6],v=F[4]-j*F[5],f=F[3]-O*F[4],l=F[2]-I*F[3],p=F[1]-D*F[2],m=F[0]-k*F[1],d=R[8],y=R[7]-E*R[8],h=R[6]-q*R[7],g=R[5]-T*R[6],x=R[4]-j*R[5],S=R[3]-O*R[4],w=R[2]-I*R[3],A=R[1]-D*R[2],_=R[0]-k*R[1]):(E=b[0],q=b[1],T=b[2],j=b[3],O=b[4],I=b[5],D=b[6],k=b[7],N=b[8],i=F[0],n=F[1]-E*F[0],s=F[2]-q*F[1],u=F[3]-T*F[2],v=F[4]-j*F[3],f=F[5]-O*F[4],l=F[6]-I*F[5],p=F[7]-D*F[6],m=F[8]-k*F[7],d=R[0],y=R[1]-E*R[0],h=R[2]-q*R[1],g=R[3]-T*R[2],x=R[4]-j*R[3],S=R[5]-O*R[4],w=R[6]-I*R[5],A=R[7]-D*R[6],_=R[8]-k*R[7]),B=r.offset,V=e.offset,t=r.data,o=e.data,Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++){for(C=0;C<q;C++){for(z=0;z<E;z++)o[V]=a(t[B]),B+=i,V+=d;B+=n,V+=y}B+=s,V+=h}B+=u,V+=g}B+=v,V+=x}B+=f,V+=S}B+=l,V+=w}B+=p,V+=A}B+=m,V+=_}}bz.exports=DNr});var wz=c((Sce,qz)=>{"use strict";function kNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K;for(q=r.shape,V=r.strides,z=e.strides,r.order==="row-major"?(T=q[9],j=q[8],O=q[7],I=q[6],D=q[5],k=q[4],N=q[3],F=q[2],R=q[1],B=q[0],i=V[9],n=V[8]-T*V[9],s=V[7]-j*V[8],u=V[6]-O*V[7],v=V[5]-I*V[6],f=V[4]-D*V[5],l=V[3]-k*V[4],p=V[2]-N*V[3],m=V[1]-F*V[2],d=V[0]-R*V[1],y=z[9],h=z[8]-T*z[9],g=z[7]-j*z[8],x=z[6]-O*z[7],S=z[5]-I*z[6],w=z[4]-D*z[5],A=z[3]-k*z[4],_=z[2]-N*z[3],b=z[1]-F*z[2],E=z[0]-R*z[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],B=q[9],i=V[0],n=V[1]-T*V[0],s=V[2]-j*V[1],u=V[3]-O*V[2],v=V[4]-I*V[3],f=V[5]-D*V[4],l=V[6]-k*V[5],p=V[7]-N*V[6],m=V[8]-F*V[7],d=V[9]-R*V[8],y=z[0],h=z[1]-T*z[0],g=z[2]-j*z[1],x=z[3]-O*z[2],S=z[4]-I*z[3],w=z[5]-D*z[4],A=z[6]-k*z[5],_=z[7]-N*z[6],b=z[8]-F*z[7],E=z[9]-R*z[8]),C=r.offset,L=e.offset,t=r.data,o=e.data,K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(U=0;U<j;U++){for(P=0;P<T;P++)o[L]=a(t[C]),C+=i,L+=y;C+=n,L+=h}C+=s,L+=g}C+=u,L+=x}C+=v,L+=S}C+=f,L+=w}C+=l,L+=A}C+=p,L+=_}C+=m,L+=b}C+=d,L+=E}}qz.exports=kNr});var _z=c((Ece,Az)=>{"use strict";var BNr=Jr(),Sz=na(),Ez="throw";function FNr(r,e,a){var t,o,i,n,s,u,v,f,l,p,m,d,y;for(u=r.shape,s=BNr(u),t=r.data,o=e.data,v=r.strides,f=e.strides,l=r.offset,p=e.offset,i=r.order,n=e.order,y=0;y<s;y++)m=Sz(u,v,l,i,y,Ez),d=Sz(u,f,p,n,y,Ez),o[d]=a(t[m])}Az.exports=FNr});var Dz=c((Ace,Nz)=>{"use strict";var Tz=Sa(),jz=et(),Iz=ri(),RNr=JR(),VNr=KR(),zNr=ZR(),CNr=rV(),LNr=aV(),PNr=iV(),UNr=nV(),MNr=uV(),GNr=fV(),YNr=cV(),$Nr=pV(),WNr=mV(),JNr=gV(),XNr=xV(),KNr=wV(),HNr=EV(),ZNr=_V(),QNr=jV(),rDr=OV(),eDr=DV(),aDr=BV(),tDr=RV(),iDr=zV(),oDr=LV(),nDr=UV(),sDr=GV(),uDr=$V(),vDr=JV(),fDr=KV(),lDr=rz(),cDr=az(),dDr=iz(),pDr=nz(),yDr=uz(),mDr=fz(),hDr=cz(),gDr=pz(),bDr=mz(),xDr=gz(),qDr=xz(),wDr=wz(),SDr=_z(),Ti=[cDr,dDr,pDr,yDr,mDr,hDr,gDr,bDr,xDr,qDr,wDr],Do=[rDr,eDr,aDr,tDr,iDr,oDr,nDr,sDr,uDr,vDr,fDr],EDr=[YNr,$Nr,WNr,JNr,XNr,KNr,HNr,ZNr,QNr],ADr=[RNr,VNr,zNr,CNr,LNr,PNr,UNr,MNr,GNr],Oz=Ti.length-1;function _Dr(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x;if(y=Iz(r[0]),h=Iz(r[1]),i=y.shape,n=h.shape,a=i.length,a!==n.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+a+". ndims(y) == "+n.length+".");if(a===0)return y.accessorProtocol||h.accessorProtocol?Do[a](y,h,e):Ti[a](y,h,e);for(v=1,d=0,x=0;x<a;x++){if(g=i[x],g!==n[x])throw new Error("invalid arguments. Arrays must have the same shape.");v*=g,g===1&&(d+=1)}if(v!==0){if(a===1)return y.accessorProtocol||h.accessorProtocol?Do[a](y,h,e):Ti[a](y,h,e);if(f=y.strides,l=h.strides,d===a-1){for(x=0;x<a&&i[x]===1;x++);return y.shape=[i[x]],h.shape=y.shape,y.strides=[f[x]],h.strides=[l[x]],y.accessorProtocol||h.accessorProtocol?Do[1](y,h,e):Ti[1](y,h,e)}if(s=Tz(f),u=Tz(l),s!==0&&u!==0&&s===u){if(t=jz(i,f,y.offset),o=jz(n,l,h.offset),v===t[1]-t[0]+1&&v===o[1]-o[0]+1)return s===1?p=t[0]:p=t[1],u===1?m=o[0]:m=o[1],y.shape=[v],h.shape=y.shape,y.strides=[s],h.strides=[u],y.offset=p,h.offset=m,y.accessorProtocol||h.accessorProtocol?Do[1](y,h,e):Ti[1](y,h,e);if(a<=Oz)return y.accessorProtocol||h.accessorProtocol?Do[a](y,h,e):Ti[a](y,h,e)}if(a<=Oz)return y.accessorProtocol||h.accessorProtocol?ADr[a-2](y,h,e):EDr[a-2](y,h,e);if(y.accessorProtocol||h.accessorProtocol)return lDr(y,h,e);SDr(y,h,e)}}Nz.exports=_Dr});var Bz=c((_ce,kz)=>{"use strict";var TDr=Dz();kz.exports=TDr});var Rz=c((Tce,Fz)=>{"use strict";var jDr=Fr(),IDr=Br();function ODr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k;for(I=jDr(r.shape,r.strides,e.strides),h=I.sh,S=I.sx,w=I.sy,i=IDr(r.dtype,e.dtype),A=r.offset,_=e.offset,n=r.data,s=e.data,f=S[0],p=w[0],u=r.accessors[0],v=e.accessors[1],k=0,O=h[1];O>0;)for(O<i?(x=O,O=0):(x=i,O-=i),d=A+O*S[1],y=_+O*w[1],j=h[0];j>0;)for(j<i?(g=j,j=0):(g=i,j-=i),b=d+j*S[0],E=y+j*w[0],l=S[1]-g*S[0],m=w[1]-g*w[0],T=0;T<x;T++){for(q=0;q<g;q++)D=t.call(o,u(n,b),k,[b,E],[r,e]),D!==void 0&&v(s,E,a(D)),b+=f,E+=p,k+=1;b+=l,E+=m}}Fz.exports=ODr});var zz=c((jce,Vz)=>{"use strict";var NDr=Fr(),DDr=Br();function kDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(V=NDr(r.shape,r.strides,e.strides),w=V.sh,E=V.sx,q=V.sy,i=DDr(r.dtype,e.dtype),T=r.offset,j=e.offset,n=r.data,s=e.data,f=E[0],m=q[0],u=r.accessors[0],v=e.accessors[1],C=0,B=w[2];B>0;)for(B<i?(b=B,B=0):(b=i,B-=i),g=T+B*E[2],S=j+B*q[2],R=w[1];R>0;)for(R<i?(_=R,R=0):(_=i,R-=i),p=E[2]-_*E[1],y=q[2]-_*q[1],h=g+R*E[1],x=S+R*q[1],F=w[0];F>0;)for(F<i?(A=F,F=0):(A=i,F-=i),O=h+F*E[0],I=x+F*q[0],l=E[1]-A*E[0],d=q[1]-A*q[0],N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++)z=t.call(o,u(n,O),C,[O,I],[r,e]),z!==void 0&&v(s,I,a(z)),O+=f,I+=m,C+=1;O+=l,I+=d}O+=p,I+=y}}Vz.exports=kDr});var Lz=c((Ice,Cz)=>{"use strict";var BDr=Fr(),FDr=Br();function RDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y;for(G=BDr(r.shape,r.strides,e.strides),E=G.sh,I=G.sx,D=G.sy,i=FDr(r.dtype,e.dtype),k=r.offset,N=e.offset,n=r.data,s=e.data,f=I[0],d=D[0],u=r.accessors[0],v=e.accessors[1],Y=0,M=E[3];M>0;)for(M<i?(O=M,M=0):(O=i,M-=i),w=k+M*I[3],b=N+M*D[3],U=E[2];U>0;)for(U<i?(j=U,U=0):(j=i,U-=i),m=I[3]-j*I[2],g=D[3]-j*D[2],S=w+U*I[2],_=b+U*D[2],P=E[1];P>0;)for(P<i?(T=P,P=0):(T=i,P-=i),p=I[2]-T*I[1],h=D[2]-T*D[1],x=S+P*I[1],A=_+P*D[1],L=E[0];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),F=x+L*I[0],R=A+L*D[0],l=I[1]-q*I[0],y=D[1]-q*D[0],C=0;C<O;C++){for(z=0;z<j;z++){for(V=0;V<T;V++){for(B=0;B<q;B++)$=t.call(o,u(n,F),Y,[F,R],[r,e]),$!==void 0&&v(s,R,a($)),F+=f,R+=d,Y+=1;F+=l,R+=y}F+=p,R+=h}F+=m,R+=g}}Cz.exports=RDr});var Uz=c((Oce,Pz)=>{"use strict";var VDr=Fr(),zDr=Br();function CDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z;for(H=VDr(r.shape,r.strides,e.strides),O=H.sh,R=H.sx,B=H.sy,i=zDr(r.dtype,e.dtype),V=r.offset,z=e.offset,n=r.data,s=e.data,f=R[0],y=B[0],u=r.accessors[0],v=e.accessors[1],Z=0,K=O[4];K>0;)for(K<i?(F=K,K=0):(F=i,K-=i),b=V+K*R[4],j=z+K*B[4],X=O[3];X>0;)for(X<i?(N=X,X=0):(N=i,X-=i),d=R[4]-N*R[3],S=B[4]-N*B[3],_=b+X*R[3],T=j+X*B[3],J=O[2];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),m=R[3]-k*R[2],x=B[3]-k*B[2],A=_+J*R[2],q=T+J*B[2],W=O[1];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),p=R[2]-D*R[1],g=B[2]-D*B[1],w=A+W*R[1],E=q+W*B[1],Y=O[0];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),C=w+Y*R[0],L=E+Y*B[0],l=R[1]-I*R[0],h=B[1]-I*B[0],$=0;$<F;$++){for(G=0;G<N;G++){for(M=0;M<k;M++){for(U=0;U<D;U++){for(P=0;P<I;P++)Q=t.call(o,u(n,C),Z,[C,L],[r,e]),Q!==void 0&&v(s,L,a(Q)),C+=f,L+=y,Z+=1;C+=l,L+=h}C+=p,L+=g}C+=m,L+=x}C+=d,L+=S}}Pz.exports=CDr});var Gz=c((Nce,Mz)=>{"use strict";var LDr=Fr(),PDr=Br();function UDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(tr=LDr(r.shape,r.strides,e.strides),N=tr.sh,L=tr.sx,P=tr.sy,i=PDr(r.dtype,e.dtype),U=r.offset,M=e.offset,n=r.data,s=e.data,f=L[0],h=P[0],u=r.accessors[0],v=e.accessors[1],nr=0,ir=N[5];ir>0;)for(ir<i?(C=ir,ir=0):(C=i,ir-=i),T=U+ir*L[5],k=M+ir*P[5],er=N[4];er>0;)for(er<i?(z=er,er=0):(z=i,er-=i),y=L[5]-z*L[4],A=P[5]-z*P[4],q=T+er*L[4],D=k+er*P[4],ar=N[3];ar>0;)for(ar<i?(V=ar,ar=0):(V=i,ar-=i),d=L[4]-V*L[3],w=P[4]-V*P[3],E=q+ar*L[3],I=D+ar*P[3],rr=N[2];rr>0;)for(rr<i?(B=rr,rr=0):(B=i,rr-=i),m=L[3]-B*L[2],S=P[3]-B*P[2],b=E+rr*L[2],O=I+rr*P[2],Z=N[1];Z>0;)for(Z<i?(R=Z,Z=0):(R=i,Z-=i),p=L[2]-R*L[1],x=P[2]-R*P[1],_=b+Z*L[1],j=O+Z*P[1],Q=N[0];Q>0;)for(Q<i?(F=Q,Q=0):(F=i,Q-=i),G=_+Q*L[0],$=j+Q*P[0],l=L[1]-F*L[0],g=P[1]-F*P[0],H=0;H<C;H++){for(K=0;K<z;K++){for(X=0;X<V;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++)or=t.call(o,u(n,G),nr,[G,$],[r,e]),or!==void 0&&v(s,$,a(or)),G+=f,$+=h,nr+=1;G+=l,$+=g}G+=p,$+=x}G+=m,$+=S}G+=d,$+=w}G+=y,$+=A}}Mz.exports=UDr});var $z=c((Dce,Yz)=>{"use strict";var MDr=Fr(),GDr=Br();function YDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr;for(fr=MDr(r.shape,r.strides,e.strides),V=fr.sh,$=fr.sx,Y=fr.sy,i=GDr(r.dtype,e.dtype),W=r.offset,J=e.offset,n=r.data,s=e.data,f=$[0],g=Y[0],u=r.accessors[0],v=e.accessors[1],dr=0,lr=V[6];lr>0;)for(lr<i?(G=lr,lr=0):(G=i,lr-=i),I=W+lr*$[6],B=J+lr*Y[6],vr=V[5];vr>0;)for(vr<i?(M=vr,vr=0):(M=i,vr-=i),h=$[6]-M*$[5],b=Y[6]-M*Y[5],O=I+vr*$[5],R=B+vr*Y[5],ur=V[4];ur>0;)for(ur<i?(U=ur,ur=0):(U=i,ur-=i),y=$[5]-U*$[4],_=Y[5]-U*Y[4],j=O+ur*$[4],F=R+ur*Y[4],sr=V[3];sr>0;)for(sr<i?(P=sr,sr=0):(P=i,sr-=i),d=$[4]-P*$[3],A=Y[4]-P*Y[3],T=j+sr*$[3],N=F+sr*Y[3],nr=V[2];nr>0;)for(nr<i?(L=nr,nr=0):(L=i,nr-=i),m=$[3]-L*$[2],w=Y[3]-L*Y[2],q=T+nr*$[2],k=N+nr*Y[2],or=V[1];or>0;)for(or<i?(C=or,or=0):(C=i,or-=i),p=$[2]-C*$[1],S=Y[2]-C*Y[1],E=q+or*$[1],D=k+or*Y[1],tr=V[0];tr>0;)for(tr<i?(z=tr,tr=0):(z=i,tr-=i),X=E+tr*$[0],K=D+tr*Y[0],l=$[1]-z*$[0],x=Y[1]-z*Y[0],ir=0;ir<G;ir++){for(er=0;er<M;er++){for(ar=0;ar<U;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<C;Q++){for(H=0;H<z;H++)yr=t.call(o,u(n,X),dr,[X,K],[r,e]),yr!==void 0&&v(s,K,a(yr)),X+=f,K+=g,dr+=1;X+=l,K+=x}X+=p,K+=S}X+=m,K+=w}X+=d,K+=A}X+=y,K+=_}X+=h,K+=b}}Yz.exports=YDr});var Jz=c((kce,Wz)=>{"use strict";var $Dr=Fr(),WDr=Br();function JDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr;for(xr=$Dr(r.shape,r.strides,e.strides),P=xr.sh,K=xr.sx,H=xr.sy,i=WDr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,n=r.data,s=e.data,f=K[0],x=H[0],u=r.accessors[0],v=e.accessors[1],gr=0,wr=P[7];wr>0;)for(wr<i?(X=wr,wr=0):(X=i,wr-=i),N=Q+wr*K[7],L=Z+wr*H[7],br=P[6];br>0;)for(br<i?(J=br,br=0):(J=i,br-=i),g=K[7]-J*K[6],q=H[7]-J*H[6],k=N+br*K[6],C=L+br*H[6],hr=P[5];hr>0;)for(hr<i?(W=hr,hr=0):(W=i,hr-=i),h=K[6]-W*K[5],E=H[6]-W*H[5],D=k+hr*K[5],z=C+hr*H[5],mr=P[4];mr>0;)for(mr<i?(Y=mr,mr=0):(Y=i,mr-=i),y=K[5]-Y*K[4],b=H[5]-Y*H[4],I=D+mr*K[4],V=z+mr*H[4],dr=P[3];dr>0;)for(dr<i?($=dr,dr=0):($=i,dr-=i),d=K[4]-$*K[3],_=H[4]-$*H[3],O=I+dr*K[3],B=V+dr*H[3],yr=P[2];yr>0;)for(yr<i?(G=yr,yr=0):(G=i,yr-=i),m=K[3]-G*K[2],A=H[3]-G*H[2],j=O+yr*K[2],R=B+yr*H[2],fr=P[1];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),p=K[2]-M*K[1],w=H[2]-M*H[1],T=j+fr*K[1],F=R+fr*H[1],lr=P[0];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),rr=T+lr*K[0],ar=F+lr*H[0],l=K[1]-U*K[0],S=H[1]-U*H[0],vr=0;vr<X;vr++){for(ur=0;ur<J;ur++){for(sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++)qr=t.call(o,u(n,rr),gr,[rr,ar],[r,e]),qr!==void 0&&v(s,ar,a(qr)),rr+=f,ar+=x,gr+=1;rr+=l,ar+=S}rr+=p,ar+=w}rr+=m,ar+=A}rr+=d,ar+=_}rr+=y,ar+=b}rr+=h,ar+=E}rr+=g,ar+=q}}Wz.exports=JDr});var Kz=c((Bce,Xz)=>{"use strict";var XDr=Fr(),KDr=Br();function HDr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr;for(Or=XDr(r.shape,r.strides,e.strides),$=Or.sh,ar=Or.sx,er=Or.sy,i=KDr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,n=r.data,s=e.data,f=ar[0],S=er[0],u=r.accessors[0],v=e.accessors[1],Rr=0,jr=$[8];jr>0;)for(jr<i?(rr=jr,jr=0):(rr=i,jr-=i),B=ir+jr*ar[8],G=tr+jr*er[8],Tr=$[7];Tr>0;)for(Tr<i?(Z=Tr,Tr=0):(Z=i,Tr-=i),x=ar[8]-Z*ar[7],j=er[8]-Z*er[7],R=B+Tr*ar[7],M=G+Tr*er[7],_r=$[6];_r>0;)for(_r<i?(Q=_r,_r=0):(Q=i,_r-=i),g=ar[7]-Q*ar[6],T=er[7]-Q*er[6],F=R+_r*ar[6],U=M+_r*er[6],Ar=$[5];Ar>0;)for(Ar<i?(H=Ar,Ar=0):(H=i,Ar-=i),h=ar[6]-H*ar[5],q=er[6]-H*er[5],N=F+Ar*ar[5],P=U+Ar*er[5],gr=$[4];gr>0;)for(gr<i?(K=gr,gr=0):(K=i,gr-=i),y=ar[5]-K*ar[4],E=er[5]-K*er[4],k=N+gr*ar[4],L=P+gr*er[4],qr=$[3];qr>0;)for(qr<i?(X=qr,qr=0):(X=i,qr-=i),d=ar[4]-X*ar[3],b=er[4]-X*er[3],D=k+qr*ar[3],C=L+qr*er[3],xr=$[2];xr>0;)for(xr<i?(J=xr,xr=0):(J=i,xr-=i),m=ar[3]-J*ar[2],_=er[3]-J*er[2],I=D+xr*ar[2],z=C+xr*er[2],wr=$[1];wr>0;)for(wr<i?(W=wr,wr=0):(W=i,wr-=i),p=ar[2]-W*ar[1],A=er[2]-W*er[1],O=I+wr*ar[1],V=z+wr*er[1],br=$[0];br>0;)for(br<i?(Y=br,br=0):(Y=i,br-=i),or=O+br*ar[0],nr=V+br*er[0],l=ar[1]-Y*ar[0],w=er[1]-Y*er[0],hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++)kr=t.call(o,u(n,or),Rr,[or,nr],[r,e]),kr!==void 0&&v(s,nr,a(kr)),or+=f,nr+=S,Rr+=1;or+=l,nr+=w}or+=p,nr+=A}or+=m,nr+=_}or+=d,nr+=b}or+=y,nr+=E}or+=h,nr+=q}or+=g,nr+=T}or+=x,nr+=j}}Xz.exports=HDr});var Zz=c((Fce,Hz)=>{"use strict";var ZDr=Fr(),QDr=Br();function rkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr,Hr,ie,Ne,ua,mt,Ls,Ps;for(mt=ZDr(r.shape,r.strides,e.strides),X=mt.sh,nr=mt.sx,sr=mt.sy,i=QDr(r.dtype,e.dtype),ur=r.offset,vr=e.offset,n=r.data,s=e.data,f=nr[0],w=sr[0],u=r.accessors[0],v=e.accessors[1],Ps=0,ua=X[9];ua>0;)for(ua<i?(or=ua,ua=0):(or=i,ua-=i),C=ur+ua*nr[9],J=vr+ua*sr[9],Ne=X[8];Ne>0;)for(Ne<i?(tr=Ne,Ne=0):(tr=i,Ne-=i),S=nr[9]-tr*nr[8],I=sr[9]-tr*sr[8],z=C+Ne*nr[8],W=J+Ne*sr[8],ie=X[7];ie>0;)for(ie<i?(ir=ie,ie=0):(ir=i,ie-=i),x=nr[8]-ir*nr[7],O=sr[8]-ir*sr[7],V=z+ie*nr[7],Y=W+ie*sr[7],Hr=X[6];Hr>0;)for(Hr<i?(er=Hr,Hr=0):(er=i,Hr-=i),g=nr[7]-er*nr[6],j=sr[7]-er*sr[6],B=V+Hr*nr[6],$=Y+Hr*sr[6],Rr=X[5];Rr>0;)for(Rr<i?(ar=Rr,Rr=0):(ar=i,Rr-=i),h=nr[6]-ar*nr[5],T=sr[6]-ar*sr[5],R=B+Rr*nr[5],G=$+Rr*sr[5],kr=X[4];kr>0;)for(kr<i?(rr=kr,kr=0):(rr=i,kr-=i),y=nr[5]-rr*nr[4],q=sr[5]-rr*sr[4],F=R+kr*nr[4],M=G+kr*sr[4],Or=X[3];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),d=nr[4]-Z*nr[3],E=sr[4]-Z*sr[3],N=F+Or*nr[3],U=M+Or*sr[3],jr=X[2];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),m=nr[3]-Q*nr[2],b=sr[3]-Q*sr[2],k=N+jr*nr[2],P=U+jr*sr[2],Tr=X[1];Tr>0;)for(Tr<i?(H=Tr,Tr=0):(H=i,Tr-=i),p=nr[2]-H*nr[1],_=sr[2]-H*sr[1],D=k+Tr*nr[1],L=P+Tr*sr[1],_r=X[0];_r>0;)for(_r<i?(K=_r,_r=0):(K=i,_r-=i),lr=D+_r*nr[0],fr=L+_r*sr[0],l=nr[1]-K*nr[0],A=sr[1]-K*sr[0],Ar=0;Ar<or;Ar++){for(gr=0;gr<tr;gr++){for(qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++)Ls=t.call(o,u(n,lr),Ps,[lr,fr],[r,e]),Ls!==void 0&&v(s,fr,a(Ls)),lr+=f,fr+=w,Ps+=1;lr+=l,fr+=A}lr+=p,fr+=_}lr+=m,fr+=b}lr+=d,fr+=E}lr+=y,fr+=q}lr+=h,fr+=T}lr+=g,fr+=j}lr+=x,fr+=O}lr+=S,fr+=I}}Hz.exports=rkr});var rC=c((Rce,Qz)=>{"use strict";var ekr=Fr(),akr=Br();function tkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(j=ekr(r.shape,r.strides,e.strides),d=j.sh,g=j.sx,x=j.sy,i=akr(r.dtype,e.dtype),S=r.offset,w=e.offset,n=r.data,s=e.data,u=g[0],f=x[0],I=0,T=d[1];T>0;)for(T<i?(h=T,T=0):(h=i,T-=i),p=S+T*g[1],m=w+T*x[1],q=d[0];q>0;)for(q<i?(y=q,q=0):(y=i,q-=i),A=p+q*g[0],_=m+q*x[0],v=g[1]-y*g[0],l=x[1]-y*x[0],E=0;E<h;E++){for(b=0;b<y;b++)O=t.call(o,n[A],I,[A,_],[r,e]),O!==void 0&&(s[_]=a(O)),A+=u,_+=f,I+=1;A+=v,_+=l}}Qz.exports=tkr});var aC=c((Vce,eC)=>{"use strict";var ikr=Fr(),okr=Br();function nkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V;for(R=ikr(r.shape,r.strides,e.strides),x=R.sh,_=R.sx,b=R.sy,i=okr(r.dtype,e.dtype),E=r.offset,q=e.offset,n=r.data,s=e.data,u=_[0],l=b[0],V=0,F=x[2];F>0;)for(F<i?(A=F,F=0):(A=i,F-=i),y=E+F*_[2],g=q+F*b[2],N=x[1];N>0;)for(N<i?(w=N,N=0):(w=i,N-=i),f=_[2]-w*_[1],m=b[2]-w*b[1],d=y+N*_[1],h=g+N*b[1],k=x[0];k>0;)for(k<i?(S=k,k=0):(S=i,k-=i),T=d+k*_[0],j=h+k*b[0],v=_[1]-S*_[0],p=b[1]-S*b[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)B=t.call(o,n[T],V,[T,j],[r,e]),B!==void 0&&(s[j]=a(B)),T+=u,j+=l,V+=1;T+=v,j+=p}T+=f,j+=m}}eC.exports=nkr});var iC=c((zce,tC)=>{"use strict";var skr=Fr(),ukr=Br();function vkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G;for(U=skr(r.shape,r.strides,e.strides),_=U.sh,j=U.sx,O=U.sy,i=ukr(r.dtype,e.dtype),I=r.offset,D=e.offset,n=r.data,s=e.data,u=j[0],p=O[0],G=0,P=_[3];P>0;)for(P<i?(T=P,P=0):(T=i,P-=i),x=I+P*j[3],A=D+P*O[3],L=_[2];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),l=j[3]-q*j[2],y=O[3]-q*O[2],g=x+L*j[2],w=A+L*O[2],C=_[1];C>0;)for(C<i?(E=C,C=0):(E=i,C-=i),f=j[2]-E*j[1],d=O[2]-E*O[1],h=g+C*j[1],S=w+C*O[1],z=_[0];z>0;)for(z<i?(b=z,z=0):(b=i,z-=i),k=h+z*j[0],N=S+z*O[0],v=j[1]-b*j[0],m=O[1]-b*O[0],V=0;V<T;V++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++)M=t.call(o,n[k],G,[k,N],[r,e]),M!==void 0&&(s[N]=a(M)),k+=u,N+=p,G+=1;k+=v,N+=m}k+=f,N+=d}k+=l,N+=y}}tC.exports=vkr});var nC=c((Cce,oC)=>{"use strict";var fkr=Fr(),lkr=Br();function ckr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H;for(X=fkr(r.shape,r.strides,e.strides),T=X.sh,N=X.sx,F=X.sy,i=lkr(r.dtype,e.dtype),R=r.offset,B=e.offset,n=r.data,s=e.data,u=N[0],m=F[0],H=0,J=T[4];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),A=R+J*N[4],q=B+J*F[4],W=T[3];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),p=N[4]-D*N[3],g=F[4]-D*F[3],w=A+W*N[3],E=q+W*F[3],Y=T[2];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),l=N[3]-I*N[2],h=F[3]-I*F[2],S=w+Y*N[2],b=E+Y*F[2],$=T[1];$>0;)for($<i?(O=$,$=0):(O=i,$-=i),f=N[2]-O*N[1],y=F[2]-O*F[1],x=S+$*N[1],_=b+$*F[1],G=T[0];G>0;)for(G<i?(j=G,G=0):(j=i,G-=i),V=x+G*N[0],z=_+G*F[0],v=N[1]-j*N[0],d=F[1]-j*F[0],M=0;M<k;M++){for(U=0;U<D;U++){for(P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++)K=t.call(o,n[V],H,[V,z],[r,e]),K!==void 0&&(s[z]=a(K)),V+=u,z+=m,H+=1;V+=v,z+=d}V+=f,z+=y}V+=l,z+=h}V+=p,z+=g}}oC.exports=ckr});var uC=c((Lce,sC)=>{"use strict";var dkr=Fr(),pkr=Br();function ykr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(er=dkr(r.shape,r.strides,e.strides),D=er.sh,z=er.sx,C=er.sy,i=pkr(r.dtype,e.dtype),L=r.offset,P=e.offset,n=r.data,s=e.data,u=z[0],d=C[0],tr=0,ar=D[5];ar>0;)for(ar<i?(V=ar,ar=0):(V=i,ar-=i),E=L+ar*z[5],I=P+ar*C[5],rr=D[4];rr>0;)for(rr<i?(B=rr,rr=0):(B=i,rr-=i),m=z[5]-B*z[4],S=C[5]-B*C[4],b=E+rr*z[4],O=I+rr*C[4],Z=D[3];Z>0;)for(Z<i?(R=Z,Z=0):(R=i,Z-=i),p=z[4]-R*z[3],x=C[4]-R*C[3],_=b+Z*z[3],j=O+Z*C[3],Q=D[2];Q>0;)for(Q<i?(F=Q,Q=0):(F=i,Q-=i),l=z[3]-F*z[2],g=C[3]-F*C[2],A=_+Q*z[2],T=j+Q*C[2],H=D[1];H>0;)for(H<i?(N=H,H=0):(N=i,H-=i),f=z[2]-N*z[1],h=C[2]-N*C[1],w=A+H*z[1],q=T+H*C[1],K=D[0];K>0;)for(K<i?(k=K,K=0):(k=i,K-=i),U=w+K*z[0],M=q+K*C[0],v=z[1]-k*z[0],y=C[1]-k*C[0],X=0;X<V;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++)ir=t.call(o,n[U],tr,[U,M],[r,e]),ir!==void 0&&(s[M]=a(ir)),U+=u,M+=d,tr+=1;U+=v,M+=y}U+=f,M+=h}U+=l,M+=g}U+=p,M+=x}U+=m,M+=S}}sC.exports=ykr});var fC=c((Pce,vC)=>{"use strict";var mkr=Fr(),hkr=Br();function gkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr;for(vr=mkr(r.shape,r.strides,e.strides),R=vr.sh,M=vr.sx,G=vr.sy,i=hkr(r.dtype,e.dtype),$=r.offset,Y=e.offset,n=r.data,s=e.data,u=M[0],y=G[0],fr=0,ur=R[6];ur>0;)for(ur<i?(U=ur,ur=0):(U=i,ur-=i),j=$+ur*M[6],F=Y+ur*G[6],sr=R[5];sr>0;)for(sr<i?(P=sr,sr=0):(P=i,sr-=i),d=M[6]-P*M[5],A=G[6]-P*G[5],T=j+sr*M[5],N=F+sr*G[5],nr=R[4];nr>0;)for(nr<i?(L=nr,nr=0):(L=i,nr-=i),m=M[5]-L*M[4],w=G[5]-L*G[4],q=T+nr*M[4],k=N+nr*G[4],or=R[3];or>0;)for(or<i?(C=or,or=0):(C=i,or-=i),p=M[4]-C*M[3],S=G[4]-C*G[3],E=q+or*M[3],D=k+or*G[3],tr=R[2];tr>0;)for(tr<i?(z=tr,tr=0):(z=i,tr-=i),l=M[3]-z*M[2],x=G[3]-z*G[2],b=E+tr*M[2],I=D+tr*G[2],ir=R[1];ir>0;)for(ir<i?(V=ir,ir=0):(V=i,ir-=i),f=M[2]-V*M[1],g=G[2]-V*G[1],_=b+ir*M[1],O=I+ir*G[1],er=R[0];er>0;)for(er<i?(B=er,er=0):(B=i,er-=i),W=_+er*M[0],J=O+er*G[0],v=M[1]-B*M[0],h=G[1]-B*G[0],ar=0;ar<U;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<C;Q++){for(H=0;H<z;H++){for(K=0;K<V;K++){for(X=0;X<B;X++)lr=t.call(o,n[W],fr,[W,J],[r,e]),lr!==void 0&&(s[J]=a(lr)),W+=u,J+=y,fr+=1;W+=v,J+=h}W+=f,J+=g}W+=l,J+=x}W+=p,J+=S}W+=m,J+=w}W+=d,J+=A}}vC.exports=gkr});var cC=c((Uce,lC)=>{"use strict";var bkr=Fr(),xkr=Br();function qkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr;for(br=bkr(r.shape,r.strides,e.strides),C=br.sh,J=br.sx,X=br.sy,i=xkr(r.dtype,e.dtype),K=r.offset,H=e.offset,n=r.data,s=e.data,u=J[0],h=X[0],xr=0,hr=C[7];hr>0;)for(hr<i?(W=hr,hr=0):(W=i,hr-=i),D=K+hr*J[7],z=H+hr*X[7],mr=C[6];mr>0;)for(mr<i?(Y=mr,mr=0):(Y=i,mr-=i),y=J[7]-Y*J[6],b=X[7]-Y*X[6],I=D+mr*J[6],V=z+mr*X[6],dr=C[5];dr>0;)for(dr<i?($=dr,dr=0):($=i,dr-=i),d=J[6]-$*J[5],_=X[6]-$*X[5],O=I+dr*J[5],B=V+dr*X[5],yr=C[4];yr>0;)for(yr<i?(G=yr,yr=0):(G=i,yr-=i),m=J[5]-G*J[4],A=X[5]-G*X[4],j=O+yr*J[4],R=B+yr*X[4],fr=C[3];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),p=J[4]-M*J[3],w=X[4]-M*X[3],T=j+fr*J[3],F=R+fr*X[3],lr=C[2];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),l=J[3]-U*J[2],S=X[3]-U*X[2],q=T+lr*J[2],N=F+lr*X[2],vr=C[1];vr>0;)for(vr<i?(P=vr,vr=0):(P=i,vr-=i),f=J[2]-P*J[1],x=X[2]-P*X[1],E=q+vr*J[1],k=N+vr*X[1],ur=C[0];ur>0;)for(ur<i?(L=ur,ur=0):(L=i,ur-=i),Q=E+ur*J[0],Z=k+ur*X[0],v=J[1]-L*J[0],g=X[1]-L*X[0],sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<L;rr++)wr=t.call(o,n[Q],xr,[Q,Z],[r,e]),wr!==void 0&&(s[Z]=a(wr)),Q+=u,Z+=h,xr+=1;Q+=v,Z+=g}Q+=f,Z+=x}Q+=l,Z+=S}Q+=p,Z+=w}Q+=m,Z+=A}Q+=d,Z+=_}Q+=y,Z+=b}}lC.exports=qkr});var pC=c((Mce,dC)=>{"use strict";var wkr=Fr(),Skr=Br();function Ekr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or;for(Tr=wkr(r.shape,r.strides,e.strides),M=Tr.sh,Z=Tr.sx,rr=Tr.sy,i=Skr(r.dtype,e.dtype),ar=r.offset,er=e.offset,n=r.data,s=e.data,u=Z[0],g=rr[0],Or=0,_r=M[8];_r>0;)for(_r<i?(Q=_r,_r=0):(Q=i,_r-=i),F=ar+_r*Z[8],U=er+_r*rr[8],Ar=M[7];Ar>0;)for(Ar<i?(H=Ar,Ar=0):(H=i,Ar-=i),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=F+Ar*Z[7],P=U+Ar*rr[7],gr=M[6];gr>0;)for(gr<i?(K=gr,gr=0):(K=i,gr-=i),y=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+gr*Z[6],L=P+gr*rr[6],qr=M[5];qr>0;)for(qr<i?(X=qr,qr=0):(X=i,qr-=i),d=Z[6]-X*Z[5],b=rr[6]-X*rr[5],D=k+qr*Z[5],C=L+qr*rr[5],xr=M[4];xr>0;)for(xr<i?(J=xr,xr=0):(J=i,xr-=i),m=Z[5]-J*Z[4],_=rr[5]-J*rr[4],I=D+xr*Z[4],z=C+xr*rr[4],wr=M[3];wr>0;)for(wr<i?(W=wr,wr=0):(W=i,wr-=i),p=Z[4]-W*Z[3],A=rr[4]-W*rr[3],O=I+wr*Z[3],V=z+wr*rr[3],br=M[2];br>0;)for(br<i?(Y=br,br=0):(Y=i,br-=i),l=Z[3]-Y*Z[2],w=rr[3]-Y*rr[2],j=O+br*Z[2],B=V+br*rr[2],hr=M[1];hr>0;)for(hr<i?($=hr,hr=0):($=i,hr-=i),f=Z[2]-$*Z[1],S=rr[2]-$*rr[1],T=j+hr*Z[1],R=B+hr*rr[1],mr=M[0];mr>0;)for(mr<i?(G=mr,mr=0):(G=i,mr-=i),ir=T+mr*Z[0],tr=R+mr*rr[0],v=Z[1]-G*Z[0],x=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++)jr=t.call(o,n[ir],Or,[ir,tr],[r,e]),jr!==void 0&&(s[tr]=a(jr)),ir+=u,tr+=g,Or+=1;ir+=v,tr+=x}ir+=f,tr+=S}ir+=l,tr+=w}ir+=p,tr+=A}ir+=m,tr+=_}ir+=d,tr+=b}ir+=y,tr+=E}ir+=h,tr+=q}}dC.exports=Ekr});var mC=c((Gce,yC)=>{"use strict";var Akr=Fr(),_kr=Br();function Tkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,kr,Rr,Hr,ie,Ne,ua,mt;for(Ne=Akr(r.shape,r.strides,e.strides),W=Ne.sh,tr=Ne.sx,or=Ne.sy,i=_kr(r.dtype,e.dtype),nr=r.offset,sr=e.offset,n=r.data,s=e.data,u=tr[0],x=or[0],mt=0,ie=W[9];ie>0;)for(ie<i?(ir=ie,ie=0):(ir=i,ie-=i),V=nr+ie*tr[9],Y=sr+ie*or[9],Hr=W[8];Hr>0;)for(Hr<i?(er=Hr,Hr=0):(er=i,Hr-=i),g=tr[9]-er*tr[8],j=or[9]-er*or[8],B=V+Hr*tr[8],$=Y+Hr*or[8],Rr=W[7];Rr>0;)for(Rr<i?(ar=Rr,Rr=0):(ar=i,Rr-=i),h=tr[8]-ar*tr[7],T=or[8]-ar*or[7],R=B+Rr*tr[7],G=$+Rr*or[7],kr=W[6];kr>0;)for(kr<i?(rr=kr,kr=0):(rr=i,kr-=i),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],F=R+kr*tr[6],M=G+kr*or[6],Or=W[5];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),d=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=F+Or*tr[5],U=M+Or*or[5],jr=W[4];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),m=tr[5]-Q*tr[4],b=or[5]-Q*or[4],k=N+jr*tr[4],P=U+jr*or[4],Tr=W[3];Tr>0;)for(Tr<i?(H=Tr,Tr=0):(H=i,Tr-=i),p=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+Tr*tr[3],L=P+Tr*or[3],_r=W[2];_r>0;)for(_r<i?(K=_r,_r=0):(K=i,_r-=i),l=tr[3]-K*tr[2],A=or[3]-K*or[2],I=D+_r*tr[2],C=L+_r*or[2],Ar=W[1];Ar>0;)for(Ar<i?(X=Ar,Ar=0):(X=i,Ar-=i),f=tr[2]-X*tr[1],w=or[2]-X*or[1],O=I+Ar*tr[1],z=C+Ar*or[1],gr=W[0];gr>0;)for(gr<i?(J=gr,gr=0):(J=i,gr-=i),ur=O+gr*tr[0],vr=z+gr*or[0],v=tr[1]-J*tr[0],S=or[1]-J*or[0],qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)ua=t.call(o,n[ur],mt,[ur,vr],[r,e]),ua!==void 0&&(s[vr]=a(ua)),ur+=u,vr+=x,mt+=1;ur+=v,vr+=S}ur+=f,vr+=w}ur+=l,vr+=A}ur+=p,vr+=_}ur+=m,vr+=b}ur+=d,vr+=E}ur+=y,vr+=q}ur+=h,vr+=T}ur+=g,vr+=j}}yC.exports=Tkr});var gC=c((Yce,hC)=>{"use strict";function jkr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.accessors[0](r.data,i),0,[i,n],[r,e]);s!==void 0&&e.accessors[1](e.data,n,a(s))}hC.exports=jkr});var xC=c(($ce,bC)=>{"use strict";function Ikr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h;for(l=r.shape[0],v=r.strides[0],f=e.strides[0],p=r.offset,m=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],h=0,d=0;d<l;d++)y=t.call(o,s(i,p),h,[p,m],[r,e]),y!==void 0&&u(n,m,a(y)),p+=v,m+=f,h+=1}bC.exports=Ikr});var wC=c((Wce,qC)=>{"use strict";function Okr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b;for(m=r.shape,h=r.strides,g=e.strides,r.order==="row-major"?(d=m[1],y=m[0],v=h[1],f=h[0]-d*h[1],l=g[1],p=g[0]-d*g[1]):(d=m[0],y=m[1],v=h[0],f=h[1]-d*h[0],l=g[0],p=g[1]-d*g[0]),x=r.offset,S=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],b=0,A=0;A<y;A++){for(w=0;w<d;w++)_=t.call(o,s(i,x),b,[x,S],[r,e]),_!==void 0&&u(n,S,a(_)),x+=v,S+=l,b+=1;x+=f,S+=p}}qC.exports=Okr});var EC=c((Jce,SC)=>{"use strict";function Nkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j;for(y=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(h=y[2],g=y[1],x=y[0],v=S[2],f=S[1]-h*S[2],l=S[0]-g*S[1],p=w[2],m=w[1]-h*w[2],d=w[0]-g*w[1]):(h=y[0],g=y[1],x=y[2],v=S[0],f=S[1]-h*S[0],l=S[2]-g*S[1],p=w[0],m=w[1]-h*w[0],d=w[2]-g*w[1]),A=r.offset,_=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],j=0,q=0;q<x;q++){for(E=0;E<g;E++){for(b=0;b<h;b++)T=t.call(o,s(i,A),j,[A,_],[r,e]),T!==void 0&&u(n,_,a(T)),A+=v,_+=p,j+=1;A+=f,_+=m}A+=l,_+=d}}SC.exports=Nkr});var _C=c((Xce,AC)=>{"use strict";function Dkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k;for(g=r.shape,_=r.strides,b=e.strides,r.order==="row-major"?(x=g[3],S=g[2],w=g[1],A=g[0],v=_[3],f=_[2]-x*_[3],l=_[1]-S*_[2],p=_[0]-w*_[1],m=b[3],d=b[2]-x*b[3],y=b[1]-S*b[2],h=b[0]-w*b[1]):(x=g[0],S=g[1],w=g[2],A=g[3],v=_[0],f=_[1]-x*_[0],l=_[2]-S*_[1],p=_[3]-w*_[2],m=b[0],d=b[1]-x*b[0],y=b[2]-S*b[1],h=b[3]-w*b[2]),E=r.offset,q=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],k=0,I=0;I<A;I++){for(O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<x;T++)D=t.call(o,s(i,E),k,[E,q],[r,e]),D!==void 0&&u(n,q,a(D)),E+=v,q+=m,k+=1;E+=f,q+=d}E+=l,q+=y}E+=p,q+=h}}AC.exports=Dkr});var jC=c((Kce,TC)=>{"use strict";function kkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B;for(S=r.shape,q=r.strides,T=e.strides,r.order==="row-major"?(w=S[4],A=S[3],_=S[2],b=S[1],E=S[0],v=q[4],f=q[3]-w*q[4],l=q[2]-A*q[3],p=q[1]-_*q[2],m=q[0]-b*q[1],d=T[4],y=T[3]-w*T[4],h=T[2]-A*T[3],g=T[1]-_*T[2],x=T[0]-b*T[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],v=q[0],f=q[1]-w*q[0],l=q[2]-A*q[1],p=q[3]-_*q[2],m=q[4]-b*q[3],d=T[0],y=T[1]-w*T[0],h=T[2]-A*T[1],g=T[3]-_*T[2],x=T[4]-b*T[3]),j=r.offset,O=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],B=0,F=0;F<E;F++){for(N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++)R=t.call(o,s(i,j),B,[j,O],[r,e]),R!==void 0&&u(n,O,a(R)),j+=v,O+=d,B+=1;j+=f,O+=y}j+=l,O+=h}j+=p,O+=g}j+=m,O+=x}}TC.exports=kkr});var OC=c((Hce,IC)=>{"use strict";function Bkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L;for(A=r.shape,O=r.strides,I=e.strides,r.order==="row-major"?(_=A[5],b=A[4],E=A[3],q=A[2],T=A[1],j=A[0],v=O[5],f=O[4]-_*O[5],l=O[3]-b*O[4],p=O[2]-E*O[3],m=O[1]-q*O[2],d=O[0]-T*O[1],y=I[5],h=I[4]-_*I[5],g=I[3]-b*I[4],x=I[2]-E*I[3],S=I[1]-q*I[2],w=I[0]-T*I[1]):(_=A[0],b=A[1],E=A[2],q=A[3],T=A[4],j=A[5],v=O[0],f=O[1]-_*O[0],l=O[2]-b*O[1],p=O[3]-E*O[2],m=O[4]-q*O[3],d=O[5]-T*O[4],y=I[0],h=I[1]-_*I[0],g=I[2]-b*I[1],x=I[3]-E*I[2],S=I[4]-q*I[3],w=I[5]-T*I[4]),D=r.offset,k=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],L=0,z=0;z<j;z++){for(V=0;V<T;V++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++)C=t.call(o,s(i,D),L,[D,k],[r,e]),C!==void 0&&u(n,k,a(C)),D+=v,k+=y,L+=1;D+=f,k+=h}D+=l,k+=g}D+=p,k+=x}D+=m,k+=S}D+=d,k+=w}}IC.exports=Bkr});var DC=c((Zce,NC)=>{"use strict";function Fkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G;for(b=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(E=b[6],q=b[5],T=b[4],j=b[3],O=b[2],I=b[1],D=b[0],v=k[6],f=k[5]-E*k[6],l=k[4]-q*k[5],p=k[3]-T*k[4],m=k[2]-j*k[3],d=k[1]-O*k[2],y=k[0]-I*k[1],h=N[6],g=N[5]-E*N[6],x=N[4]-q*N[5],S=N[3]-T*N[4],w=N[2]-j*N[3],A=N[1]-O*N[2],_=N[0]-I*N[1]):(E=b[0],q=b[1],T=b[2],j=b[3],O=b[4],I=b[5],D=b[6],v=k[0],f=k[1]-E*k[0],l=k[2]-q*k[1],p=k[3]-T*k[2],m=k[4]-j*k[3],d=k[5]-O*k[4],y=k[6]-I*k[5],h=N[0],g=N[1]-E*N[0],x=N[2]-q*N[1],S=N[3]-T*N[2],w=N[4]-j*N[3],A=N[5]-O*N[4],_=N[6]-I*N[5]),F=r.offset,R=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],G=0,U=0;U<D;U++){for(P=0;P<I;P++){for(L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++)M=t.call(o,s(i,F),G,[F,R],[r,e]),M!==void 0&&u(n,R,a(M)),F+=v,R+=h,G+=1;F+=f,R+=g}F+=l,R+=x}F+=p,R+=S}F+=m,R+=w}F+=d,R+=A}F+=y,R+=_}}NC.exports=Fkr});var BC=c((Qce,kC)=>{"use strict";function Rkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J;for(q=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(T=q[7],j=q[6],O=q[5],I=q[4],D=q[3],k=q[2],N=q[1],F=q[0],v=R[7],f=R[6]-T*R[7],l=R[5]-j*R[6],p=R[4]-O*R[5],m=R[3]-I*R[4],d=R[2]-D*R[3],y=R[1]-k*R[2],h=R[0]-N*R[1],g=B[7],x=B[6]-T*B[7],S=B[5]-j*B[6],w=B[4]-O*B[5],A=B[3]-I*B[4],_=B[2]-D*B[3],b=B[1]-k*B[2],E=B[0]-N*B[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],v=R[0],f=R[1]-T*R[0],l=R[2]-j*R[1],p=R[3]-O*R[2],m=R[4]-I*R[3],d=R[5]-D*R[4],y=R[6]-k*R[5],h=R[7]-N*R[6],g=B[0],x=B[1]-T*B[0],S=B[2]-j*B[1],w=B[3]-O*B[2],A=B[4]-I*B[3],_=B[5]-D*B[4],b=B[6]-k*B[5],E=B[7]-N*B[6]),V=r.offset,z=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],J=0,Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++)W=t.call(o,s(i,V),J,[V,z],[r,e]),W!==void 0&&u(n,z,a(W)),V+=v,z+=g,J+=1;V+=f,z+=x}V+=l,z+=S}V+=p,z+=w}V+=m,z+=A}V+=d,z+=_}V+=y,z+=b}V+=h,z+=E}}kC.exports=Rkr});var RC=c((rde,FC)=>{"use strict";function Vkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q;for(j=r.shape,z=r.strides,C=e.strides,r.order==="row-major"?(O=j[8],I=j[7],D=j[6],k=j[5],N=j[4],F=j[3],R=j[2],B=j[1],V=j[0],v=z[8],f=z[7]-O*z[8],l=z[6]-I*z[7],p=z[5]-D*z[6],m=z[4]-k*z[5],d=z[3]-N*z[4],y=z[2]-F*z[3],h=z[1]-R*z[2],g=z[0]-B*z[1],x=C[8],S=C[7]-O*C[8],w=C[6]-I*C[7],A=C[5]-D*C[6],_=C[4]-k*C[5],b=C[3]-N*C[4],E=C[2]-F*C[3],q=C[1]-R*C[2],T=C[0]-B*C[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],V=j[8],v=z[0],f=z[1]-O*z[0],l=z[2]-I*z[1],p=z[3]-D*z[2],m=z[4]-k*z[3],d=z[5]-N*z[4],y=z[6]-F*z[5],h=z[7]-R*z[6],g=z[8]-B*z[7],x=C[0],S=C[1]-O*C[0],w=C[2]-I*C[1],A=C[3]-D*C[2],_=C[4]-k*C[3],b=C[5]-N*C[4],E=C[6]-F*C[5],q=C[7]-R*C[6],T=C[8]-B*C[7]),L=r.offset,P=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],Q=0,K=0;K<V;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++)H=t.call(o,s(i,L),Q,[L,P],[r,e]),H!==void 0&&u(n,P,a(H)),L+=v,P+=x,Q+=1;L+=f,P+=S}L+=l,P+=w}L+=p,P+=A}L+=m,P+=_}L+=d,P+=b}L+=y,P+=E}L+=h,P+=q}L+=g,P+=T}}FC.exports=Vkr});var zC=c((ede,VC)=>{"use strict";function zkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(I=r.shape,P=r.strides,U=e.strides,r.order==="row-major"?(D=I[9],k=I[8],N=I[7],F=I[6],R=I[5],B=I[4],V=I[3],z=I[2],C=I[1],L=I[0],v=P[9],f=P[8]-D*P[9],l=P[7]-k*P[8],p=P[6]-N*P[7],m=P[5]-F*P[6],d=P[4]-R*P[5],y=P[3]-B*P[4],h=P[2]-V*P[3],g=P[1]-z*P[2],x=P[0]-C*P[1],S=U[9],w=U[8]-D*U[9],A=U[7]-k*U[8],_=U[6]-N*U[7],b=U[5]-F*U[6],E=U[4]-R*U[5],q=U[3]-B*U[4],T=U[2]-V*U[3],j=U[1]-z*U[2],O=U[0]-C*U[1]):(D=I[0],k=I[1],N=I[2],F=I[3],R=I[4],B=I[5],V=I[6],z=I[7],C=I[8],L=I[9],v=P[0],f=P[1]-D*P[0],l=P[2]-k*P[1],p=P[3]-N*P[2],m=P[4]-F*P[3],d=P[5]-R*P[4],y=P[6]-B*P[5],h=P[7]-V*P[6],g=P[8]-z*P[7],x=P[9]-C*P[8],S=U[0],w=U[1]-D*U[0],A=U[2]-k*U[1],_=U[3]-N*U[2],b=U[4]-F*U[3],E=U[5]-R*U[4],q=U[6]-B*U[5],T=U[7]-V*U[6],j=U[8]-z*U[7],O=U[9]-C*U[8]),M=r.offset,G=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],er=0,rr=0;rr<L;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<z;Q++){for(H=0;H<V;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++)ar=t.call(o,s(i,M),er,[M,G],[r,e]),ar!==void 0&&u(n,G,a(ar)),M+=v,G+=S,er+=1;M+=f,G+=w}M+=l,G+=A}M+=p,G+=_}M+=m,G+=b}M+=d,G+=E}M+=y,G+=q}M+=h,G+=T}M+=g,G+=j}M+=x,G+=O}}VC.exports=zkr});var UC=c((ade,PC)=>{"use strict";var Ckr=Jr(),CC=na(),LC="throw";function Lkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;for(p=r.shape,v=Ckr(p),i=r.data,n=e.data,m=r.strides,d=e.strides,y=r.offset,h=e.offset,s=r.order,u=e.order,f=r.accessors[0],l=e.accessors[1],w=0;w<v;w++)g=CC(p,m,y,s,w,LC),x=CC(p,d,h,u,w,LC),S=t.call(o,f(i,g),w,[g,x],[r,e]),S!==void 0&&l(n,x,a(S))}PC.exports=Lkr});var GC=c((tde,MC)=>{"use strict";function Pkr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.data[i],0,[i,n],[r,e]);s!==void 0&&(e.data[n]=a(s))}MC.exports=Pkr});var $C=c((ide,YC)=>{"use strict";function Ukr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d;for(v=r.shape[0],s=r.strides[0],u=e.strides[0],f=r.offset,l=e.offset,i=r.data,n=e.data,d=0,p=0;p<v;p++)m=t.call(o,i[f],d,[f,l],[r,e]),m!==void 0&&(n[l]=a(m)),f+=s,l+=u,d+=1}YC.exports=Ukr});var JC=c((ode,WC)=>{"use strict";function Mkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A;for(l=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(p=l[1],m=l[0],s=d[1],u=d[0]-p*d[1],v=y[1],f=y[0]-p*y[1]):(p=l[0],m=l[1],s=d[0],u=d[1]-p*d[0],v=y[0],f=y[1]-p*y[0]),h=r.offset,g=e.offset,i=r.data,n=e.data,A=0,S=0;S<m;S++){for(x=0;x<p;x++)w=t.call(o,i[h],A,[h,g],[r,e]),w!==void 0&&(n[g]=a(w)),h+=s,g+=v,A+=1;h+=u,g+=f}}WC.exports=Mkr});var KC=c((nde,XC)=>{"use strict";function Gkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(m=r.shape,g=r.strides,x=e.strides,r.order==="row-major"?(d=m[2],y=m[1],h=m[0],s=g[2],u=g[1]-d*g[2],v=g[0]-y*g[1],f=x[2],l=x[1]-d*x[2],p=x[0]-y*x[1]):(d=m[0],y=m[1],h=m[2],s=g[0],u=g[1]-d*g[0],v=g[2]-y*g[1],f=x[0],l=x[1]-d*x[0],p=x[2]-y*x[1]),S=r.offset,w=e.offset,i=r.data,n=e.data,q=0,b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++)E=t.call(o,i[S],q,[S,w],[r,e]),E!==void 0&&(n[w]=a(E)),S+=s,w+=f,q+=1;S+=u,w+=l}S+=v,w+=p}}XC.exports=Gkr});var ZC=c((sde,HC)=>{"use strict";function Ykr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I;for(y=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(h=y[3],g=y[2],x=y[1],S=y[0],s=w[3],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-x*w[1],l=A[3],p=A[2]-h*A[3],m=A[1]-g*A[2],d=A[0]-x*A[1]):(h=y[0],g=y[1],x=y[2],S=y[3],s=w[0],u=w[1]-h*w[0],v=w[2]-g*w[1],f=w[3]-x*w[2],l=A[0],p=A[1]-h*A[0],m=A[2]-g*A[1],d=A[3]-x*A[2]),_=r.offset,b=e.offset,i=r.data,n=e.data,I=0,j=0;j<S;j++){for(T=0;T<x;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)O=t.call(o,i[_],I,[_,b],[r,e]),O!==void 0&&(n[b]=a(O)),_+=s,b+=l,I+=1;_+=u,b+=p}_+=v,b+=m}_+=f,b+=d}}HC.exports=Ykr});var rL=c((ude,QC)=>{"use strict";function $kr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F;for(g=r.shape,b=r.strides,E=e.strides,r.order==="row-major"?(x=g[4],S=g[3],w=g[2],A=g[1],_=g[0],s=b[4],u=b[3]-x*b[4],v=b[2]-S*b[3],f=b[1]-w*b[2],l=b[0]-A*b[1],p=E[4],m=E[3]-x*E[4],d=E[2]-S*E[3],y=E[1]-w*E[2],h=E[0]-A*E[1]):(x=g[0],S=g[1],w=g[2],A=g[3],_=g[4],s=b[0],u=b[1]-x*b[0],v=b[2]-S*b[1],f=b[3]-w*b[2],l=b[4]-A*b[3],p=E[0],m=E[1]-x*E[0],d=E[2]-S*E[1],y=E[3]-w*E[2],h=E[4]-A*E[3]),q=r.offset,T=e.offset,i=r.data,n=e.data,F=0,k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<x;j++)N=t.call(o,i[q],F,[q,T],[r,e]),N!==void 0&&(n[T]=a(N)),q+=s,T+=p,F+=1;q+=u,T+=m}q+=v,T+=d}q+=f,T+=y}q+=l,T+=h}}QC.exports=$kr});var aL=c((vde,eL)=>{"use strict";function Wkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z;for(S=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],b=S[2],E=S[1],q=S[0],s=T[5],u=T[4]-w*T[5],v=T[3]-A*T[4],f=T[2]-_*T[3],l=T[1]-b*T[2],p=T[0]-E*T[1],m=j[5],d=j[4]-w*j[5],y=j[3]-A*j[4],h=j[2]-_*j[3],g=j[1]-b*j[2],x=j[0]-E*j[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],s=T[0],u=T[1]-w*T[0],v=T[2]-A*T[1],f=T[3]-_*T[2],l=T[4]-b*T[3],p=T[5]-E*T[4],m=j[0],d=j[1]-w*j[0],y=j[2]-A*j[1],h=j[3]-_*j[2],g=j[4]-b*j[3],x=j[5]-E*j[4]),O=r.offset,I=e.offset,i=r.data,n=e.data,z=0,B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<b;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)V=t.call(o,i[O],z,[O,I],[r,e]),V!==void 0&&(n[I]=a(V)),O+=s,I+=m,z+=1;O+=u,I+=d}O+=v,I+=y}O+=f,I+=h}O+=l,I+=g}O+=p,I+=x}}eL.exports=Wkr});var iL=c((fde,tL)=>{"use strict";function Jkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U;for(A=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],b=A[5],E=A[4],q=A[3],T=A[2],j=A[1],O=A[0],s=I[6],u=I[5]-_*I[6],v=I[4]-b*I[5],f=I[3]-E*I[4],l=I[2]-q*I[3],p=I[1]-T*I[2],m=I[0]-j*I[1],d=D[6],y=D[5]-_*D[6],h=D[4]-b*D[5],g=D[3]-E*D[4],x=D[2]-q*D[3],S=D[1]-T*D[2],w=D[0]-j*D[1]):(_=A[0],b=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],s=I[0],u=I[1]-_*I[0],v=I[2]-b*I[1],f=I[3]-E*I[2],l=I[4]-q*I[3],p=I[5]-T*I[4],m=I[6]-j*I[5],d=D[0],y=D[1]-_*D[0],h=D[2]-b*D[1],g=D[3]-E*D[2],x=D[4]-q*D[3],S=D[5]-T*D[4],w=D[6]-j*D[5]),k=r.offset,N=e.offset,i=r.data,n=e.data,U=0,L=0;L<O;L++){for(C=0;C<j;C++){for(z=0;z<T;z++){for(V=0;V<q;V++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(F=0;F<_;F++)P=t.call(o,i[k],U,[k,N],[r,e]),P!==void 0&&(n[N]=a(P)),k+=s,N+=d,U+=1;k+=u,N+=y}k+=v,N+=h}k+=f,N+=g}k+=l,N+=x}k+=p,N+=S}k+=m,N+=w}}tL.exports=Jkr});var nL=c((lde,oL)=>{"use strict";function Xkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y;for(b=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(E=b[7],q=b[6],T=b[5],j=b[4],O=b[3],I=b[2],D=b[1],k=b[0],s=N[7],u=N[6]-E*N[7],v=N[5]-q*N[6],f=N[4]-T*N[5],l=N[3]-j*N[4],p=N[2]-O*N[3],m=N[1]-I*N[2],d=N[0]-D*N[1],y=F[7],h=F[6]-E*F[7],g=F[5]-q*F[6],x=F[4]-T*F[5],S=F[3]-j*F[4],w=F[2]-O*F[3],A=F[1]-I*F[2],_=F[0]-D*F[1]):(E=b[0],q=b[1],T=b[2],j=b[3],O=b[4],I=b[5],D=b[6],k=b[7],s=N[0],u=N[1]-E*N[0],v=N[2]-q*N[1],f=N[3]-T*N[2],l=N[4]-j*N[3],p=N[5]-O*N[4],m=N[6]-I*N[5],d=N[7]-D*N[6],y=F[0],h=F[1]-E*F[0],g=F[2]-q*F[1],x=F[3]-T*F[2],S=F[4]-j*F[3],w=F[5]-O*F[4],A=F[6]-I*F[5],_=F[7]-D*F[6]),R=r.offset,B=e.offset,i=r.data,n=e.data,Y=0,G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<I;U++){for(P=0;P<O;P++){for(L=0;L<j;L++){for(C=0;C<T;C++){for(z=0;z<q;z++){for(V=0;V<E;V++)$=t.call(o,i[R],Y,[R,B],[r,e]),$!==void 0&&(n[B]=a($)),R+=s,B+=y,Y+=1;R+=u,B+=h}R+=v,B+=g}R+=f,B+=x}R+=l,B+=S}R+=p,B+=w}R+=m,B+=A}R+=d,B+=_}}oL.exports=Xkr});var uL=c((cde,sL)=>{"use strict";function Kkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K;for(q=r.shape,B=r.strides,V=e.strides,r.order==="row-major"?(T=q[8],j=q[7],O=q[6],I=q[5],D=q[4],k=q[3],N=q[2],F=q[1],R=q[0],s=B[8],u=B[7]-T*B[8],v=B[6]-j*B[7],f=B[5]-O*B[6],l=B[4]-I*B[5],p=B[3]-D*B[4],m=B[2]-k*B[3],d=B[1]-N*B[2],y=B[0]-F*B[1],h=V[8],g=V[7]-T*V[8],x=V[6]-j*V[7],S=V[5]-O*V[6],w=V[4]-I*V[5],A=V[3]-D*V[4],_=V[2]-k*V[3],b=V[1]-N*V[2],E=V[0]-F*V[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],s=B[0],u=B[1]-T*B[0],v=B[2]-j*B[1],f=B[3]-O*B[2],l=B[4]-I*B[3],p=B[5]-D*B[4],m=B[6]-k*B[5],d=B[7]-N*B[6],y=B[8]-F*B[7],h=V[0],g=V[1]-T*V[0],x=V[2]-j*V[1],S=V[3]-O*V[2],w=V[4]-I*V[3],A=V[5]-D*V[4],_=V[6]-k*V[5],b=V[7]-N*V[6],E=V[8]-F*V[7]),z=r.offset,C=e.offset,i=r.data,n=e.data,K=0,J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(U=0;U<O;U++){for(P=0;P<j;P++){for(L=0;L<T;L++)X=t.call(o,i[z],K,[z,C],[r,e]),X!==void 0&&(n[C]=a(X)),z+=s,C+=h,K+=1;z+=u,C+=g}z+=v,C+=x}z+=f,C+=S}z+=l,C+=w}z+=p,C+=A}z+=m,C+=_}z+=d,C+=b}z+=y,C+=E}}sL.exports=Kkr});var fL=c((dde,vL)=>{"use strict";function Hkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C,L,P,U,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(j=r.shape,C=r.strides,L=e.strides,r.order==="row-major"?(O=j[9],I=j[8],D=j[7],k=j[6],N=j[5],F=j[4],R=j[3],B=j[2],V=j[1],z=j[0],s=C[9],u=C[8]-O*C[9],v=C[7]-I*C[8],f=C[6]-D*C[7],l=C[5]-k*C[6],p=C[4]-N*C[5],m=C[3]-F*C[4],d=C[2]-R*C[3],y=C[1]-B*C[2],h=C[0]-V*C[1],g=L[9],x=L[8]-O*L[9],S=L[7]-I*L[8],w=L[6]-D*L[7],A=L[5]-k*L[6],_=L[4]-N*L[5],b=L[3]-F*L[4],E=L[2]-R*L[3],q=L[1]-B*L[2],T=L[0]-V*L[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],V=j[8],z=j[9],s=C[0],u=C[1]-O*C[0],v=C[2]-I*C[1],f=C[3]-D*C[2],l=C[4]-k*C[3],p=C[5]-N*C[4],m=C[6]-F*C[5],d=C[7]-R*C[6],y=C[8]-B*C[7],h=C[9]-V*C[8],g=L[0],x=L[1]-O*L[0],S=L[2]-I*L[1],w=L[3]-D*L[2],A=L[4]-k*L[3],_=L[5]-N*L[4],b=L[6]-F*L[5],E=L[7]-R*L[6],q=L[8]-B*L[7],T=L[9]-V*L[8]),P=r.offset,U=e.offset,i=r.data,n=e.data,rr=0,Q=0;Q<z;Q++){for(H=0;H<V;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++)Z=t.call(o,i[P],rr,[P,U],[r,e]),Z!==void 0&&(n[U]=a(Z)),P+=s,U+=g,rr+=1;P+=u,U+=x}P+=v,U+=S}P+=f,U+=w}P+=l,U+=A}P+=p,U+=_}P+=m,U+=b}P+=d,U+=E}P+=y,U+=q}P+=h,U+=T}}vL.exports=Hkr});var pL=c((pde,dL)=>{"use strict";var Zkr=Jr(),lL=na(),cL="throw";function Qkr(r,e,a,t,o){var i,n,s,u,v,f,l,p,m,d,y,h,g,x;for(f=r.shape,v=Zkr(f),i=r.data,n=e.data,l=r.strides,p=e.strides,m=r.offset,d=e.offset,s=r.order,u=e.order,x=0;x<v;x++)y=lL(f,l,m,s,x,cL),h=lL(f,p,d,u,x,cL),g=t.call(o,i[y],x,[y,h],[r,e]),g!==void 0&&(n[h]=a(g))}dL.exports=Qkr});var xL=c((yde,bL)=>{"use strict";var yL=Sa(),mL=et(),hL=ri(),rBr=Rz(),eBr=zz(),aBr=Lz(),tBr=Uz(),iBr=Gz(),oBr=$z(),nBr=Jz(),sBr=Kz(),uBr=Zz(),vBr=rC(),fBr=aC(),lBr=iC(),cBr=nC(),dBr=uC(),pBr=fC(),yBr=cC(),mBr=pC(),hBr=mC(),gBr=gC(),bBr=xC(),xBr=wC(),qBr=EC(),wBr=_C(),SBr=jC(),EBr=OC(),ABr=DC(),_Br=BC(),TBr=RC(),jBr=zC(),IBr=UC(),OBr=GC(),NBr=$C(),DBr=JC(),kBr=KC(),BBr=ZC(),FBr=rL(),RBr=aL(),VBr=iL(),zBr=nL(),CBr=uL(),LBr=fL(),PBr=pL(),ji=[OBr,NBr,DBr,kBr,BBr,FBr,RBr,VBr,zBr,CBr,LBr],ko=[gBr,bBr,xBr,qBr,wBr,SBr,EBr,ABr,_Br,TBr,jBr],UBr=[vBr,fBr,lBr,cBr,dBr,pBr,yBr,mBr,hBr],MBr=[rBr,eBr,aBr,tBr,iBr,oBr,nBr,sBr,uBr],gL=ji.length-1;function GBr(r,e,a,t){var o,i,n,s,u,v,f,l,p,m,d,y,h,g,x,S,w;if(g=hL(r[0]),x=hL(r[1]),s=g.shape,u=x.shape,o=s.length,o!==u.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+o+". ndims(y) == "+u.length+".");if(o===0)return g.accessorProtocol||x.accessorProtocol?ko[o](g,x,e,a,t):ji[o](g,x,e,a,t);for(l=1,h=0,w=0;w<o;w++){if(S=s[w],S!==u[w])throw new Error("invalid arguments. Arrays must have the same shape.");l*=S,S===1&&(h+=1)}if(l!==0){if(o===1)return g.accessorProtocol||x.accessorProtocol?ko[o](g,x,e,a,t):ji[o](g,x,e,a,t);if(p=g.strides,m=x.strides,h===o-1){for(w=0;w<o&&s[w]===1;w++);return g.shape=[s[w]],x.shape=g.shape,g.strides=[p[w]],x.strides=[m[w]],g.accessorProtocol||x.accessorProtocol?ko[1](g,x,e,a,t):ji[1](g,x,e,a,t)}if(v=yL(p),f=yL(m),v!==0&&f!==0&&v===f){if(i=mL(s,p,g.offset),n=mL(u,m,x.offset),l===i[1]-i[0]+1&&l===n[1]-n[0]+1)return v===1?d=i[0]:d=i[1],f===1?y=n[0]:y=n[1],g.shape=[l],x.shape=g.shape,g.strides=[v],x.strides=[f],g.offset=d,x.offset=y,g.accessorProtocol||x.accessorProtocol?ko[1](g,x,e,a,t):ji[1](g,x,e,a,t);if(o<=gL)return g.accessorProtocol||x.accessorProtocol?ko[o](g,x,e,a,t):ji[o](g,x,e,a,t)}if(o<=gL)return g.accessorProtocol||x.accessorProtocol?MBr[o-2](g,x,e,a,t):UBr[o-2](g,x,e,a,t);if(g.accessorProtocol||x.accessorProtocol)return IBr(g,x,e,a,t);PBr(g,x,e,a,t)}}bL.exports=GBr});var wL=c((mde,qL)=>{"use strict";var YBr=xL();qL.exports=YBr});var EL=c((hde,SL)=>{"use strict";var $Br=Mn(),WBr=mf(),JBr=wo(),XBr=ff(),KBr=$n(),HBr=Wn(),ZBr=Gn(),QBr=lf(),rFr=di(),ct=Da(),eFr=pr(),aFr={floating_point:[$Br,ct.get("dtypes.floating_point")],real_floating_point:[WBr,ct.get("dtypes.real_floating_point")],complex_floating_point:[JBr,ct.get("dtypes.complex_floating_point")],integer:[XBr,ct.get("dtypes.integer")],signed_integer:[KBr,ct.get("dtypes.signed_integer")],unsigned_integer:[HBr,ct.get("dtypes.unsigned_integer")],real:[ZBr,ct.get("dtypes.real")],numeric:[QBr,ct.get("dtypes.numeric")]},tFr=ct.get("dtypes.default");function iFr(r,e){var a;if(e==="default")return tFr;if(e==="same"||e==="promoted")return r;if(e==="bool")throw new Error("not implemented");if(a=aFr[e],a===void 0){if(rFr(e))return e;throw new TypeError(eFr("invalid argument. Second argument must be a supported data type policy. Value: `%s`.",e))}return a[0](r)?r:a[1]}SL.exports=iFr});var _L=c((gde,AL)=>{"use strict";var oFr=EL();AL.exports=oFr});var jL=c((bde,TL)=>{"use strict";var nFr=Ve(),sFr=Ye(),uFr=Ba(),vFr=pr(),fFr=aa(),lFr=Jr();function cFr(r,e,a){var t,o,i,n;if(t=e.length,t>0?(i=lFr(e),n=nFr(e,a)):(i=1,n=[0]),o=uFr(r,i),o===null)throw new TypeError(vFr("invalid argument. First argument must be a recognized data type. Value: `%s`.",r));return new fFr(r,o,e,n,sFr(e,n),a)}TL.exports=cFr});var OL=c((xde,IL)=>{"use strict";var dFr=jL();IL.exports=dFr});var DL=c((qde,NL)=>{"use strict";var pFr=Ve(),yFr=Ye(),mFr=Ba(),hFr=Jr(),gFr=Xe(),bFr=Te(),xFr=sa(),qFr=pr();function wFr(r){var e,a,t,o,i,n,s;if(s=gFr(r),i=bFr(r,!0),o=xFr(r),e=i.length,e>0?(a=hFr(i),n=pFr(i,o)):(a=1,n=[0]),t=mFr(s,a),t===null)throw new TypeError(qFr("invalid argument. First argument must have a recognized data type. Value: `%s`.",s));return new r.constructor(s,t,i,n,yFr(i,n),o)}NL.exports=wFr});var BL=c((wde,kL)=>{"use strict";var SFr=DL();kL.exports=SFr});var RL=c((Sde,FL)=>{"use strict";var Er=Rt(),Sr={};Er(Sr,"assert",k8());Er(Sr,"assign",bf());Er(Sr,"binaryLoopOrder",dj());Er(Sr,"binaryBlockSize",bj());Er(Sr,"bind2vind",Oj());Er(Sr,"broadcastArray",_o());Er(Sr,"broadcastArrays",Pj());Er(Sr,"broadcastScalar",Yj());Er(Sr,"broadcastShapes",qi());Er(Sr,"buffer",Ba());Er(Sr,"bufferCtors",go());Er(Sr,"bufferDataType",Rn());Er(Sr,"bufferDataTypeEnum",Xj());Er(Sr,"bytesPerElement",bt());Er(Sr,"char2dtype",sI());Er(Sr,"clampIndex",xn());Er(Sr,"ndarray",aa());Er(Sr,"data",ft());Er(Sr,"dtype",Xe());Er(Sr,"dtypeChar",Af());Er(Sr,"dtypeDesc",pI());Er(Sr,"dtypeEnum2Str",Sn());Er(Sr,"dtypeResolveEnum",jf());Er(Sr,"dtypeResolveStr",ka());Er(Sr,"dtypeStr2Enum",mo());Er(Sr,"dtype2c",wI());Er(Sr,"dtypes2signatures",Of());Er(Sr,"empty",XI());Er(Sr,"emptyLike",QI());Er(Sr,"expandDimensions",sO());Er(Sr,"flag",yf());Er(Sr,"flags",So());Er(Sr,"fliplr",T7());Er(Sr,"flipud",k7());Er(Sr,"forEach",VD());Er(Sr,"scalar2ndarray",PD());Er(Sr,"ind",nt());Er(Sr,"ind2sub",Ai());Er(Sr,"iterationOrder",Sa());Er(Sr,"maxViewBufferIndex",YD());Er(Sr,"maybeBroadcastArray",Uf());Er(Sr,"maybeBroadcastArrays",QD());Er(Sr,"metaDataProps",tk());Er(Sr,"minViewBufferIndex",sk());Er(Sr,"minmaxViewBufferIndex",et());Er(Sr,"ndarraylike2ndarray",lk());Er(Sr,"ndarraylike2object",ri());Er(Sr,"ndims",za());Er(Sr,"nextCartesianIndex",He());Er(Sr,"nonsingletonDimensions",xk());Er(Sr,"normalizeIndex",ya());Er(Sr,"nullary",eF());Er(Sr,"nullaryLoopOrder",Zr());Er(Sr,"nullaryBlockSize",Qr());Er(Sr,"numel",Jr());Er(Sr,"numelDimension",Yf());Er(Sr,"offset",Ka());Er(Sr,"order",sa());Er(Sr,"outputPolicyEnum2Str",as());Er(Sr,"outputPolicyResolveEnum",EF());Er(Sr,"outputPolicyResolveStr",jF());Er(Sr,"outputPolicyStr2Enum",ts());Er(Sr,"prependSingletonDimensions",RF());Er(Sr,"removeSingletonDimensions",GF());Er(Sr,"reverse",JF());Er(Sr,"reverseDimension",Qn());Er(Sr,"serializeMetaData",aR());Er(Sr,"shape",Te());Er(Sr,"shape2strides",Ve());Er(Sr,"singletonDimensions",nR());Er(Sr,"slice",ye());Er(Sr,"sliceAssign",is());Er(Sr,"sliceDimension",Xf());Er(Sr,"sliceDimensionFrom",Kf());Er(Sr,"sliceDimensionTo",Hf());Er(Sr,"sliceFrom",Zf());Er(Sr,"sliceTo",Qf());Er(Sr,"stride",rl());Er(Sr,"strides",ba());Er(Sr,"strides2offset",Ye());Er(Sr,"strides2order",Lt());Er(Sr,"sub2ind",el());Er(Sr,"ndarray2array",al());Er(Sr,"transpose",$R());Er(Sr,"unary",Bz());Er(Sr,"unaryBy",wL());Er(Sr,"unaryLoopOrder",Fr());Er(Sr,"unaryOutputDataType",_L());Er(Sr,"unaryBlockSize",Br());Er(Sr,"vind2bind",na());Er(Sr,"wrapIndex",qn());Er(Sr,"zeros",OL());Er(Sr,"zerosLike",BL());FL.exports=Sr});var zL=c((Ede,VL)=>{"use strict";var EFr=se(),AFr=De(),_Fr=ge().isPrimitive,Bo=Tt(),TFr=Fa(),jFr=oe(),IFr=Ja(),OFr=_t(),NFr=Xa(),DFr=ut(),Fo=pr();function kFr(r,e){var a,t,o,i,n,s,u,v,f;if(!EFr(r))throw new TypeError(Fo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!AFr(e))throw new TypeError(Fo("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(n=e.length,o=jFr(r),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],v=0;v<n;v++)a.push(0);for(i=IFr(r),v=n-1;v>=0;v--)if(f=s-n+v,!(f<0)){if(u=o[f],t=e[v],!_Fr(t))throw new TypeError(Fo("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(t!==0&&t<u)throw new Error(Fo("invalid argument. Input array cannot be broadcast to the specified shape, as the specified shape has a dimension whose size is less than the size of the corresponding dimension in the input array. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Bo(o).join(", "),Bo(e).join(", "),v));if(u===t)a[v]=i[f];else if(u===1)a[v]=0;else throw new Error(Fo("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Bo(o).join(", "),Bo(e).join(", "),v))}return new r.constructor(TFr(r),DFr(r),Bo(e),a,OFr(r),NFr(r),{readonly:!0})}VL.exports=kFr});var os=c((Ade,CL)=>{"use strict";var BFr=zL();CL.exports=BFr});var UL=c((_de,PL)=>{"use strict";var FFr=se(),RFr=ze(),VFr=qi(),zFr=os(),CFr=oe(),LL=pr();function LFr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(FFr(r))t=[r];else if(RFr(r))t=r;else throw new TypeError(LL("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(n=t.length,e=[],s=0;s<n;s++)try{e.push(CFr(t[s]))}catch{throw new TypeError(LL("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=VFr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push(zFr(t[s],i));return o}PL.exports=LFr});var tl=c((Tde,ML)=>{"use strict";var PFr=UL();ML.exports=PFr});var il=c((jde,GL)=>{"use strict";var UFr=ve().isPrimitive;function MFr(r){return UFr(r)&&r>0}GL.exports=MFr});var ol=c((Ide,YL)=>{"use strict";var GFr=ve().isObject;function YFr(r){return GFr(r)&&r.valueOf()>0}YL.exports=YFr});var WL=c((Ode,$L)=>{"use strict";var $Fr=il(),WFr=ol();function JFr(r){return $Fr(r)||WFr(r)}$L.exports=JFr});var ns=c((Nde,XL)=>{"use strict";var JL=Ir(),nl=WL(),XFr=il(),KFr=ol();JL(nl,"isPrimitive",XFr);JL(nl,"isObject",KFr);XL.exports=nl});var HL=c((Dde,KL)=>{"use strict";var HFr=un(),ZFr=Pe(),QFr=HFr(ZFr);KL.exports=QFr});var QL=c((kde,ZL)=>{"use strict";function rRr(r,e,a,t,o,i,n,s,u){var v,f,l,p;for(v=i,l=0;l<r;l++){for(f=u,p=0;p<e&&a[v+p*o]===n[f];p++)f+=s;if(p===e)return l;v+=t}return-1}ZL.exports=rRr});var iP=c((Bde,tP)=>{"use strict";var rP=ge().isPrimitive,eRr=ns(),aRr=ve().isPrimitive,tRr=HL(),iRr=Pe(),eP=De(),oRr=se(),It=pr(),nRr=Fa(),aP=jf(),sRr=QL();function uRr(r){var e,a;for(e=[],a=0;a<r.length;a++)e.push(aP(r[a]));return e}function vRr(r,e,a,t,o,i){var n,s,u;if(iRr(r))u=r;else if(!tRr(r))throw new TypeError(It("invalid argument. First argument must be either a function or an array of functions. Value: `%s`.",r));if(!eP(e))throw new TypeError(It("invalid argument. Second argument must be an array-like object. Value: `%s`.",e));if(!eP(a)&&a!==null)throw new TypeError(It("invalid argument. Third argument must be an array-like object or null. Value: `%s`.",a));if(!eRr(t))throw new TypeError(It("invalid argument. Fourth argument must be a positive integer. Value: `%s`.",t));if(!rP(o))throw new TypeError(It("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!rP(i))throw new TypeError(It("invalid argument. Sixth argument must be a nonnegative integer. Value: `%s`.",i));if(n=o+i,n===0)throw new Error("invalid arguments. Interface must accept at least one input and/or output ndarray. Based on the provided arguments, `nin+nout` equals `0`.");if(t!==n)throw new Error("invalid arguments. Fourth argument does not equal the number of input and output ndarrays.");if(u){if(s=e.length/n,!aRr(s))throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.")}else if(s=r.length,e.length!==s*n)throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.");if(a&&a.length!==s)throw new Error("invalid argument. The third argument must have the same number of elements as the first argument.");return e=uRr(e),v;function v(){var f,l,p,m,d,y,h;if(p=arguments.length,p!==t)throw p<t?new Error("invalid invocation. Insufficient arguments."):new Error("invalid invocation. Too many arguments.");for(f=[],l=[],h=0;h<t;h++){if(d=arguments[h],!oRr(d))throw h<o?new TypeError(It("invalid argument. Input array must be an ndarray-like object. Value: `%s`.",d)):new TypeError(It("invalid argument. Output array must be an ndarray-like object. Value: `%s`.",d));f.push(d),l.push(aP(nRr(d)))}if(m=sRr(s,n,e,n,1,0,l,1,0),m<0)throw new TypeError("invalid arguments. Unable to resolve an ndarray function supporting the provided array argument data types.");if(u?y=u:y=r[m],a?y(f,a[m]):y(f),i===1)return f[n-1];if(i!==0)return f.slice(o)}}tP.exports=vRr});var nP=c((Fde,oP)=>{"use strict";var fRr=iP();oP.exports=fRr});var lP=c((Rde,fP)=>{"use strict";var lRr=ne(),ss=Xr(),cRr=sn(),dRr=Ve(),pRr=Ye(),yRr=To(),mRr=At(),hRr=Jr(),gRr=ma(),vP=Da(),sl=pr(),sP=vP.get("dtypes.default"),uP=vP.get("order");function bRr(r){var e,a,t,o,i,n,s,u,v;if(i={},arguments.length>1){if(e=arguments[1],!lRr(e))throw new TypeError(sl("invalid argument. Options argument must be an object. Value: `%s`.",e));ss(e,"dtype")?a=e.dtype:a=sP,ss(e,"order")?t=e.order:t=uP,ss(e,"mode")&&(i.mode=e.mode),ss(e,"submode")&&(i.submode=e.submode)}else a=sP,t=uP;if(typeof r=="number")v=[r];else if(cRr(r))v=r;else throw new TypeError(sl("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=v.length,o>0){if(s=hRr(v),s!==s||s<0)throw new TypeError(sl("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));u=dRr(v,t)}else s=1,u=[0];return a==="binary"?n=mRr(s):n=yRr(s,a),new gRr(a,n,v,u,pRr(v,u),t,i)}fP.exports=bRr});var dP=c((Vde,cP)=>{"use strict";var xRr=lP();cP.exports=xRr});var gP=c((zde,hP)=>{"use strict";var qRr=se(),wRr=ne(),SRr=Wt().primitives,Ro=Xr(),ERr=Ve(),ARr=Ye(),_Rr=Jr(),pP=Fa(),yP=oe(),mP=Xa(),TRr=ma(),jRr=To(),IRr=At(),ul=pr();function ORr(r){var e,a,t,o,i,n,s,u,v;if(!qRr(r))throw new TypeError(ul("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!wRr(e))throw new TypeError(ul("invalid argument. Options argument must be an object. Value: `%s`.",e));if(Ro(e,"dtype")?a=e.dtype:a=pP(r),Ro(e,"shape")){if(v=e.shape,typeof v=="number"&&(v=[v]),!SRr(v))throw new TypeError(ul("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",v))}else v=yP(r);Ro(e,"order")?t=e.order:t=mP(r),Ro(e,"mode")&&(i.mode=e.mode),Ro(e,"submode")&&(i.submode=e.submode)}else a=pP(r),v=yP(r),t=mP(r);return o=v.length,o>0?(s=_Rr(v),u=ERr(v,t)):(s=1,u=[0]),a==="binary"?n=IRr(s):n=jRr(s,a),new TRr(a,n,v,u,ARr(v,u),t,i)}hP.exports=ORr});var xP=c((Cde,bP)=>{"use strict";var NRr=gP();bP.exports=NRr});var wP=c((Lde,qP)=>{"use strict";var DRr=eval;qP.exports=DRr});var EP=c((Pde,SP)=>{"use strict";var kRr=wP();function BRr(){var r;try{kRr('"use strict"; var handler = { "get": function get( t, n ) { return t[ n ] * 100; } }; var target = { "beep": 3.14 }; var p = new Proxy( target, handler ); var x = p.beep; if ( x !== 314 ) { throw new Error( "native Proxy is not supported." ); }'),r=!0}catch{r=!1}return r}SP.exports=BRr});var _P=c((Ude,AP)=>{"use strict";var FRr=EP();AP.exports=FRr});var jP=c((Mde,TP)=>{"use strict";var RRr=typeof Proxy>"u"?null:Proxy;TP.exports=RRr});var OP=c((Gde,IP)=>{"use strict";function VRr(r){return r}IP.exports=VRr});var DP=c((Yde,NP)=>{"use strict";var zRr=_P(),CRr=jP(),LRr=OP(),vl;zRr()?vl=CRr:vl=LRr;NP.exports=vl});var BP=c(($de,kP)=>{"use strict";var PRr=typeof String.prototype.trim<"u";kP.exports=PRr});var fl=c((Wde,FP)=>{"use strict";var URr=String.prototype.trim;FP.exports=URr});var CP=c((Jde,zP)=>{"use strict";var RP=fl(),MRr=`
2
- \r
3
- \f\v\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,VP="\u180E";function GRr(){return RP.call(MRr)===""&&RP.call(VP)===VP}zP.exports=GRr});var PP=c((Xde,LP)=>{"use strict";var YRr=at(),$Rr=/^[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*([\S\s]*?)[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*$/;function WRr(r){return YRr(r,$Rr,"$1")}LP.exports=WRr});var MP=c((Kde,UP)=>{"use strict";var JRr=fl();function XRr(r){return JRr.call(r)}UP.exports=XRr});var Ot=c((Hde,GP)=>{"use strict";var KRr=BP(),HRr=CP(),ZRr=PP(),QRr=MP(),ll;KRr&&HRr()?ll=QRr:ll=ZRr;GP.exports=ll});var WP=c((Zde,$P)=>{"use strict";var rVr=Ot(),eVr=Le(),cl="Slice(",YP=3,aVr=/\s*,\s*/,tVr=/^-?[0-9]+$/;function iVr(r){var e,a,t,o,i;if(r.substring(0,cl.length)!==cl||(t=r.length-1,r[t]!==")")||(r=rVr(r.substring(cl.length,t)),r=r.split(aVr),r.length!==YP))return null;for(e=[],i=0;i<YP;i++){if(o=r[i],o==="null")a=null;else if(tVr.test(o))a=parseInt(o,10);else return null;e.push(a)}return new eVr(e[0],e[1],e[2])}$P.exports=iVr});var us=c((Qde,JP)=>{"use strict";var oVr=WP();JP.exports=oVr});var KP=c((r0e,XP)=>{"use strict";var nVr=Ot(),sVr=us(),uVr=Za(),vVr=he(),dl="MultiSlice(",fVr=/\s*,\s*/,lVr=/^-?[0-9]+$/;function cVr(r){var e,a,t,o,i;if(r.substring(0,dl.length)!==dl||(t=r.length-1,r[t]!==")"))return null;if(r=nVr(r.substring(dl.length,t)),r=r.split(fVr),t=r.length,t===1&&r[0]==="")return new uVr;for(e=[],i=0;i<t;i++){if(o=r[i],o[0]==="S"){if(o=r.slice(i,i+3).join(","),a=sVr(o),a===null)return null;i+=2}else if(o==="null")a=null;else if(lVr.test(o))a=parseInt(o,10);else return null;e.push(a)}return vVr(e)}XP.exports=cVr});var Vo=c((e0e,HP)=>{"use strict";var dVr=KP();HP.exports=dVr});var QP=c((a0e,ZP)=>{"use strict";var pVr=/(?:\s*-\s*)(?=\d+)(\d+)$/;ZP.exports=pVr});var eU=c((t0e,rU)=>{"use strict";var yVr=/(?:\s*\/\s*)(?=\d*\.?\d+)(\d*\.?\d+)$/;rU.exports=yVr});var iU=c((i0e,tU)=>{"use strict";var aU=ea(),mVr=QP(),hVr=eU();function gVr(r,e,a,t){var o;if(r==="end")return e;if(o=r.match(mVr),o){if(r=e-parseInt(o[1],10),r<0){if(t)return-2;r=0}return r}return o=r.match(hVr),o?(r=parseFloat(o[1]),r<1?t?-2:-1:a&&e>0&&r!==1?aU((e-1)/r):aU(e/r)):-1}tU.exports=gVr});var nU=c((o0e,oU)=>{"use strict";var bVr=/\s*:\s*/;oU.exports=bVr});var uU=c((n0e,sU)=>{"use strict";var xVr=/^[-+]?[0-9]+$/;sU.exports=xVr});var fU=c((s0e,vU)=>{"use strict";var qVr=/^end/;vU.exports=qVr});var cU=c((u0e,lU)=>{"use strict";function wVr(){return{code:"ERR_SLICE_INVALID_SUBSEQUENCE"}}lU.exports=wVr});var pU=c((v0e,dU)=>{"use strict";function SVr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}dU.exports=SVr});var mU=c((f0e,yU)=>{"use strict";function EVr(){return{code:"ERR_SLICE_INVALID_INCREMENT"}}yU.exports=EVr});var qU=c((l0e,xU)=>{"use strict";var hU=Le(),AVr=Ot(),gU=iU(),_Vr=nU(),pl=uU(),bU=fU(),Ii=cU(),ei=pU(),TVr=mU();function jVr(r,e,a){var t,o,i;if(t=AVr(r).split(_Vr),o=t.length,o<2||o>3)return Ii();if(o===3)if(i=t[2],i.length===0)t[2]=1;else{if(pl.test(i)===!1)return Ii();if(i=parseInt(i,10),i===0)return TVr();t[2]=i}else t.push(1);if(i=t[0],i.length===0)t[2]<0&&e>0?t[0]=e-1:t[0]=0;else if(bU.test(i)){if(i=gU(i,e,t[2]<0,a),i<0)return i===-2?ei():Ii();t[2]<0&&i>=e&&(i-=1),t[0]=i}else if(pl.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0){if(a)return ei();i=0}}else if(i>=e){if(a)return ei();t[2]<0?i=e-1:i=e}t[0]=i}else return Ii();if(i=t[1],i.length===0)t[2]<0?t[1]=null:t[1]=e;else if(bU.test(i)){if(i=gU(i,e,t[2]<0,a),i<0)return i===-2?ei():Ii();t[1]=i}else if(pl.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0)if(t[2]>0){if(a)return ei();i=0}else{if(a&&i<-1)return ei();i=null}}else if(i>e){if(a)return ei();i=e}t[1]=i}else return Ii();return e===0?new hU(0,0,t[2]):new hU(t[0],t[1],t[2])}xU.exports=jVr});var SU=c((c0e,wU)=>{"use strict";var IVr=qU();wU.exports=IVr});var AU=c((d0e,EU)=>{"use strict";function OVr(){return{code:"ERR_SLICE_INVALID_ELLIPSIS"}}EU.exports=OVr});var TU=c((p0e,_U)=>{"use strict";function NVr(){return{code:"ERR_SLICE_INSUFFICIENT_DIMENSIONS"}}_U.exports=NVr});var IU=c((y0e,jU)=>{"use strict";function DVr(){return{code:"ERR_SLICE_TOO_MANY_DIMENSIONS"}}jU.exports=DVr});var NU=c((m0e,OU)=>{"use strict";function kVr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}OU.exports=kVr});var kU=c((h0e,DU)=>{"use strict";var BVr=/\s*,\s*/;DU.exports=BVr});var FU=c((g0e,BU)=>{"use strict";var FVr=/^[-+]?[0-9]+$/;BU.exports=FVr});var zU=c((b0e,VU)=>{"use strict";var RVr=Ot(),VVr=Le(),zVr=he(),CVr=SU(),LVr=AU(),PVr=TU(),UVr=IU(),RU=NU(),MVr=kU(),GVr=FU();function YVr(r,e,a){var t,o,i,n,s,u,v,f,l,p;for(s=e.length,t=RVr(r).split(MVr),u=t.length,i=!1,o=[],l=0,f=0;f<u;f++){if(v=t[f],v==="..."){if(i)return LVr();for(i=!0,p=0;p<s-u+1;p++)o.push(new VVr(0,e[l],1)),l+=1;continue}if(n=e[l],GVr.test(v)){if(v=parseInt(v,10),a){if(v<0){if(n+v<0)return RU()}else if(v>=n)return RU()}l+=1}else{if(v=CVr(v,n,a),v.code)return v;l+=1}o.push(v)}return o.length!==s?o.length<s?PVr():UVr():zVr(o)}VU.exports=YVr});var vs=c((x0e,CU)=>{"use strict";var $Vr=zU();CU.exports=$Vr});var yl=c((q0e,LU)=>{"use strict";var WVr=/^-?[0-9]+$/;LU.exports=WVr});var ml=c((w0e,PU)=>{"use strict";var JVr=/:/;PU.exports=JVr});var MU=c((S0e,UU)=>{"use strict";var XVr=Ot(),KVr=at(),hl=Za(),HVr=Vo(),ZVr=vs(),QVr=us(),ai=pr(),rzr=yl(),ezr=ml();function azr(r,e){var a,t,o,i;if(t=XVr(e),o=t[0],o==="S"){if(i=QVr(e),i===null)throw new Error(ai("invalid operation. Unsupported slice operation. Value: `%s`.",e));i=new hl(i)}else if(o==="M"){if(i=HVr(t),i===null)throw new Error(ai("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(rzr.test(t))i=parseInt(t,10),i=new hl(i);else if(ezr.test(t)){if(a=r.shape,i=ZVr(t,a,!0),i.code)throw i.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(ai("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(ai("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(ai("invalid operation. Unsupported slice operation. Value: `%s`.",e)):new RangeError(ai("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",a.join(","),KVr(t,/\.\.\.,/,"").split(",").length))}else if(t.length===0||t==="...")i=new hl;else throw new Error(ai("invalid operation. Unsupported slice operation. Value: `%s`.",e));return i}UU.exports=azr});var WU=c((E0e,$U)=>{"use strict";var tzr=Ot(),izr=at(),GU=Za(),ozr=Vo(),YU=vs(),nzr=us(),Nt=pr(),szr=yl();function uzr(r,e,a){var t,o,i,n;if(o=tzr(e),i=o[0],i==="S"){if(n=nzr(e),n===null)throw new Error(Nt("invalid operation. Unsupported slice operation. Value: `%s`.",e));n=new GU(n)}else if(i==="M"){if(n=ozr(o),n===null)throw new Error(Nt("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(szr.test(o))n=parseInt(o,10),n=new GU(n);else if(o.length>0){if(t=r.shape,n=YU(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Nt("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Nt("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Nt("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(Nt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),izr(o,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Nt("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=YU(o,t,!1)}}}else throw new RangeError(Nt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),0));return n}$U.exports=uzr});var XU=c((A0e,JU)=>{"use strict";var fs=at(),vzr=Vo();function fzr(r){return r=fs(r,/^,/,"null,"),r=fs(r,/,$/,",null"),r=fs(r,/,(?=,)/g,",null"),r=fs(r,/undefined/g,"null"),vzr("MultiSlice("+r+")")}JU.exports=fzr});var HU=c((_0e,KU)=>{"use strict";var lzr=XU();KU.exports=lzr});var rM=c((T0e,QU)=>{"use strict";var czr=Ot(),dzr=Vo(),ZU=vs(),pzr=HU(),Oi=pr(),yzr=ml();function mzr(r,e,a){var t,o,i,n;if(o=czr(e),i=o[0],i==="M"){if(n=dzr(o),n===null)throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(yzr.test(o)||o==="..."){if(t=r.shape,n=ZU(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Oi("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Oi("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Oi("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=ZU(o,t,!1)}}}else if(n=pzr(o),n===null)throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e));return n}QU.exports=mzr});var aM=c((j0e,eM)=>{"use strict";var hzr=typeof Object.getOwnPropertyNames<"u";eM.exports=hzr});var oM=c((I0e,iM)=>{"use strict";var tM=zt(),gzr=tM.getOwnPropertyNames;function bzr(r){return gzr(tM(r))}iM.exports=bzr});var sM=c((O0e,nM)=>{"use strict";var xzr=zt(),qzr=Ea();function wzr(r){return qzr(xzr(r))}nM.exports=wzr});var vM=c((N0e,uM)=>{"use strict";var Szr=aM(),Ezr=oM(),Azr=sM(),gl;Szr?gl=Ezr:gl=Azr;uM.exports=gl});var cM=c((D0e,lM)=>{"use strict";var _zr=df(),Tzr=vM(),jzr=Ct(),Izr=zt();function fM(r,e){var a;for(a=0;a<r.length;a++)if(r[a]===e)return!0;return!1}function Ozr(r){var e,a,t,o;if(r==null)return[];a=Izr(r),e=[];do{for(t=Tzr(a),o=0;o<t.length;o++)fM(e,t[o])===!1&&e.push(t[o]);for(t=_zr(a),o=0;o<t.length;o++)fM(e,t[o])===!1&&e.push(t[o]);a=jzr(a)}while(a);return e}lM.exports=Ozr});var pM=c((k0e,dM)=>{"use strict";var Nzr=cM();dM.exports=Nzr});var bl=c((B0e,yM)=>{"use strict";var Dzr=pM(),kzr=Ce().factory,Bzr=ma(),Fzr=Da(),Rzr=kzr(Dzr(new Bzr("generic",[0],[],[0],0,Fzr.get("order"))));yM.exports=Rzr});var hM=c((F0e,mM)=>{"use strict";var Vzr=Pe();function zzr(r,e,a){var t=r[e];if(Vzr(t))return o;return t;function o(){var i,n;for(i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);return t.apply(this===a?r:this,i)}}mM.exports=zzr});var xl=c((R0e,gM)=>{"use strict";var Czr=at();function Lzr(r){return Czr(r,/^invalid argument/,"invalid operation")}gM.exports=Lzr});var xM=c((V0e,bM)=>{"use strict";var Pzr=Ct(),Uzr=me();function Mzr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof Error)return!0;for(;r;){if(Uzr(r)==="[object Error]")return!0;r=Pzr(r)}return!1}bM.exports=Mzr});var ls=c((z0e,qM)=>{"use strict";var Gzr=xM();qM.exports=Gzr});var SM=c((C0e,wM)=>{"use strict";var Yzr=Ct(),$zr=ui(),Wzr=ls();function Jzr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof RangeError)return!0;if(Wzr(r))for(;r;){if($zr(r)==="rangeerror")return!0;r=Yzr(r)}return!1}wM.exports=Jzr});var AM=c((L0e,EM)=>{"use strict";var Xzr=SM();EM.exports=Xzr});var TM=c((P0e,_M)=>{"use strict";var Kzr=Ct(),Hzr=ui(),Zzr=ls();function Qzr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof TypeError)return!0;if(Zzr(r))for(;r;){if(Hzr(r)==="typeerror")return!0;r=Kzr(r)}return!1}_M.exports=Qzr});var IM=c((U0e,jM)=>{"use strict";var rCr=TM();jM.exports=rCr});var NM=c((M0e,OM)=>{"use strict";var eCr=Ct(),aCr=ui(),tCr=ls();function iCr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof SyntaxError)return!0;if(tCr(r))for(;r;){if(aCr(r)==="syntaxerror")return!0;r=eCr(r)}return!1}OM.exports=iCr});var kM=c((G0e,DM)=>{"use strict";var oCr=NM();DM.exports=oCr});var ql=c((Y0e,BM)=>{"use strict";var nCr=AM(),sCr=IM(),uCr=kM();function vCr(r){return nCr(r)?RangeError:sCr(r)?TypeError:uCr(r)?SyntaxError:Error}BM.exports=vCr});var RM=c(($0e,FM)=>{"use strict";var fCr=ye(),lCr=xl(),cCr=ql();function dCr(r,e,a,t){var o,i,n;o=!1,n=t(r,e,o);try{return fCr(a,n,o,!1)}catch(s){throw i=cCr(s),new i(lCr(s.message))}}FM.exports=dCr});var zM=c((W0e,VM)=>{"use strict";var pCr=bl(),yCr=hM(),mCr=RM();function hCr(r){return e;function e(a,t,o){return pCr(t)?yCr(a,t,o):mCr(a,t,o,r)}}VM.exports=hCr});var LM=c((J0e,CM)=>{"use strict";function gCr(r,e,a){return r[e]=a,!0}CM.exports=gCr});var UM=c((X0e,PM)=>{"use strict";var bCr=Qo();function xCr(r){return r===0&&1/r===bCr}PM.exports=xCr});var GM=c((K0e,MM)=>{"use strict";var qCr=UM();MM.exports=qCr});var $M=c((H0e,YM)=>{"use strict";var wCr=1401298464324817e-60;YM.exports=wCr});var JM=c((Z0e,WM)=>{"use strict";var SCr=16777215;WM.exports=SCr});var KM=c((Q0e,XM)=>{"use strict";var ECr=-16777215;XM.exports=ECr});var a9=c((rpe,e9)=>{"use strict";var ACr=Ge().isPrimitive,_Cr=pe().isPrimitive,ZM=wa(),TCr=GM(),jCr=fa(),QM=Pi(),r9=Qo(),cs=$M(),ICr=JM(),OCr=KM(),NCr=dv(),DCr=vv(),kCr=nv(),BCr=Su(),FCr=_u(),RCr=an();function HM(r){return r!==r||r===QM||r===r9?"float32":ZM(r)?r>=OCr&&r<=ICr?"float32":"float64":r>-cs&&r<cs?"float64":"float32"}function VCr(r){return ACr(r)?r!==r||r===QM||r===r9?"float32":ZM(r)?r===0&&TCr(r)?"float32":r<0?r>=NCr?"int8":r>=DCr?"int16":r>=kCr?"int32":"float64":r<=BCr?"uint8":r<=FCr?"uint16":r<=RCr?"uint32":"float64":r>-cs&&r<cs?"float64":"float32":_Cr(r)?"bool":jCr(r)?HM(r.re)==="float64"||HM(r.im)==="float64"?"complex128":"complex64":"generic"}e9.exports=VCr});var wl=c((epe,t9)=>{"use strict";var zCr=a9();t9.exports=zCr});var o9=c((ape,i9)=>{"use strict";var CCr={Complex64:"complex64",Complex128:"complex128"};i9.exports=CCr});var n9=c((tpe,LCr)=>{LCr.exports=["complex64","complex128"]});var u9=c((ipe,s9)=>{"use strict";var PCr=n9();function UCr(){return PCr.slice()}s9.exports=UCr});var f9=c((ope,v9)=>{"use strict";var MCr=u9();v9.exports=MCr});var Sl=c((npe,l9)=>{"use strict";var GCr=f9(),YCr=GCr();l9.exports=YCr});var y9=c((spe,p9)=>{"use strict";var $Cr=Ln(),c9=Sl(),d9=[],ds;for(ds=0;ds<c9.length;ds++)d9.push($Cr(c9[ds]));p9.exports=d9});var g9=c((upe,h9)=>{"use strict";var WCr=ht(),JCr=o9(),XCr=y9(),m9=Sl(),KCr=m9.length;function HCr(r){var e;for(e=0;e<KCr;e++)if(r instanceof XCr[e])return m9[e];return JCr[WCr(r)]||null}h9.exports=HCr});var El=c((vpe,b9)=>{"use strict";var ZCr=g9();b9.exports=ZCr});var x9=c((fpe,QCr)=>{QCr.exports={all:["bool","complex64","complex128","float32","float64","generic","int16","int32","int8","uint16","uint32","uint8","uint8c"],typed:["bool","complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],floating_point:["complex64","complex128","float32","float64"],real_floating_point:["float32","float64"],complex_floating_point:["complex64","complex128"],boolean:["bool"],integer:["int16","int32","int8","uint16","uint32","uint8","uint8c"],signed_integer:["int16","int32","int8"],unsigned_integer:["uint16","uint32","uint8","uint8c"],real:["float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],numeric:["complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"]}});var E9=c((lpe,S9)=>{"use strict";var rLr=at(),q9=x9(),w9=/_and_generic$/;function eLr(){var r,e,a;return arguments.length===0?q9.all.slice():(a=!1,r=arguments[0],w9.test(r)&&(r=rLr(r,w9,""),r!=="all"&&(a=!0)),e=q9[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}S9.exports=eLr});var Al=c((cpe,A9)=>{"use strict";var aLr=E9();A9.exports=aLr});var T9=c((dpe,_9)=>{"use strict";var tLr=Ce().factory,iLr=Al(),oLr=tLr(iLr("complex_floating_point"));_9.exports=oLr});var ps=c((ppe,j9)=>{"use strict";var nLr=T9();j9.exports=nLr});var N9=c((ype,O9)=>{"use strict";var _l=Xr(),sLr=ne(),uLr=Ge().isPrimitive,vLr=ps(),fLr=fa(),lLr=pe().isPrimitive,cLr=tt(),dLr=bi(),pLr=gi(),yLr=Ba(),mLr=ma(),ys=Da(),hLr=El(),I9=pr(),gLr=ys.get("order"),bLr=ys.get("dtypes.real_floating_point"),xLr=ys.get("dtypes.complex_floating_point"),qLr=ys.get("dtypes.boolean");function wLr(r){var e,a,t,o,i,n,s;if(a={dtype:"",order:gLr,readonly:!1},arguments.length>1){if(e=arguments[1],!sLr(e))throw new TypeError(I9("invalid argument. Options argument must be an object. Value: `%s`.",e));_l(e,"dtype")&&(a.dtype=e.dtype),_l(e,"order")&&(a.order=e.order),_l(e,"readonly")&&(a.readonly=e.readonly)}if(o=uLr(r),a.dtype===""?o?n=bLr:lLr(r)?n=qLr:fLr(r)?(n=hLr(r),n===null&&(n=xLr)):n="generic":n=a.dtype,t=yLr(n,1),t===null)throw new TypeError(I9("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",n));return vLr(n)&&o?s=[r,0]:s=r,cLr(t)?i=dLr(n):i=pLr(n),i(t,0,s),new mLr(n,t,[],[0],0,a.order,a)}O9.exports=wLr});var Tl=c((mpe,D9)=>{"use strict";var SLr=N9();D9.exports=SLr});var F9=c((hpe,B9)=>{"use strict";var ELr=is(),ALr=se(),_Lr=Ge().isPrimitive,TLr=ve().isPrimitive,jLr=fa(),ILr=wo(),OLr=Mn(),NLr=Wn(),DLr=$n(),k9=_n(),kLr=cv(),BLr=uv(),FLr=ov(),ms=wl(),RLr=El(),Ni=Tl(),ti=pr(),VLr=xl(),zLr=ql();function Di(r){return{dtype:r}}function CLr(r,e,a,t,o){var i,n,s,u,v;if(!ALr(a))if(s=r.dtype,s==="generic")a=Ni(a,Di(s));else if(_Lr(a))if(OLr(s))a=Ni(a,Di(s));else if(NLr(s))if(n=ms(a),k9(n,s))a=Ni(a,Di(s));else throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else if(DLr(s)){if(!TLr(a))throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",ms(a),s));if(a<0?n=ms(a):a<=kLr?n="int8":a<=BLr?n="int16":a<=FLr?n="int32":n="float64",k9(n,s))a=Ni(a,Di(s));else throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s))}else if(s==="binary")if(n=ms(a),n==="uint8")a=Ni(a,Di(s));else throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else throw new TypeError(ti("invalid operation. Unsupported target array data type. Data type: `%s`.",s));else if(jLr(a)){if(!ILr(s))throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",RLr(a),s));a=Ni(a,Di(s))}else throw new TypeError(ti("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",typeof a,s));i=!1,v=o(r,e,i);try{return ELr(a,t,v,i),!0}catch(f){throw u=zLr(f),new u(VLr(f.message))}}B9.exports=CLr});var V9=c((gpe,R9)=>{"use strict";var LLr=bl(),PLr=LM(),ULr=F9();function MLr(r){return e;function e(a,t,o,i){return LLr(t)?PLr(a,t,o):ULr(a,t,o,i,r)}}R9.exports=MLr});var G9=c((bpe,M9)=>{"use strict";var GLr=Ir(),C9=ma(),YLr=Nv(),z9=DP(),L9=MU(),P9=WU(),U9=rM(),jl=zM(),Il=V9(),$Lr=jl(L9),WLr=Il(L9),JLr=jl(P9),XLr=Il(P9),KLr=jl(U9),HLr=Il(U9);function ki(r,e,a,t,o,i,n){var s,u,v;return u=arguments.length,this instanceof ki?(C9.call(this,r,e,a,t,o,i,u<7?{}:n),z9?(v=a.length,s={},v===0?(s.get=$Lr,s.set=WLr):v===1?(s.get=JLr,s.set=XLr):(s.get=KLr,s.set=HLr),new z9(this,s)):(console.warn("WARNING: Proxy objects are not supported in the current environment. Some `FancyArray` functionality may not be available."),this)):u<7?new ki(r,e,a,t,o,i):new ki(r,e,a,t,o,i,n)}YLr(ki,C9);GLr(ki,"name","ndarray");M9.exports=ki});var $9=c((xpe,Y9)=>{"use strict";var ZLr=G9();Y9.exports=ZLr});var Ol=c((qpe,W9)=>{"use strict";function QLr(r){return typeof r=="symbol"}W9.exports=QLr});var X9=c((wpe,J9)=>{"use strict";function rPr(r){return Symbol.prototype.toString.call(r)}J9.exports=rPr});var H9=c((Spe,K9)=>{"use strict";var ePr=X9(),aPr=/^Symbol\(.*\)$/;function tPr(r){try{return typeof r.valueOf()=="symbol"&&aPr.test(ePr(r))}catch{return!1}}K9.exports=tPr});var Nl=c((Epe,Z9)=>{"use strict";var iPr=me(),oPr=H9();function nPr(r){return typeof r=="object"&&iPr(r)==="[object Symbol]"&&oPr(r)}Z9.exports=nPr});var rG=c((Ape,Q9)=>{"use strict";var sPr=Ol(),uPr=Nl();function vPr(r){return sPr(r)||uPr(r)}Q9.exports=vPr});var tG=c((_pe,aG)=>{"use strict";var eG=Ir(),Dl=rG(),fPr=Ol(),lPr=Nl();eG(Dl,"isPrimitive",fPr);eG(Dl,"isObject",lPr);aG.exports=Dl});var oG=c((Tpe,iG)=>{"use strict";function cPr(r){return e;function e(){return r}}iG.exports=cPr});var sG=c((jpe,nG)=>{"use strict";var dPr=oG();nG.exports=dPr});var fG=c((Ipe,vG)=>{"use strict";var uG=Ir(),kl=sG(),Bl=kl(!1),pPr=kl(!1),yPr=kl(!1);uG(Bl,"isPrimitive",pPr);uG(Bl,"isObject",yPr);vG.exports=Bl});var cG=c((Ope,lG)=>{"use strict";var mPr=Ys(),hPr=tG(),gPr=fG(),Fl;mPr()?Fl=hPr:Fl=gPr;lG.exports=Fl});var pG=c((Npe,dG)=>{"use strict";var bPr=La().isPrimitive,xPr=cG().isPrimitive,qPr=ge().isPrimitive;function wPr(r){return bPr(r)||xPr(r)||qPr(r)}dG.exports=wPr});var mG=c((Dpe,yG)=>{"use strict";var SPr=pG();yG.exports=SPr});var bG=c((kpe,gG)=>{"use strict";var EPr=mG(),APr=So(),hG=pr();function _Pr(r,e){if(typeof r!="object"||r===null)throw new TypeError(hG("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!EPr(e))throw new TypeError(hG("invalid argument. Second argument must be a valid property name. Value: `%s`.",e));return APr(r,!1)[e]}gG.exports=_Pr});var qG=c((Bpe,xG)=>{"use strict";var TPr=bG();xG.exports=TPr});var SG=c((Fpe,wG)=>{"use strict";var jPr=So(),IPr=pr();function OPr(r){if(typeof r!="object"||r===null)throw new TypeError(IPr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return jPr(r,!0)}wG.exports=OPr});var AG=c((Rpe,EG)=>{"use strict";var NPr=SG();EG.exports=NPr});var Rl=c((Vpe,DPr)=>{DPr.exports={mode:"throw",order:"row-major"}});var zl=c((zpe,TG)=>{"use strict";var kPr=ne(),_G=Xr(),BPr=_a(),FPr=pi(),Vl=pr();function RPr(r,e){return kPr(e)?_G(e,"mode")&&(r.mode=e.mode,!FPr(r.mode))?new TypeError(Vl("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode)):_G(e,"order")&&(r.order=e.order,!BPr(r.order))?new TypeError(Vl("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null:new TypeError(Vl("invalid argument. Options argument must be an object. Value: `%s`.",e))}TG.exports=RPr});var NG=c((Cpe,OG)=>{"use strict";var VPr=Wt().primitives,zPr=ve().isPrimitive,CPr=Ve(),LPr=Ai(),jG=pr(),IG=Rl(),PPr=zl();function UPr(r,e,a){var t,o;if(t={},t.mode=IG.mode,t.order=IG.order,arguments.length>2&&(o=PPr(t,a),o))throw o;if(!VPr(r))throw new TypeError(jG("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!zPr(e))throw new TypeError(jG("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return LPr(r,CPr(r,t.order),0,t.order,e,t.mode)}OG.exports=UPr});var BG=c((Lpe,kG)=>{"use strict";var MPr=Wt().primitives,GPr=ve().isPrimitive,YPr=Ve(),$Pr=Ai().assign,hs=pr(),DG=Rl(),WPr=zl();function JPr(r,e,a,t){var o,i,n;if(o={},o.mode=DG.mode,o.order=DG.order,arguments.length===4){if(n=WPr(o,arguments[2]),n)throw n;if(typeof t!="object"||t===null)throw new TypeError(hs("invalid argument. Output argument must be either an array, typed array, or object. Value: `%s`.",t));i=t}else if(i=a,typeof i!="object"||i===null)throw new TypeError(hs("invalid argument. Output argument must be either an array, typed array, or object. Value: `%s`.",i));if(!MPr(r))throw new TypeError(hs("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!GPr(e))throw new TypeError(hs("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return $Pr(r,YPr(r,o.order),0,o.order,e,o.mode,i)}kG.exports=JPr});var VG=c((Ppe,RG)=>{"use strict";var XPr=Ir(),FG=NG(),KPr=BG();XPr(FG,"assign",KPr);RG.exports=FG});var PG=c((Upe,LG)=>{"use strict";var Cl=Ir(),HPr=ne(),ZPr=pe().isPrimitive,QPr=se(),rUr=Ue(),eUr=Xr(),zG=Be(),aUr=Se(),tUr=oe(),iUr=Jr(),oUr=ye(),nUr=He().assign,sUr=he(),gs=pr();function CG(r){var e,a,t,o,i,n,s,u,v,f,l;if(!QPr(r))throw new TypeError(gs("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!HPr(e))throw new TypeError(gs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(eUr(e,"readonly")){if(!ZPr(e.readonly))throw new TypeError(gs("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&rUr(r))throw new Error(gs("invalid option. Cannot write to read-only array."))}}if(a=tUr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=iUr(a),f===0&&(n=!0),f/=a[t-2],u=t-1,v=a[u],l=-1,s=aUr(t),s[t-2]=null,i={},Cl(i,"next",p),Cl(i,"return",m),zG&&Cl(i,zG,d),i;function p(){var y,h,g;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),h=sUr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=nUr(a,"row-major",s,u-2,s)),{value:[y,oUr(r,h,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return CG(r,o)}}LG.exports=CG});var MG=c((Mpe,UG)=>{"use strict";var uUr=PG();UG.exports=uUr});var WG=c((Gpe,$G)=>{"use strict";var Ll=Ir(),vUr=ne(),fUr=pe().isPrimitive,lUr=se(),cUr=Ue(),dUr=Xr(),GG=Be(),pUr=Se(),yUr=oe(),mUr=Jr(),hUr=ye(),gUr=He().assign,bUr=he(),bs=pr();function YG(r){var e,a,t,o,i,n,s,u,v,f,l;if(!lUr(r))throw new TypeError(bs("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!vUr(e))throw new TypeError(bs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(dUr(e,"readonly")){if(!fUr(e.readonly))throw new TypeError(bs("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&cUr(r))throw new Error(bs("invalid option. Cannot write to read-only array."))}}if(a=yUr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=mUr(a),f===0&&(n=!0),f/=a[t-2],u=t-1,v=a[u],l=-1,s=pUr(t),s[t-2]=null,i={},Ll(i,"next",p),Ll(i,"return",m),GG&&Ll(i,GG,d),i;function p(){var y,h;return l+=1,n||l>=f?{done:!0}:(y=bUr(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=gUr(a,"row-major",s,u-2,s)),{value:hUr(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return YG(r,o)}}$G.exports=YG});var XG=c((Ype,JG)=>{"use strict";var xUr=WG();JG.exports=xUr});var QG=c(($pe,ZG)=>{"use strict";var Pl=Ir(),qUr=ne(),wUr=_a(),SUr=se(),EUr=Xr(),KG=Be(),AUr=Se(),_Ur=oe(),TUr=Jr(),jUr=He().assign,Ul=pr();function HG(r){var e,a,t,o,i,n,s,u,v,f;if(!SUr(r))throw new TypeError(Ul("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!qUr(e))throw new TypeError(Ul("invalid argument. Options argument must be an object. Value: `%s`.",e));if(EUr(e,"order")){if(!wUr(e.order))throw new TypeError(Ul("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=_Ur(r),t=a.length,v=TUr(a),v===0&&(n=!0),o.order==="row-major"?u=t-1:u=0,f=-1,s=AUr(t),i={},Pl(i,"next",l),Pl(i,"return",p),KG&&Pl(i,KG,m),i;function l(){return f+=1,n||f>=v?{done:!0}:(f>0&&(s=jUr(a,o.order,s,u,s)),{value:[s.slice(),r.get.apply(r,s)],done:!1})}function p(d){return n=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return HG(r,o)}}ZG.exports=HG});var eY=c((Wpe,rY)=>{"use strict";var IUr=QG();rY.exports=IUr});var oY=c((Jpe,iY)=>{"use strict";var Ml=Ir(),OUr=ne(),NUr=_a(),DUr=De(),kUr=ge().isPrimitive,BUr=Xr(),aY=Be(),FUr=Se(),RUr=Jr(),VUr=He().assign,xs=pr();function tY(r){var e,a,t,o,i,n,s,u,v,f;if(!DUr(r))throw new TypeError(xs("invalid argument. First argument must be an array of nonnegative integers. Value: `%s`.",r));if(t={order:"row-major"},arguments.length>1){if(e=arguments[1],!OUr(e))throw new TypeError(xs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(BUr(e,"order")){if(!NUr(e.order))throw new TypeError(xs("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));t.order=e.order}}for(a=r.length,u=[],f=0;f<a;f++){if(!kUr(r[f]))throw new TypeError(xs("invalid argument. First argument must be an array of nonnegative integers. Value: `%s`.",r));u.push(r[f])}return v=RUr(u),v===0&&(i=!0),t.order==="row-major"?s=a-1:s=0,f=-1,n=FUr(a),o={},Ml(o,"next",l),Ml(o,"return",p),aY&&Ml(o,aY,m),o;function l(){return f+=1,i||f>=v?{done:!0}:(f>0&&(n=VUr(r,t.order,n,s,n)),{value:n.slice(),done:!1})}function p(d){return i=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return tY(u,t)}}iY.exports=tY});var sY=c((Xpe,nY)=>{"use strict";var zUr=oY();nY.exports=zUr});var fY=c((Kpe,vY)=>{"use strict";var CUr=se(),LUr=De(),PUr=ge().isPrimitive,uY=os(),UUr=oe(),Gl=pr();function MUr(r,e){var a,t,o,i;if(!CUr(r))throw new TypeError(Gl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!LUr(e))throw new TypeError(Gl("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(t=e.length,a=UUr(r),a.length===t){for(i=0;i<t;i++){if(o=e[i],!PUr(o))throw new TypeError(Gl("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(a[i]!==o)return uY(r,e)}return r}return uY(r,e)}vY.exports=MUr});var Yl=c((Hpe,lY)=>{"use strict";var GUr=fY();lY.exports=GUr});var pY=c((Zpe,dY)=>{"use strict";var YUr=se(),$Ur=ze(),WUr=qi(),JUr=Yl(),XUr=oe(),cY=pr();function KUr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(YUr(r))t=[r];else if($Ur(r))t=r;else throw new TypeError(cY("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(n=t.length,e=[],s=0;s<n;s++)try{e.push(XUr(t[s]))}catch{throw new TypeError(cY("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=WUr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push(JUr(t[s],i));return o}dY.exports=KUr});var $l=c((Qpe,yY)=>{"use strict";var HUr=pY();yY.exports=HUr});var bY=c((rye,gY)=>{"use strict";var Wl=Ir(),ZUr=ze(),QUr=ns().isPrimitive,mY=Be(),rMr=Se(),eMr=oe(),aMr=Jr(),tMr=ye(),iMr=$l(),oMr=He().assign,nMr=he(),qs=pr();function hY(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y;if(!ZUr(r))throw new TypeError(qs("invalid argument. First argument must be an array of ndarrays. Value: `%s`.",r));if(!QUr(e))throw new TypeError(qs("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));try{o=iMr(r)}catch{throw new TypeError(qs("invalid argument. First argument must be an array of ndarrays which are broadcast-compatible. Value: `%s`.",r))}if(p=o.length,a=eMr(o[0]),f=a.length,f<=e)throw new TypeError(qs("invalid argument. First argument must be an array of ndarrays having at least %d dimensions after broadcasting.",e+1));for(l=aMr(a),l===0&&(i=!0),s=f-e-1,m=s+1;m<f;m++)l/=a[m];for(l*=p,v=a[s],n=[],m=0;m<p;m++){for(u=rMr(f),d=s+1;d<f;d++)u[d]=null;n.push(u)}return m=-1,y=-1,t={},Wl(t,"next",h),Wl(t,"return",g),mY&&Wl(t,mY,x),t;function h(){var S,w,A;return m+=1,i||m>=l?{done:!0}:(y=(y+1)%p,S=n[y],w=nMr(S),A=(S[s]+1)%v,S[s]=A,A===0&&(S=oMr(a,"row-major",S,s-1,S)),{value:tMr(o[y],w,!0,!1),done:!1})}function g(S){return i=!0,arguments.length?{value:S,done:!0}:{done:!0}}function x(){return hY(r,e)}}gY.exports=hY});var qY=c((eye,xY)=>{"use strict";var sMr=bY();xY.exports=sMr});var AY=c((aye,EY)=>{"use strict";var Jl=Ir(),uMr=ne(),vMr=pe().isPrimitive,fMr=se(),lMr=Ue(),cMr=Xr(),wY=Be(),dMr=Se(),pMr=oe(),yMr=Jr(),mMr=ye(),hMr=He().assign,gMr=he(),ws=pr();function SY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!fMr(r))throw new TypeError(ws("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!uMr(e))throw new TypeError(ws("invalid argument. Options argument must be an object. Value: `%s`.",e));if(cMr(e,"readonly")){if(!vMr(e.readonly))throw new TypeError(ws("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&lMr(r))throw new Error(ws("invalid option. Cannot write to read-only array."))}}if(a=pMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=yMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],u=t-3,v=a[u],l=-1,s=dMr(t),s[t-1]=null,s[t-2]=null,i={},Jl(i,"next",p),Jl(i,"return",m),wY&&Jl(i,wY,d),i;function p(){var y,h;return l+=1,n||l>=f?{done:!0}:(y=gMr(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=hMr(a,"row-major",s,u-1,s)),{value:mMr(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return SY(r,o)}}EY.exports=SY});var TY=c((tye,_Y)=>{"use strict";var bMr=AY();_Y.exports=bMr});var NY=c((iye,OY)=>{"use strict";var Xl=Ir(),xMr=ne(),qMr=pe().isPrimitive,wMr=se(),SMr=Ue(),EMr=Xr(),jY=Be(),AMr=Se(),_Mr=oe(),TMr=Jr(),jMr=ye(),IMr=He().assign,OMr=he(),Ss=pr();function IY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!wMr(r))throw new TypeError(Ss("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!xMr(e))throw new TypeError(Ss("invalid argument. Options argument must be an object. Value: `%s`.",e));if(EMr(e,"readonly")){if(!qMr(e.readonly))throw new TypeError(Ss("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&SMr(r))throw new Error(Ss("invalid option. Cannot write to read-only array."))}}if(a=_Mr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=TMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],u=t-3,v=a[u],l=-1,s=AMr(t),s[t-1]=null,s[t-2]=null,i={},Xl(i,"next",p),Xl(i,"return",m),jY&&Xl(i,jY,d),i;function p(){var y,h,g;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),h=OMr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=IMr(a,"row-major",s,u-1,s)),{value:[y,jMr(r,h,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return IY(r,o)}}OY.exports=IY});var kY=c((oye,DY)=>{"use strict";var NMr=NY();DY.exports=NMr});var VY=c((nye,RY)=>{"use strict";var Kl=Ir(),DMr=ne(),kMr=pe().isPrimitive,BMr=se(),FMr=Ue(),RMr=Xr(),BY=Be(),VMr=Se(),zMr=oe(),CMr=Jr(),LMr=ye(),PMr=He().assign,UMr=he(),Es=pr();function FY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!BMr(r))throw new TypeError(Es("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!DMr(e))throw new TypeError(Es("invalid argument. Options argument must be an object. Value: `%s`.",e));if(RMr(e,"readonly")){if(!kMr(e.readonly))throw new TypeError(Es("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&FMr(r))throw new Error(Es("invalid option. Cannot write to read-only array."))}}if(a=zMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=CMr(a),f===0&&(n=!0),f/=a[t-1],u=t-2,v=a[u],l=-1,s=VMr(t),s[t-1]=null,i={},Kl(i,"next",p),Kl(i,"return",m),BY&&Kl(i,BY,d),i;function p(){var y,h,g;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),h=UMr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=PMr(a,"row-major",s,u-1,s)),{value:[y,LMr(r,h,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return FY(r,o)}}RY.exports=FY});var CY=c((sye,zY)=>{"use strict";var MMr=VY();zY.exports=MMr});var MY=c((uye,UY)=>{"use strict";var Hl=Ir(),GMr=ne(),YMr=pe().isPrimitive,$Mr=se(),WMr=Ue(),JMr=Xr(),LY=Be(),XMr=Se(),KMr=oe(),HMr=Jr(),ZMr=ye(),QMr=He().assign,r9r=he(),As=pr();function PY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!$Mr(r))throw new TypeError(As("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!GMr(e))throw new TypeError(As("invalid argument. Options argument must be an object. Value: `%s`.",e));if(JMr(e,"readonly")){if(!YMr(e.readonly))throw new TypeError(As("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&WMr(r))throw new Error(As("invalid option. Cannot write to read-only array."))}}if(a=KMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=HMr(a),f===0&&(n=!0),f/=a[t-1],u=t-2,v=a[u],l=-1,s=XMr(t),s[t-1]=null,i={},Hl(i,"next",p),Hl(i,"return",m),LY&&Hl(i,LY,d),i;function p(){var y,h;return l+=1,n||l>=f?{done:!0}:(y=r9r(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=QMr(a,"row-major",s,u-1,s)),{value:ZMr(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return PY(r,o)}}UY.exports=PY});var YY=c((vye,GY)=>{"use strict";var e9r=MY();GY.exports=e9r});var HY=c((fye,KY)=>{"use strict";var Zl=Ir(),a9r=ne(),$Y=pe().isPrimitive,t9r=ve().isPrimitive,i9r=se(),o9r=Ue(),WY=Xr(),JY=Be(),n9r=Ei(),s9r=oe(),u9r=ya(),v9r=Jr(),f9r=ye(),l9r=Le(),c9r=he(),ii=pr();function XY(r,e){var a,t,o,i,n,s,u,v,f,l;if(!i9r(r))throw new TypeError(ii("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!t9r(e))throw new TypeError(ii("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(i={writable:!1,keepdim:!1},arguments.length>2){if(a=arguments[2],!a9r(a))throw new TypeError(ii("invalid argument. Options argument must be an object. Value: `%s`.",a));if(WY(a,"readonly")){if(!$Y(a.readonly))throw new TypeError(ii("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(i.writable=!a.readonly,i.writable&&o9r(r))throw new Error(ii("invalid option. Cannot write to read-only array."))}if(WY(a,"keepdim")){if(!$Y(a.keepdim))throw new TypeError(ii("invalid option. `%s` option must be a boolean. Option: `%s`.","keepdim",a.keepdim));i.keepdim=a.keepdim}}if(t=s9r(r),o=t.length,f=u9r(e,o-1),f===-1)throw new RangeError(ii("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return v=v9r(t),v===0&&(s=!0),v=t[f],l=-1,u=n9r(o),n={},Zl(n,"next",p),Zl(n,"return",m),JY&&Zl(n,JY,d),n;function p(){var y;return l+=1,s||l>=v?{done:!0}:(i.keepdim?u[f]=new l9r(l,l+1,1):u[f]=l,y=c9r(u),{value:f9r(r,y,!0,i.writable),done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return XY(r,e,i)}}KY.exports=XY});var QY=c((lye,ZY)=>{"use strict";var d9r=HY();ZY.exports=d9r});var e$=c((cye,r$)=>{"use strict";var p9r=tt(),y9r=it(),m9r=St(),h9r=po();function g9r(r){var e=h9r(r);return p9r(r)?y9r(e):m9r(e)}r$.exports=g9r});var Ql=c((dye,a$)=>{"use strict";var b9r=e$();a$.exports=b9r});var i$=c((pye,t$)=>{"use strict";var x9r=Ql();function q9r(r){var e,a,t,o;for(t=x9r(r),a=r.length,e=[],o=0;o<a;o++)e.push(t(r,o));return e}t$.exports=q9r});var n$=c((yye,o$)=>{"use strict";var w9r=i$();o$.exports=w9r});var v$=c((mye,u$)=>{"use strict";var s$=Ql(),S9r=nt().factory;function E9r(r,e,a){var t,o,i,n,s,u,v;for(o=s$(r),i=s$(e),t=S9r(a),s=r.length-1,n=[],u=0;u<e.length;u++)v=t(i(e,u),s),n.push(o(r,v));return n}u$.exports=E9r});var l$=c((hye,f$)=>{"use strict";var A9r=Ce().factory,_9r=Al(),T9r=A9r(_9r("boolean"));f$.exports=T9r});var rc=c((gye,c$)=>{"use strict";var j9r=l$();c$.exports=j9r});var p$=c((bye,d$)=>{"use strict";var I9r=dn(),O9r=cn(),N9r=oo(),D9r=io(),k9r=pr();function B9r(r,e){if(I9r(r))return N9r(r,e);if(O9r(r))return D9r(r,e);throw new TypeError(k9r("invalid argument. First argument must be a complex-valued floating-point array. Value: `%s`.",r))}d$.exports=B9r});var ec=c((xye,y$)=>{"use strict";var F9r=p$();y$.exports=F9r});var h$=c((qye,m$)=>{"use strict";var R9r=va();function V9r(r,e){return new R9r(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,r.length-e)}m$.exports=V9r});var ac=c((wye,g$)=>{"use strict";var z9r=h$();g$.exports=z9r});var E$=c((Sye,S$)=>{"use strict";var b$=ps(),x$=rc(),tc=vt(),q$=ec(),w$=ac(),_s=nt().factory;function C9r(r,e,a,t,o,i){var n,s,u,v,f;for(n=_s(a),s=r.length-1,u=i,v=0;v<e.length;v++)f=n(e[v],s),t[u]=r[f],u+=o;return t}function L9r(r,e,a,t,o,i){var n,s,u,v,f,l,p,m,d,y,h;for(s=r.data,u=e.data,v=t.data,f=r.accessors[0],l=e.accessors[0],p=t.accessors[1],n=_s(a),m=s.length-1,d=i,y=0;y<u.length;y++)h=n(l(u,y),m),p(v,d,f(s,h)),d+=o;return v}function P9r(r,e,a,t,o,i){var n,s,u,v,f,l,p,m,d;for(s=e.data,u=e.accessors[0],n=_s(a),v=r.length/2-1,l=o*2,f=i*2,p=0;p<s.length;p++)m=n(u(s,p),v),d=m*2,t[f]=r[d],t[f+1]=r[d+1],f+=l;return t}function U9r(r,e,a,t,o,i){var n,s,u,v,f,l,p;for(s=e.data,u=e.accessors[0],n=_s(a),v=r.length-1,f=i,l=0;l<s.length;l++)p=n(u(s,l),v),t[f]=r[p],f+=o;return t}function M9r(r,e,a,t,o,i){var n,s,u;return n=tc(r),s=tc(e),u=tc(t),n.accessorProtocol||s.accessorProtocol||u.accessorProtocol?b$(n.dtype)&&b$(u.dtype)?(P9r(q$(r,0),s,a,q$(t,0),o,i),t):x$(n.dtype)&&x$(u.dtype)?(U9r(w$(r,0),s,a,w$(t,0),o,i),t):(L9r(n,s,a,u,o,i),t):(C9r(r,e,a,t,o,i),t)}S$.exports=M9r});var T$=c((Eye,_$)=>{"use strict";var G9r=Ir(),A$=v$(),Y9r=E$();G9r(A$,"assign",Y9r);_$.exports=A$});var k$=c((Aye,D$)=>{"use strict";var j$=ps(),I$=rc(),ic=vt(),O$=ec(),N$=ac(),$9r=nt().factory,W9r=pr();function J9r(r,e,a,t,o,i){var n,s,u;for(n=0,s=0;s<e.length;s++)u=o(e[s],i),r[u]=a[n],n+=t;return r}function X9r(r,e,a,t,o,i){var n,s,u,v,f,l,p,m,d;for(n=r.data,s=e.data,u=a.data,v=r.accessors[1],f=e.accessors[0],l=a.accessors[0],p=0,m=0;m<s.length;m++)d=o(f(s,m),i),v(n,d,l(u,p)),p+=t;return n}function K9r(r,e,a,t,o,i){var n,s,u,v,f,l,p;for(n=e.data,s=e.accessors[0],v=t*2,u=0,f=0;f<n.length;f++)l=o(s(n,f),i),p=l*2,r[p]=a[u],r[p+1]=a[u+1],u+=v;return r}function H9r(r,e,a,t,o,i){var n,s,u,v,f;for(n=e.data,s=e.accessors[0],u=0,v=0;v<n.length;v++)f=o(s(n,v),i),r[f]=a[u],u+=t;return r}function Z9r(r,e,a,t){var o,i,n,s,u,v;if(e.length>0)if(a.length===e.length)i=1;else if(a.length===1)i=0;else throw new Error(W9r("invalid argument. The third argument must be broadcast compatible with the second argument. Array shape: (%d). Desired shape: (%d).",a.length,e.length));return o=$9r(t),n=r.length-1,s=ic(r),u=ic(e),v=ic(a),s.accessorProtocol||u.accessorProtocol||v.accessorProtocol?j$(s.dtype)&&j$(v.dtype)?(K9r(O$(r,0),u,O$(a,0),i,o,n),r):I$(s.dtype)&&I$(v.dtype)?(H9r(N$(r,0),u,N$(a,0),i,o,n),r):(X9r(s,u,v,i,o,n),r):(J9r(r,e,a,i,o,n),r)}D$.exports=Z9r});var F$=c((_ye,B$)=>{"use strict";var Q9r=k$();B$.exports=Q9r});var L$=c((Tye,C$)=>{"use strict";var oc=Ir(),rGr=ne(),eGr=pe().isPrimitive,aGr=ev().primitives,tGr=se(),iGr=Ue(),oGr=Xr(),R$=Be(),nGr=Se(),sGr=n$(),V$=T$(),uGr=F$(),vGr=oe(),fGr=ya(),lGr=Jr(),cGr=ye(),dGr=He().assign,pGr=he(),dt=pr();function z$(r,e){var a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g;if(!tGr(r))throw new TypeError(dt("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!aGr(e))throw new TypeError(dt("invalid argument. Second argument must be an array of integers. Value: `%s`.",e));if(s={writable:!1},arguments.length>2){if(t=arguments[2],!rGr(t))throw new TypeError(dt("invalid argument. Options argument must be an object. Value: `%s`.",t));if(oGr(t,"readonly")){if(!eGr(t.readonly))throw new TypeError(dt("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",t.readonly));if(s.writable=!t.readonly,s.writable&&iGr(r))throw new Error(dt("invalid option. Cannot write to read-only array."))}}if(n=e,e=sGr(e),m=e.length,o=vGr(r),i=o.length,i<=m)throw new TypeError(dt("invalid argument. First argument must be an ndarray having at least %d dimensions.",m+1));for(h=0;h<m;h++){if(y=fGr(e[h],i-1),y===-1)throw new RangeError(dt("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",i,e[h]));e[h]=y}for(d=lGr(o),d===0&&(f=!0),h=0;h<m-1;h++)if(e[h]>e[h+1])throw new Error(dt("invalid argument. Dimension indices must be sorted in ascending order. Value: `%s`.",n));for(g=1,h=1;h<m;h++){if(e[h]===e[h-1])throw new Error(dt("invalid argument. Dimension indices must be unique. Value: `%s`.",n));e[g]=e[h],g+=1}for(h=0;h<m;h++)d/=o[e[h]];for(l=nGr(i),h=0;h<m;h++)l[e[h]]=null;for(a=[],g=0,h=0;h<i;h++){if(h===e[g]){g+=1;continue}a.push(h)}return p=V$(o,a,"throw"),v=V$(l,a,"throw"),h=-1,u={},oc(u,"next",x),oc(u,"return",S),R$&&oc(u,R$,w),u;function x(){var A;return h+=1,f||h>=d?{done:!0}:(A=pGr(l),v=dGr(p,"row-major",v,-1,v),l=uGr(l,a,v,"throw"),{value:cGr(r,A,!0,s.writable),done:!1})}function S(A){return f=!0,arguments.length?{value:A,done:!0}:{done:!0}}function w(){return z$(r,e,s)}}C$.exports=z$});var U$=c((jye,P$)=>{"use strict";var yGr=L$();P$.exports=yGr});var $$=c((Iye,Y$)=>{"use strict";var nc=Ir(),mGr=ne(),hGr=pe().isPrimitive,gGr=ns().isPrimitive,bGr=se(),xGr=Ue(),qGr=Xr(),M$=Be(),wGr=Se(),SGr=oe(),EGr=Jr(),AGr=ye(),_Gr=He().assign,TGr=he(),Bi=pr();function G$(r,e){var a,t,o,i,n,s,u,v,f,l,p;if(!bGr(r))throw new TypeError(Bi("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!gGr(e))throw new TypeError(Bi("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));if(o={writable:!1},arguments.length>2){if(a=arguments[2],!mGr(a))throw new TypeError(Bi("invalid argument. Options argument must be an object. Value: `%s`.",a));if(qGr(a,"readonly")){if(!hGr(a.readonly))throw new TypeError(Bi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(o.writable=!a.readonly,o.writable&&xGr(r))throw new Error(Bi("invalid option. Cannot write to read-only array."))}}if(t=SGr(r),f=t.length,f<=e)throw new TypeError(Bi("invalid argument. First argument must be an ndarray having at least %d dimensions.",e+1));for(l=EGr(t),l===0&&(n=!0),u=f-e-1,p=u+1;p<f;p++)l/=t[p];for(v=t[u],s=wGr(f),p=u+1;p<f;p++)s[p]=null;return p=-1,i={},nc(i,"next",m),nc(i,"return",d),M$&&nc(i,M$,y),i;function m(){var h,g;return p+=1,n||p>=l?{done:!0}:(h=TGr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=_Gr(t,"row-major",s,u-1,s)),{value:AGr(r,h,!0,o.writable),done:!1})}function d(h){return n=!0,arguments.length?{value:h,done:!0}:{done:!0}}function y(){return G$(r,e,o)}}Y$.exports=G$});var J$=c((Oye,W$)=>{"use strict";var jGr=$$();W$.exports=jGr});var K$=c((Nye,X$)=>{"use strict";var IGr=Pe();function OGr(r){var e=typeof r;return r!==null&&(e==="object"||e==="function")&&IGr(r.next)}X$.exports=OGr});var Z$=c((Dye,H$)=>{"use strict";var NGr=K$();H$.exports=NGr});var rW=c((kye,Q$)=>{"use strict";var DGr=se(),kGr=al(),BGr=Ja(),FGr=_t(),RGr=oe(),VGr=Xa(),zGr=ut(),CGr=pr();function LGr(r){if(!DGr(r))throw new TypeError(CGr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return kGr(zGr(r),RGr(r),BGr(r),FGr(r),VGr(r))}Q$.exports=LGr});var sc=c((Bye,eW)=>{"use strict";var PGr=rW();eW.exports=PGr});var iW=c((Fye,tW)=>{"use strict";var uc=Ir(),UGr=Pe(),MGr=Z$(),Ts=Be(),GGr=sc(),YGr=pr();function aW(r){var e,a;if(!MGr(r))throw new TypeError(YGr("invalid argument. First argument must be an iterator protocol-compliant object. Value: `%s`.",r));return e={},uc(e,"next",t),uc(e,"return",o),Ts&&UGr(r[Ts])&&uc(e,Ts,i),e;function t(){var n;return a?{done:!0}:(n=r.next(),n.done?(a=!0,n):{value:GGr(n.value),done:!1})}function o(n){return a=!0,arguments.length?{value:n,done:!0}:{done:!0}}function i(){return aW(r[Ts]())}}tW.exports=aW});var nW=c((Rye,oW)=>{"use strict";var $Gr=iW();oW.exports=$Gr});var fW=c((Vye,vW)=>{"use strict";var vc=Ir(),WGr=ne(),JGr=_a(),XGr=se(),KGr=Xr(),sW=Be(),HGr=Se(),ZGr=oe(),QGr=Jr(),rYr=He().assign,fc=pr();function uW(r){var e,a,t,o,i,n,s,u,v,f;if(!XGr(r))throw new TypeError(fc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!WGr(e))throw new TypeError(fc("invalid argument. Options argument must be an object. Value: `%s`.",e));if(KGr(e,"order")){if(!JGr(e.order))throw new TypeError(fc("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=ZGr(r),t=a.length,v=QGr(a),v===0&&(n=!0),o.order==="row-major"?u=t-1:u=0,f=-1,s=HGr(t),i={},vc(i,"next",l),vc(i,"return",p),sW&&vc(i,sW,m),i;function l(){return f+=1,n||f>=v?{done:!0}:(f>0&&(s=rYr(a,o.order,s,u,s)),{value:r.get.apply(r,s),done:!1})}function p(d){return n=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return uW(r,o)}}vW.exports=uW});var cW=c((zye,lW)=>{"use strict";var eYr=fW();lW.exports=eYr});var pW=c((Cye,dW)=>{"use strict";var Ze=Rt(),Me={};Ze(Me,"nditerColumnEntries",MG());Ze(Me,"nditerColumns",XG());Ze(Me,"nditerEntries",eY());Ze(Me,"nditerIndices",sY());Ze(Me,"nditerInterleaveSubarrays",qY());Ze(Me,"nditerMatrices",TY());Ze(Me,"nditerMatrixEntries",kY());Ze(Me,"nditerRowEntries",CY());Ze(Me,"nditerRows",YY());Ze(Me,"nditerSelectDimension",QY());Ze(Me,"nditerStacks",U$());Ze(Me,"nditerSubarrays",J$());Ze(Me,"nditer2arrayEach",nW());Ze(Me,"nditerValues",cW());dW.exports=Me});var mW=c((Lye,yW)=>{"use strict";var aYr=Ue(),tYr=Fa(),iYr=oe(),oYr=Ja(),nYr=_t(),sYr=Xa(),uYr=ut(),vYr=ma(),fYr=Da(),lYr=fYr("order");function cYr(r){var e,a,t,o,i,n,s;if(s=tYr(r),i=uYr(r),o=iYr(r),e=oYr(r),a=nYr(r),t=sYr(r)||lYr,arguments.length>1?n=arguments[1]:n={},aYr(r)){if(n.readonly===void 0)n.readonly=!0;else if(n.readonly===!1)throw new Error("invalid argument. Cannot write to a read-only array.")}return new vYr(s,i,o,e,a,t,n)}yW.exports=cYr});var gW=c((Pye,hW)=>{"use strict";var dYr=mW();hW.exports=dYr});var bW=c((Uye,pYr)=>{pYr.exports={float64:-1,float32:"float64",int32:-1,int16:"int32",int8:"int16",uint32:-1,uint16:"uint32",uint8:"uint16",uint8c:"uint16",complex64:"complex128",complex128:-1,generic:-1,binary:-1,bool:-1}});var qW=c((Mye,xW)=>{"use strict";var yYr=Ea(),mYr=Xr(),hYr=ka(),js=bW();function gYr(){var r,e,a,t;for(a={},r=yYr(js),e=r.length,t=0;t<e;t++)a[r[t]]=js[r[t]];return a}function bYr(r){return arguments.length===0?gYr():(r=hYr(r),mYr(js,r)?js[r]:null)}xW.exports=bYr});var SW=c((Gye,wW)=>{"use strict";var xYr=qW();wW.exports=xYr});var _W=c((Yye,AW)=>{"use strict";var EW=ge().isPrimitive,qYr=De(),lc=pr();function wYr(r){var e,a,t,o,i;if(typeof r!="object"||r===null)throw new TypeError(lc("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.length,EW(t))return t;if(a=r.shape,!qYr(a))throw new TypeError(lc("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=a.length,e===0)return 0;for(t=1,i=0;i<e;i++){if(o=a[i],!EW(o))throw new TypeError(lc("invalid argument. Must provide an ndarray. Value: `%s`.",r));t*=o}return t}AW.exports=wYr});var cc=c(($ye,TW)=>{"use strict";var SYr=_W();TW.exports=SYr});var IW=c((Wye,jW)=>{"use strict";var EYr=ge().isPrimitive,AYr=ve().isPrimitive,_Yr=Yf(),dc=pr();function TYr(r,e){var a;if(typeof r!="object"||r===null)throw new TypeError(dc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!AYr(e))throw new TypeError(dc("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=_Yr(r,e),EYr(a))return a;throw new TypeError(dc("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}jW.exports=TYr});var NW=c((Jye,OW)=>{"use strict";var jYr=IW();OW.exports=jYr});var DW=c((Xye,IYr)=>{IYr.exports={float64:{float64:"float64",float32:"float64",int32:"float64",int16:"float64",int8:"float64",uint32:"float64",uint16:"float64",uint8:"float64",uint8c:"float64",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},float32:{float64:"float64",float32:"float32",int32:"float64",int16:"float32",int8:"float32",uint32:"float64",uint16:"float32",uint8:"float32",uint8c:"float32",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int32:{float64:"float64",float32:"float64",int32:"int32",int16:"int32",int8:"int32",uint32:"float64",uint16:"int32",uint8:"int32",uint8c:"int32",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int16:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"float64",uint16:"int32",uint8:"int16",uint8c:"int16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int8:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int8",uint32:"float64",uint16:"int32",uint8:"int16",uint8c:"int16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint32:{float64:"float64",float32:"float64",int32:"float64",int16:"float64",int8:"float64",uint32:"uint32",uint16:"uint32",uint8:"uint32",uint8c:"uint32",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint16:{float64:"float64",float32:"float32",int32:"int32",int16:"int32",int8:"int32",uint32:"uint32",uint16:"uint16",uint8:"uint16",uint8c:"uint16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint8:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"uint32",uint16:"uint16",uint8:"uint8",uint8c:"uint8",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint8c:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"uint32",uint16:"uint16",uint8:"uint8",uint8c:"uint8c",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},complex128:{float64:"complex128",float32:"complex128",int32:"complex128",int16:"complex128",int8:"complex128",uint32:"complex128",uint16:"complex128",uint8:"complex128",uint8c:"complex128",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},complex64:{float64:"complex128",float32:"complex64",int32:"complex128",int16:"complex64",int8:"complex64",uint32:"complex128",uint16:"complex64",uint8:"complex64",uint8c:"complex64",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},generic:{float64:"generic",float32:"generic",int32:"generic",int16:"generic",int8:"generic",uint32:"generic",uint16:"generic",uint8:"generic",uint8c:"generic",complex64:"generic",complex128:"generic",binary:-1,generic:"generic",bool:"generic"},binary:{float64:-1,float32:-1,int32:-1,int16:-1,int8:-1,uint32:-1,uint16:-1,uint8:-1,uint8c:-1,complex64:-1,complex128:-1,binary:"binary",generic:-1,bool:-1},bool:{float64:-1,float32:-1,int32:-1,int16:-1,int8:-1,uint32:-1,uint16:-1,uint8:-1,uint8c:-1,complex64:-1,complex128:-1,binary:-1,generic:"generic",bool:"bool"}}});var RW=c((Kye,FW)=>{"use strict";var OYr=Ea(),kW=Xr(),BW=ka(),Is=DW();function NYr(){var r,e,a,t,o,i,n,s,u;for(a={},r=OYr(Is),e=r.length,u=0;u<e;u++){for(o=r[u],n=Is[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function DYr(r,e){var a;return arguments.length===0?NYr():(r=BW(r),kW(Is,r)&&(a=Is[r],e=BW(e),kW(a,e))?a[e]:null)}FW.exports=DYr});var zW=c((Hye,VW)=>{"use strict";var kYr=RW();VW.exports=kYr});var LW=c((Zye,CW)=>{"use strict";var BYr=Za(),FYr=ht();function RYr(r){return r instanceof BYr||FYr(r)==="MultiSlice"}CW.exports=RYr});var pc=c((Qye,PW)=>{"use strict";var VYr=LW();PW.exports=VYr});var MW=c((rme,UW)=>{"use strict";var zYr=se(),CYr=pc(),LYr=ze(),PYr=ne(),UYr=pe().isPrimitive,MYr=Xr(),GYr=Za(),YYr=he(),$Yr=ye(),WYr=oe(),Os=pr();function JYr(r,e){var a,t,o,i,n,s,u;if(o={strict:!0},t=arguments.length,!zYr(r))throw new TypeError(Os("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(PYr(arguments[t-1])){if(t-=1,a=arguments[t],MYr(a,"strict")){if(!UYr(a.strict))throw new TypeError(Os("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=WYr(r),t===1&&n.length>0)throw new RangeError(Os("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",n.join(","),0))}if(CYr(e)){if(s=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else{if(LYr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],u=1;u<t;u++)i.push(arguments[u]);try{s=YYr(i)}catch{for(u=0;u<i.length;u++)try{new GYr(i[u])}catch{throw new TypeError(Os("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(i[u])))}}}return $Yr(r,s,o.strict,!1)}UW.exports=JYr});var yc=c((eme,GW)=>{"use strict";var XYr=MW();GW.exports=XYr});var WW=c((ame,$W)=>{"use strict";var YW=se(),KYr=pc(),HYr=ze(),ZYr=ne(),QYr=pe().isPrimitive,r$r=Ue(),e$r=Xr(),a$r=Za(),t$r=he(),i$r=is(),o$r=oe(),zo=pr();function n$r(r,e,a){var t,o,i,n,s,u,v;if(i={strict:!0},o=arguments.length,!YW(r))throw new TypeError(zo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!YW(e))throw new TypeError(zo("invalid argument. Second argument must be an ndarray. Value: `%s`.",e));if(r$r(e))throw new Error("invalid argument. Cannot write to a read-only array.");if(ZYr(arguments[o-1])){if(o-=1,t=arguments[o],e$r(t,"strict")){if(!QYr(t.strict))throw new TypeError(zo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}if(s=o$r(e),o===2&&s.length>0)throw new RangeError(zo("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",s.join(","),0))}if(KYr(a)){if(u=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else{if(HYr(a)){if(n=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else for(n=[],v=2;v<o;v++)n.push(arguments[v]);try{u=t$r(n)}catch{for(v=0;v<n.length;v++)try{new a$r(n[v])}catch{throw new TypeError(zo("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(n[v])))}}}return i$r(r,e,u,i.strict)}$W.exports=n$r});var XW=c((tme,JW)=>{"use strict";var s$r=WW();JW.exports=s$r});var ZW=c((ime,HW)=>{"use strict";var u$r=ne(),v$r=pe().isPrimitive,KW=ve().isPrimitive,f$r=se(),l$r=Si(),c$r=Ff(),d$r=wi(),p$r=Xr(),y$r=Le(),m$r=Xf(),Co=pr();function h$r(r,e,a){var t,o,i;if(i={strict:!0},!f$r(r))throw new TypeError(Co("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!KW(e))throw new TypeError(Co("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(KW(a)||c$r(a))o=a;else if(d$r(a)||l$r(a))o=new y$r;else throw new TypeError(Co("invalid argument. Third argument must be either a Slice, integer, null, or undefined. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!u$r(t))throw new TypeError(Co("invalid argument. Options argument must be an object. Value: `%s`.",t));if(p$r(t,"strict")){if(!v$r(t.strict))throw new TypeError(Co("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}}return m$r(r,e,o,i.strict,!1)}HW.exports=h$r});var rJ=c((ome,QW)=>{"use strict";var g$r=ZW();QW.exports=g$r});var tJ=c((nme,aJ)=>{"use strict";var b$r=ne(),x$r=pe().isPrimitive,eJ=ve().isPrimitive,q$r=se(),w$r=Xr(),S$r=Kf(),Lo=pr();function E$r(r,e,a){var t,o;if(o={strict:!0},!q$r(r))throw new TypeError(Lo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!eJ(e))throw new TypeError(Lo("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!eJ(a))throw new TypeError(Lo("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!b$r(t))throw new TypeError(Lo("invalid argument. Options argument must be an object. Value: `%s`.",t));if(w$r(t,"strict")){if(!x$r(t.strict))throw new TypeError(Lo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return S$r(r,e,a,o.strict,!1)}aJ.exports=E$r});var oJ=c((sme,iJ)=>{"use strict";var A$r=tJ();iJ.exports=A$r});var uJ=c((ume,sJ)=>{"use strict";var _$r=ne(),T$r=pe().isPrimitive,nJ=ve().isPrimitive,j$r=se(),I$r=Xr(),O$r=Hf(),Po=pr();function N$r(r,e,a){var t,o;if(o={strict:!0},!j$r(r))throw new TypeError(Po("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!nJ(e))throw new TypeError(Po("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!nJ(a))throw new TypeError(Po("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!_$r(t))throw new TypeError(Po("invalid argument. Options argument must be an object. Value: `%s`.",t));if(I$r(t,"strict")){if(!T$r(t.strict))throw new TypeError(Po("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return O$r(r,e,a,o.strict,!1)}sJ.exports=N$r});var fJ=c((vme,vJ)=>{"use strict";var D$r=uJ();vJ.exports=D$r});var cJ=c((fme,lJ)=>{"use strict";var k$r=se(),B$r=ze(),F$r=ne(),R$r=Ge().isPrimitive,V$r=pe().isPrimitive,z$r=wi(),C$r=Si(),L$r=Xr(),P$r=oe(),U$r=Zf(),Ns=pr();function M$r(r){return!(R$r(r)||z$r(r)||C$r(r))}function G$r(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!k$r(r))throw new TypeError(Ns("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(F$r(arguments[t-1])){if(t-=1,a=arguments[t],L$r(a,"strict")){if(!V$r(a.strict))throw new TypeError(Ns("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=P$r(r),t===1&&n.length>0)throw new RangeError(Ns("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",n.join(","),0))}if(B$r(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(M$r(i[s]))throw new TypeError(Ns("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return U$r(r,i,o.strict,!1)}lJ.exports=G$r});var pJ=c((lme,dJ)=>{"use strict";var Y$r=cJ();dJ.exports=Y$r});var mJ=c((cme,yJ)=>{"use strict";var $$r=se(),W$r=ze(),J$r=ne(),X$r=Ge().isPrimitive,K$r=pe().isPrimitive,H$r=wi(),Z$r=Si(),Q$r=Xr(),rWr=oe(),eWr=Qf(),Ds=pr();function aWr(r){return!(X$r(r)||H$r(r)||Z$r(r))}function tWr(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!$$r(r))throw new TypeError(Ds("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(J$r(arguments[t-1])){if(t-=1,a=arguments[t],Q$r(a,"strict")){if(!K$r(a.strict))throw new TypeError(Ds("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=rWr(r),t===1&&n.length>0)throw new RangeError(Ds("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",n.join(","),0))}if(W$r(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(aWr(i[s]))throw new TypeError(Ds("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return eWr(r,i,o.strict,!1)}yJ.exports=tWr});var gJ=c((dme,hJ)=>{"use strict";var iWr=mJ();hJ.exports=iWr});var qJ=c((pme,xJ)=>{"use strict";var bJ=ve().isPrimitive,oWr=De(),nWr=rl(),mc=pr();function sWr(r,e){var a;if(typeof r!="object"||r===null||!oWr(r.shape))throw new TypeError(mc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!bJ(e))throw new TypeError(mc("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=nWr(r,e),bJ(a))return a;throw new TypeError(mc("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}xJ.exports=sWr});var SJ=c((yme,wJ)=>{"use strict";var uWr=qJ();wJ.exports=uWr});var EJ=c((mme,vWr)=>{vWr.exports={mode:["throw"],order:"row-major"}});var TJ=c((hme,_J)=>{"use strict";var fWr=ne(),AJ=Xr(),lWr=qa(),cWr=_a(),dWr=pi(),ks=pr();function pWr(r,e){var a;if(!fWr(e))return new TypeError(ks("invalid argument. Options argument must be an object. Value: `%s`.",e));if(AJ(e,"mode")){if(r.mode=e.mode,!lWr(r.mode))r.mode=[r.mode];else if(r.mode.length===0)return new TypeError(ks("invalid option. `%s` option cannot be an empty array.","mode"));for(a=0;a<r.mode.length;a++)if(!dWr(r.mode[a]))return new TypeError(ks("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode[a]))}return AJ(e,"order")&&(r.order=e.order,!cWr(r.order))?new TypeError(ks("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null}_J.exports=pWr});var OJ=c((gme,IJ)=>{"use strict";var yWr=Wt().primitives,mWr=ve().isPrimitive,hWr=Ve(),gWr=el(),hc=pr(),jJ=EJ(),bWr=TJ();function xWr(){var r,e,a,t,o,i,n,s,u;if(e=arguments[0],!yWr(e))throw new TypeError(hc("invalid argument. First argument must be an array-like object containing nonnegative integers. Value: `%s`.",e));if(n=arguments.length,a=e.length,o={},o.mode=jJ.mode.slice(),o.order=jJ.order,n>a+1){if(u=n-1,r=arguments[u],i=bWr(o,r),i)throw i}else u=n;if(s=1,u-s!==a)throw new RangeError(hc("invalid argument. Number of provided subscripts must match the number of dimensions. ndims: `%u`. Number of subscripts: `%u`.",a,u-s));for(t=new Array(a+4),t[0]=e,t[1]=hWr(e,o.order),t[2]=0;s<u;s++){if(!mWr(arguments[s]))throw new TypeError(hc("invalid argument. Subscripts must be integer valued. Argument: `%u`. Value: `%s`.",s,arguments[s]));t[s+2]=arguments[s]}return t[s+2]=o.mode,gWr.apply(null,t)}IJ.exports=xWr});var DJ=c((bme,NJ)=>{"use strict";var qWr=OJ();NJ.exports=qWr});var VJ=c((xme,RJ)=>{"use strict";var wWr=ne(),Uo=Xr(),SWr=sn(),EWr=Ve(),AWr=Ye(),_Wr=Ba(),TWr=Jr(),jWr=ma(),FJ=Da(),Bs=pr(),kJ=FJ.get("dtypes.default"),BJ=FJ.get("order");function IWr(r){var e,a,t,o,i,n,s,u,v;if(i={},arguments.length>1){if(e=arguments[1],!wWr(e))throw new TypeError(Bs("invalid argument. Options argument must be an object. Value: `%s`.",e));Uo(e,"dtype")?a=e.dtype:a=kJ,Uo(e,"order")?t=e.order:t=BJ,Uo(e,"mode")&&(i.mode=e.mode),Uo(e,"submode")&&(i.submode=e.submode),Uo(e,"readonly")&&(i.readonly=e.readonly)}else a=kJ,t=BJ;if(typeof r=="number")v=[r];else if(SWr(r))v=r;else throw new TypeError(Bs("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=v.length,o>0){if(s=TWr(v),s!==s||s<0)throw new TypeError(Bs("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));u=EWr(v,t)}else s=1,u=[0];if(n=_Wr(a,s),n===null)throw new TypeError(Bs("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",a));return new jWr(a,n,v,u,AWr(v,u),t,i)}RJ.exports=IWr});var CJ=c((qme,zJ)=>{"use strict";var OWr=VJ();zJ.exports=OWr});var GJ=c((wme,MJ)=>{"use strict";var NWr=se(),DWr=ne(),kWr=Wt().primitives,Fi=Xr(),BWr=Ve(),FWr=Ye(),RWr=Ba(),VWr=Jr(),LJ=Fa(),PJ=oe(),UJ=Xa(),zWr=ma(),Fs=pr();function CWr(r){var e,a,t,o,i,n,s,u,v;if(!NWr(r))throw new TypeError(Fs("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!DWr(e))throw new TypeError(Fs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(Fi(e,"dtype")?a=e.dtype:a=LJ(r),Fi(e,"shape")){if(v=e.shape,typeof v=="number"&&(v=[v]),!kWr(v))throw new TypeError(Fs("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",v))}else v=PJ(r);Fi(e,"order")?t=e.order:t=UJ(r),Fi(e,"mode")&&(i.mode=e.mode),Fi(e,"submode")&&(i.submode=e.submode),Fi(e,"readonly")&&(i.readonly=e.readonly)}else a=LJ(r),v=PJ(r),t=UJ(r);if(o=v.length,o>0?(s=VWr(v),u=BWr(v,t)):(s=1,u=[0]),n=RWr(a,s),n===null)throw new TypeError(Fs("invalid argument. First argument must have a recognized data type. Value: `%s`.",a));return new zWr(a,n,v,u,FWr(v,u),t,i)}MJ.exports=CWr});var $J=c((Sme,YJ)=>{"use strict";var LWr=GJ();YJ.exports=LWr});var gc=c((Eme,WJ)=>{"use strict";var Lr=Rt(),Vr={};Lr(Vr,"array",BA());Lr(Vr,"at",CA());Lr(Vr,"base",RL());Lr(Vr,"broadcastArray",os());Lr(Vr,"broadcastArrays",tl());Lr(Vr,"castingModes",Bv());Lr(Vr,"ndarray",ma());Lr(Vr,"dataBuffer",ut());Lr(Vr,"defaults",Da());Lr(Vr,"dispatch",nP());Lr(Vr,"dtype",Fa());Lr(Vr,"dtypes",ke());Lr(Vr,"empty",dP());Lr(Vr,"emptyLike",xP());Lr(Vr,"FancyArray",$9());Lr(Vr,"flag",qG());Lr(Vr,"flags",AG());Lr(Vr,"scalar2ndarray",Tl());Lr(Vr,"ind2sub",VG());Lr(Vr,"indexModes",$t());Lr(Vr,"iter",pW());Lr(Vr,"maybeBroadcastArray",Yl());Lr(Vr,"maybeBroadcastArrays",$l());Lr(Vr,"minDataType",wl());Lr(Vr,"mostlySafeCasts",zv());Lr(Vr,"ndarraylike2ndarray",gW());Lr(Vr,"ndims",Vn());Lr(Vr,"nextDataType",SW());Lr(Vr,"numel",cc());Lr(Vr,"numelDimension",NW());Lr(Vr,"offset",_t());Lr(Vr,"order",Xa());Lr(Vr,"orders",Yt());Lr(Vr,"outputDataTypePolicies",es());Lr(Vr,"promotionRules",zW());Lr(Vr,"safeCasts",Vv());Lr(Vr,"sameKindCasts",Cv());Lr(Vr,"shape",oe());Lr(Vr,"slice",yc());Lr(Vr,"ndsliceAssign",XW());Lr(Vr,"sliceDimension",rJ());Lr(Vr,"sliceDimensionFrom",oJ());Lr(Vr,"sliceDimensionTo",fJ());Lr(Vr,"sliceFrom",pJ());Lr(Vr,"sliceTo",gJ());Lr(Vr,"stride",SJ());Lr(Vr,"strides",Ja());Lr(Vr,"sub2ind",DJ());Lr(Vr,"ndarray2array",sc());Lr(Vr,"zeros",CJ());Lr(Vr,"zerosLike",$J());WJ.exports=Vr});var qX=c((Yme,xX)=>{"use strict";function aJr(r,e){return r>e?r:e}xX.exports=aJr});var SX=c(($me,wX)=>{"use strict";var tJr=qX();wX.exports=tJr});var AX=c((Wme,EX)=>{"use strict";var iJr=Ce().factory,oJr=Yu(),nJr=iJr(oJr());EX.exports=nJr});var TX=c((Jme,_X)=>{"use strict";var sJr=AX();_X.exports=sJr});var jX=c((Xme,uJr)=>{uJr.exports=["no-transpose","transpose","conjugate-transpose"]});var OX=c((Kme,IX)=>{"use strict";var vJr=jX();function fJr(){return vJr.slice()}IX.exports=fJr});var DX=c((Hme,NX)=>{"use strict";function lJr(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}NX.exports=lJr});var FX=c((Zme,BX)=>{"use strict";var cJr=Ir(),kX=OX(),dJr=DX();cJr(kX,"enum",dJr);BX.exports=kX});var VX=c((Qme,RX)=>{"use strict";var pJr=Ce().factory,yJr=FX(),mJr=pJr(yJr());RX.exports=mJr});var Nc=c((rhe,zX)=>{"use strict";var hJr=VX();zX.exports=hJr});var LX=c((ehe,CX)=>{"use strict";function gJr(r,e){return e>0?0:(1-r)*e}CX.exports=gJr});var UX=c((ahe,PX)=>{"use strict";var bJr=LX();PX.exports=bJr});var Dc=c((the,MX)=>{"use strict";var Yo=5;function xJr(r,e,a,t,o,i,n){var s,u,v,f,l;if(s=0,r<=0)return s;if(u=t,v=n,a===1&&i===1){if(f=r%Yo,f>0)for(l=0;l<f;l++)s+=e[u]*o[v],u+=1,v+=1;if(r<Yo)return s;for(l=f;l<r;l+=Yo)s+=e[u]*o[v]+e[u+1]*o[v+1]+e[u+2]*o[v+2]+e[u+3]*o[v+3]+e[u+4]*o[v+4],u+=Yo,v+=Yo;return s}for(l=0;l<r;l++)s+=e[u]*o[v],u+=a,v+=i;return s}MX.exports=xJr});var $X=c((ihe,YX)=>{"use strict";var GX=UX(),qJr=Dc();function wJr(r,e,a,t,o){var i,n;return r<=0?0:(i=GX(r,a),n=GX(r,o),qJr(r,e,a,i,t,o,n))}YX.exports=wJr});var XX=c((ohe,JX)=>{"use strict";var SJr=Ir(),WX=$X(),EJr=Dc();SJr(WX,"ndarray",EJr);JX.exports=WX});var kc=c((nhe,HX)=>{"use strict";var zs=Yn(),KX=XX().ndarray,AJr=Br(),pt=AJr("float64");function kt(r){return r!=="no-transpose"}function _Jr(r,e,a,t,o,i){var n,s,u,v,f,l,p;for(zs([t,o])?(u=e,v=r,n=o,s=t-u*o):(u=r,v=e,n=t,s=o-u*t),p=i,l=0;l<v;l++){for(f=0;f<u;f++)a[p]=0,p+=n;p+=s}return a}function TJr(r,e,a,t,o,i,n){var s,u,v,f,l,p,m;for(zs([o,i])?(v=e,f=r,s=i,u=o-v*i):(v=r,f=e,s=o,u=i-v*o),m=n,p=0;p<f;p++){for(l=0;l<v;l++)t[m]*=a,m+=s;m+=u}return t}function Vs(r,e,a,t,o,i,n,s,u,v,f,l,p,m,d,y){var h,g,x,S,w,A,_,b,E,q,T;for(w=e,A=r,h=n,g=v,x=d,S=m-w*d,T=y,b=0;b<A;b++){for(E=s+b*i,_=0;_<w;_++)q=l+_*f,p[T]+=t*KX(a,o,h,E,u,g,q),T+=x;T+=S}return p}function jJr(r,e,a,t,o,i,n,s,u,v,f,l,p,m,d,y){var h,g,x,S,w,A,_,b,E,q,T,j,O,I,D,k,N,F,R,B,V,z,C;for(E=e,q=r,h=n,g=v,x=d,N=q;N>0;)for(N<pt?(j=N,N=0):(j=pt,N-=pt),w=s+N*i,b=y+N*m,k=E;k>0;)for(k<pt?(T=k,k=0):(T=pt,k-=pt),A=l+k*f,_=b+k*d,S=m-T*d,C=a;C>0;)for(C<pt?(O=C,C=0):(O=pt,C-=pt),V=w+C*n,z=A+C*v,B=_,D=0;D<j;D++){for(F=V+D*i,I=0;I<T;I++)R=z+I*f,p[B]+=t*KX(O,o,h,F,u,g,R),B+=x;B+=S}return p}function IJr(r,e,a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x){var S,w,A,_,b,E;if(a===0||t===0||d===1&&(i===0||o===0)||(d===0?y=_Jr(a,t,y,h,g,x):d!==1&&(y=TJr(a,t,d,y,h,g,x)),i===0))return y;if(S=zs([s,u]),w=zs([l,p]),S){if(!kt(r)){if(!w&&!kt(e))return Vs(a,t,o,i,n,s,u,v,f,l,p,m,y,h,g,x);if(w&&kt(e))return Vs(a,t,o,i,n,s,u,v,f,p,l,m,y,h,g,x)}}else if(kt(r)){if(w&&kt(e))return Vs(a,t,o,i,n,u,s,v,f,p,l,m,y,h,g,x);if(!w&&!kt(e))return Vs(a,t,o,i,n,u,s,v,f,l,p,m,y,h,g,x)}return kt(r)?(A=u,_=s):(A=s,_=u),kt(e)?(b=p,E=l):(b=l,E=p),jJr(a,t,o,i,n,A,_,v,f,b,E,m,y,h,g,x)}HX.exports=IJr});var rK=c((she,QX)=>{"use strict";var Bc=SX(),OJr=TX(),ZX=Nc(),yt=pr(),NJr=kc();function DJr(r,e,a,t,o,i,n,s,u,v,f,l,p,m){var d,y,h,g,x,S,w,A,_;if(!OJr(r))throw new TypeError(yt("invalid argument. First argument must be a valid order. Value: `%s`.",r));if(!ZX(e))throw new TypeError(yt("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(!ZX(a))throw new TypeError(yt("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",a));if(t<0)throw new RangeError(yt("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(o<0)throw new RangeError(yt("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(yt("invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.",i));if(r==="row-major"&&e==="no-transpose"||r==="column-major"&&e==="transpose"?d=i:d=t,r==="row-major"&&a==="no-transpose"||r==="column-major"&&a==="transpose"?y=o:y=i,u<Bc(1,d))throw new RangeError(yt("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",d,u));if(f<Bc(1,y))throw new RangeError(yt("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",y,f));if(r==="row-major"?h=o:h=t,m<Bc(1,h))throw new RangeError(yt("invalid argument. Fourteenth argument must be greater than or equal to max(1,%d). Value: `%d`.",h,m));return r==="column-major"?(g=1,x=u,S=1,w=f,A=1,_=m):(g=u,x=1,S=f,w=1,A=m,_=1),NJr(e,a,t,o,i,n,s,g,x,0,v,S,w,0,l,p,A,_,0)}QX.exports=DJr});var tK=c((uhe,aK)=>{"use strict";var eK=Nc(),$o=pr(),kJr=kc();function BJr(r,e,a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x){if(!eK(r))throw new TypeError($o("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",r));if(!eK(e))throw new TypeError($o("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(a<0)throw new RangeError($o("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",a));if(t<0)throw new RangeError($o("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",a));if(o<0)throw new RangeError($o("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",o));return kJr(r,e,a,t,o,i,n,s,u,v,f,l,p,m,d,y,h,g,x)}aK.exports=BJr});var nK=c((vhe,oK)=>{"use strict";var FJr=Ir(),iK=rK(),RJr=tK();FJr(iK,"ndarray",RJr);oK.exports=iK});var CJr={};TK(CJr,{NDArray:()=>Re,__version__:()=>zJr,arange:()=>lK,array:()=>rt,asarray:()=>mK,copy:()=>hK,empty:()=>Vc,empty_like:()=>xK,eye:()=>Rc,full:()=>zc,full_like:()=>qK,geomspace:()=>pK,identity:()=>yK,linspace:()=>cK,logspace:()=>dK,ones:()=>Fc,ones_like:()=>bK,zeros:()=>Cs,zeros_like:()=>gK});var de=ra(gc(),1),vK=ra(yc(),1),fK=ra(Le(),1);function JJ(r){if(!r.includes(":")){if(r.includes("."))throw new Error(`Invalid slice index: "${r}" (must be integer)`);let i=parseInt(r,10);if(isNaN(i))throw new Error(`Invalid slice index: "${r}"`);return{start:i,stop:null,step:1,isIndex:!0}}let e=r.split(":");if(e.length>3)throw new Error(`Invalid slice notation: "${r}" (too many colons)`);let a=e[0]===""?null:parseInt(e[0],10),t=e[1]===""||e[1]===void 0?null:parseInt(e[1],10),o=e[2]===""||e[2]===void 0?1:parseInt(e[2],10);if(a!==null&&isNaN(a))throw new Error(`Invalid start index in slice: "${r}"`);if(t!==null&&isNaN(t))throw new Error(`Invalid stop index in slice: "${r}"`);if(isNaN(o))throw new Error(`Invalid step in slice: "${r}"`);if(o===0)throw new Error("Slice step cannot be zero");return{start:a,stop:t,step:o,isIndex:!1}}function XJ(r,e){let{start:a,stop:t}=r,{step:o,isIndex:i}=r;if(i){if(a===null)throw new Error("Index cannot be null");let n=a<0?e+a:a;if(n<0||n>=e)throw new Error(`Index ${a} is out of bounds for size ${e}`);return{start:n,stop:n+1,step:1,isIndex:!0}}return o>0?(a===null&&(a=0),t===null&&(t=e)):(a===null&&(a=e-1),t===null&&(t=-e-1)),a<0&&(a=e+a),t<0&&(t=e+t),a=Math.max(0,Math.min(a,e)),t=Math.max(-1,Math.min(t,e)),{start:a,stop:t,step:o,isIndex:!1}}var Qe="float64";function Oe(r){switch(r){case"float64":return Float64Array;case"float32":return Float32Array;case"int64":return BigInt64Array;case"int32":return Int32Array;case"int16":return Int16Array;case"int8":return Int8Array;case"uint64":return BigUint64Array;case"uint32":return Uint32Array;case"uint16":return Uint16Array;case"uint8":return Uint8Array;case"bool":return Uint8Array;default:throw new Error(`Unknown dtype: ${r}`)}}function KJ(r){return r==="float64"||r==="float32"}function Pr(r){return r==="int64"||r==="uint64"}function Rs(r,e){if(r===e)return r;if(r==="bool")return e;if(e==="bool")return r;if(KJ(r)||KJ(e)){if(r==="float64"||e==="float64")return"float64";if(r==="float32"){let v=e;return v==="int32"||v==="int64"||v==="uint32"||v==="uint64"?"float64":"float32"}if(e==="float32"){let v=r;return v==="int32"||v==="int64"||v==="uint32"||v==="uint64"?"float64":"float32"}return"float32"}let a=r.startsWith("int"),t=e.startsWith("int"),o=r.startsWith("uint"),i=e.startsWith("uint"),n=v=>v.includes("64")?64:v.includes("32")?32:v.includes("16")?16:v.includes("8")?8:0,s=n(r),u=n(e);if(r==="int64"&&e==="uint64"||r==="uint64"&&e==="int64")return"float64";if(a&&i&&s===u){if(s===8)return"int16";if(s===16)return"int32";if(s===32)return"int64"}if(o&&t&&s===u){if(u===8)return"int16";if(u===16)return"int32";if(u===32)return"int64"}if(a&&t||o&&i){let v=Math.max(s,u);return a?v===64?"int64":v===32?"int32":v===16?"int16":"int8":v===64?"uint64":v===32?"uint32":v===16?"uint16":"uint8"}return a&&i?s>u?r:u===8?"int16":u===16?"int32":u===32?"int64":"float64":o&&t?u>s?e:s===8?"int16":s===16?"int32":s===32?"int64":"float64":"float64"}function ue(r){return r==="int64"||r==="uint64"?"generic":r}var Mo=ra(ma(),1),HJ=ra(Fa(),1),ZJ=ra(oe(),1),QJ=ra(Ja(),1),rX=ra(Vn(),1),eX=ra(cc(),1),aX=ra(ut(),1);var Ur=class r{constructor(e,a){this._stdlib=e,this._dtype=a||(0,HJ.default)(e)}get shape(){return Array.from((0,ZJ.default)(this._stdlib))}get ndim(){return(0,rX.default)(this._stdlib)}get size(){return(0,eX.default)(this._stdlib)}get dtype(){return this._dtype}get data(){return(0,aX.default)(this._stdlib)}get strides(){return Array.from((0,QJ.default)(this._stdlib))}get stdlib(){return this._stdlib}get isCContiguous(){let e=this.shape,a=this.strides,t=e.length;if(t===0)return!0;if(t===1)return a[0]===1;let o=1;for(let i=t-1;i>=0;i--){if(a[i]!==o)return!1;o*=e[i]}return!0}get isFContiguous(){let e=this.shape,a=this.strides,t=e.length;if(t===0)return!0;if(t===1)return a[0]===1;let o=1;for(let i=0;i<t;i++){if(a[i]!==o)return!1;o*=e[i]}return!0}copy(){let e=Array.from(this.shape),a=this.data,t=this._dtype,o=Oe(t);if(!o)throw new Error(`Cannot copy array with dtype ${t}`);if(Pr(t)){let i=new o(this.size),n=a;for(let u=0;u<this.size;u++)i[u]=n[u];let s=(0,Mo.default)(ue(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}else{let i=new o(this.size),n=a;i.set(n);let s=(0,Mo.default)(ue(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}}static fromStdlib(e,a){return new r(e,a)}static fromData(e,a,t){let o=r._computeStrides(a),i=(0,Mo.default)(ue(t),e,a,o,0,"row-major");return new r(i,t)}static zeros(e,a=Qe){let t=e.reduce((s,u)=>s*u,1),o=Oe(a);if(!o)throw new Error(`Cannot create array with dtype ${a}`);let i=new o(t),n=(0,Mo.default)(ue(a),i,e,r._computeStrides(e),0,"row-major");return new r(n,a)}static ones(e,a=Qe){let t=r.zeros(e,a),o=t.data;if(Pr(a)){let i=o;for(let n=0;n<t.size;n++)i[n]=BigInt(1)}else{let i=o;for(let n=0;n<t.size;n++)i[n]=1}return t}_computeStrides(e){return r._computeStrides(e)}static _computeStrides(e){let a=new Array(e.length),t=1;for(let o=e.length-1;o>=0;o--)a[o]=t,t*=e[o];return a}};var bc=ra(tl(),1);function oi(r,e,a,t){let o,i;try{[o,i]=(0,bc.default)([r.stdlib,e.stdlib])}catch{throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(r.shape)} ${JSON.stringify(e.shape)}`)}let n=Rs(r.dtype,e.dtype),s=Array.from(o.shape),u=Ur.zeros(s,n),v=u.data,f=u.size;if(Pr(n)){let l=v;for(let p=0;p<f;p++){let m=o.iget(p),d=i.iget(p),y=typeof m=="bigint"?m:BigInt(Math.round(m)),h=typeof d=="bigint"?d:BigInt(Math.round(d));t==="add"?l[p]=y+h:t==="subtract"?l[p]=y-h:t==="multiply"?l[p]=y*h:t==="divide"?l[p]=y/h:l[p]=BigInt(Math.round(a(Number(y),Number(h))))}}else{let l=Pr(r.dtype)||Pr(e.dtype);for(let p=0;p<f;p++){let m=o.iget(p),d=i.iget(p),y=Number(m),h=Number(d);v[p]=a(y,h)}}return u}function Dt(r,e,a){let t,o;try{[t,o]=(0,bc.default)([r.stdlib,e.stdlib])}catch{throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(r.shape)} ${JSON.stringify(e.shape)}`)}let i=Array.from(t.shape),n=i.reduce((v,f)=>v*f,1),s=new Uint8Array(n),u=Pr(r.dtype)||Pr(e.dtype);for(let v=0;v<n;v++){let f=t.iget(v),l=o.iget(v),p=Number(f),m=Number(l);s[v]=a(p,m)?1:0}return Ur.fromData(s,i,"bool")}function tX(r,e){return typeof e=="number"?PWr(r,e):oi(r,e,(a,t)=>a+t,"add")}function iX(r,e){return typeof e=="number"?UWr(r,e):oi(r,e,(a,t)=>a-t,"subtract")}function oX(r,e){return typeof e=="number"?MWr(r,e):oi(r,e,(a,t)=>a*t,"multiply")}function nX(r,e){if(typeof e=="number")return GWr(r,e);let a=r.dtype==="float64",t=e.dtype==="float64",o=r.dtype==="float32",i=e.dtype==="float32";if(a||t){let u=a?r:Ri(r,"float64"),v=t?e:Ri(e,"float64");return oi(u,v,(f,l)=>f/l,"divide")}if(o||i){let u=o?r:Ri(r,"float32"),v=i?e:Ri(e,"float32");return oi(u,v,(f,l)=>f/l,"divide")}let n=Ri(r,"float64"),s=Ri(e,"float64");return oi(n,s,(u,v)=>u/v,"divide")}function Ri(r,e){let a=Ur.zeros(Array.from(r.shape),e),t=r.size,o=r.data,i=a.data;for(let n=0;n<t;n++)i[n]=Number(o[n]);return a}function PWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Ur.zeros(t,a),s=n.data;if(Pr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]+f}else for(let u=0;u<i;u++)s[u]=Number(o[u])+e;return n}function UWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Ur.zeros(t,a),s=n.data;if(Pr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]-f}else for(let u=0;u<i;u++)s[u]=Number(o[u])-e;return n}function MWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Ur.zeros(t,a),s=n.data;if(Pr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]*f}else for(let u=0;u<i;u++)s[u]=Number(o[u])*e;return n}function GWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=a!=="float32"&&a!=="float64"?"float64":a,u=Ur.zeros(t,s),v=u.data;if(Pr(a))for(let f=0;f<i;f++)v[f]=Number(o[f])/e;else for(let f=0;f<i;f++)v[f]=Number(o[f])/e;return u}function sX(r,e){return typeof e=="number"?$Wr(r,e):Dt(r,e,(a,t)=>a>t)}function uX(r,e){return typeof e=="number"?WWr(r,e):Dt(r,e,(a,t)=>a>=t)}function vX(r,e){return typeof e=="number"?JWr(r,e):Dt(r,e,(a,t)=>a<t)}function fX(r,e){return typeof e=="number"?XWr(r,e):Dt(r,e,(a,t)=>a<=t)}function lX(r,e){return typeof e=="number"?KWr(r,e):Dt(r,e,(a,t)=>a===t)}function cX(r,e){return typeof e=="number"?HWr(r,e):Dt(r,e,(a,t)=>a!==t)}function xc(r,e,a=1e-5,t=1e-8){return typeof e=="number"?ZWr(r,e,a,t):Dt(r,e,(o,i)=>{let n=Math.abs(o-i),s=t+a*Math.abs(i);return n<=s})}function dX(r,e,a=1e-5,t=1e-8){let o=xc(r,e,a,t),i=o.data;for(let n=0;n<o.size;n++)if(i[n]===0)return!1;return!0}function $Wr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]>e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function WWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]>=e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function JWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]<e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function XWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]<=e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function KWr(r,e){let a=new Uint8Array(r.size),t=r.data,o=r.dtype;if(Pr(o)){let i=BigInt(Math.round(e)),n=t;for(let s=0;s<r.size;s++)a[s]=n[s]===i?1:0}else for(let i=0;i<r.size;i++)a[i]=t[i]===e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function HWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]!==e?1:0;return Ur.fromData(a,Array.from(r.shape),"bool")}function ZWr(r,e,a,t){let o=new Uint8Array(r.size),i=r.data,n=r.dtype;if(Pr(n)){let s=i;for(let u=0;u<r.size;u++){let v=Number(s[u]),f=Math.abs(v-e),l=t+a*Math.abs(e);o[u]=f<=l?1:0}}else for(let s=0;s<r.size;s++){let u=Number(i[s]),v=Math.abs(u-e),f=t+a*Math.abs(e);o[s]=v<=f?1:0}return Ur.fromData(o,Array.from(r.shape),"bool")}function Vi(r){let e=new Array(r.length),a=1;for(let t=r.length-1;t>=0;t--)e[t]=a,a*=r[t];return e}function je(r,e){let a=0,t=1;for(let o=r.length-1;o>=0;o--)a+=r[o]*t,t*=e[o];return a}function Ie(r,e,a,t){let o=t.length,i=new Array(o),n=Array.from(t).filter((u,v)=>v!==e),s=r;for(let u=n.length-1;u>=0;u--)i[u>=e?u+1:u]=s%n[u],s=Math.floor(s/n[u]);return i[e]=a,i}function Go(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Pr(t)){let d=s,y=BigInt(0);for(let h=0;h<n;h++)y+=d[h];return Number(y)}else{let d=0;for(let y=0;y<n;y++)d+=Number(s[y]);return d}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((d,y)=>y!==u);if(v.length===0)return Go(r);let f=Ur.zeros(v,t),l=f.data,p=o[u],m=v.reduce((d,y)=>d*y,1);if(Pr(t)){let d=s,y=l;for(let h=0;h<m;h++){let g=BigInt(0);for(let x=0;x<p;x++){let S=Ie(h,u,x,o),w=je(S,o);g+=d[w]}y[h]=g}}else for(let d=0;d<m;d++){let y=0;for(let h=0;h<p;h++){let g=Ie(d,u,h,o),x=je(g,o);y+=Number(s[x])}l[d]=y}if(a){let d=[...o];return d[u]=1,Ur.fromData(l,d,t)}return f}function qc(r,e,a=!1){let t=r.dtype,o=r.shape;if(e===void 0)return Go(r)/r.size;let i=e;if(i<0&&(i=o.length+i),i<0||i>=o.length)throw new Error(`axis ${e} is out of bounds for array of dimension ${o.length}`);let n=Go(r,e,a);if(typeof n=="number")return n/o[i];let s=o[i],u=t;(Pr(t)||t.startsWith("int")||t.startsWith("uint"))&&(u="float64");let v=Ur.zeros(Array.from(n.shape),u),f=v.data,l=n.data;if(Pr(t)){let p=l;for(let m=0;m<f.length;m++)f[m]=Number(p[m])/s}else for(let p=0;p<f.length;p++)f[p]=Number(l[p])/s;return v}function wc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("max of empty array");let d=s[0];for(let y=1;y<n;y++)s[y]>d&&(d=s[y]);return Number(d)}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((d,y)=>y!==u);if(v.length===0)return wc(r);let f=Ur.zeros(v,t),l=f.data,p=o[u],m=v.reduce((d,y)=>d*y,1);if(Pr(t)){let d=s,y=l;for(let h=0;h<m;h++){let g=Ie(h,u,0,o),x=je(g,o),S=d[x];for(let w=1;w<p;w++){let A=Ie(h,u,w,o),_=je(A,o),b=d[_];b>S&&(S=b)}y[h]=S}}else for(let d=0;d<m;d++){let y=-1/0;for(let h=0;h<p;h++){let g=Ie(d,u,h,o),x=je(g,o),S=Number(s[x]);S>y&&(y=S)}l[d]=y}if(a){let d=[...o];return d[u]=1,Ur.fromData(l,d,t)}return f}function Sc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Pr(t)){let d=s,y=BigInt(1);for(let h=0;h<n;h++)y*=d[h];return Number(y)}else{let d=1;for(let y=0;y<n;y++)d*=Number(s[y]);return d}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((d,y)=>y!==u);if(v.length===0)return Sc(r);let f=Ur.zeros(v,t),l=f.data,p=o[u],m=v.reduce((d,y)=>d*y,1);if(Pr(t)){let d=s,y=l;for(let h=0;h<m;h++){let g=BigInt(1);for(let x=0;x<p;x++){let S=Ie(h,u,x,o),w=je(S,o);g*=d[w]}y[h]=g}}else for(let d=0;d<m;d++){let y=1;for(let h=0;h<p;h++){let g=Ie(d,u,h,o),x=je(g,o);y*=Number(s[x])}l[d]=y}if(a){let d=[...o];return d[u]=1,Ur.fromData(l,d,t)}return f}function Ec(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("min of empty array");let d=s[0];for(let y=1;y<n;y++)s[y]<d&&(d=s[y]);return Number(d)}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((d,y)=>y!==u);if(v.length===0)return Ec(r);let f=Ur.zeros(v,t),l=f.data,p=o[u],m=v.reduce((d,y)=>d*y,1);if(Pr(t)){let d=s,y=l;for(let h=0;h<m;h++){let g=Ie(h,u,0,o),x=je(g,o),S=d[x];for(let w=1;w<p;w++){let A=Ie(h,u,w,o),_=je(A,o),b=d[_];b<S&&(S=b)}y[h]=S}}else for(let d=0;d<m;d++){let y=1/0;for(let h=0;h<p;h++){let g=Ie(d,u,h,o),x=je(g,o),S=Number(s[x]);S<y&&(y=S)}l[d]=y}if(a){let d=[...o];return d[u]=1,Ur.fromData(l,d,t)}return f}function Ac(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmin of empty array");let m=n[0],d=0;for(let y=1;y<i;y++)n[y]<m&&(m=n[y],d=y);return d}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((m,d)=>d!==s);if(u.length===0)return Ac(r);let v=Ur.zeros(u,"int32"),f=v.data,l=t[s],p=u.reduce((m,d)=>m*d,1);if(Pr(a)){let m=n;for(let d=0;d<p;d++){let y=Ie(d,s,0,t),h=je(y,t),g=m[h],x=0;for(let S=1;S<l;S++){let w=Ie(d,s,S,t),A=je(w,t),_=m[A];_<g&&(g=_,x=S)}f[d]=x}}else for(let m=0;m<p;m++){let d=1/0,y=0;for(let h=0;h<l;h++){let g=Ie(m,s,h,t),x=je(g,t),S=Number(n[x]);S<d&&(d=S,y=h)}f[m]=y}return v}function _c(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmax of empty array");let m=n[0],d=0;for(let y=1;y<i;y++)n[y]>m&&(m=n[y],d=y);return d}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((m,d)=>d!==s);if(u.length===0)return _c(r);let v=Ur.zeros(u,"int32"),f=v.data,l=t[s],p=u.reduce((m,d)=>m*d,1);if(Pr(a)){let m=n;for(let d=0;d<p;d++){let y=Ie(d,s,0,t),h=je(y,t),g=m[h],x=0;for(let S=1;S<l;S++){let w=Ie(d,s,S,t),A=je(w,t),_=m[A];_>g&&(g=_,x=S)}f[d]=x}}else for(let m=0;m<p;m++){let d=-1/0,y=0;for(let h=0;h<l;h++){let g=Ie(m,s,h,t),x=je(g,t),S=Number(n[x]);S>d&&(d=S,y=h)}f[m]=y}return v}function Tc(r,e,a=0,t=!1){let o=r.shape,i=o.length,n=r.size,s=r.data,u=qc(r,e,t);if(e===void 0){let g=u,x=0;for(let S=0;S<n;S++){let w=Number(s[S])-g;x+=w*w}return x/(n-a)}let v=e;if(v<0&&(v=i+v),v<0||v>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let f=o[v],l=u,p=l.data,m=t?l.shape:Array.from(o).filter((g,x)=>x!==v),d=Ur.zeros(Array.from(m),"float64"),y=d.data,h=m.reduce((g,x)=>g*x,1);for(let g=0;g<h;g++){let x=0,S=Number(p[g]);for(let w=0;w<f;w++){let A=Ie(g,v,w,o),_=je(A,o),b=Number(s[_])-S;x+=b*b}y[g]=x/(f-a)}return d}function pX(r,e,a=0,t=!1){let o=Tc(r,e,a,t);if(typeof o=="number")return Math.sqrt(o);let i=Ur.zeros(Array.from(o.shape),"float64"),n=o.data,s=i.data;for(let u=0;u<n.length;u++)s[u]=Math.sqrt(Number(n[u]));return i}function jc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let m=0;m<i;m++)if(!n[m])return!1;return!0}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((m,d)=>d!==s);if(u.length===0)return jc(r);let v=Ur.zeros(u,"bool"),f=v.data,l=t[s],p=u.reduce((m,d)=>m*d,1);for(let m=0;m<p;m++){let d=!0;for(let y=0;y<l;y++){let h=Ie(m,s,y,t),g=je(h,t);if(!n[g]){d=!1;break}}f[m]=d?1:0}if(a){let m=[...t];return m[s]=1,Ur.fromData(f,m,"bool")}return v}function Ic(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let m=0;m<i;m++)if(n[m])return!0;return!1}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((m,d)=>d!==s);if(u.length===0)return Ic(r);let v=Ur.zeros(u,"bool"),f=v.data,l=t[s],p=u.reduce((m,d)=>m*d,1);for(let m=0;m<p;m++){let d=!1;for(let y=0;y<l;y++){let h=Ie(m,s,y,t),g=je(h,t);if(n[g]){d=!0;break}}f[m]=d?1:0}if(a){let m=[...t];return m[s]=1,Ur.fromData(f,m,"bool")}return v}var Qa=ra(gc(),1);function yX(r,e){let a=r.size,t=r.dtype,o=e.indexOf(-1),i;if(o!==-1){let f=e.reduce((p,m,d)=>d===o?p:p*m,1),l=a/f;if(!Number.isInteger(l))throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(e)}`);i=e.map((p,m)=>m===o?l:p)}else i=e;if(i.reduce((f,l)=>f*l,1)!==a)throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(i)}`);if(r.isCContiguous){let f=r.data,l=Qa.default.ndarray(ue(t),f,i,Vi(i),0,"row-major");return Ur.fromStdlib(l,t)}let u=r.copy().data,v=Qa.default.ndarray(ue(t),u,i,Vi(i),0,"row-major");return Ur.fromStdlib(v,t)}function Oc(r){let e=r.stdlib,a=r.shape,t=a.length,o=r.size,i=r.dtype,n=Oe(i);if(!n)throw new Error(`Cannot flatten array with dtype ${i}`);let s=new n(o),u=0,v=(l,p)=>{if(p===t){let m=e.get(...l);s[u++]=m;return}for(let m=0;m<a[p];m++)l[p]=m,v(l,p+1)};v(new Array(t),0);let f=Qa.default.ndarray(ue(i),s,[o],[1],0,"row-major");return Ur.fromStdlib(f,i)}function mX(r){let e=r.size,a=r.dtype;if(r.isCContiguous){let t=r.data,o=Qa.default.ndarray(ue(a),t,[e],[1],0,"row-major");return Ur.fromStdlib(o,a)}return Oc(r)}function hX(r,e){let a=r.shape,t=a.length,o=r.strides,i=r.data,n=r.dtype,s=r.stdlib,u;if(e===void 0)u=Array.from({length:t},(m,d)=>t-1-d);else{if(e.length!==t)throw new Error(`axes must have length ${t}, got ${e.length}`);let m=new Set;for(let d of e){let y=d<0?t+d:d;if(y<0||y>=t)throw new Error(`axis ${d} is out of bounds for array of dimension ${t}`);if(m.has(y))throw new Error("repeated axis in transpose");m.add(y)}u=e.map(d=>d<0?t+d:d)}let v=u.map(m=>a[m]),f=Array.from(o),l=u.map(m=>f[m]),p=Qa.default.ndarray(ue(n),i,v,l,Qa.default.offset(s),"row-major");return Ur.fromStdlib(p,n)}function gX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype;if(e===void 0){let n=Array.from(a).filter(v=>v!==1);n.length===0&&n.push(1);let s=Vi(n),u=Qa.default.ndarray(ue(i),o,n,s,0,"row-major");return Ur.fromStdlib(u,i)}else{let n=e<0?t+e:e;if(n<0||n>=t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t}`);if(a[n]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${e} has size ${a[n]})`);let s=Array.from(a).filter((f,l)=>l!==n),u=Vi(s),v=Qa.default.ndarray(ue(i),o,s,u,0,"row-major");return Ur.fromStdlib(v,i)}}function bX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype,n=e;if(n<0&&(n=t+e+1),n<0||n>t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t+1}`);let s=[...Array.from(a)];s.splice(n,0,1);let u=Vi(s),v=Qa.default.ndarray(ue(i),o,s,u,0,"row-major");return Ur.fromStdlib(v,i)}var sK=ra(nK(),1);function uK(r,e){if(r.ndim!==2||e.ndim!==2)throw new Error("matmul requires 2D arrays");let[a=0,t=0]=r.shape,[o=0,i=0]=e.shape;if(t!==o)throw new Error(`matmul shape mismatch: (${a},${t}) @ (${o},${i})`);let n=Rs(r.dtype,e.dtype),s=n.startsWith("int")||n.startsWith("uint")||n==="bool"?"float64":n;if(s!=="float64")throw new Error(`matmul currently only supports float64, got ${s}`);let u=r.dtype==="float64"?r.data:Float64Array.from(Array.from(r.data).map(Number)),v=e.dtype==="float64"?e.data:Float64Array.from(Array.from(e.data).map(Number)),f=Ur.zeros([a,i],"float64");return(0,sK.default)("row-major","no-transpose","no-transpose",a,i,t,1,u,t,v,i,0,f.data,i),f}var Re=class r{constructor(e,a,t){this._data=e,this._dtype=a,this._base=t}get _storage(){return new Ur(this._data,this._dtype)}static _fromStorage(e,a){return new r(e.stdlib,e.dtype,a)}get shape(){return Array.from(de.default.shape(this._data))}get ndim(){return de.default.ndims(this._data)}get size(){return de.default.numel(this._data)}get dtype(){return this._dtype||de.default.dtype(this._data)}get data(){return de.default.dataBuffer(this._data)}get strides(){return Array.from(de.default.strides(this._data))}get flags(){let e=this._storage;return{C_CONTIGUOUS:e.isCContiguous,F_CONTIGUOUS:e.isFContiguous,OWNDATA:this._base===void 0}}get base(){return this._base??null}get(e){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let a=e.map((i,n)=>{let s=i;if(s<0&&(s=this.shape[n]+s),s<0||s>=this.shape[n])throw new Error(`Index ${i} is out of bounds for axis ${n} with size ${this.shape[n]}`);return s}),t=this._data.get(...a),o=this.dtype;return Pr(o)?typeof t=="bigint"?t:BigInt(Math.round(t)):Number(t)}set(e,a){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let t=e.map((n,s)=>{let u=n;if(u<0&&(u=this.shape[s]+u),u<0||u>=this.shape[s])throw new Error(`Index ${n} is out of bounds for axis ${s} with size ${this.shape[s]}`);return u}),o=this.dtype,i;Pr(o)?i=typeof a=="bigint"?a:BigInt(Math.round(a)):o==="bool"?i=a?1:0:i=Number(a),this._data.set(...t,i)}copy(){let e=this.dtype,a=Array.from(this.shape),t=this.data,o=Oe(e);if(!o)throw new Error(`Cannot copy array with dtype ${e}`);if(Pr(e)){let i=new o(this.size),n=t;for(let u=0;u<this.size;u++)i[u]=n[u];let s=de.default.ndarray(ue(e),i,a,Ca(a),0,"row-major");return new r(s,e)}else{let i=new o(this.size),n=t;i.set(n);let s=de.default.ndarray(ue(e),i,a,Ca(a),0,"row-major");return new r(s,e)}}astype(e,a=!0){let t=this.dtype;if(t===e&&!a)return this;if(t===e&&a)return rt(this.toArray(),e);let o=Array.from(this.shape),i=this.size,n=Oe(e);if(!n)throw new Error(`Cannot convert to dtype ${e}`);let s=new n(i),u=this.data;if(Pr(t)&&!Pr(e)){let f=u;if(e==="bool")for(let l=0;l<i;l++)s[l]=f[l]!==BigInt(0)?1:0;else for(let l=0;l<i;l++)s[l]=Number(f[l])}else if(!Pr(t)&&Pr(e)){let f=u;for(let l=0;l<i;l++)s[l]=BigInt(Math.round(Number(f[l])))}else if(e==="bool"){let f=u;for(let l=0;l<i;l++)s[l]=f[l]!==0?1:0}else if(t==="bool"&&!Pr(e)){let f=u;for(let l=0;l<i;l++)s[l]=f[l]}else if(!Pr(t)&&!Pr(e)){let f=u;for(let l=0;l<i;l++)s[l]=f[l]}else{let f=u;for(let l=0;l<i;l++)s[l]=f[l]}let v=de.default.ndarray(ue(e),s,o,Ca(o),0,"row-major");return new r(v,e)}add(e){let a=typeof e=="number"?e:e._storage,t=tX(this._storage,a);return r._fromStorage(t)}subtract(e){let a=typeof e=="number"?e:e._storage,t=iX(this._storage,a);return r._fromStorage(t)}multiply(e){let a=typeof e=="number"?e:e._storage,t=oX(this._storage,a);return r._fromStorage(t)}divide(e){let a=typeof e=="number"?e:e._storage,t=nX(this._storage,a);return r._fromStorage(t)}greater(e){let a=typeof e=="number"?e:e._storage,t=sX(this._storage,a);return r._fromStorage(t)}greater_equal(e){let a=typeof e=="number"?e:e._storage,t=uX(this._storage,a);return r._fromStorage(t)}less(e){let a=typeof e=="number"?e:e._storage,t=vX(this._storage,a);return r._fromStorage(t)}less_equal(e){let a=typeof e=="number"?e:e._storage,t=fX(this._storage,a);return r._fromStorage(t)}equal(e){let a=typeof e=="number"?e:e._storage,t=lX(this._storage,a);return r._fromStorage(t)}not_equal(e){let a=typeof e=="number"?e:e._storage,t=cX(this._storage,a);return r._fromStorage(t)}isclose(e,a=1e-5,t=1e-8){let o=typeof e=="number"?e:e._storage,i=xc(this._storage,o,a,t);return r._fromStorage(i)}allclose(e,a=1e-5,t=1e-8){let o=typeof e=="number"?e:e._storage;return dX(this._storage,o,a,t)}sum(e,a=!1){let t=Go(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}mean(e,a=!1){let t=qc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}max(e,a=!1){let t=wc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}min(e,a=!1){let t=Ec(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}prod(e,a=!1){let t=Sc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}argmin(e){let a=Ac(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}argmax(e){let a=_c(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}var(e,a=0,t=!1){let o=Tc(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}std(e,a=0,t=!1){let o=pX(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}all(e,a=!1){let t=jc(this._storage,e,a);return typeof t=="boolean"?t:r._fromStorage(t)}any(e,a=!1){let t=Ic(this._storage,e,a);return typeof t=="boolean"?t:r._fromStorage(t)}reshape(...e){let a=e.length===1&&Array.isArray(e[0])?e[0]:e,t=yX(this._storage,a),i=t.data===this.data?this._base??this:void 0;return r._fromStorage(t,i)}flatten(){let e=Oc(this._storage);return r._fromStorage(e)}ravel(){let e=mX(this._storage),t=e.data===this.data?this._base??this:void 0;return r._fromStorage(e,t)}transpose(e){let a=hX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}squeeze(e){let a=gX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}expand_dims(e){let a=bX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}matmul(e){let a=uK(this._storage,e._storage);return r._fromStorage(a)}slice(...e){if(e.length===0)return this;if(e.length>this.ndim)throw new Error(`Too many indices for array: array is ${this.ndim}-dimensional, but ${e.length} were indexed`);let a=e.map((n,s)=>{let u=JJ(n);return XJ(u,this.shape[s])});for(;a.length<this.ndim;)a.push({start:0,stop:this.shape[a.length],step:1,isIndex:!1});let t=a.map((n,s)=>{if(n.isIndex)return n.start;{let u=n.start,v=n.stop;return n.step>0?(u===0&&(u=null),v===this.shape[s]&&(v=null)):(u===this.shape[s]-1&&(u=null),v===-1&&(v=null)),new fK.default(u,v,n.step)}}),o=(0,vK.default)(this._data,...t),i=this._base??this;return new r(o,this._dtype,i)}row(e){if(this.ndim<2)throw new Error("row() requires at least 2 dimensions");return this.slice(String(e),":")}col(e){if(this.ndim<2)throw new Error("col() requires at least 2 dimensions");return this.slice(":",String(e))}rows(e,a){if(this.ndim<2)throw new Error("rows() requires at least 2 dimensions");return this.slice(`${e}:${a}`,":")}cols(e,a){if(this.ndim<2)throw new Error("cols() requires at least 2 dimensions");return this.slice(":",`${e}:${a}`)}toString(){return`NDArray(shape=${JSON.stringify(this.shape)}, dtype=${this.dtype})`}toArray(){return this.ndim===0?this._data.get():de.default.ndarray2array(this._data)}};function Cs(r,e=Qe){let a=Oe(e);if(!a)throw new Error(`Cannot create zeros array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=de.default.ndarray(ue(e),o,r,Ca(r),0,"row-major");return new Re(i,e)}function Ca(r){let e=new Array(r.length),a=1;for(let t=r.length-1;t>=0;t--)e[t]=a,a*=r[t];return e}function Fc(r,e=Qe){let a=Oe(e);if(!a)throw new Error(`Cannot create ones array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t);Pr(e)?o.fill(BigInt(1)):o.fill(1);let i=de.default.ndarray(ue(e),o,r,Ca(r),0,"row-major");return new Re(i,e)}function rt(r,e){if(e===void 0){let f=de.default.array(r);return new Re(f)}let a=de.default.array(r);if(de.default.dtype(a)===e)return new Re(a);let o=Array.from(de.default.shape(a)),i=o.reduce((f,l)=>f*l,1),n=Oe(e);if(!n)throw new Error(`Cannot create array with dtype ${e}`);let s=new n(i),u=de.default.dataBuffer(a);if(Pr(e))for(let f=0;f<i;f++)s[f]=BigInt(Math.round(Number(u[f])));else if(e==="bool")for(let f=0;f<i;f++)s[f]=u[f]?1:0;else for(let f=0;f<i;f++)s[f]=Number(u[f]);let v=de.default.ndarray(ue(e),s,o,Ca(o),0,"row-major");return new Re(v,e)}function lK(r,e,a=1,t=Qe){let o=r,i=e;if(e===void 0&&(o=0,i=r),i===void 0)throw new Error("stop is required");let n=Math.max(0,Math.ceil((i-o)/a)),s=Oe(t);if(!s)throw new Error(`Cannot create arange array with dtype ${t}`);let u=new s(n);if(Pr(t))for(let f=0;f<n;f++)u[f]=BigInt(Math.round(o+f*a));else if(t==="bool")for(let f=0;f<n;f++)u[f]=o+f*a!==0?1:0;else for(let f=0;f<n;f++)u[f]=o+f*a;let v=de.default.ndarray(ue(t),u,[n],[1],0,"row-major");return new Re(v,t)}function cK(r,e,a=50,t=Qe){if(a<0)throw new Error("num must be non-negative");if(a===0)return rt([],t);if(a===1)return rt([r],t);let o=Oe(t);if(!o)throw new Error(`Cannot create linspace array with dtype ${t}`);let i=new o(a),n=(e-r)/(a-1);if(Pr(t))for(let u=0;u<a;u++)i[u]=BigInt(Math.round(r+u*n));else if(t==="bool")for(let u=0;u<a;u++)i[u]=r+u*n!==0?1:0;else for(let u=0;u<a;u++)i[u]=r+u*n;let s=de.default.ndarray(ue(t),i,[a],[1],0,"row-major");return new Re(s,t)}function dK(r,e,a=50,t=10,o=Qe){if(a<0)throw new Error("num must be non-negative");if(a===0)return rt([],o);if(a===1)return rt([Math.pow(t,r)],o);let i=Oe(o);if(!i)throw new Error(`Cannot create logspace array with dtype ${o}`);let n=new i(a),s=(e-r)/(a-1);if(Pr(o))for(let v=0;v<a;v++){let f=r+v*s;n[v]=BigInt(Math.round(Math.pow(t,f)))}else if(o==="bool")for(let v=0;v<a;v++){let f=r+v*s;n[v]=Math.pow(t,f)!==0?1:0}else for(let v=0;v<a;v++){let f=r+v*s;n[v]=Math.pow(t,f)}let u=de.default.ndarray(ue(o),n,[a],[1],0,"row-major");return new Re(u,o)}function pK(r,e,a=50,t=Qe){if(a<0)throw new Error("num must be non-negative");if(r===0||e===0)throw new Error("Geometric sequence cannot include zero");if(a===0)return rt([],t);if(a===1)return rt([r],t);let o=Math.sign(r),i=Math.sign(e);if(o!==i)throw new Error("Geometric sequence cannot contain both positive and negative values");let n=Oe(t);if(!n)throw new Error(`Cannot create geomspace array with dtype ${t}`);let s=new n(a),u=Math.log(Math.abs(r)),f=(Math.log(Math.abs(e))-u)/(a-1);if(Pr(t))for(let p=0;p<a;p++){let m=o*Math.exp(u+p*f);s[p]=BigInt(Math.round(m))}else if(t==="bool")for(let p=0;p<a;p++){let m=o*Math.exp(u+p*f);s[p]=m!==0?1:0}else for(let p=0;p<a;p++){let m=o*Math.exp(u+p*f);s[p]=m}let l=de.default.ndarray(ue(t),s,[a],[1],0,"row-major");return new Re(l,t)}function Rc(r,e,a=0,t=Qe){let o=e??r,i=Cs([r,o],t),n=i.data;if(Pr(t)){let s=n;for(let u=0;u<r;u++){let v=u+a;v>=0&&v<o&&(s[u*o+v]=BigInt(1))}}else{let s=n;for(let u=0;u<r;u++){let v=u+a;v>=0&&v<o&&(s[u*o+v]=1)}}return i}function Vc(r,e=Qe){let a=Oe(e);if(!a)throw new Error(`Cannot create empty array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=de.default.ndarray(ue(e),o,r,Ca(r),0,"row-major");return new Re(i,e)}function zc(r,e,a){let t=a;t||(typeof e=="bigint"?t="int64":typeof e=="boolean"?t="bool":Number.isInteger(e)?t="int32":t=Qe);let o=Oe(t);if(!o)throw new Error(`Cannot create full array with dtype ${t}`);let i=r.reduce((u,v)=>u*v,1),n=new o(i);if(Pr(t)){let u=typeof e=="bigint"?e:BigInt(Math.round(Number(e)));n.fill(u)}else t==="bool"?n.fill(e?1:0):n.fill(Number(e));let s=de.default.ndarray(ue(t),n,r,Ca(r),0,"row-major");return new Re(s,t)}function yK(r,e=Qe){return Rc(r,r,0,e)}function mK(r,e){if(r instanceof Re){if(!e||r.dtype===e)return r;let a=Array.from(r.shape),t=r.size,o=Oe(e);if(!o)throw new Error(`Cannot create array with dtype ${e}`);let i=new o(t),n=r.data;if(Pr(e))for(let u=0;u<t;u++)i[u]=BigInt(Math.round(Number(n[u])));else if(e==="bool")for(let u=0;u<t;u++)i[u]=n[u]?1:0;else for(let u=0;u<t;u++)i[u]=Number(n[u]);let s=de.default.ndarray(ue(e),i,a,Ca(a),0,"row-major");return new Re(s,e)}return rt(r,e)}function hK(r){let e=Array.from(r.shape),a=r.dtype,t=Oe(a);if(!t)throw new Error(`Cannot copy array with dtype ${a}`);let o=r.size,i=r.data,n=new t(o);if(r.flags.C_CONTIGUOUS)Pr(a),n.set(i);else{let u=Array.from(e),v=Ca(u);for(let f=0;f<o;f++){let l=[],p=f;for(let d=0;d<u.length;d++){let y=v[d],h=Math.floor(p/y);l.push(h),p-=h*y}let m=r.get(l);Pr(a),n[f]=m}}let s=de.default.ndarray(ue(a),n,e,Ca(e),0,"row-major");return new Re(s,a)}function gK(r,e){return Cs(Array.from(r.shape),e??r.dtype)}function bK(r,e){return Fc(Array.from(r.shape),e??r.dtype)}function xK(r,e){return Vc(Array.from(r.shape),e??r.dtype)}function qK(r,e,a){return zc(Array.from(r.shape),e,a??r.dtype)}var zJr="0.1.0";return jK(CJr);})();
1
+ "use strict";var np=(()=>{var fh=Object.create;var me=Object.defineProperty;var lh=Object.getOwnPropertyDescriptor;var ch=Object.getOwnPropertyNames;var ph=Object.getPrototypeOf,yh=Object.prototype.hasOwnProperty;var c=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),mh=(e,r)=>{for(var t in r)me(e,t,{get:r[t],enumerable:!0})},Sn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of ch(r))!yh.call(e,i)&&i!==t&&me(e,i,{get:()=>r[i],enumerable:!(n=lh(r,i))||n.enumerable});return e};var hh=(e,r,t)=>(t=e!=null?fh(ph(e)):{},Sn(r||!e||!e.__esModule?me(t,"default",{value:e,enumerable:!0}):t,e)),gh=e=>Sn(me({},"__esModule",{value:!0}),e);var ei=c((e_,ri)=>{"use strict";var Ch=typeof Object.defineProperty=="function"?Object.defineProperty:null;ri.exports=Ch});var ni=c((t_,ti)=>{"use strict";var jh=ei();function Lh(){try{return jh({},"x",{}),!0}catch{return!1}}ti.exports=Lh});var ai=c((n_,ii)=>{"use strict";var Mh=Object.defineProperty;ii.exports=Mh});var Qe=c((i_,oi)=>{"use strict";function kh(e){return typeof e=="number"}oi.exports=kh});var Ke=c((a_,ui)=>{"use strict";function Ph(e){return e[0]==="-"}function si(e){var r="",t;for(t=0;t<e;t++)r+="0";return r}function $h(e,r,t){var n=!1,i=r-e.length;return i<0||(Ph(e)&&(n=!0,e=e.substr(1)),e=t?e+si(i):si(i)+e,n&&(e="-"+e)),e}ui.exports=$h});var pi=c((o_,ci)=>{"use strict";var Gh=Qe(),fi=Ke(),Yh=String.prototype.toLowerCase,li=String.prototype.toUpperCase;function Wh(e){var r,t,n;switch(e.specifier){case"b":r=2;break;case"o":r=8;break;case"x":case"X":r=16;break;case"d":case"i":case"u":default:r=10;break}if(t=e.arg,n=parseInt(t,10),!isFinite(n)){if(!Gh(t))throw new Error("invalid integer. Value: "+t);n=0}return n<0&&(e.specifier==="u"||r!==10)&&(n=4294967295+n+1),n<0?(t=(-n).toString(r),e.precision&&(t=fi(t,e.precision,e.padRight)),t="-"+t):(t=n.toString(r),!n&&!e.precision?t="":e.precision&&(t=fi(t,e.precision,e.padRight)),e.sign&&(t=e.sign+t)),r===16&&(e.alternate&&(t="0x"+t),t=e.specifier===li.call(e.specifier)?li.call(t):Yh.call(t)),r===8&&e.alternate&&t.charAt(0)!=="0"&&(t="0"+t),t}ci.exports=Wh});var mi=c((s_,yi)=>{"use strict";function Zh(e){return typeof e=="string"}yi.exports=Zh});var vi=c((u_,gi)=>{"use strict";var Jh=Qe(),Hh=Math.abs,Xh=String.prototype.toLowerCase,hi=String.prototype.toUpperCase,Dr=String.prototype.replace,Qh=/e\+(\d)$/,Kh=/e-(\d)$/,rg=/^(\d+)$/,eg=/^(\d+)e/,tg=/\.0$/,ng=/\.0*e/,ig=/(\..*[^0])0*e/;function ag(e){var r,t,n=parseFloat(e.arg);if(!isFinite(n)){if(!Jh(e.arg))throw new Error("invalid floating-point number. Value: "+t);n=e.arg}switch(e.specifier){case"e":case"E":t=n.toExponential(e.precision);break;case"f":case"F":t=n.toFixed(e.precision);break;case"g":case"G":Hh(n)<1e-4?(r=e.precision,r>0&&(r-=1),t=n.toExponential(r)):t=n.toPrecision(e.precision),e.alternate||(t=Dr.call(t,ig,"$1e"),t=Dr.call(t,ng,"e"),t=Dr.call(t,tg,""));break;default:throw new Error("invalid double notation. Value: "+e.specifier)}return t=Dr.call(t,Qh,"e+0$1"),t=Dr.call(t,Kh,"e-0$1"),e.alternate&&(t=Dr.call(t,rg,"$1."),t=Dr.call(t,eg,"$1.e")),n>=0&&e.sign&&(t=e.sign+t),t=e.specifier===hi.call(e.specifier)?hi.call(t):Xh.call(t),t}gi.exports=ag});var wi=c((f_,di)=>{"use strict";function bi(e){var r="",t;for(t=0;t<e;t++)r+=" ";return r}function og(e,r,t){var n=r-e.length;return n<0||(e=t?e+bi(n):bi(n)+e),e}di.exports=og});var xi=c((l_,Ai)=>{"use strict";var sg=pi(),ug=mi(),fg=vi(),lg=wi(),cg=Ke(),pg=String.fromCharCode,yg=Array.isArray;function ge(e){return e!==e}function mg(e){var r={};return r.specifier=e.specifier,r.precision=e.precision===void 0?1:e.precision,r.width=e.width,r.flags=e.flags||"",r.mapping=e.mapping,r}function hg(e){var r,t,n,i,a,s,o,f,u;if(!yg(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");for(s="",o=1,f=0;f<e.length;f++)if(n=e[f],ug(n))s+=n;else{if(r=n.precision!==void 0,n=mg(n),!n.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+f+"`. Value: `"+n+"`.");for(n.mapping&&(o=n.mapping),t=n.flags,u=0;u<t.length;u++)switch(i=t.charAt(u),i){case" ":n.sign=" ";break;case"+":n.sign="+";break;case"-":n.padRight=!0,n.padZeros=!1;break;case"0":n.padZeros=t.indexOf("-")<0;break;case"#":n.alternate=!0;break;default:throw new Error("invalid flag: "+i)}if(n.width==="*"){if(n.width=parseInt(arguments[o],10),o+=1,ge(n.width))throw new TypeError("the argument for * width at position "+o+" is not a number. Value: `"+n.width+"`.");n.width<0&&(n.padRight=!0,n.width=-n.width)}if(r&&n.precision==="*"){if(n.precision=parseInt(arguments[o],10),o+=1,ge(n.precision))throw new TypeError("the argument for * precision at position "+o+" is not a number. Value: `"+n.precision+"`.");n.precision<0&&(n.precision=1,r=!1)}switch(n.arg=arguments[o],n.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":r&&(n.padZeros=!1),n.arg=sg(n);break;case"s":n.maxWidth=r?n.precision:-1,n.arg=String(n.arg);break;case"c":if(!ge(n.arg)){if(a=parseInt(n.arg,10),a<0||a>127)throw new Error("invalid character code. Value: "+n.arg);n.arg=ge(a)?String(n.arg):pg(a)}break;case"e":case"E":case"f":case"F":case"g":case"G":r||(n.precision=6),n.arg=fg(n);break;default:throw new Error("invalid specifier: "+n.specifier)}n.maxWidth>=0&&n.arg.length>n.maxWidth&&(n.arg=n.arg.substring(0,n.maxWidth)),n.padZeros?n.arg=cg(n.arg,n.width||n.precision,n.padRight):n.width&&(n.arg=lg(n.arg,n.width,n.padRight)),s+=n.arg||"",o+=1}return s}Ai.exports=hg});var Si=c((c_,Ei)=>{"use strict";var gg=xi();Ei.exports=gg});var _i=c((p_,Ti)=>{"use strict";var ve=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function vg(e){var r={mapping:e[1]?parseInt(e[1],10):void 0,flags:e[2],width:e[3],precision:e[5],specifier:e[6]};return e[4]==="."&&e[5]===void 0&&(r.precision="1"),r}function bg(e){var r,t,n,i;for(t=[],i=0,n=ve.exec(e);n;)r=e.slice(i,ve.lastIndex-n[0].length),r.length&&t.push(r),t.push(vg(n)),i=ve.lastIndex,n=ve.exec(e);return r=e.slice(i),r.length&&t.push(r),t}Ti.exports=bg});var Ii=c((y_,qi)=>{"use strict";var dg=_i();qi.exports=dg});var Ni=c((m_,Di)=>{"use strict";function wg(e){return typeof e=="string"}Di.exports=wg});var Vi=c((h_,Oi)=>{"use strict";var Ag=Si(),xg=Ii(),Eg=Ni();function Bi(e){var r,t;if(!Eg(e))throw new TypeError(Bi("invalid argument. First argument must be a string. Value: `%s`.",e));for(r=[xg(e)],t=1;t<arguments.length;t++)r.push(arguments[t]);return Ag.apply(null,r)}Oi.exports=Bi});var Z=c((g_,Ui)=>{"use strict";var Sg=Vi();Ui.exports=Sg});var Li=c((v_,ji)=>{"use strict";var zi=Z(),Fr=Object.prototype,Fi=Fr.toString,Ri=Fr.__defineGetter__,Ci=Fr.__defineSetter__,Tg=Fr.__lookupGetter__,_g=Fr.__lookupSetter__;function qg(e,r,t){var n,i,a,s;if(typeof e!="object"||e===null||Fi.call(e)==="[object Array]")throw new TypeError(zi("invalid argument. First argument must be an object. Value: `%s`.",e));if(typeof t!="object"||t===null||Fi.call(t)==="[object Array]")throw new TypeError(zi("invalid argument. Property descriptor must be an object. Value: `%s`.",t));if(i="value"in t,i&&(Tg.call(e,r)||_g.call(e,r)?(n=e.__proto__,e.__proto__=Fr,delete e[r],e[r]=t.value,e.__proto__=n):e[r]=t.value),a="get"in t,s="set"in t,i&&(a||s))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return a&&Ri&&Ri.call(e,r,t.get),s&&Ci&&Ci.call(e,r,t.set),e}ji.exports=qg});var kr=c((b_,Mi)=>{"use strict";var Ig=ni(),Dg=ai(),Ng=Li(),rt;Ig()?rt=Dg:rt=Ng;Mi.exports=rt});var Pi=c((d_,ki)=>{"use strict";var Bg=kr();function Og(e,r,t){Bg(e,r,{configurable:!1,enumerable:!1,writable:!1,value:t})}ki.exports=Og});var W=c((w_,$i)=>{"use strict";var Vg=Pi();$i.exports=Vg});var Yi=c((A_,Gi)=>{"use strict";function Ug(e,r){return e>r?e:r}Gi.exports=Ug});var Zi=c((x_,Wi)=>{"use strict";var zg=Yi();Wi.exports=zg});var Xi=c((E_,Hi)=>{"use strict";var Ji="function";function Fg(e){return typeof e.get===Ji&&typeof e.set===Ji}Hi.exports=Fg});var et=c((S_,Qi)=>{"use strict";var Rg=Xi();Qi.exports=Rg});var ea=c((T_,ra)=>{"use strict";var Ki={complex128:Cg,complex64:jg,default:Lg};function Cg(e,r){return e.get(r)}function jg(e,r){return e.get(r)}function Lg(e,r){return e.get(r)}function Mg(e){var r=Ki[e];return typeof r=="function"?r:Ki.default}ra.exports=Mg});var Rr=c((__,ta)=>{"use strict";var kg=ea();ta.exports=kg});var aa=c((q_,ia)=>{"use strict";var na={float64:Pg,float32:$g,int32:Gg,int16:Yg,int8:Wg,uint32:Zg,uint16:Jg,uint8:Hg,uint8c:Xg,generic:Qg,default:Kg};function Pg(e,r){return e[r]}function $g(e,r){return e[r]}function Gg(e,r){return e[r]}function Yg(e,r){return e[r]}function Wg(e,r){return e[r]}function Zg(e,r){return e[r]}function Jg(e,r){return e[r]}function Hg(e,r){return e[r]}function Xg(e,r){return e[r]}function Qg(e,r){return e[r]}function Kg(e,r){return e[r]}function rv(e){var r=na[e];return typeof r=="function"?r:na.default}ia.exports=rv});var Pr=c((I_,oa)=>{"use strict";var ev=aa();oa.exports=ev});var ua=c((D_,sa)=>{"use strict";function tv(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}sa.exports=tv});var la=c((N_,fa)=>{"use strict";var nv=ua();fa.exports=nv});var pa=c((B_,ca)=>{"use strict";var iv=la(),av=iv();function ov(){return av&&typeof Symbol.toStringTag=="symbol"}ca.exports=ov});var $r=c((O_,ya)=>{"use strict";var sv=pa();ya.exports=sv});var tt=c((V_,ma)=>{"use strict";var uv=Object.prototype.toString;ma.exports=uv});var ga=c((U_,ha)=>{"use strict";var fv=tt();function lv(e){return fv.call(e)}ha.exports=lv});var ba=c((z_,va)=>{"use strict";var cv=Object.prototype.hasOwnProperty;function pv(e,r){return e==null?!1:cv.call(e,r)}va.exports=pv});var nt=c((F_,da)=>{"use strict";var yv=ba();da.exports=yv});var Aa=c((R_,wa)=>{"use strict";var mv=typeof Symbol=="function"?Symbol:void 0;wa.exports=mv});var it=c((C_,xa)=>{"use strict";var hv=Aa();xa.exports=hv});var Ta=c((j_,Sa)=>{"use strict";var Ea=it(),gv=typeof Ea=="function"?Ea.toStringTag:"";Sa.exports=gv});var qa=c((L_,_a)=>{"use strict";var vv=nt(),Gr=Ta(),at=tt();function bv(e){var r,t,n;if(e==null)return at.call(e);t=e[Gr],r=vv(e,Gr);try{e[Gr]=void 0}catch{return at.call(e)}return n=at.call(e),r?e[Gr]=t:delete e[Gr],n}_a.exports=bv});var J=c((M_,Ia)=>{"use strict";var dv=$r(),wv=ga(),Av=qa(),ot;dv()?ot=Av:ot=wv;Ia.exports=ot});var Na=c((k_,Da)=>{"use strict";var xv=J(),st;function Ev(e){return xv(e)==="[object Array]"}Array.isArray?st=Array.isArray:st=Ev;Da.exports=st});var Cr=c((P_,Ba)=>{"use strict";var Sv=Na();Ba.exports=Sv});var Va=c(($_,Oa)=>{"use strict";var Tv=Cr(),_v=Z();function qv(e){if(typeof e!="function")throw new TypeError(_v("invalid argument. Must provide a function. Value: `%s`.",e));return r;function r(t){var n,i;if(!Tv(t)||(n=t.length,n===0))return!1;for(i=0;i<n;i++)if(e(t[i])===!1)return!1;return!0}}Oa.exports=qv});var ut=c((G_,Ua)=>{"use strict";var Iv=Va();Ua.exports=Iv});var Fa=c((Y_,za)=>{"use strict";function Dv(e){return e!==null&&typeof e=="object"}za.exports=Dv});var Ca=c((W_,Ra)=>{"use strict";var Nv=W(),Bv=ut(),ft=Fa(),Ov=Bv(ft);Nv(ft,"isObjectLikeArray",Ov);Ra.exports=ft});var La=c((Z_,ja)=>{"use strict";var Vv=Ca();function Uv(e){return Vv(e)&&(e._isBuffer||e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))}ja.exports=Uv});var lt=c((J_,Ma)=>{"use strict";var zv=La();Ma.exports=zv});var ct=c((H_,ka)=>{"use strict";function Fv(){return/^\s*function\s*([^(]*)/i}ka.exports=Fv});var $a=c((X_,Pa)=>{"use strict";var Rv=ct(),Cv=Rv();Pa.exports=Cv});var Wa=c((Q_,Ya)=>{"use strict";var jv=W(),Ga=ct(),Lv=$a();jv(Ga,"REGEXP",Lv);Ya.exports=Ga});var Ja=c((K_,Za)=>{"use strict";var Mv=J(),kv=Wa().REGEXP,Pv=lt();function $v(e){var r,t,n;if(t=Mv(e).slice(8,-1),(t==="Object"||t==="Error")&&e.constructor){if(n=e.constructor,typeof n.name=="string")return n.name;if(r=kv.exec(n.toString()),r)return r[1]}return Pv(e)?"Buffer":t}Za.exports=$v});var be=c((r1,Ha)=>{"use strict";var Gv=Ja();Ha.exports=Gv});var Qa=c((e1,Xa)=>{"use strict";var Yv={Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};Xa.exports=Yv});var ro=c((t1,Ka)=>{"use strict";var Wv=J(),Zv=typeof Float64Array=="function";function Jv(e){return Zv&&e instanceof Float64Array||Wv(e)==="[object Float64Array]"}Ka.exports=Jv});var to=c((n1,eo)=>{"use strict";var Hv=ro();eo.exports=Hv});var io=c((i1,no)=>{"use strict";var Xv=typeof Float64Array=="function"?Float64Array:null;no.exports=Xv});var so=c((a1,oo)=>{"use strict";var Qv=to(),ao=io();function Kv(){var e,r;if(typeof ao!="function")return!1;try{r=new ao([1,3.14,-3.14,NaN]),e=Qv(r)&&r[0]===1&&r[1]===3.14&&r[2]===-3.14&&r[3]!==r[3]}catch{e=!1}return e}oo.exports=Kv});var fo=c((o1,uo)=>{"use strict";var rb=so();uo.exports=rb});var co=c((s1,lo)=>{"use strict";var eb=typeof Float64Array=="function"?Float64Array:void 0;lo.exports=eb});var yo=c((u1,po)=>{"use strict";function tb(){throw new Error("not implemented")}po.exports=tb});var de=c((f1,mo)=>{"use strict";var nb=fo(),ib=co(),ab=yo(),pt;nb()?pt=ib:pt=ab;mo.exports=pt});var go=c((l1,ho)=>{"use strict";var ob=J(),sb=typeof Float32Array=="function";function ub(e){return sb&&e instanceof Float32Array||ob(e)==="[object Float32Array]"}ho.exports=ub});var bo=c((c1,vo)=>{"use strict";var fb=go();vo.exports=fb});var yt=c((p1,wo)=>{"use strict";var lb=Number.POSITIVE_INFINITY;wo.exports=lb});var xo=c((y1,Ao)=>{"use strict";var cb=typeof Float32Array=="function"?Float32Array:null;Ao.exports=cb});var To=c((m1,So)=>{"use strict";var pb=bo(),yb=yt(),Eo=xo();function mb(){var e,r;if(typeof Eo!="function")return!1;try{r=new Eo([1,3.14,-3.14,5e40]),e=pb(r)&&r[0]===1&&r[1]===3.140000104904175&&r[2]===-3.140000104904175&&r[3]===yb}catch{e=!1}return e}So.exports=mb});var qo=c((h1,_o)=>{"use strict";var hb=To();_o.exports=hb});var Do=c((g1,Io)=>{"use strict";var gb=typeof Float32Array=="function"?Float32Array:void 0;Io.exports=gb});var Bo=c((v1,No)=>{"use strict";function vb(){throw new Error("not implemented")}No.exports=vb});var Yr=c((b1,Oo)=>{"use strict";var bb=qo(),db=Do(),wb=Bo(),mt;bb()?mt=db:mt=wb;Oo.exports=mt});var Uo=c((d1,Vo)=>{"use strict";var Ab=J(),xb=typeof Uint32Array=="function";function Eb(e){return xb&&e instanceof Uint32Array||Ab(e)==="[object Uint32Array]"}Vo.exports=Eb});var Fo=c((w1,zo)=>{"use strict";var Sb=Uo();zo.exports=Sb});var Co=c((A1,Ro)=>{"use strict";var Tb=4294967295;Ro.exports=Tb});var Lo=c((x1,jo)=>{"use strict";var _b=typeof Uint32Array=="function"?Uint32Array:null;jo.exports=_b});var Po=c((E1,ko)=>{"use strict";var qb=Fo(),ht=Co(),Mo=Lo();function Ib(){var e,r;if(typeof Mo!="function")return!1;try{r=[1,3.14,-3.14,ht+1,ht+2],r=new Mo(r),e=qb(r)&&r[0]===1&&r[1]===3&&r[2]===ht-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}ko.exports=Ib});var Go=c((S1,$o)=>{"use strict";var Db=Po();$o.exports=Db});var Wo=c((T1,Yo)=>{"use strict";var Nb=typeof Uint32Array=="function"?Uint32Array:void 0;Yo.exports=Nb});var Jo=c((_1,Zo)=>{"use strict";function Bb(){throw new Error("not implemented")}Zo.exports=Bb});var Xo=c((q1,Ho)=>{"use strict";var Ob=Go(),Vb=Wo(),Ub=Jo(),gt;Ob()?gt=Vb:gt=Ub;Ho.exports=gt});var Ko=c((I1,Qo)=>{"use strict";var zb=J(),Fb=typeof Int32Array=="function";function Rb(e){return Fb&&e instanceof Int32Array||zb(e)==="[object Int32Array]"}Qo.exports=Rb});var es=c((D1,rs)=>{"use strict";var Cb=Ko();rs.exports=Cb});var ns=c((N1,ts)=>{"use strict";var jb=2147483647;ts.exports=jb});var as=c((B1,is)=>{"use strict";var Lb=-2147483648;is.exports=Lb});var ss=c((O1,os)=>{"use strict";var Mb=typeof Int32Array=="function"?Int32Array:null;os.exports=Mb});var ls=c((V1,fs)=>{"use strict";var kb=es(),Pb=ns(),$b=as(),us=ss();function Gb(){var e,r;if(typeof us!="function")return!1;try{r=new us([1,3.14,-3.14,Pb+1]),e=kb(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===$b}catch{e=!1}return e}fs.exports=Gb});var ps=c((U1,cs)=>{"use strict";var Yb=ls();cs.exports=Yb});var ms=c((z1,ys)=>{"use strict";var Wb=typeof Int32Array=="function"?Int32Array:void 0;ys.exports=Wb});var gs=c((F1,hs)=>{"use strict";function Zb(){throw new Error("not implemented")}hs.exports=Zb});var bs=c((R1,vs)=>{"use strict";var Jb=ps(),Hb=ms(),Xb=gs(),vt;Jb()?vt=Hb:vt=Xb;vs.exports=vt});var ws=c((C1,ds)=>{"use strict";var Qb=J(),Kb=typeof Uint16Array=="function";function rd(e){return Kb&&e instanceof Uint16Array||Qb(e)==="[object Uint16Array]"}ds.exports=rd});var xs=c((j1,As)=>{"use strict";var ed=ws();As.exports=ed});var Ss=c((L1,Es)=>{"use strict";var td=65535;Es.exports=td});var _s=c((M1,Ts)=>{"use strict";var nd=typeof Uint16Array=="function"?Uint16Array:null;Ts.exports=nd});var Ds=c((k1,Is)=>{"use strict";var id=xs(),bt=Ss(),qs=_s();function ad(){var e,r;if(typeof qs!="function")return!1;try{r=[1,3.14,-3.14,bt+1,bt+2],r=new qs(r),e=id(r)&&r[0]===1&&r[1]===3&&r[2]===bt-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}Is.exports=ad});var Bs=c((P1,Ns)=>{"use strict";var od=Ds();Ns.exports=od});var Vs=c(($1,Os)=>{"use strict";var sd=typeof Uint16Array=="function"?Uint16Array:void 0;Os.exports=sd});var zs=c((G1,Us)=>{"use strict";function ud(){throw new Error("not implemented")}Us.exports=ud});var Rs=c((Y1,Fs)=>{"use strict";var fd=Bs(),ld=Vs(),cd=zs(),dt;fd()?dt=ld:dt=cd;Fs.exports=dt});var js=c((W1,Cs)=>{"use strict";var pd=J(),yd=typeof Int16Array=="function";function md(e){return yd&&e instanceof Int16Array||pd(e)==="[object Int16Array]"}Cs.exports=md});var Ms=c((Z1,Ls)=>{"use strict";var hd=js();Ls.exports=hd});var Ps=c((J1,ks)=>{"use strict";var gd=32767;ks.exports=gd});var Gs=c((H1,$s)=>{"use strict";var vd=-32768;$s.exports=vd});var Ws=c((X1,Ys)=>{"use strict";var bd=typeof Int16Array=="function"?Int16Array:null;Ys.exports=bd});var Hs=c((Q1,Js)=>{"use strict";var dd=Ms(),wd=Ps(),Ad=Gs(),Zs=Ws();function xd(){var e,r;if(typeof Zs!="function")return!1;try{r=new Zs([1,3.14,-3.14,wd+1]),e=dd(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===Ad}catch{e=!1}return e}Js.exports=xd});var Qs=c((K1,Xs)=>{"use strict";var Ed=Hs();Xs.exports=Ed});var ru=c((rq,Ks)=>{"use strict";var Sd=typeof Int16Array=="function"?Int16Array:void 0;Ks.exports=Sd});var tu=c((eq,eu)=>{"use strict";function Td(){throw new Error("not implemented")}eu.exports=Td});var iu=c((tq,nu)=>{"use strict";var _d=Qs(),qd=ru(),Id=tu(),wt;_d()?wt=qd:wt=Id;nu.exports=wt});var ou=c((nq,au)=>{"use strict";var Dd=J(),Nd=typeof Uint8Array=="function";function Bd(e){return Nd&&e instanceof Uint8Array||Dd(e)==="[object Uint8Array]"}au.exports=Bd});var uu=c((iq,su)=>{"use strict";var Od=ou();su.exports=Od});var lu=c((aq,fu)=>{"use strict";var Vd=255;fu.exports=Vd});var pu=c((oq,cu)=>{"use strict";var Ud=typeof Uint8Array=="function"?Uint8Array:null;cu.exports=Ud});var hu=c((sq,mu)=>{"use strict";var zd=uu(),At=lu(),yu=pu();function Fd(){var e,r;if(typeof yu!="function")return!1;try{r=[1,3.14,-3.14,At+1,At+2],r=new yu(r),e=zd(r)&&r[0]===1&&r[1]===3&&r[2]===At-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}mu.exports=Fd});var vu=c((uq,gu)=>{"use strict";var Rd=hu();gu.exports=Rd});var du=c((fq,bu)=>{"use strict";var Cd=typeof Uint8Array=="function"?Uint8Array:void 0;bu.exports=Cd});var Au=c((lq,wu)=>{"use strict";function jd(){throw new Error("not implemented")}wu.exports=jd});var Et=c((cq,xu)=>{"use strict";var Ld=vu(),Md=du(),kd=Au(),xt;Ld()?xt=Md:xt=kd;xu.exports=xt});var Su=c((pq,Eu)=>{"use strict";var Pd=J(),$d=typeof Uint8ClampedArray=="function";function Gd(e){return $d&&e instanceof Uint8ClampedArray||Pd(e)==="[object Uint8ClampedArray]"}Eu.exports=Gd});var _u=c((yq,Tu)=>{"use strict";var Yd=Su();Tu.exports=Yd});var Iu=c((mq,qu)=>{"use strict";var Wd=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;qu.exports=Wd});var Bu=c((hq,Nu)=>{"use strict";var Zd=_u(),Du=Iu();function Jd(){var e,r;if(typeof Du!="function")return!1;try{r=new Du([-1,0,1,3.14,4.99,255,256]),e=Zd(r)&&r[0]===0&&r[1]===0&&r[2]===1&&r[3]===3&&r[4]===5&&r[5]===255&&r[6]===255}catch{e=!1}return e}Nu.exports=Jd});var Vu=c((gq,Ou)=>{"use strict";var Hd=Bu();Ou.exports=Hd});var zu=c((vq,Uu)=>{"use strict";var Xd=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Uu.exports=Xd});var Ru=c((bq,Fu)=>{"use strict";function Qd(){throw new Error("not implemented")}Fu.exports=Qd});var ju=c((dq,Cu)=>{"use strict";var Kd=Vu(),rw=zu(),ew=Ru(),St;Kd()?St=rw:St=ew;Cu.exports=St});var Mu=c((wq,Lu)=>{"use strict";var tw=J(),nw=typeof Int8Array=="function";function iw(e){return nw&&e instanceof Int8Array||tw(e)==="[object Int8Array]"}Lu.exports=iw});var Pu=c((Aq,ku)=>{"use strict";var aw=Mu();ku.exports=aw});var Gu=c((xq,$u)=>{"use strict";var ow=127;$u.exports=ow});var Wu=c((Eq,Yu)=>{"use strict";var sw=-128;Yu.exports=sw});var Ju=c((Sq,Zu)=>{"use strict";var uw=typeof Int8Array=="function"?Int8Array:null;Zu.exports=uw});var Qu=c((Tq,Xu)=>{"use strict";var fw=Pu(),lw=Gu(),cw=Wu(),Hu=Ju();function pw(){var e,r;if(typeof Hu!="function")return!1;try{r=new Hu([1,3.14,-3.14,lw+1]),e=fw(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===cw}catch{e=!1}return e}Xu.exports=pw});var rf=c((_q,Ku)=>{"use strict";var yw=Qu();Ku.exports=yw});var tf=c((qq,ef)=>{"use strict";var mw=typeof Int8Array=="function"?Int8Array:void 0;ef.exports=mw});var af=c((Iq,nf)=>{"use strict";function hw(){throw new Error("not implemented")}nf.exports=hw});var sf=c((Dq,of)=>{"use strict";var gw=rf(),vw=tf(),bw=af(),Tt;gw()?Tt=vw:Tt=bw;of.exports=Tt});var _t=c((Nq,uf)=>{"use strict";function dw(e){return typeof e=="number"}uf.exports=dw});var lf=c((Bq,ff)=>{"use strict";ff.exports=Number});var we=c((Oq,cf)=>{"use strict";var ww=lf();cf.exports=ww});var yf=c((Vq,pf)=>{"use strict";var Aw=we(),xw=Aw.prototype.toString;pf.exports=xw});var hf=c((Uq,mf)=>{"use strict";var Ew=yf();function Sw(e){try{return Ew.call(e),!0}catch{return!1}}mf.exports=Sw});var qt=c((zq,gf)=>{"use strict";var Tw=$r(),_w=J(),qw=we(),Iw=hf(),Dw=Tw();function Nw(e){return typeof e=="object"?e instanceof qw?!0:Dw?Iw(e):_w(e)==="[object Number]":!1}gf.exports=Nw});var bf=c((Fq,vf)=>{"use strict";var Bw=_t(),Ow=qt();function Vw(e){return Bw(e)||Ow(e)}vf.exports=Vw});var Wr=c((Rq,wf)=>{"use strict";var df=W(),It=bf(),Uw=_t(),zw=qt();df(It,"isPrimitive",Uw);df(It,"isObject",zw);wf.exports=It});var xf=c((Cq,Af)=>{"use strict";var Fw=we(),Rw=Fw.NEGATIVE_INFINITY;Af.exports=Rw});var Sf=c((jq,Ef)=>{"use strict";var Cw=Math.floor;Ef.exports=Cw});var Zr=c((Lq,Tf)=>{"use strict";var jw=Sf();Tf.exports=jw});var qf=c((Mq,_f)=>{"use strict";var Lw=Zr();function Mw(e){return Lw(e)===e}_f.exports=Mw});var Nr=c((kq,If)=>{"use strict";var kw=qf();If.exports=kw});var Dt=c((Pq,Df)=>{"use strict";var Pw=yt(),$w=xf(),Gw=Nr();function Yw(e){return e<Pw&&e>$w&&Gw(e)}Df.exports=Yw});var Nt=c(($q,Nf)=>{"use strict";var Ww=Wr().isPrimitive,Zw=Dt();function Jw(e){return Ww(e)&&Zw(e)}Nf.exports=Jw});var Bt=c((Gq,Bf)=>{"use strict";var Hw=Wr().isObject,Xw=Dt();function Qw(e){return Hw(e)&&Xw(e.valueOf())}Bf.exports=Qw});var Vf=c((Yq,Of)=>{"use strict";var Kw=Nt(),rA=Bt();function eA(e){return Kw(e)||rA(e)}Of.exports=eA});var Ae=c((Wq,zf)=>{"use strict";var Uf=W(),Ot=Vf(),tA=Nt(),nA=Bt();Uf(Ot,"isPrimitive",tA);Uf(Ot,"isObject",nA);zf.exports=Ot});var Vt=c((Zq,Ff)=>{"use strict";var iA=Ae().isPrimitive;function aA(e){return iA(e)&&e>=0}Ff.exports=aA});var Ut=c((Jq,Rf)=>{"use strict";var oA=Ae().isObject;function sA(e){return oA(e)&&e.valueOf()>=0}Rf.exports=sA});var jf=c((Hq,Cf)=>{"use strict";var uA=Vt(),fA=Ut();function lA(e){return uA(e)||fA(e)}Cf.exports=lA});var xe=c((Xq,Mf)=>{"use strict";var Lf=W(),zt=jf(),cA=Vt(),pA=Ut();Lf(zt,"isPrimitive",cA);Lf(zt,"isObject",pA);Mf.exports=zt});var Pf=c((Qq,kf)=>{"use strict";var yA=4294967295;kf.exports=yA});var Gf=c((Kq,$f)=>{"use strict";var mA=Nr(),hA=Pf();function gA(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&mA(e.length)&&e.length>=0&&e.length<=hA}$f.exports=gA});var Br=c((rI,Yf)=>{"use strict";var vA=Gf();Yf.exports=vA});var Zf=c((eI,Wf)=>{"use strict";var bA=9007199254740991;Wf.exports=bA});var Hf=c((tI,Jf)=>{"use strict";var dA=Nr(),wA=Zf();function AA(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&dA(e.length)&&e.length>=0&&e.length<=wA}Jf.exports=AA});var Jr=c((nI,Xf)=>{"use strict";var xA=Hf();Xf.exports=xA});var Kf=c((iI,Qf)=>{"use strict";var EA=J(),SA=typeof ArrayBuffer=="function";function TA(e){return SA&&e instanceof ArrayBuffer||EA(e)==="[object ArrayBuffer]"}Qf.exports=TA});var Ee=c((aI,rl)=>{"use strict";var _A=Kf();rl.exports=_A});var tl=c((oI,el)=>{"use strict";var qA=Cr();function IA(e){return typeof e=="object"&&e!==null&&!qA(e)}el.exports=IA});var Se=c((sI,nl)=>{"use strict";var DA=tl();nl.exports=DA});var Ft=c((uI,il)=>{"use strict";function NA(e){return typeof e=="string"}il.exports=NA});var ol=c((fI,al)=>{"use strict";var BA=String.prototype.valueOf;al.exports=BA});var ul=c((lI,sl)=>{"use strict";var OA=ol();function VA(e){try{return OA.call(e),!0}catch{return!1}}sl.exports=VA});var Rt=c((cI,fl)=>{"use strict";var UA=$r(),zA=J(),FA=ul(),RA=UA();function CA(e){return typeof e=="object"?e instanceof String?!0:RA?FA(e):zA(e)==="[object String]":!1}fl.exports=CA});var cl=c((pI,ll)=>{"use strict";var jA=Ft(),LA=Rt();function MA(e){return jA(e)||LA(e)}ll.exports=MA});var Hr=c((yI,yl)=>{"use strict";var pl=W(),Ct=cl(),kA=Ft(),PA=Rt();pl(Ct,"isPrimitive",kA);pl(Ct,"isObject",PA);yl.exports=Ct});var Te=c((mI,hl)=>{"use strict";var ml=W(),jt=ut(),Lt=Hr(),$A=jt(Lt.isPrimitive),GA=jt(Lt.isObject),Mt=jt(Lt);ml(Mt,"primitives",$A);ml(Mt,"objects",GA);hl.exports=Mt});var vl=c((hI,gl)=>{"use strict";var YA=/./;gl.exports=YA});var kt=c((gI,bl)=>{"use strict";function WA(e){return typeof e=="boolean"}bl.exports=WA});var wl=c((vI,dl)=>{"use strict";var ZA=Boolean;dl.exports=ZA});var jr=c((bI,Al)=>{"use strict";var JA=wl();Al.exports=JA});var El=c((dI,xl)=>{"use strict";var HA=Boolean.prototype.toString;xl.exports=HA});var Tl=c((wI,Sl)=>{"use strict";var XA=El();function QA(e){try{return XA.call(e),!0}catch{return!1}}Sl.exports=QA});var Pt=c((AI,_l)=>{"use strict";var KA=$r(),r0=J(),e0=jr(),t0=Tl(),n0=KA();function i0(e){return typeof e=="object"?e instanceof e0?!0:n0?t0(e):r0(e)==="[object Boolean]":!1}_l.exports=i0});var Il=c((xI,ql)=>{"use strict";var a0=kt(),o0=Pt();function s0(e){return a0(e)||o0(e)}ql.exports=s0});var Gt=c((EI,Nl)=>{"use strict";var Dl=W(),$t=Il(),u0=kt(),f0=Pt();Dl($t,"isPrimitive",u0);Dl($t,"isObject",f0);Nl.exports=$t});var Ol=c((SI,Bl)=>{"use strict";function l0(){return new Function("return this;")()}Bl.exports=l0});var Ul=c((TI,Vl)=>{"use strict";var c0=typeof self=="object"?self:null;Vl.exports=c0});var Fl=c((_I,zl)=>{"use strict";var p0=typeof window=="object"?window:null;zl.exports=p0});var Cl=c((qI,Rl)=>{"use strict";var y0=typeof globalThis=="object"?globalThis:null;Rl.exports=y0});var Pl=c((II,kl)=>{"use strict";var m0=Gt().isPrimitive,h0=Z(),g0=Ol(),jl=Ul(),Ll=Fl(),Ml=Cl();function v0(e){if(arguments.length){if(!m0(e))throw new TypeError(h0("invalid argument. Must provide a boolean. Value: `%s`.",e));if(e)return g0()}if(Ml)return Ml;if(jl)return jl;if(Ll)return Ll;throw new Error("unexpected error. Unable to resolve global object.")}kl.exports=v0});var Yl=c((DI,Gl)=>{"use strict";var b0=Pl(),$l=b0(),d0=$l.document&&$l.document.childNodes;Gl.exports=d0});var Zl=c((NI,Wl)=>{"use strict";var w0=Int8Array;Wl.exports=w0});var Hl=c((BI,Jl)=>{"use strict";var A0=vl(),x0=Yl(),E0=Zl();function S0(){return typeof A0=="function"||typeof E0=="object"||typeof x0=="function"}Jl.exports=S0});var Ql=c((OI,Xl)=>{"use strict";var T0=be();function _0(e){var r;return e===null?"null":(r=typeof e,r==="object"?T0(e).toLowerCase():r)}Xl.exports=_0});var rc=c((VI,Kl)=>{"use strict";var q0=be();function I0(e){return q0(e).toLowerCase()}Kl.exports=I0});var tc=c((UI,ec)=>{"use strict";var D0=Hl(),N0=Ql(),B0=rc(),O0=D0()?B0:N0;ec.exports=O0});var ic=c((zI,nc)=>{"use strict";var V0=tc();function U0(e){return V0(e)==="function"}nc.exports=U0});var _e=c((FI,ac)=>{"use strict";var z0=ic();ac.exports=z0});var sc=c((RI,oc)=>{"use strict";function F0(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}oc.exports=F0});var fc=c((CI,uc)=>{"use strict";function R0(){var e={};return e.type="Complex128",e.re=this.re,e.im=this.im,e}uc.exports=R0});var mc=c((jI,yc)=>{"use strict";var lc=Wr().isPrimitive,cc=kr(),Xr=W(),pc=Z(),C0=sc(),j0=fc();function Or(e,r){if(!(this instanceof Or))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!lc(e))throw new TypeError(pc("invalid argument. Real component must be a number. Value: `%s`.",e));if(!lc(r))throw new TypeError(pc("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return cc(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),cc(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:r}),this}Xr(Or,"BYTES_PER_ELEMENT",8);Xr(Or.prototype,"BYTES_PER_ELEMENT",8);Xr(Or.prototype,"byteLength",16);Xr(Or.prototype,"toString",C0);Xr(Or.prototype,"toJSON",j0);yc.exports=Or});var Yt=c((LI,hc)=>{"use strict";var L0=mc();hc.exports=L0});var vc=c((MI,gc)=>{"use strict";var M0=typeof Math.fround=="function"?Math.fround:null;gc.exports=M0});var wc=c((kI,dc)=>{"use strict";var k0=Yr(),bc=new k0(1);function P0(e){return bc[0]=e,bc[0]}dc.exports=P0});var Ec=c((PI,xc)=>{"use strict";var Ac=vc(),$0=wc(),Wt;typeof Ac=="function"?Wt=Ac:Wt=$0;xc.exports=Wt});var Tc=c(($I,Sc)=>{"use strict";function G0(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}Sc.exports=G0});var qc=c((GI,_c)=>{"use strict";function Y0(){var e={};return e.type="Complex64",e.re=this.re,e.im=this.im,e}_c.exports=Y0});var Vc=c((YI,Oc)=>{"use strict";var Ic=Wr().isPrimitive,Dc=kr(),Qr=W(),Nc=Ec(),Bc=Z(),W0=Tc(),Z0=qc();function Vr(e,r){if(!(this instanceof Vr))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Ic(e))throw new TypeError(Bc("invalid argument. Real component must be a number. Value: `%s`.",e));if(!Ic(r))throw new TypeError(Bc("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return Dc(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:Nc(e)}),Dc(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:Nc(r)}),this}Qr(Vr,"BYTES_PER_ELEMENT",4);Qr(Vr.prototype,"BYTES_PER_ELEMENT",4);Qr(Vr.prototype,"byteLength",8);Qr(Vr.prototype,"toString",W0);Qr(Vr.prototype,"toJSON",Z0);Oc.exports=Vr});var Zt=c((WI,Uc)=>{"use strict";var J0=Vc();Uc.exports=J0});var Fc=c((ZI,zc)=>{"use strict";var H0=Yt(),X0=Zt();function Q0(e){return e instanceof H0||e instanceof X0?!0:typeof e=="object"&&e!==null&&typeof e.re=="number"&&typeof e.im=="number"}zc.exports=Q0});var br=c((JI,Rc)=>{"use strict";var K0=Fc();Rc.exports=K0});var jc=c((HI,Cc)=>{"use strict";var rx=Nr();function ex(e){return rx(e/2)}Cc.exports=ex});var Jt=c((XI,Lc)=>{"use strict";var tx=jc();Lc.exports=tx});var kc=c((QI,Mc)=>{"use strict";var nx=8;function ix(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex64Array"&&e.BYTES_PER_ELEMENT===nx}Mc.exports=ix});var Ht=c((KI,Pc)=>{"use strict";var ax=kc();Pc.exports=ax});var Gc=c((r6,$c)=>{"use strict";var ox=16;function sx(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex128Array"&&e.BYTES_PER_ELEMENT===ox}$c.exports=sx});var Xt=c((e6,Yc)=>{"use strict";var ux=Gc();Yc.exports=ux});var Zc=c((t6,Wc)=>{"use strict";var fx=nt(),qe=it();function lx(){return typeof qe=="function"&&typeof qe("foo")=="symbol"&&fx(qe,"iterator")&&typeof qe.iterator=="symbol"}Wc.exports=lx});var Kr=c((n6,Jc)=>{"use strict";var cx=Zc();Jc.exports=cx});var Xc=c((i6,Hc)=>{"use strict";var px=Kr(),yx=px()?Symbol.iterator:null;Hc.exports=yx});var Ie=c((a6,Qc)=>{"use strict";var mx=Xc();Qc.exports=mx});var rp=c((o6,Kc)=>{"use strict";var hx=kr();function gx(e,r,t){hx(e,r,{configurable:!1,enumerable:!1,get:t})}Kc.exports=gx});var De=c((s6,ep)=>{"use strict";var vx=rp();ep.exports=vx});var np=c((u6,tp)=>{"use strict";function bx(e){return e.re}tp.exports=bx});var re=c((f6,ip)=>{"use strict";var dx=np();ip.exports=dx});var op=c((l6,ap)=>{"use strict";function wx(e){return e.im}ap.exports=wx});var ee=c((c6,sp)=>{"use strict";var Ax=op();sp.exports=Ax});var fp=c((p6,up)=>{"use strict";var xx=Yr();function Ex(e,r){return new xx(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}up.exports=Ex});var Qt=c((y6,lp)=>{"use strict";var Sx=fp();lp.exports=Sx});var pp=c((m6,cp)=>{"use strict";var Tx=de();function _x(e,r){return new Tx(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}cp.exports=_x});var Kt=c((h6,yp)=>{"use strict";var qx=pp();yp.exports=qx});var hp=c((g6,mp)=>{"use strict";var Ix=Br(),Dx=br(),Nx=re(),Bx=ee(),Ox=Z();function Vx(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,Ix(n)&&n.length>=2)r.push(n[0],n[1]);else if(Dx(n))r.push(Nx(n),Bx(n));else return new TypeError(Ox("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",n));return r}mp.exports=Vx});var vp=c((v6,gp)=>{"use strict";var Ux=Br(),zx=br(),Fx=re(),Rx=ee(),Cx=Z();function jx(e,r,t){var n,i,a,s;for(n=[],s=-1;i=e.next(),!i.done;)if(s+=1,a=r.call(t,i.value,s),Ux(a)&&a.length>=2)n.push(a[0],a[1]);else if(zx(a))n.push(Fx(a),Rx(a));else return new TypeError(Cx("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",a));return n}gp.exports=jx});var dp=c((b6,bp)=>{"use strict";var Lx=br(),Mx=re(),kx=ee();function Px(e,r){var t,n,i,a;for(t=r.length,a=0,i=0;i<t;i++){if(n=r[i],!Lx(n))return null;e[a]=Mx(n),e[a+1]=kx(n),a+=2}return e}bp.exports=Px});var _p=c((d6,Tp)=>{"use strict";var te=xe().isPrimitive,rn=Br(),en=Jr(),wp=Ee(),tn=Se(),$x=Cr(),Gx=Te().primitives,Ap=Hr().isPrimitive,$=_e(),ir=br(),Ne=Jt(),Q=Nr(),Yx=Ht(),Wx=Xt(),Zx=Kr(),yr=Ie(),I=W(),Be=De(),nr=Yr(),Jx=Zt(),x=Z(),ur=re(),fr=ee(),Hx=Zr(),Xx=Qt(),Qx=Kt(),Kx=Pr(),rE=Rr(),xp=hp(),eE=vp(),tE=dp(),er=nr.BYTES_PER_ELEMENT*2,Ep=Zx();function V(e){return e instanceof T||typeof e=="object"&&e!==null&&(e.constructor.name==="Complex64Array"||e.constructor.name==="Complex128Array")&&typeof e._length=="number"&&typeof e._buffer=="object"}function Sp(e){return e===T||e.name==="Complex128Array"}function j(e,r){return r*=2,new Jx(e[r],e[r+1])}function T(){var e,r,t,n;if(r=arguments.length,!(this instanceof T))return r===0?new T:r===1?new T(arguments[0]):r===2?new T(arguments[0],arguments[1]):new T(arguments[0],arguments[1],arguments[2]);if(r===0)t=new nr(0);else if(r===1)if(te(arguments[0]))t=new nr(arguments[0]*2);else if(en(arguments[0]))if(t=arguments[0],n=t.length,n&&$x(t)&&ir(t[0])){if(t=tE(new nr(n*2),t),t===null){if(!Ne(n))throw new RangeError(x("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new nr(arguments[0])}}else{if(Yx(t))t=Xx(t,0);else if(Wx(t))t=Qx(t,0);else if(!Ne(n))throw new RangeError(x("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new nr(t)}else if(wp(arguments[0])){if(t=arguments[0],!Q(t.byteLength/er))throw new RangeError(x("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",er,t.byteLength));t=new nr(t)}else if(tn(arguments[0])){if(t=arguments[0],Ep===!1)throw new TypeError(x("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",t));if(!$(t[yr]))throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=t[yr](),!$(t.next))throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=xp(t),t instanceof Error)throw t;t=new nr(t)}else throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(t=arguments[0],!wp(t))throw new TypeError(x("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!te(e))throw new TypeError(x("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(!Q(e/er))throw new RangeError(x("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",er,e));if(r===2){if(n=t.byteLength-e,!Q(n/er))throw new RangeError(x("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",er,n));t=new nr(t,e)}else{if(n=arguments[2],!te(n))throw new TypeError(x("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*er>t.byteLength-e)throw new RangeError(x("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*er));t=new nr(t,e,n*2)}}return I(this,"_buffer",t),I(this,"_length",t.length/2),this}I(T,"BYTES_PER_ELEMENT",er);I(T,"name","Complex64Array");I(T,"from",function(r){var t,n,i,a,s,o,f,u,l,p,y,m;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Sp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=arguments.length,n>1){if(i=arguments[1],!$(i))throw new TypeError(x("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(V(r)){if(u=r.length,i){for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,r.get(y),y),ir(p))s[m]=ur(p),s[m+1]=fr(p);else if(rn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(en(r)){if(i){for(u=r.length,r.get&&r.set?f=rE("default"):f=Kx("default"),y=0;y<u;y++)if(!ir(f(r,y))){l=!0;break}if(l){if(!Ne(u))throw new RangeError(x("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,u));for(a=new this(u/2),s=a._buffer,y=0;y<u;y++)s[y]=i.call(t,f(r,y),y);return a}for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,f(r,y),y),ir(p))s[m]=ur(p),s[m+1]=fr(p);else if(rn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(tn(r)&&Ep&&$(r[yr])){if(s=r[yr](),!$(s.next))throw new TypeError(x("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(i?o=eE(s,i,t):o=xp(s),o instanceof Error)throw o;for(u=o.length/2,a=new this(u),s=a._buffer,y=0;y<u;y++)s[y]=o[y];return a}throw new TypeError(x("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});I(T,"of",function(){var r,t;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Sp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});I(T.prototype,"at",function(r){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Q(r))throw new TypeError(x("invalid argument. Must provide an integer. Value: `%s`.",r));if(r<0&&(r+=this._length),!(r<0||r>=this._length))return j(this._buffer,r)});Be(T.prototype,"buffer",function(){return this._buffer.buffer});Be(T.prototype,"byteLength",function(){return this._buffer.byteLength});Be(T.prototype,"byteOffset",function(){return this._buffer.byteOffset});I(T.prototype,"BYTES_PER_ELEMENT",T.BYTES_PER_ELEMENT);I(T.prototype,"copyWithin",function(r,t){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(r*2,t*2):this._buffer.copyWithin(r*2,t*2,arguments[2]*2),this});I(T.prototype,"entries",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,i=this._buffer,n=this._length,s=-1,t={},I(t,"next",o),I(t,"return",f),yr&&I(t,yr,u),t;function o(){return s+=1,a||s>=n?{done:!0}:{value:[s,j(i,s)],done:!1}}function f(l){return a=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return r.entries()}});I(T.prototype,"every",function(r,t){var n,i;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,j(n,i),i,this))return!1;return!0});I(T.prototype,"fill",function(r,t,n){var i,a,s,o,f,u;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!Q(n))throw new TypeError(x("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(o=ur(r),f=fr(r),u=t;u<n;u++)s=2*u,i[s]=o,i[s+1]=f;return this});I(T.prototype,"filter",function(r,t){var n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=j(n,a),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});I(T.prototype,"find",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=j(n,i),r.call(t,a,i,this))return a});I(T.prototype,"findIndex",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=j(n,i),r.call(t,a,i,this))return i;return-1});I(T.prototype,"findLast",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=j(n,i),r.call(t,a,i,this))return a});I(T.prototype,"findLastIndex",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=j(n,i),r.call(t,a,i,this))return i;return-1});I(T.prototype,"forEach",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)a=j(n,i),r.call(t,a,i,this)});I(T.prototype,"get",function(r){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!te(r))throw new TypeError(x("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return j(this._buffer,r)});I(T.prototype,"includes",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return!0;return!1});I(T.prototype,"indexOf",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});I(T.prototype,"join",function(r){var t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=",";else if(Ap(r))i=r;else throw new TypeError(x("invalid argument. First argument must be a string. Value: `%s`.",r));for(t=[],n=this._buffer,a=0;a<this._length;a++)t.push(j(n,a).toString());return t.join(i)});I(T.prototype,"keys",function(){var r,t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,n=this._length,a=-1,t={},I(t,"next",s),I(t,"return",o),yr&&I(t,yr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});I(T.prototype,"lastIndexOf",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o>=0;o--)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});Be(T.prototype,"length",function(){return this._length});I(T.prototype,"map",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(i=this._buffer,a=new this.constructor(this._length),n=a._buffer,s=0;s<this._length;s++)if(o=r.call(t,j(i,s),s,this),ir(o))n[2*s]=ur(o),n[2*s+1]=fr(o);else if(rn(o)&&o.length===2)n[2*s]=o[0],n[2*s+1]=o[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",o));return a});I(T.prototype,"reduce",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=0;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=j(n,0),o=1}for(;o<a;o++)s=j(n,o),i=r(i,s,o,this);return i});I(T.prototype,"reduceRight",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=a-1;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=j(n,a-1),o=a-2}for(;o>=0;o--)s=j(n,o),i=r(i,s,o,this);return i});I(T.prototype,"reverse",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,r=this._buffer,i=Hx(n/2),a=0;a<i;a++)s=n-a-1,t=r[2*a],r[2*a]=r[2*s],r[2*s]=t,t=r[2*a+1],r[2*a+1]=r[2*s+1],r[2*s+1]=t;return this});I(T.prototype,"set",function(r){var t,n,i,a,s,o,f,u,l;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!te(n))throw new TypeError(x("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(ir(r)){if(n>=this._length)throw new RangeError(x("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));n*=2,i[n]=ur(r),i[n+1]=fr(r);return}if(V(r)){if(o=r._length,n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r._buffer,l=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new nr(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(en(r)){for(o=r.length,u=0;u<o;u++)if(!ir(r[u])){s=!0;break}if(s){if(!Ne(o))throw new RangeError(x("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",o));if(n+o/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r,l=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new nr(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(n*=2,u=0;u<o;u++)f=r[u],i[n]=ur(f),i[n+1]=fr(f),n+=2;return}throw new TypeError(x("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",r))});I(T.prototype,"slice",function(r,t){var n,i,a,s,o,f,u;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,f=this._length,arguments.length===0)r=0,t=f;else{if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=f,r<0&&(r=0)),arguments.length===1)t=f;else{if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=f,t<0&&(t=0)):t>f&&(t=f)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,u=0;u<n;u++)s=2*(u+r),i[2*u]=o[s],i[2*u+1]=o[s+1];return a});I(T.prototype,"some",function(r,t){var n,i;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,j(n,i),i,this))return!0;return!1});I(T.prototype,"sort",function(r){var t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(j(n,a));for(t.sort(r),a=0;a<i;a++)s=2*a,n[s]=ur(t[a]),n[s+1]=fr(t[a]);return this});I(T.prototype,"subarray",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*er):(a=t-r,n=i.byteOffset+r*er),new this.constructor(i.buffer,n,a<0?0:a)});I(T.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=[];else if(Ap(r)||Gx(r))i=r;else throw new TypeError(x("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(tn(t))n=t;else throw new TypeError(x("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(j(s,o).toLocaleString(i,n));return a.join(",")});I(T.prototype,"toReversed",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)s=n-a-1,r[2*a]=i[2*s],r[2*a+1]=i[2*s+1];return t});I(T.prototype,"toSorted",function(r){var t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(j(n,a));return t.sort(r),new T(t)});I(T.prototype,"toString",function(){var r,t,n;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)r.push(j(t,n).toString());return r.join(",")});I(T.prototype,"values",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},I(r,"next",o),I(r,"return",f),yr&&I(r,yr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:j(a,s),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});I(T.prototype,"with",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(x("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!ir(t))throw new TypeError(x("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,n[2*r]=ur(t),n[2*r+1]=fr(t),i});Tp.exports=T});var Ip=c((w6,qp)=>{"use strict";var nE=_p();qp.exports=nE});var Np=c((A6,Dp)=>{"use strict";function iE(e){return e.re}Dp.exports=iE});var ne=c((x6,Bp)=>{"use strict";var aE=Np();Bp.exports=aE});var Vp=c((E6,Op)=>{"use strict";function oE(e){return e.im}Op.exports=oE});var ie=c((S6,Up)=>{"use strict";var sE=Vp();Up.exports=sE});var Fp=c((T6,zp)=>{"use strict";var uE=Br(),fE=br(),lE=Z(),cE=ne(),pE=ie();function yE(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,uE(n)&&n.length>=2)r.push(n[0],n[1]);else if(fE(n))r.push(cE(n),pE(n));else return new TypeError(lE("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",n));return r}zp.exports=yE});var Cp=c((_6,Rp)=>{"use strict";var mE=Br(),hE=br(),gE=Z(),vE=ne(),bE=ie();function dE(e,r,t){var n,i,a,s;for(n=[],s=-1;i=e.next(),!i.done;)if(s+=1,a=r.call(t,i.value,s),mE(a)&&a.length>=2)n.push(a[0],a[1]);else if(hE(a))n.push(vE(a),bE(a));else return new TypeError(gE("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",a));return n}Rp.exports=dE});var Lp=c((q6,jp)=>{"use strict";var wE=br(),AE=ne(),xE=ie();function EE(e,r){var t,n,i,a;for(t=r.length,a=0,i=0;i<t;i++){if(n=r[i],!wE(n))return null;e[a]=AE(n),e[a+1]=xE(n),a+=2}return e}jp.exports=EE});var Zp=c((I6,Wp)=>{"use strict";var ae=xe().isPrimitive,nn=Br(),an=Jr(),Mp=Ee(),on=Se(),SE=Cr(),TE=Te().primitives,kp=Hr(),G=_e(),or=br(),Oe=Jt(),K=Nr(),_E=Ht(),qE=Xt(),IE=Kr(),mr=Ie(),D=W(),Ve=De(),ar=de(),Pp=Yt(),lr=ne(),cr=ie(),DE=Zr(),NE=Qt(),BE=Kt(),OE=Pr(),VE=Rr(),E=Z(),$p=Fp(),UE=Cp(),zE=Lp(),tr=ar.BYTES_PER_ELEMENT*2,Gp=IE();function U(e){return e instanceof _||typeof e=="object"&&e!==null&&(e.constructor.name==="Complex64Array"||e.constructor.name==="Complex128Array")&&typeof e._length=="number"&&typeof e._buffer=="object"}function Yp(e){return e===_||e.name==="Complex64Array"}function L(e,r){return r*=2,new Pp(e[r],e[r+1])}function _(){var e,r,t,n;if(r=arguments.length,!(this instanceof _))return r===0?new _:r===1?new _(arguments[0]):r===2?new _(arguments[0],arguments[1]):new _(arguments[0],arguments[1],arguments[2]);if(r===0)t=new ar(0);else if(r===1)if(ae(arguments[0]))t=new ar(arguments[0]*2);else if(an(arguments[0]))if(t=arguments[0],n=t.length,n&&SE(t)&&or(t[0])){if(t=zE(new ar(n*2),t),t===null){if(!Oe(n))throw new RangeError(E("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new ar(arguments[0])}}else{if(_E(t))t=NE(t,0);else if(qE(t))t=BE(t,0);else if(!Oe(n))throw new RangeError(E("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new ar(t)}else if(Mp(arguments[0])){if(t=arguments[0],!K(t.byteLength/tr))throw new RangeError(E("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",tr,t.byteLength));t=new ar(t)}else if(on(arguments[0])){if(t=arguments[0],Gp===!1)throw new TypeError(E("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",t));if(!G(t[mr]))throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=t[mr](),!G(t.next))throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=$p(t),t instanceof Error)throw t;t=new ar(t)}else throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(t=arguments[0],!Mp(t))throw new TypeError(E("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!ae(e))throw new TypeError(E("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(!K(e/tr))throw new RangeError(E("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",tr,e));if(r===2){if(n=t.byteLength-e,!K(n/tr))throw new RangeError(E("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",tr,n));t=new ar(t,e)}else{if(n=arguments[2],!ae(n))throw new TypeError(E("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*tr>t.byteLength-e)throw new RangeError(E("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*tr));t=new ar(t,e,n*2)}}return D(this,"_buffer",t),D(this,"_length",t.length/2),this}D(_,"BYTES_PER_ELEMENT",tr);D(_,"name","Complex128Array");D(_,"from",function(r){var t,n,i,a,s,o,f,u,l,p,y,m;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Yp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=arguments.length,n>1){if(i=arguments[1],!G(i))throw new TypeError(E("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(U(r)){if(u=r.length,i){for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,r.get(y),y),or(p))s[m]=lr(p),s[m+1]=cr(p);else if(nn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(an(r)){if(i){for(u=r.length,r.get&&r.set?f=VE("default"):f=OE("default"),y=0;y<u;y++)if(!or(f(r,y))){l=!0;break}if(l){if(!Oe(u))throw new RangeError(E("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",u));for(a=new this(u/2),s=a._buffer,y=0;y<u;y++)s[y]=i.call(t,f(r,y),y);return a}for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,f(r,y),y),or(p))s[m]=lr(p),s[m+1]=cr(p);else if(nn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(on(r)&&Gp&&G(r[mr])){if(s=r[mr](),!G(s.next))throw new TypeError(E("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(i?o=UE(s,i,t):o=$p(s),o instanceof Error)throw o;for(u=o.length/2,a=new this(u),s=a._buffer,y=0;y<u;y++)s[y]=o[y];return a}throw new TypeError(E("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});D(_,"of",function(){var r,t;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Yp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});D(_.prototype,"at",function(r){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!K(r))throw new TypeError(E("invalid argument. Must provide an integer. Value: `%s`.",r));if(r<0&&(r+=this._length),!(r<0||r>=this._length))return L(this._buffer,r)});Ve(_.prototype,"buffer",function(){return this._buffer.buffer});Ve(_.prototype,"byteLength",function(){return this._buffer.byteLength});Ve(_.prototype,"byteOffset",function(){return this._buffer.byteOffset});D(_.prototype,"BYTES_PER_ELEMENT",_.BYTES_PER_ELEMENT);D(_.prototype,"copyWithin",function(r,t){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(r*2,t*2):this._buffer.copyWithin(r*2,t*2,arguments[2]*2),this});D(_.prototype,"entries",function(){var r,t,n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,r=this._buffer,i=this._length,s=-1,o=-2,n={},D(n,"next",f),D(n,"return",u),mr&&D(n,mr,l),n;function f(){var p;return s+=1,a||s>=i?{done:!0}:(o+=2,p=new Pp(r[o],r[o+1]),{value:[s,p],done:!1})}function u(p){return a=!0,arguments.length?{value:p,done:!0}:{done:!0}}function l(){return t.entries()}});D(_.prototype,"every",function(r,t){var n,i;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,L(n,i),i,this))return!1;return!0});D(_.prototype,"fill",function(r,t,n){var i,a,s,o,f,u;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!K(n))throw new TypeError(E("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(o=lr(r),f=cr(r),u=t;u<n;u++)s=2*u,i[s]=o,i[s+1]=f;return this});D(_.prototype,"filter",function(r,t){var n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=L(n,a),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});D(_.prototype,"find",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=L(n,i),r.call(t,a,i,this))return a});D(_.prototype,"findIndex",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=L(n,i),r.call(t,a,i,this))return i;return-1});D(_.prototype,"findLast",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=L(n,i),r.call(t,a,i,this))return a});D(_.prototype,"findLastIndex",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=L(n,i),r.call(t,a,i,this))return i;return-1});D(_.prototype,"forEach",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)a=L(n,i),r.call(t,a,i,this)});D(_.prototype,"get",function(r){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ae(r))throw new TypeError(E("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return L(this._buffer,r)});Ve(_.prototype,"length",function(){return this._length});D(_.prototype,"includes",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return!0;return!1});D(_.prototype,"indexOf",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});D(_.prototype,"join",function(r){var t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=",";else if(kp(r))i=r;else throw new TypeError(E("invalid argument. First argument must be a string. Value: `%s`.",r));for(t=[],n=this._buffer,a=0;a<this._length;a++)t.push(L(n,a).toString());return t.join(i)});D(_.prototype,"keys",function(){var r,t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,n=this._length,a=-1,t={},D(t,"next",s),D(t,"return",o),mr&&D(t,mr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});D(_.prototype,"lastIndexOf",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o>=0;o--)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});D(_.prototype,"map",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(i=this._buffer,a=new this.constructor(this._length),n=a._buffer,s=0;s<this._length;s++)if(o=r.call(t,L(i,s),s,this),or(o))n[2*s]=lr(o),n[2*s+1]=cr(o);else if(nn(o)&&o.length===2)n[2*s]=o[0],n[2*s+1]=o[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",o));return a});D(_.prototype,"reduce",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=0;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=L(n,0),o=1}for(;o<a;o++)s=L(n,o),i=r(i,s,o,this);return i});D(_.prototype,"reduceRight",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=a-1;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=L(n,a-1),o=a-2}for(;o>=0;o--)s=L(n,o),i=r(i,s,o,this);return i});D(_.prototype,"reverse",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,r=this._buffer,i=DE(n/2),a=0;a<i;a++)s=n-a-1,t=r[2*a],r[2*a]=r[2*s],r[2*s]=t,t=r[2*a+1],r[2*a+1]=r[2*s+1],r[2*s+1]=t;return this});D(_.prototype,"set",function(r){var t,n,i,a,s,o,f,u,l;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!ae(n))throw new TypeError(E("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(or(r)){if(n>=this._length)throw new RangeError(E("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));n*=2,i[n]=lr(r),i[n+1]=cr(r);return}if(U(r)){if(o=r._length,n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r._buffer,l=i.byteOffset+n*tr,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new ar(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(an(r)){for(o=r.length,u=0;u<o;u++)if(!or(r[u])){s=!0;break}if(s){if(!Oe(o))throw new RangeError(E("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",o));if(n+o/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r,l=i.byteOffset+n*tr,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new ar(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(n*=2,u=0;u<o;u++)f=r[u],i[n]=lr(f),i[n+1]=cr(f),n+=2;return}throw new TypeError(E("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",r))});D(_.prototype,"slice",function(r,t){var n,i,a,s,o,f,u;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,f=this._length,arguments.length===0)r=0,t=f;else{if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=f,r<0&&(r=0)),arguments.length===1)t=f;else{if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=f,t<0&&(t=0)):t>f&&(t=f)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,u=0;u<n;u++)s=2*(u+r),i[2*u]=o[s],i[2*u+1]=o[s+1];return a});D(_.prototype,"some",function(r,t){var n,i;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,L(n,i),i,this))return!0;return!1});D(_.prototype,"sort",function(r){var t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(L(n,a));for(t.sort(r),a=0;a<i;a++)s=2*a,n[s]=lr(t[a]),n[s+1]=cr(t[a]);return this});D(_.prototype,"subarray",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*tr):(a=t-r,n=i.byteOffset+r*tr),new this.constructor(i.buffer,n,a<0?0:a)});D(_.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=[];else if(kp(r)||TE(r))i=r;else throw new TypeError(E("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(on(t))n=t;else throw new TypeError(E("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(L(s,o).toLocaleString(i,n));return a.join(",")});D(_.prototype,"toReversed",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)s=n-a-1,r[2*a]=i[2*s],r[2*a+1]=i[2*s+1];return t});D(_.prototype,"toSorted",function(r){var t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(L(n,a));return t.sort(r),new _(t)});D(_.prototype,"toString",function(){var r,t,n;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)r.push(L(t,n).toString());return r.join(",")});D(_.prototype,"values",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},D(r,"next",o),D(r,"return",f),mr&&D(r,mr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:L(a,s),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});D(_.prototype,"with",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(E("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!or(t))throw new TypeError(E("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,n[2*r]=lr(t),n[2*r+1]=cr(t),i});Wp.exports=_});var Hp=c((D6,Jp)=>{"use strict";var FE=Zp();Jp.exports=FE});var Qp=c((N6,Xp)=>{"use strict";var RE=jr();function CE(e){var r,t;for(r=[];t=e.next(),!t.done;)r.push(RE(t.value));return r}Xp.exports=CE});var ry=c((B6,Kp)=>{"use strict";var jE=jr();function LE(e,r,t){var n,i,a;for(n=[],a=-1;i=e.next(),!i.done;)a+=1,n.push(jE(r.call(t,i.value,a)));return n}Kp.exports=LE});var ty=c((O6,ey)=>{"use strict";var ME=jr();function kE(e,r){var t,n;for(t=r.length,n=0;n<t;n++)e[n]=ME(r[n]);return e}ey.exports=kE});var fy=c((V6,uy)=>{"use strict";var oe=xe().isPrimitive,sn=Jr(),ny=Ee(),un=Se(),Y=_e(),se=Gt().isPrimitive,pr=Ae().isPrimitive,iy=Hr().isPrimitive,PE=Te().primitives,$E=Kr(),hr=Ie(),N=W(),Ue=De(),dr=Et(),R=jr(),GE=Pr(),YE=Zr(),WE=Rr(),B=Z(),ay=Qp(),ZE=ry(),JE=ty(),Ur=dr.BYTES_PER_ELEMENT,oy=$E();function z(e){return typeof e=="object"&&e!==null&&e.constructor.name==="BooleanArray"&&e.BYTES_PER_ELEMENT===Ur}function sy(e){return e===q}function q(){var e,r,t,n,i;if(r=arguments.length,!(this instanceof q))return r===0?new q:r===1?new q(arguments[0]):r===2?new q(arguments[0],arguments[1]):new q(arguments[0],arguments[1],arguments[2]);if(r===0)t=new dr(0);else if(r===1)if(i=arguments[0],oe(i))t=new dr(i);else if(sn(i))t=JE(new dr(i.length),i);else if(ny(i))t=new dr(i);else if(un(i)){if(oy===!1)throw new TypeError(B("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",i));if(!Y(i[hr]))throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));if(t=i[hr](),!Y(t.next))throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));t=new dr(ay(t))}else throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));else{if(t=arguments[0],!ny(t))throw new TypeError(B("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!oe(e))throw new TypeError(B("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(r===2)t=new dr(t,e);else{if(n=arguments[2],!oe(n))throw new TypeError(B("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*Ur>t.byteLength-e)throw new RangeError(B("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*Ur));t=new dr(t,e,n)}}return N(this,"_buffer",t),N(this,"_length",t.length),this}N(q,"BYTES_PER_ELEMENT",Ur);N(q,"name","BooleanArray");N(q,"from",function(r){var t,n,i,a,s,o,f,u,l;if(!Y(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!sy(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(n=arguments.length,n>1){if(i=arguments[1],!Y(i))throw new TypeError(B("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(sn(r)){if(i){for(u=r.length,r.get&&r.set?f=WE("default"):f=GE("default"),a=new this(u),s=a._buffer,l=0;l<u;l++)s[l]=R(i.call(t,f(r,l),l));return a}return new this(r)}if(un(r)&&oy&&Y(r[hr])){if(s=r[hr](),!Y(s.next))throw new TypeError(B("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));for(i?o=ZE(s,i,t):o=ay(s),u=o.length,a=new this(u),s=a._buffer,l=0;l<u;l++)s[l]=o[l];return a}throw new TypeError(B("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});N(q,"of",function(){var r,t;if(!Y(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!sy(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});N(q.prototype,"at",function(r){var t,n;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!pr(r))throw new TypeError(B("invalid argument. Must provide an integer. Value: `%s`.",r));if(n=this._length,t=this._buffer,r<0&&(r+=n),!(r<0||r>=n))return R(t[r])});Ue(q.prototype,"buffer",function(){return this._buffer.buffer});Ue(q.prototype,"byteLength",function(){return this._buffer.byteLength});Ue(q.prototype,"byteOffset",function(){return this._buffer.byteOffset});N(q.prototype,"BYTES_PER_ELEMENT",q.BYTES_PER_ELEMENT);N(q.prototype,"copyWithin",function(r,t){if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return arguments.length===2?this._buffer.copyWithin(r,t):this._buffer.copyWithin(r,t,arguments[2]),this});N(q.prototype,"entries",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return r=this,i=this._buffer,n=this._length,s=-1,t={},N(t,"next",o),N(t,"return",f),hr&&N(t,hr,u),t;function o(){return s+=1,a||s>=n?{done:!0}:{value:[s,R(i[s])],done:!1}}function f(l){return a=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return r.entries()}});N(q.prototype,"every",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,R(n[i]),i,this))return!1;return!0});N(q.prototype,"fill",function(r,t,n){var i,a,s,o;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!pr(n))throw new TypeError(B("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(r?s=1:s=0,o=t;o<n;o++)i[o]=s;return this});N(q.prototype,"filter",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=R(n[a]),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});N(q.prototype,"find",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=0;a<this._length;a++)if(i=R(n[a]),r.call(t,i,a,this))return i});N(q.prototype,"findIndex",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=0;a<this._length;a++)if(i=R(n[a]),r.call(t,i,a,this))return a;return-1});N(q.prototype,"findLast",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=this._length-1;a>=0;a--)if(i=R(n[a]),r.call(t,i,a,this))return i});N(q.prototype,"findLastIndex",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=this._length-1;a>=0;a--)if(i=R(n[a]),r.call(t,i,a,this))return a;return-1});N(q.prototype,"forEach",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)r.call(t,R(n[i]),i,this)});N(q.prototype,"get",function(r){if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!oe(r))throw new TypeError(B("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return R(this._buffer[r])});N(q.prototype,"includes",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(n=this._buffer,i=t;i<this._length;i++)if(r===R(n[i]))return!0;return!1});N(q.prototype,"indexOf",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(n=this._buffer,i=t;i<this._length;i++)if(r===R(n[i]))return i;return-1});N(q.prototype,"join",function(r){var t,n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length>0){if(!iy(r))throw new TypeError(B("invalid argument. First argument must be a string. Value: `%s`.",r))}else r=",";for(t=this._buffer,n=[],i=0;i<this._length;i++)t[i]?n.push("true"):n.push("false");return n.join(r)});N(q.prototype,"keys",function(){var r,t,n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return r=this,n=this._length,a=-1,t={},N(t,"next",s),N(t,"return",o),hr&&N(t,hr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});N(q.prototype,"lastIndexOf",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(n=this._buffer,i=t;i>=0;i--)if(r===R(n[i]))return i;return-1});Ue(q.prototype,"length",function(){return this._length});N(q.prototype,"map",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError("invalid argument. First argument must be a function. Value: `%s`.",r);for(a=this._buffer,i=new this.constructor(this._length),n=i._buffer,s=0;s<this._length;s++)n[s]=R(r.call(t,R(a[s]),s,this));return i});N(q.prototype,"reduce",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,i=this._length,arguments.length>1)a=t,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");a=R(n[0]),s=1}for(;s<i;s++)a=r(a,R(n[s]),s,this);return a});N(q.prototype,"reduceRight",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,i=this._length,arguments.length>1)a=t,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");a=R(n[i-1]),s=i-2}for(;s>=0;s--)a=r(a,R(n[s]),s,this);return a});N(q.prototype,"reverse",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=this._buffer,n=this._length,i=YE(n/2),a=0;a<i;a++)s=n-a-1,t=r[a],r[a]=r[s],r[s]=t;return this});N(q.prototype,"set",function(r){var t,n,i,a,s,o,f;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!oe(n))throw new TypeError(B("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(sn(r)){if(s=r.length,n+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(z(r)?t=r._buffer:t=r,f=i.byteOffset+n*Ur,t.buffer===i.buffer&&t.byteOffset<f&&t.byteOffset+t.byteLength>f){for(a=new dr(t.length),o=0;o<t.length;o++)a[o]=t[o];t=a}for(o=0;o<s;n++,o++)i[n]=t[o]?1:0;return}if(n>=this._length)throw new RangeError(B("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));i[n]=r?1:0});N(q.prototype,"slice",function(r,t){var n,i,a,s,o,f;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(s=this._buffer,o=this._length,arguments.length===0)r=0,t=o;else{if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=o,r<0&&(r=0)),arguments.length===1)t=o;else{if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,f=0;f<n;f++)i[f]=s[f+r];return a});N(q.prototype,"some",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,R(n[i]),i,this))return!0;return!1});N(q.prototype,"sort",function(r){var t;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(t=this._buffer,arguments.length===0)return t.sort(),this;if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));return t.sort(n),this;function n(i,a){return r(R(i),R(a))}});N(q.prototype,"subarray",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*Ur):(a=t-r,n=i.byteOffset+r*Ur),new this.constructor(i.buffer,n,a<0?0:a)});N(q.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)i=[];else if(iy(r)||PE(r))i=r;else throw new TypeError(B("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(un(t))n=t;else throw new TypeError(B("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(R(s[o]).toLocaleString(i,n));return a.join(",")});N(q.prototype,"toReversed",function(){var r,t,n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)r[a]=i[n-a-1];return t});N(q.prototype,"toSorted",function(r){var t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(i=this._length,n=new this.constructor(i),a=this._buffer,t=n._buffer,s=0;s<i;s++)t[s]=a[s];if(arguments.length===0)return t.sort(),n;if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));return t.sort(o),n;function o(f,u){return r(R(f),R(u))}});N(q.prototype,"toString",function(){var r,t,n;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)t[n]?r.push("true"):r.push("false");return r.join(",")});N(q.prototype,"values",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},N(r,"next",o),N(r,"return",f),hr&&N(r,hr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:R(a[s]),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});N(q.prototype,"with",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(B("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!se(t))throw new TypeError(B("invalid argument. Second argument must be a boolean. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,t?n[r]=1:n[r]=0,i});uy.exports=q});var cy=c((U6,ly)=>{"use strict";var HE=fy();ly.exports=HE});var yy=c((z6,py)=>{"use strict";var XE=de(),QE=Yr(),KE=Xo(),rS=bs(),eS=Rs(),tS=iu(),nS=Et(),iS=ju(),aS=sf(),oS=Ip(),sS=Hp(),uS=cy(),fS=[XE,QE,rS,KE,tS,eS,aS,nS,iS,oS,sS,uS];py.exports=fS});var hy=c((F6,my)=>{"use strict";var lS=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];my.exports=lS});var by=c((R6,vy)=>{"use strict";var cS=lt(),pS=Cr(),yS=be(),mS=Qa(),hS=yy(),gy=hy(),gS=gy.length;function vS(e){var r;if(pS(e))return"generic";if(cS(e))return null;for(r=0;r<gS;r++)if(e instanceof hS[r])return gy[r];return mS[yS(e)]||null}vy.exports=vS});var fn=c((C6,dy)=>{"use strict";var bS=by();dy.exports=bS});var Ay=c((j6,wy)=>{"use strict";var dS=et(),wS=Rr(),AS=Pr(),xS=fn();function ES(e,r){var t,n,i,a;for(i=xS(e),dS(e)?n=wS(i):n=AS(i),t=e.length,a=0;a<t;a++)if(n(e,a)===r)return!0;return!1}wy.exports=ES});var Ey=c((L6,xy)=>{"use strict";var SS=Jr(),TS=et(),_S=Rr(),qS=fn(),IS=Z();function DS(e){var r,t,n;if(!SS(e))throw new TypeError(IS("invalid argument. Must provide an array-like object. Value: `%s`.",e));return n=qS(e),TS(e)&&(r=_S(n)),t=e.length,r===void 0?i:a;function i(s){var o;for(o=0;o<t;o++)if(e[o]===s)return!0;return!1}function a(s){var o;for(o=0;o<t;o++)if(r(e,o)===s)return!0;return!1}}xy.exports=DS});var ln=c((M6,Ty)=>{"use strict";var NS=W(),Sy=Ay(),BS=Ey();NS(Sy,"factory",BS);Ty.exports=Sy});var _y=c((k6,OS)=>{OS.exports=["row-major","column-major"]});var Iy=c((P6,qy)=>{"use strict";var VS=_y();function US(){return VS.slice()}qy.exports=US});var Ny=c(($6,Dy)=>{"use strict";function zS(){return{"row-major":101,"column-major":102}}Dy.exports=zS});var Vy=c((G6,Oy)=>{"use strict";var FS=W(),By=Iy(),RS=Ny();FS(By,"enum",RS);Oy.exports=By});var zy=c((Y6,Uy)=>{"use strict";var CS=ln().factory,jS=Vy(),LS=CS(jS());Uy.exports=LS});var Ry=c((W6,Fy)=>{"use strict";var MS=zy();Fy.exports=MS});var Cy=c((Z6,kS)=>{kS.exports=["no-transpose","transpose","conjugate-transpose"]});var Ly=c((J6,jy)=>{"use strict";var PS=Cy();function $S(){return PS.slice()}jy.exports=$S});var ky=c((H6,My)=>{"use strict";function GS(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}My.exports=GS});var Gy=c((X6,$y)=>{"use strict";var YS=W(),Py=Ly(),WS=ky();YS(Py,"enum",WS);$y.exports=Py});var Wy=c((Q6,Yy)=>{"use strict";var ZS=ln().factory,JS=Gy(),HS=ZS(JS());Yy.exports=HS});var cn=c((K6,Zy)=>{"use strict";var XS=Wy();Zy.exports=XS});var Hy=c((r2,Jy)=>{"use strict";function QS(e){return Math.abs(e)}Jy.exports=QS});var Qy=c((e2,Xy)=>{"use strict";var KS=Hy();Xy.exports=KS});var em=c((t2,rm)=>{"use strict";var Ky=Qy();function rT(e){var r,t,n,i;if(r=e.length,r===0)return!1;for(t=Ky(e[0]),i=1;i<r;i++){if(n=Ky(e[i]),n>t)return!1;t=n}return!0}rm.exports=rT});var nm=c((n2,tm)=>{"use strict";var eT=em();tm.exports=eT});var am=c((i2,im)=>{"use strict";function tT(e,r){return r>0?0:(1-e)*r}im.exports=tT});var sm=c((a2,om)=>{"use strict";var nT=am();om.exports=nT});var pn=c((o2,um)=>{"use strict";var ue=5;function iT(e,r,t,n,i,a,s){var o,f,u,l,p;if(o=0,e<=0)return o;if(f=n,u=s,t===1&&a===1){if(l=e%ue,l>0)for(p=0;p<l;p++)o+=r[f]*i[u],f+=1,u+=1;if(e<ue)return o;for(p=l;p<e;p+=ue)o+=r[f]*i[u]+r[f+1]*i[u+1]+r[f+2]*i[u+2]+r[f+3]*i[u+3]+r[f+4]*i[u+4],f+=ue,u+=ue;return o}for(p=0;p<e;p++)o+=r[f]*i[u],f+=t,u+=a;return o}um.exports=iT});var cm=c((s2,lm)=>{"use strict";var fm=sm(),aT=pn();function oT(e,r,t,n,i){var a,s;return e<=0?0:(a=fm(e,t),s=fm(e,i),aT(e,r,t,a,n,i,s))}lm.exports=oT});var mm=c((u2,ym)=>{"use strict";var sT=W(),pm=cm(),uT=pn();sT(pm,"ndarray",uT);ym.exports=pm});var hm=c((f2,fT)=>{fT.exports={binary:1,bool:1,complex64:8,complex128:16,float16:2,bfloat16:2,float32:4,float64:8,float128:16,generic:null,int8:1,int16:2,int32:4,int64:8,int128:16,int256:32,uint8:1,uint8c:1,uint16:2,uint32:4,uint64:8,uint128:16,uint256:32}});var vm=c((l2,gm)=>{"use strict";var lT=hm();function cT(e){return lT[e]||null}gm.exports=cT});var dm=c((c2,bm)=>{"use strict";var pT=vm();bm.exports=pT});var Am=c((p2,wm)=>{"use strict";var yT={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};wm.exports=yT});var Sm=c((y2,Em)=>{"use strict";var xm=dm(),yn=Am();function mT(e,r){var t,n;return t=xm(e),n=xm(r),t===null||n===null?yn.BLOCK_SIZE_IN_ELEMENTS:t>n?yn.BLOCK_SIZE_IN_BYTES/t|0:yn.BLOCK_SIZE_IN_BYTES/n|0}Em.exports=mT});var _m=c((m2,Tm)=>{"use strict";var hT=Sm();Tm.exports=hT});var mn=c((h2,Im)=>{"use strict";var Fe=nm(),qm=mm().ndarray,gT=_m(),wr=gT("float64");function Ir(e){return e!=="no-transpose"}function vT(e,r,t,n,i,a){var s,o,f,u,l,p,y;for(Fe([n,i])?(f=r,u=e,s=i,o=n-f*i):(f=e,u=r,s=n,o=i-f*n),y=a,p=0;p<u;p++){for(l=0;l<f;l++)t[y]=0,y+=s;y+=o}return t}function bT(e,r,t,n,i,a,s){var o,f,u,l,p,y,m;for(Fe([i,a])?(u=r,l=e,o=a,f=i-u*a):(u=e,l=r,o=i,f=a-u*i),m=s,y=0;y<l;y++){for(p=0;p<u;p++)n[m]*=t,m+=o;m+=f}return n}function ze(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g){var v,w,A,S,O,C,F,M,gr,Lr,vr;for(O=r,C=e,v=s,w=u,A=h,S=m-O*h,vr=g,M=0;M<C;M++){for(gr=o+M*a,F=0;F<O;F++)Lr=p+F*l,y[vr]+=n*qm(t,i,v,gr,f,w,Lr),vr+=A;vr+=S}return y}function dT(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g){var v,w,A,S,O,C,F,M,gr,Lr,vr,Re,Ce,ce,pe,Er,Sr,wn,An,ye,xn,En,Tr;for(gr=r,Lr=e,v=s,w=u,A=h,Sr=Lr;Sr>0;)for(Sr<wr?(Re=Sr,Sr=0):(Re=wr,Sr-=wr),O=o+Sr*a,M=g+Sr*m,Er=gr;Er>0;)for(Er<wr?(vr=Er,Er=0):(vr=wr,Er-=wr),C=p+Er*l,F=M+Er*h,S=m-vr*h,Tr=t;Tr>0;)for(Tr<wr?(Ce=Tr,Tr=0):(Ce=wr,Tr-=wr),xn=O+Tr*s,En=C+Tr*u,ye=F,pe=0;pe<Re;pe++){for(wn=xn+pe*a,ce=0;ce<vr;ce++)An=En+ce*l,y[ye]+=n*qm(Ce,i,v,wn,f,w,An),ye+=A;ye+=S}return y}function wT(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A){var S,O,C,F,M,gr;if(t===0||n===0||h===1&&(a===0||i===0)||(h===0?g=vT(t,n,g,v,w,A):h!==1&&(g=bT(t,n,h,g,v,w,A)),a===0))return g;if(S=Fe([o,f]),O=Fe([p,y]),S){if(!Ir(e)){if(!O&&!Ir(r))return ze(t,n,i,a,s,o,f,u,l,p,y,m,g,v,w,A);if(O&&Ir(r))return ze(t,n,i,a,s,o,f,u,l,y,p,m,g,v,w,A)}}else if(Ir(e)){if(O&&Ir(r))return ze(t,n,i,a,s,f,o,u,l,y,p,m,g,v,w,A);if(!O&&!Ir(r))return ze(t,n,i,a,s,f,o,u,l,p,y,m,g,v,w,A)}return Ir(e)?(C=f,F=o):(C=o,F=f),Ir(r)?(M=y,gr=p):(M=p,gr=y),dT(t,n,i,a,s,C,F,u,l,M,gr,m,g,v,w,A)}Im.exports=wT});var Bm=c((g2,Nm)=>{"use strict";var hn=Zi(),AT=Ry(),Dm=cn(),Ar=Z(),xT=mn();function ET(e,r,t,n,i,a,s,o,f,u,l,p,y,m){var h,g,v,w,A,S,O,C,F;if(!AT(e))throw new TypeError(Ar("invalid argument. First argument must be a valid order. Value: `%s`.",e));if(!Dm(r))throw new TypeError(Ar("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(!Dm(t))throw new TypeError(Ar("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",t));if(n<0)throw new RangeError(Ar("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",n));if(i<0)throw new RangeError(Ar("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",n));if(a<0)throw new RangeError(Ar("invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.",a));if(e==="row-major"&&r==="no-transpose"||e==="column-major"&&r==="transpose"?h=a:h=n,e==="row-major"&&t==="no-transpose"||e==="column-major"&&t==="transpose"?g=i:g=a,f<hn(1,h))throw new RangeError(Ar("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",h,f));if(l<hn(1,g))throw new RangeError(Ar("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",g,l));if(e==="row-major"?v=i:v=n,m<hn(1,v))throw new RangeError(Ar("invalid argument. Fourteenth argument must be greater than or equal to max(1,%d). Value: `%d`.",v,m));return e==="column-major"?(w=1,A=f,S=1,O=l,C=1,F=m):(w=f,A=1,S=l,O=1,C=m,F=1),xT(r,t,n,i,a,s,o,w,A,0,u,S,O,0,p,y,C,F,0)}Nm.exports=ET});var Um=c((v2,Vm)=>{"use strict";var Om=cn(),fe=Z(),ST=mn();function TT(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A){if(!Om(e))throw new TypeError(fe("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",e));if(!Om(r))throw new TypeError(fe("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(t<0)throw new RangeError(fe("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",t));if(n<0)throw new RangeError(fe("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(fe("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",i));return ST(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A)}Vm.exports=TT});var Rm=c((b2,Fm)=>{"use strict";var _T=W(),zm=Bm(),qT=Um();_T(zm,"ndarray",qT);Fm.exports=zm});var UT={};mh(UT,{NDArray:()=>rr,__version__:()=>VT,absolute:()=>th,arange:()=>Pm,array:()=>xr,asarray:()=>Zm,copy:()=>Jm,empty:()=>bn,empty_like:()=>Qm,eye:()=>vn,floor_divide:()=>oh,full:()=>dn,full_like:()=>Km,geomspace:()=>Ym,identity:()=>Wm,linspace:()=>$m,logspace:()=>Gm,mod:()=>ah,negative:()=>nh,ones:()=>gn,ones_like:()=>Xm,positive:()=>sh,power:()=>eh,reciprocal:()=>uh,sign:()=>ih,sqrt:()=>rh,zeros:()=>le,zeros_like:()=>Hm});function Tn(e){if(!e.includes(":")){if(e.includes("."))throw new Error(`Invalid slice index: "${e}" (must be integer)`);let a=parseInt(e,10);if(isNaN(a))throw new Error(`Invalid slice index: "${e}"`);return{start:a,stop:null,step:1,isIndex:!0}}let r=e.split(":");if(r.length>3)throw new Error(`Invalid slice notation: "${e}" (too many colons)`);let t=r[0]===""?null:parseInt(r[0],10),n=r[1]===""||r[1]===void 0?null:parseInt(r[1],10),i=r[2]===""||r[2]===void 0?1:parseInt(r[2],10);if(t!==null&&isNaN(t))throw new Error(`Invalid start index in slice: "${e}"`);if(n!==null&&isNaN(n))throw new Error(`Invalid stop index in slice: "${e}"`);if(isNaN(i))throw new Error(`Invalid step in slice: "${e}"`);if(i===0)throw new Error("Slice step cannot be zero");return{start:t,stop:n,step:i,isIndex:!1}}function _n(e,r){let{start:t,stop:n}=e,{step:i,isIndex:a}=e;if(a){if(t===null)throw new Error("Index cannot be null");let s=t<0?r+t:t;if(s<0||s>=r)throw new Error(`Index ${t} is out of bounds for size ${r}`);return{start:s,stop:s+1,step:1,isIndex:!0}}return i>0?(t===null&&(t=0),n===null&&(n=r)):(t===null&&(t=r-1),n===null&&(n=-r-1)),t<0&&(t=r+t),n<0&&(n=r+n),t=Math.max(0,Math.min(t,r)),n=Math.max(-1,Math.min(n,r)),{start:t,stop:n,step:i,isIndex:!1}}var H="float64";function X(e){switch(e){case"float64":return Float64Array;case"float32":return Float32Array;case"int64":return BigInt64Array;case"int32":return Int32Array;case"int16":return Int16Array;case"int8":return Int8Array;case"uint64":return BigUint64Array;case"uint32":return Uint32Array;case"uint16":return Uint16Array;case"uint8":return Uint8Array;case"bool":return Uint8Array;default:throw new Error(`Unknown dtype: ${e}`)}}function qn(e){return e==="float64"||e==="float32"}function d(e){return e==="int64"||e==="uint64"}function _r(e,r){if(e===r)return e;if(e==="bool")return r;if(r==="bool")return e;if(qn(e)||qn(r)){if(e==="float64"||r==="float64")return"float64";if(e==="float32"){let u=r;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}if(r==="float32"){let u=e;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}return"float32"}let t=e.startsWith("int"),n=r.startsWith("int"),i=e.startsWith("uint"),a=r.startsWith("uint"),s=u=>u.includes("64")?64:u.includes("32")?32:u.includes("16")?16:u.includes("8")?8:0,o=s(e),f=s(r);if(e==="int64"&&r==="uint64"||e==="uint64"&&r==="int64")return"float64";if(t&&a&&o===f){if(o===8)return"int16";if(o===16)return"int32";if(o===32)return"int64"}if(i&&n&&o===f){if(f===8)return"int16";if(f===16)return"int32";if(f===32)return"int64"}if(t&&n||i&&a){let u=Math.max(o,f);return t?u===64?"int64":u===32?"int32":u===16?"int16":"int8":u===64?"uint64":u===32?"uint32":u===16?"uint16":"uint8"}return t&&a?o>f?e:f===8?"int16":f===16?"int32":f===32?"int64":"float64":i&&n?f>o?r:o===8?"int16":o===16?"int32":o===32?"int64":"float64":"float64"}var b=class e{constructor(r,t,n,i,a){this._data=r,this._shape=t,this._strides=n,this._offset=i,this._dtype=a}get shape(){return this._shape}get ndim(){return this._shape.length}get size(){return this._shape.reduce((r,t)=>r*t,1)}get dtype(){return this._dtype}get data(){return this._data}get strides(){return this._strides}get offset(){return this._offset}get isCContiguous(){let r=this._shape,t=this._strides,n=r.length;if(n===0)return!0;if(n===1)return t[0]===1;let i=1;for(let a=n-1;a>=0;a--){if(t[a]!==i)return!1;i*=r[a]}return!0}get isFContiguous(){let r=this._shape,t=this._strides,n=r.length;if(n===0)return!0;if(n===1)return t[0]===1;let i=1;for(let a=0;a<n;a++){if(t[a]!==i)return!1;i*=r[a]}return!0}iget(r){let t=this._shape,n=this._strides,i=t.length;if(i===0)return this._data[this._offset];let a=r,s=this._offset;for(let o=0;o<i;o++){let f=1;for(let l=o+1;l<i;l++)f*=t[l];let u=Math.floor(a/f);a=a%f,s+=u*n[o]}return this._data[s]}iset(r,t){let n=this._shape,i=this._strides,a=n.length;if(a===0){this._data[this._offset]=t;return}let s=r,o=this._offset;for(let f=0;f<a;f++){let u=1;for(let p=f+1;p<a;p++)u*=n[p];let l=Math.floor(s/u);s=s%u,o+=l*i[f]}this._data[o]=t}get(...r){let t=this._strides,n=this._offset;for(let i=0;i<r.length;i++)n+=r[i]*t[i];return this._data[n]}set(r,t){let n=this._strides,i=this._offset;for(let a=0;a<r.length;a++)i+=r[a]*n[a];this._data[i]=t}copy(){let r=Array.from(this._shape),t=this._dtype,n=this.size,i=X(t);if(!i)throw new Error(`Cannot copy array with dtype ${t}`);let a=new i(n);if(this.isCContiguous&&this._offset===0)if(d(t)){let s=this._data,o=a;for(let f=0;f<n;f++)o[f]=s[f]}else a.set(this._data);else if(d(t)){let s=a;for(let o=0;o<n;o++)s[o]=this.iget(o)}else for(let s=0;s<n;s++)a[s]=this.iget(s);return new e(a,r,e._computeStrides(r),0,t)}static fromData(r,t,n,i,a){let s=i??e._computeStrides(t),o=a??0;return new e(r,t,s,o,n)}static zeros(r,t=H){let n=r.reduce((s,o)=>s*o,1),i=X(t);if(!i)throw new Error(`Cannot create array with dtype ${t}`);let a=new i(n);return new e(a,r,e._computeStrides(r),0,t)}static ones(r,t=H){let n=r.reduce((s,o)=>s*o,1),i=X(t);if(!i)throw new Error(`Cannot create array with dtype ${t}`);let a=new i(n);return d(t)?a.fill(BigInt(1)):a.fill(1),new e(a,r,e._computeStrides(r),0,t)}static _computeStrides(r){let t=new Array(r.length),n=1;for(let i=r.length-1;i>=0;i--)t[i]=n,n*=r[i];return t}};function je(e){let r=new Array(e.length),t=1;for(let n=e.length-1;n>=0;n--)r[n]=t,t*=e[n];return r}function In(e,r){let t=e.length,n=r.length,i=Math.max(t,n),a=new Array(i);for(let s=0;s<i;s++){let o=s<i-t?1:e[s-(i-t)],f=s<i-n?1:r[s-(i-n)];if(o===f)a[s]=o;else if(o===1)a[s]=f;else if(f===1)a[s]=o;else throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(Array.from(e))} ${JSON.stringify(Array.from(r))}`)}return a}function vh(e,r,t){let n=e.length,i=t.length,a=new Array(i).fill(0);for(let s=0;s<n;s++){let o=i-n+s,f=e[s],u=t[o];if(f===u)a[o]=r[s];else if(f===1)a[o]=0;else throw new Error("Invalid broadcast")}return a}function he(e,r){let t=vh(e.shape,e.strides,r);return b.fromData(e.data,Array.from(r),e.dtype,t,e.offset)}function sr(e,r,t,n){let i=In(e.shape,r.shape),a=he(e,i),s=he(r,i),o=_r(e.dtype,r.dtype),f=b.zeros(i,o),u=f.data,l=f.size;if(d(o)){let p=u;for(let y=0;y<l;y++){let m=a.iget(y),h=s.iget(y),g=typeof m=="bigint"?m:BigInt(Math.round(m)),v=typeof h=="bigint"?h:BigInt(Math.round(h));n==="add"?p[y]=g+v:n==="subtract"?p[y]=g-v:n==="multiply"?p[y]=g*v:n==="divide"?p[y]=g/v:p[y]=BigInt(Math.round(t(Number(g),Number(v))))}}else{let p=d(e.dtype)||d(r.dtype);for(let y=0;y<l;y++){let m=a.iget(y),h=s.iget(y),g=Number(m),v=Number(h);u[y]=t(g,v)}}return f}function qr(e,r,t){let n=In(e.shape,r.shape),i=he(e,n),a=he(r,n),s=n.reduce((u,l)=>u*l,1),o=new Uint8Array(s),f=d(e.dtype)||d(r.dtype);for(let u=0;u<s;u++){let l=i.iget(u),p=a.iget(u),y=Number(l),m=Number(p);o[u]=t(y,m)?1:0}return b.fromData(o,n,"bool")}function Dn(e,r,t=!0){let n=e.dtype,i=Array.from(e.shape),a=e.size,o=t?n:n!=="float32"&&n!=="float64"?"float64":n,f=b.zeros(i,o),u=f.data,l=e.data;if(d(n))if(d(o)){let p=u;for(let y=0;y<a;y++){let m=Number(l[y]);p[y]=BigInt(Math.round(r(m)))}}else for(let p=0;p<a;p++)u[p]=r(Number(l[p]));else for(let p=0;p<a;p++)u[p]=r(Number(l[p]));return f}function Le(e,r){return e.isCContiguous&&r.isCContiguous&&e.shape.length===r.shape.length&&e.shape.every((t,n)=>t===r.shape[n])}function Nn(e,r){return typeof r=="number"?Ah(e,r):Le(e,r)?bh(e,r):sr(e,r,(t,n)=>t+n,"add")}function bh(e,r){let t=_r(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p+y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]+p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l+p}else for(let u=0;u<i;u++)o[u]=a[u]+s[u];return n}function Bn(e,r){return typeof r=="number"?xh(e,r):Le(e,r)?dh(e,r):sr(e,r,(t,n)=>t-n,"subtract")}function dh(e,r){let t=_r(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p-y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]-p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l-p}else for(let u=0;u<i;u++)o[u]=a[u]-s[u];return n}function On(e,r){return typeof r=="number"?Eh(e,r):Le(e,r)?wh(e,r):sr(e,r,(t,n)=>t*n,"multiply")}function wh(e,r){let t=_r(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p*y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]*p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l*p}else for(let u=0;u<i;u++)o[u]=a[u]*s[u];return n}function Vn(e,r){if(typeof r=="number")return Sh(e,r);let t=e.dtype==="float64",n=r.dtype==="float64",i=e.dtype==="float32",a=r.dtype==="float32";if(t||n){let f=t?e:zr(e,"float64"),u=n?r:zr(r,"float64");return sr(f,u,(l,p)=>l/p,"divide")}if(i||a){let f=i?e:zr(e,"float32"),u=a?r:zr(r,"float32");return sr(f,u,(l,p)=>l/p,"divide")}let s=zr(e,"float64"),o=zr(r,"float64");return sr(s,o,(f,u)=>f/u,"divide")}function zr(e,r){let t=b.zeros(Array.from(e.shape),r),n=e.size,i=e.data,a=t.data;for(let s=0;s<n;s++)a[s]=Number(i[s]);return t}function Ah(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]+l}else for(let f=0;f<a;f++)o[f]=Number(i[f])+r;return s}function xh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]-l}else for(let f=0;f<a;f++)o[f]=Number(i[f])-r;return s}function Eh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]*l}else for(let f=0;f<a;f++)o[f]=Number(i[f])*r;return s}function Sh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,o=t!=="float32"&&t!=="float64"?"float64":t,f=b.zeros(n,o),u=f.data;if(d(t))for(let l=0;l<a;l++)u[l]=Number(i[l])/r;else for(let l=0;l<a;l++)u[l]=Number(i[l])/r;return f}function Un(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++){let l=o[u];f[u]=l<0n?-l:l}}else for(let o=0;o<i;o++)s[o]=Math.abs(Number(n[o]));return a}function zn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++)f[u]=-o[u]}else for(let o=0;o<i;o++)s[o]=-Number(n[o]);return a}function Fn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++){let l=o[u];f[u]=l>0n?1n:l<0n?-1n:0n}}else for(let o=0;o<i;o++){let f=Number(n[o]);s[o]=f>0?1:f<0?-1:0}return a}function Rn(e,r){return typeof r=="number"?Th(e,r):sr(e,r,(t,n)=>(t%n+n)%n,"mod")}function Th(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++){let y=f[p];u[p]=(y%l+l)%l}}else for(let f=0;f<a;f++){let u=Number(i[f]);o[f]=(u%r+r)%r}return s}function Cn(e,r){return typeof r=="number"?_h(e,r):sr(e,r,(t,n)=>Math.floor(t/n),"floor_divide")}function _h(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]/l}else for(let f=0;f<a;f++)o[f]=Math.floor(Number(i[f])/r);return s}function jn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;for(let o=0;o<i;o++)s[o]=n[o];return a}function Ln(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,s=r!=="float32"&&r!=="float64"?"float64":r,o=b.zeros(t,s),f=o.data;if(d(r))for(let u=0;u<i;u++)f[u]=1/Number(n[u]);else for(let u=0;u<i;u++)f[u]=1/Number(n[u]);return o}function Mn(e,r){return typeof r=="number"?Ih(e,r):qr(e,r,(t,n)=>t>n)}function kn(e,r){return typeof r=="number"?Dh(e,r):qr(e,r,(t,n)=>t>=n)}function Pn(e,r){return typeof r=="number"?Nh(e,r):qr(e,r,(t,n)=>t<n)}function $n(e,r){return typeof r=="number"?Bh(e,r):qr(e,r,(t,n)=>t<=n)}function Gn(e,r){return typeof r=="number"?Oh(e,r):qr(e,r,(t,n)=>t===n)}function Yn(e,r){return typeof r=="number"?Vh(e,r):qr(e,r,(t,n)=>t!==n)}function Me(e,r,t=1e-5,n=1e-8){return typeof r=="number"?Uh(e,r,t,n):qr(e,r,(i,a)=>{let s=Math.abs(i-a),o=n+t*Math.abs(a);return s<=o})}function Wn(e,r,t=1e-5,n=1e-8){let i=Me(e,r,t,n),a=i.data;for(let s=0;s<i.size;s++)if(a[s]===0)return!1;return!0}function Ih(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]>r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Dh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]>=r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Nh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]<r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Bh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]<=r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Oh(e,r){let t=new Uint8Array(e.size),n=e.data,i=e.dtype;if(d(i)){let a=BigInt(Math.round(r)),s=n;for(let o=0;o<e.size;o++)t[o]=s[o]===a?1:0}else for(let a=0;a<e.size;a++)t[a]=n[a]===r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Vh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]!==r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function Uh(e,r,t,n){let i=new Uint8Array(e.size),a=e.data,s=e.dtype;if(d(s)){let o=a;for(let f=0;f<e.size;f++){let u=Number(o[f]),l=Math.abs(u-r),p=n+t*Math.abs(r);i[f]=l<=p?1:0}}else for(let o=0;o<e.size;o++){let f=Number(a[o]),u=Math.abs(f-r),l=n+t*Math.abs(r);i[o]=u<=l?1:0}return b.fromData(i,Array.from(e.shape),"bool")}function k(e,r){let t=0,n=1;for(let i=e.length-1;i>=0;i--)t+=e[i]*n,n*=r[i];return t}function P(e,r,t,n){let i=n.length,a=new Array(i),s=Array.from(n).filter((f,u)=>u!==r),o=e;for(let f=s.length-1;f>=0;f--)a[f>=r?f+1:f]=o%s[f],o=Math.floor(o/s[f]);return a[r]=t,a}function Mr(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0)if(d(n)){let h=o,g=BigInt(0);for(let v=0;v<s;v++)g+=h[v];return Number(g)}else{let h=0;for(let g=0;g<s;g++)h+=Number(o[g]);return h}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return Mr(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=BigInt(0);for(let A=0;A<y;A++){let S=P(v,f,A,i),O=k(S,i);w+=h[O]}g[v]=w}}else for(let h=0;h<m;h++){let g=0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i);g+=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function ke(e,r,t=!1){let n=e.dtype,i=e.shape;if(r===void 0)return Mr(e)/e.size;let a=r;if(a<0&&(a=i.length+a),a<0||a>=i.length)throw new Error(`axis ${r} is out of bounds for array of dimension ${i.length}`);let s=Mr(e,r,t);if(typeof s=="number")return s/i[a];let o=i[a],f=n;(d(n)||n.startsWith("int")||n.startsWith("uint"))&&(f="float64");let u=b.zeros(Array.from(s.shape),f),l=u.data,p=s.data;if(d(n)){let y=p;for(let m=0;m<l.length;m++)l[m]=Number(y[m])/o}else for(let y=0;y<l.length;y++)l[y]=Number(p[y])/o;return u}function Pe(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0){if(s===0)throw new Error("max of empty array");let h=o[0];for(let g=1;g<s;g++)o[g]>h&&(h=o[g]);return Number(h)}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return Pe(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=P(v,f,0,i),A=k(w,i),S=h[A];for(let O=1;O<y;O++){let C=P(v,f,O,i),F=k(C,i),M=h[F];M>S&&(S=M)}g[v]=S}}else for(let h=0;h<m;h++){let g=-1/0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i),S=Number(o[A]);S>g&&(g=S)}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function $e(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0)if(d(n)){let h=o,g=BigInt(1);for(let v=0;v<s;v++)g*=h[v];return Number(g)}else{let h=1;for(let g=0;g<s;g++)h*=Number(o[g]);return h}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return $e(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=BigInt(1);for(let A=0;A<y;A++){let S=P(v,f,A,i),O=k(S,i);w*=h[O]}g[v]=w}}else for(let h=0;h<m;h++){let g=1;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i);g*=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function Ge(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0){if(s===0)throw new Error("min of empty array");let h=o[0];for(let g=1;g<s;g++)o[g]<h&&(h=o[g]);return Number(h)}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return Ge(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=P(v,f,0,i),A=k(w,i),S=h[A];for(let O=1;O<y;O++){let C=P(v,f,O,i),F=k(C,i),M=h[F];M<S&&(S=M)}g[v]=S}}else for(let h=0;h<m;h++){let g=1/0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i),S=Number(o[A]);S<g&&(g=S)}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function Ye(e,r){let t=e.dtype,n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){if(a===0)throw new Error("argmin of empty array");let m=s[0],h=0;for(let g=1;g<a;g++)s[g]<m&&(m=s[g],h=g);return h}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Ye(e);let u=b.zeros(f,"int32"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);if(d(t)){let m=s;for(let h=0;h<y;h++){let g=P(h,o,0,n),v=k(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=P(h,o,S,n),C=k(O,n),F=m[C];F<w&&(w=F,A=S)}l[h]=A}}else for(let m=0;m<y;m++){let h=1/0,g=0;for(let v=0;v<p;v++){let w=P(m,o,v,n),A=k(w,n),S=Number(s[A]);S<h&&(h=S,g=v)}l[m]=g}return u}function We(e,r){let t=e.dtype,n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){if(a===0)throw new Error("argmax of empty array");let m=s[0],h=0;for(let g=1;g<a;g++)s[g]>m&&(m=s[g],h=g);return h}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return We(e);let u=b.zeros(f,"int32"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);if(d(t)){let m=s;for(let h=0;h<y;h++){let g=P(h,o,0,n),v=k(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=P(h,o,S,n),C=k(O,n),F=m[C];F>w&&(w=F,A=S)}l[h]=A}}else for(let m=0;m<y;m++){let h=-1/0,g=0;for(let v=0;v<p;v++){let w=P(m,o,v,n),A=k(w,n),S=Number(s[A]);S>h&&(h=S,g=v)}l[m]=g}return u}function Ze(e,r,t=0,n=!1){let i=e.shape,a=i.length,s=e.size,o=e.data,f=ke(e,r,n);if(r===void 0){let w=f,A=0;for(let S=0;S<s;S++){let O=Number(o[S])-w;A+=O*O}return A/(s-t)}let u=r;if(u<0&&(u=a+u),u<0||u>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let l=i[u],p=f,y=p.data,m=n?p.shape:Array.from(i).filter((w,A)=>A!==u),h=b.zeros(Array.from(m),"float64"),g=h.data,v=m.reduce((w,A)=>w*A,1);for(let w=0;w<v;w++){let A=0,S=Number(y[w]);for(let O=0;O<l;O++){let C=P(w,u,O,i),F=k(C,i),M=Number(o[F])-S;A+=M*M}g[w]=A/(l-t)}return h}function Zn(e,r,t=0,n=!1){let i=Ze(e,r,t,n);if(typeof i=="number")return Math.sqrt(i);let a=b.zeros(Array.from(i.shape),"float64"),s=i.data,o=a.data;for(let f=0;f<s.length;f++)o[f]=Math.sqrt(Number(s[f]));return a}function Je(e,r,t=!1){let n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){for(let m=0;m<a;m++)if(!s[m])return!1;return!0}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Je(e);let u=b.zeros(f,"bool"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);for(let m=0;m<y;m++){let h=!0;for(let g=0;g<p;g++){let v=P(m,o,g,n),w=k(v,n);if(!s[w]){h=!1;break}}l[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(l,m,"bool")}return u}function He(e,r,t=!1){let n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){for(let m=0;m<a;m++)if(s[m])return!0;return!1}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return He(e);let u=b.zeros(f,"bool"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);for(let m=0;m<y;m++){let h=!1;for(let g=0;g<p;g++){let v=P(m,o,g,n),w=k(v,n);if(s[w]){h=!0;break}}l[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(l,m,"bool")}return u}function Jn(e,r){let t=e.size,n=e.dtype,i=r.indexOf(-1),a;if(i!==-1){let u=r.reduce((p,y,m)=>m===i?p:p*y,1),l=t/u;if(!Number.isInteger(l))throw new Error(`cannot reshape array of size ${t} into shape ${JSON.stringify(r)}`);a=r.map((p,y)=>y===i?l:p)}else a=r;if(a.reduce((u,l)=>u*l,1)!==t)throw new Error(`cannot reshape array of size ${t} into shape ${JSON.stringify(a)}`);if(e.isCContiguous){let u=e.data;return b.fromData(u,a,n,je(a),0)}let f=e.copy().data;return b.fromData(f,a,n,je(a),0)}function Xe(e){let r=e.shape,t=r.length,n=e.size,i=e.dtype,a=X(i);if(!a)throw new Error(`Cannot flatten array with dtype ${i}`);let s=new a(n),o=0,f=(u,l)=>{if(l===t){let p=e.get(...u);s[o++]=p;return}for(let p=0;p<r[l];p++)u[l]=p,f(u,l+1)};return f(new Array(t),0),b.fromData(s,[n],i,[1],0)}function Hn(e){let r=e.size,t=e.dtype;if(e.isCContiguous){let n=e.data;return b.fromData(n,[r],t,[1],0)}return Xe(e)}function Xn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype,o;if(r===void 0)o=Array.from({length:n},(p,y)=>n-1-y);else{if(r.length!==n)throw new Error(`axes must have length ${n}, got ${r.length}`);let p=new Set;for(let y of r){let m=y<0?n+y:y;if(m<0||m>=n)throw new Error(`axis ${y} is out of bounds for array of dimension ${n}`);if(p.has(m))throw new Error("repeated axis in transpose");p.add(m)}o=r.map(y=>y<0?n+y:y)}let f=o.map(p=>t[p]),u=Array.from(i),l=o.map(p=>u[p]);return b.fromData(a,f,s,l,e.offset)}function Qn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype;if(r===void 0){let o=[],f=[];for(let u=0;u<n;u++)t[u]!==1&&(o.push(t[u]),f.push(i[u]));return o.length===0&&(o.push(1),f.push(1)),b.fromData(a,o,s,f,e.offset)}else{let o=r<0?n+r:r;if(o<0||o>=n)throw new Error(`axis ${r} is out of bounds for array of dimension ${n}`);if(t[o]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${r} has size ${t[o]})`);let f=[],u=[];for(let l=0;l<n;l++)l!==o&&(f.push(t[l]),u.push(i[l]));return b.fromData(a,f,s,u,e.offset)}}function Kn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype,o=r;if(o<0&&(o=n+r+1),o<0||o>n)throw new Error(`axis ${r} is out of bounds for array of dimension ${n+1}`);let f=[...Array.from(t)];f.splice(o,0,1);let u=[...Array.from(i)],l=o<n?i[o]*(t[o]||1):1;return u.splice(o,0,l),b.fromData(a,f,s,u,e.offset)}var Cm=hh(Rm(),1);function jm(e,r){if(e.ndim!==2||r.ndim!==2)throw new Error("matmul requires 2D arrays");let[t=0,n=0]=e.shape,[i=0,a=0]=r.shape;if(n!==i)throw new Error(`matmul shape mismatch: (${t},${n}) @ (${i},${a})`);let s=_r(e.dtype,r.dtype),o=s.startsWith("int")||s.startsWith("uint")||s==="bool"?"float64":s;if(o!=="float64")throw new Error(`matmul currently only supports float64, got ${o}`);let f=e.dtype==="float64"?e.data:Float64Array.from(Array.from(e.data).map(Number)),u=r.dtype==="float64"?r.data:Float64Array.from(Array.from(r.data).map(Number)),l=b.zeros([t,a],"float64");return(0,Cm.default)("row-major","no-transpose","no-transpose",t,a,n,1,f,n,u,a,0,l.data,a),l}function Lm(e){return Dn(e,Math.sqrt,!1)}function Mm(e,r){return typeof r=="number"?DT(e,r):sr(e,r,Math.pow,"power")}function DT(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,f=t!=="float32"&&t!=="float64"&&(r<0||!Number.isInteger(r))?"float64":t,u=b.zeros(n,f),l=u.data;if(d(t))if(d(f)&&Number.isInteger(r)&&r>=0){let p=i,y=l;for(let m=0;m<a;m++)y[m]=p[m]**BigInt(r)}else for(let p=0;p<a;p++)l[p]=Math.pow(Number(i[p]),r);else for(let p=0;p<a;p++)l[p]=Math.pow(Number(i[p]),r);return u}var rr=class e{constructor(r,t){this._storage=r,this._base=t}get storage(){return this._storage}static _fromStorage(r,t){return new e(r,t)}get shape(){return this._storage.shape}get ndim(){return this._storage.ndim}get size(){return this._storage.size}get dtype(){return this._storage.dtype}get data(){return this._storage.data}get strides(){return this._storage.strides}get flags(){return{C_CONTIGUOUS:this._storage.isCContiguous,F_CONTIGUOUS:this._storage.isFContiguous,OWNDATA:this._base===void 0}}get base(){return this._base??null}get(r){if(r.length!==this.ndim)throw new Error(`Index has ${r.length} dimensions, but array has ${this.ndim} dimensions`);let t=r.map((n,i)=>{let a=n;if(a<0&&(a=this.shape[i]+a),a<0||a>=this.shape[i])throw new Error(`Index ${n} is out of bounds for axis ${i} with size ${this.shape[i]}`);return a});return this._storage.get(...t)}set(r,t){if(r.length!==this.ndim)throw new Error(`Index has ${r.length} dimensions, but array has ${this.ndim} dimensions`);let n=r.map((s,o)=>{let f=s;if(f<0&&(f=this.shape[o]+f),f<0||f>=this.shape[o])throw new Error(`Index ${s} is out of bounds for axis ${o} with size ${this.shape[o]}`);return f}),i=this.dtype,a;d(i)?a=typeof t=="bigint"?t:BigInt(Math.round(t)):i==="bool"?a=t?1:0:a=Number(t),this._storage.set(n,a)}copy(){return new e(this._storage.copy())}astype(r,t=!0){let n=this.dtype;if(n===r&&!t)return this;if(n===r&&t)return this.copy();let i=Array.from(this.shape),a=this.size,s=X(r);if(!s)throw new Error(`Cannot convert to dtype ${r}`);let o=new s(a),f=this.data;if(d(n)&&!d(r)){let l=f;if(r==="bool")for(let p=0;p<a;p++)o[p]=l[p]!==BigInt(0)?1:0;else for(let p=0;p<a;p++)o[p]=Number(l[p])}else if(!d(n)&&d(r)){let l=f;for(let p=0;p<a;p++)o[p]=BigInt(Math.round(Number(l[p])))}else if(r==="bool"){let l=f;for(let p=0;p<a;p++)o[p]=l[p]!==0?1:0}else if(n==="bool"&&!d(r)){let l=f;for(let p=0;p<a;p++)o[p]=l[p]}else if(!d(n)&&!d(r)){let l=f;for(let p=0;p<a;p++)o[p]=l[p]}else{let l=f;for(let p=0;p<a;p++)o[p]=l[p]}let u=b.fromData(o,i,r);return new e(u)}add(r){let t=typeof r=="number"?r:r._storage,n=Nn(this._storage,t);return e._fromStorage(n)}subtract(r){let t=typeof r=="number"?r:r._storage,n=Bn(this._storage,t);return e._fromStorage(n)}multiply(r){let t=typeof r=="number"?r:r._storage,n=On(this._storage,t);return e._fromStorage(n)}divide(r){let t=typeof r=="number"?r:r._storage,n=Vn(this._storage,t);return e._fromStorage(n)}mod(r){let t=typeof r=="number"?r:r._storage,n=Rn(this._storage,t);return e._fromStorage(n)}floor_divide(r){let t=typeof r=="number"?r:r._storage,n=Cn(this._storage,t);return e._fromStorage(n)}positive(){let r=jn(this._storage);return e._fromStorage(r)}reciprocal(){let r=Ln(this._storage);return e._fromStorage(r)}sqrt(){let r=Lm(this._storage);return e._fromStorage(r)}power(r){let t=typeof r=="number"?r:r._storage,n=Mm(this._storage,t);return e._fromStorage(n)}absolute(){let r=Un(this._storage);return e._fromStorage(r)}negative(){let r=zn(this._storage);return e._fromStorage(r)}sign(){let r=Fn(this._storage);return e._fromStorage(r)}greater(r){let t=typeof r=="number"?r:r._storage,n=Mn(this._storage,t);return e._fromStorage(n)}greater_equal(r){let t=typeof r=="number"?r:r._storage,n=kn(this._storage,t);return e._fromStorage(n)}less(r){let t=typeof r=="number"?r:r._storage,n=Pn(this._storage,t);return e._fromStorage(n)}less_equal(r){let t=typeof r=="number"?r:r._storage,n=$n(this._storage,t);return e._fromStorage(n)}equal(r){let t=typeof r=="number"?r:r._storage,n=Gn(this._storage,t);return e._fromStorage(n)}not_equal(r){let t=typeof r=="number"?r:r._storage,n=Yn(this._storage,t);return e._fromStorage(n)}isclose(r,t=1e-5,n=1e-8){let i=typeof r=="number"?r:r._storage,a=Me(this._storage,i,t,n);return e._fromStorage(a)}allclose(r,t=1e-5,n=1e-8){let i=typeof r=="number"?r:r._storage;return Wn(this._storage,i,t,n)}sum(r,t=!1){let n=Mr(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}mean(r,t=!1){let n=ke(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}max(r,t=!1){let n=Pe(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}min(r,t=!1){let n=Ge(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}prod(r,t=!1){let n=$e(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}argmin(r){let t=Ye(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}argmax(r){let t=We(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}var(r,t=0,n=!1){let i=Ze(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}std(r,t=0,n=!1){let i=Zn(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}all(r,t=!1){let n=Je(this._storage,r,t);return typeof n=="boolean"?n:e._fromStorage(n)}any(r,t=!1){let n=He(this._storage,r,t);return typeof n=="boolean"?n:e._fromStorage(n)}reshape(...r){let t=r.length===1&&Array.isArray(r[0])?r[0]:r,n=Jn(this._storage,t),a=n.data===this.data?this._base??this:void 0;return e._fromStorage(n,a)}flatten(){let r=Xe(this._storage);return e._fromStorage(r)}ravel(){let r=Hn(this._storage),n=r.data===this.data?this._base??this:void 0;return e._fromStorage(r,n)}transpose(r){let t=Xn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}squeeze(r){let t=Qn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}expand_dims(r){let t=Kn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}matmul(r){let t=jm(this._storage,r._storage);return e._fromStorage(t)}slice(...r){if(r.length===0)return this;if(r.length>this.ndim)throw new Error(`Too many indices for array: array is ${this.ndim}-dimensional, but ${r.length} were indexed`);let t=r.map((f,u)=>{let l=Tn(f);return _n(l,this.shape[u])});for(;t.length<this.ndim;)t.push({start:0,stop:this.shape[t.length],step:1,isIndex:!1});let n=[],i=[],a=this._storage.offset;for(let f=0;f<t.length;f++){let u=t[f],l=this._storage.strides[f];if(a+=u.start*l,!u.isIndex){let p;u.step>0?p=Math.max(0,Math.ceil((u.stop-u.start)/u.step)):p=Math.max(0,Math.ceil((u.start-u.stop)/Math.abs(u.step))),n.push(p),i.push(l*u.step)}}let s=b.fromData(this._storage.data,n,this._storage.dtype,i,a),o=this._base??this;return new e(s,o)}row(r){if(this.ndim<2)throw new Error("row() requires at least 2 dimensions");return this.slice(String(r),":")}col(r){if(this.ndim<2)throw new Error("col() requires at least 2 dimensions");return this.slice(":",String(r))}rows(r,t){if(this.ndim<2)throw new Error("rows() requires at least 2 dimensions");return this.slice(`${r}:${t}`,":")}cols(r,t){if(this.ndim<2)throw new Error("cols() requires at least 2 dimensions");return this.slice(":",`${r}:${t}`)}toString(){return`NDArray(shape=${JSON.stringify(this.shape)}, dtype=${this.dtype})`}toArray(){if(this.ndim===0)return this._storage.iget(0);let r=this.shape,t=r.length,n=(i,a)=>{if(a===t)return this._storage.get(...i);let s=[];for(let o=0;o<r[a];o++)i[a]=o,s.push(n(i,a+1));return s};return n(new Array(t),0)}};function le(e,r=H){let t=b.zeros(e,r);return new rr(t)}function gn(e,r=H){let t=b.ones(e,r);return new rr(t)}function BT(e){let r=[],t=e;for(;Array.isArray(t);)r.push(t.length),t=t[0];return r}function km(e){return typeof e=="bigint"?!0:Array.isArray(e)?e.some(r=>km(r)):!1}function OT(e){let r=[];function t(n){Array.isArray(n)?n.forEach(i=>t(i)):r.push(n)}return t(e),r}function xr(e,r){if(e instanceof rr)return!r||e.dtype===r?e.copy():e.astype(r);let t=km(e),n=BT(e),i=n.reduce((l,p)=>l*p,1),a=r;a||(t?a="int64":a=H);let s=X(a);if(!s)throw new Error(`Cannot create array with dtype ${a}`);let o=new s(i),f=OT(e);if(d(a)){let l=o;for(let p=0;p<i;p++){let y=f[p];l[p]=typeof y=="bigint"?y:BigInt(Math.round(Number(y)))}}else if(a==="bool"){let l=o;for(let p=0;p<i;p++)l[p]=f[p]?1:0}else{let l=o;for(let p=0;p<i;p++){let y=f[p];l[p]=Number(y)}}let u=b.fromData(o,n,a);return new rr(u)}function Pm(e,r,t=1,n=H){let i=e,a=r;if(r===void 0&&(i=0,a=e),a===void 0)throw new Error("stop is required");let s=Math.max(0,Math.ceil((a-i)/t)),o=X(n);if(!o)throw new Error(`Cannot create arange array with dtype ${n}`);let f=new o(s);if(d(n))for(let l=0;l<s;l++)f[l]=BigInt(Math.round(i+l*t));else if(n==="bool")for(let l=0;l<s;l++)f[l]=i+l*t!==0?1:0;else for(let l=0;l<s;l++)f[l]=i+l*t;let u=b.fromData(f,[s],n);return new rr(u)}function $m(e,r,t=50,n=H){if(t<0)throw new Error("num must be non-negative");if(t===0)return xr([],n);if(t===1)return xr([e],n);let i=X(n);if(!i)throw new Error(`Cannot create linspace array with dtype ${n}`);let a=new i(t),s=(r-e)/(t-1);if(d(n))for(let f=0;f<t;f++)a[f]=BigInt(Math.round(e+f*s));else if(n==="bool")for(let f=0;f<t;f++)a[f]=e+f*s!==0?1:0;else for(let f=0;f<t;f++)a[f]=e+f*s;let o=b.fromData(a,[t],n);return new rr(o)}function Gm(e,r,t=50,n=10,i=H){if(t<0)throw new Error("num must be non-negative");if(t===0)return xr([],i);if(t===1)return xr([Math.pow(n,e)],i);let a=X(i);if(!a)throw new Error(`Cannot create logspace array with dtype ${i}`);let s=new a(t),o=(r-e)/(t-1);if(d(i))for(let u=0;u<t;u++){let l=e+u*o;s[u]=BigInt(Math.round(Math.pow(n,l)))}else if(i==="bool")for(let u=0;u<t;u++){let l=e+u*o;s[u]=Math.pow(n,l)!==0?1:0}else for(let u=0;u<t;u++){let l=e+u*o;s[u]=Math.pow(n,l)}let f=b.fromData(s,[t],i);return new rr(f)}function Ym(e,r,t=50,n=H){if(t<0)throw new Error("num must be non-negative");if(e===0||r===0)throw new Error("Geometric sequence cannot include zero");if(t===0)return xr([],n);if(t===1)return xr([e],n);let i=Math.sign(e),a=Math.sign(r);if(i!==a)throw new Error("Geometric sequence cannot contain both positive and negative values");let s=X(n);if(!s)throw new Error(`Cannot create geomspace array with dtype ${n}`);let o=new s(t),f=Math.log(Math.abs(e)),l=(Math.log(Math.abs(r))-f)/(t-1);if(d(n))for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=BigInt(Math.round(m))}else if(n==="bool")for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=m!==0?1:0}else for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=m}let p=b.fromData(o,[t],n);return new rr(p)}function vn(e,r,t=0,n=H){let i=r??e,a=le([e,i],n),s=a.data;if(d(n)){let o=s;for(let f=0;f<e;f++){let u=f+t;u>=0&&u<i&&(o[f*i+u]=BigInt(1))}}else{let o=s;for(let f=0;f<e;f++){let u=f+t;u>=0&&u<i&&(o[f*i+u]=1)}}return a}function bn(e,r=H){return le(e,r)}function dn(e,r,t){let n=t;n||(typeof r=="bigint"?n="int64":typeof r=="boolean"?n="bool":Number.isInteger(r)?n="int32":n=H);let i=X(n);if(!i)throw new Error(`Cannot create full array with dtype ${n}`);let a=e.reduce((f,u)=>f*u,1),s=new i(a);if(d(n)){let f=typeof r=="bigint"?r:BigInt(Math.round(Number(r)));s.fill(f)}else n==="bool"?s.fill(r?1:0):s.fill(Number(r));let o=b.fromData(s,e,n);return new rr(o)}function Wm(e,r=H){return vn(e,e,0,r)}function Zm(e,r){return e instanceof rr?!r||e.dtype===r?e:e.astype(r):xr(e,r)}function Jm(e){return e.copy()}function Hm(e,r){return le(Array.from(e.shape),r??e.dtype)}function Xm(e,r){return gn(Array.from(e.shape),r??e.dtype)}function Qm(e,r){return bn(Array.from(e.shape),r??e.dtype)}function Km(e,r,t){return dn(Array.from(e.shape),r,t??e.dtype)}function rh(e){return e.sqrt()}function eh(e,r){return e.power(r)}function th(e){return e.absolute()}function nh(e){return e.negative()}function ih(e){return e.sign()}function ah(e,r){return e.mod(r)}function oh(e,r){return e.floor_divide(r)}function sh(e){return e.positive()}function uh(e){return e.reciprocal()}var VT="0.3.0";return gh(UT);})();
4
2
  /*! Bundled license information:
5
3
 
6
4
  @stdlib/utils/define-property/lib/define_property.js:
7
5
  @stdlib/utils/define-property/lib/has_define_property_support.js:
8
6
  @stdlib/regexp/function-name/lib/main.js:
9
7
  @stdlib/regexp/function-name/lib/index.js:
10
- @stdlib/assert/has-bigint-support/lib/main.js:
11
- @stdlib/assert/has-bigint-support/lib/index.js:
12
- @stdlib/math/base/special/abs/lib/main.js:
13
- @stdlib/assert/is-dataview/lib/main.js:
14
- @stdlib/assert/is-dataview/lib/index.js:
15
- @stdlib/assert/has-dataview-support/lib/dataview.js:
16
- @stdlib/assert/has-dataview-support/lib/main.js:
17
- @stdlib/assert/has-dataview-support/lib/index.js:
18
- @stdlib/array/dataview/lib/main.js:
19
- @stdlib/array/dataview/lib/polyfill.js:
20
- @stdlib/array/dataview/lib/index.js:
21
- @stdlib/bigint/ctor/lib/main.js:
22
- @stdlib/bigint/ctor/lib/index.js:
23
- @stdlib/ndarray/dtypes/lib/enum.js:
24
- @stdlib/ndarray/dtypes/lib/assign.js:
25
- @stdlib/ndarray/orders/lib/enum.js:
26
- @stdlib/ndarray/index-modes/lib/enum.js:
27
- @stdlib/ndarray/base/ctor/lib/meta2dataview.js:
28
- @stdlib/number/float64/base/to-int64-bytes/lib/main.js:
29
- @stdlib/number/float64/base/to-int64-bytes/lib/assign.js:
30
- @stdlib/number/float64/base/to-int64-bytes/lib/index.js:
31
- @stdlib/ndarray/base/ctor/lib/meta2dataview.polyfill.js:
32
8
  @stdlib/complex/float32/real/lib/main.js:
33
9
  @stdlib/complex/float32/real/lib/index.js:
34
10
  @stdlib/complex/float32/imag/lib/main.js:
@@ -37,86 +13,7 @@
37
13
  @stdlib/strided/base/reinterpret-complex64/lib/index.js:
38
14
  @stdlib/strided/base/reinterpret-complex128/lib/main.js:
39
15
  @stdlib/strided/base/reinterpret-complex128/lib/index.js:
40
- @stdlib/ndarray/casting-modes/lib/enum.js:
41
- @stdlib/ndarray/base/dtype-enum2str/lib/main.js:
42
- @stdlib/ndarray/base/dtype-enum2str/lib/index.js:
43
- @stdlib/ndarray/base/dtype-str2enum/lib/main.js:
44
- @stdlib/ndarray/base/dtype-str2enum/lib/index.js:
45
- @stdlib/ndarray/base/dtype-resolve-str/lib/main.js:
46
- @stdlib/ndarray/base/dtype-resolve-str/lib/index.js:
47
- @stdlib/array/base/filled/lib/main.js:
48
- @stdlib/array/base/filled/lib/index.js:
49
- @stdlib/array/base/zeros/lib/main.js:
50
- @stdlib/array/base/zeros/lib/index.js:
51
- @stdlib/ndarray/base/broadcast-array/lib/main.js:
52
- @stdlib/ndarray/base/broadcast-array/lib/index.js:
53
- @stdlib/ndarray/base/broadcast-shapes/lib/main.js:
54
- @stdlib/ndarray/base/broadcast-shapes/lib/index.js:
55
- @stdlib/ndarray/base/buffer-dtype-enum/lib/main.js:
56
- @stdlib/ndarray/base/buffer-dtype-enum/lib/index.js:
57
- @stdlib/ndarray/base/dtype-char/lib/table.js:
58
- @stdlib/ndarray/base/char2dtype/lib/main.js:
59
- @stdlib/ndarray/base/char2dtype/lib/index.js:
60
- @stdlib/ndarray/base/dtype-desc/lib/table.js:
61
- @stdlib/ndarray/base/dtype-desc/lib/index.js:
62
- @stdlib/ndarray/base/dtype-resolve-enum/lib/main.js:
63
- @stdlib/ndarray/base/dtype-resolve-enum/lib/index.js:
64
- @stdlib/ndarray/base/dtype2c/lib/main.js:
65
- @stdlib/ndarray/base/dtype2c/lib/index.js:
66
- @stdlib/ndarray/base/meta-data-props/lib/main.js:
67
- @stdlib/ndarray/base/meta-data-props/lib/index.js:
68
- @stdlib/ndarray/base/serialize-meta-data/lib/main.js:
69
- @stdlib/ndarray/base/serialize-meta-data/lib/polyfill.js:
70
- @stdlib/ndarray/base/serialize-meta-data/lib/index.js:
71
- @stdlib/ndarray/base/unary/lib/2d_blocked_accessors.js:
72
- @stdlib/ndarray/base/unary/lib/3d_blocked_accessors.js:
73
- @stdlib/ndarray/base/unary/lib/4d_blocked_accessors.js:
74
- @stdlib/ndarray/base/unary/lib/5d_blocked_accessors.js:
75
- @stdlib/ndarray/base/unary/lib/6d_blocked_accessors.js:
76
- @stdlib/ndarray/base/unary/lib/7d_blocked_accessors.js:
77
- @stdlib/ndarray/base/unary/lib/8d_blocked_accessors.js:
78
- @stdlib/ndarray/base/unary/lib/9d_blocked_accessors.js:
79
- @stdlib/ndarray/base/unary/lib/10d_blocked_accessors.js:
80
- @stdlib/ndarray/base/unary/lib/2d_blocked.js:
81
- @stdlib/ndarray/base/unary/lib/3d_blocked.js:
82
- @stdlib/ndarray/base/unary/lib/4d_blocked.js:
83
- @stdlib/ndarray/base/unary/lib/5d_blocked.js:
84
- @stdlib/ndarray/base/unary/lib/6d_blocked.js:
85
- @stdlib/ndarray/base/unary/lib/7d_blocked.js:
86
- @stdlib/ndarray/base/unary/lib/8d_blocked.js:
87
- @stdlib/ndarray/base/unary/lib/9d_blocked.js:
88
- @stdlib/ndarray/base/unary/lib/10d_blocked.js:
89
- @stdlib/ndarray/base/unary/lib/0d_accessors.js:
90
- @stdlib/ndarray/base/unary/lib/1d_accessors.js:
91
- @stdlib/ndarray/base/unary/lib/2d_accessors.js:
92
- @stdlib/ndarray/base/unary/lib/3d_accessors.js:
93
- @stdlib/ndarray/base/unary/lib/4d_accessors.js:
94
- @stdlib/ndarray/base/unary/lib/5d_accessors.js:
95
- @stdlib/ndarray/base/unary/lib/6d_accessors.js:
96
- @stdlib/ndarray/base/unary/lib/7d_accessors.js:
97
- @stdlib/ndarray/base/unary/lib/8d_accessors.js:
98
- @stdlib/ndarray/base/unary/lib/9d_accessors.js:
99
- @stdlib/ndarray/base/unary/lib/10d_accessors.js:
100
- @stdlib/ndarray/base/unary/lib/nd_accessors.js:
101
- @stdlib/ndarray/base/unary/lib/0d.js:
102
- @stdlib/ndarray/base/unary/lib/1d.js:
103
- @stdlib/ndarray/base/unary/lib/2d.js:
104
- @stdlib/ndarray/base/unary/lib/3d.js:
105
- @stdlib/ndarray/base/unary/lib/4d.js:
106
- @stdlib/ndarray/base/unary/lib/5d.js:
107
- @stdlib/ndarray/base/unary/lib/6d.js:
108
- @stdlib/ndarray/base/unary/lib/7d.js:
109
- @stdlib/ndarray/base/unary/lib/8d.js:
110
- @stdlib/ndarray/base/unary/lib/9d.js:
111
- @stdlib/ndarray/base/unary/lib/10d.js:
112
- @stdlib/ndarray/base/unary/lib/nd.js:
113
- @stdlib/ndarray/base/unary/lib/main.js:
114
- @stdlib/ndarray/base/unary/lib/index.js:
115
- @stdlib/ndarray/dispatch/lib/index_of_types.js:
116
- @stdlib/ndarray/dispatch/lib/main.js:
117
- @stdlib/ndarray/dispatch/lib/index.js:
118
- @stdlib/assert/is-property-key/lib/main.js:
119
- @stdlib/assert/is-property-key/lib/index.js:
16
+ @stdlib/math/base/special/abs/lib/main.js:
120
17
  (**
121
18
  * @license Apache-2.0
122
19
  *
@@ -138,16 +35,18 @@
138
35
  @stdlib/utils/define-property/lib/builtin.js:
139
36
  @stdlib/utils/define-property/lib/polyfill.js:
140
37
  @stdlib/utils/define-property/lib/index.js:
141
- @stdlib/utils/define-read-only-property/lib/main.js:
142
- @stdlib/utils/define-read-only-property/lib/index.js:
143
- @stdlib/assert/has-own-property/lib/main.js:
144
- @stdlib/assert/has-own-property/lib/index.js:
38
+ @stdlib/utils/define-nonenumerable-read-only-property/lib/main.js:
39
+ @stdlib/utils/define-nonenumerable-read-only-property/lib/index.js:
40
+ @stdlib/math/base/special/fast/max/lib/main.js:
41
+ @stdlib/math/base/special/fast/max/lib/index.js:
145
42
  @stdlib/assert/has-symbol-support/lib/main.js:
146
43
  @stdlib/assert/has-symbol-support/lib/index.js:
147
44
  @stdlib/assert/has-tostringtag-support/lib/main.js:
148
45
  @stdlib/assert/has-tostringtag-support/lib/index.js:
149
46
  @stdlib/utils/native-class/lib/tostring.js:
150
47
  @stdlib/utils/native-class/lib/main.js:
48
+ @stdlib/assert/has-own-property/lib/main.js:
49
+ @stdlib/assert/has-own-property/lib/index.js:
151
50
  @stdlib/symbol/ctor/lib/main.js:
152
51
  @stdlib/symbol/ctor/lib/index.js:
153
52
  @stdlib/utils/native-class/lib/tostringtag.js:
@@ -155,131 +54,15 @@
155
54
  @stdlib/utils/native-class/lib/index.js:
156
55
  @stdlib/assert/is-array/lib/main.js:
157
56
  @stdlib/assert/is-array/lib/index.js:
158
- @stdlib/assert/is-object/lib/main.js:
159
- @stdlib/assert/is-object/lib/index.js:
160
- @stdlib/utils/type-of/lib/fixtures/re.js:
161
- @stdlib/utils/define-nonenumerable-read-only-property/lib/main.js:
162
- @stdlib/utils/define-nonenumerable-read-only-property/lib/index.js:
163
- @stdlib/assert/is-boolean/lib/primitive.js:
164
- @stdlib/assert/is-boolean/lib/tostring.js:
165
- @stdlib/assert/is-boolean/lib/try2serialize.js:
166
- @stdlib/assert/is-boolean/lib/object.js:
167
- @stdlib/assert/is-boolean/lib/main.js:
168
- @stdlib/assert/is-boolean/lib/index.js:
169
- @stdlib/utils/global/lib/codegen.js:
170
- @stdlib/utils/global/lib/self.js:
171
- @stdlib/utils/global/lib/window.js:
172
- @stdlib/utils/type-of/lib/fixtures/nodelist.js:
173
- @stdlib/utils/type-of/lib/fixtures/typedarray.js:
174
- @stdlib/utils/type-of/lib/check.js:
175
- @stdlib/regexp/function-name/lib/regexp.js:
176
57
  @stdlib/assert/tools/array-function/lib/main.js:
177
58
  @stdlib/assert/tools/array-function/lib/index.js:
178
59
  @stdlib/assert/is-object-like/lib/main.js:
179
60
  @stdlib/assert/is-object-like/lib/index.js:
180
61
  @stdlib/assert/is-buffer/lib/main.js:
181
62
  @stdlib/assert/is-buffer/lib/index.js:
63
+ @stdlib/regexp/function-name/lib/regexp.js:
182
64
  @stdlib/utils/constructor-name/lib/main.js:
183
65
  @stdlib/utils/constructor-name/lib/index.js:
184
- @stdlib/utils/type-of/lib/main.js:
185
- @stdlib/utils/type-of/lib/polyfill.js:
186
- @stdlib/utils/type-of/lib/index.js:
187
- @stdlib/assert/is-function/lib/main.js:
188
- @stdlib/assert/is-function/lib/index.js:
189
- @stdlib/utils/get-prototype-of/lib/native.js:
190
- @stdlib/utils/get-prototype-of/lib/proto.js:
191
- @stdlib/utils/get-prototype-of/lib/polyfill.js:
192
- @stdlib/utils/get-prototype-of/lib/detect.js:
193
- @stdlib/utils/get-prototype-of/lib/main.js:
194
- @stdlib/utils/get-prototype-of/lib/index.js:
195
- @stdlib/assert/is-plain-object/lib/main.js:
196
- @stdlib/assert/is-plain-object/lib/index.js:
197
- @stdlib/assert/is-number/lib/primitive.js:
198
- @stdlib/number/ctor/lib/main.js:
199
- @stdlib/number/ctor/lib/index.js:
200
- @stdlib/assert/is-number/lib/tostring.js:
201
- @stdlib/assert/is-number/lib/try2serialize.js:
202
- @stdlib/assert/is-number/lib/object.js:
203
- @stdlib/assert/is-number/lib/main.js:
204
- @stdlib/assert/is-number/lib/index.js:
205
- @stdlib/constants/float64/pinf/lib/index.js:
206
- @stdlib/constants/float64/ninf/lib/index.js:
207
- @stdlib/math/base/special/floor/lib/main.js:
208
- @stdlib/math/base/special/floor/lib/index.js:
209
- @stdlib/math/base/assert/is-integer/lib/main.js:
210
- @stdlib/math/base/assert/is-integer/lib/index.js:
211
- @stdlib/assert/is-integer/lib/integer.js:
212
- @stdlib/assert/is-integer/lib/primitive.js:
213
- @stdlib/assert/is-integer/lib/object.js:
214
- @stdlib/assert/is-integer/lib/main.js:
215
- @stdlib/assert/is-integer/lib/index.js:
216
- @stdlib/assert/is-nonnegative-integer/lib/primitive.js:
217
- @stdlib/assert/is-nonnegative-integer/lib/object.js:
218
- @stdlib/assert/is-nonnegative-integer/lib/main.js:
219
- @stdlib/assert/is-nonnegative-integer/lib/index.js:
220
- @stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
221
- @stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
222
- @stdlib/ndarray/base/bytes-per-element/lib/main.js:
223
- @stdlib/ndarray/base/bytes-per-element/lib/index.js:
224
- @stdlib/ndarray/base/iteration-order/lib/main.js:
225
- @stdlib/ndarray/base/iteration-order/lib/index.js:
226
- @stdlib/math/base/special/abs/lib/index.js:
227
- @stdlib/ndarray/base/strides2order/lib/main.js:
228
- @stdlib/ndarray/base/strides2order/lib/index.js:
229
- @stdlib/ndarray/base/ctor/lib/is_column_major_contiguous.js:
230
- @stdlib/ndarray/base/ctor/lib/is_row_major_contiguous.js:
231
- @stdlib/ndarray/base/minmax-view-buffer-index/lib/main.js:
232
- @stdlib/ndarray/base/minmax-view-buffer-index/lib/assign.js:
233
- @stdlib/ndarray/base/minmax-view-buffer-index/lib/index.js:
234
- @stdlib/ndarray/base/ctor/lib/is_contiguous.js:
235
- @stdlib/ndarray/base/ctor/lib/copy_flags.js:
236
- @stdlib/ndarray/base/ctor/lib/iget.js:
237
- @stdlib/ndarray/base/ctor/lib/iset.js:
238
- @stdlib/ndarray/base/ctor/lib/set.js:
239
- @stdlib/ndarray/base/ctor/lib/get.js:
240
- @stdlib/complex/float64/real/lib/main.js:
241
- @stdlib/complex/float64/real/lib/index.js:
242
- @stdlib/complex/float64/imag/lib/main.js:
243
- @stdlib/complex/float64/imag/lib/index.js:
244
- @stdlib/ndarray/base/ctor/lib/tojson.js:
245
- @stdlib/assert/is-string/lib/primitive.js:
246
- @stdlib/assert/is-string/lib/valueof.js:
247
- @stdlib/assert/is-string/lib/try2valueof.js:
248
- @stdlib/assert/is-string/lib/object.js:
249
- @stdlib/assert/is-string/lib/main.js:
250
- @stdlib/assert/is-string/lib/index.js:
251
- @stdlib/utils/escape-regexp-string/lib/main.js:
252
- @stdlib/utils/escape-regexp-string/lib/index.js:
253
- @stdlib/assert/is-regexp/lib/exec.js:
254
- @stdlib/assert/is-regexp/lib/try2exec.js:
255
- @stdlib/assert/is-regexp/lib/main.js:
256
- @stdlib/assert/is-regexp/lib/index.js:
257
- @stdlib/string/replace/lib/main.js:
258
- @stdlib/string/replace/lib/index.js:
259
- @stdlib/ndarray/base/ctor/lib/tostring.js:
260
- @stdlib/assert/is-uint8array/lib/main.js:
261
- @stdlib/assert/is-uint8array/lib/index.js:
262
- @stdlib/constants/uint8/max/lib/index.js:
263
- @stdlib/assert/has-uint8array-support/lib/uint8array.js:
264
- @stdlib/assert/has-uint8array-support/lib/main.js:
265
- @stdlib/assert/has-uint8array-support/lib/index.js:
266
- @stdlib/array/uint8/lib/main.js:
267
- @stdlib/array/uint8/lib/polyfill.js:
268
- @stdlib/array/uint8/lib/index.js:
269
- @stdlib/assert/is-uint16array/lib/main.js:
270
- @stdlib/assert/is-uint16array/lib/index.js:
271
- @stdlib/constants/uint16/max/lib/index.js:
272
- @stdlib/assert/has-uint16array-support/lib/uint16array.js:
273
- @stdlib/assert/has-uint16array-support/lib/main.js:
274
- @stdlib/assert/has-uint16array-support/lib/index.js:
275
- @stdlib/array/uint16/lib/main.js:
276
- @stdlib/array/uint16/lib/polyfill.js:
277
- @stdlib/array/uint16/lib/index.js:
278
- @stdlib/assert/is-little-endian/lib/ctors.js:
279
- @stdlib/assert/is-little-endian/lib/main.js:
280
- @stdlib/assert/is-little-endian/lib/index.js:
281
- @stdlib/assert/is-arraybuffer/lib/main.js:
282
- @stdlib/assert/is-arraybuffer/lib/index.js:
283
66
  @stdlib/assert/is-float64array/lib/main.js:
284
67
  @stdlib/assert/is-float64array/lib/index.js:
285
68
  @stdlib/assert/has-float64array-support/lib/float64array.js:
@@ -288,76 +71,9 @@
288
71
  @stdlib/array/float64/lib/main.js:
289
72
  @stdlib/array/float64/lib/polyfill.js:
290
73
  @stdlib/array/float64/lib/index.js:
291
- @stdlib/assert/has-arraybuffer-support/lib/arraybuffer.js:
292
- @stdlib/assert/has-arraybuffer-support/lib/main.js:
293
- @stdlib/assert/has-arraybuffer-support/lib/index.js:
294
- @stdlib/array/buffer/lib/main.js:
295
- @stdlib/array/buffer/lib/polyfill.js:
296
- @stdlib/array/buffer/lib/index.js:
297
- @stdlib/ndarray/dtypes/lib/main.js:
298
- @stdlib/utils/keys/lib/builtin.js:
299
- @stdlib/utils/keys/lib/has_arguments_bug.js:
300
- @stdlib/utils/keys/lib/has_builtin.js:
301
- @stdlib/assert/is-arguments/lib/main.js:
302
- @stdlib/assert/is-arguments/lib/detect.js:
303
- @stdlib/math/base/assert/is-nan/lib/main.js:
304
- @stdlib/math/base/assert/is-nan/lib/index.js:
305
- @stdlib/assert/is-nan/lib/primitive.js:
306
- @stdlib/assert/is-nan/lib/object.js:
307
- @stdlib/assert/is-nan/lib/main.js:
308
- @stdlib/assert/is-nan/lib/index.js:
309
- @stdlib/assert/is-enumerable-property/lib/native.js:
310
- @stdlib/assert/is-enumerable-property/lib/has_string_enumerability_bug.js:
311
- @stdlib/assert/is-enumerable-property/lib/main.js:
312
- @stdlib/assert/is-enumerable-property/lib/index.js:
313
- @stdlib/constants/uint32/max/lib/index.js:
314
- @stdlib/assert/is-arguments/lib/polyfill.js:
315
- @stdlib/assert/is-arguments/lib/index.js:
316
- @stdlib/utils/keys/lib/builtin_wrapper.js:
317
- @stdlib/utils/noop/lib/main.js:
318
- @stdlib/utils/noop/lib/index.js:
319
- @stdlib/utils/keys/lib/has_enumerable_prototype_bug.js:
320
- @stdlib/utils/keys/lib/has_non_enumerable_properties_bug.js:
321
- @stdlib/constants/array/max-typed-array-length/lib/index.js:
322
- @stdlib/assert/is-collection/lib/main.js:
323
- @stdlib/assert/is-collection/lib/index.js:
324
- @stdlib/utils/index-of/lib/main.js:
325
- @stdlib/utils/index-of/lib/index.js:
326
- @stdlib/utils/keys/lib/is_constructor_prototype.js:
327
- @stdlib/utils/keys/lib/window.js:
328
- @stdlib/utils/keys/lib/has_automation_equality_bug.js:
329
- @stdlib/utils/keys/lib/has_window.js:
330
- @stdlib/utils/keys/lib/is_constructor_prototype_wrapper.js:
331
- @stdlib/utils/keys/lib/polyfill.js:
332
- @stdlib/utils/keys/lib/main.js:
333
- @stdlib/utils/keys/lib/index.js:
334
- @stdlib/ndarray/dtypes/lib/index.js:
335
- @stdlib/ndarray/orders/lib/main.js:
336
- @stdlib/ndarray/orders/lib/index.js:
337
- @stdlib/ndarray/index-modes/lib/main.js:
338
- @stdlib/ndarray/index-modes/lib/index.js:
339
- @stdlib/ndarray/base/ctor/lib/main.js:
340
- @stdlib/ndarray/base/ctor/lib/index.js:
341
- @stdlib/assert/is-ndarray-like/lib/main.js:
342
- @stdlib/assert/is-ndarray-like/lib/index.js:
343
- @stdlib/ndarray/base/shape2strides/lib/main.js:
344
- @stdlib/ndarray/base/shape2strides/lib/assign.js:
345
- @stdlib/ndarray/base/shape2strides/lib/index.js:
346
- @stdlib/ndarray/base/strides2offset/lib/main.js:
347
- @stdlib/ndarray/base/strides2offset/lib/index.js:
348
- @stdlib/ndarray/base/numel/lib/main.js:
349
- @stdlib/ndarray/base/numel/lib/index.js:
350
- @stdlib/constants/array/max-array-length/lib/index.js:
351
- @stdlib/assert/is-array-like/lib/main.js:
352
- @stdlib/assert/is-array-like/lib/index.js:
353
- @stdlib/assert/tools/array-like-function/lib/main.js:
354
- @stdlib/assert/tools/array-like-function/lib/index.js:
355
- @stdlib/assert/is-nonnegative-integer-array/lib/index.js:
356
- @stdlib/assert/is-integer-array/lib/index.js:
357
- @stdlib/ndarray/base/assert/is-order/lib/main.js:
358
- @stdlib/ndarray/base/assert/is-order/lib/index.js:
359
74
  @stdlib/assert/is-float32array/lib/main.js:
360
75
  @stdlib/assert/is-float32array/lib/index.js:
76
+ @stdlib/constants/float64/pinf/lib/index.js:
361
77
  @stdlib/assert/has-float32array-support/lib/float32array.js:
362
78
  @stdlib/assert/has-float32array-support/lib/main.js:
363
79
  @stdlib/assert/has-float32array-support/lib/index.js:
@@ -366,6 +82,7 @@
366
82
  @stdlib/array/float32/lib/index.js:
367
83
  @stdlib/assert/is-uint32array/lib/main.js:
368
84
  @stdlib/assert/is-uint32array/lib/index.js:
85
+ @stdlib/constants/uint32/max/lib/index.js:
369
86
  @stdlib/assert/has-uint32array-support/lib/uint32array.js:
370
87
  @stdlib/assert/has-uint32array-support/lib/main.js:
371
88
  @stdlib/assert/has-uint32array-support/lib/index.js:
@@ -382,6 +99,15 @@
382
99
  @stdlib/array/int32/lib/main.js:
383
100
  @stdlib/array/int32/lib/polyfill.js:
384
101
  @stdlib/array/int32/lib/index.js:
102
+ @stdlib/assert/is-uint16array/lib/main.js:
103
+ @stdlib/assert/is-uint16array/lib/index.js:
104
+ @stdlib/constants/uint16/max/lib/index.js:
105
+ @stdlib/assert/has-uint16array-support/lib/uint16array.js:
106
+ @stdlib/assert/has-uint16array-support/lib/main.js:
107
+ @stdlib/assert/has-uint16array-support/lib/index.js:
108
+ @stdlib/array/uint16/lib/main.js:
109
+ @stdlib/array/uint16/lib/polyfill.js:
110
+ @stdlib/array/uint16/lib/index.js:
385
111
  @stdlib/assert/is-int16array/lib/main.js:
386
112
  @stdlib/assert/is-int16array/lib/index.js:
387
113
  @stdlib/constants/int16/max/lib/index.js:
@@ -392,6 +118,15 @@
392
118
  @stdlib/array/int16/lib/main.js:
393
119
  @stdlib/array/int16/lib/polyfill.js:
394
120
  @stdlib/array/int16/lib/index.js:
121
+ @stdlib/assert/is-uint8array/lib/main.js:
122
+ @stdlib/assert/is-uint8array/lib/index.js:
123
+ @stdlib/constants/uint8/max/lib/index.js:
124
+ @stdlib/assert/has-uint8array-support/lib/uint8array.js:
125
+ @stdlib/assert/has-uint8array-support/lib/main.js:
126
+ @stdlib/assert/has-uint8array-support/lib/index.js:
127
+ @stdlib/array/uint8/lib/main.js:
128
+ @stdlib/array/uint8/lib/polyfill.js:
129
+ @stdlib/array/uint8/lib/index.js:
395
130
  @stdlib/assert/is-uint8clampedarray/lib/main.js:
396
131
  @stdlib/assert/is-uint8clampedarray/lib/index.js:
397
132
  @stdlib/assert/has-uint8clampedarray-support/lib/uint8clampedarray.js:
@@ -410,9 +145,63 @@
410
145
  @stdlib/array/int8/lib/main.js:
411
146
  @stdlib/array/int8/lib/polyfill.js:
412
147
  @stdlib/array/int8/lib/index.js:
148
+ @stdlib/assert/is-number/lib/primitive.js:
149
+ @stdlib/number/ctor/lib/main.js:
150
+ @stdlib/number/ctor/lib/index.js:
151
+ @stdlib/assert/is-number/lib/tostring.js:
152
+ @stdlib/assert/is-number/lib/try2serialize.js:
153
+ @stdlib/assert/is-number/lib/object.js:
154
+ @stdlib/assert/is-number/lib/main.js:
155
+ @stdlib/assert/is-number/lib/index.js:
156
+ @stdlib/constants/float64/ninf/lib/index.js:
157
+ @stdlib/math/base/special/floor/lib/main.js:
158
+ @stdlib/math/base/special/floor/lib/index.js:
159
+ @stdlib/math/base/assert/is-integer/lib/main.js:
160
+ @stdlib/math/base/assert/is-integer/lib/index.js:
161
+ @stdlib/assert/is-integer/lib/integer.js:
162
+ @stdlib/assert/is-integer/lib/primitive.js:
163
+ @stdlib/assert/is-integer/lib/object.js:
164
+ @stdlib/assert/is-integer/lib/main.js:
165
+ @stdlib/assert/is-integer/lib/index.js:
166
+ @stdlib/assert/is-nonnegative-integer/lib/primitive.js:
167
+ @stdlib/assert/is-nonnegative-integer/lib/object.js:
168
+ @stdlib/assert/is-nonnegative-integer/lib/main.js:
169
+ @stdlib/assert/is-nonnegative-integer/lib/index.js:
170
+ @stdlib/constants/array/max-array-length/lib/index.js:
413
171
  @stdlib/assert/is-array-like-object/lib/main.js:
414
172
  @stdlib/assert/is-array-like-object/lib/index.js:
173
+ @stdlib/constants/array/max-typed-array-length/lib/index.js:
174
+ @stdlib/assert/is-collection/lib/main.js:
175
+ @stdlib/assert/is-collection/lib/index.js:
176
+ @stdlib/assert/is-arraybuffer/lib/main.js:
177
+ @stdlib/assert/is-arraybuffer/lib/index.js:
178
+ @stdlib/assert/is-object/lib/main.js:
179
+ @stdlib/assert/is-object/lib/index.js:
180
+ @stdlib/assert/is-string/lib/primitive.js:
181
+ @stdlib/assert/is-string/lib/valueof.js:
182
+ @stdlib/assert/is-string/lib/try2valueof.js:
183
+ @stdlib/assert/is-string/lib/object.js:
184
+ @stdlib/assert/is-string/lib/main.js:
185
+ @stdlib/assert/is-string/lib/index.js:
415
186
  @stdlib/assert/is-string-array/lib/index.js:
187
+ @stdlib/utils/type-of/lib/fixtures/re.js:
188
+ @stdlib/assert/is-boolean/lib/primitive.js:
189
+ @stdlib/assert/is-boolean/lib/tostring.js:
190
+ @stdlib/assert/is-boolean/lib/try2serialize.js:
191
+ @stdlib/assert/is-boolean/lib/object.js:
192
+ @stdlib/assert/is-boolean/lib/main.js:
193
+ @stdlib/assert/is-boolean/lib/index.js:
194
+ @stdlib/utils/global/lib/codegen.js:
195
+ @stdlib/utils/global/lib/self.js:
196
+ @stdlib/utils/global/lib/window.js:
197
+ @stdlib/utils/type-of/lib/fixtures/nodelist.js:
198
+ @stdlib/utils/type-of/lib/fixtures/typedarray.js:
199
+ @stdlib/utils/type-of/lib/check.js:
200
+ @stdlib/utils/type-of/lib/main.js:
201
+ @stdlib/utils/type-of/lib/polyfill.js:
202
+ @stdlib/utils/type-of/lib/index.js:
203
+ @stdlib/assert/is-function/lib/main.js:
204
+ @stdlib/assert/is-function/lib/index.js:
416
205
  @stdlib/complex/float64/ctor/lib/tostring.js:
417
206
  @stdlib/complex/float64/ctor/lib/tojson.js:
418
207
  @stdlib/complex/float64/ctor/lib/main.js:
@@ -432,195 +221,28 @@
432
221
  @stdlib/assert/has-iterator-symbol-support/lib/index.js:
433
222
  @stdlib/symbol/iterator/lib/main.js:
434
223
  @stdlib/symbol/iterator/lib/index.js:
224
+ @stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
225
+ @stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
435
226
  @stdlib/array/complex64/lib/from_iterator.js:
436
227
  @stdlib/array/complex64/lib/from_iterator_map.js:
437
228
  @stdlib/array/complex64/lib/from_array.js:
438
229
  @stdlib/array/complex64/lib/main.js:
439
230
  @stdlib/array/complex64/lib/index.js:
231
+ @stdlib/complex/float64/real/lib/main.js:
232
+ @stdlib/complex/float64/real/lib/index.js:
233
+ @stdlib/complex/float64/imag/lib/main.js:
234
+ @stdlib/complex/float64/imag/lib/index.js:
440
235
  @stdlib/array/complex128/lib/from_iterator.js:
441
236
  @stdlib/array/complex128/lib/from_iterator_map.js:
442
237
  @stdlib/array/complex128/lib/from_array.js:
443
238
  @stdlib/array/complex128/lib/index.js:
444
239
  @stdlib/array/dtype/lib/main.js:
445
240
  @stdlib/array/dtype/lib/index.js:
446
- @stdlib/ndarray/base/assert/is-data-type/lib/main.js:
447
- @stdlib/ndarray/base/assert/is-data-type/lib/index.js:
448
- @stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/main.js:
449
- @stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/index.js:
450
- @stdlib/utils/inherit/lib/validate.js:
451
- @stdlib/utils/inherit/lib/native.js:
452
- @stdlib/utils/inherit/lib/polyfill.js:
453
- @stdlib/utils/inherit/lib/detect.js:
454
- @stdlib/utils/inherit/lib/main.js:
455
- @stdlib/utils/inherit/lib/index.js:
456
- @stdlib/ndarray/base/clamp-index/lib/main.js:
457
- @stdlib/ndarray/base/clamp-index/lib/index.js:
458
- @stdlib/ndarray/base/wrap-index/lib/main.js:
459
- @stdlib/ndarray/base/wrap-index/lib/index.js:
460
- @stdlib/ndarray/base/assert/is-index-mode/lib/main.js:
461
- @stdlib/ndarray/base/assert/is-index-mode/lib/index.js:
462
- @stdlib/ndarray/base/ind/lib/main.js:
463
- @stdlib/ndarray/base/ind/lib/index.js:
464
- @stdlib/ndarray/ctor/lib/iget.js:
465
- @stdlib/ndarray/ctor/lib/iset.js:
466
- @stdlib/ndarray/ctor/lib/get.js:
467
- @stdlib/ndarray/ctor/lib/set.js:
468
- @stdlib/ndarray/ctor/lib/copy_array.js:
469
- @stdlib/ndarray/ctor/lib/validate.js:
470
- @stdlib/ndarray/ctor/lib/main.js:
471
- @stdlib/ndarray/ctor/lib/index.js:
472
- @stdlib/ndarray/casting-modes/lib/main.js:
473
- @stdlib/ndarray/casting-modes/lib/index.js:
474
- @stdlib/ndarray/base/assert/is-casting-mode/lib/main.js:
475
- @stdlib/ndarray/base/assert/is-casting-mode/lib/index.js:
476
- @stdlib/utils/object-inverse/lib/main.js:
477
- @stdlib/utils/object-inverse/lib/index.js:
478
- @stdlib/ndarray/safe-casts/lib/main.js:
479
- @stdlib/ndarray/safe-casts/lib/index.js:
480
- @stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/main.js:
481
- @stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/index.js:
482
- @stdlib/ndarray/same-kind-casts/lib/main.js:
483
- @stdlib/ndarray/same-kind-casts/lib/index.js:
484
- @stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/main.js:
485
- @stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/index.js:
486
- @stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/main.js:
487
- @stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/index.js:
488
- @stdlib/assert/has-node-buffer-support/lib/buffer.js:
489
- @stdlib/assert/has-node-buffer-support/lib/main.js:
490
- @stdlib/assert/has-node-buffer-support/lib/index.js:
491
- @stdlib/buffer/ctor/lib/main.js:
492
- @stdlib/buffer/ctor/lib/polyfill.js:
493
- @stdlib/buffer/ctor/lib/index.js:
494
- @stdlib/ndarray/base/buffer-ctors/lib/main.js:
495
- @stdlib/ndarray/base/buffer-ctors/lib/index.js:
496
- @stdlib/buffer/alloc-unsafe/lib/has_alloc_unsafe.js:
497
- @stdlib/buffer/alloc-unsafe/lib/main.js:
498
- @stdlib/buffer/alloc-unsafe/lib/polyfill.js:
499
- @stdlib/buffer/alloc-unsafe/lib/index.js:
500
- @stdlib/ndarray/base/buffer/lib/zeros.js:
501
- @stdlib/ndarray/base/buffer/lib/main.js:
502
- @stdlib/ndarray/base/buffer/lib/index.js:
503
- @stdlib/ndarray/base/buffer-dtype/lib/main.js:
504
- @stdlib/ndarray/base/buffer-dtype/lib/index.js:
505
- @stdlib/array/shape/lib/main.js:
506
- @stdlib/array/shape/lib/index.js:
507
- @stdlib/ndarray/base/vind2bind/lib/main.js:
508
- @stdlib/ndarray/base/vind2bind/lib/index.js:
509
- @stdlib/ndarray/array/lib/is_array_like_object.js:
510
- @stdlib/ndarray/array/lib/cast_buffer.js:
511
- @stdlib/ndarray/array/lib/copy_view.js:
512
- @stdlib/ndarray/array/lib/expand_shape.js:
513
- @stdlib/ndarray/array/lib/expand_strides.js:
514
- @stdlib/ndarray/array/lib/main.js:
515
- @stdlib/ndarray/array/lib/index.js:
516
- @stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/main.js:
517
- @stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/index.js:
518
- @stdlib/ndarray/base/assert/is-column-major/lib/main.js:
519
- @stdlib/ndarray/base/assert/is-column-major/lib/index.js:
520
- @stdlib/ndarray/base/assert/is-single-segment-compatible/lib/main.js:
521
- @stdlib/ndarray/base/assert/is-single-segment-compatible/lib/index.js:
522
- @stdlib/ndarray/base/assert/is-column-major-contiguous/lib/main.js:
523
- @stdlib/ndarray/base/assert/is-column-major-contiguous/lib/index.js:
524
- @stdlib/ndarray/base/assert/is-contiguous/lib/main.js:
525
- @stdlib/ndarray/base/assert/is-contiguous/lib/index.js:
526
- @stdlib/utils/property-symbols/lib/has_builtin.js:
527
- @stdlib/utils/property-symbols/lib/builtin.js:
528
- @stdlib/utils/property-symbols/lib/polyfill.js:
529
- @stdlib/utils/property-symbols/lib/index.js:
530
- @stdlib/utils/enumerable-properties/lib/main.js:
531
- @stdlib/utils/enumerable-properties/lib/index.js:
241
+ @stdlib/math/base/special/abs/lib/index.js:
532
242
  @stdlib/ndarray/base/assert/is-row-major/lib/main.js:
533
243
  @stdlib/ndarray/base/assert/is-row-major/lib/index.js:
534
- @stdlib/ndarray/base/assert/is-row-major-contiguous/lib/main.js:
535
- @stdlib/ndarray/base/assert/is-row-major-contiguous/lib/index.js:
536
- @stdlib/ndarray/base/assert/lib/index.js:
537
- @stdlib/math/base/special/ceil/lib/main.js:
538
- @stdlib/math/base/special/ceil/lib/index.js:
539
- @stdlib/math/base/special/trunc/lib/main.js:
540
- @stdlib/math/base/special/trunc/lib/index.js:
541
- @stdlib/ndarray/base/bind2vind/lib/main.js:
542
- @stdlib/ndarray/base/bind2vind/lib/index.js:
543
- @stdlib/ndarray/base/dtype-char/lib/main.js:
544
- @stdlib/ndarray/base/dtype-char/lib/index.js:
545
- @stdlib/ndarray/base/dtype-desc/lib/main.js:
546
- @stdlib/array/ctors/lib/ctors.js:
547
- @stdlib/array/ctors/lib/main.js:
548
- @stdlib/array/ctors/lib/index.js:
549
- @stdlib/assert/is-null/lib/main.js:
550
- @stdlib/assert/is-null/lib/index.js:
551
- @stdlib/assert/is-undefined/lib/main.js:
552
- @stdlib/assert/is-undefined/lib/index.js:
553
- @stdlib/ndarray/base/ind2sub/lib/assign.js:
554
- @stdlib/ndarray/base/ind2sub/lib/main.js:
555
- @stdlib/ndarray/base/ind2sub/lib/index.js:
556
- @stdlib/ndarray/base/max-view-buffer-index/lib/main.js:
557
- @stdlib/ndarray/base/max-view-buffer-index/lib/index.js:
558
- @stdlib/ndarray/base/min-view-buffer-index/lib/main.js:
559
- @stdlib/ndarray/base/min-view-buffer-index/lib/index.js:
560
- @stdlib/ndarray/base/sub2ind/lib/main.js:
561
- @stdlib/ndarray/base/sub2ind/lib/index.js:
562
- @stdlib/ndarray/base/to-array/lib/recurse.js:
563
- @stdlib/ndarray/base/to-array/lib/main.js:
564
- @stdlib/ndarray/base/to-array/lib/index.js:
565
- @stdlib/ndarray/base/lib/index.js:
566
- @stdlib/assert/is-positive-integer/lib/primitive.js:
567
- @stdlib/assert/is-positive-integer/lib/object.js:
568
- @stdlib/assert/is-positive-integer/lib/main.js:
569
- @stdlib/assert/is-positive-integer/lib/index.js:
570
- @stdlib/assert/is-function-array/lib/index.js:
571
- @stdlib/utils/eval/lib/index.js:
572
- @stdlib/assert/has-proxy-support/lib/main.js:
573
- @stdlib/assert/has-proxy-support/lib/index.js:
574
- @stdlib/proxy/ctor/lib/main.js:
575
- @stdlib/proxy/ctor/lib/polyfill.js:
576
- @stdlib/proxy/ctor/lib/index.js:
577
- @stdlib/utils/property-names/lib/has_builtin.js:
578
- @stdlib/utils/property-names/lib/builtin.js:
579
- @stdlib/utils/property-names/lib/polyfill.js:
580
- @stdlib/utils/property-names/lib/index.js:
581
- @stdlib/utils/properties-in/lib/main.js:
582
- @stdlib/utils/properties-in/lib/index.js:
583
- @stdlib/assert/is-error/lib/main.js:
584
- @stdlib/assert/is-error/lib/index.js:
585
- @stdlib/assert/is-range-error/lib/main.js:
586
- @stdlib/assert/is-range-error/lib/index.js:
587
- @stdlib/assert/is-type-error/lib/main.js:
588
- @stdlib/assert/is-type-error/lib/index.js:
589
- @stdlib/assert/is-syntax-error/lib/main.js:
590
- @stdlib/assert/is-syntax-error/lib/index.js:
591
- @stdlib/math/base/assert/is-negative-zero/lib/main.js:
592
- @stdlib/math/base/assert/is-negative-zero/lib/index.js:
593
- @stdlib/constants/float32/smallest-subnormal/lib/index.js:
594
- @stdlib/constants/float32/max-safe-integer/lib/index.js:
595
- @stdlib/constants/float32/min-safe-integer/lib/index.js:
596
- @stdlib/ndarray/min-dtype/lib/index.js:
597
- @stdlib/array/dtypes/lib/main.js:
598
- @stdlib/assert/is-symbol/lib/primitive.js:
599
- @stdlib/assert/is-symbol/lib/tostring.js:
600
- @stdlib/assert/is-symbol/lib/try2tostring.js:
601
- @stdlib/assert/is-symbol/lib/object.js:
602
- @stdlib/assert/is-symbol/lib/generic.js:
603
- @stdlib/assert/is-symbol/lib/main.js:
604
- @stdlib/utils/constant-function/lib/main.js:
605
- @stdlib/utils/constant-function/lib/index.js:
606
- @stdlib/assert/is-symbol/lib/polyfill.js:
607
- @stdlib/assert/is-symbol/lib/index.js:
608
- @stdlib/ndarray/ind2sub/lib/validate.js:
609
- @stdlib/ndarray/ind2sub/lib/main.js:
610
- @stdlib/ndarray/ind2sub/lib/assign.js:
611
- @stdlib/ndarray/ind2sub/lib/index.js:
612
- @stdlib/assert/is-iterator-like/lib/main.js:
613
- @stdlib/assert/is-iterator-like/lib/index.js:
614
- @stdlib/ndarray/next-dtype/lib/main.js:
615
- @stdlib/ndarray/next-dtype/lib/index.js:
616
- @stdlib/ndarray/promotion-rules/lib/main.js:
617
- @stdlib/ndarray/promotion-rules/lib/index.js:
618
- @stdlib/ndarray/sub2ind/lib/validate.js:
619
- @stdlib/ndarray/sub2ind/lib/main.js:
620
- @stdlib/ndarray/sub2ind/lib/index.js:
621
- @stdlib/ndarray/lib/index.js:
622
- @stdlib/math/base/special/fast/max/lib/main.js:
623
- @stdlib/math/base/special/fast/max/lib/index.js:
244
+ @stdlib/ndarray/base/bytes-per-element/lib/main.js:
245
+ @stdlib/ndarray/base/bytes-per-element/lib/index.js:
624
246
  (**
625
247
  * @license Apache-2.0
626
248
  *
@@ -652,131 +274,19 @@
652
274
  @stdlib/string/format/lib/is_string.js:
653
275
  @stdlib/string/format/lib/main.js:
654
276
  @stdlib/string/format/lib/index.js:
655
- @stdlib/boolean/ctor/lib/main.js:
656
- @stdlib/boolean/ctor/lib/index.js:
657
- @stdlib/utils/global/lib/global_this.js:
658
- @stdlib/utils/global/lib/browser.js:
659
- @stdlib/object/ctor/lib/main.js:
660
- @stdlib/object/ctor/lib/index.js:
661
- @stdlib/string/base/replace/lib/main.js:
662
- @stdlib/string/base/replace/lib/index.js:
663
277
  @stdlib/array/base/assert/is-accessor-array/lib/main.js:
664
278
  @stdlib/array/base/assert/is-accessor-array/lib/index.js:
665
279
  @stdlib/array/base/accessor-getter/lib/main.js:
666
280
  @stdlib/array/base/accessor-getter/lib/index.js:
667
281
  @stdlib/array/base/getter/lib/main.js:
668
282
  @stdlib/array/base/getter/lib/index.js:
669
- @stdlib/array/base/setter/lib/main.js:
670
- @stdlib/array/base/setter/lib/index.js:
671
- @stdlib/array/base/accessor-setter/lib/main.js:
672
- @stdlib/array/base/accessor-setter/lib/index.js:
673
- @stdlib/array/base/arraylike2object/lib/main.js:
674
- @stdlib/array/base/arraylike2object/lib/index.js:
675
- @stdlib/blas/ext/base/grev/lib/accessors.js:
676
- @stdlib/complex/base/cast-return/lib/main.js:
677
- @stdlib/complex/base/cast-return/lib/index.js:
678
- @stdlib/complex/ctors/lib/ctors.js:
679
- @stdlib/complex/ctors/lib/main.js:
680
- @stdlib/complex/ctors/lib/index.js:
681
- @stdlib/array/base/copy-indexed/lib/main.js:
682
- @stdlib/array/base/copy-indexed/lib/index.js:
683
- @stdlib/ndarray/base/assert/is-read-only/lib/main.js:
684
- @stdlib/ndarray/base/assert/is-read-only/lib/index.js:
685
- @stdlib/ndarray/base/ndarraylike2object/lib/main.js:
686
- @stdlib/ndarray/base/ndarraylike2object/lib/index.js:
687
- @stdlib/array/base/zero-to/lib/main.js:
688
- @stdlib/array/base/zero-to/lib/index.js:
689
- @stdlib/ndarray/base/unary-loop-interchange-order/lib/sort2ins.js:
690
- @stdlib/ndarray/base/unary-loop-interchange-order/lib/main.js:
691
- @stdlib/ndarray/base/unary-loop-interchange-order/lib/index.js:
283
+ @stdlib/boolean/ctor/lib/main.js:
284
+ @stdlib/boolean/ctor/lib/index.js:
285
+ @stdlib/utils/global/lib/global_this.js:
286
+ @stdlib/utils/global/lib/browser.js:
692
287
  @stdlib/ndarray/base/unary-tiling-block-size/lib/defaults.js:
693
288
  @stdlib/ndarray/base/unary-tiling-block-size/lib/main.js:
694
289
  @stdlib/ndarray/base/unary-tiling-block-size/lib/index.js:
695
- @stdlib/array/zeros/lib/main.js:
696
- @stdlib/array/zeros/lib/index.js:
697
- @stdlib/ndarray/base/expand-dimensions/lib/main.js:
698
- @stdlib/ndarray/base/expand-dimensions/lib/index.js:
699
- @stdlib/ndarray/base/from-scalar/lib/main.js:
700
- @stdlib/ndarray/base/from-scalar/lib/index.js:
701
- @stdlib/ndarray/base/maybe-broadcast-array/lib/main.js:
702
- @stdlib/ndarray/base/maybe-broadcast-array/lib/index.js:
703
- @stdlib/ndarray/base/prepend-singleton-dimensions/lib/main.js:
704
- @stdlib/ndarray/base/prepend-singleton-dimensions/lib/index.js:
705
- @stdlib/ndarray/base/remove-singleton-dimensions/lib/main.js:
706
- @stdlib/ndarray/base/remove-singleton-dimensions/lib/index.js:
707
- @stdlib/ndarray/base/transpose/lib/main.js:
708
- @stdlib/ndarray/base/transpose/lib/index.js:
709
- @stdlib/ndarray/base/unary-by/lib/2d_blocked_accessors.js:
710
- @stdlib/ndarray/base/unary-by/lib/3d_blocked_accessors.js:
711
- @stdlib/ndarray/base/unary-by/lib/4d_blocked_accessors.js:
712
- @stdlib/ndarray/base/unary-by/lib/5d_blocked_accessors.js:
713
- @stdlib/ndarray/base/unary-by/lib/6d_blocked_accessors.js:
714
- @stdlib/ndarray/base/unary-by/lib/7d_blocked_accessors.js:
715
- @stdlib/ndarray/base/unary-by/lib/8d_blocked_accessors.js:
716
- @stdlib/ndarray/base/unary-by/lib/9d_blocked_accessors.js:
717
- @stdlib/ndarray/base/unary-by/lib/10d_blocked_accessors.js:
718
- @stdlib/ndarray/base/unary-by/lib/2d_blocked.js:
719
- @stdlib/ndarray/base/unary-by/lib/3d_blocked.js:
720
- @stdlib/ndarray/base/unary-by/lib/4d_blocked.js:
721
- @stdlib/ndarray/base/unary-by/lib/5d_blocked.js:
722
- @stdlib/ndarray/base/unary-by/lib/6d_blocked.js:
723
- @stdlib/ndarray/base/unary-by/lib/7d_blocked.js:
724
- @stdlib/ndarray/base/unary-by/lib/8d_blocked.js:
725
- @stdlib/ndarray/base/unary-by/lib/9d_blocked.js:
726
- @stdlib/ndarray/base/unary-by/lib/10d_blocked.js:
727
- @stdlib/ndarray/base/unary-by/lib/0d_accessors.js:
728
- @stdlib/ndarray/base/unary-by/lib/1d_accessors.js:
729
- @stdlib/ndarray/base/unary-by/lib/2d_accessors.js:
730
- @stdlib/ndarray/base/unary-by/lib/3d_accessors.js:
731
- @stdlib/ndarray/base/unary-by/lib/4d_accessors.js:
732
- @stdlib/ndarray/base/unary-by/lib/5d_accessors.js:
733
- @stdlib/ndarray/base/unary-by/lib/6d_accessors.js:
734
- @stdlib/ndarray/base/unary-by/lib/7d_accessors.js:
735
- @stdlib/ndarray/base/unary-by/lib/8d_accessors.js:
736
- @stdlib/ndarray/base/unary-by/lib/9d_accessors.js:
737
- @stdlib/ndarray/base/unary-by/lib/10d_accessors.js:
738
- @stdlib/ndarray/base/unary-by/lib/nd_accessors.js:
739
- @stdlib/ndarray/base/unary-by/lib/0d.js:
740
- @stdlib/ndarray/base/unary-by/lib/1d.js:
741
- @stdlib/ndarray/base/unary-by/lib/2d.js:
742
- @stdlib/ndarray/base/unary-by/lib/3d.js:
743
- @stdlib/ndarray/base/unary-by/lib/4d.js:
744
- @stdlib/ndarray/base/unary-by/lib/5d.js:
745
- @stdlib/ndarray/base/unary-by/lib/6d.js:
746
- @stdlib/ndarray/base/unary-by/lib/7d.js:
747
- @stdlib/ndarray/base/unary-by/lib/8d.js:
748
- @stdlib/ndarray/base/unary-by/lib/9d.js:
749
- @stdlib/ndarray/base/unary-by/lib/10d.js:
750
- @stdlib/ndarray/base/unary-by/lib/nd.js:
751
- @stdlib/ndarray/base/unary-by/lib/main.js:
752
- @stdlib/ndarray/base/unary-by/lib/index.js:
753
- @stdlib/ndarray/base/zeros/lib/main.js:
754
- @stdlib/ndarray/base/zeros/lib/index.js:
755
- @stdlib/ndarray/base/zeros-like/lib/main.js:
756
- @stdlib/ndarray/base/zeros-like/lib/index.js:
757
- @stdlib/string/base/trim/lib/has_builtin.js:
758
- @stdlib/string/base/trim/lib/builtin.js:
759
- @stdlib/string/base/trim/lib/check.js:
760
- @stdlib/string/base/trim/lib/polyfill.js:
761
- @stdlib/string/base/trim/lib/main.js:
762
- @stdlib/string/base/trim/lib/index.js:
763
- @stdlib/complex/dtype/lib/ctor2dtype.js:
764
- @stdlib/complex/dtypes/lib/main.js:
765
- @stdlib/complex/dtypes/lib/index.js:
766
- @stdlib/complex/dtype/lib/dtypes.js:
767
- @stdlib/complex/dtype/lib/ctors.js:
768
- @stdlib/complex/dtype/lib/main.js:
769
- @stdlib/complex/dtype/lib/index.js:
770
- @stdlib/ndarray/from-scalar/lib/main.js:
771
- @stdlib/ndarray/from-scalar/lib/index.js:
772
- @stdlib/array/base/copy/lib/main.js:
773
- @stdlib/array/base/copy/lib/index.js:
774
- @stdlib/array/base/take/lib/main.js:
775
- @stdlib/array/base/take/lib/index.js:
776
- @stdlib/ndarray/zeros/lib/main.js:
777
- @stdlib/ndarray/zeros/lib/index.js:
778
- @stdlib/ndarray/zeros-like/lib/main.js:
779
- @stdlib/ndarray/zeros-like/lib/index.js:
780
290
  (**
781
291
  * @license Apache-2.0
782
292
  *
@@ -795,9 +305,6 @@
795
305
  * limitations under the License.
796
306
  *)
797
307
 
798
- @stdlib/blas/base/layouts/lib/main.js:
799
- @stdlib/blas/base/layouts/lib/enum.js:
800
- @stdlib/blas/base/layouts/lib/index.js:
801
308
  @stdlib/array/dtype/lib/ctor2dtype.js:
802
309
  @stdlib/array/base/assert/is-complex64array/lib/main.js:
803
310
  @stdlib/array/base/assert/is-complex64array/lib/index.js:
@@ -811,98 +318,9 @@
811
318
  @stdlib/array/bool/lib/index.js:
812
319
  @stdlib/array/dtype/lib/ctors.js:
813
320
  @stdlib/array/dtype/lib/dtypes.js:
814
- @stdlib/ndarray/defaults/lib/main.js:
815
- @stdlib/ndarray/defaults/lib/get.js:
816
- @stdlib/ndarray/base/buffer-ctors/lib/ctors.js:
817
- @stdlib/ndarray/base/buffer-dtype/lib/ctor2dtype.js:
818
- @stdlib/ndarray/base/buffer-dtype/lib/ctors.js:
819
- @stdlib/ndarray/base/buffer-dtype/lib/dtypes.js:
820
- @stdlib/ndarray/at/lib/main.js:
821
- @stdlib/ndarray/at/lib/index.js:
822
- @stdlib/array/base/assert/has-equal-values-indexed/lib/main.js:
823
- @stdlib/array/base/assert/has-equal-values-indexed/lib/index.js:
824
- @stdlib/ndarray/base/assert/has-equal-shape/lib/main.js:
825
- @stdlib/ndarray/base/assert/has-equal-shape/lib/index.js:
826
- @stdlib/ndarray/base/assert/is-boolean-data-type/lib/main.js:
827
- @stdlib/ndarray/base/assert/is-boolean-data-type/lib/index.js:
828
- @stdlib/array/base/zero-to/lib/assign.js:
829
- @stdlib/array/defaults/lib/main.js:
830
- @stdlib/array/defaults/lib/get.js:
831
- @stdlib/slice/base/int2slice/lib/error_out_of_bounds.js:
832
- @stdlib/slice/base/int2slice/lib/main.js:
833
- @stdlib/slice/base/int2slice/lib/index.js:
834
- @stdlib/array/base/nulls/lib/main.js:
835
- @stdlib/array/base/nulls/lib/index.js:
836
- @stdlib/array/base/reverse/lib/main.js:
837
- @stdlib/array/base/reverse/lib/index.js:
838
- @stdlib/ndarray/base/for-each/lib/2d_blocked_accessors.js:
839
- @stdlib/ndarray/base/for-each/lib/3d_blocked_accessors.js:
840
- @stdlib/ndarray/base/for-each/lib/4d_blocked_accessors.js:
841
- @stdlib/ndarray/base/for-each/lib/5d_blocked_accessors.js:
842
- @stdlib/ndarray/base/for-each/lib/6d_blocked_accessors.js:
843
- @stdlib/ndarray/base/for-each/lib/7d_blocked_accessors.js:
844
- @stdlib/ndarray/base/for-each/lib/8d_blocked_accessors.js:
845
- @stdlib/ndarray/base/for-each/lib/9d_blocked_accessors.js:
846
- @stdlib/ndarray/base/for-each/lib/10d_blocked_accessors.js:
847
- @stdlib/ndarray/base/for-each/lib/2d_blocked.js:
848
- @stdlib/ndarray/base/for-each/lib/3d_blocked.js:
849
- @stdlib/ndarray/base/for-each/lib/4d_blocked.js:
850
- @stdlib/ndarray/base/for-each/lib/5d_blocked.js:
851
- @stdlib/ndarray/base/for-each/lib/6d_blocked.js:
852
- @stdlib/ndarray/base/for-each/lib/7d_blocked.js:
853
- @stdlib/ndarray/base/for-each/lib/8d_blocked.js:
854
- @stdlib/ndarray/base/for-each/lib/9d_blocked.js:
855
- @stdlib/ndarray/base/for-each/lib/10d_blocked.js:
856
- @stdlib/ndarray/base/for-each/lib/0d_accessors.js:
857
- @stdlib/ndarray/base/for-each/lib/1d_accessors.js:
858
- @stdlib/ndarray/base/for-each/lib/2d_accessors.js:
859
- @stdlib/ndarray/base/for-each/lib/3d_accessors.js:
860
- @stdlib/ndarray/base/for-each/lib/4d_accessors.js:
861
- @stdlib/ndarray/base/for-each/lib/5d_accessors.js:
862
- @stdlib/ndarray/base/for-each/lib/6d_accessors.js:
863
- @stdlib/ndarray/base/for-each/lib/7d_accessors.js:
864
- @stdlib/ndarray/base/for-each/lib/8d_accessors.js:
865
- @stdlib/ndarray/base/for-each/lib/9d_accessors.js:
866
- @stdlib/ndarray/base/for-each/lib/10d_accessors.js:
867
- @stdlib/ndarray/base/for-each/lib/nd_accessors.js:
868
- @stdlib/ndarray/base/for-each/lib/0d.js:
869
- @stdlib/ndarray/base/for-each/lib/1d.js:
870
- @stdlib/ndarray/base/for-each/lib/2d.js:
871
- @stdlib/ndarray/base/for-each/lib/3d.js:
872
- @stdlib/ndarray/base/for-each/lib/4d.js:
873
- @stdlib/ndarray/base/for-each/lib/5d.js:
874
- @stdlib/ndarray/base/for-each/lib/6d.js:
875
- @stdlib/ndarray/base/for-each/lib/7d.js:
876
- @stdlib/ndarray/base/for-each/lib/8d.js:
877
- @stdlib/ndarray/base/for-each/lib/9d.js:
878
- @stdlib/ndarray/base/for-each/lib/10d.js:
879
- @stdlib/ndarray/base/for-each/lib/nd.js:
880
- @stdlib/ndarray/base/for-each/lib/main.js:
881
- @stdlib/ndarray/base/for-each/lib/index.js:
882
- @stdlib/ndarray/base/ndarraylike2ndarray/lib/main.js:
883
- @stdlib/ndarray/base/ndarraylike2ndarray/lib/index.js:
884
- @stdlib/ndarray/min-dtype/lib/main.js:
885
- @stdlib/array/dtypes/lib/index.js:
886
- @stdlib/array/base/assert/is-complex-floating-point-data-type/lib/main.js:
887
- @stdlib/array/base/assert/is-complex-floating-point-data-type/lib/index.js:
888
- @stdlib/ndarray/iter/interleave-subarrays/lib/main.js:
889
- @stdlib/ndarray/iter/interleave-subarrays/lib/index.js:
890
- @stdlib/ndarray/iter/select-dimension/lib/main.js:
891
- @stdlib/ndarray/iter/select-dimension/lib/index.js:
892
- @stdlib/array/base/assert/is-boolean-data-type/lib/main.js:
893
- @stdlib/array/base/assert/is-boolean-data-type/lib/index.js:
894
- @stdlib/strided/base/reinterpret-complex/lib/main.js:
895
- @stdlib/strided/base/reinterpret-complex/lib/index.js:
896
- @stdlib/strided/base/reinterpret-boolean/lib/main.js:
897
- @stdlib/strided/base/reinterpret-boolean/lib/index.js:
898
- @stdlib/array/base/take/lib/assign.js:
899
- @stdlib/array/base/put/lib/index.js:
900
- @stdlib/ndarray/iter/stacks/lib/main.js:
901
- @stdlib/ndarray/iter/stacks/lib/index.js:
902
- @stdlib/ndarray/iter/subarrays/lib/main.js:
903
- @stdlib/ndarray/iter/subarrays/lib/index.js:
904
- @stdlib/ndarray/ndarraylike2ndarray/lib/main.js:
905
- @stdlib/ndarray/ndarraylike2ndarray/lib/index.js:
321
+ @stdlib/blas/base/layouts/lib/main.js:
322
+ @stdlib/blas/base/layouts/lib/enum.js:
323
+ @stdlib/blas/base/layouts/lib/index.js:
906
324
  @stdlib/blas/base/assert/is-layout/lib/main.js:
907
325
  @stdlib/blas/base/assert/is-layout/lib/index.js:
908
326
  @stdlib/blas/base/transpose-operations/lib/main.js:
@@ -937,354 +355,6 @@
937
355
  @stdlib/array/base/assert/contains/lib/main.js:
938
356
  @stdlib/array/base/assert/contains/lib/factory.js:
939
357
  @stdlib/array/base/assert/contains/lib/index.js:
940
- @stdlib/ndarray/defaults/lib/index.js:
941
- @stdlib/ndarray/base/normalize-index/lib/main.js:
942
- @stdlib/ndarray/base/normalize-index/lib/index.js:
943
- @stdlib/ndarray/base/ind/lib/factory.js:
944
- @stdlib/ndarray/mostly-safe-casts/lib/main.js:
945
- @stdlib/ndarray/mostly-safe-casts/lib/index.js:
946
- @stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/main.js:
947
- @stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/index.js:
948
- @stdlib/ndarray/dtype/lib/main.js:
949
- @stdlib/ndarray/dtype/lib/index.js:
950
- @stdlib/ndarray/shape/lib/main.js:
951
- @stdlib/ndarray/shape/lib/index.js:
952
- @stdlib/ndarray/strides/lib/main.js:
953
- @stdlib/ndarray/strides/lib/index.js:
954
- @stdlib/ndarray/offset/lib/main.js:
955
- @stdlib/ndarray/offset/lib/index.js:
956
- @stdlib/ndarray/ndims/lib/main.js:
957
- @stdlib/ndarray/ndims/lib/index.js:
958
- @stdlib/ndarray/order/lib/main.js:
959
- @stdlib/ndarray/order/lib/index.js:
960
- @stdlib/ndarray/data-buffer/lib/main.js:
961
- @stdlib/ndarray/data-buffer/lib/index.js:
962
- @stdlib/array/base/flatten/lib/assign.js:
963
- @stdlib/array/base/flatten/lib/main.js:
964
- @stdlib/array/base/flatten/lib/index.js:
965
- @stdlib/ndarray/array/lib/defaults.js:
966
- @stdlib/ndarray/base/shape/lib/main.js:
967
- @stdlib/ndarray/base/shape/lib/index.js:
968
- @stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/main.js:
969
- @stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/index.js:
970
- @stdlib/ndarray/base/assert/is-floating-point-data-type/lib/main.js:
971
- @stdlib/ndarray/base/assert/is-floating-point-data-type/lib/index.js:
972
- @stdlib/ndarray/base/assert/is-integer-data-type/lib/main.js:
973
- @stdlib/ndarray/base/assert/is-integer-data-type/lib/index.js:
974
- @stdlib/ndarray/base/assert/is-numeric-data-type/lib/main.js:
975
- @stdlib/ndarray/base/assert/is-numeric-data-type/lib/index.js:
976
- @stdlib/object/assign/lib/has_object_assign.js:
977
- @stdlib/object/assign/lib/builtin.js:
978
- @stdlib/object/assign/lib/polyfill.js:
979
- @stdlib/object/assign/lib/index.js:
980
- @stdlib/ndarray/base/flags/lib/main.js:
981
- @stdlib/ndarray/base/flags/lib/index.js:
982
- @stdlib/ndarray/base/flag/lib/main.js:
983
- @stdlib/ndarray/base/flag/lib/index.js:
984
- @stdlib/ndarray/base/assert/is-real-data-type/lib/main.js:
985
- @stdlib/ndarray/base/assert/is-real-data-type/lib/index.js:
986
- @stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/main.js:
987
- @stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/index.js:
988
- @stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/main.js:
989
- @stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/index.js:
990
- @stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/main.js:
991
- @stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/index.js:
992
- @stdlib/ndarray/base/dtype/lib/main.js:
993
- @stdlib/ndarray/base/dtype/lib/index.js:
994
- @stdlib/ndarray/base/strides/lib/main.js:
995
- @stdlib/ndarray/base/strides/lib/index.js:
996
- @stdlib/ndarray/base/offset/lib/main.js:
997
- @stdlib/ndarray/base/offset/lib/index.js:
998
- @stdlib/ndarray/base/order/lib/main.js:
999
- @stdlib/ndarray/base/order/lib/index.js:
1000
- @stdlib/ndarray/base/data-buffer/lib/main.js:
1001
- @stdlib/ndarray/base/data-buffer/lib/index.js:
1002
- @stdlib/array/base/take-indexed/lib/main.js:
1003
- @stdlib/array/base/take-indexed/lib/index.js:
1004
- @stdlib/ndarray/base/assign/lib/2d_blocked_accessors.js:
1005
- @stdlib/ndarray/base/assign/lib/3d_blocked_accessors.js:
1006
- @stdlib/ndarray/base/assign/lib/4d_blocked_accessors.js:
1007
- @stdlib/ndarray/base/assign/lib/5d_blocked_accessors.js:
1008
- @stdlib/ndarray/base/assign/lib/6d_blocked_accessors.js:
1009
- @stdlib/ndarray/base/assign/lib/7d_blocked_accessors.js:
1010
- @stdlib/ndarray/base/assign/lib/8d_blocked_accessors.js:
1011
- @stdlib/ndarray/base/assign/lib/9d_blocked_accessors.js:
1012
- @stdlib/ndarray/base/assign/lib/10d_blocked_accessors.js:
1013
- @stdlib/ndarray/base/assign/lib/2d_blocked.js:
1014
- @stdlib/ndarray/base/assign/lib/3d_blocked.js:
1015
- @stdlib/ndarray/base/assign/lib/4d_blocked.js:
1016
- @stdlib/ndarray/base/assign/lib/5d_blocked.js:
1017
- @stdlib/ndarray/base/assign/lib/6d_blocked.js:
1018
- @stdlib/ndarray/base/assign/lib/7d_blocked.js:
1019
- @stdlib/ndarray/base/assign/lib/8d_blocked.js:
1020
- @stdlib/ndarray/base/assign/lib/9d_blocked.js:
1021
- @stdlib/ndarray/base/assign/lib/10d_blocked.js:
1022
- @stdlib/ndarray/base/assign/lib/0d_accessors.js:
1023
- @stdlib/ndarray/base/assign/lib/1d_accessors.js:
1024
- @stdlib/ndarray/base/assign/lib/2d_accessors.js:
1025
- @stdlib/ndarray/base/assign/lib/3d_accessors.js:
1026
- @stdlib/ndarray/base/assign/lib/4d_accessors.js:
1027
- @stdlib/ndarray/base/assign/lib/5d_accessors.js:
1028
- @stdlib/ndarray/base/assign/lib/6d_accessors.js:
1029
- @stdlib/ndarray/base/assign/lib/7d_accessors.js:
1030
- @stdlib/ndarray/base/assign/lib/8d_accessors.js:
1031
- @stdlib/ndarray/base/assign/lib/9d_accessors.js:
1032
- @stdlib/ndarray/base/assign/lib/10d_accessors.js:
1033
- @stdlib/ndarray/base/assign/lib/nd_accessors.js:
1034
- @stdlib/ndarray/base/assign/lib/0d.js:
1035
- @stdlib/ndarray/base/assign/lib/1d.js:
1036
- @stdlib/ndarray/base/assign/lib/2d.js:
1037
- @stdlib/ndarray/base/assign/lib/3d.js:
1038
- @stdlib/ndarray/base/assign/lib/4d.js:
1039
- @stdlib/ndarray/base/assign/lib/5d.js:
1040
- @stdlib/ndarray/base/assign/lib/6d.js:
1041
- @stdlib/ndarray/base/assign/lib/7d.js:
1042
- @stdlib/ndarray/base/assign/lib/8d.js:
1043
- @stdlib/ndarray/base/assign/lib/9d.js:
1044
- @stdlib/ndarray/base/assign/lib/10d.js:
1045
- @stdlib/ndarray/base/assign/lib/nd.js:
1046
- @stdlib/ndarray/base/assign/lib/main.js:
1047
- @stdlib/ndarray/base/assign/lib/index.js:
1048
- @stdlib/ndarray/base/binary-loop-interchange-order/lib/sort2ins.js:
1049
- @stdlib/ndarray/base/binary-loop-interchange-order/lib/main.js:
1050
- @stdlib/ndarray/base/binary-loop-interchange-order/lib/index.js:
1051
- @stdlib/ndarray/base/binary-tiling-block-size/lib/defaults.js:
1052
- @stdlib/ndarray/base/binary-tiling-block-size/lib/main.js:
1053
- @stdlib/ndarray/base/binary-tiling-block-size/lib/index.js:
1054
- @stdlib/ndarray/base/broadcast-arrays/lib/main.js:
1055
- @stdlib/ndarray/base/broadcast-arrays/lib/index.js:
1056
- @stdlib/ndarray/base/broadcast-scalar/lib/main.js:
1057
- @stdlib/ndarray/base/broadcast-scalar/lib/index.js:
1058
- @stdlib/array/defaults/lib/index.js:
1059
- @stdlib/array/empty/lib/polyfill.js:
1060
- @stdlib/ndarray/base/empty/lib/main.js:
1061
- @stdlib/ndarray/base/empty/lib/index.js:
1062
- @stdlib/ndarray/base/empty-like/lib/main.js:
1063
- @stdlib/ndarray/base/empty-like/lib/index.js:
1064
- @stdlib/slice/ctor/lib/main.js:
1065
- @stdlib/slice/ctor/lib/index.js:
1066
- @stdlib/assert/is-slice/lib/main.js:
1067
- @stdlib/assert/is-slice/lib/index.js:
1068
- @stdlib/slice/multi/lib/main.js:
1069
- @stdlib/slice/multi/lib/index.js:
1070
- @stdlib/slice/base/args2multislice/lib/main.js:
1071
- @stdlib/slice/base/args2multislice/lib/index.js:
1072
- @stdlib/slice/base/normalize-slice/lib/error_out_of_bounds.js:
1073
- @stdlib/slice/base/normalize-slice/lib/main.js:
1074
- @stdlib/slice/base/normalize-slice/lib/index.js:
1075
- @stdlib/slice/base/normalize-multi-slice/lib/main.js:
1076
- @stdlib/slice/base/normalize-multi-slice/lib/index.js:
1077
- @stdlib/slice/base/nonreduced-dimensions/lib/main.js:
1078
- @stdlib/slice/base/nonreduced-dimensions/lib/index.js:
1079
- @stdlib/slice/base/length/lib/main.js:
1080
- @stdlib/slice/base/length/lib/index.js:
1081
- @stdlib/slice/base/shape/lib/main.js:
1082
- @stdlib/slice/base/shape/lib/index.js:
1083
- @stdlib/ndarray/base/slice/lib/slice_start.js:
1084
- @stdlib/ndarray/base/slice/lib/slice_strides.js:
1085
- @stdlib/ndarray/base/slice/lib/empty.js:
1086
- @stdlib/ndarray/base/slice/lib/main.js:
1087
- @stdlib/ndarray/base/slice/lib/index.js:
1088
- @stdlib/ndarray/base/ndims/lib/main.js:
1089
- @stdlib/ndarray/base/ndims/lib/index.js:
1090
- @stdlib/ndarray/base/reverse-dimension/lib/main.js:
1091
- @stdlib/ndarray/base/reverse-dimension/lib/index.js:
1092
- @stdlib/ndarray/base/fliplr/lib/main.js:
1093
- @stdlib/ndarray/base/fliplr/lib/index.js:
1094
- @stdlib/ndarray/base/flipud/lib/main.js:
1095
- @stdlib/ndarray/base/flipud/lib/index.js:
1096
- @stdlib/ndarray/base/nullary-loop-interchange-order/lib/sort2ins.js:
1097
- @stdlib/ndarray/base/nullary-loop-interchange-order/lib/main.js:
1098
- @stdlib/ndarray/base/nullary-loop-interchange-order/lib/index.js:
1099
- @stdlib/ndarray/base/nullary-tiling-block-size/lib/defaults.js:
1100
- @stdlib/ndarray/base/nullary-tiling-block-size/lib/main.js:
1101
- @stdlib/ndarray/base/nullary-tiling-block-size/lib/index.js:
1102
- @stdlib/ndarray/base/maybe-broadcast-arrays/lib/main.js:
1103
- @stdlib/ndarray/base/maybe-broadcast-arrays/lib/index.js:
1104
- @stdlib/ndarray/base/next-cartesian-index/lib/assign.js:
1105
- @stdlib/ndarray/base/next-cartesian-index/lib/main.js:
1106
- @stdlib/ndarray/base/next-cartesian-index/lib/index.js:
1107
- @stdlib/ndarray/base/nullary/lib/2d_blocked_accessors.js:
1108
- @stdlib/ndarray/base/nullary/lib/3d_blocked_accessors.js:
1109
- @stdlib/ndarray/base/nullary/lib/4d_blocked_accessors.js:
1110
- @stdlib/ndarray/base/nullary/lib/5d_blocked_accessors.js:
1111
- @stdlib/ndarray/base/nullary/lib/6d_blocked_accessors.js:
1112
- @stdlib/ndarray/base/nullary/lib/7d_blocked_accessors.js:
1113
- @stdlib/ndarray/base/nullary/lib/8d_blocked_accessors.js:
1114
- @stdlib/ndarray/base/nullary/lib/9d_blocked_accessors.js:
1115
- @stdlib/ndarray/base/nullary/lib/10d_blocked_accessors.js:
1116
- @stdlib/ndarray/base/nullary/lib/2d_blocked.js:
1117
- @stdlib/ndarray/base/nullary/lib/3d_blocked.js:
1118
- @stdlib/ndarray/base/nullary/lib/4d_blocked.js:
1119
- @stdlib/ndarray/base/nullary/lib/5d_blocked.js:
1120
- @stdlib/ndarray/base/nullary/lib/6d_blocked.js:
1121
- @stdlib/ndarray/base/nullary/lib/7d_blocked.js:
1122
- @stdlib/ndarray/base/nullary/lib/8d_blocked.js:
1123
- @stdlib/ndarray/base/nullary/lib/9d_blocked.js:
1124
- @stdlib/ndarray/base/nullary/lib/10d_blocked.js:
1125
- @stdlib/ndarray/base/nullary/lib/0d_accessors.js:
1126
- @stdlib/ndarray/base/nullary/lib/1d_accessors.js:
1127
- @stdlib/ndarray/base/nullary/lib/2d_accessors.js:
1128
- @stdlib/ndarray/base/nullary/lib/3d_accessors.js:
1129
- @stdlib/ndarray/base/nullary/lib/4d_accessors.js:
1130
- @stdlib/ndarray/base/nullary/lib/5d_accessors.js:
1131
- @stdlib/ndarray/base/nullary/lib/6d_accessors.js:
1132
- @stdlib/ndarray/base/nullary/lib/7d_accessors.js:
1133
- @stdlib/ndarray/base/nullary/lib/8d_accessors.js:
1134
- @stdlib/ndarray/base/nullary/lib/9d_accessors.js:
1135
- @stdlib/ndarray/base/nullary/lib/10d_accessors.js:
1136
- @stdlib/ndarray/base/nullary/lib/nd_accessors.js:
1137
- @stdlib/ndarray/base/nullary/lib/0d.js:
1138
- @stdlib/ndarray/base/nullary/lib/1d.js:
1139
- @stdlib/ndarray/base/nullary/lib/2d.js:
1140
- @stdlib/ndarray/base/nullary/lib/3d.js:
1141
- @stdlib/ndarray/base/nullary/lib/4d.js:
1142
- @stdlib/ndarray/base/nullary/lib/5d.js:
1143
- @stdlib/ndarray/base/nullary/lib/6d.js:
1144
- @stdlib/ndarray/base/nullary/lib/7d.js:
1145
- @stdlib/ndarray/base/nullary/lib/8d.js:
1146
- @stdlib/ndarray/base/nullary/lib/9d.js:
1147
- @stdlib/ndarray/base/nullary/lib/10d.js:
1148
- @stdlib/ndarray/base/nullary/lib/nd.js:
1149
- @stdlib/ndarray/base/nullary/lib/main.js:
1150
- @stdlib/ndarray/base/nullary/lib/index.js:
1151
- @stdlib/ndarray/base/numel-dimension/lib/main.js:
1152
- @stdlib/ndarray/base/numel-dimension/lib/index.js:
1153
- @stdlib/ndarray/output-dtype-policies/lib/main.js:
1154
- @stdlib/ndarray/output-dtype-policies/lib/enum.js:
1155
- @stdlib/ndarray/output-dtype-policies/lib/assign.js:
1156
- @stdlib/ndarray/output-dtype-policies/lib/index.js:
1157
- @stdlib/ndarray/base/output-policy-enum2str/lib/main.js:
1158
- @stdlib/ndarray/base/output-policy-enum2str/lib/index.js:
1159
- @stdlib/ndarray/base/output-policy-str2enum/lib/main.js:
1160
- @stdlib/ndarray/base/output-policy-str2enum/lib/index.js:
1161
- @stdlib/ndarray/base/output-policy-resolve-enum/lib/main.js:
1162
- @stdlib/ndarray/base/output-policy-resolve-enum/lib/index.js:
1163
- @stdlib/ndarray/base/output-policy-resolve-str/lib/main.js:
1164
- @stdlib/ndarray/base/output-policy-resolve-str/lib/index.js:
1165
- @stdlib/ndarray/base/reverse/lib/main.js:
1166
- @stdlib/ndarray/base/reverse/lib/index.js:
1167
- @stdlib/ndarray/base/slice-assign/lib/main.js:
1168
- @stdlib/ndarray/base/slice-assign/lib/index.js:
1169
- @stdlib/ndarray/base/slice-dimension/lib/main.js:
1170
- @stdlib/ndarray/base/slice-dimension/lib/index.js:
1171
- @stdlib/ndarray/base/slice-dimension-from/lib/main.js:
1172
- @stdlib/ndarray/base/slice-dimension-from/lib/index.js:
1173
- @stdlib/ndarray/base/slice-dimension-to/lib/main.js:
1174
- @stdlib/ndarray/base/slice-dimension-to/lib/index.js:
1175
- @stdlib/ndarray/base/slice-from/lib/main.js:
1176
- @stdlib/ndarray/base/slice-from/lib/index.js:
1177
- @stdlib/ndarray/base/slice-to/lib/main.js:
1178
- @stdlib/ndarray/base/slice-to/lib/index.js:
1179
- @stdlib/ndarray/base/stride/lib/main.js:
1180
- @stdlib/ndarray/base/stride/lib/index.js:
1181
- @stdlib/ndarray/base/unary-output-dtype/lib/main.js:
1182
- @stdlib/ndarray/base/unary-output-dtype/lib/index.js:
1183
- @stdlib/ndarray/broadcast-array/lib/main.js:
1184
- @stdlib/ndarray/broadcast-array/lib/index.js:
1185
- @stdlib/ndarray/broadcast-arrays/lib/main.js:
1186
- @stdlib/ndarray/broadcast-arrays/lib/index.js:
1187
- @stdlib/ndarray/empty/lib/main.js:
1188
- @stdlib/ndarray/empty/lib/index.js:
1189
- @stdlib/ndarray/empty-like/lib/main.js:
1190
- @stdlib/ndarray/empty-like/lib/index.js:
1191
- @stdlib/slice/base/str2slice/lib/main.js:
1192
- @stdlib/slice/base/str2slice/lib/index.js:
1193
- @stdlib/slice/base/str2multislice/lib/main.js:
1194
- @stdlib/slice/base/str2multislice/lib/index.js:
1195
- @stdlib/slice/base/seq2slice/lib/re_end_minus.js:
1196
- @stdlib/slice/base/seq2slice/lib/re_end_divide.js:
1197
- @stdlib/slice/base/seq2slice/lib/resolve_end.js:
1198
- @stdlib/slice/base/seq2slice/lib/re_colon_sep.js:
1199
- @stdlib/slice/base/seq2slice/lib/re_integer.js:
1200
- @stdlib/slice/base/seq2slice/lib/re_end.js:
1201
- @stdlib/slice/base/seq2slice/lib/error_invalid_subsequence.js:
1202
- @stdlib/slice/base/seq2slice/lib/error_out_of_bounds.js:
1203
- @stdlib/slice/base/seq2slice/lib/error_invalid_increment.js:
1204
- @stdlib/slice/base/seq2slice/lib/main.js:
1205
- @stdlib/slice/base/seq2slice/lib/index.js:
1206
- @stdlib/slice/base/seq2multislice/lib/error_invalid_ellipsis.js:
1207
- @stdlib/slice/base/seq2multislice/lib/error_insufficient_dimensions.js:
1208
- @stdlib/slice/base/seq2multislice/lib/error_too_many_dimensions.js:
1209
- @stdlib/slice/base/seq2multislice/lib/error_out_of_bounds.js:
1210
- @stdlib/slice/base/seq2multislice/lib/re_subseq_sep.js:
1211
- @stdlib/slice/base/seq2multislice/lib/re_integer.js:
1212
- @stdlib/slice/base/seq2multislice/lib/main.js:
1213
- @stdlib/slice/base/seq2multislice/lib/index.js:
1214
- @stdlib/ndarray/fancy/lib/re_integer.js:
1215
- @stdlib/ndarray/fancy/lib/re_subseq.js:
1216
- @stdlib/ndarray/fancy/lib/prop2slice.0d.js:
1217
- @stdlib/ndarray/fancy/lib/prop2slice.1d.js:
1218
- @stdlib/slice/base/sargs2multislice/lib/main.js:
1219
- @stdlib/slice/base/sargs2multislice/lib/index.js:
1220
- @stdlib/ndarray/fancy/lib/prop2slice.nd.js:
1221
- @stdlib/ndarray/fancy/lib/has_property.js:
1222
- @stdlib/ndarray/fancy/lib/get_value.js:
1223
- @stdlib/ndarray/fancy/lib/error_message.js:
1224
- @stdlib/ndarray/fancy/lib/error_constructor.js:
1225
- @stdlib/ndarray/fancy/lib/get_slice.js:
1226
- @stdlib/ndarray/fancy/lib/get.js:
1227
- @stdlib/ndarray/fancy/lib/set_value.js:
1228
- @stdlib/ndarray/fancy/lib/set_slice.js:
1229
- @stdlib/ndarray/fancy/lib/set.js:
1230
- @stdlib/ndarray/fancy/lib/main.js:
1231
- @stdlib/ndarray/fancy/lib/index.js:
1232
- @stdlib/ndarray/flag/lib/main.js:
1233
- @stdlib/ndarray/flag/lib/index.js:
1234
- @stdlib/ndarray/flags/lib/main.js:
1235
- @stdlib/ndarray/flags/lib/index.js:
1236
- @stdlib/ndarray/iter/column-entries/lib/main.js:
1237
- @stdlib/ndarray/iter/column-entries/lib/index.js:
1238
- @stdlib/ndarray/iter/columns/lib/main.js:
1239
- @stdlib/ndarray/iter/columns/lib/index.js:
1240
- @stdlib/ndarray/iter/entries/lib/main.js:
1241
- @stdlib/ndarray/iter/entries/lib/index.js:
1242
- @stdlib/ndarray/iter/indices/lib/main.js:
1243
- @stdlib/ndarray/iter/indices/lib/index.js:
1244
- @stdlib/ndarray/maybe-broadcast-array/lib/main.js:
1245
- @stdlib/ndarray/maybe-broadcast-array/lib/index.js:
1246
- @stdlib/ndarray/maybe-broadcast-arrays/lib/main.js:
1247
- @stdlib/ndarray/maybe-broadcast-arrays/lib/index.js:
1248
- @stdlib/ndarray/iter/matrices/lib/main.js:
1249
- @stdlib/ndarray/iter/matrices/lib/index.js:
1250
- @stdlib/ndarray/iter/matrix-entries/lib/main.js:
1251
- @stdlib/ndarray/iter/matrix-entries/lib/index.js:
1252
- @stdlib/ndarray/iter/row-entries/lib/main.js:
1253
- @stdlib/ndarray/iter/row-entries/lib/index.js:
1254
- @stdlib/ndarray/iter/rows/lib/main.js:
1255
- @stdlib/ndarray/iter/rows/lib/index.js:
1256
- @stdlib/array/base/resolve-getter/lib/main.js:
1257
- @stdlib/array/base/resolve-getter/lib/index.js:
1258
- @stdlib/array/base/put/lib/main.js:
1259
- @stdlib/ndarray/to-array/lib/main.js:
1260
- @stdlib/ndarray/to-array/lib/index.js:
1261
- @stdlib/ndarray/iter/to-array-each/lib/main.js:
1262
- @stdlib/ndarray/iter/to-array-each/lib/index.js:
1263
- @stdlib/ndarray/iter/values/lib/main.js:
1264
- @stdlib/ndarray/iter/values/lib/index.js:
1265
- @stdlib/ndarray/iter/lib/index.js:
1266
- @stdlib/ndarray/numel/lib/main.js:
1267
- @stdlib/ndarray/numel/lib/index.js:
1268
- @stdlib/ndarray/numel-dimension/lib/main.js:
1269
- @stdlib/ndarray/numel-dimension/lib/index.js:
1270
- @stdlib/assert/is-multi-slice/lib/main.js:
1271
- @stdlib/assert/is-multi-slice/lib/index.js:
1272
- @stdlib/ndarray/slice/lib/main.js:
1273
- @stdlib/ndarray/slice/lib/index.js:
1274
- @stdlib/ndarray/slice-assign/lib/main.js:
1275
- @stdlib/ndarray/slice-assign/lib/index.js:
1276
- @stdlib/ndarray/slice-dimension/lib/main.js:
1277
- @stdlib/ndarray/slice-dimension/lib/index.js:
1278
- @stdlib/ndarray/slice-dimension-from/lib/main.js:
1279
- @stdlib/ndarray/slice-dimension-from/lib/index.js:
1280
- @stdlib/ndarray/slice-dimension-to/lib/main.js:
1281
- @stdlib/ndarray/slice-dimension-to/lib/index.js:
1282
- @stdlib/ndarray/slice-from/lib/main.js:
1283
- @stdlib/ndarray/slice-from/lib/index.js:
1284
- @stdlib/ndarray/slice-to/lib/main.js:
1285
- @stdlib/ndarray/slice-to/lib/index.js:
1286
- @stdlib/ndarray/stride/lib/main.js:
1287
- @stdlib/ndarray/stride/lib/index.js:
1288
358
  (**
1289
359
  * @license Apache-2.0
1290
360
  *
@@ -1303,44 +373,6 @@
1303
373
  * limitations under the License.
1304
374
  *)
1305
375
 
1306
- ieee754/index.js:
1307
- (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
1308
-
1309
- buffer/index.js:
1310
- (*!
1311
- * The buffer module from node.js, for the browser.
1312
- *
1313
- * @author Feross Aboukhadijeh <https://feross.org>
1314
- * @license MIT
1315
- *)
1316
-
1317
- @stdlib/blas/ext/base/grev/lib/main.js:
1318
- @stdlib/blas/ext/base/grev/lib/ndarray.js:
1319
- @stdlib/blas/ext/base/grev/lib/index.js:
1320
- @stdlib/ndarray/base/dtypes2signatures/lib/main.js:
1321
- @stdlib/ndarray/base/dtypes2signatures/lib/index.js:
1322
- @stdlib/ndarray/base/nonsingleton-dimensions/lib/main.js:
1323
- @stdlib/ndarray/base/nonsingleton-dimensions/lib/index.js:
1324
- @stdlib/ndarray/base/singleton-dimensions/lib/main.js:
1325
- @stdlib/ndarray/base/singleton-dimensions/lib/index.js:
1326
- (**
1327
- * @license Apache-2.0
1328
- *
1329
- * Copyright (c) 2020 The Stdlib Authors.
1330
- *
1331
- * Licensed under the Apache License, Version 2.0 (the "License");
1332
- * you may not use this file except in compliance with the License.
1333
- * You may obtain a copy of the License at
1334
- *
1335
- * http://www.apache.org/licenses/LICENSE-2.0
1336
- *
1337
- * Unless required by applicable law or agreed to in writing, software
1338
- * distributed under the License is distributed on an "AS IS" BASIS,
1339
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1340
- * See the License for the specific language governing permissions and
1341
- * limitations under the License.
1342
- *)
1343
-
1344
376
  @stdlib/blas/base/ddot/lib/ndarray.js:
1345
377
  @stdlib/blas/base/ddot/lib/ddot.js:
1346
378
  @stdlib/blas/base/ddot/lib/main.js: