bsv2 2.0.18 → 2.0.20

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.
@@ -0,0 +1,7 @@
1
+ var vt=Object.defineProperty;var e=(q,V)=>vt(q,"name",{value:V,configurable:!0});(self.webpackChunkbsv2=self.webpackChunkbsv2||[]).push([[921],{4297:q=>{q.exports=V;function V(S){this._tables[0][0][0]||this._precompute();var M,D,F,I=this._tables[0][4],o=this._tables[1],h=S.length,c=1;if(h!==4&&h!==6&&h!==8)throw new Error("invalid aes key size");this._key=[D=S.slice(0),F=[]];for(var w=h;w<4*h+28;w++)M=D[w-1],(w%h===0||h===8&&w%h===4)&&(M=I[M>>>24]<<24^I[M>>16&255]<<16^I[M>>8&255]<<8^I[M&255],w%h===0&&(M=M<<8^M>>>24^c<<24,c=c<<1^(c>>7)*283)),D[w]=D[w-h]^M;for(var E=0;w;E++,w--)M=D[E&3?w:w-4],w<=4||E<4?F[E]=M:F[E]=o[0][I[M>>>24]]^o[1][I[M>>16&255]]^o[2][I[M>>8&255]]^o[3][I[M&255]]}e(V,"AES"),V.prototype={encrypt:function(S){return this._crypt(S,0)},decrypt:function(S){return this._crypt(S,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 S=this._tables[0],M=this._tables[1],D=S[4],F=M[4],I,o,h,c=new Uint8Array(256),w=new Uint8Array(256),E,d,i,m,s,b;for(I=0;I<256;I++)w[(c[I]=I<<1^(I>>7)*283)^I]=I;for(o=h=0;!D[o];o^=E||1,h=w[h]||1)for(m=h^h<<1^h<<2^h<<3^h<<4,m=m>>8^m&255^99,D[o]=m,F[m]=o,i=c[d=c[E=c[o]]],b=i*16843009^d*65537^E*257^o*16843008,s=c[m]*257^m*16843008,I=0;I<4;I++)S[I][o]=s=s<<24^s>>>8,M[I][m]=b=b<<24^b>>>8},_crypt:function(S,M){if(S.length!==4)throw new Error("invalid aes block size");var D=this._key[M],F=S[0]^D[0],I=S[M?3:1]^D[1],o=S[2]^D[2],h=S[M?1:3]^D[3],c,w,E,d=D.length/4-2,i,m=4,s=new Uint32Array(4),b=this._tables[M],l=b[0],v=b[1],A=b[2],g=b[3],_=b[4];for(i=0;i<d;i++)c=l[F>>>24]^v[I>>16&255]^A[o>>8&255]^g[h&255]^D[m],w=l[I>>>24]^v[o>>16&255]^A[h>>8&255]^g[F&255]^D[m+1],E=l[o>>>24]^v[h>>16&255]^A[F>>8&255]^g[I&255]^D[m+2],h=l[h>>>24]^v[F>>16&255]^A[I>>8&255]^g[o&255]^D[m+3],m+=4,F=c,I=w,o=E;for(i=0;i<4;i++)s[M?3&-i:i]=_[F>>>24]<<24^_[I>>16&255]<<16^_[o>>8&255]<<8^_[h&255]^D[m++],c=F,F=I,I=o,o=h,h=c;return s}}},8162:q=>{"use strict";function V(S){if(S.length>=255)throw new TypeError("Alphabet too long");for(var M=new Uint8Array(256),D=0;D<M.length;D++)M[D]=255;for(var F=0;F<S.length;F++){var I=S.charAt(F),o=I.charCodeAt(0);if(M[o]!==255)throw new TypeError(I+" is ambiguous");M[o]=F}var h=S.length,c=S.charAt(0),w=Math.log(h)/Math.log(256),E=Math.log(256)/Math.log(h);function d(s){if(s instanceof Uint8Array||(ArrayBuffer.isView(s)?s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength):Array.isArray(s)&&(s=Uint8Array.from(s))),!(s instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(s.length===0)return"";for(var b=0,l=0,v=0,A=s.length;v!==A&&s[v]===0;)v++,b++;for(var g=(A-v)*E+1>>>0,_=new Uint8Array(g);v!==A;){for(var L=s[v],T=0,O=g-1;(L!==0||T<l)&&O!==-1;O--,T++)L+=256*_[O]>>>0,_[O]=L%h>>>0,L=L/h>>>0;if(L!==0)throw new Error("Non-zero carry");l=T,v++}for(var W=g-l;W!==g&&_[W]===0;)W++;for(var G=c.repeat(b);W<g;++W)G+=S.charAt(_[W]);return G}e(d,"encode");function i(s){if(typeof s!="string")throw new TypeError("Expected String");if(s.length===0)return new Uint8Array;for(var b=0,l=0,v=0;s[b]===c;)l++,b++;for(var A=(s.length-b)*w+1>>>0,g=new Uint8Array(A);s[b];){var _=M[s.charCodeAt(b)];if(_===255)return;for(var L=0,T=A-1;(_!==0||L<v)&&T!==-1;T--,L++)_+=h*g[T]>>>0,g[T]=_%256>>>0,_=_/256>>>0;if(_!==0)throw new Error("Non-zero carry");v=L,b++}for(var O=A-v;O!==A&&g[O]===0;)O++;for(var W=new Uint8Array(l+(A-O)),G=l;O!==A;)W[G++]=g[O++];return W}e(i,"decodeUnsafe");function m(s){var b=i(s);if(b)return b;throw new Error("Non-base"+h+" character")}return e(m,"decode"),{encode:d,decodeUnsafe:i,decode:m}}e(V,"base"),q.exports=V},9742:(q,V)=>{"use strict";V.byteLength=c,V.toByteArray=E,V.fromByteArray=m;for(var S=[],M=[],D=typeof Uint8Array<"u"?Uint8Array:Array,F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I=0,o=F.length;I<o;++I)S[I]=F[I],M[F.charCodeAt(I)]=I;M[45]=62,M[95]=63;function h(s){var b=s.length;if(b%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=s.indexOf("=");l===-1&&(l=b);var v=l===b?0:4-l%4;return[l,v]}e(h,"getLens");function c(s){var b=h(s),l=b[0],v=b[1];return(l+v)*3/4-v}e(c,"byteLength");function w(s,b,l){return(b+l)*3/4-l}e(w,"_byteLength");function E(s){var b,l=h(s),v=l[0],A=l[1],g=new D(w(s,v,A)),_=0,L=A>0?v-4:v,T;for(T=0;T<L;T+=4)b=M[s.charCodeAt(T)]<<18|M[s.charCodeAt(T+1)]<<12|M[s.charCodeAt(T+2)]<<6|M[s.charCodeAt(T+3)],g[_++]=b>>16&255,g[_++]=b>>8&255,g[_++]=b&255;return A===2&&(b=M[s.charCodeAt(T)]<<2|M[s.charCodeAt(T+1)]>>4,g[_++]=b&255),A===1&&(b=M[s.charCodeAt(T)]<<10|M[s.charCodeAt(T+1)]<<4|M[s.charCodeAt(T+2)]>>2,g[_++]=b>>8&255,g[_++]=b&255),g}e(E,"toByteArray");function d(s){return S[s>>18&63]+S[s>>12&63]+S[s>>6&63]+S[s&63]}e(d,"tripletToBase64");function i(s,b,l){for(var v,A=[],g=b;g<l;g+=3)v=(s[g]<<16&16711680)+(s[g+1]<<8&65280)+(s[g+2]&255),A.push(d(v));return A.join("")}e(i,"encodeChunk");function m(s){for(var b,l=s.length,v=l%3,A=[],g=16383,_=0,L=l-v;_<L;_+=g)A.push(i(s,_,_+g>L?L:_+g));return v===1?(b=s[l-1],A.push(S[b>>2]+S[b<<4&63]+"==")):v===2&&(b=(s[l-2]<<8)+s[l-1],A.push(S[b>>10]+S[b>>4&63]+S[b<<2&63]+"=")),A.join("")}e(m,"fromByteArray")},4666:(q,V,S)=>{"use strict";var M=V;M.version=S(2726).i8,M.utils=S(7359),M.rand=S(9931),M.curve=S(5104),M.curves=S(4626),M.ec=S(5630)},8015:(q,V,S)=>{"use strict";var M=S(3550),D=S(7359),F=D.getNAF,I=D.getJSF,o=D.assert;function h(w,E){this.type=w,this.p=new M(E.p,16),this.red=E.prime?M.red(E.prime):M.mont(this.p),this.zero=new M(0).toRed(this.red),this.one=new M(1).toRed(this.red),this.two=new M(2).toRed(this.red),this.n=E.n&&new M(E.n,16),this.g=E.g&&this.pointFromJSON(E.g,E.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 d=this.n&&this.p.div(this.n);!d||d.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}e(h,"BaseCurve"),q.exports=h,h.prototype.point=e(function(){throw new Error("Not implemented")},"point"),h.prototype.validate=e(function(){throw new Error("Not implemented")},"validate"),h.prototype._fixedNafMul=e(function(E,d){o(E.precomputed);var i=E._getDoubles(),m=F(d,1,this._bitLength),s=(1<<i.step+1)-(i.step%2===0?2:1);s/=3;for(var b=[],l=0;l<m.length;l+=i.step){for(var v=0,d=l+i.step-1;d>=l;d--)v=(v<<1)+m[d];b.push(v)}for(var A=this.jpoint(null,null,null),g=this.jpoint(null,null,null),_=s;_>0;_--){for(var l=0;l<b.length;l++){var v=b[l];v===_?g=g.mixedAdd(i.points[l]):v===-_&&(g=g.mixedAdd(i.points[l].neg()))}A=A.add(g)}return A.toP()},"_fixedNafMul"),h.prototype._wnafMul=e(function(E,d){var i=4,m=E._getNAFPoints(i);i=m.wnd;for(var s=m.points,b=F(d,i,this._bitLength),l=this.jpoint(null,null,null),v=b.length-1;v>=0;v--){for(var d=0;v>=0&&b[v]===0;v--)d++;if(v>=0&&d++,l=l.dblp(d),v<0)break;var A=b[v];o(A!==0),E.type==="affine"?A>0?l=l.mixedAdd(s[A-1>>1]):l=l.mixedAdd(s[-A-1>>1].neg()):A>0?l=l.add(s[A-1>>1]):l=l.add(s[-A-1>>1].neg())}return E.type==="affine"?l.toP():l},"_wnafMul"),h.prototype._wnafMulAdd=e(function(E,d,i,m,s){for(var b=this._wnafT1,l=this._wnafT2,v=this._wnafT3,A=0,g=0;g<m;g++){var _=d[g],L=_._getNAFPoints(E);b[g]=L.wnd,l[g]=L.points}for(var g=m-1;g>=1;g-=2){var T=g-1,O=g;if(b[T]!==1||b[O]!==1){v[T]=F(i[T],b[T],this._bitLength),v[O]=F(i[O],b[O],this._bitLength),A=Math.max(v[T].length,A),A=Math.max(v[O].length,A);continue}var W=[d[T],null,null,d[O]];d[T].y.cmp(d[O].y)===0?(W[1]=d[T].add(d[O]),W[2]=d[T].toJ().mixedAdd(d[O].neg())):d[T].y.cmp(d[O].y.redNeg())===0?(W[1]=d[T].toJ().mixedAdd(d[O]),W[2]=d[T].add(d[O].neg())):(W[1]=d[T].toJ().mixedAdd(d[O]),W[2]=d[T].toJ().mixedAdd(d[O].neg()));var G=[-3,-1,-5,-7,0,7,5,1,3],Z=I(i[T],i[O]);A=Math.max(Z[0].length,A),v[T]=new Array(A),v[O]=new Array(A);for(var Q=0;Q<A;Q++){var re=Z[0][Q]|0,te=Z[1][Q]|0;v[T][Q]=G[(re+1)*3+(te+1)],v[O][Q]=0,l[T]=W}}for(var $=this.jpoint(null,null,null),x=this._wnafT4,g=A;g>=0;g--){for(var t=0;g>=0;){for(var n=!0,Q=0;Q<m;Q++)x[Q]=v[Q][g]|0,x[Q]!==0&&(n=!1);if(!n)break;t++,g--}if(g>=0&&t++,$=$.dblp(t),g<0)break;for(var Q=0;Q<m;Q++){var u=x[Q],_;u!==0&&(u>0?_=l[Q][u-1>>1]:u<0&&(_=l[Q][-u-1>>1].neg()),_.type==="affine"?$=$.mixedAdd(_):$=$.add(_))}}for(var g=0;g<m;g++)l[g]=null;return s?$:$.toP()},"_wnafMulAdd");function c(w,E){this.curve=w,this.type=E,this.precomputed=null}e(c,"BasePoint"),h.BasePoint=c,c.prototype.eq=e(function(){throw new Error("Not implemented")},"eq"),c.prototype.validate=e(function(){return this.curve.validate(this)},"validate"),h.prototype.decodePoint=e(function(E,d){E=D.toArray(E,d);var i=this.p.byteLength();if((E[0]===4||E[0]===6||E[0]===7)&&E.length-1===2*i){E[0]===6?o(E[E.length-1]%2===0):E[0]===7&&o(E[E.length-1]%2===1);var m=this.point(E.slice(1,1+i),E.slice(1+i,1+2*i));return m}else if((E[0]===2||E[0]===3)&&E.length-1===i)return this.pointFromX(E.slice(1,1+i),E[0]===3);throw new Error("Unknown point format")},"decodePoint"),c.prototype.encodeCompressed=e(function(E){return this.encode(E,!0)},"encodeCompressed"),c.prototype._encode=e(function(E){var d=this.curve.p.byteLength(),i=this.getX().toArray("be",d);return E?[this.getY().isEven()?2:3].concat(i):[4].concat(i,this.getY().toArray("be",d))},"_encode"),c.prototype.encode=e(function(E,d){return D.encode(this._encode(d),E)},"encode"),c.prototype.precompute=e(function(E){if(this.precomputed)return this;var d={doubles:null,naf:null,beta:null};return d.naf=this._getNAFPoints(8),d.doubles=this._getDoubles(4,E),d.beta=this._getBeta(),this.precomputed=d,this},"precompute"),c.prototype._hasDoubles=e(function(E){if(!this.precomputed)return!1;var d=this.precomputed.doubles;return d?d.points.length>=Math.ceil((E.bitLength()+1)/d.step):!1},"_hasDoubles"),c.prototype._getDoubles=e(function(E,d){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],m=this,s=0;s<d;s+=E){for(var b=0;b<E;b++)m=m.dbl();i.push(m)}return{step:E,points:i}},"_getDoubles"),c.prototype._getNAFPoints=e(function(E){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var d=[this],i=(1<<E)-1,m=i===1?null:this.dbl(),s=1;s<i;s++)d[s]=d[s-1].add(m);return{wnd:E,points:d}},"_getNAFPoints"),c.prototype._getBeta=e(function(){return null},"_getBeta"),c.prototype.dblp=e(function(E){for(var d=this,i=0;i<E;i++)d=d.dbl();return d},"dblp")},5104:(q,V,S)=>{"use strict";var M=V;M.base=S(8015),M.short=S(8505)},8505:(q,V,S)=>{"use strict";var M=S(7359),D=S(3550),F=S(5717),I=S(8015),o=M.assert;function h(E){I.call(this,"short",E),this.a=new D(E.a,16).toRed(this.red),this.b=new D(E.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(E),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}e(h,"ShortCurve"),F(h,I),q.exports=h,h.prototype._getEndomorphism=e(function(d){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var i,m;if(d.beta)i=new D(d.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);i=s[0].cmp(s[1])<0?s[0]:s[1],i=i.toRed(this.red)}if(d.lambda)m=new D(d.lambda,16);else{var b=this._getEndoRoots(this.n);this.g.mul(b[0]).x.cmp(this.g.x.redMul(i))===0?m=b[0]:(m=b[1],o(this.g.mul(m).x.cmp(this.g.x.redMul(i))===0))}var l;return d.basis?l=d.basis.map(function(v){return{a:new D(v.a,16),b:new D(v.b,16)}}):l=this._getEndoBasis(m),{beta:i,lambda:m,basis:l}}},"_getEndomorphism"),h.prototype._getEndoRoots=e(function(d){var i=d===this.p?this.red:D.mont(d),m=new D(2).toRed(i).redInvm(),s=m.redNeg(),b=new D(3).toRed(i).redNeg().redSqrt().redMul(m),l=s.redAdd(b).fromRed(),v=s.redSub(b).fromRed();return[l,v]},"_getEndoRoots"),h.prototype._getEndoBasis=e(function(d){for(var i=this.n.ushrn(Math.floor(this.n.bitLength()/2)),m=d,s=this.n.clone(),b=new D(1),l=new D(0),v=new D(0),A=new D(1),g,_,L,T,O,W,G,Z=0,Q,re;m.cmpn(0)!==0;){var te=s.div(m);Q=s.sub(te.mul(m)),re=v.sub(te.mul(b));var $=A.sub(te.mul(l));if(!L&&Q.cmp(i)<0)g=G.neg(),_=b,L=Q.neg(),T=re;else if(L&&++Z===2)break;G=Q,s=m,m=Q,v=b,b=re,A=l,l=$}O=Q.neg(),W=re;var x=L.sqr().add(T.sqr()),t=O.sqr().add(W.sqr());return t.cmp(x)>=0&&(O=g,W=_),L.negative&&(L=L.neg(),T=T.neg()),O.negative&&(O=O.neg(),W=W.neg()),[{a:L,b:T},{a:O,b:W}]},"_getEndoBasis"),h.prototype._endoSplit=e(function(d){var i=this.endo.basis,m=i[0],s=i[1],b=s.b.mul(d).divRound(this.n),l=m.b.neg().mul(d).divRound(this.n),v=b.mul(m.a),A=l.mul(s.a),g=b.mul(m.b),_=l.mul(s.b),L=d.sub(v).sub(A),T=g.add(_).neg();return{k1:L,k2:T}},"_endoSplit"),h.prototype.pointFromX=e(function(d,i){d=new D(d,16),d.red||(d=d.toRed(this.red));var m=d.redSqr().redMul(d).redIAdd(d.redMul(this.a)).redIAdd(this.b),s=m.redSqrt();if(s.redSqr().redSub(m).cmp(this.zero)!==0)throw new Error("invalid point");var b=s.fromRed().isOdd();return(i&&!b||!i&&b)&&(s=s.redNeg()),this.point(d,s)},"pointFromX"),h.prototype.validate=e(function(d){if(d.inf)return!0;var i=d.x,m=d.y,s=this.a.redMul(i),b=i.redSqr().redMul(i).redIAdd(s).redIAdd(this.b);return m.redSqr().redISub(b).cmpn(0)===0},"validate"),h.prototype._endoWnafMulAdd=e(function(d,i,m){for(var s=this._endoWnafT1,b=this._endoWnafT2,l=0;l<d.length;l++){var v=this._endoSplit(i[l]),A=d[l],g=A._getBeta();v.k1.negative&&(v.k1.ineg(),A=A.neg(!0)),v.k2.negative&&(v.k2.ineg(),g=g.neg(!0)),s[l*2]=A,s[l*2+1]=g,b[l*2]=v.k1,b[l*2+1]=v.k2}for(var _=this._wnafMulAdd(1,s,b,l*2,m),L=0;L<l*2;L++)s[L]=null,b[L]=null;return _},"_endoWnafMulAdd");function c(E,d,i,m){I.BasePoint.call(this,E,"affine"),d===null&&i===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new D(d,16),this.y=new D(i,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)}e(c,"Point"),F(c,I.BasePoint),h.prototype.point=e(function(d,i,m){return new c(this,d,i,m)},"point"),h.prototype.pointFromJSON=e(function(d,i){return c.fromJSON(this,d,i)},"pointFromJSON"),c.prototype._getBeta=e(function(){if(this.curve.endo){var d=this.precomputed;if(d&&d.beta)return d.beta;var i=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(d){var m=this.curve,s=e(function(b){return m.point(b.x.redMul(m.endo.beta),b.y)},"endoMul");d.beta=i,i.precomputed={beta:null,naf:d.naf&&{wnd:d.naf.wnd,points:d.naf.points.map(s)},doubles:d.doubles&&{step:d.doubles.step,points:d.doubles.points.map(s)}}}return i}},"_getBeta"),c.prototype.toJSON=e(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=e(function(d,i,m){typeof i=="string"&&(i=JSON.parse(i));var s=d.point(i[0],i[1],m);if(!i[2])return s;function b(v){return d.point(v[0],v[1],m)}e(b,"obj2point");var l=i[2];return s.precomputed={beta:null,doubles:l.doubles&&{step:l.doubles.step,points:[s].concat(l.doubles.points.map(b))},naf:l.naf&&{wnd:l.naf.wnd,points:[s].concat(l.naf.points.map(b))}},s},"fromJSON"),c.prototype.inspect=e(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=e(function(){return this.inf},"isInfinity"),c.prototype.add=e(function(d){if(this.inf)return d;if(d.inf)return this;if(this.eq(d))return this.dbl();if(this.neg().eq(d))return this.curve.point(null,null);if(this.x.cmp(d.x)===0)return this.curve.point(null,null);var i=this.y.redSub(d.y);i.cmpn(0)!==0&&(i=i.redMul(this.x.redSub(d.x).redInvm()));var m=i.redSqr().redISub(this.x).redISub(d.x),s=i.redMul(this.x.redSub(m)).redISub(this.y);return this.curve.point(m,s)},"add"),c.prototype.dbl=e(function(){if(this.inf)return this;var d=this.y.redAdd(this.y);if(d.cmpn(0)===0)return this.curve.point(null,null);var i=this.curve.a,m=this.x.redSqr(),s=d.redInvm(),b=m.redAdd(m).redIAdd(m).redIAdd(i).redMul(s),l=b.redSqr().redISub(this.x.redAdd(this.x)),v=b.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,v)},"dbl"),c.prototype.getX=e(function(){return this.x.fromRed()},"getX"),c.prototype.getY=e(function(){return this.y.fromRed()},"getY"),c.prototype.mul=e(function(d){return d=new D(d,16),this.isInfinity()?this:this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve.endo?this.curve._endoWnafMulAdd([this],[d]):this.curve._wnafMul(this,d)},"mul"),c.prototype.mulAdd=e(function(d,i,m){var s=[this,i],b=[d,m];return this.curve.endo?this.curve._endoWnafMulAdd(s,b):this.curve._wnafMulAdd(1,s,b,2)},"mulAdd"),c.prototype.jmulAdd=e(function(d,i,m){var s=[this,i],b=[d,m];return this.curve.endo?this.curve._endoWnafMulAdd(s,b,!0):this.curve._wnafMulAdd(1,s,b,2,!0)},"jmulAdd"),c.prototype.eq=e(function(d){return this===d||this.inf===d.inf&&(this.inf||this.x.cmp(d.x)===0&&this.y.cmp(d.y)===0)},"eq"),c.prototype.neg=e(function(d){if(this.inf)return this;var i=this.curve.point(this.x,this.y.redNeg());if(d&&this.precomputed){var m=this.precomputed,s=e(function(b){return b.neg()},"negate");i.precomputed={naf:m.naf&&{wnd:m.naf.wnd,points:m.naf.points.map(s)},doubles:m.doubles&&{step:m.doubles.step,points:m.doubles.points.map(s)}}}return i},"neg"),c.prototype.toJ=e(function(){if(this.inf)return this.curve.jpoint(null,null,null);var d=this.curve.jpoint(this.x,this.y,this.curve.one);return d},"toJ");function w(E,d,i,m){I.BasePoint.call(this,E,"jacobian"),d===null&&i===null&&m===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new D(0)):(this.x=new D(d,16),this.y=new D(i,16),this.z=new D(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}e(w,"JPoint"),F(w,I.BasePoint),h.prototype.jpoint=e(function(d,i,m){return new w(this,d,i,m)},"jpoint"),w.prototype.toP=e(function(){if(this.isInfinity())return this.curve.point(null,null);var d=this.z.redInvm(),i=d.redSqr(),m=this.x.redMul(i),s=this.y.redMul(i).redMul(d);return this.curve.point(m,s)},"toP"),w.prototype.neg=e(function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},"neg"),w.prototype.add=e(function(d){if(this.isInfinity())return d;if(d.isInfinity())return this;var i=d.z.redSqr(),m=this.z.redSqr(),s=this.x.redMul(i),b=d.x.redMul(m),l=this.y.redMul(i.redMul(d.z)),v=d.y.redMul(m.redMul(this.z)),A=s.redSub(b),g=l.redSub(v);if(A.cmpn(0)===0)return g.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var _=A.redSqr(),L=_.redMul(A),T=s.redMul(_),O=g.redSqr().redIAdd(L).redISub(T).redISub(T),W=g.redMul(T.redISub(O)).redISub(l.redMul(L)),G=this.z.redMul(d.z).redMul(A);return this.curve.jpoint(O,W,G)},"add"),w.prototype.mixedAdd=e(function(d){if(this.isInfinity())return d.toJ();if(d.isInfinity())return this;var i=this.z.redSqr(),m=this.x,s=d.x.redMul(i),b=this.y,l=d.y.redMul(i).redMul(this.z),v=m.redSub(s),A=b.redSub(l);if(v.cmpn(0)===0)return A.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=v.redSqr(),_=g.redMul(v),L=m.redMul(g),T=A.redSqr().redIAdd(_).redISub(L).redISub(L),O=A.redMul(L.redISub(T)).redISub(b.redMul(_)),W=this.z.redMul(v);return this.curve.jpoint(T,O,W)},"mixedAdd"),w.prototype.dblp=e(function(d){if(d===0)return this;if(this.isInfinity())return this;if(!d)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var i=this,m=0;m<d;m++)i=i.dbl();return i}for(var s=this.curve.a,b=this.curve.tinv,l=this.x,v=this.y,A=this.z,g=A.redSqr().redSqr(),_=v.redAdd(v),m=0;m<d;m++){var L=l.redSqr(),T=_.redSqr(),O=T.redSqr(),W=L.redAdd(L).redIAdd(L).redIAdd(s.redMul(g)),G=l.redMul(T),Z=W.redSqr().redISub(G.redAdd(G)),Q=G.redISub(Z),re=W.redMul(Q);re=re.redIAdd(re).redISub(O);var te=_.redMul(A);m+1<d&&(g=g.redMul(O)),l=Z,A=te,_=re}return this.curve.jpoint(l,_.redMul(b),A)},"dblp"),w.prototype.dbl=e(function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},"dbl"),w.prototype._zeroDbl=e(function(){var d,i,m;if(this.zOne){var s=this.x.redSqr(),b=this.y.redSqr(),l=b.redSqr(),v=this.x.redAdd(b).redSqr().redISub(s).redISub(l);v=v.redIAdd(v);var A=s.redAdd(s).redIAdd(s),g=A.redSqr().redISub(v).redISub(v),_=l.redIAdd(l);_=_.redIAdd(_),_=_.redIAdd(_),d=g,i=A.redMul(v.redISub(g)).redISub(_),m=this.y.redAdd(this.y)}else{var L=this.x.redSqr(),T=this.y.redSqr(),O=T.redSqr(),W=this.x.redAdd(T).redSqr().redISub(L).redISub(O);W=W.redIAdd(W);var G=L.redAdd(L).redIAdd(L),Z=G.redSqr(),Q=O.redIAdd(O);Q=Q.redIAdd(Q),Q=Q.redIAdd(Q),d=Z.redISub(W).redISub(W),i=G.redMul(W.redISub(d)).redISub(Q),m=this.y.redMul(this.z),m=m.redIAdd(m)}return this.curve.jpoint(d,i,m)},"_zeroDbl"),w.prototype._threeDbl=e(function(){var d,i,m;if(this.zOne){var s=this.x.redSqr(),b=this.y.redSqr(),l=b.redSqr(),v=this.x.redAdd(b).redSqr().redISub(s).redISub(l);v=v.redIAdd(v);var A=s.redAdd(s).redIAdd(s).redIAdd(this.curve.a),g=A.redSqr().redISub(v).redISub(v);d=g;var _=l.redIAdd(l);_=_.redIAdd(_),_=_.redIAdd(_),i=A.redMul(v.redISub(g)).redISub(_),m=this.y.redAdd(this.y)}else{var L=this.z.redSqr(),T=this.y.redSqr(),O=this.x.redMul(T),W=this.x.redSub(L).redMul(this.x.redAdd(L));W=W.redAdd(W).redIAdd(W);var G=O.redIAdd(O);G=G.redIAdd(G);var Z=G.redAdd(G);d=W.redSqr().redISub(Z),m=this.y.redAdd(this.z).redSqr().redISub(T).redISub(L);var Q=T.redSqr();Q=Q.redIAdd(Q),Q=Q.redIAdd(Q),Q=Q.redIAdd(Q),i=W.redMul(G.redISub(d)).redISub(Q)}return this.curve.jpoint(d,i,m)},"_threeDbl"),w.prototype._dbl=e(function(){var d=this.curve.a,i=this.x,m=this.y,s=this.z,b=s.redSqr().redSqr(),l=i.redSqr(),v=m.redSqr(),A=l.redAdd(l).redIAdd(l).redIAdd(d.redMul(b)),g=i.redAdd(i);g=g.redIAdd(g);var _=g.redMul(v),L=A.redSqr().redISub(_.redAdd(_)),T=_.redISub(L),O=v.redSqr();O=O.redIAdd(O),O=O.redIAdd(O),O=O.redIAdd(O);var W=A.redMul(T).redISub(O),G=m.redAdd(m).redMul(s);return this.curve.jpoint(L,W,G)},"_dbl"),w.prototype.trpl=e(function(){if(!this.curve.zeroA)return this.dbl().add(this);var d=this.x.redSqr(),i=this.y.redSqr(),m=this.z.redSqr(),s=i.redSqr(),b=d.redAdd(d).redIAdd(d),l=b.redSqr(),v=this.x.redAdd(i).redSqr().redISub(d).redISub(s);v=v.redIAdd(v),v=v.redAdd(v).redIAdd(v),v=v.redISub(l);var A=v.redSqr(),g=s.redIAdd(s);g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g);var _=b.redIAdd(v).redSqr().redISub(l).redISub(A).redISub(g),L=i.redMul(_);L=L.redIAdd(L),L=L.redIAdd(L);var T=this.x.redMul(A).redISub(L);T=T.redIAdd(T),T=T.redIAdd(T);var O=this.y.redMul(_.redMul(g.redISub(_)).redISub(v.redMul(A)));O=O.redIAdd(O),O=O.redIAdd(O),O=O.redIAdd(O);var W=this.z.redAdd(v).redSqr().redISub(m).redISub(A);return this.curve.jpoint(T,O,W)},"trpl"),w.prototype.mul=e(function(d,i){return d=new D(d,i),this.curve._wnafMul(this,d)},"mul"),w.prototype.eq=e(function(d){if(d.type==="affine")return this.eq(d.toJ());if(this===d)return!0;var i=this.z.redSqr(),m=d.z.redSqr();if(this.x.redMul(m).redISub(d.x.redMul(i)).cmpn(0)!==0)return!1;var s=i.redMul(this.z),b=m.redMul(d.z);return this.y.redMul(b).redISub(d.y.redMul(s)).cmpn(0)===0},"eq"),w.prototype.eqXToP=e(function(d){var i=this.z.redSqr(),m=d.toRed(this.curve.red).redMul(i);if(this.x.cmp(m)===0)return!0;for(var s=d.clone(),b=this.curve.redN.redMul(i);;){if(s.iadd(this.curve.n),s.cmp(this.curve.p)>=0)return!1;if(m.redIAdd(b),this.x.cmp(m)===0)return!0}},"eqXToP"),w.prototype.inspect=e(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"),w.prototype.isInfinity=e(function(){return this.z.cmpn(0)===0},"isInfinity")},4626:(q,V,S)=>{"use strict";var M=V,D=S(3715),F=S(5104),I=S(7359),o=I.assert;function h(E){if(E.type!=="short")throw new Error("invalid curve type");this.curve=new F.short(E),this.g=this.curve.g,this.n=this.curve.n,this.hash=E.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}e(h,"PresetCurve"),M.PresetCurve=h;function c(E,d){Object.defineProperty(M,E,{configurable:!0,enumerable:!0,get:function(){var i=new h(d);return Object.defineProperty(M,E,{configurable:!0,enumerable:!0,value:i}),i}})}e(c,"defineCurve");var w;try{w=S(2059)}catch{w=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:D.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",w]})},5630:(q,V,S)=>{"use strict";var M=S(3550),D=S(2156),F=S(7359),I=S(4626),o=S(9931),h=F.assert,c=S(1119),w=S(1911);function E(d){if(!(this instanceof E))return new E(d);typeof d=="string"&&(h(I.hasOwnProperty(d),"Unknown curve "+d),d=I[d]),d instanceof I.PresetCurve&&(d={curve:d}),this.curve=d.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=d.curve.g,this.g.precompute(d.curve.n.bitLength()+1),this.hash=d.hash||d.curve.hash}e(E,"EC"),q.exports=E,E.prototype.keyPair=e(function(i){return new c(this,i)},"keyPair"),E.prototype.keyFromPrivate=e(function(i,m){return c.fromPrivate(this,i,m)},"keyFromPrivate"),E.prototype.keyFromPublic=e(function(i,m){return c.fromPublic(this,i,m)},"keyFromPublic"),E.prototype.genKeyPair=e(function(i){i||(i={});var m=new D({hash:this.hash,pers:i.pers,persEnc:i.persEnc||"utf8",entropy:i.entropy||o(this.hash.hmacStrength),entropyEnc:i.entropy&&i.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),b=this.n.sub(new M(2));do{var l=new M(m.generate(s));if(!(l.cmp(b)>0))return l.iaddn(1),this.keyFromPrivate(l)}while(!0)},"genKeyPair"),E.prototype._truncateToN=e(function(i,m){var s=i.byteLength()*8-this.n.bitLength();return s>0&&(i=i.ushrn(s)),!m&&i.cmp(this.n)>=0?i.sub(this.n):i},"truncateToN"),E.prototype.sign=e(function(i,m,s,b){typeof s=="object"&&(b=s,s=null),b||(b={}),m=this.keyFromPrivate(m,s),i=this._truncateToN(new M(i,16));for(var l=this.n.byteLength(),v=m.getPrivate().toArray("be",l),A=i.toArray("be",l),g=new D({hash:this.hash,entropy:v,nonce:A,pers:b.pers,persEnc:b.persEnc||"utf8"}),_=this.n.sub(new M(1)),L=0;;L++){var T=b.k?b.k(L):new M(g.generate(this.n.byteLength()));if(T=this._truncateToN(T,!0),!(T.cmpn(1)<=0||T.cmp(_)>=0)){var O=this.g.mul(T);if(!O.isInfinity()){var W=O.getX(),G=W.umod(this.n);if(G.cmpn(0)!==0){var Z=T.invm(this.n).mul(G.mul(m.getPrivate()).iadd(i));if(Z=Z.umod(this.n),Z.cmpn(0)!==0){var Q=(O.getY().isOdd()?1:0)|(W.cmp(G)!==0?2:0);return b.canonical&&Z.cmp(this.nh)>0&&(Z=this.n.sub(Z),Q^=1),new w({r:G,s:Z,recoveryParam:Q})}}}}}},"sign"),E.prototype.verify=e(function(i,m,s,b){i=this._truncateToN(new M(i,16)),s=this.keyFromPublic(s,b),m=new w(m,"hex");var l=m.r,v=m.s;if(l.cmpn(1)<0||l.cmp(this.n)>=0||v.cmpn(1)<0||v.cmp(this.n)>=0)return!1;var A=v.invm(this.n),g=A.mul(i).umod(this.n),_=A.mul(l).umod(this.n);if(!this.curve._maxwellTrick){var L=this.g.mulAdd(g,s.getPublic(),_);return L.isInfinity()?!1:L.getX().umod(this.n).cmp(l)===0}var L=this.g.jmulAdd(g,s.getPublic(),_);return L.isInfinity()?!1:L.eqXToP(l)},"verify"),E.prototype.recoverPubKey=function(d,i,m,s){h((3&m)===m,"The recovery param is more than two bits"),i=new w(i,s);var b=this.n,l=new M(d),v=i.r,A=i.s,g=m&1,_=m>>1;if(v.cmp(this.curve.p.umod(this.curve.n))>=0&&_)throw new Error("Unable to find sencond key candinate");_?v=this.curve.pointFromX(v.add(this.curve.n),g):v=this.curve.pointFromX(v,g);var L=i.r.invm(b),T=b.sub(l).mul(L).umod(b),O=A.mul(L).umod(b);return this.g.mulAdd(T,v,O)},E.prototype.getKeyRecoveryParam=function(d,i,m,s){if(i=new w(i,s),i.recoveryParam!==null)return i.recoveryParam;for(var b=0;b<4;b++){var l;try{l=this.recoverPubKey(d,i,b)}catch{continue}if(l.eq(m))return b}throw new Error("Unable to find valid recovery factor")}},1119:(q,V,S)=>{"use strict";var M=S(3550),D=S(7359),F=D.assert;function I(o,h){this.ec=o,this.priv=null,this.pub=null,h.priv&&this._importPrivate(h.priv,h.privEnc),h.pub&&this._importPublic(h.pub,h.pubEnc)}e(I,"KeyPair"),q.exports=I,I.fromPublic=e(function(h,c,w){return c instanceof I?c:new I(h,{pub:c,pubEnc:w})},"fromPublic"),I.fromPrivate=e(function(h,c,w){return c instanceof I?c:new I(h,{priv:c,privEnc:w})},"fromPrivate"),I.prototype.validate=e(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"),I.prototype.getPublic=e(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"),I.prototype.getPrivate=e(function(h){return h==="hex"?this.priv.toString(16,2):this.priv},"getPrivate"),I.prototype._importPrivate=e(function(h,c){this.priv=new M(h,c||16),this.priv=this.priv.umod(this.ec.curve.n)},"_importPrivate"),I.prototype._importPublic=e(function(h,c){if(h.x||h.y){this.ec.curve.type==="mont"?F(h.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&F(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"),I.prototype.derive=e(function(h){return h.mul(this.priv).getX()},"derive"),I.prototype.sign=e(function(h,c,w){return this.ec.sign(h,this,c,w)},"sign"),I.prototype.verify=e(function(h,c){return this.ec.verify(h,c,this)},"verify"),I.prototype.inspect=e(function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},"inspect")},1911:(q,V,S)=>{"use strict";var M=S(3550),D=S(7359),F=D.assert;function I(E,d){if(E instanceof I)return E;this._importDER(E,d)||(F(E.r&&E.s,"Signature without r or s"),this.r=new M(E.r,16),this.s=new M(E.s,16),E.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=E.recoveryParam)}e(I,"Signature"),q.exports=I;function o(){this.place=0}e(o,"Position");function h(E,d){var i=E[d.place++];if(!(i&128))return i;for(var m=i&15,s=0,b=0,l=d.place;b<m;b++,l++)s<<=8,s|=E[l];return d.place=l,s}e(h,"getLength");function c(E){for(var d=0,i=E.length-1;!E[d]&&!(E[d+1]&128)&&d<i;)d++;return d===0?E:E.slice(d)}e(c,"rmPadding"),I.prototype._importDER=e(function(d,i){d=D.toArray(d,i);var m=new o;if(d[m.place++]!==48)return!1;var s=h(d,m);if(s+m.place!==d.length||d[m.place++]!==2)return!1;var b=h(d,m),l=d.slice(m.place,b+m.place);if(m.place+=b,d[m.place++]!==2)return!1;var v=h(d,m);if(d.length!==v+m.place)return!1;var A=d.slice(m.place,v+m.place);return l[0]===0&&l[1]&128&&(l=l.slice(1)),A[0]===0&&A[1]&128&&(A=A.slice(1)),this.r=new M(l),this.s=new M(A),this.recoveryParam=null,!0},"_importDER");function w(E,d){if(d<128){E.push(d);return}var i=1+(Math.log(d)/Math.LN2>>>3);for(E.push(i|128);--i;)E.push(d>>>(i<<3)&255);E.push(d)}e(w,"constructLength"),I.prototype.toDER=e(function(d){var i=this.r.toArray(),m=this.s.toArray();for(i[0]&128&&(i=[0].concat(i)),m[0]&128&&(m=[0].concat(m)),i=c(i),m=c(m);!m[0]&&!(m[1]&128);)m=m.slice(1);var s=[2];w(s,i.length),s=s.concat(i),s.push(2),w(s,m.length);var b=s.concat(m),l=[48];return w(l,b.length),l=l.concat(b),D.encode(l,d)},"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,V,S)=>{"use strict";var M=V,D=S(3550),F=S(9746),I=S(4504);M.assert=F,M.toArray=I.toArray,M.zero2=I.zero2,M.toHex=I.toHex,M.encode=I.encode;function o(d,i,m){var s=new Array(Math.max(d.bitLength(),m)+1);s.fill(0);for(var b=1<<i+1,l=d.clone(),v=0;v<s.length;v++){var A,g=l.andln(b-1);l.isOdd()?(g>(b>>1)-1?A=(b>>1)-g:A=g,l.isubn(A)):A=0,s[v]=A,l.iushrn(1)}return s}e(o,"getNAF"),M.getNAF=o;function h(d,i){var m=[[],[]];d=d.clone(),i=i.clone();for(var s=0,b=0;d.cmpn(-s)>0||i.cmpn(-b)>0;){var l=d.andln(3)+s&3,v=i.andln(3)+b&3;l===3&&(l=-1),v===3&&(v=-1);var A;if(!(l&1))A=0;else{var g=d.andln(7)+s&7;(g===3||g===5)&&v===2?A=-l:A=l}m[0].push(A);var _;if(!(v&1))_=0;else{var g=i.andln(7)+b&7;(g===3||g===5)&&l===2?_=-v:_=v}m[1].push(_),2*s===A+1&&(s=1-s),2*b===_+1&&(b=1-b),d.iushrn(1),i.iushrn(1)}return m}e(h,"getJSF"),M.getJSF=h;function c(d,i,m){var s="_"+i;d.prototype[i]=e(function(){return this[s]!==void 0?this[s]:this[s]=m.call(this)},"cachedProperty")}e(c,"cachedProperty"),M.cachedProperty=c;function w(d){return typeof d=="string"?M.toArray(d,"hex"):d}e(w,"parseBytes"),M.parseBytes=w;function E(d){return new D(d,"hex","le")}e(E,"intFromLE"),M.intFromLE=E},3550:function(q,V,S){q=S.nmd(q),function(M,D){"use strict";function F(x,t){if(!x)throw new Error(t||"Assertion failed")}e(F,"assert");function I(x,t){x.super_=t;var n=e(function(){},"TempCtor");n.prototype=t.prototype,x.prototype=new n,x.prototype.constructor=x}e(I,"inherits");function o(x,t,n){if(o.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&((t==="le"||t==="be")&&(n=t,t=10),this._init(x||0,t||10,n||"be"))}e(o,"BN"),typeof M=="object"?M.exports=o:D.BN=o,o.BN=o,o.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=S(6601).Buffer}catch{}o.isBN=e(function(t){return t instanceof o?!0:t!==null&&typeof t=="object"&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},"isBN"),o.max=e(function(t,n){return t.cmp(n)>0?t:n},"max"),o.min=e(function(t,n){return t.cmp(n)<0?t:n},"min"),o.prototype._init=e(function(t,n,u){if(typeof t=="number")return this._initNumber(t,n,u);if(typeof t=="object")return this._initArray(t,n,u);n==="hex"&&(n=16),F(n===(n|0)&&n>=2&&n<=36),t=t.toString().replace(/\s+/g,"");var p=0;t[0]==="-"&&(p++,this.negative=1),p<t.length&&(n===16?this._parseHex(t,p,u):(this._parseBase(t,n,p),u==="le"&&this._initArray(this.toArray(),n,u)))},"init"),o.prototype._initNumber=e(function(t,n,u){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[t&67108863],this.length=1):t<4503599627370496?(this.words=[t&67108863,t/67108864&67108863],this.length=2):(F(t<9007199254740992),this.words=[t&67108863,t/67108864&67108863,1],this.length=3),u==="le"&&this._initArray(this.toArray(),n,u)},"_initNumber"),o.prototype._initArray=e(function(t,n,u){if(F(typeof t.length=="number"),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var B,k,z=0;if(u==="be")for(p=t.length-1,B=0;p>=0;p-=3)k=t[p]|t[p-1]<<8|t[p-2]<<16,this.words[B]|=k<<z&67108863,this.words[B+1]=k>>>26-z&67108863,z+=24,z>=26&&(z-=26,B++);else if(u==="le")for(p=0,B=0;p<t.length;p+=3)k=t[p]|t[p+1]<<8|t[p+2]<<16,this.words[B]|=k<<z&67108863,this.words[B+1]=k>>>26-z&67108863,z+=24,z>=26&&(z-=26,B++);return this._strip()},"_initArray");function c(x,t){var n=x.charCodeAt(t);if(n>=48&&n<=57)return n-48;if(n>=65&&n<=70)return n-55;if(n>=97&&n<=102)return n-87;F(!1,"Invalid character in "+x)}e(c,"parseHex4Bits");function w(x,t,n){var u=c(x,n);return n-1>=t&&(u|=c(x,n-1)<<4),u}e(w,"parseHexByte"),o.prototype._parseHex=e(function(t,n,u){this.length=Math.ceil((t.length-n)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var B=0,k=0,z;if(u==="be")for(p=t.length-1;p>=n;p-=2)z=w(t,n,p)<<B,this.words[k]|=z&67108863,B>=18?(B-=18,k+=1,this.words[k]|=z>>>26):B+=8;else{var R=t.length-n;for(p=R%2===0?n+1:n;p<t.length;p+=2)z=w(t,n,p)<<B,this.words[k]|=z&67108863,B>=18?(B-=18,k+=1,this.words[k]|=z>>>26):B+=8}this._strip()},"_parseHex");function E(x,t,n,u){for(var p=0,B=0,k=Math.min(x.length,n),z=t;z<k;z++){var R=x.charCodeAt(z)-48;p*=u,R>=49?B=R-49+10:R>=17?B=R-17+10:B=R,F(R>=0&&B<u,"Invalid character"),p+=B}return p}e(E,"parseBase"),o.prototype._parseBase=e(function(t,n,u){this.words=[0],this.length=1;for(var p=0,B=1;B<=67108863;B*=n)p++;p--,B=B/n|0;for(var k=t.length-u,z=k%p,R=Math.min(k,k-z)+u,a=0,P=u;P<R;P+=p)a=E(t,P,P+p,n),this.imuln(B),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(z!==0){var ne=1;for(a=E(t,P,t.length,n),P=0;P<z;P++)ne*=n;this.imuln(ne),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this._strip()},"_parseBase"),o.prototype.copy=e(function(t){t.words=new Array(this.length);for(var n=0;n<this.length;n++)t.words[n]=this.words[n];t.length=this.length,t.negative=this.negative,t.red=this.red},"copy");function d(x,t){x.words=t.words,x.length=t.length,x.negative=t.negative,x.red=t.red}if(e(d,"move"),o.prototype._move=e(function(t){d(t,this)},"_move"),o.prototype.clone=e(function(){var t=new o(null);return this.copy(t),t},"clone"),o.prototype._expand=e(function(t){for(;this.length<t;)this.words[this.length++]=0;return this},"_expand"),o.prototype._strip=e(function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},"strip"),o.prototype._normSign=e(function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},"_normSign"),typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=i}catch{o.prototype.inspect=i}else o.prototype.inspect=i;function i(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}e(i,"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"],s=[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],b=[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];o.prototype.toString=e(function(t,n){t=t||10,n=n|0||1;var u;if(t===16||t==="hex"){u="";for(var p=0,B=0,k=0;k<this.length;k++){var z=this.words[k],R=((z<<p|B)&16777215).toString(16);B=z>>>24-p&16777215,p+=2,p>=26&&(p-=26,k--),B!==0||k!==this.length-1?u=m[6-R.length]+R+u:u=R+u}for(B!==0&&(u=B.toString(16)+u);u.length%n!==0;)u="0"+u;return this.negative!==0&&(u="-"+u),u}if(t===(t|0)&&t>=2&&t<=36){var a=s[t],P=b[t];u="";var ne=this.clone();for(ne.negative=0;!ne.isZero();){var ae=ne.modrn(P).toString(t);ne=ne.idivn(P),ne.isZero()?u=ae+u:u=m[a-ae.length]+ae+u}for(this.isZero()&&(u="0"+u);u.length%n!==0;)u="0"+u;return this.negative!==0&&(u="-"+u),u}F(!1,"Base should be between 2 and 36")},"toString"),o.prototype.toNumber=e(function(){var t=this.words[0];return this.length===2?t+=this.words[1]*67108864:this.length===3&&this.words[2]===1?t+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-t:t},"toNumber"),o.prototype.toJSON=e(function(){return this.toString(16,2)},"toJSON"),h&&(o.prototype.toBuffer=e(function(t,n){return this.toArrayLike(h,t,n)},"toBuffer")),o.prototype.toArray=e(function(t,n){return this.toArrayLike(Array,t,n)},"toArray");var l=e(function(t,n){return t.allocUnsafe?t.allocUnsafe(n):new t(n)},"allocate");o.prototype.toArrayLike=e(function(t,n,u){this._strip();var p=this.byteLength(),B=u||Math.max(1,p);F(p<=B,"byte array longer than desired length"),F(B>0,"Requested array length <= 0");var k=l(t,B),z=n==="le"?"LE":"BE";return this["_toArrayLike"+z](k,p),k},"toArrayLike"),o.prototype._toArrayLikeLE=e(function(t,n){for(var u=0,p=0,B=0,k=0;B<this.length;B++){var z=this.words[B]<<k|p;t[u++]=z&255,u<t.length&&(t[u++]=z>>8&255),u<t.length&&(t[u++]=z>>16&255),k===6?(u<t.length&&(t[u++]=z>>24&255),p=0,k=0):(p=z>>>24,k+=2)}if(u<t.length)for(t[u++]=p;u<t.length;)t[u++]=0},"_toArrayLikeLE"),o.prototype._toArrayLikeBE=e(function(t,n){for(var u=t.length-1,p=0,B=0,k=0;B<this.length;B++){var z=this.words[B]<<k|p;t[u--]=z&255,u>=0&&(t[u--]=z>>8&255),u>=0&&(t[u--]=z>>16&255),k===6?(u>=0&&(t[u--]=z>>24&255),p=0,k=0):(p=z>>>24,k+=2)}if(u>=0)for(t[u--]=p;u>=0;)t[u--]=0},"_toArrayLikeBE"),Math.clz32?o.prototype._countBits=e(function(t){return 32-Math.clz32(t)},"_countBits"):o.prototype._countBits=e(function(t){var n=t,u=0;return n>=4096&&(u+=13,n>>>=13),n>=64&&(u+=7,n>>>=7),n>=8&&(u+=4,n>>>=4),n>=2&&(u+=2,n>>>=2),u+n},"_countBits"),o.prototype._zeroBits=e(function(t){if(t===0)return 26;var n=t,u=0;return n&8191||(u+=13,n>>>=13),n&127||(u+=7,n>>>=7),n&15||(u+=4,n>>>=4),n&3||(u+=2,n>>>=2),n&1||u++,u},"_zeroBits"),o.prototype.bitLength=e(function(){var t=this.words[this.length-1],n=this._countBits(t);return(this.length-1)*26+n},"bitLength");function v(x){for(var t=new Array(x.bitLength()),n=0;n<t.length;n++){var u=n/26|0,p=n%26;t[n]=x.words[u]>>>p&1}return t}e(v,"toBitArray"),o.prototype.zeroBits=e(function(){if(this.isZero())return 0;for(var t=0,n=0;n<this.length;n++){var u=this._zeroBits(this.words[n]);if(t+=u,u!==26)break}return t},"zeroBits"),o.prototype.byteLength=e(function(){return Math.ceil(this.bitLength()/8)},"byteLength"),o.prototype.toTwos=e(function(t){return this.negative!==0?this.abs().inotn(t).iaddn(1):this.clone()},"toTwos"),o.prototype.fromTwos=e(function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},"fromTwos"),o.prototype.isNeg=e(function(){return this.negative!==0},"isNeg"),o.prototype.neg=e(function(){return this.clone().ineg()},"neg"),o.prototype.ineg=e(function(){return this.isZero()||(this.negative^=1),this},"ineg"),o.prototype.iuor=e(function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]|t.words[n];return this._strip()},"iuor"),o.prototype.ior=e(function(t){return F((this.negative|t.negative)===0),this.iuor(t)},"ior"),o.prototype.or=e(function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},"or"),o.prototype.uor=e(function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},"uor"),o.prototype.iuand=e(function(t){var n;this.length>t.length?n=t:n=this;for(var u=0;u<n.length;u++)this.words[u]=this.words[u]&t.words[u];return this.length=n.length,this._strip()},"iuand"),o.prototype.iand=e(function(t){return F((this.negative|t.negative)===0),this.iuand(t)},"iand"),o.prototype.and=e(function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},"and"),o.prototype.uand=e(function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},"uand"),o.prototype.iuxor=e(function(t){var n,u;this.length>t.length?(n=this,u=t):(n=t,u=this);for(var p=0;p<u.length;p++)this.words[p]=n.words[p]^u.words[p];if(this!==n)for(;p<n.length;p++)this.words[p]=n.words[p];return this.length=n.length,this._strip()},"iuxor"),o.prototype.ixor=e(function(t){return F((this.negative|t.negative)===0),this.iuxor(t)},"ixor"),o.prototype.xor=e(function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},"xor"),o.prototype.uxor=e(function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},"uxor"),o.prototype.inotn=e(function(t){F(typeof t=="number"&&t>=0);var n=Math.ceil(t/26)|0,u=t%26;this._expand(n),u>0&&n--;for(var p=0;p<n;p++)this.words[p]=~this.words[p]&67108863;return u>0&&(this.words[p]=~this.words[p]&67108863>>26-u),this._strip()},"inotn"),o.prototype.notn=e(function(t){return this.clone().inotn(t)},"notn"),o.prototype.setn=e(function(t,n){F(typeof t=="number"&&t>=0);var u=t/26|0,p=t%26;return this._expand(u+1),n?this.words[u]=this.words[u]|1<<p:this.words[u]=this.words[u]&~(1<<p),this._strip()},"setn"),o.prototype.iadd=e(function(t){var n;if(this.negative!==0&&t.negative===0)return this.negative=0,n=this.isub(t),this.negative^=1,this._normSign();if(this.negative===0&&t.negative!==0)return t.negative=0,n=this.isub(t),t.negative=1,n._normSign();var u,p;this.length>t.length?(u=this,p=t):(u=t,p=this);for(var B=0,k=0;k<p.length;k++)n=(u.words[k]|0)+(p.words[k]|0)+B,this.words[k]=n&67108863,B=n>>>26;for(;B!==0&&k<u.length;k++)n=(u.words[k]|0)+B,this.words[k]=n&67108863,B=n>>>26;if(this.length=u.length,B!==0)this.words[this.length]=B,this.length++;else if(u!==this)for(;k<u.length;k++)this.words[k]=u.words[k];return this},"iadd"),o.prototype.add=e(function(t){var n;return t.negative!==0&&this.negative===0?(t.negative=0,n=this.sub(t),t.negative^=1,n):t.negative===0&&this.negative!==0?(this.negative=0,n=t.sub(this),this.negative=1,n):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},"add"),o.prototype.isub=e(function(t){if(t.negative!==0){t.negative=0;var n=this.iadd(t);return t.negative=1,n._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var u=this.cmp(t);if(u===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,B;u>0?(p=this,B=t):(p=t,B=this);for(var k=0,z=0;z<B.length;z++)n=(p.words[z]|0)-(B.words[z]|0)+k,k=n>>26,this.words[z]=n&67108863;for(;k!==0&&z<p.length;z++)n=(p.words[z]|0)+k,k=n>>26,this.words[z]=n&67108863;if(k===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"),o.prototype.sub=e(function(t){return this.clone().isub(t)},"sub");function A(x,t,n){n.negative=t.negative^x.negative;var u=x.length+t.length|0;n.length=u,u=u-1|0;var p=x.words[0]|0,B=t.words[0]|0,k=p*B,z=k&67108863,R=k/67108864|0;n.words[0]=z;for(var a=1;a<u;a++){for(var P=R>>>26,ne=R&67108863,ae=Math.min(a,t.length-1),oe=Math.max(0,a-x.length+1);oe<=ae;oe++){var he=a-oe|0;p=x.words[he]|0,B=t.words[oe]|0,k=p*B+ne,P+=k/67108864|0,ne=k&67108863}n.words[a]=ne|0,R=P|0}return R!==0?n.words[a]=R|0:n.length--,n._strip()}e(A,"smallMulTo");var g=e(function(t,n,u){var p=t.words,B=n.words,k=u.words,z=0,R,a,P,ne=p[0]|0,ae=ne&8191,oe=ne>>>13,he=p[1]|0,K=he&8191,j=he>>>13,ee=p[2]|0,ie=ee&8191,se=ee>>>13,U=p[3]|0,N=U&8191,X=U>>>13,fe=p[4]|0,ue=fe&8191,de=fe>>>13,xe=p[5]|0,ge=xe&8191,le=xe>>>13,Me=p[6]|0,ye=Me&8191,pe=Me>>>13,He=p[7]|0,y=He&8191,r=He>>>13,f=p[8]|0,C=f&8191,H=f>>>13,Y=p[9]|0,J=Y&8191,ce=Y>>>13,we=B[0]|0,be=we&8191,ve=we>>>13,me=B[1]|0,_e=me&8191,Ee=me>>>13,st=B[2]|0,Se=st&8191,Ae=st>>>13,ot=B[3]|0,Be=ot&8191,Ie=ot>>>13,dt=B[4]|0,Re=dt&8191,Te=dt>>>13,ht=B[5]|0,Le=ht&8191,Ce=ht>>>13,ct=B[6]|0,Fe=ct&8191,Ne=ct>>>13,ut=B[7]|0,Pe=ut&8191,Ue=ut>>>13,lt=B[8]|0,Oe=lt&8191,De=lt>>>13,bt=B[9]|0,ke=bt&8191,ze=bt>>>13;u.negative=t.negative^n.negative,u.length=19,R=Math.imul(ae,be),a=Math.imul(ae,ve),a=a+Math.imul(oe,be)|0,P=Math.imul(oe,ve);var We=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(We>>>26)|0,We&=67108863,R=Math.imul(K,be),a=Math.imul(K,ve),a=a+Math.imul(j,be)|0,P=Math.imul(j,ve),R=R+Math.imul(ae,_e)|0,a=a+Math.imul(ae,Ee)|0,a=a+Math.imul(oe,_e)|0,P=P+Math.imul(oe,Ee)|0;var Ke=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,R=Math.imul(ie,be),a=Math.imul(ie,ve),a=a+Math.imul(se,be)|0,P=Math.imul(se,ve),R=R+Math.imul(K,_e)|0,a=a+Math.imul(K,Ee)|0,a=a+Math.imul(j,_e)|0,P=P+Math.imul(j,Ee)|0,R=R+Math.imul(ae,Se)|0,a=a+Math.imul(ae,Ae)|0,a=a+Math.imul(oe,Se)|0,P=P+Math.imul(oe,Ae)|0;var je=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(je>>>26)|0,je&=67108863,R=Math.imul(N,be),a=Math.imul(N,ve),a=a+Math.imul(X,be)|0,P=Math.imul(X,ve),R=R+Math.imul(ie,_e)|0,a=a+Math.imul(ie,Ee)|0,a=a+Math.imul(se,_e)|0,P=P+Math.imul(se,Ee)|0,R=R+Math.imul(K,Se)|0,a=a+Math.imul(K,Ae)|0,a=a+Math.imul(j,Se)|0,P=P+Math.imul(j,Ae)|0,R=R+Math.imul(ae,Be)|0,a=a+Math.imul(ae,Ie)|0,a=a+Math.imul(oe,Be)|0,P=P+Math.imul(oe,Ie)|0;var Ve=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,R=Math.imul(ue,be),a=Math.imul(ue,ve),a=a+Math.imul(de,be)|0,P=Math.imul(de,ve),R=R+Math.imul(N,_e)|0,a=a+Math.imul(N,Ee)|0,a=a+Math.imul(X,_e)|0,P=P+Math.imul(X,Ee)|0,R=R+Math.imul(ie,Se)|0,a=a+Math.imul(ie,Ae)|0,a=a+Math.imul(se,Se)|0,P=P+Math.imul(se,Ae)|0,R=R+Math.imul(K,Be)|0,a=a+Math.imul(K,Ie)|0,a=a+Math.imul(j,Be)|0,P=P+Math.imul(j,Ie)|0,R=R+Math.imul(ae,Re)|0,a=a+Math.imul(ae,Te)|0,a=a+Math.imul(oe,Re)|0,P=P+Math.imul(oe,Te)|0;var $e=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+($e>>>26)|0,$e&=67108863,R=Math.imul(ge,be),a=Math.imul(ge,ve),a=a+Math.imul(le,be)|0,P=Math.imul(le,ve),R=R+Math.imul(ue,_e)|0,a=a+Math.imul(ue,Ee)|0,a=a+Math.imul(de,_e)|0,P=P+Math.imul(de,Ee)|0,R=R+Math.imul(N,Se)|0,a=a+Math.imul(N,Ae)|0,a=a+Math.imul(X,Se)|0,P=P+Math.imul(X,Ae)|0,R=R+Math.imul(ie,Be)|0,a=a+Math.imul(ie,Ie)|0,a=a+Math.imul(se,Be)|0,P=P+Math.imul(se,Ie)|0,R=R+Math.imul(K,Re)|0,a=a+Math.imul(K,Te)|0,a=a+Math.imul(j,Re)|0,P=P+Math.imul(j,Te)|0,R=R+Math.imul(ae,Le)|0,a=a+Math.imul(ae,Ce)|0,a=a+Math.imul(oe,Le)|0,P=P+Math.imul(oe,Ce)|0;var Ge=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,R=Math.imul(ye,be),a=Math.imul(ye,ve),a=a+Math.imul(pe,be)|0,P=Math.imul(pe,ve),R=R+Math.imul(ge,_e)|0,a=a+Math.imul(ge,Ee)|0,a=a+Math.imul(le,_e)|0,P=P+Math.imul(le,Ee)|0,R=R+Math.imul(ue,Se)|0,a=a+Math.imul(ue,Ae)|0,a=a+Math.imul(de,Se)|0,P=P+Math.imul(de,Ae)|0,R=R+Math.imul(N,Be)|0,a=a+Math.imul(N,Ie)|0,a=a+Math.imul(X,Be)|0,P=P+Math.imul(X,Ie)|0,R=R+Math.imul(ie,Re)|0,a=a+Math.imul(ie,Te)|0,a=a+Math.imul(se,Re)|0,P=P+Math.imul(se,Te)|0,R=R+Math.imul(K,Le)|0,a=a+Math.imul(K,Ce)|0,a=a+Math.imul(j,Le)|0,P=P+Math.imul(j,Ce)|0,R=R+Math.imul(ae,Fe)|0,a=a+Math.imul(ae,Ne)|0,a=a+Math.imul(oe,Fe)|0,P=P+Math.imul(oe,Ne)|0;var Ye=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,R=Math.imul(y,be),a=Math.imul(y,ve),a=a+Math.imul(r,be)|0,P=Math.imul(r,ve),R=R+Math.imul(ye,_e)|0,a=a+Math.imul(ye,Ee)|0,a=a+Math.imul(pe,_e)|0,P=P+Math.imul(pe,Ee)|0,R=R+Math.imul(ge,Se)|0,a=a+Math.imul(ge,Ae)|0,a=a+Math.imul(le,Se)|0,P=P+Math.imul(le,Ae)|0,R=R+Math.imul(ue,Be)|0,a=a+Math.imul(ue,Ie)|0,a=a+Math.imul(de,Be)|0,P=P+Math.imul(de,Ie)|0,R=R+Math.imul(N,Re)|0,a=a+Math.imul(N,Te)|0,a=a+Math.imul(X,Re)|0,P=P+Math.imul(X,Te)|0,R=R+Math.imul(ie,Le)|0,a=a+Math.imul(ie,Ce)|0,a=a+Math.imul(se,Le)|0,P=P+Math.imul(se,Ce)|0,R=R+Math.imul(K,Fe)|0,a=a+Math.imul(K,Ne)|0,a=a+Math.imul(j,Fe)|0,P=P+Math.imul(j,Ne)|0,R=R+Math.imul(ae,Pe)|0,a=a+Math.imul(ae,Ue)|0,a=a+Math.imul(oe,Pe)|0,P=P+Math.imul(oe,Ue)|0;var qe=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,R=Math.imul(C,be),a=Math.imul(C,ve),a=a+Math.imul(H,be)|0,P=Math.imul(H,ve),R=R+Math.imul(y,_e)|0,a=a+Math.imul(y,Ee)|0,a=a+Math.imul(r,_e)|0,P=P+Math.imul(r,Ee)|0,R=R+Math.imul(ye,Se)|0,a=a+Math.imul(ye,Ae)|0,a=a+Math.imul(pe,Se)|0,P=P+Math.imul(pe,Ae)|0,R=R+Math.imul(ge,Be)|0,a=a+Math.imul(ge,Ie)|0,a=a+Math.imul(le,Be)|0,P=P+Math.imul(le,Ie)|0,R=R+Math.imul(ue,Re)|0,a=a+Math.imul(ue,Te)|0,a=a+Math.imul(de,Re)|0,P=P+Math.imul(de,Te)|0,R=R+Math.imul(N,Le)|0,a=a+Math.imul(N,Ce)|0,a=a+Math.imul(X,Le)|0,P=P+Math.imul(X,Ce)|0,R=R+Math.imul(ie,Fe)|0,a=a+Math.imul(ie,Ne)|0,a=a+Math.imul(se,Fe)|0,P=P+Math.imul(se,Ne)|0,R=R+Math.imul(K,Pe)|0,a=a+Math.imul(K,Ue)|0,a=a+Math.imul(j,Pe)|0,P=P+Math.imul(j,Ue)|0,R=R+Math.imul(ae,Oe)|0,a=a+Math.imul(ae,De)|0,a=a+Math.imul(oe,Oe)|0,P=P+Math.imul(oe,De)|0;var Je=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Je>>>26)|0,Je&=67108863,R=Math.imul(J,be),a=Math.imul(J,ve),a=a+Math.imul(ce,be)|0,P=Math.imul(ce,ve),R=R+Math.imul(C,_e)|0,a=a+Math.imul(C,Ee)|0,a=a+Math.imul(H,_e)|0,P=P+Math.imul(H,Ee)|0,R=R+Math.imul(y,Se)|0,a=a+Math.imul(y,Ae)|0,a=a+Math.imul(r,Se)|0,P=P+Math.imul(r,Ae)|0,R=R+Math.imul(ye,Be)|0,a=a+Math.imul(ye,Ie)|0,a=a+Math.imul(pe,Be)|0,P=P+Math.imul(pe,Ie)|0,R=R+Math.imul(ge,Re)|0,a=a+Math.imul(ge,Te)|0,a=a+Math.imul(le,Re)|0,P=P+Math.imul(le,Te)|0,R=R+Math.imul(ue,Le)|0,a=a+Math.imul(ue,Ce)|0,a=a+Math.imul(de,Le)|0,P=P+Math.imul(de,Ce)|0,R=R+Math.imul(N,Fe)|0,a=a+Math.imul(N,Ne)|0,a=a+Math.imul(X,Fe)|0,P=P+Math.imul(X,Ne)|0,R=R+Math.imul(ie,Pe)|0,a=a+Math.imul(ie,Ue)|0,a=a+Math.imul(se,Pe)|0,P=P+Math.imul(se,Ue)|0,R=R+Math.imul(K,Oe)|0,a=a+Math.imul(K,De)|0,a=a+Math.imul(j,Oe)|0,P=P+Math.imul(j,De)|0,R=R+Math.imul(ae,ke)|0,a=a+Math.imul(ae,ze)|0,a=a+Math.imul(oe,ke)|0,P=P+Math.imul(oe,ze)|0;var Ze=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,R=Math.imul(J,_e),a=Math.imul(J,Ee),a=a+Math.imul(ce,_e)|0,P=Math.imul(ce,Ee),R=R+Math.imul(C,Se)|0,a=a+Math.imul(C,Ae)|0,a=a+Math.imul(H,Se)|0,P=P+Math.imul(H,Ae)|0,R=R+Math.imul(y,Be)|0,a=a+Math.imul(y,Ie)|0,a=a+Math.imul(r,Be)|0,P=P+Math.imul(r,Ie)|0,R=R+Math.imul(ye,Re)|0,a=a+Math.imul(ye,Te)|0,a=a+Math.imul(pe,Re)|0,P=P+Math.imul(pe,Te)|0,R=R+Math.imul(ge,Le)|0,a=a+Math.imul(ge,Ce)|0,a=a+Math.imul(le,Le)|0,P=P+Math.imul(le,Ce)|0,R=R+Math.imul(ue,Fe)|0,a=a+Math.imul(ue,Ne)|0,a=a+Math.imul(de,Fe)|0,P=P+Math.imul(de,Ne)|0,R=R+Math.imul(N,Pe)|0,a=a+Math.imul(N,Ue)|0,a=a+Math.imul(X,Pe)|0,P=P+Math.imul(X,Ue)|0,R=R+Math.imul(ie,Oe)|0,a=a+Math.imul(ie,De)|0,a=a+Math.imul(se,Oe)|0,P=P+Math.imul(se,De)|0,R=R+Math.imul(K,ke)|0,a=a+Math.imul(K,ze)|0,a=a+Math.imul(j,ke)|0,P=P+Math.imul(j,ze)|0;var Xe=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,R=Math.imul(J,Se),a=Math.imul(J,Ae),a=a+Math.imul(ce,Se)|0,P=Math.imul(ce,Ae),R=R+Math.imul(C,Be)|0,a=a+Math.imul(C,Ie)|0,a=a+Math.imul(H,Be)|0,P=P+Math.imul(H,Ie)|0,R=R+Math.imul(y,Re)|0,a=a+Math.imul(y,Te)|0,a=a+Math.imul(r,Re)|0,P=P+Math.imul(r,Te)|0,R=R+Math.imul(ye,Le)|0,a=a+Math.imul(ye,Ce)|0,a=a+Math.imul(pe,Le)|0,P=P+Math.imul(pe,Ce)|0,R=R+Math.imul(ge,Fe)|0,a=a+Math.imul(ge,Ne)|0,a=a+Math.imul(le,Fe)|0,P=P+Math.imul(le,Ne)|0,R=R+Math.imul(ue,Pe)|0,a=a+Math.imul(ue,Ue)|0,a=a+Math.imul(de,Pe)|0,P=P+Math.imul(de,Ue)|0,R=R+Math.imul(N,Oe)|0,a=a+Math.imul(N,De)|0,a=a+Math.imul(X,Oe)|0,P=P+Math.imul(X,De)|0,R=R+Math.imul(ie,ke)|0,a=a+Math.imul(ie,ze)|0,a=a+Math.imul(se,ke)|0,P=P+Math.imul(se,ze)|0;var Qe=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,R=Math.imul(J,Be),a=Math.imul(J,Ie),a=a+Math.imul(ce,Be)|0,P=Math.imul(ce,Ie),R=R+Math.imul(C,Re)|0,a=a+Math.imul(C,Te)|0,a=a+Math.imul(H,Re)|0,P=P+Math.imul(H,Te)|0,R=R+Math.imul(y,Le)|0,a=a+Math.imul(y,Ce)|0,a=a+Math.imul(r,Le)|0,P=P+Math.imul(r,Ce)|0,R=R+Math.imul(ye,Fe)|0,a=a+Math.imul(ye,Ne)|0,a=a+Math.imul(pe,Fe)|0,P=P+Math.imul(pe,Ne)|0,R=R+Math.imul(ge,Pe)|0,a=a+Math.imul(ge,Ue)|0,a=a+Math.imul(le,Pe)|0,P=P+Math.imul(le,Ue)|0,R=R+Math.imul(ue,Oe)|0,a=a+Math.imul(ue,De)|0,a=a+Math.imul(de,Oe)|0,P=P+Math.imul(de,De)|0,R=R+Math.imul(N,ke)|0,a=a+Math.imul(N,ze)|0,a=a+Math.imul(X,ke)|0,P=P+Math.imul(X,ze)|0;var et=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(et>>>26)|0,et&=67108863,R=Math.imul(J,Re),a=Math.imul(J,Te),a=a+Math.imul(ce,Re)|0,P=Math.imul(ce,Te),R=R+Math.imul(C,Le)|0,a=a+Math.imul(C,Ce)|0,a=a+Math.imul(H,Le)|0,P=P+Math.imul(H,Ce)|0,R=R+Math.imul(y,Fe)|0,a=a+Math.imul(y,Ne)|0,a=a+Math.imul(r,Fe)|0,P=P+Math.imul(r,Ne)|0,R=R+Math.imul(ye,Pe)|0,a=a+Math.imul(ye,Ue)|0,a=a+Math.imul(pe,Pe)|0,P=P+Math.imul(pe,Ue)|0,R=R+Math.imul(ge,Oe)|0,a=a+Math.imul(ge,De)|0,a=a+Math.imul(le,Oe)|0,P=P+Math.imul(le,De)|0,R=R+Math.imul(ue,ke)|0,a=a+Math.imul(ue,ze)|0,a=a+Math.imul(de,ke)|0,P=P+Math.imul(de,ze)|0;var tt=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,R=Math.imul(J,Le),a=Math.imul(J,Ce),a=a+Math.imul(ce,Le)|0,P=Math.imul(ce,Ce),R=R+Math.imul(C,Fe)|0,a=a+Math.imul(C,Ne)|0,a=a+Math.imul(H,Fe)|0,P=P+Math.imul(H,Ne)|0,R=R+Math.imul(y,Pe)|0,a=a+Math.imul(y,Ue)|0,a=a+Math.imul(r,Pe)|0,P=P+Math.imul(r,Ue)|0,R=R+Math.imul(ye,Oe)|0,a=a+Math.imul(ye,De)|0,a=a+Math.imul(pe,Oe)|0,P=P+Math.imul(pe,De)|0,R=R+Math.imul(ge,ke)|0,a=a+Math.imul(ge,ze)|0,a=a+Math.imul(le,ke)|0,P=P+Math.imul(le,ze)|0;var rt=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(rt>>>26)|0,rt&=67108863,R=Math.imul(J,Fe),a=Math.imul(J,Ne),a=a+Math.imul(ce,Fe)|0,P=Math.imul(ce,Ne),R=R+Math.imul(C,Pe)|0,a=a+Math.imul(C,Ue)|0,a=a+Math.imul(H,Pe)|0,P=P+Math.imul(H,Ue)|0,R=R+Math.imul(y,Oe)|0,a=a+Math.imul(y,De)|0,a=a+Math.imul(r,Oe)|0,P=P+Math.imul(r,De)|0,R=R+Math.imul(ye,ke)|0,a=a+Math.imul(ye,ze)|0,a=a+Math.imul(pe,ke)|0,P=P+Math.imul(pe,ze)|0;var it=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(it>>>26)|0,it&=67108863,R=Math.imul(J,Pe),a=Math.imul(J,Ue),a=a+Math.imul(ce,Pe)|0,P=Math.imul(ce,Ue),R=R+Math.imul(C,Oe)|0,a=a+Math.imul(C,De)|0,a=a+Math.imul(H,Oe)|0,P=P+Math.imul(H,De)|0,R=R+Math.imul(y,ke)|0,a=a+Math.imul(y,ze)|0,a=a+Math.imul(r,ke)|0,P=P+Math.imul(r,ze)|0;var nt=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(nt>>>26)|0,nt&=67108863,R=Math.imul(J,Oe),a=Math.imul(J,De),a=a+Math.imul(ce,Oe)|0,P=Math.imul(ce,De),R=R+Math.imul(C,ke)|0,a=a+Math.imul(C,ze)|0,a=a+Math.imul(H,ke)|0,P=P+Math.imul(H,ze)|0;var at=(z+R|0)+((a&8191)<<13)|0;z=(P+(a>>>13)|0)+(at>>>26)|0,at&=67108863,R=Math.imul(J,ke),a=Math.imul(J,ze),a=a+Math.imul(ce,ke)|0,P=Math.imul(ce,ze);var ft=(z+R|0)+((a&8191)<<13)|0;return z=(P+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,k[0]=We,k[1]=Ke,k[2]=je,k[3]=Ve,k[4]=$e,k[5]=Ge,k[6]=Ye,k[7]=qe,k[8]=Je,k[9]=Ze,k[10]=Xe,k[11]=Qe,k[12]=et,k[13]=tt,k[14]=rt,k[15]=it,k[16]=nt,k[17]=at,k[18]=ft,z!==0&&(k[19]=z,u.length++),u},"comb10MulTo");Math.imul||(g=A);function _(x,t,n){n.negative=t.negative^x.negative,n.length=x.length+t.length;for(var u=0,p=0,B=0;B<n.length-1;B++){var k=p;p=0;for(var z=u&67108863,R=Math.min(B,t.length-1),a=Math.max(0,B-x.length+1);a<=R;a++){var P=B-a,ne=x.words[P]|0,ae=t.words[a]|0,oe=ne*ae,he=oe&67108863;k=k+(oe/67108864|0)|0,he=he+z|0,z=he&67108863,k=k+(he>>>26)|0,p+=k>>>26,k&=67108863}n.words[B]=z,u=k,k=p}return u!==0?n.words[B]=u:n.length--,n._strip()}e(_,"bigMulTo");function L(x,t,n){return _(x,t,n)}e(L,"jumboMulTo"),o.prototype.mulTo=e(function(t,n){var u,p=this.length+t.length;return this.length===10&&t.length===10?u=g(this,t,n):p<63?u=A(this,t,n):p<1024?u=_(this,t,n):u=L(this,t,n),u},"mulTo");function T(x,t){this.x=x,this.y=t}e(T,"FFTM"),T.prototype.makeRBT=e(function(t){for(var n=new Array(t),u=o.prototype._countBits(t)-1,p=0;p<t;p++)n[p]=this.revBin(p,u,t);return n},"makeRBT"),T.prototype.revBin=e(function(t,n,u){if(t===0||t===u-1)return t;for(var p=0,B=0;B<n;B++)p|=(t&1)<<n-B-1,t>>=1;return p},"revBin"),T.prototype.permute=e(function(t,n,u,p,B,k){for(var z=0;z<k;z++)p[z]=n[t[z]],B[z]=u[t[z]]},"permute"),T.prototype.transform=e(function(t,n,u,p,B,k){this.permute(k,t,n,u,p,B);for(var z=1;z<B;z<<=1)for(var R=z<<1,a=Math.cos(2*Math.PI/R),P=Math.sin(2*Math.PI/R),ne=0;ne<B;ne+=R)for(var ae=a,oe=P,he=0;he<z;he++){var K=u[ne+he],j=p[ne+he],ee=u[ne+he+z],ie=p[ne+he+z],se=ae*ee-oe*ie;ie=ae*ie+oe*ee,ee=se,u[ne+he]=K+ee,p[ne+he]=j+ie,u[ne+he+z]=K-ee,p[ne+he+z]=j-ie,he!==R&&(se=a*ae-P*oe,oe=a*oe+P*ae,ae=se)}},"transform"),T.prototype.guessLen13b=e(function(t,n){var u=Math.max(n,t)|1,p=u&1,B=0;for(u=u/2|0;u;u=u>>>1)B++;return 1<<B+1+p},"guessLen13b"),T.prototype.conjugate=e(function(t,n,u){if(!(u<=1))for(var p=0;p<u/2;p++){var B=t[p];t[p]=t[u-p-1],t[u-p-1]=B,B=n[p],n[p]=-n[u-p-1],n[u-p-1]=-B}},"conjugate"),T.prototype.normalize13b=e(function(t,n){for(var u=0,p=0;p<n/2;p++){var B=Math.round(t[2*p+1]/n)*8192+Math.round(t[2*p]/n)+u;t[p]=B&67108863,B<67108864?u=0:u=B/67108864|0}return t},"normalize13b"),T.prototype.convert13b=e(function(t,n,u,p){for(var B=0,k=0;k<n;k++)B=B+(t[k]|0),u[2*k]=B&8191,B=B>>>13,u[2*k+1]=B&8191,B=B>>>13;for(k=2*n;k<p;++k)u[k]=0;F(B===0),F((B&-8192)===0)},"convert13b"),T.prototype.stub=e(function(t){for(var n=new Array(t),u=0;u<t;u++)n[u]=0;return n},"stub"),T.prototype.mulp=e(function(t,n,u){var p=2*this.guessLen13b(t.length,n.length),B=this.makeRBT(p),k=this.stub(p),z=new Array(p),R=new Array(p),a=new Array(p),P=new Array(p),ne=new Array(p),ae=new Array(p),oe=u.words;oe.length=p,this.convert13b(t.words,t.length,z,p),this.convert13b(n.words,n.length,P,p),this.transform(z,k,R,a,p,B),this.transform(P,k,ne,ae,p,B);for(var he=0;he<p;he++){var K=R[he]*ne[he]-a[he]*ae[he];a[he]=R[he]*ae[he]+a[he]*ne[he],R[he]=K}return this.conjugate(R,a,p),this.transform(R,a,oe,k,p,B),this.conjugate(oe,k,p),this.normalize13b(oe,p),u.negative=t.negative^n.negative,u.length=t.length+n.length,u._strip()},"mulp"),o.prototype.mul=e(function(t){var n=new o(null);return n.words=new Array(this.length+t.length),this.mulTo(t,n)},"mul"),o.prototype.mulf=e(function(t){var n=new o(null);return n.words=new Array(this.length+t.length),L(this,t,n)},"mulf"),o.prototype.imul=e(function(t){return this.clone().mulTo(t,this)},"imul"),o.prototype.imuln=e(function(t){var n=t<0;n&&(t=-t),F(typeof t=="number"),F(t<67108864);for(var u=0,p=0;p<this.length;p++){var B=(this.words[p]|0)*t,k=(B&67108863)+(u&67108863);u>>=26,u+=B/67108864|0,u+=k>>>26,this.words[p]=k&67108863}return u!==0&&(this.words[p]=u,this.length++),n?this.ineg():this},"imuln"),o.prototype.muln=e(function(t){return this.clone().imuln(t)},"muln"),o.prototype.sqr=e(function(){return this.mul(this)},"sqr"),o.prototype.isqr=e(function(){return this.imul(this.clone())},"isqr"),o.prototype.pow=e(function(t){var n=v(t);if(n.length===0)return new o(1);for(var u=this,p=0;p<n.length&&n[p]===0;p++,u=u.sqr());if(++p<n.length)for(var B=u.sqr();p<n.length;p++,B=B.sqr())n[p]!==0&&(u=u.mul(B));return u},"pow"),o.prototype.iushln=e(function(t){F(typeof t=="number"&&t>=0);var n=t%26,u=(t-n)/26,p=67108863>>>26-n<<26-n,B;if(n!==0){var k=0;for(B=0;B<this.length;B++){var z=this.words[B]&p,R=(this.words[B]|0)-z<<n;this.words[B]=R|k,k=z>>>26-n}k&&(this.words[B]=k,this.length++)}if(u!==0){for(B=this.length-1;B>=0;B--)this.words[B+u]=this.words[B];for(B=0;B<u;B++)this.words[B]=0;this.length+=u}return this._strip()},"iushln"),o.prototype.ishln=e(function(t){return F(this.negative===0),this.iushln(t)},"ishln"),o.prototype.iushrn=e(function(t,n,u){F(typeof t=="number"&&t>=0);var p;n?p=(n-n%26)/26:p=0;var B=t%26,k=Math.min((t-B)/26,this.length),z=67108863^67108863>>>B<<B,R=u;if(p-=k,p=Math.max(0,p),R){for(var a=0;a<k;a++)R.words[a]=this.words[a];R.length=k}if(k!==0)if(this.length>k)for(this.length-=k,a=0;a<this.length;a++)this.words[a]=this.words[a+k];else this.words[0]=0,this.length=1;var P=0;for(a=this.length-1;a>=0&&(P!==0||a>=p);a--){var ne=this.words[a]|0;this.words[a]=P<<26-B|ne>>>B,P=ne&z}return R&&P!==0&&(R.words[R.length++]=P),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},"iushrn"),o.prototype.ishrn=e(function(t,n,u){return F(this.negative===0),this.iushrn(t,n,u)},"ishrn"),o.prototype.shln=e(function(t){return this.clone().ishln(t)},"shln"),o.prototype.ushln=e(function(t){return this.clone().iushln(t)},"ushln"),o.prototype.shrn=e(function(t){return this.clone().ishrn(t)},"shrn"),o.prototype.ushrn=e(function(t){return this.clone().iushrn(t)},"ushrn"),o.prototype.testn=e(function(t){F(typeof t=="number"&&t>=0);var n=t%26,u=(t-n)/26,p=1<<n;if(this.length<=u)return!1;var B=this.words[u];return!!(B&p)},"testn"),o.prototype.imaskn=e(function(t){F(typeof t=="number"&&t>=0);var n=t%26,u=(t-n)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=u)return this;if(n!==0&&u++,this.length=Math.min(u,this.length),n!==0){var p=67108863^67108863>>>n<<n;this.words[this.length-1]&=p}return this._strip()},"imaskn"),o.prototype.maskn=e(function(t){return this.clone().imaskn(t)},"maskn"),o.prototype.iaddn=e(function(t){return F(typeof t=="number"),F(t<67108864),t<0?this.isubn(-t):this.negative!==0?this.length===1&&(this.words[0]|0)<=t?(this.words[0]=t-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},"iaddn"),o.prototype._iaddn=e(function(t){this.words[0]+=t;for(var n=0;n<this.length&&this.words[n]>=67108864;n++)this.words[n]-=67108864,n===this.length-1?this.words[n+1]=1:this.words[n+1]++;return this.length=Math.max(this.length,n+1),this},"_iaddn"),o.prototype.isubn=e(function(t){if(F(typeof t=="number"),F(t<67108864),t<0)return this.iaddn(-t);if(this.negative!==0)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var n=0;n<this.length&&this.words[n]<0;n++)this.words[n]+=67108864,this.words[n+1]-=1;return this._strip()},"isubn"),o.prototype.addn=e(function(t){return this.clone().iaddn(t)},"addn"),o.prototype.subn=e(function(t){return this.clone().isubn(t)},"subn"),o.prototype.iabs=e(function(){return this.negative=0,this},"iabs"),o.prototype.abs=e(function(){return this.clone().iabs()},"abs"),o.prototype._ishlnsubmul=e(function(t,n,u){var p=t.length+u,B;this._expand(p);var k,z=0;for(B=0;B<t.length;B++){k=(this.words[B+u]|0)+z;var R=(t.words[B]|0)*n;k-=R&67108863,z=(k>>26)-(R/67108864|0),this.words[B+u]=k&67108863}for(;B<this.length-u;B++)k=(this.words[B+u]|0)+z,z=k>>26,this.words[B+u]=k&67108863;if(z===0)return this._strip();for(F(z===-1),z=0,B=0;B<this.length;B++)k=-(this.words[B]|0)+z,z=k>>26,this.words[B]=k&67108863;return this.negative=1,this._strip()},"_ishlnsubmul"),o.prototype._wordDiv=e(function(t,n){var u=this.length-t.length,p=this.clone(),B=t,k=B.words[B.length-1]|0,z=this._countBits(k);u=26-z,u!==0&&(B=B.ushln(u),p.iushln(u),k=B.words[B.length-1]|0);var R=p.length-B.length,a;if(n!=="mod"){a=new o(null),a.length=R+1,a.words=new Array(a.length);for(var P=0;P<a.length;P++)a.words[P]=0}var ne=p.clone()._ishlnsubmul(B,1,R);ne.negative===0&&(p=ne,a&&(a.words[R]=1));for(var ae=R-1;ae>=0;ae--){var oe=(p.words[B.length+ae]|0)*67108864+(p.words[B.length+ae-1]|0);for(oe=Math.min(oe/k|0,67108863),p._ishlnsubmul(B,oe,ae);p.negative!==0;)oe--,p.negative=0,p._ishlnsubmul(B,1,ae),p.isZero()||(p.negative^=1);a&&(a.words[ae]=oe)}return a&&a._strip(),p._strip(),n!=="div"&&u!==0&&p.iushrn(u),{div:a||null,mod:p}},"_wordDiv"),o.prototype.divmod=e(function(t,n,u){if(F(!t.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var p,B,k;return this.negative!==0&&t.negative===0?(k=this.neg().divmod(t,n),n!=="mod"&&(p=k.div.neg()),n!=="div"&&(B=k.mod.neg(),u&&B.negative!==0&&B.iadd(t)),{div:p,mod:B}):this.negative===0&&t.negative!==0?(k=this.divmod(t.neg(),n),n!=="mod"&&(p=k.div.neg()),{div:p,mod:k.mod}):this.negative&t.negative?(k=this.neg().divmod(t.neg(),n),n!=="div"&&(B=k.mod.neg(),u&&B.negative!==0&&B.isub(t)),{div:k.div,mod:B}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:t.length===1?n==="div"?{div:this.divn(t.words[0]),mod:null}:n==="mod"?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,n)},"divmod"),o.prototype.div=e(function(t){return this.divmod(t,"div",!1).div},"div"),o.prototype.mod=e(function(t){return this.divmod(t,"mod",!1).mod},"mod"),o.prototype.umod=e(function(t){return this.divmod(t,"mod",!0).mod},"umod"),o.prototype.divRound=e(function(t){var n=this.divmod(t);if(n.mod.isZero())return n.div;var u=n.div.negative!==0?n.mod.isub(t):n.mod,p=t.ushrn(1),B=t.andln(1),k=u.cmp(p);return k<0||B===1&&k===0?n.div:n.div.negative!==0?n.div.isubn(1):n.div.iaddn(1)},"divRound"),o.prototype.modrn=e(function(t){var n=t<0;n&&(t=-t),F(t<=67108863);for(var u=(1<<26)%t,p=0,B=this.length-1;B>=0;B--)p=(u*p+(this.words[B]|0))%t;return n?-p:p},"modrn"),o.prototype.modn=e(function(t){return this.modrn(t)},"modn"),o.prototype.idivn=e(function(t){var n=t<0;n&&(t=-t),F(t<=67108863);for(var u=0,p=this.length-1;p>=0;p--){var B=(this.words[p]|0)+u*67108864;this.words[p]=B/t|0,u=B%t}return this._strip(),n?this.ineg():this},"idivn"),o.prototype.divn=e(function(t){return this.clone().idivn(t)},"divn"),o.prototype.egcd=e(function(t){F(t.negative===0),F(!t.isZero());var n=this,u=t.clone();n.negative!==0?n=n.umod(t):n=n.clone();for(var p=new o(1),B=new o(0),k=new o(0),z=new o(1),R=0;n.isEven()&&u.isEven();)n.iushrn(1),u.iushrn(1),++R;for(var a=u.clone(),P=n.clone();!n.isZero();){for(var ne=0,ae=1;!(n.words[0]&ae)&&ne<26;++ne,ae<<=1);if(ne>0)for(n.iushrn(ne);ne-- >0;)(p.isOdd()||B.isOdd())&&(p.iadd(a),B.isub(P)),p.iushrn(1),B.iushrn(1);for(var oe=0,he=1;!(u.words[0]&he)&&oe<26;++oe,he<<=1);if(oe>0)for(u.iushrn(oe);oe-- >0;)(k.isOdd()||z.isOdd())&&(k.iadd(a),z.isub(P)),k.iushrn(1),z.iushrn(1);n.cmp(u)>=0?(n.isub(u),p.isub(k),B.isub(z)):(u.isub(n),k.isub(p),z.isub(B))}return{a:k,b:z,gcd:u.iushln(R)}},"egcd"),o.prototype._invmp=e(function(t){F(t.negative===0),F(!t.isZero());var n=this,u=t.clone();n.negative!==0?n=n.umod(t):n=n.clone();for(var p=new o(1),B=new o(0),k=u.clone();n.cmpn(1)>0&&u.cmpn(1)>0;){for(var z=0,R=1;!(n.words[0]&R)&&z<26;++z,R<<=1);if(z>0)for(n.iushrn(z);z-- >0;)p.isOdd()&&p.iadd(k),p.iushrn(1);for(var a=0,P=1;!(u.words[0]&P)&&a<26;++a,P<<=1);if(a>0)for(u.iushrn(a);a-- >0;)B.isOdd()&&B.iadd(k),B.iushrn(1);n.cmp(u)>=0?(n.isub(u),p.isub(B)):(u.isub(n),B.isub(p))}var ne;return n.cmpn(1)===0?ne=p:ne=B,ne.cmpn(0)<0&&ne.iadd(t),ne},"_invmp"),o.prototype.gcd=e(function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var n=this.clone(),u=t.clone();n.negative=0,u.negative=0;for(var p=0;n.isEven()&&u.isEven();p++)n.iushrn(1),u.iushrn(1);do{for(;n.isEven();)n.iushrn(1);for(;u.isEven();)u.iushrn(1);var B=n.cmp(u);if(B<0){var k=n;n=u,u=k}else if(B===0||u.cmpn(1)===0)break;n.isub(u)}while(!0);return u.iushln(p)},"gcd"),o.prototype.invm=e(function(t){return this.egcd(t).a.umod(t)},"invm"),o.prototype.isEven=e(function(){return(this.words[0]&1)===0},"isEven"),o.prototype.isOdd=e(function(){return(this.words[0]&1)===1},"isOdd"),o.prototype.andln=e(function(t){return this.words[0]&t},"andln"),o.prototype.bincn=e(function(t){F(typeof t=="number");var n=t%26,u=(t-n)/26,p=1<<n;if(this.length<=u)return this._expand(u+1),this.words[u]|=p,this;for(var B=p,k=u;B!==0&&k<this.length;k++){var z=this.words[k]|0;z+=B,B=z>>>26,z&=67108863,this.words[k]=z}return B!==0&&(this.words[k]=B,this.length++),this},"bincn"),o.prototype.isZero=e(function(){return this.length===1&&this.words[0]===0},"isZero"),o.prototype.cmpn=e(function(t){var n=t<0;if(this.negative!==0&&!n)return-1;if(this.negative===0&&n)return 1;this._strip();var u;if(this.length>1)u=1;else{n&&(t=-t),F(t<=67108863,"Number is too big");var p=this.words[0]|0;u=p===t?0:p<t?-1:1}return this.negative!==0?-u|0:u},"cmpn"),o.prototype.cmp=e(function(t){if(this.negative!==0&&t.negative===0)return-1;if(this.negative===0&&t.negative!==0)return 1;var n=this.ucmp(t);return this.negative!==0?-n|0:n},"cmp"),o.prototype.ucmp=e(function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var n=0,u=this.length-1;u>=0;u--){var p=this.words[u]|0,B=t.words[u]|0;if(p!==B){p<B?n=-1:p>B&&(n=1);break}}return n},"ucmp"),o.prototype.gtn=e(function(t){return this.cmpn(t)===1},"gtn"),o.prototype.gt=e(function(t){return this.cmp(t)===1},"gt"),o.prototype.gten=e(function(t){return this.cmpn(t)>=0},"gten"),o.prototype.gte=e(function(t){return this.cmp(t)>=0},"gte"),o.prototype.ltn=e(function(t){return this.cmpn(t)===-1},"ltn"),o.prototype.lt=e(function(t){return this.cmp(t)===-1},"lt"),o.prototype.lten=e(function(t){return this.cmpn(t)<=0},"lten"),o.prototype.lte=e(function(t){return this.cmp(t)<=0},"lte"),o.prototype.eqn=e(function(t){return this.cmpn(t)===0},"eqn"),o.prototype.eq=e(function(t){return this.cmp(t)===0},"eq"),o.red=e(function(t){return new te(t)},"red"),o.prototype.toRed=e(function(t){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),t.convertTo(this)._forceRed(t)},"toRed"),o.prototype.fromRed=e(function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},"fromRed"),o.prototype._forceRed=e(function(t){return this.red=t,this},"_forceRed"),o.prototype.forceRed=e(function(t){return F(!this.red,"Already a number in reduction context"),this._forceRed(t)},"forceRed"),o.prototype.redAdd=e(function(t){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},"redAdd"),o.prototype.redIAdd=e(function(t){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},"redIAdd"),o.prototype.redSub=e(function(t){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},"redSub"),o.prototype.redISub=e(function(t){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},"redISub"),o.prototype.redShl=e(function(t){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},"redShl"),o.prototype.redMul=e(function(t){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},"redMul"),o.prototype.redIMul=e(function(t){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},"redIMul"),o.prototype.redSqr=e(function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},"redSqr"),o.prototype.redISqr=e(function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},"redISqr"),o.prototype.redSqrt=e(function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},"redSqrt"),o.prototype.redInvm=e(function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},"redInvm"),o.prototype.redNeg=e(function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},"redNeg"),o.prototype.redPow=e(function(t){return F(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)},"redPow");var O={k256:null,p224:null,p192:null,p25519:null};function W(x,t){this.name=x,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}e(W,"MPrime"),W.prototype._tmp=e(function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},"_tmp"),W.prototype.ireduce=e(function(t){var n=t,u;do this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),u=n.bitLength();while(u>this.n);var p=u<this.n?-1:n.ucmp(this.p);return p===0?(n.words[0]=0,n.length=1):p>0?n.isub(this.p):n.strip!==void 0?n.strip():n._strip(),n},"ireduce"),W.prototype.split=e(function(t,n){t.iushrn(this.n,0,n)},"split"),W.prototype.imulK=e(function(t){return t.imul(this.k)},"imulK");function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}e(G,"K256"),I(G,W),G.prototype.split=e(function(t,n){for(var u=4194303,p=Math.min(t.length,9),B=0;B<p;B++)n.words[B]=t.words[B];if(n.length=p,t.length<=9){t.words[0]=0,t.length=1;return}var k=t.words[9];for(n.words[n.length++]=k&u,B=10;B<t.length;B++){var z=t.words[B]|0;t.words[B-10]=(z&u)<<4|k>>>22,k=z}k>>>=22,t.words[B-10]=k,k===0&&t.length>10?t.length-=10:t.length-=9},"split"),G.prototype.imulK=e(function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var n=0,u=0;u<t.length;u++){var p=t.words[u]|0;n+=p*977,t.words[u]=n&67108863,n=p*64+(n/67108864|0)}return t.words[t.length-1]===0&&(t.length--,t.words[t.length-1]===0&&t.length--),t},"imulK");function Z(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}e(Z,"P224"),I(Z,W);function Q(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}e(Q,"P192"),I(Q,W);function re(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}e(re,"P25519"),I(re,W),re.prototype.imulK=e(function(t){for(var n=0,u=0;u<t.length;u++){var p=(t.words[u]|0)*19+n,B=p&67108863;p>>>=26,t.words[u]=B,n=p}return n!==0&&(t.words[t.length++]=n),t},"imulK"),o._prime=e(function(t){if(O[t])return O[t];var n;if(t==="k256")n=new G;else if(t==="p224")n=new Z;else if(t==="p192")n=new Q;else if(t==="p25519")n=new re;else throw new Error("Unknown prime "+t);return O[t]=n,n},"prime");function te(x){if(typeof x=="string"){var t=o._prime(x);this.m=t.p,this.prime=t}else F(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}e(te,"Red"),te.prototype._verify1=e(function(t){F(t.negative===0,"red works only with positives"),F(t.red,"red works only with red numbers")},"_verify1"),te.prototype._verify2=e(function(t,n){F((t.negative|n.negative)===0,"red works only with positives"),F(t.red&&t.red===n.red,"red works only with red numbers")},"_verify2"),te.prototype.imod=e(function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(d(t,t.umod(this.m)._forceRed(this)),t)},"imod"),te.prototype.neg=e(function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},"neg"),te.prototype.add=e(function(t,n){this._verify2(t,n);var u=t.add(n);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},"add"),te.prototype.iadd=e(function(t,n){this._verify2(t,n);var u=t.iadd(n);return u.cmp(this.m)>=0&&u.isub(this.m),u},"iadd"),te.prototype.sub=e(function(t,n){this._verify2(t,n);var u=t.sub(n);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},"sub"),te.prototype.isub=e(function(t,n){this._verify2(t,n);var u=t.isub(n);return u.cmpn(0)<0&&u.iadd(this.m),u},"isub"),te.prototype.shl=e(function(t,n){return this._verify1(t),this.imod(t.ushln(n))},"shl"),te.prototype.imul=e(function(t,n){return this._verify2(t,n),this.imod(t.imul(n))},"imul"),te.prototype.mul=e(function(t,n){return this._verify2(t,n),this.imod(t.mul(n))},"mul"),te.prototype.isqr=e(function(t){return this.imul(t,t.clone())},"isqr"),te.prototype.sqr=e(function(t){return this.mul(t,t)},"sqr"),te.prototype.sqrt=e(function(t){if(t.isZero())return t.clone();var n=this.m.andln(3);if(F(n%2===1),n===3){var u=this.m.add(new o(1)).iushrn(2);return this.pow(t,u)}for(var p=this.m.subn(1),B=0;!p.isZero()&&p.andln(1)===0;)B++,p.iushrn(1);F(!p.isZero());var k=new o(1).toRed(this),z=k.redNeg(),R=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new o(2*a*a).toRed(this);this.pow(a,R).cmp(z)!==0;)a.redIAdd(z);for(var P=this.pow(a,p),ne=this.pow(t,p.addn(1).iushrn(1)),ae=this.pow(t,p),oe=B;ae.cmp(k)!==0;){for(var he=ae,K=0;he.cmp(k)!==0;K++)he=he.redSqr();F(K<oe);var j=this.pow(P,new o(1).iushln(oe-K-1));ne=ne.redMul(j),P=j.redSqr(),ae=ae.redMul(P),oe=K}return ne},"sqrt"),te.prototype.invm=e(function(t){var n=t._invmp(this.m);return n.negative!==0?(n.negative=0,this.imod(n).redNeg()):this.imod(n)},"invm"),te.prototype.pow=e(function(t,n){if(n.isZero())return new o(1).toRed(this);if(n.cmpn(1)===0)return t.clone();var u=4,p=new Array(1<<u);p[0]=new o(1).toRed(this),p[1]=t;for(var B=2;B<p.length;B++)p[B]=this.mul(p[B-1],t);var k=p[0],z=0,R=0,a=n.bitLength()%26;for(a===0&&(a=26),B=n.length-1;B>=0;B--){for(var P=n.words[B],ne=a-1;ne>=0;ne--){var ae=P>>ne&1;if(k!==p[0]&&(k=this.sqr(k)),ae===0&&z===0){R=0;continue}z<<=1,z|=ae,R++,!(R!==u&&(B!==0||ne!==0))&&(k=this.mul(k,p[z]),R=0,z=0)}a=26}return k},"pow"),te.prototype.convertTo=e(function(t){var n=t.umod(this.m);return n===t?n.clone():n},"convertTo"),te.prototype.convertFrom=e(function(t){var n=t.clone();return n.red=null,n},"convertFrom"),o.mont=e(function(t){return new $(t)},"mont");function $(x){te.call(this,x),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}e($,"Mont"),I($,te),$.prototype.convertTo=e(function(t){return this.imod(t.ushln(this.shift))},"convertTo"),$.prototype.convertFrom=e(function(t){var n=this.imod(t.mul(this.rinv));return n.red=null,n},"convertFrom"),$.prototype.imul=e(function(t,n){if(t.isZero()||n.isZero())return t.words[0]=0,t.length=1,t;var u=t.imul(n),p=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),B=u.isub(p).iushrn(this.shift),k=B;return B.cmp(this.m)>=0?k=B.isub(this.m):B.cmpn(0)<0&&(k=B.iadd(this.m)),k._forceRed(this)},"imul"),$.prototype.mul=e(function(t,n){if(t.isZero()||n.isZero())return new o(0)._forceRed(this);var u=t.mul(n),p=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),B=u.isub(p).iushrn(this.shift),k=B;return B.cmp(this.m)>=0?k=B.isub(this.m):B.cmpn(0)<0&&(k=B.iadd(this.m)),k._forceRed(this)},"mul"),$.prototype.invm=e(function(t){var n=this.imod(t._invmp(this.m).mul(this.r2));return n._forceRed(this)},"invm")}(q,this)},9931:(q,V,S)=>{var M;q.exports=e(function(o){return M||(M=new D(null)),M.generate(o)},"rand");function D(I){this.rand=I}if(e(D,"Rand"),q.exports.Rand=D,D.prototype.generate=e(function(o){return this._rand(o)},"generate"),D.prototype._rand=e(function(o){if(this.rand.getBytes)return this.rand.getBytes(o);for(var h=new Uint8Array(o),c=0;c<h.length;c++)h[c]=this.rand.getByte();return h},"_rand"),typeof self=="object")self.crypto&&self.crypto.getRandomValues?D.prototype._rand=e(function(o){var h=new Uint8Array(o);return self.crypto.getRandomValues(h),h},"_rand"):self.msCrypto&&self.msCrypto.getRandomValues?D.prototype._rand=e(function(o){var h=new Uint8Array(o);return self.msCrypto.getRandomValues(h),h},"_rand"):typeof window=="object"&&(D.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var F=S(9214);if(typeof F.randomBytes!="function")throw new Error("Not supported");D.prototype._rand=e(function(o){return F.randomBytes(o)},"_rand")}catch{}},7191:(q,V,S)=>{const M=S(8162),D="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";q.exports=M(D)},8764:(q,V,S)=>{"use strict";/*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */const M=S(9742),D=S(645),F=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;V.Buffer=c,V.SlowBuffer=g,V.INSPECT_MAX_BYTES=50;const I=2147483647;V.kMaxLength=I,c.TYPED_ARRAY_SUPPORT=o(),!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 o(){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}}e(o,"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>I)throw new RangeError('The value "'+y+'" is invalid for option "size"');const r=new Uint8Array(y);return Object.setPrototypeOf(r,c.prototype),r}e(h,"createBuffer");function c(y,r,f){if(typeof y=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return i(y)}return w(y,r,f)}e(c,"Buffer"),c.poolSize=8192;function w(y,r,f){if(typeof y=="string")return m(y,r);if(ArrayBuffer.isView(y))return b(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(le(y,ArrayBuffer)||y&&le(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(y,SharedArrayBuffer)||y&&le(y.buffer,SharedArrayBuffer)))return l(y,r,f);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const C=y.valueOf&&y.valueOf();if(C!=null&&C!==y)return c.from(C,r,f);const H=v(y);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return c.from(y[Symbol.toPrimitive]("string"),r,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}e(w,"from"),c.from=function(y,r,f){return w(y,r,f)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function E(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"')}e(E,"assertSize");function d(y,r,f){return E(y),y<=0?h(y):r!==void 0?typeof f=="string"?h(y).fill(r,f):h(y).fill(r):h(y)}e(d,"alloc"),c.alloc=function(y,r,f){return d(y,r,f)};function i(y){return E(y),h(y<0?0:A(y)|0)}e(i,"allocUnsafe"),c.allocUnsafe=function(y){return i(y)},c.allocUnsafeSlow=function(y){return i(y)};function m(y,r){if((typeof r!="string"||r==="")&&(r="utf8"),!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const f=_(y,r)|0;let C=h(f);const H=C.write(y,r);return H!==f&&(C=C.slice(0,H)),C}e(m,"fromString");function s(y){const r=y.length<0?0:A(y.length)|0,f=h(r);for(let C=0;C<r;C+=1)f[C]=y[C]&255;return f}e(s,"fromArrayLike");function b(y){if(le(y,Uint8Array)){const r=new Uint8Array(y);return l(r.buffer,r.byteOffset,r.byteLength)}return s(y)}e(b,"fromArrayView");function l(y,r,f){if(r<0||y.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<r+(f||0))throw new RangeError('"length" is outside of buffer bounds');let C;return r===void 0&&f===void 0?C=new Uint8Array(y):f===void 0?C=new Uint8Array(y,r):C=new Uint8Array(y,r,f),Object.setPrototypeOf(C,c.prototype),C}e(l,"fromArrayBuffer");function v(y){if(c.isBuffer(y)){const r=A(y.length)|0,f=h(r);return f.length===0||y.copy(f,0,0,r),f}if(y.length!==void 0)return typeof y.length!="number"||Me(y.length)?h(0):s(y);if(y.type==="Buffer"&&Array.isArray(y.data))return s(y.data)}e(v,"fromObject");function A(y){if(y>=I)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+I.toString(16)+" bytes");return y|0}e(A,"checked");function g(y){return+y!=y&&(y=0),c.alloc(+y)}e(g,"SlowBuffer"),c.isBuffer=e(function(r){return r!=null&&r._isBuffer===!0&&r!==c.prototype},"isBuffer"),c.compare=e(function(r,f){if(le(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),le(f,Uint8Array)&&(f=c.from(f,f.offset,f.byteLength)),!c.isBuffer(r)||!c.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===f)return 0;let C=r.length,H=f.length;for(let Y=0,J=Math.min(C,H);Y<J;++Y)if(r[Y]!==f[Y]){C=r[Y],H=f[Y];break}return C<H?-1:H<C?1:0},"compare"),c.isEncoding=e(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=e(function(r,f){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return c.alloc(0);let C;if(f===void 0)for(f=0,C=0;C<r.length;++C)f+=r[C].length;const H=c.allocUnsafe(f);let Y=0;for(C=0;C<r.length;++C){let J=r[C];if(le(J,Uint8Array))Y+J.length>H.length?(c.isBuffer(J)||(J=c.from(J)),J.copy(H,Y)):Uint8Array.prototype.set.call(H,J,Y);else if(c.isBuffer(J))J.copy(H,Y);else throw new TypeError('"list" argument must be an Array of Buffers');Y+=J.length}return H},"concat");function _(y,r){if(c.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||le(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 f=y.length,C=arguments.length>2&&arguments[2]===!0;if(!C&&f===0)return 0;let H=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return fe(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return xe(y).length;default:if(H)return C?-1:fe(y).length;r=(""+r).toLowerCase(),H=!0}}e(_,"byteLength"),c.byteLength=_;function L(y,r,f){let C=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,r>>>=0,f<=r))return"";for(y||(y="utf8");;)switch(y){case"hex":return B(this,r,f);case"utf8":case"utf-8":return x(this,r,f);case"ascii":return u(this,r,f);case"latin1":case"binary":return p(this,r,f);case"base64":return $(this,r,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,r,f);default:if(C)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),C=!0}}e(L,"slowToString"),c.prototype._isBuffer=!0;function T(y,r,f){const C=y[r];y[r]=y[f],y[f]=C}e(T,"swap"),c.prototype.swap16=e(function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<r;f+=2)T(this,f,f+1);return this},"swap16"),c.prototype.swap32=e(function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<r;f+=4)T(this,f,f+3),T(this,f+1,f+2);return this},"swap32"),c.prototype.swap64=e(function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<r;f+=8)T(this,f,f+7),T(this,f+1,f+6),T(this,f+2,f+5),T(this,f+3,f+4);return this},"swap64"),c.prototype.toString=e(function(){const r=this.length;return r===0?"":arguments.length===0?x(this,0,r):L.apply(this,arguments)},"toString"),c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=e(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=e(function(){let r="";const f=V.INSPECT_MAX_BYTES;return r=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(r+=" ... "),"<Buffer "+r+">"},"inspect"),F&&(c.prototype[F]=c.prototype.inspect),c.prototype.compare=e(function(r,f,C,H,Y){if(le(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(f===void 0&&(f=0),C===void 0&&(C=r?r.length:0),H===void 0&&(H=0),Y===void 0&&(Y=this.length),f<0||C>r.length||H<0||Y>this.length)throw new RangeError("out of range index");if(H>=Y&&f>=C)return 0;if(H>=Y)return-1;if(f>=C)return 1;if(f>>>=0,C>>>=0,H>>>=0,Y>>>=0,this===r)return 0;let J=Y-H,ce=C-f;const we=Math.min(J,ce),be=this.slice(H,Y),ve=r.slice(f,C);for(let me=0;me<we;++me)if(be[me]!==ve[me]){J=be[me],ce=ve[me];break}return J<ce?-1:ce<J?1:0},"compare");function O(y,r,f,C,H){if(y.length===0)return-1;if(typeof f=="string"?(C=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,Me(f)&&(f=H?0:y.length-1),f<0&&(f=y.length+f),f>=y.length){if(H)return-1;f=y.length-1}else if(f<0)if(H)f=0;else return-1;if(typeof r=="string"&&(r=c.from(r,C)),c.isBuffer(r))return r.length===0?-1:W(y,r,f,C,H);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?H?Uint8Array.prototype.indexOf.call(y,r,f):Uint8Array.prototype.lastIndexOf.call(y,r,f):W(y,[r],f,C,H);throw new TypeError("val must be string, number or Buffer")}e(O,"bidirectionalIndexOf");function W(y,r,f,C,H){let Y=1,J=y.length,ce=r.length;if(C!==void 0&&(C=String(C).toLowerCase(),C==="ucs2"||C==="ucs-2"||C==="utf16le"||C==="utf-16le")){if(y.length<2||r.length<2)return-1;Y=2,J/=2,ce/=2,f/=2}function we(ve,me){return Y===1?ve[me]:ve.readUInt16BE(me*Y)}e(we,"read");let be;if(H){let ve=-1;for(be=f;be<J;be++)if(we(y,be)===we(r,ve===-1?0:be-ve)){if(ve===-1&&(ve=be),be-ve+1===ce)return ve*Y}else ve!==-1&&(be-=be-ve),ve=-1}else for(f+ce>J&&(f=J-ce),be=f;be>=0;be--){let ve=!0;for(let me=0;me<ce;me++)if(we(y,be+me)!==we(r,me)){ve=!1;break}if(ve)return be}return-1}e(W,"arrayIndexOf"),c.prototype.includes=e(function(r,f,C){return this.indexOf(r,f,C)!==-1},"includes"),c.prototype.indexOf=e(function(r,f,C){return O(this,r,f,C,!0)},"indexOf"),c.prototype.lastIndexOf=e(function(r,f,C){return O(this,r,f,C,!1)},"lastIndexOf");function G(y,r,f,C){f=Number(f)||0;const H=y.length-f;C?(C=Number(C),C>H&&(C=H)):C=H;const Y=r.length;C>Y/2&&(C=Y/2);let J;for(J=0;J<C;++J){const ce=parseInt(r.substr(J*2,2),16);if(Me(ce))return J;y[f+J]=ce}return J}e(G,"hexWrite");function Z(y,r,f,C){return ge(fe(r,y.length-f),y,f,C)}e(Z,"utf8Write");function Q(y,r,f,C){return ge(ue(r),y,f,C)}e(Q,"asciiWrite");function re(y,r,f,C){return ge(xe(r),y,f,C)}e(re,"base64Write");function te(y,r,f,C){return ge(de(r,y.length-f),y,f,C)}e(te,"ucs2Write"),c.prototype.write=e(function(r,f,C,H){if(f===void 0)H="utf8",C=this.length,f=0;else if(C===void 0&&typeof f=="string")H=f,C=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(C)?(C=C>>>0,H===void 0&&(H="utf8")):(H=C,C=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Y=this.length-f;if((C===void 0||C>Y)&&(C=Y),r.length>0&&(C<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");H||(H="utf8");let J=!1;for(;;)switch(H){case"hex":return G(this,r,f,C);case"utf8":case"utf-8":return Z(this,r,f,C);case"ascii":case"latin1":case"binary":return Q(this,r,f,C);case"base64":return re(this,r,f,C);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,r,f,C);default:if(J)throw new TypeError("Unknown encoding: "+H);H=(""+H).toLowerCase(),J=!0}},"write"),c.prototype.toJSON=e(function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},"toJSON");function $(y,r,f){return r===0&&f===y.length?M.fromByteArray(y):M.fromByteArray(y.slice(r,f))}e($,"base64Slice");function x(y,r,f){f=Math.min(y.length,f);const C=[];let H=r;for(;H<f;){const Y=y[H];let J=null,ce=Y>239?4:Y>223?3:Y>191?2:1;if(H+ce<=f){let we,be,ve,me;switch(ce){case 1:Y<128&&(J=Y);break;case 2:we=y[H+1],(we&192)===128&&(me=(Y&31)<<6|we&63,me>127&&(J=me));break;case 3:we=y[H+1],be=y[H+2],(we&192)===128&&(be&192)===128&&(me=(Y&15)<<12|(we&63)<<6|be&63,me>2047&&(me<55296||me>57343)&&(J=me));break;case 4:we=y[H+1],be=y[H+2],ve=y[H+3],(we&192)===128&&(be&192)===128&&(ve&192)===128&&(me=(Y&15)<<18|(we&63)<<12|(be&63)<<6|ve&63,me>65535&&me<1114112&&(J=me))}}J===null?(J=65533,ce=1):J>65535&&(J-=65536,C.push(J>>>10&1023|55296),J=56320|J&1023),C.push(J),H+=ce}return n(C)}e(x,"utf8Slice");const t=4096;function n(y){const r=y.length;if(r<=t)return String.fromCharCode.apply(String,y);let f="",C=0;for(;C<r;)f+=String.fromCharCode.apply(String,y.slice(C,C+=t));return f}e(n,"decodeCodePointsArray");function u(y,r,f){let C="";f=Math.min(y.length,f);for(let H=r;H<f;++H)C+=String.fromCharCode(y[H]&127);return C}e(u,"asciiSlice");function p(y,r,f){let C="";f=Math.min(y.length,f);for(let H=r;H<f;++H)C+=String.fromCharCode(y[H]);return C}e(p,"latin1Slice");function B(y,r,f){const C=y.length;(!r||r<0)&&(r=0),(!f||f<0||f>C)&&(f=C);let H="";for(let Y=r;Y<f;++Y)H+=ye[y[Y]];return H}e(B,"hexSlice");function k(y,r,f){const C=y.slice(r,f);let H="";for(let Y=0;Y<C.length-1;Y+=2)H+=String.fromCharCode(C[Y]+C[Y+1]*256);return H}e(k,"utf16leSlice"),c.prototype.slice=e(function(r,f){const C=this.length;r=~~r,f=f===void 0?C:~~f,r<0?(r+=C,r<0&&(r=0)):r>C&&(r=C),f<0?(f+=C,f<0&&(f=0)):f>C&&(f=C),f<r&&(f=r);const H=this.subarray(r,f);return Object.setPrototypeOf(H,c.prototype),H},"slice");function z(y,r,f){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+r>f)throw new RangeError("Trying to access beyond buffer length")}e(z,"checkOffset"),c.prototype.readUintLE=c.prototype.readUIntLE=e(function(r,f,C){r=r>>>0,f=f>>>0,C||z(r,f,this.length);let H=this[r],Y=1,J=0;for(;++J<f&&(Y*=256);)H+=this[r+J]*Y;return H},"readUIntLE"),c.prototype.readUintBE=c.prototype.readUIntBE=e(function(r,f,C){r=r>>>0,f=f>>>0,C||z(r,f,this.length);let H=this[r+--f],Y=1;for(;f>0&&(Y*=256);)H+=this[r+--f]*Y;return H},"readUIntBE"),c.prototype.readUint8=c.prototype.readUInt8=e(function(r,f){return r=r>>>0,f||z(r,1,this.length),this[r]},"readUInt8"),c.prototype.readUint16LE=c.prototype.readUInt16LE=e(function(r,f){return r=r>>>0,f||z(r,2,this.length),this[r]|this[r+1]<<8},"readUInt16LE"),c.prototype.readUint16BE=c.prototype.readUInt16BE=e(function(r,f){return r=r>>>0,f||z(r,2,this.length),this[r]<<8|this[r+1]},"readUInt16BE"),c.prototype.readUint32LE=c.prototype.readUInt32LE=e(function(r,f){return r=r>>>0,f||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=e(function(r,f){return r=r>>>0,f||z(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},"readUInt32BE"),c.prototype.readBigUInt64LE=pe(e(function(r){r=r>>>0,se(r,"offset");const f=this[r],C=this[r+7];(f===void 0||C===void 0)&&U(r,this.length-8);const H=f+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,Y=this[++r]+this[++r]*2**8+this[++r]*2**16+C*2**24;return BigInt(H)+(BigInt(Y)<<BigInt(32))},"readBigUInt64LE")),c.prototype.readBigUInt64BE=pe(e(function(r){r=r>>>0,se(r,"offset");const f=this[r],C=this[r+7];(f===void 0||C===void 0)&&U(r,this.length-8);const H=f*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],Y=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+C;return(BigInt(H)<<BigInt(32))+BigInt(Y)},"readBigUInt64BE")),c.prototype.readIntLE=e(function(r,f,C){r=r>>>0,f=f>>>0,C||z(r,f,this.length);let H=this[r],Y=1,J=0;for(;++J<f&&(Y*=256);)H+=this[r+J]*Y;return Y*=128,H>=Y&&(H-=Math.pow(2,8*f)),H},"readIntLE"),c.prototype.readIntBE=e(function(r,f,C){r=r>>>0,f=f>>>0,C||z(r,f,this.length);let H=f,Y=1,J=this[r+--H];for(;H>0&&(Y*=256);)J+=this[r+--H]*Y;return Y*=128,J>=Y&&(J-=Math.pow(2,8*f)),J},"readIntBE"),c.prototype.readInt8=e(function(r,f){return r=r>>>0,f||z(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},"readInt8"),c.prototype.readInt16LE=e(function(r,f){r=r>>>0,f||z(r,2,this.length);const C=this[r]|this[r+1]<<8;return C&32768?C|4294901760:C},"readInt16LE"),c.prototype.readInt16BE=e(function(r,f){r=r>>>0,f||z(r,2,this.length);const C=this[r+1]|this[r]<<8;return C&32768?C|4294901760:C},"readInt16BE"),c.prototype.readInt32LE=e(function(r,f){return r=r>>>0,f||z(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},"readInt32LE"),c.prototype.readInt32BE=e(function(r,f){return r=r>>>0,f||z(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},"readInt32BE"),c.prototype.readBigInt64LE=pe(e(function(r){r=r>>>0,se(r,"offset");const f=this[r],C=this[r+7];(f===void 0||C===void 0)&&U(r,this.length-8);const H=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(C<<24);return(BigInt(H)<<BigInt(32))+BigInt(f+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)},"readBigInt64LE")),c.prototype.readBigInt64BE=pe(e(function(r){r=r>>>0,se(r,"offset");const f=this[r],C=this[r+7];(f===void 0||C===void 0)&&U(r,this.length-8);const H=(f<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(H)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+C)},"readBigInt64BE")),c.prototype.readFloatLE=e(function(r,f){return r=r>>>0,f||z(r,4,this.length),D.read(this,r,!0,23,4)},"readFloatLE"),c.prototype.readFloatBE=e(function(r,f){return r=r>>>0,f||z(r,4,this.length),D.read(this,r,!1,23,4)},"readFloatBE"),c.prototype.readDoubleLE=e(function(r,f){return r=r>>>0,f||z(r,8,this.length),D.read(this,r,!0,52,8)},"readDoubleLE"),c.prototype.readDoubleBE=e(function(r,f){return r=r>>>0,f||z(r,8,this.length),D.read(this,r,!1,52,8)},"readDoubleBE");function R(y,r,f,C,H,Y){if(!c.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>H||r<Y)throw new RangeError('"value" argument is out of bounds');if(f+C>y.length)throw new RangeError("Index out of range")}e(R,"checkInt"),c.prototype.writeUintLE=c.prototype.writeUIntLE=e(function(r,f,C,H){if(r=+r,f=f>>>0,C=C>>>0,!H){const ce=Math.pow(2,8*C)-1;R(this,r,f,C,ce,0)}let Y=1,J=0;for(this[f]=r&255;++J<C&&(Y*=256);)this[f+J]=r/Y&255;return f+C},"writeUIntLE"),c.prototype.writeUintBE=c.prototype.writeUIntBE=e(function(r,f,C,H){if(r=+r,f=f>>>0,C=C>>>0,!H){const ce=Math.pow(2,8*C)-1;R(this,r,f,C,ce,0)}let Y=C-1,J=1;for(this[f+Y]=r&255;--Y>=0&&(J*=256);)this[f+Y]=r/J&255;return f+C},"writeUIntBE"),c.prototype.writeUint8=c.prototype.writeUInt8=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,1,255,0),this[f]=r&255,f+1},"writeUInt8"),c.prototype.writeUint16LE=c.prototype.writeUInt16LE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,2,65535,0),this[f]=r&255,this[f+1]=r>>>8,f+2},"writeUInt16LE"),c.prototype.writeUint16BE=c.prototype.writeUInt16BE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,2,65535,0),this[f]=r>>>8,this[f+1]=r&255,f+2},"writeUInt16BE"),c.prototype.writeUint32LE=c.prototype.writeUInt32LE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,4,4294967295,0),this[f+3]=r>>>24,this[f+2]=r>>>16,this[f+1]=r>>>8,this[f]=r&255,f+4},"writeUInt32LE"),c.prototype.writeUint32BE=c.prototype.writeUInt32BE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,4,4294967295,0),this[f]=r>>>24,this[f+1]=r>>>16,this[f+2]=r>>>8,this[f+3]=r&255,f+4},"writeUInt32BE");function a(y,r,f,C,H){ie(r,C,H,y,f,7);let Y=Number(r&BigInt(4294967295));y[f++]=Y,Y=Y>>8,y[f++]=Y,Y=Y>>8,y[f++]=Y,Y=Y>>8,y[f++]=Y;let J=Number(r>>BigInt(32)&BigInt(4294967295));return y[f++]=J,J=J>>8,y[f++]=J,J=J>>8,y[f++]=J,J=J>>8,y[f++]=J,f}e(a,"wrtBigUInt64LE");function P(y,r,f,C,H){ie(r,C,H,y,f,7);let Y=Number(r&BigInt(4294967295));y[f+7]=Y,Y=Y>>8,y[f+6]=Y,Y=Y>>8,y[f+5]=Y,Y=Y>>8,y[f+4]=Y;let J=Number(r>>BigInt(32)&BigInt(4294967295));return y[f+3]=J,J=J>>8,y[f+2]=J,J=J>>8,y[f+1]=J,J=J>>8,y[f]=J,f+8}e(P,"wrtBigUInt64BE"),c.prototype.writeBigUInt64LE=pe(e(function(r,f=0){return a(this,r,f,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64LE")),c.prototype.writeBigUInt64BE=pe(e(function(r,f=0){return P(this,r,f,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64BE")),c.prototype.writeIntLE=e(function(r,f,C,H){if(r=+r,f=f>>>0,!H){const we=Math.pow(2,8*C-1);R(this,r,f,C,we-1,-we)}let Y=0,J=1,ce=0;for(this[f]=r&255;++Y<C&&(J*=256);)r<0&&ce===0&&this[f+Y-1]!==0&&(ce=1),this[f+Y]=(r/J>>0)-ce&255;return f+C},"writeIntLE"),c.prototype.writeIntBE=e(function(r,f,C,H){if(r=+r,f=f>>>0,!H){const we=Math.pow(2,8*C-1);R(this,r,f,C,we-1,-we)}let Y=C-1,J=1,ce=0;for(this[f+Y]=r&255;--Y>=0&&(J*=256);)r<0&&ce===0&&this[f+Y+1]!==0&&(ce=1),this[f+Y]=(r/J>>0)-ce&255;return f+C},"writeIntBE"),c.prototype.writeInt8=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,1,127,-128),r<0&&(r=255+r+1),this[f]=r&255,f+1},"writeInt8"),c.prototype.writeInt16LE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,2,32767,-32768),this[f]=r&255,this[f+1]=r>>>8,f+2},"writeInt16LE"),c.prototype.writeInt16BE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,2,32767,-32768),this[f]=r>>>8,this[f+1]=r&255,f+2},"writeInt16BE"),c.prototype.writeInt32LE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,4,2147483647,-2147483648),this[f]=r&255,this[f+1]=r>>>8,this[f+2]=r>>>16,this[f+3]=r>>>24,f+4},"writeInt32LE"),c.prototype.writeInt32BE=e(function(r,f,C){return r=+r,f=f>>>0,C||R(this,r,f,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[f]=r>>>24,this[f+1]=r>>>16,this[f+2]=r>>>8,this[f+3]=r&255,f+4},"writeInt32BE"),c.prototype.writeBigInt64LE=pe(e(function(r,f=0){return a(this,r,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64LE")),c.prototype.writeBigInt64BE=pe(e(function(r,f=0){return P(this,r,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function ne(y,r,f,C,H,Y){if(f+C>y.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}e(ne,"checkIEEE754");function ae(y,r,f,C,H){return r=+r,f=f>>>0,H||ne(y,r,f,4,34028234663852886e22,-34028234663852886e22),D.write(y,r,f,C,23,4),f+4}e(ae,"writeFloat"),c.prototype.writeFloatLE=e(function(r,f,C){return ae(this,r,f,!0,C)},"writeFloatLE"),c.prototype.writeFloatBE=e(function(r,f,C){return ae(this,r,f,!1,C)},"writeFloatBE");function oe(y,r,f,C,H){return r=+r,f=f>>>0,H||ne(y,r,f,8,17976931348623157e292,-17976931348623157e292),D.write(y,r,f,C,52,8),f+8}e(oe,"writeDouble"),c.prototype.writeDoubleLE=e(function(r,f,C){return oe(this,r,f,!0,C)},"writeDoubleLE"),c.prototype.writeDoubleBE=e(function(r,f,C){return oe(this,r,f,!1,C)},"writeDoubleBE"),c.prototype.copy=e(function(r,f,C,H){if(!c.isBuffer(r))throw new TypeError("argument should be a Buffer");if(C||(C=0),!H&&H!==0&&(H=this.length),f>=r.length&&(f=r.length),f||(f=0),H>0&&H<C&&(H=C),H===C||r.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(C<0||C>=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length),r.length-f<H-C&&(H=r.length-f+C);const Y=H-C;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(f,C,H):Uint8Array.prototype.set.call(r,this.subarray(C,H),f),Y},"copy"),c.prototype.fill=e(function(r,f,C,H){if(typeof r=="string"){if(typeof f=="string"?(H=f,f=0,C=this.length):typeof C=="string"&&(H=C,C=this.length),H!==void 0&&typeof H!="string")throw new TypeError("encoding must be a string");if(typeof H=="string"&&!c.isEncoding(H))throw new TypeError("Unknown encoding: "+H);if(r.length===1){const J=r.charCodeAt(0);(H==="utf8"&&J<128||H==="latin1")&&(r=J)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(f<0||this.length<f||this.length<C)throw new RangeError("Out of range index");if(C<=f)return this;f=f>>>0,C=C===void 0?this.length:C>>>0,r||(r=0);let Y;if(typeof r=="number")for(Y=f;Y<C;++Y)this[Y]=r;else{const J=c.isBuffer(r)?r:c.from(r,H),ce=J.length;if(ce===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(Y=0;Y<C-f;++Y)this[Y+f]=J[Y%ce]}return this},"fill");const he={};function K(y,r,f){he[y]=class extends f{static{e(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(H){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:H,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}e(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,f){let C=`The value of "${y}" is out of range.`,H=f;return Number.isInteger(f)&&Math.abs(f)>2**32?H=j(String(f)):typeof f=="bigint"&&(H=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(H=j(H)),H+="n"),C+=` It must be ${r}. Received ${H}`,C},RangeError);function j(y){let r="",f=y.length;const C=y[0]==="-"?1:0;for(;f>=C+4;f-=3)r=`_${y.slice(f-3,f)}${r}`;return`${y.slice(0,f)}${r}`}e(j,"addNumericalSeparator");function ee(y,r,f){se(r,"offset"),(y[r]===void 0||y[r+f]===void 0)&&U(r,y.length-(f+1))}e(ee,"checkBounds");function ie(y,r,f,C,H,Y){if(y>f||y<r){const J=typeof r=="bigint"?"n":"";let ce;throw Y>3?r===0||r===BigInt(0)?ce=`>= 0${J} and < 2${J} ** ${(Y+1)*8}${J}`:ce=`>= -(2${J} ** ${(Y+1)*8-1}${J}) and < 2 ** ${(Y+1)*8-1}${J}`:ce=`>= ${r}${J} and <= ${f}${J}`,new he.ERR_OUT_OF_RANGE("value",ce,y)}ee(C,H,Y)}e(ie,"checkIntBI");function se(y,r){if(typeof y!="number")throw new he.ERR_INVALID_ARG_TYPE(r,"number",y)}e(se,"validateNumber");function U(y,r,f){throw Math.floor(y)!==y?(se(y,f),new he.ERR_OUT_OF_RANGE(f||"offset","an integer",y)):r<0?new he.ERR_BUFFER_OUT_OF_BOUNDS:new he.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${r}`,y)}e(U,"boundsError");const N=/[^+/0-9A-Za-z-_]/g;function X(y){if(y=y.split("=")[0],y=y.trim().replace(N,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}e(X,"base64clean");function fe(y,r){r=r||1/0;let f;const C=y.length;let H=null;const Y=[];for(let J=0;J<C;++J){if(f=y.charCodeAt(J),f>55295&&f<57344){if(!H){if(f>56319){(r-=3)>-1&&Y.push(239,191,189);continue}else if(J+1===C){(r-=3)>-1&&Y.push(239,191,189);continue}H=f;continue}if(f<56320){(r-=3)>-1&&Y.push(239,191,189),H=f;continue}f=(H-55296<<10|f-56320)+65536}else H&&(r-=3)>-1&&Y.push(239,191,189);if(H=null,f<128){if((r-=1)<0)break;Y.push(f)}else if(f<2048){if((r-=2)<0)break;Y.push(f>>6|192,f&63|128)}else if(f<65536){if((r-=3)<0)break;Y.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((r-=4)<0)break;Y.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return Y}e(fe,"utf8ToBytes");function ue(y){const r=[];for(let f=0;f<y.length;++f)r.push(y.charCodeAt(f)&255);return r}e(ue,"asciiToBytes");function de(y,r){let f,C,H;const Y=[];for(let J=0;J<y.length&&!((r-=2)<0);++J)f=y.charCodeAt(J),C=f>>8,H=f%256,Y.push(H),Y.push(C);return Y}e(de,"utf16leToBytes");function xe(y){return M.toByteArray(X(y))}e(xe,"base64ToBytes");function ge(y,r,f,C){let H;for(H=0;H<C&&!(H+f>=r.length||H>=y.length);++H)r[H+f]=y[H];return H}e(ge,"blitBuffer");function le(y,r){return y instanceof r||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===r.name}e(le,"isInstance");function Me(y){return y!==y}e(Me,"numberIsNaN");const ye=function(){const y="0123456789abcdef",r=new Array(256);for(let f=0;f<16;++f){const C=f*16;for(let H=0;H<16;++H)r[C+H]=y[f]+y[H]}return r}();function pe(y){return typeof BigInt>"u"?He:y}e(pe,"defineBigIntMethod");function He(){throw new Error("BigInt not supported")}e(He,"BufferBigIntNotDefined")},8028:(q,V,S)=>{var M=S(2318);q.exports=function(D){return new M().update(D).digest()}},7187:q=>{"use strict";var V=typeof Reflect=="object"?Reflect:null,S=V&&typeof V.apply=="function"?V.apply:e(function(L,T,O){return Function.prototype.apply.call(L,T,O)},"ReflectApply"),M;V&&typeof V.ownKeys=="function"?M=V.ownKeys:Object.getOwnPropertySymbols?M=e(function(L){return Object.getOwnPropertyNames(L).concat(Object.getOwnPropertySymbols(L))},"ReflectOwnKeys"):M=e(function(L){return Object.getOwnPropertyNames(L)},"ReflectOwnKeys");function D(_){console&&console.warn&&console.warn(_)}e(D,"ProcessEmitWarning");var F=Number.isNaN||e(function(L){return L!==L},"NumberIsNaN");function I(){I.init.call(this)}e(I,"EventEmitter"),q.exports=I,q.exports.once=v,I.EventEmitter=I,I.prototype._events=void 0,I.prototype._eventsCount=0,I.prototype._maxListeners=void 0;var o=10;function h(_){if(typeof _!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof _)}e(h,"checkListener"),Object.defineProperty(I,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(_){if(typeof _!="number"||_<0||F(_))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+_+".");o=_}}),I.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},I.prototype.setMaxListeners=e(function(L){if(typeof L!="number"||L<0||F(L))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+L+".");return this._maxListeners=L,this},"setMaxListeners");function c(_){return _._maxListeners===void 0?I.defaultMaxListeners:_._maxListeners}e(c,"_getMaxListeners"),I.prototype.getMaxListeners=e(function(){return c(this)},"getMaxListeners"),I.prototype.emit=e(function(L){for(var T=[],O=1;O<arguments.length;O++)T.push(arguments[O]);var W=L==="error",G=this._events;if(G!==void 0)W=W&&G.error===void 0;else if(!W)return!1;if(W){var Z;if(T.length>0&&(Z=T[0]),Z instanceof Error)throw Z;var Q=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw Q.context=Z,Q}var re=G[L];if(re===void 0)return!1;if(typeof re=="function")S(re,this,T);else for(var te=re.length,$=s(re,te),O=0;O<te;++O)S($[O],this,T);return!0},"emit");function w(_,L,T,O){var W,G,Z;if(h(T),G=_._events,G===void 0?(G=_._events=Object.create(null),_._eventsCount=0):(G.newListener!==void 0&&(_.emit("newListener",L,T.listener?T.listener:T),G=_._events),Z=G[L]),Z===void 0)Z=G[L]=T,++_._eventsCount;else if(typeof Z=="function"?Z=G[L]=O?[T,Z]:[Z,T]:O?Z.unshift(T):Z.push(T),W=c(_),W>0&&Z.length>W&&!Z.warned){Z.warned=!0;var Q=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(L)+" listeners added. Use emitter.setMaxListeners() to increase limit");Q.name="MaxListenersExceededWarning",Q.emitter=_,Q.type=L,Q.count=Z.length,D(Q)}return _}e(w,"_addListener"),I.prototype.addListener=e(function(L,T){return w(this,L,T,!1)},"addListener"),I.prototype.on=I.prototype.addListener,I.prototype.prependListener=e(function(L,T){return w(this,L,T,!0)},"prependListener");function E(){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)}e(E,"onceWrapper");function d(_,L,T){var O={fired:!1,wrapFn:void 0,target:_,type:L,listener:T},W=E.bind(O);return W.listener=T,O.wrapFn=W,W}e(d,"_onceWrap"),I.prototype.once=e(function(L,T){return h(T),this.on(L,d(this,L,T)),this},"once"),I.prototype.prependOnceListener=e(function(L,T){return h(T),this.prependListener(L,d(this,L,T)),this},"prependOnceListener"),I.prototype.removeListener=e(function(L,T){var O,W,G,Z,Q;if(h(T),W=this._events,W===void 0)return this;if(O=W[L],O===void 0)return this;if(O===T||O.listener===T)--this._eventsCount===0?this._events=Object.create(null):(delete W[L],W.removeListener&&this.emit("removeListener",L,O.listener||T));else if(typeof O!="function"){for(G=-1,Z=O.length-1;Z>=0;Z--)if(O[Z]===T||O[Z].listener===T){Q=O[Z].listener,G=Z;break}if(G<0)return this;G===0?O.shift():b(O,G),O.length===1&&(W[L]=O[0]),W.removeListener!==void 0&&this.emit("removeListener",L,Q||T)}return this},"removeListener"),I.prototype.off=I.prototype.removeListener,I.prototype.removeAllListeners=e(function(L){var T,O,W;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[L]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete O[L]),this;if(arguments.length===0){var G=Object.keys(O),Z;for(W=0;W<G.length;++W)Z=G[W],Z!=="removeListener"&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(T=O[L],typeof T=="function")this.removeListener(L,T);else if(T!==void 0)for(W=T.length-1;W>=0;W--)this.removeListener(L,T[W]);return this},"removeAllListeners");function i(_,L,T){var O=_._events;if(O===void 0)return[];var W=O[L];return W===void 0?[]:typeof W=="function"?T?[W.listener||W]:[W]:T?l(W):s(W,W.length)}e(i,"_listeners"),I.prototype.listeners=e(function(L){return i(this,L,!0)},"listeners"),I.prototype.rawListeners=e(function(L){return i(this,L,!1)},"rawListeners"),I.listenerCount=function(_,L){return typeof _.listenerCount=="function"?_.listenerCount(L):m.call(_,L)},I.prototype.listenerCount=m;function m(_){var L=this._events;if(L!==void 0){var T=L[_];if(typeof T=="function")return 1;if(T!==void 0)return T.length}return 0}e(m,"listenerCount"),I.prototype.eventNames=e(function(){return this._eventsCount>0?M(this._events):[]},"eventNames");function s(_,L){for(var T=new Array(L),O=0;O<L;++O)T[O]=_[O];return T}e(s,"arrayClone");function b(_,L){for(;L+1<_.length;L++)_[L]=_[L+1];_.pop()}e(b,"spliceOne");function l(_){for(var L=new Array(_.length),T=0;T<L.length;++T)L[T]=_[T].listener||_[T];return L}e(l,"unwrapListeners");function v(_,L){return new Promise(function(T,O){function W(Z){_.removeListener(L,G),O(Z)}e(W,"errorListener");function G(){typeof _.removeListener=="function"&&_.removeListener("error",W),T([].slice.call(arguments))}e(G,"resolver"),g(_,L,G,{once:!0}),L!=="error"&&A(_,W,{once:!0})})}e(v,"once");function A(_,L,T){typeof _.on=="function"&&g(_,"error",L,T)}e(A,"addErrorHandlerIfEventEmitter");function g(_,L,T,O){if(typeof _.on=="function")O.once?_.once(L,T):_.on(L,T);else if(typeof _.addEventListener=="function")_.addEventListener(L,e(function W(G){O.once&&_.removeEventListener(L,W),T(G)},"wrapListener"));else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof _)}e(g,"eventTargetAgnosticAddListener")},3349:(q,V,S)=>{"use strict";var M=S(9509).Buffer,D=S(8473).Transform,F=S(5717);function I(h,c){if(!M.isBuffer(h)&&typeof h!="string")throw new TypeError(c+" must be a string or a buffer")}e(I,"throwIfNotStringOrBuffer");function o(h){D.call(this),this._block=M.allocUnsafe(h),this._blockSize=h,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e(o,"HashBase"),F(o,D),o.prototype._transform=function(h,c,w){var E=null;try{this.update(h,c)}catch(d){E=d}w(E)},o.prototype._flush=function(h){var c=null;try{this.push(this.digest())}catch(w){c=w}h(c)},o.prototype.update=function(h,c){if(I(h,"Data"),this._finalized)throw new Error("Digest already called");M.isBuffer(h)||(h=M.from(h,c));for(var w=this._block,E=0;this._blockOffset+h.length-E>=this._blockSize;){for(var d=this._blockOffset;d<this._blockSize;)w[d++]=h[E++];this._update(),this._blockOffset=0}for(;E<h.length;)w[this._blockOffset++]=h[E++];for(var i=0,m=h.length*8;m>0;++i)this._length[i]+=m,m=this._length[i]/4294967296|0,m>0&&(this._length[i]-=4294967296*m);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.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 w=0;w<4;++w)this._length[w]=0;return c},o.prototype._digest=function(){throw new Error("_digest is not implemented")},q.exports=o},3715:(q,V,S)=>{var M=V;M.utils=S(6436),M.common=S(5772),M.sha=S(9041),M.ripemd=S(2949),M.hmac=S(2344),M.sha1=M.sha.sha1,M.sha256=M.sha.sha256,M.sha224=M.sha.sha224,M.sha384=M.sha.sha384,M.sha512=M.sha.sha512,M.ripemd160=M.ripemd.ripemd160},5772:(q,V,S)=>{"use strict";var M=S(6436),D=S(9746);function F(){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}e(F,"BlockHash"),V.BlockHash=F,F.prototype.update=e(function(o,h){if(o=M.toArray(o,h),this.pending?this.pending=this.pending.concat(o):this.pending=o,this.pendingTotal+=o.length,this.pending.length>=this._delta8){o=this.pending;var c=o.length%this._delta8;this.pending=o.slice(o.length-c,o.length),this.pending.length===0&&(this.pending=null),o=M.join32(o,0,o.length-c,this.endian);for(var w=0;w<o.length;w+=this._delta32)this._update(o,w,w+this._delta32)}return this},"update"),F.prototype.digest=e(function(o){return this.update(this._pad()),D(this.pending===null),this._digest(o)},"digest"),F.prototype._pad=e(function(){var o=this.pendingTotal,h=this._delta8,c=h-(o+this.padLength)%h,w=new Array(c+this.padLength);w[0]=128;for(var E=1;E<c;E++)w[E]=0;if(o<<=3,this.endian==="big"){for(var d=8;d<this.padLength;d++)w[E++]=0;w[E++]=0,w[E++]=0,w[E++]=0,w[E++]=0,w[E++]=o>>>24&255,w[E++]=o>>>16&255,w[E++]=o>>>8&255,w[E++]=o&255}else for(w[E++]=o&255,w[E++]=o>>>8&255,w[E++]=o>>>16&255,w[E++]=o>>>24&255,w[E++]=0,w[E++]=0,w[E++]=0,w[E++]=0,d=8;d<this.padLength;d++)w[E++]=0;return w},"pad")},2344:(q,V,S)=>{"use strict";var M=S(6436),D=S(9746);function F(I,o,h){if(!(this instanceof F))return new F(I,o,h);this.Hash=I,this.blockSize=I.blockSize/8,this.outSize=I.outSize/8,this.inner=null,this.outer=null,this._init(M.toArray(o,h))}e(F,"Hmac"),q.exports=F,F.prototype._init=e(function(o){o.length>this.blockSize&&(o=new this.Hash().update(o).digest()),D(o.length<=this.blockSize);for(var h=o.length;h<this.blockSize;h++)o.push(0);for(h=0;h<o.length;h++)o[h]^=54;for(this.inner=new this.Hash().update(o),h=0;h<o.length;h++)o[h]^=106;this.outer=new this.Hash().update(o)},"init"),F.prototype.update=e(function(o,h){return this.inner.update(o,h),this},"update"),F.prototype.digest=e(function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)},"digest")},2949:(q,V,S)=>{"use strict";var M=S(6436),D=S(5772),F=M.rotl32,I=M.sum32,o=M.sum32_3,h=M.sum32_4,c=D.BlockHash;function w(){if(!(this instanceof w))return new w;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}e(w,"RIPEMD160"),M.inherits(w,c),V.ripemd160=w,w.blockSize=512,w.outSize=160,w.hmacStrength=192,w.padLength=64,w.prototype._update=e(function(A,g){for(var _=this.h[0],L=this.h[1],T=this.h[2],O=this.h[3],W=this.h[4],G=_,Z=L,Q=T,re=O,te=W,$=0;$<80;$++){var x=I(F(h(_,E($,L,T,O),A[m[$]+g],d($)),b[$]),W);_=W,W=O,O=F(T,10),T=L,L=x,x=I(F(h(G,E(79-$,Z,Q,re),A[s[$]+g],i($)),l[$]),te),G=te,te=re,re=F(Q,10),Q=Z,Z=x}x=o(this.h[1],T,re),this.h[1]=o(this.h[2],O,te),this.h[2]=o(this.h[3],W,G),this.h[3]=o(this.h[4],_,Z),this.h[4]=o(this.h[0],L,Q),this.h[0]=x},"update"),w.prototype._digest=e(function(A){return A==="hex"?M.toHex32(this.h,"little"):M.split32(this.h,"little")},"digest");function E(v,A,g,_){return v<=15?A^g^_:v<=31?A&g|~A&_:v<=47?(A|~g)^_:v<=63?A&_|g&~_:A^(g|~_)}e(E,"f");function d(v){return v<=15?0:v<=31?1518500249:v<=47?1859775393:v<=63?2400959708:2840853838}e(d,"K");function i(v){return v<=15?1352829926:v<=31?1548603684:v<=47?1836072691:v<=63?2053994217:0}e(i,"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],s=[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],b=[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,V,S)=>{"use strict";V.sha1=S(4761),V.sha224=S(799),V.sha256=S(9344),V.sha384=S(772),V.sha512=S(5900)},4761:(q,V,S)=>{"use strict";var M=S(6436),D=S(5772),F=S(7038),I=M.rotl32,o=M.sum32,h=M.sum32_5,c=F.ft_1,w=D.BlockHash,E=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;w.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e(d,"SHA1"),M.inherits(d,w),q.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=e(function(m,s){for(var b=this.W,l=0;l<16;l++)b[l]=m[s+l];for(;l<b.length;l++)b[l]=I(b[l-3]^b[l-8]^b[l-14]^b[l-16],1);var v=this.h[0],A=this.h[1],g=this.h[2],_=this.h[3],L=this.h[4];for(l=0;l<b.length;l++){var T=~~(l/20),O=h(I(v,5),c(T,A,g,_),L,b[l],E[T]);L=_,_=g,g=I(A,30),A=v,v=O}this.h[0]=o(this.h[0],v),this.h[1]=o(this.h[1],A),this.h[2]=o(this.h[2],g),this.h[3]=o(this.h[3],_),this.h[4]=o(this.h[4],L)},"_update"),d.prototype._digest=e(function(m){return m==="hex"?M.toHex32(this.h,"big"):M.split32(this.h,"big")},"digest")},799:(q,V,S)=>{"use strict";var M=S(6436),D=S(9344);function F(){if(!(this instanceof F))return new F;D.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e(F,"SHA224"),M.inherits(F,D),q.exports=F,F.blockSize=512,F.outSize=224,F.hmacStrength=192,F.padLength=64,F.prototype._digest=e(function(o){return o==="hex"?M.toHex32(this.h.slice(0,7),"big"):M.split32(this.h.slice(0,7),"big")},"digest")},9344:(q,V,S)=>{"use strict";var M=S(6436),D=S(5772),F=S(7038),I=S(9746),o=M.sum32,h=M.sum32_4,c=M.sum32_5,w=F.ch32,E=F.maj32,d=F.s0_256,i=F.s1_256,m=F.g0_256,s=F.g1_256,b=D.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 v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=l,this.W=new Array(64)}e(v,"SHA256"),M.inherits(v,b),q.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=e(function(g,_){for(var L=this.W,T=0;T<16;T++)L[T]=g[_+T];for(;T<L.length;T++)L[T]=h(s(L[T-2]),L[T-7],m(L[T-15]),L[T-16]);var O=this.h[0],W=this.h[1],G=this.h[2],Z=this.h[3],Q=this.h[4],re=this.h[5],te=this.h[6],$=this.h[7];for(I(this.k.length===L.length),T=0;T<L.length;T++){var x=c($,i(Q),w(Q,re,te),this.k[T],L[T]),t=o(d(O),E(O,W,G));$=te,te=re,re=Q,Q=o(Z,x),Z=G,G=W,W=O,O=o(x,t)}this.h[0]=o(this.h[0],O),this.h[1]=o(this.h[1],W),this.h[2]=o(this.h[2],G),this.h[3]=o(this.h[3],Z),this.h[4]=o(this.h[4],Q),this.h[5]=o(this.h[5],re),this.h[6]=o(this.h[6],te),this.h[7]=o(this.h[7],$)},"_update"),v.prototype._digest=e(function(g){return g==="hex"?M.toHex32(this.h,"big"):M.split32(this.h,"big")},"digest")},772:(q,V,S)=>{"use strict";var M=S(6436),D=S(5900);function F(){if(!(this instanceof F))return new F;D.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e(F,"SHA384"),M.inherits(F,D),q.exports=F,F.blockSize=1024,F.outSize=384,F.hmacStrength=192,F.padLength=128,F.prototype._digest=e(function(o){return o==="hex"?M.toHex32(this.h.slice(0,12),"big"):M.split32(this.h.slice(0,12),"big")},"digest")},5900:(q,V,S)=>{"use strict";var M=S(6436),D=S(5772),F=S(9746),I=M.rotr64_hi,o=M.rotr64_lo,h=M.shr64_hi,c=M.shr64_lo,w=M.sum64,E=M.sum64_hi,d=M.sum64_lo,i=M.sum64_4_hi,m=M.sum64_4_lo,s=M.sum64_5_hi,b=M.sum64_5_lo,l=D.BlockHash,v=[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 A(){if(!(this instanceof A))return new A;l.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}e(A,"SHA512"),M.inherits(A,l),q.exports=A,A.blockSize=1024,A.outSize=512,A.hmacStrength=192,A.padLength=128,A.prototype._prepareBlock=e(function(t,n){for(var u=this.W,p=0;p<32;p++)u[p]=t[n+p];for(;p<u.length;p+=2){var B=te(u[p-4],u[p-3]),k=$(u[p-4],u[p-3]),z=u[p-14],R=u[p-13],a=Q(u[p-30],u[p-29]),P=re(u[p-30],u[p-29]),ne=u[p-32],ae=u[p-31];u[p]=i(B,k,z,R,a,P,ne,ae),u[p+1]=m(B,k,z,R,a,P,ne,ae)}},"_prepareBlock"),A.prototype._update=e(function(t,n){this._prepareBlock(t,n);var u=this.W,p=this.h[0],B=this.h[1],k=this.h[2],z=this.h[3],R=this.h[4],a=this.h[5],P=this.h[6],ne=this.h[7],ae=this.h[8],oe=this.h[9],he=this.h[10],K=this.h[11],j=this.h[12],ee=this.h[13],ie=this.h[14],se=this.h[15];F(this.k.length===u.length);for(var U=0;U<u.length;U+=2){var N=ie,X=se,fe=G(ae,oe),ue=Z(ae,oe),de=g(ae,oe,he,K,j,ee),xe=_(ae,oe,he,K,j,ee),ge=this.k[U],le=this.k[U+1],Me=u[U],ye=u[U+1],pe=s(N,X,fe,ue,de,xe,ge,le,Me,ye),He=b(N,X,fe,ue,de,xe,ge,le,Me,ye);N=O(p,B),X=W(p,B),fe=L(p,B,k,z,R,a),ue=T(p,B,k,z,R,a);var y=E(N,X,fe,ue),r=d(N,X,fe,ue);ie=j,se=ee,j=he,ee=K,he=ae,K=oe,ae=E(P,ne,pe,He),oe=d(ne,ne,pe,He),P=R,ne=a,R=k,a=z,k=p,z=B,p=E(pe,He,y,r),B=d(pe,He,y,r)}w(this.h,0,p,B),w(this.h,2,k,z),w(this.h,4,R,a),w(this.h,6,P,ne),w(this.h,8,ae,oe),w(this.h,10,he,K),w(this.h,12,j,ee),w(this.h,14,ie,se)},"_update"),A.prototype._digest=e(function(t){return t==="hex"?M.toHex32(this.h,"big"):M.split32(this.h,"big")},"digest");function g(x,t,n,u,p){var B=x&n^~x&p;return B<0&&(B+=4294967296),B}e(g,"ch64_hi");function _(x,t,n,u,p,B){var k=t&u^~t&B;return k<0&&(k+=4294967296),k}e(_,"ch64_lo");function L(x,t,n,u,p){var B=x&n^x&p^n&p;return B<0&&(B+=4294967296),B}e(L,"maj64_hi");function T(x,t,n,u,p,B){var k=t&u^t&B^u&B;return k<0&&(k+=4294967296),k}e(T,"maj64_lo");function O(x,t){var n=I(x,t,28),u=I(t,x,2),p=I(t,x,7),B=n^u^p;return B<0&&(B+=4294967296),B}e(O,"s0_512_hi");function W(x,t){var n=o(x,t,28),u=o(t,x,2),p=o(t,x,7),B=n^u^p;return B<0&&(B+=4294967296),B}e(W,"s0_512_lo");function G(x,t){var n=I(x,t,14),u=I(x,t,18),p=I(t,x,9),B=n^u^p;return B<0&&(B+=4294967296),B}e(G,"s1_512_hi");function Z(x,t){var n=o(x,t,14),u=o(x,t,18),p=o(t,x,9),B=n^u^p;return B<0&&(B+=4294967296),B}e(Z,"s1_512_lo");function Q(x,t){var n=I(x,t,1),u=I(x,t,8),p=h(x,t,7),B=n^u^p;return B<0&&(B+=4294967296),B}e(Q,"g0_512_hi");function re(x,t){var n=o(x,t,1),u=o(x,t,8),p=c(x,t,7),B=n^u^p;return B<0&&(B+=4294967296),B}e(re,"g0_512_lo");function te(x,t){var n=I(x,t,19),u=I(t,x,29),p=h(x,t,6),B=n^u^p;return B<0&&(B+=4294967296),B}e(te,"g1_512_hi");function $(x,t){var n=o(x,t,19),u=o(t,x,29),p=c(x,t,6),B=n^u^p;return B<0&&(B+=4294967296),B}e($,"g1_512_lo")},7038:(q,V,S)=>{"use strict";var M=S(6436),D=M.rotr32;function F(i,m,s,b){if(i===0)return I(m,s,b);if(i===1||i===3)return h(m,s,b);if(i===2)return o(m,s,b)}e(F,"ft_1"),V.ft_1=F;function I(i,m,s){return i&m^~i&s}e(I,"ch32"),V.ch32=I;function o(i,m,s){return i&m^i&s^m&s}e(o,"maj32"),V.maj32=o;function h(i,m,s){return i^m^s}e(h,"p32"),V.p32=h;function c(i){return D(i,2)^D(i,13)^D(i,22)}e(c,"s0_256"),V.s0_256=c;function w(i){return D(i,6)^D(i,11)^D(i,25)}e(w,"s1_256"),V.s1_256=w;function E(i){return D(i,7)^D(i,18)^i>>>3}e(E,"g0_256"),V.g0_256=E;function d(i){return D(i,17)^D(i,19)^i>>>10}e(d,"g1_256"),V.g1_256=d},6436:(q,V,S)=>{"use strict";var M=S(9746),D=S(5717);V.inherits=D;function F($,x){return($.charCodeAt(x)&64512)!==55296||x<0||x+1>=$.length?!1:($.charCodeAt(x+1)&64512)===56320}e(F,"isSurrogatePair");function I($,x){if(Array.isArray($))return $.slice();if(!$)return[];var t=[];if(typeof $=="string")if(x){if(x==="hex")for($=$.replace(/[^a-z0-9]+/ig,""),$.length%2!==0&&($="0"+$),u=0;u<$.length;u+=2)t.push(parseInt($[u]+$[u+1],16))}else for(var n=0,u=0;u<$.length;u++){var p=$.charCodeAt(u);p<128?t[n++]=p:p<2048?(t[n++]=p>>6|192,t[n++]=p&63|128):F($,u)?(p=65536+((p&1023)<<10)+($.charCodeAt(++u)&1023),t[n++]=p>>18|240,t[n++]=p>>12&63|128,t[n++]=p>>6&63|128,t[n++]=p&63|128):(t[n++]=p>>12|224,t[n++]=p>>6&63|128,t[n++]=p&63|128)}else for(u=0;u<$.length;u++)t[u]=$[u]|0;return t}e(I,"toArray"),V.toArray=I;function o($){for(var x="",t=0;t<$.length;t++)x+=w($[t].toString(16));return x}e(o,"toHex"),V.toHex=o;function h($){var x=$>>>24|$>>>8&65280|$<<8&16711680|($&255)<<24;return x>>>0}e(h,"htonl"),V.htonl=h;function c($,x){for(var t="",n=0;n<$.length;n++){var u=$[n];x==="little"&&(u=h(u)),t+=E(u.toString(16))}return t}e(c,"toHex32"),V.toHex32=c;function w($){return $.length===1?"0"+$:$}e(w,"zero2"),V.zero2=w;function E($){return $.length===7?"0"+$:$.length===6?"00"+$:$.length===5?"000"+$:$.length===4?"0000"+$:$.length===3?"00000"+$:$.length===2?"000000"+$:$.length===1?"0000000"+$:$}e(E,"zero8"),V.zero8=E;function d($,x,t,n){var u=t-x;M(u%4===0);for(var p=new Array(u/4),B=0,k=x;B<p.length;B++,k+=4){var z;n==="big"?z=$[k]<<24|$[k+1]<<16|$[k+2]<<8|$[k+3]:z=$[k+3]<<24|$[k+2]<<16|$[k+1]<<8|$[k],p[B]=z>>>0}return p}e(d,"join32"),V.join32=d;function i($,x){for(var t=new Array($.length*4),n=0,u=0;n<$.length;n++,u+=4){var p=$[n];x==="big"?(t[u]=p>>>24,t[u+1]=p>>>16&255,t[u+2]=p>>>8&255,t[u+3]=p&255):(t[u+3]=p>>>24,t[u+2]=p>>>16&255,t[u+1]=p>>>8&255,t[u]=p&255)}return t}e(i,"split32"),V.split32=i;function m($,x){return $>>>x|$<<32-x}e(m,"rotr32"),V.rotr32=m;function s($,x){return $<<x|$>>>32-x}e(s,"rotl32"),V.rotl32=s;function b($,x){return $+x>>>0}e(b,"sum32"),V.sum32=b;function l($,x,t){return $+x+t>>>0}e(l,"sum32_3"),V.sum32_3=l;function v($,x,t,n){return $+x+t+n>>>0}e(v,"sum32_4"),V.sum32_4=v;function A($,x,t,n,u){return $+x+t+n+u>>>0}e(A,"sum32_5"),V.sum32_5=A;function g($,x,t,n){var u=$[x],p=$[x+1],B=n+p>>>0,k=(B<n?1:0)+t+u;$[x]=k>>>0,$[x+1]=B}e(g,"sum64"),V.sum64=g;function _($,x,t,n){var u=x+n>>>0,p=(u<x?1:0)+$+t;return p>>>0}e(_,"sum64_hi"),V.sum64_hi=_;function L($,x,t,n){var u=x+n;return u>>>0}e(L,"sum64_lo"),V.sum64_lo=L;function T($,x,t,n,u,p,B,k){var z=0,R=x;R=R+n>>>0,z+=R<x?1:0,R=R+p>>>0,z+=R<p?1:0,R=R+k>>>0,z+=R<k?1:0;var a=$+t+u+B+z;return a>>>0}e(T,"sum64_4_hi"),V.sum64_4_hi=T;function O($,x,t,n,u,p,B,k){var z=x+n+p+k;return z>>>0}e(O,"sum64_4_lo"),V.sum64_4_lo=O;function W($,x,t,n,u,p,B,k,z,R){var a=0,P=x;P=P+n>>>0,a+=P<x?1:0,P=P+p>>>0,a+=P<p?1:0,P=P+k>>>0,a+=P<k?1:0,P=P+R>>>0,a+=P<R?1:0;var ne=$+t+u+B+z+a;return ne>>>0}e(W,"sum64_5_hi"),V.sum64_5_hi=W;function G($,x,t,n,u,p,B,k,z,R){var a=x+n+p+k+R;return a>>>0}e(G,"sum64_5_lo"),V.sum64_5_lo=G;function Z($,x,t){var n=x<<32-t|$>>>t;return n>>>0}e(Z,"rotr64_hi"),V.rotr64_hi=Z;function Q($,x,t){var n=$<<32-t|x>>>t;return n>>>0}e(Q,"rotr64_lo"),V.rotr64_lo=Q;function re($,x,t){return $>>>t}e(re,"shr64_hi"),V.shr64_hi=re;function te($,x,t){var n=$<<32-t|x>>>t;return n>>>0}e(te,"shr64_lo"),V.shr64_lo=te},2156:(q,V,S)=>{"use strict";var M=S(3715),D=S(4504),F=S(9746);function I(o){if(!(this instanceof I))return new I(o);this.hash=o.hash,this.predResist=!!o.predResist,this.outLen=this.hash.outSize,this.minEntropy=o.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var h=D.toArray(o.entropy,o.entropyEnc||"hex"),c=D.toArray(o.nonce,o.nonceEnc||"hex"),w=D.toArray(o.pers,o.persEnc||"hex");F(h.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(h,c,w)}e(I,"HmacDRBG"),q.exports=I,I.prototype._init=e(function(h,c,w){var E=h.concat(c).concat(w);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var d=0;d<this.V.length;d++)this.K[d]=0,this.V[d]=1;this._update(E),this._reseed=1,this.reseedInterval=281474976710656},"init"),I.prototype._hmac=e(function(){return new M.hmac(this.hash,this.K)},"hmac"),I.prototype._update=e(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"),I.prototype.reseed=e(function(h,c,w,E){typeof c!="string"&&(E=w,w=c,c=null),h=D.toArray(h,c),w=D.toArray(w,E),F(h.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(h.concat(w||[])),this._reseed=1},"reseed"),I.prototype.generate=e(function(h,c,w,E){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof c!="string"&&(E=w,w=c,c=null),w&&(w=D.toArray(w,E||"hex"),this._update(w));for(var d=[];d.length<h;)this.V=this._hmac().update(this.V).digest(),d=d.concat(this.V);var i=d.slice(0,h);return this._update(w),this._reseed++,D.encode(i,c)},"generate")},645:(q,V)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */V.read=function(S,M,D,F,I){var o,h,c=I*8-F-1,w=(1<<c)-1,E=w>>1,d=-7,i=D?I-1:0,m=D?-1:1,s=S[M+i];for(i+=m,o=s&(1<<-d)-1,s>>=-d,d+=c;d>0;o=o*256+S[M+i],i+=m,d-=8);for(h=o&(1<<-d)-1,o>>=-d,d+=F;d>0;h=h*256+S[M+i],i+=m,d-=8);if(o===0)o=1-E;else{if(o===w)return h?NaN:(s?-1:1)*(1/0);h=h+Math.pow(2,F),o=o-E}return(s?-1:1)*h*Math.pow(2,o-F)},V.write=function(S,M,D,F,I,o){var h,c,w,E=o*8-I-1,d=(1<<E)-1,i=d>>1,m=I===23?Math.pow(2,-24)-Math.pow(2,-77):0,s=F?0:o-1,b=F?1:-1,l=M<0||M===0&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(c=isNaN(M)?1:0,h=d):(h=Math.floor(Math.log(M)/Math.LN2),M*(w=Math.pow(2,-h))<1&&(h--,w*=2),h+i>=1?M+=m/w:M+=m*Math.pow(2,1-i),M*w>=2&&(h++,w/=2),h+i>=d?(c=0,h=d):h+i>=1?(c=(M*w-1)*Math.pow(2,I),h=h+i):(c=M*Math.pow(2,i-1)*Math.pow(2,I),h=0));I>=8;S[D+s]=c&255,s+=b,c/=256,I-=8);for(h=h<<I|c,E+=I;E>0;S[D+s]=h&255,s+=b,h/=256,E-=8);S[D+s-b]|=l*128}},5717:q=>{typeof Object.create=="function"?q.exports=e(function(S,M){M&&(S.super_=M,S.prototype=Object.create(M.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):q.exports=e(function(S,M){if(M){S.super_=M;var D=e(function(){},"TempCtor");D.prototype=M.prototype,S.prototype=new D,S.prototype.constructor=S}},"inherits")},2318:(q,V,S)=>{"use strict";var M=S(5717),D=S(3349),F=S(9509).Buffer,I=new Array(16);function o(){D.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}e(o,"MD5"),M(o,D),o.prototype._update=function(){for(var i=I,m=0;m<16;++m)i[m]=this._block.readInt32LE(m*4);var s=this._a,b=this._b,l=this._c,v=this._d;s=c(s,b,l,v,i[0],3614090360,7),v=c(v,s,b,l,i[1],3905402710,12),l=c(l,v,s,b,i[2],606105819,17),b=c(b,l,v,s,i[3],3250441966,22),s=c(s,b,l,v,i[4],4118548399,7),v=c(v,s,b,l,i[5],1200080426,12),l=c(l,v,s,b,i[6],2821735955,17),b=c(b,l,v,s,i[7],4249261313,22),s=c(s,b,l,v,i[8],1770035416,7),v=c(v,s,b,l,i[9],2336552879,12),l=c(l,v,s,b,i[10],4294925233,17),b=c(b,l,v,s,i[11],2304563134,22),s=c(s,b,l,v,i[12],1804603682,7),v=c(v,s,b,l,i[13],4254626195,12),l=c(l,v,s,b,i[14],2792965006,17),b=c(b,l,v,s,i[15],1236535329,22),s=w(s,b,l,v,i[1],4129170786,5),v=w(v,s,b,l,i[6],3225465664,9),l=w(l,v,s,b,i[11],643717713,14),b=w(b,l,v,s,i[0],3921069994,20),s=w(s,b,l,v,i[5],3593408605,5),v=w(v,s,b,l,i[10],38016083,9),l=w(l,v,s,b,i[15],3634488961,14),b=w(b,l,v,s,i[4],3889429448,20),s=w(s,b,l,v,i[9],568446438,5),v=w(v,s,b,l,i[14],3275163606,9),l=w(l,v,s,b,i[3],4107603335,14),b=w(b,l,v,s,i[8],1163531501,20),s=w(s,b,l,v,i[13],2850285829,5),v=w(v,s,b,l,i[2],4243563512,9),l=w(l,v,s,b,i[7],1735328473,14),b=w(b,l,v,s,i[12],2368359562,20),s=E(s,b,l,v,i[5],4294588738,4),v=E(v,s,b,l,i[8],2272392833,11),l=E(l,v,s,b,i[11],1839030562,16),b=E(b,l,v,s,i[14],4259657740,23),s=E(s,b,l,v,i[1],2763975236,4),v=E(v,s,b,l,i[4],1272893353,11),l=E(l,v,s,b,i[7],4139469664,16),b=E(b,l,v,s,i[10],3200236656,23),s=E(s,b,l,v,i[13],681279174,4),v=E(v,s,b,l,i[0],3936430074,11),l=E(l,v,s,b,i[3],3572445317,16),b=E(b,l,v,s,i[6],76029189,23),s=E(s,b,l,v,i[9],3654602809,4),v=E(v,s,b,l,i[12],3873151461,11),l=E(l,v,s,b,i[15],530742520,16),b=E(b,l,v,s,i[2],3299628645,23),s=d(s,b,l,v,i[0],4096336452,6),v=d(v,s,b,l,i[7],1126891415,10),l=d(l,v,s,b,i[14],2878612391,15),b=d(b,l,v,s,i[5],4237533241,21),s=d(s,b,l,v,i[12],1700485571,6),v=d(v,s,b,l,i[3],2399980690,10),l=d(l,v,s,b,i[10],4293915773,15),b=d(b,l,v,s,i[1],2240044497,21),s=d(s,b,l,v,i[8],1873313359,6),v=d(v,s,b,l,i[15],4264355552,10),l=d(l,v,s,b,i[6],2734768916,15),b=d(b,l,v,s,i[13],1309151649,21),s=d(s,b,l,v,i[4],4149444226,6),v=d(v,s,b,l,i[11],3174756917,10),l=d(l,v,s,b,i[2],718787259,15),b=d(b,l,v,s,i[9],3951481745,21),this._a=this._a+s|0,this._b=this._b+b|0,this._c=this._c+l|0,this._d=this._d+v|0},o.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 i=F.allocUnsafe(16);return i.writeInt32LE(this._a,0),i.writeInt32LE(this._b,4),i.writeInt32LE(this._c,8),i.writeInt32LE(this._d,12),i};function h(i,m){return i<<m|i>>>32-m}e(h,"rotl");function c(i,m,s,b,l,v,A){return h(i+(m&s|~m&b)+l+v|0,A)+m|0}e(c,"fnF");function w(i,m,s,b,l,v,A){return h(i+(m&b|s&~b)+l+v|0,A)+m|0}e(w,"fnG");function E(i,m,s,b,l,v,A){return h(i+(m^s^b)+l+v|0,A)+m|0}e(E,"fnH");function d(i,m,s,b,l,v,A){return h(i+(s^(m|~b))+l+v|0,A)+m|0}e(d,"fnI"),q.exports=o},9746:q=>{q.exports=V;function V(S,M){if(!S)throw new Error(M||"Assertion failed")}e(V,"assert"),V.equal=e(function(M,D,F){if(M!=D)throw new Error(F||"Assertion failed: "+M+" != "+D)},"assertEqual")},4504:(q,V)=>{"use strict";var S=V;function M(I,o){if(Array.isArray(I))return I.slice();if(!I)return[];var h=[];if(typeof I!="string"){for(var c=0;c<I.length;c++)h[c]=I[c]|0;return h}if(o==="hex"){I=I.replace(/[^a-z0-9]+/ig,""),I.length%2!==0&&(I="0"+I);for(var c=0;c<I.length;c+=2)h.push(parseInt(I[c]+I[c+1],16))}else for(var c=0;c<I.length;c++){var w=I.charCodeAt(c),E=w>>8,d=w&255;E?h.push(E,d):h.push(d)}return h}e(M,"toArray"),S.toArray=M;function D(I){return I.length===1?"0"+I:I}e(D,"zero2"),S.zero2=D;function F(I){for(var o="",h=0;h<I.length;h++)o+=D(I[h].toString(16));return o}e(F,"toHex"),S.toHex=F,S.encode=e(function(o,h){return h==="hex"?F(o):o},"encode")},5632:(q,V,S)=>{V.pbkdf2=S(8638),V.pbkdf2Sync=S(1257)},8638:(q,V,S)=>{var M=S(9509).Buffer,D=S(7357),F=S(2368),I=S(1257),o=S(7777),h,c=S.g.crypto&&S.g.crypto.subtle,w={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"},E=[];function d(l){if(S.g.process&&!S.g.process.browser||!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(E[l]!==void 0)return E[l];h=h||M.alloc(8);var v=s(h,h,10,128,l).then(function(){return!0}).catch(function(){return!1});return E[l]=v,v}e(d,"checkNative");var i;function m(){return i||(S.g.process&&S.g.process.nextTick?i=S.g.process.nextTick:S.g.queueMicrotask?i=S.g.queueMicrotask:S.g.setImmediate?i=S.g.setImmediate:i=S.g.setTimeout,i)}e(m,"getNextTick");function s(l,v,A,g,_){return c.importKey("raw",l,{name:"PBKDF2"},!1,["deriveBits"]).then(function(L){return c.deriveBits({name:"PBKDF2",salt:v,iterations:A,hash:{name:_}},L,g<<3)}).then(function(L){return M.from(L)})}e(s,"browserPbkdf2");function b(l,v){l.then(function(A){m()(function(){v(null,A)})},function(A){m()(function(){v(A)})})}e(b,"resolvePromise"),q.exports=function(l,v,A,g,_,L){typeof _=="function"&&(L=_,_=void 0),_=_||"sha1";var T=w[_.toLowerCase()];if(!T||typeof S.g.Promise!="function"){m()(function(){var O;try{O=I(l,v,A,g,_)}catch(W){return L(W)}L(null,O)});return}if(D(A,g),l=o(l,F,"Password"),v=o(v,F,"Salt"),typeof L!="function")throw new Error("No callback provided to pbkdf2");b(d(T).then(function(O){return O?s(l,v,A,g,T):I(l,v,A,g,_)}),L)}},2368:(q,V,S)=>{var M=S(4155),D;if(S.g.process&&S.g.process.browser)D="utf-8";else if(S.g.process&&S.g.process.version){var F=parseInt(M.version.split(".")[0].slice(1),10);D=F>=6?"utf-8":"binary"}else D="utf-8";q.exports=D},7357:q=>{var V=Math.pow(2,30)-1;q.exports=function(S,M){if(typeof S!="number")throw new TypeError("Iterations not a number");if(S<0)throw new TypeError("Bad iterations");if(typeof M!="number")throw new TypeError("Key length not a number");if(M<0||M>V||M!==M)throw new TypeError("Bad key length")}},1257:(q,V,S)=>{var M=S(8028),D=S(9785),F=S(9072),I=S(9509).Buffer,o=S(7357),h=S(2368),c=S(7777),w=I.alloc(128),E={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(s,b,l){var v=i(s),A=s==="sha512"||s==="sha384"?128:64;b.length>A?b=v(b):b.length<A&&(b=I.concat([b,w],A));for(var g=I.allocUnsafe(A+E[s]),_=I.allocUnsafe(A+E[s]),L=0;L<A;L++)g[L]=b[L]^54,_[L]=b[L]^92;var T=I.allocUnsafe(A+l+4);g.copy(T,0,0,A),this.ipad1=T,this.ipad2=g,this.opad=_,this.alg=s,this.blocksize=A,this.hash=v,this.size=E[s]}e(d,"Hmac"),d.prototype.run=function(s,b){s.copy(b,this.blocksize);var l=this.hash(b);return l.copy(this.opad,this.blocksize),this.hash(this.opad)};function i(s){function b(v){return F(s).update(v).digest()}e(b,"shaFunc");function l(v){return new D().update(v).digest()}return e(l,"rmd160Func"),s==="rmd160"||s==="ripemd160"?l:s==="md5"?M:b}e(i,"getDigest");function m(s,b,l,v,A){o(l,v),s=c(s,h,"Password"),b=c(b,h,"Salt"),A=A||"sha1";var g=new d(A,s,b.length),_=I.allocUnsafe(v),L=I.allocUnsafe(b.length+4);b.copy(L,0,0,b.length);for(var T=0,O=E[A],W=Math.ceil(v/O),G=1;G<=W;G++){L.writeUInt32BE(G,b.length);for(var Z=g.run(L,g.ipad1),Q=Z,re=1;re<l;re++){Q=g.run(Q,g.ipad2);for(var te=0;te<O;te++)Z[te]^=Q[te]}Z.copy(_,T),T+=O}return _}e(m,"pbkdf2"),q.exports=m},7777:(q,V,S)=>{var M=S(9509).Buffer;q.exports=function(D,F,I){if(M.isBuffer(D))return D;if(typeof D=="string")return M.from(D,F);if(ArrayBuffer.isView(D))return M.from(D.buffer);throw new TypeError(I+" must be a string, a Buffer, a typed array or a DataView")}},4155:q=>{var V=q.exports={},S,M;function D(){throw new Error("setTimeout has not been defined")}e(D,"defaultSetTimout");function F(){throw new Error("clearTimeout has not been defined")}e(F,"defaultClearTimeout"),function(){try{typeof setTimeout=="function"?S=setTimeout:S=D}catch{S=D}try{typeof clearTimeout=="function"?M=clearTimeout:M=F}catch{M=F}}();function I(b){if(S===setTimeout)return setTimeout(b,0);if((S===D||!S)&&setTimeout)return S=setTimeout,setTimeout(b,0);try{return S(b,0)}catch{try{return S.call(null,b,0)}catch{return S.call(this,b,0)}}}e(I,"runTimeout");function o(b){if(M===clearTimeout)return clearTimeout(b);if((M===F||!M)&&clearTimeout)return M=clearTimeout,clearTimeout(b);try{return M(b)}catch{try{return M.call(null,b)}catch{return M.call(this,b)}}}e(o,"runClearTimeout");var h=[],c=!1,w,E=-1;function d(){!c||!w||(c=!1,w.length?h=w.concat(h):E=-1,h.length&&i())}e(d,"cleanUpNextTick");function i(){if(!c){var b=I(d);c=!0;for(var l=h.length;l;){for(w=h,h=[];++E<l;)w&&w[E].run();E=-1,l=h.length}w=null,c=!1,o(b)}}e(i,"drainQueue"),V.nextTick=function(b){var l=new Array(arguments.length-1);if(arguments.length>1)for(var v=1;v<arguments.length;v++)l[v-1]=arguments[v];h.push(new m(b,l)),h.length===1&&!c&&I(i)};function m(b,l){this.fun=b,this.array=l}e(m,"Item"),m.prototype.run=function(){this.fun.apply(null,this.array)},V.title="browser",V.browser=!0,V.env={},V.argv=[],V.version="",V.versions={};function s(){}e(s,"noop"),V.on=s,V.addListener=s,V.once=s,V.off=s,V.removeListener=s,V.removeAllListeners=s,V.emit=s,V.prependListener=s,V.prependOnceListener=s,V.listeners=function(b){return[]},V.binding=function(b){throw new Error("process.binding is not supported")},V.cwd=function(){return"/"},V.chdir=function(b){throw new Error("process.chdir is not supported")},V.umask=function(){return 0}},1798:(q,V,S)=>{"use strict";var M=S(4155),D=65536,F=4294967295;function I(){throw new Error(`Secure random number generation is not supported by this browser.
7
+ Use Chrome, Firefox or Internet Explorer 11`)}e(I,"oldBrowser");var o=S(9509).Buffer,h=S.g.crypto||S.g.msCrypto;h&&h.getRandomValues?q.exports=c:q.exports=I;function c(w,E){if(w>F)throw new RangeError("requested too many random bytes");var d=o.allocUnsafe(w);if(w>0)if(w>D)for(var i=0;i<w;i+=D)h.getRandomValues(d.slice(i,i+D));else h.getRandomValues(d);return typeof E=="function"?M.nextTick(function(){E(null,d)}):d}e(c,"randomBytes")},4281:q=>{"use strict";function V(h,c){h.prototype=Object.create(c.prototype),h.prototype.constructor=h,h.__proto__=c}e(V,"_inheritsLoose");var S={};function M(h,c,w){w||(w=Error);function E(i,m,s){return typeof c=="string"?c:c(i,m,s)}e(E,"getMessage");var d=function(i){V(m,i);function m(s,b,l){return i.call(this,E(s,b,l))||this}return e(m,"NodeError"),m}(w);d.prototype.name=w.name,d.prototype.code=h,S[h]=d}e(M,"createErrorType");function D(h,c){if(Array.isArray(h)){var w=h.length;return h=h.map(function(E){return String(E)}),w>2?"one of ".concat(c," ").concat(h.slice(0,w-1).join(", "),", or ")+h[w-1]:w===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))}e(D,"oneOf");function F(h,c,w){return h.substr(!w||w<0?0:+w,c.length)===c}e(F,"startsWith");function I(h,c,w){return(w===void 0||w>h.length)&&(w=h.length),h.substring(w-c.length,w)===c}e(I,"endsWith");function o(h,c,w){return typeof w!="number"&&(w=0),w+c.length>h.length?!1:h.indexOf(c,w)!==-1}e(o,"includes"),M("ERR_INVALID_OPT_VALUE",function(h,c){return'The value "'+c+'" is invalid for option "'+h+'"'},TypeError),M("ERR_INVALID_ARG_TYPE",function(h,c,w){var E;typeof c=="string"&&F(c,"not ")?(E="must not be",c=c.replace(/^not /,"")):E="must be";var d;if(I(h," argument"))d="The ".concat(h," ").concat(E," ").concat(D(c,"type"));else{var i=o(h,".")?"property":"argument";d='The "'.concat(h,'" ').concat(i," ").concat(E," ").concat(D(c,"type"))}return d+=". Received type ".concat(typeof w),d},TypeError),M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),M("ERR_METHOD_NOT_IMPLEMENTED",function(h){return"The "+h+" method is not implemented"}),M("ERR_STREAM_PREMATURE_CLOSE","Premature close"),M("ERR_STREAM_DESTROYED",function(h){return"Cannot call "+h+" after a stream was destroyed"}),M("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),M("ERR_STREAM_WRITE_AFTER_END","write after end"),M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),M("ERR_UNKNOWN_ENCODING",function(h){return"Unknown encoding: "+h},TypeError),M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),q.exports.q=S},6753:(q,V,S)=>{"use strict";var M=S(4155),D=Object.keys||function(i){var m=[];for(var s in i)m.push(s);return m};q.exports=w;var F=S(9481),I=S(4229);S(5717)(w,F);for(var o=D(I.prototype),h=0;h<o.length;h++){var c=o[h];w.prototype[c]||(w.prototype[c]=I.prototype[c])}function w(i){if(!(this instanceof w))return new w(i);F.call(this,i),I.call(this,i),this.allowHalfOpen=!0,i&&(i.readable===!1&&(this.readable=!1),i.writable===!1&&(this.writable=!1),i.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",E)))}e(w,"Duplex"),Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:e(function(){return this._writableState.highWaterMark},"get")}),Object.defineProperty(w.prototype,"writableBuffer",{enumerable:!1,get:e(function(){return this._writableState&&this._writableState.getBuffer()},"get")}),Object.defineProperty(w.prototype,"writableLength",{enumerable:!1,get:e(function(){return this._writableState.length},"get")});function E(){this._writableState.ended||M.nextTick(d,this)}e(E,"onend");function d(i){i.end()}e(d,"onEndNT"),Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:e(function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},"get"),set:e(function(m){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=m,this._writableState.destroyed=m)},"set")})},2725:(q,V,S)=>{"use strict";q.exports=D;var M=S(4605);S(5717)(D,M);function D(F){if(!(this instanceof D))return new D(F);M.call(this,F)}e(D,"PassThrough"),D.prototype._transform=function(F,I,o){o(null,F)}},9481:(q,V,S)=>{"use strict";var M=S(4155);q.exports=te;var D;te.ReadableState=re;var F=S(7187).EventEmitter,I=e(function(N,X){return N.listeners(X).length},"EElistenerCount"),o=S(2503),h=S(8764).Buffer,c=(typeof S.g<"u"?S.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function w(U){return h.from(U)}e(w,"_uint8ArrayToBuffer");function E(U){return h.isBuffer(U)||U instanceof c}e(E,"_isUint8Array");var d=S(4616),i;d&&d.debuglog?i=d.debuglog("stream"):i=e(function(){},"debug");var m=S(7327),s=S(1195),b=S(2457),l=b.getHighWaterMark,v=S(4281).q,A=v.ERR_INVALID_ARG_TYPE,g=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,L=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,T,O,W;S(5717)(te,o);var G=s.errorOrDestroy,Z=["error","close","destroy","pause","resume"];function Q(U,N,X){if(typeof U.prependListener=="function")return U.prependListener(N,X);!U._events||!U._events[N]?U.on(N,X):Array.isArray(U._events[N])?U._events[N].unshift(X):U._events[N]=[X,U._events[N]]}e(Q,"prependListener");function re(U,N,X){D=D||S(6753),U=U||{},typeof X!="boolean"&&(X=N instanceof D),this.objectMode=!!U.objectMode,X&&(this.objectMode=this.objectMode||!!U.readableObjectMode),this.highWaterMark=l(this,U,"readableHighWaterMark",X),this.buffer=new m,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=U.emitClose!==!1,this.autoDestroy=!!U.autoDestroy,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(T||(T=S(2553).s),this.decoder=new T(U.encoding),this.encoding=U.encoding)}e(re,"ReadableState");function te(U){if(D=D||S(6753),!(this instanceof te))return new te(U);var N=this instanceof D;this._readableState=new re(U,this,N),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),o.call(this)}e(te,"Readable"),Object.defineProperty(te.prototype,"destroyed",{enumerable:!1,get:e(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:e(function(N){this._readableState&&(this._readableState.destroyed=N)},"set")}),te.prototype.destroy=s.destroy,te.prototype._undestroy=s.undestroy,te.prototype._destroy=function(U,N){N(U)},te.prototype.push=function(U,N){var X=this._readableState,fe;return X.objectMode?fe=!0:typeof U=="string"&&(N=N||X.defaultEncoding,N!==X.encoding&&(U=h.from(U,N),N=""),fe=!0),$(this,U,N,!1,fe)},te.prototype.unshift=function(U){return $(this,U,null,!0,!1)};function $(U,N,X,fe,ue){i("readableAddChunk",N);var de=U._readableState;if(N===null)de.reading=!1,B(U,de);else{var xe;if(ue||(xe=t(de,N)),xe)G(U,xe);else if(de.objectMode||N&&N.length>0)if(typeof N!="string"&&!de.objectMode&&Object.getPrototypeOf(N)!==h.prototype&&(N=w(N)),fe)de.endEmitted?G(U,new L):x(U,de,N,!0);else if(de.ended)G(U,new g);else{if(de.destroyed)return!1;de.reading=!1,de.decoder&&!X?(N=de.decoder.write(N),de.objectMode||N.length!==0?x(U,de,N,!1):R(U,de)):x(U,de,N,!1)}else fe||(de.reading=!1,R(U,de))}return!de.ended&&(de.length<de.highWaterMark||de.length===0)}e($,"readableAddChunk");function x(U,N,X,fe){N.flowing&&N.length===0&&!N.sync?(N.awaitDrain=0,U.emit("data",X)):(N.length+=N.objectMode?1:X.length,fe?N.buffer.unshift(X):N.buffer.push(X),N.needReadable&&k(U)),R(U,N)}e(x,"addChunk");function t(U,N){var X;return!E(N)&&typeof N!="string"&&N!==void 0&&!U.objectMode&&(X=new A("chunk",["string","Buffer","Uint8Array"],N)),X}e(t,"chunkInvalid"),te.prototype.isPaused=function(){return this._readableState.flowing===!1},te.prototype.setEncoding=function(U){T||(T=S(2553).s);var N=new T(U);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,fe="";X!==null;)fe+=N.write(X.data),X=X.next;return this._readableState.buffer.clear(),fe!==""&&this._readableState.buffer.push(fe),this._readableState.length=fe.length,this};var n=1073741824;function u(U){return U>=n?U=n:(U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++),U}e(u,"computeNewHighWaterMark");function p(U,N){return U<=0||N.length===0&&N.ended?0:N.objectMode?1:U!==U?N.flowing&&N.length?N.buffer.head.data.length:N.length:(U>N.highWaterMark&&(N.highWaterMark=u(U)),U<=N.length?U:N.ended?N.length:(N.needReadable=!0,0))}e(p,"howMuchToRead"),te.prototype.read=function(U){i("read",U),U=parseInt(U,10);var N=this._readableState,X=U;if(U!==0&&(N.emittedReadable=!1),U===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return i("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?ee(this):k(this),null;if(U=p(U,N),U===0&&N.ended)return N.length===0&&ee(this),null;var fe=N.needReadable;i("need readable",fe),(N.length===0||N.length-U<N.highWaterMark)&&(fe=!0,i("length less than watermark",fe)),N.ended||N.reading?(fe=!1,i("reading or ended",fe)):fe&&(i("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(U=p(X,N)));var ue;return U>0?ue=j(U,N):ue=null,ue===null?(N.needReadable=N.length<=N.highWaterMark,U=0):(N.length-=U,N.awaitDrain=0),N.length===0&&(N.ended||(N.needReadable=!0),X!==U&&N.ended&&ee(this)),ue!==null&&this.emit("data",ue),ue};function B(U,N){if(i("onEofChunk"),!N.ended){if(N.decoder){var X=N.decoder.end();X&&X.length&&(N.buffer.push(X),N.length+=N.objectMode?1:X.length)}N.ended=!0,N.sync?k(U):(N.needReadable=!1,N.emittedReadable||(N.emittedReadable=!0,z(U)))}}e(B,"onEofChunk");function k(U){var N=U._readableState;i("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(i("emitReadable",N.flowing),N.emittedReadable=!0,M.nextTick(z,U))}e(k,"emitReadable");function z(U){var N=U._readableState;i("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&(N.length||N.ended)&&(U.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,K(U)}e(z,"emitReadable_");function R(U,N){N.readingMore||(N.readingMore=!0,M.nextTick(a,U,N))}e(R,"maybeReadMore");function a(U,N){for(;!N.reading&&!N.ended&&(N.length<N.highWaterMark||N.flowing&&N.length===0);){var X=N.length;if(i("maybeReadMore read 0"),U.read(0),X===N.length)break}N.readingMore=!1}e(a,"maybeReadMore_"),te.prototype._read=function(U){G(this,new _("_read()"))},te.prototype.pipe=function(U,N){var X=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=U;break;case 1:fe.pipes=[fe.pipes,U];break;default:fe.pipes.push(U);break}fe.pipesCount+=1,i("pipe count=%d opts=%j",fe.pipesCount,N);var ue=(!N||N.end!==!1)&&U!==M.stdout&&U!==M.stderr,de=ue?ge:f;fe.endEmitted?M.nextTick(de):X.once("end",de),U.on("unpipe",xe);function xe(C,H){i("onunpipe"),C===X&&H&&H.hasUnpiped===!1&&(H.hasUnpiped=!0,ye())}e(xe,"onunpipe");function ge(){i("onend"),U.end()}e(ge,"onend");var le=P(X);U.on("drain",le);var Me=!1;function ye(){i("cleanup"),U.removeListener("close",y),U.removeListener("finish",r),U.removeListener("drain",le),U.removeListener("error",He),U.removeListener("unpipe",xe),X.removeListener("end",ge),X.removeListener("end",f),X.removeListener("data",pe),Me=!0,fe.awaitDrain&&(!U._writableState||U._writableState.needDrain)&&le()}e(ye,"cleanup"),X.on("data",pe);function pe(C){i("ondata");var H=U.write(C);i("dest.write",H),H===!1&&((fe.pipesCount===1&&fe.pipes===U||fe.pipesCount>1&&se(fe.pipes,U)!==-1)&&!Me&&(i("false write response, pause",fe.awaitDrain),fe.awaitDrain++),X.pause())}e(pe,"ondata");function He(C){i("onerror",C),f(),U.removeListener("error",He),I(U,"error")===0&&G(U,C)}e(He,"onerror"),Q(U,"error",He);function y(){U.removeListener("finish",r),f()}e(y,"onclose"),U.once("close",y);function r(){i("onfinish"),U.removeListener("close",y),f()}e(r,"onfinish"),U.once("finish",r);function f(){i("unpipe"),X.unpipe(U)}return e(f,"unpipe"),U.emit("pipe",X),fe.flowing||(i("pipe resume"),X.resume()),U};function P(U){return e(function(){var X=U._readableState;i("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,X.awaitDrain===0&&I(U,"data")&&(X.flowing=!0,K(U))},"pipeOnDrainFunctionResult")}e(P,"pipeOnDrain"),te.prototype.unpipe=function(U){var N=this._readableState,X={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return U&&U!==N.pipes?this:(U||(U=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,U&&U.emit("unpipe",this,X),this);if(!U){var fe=N.pipes,ue=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var de=0;de<ue;de++)fe[de].emit("unpipe",this,{hasUnpiped:!1});return this}var xe=se(N.pipes,U);return xe===-1?this:(N.pipes.splice(xe,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),U.emit("unpipe",this,X),this)},te.prototype.on=function(U,N){var X=o.prototype.on.call(this,U,N),fe=this._readableState;return U==="data"?(fe.readableListening=this.listenerCount("readable")>0,fe.flowing!==!1&&this.resume()):U==="readable"&&!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.flowing=!1,fe.emittedReadable=!1,i("on readable",fe.length,fe.reading),fe.length?k(this):fe.reading||M.nextTick(ae,this)),X},te.prototype.addListener=te.prototype.on,te.prototype.removeListener=function(U,N){var X=o.prototype.removeListener.call(this,U,N);return U==="readable"&&M.nextTick(ne,this),X},te.prototype.removeAllListeners=function(U){var N=o.prototype.removeAllListeners.apply(this,arguments);return(U==="readable"||U===void 0)&&M.nextTick(ne,this),N};function ne(U){var N=U._readableState;N.readableListening=U.listenerCount("readable")>0,N.resumeScheduled&&!N.paused?N.flowing=!0:U.listenerCount("data")>0&&U.resume()}e(ne,"updateReadableListening");function ae(U){i("readable nexttick read 0"),U.read(0)}e(ae,"nReadingNextTick"),te.prototype.resume=function(){var U=this._readableState;return U.flowing||(i("resume"),U.flowing=!U.readableListening,oe(this,U)),U.paused=!1,this};function oe(U,N){N.resumeScheduled||(N.resumeScheduled=!0,M.nextTick(he,U,N))}e(oe,"resume");function he(U,N){i("resume",N.reading),N.reading||U.read(0),N.resumeScheduled=!1,U.emit("resume"),K(U),N.flowing&&!N.reading&&U.read(0)}e(he,"resume_"),te.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function K(U){var N=U._readableState;for(i("flow",N.flowing);N.flowing&&U.read()!==null;);}e(K,"flow"),te.prototype.wrap=function(U){var N=this,X=this._readableState,fe=!1;U.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var xe=X.decoder.end();xe&&xe.length&&N.push(xe)}N.push(null)}),U.on("data",function(xe){if(i("wrapped data"),X.decoder&&(xe=X.decoder.write(xe)),!(X.objectMode&&xe==null)&&!(!X.objectMode&&(!xe||!xe.length))){var ge=N.push(xe);ge||(fe=!0,U.pause())}});for(var ue in U)this[ue]===void 0&&typeof U[ue]=="function"&&(this[ue]=e(function(ge){return e(function(){return U[ge].apply(U,arguments)},"methodWrapReturnFunction")},"methodWrap")(ue));for(var de=0;de<Z.length;de++)U.on(Z[de],this.emit.bind(this,Z[de]));return this._read=function(xe){i("wrapped _read",xe),fe&&(fe=!1,U.resume())},this},typeof Symbol=="function"&&(te.prototype[Symbol.asyncIterator]=function(){return O===void 0&&(O=S(5850)),O(this)}),Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:e(function(){return this._readableState.highWaterMark},"get")}),Object.defineProperty(te.prototype,"readableBuffer",{enumerable:!1,get:e(function(){return this._readableState&&this._readableState.buffer},"get")}),Object.defineProperty(te.prototype,"readableFlowing",{enumerable:!1,get:e(function(){return this._readableState.flowing},"get"),set:e(function(N){this._readableState&&(this._readableState.flowing=N)},"set")}),te._fromList=j,Object.defineProperty(te.prototype,"readableLength",{enumerable:!1,get:e(function(){return this._readableState.length},"get")});function j(U,N){if(N.length===0)return null;var X;return N.objectMode?X=N.buffer.shift():!U||U>=N.length?(N.decoder?X=N.buffer.join(""):N.buffer.length===1?X=N.buffer.first():X=N.buffer.concat(N.length),N.buffer.clear()):X=N.buffer.consume(U,N.decoder),X}e(j,"fromList");function ee(U){var N=U._readableState;i("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,M.nextTick(ie,N,U))}e(ee,"endReadable");function ie(U,N){if(i("endReadableNT",U.endEmitted,U.length),!U.endEmitted&&U.length===0&&(U.endEmitted=!0,N.readable=!1,N.emit("end"),U.autoDestroy)){var X=N._writableState;(!X||X.autoDestroy&&X.finished)&&N.destroy()}}e(ie,"endReadableNT"),typeof Symbol=="function"&&(te.from=function(U,N){return W===void 0&&(W=S(5167)),W(te,U,N)});function se(U,N){for(var X=0,fe=U.length;X<fe;X++)if(U[X]===N)return X;return-1}e(se,"indexOf")},4605:(q,V,S)=>{"use strict";q.exports=w;var M=S(4281).q,D=M.ERR_METHOD_NOT_IMPLEMENTED,F=M.ERR_MULTIPLE_CALLBACK,I=M.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=M.ERR_TRANSFORM_WITH_LENGTH_0,h=S(6753);S(5717)(w,h);function c(i,m){var s=this._transformState;s.transforming=!1;var b=s.writecb;if(b===null)return this.emit("error",new F);s.writechunk=null,s.writecb=null,m!=null&&this.push(m),b(i);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}e(c,"afterTransform");function w(i){if(!(this instanceof w))return new w(i);h.call(this,i),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,i&&(typeof i.transform=="function"&&(this._transform=i.transform),typeof i.flush=="function"&&(this._flush=i.flush)),this.on("prefinish",E)}e(w,"Transform");function E(){var i=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(m,s){d(i,m,s)}):d(this,null,null)}e(E,"prefinish"),w.prototype.push=function(i,m){return this._transformState.needTransform=!1,h.prototype.push.call(this,i,m)},w.prototype._transform=function(i,m,s){s(new D("_transform()"))},w.prototype._write=function(i,m,s){var b=this._transformState;if(b.writecb=s,b.writechunk=i,b.writeencoding=m,!b.transforming){var l=this._readableState;(b.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},w.prototype._read=function(i){var m=this._transformState;m.writechunk!==null&&!m.transforming?(m.transforming=!0,this._transform(m.writechunk,m.writeencoding,m.afterTransform)):m.needTransform=!0},w.prototype._destroy=function(i,m){h.prototype._destroy.call(this,i,function(s){m(s)})};function d(i,m,s){if(m)return i.emit("error",m);if(s!=null&&i.push(s),i._writableState.length)throw new o;if(i._transformState.transforming)throw new I;return i.push(null)}e(d,"done")},4229:(q,V,S)=>{"use strict";var M=S(4155);q.exports=re;function D(K,j,ee){this.chunk=K,this.encoding=j,this.callback=ee,this.next=null}e(D,"WriteReq");function F(K){var j=this;this.next=null,this.entry=null,this.finish=function(){he(j,K)}}e(F,"CorkedRequest");var I;re.WritableState=Z;var o={deprecate:S(4927)},h=S(2503),c=S(8764).Buffer,w=(typeof S.g<"u"?S.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function E(K){return c.from(K)}e(E,"_uint8ArrayToBuffer");function d(K){return c.isBuffer(K)||K instanceof w}e(d,"_isUint8Array");var i=S(1195),m=S(2457),s=m.getHighWaterMark,b=S(4281).q,l=b.ERR_INVALID_ARG_TYPE,v=b.ERR_METHOD_NOT_IMPLEMENTED,A=b.ERR_MULTIPLE_CALLBACK,g=b.ERR_STREAM_CANNOT_PIPE,_=b.ERR_STREAM_DESTROYED,L=b.ERR_STREAM_NULL_VALUES,T=b.ERR_STREAM_WRITE_AFTER_END,O=b.ERR_UNKNOWN_ENCODING,W=i.errorOrDestroy;S(5717)(re,h);function G(){}e(G,"nop");function Z(K,j,ee){I=I||S(6753),K=K||{},typeof ee!="boolean"&&(ee=j instanceof I),this.objectMode=!!K.objectMode,ee&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=s(this,K,"writableHighWaterMark",ee),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ie=K.decodeStrings===!1;this.decodeStrings=!ie,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(se){B(j,se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new F(this)}e(Z,"WritableState"),Z.prototype.getBuffer=e(function(){for(var j=this.bufferedRequest,ee=[];j;)ee.push(j),j=j.next;return ee},"getBuffer"),function(){try{Object.defineProperty(Z.prototype,"buffer",{get:o.deprecate(e(function(){return this.getBuffer()},"writableStateBufferGetter"),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var Q;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Q=Function.prototype[Symbol.hasInstance],Object.defineProperty(re,Symbol.hasInstance,{value:e(function(j){return Q.call(this,j)?!0:this!==re?!1:j&&j._writableState instanceof Z},"value")})):Q=e(function(j){return j instanceof this},"realHasInstance");function re(K){I=I||S(6753);var j=this instanceof I;if(!j&&!Q.call(re,this))return new re(K);this._writableState=new Z(K,this,j),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),h.call(this)}e(re,"Writable"),re.prototype.pipe=function(){W(this,new g)};function te(K,j){var ee=new T;W(K,ee),M.nextTick(j,ee)}e(te,"writeAfterEnd");function $(K,j,ee,ie){var se;return ee===null?se=new L:typeof ee!="string"&&!j.objectMode&&(se=new l("chunk",["string","Buffer"],ee)),se?(W(K,se),M.nextTick(ie,se),!1):!0}e($,"validChunk"),re.prototype.write=function(K,j,ee){var ie=this._writableState,se=!1,U=!ie.objectMode&&d(K);return U&&!c.isBuffer(K)&&(K=E(K)),typeof j=="function"&&(ee=j,j=null),U?j="buffer":j||(j=ie.defaultEncoding),typeof ee!="function"&&(ee=G),ie.ending?te(this,ee):(U||$(this,ie,K,ee))&&(ie.pendingcb++,se=t(this,ie,U,K,j,ee)),se},re.prototype.cork=function(){this._writableState.corked++},re.prototype.uncork=function(){var K=this._writableState;K.corked&&(K.corked--,!K.writing&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&R(this,K))},re.prototype.setDefaultEncoding=e(function(j){if(typeof j=="string"&&(j=j.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((j+"").toLowerCase())>-1))throw new O(j);return this._writableState.defaultEncoding=j,this},"setDefaultEncoding"),Object.defineProperty(re.prototype,"writableBuffer",{enumerable:!1,get:e(function(){return this._writableState&&this._writableState.getBuffer()},"get")});function x(K,j,ee){return!K.objectMode&&K.decodeStrings!==!1&&typeof j=="string"&&(j=c.from(j,ee)),j}e(x,"decodeChunk"),Object.defineProperty(re.prototype,"writableHighWaterMark",{enumerable:!1,get:e(function(){return this._writableState.highWaterMark},"get")});function t(K,j,ee,ie,se,U){if(!ee){var N=x(j,ie,se);ie!==N&&(ee=!0,se="buffer",ie=N)}var X=j.objectMode?1:ie.length;j.length+=X;var fe=j.length<j.highWaterMark;if(fe||(j.needDrain=!0),j.writing||j.corked){var ue=j.lastBufferedRequest;j.lastBufferedRequest={chunk:ie,encoding:se,isBuf:ee,callback:U,next:null},ue?ue.next=j.lastBufferedRequest:j.bufferedRequest=j.lastBufferedRequest,j.bufferedRequestCount+=1}else n(K,j,!1,X,ie,se,U);return fe}e(t,"writeOrBuffer");function n(K,j,ee,ie,se,U,N){j.writelen=ie,j.writecb=N,j.writing=!0,j.sync=!0,j.destroyed?j.onwrite(new _("write")):ee?K._writev(se,j.onwrite):K._write(se,U,j.onwrite),j.sync=!1}e(n,"doWrite");function u(K,j,ee,ie,se){--j.pendingcb,ee?(M.nextTick(se,ie),M.nextTick(ae,K,j),K._writableState.errorEmitted=!0,W(K,ie)):(se(ie),K._writableState.errorEmitted=!0,W(K,ie),ae(K,j))}e(u,"onwriteError");function p(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0}e(p,"onwriteStateUpdate");function B(K,j){var ee=K._writableState,ie=ee.sync,se=ee.writecb;if(typeof se!="function")throw new A;if(p(ee),j)u(K,ee,ie,j,se);else{var U=a(ee)||K.destroyed;!U&&!ee.corked&&!ee.bufferProcessing&&ee.bufferedRequest&&R(K,ee),ie?M.nextTick(k,K,ee,U,se):k(K,ee,U,se)}}e(B,"onwrite");function k(K,j,ee,ie){ee||z(K,j),j.pendingcb--,ie(),ae(K,j)}e(k,"afterWrite");function z(K,j){j.length===0&&j.needDrain&&(j.needDrain=!1,K.emit("drain"))}e(z,"onwriteDrain");function R(K,j){j.bufferProcessing=!0;var ee=j.bufferedRequest;if(K._writev&&ee&&ee.next){var ie=j.bufferedRequestCount,se=new Array(ie),U=j.corkedRequestsFree;U.entry=ee;for(var N=0,X=!0;ee;)se[N]=ee,ee.isBuf||(X=!1),ee=ee.next,N+=1;se.allBuffers=X,n(K,j,!0,j.length,se,"",U.finish),j.pendingcb++,j.lastBufferedRequest=null,U.next?(j.corkedRequestsFree=U.next,U.next=null):j.corkedRequestsFree=new F(j),j.bufferedRequestCount=0}else{for(;ee;){var fe=ee.chunk,ue=ee.encoding,de=ee.callback,xe=j.objectMode?1:fe.length;if(n(K,j,!1,xe,fe,ue,de),ee=ee.next,j.bufferedRequestCount--,j.writing)break}ee===null&&(j.lastBufferedRequest=null)}j.bufferedRequest=ee,j.bufferProcessing=!1}e(R,"clearBuffer"),re.prototype._write=function(K,j,ee){ee(new v("_write()"))},re.prototype._writev=null,re.prototype.end=function(K,j,ee){var ie=this._writableState;return typeof K=="function"?(ee=K,K=null,j=null):typeof j=="function"&&(ee=j,j=null),K!=null&&this.write(K,j),ie.corked&&(ie.corked=1,this.uncork()),ie.ending||oe(this,ie,ee),this},Object.defineProperty(re.prototype,"writableLength",{enumerable:!1,get:e(function(){return this._writableState.length},"get")});function a(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}e(a,"needFinish");function P(K,j){K._final(function(ee){j.pendingcb--,ee&&W(K,ee),j.prefinished=!0,K.emit("prefinish"),ae(K,j)})}e(P,"callFinal");function ne(K,j){!j.prefinished&&!j.finalCalled&&(typeof K._final=="function"&&!j.destroyed?(j.pendingcb++,j.finalCalled=!0,M.nextTick(P,K,j)):(j.prefinished=!0,K.emit("prefinish")))}e(ne,"prefinish");function ae(K,j){var ee=a(j);if(ee&&(ne(K,j),j.pendingcb===0&&(j.finished=!0,K.emit("finish"),j.autoDestroy))){var ie=K._readableState;(!ie||ie.autoDestroy&&ie.endEmitted)&&K.destroy()}return ee}e(ae,"finishMaybe");function oe(K,j,ee){j.ending=!0,ae(K,j),ee&&(j.finished?M.nextTick(ee):K.once("finish",ee)),j.ended=!0,K.writable=!1}e(oe,"endWritable");function he(K,j,ee){var ie=K.entry;for(K.entry=null;ie;){var se=ie.callback;j.pendingcb--,se(ee),ie=ie.next}j.corkedRequestsFree.next=K}e(he,"onCorkedFinish"),Object.defineProperty(re.prototype,"destroyed",{enumerable:!1,get:e(function(){return this._writableState===void 0?!1:this._writableState.destroyed},"get"),set:e(function(j){this._writableState&&(this._writableState.destroyed=j)},"set")}),re.prototype.destroy=i.destroy,re.prototype._undestroy=i.undestroy,re.prototype._destroy=function(K,j){j(K)}},5850:(q,V,S)=>{"use strict";var M=S(4155),D;function F(T,O,W){return O=I(O),O in T?Object.defineProperty(T,O,{value:W,enumerable:!0,configurable:!0,writable:!0}):T[O]=W,T}e(F,"_defineProperty");function I(T){var O=o(T,"string");return typeof O=="symbol"?O:String(O)}e(I,"_toPropertyKey");function o(T,O){if(typeof T!="object"||T===null)return T;var W=T[Symbol.toPrimitive];if(W!==void 0){var G=W.call(T,O||"default");if(typeof G!="object")return G;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(T)}e(o,"_toPrimitive");var h=S(8610),c=Symbol("lastResolve"),w=Symbol("lastReject"),E=Symbol("error"),d=Symbol("ended"),i=Symbol("lastPromise"),m=Symbol("handlePromise"),s=Symbol("stream");function b(T,O){return{value:T,done:O}}e(b,"createIterResult");function l(T){var O=T[c];if(O!==null){var W=T[s].read();W!==null&&(T[i]=null,T[c]=null,T[w]=null,O(b(W,!1)))}}e(l,"readAndResolve");function v(T){M.nextTick(l,T)}e(v,"onReadable");function A(T,O){return function(W,G){T.then(function(){if(O[d]){W(b(void 0,!0));return}O[m](W,G)},G)}}e(A,"wrapForNext");var g=Object.getPrototypeOf(function(){}),_=Object.setPrototypeOf((D={get stream(){return this[s]},next:e(function(){var O=this,W=this[E];if(W!==null)return Promise.reject(W);if(this[d])return Promise.resolve(b(void 0,!0));if(this[s].destroyed)return new Promise(function(re,te){M.nextTick(function(){O[E]?te(O[E]):re(b(void 0,!0))})});var G=this[i],Z;if(G)Z=new Promise(A(G,this));else{var Q=this[s].read();if(Q!==null)return Promise.resolve(b(Q,!1));Z=new Promise(this[m])}return this[i]=Z,Z},"next")},F(D,Symbol.asyncIterator,function(){return this}),F(D,"return",e(function(){var O=this;return new Promise(function(W,G){O[s].destroy(null,function(Z){if(Z){G(Z);return}W(b(void 0,!0))})})},"_return")),D),g),L=e(function(O){var W,G=Object.create(_,(W={},F(W,s,{value:O,writable:!0}),F(W,c,{value:null,writable:!0}),F(W,w,{value:null,writable:!0}),F(W,E,{value:null,writable:!0}),F(W,d,{value:O._readableState.endEmitted,writable:!0}),F(W,m,{value:e(function(Q,re){var te=G[s].read();te?(G[i]=null,G[c]=null,G[w]=null,Q(b(te,!1))):(G[c]=Q,G[w]=re)},"value"),writable:!0}),W));return G[i]=null,h(O,function(Z){if(Z&&Z.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Q=G[w];Q!==null&&(G[i]=null,G[c]=null,G[w]=null,Q(Z)),G[E]=Z;return}var re=G[c];re!==null&&(G[i]=null,G[c]=null,G[w]=null,re(b(void 0,!0))),G[d]=!0}),O.on("readable",v.bind(null,G)),G},"createReadableStreamAsyncIterator");q.exports=L},7327:(q,V,S)=>{"use strict";function M(l,v){var A=Object.keys(l);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);v&&(g=g.filter(function(_){return Object.getOwnPropertyDescriptor(l,_).enumerable})),A.push.apply(A,g)}return A}e(M,"ownKeys");function D(l){for(var v=1;v<arguments.length;v++){var A=arguments[v]!=null?arguments[v]:{};v%2?M(Object(A),!0).forEach(function(g){F(l,g,A[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(A)):M(Object(A)).forEach(function(g){Object.defineProperty(l,g,Object.getOwnPropertyDescriptor(A,g))})}return l}e(D,"_objectSpread");function F(l,v,A){return v=c(v),v in l?Object.defineProperty(l,v,{value:A,enumerable:!0,configurable:!0,writable:!0}):l[v]=A,l}e(F,"_defineProperty");function I(l,v){if(!(l instanceof v))throw new TypeError("Cannot call a class as a function")}e(I,"_classCallCheck");function o(l,v){for(var A=0;A<v.length;A++){var g=v[A];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(l,c(g.key),g)}}e(o,"_defineProperties");function h(l,v,A){return v&&o(l.prototype,v),A&&o(l,A),Object.defineProperty(l,"prototype",{writable:!1}),l}e(h,"_createClass");function c(l){var v=w(l,"string");return typeof v=="symbol"?v:String(v)}e(c,"_toPropertyKey");function w(l,v){if(typeof l!="object"||l===null)return l;var A=l[Symbol.toPrimitive];if(A!==void 0){var g=A.call(l,v||"default");if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(l)}e(w,"_toPrimitive");var E=S(8764),d=E.Buffer,i=S(2361),m=i.inspect,s=m&&m.custom||"inspect";function b(l,v,A){d.prototype.copy.call(l,v,A)}e(b,"copyBuffer"),q.exports=function(){function l(){I(this,l),this.head=null,this.tail=null,this.length=0}return e(l,"BufferList"),h(l,[{key:"push",value:e(function(A){var g={data:A,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length},"push")},{key:"unshift",value:e(function(A){var g={data:A,next:this.head};this.length===0&&(this.tail=g),this.head=g,++this.length},"unshift")},{key:"shift",value:e(function(){if(this.length!==0){var A=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,A}},"shift")},{key:"clear",value:e(function(){this.head=this.tail=null,this.length=0},"clear")},{key:"join",value:e(function(A){if(this.length===0)return"";for(var g=this.head,_=""+g.data;g=g.next;)_+=A+g.data;return _},"join")},{key:"concat",value:e(function(A){if(this.length===0)return d.alloc(0);for(var g=d.allocUnsafe(A>>>0),_=this.head,L=0;_;)b(_.data,g,L),L+=_.data.length,_=_.next;return g},"concat")},{key:"consume",value:e(function(A,g){var _;return A<this.head.data.length?(_=this.head.data.slice(0,A),this.head.data=this.head.data.slice(A)):A===this.head.data.length?_=this.shift():_=g?this._getString(A):this._getBuffer(A),_},"consume")},{key:"first",value:e(function(){return this.head.data},"first")},{key:"_getString",value:e(function(A){var g=this.head,_=1,L=g.data;for(A-=L.length;g=g.next;){var T=g.data,O=A>T.length?T.length:A;if(O===T.length?L+=T:L+=T.slice(0,A),A-=O,A===0){O===T.length?(++_,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=T.slice(O));break}++_}return this.length-=_,L},"_getString")},{key:"_getBuffer",value:e(function(A){var g=d.allocUnsafe(A),_=this.head,L=1;for(_.data.copy(g),A-=_.data.length;_=_.next;){var T=_.data,O=A>T.length?T.length:A;if(T.copy(g,g.length-A,0,O),A-=O,A===0){O===T.length?(++L,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=T.slice(O));break}++L}return this.length-=L,g},"_getBuffer")},{key:s,value:e(function(A,g){return m(this,D(D({},g),{},{depth:0,customInspect:!1}))},"value")}]),l}()},1195:(q,V,S)=>{"use strict";var M=S(4155);function D(w,E){var d=this,i=this._readableState&&this._readableState.destroyed,m=this._writableState&&this._writableState.destroyed;return i||m?(E?E(w):w&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,M.nextTick(h,this,w)):M.nextTick(h,this,w)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(w||null,function(s){!E&&s?d._writableState?d._writableState.errorEmitted?M.nextTick(I,d):(d._writableState.errorEmitted=!0,M.nextTick(F,d,s)):M.nextTick(F,d,s):E?(M.nextTick(I,d),E(s)):M.nextTick(I,d)}),this)}e(D,"destroy");function F(w,E){h(w,E),I(w)}e(F,"emitErrorAndCloseNT");function I(w){w._writableState&&!w._writableState.emitClose||w._readableState&&!w._readableState.emitClose||w.emit("close")}e(I,"emitCloseNT");function o(){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)}e(o,"undestroy");function h(w,E){w.emit("error",E)}e(h,"emitErrorNT");function c(w,E){var d=w._readableState,i=w._writableState;d&&d.autoDestroy||i&&i.autoDestroy?w.destroy(E):w.emit("error",E)}e(c,"errorOrDestroy"),q.exports={destroy:D,undestroy:o,errorOrDestroy:c}},8610:(q,V,S)=>{"use strict";var M=S(4281).q.ERR_STREAM_PREMATURE_CLOSE;function D(h){var c=!1;return function(){if(!c){c=!0;for(var w=arguments.length,E=new Array(w),d=0;d<w;d++)E[d]=arguments[d];h.apply(this,E)}}}e(D,"once");function F(){}e(F,"noop");function I(h){return h.setHeader&&typeof h.abort=="function"}e(I,"isRequest");function o(h,c,w){if(typeof c=="function")return o(h,null,c);c||(c={}),w=D(w||F);var E=c.readable||c.readable!==!1&&h.readable,d=c.writable||c.writable!==!1&&h.writable,i=e(function(){h.writable||s()},"onlegacyfinish"),m=h._writableState&&h._writableState.finished,s=e(function(){d=!1,m=!0,E||w.call(h)},"onfinish"),b=h._readableState&&h._readableState.endEmitted,l=e(function(){E=!1,b=!0,d||w.call(h)},"onend"),v=e(function(L){w.call(h,L)},"onerror"),A=e(function(){var L;if(E&&!b)return(!h._readableState||!h._readableState.ended)&&(L=new M),w.call(h,L);if(d&&!m)return(!h._writableState||!h._writableState.ended)&&(L=new M),w.call(h,L)},"onclose"),g=e(function(){h.req.on("finish",s)},"onrequest");return I(h)?(h.on("complete",s),h.on("abort",A),h.req?g():h.on("request",g)):d&&!h._writableState&&(h.on("end",i),h.on("close",i)),h.on("end",l),h.on("finish",s),c.error!==!1&&h.on("error",v),h.on("close",A),function(){h.removeListener("complete",s),h.removeListener("abort",A),h.removeListener("request",g),h.req&&h.req.removeListener("finish",s),h.removeListener("end",i),h.removeListener("close",i),h.removeListener("finish",s),h.removeListener("end",l),h.removeListener("error",v),h.removeListener("close",A)}}e(o,"eos"),q.exports=o},5167:q=>{q.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(q,V,S)=>{"use strict";var M;function D(s){var b=!1;return function(){b||(b=!0,s.apply(void 0,arguments))}}e(D,"once");var F=S(4281).q,I=F.ERR_MISSING_ARGS,o=F.ERR_STREAM_DESTROYED;function h(s){if(s)throw s}e(h,"noop");function c(s){return s.setHeader&&typeof s.abort=="function"}e(c,"isRequest");function w(s,b,l,v){v=D(v);var A=!1;s.on("close",function(){A=!0}),M===void 0&&(M=S(8610)),M(s,{readable:b,writable:l},function(_){if(_)return v(_);A=!0,v()});var g=!1;return function(_){if(!A&&!g){if(g=!0,c(s))return s.abort();if(typeof s.destroy=="function")return s.destroy();v(_||new o("pipe"))}}}e(w,"destroyer");function E(s){s()}e(E,"call");function d(s,b){return s.pipe(b)}e(d,"pipe");function i(s){return!s.length||typeof s[s.length-1]!="function"?h:s.pop()}e(i,"popCallback");function m(){for(var s=arguments.length,b=new Array(s),l=0;l<s;l++)b[l]=arguments[l];var v=i(b);if(Array.isArray(b[0])&&(b=b[0]),b.length<2)throw new I("streams");var A,g=b.map(function(_,L){var T=L<b.length-1,O=L>0;return w(_,T,O,function(W){A||(A=W),W&&g.forEach(E),!T&&(g.forEach(E),v(A))})});return b.reduce(d)}e(m,"pipeline"),q.exports=m},2457:(q,V,S)=>{"use strict";var M=S(4281).q.ERR_INVALID_OPT_VALUE;function D(I,o,h){return I.highWaterMark!=null?I.highWaterMark:o?I[h]:null}e(D,"highWaterMarkFrom");function F(I,o,h,c){var w=D(o,c,h);if(w!=null){if(!(isFinite(w)&&Math.floor(w)===w)||w<0){var E=c?h:"highWaterMark";throw new M(E,w)}return Math.floor(w)}return I.objectMode?16:16*1024}e(F,"getHighWaterMark"),q.exports={getHighWaterMark:F}},2503:(q,V,S)=>{q.exports=S(7187).EventEmitter},8473:(q,V,S)=>{V=q.exports=S(9481),V.Stream=V,V.Readable=V,V.Writable=S(4229),V.Duplex=S(6753),V.Transform=S(4605),V.PassThrough=S(2725),V.finished=S(8610),V.pipeline=S(9946)},9785:(q,V,S)=>{"use strict";var M=S(8764).Buffer,D=S(5717),F=S(3349),I=new Array(16),o=[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],w=[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],E=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function i(){F.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}e(i,"RIPEMD160"),D(i,F),i.prototype._update=function(){for(var g=I,_=0;_<16;++_)g[_]=this._block.readInt32LE(_*4);for(var L=this._a|0,T=this._b|0,O=this._c|0,W=this._d|0,G=this._e|0,Z=this._a|0,Q=this._b|0,re=this._c|0,te=this._d|0,$=this._e|0,x=0;x<80;x+=1){var t,n;x<16?(t=s(L,T,O,W,G,g[o[x]],E[0],c[x]),n=A(Z,Q,re,te,$,g[h[x]],d[0],w[x])):x<32?(t=b(L,T,O,W,G,g[o[x]],E[1],c[x]),n=v(Z,Q,re,te,$,g[h[x]],d[1],w[x])):x<48?(t=l(L,T,O,W,G,g[o[x]],E[2],c[x]),n=l(Z,Q,re,te,$,g[h[x]],d[2],w[x])):x<64?(t=v(L,T,O,W,G,g[o[x]],E[3],c[x]),n=b(Z,Q,re,te,$,g[h[x]],d[3],w[x])):(t=A(L,T,O,W,G,g[o[x]],E[4],c[x]),n=s(Z,Q,re,te,$,g[h[x]],d[4],w[x])),L=G,G=W,W=m(O,10),O=T,T=t,Z=$,$=te,te=m(re,10),re=Q,Q=n}var u=this._b+O+te|0;this._b=this._c+W+$|0,this._c=this._d+G+Z|0,this._d=this._e+L+Q|0,this._e=this._a+T+re|0,this._a=u},i.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 g=M.alloc?M.alloc(20):new M(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g};function m(g,_){return g<<_|g>>>32-_}e(m,"rotl");function s(g,_,L,T,O,W,G,Z){return m(g+(_^L^T)+W+G|0,Z)+O|0}e(s,"fn1");function b(g,_,L,T,O,W,G,Z){return m(g+(_&L|~_&T)+W+G|0,Z)+O|0}e(b,"fn2");function l(g,_,L,T,O,W,G,Z){return m(g+((_|~L)^T)+W+G|0,Z)+O|0}e(l,"fn3");function v(g,_,L,T,O,W,G,Z){return m(g+(_&T|L&~T)+W+G|0,Z)+O|0}e(v,"fn4");function A(g,_,L,T,O,W,G,Z){return m(g+(_^(L|~T))+W+G|0,Z)+O|0}e(A,"fn5"),q.exports=i},9509:(q,V,S)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var M=S(8764),D=M.Buffer;function F(o,h){for(var c in o)h[c]=o[c]}e(F,"copyProps"),D.from&&D.alloc&&D.allocUnsafe&&D.allocUnsafeSlow?q.exports=M:(F(M,V),V.Buffer=I);function I(o,h,c){return D(o,h,c)}e(I,"SafeBuffer"),I.prototype=Object.create(D.prototype),F(D,I),I.from=function(o,h,c){if(typeof o=="number")throw new TypeError("Argument must not be a number");return D(o,h,c)},I.alloc=function(o,h,c){if(typeof o!="number")throw new TypeError("Argument must be a number");var w=D(o);return h!==void 0?typeof c=="string"?w.fill(h,c):w.fill(h):w.fill(0),w},I.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return D(o)},I.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return M.SlowBuffer(o)}},4189:(q,V,S)=>{var M=S(9509).Buffer;function D(F,I){this._block=M.alloc(F),this._finalSize=I,this._blockSize=F,this._len=0}e(D,"Hash"),D.prototype.update=function(F,I){typeof F=="string"&&(I=I||"utf8",F=M.from(F,I));for(var o=this._block,h=this._blockSize,c=F.length,w=this._len,E=0;E<c;){for(var d=w%h,i=Math.min(c-E,h-d),m=0;m<i;m++)o[d+m]=F[E+m];w+=i,E+=i,w%h===0&&this._update(o)}return this._len+=c,this},D.prototype.digest=function(F){var I=this._len%this._blockSize;this._block[I]=128,this._block.fill(0,I+1),I>=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=this._len*8;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var h=(o&4294967295)>>>0,c=(o-h)/4294967296;this._block.writeUInt32BE(c,this._blockSize-8),this._block.writeUInt32BE(h,this._blockSize-4)}this._update(this._block);var w=this._hash();return F?w.toString(F):w},D.prototype._update=function(){throw new Error("_update must be implemented by subclass")},q.exports=D},9072:(q,V,S)=>{var M=q.exports=e(function(F){F=F.toLowerCase();var I=M[F];if(!I)throw new Error(F+" is not supported (we accept pull requests)");return new I},"SHA");M.sha=S(4448),M.sha1=S(8336),M.sha224=S(8432),M.sha256=S(7499),M.sha384=S(1686),M.sha512=S(7816)},4448:(q,V,S)=>{var M=S(5717),D=S(4189),F=S(9509).Buffer,I=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function h(){this.init(),this._w=o,D.call(this,64,56)}e(h,"Sha"),M(h,D),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<<5|d>>>27}e(c,"rotl5");function w(d){return d<<30|d>>>2}e(w,"rotl30");function E(d,i,m,s){return d===0?i&m|~i&s:d===2?i&m|i&s|m&s:i^m^s}e(E,"ft"),h.prototype._update=function(d){for(var i=this._w,m=this._a|0,s=this._b|0,b=this._c|0,l=this._d|0,v=this._e|0,A=0;A<16;++A)i[A]=d.readInt32BE(A*4);for(;A<80;++A)i[A]=i[A-3]^i[A-8]^i[A-14]^i[A-16];for(var g=0;g<80;++g){var _=~~(g/20),L=c(m)+E(_,s,b,l)+v+i[g]+I[_]|0;v=l,l=b,b=w(s),s=m,m=L}this._a=m+this._a|0,this._b=s+this._b|0,this._c=b+this._c|0,this._d=l+this._d|0,this._e=v+this._e|0},h.prototype._hash=function(){var d=F.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},8336:(q,V,S)=>{var M=S(5717),D=S(4189),F=S(9509).Buffer,I=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function h(){this.init(),this._w=o,D.call(this,64,56)}e(h,"Sha1"),M(h,D),h.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function c(i){return i<<1|i>>>31}e(c,"rotl1");function w(i){return i<<5|i>>>27}e(w,"rotl5");function E(i){return i<<30|i>>>2}e(E,"rotl30");function d(i,m,s,b){return i===0?m&s|~m&b:i===2?m&s|m&b|s&b:m^s^b}e(d,"ft"),h.prototype._update=function(i){for(var m=this._w,s=this._a|0,b=this._b|0,l=this._c|0,v=this._d|0,A=this._e|0,g=0;g<16;++g)m[g]=i.readInt32BE(g*4);for(;g<80;++g)m[g]=c(m[g-3]^m[g-8]^m[g-14]^m[g-16]);for(var _=0;_<80;++_){var L=~~(_/20),T=w(s)+d(L,b,l,v)+A+m[_]+I[L]|0;A=v,v=l,l=E(b),b=s,s=T}this._a=s+this._a|0,this._b=b+this._b|0,this._c=l+this._c|0,this._d=v+this._d|0,this._e=A+this._e|0},h.prototype._hash=function(){var i=F.allocUnsafe(20);return i.writeInt32BE(this._a|0,0),i.writeInt32BE(this._b|0,4),i.writeInt32BE(this._c|0,8),i.writeInt32BE(this._d|0,12),i.writeInt32BE(this._e|0,16),i},q.exports=h},8432:(q,V,S)=>{var M=S(5717),D=S(7499),F=S(4189),I=S(9509).Buffer,o=new Array(64);function h(){this.init(),this._w=o,F.call(this,64,56)}e(h,"Sha224"),M(h,D),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=I.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,V,S)=>{var M=S(5717),D=S(4189),F=S(9509).Buffer,I=[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],o=new Array(64);function h(){this.init(),this._w=o,D.call(this,64,56)}e(h,"Sha256"),M(h,D),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(s,b,l){return l^s&(b^l)}e(c,"ch");function w(s,b,l){return s&b|l&(s|b)}e(w,"maj");function E(s){return(s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10)}e(E,"sigma0");function d(s){return(s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7)}e(d,"sigma1");function i(s){return(s>>>7|s<<25)^(s>>>18|s<<14)^s>>>3}e(i,"gamma0");function m(s){return(s>>>17|s<<15)^(s>>>19|s<<13)^s>>>10}e(m,"gamma1"),h.prototype._update=function(s){for(var b=this._w,l=this._a|0,v=this._b|0,A=this._c|0,g=this._d|0,_=this._e|0,L=this._f|0,T=this._g|0,O=this._h|0,W=0;W<16;++W)b[W]=s.readInt32BE(W*4);for(;W<64;++W)b[W]=m(b[W-2])+b[W-7]+i(b[W-15])+b[W-16]|0;for(var G=0;G<64;++G){var Z=O+d(_)+c(_,L,T)+I[G]+b[G]|0,Q=E(l)+w(l,v,A)|0;O=T,T=L,L=_,_=g+Z|0,g=A,A=v,v=l,l=Z+Q|0}this._a=l+this._a|0,this._b=v+this._b|0,this._c=A+this._c|0,this._d=g+this._d|0,this._e=_+this._e|0,this._f=L+this._f|0,this._g=T+this._g|0,this._h=O+this._h|0},h.prototype._hash=function(){var s=F.allocUnsafe(32);return s.writeInt32BE(this._a,0),s.writeInt32BE(this._b,4),s.writeInt32BE(this._c,8),s.writeInt32BE(this._d,12),s.writeInt32BE(this._e,16),s.writeInt32BE(this._f,20),s.writeInt32BE(this._g,24),s.writeInt32BE(this._h,28),s},q.exports=h},1686:(q,V,S)=>{var M=S(5717),D=S(7816),F=S(4189),I=S(9509).Buffer,o=new Array(160);function h(){this.init(),this._w=o,F.call(this,128,112)}e(h,"Sha384"),M(h,D),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=I.allocUnsafe(48);function w(E,d,i){c.writeInt32BE(E,i),c.writeInt32BE(d,i+4)}return e(w,"writeInt64BE"),w(this._ah,this._al,0),w(this._bh,this._bl,8),w(this._ch,this._cl,16),w(this._dh,this._dl,24),w(this._eh,this._el,32),w(this._fh,this._fl,40),c},q.exports=h},7816:(q,V,S)=>{var M=S(5717),D=S(4189),F=S(9509).Buffer,I=[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],o=new Array(160);function h(){this.init(),this._w=o,D.call(this,128,112)}e(h,"Sha512"),M(h,D),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(v,A,g){return g^v&(A^g)}e(c,"Ch");function w(v,A,g){return v&A|g&(v|A)}e(w,"maj");function E(v,A){return(v>>>28|A<<4)^(A>>>2|v<<30)^(A>>>7|v<<25)}e(E,"sigma0");function d(v,A){return(v>>>14|A<<18)^(v>>>18|A<<14)^(A>>>9|v<<23)}e(d,"sigma1");function i(v,A){return(v>>>1|A<<31)^(v>>>8|A<<24)^v>>>7}e(i,"Gamma0");function m(v,A){return(v>>>1|A<<31)^(v>>>8|A<<24)^(v>>>7|A<<25)}e(m,"Gamma0l");function s(v,A){return(v>>>19|A<<13)^(A>>>29|v<<3)^v>>>6}e(s,"Gamma1");function b(v,A){return(v>>>19|A<<13)^(A>>>29|v<<3)^(v>>>6|A<<26)}e(b,"Gamma1l");function l(v,A){return v>>>0<A>>>0?1:0}e(l,"getCarry"),h.prototype._update=function(v){for(var A=this._w,g=this._ah|0,_=this._bh|0,L=this._ch|0,T=this._dh|0,O=this._eh|0,W=this._fh|0,G=this._gh|0,Z=this._hh|0,Q=this._al|0,re=this._bl|0,te=this._cl|0,$=this._dl|0,x=this._el|0,t=this._fl|0,n=this._gl|0,u=this._hl|0,p=0;p<32;p+=2)A[p]=v.readInt32BE(p*4),A[p+1]=v.readInt32BE(p*4+4);for(;p<160;p+=2){var B=A[p-30],k=A[p-15*2+1],z=i(B,k),R=m(k,B);B=A[p-2*2],k=A[p-2*2+1];var a=s(B,k),P=b(k,B),ne=A[p-7*2],ae=A[p-7*2+1],oe=A[p-16*2],he=A[p-16*2+1],K=R+ae|0,j=z+ne+l(K,R)|0;K=K+P|0,j=j+a+l(K,P)|0,K=K+he|0,j=j+oe+l(K,he)|0,A[p]=j,A[p+1]=K}for(var ee=0;ee<160;ee+=2){j=A[ee],K=A[ee+1];var ie=w(g,_,L),se=w(Q,re,te),U=E(g,Q),N=E(Q,g),X=d(O,x),fe=d(x,O),ue=I[ee],de=I[ee+1],xe=c(O,W,G),ge=c(x,t,n),le=u+fe|0,Me=Z+X+l(le,u)|0;le=le+ge|0,Me=Me+xe+l(le,ge)|0,le=le+de|0,Me=Me+ue+l(le,de)|0,le=le+K|0,Me=Me+j+l(le,K)|0;var ye=N+se|0,pe=U+ie+l(ye,N)|0;Z=G,u=n,G=W,n=t,W=O,t=x,x=$+le|0,O=T+Me+l(x,$)|0,T=L,$=te,L=_,te=re,_=g,re=Q,Q=le+ye|0,g=Me+pe+l(Q,le)|0}this._al=this._al+Q|0,this._bl=this._bl+re|0,this._cl=this._cl+te|0,this._dl=this._dl+$|0,this._el=this._el+x|0,this._fl=this._fl+t|0,this._gl=this._gl+n|0,this._hl=this._hl+u|0,this._ah=this._ah+g+l(this._al,Q)|0,this._bh=this._bh+_+l(this._bl,re)|0,this._ch=this._ch+L+l(this._cl,te)|0,this._dh=this._dh+T+l(this._dl,$)|0,this._eh=this._eh+O+l(this._el,x)|0,this._fh=this._fh+W+l(this._fl,t)|0,this._gh=this._gh+G+l(this._gl,n)|0,this._hh=this._hh+Z+l(this._hl,u)|0},h.prototype._hash=function(){var v=F.allocUnsafe(64);function A(g,_,L){v.writeInt32BE(g,L),v.writeInt32BE(_,L+4)}return e(A,"writeInt64BE"),A(this._ah,this._al,0),A(this._bh,this._bl,8),A(this._ch,this._cl,16),A(this._dh,this._dl,24),A(this._eh,this._el,32),A(this._fh,this._fl,40),A(this._gh,this._gl,48),A(this._hh,this._hl,56),v},q.exports=h},2553:(q,V,S)=>{"use strict";var M=S(9509).Buffer,D=M.isEncoding||function(g){switch(g=""+g,g&&g.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 F(g){if(!g)return"utf8";for(var _;;)switch(g){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 g;default:if(_)return;g=(""+g).toLowerCase(),_=!0}}e(F,"_normalizeEncoding");function I(g){var _=F(g);if(typeof _!="string"&&(M.isEncoding===D||!D(g)))throw new Error("Unknown encoding: "+g);return _||g}e(I,"normalizeEncoding"),V.s=o;function o(g){this.encoding=I(g);var _;switch(this.encoding){case"utf16le":this.text=m,this.end=s,_=4;break;case"utf8":this.fillLast=E,_=4;break;case"base64":this.text=b,this.end=l,_=3;break;default:this.write=v,this.end=A;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=M.allocUnsafe(_)}e(o,"StringDecoder"),o.prototype.write=function(g){if(g.length===0)return"";var _,L;if(this.lastNeed){if(_=this.fillLast(g),_===void 0)return"";L=this.lastNeed,this.lastNeed=0}else L=0;return L<g.length?_?_+this.text(g,L):this.text(g,L):_||""},o.prototype.end=i,o.prototype.text=d,o.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function h(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}e(h,"utf8CheckByte");function c(g,_,L){var T=_.length-1;if(T<L)return 0;var O=h(_[T]);return O>=0?(O>0&&(g.lastNeed=O-1),O):--T<L||O===-2?0:(O=h(_[T]),O>=0?(O>0&&(g.lastNeed=O-2),O):--T<L||O===-2?0:(O=h(_[T]),O>=0?(O>0&&(O===2?O=0:g.lastNeed=O-3),O):0))}e(c,"utf8CheckIncomplete");function w(g,_,L){if((_[0]&192)!==128)return g.lastNeed=0,"\uFFFD";if(g.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return g.lastNeed=1,"\uFFFD";if(g.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return g.lastNeed=2,"\uFFFD"}}e(w,"utf8CheckExtraBytes");function E(g){var _=this.lastTotal-this.lastNeed,L=w(this,g,_);if(L!==void 0)return L;if(this.lastNeed<=g.length)return g.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,_,0,g.length),this.lastNeed-=g.length}e(E,"utf8FillLast");function d(g,_){var L=c(this,g,_);if(!this.lastNeed)return g.toString("utf8",_);this.lastTotal=L;var T=g.length-(L-this.lastNeed);return g.copy(this.lastChar,0,T),g.toString("utf8",_,T)}e(d,"utf8Text");function i(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+"\uFFFD":_}e(i,"utf8End");function m(g,_){if((g.length-_)%2===0){var L=g.toString("utf16le",_);if(L){var T=L.charCodeAt(L.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],L.slice(0,-1)}return L}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",_,g.length-1)}e(m,"utf16Text");function s(g){var _=g&&g.length?this.write(g):"";if(this.lastNeed){var L=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,L)}return _}e(s,"utf16End");function b(g,_){var L=(g.length-_)%3;return L===0?g.toString("base64",_):(this.lastNeed=3-L,this.lastTotal=3,L===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",_,g.length-L))}e(b,"base64Text");function l(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}e(l,"base64End");function v(g){return g.toString(this.encoding)}e(v,"simpleWrite");function A(g){return g&&g.length?this.write(g):""}e(A,"simpleEnd")},4927:(q,V,S)=>{q.exports=M;function M(F,I){if(D("noDeprecation"))return F;var o=!1;function h(){if(!o){if(D("throwDeprecation"))throw new Error(I);D("traceDeprecation")?console.trace(I):console.warn(I),o=!0}return F.apply(this,arguments)}return e(h,"deprecated"),h}e(M,"deprecate");function D(F){try{if(!S.g.localStorage)return!1}catch{return!1}var I=S.g.localStorage[F];return I==null?!1:String(I).toLowerCase()==="true"}e(D,"config")},8291:(q,V,S)=>{"use strict";S.d(V,{f:()=>M});function M(D){const F=typeof D=="string"?D.charCodeAt(0):D;return F>=97&&F<=102||F>=65&&F<=70||F>=48&&F<=57}e(M,"isHexadecimal")},2726:q=>{"use strict";q.exports={i8:"7.0.1"}}}]);