UNPKG

ethereum-lite-explorer

Version:

Ethereum Lite Explorer

9 lines 140 kB
__aleth_io__ethIbft2(function(t){function e(e){var r=e[0];var i=e[1];var o,a,s=0,u=[];for(;s<r.length;s++){a=r[s];n[a]&&u.push(n[a][0]);n[a]=0}for(o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o]);l&&l(e);for(;u.length;)u.shift()()}var r={};var n={0:0};function i(t){return o.p+""+{1:"8627ee014847653c6a24",2:"6179692cb3d7f4219153"}[t]+".bundle.js"}function o(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};t[e].call(n.exports,n,n.exports,o);n.l=!0;return n.exports}o.e=function t(e){var r=[];var a=n[e];if(0!==a)if(a)r.push(a[2]);else{var s=new Promise(function(t,r){a=n[e]=[t,r]});r.push(a[2]=s);var u=document.createElement("script");var l;u.charset="utf-8";u.timeout=120;o.nc&&u.setAttribute("nonce",o.nc);u.src=i(e);0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var h=new Error;l=function(t){u.onerror=u.onload=null;clearTimeout(f);var r=n[e];if(0!==r){if(r){var i=t&&("load"===t.type?"missing":t.type);var o=t&&t.target&&t.target.src;h.message="Loading chunk "+e+" failed.\n("+i+": "+o+")";h.type=i;h.request=o;r[1](h)}n[e]=void 0}};var f=setTimeout(function(){l({type:"timeout",target:u})},12e4);u.onerror=u.onload=l;document.head.appendChild(u)}return Promise.all(r)};o.m=t;o.c=r;o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})};o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})};o.t=function(t,e){1&e&&(t=o(t));if(8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);o.r(r);Object.defineProperty(r,"default",{enumerable:!0,value:t});if(2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r};o.n=function(t){var e=t&&t.__esModule?function e(){return t["default"]}:function e(){return t};o.d(e,"a",e);return e};o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};o.p="";o.oe=function(t){console.error(t);throw t};var a=window["webpackJsonp_aleth_io_ethIbft2"]=window["webpackJsonp_aleth_io_ethIbft2"]||[];var s=a.push.bind(a);a.push=e;a=a.slice();for(var u=0;u<a.length;u++)e(a[u]);var l=s;return o(o.s="XGzQ")}({"+1F+":function(t,e,r){var n={"./en-US.json":["9jCR",1],"./zh-CN.json":["6XSq",2]};function i(t){if(!r.o(n,t))return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");e.code="MODULE_NOT_FOUND";throw e});var e=n[t],i=e[0];return r.e(e[1]).then(function(){return r.t(i,3)})}i.keys=function t(){return Object.keys(n)};i.id="+1F+";t.exports=i},0:function(t,e){},"1XU+":function(t,e,r){"use strict";var n;var i=r("6BtY");var o;t.exports=i},"5R4H":function(t,e,r){"use strict";(function(e){var r="__global_unique_id__";t.exports=function(){return e[r]=(e[r]||0)+1}}).call(this,r("pCvA"))},"6BtY":function(t,e,r){"use strict";function n(t){return function(){return t}}var i=function t(){};i.thatReturns=n;i.thatReturnsFalse=n(!1);i.thatReturnsTrue=n(!0);i.thatReturnsNull=n(null);i.thatReturnsThis=function(){return this};i.thatReturnsArgument=function(t){return t};t.exports=i},"8VmE":function(t,e){function r(){t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};return r.apply(this,arguments)}t.exports=r},"8kJ5":function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype;t.prototype=new r;t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0;this.words=null;this.length=0;this.red=null;if(null!==t){if("le"===e||"be"===e){r=e;e=10}this._init(t||0,e||10,r||"be")}}"object"==typeof t?t.exports=o:e.BN=o;o.BN=o;o.wordSize=26;var a;try{a=r(0).Buffer}catch(t){}o.isBN=function t(e){if(e instanceof o)return!0;return null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)};o.max=function t(e,r){if(e.cmp(r)>0)return e;return r};o.min=function t(e,r){if(e.cmp(r)<0)return e;return r};o.prototype._init=function t(e,r,i){if("number"==typeof e)return this._initNumber(e,r,i);if("object"==typeof e)return this._initArray(e,r,i);"hex"===r&&(r=16);n(r===(0|r)&&r>=2&&r<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++;16===r?this._parseHex(e,o):this._parseBase(e,r,o);"-"===e[0]&&(this.negative=1);this.strip();if("le"!==i)return;this._initArray(this.toArray(),r,i)};o.prototype._initNumber=function t(e,r,i){if(e<0){this.negative=1;e=-e}if(e<67108864){this.words=[67108863&e];this.length=1}else if(e<4503599627370496){this.words=[67108863&e,e/67108864&67108863];this.length=2}else{n(e<9007199254740992);this.words=[67108863&e,e/67108864&67108863,1];this.length=3}if("le"!==i)return;this._initArray(this.toArray(),r,i)};o.prototype._initArray=function t(e,r,i){n("number"==typeof e.length);if(e.length<=0){this.words=[0];this.length=1;return this}this.length=Math.ceil(e.length/3);this.words=new Array(this.length);for(var o=0;o<this.length;o++)this.words[o]=0;var a,s;var u=0;if("be"===i)for(o=e.length-1,a=0;o>=0;o-=3){s=e[o]|e[o-1]<<8|e[o-2]<<16;this.words[a]|=s<<u&67108863;this.words[a+1]=s>>>26-u&67108863;if((u+=24)>=26){u-=26;a++}}else if("le"===i)for(o=0,a=0;o<e.length;o+=3){s=e[o]|e[o+1]<<8|e[o+2]<<16;this.words[a]|=s<<u&67108863;this.words[a+1]=s>>>26-u&67108863;if((u+=24)>=26){u-=26;a++}}return this.strip()};function s(t,e,r){var n=0;var i=Math.min(t.length,r);for(var o=e;o<i;o++){var a=t.charCodeAt(o)-48;n<<=4;n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}o.prototype._parseHex=function t(e,r){this.length=Math.ceil((e.length-r)/6);this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o;var a=0;for(n=e.length-6,i=0;n>=r;n-=6){o=s(e,n,n+6);this.words[i]|=o<<a&67108863;this.words[i+1]|=o>>>26-a&4194303;if((a+=24)>=26){a-=26;i++}}if(n+6!==r){o=s(e,r,n+6);this.words[i]|=o<<a&67108863;this.words[i+1]|=o>>>26-a&4194303}this.strip()};function u(t,e,r,n){var i=0;var o=Math.min(t.length,r);for(var a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n;i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.prototype._parseBase=function t(e,r,n){this.words=[0];this.length=1;for(var i=0,o=1;o<=67108863;o*=r)i++;i--;o=o/r|0;var a=e.length-n;var s=a%i;var l=Math.min(a,a-s)+n;var h=0;for(var f=n;f<l;f+=i){h=u(e,f,f+i,r);this.imuln(o);this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}if(0!==s){var c=1;h=u(e,f,e.length,r);for(f=0;f<s;f++)c*=r;this.imuln(c);this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}};o.prototype.copy=function t(e){e.words=new Array(this.length);for(var r=0;r<this.length;r++)e.words[r]=this.words[r];e.length=this.length;e.negative=this.negative;e.red=this.red};o.prototype.clone=function t(){var e=new o(null);this.copy(e);return e};o.prototype._expand=function t(e){for(;this.length<e;)this.words[this.length++]=0;return this};o.prototype.strip=function t(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()};o.prototype._normSign=function t(){1===this.length&&0===this.words[0]&&(this.negative=0);return this};o.prototype.inspect=function t(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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"];var h=[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];var f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function t(e,r){e=e||10;r=0|r||1;var i;if(16===e||"hex"===e){i="";var o=0;var a=0;for(var s=0;s<this.length;s++){var u=this.words[s];var c=(16777215&(u<<o|a)).toString(16);i=0!==(a=u>>>24-o&16777215)||s!==this.length-1?l[6-c.length]+c+i:c+i;if((o+=2)>=26){o-=26;s--}}0!==a&&(i=a.toString(16)+i);for(;i.length%r!=0;)i="0"+i;0!==this.negative&&(i="-"+i);return i}if(e===(0|e)&&e>=2&&e<=36){var p=h[e];var d=f[e];i="";var m=this.clone();m.negative=0;for(;!m.isZero();){var v=m.modn(d).toString(e);i=(m=m.idivn(d)).isZero()?v+i:l[p-v.length]+v+i}this.isZero()&&(i="0"+i);for(;i.length%r!=0;)i="0"+i;0!==this.negative&&(i="-"+i);return i}n(!1,"Base should be between 2 and 36")};o.prototype.toNumber=function t(){var e=this.words[0];2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits");return 0!==this.negative?-e:e};o.prototype.toJSON=function t(){return this.toString(16)};o.prototype.toBuffer=function t(e,r){n(void 0!==a);return this.toArrayLike(a,e,r)};o.prototype.toArray=function t(e,r){return this.toArrayLike(Array,e,r)};o.prototype.toArrayLike=function t(e,r,i){var o=this.byteLength();var a=i||Math.max(1,o);n(o<=a,"byte array longer than desired length");n(a>0,"Requested array length <= 0");this.strip();var s="le"===r;var u=new e(a);var l,h;var f=this.clone();if(s){for(h=0;!f.isZero();h++){l=f.andln(255);f.iushrn(8);u[h]=l}for(;h<a;h++)u[h]=0}else{for(h=0;h<a-o;h++)u[h]=0;for(h=0;!f.isZero();h++){l=f.andln(255);f.iushrn(8);u[a-h-1]=l}}return u};Math.clz32?o.prototype._countBits=function t(e){return 32-Math.clz32(e)}:o.prototype._countBits=function t(e){var r=e;var n=0;if(r>=4096){n+=13;r>>>=13}if(r>=64){n+=7;r>>>=7}if(r>=8){n+=4;r>>>=4}if(r>=2){n+=2;r>>>=2}return n+r};o.prototype._zeroBits=function t(e){if(0===e)return 26;var r=e;var n=0;if(0==(8191&r)){n+=13;r>>>=13}if(0==(127&r)){n+=7;r>>>=7}if(0==(15&r)){n+=4;r>>>=4}if(0==(3&r)){n+=2;r>>>=2}0==(1&r)&&n++;return n};o.prototype.bitLength=function t(){var e=this.words[this.length-1];var r=this._countBits(e);return 26*(this.length-1)+r};function c(t){var e=new Array(t.bitLength());for(var r=0;r<e.length;r++){var n=r/26|0;var i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}o.prototype.zeroBits=function t(){if(this.isZero())return 0;var e=0;for(var r=0;r<this.length;r++){var n=this._zeroBits(this.words[r]);e+=n;if(26!==n)break}return e};o.prototype.byteLength=function t(){return Math.ceil(this.bitLength()/8)};o.prototype.toTwos=function t(e){if(0!==this.negative)return this.abs().inotn(e).iaddn(1);return this.clone()};o.prototype.fromTwos=function t(e){if(this.testn(e-1))return this.notn(e).iaddn(1).ineg();return this.clone()};o.prototype.isNeg=function t(){return 0!==this.negative};o.prototype.neg=function t(){return this.clone().ineg()};o.prototype.ineg=function t(){this.isZero()||(this.negative^=1);return this};o.prototype.iuor=function t(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]|e.words[r];return this.strip()};o.prototype.ior=function t(e){n(0==(this.negative|e.negative));return this.iuor(e)};o.prototype.or=function t(e){if(this.length>e.length)return this.clone().ior(e);return e.clone().ior(this)};o.prototype.uor=function t(e){if(this.length>e.length)return this.clone().iuor(e);return e.clone().iuor(this)};o.prototype.iuand=function t(e){var r;r=this.length>e.length?e:this;for(var n=0;n<r.length;n++)this.words[n]=this.words[n]&e.words[n];this.length=r.length;return this.strip()};o.prototype.iand=function t(e){n(0==(this.negative|e.negative));return this.iuand(e)};o.prototype.and=function t(e){if(this.length>e.length)return this.clone().iand(e);return e.clone().iand(this)};o.prototype.uand=function t(e){if(this.length>e.length)return this.clone().iuand(e);return e.clone().iuand(this)};o.prototype.iuxor=function t(e){var r;var n;if(this.length>e.length){r=this;n=e}else{r=e;n=this}for(var i=0;i<n.length;i++)this.words[i]=r.words[i]^n.words[i];if(this!==r)for(;i<r.length;i++)this.words[i]=r.words[i];this.length=r.length;return this.strip()};o.prototype.ixor=function t(e){n(0==(this.negative|e.negative));return this.iuxor(e)};o.prototype.xor=function t(e){if(this.length>e.length)return this.clone().ixor(e);return e.clone().ixor(this)};o.prototype.uxor=function t(e){if(this.length>e.length)return this.clone().iuxor(e);return e.clone().iuxor(this)};o.prototype.inotn=function t(e){n("number"==typeof e&&e>=0);var r=0|Math.ceil(e/26);var i=e%26;this._expand(r);i>0&&r--;for(var o=0;o<r;o++)this.words[o]=67108863&~this.words[o];i>0&&(this.words[o]=~this.words[o]&67108863>>26-i);return this.strip()};o.prototype.notn=function t(e){return this.clone().inotn(e)};o.prototype.setn=function t(e,r){n("number"==typeof e&&e>=0);var i=e/26|0;var o=e%26;this._expand(i+1);this.words[i]=r?this.words[i]|1<<o:this.words[i]&~(1<<o);return this.strip()};o.prototype.iadd=function t(e){var r;if(0!==this.negative&&0===e.negative){this.negative=0;r=this.isub(e);this.negative^=1;return this._normSign()}if(0===this.negative&&0!==e.negative){e.negative=0;r=this.isub(e);e.negative=1;return r._normSign()}var n,i;if(this.length>e.length){n=this;i=e}else{n=e;i=this}var o=0;for(var a=0;a<i.length;a++){r=(0|n.words[a])+(0|i.words[a])+o;this.words[a]=67108863&r;o=r>>>26}for(;0!==o&&a<n.length;a++){r=(0|n.words[a])+o;this.words[a]=67108863&r;o=r>>>26}this.length=n.length;if(0!==o){this.words[this.length]=o;this.length++}else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this};o.prototype.add=function t(e){var r;if(0!==e.negative&&0===this.negative){e.negative=0;r=this.sub(e);e.negative^=1;return r}if(0===e.negative&&0!==this.negative){this.negative=0;r=e.sub(this);this.negative=1;return r}if(this.length>e.length)return this.clone().iadd(e);return e.clone().iadd(this)};o.prototype.isub=function t(e){if(0!==e.negative){e.negative=0;var r=this.iadd(e);e.negative=1;return r._normSign()}if(0!==this.negative){this.negative=0;this.iadd(e);this.negative=1;return this._normSign()}var n=this.cmp(e);if(0===n){this.negative=0;this.length=1;this.words[0]=0;return this}var i,o;if(n>0){i=this;o=e}else{i=e;o=this}var a=0;for(var s=0;s<o.length;s++){a=(r=(0|i.words[s])-(0|o.words[s])+a)>>26;this.words[s]=67108863&r}for(;0!==a&&s<i.length;s++){a=(r=(0|i.words[s])+a)>>26;this.words[s]=67108863&r}if(0===a&&s<i.length&&i!==this)for(;s<i.length;s++)this.words[s]=i.words[s];this.length=Math.max(this.length,s);i!==this&&(this.negative=1);return this.strip()};o.prototype.sub=function t(e){return this.clone().isub(e)};function p(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n;n=n-1|0;var i=0|t.words[0];var o=0|e.words[0];var a=i*o;var s=67108863&a;var u=a/67108864|0;r.words[0]=s;for(var l=1;l<n;l++){var h=u>>>26;var f=67108863&u;var c=Math.min(l,e.length-1);for(var p=Math.max(0,l-t.length+1);p<=c;p++){var d=l-p|0;h+=(a=(i=0|t.words[d])*(o=0|e.words[p])+f)/67108864|0;f=67108863&a}r.words[l]=0|f;u=0|h}0!==u?r.words[l]=0|u:r.length--;return r.strip()}var d=function t(e,r,n){var i=e.words;var o=r.words;var a=n.words;var s=0;var u;var l;var h;var f=0|i[0];var c=8191&f;var p=f>>>13;var d=0|i[1];var m=8191&d;var v=d>>>13;var g=0|i[2];var y=8191&g;var w=g>>>13;var b=0|i[3];var M=8191&b;var E=b>>>13;var x=0|i[4];var _=8191&x;var R=x>>>13;var S=0|i[5];var A=8191&S;var O=S>>>13;var P=0|i[6];var C=8191&P;var T=P>>>13;var I=0|i[7];var k=8191&I;var L=I>>>13;var B=0|i[8];var D=8191&B;var N=B>>>13;var U=0|i[9];var j=8191&U;var F=U>>>13;var $=0|o[0];var W=8191&$;var z=$>>>13;var Y=0|o[1];var H=8191&Y;var q=Y>>>13;var V=0|o[2];var Z=8191&V;var K=V>>>13;var X=0|o[3];var Q=8191&X;var G=X>>>13;var J=0|o[4];var tt=8191&J;var et=J>>>13;var rt=0|o[5];var nt=8191&rt;var it=rt>>>13;var ot=0|o[6];var at=8191&ot;var st=ot>>>13;var ut=0|o[7];var lt=8191&ut;var ht=ut>>>13;var ft=0|o[8];var ct=8191&ft;var pt=ft>>>13;var dt=0|o[9];var mt=8191&dt;var vt=dt>>>13;n.negative=e.negative^r.negative;n.length=19;var gt=(s+(u=Math.imul(c,W))|0)+((8191&(l=(l=Math.imul(c,z))+Math.imul(p,W)|0))<<13)|0;s=((h=Math.imul(p,z))+(l>>>13)|0)+(gt>>>26)|0;gt&=67108863;u=Math.imul(m,W);l=(l=Math.imul(m,z))+Math.imul(v,W)|0;h=Math.imul(v,z);var yt=(s+(u=u+Math.imul(c,H)|0)|0)+((8191&(l=(l=l+Math.imul(c,q)|0)+Math.imul(p,H)|0))<<13)|0;s=((h=h+Math.imul(p,q)|0)+(l>>>13)|0)+(yt>>>26)|0;yt&=67108863;u=Math.imul(y,W);l=(l=Math.imul(y,z))+Math.imul(w,W)|0;h=Math.imul(w,z);u=u+Math.imul(m,H)|0;l=(l=l+Math.imul(m,q)|0)+Math.imul(v,H)|0;h=h+Math.imul(v,q)|0;var wt=(s+(u=u+Math.imul(c,Z)|0)|0)+((8191&(l=(l=l+Math.imul(c,K)|0)+Math.imul(p,Z)|0))<<13)|0;s=((h=h+Math.imul(p,K)|0)+(l>>>13)|0)+(wt>>>26)|0;wt&=67108863;u=Math.imul(M,W);l=(l=Math.imul(M,z))+Math.imul(E,W)|0;h=Math.imul(E,z);u=u+Math.imul(y,H)|0;l=(l=l+Math.imul(y,q)|0)+Math.imul(w,H)|0;h=h+Math.imul(w,q)|0;u=u+Math.imul(m,Z)|0;l=(l=l+Math.imul(m,K)|0)+Math.imul(v,Z)|0;h=h+Math.imul(v,K)|0;var bt=(s+(u=u+Math.imul(c,Q)|0)|0)+((8191&(l=(l=l+Math.imul(c,G)|0)+Math.imul(p,Q)|0))<<13)|0;s=((h=h+Math.imul(p,G)|0)+(l>>>13)|0)+(bt>>>26)|0;bt&=67108863;u=Math.imul(_,W);l=(l=Math.imul(_,z))+Math.imul(R,W)|0;h=Math.imul(R,z);u=u+Math.imul(M,H)|0;l=(l=l+Math.imul(M,q)|0)+Math.imul(E,H)|0;h=h+Math.imul(E,q)|0;u=u+Math.imul(y,Z)|0;l=(l=l+Math.imul(y,K)|0)+Math.imul(w,Z)|0;h=h+Math.imul(w,K)|0;u=u+Math.imul(m,Q)|0;l=(l=l+Math.imul(m,G)|0)+Math.imul(v,Q)|0;h=h+Math.imul(v,G)|0;var Mt=(s+(u=u+Math.imul(c,tt)|0)|0)+((8191&(l=(l=l+Math.imul(c,et)|0)+Math.imul(p,tt)|0))<<13)|0;s=((h=h+Math.imul(p,et)|0)+(l>>>13)|0)+(Mt>>>26)|0;Mt&=67108863;u=Math.imul(A,W);l=(l=Math.imul(A,z))+Math.imul(O,W)|0;h=Math.imul(O,z);u=u+Math.imul(_,H)|0;l=(l=l+Math.imul(_,q)|0)+Math.imul(R,H)|0;h=h+Math.imul(R,q)|0;u=u+Math.imul(M,Z)|0;l=(l=l+Math.imul(M,K)|0)+Math.imul(E,Z)|0;h=h+Math.imul(E,K)|0;u=u+Math.imul(y,Q)|0;l=(l=l+Math.imul(y,G)|0)+Math.imul(w,Q)|0;h=h+Math.imul(w,G)|0;u=u+Math.imul(m,tt)|0;l=(l=l+Math.imul(m,et)|0)+Math.imul(v,tt)|0;h=h+Math.imul(v,et)|0;var Et=(s+(u=u+Math.imul(c,nt)|0)|0)+((8191&(l=(l=l+Math.imul(c,it)|0)+Math.imul(p,nt)|0))<<13)|0;s=((h=h+Math.imul(p,it)|0)+(l>>>13)|0)+(Et>>>26)|0;Et&=67108863;u=Math.imul(C,W);l=(l=Math.imul(C,z))+Math.imul(T,W)|0;h=Math.imul(T,z);u=u+Math.imul(A,H)|0;l=(l=l+Math.imul(A,q)|0)+Math.imul(O,H)|0;h=h+Math.imul(O,q)|0;u=u+Math.imul(_,Z)|0;l=(l=l+Math.imul(_,K)|0)+Math.imul(R,Z)|0;h=h+Math.imul(R,K)|0;u=u+Math.imul(M,Q)|0;l=(l=l+Math.imul(M,G)|0)+Math.imul(E,Q)|0;h=h+Math.imul(E,G)|0;u=u+Math.imul(y,tt)|0;l=(l=l+Math.imul(y,et)|0)+Math.imul(w,tt)|0;h=h+Math.imul(w,et)|0;u=u+Math.imul(m,nt)|0;l=(l=l+Math.imul(m,it)|0)+Math.imul(v,nt)|0;h=h+Math.imul(v,it)|0;var xt=(s+(u=u+Math.imul(c,at)|0)|0)+((8191&(l=(l=l+Math.imul(c,st)|0)+Math.imul(p,at)|0))<<13)|0;s=((h=h+Math.imul(p,st)|0)+(l>>>13)|0)+(xt>>>26)|0;xt&=67108863;u=Math.imul(k,W);l=(l=Math.imul(k,z))+Math.imul(L,W)|0;h=Math.imul(L,z);u=u+Math.imul(C,H)|0;l=(l=l+Math.imul(C,q)|0)+Math.imul(T,H)|0;h=h+Math.imul(T,q)|0;u=u+Math.imul(A,Z)|0;l=(l=l+Math.imul(A,K)|0)+Math.imul(O,Z)|0;h=h+Math.imul(O,K)|0;u=u+Math.imul(_,Q)|0;l=(l=l+Math.imul(_,G)|0)+Math.imul(R,Q)|0;h=h+Math.imul(R,G)|0;u=u+Math.imul(M,tt)|0;l=(l=l+Math.imul(M,et)|0)+Math.imul(E,tt)|0;h=h+Math.imul(E,et)|0;u=u+Math.imul(y,nt)|0;l=(l=l+Math.imul(y,it)|0)+Math.imul(w,nt)|0;h=h+Math.imul(w,it)|0;u=u+Math.imul(m,at)|0;l=(l=l+Math.imul(m,st)|0)+Math.imul(v,at)|0;h=h+Math.imul(v,st)|0;var _t=(s+(u=u+Math.imul(c,lt)|0)|0)+((8191&(l=(l=l+Math.imul(c,ht)|0)+Math.imul(p,lt)|0))<<13)|0;s=((h=h+Math.imul(p,ht)|0)+(l>>>13)|0)+(_t>>>26)|0;_t&=67108863;u=Math.imul(D,W);l=(l=Math.imul(D,z))+Math.imul(N,W)|0;h=Math.imul(N,z);u=u+Math.imul(k,H)|0;l=(l=l+Math.imul(k,q)|0)+Math.imul(L,H)|0;h=h+Math.imul(L,q)|0;u=u+Math.imul(C,Z)|0;l=(l=l+Math.imul(C,K)|0)+Math.imul(T,Z)|0;h=h+Math.imul(T,K)|0;u=u+Math.imul(A,Q)|0;l=(l=l+Math.imul(A,G)|0)+Math.imul(O,Q)|0;h=h+Math.imul(O,G)|0;u=u+Math.imul(_,tt)|0;l=(l=l+Math.imul(_,et)|0)+Math.imul(R,tt)|0;h=h+Math.imul(R,et)|0;u=u+Math.imul(M,nt)|0;l=(l=l+Math.imul(M,it)|0)+Math.imul(E,nt)|0;h=h+Math.imul(E,it)|0;u=u+Math.imul(y,at)|0;l=(l=l+Math.imul(y,st)|0)+Math.imul(w,at)|0;h=h+Math.imul(w,st)|0;u=u+Math.imul(m,lt)|0;l=(l=l+Math.imul(m,ht)|0)+Math.imul(v,lt)|0;h=h+Math.imul(v,ht)|0;var Rt=(s+(u=u+Math.imul(c,ct)|0)|0)+((8191&(l=(l=l+Math.imul(c,pt)|0)+Math.imul(p,ct)|0))<<13)|0;s=((h=h+Math.imul(p,pt)|0)+(l>>>13)|0)+(Rt>>>26)|0;Rt&=67108863;u=Math.imul(j,W);l=(l=Math.imul(j,z))+Math.imul(F,W)|0;h=Math.imul(F,z);u=u+Math.imul(D,H)|0;l=(l=l+Math.imul(D,q)|0)+Math.imul(N,H)|0;h=h+Math.imul(N,q)|0;u=u+Math.imul(k,Z)|0;l=(l=l+Math.imul(k,K)|0)+Math.imul(L,Z)|0;h=h+Math.imul(L,K)|0;u=u+Math.imul(C,Q)|0;l=(l=l+Math.imul(C,G)|0)+Math.imul(T,Q)|0;h=h+Math.imul(T,G)|0;u=u+Math.imul(A,tt)|0;l=(l=l+Math.imul(A,et)|0)+Math.imul(O,tt)|0;h=h+Math.imul(O,et)|0;u=u+Math.imul(_,nt)|0;l=(l=l+Math.imul(_,it)|0)+Math.imul(R,nt)|0;h=h+Math.imul(R,it)|0;u=u+Math.imul(M,at)|0;l=(l=l+Math.imul(M,st)|0)+Math.imul(E,at)|0;h=h+Math.imul(E,st)|0;u=u+Math.imul(y,lt)|0;l=(l=l+Math.imul(y,ht)|0)+Math.imul(w,lt)|0;h=h+Math.imul(w,ht)|0;u=u+Math.imul(m,ct)|0;l=(l=l+Math.imul(m,pt)|0)+Math.imul(v,ct)|0;h=h+Math.imul(v,pt)|0;var St=(s+(u=u+Math.imul(c,mt)|0)|0)+((8191&(l=(l=l+Math.imul(c,vt)|0)+Math.imul(p,mt)|0))<<13)|0;s=((h=h+Math.imul(p,vt)|0)+(l>>>13)|0)+(St>>>26)|0;St&=67108863;u=Math.imul(j,H);l=(l=Math.imul(j,q))+Math.imul(F,H)|0;h=Math.imul(F,q);u=u+Math.imul(D,Z)|0;l=(l=l+Math.imul(D,K)|0)+Math.imul(N,Z)|0;h=h+Math.imul(N,K)|0;u=u+Math.imul(k,Q)|0;l=(l=l+Math.imul(k,G)|0)+Math.imul(L,Q)|0;h=h+Math.imul(L,G)|0;u=u+Math.imul(C,tt)|0;l=(l=l+Math.imul(C,et)|0)+Math.imul(T,tt)|0;h=h+Math.imul(T,et)|0;u=u+Math.imul(A,nt)|0;l=(l=l+Math.imul(A,it)|0)+Math.imul(O,nt)|0;h=h+Math.imul(O,it)|0;u=u+Math.imul(_,at)|0;l=(l=l+Math.imul(_,st)|0)+Math.imul(R,at)|0;h=h+Math.imul(R,st)|0;u=u+Math.imul(M,lt)|0;l=(l=l+Math.imul(M,ht)|0)+Math.imul(E,lt)|0;h=h+Math.imul(E,ht)|0;u=u+Math.imul(y,ct)|0;l=(l=l+Math.imul(y,pt)|0)+Math.imul(w,ct)|0;h=h+Math.imul(w,pt)|0;var At=(s+(u=u+Math.imul(m,mt)|0)|0)+((8191&(l=(l=l+Math.imul(m,vt)|0)+Math.imul(v,mt)|0))<<13)|0;s=((h=h+Math.imul(v,vt)|0)+(l>>>13)|0)+(At>>>26)|0;At&=67108863;u=Math.imul(j,Z);l=(l=Math.imul(j,K))+Math.imul(F,Z)|0;h=Math.imul(F,K);u=u+Math.imul(D,Q)|0;l=(l=l+Math.imul(D,G)|0)+Math.imul(N,Q)|0;h=h+Math.imul(N,G)|0;u=u+Math.imul(k,tt)|0;l=(l=l+Math.imul(k,et)|0)+Math.imul(L,tt)|0;h=h+Math.imul(L,et)|0;u=u+Math.imul(C,nt)|0;l=(l=l+Math.imul(C,it)|0)+Math.imul(T,nt)|0;h=h+Math.imul(T,it)|0;u=u+Math.imul(A,at)|0;l=(l=l+Math.imul(A,st)|0)+Math.imul(O,at)|0;h=h+Math.imul(O,st)|0;u=u+Math.imul(_,lt)|0;l=(l=l+Math.imul(_,ht)|0)+Math.imul(R,lt)|0;h=h+Math.imul(R,ht)|0;u=u+Math.imul(M,ct)|0;l=(l=l+Math.imul(M,pt)|0)+Math.imul(E,ct)|0;h=h+Math.imul(E,pt)|0;var Ot=(s+(u=u+Math.imul(y,mt)|0)|0)+((8191&(l=(l=l+Math.imul(y,vt)|0)+Math.imul(w,mt)|0))<<13)|0;s=((h=h+Math.imul(w,vt)|0)+(l>>>13)|0)+(Ot>>>26)|0;Ot&=67108863;u=Math.imul(j,Q);l=(l=Math.imul(j,G))+Math.imul(F,Q)|0;h=Math.imul(F,G);u=u+Math.imul(D,tt)|0;l=(l=l+Math.imul(D,et)|0)+Math.imul(N,tt)|0;h=h+Math.imul(N,et)|0;u=u+Math.imul(k,nt)|0;l=(l=l+Math.imul(k,it)|0)+Math.imul(L,nt)|0;h=h+Math.imul(L,it)|0;u=u+Math.imul(C,at)|0;l=(l=l+Math.imul(C,st)|0)+Math.imul(T,at)|0;h=h+Math.imul(T,st)|0;u=u+Math.imul(A,lt)|0;l=(l=l+Math.imul(A,ht)|0)+Math.imul(O,lt)|0;h=h+Math.imul(O,ht)|0;u=u+Math.imul(_,ct)|0;l=(l=l+Math.imul(_,pt)|0)+Math.imul(R,ct)|0;h=h+Math.imul(R,pt)|0;var Pt=(s+(u=u+Math.imul(M,mt)|0)|0)+((8191&(l=(l=l+Math.imul(M,vt)|0)+Math.imul(E,mt)|0))<<13)|0;s=((h=h+Math.imul(E,vt)|0)+(l>>>13)|0)+(Pt>>>26)|0;Pt&=67108863;u=Math.imul(j,tt);l=(l=Math.imul(j,et))+Math.imul(F,tt)|0;h=Math.imul(F,et);u=u+Math.imul(D,nt)|0;l=(l=l+Math.imul(D,it)|0)+Math.imul(N,nt)|0;h=h+Math.imul(N,it)|0;u=u+Math.imul(k,at)|0;l=(l=l+Math.imul(k,st)|0)+Math.imul(L,at)|0;h=h+Math.imul(L,st)|0;u=u+Math.imul(C,lt)|0;l=(l=l+Math.imul(C,ht)|0)+Math.imul(T,lt)|0;h=h+Math.imul(T,ht)|0;u=u+Math.imul(A,ct)|0;l=(l=l+Math.imul(A,pt)|0)+Math.imul(O,ct)|0;h=h+Math.imul(O,pt)|0;var Ct=(s+(u=u+Math.imul(_,mt)|0)|0)+((8191&(l=(l=l+Math.imul(_,vt)|0)+Math.imul(R,mt)|0))<<13)|0;s=((h=h+Math.imul(R,vt)|0)+(l>>>13)|0)+(Ct>>>26)|0;Ct&=67108863;u=Math.imul(j,nt);l=(l=Math.imul(j,it))+Math.imul(F,nt)|0;h=Math.imul(F,it);u=u+Math.imul(D,at)|0;l=(l=l+Math.imul(D,st)|0)+Math.imul(N,at)|0;h=h+Math.imul(N,st)|0;u=u+Math.imul(k,lt)|0;l=(l=l+Math.imul(k,ht)|0)+Math.imul(L,lt)|0;h=h+Math.imul(L,ht)|0;u=u+Math.imul(C,ct)|0;l=(l=l+Math.imul(C,pt)|0)+Math.imul(T,ct)|0;h=h+Math.imul(T,pt)|0;var Tt=(s+(u=u+Math.imul(A,mt)|0)|0)+((8191&(l=(l=l+Math.imul(A,vt)|0)+Math.imul(O,mt)|0))<<13)|0;s=((h=h+Math.imul(O,vt)|0)+(l>>>13)|0)+(Tt>>>26)|0;Tt&=67108863;u=Math.imul(j,at);l=(l=Math.imul(j,st))+Math.imul(F,at)|0;h=Math.imul(F,st);u=u+Math.imul(D,lt)|0;l=(l=l+Math.imul(D,ht)|0)+Math.imul(N,lt)|0;h=h+Math.imul(N,ht)|0;u=u+Math.imul(k,ct)|0;l=(l=l+Math.imul(k,pt)|0)+Math.imul(L,ct)|0;h=h+Math.imul(L,pt)|0;var It=(s+(u=u+Math.imul(C,mt)|0)|0)+((8191&(l=(l=l+Math.imul(C,vt)|0)+Math.imul(T,mt)|0))<<13)|0;s=((h=h+Math.imul(T,vt)|0)+(l>>>13)|0)+(It>>>26)|0;It&=67108863;u=Math.imul(j,lt);l=(l=Math.imul(j,ht))+Math.imul(F,lt)|0;h=Math.imul(F,ht);u=u+Math.imul(D,ct)|0;l=(l=l+Math.imul(D,pt)|0)+Math.imul(N,ct)|0;h=h+Math.imul(N,pt)|0;var kt=(s+(u=u+Math.imul(k,mt)|0)|0)+((8191&(l=(l=l+Math.imul(k,vt)|0)+Math.imul(L,mt)|0))<<13)|0;s=((h=h+Math.imul(L,vt)|0)+(l>>>13)|0)+(kt>>>26)|0;kt&=67108863;u=Math.imul(j,ct);l=(l=Math.imul(j,pt))+Math.imul(F,ct)|0;h=Math.imul(F,pt);var Lt=(s+(u=u+Math.imul(D,mt)|0)|0)+((8191&(l=(l=l+Math.imul(D,vt)|0)+Math.imul(N,mt)|0))<<13)|0;s=((h=h+Math.imul(N,vt)|0)+(l>>>13)|0)+(Lt>>>26)|0;Lt&=67108863;var Bt=(s+(u=Math.imul(j,mt))|0)+((8191&(l=(l=Math.imul(j,vt))+Math.imul(F,mt)|0))<<13)|0;s=((h=Math.imul(F,vt))+(l>>>13)|0)+(Bt>>>26)|0;Bt&=67108863;a[0]=gt;a[1]=yt;a[2]=wt;a[3]=bt;a[4]=Mt;a[5]=Et;a[6]=xt;a[7]=_t;a[8]=Rt;a[9]=St;a[10]=At;a[11]=Ot;a[12]=Pt;a[13]=Ct;a[14]=Tt;a[15]=It;a[16]=kt;a[17]=Lt;a[18]=Bt;if(0!==s){a[19]=s;n.length++}return n};Math.imul||(d=p);function m(t,e,r){r.negative=e.negative^t.negative;r.length=t.length+e.length;var n=0;var i=0;for(var o=0;o<r.length-1;o++){var a=i;i=0;var s=67108863&n;var u=Math.min(o,e.length-1);for(var l=Math.max(0,o-t.length+1);l<=u;l++){var h=o-l;var f;var c;var p=(0|t.words[h])*(0|e.words[l]);var d=67108863&p;s=67108863&(d=d+s|0);i+=(a=(a=a+(p/67108864|0)|0)+(d>>>26)|0)>>>26;a&=67108863}r.words[o]=s;n=a;a=i}0!==n?r.words[o]=n:r.length--;return r.strip()}function v(t,e,r){var n;return(new g).mulp(t,e,r)}o.prototype.mulTo=function t(e,r){var n;var i=this.length+e.length;return n=10===this.length&&10===e.length?d(this,e,r):i<63?p(this,e,r):i<1024?m(this,e,r):v(this,e,r)};function g(t,e){this.x=t;this.y=e}g.prototype.makeRBT=function t(e){var r=new Array(e);var n=o.prototype._countBits(e)-1;for(var i=0;i<e;i++)r[i]=this.revBin(i,n,e);return r};g.prototype.revBin=function t(e,r,n){if(0===e||e===n-1)return e;var i=0;for(var o=0;o<r;o++){i|=(1&e)<<r-o-1;e>>=1}return i};g.prototype.permute=function t(e,r,n,i,o,a){for(var s=0;s<a;s++){i[s]=r[e[s]];o[s]=n[e[s]]}};g.prototype.transform=function t(e,r,n,i,o,a){this.permute(a,e,r,n,i,o);for(var s=1;s<o;s<<=1){var u=s<<1;var l=Math.cos(2*Math.PI/u);var h=Math.sin(2*Math.PI/u);for(var f=0;f<o;f+=u){var c=l;var p=h;for(var d=0;d<s;d++){var m=n[f+d];var v=i[f+d];var g=n[f+d+s];var y=i[f+d+s];var w=c*g-p*y;y=c*y+p*g;g=w;n[f+d]=m+g;i[f+d]=v+y;n[f+d+s]=m-g;i[f+d+s]=v-y;if(d!==u){w=l*c-h*p;p=l*p+h*c;c=w}}}}};g.prototype.guessLen13b=function t(e,r){var n=1|Math.max(r,e);var i=1&n;var o=0;for(n=n/2|0;n;n>>>=1)o++;return 1<<o+1+i};g.prototype.conjugate=function t(e,r,n){if(n<=1)return;for(var i=0;i<n/2;i++){var o=e[i];e[i]=e[n-i-1];e[n-i-1]=o;o=r[i];r[i]=-r[n-i-1];r[n-i-1]=-o}};g.prototype.normalize13b=function t(e,r){var n=0;for(var i=0;i<r/2;i++){var o=8192*Math.round(e[2*i+1]/r)+Math.round(e[2*i]/r)+n;e[i]=67108863&o;n=o<67108864?0:o/67108864|0}return e};g.prototype.convert13b=function t(e,r,i,o){var a=0;for(var s=0;s<r;s++){a+=0|e[s];i[2*s]=8191&a;a>>>=13;i[2*s+1]=8191&a;a>>>=13}for(s=2*r;s<o;++s)i[s]=0;n(0===a);n(0==(-8192&a))};g.prototype.stub=function t(e){var r=new Array(e);for(var n=0;n<e;n++)r[n]=0;return r};g.prototype.mulp=function t(e,r,n){var i=2*this.guessLen13b(e.length,r.length);var o=this.makeRBT(i);var a=this.stub(i);var s=new Array(i);var u=new Array(i);var l=new Array(i);var h=new Array(i);var f=new Array(i);var c=new Array(i);var p=n.words;p.length=i;this.convert13b(e.words,e.length,s,i);this.convert13b(r.words,r.length,h,i);this.transform(s,a,u,l,i,o);this.transform(h,a,f,c,i,o);for(var d=0;d<i;d++){var m=u[d]*f[d]-l[d]*c[d];l[d]=u[d]*c[d]+l[d]*f[d];u[d]=m}this.conjugate(u,l,i);this.transform(u,l,p,a,i,o);this.conjugate(p,a,i);this.normalize13b(p,i);n.negative=e.negative^r.negative;n.length=e.length+r.length;return n.strip()};o.prototype.mul=function t(e){var r=new o(null);r.words=new Array(this.length+e.length);return this.mulTo(e,r)};o.prototype.mulf=function t(e){var r=new o(null);r.words=new Array(this.length+e.length);return v(this,e,r)};o.prototype.imul=function t(e){return this.clone().mulTo(e,this)};o.prototype.imuln=function t(e){n("number"==typeof e);n(e<67108864);var r=0;for(var i=0;i<this.length;i++){var o=(0|this.words[i])*e;var a=(67108863&o)+(67108863&r);r>>=26;r+=o/67108864|0;r+=a>>>26;this.words[i]=67108863&a}if(0!==r){this.words[i]=r;this.length++}return this};o.prototype.muln=function t(e){return this.clone().imuln(e)};o.prototype.sqr=function t(){return this.mul(this)};o.prototype.isqr=function t(){return this.imul(this.clone())};o.prototype.pow=function t(e){var r=c(e);if(0===r.length)return new o(1);var n=this;for(var i=0;i<r.length&&0===r[i];i++,n=n.sqr());if(++i<r.length)for(var a=n.sqr();i<r.length;i++,a=a.sqr()){if(0===r[i])continue;n=n.mul(a)}return n};o.prototype.iushln=function t(e){n("number"==typeof e&&e>=0);var r=e%26;var i=(e-r)/26;var o=67108863>>>26-r<<26-r;var a;if(0!==r){var s=0;for(a=0;a<this.length;a++){var u=this.words[a]&o;var l=(0|this.words[a])-u<<r;this.words[a]=l|s;s=u>>>26-r}if(s){this.words[a]=s;this.length++}}if(0!==i){for(a=this.length-1;a>=0;a--)this.words[a+i]=this.words[a];for(a=0;a<i;a++)this.words[a]=0;this.length+=i}return this.strip()};o.prototype.ishln=function t(e){n(0===this.negative);return this.iushln(e)};o.prototype.iushrn=function t(e,r,i){n("number"==typeof e&&e>=0);var o;o=r?(r-r%26)/26:0;var a=e%26;var s=Math.min((e-a)/26,this.length);var u=67108863^67108863>>>a<<a;var l=i;o-=s;o=Math.max(0,o);if(l){for(var h=0;h<s;h++)l.words[h]=this.words[h];l.length=s}if(0===s);else if(this.length>s){this.length-=s;for(h=0;h<this.length;h++)this.words[h]=this.words[h+s]}else{this.words[0]=0;this.length=1}var f=0;for(h=this.length-1;h>=0&&(0!==f||h>=o);h--){var c=0|this.words[h];this.words[h]=f<<26-a|c>>>a;f=c&u}l&&0!==f&&(l.words[l.length++]=f);if(0===this.length){this.words[0]=0;this.length=1}return this.strip()};o.prototype.ishrn=function t(e,r,i){n(0===this.negative);return this.iushrn(e,r,i)};o.prototype.shln=function t(e){return this.clone().ishln(e)};o.prototype.ushln=function t(e){return this.clone().iushln(e)};o.prototype.shrn=function t(e){return this.clone().ishrn(e)};o.prototype.ushrn=function t(e){return this.clone().iushrn(e)};o.prototype.testn=function t(e){n("number"==typeof e&&e>=0);var r=e%26;var i=(e-r)/26;var o=1<<r;if(this.length<=i)return!1;var a;return!!(this.words[i]&o)};o.prototype.imaskn=function t(e){n("number"==typeof e&&e>=0);var r=e%26;var i=(e-r)/26;n(0===this.negative,"imaskn works only with positive numbers");if(this.length<=i)return this;0!==r&&i++;this.length=Math.min(i,this.length);if(0!==r){var o=67108863^67108863>>>r<<r;this.words[this.length-1]&=o}return this.strip()};o.prototype.maskn=function t(e){return this.clone().imaskn(e)};o.prototype.iaddn=function t(e){n("number"==typeof e);n(e<67108864);if(e<0)return this.isubn(-e);if(0!==this.negative){if(1===this.length&&(0|this.words[0])<e){this.words[0]=e-(0|this.words[0]);this.negative=0;return this}this.negative=0;this.isubn(e);this.negative=1;return this}return this._iaddn(e)};o.prototype._iaddn=function t(e){this.words[0]+=e;for(var r=0;r<this.length&&this.words[r]>=67108864;r++){this.words[r]-=67108864;r===this.length-1?this.words[r+1]=1:this.words[r+1]++}this.length=Math.max(this.length,r+1);return this};o.prototype.isubn=function t(e){n("number"==typeof e);n(e<67108864);if(e<0)return this.iaddn(-e);if(0!==this.negative){this.negative=0;this.iaddn(e);this.negative=1;return this}this.words[0]-=e;if(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()};o.prototype.addn=function t(e){return this.clone().iaddn(e)};o.prototype.subn=function t(e){return this.clone().isubn(e)};o.prototype.iabs=function t(){this.negative=0;return this};o.prototype.abs=function t(){return this.clone().iabs()};o.prototype._ishlnsubmul=function t(e,r,i){var o=e.length+i;var a;this._expand(o);var s;var u=0;for(a=0;a<e.length;a++){s=(0|this.words[a+i])+u;var l=(0|e.words[a])*r;u=((s-=67108863&l)>>26)-(l/67108864|0);this.words[a+i]=67108863&s}for(;a<this.length-i;a++){u=(s=(0|this.words[a+i])+u)>>26;this.words[a+i]=67108863&s}if(0===u)return this.strip();n(-1===u);u=0;for(a=0;a<this.length;a++){u=(s=-(0|this.words[a])+u)>>26;this.words[a]=67108863&s}this.negative=1;return this.strip()};o.prototype._wordDiv=function t(e,r){var n=this.length-e.length;var i=this.clone();var a=e;var s=0|a.words[a.length-1];var u;if(0!==(n=26-this._countBits(s))){a=a.ushln(n);i.iushln(n);s=0|a.words[a.length-1]}var l=i.length-a.length;var h;if("mod"!==r){(h=new o(null)).length=l+1;h.words=new Array(h.length);for(var f=0;f<h.length;f++)h.words[f]=0}var c=i.clone()._ishlnsubmul(a,1,l);if(0===c.negative){i=c;h&&(h.words[l]=1)}for(var p=l-1;p>=0;p--){var d=67108864*(0|i.words[a.length+p])+(0|i.words[a.length+p-1]);d=Math.min(d/s|0,67108863);i._ishlnsubmul(a,d,p);for(;0!==i.negative;){d--;i.negative=0;i._ishlnsubmul(a,1,p);i.isZero()||(i.negative^=1)}h&&(h.words[p]=d)}h&&h.strip();i.strip();"div"!==r&&0!==n&&i.iushrn(n);return{div:h||null,mod:i}};o.prototype.divmod=function t(e,r,i){n(!e.isZero());if(this.isZero())return{div:new o(0),mod:new o(0)};var a,s,u;if(0!==this.negative&&0===e.negative){u=this.neg().divmod(e,r);"mod"!==r&&(a=u.div.neg());if("div"!==r){s=u.mod.neg();i&&0!==s.negative&&s.iadd(e)}return{div:a,mod:s}}if(0===this.negative&&0!==e.negative){u=this.divmod(e.neg(),r);"mod"!==r&&(a=u.div.neg());return{div:a,mod:u.mod}}if(0!=(this.negative&e.negative)){u=this.neg().divmod(e.neg(),r);if("div"!==r){s=u.mod.neg();i&&0!==s.negative&&s.isub(e)}return{div:u.div,mod:s}}if(e.length>this.length||this.cmp(e)<0)return{div:new o(0),mod:this};if(1===e.length){if("div"===r)return{div:this.divn(e.words[0]),mod:null};if("mod"===r)return{div:null,mod:new o(this.modn(e.words[0]))};return{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}}return this._wordDiv(e,r)};o.prototype.div=function t(e){return this.divmod(e,"div",!1).div};o.prototype.mod=function t(e){return this.divmod(e,"mod",!1).mod};o.prototype.umod=function t(e){return this.divmod(e,"mod",!0).mod};o.prototype.divRound=function t(e){var r=this.divmod(e);if(r.mod.isZero())return r.div;var n=0!==r.div.negative?r.mod.isub(e):r.mod;var i=e.ushrn(1);var o=e.andln(1);var a=n.cmp(i);if(a<0||1===o&&0===a)return r.div;return 0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)};o.prototype.modn=function t(e){n(e<=67108863);var r=(1<<26)%e;var i=0;for(var o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return i};o.prototype.idivn=function t(e){n(e<=67108863);var r=0;for(var i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0;r=o%e}return this.strip()};o.prototype.divn=function t(e){return this.clone().idivn(e)};o.prototype.egcd=function t(e){n(0===e.negative);n(!e.isZero());var r=this;var i=e.clone();r=0!==r.negative?r.umod(e):r.clone();var a=new o(1);var s=new o(0);var u=new o(0);var l=new o(1);var h=0;for(;r.isEven()&&i.isEven();){r.iushrn(1);i.iushrn(1);++h}var f=i.clone();var c=r.clone();for(;!r.isZero();){for(var p=0,d=1;0==(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0){r.iushrn(p);for(;p-- >0;){if(a.isOdd()||s.isOdd()){a.iadd(f);s.isub(c)}a.iushrn(1);s.iushrn(1)}}for(var m=0,v=1;0==(i.words[0]&v)&&m<26;++m,v<<=1);if(m>0){i.iushrn(m);for(;m-- >0;){if(u.isOdd()||l.isOdd()){u.iadd(f);l.isub(c)}u.iushrn(1);l.iushrn(1)}}if(r.cmp(i)>=0){r.isub(i);a.isub(u);s.isub(l)}else{i.isub(r);u.isub(a);l.isub(s)}}return{a:u,b:l,gcd:i.iushln(h)}};o.prototype._invmp=function t(e){n(0===e.negative);n(!e.isZero());var r=this;var i=e.clone();r=0!==r.negative?r.umod(e):r.clone();var a=new o(1);var s=new o(0);var u=i.clone();for(;r.cmpn(1)>0&&i.cmpn(1)>0;){for(var l=0,h=1;0==(r.words[0]&h)&&l<26;++l,h<<=1);if(l>0){r.iushrn(l);for(;l-- >0;){a.isOdd()&&a.iadd(u);a.iushrn(1)}}for(var f=0,c=1;0==(i.words[0]&c)&&f<26;++f,c<<=1);if(f>0){i.iushrn(f);for(;f-- >0;){s.isOdd()&&s.iadd(u);s.iushrn(1)}}if(r.cmp(i)>=0){r.isub(i);a.isub(s)}else{i.isub(r);s.isub(a)}}var p;(p=0===r.cmpn(1)?a:s).cmpn(0)<0&&p.iadd(e);return p};o.prototype.gcd=function t(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var r=this.clone();var n=e.clone();r.negative=0;n.negative=0;for(var i=0;r.isEven()&&n.isEven();i++){r.iushrn(1);n.iushrn(1)}for(;;){for(;r.isEven();)r.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=r.cmp(n);if(o<0){var a=r;r=n;n=a}else if(0===o||0===n.cmpn(1))break;r.isub(n)}return n.iushln(i)};o.prototype.invm=function t(e){return this.egcd(e).a.umod(e)};o.prototype.isEven=function t(){return 0==(1&this.words[0])};o.prototype.isOdd=function t(){return 1==(1&this.words[0])};o.prototype.andln=function t(e){return this.words[0]&e};o.prototype.bincn=function t(e){n("number"==typeof e);var r=e%26;var i=(e-r)/26;var o=1<<r;if(this.length<=i){this._expand(i+1);this.words[i]|=o;return this}var a=o;for(var s=i;0!==a&&s<this.length;s++){var u=0|this.words[s];a=(u+=a)>>>26;u&=67108863;this.words[s]=u}if(0!==a){this.words[s]=a;this.length++}return this};o.prototype.isZero=function t(){return 1===this.length&&0===this.words[0]};o.prototype.cmpn=function t(e){var r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;this.strip();var i;if(this.length>1)i=1;else{r&&(e=-e);n(e<=67108863,"Number is too big");var o=0|this.words[0];i=o===e?0:o<e?-1:1}if(0!==this.negative)return 0|-i;return i};o.prototype.cmp=function t(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var r=this.ucmp(e);if(0!==this.negative)return 0|-r;return r};o.prototype.ucmp=function t(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;var r=0;for(var n=this.length-1;n>=0;n--){var i=0|this.words[n];var o=0|e.words[n];if(i===o)continue;i<o?r=-1:i>o&&(r=1);break}return r};o.prototype.gtn=function t(e){return 1===this.cmpn(e)};o.prototype.gt=function t(e){return 1===this.cmp(e)};o.prototype.gten=function t(e){return this.cmpn(e)>=0};o.prototype.gte=function t(e){return this.cmp(e)>=0};o.prototype.ltn=function t(e){return-1===this.cmpn(e)};o.prototype.lt=function t(e){return-1===this.cmp(e)};o.prototype.lten=function t(e){return this.cmpn(e)<=0};o.prototype.lte=function t(e){return this.cmp(e)<=0};o.prototype.eqn=function t(e){return 0===this.cmpn(e)};o.prototype.eq=function t(e){return 0===this.cmp(e)};o.red=function t(e){return new _(e)};o.prototype.toRed=function t(e){n(!this.red,"Already a number in reduction context");n(0===this.negative,"red works only with positives");return e.convertTo(this)._forceRed(e)};o.prototype.fromRed=function t(){n(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};o.prototype._forceRed=function t(e){this.red=e;return this};o.prototype.forceRed=function t(e){n(!this.red,"Already a number in reduction context");return this._forceRed(e)};o.prototype.redAdd=function t(e){n(this.red,"redAdd works only with red numbers");return this.red.add(this,e)};o.prototype.redIAdd=function t(e){n(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,e)};o.prototype.redSub=function t(e){n(this.red,"redSub works only with red numbers");return this.red.sub(this,e)};o.prototype.redISub=function t(e){n(this.red,"redISub works only with red numbers");return this.red.isub(this,e)};o.prototype.redShl=function t(e){n(this.red,"redShl works only with red numbers");return this.red.shl(this,e)};o.prototype.redMul=function t(e){n(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.mul(this,e)};o.prototype.redIMul=function t(e){n(this.red,"redMul works only with red numbers");this.red._verify2(this,e);return this.red.imul(this,e)};o.prototype.redSqr=function t(){n(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};o.prototype.redISqr=function t(){n(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};o.prototype.redSqrt=function t(){n(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};o.prototype.redInvm=function t(){n(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};o.prototype.redNeg=function t(){n(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};o.prototype.redPow=function t(e){n(this.red&&!e.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t;this.p=new o(e,16);this.n=this.p.bitLength();this.k=new o(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}w.prototype._tmp=function t(){var e=new o(null);e.words=new Array(Math.ceil(this.n/13));return e};w.prototype.ireduce=function t(e){var r=e;var n;do{this.split(r,this.tmp);n=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(n>this.n);var i=n<this.n?-1:r.ucmp(this.p);if(0===i){r.words[0]=0;r.length=1}else i>0?r.isub(this.p):r.strip();return r};w.prototype.split=function t(e,r){e.iushrn(this.n,0,r)};w.prototype.imulK=function t(e){return e.imul(this.k)};function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(b,w);b.prototype.split=function t(e,r){var n=4194303;var i=Math.min(e.length,9);for(var o=0;o<i;o++)r.words[o]=e.words[o];r.length=i;if(e.length<=9){e.words[0]=0;e.length=1;return}var a=e.words[9];r.words[r.length++]=a&n;for(o=10;o<e.length;o++){var s=0|e.words[o];e.words[o-10]=(s&n)<<4|a>>>22;a=s}a>>>=22;e.words[o-10]=a;0===a&&e.length>10?e.length-=10:e.length-=9};b.prototype.imulK=function t(e){e.words[e.length]=0;e.words[e.length+1]=0;e.length+=2;var r=0;for(var n=0;n<e.length;n++){var i=0|e.words[n];r+=977*i;e.words[n]=67108863&r;r=64*i+(r/67108864|0)}if(0===e.words[e.length-1]){e.length--;0===e.words[e.length-1]&&e.length--}return e};function M(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i(M,w);function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i(E,w);function x(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i(x,w);x.prototype.imulK=function t(e){var r=0;for(var n=0;n<e.length;n++){var i=19*(0|e.words[n])+r;var o=67108863&i;i>>>=26;e.words[n]=o;r=i}0!==r&&(e.words[e.length++]=r);return e};o._prime=function t(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new M;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}y[e]=t;return t};function _(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p;this.prime=e}else{n(t.gtn(1),"modulus must be greater than 1");this.m=t;this.prime=null}}_.prototype._verify1=function t(e){n(0===e.negative,"red works only with positives");n(e.red,"red works only with red numbers")};_.prototype._verify2=function t(e,r){n(0==(e.negative|r.negative),"red works only with positives");n(e.red&&e.red===r.red,"red works only with red numbers")};_.prototype.imod=function t(e){if(this.prime)return this.prime.ireduce(e)._forceRed(this);return e.umod(this.m)._forceRed(this)};_.prototype.neg=function t(e){if(e.isZero())return e.clone();return this.m.sub(e)._forceRed(this)};_.prototype.add=function t(e,r){this._verify2(e,r);var n=e.add(r);n.cmp(this.m)>=0&&n.isub(this.m);return n._forceRed(this)};_.prototype.iadd=function t(e,r){this._verify2(e,r);var n=e.iadd(r);n.cmp(this.m)>=0&&n.isub(this.m);return n};_.prototype.sub=function t(e,r){this._verify2(e,r);var n=e.sub(r);n.cmpn(0)<0&&n.iadd(this.m);return n._forceRed(this)};_.prototype.isub=function t(e,r){this._verify2(e,r);var n=e.isub(r);n.cmpn(0)<0&&n.iadd(this.m);return n};_.prototype.shl=function t(e,r){this._verify1(e);return this.imod(e.ushln(r))};_.prototype.imul=function t(e,r){this._verify2(e,r);return this.imod(e.imul(r))};_.prototype.mul=function t(e,r){this._verify2(e,r);return this.imod(e.mul(r))};_.prototype.isqr=function t(e){return this.imul(e,e.clone())};_.prototype.sqr=function t(e){return this.mul(e,e)};_.prototype.sqrt=function t(e){if(e.isZero())return e.clone();var r=this.m.andln(3);n(r%2==1);if(3===r){var i=this.m.add(new o(1)).iushrn(2);return this.pow(e,i)}var a=this.m.subn(1);var s=0;for(;!a.isZero()&&0===a.andln(1);){s++;a.iushrn(1)}n(!a.isZero());var u=new o(1).toRed(this);var l=u.redNeg();var h=this.m.subn(1).iushrn(1);var f=this.m.bitLength();f=new o(2*f*f).toRed(this);for(;0!==this.pow(f,h).cmp(l);)f.redIAdd(l);var c=this.pow(f,a);var p=this.pow(e,a.addn(1).iushrn(1));var d=this.pow(e,a);var m=s;for(;0!==d.cmp(u);){var v=d;for(var g=0;0!==v.cmp(u);g++)v=v.redSqr();n(g<m);var y=this.pow(c,new o(1).iushln(m-g-1));p=p.redMul(y);c=y.redSqr();d=d.redMul(c);m=g}return p};_.prototype.invm=function t(e){var r=e._invmp(this.m);if(0!==r.negative){r.negative=0;return this.imod(r).redNeg()}return this.imod(r)};_.prototype.pow=function t(e,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return e.clone();var n=4;var i=new Array(16);i[0]=new o(1).toRed(this);i[1]=e;for(var a=2;a<i.length;a++)i[a]=this.mul(i[a-1],e);var s=i[0];var u=0;var l=0;var h=r.bitLength()%26;0===h&&(h=26);for(a=r.length-1;a>=0;a--){var f=r.words[a];for(var c=h-1;c>=0;c--){var p=f>>c&1;s!==i[0]&&(s=this.sqr(s));if(0===p&&0===u){l=0;continue}u<<=1;u|=p;if(4!==++l&&(0!==a||0!==c))continue;s=this.mul(s,i[u]);l=0;u=0}h=26}return s};_.prototype.convertTo=function t(e){var r=e.umod(this.m);return r===e?r.clone():r};_.prototype.convertFrom=function t(e){var r=e.clone();r.red=null;return r};o.mont=function t(e){return new R(e)};function R(t){_.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)}i(R,_);R.prototype.convertTo=function t(e){return this.imod(e.ushln(this.shift))};R.prototype.convertFrom=function t(e){var r=this.imod(e.mul(this.rinv));r.red=null;return r};R.prototype.imul=function t(e,r){if(e.isZero()||r.isZero()){e.words[0]=0;e.length=1;return e}var n=e.imul(r);var i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var o=n.isub(i).iushrn(this.shift);var a=o;o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m));return a._forceRed(this)};R.prototype.mul=function t(e,r){if(e.isZero()||r.isZero())return new o(0)._forceRed(this);var n=e.mul(r);var i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var a=n.isub(i).iushrn(this.shift);var s=a;a.cmp(this.m)>=0?s=a.isub(this.m):a.cmpn(0)<0&&(s=a.iadd(this.m));return s._forceRed(this)};R.prototype.invm=function t(e){var r;return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r("RoC8")(t))},"9K2m":function(t,e,r){"use strict"; /** @license React v16.8.6 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,c=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116;function g(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case c:case a:case u:case s:case d:return t;default:switch(t=t&&t.$$typeof){case h:case p:case l:return t;default:return e}}case v:case m:case o:return e}}}function y(t){return g(t)===c}e.typeOf=g;e.AsyncMode=f;e.ConcurrentMode=c;e.ContextConsumer=h;e.ContextProvider=l;e.Element=i;e.ForwardRef=p;e.Fragment=a;e.Lazy=v;e.Memo=m;e.Portal=o;e.Profiler=u;e.StrictMode=s;e.Suspense=d;e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===c||t===u||t===s||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===m||t.$$typeof===l||t.$$typeof===h||t.$$typeof===p)};e.isAsyncMode=function(t){return y(t)||g(t)===f};e.isConcurrentMode=y;e.isContextConsumer=function(t){return g(t)===h};e.isContextProvider=function(t){return g(t)===l};e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i};e.isForwardRef=f