PageSourceSearch

https://bunni.pro/5247.801953b779d15847b386.js

js bunni.pro collected 2026-09-25 20:04:44 UTC 434,771 bytes, 1 lines download raw bytes

1(self.webpackChunktimeless_frontend=self.webpackChunktimeless_frontend||[]).push([[5247],{62016:(O,C,_)=>{"use strict";const I=C;I.bignum=_(32260),I.define=_(37738).define,I.base=_(38384),I.constants=_(82779),I.decoders=_(41274),I.encoders=_(7549)},37738:(O,C,_)=>{"use strict";const I=_(7549),R=_(41274),p=_(59879);function s(g,y){this.name=g,this.body=y,this.decoders={},this.encoders={}}C.define=function(y,w){return new s(y,w)},s.prototype._createNamed=function(y){const w=this.name;function m(c){this._initNamed(c,w)}return p(m,y),m.prototype._initNamed=function(l,M){y.call(this,l,M)},new m(this)},s.prototype._getDecoder=function(y){return this.decoders.hasOwnProperty(y=y||"der")||(this.decoders[y]=this._createNamed(R[y])),this.decoders[y]},s.prototype.decode=function(y,w,m){return this._getDecoder(w).decode(y,m)},s.prototype._getEncoder=function(y){return this.encoders.hasOwnProperty(y=y||"der")||(this.encoders[y]=this._createNamed(I[y])),this.encoders[y]},s.prototype.encode=function(y,w,m){return this._getEncoder(w).encode(y,m)}},12227:(O,C,_)=>{"use strict";const I=_(59879),R=_(24475).b,p=_(88114).Buffer;function A(g,y){R.call(this,y),p.isBuffer(g)?(this.base=g,this.offset=0,this.length=g.length):this.error("Input not Buffer")}function s(g,y){if(Array.isArray(g))this.length=0,this.value=g.map(function(w){return s.isEncoderBuffer(w)||(w=new s(w,y)),this.length+=w.length,w},this);else if("number"==typeof g){if(!(0<=g&&g<=255))return y.error("non-byte EncoderBuffer value");this.value=g,this.length=1}else if("string"==typeof g)this.value=g,this.length=p.byteLength(g);else{if(!p.isBuffer(g))return y.error("Unsupported type: "+typeof g);this.value=g,this.length=g.length}}I(A,R),C.C=A,A.isDecoderBuffer=function(y){return y instanceof A||"object"==typeof y&&p.isBuffer(y.base)&&"DecoderBuffer"===y.constructor.name&&"number"==typeof y.offset&&"number"==typeof y.length&&"function"==typeof y.save&&"function"==typeof y.restore&&"function"==typeof y.isEmpty&&"function"==typeof y.readUInt8&&"function"==typeof y.skip&&"function"==typeof y.raw},A.prototype.save=function(){return{offset:this.offset,reporter:R.prototype.save.call(this)}},A.prototype.restore=function(y){const w=new A(this.base);return w.offset=y.offset,w.length=this.offset,this.offset=y.offset,R.prototype.restore.call(this,y.reporter),w},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(y){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(y||"DecoderBuffer overrun")},A.prototype.skip=function(y,w){if(!(this.offset+y<=this.length))return this.error(w||"DecoderBuffer overrun");const m=new A(this.base);return m._reporterState=this._reporterState,m.offset=this.offset,m.length=this.offset+y,this.offset+=y,m},A.prototype.raw=function(y){return this.base.slice(y?y.offset:this.offset,this.length)},C.R=s,s.isEncoderBuffer=function(y){return y instanceof s||"object"==typeof y&&"EncoderBuffer"===y.constructor.name&&"number"==typeof y.length&&"function"==typeof y.join},s.prototype.join=function(y,w){return y||(y=p.alloc(this.length)),w||(w=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(m){m.join(y,w),w+=m.length}):("number"==typeof this.value?y[w]=this.value:"string"==typeof this.value?y.write(this.value,w):p.isBuffer(this.value)&&this.value.copy(y,w),w+=this.length)),y}},38384:(O,C,_)=>{"use strict";const I=C;I.Reporter=_(24475).b,I.DecoderBuffer=_(12227).C,I.EncoderBuffer=_(12227).R,I.Node=_(14652)},14652:(O,C,_)=>{"use strict";const I=_(24475).b,R=_(12227).R,p=_(12227).C,A=_(86055),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],g=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function w(c,l,M){const v={};this._baseState=v,v.name=M,v.enc=c,v.parent=l||null,v.children=null,v.tag=null,v.args=null,v.reverseArgs=null,v.choice=null,v.optional=!1,v.any=!1,v.obj=!1,v.use=null,v.useDecoder=null,v.key=null,v.default=null,v.explicit=null,v.implicit=null,v.contains=null,v.parent||(v.children=[],this._wrap())}O.exports=w;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];w.prototype.clone=function(){const l=this._baseState,M={};m.forEach(function(b){M[b]=l[b]});const v=new this.constructor(M.parent);return v._baseState=M,v},w.prototype._wrap=function(){const l=this._baseState;g.forEach(function(M){this[M]=function(){const b=new this.constructor(this);return l.children.push(b),b[M].apply(b,arguments)}},this)},w.prototype._init=function(l){const M=this._baseState;A(null===M.parent),l.call(this),M.children=M.children.filter(function(v){return v._baseState.parent===this},this),A.equal(M.children.length,1,"Root node can have only one child")},w.prototype._useArgs=function(l){const M=this._baseState,v=l.filter(function(b){return b instanceof this.constructor},this);l=l.filter(function(b){return!(b instanceof this.constructor)},this),0!==v.length&&(A(null===M.children),M.children=v,v.forEach(function(b){b._baseState.parent=this},this)),0!==l.length&&(A(null===M.args),M.args=l,M.reverseArgs=l.map(function(b){if("object"!=typeof b||b.constructor!==Object)return b;const x={};return Object.keys(b).forEach(function(S){S==(0|S)&&(S|=0),x[b[S]]=S}),x}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(c){w.prototype[c]=function(){throw new Error(c+" not implemented for encoding: "+this._baseState.enc)}}
vendor: 5,503 bytes, line 1
1),s.forEach(function(c){w.prototype[c]=function(){const M=this._baseState,v=Array.prototype.slice.call(arguments);return A(null===M.tag),M.tag=c,this._useArgs(v),this}}),w.prototype.use=function(l){A(l);const M=this._baseState;return A(null===M.use),M.use=l,this},w.prototype.optional=function(){return this._baseState.optional=!0,this},w.prototype.def=function(l){const M=this._baseState;return A(null===M.default),M.default=l,M.optional=!0,this},w.prototype.explicit=function(l){const M=this._baseState;return A(null===M.explicit&&null===M.implicit),M.explicit=l,this},w.prototype.implicit=function(l){const M=this._baseState;return A(null===M.explicit&&null===M.implicit),M.implicit=l,this},w.prototype.obj=function(){const l=this._baseState,M=Array.prototype.slice.call(arguments);return l.obj=!0,0!==M.length&&this._useArgs(M),this},w.prototype.key=function(l){const M=this._baseState;return A(null===M.key),M.key=l,this},w.prototype.any=function(){return this._baseState.any=!0,this},w.prototype.choice=function(l){const M=this._baseState;return A(null===M.choice),M.choice=l,this._useArgs(Object.keys(l).map(function(v){return l[v]})),this},w.prototype.contains=function(l){const M=this._baseState;return A(null===M.use),M.contains=l,this},w.prototype._decode=function(l,M){const v=this._baseState;if(null===v.parent)return l.wrapResult(v.children[0]._decode(l,M));let B,b=v.default,x=!0,S=null;if(null!==v.key&&(S=l.enterKey(v.key)),v.optional){let E=null;if(null!==v.explicit?E=v.explicit:null!==v.implicit?E=v.implicit:null!==v.tag&&(E=v.tag),null!==E||v.any){if(x=this._peekTag(l,E,v.any),l.isError(x))return x}else{const D=l.save();try{null===v.choice?this._decodeGeneric(v.tag,l,M):this._decodeChoice(l,M),x=!0}catch{x=!1}l.restore(D)}}if(v.obj&&x&&(B=l.enterObject()),x){if(null!==v.explicit){const D=this._decodeTag(l,v.explicit);if(l.isError(D))return D;l=D}const E=l.offset;if(null===v.use&&null===v.choice){let D;v.any&&(D=l.save());const N=this._decodeTag(l,null!==v.implicit?v.implicit:v.tag,v.any);if(l.isError(N))return N;v.any?b=l.raw(D):l=N}if(M&&M.track&&null!==v.tag&&M.track(l.path(),E,l.length,"tagged"),M&&M.track&&null!==v.tag&&M.track(l.path(),l.offset,l.length,"content"),v.any||(b=null===v.choice?this._decodeGeneric(v.tag,l,M):this._decodeChoice(l,M)),l.isError(b))return b;if(!v.any&&null===v.choice&&null!==v.children&&v.children.forEach(function(N){N._decode(l,M)}),v.contains&&("octstr"===v.tag||"bitstr"===v.tag)){const D=new p(b);b=this._getUse(v.contains,l._reporterState.obj)._decode(D,M)}}return v.obj&&x&&(b=l.leaveObject(B)),null===v.key||null===b&&!0!==x?null!==S&&l.exitKey(S):l.leaveKey(S,v.key,b),b},w.prototype._decodeGeneric=function(l,M,v){const b=this._baseState;return"seq"===l||"set"===l?null:"seqof"===l||"setof"===l?this._decodeList(M,l,b.args[0],v):/str$/.test(l)?this._decodeStr(M,l,v):"objid"===l&&b.args?this._decodeObjid(M,b.args[0],b.args[1],v):"objid"===l?this._decodeObjid(M,null,null,v):"gentime"===l||"utctime"===l?this._decodeTime(M,l,v):"null_"===l?this._decodeNull(M,v):"bool"===l?this._decodeBool(M,v):"objDesc"===l?this._decodeStr(M,l,v):"int"===l||"enum"===l?this._decodeInt(M,b.args&&b.args[0],v):null!==b.use?this._getUse(b.use,M._reporterState.obj)._decode(M,v):M.error("unknown tag: "+l)},w.prototype._getUse=function(l,M){const v=this._baseState;return v.useDecoder=this._use(l,M),A(null===v.useDecoder._baseState.parent),v.useDecoder=v.useDecoder._baseState.children[0],v.implicit!==v.useDecoder._baseState.implicit&&(v.useDecoder=v.useDecoder.clone(),v.useDecoder._baseState.implicit=v.implicit),v.useDecoder},w.prototype._decodeChoice=function(l,M){const v=this._baseState;let b=null,x=!1;return Object.keys(v.choice).some(function(S){const B=l.save(),E=v.choice[S];try{const D=E._decode(l,M);if(l.isError(D))return!1;b={type:S,value:D},x=!0}catch{return l.restore(B),!1}return!0},this),x?b:l.error("Choice not matched")},w.prototype._createEncoderBuffer=function(l){return new R(l,this.reporter)},w.prototype._encode=function(l,M,v){const b=this._baseState;if(null!==b.default&&b.default===l)return;const x=this._encodeValue(l,M,v);return void 0===x||this._skipDefault(x,M,v)?void 0:x},w.prototype._encodeValue=function(l,M,v){const b=this._baseState;if(null===b.parent)return b.children[0]._encode(l,M||new I);let x=null;if(this.reporter=M,b.optional&&void 0===l){if(null===b.default)return;l=b.default}let S=null,B=!1;if(b.any)x=this._createEncoderBuffer(l);else if(b.choice)x=this._encodeChoice(l,M);else if(b.contains)S=this._getUse(b.contains,v)._encode(l,M),B=!0;else if(b.children)S=b.children.map(function(E){if("null_"===E._baseState.tag)return E._encode(null,M,l);if(null===E._baseState.key)return M.error("Child should have a key");const D=M.enterKey(E._baseState.key);if("object"!=typeof l)return M.error("Child expected, but input is not object");const N=E._encode(l[E._baseState.key],M,l);return M.leaveKey(D),N},this).filter(function(E){return E}),S=this._createEncoderBuffer(S);else if("seqof"===b.tag||"setof"===b.tag){if(!b.args||1!==b.args.length)return M.error("Too many args for : "+b.tag);if(!Array.isArray(l))return M.error("seqof/setof, but data is not Array");const E=this.clone();E._baseState.implicit=null,S=this._createEncoderBuffer(l.map(function(D){return this._getUse(this._baseState.args[0],l)._encode(D,M)},E))}else null!==b.use?x=this._getUse(b.use,v)._encode(l,M):(S=this._encodePrimitive(b.tag,l),B=!0);if(!b.any&&null===b.choice){const E=null!==b.implicit?b.implicit:b.tag,D=null===b.
vendor: 13,367 bytes, line 1
1implicit?"universal":"context";null===E?null===b.use&&M.error("Tag could be omitted only for .use()"):null===b.use&&(x=this._encodeComposite(E,B,D,S))}return null!==b.explicit&&(x=this._encodeComposite(b.explicit,!1,"context",x)),x},w.prototype._encodeChoice=function(l,M){const v=this._baseState,b=v.choice[l.type];return b||A(!1,l.type+" not found in "+JSON.stringify(Object.keys(v.choice))),b._encode(l.value,M)},w.prototype._encodePrimitive=function(l,M){const v=this._baseState;if(/str$/.test(l))return this._encodeStr(M,l);if("objid"===l&&v.args)return this._encodeObjid(M,v.reverseArgs[0],v.args[1]);if("objid"===l)return this._encodeObjid(M,null,null);if("gentime"===l||"utctime"===l)return this._encodeTime(M,l);if("null_"===l)return this._encodeNull();if("int"===l||"enum"===l)return this._encodeInt(M,v.args&&v.reverseArgs[0]);if("bool"===l)return this._encodeBool(M);if("objDesc"===l)return this._encodeStr(M,l);throw new Error("Unsupported tag: "+l)},w.prototype._isNumstr=function(l){return/^[0-9 ]*$/.test(l)},w.prototype._isPrintstr=function(l){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(l)}},24475:(O,C,_)=>{"use strict";const I=_(59879);function R(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function p(A,s){this.path=A,this.rethrow(s)}C.b=R,R.prototype.isError=function(s){return s instanceof p},R.prototype.save=function(){const s=this._reporterState;return{obj:s.obj,pathLen:s.path.length}},R.prototype.restore=function(s){const g=this._reporterState;g.obj=s.obj,g.path=g.path.slice(0,s.pathLen)},R.prototype.enterKey=function(s){return this._reporterState.path.push(s)},R.prototype.exitKey=function(s){const g=this._reporterState;g.path=g.path.slice(0,s-1)},R.prototype.leaveKey=function(s,g,y){const w=this._reporterState;this.exitKey(s),null!==w.obj&&(w.obj[g]=y)},R.prototype.path=function(){return this._reporterState.path.join("/")},R.prototype.enterObject=function(){const s=this._reporterState,g=s.obj;return s.obj={},g},R.prototype.leaveObject=function(s){const g=this._reporterState,y=g.obj;return g.obj=s,y},R.prototype.error=function(s){let g;const y=this._reporterState,w=s instanceof p;if(g=w?s:new p(y.path.map(function(m){return"["+JSON.stringify(m)+"]"}).join(""),s.message||s,s.stack),!y.options.partial)throw g;return w||y.errors.push(g),g},R.prototype.wrapResult=function(s){const g=this._reporterState;return g.options.partial?{result:this.isError(s)?null:s,errors:g.errors}:s},I(p,Error),p.prototype.rethrow=function(s){if(this.message=s+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(g){this.stack=g.stack}return this}},32953:(O,C)=>{"use strict";function _(I){const R={};return Object.keys(I).forEach(function(p){(0|p)==p&&(p|=0),R[I[p]]=p}),R}C.tagClass={0:"universal",1:"application",2:"context",3:"private"},C.tagClassByName=_(C.tagClass),C.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},C.tagByName=_(C.tag)},82779:(O,C,_)=>{"use strict";const I=C;I._reverse=function(p){const A={};return Object.keys(p).forEach(function(s){(0|s)==s&&(s|=0),A[p[s]]=s}),A},I.der=_(32953)},14163:(O,C,_)=>{"use strict";const I=_(59879),R=_(32260),p=_(12227).C,A=_(14652),s=_(32953);function g(c){this.enc="der",this.name=c.name,this.entity=c,this.tree=new y,this.tree._init(c.body)}function y(c){A.call(this,"der",c)}function w(c,l){let M=c.readUInt8(l);if(c.isError(M))return M;const v=s.tagClass[M>>6],b=0==(32&M);if(31==(31&M)){let S=M;for(M=0;128==(128&S);){if(S=c.readUInt8(l),c.isError(S))return S;M<<=7,M|=127&S}}else M&=31;return{cls:v,primitive:b,tag:M,tagStr:s.tag[M]}}function m(c,l,M){let v=c.readUInt8(M);if(c.isError(v))return v;if(!l&&128===v)return null;if(0==(128&v))return v;const b=127&v;if(b>4)return c.error("length octect is too long");v=0;for(let x=0;x<b;x++){v<<=8;const S=c.readUInt8(M);if(c.isError(S))return S;v|=S}return v}O.exports=g,g.prototype.decode=function(l,M){return p.isDecoderBuffer(l)||(l=new p(l,M)),this.tree._decode(l,M)},I(y,A),y.prototype._peekTag=function(l,M,v){if(l.isEmpty())return!1;const b=l.save(),x=w(l,'Failed to peek tag: "'+M+'"');return l.isError(x)?x:(l.restore(b),x.tag===M||x.tagStr===M||x.tagStr+"of"===M||v)},y.prototype._decodeTag=function(l,M,v){const b=w(l,'Failed to decode tag of "'+M+'"');if(l.isError(b))return b;let x=m(l,b.primitive,'Failed to get length of "'+M+'"');if(l.isError(x))return x;if(!v&&b.tag!==M&&b.tagStr!==M&&b.tagStr+"of"!==M)return l.error('Failed to match tag: "'+M+'"');if(b.primitive||null!==x)return l.skip(x,'Failed to match body of: "'+M+'"');const S=l.save(),B=this._skipUntilEnd(l,'Failed to skip indefinite length body: "'+this.tag+'"');return l.isError(B)?B:(x=l.offset-S.offset,l.restore(S),l.skip(x,'Failed to match body of: "'+M+'"'))},y.prototype._skipUntilEnd=function(l,M){for(;;){const v=w(l,M);if(l.isError(v))return v;const b=m(l,v.primitive,M);if(l.isError(b))return b;let x;if(x=v.primitive||null!==b?l.skip(b):this._skipUntilEnd(l,M),l.isError(x))return x;if("end"===v.tagStr)break}},y.prototype._decodeList=function(l,M,v,b){const x=[];for(;!l.isEmpty();){const S=this._peekTag(l,"end");if(l.isError(S))return S;const B=v.decode(l,"der",b);if(l.isError(B)&&S)break;x.push(B)}return x},y.prototype._decodeStr=function(l,M){if("bitstr"===M){const v=l.readUInt8();return l.isError(v)?v:{unused:v,data:l.raw()}}if("bmpstr"===M){const v=l.raw();if(v.length%2==1)return l.error("Decoding of string type: bmpstr length mismatch");let b="";for(let x=0;x<v.length/2;x++)b+=String.fromCharCode(v.readUInt16BE(2*x));return b}if("numstr"===M){const v=l.raw().toString("ascii");return this._isNumstr(v)?v:l.error("Decoding of string type: numstr unsupported characters")}if("octstr"===M)return l.raw();if("objDesc"===M)return l.raw();if("printstr"===M){const v=l.raw().toString("ascii");return this._isPrintstr(v)?v:l.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(M)?l.raw().toString():l.error("Decoding of string type: "+M+" unsupported")},y.prototype._decodeObjid=function(l,M,v){let b;const x=[];let S=0,B=0;for(;!l.isEmpty();)B=l.readUInt8(),S<<=7,S|=127&B,0==(128&B)&&(x.push(S),S=0);if(128&B&&x.push(S),b=v?x:[x[0]/40|0,x[0]%40].concat(x.slice(1)),M){let N=M[b.join(" ")];void 0===N&&(N=M[b.join(".")]),void 0!==N&&(b=N)}return b},y.prototype._decodeTime=function(l,M){const v=l.raw().toString();let b,x,S,B,E,D;if("gentime"===M)b=0|v.slice(0,4),x=0|v.slice(4,6),S=0|v.slice(6,8),B=0|v.slice(8,10),E=0|v.slice(10,12),D=0|v.slice(12,14);else{if("utctime"!==M)return l.error("Decoding "+M+" time is not supported yet");b=0|v.slice(0,2),x=0|v.slice(2,4),S=0|v.slice(4,6),B=0|v.slice(6,8),E=0|v.slice(8,10),D=0|v.slice(10,12),b=b<70?2e3+b:1900+b}return Date.UTC(b,x-1,S,B,E,D,0)},y.prototype._decodeNull=function(){return null},y.prototype._decodeBool=function(l){const M=l.readUInt8();return l.isError(M)?M:0!==M},y.prototype._decodeInt=function(l,M){const v=l.raw();let b=new R(v);return M&&(b=M[b.toString(10)]||b),b},y.prototype._use=function(l,M){return"function"==typeof l&&(l=l(M)),l._getDecoder("der").tree}},41274:(O,C,_)=>{"use strict";const I=C;I.der=_(14163),I.pem=_(60773)},60773:(O,C,_)=>{"use strict";const I=_(59879),R=_(88114).Buffer,p=_(14163);function A(s){p.call(this,s),this.enc="pem"}I(A,p),O.exports=A,A.prototype.decode=function(g,y){const w=g.toString().split(/[\r\n]+/g),m=y.label.toUpperCase(),c=/^-----(BEGIN|END) ([^-]+)-----$/;let l=-1,M=-1;for(let x=0;x<w.length;x++){const S=w[x].match(c);if(null!==S&&S[2]===m){if(-1!==l){if("END"!==S[1])break;M=x;break}if("BEGIN"!==S[1])break;l=x}}if(-1===l||-1===M)throw new Error("PEM section not found for: "+m);const v=w.slice(l+1,M).join("");v.replace(/[^a-z0-9+/=]+/gi,"");const b=R.from(v,"base64");return p.prototype.decode.call(this,b,y)}},75079:(O,C,_)=>{"use strict";const I=_(59879),R=_(88114).Buffer,p=_(14652),A=_(32953);function s(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new g,this.tree._init(m.body)}function g(m){p.call(this,"der",m)}function y(m){return m<10?"0"+m:m}O.exports=s,s.prototype.encode=function(c,l){return this.tree._encode(c,l).join()},I(g,p),g.prototype._encodeComposite=function(c,l,M,v){const b=function(m,c,l,M){let v;if("seqof"===m?m="seq":"setof"===m&&(m="set"),A.tagByName.hasOwnProperty(m))v=A.tagByName[m];else{if("number"!=typeof m||(0|m)!==m)return M.error("Unknown tag: "+m);v=m}return v>=31?M.error("Multi-octet tag encoding unsupported"):(c||(v|=32),v|=A.tagClassByName[l||"universal"]<<6,v)}(c,l,M,this.reporter);if(v.length<128){const B=R.alloc(2);return B[0]=b,B[1]=v.length,this._createEncoderBuffer([B,v])}let x=1;for(let B=v.length;B>=256;B>>=8)x++;const S=R.alloc(2+x);S[0]=b,S[1]=128|x;for(let B=1+x,E=v.length;E>0;B--,E>>=8)S[B]=255&E;return this._createEncoderBuffer([S,v])},g.prototype._encodeStr=function(c,l){if("bitstr"===l)return this._createEncoderBuffer([0|c.unused,c.data]);if("bmpstr"===l){const M=R.alloc(2*c.length);for(let v=0;v<c.length;v++)M.writeUInt16BE(c.charCodeAt(v),2*v);return this._createEncoderBuffer(M)}return"numstr"===l?this._isNumstr(c)?this._createEncoderBuffer(c):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===l?this._isPrintstr(c)?this._createEncoderBuffer(c):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(l)||"objDesc"===l?this._createEncoderBuffer(c):this.reporter.error("Encoding of string type: "+l+" unsupported")},g.prototype._encodeObjid=function(c,l,M){if("string"==typeof c){if(!l)return this.reporter.error("string objid given, but no values map found");if(!l.hasOwnProperty(c))return this.reporter.error("objid not found in values map");c=l[c].split(/[\s.]+/g);for(let S=0;S<c.length;S++)c[S]|=0}else if(Array.isArray(c)){c=c.slice();for(let S=0;S<c.length;S++)c[S]|=0}if(!Array.isArray(c))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(c));if(!M){if(c[1]>=40)return this.reporter.error("Second objid identifier OOB");c.splice(0,2,40*c[0]+c[1])}let v=0;for(let S=0;S<c.length;S++){let B=c[S];for(v++;B>=128;B>>=7)v++}const b=R.alloc(v);let x=b.length-1;for(let S=c.length-1;S>=0;S--){let B=c[S];for(b[x--]=127&B;(B>>=7)>0;)b[x--]=128|127&B}return this._createEncoderBuffer(b)},g.prototype._encodeTime=function(c,l){let M;const v=new Date(c);return"gentime"===l?M=[y(v.getUTCFullYear()),y(v.getUTCMonth()+1),y(v.getUTCDate()),y(v.getUTCHours()),y(v.getUTCMinutes()),y(v.getUTCSeconds()),"Z"].join(""):"utctime"===l?M=[y(v.getUTCFullYear()%100),y(v.getUTCMonth()+1),y(v.getUTCDate()),y(v.getUTCHours()),y(v.getUTCMinutes()),y(v.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+l+" time is not supported yet"),this._encodeStr(M,"octstr")},g.prototype._encodeNull=function(){return this._createEncoderBuffer("")},g.prototype._encodeInt=function(c,l){if("string"==typeof c){if(!l)return this.reporter.error("String int or enum given, but no values map");if(!l.hasOwnProperty(c))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(c));c=l[c]}if("number"!=typeof c&&!R.isBuffer(c)){const b=c.toArray();!c.sign&&128&b[0]&&b.unshift(0),c=R.from(b)}if(R.isBuffer(c)){let b=c.length;0===c.length&&b++;const x=R.alloc(b);return c.copy(x),0===c.length&&(x[0]=0),this._createEncoderBuffer(x)}if(c<128)return this._createEncoderBuffer(c);if(c<256)return this._createEncoderBuffer([0,c]);let M=1;for(let b=c;b>=256;b>>=8)M++;const v=new Array(M);for(let b=v.length-1;b>=0;b--)v[b]=255&c,c>>=8;return 128&v[0]&&v.unshift(0),this._createEncoderBuffer(R.from(v))},g.prototype._encodeBool=function(c){return this._createEncoderBuffer(c?255:0)},g.prototype._use=function(c,l){return"function"==typeof c&&(c=c(l)),c._getEncoder("der").tree},g.prototype._skipDefault=function(c,l,M){const v=this._baseState;let b;if(null===v.default)return!1;const x=c.join();if(void 0===v.defaultBuffer&&(v.defaultBuffer=this._encodeValue(v.default,l,M).join()),x.length!==v.defaultBuffer.length)return!1;for(b=0;b<x.length;b++)if(x[b]!==v.defaultBuffer[b])return!1;return!0}},7549:(O,C,_)=>{"use strict";const I=C;I.der=_(75079),I.pem=_(76163)},76163:(O,C,_)=>{"use strict";const I=_(59879),R=_(75079);function p(A){R.call(this,A),this.enc="pem"}I(p,R),O.exports=p,p.prototype.encode=function(s,g){const w=R.prototype.encode.call(this,s).toString("base64"),m=["-----BEGIN "+g.label+"-----"];for(let c=0;c<w.length;c+=64)m.push(w.slice(c,c+64));return m.push("-----END "+g.label+"-----"),m.join("\n")}},32260:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,179 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(80950).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 15,210 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},34761:(O,C,_)=>{var I;function R(A){this.rand=A}if(O.exports=function(s){return I||(I=new R(null)),I.generate(s)},O.exports.Rand=R,R.prototype.generate=function(s){return this._rand(s)},R.prototype._rand=function(s){if(this.rand.getBytes)return this.rand.getBytes(s);for(var g=new Uint8Array(s),y=0;y<g.length;y++)g[y]=this.rand.getByte();return g},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?R.prototype._rand=function(s){var g=new Uint8Array(s);return self.crypto.getRandomValues(g),g}:self.msCrypto&&self.msCrypto.getRandomValues?R.prototype._rand=function(s){var g=new Uint8Array(s);return self.msCrypto.getRandomValues(g),g}:"object"==typeof window&&(R.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var p=_(19726);if("function"!=typeof p.randomBytes)throw new Error("Not supported");R.prototype._rand=function(s){return p.randomBytes(s)}}catch{}},30875:(O,C,_)=>{var I=_(55859).Buffer;function R(w){I.isBuffer(w)||(w=I.from(w));for(var m=w.length/4|0,c=new Array(m),l=0;l<m;l++)c[l]=w.readUInt32BE(4*l);return c}function p(w){for(;0<w.length;w++)w[0]=0}function A(w,m,c,l,M){for(var Z,U,J,V,v=c[0],b=c[1],x=c[2],S=c[3],B=w[0]^m[0],E=w[1]^m[1],D=w[2]^m[2],N=w[3]^m[3],z=4,Et=1;Et<M;Et++)Z=v[B>>>24]^b[E>>>16&255]^x[D>>>8&255]^S[255&N]^m[z++],U=v[E>>>24]^b[D>>>16&255]^x[N>>>8&255]^S[255&B]^m[z++],J=v[D>>>24]^b[N>>>16&255]^x[B>>>8&255]^S[255&E]^m[z++],V=v[N>>>24]^b[B>>>16&255]^x[E>>>8&255]^S[255&D]^m[z++],B=Z,E=U,D=J,N=V;return Z=(l[B>>>24]<<24|l[E>>>16&255]<<16|l[D>>>8&255]<<8|l[255&N])^m[z++],U=(l[E>>>24]<<24|l[D>
1>>16&255]<<16|l[N>>>8&255]<<8|l[255&B])^m[z++],J=(l[D>>>24]<<24|l[N>>>16&255]<<16|l[B>>>8&255]<<8|l[255&E])^m[z++],V=(l[N>>>24]<<24|l[B>>>16&255]<<16|l[E>>>8&255]<<8|l[255&D])^m[z++],[Z>>>=0,U>>>=0,J>>>=0,V>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],g=function(){for(var w=new Array(256),m=0;m<256;m++)w[m]=m<128?m<<1:m<<1^283;for(var c=[],l=[],M=[[],[],[],[]],v=[[],[],[],[]],b=0,x=0,S=0;S<256;++S){var B=x^x<<1^x<<2^x<<3^x<<4;c[b]=B=B>>>8^255&B^99,l[B]=b;var E=w[b],D=w[E],N=w[D],Z=257*w[B]^16843008*B;M[0][b]=Z<<24|Z>>>8,M[1][b]=Z<<16|Z>>>16,M[2][b]=Z<<8|Z>>>24,M[3][b]=Z,v[0][B]=(Z=16843009*N^65537*D^257*E^16843008*b)<<24|Z>>>8,v[1][B]=Z<<16|Z>>>16,v[2][B]=Z<<8|Z>>>24,v[3][B]=Z,0===b?b=x=1:(b=E^w[w[w[N^E]]],x^=w[w[x]])}return{SBOX:c,INV_SBOX:l,SUB_MIX:M,INV_SUB_MIX:v}}();function y(w){this._key=R(w),this._reset()}y.blockSize=16,y.keySize=32,y.prototype.blockSize=y.blockSize,y.prototype.keySize=y.keySize,y.prototype._reset=function(){for(var w=this._key,m=w.length,c=m+6,l=4*(c+1),M=[],v=0;v<m;v++)M[v]=w[v];for(v=m;v<l;v++){var b=M[v-1];v%m==0?(b=g.SBOX[(b=b<<8|b>>>24)>>>24]<<24|g.SBOX[b>>>16&255]<<16|g.SBOX[b>>>8&255]<<8|g.SBOX[255&b],b^=s[v/m|0]<<24):m>6&&v%m==4&&(b=g.SBOX[b>>>24]<<24|g.SBOX[b>>>16&255]<<16|g.SBOX[b>>>8&255]<<8|g.SBOX[255&b]),M[v]=M[v-m]^b}for(var x=[],S=0;S<l;S++){var B=l-S,E=M[B-(S%4?0:4)];x[S]=S<4||B<=4?E:g.INV_SUB_MIX[0][g.SBOX[E>>>24]]^g.INV_SUB_MIX[1][g.SBOX[E>>>16&255]]^g.INV_SUB_MIX[2][g.SBOX[E>>>8&255]]^g.INV_SUB_MIX[3][g.SBOX[255&E]]}this._nRounds=c,this._keySchedule=M,this._invKeySchedule=x},y.prototype.encryptBlockRaw=function(w){return A(w=R(w),this._keySchedule,g.SUB_MIX,g.SBOX,this._nRounds)},y.prototype.encryptBlock=function(w){var m=this.encryptBlockRaw(w),c=I.allocUnsafe(16);return c.writeUInt32BE(m[0],0),c.writeUInt32BE(m[1],4),c.writeUInt32BE(m[2],8),c.writeUInt32BE(m[3],12),c},y.prototype.decryptBlock=function(w){var m=(w=R(w))[1];w[1]=w[3],w[3]=m;var c=A(w,this._invKeySchedule,g.INV_SUB_MIX,g.INV_SBOX,this._nRounds),l=I.allocUnsafe(16);return l.writeUInt32BE(c[0],0),l.writeUInt32BE(c[3],4),l.writeUInt32BE(c[2],8),l.writeUInt32BE(c[1],12),l},y.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},O.exports.AES=y},90295:(O,C,_)=>{var I=_(30875),R=_(55859).Buffer,p=_(65834),A=_(59879),s=_(24504),g=_(33910),y=_(61643);function c(l,M,v,b){p.call(this);var x=R.alloc(4,0);this._cipher=new I.AES(M);var S=this._cipher.encryptBlock(x);this._ghash=new s(S),v=function(l,M,v){if(12===M.length)return l._finID=R.concat([M,R.from([0,0,0,1])]),R.concat([M,R.from([0,0,0,2])]);var b=new s(v),x=M.length,S=x%16;b.update(M),S&&b.update(R.alloc(S=16-S,0)),b.update(R.alloc(8,0));var B=8*x,E=R.alloc(8);E.writeUIntBE(B,0,8),b.update(E),l._finID=b.state;var D=R.from(l._finID);return y(D),D}(this,v,S),this._prev=R.from(v),this._cache=R.allocUnsafe(0),this._secCache=R.allocUnsafe(0),this._decrypt=b,this._alen=0,this._len=0,this._mode=l,this._authTag=null,this._called=!1}A(c,p),c.prototype._update=function(l){if(!this._called&&this._alen){var M=16-this._alen%16;M<16&&(M=R.alloc(M,0),this._ghash.update(M))}this._called=!0;var v=this._mode.encrypt(this,l);return this._ghash.update(this._decrypt?l:v),this._len+=l.length,v},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var l=g(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(l,M){var v=0;l.length!==M.length&&v++;for(var b=Math.min(l.length,M.length),x=0;x<b;++x)v+=l[x]^M[x];return v}(l,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=l,this._cipher.scrub()},c.prototype.getAuthTag=function(){if(this._decrypt||!R.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},c.prototype.setAuthTag=function(M){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=M},c.prototype.setAAD=function(M){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(M),this._alen+=M.length},O.exports=c},39586:(O,C,_)=>
vendor: 17,047 bytes, line 1
1{var I=_(66481),R=_(63617),p=_(44946);C.createCipher=C.Cipher=I.createCipher,C.createCipheriv=C.Cipheriv=I.createCipheriv,C.createDecipher=C.Decipher=R.createDecipher,C.createDecipheriv=C.Decipheriv=R.createDecipheriv,C.listCiphers=C.getCiphers=function(){return Object.keys(p)}},63617:(O,C,_)=>{var I=_(90295),R=_(55859).Buffer,p=_(49396),A=_(49223),s=_(65834),g=_(30875),y=_(92367);function m(b,x,S){s.call(this),this._cache=new c,this._last=void 0,this._cipher=new g.AES(x),this._prev=R.from(S),this._mode=b,this._autopadding=!0}function c(){this.cache=R.allocUnsafe(0)}function M(b,x,S){var B=p[b.toLowerCase()];if(!B)throw new TypeError("invalid suite type");if("string"==typeof S&&(S=R.from(S)),"GCM"!==B.mode&&S.length!==B.iv)throw new TypeError("invalid iv length "+S.length);if("string"==typeof x&&(x=R.from(x)),x.length!==B.key/8)throw new TypeError("invalid key length "+x.length);return"stream"===B.type?new A(B.module,x,S,!0):"auth"===B.type?new I(B.module,x,S,!0):new m(B.module,x,S)}_(59879)(m,s),m.prototype._update=function(b){this._cache.add(b);for(var x,S,B=[];x=this._cache.get(this._autopadding);)S=this._mode.decrypt(this,x),B.push(S);return R.concat(B)},m.prototype._final=function(){var b=this._cache.flush();if(this._autopadding)return function(b){var x=b[15];if(x<1||x>16)throw new Error("unable to decrypt data");for(var S=-1;++S<x;)if(b[S+(16-x)]!==x)throw new Error("unable to decrypt data");if(16!==x)return b.slice(0,16-x)}(this._mode.decrypt(this,b));if(b)throw new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(b){return this._autopadding=!!b,this},c.prototype.add=function(b){this.cache=R.concat([this.cache,b])},c.prototype.get=function(b){var x;if(b){if(this.cache.length>16)return x=this.cache.slice(0,16),this.cache=this.cache.slice(16),x}else if(this.cache.length>=16)return x=this.cache.slice(0,16),this.cache=this.cache.slice(16),x;return null},c.prototype.flush=function(){if(this.cache.length)return this.cache},C.createDecipher=function(b,x){var S=p[b.toLowerCase()];if(!S)throw new TypeError("invalid suite type");var B=y(x,!1,S.key,S.iv);return M(b,B.key,B.iv)},C.createDecipheriv=M},66481:(O,C,_)=>{var I=_(49396),R=_(90295),p=_(55859).Buffer,A=_(49223),s=_(65834),g=_(30875),y=_(92367);function m(b,x,S){s.call(this),this._cache=new l,this._cipher=new g.AES(x),this._prev=p.from(S),this._mode=b,this._autopadding=!0}_(59879)(m,s),m.prototype._update=function(b){this._cache.add(b);for(var x,S,B=[];x=this._cache.get();)S=this._mode.encrypt(this,x),B.push(S);return p.concat(B)};var c=p.alloc(16,16);function l(){this.cache=p.allocUnsafe(0)}function M(b,x,S){var B=I[b.toLowerCase()];if(!B)throw new TypeError("invalid suite type");if("string"==typeof x&&(x=p.from(x)),x.length!==B.key/8)throw new TypeError("invalid key length "+x.length);if("string"==typeof S&&(S=p.from(S)),"GCM"!==B.mode&&S.length!==B.iv)throw new TypeError("invalid iv length "+S.length);return"stream"===B.type?new A(B.module,x,S):"auth"===B.type?new R(B.module,x,S):new m(B.module,x,S)}m.prototype._final=function(){var b=this._cache.flush();if(this._autopadding)return b=this._mode.encrypt(this,b),this._cipher.scrub(),b;if(!b.equals(c))throw this._cipher.scrub(),new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(b){return this._autopadding=!!b,this},l.prototype.add=function(b){this.cache=p.concat([this.cache,b])},l.prototype.get=function(){if(this.cache.length>15){var b=this.cache.slice(0,16);return this.cache=this.cache.slice(16),b}return null},l.prototype.flush=function(){for(var b=16-this.cache.length,x=p.allocUnsafe(b),S=-1;++S<b;)x.writeUInt8(b,S);return p.concat([this.cache,x])},C.createCipheriv=M,C.createCipher=function(b,x){var S=I[b.toLowerCase()];if(!S)throw new TypeError("invalid suite type");var B=y(x,!1,S.key,S.iv);return M(b,B.key,B.iv)}},24504:(O,C,_)=>{var I=_(55859).Buffer,R=I.alloc(16,0);function A(g){var y=I.allocUnsafe(16);return y.writeUInt32BE(g[0]>>>0,0),y.writeUInt32BE(g[1]>>>0,4),y.writeUInt32BE(g[2]>>>0,8),y.writeUInt32BE(g[3]>>>0,12),y}function s(g){this.h=g,this.state=I.alloc(16,0),this.cache=I.allocUnsafe(0)}s.prototype.ghash=function(g){for(var y=-1;++y<g.length;)this.state[y]^=g[y];this._multiply()},s.prototype._multiply=function(){for(var w,c,g=function(g){return[g.readUInt32BE(0),g.readUInt32BE(4),g.readUInt32BE(8),g.readUInt32BE(12)]}(this.h),y=[0,0,0,0],l=-1;++l<128;){for(0!=(this.state[~~(l/8)]&1<<7-l%8)&&(y[0]^=g[0],y[1]^=g[1],y[2]^=g[2],y[3]^=g[3]),c=0!=(1&g[3]),w=3;w>0;w--)g[w]=g[w]>>>1|(1&g[w-1])<<31;g[0]=g[0]>>>1,c&&(g[0]=g[0]^225<<24)}this.state=A(y)},s.prototype.update=function(g){this.cache=I.concat([this.cache,g]);for(var y;this.cache.length>=16;)y=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(y)},s.prototype.final=function(g,y){return this.cache.length&&this.ghash(I.concat([this.cache,R],16)),this.ghash(A([0,g,0,y])),this.state},O.exports=s},61643:O=>{O.exports=function(_){for(var R,I=_.length;I--;){if(255!==(R=_.readUInt8(I))){R++,_.writeUInt8(R,I);break}_.writeUInt8(0,I)}}},64552:(O,C,_)=>{var I=_(33910);C.encrypt=function(R,p){var A=I(p,R._prev);return R._prev=R._cipher.encryptBlock(A),R._prev},C.decrypt=function(R,p){var A=R._prev;R._prev=p;var s=R._cipher.decryptBlock(p);return I(s,A)}},97606:(O,C,_)=>{var I=_(55859).Buffer,R=_(33910);function p(A,s,g){var y=s.length,w=R(s,A._cache);return A._cache=A._cache.slice(y),A._prev=I.concat([A._prev,g?s:w]),w}C.encrypt=function(A,s,g){for(var w,y=I.allocUnsafe(0);s.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=I.allocUnsafe(0)),!(A._cache.length<=s.length)){y=I.concat([y,p(A,s,g)]);break}y=I.concat([y,p(A,s.slice(0,w=A._cache.length),g)]),s=s.slice(w)}return y}},47850:(O,C,_)=>{var I=_(55859).Buffer;function R(A,s,g){for(var l,M,w=-1,c=0;++w<8;)c+=(128&(M=A._cipher.encryptBlock(A._prev)[0]^(l=s&1<<7-w?128:0)))>>w%8,A._prev=p(A._prev,g?l:M);return c}function p(A,s){var g=A.length,y=-1,w=I.allocUnsafe(A.length);for(A=I.concat([A,I.from([s])]);++y<g;)w[y]=A[y]<<1|A[y+1]>>7;return w}C.encrypt=function(A,s,g){for(var y=s.length,w=I.allocUnsafe(y),m=-1;++m<y;)w[m]=R(A,s[m],g);return w}},56377:(O,C,_)=>{var I=_(55859).Buffer;function R(p,A,s){var y=p._cipher.encryptBlock(p._prev)[0]^A;return p._prev=I.concat([p._prev.slice(1),I.from([s?A:y])]),y}C.encrypt=function(p,A,s){for(var g=A.length,y=I.allocUnsafe(g),w=-1;++w<g;)y[w]=R(p,A[w],s);return y}},29306:(O,C,_)=>{var I=_(33910),R=_(55859).Buffer,p=_(61643);function A(g){var y=g._cipher.encryptBlockRaw(g._prev);return p(g._prev),y}C.encrypt=function(g,y){var w=Math.ceil(y.length/16),m=g._cache.length;g._cache=R.concat([g._cache,R.allocUnsafe(16*w)]);for(var c=0;c<w;c++){var l=A(g),M=m+16*c;g._cache.writeUInt32BE(l[0],M+0),g._cache.writeUInt32BE(l[1],M+4),g._cache.writeUInt32BE(l[2],M+8),g._cache.writeUInt32BE(l[3],M+12)}var v=g._cache.slice(0,y.length);return g._cache=g._cache.slice(y.length),I(y,v)}},48562:(O,C)=>{C.encrypt=function(_,I){return _._cipher.encryptBlock(I)},C.decrypt=function(_,I){return _._cipher.decryptBlock(I)}},49396:(O,C,_)=>{var I={ECB:_(48562),CBC:_(64552),CFB:_(97606),CFB8:_(56377),CFB1:_(47850),OFB:_(87461),CTR:_(29306),GCM:_(29306)},R=_(44946);for(var p in R)R[p].module=I[R[p].mode];O.exports=R},87461:(O,C,_)=>{var I=_(33910);function R(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}C.encrypt=function(p,A){for(;p._cache.length<A.length;)p._cache=Buffer.concat([p._cache,R(p)]);var s=p._cache.slice(0,A.length);return p._cache=p._cache.slice(A.length),I(A,s)}},49223:(O,C,_)=>{var I=_(30875),R=_(55859).Buffer,p=_(65834);function s(g,y,w,m){p.call(this),this._cipher=new I.AES(y),this._prev=R.from(w),this._cache=R.allocUnsafe(0),this._secCache=R.allocUnsafe(0),this._decrypt=m,this._mode=g}_(59879)(s,p),s.prototype._update=function(g){return this._mode.encrypt(this,g,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},O.exports=s},37991:(O,C,_)=>{var I=_(33796),R=_(39586),p=_(49396),A=_(83908),s=_(92367);function w(l,M,v){if(l=l.toLowerCase(),p[l])return R.createCipheriv(l,M,v);if(A[l])return new I({key:M,iv:v,mode:l});throw new TypeError("invalid suite type")}function m(l,M,v){if(l=l.toLowerCase(),p[l])return R.createDecipheriv(l,M,v);if(A[l])return new I({key:M,iv:v,mode:l,decrypt:!0});throw new TypeError("invalid suite type")}C.createCipher=C.Cipher=function(l,M){var v,b;if(l=l.toLowerCase(),p[l])v=p[l].key,b=p[l].iv;else{if(!A[l])throw new TypeError("invalid suite type");v=8*A[l].key,b=A[l].iv}var x=s(M,!1,v,b);return w(l,x.key,x.iv)},C.createCipheriv=C.Cipheriv=w,C.createDecipher=C.Decipher=function(l,M){var v,b;if(l=l.toLowerCase(),p[l])v=p[l].key,b=p[l].iv;else{if(!A[l])throw new TypeError("invalid suite type");v=8*A[l].key,b=A[l].iv}var x=s(M,!1,v,b);return m(l,x.key,x.iv)},C.createDecipheriv=C.Decipheriv=m,C.listCiphers=C.getCiphers=function(){return Object.keys(A).concat(R.getCiphers())}},33796:(O,C,_)=>{var I=_(65834),R=_(68534),p=_(59879),A=_(55859).Buffer,s={"des-ede3-cbc":R.CBC.instantiate(R.EDE),"des-ede3":R.EDE,"des-ede-cbc":R.CBC.instantiate(R.EDE),"des-ede":R.EDE,"des-cbc":R.CBC.instantiate(R.DES),"des-ecb":R.DES};function g(y){I.call(this);var c,w=y.mode.toLowerCase(),m=s[w];c=y.decrypt?"decrypt":"encrypt";var l=y.key;A.isBuffer(l)||(l=A.from(l)),("des-ede"===w||"des-ede-cbc"===w)&&(l=A.concat([l,l.slice(0,8)]));var M=y.iv;A.isBuffer(M)||(M=A.from(M)),this._des=m.create({key:l,iv:M,type:c})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],O.exports=g,p(g,I),g.prototype._update=function(y){return A.from(this._des.update(y))},g.prototype._final=function(){return A.from(this._des.final())}},83908:(O,C)=>{C["des-ecb"]={key:8,iv:0},C["des-cbc"]=C.des={key:8,iv:8},C["des-ede3-cbc"]=C.des3={key:24,iv:8},C["des-ede3"]={key:24,iv:0},C["des-ede-cbc"]={key:16,iv:8},C["des-ede"]={key:16,iv:0}},85842:(O,C,_)=>{var I=_(62630),R=_(16589);function A(g){var w,y=g.modulus.byteLength();do{w=new I(R(y))}while(w.cmp(g.modulus)>=0||!w.umod(g.prime1)||!w.umod(g.prime2));return w}function s(g,y){var w=function(g){var y=A(g);return{blinder:y.toRed(I.mont(g.modulus)).redPow(new I(g.publicExponent)).fromRed(),unblinder:y.invm(g.modulus)}}(y),m=y.modulus.byteLength(),c=new I(g).mul(w.blinder).umod(y.modulus),l=c.toRed(I.mont(y.prime1)),M=c.toRed(I.mont(y.prime2)),v=y.coefficient,b=y.prime1,x=y.prime2,S=l.redPow(y.exponent1).fromRed(),B=M.redPow(y.exponent2).fromRed(),E=S.isub(B).imul(v).umod(b).imul(x);return B.iadd(E).imul(w.unblinder).umod(y.modulus).toArrayLike(Buffer,"be",m)}s.getr=A,O.exports=s},6380:(O,C,_)=>{O.exports=_(8770)},23566:(O,C,_)=>{var I=_(55859).Buffer,R=_(12506),p=_(18300),A=_(59879),s=_(7052),g=_(48022),y=_(8770);function w(M){p.Writable.call(this);var v=y[M];if(!v)throw new Error("Unknown message digest");this._hashType=v.hash,this._hash=R(v.hash),this._tag=v.id,this._signType=v.sign}function m(M){p.Writable.call(this);var v=y[M];if(!v)throw new Error("Unknown message digest");this._hash=R(v.hash),this._tag=v.id,this._signType=v.sign}function c(M){return new w(M)}function l(M){return new m(M)}Object.keys(y).forEach(function(M){y[M].id=I.from(y[M].id,"hex"),y[M.toLowerCase()]=y[M]}),A(w,p.Writable),w.prototype._write=function(v,b,x){this._hash.update(v),x()},w.prototype.update=function(v,b){return"string"==typeof v&&(v=I.from(v,b)),this._hash.update(v),this},w.prototype.sign=function(v,b){this.end();var x=this._hash.digest(),S=s(x,v,this._hashType,this._signType,this._tag);return b?S.toString(b):S},A(m,p.Writable),m.prototype._write=function(v,b,x){this._hash.update(v),x()},m.prototype.update=function(v,b){return"string"==typeof v&&(v=I.from(v,b)),this._hash.update(v),this},m.prototype.verify=function(v,b,x){"string"==typeof b&&(b=I.from(b,x)),this.end();var S=this._hash.digest();return g(b,S,v,this._signType,this._tag)},O.exports={Sign:c,Verify:l,createSign:c,createVerify:l}},7052:(O,C,_)=>{var I=_(55859).Buffer,R=_(85903),p=_(85842),A=_(5247).ec,s=_(62630),g=_(81997),y=_(1308);function M(B,E,D,N){if((B=I.from(B.toArray())).length<E.byteLength()){var Z=I.alloc(E.byteLength()-B.length);B=I.concat([Z,B])}var U=D.length,J=function(B,E){B=(B=v(B,E)).mod(E);var D=I.from(B.toArray());if(D.length<E.byteLength()){var N=I.alloc(E.byteLength()-D.length);D=I.concat([N,D])}return D}(D,E),V=I.alloc(U);V.fill(1);var z=I.alloc(U);return z=R(N,z).update(V).update(I.from([0])).update(B).update(J).digest(),V=R(N,z).update(V).digest(),{k:z=R(N,z).update(V).update(I.from([1])).update(B).update(J).digest(),v:V=R(N,z).update(V).digest()}}function v(B,E){var D=new s(B),N=(B.length<<3)-E.bitLength();return N>0&&D.ishrn(N),D}function x(B,E,D){var N,Z;do{for(N=I.alloc(0);8*N.length<B.bitLength();)E.v=R(D,E.k).update(E.v).digest(),N=I.concat([N,E.v]);Z=v(N,B),E.k=R(D,E.k).update(E.v).update(I.from([0])).digest(),E.v=R(D,E.k).update(E.v).digest()}while(-1!==Z.cmp(B));return Z}function S(B,E,D,N){return B.toRed(s.mont(D)).redPow(E).fromRed().mod(N)}O.exports=function(B,E,D,N,Z){var U=g(E);if(U.curve){if("ecdsa"!==N&&"ecdsa/rsa"!==N)throw new Error("wrong private key type");return function(B,E){var D=y[E.curve.join(".")];if(!D)throw new Error("unknown curve "+E.curve.join("."));var U=new A(D).keyFromPrivate(E.privateKey).sign(B);return I.from(U.toDER())}(B,U)}if("dsa"===U.type){if("dsa"!==N)throw new Error("wrong private key type");return function(B,E,D){for(var z,N=E.params.priv_key,Z=E.params.p,U=E.params.q,J=E.params.g,V=new s(0),Et=v(B,U).mod(U),o=!1,t=M(N,U,B,D);!1===o;)V=S(J,z=x(U,t,D),Z,U),0===(o=z.invm(U).imul(Et.add(N.mul(V))).mod(U)).cmpn(0)&&(o=!1,V=new s(0));return function(B,E){B=B.toArray(),E=E.toArray(),128&B[0]&&(B=[0].concat(B)),128&E[0]&&(E=[0].concat(E));var N=[48,B.length+E.length+4,2,B.length];return N=N.concat(B,[2,E.length],E),I.from(N)}(V,o)}(B,U,D)}if("rsa"!==N&&"ecdsa/rsa"!==N)throw new Error("wrong private key type");B=I.concat([Z,B]);for(var J=U.modulus.byteLength(),V=[0,1];B.length+V.length+1<J;)V.push(255);V.push(0);for(var z=-1;++z<B.length;)V.push(B[z]);return p(V,U)},O.exports.getKey=M,O.exports.makeKey=x},48022:(O,C,_)=>{var I=_(55859).Buffer,R=_(62630),p=_(5247).ec,A=_(81997),s=_(1308);function m(c,l){if(c.cmpn(0)<=0)throw new Error("invalid sig");if(c.cmp(l)>=l)throw new Error("invalid sig")}O.exports=function(c,l,M,v,b){var x=A(M);if("ec"===x.type){if("ecdsa"!==v&&"ecdsa/rsa"!==v)throw new Error("wrong public key type");return function(c,l,M){var v=s[M.data.algorithm.curve.join(".")];if(!v)throw new Error("unknown curve "+M.data.algorithm.curve.join("."));return new p(v).verify(l,c,M.data.subjectPrivateKey.data)}(c,l,x)}if("dsa"===x.type){if("dsa"!==v)throw new Error("wrong public key type");return function(c,l,M){var v=M.data.p,b=M.data.q,x=M.data.g,S=M.data.pub_key,B=A.signature.decode(c,"der"),E=B.s,D=B.r;m(E,b),m(D,b);var N=R.mont(v),Z=E.invm(b);return 0===x.toRed(N).redPow(new R(l).mul(Z).mod(b)).fromRed().mul(S.toRed(N).redPow(D.mul(Z).mod(b)).fromRed()).mod(v).mod(b).cmp(D)}(c,l,x)}if("rsa"!==v&&"ecdsa/rsa"!==v)throw new Error("wrong public key type");l=I.concat([b,l]);for(var S=x.modulus.byteLength(),B=[1],E=0;l.length+B.length+2<S;)B.push(255),E++;B.push(0);for(var D=-1;++D<l.length;)B.push(l[D]);B=I.from(B);var N=R.mont(x.modulus);c=(c=new R(c).toRed(N)).redPow(new R(x.publicExponent)),c=I.from(c.fromRed().toArray());var Z=E<8?1:0;for(S=Math.min(c.length,B.length),c.length!==B.length&&(Z=1),D=-1;++D<S;)Z|=c[D]^B[D];return 0===Z}},33910:O=>{O.exports=function(_,I){for(var R=Math.min(_.length,I.length),p=new Buffer(R),A=0;A<R;++A)p[A]=_[A]^I[A];return p}},65834:(O,C,_)=>{var I=_(55859).Buffer,R=_(36917).Transform,p=_(32519).StringDecoder;function s(g){R.call(this),this.hashMode="string"==typeof g,this.hashMode?this[g]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}_(59879)(s,R),s.prototype.update=function(g,y,w){"string"==typeof g&&(g=I.from(g,y));var m=this._update(g);return this.hashMode?this:(w&&(m=this._toString(m,w)),m)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(g,y,w){var m;try{this.hashMode?this._update(g):this.push(this._update(g))}catch(c){m=c}finally{w(m)}},s.prototype._flush=function(g){var y;try{this.push(this.__final())}catch(w){y=w}g(y)},s.prototype._finalOrDigest=function(g){var y=this.__final()||I.alloc(0);return g&&(y=this._toString(y,g,!0)),y},s.prototype._toString=function(g,y,w){if(this._decoder||(this._decoder=new p(y),this._encoding=y),this._encoding!==y)throw new Error("can't switch encodings");var m=this._decoder.write(g);return w&&(m+=this._decoder.end()),m},O.exports=s},84892:(O,C,_)=>{var I=_(5247),R=_(96479);O.exports=function(y){return new A(y)};var p={secp256k1:{name:"secp256k1",byteLength:32}
1,secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function A(g){this.curveType=p[g],this.curveType||(this.curveType={name:g}),this.curve=new I.ec(this.curveType.name),this.keys=void 0}function s(g,y,w){Array.isArray(g)||(g=g.toArray());var m=new Buffer(g);if(w&&m.length<w){var c=new Buffer(w-m.length);c.fill(0),m=Buffer.concat([c,m])}return y?m.toString(y):m}p.p224=p.secp224r1,p.p256=p.secp256r1=p.prime256v1,p.p192=p.secp192r1=p.prime192v1,p.p384=p.secp384r1,p.p521=p.secp521r1,A.prototype.generateKeys=function(g,y){return this.keys=this.curve.genKeyPair(),this.getPublicKey(g,y)},A.prototype.computeSecret=function(g,y,w){return y=y||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,y)),s(this.curve.keyFromPublic(g).getPublic().mul(this.keys.getPrivate()).getX(),w,this.curveType.byteLength)},A.prototype.getPublicKey=function(g,y){var w=this.keys.getPublic("compressed"===y,!0);return"hybrid"===y&&(w[0]=w[w.length-1]%2?7:6),s(w,g)},A.prototype.getPrivateKey=function(g){return s(this.keys.getPrivate(),g)},A.prototype.setPublicKey=function(g,y){return y=y||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,y)),this.keys._importPublic(g),this},A.prototype.setPrivateKey=function(g,y){y=y||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,y));var w=new R(g);return w=w.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(w),this}},96479:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,178 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(8623).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 26,428 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},12506:(O,C,_)=>{"use strict";var I=_(59879),R=_(53264),p=_(75207),A=_(45829),s=_(65834);function g(y){s.call(this,"digest"),this._hash=y}I(g,s),g.prototype._update=function(y){this._hash.update(y)},g.prototype._final=function(){return this._hash.digest()},O.exports=function(w){return"md5"===(w=w.toLowerCase())?new R:"rmd160"===w||"ripemd160"===w?new p:new g(A(w))}},84464:(O,C,_)=>{var I=_(53264);O.exports=function(R){return(new I).update(R).digest()}},85903:(O,C,_)=>{"use strict";var I=_(59879),R=_(43715),p=_(65834),A=_(55859).Buffer,s=_(84464),g=_(75207),y=_(45829),w=A.alloc(128);function m(c,l){p.call(this,"digest"),"string"==typeof l&&(l=A.from(l));var M="sha512"===c||"sha384"===c?128:64;this._alg=c,this._key=l,l.length>M?l=("rmd160"===c?new g:y(c)).update(l).digest():l.length<M&&(l=A.concat([l,w],M));for(var b=this._ipad=A.allocUnsafe(M),x=this._opad=A.allocUnsafe(M),S=0;S<M;S++)b[S]=54^l[S],x[S]=92^l[S];this._hash="rmd160"===c?new g:y(c),this._hash.update(b)}I(m,p),m.prototype._update=function(c){this._hash.update(c)},m.prototype._final=function(){var c=this._hash.digest();return("rmd160"===this._alg?new g:y(this._alg)).update(this._opad).update(c).digest()},O.exports=function(l,M){return"rmd160"===(l=l.toLowerCase())||"ripemd160"===l?new m("rmd160",M):"md5"===l?new R(s,M):new m(l,M)}},43715:(O,C,_)=>{"use strict";var I=_(59879),R=_(55859).Buffer,p=_(65834),A=R.alloc(128),s=64;function g(y,w){p.call(this,"digest"),"string"==typeof w&&(w=R.from(w)),this._alg=y,this._key=w,w.length>s?w=y(w):w.length<s&&(w=R.concat([w,A],s));for(var m=this._ipad=R.allocUnsafe(s),c=this._opad=R.allocUnsafe(s),l=0;l<s;l++)m[l]=54^w[l],c[l]=92^w[l];this._hash=[m]}I(g,p),g.prototype._update=function(y){this._hash.push(y)},g.prototype._final=function(){var y=this._alg(R.concat(this._hash));return this._alg(R.concat([this._opad,y]))},O.exports=g},19726:(O,C,_)=>{"use strict";C.randomBytes=C.rng=C.pseudoRandomBytes=C.prng=_(16589),C.createHash=C.Hash=_(12506),C.createHmac=C.Hmac=_(85903);var I=_(6380),R=Object.keys(I),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(R);C.getHashes=function(){return p};var A=_(14161);C.pbkdf2=A.pbkdf2,C.pbkdf2Sync=A.pbkdf2Sync;var s=_(37991);C.Cipher=s.Cipher,C.createCipher=s.createCipher,C.Cipheriv=s.Cipheriv,C.createCipheriv=s.createCipheriv,C.Decipher=s.Decipher,C.createDecipher=s.createDecipher,C.Decipheriv=s.Decipheriv,C.createDecipheriv=s.createDecipheriv,C.getCiphers=s.getCiphers,C.listCiphers=s.listCiphers;var g=_(52322);C.DiffieHellmanGroup=g.DiffieHellmanGroup,C.createDiffieHellmanGroup=g.createDiffieHellmanGroup,C.getDiffieHellman=g.getDiffieHellman,C.createDiffieHellman=g.createDiffieHellman,C.DiffieHellman=g.DiffieHellman;var y=_(23566);C.createSign=y.createSign,C.Sign=y.Sign,C.createVerify=y.createVerify,C.Verify=y.Verify,C.createECDH=_(84892);var w=_(37537);C.publicEncrypt=w.publicEncrypt,C.privateEncrypt=w.privateEncrypt,C.publicDecrypt=w.publicDecrypt,C.privateDecrypt=w.privateDecrypt;var m=_(43594);C.randomFill=m.randomFill,C.randomFillSync=m.randomFillSync,C.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},C.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},68534:(O,C,_)=>{"use strict";C.utils=_(86157),C.Cipher=_(82243),C.DES=_(62917),C.CBC=_(78029),C.EDE=_(81082)},78029:(O,C,_)=>{"use strict";var I=_(86055),R=_(59879),p={};function A(g){I.equal(g.length,8,"Invalid IV length"),this.iv=new Array(8);for(var y=0;y<this.iv.length;y++)this.iv[y]=g[y]}C.instantiate=function(g){function y(l){g.call(this,l),this._cbcInit()}R(y,g);for(var w=Object.keys(p),m=0;m<w.length;m++){var c=w[m];y.prototype[c]=p[c]}return y.create=function(M){return new y(M)},y},p._cbcInit=function(){var y=new A(this.options.iv);this._cbcState=y},p._update=function(y,w,m,c){var M=this.constructor.super_.prototype,v=this._cbcState.iv;if("encrypt"===this.type){for(var b=0;b<this.blockSize;b++)v[b]^=y[w+b];for(M._update.call(this,v,0,m,c),b=0;b<this.blockSize;b++)v[b]=m[c+b]}else{for(M._update.call(this,y,w,m,c),b=0;b<this.blockSize;b++)m[c+b]^=v[b];for(b=0;b<this.blockSize;b++)v[b]=y[w+b]}}},82243:(O,C,_)=>{"use strict";var I=_(86055);function R(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==p.padding}O.exports=R,R.prototype._init=function(){},R.prototype.update=function(A){return 0===A.length?[]:"decrypt"===this.type?this._updateDecrypt(A):this._updateEncrypt(A)},R.prototype._buffer=function(A,s){for(var g=Math.min(this.buffer.length-this.bufferOff,A.length-s),y=0;y<g;y++)this.buffer[this.bufferOff+y]=A[s+y];return this.bufferOff+=g,g},R.prototype._flushBuffer=function(A,s){return this._update(this.buffer,0,A,s),this.bufferOff=0,this.blockSize},R.prototype._updateEncrypt=function(A){var s=0,g=0,w=new Array(((this.bufferOff+A.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(s+=this._buffer(A,s),this.bufferOff===this.buffer.length&&(g+=this._flushBuffer(w,g)));for(var m=A.length-(A.length-s)%this.blockSize;s<m;s+=this.blockSize)this._update(A,s,w,g),g+=this.blockSize;for(;s<A.length;s++,this.bufferOff++)this.buffer[this.bufferOff]=A[s];return w},R.prototype._updateDecrypt=function(A){for(var s=0,g=0,y=Math.ceil((this.bufferOff+A.length)/this.blockSize)-1,w=new Array(y*this.blockSize);y>0;y--)s+=this._buffer(A,s),g+=this._flushBuffer(w,g);return s+=this._buffer(A,s),w},R.prototype.final=function(A){var s,g;return A&&(s=this.update(A)),g="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),s?s.concat(g):g},R.prototype._pad=function(A,s){if(0===s)return!1;for(;s<A.length;)A[s++]=0;return!0},R.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var A=new Array(this.blockSize);return this._update(this.buffer,0,A,0),A},R.prototype._unpad=function(A){return A},R.prototype._finalDecrypt=function(){I.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var A=new Array(this.blockSize);return this._flushBuffer(A,0),this._unpad(A)}},62917:(O,C,_)=>{"use strict";var I=_(86055),R=_(59879),p=_(86157),A=_(82243);function s(){this.tmp=new Array(2),this.keys=null}function g(w){A.call(this,w);var m=new s;this._desState=m,this.deriveKeys(m,w.key)}R(g,A),O.exports=g,g.create=function(m){return new g(m)};var y=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];g.prototype.deriveKeys=function(m,c){m.keys=new Array(32),I.equal(c.length,this.blockSize,"Invalid key length");var l=p.readUInt32BE(c,0),M=p.readUInt32BE(c,4);p.pc1(l,M,m.tmp,0),l=m.tmp[0],M=m.tmp[1];for(var v=0;v<m.keys.length;v+=2){var b=y[v>>>1];l=p.r28shl(l,b),M=p.r28shl(M,b),p.pc2(l,M,m.keys,v)}},g.prototype._update=function(m,c,l,M){var v=this._desState,b=p.readUInt32BE(m,c),x=p.readUInt32BE(m,c+4);p.ip(b,x,v.tmp,0),b=v.tmp[0],x=v.tmp[1],"encrypt"===this.type?this._encrypt(v,b,x,v.tmp,0):this._decrypt(v,b,x,v.tmp,0),x=v.tmp[1],p.writeUInt32BE(l,b=v.tmp[0],M),p.writeUInt32BE(l,x,M+4)},g.prototype._pad=function(m,c){if(!1===this.padding)return!1;for(var l=m.length-c,M=c;M<m.length;M++)m[M]=l;return!0},g.prototype._unpad=function(m){if(!1===this.padding)return m;for(var c=m[m.length-1],l=m.length-c;l<m.length;l++)I.equal(m[l],c);return m.slice(0,m.length-c)},g.prototype._encrypt=function(m,c,l,M,v){for(var b=c,x=l,S=0;S<m.keys.length;S+=2){var B=m.keys[S],E=m.keys[S+1];p.expand(x,m.tmp,0);var D=p.substitute(B^=m.tmp[0],E^=m.tmp[1]),Z=x;x=(b^p.permute(D))>>>0,b=Z}p.rip(x,b,M,v)},g.prototype._decrypt=function(m,c,l,M,v){for(var b=l,x=c,S=m.keys.length-2;S>=0;S-=2){var B=m.keys[S],E=m.keys[S+1];p.expand(b,m.tmp,0);var D=p.substitute(B^=m.tmp[0],E^=m.tmp[1]),Z=b;b=(x^p.permute(D))>>>0,x=Z}p.rip(b,x,M,v)}},81082:(O,C,_)=>{"use strict";var I=_(86055),R=_(59879),p=_(82243),A=_(62917);function s(y,w){I.equal(w.length,24,"Invalid key length");var m=w.slice(0,8),c=w.slice(8,16),l=w.slice(16,24);this.ciphers="encrypt"===y?[A.create({type:"encrypt",key:m}),A.create({type:"decrypt",key:c}),A.create({type:"encrypt",key:l})]:[A.create({type:"decrypt",key:l}),A.create({type:"encrypt",key:c}),A.create({type:"decrypt",key:m})]}function g(y){p.call(this,y);var w=new s(this.type,this.options.key);this._edeState=w}R(g,p),O.exports=g,g.create=function(w){return new g(w)},g.prototype._update=function(w,m,c,l){var M=this._edeState;M.ciphers[0]._update(w,m,c,l),M.ciphers[1]._update(c,l,c,l),M.ciphers[2]._update(c,l,c,l)},g.prototype._pad=A.prototype._pad,g.prototype._unpad=A.prototype._unpad},86157:(O,C)=>{"use strict";C.readUInt32BE=function(A,s){return(A[0+s]<<24|A[1+s]<<16|A[2+s]<<8|A[3+s])>>>0},C.writeUInt32BE=function(A,s,g){A[0+g]=s>>>24,A[1+g]=s>>>16&255,A[2+g]=s>>>8&255,A[3+g]=255&s},C.ip=function(A,s,g,y){for(var w=0,m=0,c=6;c>=0;c-=2){for(var l=0;l<=24;l+=8)w<<=1,w|=s>>>l+c&1;for(l=0;l<=24;l+=8)w<<=1,w|=A>>>l+c&1}for(c=6;c>=0;c-=2){for(l=1;l<=25;l+=8)m<<=1,m|=s>>>l+c&1;for(l=1;l<=25;l+=8)m<<=1,m|=A>>>l+c&1}g[y+0]=w>>>0,g[y+1]=m>>>0},C.rip=function(A,s,g,y){for(var w=0,m=0,c=0;c<4;c++)for(var l=24;l>=0;l-=8)w<<=1,w|=s>>>l+c&1,w<<=1,w|=A>>>l+c&1;for(c=4;c<8;c++)for(l=24;l>=0;l-=8)m<<=1,m|=s>>>l+c&1,m<<=1,m|=A>>>l+c&1;g[y+0]=w>>>0,g[y+1]=m>>>0},C.pc1=function(A,s,g,y){for(var w=0,m=0,c=7;c>=5;c--){for(var l=0;l<=24;l+=8)w<<=1,w|=s>>l+c&1;for(l=0;l<=24;l+=8)w<<=1,w|=A>>l+c&1}for(l=0;l<=24;l+=8)w<<=1,w|=s>>l+c&1;for(c=1;c<=3;c++){for(l=0;l<=24;l+=8)m<<=1,m|=s>>l+c&1;for(l=0;l<=24;l+=8)m<<=1,m|=A>>l+c&1}for(l=0;l<=24;l+=8)m<<=1,m|=A>>l+c&1;g[y+0]=w>>>0,g[y+1]=m>>>0},C.r28shl=function(A,s){return A<<s&268435455|A>>>28-s};var _=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];C.pc2=function(A,s,g,y){for(var w=0,m=0,c=_.length>>>1,l=0;l<c;l++)w<<=1,w|=A>>>_[l]&1;for(l=c;l<_.length;l++)m<<=1,m|=s>>>_[l]&1;g[y+0]=w>>>0,g[y+1]=m>>>0},C.expand=function(A,s,g){var y=0,w=0;y=(1&A)<<5|A>>>27;for(var m=23;m>=15;m-=4)y<<=6,y|=A>>>m&63;for(m=11;m>=3;m-=4)w|=A>>>m&63,w<<=6;w|=(31&A)<<1|A>>>31,s[g+0]=y>>>0,s[g+1]=w>>>0};var I=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];C.substitute=function(A,s){for(var g=0,y=0;y<4;y++)g<<=4,g|=I[64*y+(A>>>18-6*y&63)];for(y=0;y<4;y++)g<<=4,g|=I[256+64*y+(s>>>18-6*y&63)];return g>>>0};var R=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];C.permute=function(A){for(var s=0,g=0;g<R.length;g++)s<<=1,s|=A>>>R[g]&1;return s>>>0},C.padSplit=function(A,s,g){for(var y=A.toString(2);y.length<s;)y="0"+y;for(var w=[],m=0;m<s;m+=g)w.push(y.slice(m,m+g));return w.join(" ")}},52322:(O,C,_)=>{var I=_(84069),R=_(29799),p=_(26374),s={binary:!0,hex:!0,base64:!0};C.DiffieHellmanGroup=C.createDiffieHellmanGroup=C.getDiffieHellman=function(y){var w=new Buffer(R[y].prime,"hex"),m=new Buffer(R[y].gen,"hex");return new p(w,m)},C.createDiffieHellman=C.DiffieHellman=function g(y,w,m,c){return Buffer.isBuffer(w)||void 0===s[w]?g(y,"binary",w,m):(w=w||"binary",c=c||"binary",m=m||new Buffer([2]),Buffer.isBuffer(m)||(m=new Buffer(m,c)),"number"==typeof y?new p(I(y,m),m,!0):(Buffer.isBuffer(y)||(y=new Buffer(y,w)),new p(y,m,!0)))}},26374:(O,C,_)=>{var I=_(74980),p=new(_(14398)),A=new I(24),s=new I(11),g=new I(10),y=new I(3),w=new I(7),m=_(84069),c=_(16589);
1function l(B,E){return E=E||"utf8",Buffer.isBuffer(B)||(B=new Buffer(B,E)),this._pub=new I(B),this}function M(B,E){return E=E||"utf8",Buffer.isBuffer(B)||(B=new Buffer(B,E)),this._priv=new I(B),this}O.exports=x;var v={};function x(B,E,D){this.setGenerator(E),this.__prime=new I(B),this._prime=I.mont(this.__prime),this._primeLen=B.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,D?(this.setPublicKey=l,this.setPrivateKey=M):this._primeCode=8}function S(B,E){var D=new Buffer(B.toArray());return E?D.toString(E):D}Object.defineProperty(x.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(B,E){var D=E.toString("hex"),N=[D,B.toString(16)].join("_");if(N in v)return v[N];var U,Z=0;if(B.isEven()||!m.simpleSieve||!m.fermatTest(B)||!p.test(B))return Z+=1,v[N]=Z+="02"===D||"05"===D?8:4,Z;switch(p.test(B.shrn(1))||(Z+=2),D){case"02":B.mod(A).cmp(s)&&(Z+=8);break;case"05":(U=B.mod(g)).cmp(y)&&U.cmp(w)&&(Z+=8);break;default:Z+=4}return v[N]=Z,Z}(this.__prime,this.__gen)),this._primeCode}}),x.prototype.generateKeys=function(){return this._priv||(this._priv=new I(c(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()}
1,x.prototype.computeSecret=function(B){var E=(B=(B=new I(B)).toRed(this._prime)).redPow(this._priv).fromRed(),D=new Buffer(E.toArray()),N=this.getPrime();if(D.length<N.length){var Z=new Buffer(N.length-D.length);Z.fill(0),D=Buffer.concat([Z,D])}return D},x.prototype.getPublicKey=function(E){return S(this._pub,E)},x.prototype.getPrivateKey=function(E){return S(this._priv,E)},x.prototype.getPrime=function(B){return S(this.__prime,B)},x.prototype.getGenerator=function(B){return S(this._gen,B)},x.prototype.setGenerator=function(B,E){return E=E||"utf8",Buffer.isBuffer(B)||(B=new Buffer(B,E)),this.__gen=B,this._gen=new I(B),this}},84069:(O,C,_)=>{var I=_(16589);O.exports=Z,Z.simpleSieve=D,Z.fermatTest=N;var R=_(74980),p=new R(24),s=new(_(14398)),g=new R(1),y=new R(2),w=new R(5),l=(new R(16),new R(8),new R(10)),M=new R(3),b=(new R(7),new R(11)),x=new R(4),B=(new R(12),null);function D(U){for(var J=function(){if(null!==B)return B;var J=[];J[0]=2;for(var V=1,z=3;z<1048576;z+=2){for(var Et=Math.ceil(Math.sqrt(z)),o=0;o<V&&J[o]<=Et&&z%J[o]!=0;o++);V!==o&&J[o]<=Et||(J[V++]=z)}return B=J,J}(),V=0;V<J.length;V++)if(0===U.modn(J[V]))return 0===U.cmpn(J[V]);return!0}function N(U){var J=R.mont(U);return 0===y.toRed(J).redPow(U.subn(1)).fromRed().cmpn(1)}function Z(U,J){if(U<16)return new R(2===J||5===J?[140,123]:[140,39]);J=new R(J);for(var V,z;;){for(V=new R(I(Math.ceil(U/8)));V.bitLength()>U;)V.ishrn(1);if(V.isEven()&&V.iadd(g),V.testn(1)||V.iadd(y),J.cmp(y)){if(!J.cmp(w))for(;V.mod(l).cmp(M);)V.iadd(x)}else for(;V.mod(p).cmp(b);)V.iadd(x);if(D(z=V.shrn(1))&&D(V)&&N(z)&&N(V)&&s.test(z)&&s.test(V))return V}}},74980:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,178 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(7748).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 14,422 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},5247:(O,C,_)=>{"use strict";var I=C;I.version=_(18597).i8,I.utils=_(22946),I.rand=_(34761),I.curve=_(93868),I.curves=_(73346),I.ec=_(17237),I.eddsa=_(61615)},10780:(O,C,_)=>{"use strict";var I=_(24584),R=_(22946),p=R.getNAF,A=R.getJSF,s=R.assert;function g(w,m){this.type=w,this.p=new I(m.p,16),this.red=m.prime?I.red(m.prime):I.mont(this.p),this.zero=new I(0).toRed(this.red),this.one=new I(1).toRed(this.red),this.two=new I(2).toRed(this.red),this.n=m.n&&new I(m.n,16),this.g=m.g&&this.pointFromJSON(m.g,m.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 c=this.n&&this.p.div(this.n);!c||c.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 11,492 bytes, line 1
1function y(w,m){this.curve=w,this.type=m,this.precomputed=null}O.exports=g,g.prototype.point=function(){throw new Error("Not implemented")},g.prototype.validate=function(){throw new Error("Not implemented")},g.prototype._fixedNafMul=function(m,c){s(m.precomputed);var l=m._getDoubles(),M=p(c,1,this._bitLength),v=(1<<l.step+1)-(l.step%2==0?2:1);v/=3;var x,S,b=[];for(x=0;x<M.length;x+=l.step){S=0;for(var B=x+l.step-1;B>=x;B--)S=(S<<1)+M[B];b.push(S)}for(var E=this.jpoint(null,null,null),D=this.jpoint(null,null,null),N=v;N>0;N--){for(x=0;x<b.length;x++)(S=b[x])===N?D=D.mixedAdd(l.points[x]):S===-N&&(D=D.mixedAdd(l.points[x].neg()));E=E.add(D)}return E.toP()},g.prototype._wnafMul=function(m,c){for(var l=4,M=m._getNAFPoints(l),v=M.points,b=p(c,l=M.wnd,this._bitLength),x=this.jpoint(null,null,null),S=b.length-1;S>=0;S--){for(var B=0;S>=0&&0===b[S];S--)B++;if(S>=0&&B++,x=x.dblp(B),S<0)break;var E=b[S];s(0!==E),x="affine"===m.type?x.mixedAdd(E>0?v[E-1>>1]:v[-E-1>>1].neg()):x.add(E>0?v[E-1>>1]:v[-E-1>>1].neg())}return"affine"===m.type?x.toP():x},g.prototype._wnafMulAdd=function(m,c,l,M,v){var E,D,N,b=this._wnafT1,x=this._wnafT2,S=this._wnafT3,B=0;for(E=0;E<M;E++){var Z=(N=c[E])._getNAFPoints(m);b[E]=Z.wnd,x[E]=Z.points}for(E=M-1;E>=1;E-=2){var U=E-1,J=E;if(1===b[U]&&1===b[J]){var V=[c[U],null,null,c[J]];0===c[U].y.cmp(c[J].y)?(V[1]=c[U].add(c[J]),V[2]=c[U].toJ().mixedAdd(c[J].neg())):0===c[U].y.cmp(c[J].y.redNeg())?(V[1]=c[U].toJ().mixedAdd(c[J]),V[2]=c[U].add(c[J].neg())):(V[1]=c[U].toJ().mixedAdd(c[J]),V[2]=c[U].toJ().mixedAdd(c[J].neg()));var z=[-3,-1,-5,-7,0,7,5,1,3],Et=A(l[U],l[J]);for(B=Math.max(Et[0].length,B),S[U]=new Array(B),S[J]=new Array(B),D=0;D<B;D++)S[U][D]=z[3*(1+(0|Et[0][D]))+(1+(0|Et[1][D]))],S[J][D]=0,x[U]=V}else S[U]=p(l[U],b[U],this._bitLength),S[J]=p(l[J],b[J],this._bitLength),B=Math.max(S[U].length,B),B=Math.max(S[J].length,B)}var r=this.jpoint(null,null,null),i=this._wnafT4;for(E=B;E>=0;E--){for(var f=0;E>=0;){var h=!0;for(D=0;D<M;D++)i[D]=0|S[D][E],0!==i[D]&&(h=!1);if(!h)break;f++,E--}if(E>=0&&f++,r=r.dblp(f),E<0)break;for(D=0;D<M;D++){var u=i[D];0!==u&&(u>0?N=x[D][u-1>>1]:u<0&&(N=x[D][-u-1>>1].neg()),r="affine"===N.type?r.mixedAdd(N):r.add(N))}}for(E=0;E<M;E++)x[E]=null;return v?r:r.toP()},g.BasePoint=y,y.prototype.eq=function(){throw new Error("Not implemented")},y.prototype.validate=function(){return this.curve.validate(this)},g.prototype.decodePoint=function(m,c){m=R.toArray(m,c);var l=this.p.byteLength();if((4===m[0]||6===m[0]||7===m[0])&&m.length-1==2*l)return 6===m[0]?s(m[m.length-1]%2==0):7===m[0]&&s(m[m.length-1]%2==1),this.point(m.slice(1,1+l),m.slice(1+l,1+2*l));if((2===m[0]||3===m[0])&&m.length-1===l)return this.pointFromX(m.slice(1,1+l),3===m[0]);throw new Error("Unknown point format")},y.prototype.encodeCompressed=function(m){return this.encode(m,!0)},y.prototype._encode=function(m){var c=this.curve.p.byteLength(),l=this.getX().toArray("be",c);return m?[this.getY().isEven()?2:3].concat(l):[4].concat(l,this.getY().toArray("be",c))},y.prototype.encode=function(m,c){return R.encode(this._encode(c),m)},y.prototype.precompute=function(m){if(this.precomputed)return this;var c={doubles:null,naf:null,beta:null};return c.naf=this._getNAFPoints(8),c.doubles=this._getDoubles(4,m),c.beta=this._getBeta(),this.precomputed=c,this},y.prototype._hasDoubles=function(m){if(!this.precomputed)return!1;var c=this.precomputed.doubles;return!!c&&c.points.length>=Math.ceil((m.bitLength()+1)/c.step)},y.prototype._getDoubles=function(m,c){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var l=[this],M=this,v=0;v<c;v+=m){for(var b=0;b<m;b++)M=M.dbl();l.push(M)}return{step:m,points:l}},y.prototype._getNAFPoints=function(m){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var c=[this],l=(1<<m)-1,M=1===l?null:this.dbl(),v=1;v<l;v++)c[v]=c[v-1].add(M);return{wnd:m,points:c}},y.prototype._getBeta=function(){return null},y.prototype.dblp=function(m){for(var c=this,l=0;l<m;l++)c=c.dbl();return c}},86121:(O,C,_)=>{"use strict";var I=_(22946),R=_(24584),p=_(59879),A=_(10780),s=I.assert;function g(w){this.twisted=1!=(0|w.a),this.mOneA=this.twisted&&-1==(0|w.a),this.extended=this.mOneA,A.call(this,"edwards",w),this.a=new R(w.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new R(w.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new R(w.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|w.c)}function y(w,m,c,l,M){A.BasePoint.call(this,w,"projective"),null===m&&null===c&&null===l?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new R(m,16),this.y=new R(c,16),this.z=l?new R(l,16):this.curve.one,this.t=M&&new R(M,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}p(g,A),O.exports=g,g.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},g.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},g.prototype.jpoint=function(m,c,l,M){return this.point(m,c,l,M)},g.prototype.pointFromX=function(m,c){(m=new R(m,16)).red||(m=m.toRed(this.red));var l=m.redSqr(),M=this.c2.redSub(this.a.redMul(l)),v=this.one.redSub(this.c2.redMul(this.d).redMul(l)),b=M.redMul(v.redInvm()),x=b.redSqrt();if(0!==x.redSqr().redSub(b).cmp(this.zero))throw new Error("invalid point");var S=x.fromRed().isOdd();return(c&&!S||!c&&S)&&(x=x.redNeg()),this.point(m,x)},g.prototype.pointFromY=function(m,c){(m=new R(m,16)).red||(m=m.toRed(this.red));var l=m.redSqr(),M=l.redSub(this.c2),v=l.redMul(this.d).redMul(this.c2).redSub(this.a),b=M.redMul(v.redInvm());if(0===b.cmp(this.zero)){if(c)throw new Error("invalid point");return this.point(this.zero,m)}var x=b.redSqrt();if(0!==x.redSqr().redSub(b).cmp(this.zero))throw new Error("invalid point");return x.fromRed().isOdd()!==c&&(x=x.redNeg()),this.point(x,m)},g.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var c=m.x.redSqr(),l=m.y.redSqr(),M=c.redMul(this.a).redAdd(l),v=this.c2.redMul(this.one.redAdd(this.d.redMul(c).redMul(l)));return 0===M.cmp(v)},p(y,A.BasePoint),g.prototype.pointFromJSON=function(m){return y.fromJSON(this,m)},g.prototype.point=function(m,c,l,M){return new y(this,m,c,l,M)},y.fromJSON=function(m,c){return new y(m,c[0],c[1],c[2])},y.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},y.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},y.prototype._extDbl=function(){var m=this.x.redSqr(),c=this.y.redSqr(),l=this.z.redSqr();l=l.redIAdd(l);var M=this.curve._mulA(m),v=this.x.redAdd(this.y).redSqr().redISub(m).redISub(c),b=M.redAdd(c),x=b.redSub(l),S=M.redSub(c),B=v.redMul(x),E=b.redMul(S),D=v.redMul(S),N=x.redMul(b);return this.curve.point(B,E,N,D)},y.prototype._projDbl=function(){var M,v,b,x,S,B,m=this.x.redAdd(this.y).redSqr(),c=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var E=(x=this.curve._mulA(c)).redAdd(l);this.zOne?(M=m.redSub(c).redSub(l).redMul(E.redSub(this.curve.two)),v=E.redMul(x.redSub(l)),b=E.redSqr().redSub(E).redSub(E)):(S=this.z.redSqr(),B=E.redSub(S).redISub(S),M=m.redSub(c).redISub(l).redMul(B),v=E.redMul(x.redSub(l)),b=E.redMul(B))}else x=c.redAdd(l),S=this.curve._mulC(this.z).redSqr(),B=x.redSub(S).redSub(S),M=this.curve._mulC(m.redISub(x)).redMul(B),v=this.curve._mulC(x).redMul(c.redISub(l)),b=x.redMul(B);return this.curve.point(M,v,b)},y.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},y.prototype._extAdd=function(m){var c=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),l=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),M=this.t.redMul(this.curve.dd).redMul(m.t),v=this.z.redMul(m.z.redAdd(m.z)),b=l.redSub(c),x=v.redSub(M),S=v.redAdd(M),B=l.redAdd(c),E=b.redMul(x),D=S.redMul(B),N=b.redMul(B),Z=x.redMul(S);return this.curve.point(E,D,Z,N)},y.prototype._projAdd=function(m){var D,N,c=this.z.redMul(m.z),l=c.redSqr(),M=this.x.redMul(m.x),v=this.y.redMul(m.y),b=this.curve.d.redMul(M).redMul(v),x=l.redSub(b),S=l.redAdd(b),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(M).redISub(v),E=c.redMul(x).redMul(B);return this.curve.twisted?(D=c.redMul(S).redMul(v.redSub(this.curve._mulA(M))),N=x.redMul(S)):(D=c.redMul(S).redMul(v.redSub(M)),N=this.curve._mulC(x).redMul(S)),this.curve.point(E,D,N)},y.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},y.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},y.prototype.mulAdd=function(m,c,l){return this.curve._wnafMulAdd(1,[this,c],[m,l],2,!1)},y.prototype.jmulAdd=function(m,c,l){return this.curve._wnafMulAdd(1,[this,c],[m,l],2,!0)},y.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},y.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},y.prototype.getX=function(){return this.normalize(),this.x.fromRed()},y.prototype.getY=function(){return this.normalize(),this.y.fromRed()},y.prototype.eq=function(m){return this===m||0===this.getX().cmp(m.getX())&&0===this.getY().cmp(m.getY())},y.prototype.eqXToP=function(m){var c=m.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(c))return!0;for(var l=m.clone(),M=this.curve.redN.redMul(this.z);;){if(l.iadd(this.curve.n),l.cmp(this.curve.p)>=0)return!1;if(c.redIAdd(M),0===this.x.cmp(c))return!0}},y.prototype.toP=y.prototype.normalize,y.prototype.mixedAdd=y.prototype.add},93868:(O,C,_)=>{"use strict";var I=C;I.base=_(10780),I.short=_(29918),I.mont=_(52218),I.edwards=_(86121)},52218:(O,C,_)=>{"use strict";var I=_(24584),R=_(59879),p=_(10780),A=_(22946);function s(y){p.call(this,"mont",y),this.a=new I(y.a,16).toRed(this.red),this.b=new I(y.b,16).toRed(this.red),this.i4=new I(4).toRed(this.red).redInvm(),this.two=new I(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function g(y,w,m){p.BasePoint.call(this,y,"projective"),null===w&&null===m?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new I(w,16),this.z=new I(m,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}R(s,p),O.exports=s,s.prototype.validate=function(w){var m=w.normalize().x,c=m.redSqr(),l=c.redMul(m).redAdd(c.redMul(this.a)).redAdd(m);return 0===l.redSqrt().redSqr().cmp(l)},R(g,p.BasePoint),s.prototype.decodePoint=function(w,m){return this.point(A.toArray(w,m),1)},s.prototype.point=function(w,m){return new g(this,w,m)},s.prototype.pointFromJSON=function(w){return g.fromJSON(this,w)},g.prototype.precompute=function(){},g.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},g.fromJSON=function(w,m){return new g(w,m[0],m[1]||w.one)},g.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
1":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},g.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},g.prototype.dbl=function(){var m=this.x.redAdd(this.z).redSqr(),l=this.x.redSub(this.z).redSqr(),M=m.redSub(l),v=m.redMul(l),b=M.redMul(l.redAdd(this.curve.a24.redMul(M)));return this.curve.point(v,b)},g.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},g.prototype.diffAdd=function(w,m){var c=this.x.redAdd(this.z),l=this.x.redSub(this.z),M=w.x.redAdd(w.z),b=w.x.redSub(w.z).redMul(c),x=M.redMul(l),S=m.z.redMul(b.redAdd(x).redSqr()),B=m.x.redMul(b.redISub(x).redSqr());return this.curve.point(S,B)},g.prototype.mul=function(w){for(var m=w.clone(),c=this,l=this.curve.point(null,null),v=[];0!==m.cmpn(0);m.iushrn(1))v.push(m.andln(1));for(var b=v.length-1;b>=0;b--)0===v[b]?(c=c.diffAdd(l,this),l=l.dbl()):(l=c.diffAdd(l,this),c=c.dbl());return l},g.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},g.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},g.prototype.eq=function(w){return 0===this.getX().cmp(w.getX())},g.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},g.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},29918:(O,C,_)=>{"use strict";var I=_(22946),R=_(24584),p=_(59879),A=_(10780),s=I.assert;function g(m){A.call(this,"short",m),this.a=new R(m.a,16).toRed(this.red),this.b=new R(m.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(m),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function y(m,c,l,M){A.BasePoint.call(this,m,"affine"),null===c&&null===l?(this.x=null,this.y=null,this.inf=!0):(this.x=new R(c,16),this.y=new R(l,16),M&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function w(m,c,l,M){A.BasePoint.call(this,m,"jacobian"),null===c&&null===l&&null===M?(this.x=this.curve.one,this.y=this.curve.one,this.z=new R(0)):(this.x=new R(c,16),this.y=new R(l,16),this.z=new R(M,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}p(g,A),O.exports=g,g.prototype._getEndomorphism=function(c){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var l,M;if(c.beta)l=new R(c.beta,16).toRed(this.red);else{var v=this._getEndoRoots(this.p);l=(l=v[0].cmp(v[1])<0?v[0]:v[1]).toRed(this.red)}if(c.lambda)M=new R(c.lambda,16);else{var b=this._getEndoRoots(this.n);0===this.g.mul(b[0]).x.cmp(this.g.x.redMul(l))?M=b[0]:s(0===this.g.mul(M=b[1]).x.cmp(this.g.x.redMul(l)))}return{beta:l,lambda:M,basis:c.basis?c.basis.map(function(S){return{a:new R(S.a,16),b:new R(S.b,16)}}):this._getEndoBasis(M)}}},g.prototype._getEndoRoots=function(c){var l=c===this.p?this.red:R.mont(c),M=new R(2).toRed(l).redInvm(),v=M.redNeg(),b=new R(3).toRed(l).redNeg().redSqrt().redMul(M);return[v.redAdd(b).fromRed(),v.redSub(b).fromRed()]},g.prototype._getEndoBasis=function(c){for(var E,D,N,Z,U,J,V,Et,o,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),M=c,v=this.n.clone(),b=new R(1),x=new R(0),S=new R(0),B=new R(1),z=0;0!==M.cmpn(0);){var t=v.div(M);Et=v.sub(t.mul(M)),o=S.sub(t.mul(b));var r=B.sub(t.mul(x));if(!N&&Et.cmp(l)<0)E=V.neg(),D=b,N=Et.neg(),Z=o;else if(N&&2==++z)break;V=Et,v=M,M=Et,S=b,b=o,B=x,x=r}U=Et.neg(),J=o;var i=N.sqr().add(Z.sqr());return U.sqr().add(J.sqr()).cmp(i)>=0&&(U=E,J=D),N.negative&&(N=N.neg(),Z=Z.neg()),U.negative&&(U=U.neg(),J=J.neg()),[{a:N,b:Z},{a:U,b:J}]},g.prototype._endoSplit=function(c){var l=this.endo.basis,M=l[0],v=l[1],b=v.b.mul(c).divRound(this.n),x=M.b.neg().mul(c).divRound(this.n),S=b.mul(M.a),B=x.mul(v.a),E=b.mul(M.b),D=x.mul(v.b);return{k1:c.sub(S).sub(B),k2:E.add(D).neg()}},g.prototype.pointFromX=function(c,l){(c=new R(c,16)).red||(c=c.toRed(this.red));var M=c.redSqr().redMul(c).redIAdd(c.redMul(this.a)).redIAdd(this.b),v=M.redSqrt();if(0!==v.redSqr().redSub(M).cmp(this.zero))throw new Error("invalid point");var b=v.fromRed().isOdd();return(l&&!b||!l&&b)&&(v=v.redNeg()),this.point(c,v)},g.prototype.validate=function(c){if(c.inf)return!0;var l=c.x,M=c.y,v=this.a.redMul(l),b=l.redSqr().redMul(l).redIAdd(v).redIAdd(this.b);return 0===M.redSqr().redISub(b).cmpn(0)},g.prototype._endoWnafMulAdd=function(c,l,M){for(var v=this._endoWnafT1,b=this._endoWnafT2,x=0;x<c.length;x++){var S=this._endoSplit(l[x]),B=c[x],E=B._getBeta();S.k1.negative&&(S.k1.ineg(),B=B.neg(!0)),S.k2.negative&&(S.k2.ineg(),E=E.neg(!0)),v[2*x]=B,v[2*x+1]=E,b[2*x]=S.k1,b[2*x+1]=S.k2}for(var D=this._wnafMulAdd(1,v,b,2*x,M),N=0;N<2*x;N++)v[N]=null,b[N]=null;return D},p(y,A.BasePoint),g.prototype.point=function(c,l,M){return new y(this,c,l,M)},g.prototype.pointFromJSON=function(c,l){return y.fromJSON(this,c,l)},y.prototype._getBeta=function(){if(this.curve.endo){var c=this.prec
vendor: 8,392 bytes, line 1
1omputed;if(c&&c.beta)return c.beta;var l=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(c){var M=this.curve,v=function(b){return M.point(b.x.redMul(M.endo.beta),b.y)};c.beta=l,l.precomputed={beta:null,naf:c.naf&&{wnd:c.naf.wnd,points:c.naf.points.map(v)},doubles:c.doubles&&{step:c.doubles.step,points:c.doubles.points.map(v)}}}return l}},y.prototype.toJSON=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]},y.fromJSON=function(c,l,M){"string"==typeof l&&(l=JSON.parse(l));var v=c.point(l[0],l[1],M);if(!l[2])return v;function b(S){return c.point(S[0],S[1],M)}var x=l[2];return v.precomputed={beta:null,doubles:x.doubles&&{step:x.doubles.step,points:[v].concat(x.doubles.points.map(b))},naf:x.naf&&{wnd:x.naf.wnd,points:[v].concat(x.naf.points.map(b))}},v},y.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},y.prototype.isInfinity=function(){return this.inf},y.prototype.add=function(c){if(this.inf)return c;if(c.inf)return this;if(this.eq(c))return this.dbl();if(this.neg().eq(c))return this.curve.point(null,null);if(0===this.x.cmp(c.x))return this.curve.point(null,null);var l=this.y.redSub(c.y);0!==l.cmpn(0)&&(l=l.redMul(this.x.redSub(c.x).redInvm()));var M=l.redSqr().redISub(this.x).redISub(c.x),v=l.redMul(this.x.redSub(M)).redISub(this.y);return this.curve.point(M,v)},y.prototype.dbl=function(){if(this.inf)return this;var c=this.y.redAdd(this.y);if(0===c.cmpn(0))return this.curve.point(null,null);var l=this.curve.a,M=this.x.redSqr(),v=c.redInvm(),b=M.redAdd(M).redIAdd(M).redIAdd(l).redMul(v),x=b.redSqr().redISub(this.x.redAdd(this.x)),S=b.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,S)},y.prototype.getX=function(){return this.x.fromRed()},y.prototype.getY=function(){return this.y.fromRed()},y.prototype.mul=function(c){return c=new R(c,16),this.isInfinity()?this:this._hasDoubles(c)?this.curve._fixedNafMul(this,c):this.curve.endo?this.curve._endoWnafMulAdd([this],[c]):this.curve._wnafMul(this,c)},y.prototype.mulAdd=function(c,l,M){var v=[this,l],b=[c,M];return this.curve.endo?this.curve._endoWnafMulAdd(v,b):this.curve._wnafMulAdd(1,v,b,2)},y.prototype.jmulAdd=function(c,l,M){var v=[this,l],b=[c,M];return this.curve.endo?this.curve._endoWnafMulAdd(v,b,!0):this.curve._wnafMulAdd(1,v,b,2,!0)},y.prototype.eq=function(c){return this===c||this.inf===c.inf&&(this.inf||0===this.x.cmp(c.x)&&0===this.y.cmp(c.y))},y.prototype.neg=function(c){if(this.inf)return this;var l=this.curve.point(this.x,this.y.redNeg());if(c&&this.precomputed){var M=this.precomputed,v=function(b){return b.neg()};l.precomputed={naf:M.naf&&{wnd:M.naf.wnd,points:M.naf.points.map(v)},doubles:M.doubles&&{step:M.doubles.step,points:M.doubles.points.map(v)}}}return l},y.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(w,A.BasePoint),g.prototype.jpoint=function(c,l,M){return new w(this,c,l,M)},w.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var c=this.z.redInvm(),l=c.redSqr(),M=this.x.redMul(l),v=this.y.redMul(l).redMul(c);return this.curve.point(M,v)},w.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},w.prototype.add=function(c){if(this.isInfinity())return c;if(c.isInfinity())return this;var l=c.z.redSqr(),M=this.z.redSqr(),v=this.x.redMul(l),b=c.x.redMul(M),x=this.y.redMul(l.redMul(c.z)),S=c.y.redMul(M.redMul(this.z)),B=v.redSub(b),E=x.redSub(S);if(0===B.cmpn(0))return 0!==E.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var D=B.redSqr(),N=D.redMul(B),Z=v.redMul(D),U=E.redSqr().redIAdd(N).redISub(Z).redISub(Z),J=E.redMul(Z.redISub(U)).redISub(x.redMul(N)),V=this.z.redMul(c.z).redMul(B);return this.curve.jpoint(U,J,V)},w.prototype.mixedAdd=function(c){if(this.isInfinity())return c.toJ();if(c.isInfinity())return this;var l=this.z.redSqr(),M=this.x,v=c.x.redMul(l),b=this.y,x=c.y.redMul(l).redMul(this.z),S=M.redSub(v),B=b.redSub(x);if(0===S.cmpn(0))return 0!==B.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var E=S.redSqr(),D=E.redMul(S),N=M.redMul(E),Z=B.redSqr().redIAdd(D).redISub(N).redISub(N),U=B.redMul(N.redISub(Z)).redISub(b.redMul(D)),J=this.z.redMul(S);return this.curve.jpoint(Z,U,J)},w.prototype.dblp=function(c){if(0===c)return this;if(this.isInfinity())return this;if(!c)return this.dbl();var l;if(this.curve.zeroA||this.curve.threeA){var M=this;for(l=0;l<c;l++)M=M.dbl();return M}var v=this.curve.a,b=this.curve.tinv,x=this.x,S=this.y,B=this.z,E=B.redSqr().redSqr(),D=S.redAdd(S);for(l=0;l<c;l++){var N=x.redSqr(),Z=D.redSqr(),U=Z.redSqr(),J=N.redAdd(N).redIAdd(N).redIAdd(v.redMul(E)),V=x.redMul(Z),z=J.redSqr().redISub(V.redAdd(V)),Et=V.redISub(z),o=J.redMul(Et);o=o.redIAdd(o).redISub(U);var t=D.redMul(B);l+1<c&&(E=E.redMul(U)),x=z,B=t,D=o}return this.curve.jpoint(x,D.redMul(b),B)},w.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},w.prototype._zeroDbl=function(){var c,l,M;if(this.zOne){var v=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),S=this.x.redAdd(b).redSqr().redISub(v).redISub(x);S=S.redIAdd(S);var B=v.redAdd(v).redIAdd(v),E=B.redSqr().redISub(S).redISub(S),D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),c=E,l=B.redMul(S.redISub(E)).redISub(D),M=this.y.redAdd(this.y)}else{var N=this.x.redSqr(),Z=this.y.redSqr(),U=Z.redSqr(),J=this.x.redAdd(Z).redSqr().redISub(N).redISub(U);J=J.redIAdd(J);var V=N.redAdd(N).redIAdd(N),z=V.redSqr(),Et=U.redIAdd(U);Et=(Et=Et.redIAdd(Et)).redIAdd(Et),c=z.redISub(J).redISub(J),l=V.redMul(J.redISub(c)).redISub(Et),M=(M=this.y.redMul(this.z)).redIAdd(M)}return this.curve.jpoint(c,l,M)},w.prototype._threeDbl=function(){var c,l,M;if(this.zOne){var v=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),S=this.x.redAdd(b).redSqr().redISub(v).redISub(x);S=S.redIAdd(S);var B=v.redAdd(v).redIAdd(v).redIAdd(this.curve.a),E=B.redSqr().redISub(S).redISub(S);c=E;var D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),l=B.redMul(S.redISub(E)).redISub(D),M=this.y.redAdd(this.y)}else{var N=this.z.redSqr(),Z=this.y.redSqr(),U=this.x.redMul(Z),J=this.x.redSub(N).redMul(this.x.redAdd(N));J=J.redAdd(J).redIAdd(J);var V=U.redIAdd(U),z=(V=V.redIAdd(V)).redAdd(V);c=J.redSqr().redISub(z),M=this.y.redAdd(this.z).redSqr().redISub(Z).redISub(N);var Et=Z.redSqr();Et=(Et=(Et=Et.redIAdd(Et)).redIAdd(Et)).redIAdd(Et),l=J.redMul(V.redISub(c)).redISub(Et)}return this.curve.jpoint(c,l,M)},w.prototype._dbl=function(){var c=this.curve.a,l=this.x,M=this.y,v=this.z,b=v.redSqr().redSqr(),x=l.redSqr(),S=M.redSqr(),B=x.redAdd(x).redIAdd(x).redIAdd(c.redMul(b)),E=l.redAdd(l),D=(E=E.redIAdd(E)).redMul(S),N=B.redSqr().redISub(D.redAdd(D)),Z=D.redISub(N),U=S.redSqr();U=(U=(U=U.redIAdd(U)).redIAdd(U)).redIAdd(U);var J=B.redMul(Z).redISub(U),V=M.redAdd(M).redMul(v);return this.curve.jpoint(N,J,V)},w.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var c=this.x.redSqr(),l=this.y.redSqr(),M=this.z.redSqr(),v=l.redSqr(),b=c.redAdd(c).redIAdd(c),x=b.redSqr(),S=this.x.redAdd(l).redSqr().redISub(c).redISub(v),B=(S=(S=(S=S.redIAdd(S)).redAdd(S).redIAdd(S)).redISub(x)).redSqr(),E=v.redIAdd(v);E=(E=(E=E.redIAdd(E)).redIAdd(E)).redIAdd(E);var D=b.redIAdd(S).redSqr().redISub(x).redISub(B).redISub(E),N=l.redMul(D);N=(N=N.redIAdd(N)).redIAdd(N);var Z=this.x.redMul(B).redISub(N);Z=(Z=Z.redIAdd(Z)).redIAdd(Z);var U=this.y.redMul(D.redMul(E.redISub(D)).redISub(S.redMul(B)));U=(U=(U=U.redIAdd(U)).redIAdd(U)).redIAdd(U);var J=this.z.redAdd(S).redSqr().redISub(M).redISub(B);return this.curve.jpoint(Z,U,J)},w.prototype.mul=function(c,l){return c=new R(c,l),this.curve._wnafMul(this,c)},w.prototype.eq=function(c){if("affine"===c.type)return this.eq(c.toJ());if(this===c)return!0;var l=this.z.redSqr(),M=c.z.redSqr();if(0!==this.x.redMul(M).redISub(c.x.redMul(l)).cmpn(0))return!1;var v=l.redMul(this.z),b=M.redMul(c.z);return 0===this.y.redMul(b).redISub(c.y.redMul(v)).cmpn(0)},w.prototype.eqXToP=function(c){var l=this.z.redSqr(),M=c.toRed(this.curve.red).redMul(l);
1if(0===this.x.cmp(M))return!0;for(var v=c.clone(),b=this.curve.redN.redMul(l);;){if(v.iadd(this.curve.n),v.cmp(this.curve.p)>=0)return!1;if(M.redIAdd(b),0===this.x.cmp(M))return!0}},w.prototype.inspect=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)+">"},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},73346:(O,C,_)=>{"use strict";var w,I=C,R=_(37909),p=_(93868),s=_(22946).assert;function g(m){this.curve="short"===m.type?new p.short(m):"edwards"===m.type?new p.edwards(m):new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function y(m,c){Object.defineProperty(I,m,{configurable:!0,enumerable:!0,get:function(){var l=new g(c);return Object.defineProperty(I,m,{configurable:!0,enumerable:!0,value:l}),l}})}I.PresetCurve=g,y("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:R.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),y("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:R.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),y("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:R.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),y("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:R.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),y("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:R.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),y("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:R.sha256,gRed:!1,g:["9"]}),y("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:R.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{w=_(5503)}catch{w=void 0}y("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:R.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
vendor: 10,597 bytes, line 1
1,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",w]})},17237:(O,C,_)=>{"use strict";var I=_(24584),R=_(72730),p=_(22946),A=_(73346),s=_(34761),g=p.assert,y=_(12806),w=_(46799);function m(c){if(!(this instanceof m))return new m(c);"string"==typeof c&&(g(Object.prototype.hasOwnProperty.call(A,c),"Unknown curve "+c),c=A[c]),c instanceof A.PresetCurve&&(c={curve:c}),this.curve=c.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=c.curve.g,this.g.precompute(c.curve.n.bitLength()+1),this.hash=c.hash||c.curve.hash}O.exports=m,m.prototype.keyPair=function(l){return new y(this,l)},m.prototype.keyFromPrivate=function(l,M){return y.fromPrivate(this,l,M)},m.prototype.keyFromPublic=function(l,M){return y.fromPublic(this,l,M)},m.prototype.genKeyPair=function(l){l||(l={});for(var M=new R({hash:this.hash,pers:l.pers,persEnc:l.persEnc||"utf8",entropy:l.entropy||s(this.hash.hmacStrength),entropyEnc:l.entropy&&l.entropyEnc||"utf8",nonce:this.n.toArray()}),v=this.n.byteLength(),b=this.n.sub(new I(2));;){var x=new I(M.generate(v));if(!(x.cmp(b)>0))return x.iaddn(1),this.keyFromPrivate(x)}},m.prototype._truncateToN=function(l,M){var v=8*l.byteLength()-this.n.bitLength();return v>0&&(l=l.ushrn(v)),!M&&l.cmp(this.n)>=0?l.sub(this.n):l},m.prototype.sign=function(l,M,v,b){"object"==typeof v&&(b=v,v=null),b||(b={}),M=this.keyFromPrivate(M,v),l=this._truncateToN(new I(l,16));for(var x=this.n.byteLength(),S=M.getPrivate().toArray("be",x),B=l.toArray("be",x),E=new R({hash:this.hash,entropy:S,nonce:B,pers:b.pers,persEnc:b.persEnc||"utf8"}),D=this.n.sub(new I(1)),N=0;;N++){var Z=b.k?b.k(N):new I(E.generate(this.n.byteLength()));if(!((Z=this._truncateToN(Z,!0)).cmpn(1)<=0||Z.cmp(D)>=0)){var U=this.g.mul(Z);if(!U.isInfinity()){var J=U.getX(),V=J.umod(this.n);if(0!==V.cmpn(0)){var z=Z.invm(this.n).mul(V.mul(M.getPrivate()).iadd(l));if(0!==(z=z.umod(this.n)).cmpn(0)){var Et=(U.getY().isOdd()?1:0)|(0!==J.cmp(V)?2:0);return b.canonical&&z.cmp(this.nh)>0&&(z=this.n.sub(z),Et^=1),new w({r:V,s:z,recoveryParam:Et})}}}}}},m.prototype.verify=function(l,M,v,b){l=this._truncateToN(new I(l,16)),v=this.keyFromPublic(v,b);var x=(M=new w(M,"hex")).r,S=M.s;if(x.cmpn(1)<0||x.cmp(this.n)>=0||S.cmpn(1)<0||S.cmp(this.n)>=0)return!1;var N,B=S.invm(this.n),E=B.mul(l).umod(this.n),D=B.mul(x).umod(this.n);return this.curve._maxwellTrick?!(N=this.g.jmulAdd(E,v.getPublic(),D)).isInfinity()&&N.eqXToP(x):!(N=this.g.mulAdd(E,v.getPublic(),D)).isInfinity()&&0===N.getX().umod(this.n).cmp(x)},m.prototype.recoverPubKey=function(c,l,M,v){g((3&M)===M,"The recovery param is more than two bits"),l=new w(l,v);var b=this.n,x=new I(c),S=l.r,B=l.s,E=1&M,D=M>>1;if(S.cmp(this.curve.p.umod(this.curve.n))>=0&&D)throw new Error("Unable to find sencond key candinate");S=this.curve.pointFromX(D?S.add(this.curve.n):S,E);var N=l.r.invm(b),Z=b.sub(x).mul(N).umod(b),U=B.mul(N).umod(b);return this.g.mulAdd(Z,S,U)},m.prototype.getKeyRecoveryParam=function(c,l,M,v){if(null!==(l=new w(l,v)).recoveryParam)return l.recoveryParam;for(var b=0;b<4;b++){var x;try{x=this.recoverPubKey(c,l,b)}catch{continue}if(x.eq(M))return b}throw new Error("Unable to find valid recovery factor")}},12806:(O,C,_)=>{"use strict";var I=_(24584),p=_(22946).assert;function A(s,g){this.ec=s,this.priv=null,this.pub=null,g.priv&&this._importPrivate(g.priv,g.privEnc),g.pub&&this._importPublic(g.pub,g.pubEnc)}O.exports=A,A.fromPublic=function(g,y,w){return y instanceof A?y:new A(g,{pub:y,pubEnc:w})},A.fromPrivate=function(g,y,w){return y instanceof A?y:new A(g,{priv:y,privEnc:w})},A.prototype.validate=function(){var g=this.getPublic();return g.isInfinity()?{result:!1,reason:"Invalid public key"}:g.validate()?g.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"}},A.prototype.getPublic=function(g,y){return"string"==typeof g&&(y=g,g=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),y?this.pub.encode(y,g):this.pub},A.prototype.getPrivate=function(g){return"hex"===g?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(g,y){this.priv=new I(g,y||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(g,y){if(g.x||g.y)return"mont"===this.ec.curve.type?p(g.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&p(g.x&&g.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(g.x,g.y));this.pub=this.ec.curve.decodePoint(g,y)},A.prototype.derive=function(g){return g.validate()||p(g.validate(),"public point not validated"),g.mul(this.priv).getX()},A.prototype.sign=function(g,y,w){return this.ec.sign(g,this,y,w)},A.prototype.verify=function(g,y){return this.ec.verify(g,y,this)},A.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},46799:(O,C,_)=>{"use strict";var I=_(24584),R=_(22946),p=R.assert;function A(m,c){if(m instanceof A)return m;this._importDER(m,c)||(p(m.r&&m.s,"Signature without r or s"),this.r=new I(m.r,16),this.s=new I(m.s,16),this.recoveryParam=void 0===m.recoveryParam?null:m.recoveryParam)}function s(){this.place=0}function g(m,c){var l=m[c.place++];if(!(128&l))return l;var M=15&l;if(0===M||M>4)return!1;for(var v=0,b=0,x=c.place;b<M;b++,x++)v<<=8,v|=m[x],v>>>=0;return!(v<=127)&&(c.place=x,v)}function y(m){for(var c=0,l=m.length-1;!m[c]&&!(128&m[c+1])&&c<l;)c++;return 0===c?m:m.slice(c)}function w(m,c){if(c<128)m.push(c);else{var l=1+(Math.log(c)/Math.LN2>>>3);for(m.push(128|l);--l;)m.push(c>>>(l<<3)&255);m.push(c)}}O.exports=A,A.prototype._importDER=function(c,l){c=R.toArray(c,l);var M=new s;if(48!==c[M.place++])return!1;var v=g(c,M);if(!1===v||v+M.place!==c.length||2!==c[M.place++])return!1;var b=g(c,M);if(!1===b)return!1;var x=c.slice(M.place,b+M.place);if(M.place+=b,2!==c[M.place++])return!1;var S=g(c,M);if(!1===S||c.length!==S+M.place)return!1;var B=c.slice(M.place,S+M.place);if(0===x[0]){if(!(128&x[1]))return!1;x=x.slice(1)}if(0===B[0]){if(!(128&B[1]))return!1;B=B.slice(1)}return this.r=new I(x),this.s=new I(B),this.recoveryParam=null,!0},A.prototype.toDER=function(c){var l=this.r.toArray(),M=this.s.toArray();for(128&l[0]&&(l=[0].concat(l)),128&M[0]&&(M=[0].concat(M)),l=y(l),M=y(M);!(M[0]||128&M[1]);)M=M.slice(1);var v=[2];w(v,l.length),(v=v.concat(l)).push(2),w(v,M.length);var b=v.concat(M),x=[48];return w(x,b.length),x=x.concat(b),R.encode(x,c)}},61615:(O,C,_)=>{"use strict";var I=_(37909),R=_(73346),p=_(22946),A=p.assert,s=p.parseBytes,g=_(46014),y=_(36317);function w(m){if(A("ed25519"===m,"only tested with ed25519 so far"),!(this instanceof w))return new w(m);this.curve=m=R[m].curve,this.g=m.g,this.g.precompute(m.n.bitLength()+1),this.pointClass=m.point().constructor,this.encodingLength=Math.ceil(m.n.bitLength()/8),this.hash=I.sha512}O.exports=w,w.prototype.sign=function(c,l){c=s(c);var M=this.keyFromSecret(l),v=this.hashInt(M.messagePrefix(),c),b=this.g.mul(v),x=this.encodePoint(b),S=this.hashInt(x,M.pubBytes(),c).mul(M.priv()),B=v.add(S).umod(this.curve.n);return this.makeSignature({R:b,S:B,Rencoded:x})},w.prototype.verify=function(c,l,M){c=s(c),l=this.makeSignature(l);var v=this.keyFromPublic(M),b=this.hashInt(l.Rencoded(),v.pubBytes(),c),x=this.g.mul(l.S());return l.R().add(v.pub().mul(b)).eq(x)},w.prototype.hashInt=function(){for(var c=this.hash(),l=0;l<arguments.length;l++)c.update(arguments[l]);return p.intFromLE(c.digest()).umod(this.curve.n)},w.prototype.keyFromPublic=function(c){return g.fromPublic(this,c)},w.prototype.keyFromSecret=function(c){return g.fromSecret(this,c)},w.prototype.makeSignature=function(c){return c instanceof y?c:new y(this,c)},w.prototype.encodePoint=function(c){var l=c.getY().toArray("le",this.encodingLength);return l[this.encodingLength-1]|=c.getX().isOdd()?128:0,l},w.prototype.decodePoint=function(c){var l=(c=p.parseBytes(c)).length-1,M=c.slice(0,l).concat(-129&c[l]),v=0!=(128&c[l]),b=p.intFromLE(M);return this.curve.pointFromY(b,v)},w.prototype.encodeInt=function(c){return c.toArray("le",this.encodingLength)},w.prototype.decodeInt=function(c){return p.intFromLE(c)},w.prototype.isPoint=function(c){return c instanceof this.pointClass}},46014:(O,C,_)=>{"use strict";var I=_(22946),R=I.assert,p=I.parseBytes,A=I.cachedProperty;function s(g,y){this.eddsa=g,this._secret=p(y.secret),g.isPoint(y.pub)?this._pub=y.pub:this._pubBytes=p(y.pub)}s.fromPublic=function(y,w){return w instanceof s?w:new s(y,{pub:w})},s.fromSecret=function(y,w){return w instanceof s?w:new s(y,{secret:w})},s.prototype.secret=function(){return this._secret},A(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(s,"privBytes",function(){var y=this.eddsa,w=this.hash(),m=y.encodingLength-1,c=w.slice(0,y.encodingLength);return c[0]&=248,c[m]&=127,c[m]|=64,c}),A(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(y){return R(this._secret,"KeyPair can only verify"),this.eddsa.sign(y,this)},s.prototype.verify=function(y,w){return this.eddsa.verify(y,w,this)},s.prototype.getSecret=function(y){return R(this._secret,"KeyPair is public only"),I.encode(this.secret(),y)},s.prototype.getPublic=function(y){return I.encode(this.pubBytes(),y)},O.exports=s},36317:(O,C,_)=>{"use strict";var I=_(24584),R=_(22946),p=R.assert,A=R.cachedProperty,s=R.parseBytes;function g(y,w){this.eddsa=y,"object"!=typeof w&&(w=s(w)),Array.isArray(w)&&(w={R:w.slice(0,y.encodingLength),S:w.slice(y.encodingLength)}),p(w.R&&w.S,"Signature without R or S"),y.isPoint(w.R)&&(this._R=w.R),w.S instanceof I&&(this._S=w.S),this._Rencoded=Array.isArray(w.R)?w.R:w.Rencoded,this._Sencoded=Array.isArray(w.S)?w.S:w.Sencoded}A(g,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),A(g,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),A(g,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),A(g,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),g.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},g.prototype.toHex=function(){return R.encode(this.toBytes(),"hex").toUpperCase()},O.exports=g},5503:O=>{O
vendor: 26,137 bytes, line 1
1.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"]]}}},
122946:(O,C,_)=>{"use strict";var I=C,R=_(24584),p=_(86055),A=_(14869);I.assert=p,I.toArray=A.toArray,I.zero2=A.zero2,I.toHex=A.toHex,I.encode=A.encode,I.getNAF=function(c,l,M){var v=new Array(Math.max(c.bitLength(),M)+1);v.fill(0);for(var b=1<<l+1,x=c.clone(),S=0;S<v.length;S++){var B,E=x.andln(b-1);x.isOdd()?x.isubn(B=E>(b>>1)-1?(b>>1)-E:E):B=0,v[S]=B,x.iushrn(1)}return v},I.getJSF=function(c,l){var M=[[],[]];c=c.clone(),l=l.clone();for(var x,v=0,b=0;c.cmpn(-v)>0||l.cmpn(-b)>0;){var E,D,S=c.andln(3)+v&3,B=l.andln(3)+b&3;3===S&&(S=-1),3===B&&(B=-1),E=0==(1&S)?0:3!=(x=c.andln(7)+v&7)&&5!==x||2!==B?S:-S,M[0].push(E),D=0==(1&B)?0:3!=(x=l.andln(7)+b&7)&&5!==x||2!==S?B:-B,M[1].push(D),2*v===E+1&&(v=1-v),2*b===D+1&&(b=1-b),c.iushrn(1),l.iushrn(1)}return M},I.cachedProperty=function(c,l,M){var v="_"+l;c.prototype[l]=function(){return void 0!==this[v]?this[v]:this[v]=M.call(this)}},I.parseBytes=function(c){return"string"==typeof c?I.toArray(c,"hex"):c},I.intFromLE=function(c){return new R(c,"hex","le")}},24584:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,179 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(85568).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 16,384 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},92367:(O,C,_)=>{var I=_(55859).Buffer,R=_(53264);O.exports=function(A,s,g,y){if(I.isBuffer(A)||(A=I.from(A,"binary")),s&&(I.isBuffer(s)||(s=I.from(s,"binary")),8!==s.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var w=g/8,m=I.alloc(w),c=I.alloc(y||0),l=I.alloc(0);w>0||y>0;){var M=new R;M.update(l),M.update(A),s&&M.update(s),l=M.digest();var v=0;if(w>0){var b=m.length-w;v=Math.min(w,l.length),l.copy(m,b,0,v),w-=v}if(v<l.length&&y>0){var x=c.length-y,S=Math.min(y,l.length-v);l.copy(c,x,v,v+S),y-=S}}return l.fill(0),{key:m,iv:c}}},5414:(O,C,_)=>{"use strict";var I=_(55859).Buffer,R=_(18300).Transform;function s(g){R.call(this),this._block=I.allocUnsafe(g),this._blockSize=g,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}_(59879)(s,R),s.prototype._transform=function(g,y,w){var m=null;try{this.update(g,y)}catch(c){m=c}w(m)},s.prototype._flush=function(g){var y=null;try{this.push(this.digest())}catch(w){y=w}g(y)},s.prototype.update=function(g,y){if(function(g,y){if(!I.isBuffer(g)&&"string"!=typeof g)throw new TypeError("Data must be a string or a buffer")}(g),this._finalized)throw new Error("Digest already called");I.isBuffer(g)||(g=I.from(g,y));for(var w=this._block,m=0;this._blockOffset+g.length-m>=this._blockSize;){for(var c=this._blockOffset;c<this._blockSize;)w[c++]=g[m++];this._update(),this._blockOffset=0}for(;m<g.length;)w[this._blockOffset++]=g[m++];for(var l=0,M=8*g.length;M>0;++l)this._length[l]+=M,(M=this._length[l]/4294967296|0)>0&&(this._length[l]-=4294967296*M);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(g){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var y=this._digest();void 0!==g&&(y=y.toString(g)),this._block.fill(0),this._blockOffset=0;for(var w=0;w<4;++w)this._length[w]=0;return y},s.prototype._digest=function(){throw new Error("_digest is not implemented")},O.exports=s},72730:(O,C,_)=>{"use strict";var I=_(37909),R=_(14869),p=_(86055);function A(s){if(!(this instanceof A))return new A(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var g=R.toArray(s.entropy,s.entropyEnc||"hex"),y=R.toArray(s.nonce,s.nonceEnc||"hex"),w=R.toArray(s.pers,s.persEnc||"hex");p(g.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(g,y,w)}O.exports=A,A.prototype._init=function(g,y,w){var m=g.concat(y).concat(w);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var c=0;c<this.V.length;c++)this.K[c]=0,this.V[c]=1;this._update(m),this._reseed=1,th
vendor: 1,052 bytes, line 1
1is.reseedInterval=281474976710656},A.prototype._hmac=function(){return new I.hmac(this.hash,this.K)},A.prototype._update=function(g){var y=this._hmac().update(this.V).update([0]);g&&(y=y.update(g)),this.K=y.digest(),this.V=this._hmac().update(this.V).digest(),g&&(this.K=this._hmac().update(this.V).update([1]).update(g).digest(),this.V=this._hmac().update(this.V).digest())},A.prototype.reseed=function(g,y,w,m){"string"!=typeof y&&(m=w,w=y,y=null),g=R.toArray(g,y),w=R.toArray(w,m),p(g.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(g.concat(w||[])),this._reseed=1},A.prototype.generate=function(g,y,w,m){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof y&&(m=w,w=y,y=null),w&&(w=R.toArray(w,m||"hex"),this._update(w));for(var c=[];c.length<g;)this.V=this._hmac().update(this.V).digest(),c=c.concat(this.V);var l=c.slice(0,g);return this._update(w),this._reseed++,R.encode(l,y)}},53264:(O,C,_)=>{"use strict";var I=_(59879),R=_(5414),p=_(55859).Buffer,A=ne
vendor: 4,786 bytes, line 1
1w Array(16);function s(){R.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function g(l,M){return l<<M|l>>>32-M}function y(l,M,v,b,x,S,B){return g(l+(M&v|~M&b)+x+S|0,B)+M|0}function w(l,M,v,b,x,S,B){return g(l+(M&b|v&~b)+x+S|0,B)+M|0}function m(l,M,v,b,x,S,B){return g(l+(M^v^b)+x+S|0,B)+M|0}function c(l,M,v,b,x,S,B){return g(l+(v^(M|~b))+x+S|0,B)+M|0}I(s,R),s.prototype._update=function(){for(var l=A,M=0;M<16;++M)l[M]=this._block.readInt32LE(4*M);var v=this._a,b=this._b,x=this._c,S=this._d;v=y(v,b,x,S,l[0],3614090360,7),S=y(S,v,b,x,l[1],3905402710,12),x=y(x,S,v,b,l[2],606105819,17),b=y(b,x,S,v,l[3],3250441966,22),v=y(v,b,x,S,l[4],4118548399,7),S=y(S,v,b,x,l[5],1200080426,12),x=y(x,S,v,b,l[6],2821735955,17),b=y(b,x,S,v,l[7],4249261313,22),v=y(v,b,x,S,l[8],1770035416,7),S=y(S,v,b,x,l[9],2336552879,12),x=y(x,S,v,b,l[10],4294925233,17),b=y(b,x,S,v,l[11],2304563134,22),v=y(v,b,x,S,l[12],1804603682,7),S=y(S,v,b,x,l[13],4254626195,12),x=y(x,S,v,b,l[14],2792965006,17),v=w(v,b=y(b,x,S,v,l[15],1236535329,22),x,S,l[1],4129170786,5),S=w(S,v,b,x,l[6],3225465664,9),x=w(x,S,v,b,l[11],643717713,14),b=w(b,x,S,v,l[0],3921069994,20),v=w(v,b,x,S,l[5],3593408605,5),S=w(S,v,b,x,l[10],38016083,9),x=w(x,S,v,b,l[15],3634488961,14),b=w(b,x,S,v,l[4],3889429448,20),v=w(v,b,x,S,l[9],568446438,5),S=w(S,v,b,x,l[14],3275163606,9),x=w(x,S,v,b,l[3],4107603335,14),b=w(b,x,S,v,l[8],1163531501,20),v=w(v,b,x,S,l[13],2850285829,5),S=w(S,v,b,x,l[2],4243563512,9),x=w(x,S,v,b,l[7],1735328473,14),v=m(v,b=w(b,x,S,v,l[12],2368359562,20),x,S,l[5],4294588738,4),S=m(S,v,b,x,l[8],2272392833,11),x=m(x,S,v,b,l[11],1839030562,16),b=m(b,x,S,v,l[14],4259657740,23),v=m(v,b,x,S,l[1],2763975236,4),S=m(S,v,b,x,l[4],1272893353,11),x=m(x,S,v,b,l[7],4139469664,16),b=m(b,x,S,v,l[10],3200236656,23),v=m(v,b,x,S,l[13],681279174,4),S=m(S,v,b,x,l[0],3936430074,11),x=m(x,S,v,b,l[3],3572445317,16),b=m(b,x,S,v,l[6],76029189,23),v=m(v,b,x,S,l[9],3654602809,4),S=m(S,v,b,x,l[12],3873151461,11),x=m(x,S,v,b,l[15],530742520,16),v=c(v,b=m(b,x,S,v,l[2],3299628645,23),x,S,l[0],4096336452,6),S=c(S,v,b,x,l[7],1126891415,10),x=c(x,S,v,b,l[14],2878612391,15),b=c(b,x,S,v,l[5],4237533241,21),v=c(v,b,x,S,l[12],1700485571,6),S=c(S,v,b,x,l[3],2399980690,10),x=c(x,S,v,b,l[10],4293915773,15),b=c(b,x,S,v,l[1],2240044497,21),v=c(v,b,x,S,l[8],1873313359,6),S=c(S,v,b,x,l[15],4264355552,10),x=c(x,S,v,b,l[6],2734768916,15),b=c(b,x,S,v,l[13],1309151649,21),v=c(v,b,x,S,l[4],4149444226,6),S=c(S,v,b,x,l[11],3174756917,10),x=c(x,S,v,b,l[2],718787259,15),b=c(b,x,S,v,l[9],3951481745,21),this._a=this._a+v|0,this._b=this._b+b|0,this._c=this._c+x|0,this._d=this._d+S|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var l=p.allocUnsafe(16);return l.writeInt32LE(this._a,0),l.writeInt32LE(this._b,4),l.writeInt32LE(this._c,8),l.writeInt32LE(this._d,12),l},O.exports=s},14398:(O,C,_)=>{var I=_(31770),R=_(34761);function p(A){this.rand=A||new R.Rand}O.exports=p,p.create=function(s){return new p(s)},p.prototype._randbelow=function(s){var g=s.bitLength(),y=Math.ceil(g/8);do{var w=new I(this.rand.generate(y))}while(w.cmp(s)>=0);return w},p.prototype._randrange=function(s,g){var y=g.sub(s);return s.add(this._randbelow(y))},p.prototype.test=function(s,g,y){var w=s.bitLength(),m=I.mont(s),c=new I(1).toRed(m);g||(g=Math.max(1,w/48|0));for(var l=s.subn(1),M=0;!l.testn(M);M++);for(var v=s.shrn(M),b=l.toRed(m);g>0;g--){var S=this._randrange(new I(2),l);y&&y(S);var B=S.toRed(m).redPow(v);if(0!==B.cmp(c)&&0!==B.cmp(b)){for(var E=1;E<M;E++){if(0===(B=B.redSqr()).cmp(c))return!1;if(0===B.cmp(b))break}if(E===M)return!1}}return!0},p.prototype.getDivisor=function(s,g){var y=s.bitLength(),w=I.mont(s),m=new I(1).toRed(w);g||(g=Math.max(1,y/48|0));for(var c=s.subn(1),l=0;!c.testn(l);l++);for(var M=s.shrn(l),v=c.toRed(w);g>0;g--){var b=this._randrange(new I(2),c),x=s.gcd(b);if(0!==x.cmpn(1))return x;var S=b.toRed(w).redPow(M);if(0!==S.cmp(m)&&0!==S.cmp(v)){for(var B=1;B<l;B++){if(0===(S=S.redSqr()).cmp(m))return S.fromRed().subn(1).gcd(s);if(0===S.cmp(v))break}if(B===l)return(S=S.redSqr()).fromRed().subn(1).gcd(s)}}return!1}},31770:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,179 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(56619).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 13,793 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},14869:(O,C)=>{"use strict";var _=C;function R(A){return 1===A.length?"0"+A:A}function p(A){for(var s="",g=0;g<A.length;g++)s+=R(A[g].toString(16));return s}
vendor: 4,143 bytes, line 1
1_.toArray=function(A,s){if(Array.isArray(A))return A.slice();if(!A)return[];var g=[];if("string"!=typeof A){for(var y=0;y<A.length;y++)g[y]=0|A[y];return g}if("hex"===s)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),y=0;y<A.length;y+=2)g.push(parseInt(A[y]+A[y+1],16));else for(y=0;y<A.length;y++){var w=A.charCodeAt(y),m=w>>8,c=255&w;m?g.push(m,c):g.push(c)}return g},_.zero2=R,_.toHex=p,_.encode=function(s,g){return"hex"===g?p(s):s}},44673:(O,C,_)=>{"use strict";var I=_(62016);C.certificate=_(96240);var R=I.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});C.RSAPrivateKey=R;var p=I.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});C.RSAPublicKey=p;var A=I.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});C.PublicKey=A;var s=I.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),g=I.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});C.PrivateKey=g;var y=I.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});C.EncryptedPrivateKey=y;var w=I.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});C.DSAPrivateKey=w,C.DSAparam=I.define("DSAparam",function(){this.int()});var m=I.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(c),this.key("publicKey").optional().explicit(1).bitstr())});C.ECPrivateKey=m;var c=I.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});C.signature=I.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},96240:(O,C,_)=>{"use strict";var I=_(62016),R=I.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=I.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),A=I.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=I.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())}),g=I.define("RelativeDistinguishedName",function(){this.setof(p)}),y=I.define("RDNSequence",function(){this.seqof(g)}),w=I.define("Name",function(){this.choice({rdnSequence:this.use(y)})}),m=I.define("Validity",function(){this.seq().obj(this.key("notBefore").use(R),this.key("notAfter").use(R))}),c=I.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),l=I.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(A),this.key("issuer").use(w),this.key("validity").use(m),this.key("subject").use(w),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(c).optional())}
1),M=I.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(l),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});O.exports=M},61553:(O,C,_)=>{var I=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,R=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,A=_(92367),s=_(39586),g=_(55859).Buffer;O.exports=function(y,w){var l,m=y.toString(),c=m.match(I);if(c){var v="aes"+c[1],b=g.from(c[2],"hex"),x=g.from(c[3].replace(/[\r\n]/g,""),"base64"),S=A(w,b.slice(0,8),parseInt(c[1],10)).key,B=[],E=s.createDecipheriv(v,S,b);B.push(E.update(x)),B.push(E.final()),l=g.concat(B)}else{var M=m.match(p);l=g.from(M[2].replace(/[\r\n]/g,""),"base64")}return{tag:m.match(R)[1],data:l}}},81997:(O,C,_)=>{var I=_(44673),R=_(22562),p=_(61553),A=_(39586),s=_(14161),g=_(55859).Buffer;function y(m){var c;"object"==typeof m&&!g.isBuffer(m)&&(c=m.passphrase,m=m.key),"string"==typeof m&&(m=g.from(m));var b,x,l=p(m,c),M=l.tag,v=l.data;switch(M){case"CERTIFICATE":x=I.certificate.decode(v,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(x||(x=I.PublicKey.decode(v,"der")),b=x.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return I.RSAPublicKey.decode(x.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return x.subjectPrivateKey=x.subjectPublicKey,{type:"ec",data:x};case"1.2.840.10040.4.1":return x.algorithm.params.pub_key=I.DSAparam.decode(x.subjectPublicKey.data,"der"),{type:"dsa",data:x.algorithm.params};default:throw new Error("unknown key id "+b)}case"ENCRYPTED PRIVATE KEY":v=function(m,c){var l=m.algorithm.decrypt.kde.kdeparams.salt,M=parseInt(m.algorithm.decrypt.kde.kdeparams.iters.toString(),10),v=R[m.algorithm.decrypt.cipher.algo.join(".")],b=m.algorithm.decrypt.cipher.iv,x=m.subjectPrivateKey,S=parseInt(v.split("-")[1],10)/8,B=s.pbkdf2Sync(c,l,M,S,"sha1"),E=A.createDecipheriv(v,B,b),D=[];return D.push(E.update(x)),D.push(E.final()),g.concat(D)}(v=I.EncryptedPrivateKey.decode(v,"der"),c);case"PRIVATE KEY":switch(b=(x=I.PrivateKey.decode(v,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return I.RSAPrivateKey.decode(x.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:x.algorithm.curve,privateKey:I.ECPrivateKey.decode(x.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return x.algorithm.params.priv_key=I.DSAparam.decode(x.subjectPrivateKey,"der"),{type:"dsa",params:x.algorithm.params};default:throw new Error("unknown key id "+b)}case"RSA PUBLIC KEY":return I.RSAPublicKey.decode(v,"der");case"RSA PRIVATE KEY":return I.RSAPrivateKey.decode(v,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:I.DSAPrivateKey.decode(v,"der")};case"EC PRIVATE KEY":return{curve:(v=I.ECPrivateKey.decode(v,"der")).parameters.value,privateKey:v.privateKey};default:throw new Error("unknown key type "+M)}}O.exports=y,y.signature=I.signature},14161:(O,C,_)=>{C.pbkdf2=_(51898),C.pbkdf2Sync=_(205)},51898:(O,C,_)=>{var g,l,I=_(55859).Buffer,R=_(79024),p=_(85657),A=_(205),s=_(16933),y=global.crypto&&global.crypto.subtle,w={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},m=[];function M(){return l||(l=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function v(x,S,B,E,D){return y.importKey("raw",x,{name:"PBKDF2"},!1,["deriveBits"]).then(function(N){return y.deriveBits({name:"PBKDF2",salt:S,iterations:B,hash:{name:D}},N,E<<3)}).then(function(N){return I.from(N)})}O.exports=function(x,S,B,E,D,N){"function"==typeof D&&(N=D,D=void 0);var Z=w[(D=D||"sha1").toLowerCase()];if(Z&&"function"==typeof global.Promise){if(R(B,E),x=s(x,p,"Password"),S=s(S,p,"Salt"),"function"!=typeof N)throw new Error("No callback provided to pbkdf2");!function(x,S){x.then(function(B){M()(function(){S(null,B)})},function(B){M()(function(){S(B)})})}(function(x){if(global.process&&!global.process.browser||!y||!y.importKey||!y.deriveBits)return Promise.resolve(!1);if(void 0!==m[x])return m[x];var S=v(g=g||I.alloc(8),g,10,128,x).then(function(){return!0}).catch(function(){return!1});return m[x]=S,S}(Z).then(function(U){return U?v(x,S,B,E,Z):A(x,S,B,E,D)}),N)}else M()(function(){var U;try{U=A(x,S,B,E,D)}catch(J){return N(J)}N(null,U)})}},85657:O=>{var C;C=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",O.exports=C},79024:O=>{var C=Math.pow(2,30)-1;O.exports=function(_,I){if("number"!=typeof _)throw new TypeError("Iterations not a number");if(_<0)throw new TypeError("Bad iterations");
vendor: 2,461 bytes, line 1
1if("number"!=typeof I)throw new TypeError("Key length not a number");if(I<0||I>C||I!=I)throw new TypeError("Bad key length")}},205:(O,C,_)=>{var I=_(84464),R=_(75207),p=_(45829),A=_(55859).Buffer,s=_(79024),g=_(85657),y=_(16933),w=A.alloc(128),m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function c(v,b,x){var S=function(v){return"rmd160"===v||"ripemd160"===v?function(S){return(new R).update(S).digest()}:"md5"===v?I:function(S){return p(v).update(S).digest()}}(v),B="sha512"===v||"sha384"===v?128:64;b.length>B?b=S(b):b.length<B&&(b=A.concat([b,w],B));for(var E=A.allocUnsafe(B+m[v]),D=A.allocUnsafe(B+m[v]),N=0;N<B;N++)E[N]=54^b[N],D[N]=92^b[N];var Z=A.allocUnsafe(B+x+4);E.copy(Z,0,0,B),this.ipad1=Z,this.ipad2=E,this.opad=D,this.alg=v,this.blocksize=B,this.hash=S,this.size=m[v]}c.prototype.run=function(v,b){return v.copy(b,this.blocksize),this.hash(b).copy(this.opad,this.blocksize),this.hash(this.opad)},O.exports=function(v,b,x,S,B){s(x,S);var E=new c(B=B||"sha1",v=y(v,g,"Password"),(b=y(b,g,"Salt")).length),D=A.allocUnsafe(S),N=A.allocUnsafe(b.length+4);b.copy(N,0,0,b.length);for(var Z=0,U=m[B],J=Math.ceil(S/U),V=1;V<=J;V++){N.writeUInt32BE(V,b.length);for(var z=E.run(N,E.ipad1),Et=z,o=1;o<x;o++){Et=E.run(Et,E.ipad2);for(var t=0;t<U;t++)z[t]^=Et[t]}z.copy(D,Z),Z+=U}return D}},16933:(O,C,_)=>{var I=_(55859).Buffer;O.exports=function(R,p,A){if(I.isBuffer(R))return R;if("string"==typeof R)return I.from(R,p);if(ArrayBuffer.isView(R))return I.from(R.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},37537:(O,C,_)=>{C.publicEncrypt=_(74760),C.privateDecrypt=_(31548),C.privateEncrypt=function(R,p){return C.publicEncrypt(R,p,!0)},C.publicDecrypt=function(R,p){return C.privateDecrypt(R,p,!0)}},30444:(O,C,_)=>{var I=_(12506),R=_(55859).Buffer;function p(A){var s=R.allocUnsafe(4);return s.writeUInt32BE(A,0),s}O.exports=function(A,s){for(var w,g=R.alloc(0),y=0;g.length<s;)w=p(y++),g=R.concat([g,I("sha1").update(A).update(w).digest()]);return g.slice(0,s)}},46494:function(O,C,_){!function(I,R){"use strict";function p(o,t){if(!o)throw new Error(t||"Assertion failed")}function A(o,t){o.super_=t;var r=function(){};r.prototype=t.prototype,o.prototype=new r,o.prototype.constructor=o}function s(o,t,r){if(s.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,null!==o&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(o||0,t||10,r||"be"))}var g;
vendor: 4,179 bytes, line 1
1"object"==typeof I?I.exports=s:R.BN=s,s.BN=s,s.wordSize=26;try{g="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_(77108).Buffer}catch{}function y(o,t){var r=o.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function w(o,t,r){var i=y(o,r);return r-1>=t&&(i|=y(o,r-1)<<4),i}function m(o,t,r,i){for(var f=0,h=Math.min(o.length,r),u=t;u<h;u++){var d=o.charCodeAt(u)-48;f*=i,f+=d>=49?d-49+10:d>=17?d-17+10:d}return f}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,r){return t.cmp(r)>0?t:r},s.min=function(t,r){return t.cmp(r)<0?t:r},s.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),p(r===(0|r)&&r>=2&&r<=36);var f=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f<t.length&&(16===r?this._parseHex(t,f,i):(this._parseBase(t,r,f),"le"===i&&this._initArray(this.toArray(),r,i)))},s.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(p(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},s.prototype._initArray=function(t,r,i){if(p("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var h,u,d=0;if("be"===i)for(f=t.length-1,h=0;f>=0;f-=3)this.words[h]|=(u=t[f]|t[f-1]<<8|t[f-2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);else if("le"===i)for(f=0,h=0;f<t.length;f+=3)this.words[h]|=(u=t[f]|t[f+1]<<8|t[f+2]<<16)<<d&67108863,this.words[h+1]=u>>>26-d&67108863,(d+=24)>=26&&(d-=26,h++);return this.strip()},s.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var d,h=0,u=0;if("be"===i)for(f=t.length-1;f>=r;f-=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;else for(f=(t.length-r)%2==0?r+1:r;f<t.length;f+=2)d=w(t,r,f)<<h,this.words[u]|=67108863&d,h>=18?(h-=18,this.words[u+=1]|=d>>>26):h+=8;this.strip()},s.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var f=0,h=1;h<=67108863;h*=r)f++;f--,h=h/r|0;for(var u=t.length-i,d=u%f,n=Math.min(u,u-d)+i,e=0,a=i;a<n;a+=f)e=m(t,a,a+f,r),this.imuln(h),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e);if(0!==d){var k=1;for(e=m(t,a,t.length,r),a=0;a<d;a++)k*=r;this.imuln(k),this.words[0]+e<67108864?this.words[0]+=e:this._iaddn(e)}this.strip()},s.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],l=[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],M=[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,143489
vendor: 4,416 bytes, line 1
107,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(o,t,r){r.negative=t.negative^o.negative;var i=o.length+t.length|0;r.length=i,i=i-1|0;var f=0|o.words[0],h=0|t.words[0],u=f*h,n=u/67108864|0;r.words[0]=67108863&u;for(var e=1;e<i;e++){for(var a=n>>>26,k=67108863&n,P=Math.min(e,t.length-1),T=Math.max(0,e-o.length+1);T<=P;T++)a+=(u=(f=0|o.words[e-T|0])*(h=0|t.words[T])+k)/67108864|0,k=67108863&u;r.words[e]=0|k,n=0|a}return 0!==n?r.words[e]=0|n:r.length--,r.strip()}s.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var f=0,h=0,u=0;u<this.length;u++){var d=this.words[u],n=(16777215&(d<<f|h)).toString(16);i=0!=(h=d>>>24-f&16777215)||u!==this.length-1?c[6-n.length]+n+i:n+i,(f+=2)>=26&&(f-=26,u--)}for(0!==h&&(i=h.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var e=l[t],a=M[t];i="";var k=this.clone();for(k.negative=0;!k.isZero();){var P=k.modn(a).toString(t);i=(k=k.idivn(a)).isZero()?P+i:c[e-P.length]+P+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}p(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,r){return p(void 0!==g),this.toArrayLike(g,t,r)},s.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},s.prototype.toArrayLike=function(t,r,i){var f=this.byteLength(),h=i||Math.max(1,f);p(f<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var n,e,u="le"===r,d=new t(h),a=this.clone();if(u){for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[e]=n;for(;e<h;e++)d[e]=0}else{for(e=0;e<h-f;e++)d[e]=0;for(e=0;!a.isZero();e++)n=a.andln(255),a.iushrn(8),d[h-e-1]=n}return d},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},s.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},s.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},s.prototype.ior=function(t){return p(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},s.prototype.iand=function(t){return p(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var f=0;f<i.length;f++)this.words[f]=r.words[f]^i.words[f];if(this!==r)for(;f<r.length;f++)this.words[f]=r.words[f];return this.length=r.length,this.strip()},s.prototype.ixor=function(t){return p(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 4,125 bytes, line 1
1,s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){p("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var f=0;f<r;f++)this.words[f]=67108863&~this.words[f];return i>0&&(this.words[f]=~this.words[f]&67108863>>26-i),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,r){p("number"==typeof t&&t>=0);var i=t/26|0,f=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<f:this.words[i]&~(1<<f),this.strip()},s.prototype.iadd=function(t){var r,i,f;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,f=t):(i=t,f=this);for(var h=0,u=0;u<f.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+(0|f.words[u])+h),h=r>>>26;for(;0!==h&&u<i.length;u++)this.words[u]=67108863&(r=(0|i.words[u])+h),h=r>>>26;if(this.length=i.length,0!==h)this.words[this.length]=h,this.length++;else if(i!==this)for(;u<i.length;u++)this.words[u]=i.words[u];return this},s.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var f,h,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(f=this,h=t):(f=t,h=this);for(var u=0,d=0;d<h.length;d++)u=(r=(0|f.words[d])-(0|h.words[d])+u)>>26,this.words[d]=67108863&r;for(;0!==u&&d<f.length;d++)u=(r=(0|f.words[d])+u)>>26,this.words[d]=67108863&r;if(0===u&&d<f.length&&f!==this)for(;d<f.length;d++)this.words[d]=f.words[d];return this.length=Math.max(this.length,d),f!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,i){var n,e,a,f=t.words,h=r.words,u=i.words,d=0,k=0|f[0],P=8191&k,T=k>>>13,L=0|f[1],K=8191&L,F=L>>>13,It=0|f[2],q=8191&It,H=It>>>13,Gt=0|f[3],X=8191&Gt,G=Gt>>>13,Wt=0|f[4],W=8191&Wt,Y=Wt>>>13,Yt=0|f[5],$=8191&Yt,j=Yt>>>13,$t=0|f[6],Q=8191&$t,tt=$t>>>13,jt=0|f[7],et=8191&jt,rt=jt>>>13,Qt=0|f[8],it=8191&Qt,ft=Qt>>>13,te=0|f[9],nt=8191&te,at=te>>>13,ee=0|h[0],ht=8191&ee,st=ee>>>13,re=0|h[1],ot=8191&re,ut=re>>>13,ie=0|h[2],dt=8191&ie,lt=ie>>>13,fe=0|h[3],ct=8191&fe,vt=fe>>>13,ne=0|h[4],pt=8191&ne,mt=ne>>>13,ae=0|h[5],bt=8191&ae,gt=ae>>>13,he=0|h[6],yt=8191&he,Mt=he>>>13,se=0|h[7],wt=8191&se,xt=se>>>13,oe=0|h[8],St=8191&oe,At=oe>>>13,ue=0|h[9],_t=8191&ue,Bt=ue>>>13;i.negative=t.negative^r.negative,i.length=19;var Rt=(d+(n=Math.imul(P,ht))|0)+((8191&(e=(e=Math.imul(P,st))+Math.imul(T,ht)|0))<<13)|0;d=((a=Math.imul(T,st))+(e>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(K,ht),e=(e=Math.imul(K,st))+Math.imul(F,ht)|0,a=Math.imul(F,st);var kt=(d+(n=n+Math.imul(P,ot)|0)|0)+((8191&(e=(e=e+Math.imul(P,ut)|0)+Math.imul(T,ot)|0))<<13)|0;d=((a=a+Math.imul(T,ut)|0)+(e>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(q,ht),e=(e=Math.imul(q,st))+Math.imul(H,ht)|0,a=Math.imul(H,st),n=n+Math.imul(K,ot)|0,e=(e=e+Math.imul(K,ut)|0)+Math.imul(F,ot)|0,a=a+Math.imul(F,ut)|0;var Pt=(d+(n=n+Math.imul(P,dt)|0)|0)+((8191&(e=(e=e+Math.imul(P,lt)|0)+Math.imul(T,dt)|0))<<13)|0;d=((a=a+Math.imul(T,lt)|0)+(e>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(X,ht),e=(e=Math.imul(X,st))+Math.imul(G,ht)|0,a=Math.imul(G,st),n=n+Math.imul(q,ot)|0,e=(e=e+Math.imul(q,ut)|0)+Math.imul(H,ot)|0,a=a+Math.imul(H,ut)|0,n=n+Math.imul(K,dt)|0,e=(e=e+Math.imul(K,lt)|0)+Math.imul(F,dt)|0,a=a+Math.imul(F,lt)|0;var Tt=(d+(n=n+Math.imul(P,ct)|0)|0)+((8191&(e=(e=e+Math.imul(P,vt)|0)+Math.imul(T,ct)|0))<<13)|0;d=((a=a+Math.imul(T,vt)|0)+(e>>>13)|0)+(Tt>>>
vendor: 6,704 bytes, line 1
126)|0,Tt&=67108863,n=Math.imul(W,ht),e=(e=Math.imul(W,st))+Math.imul(Y,ht)|0,a=Math.imul(Y,st),n=n+Math.imul(X,ot)|0,e=(e=e+Math.imul(X,ut)|0)+Math.imul(G,ot)|0,a=a+Math.imul(G,ut)|0,n=n+Math.imul(q,dt)|0,e=(e=e+Math.imul(q,lt)|0)+Math.imul(H,dt)|0,a=a+Math.imul(H,lt)|0,n=n+Math.imul(K,ct)|0,e=(e=e+Math.imul(K,vt)|0)+Math.imul(F,ct)|0,a=a+Math.imul(F,vt)|0;var Nt=(d+(n=n+Math.imul(P,pt)|0)|0)+((8191&(e=(e=e+Math.imul(P,mt)|0)+Math.imul(T,pt)|0))<<13)|0;d=((a=a+Math.imul(T,mt)|0)+(e>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul($,ht),e=(e=Math.imul($,st))+Math.imul(j,ht)|0,a=Math.imul(j,st),n=n+Math.imul(W,ot)|0,e=(e=e+Math.imul(W,ut)|0)+Math.imul(Y,ot)|0,a=a+Math.imul(Y,ut)|0,n=n+Math.imul(X,dt)|0,e=(e=e+Math.imul(X,lt)|0)+Math.imul(G,dt)|0,a=a+Math.imul(G,lt)|0,n=n+Math.imul(q,ct)|0,e=(e=e+Math.imul(q,vt)|0)+Math.imul(H,ct)|0,a=a+Math.imul(H,vt)|0,n=n+Math.imul(K,pt)|0,e=(e=e+Math.imul(K,mt)|0)+Math.imul(F,pt)|0,a=a+Math.imul(F,mt)|0;var Dt=(d+(n=n+Math.imul(P,bt)|0)|0)+((8191&(e=(e=e+Math.imul(P,gt)|0)+Math.imul(T,bt)|0))<<13)|0;d=((a=a+Math.imul(T,gt)|0)+(e>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(Q,ht),e=(e=Math.imul(Q,st))+Math.imul(tt,ht)|0,a=Math.imul(tt,st),n=n+Math.imul($,ot)|0,e=(e=e+Math.imul($,ut)|0)+Math.imul(j,ot)|0,a=a+Math.imul(j,ut)|0,n=n+Math.imul(W,dt)|0,e=(e=e+Math.imul(W,lt)|0)+Math.imul(Y,dt)|0,a=a+Math.imul(Y,lt)|0,n=n+Math.imul(X,ct)|0,e=(e=e+Math.imul(X,vt)|0)+Math.imul(G,ct)|0,a=a+Math.imul(G,vt)|0,n=n+Math.imul(q,pt)|0,e=(e=e+Math.imul(q,mt)|0)+Math.imul(H,pt)|0,a=a+Math.imul(H,mt)|0,n=n+Math.imul(K,bt)|0,e=(e=e+Math.imul(K,gt)|0)+Math.imul(F,bt)|0,a=a+Math.imul(F,gt)|0;var Ct=(d+(n=n+Math.imul(P,yt)|0)|0)+((8191&(e=(e=e+Math.imul(P,Mt)|0)+Math.imul(T,yt)|0))<<13)|0;d=((a=a+Math.imul(T,Mt)|0)+(e>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(et,ht),e=(e=Math.imul(et,st))+Math.imul(rt,ht)|0,a=Math.imul(rt,st),n=n+Math.imul(Q,ot)|0,e=(e=e+Math.imul(Q,ut)|0)+Math.imul(tt,ot)|0,a=a+Math.imul(tt,ut)|0,n=n+Math.imul($,dt)|0,e=(e=e+Math.imul($,lt)|0)+Math.imul(j,dt)|0,a=a+Math.imul(j,lt)|0,n=n+Math.imul(W,ct)|0,e=(e=e+Math.imul(W,vt)|0)+Math.imul(Y,ct)|0,a=a+Math.imul(Y,vt)|0,n=n+Math.imul(X,pt)|0,e=(e=e+Math.imul(X,mt)|0)+Math.imul(G,pt)|0,a=a+Math.imul(G,mt)|0,n=n+Math.imul(q,bt)|0,e=(e=e+Math.imul(q,gt)|0)+Math.imul(H,bt)|0,a=a+Math.imul(H,gt)|0,n=n+Math.imul(K,yt)|0,e=(e=e+Math.imul(K,Mt)|0)+Math.imul(F,yt)|0,a=a+Math.imul(F,Mt)|0;var Lt=(d+(n=n+Math.imul(P,wt)|0)|0)+((8191&(e=(e=e+Math.imul(P,xt)|0)+Math.imul(T,wt)|0))<<13)|0;d=((a=a+Math.imul(T,xt)|0)+(e>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(it,ht),e=(e=Math.imul(it,st))+Math.imul(ft,ht)|0,a=Math.imul(ft,st),n=n+Math.imul(et,ot)|0,e=(e=e+Math.imul(et,ut)|0)+Math.imul(rt,ot)|0,a=a+Math.imul(rt,ut)|0,n=n+Math.imul(Q,dt)|0,e=(e=e+Math.imul(Q,lt)|0)+Math.imul(tt,dt)|0,a=a+Math.imul(tt,lt)|0,n=n+Math.imul($,ct)|0,e=(e=e+Math.imul($,vt)|0)+Math.imul(j,ct)|0,a=a+Math.imul(j,vt)|0,n=n+Math.imul(W,pt)|0,e=(e=e+Math.imul(W,mt)|0)+Math.imul(Y,pt)|0,a=a+Math.imul(Y,mt)|0,n=n+Math.imul(X,bt)|0,e=(e=e+Math.imul(X,gt)|0)+Math.imul(G,bt)|0,a=a+Math.imul(G,gt)|0,n=n+Math.imul(q,yt)|0,e=(e=e+Math.imul(q,Mt)|0)+Math.imul(H,yt)|0,a=a+Math.imul(H,Mt)|0,n=n+Math.imul(K,wt)|0,e=(e=e+Math.imul(K,xt)|0)+Math.imul(F,wt)|0,a=a+Math.imul(F,xt)|0;var zt=(d+(n=n+Math.imul(P,St)|0)|0)+((8191&(e=(e=e+Math.imul(P,At)|0)+Math.imul(T,St)|0))<<13)|0;d=((a=a+Math.imul(T,At)|0)+(e>>>13)|0)+(zt>>>26)|0,zt&=67108863,n=Math.imul(nt,ht),e=(e=Math.imul(nt,st))+Math.imul(at,ht)|0,a=Math.imul(at,st),n=n+Math.imul(it,ot)|0,e=(e=e+Math.imul(it,ut)|0)+Math.imul(ft,ot)|0,a=a+Math.imul(ft,ut)|0,n=n+Math.imul(et,dt)|0,e=(e=e+Math.imul(et,lt)|0)+Math.imul(rt,dt)|0,a=a+Math.imul(rt,lt)|0,n=n+Math.imul(Q,ct)|0,e=(e=e+Math.imul(Q,vt)|0)+Math.imul(tt,ct)|0,a=a+Math.imul(tt,vt)|0,n=n+Math.imul($,pt)|0,e=(e=e+Math.imul($,mt)|0)+Math.imul(j,pt)|0,a=a+Math.imul(j,mt)|0,n=n+Math.imul(W,bt)|0,e=(e=e+Math.imul(W,gt)|0)+Math.imul(Y,bt)|0,a=a+Math.imul(Y,gt)|0,n=n+Math.imul(X,yt)|0,e=(e=e+Math.imul(X,Mt)|0)+Math.imul(G,yt)|0,a=a+Math.imul(G,Mt)|0,n=n+Math.imul(q,wt)|0,e=(e=e+Math.imul(q,xt)|0)+Math.imul(H,wt)|0,a=a+Math.imul(H,xt)|0,n=n+Math.imul(K,St)|0,e=(e=e+Math.imul(K,At)|0)+Math.imul(F,St)|0,a=a+Math.imul(F,At)|0;var Ot=(d+(n=n+Math.imul(P,_t)|0)|0)+((8191&(e=(e=e+Math.imul(P,Bt)|0)+Math.imul(T,_t)|0))<<13)|0;d=((a=a+Math.imul(T,Bt)|0)+(e>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(nt,ot),e=(e=Math.imul(nt,ut))+Math.imul(at,ot)|0,a=Math.imul(at,ut),n=n+Math.imul(it,dt)|0,e=(e=e+Math.imul(it,lt)|0)+Math.imul(ft,dt)|0,a=a+Math.imul(ft,lt)|0,n=n+Math.imul(et,ct)|0,e=(e=e+Math.imul(et,vt)|0)+Math.imul(rt,ct)|0,a=a+Math.imul(rt,vt)|0,n=n+Math.imul(Q,pt)|0,e=(e=e+Math.imul(Q,mt)|0)+Math.imul(tt,pt)|0,a=a+Math.imul(tt,mt)|0,n=n+Math.imul($,bt)|0,e=(e=e+Math.imul($,gt)|0)+Math.imul(j,bt)|0,a=a+Math.imul(j,gt)|0,n=n+Math.imul(W,yt)|0,e=(e=e+Math.imul(W,Mt)|0)+Math.imul(Y,yt)|0,a=a+Math.imul(Y,Mt)|0,n=n+Math.imul(X,wt)|0,e=(e=e+Math.imul(X,xt)|0)+Math.imul(G,wt)|0,a=a+Math.imul(G,xt)|0,n=n+Math.imul(q,St)|0,e=(e=e+Math.imul(q,At)|0)+Math.imul(H,St)|0,a=a+Math.imul(H,At)|0;var Kt=(d+(n=n+Math.imul(K,_t)|0)|0)+((8191&(e=(e=e+Math.imul(K,Bt)|0)+Math.imul(F,_t)|0))<<13)|0;d=((a=a+Math.imul(F,Bt)|0)+(e>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,n=Math.imul(nt,dt),e=(e=Math.imul(nt,lt))+Math.imul(at,dt)|0,a=Math.imul(at,lt),n=n+Math.imul(it,ct)|0,e=(e=e+Math.imul(it,vt)|0)+Math.imul(ft,ct)|0,a=a+Math.imul(ft,vt)|0,n=n+Math.imul(et,pt)|0,e=(e=e+Math.imul(et,mt)|0)+Math.imul(rt,pt)|0,a=a+Math.imul(rt,mt)|0,n=n+Math.imul(Q,bt)|0,e=(e=e+Math.imul(Q,gt)|0)+Math.imul(tt,bt)|0,a=a+Math.imul(tt,gt)|0,n=n+Math.imul($,yt)|0,e=(e=e+Math.imul($,Mt)|0)+Math.imul(j,yt)|0,a=a+Math.imul(j,Mt)|0,n=n+Math.imul(W,wt)|0,e=(e=e+Math.imul(W,xt)|0)+Math.imul(Y,wt)|0,a=a+Math.imul(Y,xt)|0,n=n+Math.imul(X,St)|0,e=(e=e+Math.imul(X,At)|0)+Math.imul(G,St)|0,a=a+Math.imul(G,At)|0;var Zt=(d+(n=n+Math.imul(q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(q,Bt)|0)+Math.imul(H,_t)|0))<<13)|0;d=((a=a+Math.imul(H,Bt)|0)+(e>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(nt,ct),e=(e=Math.imul(nt,vt))+Math.imul(at,ct)|0,a=Math.imul(at,vt),n=n+Math.imul(it,pt)|0,e=(e=e+Math.imul(it,mt)|0)+Math.imul(ft,pt)|0,a=a+Math.imul(ft,mt)|0,n=n+Math.imul(et,bt)|0,e=(e=e+Math.imul(et,gt)|0)+Math.imul(rt,bt)|0,a=a+Math.imul(rt,gt)|0,n=n+Math.imul(Q,yt)|0,e=(e=e+Math.imul(Q,Mt)|0)+Math.imul(tt,yt)|0,a=a+Math.imul(tt,Mt)|0,n=n+Math.imul($,wt)|0,e=(e=e+Math.imul($,xt)|0)+Math.imul(j,wt)|0,a=a+Math.imul(j,xt)|0,n=n+Math.imul(W,St)|0,e=(e=e+Math.imul(W,At)|0)+Math.imul(Y,St)|0,a=a+Math.imul(Y,At)|0;var Ut=(d+(n=n+Math.imul(X,_t)|0)|0)+((8191&(e=(e=e+Math.imul(X,Bt)|0)+Math.imul(G,_t)|0))<<13)|0;d=((a=a+Math.imul(G,Bt)|0)+(e>>>13)|0)+(Ut>>>
vendor: 4,056 bytes, line 1
126)|0,Ut&=67108863,n=Math.imul(nt,pt),e=(e=Math.imul(nt,mt))+Math.imul(at,pt)|0,a=Math.imul(at,mt),n=n+Math.imul(it,bt)|0,e=(e=e+Math.imul(it,gt)|0)+Math.imul(ft,bt)|0,a=a+Math.imul(ft,gt)|0,n=n+Math.imul(et,yt)|0,e=(e=e+Math.imul(et,Mt)|0)+Math.imul(rt,yt)|0,a=a+Math.imul(rt,Mt)|0,n=n+Math.imul(Q,wt)|0,e=(e=e+Math.imul(Q,xt)|0)+Math.imul(tt,wt)|0,a=a+Math.imul(tt,xt)|0,n=n+Math.imul($,St)|0,e=(e=e+Math.imul($,At)|0)+Math.imul(j,St)|0,a=a+Math.imul(j,At)|0;var Ft=(d+(n=n+Math.imul(W,_t)|0)|0)+((8191&(e=(e=e+Math.imul(W,Bt)|0)+Math.imul(Y,_t)|0))<<13)|0;d=((a=a+Math.imul(Y,Bt)|0)+(e>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(nt,bt),e=(e=Math.imul(nt,gt))+Math.imul(at,bt)|0,a=Math.imul(at,gt),n=n+Math.imul(it,yt)|0,e=(e=e+Math.imul(it,Mt)|0)+Math.imul(ft,yt)|0,a=a+Math.imul(ft,Mt)|0,n=n+Math.imul(et,wt)|0,e=(e=e+Math.imul(et,xt)|0)+Math.imul(rt,wt)|0,a=a+Math.imul(rt,xt)|0,n=n+Math.imul(Q,St)|0,e=(e=e+Math.imul(Q,At)|0)+Math.imul(tt,St)|0,a=a+Math.imul(tt,At)|0;var qt=(d+(n=n+Math.imul($,_t)|0)|0)+((8191&(e=(e=e+Math.imul($,Bt)|0)+Math.imul(j,_t)|0))<<13)|0;d=((a=a+Math.imul(j,Bt)|0)+(e>>>13)|0)+(qt>>>26)|0,qt&=67108863,n=Math.imul(nt,yt),e=(e=Math.imul(nt,Mt))+Math.imul(at,yt)|0,a=Math.imul(at,Mt),n=n+Math.imul(it,wt)|0,e=(e=e+Math.imul(it,xt)|0)+Math.imul(ft,wt)|0,a=a+Math.imul(ft,xt)|0,n=n+Math.imul(et,St)|0,e=(e=e+Math.imul(et,At)|0)+Math.imul(rt,St)|0,a=a+Math.imul(rt,At)|0;var Ht=(d+(n=n+Math.imul(Q,_t)|0)|0)+((8191&(e=(e=e+Math.imul(Q,Bt)|0)+Math.imul(tt,_t)|0))<<13)|0;d=((a=a+Math.imul(tt,Bt)|0)+(e>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(nt,wt),e=(e=Math.imul(nt,xt))+Math.imul(at,wt)|0,a=Math.imul(at,xt),n=n+Math.imul(it,St)|0,e=(e=e+Math.imul(it,At)|0)+Math.imul(ft,St)|0,a=a+Math.imul(ft,At)|0;var Vt=(d+(n=n+Math.imul(et,_t)|0)|0)+((8191&(e=(e=e+Math.imul(et,Bt)|0)+Math.imul(rt,_t)|0))<<13)|0;d=((a=a+Math.imul(rt,Bt)|0)+(e>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,n=Math.imul(nt,St),e=(e=Math.imul(nt,At))+Math.imul(at,St)|0,a=Math.imul(at,At);var Jt=(d+(n=n+Math.imul(it,_t)|0)|0)+((8191&(e=(e=e+Math.imul(it,Bt)|0)+Math.imul(ft,_t)|0))<<13)|0;d=((a=a+Math.imul(ft,Bt)|0)+(e>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Xt=(d+(n=Math.imul(nt,_t))|0)+((8191&(e=(e=Math.imul(nt,Bt))+Math.imul(at,_t)|0))<<13)|0;return d=((a=Math.imul(at,Bt))+(e>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,u[0]=Rt,u[1]=kt,u[2]=Pt,u[3]=Tt,u[4]=Nt,u[5]=Dt,u[6]=Ct,u[7]=Lt,u[8]=zt,u[9]=Ot,u[10]=Kt,u[11]=Zt,u[12]=Ut,u[13]=Ft,u[14]=qt,u[15]=Ht,u[16]=Vt,u[17]=Jt,u[18]=Xt,0!==d&&(u[19]=d,i.length++),i};function B(o,t,r){return(new E).mulp(o,t,r)}function E(o,t){this.x=o,this.y=t}Math.imul||(x=b),s.prototype.mulTo=function(t,r){var i,f=this.length+t.length;return i=10===this.length&&10===t.length?x(this,t,r):f<63?b(this,t,r):f<1024?function(o,t,r){r.negative=t.negative^o.negative,r.length=o.length+t.length;for(var i=0,f=0,h=0;h<r.length-1;h++){var u=f;f=0;for(var d=67108863&i,n=Math.min(h,t.length-1),e=Math.max(0,h-o.length+1);e<=n;e++){var T=(0|o.words[h-e])*(0|t.words[e]),L=67108863&T;d=67108863&(L=L+d|0),f+=(u=(u=u+(T/67108864|0)|0)+(L>>>26)|0)>>>26,u&=67108863}r.words[h]=d,i=u,u=f}return 0!==i?r.words[h]=i:r.length--,r.strip()}(this,t,r):B(this,t,r),i},E.prototype.makeRBT=function(t){for(var r=new Array(t),i=s.prototype._countBits(t)-1,f=0;f<t;f++)r[f]=this.revBin(f,i,t);return r},E.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var f=0,h=0;h<r;h++)f|=(1&t)<<r-h-1,t>>=1;return f},E.prototype.permute=function(t,r,i,f,h,u){for(var d=0;d<u;d++)f[d]=r[t[d]],h[d]=i[t[d]]},E.prototype.transform=function(t,r,i,f,h,u){this.permute(u,t,r,i,f,h);for(var d=1;d<h;d<<=1)for(var n=d<<1,e=Math.cos(2*Math.PI/n),a=Math.sin(2*Math.PI/n),k=0;k<h;k+=n)for(var P=e,T=a,L=0;L<d;L++){var K=i[k+L],F=f[k+L],It=i[k+L+d],q=f[k+L+d],H=P*It-T*q;q=P*q+T*It,i[k+L]=K+(It=H),f[k+L]=F+q,i[k+L+d]=K-It,f[k+L+d]=F-q,L!==n&&(H=e*P-a*T,T=e*T+a*P,P=H)}},E.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),f=1&i,h=0;for(i=i/2|0;i;i>>>=1)h++;return 1<<h+1+f},E.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var f=0;f<i/2;f++){var h=t[f];
vendor: 5,884 bytes, line 1
1t[f]=t[i-f-1],t[i-f-1]=h,h=r[f],r[f]=-r[i-f-1],r[i-f-1]=-h}},E.prototype.normalize13b=function(t,r){for(var i=0,f=0;f<r/2;f++){var h=8192*Math.round(t[2*f+1]/r)+Math.round(t[2*f]/r)+i;t[f]=67108863&h,i=h<67108864?0:h/67108864|0}return t},E.prototype.convert13b=function(t,r,i,f){for(var h=0,u=0;u<r;u++)i[2*u]=8191&(h+=0|t[u]),i[2*u+1]=8191&(h>>>=13),h>>>=13;for(u=2*r;u<f;++u)i[u]=0;p(0===h),p(0==(-8192&h))},E.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},E.prototype.mulp=function(t,r,i){var f=2*this.guessLen13b(t.length,r.length),h=this.makeRBT(f),u=this.stub(f),d=new Array(f),n=new Array(f),e=new Array(f),a=new Array(f),k=new Array(f),P=new Array(f),T=i.words;T.length=f,this.convert13b(t.words,t.length,d,f),this.convert13b(r.words,r.length,a,f),this.transform(d,u,n,e,f,h),this.transform(a,u,k,P,f,h);for(var L=0;L<f;L++){var K=n[L]*k[L]-e[L]*P[L];e[L]=n[L]*P[L]+e[L]*k[L],n[L]=K}return this.conjugate(n,e,f),this.transform(n,e,T,u,f,h),this.conjugate(T,u,f),this.normalize13b(T,f),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},s.prototype.mul=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},s.prototype.mulf=function(t){var r=new s(null);return r.words=new Array(this.length+t.length),B(this,t,r)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){p("number"==typeof t),p(t<67108864);for(var r=0,i=0;i<this.length;i++){var f=(0|this.words[i])*t,h=(67108863&f)+(67108863&r);r>>=26,r+=f/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var r=function(o){for(var t=new Array(o.bitLength()),r=0;r<t.length;r++){var f=r%26;t[r]=(o.words[r/26|0]&1<<f)>>>f}return t}(t);if(0===r.length)return new s(1);for(var i=this,f=0;f<r.length&&0===r[f];f++,i=i.sqr());if(++f<r.length)for(var h=i.sqr();f<r.length;f++,h=h.sqr())0!==r[f]&&(i=i.mul(h));return i},s.prototype.iushln=function(t){p("number"==typeof t&&t>=0);var h,r=t%26,i=(t-r)/26,f=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(h=0;h<this.length;h++){var d=this.words[h]&f;this.words[h]=(0|this.words[h])-d<<r|u,u=d>>>26-r}u&&(this.words[h]=u,this.length++)}if(0!==i){for(h=this.length-1;h>=0;h--)this.words[h+i]=this.words[h];for(h=0;h<i;h++)this.words[h]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(t){return p(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,r,i){var f;p("number"==typeof t&&t>=0),f=r?(r-r%26)/26:0;var h=t%26,u=Math.min((t-h)/26,this.length),d=67108863^67108863>>>h<<h,n=i;if(f-=u,f=Math.max(0,f),n){for(var e=0;e<u;e++)n.words[e]=this.words[e];n.length=u}if(0!==u)if(this.length>u)for(this.length-=u,e=0;e<this.length;e++)this.words[e]=this.words[e+u];else this.words[0]=0,this.length=1;var a=0;for(e=this.length-1;e>=0&&(0!==a||e>=f);e--){var k=0|this.words[e];this.words[e]=a<<26-h|k>>>h,a=k&d}return n&&0!==a&&(n.words[n.length++]=a),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,r,i){return p(0===this.negative),this.iushrn(t,r,i)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return!(this.length<=i||!(this.words[i]&1<<r))},s.prototype.imaskn=function(t){p("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==r&&i++,this.length=Math.min(i,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return p("number"==typeof t),p(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;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},s.prototype.isubn=function(t){if(p("number"==typeof t),p(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&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()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,r,i){var h;this._expand(t.length+i);var u,d=0;for(h=0;h<t.length;h++){u=(0|this.words[h+i])+d;var n=(0|t.words[h])*r;d=((u-=67108863&n)>>26)-(n/67108864|0),this.words[h+i]=67108863&u}for(;h<this.length-i;h++)d=(u=(0|this.words[h+i])+d)>>26,this.words[h+i]=67108863&u;if(0===d)return this.strip();for(p(-1===d),d=0,h=0;h<this.length;h++)d=(u=-(0|this.words[h])+d)>>26,this.words[h]=67108863&u;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,r){var i,f=this.clone(),h=t,u=0|h.words[h.length-1];0!=(i=26-this._countBits(u))&&(h=h.ushln(i),f.iushln(i),u=0|h.words[h.length-1]);var e,n=f.length-h.length;if("mod"!==r){(e=new s(null)).length=n+1,e.words=new Array(e.length);for(var a=0;a<e.length;
vendor: 32,576 bytes, line 1
1a++)e.words[a]=0}var k=f.clone()._ishlnsubmul(h,1,n);0===k.negative&&(f=k,e&&(e.words[n]=1));for(var P=n-1;P>=0;P--){var T=67108864*(0|f.words[h.length+P])+(0|f.words[h.length+P-1]);for(T=Math.min(T/u|0,67108863),f._ishlnsubmul(h,T,P);0!==f.negative;)T--,f.negative=0,f._ishlnsubmul(h,1,P),f.isZero()||(f.negative^=1);e&&(e.words[P]=T)}return e&&e.strip(),f.strip(),"div"!==r&&0!==i&&f.iushrn(i),{div:e||null,mod:f}},s.prototype.divmod=function(t,r,i){return p(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,r),"mod"!==r&&(f=u.div.neg()),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:f,mod:h}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),r),"mod"!==r&&(f=u.div.neg()),{div:f,mod:u.mod}):0!=(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),r),"div"!==r&&(h=u.mod.neg(),i&&0!==h.negative&&h.isub(t)),{div:u.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,r);var f,h,u},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,f=t.ushrn(1),h=t.andln(1),u=i.cmp(f);return u<0||1===h&&0===u?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},s.prototype.modn=function(t){p(t<=67108863);for(var r=(1<<26)%t,i=0,f=this.length-1;f>=0;f--)i=(r*i+(0|this.words[f]))%t;return i},s.prototype.idivn=function(t){p(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var f=(0|this.words[i])+67108864*r;this.words[i]=f/t|0,r=f%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){p(0===t.negative),p(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=new s(0),d=new s(1),n=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++n;for(var e=i.clone(),a=r.clone();!r.isZero();){for(var k=0,P=1;0==(r.words[0]&P)&&k<26;++k,P<<=1);if(k>0)for(r.iushrn(k);k-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(e),h.isub(a)),f.iushrn(1),h.iushrn(1);for(var T=0,L=1;0==(i.words[0]&L)&&T<26;++T,L<<=1);if(T>0)for(i.iushrn(T);T-- >0;)(u.isOdd()||d.isOdd())&&(u.iadd(e),d.isub(a)),u.iushrn(1),d.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(u),h.isub(d)):(i.isub(r),u.isub(f),d.isub(h))}return{a:u,b:d,gcd:i.iushln(n)}},s.prototype._invmp=function(t){p(0===t.negative),p(!t.isZero());var k,r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var f=new s(1),h=new s(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,n=1;0==(r.words[0]&n)&&d<26;++d,n<<=1);if(d>0)for(r.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(u),f.iushrn(1);for(var e=0,a=1;0==(i.words[0]&a)&&e<26;++e,a<<=1);if(e>0)for(i.iushrn(e);e-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);r.cmp(i)>=0?(r.isub(i),f.isub(h)):(i.isub(r),h.isub(f))}return(k=0===r.cmpn(1)?f:h).cmpn(0)<0&&k.iadd(t),k},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var f=0;r.isEven()&&i.isEven();f++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var h=r.cmp(i);if(h<0){var u=r;r=i,i=u}else if(0===h||0===i.cmpn(1))break;r.isub(i)}return i.iushln(f)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){p("number"==typeof t);var r=t%26,i=(t-r)/26,f=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=f,this;for(var h=f,u=i;0!==h&&u<this.length;u++){var d=0|this.words[u];h=(d+=h)>>>26,this.words[u]=d&=67108863}return 0!==h&&(this.words[u]=h,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),p(t<=67108863,"Number is too big");var f=0|this.words[0];i=f===t?0:f<t?-1:1}return 0!==this.negative?0|-i:i},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var f=0|this.words[i],h=0|t.words[i];if(f!==h){f<h?r=-1:f>h&&(r=1);break}}return r},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new z(t)},s.prototype.toRed=function(t){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return p(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return p(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var D={k256:null,p224:null,p192:null,p25519:null};function N(o,t){this.name=o,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Z(){N.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function U(){N.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function J(){N.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function V(){N.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function z(o){if("string"==typeof o){var t=s._prime(o);this.m=t.p,this.prime=t}else p(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function Et(o){z.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}N.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},N.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var f=i<this.n?-1:r.ucmp(this.p);return 0===f?(r.words[0]=0,r.length=1):f>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},N.prototype.split=function(t,r){t.iushrn(this.n,0,r)},N.prototype.imulK=function(t){return t.imul(this.k)},A(Z,N),Z.prototype.split=function(t,r){for(var i=4194303,f=Math.min(t.length,9),h=0;h<f;h++)r.words[h]=t.words[h];if(r.length=f,t.length<=9)return t.words[0]=0,void(t.length=1);var u=t.words[9];for(r.words[r.length++]=u&i,h=10;h<t.length;h++){var d=0|t.words[h];t.words[h-10]=(d&i)<<4|u>>>22,u=d}t.words[h-10]=u>>>=22,t.length-=0===u&&t.length>10?10:9},Z.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var f=0|t.words[i];t.words[i]=67108863&(r+=977*f),r=64*f+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},A(U,N),A(J,N),A(V,N),V.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var f=19*(0|t.words[i])+r,h=67108863&f;f>>>=26,t.words[i]=h,r=f}return 0!==r&&(t.words[t.length++]=r),t},s._prime=function(t){if(D[t])return D[t];var r;if("k256"===t)r=new Z;else if("p224"===t)r=new U;else if("p192"===t)r=new J;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new V}return D[t]=r,r},z.prototype._verify1=function(t){p(0===t.negative,"red works only with positives"),p(t.red,"red works only with red numbers")},z.prototype._verify2=function(t,r){p(0==(t.negative|r.negative),"red works only with positives"),p(t.red&&t.red===r.red,"red works only with red numbers")},z.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},z.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},z.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},z.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},z.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},z.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},z.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},z.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},z.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},z.prototype.isqr=function(t){return this.imul(t,t.clone())},z.prototype.sqr=function(t){return this.mul(t,t)},z.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(p(r%2==1),3===r){var i=this.m.add(new s(1)).iushrn(2);return this.pow(t,i)}for(var f=this.m.subn(1),h=0;!f.isZero()&&0===f.andln(1);)h++,f.iushrn(1);p(!f.isZero());var u=new s(1).toRed(this),d=u.redNeg(),n=this.m.subn(1).iushrn(1),e=this.m.bitLength();for(e=new s(2*e*e).toRed(this);0!==this.pow(e,n).cmp(d);)e.redIAdd(d);for(var a=this.pow(e,f),k=this.pow(t,f.addn(1).iushrn(1)),P=this.pow(t,f),T=h;0!==P.cmp(u);){for(var L=P,K=0;0!==L.cmp(u);K++)L=L.redSqr();p(K<T);var F=this.pow(a,new s(1).iushln(T-K-1));k=k.redMul(F),a=F.redSqr(),P=P.redMul(a),T=K}return k},z.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},z.prototype.pow=function(t,r){if(r.isZero())return new s(1).toRed(this);if(0===r.cmpn(1))return t.clone();var f=new Array(16);f[0]=new s(1).toRed(this),f[1]=t;for(var h=2;h<f.length;h++)f[h]=this.mul(f[h-1],t);var u=f[0],d=0,n=0,e=r.bitLength()%26;for(0===e&&(e=26),h=r.length-1;h>=0;h--){for(var a=r.words[h],k=e-1;k>=0;k--){var P=a>>k&1;u!==f[0]&&(u=this.sqr(u)),0!==P||0!==d?(d<<=1,d|=P,(4==++n||0===h&&0===k)&&(u=this.mul(u,f[d]),n=0,d=0)):n=0}e=26}return u},z.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},z.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},s.mont=function(t){return new Et(t)},A(Et,z),Et.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Et.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},Et.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new s(0)._forceRed(this);var i=t.mul(r),f=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=i.isub(f).iushrn(this.shift),u=h;return h.cmp(this.m)>=0?u=h.isub(this.m):h.cmpn(0)<0&&(u=h.iadd(this.m)),u._forceRed(this)},Et.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(O=_.nmd(O),this)},31548:(O,C,_)=>{var I=_(81997),R=_(30444),p=_(84541),A=_(46494),s=_(85842),g=_(12506),y=_(6829),w=_(55859).Buffer;O.exports=function(v,b,x){var S;S=v.padding?v.padding:x?1:4;var D,B=I(v),E=B.modulus.byteLength();if(b.length>E||new A(b).cmp(B.modulus)>=0)throw new Error("decryption error");D=x?y(new A(b),B):s(b,B);var N=w.alloc(E-D.length);if(D=w.concat([N,D],E),4===S)return function(M,v){var b=M.modulus.byteLength(),x=g("sha1").update(w.alloc(0)).digest(),S=x.length;if(0!==v[0])throw new Error("decryption error");var B=v.slice(1,S+1),E=v.slice(S+1),D=p(B,R(E,S)),N=p(E,R(D,b-S-1));if(function(M,v){M=w.from(M),v=w.from(v);var b=0,x=M.length;M.length!==v.length&&(b++,x=Math.min(M.length,v.length));for(var S=-1;++S<x;)b+=M[S]^v[S];return b}(x,N.slice(0,S)))throw new Error("decryption error");for(var Z=S;0===N[Z];)Z++;if(1!==N[Z++])throw new Error("decryption error");return N.slice(Z)}(B,D);if(1===S)return function(M,v,b){for(var x=v.slice(0,2),S=2,B=0;0!==v[S++];)if(S>=v.length){B++;break}var E=v.slice(2,S-1);if(("0002"!==x.toString("hex")&&!b||"0001"!==x.toString("hex")&&b)&&B++,E.length<8&&B++,B)throw new Error("decryption error");return v.slice(S)}(0,D,x);if(3===S)return D;throw new Error("unknown padding")}},74760:(O,C,_)=>{var I=_(81997),R=_(16589),p=_(12506),A=_(30444),s=_(84541),g=_(46494),y=_(6829),w=_(85842),m=_(55859).Buffer;O.exports=function(b,x,S){var B;B=b.padding?b.padding:S?1:4;var D,E=I(b);if(4===B)D=function(v,b){var x=v.modulus.byteLength(),S=b.length,B=p("sha1").update(m.alloc(0)).digest(),E=B.length,D=2*E;if(S>x-D-2)throw new Error("message too long");var N=m.alloc(x-S-D-2),Z=x-E-1,U=R(E),J=s(m.concat([B,N,m.alloc(1,1),b],Z),A(U,Z)),V=s(U,A(J,E));return new g(m.concat([m.alloc(1),V,J],x))}(E,x);else if(1===B)D=function(v,b,x){var E,S=b.length,B=v.modulus.byteLength();if(S>B-11)throw new Error("message too long");return E=x?m.alloc(B-S-3,255):function(v){for(var E,b=m.allocUnsafe(v),x=0,S=R(2*v),B=0;x<v;)B===S.length&&(S=R(2*v),B=0),(E=S[B++])&&(b[x++]=E);return b}(B-S-3),new g(m.concat([m.from([0,x?1:2]),E,m.alloc(1),b],B))}(E,x,S);else{if(3!==B)throw new Error("unknown padding");if((D=new g(x)).cmp(E.modulus)>=0)throw new Error("data too long for modulus")}return S?w(D,E):y(D,E)}},6829:(O,C,_)=>{var I=_(46494),R=_(55859).Buffer;O.exports=function(A,s){return R.from(A.toRed(I.mont(s.modulus)).redPow(new I(s.publicExponent)).fromRed().toArray())}},84541:O=>{O.exports=function(_,I){for(var R=_.length,p=-1;++p<R;)_[p]^=I[p];return _}},16589:(O,C,_)=>{"use strict";var I=65536,A=_(55859).Buffer,s=global.crypto||global.msCrypto;O.exports=s&&s.getRandomValues?function(y,w){if(y>4294967295)throw new RangeError("requested too many random bytes");var m=A.allocUnsafe(y);if(y>0)if(y>I)for(var c=0;c<y;c+=I)s.getRandomValues(m.slice(c,c+I));else s.getRandomValues(m);return"function"==typeof w?process.nextTick(function(){w(null,m)}):m}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},43594:(O,C,_)=>{"use strict";function I(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var R=_(55859),p=_(16589),A=R.Buffer,s=R.kMaxLength,g=global.crypto||global.msCrypto,y=Math.pow(2,32)-1;function w(v,b){if("number"!=typeof v||v!=v)throw new TypeError("offset must be a number");if(v>y||v<0)throw new TypeError("offset must be a uint32");if(v>s||v>b)throw new RangeError("offset out of range")}function m(v,b,x){if("number"!=typeof v||v!=v)throw new TypeError("size must be a number");if(v>y||v<0)throw new TypeError("size must be a uint32");if(v+b>x||v>s)throw new RangeError("buffer too small")}function l(v,b,x,S){if(process.browser){var E=new Uint8Array(v.buffer,b,x);return g.getRandomValues(E),S?void process.nextTick(function(){S(null,v)}):v}if(!S)return p(x).copy(v,b),v;p(x,function(N,Z){if(N)return S(N);Z.copy(v,b),S(null,v)})}g&&g.getRandomValues||!process.browser?(C.randomFill=function(v,b,x,S){if(!(A.isBuffer(v)||v instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof b)S=b,b=0,x=v.length;else if("function"==typeof x)S=x,x=v.length-b;else if("function"!=typeof S)throw new TypeError('"cb" argument must be a function');return w(b,v.length),m(x,b,v.length),l(v,b,x,S)},C.randomFillSync=function(v,b,x){if(void 0===b&&(b=0),!(A.isBuffer(v)||v instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return w(b,v.length),void 0===x&&(x=v.length-b),m(x,b,v.length),l(v,b,x)}):(C.randomFill=I,C.randomFillSync=I)},75207:(O,C,_)=>{"use strict";var I=_(3875).Buffer,R=_(59879),p=_(5414),A=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],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],y=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],w=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],c=[1352829926,1548603684,1836072691,2053994217,0];function l(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function M(E,D){return E<<D|E>>>32-D}function v(E,D,N,Z,U,J,V,z){return M(E+(D^N^Z)+J+V|0,z)+U|0}function b(E,D,N,Z,U,J,V,z){return M(E+(D&N|~D&Z)+J+V|0,z)+U|0}function x(E,D,N,Z,U,J,V,z){return M(E+((D|~N)^Z)+J+V|0,z)+U|0}function S(E,D,N,Z,U,J,V,z){return M(E+(D&Z|N&~Z)+J+V|0,z)+U|0}function B(E,D,N,Z,U,J,V,z){return M(E+(D^(N|~Z))+J+V|0,z)+U|0}R(l,p),l.prototype._update=function(){for(var E=A,D=0;D<16;++D)E[D]=this._block.readInt32LE(4*D);for(var N=0|this._a,Z=0|this._b,U=0|this._c,J=0|this._d,V=0|this._e,z=0|this._a,Et=0|this._b,o=0|this._c,t=0|this._d,r=0|this._e,i=0;i<80;i+=1){var f,h;i<16?(f=v(N,Z,U,J,V,E[s[i]],m[0],y[i]),h=B(z,Et,o,t,r,E[g[i]],c[0],w[i])):i<32?(f=b(N,Z,U,J,V,E[s[i]],m[1],y[i]),h=S(z,Et,o,t,r,E[g[i]],c[1],w[i])):i<48?(f=x(N,Z,U,J,V,E[s[i]],m[2],y[i]),h=x(z,Et,o,t,r,E[g[i]],c[2],w[i])):i<64?(f=S(N,Z,U,J,V,E[s[i]],m[3],y[i]),h=b(z,Et,o,t,r,E[g[i]],c[3],w[i])):(f=B(N,Z,U,J,V,E[s[i]],m[4],y[i]),h=v(z,Et,o,t,r,E[g[i]],c[4],w[i])),N=V,V=J,J=M(U,10),U=Z,Z=f,z=r,r=t,t=M(o,10),o=Et,Et=h}var u=this._b+U+t|0;this._b=this._c+J+r|0,this._c=this._d+V+z|0,this._d=this._e+N+Et|0,this._e=this._a+Z+o|0,this._a=u},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var E=I.alloc?I.alloc(20):new I(20);return E.writeInt32LE(this._a,0),E.writeInt32LE(this._b,4),E.writeInt32LE(this._c,8),E.writeInt32LE(this._d,12),E.writeInt32LE(this._e,16),E},O.exports=l},88114:(O,C,_)=>{"use strict";var A,I=_(3875),R=I.Buffer,p={};for(A in I)!I.hasOwnProperty(A)||"SlowBuffer"===A||"Buffer"===A||(p[A]=I[A]);var s=p.Buffer={};for(A in R)!R.hasOwnProperty(A)||"allocUnsafe"===A||"allocUnsafeSlow"===A||(s[A]=R[A]);if(p.Buffer.prototype=R.prototype,(!s.from||s.from===Uint8Array.from)&&(s.from=function(g,y,w){if("number"==typeof g)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof g);if(g&&void 0===g.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);return R(g,y,w)}),s.alloc||(s.alloc=function(g,y,w){if("number"!=typeof g)throw new TypeError('The "size" argument must be of type number. Received type '+typeof g);if(g<0||g>=2*(1<<30))throw new RangeError('The value "'+g+'" is invalid for option "size"');var m=R(g);return y&&0!==y.length?"string"==typeof w?m.fill(y,w):m.fill(y):m.fill(0),m}),!p.kStringMaxLength)try{p.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}p.constants||(p.constants={MAX_LENGTH:p.kMaxLength},p.kStringMaxLength&&(p.constants.MAX_STRING_LENGTH=p.kStringMaxLength)),O.exports=p},36917:(O,C,_)=>{O.exports=p;var I=_(93105).EventEmitter;function p(){I.call(this)}_(59879)(p,I),p.Readable=_(32833),p.Writable=_(37807),p.Duplex=_(20942),p.Transform=_(55431),p.PassThrough=_(90619),p.finished=_(6820),p.pipeline=_(36076),p.Stream=p,p.prototype.pipe=function(A,s){var g=this;function y(b){A.writable&&!1===A.write(b)&&g.pause&&g.pause()}function w(){g.readable&&g.resume&&g.resume()}g.on("data",y),A.on("drain",w),!A._isStdio&&(!s||!1!==s.end)&&(g.on("end",c),g.on("close",l));var m=!1;function c(){m||(m=!0,A.end())}function l(){m||(m=!0,"function"==typeof A.destroy&&A.destroy())}function M(b){if(v(),0===I.listenerCount(this,"error"))throw b}function v(){g.removeListener("data",y),A.removeListener("drain",w),g.removeListener("end",c),g.removeListener("close",l),g.removeListener("error",M),A.removeListener("error",M),g.removeListener("end",v),g.removeListener("close",v),A.removeListener("close",v)}return g.on("error",M),A.on("error",M),g.on("end",v),g.on("close",v),A.on("close",v),A.emit("pipe",g),A}},80950:()=>{},8623:()=>{},7748:()=>{},85568:()=>{},56619:()=>{},77108:()=>{},44946:O=>{"use strict";O.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},8770:O=>{"use strict";O.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:O=>{"use strict";O.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},29799:O=>{"use strict";O.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
107b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},18597:O=>{"use strict";O.exports={i8:"6.5.4"}},22562:O=>{"use strict";O.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.