(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~70aabc29"],{"0354":function(t,i){var r="[object Boolean]",e=Object.prototype,n=e.toString;function o(t){return!0===t||!1===t||h(t)&&n.call(t)==r}function h(t){return!!t&&"object"==typeof t}t.exports=o},"0da7":function(t,i,r){var e=r("1c35").Buffer;t.exports=function(t){return"string"===typeof t?t:"number"===typeof t||e.isBuffer(t)?t.toString():JSON.stringify(t)}},1468:function(t,i){var r=1e3,e=60*r,n=60*e,o=24*n,h=7*o,s=365.25*o;function u(t){if(t=String(t),!(t.length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(i){var u=parseFloat(i[1]),a=(i[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*h;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*e;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function a(t){var i=Math.abs(t);return i>=o?Math.round(t/o)+"d":i>=n?Math.round(t/n)+"h":i>=e?Math.round(t/e)+"m":i>=r?Math.round(t/r)+"s":t+"ms"}function l(t){var i=Math.abs(t);return i>=o?f(t,i,o,"day"):i>=n?f(t,i,n,"hour"):i>=e?f(t,i,e,"minute"):i>=r?f(t,i,r,"second"):t+" ms"}function f(t,i,r,e){var n=i>=1.5*r;return Math.round(t/r)+" "+e+(n?"s":"")}t.exports=function(t,i){i=i||{};var r=typeof t;if("string"===r&&t.length>0)return u(t);if("number"===r&&isFinite(t))return i.long?l(t):a(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"182f":function(t,i,r){var e=r("8707").Buffer,n=r("a1c1"),o=r("79e8"),h=r("a801"),s=r("0da7"),u=r("eed9"),a=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){if(l(t))return t;try{return JSON.parse(t)}catch(i){return}}function c(t){var i=t.split(".",1)[0];return f(e.from(i,"base64").toString("binary"))}function m(t){return t.split(".",2).join(".")}function d(t){return t.split(".")[2]}function p(t,i){i=i||"utf8";var r=t.split(".")[1];return e.from(r,"base64").toString(i)}function v(t){return a.test(t)&&!!c(t)}function g(t,i,r){if(!i){var e=new Error("Missing algorithm parameter for jws.verify");throw e.code="MISSING_ALGORITHM",e}t=s(t);var n=d(t),h=m(t),u=o(i);return u.verify(h,n,r)}function M(t,i){if(i=i||{},t=s(t),!v(t))return null;var r=c(t);if(!r)return null;var e=p(t);return("JWT"===r.typ||i.json)&&(e=JSON.parse(e,i.encoding)),{header:r,payload:e,signature:d(t)}}function y(t){t=t||{};var i=t.secret||t.publicKey||t.key,r=new n(i);this.readable=!0,this.algorithm=t.algorithm,this.encoding=t.encoding,this.secret=this.publicKey=this.key=r,this.signature=new n(t.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}u.inherits(y,h),y.prototype.verify=function(){try{var t=g(this.signature.buffer,this.algorithm,this.key.buffer),i=M(this.signature.buffer,this.encoding);return this.emit("done",t,i),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}},y.decode=M,y.isValid=v,y.verify=g,t.exports=y},"33ef":function(t,i,r){var e=r("6c3c"),n=r("182f"),o=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];i.ALGORITHMS=o,i.sign=e.sign,i.verify=n.verify,i.decode=n.decode,i.isValid=n.isValid,i.createSign=function(t){return new e(t)},i.createVerify=function(t){return new n(t)}},"4db4":function(t,i){var r=1/0,e=17976931348623157e292,n=NaN,o="[object Symbol]",h=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,f=Object.prototype,c=f.toString;function m(t){return"number"==typeof t&&t==M(t)}function d(t){var i=typeof t;return!!t&&("object"==i||"function"==i)}function p(t){return!!t&&"object"==typeof t}function v(t){return"symbol"==typeof t||p(t)&&c.call(t)==o}function g(t){if(!t)return 0===t?t:0;if(t=y(t),t===r||t===-r){var i=t<0?-1:1;return i*e}return t===t?t:0}function M(t){var i=g(t),r=i%1;return i===i?r?i-r:i:0}function y(t){if("number"==typeof t)return t;if(v(t))return n;if(d(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=d(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(h,"");var r=u.test(t);return r||a.test(t)?l(t.slice(2),r?2:8):s.test(t)?n:+t}t.exports=m},"67de":function(t,i){var r="[object Number]",e=Object.prototype,n=e.toString;function o(t){return!!t&&"object"==typeof t}function h(t){return"number"==typeof t||o(t)&&n.call(t)==r}t.exports=h},"6c3c":function(t,i,r){var e=r("8707").Buffer,n=r("a1c1"),o=r("79e8"),h=r("a801"),s=r("0da7"),u=r("eed9");function a(t,i){return e.from(t,i).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(t,i,r){r=r||"utf8";var e=a(s(t),"binary"),n=a(s(i),r);return u.format("%s.%s",e,n)}function f(t){var i=t.header,r=t.payload,e=t.secret||t.privateKey,n=t.encoding,h=o(i.alg),s=l(i,r,n),a=h.sign(s,e);return u.format("%s.%s",s,a)}function c(t){var i=t.secret||t.privateKey||t.key,r=new n(i);this.readable=!0,this.header=t.header,this.encoding=t.encoding,this.secret=this.privateKey=this.key=r,this.payload=new n(t.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}u.inherits(c,h),c.prototype.sign=function(){try{var t=f({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(i){this.readable=!1,this.emit("error",i),this.emit("close")}},c.sign=f,t.exports=c},7658:function(t,i,r){"use strict";var e=i;function n(t,i){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!==typeof t){for(var e=0;e>8,h=255&n;o?r.push(o,h):r.push(h)}return r}function o(t){return 1===t.length?"0"+t:t}function h(t){for(var i="",r=0;r=0);return n},o.prototype._randrange=function(t,i){var r=i.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,i,r){var n=t.bitLength(),o=e.mont(t),h=new e(1).toRed(o);i||(i=Math.max(1,n/48|0));for(var s=t.subn(1),u=0;!s.testn(u);u++);for(var a=t.shrn(u),l=s.toRed(o),f=!0;i>0;i--){var c=this._randrange(new e(2),s);r&&r(c);var m=c.toRed(o).redPow(a);if(0!==m.cmp(h)&&0!==m.cmp(l)){for(var d=1;d0;i--){var l=this._randrange(new e(2),h),f=t.gcd(l);if(0!==f.cmpn(1))return f;var c=l.toRed(n).redPow(u);if(0!==c.cmp(o)&&0!==c.cmp(a)){for(var m=1;m-1&&t%1==0&&t-1:!!n&&y(t,i,r)>-1}function Z(t){return T(t)&&k.call(t,"callee")&&(!j.call(t,"callee")||x.call(t)==h)}var q=Array.isArray;function P(t){return null!=t&&$(t.length)&&!H(t)}function T(t){return K(t)&&P(t)}function H(t){var i=z(t)?x.call(t):"";return i==s||i==u}function $(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}function z(t){var i=typeof t;return!!t&&("object"==i||"function"==i)}function K(t){return!!t&&"object"==typeof t}function D(t){return"string"==typeof t||!q(t)&&K(t)&&x.call(t)==a}function J(t){return"symbol"==typeof t||K(t)&&x.call(t)==l}function F(t){if(!t)return 0===t?t:0;if(t=C(t),t===r||t===-r){var i=t<0?-1:1;return i*n}return t===t?t:0}function G(t){var i=F(t),r=i%1;return i===i?r?i-r:i:0}function C(t){if("number"==typeof t)return t;if(J(t))return o;if(z(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=z(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var r=m.test(t);return r||d.test(t)?v(t.slice(2),r?2:8):c.test(t)?o:+t}function V(t){return P(t)?E(t):B(t)}function U(t){return t?_(t,V(t)):[]}t.exports=I},a1c1:function(t,i,r){(function(i){var e=r("8707").Buffer,n=r("a801"),o=r("eed9");function h(t){if(this.buffer=null,this.writable=!0,this.readable=!0,!t)return this.buffer=e.alloc(0),this;if("function"===typeof t.pipe)return this.buffer=e.alloc(0),t.pipe(this),this;if(t.length||"object"===typeof t)return this.buffer=t,this.writable=!1,i.nextTick(function(){this.emit("end",t),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof t+")")}o.inherits(h,n),h.prototype.write=function(t){this.buffer=e.concat([this.buffer,e.from(t)]),this.emit("data",t)},h.prototype.end=function(t){t&&this.write(t),this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=h}).call(this,r("4362"))},cd93:function(t,i){var r="[object Object]";function e(t){var i=!1;if(null!=t&&"function"!=typeof t.toString)try{i=!!(t+"")}catch(r){}return i}function n(t,i){return function(r){return t(i(r))}}var o=Function.prototype,h=Object.prototype,s=o.toString,u=h.hasOwnProperty,a=s.call(Object),l=h.toString,f=n(Object.getPrototypeOf,Object);function c(t){return!!t&&"object"==typeof t}function m(t){if(!c(t)||l.call(t)!=r||e(t))return!1;var i=f(t);if(null===i)return!0;var n=u.call(i,"constructor")&&i.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==a}t.exports=m},d0eb:function(t,i,r){(function(t){(function(t,i){"use strict";function e(t,i){if(!t)throw new Error(i||"Assertion failed")}function n(t,i){t.super_=i;var r=function(){};r.prototype=i.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,i,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==i&&"be"!==i||(r=i,i=10),this._init(t||0,i||10,r||"be"))}var h;"object"===typeof t?t.exports=o:i.BN=o,o.BN=o,o.wordSize=26;try{h="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(5).Buffer}catch(j){}function s(t,i){var r=t.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function u(t,i,r){var e=s(t,r);return r-1>=i&&(e|=s(t,r-1)<<4),e}function a(t,i,r,e){for(var n=0,o=Math.min(t.length,r),h=i;h=49?s-49+10:s>=17?s-17+10:s}return n}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,i){return t.cmp(i)>0?t:i},o.min=function(t,i){return t.cmp(i)<0?t:i},o.prototype._init=function(t,i,r){if("number"===typeof t)return this._initNumber(t,i,r);if("object"===typeof t)return this._initArray(t,i,r);"hex"===i&&(i=16),e(i===(0|i)&&i>=2&&i<=36),t=t.toString().replace(/\s+/g,"");var n=0;"-"===t[0]&&(n++,this.negative=1),n=0;n-=3)h=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=h<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,i,r){this.length=Math.ceil((t.length-i)/6),this.words=new Array(this.length);for(var e=0;e=i;e-=2)n=u(t,i,e)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else{var s=t.length-i;for(e=s%2===0?i+1:i;e=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8}this.strip()},o.prototype._parseBase=function(t,i,r){this.words=[0],this.length=1;for(var e=0,n=1;n<=67108863;n*=i)e++;e--,n=n/i|0;for(var o=t.length-r,h=o%e,s=Math.min(o,o-h)+r,u=0,l=r;l1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","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"],f=[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],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t){for(var i=new Array(t.bitLength()),r=0;r>>n}return i}function d(t,i,r){r.negative=i.negative^t.negative;var e=t.length+i.length|0;r.length=e,e=e-1|0;var n=0|t.words[0],o=0|i.words[0],h=n*o,s=67108863&h,u=h/67108864|0;r.words[0]=s;for(var a=1;a>>26,f=67108863&u,c=Math.min(a,i.length-1),m=Math.max(0,a-t.length+1);m<=c;m++){var d=a-m|0;n=0|t.words[d],o=0|i.words[m],h=n*o+f,l+=h/67108864|0,f=67108863&h}r.words[a]=0|f,u=0|l}return 0!==u?r.words[a]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,i){var r;if(t=t||10,i=0|i||1,16===t||"hex"===t){r="";for(var n=0,o=0,h=0;h>>24-n&16777215,n+=2,n>=26&&(n-=26,h--),r=0!==o||h!==this.length-1?l[6-u.length]+u+r:u+r}0!==o&&(r=o.toString(16)+r);while(r.length%i!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var a=f[t],m=c[t];r="";var d=this.clone();d.negative=0;while(!d.isZero()){var p=d.modn(m).toString(t);d=d.idivn(m),r=d.isZero()?p+r:l[a-p.length]+p+r}this.isZero()&&(r="0"+r);while(r.length%i!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}e(!1,"Base should be between 2 and 36")},o.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&&e(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,i){return e("undefined"!==typeof h),this.toArrayLike(h,t,i)},o.prototype.toArray=function(t,i){return this.toArrayLike(Array,t,i)},o.prototype.toArrayLike=function(t,i,r){var n=this.byteLength(),o=r||Math.max(1,n);e(n<=o,"byte array longer than desired length"),e(o>0,"Requested array length <= 0"),this.strip();var h,s,u="le"===i,a=new t(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)h=l.andln(255),l.iushrn(8),a[s]=h;for(;s=4096&&(r+=13,i>>>=13),i>=64&&(r+=7,i>>>=7),i>=8&&(r+=4,i>>>=4),i>=2&&(r+=2,i>>>=2),r+i},o.prototype._zeroBits=function(t){if(0===t)return 26;var i=t,r=0;return 0===(8191&i)&&(r+=13,i>>>=13),0===(127&i)&&(r+=7,i>>>=7),0===(15&i)&&(r+=4,i>>>=4),0===(3&i)&&(r+=2,i>>>=2),0===(1&i)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],i=this._countBits(t);return 26*(this.length-1)+i},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var i;i=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var i,r;this.length>t.length?(i=this,r=t):(i=t,r=this);for(var e=0;et.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){e("number"===typeof t&&t>=0);var i=0|Math.ceil(t/26),r=t%26;this._expand(i),r>0&&i--;for(var n=0;n0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,i){e("number"===typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=i?this.words[r]|1<t.length?(r=this,e=t):(r=t,e=this);for(var n=0,o=0;o>>26;for(;0!==n&&o>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var i=this.iadd(t);return t.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,e,n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,e=t):(r=t,e=this);for(var o=0,h=0;h>26,this.words[h]=67108863&i;for(;0!==o&&h>26,this.words[h]=67108863&i;if(0===o&&h>>13,m=0|h[1],d=8191&m,p=m>>>13,v=0|h[2],g=8191&v,M=v>>>13,y=0|h[3],w=8191&y,b=y>>>13,_=0|h[4],S=8191&_,A=_>>>13,k=0|h[5],x=8191&k,j=k>>>13,R=0|h[6],O=8191&R,E=R>>>13,B=0|h[7],L=8191&B,N=B>>>13,I=0|h[8],Z=8191&I,q=I>>>13,P=0|h[9],T=8191&P,H=P>>>13,$=0|s[0],z=8191&$,K=$>>>13,D=0|s[1],J=8191&D,F=D>>>13,G=0|s[2],C=8191&G,V=G>>>13,U=0|s[3],W=8191&U,Q=U>>>13,X=0|s[4],Y=8191&X,tt=X>>>13,it=0|s[5],rt=8191&it,et=it>>>13,nt=0|s[6],ot=8191&nt,ht=nt>>>13,st=0|s[7],ut=8191&st,at=st>>>13,lt=0|s[8],ft=8191<,ct=lt>>>13,mt=0|s[9],dt=8191&mt,pt=mt>>>13;r.negative=t.negative^i.negative,r.length=19,e=Math.imul(f,z),n=Math.imul(f,K),n=n+Math.imul(c,z)|0,o=Math.imul(c,K);var vt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(vt>>>26)|0,vt&=67108863,e=Math.imul(d,z),n=Math.imul(d,K),n=n+Math.imul(p,z)|0,o=Math.imul(p,K),e=e+Math.imul(f,J)|0,n=n+Math.imul(f,F)|0,n=n+Math.imul(c,J)|0,o=o+Math.imul(c,F)|0;var gt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(gt>>>26)|0,gt&=67108863,e=Math.imul(g,z),n=Math.imul(g,K),n=n+Math.imul(M,z)|0,o=Math.imul(M,K),e=e+Math.imul(d,J)|0,n=n+Math.imul(d,F)|0,n=n+Math.imul(p,J)|0,o=o+Math.imul(p,F)|0,e=e+Math.imul(f,C)|0,n=n+Math.imul(f,V)|0,n=n+Math.imul(c,C)|0,o=o+Math.imul(c,V)|0;var Mt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,e=Math.imul(w,z),n=Math.imul(w,K),n=n+Math.imul(b,z)|0,o=Math.imul(b,K),e=e+Math.imul(g,J)|0,n=n+Math.imul(g,F)|0,n=n+Math.imul(M,J)|0,o=o+Math.imul(M,F)|0,e=e+Math.imul(d,C)|0,n=n+Math.imul(d,V)|0,n=n+Math.imul(p,C)|0,o=o+Math.imul(p,V)|0,e=e+Math.imul(f,W)|0,n=n+Math.imul(f,Q)|0,n=n+Math.imul(c,W)|0,o=o+Math.imul(c,Q)|0;var yt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(yt>>>26)|0,yt&=67108863,e=Math.imul(S,z),n=Math.imul(S,K),n=n+Math.imul(A,z)|0,o=Math.imul(A,K),e=e+Math.imul(w,J)|0,n=n+Math.imul(w,F)|0,n=n+Math.imul(b,J)|0,o=o+Math.imul(b,F)|0,e=e+Math.imul(g,C)|0,n=n+Math.imul(g,V)|0,n=n+Math.imul(M,C)|0,o=o+Math.imul(M,V)|0,e=e+Math.imul(d,W)|0,n=n+Math.imul(d,Q)|0,n=n+Math.imul(p,W)|0,o=o+Math.imul(p,Q)|0,e=e+Math.imul(f,Y)|0,n=n+Math.imul(f,tt)|0,n=n+Math.imul(c,Y)|0,o=o+Math.imul(c,tt)|0;var wt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,e=Math.imul(x,z),n=Math.imul(x,K),n=n+Math.imul(j,z)|0,o=Math.imul(j,K),e=e+Math.imul(S,J)|0,n=n+Math.imul(S,F)|0,n=n+Math.imul(A,J)|0,o=o+Math.imul(A,F)|0,e=e+Math.imul(w,C)|0,n=n+Math.imul(w,V)|0,n=n+Math.imul(b,C)|0,o=o+Math.imul(b,V)|0,e=e+Math.imul(g,W)|0,n=n+Math.imul(g,Q)|0,n=n+Math.imul(M,W)|0,o=o+Math.imul(M,Q)|0,e=e+Math.imul(d,Y)|0,n=n+Math.imul(d,tt)|0,n=n+Math.imul(p,Y)|0,o=o+Math.imul(p,tt)|0,e=e+Math.imul(f,rt)|0,n=n+Math.imul(f,et)|0,n=n+Math.imul(c,rt)|0,o=o+Math.imul(c,et)|0;var bt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,e=Math.imul(O,z),n=Math.imul(O,K),n=n+Math.imul(E,z)|0,o=Math.imul(E,K),e=e+Math.imul(x,J)|0,n=n+Math.imul(x,F)|0,n=n+Math.imul(j,J)|0,o=o+Math.imul(j,F)|0,e=e+Math.imul(S,C)|0,n=n+Math.imul(S,V)|0,n=n+Math.imul(A,C)|0,o=o+Math.imul(A,V)|0,e=e+Math.imul(w,W)|0,n=n+Math.imul(w,Q)|0,n=n+Math.imul(b,W)|0,o=o+Math.imul(b,Q)|0,e=e+Math.imul(g,Y)|0,n=n+Math.imul(g,tt)|0,n=n+Math.imul(M,Y)|0,o=o+Math.imul(M,tt)|0,e=e+Math.imul(d,rt)|0,n=n+Math.imul(d,et)|0,n=n+Math.imul(p,rt)|0,o=o+Math.imul(p,et)|0,e=e+Math.imul(f,ot)|0,n=n+Math.imul(f,ht)|0,n=n+Math.imul(c,ot)|0,o=o+Math.imul(c,ht)|0;var _t=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(_t>>>26)|0,_t&=67108863,e=Math.imul(L,z),n=Math.imul(L,K),n=n+Math.imul(N,z)|0,o=Math.imul(N,K),e=e+Math.imul(O,J)|0,n=n+Math.imul(O,F)|0,n=n+Math.imul(E,J)|0,o=o+Math.imul(E,F)|0,e=e+Math.imul(x,C)|0,n=n+Math.imul(x,V)|0,n=n+Math.imul(j,C)|0,o=o+Math.imul(j,V)|0,e=e+Math.imul(S,W)|0,n=n+Math.imul(S,Q)|0,n=n+Math.imul(A,W)|0,o=o+Math.imul(A,Q)|0,e=e+Math.imul(w,Y)|0,n=n+Math.imul(w,tt)|0,n=n+Math.imul(b,Y)|0,o=o+Math.imul(b,tt)|0,e=e+Math.imul(g,rt)|0,n=n+Math.imul(g,et)|0,n=n+Math.imul(M,rt)|0,o=o+Math.imul(M,et)|0,e=e+Math.imul(d,ot)|0,n=n+Math.imul(d,ht)|0,n=n+Math.imul(p,ot)|0,o=o+Math.imul(p,ht)|0,e=e+Math.imul(f,ut)|0,n=n+Math.imul(f,at)|0,n=n+Math.imul(c,ut)|0,o=o+Math.imul(c,at)|0;var St=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(St>>>26)|0,St&=67108863,e=Math.imul(Z,z),n=Math.imul(Z,K),n=n+Math.imul(q,z)|0,o=Math.imul(q,K),e=e+Math.imul(L,J)|0,n=n+Math.imul(L,F)|0,n=n+Math.imul(N,J)|0,o=o+Math.imul(N,F)|0,e=e+Math.imul(O,C)|0,n=n+Math.imul(O,V)|0,n=n+Math.imul(E,C)|0,o=o+Math.imul(E,V)|0,e=e+Math.imul(x,W)|0,n=n+Math.imul(x,Q)|0,n=n+Math.imul(j,W)|0,o=o+Math.imul(j,Q)|0,e=e+Math.imul(S,Y)|0,n=n+Math.imul(S,tt)|0,n=n+Math.imul(A,Y)|0,o=o+Math.imul(A,tt)|0,e=e+Math.imul(w,rt)|0,n=n+Math.imul(w,et)|0,n=n+Math.imul(b,rt)|0,o=o+Math.imul(b,et)|0,e=e+Math.imul(g,ot)|0,n=n+Math.imul(g,ht)|0,n=n+Math.imul(M,ot)|0,o=o+Math.imul(M,ht)|0,e=e+Math.imul(d,ut)|0,n=n+Math.imul(d,at)|0,n=n+Math.imul(p,ut)|0,o=o+Math.imul(p,at)|0,e=e+Math.imul(f,ft)|0,n=n+Math.imul(f,ct)|0,n=n+Math.imul(c,ft)|0,o=o+Math.imul(c,ct)|0;var At=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(At>>>26)|0,At&=67108863,e=Math.imul(T,z),n=Math.imul(T,K),n=n+Math.imul(H,z)|0,o=Math.imul(H,K),e=e+Math.imul(Z,J)|0,n=n+Math.imul(Z,F)|0,n=n+Math.imul(q,J)|0,o=o+Math.imul(q,F)|0,e=e+Math.imul(L,C)|0,n=n+Math.imul(L,V)|0,n=n+Math.imul(N,C)|0,o=o+Math.imul(N,V)|0,e=e+Math.imul(O,W)|0,n=n+Math.imul(O,Q)|0,n=n+Math.imul(E,W)|0,o=o+Math.imul(E,Q)|0,e=e+Math.imul(x,Y)|0,n=n+Math.imul(x,tt)|0,n=n+Math.imul(j,Y)|0,o=o+Math.imul(j,tt)|0,e=e+Math.imul(S,rt)|0,n=n+Math.imul(S,et)|0,n=n+Math.imul(A,rt)|0,o=o+Math.imul(A,et)|0,e=e+Math.imul(w,ot)|0,n=n+Math.imul(w,ht)|0,n=n+Math.imul(b,ot)|0,o=o+Math.imul(b,ht)|0,e=e+Math.imul(g,ut)|0,n=n+Math.imul(g,at)|0,n=n+Math.imul(M,ut)|0,o=o+Math.imul(M,at)|0,e=e+Math.imul(d,ft)|0,n=n+Math.imul(d,ct)|0,n=n+Math.imul(p,ft)|0,o=o+Math.imul(p,ct)|0,e=e+Math.imul(f,dt)|0,n=n+Math.imul(f,pt)|0,n=n+Math.imul(c,dt)|0,o=o+Math.imul(c,pt)|0;var kt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(kt>>>26)|0,kt&=67108863,e=Math.imul(T,J),n=Math.imul(T,F),n=n+Math.imul(H,J)|0,o=Math.imul(H,F),e=e+Math.imul(Z,C)|0,n=n+Math.imul(Z,V)|0,n=n+Math.imul(q,C)|0,o=o+Math.imul(q,V)|0,e=e+Math.imul(L,W)|0,n=n+Math.imul(L,Q)|0,n=n+Math.imul(N,W)|0,o=o+Math.imul(N,Q)|0,e=e+Math.imul(O,Y)|0,n=n+Math.imul(O,tt)|0,n=n+Math.imul(E,Y)|0,o=o+Math.imul(E,tt)|0,e=e+Math.imul(x,rt)|0,n=n+Math.imul(x,et)|0,n=n+Math.imul(j,rt)|0,o=o+Math.imul(j,et)|0,e=e+Math.imul(S,ot)|0,n=n+Math.imul(S,ht)|0,n=n+Math.imul(A,ot)|0,o=o+Math.imul(A,ht)|0,e=e+Math.imul(w,ut)|0,n=n+Math.imul(w,at)|0,n=n+Math.imul(b,ut)|0,o=o+Math.imul(b,at)|0,e=e+Math.imul(g,ft)|0,n=n+Math.imul(g,ct)|0,n=n+Math.imul(M,ft)|0,o=o+Math.imul(M,ct)|0,e=e+Math.imul(d,dt)|0,n=n+Math.imul(d,pt)|0,n=n+Math.imul(p,dt)|0,o=o+Math.imul(p,pt)|0;var xt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(xt>>>26)|0,xt&=67108863,e=Math.imul(T,C),n=Math.imul(T,V),n=n+Math.imul(H,C)|0,o=Math.imul(H,V),e=e+Math.imul(Z,W)|0,n=n+Math.imul(Z,Q)|0,n=n+Math.imul(q,W)|0,o=o+Math.imul(q,Q)|0,e=e+Math.imul(L,Y)|0,n=n+Math.imul(L,tt)|0,n=n+Math.imul(N,Y)|0,o=o+Math.imul(N,tt)|0,e=e+Math.imul(O,rt)|0,n=n+Math.imul(O,et)|0,n=n+Math.imul(E,rt)|0,o=o+Math.imul(E,et)|0,e=e+Math.imul(x,ot)|0,n=n+Math.imul(x,ht)|0,n=n+Math.imul(j,ot)|0,o=o+Math.imul(j,ht)|0,e=e+Math.imul(S,ut)|0,n=n+Math.imul(S,at)|0,n=n+Math.imul(A,ut)|0,o=o+Math.imul(A,at)|0,e=e+Math.imul(w,ft)|0,n=n+Math.imul(w,ct)|0,n=n+Math.imul(b,ft)|0,o=o+Math.imul(b,ct)|0,e=e+Math.imul(g,dt)|0,n=n+Math.imul(g,pt)|0,n=n+Math.imul(M,dt)|0,o=o+Math.imul(M,pt)|0;var jt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,e=Math.imul(T,W),n=Math.imul(T,Q),n=n+Math.imul(H,W)|0,o=Math.imul(H,Q),e=e+Math.imul(Z,Y)|0,n=n+Math.imul(Z,tt)|0,n=n+Math.imul(q,Y)|0,o=o+Math.imul(q,tt)|0,e=e+Math.imul(L,rt)|0,n=n+Math.imul(L,et)|0,n=n+Math.imul(N,rt)|0,o=o+Math.imul(N,et)|0,e=e+Math.imul(O,ot)|0,n=n+Math.imul(O,ht)|0,n=n+Math.imul(E,ot)|0,o=o+Math.imul(E,ht)|0,e=e+Math.imul(x,ut)|0,n=n+Math.imul(x,at)|0,n=n+Math.imul(j,ut)|0,o=o+Math.imul(j,at)|0,e=e+Math.imul(S,ft)|0,n=n+Math.imul(S,ct)|0,n=n+Math.imul(A,ft)|0,o=o+Math.imul(A,ct)|0,e=e+Math.imul(w,dt)|0,n=n+Math.imul(w,pt)|0,n=n+Math.imul(b,dt)|0,o=o+Math.imul(b,pt)|0;var Rt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,e=Math.imul(T,Y),n=Math.imul(T,tt),n=n+Math.imul(H,Y)|0,o=Math.imul(H,tt),e=e+Math.imul(Z,rt)|0,n=n+Math.imul(Z,et)|0,n=n+Math.imul(q,rt)|0,o=o+Math.imul(q,et)|0,e=e+Math.imul(L,ot)|0,n=n+Math.imul(L,ht)|0,n=n+Math.imul(N,ot)|0,o=o+Math.imul(N,ht)|0,e=e+Math.imul(O,ut)|0,n=n+Math.imul(O,at)|0,n=n+Math.imul(E,ut)|0,o=o+Math.imul(E,at)|0,e=e+Math.imul(x,ft)|0,n=n+Math.imul(x,ct)|0,n=n+Math.imul(j,ft)|0,o=o+Math.imul(j,ct)|0,e=e+Math.imul(S,dt)|0,n=n+Math.imul(S,pt)|0,n=n+Math.imul(A,dt)|0,o=o+Math.imul(A,pt)|0;var Ot=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,e=Math.imul(T,rt),n=Math.imul(T,et),n=n+Math.imul(H,rt)|0,o=Math.imul(H,et),e=e+Math.imul(Z,ot)|0,n=n+Math.imul(Z,ht)|0,n=n+Math.imul(q,ot)|0,o=o+Math.imul(q,ht)|0,e=e+Math.imul(L,ut)|0,n=n+Math.imul(L,at)|0,n=n+Math.imul(N,ut)|0,o=o+Math.imul(N,at)|0,e=e+Math.imul(O,ft)|0,n=n+Math.imul(O,ct)|0,n=n+Math.imul(E,ft)|0,o=o+Math.imul(E,ct)|0,e=e+Math.imul(x,dt)|0,n=n+Math.imul(x,pt)|0,n=n+Math.imul(j,dt)|0,o=o+Math.imul(j,pt)|0;var Et=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,e=Math.imul(T,ot),n=Math.imul(T,ht),n=n+Math.imul(H,ot)|0,o=Math.imul(H,ht),e=e+Math.imul(Z,ut)|0,n=n+Math.imul(Z,at)|0,n=n+Math.imul(q,ut)|0,o=o+Math.imul(q,at)|0,e=e+Math.imul(L,ft)|0,n=n+Math.imul(L,ct)|0,n=n+Math.imul(N,ft)|0,o=o+Math.imul(N,ct)|0,e=e+Math.imul(O,dt)|0,n=n+Math.imul(O,pt)|0,n=n+Math.imul(E,dt)|0,o=o+Math.imul(E,pt)|0;var Bt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,e=Math.imul(T,ut),n=Math.imul(T,at),n=n+Math.imul(H,ut)|0,o=Math.imul(H,at),e=e+Math.imul(Z,ft)|0,n=n+Math.imul(Z,ct)|0,n=n+Math.imul(q,ft)|0,o=o+Math.imul(q,ct)|0,e=e+Math.imul(L,dt)|0,n=n+Math.imul(L,pt)|0,n=n+Math.imul(N,dt)|0,o=o+Math.imul(N,pt)|0;var Lt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,e=Math.imul(T,ft),n=Math.imul(T,ct),n=n+Math.imul(H,ft)|0,o=Math.imul(H,ct),e=e+Math.imul(Z,dt)|0,n=n+Math.imul(Z,pt)|0,n=n+Math.imul(q,dt)|0,o=o+Math.imul(q,pt)|0;var Nt=(a+e|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,e=Math.imul(T,dt),n=Math.imul(T,pt),n=n+Math.imul(H,dt)|0,o=Math.imul(H,pt);var It=(a+e|0)+((8191&n)<<13)|0;return a=(o+(n>>>13)|0)+(It>>>26)|0,It&=67108863,u[0]=vt,u[1]=gt,u[2]=Mt,u[3]=yt,u[4]=wt,u[5]=bt,u[6]=_t,u[7]=St,u[8]=At,u[9]=kt,u[10]=xt,u[11]=jt,u[12]=Rt,u[13]=Ot,u[14]=Et,u[15]=Bt,u[16]=Lt,u[17]=Nt,u[18]=It,0!==a&&(u[19]=a,r.length++),r};function v(t,i,r){r.negative=i.negative^t.negative,r.length=t.length+i.length;for(var e=0,n=0,o=0;o>>26)|0,n+=h>>>26,h&=67108863}r.words[o]=s,e=h,h=n}return 0!==e?r.words[o]=e:r.length--,r.strip()}function g(t,i,r){var e=new M;return e.mulp(t,i,r)}function M(t,i){this.x=t,this.y=i}Math.imul||(p=d),o.prototype.mulTo=function(t,i){var r,e=this.length+t.length;return r=10===this.length&&10===t.length?p(this,t,i):e<63?d(this,t,i):e<1024?v(this,t,i):g(this,t,i),r},M.prototype.makeRBT=function(t){for(var i=new Array(t),r=o.prototype._countBits(t)-1,e=0;e>=1;return e},M.prototype.permute=function(t,i,r,e,n,o){for(var h=0;h>>=1)n++;return 1<>>=13,r[2*h+1]=8191&o,o>>>=13;for(h=2*i;h>=26,i+=n/67108864|0,i+=o>>>26,this.words[r]=67108863&o}return 0!==i&&(this.words[r]=i,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var i=m(t);if(0===i.length)return new o(1);for(var r=this,e=0;e=0);var i,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var h=0;for(i=0;i>>26-r}h&&(this.words[i]=h,this.length++)}if(0!==n){for(i=this.length-1;i>=0;i--)this.words[i+n]=this.words[i];for(i=0;i=0),n=i?(i-i%26)/26:0;var o=t%26,h=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<h)for(this.length-=h,a=0;a=0&&(0!==l||a>=n);a--){var f=0|this.words[a];this.words[a]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,i,r){return e(0===this.negative),this.iushrn(t,i,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){e("number"===typeof t&&t>=0);var i=t%26,r=(t-i)/26,n=1<=0);var i=t%26,r=(t-i)/26;if(e(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==i&&r++,this.length=Math.min(r,this.length),0!==i){var n=67108863^67108863>>>i<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},o.prototype.isubn=function(t){if(e("number"===typeof t),e(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 i=0;i>26)-(u/67108864|0),this.words[n+r]=67108863&o}for(;n>26,this.words[n+r]=67108863&o;if(0===s)return this.strip();for(e(-1===s),s=0,n=0;n>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,i){var r=this.length-t.length,e=this.clone(),n=t,h=0|n.words[n.length-1],s=this._countBits(h);r=26-s,0!==r&&(n=n.ushln(r),e.iushln(r),h=0|n.words[n.length-1]);var u,a=e.length-n.length;if("mod"!==i){u=new o(null),u.length=a+1,u.words=new Array(u.length);for(var l=0;l=0;c--){var m=67108864*(0|e.words[n.length+c])+(0|e.words[n.length+c-1]);m=Math.min(m/h|0,67108863),e._ishlnsubmul(n,m,c);while(0!==e.negative)m--,e.negative=0,e._ishlnsubmul(n,1,c),e.isZero()||(e.negative^=1);u&&(u.words[c]=m)}return u&&u.strip(),e.strip(),"div"!==i&&0!==r&&e.iushrn(r),{div:u||null,mod:e}},o.prototype.divmod=function(t,i,r){return e(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,i),"mod"!==i&&(n=s.div.neg()),"div"!==i&&(h=s.mod.neg(),r&&0!==h.negative&&h.iadd(t)),{div:n,mod:h}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),i),"mod"!==i&&(n=s.div.neg()),{div:n,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),i),"div"!==i&&(h=s.mod.neg(),r&&0!==h.negative&&h.isub(t)),{div:s.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===i?{div:this.divn(t.words[0]),mod:null}:"mod"===i?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,i);var n,h,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var i=this.divmod(t);if(i.mod.isZero())return i.div;var r=0!==i.div.negative?i.mod.isub(t):i.mod,e=t.ushrn(1),n=t.andln(1),o=r.cmp(e);return o<0||1===n&&0===o?i.div:0!==i.div.negative?i.div.isubn(1):i.div.iaddn(1)},o.prototype.modn=function(t){e(t<=67108863);for(var i=(1<<26)%t,r=0,n=this.length-1;n>=0;n--)r=(i*r+(0|this.words[n]))%t;return r},o.prototype.idivn=function(t){e(t<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*i;this.words[r]=n/t|0,i=n%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){e(0===t.negative),e(!t.isZero());var i=this,r=t.clone();i=0!==i.negative?i.umod(t):i.clone();var n=new o(1),h=new o(0),s=new o(0),u=new o(1),a=0;while(i.isEven()&&r.isEven())i.iushrn(1),r.iushrn(1),++a;var l=r.clone(),f=i.clone();while(!i.isZero()){for(var c=0,m=1;0===(i.words[0]&m)&&c<26;++c,m<<=1);if(c>0){i.iushrn(c);while(c-- >0)(n.isOdd()||h.isOdd())&&(n.iadd(l),h.isub(f)),n.iushrn(1),h.iushrn(1)}for(var d=0,p=1;0===(r.words[0]&p)&&d<26;++d,p<<=1);if(d>0){r.iushrn(d);while(d-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1)}i.cmp(r)>=0?(i.isub(r),n.isub(s),h.isub(u)):(r.isub(i),s.isub(n),u.isub(h))}return{a:s,b:u,gcd:r.iushln(a)}},o.prototype._invmp=function(t){e(0===t.negative),e(!t.isZero());var i=this,r=t.clone();i=0!==i.negative?i.umod(t):i.clone();var n,h=new o(1),s=new o(0),u=r.clone();while(i.cmpn(1)>0&&r.cmpn(1)>0){for(var a=0,l=1;0===(i.words[0]&l)&&a<26;++a,l<<=1);if(a>0){i.iushrn(a);while(a-- >0)h.isOdd()&&h.iadd(u),h.iushrn(1)}for(var f=0,c=1;0===(r.words[0]&c)&&f<26;++f,c<<=1);if(f>0){r.iushrn(f);while(f-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}i.cmp(r)>=0?(i.isub(r),h.isub(s)):(r.isub(i),s.isub(h))}return n=0===i.cmpn(1)?h:s,n.cmpn(0)<0&&n.iadd(t),n},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var i=this.clone(),r=t.clone();i.negative=0,r.negative=0;for(var e=0;i.isEven()&&r.isEven();e++)i.iushrn(1),r.iushrn(1);do{while(i.isEven())i.iushrn(1);while(r.isEven())r.iushrn(1);var n=i.cmp(r);if(n<0){var o=i;i=r,r=o}else if(0===n||0===r.cmpn(1))break;i.isub(r)}while(1);return r.iushln(e)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){e("number"===typeof t);var i=t%26,r=(t-i)/26,n=1<>>26,s&=67108863,this.words[h]=s}return 0!==o&&(this.words[h]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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),e(t<=67108863,"Number is too big");var n=0|this.words[0];i=n===t?0:nt.length)return 1;if(this.length=0;r--){var e=0|this.words[r],n=0|t.words[r];if(e!==n){en&&(i=1);break}}return i},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new k(t)},o.prototype.toRed=function(t){return e(!this.red,"Already a number in reduction context"),e(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return e(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return e(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return e(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return e(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return e(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return e(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return e(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return e(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return e(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return e(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return e(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return e(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return e(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,i){this.name=t,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"===typeof t){var i=o._prime(t);this.m=i.p,this.prime=i}else e(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),i=r.bitLength()}while(i>this.n);var e=i0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(t,i){t.iushrn(this.n,0,i)},w.prototype.imulK=function(t){return t.imul(this.k)},n(b,w),b.prototype.split=function(t,i){for(var r=4194303,e=Math.min(t.length,9),n=0;n>>22,o=h}o>>>=22,t.words[n-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var i=0,r=0;r>>=26,t.words[r]=n,i=e}return 0!==i&&(t.words[t.length++]=i),t},o._prime=function(t){if(y[t])return y[t];var i;if("k256"===t)i=new b;else if("p224"===t)i=new _;else if("p192"===t)i=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);i=new A}return y[t]=i,i},k.prototype._verify1=function(t){e(0===t.negative,"red works only with positives"),e(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,i){e(0===(t.negative|i.negative),"red works only with positives"),e(t.red&&t.red===i.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,i){this._verify2(t,i);var r=t.add(i);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(t,i){this._verify2(t,i);var r=t.iadd(i);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(t,i){this._verify2(t,i);var r=t.sub(i);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(t,i){this._verify2(t,i);var r=t.isub(i);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(t,i){return this._verify1(t),this.imod(t.ushln(i))},k.prototype.imul=function(t,i){return this._verify2(t,i),this.imod(t.imul(i))},k.prototype.mul=function(t,i){return this._verify2(t,i),this.imod(t.mul(i))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var i=this.m.andln(3);if(e(i%2===1),3===i){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}var n=this.m.subn(1),h=0;while(!n.isZero()&&0===n.andln(1))h++,n.iushrn(1);e(!n.isZero());var s=new o(1).toRed(this),u=s.redNeg(),a=this.m.subn(1).iushrn(1),l=this.m.bitLength();l=new o(2*l*l).toRed(this);while(0!==this.pow(l,a).cmp(u))l.redIAdd(u);var f=this.pow(l,n),c=this.pow(t,n.addn(1).iushrn(1)),m=this.pow(t,n),d=h;while(0!==m.cmp(s)){for(var p=m,v=0;0!==p.cmp(s);v++)p=p.redSqr();e(v=0;n--){for(var l=i.words[n],f=a-1;f>=0;f--){var c=l>>f&1;h!==e[0]&&(h=this.sqr(h)),0!==c||0!==s?(s<<=1,s|=c,u++,(u===r||0===n&&0===f)&&(h=this.mul(h,e[s]),u=0,s=0)):u=0}a=26}return h},k.prototype.convertTo=function(t){var i=t.umod(this.m);return i===t?i.clone():i},k.prototype.convertFrom=function(t){var i=t.clone();return i.red=null,i},o.mont=function(t){return new x(t)},n(x,k),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var i=this.imod(t.mul(this.rinv));return i.red=null,i},x.prototype.imul=function(t,i){if(t.isZero()||i.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(i),e=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(e).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):n.cmpn(0)<0&&(o=n.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,i){if(t.isZero()||i.isZero())return new o(0)._forceRed(this);var r=t.mul(i),e=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(e).iushrn(this.shift),h=n;return n.cmp(this.m)>=0?h=n.isub(this.m):n.cmpn(0)<0&&(h=n.iadd(this.m)),h._forceRed(this)},x.prototype.invm=function(t){var i=this.imod(t._invmp(this.m).mul(this.r2));return i._forceRed(this)}})(t,this)}).call(this,r("62e4")(t))},da3e:function(t,i){function r(t,i){if(!t)throw new Error(i||"Assertion failed")}t.exports=r,r.equal=function(t,i,r){if(t!=i)throw new Error(r||"Assertion failed: "+t+" != "+i)}},eb4c:function(t,i){var r="Expected a function",e=1/0,n=17976931348623157e292,o=NaN,h="[object Symbol]",s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt,c=Object.prototype,m=c.toString;function d(t,i){var e;if("function"!=typeof i)throw new TypeError(r);return t=w(t),function(){return--t>0&&(e=i.apply(this,arguments)),t<=1&&(i=void 0),e}}function p(t){return d(2,t)}function v(t){var i=typeof t;return!!t&&("object"==i||"function"==i)}function g(t){return!!t&&"object"==typeof t}function M(t){return"symbol"==typeof t||g(t)&&m.call(t)==h}function y(t){if(!t)return 0===t?t:0;if(t=b(t),t===e||t===-e){var i=t<0?-1:1;return i*n}return t===t?t:0}function w(t){var i=y(t),r=i%1;return i===i?r?i-r:i:0}function b(t){if("number"==typeof t)return t;if(M(t))return o;if(v(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=v(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var r=a.test(t);return r||l.test(t)?f(t.slice(2),r?2:8):u.test(t)?o:+t}t.exports=p},f576:function(t,i,r){"use strict";var e=r("3fb5"),n=r("93e6"),o=r("8707").Buffer,h=new Array(16);function s(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(t,i){return t<>>32-i}function a(t,i,r,e,n,o,h){return u(t+(i&r|~i&e)+n+o|0,h)+i|0}function l(t,i,r,e,n,o,h){return u(t+(i&e|r&~e)+n+o|0,h)+i|0}function f(t,i,r,e,n,o,h){return u(t+(i^r^e)+n+o|0,h)+i|0}function c(t,i,r,e,n,o,h){return u(t+(r^(i|~e))+n+o|0,h)+i|0}e(s,n),s.prototype._update=function(){for(var t=h,i=0;i<16;++i)t[i]=this._block.readInt32LE(4*i);var r=this._a,e=this._b,n=this._c,o=this._d;r=a(r,e,n,o,t[0],3614090360,7),o=a(o,r,e,n,t[1],3905402710,12),n=a(n,o,r,e,t[2],606105819,17),e=a(e,n,o,r,t[3],3250441966,22),r=a(r,e,n,o,t[4],4118548399,7),o=a(o,r,e,n,t[5],1200080426,12),n=a(n,o,r,e,t[6],2821735955,17),e=a(e,n,o,r,t[7],4249261313,22),r=a(r,e,n,o,t[8],1770035416,7),o=a(o,r,e,n,t[9],2336552879,12),n=a(n,o,r,e,t[10],4294925233,17),e=a(e,n,o,r,t[11],2304563134,22),r=a(r,e,n,o,t[12],1804603682,7),o=a(o,r,e,n,t[13],4254626195,12),n=a(n,o,r,e,t[14],2792965006,17),e=a(e,n,o,r,t[15],1236535329,22),r=l(r,e,n,o,t[1],4129170786,5),o=l(o,r,e,n,t[6],3225465664,9),n=l(n,o,r,e,t[11],643717713,14),e=l(e,n,o,r,t[0],3921069994,20),r=l(r,e,n,o,t[5],3593408605,5),o=l(o,r,e,n,t[10],38016083,9),n=l(n,o,r,e,t[15],3634488961,14),e=l(e,n,o,r,t[4],3889429448,20),r=l(r,e,n,o,t[9],568446438,5),o=l(o,r,e,n,t[14],3275163606,9),n=l(n,o,r,e,t[3],4107603335,14),e=l(e,n,o,r,t[8],1163531501,20),r=l(r,e,n,o,t[13],2850285829,5),o=l(o,r,e,n,t[2],4243563512,9),n=l(n,o,r,e,t[7],1735328473,14),e=l(e,n,o,r,t[12],2368359562,20),r=f(r,e,n,o,t[5],4294588738,4),o=f(o,r,e,n,t[8],2272392833,11),n=f(n,o,r,e,t[11],1839030562,16),e=f(e,n,o,r,t[14],4259657740,23),r=f(r,e,n,o,t[1],2763975236,4),o=f(o,r,e,n,t[4],1272893353,11),n=f(n,o,r,e,t[7],4139469664,16),e=f(e,n,o,r,t[10],3200236656,23),r=f(r,e,n,o,t[13],681279174,4),o=f(o,r,e,n,t[0],3936430074,11),n=f(n,o,r,e,t[3],3572445317,16),e=f(e,n,o,r,t[6],76029189,23),r=f(r,e,n,o,t[9],3654602809,4),o=f(o,r,e,n,t[12],3873151461,11),n=f(n,o,r,e,t[15],530742520,16),e=f(e,n,o,r,t[2],3299628645,23),r=c(r,e,n,o,t[0],4096336452,6),o=c(o,r,e,n,t[7],1126891415,10),n=c(n,o,r,e,t[14],2878612391,15),e=c(e,n,o,r,t[5],4237533241,21),r=c(r,e,n,o,t[12],1700485571,6),o=c(o,r,e,n,t[3],2399980690,10),n=c(n,o,r,e,t[10],4293915773,15),e=c(e,n,o,r,t[1],2240044497,21),r=c(r,e,n,o,t[8],1873313359,6),o=c(o,r,e,n,t[15],4264355552,10),n=c(n,o,r,e,t[6],2734768916,15),e=c(e,n,o,r,t[13],1309151649,21),r=c(r,e,n,o,t[4],4149444226,6),o=c(o,r,e,n,t[11],3174756917,10),n=c(n,o,r,e,t[2],718787259,15),e=c(e,n,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+e|0,this._c=this._c+n|0,this._d=this._d+o|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 t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s}}]); //# sourceMappingURL=chunk-vendors~70aabc29.ebbab3fd.js.map