1(self.webpackChunkguppy_gang=self.webpackChunkguppy_gang||[]).push([[5943],{45252:function(t,r,i){"use strict";var e,n=this&&this.__extends||(e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},e(t,r)},function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(r,"__esModule",{value:!0});var o=i(46929),h=i(48764),s=function(t){function r(r,i){void 0===r&&(r={}),void 0===i&&(i={});var e=t.call(this,r,i)||this;Object.defineProperty(e,"from",{enumerable:!0,configurable:!0,get:function(){return e.getSenderAddress()},set:function(t){t&&(e._from=o.toBuffer(t))}});var n=r;return n.from&&(e.from=o.toBuffer(n.from)),e}return n(r,t),r.prototype.hash=function(r){if(void 0===r&&(r=!0),r&&this._from&&""!==this._from.toString("hex")){var i=h.Buffer.concat([this._from,this._from.slice(0,12)]);this.sign(i)}return t.prototype.hash.call(this,r)},r}(i(79808).default);r.default=s},15943:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=i(79808);r.Transaction=e.default;var n=i(45252);r.FakeTransaction=n.default},79808:function(t,r,i){"use strict";var e=this&&this.__assign||function(){return e=Object.assign||function(t){for(var r,i=1,e=arguments.length;i<e;i++)for(var n in r=arguments[i])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},e.apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var n=i(46929),o=i(65982),h=i(48764),s=new n.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),u=function(){function t(t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),r.common){if(r.chain||r.hardfork)throw new Error("Instantiation with both opts.common, and opts.chain and opts.hardfork parameter not allowed!");this._common=r.common}else{var i=r.chain?r.chain:"mainnet",e=r.hardfork?r.hardfork:"petersburg";this._common=new o.default(i,e)}var s=[{name:"nonce",length:32,allowLess:!0,default:new h.Buffer([])},{name:"gasPrice",length:32,allowLess:!0,default:new h.Buffer([])},{name:"gasLimit",alias:"gas",length:32,allowLess:!0,default:new h.Buffer([])},{name:"to",allowZero:!0,length:20,default:new h.Buffer([])},{name:"value",length:32,allowLess:!0,default:new h.Buffer([])},{name:"data",alias:"input",allowZero:!0,default:new h.Buffer([])},{name:"v",allowZero:!0,default:new h.Buffer([])},{name:"r",length:32,allowZero:!0,allowLess:!0,default:new h.Buffer([])},{name:"s",length:32,allowZero:!0,allowLess:!0,default:new h.Buffer([])}];n.defineProperties(this,s,t),Object.defineProperty(this,"from",{enumerable:!0,configurable:!0,get:this.getSenderAddress.bind(this)}),this._validateV(this.v),this._overrideVSetterWithValidation()}return t.prototype.toCreationAddress=function(){return""===this.to.toString("hex")},t.prototype.hash=function(t){var r;return void 0===t&&(t=!0),r=t?this.raw:this._implementsEIP155()?this.raw.slice(0,6).concat([n.toBuffer(this.getChainId()),n.stripZeros(n.toBuffer(0)),n.stripZeros(n.toBuffer(0))]):this.raw.slice(0,6),n.rlphash(r)},t.prototype.getChainId=function(){return this._common.chainId()},t.prototype.getSenderAddress=function(){if(this._from)return this._from;var t=this.getSenderPublicKey();return this._from=n.publicToAddress(t),this._from},t.prototype.getSenderPublicKey=function(){if(!this.verifySignature())throw new Error("Invalid Signature");return this._senderPubKey},t.prototype.verifySignature=function(){var t=this.hash(!1);if(this._common.gteHardfork("homestead")&&1===new n.BN(this.s).cmp(s))return!1;try{var r=n.bufferToInt(this.v),i=r>=2*this.getChainId()+35&&this._common.gteHardfork("spuriousDragon");this._senderPubKey=n.ecrecover(t,r,this.r,this.s,i?this.getChainId():void 0)}catch(t){return!1}return!!this._senderPubKey},t.prototype.sign=function(t){this.v=new h.Buffer([]),this.s=new h.Buffer([]),this.r=new h.Buffer([]);var r=this.hash(!1),i=n.ecsign(r,t);this._implementsEIP155()&&(i.v+=2*this.getChainId()+8),Object.assign(this,i)},t.prototype.getDataFee=function(){for(var t=this.raw[5],r=new n.BN(0),i=0;i<t.length;i++)0===t[i]?r.iaddn(this._common.param("gasPrices","txDataZero")):r.iaddn(this._common.param("gasPrices","txDataNonZero"));return r},t.prototype.getBaseFee=function(){var t=this.getDataFee().iaddn(this._common.param("gasPrices","tx"));return this._common.gteHardfork("homestead")&&this.toCreationAddress()&&t.iaddn(this._common.param("gasPrices","txCreation")),t},t.prototype.getUpfrontCost=function(){return new n.BN(this.gasLimit).imul(new n.BN(this.gasPrice)).iadd(new n.BN(this.value))},t.prototype.validate=function(t){void 0===t&&(t=!1);var r=[];return this.verifySignature()||r.push("Invalid Signature"),this.getBaseFee().cmp(new n.BN(this.gasLimit))>0&&r.push(["gas limit is too low. Need at least "+this.getBaseFee()]),!1===t?0===r.length:r.join(" ")},t.prototype.serialize=function(){return n.rlp.encode(this.raw)},t.prototype.toJSON=function(t){return void 0===t&&(t=!1),{}},t.prototype._validateV=function(t){if(void 0!==t&&0!==t.length&&this._common.gteHardfork("spuriousDragon")){var r=n.bufferToInt(t);if(27!==r&&28!==r)if(!(r===2*this.getChainId()+35||r===2*this.getChainId()+36)
vendor: 5,208 bytes, line 1
1)throw new Error("Incompatible EIP155-based V "+r+" and chain id "+this.getChainId()+". See the second parameter of the Transaction constructor to set the chain id.")}},t.prototype._isSigned=function(){return this.v.length>0&&this.r.length>0&&this.s.length>0},t.prototype._overrideVSetterWithValidation=function(){var t=this,r=Object.getOwnPropertyDescriptor(this,"v");Object.defineProperty(this,"v",e({},r,{set:function(i){void 0!==i&&t._validateV(n.toBuffer(i)),r.set(i)}}))},t.prototype._implementsEIP155=function(){var t=this._common.gteHardfork("spuriousDragon");if(!this._isSigned())return t;var r=n.bufferToInt(this.v);return(r===2*this.getChainId()+35||r===2*this.getChainId()+36)&&t},t}();r.default=u},80999:function(t,r,i){!function(t,r){"use strict";function e(t,r){if(!t)throw new Error(r||"Assertion failed")}function n(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}function o(t,r,i){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==r&&"be"!==r||(i=r,r=10),this._init(t||0,r||10,i||"be"))}var h;"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{h="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:i(69677).Buffer}catch(t){}function s(t,r){var i=t.charCodeAt(r);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function u(t,r,i){var e=s(t,i);return i-1>=r&&(e|=s(t,i-1)<<4),e}function a(t,r,i,e){for(var n=0,o=Math.min(t.length,i),h=r;h<o;h++){var s=t.charCodeAt(h)-48;n*=e,n+=s>=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,r){return t.cmp(r)>0?t:r},o.min=function(t,r){return t.cmp(r)<0?t:r},o.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),e(r===(0|r)&&r>=2&&r<=36);var n=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n<t.length&&(16===r?this._parseHex(t,n,i):(this._parseBase(t,r,n),"le"===i&&this._initArray(this.toArray(),r,i)))},o.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(e(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},o.prototype._initArray=function(t,r,i){if(e("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,h,s=0;if("be"===i)for(n=t.length-1,o=0;n>=0;n-=3)h=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=h<<s&67108863,this.words[o+1]=h>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===i)for(n=0,o=0;n<t.length;n+=3)h=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=h<<s&67108863,this.words[o+1]=h>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,r,i){this.length=Math.ceil((t.length-r)/6),this.words=new Array(this.length);for(var e=0;e<this.length;e++)this.words[e]=0;var n,o=0,h=0;if("be"===i)for(e=t.length-1;e>=r;e-=2)n=u(t,r,e)<<o,this.words[h]|=67108863&n,o>=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(e=(t.length-r)%2==0?r+1:r;e<t.length;e+=2)n=u(t,r,e)<<o,this.words[h]|=67108863&n,o>=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var e=0,n=1;n<=67108863;n*=r)e++;e--,n=n/r|0;for(var o=t.length-i,h=o%e,s=Math.min(o,o-h)+i,u=0,f=i;f<s;f+=e)u=a(t,f,f+e,r),this.imuln(n),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==h){var l=1;for(u=a(t,f,t.length,r),f=0;f<h;f++)l*=r;this.imuln(l),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 7,368 bytes, line 1
1777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,r,i){i.negative=r.negative^t.negative;var e=t.length+r.length|0;i.length=e,e=e-1|0;var n=0|t.words[0],o=0|r.words[0],h=n*o,s=67108863&h,u=h/67108864|0;i.words[0]=s;for(var a=1;a<e;a++){for(var f=u>>>26,l=67108863&u,d=Math.min(a,r.length-1),m=Math.max(0,a-t.length+1);m<=d;m++){var c=a-m|0;f+=(h=(n=0|t.words[c])*(o=0|r.words[m])+l)/67108864|0,l=67108863&h}i.words[a]=0|l,u=0|f}return 0!==u?i.words[a]=0|u:i.length--,i.strip()}o.prototype.toString=function(t,r){var i;if(r=0|r||1,16===(t=t||10)||"hex"===t){i="";for(var n=0,o=0,h=0;h<this.length;h++){var s=this.words[h],u=(16777215&(s<<n|o)).toString(16);i=0!==(o=s>>>24-n&16777215)||h!==this.length-1?f[6-u.length]+u+i:u+i,(n+=2)>=26&&(n-=26,h--)}for(0!==o&&(i=o.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var a=l[t],m=d[t];i="";var c=this.clone();for(c.negative=0;!c.isZero();){var p=c.modn(m).toString(t);i=(c=c.idivn(m)).isZero()?p+i:f[a-p.length]+p+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}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,r){return e(void 0!==h),this.toArrayLike(h,t,r)},o.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},o.prototype.toArrayLike=function(t,r,i){var n=this.byteLength(),o=i||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"===r,a=new t(o),f=this.clone();if(u){for(s=0;!f.isZero();s++)h=f.andln(255),f.iushrn(8),a[s]=h;for(;s<o;s++)a[s]=0}else{for(s=0;s<o-n;s++)a[s]=0;for(s=0;!f.isZero();s++)h=f.andln(255),f.iushrn(8),a[o-s-1]=h}return a},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},o.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return 0==(8191&r)&&(i+=13,r>>>=13),0==(127&r)&&(i+=7,r>>>=7),0==(15&r)&&(i+=4,r>>>=4),0==(3&r)&&(i+=2,r>>>=2),0==(1&r)&&i++,i},o.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},o.prototype.ior=function(t){return e(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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 r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},o.prototype.iand=function(t){return e(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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 r,i;this.length>t.length?(r=this,i=t):(r=t,i=this);for(var e=0;e<i.length;e++)this.words[e]=r.words[e]^i.words[e];if(this!==r)for(;e<r.length;e++)this.words[e]=r.words[e];return this.length=r.length,this.strip()},o.prototype.ixor=function(t){return e(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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 r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var n=0;n<r;n++)this.words[n]=67108863&~this.words[n];return i>0&&(this.words[n]=~this.words[n]&67108863>>26-i),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,r){e("number"==typeof t&&t>=0);var i=t/26|0,n=t%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<n:this.words[i]&~(1<<n),this.strip()},o.prototype.iadd=function(t){var r,i,e;if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,e=t):(i=t,e=this);for(var n=0,o=0;o<e.length;o++)r=(0|i.words[o])+(0|e.words[o])+n,this.words[o]=67108863&r,n=r>>>26;for(;0!==n&&o<i.length;o++)r=(0|i.words[o])+n,this.words[o]=67108863&r,n=r>>>26;if(this.length=i.length,0!==n)this.words[this.length]=n,this.length++;else if(i!==this)for(;o<i.length;o++)this.words[o]=i.words[o];return this},o.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var i,e,n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(i=this,e=t):(i=t,e=this);for(var o=0,h=0;h<e.length;h++)o=(r=(0|i.words[h])-(0|e.words[h])+o)>>26,this.words[h]=67108863&r;for(;0!==o&&h<i.length;h++)o=(r=(0|i.words[h])+o)>>26,this.words[h]=67108863&r;if(0===o&&h<i.length&&i!==this)for(;h<i.length;h++)this.words[h]=i.words[h];return this.length=Math.max(this.length,h),i!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var c=function(t,r,i){var e,n,o,h=t.words,s=r.words,u=i.words,a=0,f=0|h[0],l=8191&f,d=f>>>13,m=0|h[1],c=8191&m,p=m>>>13,v=0|h[2],g=8191&v,y=v>>>13,M=0|h[3],w=8191&M,b=M>>>13,_=0|h[4],A=8191&_,k=_>>>13,x=0|h[5],B=8191&x,K=x>>>13,S=0|h[6],P=8191&S,E=S>>>13,L=0|h[7],C=8191&L,T=L>>>13,R=0|h[8],I=8191&R,O=R>>>13,N=0|h[9],Z=8191&N,U=N>>>13,j=0|s[0],V=8191&j,q=j>>>13,z=0|s[1],H=8191&z,D=z>>>13,F=0|s[2],J=8191&F,Y=F>>>13,W=0|s[3],X=8191&W,G=W>>>13,$=0|s[4],Q=8191&$,tt=$>>>13,rt=0|s[5],it=8191&rt,et=rt>>>13,nt=0|s[6],ot=8191&nt,ht=nt>>>
vendor: 6,973 bytes, line 1
113,st=0|s[7],ut=8191&st,at=st>>>13,ft=0|s[8],lt=8191&ft,dt=ft>>>13,mt=0|s[9],ct=8191&mt,pt=mt>>>13;i.negative=t.negative^r.negative,i.length=19;var vt=(a+(e=Math.imul(l,V))|0)+((8191&(n=(n=Math.imul(l,q))+Math.imul(d,V)|0))<<13)|0;a=((o=Math.imul(d,q))+(n>>>13)|0)+(vt>>>26)|0,vt&=67108863,e=Math.imul(c,V),n=(n=Math.imul(c,q))+Math.imul(p,V)|0,o=Math.imul(p,q);var gt=(a+(e=e+Math.imul(l,H)|0)|0)+((8191&(n=(n=n+Math.imul(l,D)|0)+Math.imul(d,H)|0))<<13)|0;a=((o=o+Math.imul(d,D)|0)+(n>>>13)|0)+(gt>>>26)|0,gt&=67108863,e=Math.imul(g,V),n=(n=Math.imul(g,q))+Math.imul(y,V)|0,o=Math.imul(y,q),e=e+Math.imul(c,H)|0,n=(n=n+Math.imul(c,D)|0)+Math.imul(p,H)|0,o=o+Math.imul(p,D)|0;var yt=(a+(e=e+Math.imul(l,J)|0)|0)+((8191&(n=(n=n+Math.imul(l,Y)|0)+Math.imul(d,J)|0))<<13)|0;a=((o=o+Math.imul(d,Y)|0)+(n>>>13)|0)+(yt>>>26)|0,yt&=67108863,e=Math.imul(w,V),n=(n=Math.imul(w,q))+Math.imul(b,V)|0,o=Math.imul(b,q),e=e+Math.imul(g,H)|0,n=(n=n+Math.imul(g,D)|0)+Math.imul(y,H)|0,o=o+Math.imul(y,D)|0,e=e+Math.imul(c,J)|0,n=(n=n+Math.imul(c,Y)|0)+Math.imul(p,J)|0,o=o+Math.imul(p,Y)|0;var Mt=(a+(e=e+Math.imul(l,X)|0)|0)+((8191&(n=(n=n+Math.imul(l,G)|0)+Math.imul(d,X)|0))<<13)|0;a=((o=o+Math.imul(d,G)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,e=Math.imul(A,V),n=(n=Math.imul(A,q))+Math.imul(k,V)|0,o=Math.imul(k,q),e=e+Math.imul(w,H)|0,n=(n=n+Math.imul(w,D)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,D)|0,e=e+Math.imul(g,J)|0,n=(n=n+Math.imul(g,Y)|0)+Math.imul(y,J)|0,o=o+Math.imul(y,Y)|0,e=e+Math.imul(c,X)|0,n=(n=n+Math.imul(c,G)|0)+Math.imul(p,X)|0,o=o+Math.imul(p,G)|0;var wt=(a+(e=e+Math.imul(l,Q)|0)|0)+((8191&(n=(n=n+Math.imul(l,tt)|0)+Math.imul(d,Q)|0))<<13)|0;a=((o=o+Math.imul(d,tt)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,e=Math.imul(B,V),n=(n=Math.imul(B,q))+Math.imul(K,V)|0,o=Math.imul(K,q),e=e+Math.imul(A,H)|0,n=(n=n+Math.imul(A,D)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,D)|0,e=e+Math.imul(w,J)|0,n=(n=n+Math.imul(w,Y)|0)+Math.imul(b,J)|0,o=o+Math.imul(b,Y)|0,e=e+Math.imul(g,X)|0,n=(n=n+Math.imul(g,G)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,G)|0,e=e+Math.imul(c,Q)|0,n=(n=n+Math.imul(c,tt)|0)+Math.imul(p,Q)|0,o=o+Math.imul(p,tt)|0;var bt=(a+(e=e+Math.imul(l,it)|0)|0)+((8191&(n=(n=n+Math.imul(l,et)|0)+Math.imul(d,it)|0))<<13)|0;a=((o=o+Math.imul(d,et)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,e=Math.imul(P,V),n=(n=Math.imul(P,q))+Math.imul(E,V)|0,o=Math.imul(E,q),e=e+Math.imul(B,H)|0,n=(n=n+Math.imul(B,D)|0)+Math.imul(K,H)|0,o=o+Math.imul(K,D)|0,e=e+Math.imul(A,J)|0,n=(n=n+Math.imul(A,Y)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,Y)|0,e=e+Math.imul(w,X)|0,n=(n=n+Math.imul(w,G)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,G)|0,e=e+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,tt)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,tt)|0,e=e+Math.imul(c,it)|0,n=(n=n+Math.imul(c,et)|0)+Math.imul(p,it)|0,o=o+Math.imul(p,et)|0;var _t=(a+(e=e+Math.imul(l,ot)|0)|0)+((8191&(n=(n=n+Math.imul(l,ht)|0)+Math.imul(d,ot)|0))<<13)|0;a=((o=o+Math.imul(d,ht)|0)+(n>>>13)|0)+(_t>>>26)|0,_t&=67108863,e=Math.imul(C,V),n=(n=Math.imul(C,q))+Math.imul(T,V)|0,o=Math.imul(T,q),e=e+Math.imul(P,H)|0,n=(n=n+Math.imul(P,D)|0)+Math.imul(E,H)|0,o=o+Math.imul(E,D)|0,e=e+Math.imul(B,J)|0,n=(n=n+Math.imul(B,Y)|0)+Math.imul(K,J)|0,o=o+Math.imul(K,Y)|0,e=e+Math.imul(A,X)|0,n=(n=n+Math.imul(A,G)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,G)|0,e=e+Math.imul(w,Q)|0,n=(n=n+Math.imul(w,tt)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,tt)|0,e=e+Math.imul(g,it)|0,n=(n=n+Math.imul(g,et)|0)+Math.imul(y,it)|0,o=o+Math.imul(y,et)|0,e=e+Math.imul(c,ot)|0,n=(n=n+Math.imul(c,ht)|0)+Math.imul(p,ot)|0,o=o+Math.imul(p,ht)|0;var At=(a+(e=e+Math.imul(l,ut)|0)|0)+((8191&(n=(n=n+Math.imul(l,at)|0)+Math.imul(d,ut)|0))<<13)|0;a=((o=o+Math.imul(d,at)|0)+(n>>>13)|0)+(At>>>26)|0,At&=67108863,e=Math.imul(I,V),n=(n=Math.imul(I,q))+Math.imul(O,V)|0,o=Math.imul(O,q),e=e+Math.imul(C,H)|0,n=(n=n+Math.imul(C,D)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,D)|0,e=e+Math.imul(P,J)|0,n=(n=n+Math.imul(P,Y)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,Y)|0,e=e+Math.imul(B,X)|0,n=(n=n+Math.imul(B,G)|0)+Math.imul(K,X)|0,o=o+Math.imul(K,G)|0,e=e+Math.imul(A,Q)|0,n=(n=n+Math.imul(A,tt)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,tt)|0,e=e+Math.imul(w,it)|0,n=(n=n+Math.imul(w,et)|0)+Math.imul(b,it)|0,o=o+Math.imul(b,et)|0,e=e+Math.imul(g,ot)|0,n=(n=n+Math.imul(g,ht)|0)+Math.imul(y,ot)|0,o=o+Math.imul(y,ht)|0,e=e+Math.imul(c,ut)|0,n=(n=n+Math.imul(c,at)|0)+Math.imul(p,ut)|0,o=o+Math.imul(p,at)|0;var kt=(a+(e=e+Math.imul(l,lt)|0)|0)+((8191&(n=(n=n+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;a=((o=o+Math.imul(d,dt)|0)+(n>>>13)|0)+(kt>>>26)|0,kt&=67108863,e=Math.imul(Z,V),n=(n=Math.imul(Z,q))+Math.imul(U,V)|0,o=Math.imul(U,q),e=e+Math.imul(I,H)|0,n=(n=n+Math.imul(I,D)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,D)|0,e=e+Math.imul(C,J)|0,n=(n=n+Math.imul(C,Y)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,Y)|0,e=e+Math.imul(P,X)|0,n=(n=n+Math.imul(P,G)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,G)|0,e=e+Math.imul(B,Q)|0,n=(n=n+Math.imul(B,tt)|0)+Math.imul(K,Q)|0,o=o+Math.imul(K,tt)|0,e=e+Math.imul(A,it)|0,n=(n=n+Math.imul(A,et)|0)+Math.imul(k,it)|0,o=o+Math.imul(k,et)|0,e=e+Math.imul(w,ot)|0,n=(n=n+Math.imul(w,ht)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,ht)|0,e=e+Math.imul(g,ut)|0,n=(n=n+Math.imul(g,at)|0)+Math.imul(y,ut)|0,o=o+Math.imul(y,at)|0,e=e+Math.imul(c,lt)|0,n=(n=n+Math.imul(c,dt)|0)+Math.imul(p,lt)|0,o=o+Math.imul(p,dt)|0;var xt=(a+(e=e+Math.imul(l,ct)|0)|0)+((8191&(n=(n=n+Math.imul(l,pt)|0)+Math.imul(d,ct)|0))<<13)|0;a=((o=o+Math.imul(d,pt)|0)+(n>>>13)|0)+(xt>>>26)|0,xt&=67108863,e=Math.imul(Z,H),n=(n=Math.imul(Z,D))+Math.imul(U,H)|0,o=Math.imul(U,D),e=e+Math.imul(I,J)|0,n=(n=n+Math.imul(I,Y)|0)+Math.imul(O,J)|0,o=o+Math.imul(O,Y)|0,e=e+Math.imul(C,X)|0,n=(n=n+Math.imul(C,G)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,G)|0,e=e+Math.imul(P,Q)|0,n=(n=n+Math.imul(P,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,e=e+Math.imul(B,it)|0,n=(n=n+Math.imul(B,et)|0)+Math.imul(K,it)|0,o=o+Math.imul(K,et)|0,e=e+Math.imul(A,ot)|0,n=(n=n+Math.imul(A,ht)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,ht)|0,e=e+Math.imul(w,ut)|0,n=(n=n+Math.imul(w,at)|0)+Math.imul(b,ut)|0,o=o+Math.imul(b,at)|0,e=e+Math.imul(g,lt)|0,n=(n=n+Math.imul(g,dt)|0)+Math.imul(y,lt)|0,o=o+Math.imul(y,dt)|0;var Bt=(a+(e=e+Math.imul(c,ct)|0)|0)+((8191&(n=(n=n+Math.imul(c,pt)|0)+Math.imul(p,ct)|0))<<13)|0;a=((o=o+Math.imul(p,pt)|0)+(n>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,e=Math.imul(Z,J),n=(n=Math.imul(Z,Y))+Math.imul(U,J)|0,o=Math.imul(U,Y),e=e+Math.imul(I,X)|0,n=(n=n+Math.imul(I,G)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,G)|0,e=e+Math.imul(C,Q)|0,n=(n=n+Math.imul(C,tt)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,tt)|0,e=e+Math.imul(P,it)|0,n=(n=n+Math.imul(P,et)|0)+Math.imul(E,it)|0,o=o+Math.imul(E,et)|0,e=e+Math.imul(B,ot)|0,n=(n=n+Math.imul(B,ht)|0)+Math.imul(K,ot)|0,o=o+Math.imul(K,ht)|0,e=e+Math.imul(A,ut)|0,n=(n=n+Math.imul(A,at)|0)+Math.imul(k,ut)|0,o=o+Math.imul(k,at)|0,e=e+Math.imul(w,lt)|0,n=(n=n+Math.imul(w,dt)|0)+Math.imul(b,lt)|0,o=o+Math.imul(b,dt)|0;var Kt=(a+(e=e+Math.imul(g,ct)|0)|0)+((8191&(n=(n=n+Math.imul(g,pt)|0)+Math.imul(y,
vendor: 5,642 bytes, line 1
1ct)|0))<<13)|0;a=((o=o+Math.imul(y,pt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,e=Math.imul(Z,X),n=(n=Math.imul(Z,G))+Math.imul(U,X)|0,o=Math.imul(U,G),e=e+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,tt)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,tt)|0,e=e+Math.imul(C,it)|0,n=(n=n+Math.imul(C,et)|0)+Math.imul(T,it)|0,o=o+Math.imul(T,et)|0,e=e+Math.imul(P,ot)|0,n=(n=n+Math.imul(P,ht)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,ht)|0,e=e+Math.imul(B,ut)|0,n=(n=n+Math.imul(B,at)|0)+Math.imul(K,ut)|0,o=o+Math.imul(K,at)|0,e=e+Math.imul(A,lt)|0,n=(n=n+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var St=(a+(e=e+Math.imul(w,ct)|0)|0)+((8191&(n=(n=n+Math.imul(w,pt)|0)+Math.imul(b,ct)|0))<<13)|0;a=((o=o+Math.imul(b,pt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863,e=Math.imul(Z,Q),n=(n=Math.imul(Z,tt))+Math.imul(U,Q)|0,o=Math.imul(U,tt),e=e+Math.imul(I,it)|0,n=(n=n+Math.imul(I,et)|0)+Math.imul(O,it)|0,o=o+Math.imul(O,et)|0,e=e+Math.imul(C,ot)|0,n=(n=n+Math.imul(C,ht)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,ht)|0,e=e+Math.imul(P,ut)|0,n=(n=n+Math.imul(P,at)|0)+Math.imul(E,ut)|0,o=o+Math.imul(E,at)|0,e=e+Math.imul(B,lt)|0,n=(n=n+Math.imul(B,dt)|0)+Math.imul(K,lt)|0,o=o+Math.imul(K,dt)|0;var Pt=(a+(e=e+Math.imul(A,ct)|0)|0)+((8191&(n=(n=n+Math.imul(A,pt)|0)+Math.imul(k,ct)|0))<<13)|0;a=((o=o+Math.imul(k,pt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,e=Math.imul(Z,it),n=(n=Math.imul(Z,et))+Math.imul(U,it)|0,o=Math.imul(U,et),e=e+Math.imul(I,ot)|0,n=(n=n+Math.imul(I,ht)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,ht)|0,e=e+Math.imul(C,ut)|0,n=(n=n+Math.imul(C,at)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,at)|0,e=e+Math.imul(P,lt)|0,n=(n=n+Math.imul(P,dt)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,dt)|0;var Et=(a+(e=e+Math.imul(B,ct)|0)|0)+((8191&(n=(n=n+Math.imul(B,pt)|0)+Math.imul(K,ct)|0))<<13)|0;a=((o=o+Math.imul(K,pt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,e=Math.imul(Z,ot),n=(n=Math.imul(Z,ht))+Math.imul(U,ot)|0,o=Math.imul(U,ht),e=e+Math.imul(I,ut)|0,n=(n=n+Math.imul(I,at)|0)+Math.imul(O,ut)|0,o=o+Math.imul(O,at)|0,e=e+Math.imul(C,lt)|0,n=(n=n+Math.imul(C,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var Lt=(a+(e=e+Math.imul(P,ct)|0)|0)+((8191&(n=(n=n+Math.imul(P,pt)|0)+Math.imul(E,ct)|0))<<13)|0;a=((o=o+Math.imul(E,pt)|0)+(n>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,e=Math.imul(Z,ut),n=(n=Math.imul(Z,at))+Math.imul(U,ut)|0,o=Math.imul(U,at),e=e+Math.imul(I,lt)|0,n=(n=n+Math.imul(I,dt)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,dt)|0;var Ct=(a+(e=e+Math.imul(C,ct)|0)|0)+((8191&(n=(n=n+Math.imul(C,pt)|0)+Math.imul(T,ct)|0))<<13)|0;a=((o=o+Math.imul(T,pt)|0)+(n>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,e=Math.imul(Z,lt),n=(n=Math.imul(Z,dt))+Math.imul(U,lt)|0,o=Math.imul(U,dt);var Tt=(a+(e=e+Math.imul(I,ct)|0)|0)+((8191&(n=(n=n+Math.imul(I,pt)|0)+Math.imul(O,ct)|0))<<13)|0;a=((o=o+Math.imul(O,pt)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Rt=(a+(e=Math.imul(Z,ct))|0)+((8191&(n=(n=Math.imul(Z,pt))+Math.imul(U,ct)|0))<<13)|0;return a=((o=Math.imul(U,pt))+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,u[0]=vt,u[1]=gt,u[2]=yt,u[3]=Mt,u[4]=wt,u[5]=bt,u[6]=_t,u[7]=At,u[8]=kt,u[9]=xt,u[10]=Bt,u[11]=Kt,u[12]=St,u[13]=Pt,u[14]=Et,u[15]=Lt,u[16]=Ct,u[17]=Tt,u[18]=Rt,0!==a&&(u[19]=a,i.length++),i};function p(t,r,i){return(new v).mulp(t,r,i)}function v(t,r){this.x=t,this.y=r}Math.imul||(c=m),o.prototype.mulTo=function(t,r){var i,e=this.length+t.length;return i=10===this.length&&10===t.length?c(this,t,r):e<63?m(this,t,r):e<1024?function(t,r,i){i.negative=r.negative^t.negative,i.length=t.length+r.length;for(var e=0,n=0,o=0;o<i.length-1;o++){var h=n;n=0;for(var s=67108863&e,u=Math.min(o,r.length-1),a=Math.max(0,o-t.length+1);a<=u;a++){var f=o-a,l=(0|t.words[f])*(0|r.words[a]),d=67108863&l;s=67108863&(d=d+s|0),n+=(h=(h=h+(l/67108864|0)|0)+(d>>>26)|0)>>>26,h&=67108863}i.words[o]=s,e=h,h=n}return 0!==e?i.words[o]=e:i.length--,i.strip()}(this,t,r):p(this,t,r),i},v.prototype.makeRBT=function(t){for(var r=new Array(t),i=o.prototype._countBits(t)-1,e=0;e<t;e++)r[e]=this.revBin(e,i,t);return r},v.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var e=0,n=0;n<r;n++)e|=(1&t)<<r-n-1,t>>=1;return e},v.prototype.permute=function(t,r,i,e,n,o){for(var h=0;h<o;h++)e[h]=r[t[h]],n[h]=i[t[h]]},v.prototype.transform=function(t,r,i,e,n,o){this.permute(o,t,r,i,e,n);for(var h=1;h<n;h<<=1)for(var s=h<<1,u=Math.cos(2*Math.PI/s),a=Math.sin(2*Math.PI/s),f=0;f<n;f+=s)for(var l=u,d=a,m=0;m<h;m++){var c=i[f+m],p=e[f+m],v=i[f+m+h],g=e[f+m+h],y=l*v-d*g;g=l*g+d*v,v=y,i[f+m]=c+v,e[f+m]=p+g,i[f+m+h]=c-v,e[f+m+h]=p-g,m!==s&&(y=u*l-a*d,d=u*d+a*l,l=y)}},v.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),e=1&i,n=0;for(i=i/2|0;i;i>>>=1)n++;return 1<<n+1+e},v.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var e=0;e<i/2;e++){var n=t[e];t[e]=t[i-e-1],t[i-e-1]=n,n=r[e],r[e]=-r[i-e-1],r[i-e-1]=-n}},v.prototype.normalize13b=function(t,r){for(var i=0,e=0;e<r/2;e++){var n=8192*Math.round(t[2*e+1]/r)+Math.round(t[2*e]/r)+i;t[e]=67108863&n,i=n<67108864?0:n/67108864|0}return t},v.prototype.convert13b=function(t,r,i,n){for(var o=0,h=0;h<r;h++)o+=0|t[h],i[2*h]=8191&o,o>>>=13,i[2*h+1]=8191&o,o>>>=13;for(h=2*r;h<n;++h)i[h]=0;e(0===o),e(0==(-8192&o))},v.prototype.stub=function(t){for(var r=new Array(t),i=0;i<t;i++)r[i]=0;return r},v.prototype.mulp=function(t,r,i){var e=2*this.guessLen13b(t.length,r.length),n=this.makeRBT(e),o=this.stub(e),h=new Array(e),s=new Array(e),u=new Array(e),a=new Array(e),f=new Array(e),l=new Array(e),d=i.words;d.length=e,this.convert13b(t.words,t.length,h,e),this.convert13b(r.words,r.length,a,e),this.transform(h,o,s,u,e,n),this.transform(a,o,f,l,e,n);for(var m=0;m<e;m++){var c=s[m]*f[m]-u[m]*l[m];u[m]=s[m]*l[m]+u[m]*f[m],s[m]=c}
vendor: 14,132 bytes, line 1
1return this.conjugate(s,u,e),this.transform(s,u,d,o,e,n),this.conjugate(d,o,e),this.normalize13b(d,e),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},o.prototype.mul=function(t){var r=new o(null);return r.words=new Array(this.length+t.length),this.mulTo(t,r)},o.prototype.mulf=function(t){var r=new o(null);return r.words=new Array(this.length+t.length),p(this,t,r)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){e("number"==typeof t),e(t<67108864);for(var r=0,i=0;i<this.length;i++){var n=(0|this.words[i])*t,o=(67108863&n)+(67108863&r);r>>=26,r+=n/67108864|0,r+=o>>>26,this.words[i]=67108863&o}return 0!==r&&(this.words[i]=r,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 r=function(t){for(var r=new Array(t.bitLength()),i=0;i<r.length;i++){var e=i/26|0,n=i%26;r[i]=(t.words[e]&1<<n)>>>n}return r}(t);if(0===r.length)return new o(1);for(var i=this,e=0;e<r.length&&0===r[e];e++,i=i.sqr());if(++e<r.length)for(var n=i.sqr();e<r.length;e++,n=n.sqr())0!==r[e]&&(i=i.mul(n));return i},o.prototype.iushln=function(t){e("number"==typeof t&&t>=0);var r,i=t%26,n=(t-i)/26,o=67108863>>>26-i<<26-i;if(0!==i){var h=0;for(r=0;r<this.length;r++){var s=this.words[r]&o,u=(0|this.words[r])-s<<i;this.words[r]=u|h,h=s>>>26-i}h&&(this.words[r]=h,this.length++)}if(0!==n){for(r=this.length-1;r>=0;r--)this.words[r+n]=this.words[r];for(r=0;r<n;r++)this.words[r]=0;this.length+=n}return this.strip()},o.prototype.ishln=function(t){return e(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,r,i){var n;e("number"==typeof t&&t>=0),n=r?(r-r%26)/26:0;var o=t%26,h=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=i;if(n-=h,n=Math.max(0,n),u){for(var a=0;a<h;a++)u.words[a]=this.words[a];u.length=h}if(0===h);else if(this.length>h)for(this.length-=h,a=0;a<this.length;a++)this.words[a]=this.words[a+h];else this.words[0]=0,this.length=1;var f=0;for(a=this.length-1;a>=0&&(0!==f||a>=n);a--){var l=0|this.words[a];this.words[a]=f<<26-o|l>>>o,f=l&s}return u&&0!==f&&(u.words[u.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,r,i){return e(0===this.negative),this.iushrn(t,r,i)},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 r=t%26,i=(t-r)/26,n=1<<r;return!(this.length<=i)&&!!(this.words[i]&n)},o.prototype.imaskn=function(t){e("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;if(e(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==r&&i++,this.length=Math.min(i,this.length),0!==r){var n=67108863^67108863>>>r<<r;this.words[this.length-1]&=n}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return e("number"==typeof t),e(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},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 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){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,r,i){var n,o,h=t.length+i;this._expand(h);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+i])+s;var u=(0|t.words[n])*r;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[n+i]=67108863&o}for(;n<this.length-i;n++)s=(o=(0|this.words[n+i])+s)>>26,this.words[n+i]=67108863&o;if(0===s)return this.strip();for(e(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,r){var i=(this.length,t.length),e=this.clone(),n=t,h=0|n.words[n.length-1];0!==(i=26-this._countBits(h))&&(n=n.ushln(i),e.iushln(i),h=0|n.words[n.length-1]);var s,u=e.length-n.length;if("mod"!==r){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var a=0;a<s.length;a++)s.words[a]=0}var f=e.clone()._ishlnsubmul(n,1,u);0===f.negative&&(e=f,s&&(s.words[u]=1));for(var l=u-1;l>=0;l--){var d=67108864*(0|e.words[n.length+l])+(0|e.words[n.length+l-1]);for(d=Math.min(d/h|0,67108863),e._ishlnsubmul(n,d,l);0!==e.negative;)d--,e.negative=0,e._ishlnsubmul(n,1,l),e.isZero()||(e.negative^=1);s&&(s.words[l]=d)}return s&&s.strip(),e.strip(),"div"!==r&&0!==i&&e.iushrn(i),{div:s||null,mod:e}},o.prototype.divmod=function(t,r,i){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,r),"mod"!==r&&(n=s.div.neg()),"div"!==r&&(h=s.mod.neg(),i&&0!==h.negative&&h.iadd(t)),{div:n,mod:h}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),r),"mod"!==r&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),r),"div"!==r&&(h=s.mod.neg(),i&&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"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{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,r);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 r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,e=t.ushrn(1),n=t.andln(1),o=i.cmp(e);return o<0||1===n&&0===o?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(t){e(t<=67108863);for(var r=(1<<26)%t,i=0,n=this.length-1;n>=0;n--)i=(r*i+(0|this.words[n]))%t;return i},o.prototype.idivn=function(t){e(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var n=(0|this.words[i])+67108864*r;this.words[i]=n/t|0,r=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 r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var n=new o(1),h=new o(0),s=new o(0),u=new o(1),a=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++a;for(var f=i.clone(),l=r.clone();!r.isZero();){for(var d=0,m=1;0==(r.words[0]&m)&&d<26;++d,m<<=1);if(d>0)for(r.iushrn(d);d-- >0;)(n.isOdd()||h.isOdd())&&(n.iadd(f),h.isub(l)),n.iushrn(1),h.iushrn(1);for(var c=0,p=1;0==(i.words[0]&p)&&c<26;++c,p<<=1);if(c>0)for(i.iushrn(c);c-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(f),u.isub(l)),s.iushrn(1),u.iushrn(1);r.cmp(i)>=0?(r.isub(i),n.isub(s),h.isub(u)):(i.isub(r),s.isub(n),u.isub(h))}return{a:s,b:u,gcd:i.iushln(a)}},o.prototype._invmp=function(t){e(0===t.negative),e(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var n,h=new o(1),s=new o(0),u=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var a=0,f=1;0==(r.words[0]&f)&&a<26;++a,f<<=1);if(a>0)for(r.iushrn(a);a-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);for(var l=0,d=1;0==(i.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(i.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);r.cmp(i)>=0?(r.isub(i),h.isub(s)):(i.isub(r),s.isub(h))}return(n=0===r.cmpn(1)?h:s).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 r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var e=0;r.isEven()&&i.isEven();e++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var n=r.cmp(i);if(n<0){var o=r;r=i,i=o}else if(0===n||0===i.cmpn(1))break;r.isub(i)}return i.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 r=t%26,i=(t-r)/26,n=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=n,this;for(var o=n,h=i;0!==o&&h<this.length;h++){var s=0|this.words[h];o=(s+=o)>>>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 r,i=t<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)r=1;else{i&&(t=-t),e(t<=67108863,"Number is too big");var n=0|this.words[0];r=n===t?0:n<t?-1:1}return 0!==this.negative?0|-r:r},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var e=0|this.words[i],n=0|t.words[i];if(e!==n){e<n?r=-1:e>n&&(r=1);break}}return r},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 A(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 g={k256:null,p224:null,p192:null,p25519:null};function y(t,r){this.name=t,this.p=new o(r,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var r=o._prime(t);this.m=r.p,this.prime=r}else e(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){A.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)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var r,i=t;do{this.split(i,this.tmp),r=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(r>this.n);var e=r<this.n?-1:i.ucmp(this.p);return 0===e?(i.words[0]=0,i.length=1):e>0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},y.prototype.split=function(t,r){t.iushrn(this.n,0,r)},y.prototype.imulK=function(t){return t.imul(this.k)},n(M,y),M.prototype.split=function(t,r){for(var i=4194303,e=Math.min(t.length,9),n=0;n<e;
vendor: 4,588 bytes, line 1
1n++)r.words[n]=t.words[n];if(r.length=e,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(r.words[r.length++]=o&i,n=10;n<t.length;n++){var h=0|t.words[n];t.words[n-10]=(h&i)<<4|o>>>22,o=h}o>>>=22,t.words[n-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},M.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var e=0|t.words[i];r+=977*e,t.words[i]=67108863&r,r=64*e+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},n(w,y),n(b,y),n(_,y),_.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var e=19*(0|t.words[i])+r,n=67108863&e;e>>>=26,t.words[i]=n,r=e}return 0!==r&&(t.words[t.length++]=r),t},o._prime=function(t){if(g[t])return g[t];var r;if("k256"===t)r=new M;else if("p224"===t)r=new w;else if("p192"===t)r=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);r=new _}return g[t]=r,r},A.prototype._verify1=function(t){e(0===t.negative,"red works only with positives"),e(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,r){e(0==(t.negative|r.negative),"red works only with positives"),e(t.red&&t.red===r.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},A.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},A.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},A.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},A.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},A.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},A.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(e(r%2==1),3===r){var i=this.m.add(new o(1)).iushrn(2);return this.pow(t,i)}for(var n=this.m.subn(1),h=0;!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),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,a).cmp(u);)f.redIAdd(u);for(var l=this.pow(f,n),d=this.pow(t,n.addn(1).iushrn(1)),m=this.pow(t,n),c=h;0!==m.cmp(s);){for(var p=m,v=0;0!==p.cmp(s);v++)p=p.redSqr();e(v<c);var g=this.pow(l,new o(1).iushln(c-v-1));d=d.redMul(g),l=g.redSqr(),m=m.redMul(l),c=v}return d},A.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},A.prototype.pow=function(t,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return t.clone();var i=new Array(16);i[0]=new o(1).toRed(this),i[1]=t;for(var e=2;e<i.length;e++)i[e]=this.mul(i[e-1],t);var n=i[0],h=0,s=0,u=r.bitLength()%26;for(0===u&&(u=26),e=r.length-1;e>=0;e--){for(var a=r.words[e],f=u-1;f>=0;f--){var l=a>>f&1;n!==i[0]&&(n=this.sqr(n)),0!==l||0!==h?(h<<=1,h|=l,(4===++s||0===e&&0===f)&&(n=this.mul(n,i[h]),s=0,h=0)):s=0}u=26}return n},A.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},A.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},o.mont=function(t){return new k(t)},n(k,A),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},k.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),e=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=i.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)},k.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new o(0)._forceRed(this);var i=t.mul(r),e=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=i.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)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=i.nmd(t),this)},31125:(t,r,i)=>{"use strict";var e=i(48764).Buffer;
vendor: 4,724 bytes, line 1
1Object.defineProperty(r,"__esModule",{value:!0}),r.importPublic=r.privateToPublic=r.privateToAddress=r.publicToAddress=r.pubToAddress=r.isValidPublic=r.isValidPrivate=r.isPrecompiled=r.generateAddress2=r.generateAddress=r.isValidChecksumAddress=r.toChecksumAddress=r.isZeroAddress=r.isValidAddress=r.zeroAddress=void 0;var n=i(69282),o=i(80884),h=i(40945),s=i(80999),u=i(37860),a=i(79562);r.zeroAddress=function(){var t=u.zeros(20);return u.bufferToHex(t)},r.isValidAddress=function(t){return/^0x[0-9a-fA-F]{40}$/.test(t)},r.isZeroAddress=function(t){return r.zeroAddress()===u.addHexPrefix(t)},r.toChecksumAddress=function(t,r){t=o.stripHexPrefix(t).toLowerCase();for(var i=void 0!==r?r.toString()+"0x":"",e=a.keccak(i+t).toString("hex"),n="0x",h=0;h<t.length;h++)parseInt(e[h],16)>=8?n+=t[h].toUpperCase():n+=t[h];return n},r.isValidChecksumAddress=function(t,i){return r.isValidAddress(t)&&r.toChecksumAddress(t,i)===t},r.generateAddress=function(t,r){t=u.toBuffer(t);var i=new s(r);return i.isZero()?a.rlphash([t,null]).slice(-20):a.rlphash([t,e.from(i.toArray())]).slice(-20)},r.generateAddress2=function(t,r,i){var o=u.toBuffer(t),h=u.toBuffer(r),s=u.toBuffer(i);return n(20===o.length),n(32===h.length),a.keccak256(e.concat([e.from("ff","hex"),o,h,a.keccak256(s)])).slice(-20)},r.isPrecompiled=function(t){var r=u.unpad(t);return 1===r.length&&r[0]>=1&&r[0]<=8},r.isValidPrivate=function(t){return h.privateKeyVerify(t)},r.isValidPublic=function(t,r){return void 0===r&&(r=!1),64===t.length?h.publicKeyVerify(e.concat([e.from([4]),t])):!!r&&h.publicKeyVerify(t)},r.pubToAddress=function(t,r){return void 0===r&&(r=!1),t=u.toBuffer(t),r&&64!==t.length&&(t=h.publicKeyConvert(t,!1).slice(1)),n(64===t.length),a.keccak(t).slice(-20)},r.publicToAddress=r.pubToAddress,r.privateToAddress=function(t){return r.publicToAddress(r.privateToPublic(t))},r.privateToPublic=function(t){return t=u.toBuffer(t),h.publicKeyCreate(t,!1).slice(1)},r.importPublic=function(t){return 64!==(t=u.toBuffer(t)).length&&(t=h.publicKeyConvert(t,!1).slice(1)),t}},37860:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0}),r.baToJSON=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.bufferToHex=r.bufferToInt=r.toBuffer=r.stripZeros=r.unpad=r.setLengthRight=r.setLength=r.setLengthLeft=r.zeros=void 0;var n=i(80884),o=i(80999);r.zeros=function(t){return e.allocUnsafe(t).fill(0)},r.setLengthLeft=function(t,i,e){void 0===e&&(e=!1);var n=r.zeros(i);return t=r.toBuffer(t),e?t.length<i?(t.copy(n),n):t.slice(0,i):t.length<i?(t.copy(n,i-t.length),n):t.slice(-i)},r.setLength=r.setLengthLeft,r.setLengthRight=function(t,i){return r.setLength(t,i,!0)},r.unpad=function(t){for(var r=(t=n.stripHexPrefix(t))[0];t.length>0&&"0"===r.toString();)r=(t=t.slice(1))[0];return t},r.stripZeros=r.unpad,r.toBuffer=function(t){if(!e.isBuffer(t))if(Array.isArray(t))t=e.from(t);else if("string"==typeof t){if(!n.isHexString(t))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: "+t);t=e.from(n.padToEven(n.stripHexPrefix(t)),"hex")}else if("number"==typeof t)t=n.intToBuffer(t);else if(null==t)t=e.allocUnsafe(0);else if(o.isBN(t))t=t.toArrayLike(e);else{if(!t.toArray)throw new Error("invalid type");t=e.from(t.toArray())}return t},r.bufferToInt=function(t){return new o(r.toBuffer(t)).toNumber()},r.bufferToHex=function(t){return"0x"+(t=r.toBuffer(t)).toString("hex")},r.fromSigned=function(t){return new o(t).fromTwos(256)},r.toUnsigned=function(t){return e.from(t.toTwos(256).toArray())},r.addHexPrefix=function(t){return"string"!=typeof t||n.isHexPrefixed(t)?t:"0x"+t},r.baToJSON=function(t){if(e.isBuffer(t))return"0x"+t.toString("hex");if(t instanceof Array){for(var i=[],n=0;n<t.length;n++)i.push(r.baToJSON(t[n]));return i}}},76323:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0}),r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.MAX_INTEGER=void 0;var n=i(80999);r.MAX_INTEGER=new n("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),r.TWO_POW256=new n("10000000000000000000000000000000000000000000000000000000000000000",16),r.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=e.from(r.KECCAK256_NULL_S,"hex"),r.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=e.from(r.KECCAK256_RLP_ARRAY_S,"hex"),r.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=e.from(r.KECCAK256_RLP_S,"hex")},79562:(t,r,i)=>{"use strict";var e=i(48764).Buffer;
1Object.defineProperty(r,"__esModule",{value:!0}),r.rlphash=r.ripemd160=r.sha256=r.keccak256=r.keccak=void 0;var n=i(82192),o=n.keccak224,h=n.keccak384,s=n.keccak256,u=n.keccak512,a=i(23482),f=i(80884),l=i(51675),d=i(37860);r.keccak=function(t,r){switch(void 0===r&&(r=256),t="string"!=typeof t||f.isHexString(t)?d.toBuffer(t):e.from(t,"utf8"),r||(r=256),r){case 224:return o(t);case 256:return s(t);case 384:return h(t);case 512:return u(t);default:throw new Error("Invald algorithm: keccak"+r)}},r.keccak256=function(t){return r.keccak(t)},r.sha256=function(t){return t=d.toBuffer(t),a("sha256").update(t).digest()},r.ripemd160=function(t,r){t=d.toBuffer(t);var i=a("rmd160").update(t).digest();return!0===r?d.setLength(i,32):i},r.rlphash=function(t){return r.keccak(l.encode(t))}},46929:function(t,r,i){"use strict";var e=this&&this.__createBinding||(Object.create?function(t,r,i,e){void 0===e&&(e=i),Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[i]}})}:function(t,r,i,e){void 0===e&&(e=i),t[e]=r[i]}),n=this&&this.__exportStar||function(t,r){for(var i in t)"default"===i||r.hasOwnProperty(i)||e(r,t,i)};Object.defineProperty(r,"__esModule",{value:!0}),r.secp256k1=r.rlp=r.BN=void 0;var o=i(40945);r.secp256k1=o;var h=i(80884),s=i(80999);r.BN=s;var u=i(51675);r.rlp=u,Object.assign(r,h),n(i(76323),r),n(i(31125),r),n(i(79562),r),n(i(80187),r),n(i(37860),r),n(i(47127),r)},47127:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0}),r.defineProperties=void 0;var n=i(69282),o=i(80884),h=i(51675),s=i(37860);r.defineProperties=function(t,r,i){if(t.raw=[],t._fields=[],t.toJSON=function(r){if(void 0===r&&(r=!1),r){var i={};return t._fields.forEach((function(r){i[r]="0x"+t[r].toString("hex")})),i}return s.baToJSON(t.raw)},t.serialize=function(){return h.encode(t.raw)},r.forEach((function(r,i){function o(){return t.raw[i]}function h(o){"00"!==(o=s.toBuffer(o)).toString("hex")||r.allowZero||(o=e.allocUnsafe(0)),r.allowLess&&r.length?(o=s.stripZeros(o),n(r.length>=o.length,"The field "+r.name+" must not have more "+r.length+" b
1ytes")):r.allowZero&&0===o.length||!r.length||n(r.length===o.length,"The field "+r.name+" must have byte length of "+r.length),t.raw[i]=o}t._fields.push(r.name),Object.defineProperty(t,r.name,{enumerable:!0,configurable:!0,get:o,set:h}),r.default&&(t[r.name]=r.default),r.alias&&Object.defineProperty(t,r.alias,{enumerable:!1,configurable:!0,set:h,get:o})})),i)if("string"==typeof i&&(i=e.from(o.stripHexPrefix(i),"hex")),e.isBuffer(i)&&(i=h.decode(i)),Array.isArray(i)){if(i.length>t._fields.length)throw new Error("wrong number of fields in data");i.forEach((function(r,i){t[t._fields[i]]=s.toBuffer(r)}))}else{if("object"!=typeof i)throw new Error("invalid data");var u=Object.keys(i);r.forEach((function(r){-1!==u.indexOf(r.name)&&(t[r.name]=i[r.name]),-1!==u.indexOf(r.alias)&&(t[r.alias]=i[r.alias])}))}}},40945:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0}),r.ecdhUnsafe=r.ecdh=r.recover=r.verify=r.sign=r.signatureImportLax=r.signatureImport=r.signatureExport=r.signatureNormalize=r.publicKeyCombine=r.publicKeyTweakMul=r.publicKeyTweakAdd=r.publicKeyVerify=r.publicKeyConvert=r.publicKeyCreate=r.privateKeyTweakMul=r.privateKeyTweakAdd=r.privateKeyModInverse=r.privateKeyNegate=r.privateKeyImport=r.privateKeyExport=r.privateKeyVerify=void 0;var n=i(95053),o=i(83508),h=i(39556);r.privateKeyVerify=function(t){return 32===t.length&&n.privateKeyVerify(Uint8Array.from(t))},r.privateKeyExport=function(t,r){if(32!==t.length)throw new RangeError("private key length is invalid");var i=o.privateKeyExport(t,r);return h.privateKeyExport(t,i,r)},r.privateKeyImport=function(t){if(null!==(t=h.privateKeyImport(t))&&32===t.length&&r.privateKeyVerify(t))return t;throw new Error("couldn't import from DER format")},r.privateKeyNegate=function(t){return e.from(n.privateKeyNegate(Uint8Array.from(t)))},r.privateKeyModInverse=function(t){if(32!==t.length)throw new Error("private key length is invalid");return e.from(o.privateKeyModInverse(Uint8Array.from(t)))},r.privateKeyTweakAdd=function(t,r){return e.from(n.privateKeyTweakAdd(Uint8Array.from(t),r))},r.privateKeyTweakMul=function(t,r){return e.from(n.privateKeyTweakMul(Uint8Array.from(t),Uint8Array.from(r)))},r.publicKeyCreate=function(t,r){return e.from(n.publicKeyCreate(Uint8Array.from(t),r))},r.publicKeyConvert=function(t,r){return e.from(n.publicKeyConvert(Uint8Array.from(t),r))},r.publicKeyVerify=function(t){return(33===t.length||65===t.length)&&n.publicKeyVerify(Uint8Array.from(t))},r.publicKeyTweakAdd=function(t,r,i){return e.from(n.publicKeyTweakAdd(Uint8Array.from(t),Uint8Array.from(r),i))},r.publicKeyTweakMul=function(t,r,i){return e.from(n.publicKeyTweakMul(Uint8Array.from(t),Uint8Array.from(r),i))},r.publicKeyCombine=function(t,r){var i=[];return t.forEach((function(t){i.push(Uint8Array.from(t))})),e.from(n.publicKeyCombine(i,r))},r.signatureNormalize=function(t){return e.from(n.signatureNormalize(Uint8Array.from(t)))},r.signatureExport=function(t){return e.from(n.signatureExport(Uint8Array.from(t)))},r.signatureImport=function(t){return e.from(n.signatureImport(Uint8Array.from(t)))},r.signatureImportLax=function(t){if(0===t.length)throw new RangeError("signature length is invalid");var r=h.signatureImportLax(t);if(null===r)throw new Error("couldn't parse DER signature");return o.signatureImport(r)},r.sign=function(t,r,i){if(null===i)throw new TypeError("options should be an Object");var o=void 0;if(i){if(o={},null===i.data)throw new TypeError("options.data should be a Buffer");if(i.data){if(32!=i.data.length)throw new RangeError("options.data length is invalid");o.data=new Uint8Array(i.data)}if(null===i.noncefn)throw new TypeError("options.noncefn should be a Function");i.noncefn&&(o.noncefn=function(t,r,n,o,h){var s=null!=n?e.from(n):null,u=null!=o?e.from(o):null,a=e.from("");return i.noncefn&&(a=i.noncefn(e.from(t),e.from(r),s,u,h)),new Uint8Array(a)})}var h=n.ecdsaSign(Uint8Array.from(t),Uint8Array.from(r),o);return{signature:e.from(h.signature),recovery:h.recid}},r.verify=function(t,r,i){return n.ecdsaVerify(Uint8Array.from(r),Uint8Array.from(t),i)},r.recover=function(t,r,i,o){return e.from(n.ecdsaRecover(Uint8Array.from(r),i,Uint8Array.from(t),o))},r.ecdh=function(t,r){return e.from(n.ecdh(Uint8Array.from(t),Uint8Array.from(r),{}))},r.ecdhUnsafe=function(t,r,i){if(33!==t.length&&65!==t.length)throw new RangeError("public key length is invali
1d");if(32!==r.length)throw new RangeError("private key length is invalid");return e.from(o.ecdhUnsafe(Uint8Array.from(t),Uint8Array.from(r),i))}},39556:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0});var n=e.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=e.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);r.privateKeyExport=function(t,r,i){void 0===i&&(i=!0);var h=e.from(i?n:o);return t.copy(h,i?8:9),r.copy(h,i?181:214),h},r.privateKeyImport=function(t){var r=t.length,i=0;if(r<i+1||48!==t[i])return null;if(r<(i+=1)+1||!(128&t[i]))return null;var e=127&t[i];if(e<1||e>2)return null;if(r<(i+=1)+e)return null;var n=t[i+e-1]|(e>1?t[i+e-2]<<8:0);return r<(i+=e)+n||r<i+3||2!==t[i]||1!==t[i+1]||1!==t[i+2]||r<(i+=3)+2||4!==t[i]||t[i+1]>32||r<i+2+t[i+1]?null:t.slice(i+2,i+2+t[i+1])},r.signatureImportLax=function(t){var r=e.alloc(32,0),i=e.alloc(32,0),n=t.length,o=0;if(48!==t[o++])return null;var h=t[o++];if(128&h&&(o+=h-128)>n)return null;if(2!==t[o++])return null;var s=t[o++];if(128&s){if(o+(h=s-128)>n)return null;for(;h>0&&0===t[o];o+=1,h-=1);for(s=0;h>0;o+=1,h-=1)s=(s<<8)+t[o]}if(s>n-o)return null;var u=o;if(o+=s,2!==t[o++])return null;var a=t[o++];if(128&a){if(o+(h=a-128)>n)return null;for(;h>0&&0===t[o];o+=1,h-=1);for(a=0;h>0;o+=1,h-=1)a=(a<<8)+t[o]}if(a>n-o)return null;var f=o;for(o+=a;s>0&&0===t[u];s-=1,u+=1);if(s>32)return null;var l=t.slice(u,u+s);for(l.copy(r,32-l.length);a>0&&0===t[f];a-=1,f+=1);if(a>32)return null;var d=t.slice(f,f+a);return d.copy(i,32-d.length),{r,s:i}}},83508:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0});var n=i(80999),o=new(0,i(86266).ec)("secp256k1"),h=o.curve;r.privateKeyExport=function(t,r){void 0===r&&(r=!0);var i=new n(t);if(i.ucmp(h.n)>=0)throw new Error("couldn't export to DER format");var e=o.g.mul(i);return s(e.getX(),e.getY(),r)},r.privateKeyModInverse=function(t){var r=new n(t);if(r.ucmp(h.n)>=0||r.isZero())throw new Error("private key range is invalid");return r.invm(h.n).toArrayLike(e,"be",32)},r.signatureImport=function(t){var r=new n(t.r);r.ucmp(h.n)>=0&&(r=new n(0));var i=new n(t.s);return i.ucmp(h.n)>=0&&(i=new n(0)),e.concat([r.toArrayLike(e,"be",32),i.toArrayLike(e,"be",32)])},r.ecdhUnsafe=function(t,r,i){void 0===i&&(i=!0);var e=o.keyFromPublic(t),u=new n(r);if(u.ucmp(h.n)>
vendor: 1,883 bytes, line 1
1=0||u.isZero())throw new Error("scalar was invalid (zero or overflow)");var a=e.pub.mul(u);return s(a.getX(),a.getY(),i)};var s=function(t,r,i){var n;return i?((n=e.alloc(33))[0]=r.isOdd()?3:2,t.toArrayLike(e,"be",32).copy(n,1)):((n=e.alloc(65))[0]=4,t.toArrayLike(e,"be",32).copy(n,1),r.toArrayLike(e,"be",32).copy(n,33)),n}},80187:(t,r,i)=>{"use strict";var e=i(48764).Buffer;Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toRpcSig=r.ecrecover=r.ecsign=void 0;var n=i(40945),o=i(80999),h=i(37860),s=i(79562);function u(t,r){return r?t-(2*r+35):t-27}function a(t){return 0===t||1===t}r.ecsign=function(t,r,i){var e=n.sign(t,r),o=e.recovery;return{r:e.signature.slice(0,32),s:e.signature.slice(32,64),v:i?o+(2*i+35):o+27}},r.ecrecover=function(t,r,i,o,s){var f=e.concat([h.setLength(i,32),h.setLength(o,32)],64),l=u(r,s);if(!a(l))throw new Error("Invalid signature v value");var d=n.recover(t,f,l);return n.publicKeyConvert(d,!1).slice(1)},r.toRpcSig=function(t,r,i,n){if(!a(u(t,n)))throw new Error("Invalid signature v value");return h.bufferToHex(e.concat([h.setLengthLeft(r,32),h.setLengthLeft(i,32),h.toBuffer(t)]))},r.fromRpcSig=function(t){var r=h.toBuffer(t);if(65!==r.length)throw new Error("Invalid signature length");var i=r[64];return i<27&&(i+=27),{v:i,r:r.slice(0,32),s:r.slice(32,64)}},r.isValidSignature=function(t,r,i,e,n){void 0===e&&(e=!0);var h=new o("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),s=new o("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==r.length||32!==i.length)return!1;if(!a(u(t,n)))return!1;var f=new o(r),l=new o(i);return!(f.isZero()||f.gt(s)||l.isZero()||l.gt(s))&&(!e||1!==l.cmp(h))},r.hashPersonalMessage=function(t){var r=e.from("�Ethereum Signed Message:\n"+t.length.toString(),"utf-8");return s.keccak(e.concat([r,t]))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.