bsv2 2.0.20 → 2.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bsv2.bundle.js +8 -0
- package/dist/{main.cjs.js → bsv2.cjs.js} +2 -2
- package/dist/bsv2.mjs +8 -0
- package/dist/bsv2.module.js +2 -0
- package/package.json +1 -1
- package/webpack.config.js +5 -16
- package/dist/770.module.js +0 -1
- package/dist/921.bundle.js +0 -7
- package/dist/921.mjs +0 -7
- package/dist/main.bundle.js +0 -2
- package/dist/main.mjs +0 -2
- package/dist/main.module.js +0 -2
- /package/dist/{main.cjs.js.LICENSE.txt → bsv2.cjs.js.LICENSE.txt} +0 -0
package/dist/921.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var pt=Object.defineProperty;var t=(q,$)=>pt(q,"name",{value:$,configurable:!0});(self.webpackChunkbsv2=self.webpackChunkbsv2||[]).push([[921],{4297:q=>{q.exports=$;function $(B){this._tables[0][0][0]||this._precompute();var _,k,N,R=this._tables[0][4],s=this._tables[1],h=B.length,c=1;if(h!==4&&h!==6&&h!==8)throw new Error("invalid aes key size");this._key=[k=B.slice(0),N=[]];for(var I=h;I<4*h+28;I++)_=k[I-1],(I%h===0||h===8&&I%h===4)&&(_=R[_>>>24]<<24^R[_>>16&255]<<16^R[_>>8&255]<<8^R[_&255],I%h===0&&(_=_<<8^_>>>24^c<<24,c=c<<1^(c>>7)*283)),k[I]=k[I-h]^_;for(var S=0;I;S++,I--)_=k[S&3?I:I-4],I<=4||S<4?N[S]=_:N[S]=s[0][R[_>>>24]]^s[1][R[_>>16&255]]^s[2][R[_>>8&255]]^s[3][R[_&255]]}t($,"AES"),$.prototype={encrypt:function(B){return this._crypt(B,0)},decrypt:function(B){return this._crypt(B,1)},_tables:[[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)]],_precompute:function(){var B=this._tables[0],_=this._tables[1],k=B[4],N=_[4],R,s,h,c=new Uint8Array(256),I=new Uint8Array(256),S,a,d,m,o,x;for(R=0;R<256;R++)I[(c[R]=R<<1^(R>>7)*283)^R]=R;for(s=h=0;!k[s];s^=S||1,h=I[h]||1)for(m=h^h<<1^h<<2^h<<3^h<<4,m=m>>8^m&255^99,k[s]=m,N[m]=s,d=c[a=c[S=c[s]]],x=d*16843009^a*65537^S*257^s*16843008,o=c[m]*257^m*16843008,R=0;R<4;R++)B[R][s]=o=o<<24^o>>>8,_[R][m]=x=x<<24^x>>>8},_crypt:function(B,_){if(B.length!==4)throw new Error("invalid aes block size");var k=this._key[_],N=B[0]^k[0],R=B[_?3:1]^k[1],s=B[2]^k[2],h=B[_?1:3]^k[3],c,I,S,a=k.length/4-2,d,m=4,o=new Uint32Array(4),x=this._tables[_],l=x[0],b=x[1],E=x[2],v=x[3],w=x[4];for(d=0;d<a;d++)c=l[N>>>24]^b[R>>16&255]^E[s>>8&255]^v[h&255]^k[m],I=l[R>>>24]^b[s>>16&255]^E[h>>8&255]^v[N&255]^k[m+1],S=l[s>>>24]^b[h>>16&255]^E[N>>8&255]^v[R&255]^k[m+2],h=l[h>>>24]^b[N>>16&255]^E[R>>8&255]^v[s&255]^k[m+3],m+=4,N=c,R=I,s=S;for(d=0;d<4;d++)o[_?3&-d:d]=w[N>>>24]<<24^w[R>>16&255]<<16^w[s>>8&255]<<8^w[h&255]^k[m++],c=N,N=R,R=s,s=h,h=c;return o}}},8162:q=>{function $(B){if(B.length>=255)throw new TypeError("Alphabet too long");for(var _=new Uint8Array(256),k=0;k<_.length;k++)_[k]=255;for(var N=0;N<B.length;N++){var R=B.charAt(N),s=R.charCodeAt(0);if(_[s]!==255)throw new TypeError(R+" is ambiguous");_[s]=N}var h=B.length,c=B.charAt(0),I=Math.log(h)/Math.log(256),S=Math.log(256)/Math.log(h);function a(o){if(o instanceof Uint8Array||(ArrayBuffer.isView(o)?o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength):Array.isArray(o)&&(o=Uint8Array.from(o))),!(o instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(o.length===0)return"";for(var x=0,l=0,b=0,E=o.length;b!==E&&o[b]===0;)b++,x++;for(var v=(E-b)*S+1>>>0,w=new Uint8Array(v);b!==E;){for(var A=o[b],T=0,O=v-1;(A!==0||T<l)&&O!==-1;O--,T++)A+=256*w[O]>>>0,w[O]=A%h>>>0,A=A/h>>>0;if(A!==0)throw new Error("Non-zero carry");l=T,b++}for(var H=v-l;H!==v&&w[H]===0;)H++;for(var J=c.repeat(x);H<v;++H)J+=B.charAt(w[H]);return J}t(a,"encode");function d(o){if(typeof o!="string")throw new TypeError("Expected String");if(o.length===0)return new Uint8Array;for(var x=0,l=0,b=0;o[x]===c;)l++,x++;for(var E=(o.length-x)*I+1>>>0,v=new Uint8Array(E);o[x];){var w=_[o.charCodeAt(x)];if(w===255)return;for(var A=0,T=E-1;(w!==0||A<b)&&T!==-1;T--,A++)w+=h*v[T]>>>0,v[T]=w%256>>>0,w=w/256>>>0;if(w!==0)throw new Error("Non-zero carry");b=A,x++}for(var O=E-b;O!==E&&v[O]===0;)O++;for(var H=new Uint8Array(l+(E-O)),J=l;O!==E;)H[J++]=v[O++];return H}t(d,"decodeUnsafe");function m(o){var x=d(o);if(x)return x;throw new Error("Non-base"+h+" character")}return t(m,"decode"),{encode:a,decodeUnsafe:d,decode:m}}t($,"base"),q.exports=$},9742:(q,$)=>{$.byteLength=c,$.toByteArray=S,$.fromByteArray=m;for(var B=[],_=[],k=typeof Uint8Array<"u"?Uint8Array:Array,N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R=0,s=N.length;R<s;++R)B[R]=N[R],_[N.charCodeAt(R)]=R;_[45]=62,_[95]=63;function h(o){var x=o.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=o.indexOf("=");l===-1&&(l=x);var b=l===x?0:4-l%4;return[l,b]}t(h,"getLens");function c(o){var x=h(o),l=x[0],b=x[1];return(l+b)*3/4-b}t(c,"byteLength");function I(o,x,l){return(x+l)*3/4-l}t(I,"_byteLength");function S(o){var x,l=h(o),b=l[0],E=l[1],v=new k(I(o,b,E)),w=0,A=E>0?b-4:b,T;for(T=0;T<A;T+=4)x=_[o.charCodeAt(T)]<<18|_[o.charCodeAt(T+1)]<<12|_[o.charCodeAt(T+2)]<<6|_[o.charCodeAt(T+3)],v[w++]=x>>16&255,v[w++]=x>>8&255,v[w++]=x&255;return E===2&&(x=_[o.charCodeAt(T)]<<2|_[o.charCodeAt(T+1)]>>4,v[w++]=x&255),E===1&&(x=_[o.charCodeAt(T)]<<10|_[o.charCodeAt(T+1)]<<4|_[o.charCodeAt(T+2)]>>2,v[w++]=x>>8&255,v[w++]=x&255),v}t(S,"toByteArray");function a(o){return B[o>>18&63]+B[o>>12&63]+B[o>>6&63]+B[o&63]}t(a,"tripletToBase64");function d(o,x,l){for(var b,E=[],v=x;v<l;v+=3)b=(o[v]<<16&16711680)+(o[v+1]<<8&65280)+(o[v+2]&255),E.push(a(b));return E.join("")}t(d,"encodeChunk");function m(o){for(var x,l=o.length,b=l%3,E=[],v=16383,w=0,A=l-b;w<A;w+=v)E.push(d(o,w,w+v>A?A:w+v));return b===1?(x=o[l-1],E.push(B[x>>2]+B[x<<4&63]+"==")):b===2&&(x=(o[l-2]<<8)+o[l-1],E.push(B[x>>10]+B[x>>4&63]+B[x<<2&63]+"=")),E.join("")}t(m,"fromByteArray")},4666:(q,$,B)=>{var _=$;_.version=B(2726).i8,_.utils=B(7359),_.rand=B(9931),_.curve=B(5104),_.curves=B(4626),_.ec=B(5630)},8015:(q,$,B)=>{var _=B(3550),k=B(7359),N=k.getNAF,R=k.getJSF,s=k.assert;function h(I,S){this.type=I,this.p=new _(S.p,16),this.red=S.prime?_.red(S.prime):_.mont(this.p),this.zero=new _(0).toRed(this.red),this.one=new _(1).toRed(this.red),this.two=new _(2).toRed(this.red),this.n=S.n&&new _(S.n,16),this.g=S.g&&this.pointFromJSON(S.g,S.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var a=this.n&&this.p.div(this.n);!a||a.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}t(h,"BaseCurve"),q.exports=h,h.prototype.point=t(function(){throw new Error("Not implemented")},"point"),h.prototype.validate=t(function(){throw new Error("Not implemented")},"validate"),h.prototype._fixedNafMul=t(function(S,a){s(S.precomputed);var d=S._getDoubles(),m=N(a,1,this._bitLength),o=(1<<d.step+1)-(d.step%2===0?2:1);o/=3;for(var x=[],l=0;l<m.length;l+=d.step){for(var b=0,a=l+d.step-1;a>=l;a--)b=(b<<1)+m[a];x.push(b)}for(var E=this.jpoint(null,null,null),v=this.jpoint(null,null,null),w=o;w>0;w--){for(var l=0;l<x.length;l++){var b=x[l];b===w?v=v.mixedAdd(d.points[l]):b===-w&&(v=v.mixedAdd(d.points[l].neg()))}E=E.add(v)}return E.toP()},"_fixedNafMul"),h.prototype._wnafMul=t(function(S,a){var d=4,m=S._getNAFPoints(d);d=m.wnd;for(var o=m.points,x=N(a,d,this._bitLength),l=this.jpoint(null,null,null),b=x.length-1;b>=0;b--){for(var a=0;b>=0&&x[b]===0;b--)a++;if(b>=0&&a++,l=l.dblp(a),b<0)break;var E=x[b];s(E!==0),S.type==="affine"?E>0?l=l.mixedAdd(o[E-1>>1]):l=l.mixedAdd(o[-E-1>>1].neg()):E>0?l=l.add(o[E-1>>1]):l=l.add(o[-E-1>>1].neg())}return S.type==="affine"?l.toP():l},"_wnafMul"),h.prototype._wnafMulAdd=t(function(S,a,d,m,o){for(var x=this._wnafT1,l=this._wnafT2,b=this._wnafT3,E=0,v=0;v<m;v++){var w=a[v],A=w._getNAFPoints(S);x[v]=A.wnd,l[v]=A.points}for(var v=m-1;v>=1;v-=2){var T=v-1,O=v;if(x[T]!==1||x[O]!==1){b[T]=N(d[T],x[T],this._bitLength),b[O]=N(d[O],x[O],this._bitLength),E=Math.max(b[T].length,E),E=Math.max(b[O].length,E);continue}var H=[a[T],null,null,a[O]];a[T].y.cmp(a[O].y)===0?(H[1]=a[T].add(a[O]),H[2]=a[T].toJ().mixedAdd(a[O].neg())):a[T].y.cmp(a[O].y.redNeg())===0?(H[1]=a[T].toJ().mixedAdd(a[O]),H[2]=a[T].add(a[O].neg())):(H[1]=a[T].toJ().mixedAdd(a[O]),H[2]=a[T].toJ().mixedAdd(a[O].neg()));var J=[-3,-1,-5,-7,0,7,5,1,3],ee=R(d[T],d[O]);E=Math.max(ee[0].length,E),b[T]=new Array(E),b[O]=new Array(E);for(var Y=0;Y<E;Y++){var te=ee[0][Y]|0,ae=ee[1][Y]|0;b[T][Y]=J[(te+1)*3+(ae+1)],b[O][Y]=0,l[T]=H}}for(var V=this.jpoint(null,null,null),g=this._wnafT4,v=E;v>=0;v--){for(var e=0;v>=0;){for(var i=!0,Y=0;Y<m;Y++)g[Y]=b[Y][v]|0,g[Y]!==0&&(i=!1);if(!i)break;e++,v--}if(v>=0&&e++,V=V.dblp(e),v<0)break;for(var Y=0;Y<m;Y++){var u=g[Y],w;u!==0&&(u>0?w=l[Y][u-1>>1]:u<0&&(w=l[Y][-u-1>>1].neg()),w.type==="affine"?V=V.mixedAdd(w):V=V.add(w))}}for(var v=0;v<m;v++)l[v]=null;return o?V:V.toP()},"_wnafMulAdd");function c(I,S){this.curve=I,this.type=S,this.precomputed=null}t(c,"BasePoint"),h.BasePoint=c,c.prototype.eq=t(function(){throw new Error("Not implemented")},"eq"),c.prototype.validate=t(function(){return this.curve.validate(this)},"validate"),h.prototype.decodePoint=t(function(S,a){S=k.toArray(S,a);var d=this.p.byteLength();if((S[0]===4||S[0]===6||S[0]===7)&&S.length-1===2*d){S[0]===6?s(S[S.length-1]%2===0):S[0]===7&&s(S[S.length-1]%2===1);var m=this.point(S.slice(1,1+d),S.slice(1+d,1+2*d));return m}else if((S[0]===2||S[0]===3)&&S.length-1===d)return this.pointFromX(S.slice(1,1+d),S[0]===3);throw new Error("Unknown point format")},"decodePoint"),c.prototype.encodeCompressed=t(function(S){return this.encode(S,!0)},"encodeCompressed"),c.prototype._encode=t(function(S){var a=this.curve.p.byteLength(),d=this.getX().toArray("be",a);return S?[this.getY().isEven()?2:3].concat(d):[4].concat(d,this.getY().toArray("be",a))},"_encode"),c.prototype.encode=t(function(S,a){return k.encode(this._encode(a),S)},"encode"),c.prototype.precompute=t(function(S){if(this.precomputed)return this;var a={doubles:null,naf:null,beta:null};return a.naf=this._getNAFPoints(8),a.doubles=this._getDoubles(4,S),a.beta=this._getBeta(),this.precomputed=a,this},"precompute"),c.prototype._hasDoubles=t(function(S){if(!this.precomputed)return!1;var a=this.precomputed.doubles;return a?a.points.length>=Math.ceil((S.bitLength()+1)/a.step):!1},"_hasDoubles"),c.prototype._getDoubles=t(function(S,a){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var d=[this],m=this,o=0;o<a;o+=S){for(var x=0;x<S;x++)m=m.dbl();d.push(m)}return{step:S,points:d}},"_getDoubles"),c.prototype._getNAFPoints=t(function(S){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var a=[this],d=(1<<S)-1,m=d===1?null:this.dbl(),o=1;o<d;o++)a[o]=a[o-1].add(m);return{wnd:S,points:a}},"_getNAFPoints"),c.prototype._getBeta=t(function(){return null},"_getBeta"),c.prototype.dblp=t(function(S){for(var a=this,d=0;d<S;d++)a=a.dbl();return a},"dblp")},5104:(q,$,B)=>{var _=$;_.base=B(8015),_.short=B(8505)},8505:(q,$,B)=>{var _=B(7359),k=B(3550),N=B(5717),R=B(8015),s=_.assert;function h(S){R.call(this,"short",S),this.a=new k(S.a,16).toRed(this.red),this.b=new k(S.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(S),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}t(h,"ShortCurve"),N(h,R),q.exports=h,h.prototype._getEndomorphism=t(function(a){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var d,m;if(a.beta)d=new k(a.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);d=o[0].cmp(o[1])<0?o[0]:o[1],d=d.toRed(this.red)}if(a.lambda)m=new k(a.lambda,16);else{var x=this._getEndoRoots(this.n);this.g.mul(x[0]).x.cmp(this.g.x.redMul(d))===0?m=x[0]:(m=x[1],s(this.g.mul(m).x.cmp(this.g.x.redMul(d))===0))}var l;return a.basis?l=a.basis.map(function(b){return{a:new k(b.a,16),b:new k(b.b,16)}}):l=this._getEndoBasis(m),{beta:d,lambda:m,basis:l}}},"_getEndomorphism"),h.prototype._getEndoRoots=t(function(a){var d=a===this.p?this.red:k.mont(a),m=new k(2).toRed(d).redInvm(),o=m.redNeg(),x=new k(3).toRed(d).redNeg().redSqrt().redMul(m),l=o.redAdd(x).fromRed(),b=o.redSub(x).fromRed();return[l,b]},"_getEndoRoots"),h.prototype._getEndoBasis=t(function(a){for(var d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),m=a,o=this.n.clone(),x=new k(1),l=new k(0),b=new k(0),E=new k(1),v,w,A,T,O,H,J,ee=0,Y,te;m.cmpn(0)!==0;){var ae=o.div(m);Y=o.sub(ae.mul(m)),te=b.sub(ae.mul(x));var V=E.sub(ae.mul(l));if(!A&&Y.cmp(d)<0)v=J.neg(),w=x,A=Y.neg(),T=te;else if(A&&++ee===2)break;J=Y,o=m,m=Y,b=x,x=te,E=l,l=V}O=Y.neg(),H=te;var g=A.sqr().add(T.sqr()),e=O.sqr().add(H.sqr());return e.cmp(g)>=0&&(O=v,H=w),A.negative&&(A=A.neg(),T=T.neg()),O.negative&&(O=O.neg(),H=H.neg()),[{a:A,b:T},{a:O,b:H}]},"_getEndoBasis"),h.prototype._endoSplit=t(function(a){var d=this.endo.basis,m=d[0],o=d[1],x=o.b.mul(a).divRound(this.n),l=m.b.neg().mul(a).divRound(this.n),b=x.mul(m.a),E=l.mul(o.a),v=x.mul(m.b),w=l.mul(o.b),A=a.sub(b).sub(E),T=v.add(w).neg();return{k1:A,k2:T}},"_endoSplit"),h.prototype.pointFromX=t(function(a,d){a=new k(a,16),a.red||(a=a.toRed(this.red));var m=a.redSqr().redMul(a).redIAdd(a.redMul(this.a)).redIAdd(this.b),o=m.redSqrt();if(o.redSqr().redSub(m).cmp(this.zero)!==0)throw new Error("invalid point");var x=o.fromRed().isOdd();return(d&&!x||!d&&x)&&(o=o.redNeg()),this.point(a,o)},"pointFromX"),h.prototype.validate=t(function(a){if(a.inf)return!0;var d=a.x,m=a.y,o=this.a.redMul(d),x=d.redSqr().redMul(d).redIAdd(o).redIAdd(this.b);return m.redSqr().redISub(x).cmpn(0)===0},"validate"),h.prototype._endoWnafMulAdd=t(function(a,d,m){for(var o=this._endoWnafT1,x=this._endoWnafT2,l=0;l<a.length;l++){var b=this._endoSplit(d[l]),E=a[l],v=E._getBeta();b.k1.negative&&(b.k1.ineg(),E=E.neg(!0)),b.k2.negative&&(b.k2.ineg(),v=v.neg(!0)),o[l*2]=E,o[l*2+1]=v,x[l*2]=b.k1,x[l*2+1]=b.k2}for(var w=this._wnafMulAdd(1,o,x,l*2,m),A=0;A<l*2;A++)o[A]=null,x[A]=null;return w},"_endoWnafMulAdd");function c(S,a,d,m){R.BasePoint.call(this,S,"affine"),a===null&&d===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new k(a,16),this.y=new k(d,16),m&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}t(c,"Point"),N(c,R.BasePoint),h.prototype.point=t(function(a,d,m){return new c(this,a,d,m)},"point"),h.prototype.pointFromJSON=t(function(a,d){return c.fromJSON(this,a,d)},"pointFromJSON"),c.prototype._getBeta=t(function(){if(this.curve.endo){var a=this.precomputed;if(a&&a.beta)return a.beta;var d=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(a){var m=this.curve,o=t(function(x){return m.point(x.x.redMul(m.endo.beta),x.y)},"endoMul");a.beta=d,d.precomputed={beta:null,naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(o)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(o)}}}return d}},"_getBeta"),c.prototype.toJSON=t(function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},"toJSON"),c.fromJSON=t(function(a,d,m){typeof d=="string"&&(d=JSON.parse(d));var o=a.point(d[0],d[1],m);if(!d[2])return o;function x(b){return a.point(b[0],b[1],m)}t(x,"obj2point");var l=d[2];return o.precomputed={beta:null,doubles:l.doubles&&{step:l.doubles.step,points:[o].concat(l.doubles.points.map(x))},naf:l.naf&&{wnd:l.naf.wnd,points:[o].concat(l.naf.points.map(x))}},o},"fromJSON"),c.prototype.inspect=t(function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},"inspect"),c.prototype.isInfinity=t(function(){return this.inf},"isInfinity"),c.prototype.add=t(function(a){if(this.inf)return a;if(a.inf)return this;if(this.eq(a))return this.dbl();if(this.neg().eq(a))return this.curve.point(null,null);if(this.x.cmp(a.x)===0)return this.curve.point(null,null);var d=this.y.redSub(a.y);d.cmpn(0)!==0&&(d=d.redMul(this.x.redSub(a.x).redInvm()));var m=d.redSqr().redISub(this.x).redISub(a.x),o=d.redMul(this.x.redSub(m)).redISub(this.y);return this.curve.point(m,o)},"add"),c.prototype.dbl=t(function(){if(this.inf)return this;var a=this.y.redAdd(this.y);if(a.cmpn(0)===0)return this.curve.point(null,null);var d=this.curve.a,m=this.x.redSqr(),o=a.redInvm(),x=m.redAdd(m).redIAdd(m).redIAdd(d).redMul(o),l=x.redSqr().redISub(this.x.redAdd(this.x)),b=x.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,b)},"dbl"),c.prototype.getX=t(function(){return this.x.fromRed()},"getX"),c.prototype.getY=t(function(){return this.y.fromRed()},"getY"),c.prototype.mul=t(function(a){return a=new k(a,16),this.isInfinity()?this:this._hasDoubles(a)?this.curve._fixedNafMul(this,a):this.curve.endo?this.curve._endoWnafMulAdd([this],[a]):this.curve._wnafMul(this,a)},"mul"),c.prototype.mulAdd=t(function(a,d,m){var o=[this,d],x=[a,m];return this.curve.endo?this.curve._endoWnafMulAdd(o,x):this.curve._wnafMulAdd(1,o,x,2)},"mulAdd"),c.prototype.jmulAdd=t(function(a,d,m){var o=[this,d],x=[a,m];return this.curve.endo?this.curve._endoWnafMulAdd(o,x,!0):this.curve._wnafMulAdd(1,o,x,2,!0)},"jmulAdd"),c.prototype.eq=t(function(a){return this===a||this.inf===a.inf&&(this.inf||this.x.cmp(a.x)===0&&this.y.cmp(a.y)===0)},"eq"),c.prototype.neg=t(function(a){if(this.inf)return this;var d=this.curve.point(this.x,this.y.redNeg());if(a&&this.precomputed){var m=this.precomputed,o=t(function(x){return x.neg()},"negate");d.precomputed={naf:m.naf&&{wnd:m.naf.wnd,points:m.naf.points.map(o)},doubles:m.doubles&&{step:m.doubles.step,points:m.doubles.points.map(o)}}}return d},"neg"),c.prototype.toJ=t(function(){if(this.inf)return this.curve.jpoint(null,null,null);var a=this.curve.jpoint(this.x,this.y,this.curve.one);return a},"toJ");function I(S,a,d,m){R.BasePoint.call(this,S,"jacobian"),a===null&&d===null&&m===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new k(0)):(this.x=new k(a,16),this.y=new k(d,16),this.z=new k(m,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}t(I,"JPoint"),N(I,R.BasePoint),h.prototype.jpoint=t(function(a,d,m){return new I(this,a,d,m)},"jpoint"),I.prototype.toP=t(function(){if(this.isInfinity())return this.curve.point(null,null);var a=this.z.redInvm(),d=a.redSqr(),m=this.x.redMul(d),o=this.y.redMul(d).redMul(a);return this.curve.point(m,o)},"toP"),I.prototype.neg=t(function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},"neg"),I.prototype.add=t(function(a){if(this.isInfinity())return a;if(a.isInfinity())return this;var d=a.z.redSqr(),m=this.z.redSqr(),o=this.x.redMul(d),x=a.x.redMul(m),l=this.y.redMul(d.redMul(a.z)),b=a.y.redMul(m.redMul(this.z)),E=o.redSub(x),v=l.redSub(b);if(E.cmpn(0)===0)return v.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var w=E.redSqr(),A=w.redMul(E),T=o.redMul(w),O=v.redSqr().redIAdd(A).redISub(T).redISub(T),H=v.redMul(T.redISub(O)).redISub(l.redMul(A)),J=this.z.redMul(a.z).redMul(E);return this.curve.jpoint(O,H,J)},"add"),I.prototype.mixedAdd=t(function(a){if(this.isInfinity())return a.toJ();if(a.isInfinity())return this;var d=this.z.redSqr(),m=this.x,o=a.x.redMul(d),x=this.y,l=a.y.redMul(d).redMul(this.z),b=m.redSub(o),E=x.redSub(l);if(b.cmpn(0)===0)return E.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var v=b.redSqr(),w=v.redMul(b),A=m.redMul(v),T=E.redSqr().redIAdd(w).redISub(A).redISub(A),O=E.redMul(A.redISub(T)).redISub(x.redMul(w)),H=this.z.redMul(b);return this.curve.jpoint(T,O,H)},"mixedAdd"),I.prototype.dblp=t(function(a){if(a===0)return this;if(this.isInfinity())return this;if(!a)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var d=this,m=0;m<a;m++)d=d.dbl();return d}for(var o=this.curve.a,x=this.curve.tinv,l=this.x,b=this.y,E=this.z,v=E.redSqr().redSqr(),w=b.redAdd(b),m=0;m<a;m++){var A=l.redSqr(),T=w.redSqr(),O=T.redSqr(),H=A.redAdd(A).redIAdd(A).redIAdd(o.redMul(v)),J=l.redMul(T),ee=H.redSqr().redISub(J.redAdd(J)),Y=J.redISub(ee),te=H.redMul(Y);te=te.redIAdd(te).redISub(O);var ae=w.redMul(E);m+1<a&&(v=v.redMul(O)),l=ee,E=ae,w=te}return this.curve.jpoint(l,w.redMul(x),E)},"dblp"),I.prototype.dbl=t(function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},"dbl"),I.prototype._zeroDbl=t(function(){var a,d,m;if(this.zOne){var o=this.x.redSqr(),x=this.y.redSqr(),l=x.redSqr(),b=this.x.redAdd(x).redSqr().redISub(o).redISub(l);b=b.redIAdd(b);var E=o.redAdd(o).redIAdd(o),v=E.redSqr().redISub(b).redISub(b),w=l.redIAdd(l);w=w.redIAdd(w),w=w.redIAdd(w),a=v,d=E.redMul(b.redISub(v)).redISub(w),m=this.y.redAdd(this.y)}else{var A=this.x.redSqr(),T=this.y.redSqr(),O=T.redSqr(),H=this.x.redAdd(T).redSqr().redISub(A).redISub(O);H=H.redIAdd(H);var J=A.redAdd(A).redIAdd(A),ee=J.redSqr(),Y=O.redIAdd(O);Y=Y.redIAdd(Y),Y=Y.redIAdd(Y),a=ee.redISub(H).redISub(H),d=J.redMul(H.redISub(a)).redISub(Y),m=this.y.redMul(this.z),m=m.redIAdd(m)}return this.curve.jpoint(a,d,m)},"_zeroDbl"),I.prototype._threeDbl=t(function(){var a,d,m;if(this.zOne){var o=this.x.redSqr(),x=this.y.redSqr(),l=x.redSqr(),b=this.x.redAdd(x).redSqr().redISub(o).redISub(l);b=b.redIAdd(b);var E=o.redAdd(o).redIAdd(o).redIAdd(this.curve.a),v=E.redSqr().redISub(b).redISub(b);a=v;var w=l.redIAdd(l);w=w.redIAdd(w),w=w.redIAdd(w),d=E.redMul(b.redISub(v)).redISub(w),m=this.y.redAdd(this.y)}else{var A=this.z.redSqr(),T=this.y.redSqr(),O=this.x.redMul(T),H=this.x.redSub(A).redMul(this.x.redAdd(A));H=H.redAdd(H).redIAdd(H);var J=O.redIAdd(O);J=J.redIAdd(J);var ee=J.redAdd(J);a=H.redSqr().redISub(ee),m=this.y.redAdd(this.z).redSqr().redISub(T).redISub(A);var Y=T.redSqr();Y=Y.redIAdd(Y),Y=Y.redIAdd(Y),Y=Y.redIAdd(Y),d=H.redMul(J.redISub(a)).redISub(Y)}return this.curve.jpoint(a,d,m)},"_threeDbl"),I.prototype._dbl=t(function(){var a=this.curve.a,d=this.x,m=this.y,o=this.z,x=o.redSqr().redSqr(),l=d.redSqr(),b=m.redSqr(),E=l.redAdd(l).redIAdd(l).redIAdd(a.redMul(x)),v=d.redAdd(d);v=v.redIAdd(v);var w=v.redMul(b),A=E.redSqr().redISub(w.redAdd(w)),T=w.redISub(A),O=b.redSqr();O=O.redIAdd(O),O=O.redIAdd(O),O=O.redIAdd(O);var H=E.redMul(T).redISub(O),J=m.redAdd(m).redMul(o);return this.curve.jpoint(A,H,J)},"_dbl"),I.prototype.trpl=t(function(){if(!this.curve.zeroA)return this.dbl().add(this);var a=this.x.redSqr(),d=this.y.redSqr(),m=this.z.redSqr(),o=d.redSqr(),x=a.redAdd(a).redIAdd(a),l=x.redSqr(),b=this.x.redAdd(d).redSqr().redISub(a).redISub(o);b=b.redIAdd(b),b=b.redAdd(b).redIAdd(b),b=b.redISub(l);var E=b.redSqr(),v=o.redIAdd(o);v=v.redIAdd(v),v=v.redIAdd(v),v=v.redIAdd(v);var w=x.redIAdd(b).redSqr().redISub(l).redISub(E).redISub(v),A=d.redMul(w);A=A.redIAdd(A),A=A.redIAdd(A);var T=this.x.redMul(E).redISub(A);T=T.redIAdd(T),T=T.redIAdd(T);var O=this.y.redMul(w.redMul(v.redISub(w)).redISub(b.redMul(E)));O=O.redIAdd(O),O=O.redIAdd(O),O=O.redIAdd(O);var H=this.z.redAdd(b).redSqr().redISub(m).redISub(E);return this.curve.jpoint(T,O,H)},"trpl"),I.prototype.mul=t(function(a,d){return a=new k(a,d),this.curve._wnafMul(this,a)},"mul"),I.prototype.eq=t(function(a){if(a.type==="affine")return this.eq(a.toJ());if(this===a)return!0;var d=this.z.redSqr(),m=a.z.redSqr();if(this.x.redMul(m).redISub(a.x.redMul(d)).cmpn(0)!==0)return!1;var o=d.redMul(this.z),x=m.redMul(a.z);return this.y.redMul(x).redISub(a.y.redMul(o)).cmpn(0)===0},"eq"),I.prototype.eqXToP=t(function(a){var d=this.z.redSqr(),m=a.toRed(this.curve.red).redMul(d);if(this.x.cmp(m)===0)return!0;for(var o=a.clone(),x=this.curve.redN.redMul(d);;){if(o.iadd(this.curve.n),o.cmp(this.curve.p)>=0)return!1;if(m.redIAdd(x),this.x.cmp(m)===0)return!0}},"eqXToP"),I.prototype.inspect=t(function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},"inspect"),I.prototype.isInfinity=t(function(){return this.z.cmpn(0)===0},"isInfinity")},4626:(q,$,B)=>{var _=$,k=B(3715),N=B(5104),R=B(7359),s=R.assert;function h(S){if(S.type!=="short")throw new Error("invalid curve type");this.curve=new N.short(S),this.g=this.curve.g,this.n=this.curve.n,this.hash=S.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t(h,"PresetCurve"),_.PresetCurve=h;function c(S,a){Object.defineProperty(_,S,{configurable:!0,enumerable:!0,get:function(){var d=new h(a);return Object.defineProperty(_,S,{configurable:!0,enumerable:!0,value:d}),d}})}t(c,"defineCurve");var I;try{I=B(2059)}catch{I=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:k.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",I]})},5630:(q,$,B)=>{var _=B(3550),k=B(2156),N=B(7359),R=B(4626),s=B(9931),h=N.assert,c=B(1119),I=B(1911);function S(a){if(!(this instanceof S))return new S(a);typeof a=="string"&&(h(R.hasOwnProperty(a),"Unknown curve "+a),a=R[a]),a instanceof R.PresetCurve&&(a={curve:a}),this.curve=a.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=a.curve.g,this.g.precompute(a.curve.n.bitLength()+1),this.hash=a.hash||a.curve.hash}t(S,"EC"),q.exports=S,S.prototype.keyPair=t(function(d){return new c(this,d)},"keyPair"),S.prototype.keyFromPrivate=t(function(d,m){return c.fromPrivate(this,d,m)},"keyFromPrivate"),S.prototype.keyFromPublic=t(function(d,m){return c.fromPublic(this,d,m)},"keyFromPublic"),S.prototype.genKeyPair=t(function(d){d||(d={});var m=new k({hash:this.hash,pers:d.pers,persEnc:d.persEnc||"utf8",entropy:d.entropy||s(this.hash.hmacStrength),entropyEnc:d.entropy&&d.entropyEnc||"utf8",nonce:this.n.toArray()}),o=this.n.byteLength(),x=this.n.sub(new _(2));do{var l=new _(m.generate(o));if(!(l.cmp(x)>0))return l.iaddn(1),this.keyFromPrivate(l)}while(!0)},"genKeyPair"),S.prototype._truncateToN=t(function(d,m){var o=d.byteLength()*8-this.n.bitLength();return o>0&&(d=d.ushrn(o)),!m&&d.cmp(this.n)>=0?d.sub(this.n):d},"truncateToN"),S.prototype.sign=t(function(d,m,o,x){typeof o=="object"&&(x=o,o=null),x||(x={}),m=this.keyFromPrivate(m,o),d=this._truncateToN(new _(d,16));for(var l=this.n.byteLength(),b=m.getPrivate().toArray("be",l),E=d.toArray("be",l),v=new k({hash:this.hash,entropy:b,nonce:E,pers:x.pers,persEnc:x.persEnc||"utf8"}),w=this.n.sub(new _(1)),A=0;;A++){var T=x.k?x.k(A):new _(v.generate(this.n.byteLength()));if(T=this._truncateToN(T,!0),!(T.cmpn(1)<=0||T.cmp(w)>=0)){var O=this.g.mul(T);if(!O.isInfinity()){var H=O.getX(),J=H.umod(this.n);if(J.cmpn(0)!==0){var ee=T.invm(this.n).mul(J.mul(m.getPrivate()).iadd(d));if(ee=ee.umod(this.n),ee.cmpn(0)!==0){var Y=(O.getY().isOdd()?1:0)|(H.cmp(J)!==0?2:0);return x.canonical&&ee.cmp(this.nh)>0&&(ee=this.n.sub(ee),Y^=1),new I({r:J,s:ee,recoveryParam:Y})}}}}}},"sign"),S.prototype.verify=t(function(d,m,o,x){d=this._truncateToN(new _(d,16)),o=this.keyFromPublic(o,x),m=new I(m,"hex");var l=m.r,b=m.s;if(l.cmpn(1)<0||l.cmp(this.n)>=0||b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var E=b.invm(this.n),v=E.mul(d).umod(this.n),w=E.mul(l).umod(this.n);if(!this.curve._maxwellTrick){var A=this.g.mulAdd(v,o.getPublic(),w);return A.isInfinity()?!1:A.getX().umod(this.n).cmp(l)===0}var A=this.g.jmulAdd(v,o.getPublic(),w);return A.isInfinity()?!1:A.eqXToP(l)},"verify"),S.prototype.recoverPubKey=function(a,d,m,o){h((3&m)===m,"The recovery param is more than two bits"),d=new I(d,o);var x=this.n,l=new _(a),b=d.r,E=d.s,v=m&1,w=m>>1;if(b.cmp(this.curve.p.umod(this.curve.n))>=0&&w)throw new Error("Unable to find sencond key candinate");w?b=this.curve.pointFromX(b.add(this.curve.n),v):b=this.curve.pointFromX(b,v);var A=d.r.invm(x),T=x.sub(l).mul(A).umod(x),O=E.mul(A).umod(x);return this.g.mulAdd(T,b,O)},S.prototype.getKeyRecoveryParam=function(a,d,m,o){if(d=new I(d,o),d.recoveryParam!==null)return d.recoveryParam;for(var x=0;x<4;x++){var l;try{l=this.recoverPubKey(a,d,x)}catch{continue}if(l.eq(m))return x}throw new Error("Unable to find valid recovery factor")}},1119:(q,$,B)=>{var _=B(3550),k=B(7359),N=k.assert;function R(s,h){this.ec=s,this.priv=null,this.pub=null,h.priv&&this._importPrivate(h.priv,h.privEnc),h.pub&&this._importPublic(h.pub,h.pubEnc)}t(R,"KeyPair"),q.exports=R,R.fromPublic=t(function(h,c,I){return c instanceof R?c:new R(h,{pub:c,pubEnc:I})},"fromPublic"),R.fromPrivate=t(function(h,c,I){return c instanceof R?c:new R(h,{priv:c,privEnc:I})},"fromPrivate"),R.prototype.validate=t(function(){var h=this.getPublic();return h.isInfinity()?{result:!1,reason:"Invalid public key"}:h.validate()?h.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},"validate"),R.prototype.getPublic=t(function(h,c){return typeof h=="string"&&(c=h,h=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),c?this.pub.encode(c,h):this.pub},"getPublic"),R.prototype.getPrivate=t(function(h){return h==="hex"?this.priv.toString(16,2):this.priv},"getPrivate"),R.prototype._importPrivate=t(function(h,c){this.priv=new _(h,c||16),this.priv=this.priv.umod(this.ec.curve.n)},"_importPrivate"),R.prototype._importPublic=t(function(h,c){if(h.x||h.y){this.ec.curve.type==="mont"?N(h.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&N(h.x&&h.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(h.x,h.y);return}this.pub=this.ec.curve.decodePoint(h,c)},"_importPublic"),R.prototype.derive=t(function(h){return h.mul(this.priv).getX()},"derive"),R.prototype.sign=t(function(h,c,I){return this.ec.sign(h,this,c,I)},"sign"),R.prototype.verify=t(function(h,c){return this.ec.verify(h,c,this)},"verify"),R.prototype.inspect=t(function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},"inspect")},1911:(q,$,B)=>{var _=B(3550),k=B(7359),N=k.assert;function R(S,a){if(S instanceof R)return S;this._importDER(S,a)||(N(S.r&&S.s,"Signature without r or s"),this.r=new _(S.r,16),this.s=new _(S.s,16),S.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=S.recoveryParam)}t(R,"Signature"),q.exports=R;function s(){this.place=0}t(s,"Position");function h(S,a){var d=S[a.place++];if(!(d&128))return d;for(var m=d&15,o=0,x=0,l=a.place;x<m;x++,l++)o<<=8,o|=S[l];return a.place=l,o}t(h,"getLength");function c(S){for(var a=0,d=S.length-1;!S[a]&&!(S[a+1]&128)&&a<d;)a++;return a===0?S:S.slice(a)}t(c,"rmPadding"),R.prototype._importDER=t(function(a,d){a=k.toArray(a,d);var m=new s;if(a[m.place++]!==48)return!1;var o=h(a,m);if(o+m.place!==a.length||a[m.place++]!==2)return!1;var x=h(a,m),l=a.slice(m.place,x+m.place);if(m.place+=x,a[m.place++]!==2)return!1;var b=h(a,m);if(a.length!==b+m.place)return!1;var E=a.slice(m.place,b+m.place);return l[0]===0&&l[1]&128&&(l=l.slice(1)),E[0]===0&&E[1]&128&&(E=E.slice(1)),this.r=new _(l),this.s=new _(E),this.recoveryParam=null,!0},"_importDER");function I(S,a){if(a<128){S.push(a);return}var d=1+(Math.log(a)/Math.LN2>>>3);for(S.push(d|128);--d;)S.push(a>>>(d<<3)&255);S.push(a)}t(I,"constructLength"),R.prototype.toDER=t(function(a){var d=this.r.toArray(),m=this.s.toArray();for(d[0]&128&&(d=[0].concat(d)),m[0]&128&&(m=[0].concat(m)),d=c(d),m=c(m);!m[0]&&!(m[1]&128);)m=m.slice(1);var o=[2];I(o,d.length),o=o.concat(d),o.push(2),I(o,m.length);var x=o.concat(m),l=[48];return I(l,x.length),l=l.concat(x),k.encode(l,a)},"toDER")},2059:q=>{q.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7359:(q,$,B)=>{var _=$,k=B(3550),N=B(9746),R=B(4504);_.assert=N,_.toArray=R.toArray,_.zero2=R.zero2,_.toHex=R.toHex,_.encode=R.encode;function s(a,d,m){var o=new Array(Math.max(a.bitLength(),m)+1);o.fill(0);for(var x=1<<d+1,l=a.clone(),b=0;b<o.length;b++){var E,v=l.andln(x-1);l.isOdd()?(v>(x>>1)-1?E=(x>>1)-v:E=v,l.isubn(E)):E=0,o[b]=E,l.iushrn(1)}return o}t(s,"getNAF"),_.getNAF=s;function h(a,d){var m=[[],[]];a=a.clone(),d=d.clone();for(var o=0,x=0;a.cmpn(-o)>0||d.cmpn(-x)>0;){var l=a.andln(3)+o&3,b=d.andln(3)+x&3;l===3&&(l=-1),b===3&&(b=-1);var E;if(!(l&1))E=0;else{var v=a.andln(7)+o&7;(v===3||v===5)&&b===2?E=-l:E=l}m[0].push(E);var w;if(!(b&1))w=0;else{var v=d.andln(7)+x&7;(v===3||v===5)&&l===2?w=-b:w=b}m[1].push(w),2*o===E+1&&(o=1-o),2*x===w+1&&(x=1-x),a.iushrn(1),d.iushrn(1)}return m}t(h,"getJSF"),_.getJSF=h;function c(a,d,m){var o="_"+d;a.prototype[d]=t(function(){return this[o]!==void 0?this[o]:this[o]=m.call(this)},"cachedProperty")}t(c,"cachedProperty"),_.cachedProperty=c;function I(a){return typeof a=="string"?_.toArray(a,"hex"):a}t(I,"parseBytes"),_.parseBytes=I;function S(a){return new k(a,"hex","le")}t(S,"intFromLE"),_.intFromLE=S},3550:function(q,$,B){q=B.nmd(q),function(_,k){"use strict";function N(g,e){if(!g)throw new Error(e||"Assertion failed")}t(N,"assert");function R(g,e){g.super_=e;var i=t(function(){},"TempCtor");i.prototype=e.prototype,g.prototype=new i,g.prototype.constructor=g}t(R,"inherits");function s(g,e,i){if(s.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,g!==null&&((e==="le"||e==="be")&&(i=e,e=10),this._init(g||0,e||10,i||"be"))}t(s,"BN"),typeof _=="object"?_.exports=s:k.BN=s,s.BN=s,s.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=B(6601).Buffer}catch{}s.isBN=t(function(e){return e instanceof s?!0:e!==null&&typeof e=="object"&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},"isBN"),s.max=t(function(e,i){return e.cmp(i)>0?e:i},"max"),s.min=t(function(e,i){return e.cmp(i)<0?e:i},"min"),s.prototype._init=t(function(e,i,u){if(typeof e=="number")return this._initNumber(e,i,u);if(typeof e=="object")return this._initArray(e,i,u);i==="hex"&&(i=16),N(i===(i|0)&&i>=2&&i<=36),e=e.toString().replace(/\s+/g,"");var p=0;e[0]==="-"&&(p++,this.negative=1),p<e.length&&(i===16?this._parseHex(e,p,u):(this._parseBase(e,i,p),u==="le"&&this._initArray(this.toArray(),i,u)))},"init"),s.prototype._initNumber=t(function(e,i,u){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[e&67108863],this.length=1):e<4503599627370496?(this.words=[e&67108863,e/67108864&67108863],this.length=2):(N(e<9007199254740992),this.words=[e&67108863,e/67108864&67108863,1],this.length=3),u==="le"&&this._initArray(this.toArray(),i,u)},"_initNumber"),s.prototype._initArray=t(function(e,i,u){if(N(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var M,D,z=0;if(u==="be")for(p=e.length-1,M=0;p>=0;p-=3)D=e[p]|e[p-1]<<8|e[p-2]<<16,this.words[M]|=D<<z&67108863,this.words[M+1]=D>>>26-z&67108863,z+=24,z>=26&&(z-=26,M++);else if(u==="le")for(p=0,M=0;p<e.length;p+=3)D=e[p]|e[p+1]<<8|e[p+2]<<16,this.words[M]|=D<<z&67108863,this.words[M+1]=D>>>26-z&67108863,z+=24,z>=26&&(z-=26,M++);return this._strip()},"_initArray");function c(g,e){var i=g.charCodeAt(e);if(i>=48&&i<=57)return i-48;if(i>=65&&i<=70)return i-55;if(i>=97&&i<=102)return i-87;N(!1,"Invalid character in "+g)}t(c,"parseHex4Bits");function I(g,e,i){var u=c(g,i);return i-1>=e&&(u|=c(g,i-1)<<4),u}t(I,"parseHexByte"),s.prototype._parseHex=t(function(e,i,u){this.length=Math.ceil((e.length-i)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var M=0,D=0,z;if(u==="be")for(p=e.length-1;p>=i;p-=2)z=I(e,i,p)<<M,this.words[D]|=z&67108863,M>=18?(M-=18,D+=1,this.words[D]|=z>>>26):M+=8;else{var L=e.length-i;for(p=L%2===0?i+1:i;p<e.length;p+=2)z=I(e,i,p)<<M,this.words[D]|=z&67108863,M>=18?(M-=18,D+=1,this.words[D]|=z>>>26):M+=8}this._strip()},"_parseHex");function S(g,e,i,u){for(var p=0,M=0,D=Math.min(g.length,i),z=e;z<D;z++){var L=g.charCodeAt(z)-48;p*=u,L>=49?M=L-49+10:L>=17?M=L-17+10:M=L,N(L>=0&&M<u,"Invalid character"),p+=M}return p}t(S,"parseBase"),s.prototype._parseBase=t(function(e,i,u){this.words=[0],this.length=1;for(var p=0,M=1;M<=67108863;M*=i)p++;p--,M=M/i|0;for(var D=e.length-u,z=D%p,L=Math.min(D,D-z)+u,f=0,P=u;P<L;P+=p)f=S(e,P,P+p,i),this.imuln(M),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(z!==0){var ie=1;for(f=S(e,P,e.length,i),P=0;P<z;P++)ie*=i;this.imuln(ie),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this._strip()},"_parseBase"),s.prototype.copy=t(function(e){e.words=new Array(this.length);for(var i=0;i<this.length;i++)e.words[i]=this.words[i];e.length=this.length,e.negative=this.negative,e.red=this.red},"copy");function a(g,e){g.words=e.words,g.length=e.length,g.negative=e.negative,g.red=e.red}if(t(a,"move"),s.prototype._move=t(function(e){a(e,this)},"_move"),s.prototype.clone=t(function(){var e=new s(null);return this.copy(e),e},"clone"),s.prototype._expand=t(function(e){for(;this.length<e;)this.words[this.length++]=0;return this},"_expand"),s.prototype._strip=t(function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},"strip"),s.prototype._normSign=t(function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},"_normSign"),typeof Symbol<"u"&&typeof Symbol.for=="function")try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch{s.prototype.inspect=d}else s.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}t(d,"inspect");var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],o=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],x=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=t(function(e,i){e=e||10,i=i|0||1;var u;if(e===16||e==="hex"){u="";for(var p=0,M=0,D=0;D<this.length;D++){var z=this.words[D],L=((z<<p|M)&16777215).toString(16);M=z>>>24-p&16777215,p+=2,p>=26&&(p-=26,D--),M!==0||D!==this.length-1?u=m[6-L.length]+L+u:u=L+u}for(M!==0&&(u=M.toString(16)+u);u.length%i!==0;)u="0"+u;return this.negative!==0&&(u="-"+u),u}if(e===(e|0)&&e>=2&&e<=36){var f=o[e],P=x[e];u="";var ie=this.clone();for(ie.negative=0;!ie.isZero();){var ne=ie.modrn(P).toString(e);ie=ie.idivn(P),ie.isZero()?u=ne+u:u=m[f-ne.length]+ne+u}for(this.isZero()&&(u="0"+u);u.length%i!==0;)u="0"+u;return this.negative!==0&&(u="-"+u),u}N(!1,"Base should be between 2 and 36")},"toString"),s.prototype.toNumber=t(function(){var e=this.words[0];return this.length===2?e+=this.words[1]*67108864:this.length===3&&this.words[2]===1?e+=4503599627370496+this.words[1]*67108864:this.length>2&&N(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},"toNumber"),s.prototype.toJSON=t(function(){return this.toString(16,2)},"toJSON"),h&&(s.prototype.toBuffer=t(function(e,i){return this.toArrayLike(h,e,i)},"toBuffer")),s.prototype.toArray=t(function(e,i){return this.toArrayLike(Array,e,i)},"toArray");var l=t(function(e,i){return e.allocUnsafe?e.allocUnsafe(i):new e(i)},"allocate");s.prototype.toArrayLike=t(function(e,i,u){this._strip();var p=this.byteLength(),M=u||Math.max(1,p);N(p<=M,"byte array longer than desired length"),N(M>0,"Requested array length <= 0");var D=l(e,M),z=i==="le"?"LE":"BE";return this["_toArrayLike"+z](D,p),D},"toArrayLike"),s.prototype._toArrayLikeLE=t(function(e,i){for(var u=0,p=0,M=0,D=0;M<this.length;M++){var z=this.words[M]<<D|p;e[u++]=z&255,u<e.length&&(e[u++]=z>>8&255),u<e.length&&(e[u++]=z>>16&255),D===6?(u<e.length&&(e[u++]=z>>24&255),p=0,D=0):(p=z>>>24,D+=2)}if(u<e.length)for(e[u++]=p;u<e.length;)e[u++]=0},"_toArrayLikeLE"),s.prototype._toArrayLikeBE=t(function(e,i){for(var u=e.length-1,p=0,M=0,D=0;M<this.length;M++){var z=this.words[M]<<D|p;e[u--]=z&255,u>=0&&(e[u--]=z>>8&255),u>=0&&(e[u--]=z>>16&255),D===6?(u>=0&&(e[u--]=z>>24&255),p=0,D=0):(p=z>>>24,D+=2)}if(u>=0)for(e[u--]=p;u>=0;)e[u--]=0},"_toArrayLikeBE"),Math.clz32?s.prototype._countBits=t(function(e){return 32-Math.clz32(e)},"_countBits"):s.prototype._countBits=t(function(e){var i=e,u=0;return i>=4096&&(u+=13,i>>>=13),i>=64&&(u+=7,i>>>=7),i>=8&&(u+=4,i>>>=4),i>=2&&(u+=2,i>>>=2),u+i},"_countBits"),s.prototype._zeroBits=t(function(e){if(e===0)return 26;var i=e,u=0;return i&8191||(u+=13,i>>>=13),i&127||(u+=7,i>>>=7),i&15||(u+=4,i>>>=4),i&3||(u+=2,i>>>=2),i&1||u++,u},"_zeroBits"),s.prototype.bitLength=t(function(){var e=this.words[this.length-1],i=this._countBits(e);return(this.length-1)*26+i},"bitLength");function b(g){for(var e=new Array(g.bitLength()),i=0;i<e.length;i++){var u=i/26|0,p=i%26;e[i]=g.words[u]>>>p&1}return e}t(b,"toBitArray"),s.prototype.zeroBits=t(function(){if(this.isZero())return 0;for(var e=0,i=0;i<this.length;i++){var u=this._zeroBits(this.words[i]);if(e+=u,u!==26)break}return e},"zeroBits"),s.prototype.byteLength=t(function(){return Math.ceil(this.bitLength()/8)},"byteLength"),s.prototype.toTwos=t(function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},"toTwos"),s.prototype.fromTwos=t(function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},"fromTwos"),s.prototype.isNeg=t(function(){return this.negative!==0},"isNeg"),s.prototype.neg=t(function(){return this.clone().ineg()},"neg"),s.prototype.ineg=t(function(){return this.isZero()||(this.negative^=1),this},"ineg"),s.prototype.iuor=t(function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var i=0;i<e.length;i++)this.words[i]=this.words[i]|e.words[i];return this._strip()},"iuor"),s.prototype.ior=t(function(e){return N((this.negative|e.negative)===0),this.iuor(e)},"ior"),s.prototype.or=t(function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},"or"),s.prototype.uor=t(function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},"uor"),s.prototype.iuand=t(function(e){var i;this.length>e.length?i=e:i=this;for(var u=0;u<i.length;u++)this.words[u]=this.words[u]&e.words[u];return this.length=i.length,this._strip()},"iuand"),s.prototype.iand=t(function(e){return N((this.negative|e.negative)===0),this.iuand(e)},"iand"),s.prototype.and=t(function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},"and"),s.prototype.uand=t(function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},"uand"),s.prototype.iuxor=t(function(e){var i,u;this.length>e.length?(i=this,u=e):(i=e,u=this);for(var p=0;p<u.length;p++)this.words[p]=i.words[p]^u.words[p];if(this!==i)for(;p<i.length;p++)this.words[p]=i.words[p];return this.length=i.length,this._strip()},"iuxor"),s.prototype.ixor=t(function(e){return N((this.negative|e.negative)===0),this.iuxor(e)},"ixor"),s.prototype.xor=t(function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},"xor"),s.prototype.uxor=t(function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},"uxor"),s.prototype.inotn=t(function(e){N(typeof e=="number"&&e>=0);var i=Math.ceil(e/26)|0,u=e%26;this._expand(i),u>0&&i--;for(var p=0;p<i;p++)this.words[p]=~this.words[p]&67108863;return u>0&&(this.words[p]=~this.words[p]&67108863>>26-u),this._strip()},"inotn"),s.prototype.notn=t(function(e){return this.clone().inotn(e)},"notn"),s.prototype.setn=t(function(e,i){N(typeof e=="number"&&e>=0);var u=e/26|0,p=e%26;return this._expand(u+1),i?this.words[u]=this.words[u]|1<<p:this.words[u]=this.words[u]&~(1<<p),this._strip()},"setn"),s.prototype.iadd=t(function(e){var i;if(this.negative!==0&&e.negative===0)return this.negative=0,i=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,i=this.isub(e),e.negative=1,i._normSign();var u,p;this.length>e.length?(u=this,p=e):(u=e,p=this);for(var M=0,D=0;D<p.length;D++)i=(u.words[D]|0)+(p.words[D]|0)+M,this.words[D]=i&67108863,M=i>>>26;for(;M!==0&&D<u.length;D++)i=(u.words[D]|0)+M,this.words[D]=i&67108863,M=i>>>26;if(this.length=u.length,M!==0)this.words[this.length]=M,this.length++;else if(u!==this)for(;D<u.length;D++)this.words[D]=u.words[D];return this},"iadd"),s.prototype.add=t(function(e){var i;return e.negative!==0&&this.negative===0?(e.negative=0,i=this.sub(e),e.negative^=1,i):e.negative===0&&this.negative!==0?(this.negative=0,i=e.sub(this),this.negative=1,i):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},"add"),s.prototype.isub=t(function(e){if(e.negative!==0){e.negative=0;var i=this.iadd(e);return e.negative=1,i._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var u=this.cmp(e);if(u===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,M;u>0?(p=this,M=e):(p=e,M=this);for(var D=0,z=0;z<M.length;z++)i=(p.words[z]|0)-(M.words[z]|0)+D,D=i>>26,this.words[z]=i&67108863;for(;D!==0&&z<p.length;z++)i=(p.words[z]|0)+D,D=i>>26,this.words[z]=i&67108863;if(D===0&&z<p.length&&p!==this)for(;z<p.length;z++)this.words[z]=p.words[z];return this.length=Math.max(this.length,z),p!==this&&(this.negative=1),this._strip()},"isub"),s.prototype.sub=t(function(e){return this.clone().isub(e)},"sub");function E(g,e,i){i.negative=e.negative^g.negative;var u=g.length+e.length|0;i.length=u,u=u-1|0;var p=g.words[0]|0,M=e.words[0]|0,D=p*M,z=D&67108863,L=D/67108864|0;i.words[0]=z;for(var f=1;f<u;f++){for(var P=L>>>26,ie=L&67108863,ne=Math.min(f,e.length-1),fe=Math.max(0,f-g.length+1);fe<=ne;fe++){var j=f-fe|0;p=g.words[j]|0,M=e.words[fe]|0,D=p*M+ie,P+=D/67108864|0,ie=D&67108863}i.words[f]=ie|0,L=P|0}return L!==0?i.words[f]=L|0:i.length--,i._strip()}t(E,"smallMulTo");var v=t(function(e,i,u){var p=e.words,M=i.words,D=u.words,z=0,L,f,P,ie=p[0]|0,ne=ie&8191,fe=ie>>>13,j=p[1]|0,K=j&8191,X=j>>>13,oe=p[2]|0,se=oe&8191,C=oe>>>13,U=p[3]|0,Q=U&8191,re=U>>>13,ve=p[4]|0,de=ve&8191,ce=ve>>>13,ze=p[5]|0,xe=ze&8191,ue=ze>>>13,we=p[6]|0,ge=we&8191,pe=we>>>13,He=p[7]|0,y=He&8191,r=He>>>13,n=p[8]|0,F=n&8191,W=n>>>13,G=p[9]|0,Z=G&8191,he=G>>>13,me=M[0]|0,le=me&8191,be=me>>>13,ye=M[1]|0,_e=ye&8191,Me=ye>>>13,ot=M[2]|0,Ee=ot&8191,Se=ot>>>13,st=M[3]|0,Ae=st&8191,Be=st>>>13,dt=M[4]|0,Ie=dt&8191,Re=dt>>>13,ht=M[5]|0,Le=ht&8191,Te=ht>>>13,ct=M[6]|0,Fe=ct&8191,Ce=ct>>>13,ut=M[7]|0,Ne=ut&8191,Pe=ut>>>13,lt=M[8]|0,Ue=lt&8191,Oe=lt>>>13,bt=M[9]|0,De=bt&8191,ke=bt>>>13;u.negative=e.negative^i.negative,u.length=19,L=Math.imul(ne,le),f=Math.imul(ne,be),f=f+Math.imul(fe,le)|0,P=Math.imul(fe,be);var We=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(We>>>26)|0,We&=67108863,L=Math.imul(K,le),f=Math.imul(K,be),f=f+Math.imul(X,le)|0,P=Math.imul(X,be),L=L+Math.imul(ne,_e)|0,f=f+Math.imul(ne,Me)|0,f=f+Math.imul(fe,_e)|0,P=P+Math.imul(fe,Me)|0;var Ke=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,L=Math.imul(se,le),f=Math.imul(se,be),f=f+Math.imul(C,le)|0,P=Math.imul(C,be),L=L+Math.imul(K,_e)|0,f=f+Math.imul(K,Me)|0,f=f+Math.imul(X,_e)|0,P=P+Math.imul(X,Me)|0,L=L+Math.imul(ne,Ee)|0,f=f+Math.imul(ne,Se)|0,f=f+Math.imul(fe,Ee)|0,P=P+Math.imul(fe,Se)|0;var je=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(je>>>26)|0,je&=67108863,L=Math.imul(Q,le),f=Math.imul(Q,be),f=f+Math.imul(re,le)|0,P=Math.imul(re,be),L=L+Math.imul(se,_e)|0,f=f+Math.imul(se,Me)|0,f=f+Math.imul(C,_e)|0,P=P+Math.imul(C,Me)|0,L=L+Math.imul(K,Ee)|0,f=f+Math.imul(K,Se)|0,f=f+Math.imul(X,Ee)|0,P=P+Math.imul(X,Se)|0,L=L+Math.imul(ne,Ae)|0,f=f+Math.imul(ne,Be)|0,f=f+Math.imul(fe,Ae)|0,P=P+Math.imul(fe,Be)|0;var Ve=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,L=Math.imul(de,le),f=Math.imul(de,be),f=f+Math.imul(ce,le)|0,P=Math.imul(ce,be),L=L+Math.imul(Q,_e)|0,f=f+Math.imul(Q,Me)|0,f=f+Math.imul(re,_e)|0,P=P+Math.imul(re,Me)|0,L=L+Math.imul(se,Ee)|0,f=f+Math.imul(se,Se)|0,f=f+Math.imul(C,Ee)|0,P=P+Math.imul(C,Se)|0,L=L+Math.imul(K,Ae)|0,f=f+Math.imul(K,Be)|0,f=f+Math.imul(X,Ae)|0,P=P+Math.imul(X,Be)|0,L=L+Math.imul(ne,Ie)|0,f=f+Math.imul(ne,Re)|0,f=f+Math.imul(fe,Ie)|0,P=P+Math.imul(fe,Re)|0;var $e=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+($e>>>26)|0,$e&=67108863,L=Math.imul(xe,le),f=Math.imul(xe,be),f=f+Math.imul(ue,le)|0,P=Math.imul(ue,be),L=L+Math.imul(de,_e)|0,f=f+Math.imul(de,Me)|0,f=f+Math.imul(ce,_e)|0,P=P+Math.imul(ce,Me)|0,L=L+Math.imul(Q,Ee)|0,f=f+Math.imul(Q,Se)|0,f=f+Math.imul(re,Ee)|0,P=P+Math.imul(re,Se)|0,L=L+Math.imul(se,Ae)|0,f=f+Math.imul(se,Be)|0,f=f+Math.imul(C,Ae)|0,P=P+Math.imul(C,Be)|0,L=L+Math.imul(K,Ie)|0,f=f+Math.imul(K,Re)|0,f=f+Math.imul(X,Ie)|0,P=P+Math.imul(X,Re)|0,L=L+Math.imul(ne,Le)|0,f=f+Math.imul(ne,Te)|0,f=f+Math.imul(fe,Le)|0,P=P+Math.imul(fe,Te)|0;var Ge=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,L=Math.imul(ge,le),f=Math.imul(ge,be),f=f+Math.imul(pe,le)|0,P=Math.imul(pe,be),L=L+Math.imul(xe,_e)|0,f=f+Math.imul(xe,Me)|0,f=f+Math.imul(ue,_e)|0,P=P+Math.imul(ue,Me)|0,L=L+Math.imul(de,Ee)|0,f=f+Math.imul(de,Se)|0,f=f+Math.imul(ce,Ee)|0,P=P+Math.imul(ce,Se)|0,L=L+Math.imul(Q,Ae)|0,f=f+Math.imul(Q,Be)|0,f=f+Math.imul(re,Ae)|0,P=P+Math.imul(re,Be)|0,L=L+Math.imul(se,Ie)|0,f=f+Math.imul(se,Re)|0,f=f+Math.imul(C,Ie)|0,P=P+Math.imul(C,Re)|0,L=L+Math.imul(K,Le)|0,f=f+Math.imul(K,Te)|0,f=f+Math.imul(X,Le)|0,P=P+Math.imul(X,Te)|0,L=L+Math.imul(ne,Fe)|0,f=f+Math.imul(ne,Ce)|0,f=f+Math.imul(fe,Fe)|0,P=P+Math.imul(fe,Ce)|0;var qe=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(qe>>>26)|0,qe&=67108863,L=Math.imul(y,le),f=Math.imul(y,be),f=f+Math.imul(r,le)|0,P=Math.imul(r,be),L=L+Math.imul(ge,_e)|0,f=f+Math.imul(ge,Me)|0,f=f+Math.imul(pe,_e)|0,P=P+Math.imul(pe,Me)|0,L=L+Math.imul(xe,Ee)|0,f=f+Math.imul(xe,Se)|0,f=f+Math.imul(ue,Ee)|0,P=P+Math.imul(ue,Se)|0,L=L+Math.imul(de,Ae)|0,f=f+Math.imul(de,Be)|0,f=f+Math.imul(ce,Ae)|0,P=P+Math.imul(ce,Be)|0,L=L+Math.imul(Q,Ie)|0,f=f+Math.imul(Q,Re)|0,f=f+Math.imul(re,Ie)|0,P=P+Math.imul(re,Re)|0,L=L+Math.imul(se,Le)|0,f=f+Math.imul(se,Te)|0,f=f+Math.imul(C,Le)|0,P=P+Math.imul(C,Te)|0,L=L+Math.imul(K,Fe)|0,f=f+Math.imul(K,Ce)|0,f=f+Math.imul(X,Fe)|0,P=P+Math.imul(X,Ce)|0,L=L+Math.imul(ne,Ne)|0,f=f+Math.imul(ne,Pe)|0,f=f+Math.imul(fe,Ne)|0,P=P+Math.imul(fe,Pe)|0;var Ye=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,L=Math.imul(F,le),f=Math.imul(F,be),f=f+Math.imul(W,le)|0,P=Math.imul(W,be),L=L+Math.imul(y,_e)|0,f=f+Math.imul(y,Me)|0,f=f+Math.imul(r,_e)|0,P=P+Math.imul(r,Me)|0,L=L+Math.imul(ge,Ee)|0,f=f+Math.imul(ge,Se)|0,f=f+Math.imul(pe,Ee)|0,P=P+Math.imul(pe,Se)|0,L=L+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Be)|0,f=f+Math.imul(ue,Ae)|0,P=P+Math.imul(ue,Be)|0,L=L+Math.imul(de,Ie)|0,f=f+Math.imul(de,Re)|0,f=f+Math.imul(ce,Ie)|0,P=P+Math.imul(ce,Re)|0,L=L+Math.imul(Q,Le)|0,f=f+Math.imul(Q,Te)|0,f=f+Math.imul(re,Le)|0,P=P+Math.imul(re,Te)|0,L=L+Math.imul(se,Fe)|0,f=f+Math.imul(se,Ce)|0,f=f+Math.imul(C,Fe)|0,P=P+Math.imul(C,Ce)|0,L=L+Math.imul(K,Ne)|0,f=f+Math.imul(K,Pe)|0,f=f+Math.imul(X,Ne)|0,P=P+Math.imul(X,Pe)|0,L=L+Math.imul(ne,Ue)|0,f=f+Math.imul(ne,Oe)|0,f=f+Math.imul(fe,Ue)|0,P=P+Math.imul(fe,Oe)|0;var Je=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Je>>>26)|0,Je&=67108863,L=Math.imul(Z,le),f=Math.imul(Z,be),f=f+Math.imul(he,le)|0,P=Math.imul(he,be),L=L+Math.imul(F,_e)|0,f=f+Math.imul(F,Me)|0,f=f+Math.imul(W,_e)|0,P=P+Math.imul(W,Me)|0,L=L+Math.imul(y,Ee)|0,f=f+Math.imul(y,Se)|0,f=f+Math.imul(r,Ee)|0,P=P+Math.imul(r,Se)|0,L=L+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Be)|0,f=f+Math.imul(pe,Ae)|0,P=P+Math.imul(pe,Be)|0,L=L+Math.imul(xe,Ie)|0,f=f+Math.imul(xe,Re)|0,f=f+Math.imul(ue,Ie)|0,P=P+Math.imul(ue,Re)|0,L=L+Math.imul(de,Le)|0,f=f+Math.imul(de,Te)|0,f=f+Math.imul(ce,Le)|0,P=P+Math.imul(ce,Te)|0,L=L+Math.imul(Q,Fe)|0,f=f+Math.imul(Q,Ce)|0,f=f+Math.imul(re,Fe)|0,P=P+Math.imul(re,Ce)|0,L=L+Math.imul(se,Ne)|0,f=f+Math.imul(se,Pe)|0,f=f+Math.imul(C,Ne)|0,P=P+Math.imul(C,Pe)|0,L=L+Math.imul(K,Ue)|0,f=f+Math.imul(K,Oe)|0,f=f+Math.imul(X,Ue)|0,P=P+Math.imul(X,Oe)|0,L=L+Math.imul(ne,De)|0,f=f+Math.imul(ne,ke)|0,f=f+Math.imul(fe,De)|0,P=P+Math.imul(fe,ke)|0;var Ze=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,L=Math.imul(Z,_e),f=Math.imul(Z,Me),f=f+Math.imul(he,_e)|0,P=Math.imul(he,Me),L=L+Math.imul(F,Ee)|0,f=f+Math.imul(F,Se)|0,f=f+Math.imul(W,Ee)|0,P=P+Math.imul(W,Se)|0,L=L+Math.imul(y,Ae)|0,f=f+Math.imul(y,Be)|0,f=f+Math.imul(r,Ae)|0,P=P+Math.imul(r,Be)|0,L=L+Math.imul(ge,Ie)|0,f=f+Math.imul(ge,Re)|0,f=f+Math.imul(pe,Ie)|0,P=P+Math.imul(pe,Re)|0,L=L+Math.imul(xe,Le)|0,f=f+Math.imul(xe,Te)|0,f=f+Math.imul(ue,Le)|0,P=P+Math.imul(ue,Te)|0,L=L+Math.imul(de,Fe)|0,f=f+Math.imul(de,Ce)|0,f=f+Math.imul(ce,Fe)|0,P=P+Math.imul(ce,Ce)|0,L=L+Math.imul(Q,Ne)|0,f=f+Math.imul(Q,Pe)|0,f=f+Math.imul(re,Ne)|0,P=P+Math.imul(re,Pe)|0,L=L+Math.imul(se,Ue)|0,f=f+Math.imul(se,Oe)|0,f=f+Math.imul(C,Ue)|0,P=P+Math.imul(C,Oe)|0,L=L+Math.imul(K,De)|0,f=f+Math.imul(K,ke)|0,f=f+Math.imul(X,De)|0,P=P+Math.imul(X,ke)|0;var Xe=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,L=Math.imul(Z,Ee),f=Math.imul(Z,Se),f=f+Math.imul(he,Ee)|0,P=Math.imul(he,Se),L=L+Math.imul(F,Ae)|0,f=f+Math.imul(F,Be)|0,f=f+Math.imul(W,Ae)|0,P=P+Math.imul(W,Be)|0,L=L+Math.imul(y,Ie)|0,f=f+Math.imul(y,Re)|0,f=f+Math.imul(r,Ie)|0,P=P+Math.imul(r,Re)|0,L=L+Math.imul(ge,Le)|0,f=f+Math.imul(ge,Te)|0,f=f+Math.imul(pe,Le)|0,P=P+Math.imul(pe,Te)|0,L=L+Math.imul(xe,Fe)|0,f=f+Math.imul(xe,Ce)|0,f=f+Math.imul(ue,Fe)|0,P=P+Math.imul(ue,Ce)|0,L=L+Math.imul(de,Ne)|0,f=f+Math.imul(de,Pe)|0,f=f+Math.imul(ce,Ne)|0,P=P+Math.imul(ce,Pe)|0,L=L+Math.imul(Q,Ue)|0,f=f+Math.imul(Q,Oe)|0,f=f+Math.imul(re,Ue)|0,P=P+Math.imul(re,Oe)|0,L=L+Math.imul(se,De)|0,f=f+Math.imul(se,ke)|0,f=f+Math.imul(C,De)|0,P=P+Math.imul(C,ke)|0;var Qe=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,L=Math.imul(Z,Ae),f=Math.imul(Z,Be),f=f+Math.imul(he,Ae)|0,P=Math.imul(he,Be),L=L+Math.imul(F,Ie)|0,f=f+Math.imul(F,Re)|0,f=f+Math.imul(W,Ie)|0,P=P+Math.imul(W,Re)|0,L=L+Math.imul(y,Le)|0,f=f+Math.imul(y,Te)|0,f=f+Math.imul(r,Le)|0,P=P+Math.imul(r,Te)|0,L=L+Math.imul(ge,Fe)|0,f=f+Math.imul(ge,Ce)|0,f=f+Math.imul(pe,Fe)|0,P=P+Math.imul(pe,Ce)|0,L=L+Math.imul(xe,Ne)|0,f=f+Math.imul(xe,Pe)|0,f=f+Math.imul(ue,Ne)|0,P=P+Math.imul(ue,Pe)|0,L=L+Math.imul(de,Ue)|0,f=f+Math.imul(de,Oe)|0,f=f+Math.imul(ce,Ue)|0,P=P+Math.imul(ce,Oe)|0,L=L+Math.imul(Q,De)|0,f=f+Math.imul(Q,ke)|0,f=f+Math.imul(re,De)|0,P=P+Math.imul(re,ke)|0;var et=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(et>>>26)|0,et&=67108863,L=Math.imul(Z,Ie),f=Math.imul(Z,Re),f=f+Math.imul(he,Ie)|0,P=Math.imul(he,Re),L=L+Math.imul(F,Le)|0,f=f+Math.imul(F,Te)|0,f=f+Math.imul(W,Le)|0,P=P+Math.imul(W,Te)|0,L=L+Math.imul(y,Fe)|0,f=f+Math.imul(y,Ce)|0,f=f+Math.imul(r,Fe)|0,P=P+Math.imul(r,Ce)|0,L=L+Math.imul(ge,Ne)|0,f=f+Math.imul(ge,Pe)|0,f=f+Math.imul(pe,Ne)|0,P=P+Math.imul(pe,Pe)|0,L=L+Math.imul(xe,Ue)|0,f=f+Math.imul(xe,Oe)|0,f=f+Math.imul(ue,Ue)|0,P=P+Math.imul(ue,Oe)|0,L=L+Math.imul(de,De)|0,f=f+Math.imul(de,ke)|0,f=f+Math.imul(ce,De)|0,P=P+Math.imul(ce,ke)|0;var tt=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(tt>>>26)|0,tt&=67108863,L=Math.imul(Z,Le),f=Math.imul(Z,Te),f=f+Math.imul(he,Le)|0,P=Math.imul(he,Te),L=L+Math.imul(F,Fe)|0,f=f+Math.imul(F,Ce)|0,f=f+Math.imul(W,Fe)|0,P=P+Math.imul(W,Ce)|0,L=L+Math.imul(y,Ne)|0,f=f+Math.imul(y,Pe)|0,f=f+Math.imul(r,Ne)|0,P=P+Math.imul(r,Pe)|0,L=L+Math.imul(ge,Ue)|0,f=f+Math.imul(ge,Oe)|0,f=f+Math.imul(pe,Ue)|0,P=P+Math.imul(pe,Oe)|0,L=L+Math.imul(xe,De)|0,f=f+Math.imul(xe,ke)|0,f=f+Math.imul(ue,De)|0,P=P+Math.imul(ue,ke)|0;var rt=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(rt>>>26)|0,rt&=67108863,L=Math.imul(Z,Fe),f=Math.imul(Z,Ce),f=f+Math.imul(he,Fe)|0,P=Math.imul(he,Ce),L=L+Math.imul(F,Ne)|0,f=f+Math.imul(F,Pe)|0,f=f+Math.imul(W,Ne)|0,P=P+Math.imul(W,Pe)|0,L=L+Math.imul(y,Ue)|0,f=f+Math.imul(y,Oe)|0,f=f+Math.imul(r,Ue)|0,P=P+Math.imul(r,Oe)|0,L=L+Math.imul(ge,De)|0,f=f+Math.imul(ge,ke)|0,f=f+Math.imul(pe,De)|0,P=P+Math.imul(pe,ke)|0;var it=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(it>>>26)|0,it&=67108863,L=Math.imul(Z,Ne),f=Math.imul(Z,Pe),f=f+Math.imul(he,Ne)|0,P=Math.imul(he,Pe),L=L+Math.imul(F,Ue)|0,f=f+Math.imul(F,Oe)|0,f=f+Math.imul(W,Ue)|0,P=P+Math.imul(W,Oe)|0,L=L+Math.imul(y,De)|0,f=f+Math.imul(y,ke)|0,f=f+Math.imul(r,De)|0,P=P+Math.imul(r,ke)|0;var nt=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(nt>>>26)|0,nt&=67108863,L=Math.imul(Z,Ue),f=Math.imul(Z,Oe),f=f+Math.imul(he,Ue)|0,P=Math.imul(he,Oe),L=L+Math.imul(F,De)|0,f=f+Math.imul(F,ke)|0,f=f+Math.imul(W,De)|0,P=P+Math.imul(W,ke)|0;var at=(z+L|0)+((f&8191)<<13)|0;z=(P+(f>>>13)|0)+(at>>>26)|0,at&=67108863,L=Math.imul(Z,De),f=Math.imul(Z,ke),f=f+Math.imul(he,De)|0,P=Math.imul(he,ke);var ft=(z+L|0)+((f&8191)<<13)|0;return z=(P+(f>>>13)|0)+(ft>>>26)|0,ft&=67108863,D[0]=We,D[1]=Ke,D[2]=je,D[3]=Ve,D[4]=$e,D[5]=Ge,D[6]=qe,D[7]=Ye,D[8]=Je,D[9]=Ze,D[10]=Xe,D[11]=Qe,D[12]=et,D[13]=tt,D[14]=rt,D[15]=it,D[16]=nt,D[17]=at,D[18]=ft,z!==0&&(D[19]=z,u.length++),u},"comb10MulTo");Math.imul||(v=E);function w(g,e,i){i.negative=e.negative^g.negative,i.length=g.length+e.length;for(var u=0,p=0,M=0;M<i.length-1;M++){var D=p;p=0;for(var z=u&67108863,L=Math.min(M,e.length-1),f=Math.max(0,M-g.length+1);f<=L;f++){var P=M-f,ie=g.words[P]|0,ne=e.words[f]|0,fe=ie*ne,j=fe&67108863;D=D+(fe/67108864|0)|0,j=j+z|0,z=j&67108863,D=D+(j>>>26)|0,p+=D>>>26,D&=67108863}i.words[M]=z,u=D,D=p}return u!==0?i.words[M]=u:i.length--,i._strip()}t(w,"bigMulTo");function A(g,e,i){return w(g,e,i)}t(A,"jumboMulTo"),s.prototype.mulTo=t(function(e,i){var u,p=this.length+e.length;return this.length===10&&e.length===10?u=v(this,e,i):p<63?u=E(this,e,i):p<1024?u=w(this,e,i):u=A(this,e,i),u},"mulTo");function T(g,e){this.x=g,this.y=e}t(T,"FFTM"),T.prototype.makeRBT=t(function(e){for(var i=new Array(e),u=s.prototype._countBits(e)-1,p=0;p<e;p++)i[p]=this.revBin(p,u,e);return i},"makeRBT"),T.prototype.revBin=t(function(e,i,u){if(e===0||e===u-1)return e;for(var p=0,M=0;M<i;M++)p|=(e&1)<<i-M-1,e>>=1;return p},"revBin"),T.prototype.permute=t(function(e,i,u,p,M,D){for(var z=0;z<D;z++)p[z]=i[e[z]],M[z]=u[e[z]]},"permute"),T.prototype.transform=t(function(e,i,u,p,M,D){this.permute(D,e,i,u,p,M);for(var z=1;z<M;z<<=1)for(var L=z<<1,f=Math.cos(2*Math.PI/L),P=Math.sin(2*Math.PI/L),ie=0;ie<M;ie+=L)for(var ne=f,fe=P,j=0;j<z;j++){var K=u[ie+j],X=p[ie+j],oe=u[ie+j+z],se=p[ie+j+z],C=ne*oe-fe*se;se=ne*se+fe*oe,oe=C,u[ie+j]=K+oe,p[ie+j]=X+se,u[ie+j+z]=K-oe,p[ie+j+z]=X-se,j!==L&&(C=f*ne-P*fe,fe=f*fe+P*ne,ne=C)}},"transform"),T.prototype.guessLen13b=t(function(e,i){var u=Math.max(i,e)|1,p=u&1,M=0;for(u=u/2|0;u;u=u>>>1)M++;return 1<<M+1+p},"guessLen13b"),T.prototype.conjugate=t(function(e,i,u){if(!(u<=1))for(var p=0;p<u/2;p++){var M=e[p];e[p]=e[u-p-1],e[u-p-1]=M,M=i[p],i[p]=-i[u-p-1],i[u-p-1]=-M}},"conjugate"),T.prototype.normalize13b=t(function(e,i){for(var u=0,p=0;p<i/2;p++){var M=Math.round(e[2*p+1]/i)*8192+Math.round(e[2*p]/i)+u;e[p]=M&67108863,M<67108864?u=0:u=M/67108864|0}return e},"normalize13b"),T.prototype.convert13b=t(function(e,i,u,p){for(var M=0,D=0;D<i;D++)M=M+(e[D]|0),u[2*D]=M&8191,M=M>>>13,u[2*D+1]=M&8191,M=M>>>13;for(D=2*i;D<p;++D)u[D]=0;N(M===0),N((M&-8192)===0)},"convert13b"),T.prototype.stub=t(function(e){for(var i=new Array(e),u=0;u<e;u++)i[u]=0;return i},"stub"),T.prototype.mulp=t(function(e,i,u){var p=2*this.guessLen13b(e.length,i.length),M=this.makeRBT(p),D=this.stub(p),z=new Array(p),L=new Array(p),f=new Array(p),P=new Array(p),ie=new Array(p),ne=new Array(p),fe=u.words;fe.length=p,this.convert13b(e.words,e.length,z,p),this.convert13b(i.words,i.length,P,p),this.transform(z,D,L,f,p,M),this.transform(P,D,ie,ne,p,M);for(var j=0;j<p;j++){var K=L[j]*ie[j]-f[j]*ne[j];f[j]=L[j]*ne[j]+f[j]*ie[j],L[j]=K}return this.conjugate(L,f,p),this.transform(L,f,fe,D,p,M),this.conjugate(fe,D,p),this.normalize13b(fe,p),u.negative=e.negative^i.negative,u.length=e.length+i.length,u._strip()},"mulp"),s.prototype.mul=t(function(e){var i=new s(null);return i.words=new Array(this.length+e.length),this.mulTo(e,i)},"mul"),s.prototype.mulf=t(function(e){var i=new s(null);return i.words=new Array(this.length+e.length),A(this,e,i)},"mulf"),s.prototype.imul=t(function(e){return this.clone().mulTo(e,this)},"imul"),s.prototype.imuln=t(function(e){var i=e<0;i&&(e=-e),N(typeof e=="number"),N(e<67108864);for(var u=0,p=0;p<this.length;p++){var M=(this.words[p]|0)*e,D=(M&67108863)+(u&67108863);u>>=26,u+=M/67108864|0,u+=D>>>26,this.words[p]=D&67108863}return u!==0&&(this.words[p]=u,this.length++),i?this.ineg():this},"imuln"),s.prototype.muln=t(function(e){return this.clone().imuln(e)},"muln"),s.prototype.sqr=t(function(){return this.mul(this)},"sqr"),s.prototype.isqr=t(function(){return this.imul(this.clone())},"isqr"),s.prototype.pow=t(function(e){var i=b(e);if(i.length===0)return new s(1);for(var u=this,p=0;p<i.length&&i[p]===0;p++,u=u.sqr());if(++p<i.length)for(var M=u.sqr();p<i.length;p++,M=M.sqr())i[p]!==0&&(u=u.mul(M));return u},"pow"),s.prototype.iushln=t(function(e){N(typeof e=="number"&&e>=0);var i=e%26,u=(e-i)/26,p=67108863>>>26-i<<26-i,M;if(i!==0){var D=0;for(M=0;M<this.length;M++){var z=this.words[M]&p,L=(this.words[M]|0)-z<<i;this.words[M]=L|D,D=z>>>26-i}D&&(this.words[M]=D,this.length++)}if(u!==0){for(M=this.length-1;M>=0;M--)this.words[M+u]=this.words[M];for(M=0;M<u;M++)this.words[M]=0;this.length+=u}return this._strip()},"iushln"),s.prototype.ishln=t(function(e){return N(this.negative===0),this.iushln(e)},"ishln"),s.prototype.iushrn=t(function(e,i,u){N(typeof e=="number"&&e>=0);var p;i?p=(i-i%26)/26:p=0;var M=e%26,D=Math.min((e-M)/26,this.length),z=67108863^67108863>>>M<<M,L=u;if(p-=D,p=Math.max(0,p),L){for(var f=0;f<D;f++)L.words[f]=this.words[f];L.length=D}if(D!==0)if(this.length>D)for(this.length-=D,f=0;f<this.length;f++)this.words[f]=this.words[f+D];else this.words[0]=0,this.length=1;var P=0;for(f=this.length-1;f>=0&&(P!==0||f>=p);f--){var ie=this.words[f]|0;this.words[f]=P<<26-M|ie>>>M,P=ie&z}return L&&P!==0&&(L.words[L.length++]=P),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},"iushrn"),s.prototype.ishrn=t(function(e,i,u){return N(this.negative===0),this.iushrn(e,i,u)},"ishrn"),s.prototype.shln=t(function(e){return this.clone().ishln(e)},"shln"),s.prototype.ushln=t(function(e){return this.clone().iushln(e)},"ushln"),s.prototype.shrn=t(function(e){return this.clone().ishrn(e)},"shrn"),s.prototype.ushrn=t(function(e){return this.clone().iushrn(e)},"ushrn"),s.prototype.testn=t(function(e){N(typeof e=="number"&&e>=0);var i=e%26,u=(e-i)/26,p=1<<i;if(this.length<=u)return!1;var M=this.words[u];return!!(M&p)},"testn"),s.prototype.imaskn=t(function(e){N(typeof e=="number"&&e>=0);var i=e%26,u=(e-i)/26;if(N(this.negative===0,"imaskn works only with positive numbers"),this.length<=u)return this;if(i!==0&&u++,this.length=Math.min(u,this.length),i!==0){var p=67108863^67108863>>>i<<i;this.words[this.length-1]&=p}return this._strip()},"imaskn"),s.prototype.maskn=t(function(e){return this.clone().imaskn(e)},"maskn"),s.prototype.iaddn=t(function(e){return N(typeof e=="number"),N(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(this.words[0]|0)<=e?(this.words[0]=e-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},"iaddn"),s.prototype._iaddn=t(function(e){this.words[0]+=e;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},"_iaddn"),s.prototype.isubn=t(function(e){if(N(typeof e=="number"),N(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this._strip()},"isubn"),s.prototype.addn=t(function(e){return this.clone().iaddn(e)},"addn"),s.prototype.subn=t(function(e){return this.clone().isubn(e)},"subn"),s.prototype.iabs=t(function(){return this.negative=0,this},"iabs"),s.prototype.abs=t(function(){return this.clone().iabs()},"abs"),s.prototype._ishlnsubmul=t(function(e,i,u){var p=e.length+u,M;this._expand(p);var D,z=0;for(M=0;M<e.length;M++){D=(this.words[M+u]|0)+z;var L=(e.words[M]|0)*i;D-=L&67108863,z=(D>>26)-(L/67108864|0),this.words[M+u]=D&67108863}for(;M<this.length-u;M++)D=(this.words[M+u]|0)+z,z=D>>26,this.words[M+u]=D&67108863;if(z===0)return this._strip();for(N(z===-1),z=0,M=0;M<this.length;M++)D=-(this.words[M]|0)+z,z=D>>26,this.words[M]=D&67108863;return this.negative=1,this._strip()},"_ishlnsubmul"),s.prototype._wordDiv=t(function(e,i){var u=this.length-e.length,p=this.clone(),M=e,D=M.words[M.length-1]|0,z=this._countBits(D);u=26-z,u!==0&&(M=M.ushln(u),p.iushln(u),D=M.words[M.length-1]|0);var L=p.length-M.length,f;if(i!=="mod"){f=new s(null),f.length=L+1,f.words=new Array(f.length);for(var P=0;P<f.length;P++)f.words[P]=0}var ie=p.clone()._ishlnsubmul(M,1,L);ie.negative===0&&(p=ie,f&&(f.words[L]=1));for(var ne=L-1;ne>=0;ne--){var fe=(p.words[M.length+ne]|0)*67108864+(p.words[M.length+ne-1]|0);for(fe=Math.min(fe/D|0,67108863),p._ishlnsubmul(M,fe,ne);p.negative!==0;)fe--,p.negative=0,p._ishlnsubmul(M,1,ne),p.isZero()||(p.negative^=1);f&&(f.words[ne]=fe)}return f&&f._strip(),p._strip(),i!=="div"&&u!==0&&p.iushrn(u),{div:f||null,mod:p}},"_wordDiv"),s.prototype.divmod=t(function(e,i,u){if(N(!e.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var p,M,D;return this.negative!==0&&e.negative===0?(D=this.neg().divmod(e,i),i!=="mod"&&(p=D.div.neg()),i!=="div"&&(M=D.mod.neg(),u&&M.negative!==0&&M.iadd(e)),{div:p,mod:M}):this.negative===0&&e.negative!==0?(D=this.divmod(e.neg(),i),i!=="mod"&&(p=D.div.neg()),{div:p,mod:D.mod}):this.negative&e.negative?(D=this.neg().divmod(e.neg(),i),i!=="div"&&(M=D.mod.neg(),u&&M.negative!==0&&M.isub(e)),{div:D.div,mod:M}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:e.length===1?i==="div"?{div:this.divn(e.words[0]),mod:null}:i==="mod"?{div:null,mod:new s(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modrn(e.words[0]))}:this._wordDiv(e,i)},"divmod"),s.prototype.div=t(function(e){return this.divmod(e,"div",!1).div},"div"),s.prototype.mod=t(function(e){return this.divmod(e,"mod",!1).mod},"mod"),s.prototype.umod=t(function(e){return this.divmod(e,"mod",!0).mod},"umod"),s.prototype.divRound=t(function(e){var i=this.divmod(e);if(i.mod.isZero())return i.div;var u=i.div.negative!==0?i.mod.isub(e):i.mod,p=e.ushrn(1),M=e.andln(1),D=u.cmp(p);return D<0||M===1&&D===0?i.div:i.div.negative!==0?i.div.isubn(1):i.div.iaddn(1)},"divRound"),s.prototype.modrn=t(function(e){var i=e<0;i&&(e=-e),N(e<=67108863);for(var u=(1<<26)%e,p=0,M=this.length-1;M>=0;M--)p=(u*p+(this.words[M]|0))%e;return i?-p:p},"modrn"),s.prototype.modn=t(function(e){return this.modrn(e)},"modn"),s.prototype.idivn=t(function(e){var i=e<0;i&&(e=-e),N(e<=67108863);for(var u=0,p=this.length-1;p>=0;p--){var M=(this.words[p]|0)+u*67108864;this.words[p]=M/e|0,u=M%e}return this._strip(),i?this.ineg():this},"idivn"),s.prototype.divn=t(function(e){return this.clone().idivn(e)},"divn"),s.prototype.egcd=t(function(e){N(e.negative===0),N(!e.isZero());var i=this,u=e.clone();i.negative!==0?i=i.umod(e):i=i.clone();for(var p=new s(1),M=new s(0),D=new s(0),z=new s(1),L=0;i.isEven()&&u.isEven();)i.iushrn(1),u.iushrn(1),++L;for(var f=u.clone(),P=i.clone();!i.isZero();){for(var ie=0,ne=1;!(i.words[0]&ne)&&ie<26;++ie,ne<<=1);if(ie>0)for(i.iushrn(ie);ie-- >0;)(p.isOdd()||M.isOdd())&&(p.iadd(f),M.isub(P)),p.iushrn(1),M.iushrn(1);for(var fe=0,j=1;!(u.words[0]&j)&&fe<26;++fe,j<<=1);if(fe>0)for(u.iushrn(fe);fe-- >0;)(D.isOdd()||z.isOdd())&&(D.iadd(f),z.isub(P)),D.iushrn(1),z.iushrn(1);i.cmp(u)>=0?(i.isub(u),p.isub(D),M.isub(z)):(u.isub(i),D.isub(p),z.isub(M))}return{a:D,b:z,gcd:u.iushln(L)}},"egcd"),s.prototype._invmp=t(function(e){N(e.negative===0),N(!e.isZero());var i=this,u=e.clone();i.negative!==0?i=i.umod(e):i=i.clone();for(var p=new s(1),M=new s(0),D=u.clone();i.cmpn(1)>0&&u.cmpn(1)>0;){for(var z=0,L=1;!(i.words[0]&L)&&z<26;++z,L<<=1);if(z>0)for(i.iushrn(z);z-- >0;)p.isOdd()&&p.iadd(D),p.iushrn(1);for(var f=0,P=1;!(u.words[0]&P)&&f<26;++f,P<<=1);if(f>0)for(u.iushrn(f);f-- >0;)M.isOdd()&&M.iadd(D),M.iushrn(1);i.cmp(u)>=0?(i.isub(u),p.isub(M)):(u.isub(i),M.isub(p))}var ie;return i.cmpn(1)===0?ie=p:ie=M,ie.cmpn(0)<0&&ie.iadd(e),ie},"_invmp"),s.prototype.gcd=t(function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var i=this.clone(),u=e.clone();i.negative=0,u.negative=0;for(var p=0;i.isEven()&&u.isEven();p++)i.iushrn(1),u.iushrn(1);do{for(;i.isEven();)i.iushrn(1);for(;u.isEven();)u.iushrn(1);var M=i.cmp(u);if(M<0){var D=i;i=u,u=D}else if(M===0||u.cmpn(1)===0)break;i.isub(u)}while(!0);return u.iushln(p)},"gcd"),s.prototype.invm=t(function(e){return this.egcd(e).a.umod(e)},"invm"),s.prototype.isEven=t(function(){return(this.words[0]&1)===0},"isEven"),s.prototype.isOdd=t(function(){return(this.words[0]&1)===1},"isOdd"),s.prototype.andln=t(function(e){return this.words[0]&e},"andln"),s.prototype.bincn=t(function(e){N(typeof e=="number");var i=e%26,u=(e-i)/26,p=1<<i;if(this.length<=u)return this._expand(u+1),this.words[u]|=p,this;for(var M=p,D=u;M!==0&&D<this.length;D++){var z=this.words[D]|0;z+=M,M=z>>>26,z&=67108863,this.words[D]=z}return M!==0&&(this.words[D]=M,this.length++),this},"bincn"),s.prototype.isZero=t(function(){return this.length===1&&this.words[0]===0},"isZero"),s.prototype.cmpn=t(function(e){var i=e<0;if(this.negative!==0&&!i)return-1;if(this.negative===0&&i)return 1;this._strip();var u;if(this.length>1)u=1;else{i&&(e=-e),N(e<=67108863,"Number is too big");var p=this.words[0]|0;u=p===e?0:p<e?-1:1}return this.negative!==0?-u|0:u},"cmpn"),s.prototype.cmp=t(function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var i=this.ucmp(e);return this.negative!==0?-i|0:i},"cmp"),s.prototype.ucmp=t(function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var i=0,u=this.length-1;u>=0;u--){var p=this.words[u]|0,M=e.words[u]|0;if(p!==M){p<M?i=-1:p>M&&(i=1);break}}return i},"ucmp"),s.prototype.gtn=t(function(e){return this.cmpn(e)===1},"gtn"),s.prototype.gt=t(function(e){return this.cmp(e)===1},"gt"),s.prototype.gten=t(function(e){return this.cmpn(e)>=0},"gten"),s.prototype.gte=t(function(e){return this.cmp(e)>=0},"gte"),s.prototype.ltn=t(function(e){return this.cmpn(e)===-1},"ltn"),s.prototype.lt=t(function(e){return this.cmp(e)===-1},"lt"),s.prototype.lten=t(function(e){return this.cmpn(e)<=0},"lten"),s.prototype.lte=t(function(e){return this.cmp(e)<=0},"lte"),s.prototype.eqn=t(function(e){return this.cmpn(e)===0},"eqn"),s.prototype.eq=t(function(e){return this.cmp(e)===0},"eq"),s.red=t(function(e){return new ae(e)},"red"),s.prototype.toRed=t(function(e){return N(!this.red,"Already a number in reduction context"),N(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},"toRed"),s.prototype.fromRed=t(function(){return N(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},"fromRed"),s.prototype._forceRed=t(function(e){return this.red=e,this},"_forceRed"),s.prototype.forceRed=t(function(e){return N(!this.red,"Already a number in reduction context"),this._forceRed(e)},"forceRed"),s.prototype.redAdd=t(function(e){return N(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},"redAdd"),s.prototype.redIAdd=t(function(e){return N(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},"redIAdd"),s.prototype.redSub=t(function(e){return N(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},"redSub"),s.prototype.redISub=t(function(e){return N(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},"redISub"),s.prototype.redShl=t(function(e){return N(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},"redShl"),s.prototype.redMul=t(function(e){return N(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},"redMul"),s.prototype.redIMul=t(function(e){return N(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},"redIMul"),s.prototype.redSqr=t(function(){return N(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},"redSqr"),s.prototype.redISqr=t(function(){return N(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},"redISqr"),s.prototype.redSqrt=t(function(){return N(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},"redSqrt"),s.prototype.redInvm=t(function(){return N(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},"redInvm"),s.prototype.redNeg=t(function(){return N(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},"redNeg"),s.prototype.redPow=t(function(e){return N(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)},"redPow");var O={k256:null,p224:null,p192:null,p25519:null};function H(g,e){this.name=g,this.p=new s(e,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}t(H,"MPrime"),H.prototype._tmp=t(function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},"_tmp"),H.prototype.ireduce=t(function(e){var i=e,u;do this.split(i,this.tmp),i=this.imulK(i),i=i.iadd(this.tmp),u=i.bitLength();while(u>this.n);var p=u<this.n?-1:i.ucmp(this.p);return p===0?(i.words[0]=0,i.length=1):p>0?i.isub(this.p):i.strip!==void 0?i.strip():i._strip(),i},"ireduce"),H.prototype.split=t(function(e,i){e.iushrn(this.n,0,i)},"split"),H.prototype.imulK=t(function(e){return e.imul(this.k)},"imulK");function J(){H.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(J,"K256"),R(J,H),J.prototype.split=t(function(e,i){for(var u=4194303,p=Math.min(e.length,9),M=0;M<p;M++)i.words[M]=e.words[M];if(i.length=p,e.length<=9){e.words[0]=0,e.length=1;return}var D=e.words[9];for(i.words[i.length++]=D&u,M=10;M<e.length;M++){var z=e.words[M]|0;e.words[M-10]=(z&u)<<4|D>>>22,D=z}D>>>=22,e.words[M-10]=D,D===0&&e.length>10?e.length-=10:e.length-=9},"split"),J.prototype.imulK=t(function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var i=0,u=0;u<e.length;u++){var p=e.words[u]|0;i+=p*977,e.words[u]=i&67108863,i=p*64+(i/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},"imulK");function ee(){H.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(ee,"P224"),R(ee,H);function Y(){H.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(Y,"P192"),R(Y,H);function te(){H.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(te,"P25519"),R(te,H),te.prototype.imulK=t(function(e){for(var i=0,u=0;u<e.length;u++){var p=(e.words[u]|0)*19+i,M=p&67108863;p>>>=26,e.words[u]=M,i=p}return i!==0&&(e.words[e.length++]=i),e},"imulK"),s._prime=t(function(e){if(O[e])return O[e];var i;if(e==="k256")i=new J;else if(e==="p224")i=new ee;else if(e==="p192")i=new Y;else if(e==="p25519")i=new te;else throw new Error("Unknown prime "+e);return O[e]=i,i},"prime");function ae(g){if(typeof g=="string"){var e=s._prime(g);this.m=e.p,this.prime=e}else N(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}t(ae,"Red"),ae.prototype._verify1=t(function(e){N(e.negative===0,"red works only with positives"),N(e.red,"red works only with red numbers")},"_verify1"),ae.prototype._verify2=t(function(e,i){N((e.negative|i.negative)===0,"red works only with positives"),N(e.red&&e.red===i.red,"red works only with red numbers")},"_verify2"),ae.prototype.imod=t(function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(a(e,e.umod(this.m)._forceRed(this)),e)},"imod"),ae.prototype.neg=t(function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},"neg"),ae.prototype.add=t(function(e,i){this._verify2(e,i);var u=e.add(i);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},"add"),ae.prototype.iadd=t(function(e,i){this._verify2(e,i);var u=e.iadd(i);return u.cmp(this.m)>=0&&u.isub(this.m),u},"iadd"),ae.prototype.sub=t(function(e,i){this._verify2(e,i);var u=e.sub(i);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},"sub"),ae.prototype.isub=t(function(e,i){this._verify2(e,i);var u=e.isub(i);return u.cmpn(0)<0&&u.iadd(this.m),u},"isub"),ae.prototype.shl=t(function(e,i){return this._verify1(e),this.imod(e.ushln(i))},"shl"),ae.prototype.imul=t(function(e,i){return this._verify2(e,i),this.imod(e.imul(i))},"imul"),ae.prototype.mul=t(function(e,i){return this._verify2(e,i),this.imod(e.mul(i))},"mul"),ae.prototype.isqr=t(function(e){return this.imul(e,e.clone())},"isqr"),ae.prototype.sqr=t(function(e){return this.mul(e,e)},"sqr"),ae.prototype.sqrt=t(function(e){if(e.isZero())return e.clone();var i=this.m.andln(3);if(N(i%2===1),i===3){var u=this.m.add(new s(1)).iushrn(2);return this.pow(e,u)}for(var p=this.m.subn(1),M=0;!p.isZero()&&p.andln(1)===0;)M++,p.iushrn(1);N(!p.isZero());var D=new s(1).toRed(this),z=D.redNeg(),L=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new s(2*f*f).toRed(this);this.pow(f,L).cmp(z)!==0;)f.redIAdd(z);for(var P=this.pow(f,p),ie=this.pow(e,p.addn(1).iushrn(1)),ne=this.pow(e,p),fe=M;ne.cmp(D)!==0;){for(var j=ne,K=0;j.cmp(D)!==0;K++)j=j.redSqr();N(K<fe);var X=this.pow(P,new s(1).iushln(fe-K-1));ie=ie.redMul(X),P=X.redSqr(),ne=ne.redMul(P),fe=K}return ie},"sqrt"),ae.prototype.invm=t(function(e){var i=e._invmp(this.m);return i.negative!==0?(i.negative=0,this.imod(i).redNeg()):this.imod(i)},"invm"),ae.prototype.pow=t(function(e,i){if(i.isZero())return new s(1).toRed(this);if(i.cmpn(1)===0)return e.clone();var u=4,p=new Array(1<<u);p[0]=new s(1).toRed(this),p[1]=e;for(var M=2;M<p.length;M++)p[M]=this.mul(p[M-1],e);var D=p[0],z=0,L=0,f=i.bitLength()%26;for(f===0&&(f=26),M=i.length-1;M>=0;M--){for(var P=i.words[M],ie=f-1;ie>=0;ie--){var ne=P>>ie&1;if(D!==p[0]&&(D=this.sqr(D)),ne===0&&z===0){L=0;continue}z<<=1,z|=ne,L++,!(L!==u&&(M!==0||ie!==0))&&(D=this.mul(D,p[z]),L=0,z=0)}f=26}return D},"pow"),ae.prototype.convertTo=t(function(e){var i=e.umod(this.m);return i===e?i.clone():i},"convertTo"),ae.prototype.convertFrom=t(function(e){var i=e.clone();return i.red=null,i},"convertFrom"),s.mont=t(function(e){return new V(e)},"mont");function V(g){ae.call(this,g),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(V,"Mont"),R(V,ae),V.prototype.convertTo=t(function(e){return this.imod(e.ushln(this.shift))},"convertTo"),V.prototype.convertFrom=t(function(e){var i=this.imod(e.mul(this.rinv));return i.red=null,i},"convertFrom"),V.prototype.imul=t(function(e,i){if(e.isZero()||i.isZero())return e.words[0]=0,e.length=1,e;var u=e.imul(i),p=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=u.isub(p).iushrn(this.shift),D=M;return M.cmp(this.m)>=0?D=M.isub(this.m):M.cmpn(0)<0&&(D=M.iadd(this.m)),D._forceRed(this)},"imul"),V.prototype.mul=t(function(e,i){if(e.isZero()||i.isZero())return new s(0)._forceRed(this);var u=e.mul(i),p=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=u.isub(p).iushrn(this.shift),D=M;return M.cmp(this.m)>=0?D=M.isub(this.m):M.cmpn(0)<0&&(D=M.iadd(this.m)),D._forceRed(this)},"mul"),V.prototype.invm=t(function(e){var i=this.imod(e._invmp(this.m).mul(this.r2));return i._forceRed(this)},"invm")}(q,this)},9931:(q,$,B)=>{var _;q.exports=t(function(s){return _||(_=new k(null)),_.generate(s)},"rand");function k(R){this.rand=R}if(t(k,"Rand"),q.exports.Rand=k,k.prototype.generate=t(function(s){return this._rand(s)},"generate"),k.prototype._rand=t(function(s){if(this.rand.getBytes)return this.rand.getBytes(s);for(var h=new Uint8Array(s),c=0;c<h.length;c++)h[c]=this.rand.getByte();return h},"_rand"),typeof self=="object")self.crypto&&self.crypto.getRandomValues?k.prototype._rand=t(function(s){var h=new Uint8Array(s);return self.crypto.getRandomValues(h),h},"_rand"):self.msCrypto&&self.msCrypto.getRandomValues?k.prototype._rand=t(function(s){var h=new Uint8Array(s);return self.msCrypto.getRandomValues(h),h},"_rand"):typeof window=="object"&&(k.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var N=B(9214);if(typeof N.randomBytes!="function")throw new Error("Not supported");k.prototype._rand=t(function(s){return N.randomBytes(s)},"_rand")}catch{}},7191:(q,$,B)=>{const _=B(8162),k="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";q.exports=_(k)},8764:(q,$,B)=>{/*!
|
|
2
|
-
* The buffer module from node.js, for the browser.
|
|
3
|
-
*
|
|
4
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/const _=B(9742),k=B(645),N=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;$.Buffer=c,$.SlowBuffer=v,$.INSPECT_MAX_BYTES=50;const R=2147483647;$.kMaxLength=R,c.TYPED_ARRAY_SUPPORT=s(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{const y=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(y,r),y.foo()===42}catch{return!1}}t(s,"typedArraySupport"),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function h(y){if(y>R)throw new RangeError('The value "'+y+'" is invalid for option "size"');const r=new Uint8Array(y);return Object.setPrototypeOf(r,c.prototype),r}t(h,"createBuffer");function c(y,r,n){if(typeof y=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(y)}return I(y,r,n)}t(c,"Buffer"),c.poolSize=8192;function I(y,r,n){if(typeof y=="string")return m(y,r);if(ArrayBuffer.isView(y))return x(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(ue(y,ArrayBuffer)||y&&ue(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ue(y,SharedArrayBuffer)||y&&ue(y.buffer,SharedArrayBuffer)))return l(y,r,n);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const F=y.valueOf&&y.valueOf();if(F!=null&&F!==y)return c.from(F,r,n);const W=b(y);if(W)return W;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return c.from(y[Symbol.toPrimitive]("string"),r,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}t(I,"from"),c.from=function(y,r,n){return I(y,r,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function S(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}t(S,"assertSize");function a(y,r,n){return S(y),y<=0?h(y):r!==void 0?typeof n=="string"?h(y).fill(r,n):h(y).fill(r):h(y)}t(a,"alloc"),c.alloc=function(y,r,n){return a(y,r,n)};function d(y){return S(y),h(y<0?0:E(y)|0)}t(d,"allocUnsafe"),c.allocUnsafe=function(y){return d(y)},c.allocUnsafeSlow=function(y){return d(y)};function m(y,r){if((typeof r!="string"||r==="")&&(r="utf8"),!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const n=w(y,r)|0;let F=h(n);const W=F.write(y,r);return W!==n&&(F=F.slice(0,W)),F}t(m,"fromString");function o(y){const r=y.length<0?0:E(y.length)|0,n=h(r);for(let F=0;F<r;F+=1)n[F]=y[F]&255;return n}t(o,"fromArrayLike");function x(y){if(ue(y,Uint8Array)){const r=new Uint8Array(y);return l(r.buffer,r.byteOffset,r.byteLength)}return o(y)}t(x,"fromArrayView");function l(y,r,n){if(r<0||y.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');let F;return r===void 0&&n===void 0?F=new Uint8Array(y):n===void 0?F=new Uint8Array(y,r):F=new Uint8Array(y,r,n),Object.setPrototypeOf(F,c.prototype),F}t(l,"fromArrayBuffer");function b(y){if(c.isBuffer(y)){const r=E(y.length)|0,n=h(r);return n.length===0||y.copy(n,0,0,r),n}if(y.length!==void 0)return typeof y.length!="number"||we(y.length)?h(0):o(y);if(y.type==="Buffer"&&Array.isArray(y.data))return o(y.data)}t(b,"fromObject");function E(y){if(y>=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return y|0}t(E,"checked");function v(y){return+y!=y&&(y=0),c.alloc(+y)}t(v,"SlowBuffer"),c.isBuffer=t(function(r){return r!=null&&r._isBuffer===!0&&r!==c.prototype},"isBuffer"),c.compare=t(function(r,n){if(ue(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),ue(n,Uint8Array)&&(n=c.from(n,n.offset,n.byteLength)),!c.isBuffer(r)||!c.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===n)return 0;let F=r.length,W=n.length;for(let G=0,Z=Math.min(F,W);G<Z;++G)if(r[G]!==n[G]){F=r[G],W=n[G];break}return F<W?-1:W<F?1:0},"compare"),c.isEncoding=t(function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},"isEncoding"),c.concat=t(function(r,n){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return c.alloc(0);let F;if(n===void 0)for(n=0,F=0;F<r.length;++F)n+=r[F].length;const W=c.allocUnsafe(n);let G=0;for(F=0;F<r.length;++F){let Z=r[F];if(ue(Z,Uint8Array))G+Z.length>W.length?(c.isBuffer(Z)||(Z=c.from(Z)),Z.copy(W,G)):Uint8Array.prototype.set.call(W,Z,G);else if(c.isBuffer(Z))Z.copy(W,G);else throw new TypeError('"list" argument must be an Array of Buffers');G+=Z.length}return W},"concat");function w(y,r){if(c.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||ue(y,ArrayBuffer))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const n=y.length,F=arguments.length>2&&arguments[2]===!0;if(!F&&n===0)return 0;let W=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ve(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return ze(y).length;default:if(W)return F?-1:ve(y).length;r=(""+r).toLowerCase(),W=!0}}t(w,"byteLength"),c.byteLength=w;function A(y,r,n){let F=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,r>>>=0,n<=r))return"";for(y||(y="utf8");;)switch(y){case"hex":return M(this,r,n);case"utf8":case"utf-8":return g(this,r,n);case"ascii":return u(this,r,n);case"latin1":case"binary":return p(this,r,n);case"base64":return V(this,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,r,n);default:if(F)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),F=!0}}t(A,"slowToString"),c.prototype._isBuffer=!0;function T(y,r,n){const F=y[r];y[r]=y[n],y[n]=F}t(T,"swap"),c.prototype.swap16=t(function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;n<r;n+=2)T(this,n,n+1);return this},"swap16"),c.prototype.swap32=t(function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let n=0;n<r;n+=4)T(this,n,n+3),T(this,n+1,n+2);return this},"swap32"),c.prototype.swap64=t(function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let n=0;n<r;n+=8)T(this,n,n+7),T(this,n+1,n+6),T(this,n+2,n+5),T(this,n+3,n+4);return this},"swap64"),c.prototype.toString=t(function(){const r=this.length;return r===0?"":arguments.length===0?g(this,0,r):A.apply(this,arguments)},"toString"),c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=t(function(r){if(!c.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:c.compare(this,r)===0},"equals"),c.prototype.inspect=t(function(){let r="";const n=$.INSPECT_MAX_BYTES;return r=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(r+=" ... "),"<Buffer "+r+">"},"inspect"),N&&(c.prototype[N]=c.prototype.inspect),c.prototype.compare=t(function(r,n,F,W,G){if(ue(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(n===void 0&&(n=0),F===void 0&&(F=r?r.length:0),W===void 0&&(W=0),G===void 0&&(G=this.length),n<0||F>r.length||W<0||G>this.length)throw new RangeError("out of range index");if(W>=G&&n>=F)return 0;if(W>=G)return-1;if(n>=F)return 1;if(n>>>=0,F>>>=0,W>>>=0,G>>>=0,this===r)return 0;let Z=G-W,he=F-n;const me=Math.min(Z,he),le=this.slice(W,G),be=r.slice(n,F);for(let ye=0;ye<me;++ye)if(le[ye]!==be[ye]){Z=le[ye],he=be[ye];break}return Z<he?-1:he<Z?1:0},"compare");function O(y,r,n,F,W){if(y.length===0)return-1;if(typeof n=="string"?(F=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,we(n)&&(n=W?0:y.length-1),n<0&&(n=y.length+n),n>=y.length){if(W)return-1;n=y.length-1}else if(n<0)if(W)n=0;else return-1;if(typeof r=="string"&&(r=c.from(r,F)),c.isBuffer(r))return r.length===0?-1:H(y,r,n,F,W);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?W?Uint8Array.prototype.indexOf.call(y,r,n):Uint8Array.prototype.lastIndexOf.call(y,r,n):H(y,[r],n,F,W);throw new TypeError("val must be string, number or Buffer")}t(O,"bidirectionalIndexOf");function H(y,r,n,F,W){let G=1,Z=y.length,he=r.length;if(F!==void 0&&(F=String(F).toLowerCase(),F==="ucs2"||F==="ucs-2"||F==="utf16le"||F==="utf-16le")){if(y.length<2||r.length<2)return-1;G=2,Z/=2,he/=2,n/=2}function me(be,ye){return G===1?be[ye]:be.readUInt16BE(ye*G)}t(me,"read");let le;if(W){let be=-1;for(le=n;le<Z;le++)if(me(y,le)===me(r,be===-1?0:le-be)){if(be===-1&&(be=le),le-be+1===he)return be*G}else be!==-1&&(le-=le-be),be=-1}else for(n+he>Z&&(n=Z-he),le=n;le>=0;le--){let be=!0;for(let ye=0;ye<he;ye++)if(me(y,le+ye)!==me(r,ye)){be=!1;break}if(be)return le}return-1}t(H,"arrayIndexOf"),c.prototype.includes=t(function(r,n,F){return this.indexOf(r,n,F)!==-1},"includes"),c.prototype.indexOf=t(function(r,n,F){return O(this,r,n,F,!0)},"indexOf"),c.prototype.lastIndexOf=t(function(r,n,F){return O(this,r,n,F,!1)},"lastIndexOf");function J(y,r,n,F){n=Number(n)||0;const W=y.length-n;F?(F=Number(F),F>W&&(F=W)):F=W;const G=r.length;F>G/2&&(F=G/2);let Z;for(Z=0;Z<F;++Z){const he=parseInt(r.substr(Z*2,2),16);if(we(he))return Z;y[n+Z]=he}return Z}t(J,"hexWrite");function ee(y,r,n,F){return xe(ve(r,y.length-n),y,n,F)}t(ee,"utf8Write");function Y(y,r,n,F){return xe(de(r),y,n,F)}t(Y,"asciiWrite");function te(y,r,n,F){return xe(ze(r),y,n,F)}t(te,"base64Write");function ae(y,r,n,F){return xe(ce(r,y.length-n),y,n,F)}t(ae,"ucs2Write"),c.prototype.write=t(function(r,n,F,W){if(n===void 0)W="utf8",F=this.length,n=0;else if(F===void 0&&typeof n=="string")W=n,F=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(F)?(F=F>>>0,W===void 0&&(W="utf8")):(W=F,F=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const G=this.length-n;if((F===void 0||F>G)&&(F=G),r.length>0&&(F<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");W||(W="utf8");let Z=!1;for(;;)switch(W){case"hex":return J(this,r,n,F);case"utf8":case"utf-8":return ee(this,r,n,F);case"ascii":case"latin1":case"binary":return Y(this,r,n,F);case"base64":return te(this,r,n,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,r,n,F);default:if(Z)throw new TypeError("Unknown encoding: "+W);W=(""+W).toLowerCase(),Z=!0}},"write"),c.prototype.toJSON=t(function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},"toJSON");function V(y,r,n){return r===0&&n===y.length?_.fromByteArray(y):_.fromByteArray(y.slice(r,n))}t(V,"base64Slice");function g(y,r,n){n=Math.min(y.length,n);const F=[];let W=r;for(;W<n;){const G=y[W];let Z=null,he=G>239?4:G>223?3:G>191?2:1;if(W+he<=n){let me,le,be,ye;switch(he){case 1:G<128&&(Z=G);break;case 2:me=y[W+1],(me&192)===128&&(ye=(G&31)<<6|me&63,ye>127&&(Z=ye));break;case 3:me=y[W+1],le=y[W+2],(me&192)===128&&(le&192)===128&&(ye=(G&15)<<12|(me&63)<<6|le&63,ye>2047&&(ye<55296||ye>57343)&&(Z=ye));break;case 4:me=y[W+1],le=y[W+2],be=y[W+3],(me&192)===128&&(le&192)===128&&(be&192)===128&&(ye=(G&15)<<18|(me&63)<<12|(le&63)<<6|be&63,ye>65535&&ye<1114112&&(Z=ye))}}Z===null?(Z=65533,he=1):Z>65535&&(Z-=65536,F.push(Z>>>10&1023|55296),Z=56320|Z&1023),F.push(Z),W+=he}return i(F)}t(g,"utf8Slice");const e=4096;function i(y){const r=y.length;if(r<=e)return String.fromCharCode.apply(String,y);let n="",F=0;for(;F<r;)n+=String.fromCharCode.apply(String,y.slice(F,F+=e));return n}t(i,"decodeCodePointsArray");function u(y,r,n){let F="";n=Math.min(y.length,n);for(let W=r;W<n;++W)F+=String.fromCharCode(y[W]&127);return F}t(u,"asciiSlice");function p(y,r,n){let F="";n=Math.min(y.length,n);for(let W=r;W<n;++W)F+=String.fromCharCode(y[W]);return F}t(p,"latin1Slice");function M(y,r,n){const F=y.length;(!r||r<0)&&(r=0),(!n||n<0||n>F)&&(n=F);let W="";for(let G=r;G<n;++G)W+=ge[y[G]];return W}t(M,"hexSlice");function D(y,r,n){const F=y.slice(r,n);let W="";for(let G=0;G<F.length-1;G+=2)W+=String.fromCharCode(F[G]+F[G+1]*256);return W}t(D,"utf16leSlice"),c.prototype.slice=t(function(r,n){const F=this.length;r=~~r,n=n===void 0?F:~~n,r<0?(r+=F,r<0&&(r=0)):r>F&&(r=F),n<0?(n+=F,n<0&&(n=0)):n>F&&(n=F),n<r&&(n=r);const W=this.subarray(r,n);return Object.setPrototypeOf(W,c.prototype),W},"slice");function z(y,r,n){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+r>n)throw new RangeError("Trying to access beyond buffer length")}t(z,"checkOffset"),c.prototype.readUintLE=c.prototype.readUIntLE=t(function(r,n,F){r=r>>>0,n=n>>>0,F||z(r,n,this.length);let W=this[r],G=1,Z=0;for(;++Z<n&&(G*=256);)W+=this[r+Z]*G;return W},"readUIntLE"),c.prototype.readUintBE=c.prototype.readUIntBE=t(function(r,n,F){r=r>>>0,n=n>>>0,F||z(r,n,this.length);let W=this[r+--n],G=1;for(;n>0&&(G*=256);)W+=this[r+--n]*G;return W},"readUIntBE"),c.prototype.readUint8=c.prototype.readUInt8=t(function(r,n){return r=r>>>0,n||z(r,1,this.length),this[r]},"readUInt8"),c.prototype.readUint16LE=c.prototype.readUInt16LE=t(function(r,n){return r=r>>>0,n||z(r,2,this.length),this[r]|this[r+1]<<8},"readUInt16LE"),c.prototype.readUint16BE=c.prototype.readUInt16BE=t(function(r,n){return r=r>>>0,n||z(r,2,this.length),this[r]<<8|this[r+1]},"readUInt16BE"),c.prototype.readUint32LE=c.prototype.readUInt32LE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},"readUInt32LE"),c.prototype.readUint32BE=c.prototype.readUInt32BE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},"readUInt32BE"),c.prototype.readBigUInt64LE=pe(t(function(r){r=r>>>0,C(r,"offset");const n=this[r],F=this[r+7];(n===void 0||F===void 0)&&U(r,this.length-8);const W=n+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,G=this[++r]+this[++r]*2**8+this[++r]*2**16+F*2**24;return BigInt(W)+(BigInt(G)<<BigInt(32))},"readBigUInt64LE")),c.prototype.readBigUInt64BE=pe(t(function(r){r=r>>>0,C(r,"offset");const n=this[r],F=this[r+7];(n===void 0||F===void 0)&&U(r,this.length-8);const W=n*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],G=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+F;return(BigInt(W)<<BigInt(32))+BigInt(G)},"readBigUInt64BE")),c.prototype.readIntLE=t(function(r,n,F){r=r>>>0,n=n>>>0,F||z(r,n,this.length);let W=this[r],G=1,Z=0;for(;++Z<n&&(G*=256);)W+=this[r+Z]*G;return G*=128,W>=G&&(W-=Math.pow(2,8*n)),W},"readIntLE"),c.prototype.readIntBE=t(function(r,n,F){r=r>>>0,n=n>>>0,F||z(r,n,this.length);let W=n,G=1,Z=this[r+--W];for(;W>0&&(G*=256);)Z+=this[r+--W]*G;return G*=128,Z>=G&&(Z-=Math.pow(2,8*n)),Z},"readIntBE"),c.prototype.readInt8=t(function(r,n){return r=r>>>0,n||z(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},"readInt8"),c.prototype.readInt16LE=t(function(r,n){r=r>>>0,n||z(r,2,this.length);const F=this[r]|this[r+1]<<8;return F&32768?F|4294901760:F},"readInt16LE"),c.prototype.readInt16BE=t(function(r,n){r=r>>>0,n||z(r,2,this.length);const F=this[r+1]|this[r]<<8;return F&32768?F|4294901760:F},"readInt16BE"),c.prototype.readInt32LE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},"readInt32LE"),c.prototype.readInt32BE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},"readInt32BE"),c.prototype.readBigInt64LE=pe(t(function(r){r=r>>>0,C(r,"offset");const n=this[r],F=this[r+7];(n===void 0||F===void 0)&&U(r,this.length-8);const W=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(F<<24);return(BigInt(W)<<BigInt(32))+BigInt(n+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)},"readBigInt64LE")),c.prototype.readBigInt64BE=pe(t(function(r){r=r>>>0,C(r,"offset");const n=this[r],F=this[r+7];(n===void 0||F===void 0)&&U(r,this.length-8);const W=(n<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(W)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+F)},"readBigInt64BE")),c.prototype.readFloatLE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),k.read(this,r,!0,23,4)},"readFloatLE"),c.prototype.readFloatBE=t(function(r,n){return r=r>>>0,n||z(r,4,this.length),k.read(this,r,!1,23,4)},"readFloatBE"),c.prototype.readDoubleLE=t(function(r,n){return r=r>>>0,n||z(r,8,this.length),k.read(this,r,!0,52,8)},"readDoubleLE"),c.prototype.readDoubleBE=t(function(r,n){return r=r>>>0,n||z(r,8,this.length),k.read(this,r,!1,52,8)},"readDoubleBE");function L(y,r,n,F,W,G){if(!c.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>W||r<G)throw new RangeError('"value" argument is out of bounds');if(n+F>y.length)throw new RangeError("Index out of range")}t(L,"checkInt"),c.prototype.writeUintLE=c.prototype.writeUIntLE=t(function(r,n,F,W){if(r=+r,n=n>>>0,F=F>>>0,!W){const he=Math.pow(2,8*F)-1;L(this,r,n,F,he,0)}let G=1,Z=0;for(this[n]=r&255;++Z<F&&(G*=256);)this[n+Z]=r/G&255;return n+F},"writeUIntLE"),c.prototype.writeUintBE=c.prototype.writeUIntBE=t(function(r,n,F,W){if(r=+r,n=n>>>0,F=F>>>0,!W){const he=Math.pow(2,8*F)-1;L(this,r,n,F,he,0)}let G=F-1,Z=1;for(this[n+G]=r&255;--G>=0&&(Z*=256);)this[n+G]=r/Z&255;return n+F},"writeUIntBE"),c.prototype.writeUint8=c.prototype.writeUInt8=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,1,255,0),this[n]=r&255,n+1},"writeUInt8"),c.prototype.writeUint16LE=c.prototype.writeUInt16LE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,2,65535,0),this[n]=r&255,this[n+1]=r>>>8,n+2},"writeUInt16LE"),c.prototype.writeUint16BE=c.prototype.writeUInt16BE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,2,65535,0),this[n]=r>>>8,this[n+1]=r&255,n+2},"writeUInt16BE"),c.prototype.writeUint32LE=c.prototype.writeUInt32LE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,4,4294967295,0),this[n+3]=r>>>24,this[n+2]=r>>>16,this[n+1]=r>>>8,this[n]=r&255,n+4},"writeUInt32LE"),c.prototype.writeUint32BE=c.prototype.writeUInt32BE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,4,4294967295,0),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=r&255,n+4},"writeUInt32BE");function f(y,r,n,F,W){se(r,F,W,y,n,7);let G=Number(r&BigInt(4294967295));y[n++]=G,G=G>>8,y[n++]=G,G=G>>8,y[n++]=G,G=G>>8,y[n++]=G;let Z=Number(r>>BigInt(32)&BigInt(4294967295));return y[n++]=Z,Z=Z>>8,y[n++]=Z,Z=Z>>8,y[n++]=Z,Z=Z>>8,y[n++]=Z,n}t(f,"wrtBigUInt64LE");function P(y,r,n,F,W){se(r,F,W,y,n,7);let G=Number(r&BigInt(4294967295));y[n+7]=G,G=G>>8,y[n+6]=G,G=G>>8,y[n+5]=G,G=G>>8,y[n+4]=G;let Z=Number(r>>BigInt(32)&BigInt(4294967295));return y[n+3]=Z,Z=Z>>8,y[n+2]=Z,Z=Z>>8,y[n+1]=Z,Z=Z>>8,y[n]=Z,n+8}t(P,"wrtBigUInt64BE"),c.prototype.writeBigUInt64LE=pe(t(function(r,n=0){return f(this,r,n,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64LE")),c.prototype.writeBigUInt64BE=pe(t(function(r,n=0){return P(this,r,n,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64BE")),c.prototype.writeIntLE=t(function(r,n,F,W){if(r=+r,n=n>>>0,!W){const me=Math.pow(2,8*F-1);L(this,r,n,F,me-1,-me)}let G=0,Z=1,he=0;for(this[n]=r&255;++G<F&&(Z*=256);)r<0&&he===0&&this[n+G-1]!==0&&(he=1),this[n+G]=(r/Z>>0)-he&255;return n+F},"writeIntLE"),c.prototype.writeIntBE=t(function(r,n,F,W){if(r=+r,n=n>>>0,!W){const me=Math.pow(2,8*F-1);L(this,r,n,F,me-1,-me)}let G=F-1,Z=1,he=0;for(this[n+G]=r&255;--G>=0&&(Z*=256);)r<0&&he===0&&this[n+G+1]!==0&&(he=1),this[n+G]=(r/Z>>0)-he&255;return n+F},"writeIntBE"),c.prototype.writeInt8=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,1,127,-128),r<0&&(r=255+r+1),this[n]=r&255,n+1},"writeInt8"),c.prototype.writeInt16LE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,2,32767,-32768),this[n]=r&255,this[n+1]=r>>>8,n+2},"writeInt16LE"),c.prototype.writeInt16BE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,2,32767,-32768),this[n]=r>>>8,this[n+1]=r&255,n+2},"writeInt16BE"),c.prototype.writeInt32LE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,4,2147483647,-2147483648),this[n]=r&255,this[n+1]=r>>>8,this[n+2]=r>>>16,this[n+3]=r>>>24,n+4},"writeInt32LE"),c.prototype.writeInt32BE=t(function(r,n,F){return r=+r,n=n>>>0,F||L(this,r,n,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=r&255,n+4},"writeInt32BE"),c.prototype.writeBigInt64LE=pe(t(function(r,n=0){return f(this,r,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64LE")),c.prototype.writeBigInt64BE=pe(t(function(r,n=0){return P(this,r,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function ie(y,r,n,F,W,G){if(n+F>y.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}t(ie,"checkIEEE754");function ne(y,r,n,F,W){return r=+r,n=n>>>0,W||ie(y,r,n,4,34028234663852886e22,-34028234663852886e22),k.write(y,r,n,F,23,4),n+4}t(ne,"writeFloat"),c.prototype.writeFloatLE=t(function(r,n,F){return ne(this,r,n,!0,F)},"writeFloatLE"),c.prototype.writeFloatBE=t(function(r,n,F){return ne(this,r,n,!1,F)},"writeFloatBE");function fe(y,r,n,F,W){return r=+r,n=n>>>0,W||ie(y,r,n,8,17976931348623157e292,-17976931348623157e292),k.write(y,r,n,F,52,8),n+8}t(fe,"writeDouble"),c.prototype.writeDoubleLE=t(function(r,n,F){return fe(this,r,n,!0,F)},"writeDoubleLE"),c.prototype.writeDoubleBE=t(function(r,n,F){return fe(this,r,n,!1,F)},"writeDoubleBE"),c.prototype.copy=t(function(r,n,F,W){if(!c.isBuffer(r))throw new TypeError("argument should be a Buffer");if(F||(F=0),!W&&W!==0&&(W=this.length),n>=r.length&&(n=r.length),n||(n=0),W>0&&W<F&&(W=F),W===F||r.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(F<0||F>=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length),r.length-n<W-F&&(W=r.length-n+F);const G=W-F;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,F,W):Uint8Array.prototype.set.call(r,this.subarray(F,W),n),G},"copy"),c.prototype.fill=t(function(r,n,F,W){if(typeof r=="string"){if(typeof n=="string"?(W=n,n=0,F=this.length):typeof F=="string"&&(W=F,F=this.length),W!==void 0&&typeof W!="string")throw new TypeError("encoding must be a string");if(typeof W=="string"&&!c.isEncoding(W))throw new TypeError("Unknown encoding: "+W);if(r.length===1){const Z=r.charCodeAt(0);(W==="utf8"&&Z<128||W==="latin1")&&(r=Z)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(n<0||this.length<n||this.length<F)throw new RangeError("Out of range index");if(F<=n)return this;n=n>>>0,F=F===void 0?this.length:F>>>0,r||(r=0);let G;if(typeof r=="number")for(G=n;G<F;++G)this[G]=r;else{const Z=c.isBuffer(r)?r:c.from(r,W),he=Z.length;if(he===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(G=0;G<F-n;++G)this[G+n]=Z[G%he]}return this},"fill");const j={};function K(y,r,n){j[y]=class extends n{static{t(this,"NodeError")}constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(W){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:W,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}t(K,"E"),K("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),K("ERR_INVALID_ARG_TYPE",function(y,r){return`The "${y}" argument must be of type number. Received type ${typeof r}`},TypeError),K("ERR_OUT_OF_RANGE",function(y,r,n){let F=`The value of "${y}" is out of range.`,W=n;return Number.isInteger(n)&&Math.abs(n)>2**32?W=X(String(n)):typeof n=="bigint"&&(W=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(W=X(W)),W+="n"),F+=` It must be ${r}. Received ${W}`,F},RangeError);function X(y){let r="",n=y.length;const F=y[0]==="-"?1:0;for(;n>=F+4;n-=3)r=`_${y.slice(n-3,n)}${r}`;return`${y.slice(0,n)}${r}`}t(X,"addNumericalSeparator");function oe(y,r,n){C(r,"offset"),(y[r]===void 0||y[r+n]===void 0)&&U(r,y.length-(n+1))}t(oe,"checkBounds");function se(y,r,n,F,W,G){if(y>n||y<r){const Z=typeof r=="bigint"?"n":"";let he;throw G>3?r===0||r===BigInt(0)?he=`>= 0${Z} and < 2${Z} ** ${(G+1)*8}${Z}`:he=`>= -(2${Z} ** ${(G+1)*8-1}${Z}) and < 2 ** ${(G+1)*8-1}${Z}`:he=`>= ${r}${Z} and <= ${n}${Z}`,new j.ERR_OUT_OF_RANGE("value",he,y)}oe(F,W,G)}t(se,"checkIntBI");function C(y,r){if(typeof y!="number")throw new j.ERR_INVALID_ARG_TYPE(r,"number",y)}t(C,"validateNumber");function U(y,r,n){throw Math.floor(y)!==y?(C(y,n),new j.ERR_OUT_OF_RANGE(n||"offset","an integer",y)):r<0?new j.ERR_BUFFER_OUT_OF_BOUNDS:new j.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${r}`,y)}t(U,"boundsError");const Q=/[^+/0-9A-Za-z-_]/g;function re(y){if(y=y.split("=")[0],y=y.trim().replace(Q,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}t(re,"base64clean");function ve(y,r){r=r||1/0;let n;const F=y.length;let W=null;const G=[];for(let Z=0;Z<F;++Z){if(n=y.charCodeAt(Z),n>55295&&n<57344){if(!W){if(n>56319){(r-=3)>-1&&G.push(239,191,189);continue}else if(Z+1===F){(r-=3)>-1&&G.push(239,191,189);continue}W=n;continue}if(n<56320){(r-=3)>-1&&G.push(239,191,189),W=n;continue}n=(W-55296<<10|n-56320)+65536}else W&&(r-=3)>-1&&G.push(239,191,189);if(W=null,n<128){if((r-=1)<0)break;G.push(n)}else if(n<2048){if((r-=2)<0)break;G.push(n>>6|192,n&63|128)}else if(n<65536){if((r-=3)<0)break;G.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((r-=4)<0)break;G.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return G}t(ve,"utf8ToBytes");function de(y){const r=[];for(let n=0;n<y.length;++n)r.push(y.charCodeAt(n)&255);return r}t(de,"asciiToBytes");function ce(y,r){let n,F,W;const G=[];for(let Z=0;Z<y.length&&!((r-=2)<0);++Z)n=y.charCodeAt(Z),F=n>>8,W=n%256,G.push(W),G.push(F);return G}t(ce,"utf16leToBytes");function ze(y){return _.toByteArray(re(y))}t(ze,"base64ToBytes");function xe(y,r,n,F){let W;for(W=0;W<F&&!(W+n>=r.length||W>=y.length);++W)r[W+n]=y[W];return W}t(xe,"blitBuffer");function ue(y,r){return y instanceof r||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===r.name}t(ue,"isInstance");function we(y){return y!==y}t(we,"numberIsNaN");const ge=function(){const y="0123456789abcdef",r=new Array(256);for(let n=0;n<16;++n){const F=n*16;for(let W=0;W<16;++W)r[F+W]=y[n]+y[W]}return r}();function pe(y){return typeof BigInt>"u"?He:y}t(pe,"defineBigIntMethod");function He(){throw new Error("BigInt not supported")}t(He,"BufferBigIntNotDefined")},8028:(q,$,B)=>{var _=B(2318);q.exports=function(k){return new _().update(k).digest()}},7187:q=>{var $=typeof Reflect=="object"?Reflect:null,B=$&&typeof $.apply=="function"?$.apply:t(function(A,T,O){return Function.prototype.apply.call(A,T,O)},"ReflectApply"),_;$&&typeof $.ownKeys=="function"?_=$.ownKeys:Object.getOwnPropertySymbols?_=t(function(A){return Object.getOwnPropertyNames(A).concat(Object.getOwnPropertySymbols(A))},"ReflectOwnKeys"):_=t(function(A){return Object.getOwnPropertyNames(A)},"ReflectOwnKeys");function k(w){console&&console.warn&&console.warn(w)}t(k,"ProcessEmitWarning");var N=Number.isNaN||t(function(A){return A!==A},"NumberIsNaN");function R(){R.init.call(this)}t(R,"EventEmitter"),q.exports=R,q.exports.once=b,R.EventEmitter=R,R.prototype._events=void 0,R.prototype._eventsCount=0,R.prototype._maxListeners=void 0;var s=10;function h(w){if(typeof w!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof w)}t(h,"checkListener"),Object.defineProperty(R,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(w){if(typeof w!="number"||w<0||N(w))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+w+".");s=w}}),R.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},R.prototype.setMaxListeners=t(function(A){if(typeof A!="number"||A<0||N(A))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+A+".");return this._maxListeners=A,this},"setMaxListeners");function c(w){return w._maxListeners===void 0?R.defaultMaxListeners:w._maxListeners}t(c,"_getMaxListeners"),R.prototype.getMaxListeners=t(function(){return c(this)},"getMaxListeners"),R.prototype.emit=t(function(A){for(var T=[],O=1;O<arguments.length;O++)T.push(arguments[O]);var H=A==="error",J=this._events;if(J!==void 0)H=H&&J.error===void 0;else if(!H)return!1;if(H){var ee;if(T.length>0&&(ee=T[0]),ee instanceof Error)throw ee;var Y=new Error("Unhandled error."+(ee?" ("+ee.message+")":""));throw Y.context=ee,Y}var te=J[A];if(te===void 0)return!1;if(typeof te=="function")B(te,this,T);else for(var ae=te.length,V=o(te,ae),O=0;O<ae;++O)B(V[O],this,T);return!0},"emit");function I(w,A,T,O){var H,J,ee;if(h(T),J=w._events,J===void 0?(J=w._events=Object.create(null),w._eventsCount=0):(J.newListener!==void 0&&(w.emit("newListener",A,T.listener?T.listener:T),J=w._events),ee=J[A]),ee===void 0)ee=J[A]=T,++w._eventsCount;else if(typeof ee=="function"?ee=J[A]=O?[T,ee]:[ee,T]:O?ee.unshift(T):ee.push(T),H=c(w),H>0&&ee.length>H&&!ee.warned){ee.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+ee.length+" "+String(A)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=w,Y.type=A,Y.count=ee.length,k(Y)}return w}t(I,"_addListener"),R.prototype.addListener=t(function(A,T){return I(this,A,T,!1)},"addListener"),R.prototype.on=R.prototype.addListener,R.prototype.prependListener=t(function(A,T){return I(this,A,T,!0)},"prependListener");function S(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}t(S,"onceWrapper");function a(w,A,T){var O={fired:!1,wrapFn:void 0,target:w,type:A,listener:T},H=S.bind(O);return H.listener=T,O.wrapFn=H,H}t(a,"_onceWrap"),R.prototype.once=t(function(A,T){return h(T),this.on(A,a(this,A,T)),this},"once"),R.prototype.prependOnceListener=t(function(A,T){return h(T),this.prependListener(A,a(this,A,T)),this},"prependOnceListener"),R.prototype.removeListener=t(function(A,T){var O,H,J,ee,Y;if(h(T),H=this._events,H===void 0)return this;if(O=H[A],O===void 0)return this;if(O===T||O.listener===T)--this._eventsCount===0?this._events=Object.create(null):(delete H[A],H.removeListener&&this.emit("removeListener",A,O.listener||T));else if(typeof O!="function"){for(J=-1,ee=O.length-1;ee>=0;ee--)if(O[ee]===T||O[ee].listener===T){Y=O[ee].listener,J=ee;break}if(J<0)return this;J===0?O.shift():x(O,J),O.length===1&&(H[A]=O[0]),H.removeListener!==void 0&&this.emit("removeListener",A,Y||T)}return this},"removeListener"),R.prototype.off=R.prototype.removeListener,R.prototype.removeAllListeners=t(function(A){var T,O,H;if(O=this._events,O===void 0)return this;if(O.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):O[A]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete O[A]),this;if(arguments.length===0){var J=Object.keys(O),ee;for(H=0;H<J.length;++H)ee=J[H],ee!=="removeListener"&&this.removeAllListeners(ee);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(T=O[A],typeof T=="function")this.removeListener(A,T);else if(T!==void 0)for(H=T.length-1;H>=0;H--)this.removeListener(A,T[H]);return this},"removeAllListeners");function d(w,A,T){var O=w._events;if(O===void 0)return[];var H=O[A];return H===void 0?[]:typeof H=="function"?T?[H.listener||H]:[H]:T?l(H):o(H,H.length)}t(d,"_listeners"),R.prototype.listeners=t(function(A){return d(this,A,!0)},"listeners"),R.prototype.rawListeners=t(function(A){return d(this,A,!1)},"rawListeners"),R.listenerCount=function(w,A){return typeof w.listenerCount=="function"?w.listenerCount(A):m.call(w,A)},R.prototype.listenerCount=m;function m(w){var A=this._events;if(A!==void 0){var T=A[w];if(typeof T=="function")return 1;if(T!==void 0)return T.length}return 0}t(m,"listenerCount"),R.prototype.eventNames=t(function(){return this._eventsCount>0?_(this._events):[]},"eventNames");function o(w,A){for(var T=new Array(A),O=0;O<A;++O)T[O]=w[O];return T}t(o,"arrayClone");function x(w,A){for(;A+1<w.length;A++)w[A]=w[A+1];w.pop()}t(x,"spliceOne");function l(w){for(var A=new Array(w.length),T=0;T<A.length;++T)A[T]=w[T].listener||w[T];return A}t(l,"unwrapListeners");function b(w,A){return new Promise(function(T,O){function H(ee){w.removeListener(A,J),O(ee)}t(H,"errorListener");function J(){typeof w.removeListener=="function"&&w.removeListener("error",H),T([].slice.call(arguments))}t(J,"resolver"),v(w,A,J,{once:!0}),A!=="error"&&E(w,H,{once:!0})})}t(b,"once");function E(w,A,T){typeof w.on=="function"&&v(w,"error",A,T)}t(E,"addErrorHandlerIfEventEmitter");function v(w,A,T,O){if(typeof w.on=="function")O.once?w.once(A,T):w.on(A,T);else if(typeof w.addEventListener=="function")w.addEventListener(A,t(function H(J){O.once&&w.removeEventListener(A,H),T(J)},"wrapListener"));else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof w)}t(v,"eventTargetAgnosticAddListener")},3349:(q,$,B)=>{var _=B(9509).Buffer,k=B(8473).Transform,N=B(5717);function R(h,c){if(!_.isBuffer(h)&&typeof h!="string")throw new TypeError(c+" must be a string or a buffer")}t(R,"throwIfNotStringOrBuffer");function s(h){k.call(this),this._block=_.allocUnsafe(h),this._blockSize=h,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(s,"HashBase"),N(s,k),s.prototype._transform=function(h,c,I){var S=null;try{this.update(h,c)}catch(a){S=a}I(S)},s.prototype._flush=function(h){var c=null;try{this.push(this.digest())}catch(I){c=I}h(c)},s.prototype.update=function(h,c){if(R(h,"Data"),this._finalized)throw new Error("Digest already called");_.isBuffer(h)||(h=_.from(h,c));for(var I=this._block,S=0;this._blockOffset+h.length-S>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)I[a++]=h[S++];this._update(),this._blockOffset=0}for(;S<h.length;)I[this._blockOffset++]=h[S++];for(var d=0,m=h.length*8;m>0;++d)this._length[d]+=m,m=this._length[d]/4294967296|0,m>0&&(this._length[d]-=4294967296*m);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(h){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var c=this._digest();h!==void 0&&(c=c.toString(h)),this._block.fill(0),this._blockOffset=0;for(var I=0;I<4;++I)this._length[I]=0;return c},s.prototype._digest=function(){throw new Error("_digest is not implemented")},q.exports=s},3715:(q,$,B)=>{var _=$;_.utils=B(6436),_.common=B(5772),_.sha=B(9041),_.ripemd=B(2949),_.hmac=B(2344),_.sha1=_.sha.sha1,_.sha256=_.sha.sha256,_.sha224=_.sha.sha224,_.sha384=_.sha.sha384,_.sha512=_.sha.sha512,_.ripemd160=_.ripemd.ripemd160},5772:(q,$,B)=>{var _=B(6436),k=B(9746);function N(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t(N,"BlockHash"),$.BlockHash=N,N.prototype.update=t(function(s,h){if(s=_.toArray(s,h),this.pending?this.pending=this.pending.concat(s):this.pending=s,this.pendingTotal+=s.length,this.pending.length>=this._delta8){s=this.pending;var c=s.length%this._delta8;this.pending=s.slice(s.length-c,s.length),this.pending.length===0&&(this.pending=null),s=_.join32(s,0,s.length-c,this.endian);for(var I=0;I<s.length;I+=this._delta32)this._update(s,I,I+this._delta32)}return this},"update"),N.prototype.digest=t(function(s){return this.update(this._pad()),k(this.pending===null),this._digest(s)},"digest"),N.prototype._pad=t(function(){var s=this.pendingTotal,h=this._delta8,c=h-(s+this.padLength)%h,I=new Array(c+this.padLength);I[0]=128;for(var S=1;S<c;S++)I[S]=0;if(s<<=3,this.endian==="big"){for(var a=8;a<this.padLength;a++)I[S++]=0;I[S++]=0,I[S++]=0,I[S++]=0,I[S++]=0,I[S++]=s>>>24&255,I[S++]=s>>>16&255,I[S++]=s>>>8&255,I[S++]=s&255}else for(I[S++]=s&255,I[S++]=s>>>8&255,I[S++]=s>>>16&255,I[S++]=s>>>24&255,I[S++]=0,I[S++]=0,I[S++]=0,I[S++]=0,a=8;a<this.padLength;a++)I[S++]=0;return I},"pad")},2344:(q,$,B)=>{var _=B(6436),k=B(9746);function N(R,s,h){if(!(this instanceof N))return new N(R,s,h);this.Hash=R,this.blockSize=R.blockSize/8,this.outSize=R.outSize/8,this.inner=null,this.outer=null,this._init(_.toArray(s,h))}t(N,"Hmac"),q.exports=N,N.prototype._init=t(function(s){s.length>this.blockSize&&(s=new this.Hash().update(s).digest()),k(s.length<=this.blockSize);for(var h=s.length;h<this.blockSize;h++)s.push(0);for(h=0;h<s.length;h++)s[h]^=54;for(this.inner=new this.Hash().update(s),h=0;h<s.length;h++)s[h]^=106;this.outer=new this.Hash().update(s)},"init"),N.prototype.update=t(function(s,h){return this.inner.update(s,h),this},"update"),N.prototype.digest=t(function(s){return this.outer.update(this.inner.digest()),this.outer.digest(s)},"digest")},2949:(q,$,B)=>{var _=B(6436),k=B(5772),N=_.rotl32,R=_.sum32,s=_.sum32_3,h=_.sum32_4,c=k.BlockHash;function I(){if(!(this instanceof I))return new I;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}t(I,"RIPEMD160"),_.inherits(I,c),$.ripemd160=I,I.blockSize=512,I.outSize=160,I.hmacStrength=192,I.padLength=64,I.prototype._update=t(function(E,v){for(var w=this.h[0],A=this.h[1],T=this.h[2],O=this.h[3],H=this.h[4],J=w,ee=A,Y=T,te=O,ae=H,V=0;V<80;V++){var g=R(N(h(w,S(V,A,T,O),E[m[V]+v],a(V)),x[V]),H);w=H,H=O,O=N(T,10),T=A,A=g,g=R(N(h(J,S(79-V,ee,Y,te),E[o[V]+v],d(V)),l[V]),ae),J=ae,ae=te,te=N(Y,10),Y=ee,ee=g}g=s(this.h[1],T,te),this.h[1]=s(this.h[2],O,ae),this.h[2]=s(this.h[3],H,J),this.h[3]=s(this.h[4],w,ee),this.h[4]=s(this.h[0],A,Y),this.h[0]=g},"update"),I.prototype._digest=t(function(E){return E==="hex"?_.toHex32(this.h,"little"):_.split32(this.h,"little")},"digest");function S(b,E,v,w){return b<=15?E^v^w:b<=31?E&v|~E&w:b<=47?(E|~v)^w:b<=63?E&w|v&~w:E^(v|~w)}t(S,"f");function a(b){return b<=15?0:b<=31?1518500249:b<=47?1859775393:b<=63?2400959708:2840853838}t(a,"K");function d(b){return b<=15?1352829926:b<=31?1548603684:b<=47?1836072691:b<=63?2053994217:0}t(d,"Kh");var m=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],o=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],x=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},9041:(q,$,B)=>{$.sha1=B(4761),$.sha224=B(799),$.sha256=B(9344),$.sha384=B(772),$.sha512=B(5900)},4761:(q,$,B)=>{var _=B(6436),k=B(5772),N=B(7038),R=_.rotl32,s=_.sum32,h=_.sum32_5,c=N.ft_1,I=k.BlockHash,S=[1518500249,1859775393,2400959708,3395469782];function a(){if(!(this instanceof a))return new a;I.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t(a,"SHA1"),_.inherits(a,I),q.exports=a,a.blockSize=512,a.outSize=160,a.hmacStrength=80,a.padLength=64,a.prototype._update=t(function(m,o){for(var x=this.W,l=0;l<16;l++)x[l]=m[o+l];for(;l<x.length;l++)x[l]=R(x[l-3]^x[l-8]^x[l-14]^x[l-16],1);var b=this.h[0],E=this.h[1],v=this.h[2],w=this.h[3],A=this.h[4];for(l=0;l<x.length;l++){var T=~~(l/20),O=h(R(b,5),c(T,E,v,w),A,x[l],S[T]);A=w,w=v,v=R(E,30),E=b,b=O}this.h[0]=s(this.h[0],b),this.h[1]=s(this.h[1],E),this.h[2]=s(this.h[2],v),this.h[3]=s(this.h[3],w),this.h[4]=s(this.h[4],A)},"_update"),a.prototype._digest=t(function(m){return m==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest")},799:(q,$,B)=>{var _=B(6436),k=B(9344);function N(){if(!(this instanceof N))return new N;k.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t(N,"SHA224"),_.inherits(N,k),q.exports=N,N.blockSize=512,N.outSize=224,N.hmacStrength=192,N.padLength=64,N.prototype._digest=t(function(s){return s==="hex"?_.toHex32(this.h.slice(0,7),"big"):_.split32(this.h.slice(0,7),"big")},"digest")},9344:(q,$,B)=>{var _=B(6436),k=B(5772),N=B(7038),R=B(9746),s=_.sum32,h=_.sum32_4,c=_.sum32_5,I=N.ch32,S=N.maj32,a=N.s0_256,d=N.s1_256,m=N.g0_256,o=N.g1_256,x=k.BlockHash,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;x.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=l,this.W=new Array(64)}t(b,"SHA256"),_.inherits(b,x),q.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=t(function(v,w){for(var A=this.W,T=0;T<16;T++)A[T]=v[w+T];for(;T<A.length;T++)A[T]=h(o(A[T-2]),A[T-7],m(A[T-15]),A[T-16]);var O=this.h[0],H=this.h[1],J=this.h[2],ee=this.h[3],Y=this.h[4],te=this.h[5],ae=this.h[6],V=this.h[7];for(R(this.k.length===A.length),T=0;T<A.length;T++){var g=c(V,d(Y),I(Y,te,ae),this.k[T],A[T]),e=s(a(O),S(O,H,J));V=ae,ae=te,te=Y,Y=s(ee,g),ee=J,J=H,H=O,O=s(g,e)}this.h[0]=s(this.h[0],O),this.h[1]=s(this.h[1],H),this.h[2]=s(this.h[2],J),this.h[3]=s(this.h[3],ee),this.h[4]=s(this.h[4],Y),this.h[5]=s(this.h[5],te),this.h[6]=s(this.h[6],ae),this.h[7]=s(this.h[7],V)},"_update"),b.prototype._digest=t(function(v){return v==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest")},772:(q,$,B)=>{var _=B(6436),k=B(5900);function N(){if(!(this instanceof N))return new N;k.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t(N,"SHA384"),_.inherits(N,k),q.exports=N,N.blockSize=1024,N.outSize=384,N.hmacStrength=192,N.padLength=128,N.prototype._digest=t(function(s){return s==="hex"?_.toHex32(this.h.slice(0,12),"big"):_.split32(this.h.slice(0,12),"big")},"digest")},5900:(q,$,B)=>{var _=B(6436),k=B(5772),N=B(9746),R=_.rotr64_hi,s=_.rotr64_lo,h=_.shr64_hi,c=_.shr64_lo,I=_.sum64,S=_.sum64_hi,a=_.sum64_lo,d=_.sum64_4_hi,m=_.sum64_4_lo,o=_.sum64_5_hi,x=_.sum64_5_lo,l=k.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function E(){if(!(this instanceof E))return new E;l.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}t(E,"SHA512"),_.inherits(E,l),q.exports=E,E.blockSize=1024,E.outSize=512,E.hmacStrength=192,E.padLength=128,E.prototype._prepareBlock=t(function(e,i){for(var u=this.W,p=0;p<32;p++)u[p]=e[i+p];for(;p<u.length;p+=2){var M=ae(u[p-4],u[p-3]),D=V(u[p-4],u[p-3]),z=u[p-14],L=u[p-13],f=Y(u[p-30],u[p-29]),P=te(u[p-30],u[p-29]),ie=u[p-32],ne=u[p-31];u[p]=d(M,D,z,L,f,P,ie,ne),u[p+1]=m(M,D,z,L,f,P,ie,ne)}},"_prepareBlock"),E.prototype._update=t(function(e,i){this._prepareBlock(e,i);var u=this.W,p=this.h[0],M=this.h[1],D=this.h[2],z=this.h[3],L=this.h[4],f=this.h[5],P=this.h[6],ie=this.h[7],ne=this.h[8],fe=this.h[9],j=this.h[10],K=this.h[11],X=this.h[12],oe=this.h[13],se=this.h[14],C=this.h[15];N(this.k.length===u.length);for(var U=0;U<u.length;U+=2){var Q=se,re=C,ve=J(ne,fe),de=ee(ne,fe),ce=v(ne,fe,j,K,X,oe),ze=w(ne,fe,j,K,X,oe),xe=this.k[U],ue=this.k[U+1],we=u[U],ge=u[U+1],pe=o(Q,re,ve,de,ce,ze,xe,ue,we,ge),He=x(Q,re,ve,de,ce,ze,xe,ue,we,ge);Q=O(p,M),re=H(p,M),ve=A(p,M,D,z,L,f),de=T(p,M,D,z,L,f);var y=S(Q,re,ve,de),r=a(Q,re,ve,de);se=X,C=oe,X=j,oe=K,j=ne,K=fe,ne=S(P,ie,pe,He),fe=a(ie,ie,pe,He),P=L,ie=f,L=D,f=z,D=p,z=M,p=S(pe,He,y,r),M=a(pe,He,y,r)}I(this.h,0,p,M),I(this.h,2,D,z),I(this.h,4,L,f),I(this.h,6,P,ie),I(this.h,8,ne,fe),I(this.h,10,j,K),I(this.h,12,X,oe),I(this.h,14,se,C)},"_update"),E.prototype._digest=t(function(e){return e==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest");function v(g,e,i,u,p){var M=g&i^~g&p;return M<0&&(M+=4294967296),M}t(v,"ch64_hi");function w(g,e,i,u,p,M){var D=e&u^~e&M;return D<0&&(D+=4294967296),D}t(w,"ch64_lo");function A(g,e,i,u,p){var M=g&i^g&p^i&p;return M<0&&(M+=4294967296),M}t(A,"maj64_hi");function T(g,e,i,u,p,M){var D=e&u^e&M^u&M;return D<0&&(D+=4294967296),D}t(T,"maj64_lo");function O(g,e){var i=R(g,e,28),u=R(e,g,2),p=R(e,g,7),M=i^u^p;return M<0&&(M+=4294967296),M}t(O,"s0_512_hi");function H(g,e){var i=s(g,e,28),u=s(e,g,2),p=s(e,g,7),M=i^u^p;return M<0&&(M+=4294967296),M}t(H,"s0_512_lo");function J(g,e){var i=R(g,e,14),u=R(g,e,18),p=R(e,g,9),M=i^u^p;return M<0&&(M+=4294967296),M}t(J,"s1_512_hi");function ee(g,e){var i=s(g,e,14),u=s(g,e,18),p=s(e,g,9),M=i^u^p;return M<0&&(M+=4294967296),M}t(ee,"s1_512_lo");function Y(g,e){var i=R(g,e,1),u=R(g,e,8),p=h(g,e,7),M=i^u^p;return M<0&&(M+=4294967296),M}t(Y,"g0_512_hi");function te(g,e){var i=s(g,e,1),u=s(g,e,8),p=c(g,e,7),M=i^u^p;return M<0&&(M+=4294967296),M}t(te,"g0_512_lo");function ae(g,e){var i=R(g,e,19),u=R(e,g,29),p=h(g,e,6),M=i^u^p;return M<0&&(M+=4294967296),M}t(ae,"g1_512_hi");function V(g,e){var i=s(g,e,19),u=s(e,g,29),p=c(g,e,6),M=i^u^p;return M<0&&(M+=4294967296),M}t(V,"g1_512_lo")},7038:(q,$,B)=>{var _=B(6436),k=_.rotr32;function N(d,m,o,x){if(d===0)return R(m,o,x);if(d===1||d===3)return h(m,o,x);if(d===2)return s(m,o,x)}t(N,"ft_1"),$.ft_1=N;function R(d,m,o){return d&m^~d&o}t(R,"ch32"),$.ch32=R;function s(d,m,o){return d&m^d&o^m&o}t(s,"maj32"),$.maj32=s;function h(d,m,o){return d^m^o}t(h,"p32"),$.p32=h;function c(d){return k(d,2)^k(d,13)^k(d,22)}t(c,"s0_256"),$.s0_256=c;function I(d){return k(d,6)^k(d,11)^k(d,25)}t(I,"s1_256"),$.s1_256=I;function S(d){return k(d,7)^k(d,18)^d>>>3}t(S,"g0_256"),$.g0_256=S;function a(d){return k(d,17)^k(d,19)^d>>>10}t(a,"g1_256"),$.g1_256=a},6436:(q,$,B)=>{var _=B(9746),k=B(5717);$.inherits=k;function N(V,g){return(V.charCodeAt(g)&64512)!==55296||g<0||g+1>=V.length?!1:(V.charCodeAt(g+1)&64512)===56320}t(N,"isSurrogatePair");function R(V,g){if(Array.isArray(V))return V.slice();if(!V)return[];var e=[];if(typeof V=="string")if(g){if(g==="hex")for(V=V.replace(/[^a-z0-9]+/ig,""),V.length%2!==0&&(V="0"+V),u=0;u<V.length;u+=2)e.push(parseInt(V[u]+V[u+1],16))}else for(var i=0,u=0;u<V.length;u++){var p=V.charCodeAt(u);p<128?e[i++]=p:p<2048?(e[i++]=p>>6|192,e[i++]=p&63|128):N(V,u)?(p=65536+((p&1023)<<10)+(V.charCodeAt(++u)&1023),e[i++]=p>>18|240,e[i++]=p>>12&63|128,e[i++]=p>>6&63|128,e[i++]=p&63|128):(e[i++]=p>>12|224,e[i++]=p>>6&63|128,e[i++]=p&63|128)}else for(u=0;u<V.length;u++)e[u]=V[u]|0;return e}t(R,"toArray"),$.toArray=R;function s(V){for(var g="",e=0;e<V.length;e++)g+=I(V[e].toString(16));return g}t(s,"toHex"),$.toHex=s;function h(V){var g=V>>>24|V>>>8&65280|V<<8&16711680|(V&255)<<24;return g>>>0}t(h,"htonl"),$.htonl=h;function c(V,g){for(var e="",i=0;i<V.length;i++){var u=V[i];g==="little"&&(u=h(u)),e+=S(u.toString(16))}return e}t(c,"toHex32"),$.toHex32=c;function I(V){return V.length===1?"0"+V:V}t(I,"zero2"),$.zero2=I;function S(V){return V.length===7?"0"+V:V.length===6?"00"+V:V.length===5?"000"+V:V.length===4?"0000"+V:V.length===3?"00000"+V:V.length===2?"000000"+V:V.length===1?"0000000"+V:V}t(S,"zero8"),$.zero8=S;function a(V,g,e,i){var u=e-g;_(u%4===0);for(var p=new Array(u/4),M=0,D=g;M<p.length;M++,D+=4){var z;i==="big"?z=V[D]<<24|V[D+1]<<16|V[D+2]<<8|V[D+3]:z=V[D+3]<<24|V[D+2]<<16|V[D+1]<<8|V[D],p[M]=z>>>0}return p}t(a,"join32"),$.join32=a;function d(V,g){for(var e=new Array(V.length*4),i=0,u=0;i<V.length;i++,u+=4){var p=V[i];g==="big"?(e[u]=p>>>24,e[u+1]=p>>>16&255,e[u+2]=p>>>8&255,e[u+3]=p&255):(e[u+3]=p>>>24,e[u+2]=p>>>16&255,e[u+1]=p>>>8&255,e[u]=p&255)}return e}t(d,"split32"),$.split32=d;function m(V,g){return V>>>g|V<<32-g}t(m,"rotr32"),$.rotr32=m;function o(V,g){return V<<g|V>>>32-g}t(o,"rotl32"),$.rotl32=o;function x(V,g){return V+g>>>0}t(x,"sum32"),$.sum32=x;function l(V,g,e){return V+g+e>>>0}t(l,"sum32_3"),$.sum32_3=l;function b(V,g,e,i){return V+g+e+i>>>0}t(b,"sum32_4"),$.sum32_4=b;function E(V,g,e,i,u){return V+g+e+i+u>>>0}t(E,"sum32_5"),$.sum32_5=E;function v(V,g,e,i){var u=V[g],p=V[g+1],M=i+p>>>0,D=(M<i?1:0)+e+u;V[g]=D>>>0,V[g+1]=M}t(v,"sum64"),$.sum64=v;function w(V,g,e,i){var u=g+i>>>0,p=(u<g?1:0)+V+e;return p>>>0}t(w,"sum64_hi"),$.sum64_hi=w;function A(V,g,e,i){var u=g+i;return u>>>0}t(A,"sum64_lo"),$.sum64_lo=A;function T(V,g,e,i,u,p,M,D){var z=0,L=g;L=L+i>>>0,z+=L<g?1:0,L=L+p>>>0,z+=L<p?1:0,L=L+D>>>0,z+=L<D?1:0;var f=V+e+u+M+z;return f>>>0}t(T,"sum64_4_hi"),$.sum64_4_hi=T;function O(V,g,e,i,u,p,M,D){var z=g+i+p+D;return z>>>0}t(O,"sum64_4_lo"),$.sum64_4_lo=O;function H(V,g,e,i,u,p,M,D,z,L){var f=0,P=g;P=P+i>>>0,f+=P<g?1:0,P=P+p>>>0,f+=P<p?1:0,P=P+D>>>0,f+=P<D?1:0,P=P+L>>>0,f+=P<L?1:0;var ie=V+e+u+M+z+f;return ie>>>0}t(H,"sum64_5_hi"),$.sum64_5_hi=H;function J(V,g,e,i,u,p,M,D,z,L){var f=g+i+p+D+L;return f>>>0}t(J,"sum64_5_lo"),$.sum64_5_lo=J;function ee(V,g,e){var i=g<<32-e|V>>>e;return i>>>0}t(ee,"rotr64_hi"),$.rotr64_hi=ee;function Y(V,g,e){var i=V<<32-e|g>>>e;return i>>>0}t(Y,"rotr64_lo"),$.rotr64_lo=Y;function te(V,g,e){return V>>>e}t(te,"shr64_hi"),$.shr64_hi=te;function ae(V,g,e){var i=V<<32-e|g>>>e;return i>>>0}t(ae,"shr64_lo"),$.shr64_lo=ae},2156:(q,$,B)=>{var _=B(3715),k=B(4504),N=B(9746);function R(s){if(!(this instanceof R))return new R(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var h=k.toArray(s.entropy,s.entropyEnc||"hex"),c=k.toArray(s.nonce,s.nonceEnc||"hex"),I=k.toArray(s.pers,s.persEnc||"hex");N(h.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(h,c,I)}t(R,"HmacDRBG"),q.exports=R,R.prototype._init=t(function(h,c,I){var S=h.concat(c).concat(I);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var a=0;a<this.V.length;a++)this.K[a]=0,this.V[a]=1;this._update(S),this._reseed=1,this.reseedInterval=281474976710656},"init"),R.prototype._hmac=t(function(){return new _.hmac(this.hash,this.K)},"hmac"),R.prototype._update=t(function(h){var c=this._hmac().update(this.V).update([0]);h&&(c=c.update(h)),this.K=c.digest(),this.V=this._hmac().update(this.V).digest(),h&&(this.K=this._hmac().update(this.V).update([1]).update(h).digest(),this.V=this._hmac().update(this.V).digest())},"update"),R.prototype.reseed=t(function(h,c,I,S){typeof c!="string"&&(S=I,I=c,c=null),h=k.toArray(h,c),I=k.toArray(I,S),N(h.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(h.concat(I||[])),this._reseed=1},"reseed"),R.prototype.generate=t(function(h,c,I,S){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof c!="string"&&(S=I,I=c,c=null),I&&(I=k.toArray(I,S||"hex"),this._update(I));for(var a=[];a.length<h;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var d=a.slice(0,h);return this._update(I),this._reseed++,k.encode(d,c)},"generate")},645:(q,$)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */$.read=function(B,_,k,N,R){var s,h,c=R*8-N-1,I=(1<<c)-1,S=I>>1,a=-7,d=k?R-1:0,m=k?-1:1,o=B[_+d];for(d+=m,s=o&(1<<-a)-1,o>>=-a,a+=c;a>0;s=s*256+B[_+d],d+=m,a-=8);for(h=s&(1<<-a)-1,s>>=-a,a+=N;a>0;h=h*256+B[_+d],d+=m,a-=8);if(s===0)s=1-S;else{if(s===I)return h?NaN:(o?-1:1)*(1/0);h=h+Math.pow(2,N),s=s-S}return(o?-1:1)*h*Math.pow(2,s-N)},$.write=function(B,_,k,N,R,s){var h,c,I,S=s*8-R-1,a=(1<<S)-1,d=a>>1,m=R===23?Math.pow(2,-24)-Math.pow(2,-77):0,o=N?0:s-1,x=N?1:-1,l=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===1/0?(c=isNaN(_)?1:0,h=a):(h=Math.floor(Math.log(_)/Math.LN2),_*(I=Math.pow(2,-h))<1&&(h--,I*=2),h+d>=1?_+=m/I:_+=m*Math.pow(2,1-d),_*I>=2&&(h++,I/=2),h+d>=a?(c=0,h=a):h+d>=1?(c=(_*I-1)*Math.pow(2,R),h=h+d):(c=_*Math.pow(2,d-1)*Math.pow(2,R),h=0));R>=8;B[k+o]=c&255,o+=x,c/=256,R-=8);for(h=h<<R|c,S+=R;S>0;B[k+o]=h&255,o+=x,h/=256,S-=8);B[k+o-x]|=l*128}},5717:q=>{typeof Object.create=="function"?q.exports=t(function(B,_){_&&(B.super_=_,B.prototype=Object.create(_.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):q.exports=t(function(B,_){if(_){B.super_=_;var k=t(function(){},"TempCtor");k.prototype=_.prototype,B.prototype=new k,B.prototype.constructor=B}},"inherits")},2318:(q,$,B)=>{var _=B(5717),k=B(3349),N=B(9509).Buffer,R=new Array(16);function s(){k.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}t(s,"MD5"),_(s,k),s.prototype._update=function(){for(var d=R,m=0;m<16;++m)d[m]=this._block.readInt32LE(m*4);var o=this._a,x=this._b,l=this._c,b=this._d;o=c(o,x,l,b,d[0],3614090360,7),b=c(b,o,x,l,d[1],3905402710,12),l=c(l,b,o,x,d[2],606105819,17),x=c(x,l,b,o,d[3],3250441966,22),o=c(o,x,l,b,d[4],4118548399,7),b=c(b,o,x,l,d[5],1200080426,12),l=c(l,b,o,x,d[6],2821735955,17),x=c(x,l,b,o,d[7],4249261313,22),o=c(o,x,l,b,d[8],1770035416,7),b=c(b,o,x,l,d[9],2336552879,12),l=c(l,b,o,x,d[10],4294925233,17),x=c(x,l,b,o,d[11],2304563134,22),o=c(o,x,l,b,d[12],1804603682,7),b=c(b,o,x,l,d[13],4254626195,12),l=c(l,b,o,x,d[14],2792965006,17),x=c(x,l,b,o,d[15],1236535329,22),o=I(o,x,l,b,d[1],4129170786,5),b=I(b,o,x,l,d[6],3225465664,9),l=I(l,b,o,x,d[11],643717713,14),x=I(x,l,b,o,d[0],3921069994,20),o=I(o,x,l,b,d[5],3593408605,5),b=I(b,o,x,l,d[10],38016083,9),l=I(l,b,o,x,d[15],3634488961,14),x=I(x,l,b,o,d[4],3889429448,20),o=I(o,x,l,b,d[9],568446438,5),b=I(b,o,x,l,d[14],3275163606,9),l=I(l,b,o,x,d[3],4107603335,14),x=I(x,l,b,o,d[8],1163531501,20),o=I(o,x,l,b,d[13],2850285829,5),b=I(b,o,x,l,d[2],4243563512,9),l=I(l,b,o,x,d[7],1735328473,14),x=I(x,l,b,o,d[12],2368359562,20),o=S(o,x,l,b,d[5],4294588738,4),b=S(b,o,x,l,d[8],2272392833,11),l=S(l,b,o,x,d[11],1839030562,16),x=S(x,l,b,o,d[14],4259657740,23),o=S(o,x,l,b,d[1],2763975236,4),b=S(b,o,x,l,d[4],1272893353,11),l=S(l,b,o,x,d[7],4139469664,16),x=S(x,l,b,o,d[10],3200236656,23),o=S(o,x,l,b,d[13],681279174,4),b=S(b,o,x,l,d[0],3936430074,11),l=S(l,b,o,x,d[3],3572445317,16),x=S(x,l,b,o,d[6],76029189,23),o=S(o,x,l,b,d[9],3654602809,4),b=S(b,o,x,l,d[12],3873151461,11),l=S(l,b,o,x,d[15],530742520,16),x=S(x,l,b,o,d[2],3299628645,23),o=a(o,x,l,b,d[0],4096336452,6),b=a(b,o,x,l,d[7],1126891415,10),l=a(l,b,o,x,d[14],2878612391,15),x=a(x,l,b,o,d[5],4237533241,21),o=a(o,x,l,b,d[12],1700485571,6),b=a(b,o,x,l,d[3],2399980690,10),l=a(l,b,o,x,d[10],4293915773,15),x=a(x,l,b,o,d[1],2240044497,21),o=a(o,x,l,b,d[8],1873313359,6),b=a(b,o,x,l,d[15],4264355552,10),l=a(l,b,o,x,d[6],2734768916,15),x=a(x,l,b,o,d[13],1309151649,21),o=a(o,x,l,b,d[4],4149444226,6),b=a(b,o,x,l,d[11],3174756917,10),l=a(l,b,o,x,d[2],718787259,15),x=a(x,l,b,o,d[9],3951481745,21),this._a=this._a+o|0,this._b=this._b+x|0,this._c=this._c+l|0,this._d=this._d+b|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var d=N.allocUnsafe(16);return d.writeInt32LE(this._a,0),d.writeInt32LE(this._b,4),d.writeInt32LE(this._c,8),d.writeInt32LE(this._d,12),d};function h(d,m){return d<<m|d>>>32-m}t(h,"rotl");function c(d,m,o,x,l,b,E){return h(d+(m&o|~m&x)+l+b|0,E)+m|0}t(c,"fnF");function I(d,m,o,x,l,b,E){return h(d+(m&x|o&~x)+l+b|0,E)+m|0}t(I,"fnG");function S(d,m,o,x,l,b,E){return h(d+(m^o^x)+l+b|0,E)+m|0}t(S,"fnH");function a(d,m,o,x,l,b,E){return h(d+(o^(m|~x))+l+b|0,E)+m|0}t(a,"fnI"),q.exports=s},9746:q=>{q.exports=$;function $(B,_){if(!B)throw new Error(_||"Assertion failed")}t($,"assert"),$.equal=t(function(_,k,N){if(_!=k)throw new Error(N||"Assertion failed: "+_+" != "+k)},"assertEqual")},4504:(q,$)=>{var B=$;function _(R,s){if(Array.isArray(R))return R.slice();if(!R)return[];var h=[];if(typeof R!="string"){for(var c=0;c<R.length;c++)h[c]=R[c]|0;return h}if(s==="hex"){R=R.replace(/[^a-z0-9]+/ig,""),R.length%2!==0&&(R="0"+R);for(var c=0;c<R.length;c+=2)h.push(parseInt(R[c]+R[c+1],16))}else for(var c=0;c<R.length;c++){var I=R.charCodeAt(c),S=I>>8,a=I&255;S?h.push(S,a):h.push(a)}return h}t(_,"toArray"),B.toArray=_;function k(R){return R.length===1?"0"+R:R}t(k,"zero2"),B.zero2=k;function N(R){for(var s="",h=0;h<R.length;h++)s+=k(R[h].toString(16));return s}t(N,"toHex"),B.toHex=N,B.encode=t(function(s,h){return h==="hex"?N(s):s},"encode")},5632:(q,$,B)=>{$.pbkdf2=B(8638),$.pbkdf2Sync=B(1257)},8638:(q,$,B)=>{var _=B(9509).Buffer,k=B(7357),N=B(2368),R=B(1257),s=B(7777),h,c=B.g.crypto&&B.g.crypto.subtle,I={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},S=[];function a(l){if(B.g.process&&!B.g.process.browser||!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(S[l]!==void 0)return S[l];h=h||_.alloc(8);var b=o(h,h,10,128,l).then(function(){return!0}).catch(function(){return!1});return S[l]=b,b}t(a,"checkNative");var d;function m(){return d||(B.g.process&&B.g.process.nextTick?d=B.g.process.nextTick:B.g.queueMicrotask?d=B.g.queueMicrotask:B.g.setImmediate?d=B.g.setImmediate:d=B.g.setTimeout,d)}t(m,"getNextTick");function o(l,b,E,v,w){return c.importKey("raw",l,{name:"PBKDF2"},!1,["deriveBits"]).then(function(A){return c.deriveBits({name:"PBKDF2",salt:b,iterations:E,hash:{name:w}},A,v<<3)}).then(function(A){return _.from(A)})}t(o,"browserPbkdf2");function x(l,b){l.then(function(E){m()(function(){b(null,E)})},function(E){m()(function(){b(E)})})}t(x,"resolvePromise"),q.exports=function(l,b,E,v,w,A){typeof w=="function"&&(A=w,w=void 0),w=w||"sha1";var T=I[w.toLowerCase()];if(!T||typeof B.g.Promise!="function"){m()(function(){var O;try{O=R(l,b,E,v,w)}catch(H){return A(H)}A(null,O)});return}if(k(E,v),l=s(l,N,"Password"),b=s(b,N,"Salt"),typeof A!="function")throw new Error("No callback provided to pbkdf2");x(a(T).then(function(O){return O?o(l,b,E,v,T):R(l,b,E,v,w)}),A)}},2368:(q,$,B)=>{var _;if(B.g.process&&B.g.process.browser)_="utf-8";else if(B.g.process&&B.g.process.version){var k=parseInt(process.version.split(".")[0].slice(1),10);_=k>=6?"utf-8":"binary"}else _="utf-8";q.exports=_},7357:q=>{var $=Math.pow(2,30)-1;q.exports=function(B,_){if(typeof B!="number")throw new TypeError("Iterations not a number");if(B<0)throw new TypeError("Bad iterations");if(typeof _!="number")throw new TypeError("Key length not a number");if(_<0||_>$||_!==_)throw new TypeError("Bad key length")}},1257:(q,$,B)=>{var _=B(8028),k=B(9785),N=B(9072),R=B(9509).Buffer,s=B(7357),h=B(2368),c=B(7777),I=R.alloc(128),S={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function a(o,x,l){var b=d(o),E=o==="sha512"||o==="sha384"?128:64;x.length>E?x=b(x):x.length<E&&(x=R.concat([x,I],E));for(var v=R.allocUnsafe(E+S[o]),w=R.allocUnsafe(E+S[o]),A=0;A<E;A++)v[A]=x[A]^54,w[A]=x[A]^92;var T=R.allocUnsafe(E+l+4);v.copy(T,0,0,E),this.ipad1=T,this.ipad2=v,this.opad=w,this.alg=o,this.blocksize=E,this.hash=b,this.size=S[o]}t(a,"Hmac"),a.prototype.run=function(o,x){o.copy(x,this.blocksize);var l=this.hash(x);return l.copy(this.opad,this.blocksize),this.hash(this.opad)};function d(o){function x(b){return N(o).update(b).digest()}t(x,"shaFunc");function l(b){return new k().update(b).digest()}return t(l,"rmd160Func"),o==="rmd160"||o==="ripemd160"?l:o==="md5"?_:x}t(d,"getDigest");function m(o,x,l,b,E){s(l,b),o=c(o,h,"Password"),x=c(x,h,"Salt"),E=E||"sha1";var v=new a(E,o,x.length),w=R.allocUnsafe(b),A=R.allocUnsafe(x.length+4);x.copy(A,0,0,x.length);for(var T=0,O=S[E],H=Math.ceil(b/O),J=1;J<=H;J++){A.writeUInt32BE(J,x.length);for(var ee=v.run(A,v.ipad1),Y=ee,te=1;te<l;te++){Y=v.run(Y,v.ipad2);for(var ae=0;ae<O;ae++)ee[ae]^=Y[ae]}ee.copy(w,T),T+=O}return w}t(m,"pbkdf2"),q.exports=m},7777:(q,$,B)=>{var _=B(9509).Buffer;q.exports=function(k,N,R){if(_.isBuffer(k))return k;if(typeof k=="string")return _.from(k,N);if(ArrayBuffer.isView(k))return _.from(k.buffer);throw new TypeError(R+" must be a string, a Buffer, a typed array or a DataView")}},1798:(q,$,B)=>{var _=65536,k=4294967295;function N(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
7
|
-
Use Chrome, Firefox or Internet Explorer 11`)}t(N,"oldBrowser");var R=B(9509).Buffer,s=B.g.crypto||B.g.msCrypto;s&&s.getRandomValues?q.exports=h:q.exports=N;function h(c,I){if(c>k)throw new RangeError("requested too many random bytes");var S=R.allocUnsafe(c);if(c>0)if(c>_)for(var a=0;a<c;a+=_)s.getRandomValues(S.slice(a,a+_));else s.getRandomValues(S);return typeof I=="function"?process.nextTick(function(){I(null,S)}):S}t(h,"randomBytes")},4281:q=>{function $(h,c){h.prototype=Object.create(c.prototype),h.prototype.constructor=h,h.__proto__=c}t($,"_inheritsLoose");var B={};function _(h,c,I){I||(I=Error);function S(d,m,o){return typeof c=="string"?c:c(d,m,o)}t(S,"getMessage");var a=function(d){$(m,d);function m(o,x,l){return d.call(this,S(o,x,l))||this}return t(m,"NodeError"),m}(I);a.prototype.name=I.name,a.prototype.code=h,B[h]=a}t(_,"createErrorType");function k(h,c){if(Array.isArray(h)){var I=h.length;return h=h.map(function(S){return String(S)}),I>2?"one of ".concat(c," ").concat(h.slice(0,I-1).join(", "),", or ")+h[I-1]:I===2?"one of ".concat(c," ").concat(h[0]," or ").concat(h[1]):"of ".concat(c," ").concat(h[0])}else return"of ".concat(c," ").concat(String(h))}t(k,"oneOf");function N(h,c,I){return h.substr(!I||I<0?0:+I,c.length)===c}t(N,"startsWith");function R(h,c,I){return(I===void 0||I>h.length)&&(I=h.length),h.substring(I-c.length,I)===c}t(R,"endsWith");function s(h,c,I){return typeof I!="number"&&(I=0),I+c.length>h.length?!1:h.indexOf(c,I)!==-1}t(s,"includes"),_("ERR_INVALID_OPT_VALUE",function(h,c){return'The value "'+c+'" is invalid for option "'+h+'"'},TypeError),_("ERR_INVALID_ARG_TYPE",function(h,c,I){var S;typeof c=="string"&&N(c,"not ")?(S="must not be",c=c.replace(/^not /,"")):S="must be";var a;if(R(h," argument"))a="The ".concat(h," ").concat(S," ").concat(k(c,"type"));else{var d=s(h,".")?"property":"argument";a='The "'.concat(h,'" ').concat(d," ").concat(S," ").concat(k(c,"type"))}return a+=". Received type ".concat(typeof I),a},TypeError),_("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),_("ERR_METHOD_NOT_IMPLEMENTED",function(h){return"The "+h+" method is not implemented"}),_("ERR_STREAM_PREMATURE_CLOSE","Premature close"),_("ERR_STREAM_DESTROYED",function(h){return"Cannot call "+h+" after a stream was destroyed"}),_("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),_("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),_("ERR_STREAM_WRITE_AFTER_END","write after end"),_("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_("ERR_UNKNOWN_ENCODING",function(h){return"Unknown encoding: "+h},TypeError),_("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),q.exports.q=B},6753:(q,$,B)=>{var _=Object.keys||function(a){var d=[];for(var m in a)d.push(m);return d};q.exports=c;var k=B(9481),N=B(4229);B(5717)(c,k);for(var R=_(N.prototype),s=0;s<R.length;s++){var h=R[s];c.prototype[h]||(c.prototype[h]=N.prototype[h])}function c(a){if(!(this instanceof c))return new c(a);k.call(this,a),N.call(this,a),this.allowHalfOpen=!0,a&&(a.readable===!1&&(this.readable=!1),a.writable===!1&&(this.writable=!1),a.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",I)))}t(c,"Duplex"),Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:t(function(){return this._writableState.highWaterMark},"get")}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:t(function(){return this._writableState&&this._writableState.getBuffer()},"get")}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:t(function(){return this._writableState.length},"get")});function I(){this._writableState.ended||process.nextTick(S,this)}t(I,"onend");function S(a){a.end()}t(S,"onEndNT"),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:t(function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},"get"),set:t(function(d){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=d,this._writableState.destroyed=d)},"set")})},2725:(q,$,B)=>{q.exports=k;var _=B(4605);B(5717)(k,_);function k(N){if(!(this instanceof k))return new k(N);_.call(this,N)}t(k,"PassThrough"),k.prototype._transform=function(N,R,s){s(null,N)}},9481:(q,$,B)=>{q.exports=te;var _;te.ReadableState=Y;var k=B(7187).EventEmitter,N=t(function(U,Q){return U.listeners(Q).length},"EElistenerCount"),R=B(2503),s=B(8764).Buffer,h=(typeof B.g<"u"?B.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function c(C){return s.from(C)}t(c,"_uint8ArrayToBuffer");function I(C){return s.isBuffer(C)||C instanceof h}t(I,"_isUint8Array");var S=B(4616),a;S&&S.debuglog?a=S.debuglog("stream"):a=t(function(){},"debug");var d=B(7327),m=B(1195),o=B(2457),x=o.getHighWaterMark,l=B(4281).q,b=l.ERR_INVALID_ARG_TYPE,E=l.ERR_STREAM_PUSH_AFTER_EOF,v=l.ERR_METHOD_NOT_IMPLEMENTED,w=l.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,A,T,O;B(5717)(te,R);var H=m.errorOrDestroy,J=["error","close","destroy","pause","resume"];function ee(C,U,Q){if(typeof C.prependListener=="function")return C.prependListener(U,Q);!C._events||!C._events[U]?C.on(U,Q):Array.isArray(C._events[U])?C._events[U].unshift(Q):C._events[U]=[Q,C._events[U]]}t(ee,"prependListener");function Y(C,U,Q){_=_||B(6753),C=C||{},typeof Q!="boolean"&&(Q=U instanceof _),this.objectMode=!!C.objectMode,Q&&(this.objectMode=this.objectMode||!!C.readableObjectMode),this.highWaterMark=x(this,C,"readableHighWaterMark",Q),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=C.emitClose!==!1,this.autoDestroy=!!C.autoDestroy,this.destroyed=!1,this.defaultEncoding=C.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,C.encoding&&(A||(A=B(2553).s),this.decoder=new A(C.encoding),this.encoding=C.encoding)}t(Y,"ReadableState");function te(C){if(_=_||B(6753),!(this instanceof te))return new te(C);var U=this instanceof _;this._readableState=new Y(C,this,U),this.readable=!0,C&&(typeof C.read=="function"&&(this._read=C.read),typeof C.destroy=="function"&&(this._destroy=C.destroy)),R.call(this)}t(te,"Readable"),Object.defineProperty(te.prototype,"destroyed",{enumerable:!1,get:t(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:t(function(U){this._readableState&&(this._readableState.destroyed=U)},"set")}),te.prototype.destroy=m.destroy,te.prototype._undestroy=m.undestroy,te.prototype._destroy=function(C,U){U(C)},te.prototype.push=function(C,U){var Q=this._readableState,re;return Q.objectMode?re=!0:typeof C=="string"&&(U=U||Q.defaultEncoding,U!==Q.encoding&&(C=s.from(C,U),U=""),re=!0),ae(this,C,U,!1,re)},te.prototype.unshift=function(C){return ae(this,C,null,!0,!1)};function ae(C,U,Q,re,ve){a("readableAddChunk",U);var de=C._readableState;if(U===null)de.reading=!1,p(C,de);else{var ce;if(ve||(ce=g(de,U)),ce)H(C,ce);else if(de.objectMode||U&&U.length>0)if(typeof U!="string"&&!de.objectMode&&Object.getPrototypeOf(U)!==s.prototype&&(U=c(U)),re)de.endEmitted?H(C,new w):V(C,de,U,!0);else if(de.ended)H(C,new E);else{if(de.destroyed)return!1;de.reading=!1,de.decoder&&!Q?(U=de.decoder.write(U),de.objectMode||U.length!==0?V(C,de,U,!1):z(C,de)):V(C,de,U,!1)}else re||(de.reading=!1,z(C,de))}return!de.ended&&(de.length<de.highWaterMark||de.length===0)}t(ae,"readableAddChunk");function V(C,U,Q,re){U.flowing&&U.length===0&&!U.sync?(U.awaitDrain=0,C.emit("data",Q)):(U.length+=U.objectMode?1:Q.length,re?U.buffer.unshift(Q):U.buffer.push(Q),U.needReadable&&M(C)),z(C,U)}t(V,"addChunk");function g(C,U){var Q;return!I(U)&&typeof U!="string"&&U!==void 0&&!C.objectMode&&(Q=new b("chunk",["string","Buffer","Uint8Array"],U)),Q}t(g,"chunkInvalid"),te.prototype.isPaused=function(){return this._readableState.flowing===!1},te.prototype.setEncoding=function(C){A||(A=B(2553).s);var U=new A(C);this._readableState.decoder=U,this._readableState.encoding=this._readableState.decoder.encoding;for(var Q=this._readableState.buffer.head,re="";Q!==null;)re+=U.write(Q.data),Q=Q.next;return this._readableState.buffer.clear(),re!==""&&this._readableState.buffer.push(re),this._readableState.length=re.length,this};var e=1073741824;function i(C){return C>=e?C=e:(C--,C|=C>>>1,C|=C>>>2,C|=C>>>4,C|=C>>>8,C|=C>>>16,C++),C}t(i,"computeNewHighWaterMark");function u(C,U){return C<=0||U.length===0&&U.ended?0:U.objectMode?1:C!==C?U.flowing&&U.length?U.buffer.head.data.length:U.length:(C>U.highWaterMark&&(U.highWaterMark=i(C)),C<=U.length?C:U.ended?U.length:(U.needReadable=!0,0))}t(u,"howMuchToRead"),te.prototype.read=function(C){a("read",C),C=parseInt(C,10);var U=this._readableState,Q=C;if(C!==0&&(U.emittedReadable=!1),C===0&&U.needReadable&&((U.highWaterMark!==0?U.length>=U.highWaterMark:U.length>0)||U.ended))return a("read: emitReadable",U.length,U.ended),U.length===0&&U.ended?X(this):M(this),null;if(C=u(C,U),C===0&&U.ended)return U.length===0&&X(this),null;var re=U.needReadable;a("need readable",re),(U.length===0||U.length-C<U.highWaterMark)&&(re=!0,a("length less than watermark",re)),U.ended||U.reading?(re=!1,a("reading or ended",re)):re&&(a("do read"),U.reading=!0,U.sync=!0,U.length===0&&(U.needReadable=!0),this._read(U.highWaterMark),U.sync=!1,U.reading||(C=u(Q,U)));var ve;return C>0?ve=K(C,U):ve=null,ve===null?(U.needReadable=U.length<=U.highWaterMark,C=0):(U.length-=C,U.awaitDrain=0),U.length===0&&(U.ended||(U.needReadable=!0),Q!==C&&U.ended&&X(this)),ve!==null&&this.emit("data",ve),ve};function p(C,U){if(a("onEofChunk"),!U.ended){if(U.decoder){var Q=U.decoder.end();Q&&Q.length&&(U.buffer.push(Q),U.length+=U.objectMode?1:Q.length)}U.ended=!0,U.sync?M(C):(U.needReadable=!1,U.emittedReadable||(U.emittedReadable=!0,D(C)))}}t(p,"onEofChunk");function M(C){var U=C._readableState;a("emitReadable",U.needReadable,U.emittedReadable),U.needReadable=!1,U.emittedReadable||(a("emitReadable",U.flowing),U.emittedReadable=!0,process.nextTick(D,C))}t(M,"emitReadable");function D(C){var U=C._readableState;a("emitReadable_",U.destroyed,U.length,U.ended),!U.destroyed&&(U.length||U.ended)&&(C.emit("readable"),U.emittedReadable=!1),U.needReadable=!U.flowing&&!U.ended&&U.length<=U.highWaterMark,j(C)}t(D,"emitReadable_");function z(C,U){U.readingMore||(U.readingMore=!0,process.nextTick(L,C,U))}t(z,"maybeReadMore");function L(C,U){for(;!U.reading&&!U.ended&&(U.length<U.highWaterMark||U.flowing&&U.length===0);){var Q=U.length;if(a("maybeReadMore read 0"),C.read(0),Q===U.length)break}U.readingMore=!1}t(L,"maybeReadMore_"),te.prototype._read=function(C){H(this,new v("_read()"))},te.prototype.pipe=function(C,U){var Q=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=C;break;case 1:re.pipes=[re.pipes,C];break;default:re.pipes.push(C);break}re.pipesCount+=1,a("pipe count=%d opts=%j",re.pipesCount,U);var ve=(!U||U.end!==!1)&&C!==process.stdout&&C!==process.stderr,de=ve?ze:r;re.endEmitted?process.nextTick(de):Q.once("end",de),C.on("unpipe",ce);function ce(n,F){a("onunpipe"),n===Q&&F&&F.hasUnpiped===!1&&(F.hasUnpiped=!0,we())}t(ce,"onunpipe");function ze(){a("onend"),C.end()}t(ze,"onend");var xe=f(Q);C.on("drain",xe);var ue=!1;function we(){a("cleanup"),C.removeListener("close",He),C.removeListener("finish",y),C.removeListener("drain",xe),C.removeListener("error",pe),C.removeListener("unpipe",ce),Q.removeListener("end",ze),Q.removeListener("end",r),Q.removeListener("data",ge),ue=!0,re.awaitDrain&&(!C._writableState||C._writableState.needDrain)&&xe()}t(we,"cleanup"),Q.on("data",ge);function ge(n){a("ondata");var F=C.write(n);a("dest.write",F),F===!1&&((re.pipesCount===1&&re.pipes===C||re.pipesCount>1&&se(re.pipes,C)!==-1)&&!ue&&(a("false write response, pause",re.awaitDrain),re.awaitDrain++),Q.pause())}t(ge,"ondata");function pe(n){a("onerror",n),r(),C.removeListener("error",pe),N(C,"error")===0&&H(C,n)}t(pe,"onerror"),ee(C,"error",pe);function He(){C.removeListener("finish",y),r()}t(He,"onclose"),C.once("close",He);function y(){a("onfinish"),C.removeListener("close",He),r()}t(y,"onfinish"),C.once("finish",y);function r(){a("unpipe"),Q.unpipe(C)}return t(r,"unpipe"),C.emit("pipe",Q),re.flowing||(a("pipe resume"),Q.resume()),C};function f(C){return t(function(){var Q=C._readableState;a("pipeOnDrain",Q.awaitDrain),Q.awaitDrain&&Q.awaitDrain--,Q.awaitDrain===0&&N(C,"data")&&(Q.flowing=!0,j(C))},"pipeOnDrainFunctionResult")}t(f,"pipeOnDrain"),te.prototype.unpipe=function(C){var U=this._readableState,Q={hasUnpiped:!1};if(U.pipesCount===0)return this;if(U.pipesCount===1)return C&&C!==U.pipes?this:(C||(C=U.pipes),U.pipes=null,U.pipesCount=0,U.flowing=!1,C&&C.emit("unpipe",this,Q),this);if(!C){var re=U.pipes,ve=U.pipesCount;U.pipes=null,U.pipesCount=0,U.flowing=!1;for(var de=0;de<ve;de++)re[de].emit("unpipe",this,{hasUnpiped:!1});return this}var ce=se(U.pipes,C);return ce===-1?this:(U.pipes.splice(ce,1),U.pipesCount-=1,U.pipesCount===1&&(U.pipes=U.pipes[0]),C.emit("unpipe",this,Q),this)},te.prototype.on=function(C,U){var Q=R.prototype.on.call(this,C,U),re=this._readableState;return C==="data"?(re.readableListening=this.listenerCount("readable")>0,re.flowing!==!1&&this.resume()):C==="readable"&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,a("on readable",re.length,re.reading),re.length?M(this):re.reading||process.nextTick(ie,this)),Q},te.prototype.addListener=te.prototype.on,te.prototype.removeListener=function(C,U){var Q=R.prototype.removeListener.call(this,C,U);return C==="readable"&&process.nextTick(P,this),Q},te.prototype.removeAllListeners=function(C){var U=R.prototype.removeAllListeners.apply(this,arguments);return(C==="readable"||C===void 0)&&process.nextTick(P,this),U};function P(C){var U=C._readableState;U.readableListening=C.listenerCount("readable")>0,U.resumeScheduled&&!U.paused?U.flowing=!0:C.listenerCount("data")>0&&C.resume()}t(P,"updateReadableListening");function ie(C){a("readable nexttick read 0"),C.read(0)}t(ie,"nReadingNextTick"),te.prototype.resume=function(){var C=this._readableState;return C.flowing||(a("resume"),C.flowing=!C.readableListening,ne(this,C)),C.paused=!1,this};function ne(C,U){U.resumeScheduled||(U.resumeScheduled=!0,process.nextTick(fe,C,U))}t(ne,"resume");function fe(C,U){a("resume",U.reading),U.reading||C.read(0),U.resumeScheduled=!1,C.emit("resume"),j(C),U.flowing&&!U.reading&&C.read(0)}t(fe,"resume_"),te.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function j(C){var U=C._readableState;for(a("flow",U.flowing);U.flowing&&C.read()!==null;);}t(j,"flow"),te.prototype.wrap=function(C){var U=this,Q=this._readableState,re=!1;C.on("end",function(){if(a("wrapped end"),Q.decoder&&!Q.ended){var ce=Q.decoder.end();ce&&ce.length&&U.push(ce)}U.push(null)}),C.on("data",function(ce){if(a("wrapped data"),Q.decoder&&(ce=Q.decoder.write(ce)),!(Q.objectMode&&ce==null)&&!(!Q.objectMode&&(!ce||!ce.length))){var ze=U.push(ce);ze||(re=!0,C.pause())}});for(var ve in C)this[ve]===void 0&&typeof C[ve]=="function"&&(this[ve]=t(function(ze){return t(function(){return C[ze].apply(C,arguments)},"methodWrapReturnFunction")},"methodWrap")(ve));for(var de=0;de<J.length;de++)C.on(J[de],this.emit.bind(this,J[de]));return this._read=function(ce){a("wrapped _read",ce),re&&(re=!1,C.resume())},this},typeof Symbol=="function"&&(te.prototype[Symbol.asyncIterator]=function(){return T===void 0&&(T=B(5850)),T(this)}),Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:t(function(){return this._readableState.highWaterMark},"get")}),Object.defineProperty(te.prototype,"readableBuffer",{enumerable:!1,get:t(function(){return this._readableState&&this._readableState.buffer},"get")}),Object.defineProperty(te.prototype,"readableFlowing",{enumerable:!1,get:t(function(){return this._readableState.flowing},"get"),set:t(function(U){this._readableState&&(this._readableState.flowing=U)},"set")}),te._fromList=K,Object.defineProperty(te.prototype,"readableLength",{enumerable:!1,get:t(function(){return this._readableState.length},"get")});function K(C,U){if(U.length===0)return null;var Q;return U.objectMode?Q=U.buffer.shift():!C||C>=U.length?(U.decoder?Q=U.buffer.join(""):U.buffer.length===1?Q=U.buffer.first():Q=U.buffer.concat(U.length),U.buffer.clear()):Q=U.buffer.consume(C,U.decoder),Q}t(K,"fromList");function X(C){var U=C._readableState;a("endReadable",U.endEmitted),U.endEmitted||(U.ended=!0,process.nextTick(oe,U,C))}t(X,"endReadable");function oe(C,U){if(a("endReadableNT",C.endEmitted,C.length),!C.endEmitted&&C.length===0&&(C.endEmitted=!0,U.readable=!1,U.emit("end"),C.autoDestroy)){var Q=U._writableState;(!Q||Q.autoDestroy&&Q.finished)&&U.destroy()}}t(oe,"endReadableNT"),typeof Symbol=="function"&&(te.from=function(C,U){return O===void 0&&(O=B(5167)),O(te,C,U)});function se(C,U){for(var Q=0,re=C.length;Q<re;Q++)if(C[Q]===U)return Q;return-1}t(se,"indexOf")},4605:(q,$,B)=>{q.exports=I;var _=B(4281).q,k=_.ERR_METHOD_NOT_IMPLEMENTED,N=_.ERR_MULTIPLE_CALLBACK,R=_.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=_.ERR_TRANSFORM_WITH_LENGTH_0,h=B(6753);B(5717)(I,h);function c(d,m){var o=this._transformState;o.transforming=!1;var x=o.writecb;if(x===null)return this.emit("error",new N);o.writechunk=null,o.writecb=null,m!=null&&this.push(m),x(d);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}t(c,"afterTransform");function I(d){if(!(this instanceof I))return new I(d);h.call(this,d),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",S)}t(I,"Transform");function S(){var d=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(m,o){a(d,m,o)}):a(this,null,null)}t(S,"prefinish"),I.prototype.push=function(d,m){return this._transformState.needTransform=!1,h.prototype.push.call(this,d,m)},I.prototype._transform=function(d,m,o){o(new k("_transform()"))},I.prototype._write=function(d,m,o){var x=this._transformState;if(x.writecb=o,x.writechunk=d,x.writeencoding=m,!x.transforming){var l=this._readableState;(x.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},I.prototype._read=function(d){var m=this._transformState;m.writechunk!==null&&!m.transforming?(m.transforming=!0,this._transform(m.writechunk,m.writeencoding,m.afterTransform)):m.needTransform=!0},I.prototype._destroy=function(d,m){h.prototype._destroy.call(this,d,function(o){m(o)})};function a(d,m,o){if(m)return d.emit("error",m);if(o!=null&&d.push(o),d._writableState.length)throw new s;if(d._transformState.transforming)throw new R;return d.push(null)}t(a,"done")},4229:(q,$,B)=>{q.exports=Y;function _(j,K,X){this.chunk=j,this.encoding=K,this.callback=X,this.next=null}t(_,"WriteReq");function k(j){var K=this;this.next=null,this.entry=null,this.finish=function(){fe(K,j)}}t(k,"CorkedRequest");var N;Y.WritableState=J;var R={deprecate:B(4927)},s=B(2503),h=B(8764).Buffer,c=(typeof B.g<"u"?B.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function I(j){return h.from(j)}t(I,"_uint8ArrayToBuffer");function S(j){return h.isBuffer(j)||j instanceof c}t(S,"_isUint8Array");var a=B(1195),d=B(2457),m=d.getHighWaterMark,o=B(4281).q,x=o.ERR_INVALID_ARG_TYPE,l=o.ERR_METHOD_NOT_IMPLEMENTED,b=o.ERR_MULTIPLE_CALLBACK,E=o.ERR_STREAM_CANNOT_PIPE,v=o.ERR_STREAM_DESTROYED,w=o.ERR_STREAM_NULL_VALUES,A=o.ERR_STREAM_WRITE_AFTER_END,T=o.ERR_UNKNOWN_ENCODING,O=a.errorOrDestroy;B(5717)(Y,s);function H(){}t(H,"nop");function J(j,K,X){N=N||B(6753),j=j||{},typeof X!="boolean"&&(X=K instanceof N),this.objectMode=!!j.objectMode,X&&(this.objectMode=this.objectMode||!!j.writableObjectMode),this.highWaterMark=m(this,j,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var oe=j.decodeStrings===!1;this.decodeStrings=!oe,this.defaultEncoding=j.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(se){p(K,se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=j.emitClose!==!1,this.autoDestroy=!!j.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new k(this)}t(J,"WritableState"),J.prototype.getBuffer=t(function(){for(var K=this.bufferedRequest,X=[];K;)X.push(K),K=K.next;return X},"getBuffer"),function(){try{Object.defineProperty(J.prototype,"buffer",{get:R.deprecate(t(function(){return this.getBuffer()},"writableStateBufferGetter"),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var ee;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ee=Function.prototype[Symbol.hasInstance],Object.defineProperty(Y,Symbol.hasInstance,{value:t(function(K){return ee.call(this,K)?!0:this!==Y?!1:K&&K._writableState instanceof J},"value")})):ee=t(function(K){return K instanceof this},"realHasInstance");function Y(j){N=N||B(6753);var K=this instanceof N;if(!K&&!ee.call(Y,this))return new Y(j);this._writableState=new J(j,this,K),this.writable=!0,j&&(typeof j.write=="function"&&(this._write=j.write),typeof j.writev=="function"&&(this._writev=j.writev),typeof j.destroy=="function"&&(this._destroy=j.destroy),typeof j.final=="function"&&(this._final=j.final)),s.call(this)}t(Y,"Writable"),Y.prototype.pipe=function(){O(this,new E)};function te(j,K){var X=new A;O(j,X),process.nextTick(K,X)}t(te,"writeAfterEnd");function ae(j,K,X,oe){var se;return X===null?se=new w:typeof X!="string"&&!K.objectMode&&(se=new x("chunk",["string","Buffer"],X)),se?(O(j,se),process.nextTick(oe,se),!1):!0}t(ae,"validChunk"),Y.prototype.write=function(j,K,X){var oe=this._writableState,se=!1,C=!oe.objectMode&&S(j);return C&&!h.isBuffer(j)&&(j=I(j)),typeof K=="function"&&(X=K,K=null),C?K="buffer":K||(K=oe.defaultEncoding),typeof X!="function"&&(X=H),oe.ending?te(this,X):(C||ae(this,oe,j,X))&&(oe.pendingcb++,se=g(this,oe,C,j,K,X)),se},Y.prototype.cork=function(){this._writableState.corked++},Y.prototype.uncork=function(){var j=this._writableState;j.corked&&(j.corked--,!j.writing&&!j.corked&&!j.bufferProcessing&&j.bufferedRequest&&z(this,j))},Y.prototype.setDefaultEncoding=t(function(K){if(typeof K=="string"&&(K=K.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((K+"").toLowerCase())>-1))throw new T(K);return this._writableState.defaultEncoding=K,this},"setDefaultEncoding"),Object.defineProperty(Y.prototype,"writableBuffer",{enumerable:!1,get:t(function(){return this._writableState&&this._writableState.getBuffer()},"get")});function V(j,K,X){return!j.objectMode&&j.decodeStrings!==!1&&typeof K=="string"&&(K=h.from(K,X)),K}t(V,"decodeChunk"),Object.defineProperty(Y.prototype,"writableHighWaterMark",{enumerable:!1,get:t(function(){return this._writableState.highWaterMark},"get")});function g(j,K,X,oe,se,C){if(!X){var U=V(K,oe,se);oe!==U&&(X=!0,se="buffer",oe=U)}var Q=K.objectMode?1:oe.length;K.length+=Q;var re=K.length<K.highWaterMark;if(re||(K.needDrain=!0),K.writing||K.corked){var ve=K.lastBufferedRequest;K.lastBufferedRequest={chunk:oe,encoding:se,isBuf:X,callback:C,next:null},ve?ve.next=K.lastBufferedRequest:K.bufferedRequest=K.lastBufferedRequest,K.bufferedRequestCount+=1}else e(j,K,!1,Q,oe,se,C);return re}t(g,"writeOrBuffer");function e(j,K,X,oe,se,C,U){K.writelen=oe,K.writecb=U,K.writing=!0,K.sync=!0,K.destroyed?K.onwrite(new v("write")):X?j._writev(se,K.onwrite):j._write(se,C,K.onwrite),K.sync=!1}t(e,"doWrite");function i(j,K,X,oe,se){--K.pendingcb,X?(process.nextTick(se,oe),process.nextTick(ie,j,K),j._writableState.errorEmitted=!0,O(j,oe)):(se(oe),j._writableState.errorEmitted=!0,O(j,oe),ie(j,K))}t(i,"onwriteError");function u(j){j.writing=!1,j.writecb=null,j.length-=j.writelen,j.writelen=0}t(u,"onwriteStateUpdate");function p(j,K){var X=j._writableState,oe=X.sync,se=X.writecb;if(typeof se!="function")throw new b;if(u(X),K)i(j,X,oe,K,se);else{var C=L(X)||j.destroyed;!C&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&z(j,X),oe?process.nextTick(M,j,X,C,se):M(j,X,C,se)}}t(p,"onwrite");function M(j,K,X,oe){X||D(j,K),K.pendingcb--,oe(),ie(j,K)}t(M,"afterWrite");function D(j,K){K.length===0&&K.needDrain&&(K.needDrain=!1,j.emit("drain"))}t(D,"onwriteDrain");function z(j,K){K.bufferProcessing=!0;var X=K.bufferedRequest;if(j._writev&&X&&X.next){var oe=K.bufferedRequestCount,se=new Array(oe),C=K.corkedRequestsFree;C.entry=X;for(var U=0,Q=!0;X;)se[U]=X,X.isBuf||(Q=!1),X=X.next,U+=1;se.allBuffers=Q,e(j,K,!0,K.length,se,"",C.finish),K.pendingcb++,K.lastBufferedRequest=null,C.next?(K.corkedRequestsFree=C.next,C.next=null):K.corkedRequestsFree=new k(K),K.bufferedRequestCount=0}else{for(;X;){var re=X.chunk,ve=X.encoding,de=X.callback,ce=K.objectMode?1:re.length;if(e(j,K,!1,ce,re,ve,de),X=X.next,K.bufferedRequestCount--,K.writing)break}X===null&&(K.lastBufferedRequest=null)}K.bufferedRequest=X,K.bufferProcessing=!1}t(z,"clearBuffer"),Y.prototype._write=function(j,K,X){X(new l("_write()"))},Y.prototype._writev=null,Y.prototype.end=function(j,K,X){var oe=this._writableState;return typeof j=="function"?(X=j,j=null,K=null):typeof K=="function"&&(X=K,K=null),j!=null&&this.write(j,K),oe.corked&&(oe.corked=1,this.uncork()),oe.ending||ne(this,oe,X),this},Object.defineProperty(Y.prototype,"writableLength",{enumerable:!1,get:t(function(){return this._writableState.length},"get")});function L(j){return j.ending&&j.length===0&&j.bufferedRequest===null&&!j.finished&&!j.writing}t(L,"needFinish");function f(j,K){j._final(function(X){K.pendingcb--,X&&O(j,X),K.prefinished=!0,j.emit("prefinish"),ie(j,K)})}t(f,"callFinal");function P(j,K){!K.prefinished&&!K.finalCalled&&(typeof j._final=="function"&&!K.destroyed?(K.pendingcb++,K.finalCalled=!0,process.nextTick(f,j,K)):(K.prefinished=!0,j.emit("prefinish")))}t(P,"prefinish");function ie(j,K){var X=L(K);if(X&&(P(j,K),K.pendingcb===0&&(K.finished=!0,j.emit("finish"),K.autoDestroy))){var oe=j._readableState;(!oe||oe.autoDestroy&&oe.endEmitted)&&j.destroy()}return X}t(ie,"finishMaybe");function ne(j,K,X){K.ending=!0,ie(j,K),X&&(K.finished?process.nextTick(X):j.once("finish",X)),K.ended=!0,j.writable=!1}t(ne,"endWritable");function fe(j,K,X){var oe=j.entry;for(j.entry=null;oe;){var se=oe.callback;K.pendingcb--,se(X),oe=oe.next}K.corkedRequestsFree.next=j}t(fe,"onCorkedFinish"),Object.defineProperty(Y.prototype,"destroyed",{enumerable:!1,get:t(function(){return this._writableState===void 0?!1:this._writableState.destroyed},"get"),set:t(function(K){this._writableState&&(this._writableState.destroyed=K)},"set")}),Y.prototype.destroy=a.destroy,Y.prototype._undestroy=a.undestroy,Y.prototype._destroy=function(j,K){K(j)}},5850:(q,$,B)=>{var _;function k(A,T,O){return T=N(T),T in A?Object.defineProperty(A,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):A[T]=O,A}t(k,"_defineProperty");function N(A){var T=R(A,"string");return typeof T=="symbol"?T:String(T)}t(N,"_toPropertyKey");function R(A,T){if(typeof A!="object"||A===null)return A;var O=A[Symbol.toPrimitive];if(O!==void 0){var H=O.call(A,T||"default");if(typeof H!="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(A)}t(R,"_toPrimitive");var s=B(8610),h=Symbol("lastResolve"),c=Symbol("lastReject"),I=Symbol("error"),S=Symbol("ended"),a=Symbol("lastPromise"),d=Symbol("handlePromise"),m=Symbol("stream");function o(A,T){return{value:A,done:T}}t(o,"createIterResult");function x(A){var T=A[h];if(T!==null){var O=A[m].read();O!==null&&(A[a]=null,A[h]=null,A[c]=null,T(o(O,!1)))}}t(x,"readAndResolve");function l(A){process.nextTick(x,A)}t(l,"onReadable");function b(A,T){return function(O,H){A.then(function(){if(T[S]){O(o(void 0,!0));return}T[d](O,H)},H)}}t(b,"wrapForNext");var E=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((_={get stream(){return this[m]},next:t(function(){var T=this,O=this[I];if(O!==null)return Promise.reject(O);if(this[S])return Promise.resolve(o(void 0,!0));if(this[m].destroyed)return new Promise(function(Y,te){process.nextTick(function(){T[I]?te(T[I]):Y(o(void 0,!0))})});var H=this[a],J;if(H)J=new Promise(b(H,this));else{var ee=this[m].read();if(ee!==null)return Promise.resolve(o(ee,!1));J=new Promise(this[d])}return this[a]=J,J},"next")},k(_,Symbol.asyncIterator,function(){return this}),k(_,"return",t(function(){var T=this;return new Promise(function(O,H){T[m].destroy(null,function(J){if(J){H(J);return}O(o(void 0,!0))})})},"_return")),_),E),w=t(function(T){var O,H=Object.create(v,(O={},k(O,m,{value:T,writable:!0}),k(O,h,{value:null,writable:!0}),k(O,c,{value:null,writable:!0}),k(O,I,{value:null,writable:!0}),k(O,S,{value:T._readableState.endEmitted,writable:!0}),k(O,d,{value:t(function(ee,Y){var te=H[m].read();te?(H[a]=null,H[h]=null,H[c]=null,ee(o(te,!1))):(H[h]=ee,H[c]=Y)},"value"),writable:!0}),O));return H[a]=null,s(T,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var ee=H[c];ee!==null&&(H[a]=null,H[h]=null,H[c]=null,ee(J)),H[I]=J;return}var Y=H[h];Y!==null&&(H[a]=null,H[h]=null,H[c]=null,Y(o(void 0,!0))),H[S]=!0}),T.on("readable",l.bind(null,H)),H},"createReadableStreamAsyncIterator");q.exports=w},7327:(q,$,B)=>{function _(l,b){var E=Object.keys(l);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(l);b&&(v=v.filter(function(w){return Object.getOwnPropertyDescriptor(l,w).enumerable})),E.push.apply(E,v)}return E}t(_,"ownKeys");function k(l){for(var b=1;b<arguments.length;b++){var E=arguments[b]!=null?arguments[b]:{};b%2?_(Object(E),!0).forEach(function(v){N(l,v,E[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(E)):_(Object(E)).forEach(function(v){Object.defineProperty(l,v,Object.getOwnPropertyDescriptor(E,v))})}return l}t(k,"_objectSpread");function N(l,b,E){return b=c(b),b in l?Object.defineProperty(l,b,{value:E,enumerable:!0,configurable:!0,writable:!0}):l[b]=E,l}t(N,"_defineProperty");function R(l,b){if(!(l instanceof b))throw new TypeError("Cannot call a class as a function")}t(R,"_classCallCheck");function s(l,b){for(var E=0;E<b.length;E++){var v=b[E];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(l,c(v.key),v)}}t(s,"_defineProperties");function h(l,b,E){return b&&s(l.prototype,b),E&&s(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}t(h,"_createClass");function c(l){var b=I(l,"string");return typeof b=="symbol"?b:String(b)}t(c,"_toPropertyKey");function I(l,b){if(typeof l!="object"||l===null)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var v=E.call(l,b||"default");if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(l)}t(I,"_toPrimitive");var S=B(8764),a=S.Buffer,d=B(2361),m=d.inspect,o=m&&m.custom||"inspect";function x(l,b,E){a.prototype.copy.call(l,b,E)}t(x,"copyBuffer"),q.exports=function(){function l(){R(this,l),this.head=null,this.tail=null,this.length=0}return t(l,"BufferList"),h(l,[{key:"push",value:t(function(E){var v={data:E,next:null};this.length>0?this.tail.next=v:this.head=v,this.tail=v,++this.length},"push")},{key:"unshift",value:t(function(E){var v={data:E,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length},"unshift")},{key:"shift",value:t(function(){if(this.length!==0){var E=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,E}},"shift")},{key:"clear",value:t(function(){this.head=this.tail=null,this.length=0},"clear")},{key:"join",value:t(function(E){if(this.length===0)return"";for(var v=this.head,w=""+v.data;v=v.next;)w+=E+v.data;return w},"join")},{key:"concat",value:t(function(E){if(this.length===0)return a.alloc(0);for(var v=a.allocUnsafe(E>>>0),w=this.head,A=0;w;)x(w.data,v,A),A+=w.data.length,w=w.next;return v},"concat")},{key:"consume",value:t(function(E,v){var w;return E<this.head.data.length?(w=this.head.data.slice(0,E),this.head.data=this.head.data.slice(E)):E===this.head.data.length?w=this.shift():w=v?this._getString(E):this._getBuffer(E),w},"consume")},{key:"first",value:t(function(){return this.head.data},"first")},{key:"_getString",value:t(function(E){var v=this.head,w=1,A=v.data;for(E-=A.length;v=v.next;){var T=v.data,O=E>T.length?T.length:E;if(O===T.length?A+=T:A+=T.slice(0,E),E-=O,E===0){O===T.length?(++w,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=T.slice(O));break}++w}return this.length-=w,A},"_getString")},{key:"_getBuffer",value:t(function(E){var v=a.allocUnsafe(E),w=this.head,A=1;for(w.data.copy(v),E-=w.data.length;w=w.next;){var T=w.data,O=E>T.length?T.length:E;if(T.copy(v,v.length-E,0,O),E-=O,E===0){O===T.length?(++A,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=T.slice(O));break}++A}return this.length-=A,v},"_getBuffer")},{key:o,value:t(function(E,v){return m(this,k(k({},v),{},{depth:0,customInspect:!1}))},"value")}]),l}()},1195:q=>{function $(s,h){var c=this,I=this._readableState&&this._readableState.destroyed,S=this._writableState&&this._writableState.destroyed;return I||S?(h?h(s):s&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(N,this,s)):process.nextTick(N,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,function(a){!h&&a?c._writableState?c._writableState.errorEmitted?process.nextTick(_,c):(c._writableState.errorEmitted=!0,process.nextTick(B,c,a)):process.nextTick(B,c,a):h?(process.nextTick(_,c),h(a)):process.nextTick(_,c)}),this)}t($,"destroy");function B(s,h){N(s,h),_(s)}t(B,"emitErrorAndCloseNT");function _(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}t(_,"emitCloseNT");function k(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}t(k,"undestroy");function N(s,h){s.emit("error",h)}t(N,"emitErrorNT");function R(s,h){var c=s._readableState,I=s._writableState;c&&c.autoDestroy||I&&I.autoDestroy?s.destroy(h):s.emit("error",h)}t(R,"errorOrDestroy"),q.exports={destroy:$,undestroy:k,errorOrDestroy:R}},8610:(q,$,B)=>{var _=B(4281).q.ERR_STREAM_PREMATURE_CLOSE;function k(h){var c=!1;return function(){if(!c){c=!0;for(var I=arguments.length,S=new Array(I),a=0;a<I;a++)S[a]=arguments[a];h.apply(this,S)}}}t(k,"once");function N(){}t(N,"noop");function R(h){return h.setHeader&&typeof h.abort=="function"}t(R,"isRequest");function s(h,c,I){if(typeof c=="function")return s(h,null,c);c||(c={}),I=k(I||N);var S=c.readable||c.readable!==!1&&h.readable,a=c.writable||c.writable!==!1&&h.writable,d=t(function(){h.writable||o()},"onlegacyfinish"),m=h._writableState&&h._writableState.finished,o=t(function(){a=!1,m=!0,S||I.call(h)},"onfinish"),x=h._readableState&&h._readableState.endEmitted,l=t(function(){S=!1,x=!0,a||I.call(h)},"onend"),b=t(function(A){I.call(h,A)},"onerror"),E=t(function(){var A;if(S&&!x)return(!h._readableState||!h._readableState.ended)&&(A=new _),I.call(h,A);if(a&&!m)return(!h._writableState||!h._writableState.ended)&&(A=new _),I.call(h,A)},"onclose"),v=t(function(){h.req.on("finish",o)},"onrequest");return R(h)?(h.on("complete",o),h.on("abort",E),h.req?v():h.on("request",v)):a&&!h._writableState&&(h.on("end",d),h.on("close",d)),h.on("end",l),h.on("finish",o),c.error!==!1&&h.on("error",b),h.on("close",E),function(){h.removeListener("complete",o),h.removeListener("abort",E),h.removeListener("request",v),h.req&&h.req.removeListener("finish",o),h.removeListener("end",d),h.removeListener("close",d),h.removeListener("finish",o),h.removeListener("end",l),h.removeListener("error",b),h.removeListener("close",E)}}t(s,"eos"),q.exports=s},5167:q=>{q.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(q,$,B)=>{var _;function k(o){var x=!1;return function(){x||(x=!0,o.apply(void 0,arguments))}}t(k,"once");var N=B(4281).q,R=N.ERR_MISSING_ARGS,s=N.ERR_STREAM_DESTROYED;function h(o){if(o)throw o}t(h,"noop");function c(o){return o.setHeader&&typeof o.abort=="function"}t(c,"isRequest");function I(o,x,l,b){b=k(b);var E=!1;o.on("close",function(){E=!0}),_===void 0&&(_=B(8610)),_(o,{readable:x,writable:l},function(w){if(w)return b(w);E=!0,b()});var v=!1;return function(w){if(!E&&!v){if(v=!0,c(o))return o.abort();if(typeof o.destroy=="function")return o.destroy();b(w||new s("pipe"))}}}t(I,"destroyer");function S(o){o()}t(S,"call");function a(o,x){return o.pipe(x)}t(a,"pipe");function d(o){return!o.length||typeof o[o.length-1]!="function"?h:o.pop()}t(d,"popCallback");function m(){for(var o=arguments.length,x=new Array(o),l=0;l<o;l++)x[l]=arguments[l];var b=d(x);if(Array.isArray(x[0])&&(x=x[0]),x.length<2)throw new R("streams");var E,v=x.map(function(w,A){var T=A<x.length-1,O=A>0;return I(w,T,O,function(H){E||(E=H),H&&v.forEach(S),!T&&(v.forEach(S),b(E))})});return x.reduce(a)}t(m,"pipeline"),q.exports=m},2457:(q,$,B)=>{var _=B(4281).q.ERR_INVALID_OPT_VALUE;function k(R,s,h){return R.highWaterMark!=null?R.highWaterMark:s?R[h]:null}t(k,"highWaterMarkFrom");function N(R,s,h,c){var I=k(s,c,h);if(I!=null){if(!(isFinite(I)&&Math.floor(I)===I)||I<0){var S=c?h:"highWaterMark";throw new _(S,I)}return Math.floor(I)}return R.objectMode?16:16*1024}t(N,"getHighWaterMark"),q.exports={getHighWaterMark:N}},2503:(q,$,B)=>{q.exports=B(7187).EventEmitter},8473:(q,$,B)=>{$=q.exports=B(9481),$.Stream=$,$.Readable=$,$.Writable=B(4229),$.Duplex=B(6753),$.Transform=B(4605),$.PassThrough=B(2725),$.finished=B(8610),$.pipeline=B(9946)},9785:(q,$,B)=>{var _=B(8764).Buffer,k=B(5717),N=B(3349),R=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],I=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],S=[0,1518500249,1859775393,2400959708,2840853838],a=[1352829926,1548603684,1836072691,2053994217,0];function d(){N.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}t(d,"RIPEMD160"),k(d,N),d.prototype._update=function(){for(var v=R,w=0;w<16;++w)v[w]=this._block.readInt32LE(w*4);for(var A=this._a|0,T=this._b|0,O=this._c|0,H=this._d|0,J=this._e|0,ee=this._a|0,Y=this._b|0,te=this._c|0,ae=this._d|0,V=this._e|0,g=0;g<80;g+=1){var e,i;g<16?(e=o(A,T,O,H,J,v[s[g]],S[0],c[g]),i=E(ee,Y,te,ae,V,v[h[g]],a[0],I[g])):g<32?(e=x(A,T,O,H,J,v[s[g]],S[1],c[g]),i=b(ee,Y,te,ae,V,v[h[g]],a[1],I[g])):g<48?(e=l(A,T,O,H,J,v[s[g]],S[2],c[g]),i=l(ee,Y,te,ae,V,v[h[g]],a[2],I[g])):g<64?(e=b(A,T,O,H,J,v[s[g]],S[3],c[g]),i=x(ee,Y,te,ae,V,v[h[g]],a[3],I[g])):(e=E(A,T,O,H,J,v[s[g]],S[4],c[g]),i=o(ee,Y,te,ae,V,v[h[g]],a[4],I[g])),A=J,J=H,H=m(O,10),O=T,T=e,ee=V,V=ae,ae=m(te,10),te=Y,Y=i}var u=this._b+O+ae|0;this._b=this._c+H+V|0,this._c=this._d+J+ee|0,this._d=this._e+A+Y|0,this._e=this._a+T+te|0,this._a=u},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var v=_.alloc?_.alloc(20):new _(20);return v.writeInt32LE(this._a,0),v.writeInt32LE(this._b,4),v.writeInt32LE(this._c,8),v.writeInt32LE(this._d,12),v.writeInt32LE(this._e,16),v};function m(v,w){return v<<w|v>>>32-w}t(m,"rotl");function o(v,w,A,T,O,H,J,ee){return m(v+(w^A^T)+H+J|0,ee)+O|0}t(o,"fn1");function x(v,w,A,T,O,H,J,ee){return m(v+(w&A|~w&T)+H+J|0,ee)+O|0}t(x,"fn2");function l(v,w,A,T,O,H,J,ee){return m(v+((w|~A)^T)+H+J|0,ee)+O|0}t(l,"fn3");function b(v,w,A,T,O,H,J,ee){return m(v+(w&T|A&~T)+H+J|0,ee)+O|0}t(b,"fn4");function E(v,w,A,T,O,H,J,ee){return m(v+(w^(A|~T))+H+J|0,ee)+O|0}t(E,"fn5"),q.exports=d},9509:(q,$,B)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var _=B(8764),k=_.Buffer;function N(s,h){for(var c in s)h[c]=s[c]}t(N,"copyProps"),k.from&&k.alloc&&k.allocUnsafe&&k.allocUnsafeSlow?q.exports=_:(N(_,$),$.Buffer=R);function R(s,h,c){return k(s,h,c)}t(R,"SafeBuffer"),R.prototype=Object.create(k.prototype),N(k,R),R.from=function(s,h,c){if(typeof s=="number")throw new TypeError("Argument must not be a number");return k(s,h,c)},R.alloc=function(s,h,c){if(typeof s!="number")throw new TypeError("Argument must be a number");var I=k(s);return h!==void 0?typeof c=="string"?I.fill(h,c):I.fill(h):I.fill(0),I},R.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return k(s)},R.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return _.SlowBuffer(s)}},4189:(q,$,B)=>{var _=B(9509).Buffer;function k(N,R){this._block=_.alloc(N),this._finalSize=R,this._blockSize=N,this._len=0}t(k,"Hash"),k.prototype.update=function(N,R){typeof N=="string"&&(R=R||"utf8",N=_.from(N,R));for(var s=this._block,h=this._blockSize,c=N.length,I=this._len,S=0;S<c;){for(var a=I%h,d=Math.min(c-S,h-a),m=0;m<d;m++)s[a+m]=N[S+m];I+=d,S+=d,I%h===0&&this._update(s)}return this._len+=c,this},k.prototype.digest=function(N){var R=this._len%this._blockSize;this._block[R]=128,this._block.fill(0,R+1),R>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=this._len*8;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var h=(s&4294967295)>>>0,c=(s-h)/4294967296;this._block.writeUInt32BE(c,this._blockSize-8),this._block.writeUInt32BE(h,this._blockSize-4)}this._update(this._block);var I=this._hash();return N?I.toString(N):I},k.prototype._update=function(){throw new Error("_update must be implemented by subclass")},q.exports=k},9072:(q,$,B)=>{var _=q.exports=t(function(N){N=N.toLowerCase();var R=_[N];if(!R)throw new Error(N+" is not supported (we accept pull requests)");return new R},"SHA");_.sha=B(4448),_.sha1=B(8336),_.sha224=B(8432),_.sha256=B(7499),_.sha384=B(1686),_.sha512=B(7816)},4448:(q,$,B)=>{var _=B(5717),k=B(4189),N=B(9509).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function h(){this.init(),this._w=s,k.call(this,64,56)}t(h,"Sha"),_(h,k),h.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function c(a){return a<<5|a>>>27}t(c,"rotl5");function I(a){return a<<30|a>>>2}t(I,"rotl30");function S(a,d,m,o){return a===0?d&m|~d&o:a===2?d&m|d&o|m&o:d^m^o}t(S,"ft"),h.prototype._update=function(a){for(var d=this._w,m=this._a|0,o=this._b|0,x=this._c|0,l=this._d|0,b=this._e|0,E=0;E<16;++E)d[E]=a.readInt32BE(E*4);for(;E<80;++E)d[E]=d[E-3]^d[E-8]^d[E-14]^d[E-16];for(var v=0;v<80;++v){var w=~~(v/20),A=c(m)+S(w,o,x,l)+b+d[v]+R[w]|0;b=l,l=x,x=I(o),o=m,m=A}this._a=m+this._a|0,this._b=o+this._b|0,this._c=x+this._c|0,this._d=l+this._d|0,this._e=b+this._e|0},h.prototype._hash=function(){var a=N.allocUnsafe(20);return a.writeInt32BE(this._a|0,0),a.writeInt32BE(this._b|0,4),a.writeInt32BE(this._c|0,8),a.writeInt32BE(this._d|0,12),a.writeInt32BE(this._e|0,16),a},q.exports=h},8336:(q,$,B)=>{var _=B(5717),k=B(4189),N=B(9509).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function h(){this.init(),this._w=s,k.call(this,64,56)}t(h,"Sha1"),_(h,k),h.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function c(d){return d<<1|d>>>31}t(c,"rotl1");function I(d){return d<<5|d>>>27}t(I,"rotl5");function S(d){return d<<30|d>>>2}t(S,"rotl30");function a(d,m,o,x){return d===0?m&o|~m&x:d===2?m&o|m&x|o&x:m^o^x}t(a,"ft"),h.prototype._update=function(d){for(var m=this._w,o=this._a|0,x=this._b|0,l=this._c|0,b=this._d|0,E=this._e|0,v=0;v<16;++v)m[v]=d.readInt32BE(v*4);for(;v<80;++v)m[v]=c(m[v-3]^m[v-8]^m[v-14]^m[v-16]);for(var w=0;w<80;++w){var A=~~(w/20),T=I(o)+a(A,x,l,b)+E+m[w]+R[A]|0;E=b,b=l,l=S(x),x=o,o=T}this._a=o+this._a|0,this._b=x+this._b|0,this._c=l+this._c|0,this._d=b+this._d|0,this._e=E+this._e|0},h.prototype._hash=function(){var d=N.allocUnsafe(20);return d.writeInt32BE(this._a|0,0),d.writeInt32BE(this._b|0,4),d.writeInt32BE(this._c|0,8),d.writeInt32BE(this._d|0,12),d.writeInt32BE(this._e|0,16),d},q.exports=h},8432:(q,$,B)=>{var _=B(5717),k=B(7499),N=B(4189),R=B(9509).Buffer,s=new Array(64);function h(){this.init(),this._w=s,N.call(this,64,56)}t(h,"Sha224"),_(h,k),h.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},h.prototype._hash=function(){var c=R.allocUnsafe(28);return c.writeInt32BE(this._a,0),c.writeInt32BE(this._b,4),c.writeInt32BE(this._c,8),c.writeInt32BE(this._d,12),c.writeInt32BE(this._e,16),c.writeInt32BE(this._f,20),c.writeInt32BE(this._g,24),c},q.exports=h},7499:(q,$,B)=>{var _=B(5717),k=B(4189),N=B(9509).Buffer,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function h(){this.init(),this._w=s,k.call(this,64,56)}t(h,"Sha256"),_(h,k),h.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function c(o,x,l){return l^o&(x^l)}t(c,"ch");function I(o,x,l){return o&x|l&(o|x)}t(I,"maj");function S(o){return(o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10)}t(S,"sigma0");function a(o){return(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7)}t(a,"sigma1");function d(o){return(o>>>7|o<<25)^(o>>>18|o<<14)^o>>>3}t(d,"gamma0");function m(o){return(o>>>17|o<<15)^(o>>>19|o<<13)^o>>>10}t(m,"gamma1"),h.prototype._update=function(o){for(var x=this._w,l=this._a|0,b=this._b|0,E=this._c|0,v=this._d|0,w=this._e|0,A=this._f|0,T=this._g|0,O=this._h|0,H=0;H<16;++H)x[H]=o.readInt32BE(H*4);for(;H<64;++H)x[H]=m(x[H-2])+x[H-7]+d(x[H-15])+x[H-16]|0;for(var J=0;J<64;++J){var ee=O+a(w)+c(w,A,T)+R[J]+x[J]|0,Y=S(l)+I(l,b,E)|0;O=T,T=A,A=w,w=v+ee|0,v=E,E=b,b=l,l=ee+Y|0}this._a=l+this._a|0,this._b=b+this._b|0,this._c=E+this._c|0,this._d=v+this._d|0,this._e=w+this._e|0,this._f=A+this._f|0,this._g=T+this._g|0,this._h=O+this._h|0},h.prototype._hash=function(){var o=N.allocUnsafe(32);return o.writeInt32BE(this._a,0),o.writeInt32BE(this._b,4),o.writeInt32BE(this._c,8),o.writeInt32BE(this._d,12),o.writeInt32BE(this._e,16),o.writeInt32BE(this._f,20),o.writeInt32BE(this._g,24),o.writeInt32BE(this._h,28),o},q.exports=h},1686:(q,$,B)=>{var _=B(5717),k=B(7816),N=B(4189),R=B(9509).Buffer,s=new Array(160);function h(){this.init(),this._w=s,N.call(this,128,112)}t(h,"Sha384"),_(h,k),h.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},h.prototype._hash=function(){var c=R.allocUnsafe(48);function I(S,a,d){c.writeInt32BE(S,d),c.writeInt32BE(a,d+4)}return t(I,"writeInt64BE"),I(this._ah,this._al,0),I(this._bh,this._bl,8),I(this._ch,this._cl,16),I(this._dh,this._dl,24),I(this._eh,this._el,32),I(this._fh,this._fl,40),c},q.exports=h},7816:(q,$,B)=>{var _=B(5717),k=B(4189),N=B(9509).Buffer,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function h(){this.init(),this._w=s,k.call(this,128,112)}t(h,"Sha512"),_(h,k),h.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function c(b,E,v){return v^b&(E^v)}t(c,"Ch");function I(b,E,v){return b&E|v&(b|E)}t(I,"maj");function S(b,E){return(b>>>28|E<<4)^(E>>>2|b<<30)^(E>>>7|b<<25)}t(S,"sigma0");function a(b,E){return(b>>>14|E<<18)^(b>>>18|E<<14)^(E>>>9|b<<23)}t(a,"sigma1");function d(b,E){return(b>>>1|E<<31)^(b>>>8|E<<24)^b>>>7}t(d,"Gamma0");function m(b,E){return(b>>>1|E<<31)^(b>>>8|E<<24)^(b>>>7|E<<25)}t(m,"Gamma0l");function o(b,E){return(b>>>19|E<<13)^(E>>>29|b<<3)^b>>>6}t(o,"Gamma1");function x(b,E){return(b>>>19|E<<13)^(E>>>29|b<<3)^(b>>>6|E<<26)}t(x,"Gamma1l");function l(b,E){return b>>>0<E>>>0?1:0}t(l,"getCarry"),h.prototype._update=function(b){for(var E=this._w,v=this._ah|0,w=this._bh|0,A=this._ch|0,T=this._dh|0,O=this._eh|0,H=this._fh|0,J=this._gh|0,ee=this._hh|0,Y=this._al|0,te=this._bl|0,ae=this._cl|0,V=this._dl|0,g=this._el|0,e=this._fl|0,i=this._gl|0,u=this._hl|0,p=0;p<32;p+=2)E[p]=b.readInt32BE(p*4),E[p+1]=b.readInt32BE(p*4+4);for(;p<160;p+=2){var M=E[p-30],D=E[p-15*2+1],z=d(M,D),L=m(D,M);M=E[p-2*2],D=E[p-2*2+1];var f=o(M,D),P=x(D,M),ie=E[p-7*2],ne=E[p-7*2+1],fe=E[p-16*2],j=E[p-16*2+1],K=L+ne|0,X=z+ie+l(K,L)|0;K=K+P|0,X=X+f+l(K,P)|0,K=K+j|0,X=X+fe+l(K,j)|0,E[p]=X,E[p+1]=K}for(var oe=0;oe<160;oe+=2){X=E[oe],K=E[oe+1];var se=I(v,w,A),C=I(Y,te,ae),U=S(v,Y),Q=S(Y,v),re=a(O,g),ve=a(g,O),de=R[oe],ce=R[oe+1],ze=c(O,H,J),xe=c(g,e,i),ue=u+ve|0,we=ee+re+l(ue,u)|0;ue=ue+xe|0,we=we+ze+l(ue,xe)|0,ue=ue+ce|0,we=we+de+l(ue,ce)|0,ue=ue+K|0,we=we+X+l(ue,K)|0;var ge=Q+C|0,pe=U+se+l(ge,Q)|0;ee=J,u=i,J=H,i=e,H=O,e=g,g=V+ue|0,O=T+we+l(g,V)|0,T=A,V=ae,A=w,ae=te,w=v,te=Y,Y=ue+ge|0,v=we+pe+l(Y,ue)|0}this._al=this._al+Y|0,this._bl=this._bl+te|0,this._cl=this._cl+ae|0,this._dl=this._dl+V|0,this._el=this._el+g|0,this._fl=this._fl+e|0,this._gl=this._gl+i|0,this._hl=this._hl+u|0,this._ah=this._ah+v+l(this._al,Y)|0,this._bh=this._bh+w+l(this._bl,te)|0,this._ch=this._ch+A+l(this._cl,ae)|0,this._dh=this._dh+T+l(this._dl,V)|0,this._eh=this._eh+O+l(this._el,g)|0,this._fh=this._fh+H+l(this._fl,e)|0,this._gh=this._gh+J+l(this._gl,i)|0,this._hh=this._hh+ee+l(this._hl,u)|0},h.prototype._hash=function(){var b=N.allocUnsafe(64);function E(v,w,A){b.writeInt32BE(v,A),b.writeInt32BE(w,A+4)}return t(E,"writeInt64BE"),E(this._ah,this._al,0),E(this._bh,this._bl,8),E(this._ch,this._cl,16),E(this._dh,this._dl,24),E(this._eh,this._el,32),E(this._fh,this._fl,40),E(this._gh,this._gl,48),E(this._hh,this._hl,56),b},q.exports=h},2553:(q,$,B)=>{var _=B(9509).Buffer,k=_.isEncoding||function(v){switch(v=""+v,v&&v.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function N(v){if(!v)return"utf8";for(var w;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(w)return;v=(""+v).toLowerCase(),w=!0}}t(N,"_normalizeEncoding");function R(v){var w=N(v);if(typeof w!="string"&&(_.isEncoding===k||!k(v)))throw new Error("Unknown encoding: "+v);return w||v}t(R,"normalizeEncoding"),$.s=s;function s(v){this.encoding=R(v);var w;switch(this.encoding){case"utf16le":this.text=m,this.end=o,w=4;break;case"utf8":this.fillLast=S,w=4;break;case"base64":this.text=x,this.end=l,w=3;break;default:this.write=b,this.end=E;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_.allocUnsafe(w)}t(s,"StringDecoder"),s.prototype.write=function(v){if(v.length===0)return"";var w,A;if(this.lastNeed){if(w=this.fillLast(v),w===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<v.length?w?w+this.text(v,A):this.text(v,A):w||""},s.prototype.end=d,s.prototype.text=a,s.prototype.fillLast=function(v){if(this.lastNeed<=v.length)return v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,v.length),this.lastNeed-=v.length};function h(v){return v<=127?0:v>>5===6?2:v>>4===14?3:v>>3===30?4:v>>6===2?-1:-2}t(h,"utf8CheckByte");function c(v,w,A){var T=w.length-1;if(T<A)return 0;var O=h(w[T]);return O>=0?(O>0&&(v.lastNeed=O-1),O):--T<A||O===-2?0:(O=h(w[T]),O>=0?(O>0&&(v.lastNeed=O-2),O):--T<A||O===-2?0:(O=h(w[T]),O>=0?(O>0&&(O===2?O=0:v.lastNeed=O-3),O):0))}t(c,"utf8CheckIncomplete");function I(v,w,A){if((w[0]&192)!==128)return v.lastNeed=0,"\uFFFD";if(v.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return v.lastNeed=1,"\uFFFD";if(v.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return v.lastNeed=2,"\uFFFD"}}t(I,"utf8CheckExtraBytes");function S(v){var w=this.lastTotal-this.lastNeed,A=I(this,v,w);if(A!==void 0)return A;if(this.lastNeed<=v.length)return v.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,w,0,v.length),this.lastNeed-=v.length}t(S,"utf8FillLast");function a(v,w){var A=c(this,v,w);if(!this.lastNeed)return v.toString("utf8",w);this.lastTotal=A;var T=v.length-(A-this.lastNeed);return v.copy(this.lastChar,0,T),v.toString("utf8",w,T)}t(a,"utf8Text");function d(v){var w=v&&v.length?this.write(v):"";return this.lastNeed?w+"\uFFFD":w}t(d,"utf8End");function m(v,w){if((v.length-w)%2===0){var A=v.toString("utf16le",w);if(A){var T=A.charCodeAt(A.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",w,v.length-1)}t(m,"utf16Text");function o(v){var w=v&&v.length?this.write(v):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,A)}return w}t(o,"utf16End");function x(v,w){var A=(v.length-w)%3;return A===0?v.toString("base64",w):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",w,v.length-A))}t(x,"base64Text");function l(v){var w=v&&v.length?this.write(v):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}t(l,"base64End");function b(v){return v.toString(this.encoding)}t(b,"simpleWrite");function E(v){return v&&v.length?this.write(v):""}t(E,"simpleEnd")},4927:(q,$,B)=>{q.exports=_;function _(N,R){if(k("noDeprecation"))return N;var s=!1;function h(){if(!s){if(k("throwDeprecation"))throw new Error(R);k("traceDeprecation")?console.trace(R):console.warn(R),s=!0}return N.apply(this,arguments)}return t(h,"deprecated"),h}t(_,"deprecate");function k(N){try{if(!B.g.localStorage)return!1}catch{return!1}var R=B.g.localStorage[N];return R==null?!1:String(R).toLowerCase()==="true"}t(k,"config")},8291:(q,$,B)=>{B.d($,{f:()=>_});function _(k){const N=typeof k=="string"?k.charCodeAt(0):k;return N>=97&&N<=102||N>=65&&N<=70||N>=48&&N<=57}t(_,"isHexadecimal")},2726:q=>{q.exports={i8:"7.0.1"}}}]);
|