numpy-ts 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,126 +1,37 @@
1
- "use strict";var RX=Object.create;var Vo=Object.defineProperty;var BX=Object.getOwnPropertyDescriptor;var zX=Object.getOwnPropertyNames;var VX=Object.getPrototypeOf,PX=Object.prototype.hasOwnProperty;var c=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),FX=(r,e)=>{for(var a in e)Vo(r,a,{get:e[a],enumerable:!0})},wc=(r,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of zX(e))!PX.call(r,o)&&o!==a&&Vo(r,o,{get:()=>e[o],enumerable:!(t=BX(e,o))||t.enumerable});return r};var He=(r,e,a)=>(a=r!=null?RX(VX(r)):{},wc(e||!r||!r.__esModule?Vo(a,"default",{value:r,enumerable:!0}):a,r)),LX=r=>wc(Vo({},"__esModule",{value:!0}),r);var Ec=c((gKr,Sc)=>{"use strict";var CX=typeof Object.defineProperty=="function"?Object.defineProperty:null;Sc.exports=CX});var _c=c((hKr,Ac)=>{"use strict";var UX=Ec();function MX(){try{return UX({},"x",{}),!0}catch{return!1}}Ac.exports=MX});var Tc=c((bKr,jc)=>{"use strict";var GX=Object.defineProperty;jc.exports=GX});var Tn=c((xKr,Oc)=>{"use strict";function $X(r){return typeof r=="number"}Oc.exports=$X});var On=c((qKr,Nc)=>{"use strict";function YX(r){return r[0]==="-"}function Ic(r){var e="",a;for(a=0;a<r;a++)e+="0";return e}function WX(r,e,a){var t=!1,o=e-r.length;return o<0||(YX(r)&&(t=!0,r=r.substr(1)),r=a?r+Ic(o):Ic(o)+r,t&&(r="-"+r)),r}Nc.exports=WX});var Bc=c((wKr,Rc)=>{"use strict";var JX=Tn(),Dc=On(),KX=String.prototype.toLowerCase,kc=String.prototype.toUpperCase;function XX(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(!JX(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):KX.call(a)),e===8&&r.alternate&&a.charAt(0)!=="0"&&(a="0"+a),a}Rc.exports=XX});var Vc=c((SKr,zc)=>{"use strict";function HX(r){return typeof r=="string"}zc.exports=HX});var Lc=c((EKr,Fc)=>{"use strict";var ZX=Tn(),QX=Math.abs,rH=String.prototype.toLowerCase,Pc=String.prototype.toUpperCase,Tt=String.prototype.replace,eH=/e\+(\d)$/,aH=/e-(\d)$/,tH=/^(\d+)$/,iH=/^(\d+)e/,oH=/\.0$/,sH=/\.0*e/,nH=/(\..*[^0])0*e/;function vH(r){var e,a,t=parseFloat(r.arg);if(!isFinite(t)){if(!ZX(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":QX(t)<1e-4?(e=r.precision,e>0&&(e-=1),a=t.toExponential(e)):a=t.toPrecision(r.precision),r.alternate||(a=Tt.call(a,nH,"$1e"),a=Tt.call(a,sH,"e"),a=Tt.call(a,oH,""));break;default:throw new Error("invalid double notation. Value: "+r.specifier)}return a=Tt.call(a,eH,"e+0$1"),a=Tt.call(a,aH,"e-0$1"),r.alternate&&(a=Tt.call(a,tH,"$1."),a=Tt.call(a,iH,"$1.e")),t>=0&&r.sign&&(a=r.sign+a),a=r.specifier===Pc.call(r.specifier)?Pc.call(a):rH.call(a),a}Fc.exports=vH});var Mc=c((AKr,Uc)=>{"use strict";function Cc(r){var e="",a;for(a=0;a<r;a++)e+=" ";return e}function uH(r,e,a){var t=e-r.length;return t<0||(r=a?r+Cc(t):Cc(t)+r),r}Uc.exports=uH});var $c=c((_Kr,Gc)=>{"use strict";var fH=Bc(),lH=Vc(),cH=Lc(),dH=Mc(),pH=On(),yH=String.fromCharCode,mH=Array.isArray;function Po(r){return r!==r}function gH(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 hH(r){var e,a,t,o,i,n,s,v,u;if(!mH(r))throw new TypeError("invalid argument. First argument must be an array. Value: `"+r+"`.");for(n="",s=1,v=0;v<r.length;v++)if(t=r[v],lH(t))n+=t;else{if(e=t.precision!==void 0,t=gH(t),!t.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+v+"`. Value: `"+t+"`.");for(t.mapping&&(s=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[s],10),s+=1,Po(t.width))throw new TypeError("the argument for * width at position "+s+" is not a number. Value: `"+t.width+"`.");t.width<0&&(t.padRight=!0,t.width=-t.width)}if(e&&t.precision==="*"){if(t.precision=parseInt(arguments[s],10),s+=1,Po(t.precision))throw new TypeError("the argument for * precision at position "+s+" is not a number. Value: `"+t.precision+"`.");t.precision<0&&(t.precision=1,e=!1)}switch(t.arg=arguments[s],t.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":e&&(t.padZeros=!1),t.arg=fH(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):yH(i)}break;case"e":case"E":case"f":case"F":case"g":case"G":e||(t.precision=6),t.arg=cH(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=pH(t.arg,t.width||t.precision,t.padRight):t.width&&(t.arg=dH(t.arg,t.width,t.padRight)),n+=t.arg||"",s+=1}return n}Gc.exports=hH});var Wc=c((jKr,Yc)=>{"use strict";var bH=$c();Yc.exports=bH});var Kc=c((TKr,Jc)=>{"use strict";var Fo=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function xH(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 qH(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(xH(t)),o=Fo.lastIndex,t=Fo.exec(r);return e=r.slice(o),e.length&&a.push(e),a}Jc.exports=qH});var Hc=c((OKr,Xc)=>{"use strict";var wH=Kc();Xc.exports=wH});var Qc=c((IKr,Zc)=>{"use strict";function SH(r){return typeof r=="string"}Zc.exports=SH});var ad=c((NKr,ed)=>{"use strict";var EH=Wc(),AH=Hc(),_H=Qc();function rd(r){var e,a;if(!_H(r))throw new TypeError(rd("invalid argument. First argument must be a string. Value: `%s`.",r));for(e=[AH(r)],a=1;a<arguments.length;a++)e.push(arguments[a]);return EH.apply(null,e)}ed.exports=rd});var cr=c((DKr,td)=>{"use strict";var jH=ad();td.exports=jH});var ud=c((kKr,vd)=>{"use strict";var id=cr(),Qt=Object.prototype,od=Qt.toString,sd=Qt.__defineGetter__,nd=Qt.__defineSetter__,TH=Qt.__lookupGetter__,OH=Qt.__lookupSetter__;function IH(r,e,a){var t,o,i,n;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&&(TH.call(r,e)||OH.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,n="set"in a,o&&(i||n))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return i&&sd&&sd.call(r,e,a.get),n&&nd&&nd.call(r,e,a.set),r}vd.exports=IH});var Ot=c((RKr,fd)=>{"use strict";var NH=_c(),DH=Tc(),kH=ud(),In;NH()?In=DH:In=kH;fd.exports=In});var cd=c((BKr,ld)=>{"use strict";var RH=Ot();function BH(r,e,a){RH(r,e,{configurable:!1,enumerable:!0,writable:!1,value:a})}ld.exports=BH});var It=c((zKr,dd)=>{"use strict";var zH=cd();dd.exports=zH});var yd=c((VKr,pd)=>{"use strict";var VH=Object.prototype.hasOwnProperty;function PH(r,e){return r==null?!1:VH.call(r,e)}pd.exports=PH});var Jr=c((PKr,md)=>{"use strict";var FH=yd();md.exports=FH});var hd=c((FKr,gd)=>{"use strict";function LH(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}gd.exports=LH});var Nn=c((LKr,bd)=>{"use strict";var CH=hd();bd.exports=CH});var qd=c((CKr,xd)=>{"use strict";var UH=Nn(),MH=UH();function GH(){return MH&&typeof Symbol.toStringTag=="symbol"}xd.exports=GH});var ri=c((UKr,wd)=>{"use strict";var $H=qd();wd.exports=$H});var Dn=c((MKr,Sd)=>{"use strict";var YH=Object.prototype.toString;Sd.exports=YH});var Ad=c((GKr,Ed)=>{"use strict";var WH=Dn();function JH(r){return WH.call(r)}Ed.exports=JH});var jd=c(($Kr,_d)=>{"use strict";var KH=typeof Symbol=="function"?Symbol:void 0;_d.exports=KH});var kn=c((YKr,Td)=>{"use strict";var XH=jd();Td.exports=XH});var Nd=c((WKr,Id)=>{"use strict";var Od=kn(),HH=typeof Od=="function"?Od.toStringTag:"";Id.exports=HH});var kd=c((JKr,Dd)=>{"use strict";var ZH=Jr(),zi=Nd(),Rn=Dn();function QH(r){var e,a,t;if(r==null)return Rn.call(r);a=r[zi],e=ZH(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=QH});var ye=c((KKr,Rd)=>{"use strict";var rZ=ri(),eZ=Ad(),aZ=kd(),Bn;rZ()?Bn=aZ:Bn=eZ;Rd.exports=Bn});var zd=c((XKr,Bd)=>{"use strict";var tZ=ye(),zn;function iZ(r){return tZ(r)==="[object Array]"}Array.isArray?zn=Array.isArray:zn=iZ;Bd.exports=zn});var ha=c((HKr,Vd)=>{"use strict";var oZ=zd();Vd.exports=oZ});var Fd=c((ZKr,Pd)=>{"use strict";var sZ=ha();function nZ(r){return typeof r=="object"&&r!==null&&!sZ(r)}Pd.exports=nZ});var Vi=c((QKr,Ld)=>{"use strict";var vZ=Fd();Ld.exports=vZ});var Ud=c((rXr,Cd)=>{"use strict";var uZ=/./;Cd.exports=uZ});var Gd=c((eXr,Md)=>{"use strict";var fZ=Ot();function lZ(r,e,a){fZ(r,e,{configurable:!1,enumerable:!1,writable:!1,value:a})}Md.exports=lZ});var Tr=c((aXr,$d)=>{"use strict";var cZ=Gd();$d.exports=cZ});var Vn=c((tXr,Yd)=>{"use strict";function dZ(r){return typeof r=="boolean"}Yd.exports=dZ});var Jd=c((iXr,Wd)=>{"use strict";var pZ=Boolean;Wd.exports=pZ});var Nt=c((oXr,Kd)=>{"use strict";var yZ=Jd();Kd.exports=yZ});var Hd=c((sXr,Xd)=>{"use strict";var mZ=Boolean.prototype.toString;Xd.exports=mZ});var Qd=c((nXr,Zd)=>{"use strict";var gZ=Hd();function hZ(r){try{return gZ.call(r),!0}catch{return!1}}Zd.exports=hZ});var Pn=c((vXr,r0)=>{"use strict";var bZ=ri(),xZ=ye(),qZ=Nt(),wZ=Qd(),SZ=bZ();function EZ(r){return typeof r=="object"?r instanceof qZ?!0:SZ?wZ(r):xZ(r)==="[object Boolean]":!1}r0.exports=EZ});var a0=c((uXr,e0)=>{"use strict";var AZ=Vn(),_Z=Pn();function jZ(r){return AZ(r)||_Z(r)}e0.exports=jZ});var de=c((fXr,i0)=>{"use strict";var t0=Tr(),Fn=a0(),TZ=Vn(),OZ=Pn();t0(Fn,"isPrimitive",TZ);t0(Fn,"isObject",OZ);i0.exports=Fn});var s0=c((lXr,o0)=>{"use strict";function IZ(){return new Function("return this;")()}o0.exports=IZ});var v0=c((cXr,n0)=>{"use strict";var NZ=typeof self=="object"?self:null;n0.exports=NZ});var f0=c((dXr,u0)=>{"use strict";var DZ=typeof window=="object"?window:null;u0.exports=DZ});var c0=c((pXr,l0)=>{"use strict";var kZ=typeof global=="object"?global:null;l0.exports=kZ});var p0=c((yXr,d0)=>{"use strict";var RZ=typeof globalThis=="object"?globalThis:null;d0.exports=RZ});var x0=c((mXr,b0)=>{"use strict";var BZ=de().isPrimitive,zZ=cr(),VZ=s0(),y0=v0(),m0=f0(),g0=c0(),h0=p0();function PZ(r){if(arguments.length){if(!BZ(r))throw new TypeError(zZ("invalid argument. Must provide a boolean. Value: `%s`.",r));if(r)return VZ()}if(h0)return h0;if(y0)return y0;if(m0)return m0;if(g0)return g0;throw new Error("unexpected error. Unable to resolve global object.")}b0.exports=PZ});var Ln=c((gXr,q0)=>{"use strict";var FZ=x0();q0.exports=FZ});var E0=c((hXr,S0)=>{"use strict";var LZ=Ln(),w0=LZ(),CZ=w0.document&&w0.document.childNodes;S0.exports=CZ});var _0=c((bXr,A0)=>{"use strict";var UZ=Int8Array;A0.exports=UZ});var T0=c((xXr,j0)=>{"use strict";var MZ=Ud(),GZ=E0(),$Z=_0();function YZ(){return typeof MZ=="function"||typeof $Z=="object"||typeof GZ=="function"}j0.exports=YZ});var Cn=c((qXr,O0)=>{"use strict";function WZ(){return/^\s*function\s*([^(]*)/i}O0.exports=WZ});var N0=c((wXr,I0)=>{"use strict";var JZ=Cn(),KZ=JZ();I0.exports=KZ});var R0=c((SXr,k0)=>{"use strict";var XZ=Tr(),D0=Cn(),HZ=N0();XZ(D0,"REGEXP",HZ);k0.exports=D0});var z0=c((EXr,B0)=>{"use strict";var ZZ=ha(),QZ=cr();function rQ(r){if(typeof r!="function")throw new TypeError(QZ("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!ZZ(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}B0.exports=rQ});var Un=c((AXr,V0)=>{"use strict";var eQ=z0();V0.exports=eQ});var F0=c((_Xr,P0)=>{"use strict";function aQ(r){return r!==null&&typeof r=="object"}P0.exports=aQ});var Lo=c((jXr,L0)=>{"use strict";var tQ=Tr(),iQ=Un(),Mn=F0(),oQ=iQ(Mn);tQ(Mn,"isObjectLikeArray",oQ);L0.exports=Mn});var U0=c((TXr,C0)=>{"use strict";var sQ=Lo();function nQ(r){return sQ(r)&&(r._isBuffer||r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r))}C0.exports=nQ});var Pi=c((OXr,M0)=>{"use strict";var vQ=U0();M0.exports=vQ});var $0=c((IXr,G0)=>{"use strict";var uQ=ye(),fQ=R0().REGEXP,lQ=Pi();function cQ(r){var e,a,t;if(a=uQ(r).slice(8,-1),(a==="Object"||a==="Error")&&r.constructor){if(t=r.constructor,typeof t.name=="string")return t.name;if(e=fQ.exec(t.toString()),e)return e[1]}return lQ(r)?"Buffer":a}G0.exports=cQ});var yt=c((NXr,Y0)=>{"use strict";var dQ=$0();Y0.exports=dQ});var J0=c((DXr,W0)=>{"use strict";var pQ=yt();function yQ(r){var e;return r===null?"null":(e=typeof r,e==="object"?pQ(r).toLowerCase():e)}W0.exports=yQ});var X0=c((kXr,K0)=>{"use strict";var mQ=yt();function gQ(r){return mQ(r).toLowerCase()}K0.exports=gQ});var ei=c((RXr,H0)=>{"use strict";var hQ=T0(),bQ=J0(),xQ=X0(),qQ=hQ()?xQ:bQ;H0.exports=qQ});var Q0=c((BXr,Z0)=>{"use strict";var wQ=ei();function SQ(r){return wQ(r)==="function"}Z0.exports=SQ});var Fe=c((zXr,rp)=>{"use strict";var EQ=Q0();rp.exports=EQ});var ap=c((VXr,ep)=>{"use strict";var AQ=Object;ep.exports=AQ});var Dt=c((PXr,tp)=>{"use strict";var _Q=ap();tp.exports=_Q});var op=c((FXr,ip)=>{"use strict";var jQ=Object.getPrototypeOf;ip.exports=jQ});var np=c((LXr,sp)=>{"use strict";function TQ(r){return r.__proto__}sp.exports=TQ});var up=c((CXr,vp)=>{"use strict";var OQ=ye(),IQ=np();function NQ(r){var e=IQ(r);return e||e===null?e:OQ(r.constructor)==="[object Function]"?r.constructor.prototype:r instanceof Object?Object.prototype:null}vp.exports=NQ});var lp=c((UXr,fp)=>{"use strict";var DQ=Fe(),kQ=op(),RQ=up(),Gn;DQ(Object.getPrototypeOf)?Gn=kQ:Gn=RQ;fp.exports=Gn});var dp=c((MXr,cp)=>{"use strict";var BQ=Dt(),zQ=lp();function VQ(r){return r==null?null:(r=BQ(r),zQ(r))}cp.exports=VQ});var kt=c((GXr,pp)=>{"use strict";var PQ=dp();pp.exports=PQ});var gp=c(($Xr,mp)=>{"use strict";var FQ=Vi(),yp=Fe(),LQ=kt(),Co=Jr(),CQ=ye(),UQ=Object.prototype;function MQ(r){var e;for(e in r)if(!Co(r,e))return!1;return!0}function GQ(r){var e;return FQ(r)?(e=LQ(r),e?!Co(r,"constructor")&&Co(e,"constructor")&&yp(e.constructor)&&CQ(e.constructor)==="[object Function]"&&Co(e,"isPrototypeOf")&&yp(e.isPrototypeOf)&&(e===UQ||MQ(r)):!0):!1}mp.exports=GQ});var oe=c((YXr,hp)=>{"use strict";var $Q=gp();hp.exports=$Q});var $n=c((WXr,bp)=>{"use strict";function YQ(r){return typeof r=="number"}bp.exports=YQ});var qp=c((JXr,xp)=>{"use strict";xp.exports=Number});var Uo=c((KXr,wp)=>{"use strict";var WQ=qp();wp.exports=WQ});var Ep=c((XXr,Sp)=>{"use strict";var JQ=Uo(),KQ=JQ.prototype.toString;Sp.exports=KQ});var _p=c((HXr,Ap)=>{"use strict";var XQ=Ep();function HQ(r){try{return XQ.call(r),!0}catch{return!1}}Ap.exports=HQ});var Yn=c((ZXr,jp)=>{"use strict";var ZQ=ri(),QQ=ye(),rrr=Uo(),err=_p(),arr=ZQ();function trr(r){return typeof r=="object"?r instanceof rrr?!0:arr?err(r):QQ(r)==="[object Number]":!1}jp.exports=trr});var Op=c((QXr,Tp)=>{"use strict";var irr=$n(),orr=Yn();function srr(r){return irr(r)||orr(r)}Tp.exports=srr});var Ue=c((rHr,Np)=>{"use strict";var Ip=Tr(),Wn=Op(),nrr=$n(),vrr=Yn();Ip(Wn,"isPrimitive",nrr);Ip(Wn,"isObject",vrr);Np.exports=Wn});var Fi=c((eHr,Dp)=>{"use strict";var urr=Number.POSITIVE_INFINITY;Dp.exports=urr});var Mo=c((aHr,kp)=>{"use strict";var frr=Uo(),lrr=frr.NEGATIVE_INFINITY;kp.exports=lrr});var Bp=c((tHr,Rp)=>{"use strict";var crr=Math.floor;Rp.exports=crr});var Ze=c((iHr,zp)=>{"use strict";var drr=Bp();zp.exports=drr});var Pp=c((oHr,Vp)=>{"use strict";var prr=Ze();function yrr(r){return prr(r)===r}Vp.exports=yrr});var ba=c((sHr,Fp)=>{"use strict";var mrr=Pp();Fp.exports=mrr});var Jn=c((nHr,Lp)=>{"use strict";var grr=Fi(),hrr=Mo(),brr=ba();function xrr(r){return r<grr&&r>hrr&&brr(r)}Lp.exports=xrr});var Kn=c((vHr,Cp)=>{"use strict";var qrr=Ue().isPrimitive,wrr=Jn();function Srr(r){return qrr(r)&&wrr(r)}Cp.exports=Srr});var Xn=c((uHr,Up)=>{"use strict";var Err=Ue().isObject,Arr=Jn();function _rr(r){return Err(r)&&Arr(r.valueOf())}Up.exports=_rr});var Gp=c((fHr,Mp)=>{"use strict";var jrr=Kn(),Trr=Xn();function Orr(r){return jrr(r)||Trr(r)}Mp.exports=Orr});var ue=c((lHr,Yp)=>{"use strict";var $p=Tr(),Hn=Gp(),Irr=Kn(),Nrr=Xn();$p(Hn,"isPrimitive",Irr);$p(Hn,"isObject",Nrr);Yp.exports=Hn});var Zn=c((cHr,Wp)=>{"use strict";var Drr=ue().isPrimitive;function krr(r){return Drr(r)&&r>=0}Wp.exports=krr});var Qn=c((dHr,Jp)=>{"use strict";var Rrr=ue().isObject;function Brr(r){return Rrr(r)&&r.valueOf()>=0}Jp.exports=Brr});var Xp=c((pHr,Kp)=>{"use strict";var zrr=Zn(),Vrr=Qn();function Prr(r){return zrr(r)||Vrr(r)}Kp.exports=Prr});var me=c((yHr,Zp)=>{"use strict";var Hp=Tr(),rv=Xp(),Frr=Zn(),Lrr=Qn();Hp(rv,"isPrimitive",Frr);Hp(rv,"isObject",Lrr);Zp.exports=rv});var ey=c((mHr,ry)=>{"use strict";var Crr=Ln(),Qp=Crr();function Urr(){return typeof Qp.BigInt=="function"&&typeof BigInt=="function"&&typeof Qp.BigInt("1")=="bigint"&&typeof BigInt("1")=="bigint"}ry.exports=Urr});var ev=c((gHr,ay)=>{"use strict";var Mrr=ey();ay.exports=Mrr});var iy=c((hHr,ty)=>{"use strict";var Grr=Ot();function $rr(r,e,a){Grr(r,e,{configurable:!1,enumerable:!1,get:a})}ty.exports=$rr});var mt=c((bHr,oy)=>{"use strict";var Yrr=iy();oy.exports=Yrr});var sy=c((xHr,Wrr)=>{Wrr.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=c((qHr,ny)=>{"use strict";var Jrr=sy();function Krr(r){return Jrr[r]||null}ny.exports=Krr});var Ha=c((wHr,uy)=>{"use strict";var Xrr=vy();uy.exports=Xrr});var ly=c((SHr,fy)=>{"use strict";function Hrr(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=Hrr});var xa=c((EHr,cy)=>{"use strict";var Zrr=ly();cy.exports=Zrr});var py=c((AHr,dy)=>{"use strict";function Qrr(r){return Math.abs(r)}dy.exports=Qrr});var ai=c((_Hr,yy)=>{"use strict";var rer=py();yy.exports=rer});var hy=c((jHr,gy)=>{"use strict";var my=ai();function eer(r){var e,a,t,o,i,n;if(a=r.length,a===0)return 0;for(e=!0,t=!0,o=my(r[0]),n=1;n<a;n++)if(i=my(r[n]),e&&i<o?e=!1:t&&i>o&&(t=!1),t||e)o=i;else return 0;return t&&e?3:t?1:2}gy.exports=eer});var Rt=c((THr,by)=>{"use strict";var aer=hy();by.exports=aer});var qy=c((OHr,xy)=>{"use strict";function ter(r,e){return e&&(r===2||r===3)}xy.exports=ter});var Sy=c((IHr,wy)=>{"use strict";function ier(r,e){return e&&(r===1||r===3)}wy.exports=ier});var Ay=c((NHr,Ey)=>{"use strict";function oer(r,e,a){var t,o,i,n,s;for(t=r.length,o=a,i=a,s=0;s<t;s++){if(r[s]===0)return[a,a];n=e[s],n>0?i+=n*(r[s]-1):n<0&&(o+=n*(r[s]-1))}return[o,i]}Ey.exports=oer});var jy=c((DHr,_y)=>{"use strict";function ser(r,e,a,t){var o,i,n,s,v;for(o=r.length,i=a,n=a,v=0;v<o;v++){if(r[v]===0)return t[0]=a,t[1]=a,t;s=e[v],s>0?n+=s*(r[v]-1):s<0&&(i+=s*(r[v]-1))}return t[0]=i,t[1]=n,t}_y.exports=ser});var Za=c((kHr,Oy)=>{"use strict";var ner=Tr(),Ty=Ay(),ver=jy();ner(Ty,"assign",ver);Oy.exports=Ty});var Ny=c((RHr,Iy)=>{"use strict";var uer=Za();function fer(r,e,a,t,o){var i;return r===0||o===0?!1:(i=uer(e,a,t),r===i[1]-i[0]+1)}Iy.exports=fer});var ky=c((BHr,Dy)=>{"use strict";function ler(r){return{ROW_MAJOR_CONTIGUOUS:r.ROW_MAJOR_CONTIGUOUS,COLUMN_MAJOR_CONTIGUOUS:r.COLUMN_MAJOR_CONTIGUOUS,READONLY:r.READONLY}}Dy.exports=ler});var By=c((zHr,Ry)=>{"use strict";function cer(r){var e,a,t,o,i,n;if(t=this._ndims,t===0)return this._accessors?this._buffer.get(this._offset):this._buffer[this._offset];if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.get(this._offset+r):this._buffer[this._offset+r];if(this._iterationOrder===-1)return this._accessors?this._buffer.get(this.offset-r):this._buffer[this._offset-r]}if(a=this._shape,e=this._strides,o=this._offset,this._order==="column-major"){for(n=0;n<t;n++)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}for(n=t-1;n>=0;n--)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}Ry.exports=cer});var Vy=c((VHr,zy)=>{"use strict";function der(r,e){var a,t,o,i,n,s;if(o=this._ndims,o===0)return this._accessors?this._buffer.set(r,this._offset):this._buffer[this._offset]=r,this;if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.set(e,this._offset+r):this._buffer[this._offset+r]=e,this;if(this._iterationOrder===-1)return this._accessors?this._buffer.set(e,this._offset-r):this._buffer[this._offset-r]=e,this}if(t=this._shape,a=this._strides,i=this._offset,this._order==="column-major"){for(s=0;s<o;s++)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}for(s=o-1;s>=0;s--)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}zy.exports=der});var Fy=c((PHr,Py)=>{"use strict";function per(){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=per});var Cy=c((FHr,Ly)=>{"use strict";function yer(){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=yer});var My=c((LHr,Uy)=>{"use strict";function mer(r){return r.re}Uy.exports=mer});var Bt=c((CHr,Gy)=>{"use strict";var ger=My();Gy.exports=ger});var Yy=c((UHr,$y)=>{"use strict";function her(r){return r.im}$y.exports=her});var zt=c((MHr,Wy)=>{"use strict";var ber=Yy();Wy.exports=ber});var Ky=c((GHr,Jy)=>{"use strict";var xer=Bt(),qer=zt();function wer(){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(xer(a),qer(a));else for(t=0;t<e;t++)r.data.push(this.iget(t));return r}Jy.exports=wer});var av=c(($Hr,Xy)=>{"use strict";function Ser(r){return typeof r=="string"}Xy.exports=Ser});var Zy=c((YHr,Hy)=>{"use strict";var Eer=String.prototype.valueOf;Hy.exports=Eer});var rm=c((WHr,Qy)=>{"use strict";var Aer=Zy();function _er(r){try{return Aer.call(r),!0}catch{return!1}}Qy.exports=_er});var tv=c((JHr,em)=>{"use strict";var jer=ri(),Ter=ye(),Oer=rm(),Ier=jer();function Ner(r){return typeof r=="object"?r instanceof String?!0:Ier?Oer(r):Ter(r)==="[object String]":!1}em.exports=Ner});var tm=c((KHr,am)=>{"use strict";var Der=av(),ker=tv();function Rer(r){return Der(r)||ker(r)}am.exports=Rer});var Va=c((XHr,om)=>{"use strict";var im=Tr(),iv=tm(),Ber=av(),zer=tv();im(iv,"isPrimitive",Ber);im(iv,"isObject",zer);om.exports=iv});var vm=c((HHr,nm)=>{"use strict";var Ver=Va().isPrimitive,Per=cr(),sm=/[-\/\\^$*+?.()|[\]{}]/g;function Fer(r){var e,a,t;if(!Ver(r))throw new TypeError(Per("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=Fer});var fm=c((ZHr,um)=>{"use strict";var Ler=vm();um.exports=Ler});var cm=c((QHr,lm)=>{"use strict";var Cer=RegExp.prototype.exec;lm.exports=Cer});var pm=c((rZr,dm)=>{"use strict";var Uer=cm();function Mer(r){try{return Uer.call(r),!0}catch{return!1}}dm.exports=Mer});var mm=c((eZr,ym)=>{"use strict";var Ger=ri(),$er=ye(),Yer=pm(),Wer=Ger();function Jer(r){return typeof r=="object"?r instanceof RegExp?!0:Wer?Yer(r):$er(r)==="[object RegExp]":!1}ym.exports=Jer});var hm=c((aZr,gm)=>{"use strict";var Ker=mm();gm.exports=Ker});var xm=c((tZr,bm)=>{"use strict";function Xer(r,e,a){return r.replace(e,a)}bm.exports=Xer});var Qa=c((iZr,qm)=>{"use strict";var Her=xm();qm.exports=Her});var Sm=c((oZr,wm)=>{"use strict";var Zer=fm(),Qer=Fe(),ov=Va().isPrimitive,rar=hm(),sv=cr(),ear=Qa();function aar(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(Zer(e),"g");else if(!rar(e))throw new TypeError(sv("invalid argument. Second argument must be a string or regular expression. Value: `%s`.",e));if(!ov(a)&&!Qer(a))throw new TypeError(sv("invalid argument. Third argument must be a string or replacement function. Value: `%s`.",a));return ear(r,e,a)}wm.exports=aar});var Am=c((sZr,Em)=>{"use strict";var tar=Sm();Em.exports=tar});var jm=c((nZr,_m)=>{"use strict";var iar=Am(),nv=Bt(),vv=zt(),oar={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 sar(){var r,e,a,t,o,i,n;if(e=this._shape.length,o=this._dtype,t="ndarray( '"+o+"', ",r="",this._length<=100)if(o==="complex64"||o==="complex128")for(n=0;n<this._length;n++)i=this.iget(n),r+=nv(i)+", "+vv(i),n<this._length-1&&(r+=", ");else for(n=0;n<this._length;n++)r+=this.iget(n),n<this._length-1&&(r+=", ");else{if(o==="complex64"||o==="complex128")for(n=0;n<3;n++)i=this.iget(n),r+=nv(i)+", "+vv(i),n<2&&(r+=", ");else for(n=0;n<3;n++)r+=this.iget(n),n<2&&(r+=", ");if(r+=", ..., ",o==="complex64"||o==="complex128")for(n=2;n>=0;n--)i=this.iget(this._length-1-n),r+=nv(i)+", "+vv(i),n>0&&(r+=", ");else for(n=2;n>=0;n--)r+=this.iget(this._length-1-n),n>0&&(r+=", ")}if(a=oar[this.dtype],t+=iar(a,"{{data}}",r),t+=", ",e===0?t+="[]":t+="[ "+this._shape.join(", ")+" ]",t+=", ",t+="[ ",e===0)t+="0";else for(n=0;n<e;n++)this._strides[n]<0?t+=-this._strides[n]:t+=this._strides[n],n<e-1&&(t+=", ");return t+=" ]",t+=", ",t+="0",t+=", ",t+="'"+this._order+"'",t+=" )",t}_m.exports=sar});var Om=c((vZr,Tm)=>{"use strict";var nar=ye(),uar=typeof Uint8Array=="function";function far(r){return uar&&r instanceof Uint8Array||nar(r)==="[object Uint8Array]"}Tm.exports=far});var uv=c((uZr,Im)=>{"use strict";var lar=Om();Im.exports=lar});var fv=c((fZr,Nm)=>{"use strict";var car=255;Nm.exports=car});var km=c((lZr,Dm)=>{"use strict";var dar=typeof Uint8Array=="function"?Uint8Array:null;Dm.exports=dar});var zm=c((cZr,Bm)=>{"use strict";var par=uv(),lv=fv(),Rm=km();function yar(){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=par(e)&&e[0]===1&&e[1]===3&&e[2]===lv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Bm.exports=yar});var Pm=c((dZr,Vm)=>{"use strict";var mar=zm();Vm.exports=mar});var Lm=c((pZr,Fm)=>{"use strict";var gar=typeof Uint8Array=="function"?Uint8Array:void 0;Fm.exports=gar});var Um=c((yZr,Cm)=>{"use strict";function har(){throw new Error("not implemented")}Cm.exports=har});var Qe=c((mZr,Mm)=>{"use strict";var bar=Pm(),xar=Lm(),qar=Um(),cv;bar()?cv=xar:cv=qar;Mm.exports=cv});var $m=c((gZr,Gm)=>{"use strict";var war=ye(),Sar=typeof Uint16Array=="function";function Ear(r){return Sar&&r instanceof Uint16Array||war(r)==="[object Uint16Array]"}Gm.exports=Ear});var Wm=c((hZr,Ym)=>{"use strict";var Aar=$m();Ym.exports=Aar});var dv=c((bZr,Jm)=>{"use strict";var _ar=65535;Jm.exports=_ar});var Xm=c((xZr,Km)=>{"use strict";var jar=typeof Uint16Array=="function"?Uint16Array:null;Km.exports=jar});var Qm=c((qZr,Zm)=>{"use strict";var Tar=Wm(),pv=dv(),Hm=Xm();function Oar(){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=Tar(e)&&e[0]===1&&e[1]===3&&e[2]===pv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Zm.exports=Oar});var e1=c((wZr,r1)=>{"use strict";var Iar=Qm();r1.exports=Iar});var t1=c((SZr,a1)=>{"use strict";var Nar=typeof Uint16Array=="function"?Uint16Array:void 0;a1.exports=Nar});var o1=c((EZr,i1)=>{"use strict";function Dar(){throw new Error("not implemented")}i1.exports=Dar});var Vt=c((AZr,s1)=>{"use strict";var kar=e1(),Rar=t1(),Bar=o1(),yv;kar()?yv=Rar:yv=Bar;s1.exports=yv});var v1=c((_Zr,n1)=>{"use strict";var zar=Qe(),Var=Vt(),Par={uint16:Var,uint8:zar};n1.exports=Par});var c1=c((jZr,l1)=>{"use strict";var u1=v1(),f1;function Far(){var r,e;return r=new u1.uint16(1),r[0]=4660,e=new u1.uint8(r.buffer),e[0]===52}f1=Far();l1.exports=f1});var Pt=c((TZr,d1)=>{"use strict";var Lar=c1();d1.exports=Lar});var y1=c((OZr,p1)=>{"use strict";var Car=ye(),Uar=typeof ArrayBuffer=="function";function Mar(r){return Uar&&r instanceof ArrayBuffer||Car(r)==="[object ArrayBuffer]"}p1.exports=Mar});var Li=c((IZr,m1)=>{"use strict";var Gar=y1();m1.exports=Gar});var h1=c((NZr,g1)=>{"use strict";var $ar=ye(),Yar=typeof Float64Array=="function";function War(r){return Yar&&r instanceof Float64Array||$ar(r)==="[object Float64Array]"}g1.exports=War});var x1=c((DZr,b1)=>{"use strict";var Jar=h1();b1.exports=Jar});var w1=c((kZr,q1)=>{"use strict";var Kar=typeof Float64Array=="function"?Float64Array:null;q1.exports=Kar});var A1=c((RZr,E1)=>{"use strict";var Xar=x1(),S1=w1();function Har(){var r,e;if(typeof S1!="function")return!1;try{e=new S1([1,3.14,-3.14,NaN]),r=Xar(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{r=!1}return r}E1.exports=Har});var j1=c((BZr,_1)=>{"use strict";var Zar=A1();_1.exports=Zar});var O1=c((zZr,T1)=>{"use strict";var Qar=typeof Float64Array=="function"?Float64Array:void 0;T1.exports=Qar});var N1=c((VZr,I1)=>{"use strict";function rtr(){throw new Error("not implemented")}I1.exports=rtr});var rt=c((PZr,D1)=>{"use strict";var etr=j1(),atr=O1(),ttr=N1(),mv;etr()?mv=atr:mv=ttr;D1.exports=mv});var R1=c((FZr,k1)=>{"use strict";var itr=typeof ArrayBuffer=="function"?ArrayBuffer:null;k1.exports=itr});var z1=c((LZr,B1)=>{"use strict";var otr=Li(),str=rt(),Go=R1();function ntr(){var r,e,a;if(typeof Go!="function")return!1;try{a=new Go(16),r=otr(a)&&typeof Go.isView=="function",r&&(e=new str(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}B1.exports=ntr});var P1=c((CZr,V1)=>{"use strict";var vtr=z1();V1.exports=vtr});var L1=c((UZr,F1)=>{"use strict";var utr=typeof ArrayBuffer=="function"?ArrayBuffer:void 0;F1.exports=utr});var U1=c((MZr,C1)=>{"use strict";function ftr(){throw new Error("not implemented")}C1.exports=ftr});var ti=c((GZr,M1)=>{"use strict";var ltr=P1(),ctr=L1(),dtr=U1(),gv;ltr()?gv=ctr:gv=dtr;M1.exports=gv});var $1=c(($Zr,G1)=>{"use strict";var ptr=ye(),ytr=typeof DataView=="function";function mtr(r){return ytr&&r instanceof DataView||ptr(r)==="[object DataView]"}G1.exports=mtr});var W1=c((YZr,Y1)=>{"use strict";var gtr=$1();Y1.exports=gtr});var K1=c((WZr,J1)=>{"use strict";var htr=typeof DataView=="function"?DataView:null;J1.exports=htr});var Z1=c((JZr,H1)=>{"use strict";var btr=W1(),xtr=ti(),X1=K1();function qtr(){var r,e,a;if(typeof X1!="function")return!1;try{a=new xtr(24),e=new X1(a,8),r=btr(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=qtr});var rg=c((KZr,Q1)=>{"use strict";var wtr=Z1();Q1.exports=wtr});var ag=c((XZr,eg)=>{"use strict";var Str=typeof DataView=="function"?DataView:void 0;eg.exports=Str});var ig=c((HZr,tg)=>{"use strict";function Etr(){throw new Error("not implemented")}tg.exports=Etr});var Ft=c((ZZr,og)=>{"use strict";var Atr=rg(),_tr=ag(),jtr=ig(),hv;Atr()?hv=_tr:hv=jtr;og.exports=hv});var ng=c((QZr,sg)=>{"use strict";var Ttr=typeof BigInt=="function"?BigInt:void 0;sg.exports=Ttr});var bv=c((rQr,vg)=>{"use strict";var Otr=ng();vg.exports=Otr});var ug=c((eQr,Itr)=>{Itr.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 dg=c((aQr,cg)=>{"use strict";var Ntr=Qa(),fg=ug(),lg=/_and_generic$/;function Dtr(){var r,e,a;return arguments.length===0?fg.all.slice():(a=!1,r=arguments[0],lg.test(r)&&(r=Ntr(r,lg,""),r!=="all"&&(a=!0)),e=fg[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}cg.exports=Dtr});var yg=c((tQr,pg)=>{"use strict";function ktr(){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}}pg.exports=ktr});var $o=c((iQr,mg)=>{"use strict";function Rtr(r){return Object.keys(Object(r))}mg.exports=Rtr});var hg=c((oQr,gg)=>{"use strict";var Btr=$o();function ztr(){return(Btr(arguments)||"").length!==2}function Vtr(){return ztr(1,2)}gg.exports=Vtr});var xg=c((sQr,bg)=>{"use strict";var Ptr=typeof Object.keys<"u";bg.exports=Ptr});var xv=c((nQr,qg)=>{"use strict";var Ftr=ye();function Ltr(r){return Ftr(r)==="[object Arguments]"}qg.exports=Ltr});var Eg=c((vQr,Sg)=>{"use strict";var Ctr=xv(),wg;function Utr(){return Ctr(arguments)}wg=Utr();Sg.exports=wg});var _g=c((uQr,Ag)=>{"use strict";function Mtr(r){return r!==r}Ag.exports=Mtr});var qv=c((fQr,jg)=>{"use strict";var Gtr=_g();jg.exports=Gtr});var wv=c((lQr,Tg)=>{"use strict";var $tr=Ue().isPrimitive,Ytr=qv();function Wtr(r){return $tr(r)&&Ytr(r)}Tg.exports=Wtr});var Sv=c((cQr,Og)=>{"use strict";var Jtr=Ue().isObject,Ktr=qv();function Xtr(r){return Jtr(r)&&Ktr(r.valueOf())}Og.exports=Xtr});var Ng=c((dQr,Ig)=>{"use strict";var Htr=wv(),Ztr=Sv();function Qtr(r){return Htr(r)||Ztr(r)}Ig.exports=Qtr});var Av=c((pQr,kg)=>{"use strict";var Dg=Tr(),Ev=Ng(),rir=wv(),eir=Sv();Dg(Ev,"isPrimitive",rir);Dg(Ev,"isObject",eir);kg.exports=Ev});var _v=c((yQr,Rg)=>{"use strict";var air=Object.prototype.propertyIsEnumerable;Rg.exports=air});var Vg=c((mQr,zg)=>{"use strict";var tir=_v(),Bg;function iir(){return!tir.call("beep","0")}Bg=iir();zg.exports=Bg});var Fg=c((gQr,Pg)=>{"use strict";var oir=Va(),sir=Av().isPrimitive,nir=ue().isPrimitive,vir=_v(),uir=Vg();function fir(r,e){var a;return r==null?!1:(a=vir.call(r,e),!a&&uir&&oir(r)?(e=+e,!sir(e)&&nir(e)&&e>=0&&e<r.length):a)}Pg.exports=fir});var Ci=c((hQr,Lg)=>{"use strict";var lir=Fg();Lg.exports=lir});var Yo=c((bQr,Cg)=>{"use strict";var cir=4294967295;Cg.exports=cir});var Mg=c((xQr,Ug)=>{"use strict";var dir=Jr(),pir=Ci(),yir=ha(),mir=ba(),gir=Yo();function hir(r){return r!==null&&typeof r=="object"&&!yir(r)&&typeof r.length=="number"&&mir(r.length)&&r.length>=0&&r.length<=gir&&dir(r,"callee")&&!pir(r,"callee")}Ug.exports=hir});var Tv=c((qQr,Gg)=>{"use strict";var bir=Eg(),xir=xv(),qir=Mg(),jv;bir?jv=xir:jv=qir;Gg.exports=jv});var Wg=c((wQr,Yg)=>{"use strict";var wir=Tv(),$g=$o(),Sir=Array.prototype.slice;function Eir(r){return wir(r)?$g(Sir.call(r)):$g(r)}Yg.exports=Eir});var Kg=c((SQr,Jg)=>{"use strict";function Air(){}Jg.exports=Air});var Hg=c((EQr,Xg)=>{"use strict";var _ir=Kg();Xg.exports=_ir});var Qg=c((AQr,Zg)=>{"use strict";var jir=Ci(),Tir=Hg(),Oir=jir(Tir,"prototype");Zg.exports=Oir});var eh=c((_Qr,rh)=>{"use strict";var Iir=Ci(),Nir={toString:null},Dir=!Iir(Nir,"toString");rh.exports=Dir});var th=c((jQr,ah)=>{"use strict";var kir=9007199254740991;ah.exports=kir});var oh=c((TQr,ih)=>{"use strict";var Rir=ba(),Bir=th();function zir(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&Rir(r.length)&&r.length>=0&&r.length<=Bir}ih.exports=zir});var De=c((OQr,sh)=>{"use strict";var Vir=oh();sh.exports=Vir});var fh=c((IQr,uh)=>{"use strict";var nh=Av(),Pir=De(),Fir=Va().isPrimitive,Lir=ue().isPrimitive,vh=cr();function Cir(r,e,a){var t,o;if(!Pir(r)&&!Fir(r))throw new TypeError(vh("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(!Lir(a))throw new TypeError(vh("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(nh(e)){for(;o<t;o++)if(nh(r[o]))return o}else for(;o<t;o++)if(r[o]===e)return o;return-1}uh.exports=Cir});var ch=c((NQr,lh)=>{"use strict";var Uir=fh();lh.exports=Uir});var Ov=c((DQr,dh)=>{"use strict";function Mir(r){return r.constructor&&r.constructor.prototype===r}dh.exports=Mir});var ph=c((kQr,Gir)=>{Gir.exports=["console","external","frame","frameElement","frames","innerHeight","innerWidth","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","scrollLeft","scrollTop","scrollX","scrollY","self","webkitIndexedDB","webkitStorageInfo","window"]});var mh=c((RQr,yh)=>{"use strict";var $ir=typeof window>"u"?void 0:window;yh.exports=$ir});var xh=c((BQr,bh)=>{"use strict";var Yir=Jr(),Wir=ch(),gh=ei(),Jir=Ov(),Kir=ph(),ii=mh(),hh;function Xir(){var r;if(gh(ii)==="undefined")return!1;for(r in ii)try{Wir(Kir,r)===-1&&Yir(ii,r)&&ii[r]!==null&&gh(ii[r])==="object"&&Jir(ii[r])}catch{return!0}return!1}hh=Xir();bh.exports=hh});var wh=c((zQr,qh)=>{"use strict";var Hir=typeof window<"u";qh.exports=Hir});var Ah=c((VQr,Eh)=>{"use strict";var Zir=xh(),Sh=Ov(),Qir=wh();function ror(r){if(Qir===!1&&!Zir)return Sh(r);try{return Sh(r)}catch{return!1}}Eh.exports=ror});var _h=c((PQr,eor)=>{eor.exports=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]});var Oh=c((FQr,Th)=>{"use strict";var aor=Lo(),Iv=Jr(),tor=Tv(),ior=Qg(),oor=eh(),sor=Ah(),jh=_h();function nor(r){var e,a,t,o,i,n,s;if(o=[],tor(r)){for(s=0;s<r.length;s++)o.push(s.toString());return o}if(typeof r=="string"){if(r.length>0&&!Iv(r,"0"))for(s=0;s<r.length;s++)o.push(s.toString())}else{if(t=typeof r=="function",t===!1&&!aor(r))return o;a=ior&&t}for(i in r)!(a&&i==="prototype")&&Iv(r,i)&&o.push(String(i));if(oor)for(e=sor(r),s=0;s<jh.length;s++)n=jh[s],!(e&&n==="constructor")&&Iv(r,n)&&o.push(String(n));return o}Th.exports=nor});var Nh=c((LQr,Ih)=>{"use strict";var vor=hg(),uor=xg(),lor=$o(),cor=Wg(),dor=Oh(),Wo;uor?vor()?Wo=cor:Wo=lor:Wo=dor;Ih.exports=Wo});var qa=c((CQr,Dh)=>{"use strict";var por=Nh();Dh.exports=por});var Rh=c((UQr,kh)=>{"use strict";var yor=It(),mor=qa();function gor(r,e){var a,t,o;for(a=mor(e),o=0;o<a.length;o++)t=a[o],yor(r,t,e[t]);return r}kh.exports=gor});var ke=c((MQr,zh)=>{"use strict";var hor=Tr(),Nv=dg(),Bh=yg(),bor=Rh();hor(Nv,"enum",Bh);bor(Nv,Bh());zh.exports=Nv});var Vh=c((GQr,xor)=>{xor.exports=["row-major","column-major"]});var Fh=c(($Qr,Ph)=>{"use strict";var qor=Vh();function wor(){return qor.slice()}Ph.exports=wor});var Lh=c((YQr,Sor)=>{Sor.exports=["row-major","column-major"]});var Uh=c((WQr,Ch)=>{"use strict";var Eor=Lh();function Aor(){return Eor.slice()}Ch.exports=Aor});var Gh=c((JQr,Mh)=>{"use strict";function _or(){return{"row-major":101,"column-major":102}}Mh.exports=_or});var Dv=c((KQr,Yh)=>{"use strict";var jor=Tr(),$h=Uh(),Tor=Gh();jor($h,"enum",Tor);Yh.exports=$h});var Kh=c((XQr,Jh)=>{"use strict";var Oor=Dv().enum,Wh=Oor();function Ior(){return{"row-major":Wh["row-major"],"column-major":Wh["column-major"]}}Jh.exports=Ior});var Lt=c((HQr,Hh)=>{"use strict";var Nor=Tr(),Xh=Fh(),Dor=Kh();Nor(Xh,"enum",Dor);Hh.exports=Xh});var Zh=c((ZQr,kor)=>{kor.exports=["throw","normalize","clamp","wrap"]});var rb=c((QQr,Qh)=>{"use strict";var Ror=Zh();function Bor(){return Ror.slice()}Qh.exports=Bor});var ab=c((rre,eb)=>{"use strict";function zor(){return{throw:1,clamp:2,wrap:3,normalize:4}}eb.exports=zor});var Ct=c((ere,ib)=>{"use strict";var Vor=Tr(),tb=rb(),Por=ab();Vor(tb,"enum",Por);ib.exports=tb});var nb=c((are,sb)=>{"use strict";var gt=Pt(),For=ti(),Lor=Ft(),Ui=bv(),Cor=ke().enum,Uor=Lt().enum,Mor=Ct().enum,Gor=Cor(),$or=Uor(),ob=Mor();function Yor(){var r,e,a,t,o,i,n,s,v,u,f,l,d,m;if(v=this._mode||"throw",n=this._submode||[v],l=this._ndims,d=n.length,a=33+l*16+d,s=this.__meta_dataview__,s&&s.byteLength===a)return s;for(s=new Lor(new For(a)),o=this._shape,i=this._strides,t=this._dtype,r=this._bytesPerElement,u=0,s.setInt8(u,gt?1:0),u+=1,s.setInt16(u,Gor[t],gt),u+=2,s.setBigInt64(u,Ui(l),gt),f=l*8,u+=8,m=0;m<l;m++)s.setBigInt64(u,Ui(o[m]),gt),s.setBigInt64(u+f,Ui(i[m]*r),gt),u+=8;for(u+=f,s.setBigInt64(u,Ui(this._offset*r),gt),u+=8,s.setInt8(u,$or[this._order]),u+=1,s.setInt8(u,ob[v]),u+=1,s.setBigInt64(u,Ui(d),gt),u+=8,m=0;m<d;m++)s.setInt8(u,ob[n[m]]),u+=1;return e=0,e|=this._flags.READONLY?4:0,s.setInt32(u,e,gt),this.__meta_dataview__=s,s}sb.exports=Yor});var ub=c((tre,vb)=>{"use strict";var Mi=Pt(),Wor=Qe(),Jor=Ft(),Kor=Ze(),Xor=4294967295,Hor=4294967296;function Zor(r){var e,a,t,o;return e=new Wor(8),r===0||(o=(r&Xor)>>>0,t=Kor(r/Hor),a=new Jor(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=Zor});var lb=c((ire,fb)=>{"use strict";var Gi=Pt(),Qor=Qe(),rsr=Ft(),esr=Ze(),asr=4294967295,tsr=4294967296,Ko=new Qor(8),Jo=new rsr(Ko.buffer);function isr(r,e,a,t){var o,i,n;if(r===0){for(n=0;n<Ko.length;n++)e[t]=0,t+=a;return e}for(i=(r&asr)>>>0,o=esr(r/tsr),Gi?(Jo.setUint32(0,i,Gi),Jo.setUint32(4,o,Gi)):(Jo.setUint32(0,o,Gi),Jo.setUint32(4,i,Gi)),n=0;n<Ko.length;n++)e[t]=Ko[n],t+=a;return e}fb.exports=isr});var kv=c((ore,db)=>{"use strict";var osr=Tr(),cb=ub(),ssr=lb();osr(cb,"assign",ssr);db.exports=cb});var mb=c((sre,yb)=>{"use strict";var Rv=Pt(),nsr=ti(),vsr=Ft(),usr=Qe(),fsr=ke().enum,lsr=Lt().enum,csr=Ct().enum,$i=kv().assign,dsr=fsr(),psr=lsr(),pb=csr();function ysr(){var r,e,a,t,o,i,n,s,v,u,f,l,d,m,p;if(u=this._mode||"throw",s=this._submode||[u],d=this._ndims,m=s.length,t=33+d*16+m,v=this.__meta_dataview__,v&&v.byteLength===t)return v;for(v=new vsr(new nsr(t)),e=new usr(v.buffer),i=this._shape,n=this._strides,o=this._dtype,r=this._bytesPerElement,f=0,v.setInt8(f,Rv?1:0),f+=1,v.setInt16(f,dsr[o],Rv),f+=2,$i(d,e,1,f),l=d*8,f+=8,p=0;p<d;p++)$i(i[p],e,1,f),$i(n[p]*r,e,1,f+l),f+=8;for(f+=l,$i(this._offset*r,e,1,f),f+=8,v.setInt8(f,psr[this._order]),f+=1,v.setInt8(f,pb[u]),f+=1,$i(m,e,1,f),f+=8,p=0;p<m;p++)v.setInt8(f,pb[s[p]]),f+=1;return a=0,a|=this._flags.READONLY?4:0,v.setInt32(f,a,Rv),this.__meta_dataview__=v,v}yb.exports=ysr});var hb=c((nre,gb)=>{"use strict";var msr=ev(),ht=Tr(),wa=mt(),gsr=Ha(),hsr=xa(),bsr=Rt(),xsr=Nt(),qsr=qy(),wsr=Sy(),Ssr=Ny(),Esr=ky(),Asr=By(),_sr=Vy(),jsr=Fy(),Tsr=Cy(),Osr=Ky(),Isr=jm(),Nsr=nb(),Dsr=mb();function he(r,e,a,t,o,i){var n,s,v,u,f;if(!(this instanceof he))return new he(r,e,a,t,o,i);for(u=1,f=0;f<a.length;f++)u*=a[f];return e.BYTES_PER_ELEMENT?s=e.BYTES_PER_ELEMENT*u:s=null,this._byteLength=s,this._bytesPerElement=gsr(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=xsr(e.get&&e.set),this._iterationOrder=hsr(t),n=Ssr(u,a,t,o,this._iterationOrder),v=bsr(t),this._flags={ROW_MAJOR_CONTIGUOUS:wsr(v,n),COLUMN_MAJOR_CONTIGUOUS:qsr(v,n),READONLY:!1},this.__meta_dataview__=null,this}ht(he,"name","ndarray");wa(he.prototype,"byteLength",function(){return this._byteLength});wa(he.prototype,"BYTES_PER_ELEMENT",function(){return this._bytesPerElement});wa(he.prototype,"data",function(){return this._buffer});wa(he.prototype,"dtype",function(){return this._dtype});wa(he.prototype,"flags",function(){return Esr(this._flags)});wa(he.prototype,"length",function(){return this._length});wa(he.prototype,"ndims",function(){return this._ndims});wa(he.prototype,"offset",function(){return this._offset});wa(he.prototype,"order",function(){return this._order});wa(he.prototype,"shape",function(){return this._shape.slice()});wa(he.prototype,"strides",function(){return this._strides.slice()});ht(he.prototype,"get",Tsr);ht(he.prototype,"iget",Asr);ht(he.prototype,"set",jsr);ht(he.prototype,"iset",_sr);ht(he.prototype,"toString",Isr);ht(he.prototype,"toJSON",Osr);ht(he.prototype,"__array_meta_dataview__",msr()?Nsr:Dsr);gb.exports=he});var ra=c((vre,bb)=>{"use strict";var ksr=hb();bb.exports=ksr});var qb=c((ure,xb)=>{"use strict";var Rsr=ra();function Bsr(r){return r instanceof Rsr||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=Bsr});var se=c((fre,wb)=>{"use strict";var zsr=qb();wb.exports=zsr});var Eb=c((lre,Sb)=>{"use strict";function Vsr(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 Psr(r){var e,a,t;for(e=[],a=1,t=0;t<r.length;t++)e.push(a),a*=r[t];return e}function Fsr(r,e){return e==="column-major"?Psr(r):Vsr(r)}Sb.exports=Fsr});var _b=c((cre,Ab)=>{"use strict";function Lsr(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 Csr(r,e){var a,t;for(a=1,t=0;t<r.length;t++)e[t]=a,a*=r[t];return e}function Usr(r,e,a){return e==="column-major"?Csr(r,a):Lsr(r,a)}Ab.exports=Usr});var Be=c((dre,Tb)=>{"use strict";var Msr=Tr(),jb=Eb(),Gsr=_b();Msr(jb,"assign",Gsr);Tb.exports=jb});var Ib=c((pre,Ob)=>{"use strict";function $sr(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=$sr});var Me=c((yre,Nb)=>{"use strict";var Ysr=Ib();Nb.exports=Ysr});var kb=c((mre,Db)=>{"use strict";function Wsr(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=Wsr});var Wr=c((gre,Rb)=>{"use strict";var Jsr=kb();Rb.exports=Jsr});var Bv=c((hre,Bb)=>{"use strict";var Ksr=4294967295;Bb.exports=Ksr});var Vb=c((bre,zb)=>{"use strict";var Xsr=ba(),Hsr=Bv();function Zsr(r){return r!=null&&typeof r!="function"&&typeof r.length=="number"&&Xsr(r.length)&&r.length>=0&&r.length<=Hsr}zb.exports=Zsr});var Xo=c((xre,Pb)=>{"use strict";var Qsr=Vb();Pb.exports=Qsr});var Lb=c((qre,Fb)=>{"use strict";var rnr=Xo(),enr=cr();function anr(r){if(typeof r!="function")throw new TypeError(enr("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!rnr(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=anr});var Ho=c((wre,Cb)=>{"use strict";var tnr=Lb();Cb.exports=tnr});var Ut=c((Sre,Mb)=>{"use strict";var zv=me(),Ub=Tr(),Vv=Ho(),inr=Vv(zv.isPrimitive),onr=Vv(zv.isObject),Pv=Vv(zv);Ub(Pv,"primitives",inr);Ub(Pv,"objects",onr);Mb.exports=Pv});var Uv=c((Ere,$b)=>{"use strict";var Fv=ue(),Gb=Tr(),Lv=Ho(),snr=Lv(Fv.isPrimitive),nnr=Lv(Fv.isObject),Cv=Lv(Fv);Gb(Cv,"primitives",snr);Gb(Cv,"objects",nnr);$b.exports=Cv});var Jb=c((Are,Wb)=>{"use strict";var vnr=Lt(),Yb=vnr(),unr=Yb.length;function fnr(r){var e;for(e=0;e<unr;e++)if(r===Yb[e])return!0;return!1}Wb.exports=fnr});var Sa=c((_re,Kb)=>{"use strict";var lnr=Jb();Kb.exports=lnr});var Zb=c((jre,Hb)=>{"use strict";var Xb="function";function cnr(r){return typeof r.get===Xb&&typeof r.set===Xb}Hb.exports=cnr});var et=c((Tre,Qb)=>{"use strict";var dnr=Zb();Qb.exports=dnr});var a2=c((Ore,e2)=>{"use strict";var r2={complex128:pnr,complex64:ynr,default:mnr};function pnr(r,e){return r.get(e)}function ynr(r,e){return r.get(e)}function mnr(r,e){return r.get(e)}function gnr(r){var e=r2[r];return typeof e=="function"?e:r2.default}e2.exports=gnr});var at=c((Ire,t2)=>{"use strict";var hnr=a2();t2.exports=hnr});var s2=c((Nre,o2)=>{"use strict";var i2={float64:bnr,float32:xnr,int32:qnr,int16:wnr,int8:Snr,uint32:Enr,uint16:Anr,uint8:_nr,uint8c:jnr,generic:Tnr,default:Onr};function bnr(r,e){return r[e]}function xnr(r,e){return r[e]}function qnr(r,e){return r[e]}function wnr(r,e){return r[e]}function Snr(r,e){return r[e]}function Enr(r,e){return r[e]}function Anr(r,e){return r[e]}function _nr(r,e){return r[e]}function jnr(r,e){return r[e]}function Tnr(r,e){return r[e]}function Onr(r,e){return r[e]}function Inr(r){var e=i2[r];return typeof e=="function"?e:i2.default}o2.exports=Inr});var bt=c((Dre,n2)=>{"use strict";var Nnr=s2();n2.exports=Nnr});var u2=c((kre,v2)=>{"use strict";var Dnr={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=Dnr});var l2=c((Rre,f2)=>{"use strict";var knr=ye(),Rnr=typeof Float32Array=="function";function Bnr(r){return Rnr&&r instanceof Float32Array||knr(r)==="[object Float32Array]"}f2.exports=Bnr});var d2=c((Bre,c2)=>{"use strict";var znr=l2();c2.exports=znr});var y2=c((zre,p2)=>{"use strict";var Vnr=typeof Float32Array=="function"?Float32Array:null;p2.exports=Vnr});var h2=c((Vre,g2)=>{"use strict";var Pnr=d2(),Fnr=Fi(),m2=y2();function Lnr(){var r,e;if(typeof m2!="function")return!1;try{e=new m2([1,3.14,-3.14,5e40]),r=Pnr(e)&&e[0]===1&&e[1]===3.140000104904175&&e[2]===-3.140000104904175&&e[3]===Fnr}catch{r=!1}return r}g2.exports=Lnr});var x2=c((Pre,b2)=>{"use strict";var Cnr=h2();b2.exports=Cnr});var w2=c((Fre,q2)=>{"use strict";var Unr=typeof Float32Array=="function"?Float32Array:void 0;q2.exports=Unr});var E2=c((Lre,S2)=>{"use strict";function Mnr(){throw new Error("not implemented")}S2.exports=Mnr});var tt=c((Cre,A2)=>{"use strict";var Gnr=x2(),$nr=w2(),Ynr=E2(),Mv;Gnr()?Mv=$nr:Mv=Ynr;A2.exports=Mv});var j2=c((Ure,_2)=>{"use strict";var Wnr=ye(),Jnr=typeof Uint32Array=="function";function Knr(r){return Jnr&&r instanceof Uint32Array||Wnr(r)==="[object Uint32Array]"}_2.exports=Knr});var O2=c((Mre,T2)=>{"use strict";var Xnr=j2();T2.exports=Xnr});var N2=c((Gre,I2)=>{"use strict";var Hnr=typeof Uint32Array=="function"?Uint32Array:null;I2.exports=Hnr});var R2=c(($re,k2)=>{"use strict";var Znr=O2(),Gv=Yo(),D2=N2();function Qnr(){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=Znr(e)&&e[0]===1&&e[1]===3&&e[2]===Gv-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}k2.exports=Qnr});var z2=c((Yre,B2)=>{"use strict";var rvr=R2();B2.exports=rvr});var P2=c((Wre,V2)=>{"use strict";var evr=typeof Uint32Array=="function"?Uint32Array:void 0;V2.exports=evr});var L2=c((Jre,F2)=>{"use strict";function avr(){throw new Error("not implemented")}F2.exports=avr});var oi=c((Kre,C2)=>{"use strict";var tvr=z2(),ivr=P2(),ovr=L2(),$v;tvr()?$v=ivr:$v=ovr;C2.exports=$v});var M2=c((Xre,U2)=>{"use strict";var svr=ye(),nvr=typeof Int32Array=="function";function vvr(r){return nvr&&r instanceof Int32Array||svr(r)==="[object Int32Array]"}U2.exports=vvr});var $2=c((Hre,G2)=>{"use strict";var uvr=M2();G2.exports=uvr});var Yv=c((Zre,Y2)=>{"use strict";var fvr=2147483647;Y2.exports=fvr});var Wv=c((Qre,W2)=>{"use strict";var lvr=-2147483648;W2.exports=lvr});var K2=c((ree,J2)=>{"use strict";var cvr=typeof Int32Array=="function"?Int32Array:null;J2.exports=cvr});var Z2=c((eee,H2)=>{"use strict";var dvr=$2(),pvr=Yv(),yvr=Wv(),X2=K2();function mvr(){var r,e;if(typeof X2!="function")return!1;try{e=new X2([1,3.14,-3.14,pvr+1]),r=dvr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===yvr}catch{r=!1}return r}H2.exports=mvr});var rx=c((aee,Q2)=>{"use strict";var gvr=Z2();Q2.exports=gvr});var ax=c((tee,ex)=>{"use strict";var hvr=typeof Int32Array=="function"?Int32Array:void 0;ex.exports=hvr});var ix=c((iee,tx)=>{"use strict";function bvr(){throw new Error("not implemented")}tx.exports=bvr});var si=c((oee,ox)=>{"use strict";var xvr=rx(),qvr=ax(),wvr=ix(),Jv;xvr()?Jv=qvr:Jv=wvr;ox.exports=Jv});var nx=c((see,sx)=>{"use strict";var Svr=ye(),Evr=typeof Int16Array=="function";function Avr(r){return Evr&&r instanceof Int16Array||Svr(r)==="[object Int16Array]"}sx.exports=Avr});var ux=c((nee,vx)=>{"use strict";var _vr=nx();vx.exports=_vr});var Kv=c((vee,fx)=>{"use strict";var jvr=32767;fx.exports=jvr});var Xv=c((uee,lx)=>{"use strict";var Tvr=-32768;lx.exports=Tvr});var dx=c((fee,cx)=>{"use strict";var Ovr=typeof Int16Array=="function"?Int16Array:null;cx.exports=Ovr});var mx=c((lee,yx)=>{"use strict";var Ivr=ux(),Nvr=Kv(),Dvr=Xv(),px=dx();function kvr(){var r,e;if(typeof px!="function")return!1;try{e=new px([1,3.14,-3.14,Nvr+1]),r=Ivr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===Dvr}catch{r=!1}return r}yx.exports=kvr});var hx=c((cee,gx)=>{"use strict";var Rvr=mx();gx.exports=Rvr});var xx=c((dee,bx)=>{"use strict";var Bvr=typeof Int16Array=="function"?Int16Array:void 0;bx.exports=Bvr});var wx=c((pee,qx)=>{"use strict";function zvr(){throw new Error("not implemented")}qx.exports=zvr});var ni=c((yee,Sx)=>{"use strict";var Vvr=hx(),Pvr=xx(),Fvr=wx(),Hv;Vvr()?Hv=Pvr:Hv=Fvr;Sx.exports=Hv});var Ax=c((mee,Ex)=>{"use strict";var Lvr=ye(),Cvr=typeof Uint8ClampedArray=="function";function Uvr(r){return Cvr&&r instanceof Uint8ClampedArray||Lvr(r)==="[object Uint8ClampedArray]"}Ex.exports=Uvr});var jx=c((gee,_x)=>{"use strict";var Mvr=Ax();_x.exports=Mvr});var Ox=c((hee,Tx)=>{"use strict";var Gvr=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;Tx.exports=Gvr});var Dx=c((bee,Nx)=>{"use strict";var $vr=jx(),Ix=Ox();function Yvr(){var r,e;if(typeof Ix!="function")return!1;try{e=new Ix([-1,0,1,3.14,4.99,255,256]),r=$vr(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=Yvr});var Rx=c((xee,kx)=>{"use strict";var Wvr=Dx();kx.exports=Wvr});var zx=c((qee,Bx)=>{"use strict";var Jvr=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Bx.exports=Jvr});var Px=c((wee,Vx)=>{"use strict";function Kvr(){throw new Error("not implemented")}Vx.exports=Kvr});var vi=c((See,Fx)=>{"use strict";var Xvr=Rx(),Hvr=zx(),Zvr=Px(),Zv;Xvr()?Zv=Hvr:Zv=Zvr;Fx.exports=Zv});var Cx=c((Eee,Lx)=>{"use strict";var Qvr=ye(),rur=typeof Int8Array=="function";function eur(r){return rur&&r instanceof Int8Array||Qvr(r)==="[object Int8Array]"}Lx.exports=eur});var Mx=c((Aee,Ux)=>{"use strict";var aur=Cx();Ux.exports=aur});var Qv=c((_ee,Gx)=>{"use strict";var tur=127;Gx.exports=tur});var ru=c((jee,$x)=>{"use strict";var iur=-128;$x.exports=iur});var Wx=c((Tee,Yx)=>{"use strict";var our=typeof Int8Array=="function"?Int8Array:null;Yx.exports=our});var Xx=c((Oee,Kx)=>{"use strict";var sur=Mx(),nur=Qv(),vur=ru(),Jx=Wx();function uur(){var r,e;if(typeof Jx!="function")return!1;try{e=new Jx([1,3.14,-3.14,nur+1]),r=sur(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===vur}catch{r=!1}return r}Kx.exports=uur});var Zx=c((Iee,Hx)=>{"use strict";var fur=Xx();Hx.exports=fur});var rq=c((Nee,Qx)=>{"use strict";var lur=typeof Int8Array=="function"?Int8Array:void 0;Qx.exports=lur});var aq=c((Dee,eq)=>{"use strict";function cur(){throw new Error("not implemented")}eq.exports=cur});var ui=c((kee,tq)=>{"use strict";var dur=Zx(),pur=rq(),yur=aq(),eu;dur()?eu=pur:eu=yur;tq.exports=eu});var oq=c((Ree,iq)=>{"use strict";var mur=ba(),gur=Bv();function hur(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&mur(r.length)&&r.length>=0&&r.length<=gur}iq.exports=hur});var ze=c((Bee,sq)=>{"use strict";var bur=oq();sq.exports=bur});var Zo=c((zee,vq)=>{"use strict";var nq=Tr(),au=Un(),tu=Va(),xur=au(tu.isPrimitive),qur=au(tu.isObject),iu=au(tu);nq(iu,"primitives",xur);nq(iu,"objects",qur);vq.exports=iu});var fq=c((Vee,uq)=>{"use strict";function wur(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}uq.exports=wur});var cq=c((Pee,lq)=>{"use strict";function Sur(){var r={};return r.type="Complex128",r.re=this.re,r.im=this.im,r}lq.exports=Sur});var gq=c((Fee,mq)=>{"use strict";var dq=Ue().isPrimitive,pq=Ot(),Yi=Tr(),yq=cr(),Eur=fq(),Aur=cq();function Mt(r,e){if(!(this instanceof Mt))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(Mt,"BYTES_PER_ELEMENT",8);Yi(Mt.prototype,"BYTES_PER_ELEMENT",8);Yi(Mt.prototype,"byteLength",16);Yi(Mt.prototype,"toString",Eur);Yi(Mt.prototype,"toJSON",Aur);mq.exports=Mt});var Qo=c((Lee,hq)=>{"use strict";var _ur=gq();hq.exports=_ur});var xq=c((Cee,bq)=>{"use strict";var jur=typeof Math.fround=="function"?Math.fround:null;bq.exports=jur});var Sq=c((Uee,wq)=>{"use strict";var Tur=tt(),qq=new Tur(1);function Our(r){return qq[0]=r,qq[0]}wq.exports=Our});var _q=c((Mee,Aq)=>{"use strict";var Eq=xq(),Iur=Sq(),ou;typeof Eq=="function"?ou=Eq:ou=Iur;Aq.exports=ou});var Tq=c((Gee,jq)=>{"use strict";function Nur(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}jq.exports=Nur});var Iq=c(($ee,Oq)=>{"use strict";function Dur(){var r={};return r.type="Complex64",r.re=this.re,r.im=this.im,r}Oq.exports=Dur});var zq=c((Yee,Bq)=>{"use strict";var Nq=Ue().isPrimitive,Dq=Ot(),Wi=Tr(),kq=_q(),Rq=cr(),kur=Tq(),Rur=Iq();function Gt(r,e){if(!(this instanceof Gt))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(Gt,"BYTES_PER_ELEMENT",4);Wi(Gt.prototype,"BYTES_PER_ELEMENT",4);Wi(Gt.prototype,"byteLength",8);Wi(Gt.prototype,"toString",kur);Wi(Gt.prototype,"toJSON",Rur);Bq.exports=Gt});var rs=c((Wee,Vq)=>{"use strict";var Bur=zq();Vq.exports=Bur});var Fq=c((Jee,Pq)=>{"use strict";var zur=Qo(),Vur=rs();function Pur(r){return r instanceof zur||r instanceof Vur?!0:typeof r=="object"&&r!==null&&typeof r.re=="number"&&typeof r.im=="number"}Pq.exports=Pur});var na=c((Kee,Lq)=>{"use strict";var Fur=Fq();Lq.exports=Fur});var Uq=c((Xee,Cq)=>{"use strict";var Lur=ba();function Cur(r){return Lur(r/2)}Cq.exports=Cur});var su=c((Hee,Mq)=>{"use strict";var Uur=Uq();Mq.exports=Uur});var $q=c((Zee,Gq)=>{"use strict";var Mur=8;function Gur(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex64Array"&&r.BYTES_PER_ELEMENT===Mur}Gq.exports=Gur});var es=c((Qee,Yq)=>{"use strict";var $ur=$q();Yq.exports=$ur});var Jq=c((rae,Wq)=>{"use strict";var Yur=16;function Wur(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex128Array"&&r.BYTES_PER_ELEMENT===Yur}Wq.exports=Wur});var as=c((eae,Kq)=>{"use strict";var Jur=Jq();Kq.exports=Jur});var Hq=c((aae,Xq)=>{"use strict";var Kur=Jr(),ts=kn();function Xur(){return typeof ts=="function"&&typeof ts("foo")=="symbol"&&Kur(ts,"iterator")&&typeof ts.iterator=="symbol"}Xq.exports=Xur});var Ji=c((tae,Zq)=>{"use strict";var Hur=Hq();Zq.exports=Hur});var rw=c((iae,Qq)=>{"use strict";var Zur=Ji(),Qur=Zur()?Symbol.iterator:null;Qq.exports=Qur});var Re=c((oae,ew)=>{"use strict";var rfr=rw();ew.exports=rfr});var tw=c((sae,aw)=>{"use strict";function efr(r){return r.re}aw.exports=efr});var Ki=c((nae,iw)=>{"use strict";var afr=tw();iw.exports=afr});var sw=c((vae,ow)=>{"use strict";function tfr(r){return r.im}ow.exports=tfr});var Xi=c((uae,nw)=>{"use strict";var ifr=sw();nw.exports=ifr});var uw=c((fae,vw)=>{"use strict";var ofr=tt();function sfr(r,e){return new ofr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}vw.exports=sfr});var Hi=c((lae,fw)=>{"use strict";var nfr=uw();fw.exports=nfr});var cw=c((cae,lw)=>{"use strict";var vfr=rt();function ufr(r,e){return new vfr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}lw.exports=ufr});var Zi=c((dae,dw)=>{"use strict";var ffr=cw();dw.exports=ffr});var yw=c((pae,pw)=>{"use strict";var lfr=ze(),cfr=na(),dfr=Ki(),pfr=Xi(),yfr=cr();function mfr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,lfr(t)&&t.length>=2)e.push(t[0],t[1]);else if(cfr(t))e.push(dfr(t),pfr(t));else return new TypeError(yfr("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=mfr});var gw=c((yae,mw)=>{"use strict";var gfr=ze(),hfr=na(),bfr=Ki(),xfr=Xi(),qfr=cr();function wfr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),gfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(hfr(i))t.push(bfr(i),xfr(i));else return new TypeError(qfr("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=wfr});var bw=c((mae,hw)=>{"use strict";var Sfr=na(),Efr=Ki(),Afr=Xi();function _fr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!Sfr(t))return null;r[i]=Efr(t),r[i+1]=Afr(t),i+=2}return r}hw.exports=_fr});var _w=c((gae,Aw)=>{"use strict";var Qi=me().isPrimitive,nu=ze(),vu=De(),xw=Li(),uu=Vi(),jfr=ha(),Tfr=Zo().primitives,qw=Va().isPrimitive,Se=Fe(),ua=na(),is=su(),Ge=ba(),Ofr=es(),Ifr=as(),Nfr=Ji(),Pa=Re(),Mr=Tr(),os=mt(),va=tt(),Dfr=rs(),Dr=cr(),Ea=Ki(),Aa=Xi(),kfr=Ze(),Rfr=Hi(),Bfr=Zi(),zfr=bt(),Vfr=at(),ww=yw(),Pfr=gw(),Ffr=bw(),ea=va.BYTES_PER_ELEMENT*2,Sw=Nfr();function re(r){return r instanceof Fr||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===Fr||r.name==="Complex128Array"}function be(r,e){return e*=2,new Dfr(r[e],r[e+1])}function Fr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Fr))return e===0?new Fr:e===1?new Fr(arguments[0]):e===2?new Fr(arguments[0],arguments[1]):new Fr(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&&jfr(a)&&ua(a[0])){if(a=Ffr(new va(t*2),a),a===null){if(!is(t))throw new RangeError(Dr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new va(arguments[0])}}else{if(Ofr(a))a=Rfr(a,0);else if(Ifr(a))a=Bfr(a,0);else if(!is(t))throw new RangeError(Dr("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new va(a)}else if(xw(arguments[0])){if(a=arguments[0],!Ge(a.byteLength/ea))throw new RangeError(Dr("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(Dr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Se(a[Pa]))throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Pa](),!Se(a.next))throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=ww(a),a instanceof Error)throw a;a=new va(a)}else throw new TypeError(Dr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!xw(a))throw new TypeError(Dr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!Qi(r))throw new TypeError(Dr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!Ge(r/ea))throw new RangeError(Dr("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(Dr("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(Dr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ea>a.byteLength-r)throw new RangeError(Dr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ea));a=new va(a,r,t*2)}}return Mr(this,"_buffer",a),Mr(this,"_length",a.length/2),this}Mr(Fr,"BYTES_PER_ELEMENT",ea);Mr(Fr,"name","Complex64Array");Mr(Fr,"from",function(e){var a,t,o,i,n,s,v,u,f,l,d,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(Dr("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),n=i._buffer,m=0,d=0;d<u;d++){if(l=o.call(a,e.get(d),d),ua(l))n[m]=Ea(l),n[m+1]=Aa(l);else if(nu(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(vu(e)){if(o){for(u=e.length,e.get&&e.set?v=Vfr("default"):v=zfr("default"),d=0;d<u;d++)if(!ua(v(e,d))){f=!0;break}if(f){if(!is(u))throw new RangeError(Dr("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,u));for(i=new this(u/2),n=i._buffer,d=0;d<u;d++)n[d]=o.call(a,v(e,d),d);return i}for(i=new this(u),n=i._buffer,m=0,d=0;d<u;d++){if(l=o.call(a,v(e,d),d),ua(l))n[m]=Ea(l),n[m+1]=Aa(l);else if(nu(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(uu(e)&&Sw&&Se(e[Pa])){if(n=e[Pa](),!Se(n.next))throw new TypeError(Dr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=Pfr(n,o,a):s=ww(n),s instanceof Error)throw s;for(u=s.length/2,i=new this(u),n=i._buffer,d=0;d<u;d++)n[d]=s[d];return i}throw new TypeError(Dr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Mr(Fr,"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(Fr.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(Dr("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(Fr.prototype,"buffer",function(){return this._buffer.buffer});os(Fr.prototype,"byteLength",function(){return this._buffer.byteLength});os(Fr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Mr(Fr.prototype,"BYTES_PER_ELEMENT",Fr.BYTES_PER_ELEMENT);Mr(Fr.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(Fr.prototype,"entries",function(){var e,a,t,o,i,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},Mr(a,"next",s),Mr(a,"return",v),Pa&&Mr(a,Pa,u),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,be(o,n)],done:!1}}function v(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return e.entries()}});Mr(Fr.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(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,be(t,o),o,this))return!1;return!0});Mr(Fr.prototype,"fill",function(e,a,t){var o,i,n,s,v,u;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!Ge(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!Ge(t))throw new TypeError(Dr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=Ea(e),v=Aa(e),u=a;u<t;u++)n=2*u,o[n]=s,o[n+1]=v;return this});Mr(Fr.prototype,"filter",function(e,a){var t,o,i,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=be(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Mr(Fr.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(Dr("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(Fr.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(Dr("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(Fr.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(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=be(t,o),e.call(a,i,o,this))return i});Mr(Fr.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(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=be(t,o),e.call(a,i,o,this))return o;return-1});Mr(Fr.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(Dr("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(Fr.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(Dr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return be(this._buffer,e)});Mr(Fr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ea(e),n=Aa(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Mr(Fr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Ea(e),n=Aa(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Mr(Fr.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(Dr("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(be(t,i).toString());return a.join(o)});Mr(Fr.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",n),Mr(a,"return",s),Pa&&Mr(a,Pa,v),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(u){return o=!0,arguments.length?{value:u,done:!0}:{done:!0}}function v(){return e.keys()}});Mr(Fr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ua(e))throw new TypeError(Dr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!Ge(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(i=Ea(e),n=Aa(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});os(Fr.prototype,"length",function(){return this._length});Mr(Fr.prototype,"map",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,be(o,n),n,this),ua(s))t[2*n]=Ea(s),t[2*n+1]=Aa(s);else if(nu(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(Dr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Mr(Fr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=be(t,0),s=1}for(;s<i;s++)n=be(t,s),o=e(o,n,s,this);return o});Mr(Fr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=be(t,i-1),s=i-2}for(;s>=0;s--)n=be(t,s),o=e(o,n,s,this);return o});Mr(Fr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=kfr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Mr(Fr.prototype,"set",function(e){var a,t,o,i,n,s,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(Dr("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(Dr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Ea(e),o[t+1]=Aa(e);return}if(re(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*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<s;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(vu(e)){for(s=e.length,u=0;u<s;u++)if(!ua(e[u])){n=!0;break}if(n){if(!is(s))throw new RangeError(Dr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ea,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new va(s),u=0;u<s;u++)i[u]=a[u];a=i}for(t*=2,s/=2,f=0,u=0;u<s;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,u=0;u<s;u++)v=e[u],o[t]=Ea(v),o[t+1]=Aa(v),t+=2;return}throw new TypeError(Dr("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Mr(Fr.prototype,"slice",function(e,a){var t,o,i,n,s,v,u;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,v=this._length,arguments.length===0)e=0,a=v;else{if(!Ge(e))throw new TypeError(Dr("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(Dr("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++)n=2*(u+e),o[2*u]=s[n],o[2*u+1]=s[n+1];return i});Mr(Fr.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(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,be(t,o),o,this))return!0;return!1});Mr(Fr.prototype,"sort",function(e){var a,t,o,i,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Se(e))throw new TypeError(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(be(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=Ea(a[i]),t[n+1]=Aa(a[i]);return this});Mr(Fr.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(Dr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!Ge(a))throw new TypeError(Dr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*ea):(i=a-e,t=o.byteOffset+e*ea),new this.constructor(o.buffer,t,i<0?0:i)});Mr(Fr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(qw(e)||Tfr(e))o=e;else throw new TypeError(Dr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(uu(a))t=a;else throw new TypeError(Dr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(be(n,s).toLocaleString(o,t));return i.join(",")});Mr(Fr.prototype,"toReversed",function(){var e,a,t,o,i,n;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++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Mr(Fr.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(Dr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(be(t,i));return a.sort(e),new Fr(a)});Mr(Fr.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(Fr.prototype,"values",function(){var e,a,t,o,i,n;if(!re(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Mr(e,"next",s),Mr(e,"return",v),Pa&&Mr(e,Pa,u),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:be(i,n),done:!1}}function v(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return a.values()}});Mr(Fr.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(Dr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Dr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!ua(a))throw new TypeError(Dr("invalid argument. Second argument must be a complex number. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,t[2*e]=Ea(a),t[2*e+1]=Aa(a),o});Aw.exports=Fr});var fi=c((hae,jw)=>{"use strict";var Lfr=_w();jw.exports=Lfr});var Ow=c((bae,Tw)=>{"use strict";var Cfr=ze(),Ufr=na(),Mfr=cr(),Gfr=Bt(),$fr=zt();function Yfr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,Cfr(t)&&t.length>=2)e.push(t[0],t[1]);else if(Ufr(t))e.push(Gfr(t),$fr(t));else return new TypeError(Mfr("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=Yfr});var Nw=c((xae,Iw)=>{"use strict";var Wfr=ze(),Jfr=na(),Kfr=cr(),Xfr=Bt(),Hfr=zt();function Zfr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),Wfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(Jfr(i))t.push(Xfr(i),Hfr(i));else return new TypeError(Kfr("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=Zfr});var kw=c((qae,Dw)=>{"use strict";var Qfr=na(),rlr=Bt(),elr=zt();function alr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!Qfr(t))return null;r[i]=rlr(t),r[i+1]=elr(t),i+=2}return r}Dw.exports=alr});var Cw=c((wae,Lw)=>{"use strict";var ro=me().isPrimitive,fu=ze(),lu=De(),Rw=Li(),cu=Vi(),tlr=ha(),ilr=Zo().primitives,Bw=Va(),Ee=Fe(),la=na(),ss=su(),$e=ba(),olr=es(),slr=as(),nlr=Ji(),Fa=Re(),Gr=Tr(),ns=mt(),fa=rt(),zw=Qo(),_a=Bt(),ja=zt(),vlr=Ze(),ulr=Hi(),flr=Zi(),llr=bt(),clr=at(),kr=cr(),Vw=Ow(),dlr=Nw(),plr=kw(),aa=fa.BYTES_PER_ELEMENT*2,Pw=nlr();function ee(r){return r instanceof Lr||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===Lr||r.name==="Complex64Array"}function we(r,e){return e*=2,new zw(r[e],r[e+1])}function Lr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Lr))return e===0?new Lr:e===1?new Lr(arguments[0]):e===2?new Lr(arguments[0],arguments[1]):new Lr(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&&tlr(a)&&la(a[0])){if(a=plr(new fa(t*2),a),a===null){if(!ss(t))throw new RangeError(kr("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(olr(a))a=ulr(a,0);else if(slr(a))a=flr(a,0);else if(!ss(t))throw new RangeError(kr("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(kr("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(kr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Ee(a[Fa]))throw new TypeError(kr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Fa](),!Ee(a.next))throw new TypeError(kr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=Vw(a),a instanceof Error)throw a;a=new fa(a)}else throw new TypeError(kr("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(kr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!ro(r))throw new TypeError(kr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!$e(r/aa))throw new RangeError(kr("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(kr("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(kr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*aa>a.byteLength-r)throw new RangeError(kr("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(Lr,"BYTES_PER_ELEMENT",aa);Gr(Lr,"name","Complex128Array");Gr(Lr,"from",function(e){var a,t,o,i,n,s,v,u,f,l,d,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(kr("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),n=i._buffer,m=0,d=0;d<u;d++){if(l=o.call(a,e.get(d),d),la(l))n[m]=_a(l),n[m+1]=ja(l);else if(fu(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(lu(e)){if(o){for(u=e.length,e.get&&e.set?v=clr("default"):v=llr("default"),d=0;d<u;d++)if(!la(v(e,d))){f=!0;break}if(f){if(!ss(u))throw new RangeError(kr("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",u));for(i=new this(u/2),n=i._buffer,d=0;d<u;d++)n[d]=o.call(a,v(e,d),d);return i}for(i=new this(u),n=i._buffer,m=0,d=0;d<u;d++){if(l=o.call(a,v(e,d),d),la(l))n[m]=_a(l),n[m+1]=ja(l);else if(fu(l)&&l.length>=2)n[m]=l[0],n[m+1]=l[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));m+=2}return i}return new this(e)}if(cu(e)&&Pw&&Ee(e[Fa])){if(n=e[Fa](),!Ee(n.next))throw new TypeError(kr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=dlr(n,o,a):s=Vw(n),s instanceof Error)throw s;for(u=s.length/2,i=new this(u),n=i._buffer,d=0;d<u;d++)n[d]=s[d];return i}throw new TypeError(kr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Gr(Lr,"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(Lr.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(kr("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(Lr.prototype,"buffer",function(){return this._buffer.buffer});ns(Lr.prototype,"byteLength",function(){return this._buffer.byteLength});ns(Lr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Gr(Lr.prototype,"BYTES_PER_ELEMENT",Lr.BYTES_PER_ELEMENT);Gr(Lr.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(Lr.prototype,"entries",function(){var e,a,t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,e=this._buffer,o=this._length,n=-1,s=-2,t={},Gr(t,"next",v),Gr(t,"return",u),Fa&&Gr(t,Fa,f),t;function v(){var l;return n+=1,i||n>=o?{done:!0}:(s+=2,l=new zw(e[s],e[s+1]),{value:[n,l],done:!1})}function u(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function f(){return a.entries()}});Gr(Lr.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(kr("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(Lr.prototype,"fill",function(e,a,t){var o,i,n,s,v,u;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(e))throw new TypeError(kr("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(kr("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(kr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=_a(e),v=ja(e),u=a;u<t;u++)n=2*u,o[n]=s,o[n+1]=v;return this});Gr(Lr.prototype,"filter",function(e,a){var t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=we(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Gr(Lr.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(kr("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(Lr.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(kr("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(Lr.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(kr("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(Lr.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(kr("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(Lr.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(kr("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(Lr.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(kr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return we(this._buffer,e)});ns(Lr.prototype,"length",function(){return this._length});Gr(Lr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("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=_a(e),n=ja(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Gr(Lr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("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=_a(e),n=ja(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Gr(Lr.prototype,"join",function(e){var a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(Bw(e))o=e;else throw new TypeError(kr("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(Lr.prototype,"keys",function(){var e,a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Gr(a,"next",n),Gr(a,"return",s),Fa&&Gr(a,Fa,v),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(u){return o=!0,arguments.length?{value:u,done:!0}:{done:!0}}function v(){return e.keys()}});Gr(Lr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!la(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("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=_a(e),n=ja(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Gr(Lr.prototype,"map",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,we(o,n),n,this),la(s))t[2*n]=_a(s),t[2*n+1]=ja(s);else if(fu(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Gr(Lr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,0),s=1}for(;s<i;s++)n=we(t,s),o=e(o,n,s,this);return o});Gr(Lr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,i-1),s=i-2}for(;s>=0;s--)n=we(t,s),o=e(o,n,s,this);return o});Gr(Lr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=vlr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Gr(Lr.prototype,"set",function(e){var a,t,o,i,n,s,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(kr("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(kr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=_a(e),o[t+1]=ja(e);return}if(ee(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*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<s;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(lu(e)){for(s=e.length,u=0;u<s;u++)if(!la(e[u])){n=!0;break}if(n){if(!ss(s))throw new RangeError(kr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*aa,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new fa(s),u=0;u<s;u++)i[u]=a[u];a=i}for(t*=2,s/=2,f=0,u=0;u<s;u++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,u=0;u<s;u++)v=e[u],o[t]=_a(v),o[t+1]=ja(v),t+=2;return}throw new TypeError(kr("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Gr(Lr.prototype,"slice",function(e,a){var t,o,i,n,s,v,u;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,v=this._length,arguments.length===0)e=0,a=v;else{if(!$e(e))throw new TypeError(kr("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(kr("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++)n=2*(u+e),o[2*u]=s[n],o[2*u+1]=s[n+1];return i});Gr(Lr.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(kr("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(Lr.prototype,"sort",function(e){var a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(we(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=_a(a[i]),t[n+1]=ja(a[i]);return this});Gr(Lr.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(kr("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(kr("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(Lr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Bw(e)||ilr(e))o=e;else throw new TypeError(kr("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(kr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(we(n,s).toLocaleString(o,t));return i.join(",")});Gr(Lr.prototype,"toReversed",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Gr(Lr.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(kr("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 Lr(a)});Gr(Lr.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(Lr.prototype,"values",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Gr(e,"next",s),Gr(e,"return",v),Fa&&Gr(e,Fa,u),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:we(i,n),done:!1}}function v(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function u(){return a.values()}});Gr(Lr.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(kr("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(kr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!la(a))throw new TypeError(kr("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]=_a(a),t[2*e+1]=ja(a),o});Lw.exports=Lr});var li=c((Sae,Uw)=>{"use strict";var ylr=Cw();Uw.exports=ylr});var Gw=c((Eae,Mw)=>{"use strict";var mlr=Nt();function glr(r){var e,a;for(e=[];a=r.next(),!a.done;)e.push(mlr(a.value));return e}Mw.exports=glr});var Yw=c((Aae,$w)=>{"use strict";var hlr=Nt();function blr(r,e,a){var t,o,i;for(t=[],i=-1;o=r.next(),!o.done;)i+=1,t.push(hlr(e.call(a,o.value,i)));return t}$w.exports=blr});var Jw=c((_ae,Ww)=>{"use strict";var xlr=Nt();function qlr(r,e){var a,t;for(a=e.length,t=0;t<a;t++)r[t]=xlr(e[t]);return r}Ww.exports=qlr});var e3=c((jae,r3)=>{"use strict";var eo=me().isPrimitive,du=De(),Kw=Li(),pu=Vi(),Ae=Fe(),ao=de().isPrimitive,Ta=ue().isPrimitive,Xw=Va().isPrimitive,wlr=Zo().primitives,Slr=Ji(),La=Re(),$r=Tr(),vs=mt(),it=Qe(),le=Nt(),Elr=bt(),Alr=Ze(),_lr=at(),Yr=cr(),Hw=Gw(),jlr=Yw(),Tlr=Jw(),$t=it.BYTES_PER_ELEMENT,Zw=Slr();function ae(r){return typeof r=="object"&&r!==null&&r.constructor.name==="BooleanArray"&&r.BYTES_PER_ELEMENT===$t}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 it(0);else if(e===1)if(o=arguments[0],eo(o))a=new it(o);else if(du(o))a=Tlr(new it(o.length),o);else if(Kw(o))a=new it(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[La]))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[La](),!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 it(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],!Kw(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 it(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*$t>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*$t));a=new it(a,r,t)}}return $r(this,"_buffer",a),$r(this,"_length",a.length),this}$r(Ur,"BYTES_PER_ELEMENT",$t);$r(Ur,"name","BooleanArray");$r(Ur,"from",function(e){var a,t,o,i,n,s,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=_lr("default"):v=Elr("default"),i=new this(u),n=i._buffer,f=0;f<u;f++)n[f]=le(o.call(a,v(e,f),f));return i}return new this(e)}if(pu(e)&&Zw&&Ae(e[La])){if(n=e[La](),!Ae(n.next))throw new TypeError(Yr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));for(o?s=jlr(n,o,a):s=Hw(n),u=s.length,i=new this(u),n=i._buffer,f=0;f<u;f++)n[f]=s[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(!Ta(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 le(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,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},$r(a,"next",s),$r(a,"return",v),La&&$r(a,La,u),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,le(o[n])],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,le(t[o]),o,this))return!1;return!0});$r(Ur.prototype,"fill",function(e,a,t){var o,i,n,s;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(!Ta(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(!Ta(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?n=1:n=0,s=a;s<t;s++)o[s]=n;return this});$r(Ur.prototype,"filter",function(e,a){var t,o,i,n;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++)n=le(t[i]),e.call(a,n,i,this)&&o.push(n);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=le(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=le(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=le(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=le(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,le(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 le(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(!Ta(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===le(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(!Ta(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===le(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(!Xw(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",n),$r(a,"return",s),La&&$r(a,La,v),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(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(!Ta(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===le(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,n;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,n=0;n<this._length;n++)t[n]=le(e.call(a,le(i[n]),n,this));return o});$r(Ur.prototype,"reduce",function(e,a){var t,o,i,n;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,n=0;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=le(t[0]),n=1}for(;n<o;n++)i=e(i,le(t[n]),n,this);return i});$r(Ur.prototype,"reduceRight",function(e,a){var t,o,i,n;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,n=o-1;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=le(t[o-1]),n=o-2}for(;n>=0;n--)i=e(i,le(t[n]),n,this);return i});$r(Ur.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=this._buffer,t=this._length,o=Alr(t/2),i=0;i<o;i++)n=t-i-1,a=e[i],e[i]=e[n],e[n]=a;return this});$r(Ur.prototype,"set",function(e){var a,t,o,i,n,s,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(n=e.length,t+n>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*$t,a.buffer===o.buffer&&a.byteOffset<v&&a.byteOffset+a.byteLength>v){for(i=new it(a.length),s=0;s<a.length;s++)i[s]=a[s];a=i}for(s=0;s<n;t++,s++)o[t]=a[s]?1:0;return}if(t>=this._length)throw new RangeError(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,n,s,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(n=this._buffer,s=this._length,arguments.length===0)e=0,a=s;else{if(!Ta(e))throw new TypeError(Yr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=s,e<0&&(e=0)),arguments.length===1)a=s;else{if(!Ta(a))throw new TypeError(Yr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=s,a<0&&(a=0)):a>s&&(a=s)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)o[v]=n[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,le(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(le(o),le(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(!Ta(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(!Ta(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*$t):(i=a-e,t=o.byteOffset+e*$t),new this.constructor(o.buffer,t,i<0?0:i)});$r(Ur.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)o=[];else if(Xw(e)||wlr(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(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(le(n[s]).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,n;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,n=0;n<o;n++)a[n]=i[n];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(s),t;function s(v,u){return e(le(v),le(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,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},$r(e,"next",s),$r(e,"return",v),La&&$r(e,La,u),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:le(i[n]),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(!Ta(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=c((Tae,a3)=>{"use strict";var Olr=e3();a3.exports=Olr});var i3=c((Oae,t3)=>{"use strict";var Ilr=rt(),Nlr=tt(),Dlr=oi(),klr=si(),Rlr=Vt(),Blr=ni(),zlr=Qe(),Vlr=vi(),Plr=ui(),Flr=fi(),Llr=li(),Clr=ci(),Ulr=[Ilr,Nlr,klr,Dlr,Blr,Rlr,Plr,zlr,Vlr,Flr,Llr,Clr];t3.exports=Ulr});var s3=c((Iae,o3)=>{"use strict";var Mlr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];o3.exports=Mlr});var u3=c((Nae,v3)=>{"use strict";var Glr=Pi(),$lr=ha(),Ylr=yt(),Wlr=u2(),Jlr=i3(),n3=s3(),Klr=n3.length;function Xlr(r){var e;if($lr(r))return"generic";if(Glr(r))return null;for(e=0;e<Klr;e++)if(r instanceof Jlr[e])return n3[e];return Wlr[Ylr(r)]||null}v3.exports=Xlr});var to=c((Dae,f3)=>{"use strict";var Hlr=u3();f3.exports=Hlr});var c3=c((kae,l3)=>{"use strict";var Zlr=et(),Qlr=at(),rcr=bt(),ecr=to();function acr(r,e){var a,t,o,i;for(o=ecr(r),Zlr(r)?t=Qlr(o):t=rcr(o),a=r.length,i=0;i<a;i++)if(t(r,i)===e)return!0;return!1}l3.exports=acr});var p3=c((Rae,d3)=>{"use strict";var tcr=De(),icr=et(),ocr=at(),scr=to(),ncr=cr();function vcr(r){var e,a,t;if(!tcr(r))throw new TypeError(ncr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return t=scr(r),icr(r)&&(e=ocr(t)),a=r.length,e===void 0?o:i;function o(n){var s;for(s=0;s<a;s++)if(r[s]===n)return!0;return!1}function i(n){var s;for(s=0;s<a;s++)if(e(r,s)===n)return!0;return!1}}d3.exports=vcr});var Ve=c((Bae,m3)=>{"use strict";var ucr=Tr(),y3=c3(),fcr=p3();ucr(y3,"factory",fcr);m3.exports=y3});var h3=c((zae,g3)=>{"use strict";var lcr=Ve().factory,ccr=ke(),dcr=lcr(ccr());g3.exports=dcr});var di=c((Vae,b3)=>{"use strict";var pcr=h3();b3.exports=pcr});var q3=c((Pae,x3)=>{"use strict";var ycr=Za();function mcr(r,e,a,t){var o=ycr(e,a,t);return o[0]>=0&&o[1]<r}x3.exports=mcr});var yu=c((Fae,w3)=>{"use strict";var gcr=q3();w3.exports=gcr});var mu=c((Lae,S3)=>{"use strict";function hcr(){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=hcr});var A3=c((Cae,E3)=>{"use strict";var bcr=mu(),ta=bcr(),xcr={"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 qcr(r){var e=xcr[r];return e===void 0?null:e}E3.exports=qcr});var Oa=c((Uae,j3)=>{"use strict";var wcr=Tr(),_3=mu(),Scr=A3();wcr(_3,"get",Scr);j3.exports=_3});var O3=c((Mae,T3)=>{"use strict";var Ecr=cr();function Acr(r){var e=typeof r;return r===null||e!=="object"&&e!=="function"?new TypeError(Ecr("invalid argument. A provided constructor must be either an object (except null) or a function. Value: `%s`.",r)):null}T3.exports=Acr});var N3=c((Gae,I3)=>{"use strict";I3.exports=Object.create});var R3=c(($ae,k3)=>{"use strict";function D3(){}function _cr(r){return D3.prototype=r,new D3}k3.exports=_cr});var V3=c((Yae,z3)=>{"use strict";var B3=N3(),jcr=R3(),gu;typeof B3=="function"?gu=B3:gu=jcr;z3.exports=gu});var L3=c((Wae,F3)=>{"use strict";var Tcr=Ot(),Ocr=cr(),P3=O3(),Icr=V3();function Ncr(r,e){var a=P3(r);if(a||(a=P3(e),a))throw a;if(typeof e.prototype>"u")throw new TypeError(Ocr("invalid argument. Second argument must have a prototype from which another object can inherit. Value: `%s`.",e.prototype));return r.prototype=Icr(e.prototype),Tcr(r.prototype,"constructor",{configurable:!0,enumerable:!1,writable:!0,value:r}),r}F3.exports=Ncr});var hu=c((Jae,C3)=>{"use strict";var Dcr=L3();C3.exports=Dcr});var M3=c((Kae,U3)=>{"use strict";function kcr(r,e){return r<0?0:r>e?e:r}U3.exports=kcr});var us=c((Xae,G3)=>{"use strict";var Rcr=M3();G3.exports=Rcr});var Y3=c((Hae,$3)=>{"use strict";function Bcr(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=Bcr});var fs=c((Zae,W3)=>{"use strict";var zcr=Y3();W3.exports=zcr});var K3=c((Qae,J3)=>{"use strict";function Vcr(r,e){return r<0?(r+=e+1,r<0?-1:r):r>e?-1:r}J3.exports=Vcr});var ca=c((rte,X3)=>{"use strict";var Pcr=K3();X3.exports=Pcr});var Z3=c((ete,H3)=>{"use strict";var Fcr=Ve().factory,Lcr=Ct(),Ccr=Fcr(Lcr());H3.exports=Ccr});var pi=c((ate,Q3)=>{"use strict";var Ucr=Z3();Q3.exports=Ucr});var e4=c((tte,r4)=>{"use strict";var Mcr=us(),Gcr=fs(),$cr=ca(),Ycr=pi(),bu=cr(),Wcr={wrap:Gcr,clamp:Mcr,normalize:Kcr,throw:Jcr};function Jcr(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 Kcr(r,e){var a=$cr(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 Xcr(r){if(!Ycr(r))throw new TypeError(bu("invalid argument. First argument must be a recognized index mode. Value: `%s`.",r));return Wcr[r]}r4.exports=Xcr});var t4=c((ite,a4)=>{"use strict";var Hcr=us(),Zcr=fs(),Qcr=ca(),rdr=cr();function edr(r,e,a){var t;if(a==="clamp")return Hcr(r,e);if(a==="wrap")return Zcr(r,e);if(t=r,a==="normalize"&&(t=Qcr(t,e)),t<0||t>e)throw new RangeError(rdr("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return t}a4.exports=edr});var ot=c((ote,o4)=>{"use strict";var adr=Tr(),tdr=e4(),i4=t4();adr(i4,"factory",tdr);o4.exports=i4});var v4=c((ste,n4)=>{"use strict";var idr=ue().isPrimitive,odr=ot(),sdr=ra(),ndr=cr(),s4=sdr.prototype.iget;function vdr(r){if(this._ndims>0){if(!idr(r))throw new TypeError(ndr("invalid argument. Index must be an integer. Value: `%s`.",r));return r=odr(r,this._length-1,this._mode),s4.call(this,r)}return s4.call(this)}n4.exports=vdr});var l4=c((nte,f4)=>{"use strict";var udr=ue().isPrimitive,fdr=ot(),ldr=ra(),cdr=cr(),u4=ldr.prototype.iset;function ddr(r,e){if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(this._ndims>0){if(!udr(r))throw new TypeError(cdr("invalid argument. Index must be an integer. Value: `%s`.",r));r=fdr(r,this._length-1,this._mode),u4.call(this,r,e)}else u4.call(this,r);return this}f4.exports=ddr});var p4=c((vte,d4)=>{"use strict";var pdr=ue().isPrimitive,ydr=ot(),c4=cr();function mdr(){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(!pdr(arguments[t]))throw new TypeError(c4("invalid argument. Indices must be integer valued. Argument: `%u`. Value: `%s`.",t,arguments[t]));e=ydr(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=mdr});var g4=c((ute,m4)=>{"use strict";var gdr=ue().isPrimitive,hdr=ot(),y4=cr();function bdr(){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(!gdr(arguments[t]))throw new TypeError(y4("invalid argument. Indices must be integer valued. Argument: `%i`. Value: `%s`.",t,arguments[t]));e=hdr(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=bdr});var b4=c((fte,h4)=>{"use strict";function xdr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r[t]);return a}h4.exports=xdr});var w4=c((lte,q4)=>{"use strict";var qdr=oe(),xu=Jr(),wdr=ze(),x4=pi(),Sdr=de().isPrimitive,yi=cr();function Edr(r,e){var a;if(!qdr(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,!wdr(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,!Sdr(r.readonly))?new TypeError(yi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",r.readonly)):null}q4.exports=Edr});var O4=c((cte,T4)=>{"use strict";var io=Tr(),S4=De(),Adr=Ut().primitives,_dr=me().isPrimitive,jdr=Uv().primitives,E4=Fe(),Tdr=Sa(),Odr=di(),Idr=yu(),Ndr=Wr(),j4=ra(),Ddr=Oa(),kdr=hu(),Ca=cr(),Rdr=v4(),Bdr=l4(),zdr=p4(),Vdr=g4(),A4=b4(),Pdr=w4(),_4=32767,Fdr=Ddr.get("index_mode"),Ldr=!1;function Ua(r,e,a,t,o,i,n){var s,v,u,f,l;if(!(this instanceof Ua))return arguments.length<7?new Ua(r,e,a,t,o,i):new Ua(r,e,a,t,o,i,n);if(!Odr(r))throw new TypeError(Ca("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(Ca("invalid argument. Second argument `get` and `set` properties must be functions. Value: `%s`.",e))}else throw new TypeError(Ca("invalid argument. Second argument must be an array-like object, typed-array-like, or a Buffer. Value: `%s`.",e));if(!Adr(a)&&(!S4(a)||a.length>0))throw new TypeError(Ca("invalid argument. Third argument must be an array-like object containing nonnegative integers. Value: `%s`.",a));if(s=a.length,s>_4)throw new RangeError(Ca("invalid argument. Number of dimensions must not exceed %u due to stack limits. Value: `%u`.",_4,s));if(!jdr(t))throw new TypeError(Ca("invalid argument. Fourth argument must be an array-like object containing integers. Value: `%s`.",t));if(s>0){if(t.length!==s)throw new RangeError(Ca("invalid argument. Fourth argument length must match the number of dimensions. Expected number of dimensions: `%u`. Strides length: `%u`.",s,t.length))}else{if(t.length!==1)throw new RangeError("invalid argument. Fourth argument length must be equal to 1 when creating a zero-dimensional ndarray.");if(t[0]!==0)throw new RangeError(Ca("invalid argument. Fourth argument must contain a single element equal to 0. Value: `%d`.",t[0]))}if(!_dr(o))throw new TypeError(Ca("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!Tdr(i))throw new TypeError(Ca("invalid argument. Sixth argument must be a supported order. Value: `%s`.",i));if(s>0&&!Idr(e.length,a,t,o)&&Ndr(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=Fdr,v.readonly=Ldr,arguments.length>6&&(u=Pdr(v,n),u))throw u;return this._mode=v.mode,v.submode===void 0&&(v.submode=[this._mode]),this._submode=v.submode,f=A4(a,s),l=A4(t,s||1),j4.call(this,r,e,f,l,o,i),this._flags.READONLY=v.readonly,this}kdr(Ua,j4);io(Ua,"name","ndarray");io(Ua.prototype,"get",zdr);io(Ua.prototype,"iget",Rdr);io(Ua.prototype,"set",Vdr);io(Ua.prototype,"iset",Bdr);T4.exports=Ua});var da=c((dte,I4)=>{"use strict";var Cdr=O4();I4.exports=Cdr});var N4=c((pte,Udr)=>{Udr.exports=["none","equiv","safe","mostly-safe","same-kind","unsafe"]});var k4=c((yte,D4)=>{"use strict";var Mdr=N4();function Gdr(){return Mdr.slice()}D4.exports=Gdr});var B4=c((mte,R4)=>{"use strict";function $dr(){return{none:0,equiv:1,safe:2,"mostly-safe":3,"same-kind":4,unsafe:5}}R4.exports=$dr});var qu=c((gte,V4)=>{"use strict";var Ydr=Tr(),z4=k4(),Wdr=B4();Ydr(z4,"enum",Wdr);V4.exports=z4});var L4=c((hte,F4)=>{"use strict";var Jdr=qu(),P4=Jdr(),Kdr=P4.length;function Xdr(r){var e;for(e=0;e<Kdr;e++)if(r===P4[e])return!0;return!1}F4.exports=Xdr});var wu=c((bte,C4)=>{"use strict";var Hdr=L4();C4.exports=Hdr});var G4=c((xte,M4)=>{"use strict";var Zdr=qa(),Qdr=ha(),r0r=oe(),e0r=Lo(),a0r=de().isPrimitive,U4=Jr(),Su=cr();function t0r(r,e){var a=!0,t,o,i,n,s,v,u;if(!e0r(r))throw new TypeError(Su("invalid argument. First argument must be an object (except null). Value: `%s`.",r));if(arguments.length>1){if(!r0r(e))throw new TypeError(Su("invalid argument. Options argument must be an object. Value: `%s`.",e));if(U4(e,"duplicates")&&(a=e.duplicates,!a0r(a)))throw new TypeError(Su("invalid option. `%s` option must be a boolean. Option: `%s`.","duplicates",a))}if(t=Zdr(r),o=t.length,s={},a)for(u=0;u<o;u++){if(i=t[u],n=r[i],!U4(s,n)){s[n]=i;continue}v=s[n],Qdr(v)?s[n].push(i):s[n]=[v,i]}else for(u=0;u<o;u++)i=t[u],s[r[i]]=i;return s}M4.exports=t0r});var ls=c((qte,$4)=>{"use strict";var i0r=G4();$4.exports=i0r});var W4=c((wte,Y4)=>{"use strict";var o0r=ls(),s0r=ke().enum,n0r=o0r(s0r(),{duplicates:!1});function v0r(r){var e=n0r[r];return typeof e=="string"?e:null}Y4.exports=v0r});var cs=c((Ste,J4)=>{"use strict";var u0r=W4();J4.exports=u0r});var X4=c((Ete,K4)=>{"use strict";var f0r=ke().enum,l0r=f0r();function c0r(r){var e=l0r[r];return typeof e=="number"?e:null}K4.exports=c0r});var oo=c((Ate,H4)=>{"use strict";var d0r=X4();H4.exports=d0r});var Q4=c((_te,Z4)=>{"use strict";var p0r=cs(),y0r=oo();function m0r(r){var e=typeof r;return e==="string"?y0r(r)===null?null:r:e==="number"?p0r(r):null}Z4.exports=m0r});var Ia=c((jte,r6)=>{"use strict";var g0r=Q4();r6.exports=g0r});var e6=c((Tte,h0r)=>{h0r.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=c((Ote,t6)=>{"use strict";var a6=qa(),b0r=Jr(),x0r=Ia(),ps=e6(),ds;function q0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=a6(ps),e=r.length,v=0;v<e;v++){for(o=r[v],n=ps[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function w0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=a6(ps),e=r.length,v=0;v<e;v++){for(o=r[v],n=ps[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function S0r(r){return arguments.length===0?q0r():(ds===void 0&&(ds=w0r()),r=x0r(r),b0r(ds,r)?ds[r].slice():null)}t6.exports=S0r});var Eu=c((Ite,o6)=>{"use strict";var E0r=i6();o6.exports=E0r});var n6=c((Nte,s6)=>{"use strict";var A0r=Eu(),_0r=A0r();function j0r(r,e){return r===e?!0:_0r[r][e]>0}s6.exports=j0r});var ys=c((Dte,v6)=>{"use strict";var T0r=n6();v6.exports=T0r});var u6=c((kte,O0r)=>{O0r.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=c((Rte,l6)=>{"use strict";var f6=qa(),I0r=Jr(),N0r=Ia(),gs=u6(),ms;function D0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=f6(gs),e=r.length,v=0;v<e;v++){for(o=r[v],n=gs[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function k0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=f6(gs),e=r.length,v=0;v<e;v++){for(o=r[v],n=gs[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function R0r(r){return arguments.length===0?D0r():(ms===void 0&&(ms=k0r()),r=N0r(r),I0r(ms,r)?ms[r].slice():null)}l6.exports=R0r});var Au=c((Bte,d6)=>{"use strict";var B0r=c6();d6.exports=B0r});var y6=c((zte,p6)=>{"use strict";var z0r=Au(),V0r=z0r();function P0r(r,e){return r===e?!0:V0r[r][e]>0}p6.exports=P0r});var hs=c((Vte,m6)=>{"use strict";var F0r=y6();m6.exports=F0r});var g6=c((Pte,L0r)=>{L0r.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=c((Fte,b6)=>{"use strict";var h6=qa(),C0r=Jr(),U0r=Ia(),xs=g6(),bs;function M0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=h6(xs),e=r.length,v=0;v<e;v++){for(o=r[v],n=xs[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function G0r(){var r,e,a,t,o,i,n,s,v;for(a={},r=h6(xs),e=r.length,v=0;v<e;v++){for(o=r[v],n=xs[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function $0r(r){return arguments.length===0?M0r():(bs===void 0&&(bs=G0r()),r=U0r(r),C0r(bs,r)?bs[r].slice():null)}b6.exports=$0r});var _u=c((Lte,q6)=>{"use strict";var Y0r=x6();q6.exports=Y0r});var S6=c((Cte,w6)=>{"use strict";var W0r=_u(),J0r=W0r();function K0r(r,e){return r===e?!0:J0r[r][e]>0}w6.exports=K0r});var ju=c((Ute,E6)=>{"use strict";var X0r=S6();E6.exports=X0r});var _6=c((Mte,A6)=>{"use strict";var H0r=ys(),Z0r=hs(),Q0r=ju();function rpr(r,e,a){return a==="unsafe"||r===e?!0:a==="none"||a==="equiv"?!1:a==="safe"?H0r(r,e):a==="mostly-safe"?Z0r(r,e):Q0r(r,e)}A6.exports=rpr});var Tu=c((Gte,j6)=>{"use strict";var epr=_6();j6.exports=epr});var O6=c(($te,T6)=>{"use strict";var apr=typeof Buffer=="function"?Buffer:null;T6.exports=apr});var N6=c((Yte,I6)=>{"use strict";var tpr=Pi(),qs=O6();function ipr(){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=tpr(e)&&e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4}catch{r=!1}return r}I6.exports=ipr});var k6=c((Wte,D6)=>{"use strict";var opr=N6();D6.exports=opr});var B6=c((Jte,R6)=>{"use strict";var spr=require("buffer").Buffer;R6.exports=spr});var V6=c((Kte,z6)=>{"use strict";function npr(){throw new Error("not implemented")}z6.exports=npr});var so=c((Xte,P6)=>{"use strict";var vpr=k6(),upr=B6(),fpr=V6(),Ou;vpr()?Ou=upr:Ou=fpr;P6.exports=Ou});var L6=c((Hte,F6)=>{"use strict";var lpr=so(),cpr=rt(),dpr=tt(),ppr=ni(),ypr=si(),mpr=ui(),gpr=Vt(),hpr=oi(),bpr=Qe(),xpr=vi(),qpr=fi(),wpr=li(),Spr=ci(),Epr={binary:lpr,float64:cpr,float32:dpr,generic:Array,int16:ppr,int32:ypr,int8:mpr,uint16:gpr,uint32:hpr,uint8:bpr,uint8c:xpr,complex64:qpr,complex128:wpr,bool:Spr};F6.exports=Epr});var U6=c((Zte,C6)=>{"use strict";var Apr=L6();function _pr(r){return Apr[r]||null}C6.exports=_pr});var no=c((Qte,M6)=>{"use strict";var jpr=U6();M6.exports=jpr});var $6=c((rie,G6)=>{"use strict";var Tpr=Fe(),Opr=so(),Ipr=Tpr(Opr.allocUnsafe);G6.exports=Ipr});var W6=c((eie,Y6)=>{"use strict";var Npr=me(),Dpr=cr(),kpr=so();function Rpr(r){if(!Npr(r))throw new TypeError(Dpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return kpr.allocUnsafe(r)}Y6.exports=Rpr});var K6=c((aie,J6)=>{"use strict";var Bpr=me(),zpr=cr(),Vpr=so();function Ppr(r){if(!Bpr(r))throw new TypeError(zpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return new Vpr(r)}J6.exports=Ppr});var Ma=c((tie,X6)=>{"use strict";var Fpr=$6(),Lpr=W6(),Cpr=K6(),Iu;Fpr?Iu=Lpr:Iu=Cpr;X6.exports=Iu});var Z6=c((iie,H6)=>{"use strict";function Upr(r){var e;for(e=0;e<r.length;e++)r[e]=0;return r}H6.exports=Upr});var rS=c((oie,Q6)=>{"use strict";var Mpr=no(),Gpr=Ma(),$pr=Z6();function Ypr(r){var e,a;for(e=[],a=0;a<r;a++)e.push(0);return e}function Wpr(r){return $pr(Gpr(r))}function Jpr(r,e){var a=Mpr(r);return a?new a(e):null}function Kpr(r,e){return r==="generic"?Ypr(e):r==="binary"?Wpr(e):Jpr(r,e)}Q6.exports=Kpr});var Na=c((sie,eS)=>{"use strict";var Xpr=rS();eS.exports=Xpr});var tS=c((nie,aS)=>{"use strict";var Hpr={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=Hpr});var oS=c((vie,iS)=>{"use strict";var Zpr=rt(),Qpr=tt(),ryr=oi(),eyr=si(),ayr=Vt(),tyr=ni(),iyr=Qe(),oyr=vi(),syr=ui(),nyr=fi(),vyr=li(),uyr=ci(),fyr=[Zpr,Qpr,eyr,ryr,tyr,ayr,syr,iyr,oyr,nyr,vyr,uyr];iS.exports=fyr});var nS=c((uie,sS)=>{"use strict";var lyr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];sS.exports=lyr});var fS=c((fie,uS)=>{"use strict";var cyr=Pi(),dyr=ha(),pyr=yt(),yyr=tS(),myr=oS(),vS=nS(),gyr=vS.length;function hyr(r){var e;if(dyr(r))return"generic";if(cyr(r))return"binary";for(e=0;e<gyr;e++)if(r instanceof myr[e])return vS[e];return yyr[pyr(r)]||null}uS.exports=hyr});var ws=c((lie,lS)=>{"use strict";var byr=fS();lS.exports=byr});var pS=c((cie,dS)=>{"use strict";var xyr=di(),cS=cr();function qyr(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,xyr(e))return e;throw new TypeError(cS("invalid argument. Must provide an ndarray having a supported data type. Value: `%s`.",e))}dS.exports=qyr});var Da=c((die,yS)=>{"use strict";var wyr=pS();yS.exports=wyr});var gS=c((pie,mS)=>{"use strict";var Syr=me().isPrimitive,Eyr=De(),Nu=cr();function Ayr(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,!Eyr(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],!Syr(t))throw new TypeError(Nu("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(t)}return e}mS.exports=Ayr});var ie=c((yie,hS)=>{"use strict";var _yr=gS();hS.exports=_yr});var qS=c((mie,xS)=>{"use strict";var jyr=ue().isPrimitive,bS=De(),Tyr=Sa(),Oyr=Be(),Du=cr();function Iyr(r){var e,a,t,o,i,n;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,Tyr(a)||(a="row-major"),Oyr(t,a))}for(e=[],n=0;n<o.length;n++){if(i=o[n],!jyr(i))throw new TypeError(Du("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(i)}return e}xS.exports=Iyr});var Ga=c((gie,wS)=>{"use strict";var Nyr=qS();wS.exports=Nyr});var _S=c((hie,AS)=>{"use strict";var SS=me().isPrimitive,ES=De(),Dyr=Me(),ku=cr();function kyr(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=Dyr(a,e),SS(t))return t;throw new TypeError(ku("invalid argument. Must provide an ndarray. Value: `%s`.",r))}AS.exports=kyr});var xt=c((bie,jS)=>{"use strict";var Ryr=_S();jS.exports=Ryr});var IS=c((xie,OS)=>{"use strict";var Byr=me().isPrimitive,zyr=De(),TS=cr();function Vyr(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,Byr(a))return a;if(e=r.shape,!zyr(e))throw new TypeError(TS("invalid argument. Must provide an ndarray. Value: `%s`.",r));return e.length}OS.exports=Vyr});var Ss=c((qie,NS)=>{"use strict";var Pyr=IS();NS.exports=Pyr});var RS=c((wie,kS)=>{"use strict";var Fyr=Sa(),Lyr=Ga(),Cyr=Ss(),Uyr=Rt(),Myr=cr(),DS="row-major",Gyr="column-major";function $yr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(Myr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return a=r.order,Fyr(a)?a:(e=Lyr(r),a=Uyr(e),a===1||a===3?DS:a===2?Gyr:Cyr(r)===0?DS:null)}kS.exports=$yr});var $a=c((Sie,BS)=>{"use strict";var Yyr=RS();BS.exports=Yyr});var PS=c((Eie,VS)=>{"use strict";var Wyr=De(),zS=cr();function Jyr(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,Wyr(e))return e;throw new TypeError(zS("invalid argument. Must provide an ndarray. Value: `%s`.",r))}VS.exports=Jyr});var st=c((Aie,FS)=>{"use strict";var Kyr=PS();FS.exports=Kyr});var MS=c((_ie,US)=>{"use strict";var Ru=ze(),Xyr=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,n,s;for(i=e[a],s=0;s<t.length;s++){if(n=t[s],!Ru(n)||n.length!==i)return a;if(o&&(n=CS(r,e,a+1,n,a+1<r-1),n<r))return n}return r}function Hyr(r){var e,a;if(!Ru(r))throw new TypeError(Xyr("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=Hyr});var $S=c((jie,GS)=>{"use strict";var Zyr=MS();GS.exports=Zyr});var WS=c((Tie,YS)=>{"use strict";function Qyr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r);return a}YS.exports=Qyr});var vo=c((Oie,JS)=>{"use strict";var rmr=WS();JS.exports=rmr});var XS=c((Iie,KS)=>{"use strict";var emr=vo();function amr(r){return emr(0,r)}KS.exports=amr});var xe=c((Nie,HS)=>{"use strict";var tmr=XS();HS.exports=tmr});var QS=c((Die,ZS)=>{"use strict";var imr=cr();function omr(r,e,a,t,o,i){var n,s,v,u,f;for(n=r.length,s=1,f=0;f<n;f++)s*=r[f];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(imr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(v=a,t==="column-major"){for(f=0;f<n;f++)u=o%r[f],o-=u,o/=r[f],v+=u*e[f];return v}for(f=n-1;f>=0;f--)u=o%r[f],o-=u,o/=r[f],v+=u*e[f];return v}ZS.exports=omr});var ia=c((kie,rE)=>{"use strict";var smr=QS();rE.exports=smr});var tE=c((Rie,aE)=>{"use strict";var eE={float64:nmr,float32:vmr,int32:umr,int16:fmr,int8:lmr,uint32:cmr,uint16:dmr,uint8:pmr,uint8c:ymr,generic:mmr,default:gmr};function nmr(r,e,a){r[e]=a}function vmr(r,e,a){r[e]=a}function umr(r,e,a){r[e]=a}function fmr(r,e,a){r[e]=a}function lmr(r,e,a){r[e]=a}function cmr(r,e,a){r[e]=a}function dmr(r,e,a){r[e]=a}function pmr(r,e,a){r[e]=a}function ymr(r,e,a){r[e]=a}function mmr(r,e,a){r[e]=a}function gmr(r,e,a){r[e]=a}function hmr(r){var e=eE[r];return typeof e=="function"?e:eE.default}aE.exports=hmr});var mi=c((Bie,iE)=>{"use strict";var bmr=tE();iE.exports=bmr});var nE=c((zie,sE)=>{"use strict";var oE={complex128:xmr,complex64:qmr,default:wmr};function xmr(r,e,a){r.set(a,e)}function qmr(r,e,a){r.set(a,e)}function wmr(r,e,a){r.set(a,e)}function Smr(r){var e=oE[r];return typeof e=="function"?e:oE.default}sE.exports=Smr});var gi=c((Vie,vE)=>{"use strict";var Emr=nE();vE.exports=Emr});var fE=c((Pie,uE)=>{"use strict";var Amr=et(),_mr=bt(),jmr=mi(),Tmr=at(),Omr=gi(),Imr=to();function Nmr(r){var e=Imr(r);return Amr(r)?{data:r,dtype:e,accessorProtocol:!0,accessors:[Tmr(e),Omr(e)]}:{data:r,dtype:e,accessorProtocol:!1,accessors:[_mr(e),jmr(e)]}}uE.exports=Nmr});var nt=c((Fie,lE)=>{"use strict";var Dmr=fE();lE.exports=Dmr});var Bu=c((Lie,cE)=>{"use strict";var kmr=Ze();function Rmr(r,e,a,t){var o,i,n,s,v,u,f,l;for(o=e.data,n=e.accessors[0],i=e.accessors[1],f=kmr(r/2),v=t,u=v+(r-1)*a,l=0;l<f;l++)s=n(o,v),i(o,v,n(o,u)),i(o,u,s),v+=a,u-=a;return e}cE.exports=Rmr});var pE=c((Cie,dE)=>{"use strict";var Bmr=Ze(),zmr=nt(),Vmr=Bu(),Es=3;function Pmr(r,e,a){var t,o,i,n,s,v,u;if(r<=0)return e;if(n=zmr(e),n.accessorProtocol)return a<0?o=(1-r)*a:o=0,Vmr(r,n,a,o),n.data;if(v=Bmr(r/2),a===1){if(s=v%Es,i=r-1,s>0)for(o=0;o<s;o++)t=e[o],e[o]=e[i],e[i]=t,i-=1;if(v<Es)return e;for(o=s;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=Pmr});var mE=c((Uie,yE)=>{"use strict";var Fmr=Ze(),Lmr=nt(),Cmr=Bu(),uo=3;function Umr(r,e,a,t){var o,i,n,s,v,u,f;if(r<=0)return e;if(s=Lmr(e),s.accessorProtocol)return Cmr(r,s,a,t),s.data;if(u=Fmr(r/2),i=t,a===1){if(v=u%uo,n=i+r-1,v>0)for(f=0;f<v;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;if(u<uo)return e;for(f=v;f<u;f+=uo)o=e[i],e[i]=e[n],e[n]=o,o=e[i+1],e[i+1]=e[n-1],e[n-1]=o,o=e[i+2],e[i+2]=e[n-2],e[n-2]=o,i+=uo,n-=uo;return e}for(n=i+(r-1)*a,f=0;f<u;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;return e}yE.exports=Umr});var bE=c((Mie,hE)=>{"use strict";var Mmr=Tr(),gE=pE(),Gmr=mE();Mmr(gE,"ndarray",Gmr);hE.exports=gE});var Vu=c((Gie,SE)=>{"use strict";var $mr=Be(),Ymr=ia(),Wmr=Wr(),xE=bE(),qE=xe(),Jmr="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,n){var s,v,u,f;for(u=t+1,s=u===e,v=a[t],f=0;f<v;f++)s?(o[n]=r[f],n+=i):n=zu(r[f],e,a,u,o,i,n);return n}function Kmr(r,e,a,t,o,i){var n,s,v,u,f,l,d;for(n=Wmr(a),s=qE(n),zu(r,e,a,0,s,1,0),v="row-major",f=$mr(a,v),u=qE(e),wE(a,e,u,1,0),xE(e,u,1),xE(e,f,1),d=0;d<n;d++)l=Ymr(u,f,0,v,d,Jmr),t[i]=s[l],i+=o}function Xmr(r,e,a,t,o,i){var n=e.length;return n===0?t:n===1?(wE(r,e[0],t,o,i),t):a?(Kmr(r,n,e,t,o,i),t):(zu(r,n,e,0,t,o,i),t)}SE.exports=Xmr});var AE=c(($ie,EE)=>{"use strict";var Hmr=Wr(),Zmr=xe(),Qmr=Vu();function r1r(r,e,a){var t=Zmr(Hmr(e));return Qmr(r,e,a,t,1,0)}EE.exports=r1r});var TE=c((Yie,jE)=>{"use strict";var e1r=Tr(),_E=AE(),a1r=Vu();e1r(_E,"assign",a1r);jE.exports=_E});var IE=c((Wie,OE)=>{"use strict";var t1r=Fi(),i1r=ba();function o1r(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&i1r(r.length)&&r.length>=0&&r.length<t1r}OE.exports=o1r});var DE=c((Jie,NE)=>{"use strict";var As=Oa();function s1r(){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=s1r});var RE=c((Kie,kE)=>{"use strict";var n1r=no(),v1r=Ma();function u1r(r,e,a){var t,o,i;if(t=n1r(a),a==="generic")for(o=[],i=0;i<e;i++)o.push(r[i]);else if(a==="binary")for(o=v1r(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=u1r});var VE=c((Xie,zE)=>{"use strict";var BE=Fe(),f1r=me().isPrimitive,Pu=cr(),Yt="number";function l1r(r,e,a){var t;if(!BE(r))throw new TypeError(Pu("invalid argument. First argument must be a function. Value: `%s`.",r));if(!f1r(e))throw new TypeError(Pu("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!BE(a))throw new TypeError(Pu("invalid argument. Third argument must be a constructor function. Value: `%s`.",a));return t=[o,i,n,s,v,u],e<=5?t[e]:f;function o(){var l=r();return typeof l===Yt?new a(l,0):l}function i(l){var d=r(l);return typeof d===Yt?new a(d,0):d}function n(l,d){var m=r(l,d);return typeof m===Yt?new a(m,0):m}function s(l,d,m){var p=r(l,d,m);return typeof p===Yt?new a(p,0):p}function v(l,d,m,p){var y=r(l,d,m,p);return typeof y===Yt?new a(y,0):y}function u(l,d,m,p,y){var g=r(l,d,m,p,y);return typeof g===Yt?new a(g,0):g}function f(){var l,d,m;for(l=[],m=0;m<arguments.length;m++)l.push(arguments[m]);return d=r.apply(null,l),typeof d===Yt?new a(d,0):d}}zE.exports=l1r});var Fu=c((Hie,PE)=>{"use strict";var c1r=VE();PE.exports=c1r});var LE=c((Zie,FE)=>{"use strict";var d1r=rs(),p1r=Qo(),y1r={complex64:d1r,complex128:p1r};FE.exports=y1r});var UE=c((Qie,CE)=>{"use strict";var m1r=LE();function g1r(r){return m1r[r]||null}CE.exports=g1r});var _s=c((roe,ME)=>{"use strict";var h1r=UE();ME.exports=h1r});var $E=c((eoe,GE)=>{"use strict";var b1r=nt(),x1r=Fu(),q1r=_s(),w1r=no(),S1r=Ma(),E1r=ra(),A1r=Da(),_1r=ie(),j1r=Ga(),T1r=xt(),O1r=$a(),I1r=st();function N1r(r){var e,a,t;for(e=r.length,a=[],t=0;t<e;t++)a.push(r.iget(t));return a}function D1r(r){var e,a,t;for(e=r.length,a=S1r(e),t=0;t<e;t++)a[t]=r.iget(t);return a}function k1r(r,e){var a,t,o,i,n,s,v;if(a=w1r(e),t=r.length,o=new a(t),s=b1r(o),s.accessorProtocol)for(i=s.accessors[1],n=x1r(u,1,q1r(e)),v=0;v<t;v++)i(o,v,n(v));else for(v=0;v<t;v++)o[v]=r.iget(v);return o;function u(f){return r.iget(f)}}function R1r(r,e){var a;return a=new E1r(A1r(r),I1r(r),_1r(r),j1r(r),T1r(r),O1r(r)),e==="generic"?N1r(a):e==="binary"?D1r(a):k1r(a,e)}GE.exports=R1r});var WE=c((aoe,YE)=>{"use strict";function B1r(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=B1r});var KE=c((toe,JE)=>{"use strict";var z1r=ai();function V1r(r,e,a,t){var o,i,n,s,v;if(i=a.length,v=r-i,o=[],t==="row-major"){for(n=z1r(a[0])*e[v],s=0;s<v;s++)o.push(n);for(s=0;s<i;s++)o.push(a[s])}else{for(s=0;s<v;s++)o.push(1);for(s=0;s<i;s++)o.push(a[s])}return o}JE.exports=V1r});var aA=c((ioe,eA)=>{"use strict";var ka=Jr(),XE=oe(),HE=de().isPrimitive,P1r=ha(),F1r=me().isPrimitive,L1r=se(),C1r=Be(),U1r=Me(),M1r=Rt(),js=Wr(),G1r=da(),$1r=di(),Y1r=Sa(),W1r=wu(),J1r=Tu(),K1r=Na(),X1r=ws(),H1r=Da(),Z1r=ie(),ZE=Ga(),Q1r=xt(),QE=$a(),rgr=st(),rA=$S(),egr=TE(),pa=cr(),Ts=IE(),agr=DE(),tgr=RE(),igr=$E(),ogr=WE(),sgr=KE(),Ra=agr();function ngr(){var r,e,a,t,o,i,n,s,v,u,f,l,d,m,p;if(arguments.length===1)if(Ts(arguments[0]))a=arguments[0],r={};else{if(r=arguments[0],!XE(r))throw new TypeError(pa("invalid argument. Must provide either a valid data source, options argument, or both. Value: `%s`.",r));if(ka(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],!XE(r))throw new TypeError(pa("invalid argument. Options argument must be an object. Value: `%s`.",r))}if(a&&(L1r(a)?(n=H1r(a),p=!0):(n=X1r(a),p=!1)),u={},f={},ka(r,"casting")){if(f.casting=r.casting,!W1r(f.casting))throw new TypeError(pa("invalid option. `%s` option must be a recognized casting mode. Option: `%s`.","casting",f.casting))}else f.casting=Ra.casting;if(ka(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=Ra.flatten;if(ka(r,"ndmin")){if(f.ndmin=r.ndmin,!F1r(f.ndmin))throw new TypeError(pa("invalid option. `%s` option must be a nonnegative integer. Option: `%s`.","ndmin",f.ndmin))}else f.ndmin=Ra.ndmin;if(ka(r,"dtype")){if(i=r.dtype,!$1r(i))throw new TypeError(pa("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",i));if(n&&!J1r(n,i,f.casting))throw new Error(pa("invalid option. Data type cast is not allowed. Casting mode: `%s`. From: `%s`. To: `%s`.",f.casting,n,i))}else n?!p&&n==="generic"?i=Ra.dtype:i=n:i=Ra.dtype;if(ka(r,"order")){if(o=r.order,o==="any"||o==="same")p?o==="any"?(m=M1r(ZE(a)),m===3?o=Ra.order:o=QE(a)):o==="same"&&(o=QE(a)):o=Ra.order;else if(!Y1r(o))throw new TypeError(pa("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",o))}else o=Ra.order;if(ka(r,"mode")?u.mode=r.mode:u.mode=Ra.mode,ka(r,"submode")?u.submode=r.submode:u.submode=[u.mode],ka(r,"readonly")?u.readonly=r.readonly:u.readonly=Ra.readonly,ka(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=Ra.copy;if(ka(r,"shape")){if(s=r.shape,!Ts(s))throw new TypeError(pa("invalid option. `%s` option must be an array-like object containing nonnegative integers. Option: `%s`.","shape",s));v=s.length,d=js(s)}else if(a)p?(s=Z1r(a),v=s.length,d=js(s)):f.flatten&&P1r(a)?(s=rA(a),l=s,v=s.length,d=js(s)):(v=1,d=a.length,s=[d]);else throw new Error("invalid arguments. Must provide either a data source, array shape, or both.");if(v<f.ndmin&&(s=ogr(v,s,f.ndmin),v=f.ndmin),p){if(js(a.shape)!==d)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");n!==i||f.copy?a=igr(a,i):(e=ZE(a),t=Q1r(a),a=rgr(a),e.length<v&&(e=sgr(v,s,e,o)))}else if(a){if(n==="generic"&&f.flatten&&(a=egr(a,l||rA(a),o==="column-major")),a.length!==d)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");(n!==i||f.copy)&&(a=tgr(a,d,i))}else a=K1r(i,d);return e===void 0&&(e=C1r(s,o),t=U1r(s,e)),new G1r(i,a,s,e,t,o,u)}eA.exports=ngr});var iA=c((ooe,tA)=>{"use strict";var vgr=aA();tA.exports=vgr});var nA=c((soe,sA)=>{"use strict";var ugr=se(),fgr=ue().isPrimitive,lgr=ca(),cgr=ie(),oA=cr();function dgr(r){var e,a,t,o,i,n;if(!ugr(r))throw new TypeError(oA("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o=cgr(r),i=o.length,e=arguments.length-1,e<i)throw new RangeError("invalid invocation. Insufficient arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);if(e>i)throw new RangeError("invalid invocation. Too many arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);for(a=[],n=1;n<=e;n++){if(t=arguments[n],!fgr(t))throw new TypeError(oA("invalid argument. Index arguments must be integers. Value: `%s`.",t));if(t=lgr(t,o[n-1]-1),t===-1)return;a.push(t)}return r.get.apply(r,a)}sA.exports=dgr});var uA=c((noe,vA)=>{"use strict";var pgr=nA();vA.exports=pgr});var lA=c((voe,fA)=>{"use strict";function ygr(r){var e,a,t;for(a=r.length,e=[],t=0;t<a;t++)e.push(r[t]);return e}fA.exports=ygr});var qt=c((uoe,cA)=>{"use strict";var mgr=lA();cA.exports=mgr});var pA=c((foe,dA)=>{"use strict";var ggr=qt();function hgr(r,e){var a=r.shape;return e?ggr(a):a}dA.exports=hgr});var _e=c((loe,yA)=>{"use strict";var bgr=pA();yA.exports=bgr});var gA=c((coe,mA)=>{"use strict";function xgr(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}mA.exports=xgr});var bA=c((doe,hA)=>{"use strict";var qgr=gA();hA.exports=qgr});var wA=c((poe,qA)=>{"use strict";var xA=_e(),wgr=bA();function Sgr(r,e){return wgr(xA(r,!1),xA(e,!1))}qA.exports=Sgr});var EA=c((yoe,SA)=>{"use strict";var Egr=wA();SA.exports=Egr});var _A=c((moe,AA)=>{"use strict";var Agr=Ve().factory,_gr=ke(),jgr=Agr(_gr("boolean"));AA.exports=jgr});var TA=c((goe,jA)=>{"use strict";var Tgr=_A();jA.exports=Tgr});var IA=c((hoe,OA)=>{"use strict";var Ogr=Wr();function Igr(r,e){return r>=Ogr(e)}OA.exports=Igr});var DA=c((boe,NA)=>{"use strict";var Ngr=IA();NA.exports=Ngr});var BA=c((xoe,RA)=>{"use strict";var kA=ai();function Dgr(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=kA(r[0]),o=1;o<e;o++){if(t=kA(r[o]),t<a)return!1;a=t}return!0}RA.exports=Dgr});var Lu=c((qoe,zA)=>{"use strict";var kgr=BA();zA.exports=kgr});var PA=c((woe,VA)=>{"use strict";var Rgr=Wr(),Bgr=Za();function zgr(r,e,a){var t,o;return t=Rgr(r),t===0?!1:(o=Bgr(r,e,a),t===o[1]-o[0]+1)}VA.exports=zgr});var fo=c((Soe,FA)=>{"use strict";var Vgr=PA();FA.exports=Vgr});var CA=c((Eoe,LA)=>{"use strict";var Pgr=fo(),Fgr=xa(),Lgr=Lu();function Cgr(r,e,a){return Fgr(e)!==0&&Lgr(e)&&Pgr(r,e,a)}LA.exports=Cgr});var MA=c((Aoe,UA)=>{"use strict";var Ugr=CA();UA.exports=Ugr});var $A=c((_oe,GA)=>{"use strict";var Mgr=Ve().factory,Ggr=ke(),$gr=Mgr(Ggr("complex_floating_point"));GA.exports=$gr});var lo=c((joe,YA)=>{"use strict";var Ygr=$A();YA.exports=Ygr});var JA=c((Toe,WA)=>{"use strict";var Wgr=fo(),Jgr=xa();function Kgr(r,e,a){return Jgr(e)!==0&&Wgr(r,e,a)}WA.exports=Kgr});var XA=c((Ooe,KA)=>{"use strict";var Xgr=JA();KA.exports=Xgr});var ZA=c((Ioe,HA)=>{"use strict";var Hgr=Ve().factory,Zgr=ke(),Qgr=Hgr(Zgr("floating_point"));HA.exports=Qgr});var Os=c((Noe,QA)=>{"use strict";var rhr=ZA();QA.exports=rhr});var e5=c((Doe,r5)=>{"use strict";var ehr=Ve().factory,ahr=ke(),thr=ehr(ahr("integer"));r5.exports=thr});var Cu=c((koe,a5)=>{"use strict";var ihr=e5();a5.exports=ihr});var i5=c((Roe,t5)=>{"use strict";var ohr=Ve().factory,shr=ke(),nhr=ohr(shr("numeric"));t5.exports=nhr});var Uu=c((Boe,o5)=>{"use strict";var vhr=i5();o5.exports=vhr});var n5=c((zoe,s5)=>{"use strict";var uhr=Fe(),fhr=uhr(Object.assign);s5.exports=fhr});var u5=c((Voe,v5)=>{"use strict";var lhr=Object.assign;v5.exports=lhr});var l5=c((Poe,f5)=>{"use strict";var chr=typeof Object.getOwnPropertySymbols<"u";f5.exports=chr});var p5=c((Foe,d5)=>{"use strict";var c5=Dt(),dhr=c5.getOwnPropertySymbols;function phr(r){return dhr(c5(r))}d5.exports=phr});var m5=c((Loe,y5)=>{"use strict";function yhr(){return[]}y5.exports=yhr});var Gu=c((Coe,g5)=>{"use strict";var mhr=l5(),ghr=p5(),hhr=m5(),Mu;mhr?Mu=ghr:Mu=hhr;g5.exports=Mu});var b5=c((Uoe,h5)=>{"use strict";var bhr=qa(),xhr=Gu(),qhr=Ci();function whr(r){var e,a,t;for(e=bhr(r),a=xhr(r),t=0;t<a.length;t++)qhr(r,a[t])&&e.push(a[t]);return e}h5.exports=whr});var q5=c((Moe,x5)=>{"use strict";var Shr=b5();x5.exports=Shr});var E5=c((Goe,S5)=>{"use strict";var Ehr=q5(),w5=Dt(),Ahr=cr();function _hr(r){var e,a,t,o,i,n,s;if(r==null)throw new TypeError(Ahr("invalid argument. First argument must be a non-null object. Value: `%s`.",r));for(i=w5(r),n=1;n<arguments.length;n++)if(e=arguments[n],e!=null)for(a=Ehr(w5(e)),o=a.length,s=0;s<o;s++)t=a[s],i[t]=e[t];return i}S5.exports=_hr});var _5=c(($oe,A5)=>{"use strict";var jhr=n5(),Thr=u5(),Ohr=E5(),$u;jhr?$u=Thr:$u=Ohr;A5.exports=$u});var T5=c((Yoe,j5)=>{"use strict";var Ihr=_5();function Nhr(r,e){var a=r.flags;return typeof a!="object"||a===null?{}:e?Ihr({},a):a}j5.exports=Nhr});var co=c((Woe,O5)=>{"use strict";var Dhr=T5();O5.exports=Dhr});var N5=c((Joe,I5)=>{"use strict";var khr=co();function Rhr(r,e){return khr(r,!1)[e]}I5.exports=Rhr});var Yu=c((Koe,D5)=>{"use strict";var Bhr=N5();D5.exports=Bhr});var R5=c((Xoe,k5)=>{"use strict";var zhr=Yu();function Vhr(r){return zhr(r,"READONLY")===!0}k5.exports=Vhr});var Le=c((Hoe,B5)=>{"use strict";var Phr=R5();B5.exports=Phr});var V5=c((Zoe,z5)=>{"use strict";var Fhr=Ve().factory,Lhr=ke(),Chr=Fhr(Lhr("real"));z5.exports=Chr});var Is=c((Qoe,P5)=>{"use strict";var Uhr=V5();P5.exports=Uhr});var L5=c((rse,F5)=>{"use strict";var Mhr=Ve().factory,Ghr=ke(),$hr=Mhr(Ghr("real_floating_point"));F5.exports=$hr});var Wu=c((ese,C5)=>{"use strict";var Yhr=L5();C5.exports=Yhr});var G5=c((ase,M5)=>{"use strict";var U5=ai();function Whr(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=U5(r[0]),o=1;o<e;o++){if(t=U5(r[o]),t>a)return!1;a=t}return!0}M5.exports=Whr});var Ns=c((tse,$5)=>{"use strict";var Jhr=G5();$5.exports=Jhr});var W5=c((ise,Y5)=>{"use strict";var Khr=fo(),Xhr=xa(),Hhr=Ns();function Zhr(r,e,a){return Xhr(e)!==0&&Hhr(e)&&Khr(r,e,a)}Y5.exports=Zhr});var K5=c((ose,J5)=>{"use strict";var Qhr=W5();J5.exports=Qhr});var H5=c((sse,X5)=>{"use strict";var rbr=Ve().factory,ebr=ke(),abr=rbr(ebr("signed_integer"));X5.exports=abr});var Ds=c((nse,Z5)=>{"use strict";var tbr=H5();Z5.exports=tbr});var r_=c((vse,Q5)=>{"use strict";var ibr=Ve().factory,obr=ke(),sbr=ibr(obr("unsigned_integer"));Q5.exports=sbr});var ks=c((use,e_)=>{"use strict";var nbr=r_();e_.exports=nbr});var t_=c((fse,a_)=>{"use strict";var ce=It(),fe={};ce(fe,"hasEqualShape",EA());ce(fe,"isAllowedDataTypeCast",Tu());ce(fe,"isBooleanDataType",TA());ce(fe,"isBufferLengthCompatible",yu());ce(fe,"isBufferLengthCompatibleShape",DA());ce(fe,"isCastingMode",wu());ce(fe,"isColumnMajor",Lu());ce(fe,"isColumnMajorContiguous",MA());ce(fe,"isComplexFloatingPointDataType",lo());ce(fe,"isContiguous",XA());ce(fe,"isDataType",di());ce(fe,"isFloatingPointDataType",Os());ce(fe,"isIndexMode",pi());ce(fe,"isIntegerDataType",Cu());ce(fe,"isMostlySafeDataTypeCast",hs());ce(fe,"isNumericDataType",Uu());ce(fe,"isOrder",Sa());ce(fe,"isReadOnly",Le());ce(fe,"isRealDataType",Is());ce(fe,"isRealFloatingPointDataType",Wu());ce(fe,"isRowMajor",Ns());ce(fe,"isRowMajorContiguous",K5());ce(fe,"isSafeDataTypeCast",ys());ce(fe,"isSameKindDataTypeCast",ju());ce(fe,"isSignedIntegerDataType",Ds());ce(fe,"isSingleSegmentCompatible",fo());ce(fe,"isUnsignedIntegerDataType",ks());a_.exports=fe});var o_=c((lse,i_)=>{"use strict";function vbr(r){return r.dtype}i_.exports=vbr});var Ye=c((cse,s_)=>{"use strict";var ubr=o_();s_.exports=ubr});var v_=c((dse,n_)=>{"use strict";var fbr=Be(),lbr=qt(),cbr="row-major";function dbr(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=cbr),fbr(t,a))):e?lbr(o):o}n_.exports=dbr});var ya=c((pse,u_)=>{"use strict";var pbr=v_();u_.exports=pbr});var l_=c((yse,f_)=>{"use strict";var ybr=Me();function mbr(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:ybr(a,e))}f_.exports=mbr});var Ya=c((mse,c_)=>{"use strict";var gbr=l_();c_.exports=gbr});var p_=c((gse,d_)=>{"use strict";var hbr=Rt(),Ju="row-major",bbr="column-major";function xbr(r){var e,a;return a=r.order,typeof a=="string"?a:(e=r.strides,typeof e!="object"||e===null||(a=hbr(e),a===1||a===3)?Ju:a===2?bbr:r.shape.length===0?Ju:null)}d_.exports=xbr});var oa=c((hse,y_)=>{"use strict";var qbr=p_();y_.exports=qbr});var g_=c((bse,m_)=>{"use strict";function wbr(r){return r.data}m_.exports=wbr});var vt=c((xse,h_)=>{"use strict";var Sbr=g_();h_.exports=Sbr});var x_=c((qse,b_)=>{"use strict";var Ebr=et(),Abr=at(),_br=gi(),jbr=bt(),Tbr=mi(),Obr=Wr(),Ibr=Ye(),Nbr=_e(),Dbr=ya(),kbr=Ya(),Rbr=oa(),Bbr=vt();function zbr(r){var e,a,t,o;return e=Bbr(r),t=Nbr(r,!0),o=Ibr(r),a=Ebr(e),{ref:r,dtype:o,data:e,length:Obr(t),shape:t,strides:Dbr(r,!0),offset:kbr(r),order:Rbr(r),accessorProtocol:a,accessors:a?[Abr(o),_br(o)]:[jbr(o),Tbr(o)]}}b_.exports=zbr});var Wt=c((wse,q_)=>{"use strict";var Vbr=x_();q_.exports=Vbr});var S_=c((Sse,w_)=>{"use strict";function Pbr(r){var e,a;if(e=[],r<=0)return e;for(a=0;a<r;a++)e.push(a);return e}w_.exports=Pbr});var __=c((Ese,A_)=>{"use strict";var Fbr=nt(),Lbr=Zi(),Cbr=Hi();function Ubr(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,n;for(i=a*2,n=t*2,o=0;n>=0&&n<e.length;)e[n]=o,e[n+1]=0,n+=i,o+=1;return r}function Mbr(r,e,a){var t,o,i,n;for(t=r.data,o=r.accessors[1],n=a,i=0;n>=0&&n<t.length;)o(t,n,i),n+=e,i+=1;return t}function Gbr(r,e,a){var t=Fbr(r);return t.accessorProtocol?t.dtype==="complex128"?E_(r,Lbr(r,0),e,a):t.dtype==="complex64"?E_(r,Cbr(r,0),e,a):Mbr(t,e,a):Ubr(r,e,a)}A_.exports=Gbr});var qe=c((Ase,T_)=>{"use strict";var $br=Tr(),j_=S_(),Ybr=__();$br(j_,"assign",Ybr);T_.exports=j_});var I_=c((_se,O_)=>{"use strict";function Wbr(r,e){var a,t;for(a=[],t=0;t<e.length;t++)a.push(r[e[t]]);return a}O_.exports=Wbr});var Kr=c((jse,N_)=>{"use strict";var Jbr=I_();N_.exports=Jbr});var k_=c((Tse,D_)=>{"use strict";function Kbr(r,e){var a,t,o,i,n,s,v,u,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(v=r[o],a=v<0?-v:v,u=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=v,e[s+1]=u,o+=1,i+=1}}D_.exports=Kbr});var z_=c((Ose,B_)=>{"use strict";var Xbr=qe(),Hbr=qt(),R_=Kr(),Zbr=k_();function Qbr(r,e,a){var t;return t=Xbr(r.length),e=Hbr(e),Zbr(e,t),r=R_(r,t),a=R_(a,t),{sh:r,sx:e,sy:a,idx:t}}B_.exports=Qbr});var zr=c((Ise,V_)=>{"use strict";var r2r=z_();V_.exports=r2r});var F_=c((Nse,P_)=>{"use strict";var e2r={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};P_.exports=e2r});var U_=c((Dse,C_)=>{"use strict";var L_=Ha(),Ku=F_();function a2r(r,e){var a,t;return a=L_(r),t=L_(e),a===null||t===null?Ku.BLOCK_SIZE_IN_ELEMENTS:a>t?Ku.BLOCK_SIZE_IN_BYTES/a|0:Ku.BLOCK_SIZE_IN_BYTES/t|0}C_.exports=a2r});var Br=c((kse,M_)=>{"use strict";var t2r=U_();M_.exports=t2r});var $_=c((Rse,G_)=>{"use strict";var i2r=zr(),o2r=Br();function s2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j;for(j=i2r(r.shape,r.strides,e.strides),m=j.sh,g=j.sx,h=j.sy,a=o2r(r.dtype,e.dtype),b=r.offset,S=e.offset,t=r.data,o=e.data,s=g[0],u=h[0],i=r.accessors[0],n=e.accessors[1],q=m[1];q>0;)for(q<a?(y=q,q=0):(y=a,q-=a),l=b+q*g[1],d=S+q*h[1],E=m[0];E>0;)for(E<a?(p=E,E=0):(p=a,E-=a),w=l+E*g[0],A=d+E*h[0],v=g[1]-p*g[0],f=h[1]-p*h[0],x=0;x<y;x++){for(_=0;_<p;_++)n(o,A,i(t,w)),w+=s,A+=u;w+=v,A+=f}}G_.exports=s2r});var W_=c((Bse,Y_)=>{"use strict";var n2r=zr(),v2r=Br();function u2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B;for(B=n2r(r.shape,r.strides,e.strides),h=B.sh,A=B.sx,_=B.sy,a=v2r(r.dtype,e.dtype),x=r.offset,E=e.offset,t=r.data,o=e.data,s=A[0],f=_[0],i=r.accessors[0],n=e.accessors[1],N=h[2];N>0;)for(N<a?(w=N,N=0):(w=a,N-=a),p=x+N*A[2],g=E+N*_[2],k=h[1];k>0;)for(k<a?(S=k,k=0):(S=a,k-=a),u=A[2]-S*A[1],d=_[2]-S*_[1],m=p+k*A[1],y=g+k*_[1],D=h[0];D>0;)for(D<a?(b=D,D=0):(b=a,D-=a),q=m+D*A[0],j=y+D*_[0],v=A[1]-b*A[0],l=_[1]-b*_[0],O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<b;T++)n(o,j,i(t,q)),q+=s,j+=f;q+=v,j+=l}q+=u,j+=d}}Y_.exports=u2r});var K_=c((zse,J_)=>{"use strict";var f2r=zr(),l2r=Br();function c2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C;for(C=f2r(r.shape,r.strides,e.strides),A=C.sh,j=C.sx,T=C.sy,a=l2r(r.dtype,e.dtype),I=r.offset,O=e.offset,t=r.data,o=e.data,s=j[0],l=T[0],i=r.accessors[0],n=e.accessors[1],L=A[3];L>0;)for(L<a?(q=L,L=0):(q=a,L-=a),h=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],p=T[3]-E*T[2],g=h+F*j[2],S=w+F*T[2],P=A[1];P>0;)for(P<a?(x=P,P=0):(x=a,P-=a),u=j[2]-x*j[1],m=T[2]-x*T[1],y=g+P*j[1],b=S+P*T[1],V=A[0];V>0;)for(V<a?(_=V,V=0):(_=a,V-=a),D=y+V*j[0],k=b+V*T[0],v=j[1]-_*j[0],d=T[1]-_*T[0],R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++)n(o,k,i(t,D)),D+=s,k+=l;D+=v,k+=d}D+=u,k+=m}D+=f,k+=p}}J_.exports=c2r});var H_=c((Vse,X_)=>{"use strict";var d2r=zr(),p2r=Br();function y2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J;for(J=d2r(r.shape,r.strides,e.strides),q=J.sh,k=J.sx,N=J.sy,a=p2r(r.dtype,e.dtype),B=r.offset,z=e.offset,t=r.data,o=e.data,s=k[0],d=N[0],i=r.accessors[0],n=e.accessors[1],W=q[4];W>0;)for(W<a?(D=W,W=0):(D=a,W-=a),w=B+W*k[4],E=z+W*N[4],$=q[3];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),l=k[4]-O*k[3],g=N[4]-O*N[3],S=w+$*k[3],x=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],b=S+Y*k[2],_=x+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],p=N[2]-T*N[1],h=b+G*k[1],A=_+G*N[1],M=q[0];M>0;)for(M<a?(j=M,M=0):(j=a,M-=a),R=h+M*k[0],V=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++)n(o,V,i(t,R)),R+=s,V+=d;R+=v,V+=m}R+=u,V+=p}R+=f,V+=y}R+=l,V+=g}}X_.exports=y2r});var Q_=c((Pse,Z_)=>{"use strict";var m2r=zr(),g2r=Br();function h2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar;for(ar=m2r(r.shape,r.strides,e.strides),O=ar.sh,V=ar.sx,P=ar.sy,a=g2r(r.dtype,e.dtype),F=r.offset,L=e.offset,t=r.data,o=e.data,s=V[0],m=P[0],i=r.accessors[0],n=e.accessors[1],rr=O[5];rr>0;)for(rr<a?(R=rr,rr=0):(R=a,rr-=a),x=F+rr*V[5],I=L+rr*P[5],Z=O[4];Z>0;)for(Z<a?(z=Z,Z=0):(z=a,Z-=a),d=V[5]-z*V[4],b=P[5]-z*P[4],_=x+Z*V[4],T=I+Z*P[4],Q=O[3];Q>0;)for(Q<a?(B=Q,Q=0):(B=a,Q-=a),l=V[4]-B*V[3],h=P[4]-B*P[3],A=_+Q*V[3],j=T+Q*P[3],H=O[2];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=V[3]-N*V[2],g=P[3]-N*P[2],w=A+H*V[2],q=j+H*P[2],X=O[1];X>0;)for(X<a?(k=X,X=0):(k=a,X-=a),u=V[2]-k*V[1],y=P[2]-k*P[1],S=w+X*V[1],E=q+X*P[1],K=O[0];K>0;)for(K<a?(D=K,K=0):(D=a,K-=a),C=S+K*V[0],U=E+K*P[0],v=V[1]-D*V[0],p=P[1]-D*P[0],J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<B;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++){for(M=0;M<D;M++)n(o,U,i(t,C)),C+=s,U+=m;C+=v,U+=p}C+=u,U+=y}C+=f,U+=g}C+=l,U+=h}C+=d,U+=b}}Z_.exports=h2r});var e8=c((Fse,r8)=>{"use strict";var b2r=zr(),x2r=Br();function q2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr;for(vr=b2r(r.shape,r.strides,e.strides),B=vr.sh,U=vr.sx,M=vr.sy,a=x2r(r.dtype,e.dtype),G=r.offset,Y=e.offset,t=r.data,o=e.data,s=U[0],p=M[0],i=r.accessors[0],n=e.accessors[1],nr=B[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=B[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=B[4];or>0;)for(or<a?(F=or,or=0):(F=a,or-=a),d=U[5]-F*U[4],S=M[5]-F*M[4],E=q+or*U[4],D=k+or*M[4],tr=B[3];tr>0;)for(tr<a?(P=tr,tr=0):(P=a,tr-=a),l=U[4]-P*U[3],b=M[4]-P*M[3],x=E+tr*U[3],O=D+tr*M[3],ir=B[2];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),f=U[3]-V*U[2],h=M[3]-V*M[2],_=x+ir*U[2],I=O+ir*M[2],er=B[1];er>0;)for(er<a?(R=er,er=0):(R=a,er-=a),u=U[2]-R*U[1],g=M[2]-R*M[1],A=_+er*U[1],T=I+er*M[1],ar=B[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(X=0;X<V;X++){for(K=0;K<R;K++){for(J=0;J<z;J++)n(o,W,i(t,$)),$+=s,W+=p;$+=v,W+=y}$+=u,W+=g}$+=f,W+=h}$+=l,W+=b}$+=d,W+=S}$+=m,W+=w}}r8.exports=q2r});var t8=c((Lse,a8)=>{"use strict";var w2r=zr(),S2r=Br();function E2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr;for(mr=w2r(r.shape,r.strides,e.strides),P=mr.sh,W=mr.sx,J=mr.sy,a=S2r(r.dtype,e.dtype),K=r.offset,X=e.offset,t=r.data,o=e.data,s=W[0],y=J[0],i=r.accessors[0],n=e.accessors[1],yr=P[7];yr>0;)for(yr<a?($=yr,yr=0):($=a,yr-=a),O=K+yr*W[7],V=X+yr*J[7],dr=P[6];dr>0;)for(dr<a?(Y=dr,dr=0):(Y=a,dr-=a),p=W[7]-Y*W[6],_=J[7]-Y*J[6],I=O+dr*W[6],R=V+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),d=W[5]-M*W[4],w=J[5]-M*J[4],j=T+fr*W[4],B=z+fr*J[4],lr=P[3];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),l=W[4]-U*W[3],S=J[4]-U*J[3],q=j+lr*W[3],N=B+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],b=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],h=J[2]-L*J[1],x=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=x+nr*W[0],Q=D+nr*J[0],v=W[1]-F*W[0],g=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++)n(o,Q,i(t,H)),H+=s,Q+=y;H+=v,Q+=g}H+=u,Q+=h}H+=f,Q+=b}H+=l,Q+=S}H+=d,Q+=w}H+=m,Q+=A}H+=p,Q+=_}}a8.exports=E2r});var o8=c((Cse,i8)=>{"use strict";var A2r=zr(),_2r=Br();function j2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar;for(Ar=A2r(r.shape,r.strides,e.strides),U=Ar.sh,Q=Ar.sx,Z=Ar.sy,a=_2r(r.dtype,e.dtype),rr=r.offset,ar=e.offset,t=r.data,o=e.data,s=Q[0],g=Z[0],i=r.accessors[0],n=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],gr=U[7];gr>0;)for(gr<a?(X=gr,gr=0):(X=a,gr-=a),y=Q[8]-X*Q[7],E=Z[8]-X*Z[7],k=N+gr*Q[7],L=C+gr*Z[7],xr=U[6];xr>0;)for(xr<a?(K=xr,xr=0):(K=a,xr-=a),p=Q[7]-K*Q[6],x=Z[7]-K*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),d=Q[5]-W*Q[4],A=Z[5]-W*Z[4],I=O+qr*Q[4],V=P+qr*Z[4],hr=U[3];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),l=Q[4]-$*Q[3],w=Z[4]-$*Z[3],T=I+hr*Q[3],R=V+hr*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],b=Z[2]-G*Z[1],q=j+yr*Q[1],B=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=B+dr*Z[0],v=Q[1]-M*Q[0],h=Z[1]-M*Z[0],pr=0;pr<H;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<K;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++)n(o,ir,i(t,er)),er+=s,ir+=g;er+=v,ir+=h}er+=u,ir+=b}er+=f,ir+=S}er+=l,ir+=w}er+=d,ir+=A}er+=m,ir+=_}er+=p,ir+=x}er+=y,ir+=E}}i8.exports=j2r});var n8=c((Use,s8)=>{"use strict";var T2r=zr(),O2r=Br();function I2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr,Xr,te;for(te=T2r(r.shape,r.strides,e.strides),$=te.sh,ir=te.sx,tr=te.sy,a=O2r(r.dtype,e.dtype),or=r.offset,sr=e.offset,t=r.data,o=e.data,s=ir[0],h=tr[0],i=r.accessors[0],n=e.accessors[1],Xr=$[9];Xr>0;)for(Xr<a?(er=Xr,Xr=0):(er=a,Xr-=a),R=or+Xr*ir[9],Y=sr+Xr*tr[9],Vr=$[8];Vr>0;)for(Vr<a?(ar=Vr,Vr=0):(ar=a,Vr-=a),g=ir[9]-ar*ir[8],j=tr[9]-ar*tr[8],z=R+Vr*ir[8],G=Y+Vr*tr[8],Rr=$[7];Rr>0;)for(Rr<a?(rr=Rr,Rr=0):(rr=a,Rr-=a),y=ir[8]-rr*ir[7],q=tr[8]-rr*tr[7],B=z+Rr*ir[7],M=G+Rr*tr[7],Or=$[6];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),p=ir[7]-Z*ir[6],E=tr[7]-Z*tr[6],N=B+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],x=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),d=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?(X=Ar,Ar=0):(X=a,Ar-=a),l=ir[4]-X*ir[3],A=tr[4]-X*tr[3],O=D+Ar*ir[3],F=L+Ar*tr[3],Er=$[2];Er>0;)for(Er<a?(K=Er,Er=0):(K=a,Er-=a),f=ir[3]-K*ir[2],w=tr[3]-K*tr[2],I=O+Er*ir[2],P=F+Er*tr[2],gr=$[1];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),u=ir[2]-J*ir[1],S=tr[2]-J*tr[1],T=I+gr*ir[1],V=P+gr*tr[1],xr=$[0];xr>0;)for(xr<a?(W=xr,xr=0):(W=a,xr-=a),nr=T+xr*ir[0],vr=V+xr*tr[0],v=ir[1]-W*ir[0],b=tr[1]-W*tr[0],br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<J;lr++){for(ur=0;ur<W;ur++)n(o,vr,i(t,nr)),nr+=s,vr+=h;nr+=v,vr+=b}nr+=u,vr+=S}nr+=f,vr+=w}nr+=l,vr+=A}nr+=d,vr+=_}nr+=m,vr+=x}nr+=p,vr+=E}nr+=y,vr+=q}nr+=g,vr+=j}}s8.exports=I2r});var u8=c((Mse,v8)=>{"use strict";var N2r=zr(),D2r=Br();function k2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E;for(E=N2r(r.shape,r.strides,e.strides),l=E.sh,p=E.sx,y=E.sy,a=D2r(r.dtype,e.dtype),g=r.offset,h=e.offset,t=r.data,o=e.data,i=p[0],s=y[0],x=l[1];x>0;)for(x<a?(m=x,x=0):(m=a,x-=a),u=g+x*p[1],f=h+x*y[1],_=l[0];_>0;)for(_<a?(d=_,_=0):(d=a,_-=a),b=u+_*p[0],S=f+_*y[0],n=p[1]-d*p[0],v=y[1]-d*y[0],A=0;A<m;A++){for(w=0;w<d;w++)o[S]=t[b],b+=i,S+=s;b+=n,S+=v}}v8.exports=k2r});var l8=c((Gse,f8)=>{"use strict";var R2r=zr(),B2r=Br();function z2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k;for(k=R2r(r.shape,r.strides,e.strides),y=k.sh,S=k.sx,w=k.sy,a=B2r(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?(b=D,D=0):(b=a,D-=a),d=A+D*S[2],p=_+D*w[2],O=y[1];O>0;)for(O<a?(h=O,O=0):(h=a,O-=a),s=S[2]-h*S[1],f=w[2]-h*w[1],l=d+O*S[1],m=p+O*w[1],I=y[0];I>0;)for(I<a?(g=I,I=0):(g=a,I-=a),x=l+I*S[0],E=m+I*w[0],n=S[1]-g*S[0],u=w[1]-g*w[0],T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++)o[E]=t[x],x+=i,E+=v;x+=n,E+=u}x+=s,E+=f}}f8.exports=z2r});var d8=c(($se,c8)=>{"use strict";var V2r=zr(),P2r=Br();function F2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(F=V2r(r.shape,r.strides,e.strides),S=F.sh,E=F.sx,q=F.sy,a=P2r(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?(x=P,P=0):(x=a,P-=a),y=j+P*E[3],b=T+P*q[3],V=S[2];V>0;)for(V<a?(_=V,V=0):(_=a,V-=a),v=E[3]-_*E[2],d=q[3]-_*q[2],p=y+V*E[2],h=b+V*q[2],R=S[1];R>0;)for(R<a?(A=R,R=0):(A=a,R-=a),s=E[2]-A*E[1],l=q[2]-A*q[1],m=p+R*E[1],g=h+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=g+z*q[0],n=E[1]-w*E[0],f=q[1]-w*q[0],B=0;B<x;B++){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+=n,O+=f}I+=s,O+=l}I+=v,O+=d}}c8.exports=F2r});var y8=c((Yse,p8)=>{"use strict";var L2r=zr(),C2r=Br();function U2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$;for($=L2r(r.shape,r.strides,e.strides),x=$.sh,O=$.sx,D=$.sy,a=C2r(r.dtype,e.dtype),k=r.offset,N=e.offset,t=r.data,o=e.data,i=O[0],f=D[0],Y=x[4];Y>0;)for(Y<a?(I=Y,Y=0):(I=a,Y-=a),b=k+Y*O[4],_=N+Y*D[4],G=x[3];G>0;)for(G<a?(T=G,G=0):(T=a,G-=a),u=O[4]-T*O[3],p=D[4]-T*D[3],h=b+G*O[3],A=_+G*D[3],M=x[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],g=h+M*O[2],w=A+M*D[2],U=x[1];U>0;)for(U<a?(q=U,U=0):(q=a,U-=a),s=O[2]-q*O[1],d=D[2]-q*D[1],y=g+U*O[1],S=w+U*D[1],C=x[0];C>0;)for(C<a?(E=C,C=0):(E=a,C-=a),B=y+C*O[0],z=S+C*D[0],n=O[1]-E*O[0],l=D[1]-E*D[0],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++)o[z]=t[B],B+=i,z+=f;B+=n,z+=l}B+=s,z+=d}B+=v,z+=m}B+=u,z+=p}}p8.exports=U2r});var g8=c((Wse,m8)=>{"use strict";var M2r=zr(),G2r=Br();function $2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z;for(Z=M2r(r.shape,r.strides,e.strides),T=Z.sh,z=Z.sx,R=Z.sy,a=G2r(r.dtype,e.dtype),V=r.offset,P=e.offset,t=r.data,o=e.data,i=z[0],l=R[0],Q=T[5];Q>0;)for(Q<a?(B=Q,Q=0):(B=a,Q-=a),A=V+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],g=R[5]-N*R[4],w=A+H*z[4],q=j+H*R[4],X=T[3];X>0;)for(X<a?(k=X,X=0):(k=a,X-=a),u=z[4]-k*z[3],y=R[4]-k*R[3],S=w+X*z[3],E=q+X*R[3],K=T[2];K>0;)for(K<a?(D=K,K=0):(D=a,K-=a),v=z[3]-D*z[2],p=R[3]-D*R[2],b=S+K*z[2],x=E+K*R[2],J=T[1];J>0;)for(J<a?(O=J,J=0):(O=a,J-=a),s=z[2]-O*z[1],m=R[2]-O*R[1],h=b+J*z[1],_=x+J*R[1],W=T[0];W>0;)for(W<a?(I=W,W=0):(I=a,W-=a),F=h+W*z[0],L=_+W*R[0],n=z[1]-I*z[0],d=R[1]-I*R[0],$=0;$<B;$++){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+=l;F+=n,L+=d}F+=s,L+=m}F+=v,L+=p}F+=u,L+=y}F+=f,L+=g}}m8.exports=$2r});var b8=c((Jse,h8)=>{"use strict";var Y2r=zr(),W2r=Br();function J2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(sr=Y2r(r.shape,r.strides,e.strides),k=sr.sh,L=sr.sx,C=sr.sy,a=W2r(r.dtype,e.dtype),U=r.offset,M=e.offset,t=r.data,o=e.data,i=L[0],d=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),l=L[6]-P*L[5],b=C[6]-P*C[5],x=E+tr*L[5],O=D+tr*C[5],ir=k[4];ir>0;)for(ir<a?(V=ir,ir=0):(V=a,ir-=a),f=L[5]-V*L[4],h=C[5]-V*C[4],_=x+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],g=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?(B=rr,rr=0):(B=a,rr-=a),s=L[2]-B*L[1],p=C[2]-B*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],n=L[1]-N*L[0],m=C[1]-N*C[0],Q=0;Q<F;Q++){for(H=0;H<P;H++){for(X=0;X<V;X++){for(K=0;K<R;K++){for(J=0;J<z;J++){for(W=0;W<B;W++){for($=0;$<N;$++)o[Y]=t[G],G+=i,Y+=d;G+=n,Y+=m}G+=s,Y+=p}G+=v,Y+=y}G+=u,Y+=g}G+=f,Y+=h}G+=l,Y+=b}}h8.exports=J2r});var q8=c((Kse,x8)=>{"use strict";var K2r=zr(),X2r=Br();function H2r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr;for(dr=K2r(r.shape,r.strides,e.strides),R=dr.sh,Y=dr.sx,$=dr.sy,a=X2r(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),d=Y[7]-M*Y[6],w=$[7]-M*$[6],j=T+fr*Y[6],B=z+fr*$[6],lr=R[5];lr>0;)for(lr<a?(U=lr,lr=0):(U=a,lr-=a),l=Y[6]-U*Y[5],S=$[6]-U*$[5],q=j+lr*Y[5],N=B+lr*$[5],ur=R[4];ur>0;)for(ur<a?(C=ur,ur=0):(C=a,ur-=a),f=Y[5]-C*Y[4],b=$[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],h=$[4]-L*$[3],x=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],g=$[3]-F*$[2],_=x+nr*Y[2],O=D+nr*$[2],sr=R[1];sr>0;)for(sr<a?(P=sr,sr=0):(P=a,sr-=a),s=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?(V=or,or=0):(V=a,or-=a),K=A+or*Y[0],X=I+or*$[0],n=Y[1]-V*Y[0],p=$[1]-V*$[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<V;H++)o[X]=t[K],K+=i,X+=m;K+=n,X+=p}K+=s,X+=y}K+=v,X+=g}K+=u,X+=h}K+=f,X+=b}K+=l,X+=S}K+=d,X+=w}}x8.exports=H2r});var S8=c((Xse,w8)=>{"use strict";var Z2r=zr(),Q2r=Br();function rxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr;for(gr=Z2r(r.shape,r.strides,e.strides),L=gr.sh,X=gr.sx,H=gr.sy,a=Q2r(r.dtype,e.dtype),Q=r.offset,Z=e.offset,t=r.data,o=e.data,i=X[0],p=H[0],xr=L[8];xr>0;)for(xr<a?(K=xr,xr=0):(K=a,xr-=a),D=Q+xr*X[8],F=Z+xr*H[8],br=L[7];br>0;)for(br<a?(J=br,br=0):(J=a,br-=a),m=X[8]-J*X[7],_=H[8]-J*H[7],O=D+br*X[7],P=F+br*H[7],qr=L[6];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),d=X[7]-W*X[6],A=H[7]-W*H[6],I=O+qr*X[6],V=P+qr*H[6],hr=L[5];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),l=X[6]-$*X[5],w=H[6]-$*H[5],T=I+hr*X[5],R=V+hr*H[5],mr=L[4];mr>0;)for(mr<a?(Y=mr,mr=0):(Y=a,mr-=a),f=X[5]-Y*X[4],S=H[5]-Y*H[4],j=T+mr*X[4],z=R+mr*H[4],yr=L[3];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),u=X[4]-G*X[3],b=H[4]-G*H[3],q=j+yr*X[3],B=z+yr*H[3],dr=L[2];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),v=X[3]-M*X[2],h=H[3]-M*H[2],E=q+dr*X[2],N=B+dr*H[2],pr=L[1];pr>0;)for(pr<a?(U=pr,pr=0):(U=a,pr-=a),s=X[2]-U*X[1],g=H[2]-U*H[1],x=E+pr*X[1],k=N+pr*H[1],fr=L[0];fr>0;)for(fr<a?(C=fr,fr=0):(C=a,fr-=a),rr=x+fr*X[0],ar=k+fr*H[0],n=X[1]-C*X[0],y=H[1]-C*H[0],lr=0;lr<K;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+=p;rr+=n,ar+=y}rr+=s,ar+=g}rr+=v,ar+=h}rr+=u,ar+=b}rr+=f,ar+=S}rr+=l,ar+=w}rr+=d,ar+=A}rr+=m,ar+=_}}w8.exports=rxr});var A8=c((Hse,E8)=>{"use strict";var exr=zr(),axr=Br();function txr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr;for(Vr=exr(r.shape,r.strides,e.strides),G=Vr.sh,ar=Vr.sx,er=Vr.sy,a=axr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,t=r.data,o=e.data,i=ar[0],y=er[0],Rr=G[9];Rr>0;)for(Rr<a?(rr=Rr,Rr=0):(rr=a,Rr-=a),B=ir+Rr*ar[9],M=tr+Rr*er[9],Or=G[8];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),p=ar[9]-Z*ar[8],E=er[9]-Z*er[8],N=B+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],x=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),d=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?(X=Ar,Ar=0):(X=a,Ar-=a),l=ar[6]-X*ar[5],A=er[6]-X*er[5],O=D+Ar*ar[5],F=L+Ar*er[5],Er=G[4];Er>0;)for(Er<a?(K=Er,Er=0):(K=a,Er-=a),f=ar[5]-K*ar[4],w=er[5]-K*er[4],I=O+Er*ar[4],P=F+Er*er[4],gr=G[3];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),u=ar[4]-J*ar[3],S=er[4]-J*er[3],T=I+gr*ar[3],V=P+gr*er[3],xr=G[2];xr>0;)for(xr<a?(W=xr,xr=0):(W=a,xr-=a),v=ar[3]-W*ar[2],b=er[3]-W*er[2],j=T+xr*ar[2],R=V+xr*er[2],br=G[1];br>0;)for(br<a?($=br,br=0):($=a,br-=a),s=ar[2]-$*ar[1],h=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],n=ar[1]-Y*ar[0],g=er[1]-Y*er[0],hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++){for(fr=0;fr<K;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+=n,sr+=g}or+=s,sr+=h}or+=v,sr+=b}or+=u,sr+=S}or+=f,sr+=w}or+=l,sr+=A}or+=d,sr+=_}or+=m,sr+=x}or+=p,sr+=E}}E8.exports=txr});var j8=c((Zse,_8)=>{"use strict";function ixr(r,e){e.accessors[1](e.data,e.offset,r.accessors[0](r.data,r.offset))}_8.exports=ixr});var O8=c((Qse,T8)=>{"use strict";function oxr(r,e){var a,t,o,i,n,s,v,u,f,l;for(v=r.shape[0],n=r.strides[0],s=e.strides[0],u=r.offset,f=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],l=0;l<v;l++)i(t,f,o(a,u)),u+=n,f+=s}T8.exports=oxr});var N8=c((rne,I8)=>{"use strict";function sxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b;for(f=r.shape,m=r.strides,p=e.strides,r.order==="row-major"?(l=f[1],d=f[0],n=m[1],s=m[0]-l*m[1],v=p[1],u=p[0]-l*p[1]):(l=f[0],d=f[1],n=m[0],s=m[1]-l*m[0],v=p[0],u=p[1]-l*p[0]),y=r.offset,g=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],b=0;b<d;b++){for(h=0;h<l;h++)i(t,g,o(a,y)),y+=n,g+=v;y+=s,g+=u}}I8.exports=sxr});var k8=c((ene,D8)=>{"use strict";function nxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_;for(d=r.shape,g=r.strides,h=e.strides,r.order==="row-major"?(m=d[2],p=d[1],y=d[0],n=g[2],s=g[1]-m*g[2],v=g[0]-p*g[1],u=h[2],f=h[1]-m*h[2],l=h[0]-p*h[1]):(m=d[0],p=d[1],y=d[2],n=g[0],s=g[1]-m*g[0],v=g[2]-p*g[1],u=h[0],f=h[1]-m*h[0],l=h[2]-p*h[1]),b=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<p;A++){for(w=0;w<m;w++)i(t,S,o(a,b)),b+=n,S+=u;b+=s,S+=f}b+=v,S+=l}}D8.exports=nxr});var B8=c((ane,R8)=>{"use strict";function vxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j;for(p=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(y=p[3],g=p[2],h=p[1],b=p[0],n=S[3],s=S[2]-y*S[3],v=S[1]-g*S[2],u=S[0]-h*S[1],f=w[3],l=w[2]-y*w[3],d=w[1]-g*w[2],m=w[0]-h*w[1]):(y=p[0],g=p[1],h=p[2],b=p[3],n=S[0],s=S[1]-y*S[0],v=S[2]-g*S[1],u=S[3]-h*S[2],f=w[0],l=w[1]-y*w[0],d=w[2]-g*w[1],m=w[3]-h*w[2]),A=r.offset,_=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++)i(t,_,o(a,A)),A+=n,_+=f;A+=s,_+=l}A+=v,_+=d}A+=u,_+=m}}R8.exports=vxr});var V8=c((tne,z8)=>{"use strict";function uxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D;for(g=r.shape,_=r.strides,x=e.strides,r.order==="row-major"?(h=g[4],b=g[3],S=g[2],w=g[1],A=g[0],n=_[4],s=_[3]-h*_[4],v=_[2]-b*_[3],u=_[1]-S*_[2],f=_[0]-w*_[1],l=x[4],d=x[3]-h*x[4],m=x[2]-b*x[3],p=x[1]-S*x[2],y=x[0]-w*x[1]):(h=g[0],b=g[1],S=g[2],w=g[3],A=g[4],n=_[0],s=_[1]-h*_[0],v=_[2]-b*_[1],u=_[3]-S*_[2],f=_[4]-w*_[3],l=x[0],d=x[1]-h*x[0],m=x[2]-b*x[1],p=x[3]-S*x[2],y=x[4]-w*x[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<b;T++){for(j=0;j<h;j++)i(t,q,o(a,E)),E+=n,q+=l;E+=s,q+=d}E+=v,q+=m}E+=u,q+=p}E+=f,q+=y}}z8.exports=uxr});var F8=c((ine,P8)=>{"use strict";function fxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z;for(b=r.shape,q=r.strides,j=e.strides,r.order==="row-major"?(S=b[5],w=b[4],A=b[3],_=b[2],x=b[1],E=b[0],n=q[5],s=q[4]-S*q[5],v=q[3]-w*q[4],u=q[2]-A*q[3],f=q[1]-_*q[2],l=q[0]-x*q[1],d=j[5],m=j[4]-S*j[5],p=j[3]-w*j[4],y=j[2]-A*j[3],g=j[1]-_*j[2],h=j[0]-x*j[1]):(S=b[0],w=b[1],A=b[2],_=b[3],x=b[4],E=b[5],n=q[0],s=q[1]-S*q[0],v=q[2]-w*q[1],u=q[3]-A*q[2],f=q[4]-_*q[3],l=q[5]-x*q[4],d=j[0],m=j[1]-S*j[0],p=j[2]-w*j[1],y=j[3]-A*j[2],g=j[4]-_*j[3],h=j[5]-x*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(B=0;B<x;B++){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+=n,I+=d;T+=s,I+=m}T+=v,I+=p}T+=u,I+=y}T+=f,I+=g}T+=l,I+=h}}P8.exports=fxr});var C8=c((one,L8)=>{"use strict";function lxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(w=r.shape,I=r.strides,O=e.strides,r.order==="row-major"?(A=w[6],_=w[5],x=w[4],E=w[3],q=w[2],j=w[1],T=w[0],n=I[6],s=I[5]-A*I[6],v=I[4]-_*I[5],u=I[3]-x*I[4],f=I[2]-E*I[3],l=I[1]-q*I[2],d=I[0]-j*I[1],m=O[6],p=O[5]-A*O[6],y=O[4]-_*O[5],g=O[3]-x*O[4],h=O[2]-E*O[3],b=O[1]-q*O[2],S=O[0]-j*O[1]):(A=w[0],_=w[1],x=w[2],E=w[3],q=w[4],j=w[5],T=w[6],n=I[0],s=I[1]-A*I[0],v=I[2]-_*I[1],u=I[3]-x*I[2],f=I[4]-E*I[3],l=I[5]-q*I[4],d=I[6]-j*I[5],m=O[0],p=O[1]-A*O[0],y=O[2]-_*O[1],g=O[3]-x*O[2],h=O[4]-E*O[3],b=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(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++)i(t,k,o(a,D)),D+=n,k+=m;D+=s,k+=p}D+=v,k+=y}D+=u,k+=g}D+=f,k+=h}D+=l,k+=b}D+=d,k+=S}}L8.exports=lxr});var M8=c((sne,U8)=>{"use strict";function cxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M;for(_=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(x=_[7],E=_[6],q=_[5],j=_[4],T=_[3],I=_[2],O=_[1],D=_[0],n=k[7],s=k[6]-x*k[7],v=k[5]-E*k[6],u=k[4]-q*k[5],f=k[3]-j*k[4],l=k[2]-T*k[3],d=k[1]-I*k[2],m=k[0]-O*k[1],p=N[7],y=N[6]-x*N[7],g=N[5]-E*N[6],h=N[4]-q*N[5],b=N[3]-j*N[4],S=N[2]-T*N[3],w=N[1]-I*N[2],A=N[0]-O*N[1]):(x=_[0],E=_[1],q=_[2],j=_[3],T=_[4],I=_[5],O=_[6],D=_[7],n=k[0],s=k[1]-x*k[0],v=k[2]-E*k[1],u=k[3]-q*k[2],f=k[4]-j*k[3],l=k[5]-T*k[4],d=k[6]-I*k[5],m=k[7]-O*k[6],p=N[0],y=N[1]-x*N[0],g=N[2]-E*N[1],h=N[3]-q*N[2],b=N[4]-j*N[3],S=N[5]-T*N[4],w=N[6]-I*N[5],A=N[7]-O*N[6]),B=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(V=0;V<E;V++){for(R=0;R<x;R++)i(t,z,o(a,B)),B+=n,z+=p;B+=s,z+=y}B+=v,z+=g}B+=u,z+=h}B+=f,z+=b}B+=l,z+=S}B+=d,z+=w}B+=m,z+=A}}U8.exports=cxr});var $8=c((nne,G8)=>{"use strict";function dxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,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],B=E[0],n=z[8],s=z[7]-q*z[8],v=z[6]-j*z[7],u=z[5]-T*z[6],f=z[4]-I*z[5],l=z[3]-O*z[4],d=z[2]-D*z[3],m=z[1]-k*z[2],p=z[0]-N*z[1],y=R[8],g=R[7]-q*R[8],h=R[6]-j*R[7],b=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],x=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],B=E[8],n=z[0],s=z[1]-q*z[0],v=z[2]-j*z[1],u=z[3]-T*z[2],f=z[4]-I*z[3],l=z[5]-O*z[4],d=z[6]-D*z[5],m=z[7]-k*z[6],p=z[8]-N*z[7],y=R[0],g=R[1]-q*R[0],h=R[2]-j*R[1],b=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],x=R[8]-N*R[7]),V=r.offset,P=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],W=0;W<B;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,V)),V+=n,P+=y;V+=s,P+=g}V+=v,P+=h}V+=u,P+=b}V+=f,P+=S}V+=l,P+=w}V+=d,P+=A}V+=m,P+=_}V+=p,P+=x}}G8.exports=dxr});var W8=c((vne,Y8)=>{"use strict";function pxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,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],B=j[3],z=j[2],R=j[1],V=j[0],n=P[9],s=P[8]-T*P[9],v=P[7]-I*P[8],u=P[6]-O*P[7],f=P[5]-D*P[6],l=P[4]-k*P[5],d=P[3]-N*P[4],m=P[2]-B*P[3],p=P[1]-z*P[2],y=P[0]-R*P[1],g=F[9],h=F[8]-T*F[9],b=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],x=F[2]-B*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],B=j[6],z=j[7],R=j[8],V=j[9],n=P[0],s=P[1]-T*P[0],v=P[2]-I*P[1],u=P[3]-O*P[2],f=P[4]-D*P[3],l=P[5]-k*P[4],d=P[6]-N*P[5],m=P[7]-B*P[6],p=P[8]-z*P[7],y=P[9]-R*P[8],g=F[0],h=F[1]-T*F[0],b=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],x=F[7]-B*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<V;H++){for(X=0;X<R;X++){for(K=0;K<z;K++){for(J=0;J<B;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+=n,C+=g;L+=s,C+=h}L+=v,C+=b}L+=u,C+=S}L+=f,C+=w}L+=l,C+=A}L+=d,C+=_}L+=m,C+=x}L+=p,C+=E}L+=y,C+=q}}Y8.exports=pxr});var H8=c((une,X8)=>{"use strict";var yxr=Wr(),J8=ia(),K8="throw";function mxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g;for(u=r.shape,n=yxr(u),a=r.data,t=e.data,f=r.strides,l=e.strides,d=r.offset,m=e.offset,o=r.order,i=e.order,s=r.accessors[0],v=e.accessors[1],g=0;g<n;g++)p=J8(u,f,d,o,g,K8),y=J8(u,l,m,i,g,K8),v(t,y,s(a,p))}X8.exports=mxr});var Q8=c((fne,Z8)=>{"use strict";function gxr(r,e){e.data[e.offset]=r.data[r.offset]}Z8.exports=gxr});var ej=c((lne,rj)=>{"use strict";function hxr(r,e){var a,t,o,i,n,s,v,u;for(n=r.shape[0],o=r.strides[0],i=e.strides[0],s=r.offset,v=e.offset,a=r.data,t=e.data,u=0;u<n;u++)t[v]=a[s],s+=o,v+=i}rj.exports=hxr});var tj=c((cne,aj)=>{"use strict";function bxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g;for(v=r.shape,l=r.strides,d=e.strides,r.order==="row-major"?(u=v[1],f=v[0],o=l[1],i=l[0]-u*l[1],n=d[1],s=d[0]-u*d[1]):(u=v[0],f=v[1],o=l[0],i=l[1]-u*l[0],n=d[0],s=d[1]-u*d[0]),m=r.offset,p=e.offset,a=r.data,t=e.data,g=0;g<f;g++){for(y=0;y<u;y++)t[p]=a[m],m+=o,p+=n;m+=i,p+=s}}aj.exports=bxr});var oj=c((dne,ij)=>{"use strict";function xxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;for(f=r.shape,p=r.strides,y=e.strides,r.order==="row-major"?(l=f[2],d=f[1],m=f[0],o=p[2],i=p[1]-l*p[2],n=p[0]-d*p[1],s=y[2],v=y[1]-l*y[2],u=y[0]-d*y[1]):(l=f[0],d=f[1],m=f[2],o=p[0],i=p[1]-l*p[0],n=p[2]-d*p[1],s=y[0],v=y[1]-l*y[0],u=y[2]-d*y[1]),g=r.offset,h=e.offset,a=r.data,t=e.data,w=0;w<m;w++){for(S=0;S<d;S++){for(b=0;b<l;b++)t[h]=a[g],g+=o,h+=s;g+=i,h+=v}g+=n,h+=u}}ij.exports=xxr});var nj=c((pne,sj)=>{"use strict";function qxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E;for(d=r.shape,h=r.strides,b=e.strides,r.order==="row-major"?(m=d[3],p=d[2],y=d[1],g=d[0],o=h[3],i=h[2]-m*h[3],n=h[1]-p*h[2],s=h[0]-y*h[1],v=b[3],u=b[2]-m*b[3],f=b[1]-p*b[2],l=b[0]-y*b[1]):(m=d[0],p=d[1],y=d[2],g=d[3],o=h[0],i=h[1]-m*h[0],n=h[2]-p*h[1],s=h[3]-y*h[2],v=b[0],u=b[1]-m*b[0],f=b[2]-p*b[1],l=b[3]-y*b[2]),S=r.offset,w=e.offset,a=r.data,t=e.data,E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++){for(A=0;A<m;A++)t[w]=a[S],S+=o,w+=v;S+=i,w+=u}S+=n,w+=f}S+=s,w+=l}}sj.exports=qxr});var uj=c((yne,vj)=>{"use strict";function wxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I;for(p=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(y=p[4],g=p[3],h=p[2],b=p[1],S=p[0],o=w[4],i=w[3]-y*w[4],n=w[2]-g*w[3],s=w[1]-h*w[2],v=w[0]-b*w[1],u=A[4],f=A[3]-y*A[4],l=A[2]-g*A[3],d=A[1]-h*A[2],m=A[0]-b*A[1]):(y=p[0],g=p[1],h=p[2],b=p[3],S=p[4],o=w[0],i=w[1]-y*w[0],n=w[2]-g*w[1],s=w[3]-h*w[2],v=w[4]-b*w[3],u=A[0],f=A[1]-y*A[0],l=A[2]-g*A[1],d=A[3]-h*A[2],m=A[4]-b*A[3]),_=r.offset,x=e.offset,a=r.data,t=e.data,I=0;I<S;I++){for(T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++){for(E=0;E<y;E++)t[x]=a[_],_+=o,x+=u;_+=i,x+=f}_+=n,x+=l}_+=s,x+=d}_+=v,x+=m}}vj.exports=wxr});var lj=c((mne,fj)=>{"use strict";function Sxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N;for(g=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(h=g[5],b=g[4],S=g[3],w=g[2],A=g[1],_=g[0],o=x[5],i=x[4]-h*x[5],n=x[3]-b*x[4],s=x[2]-S*x[3],v=x[1]-w*x[2],u=x[0]-A*x[1],f=E[5],l=E[4]-h*E[5],d=E[3]-b*E[4],m=E[2]-S*E[3],p=E[1]-w*E[2],y=E[0]-A*E[1]):(h=g[0],b=g[1],S=g[2],w=g[3],A=g[4],_=g[5],o=x[0],i=x[1]-h*x[0],n=x[2]-b*x[1],s=x[3]-S*x[2],v=x[4]-w*x[3],u=x[5]-A*x[4],f=E[0],l=E[1]-h*E[0],d=E[2]-b*E[1],m=E[3]-S*E[2],p=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<b;I++){for(T=0;T<h;T++)t[j]=a[q],q+=o,j+=f;q+=i,j+=l}q+=n,j+=d}q+=s,j+=m}q+=v,j+=p}q+=u,j+=y}}fj.exports=Sxr});var dj=c((gne,cj)=>{"use strict";function Exr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V;for(b=r.shape,j=r.strides,T=e.strides,r.order==="row-major"?(S=b[6],w=b[5],A=b[4],_=b[3],x=b[2],E=b[1],q=b[0],o=j[6],i=j[5]-S*j[6],n=j[4]-w*j[5],s=j[3]-A*j[4],v=j[2]-_*j[3],u=j[1]-x*j[2],f=j[0]-E*j[1],l=T[6],d=T[5]-S*T[6],m=T[4]-w*T[5],p=T[3]-A*T[4],y=T[2]-_*T[3],g=T[1]-x*T[2],h=T[0]-E*T[1]):(S=b[0],w=b[1],A=b[2],_=b[3],x=b[4],E=b[5],q=b[6],o=j[0],i=j[1]-S*j[0],n=j[2]-w*j[1],s=j[3]-A*j[2],v=j[4]-_*j[3],u=j[5]-x*j[4],f=j[6]-E*j[5],l=T[0],d=T[1]-S*T[0],m=T[2]-w*T[1],p=T[3]-A*T[2],y=T[4]-_*T[3],g=T[5]-x*T[4],h=T[6]-E*T[5]),I=r.offset,O=e.offset,a=r.data,t=e.data,V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){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+=l;I+=i,O+=d}I+=n,O+=m}I+=s,O+=p}I+=v,O+=y}I+=u,O+=g}I+=f,O+=h}}cj.exports=Exr});var yj=c((hne,pj)=>{"use strict";function Axr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C;for(w=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(A=w[7],_=w[6],x=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],n=O[5]-_*O[6],s=O[4]-x*O[5],v=O[3]-E*O[4],u=O[2]-q*O[3],f=O[1]-j*O[2],l=O[0]-T*O[1],d=D[7],m=D[6]-A*D[7],p=D[5]-_*D[6],y=D[4]-x*D[5],g=D[3]-E*D[4],h=D[2]-q*D[3],b=D[1]-j*D[2],S=D[0]-T*D[1]):(A=w[0],_=w[1],x=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],n=O[2]-_*O[1],s=O[3]-x*O[2],v=O[4]-E*O[3],u=O[5]-q*O[4],f=O[6]-j*O[5],l=O[7]-T*O[6],d=D[0],m=D[1]-A*D[0],p=D[2]-_*D[1],y=D[3]-x*D[2],g=D[4]-E*D[3],h=D[5]-q*D[4],b=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(V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++){for(B=0;B<A;B++)t[N]=a[k],k+=o,N+=d;k+=i,N+=m}k+=n,N+=p}k+=s,N+=y}k+=v,N+=g}k+=u,N+=h}k+=f,N+=b}k+=l,N+=S}}pj.exports=Axr});var gj=c((bne,mj)=>{"use strict";function _xr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y;for(_=r.shape,N=r.strides,B=e.strides,r.order==="row-major"?(x=_[8],E=_[7],q=_[6],j=_[5],T=_[4],I=_[3],O=_[2],D=_[1],k=_[0],o=N[8],i=N[7]-x*N[8],n=N[6]-E*N[7],s=N[5]-q*N[6],v=N[4]-j*N[5],u=N[3]-T*N[4],f=N[2]-I*N[3],l=N[1]-O*N[2],d=N[0]-D*N[1],m=B[8],p=B[7]-x*B[8],y=B[6]-E*B[7],g=B[5]-q*B[6],h=B[4]-j*B[5],b=B[3]-T*B[4],S=B[2]-I*B[3],w=B[1]-O*B[2],A=B[0]-D*B[1]):(x=_[0],E=_[1],q=_[2],j=_[3],T=_[4],I=_[5],O=_[6],D=_[7],k=_[8],o=N[0],i=N[1]-x*N[0],n=N[2]-E*N[1],s=N[3]-q*N[2],v=N[4]-j*N[3],u=N[5]-T*N[4],f=N[6]-I*N[5],l=N[7]-O*N[6],d=N[8]-D*N[7],m=B[0],p=B[1]-x*B[0],y=B[2]-E*B[1],g=B[3]-q*B[2],h=B[4]-j*B[3],b=B[5]-T*B[4],S=B[6]-I*B[5],w=B[7]-O*B[6],A=B[8]-D*B[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(V=0;V<x;V++)t[R]=a[z],z+=o,R+=m;z+=i,R+=p}z+=n,R+=y}z+=s,R+=g}z+=v,R+=h}z+=u,R+=b}z+=f,R+=S}z+=l,R+=w}z+=d,R+=A}}mj.exports=_xr});var bj=c((xne,hj)=>{"use strict";function jxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K;for(E=r.shape,R=r.strides,V=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],B=E[1],z=E[0],o=R[9],i=R[8]-q*R[9],n=R[7]-j*R[8],s=R[6]-T*R[7],v=R[5]-I*R[6],u=R[4]-O*R[5],f=R[3]-D*R[4],l=R[2]-k*R[3],d=R[1]-N*R[2],m=R[0]-B*R[1],p=V[9],y=V[8]-q*V[9],g=V[7]-j*V[8],h=V[6]-T*V[7],b=V[5]-I*V[6],S=V[4]-O*V[5],w=V[3]-D*V[4],A=V[2]-k*V[3],_=V[1]-N*V[2],x=V[0]-B*V[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],B=E[8],z=E[9],o=R[0],i=R[1]-q*R[0],n=R[2]-j*R[1],s=R[3]-T*R[2],v=R[4]-I*R[3],u=R[5]-O*R[4],f=R[6]-D*R[5],l=R[7]-k*R[6],d=R[8]-N*R[7],m=R[9]-B*R[8],p=V[0],y=V[1]-q*V[0],g=V[2]-j*V[1],h=V[3]-T*V[2],b=V[4]-I*V[3],S=V[5]-O*V[4],w=V[6]-D*V[5],A=V[7]-k*V[6],_=V[8]-N*V[7],x=V[9]-B*V[8]),P=r.offset,F=e.offset,a=r.data,t=e.data,K=0;K<z;K++){for(J=0;J<B;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+=p;P+=i,F+=y}P+=n,F+=g}P+=s,F+=h}P+=v,F+=b}P+=u,F+=S}P+=f,F+=w}P+=l,F+=A}P+=d,F+=_}P+=m,F+=x}}hj.exports=jxr});var Sj=c((qne,wj)=>{"use strict";var Txr=Wr(),xj=ia(),qj="throw";function Oxr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p;for(s=r.shape,n=Txr(s),a=r.data,t=e.data,v=r.strides,u=e.strides,f=r.offset,l=e.offset,o=r.order,i=e.order,p=0;p<n;p++)d=xj(s,v,f,o,p,qj),m=xj(s,u,l,i,p,qj),t[m]=a[d]}wj.exports=Oxr});var Oj=c((wne,Tj)=>{"use strict";var Ixr=lo(),Nxr=Is(),Ej=xa(),Dxr=Fu(),kxr=_s(),Aj=Za(),_j=Wt(),Rxr=$_(),Bxr=W_(),zxr=K_(),Vxr=H_(),Pxr=Q_(),Fxr=e8(),Lxr=t8(),Cxr=o8(),Uxr=n8(),Mxr=u8(),Gxr=l8(),$xr=d8(),Yxr=y8(),Wxr=g8(),Jxr=b8(),Kxr=q8(),Xxr=S8(),Hxr=A8(),Zxr=j8(),Qxr=O8(),rqr=N8(),eqr=k8(),aqr=B8(),tqr=V8(),iqr=F8(),oqr=C8(),sqr=M8(),nqr=$8(),vqr=W8(),uqr=H8(),fqr=Q8(),lqr=ej(),cqr=tj(),dqr=oj(),pqr=nj(),yqr=uj(),mqr=lj(),gqr=dj(),hqr=yj(),bqr=gj(),xqr=bj(),qqr=Sj(),hi=[fqr,lqr,cqr,dqr,pqr,yqr,mqr,gqr,hqr,bqr,xqr],po=[Zxr,Qxr,rqr,eqr,aqr,tqr,iqr,oqr,sqr,nqr,vqr],wqr=[Mxr,Gxr,$xr,Yxr,Wxr,Jxr,Kxr,Xxr,Hxr],Sqr=[Rxr,Bxr,zxr,Vxr,Pxr,Fxr,Lxr,Cxr,Uxr],jj=hi.length-1;function Eqr(r){var e,a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;if(p=_j(r[0]),y=_j(r[1]),Nxr(p.dtype)&&Ixr(y.dtype)&&(p.accessorProtocol=!0,p.accessors[0]=Dxr(p.accessors[0],2,kxr(y.dtype))),o=p.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 p.accessorProtocol||y.accessorProtocol?po[e](p,y):hi[e](p,y);for(v=1,m=0,h=0;h<e;h++){if(g=o[h],g!==i[h])throw new Error("invalid arguments. Arrays must have the same shape.");v*=g,g===1&&(m+=1)}if(v!==0){if(e===1)return p.accessorProtocol||y.accessorProtocol?po[e](p,y):hi[e](p,y);if(u=p.strides,f=y.strides,m===e-1){for(h=0;h<e&&o[h]===1;h++);return p.shape=[o[h]],y.shape=p.shape,p.strides=[u[h]],y.strides=[f[h]],p.accessorProtocol||y.accessorProtocol?po[1](p,y):hi[1](p,y)}if(n=Ej(u),s=Ej(f),n!==0&&s!==0&&n===s){if(a=Aj(o,u,p.offset),t=Aj(i,f,y.offset),v===a[1]-a[0]+1&&v===t[1]-t[0]+1)return n===1?l=a[0]:l=a[1],s===1?d=t[0]:d=t[1],p.shape=[v],y.shape=p.shape,p.strides=[n],y.strides=[s],p.offset=l,y.offset=d,p.accessorProtocol||y.accessorProtocol?po[1](p,y):hi[1](p,y);if(e<=jj)return p.accessorProtocol||y.accessorProtocol?po[e](p,y):hi[e](p,y)}if(e<=jj)return p.accessorProtocol||y.accessorProtocol?Sqr[e-2](p,y):wqr[e-2](p,y);if(p.accessorProtocol||y.accessorProtocol)return uqr(p,y);qqr(p,y)}}Tj.exports=Eqr});var Xu=c((Sne,Ij)=>{"use strict";var Aqr=Oj();Ij.exports=Aqr});var Dj=c((Ene,Nj)=>{"use strict";function _qr(r,e){var a,t,o,i,n,s,v,u,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(v=r[o],a=v<0?-v:v,u=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=v,e[s+1]=u,o+=1,i+=1}}Nj.exports=_qr});var Bj=c((Ane,Rj)=>{"use strict";var jqr=qe(),Tqr=qt(),Rs=Kr(),Oqr=vo(),Hu=Rt(),Iqr=Dj(),kj=3;function Nqr(r,e,a,t){var o,i,n,s,v,u,f,l,d,m;if(o=jqr(r.length),u=Hu(e),f=Hu(a),l=Hu(t),i=Oqr([],4),i[u].push(e),i[f].push(a),i[l].push(t),n=i[0].length,n===kj)v=e;else if(n===kj-1){for(d=1;d<4;d++)if(i[d].length){v=i[d][0];break}}else{for(m=0,d=1;d<4;d++)s=i[d].length,s>=n&&(n=s,m=d);v=i[m][0]}return v=Tqr(v),Iqr(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=Nqr});var Vj=c((_ne,zj)=>{"use strict";var Dqr=Bj();zj.exports=Dqr});var Fj=c((jne,Pj)=>{"use strict";var kqr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};Pj.exports=kqr});var Cj=c((Tne,Lj)=>{"use strict";var Zu=Ha(),Bs=Fj();function Rqr(r,e,a){var t,o,i;return t=Zu(r),o=Zu(e),i=Zu(a),t===null||o===null||i===null?Bs.BLOCK_SIZE_IN_ELEMENTS:t>o&&t>i?Bs.BLOCK_SIZE_IN_BYTES/t|0:o>i?Bs.BLOCK_SIZE_IN_BYTES/o|0:Bs.BLOCK_SIZE_IN_BYTES/i|0}Lj.exports=Rqr});var Mj=c((One,Uj)=>{"use strict";var Bqr=Cj();Uj.exports=Bqr});var $j=c((Ine,Gj)=>{"use strict";var zqr=Math.ceil;Gj.exports=zqr});var Qu=c((Nne,Yj)=>{"use strict";var Vqr=$j();Yj.exports=Vqr});var Jj=c((Dne,Wj)=>{"use strict";var Pqr=Ze(),Fqr=Qu();function Lqr(r){return r<0?Fqr(r):Pqr(r)}Wj.exports=Lqr});var rf=c((kne,Kj)=>{"use strict";var Cqr=Jj();Kj.exports=Cqr});var Zj=c((Rne,Hj)=>{"use strict";var Uqr=cr(),zs=rf(),Xj=ai();function Mqr(r,e,a,t,o,i){var n,s,v,u,f,l;for(n=r.length,s=1,l=0;l<n;l++)s*=r[l];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(Uqr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(v=0,t==="column-major"){for(l=n-1;l>=0;l--)f=e[l],f<0?(u=zs(o/f),o-=u*f,u+=r[l]-1):(u=zs(o/f),o-=u*f),v+=u*Xj(f);return v}for(l=0;l<n;l++)f=e[l],f<0?(u=zs(o/f),o-=u*f,u+=r[l]-1):(u=zs(o/f),o-=u*f),v+=u*Xj(f);return v}Hj.exports=Mqr});var rT=c((Bne,Qj)=>{"use strict";var Gqr=Zj();Qj.exports=Gqr});var tT=c((zne,aT)=>{"use strict";var yo=qt(),$qr=ra(),Yqr=_e(),Wqr=ya(),Jqr=Ya(),Kqr=oa(),Xqr=Ye(),Hqr=vt(),eT=cr();function Zqr(r,e){var a,t,o,i,n,s,v,u,f;if(n=e.length,o=Yqr(r,!1),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],u=0;u<n;u++)a.push(0);for(i=Wqr(r,!1),u=n-1;u>=0;u--)if(f=s-n+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 $qr(Xqr(r),Hqr(r),yo(e),a,Jqr(r),Kqr(r))}aT.exports=Zqr});var mo=c((Vne,iT)=>{"use strict";var Qqr=tT();iT.exports=Qqr});var sT=c((Pne,oT)=>{"use strict";function rwr(r){var e,a,t,o,i,n,s,v,u,f,l;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,l=1;l<v;l++){if(n=e[l]-u+f,n>=0?s=r[l][n]:s=1,t===1){t=s;continue}if(!(s===1||t===s))return null}a[f]=t,f-=1}return a}oT.exports=rwr});var bi=c((Fne,nT)=>{"use strict";var ewr=sT();nT.exports=ewr});var uT=c((Lne,vT)=>{"use strict";var awr=bi(),twr=mo(),iwr=_e();function owr(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(iwr(r[i],!1));if(t=awr(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(twr(r[i],t));return a}vT.exports=owr});var lT=c((Cne,fT)=>{"use strict";var swr=uT();fT.exports=swr});var dT=c((Une,cT)=>{"use strict";var nwr=et(),vwr=gi(),uwr=mi(),fwr=xe(),lwr=Na(),cwr=ra(),dwr=cr();function pwr(r,e,a,t){var o,i;if(o=lwr(e,1),o===null)throw new TypeError(dwr("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),nwr(o)?i=vwr(e):i=uwr(e),i(o,0,r),new cwr(e,o,a,fwr(a.length),0,t)}cT.exports=pwr});var yT=c((Mne,pT)=>{"use strict";var ywr=dT();pT.exports=ywr});var gT=c((Gne,mT)=>{"use strict";var mwr=oo(),gwr=ws();function hwr(r){var e=gwr(r);return e?mwr(e):null}mT.exports=hwr});var bT=c(($ne,hT)=>{"use strict";var bwr=gT();hT.exports=bwr});var qT=c((Yne,xT)=>{"use strict";function xwr(){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=xwr});var ET=c((Wne,ST)=>{"use strict";var qwr=Ia(),wT=qT(),ef;function wwr(r){return arguments.length===0?wT():(ef===void 0&&(ef=wT()),ef[qwr(r)]||null)}ST.exports=wwr});var af=c((Jne,AT)=>{"use strict";var Swr=ET();AT.exports=Swr});var OT=c((Kne,TT)=>{"use strict";var _T=ls(),jT=af(),tf;function Ewr(r){return arguments.length===0?_T(jT()):(tf===void 0&&(tf=_T(jT())),tf[r]||null)}TT.exports=Ewr});var NT=c((Xne,IT)=>{"use strict";var Awr=OT();IT.exports=Awr});var kT=c((Hne,DT)=>{"use strict";function _wr(){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=_wr});var zT=c((Zne,BT)=>{"use strict";var jwr=Ia(),RT=kT(),of;function Twr(r){return arguments.length===0?RT():(of===void 0&&(of=RT()),of[jwr(r)]||null)}BT.exports=Twr});var PT=c((Qne,VT)=>{"use strict";var Owr=zT();VT.exports=Owr});var LT=c((rve,FT)=>{"use strict";var Iwr=cs(),Nwr=oo();function Dwr(r){var e=typeof r;return e==="number"?Iwr(r)?r:null:e==="string"?Nwr(r):null}FT.exports=Dwr});var sf=c((eve,CT)=>{"use strict";var kwr=LT();CT.exports=kwr});var UT=c((ave,Rwr)=>{Rwr.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=c((tve,MT)=>{"use strict";var Bwr=Ia(),zwr=UT();function Vwr(r){return zwr[Bwr(r)]||null}MT.exports=Vwr});var YT=c((ive,$T)=>{"use strict";var Pwr=GT();$T.exports=Pwr});var KT=c((ove,JT)=>{"use strict";var Fwr=ze(),WT=me().isPrimitive,Lwr=Ia(),nf=cr();function Cwr(r,e,a){var t,o,i,n,s,v,u,f;if(!Fwr(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(s=e+a,t%s!==0)throw new RangeError("invalid arguments. Length of the first argument is incompatible with the second and third arguments.");for(o=[],i=[],v=2*s,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++)n=Lwr(r[u]),n===null&&(n=r[u]),f=u%s,i[2*f+1]=n,f===s-1&&o.push(i.join(""));return o}JT.exports=Cwr});var vf=c((sve,XT)=>{"use strict";var Uwr=KT();XT.exports=Uwr});var ZT=c((nve,HT)=>{"use strict";var Mwr=Ma(),Gwr=uv();function $wr(){var r=Mwr(1);return Gwr(r)}HT.exports=$wr});var rO=c((vve,QT)=>{"use strict";var Ywr=rt(),Wwr=tt(),Jwr=ni(),Kwr=si(),Xwr=ui(),Hwr=Vt(),Zwr=oi(),Qwr=Qe(),r3r=vi(),e3r=fi(),a3r=li(),t3r=ci(),i3r={float64:Ywr,float32:Wwr,int16:Jwr,int32:Kwr,int8:Xwr,uint16:Hwr,uint32:Zwr,uint8:Qwr,uint8c:r3r,complex64:e3r,complex128:a3r,bool:t3r};QT.exports=i3r});var aO=c((uve,eO)=>{"use strict";var o3r=rO();function s3r(r){return o3r[r]||null}eO.exports=s3r});var iO=c((fve,tO)=>{"use strict";var n3r=aO();tO.exports=n3r});var uf=c((lve,oO)=>{"use strict";function v3r(){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=v3r});var nO=c((cve,sO)=>{"use strict";var u3r=uf(),Wa=u3r(),f3r={"dtypes.default":Wa.dtypes.default,"dtypes.numeric":Wa.dtypes.numeric,"dtypes.real":Wa.dtypes.real,"dtypes.floating_point":Wa.dtypes.floating_point,"dtypes.real_floating_point":Wa.dtypes.real_floating_point,"dtypes.complex_floating_point":Wa.dtypes.complex_floating_point,"dtypes.boolean":Wa.dtypes.boolean,"dtypes.integer":Wa.dtypes.integer,"dtypes.signed_integer":Wa.dtypes.signed_integer,"dtypes.unsigned_integer":Wa.dtypes.unsigned_integer};function l3r(r){var e=f3r[r];return e===void 0?null:e}sO.exports=l3r});var ff=c((dve,uO)=>{"use strict";var c3r=Tr(),vO=uf(),d3r=nO();c3r(vO,"get",d3r);uO.exports=vO});var dO=c((pve,cO)=>{"use strict";var fO=me().isPrimitive,p3r=Ma(),y3r=iO(),m3r=xe(),g3r=Ha(),h3r=ff(),lO=cr(),b3r=h3r.get("dtypes.default");function x3r(r){var e,a,t,o,i,n,s;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=b3r,t==="generic")return m3r(r);if(e=g3r(t),e===null)throw new TypeError(lO("invalid argument. Second argument must be a supported data type. Value: `%s`.",t));return o=y3r(t),s=e*r,t==="complex128"&&(s+=8),i=p3r(s),a=i.byteOffset,t==="complex128"&&(fO(a/e)||(a+=8)),n=new o(i.buffer,a,r),n}cO.exports=x3r});var yO=c((yve,pO)=>{"use strict";var q3r=rt(),w3r=tt(),S3r=ni(),E3r=si(),A3r=ui(),_3r=Vt(),j3r=oi(),T3r=Qe(),O3r=vi(),I3r=fi(),N3r=li(),D3r=ci(),k3r={float64:q3r,float32:w3r,generic:Array,int16:S3r,int32:E3r,int8:A3r,uint16:_3r,uint32:j3r,uint8:T3r,uint8c:O3r,complex64:I3r,complex128:N3r,bool:D3r};pO.exports=k3r});var gO=c((mve,mO)=>{"use strict";var R3r=yO();function B3r(r){return R3r[r]||null}mO.exports=B3r});var bO=c((gve,hO)=>{"use strict";var z3r=gO();hO.exports=z3r});var wO=c((hve,qO)=>{"use strict";var V3r=me().isPrimitive,P3r=bO(),F3r=xe(),L3r=ff(),xO=cr(),C3r=L3r.get("dtypes.default");function U3r(r){var e,a;if(!V3r(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=C3r,e==="generic")return F3r(r);if(a=P3r(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=U3r});var EO=c((bve,SO)=>{"use strict";var M3r=wO();SO.exports=M3r});var jO=c((xve,_O)=>{"use strict";var AO=EO();function G3r(r){return arguments.length>1?AO(r,arguments[1]):AO(r)}_O.exports=G3r});var go=c((qve,TO)=>{"use strict";var $3r=ZT(),Y3r=dO(),W3r=jO(),lf;$3r()?lf=Y3r:lf=W3r;TO.exports=lf});var IO=c((wve,OO)=>{"use strict";var J3r=Be(),K3r=Me(),X3r=ra(),H3r=Wr(),Z3r=go(),Q3r=Ma();function r4r(r,e,a){var t,o,i,n;return t=e.length,t>0?(i=H3r(e),n=J3r(e,a)):(i=1,n=[0]),r==="binary"?o=Q3r(i):o=Z3r(i,r),new X3r(r,o,e,n,K3r(e,n),a)}OO.exports=r4r});var DO=c((Sve,NO)=>{"use strict";var e4r=IO();NO.exports=e4r});var RO=c((Eve,kO)=>{"use strict";var a4r=Be(),t4r=Me(),i4r=Wr(),o4r=Ye(),s4r=_e(),n4r=oa(),v4r=go(),u4r=Ma();function f4r(r){var e,a,t,o,i,n,s;return s=o4r(r),i=s4r(r,!0),o=n4r(r),e=i.length,e>0?(a=i4r(i),n=a4r(i,o)):(a=1,n=[0]),s==="binary"?t=u4r(a):t=v4r(a,s),new r.constructor(s,t,i,n,t4r(i,n),o)}kO.exports=f4r});var zO=c((Ave,BO)=>{"use strict";var l4r=RO();BO.exports=l4r});var UO=c((_ve,CO)=>{"use strict";var c4r=Le(),VO=Ye(),d4r=_e(),p4r=ya(),PO=Ya(),y4r=oa(),FO=vt(),LO=cr();function m4r(r,e){var a,t,o,i,n,s,v;if(i=d4r(r,!1),n=p4r(r,!1),o=y4r(r),s=i.length,a=[],t=[],e<0){if(e<-s-1)throw new RangeError(LO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));e+=s+1}else if(e>s)throw new RangeError(LO("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));if(e===0)for(t.push(1),a.push(n[0]),v=0;v<s;v++)t.push(i[v]),a.push(n[v]);else if(e===s){for(v=0;v<s;v++)t.push(i[v]),a.push(n[v]);t.push(1),a.push(n[s-1])}else for(v=0;v<s+1;v++)v===e?(t.push(1),o==="row-major"?a.push(n[v-1]):a.push(n[v])):v<e?(t.push(i[v]),a.push(n[v])):(t.push(i[v-1]),a.push(n[v-1]));return c4r(r)?new r.constructor(VO(r),FO(r),t,a,PO(r),o,{readonly:!0}):new r.constructor(VO(r),FO(r),t,a,PO(r),o)}CO.exports=m4r});var GO=c((jve,MO)=>{"use strict";var g4r=UO();MO.exports=g4r});var YO=c((Tve,$O)=>{"use strict";function h4r(r){return r===null}$O.exports=h4r});var xi=c((Ove,WO)=>{"use strict";var b4r=YO();WO.exports=b4r});var KO=c((Ive,JO)=>{"use strict";function x4r(r){return r===void 0}JO.exports=x4r});var qi=c((Nve,XO)=>{"use strict";var q4r=KO();XO.exports=q4r});var ZO=c((Dve,HO)=>{"use strict";var df=Tr(),pf=mt(),w4r=ue().isPrimitive,S4r=xi(),E4r=qi(),Vs=cr();function cf(r){return w4r(r)||S4r(r)||E4r(r)}function ut(){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 ut))return new ut(e,a,t);if(!cf(e))throw new TypeError(Vs("invalid argument. First argument must be an integer, null, or undefined. Value: `%s`.",e));if(!cf(a))throw new TypeError(Vs("invalid argument. Second argument must be an integer, null, or undefined. Value: `%s`.",a));if(cf(t)){if(t===0)throw new RangeError(Vs("invalid argument. Third argument cannot be zero. Value: `%s`.",t))}else throw new TypeError(Vs("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(ut,"name","Slice");pf(ut.prototype,"start",function(){return this._start});pf(ut.prototype,"stop",function(){return this._stop});pf(ut.prototype,"step",function(){return this._step});df(ut.prototype,"toString",function(){return"Slice("+this._start+","+this._stop+","+this.step+")"});df(ut.prototype,"toJSON",function(){return{type:"Slice",data:[this._start,this._stop,this._step]}});HO.exports=ut});var Pe=c((kve,QO)=>{"use strict";var A4r=ZO();QO.exports=A4r});var eI=c((Rve,rI)=>{"use strict";var _4r=Pe(),j4r=yt();function T4r(r){return r instanceof _4r||j4r(r)==="Slice"}rI.exports=T4r});var yf=c((Bve,aI)=>{"use strict";var O4r=eI();aI.exports=O4r});var oI=c((zve,iI)=>{"use strict";var mf=Tr(),tI=mt(),I4r=ue().isPrimitive,N4r=xi(),D4r=qi(),k4r=yf(),R4r=cr();function B4r(r){return I4r(r)||N4r(r)||D4r(r)||k4r(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],!B4r(t))throw new TypeError(R4r("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 Ja=c((Vve,sI)=>{"use strict";var z4r=oI();sI.exports=z4r});var vI=c((Pve,nI)=>{"use strict";var ma=Ja();function V4r(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=V4r});var ge=c((Fve,uI)=>{"use strict";var P4r=vI();uI.exports=P4r});var lI=c((Lve,fI)=>{"use strict";function F4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}fI.exports=F4r});var dI=c((Cve,cI)=>{"use strict";var L4r=Pe(),ho=lI();function C4r(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 ho();t=0}}else if(t>=e){if(a)return ho();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 ho();o=0}else{if(a&&o<-1)return ho();o=null}}else if(o>e){if(a)return ho();o=e}return new L4r(t,o,i)}cI.exports=C4r});var yI=c((Uve,pI)=>{"use strict";var U4r=dI();pI.exports=U4r});var gI=c((Mve,mI)=>{"use strict";function M4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}mI.exports=M4r});var xI=c((Gve,bI)=>{"use strict";var Ps=Pe(),hI=gI();function G4r(r,e,a){return r>=e?a?hI():new Ps(e,e,1):r<0?(r=e+r,r<0?a?hI():new Ps(0,0,1):new Ps(r,r+1,1)):new Ps(r,r+1,1)}bI.exports=G4r});var wI=c(($ve,qI)=>{"use strict";var $4r=xI();qI.exports=$4r});var EI=c((Yve,SI)=>{"use strict";var Y4r=ge(),W4r=Pe(),J4r=yI(),K4r=wI();function X4r(r,e,a){return r===null?new W4r(0,e,1):typeof r=="number"?K4r(r,e,a):J4r(r,e,a)}function H4r(r,e,a){var t,o,i,n;for(t=r.data,o=[],n=0;n<t.length;n++){if(i=X4r(t[n],e[n],a),i.code!==void 0)return i;o.push(i)}return Y4r(o)}SI.exports=H4r});var _I=c((Wve,AI)=>{"use strict";var Z4r=EI();AI.exports=Z4r});var TI=c((Jve,jI)=>{"use strict";function Q4r(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=Q4r});var II=c((Kve,OI)=>{"use strict";var r6r=TI();OI.exports=r6r});var DI=c((Xve,NI)=>{"use strict";var e6r=Qu();function a6r(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:e6r((t-a)/e)}NI.exports=a6r});var RI=c((Hve,kI)=>{"use strict";var t6r=DI();kI.exports=t6r});var zI=c((Zve,BI)=>{"use strict";var i6r=RI();function o6r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)a.push(i6r(e[t]));return a}BI.exports=o6r});var PI=c((Qve,VI)=>{"use strict";var s6r=zI();VI.exports=s6r});var LI=c((rue,FI)=>{"use strict";function n6r(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=n6r});var UI=c((eue,CI)=>{"use strict";function v6r(r,e,a){var t,o,i,n;for(t=r.data,o=[],i=0;i<a.length;i++)n=a[i],o.push(e[n]*t[n].step);return o}CI.exports=v6r});var GI=c((aue,MI)=>{"use strict";var u6r=Na(),f6r=xe();function l6r(r,e,a,t,o){var i,n;return n=a.length,n===0?i=[0]:i=f6r(n),new r(e,u6r(e,0),a,i,0,t,{readonly:o})}MI.exports=l6r});var XI=c((tue,KI)=>{"use strict";var $I=_I(),c6r=II(),YI=PI(),gf=Kr(),d6r=xe(),WI=Wr(),p6r=Ye(),y6r=_e(),m6r=ya(),g6r=Ya(),h6r=oa(),hf=vt(),JI=cr(),b6r=LI(),x6r=UI(),q6r=GI();function w6r(r,e,a,t){var o,i,n,s,v,u,f,l,d,m;if(n=p6r(r),s=y6r(r,!0),o=m6r(r,!0),i=g6r(r),v=h6r(r),f=s.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.",s.join(","),e.ndims));if(l=r.constructor,f===0)return new l(n,hf(r),s,o,i,v,{readonly:!t});if(u=c6r(e),m=$I(e,s,!0),m.code){if(a)throw new RangeError(JI("invalid argument. Slice exceeds array bounds. Array shape: (%s).",s.join(",")));m=$I(e,s,!1),d=YI(m),WI(gf(d,u))>0&&(d=d6r(d.length))}else d=YI(m);return WI(d)===0?q6r(l,n,gf(d,u),v,!t):(i=b6r(m,o,i),d=gf(d,u),d.length===0?new l(n,hf(r),[],[0],i,v,{readonly:!t}):(o=x6r(m,o,u),new l(n,hf(r),d,o,i,v,{readonly:!t})))}KI.exports=w6r});var pe=c((iue,HI)=>{"use strict";var S6r=XI();HI.exports=S6r});var QI=c((oue,ZI)=>{"use strict";var E6r=vo();function A6r(r){return E6r(null,r)}ZI.exports=A6r});var wi=c((sue,r7)=>{"use strict";var _6r=QI();r7.exports=_6r});var a7=c((nue,e7)=>{"use strict";function j6r(r){var e=r.ndims;return typeof e=="number"?e:r.shape.length}e7.exports=j6r});var Ba=c((vue,t7)=>{"use strict";var T6r=a7();t7.exports=T6r});var o7=c((uue,i7)=>{"use strict";var O6r=ge(),I6r=Pe(),N6r=pe(),D6r=wi(),k6r=Ba(),bf=cr();function R6r(r,e,a){var t,o,i;if(o=k6r(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=D6r(o),t[i]=new I6r(null,null,-1),N6r(r,O6r(t),!0,a)}i7.exports=R6r});var Fs=c((fue,s7)=>{"use strict";var B6r=o7();s7.exports=B6r});var v7=c((lue,n7)=>{"use strict";var z6r=Ja(),V6r=Fs(),P6r=pe(),F6r=Ba();function L6r(r,e){return F6r(r)===0?P6r(r,new z6r,!0,e):V6r(r,-1,e)}n7.exports=L6r});var f7=c((cue,u7)=>{"use strict";var C6r=v7();u7.exports=C6r});var p7=c((due,d7)=>{"use strict";var l7=Ja(),U6r=Fs(),c7=pe(),M6r=Ba();function G6r(r,e){var a=M6r(r);return a===0?c7(r,new l7,!0,e):a===1?c7(r,new l7(null),!0,e):U6r(r,-2,e)}d7.exports=G6r});var m7=c((pue,y7)=>{"use strict";var $6r=p7();y7.exports=$6r});var h7=c((yue,g7)=>{"use strict";function Y6r(r,e){var a,t,o,i,n,s,v,u,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(v=r[o],a=v<0?-v:v,u=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=v,e[s+1]=u,o+=1,i+=1}}g7.exports=Y6r});var x7=c((mue,b7)=>{"use strict";var W6r=qe(),J6r=qt(),K6r=Kr(),X6r=h7();function H6r(r,e){var a;return a=W6r(r.length),e=J6r(e),X6r(e,a),r=K6r(r,a),{sh:r,sx:e,idx:a}}b7.exports=H6r});var Hr=c((gue,q7)=>{"use strict";var Z6r=x7();q7.exports=Z6r});var S7=c((hue,w7)=>{"use strict";var Q6r={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};w7.exports=Q6r});var _7=c((bue,A7)=>{"use strict";var rSr=Ha(),E7=S7();function eSr(r){var e=rSr(r);return e===null?E7.BLOCK_SIZE_IN_ELEMENTS:E7.BLOCK_SIZE_IN_BYTES/e|0}A7.exports=eSr});var Zr=c((xue,j7)=>{"use strict";var aSr=_7();j7.exports=aSr});var I7=c((que,O7)=>{"use strict";var tSr=nt(),T7=Ze();function iSr(r,e){return typeof r[e]=="function"}function oSr(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 sSr(r){var e,a,t,o,i,n,s,v;for(e=r.data,a=r.accessors[0],t=r.accessors[1],i=T7(e.length/2),n=e.length-1,s=0;s<i;s++)v=n-s,o=a(e,s),t(e,s,a(e,v)),t(e,v,o);return e}function nSr(r){var e;return iSr(r,"reverse")?r.reverse():(e=tSr(r),e.accessorProtocol?sSr(e):oSr(r))}O7.exports=nSr});var Qr=c((wue,N7)=>{"use strict";var vSr=I7();N7.exports=vSr});var k7=c((Sue,D7)=>{"use strict";var uSr=Hr(),fSr=Zr(),lSr=Kr(),cSr=Qr();function dSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;for(w=uSr(r.shape,r.strides),f=w.sh,m=w.sx,u=cSr(w.idx),t=fSr(r.dtype),p=r.offset,o=r.data,n=m[0],i=r.accessors[0],S=f[1];S>0;)for(S<t?(d=S,S=0):(d=t,S-=t),v=p+S*m[1],b=f[0];b>0;)for(b<t?(l=b,b=0):(l=t,b-=t),y=v+b*m[0],s=m[1]-l*m[0],h=0;h<d;h++){for(g=0;g<l;g++)e.call(a,i(o,y),lSr([h,g],u),r.ref),y+=n;y+=s}}D7.exports=dSr});var B7=c((Eue,R7)=>{"use strict";var pSr=Hr(),ySr=Zr(),mSr=Kr(),gSr=Qr();function hSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q;for(q=pSr(r.shape,r.strides),d=q.sh,g=q.sx,l=gSr(q.idx),t=ySr(r.dtype),h=r.offset,o=r.data,n=g[0],i=r.accessors[0],E=d[2];E>0;)for(E<t?(y=E,E=0):(y=t,E-=t),f=h+E*g[2],x=d[1];x>0;)for(x<t?(p=x,x=0):(p=t,x-=t),v=g[2]-p*g[1],u=f+x*g[1],_=d[0];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),b=u+_*g[0],s=g[1]-m*g[0],A=0;A<y;A++){for(w=0;w<p;w++){for(S=0;S<m;S++)e.call(a,i(o,b),mSr([A,w,S],l),r.ref),b+=n;b+=s}b+=v}}R7.exports=hSr});var V7=c((Aue,z7)=>{"use strict";var bSr=Hr(),xSr=Zr(),qSr=Kr(),wSr=Qr();function SSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D;for(D=bSr(r.shape,r.strides),p=D.sh,S=D.sx,m=wSr(D.idx),t=xSr(r.dtype),w=r.offset,o=r.data,n=S[0],i=r.accessors[0],O=p[3];O>0;)for(O<t?(b=O,O=0):(b=t,O-=t),d=w+O*S[3],I=p[2];I>0;)for(I<t?(h=I,I=0):(h=t,I-=t),u=S[3]-h*S[2],l=d+I*S[2],T=p[1];T>0;)for(T<t?(g=T,T=0):(g=t,T-=t),v=S[2]-g*S[1],f=l+T*S[1],j=p[0];j>0;)for(j<t?(y=j,j=0):(y=t,j-=t),A=f+j*S[0],s=S[1]-y*S[0],q=0;q<b;q++){for(E=0;E<h;E++){for(x=0;x<g;x++){for(_=0;_<y;_++)e.call(a,i(o,A),qSr([q,E,x,_],m),r.ref),A+=n;A+=s}A+=v}A+=u}}z7.exports=SSr});var F7=c((_ue,P7)=>{"use strict";var ESr=Hr(),ASr=Zr(),_Sr=Kr(),jSr=Qr();function TSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R;for(R=ESr(r.shape,r.strides),g=R.sh,_=R.sx,y=jSr(R.idx),t=ASr(r.dtype),x=r.offset,o=r.data,n=_[0],i=r.accessors[0],z=g[4];z>0;)for(z<t?(A=z,z=0):(A=t,z-=t),p=x+z*_[4],B=g[3];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),f=_[4]-w*_[3],m=p+B*_[3],N=g[2];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),u=_[3]-S*_[2],d=m+N*_[2],k=g[1];k>0;)for(k<t?(b=k,k=0):(b=t,k-=t),v=_[2]-b*_[1],l=d+k*_[1],D=g[0];D>0;)for(D<t?(h=D,D=0):(h=t,D-=t),E=l+D*_[0],s=_[1]-h*_[0],O=0;O<A;O++){for(I=0;I<w;I++){for(T=0;T<S;T++){for(j=0;j<b;j++){for(q=0;q<h;q++)e.call(a,i(o,E),_Sr([O,I,T,j,q],y),r.ref),E+=n;E+=s}E+=v}E+=u}E+=f}}P7.exports=TSr});var C7=c((jue,L7)=>{"use strict";var OSr=Hr(),ISr=Zr(),NSr=Kr(),DSr=Qr();function kSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C;for(C=OSr(r.shape,r.strides),b=C.sh,q=C.sx,h=DSr(C.idx),t=ISr(r.dtype),j=r.offset,o=r.data,n=q[0],i=r.accessors[0],L=b[5];L>0;)for(L<t?(E=L,L=0):(E=t,L-=t),g=j+L*q[5],F=b[4];F>0;)for(F<t?(x=F,F=0):(x=t,F-=t),l=q[5]-x*q[4],y=g+F*q[4],P=b[3];P>0;)for(P<t?(_=P,P=0):(_=t,P-=t),f=q[4]-_*q[3],p=y+P*q[3],V=b[2];V>0;)for(V<t?(A=V,V=0):(A=t,V-=t),u=q[3]-A*q[2],m=p+V*q[2],R=b[1];R>0;)for(R<t?(w=R,R=0):(w=t,R-=t),v=q[2]-w*q[1],d=m+R*q[1],z=b[0];z>0;)for(z<t?(S=z,z=0):(S=t,z-=t),T=d+z*q[0],s=q[1]-S*q[0],B=0;B<E;B++){for(N=0;N<x;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),NSr([B,N,k,D,O,I],h),r.ref),T+=n;T+=s}T+=v}T+=u}T+=f}T+=l}}L7.exports=kSr});var M7=c((Tue,U7)=>{"use strict";var RSr=Hr(),BSr=Zr(),zSr=Kr(),VSr=Qr();function PSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$;for($=RSr(r.shape,r.strides),w=$.sh,I=$.sx,S=VSr($.idx),t=BSr(r.dtype),O=r.offset,o=r.data,n=I[0],i=r.accessors[0],Y=w[6];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),b=O+Y*I[6],G=w[5];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),d=I[6]-j*I[5],h=b+G*I[5],M=w[4];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=I[5]-q*I[4],g=h+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=g+U*I[3],C=w[2];C>0;)for(C<t?(x=C,C=0):(x=t,C-=t),u=I[3]-x*I[2],p=y+C*I[2],L=w[1];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),v=I[2]-_*I[1],m=p+L*I[1],F=w[0];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),D=m+F*I[0],s=I[1]-A*I[0],P=0;P<T;P++){for(V=0;V<j;V++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++){for(k=0;k<A;k++)e.call(a,i(o,D),zSr([P,V,R,z,B,N,k],S),r.ref),D+=n;D+=s}D+=v}D+=u}D+=f}D+=l}D+=d}}U7.exports=PSr});var $7=c((Oue,G7)=>{"use strict";var FSr=Hr(),LSr=Zr(),CSr=Kr(),USr=Qr();function MSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H;for(H=FSr(r.shape,r.strides),_=H.sh,k=H.sx,A=USr(H.idx),t=LSr(r.dtype),N=r.offset,o=r.data,n=k[0],i=r.accessors[0],X=_[7];X>0;)for(X<t?(D=X,X=0):(D=t,X-=t),w=N+X*k[7],K=_[6];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),m=k[7]-O*k[6],S=w+K*k[6],J=_[5];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),d=k[6]-I*k[5],b=S+J*k[5],W=_[4];W>0;)for(W<t?(T=W,W=0):(T=t,W-=t),l=k[5]-T*k[4],h=b+W*k[4],$=_[3];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),f=k[4]-j*k[3],g=h+$*k[3],Y=_[2];Y>0;)for(Y<t?(q=Y,Y=0):(q=t,Y-=t),u=k[3]-q*k[2],y=g+Y*k[2],G=_[1];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),v=k[2]-E*k[1],p=y+G*k[1],M=_[0];M>0;)for(M<t?(x=M,M=0):(x=t,M-=t),B=p+M*k[0],s=k[1]-x*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(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++)e.call(a,i(o,B),CSr([U,C,L,F,P,V,R,z],A),r.ref),B+=n;B+=s}B+=v}B+=u}B+=f}B+=l}B+=d}B+=m}}G7.exports=MSr});var W7=c((Iue,Y7)=>{"use strict";var GSr=Hr(),$Sr=Zr(),YSr=Kr(),WSr=Qr();function JSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er;for(er=GSr(r.shape,r.strides),E=er.sh,z=er.sx,x=WSr(er.idx),t=$Sr(r.dtype),R=r.offset,o=r.data,n=z[0],i=r.accessors[0],ar=E[8];ar>0;)for(ar<t?(B=ar,ar=0):(B=t,ar-=t),_=R+ar*z[8],rr=E[7];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),p=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),d=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),l=z[5]-O*z[4],b=S+H*z[4],X=E[3];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),f=z[4]-I*z[3],h=b+X*z[3],K=E[2];K>0;)for(K<t?(T=K,K=0):(T=t,K-=t),u=z[3]-T*z[2],g=h+K*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=g+J*z[1],W=E[0];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),V=y+W*z[0],s=z[1]-q*z[0],$=0;$<B;$++){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,V),YSr([$,Y,G,M,U,C,L,F,P],x),r.ref),V+=n;V+=s}V+=v}V+=u}V+=f}V+=l}V+=d}V+=m}V+=p}}Y7.exports=JSr});var K7=c((Nue,J7)=>{"use strict";var KSr=Hr(),XSr=Zr(),HSr=Kr(),ZSr=Qr();function QSr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr;for(nr=KSr(r.shape,r.strides),j=nr.sh,P=nr.sx,q=ZSr(nr.idx),t=XSr(r.dtype),F=r.offset,o=r.data,n=P[0],i=r.accessors[0],sr=j[9];sr>0;)for(sr<t?(V=sr,sr=0):(V=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],x=E+or*P[8],tr=j[7];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),p=P[8]-z*P[7],_=x+tr*P[7],ir=j[6];ir>0;)for(ir<t?(B=ir,ir=0):(B=t,ir-=t),m=P[7]-B*P[6],A=_+ir*P[6],er=j[5];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),d=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),l=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],b=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],h=b+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],g=h+Q*P[1],H=j[0];H>0;)for(H<t?(T=H,H=0):(T=t,H-=t),L=g+H*P[0],s=P[1]-T*P[0],X=0;X<V;X++){for(K=0;K<R;K++){for(J=0;J<z;J++){for(W=0;W<B;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),HSr([X,K,J,W,$,Y,G,M,U,C],q),r.ref),L+=n;L+=s}L+=v}L+=u}L+=f}L+=l}L+=d}L+=m}L+=p}L+=y}}J7.exports=QSr});var H7=c((Due,X7)=>{"use strict";var rEr=Hr(),eEr=Zr(),aEr=Kr(),tEr=Qr();function iEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S;for(S=rEr(r.shape,r.strides),u=S.sh,d=S.sx,v=tEr(S.idx),t=eEr(r.dtype),m=r.offset,o=r.data,i=d[0],b=u[1];b>0;)for(b<t?(l=b,b=0):(l=t,b-=t),s=m+b*d[1],h=u[0];h>0;)for(h<t?(f=h,h=0):(f=t,h-=t),p=s+h*d[0],n=d[1]-f*d[0],g=0;g<l;g++){for(y=0;y<f;y++)e.call(a,o[p],aEr([g,y],v),r.ref),p+=i;p+=n}}X7.exports=iEr});var Q7=c((kue,Z7)=>{"use strict";var oEr=Hr(),sEr=Zr(),nEr=Kr(),vEr=Qr();function uEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E;for(E=oEr(r.shape,r.strides),l=E.sh,y=E.sx,f=vEr(E.idx),t=sEr(r.dtype),g=r.offset,o=r.data,i=y[0],x=l[2];x>0;)for(x<t?(p=x,x=0):(p=t,x-=t),u=g+x*y[2],_=l[1];_>0;)for(_<t?(m=_,_=0):(m=t,_-=t),s=y[2]-m*y[1],v=u+_*y[1],A=l[0];A>0;)for(A<t?(d=A,A=0):(d=t,A-=t),h=v+A*y[0],n=y[1]-d*y[0],w=0;w<p;w++){for(S=0;S<m;S++){for(b=0;b<d;b++)e.call(a,o[h],nEr([w,S,b],f),r.ref),h+=i;h+=n}h+=s}}Z7.exports=uEr});var eN=c((Rue,rN)=>{"use strict";var fEr=Hr(),lEr=Zr(),cEr=Kr(),dEr=Qr();function pEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(O=fEr(r.shape,r.strides),m=O.sh,b=O.sx,d=dEr(O.idx),t=lEr(r.dtype),S=r.offset,o=r.data,i=b[0],I=m[3];I>0;)for(I<t?(h=I,I=0):(h=t,I-=t),l=S+I*b[3],T=m[2];T>0;)for(T<t?(g=T,T=0):(g=t,T-=t),v=b[3]-g*b[2],f=l+T*b[2],j=m[1];j>0;)for(j<t?(y=j,j=0):(y=t,j-=t),s=b[2]-y*b[1],u=f+j*b[1],q=m[0];q>0;)for(q<t?(p=q,q=0):(p=t,q-=t),w=u+q*b[0],n=b[1]-p*b[0],E=0;E<h;E++){for(x=0;x<g;x++){for(_=0;_<y;_++){for(A=0;A<p;A++)e.call(a,o[w],cEr([E,x,_,A],d),r.ref),w+=i;w+=n}w+=s}w+=v}}rN.exports=pEr});var tN=c((Bue,aN)=>{"use strict";var yEr=Hr(),mEr=Zr(),gEr=Kr(),hEr=Qr();function bEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z;for(z=yEr(r.shape,r.strides),y=z.sh,A=z.sx,p=hEr(z.idx),t=mEr(r.dtype),_=r.offset,o=r.data,i=A[0],B=y[4];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),m=_+B*A[4],N=y[3];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),u=A[4]-S*A[3],d=m+N*A[3],k=y[2];k>0;)for(k<t?(b=k,k=0):(b=t,k-=t),v=A[3]-b*A[2],l=d+k*A[2],D=y[1];D>0;)for(D<t?(h=D,D=0):(h=t,D-=t),s=A[2]-h*A[1],f=l+D*A[1],O=y[0];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),x=f+O*A[0],n=A[1]-g*A[0],I=0;I<w;I++){for(T=0;T<S;T++){for(j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++)e.call(a,o[x],gEr([I,T,j,q,E],p),r.ref),x+=i;x+=n}x+=s}x+=v}x+=u}}aN.exports=bEr});var oN=c((zue,iN)=>{"use strict";var xEr=Hr(),qEr=Zr(),wEr=Kr(),SEr=Qr();function EEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L;for(L=xEr(r.shape,r.strides),h=L.sh,E=L.sx,g=SEr(L.idx),t=qEr(r.dtype),q=r.offset,o=r.data,i=E[0],F=h[5];F>0;)for(F<t?(x=F,F=0):(x=t,F-=t),y=q+F*E[5],P=h[4];P>0;)for(P<t?(_=P,P=0):(_=t,P-=t),f=E[5]-_*E[4],p=y+P*E[4],V=h[3];V>0;)for(V<t?(A=V,V=0):(A=t,V-=t),u=E[4]-A*E[3],m=p+V*E[3],R=h[2];R>0;)for(R<t?(w=R,R=0):(w=t,R-=t),v=E[3]-w*E[2],d=m+R*E[2],z=h[1];z>0;)for(z<t?(S=z,z=0):(S=t,z-=t),s=E[2]-S*E[1],l=d+z*E[1],B=h[0];B>0;)for(B<t?(b=B,B=0):(b=t,B-=t),j=l+B*E[0],n=E[1]-b*E[0],N=0;N<x;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<b;T++)e.call(a,o[j],wEr([N,k,D,O,I,T],g),r.ref),j+=i;j+=n}j+=s}j+=v}j+=u}j+=f}}iN.exports=EEr});var nN=c((Vue,sN)=>{"use strict";var AEr=Hr(),_Er=Zr(),jEr=Kr(),TEr=Qr();function OEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y;for(Y=AEr(r.shape,r.strides),S=Y.sh,T=Y.sx,b=TEr(Y.idx),t=_Er(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),h=I+G*T[6],M=S[5];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=T[6]-q*T[5],g=h+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=g+U*T[4],C=S[3];C>0;)for(C<t?(x=C,C=0):(x=t,C-=t),u=T[4]-x*T[3],p=y+C*T[3],L=S[2];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),v=T[3]-_*T[2],m=p+L*T[2],F=S[1];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),s=T[2]-A*T[1],d=m+F*T[1],P=S[0];P>0;)for(P<t?(w=P,P=0):(w=t,P-=t),O=d+P*T[0],n=T[1]-w*T[0],V=0;V<j;V++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)e.call(a,o[O],jEr([V,R,z,B,N,k,D],b),r.ref),O+=i;O+=n}O+=s}O+=v}O+=u}O+=f}O+=l}}sN.exports=OEr});var uN=c((Pue,vN)=>{"use strict";var IEr=Hr(),NEr=Zr(),DEr=Kr(),kEr=Qr();function REr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X;for(X=IEr(r.shape,r.strides),A=X.sh,D=X.sx,w=kEr(X.idx),t=NEr(r.dtype),k=r.offset,o=r.data,i=D[0],K=A[7];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),S=k+K*D[7],J=A[6];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),d=D[7]-I*D[6],b=S+J*D[6],W=A[5];W>0;)for(W<t?(T=W,W=0):(T=t,W-=t),l=D[6]-T*D[5],h=b+W*D[5],$=A[4];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),f=D[5]-j*D[4],g=h+$*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=g+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],p=y+G*D[2],M=A[1];M>0;)for(M<t?(x=M,M=0):(x=t,M-=t),s=D[2]-x*D[1],m=p+M*D[1],U=A[0];U>0;)for(U<t?(_=U,U=0):(_=t,U-=t),N=m+U*D[0],n=D[1]-_*D[0],C=0;C<O;C++){for(L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++)e.call(a,o[N],DEr([C,L,F,P,V,R,z,B],w),r.ref),N+=i;N+=n}N+=s}N+=v}N+=u}N+=f}N+=l}N+=d}}vN.exports=REr});var lN=c((Fue,fN)=>{"use strict";var BEr=Hr(),zEr=Zr(),VEr=Kr(),PEr=Qr();function FEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar;for(ar=BEr(r.shape,r.strides),x=ar.sh,B=ar.sx,_=PEr(ar.idx),t=zEr(r.dtype),z=r.offset,o=r.data,i=B[0],rr=x[8];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),A=z+rr*B[8],Z=x[7];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),m=B[8]-k*B[7],w=A+Z*B[7],Q=x[6];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),d=B[7]-D*B[6],S=w+Q*B[6],H=x[5];H>0;)for(H<t?(O=H,H=0):(O=t,H-=t),l=B[6]-O*B[5],b=S+H*B[5],X=x[4];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),f=B[5]-I*B[4],h=b+X*B[4],K=x[3];K>0;)for(K<t?(T=K,K=0):(T=t,K-=t),u=B[4]-T*B[3],g=h+K*B[3],J=x[2];J>0;)for(J<t?(j=J,J=0):(j=t,J-=t),v=B[3]-j*B[2],y=g+J*B[2],W=x[1];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),s=B[2]-q*B[1],p=y+W*B[1],$=x[0];$>0;)for($<t?(E=$,$=0):(E=t,$-=t),R=p+$*B[0],n=B[1]-E*B[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(V=0;V<E;V++)e.call(a,o[R],VEr([Y,G,M,U,C,L,F,P,V],_),r.ref),R+=i;R+=n}R+=s}R+=v}R+=u}R+=f}R+=l}R+=d}R+=m}}fN.exports=FEr});var dN=c((Lue,cN)=>{"use strict";var LEr=Hr(),CEr=Zr(),UEr=Kr(),MEr=Qr();function GEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(sr=LEr(r.shape,r.strides),q=sr.sh,V=sr.sx,E=MEr(sr.idx),t=CEr(r.dtype),P=r.offset,o=r.data,i=V[0],or=q[9];or>0;)for(or<t?(R=or,or=0):(R=t,or-=t),x=P+or*V[9],tr=q[8];tr>0;)for(tr<t?(z=tr,tr=0):(z=t,tr-=t),p=V[9]-z*V[8],_=x+tr*V[8],ir=q[7];ir>0;)for(ir<t?(B=ir,ir=0):(B=t,ir-=t),m=V[8]-B*V[7],A=_+ir*V[7],er=q[6];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),d=V[7]-N*V[6],w=A+er*V[6],ar=q[5];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),l=V[6]-k*V[5],S=w+ar*V[5],rr=q[4];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=V[5]-D*V[4],b=S+rr*V[4],Z=q[3];Z>0;)for(Z<t?(O=Z,Z=0):(O=t,Z-=t),u=V[4]-O*V[3],h=b+Z*V[3],Q=q[2];Q>0;)for(Q<t?(I=Q,Q=0):(I=t,Q-=t),v=V[3]-I*V[2],g=h+Q*V[2],H=q[1];H>0;)for(H<t?(T=H,H=0):(T=t,H-=t),s=V[2]-T*V[1],y=g+H*V[1],X=q[0];X>0;)for(X<t?(j=X,X=0):(j=t,X-=t),F=y+X*V[0],n=V[1]-j*V[0],K=0;K<R;K++){for(J=0;J<z;J++){for(W=0;W<B;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],UEr([K,J,W,$,Y,G,M,U,C,L],E),r.ref),F+=i;F+=n}F+=s}F+=v}F+=u}F+=f}F+=l}F+=d}F+=m}F+=p}}cN.exports=GEr});var yN=c((Cue,pN)=>{"use strict";function $Er(r,e,a){e.call(a,r.accessors[0](r.data,r.offset),[],r.ref)}pN.exports=$Er});var gN=c((Uue,mN)=>{"use strict";function YEr(r,e,a){var t,o,i,n,s,v;for(n=r.shape[0],i=r.strides[0],s=r.offset,t=r.data,o=r.accessors[0],v=0;v<n;v++)e.call(a,o(t,s),[v],r.ref),s+=i}mN.exports=YEr});var bN=c((Mue,hN)=>{"use strict";var WEr=qe(),JEr=Qr(),KEr=Kr();function XEr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p;for(v=r.shape,l=r.strides,s=WEr(v.length),r.order==="row-major"?(u=v[1],f=v[0],i=l[1],n=l[0]-u*l[1]):(u=v[0],f=v[1],i=l[0],n=l[1]-u*l[0],s=JEr(s)),d=r.offset,t=r.data,o=r.accessors[0],p=0;p<f;p++){for(m=0;m<u;m++)e.call(a,o(t,d),KEr([p,m],s),r.ref),d+=i;d+=n}}hN.exports=XEr});var qN=c((Gue,xN)=>{"use strict";var HEr=qe(),ZEr=Qr(),QEr=Kr();function rAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;for(u=r.shape,m=r.strides,v=HEr(u.length),r.order==="row-major"?(f=u[2],l=u[1],d=u[0],i=m[2],n=m[1]-f*m[2],s=m[0]-l*m[1]):(f=u[0],l=u[1],d=u[2],i=m[0],n=m[1]-f*m[0],s=m[2]-l*m[1],v=ZEr(v)),p=r.offset,t=r.data,o=r.accessors[0],h=0;h<d;h++){for(g=0;g<l;g++){for(y=0;y<f;y++)e.call(a,o(t,p),QEr([h,g,y],v),r.ref),p+=i;p+=n}p+=s}}xN.exports=rAr});var SN=c(($ue,wN)=>{"use strict";var eAr=qe(),aAr=Qr(),tAr=Kr();function iAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;for(f=r.shape,y=r.strides,u=eAr(f.length),r.order==="row-major"?(l=f[3],d=f[2],m=f[1],p=f[0],i=y[3],n=y[2]-l*y[3],s=y[1]-d*y[2],v=y[0]-m*y[1]):(l=f[0],d=f[1],m=f[2],p=f[3],i=y[0],n=y[1]-l*y[0],s=y[2]-d*y[1],v=y[3]-m*y[2],u=aAr(u)),g=r.offset,t=r.data,o=r.accessors[0],w=0;w<p;w++){for(S=0;S<m;S++){for(b=0;b<d;b++){for(h=0;h<l;h++)e.call(a,o(t,g),tAr([w,S,b,h],u),r.ref),g+=i;g+=n}g+=s}g+=v}}wN.exports=iAr});var AN=c((Yue,EN)=>{"use strict";var oAr=qe(),sAr=Qr(),nAr=Kr();function vAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x;for(l=r.shape,h=r.strides,f=oAr(l.length),r.order==="row-major"?(d=l[4],m=l[3],p=l[2],y=l[1],g=l[0],i=h[4],n=h[3]-d*h[4],s=h[2]-m*h[3],v=h[1]-p*h[2],u=h[0]-y*h[1]):(d=l[0],m=l[1],p=l[2],y=l[3],g=l[4],i=h[0],n=h[1]-d*h[0],s=h[2]-m*h[1],v=h[3]-p*h[2],u=h[4]-y*h[3],f=sAr(f)),b=r.offset,t=r.data,o=r.accessors[0],x=0;x<g;x++){for(_=0;_<y;_++){for(A=0;A<p;A++){for(w=0;w<m;w++){for(S=0;S<d;S++)e.call(a,o(t,b),nAr([x,_,A,w,S],f),r.ref),b+=i;b+=n}b+=s}b+=v}b+=u}}EN.exports=vAr});var jN=c((Wue,_N)=>{"use strict";var uAr=qe(),fAr=Qr(),lAr=Kr();function cAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j;for(d=r.shape,S=r.strides,l=uAr(d.length),r.order==="row-major"?(m=d[5],p=d[4],y=d[3],g=d[2],h=d[1],b=d[0],i=S[5],n=S[4]-m*S[5],s=S[3]-p*S[4],v=S[2]-y*S[3],u=S[1]-g*S[2],f=S[0]-h*S[1]):(m=d[0],p=d[1],y=d[2],g=d[3],h=d[4],b=d[5],i=S[0],n=S[1]-m*S[0],s=S[2]-p*S[1],v=S[3]-y*S[2],u=S[4]-g*S[3],f=S[5]-h*S[4],l=fAr(l)),w=r.offset,t=r.data,o=r.accessors[0],j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++){for(A=0;A<m;A++)e.call(a,o(t,w),lAr([j,q,E,x,_,A],l),r.ref),w+=i;w+=n}w+=s}w+=v}w+=u}w+=f}}_N.exports=cAr});var ON=c((Jue,TN)=>{"use strict";var dAr=qe(),pAr=Qr(),yAr=Kr();function mAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(m=r.shape,A=r.strides,d=dAr(m.length),r.order==="row-major"?(p=m[6],y=m[5],g=m[4],h=m[3],b=m[2],S=m[1],w=m[0],i=A[6],n=A[5]-p*A[6],s=A[4]-y*A[5],v=A[3]-g*A[4],u=A[2]-h*A[3],f=A[1]-b*A[2],l=A[0]-S*A[1]):(p=m[0],y=m[1],g=m[2],h=m[3],b=m[4],S=m[5],w=m[6],i=A[0],n=A[1]-p*A[0],s=A[2]-y*A[1],v=A[3]-g*A[2],u=A[4]-h*A[3],f=A[5]-b*A[4],l=A[6]-S*A[5],d=pAr(d)),_=r.offset,t=r.data,o=r.accessors[0],O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++){for(E=0;E<y;E++){for(x=0;x<p;x++)e.call(a,o(t,_),yAr([O,I,T,j,q,E,x],d),r.ref),_+=i;_+=n}_+=s}_+=v}_+=u}_+=f}_+=l}}TN.exports=mAr});var NN=c((Kue,IN)=>{"use strict";var gAr=qe(),hAr=Qr(),bAr=Kr();function xAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N;for(p=r.shape,x=r.strides,m=gAr(p.length),r.order==="row-major"?(y=p[7],g=p[6],h=p[5],b=p[4],S=p[3],w=p[2],A=p[1],_=p[0],i=x[7],n=x[6]-y*x[7],s=x[5]-g*x[6],v=x[4]-h*x[5],u=x[3]-b*x[4],f=x[2]-S*x[3],l=x[1]-w*x[2],d=x[0]-A*x[1]):(y=p[0],g=p[1],h=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],i=x[0],n=x[1]-y*x[0],s=x[2]-g*x[1],v=x[3]-h*x[2],u=x[4]-b*x[3],f=x[5]-S*x[4],l=x[6]-w*x[5],d=x[7]-A*x[6],m=hAr(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<b;I++){for(T=0;T<h;T++){for(j=0;j<g;j++){for(q=0;q<y;q++)e.call(a,o(t,E),bAr([N,k,D,O,I,T,j,q],m),r.ref),E+=i;E+=n}E+=s}E+=v}E+=u}E+=f}E+=l}E+=d}}IN.exports=xAr});var kN=c((Xue,DN)=>{"use strict";var qAr=qe(),wAr=Qr(),SAr=Kr();function EAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R;for(y=r.shape,q=r.strides,p=qAr(y.length),r.order==="row-major"?(g=y[8],h=y[7],b=y[6],S=y[5],w=y[4],A=y[3],_=y[2],x=y[1],E=y[0],i=q[8],n=q[7]-g*q[8],s=q[6]-h*q[7],v=q[5]-b*q[6],u=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],m=q[0]-x*q[1]):(g=y[0],h=y[1],b=y[2],S=y[3],w=y[4],A=y[5],_=y[6],x=y[7],E=y[8],i=q[0],n=q[1]-g*q[0],s=q[2]-h*q[1],v=q[3]-b*q[2],u=q[4]-S*q[3],f=q[5]-w*q[4],l=q[6]-A*q[5],d=q[7]-_*q[6],m=q[8]-x*q[7],p=wAr(p)),j=r.offset,t=r.data,o=r.accessors[0],R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<b;O++){for(I=0;I<h;I++){for(T=0;T<g;T++)e.call(a,o(t,j),SAr([R,z,B,N,k,D,O,I,T],p),r.ref),j+=i;j+=n}j+=s}j+=v}j+=u}j+=f}j+=l}j+=d}j+=m}}DN.exports=EAr});var BN=c((Hue,RN)=>{"use strict";var AAr=qe(),_Ar=Qr(),jAr=Kr();function TAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(g=r.shape,T=r.strides,y=AAr(g.length),r.order==="row-major"?(h=g[9],b=g[8],S=g[7],w=g[6],A=g[5],_=g[4],x=g[3],E=g[2],q=g[1],j=g[0],i=T[9],n=T[8]-h*T[9],s=T[7]-b*T[8],v=T[6]-S*T[7],u=T[5]-w*T[6],f=T[4]-A*T[5],l=T[3]-_*T[4],d=T[2]-x*T[3],m=T[1]-E*T[2],p=T[0]-q*T[1]):(h=g[0],b=g[1],S=g[2],w=g[3],A=g[4],_=g[5],x=g[6],E=g[7],q=g[8],j=g[9],i=T[0],n=T[1]-h*T[0],s=T[2]-b*T[1],v=T[3]-S*T[2],u=T[4]-w*T[3],f=T[5]-A*T[4],l=T[6]-_*T[5],d=T[7]-x*T[6],m=T[8]-E*T[7],p=T[9]-q*T[8],y=_Ar(y)),I=r.offset,t=r.data,o=r.accessors[0],F=0;F<j;F++){for(P=0;P<q;P++){for(V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++){for(B=0;B<A;B++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(O=0;O<h;O++)e.call(a,o(t,I),jAr([F,P,V,R,z,B,N,k,D,O],y),r.ref),I+=i;I+=n}I+=s}I+=v}I+=u}I+=f}I+=l}I+=d}I+=m}I+=p}}RN.exports=TAr});var xf=c((Zue,zN)=>{"use strict";var OAr=cr(),Ls=rf();function IAr(r,e,a,t,o,i,n){var s,v,u,f,l;for(s=r.length,v=1,l=0;l<s;l++)v*=r[l];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(OAr("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(l=0;l<s;l++)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}for(l=s-1;l>=0;l--)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}if(t==="column-major"){for(l=s-1;l>=0;l--)f=e[l],f<0?(u=Ls(o/f),o-=u*f,n[l]=r[l]-1+u):(u=Ls(o/f),o-=u*f,n[l]=u);return n}for(l=0;l<s;l++)f=e[l],f<0?(u=Ls(o/f),o-=u*f,n[l]=r[l]-1+u):(u=Ls(o/f),o-=u*f,n[l]=u);return n}zN.exports=IAr});var PN=c((Que,VN)=>{"use strict";var NAr=xe(),DAr=xf();function kAr(r,e,a,t,o,i){return DAr(r,e,a,t,o,i,NAr(r.length))}VN.exports=kAr});var Si=c((rfe,LN)=>{"use strict";var RAr=Tr(),FN=PN(),BAr=xf();RAr(FN,"assign",BAr);LN.exports=FN});var MN=c((efe,UN)=>{"use strict";var zAr=Wr(),VAr=ia(),PAr=Si(),CN="throw";function FAr(r,e,a){var t,o,i,n,s,v,u,f,l,d;for(v=r.shape,i=zAr(v),t=r.data,u=r.strides,f=r.offset,o=r.order,n=r.accessors[0],d=0;d<i;d++)l=VAr(v,u,f,o,d,CN),s=PAr(v,u,0,o,d,CN),e.call(a,n(t,l),s,r.ref)}UN.exports=FAr});var $N=c((afe,GN)=>{"use strict";function LAr(r,e,a){e.call(a,r.data[r.offset],[],r.ref)}GN.exports=LAr});var WN=c((tfe,YN)=>{"use strict";function CAr(r,e,a){var t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,t=r.data,s=0;s<i;s++)e.call(a,t[n],[s],r.ref),n+=o}YN.exports=CAr});var KN=c((ife,JN)=>{"use strict";var UAr=qe(),MAr=Qr(),GAr=Kr();function $Ar(r,e,a){var t,o,i,n,s,v,u,f,l,d,m;for(s=r.shape,f=r.strides,n=UAr(s.length),r.order==="row-major"?(v=s[1],u=s[0],o=f[1],i=f[0]-v*f[1]):(v=s[0],u=s[1],o=f[0],i=f[1]-v*f[0],n=MAr(n)),l=r.offset,t=r.data,m=0;m<u;m++){for(d=0;d<v;d++)e.call(a,t[l],GAr([m,d],n),r.ref),l+=o;l+=i}}JN.exports=$Ar});var HN=c((ofe,XN)=>{"use strict";var YAr=qe(),WAr=Qr(),JAr=Kr();function KAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g;for(v=r.shape,d=r.strides,s=YAr(v.length),r.order==="row-major"?(u=v[2],f=v[1],l=v[0],o=d[2],i=d[1]-u*d[2],n=d[0]-f*d[1]):(u=v[0],f=v[1],l=v[2],o=d[0],i=d[1]-u*d[0],n=d[2]-f*d[1],s=WAr(s)),m=r.offset,t=r.data,g=0;g<l;g++){for(y=0;y<f;y++){for(p=0;p<u;p++)e.call(a,t[m],JAr([g,y,p],s),r.ref),m+=o;m+=i}m+=n}}XN.exports=KAr});var QN=c((sfe,ZN)=>{"use strict";var XAr=qe(),HAr=Qr(),ZAr=Kr();function QAr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S;for(u=r.shape,p=r.strides,v=XAr(u.length),r.order==="row-major"?(f=u[3],l=u[2],d=u[1],m=u[0],o=p[3],i=p[2]-f*p[3],n=p[1]-l*p[2],s=p[0]-d*p[1]):(f=u[0],l=u[1],d=u[2],m=u[3],o=p[0],i=p[1]-f*p[0],n=p[2]-l*p[1],s=p[3]-d*p[2],v=HAr(v)),y=r.offset,t=r.data,S=0;S<m;S++){for(b=0;b<d;b++){for(h=0;h<l;h++){for(g=0;g<f;g++)e.call(a,t[y],ZAr([S,b,h,g],v),r.ref),y+=o;y+=i}y+=n}y+=s}}ZN.exports=QAr});var eD=c((nfe,rD)=>{"use strict";var r5r=qe(),e5r=Qr(),a5r=Kr();function t5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_;for(f=r.shape,g=r.strides,u=r5r(f.length),r.order==="row-major"?(l=f[4],d=f[3],m=f[2],p=f[1],y=f[0],o=g[4],i=g[3]-l*g[4],n=g[2]-d*g[3],s=g[1]-m*g[2],v=g[0]-p*g[1]):(l=f[0],d=f[1],m=f[2],p=f[3],y=f[4],o=g[0],i=g[1]-l*g[0],n=g[2]-d*g[1],s=g[3]-m*g[2],v=g[4]-p*g[3],u=e5r(u)),h=r.offset,t=r.data,_=0;_<y;_++){for(A=0;A<p;A++){for(w=0;w<m;w++){for(S=0;S<d;S++){for(b=0;b<l;b++)e.call(a,t[h],a5r([_,A,w,S,b],u),r.ref),h+=o;h+=i}h+=n}h+=s}h+=v}}rD.exports=t5r});var tD=c((vfe,aD)=>{"use strict";var i5r=qe(),o5r=Qr(),s5r=Kr();function n5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q;for(l=r.shape,b=r.strides,f=i5r(l.length),r.order==="row-major"?(d=l[5],m=l[4],p=l[3],y=l[2],g=l[1],h=l[0],o=b[5],i=b[4]-d*b[5],n=b[3]-m*b[4],s=b[2]-p*b[3],v=b[1]-y*b[2],u=b[0]-g*b[1]):(d=l[0],m=l[1],p=l[2],y=l[3],g=l[4],h=l[5],o=b[0],i=b[1]-d*b[0],n=b[2]-m*b[1],s=b[3]-p*b[2],v=b[4]-y*b[3],u=b[5]-g*b[4],f=o5r(f)),S=r.offset,t=r.data,q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++){for(A=0;A<m;A++){for(w=0;w<d;w++)e.call(a,t[S],s5r([q,E,x,_,A,w],f),r.ref),S+=o;S+=i}S+=n}S+=s}S+=v}S+=u}}aD.exports=n5r});var oD=c((ufe,iD)=>{"use strict";var v5r=qe(),u5r=Qr(),f5r=Kr();function l5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I;for(d=r.shape,w=r.strides,l=v5r(d.length),r.order==="row-major"?(m=d[6],p=d[5],y=d[4],g=d[3],h=d[2],b=d[1],S=d[0],o=w[6],i=w[5]-m*w[6],n=w[4]-p*w[5],s=w[3]-y*w[4],v=w[2]-g*w[3],u=w[1]-h*w[2],f=w[0]-b*w[1]):(m=d[0],p=d[1],y=d[2],g=d[3],h=d[4],b=d[5],S=d[6],o=w[0],i=w[1]-m*w[0],n=w[2]-p*w[1],s=w[3]-y*w[2],v=w[4]-g*w[3],u=w[5]-h*w[4],f=w[6]-b*w[5],l=u5r(l)),A=r.offset,t=r.data,I=0;I<S;I++){for(T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++){for(E=0;E<y;E++){for(x=0;x<p;x++){for(_=0;_<m;_++)e.call(a,t[A],f5r([I,T,j,q,E,x,_],l),r.ref),A+=o;A+=i}A+=n}A+=s}A+=v}A+=u}A+=f}}iD.exports=l5r});var nD=c((ffe,sD)=>{"use strict";var c5r=qe(),d5r=Qr(),p5r=Kr();function y5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k;for(m=r.shape,_=r.strides,d=c5r(m.length),r.order==="row-major"?(p=m[7],y=m[6],g=m[5],h=m[4],b=m[3],S=m[2],w=m[1],A=m[0],o=_[7],i=_[6]-p*_[7],n=_[5]-y*_[6],s=_[4]-g*_[5],v=_[3]-h*_[4],u=_[2]-b*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(p=m[0],y=m[1],g=m[2],h=m[3],b=m[4],S=m[5],w=m[6],A=m[7],o=_[0],i=_[1]-p*_[0],n=_[2]-y*_[1],s=_[3]-g*_[2],v=_[4]-h*_[3],u=_[5]-b*_[4],f=_[6]-S*_[5],l=_[7]-w*_[6],d=d5r(d)),x=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<b;I++){for(T=0;T<h;T++){for(j=0;j<g;j++){for(q=0;q<y;q++){for(E=0;E<p;E++)e.call(a,t[x],p5r([k,D,O,I,T,j,q,E],d),r.ref),x+=o;x+=i}x+=n}x+=s}x+=v}x+=u}x+=f}x+=l}}sD.exports=y5r});var uD=c((lfe,vD)=>{"use strict";var m5r=qe(),g5r=Qr(),h5r=Kr();function b5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z;for(p=r.shape,E=r.strides,m=m5r(p.length),r.order==="row-major"?(y=p[8],g=p[7],h=p[6],b=p[5],S=p[4],w=p[3],A=p[2],_=p[1],x=p[0],o=E[8],i=E[7]-y*E[8],n=E[6]-g*E[7],s=E[5]-h*E[6],v=E[4]-b*E[5],u=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],d=E[0]-_*E[1]):(y=p[0],g=p[1],h=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],x=p[8],o=E[0],i=E[1]-y*E[0],n=E[2]-g*E[1],s=E[3]-h*E[2],v=E[4]-b*E[3],u=E[5]-S*E[4],f=E[6]-w*E[5],l=E[7]-A*E[6],d=E[8]-_*E[7],m=g5r(m)),q=r.offset,t=r.data,z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<b;O++){for(I=0;I<h;I++){for(T=0;T<g;T++){for(j=0;j<y;j++)e.call(a,t[q],h5r([z,B,N,k,D,O,I,T,j],m),r.ref),q+=o;q+=i}q+=n}q+=s}q+=v}q+=u}q+=f}q+=l}q+=d}}vD.exports=b5r});var lD=c((cfe,fD)=>{"use strict";var x5r=qe(),q5r=Qr(),w5r=Kr();function S5r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P;for(y=r.shape,j=r.strides,p=x5r(y.length),r.order==="row-major"?(g=y[9],h=y[8],b=y[7],S=y[6],w=y[5],A=y[4],_=y[3],x=y[2],E=y[1],q=y[0],o=j[9],i=j[8]-g*j[9],n=j[7]-h*j[8],s=j[6]-b*j[7],v=j[5]-S*j[6],u=j[4]-w*j[5],f=j[3]-A*j[4],l=j[2]-_*j[3],d=j[1]-x*j[2],m=j[0]-E*j[1]):(g=y[0],h=y[1],b=y[2],S=y[3],w=y[4],A=y[5],_=y[6],x=y[7],E=y[8],q=y[9],o=j[0],i=j[1]-g*j[0],n=j[2]-h*j[1],s=j[3]-b*j[2],v=j[4]-S*j[3],u=j[5]-w*j[4],f=j[6]-A*j[5],l=j[7]-_*j[6],d=j[8]-x*j[7],m=j[9]-E*j[8],p=q5r(p)),T=r.offset,t=r.data,P=0;P<q;P++){for(V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++){for(B=0;B<A;B++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(O=0;O<h;O++){for(I=0;I<g;I++)e.call(a,t[T],w5r([P,V,R,z,B,N,k,D,O,I],p),r.ref),T+=o;T+=i}T+=n}T+=s}T+=v}T+=u}T+=f}T+=l}T+=d}T+=m}}fD.exports=S5r});var pD=c((dfe,dD)=>{"use strict";var E5r=Wr(),A5r=ia(),_5r=Si(),cD="throw";function j5r(r,e,a){var t,o,i,n,s,v,u,f,l;for(s=r.shape,i=E5r(s),t=r.data,v=r.strides,u=r.offset,o=r.order,l=0;l<i;l++)f=A5r(s,v,u,o,l,cD),n=_5r(s,v,0,o,l,cD),e.call(a,t[f],n,r.ref)}dD.exports=j5r});var hD=c((pfe,gD)=>{"use strict";var T5r=xa(),O5r=Wt(),I5r=Wr(),N5r=k7(),D5r=B7(),k5r=V7(),R5r=F7(),B5r=C7(),z5r=M7(),V5r=$7(),P5r=W7(),F5r=K7(),L5r=H7(),C5r=Q7(),U5r=eN(),M5r=tN(),G5r=oN(),$5r=nN(),Y5r=uN(),W5r=lN(),J5r=dN(),K5r=yN(),X5r=gN(),H5r=bN(),Z5r=qN(),Q5r=SN(),r_r=AN(),e_r=jN(),a_r=ON(),t_r=NN(),i_r=kN(),o_r=BN(),s_r=MN(),n_r=$N(),v_r=WN(),u_r=KN(),f_r=HN(),l_r=QN(),c_r=eD(),d_r=tD(),p_r=oD(),y_r=nD(),m_r=uD(),g_r=lD(),h_r=pD(),qf=[n_r,v_r,u_r,f_r,l_r,c_r,d_r,p_r,y_r,m_r,g_r],yD=[K5r,X5r,H5r,Z5r,Q5r,r_r,e_r,a_r,t_r,i_r,o_r],b_r=[L5r,C5r,U5r,M5r,G5r,$5r,Y5r,W5r,J5r],x_r=[N5r,D5r,k5r,R5r,B5r,z5r,V5r,P5r,F5r],mD=qf.length-1;function q_r(r,e,a){var t,o,i;if(i=O5r(r[0]),o=i.shape,t=o.length,t===0)return i.accessorProtocol?yD[t](i,e,a):qf[t](i,e,a);if(I5r(o)!==0){if(t<=mD&&T5r(i.strides)!==0)return i.accessorProtocol?yD[t](i,e,a):qf[t](i,e,a);if(t<=mD)return i.accessorProtocol?x_r[t-2](i,e,a):b_r[t-2](i,e,a);if(i.accessorProtocol)return s_r(i,e,a);h_r(i,e,a)}}gD.exports=q_r});var xD=c((yfe,bD)=>{"use strict";var w_r=hD();bD.exports=w_r});var wD=c((mfe,qD)=>{"use strict";var S_r=et(),E_r=gi(),A_r=mi(),__r=Na(),j_r=ra(),T_r=cr();function O_r(r,e,a){var t,o;if(t=__r(e,1),t===null)throw new TypeError(T_r("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),S_r(t)?o=E_r(e):o=A_r(e),o(t,0,r),new j_r(e,t,[],[0],0,a)}qD.exports=O_r});var ED=c((gfe,SD)=>{"use strict";var I_r=wD();SD.exports=I_r});var _D=c((hfe,AD)=>{"use strict";function N_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=N_r});var TD=c((bfe,jD)=>{"use strict";var D_r=_D();jD.exports=D_r});var ND=c((xfe,ID)=>{"use strict";var OD=mo(),k_r=_e();function R_r(r,e){var a,t,o;if(t=e.length,a=k_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=R_r});var wf=c((qfe,DD)=>{"use strict";var B_r=ND();DD.exports=B_r});var RD=c((wfe,kD)=>{"use strict";var z_r=bi(),V_r=wf(),P_r=_e();function F_r(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(P_r(r[i],!1));if(t=z_r(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(V_r(r[i],t));return a}kD.exports=F_r});var zD=c((Sfe,BD)=>{"use strict";var L_r=RD();BD.exports=L_r});var PD=c((Efe,VD)=>{"use strict";var Sf=Tr(),C_r=mt(),U_r=vf();function M_r(r,e,a){return Sf(a,"nargs",r.nargs),Sf(a,"nin",r.nin),Sf(a,"nout",r.nout),C_r(a,"types",t),a;function t(){return U_r(e,r.nin,r.nout)}}VD.exports=M_r});var LD=c((Afe,FD)=>{"use strict";var G_r=PD();FD.exports=G_r});var UD=c((_fe,CD)=>{"use strict";function $_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=$_r});var GD=c((jfe,MD)=>{"use strict";var Y_r=UD();MD.exports=Y_r});var YD=c((Tfe,$D)=>{"use strict";var W_r=Da(),J_r=ie(),K_r=Ga(),X_r=xt(),H_r=$a(),Z_r=st(),Q_r=ra(),r8r=Oa(),e8r=r8r("order");function a8r(r){return new Q_r(W_r(r),Z_r(r),J_r(r),K_r(r),X_r(r),H_r(r)||e8r)}$D.exports=a8r});var JD=c((Ofe,WD)=>{"use strict";var t8r=YD();WD.exports=t8r});var Ef=c((Ife,KD)=>{"use strict";var i8r="row-major";function o8r(r,e,a,t,o){var i,n;for(i=r-1;i>t;i--)o[i]=a[i];for(i=t;i>=0&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i--);for(i-=1;i>=0;i--)o[i]=a[i];return o}function s8r(r,e,a,t,o){var i,n;for(i=0;i<t;i++)o[i]=a[i];for(i=t;i<r&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i++);for(i+=1;i<r;i++)o[i]=a[i];return o}function n8r(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===i8r?o8r(i,r,a,t,o):s8r(i,r,a,t,o)}KD.exports=n8r});var HD=c((Nfe,XD)=>{"use strict";var v8r=xe(),u8r=Ef();function f8r(r,e,a,t){return u8r(r,e,a,t,v8r(r.length))}XD.exports=f8r});var Je=c((Dfe,QD)=>{"use strict";var l8r=Tr(),ZD=HD(),c8r=Ef();l8r(ZD,"assign",c8r);QD.exports=ZD});var ek=c((kfe,rk)=>{"use strict";function d8r(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]!==1&&(e+=1);return e}rk.exports=d8r});var tk=c((Rfe,ak)=>{"use strict";var p8r=ek();ak.exports=p8r});var ok=c((Bfe,ik)=>{"use strict";var y8r=Hr(),m8r=Zr();function g8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b;for(b=y8r(r.shape,r.strides),v=b.sh,l=b.sx,a=m8r(r.dtype),d=r.offset,t=r.data,i=l[0],o=r.accessors[1],h=v[1];h>0;)for(h<a?(f=h,h=0):(f=a,h-=a),s=d+h*l[1],g=v[0];g>0;)for(g<a?(u=g,g=0):(u=a,g-=a),m=s+g*l[0],n=l[1]-u*l[0],y=0;y<f;y++){for(p=0;p<u;p++)o(t,m,e()),m+=i;m+=n}}ik.exports=g8r});var nk=c((zfe,sk)=>{"use strict";var h8r=Hr(),b8r=Zr();function x8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x;for(x=h8r(r.shape,r.strides),f=x.sh,p=x.sx,a=b8r(r.dtype),y=r.offset,t=r.data,i=p[0],o=r.accessors[1],_=f[2];_>0;)for(_<a?(m=_,_=0):(m=a,_-=a),u=y+_*p[2],A=f[1];A>0;)for(A<a?(d=A,A=0):(d=a,A-=a),s=p[2]-d*p[1],v=u+A*p[1],w=f[0];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),g=v+w*p[0],n=p[1]-l*p[0],S=0;S<m;S++){for(b=0;b<d;b++){for(h=0;h<l;h++)o(t,g,e()),g+=i;g+=n}g+=s}}sk.exports=x8r});var uk=c((Vfe,vk)=>{"use strict";var q8r=Hr(),w8r=Zr();function S8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I;for(I=q8r(r.shape,r.strides),d=I.sh,h=I.sx,a=w8r(r.dtype),b=r.offset,t=r.data,i=h[0],o=r.accessors[1],T=d[3];T>0;)for(T<a?(g=T,T=0):(g=a,T-=a),l=b+T*h[3],j=d[2];j>0;)for(j<a?(y=j,j=0):(y=a,j-=a),v=h[3]-y*h[2],f=l+j*h[2],q=d[1];q>0;)for(q<a?(p=q,q=0):(p=a,q-=a),s=h[2]-p*h[1],u=f+q*h[1],E=d[0];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),S=u+E*h[0],n=h[1]-m*h[0],x=0;x<g;x++){for(_=0;_<y;_++){for(A=0;A<p;A++){for(w=0;w<m;w++)o(t,S,e()),S+=i;S+=n}S+=s}S+=v}}vk.exports=S8r});var lk=c((Pfe,fk)=>{"use strict";var E8r=Hr(),A8r=Zr();function _8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B;for(B=E8r(r.shape,r.strides),p=B.sh,w=B.sx,a=A8r(r.dtype),A=r.offset,t=r.data,i=w[0],o=r.accessors[1],N=p[4];N>0;)for(N<a?(S=N,N=0):(S=a,N-=a),m=A+N*w[4],k=p[3];k>0;)for(k<a?(b=k,k=0):(b=a,k-=a),u=w[4]-b*w[3],d=m+k*w[3],D=p[2];D>0;)for(D<a?(h=D,D=0):(h=a,D-=a),v=w[3]-h*w[2],l=d+D*w[2],O=p[1];O>0;)for(O<a?(g=O,O=0):(g=a,O-=a),s=w[2]-g*w[1],f=l+O*w[1],I=p[0];I>0;)for(I<a?(y=I,I=0):(y=a,I-=a),_=f+I*w[0],n=w[1]-y*w[0],T=0;T<S;T++){for(j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++)o(t,_,e()),_+=i;_+=n}_+=s}_+=v}_+=u}}fk.exports=_8r});var dk=c((Ffe,ck)=>{"use strict";var j8r=Hr(),T8r=Zr();function O8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(F=j8r(r.shape,r.strides),g=F.sh,x=F.sx,a=T8r(r.dtype),E=r.offset,t=r.data,i=x[0],o=r.accessors[1],P=g[5];P>0;)for(P<a?(_=P,P=0):(_=a,P-=a),y=E+P*x[5],V=g[4];V>0;)for(V<a?(A=V,V=0):(A=a,V-=a),f=x[5]-A*x[4],p=y+V*x[4],R=g[3];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),u=x[4]-w*x[3],m=p+R*x[3],z=g[2];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),v=x[3]-S*x[2],d=m+z*x[2],B=g[1];B>0;)for(B<a?(b=B,B=0):(b=a,B-=a),s=x[2]-b*x[1],l=d+B*x[1],N=g[0];N>0;)for(N<a?(h=N,N=0):(h=a,N-=a),q=l+N*x[0],n=x[1]-h*x[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<b;T++){for(j=0;j<h;j++)o(t,q,e()),q+=i;q+=n}q+=s}q+=v}q+=u}q+=f}}ck.exports=O8r});var yk=c((Lfe,pk)=>{"use strict";var I8r=Hr(),N8r=Zr();function D8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G;for(G=I8r(r.shape,r.strides),b=G.sh,j=G.sx,a=N8r(r.dtype),T=r.offset,t=r.data,i=j[0],o=r.accessors[1],M=b[6];M>0;)for(M<a?(q=M,M=0):(q=a,M-=a),h=T+M*j[6],U=b[5];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),l=j[6]-E*j[5],g=h+U*j[5],C=b[4];C>0;)for(C<a?(x=C,C=0):(x=a,C-=a),f=j[5]-x*j[4],y=g+C*j[4],L=b[3];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),u=j[4]-_*j[3],p=y+L*j[3],F=b[2];F>0;)for(F<a?(A=F,F=0):(A=a,F-=a),v=j[3]-A*j[2],m=p+F*j[2],P=b[1];P>0;)for(P<a?(w=P,P=0):(w=a,P-=a),s=j[2]-w*j[1],d=m+P*j[1],V=b[0];V>0;)for(V<a?(S=V,V=0):(S=a,V-=a),I=d+V*j[0],n=j[1]-S*j[0],R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){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+=n}I+=s}I+=v}I+=u}I+=f}I+=l}}pk.exports=D8r});var gk=c((Cfe,mk)=>{"use strict";var k8r=Hr(),R8r=Zr();function B8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K;for(K=k8r(r.shape,r.strides),w=K.sh,O=K.sx,a=R8r(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),d=O[7]-T*O[6],b=S+W*O[6],$=w[5];$>0;)for($<a?(j=$,$=0):(j=a,$-=a),l=O[6]-j*O[5],h=b+$*O[5],Y=w[4];Y>0;)for(Y<a?(q=Y,Y=0):(q=a,Y-=a),f=O[5]-q*O[4],g=h+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=g+G*O[3],M=w[2];M>0;)for(M<a?(x=M,M=0):(x=a,M-=a),v=O[3]-x*O[2],p=y+M*O[2],U=w[1];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),s=O[2]-_*O[1],m=p+U*O[1],C=w[0];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),k=m+C*O[0],n=O[1]-A*O[0],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++)o(t,k,e()),k+=i;k+=n}k+=s}k+=v}k+=u}k+=f}k+=l}k+=d}}mk.exports=B8r});var bk=c((Ufe,hk)=>{"use strict";var z8r=Hr(),V8r=Zr();function P8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr;for(rr=z8r(r.shape,r.strides),_=rr.sh,N=rr.sx,a=V8r(r.dtype),B=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=B+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),d=N[7]-O*N[6],S=w+H*N[6],X=_[5];X>0;)for(X<a?(I=X,X=0):(I=a,X-=a),l=N[6]-I*N[5],b=S+X*N[5],K=_[4];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),f=N[5]-T*N[4],h=b+K*N[4],J=_[3];J>0;)for(J<a?(j=J,J=0):(j=a,J-=a),u=N[4]-j*N[3],g=h+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=g+W*N[2],$=_[1];$>0;)for($<a?(E=$,$=0):(E=a,$-=a),s=N[2]-E*N[1],p=y+$*N[1],Y=_[0];Y>0;)for(Y<a?(x=Y,Y=0):(x=a,Y-=a),z=p+Y*N[0],n=N[1]-x*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(V=0;V<E;V++){for(R=0;R<x;R++)o(t,z,e()),z+=i;z+=n}z+=s}z+=v}z+=u}z+=f}z+=l}z+=d}z+=m}}hk.exports=P8r});var qk=c((Mfe,xk)=>{"use strict";var F8r=Hr(),L8r=Zr();function C8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or;for(or=F8r(r.shape,r.strides),E=or.sh,R=or.sx,a=L8r(r.dtype),V=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),x=V+tr*R[9],ir=E[8];ir>0;)for(ir<a?(B=ir,ir=0):(B=a,ir-=a),p=R[9]-B*R[8],_=x+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),d=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),l=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],b=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],h=b+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],g=h+H*R[2],X=E[1];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),s=R[2]-j*R[1],y=g+X*R[1],K=E[0];K>0;)for(K<a?(q=K,K=0):(q=a,K-=a),P=y+K*R[0],n=R[1]-q*R[0],J=0;J<z;J++){for(W=0;W<B;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+=n}P+=s}P+=v}P+=u}P+=f}P+=l}P+=d}P+=m}P+=p}}xk.exports=C8r});var Sk=c((Gfe,wk)=>{"use strict";var U8r=Hr(),M8r=Zr();function G8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;for(h=U8r(r.shape,r.strides),s=h.sh,f=h.sx,a=M8r(r.dtype),l=r.offset,t=r.data,o=f[0],g=s[1];g>0;)for(g<a?(u=g,g=0):(u=a,g-=a),n=l+g*f[1],y=s[0];y>0;)for(y<a?(v=y,y=0):(v=a,y-=a),d=n+y*f[0],i=f[1]-v*f[0],p=0;p<u;p++){for(m=0;m<v;m++)t[d]=e(),d+=o;d+=i}}wk.exports=G8r});var Ak=c(($fe,Ek)=>{"use strict";var $8r=Hr(),Y8r=Zr();function W8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_;for(_=$8r(r.shape,r.strides),u=_.sh,m=_.sx,a=Y8r(r.dtype),p=r.offset,t=r.data,o=m[0],A=u[2];A>0;)for(A<a?(d=A,A=0):(d=a,A-=a),v=p+A*m[2],w=u[1];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),n=m[2]-l*m[1],s=v+w*m[1],S=u[0];S>0;)for(S<a?(f=S,S=0):(f=a,S-=a),y=s+S*m[0],i=m[1]-f*m[0],b=0;b<d;b++){for(h=0;h<l;h++){for(g=0;g<f;g++)t[y]=e(),y+=o;y+=i}y+=n}}Ek.exports=W8r});var jk=c((Yfe,_k)=>{"use strict";var J8r=Hr(),K8r=Zr();function X8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T;for(T=J8r(r.shape,r.strides),l=T.sh,g=T.sx,a=K8r(r.dtype),h=r.offset,t=r.data,o=g[0],j=l[3];j>0;)for(j<a?(y=j,j=0):(y=a,j-=a),f=h+j*g[3],q=l[2];q>0;)for(q<a?(p=q,q=0):(p=a,q-=a),s=g[3]-p*g[2],u=f+q*g[2],E=l[1];E>0;)for(E<a?(m=E,E=0):(m=a,E-=a),n=g[2]-m*g[1],v=u+E*g[1],x=l[0];x>0;)for(x<a?(d=x,x=0):(d=a,x-=a),b=v+x*g[0],i=g[1]-d*g[0],_=0;_<y;_++){for(A=0;A<p;A++){for(w=0;w<m;w++){for(S=0;S<d;S++)t[b]=e(),b+=o;b+=i}b+=n}b+=s}}_k.exports=X8r});var Ok=c((Wfe,Tk)=>{"use strict";var H8r=Hr(),Z8r=Zr();function Q8r(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N;for(N=H8r(r.shape,r.strides),m=N.sh,S=N.sx,a=Z8r(r.dtype),w=r.offset,t=r.data,o=S[0],k=m[4];k>0;)for(k<a?(b=k,k=0):(b=a,k-=a),d=w+k*S[4],D=m[3];D>0;)for(D<a?(h=D,D=0):(h=a,D-=a),v=S[4]-h*S[3],l=d+D*S[3],O=m[2];O>0;)for(O<a?(g=O,O=0):(g=a,O-=a),s=S[3]-g*S[2],f=l+O*S[2],I=m[1];I>0;)for(I<a?(y=I,I=0):(y=a,I-=a),n=S[2]-y*S[1],u=f+I*S[1],T=m[0];T>0;)for(T<a?(p=T,T=0):(p=a,T-=a),A=u+T*S[0],i=S[1]-p*S[0],j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++)t[A]=e(),A+=o;A+=i}A+=n}A+=s}A+=v}}Tk.exports=Q8r});var Nk=c((Jfe,Ik)=>{"use strict";var rjr=Hr(),ejr=Zr();function ajr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P;for(P=rjr(r.shape,r.strides),y=P.sh,_=P.sx,a=ejr(r.dtype),x=r.offset,t=r.data,o=_[0],V=y[5];V>0;)for(V<a?(A=V,V=0):(A=a,V-=a),p=x+V*_[5],R=y[4];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),u=_[5]-w*_[4],m=p+R*_[4],z=y[3];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),v=_[4]-S*_[3],d=m+z*_[3],B=y[2];B>0;)for(B<a?(b=B,B=0):(b=a,B-=a),s=_[3]-b*_[2],l=d+B*_[2],N=y[1];N>0;)for(N<a?(h=N,N=0):(h=a,N-=a),n=_[2]-h*_[1],f=l+N*_[1],k=y[0];k>0;)for(k<a?(g=k,k=0):(g=a,k-=a),E=f+k*_[0],i=_[1]-g*_[0],D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++)t[E]=e(),E+=o;E+=i}E+=n}E+=s}E+=v}E+=u}}Ik.exports=ajr});var kk=c((Kfe,Dk)=>{"use strict";var tjr=Hr(),ijr=Zr();function ojr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M;for(M=tjr(r.shape,r.strides),h=M.sh,q=M.sx,a=ijr(r.dtype),j=r.offset,t=r.data,o=q[0],U=h[6];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),g=j+U*q[6],C=h[5];C>0;)for(C<a?(x=C,C=0):(x=a,C-=a),f=q[6]-x*q[5],y=g+C*q[5],L=h[4];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),u=q[5]-_*q[4],p=y+L*q[4],F=h[3];F>0;)for(F<a?(A=F,F=0):(A=a,F-=a),v=q[4]-A*q[3],m=p+F*q[3],P=h[2];P>0;)for(P<a?(w=P,P=0):(w=a,P-=a),s=q[3]-w*q[2],d=m+P*q[2],V=h[1];V>0;)for(V<a?(S=V,V=0):(S=a,V-=a),n=q[2]-S*q[1],l=d+V*q[1],R=h[0];R>0;)for(R<a?(b=R,R=0):(b=a,R-=a),T=l+R*q[0],i=q[1]-b*q[0],z=0;z<E;z++){for(B=0;B<x;B++){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<b;I++)t[T]=e(),T+=o;T+=i}T+=n}T+=s}T+=v}T+=u}T+=f}}Dk.exports=ojr});var Bk=c((Xfe,Rk)=>{"use strict";var sjr=Hr(),njr=Zr();function vjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J;for(J=sjr(r.shape,r.strides),S=J.sh,I=J.sx,a=njr(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),b=O+W*I[7],$=S[6];$>0;)for($<a?(j=$,$=0):(j=a,$-=a),l=I[7]-j*I[6],h=b+$*I[6],Y=S[5];Y>0;)for(Y<a?(q=Y,Y=0):(q=a,Y-=a),f=I[6]-q*I[5],g=h+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=g+G*I[4],M=S[3];M>0;)for(M<a?(x=M,M=0):(x=a,M-=a),v=I[4]-x*I[3],p=y+M*I[3],U=S[2];U>0;)for(U<a?(_=U,U=0):(_=a,U-=a),s=I[3]-_*I[2],m=p+U*I[2],C=S[1];C>0;)for(C<a?(A=C,C=0):(A=a,C-=a),n=I[2]-A*I[1],d=m+C*I[1],L=S[0];L>0;)for(L<a?(w=L,L=0):(w=a,L-=a),D=d+L*I[0],i=I[1]-w*I[0],F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++){for(k=0;k<w;k++)t[D]=e(),D+=o;D+=i}D+=n}D+=s}D+=v}D+=u}D+=f}D+=l}}Rk.exports=vjr});var Vk=c((Hfe,zk)=>{"use strict";var ujr=Hr(),fjr=Zr();function ljr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z;for(Z=ujr(r.shape,r.strides),A=Z.sh,k=Z.sx,a=fjr(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),d=k[8]-O*k[7],S=w+H*k[7],X=A[6];X>0;)for(X<a?(I=X,X=0):(I=a,X-=a),l=k[7]-I*k[6],b=S+X*k[6],K=A[5];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),f=k[6]-T*k[5],h=b+K*k[5],J=A[4];J>0;)for(J<a?(j=J,J=0):(j=a,J-=a),u=k[5]-j*k[4],g=h+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=g+W*k[3],$=A[2];$>0;)for($<a?(E=$,$=0):(E=a,$-=a),s=k[3]-E*k[2],p=y+$*k[2],Y=A[1];Y>0;)for(Y<a?(x=Y,Y=0):(x=a,Y-=a),n=k[2]-x*k[1],m=p+Y*k[1],G=A[0];G>0;)for(G<a?(_=G,G=0):(_=a,G-=a),B=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(V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++)t[B]=e(),B+=o;B+=i}B+=n}B+=s}B+=v}B+=u}B+=f}B+=l}B+=d}}zk.exports=ljr});var Fk=c((Zfe,Pk)=>{"use strict";var cjr=Hr(),djr=Zr();function pjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr;for(tr=cjr(r.shape,r.strides),x=tr.sh,z=tr.sx,a=djr(r.dtype),R=r.offset,t=r.data,o=z[0],ir=x[9];ir>0;)for(ir<a?(B=ir,ir=0):(B=a,ir-=a),_=R+ir*z[9],er=x[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=x[7];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),d=z[8]-k*z[7],w=A+ar*z[7],rr=x[6];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),l=z[7]-D*z[6],S=w+rr*z[6],Z=x[5];Z>0;)for(Z<a?(O=Z,Z=0):(O=a,Z-=a),f=z[6]-O*z[5],b=S+Z*z[5],Q=x[4];Q>0;)for(Q<a?(I=Q,Q=0):(I=a,Q-=a),u=z[5]-I*z[4],h=b+Q*z[4],H=x[3];H>0;)for(H<a?(T=H,H=0):(T=a,H-=a),v=z[4]-T*z[3],g=h+H*z[3],X=x[2];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),s=z[3]-j*z[2],y=g+X*z[2],K=x[1];K>0;)for(K<a?(q=K,K=0):(q=a,K-=a),n=z[2]-q*z[1],p=y+K*z[1],J=x[0];J>0;)for(J<a?(E=J,J=0):(E=a,J-=a),V=p+J*z[0],i=z[1]-E*z[0],W=0;W<B;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[V]=e(),V+=o;V+=i}V+=n}V+=s}V+=v}V+=u}V+=f}V+=l}V+=d}V+=m}}Pk.exports=pjr});var Ck=c((Qfe,Lk)=>{"use strict";function yjr(r,e){r.accessors[1](r.data,r.offset,e())}Lk.exports=yjr});var Mk=c((rle,Uk)=>{"use strict";function mjr(r,e){var a,t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,a=r.data,t=r.accessors[1],s=0;s<i;s++)t(a,n,e()),n+=o}Uk.exports=mjr});var $k=c((ele,Gk)=>{"use strict";function gjr(r,e){var a,t,o,i,n,s,v,u,f,l,d;for(n=r.shape,u=r.strides,r.order==="row-major"?(s=n[1],v=n[0],o=u[1],i=u[0]-s*u[1]):(s=n[0],v=n[1],o=u[0],i=u[1]-s*u[0]),f=r.offset,a=r.data,t=r.accessors[1],d=0;d<v;d++){for(l=0;l<s;l++)t(a,f,e()),f+=o;f+=i}}Gk.exports=gjr});var Wk=c((ale,Yk)=>{"use strict";function hjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y;for(s=r.shape,l=r.strides,r.order==="row-major"?(v=s[2],u=s[1],f=s[0],o=l[2],i=l[1]-v*l[2],n=l[0]-u*l[1]):(v=s[0],u=s[1],f=s[2],o=l[0],i=l[1]-v*l[0],n=l[2]-u*l[1]),d=r.offset,a=r.data,t=r.accessors[1],y=0;y<f;y++){for(p=0;p<u;p++){for(m=0;m<v;m++)t(a,d,e()),d+=o;d+=i}d+=n}}Yk.exports=hjr});var Kk=c((tle,Jk)=>{"use strict";function bjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b;for(v=r.shape,m=r.strides,r.order==="row-major"?(u=v[3],f=v[2],l=v[1],d=v[0],o=m[3],i=m[2]-u*m[3],n=m[1]-f*m[2],s=m[0]-l*m[1]):(u=v[0],f=v[1],l=v[2],d=v[3],o=m[0],i=m[1]-u*m[0],n=m[2]-f*m[1],s=m[3]-l*m[2]),p=r.offset,a=r.data,t=r.accessors[1],b=0;b<d;b++){for(h=0;h<l;h++){for(g=0;g<f;g++){for(y=0;y<u;y++)t(a,p,e()),p+=o;p+=i}p+=n}p+=s}}Jk.exports=bjr});var Hk=c((ile,Xk)=>{"use strict";function xjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A;for(u=r.shape,y=r.strides,r.order==="row-major"?(f=u[4],l=u[3],d=u[2],m=u[1],p=u[0],o=y[4],i=y[3]-f*y[4],n=y[2]-l*y[3],s=y[1]-d*y[2],v=y[0]-m*y[1]):(f=u[0],l=u[1],d=u[2],m=u[3],p=u[4],o=y[0],i=y[1]-f*y[0],n=y[2]-l*y[1],s=y[3]-d*y[2],v=y[4]-m*y[3]),g=r.offset,a=r.data,t=r.accessors[1],A=0;A<p;A++){for(w=0;w<m;w++){for(S=0;S<d;S++){for(b=0;b<l;b++){for(h=0;h<f;h++)t(a,g,e()),g+=o;g+=i}g+=n}g+=s}g+=v}}Xk.exports=xjr});var Qk=c((ole,Zk)=>{"use strict";function qjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E;for(f=r.shape,h=r.strides,r.order==="row-major"?(l=f[5],d=f[4],m=f[3],p=f[2],y=f[1],g=f[0],o=h[5],i=h[4]-l*h[5],n=h[3]-d*h[4],s=h[2]-m*h[3],v=h[1]-p*h[2],u=h[0]-y*h[1]):(l=f[0],d=f[1],m=f[2],p=f[3],y=f[4],g=f[5],o=h[0],i=h[1]-l*h[0],n=h[2]-d*h[1],s=h[3]-m*h[2],v=h[4]-p*h[3],u=h[5]-y*h[4]),b=r.offset,a=r.data,t=r.accessors[1],E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++){for(A=0;A<m;A++){for(w=0;w<d;w++){for(S=0;S<l;S++)t(a,b,e()),b+=o;b+=i}b+=n}b+=s}b+=v}b+=u}}Zk.exports=qjr});var eR=c((sle,rR)=>{"use strict";function wjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T;for(l=r.shape,S=r.strides,r.order==="row-major"?(d=l[6],m=l[5],p=l[4],y=l[3],g=l[2],h=l[1],b=l[0],o=S[6],i=S[5]-d*S[6],n=S[4]-m*S[5],s=S[3]-p*S[4],v=S[2]-y*S[3],u=S[1]-g*S[2],f=S[0]-h*S[1]):(d=l[0],m=l[1],p=l[2],y=l[3],g=l[4],h=l[5],b=l[6],o=S[0],i=S[1]-d*S[0],n=S[2]-m*S[1],s=S[3]-p*S[2],v=S[4]-y*S[3],u=S[5]-g*S[4],f=S[6]-h*S[5]),w=r.offset,a=r.data,t=r.accessors[1],T=0;T<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++){for(E=0;E<y;E++){for(x=0;x<p;x++){for(_=0;_<m;_++){for(A=0;A<d;A++)t(a,w,e()),w+=o;w+=i}w+=n}w+=s}w+=v}w+=u}w+=f}}rR.exports=wjr});var tR=c((nle,aR)=>{"use strict";function Sjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D;for(d=r.shape,A=r.strides,r.order==="row-major"?(m=d[7],p=d[6],y=d[5],g=d[4],h=d[3],b=d[2],S=d[1],w=d[0],o=A[7],i=A[6]-m*A[7],n=A[5]-p*A[6],s=A[4]-y*A[5],v=A[3]-g*A[4],u=A[2]-h*A[3],f=A[1]-b*A[2],l=A[0]-S*A[1]):(m=d[0],p=d[1],y=d[2],g=d[3],h=d[4],b=d[5],S=d[6],w=d[7],o=A[0],i=A[1]-m*A[0],n=A[2]-p*A[1],s=A[3]-y*A[2],v=A[4]-g*A[3],u=A[5]-h*A[4],f=A[6]-b*A[5],l=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<b;I++){for(T=0;T<h;T++){for(j=0;j<g;j++){for(q=0;q<y;q++){for(E=0;E<p;E++){for(x=0;x<m;x++)t(a,_,e()),_+=o;_+=i}_+=n}_+=s}_+=v}_+=u}_+=f}_+=l}}aR.exports=Sjr});var oR=c((vle,iR)=>{"use strict";function Ejr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B;for(m=r.shape,x=r.strides,r.order==="row-major"?(p=m[8],y=m[7],g=m[6],h=m[5],b=m[4],S=m[3],w=m[2],A=m[1],_=m[0],o=x[8],i=x[7]-p*x[8],n=x[6]-y*x[7],s=x[5]-g*x[6],v=x[4]-h*x[5],u=x[3]-b*x[4],f=x[2]-S*x[3],l=x[1]-w*x[2],d=x[0]-A*x[1]):(p=m[0],y=m[1],g=m[2],h=m[3],b=m[4],S=m[5],w=m[6],A=m[7],_=m[8],o=x[0],i=x[1]-p*x[0],n=x[2]-y*x[1],s=x[3]-g*x[2],v=x[4]-h*x[3],u=x[5]-b*x[4],f=x[6]-S*x[5],l=x[7]-w*x[6],d=x[8]-A*x[7]),E=r.offset,a=r.data,t=r.accessors[1],B=0;B<_;B++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(O=0;O<b;O++){for(I=0;I<h;I++){for(T=0;T<g;T++){for(j=0;j<y;j++){for(q=0;q<p;q++)t(a,E,e()),E+=o;E+=i}E+=n}E+=s}E+=v}E+=u}E+=f}E+=l}E+=d}}iR.exports=Ejr});var nR=c((ule,sR)=>{"use strict";function Ajr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V;for(p=r.shape,q=r.strides,r.order==="row-major"?(y=p[9],g=p[8],h=p[7],b=p[6],S=p[5],w=p[4],A=p[3],_=p[2],x=p[1],E=p[0],o=q[9],i=q[8]-y*q[9],n=q[7]-g*q[8],s=q[6]-h*q[7],v=q[5]-b*q[6],u=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],m=q[0]-x*q[1]):(y=p[0],g=p[1],h=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],x=p[8],E=p[9],o=q[0],i=q[1]-y*q[0],n=q[2]-g*q[1],s=q[3]-h*q[2],v=q[4]-b*q[3],u=q[5]-S*q[4],f=q[6]-w*q[5],l=q[7]-A*q[6],d=q[8]-_*q[7],m=q[9]-x*q[8]),j=r.offset,a=r.data,t=r.accessors[1],V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++){for(B=0;B<A;B++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(O=0;O<h;O++){for(I=0;I<g;I++){for(T=0;T<y;T++)t(a,j,e()),j+=o;j+=i}j+=n}j+=s}j+=v}j+=u}j+=f}j+=l}j+=d}j+=m}}sR.exports=Ajr});var uR=c((fle,vR)=>{"use strict";var _jr=Wr(),jjr=ia(),Tjr="throw";function Ojr(r,e){var a,t,o,i,n,s,v,u,f;for(n=r.shape,o=_jr(n),a=r.data,s=r.strides,v=r.offset,t=r.order,i=r.accessors[1],f=0;f<o;f++)u=jjr(n,s,v,t,f,Tjr),i(a,u,e())}vR.exports=Ojr});var lR=c((lle,fR)=>{"use strict";function Ijr(r,e){r.data[r.offset]=e()}fR.exports=Ijr});var dR=c((cle,cR)=>{"use strict";function Njr(r,e){var a,t,o,i,n;for(o=r.shape[0],t=r.strides[0],i=r.offset,a=r.data,n=0;n<o;n++)a[i]=e(),i+=t}cR.exports=Njr});var yR=c((dle,pR)=>{"use strict";function Djr(r,e){var a,t,o,i,n,s,v,u,f,l;for(i=r.shape,v=r.strides,r.order==="row-major"?(n=i[1],s=i[0],t=v[1],o=v[0]-n*v[1]):(n=i[0],s=i[1],t=v[0],o=v[1]-n*v[0]),u=r.offset,a=r.data,l=0;l<s;l++){for(f=0;f<n;f++)a[u]=e(),u+=t;u+=o}}pR.exports=Djr});var gR=c((ple,mR)=>{"use strict";function kjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p;for(n=r.shape,f=r.strides,r.order==="row-major"?(s=n[2],v=n[1],u=n[0],t=f[2],o=f[1]-s*f[2],i=f[0]-v*f[1]):(s=n[0],v=n[1],u=n[2],t=f[0],o=f[1]-s*f[0],i=f[2]-v*f[1]),l=r.offset,a=r.data,p=0;p<u;p++){for(m=0;m<v;m++){for(d=0;d<s;d++)a[l]=e(),l+=t;l+=o}l+=i}}mR.exports=kjr});var bR=c((yle,hR)=>{"use strict";function Rjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;for(s=r.shape,d=r.strides,r.order==="row-major"?(v=s[3],u=s[2],f=s[1],l=s[0],t=d[3],o=d[2]-v*d[3],i=d[1]-u*d[2],n=d[0]-f*d[1]):(v=s[0],u=s[1],f=s[2],l=s[3],t=d[0],o=d[1]-v*d[0],i=d[2]-u*d[1],n=d[3]-f*d[2]),m=r.offset,a=r.data,h=0;h<l;h++){for(g=0;g<f;g++){for(y=0;y<u;y++){for(p=0;p<v;p++)a[m]=e(),m+=t;m+=o}m+=i}m+=n}}hR.exports=Rjr});var qR=c((mle,xR)=>{"use strict";function Bjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;for(v=r.shape,p=r.strides,r.order==="row-major"?(u=v[4],f=v[3],l=v[2],d=v[1],m=v[0],t=p[4],o=p[3]-u*p[4],i=p[2]-f*p[3],n=p[1]-l*p[2],s=p[0]-d*p[1]):(u=v[0],f=v[1],l=v[2],d=v[3],m=v[4],t=p[0],o=p[1]-u*p[0],i=p[2]-f*p[1],n=p[3]-l*p[2],s=p[4]-d*p[3]),y=r.offset,a=r.data,w=0;w<m;w++){for(S=0;S<d;S++){for(b=0;b<l;b++){for(h=0;h<f;h++){for(g=0;g<u;g++)a[y]=e(),y+=t;y+=o}y+=i}y+=n}y+=s}}xR.exports=Bjr});var SR=c((gle,wR)=>{"use strict";function zjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x;for(u=r.shape,g=r.strides,r.order==="row-major"?(f=u[5],l=u[4],d=u[3],m=u[2],p=u[1],y=u[0],t=g[5],o=g[4]-f*g[5],i=g[3]-l*g[4],n=g[2]-d*g[3],s=g[1]-m*g[2],v=g[0]-p*g[1]):(f=u[0],l=u[1],d=u[2],m=u[3],p=u[4],y=u[5],t=g[0],o=g[1]-f*g[0],i=g[2]-l*g[1],n=g[3]-d*g[2],s=g[4]-m*g[3],v=g[5]-p*g[4]),h=r.offset,a=r.data,x=0;x<y;x++){for(_=0;_<p;_++){for(A=0;A<m;A++){for(w=0;w<d;w++){for(S=0;S<l;S++){for(b=0;b<f;b++)a[h]=e(),h+=t;h+=o}h+=i}h+=n}h+=s}h+=v}}wR.exports=zjr});var AR=c((hle,ER)=>{"use strict";function Vjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j;for(f=r.shape,b=r.strides,r.order==="row-major"?(l=f[6],d=f[5],m=f[4],p=f[3],y=f[2],g=f[1],h=f[0],t=b[6],o=b[5]-l*b[6],i=b[4]-d*b[5],n=b[3]-m*b[4],s=b[2]-p*b[3],v=b[1]-y*b[2],u=b[0]-g*b[1]):(l=f[0],d=f[1],m=f[2],p=f[3],y=f[4],g=f[5],h=f[6],t=b[0],o=b[1]-l*b[0],i=b[2]-d*b[1],n=b[3]-m*b[2],s=b[4]-p*b[3],v=b[5]-y*b[4],u=b[6]-g*b[5]),S=r.offset,a=r.data,j=0;j<h;j++){for(q=0;q<g;q++){for(E=0;E<y;E++){for(x=0;x<p;x++){for(_=0;_<m;_++){for(A=0;A<d;A++){for(w=0;w<l;w++)a[S]=e(),S+=t;S+=o}S+=i}S+=n}S+=s}S+=v}S+=u}}ER.exports=Vjr});var jR=c((ble,_R)=>{"use strict";function Pjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(l=r.shape,w=r.strides,r.order==="row-major"?(d=l[7],m=l[6],p=l[5],y=l[4],g=l[3],h=l[2],b=l[1],S=l[0],t=w[7],o=w[6]-d*w[7],i=w[5]-m*w[6],n=w[4]-p*w[5],s=w[3]-y*w[4],v=w[2]-g*w[3],u=w[1]-h*w[2],f=w[0]-b*w[1]):(d=l[0],m=l[1],p=l[2],y=l[3],g=l[4],h=l[5],b=l[6],S=l[7],t=w[0],o=w[1]-d*w[0],i=w[2]-m*w[1],n=w[3]-p*w[2],s=w[4]-y*w[3],v=w[5]-g*w[4],u=w[6]-h*w[5],f=w[7]-b*w[6]),A=r.offset,a=r.data,O=0;O<S;O++){for(I=0;I<b;I++){for(T=0;T<h;T++){for(j=0;j<g;j++){for(q=0;q<y;q++){for(E=0;E<p;E++){for(x=0;x<m;x++){for(_=0;_<d;_++)a[A]=e(),A+=t;A+=o}A+=i}A+=n}A+=s}A+=v}A+=u}A+=f}}_R.exports=Pjr});var OR=c((xle,TR)=>{"use strict";function Fjr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N;for(d=r.shape,_=r.strides,r.order==="row-major"?(m=d[8],p=d[7],y=d[6],g=d[5],h=d[4],b=d[3],S=d[2],w=d[1],A=d[0],t=_[8],o=_[7]-m*_[8],i=_[6]-p*_[7],n=_[5]-y*_[6],s=_[4]-g*_[5],v=_[3]-h*_[4],u=_[2]-b*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(m=d[0],p=d[1],y=d[2],g=d[3],h=d[4],b=d[5],S=d[6],w=d[7],A=d[8],t=_[0],o=_[1]-m*_[0],i=_[2]-p*_[1],n=_[3]-y*_[2],s=_[4]-g*_[3],v=_[5]-h*_[4],u=_[6]-b*_[5],f=_[7]-S*_[6],l=_[8]-w*_[7]),x=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<b;O++){for(I=0;I<h;I++){for(T=0;T<g;T++){for(j=0;j<y;j++){for(q=0;q<p;q++){for(E=0;E<m;E++)a[x]=e(),x+=t;x+=o}x+=i}x+=n}x+=s}x+=v}x+=u}x+=f}x+=l}}TR.exports=Fjr});var NR=c((qle,IR)=>{"use strict";function Ljr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R;for(m=r.shape,E=r.strides,r.order==="row-major"?(p=m[9],y=m[8],g=m[7],h=m[6],b=m[5],S=m[4],w=m[3],A=m[2],_=m[1],x=m[0],t=E[9],o=E[8]-p*E[9],i=E[7]-y*E[8],n=E[6]-g*E[7],s=E[5]-h*E[6],v=E[4]-b*E[5],u=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],d=E[0]-_*E[1]):(p=m[0],y=m[1],g=m[2],h=m[3],b=m[4],S=m[5],w=m[6],A=m[7],_=m[8],x=m[9],t=E[0],o=E[1]-p*E[0],i=E[2]-y*E[1],n=E[3]-g*E[2],s=E[4]-h*E[3],v=E[5]-b*E[4],u=E[6]-S*E[5],f=E[7]-w*E[6],l=E[8]-A*E[7],d=E[9]-_*E[8]),q=r.offset,a=r.data,R=0;R<x;R++){for(z=0;z<_;z++){for(B=0;B<A;B++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(O=0;O<h;O++){for(I=0;I<g;I++){for(T=0;T<y;T++){for(j=0;j<p;j++)a[q]=e(),q+=t;q+=o}q+=i}q+=n}q+=s}q+=v}q+=u}q+=f}q+=l}q+=d}}IR.exports=Ljr});var kR=c((wle,DR)=>{"use strict";var Cjr=Wr(),Ujr=ia(),Mjr="throw";function Gjr(r,e){var a,t,o,i,n,s,v,u;for(i=r.shape,o=Cjr(i),a=r.data,n=r.strides,s=r.offset,t=r.order,u=0;u<o;u++)v=Ujr(i,n,s,t,u,Mjr),a[v]=e()}DR.exports=Gjr});var zR=c((Sle,BR)=>{"use strict";var $jr=xa(),Yjr=Za(),Wjr=Wt(),Jjr=ok(),Kjr=nk(),Xjr=uk(),Hjr=lk(),Zjr=dk(),Qjr=yk(),rTr=gk(),eTr=bk(),aTr=qk(),tTr=Sk(),iTr=Ak(),oTr=jk(),sTr=Ok(),nTr=Nk(),vTr=kk(),uTr=Bk(),fTr=Vk(),lTr=Fk(),cTr=Ck(),dTr=Mk(),pTr=$k(),yTr=Wk(),mTr=Kk(),gTr=Hk(),hTr=Qk(),bTr=eR(),xTr=tR(),qTr=oR(),wTr=nR(),STr=uR(),ETr=lR(),ATr=dR(),_Tr=yR(),jTr=gR(),TTr=bR(),OTr=qR(),ITr=SR(),NTr=AR(),DTr=jR(),kTr=OR(),RTr=NR(),BTr=kR(),Ei=[ETr,ATr,_Tr,jTr,TTr,OTr,ITr,NTr,DTr,kTr,RTr],bo=[cTr,dTr,pTr,yTr,mTr,gTr,hTr,bTr,xTr,qTr,wTr],zTr=[tTr,iTr,oTr,sTr,nTr,vTr,uTr,fTr,lTr],VTr=[Jjr,Kjr,Xjr,Hjr,Zjr,Qjr,rTr,eTr,aTr],RR=Ei.length-1;function PTr(r,e){var a,t,o,i,n,s,v,u,f,l,d;if(f=Wjr(r[0]),o=f.shape,a=o.length,a===0)return f.accessorProtocol?bo[a](f,e):Ei[a](f,e);for(n=1,u=0,d=0;d<a;d++)l=o[d],n*=l,l===1&&(u+=1);if(n!==0){if(a===1)return f.accessorProtocol?bo[a](f,e):Ei[a](f,e);if(s=f.strides,u===a-1){for(d=0;d<a&&o[d]===1;d++);return f.shape=[o[d]],f.strides=[s[d]],f.accessorProtocol?bo[1](f,e):Ei[1](f,e)}if(i=$jr(s),i!==0){if(t=Yjr(o,s,f.offset),n===t[1]-t[0]+1)return i===1?v=t[0]:v=t[1],f.shape=[n],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?VTr[a-2](f,e):zTr[a-2](f,e);if(f.accessorProtocol)return STr(f,e);BTr(f,e)}}BR.exports=PTr});var PR=c((Ele,VR)=>{"use strict";var FTr=zR();VR.exports=FTr});var CR=c((Ale,LR)=>{"use strict";var LTr=ca(),CTr=Ba(),UTr=_e(),FR=cr();function MTr(r,e){var a,t;if(a=CTr(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=LTr(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 UTr(r,!1)[t]}LR.exports=MTr});var Af=c((_le,UR)=>{"use strict";var GTr=CR();UR.exports=GTr});var MR=c((jle,$Tr)=>{$Tr.exports=["same","promoted","bool","signed_integer","unsigned_integer","integer","floating_point","real_floating_point","complex_floating_point","real","numeric","default"]});var $R=c((Tle,GR)=>{"use strict";var YTr=MR();function WTr(){return YTr.slice()}GR.exports=WTr});var WR=c((Ole,YR)=>{"use strict";function JTr(){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=JTr});var KR=c((Ile,JR)=>{"use strict";var KTr=It(),XTr=qa();function HTr(r,e){var a,t,o;for(a=XTr(e),o=0;o<a.length;o++)t=a[o],KTr(r,t,e[t]);return r}JR.exports=HTr});var Cs=c((Nle,HR)=>{"use strict";var ZTr=Tr(),_f=$R(),XR=WR(),QTr=KR();ZTr(_f,"enum",XR);QTr(_f,XR());HR.exports=_f});var QR=c((Dle,ZR)=>{"use strict";var rOr=ls(),eOr=Cs().enum,aOr=rOr(eOr(),{duplicates:!1});function tOr(r){var e=aOr[r];return typeof e=="string"?e:null}ZR.exports=tOr});var Us=c((kle,rB)=>{"use strict";var iOr=QR();rB.exports=iOr});var aB=c((Rle,eB)=>{"use strict";var oOr=Cs().enum,sOr=oOr();function nOr(r){var e=sOr[r];return typeof e=="number"?e:null}eB.exports=nOr});var Ms=c((Ble,tB)=>{"use strict";var vOr=aB();tB.exports=vOr});var oB=c((zle,iB)=>{"use strict";var uOr=Us(),fOr=Ms();function lOr(r){var e=typeof r;return e==="number"?uOr(r)?r:null:e==="string"?fOr(r):null}iB.exports=lOr});var nB=c((Vle,sB)=>{"use strict";var cOr=oB();sB.exports=cOr});var uB=c((Ple,vB)=>{"use strict";var dOr=Us(),pOr=Ms();function yOr(r){var e=typeof r;return e==="string"?pOr(r)===null?null:r:e==="number"?dOr(r):null}vB.exports=yOr});var lB=c((Fle,fB)=>{"use strict";var mOr=uB();fB.exports=mOr});var gB=c((Lle,mB)=>{"use strict";var gOr=Le(),cB=Ye(),hOr=_e(),bOr=ya(),dB=Ya(),pB=oa(),yB=vt();function xOr(r,e){var a,t,o,i,n,s;for(o=hOr(r,!1),i=bOr(r,!1),n=o.length,a=[],t=[],s=0;s<e;s++)t.push(1),a.push(i[0]);for(s=0;s<n;s++)t.push(o[s]),a.push(i[s]);return gOr(r)?new r.constructor(cB(r),yB(r),t,a,dB(r),pB(r),{readonly:!0}):new r.constructor(cB(r),yB(r),t,a,dB(r),pB(r))}mB.exports=xOr});var bB=c((Cle,hB)=>{"use strict";var qOr=gB();hB.exports=qOr});var AB=c((Ule,EB)=>{"use strict";var wOr=Le(),xB=Ye(),SOr=_e(),EOr=ya(),qB=Ya(),wB=oa(),SB=vt();function AOr(r){var e,a,t,o,i,n;for(t=SOr(r,!1),o=EOr(r,!1),i=t.length,e=[],a=[],n=0;n<i;n++)t[n]!==1&&(a.push(t[n]),e.push(o[n]));return a.length===i?r:wOr(r)?new r.constructor(xB(r),SB(r),a,e,qB(r),wB(r),{readonly:!0}):new r.constructor(xB(r),SB(r),a,e,qB(r),wB(r))}EB.exports=AOr});var jB=c((Mle,_B)=>{"use strict";var _Or=AB();_B.exports=_Or});var OB=c((Gle,TB)=>{"use strict";var jOr=ge(),TOr=Pe(),OOr=vo(),IOr=pe(),NOr=Ba();function DOr(r,e){var a=OOr(new TOr(null,null,-1),NOr(r));return IOr(r,jOr(a),!0,e)}TB.exports=DOr});var NB=c(($le,IB)=>{"use strict";var kOr=OB();IB.exports=kOr});var RB=c((Yle,kB)=>{"use strict";var wt=Pt(),ROr=ti(),BOr=Ft(),xo=bv(),zOr=Ha(),VOr=ke().enum,POr=Lt().enum,FOr=Ct().enum,LOr=Ye(),COr=_e(),UOr=ya(),MOr=Ya(),GOr=oa(),$Or=VOr(),YOr=POr(),DB=FOr();function WOr(r){var e,a,t,o,i,n,s,v,u,f,l,d,m,p;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(o=LOr(r),i=COr(r,!1),n=UOr(r,!1),d=i.length,u=r.mode||"throw",s=r.submode||[u],m=s.length,e=zOr(o),t=33+d*16+m,v=new BOr(new ROr(t)),f=0,v.setInt8(f,wt?1:0),f+=1,v.setInt16(f,$Or[o],wt),f+=2,v.setBigInt64(f,xo(d),wt),l=d*8,f+=8,p=0;p<d;p++)v.setBigInt64(f,xo(i[p]),wt),v.setBigInt64(f+l,xo(n[p]*e),wt),f+=8;for(f+=l,v.setBigInt64(f,xo(MOr(r)*e),wt),f+=8,v.setInt8(f,YOr[GOr(r)]),f+=1,v.setInt8(f,DB[u]),f+=1,v.setBigInt64(f,xo(m),wt),f+=8,p=0;p<m;p++)v.setInt8(f,DB[s[p]]),f+=1;return a=0,r.flags&&(a|=r.flags.READONLY?4:0),v.setInt32(f,a,wt),v}kB.exports=WOr});var VB=c((Wle,zB)=>{"use strict";var jf=Pt(),qo=kv().assign,JOr=ti(),KOr=Qe(),XOr=Ft(),HOr=Ha(),ZOr=ke().enum,QOr=Lt().enum,rIr=Ct().enum,eIr=Ye(),aIr=_e(),tIr=ya(),iIr=Ya(),oIr=oa(),sIr=ZOr(),nIr=QOr(),BB=rIr();function vIr(r){var e,a,t,o,i,n,s,v,u,f,l,d,m,p,y;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(i=eIr(r),n=aIr(r,!1),s=tIr(r,!1),m=n.length,f=r.mode||"throw",v=r.submode||[f],p=v.length,e=HOr(i),o=33+m*16+p,u=new XOr(new JOr(o)),a=new KOr(u.buffer),l=0,u.setInt8(l,jf?1:0),l+=1,u.setInt16(l,sIr[i],jf),l+=2,qo(m,a,1,l),d=m*8,l+=8,y=0;y<m;y++)qo(n[y],a,1,l),qo(s[y]*e,a,1,l+d),l+=8;for(l+=d,qo(iIr(r)*e,a,1,l),l+=8,u.setInt8(l,nIr[oIr(r)]),l+=1,u.setInt8(l,BB[f]),l+=1,qo(p,a,1,l),l+=8,y=0;y<p;y++)u.setInt8(l,BB[v[y]]),l+=1;return t=0,r.flags&&(t|=r.flags.READONLY?4:0),u.setInt32(l,t,jf),u}zB.exports=vIr});var FB=c((Jle,PB)=>{"use strict";var uIr=ev(),fIr=RB(),lIr=VB(),Tf;uIr()?Tf=fIr:Tf=lIr;PB.exports=Tf});var CB=c((Kle,LB)=>{"use strict";function cIr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]===1&&(e+=1);return e}LB.exports=cIr});var MB=c((Xle,UB)=>{"use strict";var dIr=CB();UB.exports=dIr});var YB=c((Hle,$B)=>{"use strict";var pIr=hs(),yIr=mo(),mIr=Xu(),gIr=pe(),GB=Ye(),hIr=_e(),bIr=cr();function xIr(r,e,a,t){var o,i,n;if(i=GB(r),n=GB(e),!pIr(i,n))throw new TypeError(bIr("invalid argument. Input array values cannot be safely cast to the output array data type. Data types: [%s, %s].",i,n));return o=gIr(e,a,t,!0),r=yIr(r,hIr(o,!0)),mIr([r,o]),e}$B.exports=xIr});var Gs=c((Zle,WB)=>{"use strict";var qIr=YB();WB.exports=qIr});var XB=c((Qle,KB)=>{"use strict";var wIr=ge(),SIr=Ba(),EIr=pe(),AIr=ca(),_Ir=wi(),JB=cr();function jIr(r,e,a,t,o){var i,n,s;if(n=SIr(r),n===0)throw new TypeError(JB("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=AIr(e,n-1),s===-1)throw new RangeError(JB("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=_Ir(n),i[s]=a,EIr(r,wIr(i),t,o)}KB.exports=jIr});var Of=c((rce,HB)=>{"use strict";var TIr=XB();HB.exports=TIr});var rz=c((ece,QB)=>{"use strict";var OIr=ge(),IIr=Pe(),NIr=Ba(),DIr=pe(),kIr=ca(),RIr=wi(),ZB=cr();function BIr(r,e,a,t,o){var i,n,s;if(n=NIr(r),n===0)throw new TypeError(ZB("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=kIr(e,n-1),s===-1)throw new RangeError(ZB("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=RIr(n),i[s]=new IIr(a,null),DIr(r,OIr(i),t,o)}QB.exports=BIr});var If=c((ace,ez)=>{"use strict";var zIr=rz();ez.exports=zIr});var iz=c((tce,tz)=>{"use strict";var VIr=ge(),PIr=Pe(),FIr=Ba(),LIr=pe(),CIr=ca(),UIr=wi(),az=cr();function MIr(r,e,a,t,o){var i,n,s;if(n=FIr(r),n===0)throw new TypeError(az("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=CIr(e,n-1),s===-1)throw new RangeError(az("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=UIr(n),i[s]=new PIr(a),LIr(r,VIr(i),t,o)}tz.exports=MIr});var Nf=c((ice,oz)=>{"use strict";var GIr=iz();oz.exports=GIr});var vz=c((oce,nz)=>{"use strict";var $Ir=Ue().isPrimitive,YIr=ge(),sz=Pe(),WIr=_e(),JIr=pe();function KIr(r,e,a,t){var o,i,n,s;for(i=WIr(r),o=[],s=0;s<e.length;s++)n=e[s],$Ir(n)&&n!==0?n===i[s]?(n-=1,o.push(new sz(n,n))):o.push(new sz(n,null)):o.push(null);return JIr(r,YIr(o),a,t)}nz.exports=KIr});var Df=c((sce,uz)=>{"use strict";var XIr=vz();uz.exports=XIr});var lz=c((nce,fz)=>{"use strict";var HIr=Ue().isPrimitive,ZIr=ge(),QIr=Pe(),r7r=pe();function e7r(r,e,a,t){var o,i;for(o=[],i=0;i<e.length;i++)HIr(e[i])?o.push(new QIr(e[i])):o.push(null);return r7r(r,ZIr(o),a,t)}fz.exports=e7r});var kf=c((vce,cz)=>{"use strict";var a7r=lz();cz.exports=a7r});var yz=c((uce,pz)=>{"use strict";var t7r=ca(),i7r=Ba(),o7r=ya(),dz=cr();function s7r(r,e){var a,t;if(a=i7r(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=t7r(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 o7r(r,!1)[t]}pz.exports=s7r});var Rf=c((fce,mz)=>{"use strict";var n7r=yz();mz.exports=n7r});var hz=c((lce,gz)=>{"use strict";var v7r=cr();function u7r(){var r,e,a,t,o,i,n,s,v,u,f,l;for(t=arguments[0],r=arguments[1],e=arguments[2],o=t.length,i=arguments[3+o],a=i.length,s=e,l=0;l<o;l++){if(v=t[l],f=arguments[l+3],n=i[l%a],n==="clamp")f<0?f=0:f>=v&&(f=v-1);else if(n==="wrap")f<0?(f+=v,f<0&&(f%=v,f!==0&&(f+=v))):f>=v&&(f-=v,f>=v&&(f%=v));else if(n==="normalize"&&f<0&&(f+=v),f<0||f>=v)throw new RangeError(v7r("invalid argument. Subscripts must not exceed array dimensions. Subscript: `%u`. Value: `%d`.",l,f));u=r[l],u<0&&e===0?s-=f*u:s+=f*u}return s}gz.exports=u7r});var Bf=c((cce,bz)=>{"use strict";var f7r=hz();bz.exports=f7r});var wz=c((dce,qz)=>{"use strict";function xz(r,e,a,t,o,i){var n,s,v,u,f;if(i>=e.length)return r.accessors[0](r.data,t);for(v=[],u=e[i],n=a[i],f=0;f<u;f++)s=xz(r,e,a,t,o,i+1),v.push(s),t+=n;return v}qz.exports=xz});var Ez=c((pce,Sz)=>{"use strict";var l7r=nt(),c7r=wz();function d7r(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 c7r(l7r(r),e,a,t,o,0)}Sz.exports=d7r});var zf=c((yce,Az)=>{"use strict";var p7r=Ez();Az.exports=p7r});var jz=c((mce,_z)=>{"use strict";var y7r=Me(),m7r=Ye(),g7r=_e(),h7r=ya(),b7r=oa(),x7r=vt();function q7r(r){var e,a,t,o;if(a=g7r(r,!0),o=a.length,o<2)throw new Error("invalid argument. Must provide an ndarray having two or more dimensions.");return t=h7r(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(m7r(r),x7r(r),a,t,y7r(a,t),b7r(r))}_z.exports=q7r});var Oz=c((gce,Tz)=>{"use strict";var w7r=jz();Tz.exports=w7r});var Nz=c((hce,Iz)=>{"use strict";var S7r=zr(),E7r=Br();function A7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T;for(T=S7r(r.shape,r.strides,e.strides),p=T.sh,h=T.sx,b=T.sy,t=E7r(r.dtype,e.dtype),S=r.offset,w=e.offset,o=r.data,i=e.data,v=h[0],f=b[0],n=r.accessors[0],s=e.accessors[1],j=p[1];j>0;)for(j<t?(g=j,j=0):(g=t,j-=t),d=S+j*h[1],m=w+j*b[1],q=p[0];q>0;)for(q<t?(y=q,q=0):(y=t,q-=t),A=d+q*h[0],_=m+q*b[0],u=h[1]-y*h[0],l=b[1]-y*b[0],E=0;E<g;E++){for(x=0;x<y;x++)s(i,_,a(n(o,A))),A+=v,_+=f;A+=u,_+=l}}Iz.exports=A7r});var kz=c((bce,Dz)=>{"use strict";var _7r=zr(),j7r=Br();function T7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z;for(z=_7r(r.shape,r.strides,e.strides),b=z.sh,_=z.sx,x=z.sy,t=j7r(r.dtype,e.dtype),E=r.offset,q=e.offset,o=r.data,i=e.data,v=_[0],l=x[0],n=r.accessors[0],s=e.accessors[1],B=b[2];B>0;)for(B<t?(A=B,B=0):(A=t,B-=t),y=E+B*_[2],h=q+B*x[2],N=b[1];N>0;)for(N<t?(w=N,N=0):(w=t,N-=t),f=_[2]-w*_[1],m=x[2]-w*x[1],p=y+N*_[1],g=h+N*x[1],k=b[0];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),j=p+k*_[0],T=g+k*x[0],u=_[1]-S*_[0],d=x[1]-S*x[0],D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++)s(i,T,a(n(o,j))),j+=v,T+=l;j+=u,T+=d}j+=f,T+=m}}Dz.exports=T7r});var Bz=c((xce,Rz)=>{"use strict";var O7r=zr(),I7r=Br();function N7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U;for(U=O7r(r.shape,r.strides,e.strides),_=U.sh,T=U.sx,I=U.sy,t=I7r(r.dtype,e.dtype),O=r.offset,D=e.offset,o=r.data,i=e.data,v=T[0],d=I[0],n=r.accessors[0],s=e.accessors[1],C=_[3];C>0;)for(C<t?(j=C,C=0):(j=t,C-=t),b=O+C*T[3],A=D+C*I[3],L=_[2];L>0;)for(L<t?(q=L,L=0):(q=t,L-=t),l=T[3]-q*T[2],y=I[3]-q*I[2],h=b+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],p=I[2]-E*I[1],g=h+F*T[1],S=w+F*I[1],P=_[0];P>0;)for(P<t?(x=P,P=0):(x=t,P-=t),k=g+P*T[0],N=S+P*I[0],u=T[1]-x*T[0],m=I[1]-x*I[0],V=0;V<j;V++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++)s(i,N,a(n(o,k))),k+=v,N+=d;k+=u,N+=m}k+=f,N+=p}k+=l,N+=y}}Rz.exports=N7r});var Vz=c((qce,zz)=>{"use strict";var D7r=zr(),k7r=Br();function R7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K;for(K=D7r(r.shape,r.strides,e.strides),j=K.sh,N=K.sx,B=K.sy,t=k7r(r.dtype,e.dtype),z=r.offset,R=e.offset,o=r.data,i=e.data,v=N[0],m=B[0],n=r.accessors[0],s=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*B[4],W=j[3];W>0;)for(W<t?(D=W,W=0):(D=t,W-=t),d=N[4]-D*N[3],h=B[4]-D*B[3],w=A+W*N[3],E=q+W*B[3],$=j[2];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),l=N[3]-O*N[2],g=B[3]-O*B[2],S=w+$*N[2],x=E+$*B[2],Y=j[1];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),f=N[2]-I*N[1],y=B[2]-I*B[1],b=S+Y*N[1],_=x+Y*B[1],G=j[0];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),V=b+G*N[0],P=_+G*B[0],u=N[1]-T*N[0],p=B[1]-T*B[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++)s(i,P,a(n(o,V))),V+=v,P+=m;V+=u,P+=p}V+=f,P+=y}V+=l,P+=g}V+=d,P+=h}}zz.exports=R7r});var Fz=c((wce,Pz)=>{"use strict";var B7r=zr(),z7r=Br();function V7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er;for(er=B7r(r.shape,r.strides,e.strides),D=er.sh,P=er.sx,F=er.sy,t=z7r(r.dtype,e.dtype),L=r.offset,C=e.offset,o=r.data,i=e.data,v=P[0],p=F[0],n=r.accessors[0],s=e.accessors[1],ar=D[5];ar>0;)for(ar<t?(V=ar,ar=0):(V=t,ar-=t),E=L+ar*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],x=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),d=P[4]-z*P[3],b=F[4]-z*F[3],_=x+Z*P[3],T=I+Z*F[3],Q=D[2];Q>0;)for(Q<t?(B=Q,Q=0):(B=t,Q-=t),l=P[3]-B*P[2],h=F[3]-B*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],g=F[2]-N*F[1],w=A+H*P[1],q=j+H*F[1],X=D[0];X>0;)for(X<t?(k=X,X=0):(k=t,X-=t),U=w+X*P[0],M=q+X*F[0],u=P[1]-k*P[0],y=F[1]-k*F[0],K=0;K<V;K++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<B;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++)s(i,M,a(n(o,U))),U+=v,M+=p;U+=u,M+=y}U+=f,M+=g}U+=l,M+=h}U+=d,M+=b}U+=m,M+=S}}Pz.exports=V7r});var Cz=c((Sce,Lz)=>{"use strict";var P7r=zr(),F7r=Br();function L7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur;for(ur=P7r(r.shape,r.strides,e.strides),z=ur.sh,M=ur.sx,G=ur.sy,t=F7r(r.dtype,e.dtype),Y=r.offset,$=e.offset,o=r.data,i=e.data,v=M[0],y=G[0],n=r.accessors[0],s=e.accessors[1],vr=z[6];vr>0;)for(vr<t?(U=vr,vr=0):(U=t,vr-=t),T=Y+vr*M[6],B=$+vr*G[6],nr=z[5];nr>0;)for(nr<t?(C=nr,nr=0):(C=t,nr-=t),p=M[6]-C*M[5],A=G[6]-C*G[5],j=T+nr*M[5],N=B+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),d=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),l=M[3]-P*M[2],b=G[3]-P*G[2],x=E+tr*M[2],O=D+tr*G[2],ir=z[1];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),f=M[2]-V*M[1],h=G[2]-V*G[1],_=x+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],g=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(X=0;X<V;X++){for(K=0;K<R;K++)s(i,J,a(n(o,W))),W+=v,J+=y;W+=u,J+=g}W+=f,J+=h}W+=l,J+=b}W+=d,J+=S}W+=m,J+=w}W+=p,J+=A}}Lz.exports=L7r});var Mz=c((Ece,Uz)=>{"use strict";var C7r=zr(),U7r=Br();function M7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr;for(hr=C7r(r.shape,r.strides,e.strides),F=hr.sh,J=hr.sx,K=hr.sy,t=U7r(r.dtype,e.dtype),X=r.offset,H=e.offset,o=r.data,i=e.data,v=J[0],g=K[0],n=r.accessors[0],s=e.accessors[1],mr=F[7];mr>0;)for(mr<t?(W=mr,mr=0):(W=t,mr-=t),D=X+mr*J[7],P=H+mr*K[7],yr=F[6];yr>0;)for(yr<t?($=yr,yr=0):($=t,yr-=t),y=J[7]-$*J[6],x=K[7]-$*K[6],O=D+yr*J[6],V=P+yr*K[6],dr=F[5];dr>0;)for(dr<t?(Y=dr,dr=0):(Y=t,dr-=t),p=J[6]-Y*J[5],_=K[6]-Y*K[5],I=O+dr*J[5],R=V+dr*K[5],pr=F[4];pr>0;)for(pr<t?(G=pr,pr=0):(G=t,pr-=t),m=J[5]-G*J[4],A=K[5]-G*K[4],T=I+pr*J[4],z=R+pr*K[4],fr=F[3];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),d=J[4]-M*J[3],w=K[4]-M*K[3],j=T+fr*J[3],B=z+fr*K[3],lr=F[2];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),l=J[3]-U*J[2],S=K[3]-U*K[2],q=j+lr*J[2],N=B+lr*K[2],ur=F[1];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),f=J[2]-C*J[1],b=K[2]-C*K[1],E=q+ur*J[1],k=N+ur*K[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*K[0],u=J[1]-L*J[0],h=K[1]-L*K[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++)s(i,Z,a(n(o,Q))),Q+=v,Z+=g;Q+=u,Z+=h}Q+=f,Z+=b}Q+=l,Z+=S}Q+=d,Z+=w}Q+=m,Z+=A}Q+=p,Z+=_}Q+=y,Z+=x}}Uz.exports=M7r});var $z=c((Ace,Gz)=>{"use strict";var G7r=zr(),$7r=Br();function Y7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r;for(_r=G7r(r.shape,r.strides,e.strides),M=_r.sh,Z=_r.sx,rr=_r.sy,t=$7r(r.dtype,e.dtype),ar=r.offset,er=e.offset,o=r.data,i=e.data,v=Z[0],h=rr[0],n=r.accessors[0],s=e.accessors[1],Ar=M[8];Ar>0;)for(Ar<t?(Q=Ar,Ar=0):(Q=t,Ar-=t),B=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),g=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=B+Er*Z[7],C=U+Er*rr[7],gr=M[6];gr>0;)for(gr<t?(X=gr,gr=0):(X=t,gr-=t),y=Z[7]-X*Z[6],E=rr[7]-X*rr[6],k=N+gr*Z[6],L=C+gr*rr[6],xr=M[5];xr>0;)for(xr<t?(K=xr,xr=0):(K=t,xr-=t),p=Z[6]-K*Z[5],x=rr[6]-K*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),d=Z[4]-W*Z[3],A=rr[4]-W*rr[3],I=O+qr*Z[3],V=P+qr*rr[3],hr=M[2];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),l=Z[3]-$*Z[2],w=rr[3]-$*rr[2],T=I+hr*Z[2],R=V+hr*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],b=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(pr=0;pr<H;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<K;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++)s(i,tr,a(n(o,ir))),ir+=v,tr+=h;ir+=u,tr+=b}ir+=f,tr+=S}ir+=l,tr+=w}ir+=d,tr+=A}ir+=m,tr+=_}ir+=p,tr+=x}ir+=y,tr+=E}ir+=g,tr+=q}}Gz.exports=Y7r});var Wz=c((_ce,Yz)=>{"use strict";var W7r=zr(),J7r=Br();function K7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr,Xr,te,Ne;for(Ne=W7r(r.shape,r.strides,e.strides),W=Ne.sh,tr=Ne.sx,or=Ne.sy,t=J7r(r.dtype,e.dtype),sr=r.offset,nr=e.offset,o=r.data,i=e.data,v=tr[0],b=or[0],n=r.accessors[0],s=e.accessors[1],te=W[9];te>0;)for(te<t?(ir=te,te=0):(ir=t,te-=t),V=sr+te*tr[9],$=nr+te*or[9],Xr=W[8];Xr>0;)for(Xr<t?(er=Xr,Xr=0):(er=t,Xr-=t),h=tr[9]-er*tr[8],T=or[9]-er*or[8],R=V+Xr*tr[8],Y=$+Xr*or[8],Vr=W[7];Vr>0;)for(Vr<t?(ar=Vr,Vr=0):(ar=t,Vr-=t),g=tr[8]-ar*tr[7],j=or[8]-ar*or[7],z=R+Vr*tr[7],G=Y+Vr*or[7],Rr=W[6];Rr>0;)for(Rr<t?(rr=Rr,Rr=0):(rr=t,Rr-=t),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],B=z+Rr*tr[6],M=G+Rr*or[6],Or=W[5];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),p=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=B+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],x=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),d=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?(X=Ar,Ar=0):(X=t,Ar-=t),l=tr[3]-X*tr[2],A=or[3]-X*or[2],O=D+Ar*tr[2],F=L+Ar*or[2],Er=W[1];Er>0;)for(Er<t?(K=Er,Er=0):(K=t,Er-=t),f=tr[2]-K*tr[1],w=or[2]-K*or[1],I=O+Er*tr[1],P=F+Er*or[1],gr=W[0];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),vr=I+gr*tr[0],ur=P+gr*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(hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<J;lr++)s(i,ur,a(n(o,vr))),vr+=v,ur+=b;vr+=u,ur+=S}vr+=f,ur+=w}vr+=l,ur+=A}vr+=d,ur+=_}vr+=m,ur+=x}vr+=p,ur+=E}vr+=y,ur+=q}vr+=g,ur+=j}vr+=h,ur+=T}}Yz.exports=K7r});var Kz=c((jce,Jz)=>{"use strict";var X7r=zr(),H7r=Br();function Z7r(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q;for(q=X7r(r.shape,r.strides,e.strides),d=q.sh,y=q.sx,g=q.sy,t=H7r(r.dtype,e.dtype),h=r.offset,b=e.offset,o=r.data,i=e.data,n=y[0],v=g[0],E=d[1];E>0;)for(E<t?(p=E,E=0):(p=t,E-=t),f=h+E*y[1],l=b+E*g[1],x=d[0];x>0;)for(x<t?(m=x,x=0):(m=t,x-=t),S=f+x*y[0],w=l+x*g[0],s=y[1]-m*y[0],u=g[1]-m*g[0],_=0;_<p;_++){for(A=0;A<m;A++)i[w]=a(o[S]),S+=n,w+=v;S+=s,w+=u}}Jz.exports=Z7r});var Hz=c((Tce,Xz)=>{"use strict";var Q7r=zr(),rNr=Br();function eNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N;for(N=Q7r(r.shape,r.strides,e.strides),g=N.sh,w=N.sx,A=N.sy,t=rNr(r.dtype,e.dtype),_=r.offset,x=e.offset,o=r.data,i=e.data,n=w[0],u=A[0],k=g[2];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),m=_+k*w[2],y=x+k*A[2],D=g[1];D>0;)for(D<t?(b=D,D=0):(b=t,D-=t),v=w[2]-b*w[1],l=A[2]-b*A[1],d=m+D*w[1],p=y+D*A[1],O=g[0];O>0;)for(O<t?(h=O,O=0):(h=t,O-=t),E=d+O*w[0],q=p+O*A[0],s=w[1]-h*w[0],f=A[1]-h*A[0],I=0;I<S;I++){for(T=0;T<b;T++){for(j=0;j<h;j++)i[q]=a(o[E]),E+=n,q+=u;E+=s,q+=f}E+=v,q+=l}}Xz.exports=eNr});var Qz=c((Oce,Zz)=>{"use strict";var aNr=zr(),tNr=Br();function iNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L;for(L=aNr(r.shape,r.strides,e.strides),w=L.sh,q=L.sx,j=L.sy,t=tNr(r.dtype,e.dtype),T=r.offset,I=e.offset,o=r.data,i=e.data,n=q[0],f=j[0],F=w[3];F>0;)for(F<t?(E=F,F=0):(E=t,F-=t),g=T+F*q[3],S=I+F*j[3],P=w[2];P>0;)for(P<t?(x=P,P=0):(x=t,P-=t),u=q[3]-x*q[2],m=j[3]-x*j[2],y=g+P*q[2],b=S+P*j[2],V=w[1];V>0;)for(V<t?(_=V,V=0):(_=t,V-=t),v=q[2]-_*q[1],d=j[2]-_*j[1],p=y+V*q[1],h=b+V*j[1],R=w[0];R>0;)for(R<t?(A=R,R=0):(A=t,R-=t),O=p+R*q[0],D=h+R*j[0],s=q[1]-A*q[0],l=j[1]-A*j[0],z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++){for(k=0;k<A;k++)i[D]=a(o[O]),O+=n,D+=f;O+=s,D+=l}O+=v,D+=d}O+=u,D+=m}}Zz.exports=iNr});var eV=c((Ice,rV)=>{"use strict";var oNr=zr(),sNr=Br();function nNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W;for(W=oNr(r.shape,r.strides,e.strides),E=W.sh,D=W.sx,k=W.sy,t=sNr(r.dtype,e.dtype),N=r.offset,B=e.offset,o=r.data,i=e.data,n=D[0],l=k[0],$=E[4];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),S=N+$*D[4],x=B+$*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],b=S+Y*D[3],_=x+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],p=k[3]-T*k[2],h=b+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],g=h+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=g+U*D[0],R=w+U*k[0],s=D[1]-q*D[0],d=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(V=0;V<q;V++)i[R]=a(o[z]),z+=n,R+=l;z+=s,R+=d}z+=v,R+=m}z+=u,R+=p}z+=f,R+=y}}rV.exports=nNr});var tV=c((Nce,aV)=>{"use strict";var vNr=zr(),uNr=Br();function fNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr;for(rr=vNr(r.shape,r.strides,e.strides),I=rr.sh,R=rr.sx,V=rr.sy,t=uNr(r.dtype,e.dtype),P=r.offset,F=e.offset,o=r.data,i=e.data,n=R[0],d=V[0],Z=I[5];Z>0;)for(Z<t?(z=Z,Z=0):(z=t,Z-=t),_=P+Z*R[5],T=F+Z*V[5],Q=I[4];Q>0;)for(Q<t?(B=Q,Q=0):(B=t,Q-=t),l=R[5]-B*R[4],h=V[5]-B*V[4],A=_+Q*R[4],j=T+Q*V[4],H=I[3];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=R[4]-N*R[3],g=V[4]-N*V[3],w=A+H*R[3],q=j+H*V[3],X=I[2];X>0;)for(X<t?(k=X,X=0):(k=t,X-=t),u=R[3]-k*R[2],y=V[3]-k*V[2],S=w+X*R[2],E=q+X*V[2],K=I[1];K>0;)for(K<t?(D=K,K=0):(D=t,K-=t),v=R[2]-D*R[1],p=V[2]-D*V[1],b=S+K*R[1],x=E+K*V[1],J=I[0];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),L=b+J*R[0],C=x+J*V[0],s=R[1]-O*R[0],m=V[1]-O*V[0],W=0;W<z;W++){for($=0;$<B;$++){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+=n,C+=d;L+=s,C+=m}L+=v,C+=p}L+=u,C+=y}L+=f,C+=g}L+=l,C+=h}}aV.exports=fNr});var oV=c((Dce,iV)=>{"use strict";var lNr=zr(),cNr=Br();function dNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr;for(nr=lNr(r.shape,r.strides,e.strides),N=nr.sh,C=nr.sx,U=nr.sy,t=cNr(r.dtype,e.dtype),M=r.offset,G=e.offset,o=r.data,i=e.data,n=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),d=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),l=C[5]-P*C[4],b=U[5]-P*U[4],x=E+tr*C[4],O=D+tr*U[4],ir=N[3];ir>0;)for(ir<t?(V=ir,ir=0):(V=t,ir-=t),f=C[4]-V*C[3],h=U[4]-V*U[3],_=x+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],g=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?(B=rr,rr=0):(B=t,rr-=t),Y=w+rr*C[0],$=j+rr*U[0],s=C[1]-B*C[0],p=U[1]-B*U[0],Z=0;Z<L;Z++){for(Q=0;Q<F;Q++){for(H=0;H<P;H++){for(X=0;X<V;X++){for(K=0;K<R;K++){for(J=0;J<z;J++){for(W=0;W<B;W++)i[$]=a(o[Y]),Y+=n,$+=m;Y+=s,$+=p}Y+=v,$+=y}Y+=u,$+=g}Y+=f,$+=h}Y+=l,$+=b}Y+=d,$+=S}}iV.exports=dNr});var nV=c((kce,sV)=>{"use strict";var pNr=zr(),yNr=Br();function mNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr;for(yr=pNr(r.shape,r.strides,e.strides),V=yr.sh,$=yr.sx,W=yr.sy,t=yNr(r.dtype,e.dtype),J=r.offset,K=e.offset,o=r.data,i=e.data,n=$[0],p=W[0],dr=V[7];dr>0;)for(dr<t?(Y=dr,dr=0):(Y=t,dr-=t),I=J+dr*$[7],R=K+dr*W[7],pr=V[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=V[5];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),d=$[6]-M*$[5],w=W[6]-M*W[5],j=T+fr*$[5],B=z+fr*W[5],lr=V[4];lr>0;)for(lr<t?(U=lr,lr=0):(U=t,lr-=t),l=$[5]-U*$[4],S=W[5]-U*W[4],q=j+lr*$[4],N=B+lr*W[4],ur=V[3];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),f=$[4]-C*$[3],b=W[4]-C*W[3],E=q+ur*$[3],k=N+ur*W[3],vr=V[2];vr>0;)for(vr<t?(L=vr,vr=0):(L=t,vr-=t),u=$[3]-L*$[2],h=W[3]-L*W[2],x=E+vr*$[2],D=k+vr*W[2],nr=V[1];nr>0;)for(nr<t?(F=nr,nr=0):(F=t,nr-=t),v=$[2]-F*$[1],g=W[2]-F*W[1],_=x+nr*$[1],O=D+nr*W[1],sr=V[0];sr>0;)for(sr<t?(P=sr,sr=0):(P=t,sr-=t),X=_+sr*$[0],H=O+sr*W[0],s=$[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[X]),X+=n,H+=p;X+=s,H+=y}X+=v,H+=g}X+=u,H+=h}X+=f,H+=b}X+=l,H+=S}X+=d,H+=w}X+=m,H+=A}}sV.exports=mNr});var uV=c((Rce,vV)=>{"use strict";var gNr=zr(),hNr=Br();function bNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er;for(Er=gNr(r.shape,r.strides,e.strides),C=Er.sh,H=Er.sx,Q=Er.sy,t=hNr(r.dtype,e.dtype),Z=r.offset,rr=e.offset,o=r.data,i=e.data,n=H[0],y=Q[0],gr=C[8];gr>0;)for(gr<t?(X=gr,gr=0):(X=t,gr-=t),k=Z+gr*H[8],L=rr+gr*Q[8],xr=C[7];xr>0;)for(xr<t?(K=xr,xr=0):(K=t,xr-=t),p=H[8]-K*H[7],x=Q[8]-K*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),d=H[6]-W*H[5],A=Q[6]-W*Q[5],I=O+qr*H[5],V=P+qr*Q[5],hr=C[4];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),l=H[5]-$*H[4],w=Q[5]-$*Q[4],T=I+hr*H[4],R=V+hr*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],b=Q[3]-G*Q[2],q=j+yr*H[2],B=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],h=Q[2]-M*Q[1],E=q+dr*H[1],N=B+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],s=H[1]-U*H[0],g=Q[1]-U*Q[0],fr=0;fr<X;fr++){for(lr=0;lr<K;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+=n,er+=y;ar+=s,er+=g}ar+=v,er+=h}ar+=u,er+=b}ar+=f,er+=S}ar+=l,er+=w}ar+=d,er+=A}ar+=m,er+=_}ar+=p,er+=x}}vV.exports=bNr});var lV=c((Bce,fV)=>{"use strict";var xNr=zr(),qNr=Br();function wNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr,Xr;for(Xr=xNr(r.shape,r.strides,e.strides),Y=Xr.sh,er=Xr.sx,ir=Xr.sy,t=qNr(r.dtype,e.dtype),tr=r.offset,or=e.offset,o=r.data,i=e.data,n=er[0],g=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],Rr=Y[8];Rr>0;)for(Rr<t?(rr=Rr,Rr=0):(rr=t,Rr-=t),y=er[9]-rr*er[8],q=ir[9]-rr*ir[8],B=z+Rr*er[8],M=G+Rr*ir[8],Or=Y[7];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),p=er[8]-Z*er[7],E=ir[8]-Z*ir[7],N=B+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],x=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),d=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?(X=Ar,Ar=0):(X=t,Ar-=t),l=er[5]-X*er[4],A=ir[5]-X*ir[4],O=D+Ar*er[4],F=L+Ar*ir[4],Er=Y[3];Er>0;)for(Er<t?(K=Er,Er=0):(K=t,Er-=t),f=er[4]-K*er[3],w=ir[4]-K*ir[3],I=O+Er*er[3],P=F+Er*ir[3],gr=Y[2];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),u=er[3]-J*er[2],S=ir[3]-J*ir[2],T=I+gr*er[2],V=P+gr*ir[2],xr=Y[1];xr>0;)for(xr<t?(W=xr,xr=0):(W=t,xr-=t),v=er[2]-W*er[1],b=ir[2]-W*ir[1],j=T+xr*er[1],R=V+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],s=er[1]-$*er[0],h=ir[1]-$*ir[0],qr=0;qr<ar;qr++){for(hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<J;lr++){for(ur=0;ur<W;ur++){for(vr=0;vr<$;vr++)i[nr]=a(o[sr]),sr+=n,nr+=g;sr+=s,nr+=h}sr+=v,nr+=b}sr+=u,nr+=S}sr+=f,nr+=w}sr+=l,nr+=A}sr+=d,nr+=_}sr+=m,nr+=x}sr+=p,nr+=E}sr+=y,nr+=q}}fV.exports=wNr});var dV=c((zce,cV)=>{"use strict";function SNr(r,e,a){e.accessors[1](e.data,e.offset,a(r.accessors[0](r.data,r.offset)))}cV.exports=SNr});var yV=c((Vce,pV)=>{"use strict";function ENr(r,e,a){var t,o,i,n,s,v,u,f,l,d;for(u=r.shape[0],s=r.strides[0],v=e.strides[0],f=r.offset,l=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],d=0;d<u;d++)n(o,l,a(i(t,f))),f+=s,l+=v}pV.exports=ENr});var gV=c((Pce,mV)=>{"use strict";function ANr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S;for(l=r.shape,p=r.strides,y=e.strides,r.order==="row-major"?(d=l[1],m=l[0],s=p[1],v=p[0]-d*p[1],u=y[1],f=y[0]-d*y[1]):(d=l[0],m=l[1],s=p[0],v=p[1]-d*p[0],u=y[0],f=y[1]-d*y[0]),g=r.offset,h=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],S=0;S<m;S++){for(b=0;b<d;b++)n(o,h,a(i(t,g))),g+=s,h+=u;g+=v,h+=f}}mV.exports=ANr});var bV=c((Fce,hV)=>{"use strict";function _Nr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x;for(m=r.shape,h=r.strides,b=e.strides,r.order==="row-major"?(p=m[2],y=m[1],g=m[0],s=h[2],v=h[1]-p*h[2],u=h[0]-y*h[1],f=b[2],l=b[1]-p*b[2],d=b[0]-y*b[1]):(p=m[0],y=m[1],g=m[2],s=h[0],v=h[1]-p*h[0],u=h[2]-y*h[1],f=b[0],l=b[1]-p*b[0],d=b[2]-y*b[1]),S=r.offset,w=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],x=0;x<g;x++){for(_=0;_<y;_++){for(A=0;A<p;A++)n(o,w,a(i(t,S))),S+=s,w+=f;S+=v,w+=l}S+=u,w+=d}}hV.exports=_Nr});var qV=c((Lce,xV)=>{"use strict";function jNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T;for(y=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(g=y[3],h=y[2],b=y[1],S=y[0],s=w[3],v=w[2]-g*w[3],u=w[1]-h*w[2],f=w[0]-b*w[1],l=A[3],d=A[2]-g*A[3],m=A[1]-h*A[2],p=A[0]-b*A[1]):(g=y[0],h=y[1],b=y[2],S=y[3],s=w[0],v=w[1]-g*w[0],u=w[2]-h*w[1],f=w[3]-b*w[2],l=A[0],d=A[1]-g*A[0],m=A[2]-h*A[1],p=A[3]-b*A[2]),_=r.offset,x=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],T=0;T<S;T++){for(j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++)n(o,x,a(i(t,_))),_+=s,x+=l;_+=v,x+=d}_+=u,x+=m}_+=f,x+=p}}xV.exports=jNr});var SV=c((Cce,wV)=>{"use strict";function TNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k;for(h=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(b=h[4],S=h[3],w=h[2],A=h[1],_=h[0],s=x[4],v=x[3]-b*x[4],u=x[2]-S*x[3],f=x[1]-w*x[2],l=x[0]-A*x[1],d=E[4],m=E[3]-b*E[4],p=E[2]-S*E[3],y=E[1]-w*E[2],g=E[0]-A*E[1]):(b=h[0],S=h[1],w=h[2],A=h[3],_=h[4],s=x[0],v=x[1]-b*x[0],u=x[2]-S*x[1],f=x[3]-w*x[2],l=x[4]-A*x[3],d=E[0],m=E[1]-b*E[0],p=E[2]-S*E[1],y=E[3]-w*E[2],g=E[4]-A*E[3]),q=r.offset,j=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++){for(T=0;T<b;T++)n(o,j,a(i(t,q))),q+=s,j+=d;q+=v,j+=m}q+=u,j+=p}q+=f,j+=y}q+=l,j+=g}}wV.exports=TNr});var AV=c((Uce,EV)=>{"use strict";function ONr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R;for(S=r.shape,j=r.strides,T=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],x=S[2],E=S[1],q=S[0],s=j[5],v=j[4]-w*j[5],u=j[3]-A*j[4],f=j[2]-_*j[3],l=j[1]-x*j[2],d=j[0]-E*j[1],m=T[5],p=T[4]-w*T[5],y=T[3]-A*T[4],g=T[2]-_*T[3],h=T[1]-x*T[2],b=T[0]-E*T[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],s=j[0],v=j[1]-w*j[0],u=j[2]-A*j[1],f=j[3]-_*j[2],l=j[4]-x*j[3],d=j[5]-E*j[4],m=T[0],p=T[1]-w*T[0],y=T[2]-A*T[1],g=T[3]-_*T[2],h=T[4]-x*T[3],b=T[5]-E*T[4]),I=r.offset,O=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)n(o,O,a(i(t,I))),I+=s,O+=m;I+=v,O+=p}I+=u,O+=y}I+=f,O+=g}I+=l,O+=h}I+=d,O+=b}}EV.exports=ONr});var jV=c((Mce,_V)=>{"use strict";function INr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L;for(A=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],x=A[5],E=A[4],q=A[3],j=A[2],T=A[1],I=A[0],s=O[6],v=O[5]-_*O[6],u=O[4]-x*O[5],f=O[3]-E*O[4],l=O[2]-q*O[3],d=O[1]-j*O[2],m=O[0]-T*O[1],p=D[6],y=D[5]-_*D[6],g=D[4]-x*D[5],h=D[3]-E*D[4],b=D[2]-q*D[3],S=D[1]-j*D[2],w=D[0]-T*D[1]):(_=A[0],x=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],s=O[0],v=O[1]-_*O[0],u=O[2]-x*O[1],f=O[3]-E*O[2],l=O[4]-q*O[3],d=O[5]-j*O[4],m=O[6]-T*O[5],p=D[0],y=D[1]-_*D[0],g=D[2]-x*D[1],h=D[3]-E*D[2],b=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],n=e.accessors[1],L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++)n(o,N,a(i(t,k))),k+=s,N+=p;k+=v,N+=y}k+=u,N+=g}k+=f,N+=h}k+=l,N+=b}k+=d,N+=S}k+=m,N+=w}}_V.exports=INr});var OV=c((Gce,TV)=>{"use strict";function NNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G;for(x=r.shape,N=r.strides,B=e.strides,r.order==="row-major"?(E=x[7],q=x[6],j=x[5],T=x[4],I=x[3],O=x[2],D=x[1],k=x[0],s=N[7],v=N[6]-E*N[7],u=N[5]-q*N[6],f=N[4]-j*N[5],l=N[3]-T*N[4],d=N[2]-I*N[3],m=N[1]-O*N[2],p=N[0]-D*N[1],y=B[7],g=B[6]-E*B[7],h=B[5]-q*B[6],b=B[4]-j*B[5],S=B[3]-T*B[4],w=B[2]-I*B[3],A=B[1]-O*B[2],_=B[0]-D*B[1]):(E=x[0],q=x[1],j=x[2],T=x[3],I=x[4],O=x[5],D=x[6],k=x[7],s=N[0],v=N[1]-E*N[0],u=N[2]-q*N[1],f=N[3]-j*N[2],l=N[4]-T*N[3],d=N[5]-I*N[4],m=N[6]-O*N[5],p=N[7]-D*N[6],y=B[0],g=B[1]-E*B[0],h=B[2]-q*B[1],b=B[3]-j*B[2],S=B[4]-T*B[3],w=B[5]-I*B[4],A=B[6]-O*B[5],_=B[7]-D*B[6]),z=r.offset,R=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],G=0;G<k;G++){for(M=0;M<D;M++){for(U=0;U<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(V=0;V<E;V++)n(o,R,a(i(t,z))),z+=s,R+=y;z+=v,R+=g}z+=u,R+=h}z+=f,R+=b}z+=l,R+=S}z+=d,R+=w}z+=m,R+=A}z+=p,R+=_}}TV.exports=NNr});var NV=c(($ce,IV)=>{"use strict";function DNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J;for(q=r.shape,R=r.strides,V=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],B=q[1],z=q[0],s=R[8],v=R[7]-j*R[8],u=R[6]-T*R[7],f=R[5]-I*R[6],l=R[4]-O*R[5],d=R[3]-D*R[4],m=R[2]-k*R[3],p=R[1]-N*R[2],y=R[0]-B*R[1],g=V[8],h=V[7]-j*V[8],b=V[6]-T*V[7],S=V[5]-I*V[6],w=V[4]-O*V[5],A=V[3]-D*V[4],_=V[2]-k*V[3],x=V[1]-N*V[2],E=V[0]-B*V[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],B=q[7],z=q[8],s=R[0],v=R[1]-j*R[0],u=R[2]-T*R[1],f=R[3]-I*R[2],l=R[4]-O*R[3],d=R[5]-D*R[4],m=R[6]-k*R[5],p=R[7]-N*R[6],y=R[8]-B*R[7],g=V[0],h=V[1]-j*V[0],b=V[2]-T*V[1],S=V[3]-I*V[2],w=V[4]-O*V[3],A=V[5]-D*V[4],_=V[6]-k*V[5],x=V[7]-N*V[6],E=V[8]-B*V[7]),P=r.offset,F=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],J=0;J<z;J++){for(W=0;W<B;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++)n(o,F,a(i(t,P))),P+=s,F+=g;P+=v,F+=h}P+=u,F+=b}P+=f,F+=S}P+=l,F+=w}P+=d,F+=A}P+=m,F+=_}P+=p,F+=x}P+=y,F+=E}}IV.exports=DNr});var kV=c((Yce,DV)=>{"use strict";function kNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,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],B=T[4],z=T[3],R=T[2],V=T[1],P=T[0],s=F[9],v=F[8]-I*F[9],u=F[7]-O*F[8],f=F[6]-D*F[7],l=F[5]-k*F[6],d=F[4]-N*F[5],m=F[3]-B*F[4],p=F[2]-z*F[3],y=F[1]-R*F[2],g=F[0]-V*F[1],h=L[9],b=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],x=L[3]-B*L[4],E=L[2]-z*L[3],q=L[1]-R*L[2],j=L[0]-V*L[1]):(I=T[0],O=T[1],D=T[2],k=T[3],N=T[4],B=T[5],z=T[6],R=T[7],V=T[8],P=T[9],s=F[0],v=F[1]-I*F[0],u=F[2]-O*F[1],f=F[3]-D*F[2],l=F[4]-k*F[3],d=F[5]-N*F[4],m=F[6]-B*F[5],p=F[7]-z*F[6],y=F[8]-R*F[7],g=F[9]-V*F[8],h=L[0],b=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],x=L[6]-B*L[5],E=L[7]-z*L[6],q=L[8]-R*L[7],j=L[9]-V*L[8]),C=r.offset,U=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],Q=0;Q<P;Q++){for(H=0;H<V;H++){for(X=0;X<R;X++){for(K=0;K<z;K++){for(J=0;J<B;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++)n(o,U,a(i(t,C))),C+=s,U+=h;C+=v,U+=b}C+=u,U+=S}C+=f,U+=w}C+=l,U+=A}C+=d,U+=_}C+=m,U+=x}C+=p,U+=E}C+=y,U+=q}C+=g,U+=j}}DV.exports=kNr});var VV=c((Wce,zV)=>{"use strict";var RNr=Wr(),RV=ia(),BV="throw";function BNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;for(f=r.shape,s=RNr(f),t=r.data,o=e.data,l=r.strides,d=e.strides,m=r.offset,p=e.offset,i=r.order,n=e.order,v=r.accessors[0],u=e.accessors[1],h=0;h<s;h++)y=RV(f,l,m,i,h,BV),g=RV(f,d,p,n,h,BV),u(o,g,a(v(t,y)))}zV.exports=BNr});var FV=c((Jce,PV)=>{"use strict";function zNr(r,e,a){e.data[e.offset]=a(r.data[r.offset])}PV.exports=zNr});var CV=c((Kce,LV)=>{"use strict";function VNr(r,e,a){var t,o,i,n,s,v,u,f;for(s=r.shape[0],i=r.strides[0],n=e.strides[0],v=r.offset,u=e.offset,t=r.data,o=e.data,f=0;f<s;f++)o[u]=a(t[v]),v+=i,u+=n}LV.exports=VNr});var MV=c((Xce,UV)=>{"use strict";function PNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;for(u=r.shape,d=r.strides,m=e.strides,r.order==="row-major"?(f=u[1],l=u[0],i=d[1],n=d[0]-f*d[1],s=m[1],v=m[0]-f*m[1]):(f=u[0],l=u[1],i=d[0],n=d[1]-f*d[0],s=m[0],v=m[1]-f*m[0]),p=r.offset,y=e.offset,t=r.data,o=e.data,h=0;h<l;h++){for(g=0;g<f;g++)o[y]=a(t[p]),p+=i,y+=s;p+=n,y+=v}}UV.exports=PNr});var $V=c((Hce,GV)=>{"use strict";function FNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A;for(l=r.shape,y=r.strides,g=e.strides,r.order==="row-major"?(d=l[2],m=l[1],p=l[0],i=y[2],n=y[1]-d*y[2],s=y[0]-m*y[1],v=g[2],u=g[1]-d*g[2],f=g[0]-m*g[1]):(d=l[0],m=l[1],p=l[2],i=y[0],n=y[1]-d*y[0],s=y[2]-m*y[1],v=g[0],u=g[1]-d*g[0],f=g[2]-m*g[1]),h=r.offset,b=e.offset,t=r.data,o=e.data,A=0;A<p;A++){for(w=0;w<m;w++){for(S=0;S<d;S++)o[b]=a(t[h]),h+=i,b+=v;h+=n,b+=u}h+=s,b+=f}}GV.exports=FNr});var WV=c((Zce,YV)=>{"use strict";function LNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q;for(m=r.shape,b=r.strides,S=e.strides,r.order==="row-major"?(p=m[3],y=m[2],g=m[1],h=m[0],i=b[3],n=b[2]-p*b[3],s=b[1]-y*b[2],v=b[0]-g*b[1],u=S[3],f=S[2]-p*S[3],l=S[1]-y*S[2],d=S[0]-g*S[1]):(p=m[0],y=m[1],g=m[2],h=m[3],i=b[0],n=b[1]-p*b[0],s=b[2]-y*b[1],v=b[3]-g*b[2],u=S[0],f=S[1]-p*S[0],l=S[2]-y*S[1],d=S[3]-g*S[2]),w=r.offset,A=e.offset,t=r.data,o=e.data,q=0;q<h;q++){for(E=0;E<g;E++){for(x=0;x<y;x++){for(_=0;_<p;_++)o[A]=a(t[w]),w+=i,A+=u;w+=n,A+=f}w+=s,A+=l}w+=v,A+=d}}YV.exports=LNr});var KV=c((Qce,JV)=>{"use strict";function CNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(y=r.shape,A=r.strides,_=e.strides,r.order==="row-major"?(g=y[4],h=y[3],b=y[2],S=y[1],w=y[0],i=A[4],n=A[3]-g*A[4],s=A[2]-h*A[3],v=A[1]-b*A[2],u=A[0]-S*A[1],f=_[4],l=_[3]-g*_[4],d=_[2]-h*_[3],m=_[1]-b*_[2],p=_[0]-S*_[1]):(g=y[0],h=y[1],b=y[2],S=y[3],w=y[4],i=A[0],n=A[1]-g*A[0],s=A[2]-h*A[1],v=A[3]-b*A[2],u=A[4]-S*A[3],f=_[0],l=_[1]-g*_[0],d=_[2]-h*_[1],m=_[3]-b*_[2],p=_[4]-S*_[3]),x=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<b;T++){for(j=0;j<h;j++){for(q=0;q<g;q++)o[E]=a(t[x]),x+=i,E+=f;x+=n,E+=l}x+=s,E+=d}x+=v,E+=m}x+=u,E+=p}}JV.exports=CNr});var HV=c((rde,XV)=>{"use strict";function UNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B;for(h=r.shape,E=r.strides,q=e.strides,r.order==="row-major"?(b=h[5],S=h[4],w=h[3],A=h[2],_=h[1],x=h[0],i=E[5],n=E[4]-b*E[5],s=E[3]-S*E[4],v=E[2]-w*E[3],u=E[1]-A*E[2],f=E[0]-_*E[1],l=q[5],d=q[4]-b*q[5],m=q[3]-S*q[4],p=q[2]-w*q[3],y=q[1]-A*q[2],g=q[0]-_*q[1]):(b=h[0],S=h[1],w=h[2],A=h[3],_=h[4],x=h[5],i=E[0],n=E[1]-b*E[0],s=E[2]-S*E[1],v=E[3]-w*E[2],u=E[4]-A*E[3],f=E[5]-_*E[4],l=q[0],d=q[1]-b*q[0],m=q[2]-S*q[1],p=q[3]-w*q[2],y=q[4]-A*q[3],g=q[5]-_*q[4]),j=r.offset,T=e.offset,t=r.data,o=e.data,B=0;B<x;B++){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<b;I++)o[T]=a(t[j]),j+=i,T+=l;j+=n,T+=d}j+=s,T+=m}j+=v,T+=p}j+=u,T+=y}j+=f,T+=g}}XV.exports=UNr});var QV=c((ede,ZV)=>{"use strict";function MNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P;for(S=r.shape,T=r.strides,I=e.strides,r.order==="row-major"?(w=S[6],A=S[5],_=S[4],x=S[3],E=S[2],q=S[1],j=S[0],i=T[6],n=T[5]-w*T[6],s=T[4]-A*T[5],v=T[3]-_*T[4],u=T[2]-x*T[3],f=T[1]-E*T[2],l=T[0]-q*T[1],d=I[6],m=I[5]-w*I[6],p=I[4]-A*I[5],y=I[3]-_*I[4],g=I[2]-x*I[3],h=I[1]-E*I[2],b=I[0]-q*I[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],j=S[6],i=T[0],n=T[1]-w*T[0],s=T[2]-A*T[1],v=T[3]-_*T[2],u=T[4]-x*T[3],f=T[5]-E*T[4],l=T[6]-q*T[5],d=I[0],m=I[1]-w*I[0],p=I[2]-A*I[1],y=I[3]-_*I[2],g=I[4]-x*I[3],h=I[5]-E*I[4],b=I[6]-q*I[5]),O=r.offset,D=e.offset,t=r.data,o=e.data,P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++){for(N=0;N<A;N++){for(k=0;k<w;k++)o[D]=a(t[O]),O+=i,D+=d;O+=n,D+=m}O+=s,D+=p}O+=v,D+=y}O+=u,D+=g}O+=f,D+=h}O+=l,D+=b}}ZV.exports=MNr});var eP=c((ade,rP)=>{"use strict";function GNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U;for(A=r.shape,D=r.strides,k=e.strides,r.order==="row-major"?(_=A[7],x=A[6],E=A[5],q=A[4],j=A[3],T=A[2],I=A[1],O=A[0],i=D[7],n=D[6]-_*D[7],s=D[5]-x*D[6],v=D[4]-E*D[5],u=D[3]-q*D[4],f=D[2]-j*D[3],l=D[1]-T*D[2],d=D[0]-I*D[1],m=k[7],p=k[6]-_*k[7],y=k[5]-x*k[6],g=k[4]-E*k[5],h=k[3]-q*k[4],b=k[2]-j*k[3],S=k[1]-T*k[2],w=k[0]-I*k[1]):(_=A[0],x=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],O=A[7],i=D[0],n=D[1]-_*D[0],s=D[2]-x*D[1],v=D[3]-E*D[2],u=D[4]-q*D[3],f=D[5]-j*D[4],l=D[6]-T*D[5],d=D[7]-I*D[6],m=k[0],p=k[1]-_*k[0],y=k[2]-x*k[1],g=k[3]-E*k[2],h=k[4]-q*k[3],b=k[5]-j*k[4],S=k[6]-T*k[5],w=k[7]-I*k[6]),N=r.offset,B=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(V=0;V<E;V++){for(R=0;R<x;R++){for(z=0;z<_;z++)o[B]=a(t[N]),N+=i,B+=m;N+=n,B+=p}N+=s,B+=y}N+=v,B+=g}N+=u,B+=h}N+=f,B+=b}N+=l,B+=S}N+=d,B+=w}}rP.exports=GNr});var tP=c((tde,aP)=>{"use strict";function $Nr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$;for(x=r.shape,B=r.strides,z=e.strides,r.order==="row-major"?(E=x[8],q=x[7],j=x[6],T=x[5],I=x[4],O=x[3],D=x[2],k=x[1],N=x[0],i=B[8],n=B[7]-E*B[8],s=B[6]-q*B[7],v=B[5]-j*B[6],u=B[4]-T*B[5],f=B[3]-I*B[4],l=B[2]-O*B[3],d=B[1]-D*B[2],m=B[0]-k*B[1],p=z[8],y=z[7]-E*z[8],g=z[6]-q*z[7],h=z[5]-j*z[6],b=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=x[0],q=x[1],j=x[2],T=x[3],I=x[4],O=x[5],D=x[6],k=x[7],N=x[8],i=B[0],n=B[1]-E*B[0],s=B[2]-q*B[1],v=B[3]-j*B[2],u=B[4]-T*B[3],f=B[5]-I*B[4],l=B[6]-O*B[5],d=B[7]-D*B[6],m=B[8]-k*B[7],p=z[0],y=z[1]-E*z[0],g=z[2]-q*z[1],h=z[3]-j*z[2],b=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,V=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[V]=a(t[R]),R+=i,V+=p;R+=n,V+=y}R+=s,V+=g}R+=v,V+=h}R+=u,V+=b}R+=f,V+=S}R+=l,V+=w}R+=d,V+=A}R+=m,V+=_}}aP.exports=$Nr});var oP=c((ide,iP)=>{"use strict";function YNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X;for(q=r.shape,V=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],B=q[2],z=q[1],R=q[0],i=V[9],n=V[8]-j*V[9],s=V[7]-T*V[8],v=V[6]-I*V[7],u=V[5]-O*V[6],f=V[4]-D*V[5],l=V[3]-k*V[4],d=V[2]-N*V[3],m=V[1]-B*V[2],p=V[0]-z*V[1],y=P[9],g=P[8]-j*P[9],h=P[7]-T*P[8],b=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],x=P[1]-B*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],B=q[7],z=q[8],R=q[9],i=V[0],n=V[1]-j*V[0],s=V[2]-T*V[1],v=V[3]-I*V[2],u=V[4]-O*V[3],f=V[5]-D*V[4],l=V[6]-k*V[5],d=V[7]-N*V[6],m=V[8]-B*V[7],p=V[9]-z*V[8],y=P[0],g=P[1]-j*P[0],h=P[2]-T*P[1],b=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],x=P[8]-B*P[7],E=P[9]-z*P[8]),F=r.offset,L=e.offset,t=r.data,o=e.data,X=0;X<R;X++){for(K=0;K<z;K++){for(J=0;J<B;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+=n,L+=g}F+=s,L+=h}F+=v,L+=b}F+=u,L+=S}F+=f,L+=w}F+=l,L+=A}F+=d,L+=_}F+=m,L+=x}F+=p,L+=E}}iP.exports=YNr});var uP=c((ode,vP)=>{"use strict";var WNr=Wr(),sP=ia(),nP="throw";function JNr(r,e,a){var t,o,i,n,s,v,u,f,l,d,m,p,y;for(v=r.shape,s=WNr(v),t=r.data,o=e.data,u=r.strides,f=e.strides,l=r.offset,d=e.offset,i=r.order,n=e.order,y=0;y<s;y++)m=sP(v,u,l,i,y,nP),p=sP(v,f,d,n,y,nP),o[p]=a(t[m])}vP.exports=JNr});var yP=c((sde,pP)=>{"use strict";var fP=xa(),lP=Za(),cP=Wt(),KNr=Nz(),XNr=kz(),HNr=Bz(),ZNr=Vz(),QNr=Fz(),rDr=Cz(),eDr=Mz(),aDr=$z(),tDr=Wz(),iDr=Kz(),oDr=Hz(),sDr=Qz(),nDr=eV(),vDr=tV(),uDr=oV(),fDr=nV(),lDr=uV(),cDr=lV(),dDr=dV(),pDr=yV(),yDr=gV(),mDr=bV(),gDr=qV(),hDr=SV(),bDr=AV(),xDr=jV(),qDr=OV(),wDr=NV(),SDr=kV(),EDr=VV(),ADr=FV(),_Dr=CV(),jDr=MV(),TDr=$V(),ODr=WV(),IDr=KV(),NDr=HV(),DDr=QV(),kDr=eP(),RDr=tP(),BDr=oP(),zDr=uP(),Ai=[ADr,_Dr,jDr,TDr,ODr,IDr,NDr,DDr,kDr,RDr,BDr],wo=[dDr,pDr,yDr,mDr,gDr,hDr,bDr,xDr,qDr,wDr,SDr],VDr=[iDr,oDr,sDr,nDr,vDr,uDr,fDr,lDr,cDr],PDr=[KNr,XNr,HNr,ZNr,QNr,rDr,eDr,aDr,tDr],dP=Ai.length-1;function FDr(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b;if(y=cP(r[0]),g=cP(r[1]),i=y.shape,n=g.shape,a=i.length,a!==n.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+a+". ndims(y) == "+n.length+".");if(a===0)return y.accessorProtocol||g.accessorProtocol?wo[a](y,g,e):Ai[a](y,g,e);for(u=1,p=0,b=0;b<a;b++){if(h=i[b],h!==n[b])throw new Error("invalid arguments. Arrays must have the same shape.");u*=h,h===1&&(p+=1)}if(u!==0){if(a===1)return y.accessorProtocol||g.accessorProtocol?wo[a](y,g,e):Ai[a](y,g,e);if(f=y.strides,l=g.strides,p===a-1){for(b=0;b<a&&i[b]===1;b++);return y.shape=[i[b]],g.shape=y.shape,y.strides=[f[b]],g.strides=[l[b]],y.accessorProtocol||g.accessorProtocol?wo[1](y,g,e):Ai[1](y,g,e)}if(s=fP(f),v=fP(l),s!==0&&v!==0&&s===v){if(t=lP(i,f,y.offset),o=lP(n,l,g.offset),u===t[1]-t[0]+1&&u===o[1]-o[0]+1)return s===1?d=t[0]:d=t[1],v===1?m=o[0]:m=o[1],y.shape=[u],g.shape=y.shape,y.strides=[s],g.strides=[v],y.offset=d,g.offset=m,y.accessorProtocol||g.accessorProtocol?wo[1](y,g,e):Ai[1](y,g,e);if(a<=dP)return y.accessorProtocol||g.accessorProtocol?wo[a](y,g,e):Ai[a](y,g,e)}if(a<=dP)return y.accessorProtocol||g.accessorProtocol?PDr[a-2](y,g,e):VDr[a-2](y,g,e);if(y.accessorProtocol||g.accessorProtocol)return EDr(y,g,e);zDr(y,g,e)}}pP.exports=FDr});var gP=c((nde,mP)=>{"use strict";var LDr=yP();mP.exports=LDr});var bP=c((vde,hP)=>{"use strict";var CDr=zr(),UDr=Br();function MDr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k;for(O=CDr(r.shape,r.strides,e.strides),g=O.sh,S=O.sx,w=O.sy,i=UDr(r.dtype,e.dtype),A=r.offset,_=e.offset,n=r.data,s=e.data,f=S[0],d=w[0],v=r.accessors[0],u=e.accessors[1],k=0,I=g[1];I>0;)for(I<i?(b=I,I=0):(b=i,I-=i),p=A+I*S[1],y=_+I*w[1],T=g[0];T>0;)for(T<i?(h=T,T=0):(h=i,T-=i),x=p+T*S[0],E=y+T*w[0],l=S[1]-h*S[0],m=w[1]-h*w[0],j=0;j<b;j++){for(q=0;q<h;q++)D=t.call(o,v(n,x),k,[x,E],[r,e]),D!==void 0&&u(s,E,a(D)),x+=f,E+=d,k+=1;x+=l,E+=m}}hP.exports=MDr});var qP=c((ude,xP)=>{"use strict";var GDr=zr(),$Dr=Br();function YDr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(V=GDr(r.shape,r.strides,e.strides),w=V.sh,E=V.sx,q=V.sy,i=$Dr(r.dtype,e.dtype),j=r.offset,T=e.offset,n=r.data,s=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?(x=R,R=0):(x=i,R-=i),h=j+R*E[2],S=T+R*q[2],z=w[1];z>0;)for(z<i?(_=z,z=0):(_=i,z-=i),d=E[2]-_*E[1],y=q[2]-_*q[1],g=h+z*E[1],b=S+z*q[1],B=w[0];B>0;)for(B<i?(A=B,B=0):(A=i,B-=i),I=g+B*E[0],O=b+B*q[0],l=E[1]-A*E[0],p=q[1]-A*q[0],N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++)P=t.call(o,v(n,I),F,[I,O],[r,e]),P!==void 0&&u(s,O,a(P)),I+=f,O+=m,F+=1;I+=l,O+=p}I+=d,O+=y}}xP.exports=YDr});var SP=c((fde,wP)=>{"use strict";var WDr=zr(),JDr=Br();function KDr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$;for(G=WDr(r.shape,r.strides,e.strides),E=G.sh,O=G.sx,D=G.sy,i=JDr(r.dtype,e.dtype),k=r.offset,N=e.offset,n=r.data,s=e.data,f=O[0],p=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],x=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],h=D[3]-T*D[2],S=w+U*O[2],_=x+U*D[2],C=E[1];C>0;)for(C<i?(j=C,C=0):(j=i,C-=i),d=O[2]-j*O[1],g=D[2]-j*D[1],b=S+C*O[1],A=_+C*D[1],L=E[0];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),B=b+L*O[0],z=A+L*D[0],l=O[1]-q*O[0],y=D[1]-q*D[0],F=0;F<I;F++){for(P=0;P<T;P++){for(V=0;V<j;V++){for(R=0;R<q;R++)Y=t.call(o,v(n,B),$,[B,z],[r,e]),Y!==void 0&&u(s,z,a(Y)),B+=f,z+=p,$+=1;B+=l,z+=y}B+=d,z+=g}B+=m,z+=h}}wP.exports=KDr});var AP=c((lde,EP)=>{"use strict";var XDr=zr(),HDr=Br();function ZDr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z;for(H=XDr(r.shape,r.strides,e.strides),I=H.sh,z=H.sx,R=H.sy,i=HDr(r.dtype,e.dtype),V=r.offset,P=e.offset,n=r.data,s=e.data,f=z[0],y=R[0],v=r.accessors[0],u=e.accessors[1],Z=0,X=I[4];X>0;)for(X<i?(B=X,X=0):(B=i,X-=i),x=V+X*z[4],T=P+X*R[4],K=I[3];K>0;)for(K<i?(N=K,K=0):(N=i,K-=i),p=z[4]-N*z[3],S=R[4]-N*R[3],_=x+K*z[3],j=T+K*R[3],J=I[2];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),m=z[3]-k*z[2],b=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),d=z[2]-D*z[1],h=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],l=z[1]-O*z[0],g=R[1]-O*R[0],Y=0;Y<B;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(n,F),Z,[F,L],[r,e]),Q!==void 0&&u(s,L,a(Q)),F+=f,L+=y,Z+=1;F+=l,L+=g}F+=d,L+=h}F+=m,L+=b}F+=p,L+=S}}EP.exports=ZDr});var jP=c((cde,_P)=>{"use strict";var QDr=zr(),rkr=Br();function ekr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr;for(tr=QDr(r.shape,r.strides,e.strides),N=tr.sh,L=tr.sx,C=tr.sy,i=rkr(r.dtype,e.dtype),U=r.offset,M=e.offset,n=r.data,s=e.data,f=L[0],g=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?(V=ar,ar=0):(V=i,ar-=i),p=L[4]-V*L[3],w=C[4]-V*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],x=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),d=L[2]-z*L[1],b=C[2]-z*C[1],_=x+Z*L[1],T=I+Z*C[1],Q=N[0];Q>0;)for(Q<i?(B=Q,Q=0):(B=i,Q-=i),G=_+Q*L[0],Y=T+Q*C[0],l=L[1]-B*L[0],h=C[1]-B*C[0],H=0;H<F;H++){for(X=0;X<P;X++){for(K=0;K<V;K++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<B;$++)or=t.call(o,v(n,G),sr,[G,Y],[r,e]),or!==void 0&&u(s,Y,a(or)),G+=f,Y+=g,sr+=1;G+=l,Y+=h}G+=d,Y+=b}G+=m,Y+=S}G+=p,Y+=w}G+=y,Y+=A}}_P.exports=ekr});var OP=c((dde,TP)=>{"use strict";var akr=zr(),tkr=Br();function ikr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr;for(fr=akr(r.shape,r.strides,e.strides),V=fr.sh,Y=fr.sx,$=fr.sy,i=tkr(r.dtype,e.dtype),W=r.offset,J=e.offset,n=r.data,s=e.data,f=Y[0],h=$[0],v=r.accessors[0],u=e.accessors[1],dr=0,lr=V[6];lr>0;)for(lr<i?(G=lr,lr=0):(G=i,lr-=i),O=W+lr*Y[6],R=J+lr*$[6],ur=V[5];ur>0;)for(ur<i?(M=ur,ur=0):(M=i,ur-=i),g=Y[6]-M*Y[5],x=$[6]-M*$[5],I=O+ur*Y[5],z=R+ur*$[5],vr=V[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],B=z+vr*$[4],nr=V[3];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),p=Y[4]-C*Y[3],A=$[4]-C*$[3],j=T+nr*Y[3],N=B+nr*$[3],sr=V[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=V[1];or>0;)for(or<i?(F=or,or=0):(F=i,or-=i),d=Y[2]-F*Y[1],S=$[2]-F*$[1],E=q+or*Y[1],D=k+or*$[1],tr=V[0];tr>0;)for(tr<i?(P=tr,tr=0):(P=i,tr-=i),K=E+tr*Y[0],X=D+tr*$[0],l=Y[1]-P*Y[0],b=$[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(n,K),dr,[K,X],[r,e]),pr!==void 0&&u(s,X,a(pr)),K+=f,X+=h,dr+=1;K+=l,X+=b}K+=d,X+=S}K+=m,X+=w}K+=p,X+=A}K+=y,X+=_}K+=g,X+=x}}TP.exports=ikr});var NP=c((pde,IP)=>{"use strict";var okr=zr(),skr=Br();function nkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr;for(br=okr(r.shape,r.strides,e.strides),C=br.sh,X=br.sx,H=br.sy,i=skr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,n=r.data,s=e.data,f=X[0],b=H[0],v=r.accessors[0],u=e.accessors[1],gr=0,qr=C[7];qr>0;)for(qr<i?(K=qr,qr=0):(K=i,qr-=i),N=Q+qr*X[7],L=Z+qr*H[7],hr=C[6];hr>0;)for(hr<i?(J=hr,hr=0):(J=i,hr-=i),h=X[7]-J*X[6],q=H[7]-J*H[6],k=N+hr*X[6],F=L+hr*H[6],mr=C[5];mr>0;)for(mr<i?(W=mr,mr=0):(W=i,mr-=i),g=X[6]-W*X[5],E=H[6]-W*H[5],D=k+mr*X[5],P=F+mr*H[5],yr=C[4];yr>0;)for(yr<i?($=yr,yr=0):($=i,yr-=i),y=X[5]-$*X[4],x=H[5]-$*H[4],O=D+yr*X[4],V=P+yr*H[4],dr=C[3];dr>0;)for(dr<i?(Y=dr,dr=0):(Y=i,dr-=i),p=X[4]-Y*X[3],_=H[4]-Y*H[3],I=O+dr*X[3],R=V+dr*H[3],pr=C[2];pr>0;)for(pr<i?(G=pr,pr=0):(G=i,pr-=i),m=X[3]-G*X[2],A=H[3]-G*H[2],T=I+pr*X[2],z=R+pr*H[2],fr=C[1];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),d=X[2]-M*X[1],w=H[2]-M*H[1],j=T+fr*X[1],B=z+fr*H[1],lr=C[0];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),rr=j+lr*X[0],ar=B+lr*H[0],l=X[1]-U*X[0],S=H[1]-U*H[0],ur=0;ur<K;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(n,rr),gr,[rr,ar],[r,e]),xr!==void 0&&u(s,ar,a(xr)),rr+=f,ar+=b,gr+=1;rr+=l,ar+=S}rr+=d,ar+=w}rr+=m,ar+=A}rr+=p,ar+=_}rr+=y,ar+=x}rr+=g,ar+=E}rr+=h,ar+=q}}IP.exports=nkr});var kP=c((yde,DP)=>{"use strict";var vkr=zr(),ukr=Br();function fkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr;for(Or=vkr(r.shape,r.strides,e.strides),Y=Or.sh,ar=Or.sx,er=Or.sy,i=ukr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,n=r.data,s=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),b=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),h=ar[7]-Q*ar[6],j=er[7]-Q*er[6],B=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),g=ar[6]-H*ar[5],q=er[6]-H*er[5],N=B+Er*ar[5],C=U+Er*er[5],gr=Y[4];gr>0;)for(gr<i?(X=gr,gr=0):(X=i,gr-=i),y=ar[5]-X*ar[4],E=er[5]-X*er[4],k=N+gr*ar[4],L=C+gr*er[4],xr=Y[3];xr>0;)for(xr<i?(K=xr,xr=0):(K=i,xr-=i),p=ar[4]-K*ar[3],x=er[4]-K*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),d=ar[2]-W*ar[1],A=er[2]-W*er[1],I=O+qr*ar[1],V=P+qr*er[1],hr=Y[0];hr>0;)for(hr<i?($=hr,hr=0):($=i,hr-=i),or=I+hr*ar[0],sr=V+hr*er[0],l=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<X;fr++){for(lr=0;lr<K;lr++){for(ur=0;ur<J;ur++){for(vr=0;vr<W;vr++){for(nr=0;nr<$;nr++)Rr=t.call(o,v(n,or),Vr,[or,sr],[r,e]),Rr!==void 0&&u(s,sr,a(Rr)),or+=f,sr+=S,Vr+=1;or+=l,sr+=w}or+=d,sr+=A}or+=m,sr+=_}or+=p,sr+=x}or+=y,sr+=E}or+=g,sr+=q}or+=h,sr+=j}or+=b,sr+=T}}DP.exports=fkr});var BP=c((mde,RP)=>{"use strict";var lkr=zr(),ckr=Br();function dkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr,Xr,te,Ne,sa,pt,_n,jn;for(pt=lkr(r.shape,r.strides,e.strides),K=pt.sh,sr=pt.sx,nr=pt.sy,i=ckr(r.dtype,e.dtype),vr=r.offset,ur=e.offset,n=r.data,s=e.data,f=sr[0],w=nr[0],v=r.accessors[0],u=e.accessors[1],jn=0,sa=K[9];sa>0;)for(sa<i?(or=sa,sa=0):(or=i,sa-=i),F=vr+sa*sr[9],J=ur+sa*nr[9],Ne=K[8];Ne>0;)for(Ne<i?(tr=Ne,Ne=0):(tr=i,Ne-=i),S=sr[9]-tr*sr[8],O=nr[9]-tr*nr[8],P=F+Ne*sr[8],W=J+Ne*nr[8],te=K[7];te>0;)for(te<i?(ir=te,te=0):(ir=i,te-=i),b=sr[8]-ir*sr[7],I=nr[8]-ir*nr[7],V=P+te*sr[7],$=W+te*nr[7],Xr=K[6];Xr>0;)for(Xr<i?(er=Xr,Xr=0):(er=i,Xr-=i),h=sr[7]-er*sr[6],T=nr[7]-er*nr[6],R=V+Xr*sr[6],Y=$+Xr*nr[6],Vr=K[5];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),g=sr[6]-ar*sr[5],j=nr[6]-ar*nr[5],z=R+Vr*sr[5],G=Y+Vr*nr[5],Rr=K[4];Rr>0;)for(Rr<i?(rr=Rr,Rr=0):(rr=i,Rr-=i),y=sr[5]-rr*sr[4],q=nr[5]-rr*nr[4],B=z+Rr*sr[4],M=G+Rr*nr[4],Or=K[3];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),p=sr[4]-Z*sr[3],E=nr[4]-Z*nr[3],N=B+Or*sr[3],U=M+Or*nr[3],jr=K[2];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),m=sr[3]-Q*sr[2],x=nr[3]-Q*nr[2],k=N+jr*sr[2],C=U+jr*nr[2],_r=K[1];_r>0;)for(_r<i?(H=_r,_r=0):(H=i,_r-=i),d=sr[2]-H*sr[1],_=nr[2]-H*nr[1],D=k+_r*sr[1],L=C+_r*nr[1],Ar=K[0];Ar>0;)for(Ar<i?(X=Ar,Ar=0):(X=i,Ar-=i),lr=D+Ar*sr[0],fr=L+Ar*nr[0],l=sr[1]-X*sr[0],A=nr[1]-X*nr[0],Er=0;Er<or;Er++){for(gr=0;gr<tr;gr++){for(xr=0;xr<ir;xr++){for(br=0;br<er;br++){for(qr=0;qr<ar;qr++){for(hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++)_n=t.call(o,v(n,lr),jn,[lr,fr],[r,e]),_n!==void 0&&u(s,fr,a(_n)),lr+=f,fr+=w,jn+=1;lr+=l,fr+=A}lr+=d,fr+=_}lr+=m,fr+=x}lr+=p,fr+=E}lr+=y,fr+=q}lr+=g,fr+=j}lr+=h,fr+=T}lr+=b,fr+=I}lr+=S,fr+=O}}RP.exports=dkr});var VP=c((gde,zP)=>{"use strict";var pkr=zr(),ykr=Br();function mkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(T=pkr(r.shape,r.strides,e.strides),p=T.sh,h=T.sx,b=T.sy,i=ykr(r.dtype,e.dtype),S=r.offset,w=e.offset,n=r.data,s=e.data,v=h[0],f=b[0],O=0,j=p[1];j>0;)for(j<i?(g=j,j=0):(g=i,j-=i),d=S+j*h[1],m=w+j*b[1],q=p[0];q>0;)for(q<i?(y=q,q=0):(y=i,q-=i),A=d+q*h[0],_=m+q*b[0],u=h[1]-y*h[0],l=b[1]-y*b[0],E=0;E<g;E++){for(x=0;x<y;x++)I=t.call(o,n[A],O,[A,_],[r,e]),I!==void 0&&(s[_]=a(I)),A+=v,_+=f,O+=1;A+=u,_+=l}}zP.exports=mkr});var FP=c((hde,PP)=>{"use strict";var gkr=zr(),hkr=Br();function bkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V;for(z=gkr(r.shape,r.strides,e.strides),b=z.sh,_=z.sx,x=z.sy,i=hkr(r.dtype,e.dtype),E=r.offset,q=e.offset,n=r.data,s=e.data,v=_[0],l=x[0],V=0,B=b[2];B>0;)for(B<i?(A=B,B=0):(A=i,B-=i),y=E+B*_[2],h=q+B*x[2],N=b[1];N>0;)for(N<i?(w=N,N=0):(w=i,N-=i),f=_[2]-w*_[1],m=x[2]-w*x[1],p=y+N*_[1],g=h+N*x[1],k=b[0];k>0;)for(k<i?(S=k,k=0):(S=i,k-=i),j=p+k*_[0],T=g+k*x[0],u=_[1]-S*_[0],d=x[1]-S*x[0],D=0;D<A;D++){for(O=0;O<w;O++){for(I=0;I<S;I++)R=t.call(o,n[j],V,[j,T],[r,e]),R!==void 0&&(s[T]=a(R)),j+=v,T+=l,V+=1;j+=u,T+=d}j+=f,T+=m}}PP.exports=bkr});var CP=c((bde,LP)=>{"use strict";var xkr=zr(),qkr=Br();function wkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G;for(U=xkr(r.shape,r.strides,e.strides),_=U.sh,T=U.sx,I=U.sy,i=qkr(r.dtype,e.dtype),O=r.offset,D=e.offset,n=r.data,s=e.data,v=T[0],d=I[0],G=0,C=_[3];C>0;)for(C<i?(j=C,C=0):(j=i,C-=i),b=O+C*T[3],A=D+C*I[3],L=_[2];L>0;)for(L<i?(q=L,L=0):(q=i,L-=i),l=T[3]-q*T[2],y=I[3]-q*I[2],h=b+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],p=I[2]-E*I[1],g=h+F*T[1],S=w+F*I[1],P=_[0];P>0;)for(P<i?(x=P,P=0):(x=i,P-=i),k=g+P*T[0],N=S+P*I[0],u=T[1]-x*T[0],m=I[1]-x*I[0],V=0;V<j;V++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++)M=t.call(o,n[k],G,[k,N],[r,e]),M!==void 0&&(s[N]=a(M)),k+=v,N+=d,G+=1;k+=u,N+=m}k+=f,N+=p}k+=l,N+=y}}LP.exports=wkr});var MP=c((xde,UP)=>{"use strict";var Skr=zr(),Ekr=Br();function Akr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H;for(K=Skr(r.shape,r.strides,e.strides),j=K.sh,N=K.sx,B=K.sy,i=Ekr(r.dtype,e.dtype),z=r.offset,R=e.offset,n=r.data,s=e.data,v=N[0],m=B[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*B[4],W=j[3];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),d=N[4]-D*N[3],h=B[4]-D*B[3],w=A+W*N[3],E=q+W*B[3],$=j[2];$>0;)for($<i?(O=$,$=0):(O=i,$-=i),l=N[3]-O*N[2],g=B[3]-O*B[2],S=w+$*N[2],x=E+$*B[2],Y=j[1];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),f=N[2]-I*N[1],y=B[2]-I*B[1],b=S+Y*N[1],_=x+Y*B[1],G=j[0];G>0;)for(G<i?(T=G,G=0):(T=i,G-=i),V=b+G*N[0],P=_+G*B[0],u=N[1]-T*N[0],p=B[1]-T*B[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++)X=t.call(o,n[V],H,[V,P],[r,e]),X!==void 0&&(s[P]=a(X)),V+=v,P+=m,H+=1;V+=u,P+=p}V+=f,P+=y}V+=l,P+=g}V+=d,P+=h}}UP.exports=Akr});var $P=c((qde,GP)=>{"use strict";var _kr=zr(),jkr=Br();function Tkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr;for(er=_kr(r.shape,r.strides,e.strides),D=er.sh,P=er.sx,F=er.sy,i=jkr(r.dtype,e.dtype),L=r.offset,C=e.offset,n=r.data,s=e.data,v=P[0],p=F[0],tr=0,ar=D[5];ar>0;)for(ar<i?(V=ar,ar=0):(V=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],x=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),d=P[4]-z*P[3],b=F[4]-z*F[3],_=x+Z*P[3],T=I+Z*F[3],Q=D[2];Q>0;)for(Q<i?(B=Q,Q=0):(B=i,Q-=i),l=P[3]-B*P[2],h=F[3]-B*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],g=F[2]-N*F[1],w=A+H*P[1],q=j+H*F[1],X=D[0];X>0;)for(X<i?(k=X,X=0):(k=i,X-=i),U=w+X*P[0],M=q+X*F[0],u=P[1]-k*P[0],y=F[1]-k*F[0],K=0;K<V;K++){for(J=0;J<R;J++){for(W=0;W<z;W++){for($=0;$<B;$++){for(Y=0;Y<N;Y++){for(G=0;G<k;G++)ir=t.call(o,n[U],tr,[U,M],[r,e]),ir!==void 0&&(s[M]=a(ir)),U+=v,M+=p,tr+=1;U+=u,M+=y}U+=f,M+=g}U+=l,M+=h}U+=d,M+=b}U+=m,M+=S}}GP.exports=Tkr});var WP=c((wde,YP)=>{"use strict";var Okr=zr(),Ikr=Br();function Nkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr;for(ur=Okr(r.shape,r.strides,e.strides),z=ur.sh,M=ur.sx,G=ur.sy,i=Ikr(r.dtype,e.dtype),Y=r.offset,$=e.offset,n=r.data,s=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],B=$+vr*G[6],nr=z[5];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),p=M[6]-C*M[5],A=G[6]-C*G[5],j=T+nr*M[5],N=B+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),d=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),l=M[3]-P*M[2],b=G[3]-P*G[2],x=E+tr*M[2],O=D+tr*G[2],ir=z[1];ir>0;)for(ir<i?(V=ir,ir=0):(V=i,ir-=i),f=M[2]-V*M[1],h=G[2]-V*G[1],_=x+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],g=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(X=0;X<V;X++){for(K=0;K<R;K++)lr=t.call(o,n[W],fr,[W,J],[r,e]),lr!==void 0&&(s[J]=a(lr)),W+=v,J+=y,fr+=1;W+=u,J+=g}W+=f,J+=h}W+=l,J+=b}W+=d,J+=S}W+=m,J+=w}W+=p,J+=A}}YP.exports=Nkr});var KP=c((Sde,JP)=>{"use strict";var Dkr=zr(),kkr=Br();function Rkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br;for(hr=Dkr(r.shape,r.strides,e.strides),F=hr.sh,J=hr.sx,K=hr.sy,i=kkr(r.dtype,e.dtype),X=r.offset,H=e.offset,n=r.data,s=e.data,v=J[0],g=K[0],br=0,mr=F[7];mr>0;)for(mr<i?(W=mr,mr=0):(W=i,mr-=i),D=X+mr*J[7],P=H+mr*K[7],yr=F[6];yr>0;)for(yr<i?($=yr,yr=0):($=i,yr-=i),y=J[7]-$*J[6],x=K[7]-$*K[6],O=D+yr*J[6],V=P+yr*K[6],dr=F[5];dr>0;)for(dr<i?(Y=dr,dr=0):(Y=i,dr-=i),p=J[6]-Y*J[5],_=K[6]-Y*K[5],I=O+dr*J[5],R=V+dr*K[5],pr=F[4];pr>0;)for(pr<i?(G=pr,pr=0):(G=i,pr-=i),m=J[5]-G*J[4],A=K[5]-G*K[4],T=I+pr*J[4],z=R+pr*K[4],fr=F[3];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),d=J[4]-M*J[3],w=K[4]-M*K[3],j=T+fr*J[3],B=z+fr*K[3],lr=F[2];lr>0;)for(lr<i?(U=lr,lr=0):(U=i,lr-=i),l=J[3]-U*J[2],S=K[3]-U*K[2],q=j+lr*J[2],N=B+lr*K[2],ur=F[1];ur>0;)for(ur<i?(C=ur,ur=0):(C=i,ur-=i),f=J[2]-C*J[1],b=K[2]-C*K[1],E=q+ur*J[1],k=N+ur*K[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*K[0],u=J[1]-L*J[0],h=K[1]-L*K[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,n[Q],br,[Q,Z],[r,e]),qr!==void 0&&(s[Z]=a(qr)),Q+=v,Z+=g,br+=1;Q+=u,Z+=h}Q+=f,Z+=b}Q+=l,Z+=S}Q+=d,Z+=w}Q+=m,Z+=A}Q+=p,Z+=_}Q+=y,Z+=x}}JP.exports=Rkr});var HP=c((Ede,XP)=>{"use strict";var Bkr=zr(),zkr=Br();function Vkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or;for(_r=Bkr(r.shape,r.strides,e.strides),M=_r.sh,Z=_r.sx,rr=_r.sy,i=zkr(r.dtype,e.dtype),ar=r.offset,er=e.offset,n=r.data,s=e.data,v=Z[0],h=rr[0],Or=0,Ar=M[8];Ar>0;)for(Ar<i?(Q=Ar,Ar=0):(Q=i,Ar-=i),B=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),g=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=B+Er*Z[7],C=U+Er*rr[7],gr=M[6];gr>0;)for(gr<i?(X=gr,gr=0):(X=i,gr-=i),y=Z[7]-X*Z[6],E=rr[7]-X*rr[6],k=N+gr*Z[6],L=C+gr*rr[6],xr=M[5];xr>0;)for(xr<i?(K=xr,xr=0):(K=i,xr-=i),p=Z[6]-K*Z[5],x=rr[6]-K*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),d=Z[4]-W*Z[3],A=rr[4]-W*rr[3],I=O+qr*Z[3],V=P+qr*rr[3],hr=M[2];hr>0;)for(hr<i?($=hr,hr=0):($=i,hr-=i),l=Z[3]-$*Z[2],w=rr[3]-$*rr[2],T=I+hr*Z[2],R=V+hr*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],b=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(pr=0;pr<H;pr++){for(fr=0;fr<X;fr++){for(lr=0;lr<K;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,n[ir],Or,[ir,tr],[r,e]),jr!==void 0&&(s[tr]=a(jr)),ir+=v,tr+=h,Or+=1;ir+=u,tr+=b}ir+=f,tr+=S}ir+=l,tr+=w}ir+=d,tr+=A}ir+=m,tr+=_}ir+=p,tr+=x}ir+=y,tr+=E}ir+=g,tr+=q}}XP.exports=Vkr});var QP=c((Ade,ZP)=>{"use strict";var Pkr=zr(),Fkr=Br();function Lkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,H,Q,Z,rr,ar,er,ir,tr,or,sr,nr,vr,ur,lr,fr,pr,dr,yr,mr,hr,qr,br,xr,gr,Er,Ar,_r,jr,Or,Rr,Vr,Xr,te,Ne,sa,pt;for(Ne=Pkr(r.shape,r.strides,e.strides),W=Ne.sh,tr=Ne.sx,or=Ne.sy,i=Fkr(r.dtype,e.dtype),sr=r.offset,nr=e.offset,n=r.data,s=e.data,v=tr[0],b=or[0],pt=0,te=W[9];te>0;)for(te<i?(ir=te,te=0):(ir=i,te-=i),V=sr+te*tr[9],$=nr+te*or[9],Xr=W[8];Xr>0;)for(Xr<i?(er=Xr,Xr=0):(er=i,Xr-=i),h=tr[9]-er*tr[8],T=or[9]-er*or[8],R=V+Xr*tr[8],Y=$+Xr*or[8],Vr=W[7];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),g=tr[8]-ar*tr[7],j=or[8]-ar*or[7],z=R+Vr*tr[7],G=Y+Vr*or[7],Rr=W[6];Rr>0;)for(Rr<i?(rr=Rr,Rr=0):(rr=i,Rr-=i),y=tr[7]-rr*tr[6],q=or[7]-rr*or[6],B=z+Rr*tr[6],M=G+Rr*or[6],Or=W[5];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),p=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=B+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],x=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),d=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?(X=Ar,Ar=0):(X=i,Ar-=i),l=tr[3]-X*tr[2],A=or[3]-X*or[2],O=D+Ar*tr[2],F=L+Ar*or[2],Er=W[1];Er>0;)for(Er<i?(K=Er,Er=0):(K=i,Er-=i),f=tr[2]-K*tr[1],w=or[2]-K*or[1],I=O+Er*tr[1],P=F+Er*or[1],gr=W[0];gr>0;)for(gr<i?(J=gr,gr=0):(J=i,gr-=i),vr=I+gr*tr[0],ur=P+gr*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(hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(yr=0;yr<Q;yr++){for(dr=0;dr<H;dr++){for(pr=0;pr<X;pr++){for(fr=0;fr<K;fr++){for(lr=0;lr<J;lr++)sa=t.call(o,n[vr],pt,[vr,ur],[r,e]),sa!==void 0&&(s[ur]=a(sa)),vr+=v,ur+=b,pt+=1;vr+=u,ur+=S}vr+=f,ur+=w}vr+=l,ur+=A}vr+=d,ur+=_}vr+=m,ur+=x}vr+=p,ur+=E}vr+=y,ur+=q}vr+=g,ur+=j}vr+=h,ur+=T}}ZP.exports=Lkr});var eF=c((_de,rF)=>{"use strict";function Ckr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.accessors[0](r.data,i),0,[i,n],[r,e]);s!==void 0&&e.accessors[1](e.data,n,a(s))}rF.exports=Ckr});var tF=c((jde,aF)=>{"use strict";function Ukr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g;for(l=r.shape[0],u=r.strides[0],f=e.strides[0],d=r.offset,m=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],g=0,p=0;p<l;p++)y=t.call(o,s(i,d),g,[d,m],[r,e]),y!==void 0&&v(n,m,a(y)),d+=u,m+=f,g+=1}aF.exports=Ukr});var oF=c((Tde,iF)=>{"use strict";function Mkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x;for(m=r.shape,g=r.strides,h=e.strides,r.order==="row-major"?(p=m[1],y=m[0],u=g[1],f=g[0]-p*g[1],l=h[1],d=h[0]-p*h[1]):(p=m[0],y=m[1],u=g[0],f=g[1]-p*g[0],l=h[0],d=h[1]-p*h[0]),b=r.offset,S=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],x=0,A=0;A<y;A++){for(w=0;w<p;w++)_=t.call(o,s(i,b),x,[b,S],[r,e]),_!==void 0&&v(n,S,a(_)),b+=u,S+=l,x+=1;b+=f,S+=d}}iF.exports=Mkr});var nF=c((Ode,sF)=>{"use strict";function Gkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T;for(y=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(g=y[2],h=y[1],b=y[0],u=S[2],f=S[1]-g*S[2],l=S[0]-h*S[1],d=w[2],m=w[1]-g*w[2],p=w[0]-h*w[1]):(g=y[0],h=y[1],b=y[2],u=S[0],f=S[1]-g*S[0],l=S[2]-h*S[1],d=w[0],m=w[1]-g*w[0],p=w[2]-h*w[1]),A=r.offset,_=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],T=0,q=0;q<b;q++){for(E=0;E<h;E++){for(x=0;x<g;x++)j=t.call(o,s(i,A),T,[A,_],[r,e]),j!==void 0&&v(n,_,a(j)),A+=u,_+=d,T+=1;A+=f,_+=m}A+=l,_+=p}}sF.exports=Gkr});var uF=c((Ide,vF)=>{"use strict";function $kr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k;for(h=r.shape,_=r.strides,x=e.strides,r.order==="row-major"?(b=h[3],S=h[2],w=h[1],A=h[0],u=_[3],f=_[2]-b*_[3],l=_[1]-S*_[2],d=_[0]-w*_[1],m=x[3],p=x[2]-b*x[3],y=x[1]-S*x[2],g=x[0]-w*x[1]):(b=h[0],S=h[1],w=h[2],A=h[3],u=_[0],f=_[1]-b*_[0],l=_[2]-S*_[1],d=_[3]-w*_[2],m=x[0],p=x[1]-b*x[0],y=x[2]-S*x[1],g=x[3]-w*x[2]),E=r.offset,q=e.offset,i=r.data,n=e.data,s=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<b;j++)D=t.call(o,s(i,E),k,[E,q],[r,e]),D!==void 0&&v(n,q,a(D)),E+=u,q+=m,k+=1;E+=f,q+=p}E+=l,q+=y}E+=d,q+=g}}vF.exports=$kr});var lF=c((Nde,fF)=>{"use strict";function Ykr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R;for(S=r.shape,q=r.strides,j=e.strides,r.order==="row-major"?(w=S[4],A=S[3],_=S[2],x=S[1],E=S[0],u=q[4],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],m=q[0]-x*q[1],p=j[4],y=j[3]-w*j[4],g=j[2]-A*j[3],h=j[1]-_*j[2],b=j[0]-x*j[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],u=q[0],f=q[1]-w*q[0],l=q[2]-A*q[1],d=q[3]-_*q[2],m=q[4]-x*q[3],p=j[0],y=j[1]-w*j[0],g=j[2]-A*j[1],h=j[3]-_*j[2],b=j[4]-x*j[3]),T=r.offset,I=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],R=0,B=0;B<E;B++){for(N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(O=0;O<w;O++)z=t.call(o,s(i,T),R,[T,I],[r,e]),z!==void 0&&v(n,I,a(z)),T+=u,I+=p,R+=1;T+=f,I+=y}T+=l,I+=g}T+=d,I+=h}T+=m,I+=b}}fF.exports=Ykr});var dF=c((Dde,cF)=>{"use strict";function Wkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L;for(A=r.shape,I=r.strides,O=e.strides,r.order==="row-major"?(_=A[5],x=A[4],E=A[3],q=A[2],j=A[1],T=A[0],u=I[5],f=I[4]-_*I[5],l=I[3]-x*I[4],d=I[2]-E*I[3],m=I[1]-q*I[2],p=I[0]-j*I[1],y=O[5],g=O[4]-_*O[5],h=O[3]-x*O[4],b=O[2]-E*O[3],S=O[1]-q*O[2],w=O[0]-j*O[1]):(_=A[0],x=A[1],E=A[2],q=A[3],j=A[4],T=A[5],u=I[0],f=I[1]-_*I[0],l=I[2]-x*I[1],d=I[3]-E*I[2],m=I[4]-q*I[3],p=I[5]-j*I[4],y=O[0],g=O[1]-_*O[0],h=O[2]-x*O[1],b=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,n=e.data,s=r.accessors[0],v=e.accessors[1],L=0,P=0;P<T;P++){for(V=0;V<j;V++){for(R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++)F=t.call(o,s(i,D),L,[D,k],[r,e]),F!==void 0&&v(n,k,a(F)),D+=u,k+=y,L+=1;D+=f,k+=g}D+=l,k+=h}D+=d,k+=b}D+=m,k+=S}D+=p,k+=w}}cF.exports=Wkr});var yF=c((kde,pF)=>{"use strict";function Jkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G;for(x=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(E=x[6],q=x[5],j=x[4],T=x[3],I=x[2],O=x[1],D=x[0],u=k[6],f=k[5]-E*k[6],l=k[4]-q*k[5],d=k[3]-j*k[4],m=k[2]-T*k[3],p=k[1]-I*k[2],y=k[0]-O*k[1],g=N[6],h=N[5]-E*N[6],b=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=x[0],q=x[1],j=x[2],T=x[3],I=x[4],O=x[5],D=x[6],u=k[0],f=k[1]-E*k[0],l=k[2]-q*k[1],d=k[3]-j*k[2],m=k[4]-T*k[3],p=k[5]-I*k[4],y=k[6]-O*k[5],g=N[0],h=N[1]-E*N[0],b=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]),B=r.offset,z=e.offset,i=r.data,n=e.data,s=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(V=0;V<q;V++){for(R=0;R<E;R++)M=t.call(o,s(i,B),G,[B,z],[r,e]),M!==void 0&&v(n,z,a(M)),B+=u,z+=g,G+=1;B+=f,z+=h}B+=l,z+=b}B+=d,z+=S}B+=m,z+=w}B+=p,z+=A}B+=y,z+=_}}pF.exports=Jkr});var gF=c((Rde,mF)=>{"use strict";function Kkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,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],B=q[0],u=z[7],f=z[6]-j*z[7],l=z[5]-T*z[6],d=z[4]-I*z[5],m=z[3]-O*z[4],p=z[2]-D*z[3],y=z[1]-k*z[2],g=z[0]-N*z[1],h=R[7],b=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],x=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],B=q[7],u=z[0],f=z[1]-j*z[0],l=z[2]-T*z[1],d=z[3]-I*z[2],m=z[4]-O*z[3],p=z[5]-D*z[4],y=z[6]-k*z[5],g=z[7]-N*z[6],h=R[0],b=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],x=R[6]-k*R[5],E=R[7]-N*R[6]),V=r.offset,P=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],J=0,$=0;$<B;$++){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,s(i,V),J,[V,P],[r,e]),W!==void 0&&v(n,P,a(W)),V+=u,P+=h,J+=1;V+=f,P+=b}V+=l,P+=S}V+=d,P+=w}V+=m,P+=A}V+=p,P+=_}V+=y,P+=x}V+=g,P+=E}}mF.exports=Kkr});var bF=c((Bde,hF)=>{"use strict";function Xkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,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],B=T[3],z=T[2],R=T[1],V=T[0],u=P[8],f=P[7]-I*P[8],l=P[6]-O*P[7],d=P[5]-D*P[6],m=P[4]-k*P[5],p=P[3]-N*P[4],y=P[2]-B*P[3],g=P[1]-z*P[2],h=P[0]-R*P[1],b=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],x=F[3]-N*F[4],E=F[2]-B*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],B=T[5],z=T[6],R=T[7],V=T[8],u=P[0],f=P[1]-I*P[0],l=P[2]-O*P[1],d=P[3]-D*P[2],m=P[4]-k*P[3],p=P[5]-N*P[4],y=P[6]-B*P[5],g=P[7]-z*P[6],h=P[8]-R*P[7],b=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],x=F[5]-N*F[4],E=F[6]-B*F[5],q=F[7]-z*F[6],j=F[8]-R*F[7]),L=r.offset,C=e.offset,i=r.data,n=e.data,s=r.accessors[0],v=e.accessors[1],Q=0,X=0;X<V;X++){for(K=0;K<R;K++){for(J=0;J<z;J++){for(W=0;W<B;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,s(i,L),Q,[L,C],[r,e]),H!==void 0&&v(n,C,a(H)),L+=u,C+=b,Q+=1;L+=f,C+=S}L+=l,C+=w}L+=d,C+=A}L+=m,C+=_}L+=p,C+=x}L+=y,C+=E}L+=g,C+=q}L+=h,C+=j}}hF.exports=Xkr});var qF=c((zde,xF)=>{"use strict";function Hkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,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],B=O[6],z=O[5],R=O[4],V=O[3],P=O[2],F=O[1],L=O[0],u=C[9],f=C[8]-D*C[9],l=C[7]-k*C[8],d=C[6]-N*C[7],m=C[5]-B*C[6],p=C[4]-z*C[5],y=C[3]-R*C[4],g=C[2]-V*C[3],h=C[1]-P*C[2],b=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],x=U[5]-B*U[6],E=U[4]-z*U[5],q=U[3]-R*U[4],j=U[2]-V*U[3],T=U[1]-P*U[2],I=U[0]-F*U[1]):(D=O[0],k=O[1],N=O[2],B=O[3],z=O[4],R=O[5],V=O[6],P=O[7],F=O[8],L=O[9],u=C[0],f=C[1]-D*C[0],l=C[2]-k*C[1],d=C[3]-N*C[2],m=C[4]-B*C[3],p=C[5]-z*C[4],y=C[6]-R*C[5],g=C[7]-V*C[6],h=C[8]-P*C[7],b=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],x=U[4]-B*U[3],E=U[5]-z*U[4],q=U[6]-R*U[5],j=U[7]-V*U[6],T=U[8]-P*U[7],I=U[9]-F*U[8]),M=r.offset,G=e.offset,i=r.data,n=e.data,s=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<V;H++){for(X=0;X<R;X++){for(K=0;K<z;K++){for(J=0;J<B;J++){for(W=0;W<N;W++){for($=0;$<k;$++){for(Y=0;Y<D;Y++)ar=t.call(o,s(i,M),er,[M,G],[r,e]),ar!==void 0&&v(n,G,a(ar)),M+=u,G+=S,er+=1;M+=f,G+=w}M+=l,G+=A}M+=d,G+=_}M+=m,G+=x}M+=p,G+=E}M+=y,G+=q}M+=g,G+=j}M+=h,G+=T}M+=b,G+=I}}xF.exports=Hkr});var AF=c((Vde,EF)=>{"use strict";var Zkr=Wr(),wF=ia(),SF="throw";function Qkr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;for(d=r.shape,u=Zkr(d),i=r.data,n=e.data,m=r.strides,p=e.strides,y=r.offset,g=e.offset,s=r.order,v=e.order,f=r.accessors[0],l=e.accessors[1],w=0;w<u;w++)h=wF(d,m,y,s,w,SF),b=wF(d,p,g,v,w,SF),S=t.call(o,f(i,h),w,[h,b],[r,e]),S!==void 0&&l(n,b,a(S))}EF.exports=Qkr});var jF=c((Pde,_F)=>{"use strict";function rRr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.data[i],0,[i,n],[r,e]);s!==void 0&&(e.data[n]=a(s))}_F.exports=rRr});var OF=c((Fde,TF)=>{"use strict";function eRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p;for(u=r.shape[0],s=r.strides[0],v=e.strides[0],f=r.offset,l=e.offset,i=r.data,n=e.data,p=0,d=0;d<u;d++)m=t.call(o,i[f],p,[f,l],[r,e]),m!==void 0&&(n[l]=a(m)),f+=s,l+=v,p+=1}TF.exports=eRr});var NF=c((Lde,IF)=>{"use strict";function aRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A;for(l=r.shape,p=r.strides,y=e.strides,r.order==="row-major"?(d=l[1],m=l[0],s=p[1],v=p[0]-d*p[1],u=y[1],f=y[0]-d*y[1]):(d=l[0],m=l[1],s=p[0],v=p[1]-d*p[0],u=y[0],f=y[1]-d*y[0]),g=r.offset,h=e.offset,i=r.data,n=e.data,A=0,S=0;S<m;S++){for(b=0;b<d;b++)w=t.call(o,i[g],A,[g,h],[r,e]),w!==void 0&&(n[h]=a(w)),g+=s,h+=u,A+=1;g+=v,h+=f}}IF.exports=aRr});var kF=c((Cde,DF)=>{"use strict";function tRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q;for(m=r.shape,h=r.strides,b=e.strides,r.order==="row-major"?(p=m[2],y=m[1],g=m[0],s=h[2],v=h[1]-p*h[2],u=h[0]-y*h[1],f=b[2],l=b[1]-p*b[2],d=b[0]-y*b[1]):(p=m[0],y=m[1],g=m[2],s=h[0],v=h[1]-p*h[0],u=h[2]-y*h[1],f=b[0],l=b[1]-p*b[0],d=b[2]-y*b[1]),S=r.offset,w=e.offset,i=r.data,n=e.data,q=0,x=0;x<g;x++){for(_=0;_<y;_++){for(A=0;A<p;A++)E=t.call(o,i[S],q,[S,w],[r,e]),E!==void 0&&(n[w]=a(E)),S+=s,w+=f,q+=1;S+=v,w+=l}S+=u,w+=d}}DF.exports=tRr});var BF=c((Ude,RF)=>{"use strict";function iRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O;for(y=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(g=y[3],h=y[2],b=y[1],S=y[0],s=w[3],v=w[2]-g*w[3],u=w[1]-h*w[2],f=w[0]-b*w[1],l=A[3],d=A[2]-g*A[3],m=A[1]-h*A[2],p=A[0]-b*A[1]):(g=y[0],h=y[1],b=y[2],S=y[3],s=w[0],v=w[1]-g*w[0],u=w[2]-h*w[1],f=w[3]-b*w[2],l=A[0],d=A[1]-g*A[0],m=A[2]-h*A[1],p=A[3]-b*A[2]),_=r.offset,x=e.offset,i=r.data,n=e.data,O=0,T=0;T<S;T++){for(j=0;j<b;j++){for(q=0;q<h;q++){for(E=0;E<g;E++)I=t.call(o,i[_],O,[_,x],[r,e]),I!==void 0&&(n[x]=a(I)),_+=s,x+=l,O+=1;_+=v,x+=d}_+=u,x+=m}_+=f,x+=p}}RF.exports=iRr});var VF=c((Mde,zF)=>{"use strict";function oRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B;for(h=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(b=h[4],S=h[3],w=h[2],A=h[1],_=h[0],s=x[4],v=x[3]-b*x[4],u=x[2]-S*x[3],f=x[1]-w*x[2],l=x[0]-A*x[1],d=E[4],m=E[3]-b*E[4],p=E[2]-S*E[3],y=E[1]-w*E[2],g=E[0]-A*E[1]):(b=h[0],S=h[1],w=h[2],A=h[3],_=h[4],s=x[0],v=x[1]-b*x[0],u=x[2]-S*x[1],f=x[3]-w*x[2],l=x[4]-A*x[3],d=E[0],m=E[1]-b*E[0],p=E[2]-S*E[1],y=E[3]-w*E[2],g=E[4]-A*E[3]),q=r.offset,j=e.offset,i=r.data,n=e.data,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<b;T++)N=t.call(o,i[q],B,[q,j],[r,e]),N!==void 0&&(n[j]=a(N)),q+=s,j+=d,B+=1;q+=v,j+=m}q+=u,j+=p}q+=f,j+=y}q+=l,j+=g}}zF.exports=oRr});var FF=c((Gde,PF)=>{"use strict";function sRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P;for(S=r.shape,j=r.strides,T=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],x=S[2],E=S[1],q=S[0],s=j[5],v=j[4]-w*j[5],u=j[3]-A*j[4],f=j[2]-_*j[3],l=j[1]-x*j[2],d=j[0]-E*j[1],m=T[5],p=T[4]-w*T[5],y=T[3]-A*T[4],g=T[2]-_*T[3],h=T[1]-x*T[2],b=T[0]-E*T[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],s=j[0],v=j[1]-w*j[0],u=j[2]-A*j[1],f=j[3]-_*j[2],l=j[4]-x*j[3],d=j[5]-E*j[4],m=T[0],p=T[1]-w*T[0],y=T[2]-A*T[1],g=T[3]-_*T[2],h=T[4]-x*T[3],b=T[5]-E*T[4]),I=r.offset,O=e.offset,i=r.data,n=e.data,P=0,R=0;R<q;R++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)V=t.call(o,i[I],P,[I,O],[r,e]),V!==void 0&&(n[O]=a(V)),I+=s,O+=m,P+=1;I+=v,O+=p}I+=u,O+=y}I+=f,O+=g}I+=l,O+=h}I+=d,O+=b}}PF.exports=sRr});var CF=c(($de,LF)=>{"use strict";function nRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U;for(A=r.shape,O=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],x=A[5],E=A[4],q=A[3],j=A[2],T=A[1],I=A[0],s=O[6],v=O[5]-_*O[6],u=O[4]-x*O[5],f=O[3]-E*O[4],l=O[2]-q*O[3],d=O[1]-j*O[2],m=O[0]-T*O[1],p=D[6],y=D[5]-_*D[6],g=D[4]-x*D[5],h=D[3]-E*D[4],b=D[2]-q*D[3],S=D[1]-j*D[2],w=D[0]-T*D[1]):(_=A[0],x=A[1],E=A[2],q=A[3],j=A[4],T=A[5],I=A[6],s=O[0],v=O[1]-_*O[0],u=O[2]-x*O[1],f=O[3]-E*O[2],l=O[4]-q*O[3],d=O[5]-j*O[4],m=O[6]-T*O[5],p=D[0],y=D[1]-_*D[0],g=D[2]-x*D[1],h=D[3]-E*D[2],b=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,n=e.data,U=0,L=0;L<I;L++){for(F=0;F<T;F++){for(P=0;P<j;P++){for(V=0;V<q;V++){for(R=0;R<E;R++){for(z=0;z<x;z++){for(B=0;B<_;B++)C=t.call(o,i[k],U,[k,N],[r,e]),C!==void 0&&(n[N]=a(C)),k+=s,N+=p,U+=1;k+=v,N+=y}k+=u,N+=g}k+=f,N+=h}k+=l,N+=b}k+=d,N+=S}k+=m,N+=w}}LF.exports=nRr});var MF=c((Yde,UF)=>{"use strict";function vRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$;for(x=r.shape,N=r.strides,B=e.strides,r.order==="row-major"?(E=x[7],q=x[6],j=x[5],T=x[4],I=x[3],O=x[2],D=x[1],k=x[0],s=N[7],v=N[6]-E*N[7],u=N[5]-q*N[6],f=N[4]-j*N[5],l=N[3]-T*N[4],d=N[2]-I*N[3],m=N[1]-O*N[2],p=N[0]-D*N[1],y=B[7],g=B[6]-E*B[7],h=B[5]-q*B[6],b=B[4]-j*B[5],S=B[3]-T*B[4],w=B[2]-I*B[3],A=B[1]-O*B[2],_=B[0]-D*B[1]):(E=x[0],q=x[1],j=x[2],T=x[3],I=x[4],O=x[5],D=x[6],k=x[7],s=N[0],v=N[1]-E*N[0],u=N[2]-q*N[1],f=N[3]-j*N[2],l=N[4]-T*N[3],d=N[5]-I*N[4],m=N[6]-O*N[5],p=N[7]-D*N[6],y=B[0],g=B[1]-E*B[0],h=B[2]-q*B[1],b=B[3]-j*B[2],S=B[4]-T*B[3],w=B[5]-I*B[4],A=B[6]-O*B[5],_=B[7]-D*B[6]),z=r.offset,R=e.offset,i=r.data,n=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(V=0;V<E;V++)Y=t.call(o,i[z],$,[z,R],[r,e]),Y!==void 0&&(n[R]=a(Y)),z+=s,R+=y,$+=1;z+=v,R+=g}z+=u,R+=h}z+=f,R+=b}z+=l,R+=S}z+=d,R+=w}z+=m,R+=A}z+=p,R+=_}}UF.exports=vRr});var $F=c((Wde,GF)=>{"use strict";function uRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X;for(q=r.shape,R=r.strides,V=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],B=q[1],z=q[0],s=R[8],v=R[7]-j*R[8],u=R[6]-T*R[7],f=R[5]-I*R[6],l=R[4]-O*R[5],d=R[3]-D*R[4],m=R[2]-k*R[3],p=R[1]-N*R[2],y=R[0]-B*R[1],g=V[8],h=V[7]-j*V[8],b=V[6]-T*V[7],S=V[5]-I*V[6],w=V[4]-O*V[5],A=V[3]-D*V[4],_=V[2]-k*V[3],x=V[1]-N*V[2],E=V[0]-B*V[1]):(j=q[0],T=q[1],I=q[2],O=q[3],D=q[4],k=q[5],N=q[6],B=q[7],z=q[8],s=R[0],v=R[1]-j*R[0],u=R[2]-T*R[1],f=R[3]-I*R[2],l=R[4]-O*R[3],d=R[5]-D*R[4],m=R[6]-k*R[5],p=R[7]-N*R[6],y=R[8]-B*R[7],g=V[0],h=V[1]-j*V[0],b=V[2]-T*V[1],S=V[3]-I*V[2],w=V[4]-O*V[3],A=V[5]-D*V[4],_=V[6]-k*V[5],x=V[7]-N*V[6],E=V[8]-B*V[7]),P=r.offset,F=e.offset,i=r.data,n=e.data,X=0,J=0;J<z;J++){for(W=0;W<B;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++)K=t.call(o,i[P],X,[P,F],[r,e]),K!==void 0&&(n[F]=a(K)),P+=s,F+=g,X+=1;P+=v,F+=h}P+=u,F+=b}P+=f,F+=S}P+=l,F+=w}P+=d,F+=A}P+=m,F+=_}P+=p,F+=x}P+=y,F+=E}}GF.exports=uRr});var WF=c((Jde,YF)=>{"use strict";function fRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F,L,C,U,M,G,Y,$,W,J,K,X,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],B=T[4],z=T[3],R=T[2],V=T[1],P=T[0],s=F[9],v=F[8]-I*F[9],u=F[7]-O*F[8],f=F[6]-D*F[7],l=F[5]-k*F[6],d=F[4]-N*F[5],m=F[3]-B*F[4],p=F[2]-z*F[3],y=F[1]-R*F[2],g=F[0]-V*F[1],h=L[9],b=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],x=L[3]-B*L[4],E=L[2]-z*L[3],q=L[1]-R*L[2],j=L[0]-V*L[1]):(I=T[0],O=T[1],D=T[2],k=T[3],N=T[4],B=T[5],z=T[6],R=T[7],V=T[8],P=T[9],s=F[0],v=F[1]-I*F[0],u=F[2]-O*F[1],f=F[3]-D*F[2],l=F[4]-k*F[3],d=F[5]-N*F[4],m=F[6]-B*F[5],p=F[7]-z*F[6],y=F[8]-R*F[7],g=F[9]-V*F[8],h=L[0],b=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],x=L[6]-B*L[5],E=L[7]-z*L[6],q=L[8]-R*L[7],j=L[9]-V*L[8]),C=r.offset,U=e.offset,i=r.data,n=e.data,rr=0,Q=0;Q<P;Q++){for(H=0;H<V;H++){for(X=0;X<R;X++){for(K=0;K<z;K++){for(J=0;J<B;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&&(n[U]=a(Z)),C+=s,U+=h,rr+=1;C+=v,U+=b}C+=u,U+=S}C+=f,U+=w}C+=l,U+=A}C+=d,U+=_}C+=m,U+=x}C+=p,U+=E}C+=y,U+=q}C+=g,U+=j}}YF.exports=fRr});var HF=c((Kde,XF)=>{"use strict";var lRr=Wr(),JF=ia(),KF="throw";function cRr(r,e,a,t,o){var i,n,s,v,u,f,l,d,m,p,y,g,h,b;for(f=r.shape,u=lRr(f),i=r.data,n=e.data,l=r.strides,d=e.strides,m=r.offset,p=e.offset,s=r.order,v=e.order,b=0;b<u;b++)y=JF(f,l,m,s,b,KF),g=JF(f,d,p,v,b,KF),h=t.call(o,i[y],b,[y,g],[r,e]),h!==void 0&&(n[g]=a(h))}XF.exports=cRr});var tL=c((Xde,aL)=>{"use strict";var ZF=xa(),QF=Za(),rL=Wt(),dRr=bP(),pRr=qP(),yRr=SP(),mRr=AP(),gRr=jP(),hRr=OP(),bRr=NP(),xRr=kP(),qRr=BP(),wRr=VP(),SRr=FP(),ERr=CP(),ARr=MP(),_Rr=$P(),jRr=WP(),TRr=KP(),ORr=HP(),IRr=QP(),NRr=eF(),DRr=tF(),kRr=oF(),RRr=nF(),BRr=uF(),zRr=lF(),VRr=dF(),PRr=yF(),FRr=gF(),LRr=bF(),CRr=qF(),URr=AF(),MRr=jF(),GRr=OF(),$Rr=NF(),YRr=kF(),WRr=BF(),JRr=VF(),KRr=FF(),XRr=CF(),HRr=MF(),ZRr=$F(),QRr=WF(),rBr=HF(),_i=[MRr,GRr,$Rr,YRr,WRr,JRr,KRr,XRr,HRr,ZRr,QRr],So=[NRr,DRr,kRr,RRr,BRr,zRr,VRr,PRr,FRr,LRr,CRr],eBr=[wRr,SRr,ERr,ARr,_Rr,jRr,TRr,ORr,IRr],aBr=[dRr,pRr,yRr,mRr,gRr,hRr,bRr,xRr,qRr],eL=_i.length-1;function tBr(r,e,a,t){var o,i,n,s,v,u,f,l,d,m,p,y,g,h,b,S,w;if(h=rL(r[0]),b=rL(r[1]),s=h.shape,v=b.shape,o=s.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 h.accessorProtocol||b.accessorProtocol?So[o](h,b,e,a,t):_i[o](h,b,e,a,t);for(l=1,g=0,w=0;w<o;w++){if(S=s[w],S!==v[w])throw new Error("invalid arguments. Arrays must have the same shape.");l*=S,S===1&&(g+=1)}if(l!==0){if(o===1)return h.accessorProtocol||b.accessorProtocol?So[o](h,b,e,a,t):_i[o](h,b,e,a,t);if(d=h.strides,m=b.strides,g===o-1){for(w=0;w<o&&s[w]===1;w++);return h.shape=[s[w]],b.shape=h.shape,h.strides=[d[w]],b.strides=[m[w]],h.accessorProtocol||b.accessorProtocol?So[1](h,b,e,a,t):_i[1](h,b,e,a,t)}if(u=ZF(d),f=ZF(m),u!==0&&f!==0&&u===f){if(i=QF(s,d,h.offset),n=QF(v,m,b.offset),l===i[1]-i[0]+1&&l===n[1]-n[0]+1)return u===1?p=i[0]:p=i[1],f===1?y=n[0]:y=n[1],h.shape=[l],b.shape=h.shape,h.strides=[u],b.strides=[f],h.offset=p,b.offset=y,h.accessorProtocol||b.accessorProtocol?So[1](h,b,e,a,t):_i[1](h,b,e,a,t);if(o<=eL)return h.accessorProtocol||b.accessorProtocol?So[o](h,b,e,a,t):_i[o](h,b,e,a,t)}if(o<=eL)return h.accessorProtocol||b.accessorProtocol?aBr[o-2](h,b,e,a,t):eBr[o-2](h,b,e,a,t);if(h.accessorProtocol||b.accessorProtocol)return URr(h,b,e,a,t);rBr(h,b,e,a,t)}}aL.exports=tBr});var oL=c((Hde,iL)=>{"use strict";var iBr=tL();iL.exports=iBr});var nL=c((Zde,sL)=>{"use strict";var oBr=Os(),sBr=Wu(),nBr=lo(),vBr=Cu(),uBr=Ds(),fBr=ks(),lBr=Is(),cBr=Uu(),dBr=di(),ft=Oa(),pBr=cr(),yBr={floating_point:[oBr,ft.get("dtypes.floating_point")],real_floating_point:[sBr,ft.get("dtypes.real_floating_point")],complex_floating_point:[nBr,ft.get("dtypes.complex_floating_point")],integer:[vBr,ft.get("dtypes.integer")],signed_integer:[uBr,ft.get("dtypes.signed_integer")],unsigned_integer:[fBr,ft.get("dtypes.unsigned_integer")],real:[lBr,ft.get("dtypes.real")],numeric:[cBr,ft.get("dtypes.numeric")]},mBr=ft.get("dtypes.default");function gBr(r,e){var a;if(e==="default")return mBr;if(e==="same"||e==="promoted")return r;if(e==="bool")throw new Error("not implemented");if(a=yBr[e],a===void 0){if(dBr(e))return e;throw new TypeError(pBr("invalid argument. Second argument must be a supported data type policy. Value: `%s`.",e))}return a[0](r)?r:a[1]}sL.exports=gBr});var uL=c((Qde,vL)=>{"use strict";var hBr=nL();vL.exports=hBr});var lL=c((r0e,fL)=>{"use strict";var bBr=Be(),xBr=Me(),qBr=Na(),wBr=cr(),SBr=ra(),EBr=Wr();function ABr(r,e,a){var t,o,i,n;if(t=e.length,t>0?(i=EBr(e),n=bBr(e,a)):(i=1,n=[0]),o=qBr(r,i),o===null)throw new TypeError(wBr("invalid argument. First argument must be a recognized data type. Value: `%s`.",r));return new SBr(r,o,e,n,xBr(e,n),a)}fL.exports=ABr});var dL=c((e0e,cL)=>{"use strict";var _Br=lL();cL.exports=_Br});var yL=c((a0e,pL)=>{"use strict";var jBr=Be(),TBr=Me(),OBr=Na(),IBr=Wr(),NBr=Ye(),DBr=_e(),kBr=oa(),RBr=cr();function BBr(r){var e,a,t,o,i,n,s;if(s=NBr(r),i=DBr(r,!0),o=kBr(r),e=i.length,e>0?(a=IBr(i),n=jBr(i,o)):(a=1,n=[0]),t=OBr(s,a),t===null)throw new TypeError(RBr("invalid argument. First argument must have a recognized data type. Value: `%s`.",s));return new r.constructor(s,t,i,n,TBr(i,n),o)}pL.exports=BBr});var gL=c((t0e,mL)=>{"use strict";var zBr=yL();mL.exports=zBr});var bL=c((i0e,hL)=>{"use strict";var Sr=It(),wr={};Sr(wr,"assert",t_());Sr(wr,"assign",Xu());Sr(wr,"binaryLoopOrder",Vj());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",Na());Sr(wr,"bufferCtors",no());Sr(wr,"bufferDataType",ws());Sr(wr,"bufferDataTypeEnum",bT());Sr(wr,"bytesPerElement",Ha());Sr(wr,"char2dtype",NT());Sr(wr,"clampIndex",us());Sr(wr,"ndarray",ra());Sr(wr,"data",vt());Sr(wr,"dtype",Ye());Sr(wr,"dtypeChar",af());Sr(wr,"dtypeDesc",PT());Sr(wr,"dtypeEnum2Str",cs());Sr(wr,"dtypeResolveEnum",sf());Sr(wr,"dtypeResolveStr",Ia());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",ot());Sr(wr,"ind2sub",Si());Sr(wr,"iterationOrder",xa());Sr(wr,"maxViewBufferIndex",TD());Sr(wr,"maybeBroadcastArray",wf());Sr(wr,"maybeBroadcastArrays",zD());Sr(wr,"metaDataProps",LD());Sr(wr,"minViewBufferIndex",GD());Sr(wr,"minmaxViewBufferIndex",Za());Sr(wr,"ndarraylike2ndarray",JD());Sr(wr,"ndarraylike2object",Wt());Sr(wr,"ndims",Ba());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",Ya());Sr(wr,"order",oa());Sr(wr,"outputPolicyEnum2Str",Us());Sr(wr,"outputPolicyResolveEnum",nB());Sr(wr,"outputPolicyResolveStr",lB());Sr(wr,"outputPolicyStr2Enum",Ms());Sr(wr,"prependSingletonDimensions",bB());Sr(wr,"removeSingletonDimensions",jB());Sr(wr,"reverse",NB());Sr(wr,"reverseDimension",Fs());Sr(wr,"serializeMetaData",FB());Sr(wr,"shape",_e());Sr(wr,"shape2strides",Be());Sr(wr,"singletonDimensions",MB());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",Rt());Sr(wr,"sub2ind",Bf());Sr(wr,"ndarray2array",zf());Sr(wr,"transpose",Oz());Sr(wr,"unary",gP());Sr(wr,"unaryBy",oL());Sr(wr,"unaryLoopOrder",zr());Sr(wr,"unaryOutputDataType",uL());Sr(wr,"unaryBlockSize",Br());Sr(wr,"vind2bind",ia());Sr(wr,"wrapIndex",fs());Sr(wr,"zeros",dL());Sr(wr,"zerosLike",gL());hL.exports=wr});var qL=c((o0e,xL)=>{"use strict";var VBr=se(),PBr=De(),FBr=me().isPrimitive,Eo=qt(),LBr=Da(),CBr=ie(),UBr=Ga(),MBr=xt(),GBr=$a(),$Br=st(),Ao=cr();function YBr(r,e){var a,t,o,i,n,s,v,u,f;if(!VBr(r))throw new TypeError(Ao("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!PBr(e))throw new TypeError(Ao("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(n=e.length,o=CBr(r),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],u=0;u<n;u++)a.push(0);for(i=UBr(r),u=n-1;u>=0;u--)if(f=s-n+u,!(f<0)){if(v=o[f],t=e[u],!FBr(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(LBr(r),$Br(r),Eo(e),a,MBr(r),GBr(r),{readonly:!0})}xL.exports=YBr});var $s=c((s0e,wL)=>{"use strict";var WBr=qL();wL.exports=WBr});var AL=c((n0e,EL)=>{"use strict";var JBr=se(),KBr=ze(),XBr=bi(),HBr=$s(),ZBr=ie(),SL=cr();function QBr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(JBr(r))t=[r];else if(KBr(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(n=t.length,e=[],s=0;s<n;s++)try{e.push(ZBr(t[s]))}catch{throw new TypeError(SL("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=XBr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push(HBr(t[s],i));return o}EL.exports=QBr});var Vf=c((v0e,_L)=>{"use strict";var rzr=AL();_L.exports=rzr});var Pf=c((u0e,jL)=>{"use strict";var ezr=ue().isPrimitive;function azr(r){return ezr(r)&&r>0}jL.exports=azr});var Ff=c((f0e,TL)=>{"use strict";var tzr=ue().isObject;function izr(r){return tzr(r)&&r.valueOf()>0}TL.exports=izr});var IL=c((l0e,OL)=>{"use strict";var ozr=Pf(),szr=Ff();function nzr(r){return ozr(r)||szr(r)}OL.exports=nzr});var Ys=c((c0e,DL)=>{"use strict";var NL=Tr(),Lf=IL(),vzr=Pf(),uzr=Ff();NL(Lf,"isPrimitive",vzr);NL(Lf,"isObject",uzr);DL.exports=Lf});var RL=c((d0e,kL)=>{"use strict";var fzr=Ho(),lzr=Fe(),czr=fzr(lzr);kL.exports=czr});var zL=c((p0e,BL)=>{"use strict";function dzr(r,e,a,t,o,i,n,s,v){var u,f,l,d;for(u=i,l=0;l<r;l++){for(f=v,d=0;d<e&&a[u+d*o]===n[f];d++)f+=s;if(d===e)return l;u+=t}return-1}BL.exports=dzr});var CL=c((y0e,LL)=>{"use strict";var VL=me().isPrimitive,pzr=Ys(),yzr=ue().isPrimitive,mzr=RL(),gzr=Fe(),PL=De(),hzr=se(),St=cr(),bzr=Da(),FL=sf(),xzr=zL();function qzr(r){var e,a;for(e=[],a=0;a<r.length;a++)e.push(FL(r[a]));return e}function wzr(r,e,a,t,o,i){var n,s,v;if(gzr(r))v=r;else if(!mzr(r))throw new TypeError(St("invalid argument. First argument must be either a function or an array of functions. Value: `%s`.",r));if(!PL(e))throw new TypeError(St("invalid argument. Second argument must be an array-like object. Value: `%s`.",e));if(!PL(a)&&a!==null)throw new TypeError(St("invalid argument. Third argument must be an array-like object or null. Value: `%s`.",a));if(!pzr(t))throw new TypeError(St("invalid argument. Fourth argument must be a positive integer. Value: `%s`.",t));if(!VL(o))throw new TypeError(St("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!VL(i))throw new TypeError(St("invalid argument. Sixth argument must be a nonnegative integer. Value: `%s`.",i));if(n=o+i,n===0)throw new Error("invalid arguments. Interface must accept at least one input and/or output ndarray. Based on the provided arguments, `nin+nout` equals `0`.");if(t!==n)throw new Error("invalid arguments. Fourth argument does not equal the number of input and output ndarrays.");if(v){if(s=e.length/n,!yzr(s))throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.")}else if(s=r.length,e.length!==s*n)throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.");if(a&&a.length!==s)throw new Error("invalid argument. The third argument must have the same number of elements as the first argument.");return e=qzr(e),u;function u(){var f,l,d,m,p,y,g;if(d=arguments.length,d!==t)throw d<t?new Error("invalid invocation. Insufficient arguments."):new Error("invalid invocation. Too many arguments.");for(f=[],l=[],g=0;g<t;g++){if(p=arguments[g],!hzr(p))throw g<o?new TypeError(St("invalid argument. Input array must be an ndarray-like object. Value: `%s`.",p)):new TypeError(St("invalid argument. Output array must be an ndarray-like object. Value: `%s`.",p));f.push(p),l.push(FL(bzr(p)))}if(m=xzr(s,n,e,n,1,0,l,1,0),m<0)throw new TypeError("invalid arguments. Unable to resolve an ndarray function supporting the provided array argument data types.");if(v?y=v:y=r[m],a?y(f,a[m]):y(f),i===1)return f[n-1];if(i!==0)return f.slice(o)}}LL.exports=wzr});var ML=c((m0e,UL)=>{"use strict";var Szr=CL();UL.exports=Szr});var JL=c((g0e,WL)=>{"use strict";var Ezr=oe(),Ws=Jr(),Azr=Xo(),_zr=Be(),jzr=Me(),Tzr=go(),Ozr=Ma(),Izr=Wr(),Nzr=da(),YL=Oa(),Cf=cr(),GL=YL.get("dtypes.default"),$L=YL.get("order");function Dzr(r){var e,a,t,o,i,n,s,v,u;if(i={},arguments.length>1){if(e=arguments[1],!Ezr(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(Azr(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(s=Izr(u),s!==s||s<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=_zr(u,t)}else s=1,v=[0];return a==="binary"?n=Ozr(s):n=Tzr(s,a),new Nzr(a,n,u,v,jzr(u,v),t,i)}WL.exports=Dzr});var XL=c((h0e,KL)=>{"use strict";var kzr=JL();KL.exports=kzr});var eC=c((b0e,rC)=>{"use strict";var Rzr=se(),Bzr=oe(),zzr=Ut().primitives,_o=Jr(),Vzr=Be(),Pzr=Me(),Fzr=Wr(),HL=Da(),ZL=ie(),QL=$a(),Lzr=da(),Czr=go(),Uzr=Ma(),Uf=cr();function Mzr(r){var e,a,t,o,i,n,s,v,u;if(!Rzr(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],!Bzr(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]),!zzr(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?(s=Fzr(u),v=Vzr(u,t)):(s=1,v=[0]),a==="binary"?n=Uzr(s):n=Czr(s,a),new Lzr(a,n,u,v,Pzr(u,v),t,i)}rC.exports=Mzr});var tC=c((x0e,aC)=>{"use strict";var Gzr=eC();aC.exports=Gzr});var oC=c((q0e,iC)=>{"use strict";var $zr=eval;iC.exports=$zr});var nC=c((w0e,sC)=>{"use strict";var Yzr=oC();function Wzr(){var r;try{Yzr('"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=Wzr});var uC=c((S0e,vC)=>{"use strict";var Jzr=nC();vC.exports=Jzr});var lC=c((E0e,fC)=>{"use strict";var Kzr=typeof Proxy>"u"?null:Proxy;fC.exports=Kzr});var dC=c((A0e,cC)=>{"use strict";function Xzr(r){return r}cC.exports=Xzr});var yC=c((_0e,pC)=>{"use strict";var Hzr=uC(),Zzr=lC(),Qzr=dC(),Mf;Hzr()?Mf=Zzr:Mf=Qzr;pC.exports=Mf});var gC=c((j0e,mC)=>{"use strict";var rVr=typeof String.prototype.trim<"u";mC.exports=rVr});var Gf=c((T0e,hC)=>{"use strict";var eVr=String.prototype.trim;hC.exports=eVr});var wC=c((O0e,qC)=>{"use strict";var bC=Gf(),aVr=`
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 tVr(){return bC.call(aVr)===""&&bC.call(xC)===xC}qC.exports=tVr});var EC=c((I0e,SC)=>{"use strict";var iVr=Qa(),oVr=/^[\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 sVr(r){return iVr(r,oVr,"$1")}SC.exports=sVr});var _C=c((N0e,AC)=>{"use strict";var nVr=Gf();function vVr(r){return nVr.call(r)}AC.exports=vVr});var Et=c((D0e,jC)=>{"use strict";var uVr=gC(),fVr=wC(),lVr=EC(),cVr=_C(),$f;uVr&&fVr()?$f=cVr:$f=lVr;jC.exports=$f});var IC=c((k0e,OC)=>{"use strict";var dVr=Et(),pVr=Pe(),Yf="Slice(",TC=3,yVr=/\s*,\s*/,mVr=/^-?[0-9]+$/;function gVr(r){var e,a,t,o,i;if(r.substring(0,Yf.length)!==Yf||(t=r.length-1,r[t]!==")")||(r=dVr(r.substring(Yf.length,t)),r=r.split(yVr),r.length!==TC))return null;for(e=[],i=0;i<TC;i++){if(o=r[i],o==="null")a=null;else if(mVr.test(o))a=parseInt(o,10);else return null;e.push(a)}return new pVr(e[0],e[1],e[2])}OC.exports=gVr});var Js=c((R0e,NC)=>{"use strict";var hVr=IC();NC.exports=hVr});var kC=c((B0e,DC)=>{"use strict";var bVr=Et(),xVr=Js(),qVr=Ja(),wVr=ge(),Wf="MultiSlice(",SVr=/\s*,\s*/,EVr=/^-?[0-9]+$/;function AVr(r){var e,a,t,o,i;if(r.substring(0,Wf.length)!==Wf||(t=r.length-1,r[t]!==")"))return null;if(r=bVr(r.substring(Wf.length,t)),r=r.split(SVr),t=r.length,t===1&&r[0]==="")return new qVr;for(e=[],i=0;i<t;i++){if(o=r[i],o[0]==="S"){if(o=r.slice(i,i+3).join(","),a=xVr(o),a===null)return null;i+=2}else if(o==="null")a=null;else if(EVr.test(o))a=parseInt(o,10);else return null;e.push(a)}return wVr(e)}DC.exports=AVr});var jo=c((z0e,RC)=>{"use strict";var _Vr=kC();RC.exports=_Vr});var zC=c((V0e,BC)=>{"use strict";var jVr=/(?:\s*-\s*)(?=\d+)(\d+)$/;BC.exports=jVr});var PC=c((P0e,VC)=>{"use strict";var TVr=/(?:\s*\/\s*)(?=\d*\.?\d+)(\d*\.?\d+)$/;VC.exports=TVr});var CC=c((F0e,LC)=>{"use strict";var FC=Ze(),OVr=zC(),IVr=PC();function NVr(r,e,a,t){var o;if(r==="end")return e;if(o=r.match(OVr),o){if(r=e-parseInt(o[1],10),r<0){if(t)return-2;r=0}return r}return o=r.match(IVr),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=NVr});var MC=c((L0e,UC)=>{"use strict";var DVr=/\s*:\s*/;UC.exports=DVr});var $C=c((C0e,GC)=>{"use strict";var kVr=/^[-+]?[0-9]+$/;GC.exports=kVr});var WC=c((U0e,YC)=>{"use strict";var RVr=/^end/;YC.exports=RVr});var KC=c((M0e,JC)=>{"use strict";function BVr(){return{code:"ERR_SLICE_INVALID_SUBSEQUENCE"}}JC.exports=BVr});var HC=c((G0e,XC)=>{"use strict";function zVr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}XC.exports=zVr});var QC=c(($0e,ZC)=>{"use strict";function VVr(){return{code:"ERR_SLICE_INVALID_INCREMENT"}}ZC.exports=VVr});var iU=c((Y0e,tU)=>{"use strict";var rU=Pe(),PVr=Et(),eU=CC(),FVr=MC(),Jf=$C(),aU=WC(),ji=KC(),Jt=HC(),LVr=QC();function CVr(r,e,a){var t,o,i;if(t=PVr(r).split(FVr),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 LVr();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?Jt():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 Jt();i=0}}else if(i>=e){if(a)return Jt();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?Jt():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 Jt();i=0}else{if(a&&i<-1)return Jt();i=null}}else if(i>e){if(a)return Jt();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=CVr});var sU=c((W0e,oU)=>{"use strict";var UVr=iU();oU.exports=UVr});var vU=c((J0e,nU)=>{"use strict";function MVr(){return{code:"ERR_SLICE_INVALID_ELLIPSIS"}}nU.exports=MVr});var fU=c((K0e,uU)=>{"use strict";function GVr(){return{code:"ERR_SLICE_INSUFFICIENT_DIMENSIONS"}}uU.exports=GVr});var cU=c((X0e,lU)=>{"use strict";function $Vr(){return{code:"ERR_SLICE_TOO_MANY_DIMENSIONS"}}lU.exports=$Vr});var pU=c((H0e,dU)=>{"use strict";function YVr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}dU.exports=YVr});var mU=c((Z0e,yU)=>{"use strict";var WVr=/\s*,\s*/;yU.exports=WVr});var hU=c((Q0e,gU)=>{"use strict";var JVr=/^[-+]?[0-9]+$/;gU.exports=JVr});var qU=c((rpe,xU)=>{"use strict";var KVr=Et(),XVr=Pe(),HVr=ge(),ZVr=sU(),QVr=vU(),rPr=fU(),ePr=cU(),bU=pU(),aPr=mU(),tPr=hU();function iPr(r,e,a){var t,o,i,n,s,v,u,f,l,d;for(s=e.length,t=KVr(r).split(aPr),v=t.length,i=!1,o=[],l=0,f=0;f<v;f++){if(u=t[f],u==="..."){if(i)return QVr();for(i=!0,d=0;d<s-v+1;d++)o.push(new XVr(0,e[l],1)),l+=1;continue}if(n=e[l],tPr.test(u)){if(u=parseInt(u,10),a){if(u<0){if(n+u<0)return bU()}else if(u>=n)return bU()}l+=1}else{if(u=ZVr(u,n,a),u.code)return u;l+=1}o.push(u)}return o.length!==s?o.length<s?rPr():ePr():HVr(o)}xU.exports=iPr});var Ks=c((epe,wU)=>{"use strict";var oPr=qU();wU.exports=oPr});var Kf=c((ape,SU)=>{"use strict";var sPr=/^-?[0-9]+$/;SU.exports=sPr});var Xf=c((tpe,EU)=>{"use strict";var nPr=/:/;EU.exports=nPr});var _U=c((ipe,AU)=>{"use strict";var vPr=Et(),uPr=Qa(),Hf=Ja(),fPr=jo(),lPr=Ks(),cPr=Js(),Kt=cr(),dPr=Kf(),pPr=Xf();function yPr(r,e){var a,t,o,i;if(t=vPr(e),o=t[0],o==="S"){if(i=cPr(e),i===null)throw new Error(Kt("invalid operation. Unsupported slice operation. Value: `%s`.",e));i=new Hf(i)}else if(o==="M"){if(i=fPr(t),i===null)throw new Error(Kt("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(dPr.test(t))i=parseInt(t,10),i=new Hf(i);else if(pPr.test(t)){if(a=r.shape,i=lPr(t,a,!0),i.code)throw i.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(Kt("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(Kt("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(Kt("invalid operation. Unsupported slice operation. Value: `%s`.",e)):new RangeError(Kt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",a.join(","),uPr(t,/\.\.\.,/,"").split(",").length))}else if(t.length===0||t==="...")i=new Hf;else throw new Error(Kt("invalid operation. Unsupported slice operation. Value: `%s`.",e));return i}AU.exports=yPr});var IU=c((ope,OU)=>{"use strict";var mPr=Et(),gPr=Qa(),jU=Ja(),hPr=jo(),TU=Ks(),bPr=Js(),At=cr(),xPr=Kf();function qPr(r,e,a){var t,o,i,n;if(o=mPr(e),i=o[0],i==="S"){if(n=bPr(e),n===null)throw new Error(At("invalid operation. Unsupported slice operation. Value: `%s`.",e));n=new jU(n)}else if(i==="M"){if(n=hPr(o),n===null)throw new Error(At("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(xPr.test(o))n=parseInt(o,10),n=new jU(n);else if(o.length>0){if(t=r.shape,n=TU(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(At("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(At("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(At("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(At("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),gPr(o,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(At("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=TU(o,t,!1)}}}else throw new RangeError(At("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),0));return n}OU.exports=qPr});var DU=c((spe,NU)=>{"use strict";var Xs=Qa(),wPr=jo();function SPr(r){return r=Xs(r,/^,/,"null,"),r=Xs(r,/,$/,",null"),r=Xs(r,/,(?=,)/g,",null"),r=Xs(r,/undefined/g,"null"),wPr("MultiSlice("+r+")")}NU.exports=SPr});var RU=c((npe,kU)=>{"use strict";var EPr=DU();kU.exports=EPr});var VU=c((vpe,zU)=>{"use strict";var APr=Et(),_Pr=jo(),BU=Ks(),jPr=RU(),Ti=cr(),TPr=Xf();function OPr(r,e,a){var t,o,i,n;if(o=APr(e),i=o[0],i==="M"){if(n=_Pr(o),n===null)throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(TPr.test(o)||o==="..."){if(t=r.shape,n=BU(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Ti("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Ti("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Ti("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=BU(o,t,!1)}}}else if(n=jPr(o),n===null)throw new Error(Ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));return n}zU.exports=OPr});var FU=c((upe,PU)=>{"use strict";var IPr=typeof Object.getOwnPropertyNames<"u";PU.exports=IPr});var UU=c((fpe,CU)=>{"use strict";var LU=Dt(),NPr=LU.getOwnPropertyNames;function DPr(r){return NPr(LU(r))}CU.exports=DPr});var GU=c((lpe,MU)=>{"use strict";var kPr=Dt(),RPr=qa();function BPr(r){return RPr(kPr(r))}MU.exports=BPr});var YU=c((cpe,$U)=>{"use strict";var zPr=FU(),VPr=UU(),PPr=GU(),Zf;zPr?Zf=VPr:Zf=PPr;$U.exports=Zf});var KU=c((dpe,JU)=>{"use strict";var FPr=Gu(),LPr=YU(),CPr=kt(),UPr=Dt();function WU(r,e){var a;for(a=0;a<r.length;a++)if(r[a]===e)return!0;return!1}function MPr(r){var e,a,t,o;if(r==null)return[];a=UPr(r),e=[];do{for(t=LPr(a),o=0;o<t.length;o++)WU(e,t[o])===!1&&e.push(t[o]);for(t=FPr(a),o=0;o<t.length;o++)WU(e,t[o])===!1&&e.push(t[o]);a=CPr(a)}while(a);return e}JU.exports=MPr});var HU=c((ppe,XU)=>{"use strict";var GPr=KU();XU.exports=GPr});var Qf=c((ype,ZU)=>{"use strict";var $Pr=HU(),YPr=Ve().factory,WPr=da(),JPr=Oa(),KPr=YPr($Pr(new WPr("generic",[0],[],[0],0,JPr.get("order"))));ZU.exports=KPr});var rM=c((mpe,QU)=>{"use strict";var XPr=Fe();function HPr(r,e,a){var t=r[e];if(XPr(t))return o;return t;function o(){var i,n;for(i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);return t.apply(this===a?r:this,i)}}QU.exports=HPr});var rl=c((gpe,eM)=>{"use strict";var ZPr=Qa();function QPr(r){return ZPr(r,/^invalid argument/,"invalid operation")}eM.exports=QPr});var tM=c((hpe,aM)=>{"use strict";var rFr=kt(),eFr=ye();function aFr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof Error)return!0;for(;r;){if(eFr(r)==="[object Error]")return!0;r=rFr(r)}return!1}aM.exports=aFr});var Xt=c((bpe,iM)=>{"use strict";var tFr=tM();iM.exports=tFr});var sM=c((xpe,oM)=>{"use strict";var iFr=kt(),oFr=ei(),sFr=Xt();function nFr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof RangeError)return!0;if(sFr(r))for(;r;){if(oFr(r)==="rangeerror")return!0;r=iFr(r)}return!1}oM.exports=nFr});var vM=c((qpe,nM)=>{"use strict";var vFr=sM();nM.exports=vFr});var fM=c((wpe,uM)=>{"use strict";var uFr=kt(),fFr=ei(),lFr=Xt();function cFr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof TypeError)return!0;if(lFr(r))for(;r;){if(fFr(r)==="typeerror")return!0;r=uFr(r)}return!1}uM.exports=cFr});var cM=c((Spe,lM)=>{"use strict";var dFr=fM();lM.exports=dFr});var pM=c((Epe,dM)=>{"use strict";var pFr=kt(),yFr=ei(),mFr=Xt();function gFr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof SyntaxError)return!0;if(mFr(r))for(;r;){if(yFr(r)==="syntaxerror")return!0;r=pFr(r)}return!1}dM.exports=gFr});var mM=c((Ape,yM)=>{"use strict";var hFr=pM();yM.exports=hFr});var el=c((_pe,gM)=>{"use strict";var bFr=vM(),xFr=cM(),qFr=mM();function wFr(r){return bFr(r)?RangeError:xFr(r)?TypeError:qFr(r)?SyntaxError:Error}gM.exports=wFr});var bM=c((jpe,hM)=>{"use strict";var SFr=pe(),EFr=rl(),AFr=el();function _Fr(r,e,a,t){var o,i,n;o=!1,n=t(r,e,o);try{return SFr(a,n,o,!1)}catch(s){throw i=AFr(s),new i(EFr(s.message))}}hM.exports=_Fr});var qM=c((Tpe,xM)=>{"use strict";var jFr=Qf(),TFr=rM(),OFr=bM();function IFr(r){return e;function e(a,t,o){return jFr(t)?TFr(a,t,o):OFr(a,t,o,r)}}xM.exports=IFr});var SM=c((Ope,wM)=>{"use strict";function NFr(r,e,a){return r[e]=a,!0}wM.exports=NFr});var AM=c((Ipe,EM)=>{"use strict";var DFr=Mo();function kFr(r){return r===0&&1/r===DFr}EM.exports=kFr});var jM=c((Npe,_M)=>{"use strict";var RFr=AM();_M.exports=RFr});var OM=c((Dpe,TM)=>{"use strict";var BFr=1401298464324817e-60;TM.exports=BFr});var NM=c((kpe,IM)=>{"use strict";var zFr=16777215;IM.exports=zFr});var kM=c((Rpe,DM)=>{"use strict";var VFr=-16777215;DM.exports=VFr});var FM=c((Bpe,PM)=>{"use strict";var PFr=Ue().isPrimitive,FFr=de().isPrimitive,BM=ba(),LFr=jM(),CFr=na(),zM=Fi(),VM=Mo(),Hs=OM(),UFr=NM(),MFr=kM(),GFr=ru(),$Fr=Xv(),YFr=Wv(),WFr=fv(),JFr=dv(),KFr=Yo();function RM(r){return r!==r||r===zM||r===VM?"float32":BM(r)?r>=MFr&&r<=UFr?"float32":"float64":r>-Hs&&r<Hs?"float64":"float32"}function XFr(r){return PFr(r)?r!==r||r===zM||r===VM?"float32":BM(r)?r===0&&LFr(r)?"float32":r<0?r>=GFr?"int8":r>=$Fr?"int16":r>=YFr?"int32":"float64":r<=WFr?"uint8":r<=JFr?"uint16":r<=KFr?"uint32":"float64":r>-Hs&&r<Hs?"float64":"float32":FFr(r)?"bool":CFr(r)?RM(r.re)==="float64"||RM(r.im)==="float64"?"complex128":"complex64":"generic"}PM.exports=XFr});var al=c((zpe,LM)=>{"use strict";var HFr=FM();LM.exports=HFr});var UM=c((Vpe,CM)=>{"use strict";var ZFr={Complex64:"complex64",Complex128:"complex128"};CM.exports=ZFr});var MM=c((Ppe,QFr)=>{QFr.exports=["complex64","complex128"]});var $M=c((Fpe,GM)=>{"use strict";var rLr=MM();function eLr(){return rLr.slice()}GM.exports=eLr});var WM=c((Lpe,YM)=>{"use strict";var aLr=$M();YM.exports=aLr});var tl=c((Cpe,JM)=>{"use strict";var tLr=WM(),iLr=tLr();JM.exports=iLr});var ZM=c((Upe,HM)=>{"use strict";var oLr=_s(),KM=tl(),XM=[],Zs;for(Zs=0;Zs<KM.length;Zs++)XM.push(oLr(KM[Zs]));HM.exports=XM});var e9=c((Mpe,r9)=>{"use strict";var sLr=yt(),nLr=UM(),vLr=ZM(),QM=tl(),uLr=QM.length;function fLr(r){var e;for(e=0;e<uLr;e++)if(r instanceof vLr[e])return QM[e];return nLr[sLr(r)]||null}r9.exports=fLr});var il=c((Gpe,a9)=>{"use strict";var lLr=e9();a9.exports=lLr});var t9=c(($pe,cLr)=>{cLr.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=c((Ype,s9)=>{"use strict";var dLr=Qa(),i9=t9(),o9=/_and_generic$/;function pLr(){var r,e,a;return arguments.length===0?i9.all.slice():(a=!1,r=arguments[0],o9.test(r)&&(r=dLr(r,o9,""),r!=="all"&&(a=!0)),e=i9[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}s9.exports=pLr});var ol=c((Wpe,v9)=>{"use strict";var yLr=n9();v9.exports=yLr});var f9=c((Jpe,u9)=>{"use strict";var mLr=Ve().factory,gLr=ol(),hLr=mLr(gLr("complex_floating_point"));u9.exports=hLr});var Qs=c((Kpe,l9)=>{"use strict";var bLr=f9();l9.exports=bLr});var p9=c((Xpe,d9)=>{"use strict";var sl=Jr(),xLr=oe(),qLr=Ue().isPrimitive,wLr=Qs(),SLr=na(),ELr=de().isPrimitive,ALr=et(),_Lr=gi(),jLr=mi(),TLr=Na(),OLr=da(),rn=Oa(),ILr=il(),c9=cr(),NLr=rn.get("order"),DLr=rn.get("dtypes.real_floating_point"),kLr=rn.get("dtypes.complex_floating_point"),RLr=rn.get("dtypes.boolean");function BLr(r){var e,a,t,o,i,n,s;if(a={dtype:"",order:NLr,readonly:!1},arguments.length>1){if(e=arguments[1],!xLr(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=qLr(r),a.dtype===""?o?n=DLr:ELr(r)?n=RLr:SLr(r)?(n=ILr(r),n===null&&(n=kLr)):n="generic":n=a.dtype,t=TLr(n,1),t===null)throw new TypeError(c9("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",n));return wLr(n)&&o?s=[r,0]:s=r,ALr(t)?i=_Lr(n):i=jLr(n),i(t,0,s),new OLr(n,t,[],[0],0,a.order,a)}d9.exports=BLr});var nl=c((Hpe,y9)=>{"use strict";var zLr=p9();y9.exports=zLr});var h9=c((Zpe,g9)=>{"use strict";var VLr=Gs(),PLr=se(),FLr=Ue().isPrimitive,LLr=ue().isPrimitive,CLr=na(),ULr=lo(),MLr=Os(),GLr=ks(),$Lr=Ds(),m9=ys(),YLr=Qv(),WLr=Kv(),JLr=Yv(),en=al(),KLr=il(),Oi=nl(),Ht=cr(),XLr=rl(),HLr=el();function Ii(r){return{dtype:r}}function ZLr(r,e,a,t,o){var i,n,s,v,u;if(!PLr(a))if(s=r.dtype,s==="generic")a=Oi(a,Ii(s));else if(FLr(a))if(MLr(s))a=Oi(a,Ii(s));else if(GLr(s))if(n=en(a),m9(n,s))a=Oi(a,Ii(s));else throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else if($Lr(s)){if(!LLr(a))throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",en(a),s));if(a<0?n=en(a):a<=YLr?n="int8":a<=WLr?n="int16":a<=JLr?n="int32":n="float64",m9(n,s))a=Oi(a,Ii(s));else throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s))}else if(s==="binary")if(n=en(a),n==="uint8")a=Oi(a,Ii(s));else throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else throw new TypeError(Ht("invalid operation. Unsupported target array data type. Data type: `%s`.",s));else if(CLr(a)){if(!ULr(s))throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",KLr(a),s));a=Oi(a,Ii(s))}else throw new TypeError(Ht("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",typeof a,s));i=!1,u=o(r,e,i);try{return VLr(a,t,u,i),!0}catch(f){throw v=HLr(f),new v(XLr(f.message))}}g9.exports=ZLr});var x9=c((Qpe,b9)=>{"use strict";var QLr=Qf(),rCr=SM(),eCr=h9();function aCr(r){return e;function e(a,t,o,i){return QLr(t)?rCr(a,t,o):eCr(a,t,o,i,r)}}b9.exports=aCr});var j9=c((rye,_9)=>{"use strict";var tCr=Tr(),w9=da(),iCr=hu(),q9=yC(),S9=_U(),E9=IU(),A9=VU(),vl=qM(),ul=x9(),oCr=vl(S9),sCr=ul(S9),nCr=vl(E9),vCr=ul(E9),uCr=vl(A9),fCr=ul(A9);function Ni(r,e,a,t,o,i,n){var s,v,u;return v=arguments.length,this instanceof Ni?(w9.call(this,r,e,a,t,o,i,v<7?{}:n),q9?(u=a.length,s={},u===0?(s.get=oCr,s.set=sCr):u===1?(s.get=nCr,s.set=vCr):(s.get=uCr,s.set=fCr),new q9(this,s)):(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,n)}iCr(Ni,w9);tCr(Ni,"name","ndarray");_9.exports=Ni});var O9=c((eye,T9)=>{"use strict";var lCr=j9();T9.exports=lCr});var fl=c((aye,I9)=>{"use strict";function cCr(r){return typeof r=="symbol"}I9.exports=cCr});var D9=c((tye,N9)=>{"use strict";function dCr(r){return Symbol.prototype.toString.call(r)}N9.exports=dCr});var R9=c((iye,k9)=>{"use strict";var pCr=D9(),yCr=/^Symbol\(.*\)$/;function mCr(r){try{return typeof r.valueOf()=="symbol"&&yCr.test(pCr(r))}catch{return!1}}k9.exports=mCr});var ll=c((oye,B9)=>{"use strict";var gCr=ye(),hCr=R9();function bCr(r){return typeof r=="object"&&gCr(r)==="[object Symbol]"&&hCr(r)}B9.exports=bCr});var V9=c((sye,z9)=>{"use strict";var xCr=fl(),qCr=ll();function wCr(r){return xCr(r)||qCr(r)}z9.exports=wCr});var L9=c((nye,F9)=>{"use strict";var P9=Tr(),cl=V9(),SCr=fl(),ECr=ll();P9(cl,"isPrimitive",SCr);P9(cl,"isObject",ECr);F9.exports=cl});var U9=c((vye,C9)=>{"use strict";function ACr(r){return e;function e(){return r}}C9.exports=ACr});var G9=c((uye,M9)=>{"use strict";var _Cr=U9();M9.exports=_Cr});var W9=c((fye,Y9)=>{"use strict";var $9=Tr(),dl=G9(),pl=dl(!1),jCr=dl(!1),TCr=dl(!1);$9(pl,"isPrimitive",jCr);$9(pl,"isObject",TCr);Y9.exports=pl});var K9=c((lye,J9)=>{"use strict";var OCr=Nn(),ICr=L9(),NCr=W9(),yl;OCr()?yl=ICr:yl=NCr;J9.exports=yl});var H9=c((cye,X9)=>{"use strict";var DCr=Va().isPrimitive,kCr=K9().isPrimitive,RCr=me().isPrimitive;function BCr(r){return DCr(r)||kCr(r)||RCr(r)}X9.exports=BCr});var Q9=c((dye,Z9)=>{"use strict";var zCr=H9();Z9.exports=zCr});var aG=c((pye,eG)=>{"use strict";var VCr=Q9(),PCr=co(),rG=cr();function FCr(r,e){if(typeof r!="object"||r===null)throw new TypeError(rG("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!VCr(e))throw new TypeError(rG("invalid argument. Second argument must be a valid property name. Value: `%s`.",e));return PCr(r,!1)[e]}eG.exports=FCr});var iG=c((yye,tG)=>{"use strict";var LCr=aG();tG.exports=LCr});var sG=c((mye,oG)=>{"use strict";var CCr=co(),UCr=cr();function MCr(r){if(typeof r!="object"||r===null)throw new TypeError(UCr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return CCr(r,!0)}oG.exports=MCr});var vG=c((gye,nG)=>{"use strict";var GCr=sG();nG.exports=GCr});var ml=c((hye,$Cr)=>{$Cr.exports={mode:"throw",order:"row-major"}});var hl=c((bye,fG)=>{"use strict";var YCr=oe(),uG=Jr(),WCr=Sa(),JCr=pi(),gl=cr();function KCr(r,e){return YCr(e)?uG(e,"mode")&&(r.mode=e.mode,!JCr(r.mode))?new TypeError(gl("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode)):uG(e,"order")&&(r.order=e.order,!WCr(r.order))?new TypeError(gl("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null:new TypeError(gl("invalid argument. Options argument must be an object. Value: `%s`.",e))}fG.exports=KCr});var pG=c((xye,dG)=>{"use strict";var XCr=Ut().primitives,HCr=ue().isPrimitive,ZCr=Be(),QCr=Si(),lG=cr(),cG=ml(),rUr=hl();function eUr(r,e,a){var t,o;if(t={},t.mode=cG.mode,t.order=cG.order,arguments.length>2&&(o=rUr(t,a),o))throw o;if(!XCr(r))throw new TypeError(lG("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!HCr(e))throw new TypeError(lG("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return QCr(r,ZCr(r,t.order),0,t.order,e,t.mode)}dG.exports=eUr});var gG=c((qye,mG)=>{"use strict";var aUr=Ut().primitives,tUr=ue().isPrimitive,iUr=Be(),oUr=Si().assign,an=cr(),yG=ml(),sUr=hl();function nUr(r,e,a,t){var o,i,n;if(o={},o.mode=yG.mode,o.order=yG.order,arguments.length===4){if(n=sUr(o,arguments[2]),n)throw n;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(!aUr(r))throw new TypeError(an("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!tUr(e))throw new TypeError(an("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return oUr(r,iUr(r,o.order),0,o.order,e,o.mode,i)}mG.exports=nUr});var xG=c((wye,bG)=>{"use strict";var vUr=Tr(),hG=pG(),uUr=gG();vUr(hG,"assign",uUr);bG.exports=hG});var EG=c((Sye,SG)=>{"use strict";var bl=Tr(),fUr=oe(),lUr=de().isPrimitive,cUr=se(),dUr=Le(),pUr=Jr(),qG=Re(),yUr=xe(),mUr=ie(),gUr=Wr(),hUr=pe(),bUr=Je().assign,xUr=ge(),tn=cr();function wG(r){var e,a,t,o,i,n,s,v,u,f,l;if(!cUr(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],!fUr(e))throw new TypeError(tn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(pUr(e,"readonly")){if(!lUr(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&&dUr(r))throw new Error(tn("invalid option. Cannot write to read-only array."))}}if(a=mUr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=gUr(a),f===0&&(n=!0),f/=a[t-2],v=t-1,u=a[v],l=-1,s=yUr(t),s[t-2]=null,i={},bl(i,"next",d),bl(i,"return",m),qG&&bl(i,qG,p),i;function d(){var y,g,h;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),g=xUr(s),h=(s[v]+1)%u,s[v]=h,h===0&&(s=bUr(a,"row-major",s,v-2,s)),{value:[y,hUr(r,g,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return wG(r,o)}}SG.exports=wG});var _G=c((Eye,AG)=>{"use strict";var qUr=EG();AG.exports=qUr});var IG=c((Aye,OG)=>{"use strict";var xl=Tr(),wUr=oe(),SUr=de().isPrimitive,EUr=se(),AUr=Le(),_Ur=Jr(),jG=Re(),jUr=xe(),TUr=ie(),OUr=Wr(),IUr=pe(),NUr=Je().assign,DUr=ge(),on=cr();function TG(r){var e,a,t,o,i,n,s,v,u,f,l;if(!EUr(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],!wUr(e))throw new TypeError(on("invalid argument. Options argument must be an object. Value: `%s`.",e));if(_Ur(e,"readonly")){if(!SUr(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&&AUr(r))throw new Error(on("invalid option. Cannot write to read-only array."))}}if(a=TUr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=OUr(a),f===0&&(n=!0),f/=a[t-2],v=t-1,u=a[v],l=-1,s=jUr(t),s[t-2]=null,i={},xl(i,"next",d),xl(i,"return",m),jG&&xl(i,jG,p),i;function d(){var y,g;return l+=1,n||l>=f?{done:!0}:(y=DUr(s),g=(s[v]+1)%u,s[v]=g,g===0&&(s=NUr(a,"row-major",s,v-2,s)),{value:IUr(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return TG(r,o)}}OG.exports=TG});var DG=c((_ye,NG)=>{"use strict";var kUr=IG();NG.exports=kUr});var zG=c((jye,BG)=>{"use strict";var ql=Tr(),RUr=oe(),BUr=Sa(),zUr=se(),VUr=Jr(),kG=Re(),PUr=xe(),FUr=ie(),LUr=Wr(),CUr=Je().assign,wl=cr();function RG(r){var e,a,t,o,i,n,s,v,u,f;if(!zUr(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],!RUr(e))throw new TypeError(wl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(VUr(e,"order")){if(!BUr(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=FUr(r),t=a.length,u=LUr(a),u===0&&(n=!0),o.order==="row-major"?v=t-1:v=0,f=-1,s=PUr(t),i={},ql(i,"next",l),ql(i,"return",d),kG&&ql(i,kG,m),i;function l(){return f+=1,n||f>=u?{done:!0}:(f>0&&(s=CUr(a,o.order,s,v,s)),{value:[s.slice(),r.get.apply(r,s)],done:!1})}function d(p){return n=!0,arguments.length?{value:p,done:!0}:{done:!0}}function m(){return RG(r,o)}}BG.exports=RG});var PG=c((Tye,VG)=>{"use strict";var UUr=zG();VG.exports=UUr});var UG=c((Oye,CG)=>{"use strict";var Sl=Tr(),MUr=oe(),GUr=Sa(),$Ur=De(),YUr=me().isPrimitive,WUr=Jr(),FG=Re(),JUr=xe(),KUr=Wr(),XUr=Je().assign,sn=cr();function LG(r){var e,a,t,o,i,n,s,v,u,f;if(!$Ur(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],!MUr(e))throw new TypeError(sn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(WUr(e,"order")){if(!GUr(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(!YUr(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=KUr(v),u===0&&(i=!0),t.order==="row-major"?s=a-1:s=0,f=-1,n=JUr(a),o={},Sl(o,"next",l),Sl(o,"return",d),FG&&Sl(o,FG,m),o;function l(){return f+=1,i||f>=u?{done:!0}:(f>0&&(n=XUr(r,t.order,n,s,n)),{value:n.slice(),done:!1})}function d(p){return i=!0,arguments.length?{value:p,done:!0}:{done:!0}}function m(){return LG(v,t)}}CG.exports=LG});var GG=c((Iye,MG)=>{"use strict";var HUr=UG();MG.exports=HUr});var WG=c((Nye,YG)=>{"use strict";var ZUr=se(),QUr=De(),rMr=me().isPrimitive,$G=$s(),eMr=ie(),El=cr();function aMr(r,e){var a,t,o,i;if(!ZUr(r))throw new TypeError(El("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!QUr(e))throw new TypeError(El("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(t=e.length,a=eMr(r),a.length===t){for(i=0;i<t;i++){if(o=e[i],!rMr(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=aMr});var Al=c((Dye,JG)=>{"use strict";var tMr=WG();JG.exports=tMr});var HG=c((kye,XG)=>{"use strict";var iMr=se(),oMr=ze(),sMr=bi(),nMr=Al(),vMr=ie(),KG=cr();function uMr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(iMr(r))t=[r];else if(oMr(r))t=r;else throw new TypeError(KG("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(n=t.length,e=[],s=0;s<n;s++)try{e.push(vMr(t[s]))}catch{throw new TypeError(KG("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=sMr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push(nMr(t[s],i));return o}XG.exports=uMr});var _l=c((Rye,ZG)=>{"use strict";var fMr=HG();ZG.exports=fMr});var a$=c((Bye,e$)=>{"use strict";var jl=Tr(),lMr=ze(),cMr=Ys().isPrimitive,QG=Re(),dMr=xe(),pMr=ie(),yMr=Wr(),mMr=pe(),gMr=_l(),hMr=Je().assign,bMr=ge(),nn=cr();function r$(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y;if(!lMr(r))throw new TypeError(nn("invalid argument. First argument must be an array of ndarrays. Value: `%s`.",r));if(!cMr(e))throw new TypeError(nn("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));try{o=gMr(r)}catch{throw new TypeError(nn("invalid argument. First argument must be an array of ndarrays which are broadcast-compatible. Value: `%s`.",r))}if(d=o.length,a=pMr(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(l=yMr(a),l===0&&(i=!0),s=f-e-1,m=s+1;m<f;m++)l/=a[m];for(l*=d,u=a[s],n=[],m=0;m<d;m++){for(v=dMr(f),p=s+1;p<f;p++)v[p]=null;n.push(v)}return m=-1,y=-1,t={},jl(t,"next",g),jl(t,"return",h),QG&&jl(t,QG,b),t;function g(){var S,w,A;return m+=1,i||m>=l?{done:!0}:(y=(y+1)%d,S=n[y],w=bMr(S),A=(S[s]+1)%u,S[s]=A,A===0&&(S=hMr(a,"row-major",S,s-1,S)),{value:mMr(o[y],w,!0,!1),done:!1})}function h(S){return i=!0,arguments.length?{value:S,done:!0}:{done:!0}}function b(){return r$(r,e)}}e$.exports=r$});var i$=c((zye,t$)=>{"use strict";var xMr=a$();t$.exports=xMr});var v$=c((Vye,n$)=>{"use strict";var Tl=Tr(),qMr=oe(),wMr=de().isPrimitive,SMr=se(),EMr=Le(),AMr=Jr(),o$=Re(),_Mr=xe(),jMr=ie(),TMr=Wr(),OMr=pe(),IMr=Je().assign,NMr=ge(),vn=cr();function s$(r){var e,a,t,o,i,n,s,v,u,f,l;if(!SMr(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],!qMr(e))throw new TypeError(vn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(AMr(e,"readonly")){if(!wMr(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&&EMr(r))throw new Error(vn("invalid option. Cannot write to read-only array."))}}if(a=jMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=TMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],v=t-3,u=a[v],l=-1,s=_Mr(t),s[t-1]=null,s[t-2]=null,i={},Tl(i,"next",d),Tl(i,"return",m),o$&&Tl(i,o$,p),i;function d(){var y,g;return l+=1,n||l>=f?{done:!0}:(y=NMr(s),g=(s[v]+1)%u,s[v]=g,g===0&&(s=IMr(a,"row-major",s,v-1,s)),{value:OMr(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return s$(r,o)}}n$.exports=s$});var f$=c((Pye,u$)=>{"use strict";var DMr=v$();u$.exports=DMr});var p$=c((Fye,d$)=>{"use strict";var Ol=Tr(),kMr=oe(),RMr=de().isPrimitive,BMr=se(),zMr=Le(),VMr=Jr(),l$=Re(),PMr=xe(),FMr=ie(),LMr=Wr(),CMr=pe(),UMr=Je().assign,MMr=ge(),un=cr();function c$(r){var e,a,t,o,i,n,s,v,u,f,l;if(!BMr(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],!kMr(e))throw new TypeError(un("invalid argument. Options argument must be an object. Value: `%s`.",e));if(VMr(e,"readonly")){if(!RMr(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&&zMr(r))throw new Error(un("invalid option. Cannot write to read-only array."))}}if(a=FMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=LMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],v=t-3,u=a[v],l=-1,s=PMr(t),s[t-1]=null,s[t-2]=null,i={},Ol(i,"next",d),Ol(i,"return",m),l$&&Ol(i,l$,p),i;function d(){var y,g,h;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),g=MMr(s),h=(s[v]+1)%u,s[v]=h,h===0&&(s=UMr(a,"row-major",s,v-1,s)),{value:[y,CMr(r,g,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return c$(r,o)}}d$.exports=c$});var m$=c((Lye,y$)=>{"use strict";var GMr=p$();y$.exports=GMr});var x$=c((Cye,b$)=>{"use strict";var Il=Tr(),$Mr=oe(),YMr=de().isPrimitive,WMr=se(),JMr=Le(),KMr=Jr(),g$=Re(),XMr=xe(),HMr=ie(),ZMr=Wr(),QMr=pe(),r9r=Je().assign,e9r=ge(),fn=cr();function h$(r){var e,a,t,o,i,n,s,v,u,f,l;if(!WMr(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],!$Mr(e))throw new TypeError(fn("invalid argument. Options argument must be an object. Value: `%s`.",e));if(KMr(e,"readonly")){if(!YMr(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&&JMr(r))throw new Error(fn("invalid option. Cannot write to read-only array."))}}if(a=HMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=ZMr(a),f===0&&(n=!0),f/=a[t-1],v=t-2,u=a[v],l=-1,s=XMr(t),s[t-1]=null,i={},Il(i,"next",d),Il(i,"return",m),g$&&Il(i,g$,p),i;function d(){var y,g,h;return l+=1,n||l>=f?{done:!0}:(y=s.slice(),g=e9r(s),h=(s[v]+1)%u,s[v]=h,h===0&&(s=r9r(a,"row-major",s,v-1,s)),{value:[y,QMr(r,g,!0,o.writable)],done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return h$(r,o)}}b$.exports=h$});var w$=c((Uye,q$)=>{"use strict";var a9r=x$();q$.exports=a9r});var _$=c((Mye,A$)=>{"use strict";var Nl=Tr(),t9r=oe(),i9r=de().isPrimitive,o9r=se(),s9r=Le(),n9r=Jr(),S$=Re(),v9r=xe(),u9r=ie(),f9r=Wr(),l9r=pe(),c9r=Je().assign,d9r=ge(),ln=cr();function E$(r){var e,a,t,o,i,n,s,v,u,f,l;if(!o9r(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],!t9r(e))throw new TypeError(ln("invalid argument. Options argument must be an object. Value: `%s`.",e));if(n9r(e,"readonly")){if(!i9r(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&&s9r(r))throw new Error(ln("invalid option. Cannot write to read-only array."))}}if(a=u9r(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=f9r(a),f===0&&(n=!0),f/=a[t-1],v=t-2,u=a[v],l=-1,s=v9r(t),s[t-1]=null,i={},Nl(i,"next",d),Nl(i,"return",m),S$&&Nl(i,S$,p),i;function d(){var y,g;return l+=1,n||l>=f?{done:!0}:(y=d9r(s),g=(s[v]+1)%u,s[v]=g,g===0&&(s=c9r(a,"row-major",s,v-1,s)),{value:l9r(r,y,!0,o.writable),done:!1})}function m(y){return n=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return E$(r,o)}}A$.exports=E$});var T$=c((Gye,j$)=>{"use strict";var p9r=_$();j$.exports=p9r});var R$=c(($ye,k$)=>{"use strict";var Dl=Tr(),y9r=oe(),O$=de().isPrimitive,m9r=ue().isPrimitive,g9r=se(),h9r=Le(),I$=Jr(),N$=Re(),b9r=wi(),x9r=ie(),q9r=ca(),w9r=Wr(),S9r=pe(),E9r=Pe(),A9r=ge(),Zt=cr();function D$(r,e){var a,t,o,i,n,s,v,u,f,l;if(!g9r(r))throw new TypeError(Zt("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!m9r(e))throw new TypeError(Zt("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(i={writable:!1,keepdim:!1},arguments.length>2){if(a=arguments[2],!y9r(a))throw new TypeError(Zt("invalid argument. Options argument must be an object. Value: `%s`.",a));if(I$(a,"readonly")){if(!O$(a.readonly))throw new TypeError(Zt("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(i.writable=!a.readonly,i.writable&&h9r(r))throw new Error(Zt("invalid option. Cannot write to read-only array."))}if(I$(a,"keepdim")){if(!O$(a.keepdim))throw new TypeError(Zt("invalid option. `%s` option must be a boolean. Option: `%s`.","keepdim",a.keepdim));i.keepdim=a.keepdim}}if(t=x9r(r),o=t.length,f=q9r(e,o-1),f===-1)throw new RangeError(Zt("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return u=w9r(t),u===0&&(s=!0),u=t[f],l=-1,v=b9r(o),n={},Dl(n,"next",d),Dl(n,"return",m),N$&&Dl(n,N$,p),n;function d(){var y;return l+=1,s||l>=u?{done:!0}:(i.keepdim?v[f]=new E9r(l,l+1,1):v[f]=l,y=A9r(v),{value:S9r(r,y,!0,i.writable),done:!1})}function m(y){return s=!0,arguments.length?{value:y,done:!0}:{done:!0}}function p(){return D$(r,e,i)}}k$.exports=D$});var z$=c((Yye,B$)=>{"use strict";var _9r=R$();B$.exports=_9r});var P$=c((Wye,V$)=>{"use strict";var j9r=et(),T9r=at(),O9r=bt(),I9r=to();function N9r(r){var e=I9r(r);return j9r(r)?T9r(e):O9r(e)}V$.exports=N9r});var kl=c((Jye,F$)=>{"use strict";var D9r=P$();F$.exports=D9r});var C$=c((Kye,L$)=>{"use strict";var k9r=kl();function R9r(r){var e,a,t,o;for(t=k9r(r),a=r.length,e=[],o=0;o<a;o++)e.push(t(r,o));return e}L$.exports=R9r});var M$=c((Xye,U$)=>{"use strict";var B9r=C$();U$.exports=B9r});var Y$=c((Hye,$$)=>{"use strict";var G$=kl(),z9r=ot().factory;function V9r(r,e,a){var t,o,i,n,s,v,u;for(o=G$(r),i=G$(e),t=z9r(a),s=r.length-1,n=[],v=0;v<e.length;v++)u=t(i(e,v),s),n.push(o(r,u));return n}$$.exports=V9r});var J$=c((Zye,W$)=>{"use strict";var P9r=Ve().factory,F9r=ol(),L9r=P9r(F9r("boolean"));W$.exports=L9r});var Rl=c((Qye,K$)=>{"use strict";var C9r=J$();K$.exports=C9r});var H$=c((rme,X$)=>{"use strict";var U9r=as(),M9r=es(),G9r=Zi(),$9r=Hi(),Y9r=cr();function W9r(r,e){if(U9r(r))return G9r(r,e);if(M9r(r))return $9r(r,e);throw new TypeError(Y9r("invalid argument. First argument must be a complex-valued floating-point array. Value: `%s`.",r))}X$.exports=W9r});var Bl=c((eme,Z$)=>{"use strict";var J9r=H$();Z$.exports=J9r});var rY=c((ame,Q$)=>{"use strict";var K9r=Qe();function X9r(r,e){return new K9r(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,r.length-e)}Q$.exports=X9r});var zl=c((tme,eY)=>{"use strict";var H9r=rY();eY.exports=H9r});var nY=c((ime,sY)=>{"use strict";var aY=Qs(),tY=Rl(),Vl=nt(),iY=Bl(),oY=zl(),cn=ot().factory;function Z9r(r,e,a,t,o,i){var n,s,v,u,f;for(n=cn(a),s=r.length-1,v=i,u=0;u<e.length;u++)f=n(e[u],s),t[v]=r[f],v+=o;return t}function Q9r(r,e,a,t,o,i){var n,s,v,u,f,l,d,m,p,y,g;for(s=r.data,v=e.data,u=t.data,f=r.accessors[0],l=e.accessors[0],d=t.accessors[1],n=cn(a),m=s.length-1,p=i,y=0;y<v.length;y++)g=n(l(v,y),m),d(u,p,f(s,g)),p+=o;return u}function rGr(r,e,a,t,o,i){var n,s,v,u,f,l,d,m,p;for(s=e.data,v=e.accessors[0],n=cn(a),u=r.length/2-1,l=o*2,f=i*2,d=0;d<s.length;d++)m=n(v(s,d),u),p=m*2,t[f]=r[p],t[f+1]=r[p+1],f+=l;return t}function eGr(r,e,a,t,o,i){var n,s,v,u,f,l,d;for(s=e.data,v=e.accessors[0],n=cn(a),u=r.length-1,f=i,l=0;l<s.length;l++)d=n(v(s,l),u),t[f]=r[d],f+=o;return t}function aGr(r,e,a,t,o,i){var n,s,v;return n=Vl(r),s=Vl(e),v=Vl(t),n.accessorProtocol||s.accessorProtocol||v.accessorProtocol?aY(n.dtype)&&aY(v.dtype)?(rGr(iY(r,0),s,a,iY(t,0),o,i),t):tY(n.dtype)&&tY(v.dtype)?(eGr(oY(r,0),s,a,oY(t,0),o,i),t):(Q9r(n,s,a,v,o,i),t):(Z9r(r,e,a,t,o,i),t)}sY.exports=aGr});var fY=c((ome,uY)=>{"use strict";var tGr=Tr(),vY=Y$(),iGr=nY();tGr(vY,"assign",iGr);uY.exports=vY});var mY=c((sme,yY)=>{"use strict";var lY=Qs(),cY=Rl(),Pl=nt(),dY=Bl(),pY=zl(),oGr=ot().factory,sGr=cr();function nGr(r,e,a,t,o,i){var n,s,v;for(n=0,s=0;s<e.length;s++)v=o(e[s],i),r[v]=a[n],n+=t;return r}function vGr(r,e,a,t,o,i){var n,s,v,u,f,l,d,m,p;for(n=r.data,s=e.data,v=a.data,u=r.accessors[1],f=e.accessors[0],l=a.accessors[0],d=0,m=0;m<s.length;m++)p=o(f(s,m),i),u(n,p,l(v,d)),d+=t;return n}function uGr(r,e,a,t,o,i){var n,s,v,u,f,l,d;for(n=e.data,s=e.accessors[0],u=t*2,v=0,f=0;f<n.length;f++)l=o(s(n,f),i),d=l*2,r[d]=a[v],r[d+1]=a[v+1],v+=u;return r}function fGr(r,e,a,t,o,i){var n,s,v,u,f;for(n=e.data,s=e.accessors[0],v=0,u=0;u<n.length;u++)f=o(s(n,u),i),r[f]=a[v],v+=t;return r}function lGr(r,e,a,t){var o,i,n,s,v,u;if(e.length>0)if(a.length===e.length)i=1;else if(a.length===1)i=0;else throw new Error(sGr("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=oGr(t),n=r.length-1,s=Pl(r),v=Pl(e),u=Pl(a),s.accessorProtocol||v.accessorProtocol||u.accessorProtocol?lY(s.dtype)&&lY(u.dtype)?(uGr(dY(r,0),v,dY(a,0),i,o,n),r):cY(s.dtype)&&cY(u.dtype)?(fGr(pY(r,0),v,pY(a,0),i,o,n),r):(vGr(s,v,u,i,o,n),r):(nGr(r,e,a,i,o,n),r)}yY.exports=lGr});var hY=c((nme,gY)=>{"use strict";var cGr=mY();gY.exports=cGr});var SY=c((vme,wY)=>{"use strict";var Fl=Tr(),dGr=oe(),pGr=de().isPrimitive,yGr=Uv().primitives,mGr=se(),gGr=Le(),hGr=Jr(),bY=Re(),bGr=xe(),xGr=M$(),xY=fY(),qGr=hY(),wGr=ie(),SGr=ca(),EGr=Wr(),AGr=pe(),_Gr=Je().assign,jGr=ge(),lt=cr();function qY(r,e){var a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h;if(!mGr(r))throw new TypeError(lt("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!yGr(e))throw new TypeError(lt("invalid argument. Second argument must be an array of integers. Value: `%s`.",e));if(s={writable:!1},arguments.length>2){if(t=arguments[2],!dGr(t))throw new TypeError(lt("invalid argument. Options argument must be an object. Value: `%s`.",t));if(hGr(t,"readonly")){if(!pGr(t.readonly))throw new TypeError(lt("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",t.readonly));if(s.writable=!t.readonly,s.writable&&gGr(r))throw new Error(lt("invalid option. Cannot write to read-only array."))}}if(n=e,e=xGr(e),m=e.length,o=wGr(r),i=o.length,i<=m)throw new TypeError(lt("invalid argument. First argument must be an ndarray having at least %d dimensions.",m+1));for(g=0;g<m;g++){if(y=SGr(e[g],i-1),y===-1)throw new RangeError(lt("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",i,e[g]));e[g]=y}for(p=EGr(o),p===0&&(f=!0),g=0;g<m-1;g++)if(e[g]>e[g+1])throw new Error(lt("invalid argument. Dimension indices must be sorted in ascending order. Value: `%s`.",n));for(h=1,g=1;g<m;g++){if(e[g]===e[g-1])throw new Error(lt("invalid argument. Dimension indices must be unique. Value: `%s`.",n));e[h]=e[g],h+=1}for(g=0;g<m;g++)p/=o[e[g]];for(l=bGr(i),g=0;g<m;g++)l[e[g]]=null;for(a=[],h=0,g=0;g<i;g++){if(g===e[h]){h+=1;continue}a.push(g)}return d=xY(o,a,"throw"),u=xY(l,a,"throw"),g=-1,v={},Fl(v,"next",b),Fl(v,"return",S),bY&&Fl(v,bY,w),v;function b(){var A;return g+=1,f||g>=p?{done:!0}:(A=jGr(l),u=_Gr(d,"row-major",u,-1,u),l=qGr(l,a,u,"throw"),{value:AGr(r,A,!0,s.writable),done:!1})}function S(A){return f=!0,arguments.length?{value:A,done:!0}:{done:!0}}function w(){return qY(r,e,s)}}wY.exports=qY});var AY=c((ume,EY)=>{"use strict";var TGr=SY();EY.exports=TGr});var OY=c((fme,TY)=>{"use strict";var Ll=Tr(),OGr=oe(),IGr=de().isPrimitive,NGr=Ys().isPrimitive,DGr=se(),kGr=Le(),RGr=Jr(),_Y=Re(),BGr=xe(),zGr=ie(),VGr=Wr(),PGr=pe(),FGr=Je().assign,LGr=ge(),Di=cr();function jY(r,e){var a,t,o,i,n,s,v,u,f,l,d;if(!DGr(r))throw new TypeError(Di("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!NGr(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],!OGr(a))throw new TypeError(Di("invalid argument. Options argument must be an object. Value: `%s`.",a));if(RGr(a,"readonly")){if(!IGr(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&&kGr(r))throw new Error(Di("invalid option. Cannot write to read-only array."))}}if(t=zGr(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(l=VGr(t),l===0&&(n=!0),v=f-e-1,d=v+1;d<f;d++)l/=t[d];for(u=t[v],s=BGr(f),d=v+1;d<f;d++)s[d]=null;return d=-1,i={},Ll(i,"next",m),Ll(i,"return",p),_Y&&Ll(i,_Y,y),i;function m(){var g,h;return d+=1,n||d>=l?{done:!0}:(g=LGr(s),h=(s[v]+1)%u,s[v]=h,h===0&&(s=FGr(t,"row-major",s,v-1,s)),{value:PGr(r,g,!0,o.writable),done:!1})}function p(g){return n=!0,arguments.length?{value:g,done:!0}:{done:!0}}function y(){return jY(r,e,o)}}TY.exports=jY});var NY=c((lme,IY)=>{"use strict";var CGr=OY();IY.exports=CGr});var kY=c((cme,DY)=>{"use strict";var UGr=Fe();function MGr(r){var e=typeof r;return r!==null&&(e==="object"||e==="function")&&UGr(r.next)}DY.exports=MGr});var BY=c((dme,RY)=>{"use strict";var GGr=kY();RY.exports=GGr});var VY=c((pme,zY)=>{"use strict";var $Gr=se(),YGr=zf(),WGr=Ga(),JGr=xt(),KGr=ie(),XGr=$a(),HGr=st(),ZGr=cr();function QGr(r){if(!$Gr(r))throw new TypeError(ZGr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return YGr(HGr(r),KGr(r),WGr(r),JGr(r),XGr(r))}zY.exports=QGr});var Cl=c((yme,PY)=>{"use strict";var r$r=VY();PY.exports=r$r});var CY=c((mme,LY)=>{"use strict";var Ul=Tr(),e$r=Fe(),a$r=BY(),dn=Re(),t$r=Cl(),i$r=cr();function FY(r){var e,a;if(!a$r(r))throw new TypeError(i$r("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&&e$r(r[dn])&&Ul(e,dn,i),e;function t(){var n;return a?{done:!0}:(n=r.next(),n.done?(a=!0,n):{value:t$r(n.value),done:!1})}function o(n){return a=!0,arguments.length?{value:n,done:!0}:{done:!0}}function i(){return FY(r[dn]())}}LY.exports=FY});var MY=c((gme,UY)=>{"use strict";var o$r=CY();UY.exports=o$r});var WY=c((hme,YY)=>{"use strict";var Ml=Tr(),s$r=oe(),n$r=Sa(),v$r=se(),u$r=Jr(),GY=Re(),f$r=xe(),l$r=ie(),c$r=Wr(),d$r=Je().assign,Gl=cr();function $Y(r){var e,a,t,o,i,n,s,v,u,f;if(!v$r(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],!s$r(e))throw new TypeError(Gl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(u$r(e,"order")){if(!n$r(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=l$r(r),t=a.length,u=c$r(a),u===0&&(n=!0),o.order==="row-major"?v=t-1:v=0,f=-1,s=f$r(t),i={},Ml(i,"next",l),Ml(i,"return",d),GY&&Ml(i,GY,m),i;function l(){return f+=1,n||f>=u?{done:!0}:(f>0&&(s=d$r(a,o.order,s,v,s)),{value:r.get.apply(r,s),done:!1})}function d(p){return n=!0,arguments.length?{value:p,done:!0}:{done:!0}}function m(){return $Y(r,o)}}YY.exports=$Y});var KY=c((bme,JY)=>{"use strict";var p$r=WY();JY.exports=p$r});var HY=c((xme,XY)=>{"use strict";var Ke=It(),Ce={};Ke(Ce,"nditerColumnEntries",_G());Ke(Ce,"nditerColumns",DG());Ke(Ce,"nditerEntries",PG());Ke(Ce,"nditerIndices",GG());Ke(Ce,"nditerInterleaveSubarrays",i$());Ke(Ce,"nditerMatrices",f$());Ke(Ce,"nditerMatrixEntries",m$());Ke(Ce,"nditerRowEntries",w$());Ke(Ce,"nditerRows",T$());Ke(Ce,"nditerSelectDimension",z$());Ke(Ce,"nditerStacks",AY());Ke(Ce,"nditerSubarrays",NY());Ke(Ce,"nditer2arrayEach",MY());Ke(Ce,"nditerValues",KY());XY.exports=Ce});var QY=c((qme,ZY)=>{"use strict";var y$r=Le(),m$r=Da(),g$r=ie(),h$r=Ga(),b$r=xt(),x$r=$a(),q$r=st(),w$r=da(),S$r=Oa(),E$r=S$r("order");function A$r(r){var e,a,t,o,i,n,s;if(s=m$r(r),i=q$r(r),o=g$r(r),e=h$r(r),a=b$r(r),t=x$r(r)||E$r,arguments.length>1?n=arguments[1]:n={},y$r(r)){if(n.readonly===void 0)n.readonly=!0;else if(n.readonly===!1)throw new Error("invalid argument. Cannot write to a read-only array.")}return new w$r(s,i,o,e,a,t,n)}ZY.exports=A$r});var eW=c((wme,rW)=>{"use strict";var _$r=QY();rW.exports=_$r});var aW=c((Sme,j$r)=>{j$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=c((Eme,tW)=>{"use strict";var T$r=qa(),O$r=Jr(),I$r=Ia(),pn=aW();function N$r(){var r,e,a,t;for(a={},r=T$r(pn),e=r.length,t=0;t<e;t++)a[r[t]]=pn[r[t]];return a}function D$r(r){return arguments.length===0?N$r():(r=I$r(r),O$r(pn,r)?pn[r]:null)}tW.exports=D$r});var sW=c((Ame,oW)=>{"use strict";var k$r=iW();oW.exports=k$r});var uW=c((_me,vW)=>{"use strict";var nW=me().isPrimitive,R$r=De(),$l=cr();function B$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,!R$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=B$r});var Yl=c((jme,fW)=>{"use strict";var z$r=uW();fW.exports=z$r});var cW=c((Tme,lW)=>{"use strict";var V$r=me().isPrimitive,P$r=ue().isPrimitive,F$r=Af(),Wl=cr();function L$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(!P$r(e))throw new TypeError(Wl("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=F$r(r,e),V$r(a))return a;throw new TypeError(Wl("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}lW.exports=L$r});var pW=c((Ome,dW)=>{"use strict";var C$r=cW();dW.exports=C$r});var yW=c((Ime,U$r)=>{U$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=c((Nme,hW)=>{"use strict";var M$r=qa(),mW=Jr(),gW=Ia(),yn=yW();function G$r(){var r,e,a,t,o,i,n,s,v;for(a={},r=M$r(yn),e=r.length,v=0;v<e;v++){for(o=r[v],n=yn[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function $$r(r,e){var a;return arguments.length===0?G$r():(r=gW(r),mW(yn,r)&&(a=yn[r],e=gW(e),mW(a,e))?a[e]:null)}hW.exports=$$r});var qW=c((Dme,xW)=>{"use strict";var Y$r=bW();xW.exports=Y$r});var SW=c((kme,wW)=>{"use strict";var W$r=Ja(),J$r=yt();function K$r(r){return r instanceof W$r||J$r(r)==="MultiSlice"}wW.exports=K$r});var Jl=c((Rme,EW)=>{"use strict";var X$r=SW();EW.exports=X$r});var _W=c((Bme,AW)=>{"use strict";var H$r=se(),Z$r=Jl(),Q$r=ze(),rYr=oe(),eYr=de().isPrimitive,aYr=Jr(),tYr=Ja(),iYr=ge(),oYr=pe(),sYr=ie(),mn=cr();function nYr(r,e){var a,t,o,i,n,s,v;if(o={strict:!0},t=arguments.length,!H$r(r))throw new TypeError(mn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(rYr(arguments[t-1])){if(t-=1,a=arguments[t],aYr(a,"strict")){if(!eYr(a.strict))throw new TypeError(mn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=sYr(r),t===1&&n.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.",n.join(","),0))}if(Z$r(e)){if(s=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else{if(Q$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{s=iYr(i)}catch{for(v=0;v<i.length;v++)try{new tYr(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 oYr(r,s,o.strict,!1)}AW.exports=nYr});var Kl=c((zme,jW)=>{"use strict";var vYr=_W();jW.exports=vYr});var IW=c((Vme,OW)=>{"use strict";var TW=se(),uYr=Jl(),fYr=ze(),lYr=oe(),cYr=de().isPrimitive,dYr=Le(),pYr=Jr(),yYr=Ja(),mYr=ge(),gYr=Gs(),hYr=ie(),To=cr();function bYr(r,e,a){var t,o,i,n,s,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(dYr(e))throw new Error("invalid argument. Cannot write to a read-only array.");if(lYr(arguments[o-1])){if(o-=1,t=arguments[o],pYr(t,"strict")){if(!cYr(t.strict))throw new TypeError(To("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}if(s=hYr(e),o===2&&s.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.",s.join(","),0))}if(uYr(a)){if(v=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else{if(fYr(a)){if(n=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else for(n=[],u=2;u<o;u++)n.push(arguments[u]);try{v=mYr(n)}catch{for(u=0;u<n.length;u++)try{new yYr(n[u])}catch{throw new TypeError(To("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(n[u])))}}}return gYr(r,e,v,i.strict)}OW.exports=bYr});var DW=c((Pme,NW)=>{"use strict";var xYr=IW();NW.exports=xYr});var BW=c((Fme,RW)=>{"use strict";var qYr=oe(),wYr=de().isPrimitive,kW=ue().isPrimitive,SYr=se(),EYr=qi(),AYr=yf(),_Yr=xi(),jYr=Jr(),TYr=Pe(),OYr=Of(),Oo=cr();function IYr(r,e,a){var t,o,i;if(i={strict:!0},!SYr(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)||AYr(a))o=a;else if(_Yr(a)||EYr(a))o=new TYr;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],!qYr(t))throw new TypeError(Oo("invalid argument. Options argument must be an object. Value: `%s`.",t));if(jYr(t,"strict")){if(!wYr(t.strict))throw new TypeError(Oo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}}return OYr(r,e,o,i.strict,!1)}RW.exports=IYr});var VW=c((Lme,zW)=>{"use strict";var NYr=BW();zW.exports=NYr});var LW=c((Cme,FW)=>{"use strict";var DYr=oe(),kYr=de().isPrimitive,PW=ue().isPrimitive,RYr=se(),BYr=Jr(),zYr=If(),Io=cr();function VYr(r,e,a){var t,o;if(o={strict:!0},!RYr(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],!DYr(t))throw new TypeError(Io("invalid argument. Options argument must be an object. Value: `%s`.",t));if(BYr(t,"strict")){if(!kYr(t.strict))throw new TypeError(Io("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return zYr(r,e,a,o.strict,!1)}FW.exports=VYr});var UW=c((Ume,CW)=>{"use strict";var PYr=LW();CW.exports=PYr});var $W=c((Mme,GW)=>{"use strict";var FYr=oe(),LYr=de().isPrimitive,MW=ue().isPrimitive,CYr=se(),UYr=Jr(),MYr=Nf(),No=cr();function GYr(r,e,a){var t,o;if(o={strict:!0},!CYr(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],!FYr(t))throw new TypeError(No("invalid argument. Options argument must be an object. Value: `%s`.",t));if(UYr(t,"strict")){if(!LYr(t.strict))throw new TypeError(No("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)}GW.exports=GYr});var WW=c((Gme,YW)=>{"use strict";var $Yr=$W();YW.exports=$Yr});var KW=c(($me,JW)=>{"use strict";var YYr=se(),WYr=ze(),JYr=oe(),KYr=Ue().isPrimitive,XYr=de().isPrimitive,HYr=xi(),ZYr=qi(),QYr=Jr(),rWr=ie(),eWr=Df(),gn=cr();function aWr(r){return!(KYr(r)||HYr(r)||ZYr(r))}function tWr(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!YYr(r))throw new TypeError(gn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(JYr(arguments[t-1])){if(t-=1,a=arguments[t],QYr(a,"strict")){if(!XYr(a.strict))throw new TypeError(gn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=rWr(r),t===1&&n.length>0)throw new RangeError(gn("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",n.join(","),0))}if(WYr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(aWr(i[s]))throw new TypeError(gn("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return eWr(r,i,o.strict,!1)}JW.exports=tWr});var HW=c((Yme,XW)=>{"use strict";var iWr=KW();XW.exports=iWr});var QW=c((Wme,ZW)=>{"use strict";var oWr=se(),sWr=ze(),nWr=oe(),vWr=Ue().isPrimitive,uWr=de().isPrimitive,fWr=xi(),lWr=qi(),cWr=Jr(),dWr=ie(),pWr=kf(),hn=cr();function yWr(r){return!(vWr(r)||fWr(r)||lWr(r))}function mWr(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!oWr(r))throw new TypeError(hn("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(nWr(arguments[t-1])){if(t-=1,a=arguments[t],cWr(a,"strict")){if(!uWr(a.strict))throw new TypeError(hn("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=dWr(r),t===1&&n.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.",n.join(","),0))}if(sWr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(yWr(i[s]))throw new TypeError(hn("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return pWr(r,i,o.strict,!1)}ZW.exports=mWr});var eJ=c((Jme,rJ)=>{"use strict";var gWr=QW();rJ.exports=gWr});var iJ=c((Kme,tJ)=>{"use strict";var aJ=ue().isPrimitive,hWr=De(),bWr=Rf(),Xl=cr();function xWr(r,e){var a;if(typeof r!="object"||r===null||!hWr(r.shape))throw new TypeError(Xl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!aJ(e))throw new TypeError(Xl("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=bWr(r,e),aJ(a))return a;throw new TypeError(Xl("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}tJ.exports=xWr});var sJ=c((Xme,oJ)=>{"use strict";var qWr=iJ();oJ.exports=qWr});var nJ=c((Hme,wWr)=>{wWr.exports={mode:["throw"],order:"row-major"}});var fJ=c((Zme,uJ)=>{"use strict";var SWr=oe(),vJ=Jr(),EWr=ha(),AWr=Sa(),_Wr=pi(),bn=cr();function jWr(r,e){var a;if(!SWr(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,!EWr(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(!_Wr(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,!AWr(r.order))?new TypeError(bn("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null}uJ.exports=jWr});var dJ=c((Qme,cJ)=>{"use strict";var TWr=Ut().primitives,OWr=ue().isPrimitive,IWr=Be(),NWr=Bf(),Hl=cr(),lJ=nJ(),DWr=fJ();function kWr(){var r,e,a,t,o,i,n,s,v;if(e=arguments[0],!TWr(e))throw new TypeError(Hl("invalid argument. First argument must be an array-like object containing nonnegative integers. Value: `%s`.",e));if(n=arguments.length,a=e.length,o={},o.mode=lJ.mode.slice(),o.order=lJ.order,n>a+1){if(v=n-1,r=arguments[v],i=DWr(o,r),i)throw i}else v=n;if(s=1,v-s!==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-s));for(t=new Array(a+4),t[0]=e,t[1]=IWr(e,o.order),t[2]=0;s<v;s++){if(!OWr(arguments[s]))throw new TypeError(Hl("invalid argument. Subscripts must be integer valued. Argument: `%u`. Value: `%s`.",s,arguments[s]));t[s+2]=arguments[s]}return t[s+2]=o.mode,NWr.apply(null,t)}cJ.exports=kWr});var yJ=c((r1e,pJ)=>{"use strict";var RWr=dJ();pJ.exports=RWr});var xJ=c((e1e,bJ)=>{"use strict";var BWr=oe(),Do=Jr(),zWr=Xo(),VWr=Be(),PWr=Me(),FWr=Na(),LWr=Wr(),CWr=da(),hJ=Oa(),xn=cr(),mJ=hJ.get("dtypes.default"),gJ=hJ.get("order");function UWr(r){var e,a,t,o,i,n,s,v,u;if(i={},arguments.length>1){if(e=arguments[1],!BWr(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=gJ,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=gJ;if(typeof r=="number")u=[r];else if(zWr(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(s=LWr(u),s!==s||s<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=VWr(u,t)}else s=1,v=[0];if(n=FWr(a,s),n===null)throw new TypeError(xn("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",a));return new CWr(a,n,u,v,PWr(u,v),t,i)}bJ.exports=UWr});var wJ=c((a1e,qJ)=>{"use strict";var MWr=xJ();qJ.exports=MWr});var jJ=c((t1e,_J)=>{"use strict";var GWr=se(),$Wr=oe(),YWr=Ut().primitives,ki=Jr(),WWr=Be(),JWr=Me(),KWr=Na(),XWr=Wr(),SJ=Da(),EJ=ie(),AJ=$a(),HWr=da(),qn=cr();function ZWr(r){var e,a,t,o,i,n,s,v,u;if(!GWr(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],!$Wr(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]),!YWr(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?(s=XWr(u),v=WWr(u,t)):(s=1,v=[0]),n=KWr(a,s),n===null)throw new TypeError(qn("invalid argument. First argument must have a recognized data type. Value: `%s`.",a));return new HWr(a,n,u,v,JWr(u,v),t,i)}_J.exports=ZWr});var OJ=c((i1e,TJ)=>{"use strict";var QWr=jJ();TJ.exports=QWr});var Zl=c((o1e,IJ)=>{"use strict";var Cr=It(),Pr={};Cr(Pr,"array",iA());Cr(Pr,"at",uA());Cr(Pr,"base",bL());Cr(Pr,"broadcastArray",$s());Cr(Pr,"broadcastArrays",Vf());Cr(Pr,"castingModes",qu());Cr(Pr,"ndarray",da());Cr(Pr,"dataBuffer",st());Cr(Pr,"defaults",Oa());Cr(Pr,"dispatch",ML());Cr(Pr,"dtype",Da());Cr(Pr,"dtypes",ke());Cr(Pr,"empty",XL());Cr(Pr,"emptyLike",tC());Cr(Pr,"FancyArray",O9());Cr(Pr,"flag",iG());Cr(Pr,"flags",vG());Cr(Pr,"scalar2ndarray",nl());Cr(Pr,"ind2sub",xG());Cr(Pr,"indexModes",Ct());Cr(Pr,"iter",HY());Cr(Pr,"maybeBroadcastArray",Al());Cr(Pr,"maybeBroadcastArrays",_l());Cr(Pr,"minDataType",al());Cr(Pr,"mostlySafeCasts",Au());Cr(Pr,"ndarraylike2ndarray",eW());Cr(Pr,"ndims",Ss());Cr(Pr,"nextDataType",sW());Cr(Pr,"numel",Yl());Cr(Pr,"numelDimension",pW());Cr(Pr,"offset",xt());Cr(Pr,"order",$a());Cr(Pr,"orders",Lt());Cr(Pr,"outputDataTypePolicies",Cs());Cr(Pr,"promotionRules",qW());Cr(Pr,"safeCasts",Eu());Cr(Pr,"sameKindCasts",_u());Cr(Pr,"shape",ie());Cr(Pr,"slice",Kl());Cr(Pr,"ndsliceAssign",DW());Cr(Pr,"sliceDimension",VW());Cr(Pr,"sliceDimensionFrom",UW());Cr(Pr,"sliceDimensionTo",WW());Cr(Pr,"sliceFrom",HW());Cr(Pr,"sliceTo",eJ());Cr(Pr,"stride",sJ());Cr(Pr,"strides",Ga());Cr(Pr,"sub2ind",yJ());Cr(Pr,"ndarray2array",Cl());Cr(Pr,"zeros",wJ());Cr(Pr,"zerosLike",OJ());IJ.exports=Pr});var cK=c((_1e,lK)=>{"use strict";var gJr=Xt();function hJr(r){try{return require(r)}catch(e){return gJr(e)?e:typeof e=="object"?new Error(JSON.stringify(e)):new Error(e.toString())}}lK.exports=hJr});var lc=c((j1e,dK)=>{"use strict";var bJr=cK();dK.exports=bJr});var yK=c((T1e,pK)=>{"use strict";function xJr(r,e){return r>e?r:e}pK.exports=xJr});var gK=c((O1e,mK)=>{"use strict";var qJr=yK();mK.exports=qJr});var bK=c((I1e,hK)=>{"use strict";var wJr=Ve().factory,SJr=Dv(),EJr=wJr(SJr());hK.exports=EJr});var qK=c((N1e,xK)=>{"use strict";var AJr=bK();xK.exports=AJr});var wK=c((D1e,_Jr)=>{_Jr.exports=["no-transpose","transpose","conjugate-transpose"]});var EK=c((k1e,SK)=>{"use strict";var jJr=wK();function TJr(){return jJr.slice()}SK.exports=TJr});var _K=c((R1e,AK)=>{"use strict";function OJr(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}AK.exports=OJr});var OK=c((B1e,TK)=>{"use strict";var IJr=Tr(),jK=EK(),NJr=_K();IJr(jK,"enum",NJr);TK.exports=jK});var NK=c((z1e,IK)=>{"use strict";var DJr=Ve().factory,kJr=OK(),RJr=DJr(kJr());IK.exports=RJr});var cc=c((V1e,DK)=>{"use strict";var BJr=NK();DK.exports=BJr});var RK=c((P1e,kK)=>{"use strict";function zJr(r,e){return e>0?0:(1-r)*e}kK.exports=zJr});var zK=c((F1e,BK)=>{"use strict";var VJr=RK();BK.exports=VJr});var dc=c((L1e,VK)=>{"use strict";var Bo=5;function PJr(r,e,a,t,o,i,n){var s,v,u,f,l;if(s=0,r<=0)return s;if(v=t,u=n,a===1&&i===1){if(f=r%Bo,f>0)for(l=0;l<f;l++)s+=e[v]*o[u],v+=1,u+=1;if(r<Bo)return s;for(l=f;l<r;l+=Bo)s+=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+=Bo,u+=Bo;return s}for(l=0;l<r;l++)s+=e[v]*o[u],v+=a,u+=i;return s}VK.exports=PJr});var LK=c((C1e,FK)=>{"use strict";var PK=zK(),FJr=dc();function LJr(r,e,a,t,o){var i,n;return r<=0?0:(i=PK(r,a),n=PK(r,o),FJr(r,e,a,i,t,o,n))}FK.exports=LJr});var MK=c((U1e,UK)=>{"use strict";var CJr=Tr(),CK=LK(),UJr=dc();CJr(CK,"ndarray",UJr);UK.exports=CK});var YK=c((M1e,$K)=>{"use strict";var MJr=require("path").join,GJr=lc(),$Jr=Xt(),YJr=MK(),pc,GK=GJr(MJr(__dirname,"./native.js"));$Jr(GK)?pc=YJr:pc=GK;$K.exports=pc});var yc=c((G1e,JK)=>{"use strict";var En=Ns(),WK=YK().ndarray,WJr=Br(),ct=WJr("float64");function jt(r){return r!=="no-transpose"}function JJr(r,e,a,t,o,i){var n,s,v,u,f,l,d;for(En([t,o])?(v=e,u=r,n=o,s=t-v*o):(v=r,u=e,n=t,s=o-v*t),d=i,l=0;l<u;l++){for(f=0;f<v;f++)a[d]=0,d+=n;d+=s}return a}function KJr(r,e,a,t,o,i,n){var s,v,u,f,l,d,m;for(En([o,i])?(u=e,f=r,s=i,v=o-u*i):(u=r,f=e,s=o,v=i-u*o),m=n,d=0;d<f;d++){for(l=0;l<u;l++)t[m]*=a,m+=s;m+=v}return t}function Sn(r,e,a,t,o,i,n,s,v,u,f,l,d,m,p,y){var g,h,b,S,w,A,_,x,E,q,j;for(w=e,A=r,g=n,h=u,b=p,S=m-w*p,j=y,x=0;x<A;x++){for(E=s+x*i,_=0;_<w;_++)q=l+_*f,d[j]+=t*WK(a,o,g,E,v,h,q),j+=b;j+=S}return d}function XJr(r,e,a,t,o,i,n,s,v,u,f,l,d,m,p,y){var g,h,b,S,w,A,_,x,E,q,j,T,I,O,D,k,N,B,z,R,V,P,F;for(E=e,q=r,g=n,h=u,b=p,N=q;N>0;)for(N<ct?(T=N,N=0):(T=ct,N-=ct),w=s+N*i,x=y+N*m,k=E;k>0;)for(k<ct?(j=k,k=0):(j=ct,k-=ct),A=l+k*f,_=x+k*p,S=m-j*p,F=a;F>0;)for(F<ct?(I=F,F=0):(I=ct,F-=ct),V=w+F*n,P=A+F*u,R=_,D=0;D<T;D++){for(B=V+D*i,O=0;O<j;O++)z=P+O*f,d[R]+=t*WK(I,o,g,B,v,h,z),R+=b;R+=S}return d}function HJr(r,e,a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b){var S,w,A,_,x,E;if(a===0||t===0||p===1&&(i===0||o===0)||(p===0?y=JJr(a,t,y,g,h,b):p!==1&&(y=KJr(a,t,p,y,g,h,b)),i===0))return y;if(S=En([s,v]),w=En([l,d]),S){if(!jt(r)){if(!w&&!jt(e))return Sn(a,t,o,i,n,s,v,u,f,l,d,m,y,g,h,b);if(w&&jt(e))return Sn(a,t,o,i,n,s,v,u,f,d,l,m,y,g,h,b)}}else if(jt(r)){if(w&&jt(e))return Sn(a,t,o,i,n,v,s,u,f,d,l,m,y,g,h,b);if(!w&&!jt(e))return Sn(a,t,o,i,n,v,s,u,f,l,d,m,y,g,h,b)}return jt(r)?(A=v,_=s):(A=s,_=v),jt(e)?(x=d,E=l):(x=l,E=d),XJr(a,t,o,i,n,A,_,u,f,x,E,m,y,g,h,b)}JK.exports=HJr});var HK=c(($1e,XK)=>{"use strict";var mc=gK(),ZJr=qK(),KK=cc(),dt=cr(),QJr=yc();function rKr(r,e,a,t,o,i,n,s,v,u,f,l,d,m){var p,y,g,h,b,S,w,A,_;if(!ZJr(r))throw new TypeError(dt("invalid argument. First argument must be a valid order. Value: `%s`.",r));if(!KK(e))throw new TypeError(dt("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(!KK(a))throw new TypeError(dt("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",a));if(t<0)throw new RangeError(dt("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(o<0)throw new RangeError(dt("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(dt("invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.",i));if(r==="row-major"&&e==="no-transpose"||r==="column-major"&&e==="transpose"?p=i:p=t,r==="row-major"&&a==="no-transpose"||r==="column-major"&&a==="transpose"?y=o:y=i,v<mc(1,p))throw new RangeError(dt("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",p,v));if(f<mc(1,y))throw new RangeError(dt("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",y,f));if(r==="row-major"?g=o:g=t,m<mc(1,g))throw new RangeError(dt("invalid argument. Fourteenth argument must be greater than or equal to max(1,%d). Value: `%d`.",g,m));return r==="column-major"?(h=1,b=v,S=1,w=f,A=1,_=m):(h=v,b=1,S=f,w=1,A=m,_=1),QJr(e,a,t,o,i,n,s,h,b,0,u,S,w,0,l,d,A,_,0)}XK.exports=rKr});var rX=c((Y1e,QK)=>{"use strict";var ZK=cc(),zo=cr(),eKr=yc();function aKr(r,e,a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b){if(!ZK(r))throw new TypeError(zo("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",r));if(!ZK(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 eKr(r,e,a,t,o,i,n,s,v,u,f,l,d,m,p,y,g,h,b)}QK.exports=aKr});var tX=c((W1e,aX)=>{"use strict";var tKr=Tr(),eX=HK(),iKr=rX();tKr(eX,"ndarray",iKr);aX.exports=eX});var sX=c((J1e,oX)=>{"use strict";var oKr=require("path").join,sKr=lc(),nKr=Xt(),vKr=tX(),gc,iX=sKr(oKr(__dirname,"./native.js"));nKr(iX)?gc=vKr:gc=iX;oX.exports=gc});var yKr={};FX(yKr,{NDArray:()=>Ie,__version__:()=>pKr,absolute:()=>jX,arange:()=>pX,array:()=>Xa,asarray:()=>bX,copy:()=>xX,empty:()=>xc,empty_like:()=>SX,eye:()=>bc,floor_divide:()=>NX,full:()=>qc,full_like:()=>EX,geomspace:()=>gX,identity:()=>hX,linspace:()=>yX,logspace:()=>mX,mod:()=>IX,negative:()=>TX,ones:()=>hc,ones_like:()=>wX,positive:()=>DX,power:()=>_X,reciprocal:()=>kX,sign:()=>OX,sqrt:()=>AX,zeros:()=>An,zeros_like:()=>qX});module.exports=LX(yKr);var ve=He(Zl(),1),lX=He(Kl(),1),cX=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 n=a<0?e+a:a;if(n<0||n>=e)throw new Error(`Index ${a} is out of bounds for size ${e}`);return{start:n,stop:n+1,step:1,isIndex:!0}}return o>0?(a===null&&(a=0),t===null&&(t=e)):(a===null&&(a=e-1),t===null&&(t=-e-1)),a<0&&(a=e+a),t<0&&(t=e+t),a=Math.max(0,Math.min(a,e)),t=Math.max(-1,Math.min(t,e)),{start:a,stop:t,step:o,isIndex:!1}}var Xe="float64";function je(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 Ir(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"),n=u=>u.includes("64")?64:u.includes("32")?32:u.includes("16")?16:u.includes("8")?8:0,s=n(r),v=n(e);if(r==="int64"&&e==="uint64"||r==="uint64"&&e==="int64")return"float64";if(a&&i&&s===v){if(s===8)return"int16";if(s===16)return"int32";if(s===32)return"int64"}if(o&&t&&s===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(s,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?s>v?r:v===8?"int16":v===16?"int32":v===32?"int64":"float64":o&&t?v>s?e:s===8?"int16":s===16?"int32":s===32?"int64":"float64":"float64"}function ne(r){return r==="int64"||r==="uint64"?"generic":r}var ko=He(da(),1),RJ=He(Da(),1),BJ=He(ie(),1),zJ=He(Ga(),1),VJ=He(Ss(),1),PJ=He(Yl(),1),FJ=He(st(),1);var Nr=class r{constructor(e,a){this._stdlib=e,this._dtype=a||(0,RJ.default)(e)}get shape(){return Array.from((0,BJ.default)(this._stdlib))}get ndim(){return(0,VJ.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=je(t);if(!o)throw new Error(`Cannot copy array with dtype ${t}`);if(Ir(t)){let i=new o(this.size),n=a;for(let v=0;v<this.size;v++)i[v]=n[v];let s=(0,ko.default)(ne(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}else{let i=new o(this.size),n=a;i.set(n);let s=(0,ko.default)(ne(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}}static fromStdlib(e,a){return new r(e,a)}static fromData(e,a,t){let o=r._computeStrides(a),i=(0,ko.default)(ne(t),e,a,o,0,"row-major");return new r(i,t)}static zeros(e,a=Xe){let t=e.reduce((s,v)=>s*v,1),o=je(a);if(!o)throw new Error(`Cannot create array with dtype ${a}`);let i=new o(t),n=(0,ko.default)(ne(a),i,e,r._computeStrides(e),0,"row-major");return new r(n,a)}static ones(e,a=Xe){let t=r.zeros(e,a),o=t.data;if(Ir(a)){let i=o;for(let n=0;n<t.size;n++)i[n]=BigInt(1)}else{let i=o;for(let n=0;n<t.size;n++)i[n]=1}return t}_computeStrides(e){return r._computeStrides(e)}static _computeStrides(e){let a=new Array(e.length),t=1;for(let o=e.length-1;o>=0;o--)a[o]=t,t*=e[o];return a}};var Ql=He(Vf(),1);function za(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 n=wn(r.dtype,e.dtype),s=Array.from(o.shape),v=Nr.zeros(s,n),u=v.data,f=v.size;if(Ir(n)){let l=u;for(let d=0;d<f;d++){let m=o.iget(d),p=i.iget(d),y=typeof m=="bigint"?m:BigInt(Math.round(m)),g=typeof p=="bigint"?p:BigInt(Math.round(p));t==="add"?l[d]=y+g:t==="subtract"?l[d]=y-g:t==="multiply"?l[d]=y*g:t==="divide"?l[d]=y/g:l[d]=BigInt(Math.round(a(Number(y),Number(g))))}}else{let l=Ir(r.dtype)||Ir(e.dtype);for(let d=0;d<f;d++){let m=o.iget(d),p=i.iget(d),y=Number(m),g=Number(p);u[d]=a(y,g)}}return v}function _t(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),n=i.reduce((u,f)=>u*f,1),s=new Uint8Array(n),v=Ir(r.dtype)||Ir(e.dtype);for(let u=0;u<n;u++){let f=t.iget(u),l=o.iget(u),d=Number(f),m=Number(l);s[u]=a(d,m)?1:0}return Nr.fromData(s,i,"bool")}function LJ(r,e,a=!0){let t=r.dtype,o=Array.from(r.shape),i=r.size,s=a?t:t!=="float32"&&t!=="float64"?"float64":t,v=Nr.zeros(o,s),u=v.data,f=r.data;if(Ir(t))if(Ir(s)){let l=u;for(let d=0;d<i;d++){let m=Number(f[d]);l[d]=BigInt(Math.round(e(m)))}}else for(let l=0;l<i;l++)u[l]=e(Number(f[l]));else for(let l=0;l<i;l++)u[l]=e(Number(f[l]));return v}function CJ(r,e){return typeof e=="number"?rJr(r,e):za(r,e,(a,t)=>a+t,"add")}function UJ(r,e){return typeof e=="number"?eJr(r,e):za(r,e,(a,t)=>a-t,"subtract")}function MJ(r,e){return typeof e=="number"?aJr(r,e):za(r,e,(a,t)=>a*t,"multiply")}function GJ(r,e){if(typeof e=="number")return tJr(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 za(v,u,(f,l)=>f/l,"divide")}if(o||i){let v=o?r:Ri(r,"float32"),u=i?e:Ri(e,"float32");return za(v,u,(f,l)=>f/l,"divide")}let n=Ri(r,"float64"),s=Ri(e,"float64");return za(n,s,(v,u)=>v/u,"divide")}function Ri(r,e){let a=Nr.zeros(Array.from(r.shape),e),t=r.size,o=r.data,i=a.data;for(let n=0;n<t;n++)i[n]=Number(o[n]);return a}function rJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Nr.zeros(t,a),s=n.data;if(Ir(a)){let v=o,u=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)u[l]=v[l]+f}else for(let v=0;v<i;v++)s[v]=Number(o[v])+e;return n}function eJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Nr.zeros(t,a),s=n.data;if(Ir(a)){let v=o,u=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)u[l]=v[l]-f}else for(let v=0;v<i;v++)s[v]=Number(o[v])-e;return n}function aJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Nr.zeros(t,a),s=n.data;if(Ir(a)){let v=o,u=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)u[l]=v[l]*f}else for(let v=0;v<i;v++)s[v]=Number(o[v])*e;return n}function tJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=a!=="float32"&&a!=="float64"?"float64":a,v=Nr.zeros(t,s),u=v.data;if(Ir(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 $J(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Nr.zeros(a,e),n=i.data;if(Ir(e)){let s=t,v=n;for(let u=0;u<o;u++){let f=s[u];v[u]=f<0n?-f:f}}else for(let s=0;s<o;s++)n[s]=Math.abs(Number(t[s]));return i}function YJ(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Nr.zeros(a,e),n=i.data;if(Ir(e)){let s=t,v=n;for(let u=0;u<o;u++)v[u]=-s[u]}else for(let s=0;s<o;s++)n[s]=-Number(t[s]);return i}function WJ(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Nr.zeros(a,e),n=i.data;if(Ir(e)){let s=t,v=n;for(let u=0;u<o;u++){let f=s[u];v[u]=f>0n?1n:f<0n?-1n:0n}}else for(let s=0;s<o;s++){let v=Number(t[s]);n[s]=v>0?1:v<0?-1:0}return i}function JJ(r,e){return typeof e=="number"?iJr(r,e):za(r,e,(a,t)=>(a%t+t)%t,"mod")}function iJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Nr.zeros(t,a),s=n.data;if(Ir(a)){let v=o,u=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++){let d=v[l];u[l]=(d%f+f)%f}}else for(let v=0;v<i;v++){let u=Number(o[v]);s[v]=(u%e+e)%e}return n}function KJ(r,e){return typeof e=="number"?oJr(r,e):za(r,e,(a,t)=>Math.floor(a/t),"floor_divide")}function oJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Nr.zeros(t,a),s=n.data;if(Ir(a)){let v=o,u=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)u[l]=v[l]/f}else for(let v=0;v<i;v++)s[v]=Math.floor(Number(o[v])/e);return n}function XJ(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Nr.zeros(a,e),n=i.data;for(let s=0;s<o;s++)n[s]=t[s];return i}function HJ(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,n=e!=="float32"&&e!=="float64"?"float64":e,s=Nr.zeros(a,n),v=s.data;if(Ir(e))for(let u=0;u<o;u++)v[u]=1/Number(t[u]);else for(let u=0;u<o;u++)v[u]=1/Number(t[u]);return s}function ZJ(r,e){return typeof e=="number"?nJr(r,e):_t(r,e,(a,t)=>a>t)}function QJ(r,e){return typeof e=="number"?vJr(r,e):_t(r,e,(a,t)=>a>=t)}function rK(r,e){return typeof e=="number"?uJr(r,e):_t(r,e,(a,t)=>a<t)}function eK(r,e){return typeof e=="number"?fJr(r,e):_t(r,e,(a,t)=>a<=t)}function aK(r,e){return typeof e=="number"?lJr(r,e):_t(r,e,(a,t)=>a===t)}function tK(r,e){return typeof e=="number"?cJr(r,e):_t(r,e,(a,t)=>a!==t)}function rc(r,e,a=1e-5,t=1e-8){return typeof e=="number"?dJr(r,e,a,t):_t(r,e,(o,i)=>{let n=Math.abs(o-i),s=t+a*Math.abs(i);return n<=s})}function iK(r,e,a=1e-5,t=1e-8){let o=rc(r,e,a,t),i=o.data;for(let n=0;n<o.size;n++)if(i[n]===0)return!1;return!0}function nJr(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 Nr.fromData(a,Array.from(r.shape),"bool")}function vJr(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 Nr.fromData(a,Array.from(r.shape),"bool")}function uJr(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 Nr.fromData(a,Array.from(r.shape),"bool")}function fJr(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 Nr.fromData(a,Array.from(r.shape),"bool")}function lJr(r,e){let a=new Uint8Array(r.size),t=r.data,o=r.dtype;if(Ir(o)){let i=BigInt(Math.round(e)),n=t;for(let s=0;s<r.size;s++)a[s]=n[s]===i?1:0}else for(let i=0;i<r.size;i++)a[i]=t[i]===e?1:0;return Nr.fromData(a,Array.from(r.shape),"bool")}function cJr(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 Nr.fromData(a,Array.from(r.shape),"bool")}function dJr(r,e,a,t){let o=new Uint8Array(r.size),i=r.data,n=r.dtype;if(Ir(n)){let s=i;for(let v=0;v<r.size;v++){let u=Number(s[v]),f=Math.abs(u-e),l=t+a*Math.abs(e);o[v]=f<=l?1:0}}else for(let s=0;s<r.size;s++){let v=Number(i[s]),u=Math.abs(v-e),f=t+a*Math.abs(e);o[s]=u<=f?1:0}return Nr.fromData(o,Array.from(r.shape),"bool")}function Bi(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 Te(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 Oe(r,e,a,t){let o=t.length,i=new Array(o),n=Array.from(t).filter((v,u)=>u!==e),s=r;for(let v=n.length-1;v>=0;v--)i[v>=e?v+1:v]=s%n[v],s=Math.floor(s/n[v]);return i[e]=a,i}function Ro(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Ir(t)){let p=s,y=BigInt(0);for(let g=0;g<n;g++)y+=p[g];return Number(y)}else{let p=0;for(let y=0;y<n;y++)p+=Number(s[y]);return p}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((p,y)=>y!==v);if(u.length===0)return Ro(r);let f=Nr.zeros(u,t),l=f.data,d=o[v],m=u.reduce((p,y)=>p*y,1);if(Ir(t)){let p=s,y=l;for(let g=0;g<m;g++){let h=BigInt(0);for(let b=0;b<d;b++){let S=Oe(g,v,b,o),w=Te(S,o);h+=p[w]}y[g]=h}}else for(let p=0;p<m;p++){let y=0;for(let g=0;g<d;g++){let h=Oe(p,v,g,o),b=Te(h,o);y+=Number(s[b])}l[p]=y}if(a){let p=[...o];return p[v]=1,Nr.fromData(l,p,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 n=Ro(r,e,a);if(typeof n=="number")return n/o[i];let s=o[i],v=t;(Ir(t)||t.startsWith("int")||t.startsWith("uint"))&&(v="float64");let u=Nr.zeros(Array.from(n.shape),v),f=u.data,l=n.data;if(Ir(t)){let d=l;for(let m=0;m<f.length;m++)f[m]=Number(d[m])/s}else for(let d=0;d<f.length;d++)f[d]=Number(l[d])/s;return u}function ac(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("max of empty array");let p=s[0];for(let y=1;y<n;y++)s[y]>p&&(p=s[y]);return Number(p)}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((p,y)=>y!==v);if(u.length===0)return ac(r);let f=Nr.zeros(u,t),l=f.data,d=o[v],m=u.reduce((p,y)=>p*y,1);if(Ir(t)){let p=s,y=l;for(let g=0;g<m;g++){let h=Oe(g,v,0,o),b=Te(h,o),S=p[b];for(let w=1;w<d;w++){let A=Oe(g,v,w,o),_=Te(A,o),x=p[_];x>S&&(S=x)}y[g]=S}}else for(let p=0;p<m;p++){let y=-1/0;for(let g=0;g<d;g++){let h=Oe(p,v,g,o),b=Te(h,o),S=Number(s[b]);S>y&&(y=S)}l[p]=y}if(a){let p=[...o];return p[v]=1,Nr.fromData(l,p,t)}return f}function tc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Ir(t)){let p=s,y=BigInt(1);for(let g=0;g<n;g++)y*=p[g];return Number(y)}else{let p=1;for(let y=0;y<n;y++)p*=Number(s[y]);return p}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((p,y)=>y!==v);if(u.length===0)return tc(r);let f=Nr.zeros(u,t),l=f.data,d=o[v],m=u.reduce((p,y)=>p*y,1);if(Ir(t)){let p=s,y=l;for(let g=0;g<m;g++){let h=BigInt(1);for(let b=0;b<d;b++){let S=Oe(g,v,b,o),w=Te(S,o);h*=p[w]}y[g]=h}}else for(let p=0;p<m;p++){let y=1;for(let g=0;g<d;g++){let h=Oe(p,v,g,o),b=Te(h,o);y*=Number(s[b])}l[p]=y}if(a){let p=[...o];return p[v]=1,Nr.fromData(l,p,t)}return f}function ic(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("min of empty array");let p=s[0];for(let y=1;y<n;y++)s[y]<p&&(p=s[y]);return Number(p)}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((p,y)=>y!==v);if(u.length===0)return ic(r);let f=Nr.zeros(u,t),l=f.data,d=o[v],m=u.reduce((p,y)=>p*y,1);if(Ir(t)){let p=s,y=l;for(let g=0;g<m;g++){let h=Oe(g,v,0,o),b=Te(h,o),S=p[b];for(let w=1;w<d;w++){let A=Oe(g,v,w,o),_=Te(A,o),x=p[_];x<S&&(S=x)}y[g]=S}}else for(let p=0;p<m;p++){let y=1/0;for(let g=0;g<d;g++){let h=Oe(p,v,g,o),b=Te(h,o),S=Number(s[b]);S<y&&(y=S)}l[p]=y}if(a){let p=[...o];return p[v]=1,Nr.fromData(l,p,t)}return f}function oc(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmin of empty array");let m=n[0],p=0;for(let y=1;y<i;y++)n[y]<m&&(m=n[y],p=y);return p}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,p)=>p!==s);if(v.length===0)return oc(r);let u=Nr.zeros(v,"int32"),f=u.data,l=t[s],d=v.reduce((m,p)=>m*p,1);if(Ir(a)){let m=n;for(let p=0;p<d;p++){let y=Oe(p,s,0,t),g=Te(y,t),h=m[g],b=0;for(let S=1;S<l;S++){let w=Oe(p,s,S,t),A=Te(w,t),_=m[A];_<h&&(h=_,b=S)}f[p]=b}}else for(let m=0;m<d;m++){let p=1/0,y=0;for(let g=0;g<l;g++){let h=Oe(m,s,g,t),b=Te(h,t),S=Number(n[b]);S<p&&(p=S,y=g)}f[m]=y}return u}function sc(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmax of empty array");let m=n[0],p=0;for(let y=1;y<i;y++)n[y]>m&&(m=n[y],p=y);return p}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,p)=>p!==s);if(v.length===0)return sc(r);let u=Nr.zeros(v,"int32"),f=u.data,l=t[s],d=v.reduce((m,p)=>m*p,1);if(Ir(a)){let m=n;for(let p=0;p<d;p++){let y=Oe(p,s,0,t),g=Te(y,t),h=m[g],b=0;for(let S=1;S<l;S++){let w=Oe(p,s,S,t),A=Te(w,t),_=m[A];_>h&&(h=_,b=S)}f[p]=b}}else for(let m=0;m<d;m++){let p=-1/0,y=0;for(let g=0;g<l;g++){let h=Oe(m,s,g,t),b=Te(h,t),S=Number(n[b]);S>p&&(p=S,y=g)}f[m]=y}return u}function nc(r,e,a=0,t=!1){let o=r.shape,i=o.length,n=r.size,s=r.data,v=ec(r,e,t);if(e===void 0){let h=v,b=0;for(let S=0;S<n;S++){let w=Number(s[S])-h;b+=w*w}return b/(n-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],l=v,d=l.data,m=t?l.shape:Array.from(o).filter((h,b)=>b!==u),p=Nr.zeros(Array.from(m),"float64"),y=p.data,g=m.reduce((h,b)=>h*b,1);for(let h=0;h<g;h++){let b=0,S=Number(d[h]);for(let w=0;w<f;w++){let A=Oe(h,u,w,o),_=Te(A,o),x=Number(s[_])-S;b+=x*x}y[h]=b/(f-a)}return p}function oK(r,e,a=0,t=!1){let o=nc(r,e,a,t);if(typeof o=="number")return Math.sqrt(o);let i=Nr.zeros(Array.from(o.shape),"float64"),n=o.data,s=i.data;for(let v=0;v<n.length;v++)s[v]=Math.sqrt(Number(n[v]));return i}function vc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let m=0;m<i;m++)if(!n[m])return!1;return!0}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,p)=>p!==s);if(v.length===0)return vc(r);let u=Nr.zeros(v,"bool"),f=u.data,l=t[s],d=v.reduce((m,p)=>m*p,1);for(let m=0;m<d;m++){let p=!0;for(let y=0;y<l;y++){let g=Oe(m,s,y,t),h=Te(g,t);if(!n[h]){p=!1;break}}f[m]=p?1:0}if(a){let m=[...t];return m[s]=1,Nr.fromData(f,m,"bool")}return u}function uc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let m=0;m<i;m++)if(n[m])return!0;return!1}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let v=Array.from(t).filter((m,p)=>p!==s);if(v.length===0)return uc(r);let u=Nr.zeros(v,"bool"),f=u.data,l=t[s],d=v.reduce((m,p)=>m*p,1);for(let m=0;m<d;m++){let p=!1;for(let y=0;y<l;y++){let g=Oe(m,s,y,t),h=Te(g,t);if(n[h]){p=!0;break}}f[m]=p?1:0}if(a){let m=[...t];return m[s]=1,Nr.fromData(f,m,"bool")}return u}var Ka=He(Zl(),1);function sK(r,e){let a=r.size,t=r.dtype,o=e.indexOf(-1),i;if(o!==-1){let f=e.reduce((d,m,p)=>p===o?d:d*m,1),l=a/f;if(!Number.isInteger(l))throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(e)}`);i=e.map((d,m)=>m===o?l:d)}else i=e;if(i.reduce((f,l)=>f*l,1)!==a)throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(i)}`);if(r.isCContiguous){let f=r.data,l=Ka.default.ndarray(ne(t),f,i,Bi(i),0,"row-major");return Nr.fromStdlib(l,t)}let v=r.copy().data,u=Ka.default.ndarray(ne(t),v,i,Bi(i),0,"row-major");return Nr.fromStdlib(u,t)}function fc(r){let e=r.stdlib,a=r.shape,t=a.length,o=r.size,i=r.dtype,n=je(i);if(!n)throw new Error(`Cannot flatten array with dtype ${i}`);let s=new n(o),v=0,u=(l,d)=>{if(d===t){let m=e.get(...l);s[v++]=m;return}for(let m=0;m<a[d];m++)l[d]=m,u(l,d+1)};u(new Array(t),0);let f=Ka.default.ndarray(ne(i),s,[o],[1],0,"row-major");return Nr.fromStdlib(f,i)}function nK(r){let e=r.size,a=r.dtype;if(r.isCContiguous){let t=r.data,o=Ka.default.ndarray(ne(a),t,[e],[1],0,"row-major");return Nr.fromStdlib(o,a)}return fc(r)}function vK(r,e){let a=r.shape,t=a.length,o=r.strides,i=r.data,n=r.dtype,s=r.stdlib,v;if(e===void 0)v=Array.from({length:t},(m,p)=>t-1-p);else{if(e.length!==t)throw new Error(`axes must have length ${t}, got ${e.length}`);let m=new Set;for(let p of e){let y=p<0?t+p:p;if(y<0||y>=t)throw new Error(`axis ${p} 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(p=>p<0?t+p:p)}let u=v.map(m=>a[m]),f=Array.from(o),l=v.map(m=>f[m]),d=Ka.default.ndarray(ne(n),i,u,l,Ka.default.offset(s),"row-major");return Nr.fromStdlib(d,n)}function uK(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype;if(e===void 0){let n=Array.from(a).filter(u=>u!==1);n.length===0&&n.push(1);let s=Bi(n),v=Ka.default.ndarray(ne(i),o,n,s,0,"row-major");return Nr.fromStdlib(v,i)}else{let n=e<0?t+e:e;if(n<0||n>=t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t}`);if(a[n]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${e} has size ${a[n]})`);let s=Array.from(a).filter((f,l)=>l!==n),v=Bi(s),u=Ka.default.ndarray(ne(i),o,s,v,0,"row-major");return Nr.fromStdlib(u,i)}}function fK(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype,n=e;if(n<0&&(n=t+e+1),n<0||n>t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t+1}`);let s=[...Array.from(a)];s.splice(n,0,1);let v=Bi(s),u=Ka.default.ndarray(ne(i),o,s,v,0,"row-major");return Nr.fromStdlib(u,i)}var nX=He(sX(),1);function vX(r,e){if(r.ndim!==2||e.ndim!==2)throw new Error("matmul requires 2D arrays");let[a=0,t=0]=r.shape,[o=0,i=0]=e.shape;if(t!==o)throw new Error(`matmul shape mismatch: (${a},${t}) @ (${o},${i})`);let n=wn(r.dtype,e.dtype),s=n.startsWith("int")||n.startsWith("uint")||n==="bool"?"float64":n;if(s!=="float64")throw new Error(`matmul currently only supports float64, got ${s}`);let 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=Nr.zeros([a,i],"float64");return(0,nX.default)("row-major","no-transpose","no-transpose",a,i,t,1,v,t,u,i,0,f.data,i),f}function uX(r){return LJ(r,Math.sqrt,!1)}function fX(r,e){return typeof e=="number"?fKr(r,e):za(r,e,Math.pow,"power")}function fKr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,v=a!=="float32"&&a!=="float64"&&(e<0||!Number.isInteger(e))?"float64":a,u=Nr.zeros(t,v),f=u.data;if(Ir(a))if(Ir(v)&&Number.isInteger(e)&&e>=0){let l=o,d=f;for(let m=0;m<i;m++)d[m]=l[m]**BigInt(e)}else for(let l=0;l<i;l++)f[l]=Math.pow(Number(o[l]),e);else for(let l=0;l<i;l++)f[l]=Math.pow(Number(o[l]),e);return u}var Ie=class r{constructor(e,a,t){this._data=e,this._dtype=a,this._base=t}get _storage(){return new Nr(this._data,this._dtype)}static _fromStorage(e,a){return new r(e.stdlib,e.dtype,a)}get shape(){return Array.from(ve.default.shape(this._data))}get ndim(){return ve.default.ndims(this._data)}get size(){return ve.default.numel(this._data)}get dtype(){return this._dtype||ve.default.dtype(this._data)}get data(){return ve.default.dataBuffer(this._data)}get strides(){return Array.from(ve.default.strides(this._data))}get flags(){let e=this._storage;return{C_CONTIGUOUS:e.isCContiguous,F_CONTIGUOUS:e.isFContiguous,OWNDATA:this._base===void 0}}get base(){return this._base??null}get(e){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let a=e.map((i,n)=>{let s=i;if(s<0&&(s=this.shape[n]+s),s<0||s>=this.shape[n])throw new Error(`Index ${i} is out of bounds for axis ${n} with size ${this.shape[n]}`);return s}),t=this._data.get(...a),o=this.dtype;return Ir(o)?typeof t=="bigint"?t:BigInt(Math.round(t)):Number(t)}set(e,a){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let t=e.map((n,s)=>{let v=n;if(v<0&&(v=this.shape[s]+v),v<0||v>=this.shape[s])throw new Error(`Index ${n} is out of bounds for axis ${s} with size ${this.shape[s]}`);return v}),o=this.dtype,i;Ir(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=je(e);if(!o)throw new Error(`Cannot copy array with dtype ${e}`);if(Ir(e)){let i=new o(this.size),n=t;for(let v=0;v<this.size;v++)i[v]=n[v];let s=ve.default.ndarray(ne(e),i,a,ga(a),0,"row-major");return new r(s,e)}else{let i=new o(this.size),n=t;i.set(n);let s=ve.default.ndarray(ne(e),i,a,ga(a),0,"row-major");return new r(s,e)}}astype(e,a=!0){let t=this.dtype;if(t===e&&!a)return this;if(t===e&&a)return Xa(this.toArray(),e);let o=Array.from(this.shape),i=this.size,n=je(e);if(!n)throw new Error(`Cannot convert to dtype ${e}`);let s=new n(i),v=this.data;if(Ir(t)&&!Ir(e)){let f=v;if(e==="bool")for(let l=0;l<i;l++)s[l]=f[l]!==BigInt(0)?1:0;else for(let l=0;l<i;l++)s[l]=Number(f[l])}else if(!Ir(t)&&Ir(e)){let f=v;for(let l=0;l<i;l++)s[l]=BigInt(Math.round(Number(f[l])))}else if(e==="bool"){let f=v;for(let l=0;l<i;l++)s[l]=f[l]!==0?1:0}else if(t==="bool"&&!Ir(e)){let f=v;for(let l=0;l<i;l++)s[l]=f[l]}else if(!Ir(t)&&!Ir(e)){let f=v;for(let l=0;l<i;l++)s[l]=f[l]}else{let f=v;for(let l=0;l<i;l++)s[l]=f[l]}let u=ve.default.ndarray(ne(e),s,o,ga(o),0,"row-major");return new r(u,e)}add(e){let a=typeof e=="number"?e:e._storage,t=CJ(this._storage,a);return r._fromStorage(t)}subtract(e){let a=typeof e=="number"?e:e._storage,t=UJ(this._storage,a);return r._fromStorage(t)}multiply(e){let a=typeof e=="number"?e:e._storage,t=MJ(this._storage,a);return r._fromStorage(t)}divide(e){let a=typeof e=="number"?e:e._storage,t=GJ(this._storage,a);return r._fromStorage(t)}mod(e){let a=typeof e=="number"?e:e._storage,t=JJ(this._storage,a);return r._fromStorage(t)}floor_divide(e){let a=typeof e=="number"?e:e._storage,t=KJ(this._storage,a);return r._fromStorage(t)}positive(){let e=XJ(this._storage);return r._fromStorage(e)}reciprocal(){let e=HJ(this._storage);return r._fromStorage(e)}sqrt(){let e=uX(this._storage);return r._fromStorage(e)}power(e){let a=typeof e=="number"?e:e._storage,t=fX(this._storage,a);return r._fromStorage(t)}absolute(){let e=$J(this._storage);return r._fromStorage(e)}negative(){let e=YJ(this._storage);return r._fromStorage(e)}sign(){let e=WJ(this._storage);return r._fromStorage(e)}greater(e){let a=typeof e=="number"?e:e._storage,t=ZJ(this._storage,a);return r._fromStorage(t)}greater_equal(e){let a=typeof e=="number"?e:e._storage,t=QJ(this._storage,a);return r._fromStorage(t)}less(e){let a=typeof e=="number"?e:e._storage,t=rK(this._storage,a);return r._fromStorage(t)}less_equal(e){let a=typeof e=="number"?e:e._storage,t=eK(this._storage,a);return r._fromStorage(t)}equal(e){let a=typeof e=="number"?e:e._storage,t=aK(this._storage,a);return r._fromStorage(t)}not_equal(e){let a=typeof e=="number"?e:e._storage,t=tK(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 iK(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=oK(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=sK(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=nK(this._storage),t=e.data===this.data?this._base??this:void 0;return r._fromStorage(e,t)}transpose(e){let a=vK(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}squeeze(e){let a=uK(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}expand_dims(e){let a=fK(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}matmul(e){let a=vX(this._storage,e._storage);return r._fromStorage(a)}slice(...e){if(e.length===0)return this;if(e.length>this.ndim)throw new Error(`Too many indices for array: array is ${this.ndim}-dimensional, but ${e.length} were indexed`);let a=e.map((n,s)=>{let v=NJ(n);return DJ(v,this.shape[s])});for(;a.length<this.ndim;)a.push({start:0,stop:this.shape[a.length],step:1,isIndex:!1});let t=a.map((n,s)=>{if(n.isIndex)return n.start;{let v=n.start,u=n.stop;return n.step>0?(v===0&&(v=null),u===this.shape[s]&&(u=null)):(v===this.shape[s]-1&&(v=null),u===-1&&(u=null)),new cX.default(v,u,n.step)}}),o=(0,lX.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():ve.default.ndarray2array(this._data)}};function An(r,e=Xe){let a=je(e);if(!a)throw new Error(`Cannot create zeros array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=ve.default.ndarray(ne(e),o,r,ga(r),0,"row-major");return new Ie(i,e)}function ga(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 hc(r,e=Xe){let a=je(e);if(!a)throw new Error(`Cannot create ones array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t);Ir(e)?o.fill(BigInt(1)):o.fill(1);let i=ve.default.ndarray(ne(e),o,r,ga(r),0,"row-major");return new Ie(i,e)}function cKr(r){let e=[],a=r;for(;Array.isArray(a);)e.push(a.length),a=a[0];return e}function dX(r){return typeof r=="bigint"?!0:Array.isArray(r)?r.some(e=>dX(e)):!1}function dKr(r){let e=[];function a(t){Array.isArray(t)?t.forEach(o=>a(o)):e.push(t)}return a(r),e}function Xa(r,e){let a=dX(r);if(a&&e&&Ir(e)){let l=cKr(r),d=l.reduce((h,b)=>h*b,1),m=je(e);if(!m)throw new Error(`Cannot create array with dtype ${e}`);let p=new m(d),y=dKr(r);for(let h=0;h<d;h++){let b=y[h];p[h]=typeof b=="bigint"?b:BigInt(Math.round(Number(b)))}let g=ve.default.ndarray(ne(e),p,l,ga(l),0,"row-major");return new Ie(g,e)}if(a&&e===void 0){let l=JSON.parse(JSON.stringify(r,(m,p)=>typeof p=="bigint"?Number(p):p)),d=ve.default.array(l);return new Ie(d)}if(e===void 0){let l=ve.default.array(r);return new Ie(l)}let t=ve.default.array(r);if(ve.default.dtype(t)===e)return new Ie(t);let i=Array.from(ve.default.shape(t)),n=i.reduce((l,d)=>l*d,1),s=je(e);if(!s)throw new Error(`Cannot create array with dtype ${e}`);let v=new s(n),u=ve.default.dataBuffer(t);if(Ir(e))for(let l=0;l<n;l++)v[l]=BigInt(Math.round(Number(u[l])));else if(e==="bool")for(let l=0;l<n;l++)v[l]=u[l]?1:0;else for(let l=0;l<n;l++)v[l]=Number(u[l]);let f=ve.default.ndarray(ne(e),v,i,ga(i),0,"row-major");return new Ie(f,e)}function pX(r,e,a=1,t=Xe){let o=r,i=e;if(e===void 0&&(o=0,i=r),i===void 0)throw new Error("stop is required");let n=Math.max(0,Math.ceil((i-o)/a)),s=je(t);if(!s)throw new Error(`Cannot create arange array with dtype ${t}`);let v=new s(n);if(Ir(t))for(let f=0;f<n;f++)v[f]=BigInt(Math.round(o+f*a));else if(t==="bool")for(let f=0;f<n;f++)v[f]=o+f*a!==0?1:0;else for(let f=0;f<n;f++)v[f]=o+f*a;let u=ve.default.ndarray(ne(t),v,[n],[1],0,"row-major");return new Ie(u,t)}function yX(r,e,a=50,t=Xe){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=je(t);if(!o)throw new Error(`Cannot create linspace array with dtype ${t}`);let i=new o(a),n=(e-r)/(a-1);if(Ir(t))for(let v=0;v<a;v++)i[v]=BigInt(Math.round(r+v*n));else if(t==="bool")for(let v=0;v<a;v++)i[v]=r+v*n!==0?1:0;else for(let v=0;v<a;v++)i[v]=r+v*n;let s=ve.default.ndarray(ne(t),i,[a],[1],0,"row-major");return new Ie(s,t)}function mX(r,e,a=50,t=10,o=Xe){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=je(o);if(!i)throw new Error(`Cannot create logspace array with dtype ${o}`);let n=new i(a),s=(e-r)/(a-1);if(Ir(o))for(let u=0;u<a;u++){let f=r+u*s;n[u]=BigInt(Math.round(Math.pow(t,f)))}else if(o==="bool")for(let u=0;u<a;u++){let f=r+u*s;n[u]=Math.pow(t,f)!==0?1:0}else for(let u=0;u<a;u++){let f=r+u*s;n[u]=Math.pow(t,f)}let v=ve.default.ndarray(ne(o),n,[a],[1],0,"row-major");return new Ie(v,o)}function gX(r,e,a=50,t=Xe){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 n=je(t);if(!n)throw new Error(`Cannot create geomspace array with dtype ${t}`);let s=new n(a),v=Math.log(Math.abs(r)),f=(Math.log(Math.abs(e))-v)/(a-1);if(Ir(t))for(let d=0;d<a;d++){let m=o*Math.exp(v+d*f);s[d]=BigInt(Math.round(m))}else if(t==="bool")for(let d=0;d<a;d++){let m=o*Math.exp(v+d*f);s[d]=m!==0?1:0}else for(let d=0;d<a;d++){let m=o*Math.exp(v+d*f);s[d]=m}let l=ve.default.ndarray(ne(t),s,[a],[1],0,"row-major");return new Ie(l,t)}function bc(r,e,a=0,t=Xe){let o=e??r,i=An([r,o],t),n=i.data;if(Ir(t)){let s=n;for(let v=0;v<r;v++){let u=v+a;u>=0&&u<o&&(s[v*o+u]=BigInt(1))}}else{let s=n;for(let v=0;v<r;v++){let u=v+a;u>=0&&u<o&&(s[v*o+u]=1)}}return i}function xc(r,e=Xe){let a=je(e);if(!a)throw new Error(`Cannot create empty array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=ve.default.ndarray(ne(e),o,r,ga(r),0,"row-major");return new Ie(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=Xe);let o=je(t);if(!o)throw new Error(`Cannot create full array with dtype ${t}`);let i=r.reduce((v,u)=>v*u,1),n=new o(i);if(Ir(t)){let v=typeof e=="bigint"?e:BigInt(Math.round(Number(e)));n.fill(v)}else t==="bool"?n.fill(e?1:0):n.fill(Number(e));let s=ve.default.ndarray(ne(t),n,r,ga(r),0,"row-major");return new Ie(s,t)}function hX(r,e=Xe){return bc(r,r,0,e)}function bX(r,e){if(r instanceof Ie){if(!e||r.dtype===e)return r;let a=Array.from(r.shape),t=r.size,o=je(e);if(!o)throw new Error(`Cannot create array with dtype ${e}`);let i=new o(t),n=r.data;if(Ir(e))for(let v=0;v<t;v++)i[v]=BigInt(Math.round(Number(n[v])));else if(e==="bool")for(let v=0;v<t;v++)i[v]=n[v]?1:0;else for(let v=0;v<t;v++)i[v]=Number(n[v]);let s=ve.default.ndarray(ne(e),i,a,ga(a),0,"row-major");return new Ie(s,e)}return Xa(r,e)}function xX(r){let e=Array.from(r.shape),a=r.dtype,t=je(a);if(!t)throw new Error(`Cannot copy array with dtype ${a}`);let o=r.size,i=r.data,n=new t(o);if(r.flags.C_CONTIGUOUS)Ir(a),n.set(i);else{let v=Array.from(e),u=ga(v);for(let f=0;f<o;f++){let l=[],d=f;for(let p=0;p<v.length;p++){let y=u[p],g=Math.floor(d/y);l.push(g),d-=g*y}let m=r.get(l);Ir(a),n[f]=m}}let s=ve.default.ndarray(ne(a),n,e,ga(e),0,"row-major");return new Ie(s,a)}function qX(r,e){return An(Array.from(r.shape),e??r.dtype)}function wX(r,e){return hc(Array.from(r.shape),e??r.dtype)}function SX(r,e){return xc(Array.from(r.shape),e??r.dtype)}function EX(r,e,a){return qc(Array.from(r.shape),e,a??r.dtype)}function AX(r){return r.sqrt()}function _X(r,e){return r.power(e)}function jX(r){return r.absolute()}function TX(r){return r.negative()}function OX(r){return r.sign()}function IX(r,e){return r.mod(e)}function NX(r,e){return r.floor_divide(e)}function DX(r){return r.positive()}function kX(r){return r.reciprocal()}var pKr="0.2.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});
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/utils/define-property/lib/define_property.js:
7
- @stdlib/utils/define-property/lib/has_define_property_support.js:
8
- @stdlib/regexp/function-name/lib/main.js:
9
- @stdlib/regexp/function-name/lib/index.js:
10
- @stdlib/assert/has-bigint-support/lib/main.js:
11
- @stdlib/assert/has-bigint-support/lib/index.js:
12
- @stdlib/math/base/special/abs/lib/main.js:
13
- @stdlib/assert/is-dataview/lib/main.js:
14
- @stdlib/assert/is-dataview/lib/index.js:
15
- @stdlib/assert/has-dataview-support/lib/dataview.js:
16
- @stdlib/assert/has-dataview-support/lib/main.js:
17
- @stdlib/assert/has-dataview-support/lib/index.js:
18
- @stdlib/array/dataview/lib/main.js:
19
- @stdlib/array/dataview/lib/polyfill.js:
20
- @stdlib/array/dataview/lib/index.js:
21
- @stdlib/bigint/ctor/lib/main.js:
22
- @stdlib/bigint/ctor/lib/index.js:
23
- @stdlib/ndarray/dtypes/lib/enum.js:
24
- @stdlib/ndarray/dtypes/lib/assign.js:
25
- @stdlib/ndarray/orders/lib/enum.js:
26
- @stdlib/ndarray/index-modes/lib/enum.js:
27
- @stdlib/ndarray/base/ctor/lib/meta2dataview.js:
28
- @stdlib/number/float64/base/to-int64-bytes/lib/main.js:
29
- @stdlib/number/float64/base/to-int64-bytes/lib/assign.js:
30
- @stdlib/number/float64/base/to-int64-bytes/lib/index.js:
31
- @stdlib/ndarray/base/ctor/lib/meta2dataview.polyfill.js:
32
- @stdlib/complex/float32/real/lib/main.js:
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) 2021 The Stdlib Authors.
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/has-own-property/lib/main.js:
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-plain-object/lib/main.js:
199
- @stdlib/assert/is-plain-object/lib/index.js:
200
- @stdlib/assert/is-number/lib/primitive.js:
201
- @stdlib/number/ctor/lib/main.js:
202
- @stdlib/number/ctor/lib/index.js:
203
- @stdlib/assert/is-number/lib/tostring.js:
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/ndarray/base/assert/is-data-type/lib/main.js:
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/assert/is-row-major-contiguous/lib/main.js:
538
- @stdlib/ndarray/base/assert/is-row-major-contiguous/lib/index.js:
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/string/base/format-interpolate/lib/is_number.js:
650
- @stdlib/string/base/format-interpolate/lib/zero_pad.js:
651
- @stdlib/string/base/format-interpolate/lib/format_integer.js:
652
- @stdlib/string/base/format-interpolate/lib/is_string.js:
653
- @stdlib/string/base/format-interpolate/lib/format_double.js:
654
- @stdlib/string/base/format-interpolate/lib/space_pad.js:
655
- @stdlib/string/base/format-interpolate/lib/main.js:
656
- @stdlib/string/base/format-interpolate/lib/index.js:
657
- @stdlib/string/base/format-tokenize/lib/main.js:
658
- @stdlib/string/base/format-tokenize/lib/index.js:
659
- @stdlib/string/format/lib/is_string.js:
660
- @stdlib/string/format/lib/main.js:
661
- @stdlib/string/format/lib/index.js:
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) 2022 The Stdlib Authors.
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/ndarray/defaults/lib/main.js:
821
- @stdlib/ndarray/defaults/lib/get.js:
822
- @stdlib/ndarray/base/buffer-ctors/lib/ctors.js:
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: