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.
- package/README.md +63 -138
- package/dist/numpy-ts.browser.js +99 -1067
- package/dist/numpy-ts.esm.js +99 -1067
- package/dist/numpy-ts.node.cjs +125 -1078
- package/dist/types/core/broadcasting.d.ts +16 -13
- package/dist/types/core/ndarray.d.ts +213 -52
- package/dist/types/core/storage.d.ts +25 -18
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal/compute.d.ts +18 -0
- package/dist/types/ops/arithmetic.d.ts +59 -0
- package/dist/types/ops/exponential.d.ts +28 -0
- package/package.json +8 -6
package/dist/numpy-ts.node.cjs
CHANGED
|
@@ -1,126 +1,37 @@
|
|
|
1
|
-
"use strict";var pK=Object.create;var Bo=Object.defineProperty;var yK=Object.getOwnPropertyDescriptor;var mK=Object.getOwnPropertyNames;var hK=Object.getPrototypeOf,gK=Object.prototype.hasOwnProperty;var l=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),bK=(r,e)=>{for(var a in e)Bo(r,a,{get:e[a],enumerable:!0})},wc=(r,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of mK(e))!gK.call(r,o)&&o!==a&&Bo(r,o,{get:()=>e[o],enumerable:!(t=yK(e,o))||t.enumerable});return r};var He=(r,e,a)=>(a=r!=null?pK(hK(r)):{},wc(e||!r||!r.__esModule?Bo(a,"default",{value:r,enumerable:!0}):a,r)),xK=r=>wc(Bo({},"__esModule",{value:!0}),r);var Ec=l(($Jr,Sc)=>{"use strict";var qK=typeof Object.defineProperty=="function"?Object.defineProperty:null;Sc.exports=qK});var _c=l((YJr,Ac)=>{"use strict";var wK=Ec();function SK(){try{return wK({},"x",{}),!0}catch{return!1}}Ac.exports=SK});var Tc=l((WJr,jc)=>{"use strict";var EK=Object.defineProperty;jc.exports=EK});var Tn=l((JJr,Oc)=>{"use strict";function AK(r){return typeof r=="number"}Oc.exports=AK});var On=l((XJr,Nc)=>{"use strict";function _K(r){return r[0]==="-"}function Ic(r){var e="",a;for(a=0;a<r;a++)e+="0";return e}function jK(r,e,a){var t=!1,o=e-r.length;return o<0||(_K(r)&&(t=!0,r=r.substr(1)),r=a?r+Ic(o):Ic(o)+r,t&&(r="-"+r)),r}Nc.exports=jK});var Vc=l((KJr,Rc)=>{"use strict";var TK=Tn(),Dc=On(),OK=String.prototype.toLowerCase,kc=String.prototype.toUpperCase;function IK(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(!TK(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=Dc(a,r.precision,r.padRight)),a="-"+a):(a=t.toString(e),!t&&!r.precision?a="":r.precision&&(a=Dc(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):OK.call(a)),e===8&&r.alternate&&a.charAt(0)!=="0"&&(a="0"+a),a}Rc.exports=IK});var Bc=l((HJr,zc)=>{"use strict";function NK(r){return typeof r=="string"}zc.exports=NK});var Lc=l((ZJr,Fc)=>{"use strict";var DK=Tn(),kK=Math.abs,RK=String.prototype.toLowerCase,Pc=String.prototype.toUpperCase,jt=String.prototype.replace,VK=/e\+(\d)$/,zK=/e-(\d)$/,BK=/^(\d+)$/,PK=/^(\d+)e/,FK=/\.0$/,LK=/\.0*e/,CK=/(\..*[^0])0*e/;function UK(r){var e,a,t=parseFloat(r.arg);if(!isFinite(t)){if(!DK(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":kK(t)<1e-4?(e=r.precision,e>0&&(e-=1),a=t.toExponential(e)):a=t.toPrecision(r.precision),r.alternate||(a=jt.call(a,CK,"$1e"),a=jt.call(a,LK,"e"),a=jt.call(a,FK,""));break;default:throw new Error("invalid double notation. Value: "+r.specifier)}return a=jt.call(a,VK,"e+0$1"),a=jt.call(a,zK,"e-0$1"),r.alternate&&(a=jt.call(a,BK,"$1."),a=jt.call(a,PK,"$1.e")),t>=0&&r.sign&&(a=r.sign+a),a=r.specifier===Pc.call(r.specifier)?Pc.call(a):RK.call(a),a}Fc.exports=UK});var Mc=l((QJr,Uc)=>{"use strict";function Cc(r){var e="",a;for(a=0;a<r;a++)e+=" ";return e}function MK(r,e,a){var t=e-r.length;return t<0||(r=a?r+Cc(t):Cc(t)+r),r}Uc.exports=MK});var $c=l((rXr,Gc)=>{"use strict";var GK=Vc(),$K=Bc(),YK=Lc(),WK=Mc(),JK=On(),XK=String.fromCharCode,KK=Array.isArray;function Po(r){return r!==r}function HK(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 ZK(r){var e,a,t,o,i,s,n,v,u;if(!KK(r))throw new TypeError("invalid argument. First argument must be an array. Value: `"+r+"`.");for(s="",n=1,v=0;v<r.length;v++)if(t=r[v],$K(t))s+=t;else{if(e=t.precision!==void 0,t=HK(t),!t.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+v+"`. Value: `"+t+"`.");for(t.mapping&&(n=t.mapping),a=t.flags,u=0;u<a.length;u++)switch(o=a.charAt(u),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[n],10),n+=1,Po(t.width))throw new TypeError("the argument for * width at position "+n+" 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[n],10),n+=1,Po(t.precision))throw new TypeError("the argument for * precision at position "+n+" is not a number. Value: `"+t.precision+"`.");t.precision<0&&(t.precision=1,e=!1)}switch(t.arg=arguments[n],t.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":e&&(t.padZeros=!1),t.arg=GK(t);break;case"s":t.maxWidth=e?t.precision:-1,t.arg=String(t.arg);break;case"c":if(!Po(t.arg)){if(i=parseInt(t.arg,10),i<0||i>127)throw new Error("invalid character code. Value: "+t.arg);t.arg=Po(i)?String(t.arg):XK(i)}break;case"e":case"E":case"f":case"F":case"g":case"G":e||(t.precision=6),t.arg=YK(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=JK(t.arg,t.width||t.precision,t.padRight):t.width&&(t.arg=WK(t.arg,t.width,t.padRight)),s+=t.arg||"",n+=1}return s}Gc.exports=ZK});var Wc=l((eXr,Yc)=>{"use strict";var QK=$c();Yc.exports=QK});var Xc=l((aXr,Jc)=>{"use strict";var Fo=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function rH(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 eH(r){var e,a,t,o;for(a=[],o=0,t=Fo.exec(r);t;)e=r.slice(o,Fo.lastIndex-t[0].length),e.length&&a.push(e),a.push(rH(t)),o=Fo.lastIndex,t=Fo.exec(r);return e=r.slice(o),e.length&&a.push(e),a}Jc.exports=eH});var Hc=l((tXr,Kc)=>{"use strict";var aH=Xc();Kc.exports=aH});var Qc=l((iXr,Zc)=>{"use strict";function tH(r){return typeof r=="string"}Zc.exports=tH});var ad=l((oXr,ed)=>{"use strict";var iH=Wc(),oH=Hc(),sH=Qc();function rd(r){var e,a;if(!sH(r))throw new TypeError(rd("invalid argument. First argument must be a string. Value: `%s`.",r));for(e=[oH(r)],a=1;a<arguments.length;a++)e.push(arguments[a]);return iH.apply(null,e)}ed.exports=rd});var cr=l((sXr,td)=>{"use strict";var nH=ad();td.exports=nH});var ud=l((nXr,vd)=>{"use strict";var id=cr(),Qt=Object.prototype,od=Qt.toString,sd=Qt.__defineGetter__,nd=Qt.__defineSetter__,vH=Qt.__lookupGetter__,uH=Qt.__lookupSetter__;function fH(r,e,a){var t,o,i,s;if(typeof r!="object"||r===null||od.call(r)==="[object Array]")throw new TypeError(id("invalid argument. First argument must be an object. Value: `%s`.",r));if(typeof a!="object"||a===null||od.call(a)==="[object Array]")throw new TypeError(id("invalid argument. Property descriptor must be an object. Value: `%s`.",a));if(o="value"in a,o&&(vH.call(r,e)||uH.call(r,e)?(t=r.__proto__,r.__proto__=Qt,delete r[e],r[e]=a.value,r.__proto__=t):r[e]=a.value),i="get"in a,s="set"in a,o&&(i||s))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),s&&nd&&nd.call(r,e,a.set),r}vd.exports=fH});var Tt=l((vXr,fd)=>{"use strict";var lH=_c(),cH=Tc(),dH=ud(),In;lH()?In=cH:In=dH;fd.exports=In});var cd=l((uXr,ld)=>{"use strict";var pH=Tt();function yH(r,e,a){pH(r,e,{configurable:!1,enumerable:!0,writable:!1,value:a})}ld.exports=yH});var Ot=l((fXr,dd)=>{"use strict";var mH=cd();dd.exports=mH});var yd=l((lXr,pd)=>{"use strict";var hH=Object.prototype.hasOwnProperty;function gH(r,e){return r==null?!1:hH.call(r,e)}pd.exports=gH});var Jr=l((cXr,md)=>{"use strict";var bH=yd();md.exports=bH});var gd=l((dXr,hd)=>{"use strict";function xH(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}hd.exports=xH});var Nn=l((pXr,bd)=>{"use strict";var qH=gd();bd.exports=qH});var qd=l((yXr,xd)=>{"use strict";var wH=Nn(),SH=wH();function EH(){return SH&&typeof Symbol.toStringTag=="symbol"}xd.exports=EH});var ri=l((mXr,wd)=>{"use strict";var AH=qd();wd.exports=AH});var Dn=l((hXr,Sd)=>{"use strict";var _H=Object.prototype.toString;Sd.exports=_H});var Ad=l((gXr,Ed)=>{"use strict";var jH=Dn();function TH(r){return jH.call(r)}Ed.exports=TH});var jd=l((bXr,_d)=>{"use strict";var OH=typeof Symbol=="function"?Symbol:void 0;_d.exports=OH});var kn=l((xXr,Td)=>{"use strict";var IH=jd();Td.exports=IH});var Nd=l((qXr,Id)=>{"use strict";var Od=kn(),NH=typeof Od=="function"?Od.toStringTag:"";Id.exports=NH});var kd=l((wXr,Dd)=>{"use strict";var DH=Jr(),zi=Nd(),Rn=Dn();function kH(r){var e,a,t;if(r==null)return Rn.call(r);a=r[zi],e=DH(r,zi);try{r[zi]=void 0}catch{return Rn.call(r)}return t=Rn.call(r),e?r[zi]=a:delete r[zi],t}Dd.exports=kH});var ye=l((SXr,Rd)=>{"use strict";var RH=ri(),VH=Ad(),zH=kd(),Vn;RH()?Vn=zH:Vn=VH;Rd.exports=Vn});var zd=l((EXr,Vd)=>{"use strict";var BH=ye(),zn;function PH(r){return BH(r)==="[object Array]"}Array.isArray?zn=Array.isArray:zn=PH;Vd.exports=zn});var ha=l((AXr,Bd)=>{"use strict";var FH=zd();Bd.exports=FH});var Fd=l((_Xr,Pd)=>{"use strict";var LH=ha();function CH(r){return typeof r=="object"&&r!==null&&!LH(r)}Pd.exports=CH});var Bi=l((jXr,Ld)=>{"use strict";var UH=Fd();Ld.exports=UH});var Ud=l((TXr,Cd)=>{"use strict";var MH=/./;Cd.exports=MH});var Gd=l((OXr,Md)=>{"use strict";var GH=Tt();function $H(r,e,a){GH(r,e,{configurable:!1,enumerable:!1,writable:!1,value:a})}Md.exports=$H});var Tr=l((IXr,$d)=>{"use strict";var YH=Gd();$d.exports=YH});var Bn=l((NXr,Yd)=>{"use strict";function WH(r){return typeof r=="boolean"}Yd.exports=WH});var Jd=l((DXr,Wd)=>{"use strict";var JH=Boolean;Wd.exports=JH});var It=l((kXr,Xd)=>{"use strict";var XH=Jd();Xd.exports=XH});var Hd=l((RXr,Kd)=>{"use strict";var KH=Boolean.prototype.toString;Kd.exports=KH});var Qd=l((VXr,Zd)=>{"use strict";var HH=Hd();function ZH(r){try{return HH.call(r),!0}catch{return!1}}Zd.exports=ZH});var Pn=l((zXr,r0)=>{"use strict";var QH=ri(),rZ=ye(),eZ=It(),aZ=Qd(),tZ=QH();function iZ(r){return typeof r=="object"?r instanceof eZ?!0:tZ?aZ(r):rZ(r)==="[object Boolean]":!1}r0.exports=iZ});var a0=l((BXr,e0)=>{"use strict";var oZ=Bn(),sZ=Pn();function nZ(r){return oZ(r)||sZ(r)}e0.exports=nZ});var de=l((PXr,i0)=>{"use strict";var t0=Tr(),Fn=a0(),vZ=Bn(),uZ=Pn();t0(Fn,"isPrimitive",vZ);t0(Fn,"isObject",uZ);i0.exports=Fn});var s0=l((FXr,o0)=>{"use strict";function fZ(){return new Function("return this;")()}o0.exports=fZ});var v0=l((LXr,n0)=>{"use strict";var lZ=typeof self=="object"?self:null;n0.exports=lZ});var f0=l((CXr,u0)=>{"use strict";var cZ=typeof window=="object"?window:null;u0.exports=cZ});var c0=l((UXr,l0)=>{"use strict";var dZ=typeof global=="object"?global:null;l0.exports=dZ});var p0=l((MXr,d0)=>{"use strict";var pZ=typeof globalThis=="object"?globalThis:null;d0.exports=pZ});var x0=l((GXr,b0)=>{"use strict";var yZ=de().isPrimitive,mZ=cr(),hZ=s0(),y0=v0(),m0=f0(),h0=c0(),g0=p0();function gZ(r){if(arguments.length){if(!yZ(r))throw new TypeError(mZ("invalid argument. Must provide a boolean. Value: `%s`.",r));if(r)return hZ()}if(g0)return g0;if(y0)return y0;if(m0)return m0;if(h0)return h0;throw new Error("unexpected error. Unable to resolve global object.")}b0.exports=gZ});var Ln=l(($Xr,q0)=>{"use strict";var bZ=x0();q0.exports=bZ});var E0=l((YXr,S0)=>{"use strict";var xZ=Ln(),w0=xZ(),qZ=w0.document&&w0.document.childNodes;S0.exports=qZ});var _0=l((WXr,A0)=>{"use strict";var wZ=Int8Array;A0.exports=wZ});var T0=l((JXr,j0)=>{"use strict";var SZ=Ud(),EZ=E0(),AZ=_0();function _Z(){return typeof SZ=="function"||typeof AZ=="object"||typeof EZ=="function"}j0.exports=_Z});var Cn=l((XXr,O0)=>{"use strict";function jZ(){return/^\s*function\s*([^(]*)/i}O0.exports=jZ});var N0=l((KXr,I0)=>{"use strict";var TZ=Cn(),OZ=TZ();I0.exports=OZ});var R0=l((HXr,k0)=>{"use strict";var IZ=Tr(),D0=Cn(),NZ=N0();IZ(D0,"REGEXP",NZ);k0.exports=D0});var z0=l((ZXr,V0)=>{"use strict";var DZ=ha(),kZ=cr();function RZ(r){if(typeof r!="function")throw new TypeError(kZ("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!DZ(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}V0.exports=RZ});var Un=l((QXr,B0)=>{"use strict";var VZ=z0();B0.exports=VZ});var F0=l((rKr,P0)=>{"use strict";function zZ(r){return r!==null&&typeof r=="object"}P0.exports=zZ});var Lo=l((eKr,L0)=>{"use strict";var BZ=Tr(),PZ=Un(),Mn=F0(),FZ=PZ(Mn);BZ(Mn,"isObjectLikeArray",FZ);L0.exports=Mn});var U0=l((aKr,C0)=>{"use strict";var LZ=Lo();function CZ(r){return LZ(r)&&(r._isBuffer||r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r))}C0.exports=CZ});var Pi=l((tKr,M0)=>{"use strict";var UZ=U0();M0.exports=UZ});var $0=l((iKr,G0)=>{"use strict";var MZ=ye(),GZ=R0().REGEXP,$Z=Pi();function YZ(r){var e,a,t;if(a=MZ(r).slice(8,-1),(a==="Object"||a==="Error")&&r.constructor){if(t=r.constructor,typeof t.name=="string")return t.name;if(e=GZ.exec(t.toString()),e)return e[1]}return $Z(r)?"Buffer":a}G0.exports=YZ});var pt=l((oKr,Y0)=>{"use strict";var WZ=$0();Y0.exports=WZ});var J0=l((sKr,W0)=>{"use strict";var JZ=pt();function XZ(r){var e;return r===null?"null":(e=typeof r,e==="object"?JZ(r).toLowerCase():e)}W0.exports=XZ});var K0=l((nKr,X0)=>{"use strict";var KZ=pt();function HZ(r){return KZ(r).toLowerCase()}X0.exports=HZ});var ei=l((vKr,H0)=>{"use strict";var ZZ=T0(),QZ=J0(),rQ=K0(),eQ=ZZ()?rQ:QZ;H0.exports=eQ});var Q0=l((uKr,Z0)=>{"use strict";var aQ=ei();function tQ(r){return aQ(r)==="function"}Z0.exports=tQ});var Fe=l((fKr,rp)=>{"use strict";var iQ=Q0();rp.exports=iQ});var ap=l((lKr,ep)=>{"use strict";var oQ=Object;ep.exports=oQ});var Nt=l((cKr,tp)=>{"use strict";var sQ=ap();tp.exports=sQ});var op=l((dKr,ip)=>{"use strict";var nQ=Object.getPrototypeOf;ip.exports=nQ});var np=l((pKr,sp)=>{"use strict";function vQ(r){return r.__proto__}sp.exports=vQ});var up=l((yKr,vp)=>{"use strict";var uQ=ye(),fQ=np();function lQ(r){var e=fQ(r);return e||e===null?e:uQ(r.constructor)==="[object Function]"?r.constructor.prototype:r instanceof Object?Object.prototype:null}vp.exports=lQ});var lp=l((mKr,fp)=>{"use strict";var cQ=Fe(),dQ=op(),pQ=up(),Gn;cQ(Object.getPrototypeOf)?Gn=dQ:Gn=pQ;fp.exports=Gn});var dp=l((hKr,cp)=>{"use strict";var yQ=Nt(),mQ=lp();function hQ(r){return r==null?null:(r=yQ(r),mQ(r))}cp.exports=hQ});var Dt=l((gKr,pp)=>{"use strict";var gQ=dp();pp.exports=gQ});var hp=l((bKr,mp)=>{"use strict";var bQ=Bi(),yp=Fe(),xQ=Dt(),Co=Jr(),qQ=ye(),wQ=Object.prototype;function SQ(r){var e;for(e in r)if(!Co(r,e))return!1;return!0}function EQ(r){var e;return bQ(r)?(e=xQ(r),e?!Co(r,"constructor")&&Co(e,"constructor")&&yp(e.constructor)&&qQ(e.constructor)==="[object Function]"&&Co(e,"isPrototypeOf")&&yp(e.isPrototypeOf)&&(e===wQ||SQ(r)):!0):!1}mp.exports=EQ});var oe=l((xKr,gp)=>{"use strict";var AQ=hp();gp.exports=AQ});var $n=l((qKr,bp)=>{"use strict";function _Q(r){return typeof r=="number"}bp.exports=_Q});var qp=l((wKr,xp)=>{"use strict";xp.exports=Number});var Uo=l((SKr,wp)=>{"use strict";var jQ=qp();wp.exports=jQ});var Ep=l((EKr,Sp)=>{"use strict";var TQ=Uo(),OQ=TQ.prototype.toString;Sp.exports=OQ});var _p=l((AKr,Ap)=>{"use strict";var IQ=Ep();function NQ(r){try{return IQ.call(r),!0}catch{return!1}}Ap.exports=NQ});var Yn=l((_Kr,jp)=>{"use strict";var DQ=ri(),kQ=ye(),RQ=Uo(),VQ=_p(),zQ=DQ();function BQ(r){return typeof r=="object"?r instanceof RQ?!0:zQ?VQ(r):kQ(r)==="[object Number]":!1}jp.exports=BQ});var Op=l((jKr,Tp)=>{"use strict";var PQ=$n(),FQ=Yn();function LQ(r){return PQ(r)||FQ(r)}Tp.exports=LQ});var Ue=l((TKr,Np)=>{"use strict";var Ip=Tr(),Wn=Op(),CQ=$n(),UQ=Yn();Ip(Wn,"isPrimitive",CQ);Ip(Wn,"isObject",UQ);Np.exports=Wn});var Fi=l((OKr,Dp)=>{"use strict";var MQ=Number.POSITIVE_INFINITY;Dp.exports=MQ});var Mo=l((IKr,kp)=>{"use strict";var GQ=Uo(),$Q=GQ.NEGATIVE_INFINITY;kp.exports=$Q});var Vp=l((NKr,Rp)=>{"use strict";var YQ=Math.floor;Rp.exports=YQ});var Ze=l((DKr,zp)=>{"use strict";var WQ=Vp();zp.exports=WQ});var Pp=l((kKr,Bp)=>{"use strict";var JQ=Ze();function XQ(r){return JQ(r)===r}Bp.exports=XQ});var ga=l((RKr,Fp)=>{"use strict";var KQ=Pp();Fp.exports=KQ});var Jn=l((VKr,Lp)=>{"use strict";var HQ=Fi(),ZQ=Mo(),QQ=ga();function rrr(r){return r<HQ&&r>ZQ&&QQ(r)}Lp.exports=rrr});var Xn=l((zKr,Cp)=>{"use strict";var err=Ue().isPrimitive,arr=Jn();function trr(r){return err(r)&&arr(r)}Cp.exports=trr});var Kn=l((BKr,Up)=>{"use strict";var irr=Ue().isObject,orr=Jn();function srr(r){return irr(r)&&orr(r.valueOf())}Up.exports=srr});var Gp=l((PKr,Mp)=>{"use strict";var nrr=Xn(),vrr=Kn();function urr(r){return nrr(r)||vrr(r)}Mp.exports=urr});var ve=l((FKr,Yp)=>{"use strict";var $p=Tr(),Hn=Gp(),frr=Xn(),lrr=Kn();$p(Hn,"isPrimitive",frr);$p(Hn,"isObject",lrr);Yp.exports=Hn});var Zn=l((LKr,Wp)=>{"use strict";var crr=ve().isPrimitive;function drr(r){return crr(r)&&r>=0}Wp.exports=drr});var Qn=l((CKr,Jp)=>{"use strict";var prr=ve().isObject;function yrr(r){return prr(r)&&r.valueOf()>=0}Jp.exports=yrr});var Kp=l((UKr,Xp)=>{"use strict";var mrr=Zn(),hrr=Qn();function grr(r){return mrr(r)||hrr(r)}Xp.exports=grr});var me=l((MKr,Zp)=>{"use strict";var Hp=Tr(),rv=Kp(),brr=Zn(),xrr=Qn();Hp(rv,"isPrimitive",brr);Hp(rv,"isObject",xrr);Zp.exports=rv});var ey=l((GKr,ry)=>{"use strict";var qrr=Ln(),Qp=qrr();function wrr(){return typeof Qp.BigInt=="function"&&typeof BigInt=="function"&&typeof Qp.BigInt("1")=="bigint"&&typeof BigInt("1")=="bigint"}ry.exports=wrr});var ev=l(($Kr,ay)=>{"use strict";var Srr=ey();ay.exports=Srr});var iy=l((YKr,ty)=>{"use strict";var Err=Tt();function Arr(r,e,a){Err(r,e,{configurable:!1,enumerable:!1,get:a})}ty.exports=Arr});var yt=l((WKr,oy)=>{"use strict";var _rr=iy();oy.exports=_rr});var sy=l((JKr,jrr)=>{jrr.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 vy=l((XKr,ny)=>{"use strict";var Trr=sy();function Orr(r){return Trr[r]||null}ny.exports=Orr});var Ka=l((KKr,uy)=>{"use strict";var Irr=vy();uy.exports=Irr});var ly=l((HKr,fy)=>{"use strict";function Nrr(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}fy.exports=Nrr});var ba=l((ZKr,cy)=>{"use strict";var Drr=ly();cy.exports=Drr});var py=l((QKr,dy)=>{"use strict";function krr(r){return Math.abs(r)}dy.exports=krr});var ai=l((rHr,yy)=>{"use strict";var Rrr=py();yy.exports=Rrr});var gy=l((eHr,hy)=>{"use strict";var my=ai();function Vrr(r){var e,a,t,o,i,s;if(a=r.length,a===0)return 0;for(e=!0,t=!0,o=my(r[0]),s=1;s<a;s++)if(i=my(r[s]),e&&i<o?e=!1:t&&i>o&&(t=!1),t||e)o=i;else return 0;return t&&e?3:t?1:2}hy.exports=Vrr});var kt=l((aHr,by)=>{"use strict";var zrr=gy();by.exports=zrr});var qy=l((tHr,xy)=>{"use strict";function Brr(r,e){return e&&(r===2||r===3)}xy.exports=Brr});var Sy=l((iHr,wy)=>{"use strict";function Prr(r,e){return e&&(r===1||r===3)}wy.exports=Prr});var Ay=l((oHr,Ey)=>{"use strict";function Frr(r,e,a){var t,o,i,s,n;for(t=r.length,o=a,i=a,n=0;n<t;n++){if(r[n]===0)return[a,a];s=e[n],s>0?i+=s*(r[n]-1):s<0&&(o+=s*(r[n]-1))}return[o,i]}Ey.exports=Frr});var jy=l((sHr,_y)=>{"use strict";function Lrr(r,e,a,t){var o,i,s,n,v;for(o=r.length,i=a,s=a,v=0;v<o;v++){if(r[v]===0)return t[0]=a,t[1]=a,t;n=e[v],n>0?s+=n*(r[v]-1):n<0&&(i+=n*(r[v]-1))}return t[0]=i,t[1]=s,t}_y.exports=Lrr});var Ha=l((nHr,Oy)=>{"use strict";var Crr=Tr(),Ty=Ay(),Urr=jy();Crr(Ty,"assign",Urr);Oy.exports=Ty});var Ny=l((vHr,Iy)=>{"use strict";var Mrr=Ha();function Grr(r,e,a,t,o){var i;return r===0||o===0?!1:(i=Mrr(e,a,t),r===i[1]-i[0]+1)}Iy.exports=Grr});var ky=l((uHr,Dy)=>{"use strict";function $rr(r){return{ROW_MAJOR_CONTIGUOUS:r.ROW_MAJOR_CONTIGUOUS,COLUMN_MAJOR_CONTIGUOUS:r.COLUMN_MAJOR_CONTIGUOUS,READONLY:r.READONLY}}Dy.exports=$rr});var Vy=l((fHr,Ry)=>{"use strict";function Yrr(r){var e,a,t,o,i,s;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(s=0;s<t;s++)i=r%a[s],r-=i,r/=a[s],o+=i*e[s];return this._accessors?this._buffer.get(o):this._buffer[o]}for(s=t-1;s>=0;s--)i=r%a[s],r-=i,r/=a[s],o+=i*e[s];return this._accessors?this._buffer.get(o):this._buffer[o]}Ry.exports=Yrr});var By=l((lHr,zy)=>{"use strict";function Wrr(r,e){var a,t,o,i,s,n;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(n=0;n<o;n++)s=r%t[n],r-=s,r/=t[n],i+=s*a[n];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}for(n=o-1;n>=0;n--)s=r%t[n],r-=s,r/=t[n],i+=s*a[n];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}zy.exports=Wrr});var Fy=l((cHr,Py)=>{"use strict";function Jrr(){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}Py.exports=Jrr});var Cy=l((dHr,Ly)=>{"use strict";function Xrr(){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]}Ly.exports=Xrr});var My=l((pHr,Uy)=>{"use strict";function Krr(r){return r.re}Uy.exports=Krr});var Rt=l((yHr,Gy)=>{"use strict";var Hrr=My();Gy.exports=Hrr});var Yy=l((mHr,$y)=>{"use strict";function Zrr(r){return r.im}$y.exports=Zrr});var Vt=l((hHr,Wy)=>{"use strict";var Qrr=Yy();Wy.exports=Qrr});var Xy=l((gHr,Jy)=>{"use strict";var rer=Rt(),eer=Vt();function aer(){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(rer(a),eer(a));else for(t=0;t<e;t++)r.data.push(this.iget(t));return r}Jy.exports=aer});var av=l((bHr,Ky)=>{"use strict";function ter(r){return typeof r=="string"}Ky.exports=ter});var Zy=l((xHr,Hy)=>{"use strict";var ier=String.prototype.valueOf;Hy.exports=ier});var rm=l((qHr,Qy)=>{"use strict";var oer=Zy();function ser(r){try{return oer.call(r),!0}catch{return!1}}Qy.exports=ser});var tv=l((wHr,em)=>{"use strict";var ner=ri(),ver=ye(),uer=rm(),fer=ner();function ler(r){return typeof r=="object"?r instanceof String?!0:fer?uer(r):ver(r)==="[object String]":!1}em.exports=ler});var tm=l((SHr,am)=>{"use strict";var cer=av(),der=tv();function per(r){return cer(r)||der(r)}am.exports=per});var za=l((EHr,om)=>{"use strict";var im=Tr(),iv=tm(),yer=av(),mer=tv();im(iv,"isPrimitive",yer);im(iv,"isObject",mer);om.exports=iv});var vm=l((AHr,nm)=>{"use strict";var her=za().isPrimitive,ger=cr(),sm=/[-\/\\^$*+?.()|[\]{}]/g;function ber(r){var e,a,t;if(!her(r))throw new TypeError(ger("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(sm,"\\$&"):(a=r.substring(1,t),a=a.replace(sm,"\\$&"),r=r[0]+a+r.substring(t),r)}nm.exports=ber});var fm=l((_Hr,um)=>{"use strict";var xer=vm();um.exports=xer});var cm=l((jHr,lm)=>{"use strict";var qer=RegExp.prototype.exec;lm.exports=qer});var pm=l((THr,dm)=>{"use strict";var wer=cm();function Ser(r){try{return wer.call(r),!0}catch{return!1}}dm.exports=Ser});var mm=l((OHr,ym)=>{"use strict";var Eer=ri(),Aer=ye(),_er=pm(),jer=Eer();function Ter(r){return typeof r=="object"?r instanceof RegExp?!0:jer?_er(r):Aer(r)==="[object RegExp]":!1}ym.exports=Ter});var gm=l((IHr,hm)=>{"use strict";var Oer=mm();hm.exports=Oer});var xm=l((NHr,bm)=>{"use strict";function Ier(r,e,a){return r.replace(e,a)}bm.exports=Ier});var Za=l((DHr,qm)=>{"use strict";var Ner=xm();qm.exports=Ner});var Sm=l((kHr,wm)=>{"use strict";var Der=fm(),ker=Fe(),ov=za().isPrimitive,Rer=gm(),sv=cr(),Ver=Za();function zer(r,e,a){if(!ov(r))throw new TypeError(sv("invalid argument. First argument must be a string. Value: `%s`.",r));if(ov(e))e=new RegExp(Der(e),"g");else if(!Rer(e))throw new TypeError(sv("invalid argument. Second argument must be a string or regular expression. Value: `%s`.",e));if(!ov(a)&&!ker(a))throw new TypeError(sv("invalid argument. Third argument must be a string or replacement function. Value: `%s`.",a));return Ver(r,e,a)}wm.exports=zer});var Am=l((RHr,Em)=>{"use strict";var Ber=Sm();Em.exports=Ber});var jm=l((VHr,_m)=>{"use strict";var Per=Am(),nv=Rt(),vv=Vt(),Fer={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 Ler(){var r,e,a,t,o,i,s;if(e=this._shape.length,o=this._dtype,t="ndarray( '"+o+"', ",r="",this._length<=100)if(o==="complex64"||o==="complex128")for(s=0;s<this._length;s++)i=this.iget(s),r+=nv(i)+", "+vv(i),s<this._length-1&&(r+=", ");else for(s=0;s<this._length;s++)r+=this.iget(s),s<this._length-1&&(r+=", ");else{if(o==="complex64"||o==="complex128")for(s=0;s<3;s++)i=this.iget(s),r+=nv(i)+", "+vv(i),s<2&&(r+=", ");else for(s=0;s<3;s++)r+=this.iget(s),s<2&&(r+=", ");if(r+=", ..., ",o==="complex64"||o==="complex128")for(s=2;s>=0;s--)i=this.iget(this._length-1-s),r+=nv(i)+", "+vv(i),s>0&&(r+=", ");else for(s=2;s>=0;s--)r+=this.iget(this._length-1-s),s>0&&(r+=", ")}if(a=Fer[this.dtype],t+=Per(a,"{{data}}",r),t+=", ",e===0?t+="[]":t+="[ "+this._shape.join(", ")+" ]",t+=", ",t+="[ ",e===0)t+="0";else for(s=0;s<e;s++)this._strides[s]<0?t+=-this._strides[s]:t+=this._strides[s],s<e-1&&(t+=", ");return t+=" ]",t+=", ",t+="0",t+=", ",t+="'"+this._order+"'",t+=" )",t}_m.exports=Ler});var Om=l((zHr,Tm)=>{"use strict";var Cer=ye(),Uer=typeof Uint8Array=="function";function Mer(r){return Uer&&r instanceof Uint8Array||Cer(r)==="[object Uint8Array]"}Tm.exports=Mer});var uv=l((BHr,Im)=>{"use strict";var Ger=Om();Im.exports=Ger});var fv=l((PHr,Nm)=>{"use strict";var $er=255;Nm.exports=$er});var km=l((FHr,Dm)=>{"use strict";var Yer=typeof Uint8Array=="function"?Uint8Array:null;Dm.exports=Yer});var zm=l((LHr,Vm)=>{"use strict";var Wer=uv(),lv=fv(),Rm=km();function Jer(){var r,e;if(typeof Rm!="function")return!1;try{e=[1,3.14,-3.14,lv+1,lv+2],e=new Rm(e),r=Wer(e)&&e[0]===1&&e[1]===3&&e[2]===lv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Vm.exports=Jer});var Pm=l((CHr,Bm)=>{"use strict";var Xer=zm();Bm.exports=Xer});var Lm=l((UHr,Fm)=>{"use strict";var Ker=typeof Uint8Array=="function"?Uint8Array:void 0;Fm.exports=Ker});var Um=l((MHr,Cm)=>{"use strict";function Her(){throw new Error("not implemented")}Cm.exports=Her});var Qe=l((GHr,Mm)=>{"use strict";var Zer=Pm(),Qer=Lm(),rar=Um(),cv;Zer()?cv=Qer:cv=rar;Mm.exports=cv});var $m=l(($Hr,Gm)=>{"use strict";var ear=ye(),aar=typeof Uint16Array=="function";function tar(r){return aar&&r instanceof Uint16Array||ear(r)==="[object Uint16Array]"}Gm.exports=tar});var Wm=l((YHr,Ym)=>{"use strict";var iar=$m();Ym.exports=iar});var dv=l((WHr,Jm)=>{"use strict";var oar=65535;Jm.exports=oar});var Km=l((JHr,Xm)=>{"use strict";var sar=typeof Uint16Array=="function"?Uint16Array:null;Xm.exports=sar});var Qm=l((XHr,Zm)=>{"use strict";var nar=Wm(),pv=dv(),Hm=Km();function uar(){var r,e;if(typeof Hm!="function")return!1;try{e=[1,3.14,-3.14,pv+1,pv+2],e=new Hm(e),r=nar(e)&&e[0]===1&&e[1]===3&&e[2]===pv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Zm.exports=uar});var e1=l((KHr,r1)=>{"use strict";var far=Qm();r1.exports=far});var t1=l((HHr,a1)=>{"use strict";var lar=typeof Uint16Array=="function"?Uint16Array:void 0;a1.exports=lar});var o1=l((ZHr,i1)=>{"use strict";function car(){throw new Error("not implemented")}i1.exports=car});var zt=l((QHr,s1)=>{"use strict";var dar=e1(),par=t1(),yar=o1(),yv;dar()?yv=par:yv=yar;s1.exports=yv});var v1=l((rZr,n1)=>{"use strict";var mar=Qe(),har=zt(),gar={uint16:har,uint8:mar};n1.exports=gar});var c1=l((eZr,l1)=>{"use strict";var u1=v1(),f1;function bar(){var r,e;return r=new u1.uint16(1),r[0]=4660,e=new u1.uint8(r.buffer),e[0]===52}f1=bar();l1.exports=f1});var Bt=l((aZr,d1)=>{"use strict";var xar=c1();d1.exports=xar});var y1=l((tZr,p1)=>{"use strict";var qar=ye(),war=typeof ArrayBuffer=="function";function Sar(r){return war&&r instanceof ArrayBuffer||qar(r)==="[object ArrayBuffer]"}p1.exports=Sar});var Li=l((iZr,m1)=>{"use strict";var Ear=y1();m1.exports=Ear});var g1=l((oZr,h1)=>{"use strict";var Aar=ye(),_ar=typeof Float64Array=="function";function jar(r){return _ar&&r instanceof Float64Array||Aar(r)==="[object Float64Array]"}h1.exports=jar});var x1=l((sZr,b1)=>{"use strict";var Tar=g1();b1.exports=Tar});var w1=l((nZr,q1)=>{"use strict";var Oar=typeof Float64Array=="function"?Float64Array:null;q1.exports=Oar});var A1=l((vZr,E1)=>{"use strict";var Iar=x1(),S1=w1();function Nar(){var r,e;if(typeof S1!="function")return!1;try{e=new S1([1,3.14,-3.14,NaN]),r=Iar(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{r=!1}return r}E1.exports=Nar});var j1=l((uZr,_1)=>{"use strict";var Dar=A1();_1.exports=Dar});var O1=l((fZr,T1)=>{"use strict";var kar=typeof Float64Array=="function"?Float64Array:void 0;T1.exports=kar});var N1=l((lZr,I1)=>{"use strict";function Rar(){throw new Error("not implemented")}I1.exports=Rar});var Qa=l((cZr,D1)=>{"use strict";var Var=j1(),zar=O1(),Bar=N1(),mv;Var()?mv=zar:mv=Bar;D1.exports=mv});var R1=l((dZr,k1)=>{"use strict";var Par=typeof ArrayBuffer=="function"?ArrayBuffer:null;k1.exports=Par});var z1=l((pZr,V1)=>{"use strict";var Far=Li(),Lar=Qa(),Go=R1();function Car(){var r,e,a;if(typeof Go!="function")return!1;try{a=new Go(16),r=Far(a)&&typeof Go.isView=="function",r&&(e=new Lar(a),e[0]=-3.14,e[1]=NaN,r=r&&Go.isView(e)&&a.byteLength===16&&e[0]===-3.14&&e[1]!==e[1])}catch{r=!1}return r}V1.exports=Car});var P1=l((yZr,B1)=>{"use strict";var Uar=z1();B1.exports=Uar});var L1=l((mZr,F1)=>{"use strict";var Mar=typeof ArrayBuffer=="function"?ArrayBuffer:void 0;F1.exports=Mar});var U1=l((hZr,C1)=>{"use strict";function Gar(){throw new Error("not implemented")}C1.exports=Gar});var ti=l((gZr,M1)=>{"use strict";var $ar=P1(),Yar=L1(),War=U1(),hv;$ar()?hv=Yar:hv=War;M1.exports=hv});var $1=l((bZr,G1)=>{"use strict";var Jar=ye(),Xar=typeof DataView=="function";function Kar(r){return Xar&&r instanceof DataView||Jar(r)==="[object DataView]"}G1.exports=Kar});var W1=l((xZr,Y1)=>{"use strict";var Har=$1();Y1.exports=Har});var X1=l((qZr,J1)=>{"use strict";var Zar=typeof DataView=="function"?DataView:null;J1.exports=Zar});var Z1=l((wZr,H1)=>{"use strict";var Qar=W1(),rtr=ti(),K1=X1();function etr(){var r,e,a;if(typeof K1!="function")return!1;try{a=new rtr(24),e=new K1(a,8),r=Qar(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}H1.exports=etr});var rh=l((SZr,Q1)=>{"use strict";var atr=Z1();Q1.exports=atr});var ah=l((EZr,eh)=>{"use strict";var ttr=typeof DataView=="function"?DataView:void 0;eh.exports=ttr});var ih=l((AZr,th)=>{"use strict";function itr(){throw new Error("not implemented")}th.exports=itr});var Pt=l((_Zr,oh)=>{"use strict";var otr=rh(),str=ah(),ntr=ih(),gv;otr()?gv=str:gv=ntr;oh.exports=gv});var nh=l((jZr,sh)=>{"use strict";var vtr=typeof BigInt=="function"?BigInt:void 0;sh.exports=vtr});var bv=l((TZr,vh)=>{"use strict";var utr=nh();vh.exports=utr});var uh=l((OZr,ftr)=>{ftr.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 dh=l((IZr,ch)=>{"use strict";var ltr=Za(),fh=uh(),lh=/_and_generic$/;function ctr(){var r,e,a;return arguments.length===0?fh.all.slice():(a=!1,r=arguments[0],lh.test(r)&&(r=ltr(r,lh,""),r!=="all"&&(a=!0)),e=fh[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}ch.exports=ctr});var yh=l((NZr,ph)=>{"use strict";function dtr(){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}}ph.exports=dtr});var $o=l((DZr,mh)=>{"use strict";function ptr(r){return Object.keys(Object(r))}mh.exports=ptr});var gh=l((kZr,hh)=>{"use strict";var ytr=$o();function mtr(){return(ytr(arguments)||"").length!==2}function htr(){return mtr(1,2)}hh.exports=htr});var xh=l((RZr,bh)=>{"use strict";var gtr=typeof Object.keys<"u";bh.exports=gtr});var xv=l((VZr,qh)=>{"use strict";var btr=ye();function xtr(r){return btr(r)==="[object Arguments]"}qh.exports=xtr});var Eh=l((zZr,Sh)=>{"use strict";var qtr=xv(),wh;function wtr(){return qtr(arguments)}wh=wtr();Sh.exports=wh});var _h=l((BZr,Ah)=>{"use strict";function Str(r){return r!==r}Ah.exports=Str});var qv=l((PZr,jh)=>{"use strict";var Etr=_h();jh.exports=Etr});var wv=l((FZr,Th)=>{"use strict";var Atr=Ue().isPrimitive,_tr=qv();function jtr(r){return Atr(r)&&_tr(r)}Th.exports=jtr});var Sv=l((LZr,Oh)=>{"use strict";var Ttr=Ue().isObject,Otr=qv();function Itr(r){return Ttr(r)&&Otr(r.valueOf())}Oh.exports=Itr});var Nh=l((CZr,Ih)=>{"use strict";var Ntr=wv(),Dtr=Sv();function ktr(r){return Ntr(r)||Dtr(r)}Ih.exports=ktr});var Av=l((UZr,kh)=>{"use strict";var Dh=Tr(),Ev=Nh(),Rtr=wv(),Vtr=Sv();Dh(Ev,"isPrimitive",Rtr);Dh(Ev,"isObject",Vtr);kh.exports=Ev});var _v=l((MZr,Rh)=>{"use strict";var ztr=Object.prototype.propertyIsEnumerable;Rh.exports=ztr});var Bh=l((GZr,zh)=>{"use strict";var Btr=_v(),Vh;function Ptr(){return!Btr.call("beep","0")}Vh=Ptr();zh.exports=Vh});var Fh=l(($Zr,Ph)=>{"use strict";var Ftr=za(),Ltr=Av().isPrimitive,Ctr=ve().isPrimitive,Utr=_v(),Mtr=Bh();function Gtr(r,e){var a;return r==null?!1:(a=Utr.call(r,e),!a&&Mtr&&Ftr(r)?(e=+e,!Ltr(e)&&Ctr(e)&&e>=0&&e<r.length):a)}Ph.exports=Gtr});var Ci=l((YZr,Lh)=>{"use strict";var $tr=Fh();Lh.exports=$tr});var Yo=l((WZr,Ch)=>{"use strict";var Ytr=4294967295;Ch.exports=Ytr});var Mh=l((JZr,Uh)=>{"use strict";var Wtr=Jr(),Jtr=Ci(),Xtr=ha(),Ktr=ga(),Htr=Yo();function Ztr(r){return r!==null&&typeof r=="object"&&!Xtr(r)&&typeof r.length=="number"&&Ktr(r.length)&&r.length>=0&&r.length<=Htr&&Wtr(r,"callee")&&!Jtr(r,"callee")}Uh.exports=Ztr});var Tv=l((XZr,Gh)=>{"use strict";var Qtr=Eh(),rir=xv(),eir=Mh(),jv;Qtr?jv=rir:jv=eir;Gh.exports=jv});var Wh=l((KZr,Yh)=>{"use strict";var air=Tv(),$h=$o(),tir=Array.prototype.slice;function iir(r){return air(r)?$h(tir.call(r)):$h(r)}Yh.exports=iir});var Xh=l((HZr,Jh)=>{"use strict";function oir(){}Jh.exports=oir});var Hh=l((ZZr,Kh)=>{"use strict";var sir=Xh();Kh.exports=sir});var Qh=l((QZr,Zh)=>{"use strict";var nir=Ci(),vir=Hh(),uir=nir(vir,"prototype");Zh.exports=uir});var eg=l((rQr,rg)=>{"use strict";var fir=Ci(),lir={toString:null},cir=!fir(lir,"toString");rg.exports=cir});var tg=l((eQr,ag)=>{"use strict";var dir=9007199254740991;ag.exports=dir});var og=l((aQr,ig)=>{"use strict";var pir=ga(),yir=tg();function mir(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&pir(r.length)&&r.length>=0&&r.length<=yir}ig.exports=mir});var Ne=l((tQr,sg)=>{"use strict";var hir=og();sg.exports=hir});var fg=l((iQr,ug)=>{"use strict";var ng=Av(),gir=Ne(),bir=za().isPrimitive,xir=ve().isPrimitive,vg=cr();function qir(r,e,a){var t,o;if(!gir(r)&&!bir(r))throw new TypeError(vg("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(!xir(a))throw new TypeError(vg("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(ng(e)){for(;o<t;o++)if(ng(r[o]))return o}else for(;o<t;o++)if(r[o]===e)return o;return-1}ug.exports=qir});var cg=l((oQr,lg)=>{"use strict";var wir=fg();lg.exports=wir});var Ov=l((sQr,dg)=>{"use strict";function Sir(r){return r.constructor&&r.constructor.prototype===r}dg.exports=Sir});var pg=l((nQr,Eir)=>{Eir.exports=["console","external","frame","frameElement","frames","innerHeight","innerWidth","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","scrollLeft","scrollTop","scrollX","scrollY","self","webkitIndexedDB","webkitStorageInfo","window"]});var mg=l((vQr,yg)=>{"use strict";var Air=typeof window>"u"?void 0:window;yg.exports=Air});var xg=l((uQr,bg)=>{"use strict";var _ir=Jr(),jir=cg(),hg=ei(),Tir=Ov(),Oir=pg(),ii=mg(),gg;function Iir(){var r;if(hg(ii)==="undefined")return!1;for(r in ii)try{jir(Oir,r)===-1&&_ir(ii,r)&&ii[r]!==null&&hg(ii[r])==="object"&&Tir(ii[r])}catch{return!0}return!1}gg=Iir();bg.exports=gg});var wg=l((fQr,qg)=>{"use strict";var Nir=typeof window<"u";qg.exports=Nir});var Ag=l((lQr,Eg)=>{"use strict";var Dir=xg(),Sg=Ov(),kir=wg();function Rir(r){if(kir===!1&&!Dir)return Sg(r);try{return Sg(r)}catch{return!1}}Eg.exports=Rir});var _g=l((cQr,Vir)=>{Vir.exports=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]});var Og=l((dQr,Tg)=>{"use strict";var zir=Lo(),Iv=Jr(),Bir=Tv(),Pir=Qh(),Fir=eg(),Lir=Ag(),jg=_g();function Cir(r){var e,a,t,o,i,s,n;if(o=[],Bir(r)){for(n=0;n<r.length;n++)o.push(n.toString());return o}if(typeof r=="string"){if(r.length>0&&!Iv(r,"0"))for(n=0;n<r.length;n++)o.push(n.toString())}else{if(t=typeof r=="function",t===!1&&!zir(r))return o;a=Pir&&t}for(i in r)!(a&&i==="prototype")&&Iv(r,i)&&o.push(String(i));if(Fir)for(e=Lir(r),n=0;n<jg.length;n++)s=jg[n],!(e&&s==="constructor")&&Iv(r,s)&&o.push(String(s));return o}Tg.exports=Cir});var Ng=l((pQr,Ig)=>{"use strict";var Uir=gh(),Mir=xh(),Gir=$o(),$ir=Wh(),Yir=Og(),Wo;Mir?Uir()?Wo=$ir:Wo=Gir:Wo=Yir;Ig.exports=Wo});var xa=l((yQr,Dg)=>{"use strict";var Wir=Ng();Dg.exports=Wir});var Rg=l((mQr,kg)=>{"use strict";var Jir=Ot(),Xir=xa();function Kir(r,e){var a,t,o;for(a=Xir(e),o=0;o<a.length;o++)t=a[o],Jir(r,t,e[t]);return r}kg.exports=Kir});var De=l((hQr,zg)=>{"use strict";var Hir=Tr(),Nv=dh(),Vg=yh(),Zir=Rg();Hir(Nv,"enum",Vg);Zir(Nv,Vg());zg.exports=Nv});var Bg=l((gQr,Qir)=>{Qir.exports=["row-major","column-major"]});var Fg=l((bQr,Pg)=>{"use strict";var ror=Bg();function eor(){return ror.slice()}Pg.exports=eor});var Lg=l((xQr,aor)=>{aor.exports=["row-major","column-major"]});var Ug=l((qQr,Cg)=>{"use strict";var tor=Lg();function ior(){return tor.slice()}Cg.exports=ior});var Gg=l((wQr,Mg)=>{"use strict";function oor(){return{"row-major":101,"column-major":102}}Mg.exports=oor});var Dv=l((SQr,Yg)=>{"use strict";var sor=Tr(),$g=Ug(),nor=Gg();sor($g,"enum",nor);Yg.exports=$g});var Xg=l((EQr,Jg)=>{"use strict";var vor=Dv().enum,Wg=vor();function uor(){return{"row-major":Wg["row-major"],"column-major":Wg["column-major"]}}Jg.exports=uor});var Ft=l((AQr,Hg)=>{"use strict";var lor=Tr(),Kg=Fg(),cor=Xg();lor(Kg,"enum",cor);Hg.exports=Kg});var Zg=l((_Qr,dor)=>{dor.exports=["throw","normalize","clamp","wrap"]});var rb=l((jQr,Qg)=>{"use strict";var por=Zg();function yor(){return por.slice()}Qg.exports=yor});var ab=l((TQr,eb)=>{"use strict";function mor(){return{throw:1,clamp:2,wrap:3,normalize:4}}eb.exports=mor});var Lt=l((OQr,ib)=>{"use strict";var hor=Tr(),tb=rb(),gor=ab();hor(tb,"enum",gor);ib.exports=tb});var nb=l((IQr,sb)=>{"use strict";var mt=Bt(),bor=ti(),xor=Pt(),Ui=bv(),qor=De().enum,wor=Ft().enum,Sor=Lt().enum,Eor=qor(),Aor=wor(),ob=Sor();function _or(){var r,e,a,t,o,i,s,n,v,u,f,c,p,m;if(v=this._mode||"throw",s=this._submode||[v],c=this._ndims,p=s.length,a=33+c*16+p,n=this.__meta_dataview__,n&&n.byteLength===a)return n;for(n=new xor(new bor(a)),o=this._shape,i=this._strides,t=this._dtype,r=this._bytesPerElement,u=0,n.setInt8(u,mt?1:0),u+=1,n.setInt16(u,Eor[t],mt),u+=2,n.setBigInt64(u,Ui(c),mt),f=c*8,u+=8,m=0;m<c;m++)n.setBigInt64(u,Ui(o[m]),mt),n.setBigInt64(u+f,Ui(i[m]*r),mt),u+=8;for(u+=f,n.setBigInt64(u,Ui(this._offset*r),mt),u+=8,n.setInt8(u,Aor[this._order]),u+=1,n.setInt8(u,ob[v]),u+=1,n.setBigInt64(u,Ui(p),mt),u+=8,m=0;m<p;m++)n.setInt8(u,ob[s[m]]),u+=1;return e=0,e|=this._flags.READONLY?4:0,n.setInt32(u,e,mt),this.__meta_dataview__=n,n}sb.exports=_or});var ub=l((NQr,vb)=>{"use strict";var Mi=Bt(),jor=Qe(),Tor=Pt(),Oor=Ze(),Ior=4294967295,Nor=4294967296;function Dor(r){var e,a,t,o;return e=new jor(8),r===0||(o=(r&Ior)>>>0,t=Oor(r/Nor),a=new Tor(e.buffer),Mi?(a.setUint32(0,o,Mi),a.setUint32(4,t,Mi)):(a.setUint32(0,t,Mi),a.setUint32(4,o,Mi))),e}vb.exports=Dor});var lb=l((DQr,fb)=>{"use strict";var Gi=Bt(),kor=Qe(),Ror=Pt(),Vor=Ze(),zor=4294967295,Bor=4294967296,Xo=new kor(8),Jo=new Ror(Xo.buffer);function Por(r,e,a,t){var o,i,s;if(r===0){for(s=0;s<Xo.length;s++)e[t]=0,t+=a;return e}for(i=(r&zor)>>>0,o=Vor(r/Bor),Gi?(Jo.setUint32(0,i,Gi),Jo.setUint32(4,o,Gi)):(Jo.setUint32(0,o,Gi),Jo.setUint32(4,i,Gi)),s=0;s<Xo.length;s++)e[t]=Xo[s],t+=a;return e}fb.exports=Por});var kv=l((kQr,db)=>{"use strict";var For=Tr(),cb=ub(),Lor=lb();For(cb,"assign",Lor);db.exports=cb});var mb=l((RQr,yb)=>{"use strict";var Rv=Bt(),Cor=ti(),Uor=Pt(),Mor=Qe(),Gor=De().enum,$or=Ft().enum,Yor=Lt().enum,$i=kv().assign,Wor=Gor(),Jor=$or(),pb=Yor();function Xor(){var r,e,a,t,o,i,s,n,v,u,f,c,p,m,d;if(u=this._mode||"throw",n=this._submode||[u],p=this._ndims,m=n.length,t=33+p*16+m,v=this.__meta_dataview__,v&&v.byteLength===t)return v;for(v=new Uor(new Cor(t)),e=new Mor(v.buffer),i=this._shape,s=this._strides,o=this._dtype,r=this._bytesPerElement,f=0,v.setInt8(f,Rv?1:0),f+=1,v.setInt16(f,Wor[o],Rv),f+=2,$i(p,e,1,f),c=p*8,f+=8,d=0;d<p;d++)$i(i[d],e,1,f),$i(s[d]*r,e,1,f+c),f+=8;for(f+=c,$i(this._offset*r,e,1,f),f+=8,v.setInt8(f,Jor[this._order]),f+=1,v.setInt8(f,pb[u]),f+=1,$i(m,e,1,f),f+=8,d=0;d<m;d++)v.setInt8(f,pb[n[d]]),f+=1;return a=0,a|=this._flags.READONLY?4:0,v.setInt32(f,a,Rv),this.__meta_dataview__=v,v}yb.exports=Xor});var gb=l((VQr,hb)=>{"use strict";var Kor=ev(),ht=Tr(),qa=yt(),Hor=Ka(),Zor=ba(),Qor=kt(),rsr=It(),esr=qy(),asr=Sy(),tsr=Ny(),isr=ky(),osr=Vy(),ssr=By(),nsr=Fy(),vsr=Cy(),usr=Xy(),fsr=jm(),lsr=nb(),csr=mb();function ge(r,e,a,t,o,i){var s,n,v,u,f;if(!(this instanceof ge))return new ge(r,e,a,t,o,i);for(u=1,f=0;f<a.length;f++)u*=a[f];return e.BYTES_PER_ELEMENT?n=e.BYTES_PER_ELEMENT*u:n=null,this._byteLength=n,this._bytesPerElement=Hor(r),this._buffer=e,this._dtype=r,this._length=u,this._ndims=a.length,this._offset=o,this._order=i,this._shape=a,this._strides=t,this._accessors=rsr(e.get&&e.set),this._iterationOrder=Zor(t),s=tsr(u,a,t,o,this._iterationOrder),v=Qor(t),this._flags={ROW_MAJOR_CONTIGUOUS:asr(v,s),COLUMN_MAJOR_CONTIGUOUS:esr(v,s),READONLY:!1},this.__meta_dataview__=null,this}ht(ge,"name","ndarray");qa(ge.prototype,"byteLength",function(){return this._byteLength});qa(ge.prototype,"BYTES_PER_ELEMENT",function(){return this._bytesPerElement});qa(ge.prototype,"data",function(){return this._buffer});qa(ge.prototype,"dtype",function(){return this._dtype});qa(ge.prototype,"flags",function(){return isr(this._flags)});qa(ge.prototype,"length",function(){return this._length});qa(ge.prototype,"ndims",function(){return this._ndims});qa(ge.prototype,"offset",function(){return this._offset});qa(ge.prototype,"order",function(){return this._order});qa(ge.prototype,"shape",function(){return this._shape.slice()});qa(ge.prototype,"strides",function(){return this._strides.slice()});ht(ge.prototype,"get",vsr);ht(ge.prototype,"iget",osr);ht(ge.prototype,"set",nsr);ht(ge.prototype,"iset",ssr);ht(ge.prototype,"toString",fsr);ht(ge.prototype,"toJSON",usr);ht(ge.prototype,"__array_meta_dataview__",Kor()?lsr:csr);hb.exports=ge});var ra=l((zQr,bb)=>{"use strict";var dsr=gb();bb.exports=dsr});var qb=l((BQr,xb)=>{"use strict";var psr=ra();function ysr(r){return r instanceof psr||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"}xb.exports=ysr});var se=l((PQr,wb)=>{"use strict";var msr=qb();wb.exports=msr});var Eb=l((FQr,Sb)=>{"use strict";function hsr(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 gsr(r){var e,a,t;for(e=[],a=1,t=0;t<r.length;t++)e.push(a),a*=r[t];return e}function bsr(r,e){return e==="column-major"?gsr(r):hsr(r)}Sb.exports=bsr});var _b=l((LQr,Ab)=>{"use strict";function xsr(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 qsr(r,e){var a,t;for(a=1,t=0;t<r.length;t++)e[t]=a,a*=r[t];return e}function wsr(r,e,a){return e==="column-major"?qsr(r,a):xsr(r,a)}Ab.exports=wsr});var Ve=l((CQr,Tb)=>{"use strict";var Ssr=Tr(),jb=Eb(),Esr=_b();Ssr(jb,"assign",Esr);Tb.exports=jb});var Ib=l((UQr,Ob)=>{"use strict";function Asr(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}Ob.exports=Asr});var Me=l((MQr,Nb)=>{"use strict";var _sr=Ib();Nb.exports=_sr});var kb=l((GQr,Db)=>{"use strict";function jsr(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}Db.exports=jsr});var Wr=l(($Qr,Rb)=>{"use strict";var Tsr=kb();Rb.exports=Tsr});var Vv=l((YQr,Vb)=>{"use strict";var Osr=4294967295;Vb.exports=Osr});var Bb=l((WQr,zb)=>{"use strict";var Isr=ga(),Nsr=Vv();function Dsr(r){return r!=null&&typeof r!="function"&&typeof r.length=="number"&&Isr(r.length)&&r.length>=0&&r.length<=Nsr}zb.exports=Dsr});var Ko=l((JQr,Pb)=>{"use strict";var ksr=Bb();Pb.exports=ksr});var Lb=l((XQr,Fb)=>{"use strict";var Rsr=Ko(),Vsr=cr();function zsr(r){if(typeof r!="function")throw new TypeError(Vsr("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!Rsr(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}Fb.exports=zsr});var Ho=l((KQr,Cb)=>{"use strict";var Bsr=Lb();Cb.exports=Bsr});var Ct=l((HQr,Mb)=>{"use strict";var zv=me(),Ub=Tr(),Bv=Ho(),Psr=Bv(zv.isPrimitive),Fsr=Bv(zv.isObject),Pv=Bv(zv);Ub(Pv,"primitives",Psr);Ub(Pv,"objects",Fsr);Mb.exports=Pv});var Uv=l((ZQr,$b)=>{"use strict";var Fv=ve(),Gb=Tr(),Lv=Ho(),Lsr=Lv(Fv.isPrimitive),Csr=Lv(Fv.isObject),Cv=Lv(Fv);Gb(Cv,"primitives",Lsr);Gb(Cv,"objects",Csr);$b.exports=Cv});var Jb=l((QQr,Wb)=>{"use strict";var Usr=Ft(),Yb=Usr(),Msr=Yb.length;function Gsr(r){var e;for(e=0;e<Msr;e++)if(r===Yb[e])return!0;return!1}Wb.exports=Gsr});var wa=l((rre,Xb)=>{"use strict";var $sr=Jb();Xb.exports=$sr});var Zb=l((ere,Hb)=>{"use strict";var Kb="function";function Ysr(r){return typeof r.get===Kb&&typeof r.set===Kb}Hb.exports=Ysr});var rt=l((are,Qb)=>{"use strict";var Wsr=Zb();Qb.exports=Wsr});var a2=l((tre,e2)=>{"use strict";var r2={complex128:Jsr,complex64:Xsr,default:Ksr};function Jsr(r,e){return r.get(e)}function Xsr(r,e){return r.get(e)}function Ksr(r,e){return r.get(e)}function Hsr(r){var e=r2[r];return typeof e=="function"?e:r2.default}e2.exports=Hsr});var et=l((ire,t2)=>{"use strict";var Zsr=a2();t2.exports=Zsr});var s2=l((ore,o2)=>{"use strict";var i2={float64:Qsr,float32:rnr,int32:enr,int16:anr,int8:tnr,uint32:inr,uint16:onr,uint8:snr,uint8c:nnr,generic:vnr,default:unr};function Qsr(r,e){return r[e]}function rnr(r,e){return r[e]}function enr(r,e){return r[e]}function anr(r,e){return r[e]}function tnr(r,e){return r[e]}function inr(r,e){return r[e]}function onr(r,e){return r[e]}function snr(r,e){return r[e]}function nnr(r,e){return r[e]}function vnr(r,e){return r[e]}function unr(r,e){return r[e]}function fnr(r){var e=i2[r];return typeof e=="function"?e:i2.default}o2.exports=fnr});var gt=l((sre,n2)=>{"use strict";var lnr=s2();n2.exports=lnr});var u2=l((nre,v2)=>{"use strict";var cnr={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"};v2.exports=cnr});var l2=l((vre,f2)=>{"use strict";var dnr=ye(),pnr=typeof Float32Array=="function";function ynr(r){return pnr&&r instanceof Float32Array||dnr(r)==="[object Float32Array]"}f2.exports=ynr});var d2=l((ure,c2)=>{"use strict";var mnr=l2();c2.exports=mnr});var y2=l((fre,p2)=>{"use strict";var hnr=typeof Float32Array=="function"?Float32Array:null;p2.exports=hnr});var g2=l((lre,h2)=>{"use strict";var gnr=d2(),bnr=Fi(),m2=y2();function xnr(){var r,e;if(typeof m2!="function")return!1;try{e=new m2([1,3.14,-3.14,5e40]),r=gnr(e)&&e[0]===1&&e[1]===3.140000104904175&&e[2]===-3.140000104904175&&e[3]===bnr}catch{r=!1}return r}h2.exports=xnr});var x2=l((cre,b2)=>{"use strict";var qnr=g2();b2.exports=qnr});var w2=l((dre,q2)=>{"use strict";var wnr=typeof Float32Array=="function"?Float32Array:void 0;q2.exports=wnr});var E2=l((pre,S2)=>{"use strict";function Snr(){throw new Error("not implemented")}S2.exports=Snr});var at=l((yre,A2)=>{"use strict";var Enr=x2(),Anr=w2(),_nr=E2(),Mv;Enr()?Mv=Anr:Mv=_nr;A2.exports=Mv});var j2=l((mre,_2)=>{"use strict";var jnr=ye(),Tnr=typeof Uint32Array=="function";function Onr(r){return Tnr&&r instanceof Uint32Array||jnr(r)==="[object Uint32Array]"}_2.exports=Onr});var O2=l((hre,T2)=>{"use strict";var Inr=j2();T2.exports=Inr});var N2=l((gre,I2)=>{"use strict";var Nnr=typeof Uint32Array=="function"?Uint32Array:null;I2.exports=Nnr});var R2=l((bre,k2)=>{"use strict";var Dnr=O2(),Gv=Yo(),D2=N2();function knr(){var r,e;if(typeof D2!="function")return!1;try{e=[1,3.14,-3.14,Gv+1,Gv+2],e=new D2(e),r=Dnr(e)&&e[0]===1&&e[1]===3&&e[2]===Gv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}k2.exports=knr});var z2=l((xre,V2)=>{"use strict";var Rnr=R2();V2.exports=Rnr});var P2=l((qre,B2)=>{"use strict";var Vnr=typeof Uint32Array=="function"?Uint32Array:void 0;B2.exports=Vnr});var L2=l((wre,F2)=>{"use strict";function znr(){throw new Error("not implemented")}F2.exports=znr});var oi=l((Sre,C2)=>{"use strict";var Bnr=z2(),Pnr=P2(),Fnr=L2(),$v;Bnr()?$v=Pnr:$v=Fnr;C2.exports=$v});var M2=l((Ere,U2)=>{"use strict";var Lnr=ye(),Cnr=typeof Int32Array=="function";function Unr(r){return Cnr&&r instanceof Int32Array||Lnr(r)==="[object Int32Array]"}U2.exports=Unr});var $2=l((Are,G2)=>{"use strict";var Mnr=M2();G2.exports=Mnr});var Yv=l((_re,Y2)=>{"use strict";var Gnr=2147483647;Y2.exports=Gnr});var Wv=l((jre,W2)=>{"use strict";var $nr=-2147483648;W2.exports=$nr});var X2=l((Tre,J2)=>{"use strict";var Ynr=typeof Int32Array=="function"?Int32Array:null;J2.exports=Ynr});var Z2=l((Ore,H2)=>{"use strict";var Wnr=$2(),Jnr=Yv(),Xnr=Wv(),K2=X2();function Knr(){var r,e;if(typeof K2!="function")return!1;try{e=new K2([1,3.14,-3.14,Jnr+1]),r=Wnr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===Xnr}catch{r=!1}return r}H2.exports=Knr});var rx=l((Ire,Q2)=>{"use strict";var Hnr=Z2();Q2.exports=Hnr});var ax=l((Nre,ex)=>{"use strict";var Znr=typeof Int32Array=="function"?Int32Array:void 0;ex.exports=Znr});var ix=l((Dre,tx)=>{"use strict";function Qnr(){throw new Error("not implemented")}tx.exports=Qnr});var si=l((kre,ox)=>{"use strict";var rvr=rx(),evr=ax(),avr=ix(),Jv;rvr()?Jv=evr:Jv=avr;ox.exports=Jv});var nx=l((Rre,sx)=>{"use strict";var tvr=ye(),ivr=typeof Int16Array=="function";function ovr(r){return ivr&&r instanceof Int16Array||tvr(r)==="[object Int16Array]"}sx.exports=ovr});var ux=l((Vre,vx)=>{"use strict";var svr=nx();vx.exports=svr});var Xv=l((zre,fx)=>{"use strict";var nvr=32767;fx.exports=nvr});var Kv=l((Bre,lx)=>{"use strict";var vvr=-32768;lx.exports=vvr});var dx=l((Pre,cx)=>{"use strict";var uvr=typeof Int16Array=="function"?Int16Array:null;cx.exports=uvr});var mx=l((Fre,yx)=>{"use strict";var fvr=ux(),lvr=Xv(),cvr=Kv(),px=dx();function dvr(){var r,e;if(typeof px!="function")return!1;try{e=new px([1,3.14,-3.14,lvr+1]),r=fvr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===cvr}catch{r=!1}return r}yx.exports=dvr});var gx=l((Lre,hx)=>{"use strict";var pvr=mx();hx.exports=pvr});var xx=l((Cre,bx)=>{"use strict";var yvr=typeof Int16Array=="function"?Int16Array:void 0;bx.exports=yvr});var wx=l((Ure,qx)=>{"use strict";function mvr(){throw new Error("not implemented")}qx.exports=mvr});var ni=l((Mre,Sx)=>{"use strict";var hvr=gx(),gvr=xx(),bvr=wx(),Hv;hvr()?Hv=gvr:Hv=bvr;Sx.exports=Hv});var Ax=l((Gre,Ex)=>{"use strict";var xvr=ye(),qvr=typeof Uint8ClampedArray=="function";function wvr(r){return qvr&&r instanceof Uint8ClampedArray||xvr(r)==="[object Uint8ClampedArray]"}Ex.exports=wvr});var jx=l(($re,_x)=>{"use strict";var Svr=Ax();_x.exports=Svr});var Ox=l((Yre,Tx)=>{"use strict";var Evr=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;Tx.exports=Evr});var Dx=l((Wre,Nx)=>{"use strict";var Avr=jx(),Ix=Ox();function _vr(){var r,e;if(typeof Ix!="function")return!1;try{e=new Ix([-1,0,1,3.14,4.99,255,256]),r=Avr(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}Nx.exports=_vr});var Rx=l((Jre,kx)=>{"use strict";var jvr=Dx();kx.exports=jvr});var zx=l((Xre,Vx)=>{"use strict";var Tvr=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Vx.exports=Tvr});var Px=l((Kre,Bx)=>{"use strict";function Ovr(){throw new Error("not implemented")}Bx.exports=Ovr});var vi=l((Hre,Fx)=>{"use strict";var Ivr=Rx(),Nvr=zx(),Dvr=Px(),Zv;Ivr()?Zv=Nvr:Zv=Dvr;Fx.exports=Zv});var Cx=l((Zre,Lx)=>{"use strict";var kvr=ye(),Rvr=typeof Int8Array=="function";function Vvr(r){return Rvr&&r instanceof Int8Array||kvr(r)==="[object Int8Array]"}Lx.exports=Vvr});var Mx=l((Qre,Ux)=>{"use strict";var zvr=Cx();Ux.exports=zvr});var Qv=l((ree,Gx)=>{"use strict";var Bvr=127;Gx.exports=Bvr});var ru=l((eee,$x)=>{"use strict";var Pvr=-128;$x.exports=Pvr});var Wx=l((aee,Yx)=>{"use strict";var Fvr=typeof Int8Array=="function"?Int8Array:null;Yx.exports=Fvr});var Kx=l((tee,Xx)=>{"use strict";var Lvr=Mx(),Cvr=Qv(),Uvr=ru(),Jx=Wx();function Mvr(){var r,e;if(typeof Jx!="function")return!1;try{e=new Jx([1,3.14,-3.14,Cvr+1]),r=Lvr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===Uvr}catch{r=!1}return r}Xx.exports=Mvr});var Zx=l((iee,Hx)=>{"use strict";var Gvr=Kx();Hx.exports=Gvr});var rq=l((oee,Qx)=>{"use strict";var $vr=typeof Int8Array=="function"?Int8Array:void 0;Qx.exports=$vr});var aq=l((see,eq)=>{"use strict";function Yvr(){throw new Error("not implemented")}eq.exports=Yvr});var ui=l((nee,tq)=>{"use strict";var Wvr=Zx(),Jvr=rq(),Xvr=aq(),eu;Wvr()?eu=Jvr:eu=Xvr;tq.exports=eu});var oq=l((vee,iq)=>{"use strict";var Kvr=ga(),Hvr=Vv();function Zvr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&Kvr(r.length)&&r.length>=0&&r.length<=Hvr}iq.exports=Zvr});var ze=l((uee,sq)=>{"use strict";var Qvr=oq();sq.exports=Qvr});var Zo=l((fee,vq)=>{"use strict";var nq=Tr(),au=Un(),tu=za(),rur=au(tu.isPrimitive),eur=au(tu.isObject),iu=au(tu);nq(iu,"primitives",rur);nq(iu,"objects",eur);vq.exports=iu});var fq=l((lee,uq)=>{"use strict";function aur(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}uq.exports=aur});var cq=l((cee,lq)=>{"use strict";function tur(){var r={};return r.type="Complex128",r.re=this.re,r.im=this.im,r}lq.exports=tur});var hq=l((dee,mq)=>{"use strict";var dq=Ue().isPrimitive,pq=Tt(),Yi=Tr(),yq=cr(),iur=fq(),our=cq();function Ut(r,e){if(!(this instanceof Ut))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!dq(r))throw new TypeError(yq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!dq(e))throw new TypeError(yq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return pq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:r}),pq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:e}),this}Yi(Ut,"BYTES_PER_ELEMENT",8);Yi(Ut.prototype,"BYTES_PER_ELEMENT",8);Yi(Ut.prototype,"byteLength",16);Yi(Ut.prototype,"toString",iur);Yi(Ut.prototype,"toJSON",our);mq.exports=Ut});var Qo=l((pee,gq)=>{"use strict";var sur=hq();gq.exports=sur});var xq=l((yee,bq)=>{"use strict";var nur=typeof Math.fround=="function"?Math.fround:null;bq.exports=nur});var Sq=l((mee,wq)=>{"use strict";var vur=at(),qq=new vur(1);function uur(r){return qq[0]=r,qq[0]}wq.exports=uur});var _q=l((hee,Aq)=>{"use strict";var Eq=xq(),fur=Sq(),ou;typeof Eq=="function"?ou=Eq:ou=fur;Aq.exports=ou});var Tq=l((gee,jq)=>{"use strict";function lur(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}jq.exports=lur});var Iq=l((bee,Oq)=>{"use strict";function cur(){var r={};return r.type="Complex64",r.re=this.re,r.im=this.im,r}Oq.exports=cur});var zq=l((xee,Vq)=>{"use strict";var Nq=Ue().isPrimitive,Dq=Tt(),Wi=Tr(),kq=_q(),Rq=cr(),dur=Tq(),pur=Iq();function Mt(r,e){if(!(this instanceof Mt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Nq(r))throw new TypeError(Rq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!Nq(e))throw new TypeError(Rq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return Dq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:kq(r)}),Dq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:kq(e)}),this}Wi(Mt,"BYTES_PER_ELEMENT",4);Wi(Mt.prototype,"BYTES_PER_ELEMENT",4);Wi(Mt.prototype,"byteLength",8);Wi(Mt.prototype,"toString",dur);Wi(Mt.prototype,"toJSON",pur);Vq.exports=Mt});var rs=l((qee,Bq)=>{"use strict";var yur=zq();Bq.exports=yur});var Fq=l((wee,Pq)=>{"use strict";var mur=Qo(),hur=rs();function gur(r){return r instanceof mur||r instanceof hur?!0:typeof r=="object"&&r!==null&&typeof r.re=="number"&&typeof r.im=="number"}Pq.exports=gur});var na=l((See,Lq)=>{"use strict";var bur=Fq();Lq.exports=bur});var Uq=l((Eee,Cq)=>{"use strict";var xur=ga();function qur(r){return xur(r/2)}Cq.exports=qur});var su=l((Aee,Mq)=>{"use strict";var wur=Uq();Mq.exports=wur});var $q=l((_ee,Gq)=>{"use strict";var Sur=8;function Eur(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex64Array"&&r.BYTES_PER_ELEMENT===Sur}Gq.exports=Eur});var es=l((jee,Yq)=>{"use strict";var Aur=$q();Yq.exports=Aur});var Jq=l((Tee,Wq)=>{"use strict";var _ur=16;function jur(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex128Array"&&r.BYTES_PER_ELEMENT===_ur}Wq.exports=jur});var as=l((Oee,Xq)=>{"use strict";var Tur=Jq();Xq.exports=Tur});var Hq=l((Iee,Kq)=>{"use strict";var Our=Jr(),ts=kn();function Iur(){return typeof ts=="function"&&typeof ts("foo")=="symbol"&&Our(ts,"iterator")&&typeof ts.iterator=="symbol"}Kq.exports=Iur});var Ji=l((Nee,Zq)=>{"use strict";var Nur=Hq();Zq.exports=Nur});var rw=l((Dee,Qq)=>{"use strict";var Dur=Ji(),kur=Dur()?Symbol.iterator:null;Qq.exports=kur});var ke=l((kee,ew)=>{"use strict";var Rur=rw();ew.exports=Rur});var tw=l((Ree,aw)=>{"use strict";function Vur(r){return r.re}aw.exports=Vur});var Xi=l((Vee,iw)=>{"use strict";var zur=tw();iw.exports=zur});var sw=l((zee,ow)=>{"use strict";function Bur(r){return r.im}ow.exports=Bur});var Ki=l((Bee,nw)=>{"use strict";var Pur=sw();nw.exports=Pur});var uw=l((Pee,vw)=>{"use strict";var Fur=at();function Lur(r,e){return new Fur(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}vw.exports=Lur});var Hi=l((Fee,fw)=>{"use strict";var Cur=uw();fw.exports=Cur});var cw=l((Lee,lw)=>{"use strict";var Uur=Qa();function Mur(r,e){return new Uur(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}lw.exports=Mur});var Zi=l((Cee,dw)=>{"use strict";var Gur=cw();dw.exports=Gur});var yw=l((Uee,pw)=>{"use strict";var $ur=ze(),Yur=na(),Wur=Xi(),Jur=Ki(),Xur=cr();function Kur(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,$ur(t)&&t.length>=2)e.push(t[0],t[1]);else if(Yur(t))e.push(Wur(t),Jur(t));else return new TypeError(Xur("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=Kur});var hw=l((Mee,mw)=>{"use strict";var Hur=ze(),Zur=na(),Qur=Xi(),rfr=Ki(),efr=cr();function afr(r,e,a){var t,o,i,s;for(t=[],s=-1;o=r.next(),!o.done;)if(s+=1,i=e.call(a,o.value,s),Hur(i)&&i.length>=2)t.push(i[0],i[1]);else if(Zur(i))t.push(Qur(i),rfr(i));else return new TypeError(efr("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=afr});var bw=l((Gee,gw)=>{"use strict";var tfr=na(),ifr=Xi(),ofr=Ki();function sfr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!tfr(t))return null;r[i]=ifr(t),r[i+1]=ofr(t),i+=2}return r}gw.exports=sfr});var _w=l(($ee,Aw)=>{"use strict";var Qi=me().isPrimitive,nu=ze(),vu=Ne(),xw=Li(),uu=Bi(),nfr=ha(),vfr=Zo().primitives,qw=za().isPrimitive,Se=Fe(),ua=na(),is=su(),Ge=ga(),ufr=es(),ffr=as(),lfr=Ji(),Ba=ke(),Mr=Tr(),os=yt(),va=at(),cfr=rs(),Ir=cr(),Sa=Xi(),Ea=Ki(),dfr=Ze(),pfr=Hi(),yfr=Zi(),mfr=gt(),hfr=et(),ww=yw(),gfr=hw(),bfr=bw(),ea=va.BYTES_PER_ELEMENT*2,Sw=lfr();function re(r){return r instanceof Br||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Ew(r){return r===Br||r.name==="Complex128Array"}function be(r,e){return e*=2,new cfr(r[e],r[e+1])}function Br(){var r,e,a,t;if(e=arguments.length,!(this instanceof Br))return e===0?new Br:e===1?new Br(arguments[0]):e===2?new Br(arguments[0],arguments[1]):new Br(arguments[0],arguments[1],arguments[2]);if(e===0)a=new va(0);else if(e===1)if(Qi(arguments[0]))a=new va(arguments[0]*2);else if(vu(arguments[0]))if(a=arguments[0],t=a.length,t&&nfr(a)&&ua(a[0])){if(a=bfr(new va(t*2),a),a===null){if(!is(t))throw new RangeError(Ir("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new va(arguments[0])}}else{if(ufr(a))a=pfr(a,0);else if(ffr(a))a=yfr(a,0);else if(!is(t))throw new RangeError(Ir("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new va(a)}else if(xw(arguments[0])){if(a=arguments[0],!Ge(a.byteLength/ea))throw new RangeError(Ir("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",ea,a.byteLength));a=new va(a)}else if(uu(arguments[0])){if(a=arguments[0],Sw===!1)throw new TypeError(Ir("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Se(a[Ba]))throw new TypeError(Ir("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Ba](),!Se(a.next))throw new TypeError(Ir("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=ww(a),a instanceof Error)throw a;a=new va(a)}else throw new TypeError(Ir("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!xw(a))throw new TypeError(Ir("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!Qi(r))throw new TypeError(Ir("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!Ge(r/ea))throw new RangeError(Ir("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",ea,r));if(e===2){if(t=a.byteLength-r,!Ge(t/ea))throw new RangeError(Ir("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",ea,t));a=new va(a,r)}else{if(t=arguments[2],!Qi(t))throw new TypeError(Ir("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ea>a.byteLength-r)throw new RangeError(Ir("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ea));a=new va(a,r,t*2)}}return Mr(this,"_buffer",a),Mr(this,"_length",a.length/2),this}Mr(Br,"BYTES_PER_ELEMENT",ea);Mr(Br,"name","Complex64Array");Mr(Br,"from",function(e){var a,t,o,i,s,n,v,u,f,c,p,m;if(!Se(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Ew(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(t=arguments.length,t>1){if(o=arguments[1],!Se(o))throw new TypeError(Ir("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(re(e)){if(u=e.length,o){for(i=new this(u),s=i._buffer,m=0,p=0;p<u;p++){if(c=o.call(a,e.get(p),p),ua(c))s[m]=Sa(c),s[m+1]=Ea(c);else if(nu(c)&&c.length>=2)s[m]=c[0],s[m+1]=c[1];else throw new TypeError(Ir("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",c));m+=2}return i}return new this(e)}if(vu(e)){if(o){for(u=e.length,e.get&&e.set?v=hfr("default"):v=mfr("default"),p=0;p<u;p++)if(!ua(v(e,p))){f=!0;break}if(f){if(!is(u))throw new RangeError(Ir("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,u));for(i=new this(u/2),s=i._buffer,p=0;p<u;p++)s[p]=o.call(a,v(e,p),p);return i}for(i=new this(u),s=i._buffer,m=0,p=0;p<u;p++){if(c=o.call(a,v(e,p),p),ua(c))s[m]=Sa(c),s[m+1]=Ea(c);else if(nu(c)&&c.length>=2)s[m]=c[0],s[m+1]=c[1];else throw new TypeError(Ir("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",c));m+=2}return i}return new this(e)}if(uu(e)&&Sw&&Se(e[Ba])){if(s=e[Ba](),!Se(s.next))throw new TypeError(Ir("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?n=gfr(s,o,a):n=ww(s),n instanceof Error)throw n;for(u=n.length/2,i=new this(u),s=i._buffer,p=0;p<u;p++)s[p]=n[p];return i}throw new TypeError(Ir("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Mr(Br,"of",function(){var e,a;if(!Se(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Ew(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)});Mr(Br.prototype,"at",function(e){if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ge(e))throw new TypeError(Ir("invalid argument. Must provide an integer. Value: `%s`.",e));if(e<0&&(e+=this._length),!(e<0||e>=this._length))return be(this._buffer,e)});os(Br.prototype,"buffer",function(){return this._buffer.buffer});os(Br.prototype,"byteLength",function(){return this._buffer.byteLength});os(Br.prototype,"byteOffset",function(){return this._buffer.byteOffset});Mr(Br.prototype,"BYTES_PER_ELEMENT",Br.BYTES_PER_ELEMENT);Mr(Br.prototype,"copyWithin",function(e,a){if(!re(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});Mr(Br.prototype,"entries",function(){var e,a,t,o,i,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,o=this._buffer,t=this._length,s=-1,a={},Mr(a,"next",n),Mr(a,"return",v),Ba&&Mr(a,Ba,u),a;function n(){return s+=1,i||s>=t?{done:!0}:{value:[s,be(o,s)],done:!1}}function v(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return e.entries()}});Mr(Br.prototype,"every",function(e,a){var t,o;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("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,be(t,o),o,this))return!1;return!0});Mr(Br.prototype,"fill",function(e,a,t){var o,i,s,n,v,u;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Ir("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!Ge(a))throw new TypeError(Ir("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!Ge(t))throw new TypeError(Ir("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(n=Sa(e),v=Ea(e),u=a;u<t;u++)s=2*u,o[s]=n,o[s+1]=v;return this});Mr(Br.prototype,"filter",function(e,a){var t,o,i,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)s=be(t,i),e.call(a,s,i,this)&&o.push(s);return new this.constructor(o)});Mr(Br.prototype,"find",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=be(t,o),e.call(a,i,o,this))return i});Mr(Br.prototype,"findIndex",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=be(t,o),e.call(a,i,o,this))return o;return-1});Mr(Br.prototype,"findLast",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=be(t,o),e.call(a,i,o,this))return i});Mr(Br.prototype,"findLastIndex",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=be(t,o),e.call(a,i,o,this))return o;return-1});Mr(Br.prototype,"forEach",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)i=be(t,o),e.call(a,i,o,this)});Mr(Br.prototype,"get",function(e){if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Qi(e))throw new TypeError(Ir("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return be(this._buffer,e)});Mr(Br.prototype,"includes",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Ir("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Ir("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=Sa(e),s=Ea(e),t=this._buffer,n=a;n<this._length;n++)if(o=2*n,i===t[o]&&s===t[o+1])return!0;return!1});Mr(Br.prototype,"indexOf",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Ir("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Ir("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=Sa(e),s=Ea(e),t=this._buffer,n=a;n<this._length;n++)if(o=2*n,i===t[o]&&s===t[o+1])return n;return-1});Mr(Br.prototype,"join",function(e){var a,t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(qw(e))o=e;else throw new TypeError(Ir("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(be(t,i).toString());return a.join(o)});Mr(Br.prototype,"keys",function(){var e,a,t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Mr(a,"next",s),Mr(a,"return",n),Ba&&Mr(a,Ba,v),a;function s(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function n(u){return o=!0,arguments.length?{value:u,done:!0}:{done:!0}}function v(){return e.keys()}});Mr(Br.prototype,"lastIndexOf",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Ir("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Ir("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=Sa(e),s=Ea(e),t=this._buffer,n=a;n>=0;n--)if(o=2*n,i===t[o]&&s===t[o+1])return n;return-1});os(Br.prototype,"length",function(){return this._length});Mr(Br.prototype,"map",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,s=0;s<this._length;s++)if(n=e.call(a,be(o,s),s,this),ua(n))t[2*s]=Sa(n),t[2*s+1]=Ea(n);else if(nu(n)&&n.length===2)t[2*s]=n[0],t[2*s+1]=n[1];else throw new TypeError(Ir("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",n));return i});Mr(Br.prototype,"reduce",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,n=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=be(t,0),n=1}for(;n<i;n++)s=be(t,n),o=e(o,s,n,this);return o});Mr(Br.prototype,"reduceRight",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,n=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=be(t,i-1),n=i-2}for(;n>=0;n--)s=be(t,n),o=e(o,s,n,this);return o});Mr(Br.prototype,"reverse",function(){var e,a,t,o,i,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=dfr(t/2),i=0;i<o;i++)s=t-i-1,a=e[2*i],e[2*i]=e[2*s],e[2*s]=a,a=e[2*i+1],e[2*i+1]=e[2*s+1],e[2*s+1]=a;return this});Mr(Br.prototype,"set",function(e){var a,t,o,i,s,n,v,u,f;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!Qi(t))throw new TypeError(Ir("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(ua(e)){if(t>=this._length)throw new RangeError(Ir("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Sa(e),o[t+1]=Ea(e);return}if(re(e)){if(n=e._length,t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*ea,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new va(a.length),u=0;u<a.length;u++)i[u]=a[u];a=i}for(t*=2,f=0,u=0;u<n;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(vu(e)){for(n=e.length,u=0;u<n;u++)if(!ua(e[u])){s=!0;break}if(s){if(!is(n))throw new RangeError(Ir("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));if(t+n/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ea,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new va(n),u=0;u<n;u++)i[u]=a[u];a=i}for(t*=2,n/=2,f=0,u=0;u<n;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,u=0;u<n;u++)v=e[u],o[t]=Sa(v),o[t+1]=Ea(v),t+=2;return}throw new TypeError(Ir("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Mr(Br.prototype,"slice",function(e,a){var t,o,i,s,n,v,u;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=this._buffer,v=this._length,arguments.length===0)e=0,a=v;else{if(!Ge(e))throw new TypeError(Ir("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=v,e<0&&(e=0)),arguments.length===1)a=v;else{if(!Ge(a))throw new TypeError(Ir("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=v,a<0&&(a=0)):a>v&&(a=v)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,u=0;u<t;u++)s=2*(u+e),o[2*u]=n[s],o[2*u+1]=n[s+1];return i});Mr(Br.prototype,"some",function(e,a){var t,o;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("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,be(t,o),o,this))return!0;return!1});Mr(Br.prototype,"sort",function(e){var a,t,o,i,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("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(be(t,i));for(a.sort(e),i=0;i<o;i++)s=2*i,t[s]=Sa(a[i]),t[s+1]=Ea(a[i]);return this});Mr(Br.prototype,"subarray",function(e,a){var t,o,i;if(!re(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(!Ge(e))throw new TypeError(Ir("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(!Ge(a))throw new TypeError(Ir("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*ea):(i=a-e,t=o.byteOffset+e*ea),new this.constructor(o.buffer,t,i<0?0:i)});Mr(Br.prototype,"toLocaleString",function(e,a){var t,o,i,s,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(qw(e)||vfr(e))o=e;else throw new TypeError(Ir("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(uu(a))t=a;else throw new TypeError(Ir("invalid argument. Options argument must be an object. Value: `%s`.",a));for(s=this._buffer,i=[],n=0;n<this._length;n++)i.push(be(s,n).toLocaleString(o,t));return i.join(",")});Mr(Br.prototype,"toReversed",function(){var e,a,t,o,i,s;if(!re(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++)s=t-i-1,e[2*i]=o[2*s],e[2*i+1]=o[2*s+1];return a});Mr(Br.prototype,"toSorted",function(e){var a,t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Ir("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(be(t,i));return a.sort(e),new Br(a)});Mr(Br.prototype,"toString",function(){var e,a,t;if(!re(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(be(a,t).toString());return e.join(",")});Mr(Br.prototype,"values",function(){var e,a,t,o,i,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,s=-1,e={},Mr(e,"next",n),Mr(e,"return",v),Ba&&Mr(e,Ba,u),e;function n(){return s+=1,o||s>=t?{done:!0}:{value:be(i,s),done:!1}}function v(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return a.values()}});Mr(Br.prototype,"with",function(e,a){var t,o,i;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ge(e))throw new TypeError(Ir("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(Ir("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!ua(a))throw new TypeError(Ir("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]=Sa(a),t[2*e+1]=Ea(a),o});Aw.exports=Br});var fi=l((Yee,jw)=>{"use strict";var xfr=_w();jw.exports=xfr});var Ow=l((Wee,Tw)=>{"use strict";var qfr=ze(),wfr=na(),Sfr=cr(),Efr=Rt(),Afr=Vt();function _fr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,qfr(t)&&t.length>=2)e.push(t[0],t[1]);else if(wfr(t))e.push(Efr(t),Afr(t));else return new TypeError(Sfr("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=_fr});var Nw=l((Jee,Iw)=>{"use strict";var jfr=ze(),Tfr=na(),Ofr=cr(),Ifr=Rt(),Nfr=Vt();function Dfr(r,e,a){var t,o,i,s;for(t=[],s=-1;o=r.next(),!o.done;)if(s+=1,i=e.call(a,o.value,s),jfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(Tfr(i))t.push(Ifr(i),Nfr(i));else return new TypeError(Ofr("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=Dfr});var kw=l((Xee,Dw)=>{"use strict";var kfr=na(),Rfr=Rt(),Vfr=Vt();function zfr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!kfr(t))return null;r[i]=Rfr(t),r[i+1]=Vfr(t),i+=2}return r}Dw.exports=zfr});var Cw=l((Kee,Lw)=>{"use strict";var ro=me().isPrimitive,fu=ze(),lu=Ne(),Rw=Li(),cu=Bi(),Bfr=ha(),Pfr=Zo().primitives,Vw=za(),Ee=Fe(),la=na(),ss=su(),$e=ga(),Ffr=es(),Lfr=as(),Cfr=Ji(),Pa=ke(),Gr=Tr(),ns=yt(),fa=Qa(),zw=Qo(),Aa=Rt(),_a=Vt(),Ufr=Ze(),Mfr=Hi(),Gfr=Zi(),$fr=gt(),Yfr=et(),Nr=cr(),Bw=Ow(),Wfr=Nw(),Jfr=kw(),aa=fa.BYTES_PER_ELEMENT*2,Pw=Cfr();function ee(r){return r instanceof Pr||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Fw(r){return r===Pr||r.name==="Complex64Array"}function we(r,e){return e*=2,new zw(r[e],r[e+1])}function Pr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Pr))return e===0?new Pr:e===1?new Pr(arguments[0]):e===2?new Pr(arguments[0],arguments[1]):new Pr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new fa(0);else if(e===1)if(ro(arguments[0]))a=new fa(arguments[0]*2);else if(lu(arguments[0]))if(a=arguments[0],t=a.length,t&&Bfr(a)&&la(a[0])){if(a=Jfr(new fa(t*2),a),a===null){if(!ss(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 fa(arguments[0])}}else{if(Ffr(a))a=Mfr(a,0);else if(Lfr(a))a=Gfr(a,0);else if(!ss(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 fa(a)}else if(Rw(arguments[0])){if(a=arguments[0],!$e(a.byteLength/aa))throw new RangeError(Nr("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",aa,a.byteLength));a=new fa(a)}else if(cu(arguments[0])){if(a=arguments[0],Pw===!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=Bw(a),a instanceof Error)throw a;a=new fa(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],!Rw(a))throw new TypeError(Nr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!ro(r))throw new TypeError(Nr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!$e(r/aa))throw new RangeError(Nr("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",aa,r));if(e===2){if(t=a.byteLength-r,!$e(t/aa))throw new RangeError(Nr("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",aa,t));a=new fa(a,r)}else{if(t=arguments[2],!ro(t))throw new TypeError(Nr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*aa>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*aa));a=new fa(a,r,t*2)}}return Gr(this,"_buffer",a),Gr(this,"_length",a.length/2),this}Gr(Pr,"BYTES_PER_ELEMENT",aa);Gr(Pr,"name","Complex128Array");Gr(Pr,"from",function(e){var a,t,o,i,s,n,v,u,f,c,p,m;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Fw(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(u=e.length,o){for(i=new this(u),s=i._buffer,m=0,p=0;p<u;p++){if(c=o.call(a,e.get(p),p),la(c))s[m]=Aa(c),s[m+1]=_a(c);else if(fu(c)&&c.length>=2)s[m]=c[0],s[m+1]=c[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`.",c));m+=2}return i}return new this(e)}if(lu(e)){if(o){for(u=e.length,e.get&&e.set?v=Yfr("default"):v=$fr("default"),p=0;p<u;p++)if(!la(v(e,p))){f=!0;break}if(f){if(!ss(u))throw new RangeError(Nr("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",u));for(i=new this(u/2),s=i._buffer,p=0;p<u;p++)s[p]=o.call(a,v(e,p),p);return i}for(i=new this(u),s=i._buffer,m=0,p=0;p<u;p++){if(c=o.call(a,v(e,p),p),la(c))s[m]=Aa(c),s[m+1]=_a(c);else if(fu(c)&&c.length>=2)s[m]=c[0],s[m+1]=c[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`.",c));m+=2}return i}return new this(e)}if(cu(e)&&Pw&&Ee(e[Pa])){if(s=e[Pa](),!Ee(s.next))throw new TypeError(Nr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?n=Wfr(s,o,a):n=Bw(s),n instanceof Error)throw n;for(u=n.length/2,i=new this(u),s=i._buffer,p=0;p<u;p++)s[p]=n[p];return i}throw new TypeError(Nr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Gr(Pr,"of",function(){var e,a;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Fw(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(Pr.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 we(this._buffer,e)});ns(Pr.prototype,"buffer",function(){return this._buffer.buffer});ns(Pr.prototype,"byteLength",function(){return this._buffer.byteLength});ns(Pr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Gr(Pr.prototype,"BYTES_PER_ELEMENT",Pr.BYTES_PER_ELEMENT);Gr(Pr.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(Pr.prototype,"entries",function(){var e,a,t,o,i,s,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,e=this._buffer,o=this._length,s=-1,n=-2,t={},Gr(t,"next",v),Gr(t,"return",u),Pa&&Gr(t,Pa,f),t;function v(){var c;return s+=1,i||s>=o?{done:!0}:(n+=2,c=new zw(e[n],e[n+1]),{value:[s,c],done:!1})}function u(c){return i=!0,arguments.length?{value:c,done:!0}:{done:!0}}function f(){return a.entries()}});Gr(Pr.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,we(t,o),o,this))return!1;return!0});Gr(Pr.prototype,"fill",function(e,a,t){var o,i,s,n,v,u;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(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(n=Aa(e),v=_a(e),u=a;u<t;u++)s=2*u,o[s]=n,o[s+1]=v;return this});Gr(Pr.prototype,"filter",function(e,a){var t,o,i,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(t=this._buffer,o=[],i=0;i<this._length;i++)s=we(t,i),e.call(a,s,i,this)&&o.push(s);return new this.constructor(o)});Gr(Pr.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=we(t,o),e.call(a,i,o,this))return i});Gr(Pr.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=we(t,o),e.call(a,i,o,this))return o;return-1});Gr(Pr.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=we(t,o),e.call(a,i,o,this))return i});Gr(Pr.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=we(t,o),e.call(a,i,o,this))return o;return-1});Gr(Pr.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=we(t,o),e.call(a,i,o,this)});Gr(Pr.prototype,"get",function(e){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ro(e))throw new TypeError(Nr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return we(this._buffer,e)});ns(Pr.prototype,"length",function(){return this._length});Gr(Pr.prototype,"includes",function(e,a){var t,o,i,s,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(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=Aa(e),s=_a(e),t=this._buffer,n=a;n<this._length;n++)if(o=2*n,i===t[o]&&s===t[o+1])return!0;return!1});Gr(Pr.prototype,"indexOf",function(e,a){var t,o,i,s,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(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=Aa(e),s=_a(e),t=this._buffer,n=a;n<this._length;n++)if(o=2*n,i===t[o]&&s===t[o+1])return n;return-1});Gr(Pr.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(Vw(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(we(t,i).toString());return a.join(o)});Gr(Pr.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",s),Gr(a,"return",n),Pa&&Gr(a,Pa,v),a;function s(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function n(u){return o=!0,arguments.length?{value:u,done:!0}:{done:!0}}function v(){return e.keys()}});Gr(Pr.prototype,"lastIndexOf",function(e,a){var t,o,i,s,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(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=Aa(e),s=_a(e),t=this._buffer,n=a;n>=0;n--)if(o=2*n,i===t[o]&&s===t[o+1])return n;return-1});Gr(Pr.prototype,"map",function(e,a){var t,o,i,s,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(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,s=0;s<this._length;s++)if(n=e.call(a,we(o,s),s,this),la(n))t[2*s]=Aa(n),t[2*s+1]=_a(n);else if(fu(n)&&n.length===2)t[2*s]=n[0],t[2*s+1]=n[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`.",n));return i});Gr(Pr.prototype,"reduce",function(e,a){var t,o,i,s,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));if(t=this._buffer,i=this._length,arguments.length>1)o=a,n=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),n=1}for(;n<i;n++)s=we(t,n),o=e(o,s,n,this);return o});Gr(Pr.prototype,"reduceRight",function(e,a){var t,o,i,s,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));if(t=this._buffer,i=this._length,arguments.length>1)o=a,n=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),n=i-2}for(;n>=0;n--)s=we(t,n),o=e(o,s,n,this);return o});Gr(Pr.prototype,"reverse",function(){var e,a,t,o,i,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=Ufr(t/2),i=0;i<o;i++)s=t-i-1,a=e[2*i],e[2*i]=e[2*s],e[2*s]=a,a=e[2*i+1],e[2*i+1]=e[2*s+1],e[2*s+1]=a;return this});Gr(Pr.prototype,"set",function(e){var a,t,o,i,s,n,v,u,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],!ro(t))throw new TypeError(Nr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(la(e)){if(t>=this._length)throw new RangeError(Nr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Aa(e),o[t+1]=_a(e);return}if(ee(e)){if(n=e._length,t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*aa,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new fa(a.length),u=0;u<a.length;u++)i[u]=a[u];a=i}for(t*=2,f=0,u=0;u<n;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(lu(e)){for(n=e.length,u=0;u<n;u++)if(!la(e[u])){s=!0;break}if(s){if(!ss(n))throw new RangeError(Nr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));if(t+n/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*aa,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new fa(n),u=0;u<n;u++)i[u]=a[u];a=i}for(t*=2,n/=2,f=0,u=0;u<n;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,u=0;u<n;u++)v=e[u],o[t]=Aa(v),o[t+1]=_a(v),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(Pr.prototype,"slice",function(e,a){var t,o,i,s,n,v,u;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=this._buffer,v=this._length,arguments.length===0)e=0,a=v;else{if(!$e(e))throw new TypeError(Nr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=v,e<0&&(e=0)),arguments.length===1)a=v;else{if(!$e(a))throw new TypeError(Nr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=v,a<0&&(a=0)):a>v&&(a=v)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,u=0;u<t;u++)s=2*(u+e),o[2*u]=n[s],o[2*u+1]=n[s+1];return i});Gr(Pr.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,we(t,o),o,this))return!0;return!1});Gr(Pr.prototype,"sort",function(e){var a,t,o,i,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(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++)s=2*i,t[s]=Aa(a[i]),t[s+1]=_a(a[i]);return this});Gr(Pr.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*aa):(i=a-e,t=o.byteOffset+e*aa),new this.constructor(o.buffer,t,i<0?0:i)});Gr(Pr.prototype,"toLocaleString",function(e,a){var t,o,i,s,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Vw(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(cu(a))t=a;else throw new TypeError(Nr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(s=this._buffer,i=[],n=0;n<this._length;n++)i.push(we(s,n).toLocaleString(o,t));return i.join(",")});Gr(Pr.prototype,"toReversed",function(){var e,a,t,o,i,s;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++)s=t-i-1,e[2*i]=o[2*s],e[2*i+1]=o[2*s+1];return a});Gr(Pr.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(we(t,i));return a.sort(e),new Pr(a)});Gr(Pr.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(we(a,t).toString());return e.join(",")});Gr(Pr.prototype,"values",function(){var e,a,t,o,i,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,s=-1,e={},Gr(e,"next",n),Gr(e,"return",v),Pa&&Gr(e,Pa,u),e;function n(){return s+=1,o||s>=t?{done:!0}:{value:we(i,s),done:!1}}function v(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return a.values()}});Gr(Pr.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(!la(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]=Aa(a),t[2*e+1]=_a(a),o});Lw.exports=Pr});var li=l((Hee,Uw)=>{"use strict";var Xfr=Cw();Uw.exports=Xfr});var Gw=l((Zee,Mw)=>{"use strict";var Kfr=It();function Hfr(r){var e,a;for(e=[];a=r.next(),!a.done;)e.push(Kfr(a.value));return e}Mw.exports=Hfr});var Yw=l((Qee,$w)=>{"use strict";var Zfr=It();function Qfr(r,e,a){var t,o,i;for(t=[],i=-1;o=r.next(),!o.done;)i+=1,t.push(Zfr(e.call(a,o.value,i)));return t}$w.exports=Qfr});var Jw=l((rae,Ww)=>{"use strict";var rlr=It();function elr(r,e){var a,t;for(a=e.length,t=0;t<a;t++)r[t]=rlr(e[t]);return r}Ww.exports=elr});var e3=l((eae,r3)=>{"use strict";var eo=me().isPrimitive,du=Ne(),Xw=Li(),pu=Bi(),Ae=Fe(),ao=de().isPrimitive,ja=ve().isPrimitive,Kw=za().isPrimitive,alr=Zo().primitives,tlr=Ji(),Fa=ke(),$r=Tr(),vs=yt(),tt=Qe(),fe=It(),ilr=gt(),olr=Ze(),slr=et(),Yr=cr(),Hw=Gw(),nlr=Yw(),vlr=Jw(),Gt=tt.BYTES_PER_ELEMENT,Zw=tlr();function ae(r){return typeof r=="object"&&r!==null&&r.constructor.name==="BooleanArray"&&r.BYTES_PER_ELEMENT===Gt}function Qw(r){return r===Ur}function Ur(){var r,e,a,t,o;if(e=arguments.length,!(this instanceof Ur))return e===0?new Ur:e===1?new Ur(arguments[0]):e===2?new Ur(arguments[0],arguments[1]):new Ur(arguments[0],arguments[1],arguments[2]);if(e===0)a=new tt(0);else if(e===1)if(o=arguments[0],eo(o))a=new tt(o);else if(du(o))a=vlr(new tt(o.length),o);else if(Xw(o))a=new tt(o);else if(pu(o)){if(Zw===!1)throw new TypeError(Yr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",o));if(!Ae(o[Fa]))throw new TypeError(Yr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));if(a=o[Fa](),!Ae(a.next))throw new TypeError(Yr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));a=new tt(Hw(a))}else throw new TypeError(Yr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));else{if(a=arguments[0],!Xw(a))throw new TypeError(Yr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!eo(r))throw new TypeError(Yr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(e===2)a=new tt(a,r);else{if(t=arguments[2],!eo(t))throw new TypeError(Yr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*Gt>a.byteLength-r)throw new RangeError(Yr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*Gt));a=new tt(a,r,t)}}return $r(this,"_buffer",a),$r(this,"_length",a.length),this}$r(Ur,"BYTES_PER_ELEMENT",Gt);$r(Ur,"name","BooleanArray");$r(Ur,"from",function(e){var a,t,o,i,s,n,v,u,f;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Qw(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(t=arguments.length,t>1){if(o=arguments[1],!Ae(o))throw new TypeError(Yr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(du(e)){if(o){for(u=e.length,e.get&&e.set?v=slr("default"):v=ilr("default"),i=new this(u),s=i._buffer,f=0;f<u;f++)s[f]=fe(o.call(a,v(e,f),f));return i}return new this(e)}if(pu(e)&&Zw&&Ae(e[Fa])){if(s=e[Fa](),!Ae(s.next))throw new TypeError(Yr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));for(o?n=nlr(s,o,a):n=Hw(s),u=n.length,i=new this(u),s=i._buffer,f=0;f<u;f++)s[f]=n[f];return i}throw new TypeError(Yr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});$r(Ur,"of",function(){var e,a;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Qw(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(Ur.prototype,"at",function(e){var a,t;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ja(e))throw new TypeError(Yr("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 fe(a[e])});vs(Ur.prototype,"buffer",function(){return this._buffer.buffer});vs(Ur.prototype,"byteLength",function(){return this._buffer.byteLength});vs(Ur.prototype,"byteOffset",function(){return this._buffer.byteOffset});$r(Ur.prototype,"BYTES_PER_ELEMENT",Ur.BYTES_PER_ELEMENT);$r(Ur.prototype,"copyWithin",function(e,a){if(!ae(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(Ur.prototype,"entries",function(){var e,a,t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,o=this._buffer,t=this._length,s=-1,a={},$r(a,"next",n),$r(a,"return",v),Fa&&$r(a,Fa,u),a;function n(){return s+=1,i||s>=t?{done:!0}:{value:[s,fe(o[s])],done:!1}}function v(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return e.entries()}});$r(Ur.prototype,"every",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("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,fe(t[o]),o,this))return!1;return!0});$r(Ur.prototype,"fill",function(e,a,t){var o,i,s,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ao(e))throw new TypeError(Yr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!ja(a))throw new TypeError(Yr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!ja(t))throw new TypeError(Yr("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?s=1:s=0,n=a;n<t;n++)o[n]=s;return this});$r(Ur.prototype,"filter",function(e,a){var t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)s=fe(t[i]),e.call(a,s,i,this)&&o.push(s);return new this.constructor(o)});$r(Ur.prototype,"find",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=fe(t[i]),e.call(a,o,i,this))return o});$r(Ur.prototype,"findIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=fe(t[i]),e.call(a,o,i,this))return i;return-1});$r(Ur.prototype,"findLast",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=fe(t[i]),e.call(a,o,i,this))return o});$r(Ur.prototype,"findLastIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=fe(t[i]),e.call(a,o,i,this))return i;return-1});$r(Ur.prototype,"forEach",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)e.call(a,fe(t[o]),o,this)});$r(Ur.prototype,"get",function(e){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!eo(e))throw new TypeError(Yr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return fe(this._buffer[e])});$r(Ur.prototype,"includes",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ao(e))throw new TypeError(Yr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!ja(a))throw new TypeError(Yr("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===fe(t[o]))return!0;return!1});$r(Ur.prototype,"indexOf",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ao(e))throw new TypeError(Yr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!ja(a))throw new TypeError(Yr("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===fe(t[o]))return o;return-1});$r(Ur.prototype,"join",function(e){var a,t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length>0){if(!Kw(e))throw new TypeError(Yr("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(Ur.prototype,"keys",function(){var e,a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,t=this._length,i=-1,a={},$r(a,"next",s),$r(a,"return",n),Fa&&$r(a,Fa,v),a;function s(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function n(u){return o=!0,arguments.length?{value:u,done:!0}:{done:!0}}function v(){return e.keys()}});$r(Ur.prototype,"lastIndexOf",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ao(e))throw new TypeError(Yr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!ja(a))throw new TypeError(Yr("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===fe(t[o]))return o;return-1});vs(Ur.prototype,"length",function(){return this._length});$r(Ur.prototype,"map",function(e,a){var t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(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,s=0;s<this._length;s++)t[s]=fe(e.call(a,fe(i[s]),s,this));return o});$r(Ur.prototype,"reduce",function(e,a){var t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,s=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=fe(t[0]),s=1}for(;s<o;s++)i=e(i,fe(t[s]),s,this);return i});$r(Ur.prototype,"reduceRight",function(e,a){var t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,s=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=fe(t[o-1]),s=o-2}for(;s>=0;s--)i=e(i,fe(t[s]),s,this);return i});$r(Ur.prototype,"reverse",function(){var e,a,t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=this._buffer,t=this._length,o=olr(t/2),i=0;i<o;i++)s=t-i-1,a=e[i],e[i]=e[s],e[s]=a;return this});$r(Ur.prototype,"set",function(e){var a,t,o,i,s,n,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!eo(t))throw new TypeError(Yr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(du(e)){if(s=e.length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(ae(e)?a=e._buffer:a=e,v=o.byteOffset+t*Gt,a.buffer===o.buffer&&a.byteOffset<v&&a.byteOffset+a.byteLength>v){for(i=new tt(a.length),n=0;n<a.length;n++)i[n]=a[n];a=i}for(n=0;n<s;t++,n++)o[t]=a[n]?1:0;return}if(t>=this._length)throw new RangeError(Yr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));o[t]=e?1:0});$r(Ur.prototype,"slice",function(e,a){var t,o,i,s,n,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(s=this._buffer,n=this._length,arguments.length===0)e=0,a=n;else{if(!ja(e))throw new TypeError(Yr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=n,e<0&&(e=0)),arguments.length===1)a=n;else{if(!ja(a))throw new TypeError(Yr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=n,a<0&&(a=0)):a>n&&(a=n)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)o[v]=s[v+e];return i});$r(Ur.prototype,"some",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ae(e))throw new TypeError(Yr("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,fe(t[o]),o,this))return!0;return!1});$r(Ur.prototype,"sort",function(e){var a;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(a=this._buffer,arguments.length===0)return a.sort(),this;if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(t),this;function t(o,i){return e(fe(o),fe(i))}});$r(Ur.prototype,"subarray",function(e,a){var t,o,i;if(!ae(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(!ja(e))throw new TypeError(Yr("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(!ja(a))throw new TypeError(Yr("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*Gt):(i=a-e,t=o.byteOffset+e*Gt),new this.constructor(o.buffer,t,i<0?0:i)});$r(Ur.prototype,"toLocaleString",function(e,a){var t,o,i,s,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)o=[];else if(Kw(e)||alr(e))o=e;else throw new TypeError(Yr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(pu(a))t=a;else throw new TypeError(Yr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(s=this._buffer,i=[],n=0;n<this._length;n++)i.push(fe(s[n]).toLocaleString(o,t));return i.join(",")});$r(Ur.prototype,"toReversed",function(){var e,a,t,o,i;if(!ae(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(Ur.prototype,"toSorted",function(e){var a,t,o,i,s;if(!ae(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,s=0;s<o;s++)a[s]=i[s];if(arguments.length===0)return a.sort(),t;if(!Ae(e))throw new TypeError(Yr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(n),t;function n(v,u){return e(fe(v),fe(u))}});$r(Ur.prototype,"toString",function(){var e,a,t;if(!ae(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(Ur.prototype,"values",function(){var e,a,t,o,i,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return a=this,i=this._buffer,t=this._length,s=-1,e={},$r(e,"next",n),$r(e,"return",v),Fa&&$r(e,Fa,u),e;function n(){return s+=1,o||s>=t?{done:!0}:{value:fe(i[s]),done:!1}}function v(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return a.values()}});$r(Ur.prototype,"with",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ja(e))throw new TypeError(Yr("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(Yr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!ao(a))throw new TypeError(Yr("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});r3.exports=Ur});var ci=l((aae,a3)=>{"use strict";var ulr=e3();a3.exports=ulr});var i3=l((tae,t3)=>{"use strict";var flr=Qa(),llr=at(),clr=oi(),dlr=si(),plr=zt(),ylr=ni(),mlr=Qe(),hlr=vi(),glr=ui(),blr=fi(),xlr=li(),qlr=ci(),wlr=[flr,llr,dlr,clr,ylr,plr,glr,mlr,hlr,blr,xlr,qlr];t3.exports=wlr});var s3=l((iae,o3)=>{"use strict";var Slr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];o3.exports=Slr});var u3=l((oae,v3)=>{"use strict";var Elr=Pi(),Alr=ha(),_lr=pt(),jlr=u2(),Tlr=i3(),n3=s3(),Olr=n3.length;function Ilr(r){var e;if(Alr(r))return"generic";if(Elr(r))return null;for(e=0;e<Olr;e++)if(r instanceof Tlr[e])return n3[e];return jlr[_lr(r)]||null}v3.exports=Ilr});var to=l((sae,f3)=>{"use strict";var Nlr=u3();f3.exports=Nlr});var c3=l((nae,l3)=>{"use strict";var Dlr=rt(),klr=et(),Rlr=gt(),Vlr=to();function zlr(r,e){var a,t,o,i;for(o=Vlr(r),Dlr(r)?t=klr(o):t=Rlr(o),a=r.length,i=0;i<a;i++)if(t(r,i)===e)return!0;return!1}l3.exports=zlr});var p3=l((vae,d3)=>{"use strict";var Blr=Ne(),Plr=rt(),Flr=et(),Llr=to(),Clr=cr();function Ulr(r){var e,a,t;if(!Blr(r))throw new TypeError(Clr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return t=Llr(r),Plr(r)&&(e=Flr(t)),a=r.length,e===void 0?o:i;function o(s){var n;for(n=0;n<a;n++)if(r[n]===s)return!0;return!1}function i(s){var n;for(n=0;n<a;n++)if(e(r,n)===s)return!0;return!1}}d3.exports=Ulr});var Be=l((uae,m3)=>{"use strict";var Mlr=Tr(),y3=c3(),Glr=p3();Mlr(y3,"factory",Glr);m3.exports=y3});var g3=l((fae,h3)=>{"use strict";var $lr=Be().factory,Ylr=De(),Wlr=$lr(Ylr());h3.exports=Wlr});var di=l((lae,b3)=>{"use strict";var Jlr=g3();b3.exports=Jlr});var q3=l((cae,x3)=>{"use strict";var Xlr=Ha();function Klr(r,e,a,t){var o=Xlr(e,a,t);return o[0]>=0&&o[1]<r}x3.exports=Klr});var yu=l((dae,w3)=>{"use strict";var Hlr=q3();w3.exports=Hlr});var mu=l((pae,S3)=>{"use strict";function Zlr(){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"}}S3.exports=Zlr});var A3=l((yae,E3)=>{"use strict";var Qlr=mu(),ta=Qlr(),rcr={"dtypes.default":ta.dtypes.default,"dtypes.numeric":ta.dtypes.numeric,"dtypes.real":ta.dtypes.real,"dtypes.floating_point":ta.dtypes.floating_point,"dtypes.real_floating_point":ta.dtypes.real_floating_point,"dtypes.complex_floating_point":ta.dtypes.complex_floating_point,"dtypes.integer":ta.dtypes.integer,"dtypes.signed_integer":ta.dtypes.signed_integer,"dtypes.unsigned_integer":ta.dtypes.unsigned_integer,"dtypes.boolean":ta.dtypes.boolean,order:ta.order,casting:ta.casting,index_mode:ta.index_mode};function ecr(r){var e=rcr[r];return e===void 0?null:e}E3.exports=ecr});var Ta=l((mae,j3)=>{"use strict";var acr=Tr(),_3=mu(),tcr=A3();acr(_3,"get",tcr);j3.exports=_3});var O3=l((hae,T3)=>{"use strict";var icr=cr();function ocr(r){var e=typeof r;return r===null||e!=="object"&&e!=="function"?new TypeError(icr("invalid argument. A provided constructor must be either an object (except null) or a function. Value: `%s`.",r)):null}T3.exports=ocr});var N3=l((gae,I3)=>{"use strict";I3.exports=Object.create});var R3=l((bae,k3)=>{"use strict";function D3(){}function scr(r){return D3.prototype=r,new D3}k3.exports=scr});var B3=l((xae,z3)=>{"use strict";var V3=N3(),ncr=R3(),hu;typeof V3=="function"?hu=V3:hu=ncr;z3.exports=hu});var L3=l((qae,F3)=>{"use strict";var vcr=Tt(),ucr=cr(),P3=O3(),fcr=B3();function lcr(r,e){var a=P3(r);if(a||(a=P3(e),a))throw a;if(typeof e.prototype>"u")throw new TypeError(ucr("invalid argument. Second argument must have a prototype from which another object can inherit. Value: `%s`.",e.prototype));return r.prototype=fcr(e.prototype),vcr(r.prototype,"constructor",{configurable:!0,enumerable:!1,writable:!0,value:r}),r}F3.exports=lcr});var gu=l((wae,C3)=>{"use strict";var ccr=L3();C3.exports=ccr});var M3=l((Sae,U3)=>{"use strict";function dcr(r,e){return r<0?0:r>e?e:r}U3.exports=dcr});var us=l((Eae,G3)=>{"use strict";var pcr=M3();G3.exports=pcr});var Y3=l((Aae,$3)=>{"use strict";function ycr(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)}$3.exports=ycr});var fs=l((_ae,W3)=>{"use strict";var mcr=Y3();W3.exports=mcr});var X3=l((jae,J3)=>{"use strict";function hcr(r,e){return r<0?(r+=e+1,r<0?-1:r):r>e?-1:r}J3.exports=hcr});var ca=l((Tae,K3)=>{"use strict";var gcr=X3();K3.exports=gcr});var Z3=l((Oae,H3)=>{"use strict";var bcr=Be().factory,xcr=Lt(),qcr=bcr(xcr());H3.exports=qcr});var pi=l((Iae,Q3)=>{"use strict";var wcr=Z3();Q3.exports=wcr});var e4=l((Nae,r4)=>{"use strict";var Scr=us(),Ecr=fs(),Acr=ca(),_cr=pi(),bu=cr(),jcr={wrap:Ecr,clamp:Scr,normalize:Ocr,throw:Tcr};function Tcr(r,e){if(r<0||r>e)throw new RangeError(bu("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return r}function Ocr(r,e){var a=Acr(r,e);if(a<0||a>e)throw new RangeError(bu("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return a}function Icr(r){if(!_cr(r))throw new TypeError(bu("invalid argument. First argument must be a recognized index mode. Value: `%s`.",r));return jcr[r]}r4.exports=Icr});var t4=l((Dae,a4)=>{"use strict";var Ncr=us(),Dcr=fs(),kcr=ca(),Rcr=cr();function Vcr(r,e,a){var t;if(a==="clamp")return Ncr(r,e);if(a==="wrap")return Dcr(r,e);if(t=r,a==="normalize"&&(t=kcr(t,e)),t<0||t>e)throw new RangeError(Rcr("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return t}a4.exports=Vcr});var it=l((kae,o4)=>{"use strict";var zcr=Tr(),Bcr=e4(),i4=t4();zcr(i4,"factory",Bcr);o4.exports=i4});var v4=l((Rae,n4)=>{"use strict";var Pcr=ve().isPrimitive,Fcr=it(),Lcr=ra(),Ccr=cr(),s4=Lcr.prototype.iget;function Ucr(r){if(this._ndims>0){if(!Pcr(r))throw new TypeError(Ccr("invalid argument. Index must be an integer. Value: `%s`.",r));return r=Fcr(r,this._length-1,this._mode),s4.call(this,r)}return s4.call(this)}n4.exports=Ucr});var l4=l((Vae,f4)=>{"use strict";var Mcr=ve().isPrimitive,Gcr=it(),$cr=ra(),Ycr=cr(),u4=$cr.prototype.iset;function Wcr(r,e){if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(this._ndims>0){if(!Mcr(r))throw new TypeError(Ycr("invalid argument. Index must be an integer. Value: `%s`.",r));r=Gcr(r,this._length-1,this._mode),u4.call(this,r,e)}else u4.call(this,r);return this}f4.exports=Wcr});var p4=l((zae,d4)=>{"use strict";var Jcr=ve().isPrimitive,Xcr=it(),c4=cr();function Kcr(){var r,e,a,t;if(arguments.length!==this._ndims)throw new RangeError(c4("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(!Jcr(arguments[t]))throw new TypeError(c4("invalid argument. Indices must be integer valued. Argument: `%u`. Value: `%s`.",t,arguments[t]));e=Xcr(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]}d4.exports=Kcr});var h4=l((Bae,m4)=>{"use strict";var Hcr=ve().isPrimitive,Zcr=it(),y4=cr();function Qcr(){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(y4("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(!Hcr(arguments[t]))throw new TypeError(y4("invalid argument. Indices must be integer valued. Argument: `%i`. Value: `%s`.",t,arguments[t]));e=Zcr(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}m4.exports=Qcr});var b4=l((Pae,g4)=>{"use strict";function rdr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r[t]);return a}g4.exports=rdr});var w4=l((Fae,q4)=>{"use strict";var edr=oe(),xu=Jr(),adr=ze(),x4=pi(),tdr=de().isPrimitive,yi=cr();function idr(r,e){var a;if(!edr(e))return new TypeError(yi("invalid argument. Options argument must be an object. Value: `%s`.",e));if(xu(e,"mode")&&(r.mode=e.mode,!x4(r.mode)))return new TypeError(yi("invalid option. `%s` option must be a recognized mode. Option: `%s`.","mode",r.mode));if(xu(e,"submode")){if(r.submode=e.submode,!adr(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(!x4(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 xu(e,"readonly")&&(r.readonly=e.readonly,!tdr(r.readonly))?new TypeError(yi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",r.readonly)):null}q4.exports=idr});var O4=l((Lae,T4)=>{"use strict";var io=Tr(),S4=Ne(),odr=Ct().primitives,sdr=me().isPrimitive,ndr=Uv().primitives,E4=Fe(),vdr=wa(),udr=di(),fdr=yu(),ldr=Wr(),j4=ra(),cdr=Ta(),ddr=gu(),La=cr(),pdr=v4(),ydr=l4(),mdr=p4(),hdr=h4(),A4=b4(),gdr=w4(),_4=32767,bdr=cdr.get("index_mode"),xdr=!1;function Ca(r,e,a,t,o,i,s){var n,v,u,f,c;if(!(this instanceof Ca))return arguments.length<7?new Ca(r,e,a,t,o,i):new Ca(r,e,a,t,o,i,s);if(!udr(r))throw new TypeError(La("invalid argument. First argument must be a supported ndarray data type. Value: `%s`.",r));if(S4(e)){if(e.get&&e.set&&(!E4(e.get)||!E4(e.set)))throw new TypeError(La("invalid argument. Second argument `get` and `set` properties must be functions. Value: `%s`.",e))}else throw new TypeError(La("invalid argument. Second argument must be an array-like object, typed-array-like, or a Buffer. Value: `%s`.",e));if(!odr(a)&&(!S4(a)||a.length>0))throw new TypeError(La("invalid argument. Third argument must be an array-like object containing nonnegative integers. Value: `%s`.",a));if(n=a.length,n>_4)throw new RangeError(La("invalid argument. Number of dimensions must not exceed %u due to stack limits. Value: `%u`.",_4,n));if(!ndr(t))throw new TypeError(La("invalid argument. Fourth argument must be an array-like object containing integers. Value: `%s`.",t));if(n>0){if(t.length!==n)throw new RangeError(La("invalid argument. Fourth argument length must match the number of dimensions. Expected number of dimensions: `%u`. Strides length: `%u`.",n,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(La("invalid argument. Fourth argument must contain a single element equal to 0. Value: `%d`.",t[0]))}if(!sdr(o))throw new TypeError(La("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!vdr(i))throw new TypeError(La("invalid argument. Sixth argument must be a supported order. Value: `%s`.",i));if(n>0&&!fdr(e.length,a,t,o)&&ldr(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(v={},v.mode=bdr,v.readonly=xdr,arguments.length>6&&(u=gdr(v,s),u))throw u;return this._mode=v.mode,v.submode===void 0&&(v.submode=[this._mode]),this._submode=v.submode,f=A4(a,n),c=A4(t,n||1),j4.call(this,r,e,f,c,o,i),this._flags.READONLY=v.readonly,this}ddr(Ca,j4);io(Ca,"name","ndarray");io(Ca.prototype,"get",mdr);io(Ca.prototype,"iget",pdr);io(Ca.prototype,"set",hdr);io(Ca.prototype,"iset",ydr);T4.exports=Ca});var da=l((Cae,I4)=>{"use strict";var qdr=O4();I4.exports=qdr});var N4=l((Uae,wdr)=>{wdr.exports=["none","equiv","safe","mostly-safe","same-kind","unsafe"]});var k4=l((Mae,D4)=>{"use strict";var Sdr=N4();function Edr(){return Sdr.slice()}D4.exports=Edr});var V4=l((Gae,R4)=>{"use strict";function Adr(){return{none:0,equiv:1,safe:2,"mostly-safe":3,"same-kind":4,unsafe:5}}R4.exports=Adr});var qu=l(($ae,B4)=>{"use strict";var _dr=Tr(),z4=k4(),jdr=V4();_dr(z4,"enum",jdr);B4.exports=z4});var L4=l((Yae,F4)=>{"use strict";var Tdr=qu(),P4=Tdr(),Odr=P4.length;function Idr(r){var e;for(e=0;e<Odr;e++)if(r===P4[e])return!0;return!1}F4.exports=Idr});var wu=l((Wae,C4)=>{"use strict";var Ndr=L4();C4.exports=Ndr});var G4=l((Jae,M4)=>{"use strict";var Ddr=xa(),kdr=ha(),Rdr=oe(),Vdr=Lo(),zdr=de().isPrimitive,U4=Jr(),Su=cr();function Bdr(r,e){var a=!0,t,o,i,s,n,v,u;if(!Vdr(r))throw new TypeError(Su("invalid argument. First argument must be an object (except null). Value: `%s`.",r));if(arguments.length>1){if(!Rdr(e))throw new TypeError(Su("invalid argument. Options argument must be an object. Value: `%s`.",e));if(U4(e,"duplicates")&&(a=e.duplicates,!zdr(a)))throw new TypeError(Su("invalid option. `%s` option must be a boolean. Option: `%s`.","duplicates",a))}if(t=Ddr(r),o=t.length,n={},a)for(u=0;u<o;u++){if(i=t[u],s=r[i],!U4(n,s)){n[s]=i;continue}v=n[s],kdr(v)?n[s].push(i):n[s]=[v,i]}else for(u=0;u<o;u++)i=t[u],n[r[i]]=i;return n}M4.exports=Bdr});var ls=l((Xae,$4)=>{"use strict";var Pdr=G4();$4.exports=Pdr});var W4=l((Kae,Y4)=>{"use strict";var Fdr=ls(),Ldr=De().enum,Cdr=Fdr(Ldr(),{duplicates:!1});function Udr(r){var e=Cdr[r];return typeof e=="string"?e:null}Y4.exports=Udr});var cs=l((Hae,J4)=>{"use strict";var Mdr=W4();J4.exports=Mdr});var K4=l((Zae,X4)=>{"use strict";var Gdr=De().enum,$dr=Gdr();function Ydr(r){var e=$dr[r];return typeof e=="number"?e:null}X4.exports=Ydr});var oo=l((Qae,H4)=>{"use strict";var Wdr=K4();H4.exports=Wdr});var Q4=l((rte,Z4)=>{"use strict";var Jdr=cs(),Xdr=oo();function Kdr(r){var e=typeof r;return e==="string"?Xdr(r)===null?null:r:e==="number"?Jdr(r):null}Z4.exports=Kdr});var Oa=l((ete,r6)=>{"use strict";var Hdr=Q4();r6.exports=Hdr});var e6=l((ate,Zdr)=>{Zdr.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 i6=l((tte,t6)=>{"use strict";var a6=xa(),Qdr=Jr(),r0r=Oa(),ps=e6(),ds;function e0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=a6(ps),e=r.length,v=0;v<e;v++){for(o=r[v],s=ps[o],t={},n=0;n<e;n++)i=r[n],t[i]=s[i];a[o]=t}return a}function a0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=a6(ps),e=r.length,v=0;v<e;v++){for(o=r[v],s=ps[o],t=[],n=0;n<e;n++)i=r[n],s[i]===1&&t.push(i);a[o]=t}return a}function t0r(r){return arguments.length===0?e0r():(ds===void 0&&(ds=a0r()),r=r0r(r),Qdr(ds,r)?ds[r].slice():null)}t6.exports=t0r});var Eu=l((ite,o6)=>{"use strict";var i0r=i6();o6.exports=i0r});var n6=l((ote,s6)=>{"use strict";var o0r=Eu(),s0r=o0r();function n0r(r,e){return r===e?!0:s0r[r][e]>0}s6.exports=n0r});var ys=l((ste,v6)=>{"use strict";var v0r=n6();v6.exports=v0r});var u6=l((nte,u0r)=>{u0r.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 c6=l((vte,l6)=>{"use strict";var f6=xa(),f0r=Jr(),l0r=Oa(),hs=u6(),ms;function c0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=f6(hs),e=r.length,v=0;v<e;v++){for(o=r[v],s=hs[o],t={},n=0;n<e;n++)i=r[n],t[i]=s[i];a[o]=t}return a}function d0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=f6(hs),e=r.length,v=0;v<e;v++){for(o=r[v],s=hs[o],t=[],n=0;n<e;n++)i=r[n],s[i]===1&&t.push(i);a[o]=t}return a}function p0r(r){return arguments.length===0?c0r():(ms===void 0&&(ms=d0r()),r=l0r(r),f0r(ms,r)?ms[r].slice():null)}l6.exports=p0r});var Au=l((ute,d6)=>{"use strict";var y0r=c6();d6.exports=y0r});var y6=l((fte,p6)=>{"use strict";var m0r=Au(),h0r=m0r();function g0r(r,e){return r===e?!0:h0r[r][e]>0}p6.exports=g0r});var gs=l((lte,m6)=>{"use strict";var b0r=y6();m6.exports=b0r});var h6=l((cte,x0r)=>{x0r.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 x6=l((dte,b6)=>{"use strict";var g6=xa(),q0r=Jr(),w0r=Oa(),xs=h6(),bs;function S0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=g6(xs),e=r.length,v=0;v<e;v++){for(o=r[v],s=xs[o],t={},n=0;n<e;n++)i=r[n],t[i]=s[i];a[o]=t}return a}function E0r(){var r,e,a,t,o,i,s,n,v;for(a={},r=g6(xs),e=r.length,v=0;v<e;v++){for(o=r[v],s=xs[o],t=[],n=0;n<e;n++)i=r[n],s[i]===1&&t.push(i);a[o]=t}return a}function A0r(r){return arguments.length===0?S0r():(bs===void 0&&(bs=E0r()),r=w0r(r),q0r(bs,r)?bs[r].slice():null)}b6.exports=A0r});var _u=l((pte,q6)=>{"use strict";var _0r=x6();q6.exports=_0r});var S6=l((yte,w6)=>{"use strict";var j0r=_u(),T0r=j0r();function O0r(r,e){return r===e?!0:T0r[r][e]>0}w6.exports=O0r});var ju=l((mte,E6)=>{"use strict";var I0r=S6();E6.exports=I0r});var _6=l((hte,A6)=>{"use strict";var N0r=ys(),D0r=gs(),k0r=ju();function R0r(r,e,a){return a==="unsafe"||r===e?!0:a==="none"||a==="equiv"?!1:a==="safe"?N0r(r,e):a==="mostly-safe"?D0r(r,e):k0r(r,e)}A6.exports=R0r});var Tu=l((gte,j6)=>{"use strict";var V0r=_6();j6.exports=V0r});var O6=l((bte,T6)=>{"use strict";var z0r=typeof Buffer=="function"?Buffer:null;T6.exports=z0r});var N6=l((xte,I6)=>{"use strict";var B0r=Pi(),qs=O6();function P0r(){var r,e;if(typeof qs!="function")return!1;try{typeof qs.from=="function"?e=qs.from([1,2,3,4]):e=new qs([1,2,3,4]),r=B0r(e)&&e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4}catch{r=!1}return r}I6.exports=P0r});var k6=l((qte,D6)=>{"use strict";var F0r=N6();D6.exports=F0r});var V6=l((wte,R6)=>{"use strict";var L0r=require("buffer").Buffer;R6.exports=L0r});var B6=l((Ste,z6)=>{"use strict";function C0r(){throw new Error("not implemented")}z6.exports=C0r});var so=l((Ete,P6)=>{"use strict";var U0r=k6(),M0r=V6(),G0r=B6(),Ou;U0r()?Ou=M0r:Ou=G0r;P6.exports=Ou});var L6=l((Ate,F6)=>{"use strict";var $0r=so(),Y0r=Qa(),W0r=at(),J0r=ni(),X0r=si(),K0r=ui(),H0r=zt(),Z0r=oi(),Q0r=Qe(),rpr=vi(),epr=fi(),apr=li(),tpr=ci(),ipr={binary:$0r,float64:Y0r,float32:W0r,generic:Array,int16:J0r,int32:X0r,int8:K0r,uint16:H0r,uint32:Z0r,uint8:Q0r,uint8c:rpr,complex64:epr,complex128:apr,bool:tpr};F6.exports=ipr});var U6=l((_te,C6)=>{"use strict";var opr=L6();function spr(r){return opr[r]||null}C6.exports=spr});var no=l((jte,M6)=>{"use strict";var npr=U6();M6.exports=npr});var $6=l((Tte,G6)=>{"use strict";var vpr=Fe(),upr=so(),fpr=vpr(upr.allocUnsafe);G6.exports=fpr});var W6=l((Ote,Y6)=>{"use strict";var lpr=me(),cpr=cr(),dpr=so();function ppr(r){if(!lpr(r))throw new TypeError(cpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return dpr.allocUnsafe(r)}Y6.exports=ppr});var X6=l((Ite,J6)=>{"use strict";var ypr=me(),mpr=cr(),hpr=so();function gpr(r){if(!ypr(r))throw new TypeError(mpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return new hpr(r)}J6.exports=gpr});var Ua=l((Nte,K6)=>{"use strict";var bpr=$6(),xpr=W6(),qpr=X6(),Iu;bpr?Iu=xpr:Iu=qpr;K6.exports=Iu});var Z6=l((Dte,H6)=>{"use strict";function wpr(r){var e;for(e=0;e<r.length;e++)r[e]=0;return r}H6.exports=wpr});var rS=l((kte,Q6)=>{"use strict";var Spr=no(),Epr=Ua(),Apr=Z6();function _pr(r){var e,a;for(e=[],a=0;a<r;a++)e.push(0);return e}function jpr(r){return Apr(Epr(r))}function Tpr(r,e){var a=Spr(r);return a?new a(e):null}function Opr(r,e){return r==="generic"?_pr(e):r==="binary"?jpr(e):Tpr(r,e)}Q6.exports=Opr});var Ia=l((Rte,eS)=>{"use strict";var Ipr=rS();eS.exports=Ipr});var tS=l((Vte,aS)=>{"use strict";var Npr={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"};aS.exports=Npr});var oS=l((zte,iS)=>{"use strict";var Dpr=Qa(),kpr=at(),Rpr=oi(),Vpr=si(),zpr=zt(),Bpr=ni(),Ppr=Qe(),Fpr=vi(),Lpr=ui(),Cpr=fi(),Upr=li(),Mpr=ci(),Gpr=[Dpr,kpr,Vpr,Rpr,Bpr,zpr,Lpr,Ppr,Fpr,Cpr,Upr,Mpr];iS.exports=Gpr});var nS=l((Bte,sS)=>{"use strict";var $pr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];sS.exports=$pr});var fS=l((Pte,uS)=>{"use strict";var Ypr=Pi(),Wpr=ha(),Jpr=pt(),Xpr=tS(),Kpr=oS(),vS=nS(),Hpr=vS.length;function Zpr(r){var e;if(Wpr(r))return"generic";if(Ypr(r))return"binary";for(e=0;e<Hpr;e++)if(r instanceof Kpr[e])return vS[e];return Xpr[Jpr(r)]||null}uS.exports=Zpr});var ws=l((Fte,lS)=>{"use strict";var Qpr=fS();lS.exports=Qpr});var pS=l((Lte,dS)=>{"use strict";var ryr=di(),cS=cr();function eyr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(cS("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.dtype,ryr(e))return e;throw new TypeError(cS("invalid argument. Must provide an ndarray having a supported data type. Value: `%s`.",e))}dS.exports=eyr});var Na=l((Cte,yS)=>{"use strict";var ayr=pS();yS.exports=ayr});var hS=l((Ute,mS)=>{"use strict";var tyr=me().isPrimitive,iyr=Ne(),Nu=cr();function oyr(r){var e,a,t,o;if(typeof r!="object"||r===null)throw new TypeError(Nu("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.shape,!iyr(a))throw new TypeError(Nu("invalid argument. Must provide an ndarray. Value: `%s`.",r));for(e=[],o=0;o<a.length;o++){if(t=a[o],!tyr(t))throw new TypeError(Nu("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(t)}return e}mS.exports=oyr});var ie=l((Mte,gS)=>{"use strict";var syr=hS();gS.exports=syr});var qS=l((Gte,xS)=>{"use strict";var nyr=ve().isPrimitive,bS=Ne(),vyr=wa(),uyr=Ve(),Du=cr();function fyr(r){var e,a,t,o,i,s;if(typeof r!="object"||r===null)throw new TypeError(Du("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(o=r.strides,!bS(o)){if(t=r.shape,!bS(t))throw new TypeError(Du("invalid argument. Must provide an ndarray. Value: `%s`.",r));return t.length===0?[0]:(a=r.order,vyr(a)||(a="row-major"),uyr(t,a))}for(e=[],s=0;s<o.length;s++){if(i=o[s],!nyr(i))throw new TypeError(Du("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(i)}return e}xS.exports=fyr});var Ma=l(($te,wS)=>{"use strict";var lyr=qS();wS.exports=lyr});var _S=l((Yte,AS)=>{"use strict";var SS=me().isPrimitive,ES=Ne(),cyr=Me(),ku=cr();function dyr(r){var e,a,t;if(typeof r!="object"||r===null)throw new TypeError(ku("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.offset,SS(t))return t;if(a=r.shape,!ES(a))throw new TypeError(ku("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.strides,a.length===0||!ES(e))return 0;if(t=cyr(a,e),SS(t))return t;throw new TypeError(ku("invalid argument. Must provide an ndarray. Value: `%s`.",r))}AS.exports=dyr});var bt=l((Wte,jS)=>{"use strict";var pyr=_S();jS.exports=pyr});var IS=l((Jte,OS)=>{"use strict";var yyr=me().isPrimitive,myr=Ne(),TS=cr();function hyr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(TS("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.ndims,yyr(a))return a;if(e=r.shape,!myr(e))throw new TypeError(TS("invalid argument. Must provide an ndarray. Value: `%s`.",r));return e.length}OS.exports=hyr});var Ss=l((Xte,NS)=>{"use strict";var gyr=IS();NS.exports=gyr});var RS=l((Kte,kS)=>{"use strict";var byr=wa(),xyr=Ma(),qyr=Ss(),wyr=kt(),Syr=cr(),DS="row-major",Eyr="column-major";function Ayr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(Syr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return a=r.order,byr(a)?a:(e=xyr(r),a=wyr(e),a===1||a===3?DS:a===2?Eyr:qyr(r)===0?DS:null)}kS.exports=Ayr});var Ga=l((Hte,VS)=>{"use strict";var _yr=RS();VS.exports=_yr});var PS=l((Zte,BS)=>{"use strict";var jyr=Ne(),zS=cr();function Tyr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(zS("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.data,jyr(e))return e;throw new TypeError(zS("invalid argument. Must provide an ndarray. Value: `%s`.",r))}BS.exports=Tyr});var ot=l((Qte,FS)=>{"use strict";var Oyr=PS();FS.exports=Oyr});var MS=l((rie,US)=>{"use strict";var Ru=ze(),Iyr=cr();function LS(r,e){var a=e[0];return Ru(a)&&(r.push(a.length),LS(r,a)),r}function CS(r,e,a,t,o){var i,s,n;for(i=e[a],n=0;n<t.length;n++){if(s=t[n],!Ru(s)||s.length!==i)return a;if(o&&(s=CS(r,e,a+1,s,a+1<r-1),s<r))return s}return r}function Nyr(r){var e,a;if(!Ru(r))throw new TypeError(Iyr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return e=[r.length],LS(e,r),a=e.length,a>1&&(e.length=CS(a,e,1,r,a>2)),e}US.exports=Nyr});var $S=l((eie,GS)=>{"use strict";var Dyr=MS();GS.exports=Dyr});var WS=l((aie,YS)=>{"use strict";function kyr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r);return a}YS.exports=kyr});var vo=l((tie,JS)=>{"use strict";var Ryr=WS();JS.exports=Ryr});var KS=l((iie,XS)=>{"use strict";var Vyr=vo();function zyr(r){return Vyr(0,r)}XS.exports=zyr});var xe=l((oie,HS)=>{"use strict";var Byr=KS();HS.exports=Byr});var QS=l((sie,ZS)=>{"use strict";var Pyr=cr();function Fyr(r,e,a,t,o,i){var s,n,v,u,f;for(s=r.length,n=1,f=0;f<s;f++)n*=r[f];if(i==="clamp")o<0?o=0:o>=n&&(o=n-1);else if(i==="wrap")o<0?(o+=n,o<0&&(o%=n,o!==0&&(o+=n))):o>=n&&(o-=n,o>=n&&(o%=n));else if(i==="normalize"&&o<0&&(o+=n),o<0||o>=n)throw new RangeError(Pyr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",n,o));if(v=a,t==="column-major"){for(f=0;f<s;f++)u=o%r[f],o-=u,o/=r[f],v+=u*e[f];return v}for(f=s-1;f>=0;f--)u=o%r[f],o-=u,o/=r[f],v+=u*e[f];return v}ZS.exports=Fyr});var ia=l((nie,rE)=>{"use strict";var Lyr=QS();rE.exports=Lyr});var tE=l((vie,aE)=>{"use strict";var eE={float64:Cyr,float32:Uyr,int32:Myr,int16:Gyr,int8:$yr,uint32:Yyr,uint16:Wyr,uint8:Jyr,uint8c:Xyr,generic:Kyr,default:Hyr};function Cyr(r,e,a){r[e]=a}function Uyr(r,e,a){r[e]=a}function Myr(r,e,a){r[e]=a}function Gyr(r,e,a){r[e]=a}function $yr(r,e,a){r[e]=a}function Yyr(r,e,a){r[e]=a}function Wyr(r,e,a){r[e]=a}function Jyr(r,e,a){r[e]=a}function Xyr(r,e,a){r[e]=a}function Kyr(r,e,a){r[e]=a}function Hyr(r,e,a){r[e]=a}function Zyr(r){var e=eE[r];return typeof e=="function"?e:eE.default}aE.exports=Zyr});var mi=l((uie,iE)=>{"use strict";var Qyr=tE();iE.exports=Qyr});var nE=l((fie,sE)=>{"use strict";var oE={complex128:rmr,complex64:emr,default:amr};function rmr(r,e,a){r.set(a,e)}function emr(r,e,a){r.set(a,e)}function amr(r,e,a){r.set(a,e)}function tmr(r){var e=oE[r];return typeof e=="function"?e:oE.default}sE.exports=tmr});var hi=l((lie,vE)=>{"use strict";var imr=nE();vE.exports=imr});var fE=l((cie,uE)=>{"use strict";var omr=rt(),smr=gt(),nmr=mi(),vmr=et(),umr=hi(),fmr=to();function lmr(r){var e=fmr(r);return omr(r)?{data:r,dtype:e,accessorProtocol:!0,accessors:[vmr(e),umr(e)]}:{data:r,dtype:e,accessorProtocol:!1,accessors:[smr(e),nmr(e)]}}uE.exports=lmr});var st=l((die,lE)=>{"use strict";var cmr=fE();lE.exports=cmr});var Vu=l((pie,cE)=>{"use strict";var dmr=Ze();function pmr(r,e,a,t){var o,i,s,n,v,u,f,c;for(o=e.data,s=e.accessors[0],i=e.accessors[1],f=dmr(r/2),v=t,u=v+(r-1)*a,c=0;c<f;c++)n=s(o,v),i(o,v,s(o,u)),i(o,u,n),v+=a,u-=a;return e}cE.exports=pmr});var pE=l((yie,dE)=>{"use strict";var ymr=Ze(),mmr=st(),hmr=Vu(),Es=3;function gmr(r,e,a){var t,o,i,s,n,v,u;if(r<=0)return e;if(s=mmr(e),s.accessorProtocol)return a<0?o=(1-r)*a:o=0,hmr(r,s,a,o),s.data;if(v=ymr(r/2),a===1){if(n=v%Es,i=r-1,n>0)for(o=0;o<n;o++)t=e[o],e[o]=e[i],e[i]=t,i-=1;if(v<Es)return e;for(o=n;o<v;o+=Es)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-=Es;return e}for(a<0?o=(1-r)*a:o=0,i=o+(r-1)*a,u=0;u<v;u++)t=e[o],e[o]=e[i],e[i]=t,o+=a,i-=a;return e}dE.exports=gmr});var mE=l((mie,yE)=>{"use strict";var bmr=Ze(),xmr=st(),qmr=Vu(),uo=3;function wmr(r,e,a,t){var o,i,s,n,v,u,f;if(r<=0)return e;if(n=xmr(e),n.accessorProtocol)return qmr(r,n,a,t),n.data;if(u=bmr(r/2),i=t,a===1){if(v=u%uo,s=i+r-1,v>0)for(f=0;f<v;f++)o=e[i],e[i]=e[s],e[s]=o,i+=a,s-=a;if(u<uo)return e;for(f=v;f<u;f+=uo)o=e[i],e[i]=e[s],e[s]=o,o=e[i+1],e[i+1]=e[s-1],e[s-1]=o,o=e[i+2],e[i+2]=e[s-2],e[s-2]=o,i+=uo,s-=uo;return e}for(s=i+(r-1)*a,f=0;f<u;f++)o=e[i],e[i]=e[s],e[s]=o,i+=a,s-=a;return e}yE.exports=wmr});var bE=l((hie,gE)=>{"use strict";var Smr=Tr(),hE=pE(),Emr=mE();Smr(hE,"ndarray",Emr);gE.exports=hE});var Bu=l((gie,SE)=>{"use strict";var Amr=Ve(),_mr=ia(),jmr=Wr(),xE=bE(),qE=xe(),Tmr="throw";function wE(r,e,a,t,o){var i;for(i=0;i<e;i++)a[o]=r[i],o+=t}function zu(r,e,a,t,o,i,s){var n,v,u,f;for(u=t+1,n=u===e,v=a[t],f=0;f<v;f++)n?(o[s]=r[f],s+=i):s=zu(r[f],e,a,u,o,i,s);return s}function Omr(r,e,a,t,o,i){var s,n,v,u,f,c,p;for(s=jmr(a),n=qE(s),zu(r,e,a,0,n,1,0),v="row-major",f=Amr(a,v),u=qE(e),wE(a,e,u,1,0),xE(e,u,1),xE(e,f,1),p=0;p<s;p++)c=_mr(u,f,0,v,p,Tmr),t[i]=n[c],i+=o}function Imr(r,e,a,t,o,i){var s=e.length;return s===0?t:s===1?(wE(r,e[0],t,o,i),t):a?(Omr(r,s,e,t,o,i),t):(zu(r,s,e,0,t,o,i),t)}SE.exports=Imr});var AE=l((bie,EE)=>{"use strict";var Nmr=Wr(),Dmr=xe(),kmr=Bu();function Rmr(r,e,a){var t=Dmr(Nmr(e));return kmr(r,e,a,t,1,0)}EE.exports=Rmr});var TE=l((xie,jE)=>{"use strict";var Vmr=Tr(),_E=AE(),zmr=Bu();Vmr(_E,"assign",zmr);jE.exports=_E});var IE=l((qie,OE)=>{"use strict";var Bmr=Fi(),Pmr=ga();function Fmr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&Pmr(r.length)&&r.length>=0&&r.length<Bmr}OE.exports=Fmr});var DE=l((wie,NE)=>{"use strict";var As=Ta();function Lmr(){return{casting:As.get("casting"),copy:!1,dtype:As.get("dtypes.default"),flatten:!0,mode:As.get("index_mode"),ndmin:0,order:As.get("order"),readonly:!1}}NE.exports=Lmr});var RE=l((Sie,kE)=>{"use strict";var Cmr=no(),Umr=Ua();function Mmr(r,e,a){var t,o,i;if(t=Cmr(a),a==="generic")for(o=[],i=0;i<e;i++)o.push(r[i]);else if(a==="binary")for(o=Umr(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}kE.exports=Mmr});var BE=l((Eie,zE)=>{"use strict";var VE=Fe(),Gmr=me().isPrimitive,Pu=cr(),$t="number";function $mr(r,e,a){var t;if(!VE(r))throw new TypeError(Pu("invalid argument. First argument must be a function. Value: `%s`.",r));if(!Gmr(e))throw new TypeError(Pu("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!VE(a))throw new TypeError(Pu("invalid argument. Third argument must be a constructor function. Value: `%s`.",a));return t=[o,i,s,n,v,u],e<=5?t[e]:f;function o(){var c=r();return typeof c===$t?new a(c,0):c}function i(c){var p=r(c);return typeof p===$t?new a(p,0):p}function s(c,p){var m=r(c,p);return typeof m===$t?new a(m,0):m}function n(c,p,m){var d=r(c,p,m);return typeof d===$t?new a(d,0):d}function v(c,p,m,d){var y=r(c,p,m,d);return typeof y===$t?new a(y,0):y}function u(c,p,m,d,y){var h=r(c,p,m,d,y);return typeof h===$t?new a(h,0):h}function f(){var c,p,m;for(c=[],m=0;m<arguments.length;m++)c.push(arguments[m]);return p=r.apply(null,c),typeof p===$t?new a(p,0):p}}zE.exports=$mr});var Fu=l((Aie,PE)=>{"use strict";var Ymr=BE();PE.exports=Ymr});var LE=l((_ie,FE)=>{"use strict";var Wmr=rs(),Jmr=Qo(),Xmr={complex64:Wmr,complex128:Jmr};FE.exports=Xmr});var UE=l((jie,CE)=>{"use strict";var Kmr=LE();function Hmr(r){return Kmr[r]||null}CE.exports=Hmr});var _s=l((Tie,ME)=>{"use strict";var Zmr=UE();ME.exports=Zmr});var $E=l((Oie,GE)=>{"use strict";var Qmr=st(),r1r=Fu(),e1r=_s(),a1r=no(),t1r=Ua(),i1r=ra(),o1r=Na(),s1r=ie(),n1r=Ma(),v1r=bt(),u1r=Ga(),f1r=ot();function l1r(r){var e,a,t;for(e=r.length,a=[],t=0;t<e;t++)a.push(r.iget(t));return a}function c1r(r){var e,a,t;for(e=r.length,a=t1r(e),t=0;t<e;t++)a[t]=r.iget(t);return a}function d1r(r,e){var a,t,o,i,s,n,v;if(a=a1r(e),t=r.length,o=new a(t),n=Qmr(o),n.accessorProtocol)for(i=n.accessors[1],s=r1r(u,1,e1r(e)),v=0;v<t;v++)i(o,v,s(v));else for(v=0;v<t;v++)o[v]=r.iget(v);return o;function u(f){return r.iget(f)}}function p1r(r,e){var a;return a=new i1r(o1r(r),f1r(r),s1r(r),n1r(r),v1r(r),u1r(r)),e==="generic"?l1r(a):e==="binary"?c1r(a):d1r(a,e)}GE.exports=p1r});var WE=l((Iie,YE)=>{"use strict";function y1r(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}YE.exports=y1r});var XE=l((Nie,JE)=>{"use strict";var m1r=ai();function h1r(r,e,a,t){var o,i,s,n,v;if(i=a.length,v=r-i,o=[],t==="row-major"){for(s=m1r(a[0])*e[v],n=0;n<v;n++)o.push(s);for(n=0;n<i;n++)o.push(a[n])}else{for(n=0;n<v;n++)o.push(1);for(n=0;n<i;n++)o.push(a[n])}return o}JE.exports=h1r});var a5=l((Die,e5)=>{"use strict";var Da=Jr(),KE=oe(),HE=de().isPrimitive,g1r=ha(),b1r=me().isPrimitive,x1r=se(),q1r=Ve(),w1r=Me(),S1r=kt(),js=Wr(),E1r=da(),A1r=di(),_1r=wa(),j1r=wu(),T1r=Tu(),O1r=Ia(),I1r=ws(),N1r=Na(),D1r=ie(),ZE=Ma(),k1r=bt(),QE=Ga(),R1r=ot(),r5=$S(),V1r=TE(),pa=cr(),Ts=IE(),z1r=DE(),B1r=RE(),P1r=$E(),F1r=WE(),L1r=XE(),ka=z1r();function C1r(){var r,e,a,t,o,i,s,n,v,u,f,c,p,m,d;if(arguments.length===1)if(Ts(arguments[0]))a=arguments[0],r={};else{if(r=arguments[0],!KE(r))throw new TypeError(pa("invalid argument. Must provide either a valid data source, options argument, or both. Value: `%s`.",r));if(Da(r,"buffer")&&(a=r.buffer,!Ts(a)))throw new TypeError(pa("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],!Ts(a))throw new TypeError(pa("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],!KE(r))throw new TypeError(pa("invalid argument. Options argument must be an object. Value: `%s`.",r))}if(a&&(x1r(a)?(s=N1r(a),d=!0):(s=I1r(a),d=!1)),u={},f={},Da(r,"casting")){if(f.casting=r.casting,!j1r(f.casting))throw new TypeError(pa("invalid option. `%s` option must be a recognized casting mode. Option: `%s`.","casting",f.casting))}else f.casting=ka.casting;if(Da(r,"flatten")){if(f.flatten=r.flatten,!HE(f.flatten))throw new TypeError(pa("invalid option. `%s` option must be a boolean. Option: `%s`.","flatten",f.flatten))}else f.flatten=ka.flatten;if(Da(r,"ndmin")){if(f.ndmin=r.ndmin,!b1r(f.ndmin))throw new TypeError(pa("invalid option. `%s` option must be a nonnegative integer. Option: `%s`.","ndmin",f.ndmin))}else f.ndmin=ka.ndmin;if(Da(r,"dtype")){if(i=r.dtype,!A1r(i))throw new TypeError(pa("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",i));if(s&&!T1r(s,i,f.casting))throw new Error(pa("invalid option. Data type cast is not allowed. Casting mode: `%s`. From: `%s`. To: `%s`.",f.casting,s,i))}else s?!d&&s==="generic"?i=ka.dtype:i=s:i=ka.dtype;if(Da(r,"order")){if(o=r.order,o==="any"||o==="same")d?o==="any"?(m=S1r(ZE(a)),m===3?o=ka.order:o=QE(a)):o==="same"&&(o=QE(a)):o=ka.order;else if(!_1r(o))throw new TypeError(pa("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",o))}else o=ka.order;if(Da(r,"mode")?u.mode=r.mode:u.mode=ka.mode,Da(r,"submode")?u.submode=r.submode:u.submode=[u.mode],Da(r,"readonly")?u.readonly=r.readonly:u.readonly=ka.readonly,Da(r,"copy")){if(f.copy=r.copy,!HE(f.copy))throw new TypeError(pa("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",f.copy))}else f.copy=ka.copy;if(Da(r,"shape")){if(n=r.shape,!Ts(n))throw new TypeError(pa("invalid option. `%s` option must be an array-like object containing nonnegative integers. Option: `%s`.","shape",n));v=n.length,p=js(n)}else if(a)d?(n=D1r(a),v=n.length,p=js(n)):f.flatten&&g1r(a)?(n=r5(a),c=n,v=n.length,p=js(n)):(v=1,p=a.length,n=[p]);else throw new Error("invalid arguments. Must provide either a data source, array shape, or both.");if(v<f.ndmin&&(n=F1r(v,n,f.ndmin),v=f.ndmin),d){if(js(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.");s!==i||f.copy?a=P1r(a,i):(e=ZE(a),t=k1r(a),a=R1r(a),e.length<v&&(e=L1r(v,n,e,o)))}else if(a){if(s==="generic"&&f.flatten&&(a=V1r(a,c||r5(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.");(s!==i||f.copy)&&(a=B1r(a,p,i))}else a=O1r(i,p);return e===void 0&&(e=q1r(n,o),t=w1r(n,e)),new E1r(i,a,n,e,t,o,u)}e5.exports=C1r});var i5=l((kie,t5)=>{"use strict";var U1r=a5();t5.exports=U1r});var n5=l((Rie,s5)=>{"use strict";var M1r=se(),G1r=ve().isPrimitive,$1r=ca(),Y1r=ie(),o5=cr();function W1r(r){var e,a,t,o,i,s;if(!M1r(r))throw new TypeError(o5("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o=Y1r(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=[],s=1;s<=e;s++){if(t=arguments[s],!G1r(t))throw new TypeError(o5("invalid argument. Index arguments must be integers. Value: `%s`.",t));if(t=$1r(t,o[s-1]-1),t===-1)return;a.push(t)}return r.get.apply(r,a)}s5.exports=W1r});var u5=l((Vie,v5)=>{"use strict";var J1r=n5();v5.exports=J1r});var l5=l((zie,f5)=>{"use strict";function X1r(r){var e,a,t;for(a=r.length,e=[],t=0;t<a;t++)e.push(r[t]);return e}f5.exports=X1r});var xt=l((Bie,c5)=>{"use strict";var K1r=l5();c5.exports=K1r});var p5=l((Pie,d5)=>{"use strict";var H1r=xt();function Z1r(r,e){var a=r.shape;return e?H1r(a):a}d5.exports=Z1r});var _e=l((Fie,y5)=>{"use strict";var Q1r=p5();y5.exports=Q1r});var h5=l((Lie,m5)=>{"use strict";function rhr(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}m5.exports=rhr});var b5=l((Cie,g5)=>{"use strict";var ehr=h5();g5.exports=ehr});var w5=l((Uie,q5)=>{"use strict";var x5=_e(),ahr=b5();function thr(r,e){return ahr(x5(r,!1),x5(e,!1))}q5.exports=thr});var E5=l((Mie,S5)=>{"use strict";var ihr=w5();S5.exports=ihr});var _5=l((Gie,A5)=>{"use strict";var ohr=Be().factory,shr=De(),nhr=ohr(shr("boolean"));A5.exports=nhr});var T5=l(($ie,j5)=>{"use strict";var vhr=_5();j5.exports=vhr});var I5=l((Yie,O5)=>{"use strict";var uhr=Wr();function fhr(r,e){return r>=uhr(e)}O5.exports=fhr});var D5=l((Wie,N5)=>{"use strict";var lhr=I5();N5.exports=lhr});var V5=l((Jie,R5)=>{"use strict";var k5=ai();function chr(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=k5(r[0]),o=1;o<e;o++){if(t=k5(r[o]),t<a)return!1;a=t}return!0}R5.exports=chr});var Lu=l((Xie,z5)=>{"use strict";var dhr=V5();z5.exports=dhr});var P5=l((Kie,B5)=>{"use strict";var phr=Wr(),yhr=Ha();function mhr(r,e,a){var t,o;return t=phr(r),t===0?!1:(o=yhr(r,e,a),t===o[1]-o[0]+1)}B5.exports=mhr});var fo=l((Hie,F5)=>{"use strict";var hhr=P5();F5.exports=hhr});var C5=l((Zie,L5)=>{"use strict";var ghr=fo(),bhr=ba(),xhr=Lu();function qhr(r,e,a){return bhr(e)!==0&&xhr(e)&&ghr(r,e,a)}L5.exports=qhr});var M5=l((Qie,U5)=>{"use strict";var whr=C5();U5.exports=whr});var $5=l((roe,G5)=>{"use strict";var Shr=Be().factory,Ehr=De(),Ahr=Shr(Ehr("complex_floating_point"));G5.exports=Ahr});var lo=l((eoe,Y5)=>{"use strict";var _hr=$5();Y5.exports=_hr});var J5=l((aoe,W5)=>{"use strict";var jhr=fo(),Thr=ba();function Ohr(r,e,a){return Thr(e)!==0&&jhr(r,e,a)}W5.exports=Ohr});var K5=l((toe,X5)=>{"use strict";var Ihr=J5();X5.exports=Ihr});var Z5=l((ioe,H5)=>{"use strict";var Nhr=Be().factory,Dhr=De(),khr=Nhr(Dhr("floating_point"));H5.exports=khr});var Os=l((ooe,Q5)=>{"use strict";var Rhr=Z5();Q5.exports=Rhr});var eA=l((soe,rA)=>{"use strict";var Vhr=Be().factory,zhr=De(),Bhr=Vhr(zhr("integer"));rA.exports=Bhr});var Cu=l((noe,aA)=>{"use strict";var Phr=eA();aA.exports=Phr});var iA=l((voe,tA)=>{"use strict";var Fhr=Be().factory,Lhr=De(),Chr=Fhr(Lhr("numeric"));tA.exports=Chr});var Uu=l((uoe,oA)=>{"use strict";var Uhr=iA();oA.exports=Uhr});var nA=l((foe,sA)=>{"use strict";var Mhr=Fe(),Ghr=Mhr(Object.assign);sA.exports=Ghr});var uA=l((loe,vA)=>{"use strict";var $hr=Object.assign;vA.exports=$hr});var lA=l((coe,fA)=>{"use strict";var Yhr=typeof Object.getOwnPropertySymbols<"u";fA.exports=Yhr});var pA=l((doe,dA)=>{"use strict";var cA=Nt(),Whr=cA.getOwnPropertySymbols;function Jhr(r){return Whr(cA(r))}dA.exports=Jhr});var mA=l((poe,yA)=>{"use strict";function Xhr(){return[]}yA.exports=Xhr});var Gu=l((yoe,hA)=>{"use strict";var Khr=lA(),Hhr=pA(),Zhr=mA(),Mu;Khr?Mu=Hhr:Mu=Zhr;hA.exports=Mu});var bA=l((moe,gA)=>{"use strict";var Qhr=xa(),rgr=Gu(),egr=Ci();function agr(r){var e,a,t;for(e=Qhr(r),a=rgr(r),t=0;t<a.length;t++)egr(r,a[t])&&e.push(a[t]);return e}gA.exports=agr});var qA=l((hoe,xA)=>{"use strict";var tgr=bA();xA.exports=tgr});var EA=l((goe,SA)=>{"use strict";var igr=qA(),wA=Nt(),ogr=cr();function sgr(r){var e,a,t,o,i,s,n;if(r==null)throw new TypeError(ogr("invalid argument. First argument must be a non-null object. Value: `%s`.",r));for(i=wA(r),s=1;s<arguments.length;s++)if(e=arguments[s],e!=null)for(a=igr(wA(e)),o=a.length,n=0;n<o;n++)t=a[n],i[t]=e[t];return i}SA.exports=sgr});var _A=l((boe,AA)=>{"use strict";var ngr=nA(),vgr=uA(),ugr=EA(),$u;ngr?$u=vgr:$u=ugr;AA.exports=$u});var TA=l((xoe,jA)=>{"use strict";var fgr=_A();function lgr(r,e){var a=r.flags;return typeof a!="object"||a===null?{}:e?fgr({},a):a}jA.exports=lgr});var co=l((qoe,OA)=>{"use strict";var cgr=TA();OA.exports=cgr});var NA=l((woe,IA)=>{"use strict";var dgr=co();function pgr(r,e){return dgr(r,!1)[e]}IA.exports=pgr});var Yu=l((Soe,DA)=>{"use strict";var ygr=NA();DA.exports=ygr});var RA=l((Eoe,kA)=>{"use strict";var mgr=Yu();function hgr(r){return mgr(r,"READONLY")===!0}kA.exports=hgr});var Le=l((Aoe,VA)=>{"use strict";var ggr=RA();VA.exports=ggr});var BA=l((_oe,zA)=>{"use strict";var bgr=Be().factory,xgr=De(),qgr=bgr(xgr("real"));zA.exports=qgr});var Is=l((joe,PA)=>{"use strict";var wgr=BA();PA.exports=wgr});var LA=l((Toe,FA)=>{"use strict";var Sgr=Be().factory,Egr=De(),Agr=Sgr(Egr("real_floating_point"));FA.exports=Agr});var Wu=l((Ooe,CA)=>{"use strict";var _gr=LA();CA.exports=_gr});var GA=l((Ioe,MA)=>{"use strict";var UA=ai();function jgr(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=UA(r[0]),o=1;o<e;o++){if(t=UA(r[o]),t>a)return!1;a=t}return!0}MA.exports=jgr});var Ns=l((Noe,$A)=>{"use strict";var Tgr=GA();$A.exports=Tgr});var WA=l((Doe,YA)=>{"use strict";var Ogr=fo(),Igr=ba(),Ngr=Ns();function Dgr(r,e,a){return Igr(e)!==0&&Ngr(e)&&Ogr(r,e,a)}YA.exports=Dgr});var XA=l((koe,JA)=>{"use strict";var kgr=WA();JA.exports=kgr});var HA=l((Roe,KA)=>{"use strict";var Rgr=Be().factory,Vgr=De(),zgr=Rgr(Vgr("signed_integer"));KA.exports=zgr});var Ds=l((Voe,ZA)=>{"use strict";var Bgr=HA();ZA.exports=Bgr});var r_=l((zoe,QA)=>{"use strict";var Pgr=Be().factory,Fgr=De(),Lgr=Pgr(Fgr("unsigned_integer"));QA.exports=Lgr});var ks=l((Boe,e_)=>{"use strict";var Cgr=r_();e_.exports=Cgr});var t_=l((Poe,a_)=>{"use strict";var le=Ot(),ue={};le(ue,"hasEqualShape",E5());le(ue,"isAllowedDataTypeCast",Tu());le(ue,"isBooleanDataType",T5());le(ue,"isBufferLengthCompatible",yu());le(ue,"isBufferLengthCompatibleShape",D5());le(ue,"isCastingMode",wu());le(ue,"isColumnMajor",Lu());le(ue,"isColumnMajorContiguous",M5());le(ue,"isComplexFloatingPointDataType",lo());le(ue,"isContiguous",K5());le(ue,"isDataType",di());le(ue,"isFloatingPointDataType",Os());le(ue,"isIndexMode",pi());le(ue,"isIntegerDataType",Cu());le(ue,"isMostlySafeDataTypeCast",gs());le(ue,"isNumericDataType",Uu());le(ue,"isOrder",wa());le(ue,"isReadOnly",Le());le(ue,"isRealDataType",Is());le(ue,"isRealFloatingPointDataType",Wu());le(ue,"isRowMajor",Ns());le(ue,"isRowMajorContiguous",XA());le(ue,"isSafeDataTypeCast",ys());le(ue,"isSameKindDataTypeCast",ju());le(ue,"isSignedIntegerDataType",Ds());le(ue,"isSingleSegmentCompatible",fo());le(ue,"isUnsignedIntegerDataType",ks());a_.exports=ue});var o_=l((Foe,i_)=>{"use strict";function Ugr(r){return r.dtype}i_.exports=Ugr});var Ye=l((Loe,s_)=>{"use strict";var Mgr=o_();s_.exports=Mgr});var v_=l((Coe,n_)=>{"use strict";var Ggr=Ve(),$gr=xt(),Ygr="row-major";function Wgr(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=Ygr),Ggr(t,a))):e?$gr(o):o}n_.exports=Wgr});var ya=l((Uoe,u_)=>{"use strict";var Jgr=v_();u_.exports=Jgr});var l_=l((Moe,f_)=>{"use strict";var Xgr=Me();function Kgr(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:Xgr(a,e))}f_.exports=Kgr});var $a=l((Goe,c_)=>{"use strict";var Hgr=l_();c_.exports=Hgr});var p_=l(($oe,d_)=>{"use strict";var Zgr=kt(),Ju="row-major",Qgr="column-major";function rbr(r){var e,a;return a=r.order,typeof a=="string"?a:(e=r.strides,typeof e!="object"||e===null||(a=Zgr(e),a===1||a===3)?Ju:a===2?Qgr:r.shape.length===0?Ju:null)}d_.exports=rbr});var oa=l((Yoe,y_)=>{"use strict";var ebr=p_();y_.exports=ebr});var h_=l((Woe,m_)=>{"use strict";function abr(r){return r.data}m_.exports=abr});var nt=l((Joe,g_)=>{"use strict";var tbr=h_();g_.exports=tbr});var x_=l((Xoe,b_)=>{"use strict";var ibr=rt(),obr=et(),sbr=hi(),nbr=gt(),vbr=mi(),ubr=Wr(),fbr=Ye(),lbr=_e(),cbr=ya(),dbr=$a(),pbr=oa(),ybr=nt();function mbr(r){var e,a,t,o;return e=ybr(r),t=lbr(r,!0),o=fbr(r),a=ibr(e),{ref:r,dtype:o,data:e,length:ubr(t),shape:t,strides:cbr(r,!0),offset:dbr(r),order:pbr(r),accessorProtocol:a,accessors:a?[obr(o),sbr(o)]:[nbr(o),vbr(o)]}}b_.exports=mbr});var Yt=l((Koe,q_)=>{"use strict";var hbr=x_();q_.exports=hbr});var S_=l((Hoe,w_)=>{"use strict";function gbr(r){var e,a;if(e=[],r<=0)return e;for(a=0;a<r;a++)e.push(a);return e}w_.exports=gbr});var __=l((Zoe,A_)=>{"use strict";var bbr=st(),xbr=Zi(),qbr=Hi();function wbr(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 E_(r,e,a,t){var o,i,s;for(i=a*2,s=t*2,o=0;s>=0&&s<e.length;)e[s]=o,e[s+1]=0,s+=i,o+=1;return r}function Sbr(r,e,a){var t,o,i,s;for(t=r.data,o=r.accessors[1],s=a,i=0;s>=0&&s<t.length;)o(t,s,i),s+=e,i+=1;return t}function Ebr(r,e,a){var t=bbr(r);return t.accessorProtocol?t.dtype==="complex128"?E_(r,xbr(r,0),e,a):t.dtype==="complex64"?E_(r,qbr(r,0),e,a):Sbr(t,e,a):wbr(r,e,a)}A_.exports=Ebr});var qe=l((Qoe,T_)=>{"use strict";var Abr=Tr(),j_=S_(),_br=__();Abr(j_,"assign",_br);T_.exports=j_});var I_=l((rse,O_)=>{"use strict";function jbr(r,e){var a,t;for(a=[],t=0;t<e.length;t++)a.push(r[e[t]]);return a}O_.exports=jbr});var Xr=l((ese,N_)=>{"use strict";var Tbr=I_();N_.exports=Tbr});var k_=l((ase,D_)=>{"use strict";function Obr(r,e){var a,t,o,i,s,n,v,u,f,c;for(o=1,i=1,c=1;c<r.length;c++){for(v=r[o],a=v<0?-v:v,u=e[i],s=o-1,n=i-1;s>=0&&(f=r[s],t=f<0?-f:f,!(t<=a));)r[s+1]=f,e[n+1]=e[n],s-=1,n-=1;r[s+1]=v,e[n+1]=u,o+=1,i+=1}}D_.exports=Obr});var z_=l((tse,V_)=>{"use strict";var Ibr=qe(),Nbr=xt(),R_=Xr(),Dbr=k_();function kbr(r,e,a){var t;return t=Ibr(r.length),e=Nbr(e),Dbr(e,t),r=R_(r,t),a=R_(a,t),{sh:r,sx:e,sy:a,idx:t}}V_.exports=kbr});var Rr=l((ise,B_)=>{"use strict";var Rbr=z_();B_.exports=Rbr});var F_=l((ose,P_)=>{"use strict";var Vbr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};P_.exports=Vbr});var U_=l((sse,C_)=>{"use strict";var L_=Ka(),Xu=F_();function zbr(r,e){var a,t;return a=L_(r),t=L_(e),a===null||t===null?Xu.BLOCK_SIZE_IN_ELEMENTS:a>t?Xu.BLOCK_SIZE_IN_BYTES/a|0:Xu.BLOCK_SIZE_IN_BYTES/t|0}C_.exports=zbr});var kr=l((nse,M_)=>{"use strict";var Bbr=U_();M_.exports=Bbr});var $_=l((vse,G_)=>{"use strict";var Pbr=Rr(),Fbr=kr();function Lbr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j;for(j=Pbr(r.shape,r.strides,e.strides),m=j.sh,h=j.sx,g=j.sy,a=Fbr(r.dtype,e.dtype),x=r.offset,S=e.offset,t=r.data,o=e.data,n=h[0],u=g[0],i=r.accessors[0],s=e.accessors[1],q=m[1];q>0;)for(q<a?(y=q,q=0):(y=a,q-=a),c=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=c+E*h[0],A=p+E*g[0],v=h[1]-d*h[0],f=g[1]-d*g[0],b=0;b<y;b++){for(_=0;_<d;_++)s(o,A,i(t,w)),w+=n,A+=u;w+=v,A+=f}}G_.exports=Lbr});var W_=l((use,Y_)=>{"use strict";var Cbr=Rr(),Ubr=kr();function Mbr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V;for(V=Cbr(r.shape,r.strides,e.strides),g=V.sh,A=V.sx,_=V.sy,a=Ubr(r.dtype,e.dtype),b=r.offset,E=e.offset,t=r.data,o=e.data,n=A[0],f=_[0],i=r.accessors[0],s=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),u=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],j=y+D*_[0],v=A[1]-x*A[0],c=_[1]-x*_[0],O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++)s(o,j,i(t,q)),q+=n,j+=f;q+=v,j+=c}q+=u,j+=p}}Y_.exports=Mbr});var X_=l((fse,J_)=>{"use strict";var Gbr=Rr(),$br=kr();function Ybr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C;for(C=Gbr(r.shape,r.strides,e.strides),A=C.sh,j=C.sx,T=C.sy,a=$br(r.dtype,e.dtype),I=r.offset,O=e.offset,t=r.data,o=e.data,n=j[0],c=T[0],i=r.accessors[0],s=e.accessors[1],L=A[3];L>0;)for(L<a?(q=L,L=0):(q=a,L-=a),g=I+L*j[3],w=O+L*T[3],F=A[2];F>0;)for(F<a?(E=F,F=0):(E=a,F-=a),f=j[3]-E*j[2],d=T[3]-E*T[2],h=g+F*j[2],S=w+F*T[2],P=A[1];P>0;)for(P<a?(b=P,P=0):(b=a,P-=a),u=j[2]-b*j[1],m=T[2]-b*T[1],y=h+P*j[1],x=S+P*T[1],B=A[0];B>0;)for(B<a?(_=B,B=0):(_=a,B-=a),D=y+B*j[0],k=x+B*T[0],v=j[1]-_*j[0],p=T[1]-_*T[0],R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++)s(o,k,i(t,D)),D+=n,k+=c;D+=v,k+=p}D+=u,k+=m}D+=f,k+=d}}J_.exports=Ybr});var H_=l((lse,K_)=>{"use strict";var Wbr=Rr(),Jbr=kr();function Xbr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J;for(J=Wbr(r.shape,r.strides,e.strides),q=J.sh,k=J.sx,N=J.sy,a=Jbr(r.dtype,e.dtype),V=r.offset,z=e.offset,t=r.data,o=e.data,n=k[0],p=N[0],i=r.accessors[0],s=e.accessors[1],W=q[4];W>0;)for(W<a?(D=W,W=0):(D=a,W-=a),w=V+W*k[4],E=z+W*N[4],$=q[3];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),c=k[4]-O*k[3],h=N[4]-O*N[3],S=w+$*k[3],b=E+$*N[3],Y=q[2];Y>0;)for(Y<a?(I=Y,Y=0):(I=a,Y-=a),f=k[3]-I*k[2],y=N[3]-I*N[2],x=S+Y*k[2],_=b+Y*N[2],G=q[1];G>0;)for(G<a?(T=G,G=0):(T=a,G-=a),u=k[2]-T*k[1],d=N[2]-T*N[1],g=x+G*k[1],A=_+G*N[1],M=q[0];M>0;)for(M<a?(j=M,M=0):(j=a,M-=a),R=g+M*k[0],B=A+M*N[0],v=k[1]-j*k[0],m=N[1]-j*N[0],U=0;U<D;U++){for(C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++)s(o,B,i(t,R)),R+=n,B+=p;R+=v,B+=m}R+=u,B+=d}R+=f,B+=y}R+=c,B+=h}}K_.exports=Xbr});var Q_=l((cse,Z_)=>{"use strict";var Kbr=Rr(),Hbr=kr();function Zbr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar;for(ar=Kbr(r.shape,r.strides,e.strides),O=ar.sh,B=ar.sx,P=ar.sy,a=Hbr(r.dtype,e.dtype),F=r.offset,L=e.offset,t=r.data,o=e.data,n=B[0],m=P[0],i=r.accessors[0],s=e.accessors[1],rr=O[5];rr>0;)for(rr<a?(R=rr,rr=0):(R=a,rr-=a),b=F+rr*B[5],I=L+rr*P[5],Z=O[4];Z>0;)for(Z<a?(z=Z,Z=0):(z=a,Z-=a),p=B[5]-z*B[4],x=P[5]-z*P[4],_=b+Z*B[4],T=I+Z*P[4],Q=O[3];Q>0;)for(Q<a?(V=Q,Q=0):(V=a,Q-=a),c=B[4]-V*B[3],g=P[4]-V*P[3],A=_+Q*B[3],j=T+Q*P[3],H=O[2];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=B[3]-N*B[2],h=P[3]-N*P[2],w=A+H*B[2],q=j+H*P[2],K=O[1];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),u=B[2]-k*B[1],y=P[2]-k*P[1],S=w+K*B[1],E=q+K*P[1],X=O[0];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),C=S+X*B[0],U=E+X*P[0],v=B[1]-D*B[0],d=P[1]-D*P[0],J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++)s(o,U,i(t,C)),C+=n,U+=m;C+=v,U+=d}C+=u,U+=y}C+=f,U+=h}C+=c,U+=g}C+=p,U+=x}}Z_.exports=Zbr});var e8=l((dse,r8)=>{"use strict";var Qbr=Rr(),r2r=kr();function e2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr;for(vr=Qbr(r.shape,r.strides,e.strides),V=vr.sh,U=vr.sx,M=vr.sy,a=r2r(r.dtype,e.dtype),G=r.offset,Y=e.offset,t=r.data,o=e.data,n=U[0],d=M[0],i=r.accessors[0],s=e.accessors[1],nr=V[6];nr>0;)for(nr<a?(C=nr,nr=0):(C=a,nr-=a),j=G+nr*U[6],N=Y+nr*M[6],sr=V[5];sr>0;)for(sr<a?(L=sr,sr=0):(L=a,sr-=a),m=U[6]-L*U[5],w=M[6]-L*M[5],q=j+sr*U[5],k=N+sr*M[5],or=V[4];or>0;)for(or<a?(F=or,or=0):(F=a,or-=a),p=U[5]-F*U[4],S=M[5]-F*M[4],E=q+or*U[4],D=k+or*M[4],tr=V[3];tr>0;)for(tr<a?(P=tr,tr=0):(P=a,tr-=a),c=U[4]-P*U[3],x=M[4]-P*M[3],b=E+tr*U[3],O=D+tr*M[3],ir=V[2];ir>0;)for(ir<a?(B=ir,ir=0):(B=a,ir-=a),f=U[3]-B*U[2],g=M[3]-B*M[2],_=b+ir*U[2],I=O+ir*M[2],er=V[1];er>0;)for(er<a?(R=er,er=0):(R=a,er-=a),u=U[2]-R*U[1],h=M[2]-R*M[1],A=_+er*U[1],T=I+er*M[1],ar=V[0];ar>0;)for(ar<a?(z=ar,ar=0):(z=a,ar-=a),$=A+ar*U[0],W=T+ar*M[0],v=U[1]-z*U[0],y=M[1]-z*M[0],rr=0;rr<C;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<z;J++)s(o,W,i(t,$)),$+=n,W+=d;$+=v,W+=y}$+=u,W+=h}$+=f,W+=g}$+=c,W+=x}$+=p,W+=S}$+=m,W+=w}}r8.exports=e2r});var t8=l((pse,a8)=>{"use strict";var a2r=Rr(),t2r=kr();function i2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr;for(mr=a2r(r.shape,r.strides,e.strides),P=mr.sh,W=mr.sx,J=mr.sy,a=t2r(r.dtype,e.dtype),X=r.offset,K=e.offset,t=r.data,o=e.data,n=W[0],y=J[0],i=r.accessors[0],s=e.accessors[1],yr=P[7];yr>0;)for(yr<a?($=yr,yr=0):($=a,yr-=a),O=X+yr*W[7],B=K+yr*J[7],dr=P[6];dr>0;)for(dr<a?(Y=dr,dr=0):(Y=a,dr-=a),d=W[7]-Y*W[6],_=J[7]-Y*J[6],I=O+dr*W[6],R=B+dr*J[6],pr=P[5];pr>0;)for(pr<a?(G=pr,pr=0):(G=a,pr-=a),m=W[6]-G*W[5],A=J[6]-G*J[5],T=I+pr*W[5],z=R+pr*J[5],fr=P[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],j=T+fr*W[4],V=z+fr*J[4],lr=P[3];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),c=W[4]-U*W[3],S=J[4]-U*J[3],q=j+lr*W[3],N=V+lr*J[3],ur=P[2];ur>0;)for(ur<a?(C=ur,ur=0):(C=a,ur-=a),f=W[3]-C*W[2],x=J[3]-C*J[2],E=q+ur*W[2],k=N+ur*J[2],vr=P[1];vr>0;)for(vr<a?(L=vr,vr=0):(L=a,vr-=a),u=W[2]-L*W[1],g=J[2]-L*J[1],b=E+vr*W[1],D=k+vr*J[1],nr=P[0];nr>0;)for(nr<a?(F=nr,nr=0):(F=a,nr-=a),H=b+nr*W[0],Q=D+nr*J[0],v=W[1]-F*W[0],h=J[1]-F*J[0],sr=0;sr<$;sr++){for(or=0;or<Y;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<C;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<F;Z++)s(o,Q,i(t,H)),H+=n,Q+=y;H+=v,Q+=h}H+=u,Q+=g}H+=f,Q+=x}H+=c,Q+=S}H+=p,Q+=w}H+=m,Q+=A}H+=d,Q+=_}}a8.exports=i2r});var o8=l((yse,i8)=>{"use strict";var o2r=Rr(),s2r=kr();function n2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar;for(Ar=o2r(r.shape,r.strides,e.strides),U=Ar.sh,Q=Ar.sx,Z=Ar.sy,a=s2r(r.dtype,e.dtype),rr=r.offset,ar=e.offset,t=r.data,o=e.data,n=Q[0],h=Z[0],i=r.accessors[0],s=e.accessors[1],Er=U[8];Er>0;)for(Er<a?(H=Er,Er=0):(H=a,Er-=a),N=rr+Er*Q[8],C=ar+Er*Z[8],hr=U[7];hr>0;)for(hr<a?(K=hr,hr=0):(K=a,hr-=a),y=Q[8]-K*Q[7],E=Z[8]-K*Z[7],k=N+hr*Q[7],L=C+hr*Z[7],xr=U[6];xr>0;)for(xr<a?(X=xr,xr=0):(X=a,xr-=a),d=Q[7]-X*Q[6],b=Z[7]-X*Z[6],D=k+xr*Q[6],F=L+xr*Z[6],br=U[5];br>0;)for(br<a?(J=br,br=0):(J=a,br-=a),m=Q[6]-J*Q[5],_=Z[6]-J*Z[5],O=D+br*Q[5],P=F+br*Z[5],qr=U[4];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),p=Q[5]-W*Q[4],A=Z[5]-W*Z[4],I=O+qr*Q[4],B=P+qr*Z[4],gr=U[3];gr>0;)for(gr<a?($=gr,gr=0):($=a,gr-=a),c=Q[4]-$*Q[3],w=Z[4]-$*Z[3],T=I+gr*Q[3],R=B+gr*Z[3],mr=U[2];mr>0;)for(mr<a?(Y=mr,mr=0):(Y=a,mr-=a),f=Q[3]-Y*Q[2],S=Z[3]-Y*Z[2],j=T+mr*Q[2],z=R+mr*Z[2],yr=U[1];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),u=Q[2]-G*Q[1],x=Z[2]-G*Z[1],q=j+yr*Q[1],V=z+yr*Z[1],dr=U[0];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),er=q+dr*Q[0],ir=V+dr*Z[0],v=Q[1]-M*Q[0],g=Z[1]-M*Z[0],pr=0;pr<H;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++){for(sr=0;sr<Y;sr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++)s(o,ir,i(t,er)),er+=n,ir+=h;er+=v,ir+=g}er+=u,ir+=x}er+=f,ir+=S}er+=c,ir+=w}er+=p,ir+=A}er+=m,ir+=_}er+=d,ir+=b}er+=y,ir+=E}}i8.exports=n2r});var n8=l((mse,s8)=>{"use strict";var v2r=Rr(),u2r=kr();function f2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr,Kr,te;for(te=v2r(r.shape,r.strides,e.strides),$=te.sh,ir=te.sx,tr=te.sy,a=u2r(r.dtype,e.dtype),or=r.offset,sr=e.offset,t=r.data,o=e.data,n=ir[0],g=tr[0],i=r.accessors[0],s=e.accessors[1],Kr=$[9];Kr>0;)for(Kr<a?(er=Kr,Kr=0):(er=a,Kr-=a),R=or+Kr*ir[9],Y=sr+Kr*tr[9],Vr=$[8];Vr>0;)for(Vr<a?(ar=Vr,Vr=0):(ar=a,Vr-=a),h=ir[9]-ar*ir[8],j=tr[9]-ar*tr[8],z=R+Vr*ir[8],G=Y+Vr*tr[8],Dr=$[7];Dr>0;)for(Dr<a?(rr=Dr,Dr=0):(rr=a,Dr-=a),y=ir[8]-rr*ir[7],q=tr[8]-rr*tr[7],V=z+Dr*ir[7],M=G+Dr*tr[7],Or=$[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=V+Or*ir[6],U=M+Or*tr[6],jr=$[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],C=U+jr*tr[5],_r=$[4];_r>0;)for(_r<a?(H=_r,_r=0):(H=a,_r-=a),p=ir[5]-H*ir[4],_=tr[5]-H*tr[4],D=k+_r*ir[4],L=C+_r*tr[4],Ar=$[3];Ar>0;)for(Ar<a?(K=Ar,Ar=0):(K=a,Ar-=a),c=ir[4]-K*ir[3],A=tr[4]-K*tr[3],O=D+Ar*ir[3],F=L+Ar*tr[3],Er=$[2];Er>0;)for(Er<a?(X=Er,Er=0):(X=a,Er-=a),f=ir[3]-X*ir[2],w=tr[3]-X*tr[2],I=O+Er*ir[2],P=F+Er*tr[2],hr=$[1];hr>0;)for(hr<a?(J=hr,hr=0):(J=a,hr-=a),u=ir[2]-J*ir[1],S=tr[2]-J*tr[1],T=I+hr*ir[1],B=P+hr*tr[1],xr=$[0];xr>0;)for(xr<a?(W=xr,xr=0):(W=a,xr-=a),nr=T+xr*ir[0],vr=B+xr*tr[0],v=ir[1]-W*ir[0],x=tr[1]-W*tr[0],br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(ur=0;ur<W;ur++)s(o,vr,i(t,nr)),nr+=n,vr+=g;nr+=v,vr+=x}nr+=u,vr+=S}nr+=f,vr+=w}nr+=c,vr+=A}nr+=p,vr+=_}nr+=m,vr+=b}nr+=d,vr+=E}nr+=y,vr+=q}nr+=h,vr+=j}}s8.exports=f2r});var u8=l((hse,v8)=>{"use strict";var l2r=Rr(),c2r=kr();function d2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E;for(E=l2r(r.shape,r.strides,e.strides),c=E.sh,d=E.sx,y=E.sy,a=c2r(r.dtype,e.dtype),h=r.offset,g=e.offset,t=r.data,o=e.data,i=d[0],n=y[0],b=c[1];b>0;)for(b<a?(m=b,b=0):(m=a,b-=a),u=h+b*d[1],f=g+b*y[1],_=c[0];_>0;)for(_<a?(p=_,_=0):(p=a,_-=a),x=u+_*d[0],S=f+_*y[0],s=d[1]-p*d[0],v=y[1]-p*y[0],A=0;A<m;A++){for(w=0;w<p;w++)o[S]=t[x],x+=i,S+=n;x+=s,S+=v}}v8.exports=d2r});var l8=l((gse,f8)=>{"use strict";var p2r=Rr(),y2r=kr();function m2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k;for(k=p2r(r.shape,r.strides,e.strides),y=k.sh,S=k.sx,w=k.sy,a=y2r(r.dtype,e.dtype),A=r.offset,_=e.offset,t=r.data,o=e.data,i=S[0],v=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],O=y[1];O>0;)for(O<a?(g=O,O=0):(g=a,O-=a),n=S[2]-g*S[1],f=w[2]-g*w[1],c=p+O*S[1],m=d+O*w[1],I=y[0];I>0;)for(I<a?(h=I,I=0):(h=a,I-=a),b=c+I*S[0],E=m+I*w[0],s=S[1]-h*S[0],u=w[1]-h*w[0],T=0;T<x;T++){for(j=0;j<g;j++){for(q=0;q<h;q++)o[E]=t[b],b+=i,E+=v;b+=s,E+=u}b+=n,E+=f}}f8.exports=m2r});var d8=l((bse,c8)=>{"use strict";var h2r=Rr(),g2r=kr();function b2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(F=h2r(r.shape,r.strides,e.strides),S=F.sh,E=F.sx,q=F.sy,a=g2r(r.dtype,e.dtype),j=r.offset,T=e.offset,t=r.data,o=e.data,i=E[0],u=q[0],P=S[3];P>0;)for(P<a?(b=P,P=0):(b=a,P-=a),y=j+P*E[3],x=T+P*q[3],B=S[2];B>0;)for(B<a?(_=B,B=0):(_=a,B-=a),v=E[3]-_*E[2],p=q[3]-_*q[2],d=y+B*E[2],g=x+B*q[2],R=S[1];R>0;)for(R<a?(A=R,R=0):(A=a,R-=a),n=E[2]-A*E[1],c=q[2]-A*q[1],m=d+R*E[1],h=g+R*q[1],z=S[0];z>0;)for(z<a?(w=z,z=0):(w=a,z-=a),I=m+z*E[0],O=h+z*q[0],s=E[1]-w*E[0],f=q[1]-w*q[0],V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)o[O]=t[I],I+=i,O+=u;I+=s,O+=f}I+=n,O+=c}I+=v,O+=p}}c8.exports=b2r});var y8=l((xse,p8)=>{"use strict";var x2r=Rr(),q2r=kr();function w2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$;for($=x2r(r.shape,r.strides,e.strides),b=$.sh,O=$.sx,D=$.sy,a=q2r(r.dtype,e.dtype),k=r.offset,N=e.offset,t=r.data,o=e.data,i=O[0],f=D[0],Y=b[4];Y>0;)for(Y<a?(I=Y,Y=0):(I=a,Y-=a),x=k+Y*O[4],_=N+Y*D[4],G=b[3];G>0;)for(G<a?(T=G,G=0):(T=a,G-=a),u=O[4]-T*O[3],d=D[4]-T*D[3],g=x+G*O[3],A=_+G*D[3],M=b[2];M>0;)for(M<a?(j=M,M=0):(j=a,M-=a),v=O[3]-j*O[2],m=D[3]-j*D[2],h=g+M*O[2],w=A+M*D[2],U=b[1];U>0;)for(U<a?(q=U,U=0):(q=a,U-=a),n=O[2]-q*O[1],p=D[2]-q*D[1],y=h+U*O[1],S=w+U*D[1],C=b[0];C>0;)for(C<a?(E=C,C=0):(E=a,C-=a),V=y+C*O[0],z=S+C*D[0],s=O[1]-E*O[0],c=D[1]-E*D[0],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++)o[z]=t[V],V+=i,z+=f;V+=s,z+=c}V+=n,z+=p}V+=v,z+=m}V+=u,z+=d}}p8.exports=w2r});var h8=l((qse,m8)=>{"use strict";var S2r=Rr(),E2r=kr();function A2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z;for(Z=S2r(r.shape,r.strides,e.strides),T=Z.sh,z=Z.sx,R=Z.sy,a=E2r(r.dtype,e.dtype),B=r.offset,P=e.offset,t=r.data,o=e.data,i=z[0],c=R[0],Q=T[5];Q>0;)for(Q<a?(V=Q,Q=0):(V=a,Q-=a),A=B+Q*z[5],j=P+Q*R[5],H=T[4];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=z[5]-N*z[4],h=R[5]-N*R[4],w=A+H*z[4],q=j+H*R[4],K=T[3];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),u=z[4]-k*z[3],y=R[4]-k*R[3],S=w+K*z[3],E=q+K*R[3],X=T[2];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),v=z[3]-D*z[2],d=R[3]-D*R[2],x=S+X*z[2],b=E+X*R[2],J=T[1];J>0;)for(J<a?(O=J,J=0):(O=a,J-=a),n=z[2]-O*z[1],m=R[2]-O*R[1],g=x+J*z[1],_=b+J*R[1],W=T[0];W>0;)for(W<a?(I=W,W=0):(I=a,W-=a),F=g+W*z[0],L=_+W*R[0],s=z[1]-I*z[0],p=R[1]-I*R[0],$=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++)o[L]=t[F],F+=i,L+=c;F+=s,L+=p}F+=n,L+=m}F+=v,L+=d}F+=u,L+=y}F+=f,L+=h}}m8.exports=A2r});var b8=l((wse,g8)=>{"use strict";var _2r=Rr(),j2r=kr();function T2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(sr=_2r(r.shape,r.strides,e.strides),k=sr.sh,L=sr.sx,C=sr.sy,a=j2r(r.dtype,e.dtype),U=r.offset,M=e.offset,t=r.data,o=e.data,i=L[0],p=C[0],or=k[6];or>0;)for(or<a?(F=or,or=0):(F=a,or-=a),E=U+or*L[6],D=M+or*C[6],tr=k[5];tr>0;)for(tr<a?(P=tr,tr=0):(P=a,tr-=a),c=L[6]-P*L[5],x=C[6]-P*C[5],b=E+tr*L[5],O=D+tr*C[5],ir=k[4];ir>0;)for(ir<a?(B=ir,ir=0):(B=a,ir-=a),f=L[5]-B*L[4],g=C[5]-B*C[4],_=b+ir*L[4],I=O+ir*C[4],er=k[3];er>0;)for(er<a?(R=er,er=0):(R=a,er-=a),u=L[4]-R*L[3],h=C[4]-R*C[3],A=_+er*L[3],T=I+er*C[3],ar=k[2];ar>0;)for(ar<a?(z=ar,ar=0):(z=a,ar-=a),v=L[3]-z*L[2],y=C[3]-z*C[2],w=A+ar*L[2],j=T+ar*C[2],rr=k[1];rr>0;)for(rr<a?(V=rr,rr=0):(V=a,rr-=a),n=L[2]-V*L[1],d=C[2]-V*C[1],S=w+rr*L[1],q=j+rr*C[1],Z=k[0];Z>0;)for(Z<a?(N=Z,Z=0):(N=a,Z-=a),G=S+Z*L[0],Y=q+Z*C[0],s=L[1]-N*L[0],m=C[1]-N*C[0],Q=0;Q<F;Q++){for(H=0;H<P;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++)o[Y]=t[G],G+=i,Y+=p;G+=s,Y+=m}G+=n,Y+=d}G+=v,Y+=y}G+=u,Y+=h}G+=f,Y+=g}G+=c,Y+=x}}g8.exports=T2r});var q8=l((Sse,x8)=>{"use strict";var O2r=Rr(),I2r=kr();function N2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr;for(dr=O2r(r.shape,r.strides,e.strides),R=dr.sh,Y=dr.sx,$=dr.sy,a=I2r(r.dtype,e.dtype),W=r.offset,J=e.offset,t=r.data,o=e.data,i=Y[0],m=$[0],pr=R[7];pr>0;)for(pr<a?(G=pr,pr=0):(G=a,pr-=a),T=W+pr*Y[7],z=J+pr*$[7],fr=R[6];fr>0;)for(fr<a?(M=fr,fr=0):(M=a,fr-=a),p=Y[7]-M*Y[6],w=$[7]-M*$[6],j=T+fr*Y[6],V=z+fr*$[6],lr=R[5];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),c=Y[6]-U*Y[5],S=$[6]-U*$[5],q=j+lr*Y[5],N=V+lr*$[5],ur=R[4];ur>0;)for(ur<a?(C=ur,ur=0):(C=a,ur-=a),f=Y[5]-C*Y[4],x=$[5]-C*$[4],E=q+ur*Y[4],k=N+ur*$[4],vr=R[3];vr>0;)for(vr<a?(L=vr,vr=0):(L=a,vr-=a),u=Y[4]-L*Y[3],g=$[4]-L*$[3],b=E+vr*Y[3],D=k+vr*$[3],nr=R[2];nr>0;)for(nr<a?(F=nr,nr=0):(F=a,nr-=a),v=Y[3]-F*Y[2],h=$[3]-F*$[2],_=b+nr*Y[2],O=D+nr*$[2],sr=R[1];sr>0;)for(sr<a?(P=sr,sr=0):(P=a,sr-=a),n=Y[2]-P*Y[1],y=$[2]-P*$[1],A=_+sr*Y[1],I=O+sr*$[1],or=R[0];or>0;)for(or<a?(B=or,or=0):(B=a,or-=a),X=A+or*Y[0],K=I+or*$[0],s=Y[1]-B*Y[0],d=$[1]-B*$[0],tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<C;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<F;Z++){for(Q=0;Q<P;Q++){for(H=0;H<B;H++)o[K]=t[X],X+=i,K+=m;X+=s,K+=d}X+=n,K+=y}X+=v,K+=h}X+=u,K+=g}X+=f,K+=x}X+=c,K+=S}X+=p,K+=w}}x8.exports=N2r});var S8=l((Ese,w8)=>{"use strict";var D2r=Rr(),k2r=kr();function R2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr;for(hr=D2r(r.shape,r.strides,e.strides),L=hr.sh,K=hr.sx,H=hr.sy,a=k2r(r.dtype,e.dtype),Q=r.offset,Z=e.offset,t=r.data,o=e.data,i=K[0],d=H[0],xr=L[8];xr>0;)for(xr<a?(X=xr,xr=0):(X=a,xr-=a),D=Q+xr*K[8],F=Z+xr*H[8],br=L[7];br>0;)for(br<a?(J=br,br=0):(J=a,br-=a),m=K[8]-J*K[7],_=H[8]-J*H[7],O=D+br*K[7],P=F+br*H[7],qr=L[6];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),p=K[7]-W*K[6],A=H[7]-W*H[6],I=O+qr*K[6],B=P+qr*H[6],gr=L[5];gr>0;)for(gr<a?($=gr,gr=0):($=a,gr-=a),c=K[6]-$*K[5],w=H[6]-$*H[5],T=I+gr*K[5],R=B+gr*H[5],mr=L[4];mr>0;)for(mr<a?(Y=mr,mr=0):(Y=a,mr-=a),f=K[5]-Y*K[4],S=H[5]-Y*H[4],j=T+mr*K[4],z=R+mr*H[4],yr=L[3];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),u=K[4]-G*K[3],x=H[4]-G*H[3],q=j+yr*K[3],V=z+yr*H[3],dr=L[2];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),v=K[3]-M*K[2],g=H[3]-M*H[2],E=q+dr*K[2],N=V+dr*H[2],pr=L[1];pr>0;)for(pr<a?(U=pr,pr=0):(U=a,pr-=a),n=K[2]-U*K[1],h=H[2]-U*H[1],b=E+pr*K[1],k=N+pr*H[1],fr=L[0];fr>0;)for(fr<a?(C=fr,fr=0):(C=a,fr-=a),rr=b+fr*K[0],ar=k+fr*H[0],s=K[1]-C*K[0],y=H[1]-C*H[0],lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++){for(sr=0;sr<Y;sr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<U;ir++){for(er=0;er<C;er++)o[ar]=t[rr],rr+=i,ar+=d;rr+=s,ar+=y}rr+=n,ar+=h}rr+=v,ar+=g}rr+=u,ar+=x}rr+=f,ar+=S}rr+=c,ar+=w}rr+=p,ar+=A}rr+=m,ar+=_}}w8.exports=R2r});var A8=l((Ase,E8)=>{"use strict";var V2r=Rr(),z2r=kr();function B2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr;for(Vr=V2r(r.shape,r.strides,e.strides),G=Vr.sh,ar=Vr.sx,er=Vr.sy,a=z2r(r.dtype,e.dtype),ir=r.offset,tr=e.offset,t=r.data,o=e.data,i=ar[0],y=er[0],Dr=G[9];Dr>0;)for(Dr<a?(rr=Dr,Dr=0):(rr=a,Dr-=a),V=ir+Dr*ar[9],M=tr+Dr*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=V+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],C=U+jr*er[7],_r=G[6];_r>0;)for(_r<a?(H=_r,_r=0):(H=a,_r-=a),p=ar[7]-H*ar[6],_=er[7]-H*er[6],D=k+_r*ar[6],L=C+_r*er[6],Ar=G[5];Ar>0;)for(Ar<a?(K=Ar,Ar=0):(K=a,Ar-=a),c=ar[6]-K*ar[5],A=er[6]-K*er[5],O=D+Ar*ar[5],F=L+Ar*er[5],Er=G[4];Er>0;)for(Er<a?(X=Er,Er=0):(X=a,Er-=a),f=ar[5]-X*ar[4],w=er[5]-X*er[4],I=O+Er*ar[4],P=F+Er*er[4],hr=G[3];hr>0;)for(hr<a?(J=hr,hr=0):(J=a,hr-=a),u=ar[4]-J*ar[3],S=er[4]-J*er[3],T=I+hr*ar[3],B=P+hr*er[3],xr=G[2];xr>0;)for(xr<a?(W=xr,xr=0):(W=a,xr-=a),v=ar[3]-W*ar[2],x=er[3]-W*er[2],j=T+xr*ar[2],R=B+xr*er[2],br=G[1];br>0;)for(br<a?($=br,br=0):($=a,br-=a),n=ar[2]-$*ar[1],g=er[2]-$*er[1],q=j+br*ar[1],z=R+br*er[1],qr=G[0];qr>0;)for(qr<a?(Y=qr,qr=0):(Y=a,qr-=a),or=q+qr*ar[0],sr=z+qr*er[0],s=ar[1]-Y*ar[0],h=er[1]-Y*er[0],gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(ur=0;ur<W;ur++){for(vr=0;vr<$;vr++){for(nr=0;nr<Y;nr++)o[sr]=t[or],or+=i,sr+=y;or+=s,sr+=h}or+=n,sr+=g}or+=v,sr+=x}or+=u,sr+=S}or+=f,sr+=w}or+=c,sr+=A}or+=p,sr+=_}or+=m,sr+=b}or+=d,sr+=E}}E8.exports=B2r});var j8=l((_se,_8)=>{"use strict";function P2r(r,e){e.accessors[1](e.data,e.offset,r.accessors[0](r.data,r.offset))}_8.exports=P2r});var O8=l((jse,T8)=>{"use strict";function F2r(r,e){var a,t,o,i,s,n,v,u,f,c;for(v=r.shape[0],s=r.strides[0],n=e.strides[0],u=r.offset,f=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],c=0;c<v;c++)i(t,f,o(a,u)),u+=s,f+=n}T8.exports=F2r});var N8=l((Tse,I8)=>{"use strict";function L2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x;for(f=r.shape,m=r.strides,d=e.strides,r.order==="row-major"?(c=f[1],p=f[0],s=m[1],n=m[0]-c*m[1],v=d[1],u=d[0]-c*d[1]):(c=f[0],p=f[1],s=m[0],n=m[1]-c*m[0],v=d[0],u=d[1]-c*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<c;g++)i(t,h,o(a,y)),y+=s,h+=v;y+=n,h+=u}}I8.exports=L2r});var k8=l((Ose,D8)=>{"use strict";function C2r(r,e){var a,t,o,i,s,n,v,u,f,c,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],s=h[2],n=h[1]-m*h[2],v=h[0]-d*h[1],u=g[2],f=g[1]-m*g[2],c=g[0]-d*g[1]):(m=p[0],d=p[1],y=p[2],s=h[0],n=h[1]-m*h[0],v=h[2]-d*h[1],u=g[0],f=g[1]-m*g[0],c=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+=s,S+=u;x+=n,S+=f}x+=v,S+=c}}D8.exports=C2r});var V8=l((Ise,R8)=>{"use strict";function U2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j;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],s=S[3],n=S[2]-y*S[3],v=S[1]-h*S[2],u=S[0]-g*S[1],f=w[3],c=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],s=S[0],n=S[1]-y*S[0],v=S[2]-h*S[1],u=S[3]-g*S[2],f=w[0],c=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],j=0;j<x;j++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++)i(t,_,o(a,A)),A+=s,_+=f;A+=n,_+=c}A+=v,_+=p}A+=u,_+=m}}R8.exports=U2r});var B8=l((Nse,z8)=>{"use strict";function M2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],s=_[4],n=_[3]-g*_[4],v=_[2]-x*_[3],u=_[1]-S*_[2],f=_[0]-w*_[1],c=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],s=_[0],n=_[1]-g*_[0],v=_[2]-x*_[1],u=_[3]-S*_[2],f=_[4]-w*_[3],c=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(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++)i(t,q,o(a,E)),E+=s,q+=c;E+=n,q+=p}E+=v,q+=m}E+=u,q+=d}E+=f,q+=y}}z8.exports=M2r});var F8=l((Dse,P8)=>{"use strict";function G2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z;for(x=r.shape,q=r.strides,j=e.strides,r.order==="row-major"?(S=x[5],w=x[4],A=x[3],_=x[2],b=x[1],E=x[0],s=q[5],n=q[4]-S*q[5],v=q[3]-w*q[4],u=q[2]-A*q[3],f=q[1]-_*q[2],c=q[0]-b*q[1],p=j[5],m=j[4]-S*j[5],d=j[3]-w*j[4],y=j[2]-A*j[3],h=j[1]-_*j[2],g=j[0]-b*j[1]):(S=x[0],w=x[1],A=x[2],_=x[3],b=x[4],E=x[5],s=q[0],n=q[1]-S*q[0],v=q[2]-w*q[1],u=q[3]-A*q[2],f=q[4]-_*q[3],c=q[5]-b*q[4],p=j[0],m=j[1]-S*j[0],d=j[2]-w*j[1],y=j[3]-A*j[2],h=j[4]-_*j[3],g=j[5]-b*j[4]),T=r.offset,I=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(O=0;O<S;O++)i(t,I,o(a,T)),T+=s,I+=p;T+=n,I+=m}T+=v,I+=d}T+=u,I+=y}T+=f,I+=h}T+=c,I+=g}}P8.exports=G2r});var C8=l((kse,L8)=>{"use strict";function $2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(w=r.shape,I=r.strides,O=e.strides,r.order==="row-major"?(A=w[6],_=w[5],b=w[4],E=w[3],q=w[2],j=w[1],T=w[0],s=I[6],n=I[5]-A*I[6],v=I[4]-_*I[5],u=I[3]-b*I[4],f=I[2]-E*I[3],c=I[1]-q*I[2],p=I[0]-j*I[1],m=O[6],d=O[5]-A*O[6],y=O[4]-_*O[5],h=O[3]-b*O[4],g=O[2]-E*O[3],x=O[1]-q*O[2],S=O[0]-j*O[1]):(A=w[0],_=w[1],b=w[2],E=w[3],q=w[4],j=w[5],T=w[6],s=I[0],n=I[1]-A*I[0],v=I[2]-_*I[1],u=I[3]-b*I[2],f=I[4]-E*I[3],c=I[5]-q*I[4],p=I[6]-j*I[5],m=O[0],d=O[1]-A*O[0],y=O[2]-_*O[1],h=O[3]-b*O[2],g=O[4]-E*O[3],x=O[5]-q*O[4],S=O[6]-j*O[5]),D=r.offset,k=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++)i(t,k,o(a,D)),D+=s,k+=m;D+=n,k+=d}D+=v,k+=y}D+=u,k+=h}D+=f,k+=g}D+=c,k+=x}D+=p,k+=S}}L8.exports=$2r});var M8=l((Rse,U8)=>{"use strict";function Y2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M;for(_=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(b=_[7],E=_[6],q=_[5],j=_[4],T=_[3],I=_[2],O=_[1],D=_[0],s=k[7],n=k[6]-b*k[7],v=k[5]-E*k[6],u=k[4]-q*k[5],f=k[3]-j*k[4],c=k[2]-T*k[3],p=k[1]-I*k[2],m=k[0]-O*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]-j*N[4],S=N[2]-T*N[3],w=N[1]-I*N[2],A=N[0]-O*N[1]):(b=_[0],E=_[1],q=_[2],j=_[3],T=_[4],I=_[5],O=_[6],D=_[7],s=k[0],n=k[1]-b*k[0],v=k[2]-E*k[1],u=k[3]-q*k[2],f=k[4]-j*k[3],c=k[5]-T*k[4],p=k[6]-I*k[5],m=k[7]-O*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]-j*N[3],S=N[5]-T*N[4],w=N[6]-I*N[5],A=N[7]-O*N[6]),V=r.offset,z=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<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++)i(t,z,o(a,V)),V+=s,z+=d;V+=n,z+=y}V+=v,z+=h}V+=u,z+=g}V+=f,z+=x}V+=c,z+=S}V+=p,z+=w}V+=m,z+=A}}U8.exports=Y2r});var $8=l((Vse,G8)=>{"use strict";function W2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W;for(E=r.shape,z=r.strides,R=e.strides,r.order==="row-major"?(q=E[8],j=E[7],T=E[6],I=E[5],O=E[4],D=E[3],k=E[2],N=E[1],V=E[0],s=z[8],n=z[7]-q*z[8],v=z[6]-j*z[7],u=z[5]-T*z[6],f=z[4]-I*z[5],c=z[3]-O*z[4],p=z[2]-D*z[3],m=z[1]-k*z[2],d=z[0]-N*z[1],y=R[8],h=R[7]-q*R[8],g=R[6]-j*R[7],x=R[5]-T*R[6],S=R[4]-I*R[5],w=R[3]-O*R[4],A=R[2]-D*R[3],_=R[1]-k*R[2],b=R[0]-N*R[1]):(q=E[0],j=E[1],T=E[2],I=E[3],O=E[4],D=E[5],k=E[6],N=E[7],V=E[8],s=z[0],n=z[1]-q*z[0],v=z[2]-j*z[1],u=z[3]-T*z[2],f=z[4]-I*z[3],c=z[5]-O*z[4],p=z[6]-D*z[5],m=z[7]-k*z[6],d=z[8]-N*z[7],y=R[0],h=R[1]-q*R[0],g=R[2]-j*R[1],x=R[3]-T*R[2],S=R[4]-I*R[3],w=R[5]-O*R[4],A=R[6]-D*R[5],_=R[7]-k*R[6],b=R[8]-N*R[7]),B=r.offset,P=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++){for(F=0;F<q;F++)i(t,P,o(a,B)),B+=s,P+=y;B+=n,P+=h}B+=v,P+=g}B+=u,P+=x}B+=f,P+=S}B+=c,P+=w}B+=p,P+=A}B+=m,P+=_}B+=d,P+=b}}G8.exports=W2r});var W8=l((zse,Y8)=>{"use strict";function J2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H;for(j=r.shape,P=r.strides,F=e.strides,r.order==="row-major"?(T=j[9],I=j[8],O=j[7],D=j[6],k=j[5],N=j[4],V=j[3],z=j[2],R=j[1],B=j[0],s=P[9],n=P[8]-T*P[9],v=P[7]-I*P[8],u=P[6]-O*P[7],f=P[5]-D*P[6],c=P[4]-k*P[5],p=P[3]-N*P[4],m=P[2]-V*P[3],d=P[1]-z*P[2],y=P[0]-R*P[1],h=F[9],g=F[8]-T*F[9],x=F[7]-I*F[8],S=F[6]-O*F[7],w=F[5]-D*F[6],A=F[4]-k*F[5],_=F[3]-N*F[4],b=F[2]-V*F[3],E=F[1]-z*F[2],q=F[0]-R*F[1]):(T=j[0],I=j[1],O=j[2],D=j[3],k=j[4],N=j[5],V=j[6],z=j[7],R=j[8],B=j[9],s=P[0],n=P[1]-T*P[0],v=P[2]-I*P[1],u=P[3]-O*P[2],f=P[4]-D*P[3],c=P[5]-k*P[4],p=P[6]-N*P[5],m=P[7]-V*P[6],d=P[8]-z*P[7],y=P[9]-R*P[8],h=F[0],g=F[1]-T*F[0],x=F[2]-I*F[1],S=F[3]-O*F[2],w=F[4]-D*F[3],A=F[5]-k*F[4],_=F[6]-N*F[5],b=F[7]-V*F[6],E=F[8]-z*F[7],q=F[9]-R*F[8]),L=r.offset,C=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],H=0;H<B;H++){for(K=0;K<R;K++){for(X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++){for(G=0;G<O;G++){for(M=0;M<I;M++){for(U=0;U<T;U++)i(t,C,o(a,L)),L+=s,C+=h;L+=n,C+=g}L+=v,C+=x}L+=u,C+=S}L+=f,C+=w}L+=c,C+=A}L+=p,C+=_}L+=m,C+=b}L+=d,C+=E}L+=y,C+=q}}Y8.exports=J2r});var H8=l((Bse,K8)=>{"use strict";var X2r=Wr(),J8=ia(),X8="throw";function K2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h;for(u=r.shape,s=X2r(u),a=r.data,t=e.data,f=r.strides,c=e.strides,p=r.offset,m=e.offset,o=r.order,i=e.order,n=r.accessors[0],v=e.accessors[1],h=0;h<s;h++)d=J8(u,f,p,o,h,X8),y=J8(u,c,m,i,h,X8),v(t,y,n(a,d))}K8.exports=K2r});var Q8=l((Pse,Z8)=>{"use strict";function H2r(r,e){e.data[e.offset]=r.data[r.offset]}Z8.exports=H2r});var ej=l((Fse,rj)=>{"use strict";function Z2r(r,e){var a,t,o,i,s,n,v,u;for(s=r.shape[0],o=r.strides[0],i=e.strides[0],n=r.offset,v=e.offset,a=r.data,t=e.data,u=0;u<s;u++)t[v]=a[n],n+=o,v+=i}rj.exports=Z2r});var tj=l((Lse,aj)=>{"use strict";function Q2r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h;for(v=r.shape,c=r.strides,p=e.strides,r.order==="row-major"?(u=v[1],f=v[0],o=c[1],i=c[0]-u*c[1],s=p[1],n=p[0]-u*p[1]):(u=v[0],f=v[1],o=c[0],i=c[1]-u*c[0],s=p[0],n=p[1]-u*p[0]),m=r.offset,d=e.offset,a=r.data,t=e.data,h=0;h<f;h++){for(y=0;y<u;y++)t[d]=a[m],m+=o,d+=s;m+=i,d+=n}}aj.exports=Q2r});var oj=l((Cse,ij)=>{"use strict";function rxr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;for(f=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(c=f[2],p=f[1],m=f[0],o=d[2],i=d[1]-c*d[2],s=d[0]-p*d[1],n=y[2],v=y[1]-c*y[2],u=y[0]-p*y[1]):(c=f[0],p=f[1],m=f[2],o=d[0],i=d[1]-c*d[0],s=d[2]-p*d[1],n=y[0],v=y[1]-c*y[0],u=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<c;x++)t[g]=a[h],h+=o,g+=n;h+=i,g+=v}h+=s,g+=u}}ij.exports=rxr});var nj=l((Use,sj)=>{"use strict";function exr(r,e){var a,t,o,i,s,n,v,u,f,c,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],s=g[1]-d*g[2],n=g[0]-y*g[1],v=x[3],u=x[2]-m*x[3],f=x[1]-d*x[2],c=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],s=g[2]-d*g[1],n=g[3]-y*g[2],v=x[0],u=x[1]-m*x[0],f=x[2]-d*x[1],c=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+=v;S+=i,w+=u}S+=s,w+=f}S+=n,w+=c}}sj.exports=exr});var uj=l((Mse,vj)=>{"use strict";function axr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I;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],s=w[2]-h*w[3],n=w[1]-g*w[2],v=w[0]-x*w[1],u=A[4],f=A[3]-y*A[4],c=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],s=w[2]-h*w[1],n=w[3]-g*w[2],v=w[4]-x*w[3],u=A[0],f=A[1]-y*A[0],c=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,I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++){for(q=0;q<h;q++){for(E=0;E<y;E++)t[b]=a[_],_+=o,b+=u;_+=i,b+=f}_+=s,b+=c}_+=n,b+=p}_+=v,b+=m}}vj.exports=axr});var lj=l((Gse,fj)=>{"use strict";function txr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],s=b[3]-x*b[4],n=b[2]-S*b[3],v=b[1]-w*b[2],u=b[0]-A*b[1],f=E[5],c=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],s=b[2]-x*b[1],n=b[3]-S*b[2],v=b[4]-w*b[3],u=b[5]-A*b[4],f=E[0],c=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,j=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(O=0;O<S;O++){for(I=0;I<x;I++){for(T=0;T<g;T++)t[j]=a[q],q+=o,j+=f;q+=i,j+=c}q+=s,j+=p}q+=n,j+=m}q+=v,j+=d}q+=u,j+=y}}fj.exports=txr});var dj=l(($se,cj)=>{"use strict";function ixr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B;for(x=r.shape,j=r.strides,T=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=j[6],i=j[5]-S*j[6],s=j[4]-w*j[5],n=j[3]-A*j[4],v=j[2]-_*j[3],u=j[1]-b*j[2],f=j[0]-E*j[1],c=T[6],p=T[5]-S*T[6],m=T[4]-w*T[5],d=T[3]-A*T[4],y=T[2]-_*T[3],h=T[1]-b*T[2],g=T[0]-E*T[1]):(S=x[0],w=x[1],A=x[2],_=x[3],b=x[4],E=x[5],q=x[6],o=j[0],i=j[1]-S*j[0],s=j[2]-w*j[1],n=j[3]-A*j[2],v=j[4]-_*j[3],u=j[5]-b*j[4],f=j[6]-E*j[5],c=T[0],p=T[1]-S*T[0],m=T[2]-w*T[1],d=T[3]-A*T[2],y=T[4]-_*T[3],h=T[5]-b*T[4],g=T[6]-E*T[5]),I=r.offset,O=e.offset,a=r.data,t=e.data,B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++)t[O]=a[I],I+=o,O+=c;I+=i,O+=p}I+=s,O+=m}I+=n,O+=d}I+=v,O+=y}I+=u,O+=h}I+=f,O+=g}}cj.exports=ixr});var yj=l((Yse,pj)=>{"use strict";function oxr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C;for(w=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(A=w[7],_=w[6],b=w[5],E=w[4],q=w[3],j=w[2],T=w[1],I=w[0],o=O[7],i=O[6]-A*O[7],s=O[5]-_*O[6],n=O[4]-b*O[5],v=O[3]-E*O[4],u=O[2]-q*O[3],f=O[1]-j*O[2],c=O[0]-T*O[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]-j*D[2],S=D[0]-T*D[1]):(A=w[0],_=w[1],b=w[2],E=w[3],q=w[4],j=w[5],T=w[6],I=w[7],o=O[0],i=O[1]-A*O[0],s=O[2]-_*O[1],n=O[3]-b*O[2],v=O[4]-E*O[3],u=O[5]-q*O[4],f=O[6]-j*O[5],c=O[7]-T*O[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]-j*D[5],S=D[7]-T*D[6]),k=r.offset,N=e.offset,a=r.data,t=e.data,C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++){for(V=0;V<A;V++)t[N]=a[k],k+=o,N+=p;k+=i,N+=m}k+=s,N+=d}k+=n,N+=y}k+=v,N+=h}k+=u,N+=g}k+=f,N+=x}k+=c,N+=S}}pj.exports=oxr});var hj=l((Wse,mj)=>{"use strict";function sxr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y;for(_=r.shape,N=r.strides,V=e.strides,r.order==="row-major"?(b=_[8],E=_[7],q=_[6],j=_[5],T=_[4],I=_[3],O=_[2],D=_[1],k=_[0],o=N[8],i=N[7]-b*N[8],s=N[6]-E*N[7],n=N[5]-q*N[6],v=N[4]-j*N[5],u=N[3]-T*N[4],f=N[2]-I*N[3],c=N[1]-O*N[2],p=N[0]-D*N[1],m=V[8],d=V[7]-b*V[8],y=V[6]-E*V[7],h=V[5]-q*V[6],g=V[4]-j*V[5],x=V[3]-T*V[4],S=V[2]-I*V[3],w=V[1]-O*V[2],A=V[0]-D*V[1]):(b=_[0],E=_[1],q=_[2],j=_[3],T=_[4],I=_[5],O=_[6],D=_[7],k=_[8],o=N[0],i=N[1]-b*N[0],s=N[2]-E*N[1],n=N[3]-q*N[2],v=N[4]-j*N[3],u=N[5]-T*N[4],f=N[6]-I*N[5],c=N[7]-O*N[6],p=N[8]-D*N[7],m=V[0],d=V[1]-b*V[0],y=V[2]-E*V[1],h=V[3]-q*V[2],g=V[4]-j*V[3],x=V[5]-T*V[4],S=V[6]-I*V[5],w=V[7]-O*V[6],A=V[8]-D*V[7]),z=r.offset,R=e.offset,a=r.data,t=e.data,Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++){for(F=0;F<q;F++){for(P=0;P<E;P++){for(B=0;B<b;B++)t[R]=a[z],z+=o,R+=m;z+=i,R+=d}z+=s,R+=y}z+=n,R+=h}z+=v,R+=g}z+=u,R+=x}z+=f,R+=S}z+=c,R+=w}z+=p,R+=A}}mj.exports=sxr});var bj=l((Jse,gj)=>{"use strict";function nxr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X;for(E=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(q=E[9],j=E[8],T=E[7],I=E[6],O=E[5],D=E[4],k=E[3],N=E[2],V=E[1],z=E[0],o=R[9],i=R[8]-q*R[9],s=R[7]-j*R[8],n=R[6]-T*R[7],v=R[5]-I*R[6],u=R[4]-O*R[5],f=R[3]-D*R[4],c=R[2]-k*R[3],p=R[1]-N*R[2],m=R[0]-V*R[1],d=B[9],y=B[8]-q*B[9],h=B[7]-j*B[8],g=B[6]-T*B[7],x=B[5]-I*B[6],S=B[4]-O*B[5],w=B[3]-D*B[4],A=B[2]-k*B[3],_=B[1]-N*B[2],b=B[0]-V*B[1]):(q=E[0],j=E[1],T=E[2],I=E[3],O=E[4],D=E[5],k=E[6],N=E[7],V=E[8],z=E[9],o=R[0],i=R[1]-q*R[0],s=R[2]-j*R[1],n=R[3]-T*R[2],v=R[4]-I*R[3],u=R[5]-O*R[4],f=R[6]-D*R[5],c=R[7]-k*R[6],p=R[8]-N*R[7],m=R[9]-V*R[8],d=B[0],y=B[1]-q*B[0],h=B[2]-j*B[1],g=B[3]-T*B[2],x=B[4]-I*B[3],S=B[5]-O*B[4],w=B[6]-D*B[5],A=B[7]-k*B[6],_=B[8]-N*B[7],b=B[9]-V*B[8]),P=r.offset,F=e.offset,a=r.data,t=e.data,X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++){for(G=0;G<O;G++){for(M=0;M<I;M++){for(U=0;U<T;U++){for(C=0;C<j;C++){for(L=0;L<q;L++)t[F]=a[P],P+=o,F+=d;P+=i,F+=y}P+=s,F+=h}P+=n,F+=g}P+=v,F+=x}P+=u,F+=S}P+=f,F+=w}P+=c,F+=A}P+=p,F+=_}P+=m,F+=b}}gj.exports=nxr});var Sj=l((Xse,wj)=>{"use strict";var vxr=Wr(),xj=ia(),qj="throw";function uxr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d;for(n=r.shape,s=vxr(n),a=r.data,t=e.data,v=r.strides,u=e.strides,f=r.offset,c=e.offset,o=r.order,i=e.order,d=0;d<s;d++)p=xj(n,v,f,o,d,qj),m=xj(n,u,c,i,d,qj),t[m]=a[p]}wj.exports=uxr});var Oj=l((Kse,Tj)=>{"use strict";var fxr=lo(),lxr=Is(),Ej=ba(),cxr=Fu(),dxr=_s(),Aj=Ha(),_j=Yt(),pxr=$_(),yxr=W_(),mxr=X_(),hxr=H_(),gxr=Q_(),bxr=e8(),xxr=t8(),qxr=o8(),wxr=n8(),Sxr=u8(),Exr=l8(),Axr=d8(),_xr=y8(),jxr=h8(),Txr=b8(),Oxr=q8(),Ixr=S8(),Nxr=A8(),Dxr=j8(),kxr=O8(),Rxr=N8(),Vxr=k8(),zxr=V8(),Bxr=B8(),Pxr=F8(),Fxr=C8(),Lxr=M8(),Cxr=$8(),Uxr=W8(),Mxr=H8(),Gxr=Q8(),$xr=ej(),Yxr=tj(),Wxr=oj(),Jxr=nj(),Xxr=uj(),Kxr=lj(),Hxr=dj(),Zxr=yj(),Qxr=hj(),rqr=bj(),eqr=Sj(),gi=[Gxr,$xr,Yxr,Wxr,Jxr,Xxr,Kxr,Hxr,Zxr,Qxr,rqr],po=[Dxr,kxr,Rxr,Vxr,zxr,Bxr,Pxr,Fxr,Lxr,Cxr,Uxr],aqr=[Sxr,Exr,Axr,_xr,jxr,Txr,Oxr,Ixr,Nxr],tqr=[pxr,yxr,mxr,hxr,gxr,bxr,xxr,qxr,wxr],jj=gi.length-1;function iqr(r){var e,a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;if(d=_j(r[0]),y=_j(r[1]),lxr(d.dtype)&&fxr(y.dtype)&&(d.accessorProtocol=!0,d.accessors[0]=cxr(d.accessors[0],2,dxr(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?po[e](d,y):gi[e](d,y);for(v=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.");v*=h,h===1&&(m+=1)}if(v!==0){if(e===1)return d.accessorProtocol||y.accessorProtocol?po[e](d,y):gi[e](d,y);if(u=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=[u[g]],y.strides=[f[g]],d.accessorProtocol||y.accessorProtocol?po[1](d,y):gi[1](d,y)}if(s=Ej(u),n=Ej(f),s!==0&&n!==0&&s===n){if(a=Aj(o,u,d.offset),t=Aj(i,f,y.offset),v===a[1]-a[0]+1&&v===t[1]-t[0]+1)return s===1?c=a[0]:c=a[1],n===1?p=t[0]:p=t[1],d.shape=[v],y.shape=d.shape,d.strides=[s],y.strides=[n],d.offset=c,y.offset=p,d.accessorProtocol||y.accessorProtocol?po[1](d,y):gi[1](d,y);if(e<=jj)return d.accessorProtocol||y.accessorProtocol?po[e](d,y):gi[e](d,y)}if(e<=jj)return d.accessorProtocol||y.accessorProtocol?tqr[e-2](d,y):aqr[e-2](d,y);if(d.accessorProtocol||y.accessorProtocol)return Mxr(d,y);eqr(d,y)}}Tj.exports=iqr});var Ku=l((Hse,Ij)=>{"use strict";var oqr=Oj();Ij.exports=oqr});var Dj=l((Zse,Nj)=>{"use strict";function sqr(r,e){var a,t,o,i,s,n,v,u,f,c;for(o=1,i=1,c=1;c<r.length;c++){for(v=r[o],a=v<0?-v:v,u=e[i],s=o-1,n=i-1;s>=0&&(f=r[s],t=f<0?-f:f,!(t<=a));)r[s+1]=f,e[n+1]=e[n],s-=1,n-=1;r[s+1]=v,e[n+1]=u,o+=1,i+=1}}Nj.exports=sqr});var Vj=l((Qse,Rj)=>{"use strict";var nqr=qe(),vqr=xt(),Rs=Xr(),uqr=vo(),Hu=kt(),fqr=Dj(),kj=3;function lqr(r,e,a,t){var o,i,s,n,v,u,f,c,p,m;if(o=nqr(r.length),u=Hu(e),f=Hu(a),c=Hu(t),i=uqr([],4),i[u].push(e),i[f].push(a),i[c].push(t),s=i[0].length,s===kj)v=e;else if(s===kj-1){for(p=1;p<4;p++)if(i[p].length){v=i[p][0];break}}else{for(m=0,p=1;p<4;p++)n=i[p].length,n>=s&&(s=n,m=p);v=i[m][0]}return v=vqr(v),fqr(v,o),r=Rs(r,o),e=e===v?v:Rs(e,o),a=a===v?v:Rs(a,o),t=t===v?v:Rs(t,o),{sh:r,sx:e,sy:a,sz:t}}Rj.exports=lqr});var Bj=l((rne,zj)=>{"use strict";var cqr=Vj();zj.exports=cqr});var Fj=l((ene,Pj)=>{"use strict";var dqr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};Pj.exports=dqr});var Cj=l((ane,Lj)=>{"use strict";var Zu=Ka(),Vs=Fj();function pqr(r,e,a){var t,o,i;return t=Zu(r),o=Zu(e),i=Zu(a),t===null||o===null||i===null?Vs.BLOCK_SIZE_IN_ELEMENTS:t>o&&t>i?Vs.BLOCK_SIZE_IN_BYTES/t|0:o>i?Vs.BLOCK_SIZE_IN_BYTES/o|0:Vs.BLOCK_SIZE_IN_BYTES/i|0}Lj.exports=pqr});var Mj=l((tne,Uj)=>{"use strict";var yqr=Cj();Uj.exports=yqr});var $j=l((ine,Gj)=>{"use strict";var mqr=Math.ceil;Gj.exports=mqr});var Qu=l((one,Yj)=>{"use strict";var hqr=$j();Yj.exports=hqr});var Jj=l((sne,Wj)=>{"use strict";var gqr=Ze(),bqr=Qu();function xqr(r){return r<0?bqr(r):gqr(r)}Wj.exports=xqr});var rf=l((nne,Xj)=>{"use strict";var qqr=Jj();Xj.exports=qqr});var Zj=l((vne,Hj)=>{"use strict";var wqr=cr(),zs=rf(),Kj=ai();function Sqr(r,e,a,t,o,i){var s,n,v,u,f,c;for(s=r.length,n=1,c=0;c<s;c++)n*=r[c];if(i==="clamp")o<0?o=0:o>=n&&(o=n-1);else if(i==="wrap")o<0?(o+=n,o<0&&(o%=n,o!==0&&(o+=n))):o>=n&&(o-=n,o>=n&&(o%=n));else if(i==="normalize"&&o<0&&(o+=n),o<0||o>=n)throw new RangeError(wqr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",n,o));if(v=0,t==="column-major"){for(c=s-1;c>=0;c--)f=e[c],f<0?(u=zs(o/f),o-=u*f,u+=r[c]-1):(u=zs(o/f),o-=u*f),v+=u*Kj(f);return v}for(c=0;c<s;c++)f=e[c],f<0?(u=zs(o/f),o-=u*f,u+=r[c]-1):(u=zs(o/f),o-=u*f),v+=u*Kj(f);return v}Hj.exports=Sqr});var rT=l((une,Qj)=>{"use strict";var Eqr=Zj();Qj.exports=Eqr});var tT=l((fne,aT)=>{"use strict";var yo=xt(),Aqr=ra(),_qr=_e(),jqr=ya(),Tqr=$a(),Oqr=oa(),Iqr=Ye(),Nqr=nt(),eT=cr();function Dqr(r,e){var a,t,o,i,s,n,v,u,f;if(s=e.length,o=_qr(r,!1),n=o.length,s<n)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=[],u=0;u<s;u++)a.push(0);for(i=jqr(r,!1),u=s-1;u>=0;u--)if(f=n-s+u,!(f<0)){if(v=o[f],t=e[u],t!==0&&t<v)throw new Error(eT("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.",yo(o).join(", "),yo(e).join(", "),u));if(v===t)a[u]=i[f];else if(v===1)a[u]=0;else throw new Error(eT("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",yo(o).join(", "),yo(e).join(", "),u))}return Aqr(Iqr(r),Nqr(r),yo(e),a,Tqr(r),Oqr(r))}aT.exports=Dqr});var mo=l((lne,iT)=>{"use strict";var kqr=tT();iT.exports=kqr});var sT=l((cne,oT)=>{"use strict";function Rqr(r){var e,a,t,o,i,s,n,v,u,f,c;if(v=r.length,a=[],v===0)return a;if(o=r[0],u=o.length,v===1){for(f=0;f<u;f++)a.push(o[f]);return a}for(e=[u],f=1;f<v;f++)e.push(r[f].length),e[f]>u&&(u=e[f]);for(f=0;f<u;f++)a.push(0);for(f=u-1;f>=0;){for(i=e[0]-u+f,i>=0?t=o[i]:t=1,c=1;c<v;c++){if(s=e[c]-u+f,s>=0?n=r[c][s]:n=1,t===1){t=n;continue}if(!(n===1||t===n))return null}a[f]=t,f-=1}return a}oT.exports=Rqr});var bi=l((dne,nT)=>{"use strict";var Vqr=sT();nT.exports=Vqr});var uT=l((pne,vT)=>{"use strict";var zqr=bi(),Bqr=mo(),Pqr=_e();function Fqr(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(Pqr(r[i],!1));if(t=zqr(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(Bqr(r[i],t));return a}vT.exports=Fqr});var lT=l((yne,fT)=>{"use strict";var Lqr=uT();fT.exports=Lqr});var dT=l((mne,cT)=>{"use strict";var Cqr=rt(),Uqr=hi(),Mqr=mi(),Gqr=xe(),$qr=Ia(),Yqr=ra(),Wqr=cr();function Jqr(r,e,a,t){var o,i;if(o=$qr(e,1),o===null)throw new TypeError(Wqr("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),Cqr(o)?i=Uqr(e):i=Mqr(e),i(o,0,r),new Yqr(e,o,a,Gqr(a.length),0,t)}cT.exports=Jqr});var yT=l((hne,pT)=>{"use strict";var Xqr=dT();pT.exports=Xqr});var hT=l((gne,mT)=>{"use strict";var Kqr=oo(),Hqr=ws();function Zqr(r){var e=Hqr(r);return e?Kqr(e):null}mT.exports=Zqr});var bT=l((bne,gT)=>{"use strict";var Qqr=hT();gT.exports=Qqr});var qT=l((xne,xT)=>{"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"}}xT.exports=rwr});var ET=l((qne,ST)=>{"use strict";var ewr=Oa(),wT=qT(),ef;function awr(r){return arguments.length===0?wT():(ef===void 0&&(ef=wT()),ef[ewr(r)]||null)}ST.exports=awr});var af=l((wne,AT)=>{"use strict";var twr=ET();AT.exports=twr});var OT=l((Sne,TT)=>{"use strict";var _T=ls(),jT=af(),tf;function iwr(r){return arguments.length===0?_T(jT()):(tf===void 0&&(tf=_T(jT())),tf[r]||null)}TT.exports=iwr});var NT=l((Ene,IT)=>{"use strict";var owr=OT();IT.exports=owr});var kT=l((Ane,DT)=>{"use strict";function swr(){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"}}DT.exports=swr});var zT=l((_ne,VT)=>{"use strict";var nwr=Oa(),RT=kT(),of;function vwr(r){return arguments.length===0?RT():(of===void 0&&(of=RT()),of[nwr(r)]||null)}VT.exports=vwr});var PT=l((jne,BT)=>{"use strict";var uwr=zT();BT.exports=uwr});var LT=l((Tne,FT)=>{"use strict";var fwr=cs(),lwr=oo();function cwr(r){var e=typeof r;return e==="number"?fwr(r)?r:null:e==="string"?lwr(r):null}FT.exports=cwr});var sf=l((One,CT)=>{"use strict";var dwr=LT();CT.exports=dwr});var UT=l((Ine,pwr)=>{pwr.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 GT=l((Nne,MT)=>{"use strict";var ywr=Oa(),mwr=UT();function hwr(r){return mwr[ywr(r)]||null}MT.exports=hwr});var YT=l((Dne,$T)=>{"use strict";var gwr=GT();$T.exports=gwr});var XT=l((kne,JT)=>{"use strict";var bwr=ze(),WT=me().isPrimitive,xwr=Oa(),nf=cr();function qwr(r,e,a){var t,o,i,s,n,v,u,f;if(!bwr(r))throw new TypeError(nf("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(!WT(e))throw new TypeError(nf("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!WT(a))throw new TypeError(nf("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(n=e+a,t%n!==0)throw new RangeError("invalid arguments. Length of the first argument is incompatible with the second and third arguments.");for(o=[],i=[],v=2*n,f=2*e,u=0;u<=v;u++)u===0?u===f?i.push("() => ("):i.push("("):u===v?u===f?i.push(") => ()"):i.push(")"):u===f?i.push(") => ("):u%2===1?i.push(""):i.push(", ");for(u=0;u<t;u++)s=xwr(r[u]),s===null&&(s=r[u]),f=u%n,i[2*f+1]=s,f===n-1&&o.push(i.join(""));return o}JT.exports=qwr});var vf=l((Rne,KT)=>{"use strict";var wwr=XT();KT.exports=wwr});var ZT=l((Vne,HT)=>{"use strict";var Swr=Ua(),Ewr=uv();function Awr(){var r=Swr(1);return Ewr(r)}HT.exports=Awr});var rO=l((zne,QT)=>{"use strict";var _wr=Qa(),jwr=at(),Twr=ni(),Owr=si(),Iwr=ui(),Nwr=zt(),Dwr=oi(),kwr=Qe(),Rwr=vi(),Vwr=fi(),zwr=li(),Bwr=ci(),Pwr={float64:_wr,float32:jwr,int16:Twr,int32:Owr,int8:Iwr,uint16:Nwr,uint32:Dwr,uint8:kwr,uint8c:Rwr,complex64:Vwr,complex128:zwr,bool:Bwr};QT.exports=Pwr});var aO=l((Bne,eO)=>{"use strict";var Fwr=rO();function Lwr(r){return Fwr[r]||null}eO.exports=Lwr});var iO=l((Pne,tO)=>{"use strict";var Cwr=aO();tO.exports=Cwr});var uf=l((Fne,oO)=>{"use strict";function Uwr(){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"}}}oO.exports=Uwr});var nO=l((Lne,sO)=>{"use strict";var Mwr=uf(),Ya=Mwr(),Gwr={"dtypes.default":Ya.dtypes.default,"dtypes.numeric":Ya.dtypes.numeric,"dtypes.real":Ya.dtypes.real,"dtypes.floating_point":Ya.dtypes.floating_point,"dtypes.real_floating_point":Ya.dtypes.real_floating_point,"dtypes.complex_floating_point":Ya.dtypes.complex_floating_point,"dtypes.boolean":Ya.dtypes.boolean,"dtypes.integer":Ya.dtypes.integer,"dtypes.signed_integer":Ya.dtypes.signed_integer,"dtypes.unsigned_integer":Ya.dtypes.unsigned_integer};function $wr(r){var e=Gwr[r];return e===void 0?null:e}sO.exports=$wr});var ff=l((Cne,uO)=>{"use strict";var Ywr=Tr(),vO=uf(),Wwr=nO();Ywr(vO,"get",Wwr);uO.exports=vO});var dO=l((Une,cO)=>{"use strict";var fO=me().isPrimitive,Jwr=Ua(),Xwr=iO(),Kwr=xe(),Hwr=Ka(),Zwr=ff(),lO=cr(),Qwr=Zwr.get("dtypes.default");function r3r(r){var e,a,t,o,i,s,n;if(!fO(r))throw new TypeError(lO("invalid argument. First argument must be a nonnegative integer. Value: `%s`.",r));if(arguments.length>1?t=arguments[1]:t=Qwr,t==="generic")return Kwr(r);if(e=Hwr(t),e===null)throw new TypeError(lO("invalid argument. Second argument must be a supported data type. Value: `%s`.",t));return o=Xwr(t),n=e*r,t==="complex128"&&(n+=8),i=Jwr(n),a=i.byteOffset,t==="complex128"&&(fO(a/e)||(a+=8)),s=new o(i.buffer,a,r),s}cO.exports=r3r});var yO=l((Mne,pO)=>{"use strict";var e3r=Qa(),a3r=at(),t3r=ni(),i3r=si(),o3r=ui(),s3r=zt(),n3r=oi(),v3r=Qe(),u3r=vi(),f3r=fi(),l3r=li(),c3r=ci(),d3r={float64:e3r,float32:a3r,generic:Array,int16:t3r,int32:i3r,int8:o3r,uint16:s3r,uint32:n3r,uint8:v3r,uint8c:u3r,complex64:f3r,complex128:l3r,bool:c3r};pO.exports=d3r});var hO=l((Gne,mO)=>{"use strict";var p3r=yO();function y3r(r){return p3r[r]||null}mO.exports=y3r});var bO=l(($ne,gO)=>{"use strict";var m3r=hO();gO.exports=m3r});var wO=l((Yne,qO)=>{"use strict";var h3r=me().isPrimitive,g3r=bO(),b3r=xe(),x3r=ff(),xO=cr(),q3r=x3r.get("dtypes.default");function w3r(r){var e,a;if(!h3r(r))throw new TypeError(xO("invalid argument. First argument must be a nonnegative integer. Value: `%s`.",r));if(arguments.length>1?e=arguments[1]:e=q3r,e==="generic")return b3r(r);if(a=g3r(e),a===null)throw new TypeError(xO("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return new a(r)}qO.exports=w3r});var EO=l((Wne,SO)=>{"use strict";var S3r=wO();SO.exports=S3r});var jO=l((Jne,_O)=>{"use strict";var AO=EO();function E3r(r){return arguments.length>1?AO(r,arguments[1]):AO(r)}_O.exports=E3r});var ho=l((Xne,TO)=>{"use strict";var A3r=ZT(),_3r=dO(),j3r=jO(),lf;A3r()?lf=_3r:lf=j3r;TO.exports=lf});var IO=l((Kne,OO)=>{"use strict";var T3r=Ve(),O3r=Me(),I3r=ra(),N3r=Wr(),D3r=ho(),k3r=Ua();function R3r(r,e,a){var t,o,i,s;return t=e.length,t>0?(i=N3r(e),s=T3r(e,a)):(i=1,s=[0]),r==="binary"?o=k3r(i):o=D3r(i,r),new I3r(r,o,e,s,O3r(e,s),a)}OO.exports=R3r});var DO=l((Hne,NO)=>{"use strict";var V3r=IO();NO.exports=V3r});var RO=l((Zne,kO)=>{"use strict";var z3r=Ve(),B3r=Me(),P3r=Wr(),F3r=Ye(),L3r=_e(),C3r=oa(),U3r=ho(),M3r=Ua();function G3r(r){var e,a,t,o,i,s,n;return n=F3r(r),i=L3r(r,!0),o=C3r(r),e=i.length,e>0?(a=P3r(i),s=z3r(i,o)):(a=1,s=[0]),n==="binary"?t=M3r(a):t=U3r(a,n),new r.constructor(n,t,i,s,B3r(i,s),o)}kO.exports=G3r});var zO=l((Qne,VO)=>{"use strict";var $3r=RO();VO.exports=$3r});var UO=l((rve,CO)=>{"use strict";var Y3r=Le(),BO=Ye(),W3r=_e(),J3r=ya(),PO=$a(),X3r=oa(),FO=nt(),LO=cr();function K3r(r,e){var a,t,o,i,s,n,v;if(i=W3r(r,!1),s=J3r(r,!1),o=X3r(r),n=i.length,a=[],t=[],e<0){if(e<-n-1)throw new RangeError(LO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",n,n,e));e+=n+1}else if(e>n)throw new RangeError(LO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",n,n,e));if(e===0)for(t.push(1),a.push(s[0]),v=0;v<n;v++)t.push(i[v]),a.push(s[v]);else if(e===n){for(v=0;v<n;v++)t.push(i[v]),a.push(s[v]);t.push(1),a.push(s[n-1])}else for(v=0;v<n+1;v++)v===e?(t.push(1),o==="row-major"?a.push(s[v-1]):a.push(s[v])):v<e?(t.push(i[v]),a.push(s[v])):(t.push(i[v-1]),a.push(s[v-1]));return Y3r(r)?new r.constructor(BO(r),FO(r),t,a,PO(r),o,{readonly:!0}):new r.constructor(BO(r),FO(r),t,a,PO(r),o)}CO.exports=K3r});var GO=l((eve,MO)=>{"use strict";var H3r=UO();MO.exports=H3r});var YO=l((ave,$O)=>{"use strict";function Z3r(r){return r===null}$O.exports=Z3r});var xi=l((tve,WO)=>{"use strict";var Q3r=YO();WO.exports=Q3r});var XO=l((ive,JO)=>{"use strict";function r4r(r){return r===void 0}JO.exports=r4r});var qi=l((ove,KO)=>{"use strict";var e4r=XO();KO.exports=e4r});var ZO=l((sve,HO)=>{"use strict";var df=Tr(),pf=yt(),a4r=ve().isPrimitive,t4r=xi(),i4r=qi(),Bs=cr();function cf(r){return a4r(r)||t4r(r)||i4r(r)}function vt(){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 vt))return new vt(e,a,t);if(!cf(e))throw new TypeError(Bs("invalid argument. First argument must be an integer, null, or undefined. Value: `%s`.",e));if(!cf(a))throw new TypeError(Bs("invalid argument. Second argument must be an integer, null, or undefined. Value: `%s`.",a));if(cf(t)){if(t===0)throw new RangeError(Bs("invalid argument. Third argument cannot be zero. Value: `%s`.",t))}else throw new TypeError(Bs("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}df(vt,"name","Slice");pf(vt.prototype,"start",function(){return this._start});pf(vt.prototype,"stop",function(){return this._stop});pf(vt.prototype,"step",function(){return this._step});df(vt.prototype,"toString",function(){return"Slice("+this._start+","+this._stop+","+this.step+")"});df(vt.prototype,"toJSON",function(){return{type:"Slice",data:[this._start,this._stop,this._step]}});HO.exports=vt});var Pe=l((nve,QO)=>{"use strict";var o4r=ZO();QO.exports=o4r});var eI=l((vve,rI)=>{"use strict";var s4r=Pe(),n4r=pt();function v4r(r){return r instanceof s4r||n4r(r)==="Slice"}rI.exports=v4r});var yf=l((uve,aI)=>{"use strict";var u4r=eI();aI.exports=u4r});var oI=l((fve,iI)=>{"use strict";var mf=Tr(),tI=yt(),f4r=ve().isPrimitive,l4r=xi(),c4r=qi(),d4r=yf(),p4r=cr();function y4r(r){return f4r(r)||l4r(r)||c4r(r)||d4r(r)}function We(){var r,e,a,t,o;if(r=arguments.length,!(this instanceof We)){if(r===1)return new We(arguments[0]);if(r===2)return new We(arguments[0],arguments[1]);if(r===3)return new We(arguments[0],arguments[1],arguments[2]);if(r===4)return new We(arguments[0],arguments[1],arguments[2],arguments[3]);if(r===5)return new We(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(We.prototype),We.apply(e,a)}for(this._data=[],o=0;o<r;o++){if(t=arguments[o],!y4r(t))throw new TypeError(p4r("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}mf(We,"name","MultiSlice");tI(We.prototype,"ndims",function(){return this._data.length});tI(We.prototype,"data",function(){return this._data.slice()});mf(We.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(",")+")"});mf(We.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});iI.exports=We});var Wa=l((lve,sI)=>{"use strict";var m4r=oI();sI.exports=m4r});var vI=l((cve,nI)=>{"use strict";var ma=Wa();function h4r(r){switch(r.length){case 0:return new ma;case 1:return new ma(r[0]);case 2:return new ma(r[0],r[1]);case 3:return new ma(r[0],r[1],r[2]);case 4:return new ma(r[0],r[1],r[2],r[3]);case 5:return new ma(r[0],r[1],r[2],r[3],r[4]);case 6:return new ma(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new ma(r[0],r[1],r[2],r[3],r[4],r[5],r[6]);case 8:return new ma(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7]);case 9:return new ma(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8]);case 10:return new ma(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9]);default:return ma.apply(null,r)}}nI.exports=h4r});var he=l((dve,uI)=>{"use strict";var g4r=vI();uI.exports=g4r});var lI=l((pve,fI)=>{"use strict";function b4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}fI.exports=b4r});var dI=l((yve,cI)=>{"use strict";var x4r=Pe(),go=lI();function q4r(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 go();t=0}}else if(t>=e){if(a)return go();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 go();o=0}else{if(a&&o<-1)return go();o=null}}else if(o>e){if(a)return go();o=e}return new x4r(t,o,i)}cI.exports=q4r});var yI=l((mve,pI)=>{"use strict";var w4r=dI();pI.exports=w4r});var hI=l((hve,mI)=>{"use strict";function S4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}mI.exports=S4r});var xI=l((gve,bI)=>{"use strict";var Ps=Pe(),gI=hI();function E4r(r,e,a){return r>=e?a?gI():new Ps(e,e,1):r<0?(r=e+r,r<0?a?gI():new Ps(0,0,1):new Ps(r,r+1,1)):new Ps(r,r+1,1)}bI.exports=E4r});var wI=l((bve,qI)=>{"use strict";var A4r=xI();qI.exports=A4r});var EI=l((xve,SI)=>{"use strict";var _4r=he(),j4r=Pe(),T4r=yI(),O4r=wI();function I4r(r,e,a){return r===null?new j4r(0,e,1):typeof r=="number"?O4r(r,e,a):T4r(r,e,a)}function N4r(r,e,a){var t,o,i,s;for(t=r.data,o=[],s=0;s<t.length;s++){if(i=I4r(t[s],e[s],a),i.code!==void 0)return i;o.push(i)}return _4r(o)}SI.exports=N4r});var _I=l((qve,AI)=>{"use strict";var D4r=EI();AI.exports=D4r});var TI=l((wve,jI)=>{"use strict";function k4r(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}jI.exports=k4r});var II=l((Sve,OI)=>{"use strict";var R4r=TI();OI.exports=R4r});var DI=l((Eve,NI)=>{"use strict";var V4r=Qu();function z4r(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:V4r((t-a)/e)}NI.exports=z4r});var RI=l((Ave,kI)=>{"use strict";var B4r=DI();kI.exports=B4r});var zI=l((_ve,VI)=>{"use strict";var P4r=RI();function F4r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)a.push(P4r(e[t]));return a}VI.exports=F4r});var PI=l((jve,BI)=>{"use strict";var L4r=zI();BI.exports=L4r});var LI=l((Tve,FI)=>{"use strict";function C4r(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}FI.exports=C4r});var UI=l((Ove,CI)=>{"use strict";function U4r(r,e,a){var t,o,i,s;for(t=r.data,o=[],i=0;i<a.length;i++)s=a[i],o.push(e[s]*t[s].step);return o}CI.exports=U4r});var GI=l((Ive,MI)=>{"use strict";var M4r=Ia(),G4r=xe();function $4r(r,e,a,t,o){var i,s;return s=a.length,s===0?i=[0]:i=G4r(s),new r(e,M4r(e,0),a,i,0,t,{readonly:o})}MI.exports=$4r});var KI=l((Nve,XI)=>{"use strict";var $I=_I(),Y4r=II(),YI=PI(),hf=Xr(),W4r=xe(),WI=Wr(),J4r=Ye(),X4r=_e(),K4r=ya(),H4r=$a(),Z4r=oa(),gf=nt(),JI=cr(),Q4r=LI(),r6r=UI(),e6r=GI();function a6r(r,e,a,t){var o,i,s,n,v,u,f,c,p,m;if(s=J4r(r),n=X4r(r,!0),o=K4r(r,!0),i=H4r(r),v=Z4r(r),f=n.length,e.ndims!==f)throw new RangeError(JI("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",n.join(","),e.ndims));if(c=r.constructor,f===0)return new c(s,gf(r),n,o,i,v,{readonly:!t});if(u=Y4r(e),m=$I(e,n,!0),m.code){if(a)throw new RangeError(JI("invalid argument. Slice exceeds array bounds. Array shape: (%s).",n.join(",")));m=$I(e,n,!1),p=YI(m),WI(hf(p,u))>0&&(p=W4r(p.length))}else p=YI(m);return WI(p)===0?e6r(c,s,hf(p,u),v,!t):(i=Q4r(m,o,i),p=hf(p,u),p.length===0?new c(s,gf(r),[],[0],i,v,{readonly:!t}):(o=r6r(m,o,u),new c(s,gf(r),p,o,i,v,{readonly:!t})))}XI.exports=a6r});var pe=l((Dve,HI)=>{"use strict";var t6r=KI();HI.exports=t6r});var QI=l((kve,ZI)=>{"use strict";var i6r=vo();function o6r(r){return i6r(null,r)}ZI.exports=o6r});var wi=l((Rve,r7)=>{"use strict";var s6r=QI();r7.exports=s6r});var a7=l((Vve,e7)=>{"use strict";function n6r(r){var e=r.ndims;return typeof e=="number"?e:r.shape.length}e7.exports=n6r});var Ra=l((zve,t7)=>{"use strict";var v6r=a7();t7.exports=v6r});var o7=l((Bve,i7)=>{"use strict";var u6r=he(),f6r=Pe(),l6r=pe(),c6r=wi(),d6r=Ra(),bf=cr();function p6r(r,e,a){var t,o,i;if(o=d6r(r),o===0)throw new TypeError(bf("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(bf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e))}else if(i>=o)throw new RangeError(bf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return t=c6r(o),t[i]=new f6r(null,null,-1),l6r(r,u6r(t),!0,a)}i7.exports=p6r});var Fs=l((Pve,s7)=>{"use strict";var y6r=o7();s7.exports=y6r});var v7=l((Fve,n7)=>{"use strict";var m6r=Wa(),h6r=Fs(),g6r=pe(),b6r=Ra();function x6r(r,e){return b6r(r)===0?g6r(r,new m6r,!0,e):h6r(r,-1,e)}n7.exports=x6r});var f7=l((Lve,u7)=>{"use strict";var q6r=v7();u7.exports=q6r});var p7=l((Cve,d7)=>{"use strict";var l7=Wa(),w6r=Fs(),c7=pe(),S6r=Ra();function E6r(r,e){var a=S6r(r);return a===0?c7(r,new l7,!0,e):a===1?c7(r,new l7(null),!0,e):w6r(r,-2,e)}d7.exports=E6r});var m7=l((Uve,y7)=>{"use strict";var A6r=p7();y7.exports=A6r});var g7=l((Mve,h7)=>{"use strict";function _6r(r,e){var a,t,o,i,s,n,v,u,f,c;for(o=1,i=1,c=1;c<r.length;c++){for(v=r[o],a=v<0?-v:v,u=e[i],s=o-1,n=i-1;s>=0&&(f=r[s],t=f<0?-f:f,!(t<=a));)r[s+1]=f,e[n+1]=e[n],s-=1,n-=1;r[s+1]=v,e[n+1]=u,o+=1,i+=1}}h7.exports=_6r});var x7=l((Gve,b7)=>{"use strict";var j6r=qe(),T6r=xt(),O6r=Xr(),I6r=g7();function N6r(r,e){var a;return a=j6r(r.length),e=T6r(e),I6r(e,a),r=O6r(r,a),{sh:r,sx:e,idx:a}}b7.exports=N6r});var Hr=l(($ve,q7)=>{"use strict";var D6r=x7();q7.exports=D6r});var S7=l((Yve,w7)=>{"use strict";var k6r={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};w7.exports=k6r});var _7=l((Wve,A7)=>{"use strict";var R6r=Ka(),E7=S7();function V6r(r){var e=R6r(r);return e===null?E7.BLOCK_SIZE_IN_ELEMENTS:E7.BLOCK_SIZE_IN_BYTES/e|0}A7.exports=V6r});var Zr=l((Jve,j7)=>{"use strict";var z6r=_7();j7.exports=z6r});var I7=l((Xve,O7)=>{"use strict";var B6r=st(),T7=Ze();function P6r(r,e){return typeof r[e]=="function"}function F6r(r){var e,a,t,o,i;for(a=T7(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 L6r(r){var e,a,t,o,i,s,n,v;for(e=r.data,a=r.accessors[0],t=r.accessors[1],i=T7(e.length/2),s=e.length-1,n=0;n<i;n++)v=s-n,o=a(e,n),t(e,n,a(e,v)),t(e,v,o);return e}function C6r(r){var e;return P6r(r,"reverse")?r.reverse():(e=B6r(r),e.accessorProtocol?L6r(e):F6r(r))}O7.exports=C6r});var Qr=l((Kve,N7)=>{"use strict";var U6r=I7();N7.exports=U6r});var k7=l((Hve,D7)=>{"use strict";var M6r=Hr(),G6r=Zr(),$6r=Xr(),Y6r=Qr();function W6r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;for(w=M6r(r.shape,r.strides),f=w.sh,m=w.sx,u=Y6r(w.idx),t=G6r(r.dtype),d=r.offset,o=r.data,s=m[0],i=r.accessors[0],S=f[1];S>0;)for(S<t?(p=S,S=0):(p=t,S-=t),v=d+S*m[1],x=f[0];x>0;)for(x<t?(c=x,x=0):(c=t,x-=t),y=v+x*m[0],n=m[1]-c*m[0],g=0;g<p;g++){for(h=0;h<c;h++)e.call(a,i(o,y),$6r([g,h],u),r.ref),y+=s;y+=n}}D7.exports=W6r});var V7=l((Zve,R7)=>{"use strict";var J6r=Hr(),X6r=Zr(),K6r=Xr(),H6r=Qr();function Z6r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(q=J6r(r.shape,r.strides),p=q.sh,h=q.sx,c=H6r(q.idx),t=X6r(r.dtype),g=r.offset,o=r.data,s=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),v=h[2]-d*h[1],u=f+b*h[1],_=p[0];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),x=u+_*h[0],n=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),K6r([A,w,S],c),r.ref),x+=s;x+=n}x+=v}}R7.exports=Z6r});var B7=l((Qve,z7)=>{"use strict";var Q6r=Hr(),rSr=Zr(),eSr=Xr(),aSr=Qr();function tSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D;for(D=Q6r(r.shape,r.strides),d=D.sh,S=D.sx,m=aSr(D.idx),t=rSr(r.dtype),w=r.offset,o=r.data,s=S[0],i=r.accessors[0],O=d[3];O>0;)for(O<t?(x=O,O=0):(x=t,O-=t),p=w+O*S[3],I=d[2];I>0;)for(I<t?(g=I,I=0):(g=t,I-=t),u=S[3]-g*S[2],c=p+I*S[2],T=d[1];T>0;)for(T<t?(h=T,T=0):(h=t,T-=t),v=S[2]-h*S[1],f=c+T*S[1],j=d[0];j>0;)for(j<t?(y=j,j=0):(y=t,j-=t),A=f+j*S[0],n=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),eSr([q,E,b,_],m),r.ref),A+=s;A+=n}A+=v}A+=u}}z7.exports=tSr});var F7=l((rue,P7)=>{"use strict";var iSr=Hr(),oSr=Zr(),sSr=Xr(),nSr=Qr();function vSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R;for(R=iSr(r.shape,r.strides),h=R.sh,_=R.sx,y=nSr(R.idx),t=oSr(r.dtype),b=r.offset,o=r.data,s=_[0],i=r.accessors[0],z=h[4];z>0;)for(z<t?(A=z,z=0):(A=t,z-=t),d=b+z*_[4],V=h[3];V>0;)for(V<t?(w=V,V=0):(w=t,V-=t),f=_[4]-w*_[3],m=d+V*_[3],N=h[2];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),u=_[3]-S*_[2],p=m+N*_[2],k=h[1];k>0;)for(k<t?(x=k,k=0):(x=t,k-=t),v=_[2]-x*_[1],c=p+k*_[1],D=h[0];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),E=c+D*_[0],n=_[1]-g*_[0],O=0;O<A;O++){for(I=0;I<w;I++){for(T=0;T<S;T++){for(j=0;j<x;j++){for(q=0;q<g;q++)e.call(a,i(o,E),sSr([O,I,T,j,q],y),r.ref),E+=s;E+=n}E+=v}E+=u}E+=f}}P7.exports=vSr});var C7=l((eue,L7)=>{"use strict";var uSr=Hr(),fSr=Zr(),lSr=Xr(),cSr=Qr();function dSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C;for(C=uSr(r.shape,r.strides),x=C.sh,q=C.sx,g=cSr(C.idx),t=fSr(r.dtype),j=r.offset,o=r.data,s=q[0],i=r.accessors[0],L=x[5];L>0;)for(L<t?(E=L,L=0):(E=t,L-=t),h=j+L*q[5],F=x[4];F>0;)for(F<t?(b=F,F=0):(b=t,F-=t),c=q[5]-b*q[4],y=h+F*q[4],P=x[3];P>0;)for(P<t?(_=P,P=0):(_=t,P-=t),f=q[4]-_*q[3],d=y+P*q[3],B=x[2];B>0;)for(B<t?(A=B,B=0):(A=t,B-=t),u=q[3]-A*q[2],m=d+B*q[2],R=x[1];R>0;)for(R<t?(w=R,R=0):(w=t,R-=t),v=q[2]-w*q[1],p=m+R*q[1],z=x[0];z>0;)for(z<t?(S=z,z=0):(S=t,z-=t),T=p+z*q[0],n=q[1]-S*q[0],V=0;V<E;V++){for(N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++)e.call(a,i(o,T),lSr([V,N,k,D,O,I],g),r.ref),T+=s;T+=n}T+=v}T+=u}T+=f}T+=c}}L7.exports=dSr});var M7=l((aue,U7)=>{"use strict";var pSr=Hr(),ySr=Zr(),mSr=Xr(),hSr=Qr();function gSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$;for($=pSr(r.shape,r.strides),w=$.sh,I=$.sx,S=hSr($.idx),t=ySr(r.dtype),O=r.offset,o=r.data,s=I[0],i=r.accessors[0],Y=w[6];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),x=O+Y*I[6],G=w[5];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),p=I[6]-j*I[5],g=x+G*I[5],M=w[4];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),c=I[5]-q*I[4],h=g+M*I[4],U=w[3];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),f=I[4]-E*I[3],y=h+U*I[3],C=w[2];C>0;)for(C<t?(b=C,C=0):(b=t,C-=t),u=I[3]-b*I[2],d=y+C*I[2],L=w[1];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),v=I[2]-_*I[1],m=d+L*I[1],F=w[0];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),D=m+F*I[0],n=I[1]-A*I[0],P=0;P<T;P++){for(B=0;B<j;B++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++)e.call(a,i(o,D),mSr([P,B,R,z,V,N,k],S),r.ref),D+=s;D+=n}D+=v}D+=u}D+=f}D+=c}D+=p}}U7.exports=gSr});var $7=l((tue,G7)=>{"use strict";var bSr=Hr(),xSr=Zr(),qSr=Xr(),wSr=Qr();function SSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H;for(H=bSr(r.shape,r.strides),_=H.sh,k=H.sx,A=wSr(H.idx),t=xSr(r.dtype),N=r.offset,o=r.data,s=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?(O=X,X=0):(O=t,X-=t),m=k[7]-O*k[6],S=w+X*k[6],J=_[5];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),p=k[6]-I*k[5],x=S+J*k[5],W=_[4];W>0;)for(W<t?(T=W,W=0):(T=t,W-=t),c=k[5]-T*k[4],g=x+W*k[4],$=_[3];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),f=k[4]-j*k[3],h=g+$*k[3],Y=_[2];Y>0;)for(Y<t?(q=Y,Y=0):(q=t,Y-=t),u=k[3]-q*k[2],y=h+Y*k[2],G=_[1];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),v=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),V=d+M*k[0],n=k[1]-b*k[0],U=0;U<D;U++){for(C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++)e.call(a,i(o,V),qSr([U,C,L,F,P,B,R,z],A),r.ref),V+=s;V+=n}V+=v}V+=u}V+=f}V+=c}V+=p}V+=m}}G7.exports=SSr});var W7=l((iue,Y7)=>{"use strict";var ESr=Hr(),ASr=Zr(),_Sr=Xr(),jSr=Qr();function TSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er;for(er=ESr(r.shape,r.strides),E=er.sh,z=er.sx,b=jSr(er.idx),t=ASr(r.dtype),R=r.offset,o=r.data,s=z[0],i=r.accessors[0],ar=E[8];ar>0;)for(ar<t?(V=ar,ar=0):(V=t,ar-=t),_=R+ar*z[8],rr=E[7];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),d=z[8]-N*z[7],A=_+rr*z[7],Z=E[6];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),m=z[7]-k*z[6],w=A+Z*z[6],Q=E[5];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),p=z[6]-D*z[5],S=w+Q*z[5],H=E[4];H>0;)for(H<t?(O=H,H=0):(O=t,H-=t),c=z[5]-O*z[4],x=S+H*z[4],K=E[3];K>0;)for(K<t?(I=K,K=0):(I=t,K-=t),f=z[4]-I*z[3],g=x+K*z[3],X=E[2];X>0;)for(X<t?(T=X,X=0):(T=t,X-=t),u=z[3]-T*z[2],h=g+X*z[2],J=E[1];J>0;)for(J<t?(j=J,J=0):(j=t,J-=t),v=z[2]-j*z[1],y=h+J*z[1],W=E[0];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),B=y+W*z[0],n=z[1]-q*z[0],$=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++)e.call(a,i(o,B),_Sr([$,Y,G,M,U,C,L,F,P],b),r.ref),B+=s;B+=n}B+=v}B+=u}B+=f}B+=c}B+=p}B+=m}B+=d}}Y7.exports=TSr});var X7=l((oue,J7)=>{"use strict";var OSr=Hr(),ISr=Zr(),NSr=Xr(),DSr=Qr();function kSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr;for(nr=OSr(r.shape,r.strides),j=nr.sh,P=nr.sx,q=DSr(nr.idx),t=ISr(r.dtype),F=r.offset,o=r.data,s=P[0],i=r.accessors[0],sr=j[9];sr>0;)for(sr<t?(B=sr,sr=0):(B=t,sr-=t),E=F+sr*P[9],or=j[8];or>0;)for(or<t?(R=or,or=0):(R=t,or-=t),y=P[9]-R*P[8],b=E+or*P[8],tr=j[7];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),d=P[8]-z*P[7],_=b+tr*P[7],ir=j[6];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),m=P[7]-V*P[6],A=_+ir*P[6],er=j[5];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),p=P[6]-N*P[5],w=A+er*P[5],ar=j[4];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),c=P[5]-k*P[4],S=w+ar*P[4],rr=j[3];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=P[4]-D*P[3],x=S+rr*P[3],Z=j[2];Z>0;)for(Z<t?(O=Z,Z=0):(O=t,Z-=t),u=P[3]-O*P[2],g=x+Z*P[2],Q=j[1];Q>0;)for(Q<t?(I=Q,Q=0):(I=t,Q-=t),v=P[2]-I*P[1],h=g+Q*P[1],H=j[0];H>0;)for(H<t?(T=H,H=0):(T=t,H-=t),L=h+H*P[0],n=P[1]-T*P[0],K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++)e.call(a,i(o,L),NSr([K,X,J,W,$,Y,G,M,U,C],q),r.ref),L+=s;L+=n}L+=v}L+=u}L+=f}L+=c}L+=p}L+=m}L+=d}L+=y}}J7.exports=kSr});var H7=l((sue,K7)=>{"use strict";var RSr=Hr(),VSr=Zr(),zSr=Xr(),BSr=Qr();function PSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S;for(S=RSr(r.shape,r.strides),u=S.sh,p=S.sx,v=BSr(S.idx),t=VSr(r.dtype),m=r.offset,o=r.data,i=p[0],x=u[1];x>0;)for(x<t?(c=x,x=0):(c=t,x-=t),n=m+x*p[1],g=u[0];g>0;)for(g<t?(f=g,g=0):(f=t,g-=t),d=n+g*p[0],s=p[1]-f*p[0],h=0;h<c;h++){for(y=0;y<f;y++)e.call(a,o[d],zSr([h,y],v),r.ref),d+=i;d+=s}}K7.exports=PSr});var Q7=l((nue,Z7)=>{"use strict";var FSr=Hr(),LSr=Zr(),CSr=Xr(),USr=Qr();function MSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E;for(E=FSr(r.shape,r.strides),c=E.sh,y=E.sx,f=USr(E.idx),t=LSr(r.dtype),h=r.offset,o=r.data,i=y[0],b=c[2];b>0;)for(b<t?(d=b,b=0):(d=t,b-=t),u=h+b*y[2],_=c[1];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),n=y[2]-m*y[1],v=u+_*y[1],A=c[0];A>0;)for(A<t?(p=A,A=0):(p=t,A-=t),g=v+A*y[0],s=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],CSr([w,S,x],f),r.ref),g+=i;g+=s}g+=n}}Z7.exports=MSr});var eN=l((vue,rN)=>{"use strict";var GSr=Hr(),$Sr=Zr(),YSr=Xr(),WSr=Qr();function JSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;for(O=GSr(r.shape,r.strides),m=O.sh,x=O.sx,p=WSr(O.idx),t=$Sr(r.dtype),S=r.offset,o=r.data,i=x[0],I=m[3];I>0;)for(I<t?(g=I,I=0):(g=t,I-=t),c=S+I*x[3],T=m[2];T>0;)for(T<t?(h=T,T=0):(h=t,T-=t),v=x[3]-h*x[2],f=c+T*x[2],j=m[1];j>0;)for(j<t?(y=j,j=0):(y=t,j-=t),n=x[2]-y*x[1],u=f+j*x[1],q=m[0];q>0;)for(q<t?(d=q,q=0):(d=t,q-=t),w=u+q*x[0],s=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],YSr([E,b,_,A],p),r.ref),w+=i;w+=s}w+=n}w+=v}}rN.exports=JSr});var tN=l((uue,aN)=>{"use strict";var XSr=Hr(),KSr=Zr(),HSr=Xr(),ZSr=Qr();function QSr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z;for(z=XSr(r.shape,r.strides),y=z.sh,A=z.sx,d=ZSr(z.idx),t=KSr(r.dtype),_=r.offset,o=r.data,i=A[0],V=y[4];V>0;)for(V<t?(w=V,V=0):(w=t,V-=t),m=_+V*A[4],N=y[3];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),u=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),v=A[3]-x*A[2],c=p+k*A[2],D=y[1];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),n=A[2]-g*A[1],f=c+D*A[1],O=y[0];O>0;)for(O<t?(h=O,O=0):(h=t,O-=t),b=f+O*A[0],s=A[1]-h*A[0],I=0;I<w;I++){for(T=0;T<S;T++){for(j=0;j<x;j++){for(q=0;q<g;q++){for(E=0;E<h;E++)e.call(a,o[b],HSr([I,T,j,q,E],d),r.ref),b+=i;b+=s}b+=n}b+=v}b+=u}}aN.exports=QSr});var oN=l((fue,iN)=>{"use strict";var rEr=Hr(),eEr=Zr(),aEr=Xr(),tEr=Qr();function iEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L;for(L=rEr(r.shape,r.strides),g=L.sh,E=L.sx,h=tEr(L.idx),t=eEr(r.dtype),q=r.offset,o=r.data,i=E[0],F=g[5];F>0;)for(F<t?(b=F,F=0):(b=t,F-=t),y=q+F*E[5],P=g[4];P>0;)for(P<t?(_=P,P=0):(_=t,P-=t),f=E[5]-_*E[4],d=y+P*E[4],B=g[3];B>0;)for(B<t?(A=B,B=0):(A=t,B-=t),u=E[4]-A*E[3],m=d+B*E[3],R=g[2];R>0;)for(R<t?(w=R,R=0):(w=t,R-=t),v=E[3]-w*E[2],p=m+R*E[2],z=g[1];z>0;)for(z<t?(S=z,z=0):(S=t,z-=t),n=E[2]-S*E[1],c=p+z*E[1],V=g[0];V>0;)for(V<t?(x=V,V=0):(x=t,V-=t),j=c+V*E[0],s=E[1]-x*E[0],N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++)e.call(a,o[j],aEr([N,k,D,O,I,T],h),r.ref),j+=i;j+=s}j+=n}j+=v}j+=u}j+=f}}iN.exports=iEr});var nN=l((lue,sN)=>{"use strict";var oEr=Hr(),sEr=Zr(),nEr=Xr(),vEr=Qr();function uEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y;for(Y=oEr(r.shape,r.strides),S=Y.sh,T=Y.sx,x=vEr(Y.idx),t=sEr(r.dtype),I=r.offset,o=r.data,i=T[0],G=S[6];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),g=I+G*T[6],M=S[5];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),c=T[6]-q*T[5],h=g+M*T[5],U=S[4];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),f=T[5]-E*T[4],y=h+U*T[4],C=S[3];C>0;)for(C<t?(b=C,C=0):(b=t,C-=t),u=T[4]-b*T[3],d=y+C*T[3],L=S[2];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),v=T[3]-_*T[2],m=d+L*T[2],F=S[1];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),n=T[2]-A*T[1],p=m+F*T[1],P=S[0];P>0;)for(P<t?(w=P,P=0):(w=t,P-=t),O=p+P*T[0],s=T[1]-w*T[0],B=0;B<j;B++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)e.call(a,o[O],nEr([B,R,z,V,N,k,D],x),r.ref),O+=i;O+=s}O+=n}O+=v}O+=u}O+=f}O+=c}}sN.exports=uEr});var uN=l((cue,vN)=>{"use strict";var fEr=Hr(),lEr=Zr(),cEr=Xr(),dEr=Qr();function pEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K;for(K=fEr(r.shape,r.strides),A=K.sh,D=K.sx,w=dEr(K.idx),t=lEr(r.dtype),k=r.offset,o=r.data,i=D[0],X=A[7];X>0;)for(X<t?(O=X,X=0):(O=t,X-=t),S=k+X*D[7],J=A[6];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),p=D[7]-I*D[6],x=S+J*D[6],W=A[5];W>0;)for(W<t?(T=W,W=0):(T=t,W-=t),c=D[6]-T*D[5],g=x+W*D[5],$=A[4];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),f=D[5]-j*D[4],h=g+$*D[4],Y=A[3];Y>0;)for(Y<t?(q=Y,Y=0):(q=t,Y-=t),u=D[4]-q*D[3],y=h+Y*D[3],G=A[2];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),v=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),n=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],s=D[1]-_*D[0],C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++)e.call(a,o[N],cEr([C,L,F,P,B,R,z,V],w),r.ref),N+=i;N+=s}N+=n}N+=v}N+=u}N+=f}N+=c}N+=p}}vN.exports=pEr});var lN=l((due,fN)=>{"use strict";var yEr=Hr(),mEr=Zr(),hEr=Xr(),gEr=Qr();function bEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar;for(ar=yEr(r.shape,r.strides),b=ar.sh,V=ar.sx,_=gEr(ar.idx),t=mEr(r.dtype),z=r.offset,o=r.data,i=V[0],rr=b[8];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),A=z+rr*V[8],Z=b[7];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),m=V[8]-k*V[7],w=A+Z*V[7],Q=b[6];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),p=V[7]-D*V[6],S=w+Q*V[6],H=b[5];H>0;)for(H<t?(O=H,H=0):(O=t,H-=t),c=V[6]-O*V[5],x=S+H*V[5],K=b[4];K>0;)for(K<t?(I=K,K=0):(I=t,K-=t),f=V[5]-I*V[4],g=x+K*V[4],X=b[3];X>0;)for(X<t?(T=X,X=0):(T=t,X-=t),u=V[4]-T*V[3],h=g+X*V[3],J=b[2];J>0;)for(J<t?(j=J,J=0):(j=t,J-=t),v=V[3]-j*V[2],y=h+J*V[2],W=b[1];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),n=V[2]-q*V[1],d=y+W*V[1],$=b[0];$>0;)for($<t?(E=$,$=0):(E=t,$-=t),R=d+$*V[0],s=V[1]-E*V[0],Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++)e.call(a,o[R],hEr([Y,G,M,U,C,L,F,P,B],_),r.ref),R+=i;R+=s}R+=n}R+=v}R+=u}R+=f}R+=c}R+=p}R+=m}}fN.exports=bEr});var dN=l((pue,cN)=>{"use strict";var xEr=Hr(),qEr=Zr(),wEr=Xr(),SEr=Qr();function EEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(sr=xEr(r.shape,r.strides),q=sr.sh,B=sr.sx,E=SEr(sr.idx),t=qEr(r.dtype),P=r.offset,o=r.data,i=B[0],or=q[9];or>0;)for(or<t?(R=or,or=0):(R=t,or-=t),b=P+or*B[9],tr=q[8];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),d=B[9]-z*B[8],_=b+tr*B[8],ir=q[7];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),m=B[8]-V*B[7],A=_+ir*B[7],er=q[6];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),p=B[7]-N*B[6],w=A+er*B[6],ar=q[5];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),c=B[6]-k*B[5],S=w+ar*B[5],rr=q[4];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=B[5]-D*B[4],x=S+rr*B[4],Z=q[3];Z>0;)for(Z<t?(O=Z,Z=0):(O=t,Z-=t),u=B[4]-O*B[3],g=x+Z*B[3],Q=q[2];Q>0;)for(Q<t?(I=Q,Q=0):(I=t,Q-=t),v=B[3]-I*B[2],h=g+Q*B[2],H=q[1];H>0;)for(H<t?(T=H,H=0):(T=t,H-=t),n=B[2]-T*B[1],y=h+H*B[1],K=q[0];K>0;)for(K<t?(j=K,K=0):(j=t,K-=t),F=y+K*B[0],s=B[1]-j*B[0],X=0;X<R;X++){for(J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++)e.call(a,o[F],wEr([X,J,W,$,Y,G,M,U,C,L],E),r.ref),F+=i;F+=s}F+=n}F+=v}F+=u}F+=f}F+=c}F+=p}F+=m}F+=d}}cN.exports=EEr});var yN=l((yue,pN)=>{"use strict";function AEr(r,e,a){e.call(a,r.accessors[0](r.data,r.offset),[],r.ref)}pN.exports=AEr});var hN=l((mue,mN)=>{"use strict";function _Er(r,e,a){var t,o,i,s,n,v;for(s=r.shape[0],i=r.strides[0],n=r.offset,t=r.data,o=r.accessors[0],v=0;v<s;v++)e.call(a,o(t,n),[v],r.ref),n+=i}mN.exports=_Er});var bN=l((hue,gN)=>{"use strict";var jEr=qe(),TEr=Qr(),OEr=Xr();function IEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d;for(v=r.shape,c=r.strides,n=jEr(v.length),r.order==="row-major"?(u=v[1],f=v[0],i=c[1],s=c[0]-u*c[1]):(u=v[0],f=v[1],i=c[0],s=c[1]-u*c[0],n=TEr(n)),p=r.offset,t=r.data,o=r.accessors[0],d=0;d<f;d++){for(m=0;m<u;m++)e.call(a,o(t,p),OEr([d,m],n),r.ref),p+=i;p+=s}}gN.exports=IEr});var qN=l((gue,xN)=>{"use strict";var NEr=qe(),DEr=Qr(),kEr=Xr();function REr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;for(u=r.shape,m=r.strides,v=NEr(u.length),r.order==="row-major"?(f=u[2],c=u[1],p=u[0],i=m[2],s=m[1]-f*m[2],n=m[0]-c*m[1]):(f=u[0],c=u[1],p=u[2],i=m[0],s=m[1]-f*m[0],n=m[2]-c*m[1],v=DEr(v)),d=r.offset,t=r.data,o=r.accessors[0],g=0;g<p;g++){for(h=0;h<c;h++){for(y=0;y<f;y++)e.call(a,o(t,d),kEr([g,h,y],v),r.ref),d+=i;d+=s}d+=n}}xN.exports=REr});var SN=l((bue,wN)=>{"use strict";var VEr=qe(),zEr=Qr(),BEr=Xr();function PEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;for(f=r.shape,y=r.strides,u=VEr(f.length),r.order==="row-major"?(c=f[3],p=f[2],m=f[1],d=f[0],i=y[3],s=y[2]-c*y[3],n=y[1]-p*y[2],v=y[0]-m*y[1]):(c=f[0],p=f[1],m=f[2],d=f[3],i=y[0],s=y[1]-c*y[0],n=y[2]-p*y[1],v=y[3]-m*y[2],u=zEr(u)),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<c;g++)e.call(a,o(t,h),BEr([w,S,x,g],u),r.ref),h+=i;h+=s}h+=n}h+=v}}wN.exports=PEr});var AN=l((xue,EN)=>{"use strict";var FEr=qe(),LEr=Qr(),CEr=Xr();function UEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b;for(c=r.shape,g=r.strides,f=FEr(c.length),r.order==="row-major"?(p=c[4],m=c[3],d=c[2],y=c[1],h=c[0],i=g[4],s=g[3]-p*g[4],n=g[2]-m*g[3],v=g[1]-d*g[2],u=g[0]-y*g[1]):(p=c[0],m=c[1],d=c[2],y=c[3],h=c[4],i=g[0],s=g[1]-p*g[0],n=g[2]-m*g[1],v=g[3]-d*g[2],u=g[4]-y*g[3],f=LEr(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),CEr([b,_,A,w,S],f),r.ref),x+=i;x+=s}x+=n}x+=v}x+=u}}EN.exports=UEr});var jN=l((que,_N)=>{"use strict";var MEr=qe(),GEr=Qr(),$Er=Xr();function YEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j;for(p=r.shape,S=r.strides,c=MEr(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],s=S[4]-m*S[5],n=S[3]-d*S[4],v=S[2]-y*S[3],u=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],s=S[1]-m*S[0],n=S[2]-d*S[1],v=S[3]-y*S[2],u=S[4]-h*S[3],f=S[5]-g*S[4],c=GEr(c)),w=r.offset,t=r.data,o=r.accessors[0],j=0;j<x;j++){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),$Er([j,q,E,b,_,A],c),r.ref),w+=i;w+=s}w+=n}w+=v}w+=u}w+=f}}_N.exports=YEr});var ON=l((wue,TN)=>{"use strict";var WEr=qe(),JEr=Qr(),XEr=Xr();function KEr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;for(m=r.shape,A=r.strides,p=WEr(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],s=A[5]-d*A[6],n=A[4]-y*A[5],v=A[3]-h*A[4],u=A[2]-g*A[3],f=A[1]-x*A[2],c=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],s=A[1]-d*A[0],n=A[2]-y*A[1],v=A[3]-h*A[2],u=A[4]-g*A[3],f=A[5]-x*A[4],c=A[6]-S*A[5],p=JEr(p)),_=r.offset,t=r.data,o=r.accessors[0],O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++){for(q=0;q<h;q++){for(E=0;E<y;E++){for(b=0;b<d;b++)e.call(a,o(t,_),XEr([O,I,T,j,q,E,b],p),r.ref),_+=i;_+=s}_+=n}_+=v}_+=u}_+=f}_+=c}}TN.exports=KEr});var NN=l((Sue,IN)=>{"use strict";var HEr=qe(),ZEr=Qr(),QEr=Xr();function r5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N;for(d=r.shape,b=r.strides,m=HEr(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],s=b[6]-y*b[7],n=b[5]-h*b[6],v=b[4]-g*b[5],u=b[3]-x*b[4],f=b[2]-S*b[3],c=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],s=b[1]-y*b[0],n=b[2]-h*b[1],v=b[3]-g*b[2],u=b[4]-x*b[3],f=b[5]-S*b[4],c=b[6]-w*b[5],p=b[7]-A*b[6],m=ZEr(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(O=0;O<S;O++){for(I=0;I<x;I++){for(T=0;T<g;T++){for(j=0;j<h;j++){for(q=0;q<y;q++)e.call(a,o(t,E),QEr([N,k,D,O,I,T,j,q],m),r.ref),E+=i;E+=s}E+=n}E+=v}E+=u}E+=f}E+=c}E+=p}}IN.exports=r5r});var kN=l((Eue,DN)=>{"use strict";var e5r=qe(),a5r=Qr(),t5r=Xr();function i5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R;for(y=r.shape,q=r.strides,d=e5r(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],s=q[7]-h*q[8],n=q[6]-g*q[7],v=q[5]-x*q[6],u=q[4]-S*q[5],f=q[3]-w*q[4],c=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],s=q[1]-h*q[0],n=q[2]-g*q[1],v=q[3]-x*q[2],u=q[4]-S*q[3],f=q[5]-w*q[4],c=q[6]-A*q[5],p=q[7]-_*q[6],m=q[8]-b*q[7],d=a5r(d)),j=r.offset,t=r.data,o=r.accessors[0],R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<x;O++){for(I=0;I<g;I++){for(T=0;T<h;T++)e.call(a,o(t,j),t5r([R,z,V,N,k,D,O,I,T],d),r.ref),j+=i;j+=s}j+=n}j+=v}j+=u}j+=f}j+=c}j+=p}j+=m}}DN.exports=i5r});var VN=l((Aue,RN)=>{"use strict";var o5r=qe(),s5r=Qr(),n5r=Xr();function v5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(h=r.shape,T=r.strides,y=o5r(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],j=h[0],i=T[9],s=T[8]-g*T[9],n=T[7]-x*T[8],v=T[6]-S*T[7],u=T[5]-w*T[6],f=T[4]-A*T[5],c=T[3]-_*T[4],p=T[2]-b*T[3],m=T[1]-E*T[2],d=T[0]-q*T[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],j=h[9],i=T[0],s=T[1]-g*T[0],n=T[2]-x*T[1],v=T[3]-S*T[2],u=T[4]-w*T[3],f=T[5]-A*T[4],c=T[6]-_*T[5],p=T[7]-b*T[6],m=T[8]-E*T[7],d=T[9]-q*T[8],y=s5r(y)),I=r.offset,t=r.data,o=r.accessors[0],F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++){for(V=0;V<A;V++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(O=0;O<g;O++)e.call(a,o(t,I),n5r([F,P,B,R,z,V,N,k,D,O],y),r.ref),I+=i;I+=s}I+=n}I+=v}I+=u}I+=f}I+=c}I+=p}I+=m}I+=d}}RN.exports=v5r});var xf=l((_ue,zN)=>{"use strict";var u5r=cr(),Ls=rf();function f5r(r,e,a,t,o,i,s){var n,v,u,f,c;for(n=r.length,v=1,c=0;c<n;c++)v*=r[c];if(i==="clamp")o<0?o=0:o>=v&&(o=v-1);else if(i==="wrap")o<0?(o+=v,o<0&&(o%=v,o!==0&&(o+=v))):o>=v&&(o-=v,o>=v&&(o%=v));else if(i==="normalize"&&o<0&&(o+=v),o<0||o>=v)throw new RangeError(u5r("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",v,o));if(a===0){if(t==="column-major"){for(c=0;c<n;c++)f=o%r[c],o-=f,o/=r[c],s[c]=f;return s}for(c=n-1;c>=0;c--)f=o%r[c],o-=f,o/=r[c],s[c]=f;return s}if(t==="column-major"){for(c=n-1;c>=0;c--)f=e[c],f<0?(u=Ls(o/f),o-=u*f,s[c]=r[c]-1+u):(u=Ls(o/f),o-=u*f,s[c]=u);return s}for(c=0;c<n;c++)f=e[c],f<0?(u=Ls(o/f),o-=u*f,s[c]=r[c]-1+u):(u=Ls(o/f),o-=u*f,s[c]=u);return s}zN.exports=f5r});var PN=l((jue,BN)=>{"use strict";var l5r=xe(),c5r=xf();function d5r(r,e,a,t,o,i){return c5r(r,e,a,t,o,i,l5r(r.length))}BN.exports=d5r});var Si=l((Tue,LN)=>{"use strict";var p5r=Tr(),FN=PN(),y5r=xf();p5r(FN,"assign",y5r);LN.exports=FN});var MN=l((Oue,UN)=>{"use strict";var m5r=Wr(),h5r=ia(),g5r=Si(),CN="throw";function b5r(r,e,a){var t,o,i,s,n,v,u,f,c,p;for(v=r.shape,i=m5r(v),t=r.data,u=r.strides,f=r.offset,o=r.order,s=r.accessors[0],p=0;p<i;p++)c=h5r(v,u,f,o,p,CN),n=g5r(v,u,0,o,p,CN),e.call(a,s(t,c),n,r.ref)}UN.exports=b5r});var $N=l((Iue,GN)=>{"use strict";function x5r(r,e,a){e.call(a,r.data[r.offset],[],r.ref)}GN.exports=x5r});var WN=l((Nue,YN)=>{"use strict";function q5r(r,e,a){var t,o,i,s,n;for(i=r.shape[0],o=r.strides[0],s=r.offset,t=r.data,n=0;n<i;n++)e.call(a,t[s],[n],r.ref),s+=o}YN.exports=q5r});var XN=l((Due,JN)=>{"use strict";var w5r=qe(),S5r=Qr(),E5r=Xr();function A5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m;for(n=r.shape,f=r.strides,s=w5r(n.length),r.order==="row-major"?(v=n[1],u=n[0],o=f[1],i=f[0]-v*f[1]):(v=n[0],u=n[1],o=f[0],i=f[1]-v*f[0],s=S5r(s)),c=r.offset,t=r.data,m=0;m<u;m++){for(p=0;p<v;p++)e.call(a,t[c],E5r([m,p],s),r.ref),c+=o;c+=i}}JN.exports=A5r});var HN=l((kue,KN)=>{"use strict";var _5r=qe(),j5r=Qr(),T5r=Xr();function O5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h;for(v=r.shape,p=r.strides,n=_5r(v.length),r.order==="row-major"?(u=v[2],f=v[1],c=v[0],o=p[2],i=p[1]-u*p[2],s=p[0]-f*p[1]):(u=v[0],f=v[1],c=v[2],o=p[0],i=p[1]-u*p[0],s=p[2]-f*p[1],n=j5r(n)),m=r.offset,t=r.data,h=0;h<c;h++){for(y=0;y<f;y++){for(d=0;d<u;d++)e.call(a,t[m],T5r([h,y,d],n),r.ref),m+=o;m+=i}m+=s}}KN.exports=O5r});var QN=l((Rue,ZN)=>{"use strict";var I5r=qe(),N5r=Qr(),D5r=Xr();function k5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S;for(u=r.shape,d=r.strides,v=I5r(u.length),r.order==="row-major"?(f=u[3],c=u[2],p=u[1],m=u[0],o=d[3],i=d[2]-f*d[3],s=d[1]-c*d[2],n=d[0]-p*d[1]):(f=u[0],c=u[1],p=u[2],m=u[3],o=d[0],i=d[1]-f*d[0],s=d[2]-c*d[1],n=d[3]-p*d[2],v=N5r(v)),y=r.offset,t=r.data,S=0;S<m;S++){for(x=0;x<p;x++){for(g=0;g<c;g++){for(h=0;h<f;h++)e.call(a,t[y],D5r([S,x,g,h],v),r.ref),y+=o;y+=i}y+=s}y+=n}}ZN.exports=k5r});var eD=l((Vue,rD)=>{"use strict";var R5r=qe(),V5r=Qr(),z5r=Xr();function B5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_;for(f=r.shape,h=r.strides,u=R5r(f.length),r.order==="row-major"?(c=f[4],p=f[3],m=f[2],d=f[1],y=f[0],o=h[4],i=h[3]-c*h[4],s=h[2]-p*h[3],n=h[1]-m*h[2],v=h[0]-d*h[1]):(c=f[0],p=f[1],m=f[2],d=f[3],y=f[4],o=h[0],i=h[1]-c*h[0],s=h[2]-p*h[1],n=h[3]-m*h[2],v=h[4]-d*h[3],u=V5r(u)),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<c;x++)e.call(a,t[g],z5r([_,A,w,S,x],u),r.ref),g+=o;g+=i}g+=s}g+=n}g+=v}}rD.exports=B5r});var tD=l((zue,aD)=>{"use strict";var P5r=qe(),F5r=Qr(),L5r=Xr();function C5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(c=r.shape,x=r.strides,f=P5r(c.length),r.order==="row-major"?(p=c[5],m=c[4],d=c[3],y=c[2],h=c[1],g=c[0],o=x[5],i=x[4]-p*x[5],s=x[3]-m*x[4],n=x[2]-d*x[3],v=x[1]-y*x[2],u=x[0]-h*x[1]):(p=c[0],m=c[1],d=c[2],y=c[3],h=c[4],g=c[5],o=x[0],i=x[1]-p*x[0],s=x[2]-m*x[1],n=x[3]-d*x[2],v=x[4]-y*x[3],u=x[5]-h*x[4],f=F5r(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],L5r([q,E,b,_,A,w],f),r.ref),S+=o;S+=i}S+=s}S+=n}S+=v}S+=u}}aD.exports=C5r});var oD=l((Bue,iD)=>{"use strict";var U5r=qe(),M5r=Qr(),G5r=Xr();function $5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I;for(p=r.shape,w=r.strides,c=U5r(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],s=w[4]-d*w[5],n=w[3]-y*w[4],v=w[2]-h*w[3],u=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],s=w[2]-d*w[1],n=w[3]-y*w[2],v=w[4]-h*w[3],u=w[5]-g*w[4],f=w[6]-x*w[5],c=M5r(c)),A=r.offset,t=r.data,I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++){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],G5r([I,T,j,q,E,b,_],c),r.ref),A+=o;A+=i}A+=s}A+=n}A+=v}A+=u}A+=f}}iD.exports=$5r});var nD=l((Pue,sD)=>{"use strict";var Y5r=qe(),W5r=Qr(),J5r=Xr();function X5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k;for(m=r.shape,_=r.strides,p=Y5r(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],s=_[5]-y*_[6],n=_[4]-h*_[5],v=_[3]-g*_[4],u=_[2]-x*_[3],f=_[1]-S*_[2],c=_[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],s=_[2]-y*_[1],n=_[3]-h*_[2],v=_[4]-g*_[3],u=_[5]-x*_[4],f=_[6]-S*_[5],c=_[7]-w*_[6],p=W5r(p)),b=r.offset,t=r.data,k=0;k<A;k++){for(D=0;D<w;D++){for(O=0;O<S;O++){for(I=0;I<x;I++){for(T=0;T<g;T++){for(j=0;j<h;j++){for(q=0;q<y;q++){for(E=0;E<d;E++)e.call(a,t[b],J5r([k,D,O,I,T,j,q,E],p),r.ref),b+=o;b+=i}b+=s}b+=n}b+=v}b+=u}b+=f}b+=c}}sD.exports=X5r});var uD=l((Fue,vD)=>{"use strict";var K5r=qe(),H5r=Qr(),Z5r=Xr();function Q5r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z;for(d=r.shape,E=r.strides,m=K5r(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],s=E[6]-h*E[7],n=E[5]-g*E[6],v=E[4]-x*E[5],u=E[3]-S*E[4],f=E[2]-w*E[3],c=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],s=E[2]-h*E[1],n=E[3]-g*E[2],v=E[4]-x*E[3],u=E[5]-S*E[4],f=E[6]-w*E[5],c=E[7]-A*E[6],p=E[8]-_*E[7],m=H5r(m)),q=r.offset,t=r.data,z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<x;O++){for(I=0;I<g;I++){for(T=0;T<h;T++){for(j=0;j<y;j++)e.call(a,t[q],Z5r([z,V,N,k,D,O,I,T,j],m),r.ref),q+=o;q+=i}q+=s}q+=n}q+=v}q+=u}q+=f}q+=c}q+=p}}vD.exports=Q5r});var lD=l((Lue,fD)=>{"use strict";var rAr=qe(),eAr=Qr(),aAr=Xr();function tAr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P;for(y=r.shape,j=r.strides,d=rAr(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=j[9],i=j[8]-h*j[9],s=j[7]-g*j[8],n=j[6]-x*j[7],v=j[5]-S*j[6],u=j[4]-w*j[5],f=j[3]-A*j[4],c=j[2]-_*j[3],p=j[1]-b*j[2],m=j[0]-E*j[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=j[0],i=j[1]-h*j[0],s=j[2]-g*j[1],n=j[3]-x*j[2],v=j[4]-S*j[3],u=j[5]-w*j[4],f=j[6]-A*j[5],c=j[7]-_*j[6],p=j[8]-b*j[7],m=j[9]-E*j[8],d=eAr(d)),T=r.offset,t=r.data,P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++){for(V=0;V<A;V++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(O=0;O<g;O++){for(I=0;I<h;I++)e.call(a,t[T],aAr([P,B,R,z,V,N,k,D,O,I],d),r.ref),T+=o;T+=i}T+=s}T+=n}T+=v}T+=u}T+=f}T+=c}T+=p}T+=m}}fD.exports=tAr});var pD=l((Cue,dD)=>{"use strict";var iAr=Wr(),oAr=ia(),sAr=Si(),cD="throw";function nAr(r,e,a){var t,o,i,s,n,v,u,f,c;for(n=r.shape,i=iAr(n),t=r.data,v=r.strides,u=r.offset,o=r.order,c=0;c<i;c++)f=oAr(n,v,u,o,c,cD),s=sAr(n,v,0,o,c,cD),e.call(a,t[f],s,r.ref)}dD.exports=nAr});var gD=l((Uue,hD)=>{"use strict";var vAr=ba(),uAr=Yt(),fAr=Wr(),lAr=k7(),cAr=V7(),dAr=B7(),pAr=F7(),yAr=C7(),mAr=M7(),hAr=$7(),gAr=W7(),bAr=X7(),xAr=H7(),qAr=Q7(),wAr=eN(),SAr=tN(),EAr=oN(),AAr=nN(),_Ar=uN(),jAr=lN(),TAr=dN(),OAr=yN(),IAr=hN(),NAr=bN(),DAr=qN(),kAr=SN(),RAr=AN(),VAr=jN(),zAr=ON(),BAr=NN(),PAr=kN(),FAr=VN(),LAr=MN(),CAr=$N(),UAr=WN(),MAr=XN(),GAr=HN(),$Ar=QN(),YAr=eD(),WAr=tD(),JAr=oD(),XAr=nD(),KAr=uD(),HAr=lD(),ZAr=pD(),qf=[CAr,UAr,MAr,GAr,$Ar,YAr,WAr,JAr,XAr,KAr,HAr],yD=[OAr,IAr,NAr,DAr,kAr,RAr,VAr,zAr,BAr,PAr,FAr],QAr=[xAr,qAr,wAr,SAr,EAr,AAr,_Ar,jAr,TAr],r_r=[lAr,cAr,dAr,pAr,yAr,mAr,hAr,gAr,bAr],mD=qf.length-1;function e_r(r,e,a){var t,o,i;if(i=uAr(r[0]),o=i.shape,t=o.length,t===0)return i.accessorProtocol?yD[t](i,e,a):qf[t](i,e,a);if(fAr(o)!==0){if(t<=mD&&vAr(i.strides)!==0)return i.accessorProtocol?yD[t](i,e,a):qf[t](i,e,a);if(t<=mD)return i.accessorProtocol?r_r[t-2](i,e,a):QAr[t-2](i,e,a);if(i.accessorProtocol)return LAr(i,e,a);ZAr(i,e,a)}}hD.exports=e_r});var xD=l((Mue,bD)=>{"use strict";var a_r=gD();bD.exports=a_r});var wD=l((Gue,qD)=>{"use strict";var t_r=rt(),i_r=hi(),o_r=mi(),s_r=Ia(),n_r=ra(),v_r=cr();function u_r(r,e,a){var t,o;if(t=s_r(e,1),t===null)throw new TypeError(v_r("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),t_r(t)?o=i_r(e):o=o_r(e),o(t,0,r),new n_r(e,t,[],[0],0,a)}qD.exports=u_r});var ED=l(($ue,SD)=>{"use strict";var f_r=wD();SD.exports=f_r});var _D=l((Yue,AD)=>{"use strict";function l_r(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}AD.exports=l_r});var TD=l((Wue,jD)=>{"use strict";var c_r=_D();jD.exports=c_r});var ND=l((Jue,ID)=>{"use strict";var OD=mo(),d_r=_e();function p_r(r,e){var a,t,o;if(t=e.length,a=d_r(r,!1),a.length===t){for(o=0;o<t;o++)if(a[o]!==e[o])return OD(r,e);return r}return OD(r,e)}ID.exports=p_r});var wf=l((Xue,DD)=>{"use strict";var y_r=ND();DD.exports=y_r});var RD=l((Kue,kD)=>{"use strict";var m_r=bi(),h_r=wf(),g_r=_e();function b_r(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(g_r(r[i],!1));if(t=m_r(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(h_r(r[i],t));return a}kD.exports=b_r});var zD=l((Hue,VD)=>{"use strict";var x_r=RD();VD.exports=x_r});var PD=l((Zue,BD)=>{"use strict";var Sf=Tr(),q_r=yt(),w_r=vf();function S_r(r,e,a){return Sf(a,"nargs",r.nargs),Sf(a,"nin",r.nin),Sf(a,"nout",r.nout),q_r(a,"types",t),a;function t(){return w_r(e,r.nin,r.nout)}}BD.exports=S_r});var LD=l((Que,FD)=>{"use strict";var E_r=PD();FD.exports=E_r});var UD=l((rfe,CD)=>{"use strict";function A_r(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}CD.exports=A_r});var GD=l((efe,MD)=>{"use strict";var __r=UD();MD.exports=__r});var YD=l((afe,$D)=>{"use strict";var j_r=Na(),T_r=ie(),O_r=Ma(),I_r=bt(),N_r=Ga(),D_r=ot(),k_r=ra(),R_r=Ta(),V_r=R_r("order");function z_r(r){return new k_r(j_r(r),D_r(r),T_r(r),O_r(r),I_r(r),N_r(r)||V_r)}$D.exports=z_r});var JD=l((tfe,WD)=>{"use strict";var B_r=YD();WD.exports=B_r});var Ef=l((ife,XD)=>{"use strict";var P_r="row-major";function F_r(r,e,a,t,o){var i,s;for(i=r-1;i>t;i--)o[i]=a[i];for(i=t;i>=0&&(s=(a[i]+1)%e[i],o[i]=s,!(s>0));i--);for(i-=1;i>=0;i--)o[i]=a[i];return o}function L_r(r,e,a,t,o){var i,s;for(i=0;i<t;i++)o[i]=a[i];for(i=t;i<r&&(s=(a[i]+1)%e[i],o[i]=s,!(s>0));i++);for(i+=1;i<r;i++)o[i]=a[i];return o}function C_r(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===P_r?F_r(i,r,a,t,o):L_r(i,r,a,t,o)}XD.exports=C_r});var HD=l((ofe,KD)=>{"use strict";var U_r=xe(),M_r=Ef();function G_r(r,e,a,t){return M_r(r,e,a,t,U_r(r.length))}KD.exports=G_r});var Je=l((sfe,QD)=>{"use strict";var $_r=Tr(),ZD=HD(),Y_r=Ef();$_r(ZD,"assign",Y_r);QD.exports=ZD});var ek=l((nfe,rk)=>{"use strict";function W_r(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]!==1&&(e+=1);return e}rk.exports=W_r});var tk=l((vfe,ak)=>{"use strict";var J_r=ek();ak.exports=J_r});var ok=l((ufe,ik)=>{"use strict";var X_r=Hr(),K_r=Zr();function H_r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x;for(x=X_r(r.shape,r.strides),v=x.sh,c=x.sx,a=K_r(r.dtype),p=r.offset,t=r.data,i=c[0],o=r.accessors[1],g=v[1];g>0;)for(g<a?(f=g,g=0):(f=a,g-=a),n=p+g*c[1],h=v[0];h>0;)for(h<a?(u=h,h=0):(u=a,h-=a),m=n+h*c[0],s=c[1]-u*c[0],y=0;y<f;y++){for(d=0;d<u;d++)o(t,m,e()),m+=i;m+=s}}ik.exports=H_r});var nk=l((ffe,sk)=>{"use strict";var Z_r=Hr(),Q_r=Zr();function r8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b;for(b=Z_r(r.shape,r.strides),f=b.sh,d=b.sx,a=Q_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),u=y+_*d[2],A=f[1];A>0;)for(A<a?(p=A,A=0):(p=a,A-=a),n=d[2]-p*d[1],v=u+A*d[1],w=f[0];w>0;)for(w<a?(c=w,w=0):(c=a,w-=a),h=v+w*d[0],s=d[1]-c*d[0],S=0;S<m;S++){for(x=0;x<p;x++){for(g=0;g<c;g++)o(t,h,e()),h+=i;h+=s}h+=n}}sk.exports=r8r});var uk=l((lfe,vk)=>{"use strict";var e8r=Hr(),a8r=Zr();function t8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I;for(I=e8r(r.shape,r.strides),p=I.sh,g=I.sx,a=a8r(r.dtype),x=r.offset,t=r.data,i=g[0],o=r.accessors[1],T=p[3];T>0;)for(T<a?(h=T,T=0):(h=a,T-=a),c=x+T*g[3],j=p[2];j>0;)for(j<a?(y=j,j=0):(y=a,j-=a),v=g[3]-y*g[2],f=c+j*g[2],q=p[1];q>0;)for(q<a?(d=q,q=0):(d=a,q-=a),n=g[2]-d*g[1],u=f+q*g[1],E=p[0];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),S=u+E*g[0],s=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+=s}S+=n}S+=v}}vk.exports=t8r});var lk=l((cfe,fk)=>{"use strict";var i8r=Hr(),o8r=Zr();function s8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V;for(V=i8r(r.shape,r.strides),d=V.sh,w=V.sx,a=o8r(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),u=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),v=w[3]-g*w[2],c=p+D*w[2],O=d[1];O>0;)for(O<a?(h=O,O=0):(h=a,O-=a),n=w[2]-h*w[1],f=c+O*w[1],I=d[0];I>0;)for(I<a?(y=I,I=0):(y=a,I-=a),_=f+I*w[0],s=w[1]-y*w[0],T=0;T<S;T++){for(j=0;j<x;j++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(b=0;b<y;b++)o(t,_,e()),_+=i;_+=s}_+=n}_+=v}_+=u}}fk.exports=s8r});var dk=l((dfe,ck)=>{"use strict";var n8r=Hr(),v8r=Zr();function u8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(F=n8r(r.shape,r.strides),h=F.sh,b=F.sx,a=v8r(r.dtype),E=r.offset,t=r.data,i=b[0],o=r.accessors[1],P=h[5];P>0;)for(P<a?(_=P,P=0):(_=a,P-=a),y=E+P*b[5],B=h[4];B>0;)for(B<a?(A=B,B=0):(A=a,B-=a),f=b[5]-A*b[4],d=y+B*b[4],R=h[3];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),u=b[4]-w*b[3],m=d+R*b[3],z=h[2];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),v=b[3]-S*b[2],p=m+z*b[2],V=h[1];V>0;)for(V<a?(x=V,V=0):(x=a,V-=a),n=b[2]-x*b[1],c=p+V*b[1],N=h[0];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),q=c+N*b[0],s=b[1]-g*b[0],k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++)o(t,q,e()),q+=i;q+=s}q+=n}q+=v}q+=u}q+=f}}ck.exports=u8r});var yk=l((pfe,pk)=>{"use strict";var f8r=Hr(),l8r=Zr();function c8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G;for(G=f8r(r.shape,r.strides),x=G.sh,j=G.sx,a=l8r(r.dtype),T=r.offset,t=r.data,i=j[0],o=r.accessors[1],M=x[6];M>0;)for(M<a?(q=M,M=0):(q=a,M-=a),g=T+M*j[6],U=x[5];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),c=j[6]-E*j[5],h=g+U*j[5],C=x[4];C>0;)for(C<a?(b=C,C=0):(b=a,C-=a),f=j[5]-b*j[4],y=h+C*j[4],L=x[3];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),u=j[4]-_*j[3],d=y+L*j[3],F=x[2];F>0;)for(F<a?(A=F,F=0):(A=a,F-=a),v=j[3]-A*j[2],m=d+F*j[2],P=x[1];P>0;)for(P<a?(w=P,P=0):(w=a,P-=a),n=j[2]-w*j[1],p=m+P*j[1],B=x[0];B>0;)for(B<a?(S=B,B=0):(S=a,B-=a),I=p+B*j[0],s=j[1]-S*j[0],R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(O=0;O<S;O++)o(t,I,e()),I+=i;I+=s}I+=n}I+=v}I+=u}I+=f}I+=c}}pk.exports=c8r});var hk=l((yfe,mk)=>{"use strict";var d8r=Hr(),p8r=Zr();function y8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X;for(X=d8r(r.shape,r.strides),w=X.sh,O=X.sx,a=p8r(r.dtype),D=r.offset,t=r.data,i=O[0],o=r.accessors[1],J=w[7];J>0;)for(J<a?(I=J,J=0):(I=a,J-=a),S=D+J*O[7],W=w[6];W>0;)for(W<a?(T=W,W=0):(T=a,W-=a),p=O[7]-T*O[6],x=S+W*O[6],$=w[5];$>0;)for($<a?(j=$,$=0):(j=a,$-=a),c=O[6]-j*O[5],g=x+$*O[5],Y=w[4];Y>0;)for(Y<a?(q=Y,Y=0):(q=a,Y-=a),f=O[5]-q*O[4],h=g+Y*O[4],G=w[3];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),u=O[4]-E*O[3],y=h+G*O[3],M=w[2];M>0;)for(M<a?(b=M,M=0):(b=a,M-=a),v=O[3]-b*O[2],d=y+M*O[2],U=w[1];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),n=O[2]-_*O[1],m=d+U*O[1],C=w[0];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),k=m+C*O[0],s=O[1]-A*O[0],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++)o(t,k,e()),k+=i;k+=s}k+=n}k+=v}k+=u}k+=f}k+=c}k+=p}}mk.exports=y8r});var bk=l((mfe,gk)=>{"use strict";var m8r=Hr(),h8r=Zr();function g8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr;for(rr=m8r(r.shape,r.strides),_=rr.sh,N=rr.sx,a=h8r(r.dtype),V=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=V+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?(O=H,H=0):(O=a,H-=a),p=N[7]-O*N[6],S=w+H*N[6],K=_[5];K>0;)for(K<a?(I=K,K=0):(I=a,K-=a),c=N[6]-I*N[5],x=S+K*N[5],X=_[4];X>0;)for(X<a?(T=X,X=0):(T=a,X-=a),f=N[5]-T*N[4],g=x+X*N[4],J=_[3];J>0;)for(J<a?(j=J,J=0):(j=a,J-=a),u=N[4]-j*N[3],h=g+J*N[3],W=_[2];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),v=N[3]-q*N[2],y=h+W*N[2],$=_[1];$>0;)for($<a?(E=$,$=0):(E=a,$-=a),n=N[2]-E*N[1],d=y+$*N[1],Y=_[0];Y>0;)for(Y<a?(b=Y,Y=0):(b=a,Y-=a),z=d+Y*N[0],s=N[1]-b*N[0],G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++)o(t,z,e()),z+=i;z+=s}z+=n}z+=v}z+=u}z+=f}z+=c}z+=p}z+=m}}gk.exports=g8r});var qk=l((hfe,xk)=>{"use strict";var b8r=Hr(),x8r=Zr();function q8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or;for(or=b8r(r.shape,r.strides),E=or.sh,R=or.sx,a=x8r(r.dtype),B=r.offset,t=r.data,i=R[0],o=r.accessors[1],tr=E[9];tr>0;)for(tr<a?(z=tr,tr=0):(z=a,tr-=a),b=B+tr*R[9],ir=E[8];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),d=R[9]-V*R[8],_=b+ir*R[8],er=E[7];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),m=R[8]-N*R[7],A=_+er*R[7],ar=E[6];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),p=R[7]-k*R[6],w=A+ar*R[6],rr=E[5];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),c=R[6]-D*R[5],S=w+rr*R[5],Z=E[4];Z>0;)for(Z<a?(O=Z,Z=0):(O=a,Z-=a),f=R[5]-O*R[4],x=S+Z*R[4],Q=E[3];Q>0;)for(Q<a?(I=Q,Q=0):(I=a,Q-=a),u=R[4]-I*R[3],g=x+Q*R[3],H=E[2];H>0;)for(H<a?(T=H,H=0):(T=a,H-=a),v=R[3]-T*R[2],h=g+H*R[2],K=E[1];K>0;)for(K<a?(j=K,K=0):(j=a,K-=a),n=R[2]-j*R[1],y=h+K*R[1],X=E[0];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),P=y+X*R[0],s=R[1]-q*R[0],J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++){for(F=0;F<q;F++)o(t,P,e()),P+=i;P+=s}P+=n}P+=v}P+=u}P+=f}P+=c}P+=p}P+=m}P+=d}}xk.exports=q8r});var Sk=l((gfe,wk)=>{"use strict";var w8r=Hr(),S8r=Zr();function E8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;for(g=w8r(r.shape,r.strides),n=g.sh,f=g.sx,a=S8r(r.dtype),c=r.offset,t=r.data,o=f[0],h=n[1];h>0;)for(h<a?(u=h,h=0):(u=a,h-=a),s=c+h*f[1],y=n[0];y>0;)for(y<a?(v=y,y=0):(v=a,y-=a),p=s+y*f[0],i=f[1]-v*f[0],d=0;d<u;d++){for(m=0;m<v;m++)t[p]=e(),p+=o;p+=i}}wk.exports=E8r});var Ak=l((bfe,Ek)=>{"use strict";var A8r=Hr(),_8r=Zr();function j8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_;for(_=A8r(r.shape,r.strides),u=_.sh,m=_.sx,a=_8r(r.dtype),d=r.offset,t=r.data,o=m[0],A=u[2];A>0;)for(A<a?(p=A,A=0):(p=a,A-=a),v=d+A*m[2],w=u[1];w>0;)for(w<a?(c=w,w=0):(c=a,w-=a),s=m[2]-c*m[1],n=v+w*m[1],S=u[0];S>0;)for(S<a?(f=S,S=0):(f=a,S-=a),y=n+S*m[0],i=m[1]-f*m[0],x=0;x<p;x++){for(g=0;g<c;g++){for(h=0;h<f;h++)t[y]=e(),y+=o;y+=i}y+=s}}Ek.exports=j8r});var jk=l((xfe,_k)=>{"use strict";var T8r=Hr(),O8r=Zr();function I8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T;for(T=T8r(r.shape,r.strides),c=T.sh,h=T.sx,a=O8r(r.dtype),g=r.offset,t=r.data,o=h[0],j=c[3];j>0;)for(j<a?(y=j,j=0):(y=a,j-=a),f=g+j*h[3],q=c[2];q>0;)for(q<a?(d=q,q=0):(d=a,q-=a),n=h[3]-d*h[2],u=f+q*h[2],E=c[1];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),s=h[2]-m*h[1],v=u+E*h[1],b=c[0];b>0;)for(b<a?(p=b,b=0):(p=a,b-=a),x=v+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+=s}x+=n}}_k.exports=I8r});var Ok=l((qfe,Tk)=>{"use strict";var N8r=Hr(),D8r=Zr();function k8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N;for(N=N8r(r.shape,r.strides),m=N.sh,S=N.sx,a=D8r(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),v=S[4]-g*S[3],c=p+D*S[3],O=m[2];O>0;)for(O<a?(h=O,O=0):(h=a,O-=a),n=S[3]-h*S[2],f=c+O*S[2],I=m[1];I>0;)for(I<a?(y=I,I=0):(y=a,I-=a),s=S[2]-y*S[1],u=f+I*S[1],T=m[0];T>0;)for(T<a?(d=T,T=0):(d=a,T-=a),A=u+T*S[0],i=S[1]-d*S[0],j=0;j<x;j++){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+=s}A+=n}A+=v}}Tk.exports=k8r});var Nk=l((wfe,Ik)=>{"use strict";var R8r=Hr(),V8r=Zr();function z8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P;for(P=R8r(r.shape,r.strides),y=P.sh,_=P.sx,a=V8r(r.dtype),b=r.offset,t=r.data,o=_[0],B=y[5];B>0;)for(B<a?(A=B,B=0):(A=a,B-=a),d=b+B*_[5],R=y[4];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),u=_[5]-w*_[4],m=d+R*_[4],z=y[3];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),v=_[4]-S*_[3],p=m+z*_[3],V=y[2];V>0;)for(V<a?(x=V,V=0):(x=a,V-=a),n=_[3]-x*_[2],c=p+V*_[2],N=y[1];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),s=_[2]-g*_[1],f=c+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(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++){for(q=0;q<h;q++)t[E]=e(),E+=o;E+=i}E+=s}E+=n}E+=v}E+=u}}Ik.exports=z8r});var kk=l((Sfe,Dk)=>{"use strict";var B8r=Hr(),P8r=Zr();function F8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M;for(M=B8r(r.shape,r.strides),g=M.sh,q=M.sx,a=P8r(r.dtype),j=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=j+U*q[6],C=g[5];C>0;)for(C<a?(b=C,C=0):(b=a,C-=a),f=q[6]-b*q[5],y=h+C*q[5],L=g[4];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),u=q[5]-_*q[4],d=y+L*q[4],F=g[3];F>0;)for(F<a?(A=F,F=0):(A=a,F-=a),v=q[4]-A*q[3],m=d+F*q[3],P=g[2];P>0;)for(P<a?(w=P,P=0):(w=a,P-=a),n=q[3]-w*q[2],p=m+P*q[2],B=g[1];B>0;)for(B<a?(S=B,B=0):(S=a,B-=a),s=q[2]-S*q[1],c=p+B*q[1],R=g[0];R>0;)for(R<a?(x=R,R=0):(x=a,R-=a),T=c+R*q[0],i=q[1]-x*q[0],z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(O=0;O<S;O++){for(I=0;I<x;I++)t[T]=e(),T+=o;T+=i}T+=s}T+=n}T+=v}T+=u}T+=f}}Dk.exports=F8r});var Vk=l((Efe,Rk)=>{"use strict";var L8r=Hr(),C8r=Zr();function U8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J;for(J=L8r(r.shape,r.strides),S=J.sh,I=J.sx,a=C8r(r.dtype),O=r.offset,t=r.data,o=I[0],W=S[7];W>0;)for(W<a?(T=W,W=0):(T=a,W-=a),x=O+W*I[7],$=S[6];$>0;)for($<a?(j=$,$=0):(j=a,$-=a),c=I[7]-j*I[6],g=x+$*I[6],Y=S[5];Y>0;)for(Y<a?(q=Y,Y=0):(q=a,Y-=a),f=I[6]-q*I[5],h=g+Y*I[5],G=S[4];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),u=I[5]-E*I[4],y=h+G*I[4],M=S[3];M>0;)for(M<a?(b=M,M=0):(b=a,M-=a),v=I[4]-b*I[3],d=y+M*I[3],U=S[2];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),n=I[3]-_*I[2],m=d+U*I[2],C=S[1];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),s=I[2]-A*I[1],p=m+C*I[1],L=S[0];L>0;)for(L<a?(w=L,L=0):(w=a,L-=a),D=p+L*I[0],i=I[1]-w*I[0],F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++)t[D]=e(),D+=o;D+=i}D+=s}D+=n}D+=v}D+=u}D+=f}D+=c}}Rk.exports=U8r});var Bk=l((Afe,zk)=>{"use strict";var M8r=Hr(),G8r=Zr();function $8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z;for(Z=M8r(r.shape,r.strides),A=Z.sh,k=Z.sx,a=G8r(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?(O=H,H=0):(O=a,H-=a),p=k[8]-O*k[7],S=w+H*k[7],K=A[6];K>0;)for(K<a?(I=K,K=0):(I=a,K-=a),c=k[7]-I*k[6],x=S+K*k[6],X=A[5];X>0;)for(X<a?(T=X,X=0):(T=a,X-=a),f=k[6]-T*k[5],g=x+X*k[5],J=A[4];J>0;)for(J<a?(j=J,J=0):(j=a,J-=a),u=k[5]-j*k[4],h=g+J*k[4],W=A[3];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),v=k[4]-q*k[3],y=h+W*k[3],$=A[2];$>0;)for($<a?(E=$,$=0):(E=a,$-=a),n=k[3]-E*k[2],d=y+$*k[2],Y=A[1];Y>0;)for(Y<a?(b=Y,Y=0):(b=a,Y-=a),s=k[2]-b*k[1],m=d+Y*k[1],G=A[0];G>0;)for(G<a?(_=G,G=0):(_=a,G-=a),V=m+G*k[0],i=k[1]-_*k[0],M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++)t[V]=e(),V+=o;V+=i}V+=s}V+=n}V+=v}V+=u}V+=f}V+=c}V+=p}}zk.exports=$8r});var Fk=l((_fe,Pk)=>{"use strict";var Y8r=Hr(),W8r=Zr();function J8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(tr=Y8r(r.shape,r.strides),b=tr.sh,z=tr.sx,a=W8r(r.dtype),R=r.offset,t=r.data,o=z[0],ir=b[9];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),_=R+ir*z[9],er=b[8];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),m=z[9]-N*z[8],A=_+er*z[8],ar=b[7];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),p=z[8]-k*z[7],w=A+ar*z[7],rr=b[6];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),c=z[7]-D*z[6],S=w+rr*z[6],Z=b[5];Z>0;)for(Z<a?(O=Z,Z=0):(O=a,Z-=a),f=z[6]-O*z[5],x=S+Z*z[5],Q=b[4];Q>0;)for(Q<a?(I=Q,Q=0):(I=a,Q-=a),u=z[5]-I*z[4],g=x+Q*z[4],H=b[3];H>0;)for(H<a?(T=H,H=0):(T=a,H-=a),v=z[4]-T*z[3],h=g+H*z[3],K=b[2];K>0;)for(K<a?(j=K,K=0):(j=a,K-=a),n=z[3]-j*z[2],y=h+K*z[2],X=b[1];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),s=z[2]-q*z[1],d=y+X*z[1],J=b[0];J>0;)for(J<a?(E=J,J=0):(E=a,J-=a),B=d+J*z[0],i=z[1]-E*z[0],W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++){for(F=0;F<q;F++){for(P=0;P<E;P++)t[B]=e(),B+=o;B+=i}B+=s}B+=n}B+=v}B+=u}B+=f}B+=c}B+=p}B+=m}}Pk.exports=J8r});var Ck=l((jfe,Lk)=>{"use strict";function X8r(r,e){r.accessors[1](r.data,r.offset,e())}Lk.exports=X8r});var Mk=l((Tfe,Uk)=>{"use strict";function K8r(r,e){var a,t,o,i,s,n;for(i=r.shape[0],o=r.strides[0],s=r.offset,a=r.data,t=r.accessors[1],n=0;n<i;n++)t(a,s,e()),s+=o}Uk.exports=K8r});var $k=l((Ofe,Gk)=>{"use strict";function H8r(r,e){var a,t,o,i,s,n,v,u,f,c,p;for(s=r.shape,u=r.strides,r.order==="row-major"?(n=s[1],v=s[0],o=u[1],i=u[0]-n*u[1]):(n=s[0],v=s[1],o=u[0],i=u[1]-n*u[0]),f=r.offset,a=r.data,t=r.accessors[1],p=0;p<v;p++){for(c=0;c<n;c++)t(a,f,e()),f+=o;f+=i}}Gk.exports=H8r});var Wk=l((Ife,Yk)=>{"use strict";function Z8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y;for(n=r.shape,c=r.strides,r.order==="row-major"?(v=n[2],u=n[1],f=n[0],o=c[2],i=c[1]-v*c[2],s=c[0]-u*c[1]):(v=n[0],u=n[1],f=n[2],o=c[0],i=c[1]-v*c[0],s=c[2]-u*c[1]),p=r.offset,a=r.data,t=r.accessors[1],y=0;y<f;y++){for(d=0;d<u;d++){for(m=0;m<v;m++)t(a,p,e()),p+=o;p+=i}p+=s}}Yk.exports=Z8r});var Xk=l((Nfe,Jk)=>{"use strict";function Q8r(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x;for(v=r.shape,m=r.strides,r.order==="row-major"?(u=v[3],f=v[2],c=v[1],p=v[0],o=m[3],i=m[2]-u*m[3],s=m[1]-f*m[2],n=m[0]-c*m[1]):(u=v[0],f=v[1],c=v[2],p=v[3],o=m[0],i=m[1]-u*m[0],s=m[2]-f*m[1],n=m[3]-c*m[2]),d=r.offset,a=r.data,t=r.accessors[1],x=0;x<p;x++){for(g=0;g<c;g++){for(h=0;h<f;h++){for(y=0;y<u;y++)t(a,d,e()),d+=o;d+=i}d+=s}d+=n}}Jk.exports=Q8r});var Hk=l((Dfe,Kk)=>{"use strict";function rjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A;for(u=r.shape,y=r.strides,r.order==="row-major"?(f=u[4],c=u[3],p=u[2],m=u[1],d=u[0],o=y[4],i=y[3]-f*y[4],s=y[2]-c*y[3],n=y[1]-p*y[2],v=y[0]-m*y[1]):(f=u[0],c=u[1],p=u[2],m=u[3],d=u[4],o=y[0],i=y[1]-f*y[0],s=y[2]-c*y[1],n=y[3]-p*y[2],v=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<c;x++){for(g=0;g<f;g++)t(a,h,e()),h+=o;h+=i}h+=s}h+=n}h+=v}}Kk.exports=rjr});var Qk=l((kfe,Zk)=>{"use strict";function ejr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E;for(f=r.shape,g=r.strides,r.order==="row-major"?(c=f[5],p=f[4],m=f[3],d=f[2],y=f[1],h=f[0],o=g[5],i=g[4]-c*g[5],s=g[3]-p*g[4],n=g[2]-m*g[3],v=g[1]-d*g[2],u=g[0]-y*g[1]):(c=f[0],p=f[1],m=f[2],d=f[3],y=f[4],h=f[5],o=g[0],i=g[1]-c*g[0],s=g[2]-p*g[1],n=g[3]-m*g[2],v=g[4]-d*g[3],u=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<c;S++)t(a,x,e()),x+=o;x+=i}x+=s}x+=n}x+=v}x+=u}}Zk.exports=ejr});var eR=l((Rfe,rR)=>{"use strict";function ajr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T;for(c=r.shape,S=r.strides,r.order==="row-major"?(p=c[6],m=c[5],d=c[4],y=c[3],h=c[2],g=c[1],x=c[0],o=S[6],i=S[5]-p*S[6],s=S[4]-m*S[5],n=S[3]-d*S[4],v=S[2]-y*S[3],u=S[1]-h*S[2],f=S[0]-g*S[1]):(p=c[0],m=c[1],d=c[2],y=c[3],h=c[4],g=c[5],x=c[6],o=S[0],i=S[1]-p*S[0],s=S[2]-m*S[1],n=S[3]-d*S[2],v=S[4]-y*S[3],u=S[5]-h*S[4],f=S[6]-g*S[5]),w=r.offset,a=r.data,t=r.accessors[1],T=0;T<x;T++){for(j=0;j<g;j++){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+=s}w+=n}w+=v}w+=u}w+=f}}rR.exports=ajr});var tR=l((Vfe,aR)=>{"use strict";function tjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],s=A[5]-d*A[6],n=A[4]-y*A[5],v=A[3]-h*A[4],u=A[2]-g*A[3],f=A[1]-x*A[2],c=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],s=A[2]-d*A[1],n=A[3]-y*A[2],v=A[4]-h*A[3],u=A[5]-g*A[4],f=A[6]-x*A[5],c=A[7]-S*A[6]),_=r.offset,a=r.data,t=r.accessors[1],D=0;D<w;D++){for(O=0;O<S;O++){for(I=0;I<x;I++){for(T=0;T<g;T++){for(j=0;j<h;j++){for(q=0;q<y;q++){for(E=0;E<d;E++){for(b=0;b<m;b++)t(a,_,e()),_+=o;_+=i}_+=s}_+=n}_+=v}_+=u}_+=f}_+=c}}aR.exports=tjr});var oR=l((zfe,iR)=>{"use strict";function ijr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V;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],s=b[6]-y*b[7],n=b[5]-h*b[6],v=b[4]-g*b[5],u=b[3]-x*b[4],f=b[2]-S*b[3],c=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],s=b[2]-y*b[1],n=b[3]-h*b[2],v=b[4]-g*b[3],u=b[5]-x*b[4],f=b[6]-S*b[5],c=b[7]-w*b[6],p=b[8]-A*b[7]),E=r.offset,a=r.data,t=r.accessors[1],V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<x;O++){for(I=0;I<g;I++){for(T=0;T<h;T++){for(j=0;j<y;j++){for(q=0;q<d;q++)t(a,E,e()),E+=o;E+=i}E+=s}E+=n}E+=v}E+=u}E+=f}E+=c}E+=p}}iR.exports=ijr});var nR=l((Bfe,sR)=>{"use strict";function ojr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B;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],s=q[7]-h*q[8],n=q[6]-g*q[7],v=q[5]-x*q[6],u=q[4]-S*q[5],f=q[3]-w*q[4],c=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],s=q[2]-h*q[1],n=q[3]-g*q[2],v=q[4]-x*q[3],u=q[5]-S*q[4],f=q[6]-w*q[5],c=q[7]-A*q[6],p=q[8]-_*q[7],m=q[9]-b*q[8]),j=r.offset,a=r.data,t=r.accessors[1],B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++){for(V=0;V<A;V++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(O=0;O<g;O++){for(I=0;I<h;I++){for(T=0;T<y;T++)t(a,j,e()),j+=o;j+=i}j+=s}j+=n}j+=v}j+=u}j+=f}j+=c}j+=p}j+=m}}sR.exports=ojr});var uR=l((Pfe,vR)=>{"use strict";var sjr=Wr(),njr=ia(),vjr="throw";function ujr(r,e){var a,t,o,i,s,n,v,u,f;for(s=r.shape,o=sjr(s),a=r.data,n=r.strides,v=r.offset,t=r.order,i=r.accessors[1],f=0;f<o;f++)u=njr(s,n,v,t,f,vjr),i(a,u,e())}vR.exports=ujr});var lR=l((Ffe,fR)=>{"use strict";function fjr(r,e){r.data[r.offset]=e()}fR.exports=fjr});var dR=l((Lfe,cR)=>{"use strict";function ljr(r,e){var a,t,o,i,s;for(o=r.shape[0],t=r.strides[0],i=r.offset,a=r.data,s=0;s<o;s++)a[i]=e(),i+=t}cR.exports=ljr});var yR=l((Cfe,pR)=>{"use strict";function cjr(r,e){var a,t,o,i,s,n,v,u,f,c;for(i=r.shape,v=r.strides,r.order==="row-major"?(s=i[1],n=i[0],t=v[1],o=v[0]-s*v[1]):(s=i[0],n=i[1],t=v[0],o=v[1]-s*v[0]),u=r.offset,a=r.data,c=0;c<n;c++){for(f=0;f<s;f++)a[u]=e(),u+=t;u+=o}}pR.exports=cjr});var hR=l((Ufe,mR)=>{"use strict";function djr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d;for(s=r.shape,f=r.strides,r.order==="row-major"?(n=s[2],v=s[1],u=s[0],t=f[2],o=f[1]-n*f[2],i=f[0]-v*f[1]):(n=s[0],v=s[1],u=s[2],t=f[0],o=f[1]-n*f[0],i=f[2]-v*f[1]),c=r.offset,a=r.data,d=0;d<u;d++){for(m=0;m<v;m++){for(p=0;p<n;p++)a[c]=e(),c+=t;c+=o}c+=i}}mR.exports=djr});var bR=l((Mfe,gR)=>{"use strict";function pjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;for(n=r.shape,p=r.strides,r.order==="row-major"?(v=n[3],u=n[2],f=n[1],c=n[0],t=p[3],o=p[2]-v*p[3],i=p[1]-u*p[2],s=p[0]-f*p[1]):(v=n[0],u=n[1],f=n[2],c=n[3],t=p[0],o=p[1]-v*p[0],i=p[2]-u*p[1],s=p[3]-f*p[2]),m=r.offset,a=r.data,g=0;g<c;g++){for(h=0;h<f;h++){for(y=0;y<u;y++){for(d=0;d<v;d++)a[m]=e(),m+=t;m+=o}m+=i}m+=s}}gR.exports=pjr});var qR=l((Gfe,xR)=>{"use strict";function yjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;for(v=r.shape,d=r.strides,r.order==="row-major"?(u=v[4],f=v[3],c=v[2],p=v[1],m=v[0],t=d[4],o=d[3]-u*d[4],i=d[2]-f*d[3],s=d[1]-c*d[2],n=d[0]-p*d[1]):(u=v[0],f=v[1],c=v[2],p=v[3],m=v[4],t=d[0],o=d[1]-u*d[0],i=d[2]-f*d[1],s=d[3]-c*d[2],n=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<c;x++){for(g=0;g<f;g++){for(h=0;h<u;h++)a[y]=e(),y+=t;y+=o}y+=i}y+=s}y+=n}}xR.exports=yjr});var SR=l(($fe,wR)=>{"use strict";function mjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b;for(u=r.shape,h=r.strides,r.order==="row-major"?(f=u[5],c=u[4],p=u[3],m=u[2],d=u[1],y=u[0],t=h[5],o=h[4]-f*h[5],i=h[3]-c*h[4],s=h[2]-p*h[3],n=h[1]-m*h[2],v=h[0]-d*h[1]):(f=u[0],c=u[1],p=u[2],m=u[3],d=u[4],y=u[5],t=h[0],o=h[1]-f*h[0],i=h[2]-c*h[1],s=h[3]-p*h[2],n=h[4]-m*h[3],v=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<c;S++){for(x=0;x<f;x++)a[g]=e(),g+=t;g+=o}g+=i}g+=s}g+=n}g+=v}}wR.exports=mjr});var AR=l((Yfe,ER)=>{"use strict";function hjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j;for(f=r.shape,x=r.strides,r.order==="row-major"?(c=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]-c*x[6],i=x[4]-p*x[5],s=x[3]-m*x[4],n=x[2]-d*x[3],v=x[1]-y*x[2],u=x[0]-h*x[1]):(c=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]-c*x[0],i=x[2]-p*x[1],s=x[3]-m*x[2],n=x[4]-d*x[3],v=x[5]-y*x[4],u=x[6]-h*x[5]),S=r.offset,a=r.data,j=0;j<g;j++){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<c;w++)a[S]=e(),S+=t;S+=o}S+=i}S+=s}S+=n}S+=v}S+=u}}ER.exports=hjr});var jR=l((Wfe,_R)=>{"use strict";function gjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;for(c=r.shape,w=r.strides,r.order==="row-major"?(p=c[7],m=c[6],d=c[5],y=c[4],h=c[3],g=c[2],x=c[1],S=c[0],t=w[7],o=w[6]-p*w[7],i=w[5]-m*w[6],s=w[4]-d*w[5],n=w[3]-y*w[4],v=w[2]-h*w[3],u=w[1]-g*w[2],f=w[0]-x*w[1]):(p=c[0],m=c[1],d=c[2],y=c[3],h=c[4],g=c[5],x=c[6],S=c[7],t=w[0],o=w[1]-p*w[0],i=w[2]-m*w[1],s=w[3]-d*w[2],n=w[4]-y*w[3],v=w[5]-h*w[4],u=w[6]-g*w[5],f=w[7]-x*w[6]),A=r.offset,a=r.data,O=0;O<S;O++){for(I=0;I<x;I++){for(T=0;T<g;T++){for(j=0;j<h;j++){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+=s}A+=n}A+=v}A+=u}A+=f}}_R.exports=gjr});var OR=l((Jfe,TR)=>{"use strict";function bjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],s=_[5]-y*_[6],n=_[4]-h*_[5],v=_[3]-g*_[4],u=_[2]-x*_[3],f=_[1]-S*_[2],c=_[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],s=_[3]-y*_[2],n=_[4]-h*_[3],v=_[5]-g*_[4],u=_[6]-x*_[5],f=_[7]-S*_[6],c=_[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(O=0;O<x;O++){for(I=0;I<g;I++){for(T=0;T<h;T++){for(j=0;j<y;j++){for(q=0;q<d;q++){for(E=0;E<m;E++)a[b]=e(),b+=t;b+=o}b+=i}b+=s}b+=n}b+=v}b+=u}b+=f}b+=c}}TR.exports=bjr});var NR=l((Xfe,IR)=>{"use strict";function xjr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R;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],s=E[6]-h*E[7],n=E[5]-g*E[6],v=E[4]-x*E[5],u=E[3]-S*E[4],f=E[2]-w*E[3],c=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],s=E[3]-h*E[2],n=E[4]-g*E[3],v=E[5]-x*E[4],u=E[6]-S*E[5],f=E[7]-w*E[6],c=E[8]-A*E[7],p=E[9]-_*E[8]),q=r.offset,a=r.data,R=0;R<b;R++){for(z=0;z<_;z++){for(V=0;V<A;V++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<x;D++){for(O=0;O<g;O++){for(I=0;I<h;I++){for(T=0;T<y;T++){for(j=0;j<d;j++)a[q]=e(),q+=t;q+=o}q+=i}q+=s}q+=n}q+=v}q+=u}q+=f}q+=c}q+=p}}IR.exports=xjr});var kR=l((Kfe,DR)=>{"use strict";var qjr=Wr(),wjr=ia(),Sjr="throw";function Ejr(r,e){var a,t,o,i,s,n,v,u;for(i=r.shape,o=qjr(i),a=r.data,s=r.strides,n=r.offset,t=r.order,u=0;u<o;u++)v=wjr(i,s,n,t,u,Sjr),a[v]=e()}DR.exports=Ejr});var zR=l((Hfe,VR)=>{"use strict";var Ajr=ba(),_jr=Ha(),jjr=Yt(),Tjr=ok(),Ojr=nk(),Ijr=uk(),Njr=lk(),Djr=dk(),kjr=yk(),Rjr=hk(),Vjr=bk(),zjr=qk(),Bjr=Sk(),Pjr=Ak(),Fjr=jk(),Ljr=Ok(),Cjr=Nk(),Ujr=kk(),Mjr=Vk(),Gjr=Bk(),$jr=Fk(),Yjr=Ck(),Wjr=Mk(),Jjr=$k(),Xjr=Wk(),Kjr=Xk(),Hjr=Hk(),Zjr=Qk(),Qjr=eR(),rTr=tR(),eTr=oR(),aTr=nR(),tTr=uR(),iTr=lR(),oTr=dR(),sTr=yR(),nTr=hR(),vTr=bR(),uTr=qR(),fTr=SR(),lTr=AR(),cTr=jR(),dTr=OR(),pTr=NR(),yTr=kR(),Ei=[iTr,oTr,sTr,nTr,vTr,uTr,fTr,lTr,cTr,dTr,pTr],bo=[Yjr,Wjr,Jjr,Xjr,Kjr,Hjr,Zjr,Qjr,rTr,eTr,aTr],mTr=[Bjr,Pjr,Fjr,Ljr,Cjr,Ujr,Mjr,Gjr,$jr],hTr=[Tjr,Ojr,Ijr,Njr,Djr,kjr,Rjr,Vjr,zjr],RR=Ei.length-1;function gTr(r,e){var a,t,o,i,s,n,v,u,f,c,p;if(f=jjr(r[0]),o=f.shape,a=o.length,a===0)return f.accessorProtocol?bo[a](f,e):Ei[a](f,e);for(s=1,u=0,p=0;p<a;p++)c=o[p],s*=c,c===1&&(u+=1);if(s!==0){if(a===1)return f.accessorProtocol?bo[a](f,e):Ei[a](f,e);if(n=f.strides,u===a-1){for(p=0;p<a&&o[p]===1;p++);return f.shape=[o[p]],f.strides=[n[p]],f.accessorProtocol?bo[1](f,e):Ei[1](f,e)}if(i=Ajr(n),i!==0){if(t=_jr(o,n,f.offset),s===t[1]-t[0]+1)return i===1?v=t[0]:v=t[1],f.shape=[s],f.strides=[i],f.offset=v,f.accessorProtocol?bo[1](f,e):Ei[1](f,e);if(a<=RR)return f.accessorProtocol?bo[a](f,e):Ei[a](f,e)}if(a<=RR)return f.accessorProtocol?hTr[a-2](f,e):mTr[a-2](f,e);if(f.accessorProtocol)return tTr(f,e);yTr(f,e)}}VR.exports=gTr});var PR=l((Zfe,BR)=>{"use strict";var bTr=zR();BR.exports=bTr});var CR=l((Qfe,LR)=>{"use strict";var xTr=ca(),qTr=Ra(),wTr=_e(),FR=cr();function STr(r,e){var a,t;if(a=qTr(r),a===0)throw new TypeError(FR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=xTr(e,a-1),t===-1)throw new RangeError(FR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return wTr(r,!1)[t]}LR.exports=STr});var Af=l((rle,UR)=>{"use strict";var ETr=CR();UR.exports=ETr});var MR=l((ele,ATr)=>{ATr.exports=["same","promoted","bool","signed_integer","unsigned_integer","integer","floating_point","real_floating_point","complex_floating_point","real","numeric","default"]});var $R=l((ale,GR)=>{"use strict";var _Tr=MR();function jTr(){return _Tr.slice()}GR.exports=jTr});var WR=l((tle,YR)=>{"use strict";function TTr(){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}}YR.exports=TTr});var XR=l((ile,JR)=>{"use strict";var OTr=Ot(),ITr=xa();function NTr(r,e){var a,t,o;for(a=ITr(e),o=0;o<a.length;o++)t=a[o],OTr(r,t,e[t]);return r}JR.exports=NTr});var Cs=l((ole,HR)=>{"use strict";var DTr=Tr(),_f=$R(),KR=WR(),kTr=XR();DTr(_f,"enum",KR);kTr(_f,KR());HR.exports=_f});var QR=l((sle,ZR)=>{"use strict";var RTr=ls(),VTr=Cs().enum,zTr=RTr(VTr(),{duplicates:!1});function BTr(r){var e=zTr[r];return typeof e=="string"?e:null}ZR.exports=BTr});var Us=l((nle,rV)=>{"use strict";var PTr=QR();rV.exports=PTr});var aV=l((vle,eV)=>{"use strict";var FTr=Cs().enum,LTr=FTr();function CTr(r){var e=LTr[r];return typeof e=="number"?e:null}eV.exports=CTr});var Ms=l((ule,tV)=>{"use strict";var UTr=aV();tV.exports=UTr});var oV=l((fle,iV)=>{"use strict";var MTr=Us(),GTr=Ms();function $Tr(r){var e=typeof r;return e==="number"?MTr(r)?r:null:e==="string"?GTr(r):null}iV.exports=$Tr});var nV=l((lle,sV)=>{"use strict";var YTr=oV();sV.exports=YTr});var uV=l((cle,vV)=>{"use strict";var WTr=Us(),JTr=Ms();function XTr(r){var e=typeof r;return e==="string"?JTr(r)===null?null:r:e==="number"?WTr(r):null}vV.exports=XTr});var lV=l((dle,fV)=>{"use strict";var KTr=uV();fV.exports=KTr});var hV=l((ple,mV)=>{"use strict";var HTr=Le(),cV=Ye(),ZTr=_e(),QTr=ya(),dV=$a(),pV=oa(),yV=nt();function rOr(r,e){var a,t,o,i,s,n;for(o=ZTr(r,!1),i=QTr(r,!1),s=o.length,a=[],t=[],n=0;n<e;n++)t.push(1),a.push(i[0]);for(n=0;n<s;n++)t.push(o[n]),a.push(i[n]);return HTr(r)?new r.constructor(cV(r),yV(r),t,a,dV(r),pV(r),{readonly:!0}):new r.constructor(cV(r),yV(r),t,a,dV(r),pV(r))}mV.exports=rOr});var bV=l((yle,gV)=>{"use strict";var eOr=hV();gV.exports=eOr});var AV=l((mle,EV)=>{"use strict";var aOr=Le(),xV=Ye(),tOr=_e(),iOr=ya(),qV=$a(),wV=oa(),SV=nt();function oOr(r){var e,a,t,o,i,s;for(t=tOr(r,!1),o=iOr(r,!1),i=t.length,e=[],a=[],s=0;s<i;s++)t[s]!==1&&(a.push(t[s]),e.push(o[s]));return a.length===i?r:aOr(r)?new r.constructor(xV(r),SV(r),a,e,qV(r),wV(r),{readonly:!0}):new r.constructor(xV(r),SV(r),a,e,qV(r),wV(r))}EV.exports=oOr});var jV=l((hle,_V)=>{"use strict";var sOr=AV();_V.exports=sOr});var OV=l((gle,TV)=>{"use strict";var nOr=he(),vOr=Pe(),uOr=vo(),fOr=pe(),lOr=Ra();function cOr(r,e){var a=uOr(new vOr(null,null,-1),lOr(r));return fOr(r,nOr(a),!0,e)}TV.exports=cOr});var NV=l((ble,IV)=>{"use strict";var dOr=OV();IV.exports=dOr});var RV=l((xle,kV)=>{"use strict";var qt=Bt(),pOr=ti(),yOr=Pt(),xo=bv(),mOr=Ka(),hOr=De().enum,gOr=Ft().enum,bOr=Lt().enum,xOr=Ye(),qOr=_e(),wOr=ya(),SOr=$a(),EOr=oa(),AOr=hOr(),_Or=gOr(),DV=bOr();function jOr(r){var e,a,t,o,i,s,n,v,u,f,c,p,m,d;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(o=xOr(r),i=qOr(r,!1),s=wOr(r,!1),p=i.length,u=r.mode||"throw",n=r.submode||[u],m=n.length,e=mOr(o),t=33+p*16+m,v=new yOr(new pOr(t)),f=0,v.setInt8(f,qt?1:0),f+=1,v.setInt16(f,AOr[o],qt),f+=2,v.setBigInt64(f,xo(p),qt),c=p*8,f+=8,d=0;d<p;d++)v.setBigInt64(f,xo(i[d]),qt),v.setBigInt64(f+c,xo(s[d]*e),qt),f+=8;for(f+=c,v.setBigInt64(f,xo(SOr(r)*e),qt),f+=8,v.setInt8(f,_Or[EOr(r)]),f+=1,v.setInt8(f,DV[u]),f+=1,v.setBigInt64(f,xo(m),qt),f+=8,d=0;d<m;d++)v.setInt8(f,DV[n[d]]),f+=1;return a=0,r.flags&&(a|=r.flags.READONLY?4:0),v.setInt32(f,a,qt),v}kV.exports=jOr});var BV=l((qle,zV)=>{"use strict";var jf=Bt(),qo=kv().assign,TOr=ti(),OOr=Qe(),IOr=Pt(),NOr=Ka(),DOr=De().enum,kOr=Ft().enum,ROr=Lt().enum,VOr=Ye(),zOr=_e(),BOr=ya(),POr=$a(),FOr=oa(),LOr=DOr(),COr=kOr(),VV=ROr();function UOr(r){var e,a,t,o,i,s,n,v,u,f,c,p,m,d,y;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(i=VOr(r),s=zOr(r,!1),n=BOr(r,!1),m=s.length,f=r.mode||"throw",v=r.submode||[f],d=v.length,e=NOr(i),o=33+m*16+d,u=new IOr(new TOr(o)),a=new OOr(u.buffer),c=0,u.setInt8(c,jf?1:0),c+=1,u.setInt16(c,LOr[i],jf),c+=2,qo(m,a,1,c),p=m*8,c+=8,y=0;y<m;y++)qo(s[y],a,1,c),qo(n[y]*e,a,1,c+p),c+=8;for(c+=p,qo(POr(r)*e,a,1,c),c+=8,u.setInt8(c,COr[FOr(r)]),c+=1,u.setInt8(c,VV[f]),c+=1,qo(d,a,1,c),c+=8,y=0;y<d;y++)u.setInt8(c,VV[v[y]]),c+=1;return t=0,r.flags&&(t|=r.flags.READONLY?4:0),u.setInt32(c,t,jf),u}zV.exports=UOr});var FV=l((wle,PV)=>{"use strict";var MOr=ev(),GOr=RV(),$Or=BV(),Tf;MOr()?Tf=GOr:Tf=$Or;PV.exports=Tf});var CV=l((Sle,LV)=>{"use strict";function YOr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]===1&&(e+=1);return e}LV.exports=YOr});var MV=l((Ele,UV)=>{"use strict";var WOr=CV();UV.exports=WOr});var YV=l((Ale,$V)=>{"use strict";var JOr=gs(),XOr=mo(),KOr=Ku(),HOr=pe(),GV=Ye(),ZOr=_e(),QOr=cr();function rIr(r,e,a,t){var o,i,s;if(i=GV(r),s=GV(e),!JOr(i,s))throw new TypeError(QOr("invalid argument. Input array values cannot be safely cast to the output array data type. Data types: [%s, %s].",i,s));return o=HOr(e,a,t,!0),r=XOr(r,ZOr(o,!0)),KOr([r,o]),e}$V.exports=rIr});var Gs=l((_le,WV)=>{"use strict";var eIr=YV();WV.exports=eIr});var KV=l((jle,XV)=>{"use strict";var aIr=he(),tIr=Ra(),iIr=pe(),oIr=ca(),sIr=wi(),JV=cr();function nIr(r,e,a,t,o){var i,s,n;if(s=tIr(r),s===0)throw new TypeError(JV("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",s));if(n=oIr(e,s-1),n===-1)throw new RangeError(JV("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",s,e));return i=sIr(s),i[n]=a,iIr(r,aIr(i),t,o)}XV.exports=nIr});var Of=l((Tle,HV)=>{"use strict";var vIr=KV();HV.exports=vIr});var rz=l((Ole,QV)=>{"use strict";var uIr=he(),fIr=Pe(),lIr=Ra(),cIr=pe(),dIr=ca(),pIr=wi(),ZV=cr();function yIr(r,e,a,t,o){var i,s,n;if(s=lIr(r),s===0)throw new TypeError(ZV("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",s));if(n=dIr(e,s-1),n===-1)throw new RangeError(ZV("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",s,e));return i=pIr(s),i[n]=new fIr(a,null),cIr(r,uIr(i),t,o)}QV.exports=yIr});var If=l((Ile,ez)=>{"use strict";var mIr=rz();ez.exports=mIr});var iz=l((Nle,tz)=>{"use strict";var hIr=he(),gIr=Pe(),bIr=Ra(),xIr=pe(),qIr=ca(),wIr=wi(),az=cr();function SIr(r,e,a,t,o){var i,s,n;if(s=bIr(r),s===0)throw new TypeError(az("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",s));if(n=qIr(e,s-1),n===-1)throw new RangeError(az("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",s,e));return i=wIr(s),i[n]=new gIr(a),xIr(r,hIr(i),t,o)}tz.exports=SIr});var Nf=l((Dle,oz)=>{"use strict";var EIr=iz();oz.exports=EIr});var vz=l((kle,nz)=>{"use strict";var AIr=Ue().isPrimitive,_Ir=he(),sz=Pe(),jIr=_e(),TIr=pe();function OIr(r,e,a,t){var o,i,s,n;for(i=jIr(r),o=[],n=0;n<e.length;n++)s=e[n],AIr(s)&&s!==0?s===i[n]?(s-=1,o.push(new sz(s,s))):o.push(new sz(s,null)):o.push(null);return TIr(r,_Ir(o),a,t)}nz.exports=OIr});var Df=l((Rle,uz)=>{"use strict";var IIr=vz();uz.exports=IIr});var lz=l((Vle,fz)=>{"use strict";var NIr=Ue().isPrimitive,DIr=he(),kIr=Pe(),RIr=pe();function VIr(r,e,a,t){var o,i;for(o=[],i=0;i<e.length;i++)NIr(e[i])?o.push(new kIr(e[i])):o.push(null);return RIr(r,DIr(o),a,t)}fz.exports=VIr});var kf=l((zle,cz)=>{"use strict";var zIr=lz();cz.exports=zIr});var yz=l((Ble,pz)=>{"use strict";var BIr=ca(),PIr=Ra(),FIr=ya(),dz=cr();function LIr(r,e){var a,t;if(a=PIr(r),a===0)throw new TypeError(dz("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=BIr(e,a-1),t===-1)throw new RangeError(dz("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return FIr(r,!1)[t]}pz.exports=LIr});var Rf=l((Ple,mz)=>{"use strict";var CIr=yz();mz.exports=CIr});var gz=l((Fle,hz)=>{"use strict";var UIr=cr();function MIr(){var r,e,a,t,o,i,s,n,v,u,f,c;for(t=arguments[0],r=arguments[1],e=arguments[2],o=t.length,i=arguments[3+o],a=i.length,n=e,c=0;c<o;c++){if(v=t[c],f=arguments[c+3],s=i[c%a],s==="clamp")f<0?f=0:f>=v&&(f=v-1);else if(s==="wrap")f<0?(f+=v,f<0&&(f%=v,f!==0&&(f+=v))):f>=v&&(f-=v,f>=v&&(f%=v));else if(s==="normalize"&&f<0&&(f+=v),f<0||f>=v)throw new RangeError(UIr("invalid argument. Subscripts must not exceed array dimensions. Subscript: `%u`. Value: `%d`.",c,f));u=r[c],u<0&&e===0?n-=f*u:n+=f*u}return n}hz.exports=MIr});var Vf=l((Lle,bz)=>{"use strict";var GIr=gz();bz.exports=GIr});var wz=l((Cle,qz)=>{"use strict";function xz(r,e,a,t,o,i){var s,n,v,u,f;if(i>=e.length)return r.accessors[0](r.data,t);for(v=[],u=e[i],s=a[i],f=0;f<u;f++)n=xz(r,e,a,t,o,i+1),v.push(n),t+=s;return v}qz.exports=xz});var Ez=l((Ule,Sz)=>{"use strict";var $Ir=st(),YIr=wz();function WIr(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 YIr($Ir(r),e,a,t,o,0)}Sz.exports=WIr});var zf=l((Mle,Az)=>{"use strict";var JIr=Ez();Az.exports=JIr});var jz=l((Gle,_z)=>{"use strict";var XIr=Me(),KIr=Ye(),HIr=_e(),ZIr=ya(),QIr=oa(),r7r=nt();function e7r(r){var e,a,t,o;if(a=HIr(r,!0),o=a.length,o<2)throw new Error("invalid argument. Must provide an ndarray having two or more dimensions.");return t=ZIr(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(KIr(r),r7r(r),a,t,XIr(a,t),QIr(r))}_z.exports=e7r});var Oz=l(($le,Tz)=>{"use strict";var a7r=jz();Tz.exports=a7r});var Nz=l((Yle,Iz)=>{"use strict";var t7r=Rr(),i7r=kr();function o7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T;for(T=t7r(r.shape,r.strides,e.strides),d=T.sh,g=T.sx,x=T.sy,t=i7r(r.dtype,e.dtype),S=r.offset,w=e.offset,o=r.data,i=e.data,v=g[0],f=x[0],s=r.accessors[0],n=e.accessors[1],j=d[1];j>0;)for(j<t?(h=j,j=0):(h=t,j-=t),p=S+j*g[1],m=w+j*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],u=g[1]-y*g[0],c=x[1]-y*x[0],E=0;E<h;E++){for(b=0;b<y;b++)n(i,_,a(s(o,A))),A+=v,_+=f;A+=u,_+=c}}Iz.exports=o7r});var kz=l((Wle,Dz)=>{"use strict";var s7r=Rr(),n7r=kr();function v7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z;for(z=s7r(r.shape,r.strides,e.strides),x=z.sh,_=z.sx,b=z.sy,t=n7r(r.dtype,e.dtype),E=r.offset,q=e.offset,o=r.data,i=e.data,v=_[0],c=b[0],s=r.accessors[0],n=e.accessors[1],V=x[2];V>0;)for(V<t?(A=V,V=0):(A=t,V-=t),y=E+V*_[2],g=q+V*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),j=d+k*_[0],T=h+k*b[0],u=_[1]-S*_[0],p=b[1]-S*b[0],D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++)n(i,T,a(s(o,j))),j+=v,T+=c;j+=u,T+=p}j+=f,T+=m}}Dz.exports=v7r});var Vz=l((Jle,Rz)=>{"use strict";var u7r=Rr(),f7r=kr();function l7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U;for(U=u7r(r.shape,r.strides,e.strides),_=U.sh,T=U.sx,I=U.sy,t=f7r(r.dtype,e.dtype),O=r.offset,D=e.offset,o=r.data,i=e.data,v=T[0],p=I[0],s=r.accessors[0],n=e.accessors[1],C=_[3];C>0;)for(C<t?(j=C,C=0):(j=t,C-=t),x=O+C*T[3],A=D+C*I[3],L=_[2];L>0;)for(L<t?(q=L,L=0):(q=t,L-=t),c=T[3]-q*T[2],y=I[3]-q*I[2],g=x+L*T[2],w=A+L*I[2],F=_[1];F>0;)for(F<t?(E=F,F=0):(E=t,F-=t),f=T[2]-E*T[1],d=I[2]-E*I[1],h=g+F*T[1],S=w+F*I[1],P=_[0];P>0;)for(P<t?(b=P,P=0):(b=t,P-=t),k=h+P*T[0],N=S+P*I[0],u=T[1]-b*T[0],m=I[1]-b*I[0],B=0;B<j;B++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++)n(i,N,a(s(o,k))),k+=v,N+=p;k+=u,N+=m}k+=f,N+=d}k+=c,N+=y}}Rz.exports=l7r});var Bz=l((Xle,zz)=>{"use strict";var c7r=Rr(),d7r=kr();function p7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X;for(X=c7r(r.shape,r.strides,e.strides),j=X.sh,N=X.sx,V=X.sy,t=d7r(r.dtype,e.dtype),z=r.offset,R=e.offset,o=r.data,i=e.data,v=N[0],m=V[0],s=r.accessors[0],n=e.accessors[1],J=j[4];J>0;)for(J<t?(k=J,J=0):(k=t,J-=t),A=z+J*N[4],q=R+J*V[4],W=j[3];W>0;)for(W<t?(D=W,W=0):(D=t,W-=t),p=N[4]-D*N[3],g=V[4]-D*V[3],w=A+W*N[3],E=q+W*V[3],$=j[2];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),c=N[3]-O*N[2],h=V[3]-O*V[2],S=w+$*N[2],b=E+$*V[2],Y=j[1];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),f=N[2]-I*N[1],y=V[2]-I*V[1],x=S+Y*N[1],_=b+Y*V[1],G=j[0];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),B=x+G*N[0],P=_+G*V[0],u=N[1]-T*N[0],d=V[1]-T*V[0],M=0;M<k;M++){for(U=0;U<D;U++){for(C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++)n(i,P,a(s(o,B))),B+=v,P+=m;B+=u,P+=d}B+=f,P+=y}B+=c,P+=h}B+=p,P+=g}}zz.exports=p7r});var Fz=l((Kle,Pz)=>{"use strict";var y7r=Rr(),m7r=kr();function h7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er;for(er=y7r(r.shape,r.strides,e.strides),D=er.sh,P=er.sx,F=er.sy,t=m7r(r.dtype,e.dtype),L=r.offset,C=e.offset,o=r.data,i=e.data,v=P[0],d=F[0],s=r.accessors[0],n=e.accessors[1],ar=D[5];ar>0;)for(ar<t?(B=ar,ar=0):(B=t,ar-=t),E=L+ar*P[5],O=C+ar*F[5],rr=D[4];rr>0;)for(rr<t?(R=rr,rr=0):(R=t,rr-=t),m=P[5]-R*P[4],S=F[5]-R*F[4],b=E+rr*P[4],I=O+rr*F[4],Z=D[3];Z>0;)for(Z<t?(z=Z,Z=0):(z=t,Z-=t),p=P[4]-z*P[3],x=F[4]-z*F[3],_=b+Z*P[3],T=I+Z*F[3],Q=D[2];Q>0;)for(Q<t?(V=Q,Q=0):(V=t,Q-=t),c=P[3]-V*P[2],g=F[3]-V*F[2],A=_+Q*P[2],j=T+Q*F[2],H=D[1];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=P[2]-N*P[1],h=F[2]-N*F[1],w=A+H*P[1],q=j+H*F[1],K=D[0];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),U=w+K*P[0],M=q+K*F[0],u=P[1]-k*P[0],y=F[1]-k*F[0],X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++)n(i,M,a(s(o,U))),U+=v,M+=d;U+=u,M+=y}U+=f,M+=h}U+=c,M+=g}U+=p,M+=x}U+=m,M+=S}}Pz.exports=h7r});var Cz=l((Hle,Lz)=>{"use strict";var g7r=Rr(),b7r=kr();function x7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur;for(ur=g7r(r.shape,r.strides,e.strides),z=ur.sh,M=ur.sx,G=ur.sy,t=b7r(r.dtype,e.dtype),Y=r.offset,$=e.offset,o=r.data,i=e.data,v=M[0],y=G[0],s=r.accessors[0],n=e.accessors[1],vr=z[6];vr>0;)for(vr<t?(U=vr,vr=0):(U=t,vr-=t),T=Y+vr*M[6],V=$+vr*G[6],nr=z[5];nr>0;)for(nr<t?(C=nr,nr=0):(C=t,nr-=t),d=M[6]-C*M[5],A=G[6]-C*G[5],j=T+nr*M[5],N=V+nr*G[5],sr=z[4];sr>0;)for(sr<t?(L=sr,sr=0):(L=t,sr-=t),m=M[5]-L*M[4],w=G[5]-L*G[4],q=j+sr*M[4],k=N+sr*G[4],or=z[3];or>0;)for(or<t?(F=or,or=0):(F=t,or-=t),p=M[4]-F*M[3],S=G[4]-F*G[3],E=q+or*M[3],D=k+or*G[3],tr=z[2];tr>0;)for(tr<t?(P=tr,tr=0):(P=t,tr-=t),c=M[3]-P*M[2],x=G[3]-P*G[2],b=E+tr*M[2],O=D+tr*G[2],ir=z[1];ir>0;)for(ir<t?(B=ir,ir=0):(B=t,ir-=t),f=M[2]-B*M[1],g=G[2]-B*G[1],_=b+ir*M[1],I=O+ir*G[1],er=z[0];er>0;)for(er<t?(R=er,er=0):(R=t,er-=t),W=_+er*M[0],J=I+er*G[0],u=M[1]-R*M[0],h=G[1]-R*G[0],ar=0;ar<U;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++){for(K=0;K<B;K++){for(X=0;X<R;X++)n(i,J,a(s(o,W))),W+=v,J+=y;W+=u,J+=h}W+=f,J+=g}W+=c,J+=x}W+=p,J+=S}W+=m,J+=w}W+=d,J+=A}}Lz.exports=x7r});var Mz=l((Zle,Uz)=>{"use strict";var q7r=Rr(),w7r=kr();function S7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr;for(gr=q7r(r.shape,r.strides,e.strides),F=gr.sh,J=gr.sx,X=gr.sy,t=w7r(r.dtype,e.dtype),K=r.offset,H=e.offset,o=r.data,i=e.data,v=J[0],h=X[0],s=r.accessors[0],n=e.accessors[1],mr=F[7];mr>0;)for(mr<t?(W=mr,mr=0):(W=t,mr-=t),D=K+mr*J[7],P=H+mr*X[7],yr=F[6];yr>0;)for(yr<t?($=yr,yr=0):($=t,yr-=t),y=J[7]-$*J[6],b=X[7]-$*X[6],O=D+yr*J[6],B=P+yr*X[6],dr=F[5];dr>0;)for(dr<t?(Y=dr,dr=0):(Y=t,dr-=t),d=J[6]-Y*J[5],_=X[6]-Y*X[5],I=O+dr*J[5],R=B+dr*X[5],pr=F[4];pr>0;)for(pr<t?(G=pr,pr=0):(G=t,pr-=t),m=J[5]-G*J[4],A=X[5]-G*X[4],T=I+pr*J[4],z=R+pr*X[4],fr=F[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],j=T+fr*J[3],V=z+fr*X[3],lr=F[2];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),c=J[3]-U*J[2],S=X[3]-U*X[2],q=j+lr*J[2],N=V+lr*X[2],ur=F[1];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),f=J[2]-C*J[1],x=X[2]-C*X[1],E=q+ur*J[1],k=N+ur*X[1],vr=F[0];vr>0;)for(vr<t?(L=vr,vr=0):(L=t,vr-=t),Q=E+vr*J[0],Z=k+vr*X[0],u=J[1]-L*J[0],g=X[1]-L*X[0],nr=0;nr<W;nr++){for(sr=0;sr<$;sr++){for(or=0;or<Y;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<C;ar++){for(rr=0;rr<L;rr++)n(i,Z,a(s(o,Q))),Q+=v,Z+=h;Q+=u,Z+=g}Q+=f,Z+=x}Q+=c,Z+=S}Q+=p,Z+=w}Q+=m,Z+=A}Q+=d,Z+=_}Q+=y,Z+=b}}Uz.exports=S7r});var $z=l((Qle,Gz)=>{"use strict";var E7r=Rr(),A7r=kr();function _7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r;for(_r=E7r(r.shape,r.strides,e.strides),M=_r.sh,Z=_r.sx,rr=_r.sy,t=A7r(r.dtype,e.dtype),ar=r.offset,er=e.offset,o=r.data,i=e.data,v=Z[0],g=rr[0],s=r.accessors[0],n=e.accessors[1],Ar=M[8];Ar>0;)for(Ar<t?(Q=Ar,Ar=0):(Q=t,Ar-=t),V=ar+Ar*Z[8],U=er+Ar*rr[8],Er=M[7];Er>0;)for(Er<t?(H=Er,Er=0):(H=t,Er-=t),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=V+Er*Z[7],C=U+Er*rr[7],hr=M[6];hr>0;)for(hr<t?(K=hr,hr=0):(K=t,hr-=t),y=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+hr*Z[6],L=C+hr*rr[6],xr=M[5];xr>0;)for(xr<t?(X=xr,xr=0):(X=t,xr-=t),d=Z[6]-X*Z[5],b=rr[6]-X*rr[5],D=k+xr*Z[5],F=L+xr*rr[5],br=M[4];br>0;)for(br<t?(J=br,br=0):(J=t,br-=t),m=Z[5]-J*Z[4],_=rr[5]-J*rr[4],O=D+br*Z[4],P=F+br*rr[4],qr=M[3];qr>0;)for(qr<t?(W=qr,qr=0):(W=t,qr-=t),p=Z[4]-W*Z[3],A=rr[4]-W*rr[3],I=O+qr*Z[3],B=P+qr*rr[3],gr=M[2];gr>0;)for(gr<t?($=gr,gr=0):($=t,gr-=t),c=Z[3]-$*Z[2],w=rr[3]-$*rr[2],T=I+gr*Z[2],R=B+gr*rr[2],mr=M[1];mr>0;)for(mr<t?(Y=mr,mr=0):(Y=t,mr-=t),f=Z[2]-Y*Z[1],S=rr[2]-Y*rr[1],j=T+mr*Z[1],z=R+mr*rr[1],yr=M[0];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),ir=j+yr*Z[0],tr=z+yr*rr[0],u=Z[1]-G*Z[0],x=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(pr=0;pr<H;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++){for(sr=0;sr<Y;sr++){for(or=0;or<G;or++)n(i,tr,a(s(o,ir))),ir+=v,tr+=g;ir+=u,tr+=x}ir+=f,tr+=S}ir+=c,tr+=w}ir+=p,tr+=A}ir+=m,tr+=_}ir+=d,tr+=b}ir+=y,tr+=E}ir+=h,tr+=q}}Gz.exports=_7r});var Wz=l((rce,Yz)=>{"use strict";var j7r=Rr(),T7r=kr();function O7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr,Kr,te,Ie;for(Ie=j7r(r.shape,r.strides,e.strides),W=Ie.sh,tr=Ie.sx,or=Ie.sy,t=T7r(r.dtype,e.dtype),sr=r.offset,nr=e.offset,o=r.data,i=e.data,v=tr[0],x=or[0],s=r.accessors[0],n=e.accessors[1],te=W[9];te>0;)for(te<t?(ir=te,te=0):(ir=t,te-=t),B=sr+te*tr[9],$=nr+te*or[9],Kr=W[8];Kr>0;)for(Kr<t?(er=Kr,Kr=0):(er=t,Kr-=t),g=tr[9]-er*tr[8],T=or[9]-er*or[8],R=B+Kr*tr[8],Y=$+Kr*or[8],Vr=W[7];Vr>0;)for(Vr<t?(ar=Vr,Vr=0):(ar=t,Vr-=t),h=tr[8]-ar*tr[7],j=or[8]-ar*or[7],z=R+Vr*tr[7],G=Y+Vr*or[7],Dr=W[6];Dr>0;)for(Dr<t?(rr=Dr,Dr=0):(rr=t,Dr-=t),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],V=z+Dr*tr[6],M=G+Dr*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=V+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],C=U+jr*or[4],_r=W[3];_r>0;)for(_r<t?(H=_r,_r=0):(H=t,_r-=t),p=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+_r*tr[3],L=C+_r*or[3],Ar=W[2];Ar>0;)for(Ar<t?(K=Ar,Ar=0):(K=t,Ar-=t),c=tr[3]-K*tr[2],A=or[3]-K*or[2],O=D+Ar*tr[2],F=L+Ar*or[2],Er=W[1];Er>0;)for(Er<t?(X=Er,Er=0):(X=t,Er-=t),f=tr[2]-X*tr[1],w=or[2]-X*or[1],I=O+Er*tr[1],P=F+Er*or[1],hr=W[0];hr>0;)for(hr<t?(J=hr,hr=0):(J=t,hr-=t),vr=I+hr*tr[0],ur=P+hr*or[0],u=tr[1]-J*tr[0],S=or[1]-J*or[0],xr=0;xr<ir;xr++){for(br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)n(i,ur,a(s(o,vr))),vr+=v,ur+=x;vr+=u,ur+=S}vr+=f,ur+=w}vr+=c,ur+=A}vr+=p,ur+=_}vr+=m,ur+=b}vr+=d,ur+=E}vr+=y,ur+=q}vr+=h,ur+=j}vr+=g,ur+=T}}Yz.exports=O7r});var Xz=l((ece,Jz)=>{"use strict";var I7r=Rr(),N7r=kr();function D7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q;for(q=I7r(r.shape,r.strides,e.strides),p=q.sh,y=q.sx,h=q.sy,t=N7r(r.dtype,e.dtype),g=r.offset,x=e.offset,o=r.data,i=e.data,s=y[0],v=h[0],E=p[1];E>0;)for(E<t?(d=E,E=0):(d=t,E-=t),f=g+E*y[1],c=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=c+b*h[0],n=y[1]-m*y[0],u=h[1]-m*h[0],_=0;_<d;_++){for(A=0;A<m;A++)i[w]=a(o[S]),S+=s,w+=v;S+=n,w+=u}}Jz.exports=D7r});var Hz=l((ace,Kz)=>{"use strict";var k7r=Rr(),R7r=kr();function V7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N;for(N=k7r(r.shape,r.strides,e.strides),h=N.sh,w=N.sx,A=N.sy,t=R7r(r.dtype,e.dtype),_=r.offset,b=e.offset,o=r.data,i=e.data,s=w[0],u=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),v=w[2]-x*w[1],c=A[2]-x*A[1],p=m+D*w[1],d=y+D*A[1],O=h[0];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),E=p+O*w[0],q=d+O*A[0],n=w[1]-g*w[0],f=A[1]-g*A[0],I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++)i[q]=a(o[E]),E+=s,q+=u;E+=n,q+=f}E+=v,q+=c}}Kz.exports=V7r});var Qz=l((tce,Zz)=>{"use strict";var z7r=Rr(),B7r=kr();function P7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L;for(L=z7r(r.shape,r.strides,e.strides),w=L.sh,q=L.sx,j=L.sy,t=B7r(r.dtype,e.dtype),T=r.offset,I=e.offset,o=r.data,i=e.data,s=q[0],f=j[0],F=w[3];F>0;)for(F<t?(E=F,F=0):(E=t,F-=t),h=T+F*q[3],S=I+F*j[3],P=w[2];P>0;)for(P<t?(b=P,P=0):(b=t,P-=t),u=q[3]-b*q[2],m=j[3]-b*j[2],y=h+P*q[2],x=S+P*j[2],B=w[1];B>0;)for(B<t?(_=B,B=0):(_=t,B-=t),v=q[2]-_*q[1],p=j[2]-_*j[1],d=y+B*q[1],g=x+B*j[1],R=w[0];R>0;)for(R<t?(A=R,R=0):(A=t,R-=t),O=d+R*q[0],D=g+R*j[0],n=q[1]-A*q[0],c=j[1]-A*j[0],z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++)i[D]=a(o[O]),O+=s,D+=f;O+=n,D+=c}O+=v,D+=p}O+=u,D+=m}}Zz.exports=P7r});var eB=l((ice,rB)=>{"use strict";var F7r=Rr(),L7r=kr();function C7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W;for(W=F7r(r.shape,r.strides,e.strides),E=W.sh,D=W.sx,k=W.sy,t=L7r(r.dtype,e.dtype),N=r.offset,V=e.offset,o=r.data,i=e.data,s=D[0],c=k[0],$=E[4];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),S=N+$*D[4],b=V+$*k[4],Y=E[3];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),f=D[4]-I*D[3],y=k[4]-I*k[3],x=S+Y*D[3],_=b+Y*k[3],G=E[2];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),u=D[3]-T*D[2],d=k[3]-T*k[2],g=x+G*D[2],A=_+G*k[2],M=E[1];M>0;)for(M<t?(j=M,M=0):(j=t,M-=t),v=D[2]-j*D[1],m=k[2]-j*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),z=h+U*D[0],R=w+U*k[0],n=D[1]-q*D[0],p=k[1]-q*k[0],C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++)i[R]=a(o[z]),z+=s,R+=c;z+=n,R+=p}z+=v,R+=m}z+=u,R+=d}z+=f,R+=y}}rB.exports=C7r});var tB=l((oce,aB)=>{"use strict";var U7r=Rr(),M7r=kr();function G7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr;for(rr=U7r(r.shape,r.strides,e.strides),I=rr.sh,R=rr.sx,B=rr.sy,t=M7r(r.dtype,e.dtype),P=r.offset,F=e.offset,o=r.data,i=e.data,s=R[0],p=B[0],Z=I[5];Z>0;)for(Z<t?(z=Z,Z=0):(z=t,Z-=t),_=P+Z*R[5],T=F+Z*B[5],Q=I[4];Q>0;)for(Q<t?(V=Q,Q=0):(V=t,Q-=t),c=R[5]-V*R[4],g=B[5]-V*B[4],A=_+Q*R[4],j=T+Q*B[4],H=I[3];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=R[4]-N*R[3],h=B[4]-N*B[3],w=A+H*R[3],q=j+H*B[3],K=I[2];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),u=R[3]-k*R[2],y=B[3]-k*B[2],S=w+K*R[2],E=q+K*B[2],X=I[1];X>0;)for(X<t?(D=X,X=0):(D=t,X-=t),v=R[2]-D*R[1],d=B[2]-D*B[1],x=S+X*R[1],b=E+X*B[1],J=I[0];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),L=x+J*R[0],C=b+J*B[0],n=R[1]-O*R[0],m=B[1]-O*B[0],W=0;W<z;W++){for($=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++)i[C]=a(o[L]),L+=s,C+=p;L+=n,C+=m}L+=v,C+=d}L+=u,C+=y}L+=f,C+=h}L+=c,C+=g}}aB.exports=G7r});var oB=l((sce,iB)=>{"use strict";var $7r=Rr(),Y7r=kr();function W7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr;for(nr=$7r(r.shape,r.strides,e.strides),N=nr.sh,C=nr.sx,U=nr.sy,t=Y7r(r.dtype,e.dtype),M=r.offset,G=e.offset,o=r.data,i=e.data,s=C[0],m=U[0],sr=N[6];sr>0;)for(sr<t?(L=sr,sr=0):(L=t,sr-=t),q=M+sr*C[6],k=G+sr*U[6],or=N[5];or>0;)for(or<t?(F=or,or=0):(F=t,or-=t),p=C[6]-F*C[5],S=U[6]-F*U[5],E=q+or*C[5],D=k+or*U[5],tr=N[4];tr>0;)for(tr<t?(P=tr,tr=0):(P=t,tr-=t),c=C[5]-P*C[4],x=U[5]-P*U[4],b=E+tr*C[4],O=D+tr*U[4],ir=N[3];ir>0;)for(ir<t?(B=ir,ir=0):(B=t,ir-=t),f=C[4]-B*C[3],g=U[4]-B*U[3],_=b+ir*C[3],I=O+ir*U[3],er=N[2];er>0;)for(er<t?(R=er,er=0):(R=t,er-=t),u=C[3]-R*C[2],h=U[3]-R*U[2],A=_+er*C[2],T=I+er*U[2],ar=N[1];ar>0;)for(ar<t?(z=ar,ar=0):(z=t,ar-=t),v=C[2]-z*C[1],y=U[2]-z*U[1],w=A+ar*C[1],j=T+ar*U[1],rr=N[0];rr>0;)for(rr<t?(V=rr,rr=0):(V=t,rr-=t),Y=w+rr*C[0],$=j+rr*U[0],n=C[1]-V*C[0],d=U[1]-V*U[0],Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<z;J++){for(W=0;W<V;W++)i[$]=a(o[Y]),Y+=s,$+=m;Y+=n,$+=d}Y+=v,$+=y}Y+=u,$+=h}Y+=f,$+=g}Y+=c,$+=x}Y+=p,$+=S}}iB.exports=W7r});var nB=l((nce,sB)=>{"use strict";var J7r=Rr(),X7r=kr();function K7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr;for(yr=J7r(r.shape,r.strides,e.strides),B=yr.sh,$=yr.sx,W=yr.sy,t=X7r(r.dtype,e.dtype),J=r.offset,X=e.offset,o=r.data,i=e.data,s=$[0],d=W[0],dr=B[7];dr>0;)for(dr<t?(Y=dr,dr=0):(Y=t,dr-=t),I=J+dr*$[7],R=X+dr*W[7],pr=B[6];pr>0;)for(pr<t?(G=pr,pr=0):(G=t,pr-=t),m=$[7]-G*$[6],A=W[7]-G*W[6],T=I+pr*$[6],z=R+pr*W[6],fr=B[5];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),p=$[6]-M*$[5],w=W[6]-M*W[5],j=T+fr*$[5],V=z+fr*W[5],lr=B[4];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),c=$[5]-U*$[4],S=W[5]-U*W[4],q=j+lr*$[4],N=V+lr*W[4],ur=B[3];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),f=$[4]-C*$[3],x=W[4]-C*W[3],E=q+ur*$[3],k=N+ur*W[3],vr=B[2];vr>0;)for(vr<t?(L=vr,vr=0):(L=t,vr-=t),u=$[3]-L*$[2],g=W[3]-L*W[2],b=E+vr*$[2],D=k+vr*W[2],nr=B[1];nr>0;)for(nr<t?(F=nr,nr=0):(F=t,nr-=t),v=$[2]-F*$[1],h=W[2]-F*W[1],_=b+nr*$[1],O=D+nr*W[1],sr=B[0];sr>0;)for(sr<t?(P=sr,sr=0):(P=t,sr-=t),K=_+sr*$[0],H=O+sr*W[0],n=$[1]-P*$[0],y=W[1]-P*W[0],or=0;or<Y;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<C;ar++){for(rr=0;rr<L;rr++){for(Z=0;Z<F;Z++){for(Q=0;Q<P;Q++)i[H]=a(o[K]),K+=s,H+=d;K+=n,H+=y}K+=v,H+=h}K+=u,H+=g}K+=f,H+=x}K+=c,H+=S}K+=p,H+=w}K+=m,H+=A}}sB.exports=K7r});var uB=l((vce,vB)=>{"use strict";var H7r=Rr(),Z7r=kr();function Q7r(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er;for(Er=H7r(r.shape,r.strides,e.strides),C=Er.sh,H=Er.sx,Q=Er.sy,t=Z7r(r.dtype,e.dtype),Z=r.offset,rr=e.offset,o=r.data,i=e.data,s=H[0],y=Q[0],hr=C[8];hr>0;)for(hr<t?(K=hr,hr=0):(K=t,hr-=t),k=Z+hr*H[8],L=rr+hr*Q[8],xr=C[7];xr>0;)for(xr<t?(X=xr,xr=0):(X=t,xr-=t),d=H[8]-X*H[7],b=Q[8]-X*Q[7],D=k+xr*H[7],F=L+xr*Q[7],br=C[6];br>0;)for(br<t?(J=br,br=0):(J=t,br-=t),m=H[7]-J*H[6],_=Q[7]-J*Q[6],O=D+br*H[6],P=F+br*Q[6],qr=C[5];qr>0;)for(qr<t?(W=qr,qr=0):(W=t,qr-=t),p=H[6]-W*H[5],A=Q[6]-W*Q[5],I=O+qr*H[5],B=P+qr*Q[5],gr=C[4];gr>0;)for(gr<t?($=gr,gr=0):($=t,gr-=t),c=H[5]-$*H[4],w=Q[5]-$*Q[4],T=I+gr*H[4],R=B+gr*Q[4],mr=C[3];mr>0;)for(mr<t?(Y=mr,mr=0):(Y=t,mr-=t),f=H[4]-Y*H[3],S=Q[4]-Y*Q[3],j=T+mr*H[3],z=R+mr*Q[3],yr=C[2];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),u=H[3]-G*H[2],x=Q[3]-G*Q[2],q=j+yr*H[2],V=z+yr*Q[2],dr=C[1];dr>0;)for(dr<t?(M=dr,dr=0):(M=t,dr-=t),v=H[2]-M*H[1],g=Q[2]-M*Q[1],E=q+dr*H[1],N=V+dr*Q[1],pr=C[0];pr>0;)for(pr<t?(U=pr,pr=0):(U=t,pr-=t),ar=E+pr*H[0],er=N+pr*Q[0],n=H[1]-U*H[0],h=Q[1]-U*Q[0],fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++){for(sr=0;sr<Y;sr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<U;ir++)i[er]=a(o[ar]),ar+=s,er+=y;ar+=n,er+=h}ar+=v,er+=g}ar+=u,er+=x}ar+=f,er+=S}ar+=c,er+=w}ar+=p,er+=A}ar+=m,er+=_}ar+=d,er+=b}}vB.exports=Q7r});var lB=l((uce,fB)=>{"use strict";var rNr=Rr(),eNr=kr();function aNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr,Kr;for(Kr=rNr(r.shape,r.strides,e.strides),Y=Kr.sh,er=Kr.sx,ir=Kr.sy,t=eNr(r.dtype,e.dtype),tr=r.offset,or=e.offset,o=r.data,i=e.data,s=er[0],h=ir[0],Vr=Y[9];Vr>0;)for(Vr<t?(ar=Vr,Vr=0):(ar=t,Vr-=t),z=tr+Vr*er[9],G=or+Vr*ir[9],Dr=Y[8];Dr>0;)for(Dr<t?(rr=Dr,Dr=0):(rr=t,Dr-=t),y=er[9]-rr*er[8],q=ir[9]-rr*ir[8],V=z+Dr*er[8],M=G+Dr*ir[8],Or=Y[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=V+Or*er[7],U=M+Or*ir[7],jr=Y[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],C=U+jr*ir[6],_r=Y[5];_r>0;)for(_r<t?(H=_r,_r=0):(H=t,_r-=t),p=er[6]-H*er[5],_=ir[6]-H*ir[5],D=k+_r*er[5],L=C+_r*ir[5],Ar=Y[4];Ar>0;)for(Ar<t?(K=Ar,Ar=0):(K=t,Ar-=t),c=er[5]-K*er[4],A=ir[5]-K*ir[4],O=D+Ar*er[4],F=L+Ar*ir[4],Er=Y[3];Er>0;)for(Er<t?(X=Er,Er=0):(X=t,Er-=t),f=er[4]-X*er[3],w=ir[4]-X*ir[3],I=O+Er*er[3],P=F+Er*ir[3],hr=Y[2];hr>0;)for(hr<t?(J=hr,hr=0):(J=t,hr-=t),u=er[3]-J*er[2],S=ir[3]-J*ir[2],T=I+hr*er[2],B=P+hr*ir[2],xr=Y[1];xr>0;)for(xr<t?(W=xr,xr=0):(W=t,xr-=t),v=er[2]-W*er[1],x=ir[2]-W*ir[1],j=T+xr*er[1],R=B+xr*ir[1],br=Y[0];br>0;)for(br<t?($=br,br=0):($=t,br-=t),sr=j+br*er[0],nr=R+br*ir[0],n=er[1]-$*er[0],g=ir[1]-$*ir[0],qr=0;qr<ar;qr++){for(gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(ur=0;ur<W;ur++){for(vr=0;vr<$;vr++)i[nr]=a(o[sr]),sr+=s,nr+=h;sr+=n,nr+=g}sr+=v,nr+=x}sr+=u,nr+=S}sr+=f,nr+=w}sr+=c,nr+=A}sr+=p,nr+=_}sr+=m,nr+=b}sr+=d,nr+=E}sr+=y,nr+=q}}fB.exports=aNr});var dB=l((fce,cB)=>{"use strict";function tNr(r,e,a){e.accessors[1](e.data,e.offset,a(r.accessors[0](r.data,r.offset)))}cB.exports=tNr});var yB=l((lce,pB)=>{"use strict";function iNr(r,e,a){var t,o,i,s,n,v,u,f,c,p;for(u=r.shape[0],n=r.strides[0],v=e.strides[0],f=r.offset,c=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],p=0;p<u;p++)s(o,c,a(i(t,f))),f+=n,c+=v}pB.exports=iNr});var hB=l((cce,mB)=>{"use strict";function oNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S;for(c=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(p=c[1],m=c[0],n=d[1],v=d[0]-p*d[1],u=y[1],f=y[0]-p*y[1]):(p=c[0],m=c[1],n=d[0],v=d[1]-p*d[0],u=y[0],f=y[1]-p*y[0]),h=r.offset,g=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],S=0;S<m;S++){for(x=0;x<p;x++)s(o,g,a(i(t,h))),h+=n,g+=u;h+=v,g+=f}}mB.exports=oNr});var bB=l((dce,gB)=>{"use strict";function sNr(r,e,a){var t,o,i,s,n,v,u,f,c,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],n=g[2],v=g[1]-d*g[2],u=g[0]-y*g[1],f=x[2],c=x[1]-d*x[2],p=x[0]-y*x[1]):(d=m[0],y=m[1],h=m[2],n=g[0],v=g[1]-d*g[0],u=g[2]-y*g[1],f=x[0],c=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],s=e.accessors[1],b=0;b<h;b++){for(_=0;_<y;_++){for(A=0;A<d;A++)s(o,w,a(i(t,S))),S+=n,w+=f;S+=v,w+=c}S+=u,w+=p}}gB.exports=sNr});var qB=l((pce,xB)=>{"use strict";function nNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T;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],n=w[3],v=w[2]-h*w[3],u=w[1]-g*w[2],f=w[0]-x*w[1],c=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],n=w[0],v=w[1]-h*w[0],u=w[2]-g*w[1],f=w[3]-x*w[2],c=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],s=e.accessors[1],T=0;T<S;T++){for(j=0;j<x;j++){for(q=0;q<g;q++){for(E=0;E<h;E++)s(o,b,a(i(t,_))),_+=n,b+=c;_+=v,b+=p}_+=u,b+=m}_+=f,b+=d}}xB.exports=nNr});var SB=l((yce,wB)=>{"use strict";function vNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],n=b[4],v=b[3]-x*b[4],u=b[2]-S*b[3],f=b[1]-w*b[2],c=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],n=b[0],v=b[1]-x*b[0],u=b[2]-S*b[1],f=b[3]-w*b[2],c=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,j=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++)s(o,j,a(i(t,q))),q+=n,j+=p;q+=v,j+=m}q+=u,j+=d}q+=f,j+=y}q+=c,j+=h}}wB.exports=vNr});var AB=l((mce,EB)=>{"use strict";function uNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R;for(S=r.shape,j=r.strides,T=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],b=S[2],E=S[1],q=S[0],n=j[5],v=j[4]-w*j[5],u=j[3]-A*j[4],f=j[2]-_*j[3],c=j[1]-b*j[2],p=j[0]-E*j[1],m=T[5],d=T[4]-w*T[5],y=T[3]-A*T[4],h=T[2]-_*T[3],g=T[1]-b*T[2],x=T[0]-E*T[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],n=j[0],v=j[1]-w*j[0],u=j[2]-A*j[1],f=j[3]-_*j[2],c=j[4]-b*j[3],p=j[5]-E*j[4],m=T[0],d=T[1]-w*T[0],y=T[2]-A*T[1],h=T[3]-_*T[2],g=T[4]-b*T[3],x=T[5]-E*T[4]),I=r.offset,O=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)s(o,O,a(i(t,I))),I+=n,O+=m;I+=v,O+=d}I+=u,O+=y}I+=f,O+=h}I+=c,O+=g}I+=p,O+=x}}EB.exports=uNr});var jB=l((hce,_B)=>{"use strict";function fNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L;for(A=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],b=A[5],E=A[4],q=A[3],j=A[2],T=A[1],I=A[0],n=O[6],v=O[5]-_*O[6],u=O[4]-b*O[5],f=O[3]-E*O[4],c=O[2]-q*O[3],p=O[1]-j*O[2],m=O[0]-T*O[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]-j*D[2],w=D[0]-T*D[1]):(_=A[0],b=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],n=O[0],v=O[1]-_*O[0],u=O[2]-b*O[1],f=O[3]-E*O[2],c=O[4]-q*O[3],p=O[5]-j*O[4],m=O[6]-T*O[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]-j*D[4],w=D[6]-T*D[5]),k=r.offset,N=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++)s(o,N,a(i(t,k))),k+=n,N+=d;k+=v,N+=y}k+=u,N+=h}k+=f,N+=g}k+=c,N+=x}k+=p,N+=S}k+=m,N+=w}}_B.exports=fNr});var OB=l((gce,TB)=>{"use strict";function lNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G;for(b=r.shape,N=r.strides,V=e.strides,r.order==="row-major"?(E=b[7],q=b[6],j=b[5],T=b[4],I=b[3],O=b[2],D=b[1],k=b[0],n=N[7],v=N[6]-E*N[7],u=N[5]-q*N[6],f=N[4]-j*N[5],c=N[3]-T*N[4],p=N[2]-I*N[3],m=N[1]-O*N[2],d=N[0]-D*N[1],y=V[7],h=V[6]-E*V[7],g=V[5]-q*V[6],x=V[4]-j*V[5],S=V[3]-T*V[4],w=V[2]-I*V[3],A=V[1]-O*V[2],_=V[0]-D*V[1]):(E=b[0],q=b[1],j=b[2],T=b[3],I=b[4],O=b[5],D=b[6],k=b[7],n=N[0],v=N[1]-E*N[0],u=N[2]-q*N[1],f=N[3]-j*N[2],c=N[4]-T*N[3],p=N[5]-I*N[4],m=N[6]-O*N[5],d=N[7]-D*N[6],y=V[0],h=V[1]-E*V[0],g=V[2]-q*V[1],x=V[3]-j*V[2],S=V[4]-T*V[3],w=V[5]-I*V[4],A=V[6]-O*V[5],_=V[7]-D*V[6]),z=r.offset,R=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++)s(o,R,a(i(t,z))),z+=n,R+=y;z+=v,R+=h}z+=u,R+=g}z+=f,R+=x}z+=c,R+=S}z+=p,R+=w}z+=m,R+=A}z+=d,R+=_}}TB.exports=lNr});var NB=l((bce,IB)=>{"use strict";function cNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J;for(q=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(j=q[8],T=q[7],I=q[6],O=q[5],D=q[4],k=q[3],N=q[2],V=q[1],z=q[0],n=R[8],v=R[7]-j*R[8],u=R[6]-T*R[7],f=R[5]-I*R[6],c=R[4]-O*R[5],p=R[3]-D*R[4],m=R[2]-k*R[3],d=R[1]-N*R[2],y=R[0]-V*R[1],h=B[8],g=B[7]-j*B[8],x=B[6]-T*B[7],S=B[5]-I*B[6],w=B[4]-O*B[5],A=B[3]-D*B[4],_=B[2]-k*B[3],b=B[1]-N*B[2],E=B[0]-V*B[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],V=q[7],z=q[8],n=R[0],v=R[1]-j*R[0],u=R[2]-T*R[1],f=R[3]-I*R[2],c=R[4]-O*R[3],p=R[5]-D*R[4],m=R[6]-k*R[5],d=R[7]-N*R[6],y=R[8]-V*R[7],h=B[0],g=B[1]-j*B[0],x=B[2]-T*B[1],S=B[3]-I*B[2],w=B[4]-O*B[3],A=B[5]-D*B[4],_=B[6]-k*B[5],b=B[7]-N*B[6],E=B[8]-V*B[7]),P=r.offset,F=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++)s(o,F,a(i(t,P))),P+=n,F+=h;P+=v,F+=g}P+=u,F+=x}P+=f,F+=S}P+=c,F+=w}P+=p,F+=A}P+=m,F+=_}P+=d,F+=b}P+=y,F+=E}}IB.exports=cNr});var kB=l((xce,DB)=>{"use strict";function dNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q;for(T=r.shape,F=r.strides,L=e.strides,r.order==="row-major"?(I=T[9],O=T[8],D=T[7],k=T[6],N=T[5],V=T[4],z=T[3],R=T[2],B=T[1],P=T[0],n=F[9],v=F[8]-I*F[9],u=F[7]-O*F[8],f=F[6]-D*F[7],c=F[5]-k*F[6],p=F[4]-N*F[5],m=F[3]-V*F[4],d=F[2]-z*F[3],y=F[1]-R*F[2],h=F[0]-B*F[1],g=L[9],x=L[8]-I*L[9],S=L[7]-O*L[8],w=L[6]-D*L[7],A=L[5]-k*L[6],_=L[4]-N*L[5],b=L[3]-V*L[4],E=L[2]-z*L[3],q=L[1]-R*L[2],j=L[0]-B*L[1]):(I=T[0],O=T[1],D=T[2],k=T[3],N=T[4],V=T[5],z=T[6],R=T[7],B=T[8],P=T[9],n=F[0],v=F[1]-I*F[0],u=F[2]-O*F[1],f=F[3]-D*F[2],c=F[4]-k*F[3],p=F[5]-N*F[4],m=F[6]-V*F[5],d=F[7]-z*F[6],y=F[8]-R*F[7],h=F[9]-B*F[8],g=L[0],x=L[1]-I*L[0],S=L[2]-O*L[1],w=L[3]-D*L[2],A=L[4]-k*L[3],_=L[5]-N*L[4],b=L[6]-V*L[5],E=L[7]-z*L[6],q=L[8]-R*L[7],j=L[9]-B*L[8]),C=r.offset,U=e.offset,t=r.data,o=e.data,i=r.accessors[0],s=e.accessors[1],Q=0;Q<P;Q++){for(H=0;H<B;H++){for(K=0;K<R;K++){for(X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++){for(G=0;G<O;G++){for(M=0;M<I;M++)s(o,U,a(i(t,C))),C+=n,U+=g;C+=v,U+=x}C+=u,U+=S}C+=f,U+=w}C+=c,U+=A}C+=p,U+=_}C+=m,U+=b}C+=d,U+=E}C+=y,U+=q}C+=h,U+=j}}DB.exports=dNr});var BB=l((qce,zB)=>{"use strict";var pNr=Wr(),RB=ia(),VB="throw";function yNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;for(f=r.shape,n=pNr(f),t=r.data,o=e.data,c=r.strides,p=e.strides,m=r.offset,d=e.offset,i=r.order,s=e.order,v=r.accessors[0],u=e.accessors[1],g=0;g<n;g++)y=RB(f,c,m,i,g,VB),h=RB(f,p,d,s,g,VB),u(o,h,a(v(t,y)))}zB.exports=yNr});var FB=l((wce,PB)=>{"use strict";function mNr(r,e,a){e.data[e.offset]=a(r.data[r.offset])}PB.exports=mNr});var CB=l((Sce,LB)=>{"use strict";function hNr(r,e,a){var t,o,i,s,n,v,u,f;for(n=r.shape[0],i=r.strides[0],s=e.strides[0],v=r.offset,u=e.offset,t=r.data,o=e.data,f=0;f<n;f++)o[u]=a(t[v]),v+=i,u+=s}LB.exports=hNr});var MB=l((Ece,UB)=>{"use strict";function gNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;for(u=r.shape,p=r.strides,m=e.strides,r.order==="row-major"?(f=u[1],c=u[0],i=p[1],s=p[0]-f*p[1],n=m[1],v=m[0]-f*m[1]):(f=u[0],c=u[1],i=p[0],s=p[1]-f*p[0],n=m[0],v=m[1]-f*m[0]),d=r.offset,y=e.offset,t=r.data,o=e.data,g=0;g<c;g++){for(h=0;h<f;h++)o[y]=a(t[d]),d+=i,y+=n;d+=s,y+=v}}UB.exports=gNr});var $B=l((Ace,GB)=>{"use strict";function bNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A;for(c=r.shape,y=r.strides,h=e.strides,r.order==="row-major"?(p=c[2],m=c[1],d=c[0],i=y[2],s=y[1]-p*y[2],n=y[0]-m*y[1],v=h[2],u=h[1]-p*h[2],f=h[0]-m*h[1]):(p=c[0],m=c[1],d=c[2],i=y[0],s=y[1]-p*y[0],n=y[2]-m*y[1],v=h[0],u=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+=v;g+=s,x+=u}g+=n,x+=f}}GB.exports=bNr});var WB=l((_ce,YB)=>{"use strict";function xNr(r,e,a){var t,o,i,s,n,v,u,f,c,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],s=x[2]-d*x[3],n=x[1]-y*x[2],v=x[0]-h*x[1],u=S[3],f=S[2]-d*S[3],c=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],s=x[1]-d*x[0],n=x[2]-y*x[1],v=x[3]-h*x[2],u=S[0],f=S[1]-d*S[0],c=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+=u;w+=s,A+=f}w+=n,A+=c}w+=v,A+=p}}YB.exports=xNr});var XB=l((jce,JB)=>{"use strict";function qNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;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],s=A[3]-h*A[4],n=A[2]-g*A[3],v=A[1]-x*A[2],u=A[0]-S*A[1],f=_[4],c=_[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],s=A[1]-h*A[0],n=A[2]-g*A[1],v=A[3]-x*A[2],u=A[4]-S*A[3],f=_[0],c=_[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,O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++){for(j=0;j<g;j++){for(q=0;q<h;q++)o[E]=a(t[b]),b+=i,E+=f;b+=s,E+=c}b+=n,E+=p}b+=v,E+=m}b+=u,E+=d}}JB.exports=qNr});var HB=l((Tce,KB)=>{"use strict";function wNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V;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],s=E[4]-x*E[5],n=E[3]-S*E[4],v=E[2]-w*E[3],u=E[1]-A*E[2],f=E[0]-_*E[1],c=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],s=E[1]-x*E[0],n=E[2]-S*E[1],v=E[3]-w*E[2],u=E[4]-A*E[3],f=E[5]-_*E[4],c=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]),j=r.offset,T=e.offset,t=r.data,o=e.data,V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(O=0;O<S;O++){for(I=0;I<x;I++)o[T]=a(t[j]),j+=i,T+=c;j+=s,T+=p}j+=n,T+=m}j+=v,T+=d}j+=u,T+=y}j+=f,T+=h}}KB.exports=wNr});var QB=l((Oce,ZB)=>{"use strict";function SNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P;for(S=r.shape,T=r.strides,I=e.strides,r.order==="row-major"?(w=S[6],A=S[5],_=S[4],b=S[3],E=S[2],q=S[1],j=S[0],i=T[6],s=T[5]-w*T[6],n=T[4]-A*T[5],v=T[3]-_*T[4],u=T[2]-b*T[3],f=T[1]-E*T[2],c=T[0]-q*T[1],p=I[6],m=I[5]-w*I[6],d=I[4]-A*I[5],y=I[3]-_*I[4],h=I[2]-b*I[3],g=I[1]-E*I[2],x=I[0]-q*I[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],j=S[6],i=T[0],s=T[1]-w*T[0],n=T[2]-A*T[1],v=T[3]-_*T[2],u=T[4]-b*T[3],f=T[5]-E*T[4],c=T[6]-q*T[5],p=I[0],m=I[1]-w*I[0],d=I[2]-A*I[1],y=I[3]-_*I[2],h=I[4]-b*I[3],g=I[5]-E*I[4],x=I[6]-q*I[5]),O=r.offset,D=e.offset,t=r.data,o=e.data,P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++){for(N=0;N<A;N++){for(k=0;k<w;k++)o[D]=a(t[O]),O+=i,D+=p;O+=s,D+=m}O+=n,D+=d}O+=v,D+=y}O+=u,D+=h}O+=f,D+=g}O+=c,D+=x}}ZB.exports=SNr});var eP=l((Ice,rP)=>{"use strict";function ENr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,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],j=A[3],T=A[2],I=A[1],O=A[0],i=D[7],s=D[6]-_*D[7],n=D[5]-b*D[6],v=D[4]-E*D[5],u=D[3]-q*D[4],f=D[2]-j*D[3],c=D[1]-T*D[2],p=D[0]-I*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]-j*k[3],S=k[1]-T*k[2],w=k[0]-I*k[1]):(_=A[0],b=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],O=A[7],i=D[0],s=D[1]-_*D[0],n=D[2]-b*D[1],v=D[3]-E*D[2],u=D[4]-q*D[3],f=D[5]-j*D[4],c=D[6]-T*D[5],p=D[7]-I*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]-j*k[4],S=k[6]-T*k[5],w=k[7]-I*k[6]),N=r.offset,V=e.offset,t=r.data,o=e.data,U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++){for(R=0;R<b;R++){for(z=0;z<_;z++)o[V]=a(t[N]),N+=i,V+=m;N+=s,V+=d}N+=n,V+=y}N+=v,V+=h}N+=u,V+=g}N+=f,V+=x}N+=c,V+=S}N+=p,V+=w}}rP.exports=ENr});var tP=l((Nce,aP)=>{"use strict";function ANr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$;for(b=r.shape,V=r.strides,z=e.strides,r.order==="row-major"?(E=b[8],q=b[7],j=b[6],T=b[5],I=b[4],O=b[3],D=b[2],k=b[1],N=b[0],i=V[8],s=V[7]-E*V[8],n=V[6]-q*V[7],v=V[5]-j*V[6],u=V[4]-T*V[5],f=V[3]-I*V[4],c=V[2]-O*V[3],p=V[1]-D*V[2],m=V[0]-k*V[1],d=z[8],y=z[7]-E*z[8],h=z[6]-q*z[7],g=z[5]-j*z[6],x=z[4]-T*z[5],S=z[3]-I*z[4],w=z[2]-O*z[3],A=z[1]-D*z[2],_=z[0]-k*z[1]):(E=b[0],q=b[1],j=b[2],T=b[3],I=b[4],O=b[5],D=b[6],k=b[7],N=b[8],i=V[0],s=V[1]-E*V[0],n=V[2]-q*V[1],v=V[3]-j*V[2],u=V[4]-T*V[3],f=V[5]-I*V[4],c=V[6]-O*V[5],p=V[7]-D*V[6],m=V[8]-k*V[7],d=z[0],y=z[1]-E*z[0],h=z[2]-q*z[1],g=z[3]-j*z[2],x=z[4]-T*z[3],S=z[5]-I*z[4],w=z[6]-O*z[5],A=z[7]-D*z[6],_=z[8]-k*z[7]),R=r.offset,B=e.offset,t=r.data,o=e.data,$=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++){for(F=0;F<q;F++){for(P=0;P<E;P++)o[B]=a(t[R]),R+=i,B+=d;R+=s,B+=y}R+=n,B+=h}R+=v,B+=g}R+=u,B+=x}R+=f,B+=S}R+=c,B+=w}R+=p,B+=A}R+=m,B+=_}}aP.exports=ANr});var oP=l((Dce,iP)=>{"use strict";function _Nr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K;for(q=r.shape,B=r.strides,P=e.strides,r.order==="row-major"?(j=q[9],T=q[8],I=q[7],O=q[6],D=q[5],k=q[4],N=q[3],V=q[2],z=q[1],R=q[0],i=B[9],s=B[8]-j*B[9],n=B[7]-T*B[8],v=B[6]-I*B[7],u=B[5]-O*B[6],f=B[4]-D*B[5],c=B[3]-k*B[4],p=B[2]-N*B[3],m=B[1]-V*B[2],d=B[0]-z*B[1],y=P[9],h=P[8]-j*P[9],g=P[7]-T*P[8],x=P[6]-I*P[7],S=P[5]-O*P[6],w=P[4]-D*P[5],A=P[3]-k*P[4],_=P[2]-N*P[3],b=P[1]-V*P[2],E=P[0]-z*P[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],V=q[7],z=q[8],R=q[9],i=B[0],s=B[1]-j*B[0],n=B[2]-T*B[1],v=B[3]-I*B[2],u=B[4]-O*B[3],f=B[5]-D*B[4],c=B[6]-k*B[5],p=B[7]-N*B[6],m=B[8]-V*B[7],d=B[9]-z*B[8],y=P[0],h=P[1]-j*P[0],g=P[2]-T*P[1],x=P[3]-I*P[2],S=P[4]-O*P[3],w=P[5]-D*P[4],A=P[6]-k*P[5],_=P[7]-N*P[6],b=P[8]-V*P[7],E=P[9]-z*P[8]),F=r.offset,L=e.offset,t=r.data,o=e.data,K=0;K<R;K++){for(X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++){for(G=0;G<O;G++){for(M=0;M<I;M++){for(U=0;U<T;U++){for(C=0;C<j;C++)o[L]=a(t[F]),F+=i,L+=y;F+=s,L+=h}F+=n,L+=g}F+=v,L+=x}F+=u,L+=S}F+=f,L+=w}F+=c,L+=A}F+=p,L+=_}F+=m,L+=b}F+=d,L+=E}}iP.exports=_Nr});var uP=l((kce,vP)=>{"use strict";var jNr=Wr(),sP=ia(),nP="throw";function TNr(r,e,a){var t,o,i,s,n,v,u,f,c,p,m,d,y;for(v=r.shape,n=jNr(v),t=r.data,o=e.data,u=r.strides,f=e.strides,c=r.offset,p=e.offset,i=r.order,s=e.order,y=0;y<n;y++)m=sP(v,u,c,i,y,nP),d=sP(v,f,p,s,y,nP),o[d]=a(t[m])}vP.exports=TNr});var yP=l((Rce,pP)=>{"use strict";var fP=ba(),lP=Ha(),cP=Yt(),ONr=Nz(),INr=kz(),NNr=Vz(),DNr=Bz(),kNr=Fz(),RNr=Cz(),VNr=Mz(),zNr=$z(),BNr=Wz(),PNr=Xz(),FNr=Hz(),LNr=Qz(),CNr=eB(),UNr=tB(),MNr=oB(),GNr=nB(),$Nr=uB(),YNr=lB(),WNr=dB(),JNr=yB(),XNr=hB(),KNr=bB(),HNr=qB(),ZNr=SB(),QNr=AB(),rDr=jB(),eDr=OB(),aDr=NB(),tDr=kB(),iDr=BB(),oDr=FB(),sDr=CB(),nDr=MB(),vDr=$B(),uDr=WB(),fDr=XB(),lDr=HB(),cDr=QB(),dDr=eP(),pDr=tP(),yDr=oP(),mDr=uP(),Ai=[oDr,sDr,nDr,vDr,uDr,fDr,lDr,cDr,dDr,pDr,yDr],wo=[WNr,JNr,XNr,KNr,HNr,ZNr,QNr,rDr,eDr,aDr,tDr],hDr=[PNr,FNr,LNr,CNr,UNr,MNr,GNr,$Nr,YNr],gDr=[ONr,INr,NNr,DNr,kNr,RNr,VNr,zNr,BNr],dP=Ai.length-1;function bDr(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x;if(y=cP(r[0]),h=cP(r[1]),i=y.shape,s=h.shape,a=i.length,a!==s.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+a+". ndims(y) == "+s.length+".");if(a===0)return y.accessorProtocol||h.accessorProtocol?wo[a](y,h,e):Ai[a](y,h,e);for(u=1,d=0,x=0;x<a;x++){if(g=i[x],g!==s[x])throw new Error("invalid arguments. Arrays must have the same shape.");u*=g,g===1&&(d+=1)}if(u!==0){if(a===1)return y.accessorProtocol||h.accessorProtocol?wo[a](y,h,e):Ai[a](y,h,e);if(f=y.strides,c=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=[c[x]],y.accessorProtocol||h.accessorProtocol?wo[1](y,h,e):Ai[1](y,h,e)}if(n=fP(f),v=fP(c),n!==0&&v!==0&&n===v){if(t=lP(i,f,y.offset),o=lP(s,c,h.offset),u===t[1]-t[0]+1&&u===o[1]-o[0]+1)return n===1?p=t[0]:p=t[1],v===1?m=o[0]:m=o[1],y.shape=[u],h.shape=y.shape,y.strides=[n],h.strides=[v],y.offset=p,h.offset=m,y.accessorProtocol||h.accessorProtocol?wo[1](y,h,e):Ai[1](y,h,e);if(a<=dP)return y.accessorProtocol||h.accessorProtocol?wo[a](y,h,e):Ai[a](y,h,e)}if(a<=dP)return y.accessorProtocol||h.accessorProtocol?gDr[a-2](y,h,e):hDr[a-2](y,h,e);if(y.accessorProtocol||h.accessorProtocol)return iDr(y,h,e);mDr(y,h,e)}}pP.exports=bDr});var hP=l((Vce,mP)=>{"use strict";var xDr=yP();mP.exports=xDr});var bP=l((zce,gP)=>{"use strict";var qDr=Rr(),wDr=kr();function SDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k;for(O=qDr(r.shape,r.strides,e.strides),h=O.sh,S=O.sx,w=O.sy,i=wDr(r.dtype,e.dtype),A=r.offset,_=e.offset,s=r.data,n=e.data,f=S[0],p=w[0],v=r.accessors[0],u=e.accessors[1],k=0,I=h[1];I>0;)for(I<i?(x=I,I=0):(x=i,I-=i),d=A+I*S[1],y=_+I*w[1],T=h[0];T>0;)for(T<i?(g=T,T=0):(g=i,T-=i),b=d+T*S[0],E=y+T*w[0],c=S[1]-g*S[0],m=w[1]-g*w[0],j=0;j<x;j++){for(q=0;q<g;q++)D=t.call(o,v(s,b),k,[b,E],[r,e]),D!==void 0&&u(n,E,a(D)),b+=f,E+=p,k+=1;b+=c,E+=m}}gP.exports=SDr});var qP=l((Bce,xP)=>{"use strict";var EDr=Rr(),ADr=kr();function _Dr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(B=EDr(r.shape,r.strides,e.strides),w=B.sh,E=B.sx,q=B.sy,i=ADr(r.dtype,e.dtype),j=r.offset,T=e.offset,s=r.data,n=e.data,f=E[0],m=q[0],v=r.accessors[0],u=e.accessors[1],F=0,R=w[2];R>0;)for(R<i?(b=R,R=0):(b=i,R-=i),g=j+R*E[2],S=T+R*q[2],z=w[1];z>0;)for(z<i?(_=z,z=0):(_=i,z-=i),p=E[2]-_*E[1],y=q[2]-_*q[1],h=g+z*E[1],x=S+z*q[1],V=w[0];V>0;)for(V<i?(A=V,V=0):(A=i,V-=i),I=h+V*E[0],O=x+V*q[0],c=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++)P=t.call(o,v(s,I),F,[I,O],[r,e]),P!==void 0&&u(n,O,a(P)),I+=f,O+=m,F+=1;I+=c,O+=d}I+=p,O+=y}}xP.exports=_Dr});var SP=l((Pce,wP)=>{"use strict";var jDr=Rr(),TDr=kr();function ODr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$;for(G=jDr(r.shape,r.strides,e.strides),E=G.sh,O=G.sx,D=G.sy,i=TDr(r.dtype,e.dtype),k=r.offset,N=e.offset,s=r.data,n=e.data,f=O[0],d=D[0],v=r.accessors[0],u=e.accessors[1],$=0,M=E[3];M>0;)for(M<i?(I=M,M=0):(I=i,M-=i),w=k+M*O[3],b=N+M*D[3],U=E[2];U>0;)for(U<i?(T=U,U=0):(T=i,U-=i),m=O[3]-T*O[2],g=D[3]-T*D[2],S=w+U*O[2],_=b+U*D[2],C=E[1];C>0;)for(C<i?(j=C,C=0):(j=i,C-=i),p=O[2]-j*O[1],h=D[2]-j*D[1],x=S+C*O[1],A=_+C*D[1],L=E[0];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),V=x+L*O[0],z=A+L*D[0],c=O[1]-q*O[0],y=D[1]-q*D[0],F=0;F<I;F++){for(P=0;P<T;P++){for(B=0;B<j;B++){for(R=0;R<q;R++)Y=t.call(o,v(s,V),$,[V,z],[r,e]),Y!==void 0&&u(n,z,a(Y)),V+=f,z+=d,$+=1;V+=c,z+=y}V+=p,z+=h}V+=m,z+=g}}wP.exports=ODr});var AP=l((Fce,EP)=>{"use strict";var IDr=Rr(),NDr=kr();function DDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z;for(H=IDr(r.shape,r.strides,e.strides),I=H.sh,z=H.sx,R=H.sy,i=NDr(r.dtype,e.dtype),B=r.offset,P=e.offset,s=r.data,n=e.data,f=z[0],y=R[0],v=r.accessors[0],u=e.accessors[1],Z=0,K=I[4];K>0;)for(K<i?(V=K,K=0):(V=i,K-=i),b=B+K*z[4],T=P+K*R[4],X=I[3];X>0;)for(X<i?(N=X,X=0):(N=i,X-=i),d=z[4]-N*z[3],S=R[4]-N*R[3],_=b+X*z[3],j=T+X*R[3],J=I[2];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),m=z[3]-k*z[2],x=R[3]-k*R[2],A=_+J*z[2],q=j+J*R[2],W=I[1];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),p=z[2]-D*z[1],g=R[2]-D*R[1],w=A+W*z[1],E=q+W*R[1],$=I[0];$>0;)for($<i?(O=$,$=0):(O=i,$-=i),F=w+$*z[0],L=E+$*R[0],c=z[1]-O*z[0],h=R[1]-O*R[0],Y=0;Y<V;Y++){for(G=0;G<N;G++){for(M=0;M<k;M++){for(U=0;U<D;U++){for(C=0;C<O;C++)Q=t.call(o,v(s,F),Z,[F,L],[r,e]),Q!==void 0&&u(n,L,a(Q)),F+=f,L+=y,Z+=1;F+=c,L+=h}F+=p,L+=g}F+=m,L+=x}F+=d,L+=S}}EP.exports=DDr});var jP=l((Lce,_P)=>{"use strict";var kDr=Rr(),RDr=kr();function VDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(tr=kDr(r.shape,r.strides,e.strides),N=tr.sh,L=tr.sx,C=tr.sy,i=RDr(r.dtype,e.dtype),U=r.offset,M=e.offset,s=r.data,n=e.data,f=L[0],h=C[0],v=r.accessors[0],u=e.accessors[1],sr=0,ir=N[5];ir>0;)for(ir<i?(F=ir,ir=0):(F=i,ir-=i),j=U+ir*L[5],k=M+ir*C[5],er=N[4];er>0;)for(er<i?(P=er,er=0):(P=i,er-=i),y=L[5]-P*L[4],A=C[5]-P*C[4],q=j+er*L[4],D=k+er*C[4],ar=N[3];ar>0;)for(ar<i?(B=ar,ar=0):(B=i,ar-=i),d=L[4]-B*L[3],w=C[4]-B*C[3],E=q+ar*L[3],O=D+ar*C[3],rr=N[2];rr>0;)for(rr<i?(R=rr,rr=0):(R=i,rr-=i),m=L[3]-R*L[2],S=C[3]-R*C[2],b=E+rr*L[2],I=O+rr*C[2],Z=N[1];Z>0;)for(Z<i?(z=Z,Z=0):(z=i,Z-=i),p=L[2]-z*L[1],x=C[2]-z*C[1],_=b+Z*L[1],T=I+Z*C[1],Q=N[0];Q>0;)for(Q<i?(V=Q,Q=0):(V=i,Q-=i),G=_+Q*L[0],Y=T+Q*C[0],c=L[1]-V*L[0],g=C[1]-V*C[0],H=0;H<F;H++){for(K=0;K<P;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<V;$++)or=t.call(o,v(s,G),sr,[G,Y],[r,e]),or!==void 0&&u(n,Y,a(or)),G+=f,Y+=h,sr+=1;G+=c,Y+=g}G+=p,Y+=x}G+=m,Y+=S}G+=d,Y+=w}G+=y,Y+=A}}_P.exports=VDr});var OP=l((Cce,TP)=>{"use strict";var zDr=Rr(),BDr=kr();function PDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr;for(fr=zDr(r.shape,r.strides,e.strides),B=fr.sh,Y=fr.sx,$=fr.sy,i=BDr(r.dtype,e.dtype),W=r.offset,J=e.offset,s=r.data,n=e.data,f=Y[0],g=$[0],v=r.accessors[0],u=e.accessors[1],dr=0,lr=B[6];lr>0;)for(lr<i?(G=lr,lr=0):(G=i,lr-=i),O=W+lr*Y[6],R=J+lr*$[6],ur=B[5];ur>0;)for(ur<i?(M=ur,ur=0):(M=i,ur-=i),h=Y[6]-M*Y[5],b=$[6]-M*$[5],I=O+ur*Y[5],z=R+ur*$[5],vr=B[4];vr>0;)for(vr<i?(U=vr,vr=0):(U=i,vr-=i),y=Y[5]-U*Y[4],_=$[5]-U*$[4],T=I+vr*Y[4],V=z+vr*$[4],nr=B[3];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),d=Y[4]-C*Y[3],A=$[4]-C*$[3],j=T+nr*Y[3],N=V+nr*$[3],sr=B[2];sr>0;)for(sr<i?(L=sr,sr=0):(L=i,sr-=i),m=Y[3]-L*Y[2],w=$[3]-L*$[2],q=j+sr*Y[2],k=N+sr*$[2],or=B[1];or>0;)for(or<i?(F=or,or=0):(F=i,or-=i),p=Y[2]-F*Y[1],S=$[2]-F*$[1],E=q+or*Y[1],D=k+or*$[1],tr=B[0];tr>0;)for(tr<i?(P=tr,tr=0):(P=i,tr-=i),X=E+tr*Y[0],K=D+tr*$[0],c=Y[1]-P*Y[0],x=$[1]-P*$[0],ir=0;ir<G;ir++){for(er=0;er<M;er++){for(ar=0;ar<U;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++)pr=t.call(o,v(s,X),dr,[X,K],[r,e]),pr!==void 0&&u(n,K,a(pr)),X+=f,K+=g,dr+=1;X+=c,K+=x}X+=p,K+=S}X+=m,K+=w}X+=d,K+=A}X+=y,K+=_}X+=h,K+=b}}TP.exports=PDr});var NP=l((Uce,IP)=>{"use strict";var FDr=Rr(),LDr=kr();function CDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr;for(br=FDr(r.shape,r.strides,e.strides),C=br.sh,K=br.sx,H=br.sy,i=LDr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,s=r.data,n=e.data,f=K[0],x=H[0],v=r.accessors[0],u=e.accessors[1],hr=0,qr=C[7];qr>0;)for(qr<i?(X=qr,qr=0):(X=i,qr-=i),N=Q+qr*K[7],L=Z+qr*H[7],gr=C[6];gr>0;)for(gr<i?(J=gr,gr=0):(J=i,gr-=i),g=K[7]-J*K[6],q=H[7]-J*H[6],k=N+gr*K[6],F=L+gr*H[6],mr=C[5];mr>0;)for(mr<i?(W=mr,mr=0):(W=i,mr-=i),h=K[6]-W*K[5],E=H[6]-W*H[5],D=k+mr*K[5],P=F+mr*H[5],yr=C[4];yr>0;)for(yr<i?($=yr,yr=0):($=i,yr-=i),y=K[5]-$*K[4],b=H[5]-$*H[4],O=D+yr*K[4],B=P+yr*H[4],dr=C[3];dr>0;)for(dr<i?(Y=dr,dr=0):(Y=i,dr-=i),d=K[4]-Y*K[3],_=H[4]-Y*H[3],I=O+dr*K[3],R=B+dr*H[3],pr=C[2];pr>0;)for(pr<i?(G=pr,pr=0):(G=i,pr-=i),m=K[3]-G*K[2],A=H[3]-G*H[2],T=I+pr*K[2],z=R+pr*H[2],fr=C[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],j=T+fr*K[1],V=z+fr*H[1],lr=C[0];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),rr=j+lr*K[0],ar=V+lr*H[0],c=K[1]-U*K[0],S=H[1]-U*H[0],ur=0;ur<X;ur++){for(vr=0;vr<J;vr++){for(nr=0;nr<W;nr++){for(sr=0;sr<$;sr++){for(or=0;or<Y;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++)xr=t.call(o,v(s,rr),hr,[rr,ar],[r,e]),xr!==void 0&&u(n,ar,a(xr)),rr+=f,ar+=x,hr+=1;rr+=c,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}}IP.exports=CDr});var kP=l((Mce,DP)=>{"use strict";var UDr=Rr(),MDr=kr();function GDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr;for(Or=UDr(r.shape,r.strides,e.strides),Y=Or.sh,ar=Or.sx,er=Or.sy,i=MDr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,s=r.data,n=e.data,f=ar[0],S=er[0],v=r.accessors[0],u=e.accessors[1],Vr=0,jr=Y[8];jr>0;)for(jr<i?(rr=jr,jr=0):(rr=i,jr-=i),R=ir+jr*ar[8],G=tr+jr*er[8],_r=Y[7];_r>0;)for(_r<i?(Z=_r,_r=0):(Z=i,_r-=i),x=ar[8]-Z*ar[7],T=er[8]-Z*er[7],z=R+_r*ar[7],M=G+_r*er[7],Ar=Y[6];Ar>0;)for(Ar<i?(Q=Ar,Ar=0):(Q=i,Ar-=i),g=ar[7]-Q*ar[6],j=er[7]-Q*er[6],V=z+Ar*ar[6],U=M+Ar*er[6],Er=Y[5];Er>0;)for(Er<i?(H=Er,Er=0):(H=i,Er-=i),h=ar[6]-H*ar[5],q=er[6]-H*er[5],N=V+Er*ar[5],C=U+Er*er[5],hr=Y[4];hr>0;)for(hr<i?(K=hr,hr=0):(K=i,hr-=i),y=ar[5]-K*ar[4],E=er[5]-K*er[4],k=N+hr*ar[4],L=C+hr*er[4],xr=Y[3];xr>0;)for(xr<i?(X=xr,xr=0):(X=i,xr-=i),d=ar[4]-X*ar[3],b=er[4]-X*er[3],D=k+xr*ar[3],F=L+xr*er[3],br=Y[2];br>0;)for(br<i?(J=br,br=0):(J=i,br-=i),m=ar[3]-J*ar[2],_=er[3]-J*er[2],O=D+br*ar[2],P=F+br*er[2],qr=Y[1];qr>0;)for(qr<i?(W=qr,qr=0):(W=i,qr-=i),p=ar[2]-W*ar[1],A=er[2]-W*er[1],I=O+qr*ar[1],B=P+qr*er[1],gr=Y[0];gr>0;)for(gr<i?($=gr,gr=0):($=i,gr-=i),or=I+gr*ar[0],sr=B+gr*er[0],c=ar[1]-$*ar[0],w=er[1]-$*er[0],mr=0;mr<rr;mr++){for(yr=0;yr<Z;yr++){for(dr=0;dr<Q;dr++){for(pr=0;pr<H;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++)Dr=t.call(o,v(s,or),Vr,[or,sr],[r,e]),Dr!==void 0&&u(n,sr,a(Dr)),or+=f,sr+=S,Vr+=1;or+=c,sr+=w}or+=p,sr+=A}or+=m,sr+=_}or+=d,sr+=b}or+=y,sr+=E}or+=h,sr+=q}or+=g,sr+=j}or+=x,sr+=T}}DP.exports=GDr});var VP=l((Gce,RP)=>{"use strict";var $Dr=Rr(),YDr=kr();function WDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr,Kr,te,Ie,sa,dt,_n,jn;for(dt=$Dr(r.shape,r.strides,e.strides),X=dt.sh,sr=dt.sx,nr=dt.sy,i=YDr(r.dtype,e.dtype),vr=r.offset,ur=e.offset,s=r.data,n=e.data,f=sr[0],w=nr[0],v=r.accessors[0],u=e.accessors[1],jn=0,sa=X[9];sa>0;)for(sa<i?(or=sa,sa=0):(or=i,sa-=i),F=vr+sa*sr[9],J=ur+sa*nr[9],Ie=X[8];Ie>0;)for(Ie<i?(tr=Ie,Ie=0):(tr=i,Ie-=i),S=sr[9]-tr*sr[8],O=nr[9]-tr*nr[8],P=F+Ie*sr[8],W=J+Ie*nr[8],te=X[7];te>0;)for(te<i?(ir=te,te=0):(ir=i,te-=i),x=sr[8]-ir*sr[7],I=nr[8]-ir*nr[7],B=P+te*sr[7],$=W+te*nr[7],Kr=X[6];Kr>0;)for(Kr<i?(er=Kr,Kr=0):(er=i,Kr-=i),g=sr[7]-er*sr[6],T=nr[7]-er*nr[6],R=B+Kr*sr[6],Y=$+Kr*nr[6],Vr=X[5];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),h=sr[6]-ar*sr[5],j=nr[6]-ar*nr[5],z=R+Vr*sr[5],G=Y+Vr*nr[5],Dr=X[4];Dr>0;)for(Dr<i?(rr=Dr,Dr=0):(rr=i,Dr-=i),y=sr[5]-rr*sr[4],q=nr[5]-rr*nr[4],V=z+Dr*sr[4],M=G+Dr*nr[4],Or=X[3];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),d=sr[4]-Z*sr[3],E=nr[4]-Z*nr[3],N=V+Or*sr[3],U=M+Or*nr[3],jr=X[2];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),m=sr[3]-Q*sr[2],b=nr[3]-Q*nr[2],k=N+jr*sr[2],C=U+jr*nr[2],_r=X[1];_r>0;)for(_r<i?(H=_r,_r=0):(H=i,_r-=i),p=sr[2]-H*sr[1],_=nr[2]-H*nr[1],D=k+_r*sr[1],L=C+_r*nr[1],Ar=X[0];Ar>0;)for(Ar<i?(K=Ar,Ar=0):(K=i,Ar-=i),lr=D+Ar*sr[0],fr=L+Ar*nr[0],c=sr[1]-K*sr[0],A=nr[1]-K*nr[0],Er=0;Er<or;Er++){for(hr=0;hr<tr;hr++){for(xr=0;xr<ir;xr++){for(br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++)_n=t.call(o,v(s,lr),jn,[lr,fr],[r,e]),_n!==void 0&&u(n,fr,a(_n)),lr+=f,fr+=w,jn+=1;lr+=c,fr+=A}lr+=p,fr+=_}lr+=m,fr+=b}lr+=d,fr+=E}lr+=y,fr+=q}lr+=h,fr+=j}lr+=g,fr+=T}lr+=x,fr+=I}lr+=S,fr+=O}}RP.exports=WDr});var BP=l(($ce,zP)=>{"use strict";var JDr=Rr(),XDr=kr();function KDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;for(T=JDr(r.shape,r.strides,e.strides),d=T.sh,g=T.sx,x=T.sy,i=XDr(r.dtype,e.dtype),S=r.offset,w=e.offset,s=r.data,n=e.data,v=g[0],f=x[0],O=0,j=d[1];j>0;)for(j<i?(h=j,j=0):(h=i,j-=i),p=S+j*g[1],m=w+j*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],u=g[1]-y*g[0],c=x[1]-y*x[0],E=0;E<h;E++){for(b=0;b<y;b++)I=t.call(o,s[A],O,[A,_],[r,e]),I!==void 0&&(n[_]=a(I)),A+=v,_+=f,O+=1;A+=u,_+=c}}zP.exports=KDr});var FP=l((Yce,PP)=>{"use strict";var HDr=Rr(),ZDr=kr();function QDr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B;for(z=HDr(r.shape,r.strides,e.strides),x=z.sh,_=z.sx,b=z.sy,i=ZDr(r.dtype,e.dtype),E=r.offset,q=e.offset,s=r.data,n=e.data,v=_[0],c=b[0],B=0,V=x[2];V>0;)for(V<i?(A=V,V=0):(A=i,V-=i),y=E+V*_[2],g=q+V*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),j=d+k*_[0],T=h+k*b[0],u=_[1]-S*_[0],p=b[1]-S*b[0],D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++)R=t.call(o,s[j],B,[j,T],[r,e]),R!==void 0&&(n[T]=a(R)),j+=v,T+=c,B+=1;j+=u,T+=p}j+=f,T+=m}}PP.exports=QDr});var CP=l((Wce,LP)=>{"use strict";var rkr=Rr(),ekr=kr();function akr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G;for(U=rkr(r.shape,r.strides,e.strides),_=U.sh,T=U.sx,I=U.sy,i=ekr(r.dtype,e.dtype),O=r.offset,D=e.offset,s=r.data,n=e.data,v=T[0],p=I[0],G=0,C=_[3];C>0;)for(C<i?(j=C,C=0):(j=i,C-=i),x=O+C*T[3],A=D+C*I[3],L=_[2];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),c=T[3]-q*T[2],y=I[3]-q*I[2],g=x+L*T[2],w=A+L*I[2],F=_[1];F>0;)for(F<i?(E=F,F=0):(E=i,F-=i),f=T[2]-E*T[1],d=I[2]-E*I[1],h=g+F*T[1],S=w+F*I[1],P=_[0];P>0;)for(P<i?(b=P,P=0):(b=i,P-=i),k=h+P*T[0],N=S+P*I[0],u=T[1]-b*T[0],m=I[1]-b*I[0],B=0;B<j;B++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++)M=t.call(o,s[k],G,[k,N],[r,e]),M!==void 0&&(n[N]=a(M)),k+=v,N+=p,G+=1;k+=u,N+=m}k+=f,N+=d}k+=c,N+=y}}LP.exports=akr});var MP=l((Jce,UP)=>{"use strict";var tkr=Rr(),ikr=kr();function okr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H;for(X=tkr(r.shape,r.strides,e.strides),j=X.sh,N=X.sx,V=X.sy,i=ikr(r.dtype,e.dtype),z=r.offset,R=e.offset,s=r.data,n=e.data,v=N[0],m=V[0],H=0,J=j[4];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),A=z+J*N[4],q=R+J*V[4],W=j[3];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),p=N[4]-D*N[3],g=V[4]-D*V[3],w=A+W*N[3],E=q+W*V[3],$=j[2];$>0;)for($<i?(O=$,$=0):(O=i,$-=i),c=N[3]-O*N[2],h=V[3]-O*V[2],S=w+$*N[2],b=E+$*V[2],Y=j[1];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),f=N[2]-I*N[1],y=V[2]-I*V[1],x=S+Y*N[1],_=b+Y*V[1],G=j[0];G>0;)for(G<i?(T=G,G=0):(T=i,G-=i),B=x+G*N[0],P=_+G*V[0],u=N[1]-T*N[0],d=V[1]-T*V[0],M=0;M<k;M++){for(U=0;U<D;U++){for(C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++)K=t.call(o,s[B],H,[B,P],[r,e]),K!==void 0&&(n[P]=a(K)),B+=v,P+=m,H+=1;B+=u,P+=d}B+=f,P+=y}B+=c,P+=h}B+=p,P+=g}}UP.exports=okr});var $P=l((Xce,GP)=>{"use strict";var skr=Rr(),nkr=kr();function vkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(er=skr(r.shape,r.strides,e.strides),D=er.sh,P=er.sx,F=er.sy,i=nkr(r.dtype,e.dtype),L=r.offset,C=e.offset,s=r.data,n=e.data,v=P[0],d=F[0],tr=0,ar=D[5];ar>0;)for(ar<i?(B=ar,ar=0):(B=i,ar-=i),E=L+ar*P[5],O=C+ar*F[5],rr=D[4];rr>0;)for(rr<i?(R=rr,rr=0):(R=i,rr-=i),m=P[5]-R*P[4],S=F[5]-R*F[4],b=E+rr*P[4],I=O+rr*F[4],Z=D[3];Z>0;)for(Z<i?(z=Z,Z=0):(z=i,Z-=i),p=P[4]-z*P[3],x=F[4]-z*F[3],_=b+Z*P[3],T=I+Z*F[3],Q=D[2];Q>0;)for(Q<i?(V=Q,Q=0):(V=i,Q-=i),c=P[3]-V*P[2],g=F[3]-V*F[2],A=_+Q*P[2],j=T+Q*F[2],H=D[1];H>0;)for(H<i?(N=H,H=0):(N=i,H-=i),f=P[2]-N*P[1],h=F[2]-N*F[1],w=A+H*P[1],q=j+H*F[1],K=D[0];K>0;)for(K<i?(k=K,K=0):(k=i,K-=i),U=w+K*P[0],M=q+K*F[0],u=P[1]-k*P[0],y=F[1]-k*F[0],X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++)ir=t.call(o,s[U],tr,[U,M],[r,e]),ir!==void 0&&(n[M]=a(ir)),U+=v,M+=d,tr+=1;U+=u,M+=y}U+=f,M+=h}U+=c,M+=g}U+=p,M+=x}U+=m,M+=S}}GP.exports=vkr});var WP=l((Kce,YP)=>{"use strict";var ukr=Rr(),fkr=kr();function lkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr;for(ur=ukr(r.shape,r.strides,e.strides),z=ur.sh,M=ur.sx,G=ur.sy,i=fkr(r.dtype,e.dtype),Y=r.offset,$=e.offset,s=r.data,n=e.data,v=M[0],y=G[0],fr=0,vr=z[6];vr>0;)for(vr<i?(U=vr,vr=0):(U=i,vr-=i),T=Y+vr*M[6],V=$+vr*G[6],nr=z[5];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),d=M[6]-C*M[5],A=G[6]-C*G[5],j=T+nr*M[5],N=V+nr*G[5],sr=z[4];sr>0;)for(sr<i?(L=sr,sr=0):(L=i,sr-=i),m=M[5]-L*M[4],w=G[5]-L*G[4],q=j+sr*M[4],k=N+sr*G[4],or=z[3];or>0;)for(or<i?(F=or,or=0):(F=i,or-=i),p=M[4]-F*M[3],S=G[4]-F*G[3],E=q+or*M[3],D=k+or*G[3],tr=z[2];tr>0;)for(tr<i?(P=tr,tr=0):(P=i,tr-=i),c=M[3]-P*M[2],x=G[3]-P*G[2],b=E+tr*M[2],O=D+tr*G[2],ir=z[1];ir>0;)for(ir<i?(B=ir,ir=0):(B=i,ir-=i),f=M[2]-B*M[1],g=G[2]-B*G[1],_=b+ir*M[1],I=O+ir*G[1],er=z[0];er>0;)for(er<i?(R=er,er=0):(R=i,er-=i),W=_+er*M[0],J=I+er*G[0],u=M[1]-R*M[0],h=G[1]-R*G[0],ar=0;ar<U;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++){for(K=0;K<B;K++){for(X=0;X<R;X++)lr=t.call(o,s[W],fr,[W,J],[r,e]),lr!==void 0&&(n[J]=a(lr)),W+=v,J+=y,fr+=1;W+=u,J+=h}W+=f,J+=g}W+=c,J+=x}W+=p,J+=S}W+=m,J+=w}W+=d,J+=A}}YP.exports=lkr});var XP=l((Hce,JP)=>{"use strict";var ckr=Rr(),dkr=kr();function pkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br;for(gr=ckr(r.shape,r.strides,e.strides),F=gr.sh,J=gr.sx,X=gr.sy,i=dkr(r.dtype,e.dtype),K=r.offset,H=e.offset,s=r.data,n=e.data,v=J[0],h=X[0],br=0,mr=F[7];mr>0;)for(mr<i?(W=mr,mr=0):(W=i,mr-=i),D=K+mr*J[7],P=H+mr*X[7],yr=F[6];yr>0;)for(yr<i?($=yr,yr=0):($=i,yr-=i),y=J[7]-$*J[6],b=X[7]-$*X[6],O=D+yr*J[6],B=P+yr*X[6],dr=F[5];dr>0;)for(dr<i?(Y=dr,dr=0):(Y=i,dr-=i),d=J[6]-Y*J[5],_=X[6]-Y*X[5],I=O+dr*J[5],R=B+dr*X[5],pr=F[4];pr>0;)for(pr<i?(G=pr,pr=0):(G=i,pr-=i),m=J[5]-G*J[4],A=X[5]-G*X[4],T=I+pr*J[4],z=R+pr*X[4],fr=F[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],j=T+fr*J[3],V=z+fr*X[3],lr=F[2];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),c=J[3]-U*J[2],S=X[3]-U*X[2],q=j+lr*J[2],N=V+lr*X[2],ur=F[1];ur>0;)for(ur<i?(C=ur,ur=0):(C=i,ur-=i),f=J[2]-C*J[1],x=X[2]-C*X[1],E=q+ur*J[1],k=N+ur*X[1],vr=F[0];vr>0;)for(vr<i?(L=vr,vr=0):(L=i,vr-=i),Q=E+vr*J[0],Z=k+vr*X[0],u=J[1]-L*J[0],g=X[1]-L*X[0],nr=0;nr<W;nr++){for(sr=0;sr<$;sr++){for(or=0;or<Y;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<U;er++){for(ar=0;ar<C;ar++){for(rr=0;rr<L;rr++)qr=t.call(o,s[Q],br,[Q,Z],[r,e]),qr!==void 0&&(n[Z]=a(qr)),Q+=v,Z+=h,br+=1;Q+=u,Z+=g}Q+=f,Z+=x}Q+=c,Z+=S}Q+=p,Z+=w}Q+=m,Z+=A}Q+=d,Z+=_}Q+=y,Z+=b}}JP.exports=pkr});var HP=l((Zce,KP)=>{"use strict";var ykr=Rr(),mkr=kr();function hkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or;for(_r=ykr(r.shape,r.strides,e.strides),M=_r.sh,Z=_r.sx,rr=_r.sy,i=mkr(r.dtype,e.dtype),ar=r.offset,er=e.offset,s=r.data,n=e.data,v=Z[0],g=rr[0],Or=0,Ar=M[8];Ar>0;)for(Ar<i?(Q=Ar,Ar=0):(Q=i,Ar-=i),V=ar+Ar*Z[8],U=er+Ar*rr[8],Er=M[7];Er>0;)for(Er<i?(H=Er,Er=0):(H=i,Er-=i),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=V+Er*Z[7],C=U+Er*rr[7],hr=M[6];hr>0;)for(hr<i?(K=hr,hr=0):(K=i,hr-=i),y=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+hr*Z[6],L=C+hr*rr[6],xr=M[5];xr>0;)for(xr<i?(X=xr,xr=0):(X=i,xr-=i),d=Z[6]-X*Z[5],b=rr[6]-X*rr[5],D=k+xr*Z[5],F=L+xr*rr[5],br=M[4];br>0;)for(br<i?(J=br,br=0):(J=i,br-=i),m=Z[5]-J*Z[4],_=rr[5]-J*rr[4],O=D+br*Z[4],P=F+br*rr[4],qr=M[3];qr>0;)for(qr<i?(W=qr,qr=0):(W=i,qr-=i),p=Z[4]-W*Z[3],A=rr[4]-W*rr[3],I=O+qr*Z[3],B=P+qr*rr[3],gr=M[2];gr>0;)for(gr<i?($=gr,gr=0):($=i,gr-=i),c=Z[3]-$*Z[2],w=rr[3]-$*rr[2],T=I+gr*Z[2],R=B+gr*rr[2],mr=M[1];mr>0;)for(mr<i?(Y=mr,mr=0):(Y=i,mr-=i),f=Z[2]-Y*Z[1],S=rr[2]-Y*rr[1],j=T+mr*Z[1],z=R+mr*rr[1],yr=M[0];yr>0;)for(yr<i?(G=yr,yr=0):(G=i,yr-=i),ir=j+yr*Z[0],tr=z+yr*rr[0],u=Z[1]-G*Z[0],x=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(pr=0;pr<H;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++){for(sr=0;sr<Y;sr++){for(or=0;or<G;or++)jr=t.call(o,s[ir],Or,[ir,tr],[r,e]),jr!==void 0&&(n[tr]=a(jr)),ir+=v,tr+=g,Or+=1;ir+=u,tr+=x}ir+=f,tr+=S}ir+=c,tr+=w}ir+=p,tr+=A}ir+=m,tr+=_}ir+=d,tr+=b}ir+=y,tr+=E}ir+=h,tr+=q}}KP.exports=hkr});var QP=l((Qce,ZP)=>{"use strict";var gkr=Rr(),bkr=kr();function xkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,gr,qr,br,xr,hr,Er,Ar,_r,jr,Or,Dr,Vr,Kr,te,Ie,sa,dt;for(Ie=gkr(r.shape,r.strides,e.strides),W=Ie.sh,tr=Ie.sx,or=Ie.sy,i=bkr(r.dtype,e.dtype),sr=r.offset,nr=e.offset,s=r.data,n=e.data,v=tr[0],x=or[0],dt=0,te=W[9];te>0;)for(te<i?(ir=te,te=0):(ir=i,te-=i),B=sr+te*tr[9],$=nr+te*or[9],Kr=W[8];Kr>0;)for(Kr<i?(er=Kr,Kr=0):(er=i,Kr-=i),g=tr[9]-er*tr[8],T=or[9]-er*or[8],R=B+Kr*tr[8],Y=$+Kr*or[8],Vr=W[7];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),h=tr[8]-ar*tr[7],j=or[8]-ar*or[7],z=R+Vr*tr[7],G=Y+Vr*or[7],Dr=W[6];Dr>0;)for(Dr<i?(rr=Dr,Dr=0):(rr=i,Dr-=i),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],V=z+Dr*tr[6],M=G+Dr*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=V+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],C=U+jr*or[4],_r=W[3];_r>0;)for(_r<i?(H=_r,_r=0):(H=i,_r-=i),p=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+_r*tr[3],L=C+_r*or[3],Ar=W[2];Ar>0;)for(Ar<i?(K=Ar,Ar=0):(K=i,Ar-=i),c=tr[3]-K*tr[2],A=or[3]-K*or[2],O=D+Ar*tr[2],F=L+Ar*or[2],Er=W[1];Er>0;)for(Er<i?(X=Er,Er=0):(X=i,Er-=i),f=tr[2]-X*tr[1],w=or[2]-X*or[1],I=O+Er*tr[1],P=F+Er*or[1],hr=W[0];hr>0;)for(hr<i?(J=hr,hr=0):(J=i,hr-=i),vr=I+hr*tr[0],ur=P+hr*or[0],u=tr[1]-J*tr[0],S=or[1]-J*or[0],xr=0;xr<ir;xr++){for(br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(gr=0;gr<rr;gr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<K;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)sa=t.call(o,s[vr],dt,[vr,ur],[r,e]),sa!==void 0&&(n[ur]=a(sa)),vr+=v,ur+=x,dt+=1;vr+=u,ur+=S}vr+=f,ur+=w}vr+=c,ur+=A}vr+=p,ur+=_}vr+=m,ur+=b}vr+=d,ur+=E}vr+=y,ur+=q}vr+=h,ur+=j}vr+=g,ur+=T}}ZP.exports=xkr});var eF=l((rde,rF)=>{"use strict";function qkr(r,e,a,t,o){var i=r.offset,s=e.offset,n=t.call(o,r.accessors[0](r.data,i),0,[i,s],[r,e]);n!==void 0&&e.accessors[1](e.data,s,a(n))}rF.exports=qkr});var tF=l((ede,aF)=>{"use strict";function wkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h;for(c=r.shape[0],u=r.strides[0],f=e.strides[0],p=r.offset,m=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],h=0,d=0;d<c;d++)y=t.call(o,n(i,p),h,[p,m],[r,e]),y!==void 0&&v(s,m,a(y)),p+=u,m+=f,h+=1}aF.exports=wkr});var oF=l((ade,iF)=>{"use strict";function Skr(r,e,a,t,o){var i,s,n,v,u,f,c,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],u=h[1],f=h[0]-d*h[1],c=g[1],p=g[0]-d*g[1]):(d=m[0],y=m[1],u=h[0],f=h[1]-d*h[0],c=g[0],p=g[1]-d*g[0]),x=r.offset,S=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],b=0,A=0;A<y;A++){for(w=0;w<d;w++)_=t.call(o,n(i,x),b,[x,S],[r,e]),_!==void 0&&v(s,S,a(_)),x+=u,S+=c,b+=1;x+=f,S+=p}}iF.exports=Skr});var nF=l((tde,sF)=>{"use strict";function Ekr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T;for(y=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(h=y[2],g=y[1],x=y[0],u=S[2],f=S[1]-h*S[2],c=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],u=S[0],f=S[1]-h*S[0],c=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,s=e.data,n=r.accessors[0],v=e.accessors[1],T=0,q=0;q<x;q++){for(E=0;E<g;E++){for(b=0;b<h;b++)j=t.call(o,n(i,A),T,[A,_],[r,e]),j!==void 0&&v(s,_,a(j)),A+=u,_+=p,T+=1;A+=f,_+=m}A+=c,_+=d}}sF.exports=Ekr});var uF=l((ide,vF)=>{"use strict";function Akr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,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],u=_[3],f=_[2]-x*_[3],c=_[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],u=_[0],f=_[1]-x*_[0],c=_[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,s=e.data,n=r.accessors[0],v=e.accessors[1],k=0,O=0;O<A;O++){for(I=0;I<w;I++){for(T=0;T<S;T++){for(j=0;j<x;j++)D=t.call(o,n(i,E),k,[E,q],[r,e]),D!==void 0&&v(s,q,a(D)),E+=u,q+=m,k+=1;E+=f,q+=d}E+=c,q+=y}E+=p,q+=h}}vF.exports=Akr});var lF=l((ode,fF)=>{"use strict";function _kr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R;for(S=r.shape,q=r.strides,j=e.strides,r.order==="row-major"?(w=S[4],A=S[3],_=S[2],b=S[1],E=S[0],u=q[4],f=q[3]-w*q[4],c=q[2]-A*q[3],p=q[1]-_*q[2],m=q[0]-b*q[1],d=j[4],y=j[3]-w*j[4],h=j[2]-A*j[3],g=j[1]-_*j[2],x=j[0]-b*j[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],u=q[0],f=q[1]-w*q[0],c=q[2]-A*q[1],p=q[3]-_*q[2],m=q[4]-b*q[3],d=j[0],y=j[1]-w*j[0],h=j[2]-A*j[1],g=j[3]-_*j[2],x=j[4]-b*j[3]),T=r.offset,I=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],R=0,V=0;V<E;V++){for(N=0;N<b;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++)z=t.call(o,n(i,T),R,[T,I],[r,e]),z!==void 0&&v(s,I,a(z)),T+=u,I+=d,R+=1;T+=f,I+=y}T+=c,I+=h}T+=p,I+=g}T+=m,I+=x}}fF.exports=_kr});var dF=l((sde,cF)=>{"use strict";function jkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L;for(A=r.shape,I=r.strides,O=e.strides,r.order==="row-major"?(_=A[5],b=A[4],E=A[3],q=A[2],j=A[1],T=A[0],u=I[5],f=I[4]-_*I[5],c=I[3]-b*I[4],p=I[2]-E*I[3],m=I[1]-q*I[2],d=I[0]-j*I[1],y=O[5],h=O[4]-_*O[5],g=O[3]-b*O[4],x=O[2]-E*O[3],S=O[1]-q*O[2],w=O[0]-j*O[1]):(_=A[0],b=A[1],E=A[2],q=A[3],j=A[4],T=A[5],u=I[0],f=I[1]-_*I[0],c=I[2]-b*I[1],p=I[3]-E*I[2],m=I[4]-q*I[3],d=I[5]-j*I[4],y=O[0],h=O[1]-_*O[0],g=O[2]-b*O[1],x=O[3]-E*O[2],S=O[4]-q*O[3],w=O[5]-j*O[4]),D=r.offset,k=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],L=0,P=0;P<T;P++){for(B=0;B<j;B++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++)F=t.call(o,n(i,D),L,[D,k],[r,e]),F!==void 0&&v(s,k,a(F)),D+=u,k+=y,L+=1;D+=f,k+=h}D+=c,k+=g}D+=p,k+=x}D+=m,k+=S}D+=d,k+=w}}cF.exports=jkr});var yF=l((nde,pF)=>{"use strict";function Tkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G;for(b=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(E=b[6],q=b[5],j=b[4],T=b[3],I=b[2],O=b[1],D=b[0],u=k[6],f=k[5]-E*k[6],c=k[4]-q*k[5],p=k[3]-j*k[4],m=k[2]-T*k[3],d=k[1]-I*k[2],y=k[0]-O*k[1],h=N[6],g=N[5]-E*N[6],x=N[4]-q*N[5],S=N[3]-j*N[4],w=N[2]-T*N[3],A=N[1]-I*N[2],_=N[0]-O*N[1]):(E=b[0],q=b[1],j=b[2],T=b[3],I=b[4],O=b[5],D=b[6],u=k[0],f=k[1]-E*k[0],c=k[2]-q*k[1],p=k[3]-j*k[2],m=k[4]-T*k[3],d=k[5]-I*k[4],y=k[6]-O*k[5],h=N[0],g=N[1]-E*N[0],x=N[2]-q*N[1],S=N[3]-j*N[2],w=N[4]-T*N[3],A=N[5]-I*N[4],_=N[6]-O*N[5]),V=r.offset,z=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],G=0,U=0;U<D;U++){for(C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++)M=t.call(o,n(i,V),G,[V,z],[r,e]),M!==void 0&&v(s,z,a(M)),V+=u,z+=h,G+=1;V+=f,z+=g}V+=c,z+=x}V+=p,z+=S}V+=m,z+=w}V+=d,z+=A}V+=y,z+=_}}pF.exports=Tkr});var hF=l((vde,mF)=>{"use strict";function Okr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J;for(q=r.shape,z=r.strides,R=e.strides,r.order==="row-major"?(j=q[7],T=q[6],I=q[5],O=q[4],D=q[3],k=q[2],N=q[1],V=q[0],u=z[7],f=z[6]-j*z[7],c=z[5]-T*z[6],p=z[4]-I*z[5],m=z[3]-O*z[4],d=z[2]-D*z[3],y=z[1]-k*z[2],h=z[0]-N*z[1],g=R[7],x=R[6]-j*R[7],S=R[5]-T*R[6],w=R[4]-I*R[5],A=R[3]-O*R[4],_=R[2]-D*R[3],b=R[1]-k*R[2],E=R[0]-N*R[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],V=q[7],u=z[0],f=z[1]-j*z[0],c=z[2]-T*z[1],p=z[3]-I*z[2],m=z[4]-O*z[3],d=z[5]-D*z[4],y=z[6]-k*z[5],h=z[7]-N*z[6],g=R[0],x=R[1]-j*R[0],S=R[2]-T*R[1],w=R[3]-I*R[2],A=R[4]-O*R[3],_=R[5]-D*R[4],b=R[6]-k*R[5],E=R[7]-N*R[6]),B=r.offset,P=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],J=0,$=0;$<V;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++)W=t.call(o,n(i,B),J,[B,P],[r,e]),W!==void 0&&v(s,P,a(W)),B+=u,P+=g,J+=1;B+=f,P+=x}B+=c,P+=S}B+=p,P+=w}B+=m,P+=A}B+=d,P+=_}B+=y,P+=b}B+=h,P+=E}}mF.exports=Okr});var bF=l((ude,gF)=>{"use strict";function Ikr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q;for(T=r.shape,P=r.strides,F=e.strides,r.order==="row-major"?(I=T[8],O=T[7],D=T[6],k=T[5],N=T[4],V=T[3],z=T[2],R=T[1],B=T[0],u=P[8],f=P[7]-I*P[8],c=P[6]-O*P[7],p=P[5]-D*P[6],m=P[4]-k*P[5],d=P[3]-N*P[4],y=P[2]-V*P[3],h=P[1]-z*P[2],g=P[0]-R*P[1],x=F[8],S=F[7]-I*F[8],w=F[6]-O*F[7],A=F[5]-D*F[6],_=F[4]-k*F[5],b=F[3]-N*F[4],E=F[2]-V*F[3],q=F[1]-z*F[2],j=F[0]-R*F[1]):(I=T[0],O=T[1],D=T[2],k=T[3],N=T[4],V=T[5],z=T[6],R=T[7],B=T[8],u=P[0],f=P[1]-I*P[0],c=P[2]-O*P[1],p=P[3]-D*P[2],m=P[4]-k*P[3],d=P[5]-N*P[4],y=P[6]-V*P[5],h=P[7]-z*P[6],g=P[8]-R*P[7],x=F[0],S=F[1]-I*F[0],w=F[2]-O*F[1],A=F[3]-D*F[2],_=F[4]-k*F[3],b=F[5]-N*F[4],E=F[6]-V*F[5],q=F[7]-z*F[6],j=F[8]-R*F[7]),L=r.offset,C=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],Q=0,K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++)H=t.call(o,n(i,L),Q,[L,C],[r,e]),H!==void 0&&v(s,C,a(H)),L+=u,C+=x,Q+=1;L+=f,C+=S}L+=c,C+=w}L+=p,C+=A}L+=m,C+=_}L+=d,C+=b}L+=y,C+=E}L+=h,C+=q}L+=g,C+=j}}gF.exports=Ikr});var qF=l((fde,xF)=>{"use strict";function Nkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr,ar,er;for(O=r.shape,C=r.strides,U=e.strides,r.order==="row-major"?(D=O[9],k=O[8],N=O[7],V=O[6],z=O[5],R=O[4],B=O[3],P=O[2],F=O[1],L=O[0],u=C[9],f=C[8]-D*C[9],c=C[7]-k*C[8],p=C[6]-N*C[7],m=C[5]-V*C[6],d=C[4]-z*C[5],y=C[3]-R*C[4],h=C[2]-B*C[3],g=C[1]-P*C[2],x=C[0]-F*C[1],S=U[9],w=U[8]-D*U[9],A=U[7]-k*U[8],_=U[6]-N*U[7],b=U[5]-V*U[6],E=U[4]-z*U[5],q=U[3]-R*U[4],j=U[2]-B*U[3],T=U[1]-P*U[2],I=U[0]-F*U[1]):(D=O[0],k=O[1],N=O[2],V=O[3],z=O[4],R=O[5],B=O[6],P=O[7],F=O[8],L=O[9],u=C[0],f=C[1]-D*C[0],c=C[2]-k*C[1],p=C[3]-N*C[2],m=C[4]-V*C[3],d=C[5]-z*C[4],y=C[6]-R*C[5],h=C[7]-B*C[6],g=C[8]-P*C[7],x=C[9]-F*C[8],S=U[0],w=U[1]-D*U[0],A=U[2]-k*U[1],_=U[3]-N*U[2],b=U[4]-V*U[3],E=U[5]-z*U[4],q=U[6]-R*U[5],j=U[7]-B*U[6],T=U[8]-P*U[7],I=U[9]-F*U[8]),M=r.offset,G=e.offset,i=r.data,s=e.data,n=r.accessors[0],v=e.accessors[1],er=0,rr=0;rr<L;rr++){for(Z=0;Z<F;Z++){for(Q=0;Q<P;Q++){for(H=0;H<B;H++){for(K=0;K<R;K++){for(X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++)ar=t.call(o,n(i,M),er,[M,G],[r,e]),ar!==void 0&&v(s,G,a(ar)),M+=u,G+=S,er+=1;M+=f,G+=w}M+=c,G+=A}M+=p,G+=_}M+=m,G+=b}M+=d,G+=E}M+=y,G+=q}M+=h,G+=j}M+=g,G+=T}M+=x,G+=I}}xF.exports=Nkr});var AF=l((lde,EF)=>{"use strict";var Dkr=Wr(),wF=ia(),SF="throw";function kkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;for(p=r.shape,u=Dkr(p),i=r.data,s=e.data,m=r.strides,d=e.strides,y=r.offset,h=e.offset,n=r.order,v=e.order,f=r.accessors[0],c=e.accessors[1],w=0;w<u;w++)g=wF(p,m,y,n,w,SF),x=wF(p,d,h,v,w,SF),S=t.call(o,f(i,g),w,[g,x],[r,e]),S!==void 0&&c(s,x,a(S))}EF.exports=kkr});var jF=l((cde,_F)=>{"use strict";function Rkr(r,e,a,t,o){var i=r.offset,s=e.offset,n=t.call(o,r.data[i],0,[i,s],[r,e]);n!==void 0&&(e.data[s]=a(n))}_F.exports=Rkr});var OF=l((dde,TF)=>{"use strict";function Vkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d;for(u=r.shape[0],n=r.strides[0],v=e.strides[0],f=r.offset,c=e.offset,i=r.data,s=e.data,d=0,p=0;p<u;p++)m=t.call(o,i[f],d,[f,c],[r,e]),m!==void 0&&(s[c]=a(m)),f+=n,c+=v,d+=1}TF.exports=Vkr});var NF=l((pde,IF)=>{"use strict";function zkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A;for(c=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(p=c[1],m=c[0],n=d[1],v=d[0]-p*d[1],u=y[1],f=y[0]-p*y[1]):(p=c[0],m=c[1],n=d[0],v=d[1]-p*d[0],u=y[0],f=y[1]-p*y[0]),h=r.offset,g=e.offset,i=r.data,s=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&&(s[g]=a(w)),h+=n,g+=u,A+=1;h+=v,g+=f}}IF.exports=zkr});var kF=l((yde,DF)=>{"use strict";function Bkr(r,e,a,t,o){var i,s,n,v,u,f,c,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],n=g[2],v=g[1]-d*g[2],u=g[0]-y*g[1],f=x[2],c=x[1]-d*x[2],p=x[0]-y*x[1]):(d=m[0],y=m[1],h=m[2],n=g[0],v=g[1]-d*g[0],u=g[2]-y*g[1],f=x[0],c=x[1]-d*x[0],p=x[2]-y*x[1]),S=r.offset,w=e.offset,i=r.data,s=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&&(s[w]=a(E)),S+=n,w+=f,q+=1;S+=v,w+=c}S+=u,w+=p}}DF.exports=Bkr});var VF=l((mde,RF)=>{"use strict";function Pkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O;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],n=w[3],v=w[2]-h*w[3],u=w[1]-g*w[2],f=w[0]-x*w[1],c=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],n=w[0],v=w[1]-h*w[0],u=w[2]-g*w[1],f=w[3]-x*w[2],c=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,s=e.data,O=0,T=0;T<S;T++){for(j=0;j<x;j++){for(q=0;q<g;q++){for(E=0;E<h;E++)I=t.call(o,i[_],O,[_,b],[r,e]),I!==void 0&&(s[b]=a(I)),_+=n,b+=c,O+=1;_+=v,b+=p}_+=u,b+=m}_+=f,b+=d}}RF.exports=Pkr});var BF=l((hde,zF)=>{"use strict";function Fkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V;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],n=b[4],v=b[3]-x*b[4],u=b[2]-S*b[3],f=b[1]-w*b[2],c=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],n=b[0],v=b[1]-x*b[0],u=b[2]-S*b[1],f=b[3]-w*b[2],c=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,j=e.offset,i=r.data,s=e.data,V=0,k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<x;T++)N=t.call(o,i[q],V,[q,j],[r,e]),N!==void 0&&(s[j]=a(N)),q+=n,j+=p,V+=1;q+=v,j+=m}q+=u,j+=d}q+=f,j+=y}q+=c,j+=h}}zF.exports=Fkr});var FF=l((gde,PF)=>{"use strict";function Lkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P;for(S=r.shape,j=r.strides,T=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],b=S[2],E=S[1],q=S[0],n=j[5],v=j[4]-w*j[5],u=j[3]-A*j[4],f=j[2]-_*j[3],c=j[1]-b*j[2],p=j[0]-E*j[1],m=T[5],d=T[4]-w*T[5],y=T[3]-A*T[4],h=T[2]-_*T[3],g=T[1]-b*T[2],x=T[0]-E*T[1]):(w=S[0],A=S[1],_=S[2],b=S[3],E=S[4],q=S[5],n=j[0],v=j[1]-w*j[0],u=j[2]-A*j[1],f=j[3]-_*j[2],c=j[4]-b*j[3],p=j[5]-E*j[4],m=T[0],d=T[1]-w*T[0],y=T[2]-A*T[1],h=T[3]-_*T[2],g=T[4]-b*T[3],x=T[5]-E*T[4]),I=r.offset,O=e.offset,i=r.data,s=e.data,P=0,R=0;R<q;R++){for(z=0;z<E;z++){for(V=0;V<b;V++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)B=t.call(o,i[I],P,[I,O],[r,e]),B!==void 0&&(s[O]=a(B)),I+=n,O+=m,P+=1;I+=v,O+=d}I+=u,O+=y}I+=f,O+=h}I+=c,O+=g}I+=p,O+=x}}PF.exports=Lkr});var CF=l((bde,LF)=>{"use strict";function Ckr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U;for(A=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],b=A[5],E=A[4],q=A[3],j=A[2],T=A[1],I=A[0],n=O[6],v=O[5]-_*O[6],u=O[4]-b*O[5],f=O[3]-E*O[4],c=O[2]-q*O[3],p=O[1]-j*O[2],m=O[0]-T*O[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]-j*D[2],w=D[0]-T*D[1]):(_=A[0],b=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],n=O[0],v=O[1]-_*O[0],u=O[2]-b*O[1],f=O[3]-E*O[2],c=O[4]-q*O[3],p=O[5]-j*O[4],m=O[6]-T*O[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]-j*D[4],w=D[6]-T*D[5]),k=r.offset,N=e.offset,i=r.data,s=e.data,U=0,L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(z=0;z<b;z++){for(V=0;V<_;V++)C=t.call(o,i[k],U,[k,N],[r,e]),C!==void 0&&(s[N]=a(C)),k+=n,N+=d,U+=1;k+=v,N+=y}k+=u,N+=h}k+=f,N+=g}k+=c,N+=x}k+=p,N+=S}k+=m,N+=w}}LF.exports=Ckr});var MF=l((xde,UF)=>{"use strict";function Ukr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$;for(b=r.shape,N=r.strides,V=e.strides,r.order==="row-major"?(E=b[7],q=b[6],j=b[5],T=b[4],I=b[3],O=b[2],D=b[1],k=b[0],n=N[7],v=N[6]-E*N[7],u=N[5]-q*N[6],f=N[4]-j*N[5],c=N[3]-T*N[4],p=N[2]-I*N[3],m=N[1]-O*N[2],d=N[0]-D*N[1],y=V[7],h=V[6]-E*V[7],g=V[5]-q*V[6],x=V[4]-j*V[5],S=V[3]-T*V[4],w=V[2]-I*V[3],A=V[1]-O*V[2],_=V[0]-D*V[1]):(E=b[0],q=b[1],j=b[2],T=b[3],I=b[4],O=b[5],D=b[6],k=b[7],n=N[0],v=N[1]-E*N[0],u=N[2]-q*N[1],f=N[3]-j*N[2],c=N[4]-T*N[3],p=N[5]-I*N[4],m=N[6]-O*N[5],d=N[7]-D*N[6],y=V[0],h=V[1]-E*V[0],g=V[2]-q*V[1],x=V[3]-j*V[2],S=V[4]-T*V[3],w=V[5]-I*V[4],A=V[6]-O*V[5],_=V[7]-D*V[6]),z=r.offset,R=e.offset,i=r.data,s=e.data,$=0,G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<O;U++){for(C=0;C<I;C++){for(L=0;L<T;L++){for(F=0;F<j;F++){for(P=0;P<q;P++){for(B=0;B<E;B++)Y=t.call(o,i[z],$,[z,R],[r,e]),Y!==void 0&&(s[R]=a(Y)),z+=n,R+=y,$+=1;z+=v,R+=h}z+=u,R+=g}z+=f,R+=x}z+=c,R+=S}z+=p,R+=w}z+=m,R+=A}z+=d,R+=_}}UF.exports=Ukr});var $F=l((qde,GF)=>{"use strict";function Mkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K;for(q=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(j=q[8],T=q[7],I=q[6],O=q[5],D=q[4],k=q[3],N=q[2],V=q[1],z=q[0],n=R[8],v=R[7]-j*R[8],u=R[6]-T*R[7],f=R[5]-I*R[6],c=R[4]-O*R[5],p=R[3]-D*R[4],m=R[2]-k*R[3],d=R[1]-N*R[2],y=R[0]-V*R[1],h=B[8],g=B[7]-j*B[8],x=B[6]-T*B[7],S=B[5]-I*B[6],w=B[4]-O*B[5],A=B[3]-D*B[4],_=B[2]-k*B[3],b=B[1]-N*B[2],E=B[0]-V*B[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],V=q[7],z=q[8],n=R[0],v=R[1]-j*R[0],u=R[2]-T*R[1],f=R[3]-I*R[2],c=R[4]-O*R[3],p=R[5]-D*R[4],m=R[6]-k*R[5],d=R[7]-N*R[6],y=R[8]-V*R[7],h=B[0],g=B[1]-j*B[0],x=B[2]-T*B[1],S=B[3]-I*B[2],w=B[4]-O*B[3],A=B[5]-D*B[4],_=B[6]-k*B[5],b=B[7]-N*B[6],E=B[8]-V*B[7]),P=r.offset,F=e.offset,i=r.data,s=e.data,K=0,J=0;J<z;J++){for(W=0;W<V;W++){for($=0;$<N;$++){for(Y=0;Y<k;Y++){for(G=0;G<D;G++){for(M=0;M<O;M++){for(U=0;U<I;U++){for(C=0;C<T;C++){for(L=0;L<j;L++)X=t.call(o,i[P],K,[P,F],[r,e]),X!==void 0&&(s[F]=a(X)),P+=n,F+=h,K+=1;P+=v,F+=g}P+=u,F+=x}P+=f,F+=S}P+=c,F+=w}P+=p,F+=A}P+=m,F+=_}P+=d,F+=b}P+=y,F+=E}}GF.exports=Mkr});var WF=l((wde,YF)=>{"use strict";function Gkr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F,L,C,U,M,G,Y,$,W,J,X,K,H,Q,Z,rr;for(T=r.shape,F=r.strides,L=e.strides,r.order==="row-major"?(I=T[9],O=T[8],D=T[7],k=T[6],N=T[5],V=T[4],z=T[3],R=T[2],B=T[1],P=T[0],n=F[9],v=F[8]-I*F[9],u=F[7]-O*F[8],f=F[6]-D*F[7],c=F[5]-k*F[6],p=F[4]-N*F[5],m=F[3]-V*F[4],d=F[2]-z*F[3],y=F[1]-R*F[2],h=F[0]-B*F[1],g=L[9],x=L[8]-I*L[9],S=L[7]-O*L[8],w=L[6]-D*L[7],A=L[5]-k*L[6],_=L[4]-N*L[5],b=L[3]-V*L[4],E=L[2]-z*L[3],q=L[1]-R*L[2],j=L[0]-B*L[1]):(I=T[0],O=T[1],D=T[2],k=T[3],N=T[4],V=T[5],z=T[6],R=T[7],B=T[8],P=T[9],n=F[0],v=F[1]-I*F[0],u=F[2]-O*F[1],f=F[3]-D*F[2],c=F[4]-k*F[3],p=F[5]-N*F[4],m=F[6]-V*F[5],d=F[7]-z*F[6],y=F[8]-R*F[7],h=F[9]-B*F[8],g=L[0],x=L[1]-I*L[0],S=L[2]-O*L[1],w=L[3]-D*L[2],A=L[4]-k*L[3],_=L[5]-N*L[4],b=L[6]-V*L[5],E=L[7]-z*L[6],q=L[8]-R*L[7],j=L[9]-B*L[8]),C=r.offset,U=e.offset,i=r.data,s=e.data,rr=0,Q=0;Q<P;Q++){for(H=0;H<B;H++){for(K=0;K<R;K++){for(X=0;X<z;X++){for(J=0;J<V;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++){for(G=0;G<O;G++){for(M=0;M<I;M++)Z=t.call(o,i[C],rr,[C,U],[r,e]),Z!==void 0&&(s[U]=a(Z)),C+=n,U+=g,rr+=1;C+=v,U+=x}C+=u,U+=S}C+=f,U+=w}C+=c,U+=A}C+=p,U+=_}C+=m,U+=b}C+=d,U+=E}C+=y,U+=q}C+=h,U+=j}}YF.exports=Gkr});var HF=l((Sde,KF)=>{"use strict";var $kr=Wr(),JF=ia(),XF="throw";function Ykr(r,e,a,t,o){var i,s,n,v,u,f,c,p,m,d,y,h,g,x;for(f=r.shape,u=$kr(f),i=r.data,s=e.data,c=r.strides,p=e.strides,m=r.offset,d=e.offset,n=r.order,v=e.order,x=0;x<u;x++)y=JF(f,c,m,n,x,XF),h=JF(f,p,d,v,x,XF),g=t.call(o,i[y],x,[y,h],[r,e]),g!==void 0&&(s[h]=a(g))}KF.exports=Ykr});var tL=l((Ede,aL)=>{"use strict";var ZF=ba(),QF=Ha(),rL=Yt(),Wkr=bP(),Jkr=qP(),Xkr=SP(),Kkr=AP(),Hkr=jP(),Zkr=OP(),Qkr=NP(),rRr=kP(),eRr=VP(),aRr=BP(),tRr=FP(),iRr=CP(),oRr=MP(),sRr=$P(),nRr=WP(),vRr=XP(),uRr=HP(),fRr=QP(),lRr=eF(),cRr=tF(),dRr=oF(),pRr=nF(),yRr=uF(),mRr=lF(),hRr=dF(),gRr=yF(),bRr=hF(),xRr=bF(),qRr=qF(),wRr=AF(),SRr=jF(),ERr=OF(),ARr=NF(),_Rr=kF(),jRr=VF(),TRr=BF(),ORr=FF(),IRr=CF(),NRr=MF(),DRr=$F(),kRr=WF(),RRr=HF(),_i=[SRr,ERr,ARr,_Rr,jRr,TRr,ORr,IRr,NRr,DRr,kRr],So=[lRr,cRr,dRr,pRr,yRr,mRr,hRr,gRr,bRr,xRr,qRr],VRr=[aRr,tRr,iRr,oRr,sRr,nRr,vRr,uRr,fRr],zRr=[Wkr,Jkr,Xkr,Kkr,Hkr,Zkr,Qkr,rRr,eRr],eL=_i.length-1;function BRr(r,e,a,t){var o,i,s,n,v,u,f,c,p,m,d,y,h,g,x,S,w;if(g=rL(r[0]),x=rL(r[1]),n=g.shape,v=x.shape,o=n.length,o!==v.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+o+". ndims(y) == "+v.length+".");if(o===0)return g.accessorProtocol||x.accessorProtocol?So[o](g,x,e,a,t):_i[o](g,x,e,a,t);for(c=1,h=0,w=0;w<o;w++){if(S=n[w],S!==v[w])throw new Error("invalid arguments. Arrays must have the same shape.");c*=S,S===1&&(h+=1)}if(c!==0){if(o===1)return g.accessorProtocol||x.accessorProtocol?So[o](g,x,e,a,t):_i[o](g,x,e,a,t);if(p=g.strides,m=x.strides,h===o-1){for(w=0;w<o&&n[w]===1;w++);return g.shape=[n[w]],x.shape=g.shape,g.strides=[p[w]],x.strides=[m[w]],g.accessorProtocol||x.accessorProtocol?So[1](g,x,e,a,t):_i[1](g,x,e,a,t)}if(u=ZF(p),f=ZF(m),u!==0&&f!==0&&u===f){if(i=QF(n,p,g.offset),s=QF(v,m,x.offset),c===i[1]-i[0]+1&&c===s[1]-s[0]+1)return u===1?d=i[0]:d=i[1],f===1?y=s[0]:y=s[1],g.shape=[c],x.shape=g.shape,g.strides=[u],x.strides=[f],g.offset=d,x.offset=y,g.accessorProtocol||x.accessorProtocol?So[1](g,x,e,a,t):_i[1](g,x,e,a,t);if(o<=eL)return g.accessorProtocol||x.accessorProtocol?So[o](g,x,e,a,t):_i[o](g,x,e,a,t)}if(o<=eL)return g.accessorProtocol||x.accessorProtocol?zRr[o-2](g,x,e,a,t):VRr[o-2](g,x,e,a,t);if(g.accessorProtocol||x.accessorProtocol)return wRr(g,x,e,a,t);RRr(g,x,e,a,t)}}aL.exports=BRr});var oL=l((Ade,iL)=>{"use strict";var PRr=tL();iL.exports=PRr});var nL=l((_de,sL)=>{"use strict";var FRr=Os(),LRr=Wu(),CRr=lo(),URr=Cu(),MRr=Ds(),GRr=ks(),$Rr=Is(),YRr=Uu(),WRr=di(),ut=Ta(),JRr=cr(),XRr={floating_point:[FRr,ut.get("dtypes.floating_point")],real_floating_point:[LRr,ut.get("dtypes.real_floating_point")],complex_floating_point:[CRr,ut.get("dtypes.complex_floating_point")],integer:[URr,ut.get("dtypes.integer")],signed_integer:[MRr,ut.get("dtypes.signed_integer")],unsigned_integer:[GRr,ut.get("dtypes.unsigned_integer")],real:[$Rr,ut.get("dtypes.real")],numeric:[YRr,ut.get("dtypes.numeric")]},KRr=ut.get("dtypes.default");function HRr(r,e){var a;if(e==="default")return KRr;if(e==="same"||e==="promoted")return r;if(e==="bool")throw new Error("not implemented");if(a=XRr[e],a===void 0){if(WRr(e))return e;throw new TypeError(JRr("invalid argument. Second argument must be a supported data type policy. Value: `%s`.",e))}return a[0](r)?r:a[1]}sL.exports=HRr});var uL=l((jde,vL)=>{"use strict";var ZRr=nL();vL.exports=ZRr});var lL=l((Tde,fL)=>{"use strict";var QRr=Ve(),rVr=Me(),eVr=Ia(),aVr=cr(),tVr=ra(),iVr=Wr();function oVr(r,e,a){var t,o,i,s;if(t=e.length,t>0?(i=iVr(e),s=QRr(e,a)):(i=1,s=[0]),o=eVr(r,i),o===null)throw new TypeError(aVr("invalid argument. First argument must be a recognized data type. Value: `%s`.",r));return new tVr(r,o,e,s,rVr(e,s),a)}fL.exports=oVr});var dL=l((Ode,cL)=>{"use strict";var sVr=lL();cL.exports=sVr});var yL=l((Ide,pL)=>{"use strict";var nVr=Ve(),vVr=Me(),uVr=Ia(),fVr=Wr(),lVr=Ye(),cVr=_e(),dVr=oa(),pVr=cr();function yVr(r){var e,a,t,o,i,s,n;if(n=lVr(r),i=cVr(r,!0),o=dVr(r),e=i.length,e>0?(a=fVr(i),s=nVr(i,o)):(a=1,s=[0]),t=uVr(n,a),t===null)throw new TypeError(pVr("invalid argument. First argument must have a recognized data type. Value: `%s`.",n));return new r.constructor(n,t,i,s,vVr(i,s),o)}pL.exports=yVr});var hL=l((Nde,mL)=>{"use strict";var mVr=yL();mL.exports=mVr});var bL=l((Dde,gL)=>{"use strict";var Sr=Ot(),wr={};Sr(wr,"assert",t_());Sr(wr,"assign",Ku());Sr(wr,"binaryLoopOrder",Bj());Sr(wr,"binaryBlockSize",Mj());Sr(wr,"bind2vind",rT());Sr(wr,"broadcastArray",mo());Sr(wr,"broadcastArrays",lT());Sr(wr,"broadcastScalar",yT());Sr(wr,"broadcastShapes",bi());Sr(wr,"buffer",Ia());Sr(wr,"bufferCtors",no());Sr(wr,"bufferDataType",ws());Sr(wr,"bufferDataTypeEnum",bT());Sr(wr,"bytesPerElement",Ka());Sr(wr,"char2dtype",NT());Sr(wr,"clampIndex",us());Sr(wr,"ndarray",ra());Sr(wr,"data",nt());Sr(wr,"dtype",Ye());Sr(wr,"dtypeChar",af());Sr(wr,"dtypeDesc",PT());Sr(wr,"dtypeEnum2Str",cs());Sr(wr,"dtypeResolveEnum",sf());Sr(wr,"dtypeResolveStr",Oa());Sr(wr,"dtypeStr2Enum",oo());Sr(wr,"dtype2c",YT());Sr(wr,"dtypes2signatures",vf());Sr(wr,"empty",DO());Sr(wr,"emptyLike",zO());Sr(wr,"expandDimensions",GO());Sr(wr,"flag",Yu());Sr(wr,"flags",co());Sr(wr,"fliplr",f7());Sr(wr,"flipud",m7());Sr(wr,"forEach",xD());Sr(wr,"scalar2ndarray",ED());Sr(wr,"ind",it());Sr(wr,"ind2sub",Si());Sr(wr,"iterationOrder",ba());Sr(wr,"maxViewBufferIndex",TD());Sr(wr,"maybeBroadcastArray",wf());Sr(wr,"maybeBroadcastArrays",zD());Sr(wr,"metaDataProps",LD());Sr(wr,"minViewBufferIndex",GD());Sr(wr,"minmaxViewBufferIndex",Ha());Sr(wr,"ndarraylike2ndarray",JD());Sr(wr,"ndarraylike2object",Yt());Sr(wr,"ndims",Ra());Sr(wr,"nextCartesianIndex",Je());Sr(wr,"nonsingletonDimensions",tk());Sr(wr,"normalizeIndex",ca());Sr(wr,"nullary",PR());Sr(wr,"nullaryLoopOrder",Hr());Sr(wr,"nullaryBlockSize",Zr());Sr(wr,"numel",Wr());Sr(wr,"numelDimension",Af());Sr(wr,"offset",$a());Sr(wr,"order",oa());Sr(wr,"outputPolicyEnum2Str",Us());Sr(wr,"outputPolicyResolveEnum",nV());Sr(wr,"outputPolicyResolveStr",lV());Sr(wr,"outputPolicyStr2Enum",Ms());Sr(wr,"prependSingletonDimensions",bV());Sr(wr,"removeSingletonDimensions",jV());Sr(wr,"reverse",NV());Sr(wr,"reverseDimension",Fs());Sr(wr,"serializeMetaData",FV());Sr(wr,"shape",_e());Sr(wr,"shape2strides",Ve());Sr(wr,"singletonDimensions",MV());Sr(wr,"slice",pe());Sr(wr,"sliceAssign",Gs());Sr(wr,"sliceDimension",Of());Sr(wr,"sliceDimensionFrom",If());Sr(wr,"sliceDimensionTo",Nf());Sr(wr,"sliceFrom",Df());Sr(wr,"sliceTo",kf());Sr(wr,"stride",Rf());Sr(wr,"strides",ya());Sr(wr,"strides2offset",Me());Sr(wr,"strides2order",kt());Sr(wr,"sub2ind",Vf());Sr(wr,"ndarray2array",zf());Sr(wr,"transpose",Oz());Sr(wr,"unary",hP());Sr(wr,"unaryBy",oL());Sr(wr,"unaryLoopOrder",Rr());Sr(wr,"unaryOutputDataType",uL());Sr(wr,"unaryBlockSize",kr());Sr(wr,"vind2bind",ia());Sr(wr,"wrapIndex",fs());Sr(wr,"zeros",dL());Sr(wr,"zerosLike",hL());gL.exports=wr});var qL=l((kde,xL)=>{"use strict";var hVr=se(),gVr=Ne(),bVr=me().isPrimitive,Eo=xt(),xVr=Na(),qVr=ie(),wVr=Ma(),SVr=bt(),EVr=Ga(),AVr=ot(),Ao=cr();function _Vr(r,e){var a,t,o,i,s,n,v,u,f;if(!hVr(r))throw new TypeError(Ao("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!gVr(e))throw new TypeError(Ao("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(s=e.length,o=qVr(r),n=o.length,s<n)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=[],u=0;u<s;u++)a.push(0);for(i=wVr(r),u=s-1;u>=0;u--)if(f=n-s+u,!(f<0)){if(v=o[f],t=e[u],!bVr(t))throw new TypeError(Ao("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(t!==0&&t<v)throw new Error(Ao("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.",Eo(o).join(", "),Eo(e).join(", "),u));if(v===t)a[u]=i[f];else if(v===1)a[u]=0;else throw new Error(Ao("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Eo(o).join(", "),Eo(e).join(", "),u))}return new r.constructor(xVr(r),AVr(r),Eo(e),a,SVr(r),EVr(r),{readonly:!0})}xL.exports=_Vr});var $s=l((Rde,wL)=>{"use strict";var jVr=qL();wL.exports=jVr});var AL=l((Vde,EL)=>{"use strict";var TVr=se(),OVr=ze(),IVr=bi(),NVr=$s(),DVr=ie(),SL=cr();function kVr(r){var e,a,t,o,i,s,n;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);else if(TVr(r))t=[r];else if(OVr(r))t=r;else throw new TypeError(SL("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(s=t.length,e=[],n=0;n<s;n++)try{e.push(DVr(t[n]))}catch{throw new TypeError(SL("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[n]))}if(i=IVr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],n=0;n<s;n++)o.push(NVr(t[n],i));return o}EL.exports=kVr});var Bf=l((zde,_L)=>{"use strict";var RVr=AL();_L.exports=RVr});var Pf=l((Bde,jL)=>{"use strict";var VVr=ve().isPrimitive;function zVr(r){return VVr(r)&&r>0}jL.exports=zVr});var Ff=l((Pde,TL)=>{"use strict";var BVr=ve().isObject;function PVr(r){return BVr(r)&&r.valueOf()>0}TL.exports=PVr});var IL=l((Fde,OL)=>{"use strict";var FVr=Pf(),LVr=Ff();function CVr(r){return FVr(r)||LVr(r)}OL.exports=CVr});var Ys=l((Lde,DL)=>{"use strict";var NL=Tr(),Lf=IL(),UVr=Pf(),MVr=Ff();NL(Lf,"isPrimitive",UVr);NL(Lf,"isObject",MVr);DL.exports=Lf});var RL=l((Cde,kL)=>{"use strict";var GVr=Ho(),$Vr=Fe(),YVr=GVr($Vr);kL.exports=YVr});var zL=l((Ude,VL)=>{"use strict";function WVr(r,e,a,t,o,i,s,n,v){var u,f,c,p;for(u=i,c=0;c<r;c++){for(f=v,p=0;p<e&&a[u+p*o]===s[f];p++)f+=n;if(p===e)return c;u+=t}return-1}VL.exports=WVr});var CL=l((Mde,LL)=>{"use strict";var BL=me().isPrimitive,JVr=Ys(),XVr=ve().isPrimitive,KVr=RL(),HVr=Fe(),PL=Ne(),ZVr=se(),wt=cr(),QVr=Na(),FL=sf(),rzr=zL();function ezr(r){var e,a;for(e=[],a=0;a<r.length;a++)e.push(FL(r[a]));return e}function azr(r,e,a,t,o,i){var s,n,v;if(HVr(r))v=r;else if(!KVr(r))throw new TypeError(wt("invalid argument. First argument must be either a function or an array of functions. Value: `%s`.",r));if(!PL(e))throw new TypeError(wt("invalid argument. Second argument must be an array-like object. Value: `%s`.",e));if(!PL(a)&&a!==null)throw new TypeError(wt("invalid argument. Third argument must be an array-like object or null. Value: `%s`.",a));if(!JVr(t))throw new TypeError(wt("invalid argument. Fourth argument must be a positive integer. Value: `%s`.",t));if(!BL(o))throw new TypeError(wt("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!BL(i))throw new TypeError(wt("invalid argument. Sixth argument must be a nonnegative integer. Value: `%s`.",i));if(s=o+i,s===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!==s)throw new Error("invalid arguments. Fourth argument does not equal the number of input and output ndarrays.");if(v){if(n=e.length/s,!XVr(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.")}else if(n=r.length,e.length!==n*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.");if(a&&a.length!==n)throw new Error("invalid argument. The third argument must have the same number of elements as the first argument.");return e=ezr(e),u;function u(){var f,c,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=[],c=[],h=0;h<t;h++){if(d=arguments[h],!ZVr(d))throw h<o?new TypeError(wt("invalid argument. Input array must be an ndarray-like object. Value: `%s`.",d)):new TypeError(wt("invalid argument. Output array must be an ndarray-like object. Value: `%s`.",d));f.push(d),c.push(FL(QVr(d)))}if(m=rzr(n,s,e,s,1,0,c,1,0),m<0)throw new TypeError("invalid arguments. Unable to resolve an ndarray function supporting the provided array argument data types.");if(v?y=v:y=r[m],a?y(f,a[m]):y(f),i===1)return f[s-1];if(i!==0)return f.slice(o)}}LL.exports=azr});var ML=l((Gde,UL)=>{"use strict";var tzr=CL();UL.exports=tzr});var JL=l(($de,WL)=>{"use strict";var izr=oe(),Ws=Jr(),ozr=Ko(),szr=Ve(),nzr=Me(),vzr=ho(),uzr=Ua(),fzr=Wr(),lzr=da(),YL=Ta(),Cf=cr(),GL=YL.get("dtypes.default"),$L=YL.get("order");function czr(r){var e,a,t,o,i,s,n,v,u;if(i={},arguments.length>1){if(e=arguments[1],!izr(e))throw new TypeError(Cf("invalid argument. Options argument must be an object. Value: `%s`.",e));Ws(e,"dtype")?a=e.dtype:a=GL,Ws(e,"order")?t=e.order:t=$L,Ws(e,"mode")&&(i.mode=e.mode),Ws(e,"submode")&&(i.submode=e.submode)}else a=GL,t=$L;if(typeof r=="number")u=[r];else if(ozr(r))u=r;else throw new TypeError(Cf("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=u.length,o>0){if(n=fzr(u),n!==n||n<0)throw new TypeError(Cf("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));v=szr(u,t)}else n=1,v=[0];return a==="binary"?s=uzr(n):s=vzr(n,a),new lzr(a,s,u,v,nzr(u,v),t,i)}WL.exports=czr});var KL=l((Yde,XL)=>{"use strict";var dzr=JL();XL.exports=dzr});var eC=l((Wde,rC)=>{"use strict";var pzr=se(),yzr=oe(),mzr=Ct().primitives,_o=Jr(),hzr=Ve(),gzr=Me(),bzr=Wr(),HL=Na(),ZL=ie(),QL=Ga(),xzr=da(),qzr=ho(),wzr=Ua(),Uf=cr();function Szr(r){var e,a,t,o,i,s,n,v,u;if(!pzr(r))throw new TypeError(Uf("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!yzr(e))throw new TypeError(Uf("invalid argument. Options argument must be an object. Value: `%s`.",e));if(_o(e,"dtype")?a=e.dtype:a=HL(r),_o(e,"shape")){if(u=e.shape,typeof u=="number"&&(u=[u]),!mzr(u))throw new TypeError(Uf("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",u))}else u=ZL(r);_o(e,"order")?t=e.order:t=QL(r),_o(e,"mode")&&(i.mode=e.mode),_o(e,"submode")&&(i.submode=e.submode)}else a=HL(r),u=ZL(r),t=QL(r);return o=u.length,o>0?(n=bzr(u),v=hzr(u,t)):(n=1,v=[0]),a==="binary"?s=wzr(n):s=qzr(n,a),new xzr(a,s,u,v,gzr(u,v),t,i)}rC.exports=Szr});var tC=l((Jde,aC)=>{"use strict";var Ezr=eC();aC.exports=Ezr});var oC=l((Xde,iC)=>{"use strict";var Azr=eval;iC.exports=Azr});var nC=l((Kde,sC)=>{"use strict";var _zr=oC();function jzr(){var r;try{_zr('"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}sC.exports=jzr});var uC=l((Hde,vC)=>{"use strict";var Tzr=nC();vC.exports=Tzr});var lC=l((Zde,fC)=>{"use strict";var Ozr=typeof Proxy>"u"?null:Proxy;fC.exports=Ozr});var dC=l((Qde,cC)=>{"use strict";function Izr(r){return r}cC.exports=Izr});var yC=l((r0e,pC)=>{"use strict";var Nzr=uC(),Dzr=lC(),kzr=dC(),Mf;Nzr()?Mf=Dzr:Mf=kzr;pC.exports=Mf});var hC=l((e0e,mC)=>{"use strict";var Rzr=typeof String.prototype.trim<"u";mC.exports=Rzr});var Gf=l((a0e,gC)=>{"use strict";var Vzr=String.prototype.trim;gC.exports=Vzr});var wC=l((t0e,qC)=>{"use strict";var bC=Gf(),zzr=`
|
|
2
|
-
\r
|
|
3
|
-
\f\v\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,xC="\u180E";function Bzr(){return bC.call(zzr)===""&&bC.call(xC)===xC}qC.exports=Bzr});var EC=l((i0e,SC)=>{"use strict";var Pzr=Za(),Fzr=/^[\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 Lzr(r){return Pzr(r,Fzr,"$1")}SC.exports=Lzr});var _C=l((o0e,AC)=>{"use strict";var Czr=Gf();function Uzr(r){return Czr.call(r)}AC.exports=Uzr});var St=l((s0e,jC)=>{"use strict";var Mzr=hC(),Gzr=wC(),$zr=EC(),Yzr=_C(),$f;Mzr&&Gzr()?$f=Yzr:$f=$zr;jC.exports=$f});var IC=l((n0e,OC)=>{"use strict";var Wzr=St(),Jzr=Pe(),Yf="Slice(",TC=3,Xzr=/\s*,\s*/,Kzr=/^-?[0-9]+$/;function Hzr(r){var e,a,t,o,i;if(r.substring(0,Yf.length)!==Yf||(t=r.length-1,r[t]!==")")||(r=Wzr(r.substring(Yf.length,t)),r=r.split(Xzr),r.length!==TC))return null;for(e=[],i=0;i<TC;i++){if(o=r[i],o==="null")a=null;else if(Kzr.test(o))a=parseInt(o,10);else return null;e.push(a)}return new Jzr(e[0],e[1],e[2])}OC.exports=Hzr});var Js=l((v0e,NC)=>{"use strict";var Zzr=IC();NC.exports=Zzr});var kC=l((u0e,DC)=>{"use strict";var Qzr=St(),rBr=Js(),eBr=Wa(),aBr=he(),Wf="MultiSlice(",tBr=/\s*,\s*/,iBr=/^-?[0-9]+$/;function oBr(r){var e,a,t,o,i;if(r.substring(0,Wf.length)!==Wf||(t=r.length-1,r[t]!==")"))return null;if(r=Qzr(r.substring(Wf.length,t)),r=r.split(tBr),t=r.length,t===1&&r[0]==="")return new eBr;for(e=[],i=0;i<t;i++){if(o=r[i],o[0]==="S"){if(o=r.slice(i,i+3).join(","),a=rBr(o),a===null)return null;i+=2}else if(o==="null")a=null;else if(iBr.test(o))a=parseInt(o,10);else return null;e.push(a)}return aBr(e)}DC.exports=oBr});var jo=l((f0e,RC)=>{"use strict";var sBr=kC();RC.exports=sBr});var zC=l((l0e,VC)=>{"use strict";var nBr=/(?:\s*-\s*)(?=\d+)(\d+)$/;VC.exports=nBr});var PC=l((c0e,BC)=>{"use strict";var vBr=/(?:\s*\/\s*)(?=\d*\.?\d+)(\d*\.?\d+)$/;BC.exports=vBr});var CC=l((d0e,LC)=>{"use strict";var FC=Ze(),uBr=zC(),fBr=PC();function lBr(r,e,a,t){var o;if(r==="end")return e;if(o=r.match(uBr),o){if(r=e-parseInt(o[1],10),r<0){if(t)return-2;r=0}return r}return o=r.match(fBr),o?(r=parseFloat(o[1]),r<1?t?-2:-1:a&&e>0&&r!==1?FC((e-1)/r):FC(e/r)):-1}LC.exports=lBr});var MC=l((p0e,UC)=>{"use strict";var cBr=/\s*:\s*/;UC.exports=cBr});var $C=l((y0e,GC)=>{"use strict";var dBr=/^[-+]?[0-9]+$/;GC.exports=dBr});var WC=l((m0e,YC)=>{"use strict";var pBr=/^end/;YC.exports=pBr});var XC=l((h0e,JC)=>{"use strict";function yBr(){return{code:"ERR_SLICE_INVALID_SUBSEQUENCE"}}JC.exports=yBr});var HC=l((g0e,KC)=>{"use strict";function mBr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}KC.exports=mBr});var QC=l((b0e,ZC)=>{"use strict";function hBr(){return{code:"ERR_SLICE_INVALID_INCREMENT"}}ZC.exports=hBr});var iU=l((x0e,tU)=>{"use strict";var rU=Pe(),gBr=St(),eU=CC(),bBr=MC(),Jf=$C(),aU=WC(),ji=XC(),Wt=HC(),xBr=QC();function qBr(r,e,a){var t,o,i;if(t=gBr(r).split(bBr),o=t.length,o<2||o>3)return ji();if(o===3)if(i=t[2],i.length===0)t[2]=1;else{if(Jf.test(i)===!1)return ji();if(i=parseInt(i,10),i===0)return xBr();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(aU.test(i)){if(i=eU(i,e,t[2]<0,a),i<0)return i===-2?Wt():ji();t[2]<0&&i>=e&&(i-=1),t[0]=i}else if(Jf.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0){if(a)return Wt();i=0}}else if(i>=e){if(a)return Wt();t[2]<0?i=e-1:i=e}t[0]=i}else return ji();if(i=t[1],i.length===0)t[2]<0?t[1]=null:t[1]=e;else if(aU.test(i)){if(i=eU(i,e,t[2]<0,a),i<0)return i===-2?Wt():ji();t[1]=i}else if(Jf.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0)if(t[2]>0){if(a)return Wt();i=0}else{if(a&&i<-1)return Wt();i=null}}else if(i>e){if(a)return Wt();i=e}t[1]=i}else return ji();return e===0?new rU(0,0,t[2]):new rU(t[0],t[1],t[2])}tU.exports=qBr});var sU=l((q0e,oU)=>{"use strict";var wBr=iU();oU.exports=wBr});var vU=l((w0e,nU)=>{"use strict";function SBr(){return{code:"ERR_SLICE_INVALID_ELLIPSIS"}}nU.exports=SBr});var fU=l((S0e,uU)=>{"use strict";function EBr(){return{code:"ERR_SLICE_INSUFFICIENT_DIMENSIONS"}}uU.exports=EBr});var cU=l((E0e,lU)=>{"use strict";function ABr(){return{code:"ERR_SLICE_TOO_MANY_DIMENSIONS"}}lU.exports=ABr});var pU=l((A0e,dU)=>{"use strict";function _Br(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}dU.exports=_Br});var mU=l((_0e,yU)=>{"use strict";var jBr=/\s*,\s*/;yU.exports=jBr});var gU=l((j0e,hU)=>{"use strict";var TBr=/^[-+]?[0-9]+$/;hU.exports=TBr});var qU=l((T0e,xU)=>{"use strict";var OBr=St(),IBr=Pe(),NBr=he(),DBr=sU(),kBr=vU(),RBr=fU(),VBr=cU(),bU=pU(),zBr=mU(),BBr=gU();function PBr(r,e,a){var t,o,i,s,n,v,u,f,c,p;for(n=e.length,t=OBr(r).split(zBr),v=t.length,i=!1,o=[],c=0,f=0;f<v;f++){if(u=t[f],u==="..."){if(i)return kBr();for(i=!0,p=0;p<n-v+1;p++)o.push(new IBr(0,e[c],1)),c+=1;continue}if(s=e[c],BBr.test(u)){if(u=parseInt(u,10),a){if(u<0){if(s+u<0)return bU()}else if(u>=s)return bU()}c+=1}else{if(u=DBr(u,s,a),u.code)return u;c+=1}o.push(u)}return o.length!==n?o.length<n?RBr():VBr():NBr(o)}xU.exports=PBr});var Xs=l((O0e,wU)=>{"use strict";var FBr=qU();wU.exports=FBr});var Xf=l((I0e,SU)=>{"use strict";var LBr=/^-?[0-9]+$/;SU.exports=LBr});var Kf=l((N0e,EU)=>{"use strict";var CBr=/:/;EU.exports=CBr});var _U=l((D0e,AU)=>{"use strict";var UBr=St(),MBr=Za(),Hf=Wa(),GBr=jo(),$Br=Xs(),YBr=Js(),Jt=cr(),WBr=Xf(),JBr=Kf();function XBr(r,e){var a,t,o,i;if(t=UBr(e),o=t[0],o==="S"){if(i=YBr(e),i===null)throw new Error(Jt("invalid operation. Unsupported slice operation. Value: `%s`.",e));i=new Hf(i)}else if(o==="M"){if(i=GBr(t),i===null)throw new Error(Jt("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(WBr.test(t))i=parseInt(t,10),i=new Hf(i);else if(JBr.test(t)){if(a=r.shape,i=$Br(t,a,!0),i.code)throw i.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(Jt("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(Jt("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(Jt("invalid operation. Unsupported slice operation. Value: `%s`.",e)):new RangeError(Jt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",a.join(","),MBr(t,/\.\.\.,/,"").split(",").length))}else if(t.length===0||t==="...")i=new Hf;else throw new Error(Jt("invalid operation. Unsupported slice operation. Value: `%s`.",e));return i}AU.exports=XBr});var IU=l((k0e,OU)=>{"use strict";var KBr=St(),HBr=Za(),jU=Wa(),ZBr=jo(),TU=Xs(),QBr=Js(),Et=cr(),rPr=Xf();function ePr(r,e,a){var t,o,i,s;if(o=KBr(e),i=o[0],i==="S"){if(s=QBr(e),s===null)throw new Error(Et("invalid operation. Unsupported slice operation. Value: `%s`.",e));s=new jU(s)}else if(i==="M"){if(s=ZBr(o),s===null)throw new Error(Et("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(rPr.test(o))s=parseInt(o,10),s=new jU(s);else if(o.length>0){if(t=r.shape,s=TU(o,t,!0),s.code){if(s.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Et("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(s.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Et("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(s.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Et("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(s.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(Et("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),HBr(o,/\.\.\.,/,"").split(",").length));if(s.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Et("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));s=TU(o,t,!1)}}}else throw new RangeError(Et("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 s}OU.exports=ePr});var DU=l((R0e,NU)=>{"use strict";var Ks=Za(),aPr=jo();function tPr(r){return r=Ks(r,/^,/,"null,"),r=Ks(r,/,$/,",null"),r=Ks(r,/,(?=,)/g,",null"),r=Ks(r,/undefined/g,"null"),aPr("MultiSlice("+r+")")}NU.exports=tPr});var RU=l((V0e,kU)=>{"use strict";var iPr=DU();kU.exports=iPr});var BU=l((z0e,zU)=>{"use strict";var oPr=St(),sPr=jo(),VU=Xs(),nPr=RU(),Ti=cr(),vPr=Kf();function uPr(r,e,a){var t,o,i,s;if(o=oPr(e),i=o[0],i==="M"){if(s=sPr(o),s===null)throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(vPr.test(o)||o==="..."){if(t=r.shape,s=VU(o,t,!0),s.code){if(s.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Ti("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(s.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Ti("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(s.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(s.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Ti("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));s=VU(o,t,!1)}}}else if(s=nPr(o),s===null)throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));return s}zU.exports=uPr});var FU=l((B0e,PU)=>{"use strict";var fPr=typeof Object.getOwnPropertyNames<"u";PU.exports=fPr});var UU=l((P0e,CU)=>{"use strict";var LU=Nt(),lPr=LU.getOwnPropertyNames;function cPr(r){return lPr(LU(r))}CU.exports=cPr});var GU=l((F0e,MU)=>{"use strict";var dPr=Nt(),pPr=xa();function yPr(r){return pPr(dPr(r))}MU.exports=yPr});var YU=l((L0e,$U)=>{"use strict";var mPr=FU(),hPr=UU(),gPr=GU(),Zf;mPr?Zf=hPr:Zf=gPr;$U.exports=Zf});var XU=l((C0e,JU)=>{"use strict";var bPr=Gu(),xPr=YU(),qPr=Dt(),wPr=Nt();function WU(r,e){var a;for(a=0;a<r.length;a++)if(r[a]===e)return!0;return!1}function SPr(r){var e,a,t,o;if(r==null)return[];a=wPr(r),e=[];do{for(t=xPr(a),o=0;o<t.length;o++)WU(e,t[o])===!1&&e.push(t[o]);for(t=bPr(a),o=0;o<t.length;o++)WU(e,t[o])===!1&&e.push(t[o]);a=qPr(a)}while(a);return e}JU.exports=SPr});var HU=l((U0e,KU)=>{"use strict";var EPr=XU();KU.exports=EPr});var Qf=l((M0e,ZU)=>{"use strict";var APr=HU(),_Pr=Be().factory,jPr=da(),TPr=Ta(),OPr=_Pr(APr(new jPr("generic",[0],[],[0],0,TPr.get("order"))));ZU.exports=OPr});var rM=l((G0e,QU)=>{"use strict";var IPr=Fe();function NPr(r,e,a){var t=r[e];if(IPr(t))return o;return t;function o(){var i,s;for(i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);return t.apply(this===a?r:this,i)}}QU.exports=NPr});var rl=l(($0e,eM)=>{"use strict";var DPr=Za();function kPr(r){return DPr(r,/^invalid argument/,"invalid operation")}eM.exports=kPr});var tM=l((Y0e,aM)=>{"use strict";var RPr=Dt(),VPr=ye();function zPr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof Error)return!0;for(;r;){if(VPr(r)==="[object Error]")return!0;r=RPr(r)}return!1}aM.exports=zPr});var Xt=l((W0e,iM)=>{"use strict";var BPr=tM();iM.exports=BPr});var sM=l((J0e,oM)=>{"use strict";var PPr=Dt(),FPr=ei(),LPr=Xt();function CPr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof RangeError)return!0;if(LPr(r))for(;r;){if(FPr(r)==="rangeerror")return!0;r=PPr(r)}return!1}oM.exports=CPr});var vM=l((X0e,nM)=>{"use strict";var UPr=sM();nM.exports=UPr});var fM=l((K0e,uM)=>{"use strict";var MPr=Dt(),GPr=ei(),$Pr=Xt();function YPr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof TypeError)return!0;if($Pr(r))for(;r;){if(GPr(r)==="typeerror")return!0;r=MPr(r)}return!1}uM.exports=YPr});var cM=l((H0e,lM)=>{"use strict";var WPr=fM();lM.exports=WPr});var pM=l((Z0e,dM)=>{"use strict";var JPr=Dt(),XPr=ei(),KPr=Xt();function HPr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof SyntaxError)return!0;if(KPr(r))for(;r;){if(XPr(r)==="syntaxerror")return!0;r=JPr(r)}return!1}dM.exports=HPr});var mM=l((Q0e,yM)=>{"use strict";var ZPr=pM();yM.exports=ZPr});var el=l((rpe,hM)=>{"use strict";var QPr=vM(),rFr=cM(),eFr=mM();function aFr(r){return QPr(r)?RangeError:rFr(r)?TypeError:eFr(r)?SyntaxError:Error}hM.exports=aFr});var bM=l((epe,gM)=>{"use strict";var tFr=pe(),iFr=rl(),oFr=el();function sFr(r,e,a,t){var o,i,s;o=!1,s=t(r,e,o);try{return tFr(a,s,o,!1)}catch(n){throw i=oFr(n),new i(iFr(n.message))}}gM.exports=sFr});var qM=l((ape,xM)=>{"use strict";var nFr=Qf(),vFr=rM(),uFr=bM();function fFr(r){return e;function e(a,t,o){return nFr(t)?vFr(a,t,o):uFr(a,t,o,r)}}xM.exports=fFr});var SM=l((tpe,wM)=>{"use strict";function lFr(r,e,a){return r[e]=a,!0}wM.exports=lFr});var AM=l((ipe,EM)=>{"use strict";var cFr=Mo();function dFr(r){return r===0&&1/r===cFr}EM.exports=dFr});var jM=l((ope,_M)=>{"use strict";var pFr=AM();_M.exports=pFr});var OM=l((spe,TM)=>{"use strict";var yFr=1401298464324817e-60;TM.exports=yFr});var NM=l((npe,IM)=>{"use strict";var mFr=16777215;IM.exports=mFr});var kM=l((vpe,DM)=>{"use strict";var hFr=-16777215;DM.exports=hFr});var FM=l((upe,PM)=>{"use strict";var gFr=Ue().isPrimitive,bFr=de().isPrimitive,VM=ga(),xFr=jM(),qFr=na(),zM=Fi(),BM=Mo(),Hs=OM(),wFr=NM(),SFr=kM(),EFr=ru(),AFr=Kv(),_Fr=Wv(),jFr=fv(),TFr=dv(),OFr=Yo();function RM(r){return r!==r||r===zM||r===BM?"float32":VM(r)?r>=SFr&&r<=wFr?"float32":"float64":r>-Hs&&r<Hs?"float64":"float32"}function IFr(r){return gFr(r)?r!==r||r===zM||r===BM?"float32":VM(r)?r===0&&xFr(r)?"float32":r<0?r>=EFr?"int8":r>=AFr?"int16":r>=_Fr?"int32":"float64":r<=jFr?"uint8":r<=TFr?"uint16":r<=OFr?"uint32":"float64":r>-Hs&&r<Hs?"float64":"float32":bFr(r)?"bool":qFr(r)?RM(r.re)==="float64"||RM(r.im)==="float64"?"complex128":"complex64":"generic"}PM.exports=IFr});var al=l((fpe,LM)=>{"use strict";var NFr=FM();LM.exports=NFr});var UM=l((lpe,CM)=>{"use strict";var DFr={Complex64:"complex64",Complex128:"complex128"};CM.exports=DFr});var MM=l((cpe,kFr)=>{kFr.exports=["complex64","complex128"]});var $M=l((dpe,GM)=>{"use strict";var RFr=MM();function VFr(){return RFr.slice()}GM.exports=VFr});var WM=l((ppe,YM)=>{"use strict";var zFr=$M();YM.exports=zFr});var tl=l((ype,JM)=>{"use strict";var BFr=WM(),PFr=BFr();JM.exports=PFr});var ZM=l((mpe,HM)=>{"use strict";var FFr=_s(),XM=tl(),KM=[],Zs;for(Zs=0;Zs<XM.length;Zs++)KM.push(FFr(XM[Zs]));HM.exports=KM});var e9=l((hpe,r9)=>{"use strict";var LFr=pt(),CFr=UM(),UFr=ZM(),QM=tl(),MFr=QM.length;function GFr(r){var e;for(e=0;e<MFr;e++)if(r instanceof UFr[e])return QM[e];return CFr[LFr(r)]||null}r9.exports=GFr});var il=l((gpe,a9)=>{"use strict";var $Fr=e9();a9.exports=$Fr});var t9=l((bpe,YFr)=>{YFr.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 n9=l((xpe,s9)=>{"use strict";var WFr=Za(),i9=t9(),o9=/_and_generic$/;function JFr(){var r,e,a;return arguments.length===0?i9.all.slice():(a=!1,r=arguments[0],o9.test(r)&&(r=WFr(r,o9,""),r!=="all"&&(a=!0)),e=i9[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}s9.exports=JFr});var ol=l((qpe,v9)=>{"use strict";var XFr=n9();v9.exports=XFr});var f9=l((wpe,u9)=>{"use strict";var KFr=Be().factory,HFr=ol(),ZFr=KFr(HFr("complex_floating_point"));u9.exports=ZFr});var Qs=l((Spe,l9)=>{"use strict";var QFr=f9();l9.exports=QFr});var p9=l((Epe,d9)=>{"use strict";var sl=Jr(),rLr=oe(),eLr=Ue().isPrimitive,aLr=Qs(),tLr=na(),iLr=de().isPrimitive,oLr=rt(),sLr=hi(),nLr=mi(),vLr=Ia(),uLr=da(),rn=Ta(),fLr=il(),c9=cr(),lLr=rn.get("order"),cLr=rn.get("dtypes.real_floating_point"),dLr=rn.get("dtypes.complex_floating_point"),pLr=rn.get("dtypes.boolean");function yLr(r){var e,a,t,o,i,s,n;if(a={dtype:"",order:lLr,readonly:!1},arguments.length>1){if(e=arguments[1],!rLr(e))throw new TypeError(c9("invalid argument. Options argument must be an object. Value: `%s`.",e));sl(e,"dtype")&&(a.dtype=e.dtype),sl(e,"order")&&(a.order=e.order),sl(e,"readonly")&&(a.readonly=e.readonly)}if(o=eLr(r),a.dtype===""?o?s=cLr:iLr(r)?s=pLr:tLr(r)?(s=fLr(r),s===null&&(s=dLr)):s="generic":s=a.dtype,t=vLr(s,1),t===null)throw new TypeError(c9("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",s));return aLr(s)&&o?n=[r,0]:n=r,oLr(t)?i=sLr(s):i=nLr(s),i(t,0,n),new uLr(s,t,[],[0],0,a.order,a)}d9.exports=yLr});var nl=l((Ape,y9)=>{"use strict";var mLr=p9();y9.exports=mLr});var g9=l((_pe,h9)=>{"use strict";var hLr=Gs(),gLr=se(),bLr=Ue().isPrimitive,xLr=ve().isPrimitive,qLr=na(),wLr=lo(),SLr=Os(),ELr=ks(),ALr=Ds(),m9=ys(),_Lr=Qv(),jLr=Xv(),TLr=Yv(),en=al(),OLr=il(),Oi=nl(),Kt=cr(),ILr=rl(),NLr=el();function Ii(r){return{dtype:r}}function DLr(r,e,a,t,o){var i,s,n,v,u;if(!gLr(a))if(n=r.dtype,n==="generic")a=Oi(a,Ii(n));else if(bLr(a))if(SLr(n))a=Oi(a,Ii(n));else if(ELr(n))if(s=en(a),m9(s,n))a=Oi(a,Ii(n));else throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",s,n));else if(ALr(n)){if(!xLr(a))throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",en(a),n));if(a<0?s=en(a):a<=_Lr?s="int8":a<=jLr?s="int16":a<=TLr?s="int32":s="float64",m9(s,n))a=Oi(a,Ii(n));else throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",s,n))}else if(n==="binary")if(s=en(a),s==="uint8")a=Oi(a,Ii(n));else throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",s,n));else throw new TypeError(Kt("invalid operation. Unsupported target array data type. Data type: `%s`.",n));else if(qLr(a)){if(!wLr(n))throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",OLr(a),n));a=Oi(a,Ii(n))}else throw new TypeError(Kt("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",typeof a,n));i=!1,u=o(r,e,i);try{return hLr(a,t,u,i),!0}catch(f){throw v=NLr(f),new v(ILr(f.message))}}h9.exports=DLr});var x9=l((jpe,b9)=>{"use strict";var kLr=Qf(),RLr=SM(),VLr=g9();function zLr(r){return e;function e(a,t,o,i){return kLr(t)?RLr(a,t,o):VLr(a,t,o,i,r)}}b9.exports=zLr});var j9=l((Tpe,_9)=>{"use strict";var BLr=Tr(),w9=da(),PLr=gu(),q9=yC(),S9=_U(),E9=IU(),A9=BU(),vl=qM(),ul=x9(),FLr=vl(S9),LLr=ul(S9),CLr=vl(E9),ULr=ul(E9),MLr=vl(A9),GLr=ul(A9);function Ni(r,e,a,t,o,i,s){var n,v,u;return v=arguments.length,this instanceof Ni?(w9.call(this,r,e,a,t,o,i,v<7?{}:s),q9?(u=a.length,n={},u===0?(n.get=FLr,n.set=LLr):u===1?(n.get=CLr,n.set=ULr):(n.get=MLr,n.set=GLr),new q9(this,n)):(console.warn("WARNING: Proxy objects are not supported in the current environment. Some `FancyArray` functionality may not be available."),this)):v<7?new Ni(r,e,a,t,o,i):new Ni(r,e,a,t,o,i,s)}PLr(Ni,w9);BLr(Ni,"name","ndarray");_9.exports=Ni});var O9=l((Ope,T9)=>{"use strict";var $Lr=j9();T9.exports=$Lr});var fl=l((Ipe,I9)=>{"use strict";function YLr(r){return typeof r=="symbol"}I9.exports=YLr});var D9=l((Npe,N9)=>{"use strict";function WLr(r){return Symbol.prototype.toString.call(r)}N9.exports=WLr});var R9=l((Dpe,k9)=>{"use strict";var JLr=D9(),XLr=/^Symbol\(.*\)$/;function KLr(r){try{return typeof r.valueOf()=="symbol"&&XLr.test(JLr(r))}catch{return!1}}k9.exports=KLr});var ll=l((kpe,V9)=>{"use strict";var HLr=ye(),ZLr=R9();function QLr(r){return typeof r=="object"&&HLr(r)==="[object Symbol]"&&ZLr(r)}V9.exports=QLr});var B9=l((Rpe,z9)=>{"use strict";var rCr=fl(),eCr=ll();function aCr(r){return rCr(r)||eCr(r)}z9.exports=aCr});var L9=l((Vpe,F9)=>{"use strict";var P9=Tr(),cl=B9(),tCr=fl(),iCr=ll();P9(cl,"isPrimitive",tCr);P9(cl,"isObject",iCr);F9.exports=cl});var U9=l((zpe,C9)=>{"use strict";function oCr(r){return e;function e(){return r}}C9.exports=oCr});var G9=l((Bpe,M9)=>{"use strict";var sCr=U9();M9.exports=sCr});var W9=l((Ppe,Y9)=>{"use strict";var $9=Tr(),dl=G9(),pl=dl(!1),nCr=dl(!1),vCr=dl(!1);$9(pl,"isPrimitive",nCr);$9(pl,"isObject",vCr);Y9.exports=pl});var X9=l((Fpe,J9)=>{"use strict";var uCr=Nn(),fCr=L9(),lCr=W9(),yl;uCr()?yl=fCr:yl=lCr;J9.exports=yl});var H9=l((Lpe,K9)=>{"use strict";var cCr=za().isPrimitive,dCr=X9().isPrimitive,pCr=me().isPrimitive;function yCr(r){return cCr(r)||dCr(r)||pCr(r)}K9.exports=yCr});var Q9=l((Cpe,Z9)=>{"use strict";var mCr=H9();Z9.exports=mCr});var aG=l((Upe,eG)=>{"use strict";var hCr=Q9(),gCr=co(),rG=cr();function bCr(r,e){if(typeof r!="object"||r===null)throw new TypeError(rG("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!hCr(e))throw new TypeError(rG("invalid argument. Second argument must be a valid property name. Value: `%s`.",e));return gCr(r,!1)[e]}eG.exports=bCr});var iG=l((Mpe,tG)=>{"use strict";var xCr=aG();tG.exports=xCr});var sG=l((Gpe,oG)=>{"use strict";var qCr=co(),wCr=cr();function SCr(r){if(typeof r!="object"||r===null)throw new TypeError(wCr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return qCr(r,!0)}oG.exports=SCr});var vG=l(($pe,nG)=>{"use strict";var ECr=sG();nG.exports=ECr});var ml=l((Ype,ACr)=>{ACr.exports={mode:"throw",order:"row-major"}});var gl=l((Wpe,fG)=>{"use strict";var _Cr=oe(),uG=Jr(),jCr=wa(),TCr=pi(),hl=cr();function OCr(r,e){return _Cr(e)?uG(e,"mode")&&(r.mode=e.mode,!TCr(r.mode))?new TypeError(hl("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode)):uG(e,"order")&&(r.order=e.order,!jCr(r.order))?new TypeError(hl("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null:new TypeError(hl("invalid argument. Options argument must be an object. Value: `%s`.",e))}fG.exports=OCr});var pG=l((Jpe,dG)=>{"use strict";var ICr=Ct().primitives,NCr=ve().isPrimitive,DCr=Ve(),kCr=Si(),lG=cr(),cG=ml(),RCr=gl();function VCr(r,e,a){var t,o;if(t={},t.mode=cG.mode,t.order=cG.order,arguments.length>2&&(o=RCr(t,a),o))throw o;if(!ICr(r))throw new TypeError(lG("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!NCr(e))throw new TypeError(lG("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return kCr(r,DCr(r,t.order),0,t.order,e,t.mode)}dG.exports=VCr});var hG=l((Xpe,mG)=>{"use strict";var zCr=Ct().primitives,BCr=ve().isPrimitive,PCr=Ve(),FCr=Si().assign,an=cr(),yG=ml(),LCr=gl();function CCr(r,e,a,t){var o,i,s;if(o={},o.mode=yG.mode,o.order=yG.order,arguments.length===4){if(s=LCr(o,arguments[2]),s)throw s;if(typeof t!="object"||t===null)throw new TypeError(an("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(an("invalid argument. Output argument must be either an array, typed array, or object. Value: `%s`.",i));if(!zCr(r))throw new TypeError(an("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!BCr(e))throw new TypeError(an("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return FCr(r,PCr(r,o.order),0,o.order,e,o.mode,i)}mG.exports=CCr});var xG=l((Kpe,bG)=>{"use strict";var UCr=Tr(),gG=pG(),MCr=hG();UCr(gG,"assign",MCr);bG.exports=gG});var EG=l((Hpe,SG)=>{"use strict";var bl=Tr(),GCr=oe(),$Cr=de().isPrimitive,YCr=se(),WCr=Le(),JCr=Jr(),qG=ke(),XCr=xe(),KCr=ie(),HCr=Wr(),ZCr=pe(),QCr=Je().assign,rUr=he(),tn=cr();function wG(r){var e,a,t,o,i,s,n,v,u,f,c;if(!YCr(r))throw new TypeError(tn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!GCr(e))throw new TypeError(tn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(JCr(e,"readonly")){if(!$Cr(e.readonly))throw new TypeError(tn("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&WCr(r))throw new Error(tn("invalid option. Cannot write to read-only array."))}}if(a=KCr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=HCr(a),f===0&&(s=!0),f/=a[t-2],v=t-1,u=a[v],c=-1,n=XCr(t),n[t-2]=null,i={},bl(i,"next",p),bl(i,"return",m),qG&&bl(i,qG,d),i;function p(){var y,h,g;return c+=1,s||c>=f?{done:!0}:(y=n.slice(),h=rUr(n),g=(n[v]+1)%u,n[v]=g,g===0&&(n=QCr(a,"row-major",n,v-2,n)),{value:[y,ZCr(r,h,!0,o.writable)],done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return wG(r,o)}}SG.exports=wG});var _G=l((Zpe,AG)=>{"use strict";var eUr=EG();AG.exports=eUr});var IG=l((Qpe,OG)=>{"use strict";var xl=Tr(),aUr=oe(),tUr=de().isPrimitive,iUr=se(),oUr=Le(),sUr=Jr(),jG=ke(),nUr=xe(),vUr=ie(),uUr=Wr(),fUr=pe(),lUr=Je().assign,cUr=he(),on=cr();function TG(r){var e,a,t,o,i,s,n,v,u,f,c;if(!iUr(r))throw new TypeError(on("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!aUr(e))throw new TypeError(on("invalid argument. Options argument must be an object. Value: `%s`.",e));if(sUr(e,"readonly")){if(!tUr(e.readonly))throw new TypeError(on("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&oUr(r))throw new Error(on("invalid option. Cannot write to read-only array."))}}if(a=vUr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=uUr(a),f===0&&(s=!0),f/=a[t-2],v=t-1,u=a[v],c=-1,n=nUr(t),n[t-2]=null,i={},xl(i,"next",p),xl(i,"return",m),jG&&xl(i,jG,d),i;function p(){var y,h;return c+=1,s||c>=f?{done:!0}:(y=cUr(n),h=(n[v]+1)%u,n[v]=h,h===0&&(n=lUr(a,"row-major",n,v-2,n)),{value:fUr(r,y,!0,o.writable),done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return TG(r,o)}}OG.exports=TG});var DG=l((rye,NG)=>{"use strict";var dUr=IG();NG.exports=dUr});var zG=l((eye,VG)=>{"use strict";var ql=Tr(),pUr=oe(),yUr=wa(),mUr=se(),hUr=Jr(),kG=ke(),gUr=xe(),bUr=ie(),xUr=Wr(),qUr=Je().assign,wl=cr();function RG(r){var e,a,t,o,i,s,n,v,u,f;if(!mUr(r))throw new TypeError(wl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!pUr(e))throw new TypeError(wl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(hUr(e,"order")){if(!yUr(e.order))throw new TypeError(wl("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=bUr(r),t=a.length,u=xUr(a),u===0&&(s=!0),o.order==="row-major"?v=t-1:v=0,f=-1,n=gUr(t),i={},ql(i,"next",c),ql(i,"return",p),kG&&ql(i,kG,m),i;function c(){return f+=1,s||f>=u?{done:!0}:(f>0&&(n=qUr(a,o.order,n,v,n)),{value:[n.slice(),r.get.apply(r,n)],done:!1})}function p(d){return s=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return RG(r,o)}}VG.exports=RG});var PG=l((aye,BG)=>{"use strict";var wUr=zG();BG.exports=wUr});var UG=l((tye,CG)=>{"use strict";var Sl=Tr(),SUr=oe(),EUr=wa(),AUr=Ne(),_Ur=me().isPrimitive,jUr=Jr(),FG=ke(),TUr=xe(),OUr=Wr(),IUr=Je().assign,sn=cr();function LG(r){var e,a,t,o,i,s,n,v,u,f;if(!AUr(r))throw new TypeError(sn("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],!SUr(e))throw new TypeError(sn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(jUr(e,"order")){if(!EUr(e.order))throw new TypeError(sn("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));t.order=e.order}}for(a=r.length,v=[],f=0;f<a;f++){if(!_Ur(r[f]))throw new TypeError(sn("invalid argument. First argument must be an array of nonnegative integers. Value: `%s`.",r));v.push(r[f])}return u=OUr(v),u===0&&(i=!0),t.order==="row-major"?n=a-1:n=0,f=-1,s=TUr(a),o={},Sl(o,"next",c),Sl(o,"return",p),FG&&Sl(o,FG,m),o;function c(){return f+=1,i||f>=u?{done:!0}:(f>0&&(s=IUr(r,t.order,s,n,s)),{value:s.slice(),done:!1})}function p(d){return i=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return LG(v,t)}}CG.exports=LG});var GG=l((iye,MG)=>{"use strict";var NUr=UG();MG.exports=NUr});var WG=l((oye,YG)=>{"use strict";var DUr=se(),kUr=Ne(),RUr=me().isPrimitive,$G=$s(),VUr=ie(),El=cr();function zUr(r,e){var a,t,o,i;if(!DUr(r))throw new TypeError(El("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!kUr(e))throw new TypeError(El("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(t=e.length,a=VUr(r),a.length===t){for(i=0;i<t;i++){if(o=e[i],!RUr(o))throw new TypeError(El("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(a[i]!==o)return $G(r,e)}return r}return $G(r,e)}YG.exports=zUr});var Al=l((sye,JG)=>{"use strict";var BUr=WG();JG.exports=BUr});var HG=l((nye,KG)=>{"use strict";var PUr=se(),FUr=ze(),LUr=bi(),CUr=Al(),UUr=ie(),XG=cr();function MUr(r){var e,a,t,o,i,s,n;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);else if(PUr(r))t=[r];else if(FUr(r))t=r;else throw new TypeError(XG("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(s=t.length,e=[],n=0;n<s;n++)try{e.push(UUr(t[n]))}catch{throw new TypeError(XG("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[n]))}if(i=LUr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],n=0;n<s;n++)o.push(CUr(t[n],i));return o}KG.exports=MUr});var _l=l((vye,ZG)=>{"use strict";var GUr=HG();ZG.exports=GUr});var a$=l((uye,e$)=>{"use strict";var jl=Tr(),$Ur=ze(),YUr=Ys().isPrimitive,QG=ke(),WUr=xe(),JUr=ie(),XUr=Wr(),KUr=pe(),HUr=_l(),ZUr=Je().assign,QUr=he(),nn=cr();function r$(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y;if(!$Ur(r))throw new TypeError(nn("invalid argument. First argument must be an array of ndarrays. Value: `%s`.",r));if(!YUr(e))throw new TypeError(nn("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));try{o=HUr(r)}catch{throw new TypeError(nn("invalid argument. First argument must be an array of ndarrays which are broadcast-compatible. Value: `%s`.",r))}if(p=o.length,a=JUr(o[0]),f=a.length,f<=e)throw new TypeError(nn("invalid argument. First argument must be an array of ndarrays having at least %d dimensions after broadcasting.",e+1));for(c=XUr(a),c===0&&(i=!0),n=f-e-1,m=n+1;m<f;m++)c/=a[m];for(c*=p,u=a[n],s=[],m=0;m<p;m++){for(v=WUr(f),d=n+1;d<f;d++)v[d]=null;s.push(v)}return m=-1,y=-1,t={},jl(t,"next",h),jl(t,"return",g),QG&&jl(t,QG,x),t;function h(){var S,w,A;return m+=1,i||m>=c?{done:!0}:(y=(y+1)%p,S=s[y],w=QUr(S),A=(S[n]+1)%u,S[n]=A,A===0&&(S=ZUr(a,"row-major",S,n-1,S)),{value:KUr(o[y],w,!0,!1),done:!1})}function g(S){return i=!0,arguments.length?{value:S,done:!0}:{done:!0}}function x(){return r$(r,e)}}e$.exports=r$});var i$=l((fye,t$)=>{"use strict";var rMr=a$();t$.exports=rMr});var v$=l((lye,n$)=>{"use strict";var Tl=Tr(),eMr=oe(),aMr=de().isPrimitive,tMr=se(),iMr=Le(),oMr=Jr(),o$=ke(),sMr=xe(),nMr=ie(),vMr=Wr(),uMr=pe(),fMr=Je().assign,lMr=he(),vn=cr();function s$(r){var e,a,t,o,i,s,n,v,u,f,c;if(!tMr(r))throw new TypeError(vn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!eMr(e))throw new TypeError(vn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(oMr(e,"readonly")){if(!aMr(e.readonly))throw new TypeError(vn("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&iMr(r))throw new Error(vn("invalid option. Cannot write to read-only array."))}}if(a=nMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=vMr(a),f===0&&(s=!0),f/=a[t-1]*a[t-2],v=t-3,u=a[v],c=-1,n=sMr(t),n[t-1]=null,n[t-2]=null,i={},Tl(i,"next",p),Tl(i,"return",m),o$&&Tl(i,o$,d),i;function p(){var y,h;return c+=1,s||c>=f?{done:!0}:(y=lMr(n),h=(n[v]+1)%u,n[v]=h,h===0&&(n=fMr(a,"row-major",n,v-1,n)),{value:uMr(r,y,!0,o.writable),done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return s$(r,o)}}n$.exports=s$});var f$=l((cye,u$)=>{"use strict";var cMr=v$();u$.exports=cMr});var p$=l((dye,d$)=>{"use strict";var Ol=Tr(),dMr=oe(),pMr=de().isPrimitive,yMr=se(),mMr=Le(),hMr=Jr(),l$=ke(),gMr=xe(),bMr=ie(),xMr=Wr(),qMr=pe(),wMr=Je().assign,SMr=he(),un=cr();function c$(r){var e,a,t,o,i,s,n,v,u,f,c;if(!yMr(r))throw new TypeError(un("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(un("invalid argument. Options argument must be an object. Value: `%s`.",e));if(hMr(e,"readonly")){if(!pMr(e.readonly))throw new TypeError(un("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&mMr(r))throw new Error(un("invalid option. Cannot write to read-only array."))}}if(a=bMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=xMr(a),f===0&&(s=!0),f/=a[t-1]*a[t-2],v=t-3,u=a[v],c=-1,n=gMr(t),n[t-1]=null,n[t-2]=null,i={},Ol(i,"next",p),Ol(i,"return",m),l$&&Ol(i,l$,d),i;function p(){var y,h,g;return c+=1,s||c>=f?{done:!0}:(y=n.slice(),h=SMr(n),g=(n[v]+1)%u,n[v]=g,g===0&&(n=wMr(a,"row-major",n,v-1,n)),{value:[y,qMr(r,h,!0,o.writable)],done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return c$(r,o)}}d$.exports=c$});var m$=l((pye,y$)=>{"use strict";var EMr=p$();y$.exports=EMr});var x$=l((yye,b$)=>{"use strict";var Il=Tr(),AMr=oe(),_Mr=de().isPrimitive,jMr=se(),TMr=Le(),OMr=Jr(),h$=ke(),IMr=xe(),NMr=ie(),DMr=Wr(),kMr=pe(),RMr=Je().assign,VMr=he(),fn=cr();function g$(r){var e,a,t,o,i,s,n,v,u,f,c;if(!jMr(r))throw new TypeError(fn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!AMr(e))throw new TypeError(fn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(OMr(e,"readonly")){if(!_Mr(e.readonly))throw new TypeError(fn("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&TMr(r))throw new Error(fn("invalid option. Cannot write to read-only array."))}}if(a=NMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=DMr(a),f===0&&(s=!0),f/=a[t-1],v=t-2,u=a[v],c=-1,n=IMr(t),n[t-1]=null,i={},Il(i,"next",p),Il(i,"return",m),h$&&Il(i,h$,d),i;function p(){var y,h,g;return c+=1,s||c>=f?{done:!0}:(y=n.slice(),h=VMr(n),g=(n[v]+1)%u,n[v]=g,g===0&&(n=RMr(a,"row-major",n,v-1,n)),{value:[y,kMr(r,h,!0,o.writable)],done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return g$(r,o)}}b$.exports=g$});var w$=l((mye,q$)=>{"use strict";var zMr=x$();q$.exports=zMr});var _$=l((hye,A$)=>{"use strict";var Nl=Tr(),BMr=oe(),PMr=de().isPrimitive,FMr=se(),LMr=Le(),CMr=Jr(),S$=ke(),UMr=xe(),MMr=ie(),GMr=Wr(),$Mr=pe(),YMr=Je().assign,WMr=he(),ln=cr();function E$(r){var e,a,t,o,i,s,n,v,u,f,c;if(!FMr(r))throw new TypeError(ln("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!BMr(e))throw new TypeError(ln("invalid argument. Options argument must be an object. Value: `%s`.",e));if(CMr(e,"readonly")){if(!PMr(e.readonly))throw new TypeError(ln("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(ln("invalid option. Cannot write to read-only array."))}}if(a=MMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=GMr(a),f===0&&(s=!0),f/=a[t-1],v=t-2,u=a[v],c=-1,n=UMr(t),n[t-1]=null,i={},Nl(i,"next",p),Nl(i,"return",m),S$&&Nl(i,S$,d),i;function p(){var y,h;return c+=1,s||c>=f?{done:!0}:(y=WMr(n),h=(n[v]+1)%u,n[v]=h,h===0&&(n=YMr(a,"row-major",n,v-1,n)),{value:$Mr(r,y,!0,o.writable),done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return E$(r,o)}}A$.exports=E$});var T$=l((gye,j$)=>{"use strict";var JMr=_$();j$.exports=JMr});var R$=l((bye,k$)=>{"use strict";var Dl=Tr(),XMr=oe(),O$=de().isPrimitive,KMr=ve().isPrimitive,HMr=se(),ZMr=Le(),I$=Jr(),N$=ke(),QMr=wi(),r9r=ie(),e9r=ca(),a9r=Wr(),t9r=pe(),i9r=Pe(),o9r=he(),Ht=cr();function D$(r,e){var a,t,o,i,s,n,v,u,f,c;if(!HMr(r))throw new TypeError(Ht("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!KMr(e))throw new TypeError(Ht("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(i={writable:!1,keepdim:!1},arguments.length>2){if(a=arguments[2],!XMr(a))throw new TypeError(Ht("invalid argument. Options argument must be an object. Value: `%s`.",a));if(I$(a,"readonly")){if(!O$(a.readonly))throw new TypeError(Ht("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(i.writable=!a.readonly,i.writable&&ZMr(r))throw new Error(Ht("invalid option. Cannot write to read-only array."))}if(I$(a,"keepdim")){if(!O$(a.keepdim))throw new TypeError(Ht("invalid option. `%s` option must be a boolean. Option: `%s`.","keepdim",a.keepdim));i.keepdim=a.keepdim}}if(t=r9r(r),o=t.length,f=e9r(e,o-1),f===-1)throw new RangeError(Ht("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return u=a9r(t),u===0&&(n=!0),u=t[f],c=-1,v=QMr(o),s={},Dl(s,"next",p),Dl(s,"return",m),N$&&Dl(s,N$,d),s;function p(){var y;return c+=1,n||c>=u?{done:!0}:(i.keepdim?v[f]=new i9r(c,c+1,1):v[f]=c,y=o9r(v),{value:t9r(r,y,!0,i.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function d(){return D$(r,e,i)}}k$.exports=D$});var z$=l((xye,V$)=>{"use strict";var s9r=R$();V$.exports=s9r});var P$=l((qye,B$)=>{"use strict";var n9r=rt(),v9r=et(),u9r=gt(),f9r=to();function l9r(r){var e=f9r(r);return n9r(r)?v9r(e):u9r(e)}B$.exports=l9r});var kl=l((wye,F$)=>{"use strict";var c9r=P$();F$.exports=c9r});var C$=l((Sye,L$)=>{"use strict";var d9r=kl();function p9r(r){var e,a,t,o;for(t=d9r(r),a=r.length,e=[],o=0;o<a;o++)e.push(t(r,o));return e}L$.exports=p9r});var M$=l((Eye,U$)=>{"use strict";var y9r=C$();U$.exports=y9r});var Y$=l((Aye,$$)=>{"use strict";var G$=kl(),m9r=it().factory;function h9r(r,e,a){var t,o,i,s,n,v,u;for(o=G$(r),i=G$(e),t=m9r(a),n=r.length-1,s=[],v=0;v<e.length;v++)u=t(i(e,v),n),s.push(o(r,u));return s}$$.exports=h9r});var J$=l((_ye,W$)=>{"use strict";var g9r=Be().factory,b9r=ol(),x9r=g9r(b9r("boolean"));W$.exports=x9r});var Rl=l((jye,X$)=>{"use strict";var q9r=J$();X$.exports=q9r});var H$=l((Tye,K$)=>{"use strict";var w9r=as(),S9r=es(),E9r=Zi(),A9r=Hi(),_9r=cr();function j9r(r,e){if(w9r(r))return E9r(r,e);if(S9r(r))return A9r(r,e);throw new TypeError(_9r("invalid argument. First argument must be a complex-valued floating-point array. Value: `%s`.",r))}K$.exports=j9r});var Vl=l((Oye,Z$)=>{"use strict";var T9r=H$();Z$.exports=T9r});var rY=l((Iye,Q$)=>{"use strict";var O9r=Qe();function I9r(r,e){return new O9r(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,r.length-e)}Q$.exports=I9r});var zl=l((Nye,eY)=>{"use strict";var N9r=rY();eY.exports=N9r});var nY=l((Dye,sY)=>{"use strict";var aY=Qs(),tY=Rl(),Bl=st(),iY=Vl(),oY=zl(),cn=it().factory;function D9r(r,e,a,t,o,i){var s,n,v,u,f;for(s=cn(a),n=r.length-1,v=i,u=0;u<e.length;u++)f=s(e[u],n),t[v]=r[f],v+=o;return t}function k9r(r,e,a,t,o,i){var s,n,v,u,f,c,p,m,d,y,h;for(n=r.data,v=e.data,u=t.data,f=r.accessors[0],c=e.accessors[0],p=t.accessors[1],s=cn(a),m=n.length-1,d=i,y=0;y<v.length;y++)h=s(c(v,y),m),p(u,d,f(n,h)),d+=o;return u}function R9r(r,e,a,t,o,i){var s,n,v,u,f,c,p,m,d;for(n=e.data,v=e.accessors[0],s=cn(a),u=r.length/2-1,c=o*2,f=i*2,p=0;p<n.length;p++)m=s(v(n,p),u),d=m*2,t[f]=r[d],t[f+1]=r[d+1],f+=c;return t}function V9r(r,e,a,t,o,i){var s,n,v,u,f,c,p;for(n=e.data,v=e.accessors[0],s=cn(a),u=r.length-1,f=i,c=0;c<n.length;c++)p=s(v(n,c),u),t[f]=r[p],f+=o;return t}function z9r(r,e,a,t,o,i){var s,n,v;return s=Bl(r),n=Bl(e),v=Bl(t),s.accessorProtocol||n.accessorProtocol||v.accessorProtocol?aY(s.dtype)&&aY(v.dtype)?(R9r(iY(r,0),n,a,iY(t,0),o,i),t):tY(s.dtype)&&tY(v.dtype)?(V9r(oY(r,0),n,a,oY(t,0),o,i),t):(k9r(s,n,a,v,o,i),t):(D9r(r,e,a,t,o,i),t)}sY.exports=z9r});var fY=l((kye,uY)=>{"use strict";var B9r=Tr(),vY=Y$(),P9r=nY();B9r(vY,"assign",P9r);uY.exports=vY});var mY=l((Rye,yY)=>{"use strict";var lY=Qs(),cY=Rl(),Pl=st(),dY=Vl(),pY=zl(),F9r=it().factory,L9r=cr();function C9r(r,e,a,t,o,i){var s,n,v;for(s=0,n=0;n<e.length;n++)v=o(e[n],i),r[v]=a[s],s+=t;return r}function U9r(r,e,a,t,o,i){var s,n,v,u,f,c,p,m,d;for(s=r.data,n=e.data,v=a.data,u=r.accessors[1],f=e.accessors[0],c=a.accessors[0],p=0,m=0;m<n.length;m++)d=o(f(n,m),i),u(s,d,c(v,p)),p+=t;return s}function M9r(r,e,a,t,o,i){var s,n,v,u,f,c,p;for(s=e.data,n=e.accessors[0],u=t*2,v=0,f=0;f<s.length;f++)c=o(n(s,f),i),p=c*2,r[p]=a[v],r[p+1]=a[v+1],v+=u;return r}function G9r(r,e,a,t,o,i){var s,n,v,u,f;for(s=e.data,n=e.accessors[0],v=0,u=0;u<s.length;u++)f=o(n(s,u),i),r[f]=a[v],v+=t;return r}function $9r(r,e,a,t){var o,i,s,n,v,u;if(e.length>0)if(a.length===e.length)i=1;else if(a.length===1)i=0;else throw new Error(L9r("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=F9r(t),s=r.length-1,n=Pl(r),v=Pl(e),u=Pl(a),n.accessorProtocol||v.accessorProtocol||u.accessorProtocol?lY(n.dtype)&&lY(u.dtype)?(M9r(dY(r,0),v,dY(a,0),i,o,s),r):cY(n.dtype)&&cY(u.dtype)?(G9r(pY(r,0),v,pY(a,0),i,o,s),r):(U9r(n,v,u,i,o,s),r):(C9r(r,e,a,i,o,s),r)}yY.exports=$9r});var gY=l((Vye,hY)=>{"use strict";var Y9r=mY();hY.exports=Y9r});var SY=l((zye,wY)=>{"use strict";var Fl=Tr(),W9r=oe(),J9r=de().isPrimitive,X9r=Uv().primitives,K9r=se(),H9r=Le(),Z9r=Jr(),bY=ke(),Q9r=xe(),rGr=M$(),xY=fY(),eGr=gY(),aGr=ie(),tGr=ca(),iGr=Wr(),oGr=pe(),sGr=Je().assign,nGr=he(),ft=cr();function qY(r,e){var a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g;if(!K9r(r))throw new TypeError(ft("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!X9r(e))throw new TypeError(ft("invalid argument. Second argument must be an array of integers. Value: `%s`.",e));if(n={writable:!1},arguments.length>2){if(t=arguments[2],!W9r(t))throw new TypeError(ft("invalid argument. Options argument must be an object. Value: `%s`.",t));if(Z9r(t,"readonly")){if(!J9r(t.readonly))throw new TypeError(ft("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",t.readonly));if(n.writable=!t.readonly,n.writable&&H9r(r))throw new Error(ft("invalid option. Cannot write to read-only array."))}}if(s=e,e=rGr(e),m=e.length,o=aGr(r),i=o.length,i<=m)throw new TypeError(ft("invalid argument. First argument must be an ndarray having at least %d dimensions.",m+1));for(h=0;h<m;h++){if(y=tGr(e[h],i-1),y===-1)throw new RangeError(ft("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",i,e[h]));e[h]=y}for(d=iGr(o),d===0&&(f=!0),h=0;h<m-1;h++)if(e[h]>e[h+1])throw new Error(ft("invalid argument. Dimension indices must be sorted in ascending order. Value: `%s`.",s));for(g=1,h=1;h<m;h++){if(e[h]===e[h-1])throw new Error(ft("invalid argument. Dimension indices must be unique. Value: `%s`.",s));e[g]=e[h],g+=1}for(h=0;h<m;h++)d/=o[e[h]];for(c=Q9r(i),h=0;h<m;h++)c[e[h]]=null;for(a=[],g=0,h=0;h<i;h++){if(h===e[g]){g+=1;continue}a.push(h)}return p=xY(o,a,"throw"),u=xY(c,a,"throw"),h=-1,v={},Fl(v,"next",x),Fl(v,"return",S),bY&&Fl(v,bY,w),v;function x(){var A;return h+=1,f||h>=d?{done:!0}:(A=nGr(c),u=sGr(p,"row-major",u,-1,u),c=eGr(c,a,u,"throw"),{value:oGr(r,A,!0,n.writable),done:!1})}function S(A){return f=!0,arguments.length?{value:A,done:!0}:{done:!0}}function w(){return qY(r,e,n)}}wY.exports=qY});var AY=l((Bye,EY)=>{"use strict";var vGr=SY();EY.exports=vGr});var OY=l((Pye,TY)=>{"use strict";var Ll=Tr(),uGr=oe(),fGr=de().isPrimitive,lGr=Ys().isPrimitive,cGr=se(),dGr=Le(),pGr=Jr(),_Y=ke(),yGr=xe(),mGr=ie(),hGr=Wr(),gGr=pe(),bGr=Je().assign,xGr=he(),Di=cr();function jY(r,e){var a,t,o,i,s,n,v,u,f,c,p;if(!cGr(r))throw new TypeError(Di("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!lGr(e))throw new TypeError(Di("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));if(o={writable:!1},arguments.length>2){if(a=arguments[2],!uGr(a))throw new TypeError(Di("invalid argument. Options argument must be an object. Value: `%s`.",a));if(pGr(a,"readonly")){if(!fGr(a.readonly))throw new TypeError(Di("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(o.writable=!a.readonly,o.writable&&dGr(r))throw new Error(Di("invalid option. Cannot write to read-only array."))}}if(t=mGr(r),f=t.length,f<=e)throw new TypeError(Di("invalid argument. First argument must be an ndarray having at least %d dimensions.",e+1));for(c=hGr(t),c===0&&(s=!0),v=f-e-1,p=v+1;p<f;p++)c/=t[p];for(u=t[v],n=yGr(f),p=v+1;p<f;p++)n[p]=null;return p=-1,i={},Ll(i,"next",m),Ll(i,"return",d),_Y&&Ll(i,_Y,y),i;function m(){var h,g;return p+=1,s||p>=c?{done:!0}:(h=xGr(n),g=(n[v]+1)%u,n[v]=g,g===0&&(n=bGr(t,"row-major",n,v-1,n)),{value:gGr(r,h,!0,o.writable),done:!1})}function d(h){return s=!0,arguments.length?{value:h,done:!0}:{done:!0}}function y(){return jY(r,e,o)}}TY.exports=jY});var NY=l((Fye,IY)=>{"use strict";var qGr=OY();IY.exports=qGr});var kY=l((Lye,DY)=>{"use strict";var wGr=Fe();function SGr(r){var e=typeof r;return r!==null&&(e==="object"||e==="function")&&wGr(r.next)}DY.exports=SGr});var VY=l((Cye,RY)=>{"use strict";var EGr=kY();RY.exports=EGr});var BY=l((Uye,zY)=>{"use strict";var AGr=se(),_Gr=zf(),jGr=Ma(),TGr=bt(),OGr=ie(),IGr=Ga(),NGr=ot(),DGr=cr();function kGr(r){if(!AGr(r))throw new TypeError(DGr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return _Gr(NGr(r),OGr(r),jGr(r),TGr(r),IGr(r))}zY.exports=kGr});var Cl=l((Mye,PY)=>{"use strict";var RGr=BY();PY.exports=RGr});var CY=l((Gye,LY)=>{"use strict";var Ul=Tr(),VGr=Fe(),zGr=VY(),dn=ke(),BGr=Cl(),PGr=cr();function FY(r){var e,a;if(!zGr(r))throw new TypeError(PGr("invalid argument. First argument must be an iterator protocol-compliant object. Value: `%s`.",r));return e={},Ul(e,"next",t),Ul(e,"return",o),dn&&VGr(r[dn])&&Ul(e,dn,i),e;function t(){var s;return a?{done:!0}:(s=r.next(),s.done?(a=!0,s):{value:BGr(s.value),done:!1})}function o(s){return a=!0,arguments.length?{value:s,done:!0}:{done:!0}}function i(){return FY(r[dn]())}}LY.exports=FY});var MY=l(($ye,UY)=>{"use strict";var FGr=CY();UY.exports=FGr});var WY=l((Yye,YY)=>{"use strict";var Ml=Tr(),LGr=oe(),CGr=wa(),UGr=se(),MGr=Jr(),GY=ke(),GGr=xe(),$Gr=ie(),YGr=Wr(),WGr=Je().assign,Gl=cr();function $Y(r){var e,a,t,o,i,s,n,v,u,f;if(!UGr(r))throw new TypeError(Gl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!LGr(e))throw new TypeError(Gl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(MGr(e,"order")){if(!CGr(e.order))throw new TypeError(Gl("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=$Gr(r),t=a.length,u=YGr(a),u===0&&(s=!0),o.order==="row-major"?v=t-1:v=0,f=-1,n=GGr(t),i={},Ml(i,"next",c),Ml(i,"return",p),GY&&Ml(i,GY,m),i;function c(){return f+=1,s||f>=u?{done:!0}:(f>0&&(n=WGr(a,o.order,n,v,n)),{value:r.get.apply(r,n),done:!1})}function p(d){return s=!0,arguments.length?{value:d,done:!0}:{done:!0}}function m(){return $Y(r,o)}}YY.exports=$Y});var XY=l((Wye,JY)=>{"use strict";var JGr=WY();JY.exports=JGr});var HY=l((Jye,KY)=>{"use strict";var Xe=Ot(),Ce={};Xe(Ce,"nditerColumnEntries",_G());Xe(Ce,"nditerColumns",DG());Xe(Ce,"nditerEntries",PG());Xe(Ce,"nditerIndices",GG());Xe(Ce,"nditerInterleaveSubarrays",i$());Xe(Ce,"nditerMatrices",f$());Xe(Ce,"nditerMatrixEntries",m$());Xe(Ce,"nditerRowEntries",w$());Xe(Ce,"nditerRows",T$());Xe(Ce,"nditerSelectDimension",z$());Xe(Ce,"nditerStacks",AY());Xe(Ce,"nditerSubarrays",NY());Xe(Ce,"nditer2arrayEach",MY());Xe(Ce,"nditerValues",XY());KY.exports=Ce});var QY=l((Xye,ZY)=>{"use strict";var XGr=Le(),KGr=Na(),HGr=ie(),ZGr=Ma(),QGr=bt(),r$r=Ga(),e$r=ot(),a$r=da(),t$r=Ta(),i$r=t$r("order");function o$r(r){var e,a,t,o,i,s,n;if(n=KGr(r),i=e$r(r),o=HGr(r),e=ZGr(r),a=QGr(r),t=r$r(r)||i$r,arguments.length>1?s=arguments[1]:s={},XGr(r)){if(s.readonly===void 0)s.readonly=!0;else if(s.readonly===!1)throw new Error("invalid argument. Cannot write to a read-only array.")}return new a$r(n,i,o,e,a,t,s)}ZY.exports=o$r});var eW=l((Kye,rW)=>{"use strict";var s$r=QY();rW.exports=s$r});var aW=l((Hye,n$r)=>{n$r.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 iW=l((Zye,tW)=>{"use strict";var v$r=xa(),u$r=Jr(),f$r=Oa(),pn=aW();function l$r(){var r,e,a,t;for(a={},r=v$r(pn),e=r.length,t=0;t<e;t++)a[r[t]]=pn[r[t]];return a}function c$r(r){return arguments.length===0?l$r():(r=f$r(r),u$r(pn,r)?pn[r]:null)}tW.exports=c$r});var sW=l((Qye,oW)=>{"use strict";var d$r=iW();oW.exports=d$r});var uW=l((rme,vW)=>{"use strict";var nW=me().isPrimitive,p$r=Ne(),$l=cr();function y$r(r){var e,a,t,o,i;if(typeof r!="object"||r===null)throw new TypeError($l("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.length,nW(t))return t;if(a=r.shape,!p$r(a))throw new TypeError($l("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],!nW(o))throw new TypeError($l("invalid argument. Must provide an ndarray. Value: `%s`.",r));t*=o}return t}vW.exports=y$r});var Yl=l((eme,fW)=>{"use strict";var m$r=uW();fW.exports=m$r});var cW=l((ame,lW)=>{"use strict";var h$r=me().isPrimitive,g$r=ve().isPrimitive,b$r=Af(),Wl=cr();function x$r(r,e){var a;if(typeof r!="object"||r===null)throw new TypeError(Wl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!g$r(e))throw new TypeError(Wl("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=b$r(r,e),h$r(a))return a;throw new TypeError(Wl("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}lW.exports=x$r});var pW=l((tme,dW)=>{"use strict";var q$r=cW();dW.exports=q$r});var yW=l((ime,w$r)=>{w$r.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 bW=l((ome,gW)=>{"use strict";var S$r=xa(),mW=Jr(),hW=Oa(),yn=yW();function E$r(){var r,e,a,t,o,i,s,n,v;for(a={},r=S$r(yn),e=r.length,v=0;v<e;v++){for(o=r[v],s=yn[o],t={},n=0;n<e;n++)i=r[n],t[i]=s[i];a[o]=t}return a}function A$r(r,e){var a;return arguments.length===0?E$r():(r=hW(r),mW(yn,r)&&(a=yn[r],e=hW(e),mW(a,e))?a[e]:null)}gW.exports=A$r});var qW=l((sme,xW)=>{"use strict";var _$r=bW();xW.exports=_$r});var SW=l((nme,wW)=>{"use strict";var j$r=Wa(),T$r=pt();function O$r(r){return r instanceof j$r||T$r(r)==="MultiSlice"}wW.exports=O$r});var Jl=l((vme,EW)=>{"use strict";var I$r=SW();EW.exports=I$r});var _W=l((ume,AW)=>{"use strict";var N$r=se(),D$r=Jl(),k$r=ze(),R$r=oe(),V$r=de().isPrimitive,z$r=Jr(),B$r=Wa(),P$r=he(),F$r=pe(),L$r=ie(),mn=cr();function C$r(r,e){var a,t,o,i,s,n,v;if(o={strict:!0},t=arguments.length,!N$r(r))throw new TypeError(mn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(R$r(arguments[t-1])){if(t-=1,a=arguments[t],z$r(a,"strict")){if(!V$r(a.strict))throw new TypeError(mn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(s=L$r(r),t===1&&s.length>0)throw new RangeError(mn("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",s.join(","),0))}if(D$r(e)){if(n=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else{if(k$r(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],v=1;v<t;v++)i.push(arguments[v]);try{n=P$r(i)}catch{for(v=0;v<i.length;v++)try{new B$r(i[v])}catch{throw new TypeError(mn("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(i[v])))}}}return F$r(r,n,o.strict,!1)}AW.exports=C$r});var Xl=l((fme,jW)=>{"use strict";var U$r=_W();jW.exports=U$r});var IW=l((lme,OW)=>{"use strict";var TW=se(),M$r=Jl(),G$r=ze(),$$r=oe(),Y$r=de().isPrimitive,W$r=Le(),J$r=Jr(),X$r=Wa(),K$r=he(),H$r=Gs(),Z$r=ie(),To=cr();function Q$r(r,e,a){var t,o,i,s,n,v,u;if(i={strict:!0},o=arguments.length,!TW(r))throw new TypeError(To("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!TW(e))throw new TypeError(To("invalid argument. Second argument must be an ndarray. Value: `%s`.",e));if(W$r(e))throw new Error("invalid argument. Cannot write to a read-only array.");if($$r(arguments[o-1])){if(o-=1,t=arguments[o],J$r(t,"strict")){if(!Y$r(t.strict))throw new TypeError(To("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}if(n=Z$r(e),o===2&&n.length>0)throw new RangeError(To("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",n.join(","),0))}if(M$r(a)){if(v=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else{if(G$r(a)){if(s=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else for(s=[],u=2;u<o;u++)s.push(arguments[u]);try{v=K$r(s)}catch{for(u=0;u<s.length;u++)try{new X$r(s[u])}catch{throw new TypeError(To("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(s[u])))}}}return H$r(r,e,v,i.strict)}OW.exports=Q$r});var DW=l((cme,NW)=>{"use strict";var rYr=IW();NW.exports=rYr});var VW=l((dme,RW)=>{"use strict";var eYr=oe(),aYr=de().isPrimitive,kW=ve().isPrimitive,tYr=se(),iYr=qi(),oYr=yf(),sYr=xi(),nYr=Jr(),vYr=Pe(),uYr=Of(),Oo=cr();function fYr(r,e,a){var t,o,i;if(i={strict:!0},!tYr(r))throw new TypeError(Oo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!kW(e))throw new TypeError(Oo("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(kW(a)||oYr(a))o=a;else if(sYr(a)||iYr(a))o=new vYr;else throw new TypeError(Oo("invalid argument. Third argument must be either a Slice, integer, null, or undefined. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!eYr(t))throw new TypeError(Oo("invalid argument. Options argument must be an object. Value: `%s`.",t));if(nYr(t,"strict")){if(!aYr(t.strict))throw new TypeError(Oo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}}return uYr(r,e,o,i.strict,!1)}RW.exports=fYr});var BW=l((pme,zW)=>{"use strict";var lYr=VW();zW.exports=lYr});var LW=l((yme,FW)=>{"use strict";var cYr=oe(),dYr=de().isPrimitive,PW=ve().isPrimitive,pYr=se(),yYr=Jr(),mYr=If(),Io=cr();function hYr(r,e,a){var t,o;if(o={strict:!0},!pYr(r))throw new TypeError(Io("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!PW(e))throw new TypeError(Io("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!PW(a))throw new TypeError(Io("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!cYr(t))throw new TypeError(Io("invalid argument. Options argument must be an object. Value: `%s`.",t));if(yYr(t,"strict")){if(!dYr(t.strict))throw new TypeError(Io("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return mYr(r,e,a,o.strict,!1)}FW.exports=hYr});var UW=l((mme,CW)=>{"use strict";var gYr=LW();CW.exports=gYr});var $W=l((hme,GW)=>{"use strict";var bYr=oe(),xYr=de().isPrimitive,MW=ve().isPrimitive,qYr=se(),wYr=Jr(),SYr=Nf(),No=cr();function EYr(r,e,a){var t,o;if(o={strict:!0},!qYr(r))throw new TypeError(No("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!MW(e))throw new TypeError(No("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!MW(a))throw new TypeError(No("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!bYr(t))throw new TypeError(No("invalid argument. Options argument must be an object. Value: `%s`.",t));if(wYr(t,"strict")){if(!xYr(t.strict))throw new TypeError(No("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return SYr(r,e,a,o.strict,!1)}GW.exports=EYr});var WW=l((gme,YW)=>{"use strict";var AYr=$W();YW.exports=AYr});var XW=l((bme,JW)=>{"use strict";var _Yr=se(),jYr=ze(),TYr=oe(),OYr=Ue().isPrimitive,IYr=de().isPrimitive,NYr=xi(),DYr=qi(),kYr=Jr(),RYr=ie(),VYr=Df(),hn=cr();function zYr(r){return!(OYr(r)||NYr(r)||DYr(r))}function BYr(r,e){var a,t,o,i,s,n;if(o={strict:!0},t=arguments.length,!_Yr(r))throw new TypeError(hn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(TYr(arguments[t-1])){if(t-=1,a=arguments[t],kYr(a,"strict")){if(!IYr(a.strict))throw new TypeError(hn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(s=RYr(r),t===1&&s.length>0)throw new RangeError(hn("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",s.join(","),0))}if(jYr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],n=1;n<t;n++)i.push(arguments[n]);for(n=0;n<i.length;n++)if(zYr(i[n]))throw new TypeError(hn("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[n])));return VYr(r,i,o.strict,!1)}JW.exports=BYr});var HW=l((xme,KW)=>{"use strict";var PYr=XW();KW.exports=PYr});var QW=l((qme,ZW)=>{"use strict";var FYr=se(),LYr=ze(),CYr=oe(),UYr=Ue().isPrimitive,MYr=de().isPrimitive,GYr=xi(),$Yr=qi(),YYr=Jr(),WYr=ie(),JYr=kf(),gn=cr();function XYr(r){return!(UYr(r)||GYr(r)||$Yr(r))}function KYr(r,e){var a,t,o,i,s,n;if(o={strict:!0},t=arguments.length,!FYr(r))throw new TypeError(gn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(CYr(arguments[t-1])){if(t-=1,a=arguments[t],YYr(a,"strict")){if(!MYr(a.strict))throw new TypeError(gn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(s=WYr(r),t===1&&s.length>0)throw new RangeError(gn("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",s.join(","),0))}if(LYr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],n=1;n<t;n++)i.push(arguments[n]);for(n=0;n<i.length;n++)if(XYr(i[n]))throw new TypeError(gn("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[n])));return JYr(r,i,o.strict,!1)}ZW.exports=KYr});var eJ=l((wme,rJ)=>{"use strict";var HYr=QW();rJ.exports=HYr});var iJ=l((Sme,tJ)=>{"use strict";var aJ=ve().isPrimitive,ZYr=Ne(),QYr=Rf(),Kl=cr();function rWr(r,e){var a;if(typeof r!="object"||r===null||!ZYr(r.shape))throw new TypeError(Kl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!aJ(e))throw new TypeError(Kl("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=QYr(r,e),aJ(a))return a;throw new TypeError(Kl("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}tJ.exports=rWr});var sJ=l((Eme,oJ)=>{"use strict";var eWr=iJ();oJ.exports=eWr});var nJ=l((Ame,aWr)=>{aWr.exports={mode:["throw"],order:"row-major"}});var fJ=l((_me,uJ)=>{"use strict";var tWr=oe(),vJ=Jr(),iWr=ha(),oWr=wa(),sWr=pi(),bn=cr();function nWr(r,e){var a;if(!tWr(e))return new TypeError(bn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(vJ(e,"mode")){if(r.mode=e.mode,!iWr(r.mode))r.mode=[r.mode];else if(r.mode.length===0)return new TypeError(bn("invalid option. `%s` option cannot be an empty array.","mode"));for(a=0;a<r.mode.length;a++)if(!sWr(r.mode[a]))return new TypeError(bn("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode[a]))}return vJ(e,"order")&&(r.order=e.order,!oWr(r.order))?new TypeError(bn("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null}uJ.exports=nWr});var dJ=l((jme,cJ)=>{"use strict";var vWr=Ct().primitives,uWr=ve().isPrimitive,fWr=Ve(),lWr=Vf(),Hl=cr(),lJ=nJ(),cWr=fJ();function dWr(){var r,e,a,t,o,i,s,n,v;if(e=arguments[0],!vWr(e))throw new TypeError(Hl("invalid argument. First argument must be an array-like object containing nonnegative integers. Value: `%s`.",e));if(s=arguments.length,a=e.length,o={},o.mode=lJ.mode.slice(),o.order=lJ.order,s>a+1){if(v=s-1,r=arguments[v],i=cWr(o,r),i)throw i}else v=s;if(n=1,v-n!==a)throw new RangeError(Hl("invalid argument. Number of provided subscripts must match the number of dimensions. ndims: `%u`. Number of subscripts: `%u`.",a,v-n));for(t=new Array(a+4),t[0]=e,t[1]=fWr(e,o.order),t[2]=0;n<v;n++){if(!uWr(arguments[n]))throw new TypeError(Hl("invalid argument. Subscripts must be integer valued. Argument: `%u`. Value: `%s`.",n,arguments[n]));t[n+2]=arguments[n]}return t[n+2]=o.mode,lWr.apply(null,t)}cJ.exports=dWr});var yJ=l((Tme,pJ)=>{"use strict";var pWr=dJ();pJ.exports=pWr});var xJ=l((Ome,bJ)=>{"use strict";var yWr=oe(),Do=Jr(),mWr=Ko(),hWr=Ve(),gWr=Me(),bWr=Ia(),xWr=Wr(),qWr=da(),gJ=Ta(),xn=cr(),mJ=gJ.get("dtypes.default"),hJ=gJ.get("order");function wWr(r){var e,a,t,o,i,s,n,v,u;if(i={},arguments.length>1){if(e=arguments[1],!yWr(e))throw new TypeError(xn("invalid argument. Options argument must be an object. Value: `%s`.",e));Do(e,"dtype")?a=e.dtype:a=mJ,Do(e,"order")?t=e.order:t=hJ,Do(e,"mode")&&(i.mode=e.mode),Do(e,"submode")&&(i.submode=e.submode),Do(e,"readonly")&&(i.readonly=e.readonly)}else a=mJ,t=hJ;if(typeof r=="number")u=[r];else if(mWr(r))u=r;else throw new TypeError(xn("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=u.length,o>0){if(n=xWr(u),n!==n||n<0)throw new TypeError(xn("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));v=hWr(u,t)}else n=1,v=[0];if(s=bWr(a,n),s===null)throw new TypeError(xn("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",a));return new qWr(a,s,u,v,gWr(u,v),t,i)}bJ.exports=wWr});var wJ=l((Ime,qJ)=>{"use strict";var SWr=xJ();qJ.exports=SWr});var jJ=l((Nme,_J)=>{"use strict";var EWr=se(),AWr=oe(),_Wr=Ct().primitives,ki=Jr(),jWr=Ve(),TWr=Me(),OWr=Ia(),IWr=Wr(),SJ=Na(),EJ=ie(),AJ=Ga(),NWr=da(),qn=cr();function DWr(r){var e,a,t,o,i,s,n,v,u;if(!EWr(r))throw new TypeError(qn("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!AWr(e))throw new TypeError(qn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(ki(e,"dtype")?a=e.dtype:a=SJ(r),ki(e,"shape")){if(u=e.shape,typeof u=="number"&&(u=[u]),!_Wr(u))throw new TypeError(qn("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",u))}else u=EJ(r);ki(e,"order")?t=e.order:t=AJ(r),ki(e,"mode")&&(i.mode=e.mode),ki(e,"submode")&&(i.submode=e.submode),ki(e,"readonly")&&(i.readonly=e.readonly)}else a=SJ(r),u=EJ(r),t=AJ(r);if(o=u.length,o>0?(n=IWr(u),v=jWr(u,t)):(n=1,v=[0]),s=OWr(a,n),s===null)throw new TypeError(qn("invalid argument. First argument must have a recognized data type. Value: `%s`.",a));return new NWr(a,s,u,v,TWr(u,v),t,i)}_J.exports=DWr});var OJ=l((Dme,TJ)=>{"use strict";var kWr=jJ();TJ.exports=kWr});var Zl=l((kme,IJ)=>{"use strict";var Fr=Ot(),zr={};Fr(zr,"array",i5());Fr(zr,"at",u5());Fr(zr,"base",bL());Fr(zr,"broadcastArray",$s());Fr(zr,"broadcastArrays",Bf());Fr(zr,"castingModes",qu());Fr(zr,"ndarray",da());Fr(zr,"dataBuffer",ot());Fr(zr,"defaults",Ta());Fr(zr,"dispatch",ML());Fr(zr,"dtype",Na());Fr(zr,"dtypes",De());Fr(zr,"empty",KL());Fr(zr,"emptyLike",tC());Fr(zr,"FancyArray",O9());Fr(zr,"flag",iG());Fr(zr,"flags",vG());Fr(zr,"scalar2ndarray",nl());Fr(zr,"ind2sub",xG());Fr(zr,"indexModes",Lt());Fr(zr,"iter",HY());Fr(zr,"maybeBroadcastArray",Al());Fr(zr,"maybeBroadcastArrays",_l());Fr(zr,"minDataType",al());Fr(zr,"mostlySafeCasts",Au());Fr(zr,"ndarraylike2ndarray",eW());Fr(zr,"ndims",Ss());Fr(zr,"nextDataType",sW());Fr(zr,"numel",Yl());Fr(zr,"numelDimension",pW());Fr(zr,"offset",bt());Fr(zr,"order",Ga());Fr(zr,"orders",Ft());Fr(zr,"outputDataTypePolicies",Cs());Fr(zr,"promotionRules",qW());Fr(zr,"safeCasts",Eu());Fr(zr,"sameKindCasts",_u());Fr(zr,"shape",ie());Fr(zr,"slice",Xl());Fr(zr,"ndsliceAssign",DW());Fr(zr,"sliceDimension",BW());Fr(zr,"sliceDimensionFrom",UW());Fr(zr,"sliceDimensionTo",WW());Fr(zr,"sliceFrom",HW());Fr(zr,"sliceTo",eJ());Fr(zr,"stride",sJ());Fr(zr,"strides",Ma());Fr(zr,"sub2ind",yJ());Fr(zr,"ndarray2array",Cl());Fr(zr,"zeros",wJ());Fr(zr,"zerosLike",OJ());IJ.exports=zr});var iX=l((r1e,tX)=>{"use strict";var XWr=Xt();function KWr(r){try{return require(r)}catch(e){return XWr(e)?e:typeof e=="object"?new Error(JSON.stringify(e)):new Error(e.toString())}}tX.exports=KWr});var lc=l((e1e,oX)=>{"use strict";var HWr=iX();oX.exports=HWr});var nX=l((a1e,sX)=>{"use strict";function ZWr(r,e){return r>e?r:e}sX.exports=ZWr});var uX=l((t1e,vX)=>{"use strict";var QWr=nX();vX.exports=QWr});var lX=l((i1e,fX)=>{"use strict";var rJr=Be().factory,eJr=Dv(),aJr=rJr(eJr());fX.exports=aJr});var dX=l((o1e,cX)=>{"use strict";var tJr=lX();cX.exports=tJr});var pX=l((s1e,iJr)=>{iJr.exports=["no-transpose","transpose","conjugate-transpose"]});var mX=l((n1e,yX)=>{"use strict";var oJr=pX();function sJr(){return oJr.slice()}yX.exports=sJr});var gX=l((v1e,hX)=>{"use strict";function nJr(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}hX.exports=nJr});var qX=l((u1e,xX)=>{"use strict";var vJr=Tr(),bX=mX(),uJr=gX();vJr(bX,"enum",uJr);xX.exports=bX});var SX=l((f1e,wX)=>{"use strict";var fJr=Be().factory,lJr=qX(),cJr=fJr(lJr());wX.exports=cJr});var cc=l((l1e,EX)=>{"use strict";var dJr=SX();EX.exports=dJr});var _X=l((c1e,AX)=>{"use strict";function pJr(r,e){return e>0?0:(1-r)*e}AX.exports=pJr});var TX=l((d1e,jX)=>{"use strict";var yJr=_X();jX.exports=yJr});var dc=l((p1e,OX)=>{"use strict";var Vo=5;function mJr(r,e,a,t,o,i,s){var n,v,u,f,c;if(n=0,r<=0)return n;if(v=t,u=s,a===1&&i===1){if(f=r%Vo,f>0)for(c=0;c<f;c++)n+=e[v]*o[u],v+=1,u+=1;if(r<Vo)return n;for(c=f;c<r;c+=Vo)n+=e[v]*o[u]+e[v+1]*o[u+1]+e[v+2]*o[u+2]+e[v+3]*o[u+3]+e[v+4]*o[u+4],v+=Vo,u+=Vo;return n}for(c=0;c<r;c++)n+=e[v]*o[u],v+=a,u+=i;return n}OX.exports=mJr});var DX=l((y1e,NX)=>{"use strict";var IX=TX(),hJr=dc();function gJr(r,e,a,t,o){var i,s;return r<=0?0:(i=IX(r,a),s=IX(r,o),hJr(r,e,a,i,t,o,s))}NX.exports=gJr});var VX=l((m1e,RX)=>{"use strict";var bJr=Tr(),kX=DX(),xJr=dc();bJr(kX,"ndarray",xJr);RX.exports=kX});var PX=l((h1e,BX)=>{"use strict";var qJr=require("path").join,wJr=lc(),SJr=Xt(),EJr=VX(),pc,zX=wJr(qJr(__dirname,"./native.js"));SJr(zX)?pc=EJr:pc=zX;BX.exports=pc});var yc=l((g1e,LX)=>{"use strict";var En=Ns(),FX=PX().ndarray,AJr=kr(),lt=AJr("float64");function _t(r){return r!=="no-transpose"}function _Jr(r,e,a,t,o,i){var s,n,v,u,f,c,p;for(En([t,o])?(v=e,u=r,s=o,n=t-v*o):(v=r,u=e,s=t,n=o-v*t),p=i,c=0;c<u;c++){for(f=0;f<v;f++)a[p]=0,p+=s;p+=n}return a}function jJr(r,e,a,t,o,i,s){var n,v,u,f,c,p,m;for(En([o,i])?(u=e,f=r,n=i,v=o-u*i):(u=r,f=e,n=o,v=i-u*o),m=s,p=0;p<f;p++){for(c=0;c<u;c++)t[m]*=a,m+=n;m+=v}return t}function Sn(r,e,a,t,o,i,s,n,v,u,f,c,p,m,d,y){var h,g,x,S,w,A,_,b,E,q,j;for(w=e,A=r,h=s,g=u,x=d,S=m-w*d,j=y,b=0;b<A;b++){for(E=n+b*i,_=0;_<w;_++)q=c+_*f,p[j]+=t*FX(a,o,h,E,v,g,q),j+=x;j+=S}return p}function TJr(r,e,a,t,o,i,s,n,v,u,f,c,p,m,d,y){var h,g,x,S,w,A,_,b,E,q,j,T,I,O,D,k,N,V,z,R,B,P,F;for(E=e,q=r,h=s,g=u,x=d,N=q;N>0;)for(N<lt?(T=N,N=0):(T=lt,N-=lt),w=n+N*i,b=y+N*m,k=E;k>0;)for(k<lt?(j=k,k=0):(j=lt,k-=lt),A=c+k*f,_=b+k*d,S=m-j*d,F=a;F>0;)for(F<lt?(I=F,F=0):(I=lt,F-=lt),B=w+F*s,P=A+F*u,R=_,D=0;D<T;D++){for(V=B+D*i,O=0;O<j;O++)z=P+O*f,p[R]+=t*FX(I,o,h,V,v,g,z),R+=x;R+=S}return p}function OJr(r,e,a,t,o,i,s,n,v,u,f,c,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=jJr(a,t,d,y,h,g,x)),i===0))return y;if(S=En([n,v]),w=En([c,p]),S){if(!_t(r)){if(!w&&!_t(e))return Sn(a,t,o,i,s,n,v,u,f,c,p,m,y,h,g,x);if(w&&_t(e))return Sn(a,t,o,i,s,n,v,u,f,p,c,m,y,h,g,x)}}else if(_t(r)){if(w&&_t(e))return Sn(a,t,o,i,s,v,n,u,f,p,c,m,y,h,g,x);if(!w&&!_t(e))return Sn(a,t,o,i,s,v,n,u,f,c,p,m,y,h,g,x)}return _t(r)?(A=v,_=n):(A=n,_=v),_t(e)?(b=p,E=c):(b=c,E=p),TJr(a,t,o,i,s,A,_,u,f,b,E,m,y,h,g,x)}LX.exports=OJr});var MX=l((b1e,UX)=>{"use strict";var mc=uX(),IJr=dX(),CX=cc(),ct=cr(),NJr=yc();function DJr(r,e,a,t,o,i,s,n,v,u,f,c,p,m){var d,y,h,g,x,S,w,A,_;if(!IJr(r))throw new TypeError(ct("invalid argument. First argument must be a valid order. Value: `%s`.",r));if(!CX(e))throw new TypeError(ct("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(!CX(a))throw new TypeError(ct("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",a));if(t<0)throw new RangeError(ct("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(o<0)throw new RangeError(ct("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(ct("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,v<mc(1,d))throw new RangeError(ct("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",d,v));if(f<mc(1,y))throw new RangeError(ct("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<mc(1,h))throw new RangeError(ct("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=v,S=1,w=f,A=1,_=m):(g=v,x=1,S=f,w=1,A=m,_=1),NJr(e,a,t,o,i,s,n,g,x,0,u,S,w,0,c,p,A,_,0)}UX.exports=DJr});var YX=l((x1e,$X)=>{"use strict";var GX=cc(),zo=cr(),kJr=yc();function RJr(r,e,a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x){if(!GX(r))throw new TypeError(zo("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",r));if(!GX(e))throw new TypeError(zo("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(a<0)throw new RangeError(zo("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",a));if(t<0)throw new RangeError(zo("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",a));if(o<0)throw new RangeError(zo("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",o));return kJr(r,e,a,t,o,i,s,n,v,u,f,c,p,m,d,y,h,g,x)}$X.exports=RJr});var XX=l((q1e,JX)=>{"use strict";var VJr=Tr(),WX=MX(),zJr=YX();VJr(WX,"ndarray",zJr);JX.exports=WX});var ZX=l((w1e,HX)=>{"use strict";var BJr=require("path").join,PJr=lc(),FJr=Xt(),LJr=XX(),hc,KX=PJr(BJr(__dirname,"./native.js"));FJr(KX)?hc=LJr:hc=KX;HX.exports=hc});var MJr={};bK(MJr,{NDArray:()=>Re,__version__:()=>UJr,arange:()=>tK,array:()=>Xa,asarray:()=>vK,copy:()=>uK,empty:()=>xc,empty_like:()=>cK,eye:()=>bc,full:()=>qc,full_like:()=>dK,geomspace:()=>sK,identity:()=>nK,linspace:()=>iK,logspace:()=>oK,ones:()=>gc,ones_like:()=>lK,zeros:()=>An,zeros_like:()=>fK});module.exports=xK(MJr);var ce=He(Zl(),1),eK=He(Xl(),1),aK=He(Pe(),1);function NJ(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 DJ(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 s=a<0?e+a:a;if(s<0||s>=e)throw new Error(`Index ${a} is out of bounds for size ${e}`);return{start:s,stop:s+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 Ke="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 Lr(r){return r==="int64"||r==="uint64"}function wn(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 u=e;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}if(e==="float32"){let u=r;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}return"float32"}let a=r.startsWith("int"),t=e.startsWith("int"),o=r.startsWith("uint"),i=e.startsWith("uint"),s=u=>u.includes("64")?64:u.includes("32")?32:u.includes("16")?16:u.includes("8")?8:0,n=s(r),v=s(e);if(r==="int64"&&e==="uint64"||r==="uint64"&&e==="int64")return"float64";if(a&&i&&n===v){if(n===8)return"int16";if(n===16)return"int32";if(n===32)return"int64"}if(o&&t&&n===v){if(v===8)return"int16";if(v===16)return"int32";if(v===32)return"int64"}if(a&&t||o&&i){let u=Math.max(n,v);return a?u===64?"int64":u===32?"int32":u===16?"int16":"int8":u===64?"uint64":u===32?"uint32":u===16?"uint16":"uint8"}return a&&i?n>v?r:v===8?"int16":v===16?"int32":v===32?"int64":"float64":o&&t?v>n?e:n===8?"int16":n===16?"int32":n===32?"int64":"float64":"float64"}function ne(r){return r==="int64"||r==="uint64"?"generic":r}var ko=He(da(),1),RJ=He(Na(),1),VJ=He(ie(),1),zJ=He(Ma(),1),BJ=He(Ss(),1),PJ=He(Yl(),1),FJ=He(ot(),1);var Cr=class r{constructor(e,a){this._stdlib=e,this._dtype=a||(0,RJ.default)(e)}get shape(){return Array.from((0,VJ.default)(this._stdlib))}get ndim(){return(0,BJ.default)(this._stdlib)}get size(){return(0,PJ.default)(this._stdlib)}get dtype(){return this._dtype}get data(){return(0,FJ.default)(this._stdlib)}get strides(){return Array.from((0,zJ.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(Lr(t)){let i=new o(this.size),s=a;for(let v=0;v<this.size;v++)i[v]=s[v];let n=(0,ko.default)(ne(t),i,e,this._computeStrides(e),0,"row-major");return new r(n,t)}else{let i=new o(this.size),s=a;i.set(s);let n=(0,ko.default)(ne(t),i,e,this._computeStrides(e),0,"row-major");return new r(n,t)}}static fromStdlib(e,a){return new r(e,a)}static fromData(e,a,t){let o=r._computeStrides(a),i=(0,ko.default)(ne(t),e,a,o,0,"row-major");return new r(i,t)}static zeros(e,a=Ke){let t=e.reduce((n,v)=>n*v,1),o=Oe(a);if(!o)throw new Error(`Cannot create array with dtype ${a}`);let i=new o(t),s=(0,ko.default)(ne(a),i,e,r._computeStrides(e),0,"row-major");return new r(s,a)}static ones(e,a=Ke){let t=r.zeros(e,a),o=t.data;if(Lr(a)){let i=o;for(let s=0;s<t.size;s++)i[s]=BigInt(1)}else{let i=o;for(let s=0;s<t.size;s++)i[s]=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 Ql=He(Bf(),1);function Zt(r,e,a,t){let o,i;try{[o,i]=(0,Ql.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 s=wn(r.dtype,e.dtype),n=Array.from(o.shape),v=Cr.zeros(n,s),u=v.data,f=v.size;if(Lr(s)){let c=u;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"?c[p]=y+h:t==="subtract"?c[p]=y-h:t==="multiply"?c[p]=y*h:t==="divide"?c[p]=y/h:c[p]=BigInt(Math.round(a(Number(y),Number(h))))}}else{let c=Lr(r.dtype)||Lr(e.dtype);for(let p=0;p<f;p++){let m=o.iget(p),d=i.iget(p),y=Number(m),h=Number(d);u[p]=a(y,h)}}return v}function At(r,e,a){let t,o;try{[t,o]=(0,Ql.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),s=i.reduce((u,f)=>u*f,1),n=new Uint8Array(s),v=Lr(r.dtype)||Lr(e.dtype);for(let u=0;u<s;u++){let f=t.iget(u),c=o.iget(u),p=Number(f),m=Number(c);n[u]=a(p,m)?1:0}return Cr.fromData(n,i,"bool")}function LJ(r,e){return typeof e=="number"?RWr(r,e):Zt(r,e,(a,t)=>a+t,"add")}function CJ(r,e){return typeof e=="number"?VWr(r,e):Zt(r,e,(a,t)=>a-t,"subtract")}function UJ(r,e){return typeof e=="number"?zWr(r,e):Zt(r,e,(a,t)=>a*t,"multiply")}function MJ(r,e){if(typeof e=="number")return BWr(r,e);let a=r.dtype==="float64",t=e.dtype==="float64",o=r.dtype==="float32",i=e.dtype==="float32";if(a||t){let v=a?r:Ri(r,"float64"),u=t?e:Ri(e,"float64");return Zt(v,u,(f,c)=>f/c,"divide")}if(o||i){let v=o?r:Ri(r,"float32"),u=i?e:Ri(e,"float32");return Zt(v,u,(f,c)=>f/c,"divide")}let s=Ri(r,"float64"),n=Ri(e,"float64");return Zt(s,n,(v,u)=>v/u,"divide")}function Ri(r,e){let a=Cr.zeros(Array.from(r.shape),e),t=r.size,o=r.data,i=a.data;for(let s=0;s<t;s++)i[s]=Number(o[s]);return a}function RWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=Cr.zeros(t,a),n=s.data;if(Lr(a)){let v=o,u=n,f=BigInt(Math.round(e));for(let c=0;c<i;c++)u[c]=v[c]+f}else for(let v=0;v<i;v++)n[v]=Number(o[v])+e;return s}function VWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=Cr.zeros(t,a),n=s.data;if(Lr(a)){let v=o,u=n,f=BigInt(Math.round(e));for(let c=0;c<i;c++)u[c]=v[c]-f}else for(let v=0;v<i;v++)n[v]=Number(o[v])-e;return s}function zWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=Cr.zeros(t,a),n=s.data;if(Lr(a)){let v=o,u=n,f=BigInt(Math.round(e));for(let c=0;c<i;c++)u[c]=v[c]*f}else for(let v=0;v<i;v++)n[v]=Number(o[v])*e;return s}function BWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=a!=="float32"&&a!=="float64"?"float64":a,v=Cr.zeros(t,n),u=v.data;if(Lr(a))for(let f=0;f<i;f++)u[f]=Number(o[f])/e;else for(let f=0;f<i;f++)u[f]=Number(o[f])/e;return v}function GJ(r,e){return typeof e=="number"?FWr(r,e):At(r,e,(a,t)=>a>t)}function $J(r,e){return typeof e=="number"?LWr(r,e):At(r,e,(a,t)=>a>=t)}function YJ(r,e){return typeof e=="number"?CWr(r,e):At(r,e,(a,t)=>a<t)}function WJ(r,e){return typeof e=="number"?UWr(r,e):At(r,e,(a,t)=>a<=t)}function JJ(r,e){return typeof e=="number"?MWr(r,e):At(r,e,(a,t)=>a===t)}function XJ(r,e){return typeof e=="number"?GWr(r,e):At(r,e,(a,t)=>a!==t)}function rc(r,e,a=1e-5,t=1e-8){return typeof e=="number"?$Wr(r,e,a,t):At(r,e,(o,i)=>{let s=Math.abs(o-i),n=t+a*Math.abs(i);return s<=n})}function KJ(r,e,a=1e-5,t=1e-8){let o=rc(r,e,a,t),i=o.data;for(let s=0;s<o.size;s++)if(i[s]===0)return!1;return!0}function FWr(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 Cr.fromData(a,Array.from(r.shape),"bool")}function LWr(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 Cr.fromData(a,Array.from(r.shape),"bool")}function CWr(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 Cr.fromData(a,Array.from(r.shape),"bool")}function UWr(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 Cr.fromData(a,Array.from(r.shape),"bool")}function MWr(r,e){let a=new Uint8Array(r.size),t=r.data,o=r.dtype;if(Lr(o)){let i=BigInt(Math.round(e)),s=t;for(let n=0;n<r.size;n++)a[n]=s[n]===i?1:0}else for(let i=0;i<r.size;i++)a[i]=t[i]===e?1:0;return Cr.fromData(a,Array.from(r.shape),"bool")}function GWr(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 Cr.fromData(a,Array.from(r.shape),"bool")}function $Wr(r,e,a,t){let o=new Uint8Array(r.size),i=r.data,s=r.dtype;if(Lr(s)){let n=i;for(let v=0;v<r.size;v++){let u=Number(n[v]),f=Math.abs(u-e),c=t+a*Math.abs(e);o[v]=f<=c?1:0}}else for(let n=0;n<r.size;n++){let v=Number(i[n]),u=Math.abs(v-e),f=t+a*Math.abs(e);o[n]=u<=f?1:0}return Cr.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 Te(r,e,a,t){let o=t.length,i=new Array(o),s=Array.from(t).filter((v,u)=>u!==e),n=r;for(let v=s.length-1;v>=0;v--)i[v>=e?v+1:v]=n%s[v],n=Math.floor(n/s[v]);return i[e]=a,i}function Ro(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,s=r.size,n=r.data;if(e===void 0)if(Lr(t)){let d=n,y=BigInt(0);for(let h=0;h<s;h++)y+=d[h];return Number(y)}else{let d=0;for(let y=0;y<s;y++)d+=Number(n[y]);return d}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 u=Array.from(o).filter((d,y)=>y!==v);if(u.length===0)return Ro(r);let f=Cr.zeros(u,t),c=f.data,p=o[v],m=u.reduce((d,y)=>d*y,1);if(Lr(t)){let d=n,y=c;for(let h=0;h<m;h++){let g=BigInt(0);for(let x=0;x<p;x++){let S=Te(h,v,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=Te(d,v,h,o),x=je(g,o);y+=Number(n[x])}c[d]=y}if(a){let d=[...o];return d[v]=1,Cr.fromData(c,d,t)}return f}function ec(r,e,a=!1){let t=r.dtype,o=r.shape;if(e===void 0)return Ro(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 s=Ro(r,e,a);if(typeof s=="number")return s/o[i];let n=o[i],v=t;(Lr(t)||t.startsWith("int")||t.startsWith("uint"))&&(v="float64");let u=Cr.zeros(Array.from(s.shape),v),f=u.data,c=s.data;if(Lr(t)){let p=c;for(let m=0;m<f.length;m++)f[m]=Number(p[m])/n}else for(let p=0;p<f.length;p++)f[p]=Number(c[p])/n;return u}function ac(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,s=r.size,n=r.data;if(e===void 0){if(s===0)throw new Error("max of empty array");let d=n[0];for(let y=1;y<s;y++)n[y]>d&&(d=n[y]);return Number(d)}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 u=Array.from(o).filter((d,y)=>y!==v);if(u.length===0)return ac(r);let f=Cr.zeros(u,t),c=f.data,p=o[v],m=u.reduce((d,y)=>d*y,1);if(Lr(t)){let d=n,y=c;for(let h=0;h<m;h++){let g=Te(h,v,0,o),x=je(g,o),S=d[x];for(let w=1;w<p;w++){let A=Te(h,v,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=Te(d,v,h,o),x=je(g,o),S=Number(n[x]);S>y&&(y=S)}c[d]=y}if(a){let d=[...o];return d[v]=1,Cr.fromData(c,d,t)}return f}function tc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,s=r.size,n=r.data;if(e===void 0)if(Lr(t)){let d=n,y=BigInt(1);for(let h=0;h<s;h++)y*=d[h];return Number(y)}else{let d=1;for(let y=0;y<s;y++)d*=Number(n[y]);return d}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 u=Array.from(o).filter((d,y)=>y!==v);if(u.length===0)return tc(r);let f=Cr.zeros(u,t),c=f.data,p=o[v],m=u.reduce((d,y)=>d*y,1);if(Lr(t)){let d=n,y=c;for(let h=0;h<m;h++){let g=BigInt(1);for(let x=0;x<p;x++){let S=Te(h,v,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=Te(d,v,h,o),x=je(g,o);y*=Number(n[x])}c[d]=y}if(a){let d=[...o];return d[v]=1,Cr.fromData(c,d,t)}return f}function ic(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,s=r.size,n=r.data;if(e===void 0){if(s===0)throw new Error("min of empty array");let d=n[0];for(let y=1;y<s;y++)n[y]<d&&(d=n[y]);return Number(d)}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 u=Array.from(o).filter((d,y)=>y!==v);if(u.length===0)return ic(r);let f=Cr.zeros(u,t),c=f.data,p=o[v],m=u.reduce((d,y)=>d*y,1);if(Lr(t)){let d=n,y=c;for(let h=0;h<m;h++){let g=Te(h,v,0,o),x=je(g,o),S=d[x];for(let w=1;w<p;w++){let A=Te(h,v,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=Te(d,v,h,o),x=je(g,o),S=Number(n[x]);S<y&&(y=S)}c[d]=y}if(a){let d=[...o];return d[v]=1,Cr.fromData(c,d,t)}return f}function oc(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,s=r.data;if(e===void 0){if(i===0)throw new Error("argmin of empty array");let m=s[0],d=0;for(let y=1;y<i;y++)s[y]<m&&(m=s[y],d=y);return d}let n=e;if(n<0&&(n=o+n),n<0||n>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,d)=>d!==n);if(v.length===0)return oc(r);let u=Cr.zeros(v,"int32"),f=u.data,c=t[n],p=v.reduce((m,d)=>m*d,1);if(Lr(a)){let m=s;for(let d=0;d<p;d++){let y=Te(d,n,0,t),h=je(y,t),g=m[h],x=0;for(let S=1;S<c;S++){let w=Te(d,n,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<c;h++){let g=Te(m,n,h,t),x=je(g,t),S=Number(s[x]);S<d&&(d=S,y=h)}f[m]=y}return u}function sc(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,s=r.data;if(e===void 0){if(i===0)throw new Error("argmax of empty array");let m=s[0],d=0;for(let y=1;y<i;y++)s[y]>m&&(m=s[y],d=y);return d}let n=e;if(n<0&&(n=o+n),n<0||n>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,d)=>d!==n);if(v.length===0)return sc(r);let u=Cr.zeros(v,"int32"),f=u.data,c=t[n],p=v.reduce((m,d)=>m*d,1);if(Lr(a)){let m=s;for(let d=0;d<p;d++){let y=Te(d,n,0,t),h=je(y,t),g=m[h],x=0;for(let S=1;S<c;S++){let w=Te(d,n,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<c;h++){let g=Te(m,n,h,t),x=je(g,t),S=Number(s[x]);S>d&&(d=S,y=h)}f[m]=y}return u}function nc(r,e,a=0,t=!1){let o=r.shape,i=o.length,s=r.size,n=r.data,v=ec(r,e,t);if(e===void 0){let g=v,x=0;for(let S=0;S<s;S++){let w=Number(n[S])-g;x+=w*w}return x/(s-a)}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 f=o[u],c=v,p=c.data,m=t?c.shape:Array.from(o).filter((g,x)=>x!==u),d=Cr.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=Te(g,u,w,o),_=je(A,o),b=Number(n[_])-S;x+=b*b}y[g]=x/(f-a)}return d}function HJ(r,e,a=0,t=!1){let o=nc(r,e,a,t);if(typeof o=="number")return Math.sqrt(o);let i=Cr.zeros(Array.from(o.shape),"float64"),s=o.data,n=i.data;for(let v=0;v<s.length;v++)n[v]=Math.sqrt(Number(s[v]));return i}function vc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,s=r.data;if(e===void 0){for(let m=0;m<i;m++)if(!s[m])return!1;return!0}let n=e;if(n<0&&(n=o+n),n<0||n>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,d)=>d!==n);if(v.length===0)return vc(r);let u=Cr.zeros(v,"bool"),f=u.data,c=t[n],p=v.reduce((m,d)=>m*d,1);for(let m=0;m<p;m++){let d=!0;for(let y=0;y<c;y++){let h=Te(m,n,y,t),g=je(h,t);if(!s[g]){d=!1;break}}f[m]=d?1:0}if(a){let m=[...t];return m[n]=1,Cr.fromData(f,m,"bool")}return u}function uc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,s=r.data;if(e===void 0){for(let m=0;m<i;m++)if(s[m])return!0;return!1}let n=e;if(n<0&&(n=o+n),n<0||n>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,d)=>d!==n);if(v.length===0)return uc(r);let u=Cr.zeros(v,"bool"),f=u.data,c=t[n],p=v.reduce((m,d)=>m*d,1);for(let m=0;m<p;m++){let d=!1;for(let y=0;y<c;y++){let h=Te(m,n,y,t),g=je(h,t);if(s[g]){d=!0;break}}f[m]=d?1:0}if(a){let m=[...t];return m[n]=1,Cr.fromData(f,m,"bool")}return u}var Ja=He(Zl(),1);function ZJ(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),c=a/f;if(!Number.isInteger(c))throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(e)}`);i=e.map((p,m)=>m===o?c:p)}else i=e;if(i.reduce((f,c)=>f*c,1)!==a)throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(i)}`);if(r.isCContiguous){let f=r.data,c=Ja.default.ndarray(ne(t),f,i,Vi(i),0,"row-major");return Cr.fromStdlib(c,t)}let v=r.copy().data,u=Ja.default.ndarray(ne(t),v,i,Vi(i),0,"row-major");return Cr.fromStdlib(u,t)}function fc(r){let e=r.stdlib,a=r.shape,t=a.length,o=r.size,i=r.dtype,s=Oe(i);if(!s)throw new Error(`Cannot flatten array with dtype ${i}`);let n=new s(o),v=0,u=(c,p)=>{if(p===t){let m=e.get(...c);n[v++]=m;return}for(let m=0;m<a[p];m++)c[p]=m,u(c,p+1)};u(new Array(t),0);let f=Ja.default.ndarray(ne(i),n,[o],[1],0,"row-major");return Cr.fromStdlib(f,i)}function QJ(r){let e=r.size,a=r.dtype;if(r.isCContiguous){let t=r.data,o=Ja.default.ndarray(ne(a),t,[e],[1],0,"row-major");return Cr.fromStdlib(o,a)}return fc(r)}function rX(r,e){let a=r.shape,t=a.length,o=r.strides,i=r.data,s=r.dtype,n=r.stdlib,v;if(e===void 0)v=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)}v=e.map(d=>d<0?t+d:d)}let u=v.map(m=>a[m]),f=Array.from(o),c=v.map(m=>f[m]),p=Ja.default.ndarray(ne(s),i,u,c,Ja.default.offset(n),"row-major");return Cr.fromStdlib(p,s)}function eX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype;if(e===void 0){let s=Array.from(a).filter(u=>u!==1);s.length===0&&s.push(1);let n=Vi(s),v=Ja.default.ndarray(ne(i),o,s,n,0,"row-major");return Cr.fromStdlib(v,i)}else{let s=e<0?t+e:e;if(s<0||s>=t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t}`);if(a[s]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${e} has size ${a[s]})`);let n=Array.from(a).filter((f,c)=>c!==s),v=Vi(n),u=Ja.default.ndarray(ne(i),o,n,v,0,"row-major");return Cr.fromStdlib(u,i)}}function aX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype,s=e;if(s<0&&(s=t+e+1),s<0||s>t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t+1}`);let n=[...Array.from(a)];n.splice(s,0,1);let v=Vi(n),u=Ja.default.ndarray(ne(i),o,n,v,0,"row-major");return Cr.fromStdlib(u,i)}var QX=He(ZX(),1);function rK(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 s=wn(r.dtype,e.dtype),n=s.startsWith("int")||s.startsWith("uint")||s==="bool"?"float64":s;if(n!=="float64")throw new Error(`matmul currently only supports float64, got ${n}`);let v=r.dtype==="float64"?r.data:Float64Array.from(Array.from(r.data).map(Number)),u=e.dtype==="float64"?e.data:Float64Array.from(Array.from(e.data).map(Number)),f=Cr.zeros([a,i],"float64");return(0,QX.default)("row-major","no-transpose","no-transpose",a,i,t,1,v,t,u,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 Cr(this._data,this._dtype)}static _fromStorage(e,a){return new r(e.stdlib,e.dtype,a)}get shape(){return Array.from(ce.default.shape(this._data))}get ndim(){return ce.default.ndims(this._data)}get size(){return ce.default.numel(this._data)}get dtype(){return this._dtype||ce.default.dtype(this._data)}get data(){return ce.default.dataBuffer(this._data)}get strides(){return Array.from(ce.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,s)=>{let n=i;if(n<0&&(n=this.shape[s]+n),n<0||n>=this.shape[s])throw new Error(`Index ${i} is out of bounds for axis ${s} with size ${this.shape[s]}`);return n}),t=this._data.get(...a),o=this.dtype;return Lr(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((s,n)=>{let v=s;if(v<0&&(v=this.shape[n]+v),v<0||v>=this.shape[n])throw new Error(`Index ${s} is out of bounds for axis ${n} with size ${this.shape[n]}`);return v}),o=this.dtype,i;Lr(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(Lr(e)){let i=new o(this.size),s=t;for(let v=0;v<this.size;v++)i[v]=s[v];let n=ce.default.ndarray(ne(e),i,a,Va(a),0,"row-major");return new r(n,e)}else{let i=new o(this.size),s=t;i.set(s);let n=ce.default.ndarray(ne(e),i,a,Va(a),0,"row-major");return new r(n,e)}}astype(e,a=!0){let t=this.dtype;if(t===e&&!a)return this;if(t===e&&a)return Xa(this.toArray(),e);let o=Array.from(this.shape),i=this.size,s=Oe(e);if(!s)throw new Error(`Cannot convert to dtype ${e}`);let n=new s(i),v=this.data;if(Lr(t)&&!Lr(e)){let f=v;if(e==="bool")for(let c=0;c<i;c++)n[c]=f[c]!==BigInt(0)?1:0;else for(let c=0;c<i;c++)n[c]=Number(f[c])}else if(!Lr(t)&&Lr(e)){let f=v;for(let c=0;c<i;c++)n[c]=BigInt(Math.round(Number(f[c])))}else if(e==="bool"){let f=v;for(let c=0;c<i;c++)n[c]=f[c]!==0?1:0}else if(t==="bool"&&!Lr(e)){let f=v;for(let c=0;c<i;c++)n[c]=f[c]}else if(!Lr(t)&&!Lr(e)){let f=v;for(let c=0;c<i;c++)n[c]=f[c]}else{let f=v;for(let c=0;c<i;c++)n[c]=f[c]}let u=ce.default.ndarray(ne(e),n,o,Va(o),0,"row-major");return new r(u,e)}add(e){let a=typeof e=="number"?e:e._storage,t=LJ(this._storage,a);return r._fromStorage(t)}subtract(e){let a=typeof e=="number"?e:e._storage,t=CJ(this._storage,a);return r._fromStorage(t)}multiply(e){let a=typeof e=="number"?e:e._storage,t=UJ(this._storage,a);return r._fromStorage(t)}divide(e){let a=typeof e=="number"?e:e._storage,t=MJ(this._storage,a);return r._fromStorage(t)}greater(e){let a=typeof e=="number"?e:e._storage,t=GJ(this._storage,a);return r._fromStorage(t)}greater_equal(e){let a=typeof e=="number"?e:e._storage,t=$J(this._storage,a);return r._fromStorage(t)}less(e){let a=typeof e=="number"?e:e._storage,t=YJ(this._storage,a);return r._fromStorage(t)}less_equal(e){let a=typeof e=="number"?e:e._storage,t=WJ(this._storage,a);return r._fromStorage(t)}equal(e){let a=typeof e=="number"?e:e._storage,t=JJ(this._storage,a);return r._fromStorage(t)}not_equal(e){let a=typeof e=="number"?e:e._storage,t=XJ(this._storage,a);return r._fromStorage(t)}isclose(e,a=1e-5,t=1e-8){let o=typeof e=="number"?e:e._storage,i=rc(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 KJ(this._storage,o,a,t)}sum(e,a=!1){let t=Ro(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}mean(e,a=!1){let t=ec(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}max(e,a=!1){let t=ac(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}min(e,a=!1){let t=ic(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}prod(e,a=!1){let t=tc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}argmin(e){let a=oc(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}argmax(e){let a=sc(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}var(e,a=0,t=!1){let o=nc(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}std(e,a=0,t=!1){let o=HJ(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}all(e,a=!1){let t=vc(this._storage,e,a);return typeof t=="boolean"?t:r._fromStorage(t)}any(e,a=!1){let t=uc(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=ZJ(this._storage,a),i=t.data===this.data?this._base??this:void 0;return r._fromStorage(t,i)}flatten(){let e=fc(this._storage);return r._fromStorage(e)}ravel(){let e=QJ(this._storage),t=e.data===this.data?this._base??this:void 0;return r._fromStorage(e,t)}transpose(e){let a=rX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}squeeze(e){let a=eX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}expand_dims(e){let a=aX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}matmul(e){let a=rK(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((s,n)=>{let v=NJ(s);return DJ(v,this.shape[n])});for(;a.length<this.ndim;)a.push({start:0,stop:this.shape[a.length],step:1,isIndex:!1});let t=a.map((s,n)=>{if(s.isIndex)return s.start;{let v=s.start,u=s.stop;return s.step>0?(v===0&&(v=null),u===this.shape[n]&&(u=null)):(v===this.shape[n]-1&&(v=null),u===-1&&(u=null)),new aK.default(v,u,s.step)}}),o=(0,eK.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():ce.default.ndarray2array(this._data)}};function An(r,e=Ke){let a=Oe(e);if(!a)throw new Error(`Cannot create zeros array with dtype ${e}`);let t=r.reduce((s,n)=>s*n,1),o=new a(t),i=ce.default.ndarray(ne(e),o,r,Va(r),0,"row-major");return new Re(i,e)}function Va(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 gc(r,e=Ke){let a=Oe(e);if(!a)throw new Error(`Cannot create ones array with dtype ${e}`);let t=r.reduce((s,n)=>s*n,1),o=new a(t);Lr(e)?o.fill(BigInt(1)):o.fill(1);let i=ce.default.ndarray(ne(e),o,r,Va(r),0,"row-major");return new Re(i,e)}function Xa(r,e){if(e===void 0){let f=ce.default.array(r);return new Re(f)}let a=ce.default.array(r);if(ce.default.dtype(a)===e)return new Re(a);let o=Array.from(ce.default.shape(a)),i=o.reduce((f,c)=>f*c,1),s=Oe(e);if(!s)throw new Error(`Cannot create array with dtype ${e}`);let n=new s(i),v=ce.default.dataBuffer(a);if(Lr(e))for(let f=0;f<i;f++)n[f]=BigInt(Math.round(Number(v[f])));else if(e==="bool")for(let f=0;f<i;f++)n[f]=v[f]?1:0;else for(let f=0;f<i;f++)n[f]=Number(v[f]);let u=ce.default.ndarray(ne(e),n,o,Va(o),0,"row-major");return new Re(u,e)}function tK(r,e,a=1,t=Ke){let o=r,i=e;if(e===void 0&&(o=0,i=r),i===void 0)throw new Error("stop is required");let s=Math.max(0,Math.ceil((i-o)/a)),n=Oe(t);if(!n)throw new Error(`Cannot create arange array with dtype ${t}`);let v=new n(s);if(Lr(t))for(let f=0;f<s;f++)v[f]=BigInt(Math.round(o+f*a));else if(t==="bool")for(let f=0;f<s;f++)v[f]=o+f*a!==0?1:0;else for(let f=0;f<s;f++)v[f]=o+f*a;let u=ce.default.ndarray(ne(t),v,[s],[1],0,"row-major");return new Re(u,t)}function iK(r,e,a=50,t=Ke){if(a<0)throw new Error("num must be non-negative");if(a===0)return Xa([],t);if(a===1)return Xa([r],t);let o=Oe(t);if(!o)throw new Error(`Cannot create linspace array with dtype ${t}`);let i=new o(a),s=(e-r)/(a-1);if(Lr(t))for(let v=0;v<a;v++)i[v]=BigInt(Math.round(r+v*s));else if(t==="bool")for(let v=0;v<a;v++)i[v]=r+v*s!==0?1:0;else for(let v=0;v<a;v++)i[v]=r+v*s;let n=ce.default.ndarray(ne(t),i,[a],[1],0,"row-major");return new Re(n,t)}function oK(r,e,a=50,t=10,o=Ke){if(a<0)throw new Error("num must be non-negative");if(a===0)return Xa([],o);if(a===1)return Xa([Math.pow(t,r)],o);let i=Oe(o);if(!i)throw new Error(`Cannot create logspace array with dtype ${o}`);let s=new i(a),n=(e-r)/(a-1);if(Lr(o))for(let u=0;u<a;u++){let f=r+u*n;s[u]=BigInt(Math.round(Math.pow(t,f)))}else if(o==="bool")for(let u=0;u<a;u++){let f=r+u*n;s[u]=Math.pow(t,f)!==0?1:0}else for(let u=0;u<a;u++){let f=r+u*n;s[u]=Math.pow(t,f)}let v=ce.default.ndarray(ne(o),s,[a],[1],0,"row-major");return new Re(v,o)}function sK(r,e,a=50,t=Ke){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 Xa([],t);if(a===1)return Xa([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 s=Oe(t);if(!s)throw new Error(`Cannot create geomspace array with dtype ${t}`);let n=new s(a),v=Math.log(Math.abs(r)),f=(Math.log(Math.abs(e))-v)/(a-1);if(Lr(t))for(let p=0;p<a;p++){let m=o*Math.exp(v+p*f);n[p]=BigInt(Math.round(m))}else if(t==="bool")for(let p=0;p<a;p++){let m=o*Math.exp(v+p*f);n[p]=m!==0?1:0}else for(let p=0;p<a;p++){let m=o*Math.exp(v+p*f);n[p]=m}let c=ce.default.ndarray(ne(t),n,[a],[1],0,"row-major");return new Re(c,t)}function bc(r,e,a=0,t=Ke){let o=e??r,i=An([r,o],t),s=i.data;if(Lr(t)){let n=s;for(let v=0;v<r;v++){let u=v+a;u>=0&&u<o&&(n[v*o+u]=BigInt(1))}}else{let n=s;for(let v=0;v<r;v++){let u=v+a;u>=0&&u<o&&(n[v*o+u]=1)}}return i}function xc(r,e=Ke){let a=Oe(e);if(!a)throw new Error(`Cannot create empty array with dtype ${e}`);let t=r.reduce((s,n)=>s*n,1),o=new a(t),i=ce.default.ndarray(ne(e),o,r,Va(r),0,"row-major");return new Re(i,e)}function qc(r,e,a){let t=a;t||(typeof e=="bigint"?t="int64":typeof e=="boolean"?t="bool":Number.isInteger(e)?t="int32":t=Ke);let o=Oe(t);if(!o)throw new Error(`Cannot create full array with dtype ${t}`);let i=r.reduce((v,u)=>v*u,1),s=new o(i);if(Lr(t)){let v=typeof e=="bigint"?e:BigInt(Math.round(Number(e)));s.fill(v)}else t==="bool"?s.fill(e?1:0):s.fill(Number(e));let n=ce.default.ndarray(ne(t),s,r,Va(r),0,"row-major");return new Re(n,t)}function nK(r,e=Ke){return bc(r,r,0,e)}function vK(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),s=r.data;if(Lr(e))for(let v=0;v<t;v++)i[v]=BigInt(Math.round(Number(s[v])));else if(e==="bool")for(let v=0;v<t;v++)i[v]=s[v]?1:0;else for(let v=0;v<t;v++)i[v]=Number(s[v]);let n=ce.default.ndarray(ne(e),i,a,Va(a),0,"row-major");return new Re(n,e)}return Xa(r,e)}function uK(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,s=new t(o);if(r.flags.C_CONTIGUOUS)Lr(a),s.set(i);else{let v=Array.from(e),u=Va(v);for(let f=0;f<o;f++){let c=[],p=f;for(let d=0;d<v.length;d++){let y=u[d],h=Math.floor(p/y);c.push(h),p-=h*y}let m=r.get(c);Lr(a),s[f]=m}}let n=ce.default.ndarray(ne(a),s,e,Va(e),0,"row-major");return new Re(n,a)}function fK(r,e){return An(Array.from(r.shape),e??r.dtype)}function lK(r,e){return gc(Array.from(r.shape),e??r.dtype)}function cK(r,e){return xc(Array.from(r.shape),e??r.dtype)}function dK(r,e,a){return qc(Array.from(r.shape),e,a??r.dtype)}var UJr="0.1.0";0&&(module.exports={NDArray,__version__,arange,array,asarray,copy,empty,empty_like,eye,full,full_like,geomspace,identity,linspace,logspace,ones,ones_like,zeros,zeros_like});
|
|
1
|
+
"use strict";var Wh=Object.create;var he=Object.defineProperty;var Zh=Object.getOwnPropertyDescriptor;var Jh=Object.getOwnPropertyNames;var Hh=Object.getPrototypeOf,Xh=Object.prototype.hasOwnProperty;var l=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Qh=(e,r)=>{for(var t in r)he(e,t,{get:r[t],enumerable:!0})},Dn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Jh(r))!Xh.call(e,i)&&i!==t&&he(e,i,{get:()=>r[i],enumerable:!(n=Zh(r,i))||n.enumerable});return e};var Kh=(e,r,t)=>(t=e!=null?Wh(Hh(e)):{},Dn(r||!e||!e.__esModule?he(t,"default",{value:e,enumerable:!0}):t,e)),rg=e=>Dn(he({},"__esModule",{value:!0}),e);var oi=l((g1,ai)=>{"use strict";var xg=Object;ai.exports=xg});var ui=l((v1,si)=>{"use strict";var Eg=oi();si.exports=Eg});var li=l((b1,fi)=>{"use strict";var Sg=/./;fi.exports=Sg});var pi=l((d1,ci)=>{"use strict";var _g=typeof Object.defineProperty=="function"?Object.defineProperty:null;ci.exports=_g});var mi=l((w1,yi)=>{"use strict";var Tg=pi();function qg(){try{return Tg({},"x",{}),!0}catch{return!1}}yi.exports=qg});var gi=l((A1,hi)=>{"use strict";var Ig=Object.defineProperty;hi.exports=Ig});var Ke=l((x1,vi)=>{"use strict";function Dg(e){return typeof e=="number"}vi.exports=Dg});var rt=l((E1,di)=>{"use strict";function Ng(e){return e[0]==="-"}function bi(e){var r="",t;for(t=0;t<e;t++)r+="0";return r}function Bg(e,r,t){var n=!1,i=r-e.length;return i<0||(Ng(e)&&(n=!0,e=e.substr(1)),e=t?e+bi(i):bi(i)+e,n&&(e="-"+e)),e}di.exports=Bg});var Ei=l((S1,xi)=>{"use strict";var Og=Ke(),wi=rt(),Vg=String.prototype.toLowerCase,Ai=String.prototype.toUpperCase;function Ug(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(!Og(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=wi(t,e.precision,e.padRight)),t="-"+t):(t=n.toString(r),!n&&!e.precision?t="":e.precision&&(t=wi(t,e.precision,e.padRight)),e.sign&&(t=e.sign+t)),r===16&&(e.alternate&&(t="0x"+t),t=e.specifier===Ai.call(e.specifier)?Ai.call(t):Vg.call(t)),r===8&&e.alternate&&t.charAt(0)!=="0"&&(t="0"+t),t}xi.exports=Ug});var _i=l((_1,Si)=>{"use strict";function zg(e){return typeof e=="string"}Si.exports=zg});var Ii=l((T1,qi)=>{"use strict";var Fg=Ke(),Rg=Math.abs,jg=String.prototype.toLowerCase,Ti=String.prototype.toUpperCase,Dr=String.prototype.replace,Cg=/e\+(\d)$/,Lg=/e-(\d)$/,Mg=/^(\d+)$/,Pg=/^(\d+)e/,kg=/\.0$/,$g=/\.0*e/,Gg=/(\..*[^0])0*e/;function Yg(e){var r,t,n=parseFloat(e.arg);if(!isFinite(n)){if(!Fg(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":Rg(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,Gg,"$1e"),t=Dr.call(t,$g,"e"),t=Dr.call(t,kg,""));break;default:throw new Error("invalid double notation. Value: "+e.specifier)}return t=Dr.call(t,Cg,"e+0$1"),t=Dr.call(t,Lg,"e-0$1"),e.alternate&&(t=Dr.call(t,Mg,"$1."),t=Dr.call(t,Pg,"$1.e")),n>=0&&e.sign&&(t=e.sign+t),t=e.specifier===Ti.call(e.specifier)?Ti.call(t):jg.call(t),t}qi.exports=Yg});var Bi=l((q1,Ni)=>{"use strict";function Di(e){var r="",t;for(t=0;t<e;t++)r+=" ";return r}function Wg(e,r,t){var n=r-e.length;return n<0||(e=t?e+Di(n):Di(n)+e),e}Ni.exports=Wg});var Vi=l((I1,Oi)=>{"use strict";var Zg=Ei(),Jg=_i(),Hg=Ii(),Xg=Bi(),Qg=rt(),Kg=String.fromCharCode,rv=Array.isArray;function ve(e){return e!==e}function ev(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 tv(e){var r,t,n,i,a,s,o,f,u;if(!rv(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],Jg(n))s+=n;else{if(r=n.precision!==void 0,n=ev(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,ve(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,ve(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=Zg(n);break;case"s":n.maxWidth=r?n.precision:-1,n.arg=String(n.arg);break;case"c":if(!ve(n.arg)){if(a=parseInt(n.arg,10),a<0||a>127)throw new Error("invalid character code. Value: "+n.arg);n.arg=ve(a)?String(n.arg):Kg(a)}break;case"e":case"E":case"f":case"F":case"g":case"G":r||(n.precision=6),n.arg=Hg(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=Qg(n.arg,n.width||n.precision,n.padRight):n.width&&(n.arg=Xg(n.arg,n.width,n.padRight)),s+=n.arg||"",o+=1}return s}Oi.exports=tv});var zi=l((D1,Ui)=>{"use strict";var nv=Vi();Ui.exports=nv});var Ri=l((N1,Fi)=>{"use strict";var be=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function iv(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 av(e){var r,t,n,i;for(t=[],i=0,n=be.exec(e);n;)r=e.slice(i,be.lastIndex-n[0].length),r.length&&t.push(r),t.push(iv(n)),i=be.lastIndex,n=be.exec(e);return r=e.slice(i),r.length&&t.push(r),t}Fi.exports=av});var Ci=l((B1,ji)=>{"use strict";var ov=Ri();ji.exports=ov});var Mi=l((O1,Li)=>{"use strict";function sv(e){return typeof e=="string"}Li.exports=sv});var $i=l((V1,ki)=>{"use strict";var uv=zi(),fv=Ci(),lv=Mi();function Pi(e){var r,t;if(!lv(e))throw new TypeError(Pi("invalid argument. First argument must be a string. Value: `%s`.",e));for(r=[fv(e)],t=1;t<arguments.length;t++)r.push(arguments[t]);return uv.apply(null,r)}ki.exports=Pi});var J=l((U1,Gi)=>{"use strict";var cv=$i();Gi.exports=cv});var Xi=l((z1,Hi)=>{"use strict";var Yi=J(),Fr=Object.prototype,Wi=Fr.toString,Zi=Fr.__defineGetter__,Ji=Fr.__defineSetter__,pv=Fr.__lookupGetter__,yv=Fr.__lookupSetter__;function mv(e,r,t){var n,i,a,s;if(typeof e!="object"||e===null||Wi.call(e)==="[object Array]")throw new TypeError(Yi("invalid argument. First argument must be an object. Value: `%s`.",e));if(typeof t!="object"||t===null||Wi.call(t)==="[object Array]")throw new TypeError(Yi("invalid argument. Property descriptor must be an object. Value: `%s`.",t));if(i="value"in t,i&&(pv.call(e,r)||yv.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&&Zi&&Zi.call(e,r,t.get),s&&Ji&&Ji.call(e,r,t.set),e}Hi.exports=mv});var Pr=l((F1,Qi)=>{"use strict";var hv=mi(),gv=gi(),vv=Xi(),et;hv()?et=gv:et=vv;Qi.exports=et});var ra=l((R1,Ki)=>{"use strict";var bv=Pr();function dv(e,r,t){bv(e,r,{configurable:!1,enumerable:!1,writable:!1,value:t})}Ki.exports=dv});var W=l((j1,ea)=>{"use strict";var wv=ra();ea.exports=wv});var tt=l((C1,ta)=>{"use strict";function Av(e){return typeof e=="boolean"}ta.exports=Av});var ia=l((L1,na)=>{"use strict";function xv(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}na.exports=xv});var oa=l((M1,aa)=>{"use strict";var Ev=ia();aa.exports=Ev});var ua=l((P1,sa)=>{"use strict";var Sv=oa(),_v=Sv();function Tv(){return _v&&typeof Symbol.toStringTag=="symbol"}sa.exports=Tv});var kr=l((k1,fa)=>{"use strict";var qv=ua();fa.exports=qv});var nt=l(($1,la)=>{"use strict";var Iv=Object.prototype.toString;la.exports=Iv});var pa=l((G1,ca)=>{"use strict";var Dv=nt();function Nv(e){return Dv.call(e)}ca.exports=Nv});var ma=l((Y1,ya)=>{"use strict";var Bv=Object.prototype.hasOwnProperty;function Ov(e,r){return e==null?!1:Bv.call(e,r)}ya.exports=Ov});var it=l((W1,ha)=>{"use strict";var Vv=ma();ha.exports=Vv});var va=l((Z1,ga)=>{"use strict";var Uv=typeof Symbol=="function"?Symbol:void 0;ga.exports=Uv});var at=l((J1,ba)=>{"use strict";var zv=va();ba.exports=zv});var Aa=l((H1,wa)=>{"use strict";var da=at(),Fv=typeof da=="function"?da.toStringTag:"";wa.exports=Fv});var Ea=l((X1,xa)=>{"use strict";var Rv=it(),$r=Aa(),ot=nt();function jv(e){var r,t,n;if(e==null)return ot.call(e);t=e[$r],r=Rv(e,$r);try{e[$r]=void 0}catch{return ot.call(e)}return n=ot.call(e),r?e[$r]=t:delete e[$r],n}xa.exports=jv});var Z=l((Q1,Sa)=>{"use strict";var Cv=kr(),Lv=pa(),Mv=Ea(),st;Cv()?st=Mv:st=Lv;Sa.exports=st});var Ta=l((K1,_a)=>{"use strict";var Pv=Boolean;_a.exports=Pv});var Rr=l((rq,qa)=>{"use strict";var kv=Ta();qa.exports=kv});var Da=l((eq,Ia)=>{"use strict";var $v=Boolean.prototype.toString;Ia.exports=$v});var Ba=l((tq,Na)=>{"use strict";var Gv=Da();function Yv(e){try{return Gv.call(e),!0}catch{return!1}}Na.exports=Yv});var ut=l((nq,Oa)=>{"use strict";var Wv=kr(),Zv=Z(),Jv=Rr(),Hv=Ba(),Xv=Wv();function Qv(e){return typeof e=="object"?e instanceof Jv?!0:Xv?Hv(e):Zv(e)==="[object Boolean]":!1}Oa.exports=Qv});var Ua=l((iq,Va)=>{"use strict";var Kv=tt(),rb=ut();function eb(e){return Kv(e)||rb(e)}Va.exports=eb});var lt=l((aq,Fa)=>{"use strict";var za=W(),ft=Ua(),tb=tt(),nb=ut();za(ft,"isPrimitive",tb);za(ft,"isObject",nb);Fa.exports=ft});var ja=l((oq,Ra)=>{"use strict";function ib(){return new Function("return this;")()}Ra.exports=ib});var La=l((sq,Ca)=>{"use strict";var ab=typeof self=="object"?self:null;Ca.exports=ab});var Pa=l((uq,Ma)=>{"use strict";var ob=typeof window=="object"?window:null;Ma.exports=ob});var $a=l((fq,ka)=>{"use strict";var sb=typeof global=="object"?global:null;ka.exports=sb});var Ya=l((lq,Ga)=>{"use strict";var ub=typeof globalThis=="object"?globalThis:null;Ga.exports=ub});var Qa=l((cq,Xa)=>{"use strict";var fb=lt().isPrimitive,lb=J(),cb=ja(),Wa=La(),Za=Pa(),Ja=$a(),Ha=Ya();function pb(e){if(arguments.length){if(!fb(e))throw new TypeError(lb("invalid argument. Must provide a boolean. Value: `%s`.",e));if(e)return cb()}if(Ha)return Ha;if(Wa)return Wa;if(Za)return Za;if(Ja)return Ja;throw new Error("unexpected error. Unable to resolve global object.")}Xa.exports=pb});var ro=l((pq,Ka)=>{"use strict";var yb=Qa();Ka.exports=yb});var no=l((yq,to)=>{"use strict";var mb=ro(),eo=mb(),hb=eo.document&&eo.document.childNodes;to.exports=hb});var ao=l((mq,io)=>{"use strict";var gb=Int8Array;io.exports=gb});var so=l((hq,oo)=>{"use strict";var vb=li(),bb=no(),db=ao();function wb(){return typeof vb=="function"||typeof db=="object"||typeof bb=="function"}oo.exports=wb});var ct=l((gq,uo)=>{"use strict";function Ab(){return/^\s*function\s*([^(]*)/i}uo.exports=Ab});var lo=l((vq,fo)=>{"use strict";var xb=ct(),Eb=xb();fo.exports=Eb});var yo=l((bq,po)=>{"use strict";var Sb=W(),co=ct(),_b=lo();Sb(co,"REGEXP",_b);po.exports=co});var ho=l((dq,mo)=>{"use strict";var Tb=Z(),pt;function qb(e){return Tb(e)==="[object Array]"}Array.isArray?pt=Array.isArray:pt=qb;mo.exports=pt});var jr=l((wq,go)=>{"use strict";var Ib=ho();go.exports=Ib});var bo=l((Aq,vo)=>{"use strict";var Db=jr(),Nb=J();function Bb(e){if(typeof e!="function")throw new TypeError(Nb("invalid argument. Must provide a function. Value: `%s`.",e));return r;function r(t){var n,i;if(!Db(t)||(n=t.length,n===0))return!1;for(i=0;i<n;i++)if(e(t[i])===!1)return!1;return!0}}vo.exports=Bb});var yt=l((xq,wo)=>{"use strict";var Ob=bo();wo.exports=Ob});var xo=l((Eq,Ao)=>{"use strict";function Vb(e){return e!==null&&typeof e=="object"}Ao.exports=Vb});var So=l((Sq,Eo)=>{"use strict";var Ub=W(),zb=yt(),mt=xo(),Fb=zb(mt);Ub(mt,"isObjectLikeArray",Fb);Eo.exports=mt});var To=l((_q,_o)=>{"use strict";var Rb=So();function jb(e){return Rb(e)&&(e._isBuffer||e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))}_o.exports=jb});var ht=l((Tq,qo)=>{"use strict";var Cb=To();qo.exports=Cb});var Do=l((qq,Io)=>{"use strict";var Lb=Z(),Mb=yo().REGEXP,Pb=ht();function kb(e){var r,t,n;if(t=Lb(e).slice(8,-1),(t==="Object"||t==="Error")&&e.constructor){if(n=e.constructor,typeof n.name=="string")return n.name;if(r=Mb.exec(n.toString()),r)return r[1]}return Pb(e)?"Buffer":t}Io.exports=kb});var de=l((Iq,No)=>{"use strict";var $b=Do();No.exports=$b});var Oo=l((Dq,Bo)=>{"use strict";var Gb=de();function Yb(e){var r;return e===null?"null":(r=typeof e,r==="object"?Gb(e).toLowerCase():r)}Bo.exports=Yb});var Uo=l((Nq,Vo)=>{"use strict";var Wb=de();function Zb(e){return Wb(e).toLowerCase()}Vo.exports=Zb});var Fo=l((Bq,zo)=>{"use strict";var Jb=so(),Hb=Oo(),Xb=Uo(),Qb=Jb()?Xb:Hb;zo.exports=Qb});var jo=l((Oq,Ro)=>{"use strict";var Kb=Fo();function rd(e){return Kb(e)==="function"}Ro.exports=rd});var Gr=l((Vq,Co)=>{"use strict";var ed=jo();Co.exports=ed});var Mo=l((Uq,Lo)=>{"use strict";var td=Object.getPrototypeOf;Lo.exports=td});var ko=l((zq,Po)=>{"use strict";function nd(e){return e.__proto__}Po.exports=nd});var Go=l((Fq,$o)=>{"use strict";var id=Z(),ad=ko();function od(e){var r=ad(e);return r||r===null?r:id(e.constructor)==="[object Function]"?e.constructor.prototype:e instanceof Object?Object.prototype:null}$o.exports=od});var Wo=l((Rq,Yo)=>{"use strict";var sd=Gr(),ud=Mo(),fd=Go(),gt;sd(Object.getPrototypeOf)?gt=ud:gt=fd;Yo.exports=gt});var Jo=l((jq,Zo)=>{"use strict";var ld=ui(),cd=Wo();function pd(e){return e==null?null:(e=ld(e),cd(e))}Zo.exports=pd});var Xo=l((Cq,Ho)=>{"use strict";var yd=Jo();Ho.exports=yd});var Ko=l((Lq,Qo)=>{"use strict";var md=Xo(),hd=Z();function gd(e){if(typeof e!="object"||e===null)return!1;if(e instanceof Error)return!0;for(;e;){if(hd(e)==="[object Error]")return!0;e=md(e)}return!1}Qo.exports=gd});var we=l((Mq,rs)=>{"use strict";var vd=Ko();rs.exports=vd});var ts=l((Pq,es)=>{"use strict";var bd=we();function dd(e){try{return require(e)}catch(r){return bd(r)?r:typeof r=="object"?new Error(JSON.stringify(r)):new Error(r.toString())}}es.exports=dd});var vt=l((kq,ns)=>{"use strict";var wd=ts();ns.exports=wd});var as=l(($q,is)=>{"use strict";function Ad(e,r){return e>r?e:r}is.exports=Ad});var ss=l((Gq,os)=>{"use strict";var xd=as();os.exports=xd});var ls=l((Yq,fs)=>{"use strict";var us="function";function Ed(e){return typeof e.get===us&&typeof e.set===us}fs.exports=Ed});var bt=l((Wq,cs)=>{"use strict";var Sd=ls();cs.exports=Sd});var ms=l((Zq,ys)=>{"use strict";var ps={complex128:_d,complex64:Td,default:qd};function _d(e,r){return e.get(r)}function Td(e,r){return e.get(r)}function qd(e,r){return e.get(r)}function Id(e){var r=ps[e];return typeof r=="function"?r:ps.default}ys.exports=Id});var Cr=l((Jq,hs)=>{"use strict";var Dd=ms();hs.exports=Dd});var bs=l((Hq,vs)=>{"use strict";var gs={float64:Nd,float32:Bd,int32:Od,int16:Vd,int8:Ud,uint32:zd,uint16:Fd,uint8:Rd,uint8c:jd,generic:Cd,default:Ld};function Nd(e,r){return e[r]}function Bd(e,r){return e[r]}function Od(e,r){return e[r]}function Vd(e,r){return e[r]}function Ud(e,r){return e[r]}function zd(e,r){return e[r]}function Fd(e,r){return e[r]}function Rd(e,r){return e[r]}function jd(e,r){return e[r]}function Cd(e,r){return e[r]}function Ld(e,r){return e[r]}function Md(e){var r=gs[e];return typeof r=="function"?r:gs.default}vs.exports=Md});var Yr=l((Xq,ds)=>{"use strict";var Pd=bs();ds.exports=Pd});var As=l((Qq,ws)=>{"use strict";var kd={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"};ws.exports=kd});var Es=l((Kq,xs)=>{"use strict";var $d=Z(),Gd=typeof Float64Array=="function";function Yd(e){return Gd&&e instanceof Float64Array||$d(e)==="[object Float64Array]"}xs.exports=Yd});var _s=l((rI,Ss)=>{"use strict";var Wd=Es();Ss.exports=Wd});var qs=l((eI,Ts)=>{"use strict";var Zd=typeof Float64Array=="function"?Float64Array:null;Ts.exports=Zd});var Ns=l((tI,Ds)=>{"use strict";var Jd=_s(),Is=qs();function Hd(){var e,r;if(typeof Is!="function")return!1;try{r=new Is([1,3.14,-3.14,NaN]),e=Jd(r)&&r[0]===1&&r[1]===3.14&&r[2]===-3.14&&r[3]!==r[3]}catch{e=!1}return e}Ds.exports=Hd});var Os=l((nI,Bs)=>{"use strict";var Xd=Ns();Bs.exports=Xd});var Us=l((iI,Vs)=>{"use strict";var Qd=typeof Float64Array=="function"?Float64Array:void 0;Vs.exports=Qd});var Fs=l((aI,zs)=>{"use strict";function Kd(){throw new Error("not implemented")}zs.exports=Kd});var Ae=l((oI,Rs)=>{"use strict";var rw=Os(),ew=Us(),tw=Fs(),dt;rw()?dt=ew:dt=tw;Rs.exports=dt});var Cs=l((sI,js)=>{"use strict";var nw=Z(),iw=typeof Float32Array=="function";function aw(e){return iw&&e instanceof Float32Array||nw(e)==="[object Float32Array]"}js.exports=aw});var Ms=l((uI,Ls)=>{"use strict";var ow=Cs();Ls.exports=ow});var wt=l((fI,Ps)=>{"use strict";var sw=Number.POSITIVE_INFINITY;Ps.exports=sw});var $s=l((lI,ks)=>{"use strict";var uw=typeof Float32Array=="function"?Float32Array:null;ks.exports=uw});var Ws=l((cI,Ys)=>{"use strict";var fw=Ms(),lw=wt(),Gs=$s();function cw(){var e,r;if(typeof Gs!="function")return!1;try{r=new Gs([1,3.14,-3.14,5e40]),e=fw(r)&&r[0]===1&&r[1]===3.140000104904175&&r[2]===-3.140000104904175&&r[3]===lw}catch{e=!1}return e}Ys.exports=cw});var Js=l((pI,Zs)=>{"use strict";var pw=Ws();Zs.exports=pw});var Xs=l((yI,Hs)=>{"use strict";var yw=typeof Float32Array=="function"?Float32Array:void 0;Hs.exports=yw});var Ks=l((mI,Qs)=>{"use strict";function mw(){throw new Error("not implemented")}Qs.exports=mw});var Wr=l((hI,ru)=>{"use strict";var hw=Js(),gw=Xs(),vw=Ks(),At;hw()?At=gw:At=vw;ru.exports=At});var tu=l((gI,eu)=>{"use strict";var bw=Z(),dw=typeof Uint32Array=="function";function ww(e){return dw&&e instanceof Uint32Array||bw(e)==="[object Uint32Array]"}eu.exports=ww});var iu=l((vI,nu)=>{"use strict";var Aw=tu();nu.exports=Aw});var ou=l((bI,au)=>{"use strict";var xw=4294967295;au.exports=xw});var uu=l((dI,su)=>{"use strict";var Ew=typeof Uint32Array=="function"?Uint32Array:null;su.exports=Ew});var cu=l((wI,lu)=>{"use strict";var Sw=iu(),xt=ou(),fu=uu();function _w(){var e,r;if(typeof fu!="function")return!1;try{r=[1,3.14,-3.14,xt+1,xt+2],r=new fu(r),e=Sw(r)&&r[0]===1&&r[1]===3&&r[2]===xt-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}lu.exports=_w});var yu=l((AI,pu)=>{"use strict";var Tw=cu();pu.exports=Tw});var hu=l((xI,mu)=>{"use strict";var qw=typeof Uint32Array=="function"?Uint32Array:void 0;mu.exports=qw});var vu=l((EI,gu)=>{"use strict";function Iw(){throw new Error("not implemented")}gu.exports=Iw});var du=l((SI,bu)=>{"use strict";var Dw=yu(),Nw=hu(),Bw=vu(),Et;Dw()?Et=Nw:Et=Bw;bu.exports=Et});var Au=l((_I,wu)=>{"use strict";var Ow=Z(),Vw=typeof Int32Array=="function";function Uw(e){return Vw&&e instanceof Int32Array||Ow(e)==="[object Int32Array]"}wu.exports=Uw});var Eu=l((TI,xu)=>{"use strict";var zw=Au();xu.exports=zw});var _u=l((qI,Su)=>{"use strict";var Fw=2147483647;Su.exports=Fw});var qu=l((II,Tu)=>{"use strict";var Rw=-2147483648;Tu.exports=Rw});var Du=l((DI,Iu)=>{"use strict";var jw=typeof Int32Array=="function"?Int32Array:null;Iu.exports=jw});var Ou=l((NI,Bu)=>{"use strict";var Cw=Eu(),Lw=_u(),Mw=qu(),Nu=Du();function Pw(){var e,r;if(typeof Nu!="function")return!1;try{r=new Nu([1,3.14,-3.14,Lw+1]),e=Cw(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===Mw}catch{e=!1}return e}Bu.exports=Pw});var Uu=l((BI,Vu)=>{"use strict";var kw=Ou();Vu.exports=kw});var Fu=l((OI,zu)=>{"use strict";var $w=typeof Int32Array=="function"?Int32Array:void 0;zu.exports=$w});var ju=l((VI,Ru)=>{"use strict";function Gw(){throw new Error("not implemented")}Ru.exports=Gw});var Lu=l((UI,Cu)=>{"use strict";var Yw=Uu(),Ww=Fu(),Zw=ju(),St;Yw()?St=Ww:St=Zw;Cu.exports=St});var Pu=l((zI,Mu)=>{"use strict";var Jw=Z(),Hw=typeof Uint16Array=="function";function Xw(e){return Hw&&e instanceof Uint16Array||Jw(e)==="[object Uint16Array]"}Mu.exports=Xw});var $u=l((FI,ku)=>{"use strict";var Qw=Pu();ku.exports=Qw});var Yu=l((RI,Gu)=>{"use strict";var Kw=65535;Gu.exports=Kw});var Zu=l((jI,Wu)=>{"use strict";var rA=typeof Uint16Array=="function"?Uint16Array:null;Wu.exports=rA});var Xu=l((CI,Hu)=>{"use strict";var eA=$u(),_t=Yu(),Ju=Zu();function tA(){var e,r;if(typeof Ju!="function")return!1;try{r=[1,3.14,-3.14,_t+1,_t+2],r=new Ju(r),e=eA(r)&&r[0]===1&&r[1]===3&&r[2]===_t-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}Hu.exports=tA});var Ku=l((LI,Qu)=>{"use strict";var nA=Xu();Qu.exports=nA});var ef=l((MI,rf)=>{"use strict";var iA=typeof Uint16Array=="function"?Uint16Array:void 0;rf.exports=iA});var nf=l((PI,tf)=>{"use strict";function aA(){throw new Error("not implemented")}tf.exports=aA});var of=l((kI,af)=>{"use strict";var oA=Ku(),sA=ef(),uA=nf(),Tt;oA()?Tt=sA:Tt=uA;af.exports=Tt});var uf=l(($I,sf)=>{"use strict";var fA=Z(),lA=typeof Int16Array=="function";function cA(e){return lA&&e instanceof Int16Array||fA(e)==="[object Int16Array]"}sf.exports=cA});var lf=l((GI,ff)=>{"use strict";var pA=uf();ff.exports=pA});var pf=l((YI,cf)=>{"use strict";var yA=32767;cf.exports=yA});var mf=l((WI,yf)=>{"use strict";var mA=-32768;yf.exports=mA});var gf=l((ZI,hf)=>{"use strict";var hA=typeof Int16Array=="function"?Int16Array:null;hf.exports=hA});var df=l((JI,bf)=>{"use strict";var gA=lf(),vA=pf(),bA=mf(),vf=gf();function dA(){var e,r;if(typeof vf!="function")return!1;try{r=new vf([1,3.14,-3.14,vA+1]),e=gA(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===bA}catch{e=!1}return e}bf.exports=dA});var Af=l((HI,wf)=>{"use strict";var wA=df();wf.exports=wA});var Ef=l((XI,xf)=>{"use strict";var AA=typeof Int16Array=="function"?Int16Array:void 0;xf.exports=AA});var _f=l((QI,Sf)=>{"use strict";function xA(){throw new Error("not implemented")}Sf.exports=xA});var qf=l((KI,Tf)=>{"use strict";var EA=Af(),SA=Ef(),_A=_f(),qt;EA()?qt=SA:qt=_A;Tf.exports=qt});var Df=l((r6,If)=>{"use strict";var TA=Z(),qA=typeof Uint8Array=="function";function IA(e){return qA&&e instanceof Uint8Array||TA(e)==="[object Uint8Array]"}If.exports=IA});var Bf=l((e6,Nf)=>{"use strict";var DA=Df();Nf.exports=DA});var Vf=l((t6,Of)=>{"use strict";var NA=255;Of.exports=NA});var zf=l((n6,Uf)=>{"use strict";var BA=typeof Uint8Array=="function"?Uint8Array:null;Uf.exports=BA});var jf=l((i6,Rf)=>{"use strict";var OA=Bf(),It=Vf(),Ff=zf();function VA(){var e,r;if(typeof Ff!="function")return!1;try{r=[1,3.14,-3.14,It+1,It+2],r=new Ff(r),e=OA(r)&&r[0]===1&&r[1]===3&&r[2]===It-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}Rf.exports=VA});var Lf=l((a6,Cf)=>{"use strict";var UA=jf();Cf.exports=UA});var Pf=l((o6,Mf)=>{"use strict";var zA=typeof Uint8Array=="function"?Uint8Array:void 0;Mf.exports=zA});var $f=l((s6,kf)=>{"use strict";function FA(){throw new Error("not implemented")}kf.exports=FA});var Nt=l((u6,Gf)=>{"use strict";var RA=Lf(),jA=Pf(),CA=$f(),Dt;RA()?Dt=jA:Dt=CA;Gf.exports=Dt});var Wf=l((f6,Yf)=>{"use strict";var LA=Z(),MA=typeof Uint8ClampedArray=="function";function PA(e){return MA&&e instanceof Uint8ClampedArray||LA(e)==="[object Uint8ClampedArray]"}Yf.exports=PA});var Jf=l((l6,Zf)=>{"use strict";var kA=Wf();Zf.exports=kA});var Xf=l((c6,Hf)=>{"use strict";var $A=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;Hf.exports=$A});var rl=l((p6,Kf)=>{"use strict";var GA=Jf(),Qf=Xf();function YA(){var e,r;if(typeof Qf!="function")return!1;try{r=new Qf([-1,0,1,3.14,4.99,255,256]),e=GA(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}Kf.exports=YA});var tl=l((y6,el)=>{"use strict";var WA=rl();el.exports=WA});var il=l((m6,nl)=>{"use strict";var ZA=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;nl.exports=ZA});var ol=l((h6,al)=>{"use strict";function JA(){throw new Error("not implemented")}al.exports=JA});var ul=l((g6,sl)=>{"use strict";var HA=tl(),XA=il(),QA=ol(),Bt;HA()?Bt=XA:Bt=QA;sl.exports=Bt});var ll=l((v6,fl)=>{"use strict";var KA=Z(),r0=typeof Int8Array=="function";function e0(e){return r0&&e instanceof Int8Array||KA(e)==="[object Int8Array]"}fl.exports=e0});var pl=l((b6,cl)=>{"use strict";var t0=ll();cl.exports=t0});var ml=l((d6,yl)=>{"use strict";var n0=127;yl.exports=n0});var gl=l((w6,hl)=>{"use strict";var i0=-128;hl.exports=i0});var bl=l((A6,vl)=>{"use strict";var a0=typeof Int8Array=="function"?Int8Array:null;vl.exports=a0});var Al=l((x6,wl)=>{"use strict";var o0=pl(),s0=ml(),u0=gl(),dl=bl();function f0(){var e,r;if(typeof dl!="function")return!1;try{r=new dl([1,3.14,-3.14,s0+1]),e=o0(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===u0}catch{e=!1}return e}wl.exports=f0});var El=l((E6,xl)=>{"use strict";var l0=Al();xl.exports=l0});var _l=l((S6,Sl)=>{"use strict";var c0=typeof Int8Array=="function"?Int8Array:void 0;Sl.exports=c0});var ql=l((_6,Tl)=>{"use strict";function p0(){throw new Error("not implemented")}Tl.exports=p0});var Dl=l((T6,Il)=>{"use strict";var y0=El(),m0=_l(),h0=ql(),Ot;y0()?Ot=m0:Ot=h0;Il.exports=Ot});var Vt=l((q6,Nl)=>{"use strict";function g0(e){return typeof e=="number"}Nl.exports=g0});var Ol=l((I6,Bl)=>{"use strict";Bl.exports=Number});var xe=l((D6,Vl)=>{"use strict";var v0=Ol();Vl.exports=v0});var zl=l((N6,Ul)=>{"use strict";var b0=xe(),d0=b0.prototype.toString;Ul.exports=d0});var Rl=l((B6,Fl)=>{"use strict";var w0=zl();function A0(e){try{return w0.call(e),!0}catch{return!1}}Fl.exports=A0});var Ut=l((O6,jl)=>{"use strict";var x0=kr(),E0=Z(),S0=xe(),_0=Rl(),T0=x0();function q0(e){return typeof e=="object"?e instanceof S0?!0:T0?_0(e):E0(e)==="[object Number]":!1}jl.exports=q0});var Ll=l((V6,Cl)=>{"use strict";var I0=Vt(),D0=Ut();function N0(e){return I0(e)||D0(e)}Cl.exports=N0});var Zr=l((U6,Pl)=>{"use strict";var Ml=W(),zt=Ll(),B0=Vt(),O0=Ut();Ml(zt,"isPrimitive",B0);Ml(zt,"isObject",O0);Pl.exports=zt});var $l=l((z6,kl)=>{"use strict";var V0=xe(),U0=V0.NEGATIVE_INFINITY;kl.exports=U0});var Yl=l((F6,Gl)=>{"use strict";var z0=Math.floor;Gl.exports=z0});var Jr=l((R6,Wl)=>{"use strict";var F0=Yl();Wl.exports=F0});var Jl=l((j6,Zl)=>{"use strict";var R0=Jr();function j0(e){return R0(e)===e}Zl.exports=j0});var Nr=l((C6,Hl)=>{"use strict";var C0=Jl();Hl.exports=C0});var Ft=l((L6,Xl)=>{"use strict";var L0=wt(),M0=$l(),P0=Nr();function k0(e){return e<L0&&e>M0&&P0(e)}Xl.exports=k0});var Rt=l((M6,Ql)=>{"use strict";var $0=Zr().isPrimitive,G0=Ft();function Y0(e){return $0(e)&&G0(e)}Ql.exports=Y0});var jt=l((P6,Kl)=>{"use strict";var W0=Zr().isObject,Z0=Ft();function J0(e){return W0(e)&&Z0(e.valueOf())}Kl.exports=J0});var ec=l((k6,rc)=>{"use strict";var H0=Rt(),X0=jt();function Q0(e){return H0(e)||X0(e)}rc.exports=Q0});var Ee=l(($6,nc)=>{"use strict";var tc=W(),Ct=ec(),K0=Rt(),rx=jt();tc(Ct,"isPrimitive",K0);tc(Ct,"isObject",rx);nc.exports=Ct});var Lt=l((G6,ic)=>{"use strict";var ex=Ee().isPrimitive;function tx(e){return ex(e)&&e>=0}ic.exports=tx});var Mt=l((Y6,ac)=>{"use strict";var nx=Ee().isObject;function ix(e){return nx(e)&&e.valueOf()>=0}ac.exports=ix});var sc=l((W6,oc)=>{"use strict";var ax=Lt(),ox=Mt();function sx(e){return ax(e)||ox(e)}oc.exports=sx});var Se=l((Z6,fc)=>{"use strict";var uc=W(),Pt=sc(),ux=Lt(),fx=Mt();uc(Pt,"isPrimitive",ux);uc(Pt,"isObject",fx);fc.exports=Pt});var cc=l((J6,lc)=>{"use strict";var lx=4294967295;lc.exports=lx});var yc=l((H6,pc)=>{"use strict";var cx=Nr(),px=cc();function yx(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&cx(e.length)&&e.length>=0&&e.length<=px}pc.exports=yx});var Br=l((X6,mc)=>{"use strict";var mx=yc();mc.exports=mx});var gc=l((Q6,hc)=>{"use strict";var hx=9007199254740991;hc.exports=hx});var bc=l((K6,vc)=>{"use strict";var gx=Nr(),vx=gc();function bx(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&gx(e.length)&&e.length>=0&&e.length<=vx}vc.exports=bx});var Hr=l((r2,dc)=>{"use strict";var dx=bc();dc.exports=dx});var Ac=l((e2,wc)=>{"use strict";var wx=Z(),Ax=typeof ArrayBuffer=="function";function xx(e){return Ax&&e instanceof ArrayBuffer||wx(e)==="[object ArrayBuffer]"}wc.exports=xx});var _e=l((t2,xc)=>{"use strict";var Ex=Ac();xc.exports=Ex});var Sc=l((n2,Ec)=>{"use strict";var Sx=jr();function _x(e){return typeof e=="object"&&e!==null&&!Sx(e)}Ec.exports=_x});var Te=l((i2,_c)=>{"use strict";var Tx=Sc();_c.exports=Tx});var kt=l((a2,Tc)=>{"use strict";function qx(e){return typeof e=="string"}Tc.exports=qx});var Ic=l((o2,qc)=>{"use strict";var Ix=String.prototype.valueOf;qc.exports=Ix});var Nc=l((s2,Dc)=>{"use strict";var Dx=Ic();function Nx(e){try{return Dx.call(e),!0}catch{return!1}}Dc.exports=Nx});var $t=l((u2,Bc)=>{"use strict";var Bx=kr(),Ox=Z(),Vx=Nc(),Ux=Bx();function zx(e){return typeof e=="object"?e instanceof String?!0:Ux?Vx(e):Ox(e)==="[object String]":!1}Bc.exports=zx});var Vc=l((f2,Oc)=>{"use strict";var Fx=kt(),Rx=$t();function jx(e){return Fx(e)||Rx(e)}Oc.exports=jx});var Xr=l((l2,zc)=>{"use strict";var Uc=W(),Gt=Vc(),Cx=kt(),Lx=$t();Uc(Gt,"isPrimitive",Cx);Uc(Gt,"isObject",Lx);zc.exports=Gt});var qe=l((c2,Rc)=>{"use strict";var Fc=W(),Yt=yt(),Wt=Xr(),Mx=Yt(Wt.isPrimitive),Px=Yt(Wt.isObject),Zt=Yt(Wt);Fc(Zt,"primitives",Mx);Fc(Zt,"objects",Px);Rc.exports=Zt});var Cc=l((p2,jc)=>{"use strict";function kx(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}jc.exports=kx});var Mc=l((y2,Lc)=>{"use strict";function $x(){var e={};return e.type="Complex128",e.re=this.re,e.im=this.im,e}Lc.exports=$x});var Yc=l((m2,Gc)=>{"use strict";var Pc=Zr().isPrimitive,kc=Pr(),Qr=W(),$c=J(),Gx=Cc(),Yx=Mc();function Or(e,r){if(!(this instanceof Or))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Pc(e))throw new TypeError($c("invalid argument. Real component must be a number. Value: `%s`.",e));if(!Pc(r))throw new TypeError($c("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return kc(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),kc(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:r}),this}Qr(Or,"BYTES_PER_ELEMENT",8);Qr(Or.prototype,"BYTES_PER_ELEMENT",8);Qr(Or.prototype,"byteLength",16);Qr(Or.prototype,"toString",Gx);Qr(Or.prototype,"toJSON",Yx);Gc.exports=Or});var Jt=l((h2,Wc)=>{"use strict";var Wx=Yc();Wc.exports=Wx});var Jc=l((g2,Zc)=>{"use strict";var Zx=typeof Math.fround=="function"?Math.fround:null;Zc.exports=Zx});var Qc=l((v2,Xc)=>{"use strict";var Jx=Wr(),Hc=new Jx(1);function Hx(e){return Hc[0]=e,Hc[0]}Xc.exports=Hx});var ep=l((b2,rp)=>{"use strict";var Kc=Jc(),Xx=Qc(),Ht;typeof Kc=="function"?Ht=Kc:Ht=Xx;rp.exports=Ht});var np=l((d2,tp)=>{"use strict";function Qx(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}tp.exports=Qx});var ap=l((w2,ip)=>{"use strict";function Kx(){var e={};return e.type="Complex64",e.re=this.re,e.im=this.im,e}ip.exports=Kx});var cp=l((A2,lp)=>{"use strict";var op=Zr().isPrimitive,sp=Pr(),Kr=W(),up=ep(),fp=J(),rE=np(),eE=ap();function Vr(e,r){if(!(this instanceof Vr))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!op(e))throw new TypeError(fp("invalid argument. Real component must be a number. Value: `%s`.",e));if(!op(r))throw new TypeError(fp("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return sp(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:up(e)}),sp(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:up(r)}),this}Kr(Vr,"BYTES_PER_ELEMENT",4);Kr(Vr.prototype,"BYTES_PER_ELEMENT",4);Kr(Vr.prototype,"byteLength",8);Kr(Vr.prototype,"toString",rE);Kr(Vr.prototype,"toJSON",eE);lp.exports=Vr});var Xt=l((x2,pp)=>{"use strict";var tE=cp();pp.exports=tE});var mp=l((E2,yp)=>{"use strict";var nE=Jt(),iE=Xt();function aE(e){return e instanceof nE||e instanceof iE?!0:typeof e=="object"&&e!==null&&typeof e.re=="number"&&typeof e.im=="number"}yp.exports=aE});var br=l((S2,hp)=>{"use strict";var oE=mp();hp.exports=oE});var vp=l((_2,gp)=>{"use strict";var sE=Nr();function uE(e){return sE(e/2)}gp.exports=uE});var Qt=l((T2,bp)=>{"use strict";var fE=vp();bp.exports=fE});var wp=l((q2,dp)=>{"use strict";var lE=8;function cE(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex64Array"&&e.BYTES_PER_ELEMENT===lE}dp.exports=cE});var Kt=l((I2,Ap)=>{"use strict";var pE=wp();Ap.exports=pE});var Ep=l((D2,xp)=>{"use strict";var yE=16;function mE(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex128Array"&&e.BYTES_PER_ELEMENT===yE}xp.exports=mE});var rn=l((N2,Sp)=>{"use strict";var hE=Ep();Sp.exports=hE});var Tp=l((B2,_p)=>{"use strict";var gE=it(),Ie=at();function vE(){return typeof Ie=="function"&&typeof Ie("foo")=="symbol"&&gE(Ie,"iterator")&&typeof Ie.iterator=="symbol"}_p.exports=vE});var re=l((O2,qp)=>{"use strict";var bE=Tp();qp.exports=bE});var Dp=l((V2,Ip)=>{"use strict";var dE=re(),wE=dE()?Symbol.iterator:null;Ip.exports=wE});var De=l((U2,Np)=>{"use strict";var AE=Dp();Np.exports=AE});var Op=l((z2,Bp)=>{"use strict";var xE=Pr();function EE(e,r,t){xE(e,r,{configurable:!1,enumerable:!1,get:t})}Bp.exports=EE});var Ne=l((F2,Vp)=>{"use strict";var SE=Op();Vp.exports=SE});var zp=l((R2,Up)=>{"use strict";function _E(e){return e.re}Up.exports=_E});var ee=l((j2,Fp)=>{"use strict";var TE=zp();Fp.exports=TE});var jp=l((C2,Rp)=>{"use strict";function qE(e){return e.im}Rp.exports=qE});var te=l((L2,Cp)=>{"use strict";var IE=jp();Cp.exports=IE});var Mp=l((M2,Lp)=>{"use strict";var DE=Wr();function NE(e,r){return new DE(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}Lp.exports=NE});var en=l((P2,Pp)=>{"use strict";var BE=Mp();Pp.exports=BE});var $p=l((k2,kp)=>{"use strict";var OE=Ae();function VE(e,r){return new OE(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}kp.exports=VE});var tn=l(($2,Gp)=>{"use strict";var UE=$p();Gp.exports=UE});var Wp=l((G2,Yp)=>{"use strict";var zE=Br(),FE=br(),RE=ee(),jE=te(),CE=J();function LE(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,zE(n)&&n.length>=2)r.push(n[0],n[1]);else if(FE(n))r.push(RE(n),jE(n));else return new TypeError(CE("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}Yp.exports=LE});var Jp=l((Y2,Zp)=>{"use strict";var ME=Br(),PE=br(),kE=ee(),$E=te(),GE=J();function YE(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(PE(a))n.push(kE(a),$E(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}Zp.exports=YE});var Xp=l((W2,Hp)=>{"use strict";var WE=br(),ZE=ee(),JE=te();function HE(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]=ZE(n),e[a+1]=JE(n),a+=2}return e}Hp.exports=HE});var iy=l((Z2,ny)=>{"use strict";var ne=Se().isPrimitive,nn=Br(),an=Hr(),Qp=_e(),on=Te(),XE=jr(),QE=qe().primitives,Kp=Xr().isPrimitive,$=Gr(),ir=br(),Be=Qt(),Q=Nr(),KE=Kt(),rS=rn(),eS=re(),yr=De(),I=W(),Oe=Ne(),nr=Wr(),tS=Xt(),x=J(),ur=ee(),fr=te(),nS=Jr(),iS=en(),aS=tn(),oS=Yr(),sS=Cr(),ry=Wp(),uS=Jp(),fS=Xp(),er=nr.BYTES_PER_ELEMENT*2,ey=eS();function V(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 ty(e){return e===_||e.name==="Complex128Array"}function C(e,r){return r*=2,new tS(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 nr(0);else if(r===1)if(ne(arguments[0]))t=new nr(arguments[0]*2);else if(an(arguments[0]))if(t=arguments[0],n=t.length,n&&XE(t)&&ir(t[0])){if(t=fS(new nr(n*2),t),t===null){if(!Be(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(KE(t))t=iS(t,0);else if(rS(t))t=aS(t,0);else if(!Be(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(Qp(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(on(arguments[0])){if(t=arguments[0],ey===!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=ry(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],!Qp(t))throw new TypeError(x("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!ne(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],!ne(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(_,"BYTES_PER_ELEMENT",er);I(_,"name","Complex64Array");I(_,"from",function(r){var t,n,i,a,s,o,f,u,c,p,y,m;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!ty(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(nn(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(an(r)){if(i){for(u=r.length,r.get&&r.set?f=sS("default"):f=oS("default"),y=0;y<u;y++)if(!ir(f(r,y))){c=!0;break}if(c){if(!Be(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(nn(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(on(r)&&ey&&$(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=uS(s,i,t):o=ry(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(_,"of",function(){var r,t;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!ty(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(_.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 C(this._buffer,r)});Oe(_.prototype,"buffer",function(){return this._buffer.buffer});Oe(_.prototype,"byteLength",function(){return this._buffer.byteLength});Oe(_.prototype,"byteOffset",function(){return this._buffer.byteOffset});I(_.prototype,"BYTES_PER_ELEMENT",_.BYTES_PER_ELEMENT);I(_.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(_.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,C(i,s)],done:!1}}function f(c){return a=!0,arguments.length?{value:c,done:!0}:{done:!0}}function u(){return r.entries()}});I(_.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,C(n,i),i,this))return!1;return!0});I(_.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(_.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=C(n,a),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});I(_.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=C(n,i),r.call(t,a,i,this))return a});I(_.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=C(n,i),r.call(t,a,i,this))return i;return-1});I(_.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=C(n,i),r.call(t,a,i,this))return a});I(_.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=C(n,i),r.call(t,a,i,this))return i;return-1});I(_.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=C(n,i),r.call(t,a,i,this)});I(_.prototype,"get",function(r){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ne(r))throw new TypeError(x("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return C(this._buffer,r)});I(_.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(_.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(_.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(Kp(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(C(n,a).toString());return t.join(i)});I(_.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(_.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});Oe(_.prototype,"length",function(){return this._length});I(_.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,C(i,s),s,this),ir(o))n[2*s]=ur(o),n[2*s+1]=fr(o);else if(nn(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(_.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=C(n,0),o=1}for(;o<a;o++)s=C(n,o),i=r(i,s,o,this);return i});I(_.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=C(n,a-1),o=a-2}for(;o>=0;o--)s=C(n,o),i=r(i,s,o,this);return i});I(_.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=nS(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(_.prototype,"set",function(r){var t,n,i,a,s,o,f,u,c;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],!ne(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,c=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<c&&t.byteOffset+t.byteLength>c){for(a=new nr(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,c=0,u=0;u<o;u++)i[n]=t[c],i[n+1]=t[c+1],n+=2,c+=2;return}if(an(r)){for(o=r.length,u=0;u<o;u++)if(!ir(r[u])){s=!0;break}if(s){if(!Be(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,c=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<c&&t.byteOffset+t.byteLength>c){for(a=new nr(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,c=0,u=0;u<o;u++)i[n]=t[c],i[n+1]=t[c+1],n+=2,c+=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(_.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(_.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,C(n,i),i,this))return!0;return!1});I(_.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(C(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(_.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(_.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(Kp(r)||QE(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(on(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(C(s,o).toLocaleString(i,n));return a.join(",")});I(_.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(_.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(C(n,a));return t.sort(r),new _(t)});I(_.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(C(t,n).toString());return r.join(",")});I(_.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:C(a,s),done:!1}}function f(c){return i=!0,arguments.length?{value:c,done:!0}:{done:!0}}function u(){return t.values()}});I(_.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});ny.exports=_});var oy=l((J2,ay)=>{"use strict";var lS=iy();ay.exports=lS});var uy=l((H2,sy)=>{"use strict";function cS(e){return e.re}sy.exports=cS});var ie=l((X2,fy)=>{"use strict";var pS=uy();fy.exports=pS});var cy=l((Q2,ly)=>{"use strict";function yS(e){return e.im}ly.exports=yS});var ae=l((K2,py)=>{"use strict";var mS=cy();py.exports=mS});var my=l((r4,yy)=>{"use strict";var hS=Br(),gS=br(),vS=J(),bS=ie(),dS=ae();function wS(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,hS(n)&&n.length>=2)r.push(n[0],n[1]);else if(gS(n))r.push(bS(n),dS(n));else return new TypeError(vS("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}yy.exports=wS});var gy=l((e4,hy)=>{"use strict";var AS=Br(),xS=br(),ES=J(),SS=ie(),_S=ae();function TS(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),AS(a)&&a.length>=2)n.push(a[0],a[1]);else if(xS(a))n.push(SS(a),_S(a));else return new TypeError(ES("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",a));return n}hy.exports=TS});var by=l((t4,vy)=>{"use strict";var qS=br(),IS=ie(),DS=ae();function NS(e,r){var t,n,i,a;for(t=r.length,a=0,i=0;i<t;i++){if(n=r[i],!qS(n))return null;e[a]=IS(n),e[a+1]=DS(n),a+=2}return e}vy.exports=NS});var Ty=l((n4,_y)=>{"use strict";var oe=Se().isPrimitive,sn=Br(),un=Hr(),dy=_e(),fn=Te(),BS=jr(),OS=qe().primitives,wy=Xr(),G=Gr(),or=br(),Ve=Qt(),K=Nr(),VS=Kt(),US=rn(),zS=re(),mr=De(),D=W(),Ue=Ne(),ar=Ae(),Ay=Jt(),lr=ie(),cr=ae(),FS=Jr(),RS=en(),jS=tn(),CS=Yr(),LS=Cr(),E=J(),xy=my(),MS=gy(),PS=by(),tr=ar.BYTES_PER_ELEMENT*2,Ey=zS();function U(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 Sy(e){return e===T||e.name==="Complex64Array"}function L(e,r){return r*=2,new Ay(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 ar(0);else if(r===1)if(oe(arguments[0]))t=new ar(arguments[0]*2);else if(un(arguments[0]))if(t=arguments[0],n=t.length,n&&BS(t)&&or(t[0])){if(t=PS(new ar(n*2),t),t===null){if(!Ve(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(VS(t))t=RS(t,0);else if(US(t))t=jS(t,0);else if(!Ve(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(dy(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(fn(arguments[0])){if(t=arguments[0],Ey===!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=xy(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],!dy(t))throw new TypeError(E("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!oe(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],!oe(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(T,"BYTES_PER_ELEMENT",tr);D(T,"name","Complex128Array");D(T,"from",function(r){var t,n,i,a,s,o,f,u,c,p,y,m;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Sy(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(sn(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(un(r)){if(i){for(u=r.length,r.get&&r.set?f=LS("default"):f=CS("default"),y=0;y<u;y++)if(!or(f(r,y))){c=!0;break}if(c){if(!Ve(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(sn(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(fn(r)&&Ey&&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=MS(s,i,t):o=xy(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(T,"of",function(){var r,t;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Sy(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(T.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)});Ue(T.prototype,"buffer",function(){return this._buffer.buffer});Ue(T.prototype,"byteLength",function(){return this._buffer.byteLength});Ue(T.prototype,"byteOffset",function(){return this._buffer.byteOffset});D(T.prototype,"BYTES_PER_ELEMENT",T.BYTES_PER_ELEMENT);D(T.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(T.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,c),n;function f(){var p;return s+=1,a||s>=i?{done:!0}:(o+=2,p=new Ay(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 c(){return t.entries()}});D(T.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(T.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(T.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(T.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(T.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(T.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(T.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(T.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(T.prototype,"get",function(r){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!oe(r))throw new TypeError(E("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return L(this._buffer,r)});Ue(T.prototype,"length",function(){return this._length});D(T.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(T.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(T.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(wy(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(T.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(T.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(T.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(sn(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(T.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(T.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(T.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=FS(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(T.prototype,"set",function(r){var t,n,i,a,s,o,f,u,c;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],!oe(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,c=i.byteOffset+n*tr,t.buffer===i.buffer&&t.byteOffset<c&&t.byteOffset+t.byteLength>c){for(a=new ar(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,c=0,u=0;u<o;u++)i[n]=t[c],i[n+1]=t[c+1],n+=2,c+=2;return}if(un(r)){for(o=r.length,u=0;u<o;u++)if(!or(r[u])){s=!0;break}if(s){if(!Ve(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,c=i.byteOffset+n*tr,t.buffer===i.buffer&&t.byteOffset<c&&t.byteOffset+t.byteLength>c){for(a=new ar(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,c=0,u=0;u<o;u++)i[n]=t[c],i[n+1]=t[c+1],n+=2,c+=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(T.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(T.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(T.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(T.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(T.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(wy(r)||OS(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(fn(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(T.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(T.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(t)});D(T.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(T.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(c){return i=!0,arguments.length?{value:c,done:!0}:{done:!0}}function u(){return t.values()}});D(T.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});_y.exports=T});var Iy=l((i4,qy)=>{"use strict";var kS=Ty();qy.exports=kS});var Ny=l((a4,Dy)=>{"use strict";var $S=Rr();function GS(e){var r,t;for(r=[];t=e.next(),!t.done;)r.push($S(t.value));return r}Dy.exports=GS});var Oy=l((o4,By)=>{"use strict";var YS=Rr();function WS(e,r,t){var n,i,a;for(n=[],a=-1;i=e.next(),!i.done;)a+=1,n.push(YS(r.call(t,i.value,a)));return n}By.exports=WS});var Uy=l((s4,Vy)=>{"use strict";var ZS=Rr();function JS(e,r){var t,n;for(t=r.length,n=0;n<t;n++)e[n]=ZS(r[n]);return e}Vy.exports=JS});var My=l((u4,Ly)=>{"use strict";var se=Se().isPrimitive,ln=Hr(),zy=_e(),cn=Te(),Y=Gr(),ue=lt().isPrimitive,pr=Ee().isPrimitive,Fy=Xr().isPrimitive,HS=qe().primitives,XS=re(),hr=De(),N=W(),ze=Ne(),dr=Nt(),R=Rr(),QS=Yr(),KS=Jr(),r_=Cr(),B=J(),Ry=Ny(),e_=Oy(),t_=Uy(),Ur=dr.BYTES_PER_ELEMENT,jy=XS();function z(e){return typeof e=="object"&&e!==null&&e.constructor.name==="BooleanArray"&&e.BYTES_PER_ELEMENT===Ur}function Cy(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],se(i))t=new dr(i);else if(ln(i))t=t_(new dr(i.length),i);else if(zy(i))t=new dr(i);else if(cn(i)){if(jy===!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(Ry(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],!zy(t))throw new TypeError(B("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!se(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],!se(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,c;if(!Y(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Cy(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(ln(r)){if(i){for(u=r.length,r.get&&r.set?f=r_("default"):f=QS("default"),a=new this(u),s=a._buffer,c=0;c<u;c++)s[c]=R(i.call(t,f(r,c),c));return a}return new this(r)}if(cn(r)&&jy&&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=e_(s,i,t):o=Ry(s),u=o.length,a=new this(u),s=a._buffer,c=0;c<u;c++)s[c]=o[c];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(!Cy(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])});ze(q.prototype,"buffer",function(){return this._buffer.buffer});ze(q.prototype,"byteLength",function(){return this._buffer.byteLength});ze(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(c){return a=!0,arguments.length?{value:c,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(!ue(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(!se(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(!ue(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(!ue(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(!Fy(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(!ue(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});ze(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=KS(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],!se(n))throw new TypeError(B("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(ln(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(Fy(r)||HS(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(cn(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(c){return i=!0,arguments.length?{value:c,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(!ue(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});Ly.exports=q});var ky=l((f4,Py)=>{"use strict";var n_=My();Py.exports=n_});var Gy=l((l4,$y)=>{"use strict";var i_=Ae(),a_=Wr(),o_=du(),s_=Lu(),u_=of(),f_=qf(),l_=Nt(),c_=ul(),p_=Dl(),y_=oy(),m_=Iy(),h_=ky(),g_=[i_,a_,s_,o_,f_,u_,p_,l_,c_,y_,m_,h_];$y.exports=g_});var Wy=l((c4,Yy)=>{"use strict";var v_=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];Yy.exports=v_});var Hy=l((p4,Jy)=>{"use strict";var b_=ht(),d_=jr(),w_=de(),A_=As(),x_=Gy(),Zy=Wy(),E_=Zy.length;function S_(e){var r;if(d_(e))return"generic";if(b_(e))return null;for(r=0;r<E_;r++)if(e instanceof x_[r])return Zy[r];return A_[w_(e)]||null}Jy.exports=S_});var pn=l((y4,Xy)=>{"use strict";var __=Hy();Xy.exports=__});var Ky=l((m4,Qy)=>{"use strict";var T_=bt(),q_=Cr(),I_=Yr(),D_=pn();function N_(e,r){var t,n,i,a;for(i=D_(e),T_(e)?n=q_(i):n=I_(i),t=e.length,a=0;a<t;a++)if(n(e,a)===r)return!0;return!1}Qy.exports=N_});var em=l((h4,rm)=>{"use strict";var B_=Hr(),O_=bt(),V_=Cr(),U_=pn(),z_=J();function F_(e){var r,t,n;if(!B_(e))throw new TypeError(z_("invalid argument. Must provide an array-like object. Value: `%s`.",e));return n=U_(e),O_(e)&&(r=V_(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}}rm.exports=F_});var yn=l((g4,nm)=>{"use strict";var R_=W(),tm=Ky(),j_=em();R_(tm,"factory",j_);nm.exports=tm});var im=l((v4,C_)=>{C_.exports=["row-major","column-major"]});var om=l((b4,am)=>{"use strict";var L_=im();function M_(){return L_.slice()}am.exports=M_});var um=l((d4,sm)=>{"use strict";function P_(){return{"row-major":101,"column-major":102}}sm.exports=P_});var cm=l((w4,lm)=>{"use strict";var k_=W(),fm=om(),$_=um();k_(fm,"enum",$_);lm.exports=fm});var ym=l((A4,pm)=>{"use strict";var G_=yn().factory,Y_=cm(),W_=G_(Y_());pm.exports=W_});var hm=l((x4,mm)=>{"use strict";var Z_=ym();mm.exports=Z_});var gm=l((E4,J_)=>{J_.exports=["no-transpose","transpose","conjugate-transpose"]});var bm=l((S4,vm)=>{"use strict";var H_=gm();function X_(){return H_.slice()}vm.exports=X_});var wm=l((_4,dm)=>{"use strict";function Q_(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}dm.exports=Q_});var Em=l((T4,xm)=>{"use strict";var K_=W(),Am=bm(),rT=wm();K_(Am,"enum",rT);xm.exports=Am});var _m=l((q4,Sm)=>{"use strict";var eT=yn().factory,tT=Em(),nT=eT(tT());Sm.exports=nT});var mn=l((I4,Tm)=>{"use strict";var iT=_m();Tm.exports=iT});var Im=l((D4,qm)=>{"use strict";function aT(e){return Math.abs(e)}qm.exports=aT});var Nm=l((N4,Dm)=>{"use strict";var oT=Im();Dm.exports=oT});var Vm=l((B4,Om)=>{"use strict";var Bm=Nm();function sT(e){var r,t,n,i;if(r=e.length,r===0)return!1;for(t=Bm(e[0]),i=1;i<r;i++){if(n=Bm(e[i]),n>t)return!1;t=n}return!0}Om.exports=sT});var zm=l((O4,Um)=>{"use strict";var uT=Vm();Um.exports=uT});var Rm=l((V4,Fm)=>{"use strict";function fT(e,r){return r>0?0:(1-e)*r}Fm.exports=fT});var Cm=l((U4,jm)=>{"use strict";var lT=Rm();jm.exports=lT});var hn=l((z4,Lm)=>{"use strict";var fe=5;function cT(e,r,t,n,i,a,s){var o,f,u,c,p;if(o=0,e<=0)return o;if(f=n,u=s,t===1&&a===1){if(c=e%fe,c>0)for(p=0;p<c;p++)o+=r[f]*i[u],f+=1,u+=1;if(e<fe)return o;for(p=c;p<e;p+=fe)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+=fe,u+=fe;return o}for(p=0;p<e;p++)o+=r[f]*i[u],f+=t,u+=a;return o}Lm.exports=cT});var km=l((F4,Pm)=>{"use strict";var Mm=Cm(),pT=hn();function yT(e,r,t,n,i){var a,s;return e<=0?0:(a=Mm(e,t),s=Mm(e,i),pT(e,r,t,a,n,i,s))}Pm.exports=yT});var Ym=l((R4,Gm)=>{"use strict";var mT=W(),$m=km(),hT=hn();mT($m,"ndarray",hT);Gm.exports=$m});var Jm=l((j4,Zm)=>{"use strict";var gT=require("path").join,vT=vt(),bT=we(),dT=Ym(),gn,Wm=vT(gT(__dirname,"./native.js"));bT(Wm)?gn=dT:gn=Wm;Zm.exports=gn});var Hm=l((C4,wT)=>{wT.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 Qm=l((L4,Xm)=>{"use strict";var AT=Hm();function xT(e){return AT[e]||null}Xm.exports=xT});var rh=l((M4,Km)=>{"use strict";var ET=Qm();Km.exports=ET});var th=l((P4,eh)=>{"use strict";var ST={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};eh.exports=ST});var ah=l((k4,ih)=>{"use strict";var nh=rh(),vn=th();function _T(e,r){var t,n;return t=nh(e),n=nh(r),t===null||n===null?vn.BLOCK_SIZE_IN_ELEMENTS:t>n?vn.BLOCK_SIZE_IN_BYTES/t|0:vn.BLOCK_SIZE_IN_BYTES/n|0}ih.exports=_T});var sh=l(($4,oh)=>{"use strict";var TT=ah();oh.exports=TT});var bn=l((G4,fh)=>{"use strict";var Re=zm(),uh=Jm().ndarray,qT=sh(),wr=qT("float64");function Ir(e){return e!=="no-transpose"}function IT(e,r,t,n,i,a){var s,o,f,u,c,p,y;for(Re([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(c=0;c<f;c++)t[y]=0,y+=s;y+=o}return t}function DT(e,r,t,n,i,a,s){var o,f,u,c,p,y,m;for(Re([i,a])?(u=r,c=e,o=a,f=i-u*a):(u=e,c=r,o=i,f=a-u*i),m=s,y=0;y<c;y++){for(p=0;p<u;p++)n[m]*=t,m+=o;m+=f}return n}function Fe(e,r,t,n,i,a,s,o,f,u,c,p,y,m,h,g){var v,w,A,S,O,j,F,M,gr,Lr,vr;for(O=r,j=e,v=s,w=u,A=h,S=m-O*h,vr=g,M=0;M<j;M++){for(gr=o+M*a,F=0;F<O;F++)Lr=p+F*c,y[vr]+=n*uh(t,i,v,gr,f,w,Lr),vr+=A;vr+=S}return y}function NT(e,r,t,n,i,a,s,o,f,u,c,p,y,m,h,g){var v,w,A,S,O,j,F,M,gr,Lr,vr,je,Ce,pe,ye,Er,Sr,_n,Tn,me,qn,In,_r;for(gr=r,Lr=e,v=s,w=u,A=h,Sr=Lr;Sr>0;)for(Sr<wr?(je=Sr,Sr=0):(je=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),j=p+Er*c,F=M+Er*h,S=m-vr*h,_r=t;_r>0;)for(_r<wr?(Ce=_r,_r=0):(Ce=wr,_r-=wr),qn=O+_r*s,In=j+_r*u,me=F,ye=0;ye<je;ye++){for(_n=qn+ye*a,pe=0;pe<vr;pe++)Tn=In+pe*c,y[me]+=n*uh(Ce,i,v,_n,f,w,Tn),me+=A;me+=S}return y}function BT(e,r,t,n,i,a,s,o,f,u,c,p,y,m,h,g,v,w,A){var S,O,j,F,M,gr;if(t===0||n===0||h===1&&(a===0||i===0)||(h===0?g=IT(t,n,g,v,w,A):h!==1&&(g=DT(t,n,h,g,v,w,A)),a===0))return g;if(S=Re([o,f]),O=Re([p,y]),S){if(!Ir(e)){if(!O&&!Ir(r))return Fe(t,n,i,a,s,o,f,u,c,p,y,m,g,v,w,A);if(O&&Ir(r))return Fe(t,n,i,a,s,o,f,u,c,y,p,m,g,v,w,A)}}else if(Ir(e)){if(O&&Ir(r))return Fe(t,n,i,a,s,f,o,u,c,y,p,m,g,v,w,A);if(!O&&!Ir(r))return Fe(t,n,i,a,s,f,o,u,c,p,y,m,g,v,w,A)}return Ir(e)?(j=f,F=o):(j=o,F=f),Ir(r)?(M=y,gr=p):(M=p,gr=y),NT(t,n,i,a,s,j,F,u,c,M,gr,m,g,v,w,A)}fh.exports=BT});var ph=l((Y4,ch)=>{"use strict";var dn=ss(),OT=hm(),lh=mn(),Ar=J(),VT=bn();function UT(e,r,t,n,i,a,s,o,f,u,c,p,y,m){var h,g,v,w,A,S,O,j,F;if(!OT(e))throw new TypeError(Ar("invalid argument. First argument must be a valid order. Value: `%s`.",e));if(!lh(r))throw new TypeError(Ar("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(!lh(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<dn(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(c<dn(1,g))throw new RangeError(Ar("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",g,c));if(e==="row-major"?v=i:v=n,m<dn(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=c,j=1,F=m):(w=f,A=1,S=c,O=1,j=m,F=1),VT(r,t,n,i,a,s,o,w,A,0,u,S,O,0,p,y,j,F,0)}ch.exports=UT});var hh=l((W4,mh)=>{"use strict";var yh=mn(),le=J(),zT=bn();function FT(e,r,t,n,i,a,s,o,f,u,c,p,y,m,h,g,v,w,A){if(!yh(e))throw new TypeError(le("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",e));if(!yh(r))throw new TypeError(le("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(t<0)throw new RangeError(le("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",t));if(n<0)throw new RangeError(le("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(le("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",i));return zT(e,r,t,n,i,a,s,o,f,u,c,p,y,m,h,g,v,w,A)}mh.exports=FT});var bh=l((Z4,vh)=>{"use strict";var RT=W(),gh=ph(),jT=hh();RT(gh,"ndarray",jT);vh.exports=gh});var Ah=l((J4,wh)=>{"use strict";var CT=require("path").join,LT=vt(),MT=we(),PT=bh(),wn,dh=LT(CT(__dirname,"./native.js"));MT(dh)?wn=PT:wn=dh;wh.exports=wn});var JT={};Qh(JT,{NDArray:()=>rr,__version__:()=>ZT,absolute:()=>Lh,arange:()=>qh,array:()=>xr,asarray:()=>Oh,copy:()=>Vh,empty:()=>En,empty_like:()=>Fh,eye:()=>xn,floor_divide:()=>$h,full:()=>Sn,full_like:()=>Rh,geomspace:()=>Nh,identity:()=>Bh,linspace:()=>Ih,logspace:()=>Dh,mod:()=>kh,negative:()=>Mh,ones:()=>An,ones_like:()=>zh,positive:()=>Gh,power:()=>Ch,reciprocal:()=>Yh,sign:()=>Ph,sqrt:()=>jh,zeros:()=>ce,zeros_like:()=>Uh});module.exports=rg(JT);function Nn(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 Bn(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 On(e){return e==="float64"||e==="float32"}function d(e){return e==="int64"||e==="uint64"}function Tr(e,r){if(e===r)return e;if(e==="bool")return r;if(r==="bool")return e;if(On(e)||On(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 c=o+1;c<i;c++)f*=t[c];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 c=Math.floor(s/u);s=s%u,o+=c*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 Le(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 Vn(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 eg(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 ge(e,r){let t=eg(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=Vn(e.shape,r.shape),a=ge(e,i),s=ge(r,i),o=Tr(e.dtype,r.dtype),f=b.zeros(i,o),u=f.data,c=f.size;if(d(o)){let p=u;for(let y=0;y<c;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<c;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=Vn(e.shape,r.shape),i=ge(e,n),a=ge(r,n),s=n.reduce((u,c)=>u*c,1),o=new Uint8Array(s),f=d(e.dtype)||d(r.dtype);for(let u=0;u<s;u++){let c=i.iget(u),p=a.iget(u),y=Number(c),m=Number(p);o[u]=t(y,m)?1:0}return b.fromData(o,n,"bool")}function Un(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,c=e.data;if(d(n))if(d(o)){let p=u;for(let y=0;y<a;y++){let m=Number(c[y]);p[y]=BigInt(Math.round(r(m)))}}else for(let p=0;p<a;p++)u[p]=r(Number(c[p]));else for(let p=0;p<a;p++)u[p]=r(Number(c[p]));return f}function Me(e,r){return e.isCContiguous&&r.isCContiguous&&e.shape.length===r.shape.length&&e.shape.every((t,n)=>t===r.shape[n])}function zn(e,r){return typeof r=="number"?ag(e,r):Me(e,r)?tg(e,r):sr(e,r,(t,n)=>t+n,"add")}function tg(e,r){let t=Tr(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 c=0;c<i;c++){let p=typeof a[c]=="bigint"?a[c]:BigInt(Math.round(Number(a[c]))),y=typeof s[c]=="bigint"?s[c]:BigInt(Math.round(Number(s[c])));f[c]=p+y}else{let c=a,p=s;for(let y=0;y<i;y++)f[y]=c[y]+p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let c=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=c+p}else for(let u=0;u<i;u++)o[u]=a[u]+s[u];return n}function Fn(e,r){return typeof r=="number"?og(e,r):Me(e,r)?ng(e,r):sr(e,r,(t,n)=>t-n,"subtract")}function ng(e,r){let t=Tr(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 c=0;c<i;c++){let p=typeof a[c]=="bigint"?a[c]:BigInt(Math.round(Number(a[c]))),y=typeof s[c]=="bigint"?s[c]:BigInt(Math.round(Number(s[c])));f[c]=p-y}else{let c=a,p=s;for(let y=0;y<i;y++)f[y]=c[y]-p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let c=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=c-p}else for(let u=0;u<i;u++)o[u]=a[u]-s[u];return n}function Rn(e,r){return typeof r=="number"?sg(e,r):Me(e,r)?ig(e,r):sr(e,r,(t,n)=>t*n,"multiply")}function ig(e,r){let t=Tr(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 c=0;c<i;c++){let p=typeof a[c]=="bigint"?a[c]:BigInt(Math.round(Number(a[c]))),y=typeof s[c]=="bigint"?s[c]:BigInt(Math.round(Number(s[c])));f[c]=p*y}else{let c=a,p=s;for(let y=0;y<i;y++)f[y]=c[y]*p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let c=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=c*p}else for(let u=0;u<i;u++)o[u]=a[u]*s[u];return n}function jn(e,r){if(typeof r=="number")return ug(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,(c,p)=>c/p,"divide")}if(i||a){let f=i?e:zr(e,"float32"),u=a?r:zr(r,"float32");return sr(f,u,(c,p)=>c/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 ag(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,c=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]+c}else for(let f=0;f<a;f++)o[f]=Number(i[f])+r;return s}function og(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,c=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]-c}else for(let f=0;f<a;f++)o[f]=Number(i[f])-r;return s}function sg(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,c=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]*c}else for(let f=0;f<a;f++)o[f]=Number(i[f])*r;return s}function ug(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 c=0;c<a;c++)u[c]=Number(i[c])/r;else for(let c=0;c<a;c++)u[c]=Number(i[c])/r;return f}function Cn(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 c=o[u];f[u]=c<0n?-c:c}}else for(let o=0;o<i;o++)s[o]=Math.abs(Number(n[o]));return a}function Ln(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 Mn(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 c=o[u];f[u]=c>0n?1n:c<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 Pn(e,r){return typeof r=="number"?fg(e,r):sr(e,r,(t,n)=>(t%n+n)%n,"mod")}function fg(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,c=BigInt(Math.round(r));for(let p=0;p<a;p++){let y=f[p];u[p]=(y%c+c)%c}}else for(let f=0;f<a;f++){let u=Number(i[f]);o[f]=(u%r+r)%r}return s}function kn(e,r){return typeof r=="number"?lg(e,r):sr(e,r,(t,n)=>Math.floor(t/n),"floor_divide")}function lg(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,c=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]/c}else for(let f=0;f<a;f++)o[f]=Math.floor(Number(i[f])/r);return s}function $n(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 Gn(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 Yn(e,r){return typeof r=="number"?pg(e,r):qr(e,r,(t,n)=>t>n)}function Wn(e,r){return typeof r=="number"?yg(e,r):qr(e,r,(t,n)=>t>=n)}function Zn(e,r){return typeof r=="number"?mg(e,r):qr(e,r,(t,n)=>t<n)}function Jn(e,r){return typeof r=="number"?hg(e,r):qr(e,r,(t,n)=>t<=n)}function Hn(e,r){return typeof r=="number"?gg(e,r):qr(e,r,(t,n)=>t===n)}function Xn(e,r){return typeof r=="number"?vg(e,r):qr(e,r,(t,n)=>t!==n)}function Pe(e,r,t=1e-5,n=1e-8){return typeof r=="number"?bg(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 Qn(e,r,t=1e-5,n=1e-8){let i=Pe(e,r,t,n),a=i.data;for(let s=0;s<i.size;s++)if(a[s]===0)return!1;return!0}function pg(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 yg(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 mg(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 hg(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 gg(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 vg(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 bg(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]),c=Math.abs(u-r),p=n+t*Math.abs(r);i[f]=c<=p?1:0}}else for(let o=0;o<e.size;o++){let f=Number(a[o]),u=Math.abs(f-r),c=n+t*Math.abs(r);i[o]=u<=c?1:0}return b.fromData(i,Array.from(e.shape),"bool")}function P(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 k(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 c=b.zeros(u,n),p=c.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=k(v,f,A,i),O=P(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=k(h,f,v,i),A=P(w,i);g+=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return c}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),c=u.data,p=s.data;if(d(n)){let y=p;for(let m=0;m<c.length;m++)c[m]=Number(y[m])/o}else for(let y=0;y<c.length;y++)c[y]=Number(p[y])/o;return u}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(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 $e(e);let c=b.zeros(u,n),p=c.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=k(v,f,0,i),A=P(w,i),S=h[A];for(let O=1;O<y;O++){let j=k(v,f,O,i),F=P(j,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=k(h,f,v,i),A=P(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 c}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(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 Ge(e);let c=b.zeros(u,n),p=c.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=k(v,f,A,i),O=P(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=k(h,f,v,i),A=P(w,i);g*=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return c}function Ye(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 Ye(e);let c=b.zeros(u,n),p=c.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=k(v,f,0,i),A=P(w,i),S=h[A];for(let O=1;O<y;O++){let j=k(v,f,O,i),F=P(j,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=k(h,f,v,i),A=P(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 c}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("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 We(e);let u=b.zeros(f,"int32"),c=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=k(h,o,0,n),v=P(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=k(h,o,S,n),j=P(O,n),F=m[j];F<w&&(w=F,A=S)}c[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=k(m,o,v,n),A=P(w,n),S=Number(s[A]);S<h&&(h=S,g=v)}c[m]=g}return u}function Ze(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 Ze(e);let u=b.zeros(f,"int32"),c=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=k(h,o,0,n),v=P(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=k(h,o,S,n),j=P(O,n),F=m[j];F>w&&(w=F,A=S)}c[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=k(m,o,v,n),A=P(w,n),S=Number(s[A]);S>h&&(h=S,g=v)}c[m]=g}return u}function Je(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 c=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<c;O++){let j=k(w,u,O,i),F=P(j,i),M=Number(o[F])-S;A+=M*M}g[w]=A/(c-t)}return h}function Kn(e,r,t=0,n=!1){let i=Je(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 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!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 He(e);let u=b.zeros(f,"bool"),c=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=k(m,o,g,n),w=P(v,n);if(!s[w]){h=!1;break}}c[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(c,m,"bool")}return u}function Xe(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 Xe(e);let u=b.zeros(f,"bool"),c=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=k(m,o,g,n),w=P(v,n);if(s[w]){h=!0;break}}c[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(c,m,"bool")}return u}function ri(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),c=t/u;if(!Number.isInteger(c))throw new Error(`cannot reshape array of size ${t} into shape ${JSON.stringify(r)}`);a=r.map((p,y)=>y===i?c:p)}else a=r;if(a.reduce((u,c)=>u*c,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,Le(a),0)}let f=e.copy().data;return b.fromData(f,a,n,Le(a),0)}function Qe(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,c)=>{if(c===t){let p=e.get(...u);s[o++]=p;return}for(let p=0;p<r[c];p++)u[c]=p,f(u,c+1)};return f(new Array(t),0),b.fromData(s,[n],i,[1],0)}function ei(e){let r=e.size,t=e.dtype;if(e.isCContiguous){let n=e.data;return b.fromData(n,[r],t,[1],0)}return Qe(e)}function ti(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),c=o.map(p=>u[p]);return b.fromData(a,f,s,c,e.offset)}function ni(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 c=0;c<n;c++)c!==o&&(f.push(t[c]),u.push(i[c]));return b.fromData(a,f,s,u,e.offset)}}function ii(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)],c=o<n?i[o]*(t[o]||1):1;return u.splice(o,0,c),b.fromData(a,f,s,u,e.offset)}var xh=Kh(Ah(),1);function Eh(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=Tr(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)),c=b.zeros([t,a],"float64");return(0,xh.default)("row-major","no-transpose","no-transpose",t,a,n,1,f,n,u,a,0,c.data,a),c}function Sh(e){return Un(e,Math.sqrt,!1)}function _h(e,r){return typeof r=="number"?$T(e,r):sr(e,r,Math.pow,"power")}function $T(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),c=u.data;if(d(t))if(d(f)&&Number.isInteger(r)&&r>=0){let p=i,y=c;for(let m=0;m<a;m++)y[m]=p[m]**BigInt(r)}else for(let p=0;p<a;p++)c[p]=Math.pow(Number(i[p]),r);else for(let p=0;p<a;p++)c[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 c=f;if(r==="bool")for(let p=0;p<a;p++)o[p]=c[p]!==BigInt(0)?1:0;else for(let p=0;p<a;p++)o[p]=Number(c[p])}else if(!d(n)&&d(r)){let c=f;for(let p=0;p<a;p++)o[p]=BigInt(Math.round(Number(c[p])))}else if(r==="bool"){let c=f;for(let p=0;p<a;p++)o[p]=c[p]!==0?1:0}else if(n==="bool"&&!d(r)){let c=f;for(let p=0;p<a;p++)o[p]=c[p]}else if(!d(n)&&!d(r)){let c=f;for(let p=0;p<a;p++)o[p]=c[p]}else{let c=f;for(let p=0;p<a;p++)o[p]=c[p]}let u=b.fromData(o,i,r);return new e(u)}add(r){let t=typeof r=="number"?r:r._storage,n=zn(this._storage,t);return e._fromStorage(n)}subtract(r){let t=typeof r=="number"?r:r._storage,n=Fn(this._storage,t);return e._fromStorage(n)}multiply(r){let t=typeof r=="number"?r:r._storage,n=Rn(this._storage,t);return e._fromStorage(n)}divide(r){let t=typeof r=="number"?r:r._storage,n=jn(this._storage,t);return e._fromStorage(n)}mod(r){let t=typeof r=="number"?r:r._storage,n=Pn(this._storage,t);return e._fromStorage(n)}floor_divide(r){let t=typeof r=="number"?r:r._storage,n=kn(this._storage,t);return e._fromStorage(n)}positive(){let r=$n(this._storage);return e._fromStorage(r)}reciprocal(){let r=Gn(this._storage);return e._fromStorage(r)}sqrt(){let r=Sh(this._storage);return e._fromStorage(r)}power(r){let t=typeof r=="number"?r:r._storage,n=_h(this._storage,t);return e._fromStorage(n)}absolute(){let r=Cn(this._storage);return e._fromStorage(r)}negative(){let r=Ln(this._storage);return e._fromStorage(r)}sign(){let r=Mn(this._storage);return e._fromStorage(r)}greater(r){let t=typeof r=="number"?r:r._storage,n=Yn(this._storage,t);return e._fromStorage(n)}greater_equal(r){let t=typeof r=="number"?r:r._storage,n=Wn(this._storage,t);return e._fromStorage(n)}less(r){let t=typeof r=="number"?r:r._storage,n=Zn(this._storage,t);return e._fromStorage(n)}less_equal(r){let t=typeof r=="number"?r:r._storage,n=Jn(this._storage,t);return e._fromStorage(n)}equal(r){let t=typeof r=="number"?r:r._storage,n=Hn(this._storage,t);return e._fromStorage(n)}not_equal(r){let t=typeof r=="number"?r:r._storage,n=Xn(this._storage,t);return e._fromStorage(n)}isclose(r,t=1e-5,n=1e-8){let i=typeof r=="number"?r:r._storage,a=Pe(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 Qn(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=$e(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}min(r,t=!1){let n=Ye(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}prod(r,t=!1){let n=Ge(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}argmin(r){let t=We(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}argmax(r){let t=Ze(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}var(r,t=0,n=!1){let i=Je(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}std(r,t=0,n=!1){let i=Kn(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}all(r,t=!1){let n=He(this._storage,r,t);return typeof n=="boolean"?n:e._fromStorage(n)}any(r,t=!1){let n=Xe(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=ri(this._storage,t),a=n.data===this.data?this._base??this:void 0;return e._fromStorage(n,a)}flatten(){let r=Qe(this._storage);return e._fromStorage(r)}ravel(){let r=ei(this._storage),n=r.data===this.data?this._base??this:void 0;return e._fromStorage(r,n)}transpose(r){let t=ti(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}squeeze(r){let t=ni(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}expand_dims(r){let t=ii(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}matmul(r){let t=Eh(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 c=Nn(f);return Bn(c,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],c=this._storage.strides[f];if(a+=u.start*c,!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(c*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 ce(e,r=H){let t=b.zeros(e,r);return new rr(t)}function An(e,r=H){let t=b.ones(e,r);return new rr(t)}function YT(e){let r=[],t=e;for(;Array.isArray(t);)r.push(t.length),t=t[0];return r}function Th(e){return typeof e=="bigint"?!0:Array.isArray(e)?e.some(r=>Th(r)):!1}function WT(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=Th(e),n=YT(e),i=n.reduce((c,p)=>c*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=WT(e);if(d(a)){let c=o;for(let p=0;p<i;p++){let y=f[p];c[p]=typeof y=="bigint"?y:BigInt(Math.round(Number(y)))}}else if(a==="bool"){let c=o;for(let p=0;p<i;p++)c[p]=f[p]?1:0}else{let c=o;for(let p=0;p<i;p++){let y=f[p];c[p]=Number(y)}}let u=b.fromData(o,n,a);return new rr(u)}function qh(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 c=0;c<s;c++)f[c]=BigInt(Math.round(i+c*t));else if(n==="bool")for(let c=0;c<s;c++)f[c]=i+c*t!==0?1:0;else for(let c=0;c<s;c++)f[c]=i+c*t;let u=b.fromData(f,[s],n);return new rr(u)}function Ih(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 Dh(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 c=e+u*o;s[u]=BigInt(Math.round(Math.pow(n,c)))}else if(i==="bool")for(let u=0;u<t;u++){let c=e+u*o;s[u]=Math.pow(n,c)!==0?1:0}else for(let u=0;u<t;u++){let c=e+u*o;s[u]=Math.pow(n,c)}let f=b.fromData(s,[t],i);return new rr(f)}function Nh(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)),c=(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*c);o[y]=BigInt(Math.round(m))}else if(n==="bool")for(let y=0;y<t;y++){let m=i*Math.exp(f+y*c);o[y]=m!==0?1:0}else for(let y=0;y<t;y++){let m=i*Math.exp(f+y*c);o[y]=m}let p=b.fromData(o,[t],n);return new rr(p)}function xn(e,r,t=0,n=H){let i=r??e,a=ce([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 En(e,r=H){return ce(e,r)}function Sn(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 Bh(e,r=H){return xn(e,e,0,r)}function Oh(e,r){return e instanceof rr?!r||e.dtype===r?e:e.astype(r):xr(e,r)}function Vh(e){return e.copy()}function Uh(e,r){return ce(Array.from(e.shape),r??e.dtype)}function zh(e,r){return An(Array.from(e.shape),r??e.dtype)}function Fh(e,r){return En(Array.from(e.shape),r??e.dtype)}function Rh(e,r,t){return Sn(Array.from(e.shape),r,t??e.dtype)}function jh(e){return e.sqrt()}function Ch(e,r){return e.power(r)}function Lh(e){return e.absolute()}function Mh(e){return e.negative()}function Ph(e){return e.sign()}function kh(e,r){return e.mod(r)}function $h(e,r){return e.floor_divide(r)}function Gh(e){return e.positive()}function Yh(e){return e.reciprocal()}var ZT="0.3.0";0&&(module.exports={NDArray,__version__,absolute,arange,array,asarray,copy,empty,empty_like,eye,floor_divide,full,full_like,geomspace,identity,linspace,logspace,mod,negative,ones,ones_like,positive,power,reciprocal,sign,sqrt,zeros,zeros_like});
|
|
4
2
|
/*! Bundled license information:
|
|
5
3
|
|
|
6
|
-
@stdlib/
|
|
7
|
-
@stdlib/
|
|
8
|
-
@stdlib/
|
|
9
|
-
@stdlib/
|
|
10
|
-
@stdlib/
|
|
11
|
-
@stdlib/
|
|
12
|
-
@stdlib/
|
|
13
|
-
@stdlib/
|
|
14
|
-
@stdlib/
|
|
15
|
-
@stdlib/
|
|
16
|
-
@stdlib/
|
|
17
|
-
@stdlib/
|
|
18
|
-
@stdlib/
|
|
19
|
-
@stdlib/
|
|
20
|
-
@stdlib/
|
|
21
|
-
@stdlib/
|
|
22
|
-
@stdlib/
|
|
23
|
-
@stdlib/
|
|
24
|
-
@stdlib/
|
|
25
|
-
@stdlib/
|
|
26
|
-
@stdlib/
|
|
27
|
-
@stdlib/
|
|
28
|
-
@stdlib/
|
|
29
|
-
@stdlib/
|
|
30
|
-
@stdlib/
|
|
31
|
-
@stdlib/ndarray/base/
|
|
32
|
-
@stdlib/
|
|
33
|
-
@stdlib/complex/float32/real/lib/index.js:
|
|
34
|
-
@stdlib/complex/float32/imag/lib/main.js:
|
|
35
|
-
@stdlib/complex/float32/imag/lib/index.js:
|
|
36
|
-
@stdlib/strided/base/reinterpret-complex64/lib/main.js:
|
|
37
|
-
@stdlib/strided/base/reinterpret-complex64/lib/index.js:
|
|
38
|
-
@stdlib/strided/base/reinterpret-complex128/lib/main.js:
|
|
39
|
-
@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:
|
|
4
|
+
@stdlib/object/ctor/lib/main.js:
|
|
5
|
+
@stdlib/object/ctor/lib/index.js:
|
|
6
|
+
@stdlib/string/base/format-interpolate/lib/is_number.js:
|
|
7
|
+
@stdlib/string/base/format-interpolate/lib/zero_pad.js:
|
|
8
|
+
@stdlib/string/base/format-interpolate/lib/format_integer.js:
|
|
9
|
+
@stdlib/string/base/format-interpolate/lib/is_string.js:
|
|
10
|
+
@stdlib/string/base/format-interpolate/lib/format_double.js:
|
|
11
|
+
@stdlib/string/base/format-interpolate/lib/space_pad.js:
|
|
12
|
+
@stdlib/string/base/format-interpolate/lib/main.js:
|
|
13
|
+
@stdlib/string/base/format-interpolate/lib/index.js:
|
|
14
|
+
@stdlib/string/base/format-tokenize/lib/main.js:
|
|
15
|
+
@stdlib/string/base/format-tokenize/lib/index.js:
|
|
16
|
+
@stdlib/string/format/lib/is_string.js:
|
|
17
|
+
@stdlib/string/format/lib/main.js:
|
|
18
|
+
@stdlib/string/format/lib/index.js:
|
|
19
|
+
@stdlib/boolean/ctor/lib/main.js:
|
|
20
|
+
@stdlib/boolean/ctor/lib/index.js:
|
|
21
|
+
@stdlib/utils/global/lib/global_this.js:
|
|
22
|
+
@stdlib/array/base/assert/is-accessor-array/lib/main.js:
|
|
23
|
+
@stdlib/array/base/assert/is-accessor-array/lib/index.js:
|
|
24
|
+
@stdlib/array/base/accessor-getter/lib/main.js:
|
|
25
|
+
@stdlib/array/base/accessor-getter/lib/index.js:
|
|
26
|
+
@stdlib/array/base/getter/lib/main.js:
|
|
27
|
+
@stdlib/array/base/getter/lib/index.js:
|
|
28
|
+
@stdlib/ndarray/base/unary-tiling-block-size/lib/defaults.js:
|
|
29
|
+
@stdlib/ndarray/base/unary-tiling-block-size/lib/main.js:
|
|
30
|
+
@stdlib/ndarray/base/unary-tiling-block-size/lib/index.js:
|
|
120
31
|
(**
|
|
121
32
|
* @license Apache-2.0
|
|
122
33
|
*
|
|
123
|
-
* Copyright (c)
|
|
34
|
+
* Copyright (c) 2022 The Stdlib Authors.
|
|
124
35
|
*
|
|
125
36
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
126
37
|
* you may not use this file except in compliance with the License.
|
|
@@ -135,32 +46,26 @@
|
|
|
135
46
|
* limitations under the License.
|
|
136
47
|
*)
|
|
137
48
|
|
|
49
|
+
@stdlib/utils/type-of/lib/fixtures/re.js:
|
|
138
50
|
@stdlib/utils/define-property/lib/builtin.js:
|
|
139
51
|
@stdlib/utils/define-property/lib/polyfill.js:
|
|
140
52
|
@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/
|
|
144
|
-
@stdlib/assert/has-own-property/lib/index.js:
|
|
53
|
+
@stdlib/utils/define-nonenumerable-read-only-property/lib/main.js:
|
|
54
|
+
@stdlib/utils/define-nonenumerable-read-only-property/lib/index.js:
|
|
55
|
+
@stdlib/assert/is-boolean/lib/primitive.js:
|
|
145
56
|
@stdlib/assert/has-symbol-support/lib/main.js:
|
|
146
57
|
@stdlib/assert/has-symbol-support/lib/index.js:
|
|
147
58
|
@stdlib/assert/has-tostringtag-support/lib/main.js:
|
|
148
59
|
@stdlib/assert/has-tostringtag-support/lib/index.js:
|
|
149
60
|
@stdlib/utils/native-class/lib/tostring.js:
|
|
150
61
|
@stdlib/utils/native-class/lib/main.js:
|
|
62
|
+
@stdlib/assert/has-own-property/lib/main.js:
|
|
63
|
+
@stdlib/assert/has-own-property/lib/index.js:
|
|
151
64
|
@stdlib/symbol/ctor/lib/main.js:
|
|
152
65
|
@stdlib/symbol/ctor/lib/index.js:
|
|
153
66
|
@stdlib/utils/native-class/lib/tostringtag.js:
|
|
154
67
|
@stdlib/utils/native-class/lib/polyfill.js:
|
|
155
68
|
@stdlib/utils/native-class/lib/index.js:
|
|
156
|
-
@stdlib/assert/is-array/lib/main.js:
|
|
157
|
-
@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
69
|
@stdlib/assert/is-boolean/lib/tostring.js:
|
|
165
70
|
@stdlib/assert/is-boolean/lib/try2serialize.js:
|
|
166
71
|
@stdlib/assert/is-boolean/lib/object.js:
|
|
@@ -176,6 +81,8 @@
|
|
|
176
81
|
@stdlib/utils/type-of/lib/fixtures/typedarray.js:
|
|
177
82
|
@stdlib/utils/type-of/lib/check.js:
|
|
178
83
|
@stdlib/regexp/function-name/lib/regexp.js:
|
|
84
|
+
@stdlib/assert/is-array/lib/main.js:
|
|
85
|
+
@stdlib/assert/is-array/lib/index.js:
|
|
179
86
|
@stdlib/assert/tools/array-function/lib/main.js:
|
|
180
87
|
@stdlib/assert/tools/array-function/lib/index.js:
|
|
181
88
|
@stdlib/assert/is-object-like/lib/main.js:
|
|
@@ -195,94 +102,12 @@
|
|
|
195
102
|
@stdlib/utils/get-prototype-of/lib/detect.js:
|
|
196
103
|
@stdlib/utils/get-prototype-of/lib/main.js:
|
|
197
104
|
@stdlib/utils/get-prototype-of/lib/index.js:
|
|
198
|
-
@stdlib/assert/is-
|
|
199
|
-
@stdlib/assert/is-
|
|
200
|
-
@stdlib/
|
|
201
|
-
@stdlib/
|
|
202
|
-
@stdlib/
|
|
203
|
-
@stdlib/
|
|
204
|
-
@stdlib/assert/is-number/lib/try2serialize.js:
|
|
205
|
-
@stdlib/assert/is-number/lib/object.js:
|
|
206
|
-
@stdlib/assert/is-number/lib/main.js:
|
|
207
|
-
@stdlib/assert/is-number/lib/index.js:
|
|
208
|
-
@stdlib/constants/float64/pinf/lib/index.js:
|
|
209
|
-
@stdlib/constants/float64/ninf/lib/index.js:
|
|
210
|
-
@stdlib/math/base/special/floor/lib/main.js:
|
|
211
|
-
@stdlib/math/base/special/floor/lib/index.js:
|
|
212
|
-
@stdlib/math/base/assert/is-integer/lib/main.js:
|
|
213
|
-
@stdlib/math/base/assert/is-integer/lib/index.js:
|
|
214
|
-
@stdlib/assert/is-integer/lib/integer.js:
|
|
215
|
-
@stdlib/assert/is-integer/lib/primitive.js:
|
|
216
|
-
@stdlib/assert/is-integer/lib/object.js:
|
|
217
|
-
@stdlib/assert/is-integer/lib/main.js:
|
|
218
|
-
@stdlib/assert/is-integer/lib/index.js:
|
|
219
|
-
@stdlib/assert/is-nonnegative-integer/lib/primitive.js:
|
|
220
|
-
@stdlib/assert/is-nonnegative-integer/lib/object.js:
|
|
221
|
-
@stdlib/assert/is-nonnegative-integer/lib/main.js:
|
|
222
|
-
@stdlib/assert/is-nonnegative-integer/lib/index.js:
|
|
223
|
-
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
|
|
224
|
-
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
|
|
225
|
-
@stdlib/ndarray/base/bytes-per-element/lib/main.js:
|
|
226
|
-
@stdlib/ndarray/base/bytes-per-element/lib/index.js:
|
|
227
|
-
@stdlib/ndarray/base/iteration-order/lib/main.js:
|
|
228
|
-
@stdlib/ndarray/base/iteration-order/lib/index.js:
|
|
229
|
-
@stdlib/math/base/special/abs/lib/index.js:
|
|
230
|
-
@stdlib/ndarray/base/strides2order/lib/main.js:
|
|
231
|
-
@stdlib/ndarray/base/strides2order/lib/index.js:
|
|
232
|
-
@stdlib/ndarray/base/ctor/lib/is_column_major_contiguous.js:
|
|
233
|
-
@stdlib/ndarray/base/ctor/lib/is_row_major_contiguous.js:
|
|
234
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/main.js:
|
|
235
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/assign.js:
|
|
236
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/index.js:
|
|
237
|
-
@stdlib/ndarray/base/ctor/lib/is_contiguous.js:
|
|
238
|
-
@stdlib/ndarray/base/ctor/lib/copy_flags.js:
|
|
239
|
-
@stdlib/ndarray/base/ctor/lib/iget.js:
|
|
240
|
-
@stdlib/ndarray/base/ctor/lib/iset.js:
|
|
241
|
-
@stdlib/ndarray/base/ctor/lib/set.js:
|
|
242
|
-
@stdlib/ndarray/base/ctor/lib/get.js:
|
|
243
|
-
@stdlib/complex/float64/real/lib/main.js:
|
|
244
|
-
@stdlib/complex/float64/real/lib/index.js:
|
|
245
|
-
@stdlib/complex/float64/imag/lib/main.js:
|
|
246
|
-
@stdlib/complex/float64/imag/lib/index.js:
|
|
247
|
-
@stdlib/ndarray/base/ctor/lib/tojson.js:
|
|
248
|
-
@stdlib/assert/is-string/lib/primitive.js:
|
|
249
|
-
@stdlib/assert/is-string/lib/valueof.js:
|
|
250
|
-
@stdlib/assert/is-string/lib/try2valueof.js:
|
|
251
|
-
@stdlib/assert/is-string/lib/object.js:
|
|
252
|
-
@stdlib/assert/is-string/lib/main.js:
|
|
253
|
-
@stdlib/assert/is-string/lib/index.js:
|
|
254
|
-
@stdlib/utils/escape-regexp-string/lib/main.js:
|
|
255
|
-
@stdlib/utils/escape-regexp-string/lib/index.js:
|
|
256
|
-
@stdlib/assert/is-regexp/lib/exec.js:
|
|
257
|
-
@stdlib/assert/is-regexp/lib/try2exec.js:
|
|
258
|
-
@stdlib/assert/is-regexp/lib/main.js:
|
|
259
|
-
@stdlib/assert/is-regexp/lib/index.js:
|
|
260
|
-
@stdlib/string/replace/lib/main.js:
|
|
261
|
-
@stdlib/string/replace/lib/index.js:
|
|
262
|
-
@stdlib/ndarray/base/ctor/lib/tostring.js:
|
|
263
|
-
@stdlib/assert/is-uint8array/lib/main.js:
|
|
264
|
-
@stdlib/assert/is-uint8array/lib/index.js:
|
|
265
|
-
@stdlib/constants/uint8/max/lib/index.js:
|
|
266
|
-
@stdlib/assert/has-uint8array-support/lib/uint8array.js:
|
|
267
|
-
@stdlib/assert/has-uint8array-support/lib/main.js:
|
|
268
|
-
@stdlib/assert/has-uint8array-support/lib/index.js:
|
|
269
|
-
@stdlib/array/uint8/lib/main.js:
|
|
270
|
-
@stdlib/array/uint8/lib/polyfill.js:
|
|
271
|
-
@stdlib/array/uint8/lib/index.js:
|
|
272
|
-
@stdlib/assert/is-uint16array/lib/main.js:
|
|
273
|
-
@stdlib/assert/is-uint16array/lib/index.js:
|
|
274
|
-
@stdlib/constants/uint16/max/lib/index.js:
|
|
275
|
-
@stdlib/assert/has-uint16array-support/lib/uint16array.js:
|
|
276
|
-
@stdlib/assert/has-uint16array-support/lib/main.js:
|
|
277
|
-
@stdlib/assert/has-uint16array-support/lib/index.js:
|
|
278
|
-
@stdlib/array/uint16/lib/main.js:
|
|
279
|
-
@stdlib/array/uint16/lib/polyfill.js:
|
|
280
|
-
@stdlib/array/uint16/lib/index.js:
|
|
281
|
-
@stdlib/assert/is-little-endian/lib/ctors.js:
|
|
282
|
-
@stdlib/assert/is-little-endian/lib/main.js:
|
|
283
|
-
@stdlib/assert/is-little-endian/lib/index.js:
|
|
284
|
-
@stdlib/assert/is-arraybuffer/lib/main.js:
|
|
285
|
-
@stdlib/assert/is-arraybuffer/lib/index.js:
|
|
105
|
+
@stdlib/assert/is-error/lib/main.js:
|
|
106
|
+
@stdlib/assert/is-error/lib/index.js:
|
|
107
|
+
@stdlib/utils/try-require/lib/main.js:
|
|
108
|
+
@stdlib/utils/try-require/lib/index.js:
|
|
109
|
+
@stdlib/math/base/special/fast/max/lib/main.js:
|
|
110
|
+
@stdlib/math/base/special/fast/max/lib/index.js:
|
|
286
111
|
@stdlib/assert/is-float64array/lib/main.js:
|
|
287
112
|
@stdlib/assert/is-float64array/lib/index.js:
|
|
288
113
|
@stdlib/assert/has-float64array-support/lib/float64array.js:
|
|
@@ -291,76 +116,9 @@
|
|
|
291
116
|
@stdlib/array/float64/lib/main.js:
|
|
292
117
|
@stdlib/array/float64/lib/polyfill.js:
|
|
293
118
|
@stdlib/array/float64/lib/index.js:
|
|
294
|
-
@stdlib/assert/has-arraybuffer-support/lib/arraybuffer.js:
|
|
295
|
-
@stdlib/assert/has-arraybuffer-support/lib/main.js:
|
|
296
|
-
@stdlib/assert/has-arraybuffer-support/lib/index.js:
|
|
297
|
-
@stdlib/array/buffer/lib/main.js:
|
|
298
|
-
@stdlib/array/buffer/lib/polyfill.js:
|
|
299
|
-
@stdlib/array/buffer/lib/index.js:
|
|
300
|
-
@stdlib/ndarray/dtypes/lib/main.js:
|
|
301
|
-
@stdlib/utils/keys/lib/builtin.js:
|
|
302
|
-
@stdlib/utils/keys/lib/has_arguments_bug.js:
|
|
303
|
-
@stdlib/utils/keys/lib/has_builtin.js:
|
|
304
|
-
@stdlib/assert/is-arguments/lib/main.js:
|
|
305
|
-
@stdlib/assert/is-arguments/lib/detect.js:
|
|
306
|
-
@stdlib/math/base/assert/is-nan/lib/main.js:
|
|
307
|
-
@stdlib/math/base/assert/is-nan/lib/index.js:
|
|
308
|
-
@stdlib/assert/is-nan/lib/primitive.js:
|
|
309
|
-
@stdlib/assert/is-nan/lib/object.js:
|
|
310
|
-
@stdlib/assert/is-nan/lib/main.js:
|
|
311
|
-
@stdlib/assert/is-nan/lib/index.js:
|
|
312
|
-
@stdlib/assert/is-enumerable-property/lib/native.js:
|
|
313
|
-
@stdlib/assert/is-enumerable-property/lib/has_string_enumerability_bug.js:
|
|
314
|
-
@stdlib/assert/is-enumerable-property/lib/main.js:
|
|
315
|
-
@stdlib/assert/is-enumerable-property/lib/index.js:
|
|
316
|
-
@stdlib/constants/uint32/max/lib/index.js:
|
|
317
|
-
@stdlib/assert/is-arguments/lib/polyfill.js:
|
|
318
|
-
@stdlib/assert/is-arguments/lib/index.js:
|
|
319
|
-
@stdlib/utils/keys/lib/builtin_wrapper.js:
|
|
320
|
-
@stdlib/utils/noop/lib/main.js:
|
|
321
|
-
@stdlib/utils/noop/lib/index.js:
|
|
322
|
-
@stdlib/utils/keys/lib/has_enumerable_prototype_bug.js:
|
|
323
|
-
@stdlib/utils/keys/lib/has_non_enumerable_properties_bug.js:
|
|
324
|
-
@stdlib/constants/array/max-typed-array-length/lib/index.js:
|
|
325
|
-
@stdlib/assert/is-collection/lib/main.js:
|
|
326
|
-
@stdlib/assert/is-collection/lib/index.js:
|
|
327
|
-
@stdlib/utils/index-of/lib/main.js:
|
|
328
|
-
@stdlib/utils/index-of/lib/index.js:
|
|
329
|
-
@stdlib/utils/keys/lib/is_constructor_prototype.js:
|
|
330
|
-
@stdlib/utils/keys/lib/window.js:
|
|
331
|
-
@stdlib/utils/keys/lib/has_automation_equality_bug.js:
|
|
332
|
-
@stdlib/utils/keys/lib/has_window.js:
|
|
333
|
-
@stdlib/utils/keys/lib/is_constructor_prototype_wrapper.js:
|
|
334
|
-
@stdlib/utils/keys/lib/polyfill.js:
|
|
335
|
-
@stdlib/utils/keys/lib/main.js:
|
|
336
|
-
@stdlib/utils/keys/lib/index.js:
|
|
337
|
-
@stdlib/ndarray/dtypes/lib/index.js:
|
|
338
|
-
@stdlib/ndarray/orders/lib/main.js:
|
|
339
|
-
@stdlib/ndarray/orders/lib/index.js:
|
|
340
|
-
@stdlib/ndarray/index-modes/lib/main.js:
|
|
341
|
-
@stdlib/ndarray/index-modes/lib/index.js:
|
|
342
|
-
@stdlib/ndarray/base/ctor/lib/main.js:
|
|
343
|
-
@stdlib/ndarray/base/ctor/lib/index.js:
|
|
344
|
-
@stdlib/assert/is-ndarray-like/lib/main.js:
|
|
345
|
-
@stdlib/assert/is-ndarray-like/lib/index.js:
|
|
346
|
-
@stdlib/ndarray/base/shape2strides/lib/main.js:
|
|
347
|
-
@stdlib/ndarray/base/shape2strides/lib/assign.js:
|
|
348
|
-
@stdlib/ndarray/base/shape2strides/lib/index.js:
|
|
349
|
-
@stdlib/ndarray/base/strides2offset/lib/main.js:
|
|
350
|
-
@stdlib/ndarray/base/strides2offset/lib/index.js:
|
|
351
|
-
@stdlib/ndarray/base/numel/lib/main.js:
|
|
352
|
-
@stdlib/ndarray/base/numel/lib/index.js:
|
|
353
|
-
@stdlib/constants/array/max-array-length/lib/index.js:
|
|
354
|
-
@stdlib/assert/is-array-like/lib/main.js:
|
|
355
|
-
@stdlib/assert/is-array-like/lib/index.js:
|
|
356
|
-
@stdlib/assert/tools/array-like-function/lib/main.js:
|
|
357
|
-
@stdlib/assert/tools/array-like-function/lib/index.js:
|
|
358
|
-
@stdlib/assert/is-nonnegative-integer-array/lib/index.js:
|
|
359
|
-
@stdlib/assert/is-integer-array/lib/index.js:
|
|
360
|
-
@stdlib/ndarray/base/assert/is-order/lib/main.js:
|
|
361
|
-
@stdlib/ndarray/base/assert/is-order/lib/index.js:
|
|
362
119
|
@stdlib/assert/is-float32array/lib/main.js:
|
|
363
120
|
@stdlib/assert/is-float32array/lib/index.js:
|
|
121
|
+
@stdlib/constants/float64/pinf/lib/index.js:
|
|
364
122
|
@stdlib/assert/has-float32array-support/lib/float32array.js:
|
|
365
123
|
@stdlib/assert/has-float32array-support/lib/main.js:
|
|
366
124
|
@stdlib/assert/has-float32array-support/lib/index.js:
|
|
@@ -369,6 +127,7 @@
|
|
|
369
127
|
@stdlib/array/float32/lib/index.js:
|
|
370
128
|
@stdlib/assert/is-uint32array/lib/main.js:
|
|
371
129
|
@stdlib/assert/is-uint32array/lib/index.js:
|
|
130
|
+
@stdlib/constants/uint32/max/lib/index.js:
|
|
372
131
|
@stdlib/assert/has-uint32array-support/lib/uint32array.js:
|
|
373
132
|
@stdlib/assert/has-uint32array-support/lib/main.js:
|
|
374
133
|
@stdlib/assert/has-uint32array-support/lib/index.js:
|
|
@@ -385,6 +144,15 @@
|
|
|
385
144
|
@stdlib/array/int32/lib/main.js:
|
|
386
145
|
@stdlib/array/int32/lib/polyfill.js:
|
|
387
146
|
@stdlib/array/int32/lib/index.js:
|
|
147
|
+
@stdlib/assert/is-uint16array/lib/main.js:
|
|
148
|
+
@stdlib/assert/is-uint16array/lib/index.js:
|
|
149
|
+
@stdlib/constants/uint16/max/lib/index.js:
|
|
150
|
+
@stdlib/assert/has-uint16array-support/lib/uint16array.js:
|
|
151
|
+
@stdlib/assert/has-uint16array-support/lib/main.js:
|
|
152
|
+
@stdlib/assert/has-uint16array-support/lib/index.js:
|
|
153
|
+
@stdlib/array/uint16/lib/main.js:
|
|
154
|
+
@stdlib/array/uint16/lib/polyfill.js:
|
|
155
|
+
@stdlib/array/uint16/lib/index.js:
|
|
388
156
|
@stdlib/assert/is-int16array/lib/main.js:
|
|
389
157
|
@stdlib/assert/is-int16array/lib/index.js:
|
|
390
158
|
@stdlib/constants/int16/max/lib/index.js:
|
|
@@ -395,6 +163,15 @@
|
|
|
395
163
|
@stdlib/array/int16/lib/main.js:
|
|
396
164
|
@stdlib/array/int16/lib/polyfill.js:
|
|
397
165
|
@stdlib/array/int16/lib/index.js:
|
|
166
|
+
@stdlib/assert/is-uint8array/lib/main.js:
|
|
167
|
+
@stdlib/assert/is-uint8array/lib/index.js:
|
|
168
|
+
@stdlib/constants/uint8/max/lib/index.js:
|
|
169
|
+
@stdlib/assert/has-uint8array-support/lib/uint8array.js:
|
|
170
|
+
@stdlib/assert/has-uint8array-support/lib/main.js:
|
|
171
|
+
@stdlib/assert/has-uint8array-support/lib/index.js:
|
|
172
|
+
@stdlib/array/uint8/lib/main.js:
|
|
173
|
+
@stdlib/array/uint8/lib/polyfill.js:
|
|
174
|
+
@stdlib/array/uint8/lib/index.js:
|
|
398
175
|
@stdlib/assert/is-uint8clampedarray/lib/main.js:
|
|
399
176
|
@stdlib/assert/is-uint8clampedarray/lib/index.js:
|
|
400
177
|
@stdlib/assert/has-uint8clampedarray-support/lib/uint8clampedarray.js:
|
|
@@ -413,8 +190,44 @@
|
|
|
413
190
|
@stdlib/array/int8/lib/main.js:
|
|
414
191
|
@stdlib/array/int8/lib/polyfill.js:
|
|
415
192
|
@stdlib/array/int8/lib/index.js:
|
|
193
|
+
@stdlib/assert/is-number/lib/primitive.js:
|
|
194
|
+
@stdlib/number/ctor/lib/main.js:
|
|
195
|
+
@stdlib/number/ctor/lib/index.js:
|
|
196
|
+
@stdlib/assert/is-number/lib/tostring.js:
|
|
197
|
+
@stdlib/assert/is-number/lib/try2serialize.js:
|
|
198
|
+
@stdlib/assert/is-number/lib/object.js:
|
|
199
|
+
@stdlib/assert/is-number/lib/main.js:
|
|
200
|
+
@stdlib/assert/is-number/lib/index.js:
|
|
201
|
+
@stdlib/constants/float64/ninf/lib/index.js:
|
|
202
|
+
@stdlib/math/base/special/floor/lib/main.js:
|
|
203
|
+
@stdlib/math/base/special/floor/lib/index.js:
|
|
204
|
+
@stdlib/math/base/assert/is-integer/lib/main.js:
|
|
205
|
+
@stdlib/math/base/assert/is-integer/lib/index.js:
|
|
206
|
+
@stdlib/assert/is-integer/lib/integer.js:
|
|
207
|
+
@stdlib/assert/is-integer/lib/primitive.js:
|
|
208
|
+
@stdlib/assert/is-integer/lib/object.js:
|
|
209
|
+
@stdlib/assert/is-integer/lib/main.js:
|
|
210
|
+
@stdlib/assert/is-integer/lib/index.js:
|
|
211
|
+
@stdlib/assert/is-nonnegative-integer/lib/primitive.js:
|
|
212
|
+
@stdlib/assert/is-nonnegative-integer/lib/object.js:
|
|
213
|
+
@stdlib/assert/is-nonnegative-integer/lib/main.js:
|
|
214
|
+
@stdlib/assert/is-nonnegative-integer/lib/index.js:
|
|
215
|
+
@stdlib/constants/array/max-array-length/lib/index.js:
|
|
416
216
|
@stdlib/assert/is-array-like-object/lib/main.js:
|
|
417
217
|
@stdlib/assert/is-array-like-object/lib/index.js:
|
|
218
|
+
@stdlib/constants/array/max-typed-array-length/lib/index.js:
|
|
219
|
+
@stdlib/assert/is-collection/lib/main.js:
|
|
220
|
+
@stdlib/assert/is-collection/lib/index.js:
|
|
221
|
+
@stdlib/assert/is-arraybuffer/lib/main.js:
|
|
222
|
+
@stdlib/assert/is-arraybuffer/lib/index.js:
|
|
223
|
+
@stdlib/assert/is-object/lib/main.js:
|
|
224
|
+
@stdlib/assert/is-object/lib/index.js:
|
|
225
|
+
@stdlib/assert/is-string/lib/primitive.js:
|
|
226
|
+
@stdlib/assert/is-string/lib/valueof.js:
|
|
227
|
+
@stdlib/assert/is-string/lib/try2valueof.js:
|
|
228
|
+
@stdlib/assert/is-string/lib/object.js:
|
|
229
|
+
@stdlib/assert/is-string/lib/main.js:
|
|
230
|
+
@stdlib/assert/is-string/lib/index.js:
|
|
418
231
|
@stdlib/assert/is-string-array/lib/index.js:
|
|
419
232
|
@stdlib/complex/float64/ctor/lib/tostring.js:
|
|
420
233
|
@stdlib/complex/float64/ctor/lib/tojson.js:
|
|
@@ -435,199 +248,28 @@
|
|
|
435
248
|
@stdlib/assert/has-iterator-symbol-support/lib/index.js:
|
|
436
249
|
@stdlib/symbol/iterator/lib/main.js:
|
|
437
250
|
@stdlib/symbol/iterator/lib/index.js:
|
|
251
|
+
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
|
|
252
|
+
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
|
|
438
253
|
@stdlib/array/complex64/lib/from_iterator.js:
|
|
439
254
|
@stdlib/array/complex64/lib/from_iterator_map.js:
|
|
440
255
|
@stdlib/array/complex64/lib/from_array.js:
|
|
441
256
|
@stdlib/array/complex64/lib/main.js:
|
|
442
257
|
@stdlib/array/complex64/lib/index.js:
|
|
258
|
+
@stdlib/complex/float64/real/lib/main.js:
|
|
259
|
+
@stdlib/complex/float64/real/lib/index.js:
|
|
260
|
+
@stdlib/complex/float64/imag/lib/main.js:
|
|
261
|
+
@stdlib/complex/float64/imag/lib/index.js:
|
|
443
262
|
@stdlib/array/complex128/lib/from_iterator.js:
|
|
444
263
|
@stdlib/array/complex128/lib/from_iterator_map.js:
|
|
445
264
|
@stdlib/array/complex128/lib/from_array.js:
|
|
446
265
|
@stdlib/array/complex128/lib/index.js:
|
|
447
266
|
@stdlib/array/dtype/lib/main.js:
|
|
448
267
|
@stdlib/array/dtype/lib/index.js:
|
|
449
|
-
@stdlib/
|
|
450
|
-
@stdlib/ndarray/base/assert/is-data-type/lib/index.js:
|
|
451
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/main.js:
|
|
452
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/index.js:
|
|
453
|
-
@stdlib/utils/inherit/lib/validate.js:
|
|
454
|
-
@stdlib/utils/inherit/lib/native.js:
|
|
455
|
-
@stdlib/utils/inherit/lib/polyfill.js:
|
|
456
|
-
@stdlib/utils/inherit/lib/detect.js:
|
|
457
|
-
@stdlib/utils/inherit/lib/main.js:
|
|
458
|
-
@stdlib/utils/inherit/lib/index.js:
|
|
459
|
-
@stdlib/ndarray/base/clamp-index/lib/main.js:
|
|
460
|
-
@stdlib/ndarray/base/clamp-index/lib/index.js:
|
|
461
|
-
@stdlib/ndarray/base/wrap-index/lib/main.js:
|
|
462
|
-
@stdlib/ndarray/base/wrap-index/lib/index.js:
|
|
463
|
-
@stdlib/ndarray/base/assert/is-index-mode/lib/main.js:
|
|
464
|
-
@stdlib/ndarray/base/assert/is-index-mode/lib/index.js:
|
|
465
|
-
@stdlib/ndarray/base/ind/lib/main.js:
|
|
466
|
-
@stdlib/ndarray/base/ind/lib/index.js:
|
|
467
|
-
@stdlib/ndarray/ctor/lib/iget.js:
|
|
468
|
-
@stdlib/ndarray/ctor/lib/iset.js:
|
|
469
|
-
@stdlib/ndarray/ctor/lib/get.js:
|
|
470
|
-
@stdlib/ndarray/ctor/lib/set.js:
|
|
471
|
-
@stdlib/ndarray/ctor/lib/copy_array.js:
|
|
472
|
-
@stdlib/ndarray/ctor/lib/validate.js:
|
|
473
|
-
@stdlib/ndarray/ctor/lib/main.js:
|
|
474
|
-
@stdlib/ndarray/ctor/lib/index.js:
|
|
475
|
-
@stdlib/ndarray/casting-modes/lib/main.js:
|
|
476
|
-
@stdlib/ndarray/casting-modes/lib/index.js:
|
|
477
|
-
@stdlib/ndarray/base/assert/is-casting-mode/lib/main.js:
|
|
478
|
-
@stdlib/ndarray/base/assert/is-casting-mode/lib/index.js:
|
|
479
|
-
@stdlib/utils/object-inverse/lib/main.js:
|
|
480
|
-
@stdlib/utils/object-inverse/lib/index.js:
|
|
481
|
-
@stdlib/ndarray/safe-casts/lib/main.js:
|
|
482
|
-
@stdlib/ndarray/safe-casts/lib/index.js:
|
|
483
|
-
@stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/main.js:
|
|
484
|
-
@stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/index.js:
|
|
485
|
-
@stdlib/ndarray/same-kind-casts/lib/main.js:
|
|
486
|
-
@stdlib/ndarray/same-kind-casts/lib/index.js:
|
|
487
|
-
@stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/main.js:
|
|
488
|
-
@stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/index.js:
|
|
489
|
-
@stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/main.js:
|
|
490
|
-
@stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/index.js:
|
|
491
|
-
@stdlib/assert/has-node-buffer-support/lib/buffer.js:
|
|
492
|
-
@stdlib/assert/has-node-buffer-support/lib/main.js:
|
|
493
|
-
@stdlib/assert/has-node-buffer-support/lib/index.js:
|
|
494
|
-
@stdlib/buffer/ctor/lib/main.js:
|
|
495
|
-
@stdlib/buffer/ctor/lib/polyfill.js:
|
|
496
|
-
@stdlib/buffer/ctor/lib/index.js:
|
|
497
|
-
@stdlib/ndarray/base/buffer-ctors/lib/main.js:
|
|
498
|
-
@stdlib/ndarray/base/buffer-ctors/lib/index.js:
|
|
499
|
-
@stdlib/buffer/alloc-unsafe/lib/has_alloc_unsafe.js:
|
|
500
|
-
@stdlib/buffer/alloc-unsafe/lib/main.js:
|
|
501
|
-
@stdlib/buffer/alloc-unsafe/lib/polyfill.js:
|
|
502
|
-
@stdlib/buffer/alloc-unsafe/lib/index.js:
|
|
503
|
-
@stdlib/ndarray/base/buffer/lib/zeros.js:
|
|
504
|
-
@stdlib/ndarray/base/buffer/lib/main.js:
|
|
505
|
-
@stdlib/ndarray/base/buffer/lib/index.js:
|
|
506
|
-
@stdlib/ndarray/base/buffer-dtype/lib/main.js:
|
|
507
|
-
@stdlib/ndarray/base/buffer-dtype/lib/index.js:
|
|
508
|
-
@stdlib/array/shape/lib/main.js:
|
|
509
|
-
@stdlib/array/shape/lib/index.js:
|
|
510
|
-
@stdlib/ndarray/base/vind2bind/lib/main.js:
|
|
511
|
-
@stdlib/ndarray/base/vind2bind/lib/index.js:
|
|
512
|
-
@stdlib/ndarray/array/lib/is_array_like_object.js:
|
|
513
|
-
@stdlib/ndarray/array/lib/cast_buffer.js:
|
|
514
|
-
@stdlib/ndarray/array/lib/copy_view.js:
|
|
515
|
-
@stdlib/ndarray/array/lib/expand_shape.js:
|
|
516
|
-
@stdlib/ndarray/array/lib/expand_strides.js:
|
|
517
|
-
@stdlib/ndarray/array/lib/main.js:
|
|
518
|
-
@stdlib/ndarray/array/lib/index.js:
|
|
519
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/main.js:
|
|
520
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/index.js:
|
|
521
|
-
@stdlib/ndarray/base/assert/is-column-major/lib/main.js:
|
|
522
|
-
@stdlib/ndarray/base/assert/is-column-major/lib/index.js:
|
|
523
|
-
@stdlib/ndarray/base/assert/is-single-segment-compatible/lib/main.js:
|
|
524
|
-
@stdlib/ndarray/base/assert/is-single-segment-compatible/lib/index.js:
|
|
525
|
-
@stdlib/ndarray/base/assert/is-column-major-contiguous/lib/main.js:
|
|
526
|
-
@stdlib/ndarray/base/assert/is-column-major-contiguous/lib/index.js:
|
|
527
|
-
@stdlib/ndarray/base/assert/is-contiguous/lib/main.js:
|
|
528
|
-
@stdlib/ndarray/base/assert/is-contiguous/lib/index.js:
|
|
529
|
-
@stdlib/utils/property-symbols/lib/has_builtin.js:
|
|
530
|
-
@stdlib/utils/property-symbols/lib/builtin.js:
|
|
531
|
-
@stdlib/utils/property-symbols/lib/polyfill.js:
|
|
532
|
-
@stdlib/utils/property-symbols/lib/index.js:
|
|
533
|
-
@stdlib/utils/enumerable-properties/lib/main.js:
|
|
534
|
-
@stdlib/utils/enumerable-properties/lib/index.js:
|
|
268
|
+
@stdlib/math/base/special/abs/lib/index.js:
|
|
535
269
|
@stdlib/ndarray/base/assert/is-row-major/lib/main.js:
|
|
536
270
|
@stdlib/ndarray/base/assert/is-row-major/lib/index.js:
|
|
537
|
-
@stdlib/ndarray/base/
|
|
538
|
-
@stdlib/ndarray/base/
|
|
539
|
-
@stdlib/ndarray/base/assert/lib/index.js:
|
|
540
|
-
@stdlib/math/base/special/ceil/lib/main.js:
|
|
541
|
-
@stdlib/math/base/special/ceil/lib/index.js:
|
|
542
|
-
@stdlib/math/base/special/trunc/lib/main.js:
|
|
543
|
-
@stdlib/math/base/special/trunc/lib/index.js:
|
|
544
|
-
@stdlib/ndarray/base/bind2vind/lib/main.js:
|
|
545
|
-
@stdlib/ndarray/base/bind2vind/lib/index.js:
|
|
546
|
-
@stdlib/ndarray/base/dtype-char/lib/main.js:
|
|
547
|
-
@stdlib/ndarray/base/dtype-char/lib/index.js:
|
|
548
|
-
@stdlib/ndarray/base/dtype-desc/lib/main.js:
|
|
549
|
-
@stdlib/array/typed-ctors/lib/main.js:
|
|
550
|
-
@stdlib/array/typed-ctors/lib/index.js:
|
|
551
|
-
@stdlib/array/ctors/lib/ctors.js:
|
|
552
|
-
@stdlib/array/ctors/lib/main.js:
|
|
553
|
-
@stdlib/array/ctors/lib/index.js:
|
|
554
|
-
@stdlib/assert/is-null/lib/main.js:
|
|
555
|
-
@stdlib/assert/is-null/lib/index.js:
|
|
556
|
-
@stdlib/assert/is-undefined/lib/main.js:
|
|
557
|
-
@stdlib/assert/is-undefined/lib/index.js:
|
|
558
|
-
@stdlib/ndarray/base/ind2sub/lib/assign.js:
|
|
559
|
-
@stdlib/ndarray/base/ind2sub/lib/main.js:
|
|
560
|
-
@stdlib/ndarray/base/ind2sub/lib/index.js:
|
|
561
|
-
@stdlib/ndarray/base/max-view-buffer-index/lib/main.js:
|
|
562
|
-
@stdlib/ndarray/base/max-view-buffer-index/lib/index.js:
|
|
563
|
-
@stdlib/ndarray/base/min-view-buffer-index/lib/main.js:
|
|
564
|
-
@stdlib/ndarray/base/min-view-buffer-index/lib/index.js:
|
|
565
|
-
@stdlib/ndarray/base/sub2ind/lib/main.js:
|
|
566
|
-
@stdlib/ndarray/base/sub2ind/lib/index.js:
|
|
567
|
-
@stdlib/ndarray/base/to-array/lib/recurse.js:
|
|
568
|
-
@stdlib/ndarray/base/to-array/lib/main.js:
|
|
569
|
-
@stdlib/ndarray/base/to-array/lib/index.js:
|
|
570
|
-
@stdlib/ndarray/base/lib/index.js:
|
|
571
|
-
@stdlib/assert/is-positive-integer/lib/primitive.js:
|
|
572
|
-
@stdlib/assert/is-positive-integer/lib/object.js:
|
|
573
|
-
@stdlib/assert/is-positive-integer/lib/main.js:
|
|
574
|
-
@stdlib/assert/is-positive-integer/lib/index.js:
|
|
575
|
-
@stdlib/assert/is-function-array/lib/index.js:
|
|
576
|
-
@stdlib/utils/eval/lib/index.js:
|
|
577
|
-
@stdlib/assert/has-proxy-support/lib/main.js:
|
|
578
|
-
@stdlib/assert/has-proxy-support/lib/index.js:
|
|
579
|
-
@stdlib/proxy/ctor/lib/main.js:
|
|
580
|
-
@stdlib/proxy/ctor/lib/polyfill.js:
|
|
581
|
-
@stdlib/proxy/ctor/lib/index.js:
|
|
582
|
-
@stdlib/utils/property-names/lib/has_builtin.js:
|
|
583
|
-
@stdlib/utils/property-names/lib/builtin.js:
|
|
584
|
-
@stdlib/utils/property-names/lib/polyfill.js:
|
|
585
|
-
@stdlib/utils/property-names/lib/index.js:
|
|
586
|
-
@stdlib/utils/properties-in/lib/main.js:
|
|
587
|
-
@stdlib/utils/properties-in/lib/index.js:
|
|
588
|
-
@stdlib/assert/is-error/lib/main.js:
|
|
589
|
-
@stdlib/assert/is-error/lib/index.js:
|
|
590
|
-
@stdlib/assert/is-range-error/lib/main.js:
|
|
591
|
-
@stdlib/assert/is-range-error/lib/index.js:
|
|
592
|
-
@stdlib/assert/is-type-error/lib/main.js:
|
|
593
|
-
@stdlib/assert/is-type-error/lib/index.js:
|
|
594
|
-
@stdlib/assert/is-syntax-error/lib/main.js:
|
|
595
|
-
@stdlib/assert/is-syntax-error/lib/index.js:
|
|
596
|
-
@stdlib/math/base/assert/is-negative-zero/lib/main.js:
|
|
597
|
-
@stdlib/math/base/assert/is-negative-zero/lib/index.js:
|
|
598
|
-
@stdlib/constants/float32/smallest-subnormal/lib/index.js:
|
|
599
|
-
@stdlib/constants/float32/max-safe-integer/lib/index.js:
|
|
600
|
-
@stdlib/constants/float32/min-safe-integer/lib/index.js:
|
|
601
|
-
@stdlib/ndarray/min-dtype/lib/index.js:
|
|
602
|
-
@stdlib/array/dtypes/lib/main.js:
|
|
603
|
-
@stdlib/assert/is-symbol/lib/primitive.js:
|
|
604
|
-
@stdlib/assert/is-symbol/lib/tostring.js:
|
|
605
|
-
@stdlib/assert/is-symbol/lib/try2tostring.js:
|
|
606
|
-
@stdlib/assert/is-symbol/lib/object.js:
|
|
607
|
-
@stdlib/assert/is-symbol/lib/generic.js:
|
|
608
|
-
@stdlib/assert/is-symbol/lib/main.js:
|
|
609
|
-
@stdlib/utils/constant-function/lib/main.js:
|
|
610
|
-
@stdlib/utils/constant-function/lib/index.js:
|
|
611
|
-
@stdlib/assert/is-symbol/lib/polyfill.js:
|
|
612
|
-
@stdlib/assert/is-symbol/lib/index.js:
|
|
613
|
-
@stdlib/ndarray/ind2sub/lib/validate.js:
|
|
614
|
-
@stdlib/ndarray/ind2sub/lib/main.js:
|
|
615
|
-
@stdlib/ndarray/ind2sub/lib/assign.js:
|
|
616
|
-
@stdlib/ndarray/ind2sub/lib/index.js:
|
|
617
|
-
@stdlib/assert/is-iterator-like/lib/main.js:
|
|
618
|
-
@stdlib/assert/is-iterator-like/lib/index.js:
|
|
619
|
-
@stdlib/ndarray/next-dtype/lib/main.js:
|
|
620
|
-
@stdlib/ndarray/next-dtype/lib/index.js:
|
|
621
|
-
@stdlib/ndarray/promotion-rules/lib/main.js:
|
|
622
|
-
@stdlib/ndarray/promotion-rules/lib/index.js:
|
|
623
|
-
@stdlib/ndarray/sub2ind/lib/validate.js:
|
|
624
|
-
@stdlib/ndarray/sub2ind/lib/main.js:
|
|
625
|
-
@stdlib/ndarray/sub2ind/lib/index.js:
|
|
626
|
-
@stdlib/ndarray/lib/index.js:
|
|
627
|
-
@stdlib/utils/try-require/lib/main.js:
|
|
628
|
-
@stdlib/utils/try-require/lib/index.js:
|
|
629
|
-
@stdlib/math/base/special/fast/max/lib/main.js:
|
|
630
|
-
@stdlib/math/base/special/fast/max/lib/index.js:
|
|
271
|
+
@stdlib/ndarray/base/bytes-per-element/lib/main.js:
|
|
272
|
+
@stdlib/ndarray/base/bytes-per-element/lib/index.js:
|
|
631
273
|
(**
|
|
632
274
|
* @license Apache-2.0
|
|
633
275
|
*
|
|
@@ -646,147 +288,23 @@
|
|
|
646
288
|
* limitations under the License.
|
|
647
289
|
*)
|
|
648
290
|
|
|
649
|
-
@stdlib/
|
|
650
|
-
@stdlib/
|
|
651
|
-
@stdlib/
|
|
652
|
-
@stdlib/
|
|
653
|
-
@stdlib/
|
|
654
|
-
@stdlib/
|
|
655
|
-
@stdlib/
|
|
656
|
-
@stdlib/
|
|
657
|
-
@stdlib/
|
|
658
|
-
@stdlib/
|
|
659
|
-
@stdlib/
|
|
660
|
-
@stdlib/
|
|
661
|
-
@stdlib/
|
|
662
|
-
@stdlib/boolean/ctor/lib/main.js:
|
|
663
|
-
@stdlib/boolean/ctor/lib/index.js:
|
|
664
|
-
@stdlib/utils/global/lib/global_this.js:
|
|
665
|
-
@stdlib/object/ctor/lib/main.js:
|
|
666
|
-
@stdlib/object/ctor/lib/index.js:
|
|
667
|
-
@stdlib/string/base/replace/lib/main.js:
|
|
668
|
-
@stdlib/string/base/replace/lib/index.js:
|
|
669
|
-
@stdlib/array/base/assert/is-accessor-array/lib/main.js:
|
|
670
|
-
@stdlib/array/base/assert/is-accessor-array/lib/index.js:
|
|
671
|
-
@stdlib/array/base/accessor-getter/lib/main.js:
|
|
672
|
-
@stdlib/array/base/accessor-getter/lib/index.js:
|
|
673
|
-
@stdlib/array/base/getter/lib/main.js:
|
|
674
|
-
@stdlib/array/base/getter/lib/index.js:
|
|
675
|
-
@stdlib/array/base/setter/lib/main.js:
|
|
676
|
-
@stdlib/array/base/setter/lib/index.js:
|
|
677
|
-
@stdlib/array/base/accessor-setter/lib/main.js:
|
|
678
|
-
@stdlib/array/base/accessor-setter/lib/index.js:
|
|
679
|
-
@stdlib/array/base/arraylike2object/lib/main.js:
|
|
680
|
-
@stdlib/array/base/arraylike2object/lib/index.js:
|
|
681
|
-
@stdlib/blas/ext/base/grev/lib/accessors.js:
|
|
682
|
-
@stdlib/complex/base/cast-return/lib/main.js:
|
|
683
|
-
@stdlib/complex/base/cast-return/lib/index.js:
|
|
684
|
-
@stdlib/complex/ctors/lib/ctors.js:
|
|
685
|
-
@stdlib/complex/ctors/lib/main.js:
|
|
686
|
-
@stdlib/complex/ctors/lib/index.js:
|
|
687
|
-
@stdlib/array/base/copy-indexed/lib/main.js:
|
|
688
|
-
@stdlib/array/base/copy-indexed/lib/index.js:
|
|
689
|
-
@stdlib/ndarray/base/assert/is-read-only/lib/main.js:
|
|
690
|
-
@stdlib/ndarray/base/assert/is-read-only/lib/index.js:
|
|
691
|
-
@stdlib/ndarray/base/ndarraylike2object/lib/main.js:
|
|
692
|
-
@stdlib/ndarray/base/ndarraylike2object/lib/index.js:
|
|
693
|
-
@stdlib/array/base/zero-to/lib/main.js:
|
|
694
|
-
@stdlib/array/base/zero-to/lib/index.js:
|
|
695
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/sort2ins.js:
|
|
696
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/main.js:
|
|
697
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/index.js:
|
|
698
|
-
@stdlib/ndarray/base/unary-tiling-block-size/lib/defaults.js:
|
|
699
|
-
@stdlib/ndarray/base/unary-tiling-block-size/lib/main.js:
|
|
700
|
-
@stdlib/ndarray/base/unary-tiling-block-size/lib/index.js:
|
|
701
|
-
@stdlib/array/zeros/lib/main.js:
|
|
702
|
-
@stdlib/array/zeros/lib/index.js:
|
|
703
|
-
@stdlib/ndarray/base/expand-dimensions/lib/main.js:
|
|
704
|
-
@stdlib/ndarray/base/expand-dimensions/lib/index.js:
|
|
705
|
-
@stdlib/ndarray/base/from-scalar/lib/main.js:
|
|
706
|
-
@stdlib/ndarray/base/from-scalar/lib/index.js:
|
|
707
|
-
@stdlib/ndarray/base/maybe-broadcast-array/lib/main.js:
|
|
708
|
-
@stdlib/ndarray/base/maybe-broadcast-array/lib/index.js:
|
|
709
|
-
@stdlib/ndarray/base/prepend-singleton-dimensions/lib/main.js:
|
|
710
|
-
@stdlib/ndarray/base/prepend-singleton-dimensions/lib/index.js:
|
|
711
|
-
@stdlib/ndarray/base/remove-singleton-dimensions/lib/main.js:
|
|
712
|
-
@stdlib/ndarray/base/remove-singleton-dimensions/lib/index.js:
|
|
713
|
-
@stdlib/ndarray/base/transpose/lib/main.js:
|
|
714
|
-
@stdlib/ndarray/base/transpose/lib/index.js:
|
|
715
|
-
@stdlib/ndarray/base/unary-by/lib/2d_blocked_accessors.js:
|
|
716
|
-
@stdlib/ndarray/base/unary-by/lib/3d_blocked_accessors.js:
|
|
717
|
-
@stdlib/ndarray/base/unary-by/lib/4d_blocked_accessors.js:
|
|
718
|
-
@stdlib/ndarray/base/unary-by/lib/5d_blocked_accessors.js:
|
|
719
|
-
@stdlib/ndarray/base/unary-by/lib/6d_blocked_accessors.js:
|
|
720
|
-
@stdlib/ndarray/base/unary-by/lib/7d_blocked_accessors.js:
|
|
721
|
-
@stdlib/ndarray/base/unary-by/lib/8d_blocked_accessors.js:
|
|
722
|
-
@stdlib/ndarray/base/unary-by/lib/9d_blocked_accessors.js:
|
|
723
|
-
@stdlib/ndarray/base/unary-by/lib/10d_blocked_accessors.js:
|
|
724
|
-
@stdlib/ndarray/base/unary-by/lib/2d_blocked.js:
|
|
725
|
-
@stdlib/ndarray/base/unary-by/lib/3d_blocked.js:
|
|
726
|
-
@stdlib/ndarray/base/unary-by/lib/4d_blocked.js:
|
|
727
|
-
@stdlib/ndarray/base/unary-by/lib/5d_blocked.js:
|
|
728
|
-
@stdlib/ndarray/base/unary-by/lib/6d_blocked.js:
|
|
729
|
-
@stdlib/ndarray/base/unary-by/lib/7d_blocked.js:
|
|
730
|
-
@stdlib/ndarray/base/unary-by/lib/8d_blocked.js:
|
|
731
|
-
@stdlib/ndarray/base/unary-by/lib/9d_blocked.js:
|
|
732
|
-
@stdlib/ndarray/base/unary-by/lib/10d_blocked.js:
|
|
733
|
-
@stdlib/ndarray/base/unary-by/lib/0d_accessors.js:
|
|
734
|
-
@stdlib/ndarray/base/unary-by/lib/1d_accessors.js:
|
|
735
|
-
@stdlib/ndarray/base/unary-by/lib/2d_accessors.js:
|
|
736
|
-
@stdlib/ndarray/base/unary-by/lib/3d_accessors.js:
|
|
737
|
-
@stdlib/ndarray/base/unary-by/lib/4d_accessors.js:
|
|
738
|
-
@stdlib/ndarray/base/unary-by/lib/5d_accessors.js:
|
|
739
|
-
@stdlib/ndarray/base/unary-by/lib/6d_accessors.js:
|
|
740
|
-
@stdlib/ndarray/base/unary-by/lib/7d_accessors.js:
|
|
741
|
-
@stdlib/ndarray/base/unary-by/lib/8d_accessors.js:
|
|
742
|
-
@stdlib/ndarray/base/unary-by/lib/9d_accessors.js:
|
|
743
|
-
@stdlib/ndarray/base/unary-by/lib/10d_accessors.js:
|
|
744
|
-
@stdlib/ndarray/base/unary-by/lib/nd_accessors.js:
|
|
745
|
-
@stdlib/ndarray/base/unary-by/lib/0d.js:
|
|
746
|
-
@stdlib/ndarray/base/unary-by/lib/1d.js:
|
|
747
|
-
@stdlib/ndarray/base/unary-by/lib/2d.js:
|
|
748
|
-
@stdlib/ndarray/base/unary-by/lib/3d.js:
|
|
749
|
-
@stdlib/ndarray/base/unary-by/lib/4d.js:
|
|
750
|
-
@stdlib/ndarray/base/unary-by/lib/5d.js:
|
|
751
|
-
@stdlib/ndarray/base/unary-by/lib/6d.js:
|
|
752
|
-
@stdlib/ndarray/base/unary-by/lib/7d.js:
|
|
753
|
-
@stdlib/ndarray/base/unary-by/lib/8d.js:
|
|
754
|
-
@stdlib/ndarray/base/unary-by/lib/9d.js:
|
|
755
|
-
@stdlib/ndarray/base/unary-by/lib/10d.js:
|
|
756
|
-
@stdlib/ndarray/base/unary-by/lib/nd.js:
|
|
757
|
-
@stdlib/ndarray/base/unary-by/lib/main.js:
|
|
758
|
-
@stdlib/ndarray/base/unary-by/lib/index.js:
|
|
759
|
-
@stdlib/ndarray/base/zeros/lib/main.js:
|
|
760
|
-
@stdlib/ndarray/base/zeros/lib/index.js:
|
|
761
|
-
@stdlib/ndarray/base/zeros-like/lib/main.js:
|
|
762
|
-
@stdlib/ndarray/base/zeros-like/lib/index.js:
|
|
763
|
-
@stdlib/string/base/trim/lib/has_builtin.js:
|
|
764
|
-
@stdlib/string/base/trim/lib/builtin.js:
|
|
765
|
-
@stdlib/string/base/trim/lib/check.js:
|
|
766
|
-
@stdlib/string/base/trim/lib/polyfill.js:
|
|
767
|
-
@stdlib/string/base/trim/lib/main.js:
|
|
768
|
-
@stdlib/string/base/trim/lib/index.js:
|
|
769
|
-
@stdlib/complex/dtype/lib/ctor2dtype.js:
|
|
770
|
-
@stdlib/complex/dtypes/lib/main.js:
|
|
771
|
-
@stdlib/complex/dtypes/lib/index.js:
|
|
772
|
-
@stdlib/complex/dtype/lib/dtypes.js:
|
|
773
|
-
@stdlib/complex/dtype/lib/ctors.js:
|
|
774
|
-
@stdlib/complex/dtype/lib/main.js:
|
|
775
|
-
@stdlib/complex/dtype/lib/index.js:
|
|
776
|
-
@stdlib/ndarray/from-scalar/lib/main.js:
|
|
777
|
-
@stdlib/ndarray/from-scalar/lib/index.js:
|
|
778
|
-
@stdlib/array/base/copy/lib/main.js:
|
|
779
|
-
@stdlib/array/base/copy/lib/index.js:
|
|
780
|
-
@stdlib/array/base/take/lib/main.js:
|
|
781
|
-
@stdlib/array/base/take/lib/index.js:
|
|
782
|
-
@stdlib/ndarray/zeros/lib/main.js:
|
|
783
|
-
@stdlib/ndarray/zeros/lib/index.js:
|
|
784
|
-
@stdlib/ndarray/zeros-like/lib/main.js:
|
|
785
|
-
@stdlib/ndarray/zeros-like/lib/index.js:
|
|
291
|
+
@stdlib/utils/define-property/lib/define_property.js:
|
|
292
|
+
@stdlib/utils/define-property/lib/has_define_property_support.js:
|
|
293
|
+
@stdlib/regexp/function-name/lib/main.js:
|
|
294
|
+
@stdlib/regexp/function-name/lib/index.js:
|
|
295
|
+
@stdlib/complex/float32/real/lib/main.js:
|
|
296
|
+
@stdlib/complex/float32/real/lib/index.js:
|
|
297
|
+
@stdlib/complex/float32/imag/lib/main.js:
|
|
298
|
+
@stdlib/complex/float32/imag/lib/index.js:
|
|
299
|
+
@stdlib/strided/base/reinterpret-complex64/lib/main.js:
|
|
300
|
+
@stdlib/strided/base/reinterpret-complex64/lib/index.js:
|
|
301
|
+
@stdlib/strided/base/reinterpret-complex128/lib/main.js:
|
|
302
|
+
@stdlib/strided/base/reinterpret-complex128/lib/index.js:
|
|
303
|
+
@stdlib/math/base/special/abs/lib/main.js:
|
|
786
304
|
(**
|
|
787
305
|
* @license Apache-2.0
|
|
788
306
|
*
|
|
789
|
-
* Copyright (c)
|
|
307
|
+
* Copyright (c) 2021 The Stdlib Authors.
|
|
790
308
|
*
|
|
791
309
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
792
310
|
* you may not use this file except in compliance with the License.
|
|
@@ -801,9 +319,6 @@
|
|
|
801
319
|
* limitations under the License.
|
|
802
320
|
*)
|
|
803
321
|
|
|
804
|
-
@stdlib/blas/base/layouts/lib/main.js:
|
|
805
|
-
@stdlib/blas/base/layouts/lib/enum.js:
|
|
806
|
-
@stdlib/blas/base/layouts/lib/index.js:
|
|
807
322
|
@stdlib/array/dtype/lib/ctor2dtype.js:
|
|
808
323
|
@stdlib/array/base/assert/is-complex64array/lib/main.js:
|
|
809
324
|
@stdlib/array/base/assert/is-complex64array/lib/index.js:
|
|
@@ -817,99 +332,9 @@
|
|
|
817
332
|
@stdlib/array/bool/lib/index.js:
|
|
818
333
|
@stdlib/array/dtype/lib/ctors.js:
|
|
819
334
|
@stdlib/array/dtype/lib/dtypes.js:
|
|
820
|
-
@stdlib/
|
|
821
|
-
@stdlib/
|
|
822
|
-
@stdlib/
|
|
823
|
-
@stdlib/ndarray/base/buffer-dtype/lib/ctor2dtype.js:
|
|
824
|
-
@stdlib/ndarray/base/buffer-dtype/lib/ctors.js:
|
|
825
|
-
@stdlib/ndarray/base/buffer-dtype/lib/dtypes.js:
|
|
826
|
-
@stdlib/ndarray/at/lib/main.js:
|
|
827
|
-
@stdlib/ndarray/at/lib/index.js:
|
|
828
|
-
@stdlib/array/base/assert/has-equal-values-indexed/lib/main.js:
|
|
829
|
-
@stdlib/array/base/assert/has-equal-values-indexed/lib/index.js:
|
|
830
|
-
@stdlib/ndarray/base/assert/has-equal-shape/lib/main.js:
|
|
831
|
-
@stdlib/ndarray/base/assert/has-equal-shape/lib/index.js:
|
|
832
|
-
@stdlib/ndarray/base/assert/is-boolean-data-type/lib/main.js:
|
|
833
|
-
@stdlib/ndarray/base/assert/is-boolean-data-type/lib/index.js:
|
|
834
|
-
@stdlib/array/base/zero-to/lib/assign.js:
|
|
835
|
-
@stdlib/array/typed-ctors/lib/ctors.js:
|
|
836
|
-
@stdlib/array/defaults/lib/main.js:
|
|
837
|
-
@stdlib/array/defaults/lib/get.js:
|
|
838
|
-
@stdlib/slice/base/int2slice/lib/error_out_of_bounds.js:
|
|
839
|
-
@stdlib/slice/base/int2slice/lib/main.js:
|
|
840
|
-
@stdlib/slice/base/int2slice/lib/index.js:
|
|
841
|
-
@stdlib/array/base/nulls/lib/main.js:
|
|
842
|
-
@stdlib/array/base/nulls/lib/index.js:
|
|
843
|
-
@stdlib/array/base/reverse/lib/main.js:
|
|
844
|
-
@stdlib/array/base/reverse/lib/index.js:
|
|
845
|
-
@stdlib/ndarray/base/for-each/lib/2d_blocked_accessors.js:
|
|
846
|
-
@stdlib/ndarray/base/for-each/lib/3d_blocked_accessors.js:
|
|
847
|
-
@stdlib/ndarray/base/for-each/lib/4d_blocked_accessors.js:
|
|
848
|
-
@stdlib/ndarray/base/for-each/lib/5d_blocked_accessors.js:
|
|
849
|
-
@stdlib/ndarray/base/for-each/lib/6d_blocked_accessors.js:
|
|
850
|
-
@stdlib/ndarray/base/for-each/lib/7d_blocked_accessors.js:
|
|
851
|
-
@stdlib/ndarray/base/for-each/lib/8d_blocked_accessors.js:
|
|
852
|
-
@stdlib/ndarray/base/for-each/lib/9d_blocked_accessors.js:
|
|
853
|
-
@stdlib/ndarray/base/for-each/lib/10d_blocked_accessors.js:
|
|
854
|
-
@stdlib/ndarray/base/for-each/lib/2d_blocked.js:
|
|
855
|
-
@stdlib/ndarray/base/for-each/lib/3d_blocked.js:
|
|
856
|
-
@stdlib/ndarray/base/for-each/lib/4d_blocked.js:
|
|
857
|
-
@stdlib/ndarray/base/for-each/lib/5d_blocked.js:
|
|
858
|
-
@stdlib/ndarray/base/for-each/lib/6d_blocked.js:
|
|
859
|
-
@stdlib/ndarray/base/for-each/lib/7d_blocked.js:
|
|
860
|
-
@stdlib/ndarray/base/for-each/lib/8d_blocked.js:
|
|
861
|
-
@stdlib/ndarray/base/for-each/lib/9d_blocked.js:
|
|
862
|
-
@stdlib/ndarray/base/for-each/lib/10d_blocked.js:
|
|
863
|
-
@stdlib/ndarray/base/for-each/lib/0d_accessors.js:
|
|
864
|
-
@stdlib/ndarray/base/for-each/lib/1d_accessors.js:
|
|
865
|
-
@stdlib/ndarray/base/for-each/lib/2d_accessors.js:
|
|
866
|
-
@stdlib/ndarray/base/for-each/lib/3d_accessors.js:
|
|
867
|
-
@stdlib/ndarray/base/for-each/lib/4d_accessors.js:
|
|
868
|
-
@stdlib/ndarray/base/for-each/lib/5d_accessors.js:
|
|
869
|
-
@stdlib/ndarray/base/for-each/lib/6d_accessors.js:
|
|
870
|
-
@stdlib/ndarray/base/for-each/lib/7d_accessors.js:
|
|
871
|
-
@stdlib/ndarray/base/for-each/lib/8d_accessors.js:
|
|
872
|
-
@stdlib/ndarray/base/for-each/lib/9d_accessors.js:
|
|
873
|
-
@stdlib/ndarray/base/for-each/lib/10d_accessors.js:
|
|
874
|
-
@stdlib/ndarray/base/for-each/lib/nd_accessors.js:
|
|
875
|
-
@stdlib/ndarray/base/for-each/lib/0d.js:
|
|
876
|
-
@stdlib/ndarray/base/for-each/lib/1d.js:
|
|
877
|
-
@stdlib/ndarray/base/for-each/lib/2d.js:
|
|
878
|
-
@stdlib/ndarray/base/for-each/lib/3d.js:
|
|
879
|
-
@stdlib/ndarray/base/for-each/lib/4d.js:
|
|
880
|
-
@stdlib/ndarray/base/for-each/lib/5d.js:
|
|
881
|
-
@stdlib/ndarray/base/for-each/lib/6d.js:
|
|
882
|
-
@stdlib/ndarray/base/for-each/lib/7d.js:
|
|
883
|
-
@stdlib/ndarray/base/for-each/lib/8d.js:
|
|
884
|
-
@stdlib/ndarray/base/for-each/lib/9d.js:
|
|
885
|
-
@stdlib/ndarray/base/for-each/lib/10d.js:
|
|
886
|
-
@stdlib/ndarray/base/for-each/lib/nd.js:
|
|
887
|
-
@stdlib/ndarray/base/for-each/lib/main.js:
|
|
888
|
-
@stdlib/ndarray/base/for-each/lib/index.js:
|
|
889
|
-
@stdlib/ndarray/base/ndarraylike2ndarray/lib/main.js:
|
|
890
|
-
@stdlib/ndarray/base/ndarraylike2ndarray/lib/index.js:
|
|
891
|
-
@stdlib/ndarray/min-dtype/lib/main.js:
|
|
892
|
-
@stdlib/array/dtypes/lib/index.js:
|
|
893
|
-
@stdlib/array/base/assert/is-complex-floating-point-data-type/lib/main.js:
|
|
894
|
-
@stdlib/array/base/assert/is-complex-floating-point-data-type/lib/index.js:
|
|
895
|
-
@stdlib/ndarray/iter/interleave-subarrays/lib/main.js:
|
|
896
|
-
@stdlib/ndarray/iter/interleave-subarrays/lib/index.js:
|
|
897
|
-
@stdlib/ndarray/iter/select-dimension/lib/main.js:
|
|
898
|
-
@stdlib/ndarray/iter/select-dimension/lib/index.js:
|
|
899
|
-
@stdlib/array/base/assert/is-boolean-data-type/lib/main.js:
|
|
900
|
-
@stdlib/array/base/assert/is-boolean-data-type/lib/index.js:
|
|
901
|
-
@stdlib/strided/base/reinterpret-complex/lib/main.js:
|
|
902
|
-
@stdlib/strided/base/reinterpret-complex/lib/index.js:
|
|
903
|
-
@stdlib/strided/base/reinterpret-boolean/lib/main.js:
|
|
904
|
-
@stdlib/strided/base/reinterpret-boolean/lib/index.js:
|
|
905
|
-
@stdlib/array/base/take/lib/assign.js:
|
|
906
|
-
@stdlib/array/base/put/lib/index.js:
|
|
907
|
-
@stdlib/ndarray/iter/stacks/lib/main.js:
|
|
908
|
-
@stdlib/ndarray/iter/stacks/lib/index.js:
|
|
909
|
-
@stdlib/ndarray/iter/subarrays/lib/main.js:
|
|
910
|
-
@stdlib/ndarray/iter/subarrays/lib/index.js:
|
|
911
|
-
@stdlib/ndarray/ndarraylike2ndarray/lib/main.js:
|
|
912
|
-
@stdlib/ndarray/ndarraylike2ndarray/lib/index.js:
|
|
335
|
+
@stdlib/blas/base/layouts/lib/main.js:
|
|
336
|
+
@stdlib/blas/base/layouts/lib/enum.js:
|
|
337
|
+
@stdlib/blas/base/layouts/lib/index.js:
|
|
913
338
|
@stdlib/blas/base/assert/is-layout/lib/main.js:
|
|
914
339
|
@stdlib/blas/base/assert/is-layout/lib/index.js:
|
|
915
340
|
@stdlib/blas/base/transpose-operations/lib/main.js:
|
|
@@ -945,357 +370,6 @@
|
|
|
945
370
|
@stdlib/array/base/assert/contains/lib/main.js:
|
|
946
371
|
@stdlib/array/base/assert/contains/lib/factory.js:
|
|
947
372
|
@stdlib/array/base/assert/contains/lib/index.js:
|
|
948
|
-
@stdlib/ndarray/defaults/lib/index.js:
|
|
949
|
-
@stdlib/ndarray/base/normalize-index/lib/main.js:
|
|
950
|
-
@stdlib/ndarray/base/normalize-index/lib/index.js:
|
|
951
|
-
@stdlib/ndarray/base/ind/lib/factory.js:
|
|
952
|
-
@stdlib/ndarray/mostly-safe-casts/lib/main.js:
|
|
953
|
-
@stdlib/ndarray/mostly-safe-casts/lib/index.js:
|
|
954
|
-
@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/main.js:
|
|
955
|
-
@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/index.js:
|
|
956
|
-
@stdlib/ndarray/dtype/lib/main.js:
|
|
957
|
-
@stdlib/ndarray/dtype/lib/index.js:
|
|
958
|
-
@stdlib/ndarray/shape/lib/main.js:
|
|
959
|
-
@stdlib/ndarray/shape/lib/index.js:
|
|
960
|
-
@stdlib/ndarray/strides/lib/main.js:
|
|
961
|
-
@stdlib/ndarray/strides/lib/index.js:
|
|
962
|
-
@stdlib/ndarray/offset/lib/main.js:
|
|
963
|
-
@stdlib/ndarray/offset/lib/index.js:
|
|
964
|
-
@stdlib/ndarray/ndims/lib/main.js:
|
|
965
|
-
@stdlib/ndarray/ndims/lib/index.js:
|
|
966
|
-
@stdlib/ndarray/order/lib/main.js:
|
|
967
|
-
@stdlib/ndarray/order/lib/index.js:
|
|
968
|
-
@stdlib/ndarray/data-buffer/lib/main.js:
|
|
969
|
-
@stdlib/ndarray/data-buffer/lib/index.js:
|
|
970
|
-
@stdlib/array/base/flatten/lib/assign.js:
|
|
971
|
-
@stdlib/array/base/flatten/lib/main.js:
|
|
972
|
-
@stdlib/array/base/flatten/lib/index.js:
|
|
973
|
-
@stdlib/ndarray/array/lib/defaults.js:
|
|
974
|
-
@stdlib/ndarray/base/shape/lib/main.js:
|
|
975
|
-
@stdlib/ndarray/base/shape/lib/index.js:
|
|
976
|
-
@stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/main.js:
|
|
977
|
-
@stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/index.js:
|
|
978
|
-
@stdlib/ndarray/base/assert/is-floating-point-data-type/lib/main.js:
|
|
979
|
-
@stdlib/ndarray/base/assert/is-floating-point-data-type/lib/index.js:
|
|
980
|
-
@stdlib/ndarray/base/assert/is-integer-data-type/lib/main.js:
|
|
981
|
-
@stdlib/ndarray/base/assert/is-integer-data-type/lib/index.js:
|
|
982
|
-
@stdlib/ndarray/base/assert/is-numeric-data-type/lib/main.js:
|
|
983
|
-
@stdlib/ndarray/base/assert/is-numeric-data-type/lib/index.js:
|
|
984
|
-
@stdlib/object/assign/lib/has_object_assign.js:
|
|
985
|
-
@stdlib/object/assign/lib/builtin.js:
|
|
986
|
-
@stdlib/object/assign/lib/polyfill.js:
|
|
987
|
-
@stdlib/object/assign/lib/index.js:
|
|
988
|
-
@stdlib/ndarray/base/flags/lib/main.js:
|
|
989
|
-
@stdlib/ndarray/base/flags/lib/index.js:
|
|
990
|
-
@stdlib/ndarray/base/flag/lib/main.js:
|
|
991
|
-
@stdlib/ndarray/base/flag/lib/index.js:
|
|
992
|
-
@stdlib/ndarray/base/assert/is-real-data-type/lib/main.js:
|
|
993
|
-
@stdlib/ndarray/base/assert/is-real-data-type/lib/index.js:
|
|
994
|
-
@stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/main.js:
|
|
995
|
-
@stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/index.js:
|
|
996
|
-
@stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/main.js:
|
|
997
|
-
@stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/index.js:
|
|
998
|
-
@stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/main.js:
|
|
999
|
-
@stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/index.js:
|
|
1000
|
-
@stdlib/ndarray/base/dtype/lib/main.js:
|
|
1001
|
-
@stdlib/ndarray/base/dtype/lib/index.js:
|
|
1002
|
-
@stdlib/ndarray/base/strides/lib/main.js:
|
|
1003
|
-
@stdlib/ndarray/base/strides/lib/index.js:
|
|
1004
|
-
@stdlib/ndarray/base/offset/lib/main.js:
|
|
1005
|
-
@stdlib/ndarray/base/offset/lib/index.js:
|
|
1006
|
-
@stdlib/ndarray/base/order/lib/main.js:
|
|
1007
|
-
@stdlib/ndarray/base/order/lib/index.js:
|
|
1008
|
-
@stdlib/ndarray/base/data-buffer/lib/main.js:
|
|
1009
|
-
@stdlib/ndarray/base/data-buffer/lib/index.js:
|
|
1010
|
-
@stdlib/array/base/take-indexed/lib/main.js:
|
|
1011
|
-
@stdlib/array/base/take-indexed/lib/index.js:
|
|
1012
|
-
@stdlib/ndarray/base/assign/lib/2d_blocked_accessors.js:
|
|
1013
|
-
@stdlib/ndarray/base/assign/lib/3d_blocked_accessors.js:
|
|
1014
|
-
@stdlib/ndarray/base/assign/lib/4d_blocked_accessors.js:
|
|
1015
|
-
@stdlib/ndarray/base/assign/lib/5d_blocked_accessors.js:
|
|
1016
|
-
@stdlib/ndarray/base/assign/lib/6d_blocked_accessors.js:
|
|
1017
|
-
@stdlib/ndarray/base/assign/lib/7d_blocked_accessors.js:
|
|
1018
|
-
@stdlib/ndarray/base/assign/lib/8d_blocked_accessors.js:
|
|
1019
|
-
@stdlib/ndarray/base/assign/lib/9d_blocked_accessors.js:
|
|
1020
|
-
@stdlib/ndarray/base/assign/lib/10d_blocked_accessors.js:
|
|
1021
|
-
@stdlib/ndarray/base/assign/lib/2d_blocked.js:
|
|
1022
|
-
@stdlib/ndarray/base/assign/lib/3d_blocked.js:
|
|
1023
|
-
@stdlib/ndarray/base/assign/lib/4d_blocked.js:
|
|
1024
|
-
@stdlib/ndarray/base/assign/lib/5d_blocked.js:
|
|
1025
|
-
@stdlib/ndarray/base/assign/lib/6d_blocked.js:
|
|
1026
|
-
@stdlib/ndarray/base/assign/lib/7d_blocked.js:
|
|
1027
|
-
@stdlib/ndarray/base/assign/lib/8d_blocked.js:
|
|
1028
|
-
@stdlib/ndarray/base/assign/lib/9d_blocked.js:
|
|
1029
|
-
@stdlib/ndarray/base/assign/lib/10d_blocked.js:
|
|
1030
|
-
@stdlib/ndarray/base/assign/lib/0d_accessors.js:
|
|
1031
|
-
@stdlib/ndarray/base/assign/lib/1d_accessors.js:
|
|
1032
|
-
@stdlib/ndarray/base/assign/lib/2d_accessors.js:
|
|
1033
|
-
@stdlib/ndarray/base/assign/lib/3d_accessors.js:
|
|
1034
|
-
@stdlib/ndarray/base/assign/lib/4d_accessors.js:
|
|
1035
|
-
@stdlib/ndarray/base/assign/lib/5d_accessors.js:
|
|
1036
|
-
@stdlib/ndarray/base/assign/lib/6d_accessors.js:
|
|
1037
|
-
@stdlib/ndarray/base/assign/lib/7d_accessors.js:
|
|
1038
|
-
@stdlib/ndarray/base/assign/lib/8d_accessors.js:
|
|
1039
|
-
@stdlib/ndarray/base/assign/lib/9d_accessors.js:
|
|
1040
|
-
@stdlib/ndarray/base/assign/lib/10d_accessors.js:
|
|
1041
|
-
@stdlib/ndarray/base/assign/lib/nd_accessors.js:
|
|
1042
|
-
@stdlib/ndarray/base/assign/lib/0d.js:
|
|
1043
|
-
@stdlib/ndarray/base/assign/lib/1d.js:
|
|
1044
|
-
@stdlib/ndarray/base/assign/lib/2d.js:
|
|
1045
|
-
@stdlib/ndarray/base/assign/lib/3d.js:
|
|
1046
|
-
@stdlib/ndarray/base/assign/lib/4d.js:
|
|
1047
|
-
@stdlib/ndarray/base/assign/lib/5d.js:
|
|
1048
|
-
@stdlib/ndarray/base/assign/lib/6d.js:
|
|
1049
|
-
@stdlib/ndarray/base/assign/lib/7d.js:
|
|
1050
|
-
@stdlib/ndarray/base/assign/lib/8d.js:
|
|
1051
|
-
@stdlib/ndarray/base/assign/lib/9d.js:
|
|
1052
|
-
@stdlib/ndarray/base/assign/lib/10d.js:
|
|
1053
|
-
@stdlib/ndarray/base/assign/lib/nd.js:
|
|
1054
|
-
@stdlib/ndarray/base/assign/lib/main.js:
|
|
1055
|
-
@stdlib/ndarray/base/assign/lib/index.js:
|
|
1056
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/sort2ins.js:
|
|
1057
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/main.js:
|
|
1058
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/index.js:
|
|
1059
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/defaults.js:
|
|
1060
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/main.js:
|
|
1061
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/index.js:
|
|
1062
|
-
@stdlib/ndarray/base/broadcast-arrays/lib/main.js:
|
|
1063
|
-
@stdlib/ndarray/base/broadcast-arrays/lib/index.js:
|
|
1064
|
-
@stdlib/ndarray/base/broadcast-scalar/lib/main.js:
|
|
1065
|
-
@stdlib/ndarray/base/broadcast-scalar/lib/index.js:
|
|
1066
|
-
@stdlib/array/empty/lib/is_buffer_uint8array.js:
|
|
1067
|
-
@stdlib/array/defaults/lib/index.js:
|
|
1068
|
-
@stdlib/array/empty/lib/main.js:
|
|
1069
|
-
@stdlib/array/empty/lib/polyfill.js:
|
|
1070
|
-
@stdlib/array/empty/lib/index.js:
|
|
1071
|
-
@stdlib/ndarray/base/empty/lib/main.js:
|
|
1072
|
-
@stdlib/ndarray/base/empty/lib/index.js:
|
|
1073
|
-
@stdlib/ndarray/base/empty-like/lib/main.js:
|
|
1074
|
-
@stdlib/ndarray/base/empty-like/lib/index.js:
|
|
1075
|
-
@stdlib/slice/ctor/lib/main.js:
|
|
1076
|
-
@stdlib/slice/ctor/lib/index.js:
|
|
1077
|
-
@stdlib/assert/is-slice/lib/main.js:
|
|
1078
|
-
@stdlib/assert/is-slice/lib/index.js:
|
|
1079
|
-
@stdlib/slice/multi/lib/main.js:
|
|
1080
|
-
@stdlib/slice/multi/lib/index.js:
|
|
1081
|
-
@stdlib/slice/base/args2multislice/lib/main.js:
|
|
1082
|
-
@stdlib/slice/base/args2multislice/lib/index.js:
|
|
1083
|
-
@stdlib/slice/base/normalize-slice/lib/error_out_of_bounds.js:
|
|
1084
|
-
@stdlib/slice/base/normalize-slice/lib/main.js:
|
|
1085
|
-
@stdlib/slice/base/normalize-slice/lib/index.js:
|
|
1086
|
-
@stdlib/slice/base/normalize-multi-slice/lib/main.js:
|
|
1087
|
-
@stdlib/slice/base/normalize-multi-slice/lib/index.js:
|
|
1088
|
-
@stdlib/slice/base/nonreduced-dimensions/lib/main.js:
|
|
1089
|
-
@stdlib/slice/base/nonreduced-dimensions/lib/index.js:
|
|
1090
|
-
@stdlib/slice/base/length/lib/main.js:
|
|
1091
|
-
@stdlib/slice/base/length/lib/index.js:
|
|
1092
|
-
@stdlib/slice/base/shape/lib/main.js:
|
|
1093
|
-
@stdlib/slice/base/shape/lib/index.js:
|
|
1094
|
-
@stdlib/ndarray/base/slice/lib/slice_start.js:
|
|
1095
|
-
@stdlib/ndarray/base/slice/lib/slice_strides.js:
|
|
1096
|
-
@stdlib/ndarray/base/slice/lib/empty.js:
|
|
1097
|
-
@stdlib/ndarray/base/slice/lib/main.js:
|
|
1098
|
-
@stdlib/ndarray/base/slice/lib/index.js:
|
|
1099
|
-
@stdlib/ndarray/base/ndims/lib/main.js:
|
|
1100
|
-
@stdlib/ndarray/base/ndims/lib/index.js:
|
|
1101
|
-
@stdlib/ndarray/base/reverse-dimension/lib/main.js:
|
|
1102
|
-
@stdlib/ndarray/base/reverse-dimension/lib/index.js:
|
|
1103
|
-
@stdlib/ndarray/base/fliplr/lib/main.js:
|
|
1104
|
-
@stdlib/ndarray/base/fliplr/lib/index.js:
|
|
1105
|
-
@stdlib/ndarray/base/flipud/lib/main.js:
|
|
1106
|
-
@stdlib/ndarray/base/flipud/lib/index.js:
|
|
1107
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/sort2ins.js:
|
|
1108
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/main.js:
|
|
1109
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/index.js:
|
|
1110
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/defaults.js:
|
|
1111
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/main.js:
|
|
1112
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/index.js:
|
|
1113
|
-
@stdlib/ndarray/base/maybe-broadcast-arrays/lib/main.js:
|
|
1114
|
-
@stdlib/ndarray/base/maybe-broadcast-arrays/lib/index.js:
|
|
1115
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/assign.js:
|
|
1116
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/main.js:
|
|
1117
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/index.js:
|
|
1118
|
-
@stdlib/ndarray/base/nullary/lib/2d_blocked_accessors.js:
|
|
1119
|
-
@stdlib/ndarray/base/nullary/lib/3d_blocked_accessors.js:
|
|
1120
|
-
@stdlib/ndarray/base/nullary/lib/4d_blocked_accessors.js:
|
|
1121
|
-
@stdlib/ndarray/base/nullary/lib/5d_blocked_accessors.js:
|
|
1122
|
-
@stdlib/ndarray/base/nullary/lib/6d_blocked_accessors.js:
|
|
1123
|
-
@stdlib/ndarray/base/nullary/lib/7d_blocked_accessors.js:
|
|
1124
|
-
@stdlib/ndarray/base/nullary/lib/8d_blocked_accessors.js:
|
|
1125
|
-
@stdlib/ndarray/base/nullary/lib/9d_blocked_accessors.js:
|
|
1126
|
-
@stdlib/ndarray/base/nullary/lib/10d_blocked_accessors.js:
|
|
1127
|
-
@stdlib/ndarray/base/nullary/lib/2d_blocked.js:
|
|
1128
|
-
@stdlib/ndarray/base/nullary/lib/3d_blocked.js:
|
|
1129
|
-
@stdlib/ndarray/base/nullary/lib/4d_blocked.js:
|
|
1130
|
-
@stdlib/ndarray/base/nullary/lib/5d_blocked.js:
|
|
1131
|
-
@stdlib/ndarray/base/nullary/lib/6d_blocked.js:
|
|
1132
|
-
@stdlib/ndarray/base/nullary/lib/7d_blocked.js:
|
|
1133
|
-
@stdlib/ndarray/base/nullary/lib/8d_blocked.js:
|
|
1134
|
-
@stdlib/ndarray/base/nullary/lib/9d_blocked.js:
|
|
1135
|
-
@stdlib/ndarray/base/nullary/lib/10d_blocked.js:
|
|
1136
|
-
@stdlib/ndarray/base/nullary/lib/0d_accessors.js:
|
|
1137
|
-
@stdlib/ndarray/base/nullary/lib/1d_accessors.js:
|
|
1138
|
-
@stdlib/ndarray/base/nullary/lib/2d_accessors.js:
|
|
1139
|
-
@stdlib/ndarray/base/nullary/lib/3d_accessors.js:
|
|
1140
|
-
@stdlib/ndarray/base/nullary/lib/4d_accessors.js:
|
|
1141
|
-
@stdlib/ndarray/base/nullary/lib/5d_accessors.js:
|
|
1142
|
-
@stdlib/ndarray/base/nullary/lib/6d_accessors.js:
|
|
1143
|
-
@stdlib/ndarray/base/nullary/lib/7d_accessors.js:
|
|
1144
|
-
@stdlib/ndarray/base/nullary/lib/8d_accessors.js:
|
|
1145
|
-
@stdlib/ndarray/base/nullary/lib/9d_accessors.js:
|
|
1146
|
-
@stdlib/ndarray/base/nullary/lib/10d_accessors.js:
|
|
1147
|
-
@stdlib/ndarray/base/nullary/lib/nd_accessors.js:
|
|
1148
|
-
@stdlib/ndarray/base/nullary/lib/0d.js:
|
|
1149
|
-
@stdlib/ndarray/base/nullary/lib/1d.js:
|
|
1150
|
-
@stdlib/ndarray/base/nullary/lib/2d.js:
|
|
1151
|
-
@stdlib/ndarray/base/nullary/lib/3d.js:
|
|
1152
|
-
@stdlib/ndarray/base/nullary/lib/4d.js:
|
|
1153
|
-
@stdlib/ndarray/base/nullary/lib/5d.js:
|
|
1154
|
-
@stdlib/ndarray/base/nullary/lib/6d.js:
|
|
1155
|
-
@stdlib/ndarray/base/nullary/lib/7d.js:
|
|
1156
|
-
@stdlib/ndarray/base/nullary/lib/8d.js:
|
|
1157
|
-
@stdlib/ndarray/base/nullary/lib/9d.js:
|
|
1158
|
-
@stdlib/ndarray/base/nullary/lib/10d.js:
|
|
1159
|
-
@stdlib/ndarray/base/nullary/lib/nd.js:
|
|
1160
|
-
@stdlib/ndarray/base/nullary/lib/main.js:
|
|
1161
|
-
@stdlib/ndarray/base/nullary/lib/index.js:
|
|
1162
|
-
@stdlib/ndarray/base/numel-dimension/lib/main.js:
|
|
1163
|
-
@stdlib/ndarray/base/numel-dimension/lib/index.js:
|
|
1164
|
-
@stdlib/ndarray/output-dtype-policies/lib/main.js:
|
|
1165
|
-
@stdlib/ndarray/output-dtype-policies/lib/enum.js:
|
|
1166
|
-
@stdlib/ndarray/output-dtype-policies/lib/assign.js:
|
|
1167
|
-
@stdlib/ndarray/output-dtype-policies/lib/index.js:
|
|
1168
|
-
@stdlib/ndarray/base/output-policy-enum2str/lib/main.js:
|
|
1169
|
-
@stdlib/ndarray/base/output-policy-enum2str/lib/index.js:
|
|
1170
|
-
@stdlib/ndarray/base/output-policy-str2enum/lib/main.js:
|
|
1171
|
-
@stdlib/ndarray/base/output-policy-str2enum/lib/index.js:
|
|
1172
|
-
@stdlib/ndarray/base/output-policy-resolve-enum/lib/main.js:
|
|
1173
|
-
@stdlib/ndarray/base/output-policy-resolve-enum/lib/index.js:
|
|
1174
|
-
@stdlib/ndarray/base/output-policy-resolve-str/lib/main.js:
|
|
1175
|
-
@stdlib/ndarray/base/output-policy-resolve-str/lib/index.js:
|
|
1176
|
-
@stdlib/ndarray/base/reverse/lib/main.js:
|
|
1177
|
-
@stdlib/ndarray/base/reverse/lib/index.js:
|
|
1178
|
-
@stdlib/ndarray/base/slice-assign/lib/main.js:
|
|
1179
|
-
@stdlib/ndarray/base/slice-assign/lib/index.js:
|
|
1180
|
-
@stdlib/ndarray/base/slice-dimension/lib/main.js:
|
|
1181
|
-
@stdlib/ndarray/base/slice-dimension/lib/index.js:
|
|
1182
|
-
@stdlib/ndarray/base/slice-dimension-from/lib/main.js:
|
|
1183
|
-
@stdlib/ndarray/base/slice-dimension-from/lib/index.js:
|
|
1184
|
-
@stdlib/ndarray/base/slice-dimension-to/lib/main.js:
|
|
1185
|
-
@stdlib/ndarray/base/slice-dimension-to/lib/index.js:
|
|
1186
|
-
@stdlib/ndarray/base/slice-from/lib/main.js:
|
|
1187
|
-
@stdlib/ndarray/base/slice-from/lib/index.js:
|
|
1188
|
-
@stdlib/ndarray/base/slice-to/lib/main.js:
|
|
1189
|
-
@stdlib/ndarray/base/slice-to/lib/index.js:
|
|
1190
|
-
@stdlib/ndarray/base/stride/lib/main.js:
|
|
1191
|
-
@stdlib/ndarray/base/stride/lib/index.js:
|
|
1192
|
-
@stdlib/ndarray/base/unary-output-dtype/lib/main.js:
|
|
1193
|
-
@stdlib/ndarray/base/unary-output-dtype/lib/index.js:
|
|
1194
|
-
@stdlib/ndarray/broadcast-array/lib/main.js:
|
|
1195
|
-
@stdlib/ndarray/broadcast-array/lib/index.js:
|
|
1196
|
-
@stdlib/ndarray/broadcast-arrays/lib/main.js:
|
|
1197
|
-
@stdlib/ndarray/broadcast-arrays/lib/index.js:
|
|
1198
|
-
@stdlib/ndarray/empty/lib/main.js:
|
|
1199
|
-
@stdlib/ndarray/empty/lib/index.js:
|
|
1200
|
-
@stdlib/ndarray/empty-like/lib/main.js:
|
|
1201
|
-
@stdlib/ndarray/empty-like/lib/index.js:
|
|
1202
|
-
@stdlib/slice/base/str2slice/lib/main.js:
|
|
1203
|
-
@stdlib/slice/base/str2slice/lib/index.js:
|
|
1204
|
-
@stdlib/slice/base/str2multislice/lib/main.js:
|
|
1205
|
-
@stdlib/slice/base/str2multislice/lib/index.js:
|
|
1206
|
-
@stdlib/slice/base/seq2slice/lib/re_end_minus.js:
|
|
1207
|
-
@stdlib/slice/base/seq2slice/lib/re_end_divide.js:
|
|
1208
|
-
@stdlib/slice/base/seq2slice/lib/resolve_end.js:
|
|
1209
|
-
@stdlib/slice/base/seq2slice/lib/re_colon_sep.js:
|
|
1210
|
-
@stdlib/slice/base/seq2slice/lib/re_integer.js:
|
|
1211
|
-
@stdlib/slice/base/seq2slice/lib/re_end.js:
|
|
1212
|
-
@stdlib/slice/base/seq2slice/lib/error_invalid_subsequence.js:
|
|
1213
|
-
@stdlib/slice/base/seq2slice/lib/error_out_of_bounds.js:
|
|
1214
|
-
@stdlib/slice/base/seq2slice/lib/error_invalid_increment.js:
|
|
1215
|
-
@stdlib/slice/base/seq2slice/lib/main.js:
|
|
1216
|
-
@stdlib/slice/base/seq2slice/lib/index.js:
|
|
1217
|
-
@stdlib/slice/base/seq2multislice/lib/error_invalid_ellipsis.js:
|
|
1218
|
-
@stdlib/slice/base/seq2multislice/lib/error_insufficient_dimensions.js:
|
|
1219
|
-
@stdlib/slice/base/seq2multislice/lib/error_too_many_dimensions.js:
|
|
1220
|
-
@stdlib/slice/base/seq2multislice/lib/error_out_of_bounds.js:
|
|
1221
|
-
@stdlib/slice/base/seq2multislice/lib/re_subseq_sep.js:
|
|
1222
|
-
@stdlib/slice/base/seq2multislice/lib/re_integer.js:
|
|
1223
|
-
@stdlib/slice/base/seq2multislice/lib/main.js:
|
|
1224
|
-
@stdlib/slice/base/seq2multislice/lib/index.js:
|
|
1225
|
-
@stdlib/ndarray/fancy/lib/re_integer.js:
|
|
1226
|
-
@stdlib/ndarray/fancy/lib/re_subseq.js:
|
|
1227
|
-
@stdlib/ndarray/fancy/lib/prop2slice.0d.js:
|
|
1228
|
-
@stdlib/ndarray/fancy/lib/prop2slice.1d.js:
|
|
1229
|
-
@stdlib/slice/base/sargs2multislice/lib/main.js:
|
|
1230
|
-
@stdlib/slice/base/sargs2multislice/lib/index.js:
|
|
1231
|
-
@stdlib/ndarray/fancy/lib/prop2slice.nd.js:
|
|
1232
|
-
@stdlib/ndarray/fancy/lib/has_property.js:
|
|
1233
|
-
@stdlib/ndarray/fancy/lib/get_value.js:
|
|
1234
|
-
@stdlib/ndarray/fancy/lib/error_message.js:
|
|
1235
|
-
@stdlib/ndarray/fancy/lib/error_constructor.js:
|
|
1236
|
-
@stdlib/ndarray/fancy/lib/get_slice.js:
|
|
1237
|
-
@stdlib/ndarray/fancy/lib/get.js:
|
|
1238
|
-
@stdlib/ndarray/fancy/lib/set_value.js:
|
|
1239
|
-
@stdlib/ndarray/fancy/lib/set_slice.js:
|
|
1240
|
-
@stdlib/ndarray/fancy/lib/set.js:
|
|
1241
|
-
@stdlib/ndarray/fancy/lib/main.js:
|
|
1242
|
-
@stdlib/ndarray/fancy/lib/index.js:
|
|
1243
|
-
@stdlib/ndarray/flag/lib/main.js:
|
|
1244
|
-
@stdlib/ndarray/flag/lib/index.js:
|
|
1245
|
-
@stdlib/ndarray/flags/lib/main.js:
|
|
1246
|
-
@stdlib/ndarray/flags/lib/index.js:
|
|
1247
|
-
@stdlib/ndarray/iter/column-entries/lib/main.js:
|
|
1248
|
-
@stdlib/ndarray/iter/column-entries/lib/index.js:
|
|
1249
|
-
@stdlib/ndarray/iter/columns/lib/main.js:
|
|
1250
|
-
@stdlib/ndarray/iter/columns/lib/index.js:
|
|
1251
|
-
@stdlib/ndarray/iter/entries/lib/main.js:
|
|
1252
|
-
@stdlib/ndarray/iter/entries/lib/index.js:
|
|
1253
|
-
@stdlib/ndarray/iter/indices/lib/main.js:
|
|
1254
|
-
@stdlib/ndarray/iter/indices/lib/index.js:
|
|
1255
|
-
@stdlib/ndarray/maybe-broadcast-array/lib/main.js:
|
|
1256
|
-
@stdlib/ndarray/maybe-broadcast-array/lib/index.js:
|
|
1257
|
-
@stdlib/ndarray/maybe-broadcast-arrays/lib/main.js:
|
|
1258
|
-
@stdlib/ndarray/maybe-broadcast-arrays/lib/index.js:
|
|
1259
|
-
@stdlib/ndarray/iter/matrices/lib/main.js:
|
|
1260
|
-
@stdlib/ndarray/iter/matrices/lib/index.js:
|
|
1261
|
-
@stdlib/ndarray/iter/matrix-entries/lib/main.js:
|
|
1262
|
-
@stdlib/ndarray/iter/matrix-entries/lib/index.js:
|
|
1263
|
-
@stdlib/ndarray/iter/row-entries/lib/main.js:
|
|
1264
|
-
@stdlib/ndarray/iter/row-entries/lib/index.js:
|
|
1265
|
-
@stdlib/ndarray/iter/rows/lib/main.js:
|
|
1266
|
-
@stdlib/ndarray/iter/rows/lib/index.js:
|
|
1267
|
-
@stdlib/array/base/resolve-getter/lib/main.js:
|
|
1268
|
-
@stdlib/array/base/resolve-getter/lib/index.js:
|
|
1269
|
-
@stdlib/array/base/put/lib/main.js:
|
|
1270
|
-
@stdlib/ndarray/to-array/lib/main.js:
|
|
1271
|
-
@stdlib/ndarray/to-array/lib/index.js:
|
|
1272
|
-
@stdlib/ndarray/iter/to-array-each/lib/main.js:
|
|
1273
|
-
@stdlib/ndarray/iter/to-array-each/lib/index.js:
|
|
1274
|
-
@stdlib/ndarray/iter/values/lib/main.js:
|
|
1275
|
-
@stdlib/ndarray/iter/values/lib/index.js:
|
|
1276
|
-
@stdlib/ndarray/iter/lib/index.js:
|
|
1277
|
-
@stdlib/ndarray/numel/lib/main.js:
|
|
1278
|
-
@stdlib/ndarray/numel/lib/index.js:
|
|
1279
|
-
@stdlib/ndarray/numel-dimension/lib/main.js:
|
|
1280
|
-
@stdlib/ndarray/numel-dimension/lib/index.js:
|
|
1281
|
-
@stdlib/assert/is-multi-slice/lib/main.js:
|
|
1282
|
-
@stdlib/assert/is-multi-slice/lib/index.js:
|
|
1283
|
-
@stdlib/ndarray/slice/lib/main.js:
|
|
1284
|
-
@stdlib/ndarray/slice/lib/index.js:
|
|
1285
|
-
@stdlib/ndarray/slice-assign/lib/main.js:
|
|
1286
|
-
@stdlib/ndarray/slice-assign/lib/index.js:
|
|
1287
|
-
@stdlib/ndarray/slice-dimension/lib/main.js:
|
|
1288
|
-
@stdlib/ndarray/slice-dimension/lib/index.js:
|
|
1289
|
-
@stdlib/ndarray/slice-dimension-from/lib/main.js:
|
|
1290
|
-
@stdlib/ndarray/slice-dimension-from/lib/index.js:
|
|
1291
|
-
@stdlib/ndarray/slice-dimension-to/lib/main.js:
|
|
1292
|
-
@stdlib/ndarray/slice-dimension-to/lib/index.js:
|
|
1293
|
-
@stdlib/ndarray/slice-from/lib/main.js:
|
|
1294
|
-
@stdlib/ndarray/slice-from/lib/index.js:
|
|
1295
|
-
@stdlib/ndarray/slice-to/lib/main.js:
|
|
1296
|
-
@stdlib/ndarray/slice-to/lib/index.js:
|
|
1297
|
-
@stdlib/ndarray/stride/lib/main.js:
|
|
1298
|
-
@stdlib/ndarray/stride/lib/index.js:
|
|
1299
373
|
(**
|
|
1300
374
|
* @license Apache-2.0
|
|
1301
375
|
*
|
|
@@ -1314,33 +388,6 @@
|
|
|
1314
388
|
* limitations under the License.
|
|
1315
389
|
*)
|
|
1316
390
|
|
|
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
391
|
@stdlib/blas/base/ddot/lib/ndarray.js:
|
|
1345
392
|
@stdlib/blas/base/ddot/lib/ddot.js:
|
|
1346
393
|
@stdlib/blas/base/ddot/lib/main.js:
|