bsv2 2.0.20 → 2.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bsv2",
3
3
  "description": "Javascript library for Bitcoin SV (BSV).",
4
- "version": "2.0.20",
4
+ "version": "2.0.22",
5
5
  "author": "Tomás Díaz",
6
6
  "homepage": "https://github.com/samooth/bsv",
7
7
  "source": "entry.js",
package/webpack.config.js CHANGED
@@ -10,7 +10,7 @@ module.exports = [
10
10
  target: 'web',
11
11
  output: {
12
12
  path: path.resolve(__dirname, 'dist'),
13
- filename: '[name].bundle.js',
13
+ filename: 'bsv2.bundle.js',
14
14
  library: {
15
15
  name: 'bsv2',
16
16
  type: 'umd2'
@@ -19,6 +19,7 @@ module.exports = [
19
19
  resolve: {
20
20
  fallback:{
21
21
  buffer: require.resolve('buffer/'),
22
+ 'process/browser': require.resolve('process/browser'),
22
23
  "util": false,
23
24
  },
24
25
  alias: {
@@ -26,11 +27,6 @@ module.exports = [
26
27
  }
27
28
  },
28
29
  optimization: {
29
- // ...
30
- splitChunks: {
31
- chunks: 'all',
32
- },
33
-
34
30
  minimizer: [
35
31
  new EsbuildPlugin({
36
32
  keepNames: true,
@@ -54,16 +50,12 @@ module.exports = [
54
50
  target: 'node',
55
51
  output: {
56
52
  path: path.resolve(__dirname, 'dist'),
57
- filename: '[name].module.js',
53
+ filename: 'bsv2.module.js',
58
54
  library: {
59
55
  type: 'commonjs-module'
60
56
  }
61
57
  },
62
58
  optimization: {
63
- splitChunks: {
64
- chunks: 'all',
65
- },
66
-
67
59
  // ...
68
60
  minimizer: [
69
61
  new EsbuildPlugin({
@@ -84,9 +76,6 @@ module.exports = [
84
76
  entry: './entry.js',
85
77
  experiments:{outputModule:true},
86
78
  optimization: {
87
- splitChunks: {
88
- chunks: 'all',
89
- },
90
79
  // ...
91
80
  minimizer: [
92
81
  new EsbuildPlugin({
@@ -97,7 +86,7 @@ module.exports = [
97
86
  },
98
87
  output: {
99
88
  path: path.resolve(__dirname, 'dist'),
100
- filename: '[name].mjs',
89
+ filename: 'bsv2.mjs',
101
90
  library: {
102
91
  type: 'module'
103
92
  }
@@ -110,7 +99,7 @@ module.exports = [
110
99
  target: 'node',
111
100
  output: {
112
101
  path: path.resolve(__dirname, 'dist'),
113
- filename: '[name].cjs.js',
102
+ filename: 'bsv2.cjs.js',
114
103
  library: {
115
104
  type: 'commonjs2'
116
105
  }
package/.babelrc DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env"
4
- ],
5
- "plugins": [
6
- [
7
- "@babel/transform-runtime"
8
- ]
9
- ]
10
- }
@@ -1 +0,0 @@
1
- var vt=Object.defineProperty;var f=(U,F)=>vt(U,"name",{value:F,configurable:!0});exports.id=770,exports.ids=[770],exports.modules={297:U=>{U.exports=F;function F(I){this._tables[0][0][0]||this._precompute();var m,P,M,A=this._tables[0][4],d=this._tables[1],p=I.length,B=1;if(p!==4&&p!==6&&p!==8)throw new Error("invalid aes key size");this._key=[P=I.slice(0),M=[]];for(var S=p;S<4*p+28;S++)m=P[S-1],(S%p===0||p===8&&S%p===4)&&(m=A[m>>>24]<<24^A[m>>16&255]<<16^A[m>>8&255]<<8^A[m&255],S%p===0&&(m=m<<8^m>>>24^B<<24,B=B<<1^(B>>7)*283)),P[S]=P[S-p]^m;for(var l=0;S;l++,S--)m=P[l&3?S:S-4],S<=4||l<4?M[l]=m:M[l]=d[0][A[m>>>24]]^d[1][A[m>>16&255]]^d[2][A[m>>8&255]]^d[3][A[m&255]]}f(F,"AES"),F.prototype={encrypt:function(I){return this._crypt(I,0)},decrypt:function(I){return this._crypt(I,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 I=this._tables[0],m=this._tables[1],P=I[4],M=m[4],A,d,p,B=new Uint8Array(256),S=new Uint8Array(256),l,n,s,v,g,_;for(A=0;A<256;A++)S[(B[A]=A<<1^(A>>7)*283)^A]=A;for(d=p=0;!P[d];d^=l||1,p=S[p]||1)for(v=p^p<<1^p<<2^p<<3^p<<4,v=v>>8^v&255^99,P[d]=v,M[v]=d,s=B[n=B[l=B[d]]],_=s*16843009^n*65537^l*257^d*16843008,g=B[v]*257^v*16843008,A=0;A<4;A++)I[A][d]=g=g<<24^g>>>8,m[A][v]=_=_<<24^_>>>8},_crypt:function(I,m){if(I.length!==4)throw new Error("invalid aes block size");var P=this._key[m],M=I[0]^P[0],A=I[m?3:1]^P[1],d=I[2]^P[2],p=I[m?1:3]^P[3],B,S,l,n=P.length/4-2,s,v=4,g=new Uint32Array(4),_=this._tables[m],y=_[0],w=_[1],z=_[2],E=_[3],N=_[4];for(s=0;s<n;s++)B=y[M>>>24]^w[A>>16&255]^z[d>>8&255]^E[p&255]^P[v],S=y[A>>>24]^w[d>>16&255]^z[p>>8&255]^E[M&255]^P[v+1],l=y[d>>>24]^w[p>>16&255]^z[M>>8&255]^E[A&255]^P[v+2],p=y[p>>>24]^w[M>>16&255]^z[A>>8&255]^E[d&255]^P[v+3],v+=4,M=B,A=S,d=l;for(s=0;s<4;s++)g[m?3&-s:s]=N[M>>>24]<<24^N[A>>16&255]<<16^N[d>>8&255]<<8^N[p&255]^P[v++],B=M,M=A,A=d,d=p,p=B;return g}}},162:U=>{"use strict";function F(I){if(I.length>=255)throw new TypeError("Alphabet too long");for(var m=new Uint8Array(256),P=0;P<m.length;P++)m[P]=255;for(var M=0;M<I.length;M++){var A=I.charAt(M),d=A.charCodeAt(0);if(m[d]!==255)throw new TypeError(A+" is ambiguous");m[d]=M}var p=I.length,B=I.charAt(0),S=Math.log(p)/Math.log(256),l=Math.log(256)/Math.log(p);function n(g){if(g instanceof Uint8Array||(ArrayBuffer.isView(g)?g=new Uint8Array(g.buffer,g.byteOffset,g.byteLength):Array.isArray(g)&&(g=Uint8Array.from(g))),!(g instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(g.length===0)return"";for(var _=0,y=0,w=0,z=g.length;w!==z&&g[w]===0;)w++,_++;for(var E=(z-w)*l+1>>>0,N=new Uint8Array(E);w!==z;){for(var q=g[w],L=0,H=E-1;(q!==0||L<y)&&H!==-1;H--,L++)q+=256*N[H]>>>0,N[H]=q%p>>>0,q=q/p>>>0;if(q!==0)throw new Error("Non-zero carry");y=L,w++}for(var T=E-y;T!==E&&N[T]===0;)T++;for(var k=B.repeat(_);T<E;++T)k+=I.charAt(N[T]);return k}f(n,"encode");function s(g){if(typeof g!="string")throw new TypeError("Expected String");if(g.length===0)return new Uint8Array;for(var _=0,y=0,w=0;g[_]===B;)y++,_++;for(var z=(g.length-_)*S+1>>>0,E=new Uint8Array(z);g[_];){var N=m[g.charCodeAt(_)];if(N===255)return;for(var q=0,L=z-1;(N!==0||q<w)&&L!==-1;L--,q++)N+=p*E[L]>>>0,E[L]=N%256>>>0,N=N/256>>>0;if(N!==0)throw new Error("Non-zero carry");w=q,_++}for(var H=z-w;H!==z&&E[H]===0;)H++;for(var T=new Uint8Array(y+(z-H)),k=y;H!==z;)T[k++]=E[H++];return T}f(s,"decodeUnsafe");function v(g){var _=s(g);if(_)return _;throw new Error("Non-base"+p+" character")}return f(v,"decode"),{encode:n,decodeUnsafe:s,decode:v}}f(F,"base"),U.exports=F},666:(U,F,I)=>{"use strict";var m=F;m.version=I(726).i8,m.utils=I(359),m.rand=I(931),m.curve=I(104),m.curves=I(626),m.ec=I(630)},15:(U,F,I)=>{"use strict";var m=I(550),P=I(359),M=P.getNAF,A=P.getJSF,d=P.assert;function p(S,l){this.type=S,this.p=new m(l.p,16),this.red=l.prime?m.red(l.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=l.n&&new m(l.n,16),this.g=l.g&&this.pointFromJSON(l.g,l.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 n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}f(p,"BaseCurve"),U.exports=p,p.prototype.point=f(function(){throw new Error("Not implemented")},"point"),p.prototype.validate=f(function(){throw new Error("Not implemented")},"validate"),p.prototype._fixedNafMul=f(function(l,n){d(l.precomputed);var s=l._getDoubles(),v=M(n,1,this._bitLength),g=(1<<s.step+1)-(s.step%2===0?2:1);g/=3;for(var _=[],y=0;y<v.length;y+=s.step){for(var w=0,n=y+s.step-1;n>=y;n--)w=(w<<1)+v[n];_.push(w)}for(var z=this.jpoint(null,null,null),E=this.jpoint(null,null,null),N=g;N>0;N--){for(var y=0;y<_.length;y++){var w=_[y];w===N?E=E.mixedAdd(s.points[y]):w===-N&&(E=E.mixedAdd(s.points[y].neg()))}z=z.add(E)}return z.toP()},"_fixedNafMul"),p.prototype._wnafMul=f(function(l,n){var s=4,v=l._getNAFPoints(s);s=v.wnd;for(var g=v.points,_=M(n,s,this._bitLength),y=this.jpoint(null,null,null),w=_.length-1;w>=0;w--){for(var n=0;w>=0&&_[w]===0;w--)n++;if(w>=0&&n++,y=y.dblp(n),w<0)break;var z=_[w];d(z!==0),l.type==="affine"?z>0?y=y.mixedAdd(g[z-1>>1]):y=y.mixedAdd(g[-z-1>>1].neg()):z>0?y=y.add(g[z-1>>1]):y=y.add(g[-z-1>>1].neg())}return l.type==="affine"?y.toP():y},"_wnafMul"),p.prototype._wnafMulAdd=f(function(l,n,s,v,g){for(var _=this._wnafT1,y=this._wnafT2,w=this._wnafT3,z=0,E=0;E<v;E++){var N=n[E],q=N._getNAFPoints(l);_[E]=q.wnd,y[E]=q.points}for(var E=v-1;E>=1;E-=2){var L=E-1,H=E;if(_[L]!==1||_[H]!==1){w[L]=M(s[L],_[L],this._bitLength),w[H]=M(s[H],_[H],this._bitLength),z=Math.max(w[L].length,z),z=Math.max(w[H].length,z);continue}var T=[n[L],null,null,n[H]];n[L].y.cmp(n[H].y)===0?(T[1]=n[L].add(n[H]),T[2]=n[L].toJ().mixedAdd(n[H].neg())):n[L].y.cmp(n[H].y.redNeg())===0?(T[1]=n[L].toJ().mixedAdd(n[H]),T[2]=n[L].add(n[H].neg())):(T[1]=n[L].toJ().mixedAdd(n[H]),T[2]=n[L].toJ().mixedAdd(n[H].neg()));var k=[-3,-1,-5,-7,0,7,5,1,3],W=A(s[L],s[H]);z=Math.max(W[0].length,z),w[L]=new Array(z),w[H]=new Array(z);for(var K=0;K<z;K++){var G=W[0][K]|0,Z=W[1][K]|0;w[L][K]=k[(G+1)*3+(Z+1)],w[H][K]=0,y[L]=T}}for(var R=this.jpoint(null,null,null),c=this._wnafT4,E=z;E>=0;E--){for(var e=0;E>=0;){for(var r=!0,K=0;K<v;K++)c[K]=w[K][E]|0,c[K]!==0&&(r=!1);if(!r)break;e++,E--}if(E>=0&&e++,R=R.dblp(e),E<0)break;for(var K=0;K<v;K++){var a=c[K],N;a!==0&&(a>0?N=y[K][a-1>>1]:a<0&&(N=y[K][-a-1>>1].neg()),N.type==="affine"?R=R.mixedAdd(N):R=R.add(N))}}for(var E=0;E<v;E++)y[E]=null;return g?R:R.toP()},"_wnafMulAdd");function B(S,l){this.curve=S,this.type=l,this.precomputed=null}f(B,"BasePoint"),p.BasePoint=B,B.prototype.eq=f(function(){throw new Error("Not implemented")},"eq"),B.prototype.validate=f(function(){return this.curve.validate(this)},"validate"),p.prototype.decodePoint=f(function(l,n){l=P.toArray(l,n);var s=this.p.byteLength();if((l[0]===4||l[0]===6||l[0]===7)&&l.length-1===2*s){l[0]===6?d(l[l.length-1]%2===0):l[0]===7&&d(l[l.length-1]%2===1);var v=this.point(l.slice(1,1+s),l.slice(1+s,1+2*s));return v}else if((l[0]===2||l[0]===3)&&l.length-1===s)return this.pointFromX(l.slice(1,1+s),l[0]===3);throw new Error("Unknown point format")},"decodePoint"),B.prototype.encodeCompressed=f(function(l){return this.encode(l,!0)},"encodeCompressed"),B.prototype._encode=f(function(l){var n=this.curve.p.byteLength(),s=this.getX().toArray("be",n);return l?[this.getY().isEven()?2:3].concat(s):[4].concat(s,this.getY().toArray("be",n))},"_encode"),B.prototype.encode=f(function(l,n){return P.encode(this._encode(n),l)},"encode"),B.prototype.precompute=f(function(l){if(this.precomputed)return this;var n={doubles:null,naf:null,beta:null};return n.naf=this._getNAFPoints(8),n.doubles=this._getDoubles(4,l),n.beta=this._getBeta(),this.precomputed=n,this},"precompute"),B.prototype._hasDoubles=f(function(l){if(!this.precomputed)return!1;var n=this.precomputed.doubles;return n?n.points.length>=Math.ceil((l.bitLength()+1)/n.step):!1},"_hasDoubles"),B.prototype._getDoubles=f(function(l,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var s=[this],v=this,g=0;g<n;g+=l){for(var _=0;_<l;_++)v=v.dbl();s.push(v)}return{step:l,points:s}},"_getDoubles"),B.prototype._getNAFPoints=f(function(l){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var n=[this],s=(1<<l)-1,v=s===1?null:this.dbl(),g=1;g<s;g++)n[g]=n[g-1].add(v);return{wnd:l,points:n}},"_getNAFPoints"),B.prototype._getBeta=f(function(){return null},"_getBeta"),B.prototype.dblp=f(function(l){for(var n=this,s=0;s<l;s++)n=n.dbl();return n},"dblp")},104:(U,F,I)=>{"use strict";var m=F;m.base=I(15),m.short=I(505)},505:(U,F,I)=>{"use strict";var m=I(359),P=I(550),M=I(378),A=I(15),d=m.assert;function p(l){A.call(this,"short",l),this.a=new P(l.a,16).toRed(this.red),this.b=new P(l.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(l),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}f(p,"ShortCurve"),M(p,A),U.exports=p,p.prototype._getEndomorphism=f(function(n){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var s,v;if(n.beta)s=new P(n.beta,16).toRed(this.red);else{var g=this._getEndoRoots(this.p);s=g[0].cmp(g[1])<0?g[0]:g[1],s=s.toRed(this.red)}if(n.lambda)v=new P(n.lambda,16);else{var _=this._getEndoRoots(this.n);this.g.mul(_[0]).x.cmp(this.g.x.redMul(s))===0?v=_[0]:(v=_[1],d(this.g.mul(v).x.cmp(this.g.x.redMul(s))===0))}var y;return n.basis?y=n.basis.map(function(w){return{a:new P(w.a,16),b:new P(w.b,16)}}):y=this._getEndoBasis(v),{beta:s,lambda:v,basis:y}}},"_getEndomorphism"),p.prototype._getEndoRoots=f(function(n){var s=n===this.p?this.red:P.mont(n),v=new P(2).toRed(s).redInvm(),g=v.redNeg(),_=new P(3).toRed(s).redNeg().redSqrt().redMul(v),y=g.redAdd(_).fromRed(),w=g.redSub(_).fromRed();return[y,w]},"_getEndoRoots"),p.prototype._getEndoBasis=f(function(n){for(var s=this.n.ushrn(Math.floor(this.n.bitLength()/2)),v=n,g=this.n.clone(),_=new P(1),y=new P(0),w=new P(0),z=new P(1),E,N,q,L,H,T,k,W=0,K,G;v.cmpn(0)!==0;){var Z=g.div(v);K=g.sub(Z.mul(v)),G=w.sub(Z.mul(_));var R=z.sub(Z.mul(y));if(!q&&K.cmp(s)<0)E=k.neg(),N=_,q=K.neg(),L=G;else if(q&&++W===2)break;k=K,g=v,v=K,w=_,_=G,z=y,y=R}H=K.neg(),T=G;var c=q.sqr().add(L.sqr()),e=H.sqr().add(T.sqr());return e.cmp(c)>=0&&(H=E,T=N),q.negative&&(q=q.neg(),L=L.neg()),H.negative&&(H=H.neg(),T=T.neg()),[{a:q,b:L},{a:H,b:T}]},"_getEndoBasis"),p.prototype._endoSplit=f(function(n){var s=this.endo.basis,v=s[0],g=s[1],_=g.b.mul(n).divRound(this.n),y=v.b.neg().mul(n).divRound(this.n),w=_.mul(v.a),z=y.mul(g.a),E=_.mul(v.b),N=y.mul(g.b),q=n.sub(w).sub(z),L=E.add(N).neg();return{k1:q,k2:L}},"_endoSplit"),p.prototype.pointFromX=f(function(n,s){n=new P(n,16),n.red||(n=n.toRed(this.red));var v=n.redSqr().redMul(n).redIAdd(n.redMul(this.a)).redIAdd(this.b),g=v.redSqrt();if(g.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var _=g.fromRed().isOdd();return(s&&!_||!s&&_)&&(g=g.redNeg()),this.point(n,g)},"pointFromX"),p.prototype.validate=f(function(n){if(n.inf)return!0;var s=n.x,v=n.y,g=this.a.redMul(s),_=s.redSqr().redMul(s).redIAdd(g).redIAdd(this.b);return v.redSqr().redISub(_).cmpn(0)===0},"validate"),p.prototype._endoWnafMulAdd=f(function(n,s,v){for(var g=this._endoWnafT1,_=this._endoWnafT2,y=0;y<n.length;y++){var w=this._endoSplit(s[y]),z=n[y],E=z._getBeta();w.k1.negative&&(w.k1.ineg(),z=z.neg(!0)),w.k2.negative&&(w.k2.ineg(),E=E.neg(!0)),g[y*2]=z,g[y*2+1]=E,_[y*2]=w.k1,_[y*2+1]=w.k2}for(var N=this._wnafMulAdd(1,g,_,y*2,v),q=0;q<y*2;q++)g[q]=null,_[q]=null;return N},"_endoWnafMulAdd");function B(l,n,s,v){A.BasePoint.call(this,l,"affine"),n===null&&s===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new P(n,16),this.y=new P(s,16),v&&(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)}f(B,"Point"),M(B,A.BasePoint),p.prototype.point=f(function(n,s,v){return new B(this,n,s,v)},"point"),p.prototype.pointFromJSON=f(function(n,s){return B.fromJSON(this,n,s)},"pointFromJSON"),B.prototype._getBeta=f(function(){if(this.curve.endo){var n=this.precomputed;if(n&&n.beta)return n.beta;var s=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(n){var v=this.curve,g=f(function(_){return v.point(_.x.redMul(v.endo.beta),_.y)},"endoMul");n.beta=s,s.precomputed={beta:null,naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(g)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(g)}}}return s}},"_getBeta"),B.prototype.toJSON=f(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"),B.fromJSON=f(function(n,s,v){typeof s=="string"&&(s=JSON.parse(s));var g=n.point(s[0],s[1],v);if(!s[2])return g;function _(w){return n.point(w[0],w[1],v)}f(_,"obj2point");var y=s[2];return g.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[g].concat(y.doubles.points.map(_))},naf:y.naf&&{wnd:y.naf.wnd,points:[g].concat(y.naf.points.map(_))}},g},"fromJSON"),B.prototype.inspect=f(function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},"inspect"),B.prototype.isInfinity=f(function(){return this.inf},"isInfinity"),B.prototype.add=f(function(n){if(this.inf)return n;if(n.inf)return this;if(this.eq(n))return this.dbl();if(this.neg().eq(n))return this.curve.point(null,null);if(this.x.cmp(n.x)===0)return this.curve.point(null,null);var s=this.y.redSub(n.y);s.cmpn(0)!==0&&(s=s.redMul(this.x.redSub(n.x).redInvm()));var v=s.redSqr().redISub(this.x).redISub(n.x),g=s.redMul(this.x.redSub(v)).redISub(this.y);return this.curve.point(v,g)},"add"),B.prototype.dbl=f(function(){if(this.inf)return this;var n=this.y.redAdd(this.y);if(n.cmpn(0)===0)return this.curve.point(null,null);var s=this.curve.a,v=this.x.redSqr(),g=n.redInvm(),_=v.redAdd(v).redIAdd(v).redIAdd(s).redMul(g),y=_.redSqr().redISub(this.x.redAdd(this.x)),w=_.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,w)},"dbl"),B.prototype.getX=f(function(){return this.x.fromRed()},"getX"),B.prototype.getY=f(function(){return this.y.fromRed()},"getY"),B.prototype.mul=f(function(n){return n=new P(n,16),this.isInfinity()?this:this._hasDoubles(n)?this.curve._fixedNafMul(this,n):this.curve.endo?this.curve._endoWnafMulAdd([this],[n]):this.curve._wnafMul(this,n)},"mul"),B.prototype.mulAdd=f(function(n,s,v){var g=[this,s],_=[n,v];return this.curve.endo?this.curve._endoWnafMulAdd(g,_):this.curve._wnafMulAdd(1,g,_,2)},"mulAdd"),B.prototype.jmulAdd=f(function(n,s,v){var g=[this,s],_=[n,v];return this.curve.endo?this.curve._endoWnafMulAdd(g,_,!0):this.curve._wnafMulAdd(1,g,_,2,!0)},"jmulAdd"),B.prototype.eq=f(function(n){return this===n||this.inf===n.inf&&(this.inf||this.x.cmp(n.x)===0&&this.y.cmp(n.y)===0)},"eq"),B.prototype.neg=f(function(n){if(this.inf)return this;var s=this.curve.point(this.x,this.y.redNeg());if(n&&this.precomputed){var v=this.precomputed,g=f(function(_){return _.neg()},"negate");s.precomputed={naf:v.naf&&{wnd:v.naf.wnd,points:v.naf.points.map(g)},doubles:v.doubles&&{step:v.doubles.step,points:v.doubles.points.map(g)}}}return s},"neg"),B.prototype.toJ=f(function(){if(this.inf)return this.curve.jpoint(null,null,null);var n=this.curve.jpoint(this.x,this.y,this.curve.one);return n},"toJ");function S(l,n,s,v){A.BasePoint.call(this,l,"jacobian"),n===null&&s===null&&v===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new P(0)):(this.x=new P(n,16),this.y=new P(s,16),this.z=new P(v,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}f(S,"JPoint"),M(S,A.BasePoint),p.prototype.jpoint=f(function(n,s,v){return new S(this,n,s,v)},"jpoint"),S.prototype.toP=f(function(){if(this.isInfinity())return this.curve.point(null,null);var n=this.z.redInvm(),s=n.redSqr(),v=this.x.redMul(s),g=this.y.redMul(s).redMul(n);return this.curve.point(v,g)},"toP"),S.prototype.neg=f(function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},"neg"),S.prototype.add=f(function(n){if(this.isInfinity())return n;if(n.isInfinity())return this;var s=n.z.redSqr(),v=this.z.redSqr(),g=this.x.redMul(s),_=n.x.redMul(v),y=this.y.redMul(s.redMul(n.z)),w=n.y.redMul(v.redMul(this.z)),z=g.redSub(_),E=y.redSub(w);if(z.cmpn(0)===0)return E.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var N=z.redSqr(),q=N.redMul(z),L=g.redMul(N),H=E.redSqr().redIAdd(q).redISub(L).redISub(L),T=E.redMul(L.redISub(H)).redISub(y.redMul(q)),k=this.z.redMul(n.z).redMul(z);return this.curve.jpoint(H,T,k)},"add"),S.prototype.mixedAdd=f(function(n){if(this.isInfinity())return n.toJ();if(n.isInfinity())return this;var s=this.z.redSqr(),v=this.x,g=n.x.redMul(s),_=this.y,y=n.y.redMul(s).redMul(this.z),w=v.redSub(g),z=_.redSub(y);if(w.cmpn(0)===0)return z.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var E=w.redSqr(),N=E.redMul(w),q=v.redMul(E),L=z.redSqr().redIAdd(N).redISub(q).redISub(q),H=z.redMul(q.redISub(L)).redISub(_.redMul(N)),T=this.z.redMul(w);return this.curve.jpoint(L,H,T)},"mixedAdd"),S.prototype.dblp=f(function(n){if(n===0)return this;if(this.isInfinity())return this;if(!n)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var s=this,v=0;v<n;v++)s=s.dbl();return s}for(var g=this.curve.a,_=this.curve.tinv,y=this.x,w=this.y,z=this.z,E=z.redSqr().redSqr(),N=w.redAdd(w),v=0;v<n;v++){var q=y.redSqr(),L=N.redSqr(),H=L.redSqr(),T=q.redAdd(q).redIAdd(q).redIAdd(g.redMul(E)),k=y.redMul(L),W=T.redSqr().redISub(k.redAdd(k)),K=k.redISub(W),G=T.redMul(K);G=G.redIAdd(G).redISub(H);var Z=N.redMul(z);v+1<n&&(E=E.redMul(H)),y=W,z=Z,N=G}return this.curve.jpoint(y,N.redMul(_),z)},"dblp"),S.prototype.dbl=f(function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},"dbl"),S.prototype._zeroDbl=f(function(){var n,s,v;if(this.zOne){var g=this.x.redSqr(),_=this.y.redSqr(),y=_.redSqr(),w=this.x.redAdd(_).redSqr().redISub(g).redISub(y);w=w.redIAdd(w);var z=g.redAdd(g).redIAdd(g),E=z.redSqr().redISub(w).redISub(w),N=y.redIAdd(y);N=N.redIAdd(N),N=N.redIAdd(N),n=E,s=z.redMul(w.redISub(E)).redISub(N),v=this.y.redAdd(this.y)}else{var q=this.x.redSqr(),L=this.y.redSqr(),H=L.redSqr(),T=this.x.redAdd(L).redSqr().redISub(q).redISub(H);T=T.redIAdd(T);var k=q.redAdd(q).redIAdd(q),W=k.redSqr(),K=H.redIAdd(H);K=K.redIAdd(K),K=K.redIAdd(K),n=W.redISub(T).redISub(T),s=k.redMul(T.redISub(n)).redISub(K),v=this.y.redMul(this.z),v=v.redIAdd(v)}return this.curve.jpoint(n,s,v)},"_zeroDbl"),S.prototype._threeDbl=f(function(){var n,s,v;if(this.zOne){var g=this.x.redSqr(),_=this.y.redSqr(),y=_.redSqr(),w=this.x.redAdd(_).redSqr().redISub(g).redISub(y);w=w.redIAdd(w);var z=g.redAdd(g).redIAdd(g).redIAdd(this.curve.a),E=z.redSqr().redISub(w).redISub(w);n=E;var N=y.redIAdd(y);N=N.redIAdd(N),N=N.redIAdd(N),s=z.redMul(w.redISub(E)).redISub(N),v=this.y.redAdd(this.y)}else{var q=this.z.redSqr(),L=this.y.redSqr(),H=this.x.redMul(L),T=this.x.redSub(q).redMul(this.x.redAdd(q));T=T.redAdd(T).redIAdd(T);var k=H.redIAdd(H);k=k.redIAdd(k);var W=k.redAdd(k);n=T.redSqr().redISub(W),v=this.y.redAdd(this.z).redSqr().redISub(L).redISub(q);var K=L.redSqr();K=K.redIAdd(K),K=K.redIAdd(K),K=K.redIAdd(K),s=T.redMul(k.redISub(n)).redISub(K)}return this.curve.jpoint(n,s,v)},"_threeDbl"),S.prototype._dbl=f(function(){var n=this.curve.a,s=this.x,v=this.y,g=this.z,_=g.redSqr().redSqr(),y=s.redSqr(),w=v.redSqr(),z=y.redAdd(y).redIAdd(y).redIAdd(n.redMul(_)),E=s.redAdd(s);E=E.redIAdd(E);var N=E.redMul(w),q=z.redSqr().redISub(N.redAdd(N)),L=N.redISub(q),H=w.redSqr();H=H.redIAdd(H),H=H.redIAdd(H),H=H.redIAdd(H);var T=z.redMul(L).redISub(H),k=v.redAdd(v).redMul(g);return this.curve.jpoint(q,T,k)},"_dbl"),S.prototype.trpl=f(function(){if(!this.curve.zeroA)return this.dbl().add(this);var n=this.x.redSqr(),s=this.y.redSqr(),v=this.z.redSqr(),g=s.redSqr(),_=n.redAdd(n).redIAdd(n),y=_.redSqr(),w=this.x.redAdd(s).redSqr().redISub(n).redISub(g);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var z=w.redSqr(),E=g.redIAdd(g);E=E.redIAdd(E),E=E.redIAdd(E),E=E.redIAdd(E);var N=_.redIAdd(w).redSqr().redISub(y).redISub(z).redISub(E),q=s.redMul(N);q=q.redIAdd(q),q=q.redIAdd(q);var L=this.x.redMul(z).redISub(q);L=L.redIAdd(L),L=L.redIAdd(L);var H=this.y.redMul(N.redMul(E.redISub(N)).redISub(w.redMul(z)));H=H.redIAdd(H),H=H.redIAdd(H),H=H.redIAdd(H);var T=this.z.redAdd(w).redSqr().redISub(v).redISub(z);return this.curve.jpoint(L,H,T)},"trpl"),S.prototype.mul=f(function(n,s){return n=new P(n,s),this.curve._wnafMul(this,n)},"mul"),S.prototype.eq=f(function(n){if(n.type==="affine")return this.eq(n.toJ());if(this===n)return!0;var s=this.z.redSqr(),v=n.z.redSqr();if(this.x.redMul(v).redISub(n.x.redMul(s)).cmpn(0)!==0)return!1;var g=s.redMul(this.z),_=v.redMul(n.z);return this.y.redMul(_).redISub(n.y.redMul(g)).cmpn(0)===0},"eq"),S.prototype.eqXToP=f(function(n){var s=this.z.redSqr(),v=n.toRed(this.curve.red).redMul(s);if(this.x.cmp(v)===0)return!0;for(var g=n.clone(),_=this.curve.redN.redMul(s);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)>=0)return!1;if(v.redIAdd(_),this.x.cmp(v)===0)return!0}},"eqXToP"),S.prototype.inspect=f(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"),S.prototype.isInfinity=f(function(){return this.z.cmpn(0)===0},"isInfinity")},626:(U,F,I)=>{"use strict";var m=F,P=I(715),M=I(104),A=I(359),d=A.assert;function p(l){if(l.type!=="short")throw new Error("invalid curve type");this.curve=new M.short(l),this.g=this.curve.g,this.n=this.curve.n,this.hash=l.hash,d(this.g.validate(),"Invalid curve"),d(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}f(p,"PresetCurve"),m.PresetCurve=p;function B(l,n){Object.defineProperty(m,l,{configurable:!0,enumerable:!0,get:function(){var s=new p(n);return Object.defineProperty(m,l,{configurable:!0,enumerable:!0,value:s}),s}})}f(B,"defineCurve");var S;try{S=I(59)}catch{S=void 0}B("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:P.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",S]})},630:(U,F,I)=>{"use strict";var m=I(550),P=I(156),M=I(359),A=I(626),d=I(931),p=M.assert,B=I(119),S=I(911);function l(n){if(!(this instanceof l))return new l(n);typeof n=="string"&&(p(A.hasOwnProperty(n),"Unknown curve "+n),n=A[n]),n instanceof A.PresetCurve&&(n={curve:n}),this.curve=n.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=n.curve.g,this.g.precompute(n.curve.n.bitLength()+1),this.hash=n.hash||n.curve.hash}f(l,"EC"),U.exports=l,l.prototype.keyPair=f(function(s){return new B(this,s)},"keyPair"),l.prototype.keyFromPrivate=f(function(s,v){return B.fromPrivate(this,s,v)},"keyFromPrivate"),l.prototype.keyFromPublic=f(function(s,v){return B.fromPublic(this,s,v)},"keyFromPublic"),l.prototype.genKeyPair=f(function(s){s||(s={});var v=new P({hash:this.hash,pers:s.pers,persEnc:s.persEnc||"utf8",entropy:s.entropy||d(this.hash.hmacStrength),entropyEnc:s.entropy&&s.entropyEnc||"utf8",nonce:this.n.toArray()}),g=this.n.byteLength(),_=this.n.sub(new m(2));do{var y=new m(v.generate(g));if(!(y.cmp(_)>0))return y.iaddn(1),this.keyFromPrivate(y)}while(!0)},"genKeyPair"),l.prototype._truncateToN=f(function(s,v){var g=s.byteLength()*8-this.n.bitLength();return g>0&&(s=s.ushrn(g)),!v&&s.cmp(this.n)>=0?s.sub(this.n):s},"truncateToN"),l.prototype.sign=f(function(s,v,g,_){typeof g=="object"&&(_=g,g=null),_||(_={}),v=this.keyFromPrivate(v,g),s=this._truncateToN(new m(s,16));for(var y=this.n.byteLength(),w=v.getPrivate().toArray("be",y),z=s.toArray("be",y),E=new P({hash:this.hash,entropy:w,nonce:z,pers:_.pers,persEnc:_.persEnc||"utf8"}),N=this.n.sub(new m(1)),q=0;;q++){var L=_.k?_.k(q):new m(E.generate(this.n.byteLength()));if(L=this._truncateToN(L,!0),!(L.cmpn(1)<=0||L.cmp(N)>=0)){var H=this.g.mul(L);if(!H.isInfinity()){var T=H.getX(),k=T.umod(this.n);if(k.cmpn(0)!==0){var W=L.invm(this.n).mul(k.mul(v.getPrivate()).iadd(s));if(W=W.umod(this.n),W.cmpn(0)!==0){var K=(H.getY().isOdd()?1:0)|(T.cmp(k)!==0?2:0);return _.canonical&&W.cmp(this.nh)>0&&(W=this.n.sub(W),K^=1),new S({r:k,s:W,recoveryParam:K})}}}}}},"sign"),l.prototype.verify=f(function(s,v,g,_){s=this._truncateToN(new m(s,16)),g=this.keyFromPublic(g,_),v=new S(v,"hex");var y=v.r,w=v.s;if(y.cmpn(1)<0||y.cmp(this.n)>=0||w.cmpn(1)<0||w.cmp(this.n)>=0)return!1;var z=w.invm(this.n),E=z.mul(s).umod(this.n),N=z.mul(y).umod(this.n);if(!this.curve._maxwellTrick){var q=this.g.mulAdd(E,g.getPublic(),N);return q.isInfinity()?!1:q.getX().umod(this.n).cmp(y)===0}var q=this.g.jmulAdd(E,g.getPublic(),N);return q.isInfinity()?!1:q.eqXToP(y)},"verify"),l.prototype.recoverPubKey=function(n,s,v,g){p((3&v)===v,"The recovery param is more than two bits"),s=new S(s,g);var _=this.n,y=new m(n),w=s.r,z=s.s,E=v&1,N=v>>1;if(w.cmp(this.curve.p.umod(this.curve.n))>=0&&N)throw new Error("Unable to find sencond key candinate");N?w=this.curve.pointFromX(w.add(this.curve.n),E):w=this.curve.pointFromX(w,E);var q=s.r.invm(_),L=_.sub(y).mul(q).umod(_),H=z.mul(q).umod(_);return this.g.mulAdd(L,w,H)},l.prototype.getKeyRecoveryParam=function(n,s,v,g){if(s=new S(s,g),s.recoveryParam!==null)return s.recoveryParam;for(var _=0;_<4;_++){var y;try{y=this.recoverPubKey(n,s,_)}catch{continue}if(y.eq(v))return _}throw new Error("Unable to find valid recovery factor")}},119:(U,F,I)=>{"use strict";var m=I(550),P=I(359),M=P.assert;function A(d,p){this.ec=d,this.priv=null,this.pub=null,p.priv&&this._importPrivate(p.priv,p.privEnc),p.pub&&this._importPublic(p.pub,p.pubEnc)}f(A,"KeyPair"),U.exports=A,A.fromPublic=f(function(p,B,S){return B instanceof A?B:new A(p,{pub:B,pubEnc:S})},"fromPublic"),A.fromPrivate=f(function(p,B,S){return B instanceof A?B:new A(p,{priv:B,privEnc:S})},"fromPrivate"),A.prototype.validate=f(function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.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"),A.prototype.getPublic=f(function(p,B){return typeof p=="string"&&(B=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),B?this.pub.encode(B,p):this.pub},"getPublic"),A.prototype.getPrivate=f(function(p){return p==="hex"?this.priv.toString(16,2):this.priv},"getPrivate"),A.prototype._importPrivate=f(function(p,B){this.priv=new m(p,B||16),this.priv=this.priv.umod(this.ec.curve.n)},"_importPrivate"),A.prototype._importPublic=f(function(p,B){if(p.x||p.y){this.ec.curve.type==="mont"?M(p.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&M(p.x&&p.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(p.x,p.y);return}this.pub=this.ec.curve.decodePoint(p,B)},"_importPublic"),A.prototype.derive=f(function(p){return p.mul(this.priv).getX()},"derive"),A.prototype.sign=f(function(p,B,S){return this.ec.sign(p,this,B,S)},"sign"),A.prototype.verify=f(function(p,B){return this.ec.verify(p,B,this)},"verify"),A.prototype.inspect=f(function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},"inspect")},911:(U,F,I)=>{"use strict";var m=I(550),P=I(359),M=P.assert;function A(l,n){if(l instanceof A)return l;this._importDER(l,n)||(M(l.r&&l.s,"Signature without r or s"),this.r=new m(l.r,16),this.s=new m(l.s,16),l.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=l.recoveryParam)}f(A,"Signature"),U.exports=A;function d(){this.place=0}f(d,"Position");function p(l,n){var s=l[n.place++];if(!(s&128))return s;for(var v=s&15,g=0,_=0,y=n.place;_<v;_++,y++)g<<=8,g|=l[y];return n.place=y,g}f(p,"getLength");function B(l){for(var n=0,s=l.length-1;!l[n]&&!(l[n+1]&128)&&n<s;)n++;return n===0?l:l.slice(n)}f(B,"rmPadding"),A.prototype._importDER=f(function(n,s){n=P.toArray(n,s);var v=new d;if(n[v.place++]!==48)return!1;var g=p(n,v);if(g+v.place!==n.length||n[v.place++]!==2)return!1;var _=p(n,v),y=n.slice(v.place,_+v.place);if(v.place+=_,n[v.place++]!==2)return!1;var w=p(n,v);if(n.length!==w+v.place)return!1;var z=n.slice(v.place,w+v.place);return y[0]===0&&y[1]&128&&(y=y.slice(1)),z[0]===0&&z[1]&128&&(z=z.slice(1)),this.r=new m(y),this.s=new m(z),this.recoveryParam=null,!0},"_importDER");function S(l,n){if(n<128){l.push(n);return}var s=1+(Math.log(n)/Math.LN2>>>3);for(l.push(s|128);--s;)l.push(n>>>(s<<3)&255);l.push(n)}f(S,"constructLength"),A.prototype.toDER=f(function(n){var s=this.r.toArray(),v=this.s.toArray();for(s[0]&128&&(s=[0].concat(s)),v[0]&128&&(v=[0].concat(v)),s=B(s),v=B(v);!v[0]&&!(v[1]&128);)v=v.slice(1);var g=[2];S(g,s.length),g=g.concat(s),g.push(2),S(g,v.length);var _=g.concat(v),y=[48];return S(y,_.length),y=y.concat(_),P.encode(y,n)},"toDER")},59:U=>{U.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"]]}}},359:(U,F,I)=>{"use strict";var m=F,P=I(550),M=I(746),A=I(504);m.assert=M,m.toArray=A.toArray,m.zero2=A.zero2,m.toHex=A.toHex,m.encode=A.encode;function d(n,s,v){var g=new Array(Math.max(n.bitLength(),v)+1);g.fill(0);for(var _=1<<s+1,y=n.clone(),w=0;w<g.length;w++){var z,E=y.andln(_-1);y.isOdd()?(E>(_>>1)-1?z=(_>>1)-E:z=E,y.isubn(z)):z=0,g[w]=z,y.iushrn(1)}return g}f(d,"getNAF"),m.getNAF=d;function p(n,s){var v=[[],[]];n=n.clone(),s=s.clone();for(var g=0,_=0;n.cmpn(-g)>0||s.cmpn(-_)>0;){var y=n.andln(3)+g&3,w=s.andln(3)+_&3;y===3&&(y=-1),w===3&&(w=-1);var z;if(!(y&1))z=0;else{var E=n.andln(7)+g&7;(E===3||E===5)&&w===2?z=-y:z=y}v[0].push(z);var N;if(!(w&1))N=0;else{var E=s.andln(7)+_&7;(E===3||E===5)&&y===2?N=-w:N=w}v[1].push(N),2*g===z+1&&(g=1-g),2*_===N+1&&(_=1-_),n.iushrn(1),s.iushrn(1)}return v}f(p,"getJSF"),m.getJSF=p;function B(n,s,v){var g="_"+s;n.prototype[s]=f(function(){return this[g]!==void 0?this[g]:this[g]=v.call(this)},"cachedProperty")}f(B,"cachedProperty"),m.cachedProperty=B;function S(n){return typeof n=="string"?m.toArray(n,"hex"):n}f(S,"parseBytes"),m.parseBytes=S;function l(n){return new P(n,"hex","le")}f(l,"intFromLE"),m.intFromLE=l},550:function(U,F,I){U=I.nmd(U),function(m,P){"use strict";function M(c,e){if(!c)throw new Error(e||"Assertion failed")}f(M,"assert");function A(c,e){c.super_=e;var r=f(function(){},"TempCtor");r.prototype=e.prototype,c.prototype=new r,c.prototype.constructor=c}f(A,"inherits");function d(c,e,r){if(d.isBN(c))return c;this.negative=0,this.words=null,this.length=0,this.red=null,c!==null&&((e==="le"||e==="be")&&(r=e,e=10),this._init(c||0,e||10,r||"be"))}f(d,"BN"),typeof m=="object"?m.exports=d:P.BN=d,d.BN=d,d.wordSize=26;var p;try{typeof window<"u"&&typeof window.Buffer<"u"?p=window.Buffer:p=I(300).Buffer}catch{}d.isBN=f(function(e){return e instanceof d?!0:e!==null&&typeof e=="object"&&e.constructor.wordSize===d.wordSize&&Array.isArray(e.words)},"isBN"),d.max=f(function(e,r){return e.cmp(r)>0?e:r},"max"),d.min=f(function(e,r){return e.cmp(r)<0?e:r},"min"),d.prototype._init=f(function(e,r,a){if(typeof e=="number")return this._initNumber(e,r,a);if(typeof e=="object")return this._initArray(e,r,a);r==="hex"&&(r=16),M(r===(r|0)&&r>=2&&r<=36),e=e.toString().replace(/\s+/g,"");var i=0;e[0]==="-"&&(i++,this.negative=1),i<e.length&&(r===16?this._parseHex(e,i,a):(this._parseBase(e,r,i),a==="le"&&this._initArray(this.toArray(),r,a)))},"init"),d.prototype._initNumber=f(function(e,r,a){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[e&67108863],this.length=1):e<4503599627370496?(this.words=[e&67108863,e/67108864&67108863],this.length=2):(M(e<9007199254740992),this.words=[e&67108863,e/67108864&67108863,1],this.length=3),a==="le"&&this._initArray(this.toArray(),r,a)},"_initNumber"),d.prototype._initArray=f(function(e,r,a){if(M(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var h,b,x=0;if(a==="be")for(i=e.length-1,h=0;i>=0;i-=3)b=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[h]|=b<<x&67108863,this.words[h+1]=b>>>26-x&67108863,x+=24,x>=26&&(x-=26,h++);else if(a==="le")for(i=0,h=0;i<e.length;i+=3)b=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[h]|=b<<x&67108863,this.words[h+1]=b>>>26-x&67108863,x+=24,x>=26&&(x-=26,h++);return this._strip()},"_initArray");function B(c,e){var r=c.charCodeAt(e);if(r>=48&&r<=57)return r-48;if(r>=65&&r<=70)return r-55;if(r>=97&&r<=102)return r-87;M(!1,"Invalid character in "+c)}f(B,"parseHex4Bits");function S(c,e,r){var a=B(c,r);return r-1>=e&&(a|=B(c,r-1)<<4),a}f(S,"parseHexByte"),d.prototype._parseHex=f(function(e,r,a){this.length=Math.ceil((e.length-r)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var h=0,b=0,x;if(a==="be")for(i=e.length-1;i>=r;i-=2)x=S(e,r,i)<<h,this.words[b]|=x&67108863,h>=18?(h-=18,b+=1,this.words[b]|=x>>>26):h+=8;else{var o=e.length-r;for(i=o%2===0?r+1:r;i<e.length;i+=2)x=S(e,r,i)<<h,this.words[b]|=x&67108863,h>=18?(h-=18,b+=1,this.words[b]|=x>>>26):h+=8}this._strip()},"_parseHex");function l(c,e,r,a){for(var i=0,h=0,b=Math.min(c.length,r),x=e;x<b;x++){var o=c.charCodeAt(x)-48;i*=a,o>=49?h=o-49+10:o>=17?h=o-17+10:h=o,M(o>=0&&h<a,"Invalid character"),i+=h}return i}f(l,"parseBase"),d.prototype._parseBase=f(function(e,r,a){this.words=[0],this.length=1;for(var i=0,h=1;h<=67108863;h*=r)i++;i--,h=h/r|0;for(var b=e.length-a,x=b%i,o=Math.min(b,b-x)+a,t=0,u=a;u<o;u+=i)t=l(e,u,u+i,r),this.imuln(h),this.words[0]+t<67108864?this.words[0]+=t:this._iaddn(t);if(x!==0){var O=1;for(t=l(e,u,e.length,r),u=0;u<x;u++)O*=r;this.imuln(O),this.words[0]+t<67108864?this.words[0]+=t:this._iaddn(t)}this._strip()},"_parseBase"),d.prototype.copy=f(function(e){e.words=new Array(this.length);for(var r=0;r<this.length;r++)e.words[r]=this.words[r];e.length=this.length,e.negative=this.negative,e.red=this.red},"copy");function n(c,e){c.words=e.words,c.length=e.length,c.negative=e.negative,c.red=e.red}if(f(n,"move"),d.prototype._move=f(function(e){n(e,this)},"_move"),d.prototype.clone=f(function(){var e=new d(null);return this.copy(e),e},"clone"),d.prototype._expand=f(function(e){for(;this.length<e;)this.words[this.length++]=0;return this},"_expand"),d.prototype._strip=f(function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},"strip"),d.prototype._normSign=f(function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},"_normSign"),typeof Symbol<"u"&&typeof Symbol.for=="function")try{d.prototype[Symbol.for("nodejs.util.inspect.custom")]=s}catch{d.prototype.inspect=s}else d.prototype.inspect=s;function s(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}f(s,"inspect");var v=["","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"],g=[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],_=[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];d.prototype.toString=f(function(e,r){e=e||10,r=r|0||1;var a;if(e===16||e==="hex"){a="";for(var i=0,h=0,b=0;b<this.length;b++){var x=this.words[b],o=((x<<i|h)&16777215).toString(16);h=x>>>24-i&16777215,i+=2,i>=26&&(i-=26,b--),h!==0||b!==this.length-1?a=v[6-o.length]+o+a:a=o+a}for(h!==0&&(a=h.toString(16)+a);a.length%r!==0;)a="0"+a;return this.negative!==0&&(a="-"+a),a}if(e===(e|0)&&e>=2&&e<=36){var t=g[e],u=_[e];a="";var O=this.clone();for(O.negative=0;!O.isZero();){var D=O.modrn(u).toString(e);O=O.idivn(u),O.isZero()?a=D+a:a=v[t-D.length]+D+a}for(this.isZero()&&(a="0"+a);a.length%r!==0;)a="0"+a;return this.negative!==0&&(a="-"+a),a}M(!1,"Base should be between 2 and 36")},"toString"),d.prototype.toNumber=f(function(){var e=this.words[0];return this.length===2?e+=this.words[1]*67108864:this.length===3&&this.words[2]===1?e+=4503599627370496+this.words[1]*67108864:this.length>2&&M(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},"toNumber"),d.prototype.toJSON=f(function(){return this.toString(16,2)},"toJSON"),p&&(d.prototype.toBuffer=f(function(e,r){return this.toArrayLike(p,e,r)},"toBuffer")),d.prototype.toArray=f(function(e,r){return this.toArrayLike(Array,e,r)},"toArray");var y=f(function(e,r){return e.allocUnsafe?e.allocUnsafe(r):new e(r)},"allocate");d.prototype.toArrayLike=f(function(e,r,a){this._strip();var i=this.byteLength(),h=a||Math.max(1,i);M(i<=h,"byte array longer than desired length"),M(h>0,"Requested array length <= 0");var b=y(e,h),x=r==="le"?"LE":"BE";return this["_toArrayLike"+x](b,i),b},"toArrayLike"),d.prototype._toArrayLikeLE=f(function(e,r){for(var a=0,i=0,h=0,b=0;h<this.length;h++){var x=this.words[h]<<b|i;e[a++]=x&255,a<e.length&&(e[a++]=x>>8&255),a<e.length&&(e[a++]=x>>16&255),b===6?(a<e.length&&(e[a++]=x>>24&255),i=0,b=0):(i=x>>>24,b+=2)}if(a<e.length)for(e[a++]=i;a<e.length;)e[a++]=0},"_toArrayLikeLE"),d.prototype._toArrayLikeBE=f(function(e,r){for(var a=e.length-1,i=0,h=0,b=0;h<this.length;h++){var x=this.words[h]<<b|i;e[a--]=x&255,a>=0&&(e[a--]=x>>8&255),a>=0&&(e[a--]=x>>16&255),b===6?(a>=0&&(e[a--]=x>>24&255),i=0,b=0):(i=x>>>24,b+=2)}if(a>=0)for(e[a--]=i;a>=0;)e[a--]=0},"_toArrayLikeBE"),Math.clz32?d.prototype._countBits=f(function(e){return 32-Math.clz32(e)},"_countBits"):d.prototype._countBits=f(function(e){var r=e,a=0;return r>=4096&&(a+=13,r>>>=13),r>=64&&(a+=7,r>>>=7),r>=8&&(a+=4,r>>>=4),r>=2&&(a+=2,r>>>=2),a+r},"_countBits"),d.prototype._zeroBits=f(function(e){if(e===0)return 26;var r=e,a=0;return r&8191||(a+=13,r>>>=13),r&127||(a+=7,r>>>=7),r&15||(a+=4,r>>>=4),r&3||(a+=2,r>>>=2),r&1||a++,a},"_zeroBits"),d.prototype.bitLength=f(function(){var e=this.words[this.length-1],r=this._countBits(e);return(this.length-1)*26+r},"bitLength");function w(c){for(var e=new Array(c.bitLength()),r=0;r<e.length;r++){var a=r/26|0,i=r%26;e[r]=c.words[a]>>>i&1}return e}f(w,"toBitArray"),d.prototype.zeroBits=f(function(){if(this.isZero())return 0;for(var e=0,r=0;r<this.length;r++){var a=this._zeroBits(this.words[r]);if(e+=a,a!==26)break}return e},"zeroBits"),d.prototype.byteLength=f(function(){return Math.ceil(this.bitLength()/8)},"byteLength"),d.prototype.toTwos=f(function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},"toTwos"),d.prototype.fromTwos=f(function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},"fromTwos"),d.prototype.isNeg=f(function(){return this.negative!==0},"isNeg"),d.prototype.neg=f(function(){return this.clone().ineg()},"neg"),d.prototype.ineg=f(function(){return this.isZero()||(this.negative^=1),this},"ineg"),d.prototype.iuor=f(function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]|e.words[r];return this._strip()},"iuor"),d.prototype.ior=f(function(e){return M((this.negative|e.negative)===0),this.iuor(e)},"ior"),d.prototype.or=f(function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},"or"),d.prototype.uor=f(function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},"uor"),d.prototype.iuand=f(function(e){var r;this.length>e.length?r=e:r=this;for(var a=0;a<r.length;a++)this.words[a]=this.words[a]&e.words[a];return this.length=r.length,this._strip()},"iuand"),d.prototype.iand=f(function(e){return M((this.negative|e.negative)===0),this.iuand(e)},"iand"),d.prototype.and=f(function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},"and"),d.prototype.uand=f(function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},"uand"),d.prototype.iuxor=f(function(e){var r,a;this.length>e.length?(r=this,a=e):(r=e,a=this);for(var i=0;i<a.length;i++)this.words[i]=r.words[i]^a.words[i];if(this!==r)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=r.length,this._strip()},"iuxor"),d.prototype.ixor=f(function(e){return M((this.negative|e.negative)===0),this.iuxor(e)},"ixor"),d.prototype.xor=f(function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},"xor"),d.prototype.uxor=f(function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},"uxor"),d.prototype.inotn=f(function(e){M(typeof e=="number"&&e>=0);var r=Math.ceil(e/26)|0,a=e%26;this._expand(r),a>0&&r--;for(var i=0;i<r;i++)this.words[i]=~this.words[i]&67108863;return a>0&&(this.words[i]=~this.words[i]&67108863>>26-a),this._strip()},"inotn"),d.prototype.notn=f(function(e){return this.clone().inotn(e)},"notn"),d.prototype.setn=f(function(e,r){M(typeof e=="number"&&e>=0);var a=e/26|0,i=e%26;return this._expand(a+1),r?this.words[a]=this.words[a]|1<<i:this.words[a]=this.words[a]&~(1<<i),this._strip()},"setn"),d.prototype.iadd=f(function(e){var r;if(this.negative!==0&&e.negative===0)return this.negative=0,r=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,r=this.isub(e),e.negative=1,r._normSign();var a,i;this.length>e.length?(a=this,i=e):(a=e,i=this);for(var h=0,b=0;b<i.length;b++)r=(a.words[b]|0)+(i.words[b]|0)+h,this.words[b]=r&67108863,h=r>>>26;for(;h!==0&&b<a.length;b++)r=(a.words[b]|0)+h,this.words[b]=r&67108863,h=r>>>26;if(this.length=a.length,h!==0)this.words[this.length]=h,this.length++;else if(a!==this)for(;b<a.length;b++)this.words[b]=a.words[b];return this},"iadd"),d.prototype.add=f(function(e){var r;return e.negative!==0&&this.negative===0?(e.negative=0,r=this.sub(e),e.negative^=1,r):e.negative===0&&this.negative!==0?(this.negative=0,r=e.sub(this),this.negative=1,r):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},"add"),d.prototype.isub=f(function(e){if(e.negative!==0){e.negative=0;var r=this.iadd(e);return e.negative=1,r._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a=this.cmp(e);if(a===0)return this.negative=0,this.length=1,this.words[0]=0,this;var i,h;a>0?(i=this,h=e):(i=e,h=this);for(var b=0,x=0;x<h.length;x++)r=(i.words[x]|0)-(h.words[x]|0)+b,b=r>>26,this.words[x]=r&67108863;for(;b!==0&&x<i.length;x++)r=(i.words[x]|0)+b,b=r>>26,this.words[x]=r&67108863;if(b===0&&x<i.length&&i!==this)for(;x<i.length;x++)this.words[x]=i.words[x];return this.length=Math.max(this.length,x),i!==this&&(this.negative=1),this._strip()},"isub"),d.prototype.sub=f(function(e){return this.clone().isub(e)},"sub");function z(c,e,r){r.negative=e.negative^c.negative;var a=c.length+e.length|0;r.length=a,a=a-1|0;var i=c.words[0]|0,h=e.words[0]|0,b=i*h,x=b&67108863,o=b/67108864|0;r.words[0]=x;for(var t=1;t<a;t++){for(var u=o>>>26,O=o&67108863,D=Math.min(t,e.length-1),C=Math.max(0,t-c.length+1);C<=D;C++){var J=t-C|0;i=c.words[J]|0,h=e.words[C]|0,b=i*h+O,u+=b/67108864|0,O=b&67108863}r.words[t]=O|0,o=u|0}return o!==0?r.words[t]=o|0:r.length--,r._strip()}f(z,"smallMulTo");var E=f(function(e,r,a){var i=e.words,h=r.words,b=a.words,x=0,o,t,u,O=i[0]|0,D=O&8191,C=O>>>13,J=i[1]|0,V=J&8191,X=J>>>13,Ne=i[2]|0,Y=Ne&8191,Q=Ne>>>13,Le=i[3]|0,$=Le&8191,j=Le>>>13,qe=i[4]|0,ee=qe&8191,re=qe>>>13,Fe=i[5]|0,ae=Fe&8191,fe=Fe>>>13,Te=i[6]|0,ie=Te&8191,te=Te>>>13,He=i[7]|0,de=He&8191,ne=He>>>13,at=i[8]|0,ce=at&8191,he=at>>>13,ft=i[9]|0,se=ft&8191,oe=ft>>>13,it=h[0]|0,ue=it&8191,be=it>>>13,dt=h[1]|0,le=dt&8191,ve=dt>>>13,nt=h[2]|0,pe=nt&8191,me=nt>>>13,ct=h[3]|0,ge=ct&8191,xe=ct>>>13,ht=h[4]|0,ye=ht&8191,Me=ht>>>13,st=h[5]|0,we=st&8191,Ae=st>>>13,ot=h[6]|0,Se=ot&8191,_e=ot>>>13,ut=h[7]|0,Ie=ut&8191,Be=ut>>>13,bt=h[8]|0,Pe=bt&8191,ze=bt>>>13,lt=h[9]|0,Ee=lt&8191,Re=lt>>>13;a.negative=e.negative^r.negative,a.length=19,o=Math.imul(D,ue),t=Math.imul(D,be),t=t+Math.imul(C,ue)|0,u=Math.imul(C,be);var Ue=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,o=Math.imul(V,ue),t=Math.imul(V,be),t=t+Math.imul(X,ue)|0,u=Math.imul(X,be),o=o+Math.imul(D,le)|0,t=t+Math.imul(D,ve)|0,t=t+Math.imul(C,le)|0,u=u+Math.imul(C,ve)|0;var Oe=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,o=Math.imul(Y,ue),t=Math.imul(Y,be),t=t+Math.imul(Q,ue)|0,u=Math.imul(Q,be),o=o+Math.imul(V,le)|0,t=t+Math.imul(V,ve)|0,t=t+Math.imul(X,le)|0,u=u+Math.imul(X,ve)|0,o=o+Math.imul(D,pe)|0,t=t+Math.imul(D,me)|0,t=t+Math.imul(C,pe)|0,u=u+Math.imul(C,me)|0;var De=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(De>>>26)|0,De&=67108863,o=Math.imul($,ue),t=Math.imul($,be),t=t+Math.imul(j,ue)|0,u=Math.imul(j,be),o=o+Math.imul(Y,le)|0,t=t+Math.imul(Y,ve)|0,t=t+Math.imul(Q,le)|0,u=u+Math.imul(Q,ve)|0,o=o+Math.imul(V,pe)|0,t=t+Math.imul(V,me)|0,t=t+Math.imul(X,pe)|0,u=u+Math.imul(X,me)|0,o=o+Math.imul(D,ge)|0,t=t+Math.imul(D,xe)|0,t=t+Math.imul(C,ge)|0,u=u+Math.imul(C,xe)|0;var Ke=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,o=Math.imul(ee,ue),t=Math.imul(ee,be),t=t+Math.imul(re,ue)|0,u=Math.imul(re,be),o=o+Math.imul($,le)|0,t=t+Math.imul($,ve)|0,t=t+Math.imul(j,le)|0,u=u+Math.imul(j,ve)|0,o=o+Math.imul(Y,pe)|0,t=t+Math.imul(Y,me)|0,t=t+Math.imul(Q,pe)|0,u=u+Math.imul(Q,me)|0,o=o+Math.imul(V,ge)|0,t=t+Math.imul(V,xe)|0,t=t+Math.imul(X,ge)|0,u=u+Math.imul(X,xe)|0,o=o+Math.imul(D,ye)|0,t=t+Math.imul(D,Me)|0,t=t+Math.imul(C,ye)|0,u=u+Math.imul(C,Me)|0;var Ce=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,o=Math.imul(ae,ue),t=Math.imul(ae,be),t=t+Math.imul(fe,ue)|0,u=Math.imul(fe,be),o=o+Math.imul(ee,le)|0,t=t+Math.imul(ee,ve)|0,t=t+Math.imul(re,le)|0,u=u+Math.imul(re,ve)|0,o=o+Math.imul($,pe)|0,t=t+Math.imul($,me)|0,t=t+Math.imul(j,pe)|0,u=u+Math.imul(j,me)|0,o=o+Math.imul(Y,ge)|0,t=t+Math.imul(Y,xe)|0,t=t+Math.imul(Q,ge)|0,u=u+Math.imul(Q,xe)|0,o=o+Math.imul(V,ye)|0,t=t+Math.imul(V,Me)|0,t=t+Math.imul(X,ye)|0,u=u+Math.imul(X,Me)|0,o=o+Math.imul(D,we)|0,t=t+Math.imul(D,Ae)|0,t=t+Math.imul(C,we)|0,u=u+Math.imul(C,Ae)|0;var ke=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(ke>>>26)|0,ke&=67108863,o=Math.imul(ie,ue),t=Math.imul(ie,be),t=t+Math.imul(te,ue)|0,u=Math.imul(te,be),o=o+Math.imul(ae,le)|0,t=t+Math.imul(ae,ve)|0,t=t+Math.imul(fe,le)|0,u=u+Math.imul(fe,ve)|0,o=o+Math.imul(ee,pe)|0,t=t+Math.imul(ee,me)|0,t=t+Math.imul(re,pe)|0,u=u+Math.imul(re,me)|0,o=o+Math.imul($,ge)|0,t=t+Math.imul($,xe)|0,t=t+Math.imul(j,ge)|0,u=u+Math.imul(j,xe)|0,o=o+Math.imul(Y,ye)|0,t=t+Math.imul(Y,Me)|0,t=t+Math.imul(Q,ye)|0,u=u+Math.imul(Q,Me)|0,o=o+Math.imul(V,we)|0,t=t+Math.imul(V,Ae)|0,t=t+Math.imul(X,we)|0,u=u+Math.imul(X,Ae)|0,o=o+Math.imul(D,Se)|0,t=t+Math.imul(D,_e)|0,t=t+Math.imul(C,Se)|0,u=u+Math.imul(C,_e)|0;var Je=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Je>>>26)|0,Je&=67108863,o=Math.imul(de,ue),t=Math.imul(de,be),t=t+Math.imul(ne,ue)|0,u=Math.imul(ne,be),o=o+Math.imul(ie,le)|0,t=t+Math.imul(ie,ve)|0,t=t+Math.imul(te,le)|0,u=u+Math.imul(te,ve)|0,o=o+Math.imul(ae,pe)|0,t=t+Math.imul(ae,me)|0,t=t+Math.imul(fe,pe)|0,u=u+Math.imul(fe,me)|0,o=o+Math.imul(ee,ge)|0,t=t+Math.imul(ee,xe)|0,t=t+Math.imul(re,ge)|0,u=u+Math.imul(re,xe)|0,o=o+Math.imul($,ye)|0,t=t+Math.imul($,Me)|0,t=t+Math.imul(j,ye)|0,u=u+Math.imul(j,Me)|0,o=o+Math.imul(Y,we)|0,t=t+Math.imul(Y,Ae)|0,t=t+Math.imul(Q,we)|0,u=u+Math.imul(Q,Ae)|0,o=o+Math.imul(V,Se)|0,t=t+Math.imul(V,_e)|0,t=t+Math.imul(X,Se)|0,u=u+Math.imul(X,_e)|0,o=o+Math.imul(D,Ie)|0,t=t+Math.imul(D,Be)|0,t=t+Math.imul(C,Ie)|0,u=u+Math.imul(C,Be)|0;var Ze=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,o=Math.imul(ce,ue),t=Math.imul(ce,be),t=t+Math.imul(he,ue)|0,u=Math.imul(he,be),o=o+Math.imul(de,le)|0,t=t+Math.imul(de,ve)|0,t=t+Math.imul(ne,le)|0,u=u+Math.imul(ne,ve)|0,o=o+Math.imul(ie,pe)|0,t=t+Math.imul(ie,me)|0,t=t+Math.imul(te,pe)|0,u=u+Math.imul(te,me)|0,o=o+Math.imul(ae,ge)|0,t=t+Math.imul(ae,xe)|0,t=t+Math.imul(fe,ge)|0,u=u+Math.imul(fe,xe)|0,o=o+Math.imul(ee,ye)|0,t=t+Math.imul(ee,Me)|0,t=t+Math.imul(re,ye)|0,u=u+Math.imul(re,Me)|0,o=o+Math.imul($,we)|0,t=t+Math.imul($,Ae)|0,t=t+Math.imul(j,we)|0,u=u+Math.imul(j,Ae)|0,o=o+Math.imul(Y,Se)|0,t=t+Math.imul(Y,_e)|0,t=t+Math.imul(Q,Se)|0,u=u+Math.imul(Q,_e)|0,o=o+Math.imul(V,Ie)|0,t=t+Math.imul(V,Be)|0,t=t+Math.imul(X,Ie)|0,u=u+Math.imul(X,Be)|0,o=o+Math.imul(D,Pe)|0,t=t+Math.imul(D,ze)|0,t=t+Math.imul(C,Pe)|0,u=u+Math.imul(C,ze)|0;var We=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(We>>>26)|0,We&=67108863,o=Math.imul(se,ue),t=Math.imul(se,be),t=t+Math.imul(oe,ue)|0,u=Math.imul(oe,be),o=o+Math.imul(ce,le)|0,t=t+Math.imul(ce,ve)|0,t=t+Math.imul(he,le)|0,u=u+Math.imul(he,ve)|0,o=o+Math.imul(de,pe)|0,t=t+Math.imul(de,me)|0,t=t+Math.imul(ne,pe)|0,u=u+Math.imul(ne,me)|0,o=o+Math.imul(ie,ge)|0,t=t+Math.imul(ie,xe)|0,t=t+Math.imul(te,ge)|0,u=u+Math.imul(te,xe)|0,o=o+Math.imul(ae,ye)|0,t=t+Math.imul(ae,Me)|0,t=t+Math.imul(fe,ye)|0,u=u+Math.imul(fe,Me)|0,o=o+Math.imul(ee,we)|0,t=t+Math.imul(ee,Ae)|0,t=t+Math.imul(re,we)|0,u=u+Math.imul(re,Ae)|0,o=o+Math.imul($,Se)|0,t=t+Math.imul($,_e)|0,t=t+Math.imul(j,Se)|0,u=u+Math.imul(j,_e)|0,o=o+Math.imul(Y,Ie)|0,t=t+Math.imul(Y,Be)|0,t=t+Math.imul(Q,Ie)|0,u=u+Math.imul(Q,Be)|0,o=o+Math.imul(V,Pe)|0,t=t+Math.imul(V,ze)|0,t=t+Math.imul(X,Pe)|0,u=u+Math.imul(X,ze)|0,o=o+Math.imul(D,Ee)|0,t=t+Math.imul(D,Re)|0,t=t+Math.imul(C,Ee)|0,u=u+Math.imul(C,Re)|0;var Ve=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,o=Math.imul(se,le),t=Math.imul(se,ve),t=t+Math.imul(oe,le)|0,u=Math.imul(oe,ve),o=o+Math.imul(ce,pe)|0,t=t+Math.imul(ce,me)|0,t=t+Math.imul(he,pe)|0,u=u+Math.imul(he,me)|0,o=o+Math.imul(de,ge)|0,t=t+Math.imul(de,xe)|0,t=t+Math.imul(ne,ge)|0,u=u+Math.imul(ne,xe)|0,o=o+Math.imul(ie,ye)|0,t=t+Math.imul(ie,Me)|0,t=t+Math.imul(te,ye)|0,u=u+Math.imul(te,Me)|0,o=o+Math.imul(ae,we)|0,t=t+Math.imul(ae,Ae)|0,t=t+Math.imul(fe,we)|0,u=u+Math.imul(fe,Ae)|0,o=o+Math.imul(ee,Se)|0,t=t+Math.imul(ee,_e)|0,t=t+Math.imul(re,Se)|0,u=u+Math.imul(re,_e)|0,o=o+Math.imul($,Ie)|0,t=t+Math.imul($,Be)|0,t=t+Math.imul(j,Ie)|0,u=u+Math.imul(j,Be)|0,o=o+Math.imul(Y,Pe)|0,t=t+Math.imul(Y,ze)|0,t=t+Math.imul(Q,Pe)|0,u=u+Math.imul(Q,ze)|0,o=o+Math.imul(V,Ee)|0,t=t+Math.imul(V,Re)|0,t=t+Math.imul(X,Ee)|0,u=u+Math.imul(X,Re)|0;var Xe=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,o=Math.imul(se,pe),t=Math.imul(se,me),t=t+Math.imul(oe,pe)|0,u=Math.imul(oe,me),o=o+Math.imul(ce,ge)|0,t=t+Math.imul(ce,xe)|0,t=t+Math.imul(he,ge)|0,u=u+Math.imul(he,xe)|0,o=o+Math.imul(de,ye)|0,t=t+Math.imul(de,Me)|0,t=t+Math.imul(ne,ye)|0,u=u+Math.imul(ne,Me)|0,o=o+Math.imul(ie,we)|0,t=t+Math.imul(ie,Ae)|0,t=t+Math.imul(te,we)|0,u=u+Math.imul(te,Ae)|0,o=o+Math.imul(ae,Se)|0,t=t+Math.imul(ae,_e)|0,t=t+Math.imul(fe,Se)|0,u=u+Math.imul(fe,_e)|0,o=o+Math.imul(ee,Ie)|0,t=t+Math.imul(ee,Be)|0,t=t+Math.imul(re,Ie)|0,u=u+Math.imul(re,Be)|0,o=o+Math.imul($,Pe)|0,t=t+Math.imul($,ze)|0,t=t+Math.imul(j,Pe)|0,u=u+Math.imul(j,ze)|0,o=o+Math.imul(Y,Ee)|0,t=t+Math.imul(Y,Re)|0,t=t+Math.imul(Q,Ee)|0,u=u+Math.imul(Q,Re)|0;var Ye=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,o=Math.imul(se,ge),t=Math.imul(se,xe),t=t+Math.imul(oe,ge)|0,u=Math.imul(oe,xe),o=o+Math.imul(ce,ye)|0,t=t+Math.imul(ce,Me)|0,t=t+Math.imul(he,ye)|0,u=u+Math.imul(he,Me)|0,o=o+Math.imul(de,we)|0,t=t+Math.imul(de,Ae)|0,t=t+Math.imul(ne,we)|0,u=u+Math.imul(ne,Ae)|0,o=o+Math.imul(ie,Se)|0,t=t+Math.imul(ie,_e)|0,t=t+Math.imul(te,Se)|0,u=u+Math.imul(te,_e)|0,o=o+Math.imul(ae,Ie)|0,t=t+Math.imul(ae,Be)|0,t=t+Math.imul(fe,Ie)|0,u=u+Math.imul(fe,Be)|0,o=o+Math.imul(ee,Pe)|0,t=t+Math.imul(ee,ze)|0,t=t+Math.imul(re,Pe)|0,u=u+Math.imul(re,ze)|0,o=o+Math.imul($,Ee)|0,t=t+Math.imul($,Re)|0,t=t+Math.imul(j,Ee)|0,u=u+Math.imul(j,Re)|0;var Ge=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,o=Math.imul(se,ye),t=Math.imul(se,Me),t=t+Math.imul(oe,ye)|0,u=Math.imul(oe,Me),o=o+Math.imul(ce,we)|0,t=t+Math.imul(ce,Ae)|0,t=t+Math.imul(he,we)|0,u=u+Math.imul(he,Ae)|0,o=o+Math.imul(de,Se)|0,t=t+Math.imul(de,_e)|0,t=t+Math.imul(ne,Se)|0,u=u+Math.imul(ne,_e)|0,o=o+Math.imul(ie,Ie)|0,t=t+Math.imul(ie,Be)|0,t=t+Math.imul(te,Ie)|0,u=u+Math.imul(te,Be)|0,o=o+Math.imul(ae,Pe)|0,t=t+Math.imul(ae,ze)|0,t=t+Math.imul(fe,Pe)|0,u=u+Math.imul(fe,ze)|0,o=o+Math.imul(ee,Ee)|0,t=t+Math.imul(ee,Re)|0,t=t+Math.imul(re,Ee)|0,u=u+Math.imul(re,Re)|0;var Qe=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,o=Math.imul(se,we),t=Math.imul(se,Ae),t=t+Math.imul(oe,we)|0,u=Math.imul(oe,Ae),o=o+Math.imul(ce,Se)|0,t=t+Math.imul(ce,_e)|0,t=t+Math.imul(he,Se)|0,u=u+Math.imul(he,_e)|0,o=o+Math.imul(de,Ie)|0,t=t+Math.imul(de,Be)|0,t=t+Math.imul(ne,Ie)|0,u=u+Math.imul(ne,Be)|0,o=o+Math.imul(ie,Pe)|0,t=t+Math.imul(ie,ze)|0,t=t+Math.imul(te,Pe)|0,u=u+Math.imul(te,ze)|0,o=o+Math.imul(ae,Ee)|0,t=t+Math.imul(ae,Re)|0,t=t+Math.imul(fe,Ee)|0,u=u+Math.imul(fe,Re)|0;var $e=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+($e>>>26)|0,$e&=67108863,o=Math.imul(se,Se),t=Math.imul(se,_e),t=t+Math.imul(oe,Se)|0,u=Math.imul(oe,_e),o=o+Math.imul(ce,Ie)|0,t=t+Math.imul(ce,Be)|0,t=t+Math.imul(he,Ie)|0,u=u+Math.imul(he,Be)|0,o=o+Math.imul(de,Pe)|0,t=t+Math.imul(de,ze)|0,t=t+Math.imul(ne,Pe)|0,u=u+Math.imul(ne,ze)|0,o=o+Math.imul(ie,Ee)|0,t=t+Math.imul(ie,Re)|0,t=t+Math.imul(te,Ee)|0,u=u+Math.imul(te,Re)|0;var je=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(je>>>26)|0,je&=67108863,o=Math.imul(se,Ie),t=Math.imul(se,Be),t=t+Math.imul(oe,Ie)|0,u=Math.imul(oe,Be),o=o+Math.imul(ce,Pe)|0,t=t+Math.imul(ce,ze)|0,t=t+Math.imul(he,Pe)|0,u=u+Math.imul(he,ze)|0,o=o+Math.imul(de,Ee)|0,t=t+Math.imul(de,Re)|0,t=t+Math.imul(ne,Ee)|0,u=u+Math.imul(ne,Re)|0;var et=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(et>>>26)|0,et&=67108863,o=Math.imul(se,Pe),t=Math.imul(se,ze),t=t+Math.imul(oe,Pe)|0,u=Math.imul(oe,ze),o=o+Math.imul(ce,Ee)|0,t=t+Math.imul(ce,Re)|0,t=t+Math.imul(he,Ee)|0,u=u+Math.imul(he,Re)|0;var tt=(x+o|0)+((t&8191)<<13)|0;x=(u+(t>>>13)|0)+(tt>>>26)|0,tt&=67108863,o=Math.imul(se,Ee),t=Math.imul(se,Re),t=t+Math.imul(oe,Ee)|0,u=Math.imul(oe,Re);var rt=(x+o|0)+((t&8191)<<13)|0;return x=(u+(t>>>13)|0)+(rt>>>26)|0,rt&=67108863,b[0]=Ue,b[1]=Oe,b[2]=De,b[3]=Ke,b[4]=Ce,b[5]=ke,b[6]=Je,b[7]=Ze,b[8]=We,b[9]=Ve,b[10]=Xe,b[11]=Ye,b[12]=Ge,b[13]=Qe,b[14]=$e,b[15]=je,b[16]=et,b[17]=tt,b[18]=rt,x!==0&&(b[19]=x,a.length++),a},"comb10MulTo");Math.imul||(E=z);function N(c,e,r){r.negative=e.negative^c.negative,r.length=c.length+e.length;for(var a=0,i=0,h=0;h<r.length-1;h++){var b=i;i=0;for(var x=a&67108863,o=Math.min(h,e.length-1),t=Math.max(0,h-c.length+1);t<=o;t++){var u=h-t,O=c.words[u]|0,D=e.words[t]|0,C=O*D,J=C&67108863;b=b+(C/67108864|0)|0,J=J+x|0,x=J&67108863,b=b+(J>>>26)|0,i+=b>>>26,b&=67108863}r.words[h]=x,a=b,b=i}return a!==0?r.words[h]=a:r.length--,r._strip()}f(N,"bigMulTo");function q(c,e,r){return N(c,e,r)}f(q,"jumboMulTo"),d.prototype.mulTo=f(function(e,r){var a,i=this.length+e.length;return this.length===10&&e.length===10?a=E(this,e,r):i<63?a=z(this,e,r):i<1024?a=N(this,e,r):a=q(this,e,r),a},"mulTo");function L(c,e){this.x=c,this.y=e}f(L,"FFTM"),L.prototype.makeRBT=f(function(e){for(var r=new Array(e),a=d.prototype._countBits(e)-1,i=0;i<e;i++)r[i]=this.revBin(i,a,e);return r},"makeRBT"),L.prototype.revBin=f(function(e,r,a){if(e===0||e===a-1)return e;for(var i=0,h=0;h<r;h++)i|=(e&1)<<r-h-1,e>>=1;return i},"revBin"),L.prototype.permute=f(function(e,r,a,i,h,b){for(var x=0;x<b;x++)i[x]=r[e[x]],h[x]=a[e[x]]},"permute"),L.prototype.transform=f(function(e,r,a,i,h,b){this.permute(b,e,r,a,i,h);for(var x=1;x<h;x<<=1)for(var o=x<<1,t=Math.cos(2*Math.PI/o),u=Math.sin(2*Math.PI/o),O=0;O<h;O+=o)for(var D=t,C=u,J=0;J<x;J++){var V=a[O+J],X=i[O+J],Ne=a[O+J+x],Y=i[O+J+x],Q=D*Ne-C*Y;Y=D*Y+C*Ne,Ne=Q,a[O+J]=V+Ne,i[O+J]=X+Y,a[O+J+x]=V-Ne,i[O+J+x]=X-Y,J!==o&&(Q=t*D-u*C,C=t*C+u*D,D=Q)}},"transform"),L.prototype.guessLen13b=f(function(e,r){var a=Math.max(r,e)|1,i=a&1,h=0;for(a=a/2|0;a;a=a>>>1)h++;return 1<<h+1+i},"guessLen13b"),L.prototype.conjugate=f(function(e,r,a){if(!(a<=1))for(var i=0;i<a/2;i++){var h=e[i];e[i]=e[a-i-1],e[a-i-1]=h,h=r[i],r[i]=-r[a-i-1],r[a-i-1]=-h}},"conjugate"),L.prototype.normalize13b=f(function(e,r){for(var a=0,i=0;i<r/2;i++){var h=Math.round(e[2*i+1]/r)*8192+Math.round(e[2*i]/r)+a;e[i]=h&67108863,h<67108864?a=0:a=h/67108864|0}return e},"normalize13b"),L.prototype.convert13b=f(function(e,r,a,i){for(var h=0,b=0;b<r;b++)h=h+(e[b]|0),a[2*b]=h&8191,h=h>>>13,a[2*b+1]=h&8191,h=h>>>13;for(b=2*r;b<i;++b)a[b]=0;M(h===0),M((h&-8192)===0)},"convert13b"),L.prototype.stub=f(function(e){for(var r=new Array(e),a=0;a<e;a++)r[a]=0;return r},"stub"),L.prototype.mulp=f(function(e,r,a){var i=2*this.guessLen13b(e.length,r.length),h=this.makeRBT(i),b=this.stub(i),x=new Array(i),o=new Array(i),t=new Array(i),u=new Array(i),O=new Array(i),D=new Array(i),C=a.words;C.length=i,this.convert13b(e.words,e.length,x,i),this.convert13b(r.words,r.length,u,i),this.transform(x,b,o,t,i,h),this.transform(u,b,O,D,i,h);for(var J=0;J<i;J++){var V=o[J]*O[J]-t[J]*D[J];t[J]=o[J]*D[J]+t[J]*O[J],o[J]=V}return this.conjugate(o,t,i),this.transform(o,t,C,b,i,h),this.conjugate(C,b,i),this.normalize13b(C,i),a.negative=e.negative^r.negative,a.length=e.length+r.length,a._strip()},"mulp"),d.prototype.mul=f(function(e){var r=new d(null);return r.words=new Array(this.length+e.length),this.mulTo(e,r)},"mul"),d.prototype.mulf=f(function(e){var r=new d(null);return r.words=new Array(this.length+e.length),q(this,e,r)},"mulf"),d.prototype.imul=f(function(e){return this.clone().mulTo(e,this)},"imul"),d.prototype.imuln=f(function(e){var r=e<0;r&&(e=-e),M(typeof e=="number"),M(e<67108864);for(var a=0,i=0;i<this.length;i++){var h=(this.words[i]|0)*e,b=(h&67108863)+(a&67108863);a>>=26,a+=h/67108864|0,a+=b>>>26,this.words[i]=b&67108863}return a!==0&&(this.words[i]=a,this.length++),r?this.ineg():this},"imuln"),d.prototype.muln=f(function(e){return this.clone().imuln(e)},"muln"),d.prototype.sqr=f(function(){return this.mul(this)},"sqr"),d.prototype.isqr=f(function(){return this.imul(this.clone())},"isqr"),d.prototype.pow=f(function(e){var r=w(e);if(r.length===0)return new d(1);for(var a=this,i=0;i<r.length&&r[i]===0;i++,a=a.sqr());if(++i<r.length)for(var h=a.sqr();i<r.length;i++,h=h.sqr())r[i]!==0&&(a=a.mul(h));return a},"pow"),d.prototype.iushln=f(function(e){M(typeof e=="number"&&e>=0);var r=e%26,a=(e-r)/26,i=67108863>>>26-r<<26-r,h;if(r!==0){var b=0;for(h=0;h<this.length;h++){var x=this.words[h]&i,o=(this.words[h]|0)-x<<r;this.words[h]=o|b,b=x>>>26-r}b&&(this.words[h]=b,this.length++)}if(a!==0){for(h=this.length-1;h>=0;h--)this.words[h+a]=this.words[h];for(h=0;h<a;h++)this.words[h]=0;this.length+=a}return this._strip()},"iushln"),d.prototype.ishln=f(function(e){return M(this.negative===0),this.iushln(e)},"ishln"),d.prototype.iushrn=f(function(e,r,a){M(typeof e=="number"&&e>=0);var i;r?i=(r-r%26)/26:i=0;var h=e%26,b=Math.min((e-h)/26,this.length),x=67108863^67108863>>>h<<h,o=a;if(i-=b,i=Math.max(0,i),o){for(var t=0;t<b;t++)o.words[t]=this.words[t];o.length=b}if(b!==0)if(this.length>b)for(this.length-=b,t=0;t<this.length;t++)this.words[t]=this.words[t+b];else this.words[0]=0,this.length=1;var u=0;for(t=this.length-1;t>=0&&(u!==0||t>=i);t--){var O=this.words[t]|0;this.words[t]=u<<26-h|O>>>h,u=O&x}return o&&u!==0&&(o.words[o.length++]=u),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},"iushrn"),d.prototype.ishrn=f(function(e,r,a){return M(this.negative===0),this.iushrn(e,r,a)},"ishrn"),d.prototype.shln=f(function(e){return this.clone().ishln(e)},"shln"),d.prototype.ushln=f(function(e){return this.clone().iushln(e)},"ushln"),d.prototype.shrn=f(function(e){return this.clone().ishrn(e)},"shrn"),d.prototype.ushrn=f(function(e){return this.clone().iushrn(e)},"ushrn"),d.prototype.testn=f(function(e){M(typeof e=="number"&&e>=0);var r=e%26,a=(e-r)/26,i=1<<r;if(this.length<=a)return!1;var h=this.words[a];return!!(h&i)},"testn"),d.prototype.imaskn=f(function(e){M(typeof e=="number"&&e>=0);var r=e%26,a=(e-r)/26;if(M(this.negative===0,"imaskn works only with positive numbers"),this.length<=a)return this;if(r!==0&&a++,this.length=Math.min(a,this.length),r!==0){var i=67108863^67108863>>>r<<r;this.words[this.length-1]&=i}return this._strip()},"imaskn"),d.prototype.maskn=f(function(e){return this.clone().imaskn(e)},"maskn"),d.prototype.iaddn=f(function(e){return M(typeof e=="number"),M(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(this.words[0]|0)<=e?(this.words[0]=e-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},"iaddn"),d.prototype._iaddn=f(function(e){this.words[0]+=e;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},"_iaddn"),d.prototype.isubn=f(function(e){if(M(typeof e=="number"),M(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this._strip()},"isubn"),d.prototype.addn=f(function(e){return this.clone().iaddn(e)},"addn"),d.prototype.subn=f(function(e){return this.clone().isubn(e)},"subn"),d.prototype.iabs=f(function(){return this.negative=0,this},"iabs"),d.prototype.abs=f(function(){return this.clone().iabs()},"abs"),d.prototype._ishlnsubmul=f(function(e,r,a){var i=e.length+a,h;this._expand(i);var b,x=0;for(h=0;h<e.length;h++){b=(this.words[h+a]|0)+x;var o=(e.words[h]|0)*r;b-=o&67108863,x=(b>>26)-(o/67108864|0),this.words[h+a]=b&67108863}for(;h<this.length-a;h++)b=(this.words[h+a]|0)+x,x=b>>26,this.words[h+a]=b&67108863;if(x===0)return this._strip();for(M(x===-1),x=0,h=0;h<this.length;h++)b=-(this.words[h]|0)+x,x=b>>26,this.words[h]=b&67108863;return this.negative=1,this._strip()},"_ishlnsubmul"),d.prototype._wordDiv=f(function(e,r){var a=this.length-e.length,i=this.clone(),h=e,b=h.words[h.length-1]|0,x=this._countBits(b);a=26-x,a!==0&&(h=h.ushln(a),i.iushln(a),b=h.words[h.length-1]|0);var o=i.length-h.length,t;if(r!=="mod"){t=new d(null),t.length=o+1,t.words=new Array(t.length);for(var u=0;u<t.length;u++)t.words[u]=0}var O=i.clone()._ishlnsubmul(h,1,o);O.negative===0&&(i=O,t&&(t.words[o]=1));for(var D=o-1;D>=0;D--){var C=(i.words[h.length+D]|0)*67108864+(i.words[h.length+D-1]|0);for(C=Math.min(C/b|0,67108863),i._ishlnsubmul(h,C,D);i.negative!==0;)C--,i.negative=0,i._ishlnsubmul(h,1,D),i.isZero()||(i.negative^=1);t&&(t.words[D]=C)}return t&&t._strip(),i._strip(),r!=="div"&&a!==0&&i.iushrn(a),{div:t||null,mod:i}},"_wordDiv"),d.prototype.divmod=f(function(e,r,a){if(M(!e.isZero()),this.isZero())return{div:new d(0),mod:new d(0)};var i,h,b;return this.negative!==0&&e.negative===0?(b=this.neg().divmod(e,r),r!=="mod"&&(i=b.div.neg()),r!=="div"&&(h=b.mod.neg(),a&&h.negative!==0&&h.iadd(e)),{div:i,mod:h}):this.negative===0&&e.negative!==0?(b=this.divmod(e.neg(),r),r!=="mod"&&(i=b.div.neg()),{div:i,mod:b.mod}):this.negative&e.negative?(b=this.neg().divmod(e.neg(),r),r!=="div"&&(h=b.mod.neg(),a&&h.negative!==0&&h.isub(e)),{div:b.div,mod:h}):e.length>this.length||this.cmp(e)<0?{div:new d(0),mod:this}:e.length===1?r==="div"?{div:this.divn(e.words[0]),mod:null}:r==="mod"?{div:null,mod:new d(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new d(this.modrn(e.words[0]))}:this._wordDiv(e,r)},"divmod"),d.prototype.div=f(function(e){return this.divmod(e,"div",!1).div},"div"),d.prototype.mod=f(function(e){return this.divmod(e,"mod",!1).mod},"mod"),d.prototype.umod=f(function(e){return this.divmod(e,"mod",!0).mod},"umod"),d.prototype.divRound=f(function(e){var r=this.divmod(e);if(r.mod.isZero())return r.div;var a=r.div.negative!==0?r.mod.isub(e):r.mod,i=e.ushrn(1),h=e.andln(1),b=a.cmp(i);return b<0||h===1&&b===0?r.div:r.div.negative!==0?r.div.isubn(1):r.div.iaddn(1)},"divRound"),d.prototype.modrn=f(function(e){var r=e<0;r&&(e=-e),M(e<=67108863);for(var a=(1<<26)%e,i=0,h=this.length-1;h>=0;h--)i=(a*i+(this.words[h]|0))%e;return r?-i:i},"modrn"),d.prototype.modn=f(function(e){return this.modrn(e)},"modn"),d.prototype.idivn=f(function(e){var r=e<0;r&&(e=-e),M(e<=67108863);for(var a=0,i=this.length-1;i>=0;i--){var h=(this.words[i]|0)+a*67108864;this.words[i]=h/e|0,a=h%e}return this._strip(),r?this.ineg():this},"idivn"),d.prototype.divn=f(function(e){return this.clone().idivn(e)},"divn"),d.prototype.egcd=f(function(e){M(e.negative===0),M(!e.isZero());var r=this,a=e.clone();r.negative!==0?r=r.umod(e):r=r.clone();for(var i=new d(1),h=new d(0),b=new d(0),x=new d(1),o=0;r.isEven()&&a.isEven();)r.iushrn(1),a.iushrn(1),++o;for(var t=a.clone(),u=r.clone();!r.isZero();){for(var O=0,D=1;!(r.words[0]&D)&&O<26;++O,D<<=1);if(O>0)for(r.iushrn(O);O-- >0;)(i.isOdd()||h.isOdd())&&(i.iadd(t),h.isub(u)),i.iushrn(1),h.iushrn(1);for(var C=0,J=1;!(a.words[0]&J)&&C<26;++C,J<<=1);if(C>0)for(a.iushrn(C);C-- >0;)(b.isOdd()||x.isOdd())&&(b.iadd(t),x.isub(u)),b.iushrn(1),x.iushrn(1);r.cmp(a)>=0?(r.isub(a),i.isub(b),h.isub(x)):(a.isub(r),b.isub(i),x.isub(h))}return{a:b,b:x,gcd:a.iushln(o)}},"egcd"),d.prototype._invmp=f(function(e){M(e.negative===0),M(!e.isZero());var r=this,a=e.clone();r.negative!==0?r=r.umod(e):r=r.clone();for(var i=new d(1),h=new d(0),b=a.clone();r.cmpn(1)>0&&a.cmpn(1)>0;){for(var x=0,o=1;!(r.words[0]&o)&&x<26;++x,o<<=1);if(x>0)for(r.iushrn(x);x-- >0;)i.isOdd()&&i.iadd(b),i.iushrn(1);for(var t=0,u=1;!(a.words[0]&u)&&t<26;++t,u<<=1);if(t>0)for(a.iushrn(t);t-- >0;)h.isOdd()&&h.iadd(b),h.iushrn(1);r.cmp(a)>=0?(r.isub(a),i.isub(h)):(a.isub(r),h.isub(i))}var O;return r.cmpn(1)===0?O=i:O=h,O.cmpn(0)<0&&O.iadd(e),O},"_invmp"),d.prototype.gcd=f(function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var r=this.clone(),a=e.clone();r.negative=0,a.negative=0;for(var i=0;r.isEven()&&a.isEven();i++)r.iushrn(1),a.iushrn(1);do{for(;r.isEven();)r.iushrn(1);for(;a.isEven();)a.iushrn(1);var h=r.cmp(a);if(h<0){var b=r;r=a,a=b}else if(h===0||a.cmpn(1)===0)break;r.isub(a)}while(!0);return a.iushln(i)},"gcd"),d.prototype.invm=f(function(e){return this.egcd(e).a.umod(e)},"invm"),d.prototype.isEven=f(function(){return(this.words[0]&1)===0},"isEven"),d.prototype.isOdd=f(function(){return(this.words[0]&1)===1},"isOdd"),d.prototype.andln=f(function(e){return this.words[0]&e},"andln"),d.prototype.bincn=f(function(e){M(typeof e=="number");var r=e%26,a=(e-r)/26,i=1<<r;if(this.length<=a)return this._expand(a+1),this.words[a]|=i,this;for(var h=i,b=a;h!==0&&b<this.length;b++){var x=this.words[b]|0;x+=h,h=x>>>26,x&=67108863,this.words[b]=x}return h!==0&&(this.words[b]=h,this.length++),this},"bincn"),d.prototype.isZero=f(function(){return this.length===1&&this.words[0]===0},"isZero"),d.prototype.cmpn=f(function(e){var r=e<0;if(this.negative!==0&&!r)return-1;if(this.negative===0&&r)return 1;this._strip();var a;if(this.length>1)a=1;else{r&&(e=-e),M(e<=67108863,"Number is too big");var i=this.words[0]|0;a=i===e?0:i<e?-1:1}return this.negative!==0?-a|0:a},"cmpn"),d.prototype.cmp=f(function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var r=this.ucmp(e);return this.negative!==0?-r|0:r},"cmp"),d.prototype.ucmp=f(function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var r=0,a=this.length-1;a>=0;a--){var i=this.words[a]|0,h=e.words[a]|0;if(i!==h){i<h?r=-1:i>h&&(r=1);break}}return r},"ucmp"),d.prototype.gtn=f(function(e){return this.cmpn(e)===1},"gtn"),d.prototype.gt=f(function(e){return this.cmp(e)===1},"gt"),d.prototype.gten=f(function(e){return this.cmpn(e)>=0},"gten"),d.prototype.gte=f(function(e){return this.cmp(e)>=0},"gte"),d.prototype.ltn=f(function(e){return this.cmpn(e)===-1},"ltn"),d.prototype.lt=f(function(e){return this.cmp(e)===-1},"lt"),d.prototype.lten=f(function(e){return this.cmpn(e)<=0},"lten"),d.prototype.lte=f(function(e){return this.cmp(e)<=0},"lte"),d.prototype.eqn=f(function(e){return this.cmpn(e)===0},"eqn"),d.prototype.eq=f(function(e){return this.cmp(e)===0},"eq"),d.red=f(function(e){return new Z(e)},"red"),d.prototype.toRed=f(function(e){return M(!this.red,"Already a number in reduction context"),M(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},"toRed"),d.prototype.fromRed=f(function(){return M(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},"fromRed"),d.prototype._forceRed=f(function(e){return this.red=e,this},"_forceRed"),d.prototype.forceRed=f(function(e){return M(!this.red,"Already a number in reduction context"),this._forceRed(e)},"forceRed"),d.prototype.redAdd=f(function(e){return M(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},"redAdd"),d.prototype.redIAdd=f(function(e){return M(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},"redIAdd"),d.prototype.redSub=f(function(e){return M(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},"redSub"),d.prototype.redISub=f(function(e){return M(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},"redISub"),d.prototype.redShl=f(function(e){return M(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},"redShl"),d.prototype.redMul=f(function(e){return M(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},"redMul"),d.prototype.redIMul=f(function(e){return M(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},"redIMul"),d.prototype.redSqr=f(function(){return M(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},"redSqr"),d.prototype.redISqr=f(function(){return M(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},"redISqr"),d.prototype.redSqrt=f(function(){return M(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},"redSqrt"),d.prototype.redInvm=f(function(){return M(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},"redInvm"),d.prototype.redNeg=f(function(){return M(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},"redNeg"),d.prototype.redPow=f(function(e){return M(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)},"redPow");var H={k256:null,p224:null,p192:null,p25519:null};function T(c,e){this.name=c,this.p=new d(e,16),this.n=this.p.bitLength(),this.k=new d(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}f(T,"MPrime"),T.prototype._tmp=f(function(){var e=new d(null);return e.words=new Array(Math.ceil(this.n/13)),e},"_tmp"),T.prototype.ireduce=f(function(e){var r=e,a;do this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),a=r.bitLength();while(a>this.n);var i=a<this.n?-1:r.ucmp(this.p);return i===0?(r.words[0]=0,r.length=1):i>0?r.isub(this.p):r.strip!==void 0?r.strip():r._strip(),r},"ireduce"),T.prototype.split=f(function(e,r){e.iushrn(this.n,0,r)},"split"),T.prototype.imulK=f(function(e){return e.imul(this.k)},"imulK");function k(){T.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}f(k,"K256"),A(k,T),k.prototype.split=f(function(e,r){for(var a=4194303,i=Math.min(e.length,9),h=0;h<i;h++)r.words[h]=e.words[h];if(r.length=i,e.length<=9){e.words[0]=0,e.length=1;return}var b=e.words[9];for(r.words[r.length++]=b&a,h=10;h<e.length;h++){var x=e.words[h]|0;e.words[h-10]=(x&a)<<4|b>>>22,b=x}b>>>=22,e.words[h-10]=b,b===0&&e.length>10?e.length-=10:e.length-=9},"split"),k.prototype.imulK=f(function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var r=0,a=0;a<e.length;a++){var i=e.words[a]|0;r+=i*977,e.words[a]=r&67108863,r=i*64+(r/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},"imulK");function W(){T.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}f(W,"P224"),A(W,T);function K(){T.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}f(K,"P192"),A(K,T);function G(){T.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}f(G,"P25519"),A(G,T),G.prototype.imulK=f(function(e){for(var r=0,a=0;a<e.length;a++){var i=(e.words[a]|0)*19+r,h=i&67108863;i>>>=26,e.words[a]=h,r=i}return r!==0&&(e.words[e.length++]=r),e},"imulK"),d._prime=f(function(e){if(H[e])return H[e];var r;if(e==="k256")r=new k;else if(e==="p224")r=new W;else if(e==="p192")r=new K;else if(e==="p25519")r=new G;else throw new Error("Unknown prime "+e);return H[e]=r,r},"prime");function Z(c){if(typeof c=="string"){var e=d._prime(c);this.m=e.p,this.prime=e}else M(c.gtn(1),"modulus must be greater than 1"),this.m=c,this.prime=null}f(Z,"Red"),Z.prototype._verify1=f(function(e){M(e.negative===0,"red works only with positives"),M(e.red,"red works only with red numbers")},"_verify1"),Z.prototype._verify2=f(function(e,r){M((e.negative|r.negative)===0,"red works only with positives"),M(e.red&&e.red===r.red,"red works only with red numbers")},"_verify2"),Z.prototype.imod=f(function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(n(e,e.umod(this.m)._forceRed(this)),e)},"imod"),Z.prototype.neg=f(function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},"neg"),Z.prototype.add=f(function(e,r){this._verify2(e,r);var a=e.add(r);return a.cmp(this.m)>=0&&a.isub(this.m),a._forceRed(this)},"add"),Z.prototype.iadd=f(function(e,r){this._verify2(e,r);var a=e.iadd(r);return a.cmp(this.m)>=0&&a.isub(this.m),a},"iadd"),Z.prototype.sub=f(function(e,r){this._verify2(e,r);var a=e.sub(r);return a.cmpn(0)<0&&a.iadd(this.m),a._forceRed(this)},"sub"),Z.prototype.isub=f(function(e,r){this._verify2(e,r);var a=e.isub(r);return a.cmpn(0)<0&&a.iadd(this.m),a},"isub"),Z.prototype.shl=f(function(e,r){return this._verify1(e),this.imod(e.ushln(r))},"shl"),Z.prototype.imul=f(function(e,r){return this._verify2(e,r),this.imod(e.imul(r))},"imul"),Z.prototype.mul=f(function(e,r){return this._verify2(e,r),this.imod(e.mul(r))},"mul"),Z.prototype.isqr=f(function(e){return this.imul(e,e.clone())},"isqr"),Z.prototype.sqr=f(function(e){return this.mul(e,e)},"sqr"),Z.prototype.sqrt=f(function(e){if(e.isZero())return e.clone();var r=this.m.andln(3);if(M(r%2===1),r===3){var a=this.m.add(new d(1)).iushrn(2);return this.pow(e,a)}for(var i=this.m.subn(1),h=0;!i.isZero()&&i.andln(1)===0;)h++,i.iushrn(1);M(!i.isZero());var b=new d(1).toRed(this),x=b.redNeg(),o=this.m.subn(1).iushrn(1),t=this.m.bitLength();for(t=new d(2*t*t).toRed(this);this.pow(t,o).cmp(x)!==0;)t.redIAdd(x);for(var u=this.pow(t,i),O=this.pow(e,i.addn(1).iushrn(1)),D=this.pow(e,i),C=h;D.cmp(b)!==0;){for(var J=D,V=0;J.cmp(b)!==0;V++)J=J.redSqr();M(V<C);var X=this.pow(u,new d(1).iushln(C-V-1));O=O.redMul(X),u=X.redSqr(),D=D.redMul(u),C=V}return O},"sqrt"),Z.prototype.invm=f(function(e){var r=e._invmp(this.m);return r.negative!==0?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},"invm"),Z.prototype.pow=f(function(e,r){if(r.isZero())return new d(1).toRed(this);if(r.cmpn(1)===0)return e.clone();var a=4,i=new Array(1<<a);i[0]=new d(1).toRed(this),i[1]=e;for(var h=2;h<i.length;h++)i[h]=this.mul(i[h-1],e);var b=i[0],x=0,o=0,t=r.bitLength()%26;for(t===0&&(t=26),h=r.length-1;h>=0;h--){for(var u=r.words[h],O=t-1;O>=0;O--){var D=u>>O&1;if(b!==i[0]&&(b=this.sqr(b)),D===0&&x===0){o=0;continue}x<<=1,x|=D,o++,!(o!==a&&(h!==0||O!==0))&&(b=this.mul(b,i[x]),o=0,x=0)}t=26}return b},"pow"),Z.prototype.convertTo=f(function(e){var r=e.umod(this.m);return r===e?r.clone():r},"convertTo"),Z.prototype.convertFrom=f(function(e){var r=e.clone();return r.red=null,r},"convertFrom"),d.mont=f(function(e){return new R(e)},"mont");function R(c){Z.call(this,c),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new d(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)}f(R,"Mont"),A(R,Z),R.prototype.convertTo=f(function(e){return this.imod(e.ushln(this.shift))},"convertTo"),R.prototype.convertFrom=f(function(e){var r=this.imod(e.mul(this.rinv));return r.red=null,r},"convertFrom"),R.prototype.imul=f(function(e,r){if(e.isZero()||r.isZero())return e.words[0]=0,e.length=1,e;var a=e.imul(r),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=a.isub(i).iushrn(this.shift),b=h;return h.cmp(this.m)>=0?b=h.isub(this.m):h.cmpn(0)<0&&(b=h.iadd(this.m)),b._forceRed(this)},"imul"),R.prototype.mul=f(function(e,r){if(e.isZero()||r.isZero())return new d(0)._forceRed(this);var a=e.mul(r),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=a.isub(i).iushrn(this.shift),b=h;return h.cmp(this.m)>=0?b=h.isub(this.m):h.cmpn(0)<0&&(b=h.iadd(this.m)),b._forceRed(this)},"mul"),R.prototype.invm=f(function(e){var r=this.imod(e._invmp(this.m).mul(this.r2));return r._forceRed(this)},"invm")}(U,this)},931:(U,F,I)=>{var m;U.exports=f(function(d){return m||(m=new P(null)),m.generate(d)},"rand");function P(A){this.rand=A}if(f(P,"Rand"),U.exports.Rand=P,P.prototype.generate=f(function(d){return this._rand(d)},"generate"),P.prototype._rand=f(function(d){if(this.rand.getBytes)return this.rand.getBytes(d);for(var p=new Uint8Array(d),B=0;B<p.length;B++)p[B]=this.rand.getByte();return p},"_rand"),typeof self=="object")self.crypto&&self.crypto.getRandomValues?P.prototype._rand=f(function(d){var p=new Uint8Array(d);return self.crypto.getRandomValues(p),p},"_rand"):self.msCrypto&&self.msCrypto.getRandomValues?P.prototype._rand=f(function(d){var p=new Uint8Array(d);return self.msCrypto.getRandomValues(p),p},"_rand"):typeof window=="object"&&(P.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var M=I(113);if(typeof M.randomBytes!="function")throw new Error("Not supported");P.prototype._rand=f(function(d){return M.randomBytes(d)},"_rand")}catch{}},191:(U,F,I)=>{const m=I(162),P="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";U.exports=m(P)},555:(U,F,I)=>{U.exports=I(113).createHmac},715:(U,F,I)=>{var m=F;m.utils=I(436),m.common=I(772),m.sha=I(41),m.ripemd=I(949),m.hmac=I(326),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},772:(U,F,I)=>{"use strict";var m=I(436),P=I(746);function M(){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}f(M,"BlockHash"),F.BlockHash=M,M.prototype.update=f(function(d,p){if(d=m.toArray(d,p),this.pending?this.pending=this.pending.concat(d):this.pending=d,this.pendingTotal+=d.length,this.pending.length>=this._delta8){d=this.pending;var B=d.length%this._delta8;this.pending=d.slice(d.length-B,d.length),this.pending.length===0&&(this.pending=null),d=m.join32(d,0,d.length-B,this.endian);for(var S=0;S<d.length;S+=this._delta32)this._update(d,S,S+this._delta32)}return this},"update"),M.prototype.digest=f(function(d){return this.update(this._pad()),P(this.pending===null),this._digest(d)},"digest"),M.prototype._pad=f(function(){var d=this.pendingTotal,p=this._delta8,B=p-(d+this.padLength)%p,S=new Array(B+this.padLength);S[0]=128;for(var l=1;l<B;l++)S[l]=0;if(d<<=3,this.endian==="big"){for(var n=8;n<this.padLength;n++)S[l++]=0;S[l++]=0,S[l++]=0,S[l++]=0,S[l++]=0,S[l++]=d>>>24&255,S[l++]=d>>>16&255,S[l++]=d>>>8&255,S[l++]=d&255}else for(S[l++]=d&255,S[l++]=d>>>8&255,S[l++]=d>>>16&255,S[l++]=d>>>24&255,S[l++]=0,S[l++]=0,S[l++]=0,S[l++]=0,n=8;n<this.padLength;n++)S[l++]=0;return S},"pad")},326:(U,F,I)=>{"use strict";var m=I(436),P=I(746);function M(A,d,p){if(!(this instanceof M))return new M(A,d,p);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(m.toArray(d,p))}f(M,"Hmac"),U.exports=M,M.prototype._init=f(function(d){d.length>this.blockSize&&(d=new this.Hash().update(d).digest()),P(d.length<=this.blockSize);for(var p=d.length;p<this.blockSize;p++)d.push(0);for(p=0;p<d.length;p++)d[p]^=54;for(this.inner=new this.Hash().update(d),p=0;p<d.length;p++)d[p]^=106;this.outer=new this.Hash().update(d)},"init"),M.prototype.update=f(function(d,p){return this.inner.update(d,p),this},"update"),M.prototype.digest=f(function(d){return this.outer.update(this.inner.digest()),this.outer.digest(d)},"digest")},949:(U,F,I)=>{"use strict";var m=I(436),P=I(772),M=m.rotl32,A=m.sum32,d=m.sum32_3,p=m.sum32_4,B=P.BlockHash;function S(){if(!(this instanceof S))return new S;B.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}f(S,"RIPEMD160"),m.inherits(S,B),F.ripemd160=S,S.blockSize=512,S.outSize=160,S.hmacStrength=192,S.padLength=64,S.prototype._update=f(function(z,E){for(var N=this.h[0],q=this.h[1],L=this.h[2],H=this.h[3],T=this.h[4],k=N,W=q,K=L,G=H,Z=T,R=0;R<80;R++){var c=A(M(p(N,l(R,q,L,H),z[v[R]+E],n(R)),_[R]),T);N=T,T=H,H=M(L,10),L=q,q=c,c=A(M(p(k,l(79-R,W,K,G),z[g[R]+E],s(R)),y[R]),Z),k=Z,Z=G,G=M(K,10),K=W,W=c}c=d(this.h[1],L,G),this.h[1]=d(this.h[2],H,Z),this.h[2]=d(this.h[3],T,k),this.h[3]=d(this.h[4],N,W),this.h[4]=d(this.h[0],q,K),this.h[0]=c},"update"),S.prototype._digest=f(function(z){return z==="hex"?m.toHex32(this.h,"little"):m.split32(this.h,"little")},"digest");function l(w,z,E,N){return w<=15?z^E^N:w<=31?z&E|~z&N:w<=47?(z|~E)^N:w<=63?z&N|E&~N:z^(E|~N)}f(l,"f");function n(w){return w<=15?0:w<=31?1518500249:w<=47?1859775393:w<=63?2400959708:2840853838}f(n,"K");function s(w){return w<=15?1352829926:w<=31?1548603684:w<=47?1836072691:w<=63?2053994217:0}f(s,"Kh");var v=[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],g=[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],_=[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],y=[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]},41:(U,F,I)=>{"use strict";F.sha1=I(761),F.sha224=I(799),F.sha256=I(344),F.sha384=I(978),F.sha512=I(900)},761:(U,F,I)=>{"use strict";var m=I(436),P=I(772),M=I(38),A=m.rotl32,d=m.sum32,p=m.sum32_5,B=M.ft_1,S=P.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function n(){if(!(this instanceof n))return new n;S.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}f(n,"SHA1"),m.inherits(n,S),U.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=f(function(v,g){for(var _=this.W,y=0;y<16;y++)_[y]=v[g+y];for(;y<_.length;y++)_[y]=A(_[y-3]^_[y-8]^_[y-14]^_[y-16],1);var w=this.h[0],z=this.h[1],E=this.h[2],N=this.h[3],q=this.h[4];for(y=0;y<_.length;y++){var L=~~(y/20),H=p(A(w,5),B(L,z,E,N),q,_[y],l[L]);q=N,N=E,E=A(z,30),z=w,w=H}this.h[0]=d(this.h[0],w),this.h[1]=d(this.h[1],z),this.h[2]=d(this.h[2],E),this.h[3]=d(this.h[3],N),this.h[4]=d(this.h[4],q)},"_update"),n.prototype._digest=f(function(v){return v==="hex"?m.toHex32(this.h,"big"):m.split32(this.h,"big")},"digest")},799:(U,F,I)=>{"use strict";var m=I(436),P=I(344);function M(){if(!(this instanceof M))return new M;P.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}f(M,"SHA224"),m.inherits(M,P),U.exports=M,M.blockSize=512,M.outSize=224,M.hmacStrength=192,M.padLength=64,M.prototype._digest=f(function(d){return d==="hex"?m.toHex32(this.h.slice(0,7),"big"):m.split32(this.h.slice(0,7),"big")},"digest")},344:(U,F,I)=>{"use strict";var m=I(436),P=I(772),M=I(38),A=I(746),d=m.sum32,p=m.sum32_4,B=m.sum32_5,S=M.ch32,l=M.maj32,n=M.s0_256,s=M.s1_256,v=M.g0_256,g=M.g1_256,_=P.BlockHash,y=[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 w(){if(!(this instanceof w))return new w;_.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}f(w,"SHA256"),m.inherits(w,_),U.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=f(function(E,N){for(var q=this.W,L=0;L<16;L++)q[L]=E[N+L];for(;L<q.length;L++)q[L]=p(g(q[L-2]),q[L-7],v(q[L-15]),q[L-16]);var H=this.h[0],T=this.h[1],k=this.h[2],W=this.h[3],K=this.h[4],G=this.h[5],Z=this.h[6],R=this.h[7];for(A(this.k.length===q.length),L=0;L<q.length;L++){var c=B(R,s(K),S(K,G,Z),this.k[L],q[L]),e=d(n(H),l(H,T,k));R=Z,Z=G,G=K,K=d(W,c),W=k,k=T,T=H,H=d(c,e)}this.h[0]=d(this.h[0],H),this.h[1]=d(this.h[1],T),this.h[2]=d(this.h[2],k),this.h[3]=d(this.h[3],W),this.h[4]=d(this.h[4],K),this.h[5]=d(this.h[5],G),this.h[6]=d(this.h[6],Z),this.h[7]=d(this.h[7],R)},"_update"),w.prototype._digest=f(function(E){return E==="hex"?m.toHex32(this.h,"big"):m.split32(this.h,"big")},"digest")},978:(U,F,I)=>{"use strict";var m=I(436),P=I(900);function M(){if(!(this instanceof M))return new M;P.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}f(M,"SHA384"),m.inherits(M,P),U.exports=M,M.blockSize=1024,M.outSize=384,M.hmacStrength=192,M.padLength=128,M.prototype._digest=f(function(d){return d==="hex"?m.toHex32(this.h.slice(0,12),"big"):m.split32(this.h.slice(0,12),"big")},"digest")},900:(U,F,I)=>{"use strict";var m=I(436),P=I(772),M=I(746),A=m.rotr64_hi,d=m.rotr64_lo,p=m.shr64_hi,B=m.shr64_lo,S=m.sum64,l=m.sum64_hi,n=m.sum64_lo,s=m.sum64_4_hi,v=m.sum64_4_lo,g=m.sum64_5_hi,_=m.sum64_5_lo,y=P.BlockHash,w=[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 z(){if(!(this instanceof z))return new z;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=w,this.W=new Array(160)}f(z,"SHA512"),m.inherits(z,y),U.exports=z,z.blockSize=1024,z.outSize=512,z.hmacStrength=192,z.padLength=128,z.prototype._prepareBlock=f(function(e,r){for(var a=this.W,i=0;i<32;i++)a[i]=e[r+i];for(;i<a.length;i+=2){var h=Z(a[i-4],a[i-3]),b=R(a[i-4],a[i-3]),x=a[i-14],o=a[i-13],t=K(a[i-30],a[i-29]),u=G(a[i-30],a[i-29]),O=a[i-32],D=a[i-31];a[i]=s(h,b,x,o,t,u,O,D),a[i+1]=v(h,b,x,o,t,u,O,D)}},"_prepareBlock"),z.prototype._update=f(function(e,r){this._prepareBlock(e,r);var a=this.W,i=this.h[0],h=this.h[1],b=this.h[2],x=this.h[3],o=this.h[4],t=this.h[5],u=this.h[6],O=this.h[7],D=this.h[8],C=this.h[9],J=this.h[10],V=this.h[11],X=this.h[12],Ne=this.h[13],Y=this.h[14],Q=this.h[15];M(this.k.length===a.length);for(var Le=0;Le<a.length;Le+=2){var $=Y,j=Q,qe=k(D,C),ee=W(D,C),re=E(D,C,J,V,X,Ne),Fe=N(D,C,J,V,X,Ne),ae=this.k[Le],fe=this.k[Le+1],Te=a[Le],ie=a[Le+1],te=g($,j,qe,ee,re,Fe,ae,fe,Te,ie),He=_($,j,qe,ee,re,Fe,ae,fe,Te,ie);$=H(i,h),j=T(i,h),qe=q(i,h,b,x,o,t),ee=L(i,h,b,x,o,t);var de=l($,j,qe,ee),ne=n($,j,qe,ee);Y=X,Q=Ne,X=J,Ne=V,J=D,V=C,D=l(u,O,te,He),C=n(O,O,te,He),u=o,O=t,o=b,t=x,b=i,x=h,i=l(te,He,de,ne),h=n(te,He,de,ne)}S(this.h,0,i,h),S(this.h,2,b,x),S(this.h,4,o,t),S(this.h,6,u,O),S(this.h,8,D,C),S(this.h,10,J,V),S(this.h,12,X,Ne),S(this.h,14,Y,Q)},"_update"),z.prototype._digest=f(function(e){return e==="hex"?m.toHex32(this.h,"big"):m.split32(this.h,"big")},"digest");function E(c,e,r,a,i){var h=c&r^~c&i;return h<0&&(h+=4294967296),h}f(E,"ch64_hi");function N(c,e,r,a,i,h){var b=e&a^~e&h;return b<0&&(b+=4294967296),b}f(N,"ch64_lo");function q(c,e,r,a,i){var h=c&r^c&i^r&i;return h<0&&(h+=4294967296),h}f(q,"maj64_hi");function L(c,e,r,a,i,h){var b=e&a^e&h^a&h;return b<0&&(b+=4294967296),b}f(L,"maj64_lo");function H(c,e){var r=A(c,e,28),a=A(e,c,2),i=A(e,c,7),h=r^a^i;return h<0&&(h+=4294967296),h}f(H,"s0_512_hi");function T(c,e){var r=d(c,e,28),a=d(e,c,2),i=d(e,c,7),h=r^a^i;return h<0&&(h+=4294967296),h}f(T,"s0_512_lo");function k(c,e){var r=A(c,e,14),a=A(c,e,18),i=A(e,c,9),h=r^a^i;return h<0&&(h+=4294967296),h}f(k,"s1_512_hi");function W(c,e){var r=d(c,e,14),a=d(c,e,18),i=d(e,c,9),h=r^a^i;return h<0&&(h+=4294967296),h}f(W,"s1_512_lo");function K(c,e){var r=A(c,e,1),a=A(c,e,8),i=p(c,e,7),h=r^a^i;return h<0&&(h+=4294967296),h}f(K,"g0_512_hi");function G(c,e){var r=d(c,e,1),a=d(c,e,8),i=B(c,e,7),h=r^a^i;return h<0&&(h+=4294967296),h}f(G,"g0_512_lo");function Z(c,e){var r=A(c,e,19),a=A(e,c,29),i=p(c,e,6),h=r^a^i;return h<0&&(h+=4294967296),h}f(Z,"g1_512_hi");function R(c,e){var r=d(c,e,19),a=d(e,c,29),i=B(c,e,6),h=r^a^i;return h<0&&(h+=4294967296),h}f(R,"g1_512_lo")},38:(U,F,I)=>{"use strict";var m=I(436),P=m.rotr32;function M(s,v,g,_){if(s===0)return A(v,g,_);if(s===1||s===3)return p(v,g,_);if(s===2)return d(v,g,_)}f(M,"ft_1"),F.ft_1=M;function A(s,v,g){return s&v^~s&g}f(A,"ch32"),F.ch32=A;function d(s,v,g){return s&v^s&g^v&g}f(d,"maj32"),F.maj32=d;function p(s,v,g){return s^v^g}f(p,"p32"),F.p32=p;function B(s){return P(s,2)^P(s,13)^P(s,22)}f(B,"s0_256"),F.s0_256=B;function S(s){return P(s,6)^P(s,11)^P(s,25)}f(S,"s1_256"),F.s1_256=S;function l(s){return P(s,7)^P(s,18)^s>>>3}f(l,"g0_256"),F.g0_256=l;function n(s){return P(s,17)^P(s,19)^s>>>10}f(n,"g1_256"),F.g1_256=n},436:(U,F,I)=>{"use strict";var m=I(746),P=I(378);F.inherits=P;function M(R,c){return(R.charCodeAt(c)&64512)!==55296||c<0||c+1>=R.length?!1:(R.charCodeAt(c+1)&64512)===56320}f(M,"isSurrogatePair");function A(R,c){if(Array.isArray(R))return R.slice();if(!R)return[];var e=[];if(typeof R=="string")if(c){if(c==="hex")for(R=R.replace(/[^a-z0-9]+/ig,""),R.length%2!==0&&(R="0"+R),a=0;a<R.length;a+=2)e.push(parseInt(R[a]+R[a+1],16))}else for(var r=0,a=0;a<R.length;a++){var i=R.charCodeAt(a);i<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=i&63|128):M(R,a)?(i=65536+((i&1023)<<10)+(R.charCodeAt(++a)&1023),e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=i&63|128):(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=i&63|128)}else for(a=0;a<R.length;a++)e[a]=R[a]|0;return e}f(A,"toArray"),F.toArray=A;function d(R){for(var c="",e=0;e<R.length;e++)c+=S(R[e].toString(16));return c}f(d,"toHex"),F.toHex=d;function p(R){var c=R>>>24|R>>>8&65280|R<<8&16711680|(R&255)<<24;return c>>>0}f(p,"htonl"),F.htonl=p;function B(R,c){for(var e="",r=0;r<R.length;r++){var a=R[r];c==="little"&&(a=p(a)),e+=l(a.toString(16))}return e}f(B,"toHex32"),F.toHex32=B;function S(R){return R.length===1?"0"+R:R}f(S,"zero2"),F.zero2=S;function l(R){return R.length===7?"0"+R:R.length===6?"00"+R:R.length===5?"000"+R:R.length===4?"0000"+R:R.length===3?"00000"+R:R.length===2?"000000"+R:R.length===1?"0000000"+R:R}f(l,"zero8"),F.zero8=l;function n(R,c,e,r){var a=e-c;m(a%4===0);for(var i=new Array(a/4),h=0,b=c;h<i.length;h++,b+=4){var x;r==="big"?x=R[b]<<24|R[b+1]<<16|R[b+2]<<8|R[b+3]:x=R[b+3]<<24|R[b+2]<<16|R[b+1]<<8|R[b],i[h]=x>>>0}return i}f(n,"join32"),F.join32=n;function s(R,c){for(var e=new Array(R.length*4),r=0,a=0;r<R.length;r++,a+=4){var i=R[r];c==="big"?(e[a]=i>>>24,e[a+1]=i>>>16&255,e[a+2]=i>>>8&255,e[a+3]=i&255):(e[a+3]=i>>>24,e[a+2]=i>>>16&255,e[a+1]=i>>>8&255,e[a]=i&255)}return e}f(s,"split32"),F.split32=s;function v(R,c){return R>>>c|R<<32-c}f(v,"rotr32"),F.rotr32=v;function g(R,c){return R<<c|R>>>32-c}f(g,"rotl32"),F.rotl32=g;function _(R,c){return R+c>>>0}f(_,"sum32"),F.sum32=_;function y(R,c,e){return R+c+e>>>0}f(y,"sum32_3"),F.sum32_3=y;function w(R,c,e,r){return R+c+e+r>>>0}f(w,"sum32_4"),F.sum32_4=w;function z(R,c,e,r,a){return R+c+e+r+a>>>0}f(z,"sum32_5"),F.sum32_5=z;function E(R,c,e,r){var a=R[c],i=R[c+1],h=r+i>>>0,b=(h<r?1:0)+e+a;R[c]=b>>>0,R[c+1]=h}f(E,"sum64"),F.sum64=E;function N(R,c,e,r){var a=c+r>>>0,i=(a<c?1:0)+R+e;return i>>>0}f(N,"sum64_hi"),F.sum64_hi=N;function q(R,c,e,r){var a=c+r;return a>>>0}f(q,"sum64_lo"),F.sum64_lo=q;function L(R,c,e,r,a,i,h,b){var x=0,o=c;o=o+r>>>0,x+=o<c?1:0,o=o+i>>>0,x+=o<i?1:0,o=o+b>>>0,x+=o<b?1:0;var t=R+e+a+h+x;return t>>>0}f(L,"sum64_4_hi"),F.sum64_4_hi=L;function H(R,c,e,r,a,i,h,b){var x=c+r+i+b;return x>>>0}f(H,"sum64_4_lo"),F.sum64_4_lo=H;function T(R,c,e,r,a,i,h,b,x,o){var t=0,u=c;u=u+r>>>0,t+=u<c?1:0,u=u+i>>>0,t+=u<i?1:0,u=u+b>>>0,t+=u<b?1:0,u=u+o>>>0,t+=u<o?1:0;var O=R+e+a+h+x+t;return O>>>0}f(T,"sum64_5_hi"),F.sum64_5_hi=T;function k(R,c,e,r,a,i,h,b,x,o){var t=c+r+i+b+o;return t>>>0}f(k,"sum64_5_lo"),F.sum64_5_lo=k;function W(R,c,e){var r=c<<32-e|R>>>e;return r>>>0}f(W,"rotr64_hi"),F.rotr64_hi=W;function K(R,c,e){var r=R<<32-e|c>>>e;return r>>>0}f(K,"rotr64_lo"),F.rotr64_lo=K;function G(R,c,e){return R>>>e}f(G,"shr64_hi"),F.shr64_hi=G;function Z(R,c,e){var r=R<<32-e|c>>>e;return r>>>0}f(Z,"shr64_lo"),F.shr64_lo=Z},156:(U,F,I)=>{"use strict";var m=I(715),P=I(504),M=I(746);function A(d){if(!(this instanceof A))return new A(d);this.hash=d.hash,this.predResist=!!d.predResist,this.outLen=this.hash.outSize,this.minEntropy=d.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var p=P.toArray(d.entropy,d.entropyEnc||"hex"),B=P.toArray(d.nonce,d.nonceEnc||"hex"),S=P.toArray(d.pers,d.persEnc||"hex");M(p.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(p,B,S)}f(A,"HmacDRBG"),U.exports=A,A.prototype._init=f(function(p,B,S){var l=p.concat(B).concat(S);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(l),this._reseed=1,this.reseedInterval=281474976710656},"init"),A.prototype._hmac=f(function(){return new m.hmac(this.hash,this.K)},"hmac"),A.prototype._update=f(function(p){var B=this._hmac().update(this.V).update([0]);p&&(B=B.update(p)),this.K=B.digest(),this.V=this._hmac().update(this.V).digest(),p&&(this.K=this._hmac().update(this.V).update([1]).update(p).digest(),this.V=this._hmac().update(this.V).digest())},"update"),A.prototype.reseed=f(function(p,B,S,l){typeof B!="string"&&(l=S,S=B,B=null),p=P.toArray(p,B),S=P.toArray(S,l),M(p.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(p.concat(S||[])),this._reseed=1},"reseed"),A.prototype.generate=f(function(p,B,S,l){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof B!="string"&&(l=S,S=B,B=null),S&&(S=P.toArray(S,l||"hex"),this._update(S));for(var n=[];n.length<p;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var s=n.slice(0,p);return this._update(S),this._reseed++,P.encode(s,B)},"generate")},378:(U,F,I)=>{try{var m=I(837);if(typeof m.inherits!="function")throw"";U.exports=m.inherits}catch{U.exports=I(717)}},717:U=>{typeof Object.create=="function"?U.exports=f(function(I,m){m&&(I.super_=m,I.prototype=Object.create(m.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):U.exports=f(function(I,m){if(m){I.super_=m;var P=f(function(){},"TempCtor");P.prototype=m.prototype,I.prototype=new P,I.prototype.constructor=I}},"inherits")},746:U=>{U.exports=F;function F(I,m){if(!I)throw new Error(m||"Assertion failed")}f(F,"assert"),F.equal=f(function(m,P,M){if(m!=P)throw new Error(M||"Assertion failed: "+m+" != "+P)},"assertEqual")},504:(U,F)=>{"use strict";var I=F;function m(A,d){if(Array.isArray(A))return A.slice();if(!A)return[];var p=[];if(typeof A!="string"){for(var B=0;B<A.length;B++)p[B]=A[B]|0;return p}if(d==="hex"){A=A.replace(/[^a-z0-9]+/ig,""),A.length%2!==0&&(A="0"+A);for(var B=0;B<A.length;B+=2)p.push(parseInt(A[B]+A[B+1],16))}else for(var B=0;B<A.length;B++){var S=A.charCodeAt(B),l=S>>8,n=S&255;l?p.push(l,n):p.push(n)}return p}f(m,"toArray"),I.toArray=m;function P(A){return A.length===1?"0"+A:A}f(P,"zero2"),I.zero2=P;function M(A){for(var d="",p=0;p<A.length;p++)d+=P(A[p].toString(16));return d}f(M,"toHex"),I.toHex=M,I.encode=f(function(d,p){return p==="hex"?M(d):d},"encode")},601:(U,F,I)=>{var m=I(113),P=I(357),M=I(368),A=I(777);function d(B,S,l,n,s,v){if(P(l,n),B=A(B,M,"Password"),S=A(S,M,"Salt"),typeof s=="function"&&(v=s,s="sha1"),typeof v!="function")throw new Error("No callback provided to pbkdf2");return m.pbkdf2(B,S,l,n,s,v)}f(d,"nativePBKDF2");function p(B,S,l,n,s){return P(l,n),B=A(B,M,"Password"),S=A(S,M,"Salt"),s=s||"sha1",m.pbkdf2Sync(B,S,l,n,s)}f(p,"nativePBKDF2Sync"),!m.pbkdf2Sync||m.pbkdf2Sync.toString().indexOf("keylen, digest")===-1?(F.pbkdf2Sync=I(493),F.pbkdf2=I(638)):(F.pbkdf2Sync=p,F.pbkdf2=d)},638:(U,F,I)=>{var m=I(509).Buffer,P=I(357),M=I(368),A=I(493),d=I(777),p,B=global.crypto&&global.crypto.subtle,S={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"},l=[];function n(y){if(global.process&&!global.process.browser||!B||!B.importKey||!B.deriveBits)return Promise.resolve(!1);if(l[y]!==void 0)return l[y];p=p||m.alloc(8);var w=g(p,p,10,128,y).then(function(){return!0}).catch(function(){return!1});return l[y]=w,w}f(n,"checkNative");var s;function v(){return s||(global.process&&global.process.nextTick?s=global.process.nextTick:global.queueMicrotask?s=global.queueMicrotask:global.setImmediate?s=global.setImmediate:s=global.setTimeout,s)}f(v,"getNextTick");function g(y,w,z,E,N){return B.importKey("raw",y,{name:"PBKDF2"},!1,["deriveBits"]).then(function(q){return B.deriveBits({name:"PBKDF2",salt:w,iterations:z,hash:{name:N}},q,E<<3)}).then(function(q){return m.from(q)})}f(g,"browserPbkdf2");function _(y,w){y.then(function(z){v()(function(){w(null,z)})},function(z){v()(function(){w(z)})})}f(_,"resolvePromise"),U.exports=function(y,w,z,E,N,q){typeof N=="function"&&(q=N,N=void 0),N=N||"sha1";var L=S[N.toLowerCase()];if(!L||typeof global.Promise!="function"){v()(function(){var H;try{H=A(y,w,z,E,N)}catch(T){return q(T)}q(null,H)});return}if(P(z,E),y=d(y,M,"Password"),w=d(w,M,"Salt"),typeof q!="function")throw new Error("No callback provided to pbkdf2");_(n(L).then(function(H){return H?g(y,w,z,E,L):A(y,w,z,E,N)}),q)}},368:U=>{var F;if(global.process&&global.process.browser)F="utf-8";else if(global.process&&global.process.version){var I=parseInt(process.version.split(".")[0].slice(1),10);F=I>=6?"utf-8":"binary"}else F="utf-8";U.exports=F},357:U=>{var F=Math.pow(2,30)-1;U.exports=function(I,m){if(typeof I!="number")throw new TypeError("Iterations not a number");if(I<0)throw new TypeError("Bad iterations");if(typeof m!="number")throw new TypeError("Key length not a number");if(m<0||m>F||m!==m)throw new TypeError("Bad key length")}},493:(U,F,I)=>{var m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},P=I(555),M=I(509).Buffer,A=I(357),d=I(368),p=I(777);function B(S,l,n,s,v){A(n,s),S=p(S,d,"Password"),l=p(l,d,"Salt"),v=v||"sha1";var g=M.allocUnsafe(s),_=M.allocUnsafe(l.length+4);l.copy(_,0,0,l.length);for(var y=0,w=m[v],z=Math.ceil(s/w),E=1;E<=z;E++){_.writeUInt32BE(E,l.length);for(var N=P(v,S).update(_).digest(),q=N,L=1;L<n;L++){q=P(v,S).update(q).digest();for(var H=0;H<w;H++)N[H]^=q[H]}N.copy(g,y),y+=w}return g}f(B,"pbkdf2"),U.exports=B},777:(U,F,I)=>{var m=I(509).Buffer;U.exports=function(P,M,A){if(m.isBuffer(P))return P;if(typeof P=="string")return m.from(P,M);if(ArrayBuffer.isView(P))return m.from(P.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},353:(U,F,I)=>{U.exports=I(113).randomBytes},509:(U,F,I)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var m=I(300),P=m.Buffer;function M(d,p){for(var B in d)p[B]=d[B]}f(M,"copyProps"),P.from&&P.alloc&&P.allocUnsafe&&P.allocUnsafeSlow?U.exports=m:(M(m,F),F.Buffer=A);function A(d,p,B){return P(d,p,B)}f(A,"SafeBuffer"),A.prototype=Object.create(P.prototype),M(P,A),A.from=function(d,p,B){if(typeof d=="number")throw new TypeError("Argument must not be a number");return P(d,p,B)},A.alloc=function(d,p,B){if(typeof d!="number")throw new TypeError("Argument must be a number");var S=P(d);return p!==void 0?typeof B=="string"?S.fill(p,B):S.fill(p):S.fill(0),S},A.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return P(d)},A.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return m.SlowBuffer(d)}},291:(U,F,I)=>{"use strict";I.d(F,{f:()=>m});function m(P){const M=typeof P=="string"?P.charCodeAt(0):P;return M>=97&&M<=102||M>=65&&M<=70||M>=48&&M<=57}f(m,"isHexadecimal")},726:U=>{"use strict";U.exports={i8:"7.0.1"}}};