PageSourceSearch

https://referware.vercel.app/_next/static/chunks/766-36b1fafb3d97a61d.js

js referware.vercel.app collected 2026-10-03 07:36:04 UTC 138,531 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[766],{59035:function(t,r,e){"use strict";e.d(r,{Sg:function(){return s},zt:function(){return h}});var i=e(22594);e(9784);var n=e(36173);let o=new(e(13421)).Yd("abstract-provider/5.7.0");class s extends n.dk{static isForkEvent(t){return!!(t&&t._isForkEvent)}}class h{constructor(){o.checkAbstract(new.target,h),(0,n.zG)(this,"_isProvider",!0)}getFeeData(){var t,r,e,o;return t=this,r=void 0,e=void 0,o=function*(){let{block:t,gasPrice:r}=yield(0,n.mE)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(t=>null)}),e=null,o=null,s=null;return t&&t.baseFeePerGas&&(e=t.baseFeePerGas,s=i.O$.from("1500000000"),o=t.baseFeePerGas.mul(2).add(s)),{lastBaseFeePerGas:e,maxFeePerGas:o,maxPriorityFeePerGas:s,gasPrice:r}},new(e||(e=Promise))(function(i,n){function s(t){try{u(o.next(t))}catch(t){n(t)}}function h(t){try{u(o.throw(t))}catch(t){n(t)}}function u(t){var r;t.done?i(t.value):((r=t.value)instanceof e?r:new e(function(t){t(r)})).then(s,h)}u((o=o.apply(t,r||[])).next())})}addListener(t,r){return this.on(t,r)}removeListener(t,r){return this.off(t,r)}static isProvider(t){return!!(t&&t._isProvider)}}},37637:function(t,r,e){"use strict";e.d(r,{E:function(){return f},b:function(){return a}});var i=e(36173),n=e(13421),o=function(t,r,e,i){return new(e||(e=Promise))(function(n,o){function s(t){try{u(i.next(t))}catch(t){o(t)}}function h(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){var r;t.done?n(t.value):((r=t.value)instanceof e?r:new e(function(t){t(r)})).then(s,h)}u((i=i.apply(t,r||[])).next())})};let s=new n.Yd("abstract-signer/5.7.0"),h=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],u=[n.Yd.errors.INSUFFICIENT_FUNDS,n.Yd.errors.NONCE_EXPIRED,n.Yd.errors.REPLACEMENT_UNDERPRICED];class f{constructor(){s.checkAbstract(new.target,f),(0,i.zG)(this,"_isSigner",!0)}getBalance(t){return o(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)})}getTransactionCount(t){return o(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)})}estimateGas(t){return o(this,void 0,void 0,function*(){this._checkProvider("estimateGas");let r=yield(0,i.mE)(this.checkTransaction(t));return yield this.provider.estimateGas(r)})}call(t,r){return o(this,void 0,void 0,function*(){this._checkProvider("call");let e=yield(0,i.mE)(this.checkTransaction(t));return yield this.provider.call(e,r)})}sendTransaction(t){return o(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");let r=yield this.populateTransaction(t),e=yield this.signTransaction(r);return yield this.provider.sendTransaction(e)})}getChainId(){return o(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return o(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return o(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(t){return o(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)})}checkTransaction(t){for(let r in t)-1===h.indexOf(r)&&s.throwArgumentError("invalid transaction key: "+r,"transaction",t);let r=(0,i.DC)(t);return null==r.from?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then(r=>(r[0].toLowerCase()!==r[1].toLowerCase()&&s.throwArgumentError("from address mismatch","transaction",t),r[0])),r}populateTransaction(t){return o(this,void 0,void 0,function*(){let r=yield(0,i.mE)(this.checkTransaction(t));null!=r.to&&(r.to=Promise.resolve(r.to).then(t=>o(this,void 0,void 0,function*(){if(null==t)return null;let r=yield this.resolveName(t);return null==r&&s.throwArgumentError("provided ENS name resolves to null","tx.to",t),r})),r.to.catch(t=>{}));let e=null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas;if(null!=r.gasPrice&&(2===r.type||e)?s.throwArgumentError("eip-1559 transaction do n
1ot support gasPrice","transaction",t):(0===r.type||1===r.type)&&e&&s.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t),(2===r.type||null==r.type)&&null!=r.maxFeePerGas&&null!=r.maxPriorityFeePerGas)r.type=2;else if(0===r.type||1===r.type)null==r.gasPrice&&(r.gasPrice=this.getGasPrice());else{let t=yield this.getFeeData();if(null==r.type){if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas){if(r.type=2,null!=r.gasPrice){let t=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=t,r.maxPriorityFeePerGas=t}else null==r.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas)}else null!=t.gasPrice?(e&&s.throwError("network does not support EIP-1559",n.Yd.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==r.gasPrice&&(r.gasPrice=t.gasPrice),r.type=0):s.throwError("failed to get consistent fee data",n.Yd.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"})}else 2===r.type&&(null==r.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}return null==r.nonce&&(r.nonce=this.getTransactionCount("pending")),null==r.gasLimit&&(r.gasLimit=this.estimateGas(r).catch(t=>{if(u.indexOf(t.code)>=0)throw t;return s.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",n.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:r})})),null==r.chainId?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then(r=>(0!==r[1]&&r[0]!==r[1]&&s.throwArgumentError("chainId address mismatch","transaction",t),r[0])),yield(0,i.mE)(r)})}_checkProvider(t){this.provider||s.throwError("missing provider",n.Yd.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!!(t&&t._isSigner)}}class a extends f{constructor(t,r){super(),(0,i.zG)(this,"address",t),(0,i.zG)(this,"provider",r||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,r){return Promise.resolve().then(()=>{s.throwError(t,n.Yd.errors.UNSUPPORTED_OPERATION,{operation:r})})}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,r,e){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new a(this.address,t)}}},89005:function(t,r,e){"use strict";e.d(r,{Kn:function(){return l},CR:function(){return d}});var i=e(9784),n=e(22594),o=e(43481),s=e(18162);let h=new(e(13421)).Yd("address/5.7.0");function u(t){(0,i.A7)(t,20)||h.throwArgumentError("invalid address","address",t);let r=(t=t.toLowerCase()).substring(2).split(""),e=new Uint8Array(40);for(let t=0;t<40;t++)e[t]=r[t].charCodeAt(0);let n=(0,i.lE)((0,o.w)(e));for(let t=0;t<40;t+=2)n[t>>1]>>4>=8&&(r[t]=r[t].toUpperCase()),(15&n[t>>1])>=8&&(r[t+1]=r[t+1].toUpperCase());return"0x"+r.join("")}let f={};for(let t=0;t<10;t++)f[String(t)]=String(t);for(let t=0;t<26;t++)f[String.fromCharCode(65+t)]=String(10+t);let a=Math.floor(Math.log10?Math.log10(9007199254740991):Math.log(9007199254740991)/Math.LN10);function l(t){let r=null;if("string"!=typeof t&&h.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),r=u(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&r!==t&&h.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==function(t){let r=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map(t=>f[t]).join("");for(;r.length>=a;){let t=r.substring(0,a);r=parseInt(t,10)%97+r.substring(t.length)}let e=String(98-parseInt(r,10)%97);for(;e.length<2;)e="0"+e;return e}(t)&&h.throwArgumentError("bad icap checksum","address",t),r=(0,n.g$)(t.substring(4));r.length<40;)r="0"+r;r=u("0x"+r)}else h.throwArgumentError("invalid address","address",t);return r}function d(t){let r=null;try{r=l(t.from)}catch(r){h.throwArgumentError("missing from address","transaction",t)}
1let e=(0,i.G1)((0,i.lE)(n.O$.from(t.nonce).toHexString()));return l((0,i.p3)((0,o.w)((0,s.c)([r,e])),12))}},38418:function(t,r,e){"use strict";e.d(r,{i:function(){return i}});let i="bignumber/5.7.0"},22594:function(t,r,e){"use strict";e.d(r,{O$:function(){return c},Zm:function(){return l},g$:function(){return y}});var i=e(58171),n=e.n(i),o=e(9784),s=e(13421),h=e(38418),u=n().BN;let f=new s.Yd(h.i),a={};function l(t){return null!=t&&(c.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||(0,o.A7)(t)||"bigint"==typeof t||(0,o._t)(t))}let d=!1;class c{constructor(t,r){t!==a&&f.throwError("cannot call constructor directly; use BigNumber.from",s.Yd.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return m(g(this).fromTwos(t))}toTwos(t){return m(g(this).toTwos(t))}abs(){return"-"===this._hex[0]?c.from(this._hex.substring(1)):this}add(t){return m(g(this).add(g(t)))}sub(t){return m(g(this).sub(g(t)))}div(t){return c.from(t).isZero()&&v("division-by-zero","div"),m(g(this).div(g(t)))}mul(t){return m(g(this).mul(g(t)))}mod(t){let r=g(t);return r.isNeg()&&v("division-by-zero","mod"),m(g(this).umod(r))}pow(t){let r=g(t);return r.isNeg()&&v("negative-power","pow"),m(g(this).pow(r))}and(t){let r=g(t);return(this.isNegative()||r.isNeg())&&v("unbound-bitwise-result","and"),m(g(this).and(r))}or(t){let r=g(t);return(this.isNegative()||r.isNeg())&&v("unbound-bitwise-result","or"),m(g(this).or(r))}xor(t){let r=g(t);return(this.isNegative()||r.isNeg())&&v("unbound-bitwise-result","xor"),m(g(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&v("negative-width","mask"),m(g(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&v("negative-width","shl"),m(g(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&v("negative-width","shr"),m(g(this).shrn(t))}eq(t){return g(this).eq(g(t))}lt(t){return g(this).lt(g(t))}lte(t){return g(this).lte(g(t))}gt(t){return g(this).gt(g(t))}gte(t){return g(this).gte(g(t))}isNegative(){return"-"===this._hex[0]}isZero(){return g(this).isZero()}toNumber(){try{return g(this).toNumber()}catch(t){v("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return f.throwError("this platform does not support BigInt",s.Yd.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?d||(d=!0,f.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?f.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",s.Yd.errors.UNEXPECTED_ARGUMENT,{}):f.throwError("BigNumber.toString does not accept parameters",s.Yd.errors.UNEXPECTED_ARGUMENT,{})),g(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof c)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new c(a,p(t)):t.match(/^-?[0-9]+$/)?new c(a,p(new u(t))):f.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&v("underflow","BigNumber.from",t),(t>=9007199254740991||t<=-9007199254740991)&&v("overflow","BigNumber.from",t),c.from(String(t));if("bigint"==typeof t)return c.from(t.toString());if((0,o._t)(t))return c.from((0,o.Dv)(t));if(t){if(t.toHexString){let r=t.toHexString();if("string"==typeof r)return c.from(r)}else{let r=t._hex;if(null==r&&"BigNumber"===t.type&&(r=t.hex),"string"==typeof r&&((0,o.A7)(r)||"-"===r[0]&&(0,o.A7)(r.substring(1))))return c.from(r)}}return f.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function p(t){if("string"!=typeof t)return p(t.toString(16));if("-"===t[0])return("-"===(t=t.substring(1))[0]&&f.throwArgumentError("invalid hex","value",t),"0x00"===(t=p(t)))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function m(t){return c.from(p(t))}function g(t){let r=c.from(t).toHexString();return"-"===r[0]?new u("-"+r.substring(3),16):new u(r.substring(2),16)}function v(t,r,e){let i={fault:t,operation:r};return null!=e&&(i.value=e),f.throwError(t,s.Yd.errors.NUMERIC_FAULT,i)}function y(t){return new u(t,36).toString(16)}},9784:function(t,r,e){"use strict";e.d(r,{lE:function(){return f},zo:function(){return a},xs:function(){return v},E1:function(){return m},p3:function(){return g},$P:function(){return y},$m:function(){return b},Dv:function(){return p},_t:function(){return u},Zq:function(){return s},A7:function(){return d},N:function(){return w},G1:function(){return l}});let i=new(e(13421)).Yd("bytes/5.7.0");function n(t){return!!t.toHexString}function o(t){return t.slice||(t.slice=function(){let r=Array.prototype.slice.call(arguments);return o(new Uint8Array(Array.prototype.slice.apply(t,r)))}),t}function s(t){return d(t)&&!(t.length%2)||u(t)}function h(t){return"number"==typeof t&&t==t&&t%1==0}function u(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;
1if("string"==typeof t||!h(t.length)||t.length<0)return!1;for(let r=0;r<t.length;r++){let e=t[r];if(!h(e)||e<0||e>=256)return!1}return!0}function f(t,r){if(r||(r={}),"number"==typeof t){i.checkSafeUint53(t,"invalid arrayify value");let r=[];for(;t;)r.unshift(255&t),t=parseInt(String(t/256));return 0===r.length&&r.push(0),o(new Uint8Array(r))}if(r.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),n(t)&&(t=t.toHexString()),d(t)){let e=t.substring(2);e.length%2&&("left"===r.hexPad?e="0"+e:"right"===r.hexPad?e+="0":i.throwArgumentError("hex data is odd-length","value",t));let n=[];for(let t=0;t<e.length;t+=2)n.push(parseInt(e.substring(t,t+2),16));return o(new Uint8Array(n))}return u(t)?o(new Uint8Array(t)):i.throwArgumentError("invalid arrayify value","value",t)}function a(t){let r=t.map(t=>f(t)),e=new Uint8Array(r.reduce((t,r)=>t+r.length,0));return r.reduce((t,r)=>(e.set(r,t),t+r.length),0),o(e)}function l(t){let r=f(t);if(0===r.length)return r;let e=0;for(;e<r.length&&0===r[e];)e++;return e&&(r=r.slice(e)),r}function d(t,r){return"string"==typeof t&&!!t.match(/^0x[0-9A-Fa-f]*$/)&&(!r||t.length===2+2*r)}let c="0123456789abcdef";function p(t,r){if(r||(r={}),"number"==typeof t){i.checkSafeUint53(t,"invalid hexlify value");let r="";for(;t;)r=c[15&t]+r,t=Math.floor(t/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(r.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),n(t))return t.toHexString();if(d(t))return t.length%2&&("left"===r.hexPad?t="0x0"+t.substring(2):"right"===r.hexPad?t+="0":i.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(u(t)){let r="0x";for(let e=0;e<t.length;e++){let i=t[e];r+=c[(240&i)>>4]+c[15&i]}return r}return i.throwArgumentError("invalid hexlify value","value",t)}function m(t){if("string"!=typeof t)t=p(t);else if(!d(t)||t.length%2)return null;return(t.length-2)/2}function g(t,r,e){return("string"!=typeof t?t=p(t):(!d(t)||t.length%2)&&i.throwArgumentError("invalid hexData","value",t),r=2+2*r,null!=e)?"0x"+t.substring(r,2+2*e):"0x"+t.substring(r)}function v(t){let r="0x";return t.forEach(t=>{r+=p(t).substring(2)}),r}function y(t){let r=function(t){"string"!=typeof t&&(t=p(t)),d(t)||i.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let r=0;for(;r<t.length&&"0"===t[r];)r++;return"0x"+t.substring(r)}(p(t,{hexPad:"left"}));return"0x"===r?"0x0":r}function b(t,r){for("string"!=typeof t?t=p(t):d(t)||i.throwArgumentError("invalid hex string","value",t),t.length>2*r+2&&i.throwArgumentError("value out of range","value",arguments[1]);t.length<2*r+2;)t="0x0"+t.substring(2);return t}function w(t){let r={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(s(t)){let e=f(t);64===e.length?(r.v=27+(e[32]>>7),e[32]&=127,r.r=p(e.slice(0,32)),r.s=p(e.slice(32,64))):65===e.length?(r.r=p(e.slice(0,32)),r.s=p(e.slice(32,64)),r.v=e[64]):i.throwArgumentError("invalid signature string","signature",t),r.v<27&&(0===r.v||1===r.v?r.v+=27:i.throwArgumentError("signature invalid v byte","signature",t)),r.recoveryParam=1-r.v%2,r.recoveryParam&&(e[32]|=128),r._vs=p(e.slice(32,64))}else{if(r.r=t.r,r.s=t.s,r.v=t.v,r.recoveryParam=t.recoveryParam,r._vs=t._vs,null!=r._vs){let e=function(t,r){(t=f(t)).length>r&&i.throwArgumentError("value out of range","value",arguments[0]);let e=new Uint8Array(r);return e.set(t,r-t.length),o(e)}(f(r._vs),32);r._vs=p(e);let n=e[0]>=128?1:0;null==r.recoveryParam?r.recoveryParam=n:r.recoveryParam!==n&&i.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),e[0]&=127;let s=p(e);null==r.s?r.s=s:r.s!==s&&i.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==r.recoveryParam)null==r.v?i.throwArgumentError("signature missing v and recoveryParam","signature",t):0===r.v||1===r.v?r.recoveryParam=r.v:r.recoveryParam=1-r.v%2;else if(null==r.v)r.v=27+r.recoveryParam;else{let e=0===r.v||1===r.v?r.v:1-r.v%2;r.recoveryParam!==e&&i.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=r.r&&d(r.r)?r.r=b(r.r,32):i.throwArgumentError("signature missing or invalid r","signature",t),null!=r.s&&d(r.s)?r.s=b(r.s,32):i.throwArgumentError("signature missing or invalid s","signature",t);let e=f(r.s);e[0]>=128&&i.throwArgumentError("signature s out of range","signature",t),r.recoveryParam&&(e[0]|=128);let n=p(e);r._vs&&(d(r._vs)||i.throwArgumentError("signature invalid _vs","signature",t),r._vs=b(r._vs,32)),null==r._vs?r._vs=n:r._vs!==n&&i.throwArgumentError("signature _vs mismatch v and s","signature",t)}return r.yParityAndS=r._vs,r.compact=r.r+r.yParityAndS.substring(2),r}},75986:function(t,r,e){"use strict";e.d(r,{Bz:function(){return h},_Y:function(){return o},fh:function(){return s},tL:function(){return n}});var i=e(22594);let n=i.O$.from(-1),o=i.O$.from(0),s=i.O$.from(1),h=i.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")},99554:function(t,r,e){"use strict";e.d(r,{id:function(){return o}});var i=e(43481),n=e(28257);function o(t){return(0,i.w)((0,n.Y0)(t))}},43481:function(t,r,e){"use strict";e.d(r,{w:function(){return s}});var i=e(83524),n=e.n(i),o=e(9784);function s(t){return"0x"+n().keccak_256((0,o.lE)(t))}},13421:function(t,r,e){"use strict";var i,n,o,s;e.d(r,{Yd:function(){return p}});let h=!1,u=!1,f={debug:1,default:2,info:2,warning:3,error:4,off:5},a=f.default,l=null,d=function(){try{let t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(r=>{try{if("test"!=="test".normalize(r))throw Error("bad normalize")}catch(e){t.push(r)}}),t.length)throw Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw Error("broken implementation")}catch(t){return t.message}return null}();(o=i||(i={})).DEBUG="DEBUG",o.INFO="INFO",o.WARNING="WARNING",o.ERROR="ERROR",o.OFF="OFF",(s=n||(n={}
1)).UNKNOWN_ERROR="UNKNOWN_ERROR",s.NOT_IMPLEMENTED="NOT_IMPLEMENTED",s.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",s.NETWORK_ERROR="NETWORK_ERROR",s.SERVER_ERROR="SERVER_ERROR",s.TIMEOUT="TIMEOUT",s.BUFFER_OVERRUN="BUFFER_OVERRUN",s.NUMERIC_FAULT="NUMERIC_FAULT",s.MISSING_NEW="MISSING_NEW",s.INVALID_ARGUMENT="INVALID_ARGUMENT",s.MISSING_ARGUMENT="MISSING_ARGUMENT",s.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",s.CALL_EXCEPTION="CALL_EXCEPTION",s.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",s.NONCE_EXPIRED="NONCE_EXPIRED",s.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",s.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",s.TRANSACTION_REPLACED="TRANSACTION_REPLACED",s.ACTION_REJECTED="ACTION_REJECTED";let c="0123456789abcdef";class p{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let e=t.toLowerCase();null==f[e]&&this.throwArgumentError("invalid log level name","logLevel",t),a>f[e]||console.log.apply(console,r)}debug(...t){this._log(p.levels.DEBUG,t)}info(...t){this._log(p.levels.INFO,t)}warn(...t){this._log(p.levels.WARNING,t)}makeError(t,r,e){if(u)return this.makeError("censored error",r,{});r||(r=p.errors.UNKNOWN_ERROR),e||(e={});let i=[];Object.keys(e).forEach(t=>{let r=e[t];try{if(r instanceof Uint8Array){let e="";for(let t=0;t<r.length;t++)e+=c[r[t]>>4]+c[15&r[t]];i.push(t+"=Uint8Array(0x"+e+")")}else i.push(t+"="+JSON.stringify(r))}catch(r){i.push(t+"="+JSON.stringify(e[t].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);let o=t,s="";switch(r){case n.NUMERIC_FAULT:{s="NUMERIC_FAULT";let r=t;switch(r){case"overflow":case"underflow":case"division-by-zero":s+="-"+r;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case n.CALL_EXCEPTION:case n.INSUFFICIENT_FUNDS:case n.MISSING_NEW:case n.NONCE_EXPIRED:case n.REPLACEMENT_UNDERPRICED:case n.TRANSACTION_REPLACED:case n.UNPREDICTABLE_GAS_LIMIT:s=r}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),i.length&&(t+=" ("+i.join(", ")+")");let h=Error(t);return h.reason=o,h.code=r,Object.keys(e).forEach(function(t){h[t]=e[t]}),h}throwError(t,r,e){throw this.makeError(t,r,e)}throwArgumentError(t,r,e){return this.throwError(t,p.errors.INVALID_ARGUMENT,{argument:r,value:e})}assert(t,r,e,i){t||this.throwError(r,e,i)}assertArgument(t,r,e,i){t||this.throwArgumentError(r,e,i)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),d&&this.throwError("platform missing String.prototype.normalize",p.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})}checkSafeUint53(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,p.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,p.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,e){e=e?": "+e:"",t<r&&this.throwError("missing argument"+e,p.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+e,p.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||null==t)&&this.throwError("missing new",p.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",p.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||null==t)&&this.throwError("missing new",p.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return l||(l=new p("logger/5.7.0")),l}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",p.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),h){if(!t)return;this.globalLogger().throwError("error censorship permanent",p.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}u=!!t,h=!!r}static setLogLevel(t){let r=f[t.toLowerCase()];if(null==r){p.globalLogger().warn("invalid log level - "+t);return}a=r}static from(t){return new p(t)}}p.errors=n,p.levels=i},36173:function(t,r,e){"use strict";e.d(r,{dk:function(){return l},uj:function(){return h},p$:function(){return a},zG:function(){return n},tu:function(){return o},mE:function(){return s},DC:function(){return u}});let i=new(e(13421)).Yd("properties/5.7.0");function n(t,r,e){Object.defineProperty(t,r,{enumerable:!0,value:e,writable:!1})}function o(t,r){for(let e=0;e<32;e++){if(t[r])return t[r];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function s(t){var r,e,i,n;return r=this,e=void 0,i=void 0,n=function*(){let r=Object.keys(t).map(r=>Promise.resolve(t[r]).then(t=>({key:r,value:t})));return(yield Promise.all(r)).reduce((t,r)=>(t[r.key]=r.value,t),{})}
1,new(i||(i=Promise))(function(t,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function h(t){try{u(n.throw(t))}catch(t){o(t)}}function u(r){var e;r.done?t(r.value):((e=r.value)instanceof i?e:new i(function(t){t(e)})).then(s,h)}u((n=n.apply(r,e||[])).next())})}function h(t,r){t&&"object"==typeof t||i.throwArgumentError("invalid object","object",t),Object.keys(t).forEach(e=>{r[e]||i.throwArgumentError("invalid object key - "+e,"transaction:"+e,t)})}function u(t){let r={};for(let e in t)r[e]=t[e];return r}let f={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function a(t){return function(t){if(function t(r){if(null==r||f[typeof r])return!0;if(Array.isArray(r)||"object"==typeof r){if(!Object.isFrozen(r))return!1;let e=Object.keys(r);for(let i=0;i<e.length;i++){let n=null;try{n=r[e[i]]}catch(t){continue}if(!t(n))return!1}return!0}return i.throwArgumentError(`Cannot deepCopy ${typeof r}`,"object",r)}(t))return t;if(Array.isArray(t))return Object.freeze(t.map(t=>a(t)));if("object"==typeof t){let r={};for(let e in t){let i=t[e];void 0!==i&&n(r,e,a(i))}return r}return i.throwArgumentError(`Cannot deepCopy ${typeof t}`,"object",t)}(t)}class l{constructor(t){for(let r in t)this[r]=a(t[r])}}},18162:function(t,r,e){"use strict";e.d(r,{J:function(){return l},c:function(){return u}});var i=e(9784),n=e(13421);let o=new n.Yd("rlp/5.7.0");function s(t){let r=[];for(;t;)r.unshift(255&t),t>>=8;return r}function h(t,r,e){let i=0;for(let n=0;n<e;n++)i=256*i+t[r+n];return i}function u(t){return(0,i.Dv)(function t(r){if(Array.isArray(r)){let e=[];
1if(r.forEach(function(r){e=e.concat(t(r))}),e.length<=55)return e.unshift(192+e.length),e;let i=s(e.length);return i.unshift(247+i.length),i.concat(e)}(0,i.Zq)(r)||o.throwArgumentError("RLP object must be BytesLike","object",r);let e=Array.prototype.slice.call((0,i.lE)(r));if(1===e.length&&e[0]<=127)return e;if(e.length<=55)return e.unshift(128+e.length),e;let n=s(e.length);return n.unshift(183+n.length),n.concat(e)}(t))}function f(t,r,e,i){let s=[];for(;e<r+1+i;){let h=a(t,e);s.push(h.result),(e+=h.consumed)>r+1+i&&o.throwError("child data too short",n.Yd.errors.BUFFER_OVERRUN,{})}return{consumed:1+i,result:s}}function a(t,r){if(0===t.length&&o.throwError("data too short",n.Yd.errors.BUFFER_OVERRUN,{}),t[r]>=248){let e=t[r]-247;r+1+e>t.length&&o.throwError("data short segment too short",n.Yd.errors.BUFFER_OVERRUN,{});let i=h(t,r+1,e);return r+1+e+i>t.length&&o.throwError("data long segment too short",n.Yd.errors.BUFFER_OVERRUN,{}),f(t,r,r+1+e,e+i)}if(t[r]>=192){let e=t[r]-192;return r+1+e>t.length&&o.throwError("data array too short",n.Yd.errors.BUFFER_OVERRUN,{}),f(t,r,r+1,e)}if(t[r]>=184){let e=t[r]-183;r+1+e>t.length&&o.throwError("data array too short",n.Yd.errors.BUFFER_OVERRUN,{});let s=h(t,r+1,e);r+1+e+s>t.length&&o.throwError("data array too short",n.Yd.errors.BUFFER_OVERRUN,{});let u=(0,i.Dv)(t.slice(r+1+e,r+1+e+s));return{consumed:1+e+s,result:u}}if(t[r]>=128){let e=t[r]-128;r+1+e>t.length&&o.throwError("data too short",n.Yd.errors.BUFFER_OVERRUN,{});let s=(0,i.Dv)(t.slice(r+1,r+1+e));return{consumed:1+e,result:s}}return{consumed:1,result:(0,i.Dv)(t[r])}}function l(t){let r=(0,i.lE)(t),e=a(r,0);return e.consumed!==r.length&&o.throwArgumentError("invalid rlp data","data",t),e.result}},28257:function(t,r,e){"use strict";e.d(r,{Y0:function(){return d},XL:function(){return p},ZN:function(){return c}});var i,n,o,s,h=e(9784);let u=new(e(13421)).Yd("strings/5.7.0");function f(t,r,e,i,n){if(t===s.BAD_PREFIX||t===s.UNEXPECTED_CONTINUE){let t=0;for(let i=r+1;i<e.length&&e[i]>>6==2;i++)t++;return t}return t===s.OVERRUN?e.length-r-1:0}(i=o||(o={})).current="",i.NFC="NFC",i.NFD="NFD",i.NFKC="NFKC",i.NFKD="NFKD",(n=s||(s={})).UNEXPECTED_CONTINUE="unexpected continuation byte",n.BAD_PREFIX="bad codepoint prefix",n.OVERRUN="string overrun",n.MISSING_CONTINUE="missing continuation byte",n.OUT_OF_RANGE="out of UTF-8 range",n.UTF16_SURROGATE="UTF-16 surrogate",n.OVERLONG="overlong representation";let a=Object.freeze({error:function(t,r,e,i,n){return u.throwArgumentError(`invalid codepoint at offset ${r}; ${t}`,"bytes",e)},ignore:f,replace:function(t,r,e,i,n){return t===s.OVERLONG?(i.push(n),0):(i.push(65533),f(t,r,e,i,n))}});function l(t,r){null==r&&(r=a.error),t=(0,h.lE)(t);let e=[],i=0;for(;i<t.length;){let n=t[i++];if(n>>7==0){e.push(n);continue}let o=null,h=null;if((224&n)==192)o=1,h=127;else if((240&n)==224)o=2,h=2047;else if((248&n)==240)o=3,h=65535;else{(192&n)==128?i+=r(s.UNEXPECTED_CONTINUE,i-1,t,e):i+=r(s.BAD_PREFIX,i-1,t,e);continue}if(i-1+o>=t.length){i+=r(s.OVERRUN,i-1,t,e);continue}let u=n&(1<<8-o-1)-1;for(let n=0;n<o;n++){let n=t[i];if((192&n)!=128){i+=r(s.MISSING_CONTINUE,i,t,e),u=null;break}u=u<<6|63&n,i++}if(null!==u){if(u>1114111){i+=r(s.OUT_OF_RANGE,i-1-o,t,e,u);continue}if(u>=55296&&u<=57343){i+=r(s.UTF16_SURROGATE,i-1-o,t,e,u);continue}if(u<=h){i+=r(s.OVERLONG,i-1-o,t,e,u);continue}e.push(u)}}return e}function d(t,r=o.current){r!=o.current&&(u.checkNormalize(),t=t.normalize(r));let e=[];for(let r=0;r<t.length;r++){let i=t.charCodeAt(r);if(i<128)e.push(i);else if(i<2048)e.push(i>>6|192),e.push(63&i|128);else if((64512&i)==55296){r++;let n=t.charCodeAt(r);if(r>=t.length||(64512&n)!=56320)throw Error("invalid utf-8 string");let o=65536+((1023&i)<<10)+(1023&n);e.push(o>>18|240),e.push(o>>12&63|128),e.push(o>>6&63|128),e.push(63&o|128)}else e.push(i>>12|224),e.push(i>>6&63|128),e.push(63&i|128)}return(0,h.lE)(e)}function c(t,r){return l(t,r).map(t=>t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10&1023)+55296,(1023&t)+56320)).join("")}function p(t,r=o.current){return l(d(t,r))}},2149:function(t,r,e){"use strict";e.d(r,{z7:function(){return tn},Qc:function(){return tf}});var i,n,o=e(89005),s=e(22594),h=e(9784),u=e(75986),f=e(43481),a=e(18162),l=e(58171),d=e.n(l),c=e(83699),p=e.n(c);function m(t,r,e){return t(e={path:r,exports:{},require:function(t,r){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(t,null==r?e.path:r)}},e.exports),e.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self&&self;var g=v;function v(t,r){if(!t)throw Error(r||"Assertion failed")}v.equal=function(t,r,e){if(t!=r)throw Error(e||"Assertion failed: "+t+" != "+r)};var y=m(function(t,r){function e(t){return 1===t.length?"0"+t:t}function i(t){for(var r="",i=0;i<t.length;i++)r+=e(t[i].toString(16));return r}r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var e=[];
1if("string"!=typeof t){for(var i=0;i<t.length;i++)e[i]=0|t[i];return e}if("hex"===r){(t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t);for(var i=0;i<t.length;i+=2)e.push(parseInt(t[i]+t[i+1],16))}else for(var i=0;i<t.length;i++){var n=t.charCodeAt(i),o=n>>8,s=255&n;o?e.push(o,s):e.push(s)}return e},r.zero2=e,r.toHex=i,r.encode=function(t,r){return"hex"===r?i(t):t}}),b=m(function(t,r){r.assert=g,r.toArray=y.toArray,r.zero2=y.zero2,r.toHex=y.toHex,r.encode=y.encode,r.getNAF=function(t,r,e){var i=Array(Math.max(t.bitLength(),e)+1);i.fill(0);for(var n=1<<r+1,o=t.clone(),s=0;s<i.length;s++){var h,u=o.andln(n-1);o.isOdd()?(h=u>(n>>1)-1?(n>>1)-u:u,o.isubn(h)):h=0,i[s]=h,o.iushrn(1)}return i},r.getJSF=function(t,r){var e=[[],[]];t=t.clone(),r=r.clone();for(var i=0,n=0;t.cmpn(-i)>0||r.cmpn(-n)>0;){var o,s,h,u=t.andln(3)+i&3,f=r.andln(3)+n&3;3===u&&(u=-1),3===f&&(f=-1),s=(1&u)==0?0:(3==(o=t.andln(7)+i&7)||5===o)&&2===f?-u:u,e[0].push(s),h=(1&f)==0?0:(3==(o=r.andln(7)+n&7)||5===o)&&2===u?-f:f,e[1].push(h),2*i===s+1&&(i=1-i),2*n===h+1&&(n=1-n),t.iushrn(1),r.iushrn(1)}return e},r.cachedProperty=function(t,r,e){var i="_"+r;t.prototype[r]=function(){return void 0!==this[i]?this[i]:this[i]=e.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(d())(t,"hex","le")}}),w=b.getNAF,M=b.getJSF,_=b.assert;function A(t,r){this.type=t,this.p=new(d())(r.p,16),this.red=r.prime?d().red(r.prime):d().mont(this.p),this.zero=new(d())(0).toRed(this.red),this.one=new(d())(1).toRed(this.red),this.two=new(d())(2).toRed(this.red),this.n=r.n&&new(d())(r.n,16),this.g=r.g&&this.pointFromJSON(r.g,r.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var e=this.n&&this.p.div(this.n);!e||e.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function E(t,r){this.curve=t,this.type=r,this.precomputed=null}A.prototype.point=function(){throw Error("Not implemented")},A.prototype.validate=function(){throw Error("Not implemented")},A.prototype._fixedNafMul=function(t,r){_(t.precomputed);var e,i,n=t._getDoubles(),o=w(r,1,this._bitLength),s=(1<<n.step+1)-(n.step%2==0?2:1);s/=3;var h=[];for(e=0;e<o.length;e+=n.step){i=0;for(var u=e+n.step-1;u>=e;u--)i=(i<<1)+o[u];h.push(i)}for(var f=this.jpoint(null,null,null),a=this.jpoint(null,null,null),l=s;l>0;l--){for(e=0;e<h.length;e++)(i=h[e])===l?a=a.mixedAdd(n.points[e]):i===-l&&(a=a.mixedAdd(n.points[e].neg()));f=f.add(a)}return f.toP()},A.prototype._wnafMul=function(t,r){var e=4,i=t._getNAFPoints(e);e=i.wnd;for(var n=i.points,o=w(r,e,this._bitLength),s=this.jpoint(null,null,null),h=o.length-1;h>=0;h--){for(var u=0;h>=0&&0===o[h];h--)u++;if(h>=0&&u++,s=s.dblp(u),h<0)break;var f=o[h];_(0!==f),s="affine"===t.type?f>0?s.mixedAdd(n[f-1>>1]):s.mixedAdd(n[-f-1>>1].neg()):f>0?s.add(n[f-1>>1]):s.add(n[-f-1>>1].neg())}return"affine"===t.type?s.toP():s},A.prototype._wnafMulAdd=function(t,r,e,i,n){var o,s,h,u=this._wnafT1,f=this._wnafT2,a=this._wnafT3,l=0;for(o=0;o<i;o++){var d=(h=r[o])._getNAFPoints(t);u[o]=d.wnd,f[o]=d.points}for(o=i-1;o>=1;o-=2){var c=o-1,p=o;if(1!==u[c]||1!==u[p]){a[c]=w(e[c],u[c],this._bitLength),a[p]=w(e[p],u[p],this._bitLength),l=Math.max(a[c].length,l),l=Math.max(a[p].length,l);continue}var m=[r[c],null,null,r[p]];0===r[c].y.cmp(r[p].y)?(m[1]=r[c].add(r[p]),m[2]=r[c].toJ().mixedAdd(r[p].neg())):0===r[c].y.cmp(r[p].y.redNeg())?(m[1]=r[c].toJ().mixedAdd(r[p]),m[2]=r[c].add(r[p].neg())):(m[1]=r[c].toJ().mixedAdd(r[p]),m[2]=r[c].toJ().mixedAdd(r[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=M(e[c],e[p]);for(s=0,l=Math.max(v[0].length,l),a[c]=Array(l),a[p]=Array(l);s<l;s++){var y=0|v[0][s],b=0|v[1][s];a[c][s]=g[(y+1)*3+(b+1)],a[p][s]=0,f[c]=m}}var _=this.jpoint(null,null,null),A=this._wnafT4;for(o=l;o>=0;o--){for(var E=0;o>=0;){var S=!0;for(s=0;s<i;s++)A[s]=0|a[s][o],0!==A[s]&&(S=!1);if(!S)break;E++,o--}if(o>=0&&E++,_=_.dblp(E),o<0)break;for(s=0;s<i;s++){var x=A[s];0!==x&&(x>0?h=f[s][x-1>>1]:x<0&&(h=f[s][-x-1>>1].neg()),_="affine"===h.type?_.mixedAdd(h):_.add(h))}}for(o=0;o<i;o++)f[o]=null;return n?_:_.toP()},A.BasePoint=E,E.prototype.eq=function(){throw Error("Not implemented")},E.prototype.validate=function(){return this.curve.validate(this)},A.prototype.decodePoint=function(t,r){t=b.toArray(t,r);var e=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*e)return 6===t[0]?_(t[t.length-1]%2==0):7===t[0]&&_(t[t.length-1]%2==1),this.point(t.slice(1,1+e),t.slice(1+e,1+2*e));if((2===t[0]||3===t[0])&&t.length-1===e)return this.pointFromX(t.slice(1,1+e),3===t[0]);throw Error("Unknown point format")},E.prototype.encodeCompressed=function(t){return this.encode(t,!0)},E.prototype._encode=function(t){var r=this.curve.p.byteLength(),e=this.getX().toArray("be",r);return t?[this.getY().isEven()?2:3].concat(e):[4].concat(e,this.getY().toArray("be",r))},E.prototype.encode=function(t,r){return b.encode(this._encode(r),t)}
1,E.prototype.precompute=function(t){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,t),r.beta=this._getBeta(),this.precomputed=r,this},E.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return!!r&&r.points.length>=Math.ceil((t.bitLength()+1)/r.step)},E.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var e=[this],i=this,n=0;n<r;n+=t){for(var o=0;o<t;o++)i=i.dbl();e.push(i)}return{step:t,points:e}},E.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],e=(1<<t)-1,i=1===e?null:this.dbl(),n=1;n<e;n++)r[n]=r[n-1].add(i);return{wnd:t,points:r}},E.prototype._getBeta=function(){return null},E.prototype.dblp=function(t){for(var r=this,e=0;e<t;e++)r=r.dbl();return r};var S=m(function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}}}),x=b.assert;function I(t){A.call(this,"short",t),this.a=new(d())(t.a,16).toRed(this.red),this.b=new(d())(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function N(t,r,e,i){A.BasePoint.call(this,t,"affine"),null===r&&null===e?(this.x=null,this.y=null,this.inf=!0):(this.x=new(d())(r,16),this.y=new(d())(e,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function P(t,r,e,i){A.BasePoint.call(this,t,"jacobian"),null===r&&null===e&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new(d())(0)):(this.x=new(d())(r,16),this.y=new(d())(e,16),this.z=new(d())(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}S(I,A),I.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(t.beta)r=new(d())(t.beta,16).toRed(this.red);else{var r,e,i,n=this._getEndoRoots(this.p);r=(r=0>n[0].cmp(n[1])?n[0]:n[1]).toRed(this.red)}if(t.lambda)e=new(d())(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(r))?e=o[0]:(e=o[1],x(0===this.g.mul(e).x.cmp(this.g.x.redMul(r))))}return i=t.basis?t.basis.map(function(t){return{a:new(d())(t.a,16),b:new(d())(t.b,16)}}):this._getEndoBasis(e),{beta:r,lambda:e,basis:i}}},I.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:d().mont(t),e=new(d())(2).toRed(r).redInvm(),i=e.redNeg(),n=new(d())(3).toRed(r).redNeg().redSqrt().redMul(e);return[i.redAdd(n).fromRed(),i.redSub(n).fromRed()]},I.prototype._getEndoBasis=function(t){for(var r,e,i,n,o,s,h,u,f,a=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=t,c=this.n.clone(),p=new(d())(1),m=new(d())(0),g=new(d())(0),v=new(d())(1),y=0;0!==l.cmpn(0);){var b=c.div(l);u=c.sub(b.mul(l)),f=g.sub(b.mul(p));var w=v.sub(b.mul(m));if(!i&&0>u.cmp(a))r=h.neg(),e=p,i=u.neg(),n=f;else if(i&&2==++y)break;h=u,c=l,l=u,g=p,p=f,v=m,m=w}o=u.neg(),s=f;var M=i.sqr().add(n.sqr());return o.sqr().add(s.sqr()).cmp(M)>=0&&(o=r,s=e),i.negative&&(i=i.neg(),n=n.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:n},{a:o,b:s}]},I.prototype._endoSplit=function(t){var r=this.endo.basis,e=r[0],i=r[1],n=i.b.mul(t).divRound(this.n),o=e.b.neg().mul(t).divRound(this.n),s=n.mul(e.a),h=o.mul(i.a),u=n.mul(e.b),f=o.mul(i.b);return{k1:t.sub(s).sub(h),k2:u.add(f).neg()}},I.prototype.pointFromX=function(t,r){(t=new(d())(t,16)).red||(t=t.toRed(this.red));var e=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=e.redSqrt();if(0!==i.redSqr().redSub(e).cmp(this.zero))throw Error("invalid point");var n=i.fromRed().isOdd();return(r&&!n||!r&&n)&&(i=i.redNeg()),this.point(t,i)},I.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,e=t.y,i=this.a.redMul(r),n=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return 0===e.redSqr().redISub(n).cmpn(0)},I.prototype._endoWnafMulAdd=function(t,r,e){for(var i=this._endoWnafT1,n=this._endoWnafT2,o=0;o<t.length;o++){var s=this._endoSplit(r[o]),h=t[o],u=h._getBeta();s.k1.negative&&(s.k1.ineg(),h=h.neg(!0)),s.k2.negative&&(s.k2.ineg(),u=u.neg(!0)),i[2*o]=h,i[2*o+1]=u,n[2*o]=s.k1,n[2*o+1]=s.k2}for(var f=this._wnafMulAdd(1,i,n,2*o,e),a=0;a<2*o;a++)i[a]=null,n[a]=null;return f},S(N,A.BasePoint),I.prototype.point=function(t,r,e){return new N(this,t,r,e)},I.prototype.pointFromJSON=function(t,r){return N.fromJSON(this,t,r)},N.prototype._getBeta=function(){if(this.curve.endo){var t=this.prec
vendor: 2,814 bytes, line 1
1omputed;if(t&&t.beta)return t.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var e=this.curve,i=function(t){return e.point(t.x.redMul(e.endo.beta),t.y)};t.beta=r,r.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return r}},N.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},N.fromJSON=function(t,r,e){"string"==typeof r&&(r=JSON.parse(r));var i=t.point(r[0],r[1],e);if(!r[2])return i;function n(r){return t.point(r[0],r[1],e)}var o=r[2];return i.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[i].concat(o.doubles.points.map(n))},naf:o.naf&&{wnd:o.naf.wnd,points:[i].concat(o.naf.points.map(n))}},i},N.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},N.prototype.isInfinity=function(){return this.inf},N.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t)||0===this.x.cmp(t.x))return this.curve.point(null,null);var r=this.y.redSub(t.y);0!==r.cmpn(0)&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var e=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(e)).redISub(this.y);return this.curve.point(e,i)},N.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var r=this.curve.a,e=this.x.redSqr(),i=t.redInvm(),n=e.redAdd(e).redIAdd(e).redIAdd(r).redMul(i),o=n.redSqr().redISub(this.x.redAdd(this.x)),s=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},N.prototype.getX=function(){return this.x.fromRed()},N.prototype.getY=function(){return this.y.fromRed()},N.prototype.mul=function(t){return(t=new(d())(t,16),this.isInfinity())?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},N.prototype.mulAdd=function(t,r,e){var i=[this,r],n=[t,e];return this.curve.endo?this.curve._endoWnafMulAdd(i,n):this.curve._wnafMulAdd(1,i,n,2)},N.prototype.jmulAdd=function(t,r,e){var i=[this,r],n=[t,e];return this.curve.endo?this.curve._endoWnafMulAdd(i,n,!0):this.curve._wnafMulAdd(1,i,n,2,!0)},N.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},N.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());
vendor: 4,387 bytes, line 1
1if(t&&this.precomputed){var e=this.precomputed,i=function(t){return t.neg()};r.precomputed={naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(i)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(i)}}}return r},N.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},S(P,A.BasePoint),I.prototype.jpoint=function(t,r,e){return new P(this,t,r,e)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),e=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(e,i)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),e=this.z.redSqr(),i=this.x.redMul(r),n=t.x.redMul(e),o=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(e.redMul(this.z)),h=i.redSub(n),u=o.redSub(s);if(0===h.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=h.redSqr(),a=f.redMul(h),l=i.redMul(f),d=u.redSqr().redIAdd(a).redISub(l).redISub(l),c=u.redMul(l.redISub(d)).redISub(o.redMul(a)),p=this.z.redMul(t.z).redMul(h);return this.curve.jpoint(d,c,p)},P.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),e=this.x,i=t.x.redMul(r),n=this.y,o=t.y.redMul(r).redMul(this.z),s=e.redSub(i),h=n.redSub(o);if(0===s.cmpn(0))return 0!==h.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),f=u.redMul(s),a=e.redMul(u),l=h.redSqr().redIAdd(f).redISub(a).redISub(a),d=h.redMul(a.redISub(l)).redISub(n.redMul(f)),c=this.z.redMul(s);return this.curve.jpoint(l,d,c)},P.prototype.dblp=function(t){if(0===t||this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var r,e=this;for(r=0;r<t;r++)e=e.dbl();return e}var i=this.curve.a,n=this.curve.tinv,o=this.x,s=this.y,h=this.z,u=h.redSqr().redSqr(),f=s.redAdd(s);for(r=0;r<t;r++){var a=o.redSqr(),l=f.redSqr(),d=l.redSqr(),c=a.redAdd(a).redIAdd(a).redIAdd(i.redMul(u)),p=o.redMul(l),m=c.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),v=c.redMul(g);v=v.redIAdd(v).redISub(d);var y=f.redMul(h);r+1<t&&(u=u.redMul(d)),o=m,h=y,f=v}return this.curve.jpoint(o,f.redMul(n),h)},P.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},P.prototype._zeroDbl=function(){if(this.zOne){var t,r,e,i=this.x.redSqr(),n=this.y.redSqr(),o=n.redSqr(),s=this.x.redAdd(n).redSqr().redISub(i).redISub(o);s=s.redIAdd(s);var h=i.redAdd(i).redIAdd(i),u=h.redSqr().redISub(s).redISub(s),f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),t=u,r=h.redMul(s.redISub(u)).redISub(f),e=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),c=this.x.redAdd(l).redSqr().redISub(a).redISub(d);c=c.redIAdd(c);var p=a.redAdd(a).redIAdd(a),m=p.redSqr(),g=d.redIAdd(d);g=(g=g.redIAdd(g)).redIAdd(g),t=m.redISub(c).redISub(c),r=p.redMul(c.redISub(t)).redISub(g),e=(e=this.y.redMul(this.z)).redIAdd(e)}return this.curve.jpoint(t,r,e)},P.prototype._threeDbl=function(){if(this.zOne){var t,r,e,i=this.x.redSqr(),n=this.y.redSqr(),o=n.redSqr(),s=this.x.redAdd(n).redSqr().redISub(i).redISub(o);s=s.redIAdd(s);var h=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),u=h.redSqr().redISub(s).redISub(s);t=u;var f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),r=h.redMul(s.redISub(u)).redISub(f),e=this.y.redAdd(this.y)}else{var a=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),c=this.x.redSub(a).redMul(this.x.redAdd(a));c=c.redAdd(c).redIAdd(c);var p=d.redIAdd(d),m=(p=p.redIAdd(p)).redAdd(p);t=c.redSqr().redISub(m),e=this.y.redAdd(this.z).redSqr().redISub(l).redISub(a);var g=l.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),r=c.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,r,e)},P.prototype._dbl=function(){var t=this.curve.a,r=this.x,e=this.y,i=this.z,n=i.redSqr().redSqr(),o=r.redSqr(),s=e.redSqr(),h=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(n)),u=r.redAdd(r),f=(u=u.redIAdd(u)).redMul(s),a=h.redSqr().redISub(f.redAdd(f)),l=f.redISub(a),d=s.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var c=h.redMul(l).redISub(d),p=e.redAdd(e).redMul(i);return this.curve.jpoint(a,c,p)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);
vendor: 6,418 bytes, line 1
1var t=this.x.redSqr(),r=this.y.redSqr(),e=this.z.redSqr(),i=r.redSqr(),n=t.redAdd(t).redIAdd(t),o=n.redSqr(),s=this.x.redAdd(r).redSqr().redISub(t).redISub(i),h=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),u=i.redIAdd(i);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var f=n.redIAdd(s).redSqr().redISub(o).redISub(h).redISub(u),a=r.redMul(f);a=(a=a.redIAdd(a)).redIAdd(a);var l=this.x.redMul(h).redISub(a);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.y.redMul(f.redMul(u.redISub(f)).redISub(s.redMul(h)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var c=this.z.redAdd(s).redSqr().redISub(e).redISub(h);return this.curve.jpoint(l,d,c)},P.prototype.mul=function(t,r){return t=new(d())(t,r),this.curve._wnafMul(this,t)},P.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var r=this.z.redSqr(),e=t.z.redSqr();if(0!==this.x.redMul(e).redISub(t.x.redMul(r)).cmpn(0))return!1;var i=r.redMul(this.z),n=e.redMul(t.z);return 0===this.y.redMul(n).redISub(t.y.redMul(i)).cmpn(0)},P.prototype.eqXToP=function(t){var r=this.z.redSqr(),e=t.toRed(this.curve.red).redMul(r);if(0===this.x.cmp(e))return!0;for(var i=t.clone(),n=this.curve.redN.redMul(r);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},P.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var R=m(function(t,r){r.base=A,r.short=I,r.mont=null,r.edwards=null}),k=m(function(t,r){var e,i=b.assert;function n(t){"short"===t.type?this.curve=new R.short(t):"edwards"===t.type?this.curve=new R.edwards(t):this.curve=new R.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(t,e){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var i=new n(e);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=n,o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:p().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:p().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:p().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:p().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:p().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p().sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{e=null.crash()}catch(t){e=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:p().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
1,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",e]})});function O(t){if(!(this instanceof O))return new O(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=y.toArray(t.entropy,t.entropyEnc||"hex"),e=y.toArray(t.nonce,t.nonceEnc||"hex"),i=y.toArray(t.pers,t.persEnc||"hex");g(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,e,i)}O.prototype._init=function(t,r,e){var i=t.concat(r).concat(e);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},O.prototype._hmac=function(){return new(p()).hmac(this.hash,this.K)},O.prototype._update=function(t){var r=this._hmac().update(this.V).update([0]);t&&(r=r.update(t)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},O.prototype.reseed=function(t,r,e,i){"string"!=typeof r&&(i=e,e=r,r=null),t=y.toArray(t,r),e=y.toArray(e,i),g(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(e||[])),this._reseed=1},O.prototype.generate=function(t,r,e,i){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof r&&(i=e,e=r,r=null),e&&(e=y.toArray(e,i||"hex"),this._update(e));for(var n=[];n.length<t;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var o=n.slice(0,t);return this._update(e),this._reseed++,y.encode(o,r)};var T=b.assert;function F(t,r){this.ec=t,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}F.fromPublic=function(t,r,e){return r instanceof F?r:new F(t,{pub:r,pubEnc:e})},F.fromPrivate=function(t,r,e){return r instanceof F?r:new F(t,{priv:r,privEnc:e})},F.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},F.prototype.getPublic=function(t,r){return("string"==typeof t&&(r=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r)?this.pub.encode(r,t):this.pub},F.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},F.prototype._importPrivate=function(t,r){this.priv=new(d())(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)},F.prototype._importPublic=function(t,r){if(t.x||t.y){"mont"===this.ec.curve.type?T(t.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&T(t.x&&t.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(t.x,t.y);return}this.pub=this.ec.curve.decodePoint(t,r)},F.prototype.derive=function(t){return t.validate()||T(t.validate(),"public point not validated"),t.mul(this.priv).getX()},F.prototype.sign=function(t,r,e){return this.ec.sign(t,this,r,e)},F.prototype.verify=function(t,r){return this.ec.verify(t,r,this)},F.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var U=b.assert;function C(t,r){if(t instanceof C)return t;this._importDER(t,r)||(U(t.r&&t.s,"Signature without r or s"),this.r=new(d())(t.r,16),this.s=new(d())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function z(){this.place=0}function L(t,r){var e=t[r.place++];if(!(128&e))return e;var i=15&e;if(0===i||i>4)return!1;for(var n=0,o=0,s=r.place;o<i;o++,s++)n<<=8,n|=t[s],n>>>=0;return!(n<=127)&&(r.place=s,n)}function B(t){for(var r=0,e=t.length-1;!t[r]&&!(128&t[r+1])&&r<e;)r++;return 0===r?t:t.slice(r)}function D(t,r){if(r<128){t.push(r);return}var e=1+(Math.log(r)/Math.LN2>>>3);for(t.push(128|e);--e;)t.push(r>>>(e<<3)&255);t.push(r)}C.prototype._importDER=function(t,r){t=b.toArray(t,r);var e=new z;if(48!==t[e.place++])return!1;var i=L(t,e);if(!1===i||i+e.place!==t.length||2!==t[e.place++])return!1;var n=L(t,e);if(!1===n)return!1;var o=t.slice(e.place,n+e.place);if(e.place+=n,2!==t[e.place++])return!1;var s=L(t,e);if(!1===s||t.length!==s+e.place)return!1;var h=t.slice(e.place,s+e.place);
1if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new(d())(o),this.s=new(d())(h),this.recoveryParam=null,!0},C.prototype.toDER=function(t){var r=this.r.toArray(),e=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&e[0]&&(e=[0].concat(e)),r=B(r),e=B(e);!e[0]&&!(128&e[1]);)e=e.slice(1);var i=[2];D(i,r.length),(i=i.concat(r)).push(2),D(i,e.length);var n=i.concat(e),o=[48];return D(o,n.length),o=o.concat(n),b.encode(o,t)};var q=function(){throw Error("unsupported")},G=b.assert;function j(t){if(!(this instanceof j))return new j(t);"string"==typeof t&&(G(Object.prototype.hasOwnProperty.call(k,t),"Unknown curve "+t),t=k[t]),t instanceof k.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}j.prototype.keyPair=function(t){return new F(this,t)},j.prototype.keyFromPrivate=function(t,r){return F.fromPrivate(this,t,r)},j.prototype.keyFromPublic=function(t,r){return F.fromPublic(this,t,r)},j.prototype.genKeyPair=function(t){t||(t={});for(var r=new O({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||q(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),e=this.n.byteLength(),i=this.n.sub(new(d())(2));;){var n=new(d())(r.generate(e));if(!(n.cmp(i)>0))return n.iaddn(1),this.keyFromPrivate(n)}},j.prototype._truncateToN=function(t,r){var e=8*t.byteLength()-this.n.bitLength();return(e>0&&(t=t.ushrn(e)),!r&&t.cmp(this.n)>=0)?t.sub(this.n):t},j.prototype.sign=function(t,r,e,i){"object"==typeof e&&(i=e,e=null),i||(i={}),r=this.keyFromPrivate(r,e),t=this._truncateToN(new(d())(t,16));for(var n=this.n.byteLength(),o=r.getPrivate().toArray("be",n),s=t.toArray("be",n),h=new O({hash:this.hash,entropy:o,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),u=this.n.sub(new(d())(1)),f=0;;f++){var a=i.k?i.k(f):new(d())(h.generate(this.n.byteLength()));if(!(0>=(a=this._truncateToN(a,!0)).cmpn(1)||a.cmp(u)>=0)){var l=this.g.mul(a);if(!l.isInfinity()){var c=l.getX(),p=c.umod(this.n);if(0!==p.cmpn(0)){var m=a.invm(this.n).mul(p.mul(r.getPrivate()).iadd(t));if(0!==(m=m.umod(this.n)).cmpn(0)){var g=(l.getY().isOdd()?1:0)|(0!==c.cmp(p)?2:0);return i.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),g^=1),new C({r:p,s:m,recoveryParam:g})}}}}}},j.prototype.verify=function(t,r,e,i){t=this._truncateToN(new(d())(t,16)),e=this.keyFromPublic(e,i);var n,o=(r=new C(r,"hex")).r,s=r.s;if(0>o.cmpn(1)||o.cmp(this.n)>=0||0>s.cmpn(1)||s.cmp(this.n)>=0)return!1;var h=s.invm(this.n),u=h.mul(t).umod(this.n),f=h.mul(o).umod(this.n);return this.curve._maxwellTrick?!(n=this.g.jmulAdd(u,e.getPublic(),f)).isInfinity()&&n.eqXToP(o):!(n=this.g.mulAdd(u,e.getPublic(),f)).isInfinity()&&0===n.getX().umod(this.n).cmp(o)},j.prototype.recoverPubKey=function(t,r,e,i){G((3&e)===e,"The recovery param is more than two bits"),r=new C(r,i);var n=this.n,o=new(d())(t),s=r.r,h=r.s,u=1&e,f=e>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var a=r.r.invm(n),l=n.sub(o).mul(a).umod(n),c=h.mul(a).umod(n);return this.g.mulAdd(l,s,c)},j.prototype.getKeyRecoveryParam=function(t,r,e,i){if(null!==(r=new C(r,i)).recoveryParam)return r.recoveryParam;for(var n,o=0;o<4;o++){try{n=this.recoverPubKey(t,r,o)}catch(t){continue}if(n.eq(e))return o}throw Error("Unable to find valid recovery factor")};var K=m(function(t,r){r.version="6.5.4",r.utils=b,r.rand=function(){throw Error("unsupported")},r.curve=R,r.curves=k,r.ec=j,r.eddsa=null}).ec,Y=e(36173),V=e(13421);let $=new V.Yd("signing-key/5.7.0"),H=null;function J(){return H||(H=new K("secp256k1")),H}class Z{constructor(t){(0,Y.zG)(this,"curve","secp256k1"),(0,Y.zG)(this,"privateKey",(0,h.Dv)(t)),32!==(0,h.E1)(this.privateKey)&&$.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let r=J().keyFromPrivate((0,h.lE)(this.privateKey));(0,Y.zG)(this,"publicKey","0x"+r.getPublic(!1,"hex")),(0,Y.zG)(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),(0,Y.zG)(this,"_isSigningKey",!0)}
1_addPoint(t){let r=J().keyFromPublic((0,h.lE)(this.publicKey)),e=J().keyFromPublic((0,h.lE)(t));return"0x"+r.pub.add(e.pub).encodeCompressed("hex")}signDigest(t){let r=J().keyFromPrivate((0,h.lE)(this.privateKey)),e=(0,h.lE)(t);32!==e.length&&$.throwArgumentError("bad digest length","digest",t);let i=r.sign(e,{canonical:!0});return(0,h.N)({recoveryParam:i.recoveryParam,r:(0,h.$m)("0x"+i.r.toString(16),32),s:(0,h.$m)("0x"+i.s.toString(16),32)})}computeSharedSecret(t){let r=J().keyFromPrivate((0,h.lE)(this.privateKey)),e=J().keyFromPublic((0,h.lE)(W(t)));return(0,h.$m)("0x"+r.derive(e.getPublic()).toString(16),32)}static isSigningKey(t){return!!(t&&t._isSigningKey)}}function W(t,r){let e=(0,h.lE)(t);if(32===e.length){let t=new Z(e);return r?"0x"+J().keyFromPrivate(e).getPublic(!0,"hex"):t.publicKey}return 33===e.length?r?(0,h.Dv)(e):"0x"+J().keyFromPublic(e).getPublic(!1,"hex"):65===e.length?r?"0x"+J().keyFromPublic(e).getPublic(!0,"hex"):(0,h.Dv)(e):$.throwArgumentError("invalid public or private key","key","[REDACTED]")}let X=new V.Yd("transactions/5.7.0");function Q(t){return"0x"===t?null:(0,o.Kn)(t)}function tt(t){return"0x"===t?u._Y:s.O$.from(t)}function tr(t,r){return function(t){let r=W(t);return(0,o.Kn)((0,h.p3)((0,f.w)((0,h.p3)(r,1)),12))}(function(t,r){let e=(0,h.N)(r),i={r:(0,h.lE)(e.r),s:(0,h.lE)(e.s)};return"0x"+J().recoverPubKey((0,h.lE)(t),i,e.recoveryParam).encode("hex",!1)}((0,h.lE)(t),r))}function te(t,r){let e=(0,h.G1)(s.O$.from(t).toHexString());return e.length>32&&X.throwArgumentError("invalid length for "+r,"transaction:"+r,t),e}function ti(t,r){return{address:(0,o.Kn)(t),storageKeys:(r||[]).map((r,e)=>(32!==(0,h.E1)(r)&&X.throwArgumentError("invalid access list storageKey",`accessList[${t}:${e}]`,r),r.toLowerCase()))}}function tn(t){if(Array.isArray(t))return t.map((t,r)=>Array.isArray(t)?(t.length>2&&X.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${r}]`,t),ti(t[0],t[1])):ti(t.address,t.storageKeys));let r=Object.keys(t).map(r=>{let e=t[r].reduce((t,r)=>(t[r]=!0,t),{});return ti(r,Object.keys(e).sort())});return r.sort((t,r)=>t.address.localeCompare(r.address)),r}function to(t){return tn(t).map(t=>[t.address,t.storageKeys])}function ts(t,r){if(null!=t.gasPrice){let r=s.O$.from(t.gasPrice),e=s.O$.from(t.maxFeePerGas||0);r.eq(e)||X.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:e})}let e=[te(t.chainId||0,"chainId"),te(t.nonce||0,"nonce"),te(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),te(t.maxFeePerGas||0,"maxFeePerGas"),te(t.gasLimit||0,"gasLimit"),null!=t.to?(0,o.Kn)(t.to):"0x",te(t.value||0,"value"),t.data||"0x",to(t.accessList||[])];if(r){let t=(0,h.N)(r);e.push(te(t.recoveryParam,"recoveryParam")),e.push((0,h.G1)(t.r)),e.push((0,h.G1)(t.s))}return(0,h.xs)(["0x02",a.c(e)])}function th(t,r){let e=[te(t.chainId||0,"chainId"),te(t.nonce||0,"nonce"),te(t.gasPrice||0,"gasPrice"),te(t.gasLimit||0,"gasLimit"),null!=t.to?(0,o.Kn)(t.to):"0x",te(t.value||0,"value"),t.data||"0x",to(t.accessList||[])];if(r){let t=(0,h.N)(r);e.push(te(t.recoveryParam,"recoveryParam")),e.push((0,h.G1)(t.r)),e.push((0,h.G1)(t.s))}return(0,h.xs)(["0x01",a.c(e)])}function tu(t,r,e){try{let e=tt(r[0]).toNumber();if(0!==e&&1!==e)throw Error("bad recid");t.v=e}catch(t){X.throwArgumentError("invalid v for transaction type: 1","v",r[0])}t.r=(0,h.$m)(r[1],32),t.s=(0,h.$m)(r[2],32);try{let r=(0,f.w)(e(t));t.from=tr(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}function tf(t){let r=(0,h.lE)(t);if(r[0]>127)return function(t){let r=a.J(t);9!==r.length&&6!==r.length&&X.throwArgumentError("invalid raw transaction","rawTransaction",t);let e={nonce:tt(r[0]).toNumber(),gasPrice:tt(r[1]),gasLimit:tt(r[2]),to:Q(r[3]),value:tt(r[4]),data:r[5],chainId:0};if(6===r.length)return e;try{e.v=s.O$.from(r[6]).toNumber()}catch(t){return e}if(e.r=(0,h.$m)(r[7],32),e.s=(0,h.$m)(r[8],32),s.O$.from(e.r).isZero()&&s.O$.from(e.s).isZero())e.chainId=e.v,e.v=0;else{e.chainId=Math.floor((e.v-35)/2),e.chainId<0&&(e.chainId=0);let i=e.v-27,n=r.slice(0,6);0!==e.chainId&&(n.push((0,h.Dv)(e.chainId)),n.push("0x"),n.push("0x"),i-=2*e.chainId+8);let o=(0,f.w)(a.c(n));try{e.from=tr(o,{r:(0,h.Dv)(e.r),s:(0,h.Dv)(e.s),recoveryParam:i})}catch(t){}e.hash=(0,f.w)(t)}return e.type=null,e}(r);switch(r[0]){case 1:return function(t){let r=a.J(t.slice(1));8!==r.length&&11!==r.length&&X.throwArgumentError("invalid component count for transaction type: 1","payload",(0,h.Dv)(t));let e={type:1,chainId:tt(r[0]).toNumber(),nonce:tt(r[1]).toNumber(),gasPrice:tt(r[2]),gasLimit:tt(r[3]),to:Q(r[4]),value:tt(r[5]),data:r[6],accessList:tn(r[7])};return 8===r.length||(e.hash=(0,f.w)(t),tu(e,r.slice(8),th)),e}(r);case 2:return function(t){let r=a.J(t.slice(1));9!==r.length&&12!==r.length&&X.throwArgumentError("invalid component count for transaction type: 2","payload",(0,h.Dv)(t));let e=tt(r[2]),i=tt(r[3]),n={type:2,chainId:tt(r[0]).toNumber(),nonce:tt(r[1]).toNumber(),maxPriorityFeePerGas:e,maxFeePerGas:i,gasPrice:null,gasLimit:tt(r[4]),to:Q(r[5]),value:tt(r[6]),data:r[7],accessList:tn(r[8])};return 9===r.length||(n.hash=(0,f.w)(t),tu(n,r.slice(9),ts)),n}(r)}return X.throwError(`unsupported transaction type: ${r[0]}`,V.Yd.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:r[0]})}(i=n||(n={}))[i.legacy=0]="legacy",i[i.eip2930=1]="eip2930",i[i.eip1559=2]="eip1559"},58171:function(t,r,e){!function(t,r){"use strict";function i(t,r){if(!t)throw Error(r||"Assertion failed")}function n(t,r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}function o(t,r,e){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(("le"===r||"be"===r)&&(e=r,r=10),this._init(t||0,r||10,e||"be"))}
vendor: 9,440 bytes, line 1
1"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{l="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e(46601).Buffer}catch(t){}function s(t,r){var e=t.charCodeAt(r);return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void i(!1,"Invalid character in "+t)}function h(t,r,e){var i=s(t,e);return e-1>=r&&(i|=s(t,e-1)<<4),i}function u(t,r,e,n){for(var o=0,s=0,h=Math.min(t.length,e),u=r;u<h;u++){var f=t.charCodeAt(u)-48;o*=n,s=f>=49?f-49+10:f>=17?f-17+10:f,i(f>=0&&s<n,"Invalid character"),o+=s}return o}function f(t,r){t.words=r.words,t.length=r.length,t.negative=r.negative,t.red=r.red}if(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 0>t.cmp(r)?t:r},o.prototype._init=function(t,r,e){if("number"==typeof t)return this._initNumber(t,r,e);if("object"==typeof t)return this._initArray(t,r,e);"hex"===r&&(r=16),i(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,e):(this._parseBase(t,r,n),"le"===e&&this._initArray(this.toArray(),r,e)))},o.prototype._initNumber=function(t,r,e){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):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),r,e)},o.prototype._initArray=function(t,r,e){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var n,o,s=0;s<this.length;s++)this.words[s]=0;var h=0;if("be"===e)for(s=t.length-1,n=0;s>=0;s-=3)o=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[n]|=o<<h&67108863,this.words[n+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,n++);else if("le"===e)for(s=0,n=0;s<t.length;s+=3)o=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[n]|=o<<h&67108863,this.words[n+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,n++);return this._strip()},o.prototype._parseHex=function(t,r,e){this.length=Math.ceil((t.length-r)/6),this.words=Array(this.length);for(var i,n=0;n<this.length;n++)this.words[n]=0;var o=0,s=0;if("be"===e)for(n=t.length-1;n>=r;n-=2)i=h(t,r,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(t.length-r)%2==0?r+1:r;n<t.length;n+=2)i=h(t,r,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,r,e){this.words=[0],this.length=1;for(var i=0,n=1;n<=67108863;n*=r)i++;i--,n=n/r|0;for(var o=t.length-e,s=o%i,h=Math.min(o,o-s)+e,f=0,a=e;a<h;a+=i)f=u(t,a,a+i,r),this.imuln(n),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(0!==s){var l=1;for(f=u(t,a,t.length,r),a=0;a<s;a++)l*=r;this.imuln(l),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this._strip()},o.prototype.copy=function(t){t.words=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._move=function(t){f(t,this)},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},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=a}catch(t){o.prototype.inspect=a}else o.prototype.inspect=a;function a(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l,d=["","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"],c=[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],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,r,e){e.negative=r.negative^t.negative;var i=t.length+r.length|0;e.length=i,i=i-1|0;var n=0|t.words[0],o=0|r.words[0],s=n*o,h=67108863&s,u=s/67108864|0;e.words[0]=h;for(var f=1;f<i;f++){for(var a=u>>>26,l=67108863&u,d=Math.min(f,r.length-1),c=Math.max(0,f-t.length+1);c<=d;c++){var p=f-c|0;a+=(s=(n=0|t.words[p])*(o=0|r.words[c])+l)/67108864|0,l=67108863&s}e.words[f]=0|l,u=0|a}return 0!==u?e.words[f]=0|u:e.length--,e._strip()}o.prototype.toString=function(t,r){if(r=0|r||1,16===(t=t||10)||"hex"===t){e="";for(var e,n=0,o=0,s=0;s<this.length;s++){var h=this.words[s],u=((h<<n|o)&16777215).toString(16);o=h>>>24-n&16777215,(n+=2)>=26&&(n-=26,s--),e=0!==o||s!==this.length-1?d[6-u.length]+u+e:u+e}for(0!==o&&(e=o.toString(16)+e);e.length%r!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(t===(0|t)&&t>=2&&t<=36){var f=c[t],a=p[t];e="";var l=this.clone();for(l.negative=0;!l.isZero();){var m=l.modrn(a).toString(t);e=(l=l.idivn(a)).isZero()?m+e:d[f-m.length]+m+e}for(this.isZero()&&(e="0"+e);e.length%r!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}i(!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&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},l&&(o.prototype.toBuffer=function(t,r){return this.toArrayLike(l,t,r)}),o.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},o.prototype.toArrayLike=function(t,r,e){this._strip();var n=this.byteLength(),o=e||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0");var s=t.allocUnsafe?t.allocUnsafe(o):new t(o);return this["_toArrayLike"+("le"===r?"LE":"BE")](s,n),s},o.prototype._toArrayLikeLE=function(t,r){for(var e=0,i=0,n=0,o=0;n<this.length;n++){var s=this.words[n]<<o|i;t[e++]=255&s,e<t.length&&(t[e++]=s>>8&255),e<t.length&&(t[e++]=s>>16&255),6===o?(e<t.length&&(t[e++]=s>>24&255),i=0,o=0):(i=s>>>24,o+=2)}if(e<t.length)for(t[e++]=i;e<t.length;)t[e++]=0},o.prototype._toArrayLikeBE=function(t,r){for(var e=t.length-1,i=0,n=0,o=0;n<this.length;n++){var s=this.words[n]<<o|i;t[e--]=255&s,e>=0&&(t[e--]=s>>8&255),e>=0&&(t[e--]=s>>16&255),6===o?(e>=0&&(t[e--]=s>>24&255),i=0,o=0):(i=s>>>24,o+=2)}if(e>=0)for(t[e--]=i;e>=0;)t[e--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var r=t,e=0;return r>=4096&&(e+=13,r>>>=13),r>=64&&(e+=7,r>>>=7),r>=8&&(e+=4,r>>>=4),r>=2&&(e+=2,r>>>=2),e+r},o.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,e=0;return(8191&r)==0&&(e+=13,r>>>=13),(127&r)==0&&(e+=7,r>>>=7),(15&r)==0&&(e+=4,r>>>=4),(3&r)==0&&(e+=2,r>>>=2),(1&r)==0&&e++,e},o.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return(this.length-1)*26+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var e=this._zeroBits(this.words[r]);if(t+=e,26!==e)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 i((this.negative|t.negative)==0),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 e=0;e<r.length;e++)this.words[e]=this.words[e]&t.words[e];return this.length=r.length,this._strip()},o.prototype.iand=function(t){return i((this.negative|t.negative)==0),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){this.length>t.length?(r=this,e=t):(r=t,e=this);for(var r,e,i=0;i<e.length;i++)this.words[i]=r.words[i]^e.words[i];if(this!==r)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=r.length,this._strip()},o.prototype.ixor=function(t){return i((this.negative|t.negative)==0),this.iuxor(t)}
vendor: 10,535 bytes, line 1
1,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){i("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),e=t%26;this._expand(r),e>0&&r--;for(var n=0;n<r;n++)this.words[n]=67108863&~this.words[n];return e>0&&(this.words[n]=~this.words[n]&67108863>>26-e),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,r){i("number"==typeof t&&t>=0);var e=t/26|0,n=t%26;return this._expand(e+1),r?this.words[e]=this.words[e]|1<<n:this.words[e]=this.words[e]&~(1<<n),this._strip()},o.prototype.iadd=function(t){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?(e=this,i=t):(e=t,i=this);for(var r,e,i,n=0,o=0;o<i.length;o++)r=(0|e.words[o])+(0|i.words[o])+n,this.words[o]=67108863&r,n=r>>>26;for(;0!==n&&o<e.length;o++)r=(0|e.words[o])+n,this.words[o]=67108863&r,n=r>>>26;if(this.length=e.length,0!==n)this.words[this.length]=n,this.length++;else if(e!==this)for(;o<e.length;o++)this.words[o]=e.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,e,i=this.iadd(t);return t.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,e=t):(r=t,e=this);for(var o=0,s=0;s<e.length;s++)o=(i=(0|r.words[s])-(0|e.words[s])+o)>>26,this.words[s]=67108863&i;for(;0!==o&&s<r.length;s++)o=(i=(0|r.words[s])+o)>>26,this.words[s]=67108863&i;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,r,e){var i,n,o,s=t.words,h=r.words,u=e.words,f=0,a=0|s[0],l=8191&a,d=a>>>13,c=0|s[1],p=8191&c,m=c>>>13,g=0|s[2],v=8191&g,y=g>>>13,b=0|s[3],w=8191&b,M=b>>>13,_=0|s[4],A=8191&_,E=_>>>13,S=0|s[5],x=8191&S,I=S>>>13,N=0|s[6],P=8191&N,R=N>>>13,k=0|s[7],O=8191&k,T=k>>>13,F=0|s[8],U=8191&F,C=F>>>13,z=0|s[9],L=8191&z,B=z>>>13,D=0|h[0],q=8191&D,G=D>>>13,j=0|h[1],K=8191&j,Y=j>>>13,V=0|h[2],$=8191&V,H=V>>>13,J=0|h[3],Z=8191&J,W=J>>>13,X=0|h[4],Q=8191&X,tt=X>>>13,tr=0|h[5],te=8191&tr,ti=tr>>>13,tn=0|h[6],to=8191&tn,ts=tn>>>13,th=0|h[7],tu=8191&th,tf=th>>>13,ta=0|h[8],tl=8191&ta,td=ta>>>13,tc=0|h[9],tp=8191&tc,tm=tc>>>13;e.negative=t.negative^r.negative,e.length=19;var tg=(f+(i=Math.imul(l,q))|0)+((8191&(n=(n=Math.imul(l,G))+Math.imul(d,q)|0))<<13)|0;f=((o=Math.imul(d,G))+(n>>>13)|0)+(tg>>>26)|0,tg&=67108863,i=Math.imul(p,q),n=(n=Math.imul(p,G))+Math.imul(m,q)|0,o=Math.imul(m,G);var tv=(f+(i=i+Math.imul(l,K)|0)|0)+((8191&(n=(n=n+Math.imul(l,Y)|0)+Math.imul(d,K)|0))<<13)|0;f=((o=o+Math.imul(d,Y)|0)+(n>>>13)|0)+(tv>>>26)|0,tv&=67108863,i=Math.imul(v,q),n=(n=Math.imul(v,G))+Math.imul(y,q)|0,o=Math.imul(y,G),i=i+Math.imul(p,K)|0,n=(n=n+Math.imul(p,Y)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Y)|0;var ty=(f+(i=i+Math.imul(l,$)|0)|0)+((8191&(n=(n=n+Math.imul(l,H)|0)+Math.imul(d,$)|0))<<13)|0;f=((o=o+Math.imul(d,H)|0)+(n>>>13)|0)+(ty>>>26)|0,ty&=67108863,i=Math.imul(w,q),n=(n=Math.imul(w,G))+Math.imul(M,q)|0,o=Math.imul(M,G),i=i+Math.imul(v,K)|0,n=(n=n+Math.imul(v,Y)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Y)|0,i=i+Math.imul(p,$)|0,n=(n=n+Math.imul(p,H)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,H)|0;var tb=(f+(i=i+Math.imul(l,Z)|0)|0)+((8191&(n=(n=n+Math.imul(l,W)|0)+Math.imul(d,Z)|0))<<13)|0;f=((o=o+Math.imul(d,W)|0)+(n>>>13)|0)+(tb>>>26)|0,tb&=67108863,i=Math.imul(A,q),n=(n=Math.imul(A,G))+Math.imul(E,q)|0,o=Math.imul(E,G),i=i+Math.imul(w,K)|0,n=(n=n+Math.imul(w,Y)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Y)|0,i=i+Math.imul(v,$)|0,n=(n=n+Math.imul(v,H)|0)+Math.imul(y,$)|0,o=o+Math.imul(y,H)|0,i=i+Math.imul(p,Z)|0,n=(n=n+Math.imul(p,W)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,W)|0;var tw=(f+(i=i+Math.imul(l,Q)|0)|0)+((8191&(n=(n=n+Math.imul(l,tt)|0)+Math.imul(d,Q)|0))<<13)|0;f=((o=o+Math.imul(d,tt)|0)+(n>>>13)|0)+(tw>>>26)|0,tw&=67108863,i=Math.imul(x,q),n=(n=Math.imul(x,G))+Math.imul(I,q)|0,o=Math.imul(I,G),i=i+Math.imul(A,K)|0,n=(n=n+Math.imul(A,Y)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Y)|0,i=i+Math.imul(w,$)|0,n=(n=n+Math.imul(w,H)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,H)|0,i=i+Math.imul(v,Z)|0,n=(n=n+Math.imul(v,W)|0)+Math.imul(y,Z)|0,o=o+Math.imul(y,W)|0,i=i+Math.imul(p,Q)|0,n=(n=n+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var tM=(f+(i=i+Math.imul(l,te)|0)|0)+((8191&(n=(n=n+Math.imul(l,ti)|0)+Math.imul(d,te)|0))<<13)|0;f=((o=o+Math.imul(d,ti)|0)+(n>>>13)|0)+(tM>>>26)|0,tM&=67108863,i=Math.imul(P,q),n=(n=Math.imul(P,G))+Math.imul(R,q)|0,o=Math.imul(R,G),i=i+Math.imul(x,K)|0,n=(n=n+Math.imul(x,Y)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Y)|0,i=i+Math.imul(A,$)|0,n=(n=n+Math.imul(A,H)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,H)|0,i=i+Math.imul(w,Z)|0,n=(n=n+Math.imul(w,W)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,W)|0,i=i+Math.imul(v,Q)|0,n=(n=n+Math.imul(v,tt)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,tt)|0,i=i+Math.imul(p,te)|0,n=(n=n+Math.imul(p,ti)|0)+Math.imul(m,te)|0,o=o+Math.imul(m,ti)|0;var t_=(f+(i=i+Math.imul(l,to)|0)|0)+((8191&(n=(n=n+Math.imul(l,ts)|0)+Math.imul(d,to)|0))<<13)|0;f=((o=o+Math.imul(d,ts)|0)+(n>>>13)|0)+(t_>>>26)|0,t_&=67108863,i=Math.imul(O,q),n=(n=Math.imul(O,G))+Math.imul(T,q)|0,o=Math.imul(T,G),i=i+Math.imul(P,K)|0,n=(n=n+Math.imul(P,Y)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Y)|0,i=i+Math.imul(x,$)|0,n=(n=n+Math.imul(x,H)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,H)|0,i=i+Math.imul(A,Z)|0,n=(n=n+Math.imul(A,W)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,W)|0,i=i+Math.imul(w,Q)|0,n=(n=n+Math.imul(w,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,i=i+Math.imul(v,te)|0,n=(n=n+Math.imul(v,ti)|0)+Math.imul(y,te)|0,o=o+Math.imul(y,ti)|0,i=i+Math.imul(p,to)|0,n=(n=n+Math.imul(p,ts)|0)+Math.imul(m,to)|0,o=o+Math.imul(m,ts)|0;var tA=(f+(i=i+Math.imul(l,tu)|0)|0)+((8191&(n=(n=n+Math.imul(l,tf)|0)+Math.imul(d,tu)|0))<<13)|0;f=((o=o+Math.imul(d,tf)|0)+(n>>>13)|0)+(tA>>>26)|0,tA&=67108863,i=Math.imul(U,q),n=(n=Math.imul(U,G))+Math.imul(C,q)|0,o=Math.imul(C,G),i=i+Math.imul(O,K)|0,n=(n=n+Math.imul(O,Y)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,Y)|0,i=i+Math.imul(P,$)|0,n=(n=n+Math.imul(P,H)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,H)|0,i=i+Math.imul(x,Z)|0,n=(n=n+Math.imul(x,W)|0)+Math.imul(I,Z)|0,o=o+Math.imul(I,W)|0,i=i+Math.imul(A,Q)|0,n=(n=n+Math.imul(A,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,i=i+Math.imul(w,te)|0,n=(n=n+Math.imul(w,ti)|0)+Math.imul(M,te)|0,o=o+Math.imul(M,ti)|0,i=i+Math.imul(v,to)|0,n=(n=n+Math.imul(v,ts)|0)+Math.imul(y,to)|0,o=o+Math.imul(y,ts)|0,i=i+Math.imul(p,tu)|0,n=(n=n+Math.imul(p,tf)|0)+Math.imul(m,tu)|0,o=o+Math.imul(m,tf)|0;var tE=(f+(i=i+Math.imul(l,tl)|0)|0)+((8191&(n=(n=n+Math.imul(l,td)|0)+Math.imul(d,tl)|0))<<13)|0;f=((o=o+Math.imul(d,td)|0)+(n>>>13)|0)+(tE>>>26)|0,tE&=67108863,i=Math.imul(L,q),n=(n=Math.imul(L,G))+Math.imul(B,q)|0,o=Math.imul(B,G),i=i+Math.imul(U,K)|0,n=(n=n+Math.imul(U,Y)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,Y)|0,i=i+Math.imul(O,$)|0,n=(n=n+Math.imul(O,H)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,H)|0,i=i+Math.imul(P,Z)|0,n=(n=n+Math.imul(P,W)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,W)|0,i=i+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,i=i+Math.imul(A,te)|0,n=(n=n+Math.imul(A,ti)|0)+Math.imul(E,te)|0,o=o+Math.imul(E,ti)|0,i=i+Math.imul(w,to)|0,n=(n=n+Math.imul(w,ts)|0)+Math.imul(M,to)|0,o=o+Math.imul(M,ts)|0,i=i+Math.imul(v,tu)|0,n=(n=n+Math.imul(v,tf)|0)+Math.imul(y,tu)|0,o=o+Math.imul(y,tf)|0,i=i+Math.imul(p,tl)|0,n=(n=n+Math.imul(p,td)|0)+Math.imul(m,tl)|0,o=o+Math.imul(m,td)|0;var tS=(f+(i=i+Math.imul(l,tp)|0)|0)+((8191&(n=(n=n+Math.imul(l,tm)|0)+Math.imul(d,tp)|0))<<13)|0;f=((o=o+Math.imul(d,tm)|0)+(n>>>13)|0)+(tS>>>26)|0,tS&=67108863,i=Math.imul(L,K),n=(n=Math.imul(L,Y))+Math.imul(B,K)|0,o=Math.imul(B,Y),i=i+Math.imul(U,$)|0,n=(n=n+Math.imul(U,H)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,H)|0,i=i+Math.imul(O,Z)|0,n=(n=n+Math.imul(O,W)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,W)|0,i=i+Math.imul(P,Q)|0,n=(n=n+Math.imul(P,tt)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,i=i+Math.imul(x,te)|0,n=(n=n+Math.imul(x,ti)|0)+Math.imul(I,te)|0,o=o+Math.imul(I,ti)|0,i=i+Math.imul(A,to)|0,n=(n=n+Math.imul(A,ts)|0)+Math.imul(E,to)|0,o=o+Math.imul(E,ts)|0,i=i+Math.imul(w,tu)|0,n=(n=n+Math.imul(w,tf)|0)+Math.imul(M,tu)|0,o=o+Math.imul(M,tf)|0,i=i+Math.imul(v,tl)|0,n=(n=n+Math.imul(v,td)|0)+Math.imul(y,tl)|0,o=o+Math.imul(y,td)|0;var tx=(f+(i=i+Math.imul(p,tp)|0)|0)+((8191&(n=(n=n+Math.imul(p,tm)|0)+Math.imul(m,tp)|0))<<13)|0;f=((o=o+Math.imul(m,tm)|0)+(n>>>13)|0)+(tx>>>26)|0,tx&=67108863,i=Math.imul(L,$),n=(n=Math.imul(L,H))+Math.imul(B,$)|0,o=Math.imul(B,H),i=i+Math.imul(U,Z)|0,n=(n=n+Math.imul(U,W)|0)+Math.imul(C,Z)|0,o=o+Math.imul(C,W)|0,i=i+Math.imul(O,Q)|0,n=(n=n+Math.imul(O,tt)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,tt)|0,i=i+Math.imul(P,te)|0,n=(n=n+Math.imul(P,ti)|0)+Math.imul(R,te)|0,o=o+Math.imul(R,ti)|0,i=i+Math.imul(x,to)|0,n=(n=n+Math.imul(x,ts)|0)+Math.imul(I,to)|0,o=o+Math.imul(I,ts)|0,i=i+Math.imul(A,tu)|0,n=(n=n+Math.imul(A,tf)|0)+Math.imul(E,tu)|0,o=o+Math.imul(E,tf)|0,i=i+Math.imul(w,tl)|0,n=(n=n+Math.imul(w,td)|0)+Math.imul(M,tl)|0,o=o+Math.imul(M,td)|0;var tI=(f+(i=i+Math.imul(v,tp)|0)|0)+((8191&(n=(n=n+Math.imul(v,tm)|0)+Math.imul(y,tp)|0))<<13)|0;f=((o=o+Math.imul(y,tm)|0)+(n>>>13)|0)+(tI>>>26)|0,tI&=67108863,i=Math.imul(L,Z),n=(n=Math.imul(L,W))+Math.imul(B,Z)|0,o=Math.imul(B,W),i=i+Math.imul(U,Q)|0,n=(n=n+Math.imul(U,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,i=i+Math.imul(O,te)|0,n=(n=n+Math.imul(O,ti)|0)+Math.imul(T,te)|0,o=o+Math.imul(T,ti)|0,i=i+Math.imul(P,to)|0,n=(n=n+Math.imul(P,ts)|0)+Math.imul(R,to)|0,o=o+Math.imul(R,ts)|0,i=i+Math.imul(x,tu)|0,n=(n=n+Math.imul(x,tf)|0)+Math.imul(I,tu)|0,o=o+Math.imul(I,tf)|0,i=i+Math.imul(A,tl)|0,n=(n=n+Math.imul(A,td)|0)+Math.imul(E,tl)|0,o=o+Math.imul(E,td)|0;var tN=(f+(i=i+Math.imul(w,tp)|0)|0)+((8191&(n=(n=n+Math.imul(w,tm)|0)+Math.imul(M,tp)|0))<<13)|0;f=((o=o+Math.imul(M,tm)|0)+(n>>>13)|0)+(tN>>>
vendor: 5,883 bytes, line 1
126)|0,tN&=67108863,i=Math.imul(L,Q),n=(n=Math.imul(L,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),i=i+Math.imul(U,te)|0,n=(n=n+Math.imul(U,ti)|0)+Math.imul(C,te)|0,o=o+Math.imul(C,ti)|0,i=i+Math.imul(O,to)|0,n=(n=n+Math.imul(O,ts)|0)+Math.imul(T,to)|0,o=o+Math.imul(T,ts)|0,i=i+Math.imul(P,tu)|0,n=(n=n+Math.imul(P,tf)|0)+Math.imul(R,tu)|0,o=o+Math.imul(R,tf)|0,i=i+Math.imul(x,tl)|0,n=(n=n+Math.imul(x,td)|0)+Math.imul(I,tl)|0,o=o+Math.imul(I,td)|0;var tP=(f+(i=i+Math.imul(A,tp)|0)|0)+((8191&(n=(n=n+Math.imul(A,tm)|0)+Math.imul(E,tp)|0))<<13)|0;f=((o=o+Math.imul(E,tm)|0)+(n>>>13)|0)+(tP>>>26)|0,tP&=67108863,i=Math.imul(L,te),n=(n=Math.imul(L,ti))+Math.imul(B,te)|0,o=Math.imul(B,ti),i=i+Math.imul(U,to)|0,n=(n=n+Math.imul(U,ts)|0)+Math.imul(C,to)|0,o=o+Math.imul(C,ts)|0,i=i+Math.imul(O,tu)|0,n=(n=n+Math.imul(O,tf)|0)+Math.imul(T,tu)|0,o=o+Math.imul(T,tf)|0,i=i+Math.imul(P,tl)|0,n=(n=n+Math.imul(P,td)|0)+Math.imul(R,tl)|0,o=o+Math.imul(R,td)|0;var tR=(f+(i=i+Math.imul(x,tp)|0)|0)+((8191&(n=(n=n+Math.imul(x,tm)|0)+Math.imul(I,tp)|0))<<13)|0;f=((o=o+Math.imul(I,tm)|0)+(n>>>13)|0)+(tR>>>26)|0,tR&=67108863,i=Math.imul(L,to),n=(n=Math.imul(L,ts))+Math.imul(B,to)|0,o=Math.imul(B,ts),i=i+Math.imul(U,tu)|0,n=(n=n+Math.imul(U,tf)|0)+Math.imul(C,tu)|0,o=o+Math.imul(C,tf)|0,i=i+Math.imul(O,tl)|0,n=(n=n+Math.imul(O,td)|0)+Math.imul(T,tl)|0,o=o+Math.imul(T,td)|0;var tk=(f+(i=i+Math.imul(P,tp)|0)|0)+((8191&(n=(n=n+Math.imul(P,tm)|0)+Math.imul(R,tp)|0))<<13)|0;f=((o=o+Math.imul(R,tm)|0)+(n>>>13)|0)+(tk>>>26)|0,tk&=67108863,i=Math.imul(L,tu),n=(n=Math.imul(L,tf))+Math.imul(B,tu)|0,o=Math.imul(B,tf),i=i+Math.imul(U,tl)|0,n=(n=n+Math.imul(U,td)|0)+Math.imul(C,tl)|0,o=o+Math.imul(C,td)|0;var tO=(f+(i=i+Math.imul(O,tp)|0)|0)+((8191&(n=(n=n+Math.imul(O,tm)|0)+Math.imul(T,tp)|0))<<13)|0;f=((o=o+Math.imul(T,tm)|0)+(n>>>13)|0)+(tO>>>26)|0,tO&=67108863,i=Math.imul(L,tl),n=(n=Math.imul(L,td))+Math.imul(B,tl)|0,o=Math.imul(B,td);var tT=(f+(i=i+Math.imul(U,tp)|0)|0)+((8191&(n=(n=n+Math.imul(U,tm)|0)+Math.imul(C,tp)|0))<<13)|0;f=((o=o+Math.imul(C,tm)|0)+(n>>>13)|0)+(tT>>>26)|0,tT&=67108863;var tF=(f+(i=Math.imul(L,tp))|0)+((8191&(n=(n=Math.imul(L,tm))+Math.imul(B,tp)|0))<<13)|0;return f=((o=Math.imul(B,tm))+(n>>>13)|0)+(tF>>>26)|0,tF&=67108863,u[0]=tg,u[1]=tv,u[2]=ty,u[3]=tb,u[4]=tw,u[5]=tM,u[6]=t_,u[7]=tA,u[8]=tE,u[9]=tS,u[10]=tx,u[11]=tI,u[12]=tN,u[13]=tP,u[14]=tR,u[15]=tk,u[16]=tO,u[17]=tT,u[18]=tF,0!==f&&(u[19]=f,e.length++),e};function v(t,r,e){e.negative=r.negative^t.negative,e.length=t.length+r.length;for(var i=0,n=0,o=0;o<e.length-1;o++){var s=n;n=0;for(var h=67108863&i,u=Math.min(o,r.length-1),f=Math.max(0,o-t.length+1);f<=u;f++){var a=o-f,l=(0|t.words[a])*(0|r.words[f]),d=67108863&l;s=s+(l/67108864|0)|0,h=67108863&(d=d+h|0),n+=(s=s+(d>>>26)|0)>>>26,s&=67108863}e.words[o]=h,i=s,s=n}return 0!==i?e.words[o]=i:e.length--,e._strip()}function y(t,r){this.x=t,this.y=r}Math.imul||(g=m),o.prototype.mulTo=function(t,r){var e,i=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,r):i<63?m(this,t,r):v(this,t,r)},y.prototype.makeRBT=function(t){for(var r=Array(t),e=o.prototype._countBits(t)-1,i=0;i<t;i++)r[i]=this.revBin(i,e,t);return r},y.prototype.revBin=function(t,r,e){if(0===t||t===e-1)return t;for(var i=0,n=0;n<r;n++)i|=(1&t)<<r-n-1,t>>=1;return i},y.prototype.permute=function(t,r,e,i,n,o){for(var s=0;s<o;s++)i[s]=r[t[s]],n[s]=e[t[s]]},y.prototype.transform=function(t,r,e,i,n,o){this.permute(o,t,r,e,i,n);for(var s=1;s<n;s<<=1)for(var h=s<<1,u=Math.cos(2*Math.PI/h),f=Math.sin(2*Math.PI/h),a=0;a<n;a+=h)for(var l=u,d=f,c=0;c<s;c++){var p=e[a+c],m=i[a+c],g=e[a+c+s],v=i[a+c+s],y=l*g-d*v;v=l*v+d*g,g=y,e[a+c]=p+g,i[a+c]=m+v,e[a+c+s]=p-g,i[a+c+s]=m-v,c!==h&&(y=u*l-f*d,d=u*d+f*l,l=y)}},y.prototype.guessLen13b=function(t,r){var e=1|Math.max(r,t),i=1&e,n=0;for(e=e/2|0;e;e>>>=1)n++;return 1<<n+1+i},y.prototype.conjugate=function(t,r,e){if(!(e<=1))for(var i=0;i<e/2;i++){var n=t[i];t[i]=t[e-i-1],t[e-i-1]=n,n=r[i],r[i]=-r[e-i-1],r[e-i-1]=-n}},y.prototype.normalize13b=function(t,r){for(var e=0,i=0;i<r/2;i++){var n=8192*Math.round(t[2*i+1]/r)+Math.round(t[2*i]/r)+e;t[i]=67108863&n,e=n<67108864?0:n/67108864|0}return t},y.prototype.convert13b=function(t,r,e,n){for(var o=0,s=0;s<r;s++)o+=0|t[s],e[2*s]=8191&o,o>>>=13,e[2*s+1]=8191&o,o>>>=13;for(s=2*r;s<n;++s)e[s]=0;i(0===o),i((-8192&o)==0)},y.prototype.stub=function(t){for(var r=Array(t),e=0;e<t;e++)r[e]=0;return r},y.prototype.mulp=function(t,r,e){var i=2*this.guessLen13b(t.length,r.length),n=this.makeRBT(i),o=this.stub(i),s=Array(i),h=Array(i),u=Array(i),f=Array(i),a=Array(i),l=Array(i),d=e.words;d.length=i,this.convert13b(t.words,t.length,s,i),this.convert13b(r.words,r.length,f,i),this.transform(s,o,h,u,i,n),this.transform(f,o,a,l,i,n);for(var c=0;c<i;c++){var p=h[c]*a[c]-u[c]*l[c];u[c]=h[c]*l[c]+u[c]*a[c],h[c]=p}return this.conjugate(h,u,i),this.transform(h,u,d,o,i,n),this.conjugate(d,o,i),this.normalize13b(d,i),e.negative=t.negative^r.negative,e.length=t.length+r.length,e._strip()},o.prototype.mul=function(t){var r=new o(null);return r.words=Array(this.length+t.length),this.mulTo(t,r)},o.prototype.mulf=function(t){var r=new o(null);return r.words=Array(this.length+t.length),v(this,t,r)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var r=t<0;r&&(t=-t),i("number"==typeof t),i(t<67108864);for(var e=0,n=0;n<this.length;n++){var o=(0|this.words[n])*t,s=(67108863&o)+(67108863&e);e>>=26,e+=(o/67108864|0)+(s>>>26),this.words[n]=67108863&s}return 0!==e&&(this.words[n]=e,this.length++),r?this.ineg():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=Array(t.bitLength()),e=0;e<r.length;e++){var i=e/26|0,n=e%26;r[e]=t.words[i]>>>n&1}return r}(t);
vendor: 18,335 bytes, line 1
1if(0===r.length)return new o(1);for(var e=this,i=0;i<r.length&&0===r[i];i++,e=e.sqr());if(++i<r.length)for(var n=e.sqr();i<r.length;i++,n=n.sqr())0!==r[i]&&(e=e.mul(n));return e},o.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var r,e=t%26,n=(t-e)/26,o=67108863>>>26-e<<26-e;if(0!==e){var s=0;for(r=0;r<this.length;r++){var h=this.words[r]&o,u=(0|this.words[r])-h<<e;this.words[r]=u|s,s=h>>>26-e}s&&(this.words[r]=s,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 i(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,r,e){i("number"==typeof t&&t>=0),n=r?(r-r%26)/26:0;var n,o=t%26,s=Math.min((t-o)/26,this.length),h=67108863^67108863>>>o<<o;if(n-=s,n=Math.max(0,n),e){for(var u=0;u<s;u++)e.words[u]=this.words[u];e.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var f=0;for(u=this.length-1;u>=0&&(0!==f||u>=n);u--){var a=0|this.words[u];this.words[u]=f<<26-o|a>>>o,f=a&h}return e&&0!==f&&(e.words[e.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,r,e){return i(0===this.negative),this.iushrn(t,r,e)},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){i("number"==typeof t&&t>=0);var r=t%26,e=(t-r)/26;return!(this.length<=e)&&!!(this.words[e]&1<<r)},o.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var r=t%26,e=(t-r)/26;return(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=e)?this:(0!==r&&e++,this.length=Math.min(e,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this._strip())},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return(i("number"==typeof t),i(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.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(i("number"==typeof t),i(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,e){var n,o,s=t.length+e;this._expand(s);var h=0;for(n=0;n<t.length;n++){o=(0|this.words[n+e])+h;var u=(0|t.words[n])*r;o-=67108863&u,h=(o>>26)-(u/67108864|0),this.words[n+e]=67108863&o}for(;n<this.length-e;n++)h=(o=(0|this.words[n+e])+h)>>26,this.words[n+e]=67108863&o;if(0===h)return this._strip();for(i(-1===h),h=0,n=0;n<this.length;n++)h=(o=-(0|this.words[n])+h)>>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,r){var e,i=this.length-t.length,n=this.clone(),s=t,h=0|s.words[s.length-1];0!=(i=26-this._countBits(h))&&(s=s.ushln(i),n.iushln(i),h=0|s.words[s.length-1]);var u=n.length-s.length;if("mod"!==r){(e=new o(null)).length=u+1,e.words=Array(e.length);for(var f=0;f<e.length;f++)e.words[f]=0}var a=n.clone()._ishlnsubmul(s,1,u);0===a.negative&&(n=a,e&&(e.words[u]=1));for(var l=u-1;l>=0;l--){var d=(0|n.words[s.length+l])*67108864+(0|n.words[s.length+l-1]);for(d=Math.min(d/h|0,67108863),n._ishlnsubmul(s,d,l);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(s,1,l),n.isZero()||(n.negative^=1);e&&(e.words[l]=d)}return e&&e._strip(),n._strip(),"div"!==r&&0!==i&&n.iushrn(i),{div:e||null,mod:n}},o.prototype.divmod=function(t,r,e){var n,s,h;return(i(!t.isZero()),this.isZero())?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(h=this.neg().divmod(t,r),"mod"!==r&&(n=h.div.neg()),"div"!==r&&(s=h.mod.neg(),e&&0!==s.negative&&s.iadd(t)),{div:n,mod:s}):0===this.negative&&0!==t.negative?(h=this.divmod(t.neg(),r),"mod"!==r&&(n=h.div.neg()),{div:n,mod:h.mod}):(this.negative&t.negative)!=0?(h=this.neg().divmod(t.neg(),r),"div"!==r&&(s=h.mod.neg(),e&&0!==s.negative&&s.isub(t)),{div:h.div,mod:s}):t.length>this.length||0>this.cmp(t)?{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.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,r)},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 e=0!==r.div.negative?r.mod.isub(t):r.mod,i=t.ushrn(1),n=t.andln(1),o=e.cmp(i);return o<0||1===n&&0===o?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modrn=function(t){var r=t<0;r&&(t=-t),i(t<=67108863);for(var e=67108864%t,n=0,o=this.length-1;o>=0;o--)n=(e*n+(0|this.words[o]))%t;return r?-n:n},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var r=t<0;r&&(t=-t),i(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*e;this.words[n]=o/t|0,e=o%t}return this._strip(),r?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var r=this,e=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var n=new o(1),s=new o(0),h=new o(0),u=new o(1),f=0;r.isEven()&&e.isEven();)r.iushrn(1),e.iushrn(1),++f;for(var a=e.clone(),l=r.clone();!r.isZero();){for(var d=0,c=1;(r.words[0]&c)==0&&d<26;++d,c<<=1);if(d>0)for(r.iushrn(d);d-- >0;)(n.isOdd()||s.isOdd())&&(n.iadd(a),s.isub(l)),n.iushrn(1),s.iushrn(1);for(var p=0,m=1;(e.words[0]&m)==0&&p<26;++p,m<<=1);if(p>0)for(e.iushrn(p);p-- >0;)(h.isOdd()||u.isOdd())&&(h.iadd(a),u.isub(l)),h.iushrn(1),u.iushrn(1);r.cmp(e)>=0?(r.isub(e),n.isub(h),s.isub(u)):(e.isub(r),h.isub(n),u.isub(s))}return{a:h,b:u,gcd:e.iushln(f)}},o.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var r,e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var s=new o(1),h=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var f=0,a=1;(e.words[0]&a)==0&&f<26;++f,a<<=1);if(f>0)for(e.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var l=0,d=1;(n.words[0]&d)==0&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);e.cmp(n)>=0?(e.isub(n),s.isub(h)):(n.isub(e),h.isub(s))}return 0>(r=0===e.cmpn(1)?s:h).cmpn(0)&&r.iadd(t),r},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),e=t.clone();r.negative=0,e.negative=0;for(var i=0;r.isEven()&&e.isEven();i++)r.iushrn(1),e.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;e.isEven();)e.iushrn(1);var n=r.cmp(e);if(n<0){var o=r;r=e,e=o}else if(0===n||0===e.cmpn(1))break;r.isub(e)}return e.iushln(i)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return(1&this.words[0])==0},o.prototype.isOdd=function(){return(1&this.words[0])==1},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){i("number"==typeof t);var r=t%26,e=(t-r)/26,n=1<<r;if(this.length<=e)return this._expand(e+1),this.words[e]|=n,this;for(var o=n,s=e;0!==o&&s<this.length;s++){var h=0|this.words[s];h+=o,o=h>>>26,h&=67108863,this.words[s]=h}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var r,e=t<0;if(0!==this.negative&&!e)return -1;if(0===this.negative&&e)return 1;if(this._strip(),this.length>1)r=1;else{e&&(t=-t),i(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,e=this.length-1;e>=0;e--){var i=0|this.words[e],n=0|t.words[e];if(i!==n){i<n?r=-1:i>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 0>=this.cmpn(t)},o.prototype.lte=function(t){return 0>=this.cmp(t)},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 S(t)},o.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return i(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 i(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function w(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(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var r=o._prime(t);this.m=r.p,this.prime=r}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var t=new o(null);return t.words=Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var r,e=t;do this.split(e,this.tmp),r=(e=(e=this.imulK(e)).iadd(this.tmp)).bitLength();while(r>this.n);var i=r<this.n?-1:e.ucmp(this.p);return 0===i?(e.words[0]=0,e.length=1):i>0?e.isub(this.p):void 0!==e.strip?e.strip():e._strip(),e},w.prototype.split=function(t,r){t.iushrn(this.n,0,r)},w.prototype.imulK=function(t){return t.imul(this.k)},n(M,w),M.prototype.split=function(t,r){for(var e=Math.min(t.length,9),i=0;i<e;i++)r.words[i]=t.words[i];if(r.length=e,t.length<=9){t.words[0]=0,t.length=1;return}var n=t.words[9];for(i=10,r.words[r.length++]=4194303&n;i<t.length;i++){var o=0|t.words[i];t.words[i-10]=(4194303&o)<<4|n>>>22,n=o}n>>>=22,t.words[i-10]=n,0===n&&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,e=0;e<t.length;e++){var i=0|t.words[e];r+=977*i,t.words[e]=67108863&r,r=64*i+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},n(_,w),n(A,w),n(E,w),E.prototype.imulK=function(t){for(var r=0,e=0;e<t.length;e++){var i=(0|t.words[e])*19+r,n=67108863&i;i>>>=26,t.words[e]=n,r=i}return 0!==r&&(t.words[t.length++]=r),t},o._prime=function(t){var r;if(b[t])return b[t];if("k256"===t)r=new M;else if("p224"===t)r=new _;else if("p192"===t)r=new A;else if("p25519"===t)r=new E;else throw Error("Unknown prime "+t);return b[t]=r,r},S.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,r){i((t.negative|r.negative)==0,"red works only with positives"),i(t.red&&t.red===r.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(f(t,t.umod(this.m)._forceRed(this)),t)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.prototype.add=function(t,r){this._verify2(t,r);var e=t.add(r);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},S.prototype.iadd=function(t,r){this._verify2(t,r);var e=t.iadd(r);return e.cmp(this.m)>=0&&e.isub(this.m),e},S.prototype.sub=function(t,r){this._verify2(t,r);var e=t.sub(r);return 0>e.cmpn(0)&&e.iadd(this.m),e._forceRed(this)},S.prototype.isub=function(t,r){this._verify2(t,r);var e=t.isub(r);return 0>e.cmpn(0)&&e.iadd(this.m),e},S.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},S.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},S.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(i(r%2==1),3===r){var e=this.m.add(new o(1)).iushrn(2);return this.pow(t,e)}for(var n=this.m.subn(1),s=0;!n.isZero()&&0===n.andln(1);)s++,n.iushrn(1);i(!n.isZero());var h=new o(1).toRed(this),u=h.redNeg(),f=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new o(2*a*a).toRed(this);0!==this.pow(a,f).cmp(u);)a.redIAdd(u);for(var l=this.pow(a,n),d=this.pow(t,n.addn(1).iushrn(1)),c=this.pow(t,n),p=s;0!==c.cmp(h);){for(var m=c,g=0;0!==m.cmp(h);g++)m=m.redSqr();i(g<p);var v=this.pow(l,new o(1).iushln(p-g-1));d=d.redMul(v),l=v.redSqr(),c=c.redMul(l),p=g}return d},S.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},S.prototype.pow=function(t,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return t.clone();var e=Array(16);e[0]=new o(1).toRed(this),e[1]=t;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],t);var n=e[0],s=0,h=0,u=r.bitLength()%26;for(0===u&&(u=26),i=r.length-1;i>=0;i--){for(var f=r.words[i],a=u-1;a>=0;a--){var l=f>>a&1;if(n!==e[0]&&(n=this.sqr(n)),0===l&&0===s){h=0;continue}s<<=1,s|=l,(4==++h||0===i&&0===a)&&(n=this.mul(n,e[s]),h=0,s=0)}u=26}return n},S.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},S.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},o.mont=function(t){return new x(t)},n(x,S),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},x.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var e=t.imul(r),i=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=e.isub(i).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):0>n.cmpn(0)&&(o=n.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new o(0)._forceRed(this);var e=t.mul(r),i=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=e.isub(i).iushrn(this.shift),s=n;return n.cmp(this.m)>=0?s=n.isub(this.m):0>n.cmpn(0)&&(s=n.iadd(this.m)),s._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=e.nmd(t),this)},83699:function(t,r,e){r.utils=e(69874),r.common=e(37142),r.sha=e(37727),r.ripemd=e(89561),r.hmac=e(40238),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},37142:function(t,r,e){"use strict";var i=e(69874),n=e(71974);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}
1r.BlockHash=o,o.prototype.update=function(t,r){if(t=i.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var e=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-e,t.length),0===this.pending.length&&(this.pending=null),t=i.join32(t,0,t.length-e,this.endian);for(var n=0;n<t.length;n+=this._delta32)this._update(t,n,n+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),n(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,r=this._delta8,e=r-(t+this.padLength)%r,i=Array(e+this.padLength);i[0]=128;for(var n=1;n<e;n++)i[n]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)i[n++]=0;i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=t>>>24&255,i[n++]=t>>>16&255,i[n++]=t>>>8&255,i[n++]=255&t}else for(o=8,i[n++]=255&t,i[n++]=t>>>8&255,i[n++]=t>>>16&255,i[n++]=t>>>24&255,i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=0;o<this.padLength;o++)i[n++]=0;return i}},40238:function(t,r,e){"use strict";var i=e(69874),n=e(71974);function o(t,r,e){if(!(this instanceof o))return new o(t,r,e);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(r,e))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),n(t.length<=this.blockSize);for(var r=t.length;r<this.blockSize;r++)t.push(0);for(r=0;r<t.length;r++)t[r]^=54;for(r=0,this.inner=new this.Hash().update(t);r<t.length;r++)t[r]^=106;this.outer=new this.Hash().update(t)},o.prototype.update=function(t,r){return this.inner.update(t,r),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},89561:function(t,r,e){"use strict";var i=e(69874),n=e(37142),o=i.rotl32,s=i.sum32,h=i.sum32_3,u=i.sum32_4,f=n.BlockHash;function a(){if(!(this instanceof a))return new a;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function l(t,r,e,i){return t<=15?r^e^i:t<=31?r&e|~r&i:t<=47?(r|~e)^i:t<=63?r&i|e&~i:r^(e|~i)}i.inherits(a,f),r.ripemd160=a,a.blockSize=512,a.outSize=160,a.hmacStrength=192,a.padLength=64,a.prototype._update=function(t,r){for(var e=this.h[0],i=this.h[1],n=this.h[2],f=this.h[3],a=this.h[4],g=e,v=i,y=n,b=f,w=a,M=0;M<80;M++){var _,A,E=s(o(u(e,l(M,i,n,f),t[d[M]+r],(_=M)<=15?0:_<=31?1518500249:_<=47?1859775393:_<=63?2400959708:2840853838),p[M]),a);e=a,a=f,f=o(n,10),n=i,i=E,E=s(o(u(g,l(79-M,v,y,b),t[c[M]+r],(A=M)<=15?1352829926:A<=31?1548603684:A<=47?1836072691:A<=63?2053994217:0),m[M]),w),g=w,w=b,b=o(y,10),y=v,v=E}E=h(this.h[1],n,b),this.h[1]=h(this.h[2],f,w),this.h[2]=h(this.h[3],a,g),this.h[3]=h(this.h[4],e,v),this.h[4]=h(this.h[0],i,y),this.h[0]=E},a.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},37727:function(t,r,e){"use strict";r.sha1=e(99659),r.sha224=e(15577),r.sha256=e(4132),r.sha384=e(65560),r.sha512=e(86124)},99659:function(t,r,e){"use strict";var i=e(69874),n=e(37142),o=e(9221),s=i.rotl32,h=i.sum32,u=i.sum32_5,f=o.ft_1,a=n.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}i.inherits(d,a),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,r){for(var e=this.W,i=0;i<16;i++)e[i]=t[r+i];for(;i<e.length;i++)e[i]=s(e[i-3]^e[i-8]^e[i-14]^e[i-16],1);var n=this.h[0],o=this.h[1],a=this.h[2],d=this.h[3],c=this.h[4];for(i=0;i<e.length;i++){var p=~~(i/20),m=u(s(n,5),f(p,o,a,d),c,e[i],l[p]);c=d,d=a,a=s(o,30),o=n,n=m}this.h[0]=h(this.h[0],n),this.h[1]=h(this.h[1],o),this.h[2]=h(this.h[2],a),this.h[3]=h(this.h[3],d),this.h[4]=h(this.h[4],c)},d.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},15577:function(t,r,e){"use strict";var i=e(69874),n=e(4132);function o(){if(!(this instanceof o))return new o;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(o,n),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},4132:function(t,r,e){"use strict";var i=e(69874),n=e(37142),o=e(9221),s=e(71974),h=i.sum32,u=i.sum32_4,f=i.sum32_5,a=o.ch32,l=o.maj32,d=o.s0_256,c=o.s1_256,p=o.g0_256,m=o.g1_256,g=n.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
vendor: 3,373 bytes, line 1
1734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=Array(64)}i.inherits(y,g),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(t,r){for(var e=this.W,i=0;i<16;i++)e[i]=t[r+i];for(;i<e.length;i++)e[i]=u(m(e[i-2]),e[i-7],p(e[i-15]),e[i-16]);var n=this.h[0],o=this.h[1],g=this.h[2],v=this.h[3],y=this.h[4],b=this.h[5],w=this.h[6],M=this.h[7];for(s(this.k.length===e.length),i=0;i<e.length;i++){var _=f(M,c(y),a(y,b,w),this.k[i],e[i]),A=h(d(n),l(n,o,g));M=w,w=b,b=y,y=h(v,_),v=g,g=o,o=n,n=h(_,A)}this.h[0]=h(this.h[0],n),this.h[1]=h(this.h[1],o),this.h[2]=h(this.h[2],g),this.h[3]=h(this.h[3],v),this.h[4]=h(this.h[4],y),this.h[5]=h(this.h[5],b),this.h[6]=h(this.h[6],w),this.h[7]=h(this.h[7],M)},y.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},65560:function(t,r,e){"use strict";var i=e(69874),n=e(86124);function o(){if(!(this instanceof o))return new o;n.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(o,n),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},86124:function(t,r,e){"use strict";var i=e(69874),n=e(37142),o=e(71974),s=i.rotr64_hi,h=i.rotr64_lo,u=i.shr64_hi,f=i.shr64_lo,a=i.sum64,l=i.sum64_hi,d=i.sum64_lo,c=i.sum64_4_hi,p=i.sum64_4_lo,m=i.sum64_5_hi,g=i.sum64_5_lo,v=n.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
11126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=Array(160)}i.inherits(b,v),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,r){for(var e=this.W,i=0;i<32;i++)e[i]=t[r+i];for(;i<e.length;i+=2){var n=function(t,r){var e=s(t,r,19)^s(r,t,29)^u(t,r,6);return e<0&&(e+=4294967296),e}(e[i-4],e[i-3]),o=function(t,r){var e=h(t,r,19)^h(r,t,29)^f(t,r,6);return e<0&&(e+=4294967296),e}(e[i-4],e[i-3]),a=e[i-14],l=e[i-13],d=function(t,r){var e=s(t,r,1)^s(t,r,8)^u(t,r,7);return e<0&&(e+=4294967296),e}(e[i-30],e[i-29]),m=function(t,r){var e=h(t,r,1)^h(t,r,8)^f(t,r,7);return e<0&&(e+=4294967296),e}(e[i-30],e[i-29]),g=e[i-32],v=e[i-31];e[i]=c(n,o,a,l,d,m,g,v),e[i+1]=p(n,o,a,l,d,m,g,v)}},b.prototype._update=function(t,r){this._prepareBlock(t,r);var e=this.W,i=this.h[0],n=this.h[1],u=this.h[2],f=this.h[3],c=this.h[4],p=this.h[5],v=this.h[6],y=this.h[7],b=this.h[8],w=this.h[9],M=this.h[10],_=this.h[11],A=this.h[12],E=this.h[13],S=this.h[14],x=this.h[15];o(this.k.length===e.length);for(var I=0;I<e.length;I+=2){var N=S,P=x,R=function(t,r){var e=s(t,r,14)^s(t,r,18)^s(r,t,9);return e<0&&(e+=4294967296),e}(b,w),k=function(t,r){var e=h(t,r,14)^h(t,r,18)^h(r,t,9);return e<0&&(e+=4294967296),e}(b,w),O=function(t,r,e,i,n){var o=t&e^~t&n;return o<0&&(o+=4294967296),o}(b,0,M,0,A,E),T=function(t,r,e,i,n,o){var s=r&i^~r&o;return s<0&&(s+=4294967296),s}(0,w,0,_,0,E),F=this.k[I],U=this.k[I+1],C=e[I],z=e[I+1],L=m(N,P,R,k,O,T,F,U,C,z),B=g(N,P,R,k,O,T,F,U,C,z);N=function(t,r){var e=s(t,r,28)^s(r,t,2)^s(r,t,7);return e<0&&(e+=4294967296),e}(i,n);var D=l(N,P=function(t,r){var e=h(t,r,28)^h(r,t,2)^h(r,t,7);return e<0&&(e+=4294967296),e}(i,n),R=function(t,r,e,i,n){var o=t&e^t&n^e&n;return o<0&&(o+=4294967296),o}(i,0,u,0,c,p),k=function(t,r,e,i,n,o){var s=r&i^r&o^i&o;return s<0&&(s+=4294967296),s}(0,n,0,f,0,p)),q=d(N,P,R,k);S=A,x=E,A=M,E=_,M=b,_=w,b=l(v,y,L,B),w=d(y,y,L,B),v=c,y=p,c=u,p=f,u=i,f=n,i=l(L,B,D,q),n=d(L,B,D,q)}a(this.h,0,i,n),a(this.h,2,u,f),a(this.h,4,c,p),a(this.h,6,v,y),a(this.h,8,b,w),a(this.h,10,M,_),a(this.h,12,A,E),a(this.h,14,S,x)},b.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},9221:function(t,r,e){"use strict";var i=e(69874).rotr32;function n(t,r,e){return t&r^t&e^r&e}r.ft_1=function(t,r,e,i){return 0===t?r&e^~r&i:1===t||3===t?r^e^i:2===t?n(r,e,i):void 0},r.ch32=function(t,r,e){return t&r^~t&e},r.maj32=n,r.p32=function(t,r,e){return t^r^e},r.s0_256=function(t){return i(t,2)^i(t,13)^i(t,22)},r.s1_256=function(t){return i(t,6)^i(t,11)^i(t,25)},r.g0_256=function(t){return i(t,7)^i(t,18)^t>>>3},r.g1_256=function(t){return i(t,17)^i(t,19)^t>>>10}},69874:function(t,r,e){"use strict";var i=e(71974),n=e(87398);function o(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function h(t){if(7===t.length)return"0"+t;if(6===t.length)return"00"+t;if(5===t.length)return"000"+t;if(4===t.length)return"0000"+t;if(3===t.length)return"00000"+t;if(2===t.length)return"000000"+t;if(1===t.length)return"0000000"+t;else return t}r.inherits=n,r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var e=[];if("string"==typeof t){if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t),n=0;n<t.length;n+=2)e.push(parseInt(t[n]+t[n+1],16))}else for(var i=0,n=0;n<t.length;n++){var o,s,h=t.charCodeAt(n);h<128?e[i++]=h:(h<2048?e[i++]=h>>6|192:((o=t,s=n,(64512&o.charCodeAt(s))!=55296||s<0||s+1>=o.length?1:(64512&o.charCodeAt(s+1))!=56320)?e[i++]=h>>12|224:(h=65536+((1023&h)<<10)+(1023&t.charCodeAt(++n)),e[i++]=h>>18|240,e[i++]=h>>12&63|128),e[i++]=h>>6&63|128),e[i++]=63&h|128)}}else for(n=0;n<t.length;n++)e[n]=0|t[n];return e},r.toHex=function(t){for(var r="",e=0;e<t.length;e++)r+=s(t[e].toString(16));return r},r.htonl=o,r.toHex32=function(t,r){for(var e="",i=0;i<t.length;i++){var n=t[i];"little"===r&&(n=o(n)),e+=h(n.toString(16))}return e},r.zero2=s,r.zero8=h,r.join32=function(t,r,e,n){var o,s=e-r;i(s%4==0);for(var h=Array(s/4),u=0,f=r;u<h.length;u++,f+=4)o="big"===n?t[f]<<24|t[f+1]<<16|t[f+2]<<8|t[f+3]:t[f+3]<<24|t[f+2]<<16|t[f+1]<<8|t[f],h[u]=o>>>0;return h},r.split32=function(t,r){for(var e=Array(4*t.length),i=0,n=0;i<t.length;i++,n+=4){var o=t[i];"big"===r?(e[n]=o>>>24,e[n+1]=o>>>16&255,e[n+2]=o>>>8&255,e[n+3]=255&o):(e[n+3]=o>>>24,e[n+2]=o>>>16&255,e[n+1]=o>>>8&255,e[n]=255&o)}return e},r.rotr32=function(t,r){return t>>>r|t<<32-r},r.rotl32=function(t,r){return t<<r|t>>>32-r},r.sum32=function(t,r){return t+r>>>0},r.sum32_3=function(t,r,e){return t+r+e>>>0},r.sum32_4=function(t,r,e,i){return t+r+e+i>>>0},r.sum32_5=function(t,r,e,i,n){return t+r+e+i+n>>>0},r.sum64=function(t,r,e,i){var n=t[r],o=i+t[r+1]>>>0;t[r]=(o<i?1:0)+e+n>>>0,t[r+1]=o}
1,r.sum64_hi=function(t,r,e,i){return(r+i>>>0<r?1:0)+t+e>>>0},r.sum64_lo=function(t,r,e,i){return r+i>>>0},r.sum64_4_hi=function(t,r,e,i,n,o,s,h){var u,f=r;return t+e+n+s+(0+((f=f+i>>>0)<r?1:0)+((f=f+o>>>0)<o?1:0)+((f=f+h>>>0)<h?1:0))>>>0},r.sum64_4_lo=function(t,r,e,i,n,o,s,h){return r+i+o+h>>>0},r.sum64_5_hi=function(t,r,e,i,n,o,s,h,u,f){var a,l=r;return t+e+n+s+u+(0+((l=l+i>>>0)<r?1:0)+((l=l+o>>>0)<o?1:0)+((l=l+h>>>0)<h?1:0)+((l=l+f>>>0)<f?1:0))>>>0},r.sum64_5_lo=function(t,r,e,i,n,o,s,h,u,f){return r+i+o+h+f>>>0},r.rotr64_hi=function(t,r,e){return(r<<32-e|t>>>e)>>>0},r.rotr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0},r.shr64_hi=function(t,r,e){return t>>>e},r.shr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0}},87398:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}}},83524:function(t,r,e){var i,n=e(20357);!function(){"use strict";var o="input is invalid type",s="object"==typeof window,h=s?window:{};h.JS_SHA3_NO_WINDOW&&(s=!1);var u=!s&&"object"==typeof self;!h.JS_SHA3_NO_NODE_JS&&"object"==typeof n&&n.versions&&n.versions.node?h=e.g:u&&(h=self);var f=!h.JS_SHA3_NO_COMMON_JS&&t.exports,a=e.amdO,l=!h.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,d="0123456789abcdef".split(""),c=[4,1024,262144,67108864],p=[0,8,16,24],m=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],g=[224,256,384,512],v=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],b={128:168,256:136};(h.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),l&&(h.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,r,e){return function(i){return new U(t,r,t).update(i)[e]()}},M=function(t,r,e){return function(i,n){return new U(t,r,n).update(i)[e]()}},_=function(t,r,e){return function(r,i,n,o){return I["cshake"+t].update(r,i,n,o)[e]()}},A=function(t,r,e){return function(r,i,n,o){return I["kmac"+t].update(r,i,n,o)[e]()}},E=function(t,r,e,i){for(var n=0;n<y.length;++n){var o=y[n];t[o]=r(e,i,o)}return t},S=function(t,r){var e=w(t,r,"hex");return e.create=function(){return new U(t,r,t)},e.update=function(t){return e.create().update(t)},E(e,w,t,r)},x=[{name:"keccak",padding:[1,256,65536,16777216],bits:g,createMethod:S},{name:"sha3",padding:[6,1536,393216,100663296],bits:g,createMethod:S},{name:"shake",padding:[31,7936,2031616,520093696],bits:v,createMethod:function(t,r){var e=M(t,r,"hex");return e.create=function(e){return new U(t,r,e)},e.update=function(t,r){return e.create(r).update(t)},E(e,M,t,r)}},{name:"cshake",padding:c,bits:v,createMethod:function(t,r){var e=b[t],i=_(t,r,"hex");return i.create=function(i,n,o){return n||o?new U(t,r,i).bytepad([n,o],e):I["shake"+t].create(i)},i.update=function(t,r,e,n){return i.create(r,e,n).update(t)},E(i,_,t,r)}},{name:"kmac",padding:c,bits:v,createMethod:function(t,r){var e=b[t],i=A(t,r,"hex");return i.create=function(i,n,o){return new C(t,r,n).bytepad(["KMAC",o],e).bytepad([i],e)},i.update=function(t,r,e,n){return i.create(t,e,n).update(r)},E(i,A,t,r)}}],I={},N=[],P=0;P<x.length;++P)for(var R=x[P],k=R.bits,O=0;O<k.length;++O){var T=R.name+"_"+k[O];if(N.push(T),I[T]=R.createMethod(k[O],R.padding),"sha3"!==R.name){var F=R.name+k[O];N.push(F),I[F]=I[T]}}function U(t,r,e){this.blocks=[],this.s=[],this.padding=r,this.outputBits=e,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=e>>5,this.extraBytes=(31&e)>>3;for(var i=0;i<50;++i)this.s[i]=0}function C(t,r,e){U.call(this,t,r,e)}U.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");var r,e=typeof t;if("string"!==e){if("object"===e){if(null===t)throw Error(o);if(l&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!l||!ArrayBuffer.isView(t)))throw Error(o)}else throw Error(o);r=!0}for(var i,n,s=this.blocks,h=this.byteCount,u=t.length,f=this.blockCount,a=0,d=this.s;a<u;){if(this.reset)for(i=1,this.reset=!1,s[0]=this.block;i<f+1;++i)s[i]=0;if(r)for(i=this.start;a<u&&i<h;++a)s[i>>2]|=t[a]<<p[3&i++];else for(i=this.start;a<u&&i<h;++a)(n=t.charCodeAt(a))<128?s[i>>2]|=n<<p[3&i++]:(n<2048?s[i>>2]|=(192|n>>6)<<p[3&i++]:(n<55296||n>=57344?s[i>>2]|=(224|n>>12)<<p[3&i++]:(n=65536+((1023&n)<<10|1023&t.charCodeAt(++a)),s[i>>2]|=(240|n>>18)<<p[3&i++],s[i>>2]|=(128|n>>12&63)<<p[3&i++]),s[i>>2]|=(128|n>>6&63)<<p[3&i++]),s[i>>2]|=(128|63&n)<<p[3&i++]);if(this.lastByteIndex=i,i>=h){for(this.start=i-h,this.block=s[f],i=0;i<f;++i)d[i]^=s[i];z(d),this.reset=!0}else this.start=i}return this},U.prototype.encode=function(t,r){var e=255&t,i=1,n=[e];for(t>>=8,e=255&t;e>0;)n.unshift(e),t>>=8,e=255&t,++i;return r?n.push(i):n.unshift(i),this.update(n),n.length},U.prototype.encodeString=function(t){var r,e=typeof t;if("string"!==e){if("object"===e){if(null===t)throw Error(o);if(l&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!l||!ArrayBuffer.isView(t)))throw Error(o)}else throw Error(o);r=!0}var i=0,n=t.length;if(r)i=n;else for(var s=0;s<t.length;++s){var h=t.charCodeAt(s);h<128?i+=1:h<2048?i+=2:h<55296||h>=57344?i+=3:(h=65536+((1023&h)<<10|1023&t.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(t),i},U.prototype.bytepad=function(t,r){for(var e=this.encode(r),i=0;i<t.length;++i)e+=this.encodeString(t[i]);var n=r-e%r,o=[];return o.length=n,this.update(o),this},U.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex,e=this.blockCount,i=this.s;if(t[r>>2]|=this.padding[3&r],this.lastByteIndex===this.byteCount)for(r=1,t[0]=t[e];r<e+1;++r)t[r]=0;for(t[e-1]|=2147483648,r=0;r<e;++r)i[r]^=t[r];z(i)}},U.prototype.toString=U.prototype.hex=function(){this.finalize();for(var t,r=this.blockCount,e=this.s,i=this.outputBlocks,n=this.extraBytes,o=0,s=0,h="";s<i;){for(o=0;o<r&&s<i;++o,++s)h+=d[(t=e[o])>>4&15]+d[15&t]+d[t>>12&15]+d[t>>8&15]+d[t>>20&15]+d[t>>16&15]+d[t>>28&15]+d[t>>24&15];s%r==0&&(z(e),o=0)}return n&&(h+=d[(t=e[o])>>4&15]+d[15&t],n>1&&(h+=d[t>>12&15]+d[t>>8&15]),n>2&&(h+=d[t>>20&15]+d[t>>16&15])),h},U.prototype.arrayBuffer=function(){this.finalize();for(var t,r=this.blockCount,e=this.s,i=this.outputBlocks,n=this.extraBytes,o=0,s=0,h=this.outputBits>>3,u=new Uint32Array(t=new ArrayBuffer(n?i+1<<2:h));s<i;){for(o=0;o<r&&s<i;++o,++s)u[s]=e[o];s%r==0&&z(e)}return n&&(u[o]=e[o],t=t.slice(0,h)),t}
1,U.prototype.buffer=U.prototype.arrayBuffer,U.prototype.digest=U.prototype.array=function(){this.finalize();for(var t,r,e=this.blockCount,i=this.s,n=this.outputBlocks,o=this.extraBytes,s=0,h=0,u=[];h<n;){for(s=0;s<e&&h<n;++s,++h)t=h<<2,r=i[s],u[t]=255&r,u[t+1]=r>>8&255,u[t+2]=r>>16&255,u[t+3]=r>>24&255;h%e==0&&z(i)}return o&&(t=h<<2,r=i[s],u[t]=255&r,o>1&&(u[t+1]=r>>8&255),o>2&&(u[t+2]=r>>16&255)),u},C.prototype=new U,C.prototype.finalize=function(){return this.encode(this.outputBits,!0),U.prototype.finalize.call(this)};var z=function(t){var r,e,i,n,o,s,h,u,f,a,l,d,c,p,g,v,y,b,w,M,_,A,E,S,x,I,N,P,R,k,O,T,F,U,C,z,L,B,D,q,G,j,K,Y,V,$,H,J,Z,W,X,Q,tt,tr,te,ti,tn,to,ts,th,tu,tf,ta;for(i=0;i<48;i+=2)n=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],h=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],f=t[5]^t[15]^t[25]^t[35]^t[45],a=t[6]^t[16]^t[26]^t[36]^t[46],l=t[7]^t[17]^t[27]^t[37]^t[47],d=t[8]^t[18]^t[28]^t[38]^t[48],c=t[9]^t[19]^t[29]^t[39]^t[49],r=d^(s<<1|h>>>31),e=c^(h<<1|s>>>31),t[0]^=r,t[1]^=e,t[10]^=r,t[11]^=e,t[20]^=r,t[21]^=e,t[30]^=r,t[31]^=e,t[40]^=r,t[41]^=e,r=n^(u<<1|f>>>31),e=o^(f<<1|u>>>31),t[2]^=r,t[3]^=e,t[12]^=r,t[13]^=e,t[22]^=r,t[23]^=e,t[32]^=r,t[33]^=e,t[42]^=r,t[43]^=e,r=s^(a<<1|l>>>31),e=h^(l<<1|a>>>31),t[4]^=r,t[5]^=e,t[14]^=r,t[15]^=e,t[24]^=r,t[25]^=e,t[34]^=r,t[35]^=e,t[44]^=r,t[45]^=e,r=u^(d<<1|c>>>31),e=f^(c<<1|d>>>31),t[6]^=r,t[7]^=e,t[16]^=r,t[17]^=e,t[26]^=r,t[27]^=e,t[36]^=r,t[37]^=e,t[46]^=r,t[47]^=e,r=a^(n<<1|o>>>31),e=l^(o<<1|n>>>31),t[8]^=r,t[9]^=e,t[18]^=r,t[19]^=e,t[28]^=r,t[29]^=e,t[38]^=r,t[39]^=e,t[48]^=r,t[49]^=e,p=t[0],g=t[1],$=t[11]<<4|t[10]>>>28,H=t[10]<<4|t[11]>>>28,P=t[20]<<3|t[21]>>>29,R=t[21]<<3|t[20]>>>29,th=t[31]<<9|t[30]>>>23,tu=t[30]<<9|t[31]>>>23,j=t[40]<<18|t[41]>>>14,K=t[41]<<18|t[40]>>>14,U=t[2]<<1|t[3]>>>31,C=t[3]<<1|t[2]>>>31,v=t[13]<<12|t[12]>>>20,y=t[12]<<12|t[13]>>>20,J=t[22]<<10|t[23]>>>22,Z=t[23]<<10|t[22]>>>22,k=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,tf=t[42]<<2|t[43]>>>30,ta=t[43]<<2|t[42]>>>30,tr=t[5]<<30|t[4]>>>2,te=t[4]<<30|t[5]>>>2,z=t[14]<<6|t[15]>>>26,L=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,w=t[24]<<11|t[25]>>>21,W=t[34]<<15|t[35]>>>17,X=t[35]<<15|t[34]>>>17,T=t[45]<<29|t[44]>>>3,F=t[44]<<29|t[45]>>>3,S=t[6]<<28|t[7]>>>4,x=t[7]<<28|t[6]>>>4,ti=t[17]<<23|t[16]>>>9,tn=t[16]<<23|t[17]>>>9,B=t[26]<<25|t[27]>>>7,D=t[27]<<25|t[26]>>>7,M=t[36]<<21|t[37]>>>11,_=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,Y=t[8]<<27|t[9]>>>5,V=t[9]<<27|t[8]>>>5,I=t[18]<<20|t[19]>>>12,N=t[19]<<20|t[18]>>>12,to=t[29]<<7|t[28]>>>25,ts=t[28]<<7|t[29]>>>25,q=t[38]<<8|t[39]>>>24,G=t[39]<<8|t[38]>>>24,A=t[48]<<14|t[49]>>>18,E=t[49]<<14|t[48]>>>18,t[0]=p^~v&b,t[1]=g^~y&w,t[10]=S^~I&P,t[11]=x^~N&R,t[20]=U^~z&B,t[21]=C^~L&D,t[30]=Y^~$&J,t[31]=V^~H&Z,t[40]=tr^~ti&to,t[41]=te^~tn&ts,t[2]=v^~b&M,t[3]=y^~w&_,t[12]=I^~P&k,t[13]=N^~R&O,t[22]=z^~B&q,t[23]=L^~D&G,t[32]=$^~J&W,t[33]=H^~Z&X,t[42]=ti^~to&th,t[43]=tn^~ts&tu,t[4]=b^~M&A,t[5]=w^~_&E,t[14]=P^~k&T,t[15]=R^~O&F,t[24]=B^~q&j,t[25]=D^~G&K,t[34]=J^~W&Q,t[35]=Z^~X&tt,t[44]=to^~th&tf,t[45]=ts^~tu&ta,t[6]=M^~A&p,t[7]=_^~E&g,t[16]=k^~T&S,t[17]=O^~F&x,t[26]=q^~j&U,t[27]=G^~K&C,t[36]=W^~Q&Y,t[37]=X^~tt&V,t[46]=th^~tf&tr,t[47]=tu^~ta&te,t[8]=A^~p&v,t[9]=E^~g&y,t[18]=T^~S&I,t[19]=F^~x&N,t[28]=j^~U&z,t[29]=K^~C&L,t[38]=Q^~Y&$,t[39]=tt^~V&H,t[48]=tf^~tr&ti,t[49]=ta^~te&tn,t[0]^=m[i],t[1]^=m[i+1]};if(f)t.exports=I;else{for(P=0;P<N.length;++P)h[N[P]]=I[N[P]];a&&void 0!==(i=(function(){return I}).call(r,e,r,t))&&(t.exports=i)}}()},71974:function(t){function r(t,r){if(!t)throw Error(r||"Assertion failed")}t.exports=r,r.equal=function(t,r,e){if(t!=r)throw Error(e||"Assertion failed: "+t+" != "+r)}}}]);

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.