=0;){for(a=0,h=k[n]%y,p=k[n]/y|0,i=f,c=n+i;c>n;)d=_[--i]%y,s=_[i]/y|0,o=p*d+s*h,d=h*d+o%y*y+v[c]+a,a=(d/m|0)+(o/y|0)+p*s,v[c--]=d%m;v[c]=a}return a?++r:v.splice(0,1),F(e,v,r)},c.negated=function(){var e=new U(this);return e.s=-e.s||null,e},c.plus=function(e,t){var a,r=this,n=r.s;if(e=new U(e,t),t=e.s,!n||!t)return new U(NaN);if(n!=t)return e.s=-t,r.minus(e);var c=r.e/l,i=e.e/l,o=r.c,f=e.c;if(!c||!i){if(!o||!f)return new U(n/0);if(!o[0]||!f[0])return f[0]?e:new U(o[0]?r:0*n)}if(c=g(c),i=g(i),o=o.slice(),n=c-i){for(n>0?(i=c,a=f):(n=-n,a=o),a.reverse();n--;a.push(0));a.reverse()}for(n=o.length,t=f.length,n-t<0&&(a=f,f=o,o=a,t=n),n=0;t;)n=(o[--t]=o[t]+f[t]+n)/b|0,o[t]=b===o[t]?0:o[t]%b;return n&&(o=[n].concat(o),++i),F(e,o,i)},c.precision=c.sd=function(e,t){var a,r,n,c=this;if(null!=e&&e!==!!e)return _(e,1,v),null==t?t=P:_(t,0,8),D(new U(c),e,t);if(!(a=c.c))return null;if(n=a.length-1,r=n*l+1,n=a[n]){for(;n%10==0;n/=10,r--);for(n=a[0];n>=10;n/=10,r++);}return e&&c.e+1>r&&(r=c.e+1),r},c.shiftedBy=function(e){return _(e,-h,h),this.times("1e"+e)},c.squareRoot=c.sqrt=function(){var e,a,r,n,c,i=this,o=i.c,f=i.s,d=i.e,s=A+4,u=new U("0.5");if(1!==f||!o||!o[0])return new U(!f||f<0&&(!o||o[0])?NaN:o?i:1/0);if(f=Math.sqrt(+H(i)),0==f||f==1/0?(a=y(o),(a.length+d)%2==0&&(a+="0"),f=Math.sqrt(+a),d=g((d+1)/2)-(d<0||d%2),f==1/0?a="5e"+d:(a=f.toExponential(),a=a.slice(0,a.indexOf("e")+1)+d),r=new U(a)):r=new U(f+""),r.c[0])for(d=r.e,f=d+s,f<3&&(f=0);;)if(c=r,r=u.times(c.plus(t(i,c,s,1))),y(c.c).slice(0,f)===(a=y(r.c)).slice(0,f)){if(r.e0&&p>0){for(c=p%o||o,u=h.substr(0,c);c0&&(u+=d+h.slice(c)),l&&(u="-"+u)}r=b?u+(a.decimalSeparator||"")+((f=+a.fractionGroupSize)?b.replace(new RegExp("\\d{"+f+"}\\B","g"),"$&"+(a.fractionGroupSeparator||"")):b):u}return(a.prefix||"")+r+(a.suffix||"")},c.toFraction=function(e){var a,r,n,c,o,f,d,u,b,h,x,v,m=this,g=m.c;if(null!=e&&(d=new U(e),!d.isInteger()&&(d.c||1!==d.s)||d.lt(i)))throw Error(s+"Argument "+(d.isInteger()?"out of range: ":"not an integer: ")+H(d));if(!g)return new U(m);for(a=new U(i),b=r=new U(i),n=u=new U(i),v=y(g),o=a.e=v.length-m.e-1,a.c[0]=p[(f=o%l)<0?l+f:f],e=!e||d.comparedTo(a)>0?o>0?a:b:d,f=I,I=1/0,d=new U(v),u.c[0]=0;;){if(h=t(d,a,0,1),c=r.plus(h.times(n)),1==c.comparedTo(e))break;r=n,n=c,b=u.plus(h.times(c=b)),u=c,a=d.minus(h.times(c=a)),d=c}return c=t(e.minus(r),n,0,1),u=u.plus(c.times(b)),r=r.plus(c.times(n)),u.s=b.s=m.s,o*=2,x=t(b,n,o,P).minus(m).abs().comparedTo(t(u,r,o,P).minus(m).abs())<1?[b,n]:[u,r],I=f,x},c.toNumber=function(){return+H(this)},c.toPrecision=function(e,t){return null!=e&&_(e,1,v),L(this,e,t,2)},c.toString=function(e){var t,r=this,n=r.s,c=r.e;return null===c?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=c<=O||c>=C?S(y(r.c),c):E(y(r.c),c,"0"):10===e?(r=D(new U(r),A+c+1,P),t=E(y(r.c),r.e,"0")):(_(e,2,M.length,"Base"),t=a(E(y(r.c),c,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},c.valueOf=c.toJSON=function(){return H(this)},c._isBigNumber=!0,null!=e&&U.set(e),U}function g(e){var t=0|e;return e>0||e===t?t:t-1}function y(e){for(var t,a,r=1,n=e.length,c=e[0]+"";rd^a?1:-1;for(o=(f=n.length)<(d=c.length)?f:d,i=0;ic[i]^a?1:-1;return f==d?0:f>d^a?1:-1}function _(e,t,a,r){if(ea||e!==d(e))throw Error(s+(r||"Argument")+("number"==typeof e?ea?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function k(e){var t=e.c.length-1;return g(e.e/l)==t&&e.c[t]%2!=0}function S(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function E(e,t,a){var r,n;if(t<0){for(n=a+".";++t;n+=a);e=n+e}else if(r=e.length,++t>r){for(n=a,t-=r;--t;n+=a);e+=n}else t=10?u%10+1:u,1===o?o+=1:o-=1}var b=(10-n%10)%10;return b===parseInt(e.substring(14,15),10)}e.exports=t.default,e.exports.default=t.default},"00dc":function(e,t,a){(function(e){var r=a("58a2"),n=a("c24d"),c=a("561d");function i(t){var a=new e(n[t].prime,"hex"),r=new e(n[t].gen,"hex");return new c(a,r)}var o={binary:!0,hex:!0,base64:!0};function f(t,a,n,i){return e.isBuffer(a)||void 0===o[a]?f(t,"binary",a,n):(a=a||"binary",i=i||"binary",n=n||new e([2]),e.isBuffer(n)||(n=new e(n,i)),"number"===typeof t?new c(r(t,n),n,!0):(e.isBuffer(t)||(t=new e(t,a)),new c(t,n,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=i,t.createDiffieHellman=t.DiffieHellman=f}).call(this,a("b639").Buffer)},"011f":function(e){e.exports=JSON.parse('{"name":"mainnet","chainId":1,"networkId":1,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"The Ethereum main chain","url":"https://ethstats.net/","genesis":{"hash":"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3","timestamp":null,"gasLimit":5000,"difficulty":17179869184,"nonce":"0x0000000000000042","extraData":"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa","stateRoot":"0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xfc64ec04"},{"name":"homestead","block":1150000,"forkHash":"0x97c2c34c"},{"name":"dao","block":1920000,"forkHash":"0x91d1f948"},{"name":"tangerineWhistle","block":2463000,"forkHash":"0x7a64da13"},{"name":"spuriousDragon","block":2675000,"forkHash":"0x3edd5b10"},{"name":"byzantium","block":4370000,"forkHash":"0xa00bc324"},{"name":"constantinople","block":7280000,"forkHash":"0x668db0af"},{"name":"petersburg","block":7280000,"forkHash":"0x668db0af"},{"name":"istanbul","block":9069000,"forkHash":"0x879d6e30"},{"name":"muirGlacier","block":9200000,"forkHash":"0xe029e991"},{"name":"berlin","block":12244000,"forkHash":"0x0eb440f6"},{"name":"london","block":12965000,"forkHash":"0xb715077d"},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"18.138.108.67","port":30303,"id":"d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666","location":"ap-southeast-1-001","comment":"bootnode-aws-ap-southeast-1-001"},{"ip":"3.209.45.79","port":30303,"id":"22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de","location":"us-east-1-001","comment":"bootnode-aws-us-east-1-001"},{"ip":"34.255.23.113","port":30303,"id":"ca6de62fce278f96aea6ec5a2daadb877e51651247cb96ee310a318def462913b653963c155a0ef6c7d50048bba6e6cea881130857413d9f50a621546b590758","location":"eu-west-1-001","comment":"bootnode-aws-eu-west-1-001"},{"ip":"35.158.244.151","port":30303,"id":"279944d8dcd428dffaa7436f25ca0ca43ae19e7bcf94a8fb7d1641651f92d121e972ac2e8f381414b80cc8e5555811c2ec6e1a99bb009b3f53c4c69923e11bd8","location":"eu-central-1-001","comment":"bootnode-aws-eu-central-1-001"},{"ip":"52.187.207.27","port":30303,"id":"8499da03c47d637b20eee24eec3c356c9a2e6148d6fe25ca195c7949ab8ec2c03e3556126b0d7ed644675e78c4318b08691b7b57de10e5f0d40d05b09238fa0a","location":"australiaeast-001","comment":"bootnode-azure-australiaeast-001"},{"ip":"191.234.162.198","port":30303,"id":"103858bdb88756c71f15e9b5e09b56dc1be52f0a5021d46301dbbfb7e130029cc9d0d6f73f693bc29b665770fff7da4d34f3c6379fe12721b5d7a0bcb5ca1fc1","location":"brazilsouth-001","comment":"bootnode-azure-brazilsouth-001"},{"ip":"52.231.165.108","port":30303,"id":"715171f50508aba88aecd1250af392a45a330af91d7b90701c436b618c86aaa1589c9184561907bebbb56439b8f8787bc01f49a7c77276c58c1b09822d75e8e8","location":"koreasouth-001","comment":"bootnode-azure-koreasouth-001"},{"ip":"104.42.217.25","port":30303,"id":"5d6d7cd20d6da4bb83a1d28cadb5d409b64edf314c0335df658c1a54e32c7c4a7ab7823d57c39b6a757556e68ff1df17c748b698544a55cb488b52479a92b60f","location":"westus-001","comment":"bootnode-azure-westus-001"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net"]}')},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,a){"use strict";var r=a("da3e");function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),a+=this._flushBuffer(n,a);return t+=this._buffer(e,t),n},n.prototype.final=function(e){var t,a;return e&&(t=this.update(e)),a="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(a):a},n.prototype._pad=function(e,t){if(0===t)return!1;while(t1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var a=(0,n.default)(t),c=(0,n.default)(e);return!!(c&&a&&c>a)}e.exports=t.default,e.exports.default=t.default},"0266":function(e){e.exports=JSON.parse('{"name":"chainstart","comment":"Start of the Ethereum main chain","eip":{"url":"","status":""},"status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Once per EXP instuction"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Once per SHA3 operation"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation\'s data"},"sload":{"v":50,"d":"Once per SLOAD operation"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Refunded gas, once per SSTORE operation if the zeroness changes to zero"},"log":{"v":375,"d":"Per LOG* operation"},"logData":{"v":8,"d":"Per byte in a LOG* operation\'s data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Once per CREATE operation & contract-creation transaction"},"call":{"v":40,"d":"Once per CALL operation & message call transaction"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"02db":function(e,t){var a=[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];t.p1600=function(e){for(var t=0;t<24;++t){var r=e[0]^e[10]^e[20]^e[30]^e[40],n=e[1]^e[11]^e[21]^e[31]^e[41],c=e[2]^e[12]^e[22]^e[32]^e[42],i=e[3]^e[13]^e[23]^e[33]^e[43],o=e[4]^e[14]^e[24]^e[34]^e[44],f=e[5]^e[15]^e[25]^e[35]^e[45],d=e[6]^e[16]^e[26]^e[36]^e[46],s=e[7]^e[17]^e[27]^e[37]^e[47],u=e[8]^e[18]^e[28]^e[38]^e[48],b=e[9]^e[19]^e[29]^e[39]^e[49],l=u^(c<<1|i>>>31),h=b^(i<<1|c>>>31),p=e[0]^l,x=e[1]^h,v=e[10]^l,m=e[11]^h,g=e[20]^l,y=e[21]^h,w=e[30]^l,_=e[31]^h,k=e[40]^l,S=e[41]^h;l=r^(o<<1|f>>>31),h=n^(f<<1|o>>>31);var E=e[2]^l,A=e[3]^h,P=e[12]^l,O=e[13]^h,C=e[22]^l,T=e[23]^h,I=e[32]^l,j=e[33]^h,N=e[42]^l,B=e[43]^h;l=c^(d<<1|s>>>31),h=i^(s<<1|d>>>31);var R=e[4]^l,M=e[5]^h,U=e[14]^l,L=e[15]^h,$=e[24]^l,F=e[25]^h,D=e[34]^l,H=e[35]^h,z=e[44]^l,q=e[45]^h;l=o^(u<<1|b>>>31),h=f^(b<<1|u>>>31);var W=e[6]^l,K=e[7]^h,G=e[16]^l,V=e[17]^h,Z=e[26]^l,J=e[27]^h,X=e[36]^l,Y=e[37]^h,Q=e[46]^l,ee=e[47]^h;l=d^(r<<1|n>>>31),h=s^(n<<1|r>>>31);var te=e[8]^l,ae=e[9]^h,re=e[18]^l,ne=e[19]^h,ce=e[28]^l,ie=e[29]^h,oe=e[38]^l,fe=e[39]^h,de=e[48]^l,se=e[49]^h,ue=p,be=x,le=m<<4|v>>>28,he=v<<4|m>>>28,pe=g<<3|y>>>29,xe=y<<3|g>>>29,ve=_<<9|w>>>23,me=w<<9|_>>>23,ge=k<<18|S>>>14,ye=S<<18|k>>>14,we=E<<1|A>>>31,_e=A<<1|E>>>31,ke=O<<12|P>>>20,Se=P<<12|O>>>20,Ee=C<<10|T>>>22,Ae=T<<10|C>>>22,Pe=j<<13|I>>>19,Oe=I<<13|j>>>19,Ce=N<<2|B>>>30,Te=B<<2|N>>>30,Ie=M<<30|R>>>2,je=R<<30|M>>>2,Ne=U<<6|L>>>26,Be=L<<6|U>>>26,Re=F<<11|$>>>21,Me=$<<11|F>>>21,Ue=D<<15|H>>>17,Le=H<<15|D>>>17,$e=q<<29|z>>>3,Fe=z<<29|q>>>3,De=W<<28|K>>>4,He=K<<28|W>>>4,ze=V<<23|G>>>9,qe=G<<23|V>>>9,We=Z<<25|J>>>7,Ke=J<<25|Z>>>7,Ge=X<<21|Y>>>11,Ve=Y<<21|X>>>11,Ze=ee<<24|Q>>>8,Je=Q<<24|ee>>>8,Xe=te<<27|ae>>>5,Ye=ae<<27|te>>>5,Qe=re<<20|ne>>>12,et=ne<<20|re>>>12,tt=ie<<7|ce>>>25,at=ce<<7|ie>>>25,rt=oe<<8|fe>>>24,nt=fe<<8|oe>>>24,ct=de<<14|se>>>18,it=se<<14|de>>>18;e[0]=ue^~ke&Re,e[1]=be^~Se&Me,e[10]=De^~Qe&pe,e[11]=He^~et&xe,e[20]=we^~Ne&We,e[21]=_e^~Be&Ke,e[30]=Xe^~le&Ee,e[31]=Ye^~he&Ae,e[40]=Ie^~ze&tt,e[41]=je^~qe&at,e[2]=ke^~Re&Ge,e[3]=Se^~Me&Ve,e[12]=Qe^~pe&Pe,e[13]=et^~xe&Oe,e[22]=Ne^~We&rt,e[23]=Be^~Ke&nt,e[32]=le^~Ee&Ue,e[33]=he^~Ae&Le,e[42]=ze^~tt&ve,e[43]=qe^~at&me,e[4]=Re^~Ge&ct,e[5]=Me^~Ve&it,e[14]=pe^~Pe&$e,e[15]=xe^~Oe&Fe,e[24]=We^~rt&ge,e[25]=Ke^~nt&ye,e[34]=Ee^~Ue&Ze,e[35]=Ae^~Le&Je,e[44]=tt^~ve&Ce,e[45]=at^~me&Te,e[6]=Ge^~ct&ue,e[7]=Ve^~it&be,e[16]=Pe^~$e&De,e[17]=Oe^~Fe&He,e[26]=rt^~ge&we,e[27]=nt^~ye&_e,e[36]=Ue^~Ze&Xe,e[37]=Le^~Je&Ye,e[46]=ve^~Ce&Ie,e[47]=me^~Te&je,e[8]=ct^~ue&ke,e[9]=it^~be&Se,e[18]=$e^~De&Qe,e[19]=Fe^~He&et,e[28]=ge^~we&Ne,e[29]=ye^~_e&Be,e[38]=Ze^~Xe&le,e[39]=Je^~Ye&he,e[48]=Ce^~Ie&ze,e[49]=Te^~je&qe,e[0]^=a[2*t],e[1]^=a[2*t+1]}}},"032a":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=a("0f54");function n(e){if(e.key[0]!==r.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function c(t){var a=e.from([r.InputTypes.SIGHASH_TYPE]),n=e.allocUnsafe(4);return n.writeUInt32LE(t,0),{key:a,value:n}}function i(e){return"number"===typeof e}function o(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=n,t.encode=c,t.expected="number",t.check=i,t.canAdd=o}).call(this,a("b639").Buffer)},"0378":function(e,t,a){"use strict";a.r(t);var r=a("0cb5"),n=a.n(r);for(var c in r)"default"!==c&&function(e){a.d(t,e,(function(){return r[e]}))}(c);t["default"]=n.a},"038d":function(e,t,a){"use strict";(function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var a=0;at)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function s(e,t){var a=e.readUInt32LE(t),r=e.readUInt32LE(t+4);return r*=4294967296,d(r+a,9007199254740991),r+a}function u(e,t,a){return d(t,9007199254740991),e.writeInt32LE(-1&t,a),e.writeUInt32LE(Math.floor(t/4294967296),a+4),a+8}function b(e){if(e.length<1)return e;for(var t=e.length-1,a=0,r=0;r1&&void 0!==arguments[1]?arguments[1]:0;r(this,e),this.buffer=t,this.offset=a,o(i.tuple(i.Buffer,i.UInt32),[t,a])}return c(e,[{key:"writeUInt8",value:function(e){this.offset=this.buffer.writeUInt8(e,this.offset)}},{key:"writeInt32",value:function(e){this.offset=this.buffer.writeInt32LE(e,this.offset)}},{key:"writeUInt32",value:function(e){this.offset=this.buffer.writeUInt32LE(e,this.offset)}},{key:"writeUInt64",value:function(e){this.offset=u(this.buffer,e,this.offset)}},{key:"writeVarInt",value:function(e){f.encode(e,this.buffer,this.offset),this.offset+=f.encode.bytes}},{key:"writeSlice",value:function(e){if(this.buffer.length1&&void 0!==arguments[1]?arguments[1]:0;r(this,e),this.buffer=t,this.offset=a,o(i.tuple(i.Buffer,i.UInt32),[t,a])}return c(e,[{key:"readUInt8",value:function(){var e=this.buffer.readUInt8(this.offset);return this.offset++,e}},{key:"readInt32",value:function(){var e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt32",value:function(){var e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt64",value:function(){var e=s(this.buffer,this.offset);return this.offset+=8,e}},{key:"readVarInt",value:function(){var e=f.decode(this.buffer,this.offset);return this.offset+=f.decode.bytes,e}},{key:"readSlice",value:function(e){if(this.buffer.length>6!==2)break;i++}return i}return e===n.OVERRUN?a.length-t-1:0}function u(e,t,a,r,c){return e===n.OVERLONG?(r.push(c),0):(r.push(65533),s(e,t,a,r,c))}t.UnicodeNormalizationForm=r,function(e){e["current"]="",e["NFC"]="NFC",e["NFD"]="NFD",e["NFKC"]="NFKC",e["NFKD"]="NFKD"}(r||(t.UnicodeNormalizationForm=r={})),t.Utf8ErrorReason=n,function(e){e["UNEXPECTED_CONTINUE"]="unexpected continuation byte",e["BAD_PREFIX"]="bad codepoint prefix",e["OVERRUN"]="string overrun",e["MISSING_CONTINUE"]="missing continuation byte",e["OUT_OF_RANGE"]="out of UTF-8 range",e["UTF16_SURROGATE"]="UTF-16 surrogate",e["OVERLONG"]="overlong representation"}(n||(t.Utf8ErrorReason=n={}));var b=Object.freeze({error:d,ignore:s,replace:u});function l(e,t){null==t&&(t=b.error),e=(0,c.arrayify)(e);var a=[],r=0;while(r>7!==0){var o=null,f=null;if(192===(224&i))o=1,f=127;else if(224===(240&i))o=2,f=2047;else{if(240!==(248&i)){r+=t(128===(192&i)?n.UNEXPECTED_CONTINUE:n.BAD_PREFIX,r-1,e,a);continue}o=3,f=65535}if(r-1+o>=e.length)r+=t(n.OVERRUN,r-1,e,a);else{for(var d=i&(1<<8-o-1)-1,s=0;s1114111?r+=t(n.OUT_OF_RANGE,r-1-o,e,a,d):d>=55296&&d<=57343?r+=t(n.UTF16_SURROGATE,r-1-o,e,a,d):d<=f?r+=t(n.OVERLONG,r-1-o,e,a,d):a.push(d))}}else a.push(i)}return a}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.current;t!=r.current&&(f.checkNormalize(),e=e.normalize(t));for(var a=[],n=0;n>6|192),a.push(63&i|128);else if(55296==(64512&i)){n++;var o=e.charCodeAt(n);if(n>=e.length||56320!==(64512&o))throw new Error("invalid utf-8 string");var d=65536+((1023&i)<<10)+(1023&o);a.push(d>>18|240),a.push(d>>12&63|128),a.push(d>>6&63|128),a.push(63&d|128)}else a.push(i>>12|224),a.push(i>>6&63|128),a.push(63&i|128)}return(0,c.arrayify)(a)}function p(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function x(e,t){return'"'+l(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?p(e):(e-=65536,p(55296+(e>>10&1023))+p(56320+(1023&e)))})).join("")+'"'}function v(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}function m(e,t){return v(l(e,t))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.current;return l(h(e,t))}t.Utf8ErrorFuncs=b},"055d":function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return c})),a.d(t,"a",(function(){return r}));var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",{staticClass:e._$s(0,"sc","nav-head"),attrs:{_i:0}},[e._t("address",null,{_i:1}),e._t("default",null,{_i:2}),e._t("bread",null,{_i:3}),e._t("logo",null,{_i:4}),e._$s(5,"i",e.showBack)?r("image",{staticClass:e._$s(5,"sc","back"),attrs:{src:e._$s(5,"a-src",a("6a29")),_i:5},on:{click:function(t){return e.back()}}}):e._e()],2)},c=[]},"056e":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var r="signing-key/5.5.0";t.version=r},"05ac":function(e,t){e.exports="/static/tongyonh/create_wallet.png"},"05d4":function(e,t){e.exports="/static/tongyonh/x-circle.png"},"0610":function(e,t,a){"use strict";a.r(t);var r=a("6a33"),n=a("ea0f");for(var c in n)"default"!==c&&function(e){a.d(t,e,(function(){return n[e]}))}(c);var i,o=a("f0c5"),f=Object(o["a"])(n["default"],r["b"],r["c"],!1,null,"0d4c8696",null,!1,r["a"],i);t["default"]=f.exports},"064e":function(e,t,a){"use strict";var r=a("e2ad"),n=a("ddf5"),c=a("243a"),i=function(){var e=this;r.packageInit(this,arguments),[new n({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new n({name:"isListening",call:"net_listening",params:0}),new n({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:c.hexToNumber})].forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager)}))};r.addProviders(i),e.exports=i},"0676":function(e,t){function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=a},"06d2":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=n(a("3ce7"));function n(e){return e&&e.__esModule?e:{default:e}}var c=/^[a-z]+\/[a-z0-9\-\+]+$/i,i=/^[a-z\-]+=[a-z0-9\-]+$/i,o=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function f(e){(0,r.default)(e);var t=e.split(",");if(t.length<2)return!1;var a=t.shift().trim().split(";"),n=a.shift();if("data:"!==n.substr(0,5))return!1;var f=n.substr(5);if(""!==f&&!c.test(f))return!1;for(var d=0;d127)c++,n.writeUIntLE(c,0,6),r=f.signWithEntropy(t,this.__D,n);return r}},{key:"verify",value:function(e,t){return f.verify(e,this.publicKey,t)}},{key:"privateKey",get:function(){return this.__D}},{key:"publicKey",get:function(){return this.__Q||(this.__Q=f.pointFromScalar(this.__D,this.compressed)),this.__Q}}]),t}();function h(e,t){if(s(o.Buffer256bit,e),!f.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return s(b,t),new l(e,void 0,t)}function p(e,t){return s(f.isPoint,e),s(b,t),new l(void 0,e,t)}function x(e,t){var a=u.decode(e),r=a.version;if(o.Array(t)){if(t=t.filter((function(e){return r===e.wif})).pop(),!t)throw new Error("Unknown network version")}else if(t=t||i.bitcoin,r!==t.wif)throw new Error("Invalid network version");return h(a.privateKey,{compressed:a.compressed,network:t})}function v(e){s(b,e),void 0===e&&(e={});var t,a=e.rng||d;do{t=a(32),s(o.Buffer256bit,t)}while(!f.isPrivate(t));return h(t,e)}t.fromPrivateKey=h,t.fromPublicKey=p,t.fromWIF=x,t.makeRandom=v}).call(this,a("b639").Buffer)},"0769":function(e,t,a){"use strict";a.r(t);var r=a("fbd0"),n=a("b31d");for(var c in n)"default"!==c&&function(e){a.d(t,e,(function(){return n[e]}))}(c);var i,o=a("f0c5"),f=Object(o["a"])(n["default"],r["b"],r["c"],!1,null,"6faaa942",null,!1,r["a"],i);t["default"]=f.exports},"07f2":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(a("a148"));function n(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return f(e)||o(e,t)||s(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var a=[],r=!0,n=!1,c=void 0;try{for(var i,o=e[Symbol.iterator]();!(r=(i=o.next()).done);r=!0)if(a.push(i.value),t&&a.length===t)break}catch(f){n=!0,c=f}finally{try{r||null==o["return"]||o["return"]()}finally{if(n)throw c}}return a}}function f(e){if(Array.isArray(e))return e}function d(e,t){var a;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=s(e))||t&&e&&"number"===typeof e.length){a&&(e=a);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,i=!0,o=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return i=e.done,e},e:function(e){o=!0,c=e},f:function(){try{i||null==a.return||a.return()}finally{if(o)throw c}}}}function s(e,t){if(e){if("string"===typeof e)return u(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a>>27}function s(e){return e<<30|e>>>2}function u(e,t,a,r){return 0===e?t&a|~t&r:2===e?t&a|t&r|a&r:t^a^r}r(f,n),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(e){for(var t=this._w,a=0|this._a,r=0|this._b,n=0|this._c,c=0|this._d,o=0|this._e,f=0;f<16;++f)t[f]=e.readInt32BE(4*f);for(;f<80;++f)t[f]=t[f-3]^t[f-8]^t[f-14]^t[f-16];for(var b=0;b<80;++b){var l=~~(b/20),h=d(a)+u(l,r,n,c)+o+t[b]+i[l]|0;o=c,c=n,n=s(r),r=a,a=h}this._a=a+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=c+this._d|0,this._e=o+this._e|0},f.prototype._hash=function(){var e=c.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=f},"088f":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return r.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return r.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return r.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return r.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return r.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return r.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return r.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return r.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return r.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return r.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return r.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return r.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return r.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return r.TransactionDescription}}),Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return n.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return n.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return n.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return n.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return n.isAddress}}),Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return i.Base58}}),Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return o.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return o.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return o.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return o.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return o.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return o.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return o.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return o.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return o.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return o.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return o.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return o.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return o.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return o.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return o.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return o.stripZeros}}),Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return f._TypedDataEncoder}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return f.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return f.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return f.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return f.namehash}}),Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return d.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return d.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return d.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return d.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return d.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return d.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return d.mnemonicToSeed}}),Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return s.getJsonWalletAddress}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return u.keccak256}}),Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return b.Logger}}),Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return l.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return l.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return l.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return l.sha512}}),Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return l.SupportedAlgorithm}}),Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return h.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return h.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return h.sha256}}),Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return p.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return p.shuffled}}),Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return x.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return x.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return x.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return x.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return x.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return x.shallowCopy}}),Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return m.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return m.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return m.SigningKey}}),Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return g.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return g.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return g.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return g._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return g.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return g.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return g.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return g.Utf8ErrorFuncs}}),Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return g.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return g.Utf8ErrorReason}}),Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return y.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return y.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return y.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return y.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return y.TransactionTypes}}),Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return w.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return w.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return w.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return w.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return w.parseUnits}}),Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return _.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return _.verifyTypedData}}),Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return k._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return k.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return k.poll}}),t.RLP=t.base64=void 0;var r=a("f6b4"),n=a("0f1c"),c=E(a("7260"));t.base64=c;var i=a("f01b"),o=a("ecb6"),f=a("3b83"),d=a("98a5"),s=a("bedc"),u=a("183c"),b=a("20ed"),l=a("5639"),h=a("9c67"),p=a("83b7"),x=a("16a3"),v=E(a("467a"));t.RLP=v;var m=a("bcc2"),g=a("86c8"),y=a("e43f"),w=a("1391"),_=a("403a"),k=a("35bf");function S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var c=r?Object.getOwnPropertyDescriptor(e,n):null;c&&(c.get||c.set)?Object.defineProperty(a,n,c):a[n]=e[n]}return a.default=e,t&&t.set(e,a),a}},"0893":function(e,t,a){"use strict";(function(e){function r(e){return o(e)||i(e)||c(e)||n()}function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return f(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?f(e,t):void 0}}function i(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function o(e){if(Array.isArray(e))return f(e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);at)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function h(e,t){var a=e.readUInt32LE(t),r=e.readUInt32LE(t+4);return r*=4294967296,l(r+a,9007199254740991),r+a}function p(e,t,a){return l(t,9007199254740991),e.writeInt32LE(-1&t,a),e.writeUInt32LE(Math.floor(t/4294967296),a+4),a+8}t.range=function(e){return r(Array(e).keys())},t.reverseBuffer=s,t.keyValsToBuffer=u,t.keyValToBuffer=b,t.readUInt64LE=h,t.writeUInt64LE=p}).call(this,a("b639").Buffer)},"08db":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.locales=void 0;var r=c(a("3ce7")),n=a("3c37");function c(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var c=e,i=a.ignore;if(i)if(i instanceof RegExp)c=c.replace(i,"");else{if("string"!==typeof i)throw new Error("ignore should be instance of a String or RegExp");c=c.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alphanumeric)return n.alphanumeric[t].test(c);throw new Error("Invalid locale '".concat(t,"'"))}var o=Object.keys(n.alphanumeric);t.locales=o},"0953":function(e,t){e.exports=function(e){if("string"!==typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},"0960":function(e,t,a){e.exports=a("b19a")},"0972":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=a("98e6"),n=a("a099"),c=a("11dc"),i=a("61c7"),o=i._default,f="Invalid mnemonic",d="Invalid entropy",s="Invalid mnemonic checksum",u="A wordlist is required but a default could not be found.\nPlease pass a 2048 word array explicitly.";function b(e,t,a,r,c){return Promise.resolve().then((function(){return new Promise((function(i,o){var f=function(e,t){return e?o(e):i(t)};n.pbkdf2(e,t,a,r,c,f)}))}))}function l(e){return(e||"").normalize("NFKD")}function h(e,t,a){while(e.length32)throw new Error(d);if(x.length%4!==0)throw new Error(d);var m=e.from(x),g=v(m);if(g!==b)throw new Error(s);return m.toString("hex")}function _(t,a){if(e.isBuffer(t)||(t=e.from(t,"hex")),a=a||o,!a)throw new Error(u);if(t.length<16)throw new TypeError(d);if(t.length>32)throw new TypeError(d);if(t.length%4!==0)throw new TypeError(d);var r=x(Array.from(t)),n=v(t),c=r+n,i=c.match(/(.{1,11})/g),f=i.map((function(e){var t=p(e);return a[t]}));return"\u3042\u3044\u3053\u304f\u3057\u3093"===a[0]?f.join("\u3000"):f.join(" ")}function k(e,t,a){if(e=e||128,e%32!==0)throw new TypeError(d);return t=t||c,_(t(e/8),a)}function S(e,t){try{w(e,t)}catch(a){return!1}return!0}function E(e){var t=i.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');o=t}function A(){if(!o)throw new Error("No Default Wordlist set");return Object.keys(i.wordlists).filter((function(e){return"JA"!==e&&"EN"!==e&&i.wordlists[e].every((function(e,t){return e===o[t]}))}))[0]}t.mnemonicToSeedSync=g,t.mnemonicToSeed=y,t.mnemonicToEntropy=w,t.entropyToMnemonic=_,t.generateMnemonic=k,t.validateMnemonic=S,t.setDefaultWordlist=E,t.getDefaultWordlist=A;var P=a("61c7");t.wordlists=P.wordlists}).call(this,a("b639").Buffer)},"09a1":function(e){e.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":0,"consensus":"poa","finality":null},{"name":"dao","block":0,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":0,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":0,"consensus":"poa","finality":null},{"name":"byzantium","block":5067000,"consensus":"poa","finality":null},{"name":"constantinople","block":9200000,"consensus":"poa","finality":null},{"name":"petersburg","block":10255201,"consensus":"poa","finality":null},{"name":"istanbul","block":14111141,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},"09d6":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(a("3ce7"));function n(e){return e&&e.__esModule?e:{default:e}}function c(e){return(0,r.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default},"09ed":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(a("8e09")),r(a("2e38"));function r(e){return e&&e.__esModule?e:{default:e}}var n={data:function(){return{list2:[{name:"No more tips next time",checked:!1,disabled:!1}],show:!1,value:"",type:"text",border:!0,list:[{name:"Popular"},{name:"Lending"},{name:"Trade"},{name:"Yield"},{name:"Stake"}],current:0}},methods:{change:function(e){this.current=e}}};t.default=n},"09f5":function(e,t,a){var r=a("39f5"),n=a("8707").Buffer,c=a("6430"),i=a("3fb5");function o(e,t,a,i){c.call(this),this._cipher=new r.AES(t),this._prev=n.from(a),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=i,this._mode=e}i(o,c),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},"0a73":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=c(a("3ce7")),n=c(a("74cd"));function c(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,r.default)(e),(0,n.default)(e)&&24===e.length}e.exports=t.default,e.exports.default=t.default},"0b16":function(e,t,a){"use strict";var r=a("1985"),n=a("35e8");function c(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=k,t.resolveObject=S,t.format=_,t.Url=c;var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],s=["{","}","|","\\","^","`"].concat(d),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),l=["/","?","#"],h=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,x=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=a("b383");function w(e,t,a){if(e&&n.isObject(e)&&e instanceof c)return e;var r=new c;return r.parse(e,t,a),r}function _(e){return n.isString(e)&&(e=w(e)),e instanceof c?e.format():c.prototype.format.call(e)}function k(e,t){return w(e,!1,!0).resolve(t)}function S(e,t){return e?w(e,!1,!0).resolveObject(t):t}c.prototype.parse=function(e,t,a){if(!n.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var c=e.indexOf("?"),o=-1!==c&&c127?R+="x":R+=B[M];if(!R.match(p)){var L=j.slice(0,C),$=j.slice(C+1),F=B.match(x);F&&(L.push(F[1]),$.unshift(F[2])),$.length&&(w="/"+$.join(".")+w),this.hostname=L.join(".");break}}}this.hostname.length>h?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+D,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!v[S])for(C=0,N=u.length;C0)&&a.host.split("@");E&&(a.auth=E.shift(),a.host=a.hostname=E.shift())}return a.search=e.search,a.query=e.query,n.isNull(a.pathname)&&n.isNull(a.search)||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.href=a.format(),a}if(!k.length)return a.pathname=null,a.search?a.path="/"+a.search:a.path=null,a.href=a.format(),a;for(var A=k.slice(-1)[0],P=(a.host||e.host||k.length>1)&&("."===A||".."===A)||""===A,O=0,C=k.length;C>=0;C--)A=k[C],"."===A?k.splice(C,1):".."===A?(k.splice(C,1),O++):O&&(k.splice(C,1),O--);if(!w&&!_)for(;O--;O)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),P&&"/"!==k.join("/").substr(-1)&&k.push("");var T=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(S){a.hostname=a.host=T?"":k.length?k.shift():"";E=!!(a.host&&a.host.indexOf("@")>0)&&a.host.split("@");E&&(a.auth=E.shift(),a.host=a.hostname=E.shift())}return w=w||a.host&&k.length,w&&!T&&k.unshift(""),k.length?a.pathname=k.join("/"):(a.pathname=null,a.path=null),n.isNull(a.pathname)&&n.isNull(a.search)||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.auth=e.auth||a.auth,a.slashes=a.slashes||e.slashes,a.href=a.format(),a},c.prototype.parseHost=function(){var e=this.host,t=o.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b44":function(e,t,a){"use strict";function r(e,t){var a;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=n(e))||t&&e&&"number"===typeof e.length){a&&(e=a);var r=0,c=function(){};return{s:c,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,f=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return o=e.done,e},e:function(e){f=!0,i=e},f:function(){try{o||null==a.return||a.return()}finally{if(f)throw i}}}}function n(e,t){if(e){if("string"===typeof e)return c(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a=8&&(i[c++]=n>>>r-8&255,r-=8);return i.buffer}function o(e,t){var a=e.byteLength,r=new Uint8Array(e),n=t.indexOf("=")===t.length-1;n&&(t=t.substring(0,t.length-1));for(var c=0,i=0,o="",f=0;f=5)o+=t[i>>>c-5&31],c-=5}if(c>0&&(o+=t[i<<5-c&31]),n)while(o.length%8!==0)o+="=";return o}e.exports=function(e){return{encode:function(t){return o("string"===typeof t?Uint8Array.from(t):t,e)},decode:function(t){var a,n=r(t);try{for(n.s();!(a=n.n()).done;){var c=a.value;if(e.indexOf(c)<0)throw new Error("invalid base32 character")}}catch(o){n.e(o)}finally{n.f()}return i(t,e)}}}},"0b53":function(e,t){var a="0123456789abcdef".split(""),r=[1,256,65536,16777216],n=[0,8,16,24],c=[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],i=function(e){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(e<<1)>>5,outputBlocks:e>>5,s:function(e){return[].concat(e,e,e,e,e)}([0,0,0,0,0,0,0,0,0,0])}},o=function(e,t){var c,i=t.length,o=e.blocks,d=e.blockCount<<2,s=e.blockCount,u=e.outputBlocks,b=e.s,l=0;while(l>2]|=t[l]<>2]|=c<>2]|=(192|c>>6)<>2]|=(128|63&c)<=57344?(o[x>>2]|=(224|c>>12)<>2]|=(128|c>>6&63)<>2]|=(128|63&c)<>2]|=(240|c>>18)<>2]|=(128|c>>12&63)<>2]|=(128|c>>6&63)<>2]|=(128|63&c)<=d){for(e.start=x-d,e.block=o[s],x=0;x>2]|=r[3&x],e.lastByteIndex===d)for(o[0]=o[s],x=1;x>4&15]+a[15&h]+a[h>>12&15]+a[h>>8&15]+a[h>>20&15]+a[h>>16&15]+a[h>>28&15]+a[h>>24&15];v%s===0&&(f(b),x=0)}return"0x"+p},f=function(e){var t,a,r,n,i,o,f,d,s,u,b,l,h,p,x,v,m,g,y,w,_,k,S,E,A,P,O,C,T,I,j,N,B,R,M,U,L,$,F,D,H,z,q,W,K,G,V,Z,J,X,Y,Q,ee,te,ae,re,ne,ce,ie,oe,fe,de,se;for(r=0;r<48;r+=2)n=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],f=e[3]^e[13]^e[23]^e[33]^e[43],d=e[4]^e[14]^e[24]^e[34]^e[44],s=e[5]^e[15]^e[25]^e[35]^e[45],u=e[6]^e[16]^e[26]^e[36]^e[46],b=e[7]^e[17]^e[27]^e[37]^e[47],l=e[8]^e[18]^e[28]^e[38]^e[48],h=e[9]^e[19]^e[29]^e[39]^e[49],t=l^(o<<1|f>>>31),a=h^(f<<1|o>>>31),e[0]^=t,e[1]^=a,e[10]^=t,e[11]^=a,e[20]^=t,e[21]^=a,e[30]^=t,e[31]^=a,e[40]^=t,e[41]^=a,t=n^(d<<1|s>>>31),a=i^(s<<1|d>>>31),e[2]^=t,e[3]^=a,e[12]^=t,e[13]^=a,e[22]^=t,e[23]^=a,e[32]^=t,e[33]^=a,e[42]^=t,e[43]^=a,t=o^(u<<1|b>>>31),a=f^(b<<1|u>>>31),e[4]^=t,e[5]^=a,e[14]^=t,e[15]^=a,e[24]^=t,e[25]^=a,e[34]^=t,e[35]^=a,e[44]^=t,e[45]^=a,t=d^(l<<1|h>>>31),a=s^(h<<1|l>>>31),e[6]^=t,e[7]^=a,e[16]^=t,e[17]^=a,e[26]^=t,e[27]^=a,e[36]^=t,e[37]^=a,e[46]^=t,e[47]^=a,t=u^(n<<1|i>>>31),a=b^(i<<1|n>>>31),e[8]^=t,e[9]^=a,e[18]^=t,e[19]^=a,e[28]^=t,e[29]^=a,e[38]^=t,e[39]^=a,e[48]^=t,e[49]^=a,p=e[0],x=e[1],G=e[11]<<4|e[10]>>>28,V=e[10]<<4|e[11]>>>28,C=e[20]<<3|e[21]>>>29,T=e[21]<<3|e[20]>>>29,oe=e[31]<<9|e[30]>>>23,fe=e[30]<<9|e[31]>>>23,z=e[40]<<18|e[41]>>>14,q=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,M=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,m=e[12]<<12|e[13]>>>20,Z=e[22]<<10|e[23]>>>22,J=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,j=e[32]<<13|e[33]>>>19,de=e[42]<<2|e[43]>>>30,se=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ae=e[4]<<30|e[5]>>>2,U=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,g=e[25]<<11|e[24]>>>21,y=e[24]<<11|e[25]>>>21,X=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,N=e[45]<<29|e[44]>>>3,B=e[44]<<29|e[45]>>>3,E=e[6]<<28|e[7]>>>4,A=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ne=e[16]<<23|e[17]>>>9,$=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,w=e[36]<<21|e[37]>>>11,_=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,O=e[19]<<20|e[18]>>>12,ce=e[29]<<7|e[28]>>>25,ie=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,H=e[39]<<8|e[38]>>>24,k=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=p^~v&g,e[1]=x^~m&y,e[10]=E^~P&C,e[11]=A^~O&T,e[20]=R^~U&$,e[21]=M^~L&F,e[30]=W^~G&Z,e[31]=K^~V&J,e[40]=te^~re&ce,e[41]=ae^~ne&ie,e[2]=v^~g&w,e[3]=m^~y&_,e[12]=P^~C&I,e[13]=O^~T&j,e[22]=U^~$&D,e[23]=L^~F&H,e[32]=G^~Z&X,e[33]=V^~J&Y,e[42]=re^~ce&oe,e[43]=ne^~ie&fe,e[4]=g^~w&k,e[5]=y^~_&S,e[14]=C^~I&N,e[15]=T^~j&B,e[24]=$^~D&z,e[25]=F^~H&q,e[34]=Z^~X&Q,e[35]=J^~Y&ee,e[44]=ce^~oe&de,e[45]=ie^~fe&se,e[6]=w^~k&p,e[7]=_^~S&x,e[16]=I^~N&E,e[17]=j^~B&A,e[26]=D^~z&R,e[27]=H^~q&M,e[36]=X^~Q&W,e[37]=Y^~ee&K,e[46]=oe^~de&te,e[47]=fe^~se&ae,e[8]=k^~p&v,e[9]=S^~x&m,e[18]=N^~E&P,e[19]=B^~A&O,e[28]=z^~R&U,e[29]=q^~M&L,e[38]=Q^~W&G,e[39]=ee^~K&V,e[48]=de^~te&re,e[49]=se^~ae&ne,e[0]^=c[r],e[1]^=c[r+1]},d=function(e){return function(t){var a;if("0x"===t.slice(0,2)){a=[];for(var r=2,n=t.length;r=0}return"object"===i(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports.default=t.default},"0ccd":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=c(a("3fcd"));function c(e){return e&&e.__esModule?e:{default:e}}var i={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"\u4e8c\u7ef4\u7801\u751f\u6210\u4e2d"}},data:function(){return{result:""}},methods:{_makeCode:function(){var e=this;this._empty(this.val)?uni.showToast({title:"\u4e8c\u7ef4\u7801\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a",icon:"none",duration:2e3}):r=new n.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),r.clear()},_saveCode:function(){var e=this;""!=this.result&&uni.saveImageToPhotosAlbum({filePath:e.result,success:function(){uni.showToast({title:"\u4e8c\u7ef4\u7801\u4fdd\u5b58\u6210\u529f",icon:"success",duration:2e3})}})},_result:function(e){this.result=e,this.$emit("result",e)},_empty:function(e){var t=typeof e,a=!1;return"number"==t&&""==String(e)||"undefined"==t?a=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(a=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(a=!0):"function"==t&&(a=!1),a}},watch:{size:function(e,t){var a=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){a._makeCode()}),100))},val:function(e,t){var a=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){a._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=i},"0cd5":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2=c;var r=a("ecb6"),n=a("5639");function c(e,t,a,c,i){var o;e=(0,r.arrayify)(e),t=(0,r.arrayify)(t);var f,d,s=1,u=new Uint8Array(c),b=new Uint8Array(t.length+4);b.set(t);for(var l=1;l<=s;l++){b[t.length]=l>>24&255,b[t.length+1]=l>>16&255,b[t.length+2]=l>>8&255,b[t.length+3]=255&l;var h=(0,r.arrayify)((0,n.computeHmac)(i,e,b));o||(o=h.length,d=new Uint8Array(o),s=Math.ceil(c/o),f=c-(s-1)*o),d.set(h);for(var p=1;p1?t-1:0),r=1;r1){var d=o.pop();f=o.join("---COMMA---"),0===d.indexOf(" at ")?f+=d:f+="---COMMA---"+d}else f=o[0];console[i](f)}a.r(t),a.d(t,"log",(function(){return i})),a.d(t,"default",(function(){return o}))},"0e7b":function(e,t){e.exports="/static/tongyonh/arrow-up-leftp.png"},"0ea2":function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"0eaa":function(e,t,a){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[a]}})}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&r(t,e,a);return n(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.rlp=t.BN=void 0;var o=i(a("399f"));t.BN=o.default;var f=c(a("92be"));t.rlp=f},"0f1c":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddress=m,t.isAddress=g,t.getIcapAddress=y,t.getContractAddress=w,t.getCreate2Address=_;var r=a("ecb6"),n=a("846b"),c=a("183c"),i=a("467a"),o=a("20ed"),f=a("2f20"),d=new o.Logger(f.version);function s(e){(0,r.isHexString)(e,20)||d.throwArgumentError("invalid address","address",e),e=e.toLowerCase();for(var t=e.substring(2).split(""),a=new Uint8Array(40),n=0;n<40;n++)a[n]=t[n].charCodeAt(0);for(var i=(0,r.arrayify)((0,c.keccak256)(a)),o=0;o<40;o+=2)i[o>>1]>>4>=8&&(t[o]=t[o].toUpperCase()),(15&i[o>>1])>=8&&(t[o+1]=t[o+1].toUpperCase());return"0x"+t.join("")}var u=9007199254740991;function b(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}for(var l={},h=0;h<10;h++)l[String(h)]=String(h);for(var p=0;p<26;p++)l[String.fromCharCode(65+p)]=String(10+p);var x=Math.floor(b(u));function v(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";var t=e.split("").map((function(e){return l[e]})).join("");while(t.length>=x){var a=t.substring(0,x);t=parseInt(a,10)%97+t.substring(a.length)}var r=String(98-parseInt(t,10)%97);while(r.length<2)r="0"+r;return r}function m(e){var t=null;if("string"!==typeof e&&d.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=s(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&d.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){e.substring(2,4)!==v(e)&&d.throwArgumentError("bad icap checksum","address",e),t=(0,n._base36To16)(e.substring(4));while(t.length<40)t="0"+t;t=s("0x"+t)}else d.throwArgumentError("invalid address","address",e);return t}function g(e){try{return m(e),!0}catch(t){}return!1}function y(e){var t=(0,n._base16To36)(m(e).substring(2)).toUpperCase();while(t.length<30)t="0"+t;return"XE"+v("XE00"+t)+t}function w(e){var t=null;try{t=m(e.from)}catch(o){d.throwArgumentError("missing from address","transaction",e)}var a=(0,r.stripZeros)((0,r.arrayify)(n.BigNumber.from(e.nonce).toHexString()));return m((0,r.hexDataSlice)((0,c.keccak256)((0,i.encode)([t,a])),12))}function _(e,t,a){return 32!==(0,r.hexDataLength)(t)&&d.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,r.hexDataLength)(a)&&d.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",a),m((0,r.hexDataSlice)((0,c.keccak256)((0,r.concat)(["0xff",m(e),t,a])),12))}},"0f2c":function(e,t,a){var r=a("2aee"),n=a("f460"),c=a("83d5"),i=a("399f"),o=a("a958"),f=a("98e6"),d=a("5291"),s=a("8707").Buffer;function u(e,t){var a=e.modulus.byteLength(),r=f("sha1").update(s.alloc(0)).digest(),i=r.length;if(0!==t[0])throw new Error("decryption error");var o=t.slice(1,i+1),d=t.slice(i+1),u=c(o,n(d,i)),b=c(d,n(u,a-i-1));if(l(r,b.slice(0,i)))throw new Error("decryption error");var h=i;while(0===b[h])h++;if(1!==b[h++])throw new Error("decryption error");return b.slice(h)}function b(e,t,a){var r=t.slice(0,2),n=2,c=0;while(0!==t[n++])if(n>=t.length){c++;break}var i=t.slice(2,n-1);if(("0002"!==r.toString("hex")&&!a||"0001"!==r.toString("hex")&&a)&&c++,i.length<8&&c++,c)throw new Error("decryption error");return t.slice(n)}function l(e,t){e=s.from(e),t=s.from(t);var a=0,r=e.length;e.length!==t.length&&(a++,r=Math.min(e.length,t.length));var n=-1;while(++nl||new i(t).cmp(f.modulus)>=0)throw new Error("decryption error");c=a?d(new i(t),f):o(t,f);var h=s.alloc(l-c.length);if(c=s.concat([h,c],l),4===n)return u(f,c);if(1===n)return b(f,c,a);if(3===n)return c;throw new Error("unknown padding")}},"0f48":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=a("5a80"),n=a("5a80"),c=a("3efa"),i=a("6bda"),o=e.from("aa21a9ed","hex");function f(e){var t=r.compile(e);return t.length>37&&t[0]===n.OPS.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(o)}function d(t){i(c.Hash256bit,t);var a=e.allocUnsafe(36);return o.copy(a,0),t.copy(a,4),r.compile([n.OPS.OP_RETURN,a])}function s(e){return i(f,e),r.decompile(e)[1].slice(4,36)}t.check=f,f.toJSON=function(){return"Witness commitment output"},t.encode=d,t.decode=s}).call(this,a("b639").Buffer)},"0f54":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation"]},"0f9f":function(e,t,a){"use strict";a.r(t);var r=a("2437"),n=a.n(r);for(var c in r)"default"!==c&&function(e){a.d(t,e,(function(){return r[e]}))}(c);t["default"]=n.a},"0fe2":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudflareProvider=void 0;var r=o(a("a34a")),n=a("3d6d"),c=a("20ed"),i=a("9684");function o(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var a=0;ai)throw new RangeError("requested too many random bytes");var a=f.allocUnsafe(e);if(e>0)if(e>c)for(var r=0;r21)throw new TypeError(e+" is too long");var a=t.readUInt8(0),r=t.slice(1);return{version:a,hash:r}}function u(t){var a=o.decode(t),r=o.fromWords(a.words.slice(1));return{version:a.words[0],prefix:a.prefix,data:e.from(r)}}function b(t,a){d(i.tuple(i.Hash160bit,i.UInt8),arguments);var r=e.allocUnsafe(21);return r.writeUInt8(a,0),t.copy(r,1),f.encode(r)}function l(e,t,a){var r=o.toWords(e);return r.unshift(t),o.encode(a,r)}function h(e,t){t=t||r.bitcoin;try{return n.p2pkh({output:e,network:t}).address}catch(a){}try{return n.p2sh({output:e,network:t}).address}catch(a){}try{return n.p2wpkh({output:e,network:t}).address}catch(a){}try{return n.p2wsh({output:e,network:t}).address}catch(a){}throw new Error(c.toASM(e)+" has no matching Address")}function p(e,t){var a,c;t=t||r.bitcoin;try{a=s(e)}catch(i){}if(a){if(a.version===t.pubKeyHash)return n.p2pkh({hash:a.hash}).output;if(a.version===t.scriptHash)return n.p2sh({hash:a.hash}).output}else{try{c=u(e)}catch(i){}if(c){if(c.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===c.version){if(20===c.data.length)return n.p2wpkh({hash:c.data}).output;if(32===c.data.length)return n.p2wsh({hash:c.data}).output}}}throw new Error(e+" has no matching Script")}t.fromBase58Check=s,t.fromBech32=u,t.toBase58Check=b,t.toBech32=l,t.fromOutputScript=h,t.toOutputScript=p}).call(this,a("b639").Buffer)},"12a7":function(e,t,a){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,a=1,r=arguments.length;a0))return!0;for(var t=0,a=this._supportedHardforks;t=n},e.prototype.activeOnBlock=function(e,t){return this.hardforkIsActiveOnBlock(null,e,t)},e.prototype.hardforkGteHardfork=function(e,t,a){a=void 0!==a?a:{};var r,n=void 0!==a.onlyActive&&a.onlyActive;e=this._chooseHardfork(e,a.onlySupported),r=n?this.activeHardforks(null,a):this.hardforks();for(var c=-1,i=-1,o=0,f=0,d=r;f=i},e.prototype.gteHardfork=function(e,t){return this.hardforkGteHardfork(null,e,t)},e.prototype.hardforkIsActiveOnChain=function(e,t){t=void 0!==t?t:{};var a=void 0!==t.onlySupported&&t.onlySupported;e=this._chooseHardfork(e,a);for(var r=0,n=this.hardforks();r0)return a[a.length-1]["name"];throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(e){return e=this._chooseHardfork(e,!1),this._getHardfork(e)["block"]},e.prototype.isHardforkBlock=function(e,t){return t=this._chooseHardfork(t,!1),this.hardforkBlock(t)===e},e.prototype.consensus=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["consensus"]},e.prototype.finality=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["finality"]},e.prototype.genesis=function(){return this._chainParams["genesis"]},e.prototype.hardforks=function(){return this._chainParams["hardforks"]},e.prototype.bootstrapNodes=function(){return this._chainParams["bootstrapNodes"]},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return this._chainParams["chainId"]},e.prototype.chainName=function(){return n.chains["names"][this.chainId()]||this._chainParams["name"]},e.prototype.networkId=function(){return this._chainParams["networkId"]},e}();t.default=i},"12bb":function(e,t,a){"use strict";a.r(t);var r=a("18bc"),n=a("893b");for(var c in n)"default"!==c&&function(e){a.d(t,e,(function(){return n[e]}))}(c);var i,o=a("f0c5"),f=Object(o["a"])(n["default"],r["b"],r["c"],!1,null,"63c22e0c",null,!1,r["a"],i);t["default"]=f.exports},"12c5":function(e,t,a){
+(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00c8":function(e,t,r){(function(n){var i;(function(a){"use strict";var o,s=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,c=Math.floor,l="[BigNumber Error] ",f=l+"Number primitive has more than 15 significant digits: ",d=1e14,h=14,p=9007199254740991,v=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,b=1e9;function g(e){var t,r,i,a=$.prototype={constructor:$,toString:null,valueOf:null},o=new $(1),E=20,O=4,P=-7,C=21,T=-1e7,I=1e7,j=!1,N=1,R=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},B="0123456789abcdefghijklmnopqrstuvwxyz";function $(e,t){var n,a,o,u,l,d,v,m,b=this;if(!(b instanceof $))return new $(e,t);if(null==t){if(e&&!0===e._isBigNumber)return b.s=e.s,void(!e.c||e.e>I?b.c=b.e=null:e.e=10;l/=10,u++);return void(u>I?b.c=b.e=null:(b.e=u,b.c=[e]))}m=String(e)}else{if(!s.test(m=String(e)))return i(b,m,d);b.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(u=m.indexOf("."))>-1&&(m=m.replace(".","")),(l=m.search(/e/i))>0?(u<0&&(u=l),u+=+m.slice(l+1),m=m.substring(0,l)):u<0&&(u=m.length)}else{if(k(t,2,B.length,"Base"),10==t)return b=new $(e),D(b,E+b.e+1,O);if(m=String(e),d="number"==typeof e){if(0*e!=0)return i(b,m,d,t);if(b.s=1/e<0?(m=m.slice(1),-1):1,$.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(f+e)}else b.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=B.slice(0,t),u=l=0,v=m.length;lu){u=v;continue}}else if(!o&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){o=!0,l=-1,u=0;continue}return i(b,String(e),d,t)}d=!1,m=r(m,t,10,b.s),(u=m.indexOf("."))>-1?m=m.replace(".",""):u=m.length}for(l=0;48===m.charCodeAt(l);l++);for(v=m.length;48===m.charCodeAt(--v););if(m=m.slice(l,++v)){if(v-=l,d&&$.DEBUG&&v>15&&(e>p||e!==c(e)))throw Error(f+b.s*e);if((u=u-l-1)>I)b.c=b.e=null;else if(u=C)?S(u,o):A(u,o,"0");else if(e=D(new $(e),t,r),a=e.e,u=w(e.c),s=u.length,1==n||2==n&&(t<=a||a<=P)){for(;ss){if(--t>0)for(u+=".";t--;u+="0");}else if(t+=a-s,t>0)for(a+1==s&&(u+=".");t--;u+="0");return e.s<0&&i?"-"+u:u}function L(e,t){for(var r,n=1,i=new $(e[0]);n=10;i/=10,n++);return(r=n+r*h-1)>I?e.c=e.e=null:r=10;s/=10,i++);if(a=t-i,a<0)a+=h,o=t,l=m[f=0],p=l/b[i-o-1]%10|0;else if(f=u((a+1)/h),f>=m.length){if(!n)break e;for(;m.length<=f;m.push(0));l=p=0,i=1,a%=h,o=a-h+1}else{for(l=s=m[f],i=1;s>=10;s/=10,i++);a%=h,o=a-h+i,p=o<0?0:l/b[i-o-1]%10|0}if(n=n||t<0||null!=m[f+1]||(o<0?l:l%b[i-o-1]),n=r<4?(p||n)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||n||6==r&&(a>0?o>0?l/b[i-o]:0:m[f-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,n?(t-=e.e+1,m[0]=b[(h-t%h)%h],e.e=-t||0):m[0]=e.e=0,e;if(0==a?(m.length=f,s=1,f--):(m.length=f+1,s=b[h-a],m[f]=o>0?c(l/b[i-o]%b[o])*s:0),n)for(;;){if(0==f){for(a=1,o=m[0];o>=10;o/=10,a++);for(o=m[0]+=s,s=1;o>=10;o/=10,s++);a!=s&&(e.e++,m[0]==d&&(m[0]=1));break}if(m[f]+=s,m[f]!=d)break;m[f--]=0,s=1}for(a=m.length;0===m[--a];m.pop());}e.e>I?e.c=e.e=null:e.e=C?S(t,r):A(t,r,"0"),e.s<0?"-"+t:t)}return $.clone=g,$.ROUND_UP=0,$.ROUND_DOWN=1,$.ROUND_CEIL=2,$.ROUND_FLOOR=3,$.ROUND_HALF_UP=4,$.ROUND_HALF_DOWN=5,$.ROUND_HALF_EVEN=6,$.ROUND_HALF_CEIL=7,$.ROUND_HALF_FLOOR=8,$.EUCLID=9,$.config=$.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(l+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],k(r,0,b,t),E=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],k(r,0,8,t),O=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(k(r[0],-b,0,t),k(r[1],0,b,t),P=r[0],C=r[1]):(k(r,-b,b,t),P=-(C=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)k(r[0],-b,-1,t),k(r[1],1,b,t),T=r[0],I=r[1];else{if(k(r,-b,b,t),!r)throw Error(l+t+" cannot be zero: "+r);T=-(I=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(l+t+" not true or false: "+r);if(r){if("undefined"==typeof n||!n||!n.getRandomValues&&!n.randomBytes)throw j=!r,Error(l+"crypto unavailable");j=r}else j=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],k(r,0,9,t),N=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],k(r,0,b,t),R=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(l+t+" not an object: "+r);M=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(l+t+" invalid: "+r);B=r}}return{DECIMAL_PLACES:E,ROUNDING_MODE:O,EXPONENTIAL_AT:[P,C],RANGE:[T,I],CRYPTO:j,MODULO_MODE:N,POW_PRECISION:R,FORMAT:M,ALPHABET:B}},$.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!$.DEBUG)return!0;var t,r,n=e.c,i=e.e,a=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===a||-1===a)&&i>=-b&&i<=b&&i===c(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break e}if(t=(i+1)%h,t<1&&(t+=h),String(n[0]).length==t){for(t=0;t=d||r!==c(r))break e;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===a||1===a||-1===a))return!0;throw Error(l+"Invalid BigNumber: "+e)},$.maximum=$.max=function(){return L(arguments,a.lt)},$.minimum=$.min=function(){return L(arguments,a.gt)},$.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return c(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,i,a,s,f,d=0,p=[],m=new $(o);if(null==e?e=E:k(e,0,b),s=u(e/h),j)if(n.getRandomValues){for(r=n.getRandomValues(new Uint32Array(s*=2));d>>11),f>=9e15?(i=n.getRandomValues(new Uint32Array(2)),r[d]=i[0],r[d+1]=i[1]):(p.push(f%1e14),d+=2);d=s/2}else{if(!n.randomBytes)throw j=!1,Error(l+"crypto unavailable");for(r=n.randomBytes(s*=7);d=9e15?n.randomBytes(7).copy(r,d):(p.push(f%1e14),d+=7);d=s/7}if(!j)for(;d=10;f/=10,d++);dr-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(n,i,a,o,s){var u,c,l,f,d,h,p,v,m=n.indexOf("."),b=E,g=O;for(m>=0&&(f=R,R=0,n=n.replace(".",""),v=new $(i),h=v.pow(n.length-m),R=f,v.c=r(A(w(h.c),h.e,"0"),10,a,e),v.e=v.c.length),p=r(n,i,a,s?(u=B,e):(u=e,B)),l=f=p.length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(m<0?--l:(h.c=p,h.e=l,h.s=o,h=t(h,v,b,g,a),p=h.c,d=h.r,l=h.e),c=l+b+1,m=p[c],f=a/2,d=d||c<0||null!=p[c+1],d=g<4?(null!=m||d)&&(0==g||g==(h.s<0?3:2)):m>f||m==f&&(4==g||d||6==g&&1&p[c-1]||g==(h.s<0?8:7)),c<1||!p[0])n=d?A(u.charAt(1),-b,u.charAt(0)):u.charAt(0);else{if(p.length=c,d)for(--a;++p[--c]>a;)p[c]=0,c||(++l,p=[1].concat(p));for(f=p.length;!p[--f];);for(m=0,n="";m<=f;n+=u.charAt(p[m++]));n=A(n,l,u.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,i,a,o,s=0,u=e.length,c=t%m,l=t/m|0;for(e=e.slice();u--;)a=e[u]%m,o=e[u]/m|0,n=l*a+o*c,i=c*a+n%m*m+s,s=(i/r|0)+(n/m|0)+l*o,e[u]=i%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var i,a;if(r!=n)a=r>n?1:-1;else for(i=a=0;it[i]?1:-1;break}return a}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]1;e.splice(0,1));}return function(n,i,a,o,s){var u,l,f,p,v,m,b,g,w,_,k,x,S,A,E,O,P,C=n.s==i.s?1:-1,T=n.c,I=i.c;if(!T||!T[0]||!I||!I[0])return new $(n.s&&i.s&&(T?!I||T[0]!=I[0]:I)?T&&0==T[0]||!I?0*C:C/0:NaN);for(g=new $(C),w=g.c=[],l=n.e-i.e,C=a+l+1,s||(s=d,l=y(n.e/h)-y(i.e/h),C=C/h|0),f=0;I[f]==(T[f]||0);f++);if(I[f]>(T[f]||0)&&l--,C<0)w.push(1),p=!0;else{for(A=T.length,O=I.length,f=0,C+=2,v=c(s/(I[0]+1)),v>1&&(I=e(I,v,s),T=e(T,v,s),O=I.length,A=T.length),S=O,_=T.slice(0,O),k=_.length;k=s/2&&E++;do{if(v=0,u=t(I,_,O,k),u<0){if(x=_[0],O!=k&&(x=x*s+(_[1]||0)),v=c(x/E),v>1){v>=s&&(v=s-1),m=e(I,v,s),b=m.length,k=_.length;while(1==t(m,_,b,k))v--,r(m,O=10;C/=10,f++);D(g,a+(g.e=f+l*h-1)+1,o,p)}else g.e=l,g.r=+p;return g}}(),i=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(a,o,s,u){var c,f=s?o:o.replace(i,"");if(n.test(f))a.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(e,(function(e,t,r){return c="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=c?e:t})),u&&(c=u,f=f.replace(t,"$1").replace(r,"0.$1")),o!=f))return new $(f,c);if($.DEBUG)throw Error(l+"Not a"+(u?" base "+u:"")+" number: "+o);a.s=null}a.c=a.e=null}}(),a.absoluteValue=a.abs=function(){var e=new $(this);return e.s<0&&(e.s=1),e},a.comparedTo=function(e,t){return _(this,new $(e,t))},a.decimalPlaces=a.dp=function(e,t){var r,n,i,a=this;if(null!=e)return k(e,0,b),null==t?t=O:k(t,0,8),D(new $(a),e+a.e+1,t);if(!(r=a.c))return null;if(n=((i=r.length-1)-y(this.e/h))*h,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},a.dividedBy=a.div=function(e,r){return t(this,new $(e,r),E,O)},a.dividedToIntegerBy=a.idiv=function(e,r){return t(this,new $(e,r),0,1)},a.exponentiatedBy=a.pow=function(e,t){var r,n,i,a,s,f,d,p,v,m=this;if(e=new $(e),e.c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+z(e));if(null!=t&&(t=new $(t)),f=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return v=new $(Math.pow(+z(m),f?2-x(e):+z(e))),t?v.mod(t):v;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new $(NaN);n=!d&&m.isInteger()&&t.isInteger(),n&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||f&&m.c[1]>=24e7:m.c[0]<8e13||f&&m.c[0]<=9999975e7)))return a=m.s<0&&x(e)?-0:0,m.e>-1&&(a=1/a),new $(d?1/a:a);R&&(a=u(R/h+2))}for(f?(r=new $(.5),d&&(e.s=1),p=x(e)):(i=Math.abs(+z(e)),p=i%2),v=new $(o);;){if(p){if(v=v.times(m),!v.c)break;a?v.c.length>a&&(v.c.length=a):n&&(v=v.mod(t))}if(i){if(i=c(i/2),0===i)break;p=i%2}else if(e=e.times(r),D(e,e.e+1,1),e.e>14)p=x(e);else{if(i=+z(e),0===i)break;p=i%2}m=m.times(m),a?m.c&&m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}return n?v:(d&&(v=o.div(v)),t?v.mod(t):a?D(v,R,O,s):v)},a.integerValue=function(e){var t=new $(this);return null==e?e=O:k(e,0,8),D(t,t.e+1,e)},a.isEqualTo=a.eq=function(e,t){return 0===_(this,new $(e,t))},a.isFinite=function(){return!!this.c},a.isGreaterThan=a.gt=function(e,t){return _(this,new $(e,t))>0},a.isGreaterThanOrEqualTo=a.gte=function(e,t){return 1===(t=_(this,new $(e,t)))||0===t},a.isInteger=function(){return!!this.c&&y(this.e/h)>this.c.length-2},a.isLessThan=a.lt=function(e,t){return _(this,new $(e,t))<0},a.isLessThanOrEqualTo=a.lte=function(e,t){return-1===(t=_(this,new $(e,t)))||0===t},a.isNaN=function(){return!this.s},a.isNegative=function(){return this.s<0},a.isPositive=function(){return this.s>0},a.isZero=function(){return!!this.c&&0==this.c[0]},a.minus=function(e,t){var r,n,i,a,o=this,s=o.s;if(e=new $(e,t),t=e.s,!s||!t)return new $(NaN);if(s!=t)return e.s=-t,o.plus(e);var u=o.e/h,c=e.e/h,l=o.c,f=e.c;if(!u||!c){if(!l||!f)return l?(e.s=-t,e):new $(f?o:NaN);if(!l[0]||!f[0])return f[0]?(e.s=-t,e):new $(l[0]?o:3==O?-0:0)}if(u=y(u),c=y(c),l=l.slice(),s=u-c){for((a=s<0)?(s=-s,i=l):(c=u,i=f),i.reverse(),t=s;t--;i.push(0));i.reverse()}else for(n=(a=(s=l.length)<(t=f.length))?s:t,s=t=0;t0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]=0;){for(r=0,p=x[i]%w,v=x[i]/w|0,o=u,a=i+o;a>i;)c=k[--o]%w,l=k[o]/w|0,s=v*c+l*p,c=p*c+s%w*w+b[a]+r,r=(c/g|0)+(s/w|0)+v*l,b[a--]=c%g;b[a]=r}return r?++n:b.splice(0,1),F(e,b,n)},a.negated=function(){var e=new $(this);return e.s=-e.s||null,e},a.plus=function(e,t){var r,n=this,i=n.s;if(e=new $(e,t),t=e.s,!i||!t)return new $(NaN);if(i!=t)return e.s=-t,n.minus(e);var a=n.e/h,o=e.e/h,s=n.c,u=e.c;if(!a||!o){if(!s||!u)return new $(i/0);if(!s[0]||!u[0])return u[0]?e:new $(s[0]?n:0*i)}if(a=y(a),o=y(o),s=s.slice(),i=a-o){for(i>0?(o=a,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for(i=s.length,t=u.length,i-t<0&&(r=u,u=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+u[t]+i)/d|0,s[t]=d===s[t]?0:s[t]%d;return i&&(s=[i].concat(s),++o),F(e,s,o)},a.precision=a.sd=function(e,t){var r,n,i,a=this;if(null!=e&&e!==!!e)return k(e,1,b),null==t?t=O:k(t,0,8),D(new $(a),e,t);if(!(r=a.c))return null;if(i=r.length-1,n=i*h+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&a.e+1>n&&(n=a.e+1),n},a.shiftedBy=function(e){return k(e,-p,p),this.times("1e"+e)},a.squareRoot=a.sqrt=function(){var e,r,n,i,a,o=this,s=o.c,u=o.s,c=o.e,l=E+4,f=new $("0.5");if(1!==u||!s||!s[0])return new $(!u||u<0&&(!s||s[0])?NaN:s?o:1/0);if(u=Math.sqrt(+z(o)),0==u||u==1/0?(r=w(s),(r.length+c)%2==0&&(r+="0"),u=Math.sqrt(+r),c=y((c+1)/2)-(c<0||c%2),u==1/0?r="5e"+c:(r=u.toExponential(),r=r.slice(0,r.indexOf("e")+1)+c),n=new $(r)):n=new $(u+""),n.c[0])for(c=n.e,u=c+l,u<3&&(u=0);;)if(a=n,n=f.times(a.plus(t(o,a,l,1))),w(a.c).slice(0,u)===(r=w(n.c)).slice(0,u)){if(n.e0&&v>0){for(a=v%s||s,f=p.substr(0,a);a0&&(f+=c+p.slice(a)),h&&(f="-"+f)}n=d?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):f}return(r.prefix||"")+n+(r.suffix||"")},a.toFraction=function(e){var r,n,i,a,s,u,c,f,d,p,m,b,g=this,y=g.c;if(null!=e&&(c=new $(e),!c.isInteger()&&(c.c||1!==c.s)||c.lt(o)))throw Error(l+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+z(c));if(!y)return new $(g);for(r=new $(o),d=n=new $(o),i=f=new $(o),b=w(y),s=r.e=b.length-g.e-1,r.c[0]=v[(u=s%h)<0?h+u:u],e=!e||c.comparedTo(r)>0?s>0?r:d:c,u=I,I=1/0,c=new $(b),f.c[0]=0;;){if(p=t(c,r,0,1),a=n.plus(p.times(i)),1==a.comparedTo(e))break;n=i,i=a,d=f.plus(p.times(a=d)),f=a,r=c.minus(p.times(a=r)),c=a}return a=t(e.minus(n),i,0,1),f=f.plus(a.times(d)),n=n.plus(a.times(i)),f.s=d.s=g.s,s*=2,m=t(d,i,s,O).minus(g).abs().comparedTo(t(f,n,s,O).minus(g).abs())<1?[d,i]:[f,n],I=u,m},a.toNumber=function(){return+z(this)},a.toPrecision=function(e,t){return null!=e&&k(e,1,b),U(this,e,t,2)},a.toString=function(e){var t,n=this,i=n.s,a=n.e;return null===a?i?(t="Infinity",i<0&&(t="-"+t)):t="NaN":(null==e?t=a<=P||a>=C?S(w(n.c),a):A(w(n.c),a,"0"):10===e?(n=D(new $(n),E+a+1,O),t=A(w(n.c),n.e,"0")):(k(e,2,B.length,"Base"),t=r(A(w(n.c),a,"0"),10,e,i,!0)),i<0&&n.c[0]&&(t="-"+t)),t},a.valueOf=a.toJSON=function(){return z(this)},a._isBigNumber=!0,null!=e&&$.set(e),$}function y(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,i=e.length,a=e[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=a.length)?u:c,o=0;oa[o]^r?1:-1;return u==c?0:u>c^r?1:-1}function k(e,t,r,n){if(er||e!==c(e))throw Error(l+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function x(e){var t=e.c.length-1;return y(e.e/h)==t&&e.c[t]%2!=0}function S(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function A(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t=10?f%10+1:f,1===s?s+=1:s-=1}var d=(10-i%10)%10;return d===parseInt(e.substring(14,15),10)}e.exports=t.default,e.exports.default=t.default},"00dc":function(e,t,r){(function(e){var n=r("58a2"),i=r("c24d"),a=r("561d");function o(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new a(r,n)}var s={binary:!0,hex:!0,base64:!0};function u(t,r,i,o){return e.isBuffer(r)||void 0===s[r]?u(t,"binary",r,i):(r=r||"binary",o=o||"binary",i=i||new e([2]),e.isBuffer(i)||(i=new e(i,o)),"number"===typeof t?new a(n(t,i),i,!0):(e.isBuffer(t)||(t=new e(t,r)),new a(t,i,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=o,t.createDiffieHellman=t.DiffieHellman=u}).call(this,r("b639").Buffer)},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,r){"use strict";var n=r("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;while(t1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,i.default)(t),a=(0,i.default)(e);return!!(a&&r&&a>r)}e.exports=t.default,e.exports.default=t.default},"0266":function(e){e.exports=JSON.parse('{"name":"chainstart","comment":"Start of the Ethereum main chain","eip":{"url":"","status":""},"status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Once per EXP instuction"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Once per SHA3 operation"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation\'s data"},"sload":{"v":50,"d":"Once per SLOAD operation"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Refunded gas, once per SSTORE operation if the zeroness changes to zero"},"log":{"v":375,"d":"Per LOG* operation"},"logData":{"v":8,"d":"Per byte in a LOG* operation\'s data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Once per CREATE operation & contract-creation transaction"},"call":{"v":40,"d":"Once per CALL operation & message call transaction"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"02db":function(e,t){var r=[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];t.p1600=function(e){for(var t=0;t<24;++t){var n=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],o=e[3]^e[13]^e[23]^e[33]^e[43],s=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],l=e[7]^e[17]^e[27]^e[37]^e[47],f=e[8]^e[18]^e[28]^e[38]^e[48],d=e[9]^e[19]^e[29]^e[39]^e[49],h=f^(a<<1|o>>>31),p=d^(o<<1|a>>>31),v=e[0]^h,m=e[1]^p,b=e[10]^h,g=e[11]^p,y=e[20]^h,w=e[21]^p,_=e[30]^h,k=e[31]^p,x=e[40]^h,S=e[41]^p;h=n^(s<<1|u>>>31),p=i^(u<<1|s>>>31);var A=e[2]^h,E=e[3]^p,O=e[12]^h,P=e[13]^p,C=e[22]^h,T=e[23]^p,I=e[32]^h,j=e[33]^p,N=e[42]^h,R=e[43]^p;h=a^(c<<1|l>>>31),p=o^(l<<1|c>>>31);var M=e[4]^h,B=e[5]^p,$=e[14]^h,U=e[15]^p,L=e[24]^h,F=e[25]^p,D=e[34]^h,z=e[35]^p,H=e[44]^h,q=e[45]^p;h=s^(f<<1|d>>>31),p=u^(d<<1|f>>>31);var W=e[6]^h,K=e[7]^p,G=e[16]^h,V=e[17]^p,Z=e[26]^h,X=e[27]^p,J=e[36]^h,Y=e[37]^p,Q=e[46]^h,ee=e[47]^p;h=c^(n<<1|i>>>31),p=l^(i<<1|n>>>31);var te=e[8]^h,re=e[9]^p,ne=e[18]^h,ie=e[19]^p,ae=e[28]^h,oe=e[29]^p,se=e[38]^h,ue=e[39]^p,ce=e[48]^h,le=e[49]^p,fe=v,de=m,he=g<<4|b>>>28,pe=b<<4|g>>>28,ve=y<<3|w>>>29,me=w<<3|y>>>29,be=k<<9|_>>>23,ge=_<<9|k>>>23,ye=x<<18|S>>>14,we=S<<18|x>>>14,_e=A<<1|E>>>31,ke=E<<1|A>>>31,xe=P<<12|O>>>20,Se=O<<12|P>>>20,Ae=C<<10|T>>>22,Ee=T<<10|C>>>22,Oe=j<<13|I>>>19,Pe=I<<13|j>>>19,Ce=N<<2|R>>>30,Te=R<<2|N>>>30,Ie=B<<30|M>>>2,je=M<<30|B>>>2,Ne=$<<6|U>>>26,Re=U<<6|$>>>26,Me=F<<11|L>>>21,Be=L<<11|F>>>21,$e=D<<15|z>>>17,Ue=z<<15|D>>>17,Le=q<<29|H>>>3,Fe=H<<29|q>>>3,De=W<<28|K>>>4,ze=K<<28|W>>>4,He=V<<23|G>>>9,qe=G<<23|V>>>9,We=Z<<25|X>>>7,Ke=X<<25|Z>>>7,Ge=J<<21|Y>>>11,Ve=Y<<21|J>>>11,Ze=ee<<24|Q>>>8,Xe=Q<<24|ee>>>8,Je=te<<27|re>>>5,Ye=re<<27|te>>>5,Qe=ne<<20|ie>>>12,et=ie<<20|ne>>>12,tt=oe<<7|ae>>>25,rt=ae<<7|oe>>>25,nt=se<<8|ue>>>24,it=ue<<8|se>>>24,at=ce<<14|le>>>18,ot=le<<14|ce>>>18;e[0]=fe^~xe&Me,e[1]=de^~Se&Be,e[10]=De^~Qe&ve,e[11]=ze^~et&me,e[20]=_e^~Ne&We,e[21]=ke^~Re&Ke,e[30]=Je^~he&Ae,e[31]=Ye^~pe&Ee,e[40]=Ie^~He&tt,e[41]=je^~qe&rt,e[2]=xe^~Me&Ge,e[3]=Se^~Be&Ve,e[12]=Qe^~ve&Oe,e[13]=et^~me&Pe,e[22]=Ne^~We&nt,e[23]=Re^~Ke&it,e[32]=he^~Ae&$e,e[33]=pe^~Ee&Ue,e[42]=He^~tt&be,e[43]=qe^~rt&ge,e[4]=Me^~Ge&at,e[5]=Be^~Ve&ot,e[14]=ve^~Oe&Le,e[15]=me^~Pe&Fe,e[24]=We^~nt&ye,e[25]=Ke^~it&we,e[34]=Ae^~$e&Ze,e[35]=Ee^~Ue&Xe,e[44]=tt^~be&Ce,e[45]=rt^~ge&Te,e[6]=Ge^~at&fe,e[7]=Ve^~ot&de,e[16]=Oe^~Le&De,e[17]=Pe^~Fe&ze,e[26]=nt^~ye&_e,e[27]=it^~we&ke,e[36]=$e^~Ze&Je,e[37]=Ue^~Xe&Ye,e[46]=be^~Ce&Ie,e[47]=ge^~Te&je,e[8]=at^~fe&xe,e[9]=ot^~de&Se,e[18]=Le^~De&Qe,e[19]=Fe^~ze&et,e[28]=ye^~_e&Ne,e[29]=we^~ke&Re,e[38]=Ze^~Je&he,e[39]=Xe^~Ye&pe,e[48]=Ce^~Ie&He,e[49]=Te^~je&qe,e[0]^=r[2*t],e[1]^=r[2*t+1]}}},"032a":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("0f54");function i(e){if(e.key[0]!==n.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function a(t){var r=e.from([n.InputTypes.SIGHASH_TYPE]),i=e.allocUnsafe(4);return i.writeUInt32LE(t,0),{key:r,value:i}}function o(e){return"number"===typeof e}function s(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=i,t.encode=a,t.expected="number",t.check=o,t.canAdd=s}).call(this,r("b639").Buffer)},"0378":function(e,t,r){"use strict";r.r(t);var n=r("0cb5"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"038d":function(e,t,r){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function l(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,c(n+r,9007199254740991),n+r}function f(e,t,r){return c(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}function d(e){if(e.length<1)return e;for(var t=e.length-1,r=0,n=0;n1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"writeUInt8",value:function(e){this.offset=this.buffer.writeUInt8(e,this.offset)}},{key:"writeInt32",value:function(e){this.offset=this.buffer.writeInt32LE(e,this.offset)}},{key:"writeUInt32",value:function(e){this.offset=this.buffer.writeUInt32LE(e,this.offset)}},{key:"writeUInt64",value:function(e){this.offset=f(this.buffer,e,this.offset)}},{key:"writeVarInt",value:function(e){u.encode(e,this.buffer,this.offset),this.offset+=u.encode.bytes}},{key:"writeSlice",value:function(e){if(this.buffer.length1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"readUInt8",value:function(){var e=this.buffer.readUInt8(this.offset);return this.offset++,e}},{key:"readInt32",value:function(){var e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt32",value:function(){var e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt64",value:function(){var e=l(this.buffer,this.offset);return this.offset+=8,e}},{key:"readVarInt",value:function(){var e=u.decode(this.buffer,this.offset);return this.offset+=u.decode.bytes,e}},{key:"readSlice",value:function(e){if(this.buffer.length>6!==2)break;o++}return o}return e===i.OVERRUN?r.length-t-1:0}function f(e,t,r,n,a){return e===i.OVERLONG?(n.push(a),0):(n.push(65533),l(e,t,r,n,a))}t.UnicodeNormalizationForm=n,function(e){e["current"]="",e["NFC"]="NFC",e["NFD"]="NFD",e["NFKC"]="NFKC",e["NFKD"]="NFKD"}(n||(t.UnicodeNormalizationForm=n={})),t.Utf8ErrorReason=i,function(e){e["UNEXPECTED_CONTINUE"]="unexpected continuation byte",e["BAD_PREFIX"]="bad codepoint prefix",e["OVERRUN"]="string overrun",e["MISSING_CONTINUE"]="missing continuation byte",e["OUT_OF_RANGE"]="out of UTF-8 range",e["UTF16_SURROGATE"]="UTF-16 surrogate",e["OVERLONG"]="overlong representation"}(i||(t.Utf8ErrorReason=i={}));var d=Object.freeze({error:c,ignore:l,replace:f});function h(e,t){null==t&&(t=d.error),e=(0,a.arrayify)(e);var r=[],n=0;while(n>7!==0){var s=null,u=null;if(192===(224&o))s=1,u=127;else if(224===(240&o))s=2,u=2047;else{if(240!==(248&o)){n+=t(128===(192&o)?i.UNEXPECTED_CONTINUE:i.BAD_PREFIX,n-1,e,r);continue}s=3,u=65535}if(n-1+s>=e.length)n+=t(i.OVERRUN,n-1,e,r);else{for(var c=o&(1<<8-s-1)-1,l=0;l1114111?n+=t(i.OUT_OF_RANGE,n-1-s,e,r,c):c>=55296&&c<=57343?n+=t(i.UTF16_SURROGATE,n-1-s,e,r,c):c<=u?n+=t(i.OVERLONG,n-1-s,e,r,c):r.push(c))}}else r.push(o)}return r}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;t!=n.current&&(u.checkNormalize(),e=e.normalize(t));for(var r=[],i=0;i>6|192),r.push(63&o|128);else if(55296==(64512&o)){i++;var s=e.charCodeAt(i);if(i>=e.length||56320!==(64512&s))throw new Error("invalid utf-8 string");var c=65536+((1023&o)<<10)+(1023&s);r.push(c>>18|240),r.push(c>>12&63|128),r.push(c>>6&63|128),r.push(63&c|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(63&o|128)}return(0,a.arrayify)(r)}function v(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function m(e,t){return'"'+h(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?v(e):(e-=65536,v(55296+(e>>10&1023))+v(56320+(1023&e)))})).join("")+'"'}function b(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}function g(e,t){return b(h(e,t))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;return h(p(e,t))}t.Utf8ErrorFuncs=d},"055d":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","nav-head"),attrs:{_i:0}},[e._t("address",null,{_i:1}),e._t("default",null,{_i:2}),e._t("bread",null,{_i:3}),e._t("logo",null,{_i:4}),e._$s(5,"i",e.showBack)?n("image",{staticClass:e._$s(5,"sc","back"),attrs:{src:e._$s(5,"a-src",r("6a29")),_i:5},on:{click:function(t){return e.back()}}}):e._e()],2)},a=[]},"056e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var n="signing-key/5.5.0";t.version=n},"05ac":function(e,t){e.exports="/static/tongyonh/create_wallet.png"},"05d4":function(e,t){e.exports="/static/tongyonh/x-circle.png"},"0610":function(e,t,r){"use strict";r.r(t);var n=r("6a33"),i=r("ea0f");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d4c8696",null,!1,n["a"],o);t["default"]=u.exports},"064e":function(e,t,r){"use strict";var n=r("e2ad"),i=r("ddf5"),a=r("243a"),o=function(){var e=this;n.packageInit(this,arguments),[new i({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"isListening",call:"net_listening",params:0}),new i({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:a.hexToNumber})].forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager)}))};n.addProviders(o),e.exports=o},"0676":function(e,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r},"06d2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[a-z]+\/[a-z0-9\-\+]+$/i,o=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function u(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),i=r.shift();if("data:"!==i.substr(0,5))return!1;var u=i.substr(5);if(""!==u&&!a.test(u))return!1;for(var c=0;c127)a++,i.writeUIntLE(a,0,6),n=u.signWithEntropy(t,this.__D,i);return n}},{key:"verify",value:function(e,t){return u.verify(e,this.publicKey,t)}},{key:"privateKey",get:function(){return this.__D}},{key:"publicKey",get:function(){return this.__Q||(this.__Q=u.pointFromScalar(this.__D,this.compressed)),this.__Q}}]),t}();function p(e,t){if(l(s.Buffer256bit,e),!u.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return l(d,t),new h(e,void 0,t)}function v(e,t){return l(u.isPoint,e),l(d,t),new h(void 0,e,t)}function m(e,t){var r=f.decode(e),n=r.version;if(s.Array(t)){if(t=t.filter((function(e){return n===e.wif})).pop(),!t)throw new Error("Unknown network version")}else if(t=t||o.bitcoin,n!==t.wif)throw new Error("Invalid network version");return p(r.privateKey,{compressed:r.compressed,network:t})}function b(e){l(d,e),void 0===e&&(e={});var t,r=e.rng||c;do{t=r(32),l(s.Buffer256bit,t)}while(!u.isPrivate(t));return p(t,e)}t.fromPrivateKey=p,t.fromPublicKey=v,t.fromWIF=m,t.makeRandom=b}).call(this,r("b639").Buffer)},"0769":function(e,t,r){"use strict";r.r(t);var n=r("526f"),i=r("b31d");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"80d3611c",null,!1,n["a"],o);t["default"]=u.exports},"07f2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var n=i(r("a148"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return u(e)||s(e,t)||l(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function u(e){if(Array.isArray(e))return e}function c(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function l(e,t){if(e){if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var d=0;d<80;++d){var h=~~(d/20),p=c(r)+f(h,n,i,a)+s+t[d]+o[h]|0;s=a,a=i,i=l(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"088f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return n.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return n.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return n.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return n.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return n.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return n.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return n.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return n.TransactionDescription}}),Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return i.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return i.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return i.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return i.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return i.isAddress}}),Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return o.Base58}}),Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return s.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return s.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return s.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return s.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return s.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return s.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return s.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return s.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return s.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return s.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return s.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return s.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return s.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return s.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return s.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return s.stripZeros}}),Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return u._TypedDataEncoder}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return u.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return u.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return u.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return u.namehash}}),Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return c.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return c.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return c.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return c.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return c.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return c.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return c.mnemonicToSeed}}),Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return l.getJsonWalletAddress}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return f.keccak256}}),Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return d.Logger}}),Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return h.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return h.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return h.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return h.sha512}}),Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return h.SupportedAlgorithm}}),Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return p.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return p.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return p.sha256}}),Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return v.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return v.shuffled}}),Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return m.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return m.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return m.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return m.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return m.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return m.shallowCopy}}),Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return g.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return g.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return g.SigningKey}}),Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return y.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return y.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return y.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return y._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return y.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return y.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return y.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return y.Utf8ErrorFuncs}}),Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return y.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return y.Utf8ErrorReason}}),Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return w.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return w.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return w.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return w.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return w.TransactionTypes}}),Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return _.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return _.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return _.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return _.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return _.parseUnits}}),Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return k.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return k.verifyTypedData}}),Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return x._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return x.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return x.poll}}),t.RLP=t.base64=void 0;var n=r("f6b4"),i=r("0f1c"),a=A(r("7260"));t.base64=a;var o=r("f01b"),s=r("ecb6"),u=r("3b83"),c=r("98a5"),l=r("bedc"),f=r("183c"),d=r("20ed"),h=r("5639"),p=r("9c67"),v=r("83b7"),m=r("16a3"),b=A(r("467a"));t.RLP=b;var g=r("bcc2"),y=r("86c8"),w=r("e43f"),_=r("1391"),k=r("403a"),x=r("35bf");function S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}},"0893":function(e,t,r){"use strict";(function(e){function n(e){return s(e)||o(e)||a(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function p(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,h(n+r,9007199254740991),n+r}function v(e,t,r){return h(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}t.range=function(e){return n(Array(e).keys())},t.reverseBuffer=l,t.keyValsToBuffer=f,t.keyValToBuffer=d,t.readUInt64LE=p,t.writeUInt64LE=v}).call(this,r("b639").Buffer)},"08db":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(e);var a=e,o=r.ignore;if(o)if(o instanceof RegExp)a=a.replace(o,"");else{if("string"!==typeof o)throw new Error("ignore should be instance of a String or RegExp");a=a.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alphanumeric)return i.alphanumeric[t].test(a);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(i.alphanumeric);t.locales=s},"0953":function(e,t){e.exports=function(e){if("string"!==typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},"0960":function(e,t,r){e.exports=r("b19a")},"0972":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("98e6"),i=r("a099"),a=r("11dc"),o=r("61c7"),s=o._default,u="Invalid mnemonic",c="Invalid entropy",l="Invalid mnemonic checksum",f="A wordlist is required but a default could not be found.\nPlease pass a 2048 word array explicitly.";function d(e,t,r,n,a){return Promise.resolve().then((function(){return new Promise((function(o,s){var u=function(e,t){return e?s(e):o(t)};i.pbkdf2(e,t,r,n,a,u)}))}))}function h(e){return(e||"").normalize("NFKD")}function p(e,t,r){while(e.length32)throw new Error(c);if(m.length%4!==0)throw new Error(c);var g=e.from(m),y=b(g);if(y!==d)throw new Error(l);return g.toString("hex")}function k(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),r=r||s,!r)throw new Error(f);if(t.length<16)throw new TypeError(c);if(t.length>32)throw new TypeError(c);if(t.length%4!==0)throw new TypeError(c);var n=m(Array.from(t)),i=b(t),a=n+i,o=a.match(/(.{1,11})/g),u=o.map((function(e){var t=v(e);return r[t]}));return"\u3042\u3044\u3053\u304f\u3057\u3093"===r[0]?u.join("\u3000"):u.join(" ")}function x(e,t,r){if(e=e||128,e%32!==0)throw new TypeError(c);return t=t||a,k(t(e/8),r)}function S(e,t){try{_(e,t)}catch(r){return!1}return!0}function A(e){var t=o.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');s=t}function E(){if(!s)throw new Error("No Default Wordlist set");return Object.keys(o.wordlists).filter((function(e){return"JA"!==e&&"EN"!==e&&o.wordlists[e].every((function(e,t){return e===s[t]}))}))[0]}t.mnemonicToSeedSync=y,t.mnemonicToSeed=w,t.mnemonicToEntropy=_,t.entropyToMnemonic=k,t.generateMnemonic=x,t.validateMnemonic=S,t.setDefaultWordlist=A,t.getDefaultWordlist=E;var O=r("61c7");t.wordlists=O.wordlists}).call(this,r("b639").Buffer)},"09a1":function(e){e.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":0,"consensus":"poa","finality":null},{"name":"dao","block":0,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":0,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":0,"consensus":"poa","finality":null},{"name":"byzantium","block":5067000,"consensus":"poa","finality":null},{"name":"constantinople","block":9200000,"consensus":"poa","finality":null},{"name":"petersburg","block":10255201,"consensus":"poa","finality":null},{"name":"istanbul","block":14111141,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},"09d6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,n.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default},"09ed":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r("8e09")),n(r("2e38"));function n(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{list2:[{name:"No more tips next time",checked:!1,disabled:!1}],show:!1,value:"",type:"text",border:!0,list:[{name:"Popular"},{name:"Lending"},{name:"Trade"},{name:"Yield"},{name:"Stake"}],current:0}},methods:{change:function(e){this.current=e}}};t.default=i},"09f5":function(e,t,r){var n=r("39f5"),i=r("8707").Buffer,a=r("6430"),o=r("3fb5");function s(e,t,r,o){a.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}o(s,a),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},"0a73":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=a(r("3ce7")),i=a(r("74cd"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,n.default)(e),(0,i.default)(e)&&24===e.length}e.exports=t.default,e.exports.default=t.default},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=_,t.resolve=x,t.resolveObject=S,t.format=k,t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(c),f=["'"].concat(l),d=["%","/","?",";","#"].concat(f),h=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=r("b383");function _(e,t,r){if(e&&i.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function k(e){return i.isString(e)&&(e=_(e)),e instanceof a?e.format():a.prototype.format.call(e)}function x(e,t){return _(e,!1,!0).resolve(t)}function S(e,t){return e?_(e,!1,!0).resolveObject(t):t}a.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?M+="x":M+=R[B];if(!M.match(v)){var U=j.slice(0,C),L=j.slice(C+1),F=R.match(m);F&&(U.push(F[1]),L.unshift(F[2])),L.length&&(_="/"+L.join(".")+_),this.hostname=U.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+D,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!b[S])for(C=0,N=f.length;C0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=x.slice(-1)[0],O=(r.host||e.host||x.length>1)&&("."===E||".."===E)||""===E,P=0,C=x.length;C>=0;C--)E=x[C],"."===E?x.splice(C,1):".."===E?(x.splice(C,1),P++):P&&(x.splice(C,1),P--);if(!_&&!k)for(;P--;P)x.unshift("..");!_||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),O&&"/"!==x.join("/").substr(-1)&&x.push("");var T=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(S){r.hostname=r.host=T?"":x.length?x.shift():"";A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return _=_||r.host&&x.length,_&&!T&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b44":function(e,t,r){"use strict";function n(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=8&&(o[a++]=i>>>n-8&255,n-=8);return o.buffer}function s(e,t){var r=e.byteLength,n=new Uint8Array(e),i=t.indexOf("=")===t.length-1;i&&(t=t.substring(0,t.length-1));for(var a=0,o=0,s="",u=0;u=5)s+=t[o>>>a-5&31],a-=5}if(a>0&&(s+=t[o<<5-a&31]),i)while(s.length%8!==0)s+="=";return s}e.exports=function(e){return{encode:function(t){return s("string"===typeof t?Uint8Array.from(t):t,e)},decode:function(t){var r,i=n(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.indexOf(a)<0)throw new Error("invalid base32 character")}}catch(s){i.e(s)}finally{i.f()}return o(t,e)}}}},"0b53":function(e,t){var r="0123456789abcdef".split(""),n=[1,256,65536,16777216],i=[0,8,16,24],a=[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],o=function(e){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(e<<1)>>5,outputBlocks:e>>5,s:function(e){return[].concat(e,e,e,e,e)}([0,0,0,0,0,0,0,0,0,0])}},s=function(e,t){var a,o=t.length,s=e.blocks,c=e.blockCount<<2,l=e.blockCount,f=e.outputBlocks,d=e.s,h=0;while(h>2]|=t[h]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(s[m>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<=c){for(e.start=m-c,e.block=s[l],m=0;m>2]|=n[3&m],e.lastByteIndex===c)for(s[0]=s[l],m=1;m>4&15]+r[15&p]+r[p>>12&15]+r[p>>8&15]+r[p>>20&15]+r[p>>16&15]+r[p>>28&15]+r[p>>24&15];b%l===0&&(u(d),m=0)}return"0x"+v},u=function(e){var t,r,n,i,o,s,u,c,l,f,d,h,p,v,m,b,g,y,w,_,k,x,S,A,E,O,P,C,T,I,j,N,R,M,B,$,U,L,F,D,z,H,q,W,K,G,V,Z,X,J,Y,Q,ee,te,re,ne,ie,ae,oe,se,ue,ce,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],u=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],h=e[8]^e[18]^e[28]^e[38]^e[48],p=e[9]^e[19]^e[29]^e[39]^e[49],t=h^(s<<1|u>>>31),r=p^(u<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(c<<1|l>>>31),r=o^(l<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(f<<1|d>>>31),r=u^(d<<1|f>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(h<<1|p>>>31),r=l^(p<<1|h>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=f^(i<<1|o>>>31),r=d^(o<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,v=e[0],m=e[1],G=e[11]<<4|e[10]>>>28,V=e[10]<<4|e[11]>>>28,C=e[20]<<3|e[21]>>>29,T=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,q=e[41]<<18|e[40]>>>14,M=e[2]<<1|e[3]>>>31,B=e[3]<<1|e[2]>>>31,b=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,Z=e[22]<<10|e[23]>>>22,X=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,j=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,$=e[14]<<6|e[15]>>>26,U=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,J=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,N=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,A=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,L=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,O=e[18]<<20|e[19]>>>12,P=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=v^~b&y,e[1]=m^~g&w,e[10]=A^~O&C,e[11]=E^~P&T,e[20]=M^~$&L,e[21]=B^~U&F,e[30]=W^~G&Z,e[31]=K^~V&X,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=b^~y&_,e[3]=g^~w&k,e[12]=O^~C&I,e[13]=P^~T&j,e[22]=$^~L&D,e[23]=U^~F&z,e[32]=G^~Z&J,e[33]=V^~X&Y,e[42]=ne^~ae&se,e[43]=ie^~oe&ue,e[4]=y^~_&x,e[5]=w^~k&S,e[14]=C^~I&N,e[15]=T^~j&R,e[24]=L^~D&H,e[25]=F^~z&q,e[34]=Z^~J&Q,e[35]=X^~Y&ee,e[44]=ae^~se&ce,e[45]=oe^~ue&le,e[6]=_^~x&v,e[7]=k^~S&m,e[16]=I^~N&A,e[17]=j^~R&E,e[26]=D^~H&M,e[27]=z^~q&B,e[36]=J^~Q&W,e[37]=Y^~ee&K,e[46]=se^~ce&te,e[47]=ue^~le&re,e[8]=x^~v&b,e[9]=S^~m&g,e[18]=N^~A&O,e[19]=R^~E&P,e[28]=H^~M&$,e[29]=q^~B&U,e[38]=Q^~W&G,e[39]=ee^~K&V,e[48]=ce^~te&ne,e[49]=le^~re&ie,e[0]^=a[n],e[1]^=a[n+1]},c=function(e){return function(t){var r;if("0x"===t.slice(0,2)){r=[];for(var n=2,i=t.length;n=0}return"object"===o(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports.default=t.default},"0ccd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=a(r("3fcd"));function a(e){return e&&e.__esModule?e:{default:e}}var o={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"\u4e8c\u7ef4\u7801\u751f\u6210\u4e2d"}},data:function(){return{result:""}},methods:{_makeCode:function(){var e=this;this._empty(this.val)?uni.showToast({title:"\u4e8c\u7ef4\u7801\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a",icon:"none",duration:2e3}):n=new i.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),n.clear()},_saveCode:function(){var e=this;""!=this.result&&uni.saveImageToPhotosAlbum({filePath:e.result,success:function(){uni.showToast({title:"\u4e8c\u7ef4\u7801\u4fdd\u5b58\u6210\u529f",icon:"success",duration:2e3})}})},_result:function(e){this.result=e,this.$emit("result",e)},_empty:function(e){var t=typeof e,r=!1;return"number"==t&&""==String(e)||"undefined"==t?r=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(r=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(r=!0):"function"==t&&(r=!1),r}},watch:{size:function(e,t){var r=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){r._makeCode()}),100))},val:function(e,t){var r=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){r._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=o},"0cd5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2=a;var n=r("ecb6"),i=r("5639");function a(e,t,r,a,o){var s;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);var u,c,l=1,f=new Uint8Array(a),d=new Uint8Array(t.length+4);d.set(t);for(var h=1;h<=l;h++){d[t.length]=h>>24&255,d[t.length+1]=h>>16&255,d[t.length+2]=h>>8&255,d[t.length+3]=255&h;var p=(0,n.arrayify)((0,i.computeHmac)(o,e,d));s||(s=p.length,c=new Uint8Array(s),l=Math.ceil(a/s),u=a-(l-1)*s),c.set(p);for(var v=1;v1?t-1:0),n=1;n1){var c=s.pop();u=s.join("---COMMA---"),0===c.indexOf(" at ")?u+=c:u+="---COMMA---"+c}else u=s[0];console[o](u)}r.r(t),r.d(t,"log",(function(){return o})),r.d(t,"default",(function(){return s}))},"0e7b":function(e,t){e.exports="/static/tongyonh/arrow-up-leftp.png"},"0ea2":function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"0f1c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddress=g,t.isAddress=y,t.getIcapAddress=w,t.getContractAddress=_,t.getCreate2Address=k;var n=r("ecb6"),i=r("846b"),a=r("183c"),o=r("467a"),s=r("20ed"),u=r("2f20"),c=new s.Logger(u.version);function l(e){(0,n.isHexString)(e,20)||c.throwArgumentError("invalid address","address",e),e=e.toLowerCase();for(var t=e.substring(2).split(""),r=new Uint8Array(40),i=0;i<40;i++)r[i]=t[i].charCodeAt(0);for(var o=(0,n.arrayify)((0,a.keccak256)(r)),s=0;s<40;s+=2)o[s>>1]>>4>=8&&(t[s]=t[s].toUpperCase()),(15&o[s>>1])>=8&&(t[s+1]=t[s+1].toUpperCase());return"0x"+t.join("")}var f=9007199254740991;function d(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}for(var h={},p=0;p<10;p++)h[String(p)]=String(p);for(var v=0;v<26;v++)h[String.fromCharCode(65+v)]=String(10+v);var m=Math.floor(d(f));function b(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";var t=e.split("").map((function(e){return h[e]})).join("");while(t.length>=m){var r=t.substring(0,m);t=parseInt(r,10)%97+t.substring(r.length)}var n=String(98-parseInt(t,10)%97);while(n.length<2)n="0"+n;return n}function g(e){var t=null;if("string"!==typeof e&&c.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=l(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&c.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){e.substring(2,4)!==b(e)&&c.throwArgumentError("bad icap checksum","address",e),t=(0,i._base36To16)(e.substring(4));while(t.length<40)t="0"+t;t=l("0x"+t)}else c.throwArgumentError("invalid address","address",e);return t}function y(e){try{return g(e),!0}catch(t){}return!1}function w(e){var t=(0,i._base16To36)(g(e).substring(2)).toUpperCase();while(t.length<30)t="0"+t;return"XE"+b("XE00"+t)+t}function _(e){var t=null;try{t=g(e.from)}catch(s){c.throwArgumentError("missing from address","transaction",e)}var r=(0,n.stripZeros)((0,n.arrayify)(i.BigNumber.from(e.nonce).toHexString()));return g((0,n.hexDataSlice)((0,a.keccak256)((0,o.encode)([t,r])),12))}function k(e,t,r){return 32!==(0,n.hexDataLength)(t)&&c.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&c.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),g((0,n.hexDataSlice)((0,a.keccak256)((0,n.concat)(["0xff",g(e),t,r])),12))}},"0f2c":function(e,t,r){var n=r("2aee"),i=r("f460"),a=r("83d5"),o=r("399f"),s=r("a958"),u=r("98e6"),c=r("5291"),l=r("8707").Buffer;function f(e,t){var r=e.modulus.byteLength(),n=u("sha1").update(l.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),c=t.slice(o+1),f=a(s,i(c,o)),d=a(c,i(f,r-o-1));if(h(n,d.slice(0,o)))throw new Error("decryption error");var p=o;while(0===d[p])p++;if(1!==d[p++])throw new Error("decryption error");return d.slice(p)}function d(e,t,r){var n=t.slice(0,2),i=2,a=0;while(0!==t[i++])if(i>=t.length){a++;break}var o=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(i)}function h(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;while(++ih||new o(t).cmp(u.modulus)>=0)throw new Error("decryption error");a=r?c(new o(t),u):s(t,u);var p=l.alloc(h-a.length);if(a=l.concat([p,a],h),4===i)return f(u,a);if(1===i)return d(u,a,r);if(3===i)return a;throw new Error("unknown padding")}},"0f48":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("5a80"),i=r("5a80"),a=r("3efa"),o=r("6bda"),s=e.from("aa21a9ed","hex");function u(e){var t=n.compile(e);return t.length>37&&t[0]===i.OPS.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(s)}function c(t){o(a.Hash256bit,t);var r=e.allocUnsafe(36);return s.copy(r,0),t.copy(r,4),n.compile([i.OPS.OP_RETURN,r])}function l(e){return o(u,e),n.decompile(e)[1].slice(4,36)}t.check=u,u.toJSON=function(){return"Witness commitment output"},t.encode=c,t.decode=l}).call(this,r("b639").Buffer)},"0f54":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation"]},"0f9f":function(e,t,r){"use strict";r.r(t);var n=r("2437"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"0fe2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudflareProvider=void 0;var n=s(r("a34a")),i=r("3d6d"),a=r("20ed"),o=r("9684");function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;ro)throw new RangeError("requested too many random bytes");var r=u.allocUnsafe(e);if(e>0)if(e>a)for(var n=0;n21)throw new TypeError(e+" is too long");var r=t.readUInt8(0),n=t.slice(1);return{version:r,hash:n}}function f(t){var r=s.decode(t),n=s.fromWords(r.words.slice(1));return{version:r.words[0],prefix:r.prefix,data:e.from(n)}}function d(t,r){c(o.tuple(o.Hash160bit,o.UInt8),arguments);var n=e.allocUnsafe(21);return n.writeUInt8(r,0),t.copy(n,1),u.encode(n)}function h(e,t,r){var n=s.toWords(e);return n.unshift(t),s.encode(r,n)}function p(e,t){t=t||n.bitcoin;try{return i.p2pkh({output:e,network:t}).address}catch(r){}try{return i.p2sh({output:e,network:t}).address}catch(r){}try{return i.p2wpkh({output:e,network:t}).address}catch(r){}try{return i.p2wsh({output:e,network:t}).address}catch(r){}throw new Error(a.toASM(e)+" has no matching Address")}function v(e,t){var r,a;t=t||n.bitcoin;try{r=l(e)}catch(o){}if(r){if(r.version===t.pubKeyHash)return i.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return i.p2sh({hash:r.hash}).output}else{try{a=f(e)}catch(o){}if(a){if(a.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===a.version){if(20===a.data.length)return i.p2wpkh({hash:a.data}).output;if(32===a.data.length)return i.p2wsh({hash:a.data}).output}}}throw new Error(e+" has no matching Script")}t.fromBase58Check=l,t.fromBech32=f,t.toBase58Check=d,t.toBech32=h,t.fromOutputScript=p,t.toOutputScript=v}).call(this,r("b639").Buffer)},"12a7":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0))return!0;for(var t=0,r=this._supportedHardforks;t=i},e.prototype.activeOnBlock=function(e,t){return this.hardforkIsActiveOnBlock(null,e,t)},e.prototype.hardforkGteHardfork=function(e,t,r){r=void 0!==r?r:{};var n,i=void 0!==r.onlyActive&&r.onlyActive;e=this._chooseHardfork(e,r.onlySupported),n=i?this.activeHardforks(null,r):this.hardforks();for(var a=-1,o=-1,s=0,u=0,c=n;u=o},e.prototype.gteHardfork=function(e,t){return this.hardforkGteHardfork(null,e,t)},e.prototype.hardforkIsActiveOnChain=function(e,t){t=void 0!==t?t:{};var r=void 0!==t.onlySupported&&t.onlySupported;e=this._chooseHardfork(e,r);for(var n=0,i=this.hardforks();n0)return r[r.length-1]["name"];throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(e){return e=this._chooseHardfork(e,!1),this._getHardfork(e)["block"]},e.prototype.isHardforkBlock=function(e,t){return t=this._chooseHardfork(t,!1),this.hardforkBlock(t)===e},e.prototype.consensus=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["consensus"]},e.prototype.finality=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["finality"]},e.prototype.genesis=function(){return this._chainParams["genesis"]},e.prototype.hardforks=function(){return this._chainParams["hardforks"]},e.prototype.bootstrapNodes=function(){return this._chainParams["bootstrapNodes"]},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return this._chainParams["chainId"]},e.prototype.chainName=function(){return i.chains["names"][this.chainId()]||this._chainParams["name"]},e.prototype.networkId=function(){return this._chainParams["networkId"]},e}();t.default=o},"12bb":function(e,t,r){"use strict";r.r(t);var n=r("18bc"),i=r("893b");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"63c22e0c",null,!1,n["a"],o);t["default"]=u.exports},"12c5":function(e,t,r){
/*!
* v2.1.4-104-gc868b3a
*
*/
-(function(t,a){e.exports=a()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=7)}([function(e,t,a){"use strict";a.d(t,"j",(function(){return n})),a.d(t,"d",(function(){return c})),a.d(t,"c",(function(){return i})),a.d(t,"h",(function(){return o})),a.d(t,"b",(function(){return f})),a.d(t,"k",(function(){return d})),a.d(t,"e",(function(){return s})),a.d(t,"g",(function(){return u})),a.d(t,"i",(function(){return b})),a.d(t,"a",(function(){return l})),a.d(t,"f",(function(){return h}));var r=a(1),n=d((function(e,t){var a=t.length;return d((function(r){for(var n=0;ns&&(G("Max buffer length exceeded: textNode"),e=Math.max(e,c.length)),R.length>s&&(G("Max buffer length exceeded: numberNode"),e=Math.max(e,R.length)),B=s-e+z}function G(e){void 0!==c&&(o(c),f(),c=void 0),t=Error(e+"\nLn: "+W+"\nCol: "+q+"\nChr: "+a),d(Object(r["o"])(void 0,void 0,t))}function V(){if(L===l)return o({}),f(),void(U=!0);L===h&&0===H||G("Unexpected end"),void 0!==c&&(o(c),f(),c=void 0),U=!0}function Z(e){return"\r"===e||"\n"===e||" "===e||"\t"===e}function J(e){if(!t){if(U)return G("Cannot write after close");var r=0;a=e[0];while(a){if(r>0&&(n=a),a=e[r++],!a)break;switch(z++,"\n"===a?(W++,q=0):q++,L){case l:if("{"===a)L=p;else if("["===a)L=v;else if(!Z(a))return G("Non-whitespace before {[.");continue;case y:case p:if(Z(a))continue;if(L===y)$.push(w);else{if("}"===a){o({}),f(),L=$.pop()||h;continue}$.push(x)}if('"'!==a)return G('Malformed object key should start with " ');L=g;continue;case w:case x:if(Z(a))continue;if(":"===a)L===x?($.push(x),void 0!==c&&(o({}),i(c),c=void 0),H++):void 0!==c&&(i(c),c=void 0),L=h;else if("}"===a)void 0!==c&&(o(c),f(),c=void 0),f(),H--,L=$.pop()||h;else{if(","!==a)return G("Bad object");L===x&&$.push(x),void 0!==c&&(o(c),f(),c=void 0),L=y}continue;case v:case h:if(Z(a))continue;if(L===v){if(o([]),H++,L=h,"]"===a){f(),H--,L=$.pop()||h;continue}$.push(m)}if('"'===a)L=g;else if("{"===a)L=p;else if("["===a)L=v;else if("t"===a)L=_;else if("f"===a)L=E;else if("n"===a)L=C;else if("-"===a)R+=a;else if("0"===a)R+=a,L=N;else{if(-1==="123456789".indexOf(a))return G("Bad value");R+=a,L=N}continue;case m:if(","===a)$.push(m),void 0!==c&&(o(c),f(),c=void 0),L=h;else{if("]"!==a){if(Z(a))continue;return G("Bad array")}void 0!==c&&(o(c),f(),c=void 0),f(),H--,L=$.pop()||h}continue;case g:void 0===c&&(c="");var d=r-1;e:while(1){while(D>0)if(F+=a,a=e.charAt(r++),4===D?(c+=String.fromCharCode(parseInt(F,16)),D=0,d=r-1):D++,!a)break e;if('"'===a&&!M){L=$.pop()||h,c+=e.substring(d,r-1);break}if("\\"===a&&!M&&(M=!0,c+=e.substring(d,r-1),a=e.charAt(r++),!a))break;if(M){if(M=!1,"n"===a?c+="\n":"r"===a?c+="\r":"t"===a?c+="\t":"f"===a?c+="\f":"b"===a?c+="\b":"u"===a?(D=1,F=""):c+=a,a=e.charAt(r++),d=r-1,a)continue;break}u.lastIndex=r;var s=u.exec(e);if(!s){r=e.length+1,c+=e.substring(d,r-1);break}if(r=s.index+1,a=e.charAt(s.index),!a){c+=e.substring(d,r-1);break}}continue;case _:if(!a)continue;if("r"!==a)return G("Invalid true started with t"+a);L=k;continue;case k:if(!a)continue;if("u"!==a)return G("Invalid true started with tr"+a);L=S;continue;case S:if(!a)continue;if("e"!==a)return G("Invalid true started with tru"+a);o(!0),f(),L=$.pop()||h;continue;case E:if(!a)continue;if("a"!==a)return G("Invalid false started with f"+a);L=A;continue;case A:if(!a)continue;if("l"!==a)return G("Invalid false started with fa"+a);L=P;continue;case P:if(!a)continue;if("s"!==a)return G("Invalid false started with fal"+a);L=O;continue;case O:if(!a)continue;if("e"!==a)return G("Invalid false started with fals"+a);o(!1),f(),L=$.pop()||h;continue;case C:if(!a)continue;if("u"!==a)return G("Invalid null started with n"+a);L=T;continue;case T:if(!a)continue;if("l"!==a)return G("Invalid null started with nu"+a);L=I;continue;case I:if(!a)continue;if("l"!==a)return G("Invalid null started with nul"+a);o(null),f(),L=$.pop()||h;continue;case j:if("."!==a)return G("Leading zero not followed by .");R+=a,L=N;continue;case N:if(-1!=="0123456789".indexOf(a))R+=a;else if("."===a){if(-1!==R.indexOf("."))return G("Invalid number has two dots");R+=a}else if("e"===a||"E"===a){if(-1!==R.indexOf("e")||-1!==R.indexOf("E"))return G("Invalid number has two exponential");R+=a}else if("+"===a||"-"===a){if("e"!==n&&"E"!==n)return G("Invalid symbol in number");R+=a}else R&&(o(parseFloat(R)),f(),R=""),r--,L=$.pop()||h;continue;default:return G("Unknown state: "+L)}}z>=B&&K()}}e(r["m"]).on(J),e(r["n"]).on(V)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return f})),a.d(t,"b",(function(){return d}));var r=a(19),n=a(3),c=a(2),i=a(20),o=a(0);function f(){return new XMLHttpRequest}function d(e,t,a,f,d,s,u){var b=e(n["m"]).emit,l=e(n["b"]).emit,h=0,p=!0;function x(){if("2"===String(t.status)[0]){var e=t.responseText,a=(" "+e.substr(h)).substr(1);a&&b(a),h=Object(c["e"])(e)}}function v(t){try{p&&e(n["c"]).emit(t.status,Object(i["a"])(t.getAllResponseHeaders())),p=!1}catch(a){}}e(n["a"]).on((function(){t.onreadystatechange=null,t.abort()})),"onprogress"in t&&(t.onprogress=x),t.onreadystatechange=function(){switch(t.readyState){case 2:case 3:return v(t);case 4:v(t);var a="2"===String(t.status)[0];a?(x(),e(n["n"]).emit()):l(Object(n["o"])(t.status,t.responseText))}};try{for(var m in t.open(a,f,!0),s)t.setRequestHeader(m,s[m]);Object(r["a"])(window.location,Object(r["b"])(f))||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.withCredentials=u,t.send(d)}catch(g){window.setTimeout(Object(o["j"])(l,Object(n["o"])(void 0,void 0,g)),0)}}},function(e,t,a){"use strict";function r(e,t){function a(e){return{"http:":80,"https:":443}[e]}function r(t){return String(t.port||a(t.protocol||e.protocol))}return!!(t.protocol&&t.protocol!==e.protocol||t.host&&t.host!==e.host||t.host&&r(t)!==r(e))}function n(e){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/,a=t.exec(e)||[];return{protocol:a[1]||"",host:a[2]||"",port:a[3]||""}}a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return n}))},function(e,t,a){"use strict";function r(e){var t={};return e&&e.split("\r\n").forEach((function(e){var a=e.indexOf(": ");t[e.substring(0,a)]=e.substring(a+2)})),t}a.d(t,"a",(function(){return r}))}])["default"]}))},"12ef":function(e,t,a){"use strict";(function(t){var r=a("085b"),n=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};n.prototype.setRequestManager=function(e){this.requestManager=e},n.prototype.attachToObject=function(e){var t=this.buildCall(),a=this.name.split(".");a.length>1?(e[a[0]]=e[a[0]]||{},e[a[0]][a[1]]=t):e[a[0]]=t},n.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||t("warn","Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway."," at node_modules/web3-core-subscriptions/lib/index.js:48");var a=new r({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return a.subscribe.apply(a,arguments)}},e.exports={subscriptions:n,subscription:r}}).call(this,a("0de9")["default"])},1391:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commify=f,t.formatUnits=d,t.parseUnits=s,t.formatEther=u,t.parseEther=b;var r=a("846b"),n=a("20ed"),c=a("675e"),i=new n.Logger(c.version),o=["wei","kwei","mwei","gwei","szabo","finney","ether"];function f(e){var t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&i.throwArgumentError("invalid value","value",e);var a=t[0],r="";"-"===a.substring(0,1)&&(r="-",a=a.substring(1));while("0"===a.substring(0,1))a=a.substring(1);""===a&&(a="0");var n="";2===t.length&&(n="."+(t[1]||"0"));while(n.length>2&&"0"===n[n.length-1])n=n.substring(0,n.length-1);var c=[];while(a.length){if(a.length<=3){c.unshift(a);break}var o=a.length-3;c.unshift(a.substring(o)),a=a.substring(0,o)}return r+c.join(",")+n}function d(e,t){if("string"===typeof t){var a=o.indexOf(t);-1!==a&&(t=3*a)}return(0,r.formatFixed)(e,null!=t?t:18)}function s(e,t){if("string"!==typeof e&&i.throwArgumentError("value must be a string","value",e),"string"===typeof t){var a=o.indexOf(t);-1!==a&&(t=3*a)}return(0,r.parseFixed)(e,null!=t?t:18)}function u(e){return d(e,18)}function b(e){return s(e,18)}},"13af":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFixed=v,t.parseFixed=m,t.FixedNumber=t.FixedFormat=void 0;var r=a("ecb6"),n=a("20ed"),c=a("efc1"),i=a("fd39");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var a=0;a=0&&e<=256&&!(e%1)?"1"+p.substring(0,e):s.throwArgumentError("invalid decimal size","decimals",e)}function v(e,t){null==t&&(t=0);var a=x(t);e=i.BigNumber.from(e);var r=e.lt(b);r&&(e=e.mul(l));var n=e.mod(a).toString();while(n.length2&&s.throwArgumentError("too many decimal points","value",e);var c=n[0],o=n[1];c||(c="0"),o||(o="0");while("0"===o[o.length-1])o=o.substring(0,o.length-1);o.length>a.length-1&&h("fractional component exceeds decimals","underflow","parseFixed"),""===o&&(o="0");while(o.length80&&s.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new e(u,a,r,n)}}]),e}();t.FixedFormat=g;var y=function(){function e(t,a,r,c){o(this,e),s.checkNew(this instanceof e?this.constructor:void 0,e),t!==u&&s.throwError("cannot use FixedNumber constructor; use FixedNumber.from",n.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=c,this._hex=a,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}return d(e,[{key:"_checkFormat",value:function(e){this.format.name!==e.format.name&&s.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}},{key:"addUnsafe",value:function(t){this._checkFormat(t);var a=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return e.fromValue(a.add(r),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(t){this._checkFormat(t);var a=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return e.fromValue(a.sub(r),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(t){this._checkFormat(t);var a=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return e.fromValue(a.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(t){this._checkFormat(t);var a=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return e.fromValue(a.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}},{key:"floor",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var a=e.from(t[0],this.format),r=!t[1].match(/^(0*)$/);return this.isNegative()&&r&&(a=a.subUnsafe(w.toFormat(a.format))),a}},{key:"ceiling",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var a=e.from(t[0],this.format),r=!t[1].match(/^(0*)$/);return!this.isNegative()&&r&&(a=a.addUnsafe(w.toFormat(a.format))),a}},{key:"round",value:function(t){null==t&&(t=0);var a=this.toString().split(".");if(1===a.length&&a.push("0"),(t<0||t>80||t%1)&&s.throwArgumentError("invalid decimal count","decimals",t),a[1].length<=t)return this;var r=e.from("1"+p.substring(0,t),this.format),n=_.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(n).floor().divUnsafe(r)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(e){if(null==e)return this._hex;e%8&&s.throwArgumentError("invalid byte width","width",e);var t=i.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,r.hexZeroPad)(t,e/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(t){return e.fromString(this._value,t)}}],[{key:"fromValue",value:function(t,a,r){return null!=r||null==a||(0,i.isBigNumberish)(a)||(r=a,a=null),null==a&&(a=0),null==r&&(r="fixed"),e.fromString(v(t,a),g.from(r))}},{key:"fromString",value:function(t,a){null==a&&(a="fixed");var n=g.from(a),c=m(t,n.decimals);!n.signed&&c.lt(b)&&h("unsigned value cannot be negative","overflow","value",t);var i=null;n.signed?i=c.toTwos(n.width).toHexString():(i=c.toHexString(),i=(0,r.hexZeroPad)(i,n.width/8));var o=v(c,n.decimals);return new e(u,i,o,n)}},{key:"fromBytes",value:function(t,a){null==a&&(a="fixed");var n=g.from(a);if((0,r.arrayify)(t).length>n.width/8)throw new Error("overflow");var c=i.BigNumber.from(t);n.signed&&(c=c.fromTwos(n.width));var o=c.toTwos((n.signed?0:1)+n.width).toHexString(),f=v(c,n.decimals);return new e(u,o,f,n)}},{key:"from",value:function(t,a){if("string"===typeof t)return e.fromString(t,a);if((0,r.isBytes)(t))return e.fromBytes(t,a);try{return e.fromValue(t,0,a)}catch(c){if(c.code!==n.Logger.errors.INVALID_ARGUMENT)throw c}return s.throwArgumentError("invalid FixedNumber value","value",t)}},{key:"isFixedNumber",value:function(e){return!(!e||!e._isFixedNumber)}}]),e}();t.FixedNumber=y;var w=y.from(1),_=y.from("0.5")},"13e2":function(e,t,a){"use strict";var r=a("c3c0"),n=a("edc9"),c=a("aa56"),i=r.rotl32,o=r.sum32,f=r.sum32_5,d=c.ft_1,s=n.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function b(){if(!(this instanceof b))return new b;s.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(b,s),e.exports=b,b.blockSize=512,b.outSize=160,b.hmacStrength=80,b.padLength=64,b.prototype._update=function(e,t){for(var a=this.W,r=0;r<16;r++)a[r]=e[t+r];for(;r=0}function v(e,t){return e>=t[0]&&e<=t[1]}function m(e,t){return e.length>=t[0]&&e.length<=t[1]}function g(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function y(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function w(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(a){return!1}return!1}function _(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var E={email:r,mobile:n,url:c,date:i,dateISO:o,number:f,digits:d,idCard:s,carNo:u,amount:b,chinese:l,letter:h,enOrNum:p,contains:x,range:v,rangeLength:m,empty:y,isEmpty:y,jsonString:w,landline:g,object:k,array:_,code:S};t.default=E},1545:function(e,t,a){"use strict";t.utils=a("5ee7"),t.Cipher=a("0184"),t.DES=a("4e2b"),t.CBC=a("0da4"),t.EDE=a("1fec")},1567:function(e,t,a){"use strict";e.exports=function(e,t,a,r,n){return e.config=t,a&&(e.code=a),e.request=r,e.response=n,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},1573:function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.EC=void 0;var r=c(a("399f")),n=c(a("7d92"));function c(e){return e&&e.__esModule?e:{default:e}}"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function i(e,t,a){return a={path:t,exports:{},require:function(e,t){return o(e,void 0===t||null===t?a.path:t)}},e(a,a.exports),a.exports}function o(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var f=d;function d(e,t){if(!e)throw new Error(t||"Assertion failed")}d.equal=function(e,t,a){if(e!=t)throw new Error(a||"Assertion failed: "+e+" != "+t)};var s=i((function(e,t){var a=t;function r(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var a=[];if("string"!==typeof e){for(var r=0;r>8,i=255&n;c?a.push(c,i):a.push(i)}return a}function n(e){return 1===e.length?"0"+e:e}function c(e){for(var t="",a=0;a(n>>1)-1?(n>>1)-f:f,c.isubn(o)):o=0,r[i]=o,c.iushrn(1)}return r}function c(e,t){var a=[[],[]];e=e.clone(),t=t.clone();var r,n=0,c=0;while(e.cmpn(-n)>0||t.cmpn(-c)>0){var i,o,f=e.andln(3)+n&3,d=t.andln(3)+c&3;3===f&&(f=-1),3===d&&(d=-1),0===(1&f)?i=0:(r=e.andln(7)+n&7,i=3!==r&&5!==r||2!==d?f:-f),a[0].push(i),0===(1&d)?o=0:(r=t.andln(7)+c&7,o=3!==r&&5!==r||2!==f?d:-d),a[1].push(o),2*n===i+1&&(n=1-n),2*c===o+1&&(c=1-c),e.iushrn(1),t.iushrn(1)}return a}function i(e,t,a){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=a.call(this)}}function o(e){return"string"===typeof e?a.toArray(e,"hex"):e}function d(e){return new r.default(e,"hex","le")}a.assert=f,a.toArray=s.toArray,a.zero2=s.zero2,a.toHex=s.toHex,a.encode=s.encode,a.getNAF=n,a.getJSF=c,a.cachedProperty=i,a.parseBytes=o,a.intFromLE=d})),b=u.getNAF,l=u.getJSF,h=u.assert;function p(e,t){this.type=e,this.p=new r.default(t.p,16),this.red=t.prime?r.default.red(t.prime):r.default.mont(this.p),this.zero=new r.default(0).toRed(this.red),this.one=new r.default(1).toRed(this.red),this.two=new r.default(2).toRed(this.red),this.n=t.n&&new r.default(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var a=this.n&&this.p.div(this.n);!a||a.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var x=p;function v(e,t){this.curve=e,this.type=t,this.precomputed=null}p.prototype.point=function(){throw new Error("Not implemented")},p.prototype.validate=function(){throw new Error("Not implemented")},p.prototype._fixedNafMul=function(e,t){h(e.precomputed);var a=e._getDoubles(),r=b(t,1,this._bitLength),n=(1<=c;f--)i=(i<<1)+r[f];o.push(i)}for(var d=this.jpoint(null,null,null),s=this.jpoint(null,null,null),u=n;u>0;u--){for(c=0;c=0;o--){for(var f=0;o>=0&&0===c[o];o--)f++;if(o>=0&&f++,i=i.dblp(f),o<0)break;var d=c[o];h(0!==d),i="affine"===e.type?d>0?i.mixedAdd(n[d-1>>1]):i.mixedAdd(n[-d-1>>1].neg()):d>0?i.add(n[d-1>>1]):i.add(n[-d-1>>1].neg())}return"affine"===e.type?i.toP():i},p.prototype._wnafMulAdd=function(e,t,a,r,n){var c,i,o,f=this._wnafT1,d=this._wnafT2,s=this._wnafT3,u=0;for(c=0;c=1;c-=2){var p=c-1,x=c;if(1===f[p]&&1===f[x]){var v=[t[p],null,null,t[x]];0===t[p].y.cmp(t[x].y)?(v[1]=t[p].add(t[x]),v[2]=t[p].toJ().mixedAdd(t[x].neg())):0===t[p].y.cmp(t[x].y.redNeg())?(v[1]=t[p].toJ().mixedAdd(t[x]),v[2]=t[p].add(t[x].neg())):(v[1]=t[p].toJ().mixedAdd(t[x]),v[2]=t[p].toJ().mixedAdd(t[x].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],g=l(a[p],a[x]);for(u=Math.max(g[0].length,u),s[p]=new Array(u),s[x]=new Array(u),i=0;i=0;c--){var S=0;while(c>=0){var E=!0;for(i=0;i=0&&S++,_=_.dblp(S),c<0)break;for(i=0;i0?o=d[i][A-1>>1]:A<0&&(o=d[i][-A-1>>1].neg()),_="affine"===o.type?_.mixedAdd(o):_.add(o))}}for(c=0;c=Math.ceil((e.bitLength()+1)/t.step)},v.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,n=0;n=0&&(i=t,o=a),n.negative&&(n=n.neg(),c=c.neg()),i.negative&&(i=i.neg(),o=o.neg()),[{a:n,b:c},{a:i,b:o}]},y.prototype._endoSplit=function(e){var t=this.endo.basis,a=t[0],r=t[1],n=r.b.mul(e).divRound(this.n),c=a.b.neg().mul(e).divRound(this.n),i=n.mul(a.a),o=c.mul(r.a),f=n.mul(a.b),d=c.mul(r.b),s=e.sub(i).sub(o),u=f.add(d).neg();return{k1:s,k2:u}},y.prototype.pointFromX=function(e,t){e=new r.default(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=a.redSqrt();if(0!==n.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=n.fromRed().isOdd();return(t&&!c||!t&&c)&&(n=n.redNeg()),this.point(e,n)},y.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,a=e.y,r=this.a.redMul(t),n=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===a.redSqr().redISub(n).cmpn(0)},y.prototype._endoWnafMulAdd=function(e,t,a){for(var r=this._endoWnafT1,n=this._endoWnafT2,c=0;c":""},_.prototype.isInfinity=function(){return this.inf},_.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var a=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)},_.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),n=a.redAdd(a).redIAdd(a).redIAdd(t).redMul(r),c=n.redSqr().redISub(this.x.redAdd(this.x)),i=n.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,i)},_.prototype.getX=function(){return this.x.fromRed()},_.prototype.getY=function(){return this.y.fromRed()},_.prototype.mul=function(e){return e=new r.default(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},_.prototype.mulAdd=function(e,t,a){var r=[this,t],n=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,n):this.curve._wnafMulAdd(1,r,n,2)},_.prototype.jmulAdd=function(e,t,a){var r=[this,t],n=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,n,!0):this.curve._wnafMulAdd(1,r,n,2,!0)},_.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},_.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return t},_.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},m(k,x.BasePoint),y.prototype.jpoint=function(e,t,a){return new k(this,e,t,a)},k.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),a=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(a,r)},k.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},k.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(t),n=e.x.redMul(a),c=this.y.redMul(t.redMul(e.z)),i=e.y.redMul(a.redMul(this.z)),o=r.redSub(n),f=c.redSub(i);if(0===o.cmpn(0))return 0!==f.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),s=d.redMul(o),u=r.redMul(d),b=f.redSqr().redIAdd(s).redISub(u).redISub(u),l=f.redMul(u.redISub(b)).redISub(c.redMul(s)),h=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(b,l,h)},k.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),a=this.x,r=e.x.redMul(t),n=this.y,c=e.y.redMul(t).redMul(this.z),i=a.redSub(r),o=n.redSub(c);if(0===i.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=i.redSqr(),d=f.redMul(i),s=a.redMul(f),u=o.redSqr().redIAdd(d).redISub(s).redISub(s),b=o.redMul(s.redISub(u)).redISub(n.redMul(d)),l=this.z.redMul(i);return this.curve.jpoint(u,b,l)},k.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var a=this;for(t=0;t=0)return!1;if(a.redIAdd(n),0===this.x.cmp(a))return!0}},k.prototype.inspect=function(){return this.isInfinity()?"":""},k.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=i((function(e,t){var a=t;a.base=x,a.short=w,a.mont=null,a.edwards=null})),E=i((function(e,t){var a,r=t,c=u.assert;function i(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var a=new i(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:a}),a}})}r.PresetCurve=i,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:n.default.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:n.default.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:n.default.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:n.default.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:n.default.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:n.default.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:n.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{a=null.crash()}catch(f){a=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:n.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",a]})}));function A(e){if(!(this instanceof A))return new A(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=s.toArray(e.entropy,e.entropyEnc||"hex"),a=s.toArray(e.nonce,e.nonceEnc||"hex"),r=s.toArray(e.pers,e.persEnc||"hex");f(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,a,r)}var P=A;A.prototype._init=function(e,t,a){var r=e.concat(t).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1},A.prototype.generate=function(e,t,a,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(r=a,a=t,t=null),a&&(a=s.toArray(a,r||"hex"),this._update(a));var n=[];while(n.length"};var I=u.assert;function j(e,t){if(e instanceof j)return e;this._importDER(e,t)||(I(e.r&&e.s,"Signature without r or s"),this.r=new r.default(e.r,16),this.s=new r.default(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var N=j;function B(){this.place=0}function R(e,t){var a=e[t.place++];if(!(128&a))return a;var r=15&a;if(0===r||r>4)return!1;for(var n=0,c=0,i=t.place;c>>=0;return!(n<=127)&&(t.place=i,n)}function M(e){var t=0,a=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|a);while(--a)e.push(t>>>(a<<3)&255);e.push(t)}}j.prototype._importDER=function(e,t){e=u.toArray(e,t);var a=new B;if(48!==e[a.place++])return!1;var n=R(e,a);if(!1===n)return!1;if(n+a.place!==e.length)return!1;if(2!==e[a.place++])return!1;var c=R(e,a);if(!1===c)return!1;var i=e.slice(a.place,c+a.place);if(a.place+=c,2!==e[a.place++])return!1;var o=R(e,a);if(!1===o)return!1;if(e.length!==o+a.place)return!1;var f=e.slice(a.place,o+a.place);if(0===i[0]){if(!(128&i[1]))return!1;i=i.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new r.default(i),this.s=new r.default(f),this.recoveryParam=null,!0},j.prototype.toDER=function(e){var t=this.r.toArray(),a=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&a[0]&&(a=[0].concat(a)),t=M(t),a=M(a);while(!a[0]&&!(128&a[1]))a=a.slice(1);var r=[2];U(r,t.length),r=r.concat(t),r.push(2),U(r,a.length);var n=r.concat(a),c=[48];return U(c,n.length),c=c.concat(n),u.encode(c,e)};var L=function(){throw new Error("unsupported")},$=u.assert;function F(e){if(!(this instanceof F))return new F(e);"string"===typeof e&&($(Object.prototype.hasOwnProperty.call(E,e),"Unknown curve "+e),e=E[e]),e instanceof E.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var D=F;F.prototype.keyPair=function(e){return new T(this,e)},F.prototype.keyFromPrivate=function(e,t){return T.fromPrivate(this,e,t)},F.prototype.keyFromPublic=function(e,t){return T.fromPublic(this,e,t)},F.prototype.genKeyPair=function(e){e||(e={});for(var t=new P({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||L(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),n=this.n.sub(new r.default(2));;){var c=new r.default(t.generate(a));if(!(c.cmp(n)>0))return c.iaddn(1),this.keyFromPrivate(c)}},F.prototype._truncateToN=function(e,t){var a=8*e.byteLength()-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},F.prototype.sign=function(e,t,a,n){"object"===typeof a&&(n=a,a=null),n||(n={}),t=this.keyFromPrivate(t,a),e=this._truncateToN(new r.default(e,16));for(var c=this.n.byteLength(),i=t.getPrivate().toArray("be",c),o=e.toArray("be",c),f=new P({hash:this.hash,entropy:i,nonce:o,pers:n.pers,persEnc:n.persEnc||"utf8"}),d=this.n.sub(new r.default(1)),s=0;;s++){var u=n.k?n.k(s):new r.default(f.generate(this.n.byteLength()));if(u=this._truncateToN(u,!0),!(u.cmpn(1)<=0||u.cmp(d)>=0)){var b=this.g.mul(u);if(!b.isInfinity()){var l=b.getX(),h=l.umod(this.n);if(0!==h.cmpn(0)){var p=u.invm(this.n).mul(h.mul(t.getPrivate()).iadd(e));if(p=p.umod(this.n),0!==p.cmpn(0)){var x=(b.getY().isOdd()?1:0)|(0!==l.cmp(h)?2:0);return n.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),x^=1),new N({r:h,s:p,recoveryParam:x})}}}}}},F.prototype.verify=function(e,t,a,n){e=this._truncateToN(new r.default(e,16)),a=this.keyFromPublic(a,n),t=new N(t,"hex");var c=t.r,i=t.s;if(c.cmpn(1)<0||c.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var o,f=i.invm(this.n),d=f.mul(e).umod(this.n),s=f.mul(c).umod(this.n);return this.curve._maxwellTrick?(o=this.g.jmulAdd(d,a.getPublic(),s),!o.isInfinity()&&o.eqXToP(c)):(o=this.g.mulAdd(d,a.getPublic(),s),!o.isInfinity()&&0===o.getX().umod(this.n).cmp(c))},F.prototype.recoverPubKey=function(e,t,a,n){$((3&a)===a,"The recovery param is more than two bits"),t=new N(t,n);var c=this.n,i=new r.default(e),o=t.r,f=t.s,d=1&a,s=a>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&s)throw new Error("Unable to find sencond key candinate");o=s?this.curve.pointFromX(o.add(this.curve.n),d):this.curve.pointFromX(o,d);var u=t.r.invm(c),b=c.sub(i).mul(u).umod(c),l=f.mul(u).umod(c);return this.g.mulAdd(b,o,l)},F.prototype.getKeyRecoveryParam=function(e,t,a,r){if(t=new N(t,r),null!==t.recoveryParam)return t.recoveryParam;for(var n=0;n<4;n++){var c;try{c=this.recoverPubKey(e,t,n)}catch(e){continue}if(c.eq(a))return n}throw new Error("Unable to find valid recovery factor")};var H=i((function(e,t){var a=t;a.version={version:"6.5.4"}.version,a.utils=u,a.rand=function(){throw new Error("unsupported")},a.curve=S,a.curves=E,a.ec=D,a.eddsa=null})),z=H.ec;t.EC=z}).call(this,a("c8ba"))},1650:function(e,t){e.exports="/static/tongyonh/copy_24px.png"},"16a3":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineReadOnly=s,t.getStatic=u,t.resolveProperties=b,t.checkProperties=l,t.shallowCopy=h,t.deepCopy=m,t.Description=void 0;var r=i(a("a34a")),n=a("20ed"),c=a("8909");function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=function(e,t,a,r){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,c){function i(e){try{f(r.next(e))}catch(t){c(t)}}function o(e){try{f(r["throw"](e))}catch(t){c(t)}}function f(e){e.done?a(e.value):n(e.value).then(i,o)}f((r=r.apply(e,t||[])).next())}))},d=new n.Logger(c.version);function s(e,t,a){Object.defineProperty(e,t,{enumerable:!0,value:a,writable:!1})}function u(e,t){for(var a=0;a<32;a++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function b(e){return f(this,void 0,void 0,r.default.mark((function t(){var a,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=Object.keys(e).map((function(t){var a=e[t];return Promise.resolve(a).then((function(e){return{key:t,value:e}}))})),t.next=3,Promise.all(a);case 3:return n=t.sent,t.abrupt("return",n.reduce((function(e,t){return e[t.key]=t.value,e}),{}));case 5:case"end":return t.stop()}}),t)})))}function l(e,t){e&&"object"===typeof e||d.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((function(a){t[a]||d.throwArgumentError("invalid object key - "+a,"transaction:"+a,e)}))}function h(e){var t={};for(var a in e)t[a]=e[a];return t}var p={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function x(e){if(void 0===e||null===e||p[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;for(var t=Object.keys(e),a=0;a=0;r--){if(a){var n=2*parseInt(e[r],10);t+=n>9?n.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):n}else t+=parseInt(e[r],10);a=!a}return t%10===0}function c(e,t){for(var a=0,r=0;re.length)&&(t=e.length);for(var a=0,r=new Array(t);a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=d-s,_=Math.floor,k=String.fromCharCode;function S(e){throw new RangeError(y[e])}function E(e,t){var a=e.length,r=[];while(a--)r[a]=t(e[a]);return r}function A(e,t){var a=e.split("@"),r="";a.length>1&&(r=a[0]+"@",e=a[1]),e=e.replace(g,".");var n=e.split("."),c=E(n,t).join(".");return r+c}function P(e){var t,a,r=[],n=0,c=e.length;while(n=55296&&t<=56319&&n65535&&(e-=65536,t+=k(e>>>10&1023|55296),e=56320|1023&e),t+=k(e),t})).join("")}function C(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,a){var r=0;for(e=a?_(e/l):e>>1,e+=_(e/t);e>w*u>>1;r+=d)e=_(e/w);return _(r+(w+1)*e/(e+b))}function j(e){var t,a,r,n,c,i,o,b,l,v,m=[],g=e.length,y=0,w=p,k=h;for(a=e.lastIndexOf(x),a<0&&(a=0),r=0;r=128&&S("not-basic"),m.push(e.charCodeAt(r));for(n=a>0?a+1:0;n=g&&S("invalid-input"),b=C(e.charCodeAt(n++)),(b>=d||b>_((f-y)/i))&&S("overflow"),y+=b*i,l=o<=k?s:o>=k+u?u:o-k,b_(f/v)&&S("overflow"),i*=v}t=m.length+1,k=I(y-c,t,0==c),_(y/t)>f-w&&S("overflow"),w+=_(y/t),y%=t,m.splice(y++,0,w)}return O(m)}function N(e){var t,a,r,n,c,i,o,b,l,v,m,g,y,w,E,A=[];for(e=P(e),g=e.length,t=p,a=0,c=h,i=0;i=t&&m_((f-a)/y)&&S("overflow"),a+=(o-t)*y,t=o,i=0;if&&S("overflow"),m==t){for(b=a,l=d;;l+=d){if(v=l<=c?s:l>=c+u?u:l-c,b=0;n--)if(e[n]>="A"&&e[n]<="Z")for(var i=e[n].charCodeAt(0)-55,o=i%10,f=Math.trunc(i/10),d=0,s=[o,f];d=5?1+2*(u-5):2*u:u,t=!t}else{var b=e[n].charCodeAt(0)-"0".charCodeAt(0);a+=t?b>=5?1+2*(b-5):2*b:b,t=!t}var l=10*Math.trunc((a+9)/10)-a;return+e[e.length-1]===l}e.exports=t.default,e.exports.default=t.default},"1a2a":function(e,t,a){"use strict";var r=a("3fb5"),n=a("d424"),c=a("6430"),i=a("8707").Buffer,o=a("5a76"),f=a("b5ca"),d=a("69f2"),s=i.alloc(128);function u(e,t){c.call(this,"digest"),"string"===typeof t&&(t=i.from(t));var a="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>a){var r="rmd160"===e?new f:d(e);t=r.update(t).digest()}else t.lengtht?null:(r+n)/2}function T(e){if(null===e)return"null";if("number"===typeof e||"boolean"===typeof e)return JSON.stringify(e);if("string"===typeof e)return e;if(c.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return T(e)})));if("object"===typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var a=e[t];return a="function"===typeof a?"[function]":T(a),JSON.stringify(t)+":"+a})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var I=1;function j(e){var t=null,a=null,r=new Promise((function(r){t=function(){a&&(clearTimeout(a),a=null),r()},a=setTimeout(t,e)})),n=function(e){return r=r.then(e),r};function c(){return r}return{cancel:t,getPromise:c,wait:n}}var N=[b.Logger.errors.CALL_EXCEPTION,b.Logger.errors.INSUFFICIENT_FUNDS,b.Logger.errors.NONCE_EXPIRED,b.Logger.errors.REPLACEMENT_UNDERPRICED,b.Logger.errors.UNPREDICTABLE_GAS_LIMIT],B=["address","args","errorArgs","errorSignature","method","transaction"];function R(e,t){var a={weight:e.weight};return Object.defineProperty(a,"provider",{get:function(){return e.provider}}),e.start&&(a.start=e.start),t&&(a.duration=t-e.start),e.done&&(e.error?a.error=e.error:a.result=e.result||null),a}function M(e,t){return function(a){var r={};a.forEach((function(t){var a=e(t.result);r[a]||(r[a]={count:0,result:t.result}),r[a].count++}));for(var n=Object.keys(r),c=0;c=t)return i.result}}}function U(e,t,a){var r=T;switch(t){case"getBlockNumber":return function(t){var a=t.map((function(e){return e.result})),r=C(t.map((function(e){return e.result})),2);if(null!=r)return r=Math.ceil(r),a.indexOf(r+1)>=0&&r++,r>=e._highestBlockNumber&&(e._highestBlockNumber=r),e._highestBlockNumber};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return C(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":r=function(e){return null==e?null:(e=(0,o.shallowCopy)(e),e.confirmations=-1,T(e))};break;case"getBlock":r=a.includeTransactions?function(e){return null==e?null:(e=(0,o.shallowCopy)(e),e.transactions=e.transactions.map((function(e){return e=(0,o.shallowCopy)(e),e.confirmations=-1,e})),T(e))}:function(e){return null==e?null:T(e)};break;default:throw new Error("unknown method: "+t)}return M(r,e.quorum)}function L(e,t){return E(this,void 0,void 0,r.default.mark((function a(){var n;return r.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=e.provider,!(null!=n.blockNumber&&n.blockNumber>=t||-1===t)){a.next=3;break}return a.abrupt("return",n);case 3:return a.abrupt("return",(0,d.poll)((function(){return new Promise((function(a,r){setTimeout((function(){return n.blockNumber>=t?a(n):e.cancelled?a(null):a(void 0)}),0)}))}),{oncePoll:n}));case 4:case"end":return a.stop()}}),a)})))}function $(e,t,a,n){return E(this,void 0,void 0,r.default.mark((function c(){var o,f;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:o=e.provider,r.t0=a,r.next="getBlockNumber"===r.t0||"getGasPrice"===r.t0?4:"getEtherPrice"===r.t0?5:"getBalance"===r.t0||"getTransactionCount"===r.t0||"getCode"===r.t0?8:"getStorageAt"===r.t0?13:"getBlock"===r.t0?18:"call"===r.t0||"estimateGas"===r.t0?23:"getTransaction"===r.t0||"getTransactionReceipt"===r.t0?28:"getLogs"===r.t0?29:35;break;case 4:return r.abrupt("return",o[a]());case 5:if(!o.getEtherPrice){r.next=7;break}return r.abrupt("return",o.getEtherPrice());case 7:return r.abrupt("break",35);case 8:if(!n.blockTag||!(0,i.isHexString)(n.blockTag)){r.next=12;break}return r.next=11,L(e,t);case 11:o=r.sent;case 12:return r.abrupt("return",o[a](n.address,n.blockTag||"latest"));case 13:if(!n.blockTag||!(0,i.isHexString)(n.blockTag)){r.next=17;break}return r.next=16,L(e,t);case 16:o=r.sent;case 17:return r.abrupt("return",o.getStorageAt(n.address,n.position,n.blockTag||"latest"));case 18:if(!n.blockTag||!(0,i.isHexString)(n.blockTag)){r.next=22;break}return r.next=21,L(e,t);case 21:o=r.sent;case 22:return r.abrupt("return",o[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash));case 23:if(!n.blockTag||!(0,i.isHexString)(n.blockTag)){r.next=27;break}return r.next=26,L(e,t);case 26:o=r.sent;case 27:return r.abrupt("return",o[a](n.transaction));case 28:return r.abrupt("return",o[a](n.transactionHash));case 29:if(f=n.filter,!(f.fromBlock&&(0,i.isHexString)(f.fromBlock)||f.toBlock&&(0,i.isHexString)(f.toBlock))){r.next=34;break}return r.next=33,L(e,t);case 33:o=r.sent;case 34:return r.abrupt("return",o.getLogs(f));case 35:return r.abrupt("return",A.throwError("unknown method error",b.Logger.errors.UNKNOWN_ERROR,{method:a,params:n}));case 36:case"end":return r.stop()}}),c)})))}var F=function(e){m(a,e);var t=y(a);function a(e,r){var c;p(this,a),A.checkNew(this instanceof a?this.constructor:void 0,a),0===e.length&&A.throwArgumentError("missing providers","providers",e);var i=e.map((function(e,t){if(n.Provider.isProvider(e)){var a=(0,u.isCommunityResource)(e)?2e3:750,r=1;return Object.freeze({provider:e,weight:1,stallTimeout:a,priority:r})}var c=(0,o.shallowCopy)(e);null==c.priority&&(c.priority=1),null==c.stallTimeout&&(c.stallTimeout=(0,u.isCommunityResource)(e)?2e3:750),null==c.weight&&(c.weight=1);var i=c.weight;return(i%1||i>512||i<1)&&A.throwArgumentError("invalid weight; must be integer in [1, 512]","providers[".concat(t,"].weight"),i),Object.freeze(c)})),f=i.reduce((function(e,t){return e+t.weight}),0);null==r?r=f/2:r>f&&A.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);var d=O(i.map((function(e){return e.provider.network})));return null==d&&(d=new Promise((function(e,t){setTimeout((function(){c.detectNetwork().then(e,t)}),0)}))),c=t.call(this,d),(0,o.defineReadOnly)(_(c),"providerConfigs",Object.freeze(i)),(0,o.defineReadOnly)(_(c),"quorum",r),c._highestBlockNumber=-1,c}return v(a,[{key:"detectNetwork",value:function(){return E(this,void 0,void 0,r.default.mark((function e(){var t;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})));case 2:return t=e.sent,e.abrupt("return",O(t));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"perform",value:function(e,t){return E(this,void 0,void 0,r.default.mark((function a(){var n,c,i,d,s,u,l,h,p,x,v=this;return r.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if("sendTransaction"!==e){a.next=13;break}return a.next=3,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})));case 3:n=a.sent,c=0;case 5:if(!(c=v.quorum)){a.next=19;break}if(p=d(b),void 0===p){a.next=15;break}return s.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),a.abrupt("return",{v:p});case 15:if(h){a.next=18;break}return a.next=18,j(100).getPromise();case 18:h=!1;case 19:if(x=s.reduce((function(e,t){if(!t.done||null==t.error)return e;var a=t.error.code;return N.indexOf(a)>=0&&(e[a]||(e[a]={error:t.error,weight:0}),e[a].weight+=t.weight),e}),{}),Object.keys(x).forEach((function(e){var t=x[e];if(!(t.weight=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.chains=t._getInitializedChains=void 0;var c=n(a("011f")),i=n(a("6d07")),o=n(a("9d0c")),f=n(a("b909")),d=n(a("16c9"));function s(e){var t,a,n={1:"mainnet",3:"ropsten",4:"rinkeby",42:"kovan",5:"goerli"},s={mainnet:c.default,ropsten:i.default,rinkeby:o.default,kovan:f.default,goerli:d.default};if(e)try{for(var u=r(e),b=u.next();!b.done;b=u.next()){var l=b.value,h=l.name;n[l.chainId.toString()]=h,s[h]=l}}catch(p){t={error:p}}finally{try{b&&!b.done&&(a=u.return)&&a.call(u)}finally{if(t)throw t.error}}return s["names"]=n,s}t._getInitializedChains=s,t.chains=s()},"1e3c":function(e,t,a){var r=a("6430"),n=a("1545"),c=a("3fb5"),i=a("8707").Buffer,o={"des-ede3-cbc":n.CBC.instantiate(n.EDE),"des-ede3":n.EDE,"des-ede-cbc":n.CBC.instantiate(n.EDE),"des-ede":n.EDE,"des-cbc":n.CBC.instantiate(n.DES),"des-ecb":n.DES};function f(e){r.call(this);var t,a=e.mode.toLowerCase(),n=o[a];t=e.decrypt?"decrypt":"encrypt";var c=e.key;i.isBuffer(c)||(c=i.from(c)),"des-ede"!==a&&"des-ede-cbc"!==a||(c=i.concat([c,c.slice(0,8)]));var f=e.iv;i.isBuffer(f)||(f=i.from(f)),this._des=n.create({key:c,iv:f,type:t})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],e.exports=f,c(f,r),f.prototype._update=function(e){return i.from(this._des.update(e))},f.prototype._final=function(){return i.from(this._des.final())}},"1f87":function(e,t,a){"use strict";(function(r){var n=a("3fce"),c=a("7281"),i=a("c8b0"),o=a("7ad9");t=e.exports,t.addPrefix=function(e,t){var a;if(r.isBuffer(e))a=o.varintBufferEncode(e);else{if(!i[e])throw new Error("multicodec not recognized");a=i[e]}return r.concat([a,t])},t.rmPrefix=function(e){return n.decode(e),e.slice(n.decode.bytes)},t.getCodec=function(e){var t=n.decode(e),a=c.get(t);if(void 0===a)throw new Error("Code ".concat(t," not found"));return a},t.getName=function(e){return c.get(e)},t.getNumber=function(e){var t=i[e];if(void 0===t)throw new Error("Codec `"+e+"` not found");return o.varintBufferDecode(t)[0]},t.getCode=function(e){return n.decode(e)},t.getCodeVarint=function(e){var t=i[e];if(void 0===t)throw new Error("Codec `"+e+"` not found");return t},t.getVarint=function(e){return n.encode(e)};var f=a("1893");Object.assign(t,f),t.print=a("6f7b")}).call(this,a("b639").Buffer)},"1fad":function(e){e.exports=JSON.parse('{"name":"EIP-1559","number":1559,"comment":"Fee market change for ETH 1.0 chain","url":"https://eips.ethereum.org/EIPS/eip-1559","status":"Review","minimumHardfork":"berlin","requiredEIPs":[2930],"gasConfig":{"baseFeeMaxChangeDenominator":{"v":8,"d":"Maximum base fee change denominator"},"elasticityMultiplier":{"v":2,"d":"Maximum block gas target elasticity"},"initialBaseFee":{"v":1000000000,"d":"Initial base fee on first EIP1559 block"}},"gasPrices":{},"vm":{},"pow":{}}')},"1fb5":function(e,t,a){"use strict";t.byteLength=s,t.toByteArray=b,t.fromByteArray=p;for(var r=[],n=[],c="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,f=i.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");-1===a&&(a=t);var r=a===t?0:4-a%4;return[a,r]}function s(e){var t=d(e),a=t[0],r=t[1];return 3*(a+r)/4-r}function u(e,t,a){return 3*(t+a)/4-a}function b(e){var t,a,r=d(e),i=r[0],o=r[1],f=new c(u(e,i,o)),s=0,b=o>0?i-4:i;for(a=0;a>16&255,f[s++]=t>>8&255,f[s++]=255&t;return 2===o&&(t=n[e.charCodeAt(a)]<<2|n[e.charCodeAt(a+1)]>>4,f[s++]=255&t),1===o&&(t=n[e.charCodeAt(a)]<<10|n[e.charCodeAt(a+1)]<<4|n[e.charCodeAt(a+2)]>>2,f[s++]=t>>8&255,f[s++]=255&t),f}function l(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,a){for(var r,n=[],c=t;cf?f:o+i));return 1===n?(t=e[a-1],c.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[a-2]<<8)+e[a-1],c.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),c.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},"1fe8":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionFragment=t.ConstructorFragment=t.EventFragment=t.Fragment=t.ParamType=t.FormatTypes=void 0;var r=a("846b"),n=a("16a3"),c=a("20ed"),i=a("d87f");function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){var t=b();return function(){var a,r=l(e);if(t){var n=l(this).constructor;a=Reflect.construct(r,arguments,n)}else a=r.apply(this,arguments);return s(this,a)}}function s(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var a=0;a=0||"tuple"===e)&&y[t])return!0;return(g[t]||"payable"===t)&&v.throwArgumentError("invalid modifier","name",t),!1}function _(e,t){var a=e;function r(t){v.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function n(e){var a={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(a.indexed=!1),a}e=e.replace(/\s/g," ");for(var c={type:"",name:"",state:{allowType:!0}},i=c,o=0;o2&&v.throwArgumentError("invalid human-readable ABI signature","value",e),a[1].match(/^[0-9]+$/)||v.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=r.BigNumber.from(a[1]),a[0]):e}function I(t,a){a.constant=!1,a.payable=!1,a.stateMutability="nonpayable",t.split(" ").forEach((function(t){switch(t.trim()){case"constant":a.constant=!0;break;case"payable":a.payable=!0,a.stateMutability="payable";break;case"nonpayable":a.payable=!1,a.stateMutability="nonpayable";break;case"pure":a.constant=!0,a.stateMutability="pure";break;case"view":a.constant=!0,a.stateMutability="view";break;case"external":case"public":case"":break;default:e("log","unknown modifier: "+t," at node_modules/@ethersproject/abi/lib.esm/fragments.js:506")}}))}function j(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&v.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&v.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||v.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&v.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&v.throwArgumentError("unable to determine stateMutability","value",e),t}t.EventFragment=C;var N=function(e){o(a,e);var t=d(a);function a(){return h(this,a),t.apply(this,arguments)}return x(a,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||v.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===S.sighash&&v.throwError("cannot format a constructor for sighash",c.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?a.fromString(e):a.fromObject(e)}},{key:"fromObject",value:function(e){if(a.isConstructorFragment(e))return e;"constructor"!==e.type&&v.throwArgumentError("invalid constructor object","value",e);var t=j(e);t.constant&&v.throwArgumentError("constructor cannot be constant","value",e);var n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(A.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.BigNumber.from(e.gas):null};return new a(m,n)}},{key:"fromString",value:function(e){var t={type:"constructor"};e=T(e,t);var r=e.match(L);return r&&"constructor"===r[1].trim()||v.throwArgumentError("invalid constructor string","value",e),t.inputs=P(r[2].trim(),!1),I(r[3].trim(),t),a.fromObject(t)}},{key:"isConstructorFragment",value:function(e){return e&&e._isFragment&&"constructor"===e.type}}]),a}(O);t.ConstructorFragment=N;var B=function(e){o(a,e);var t=d(a);function a(){return h(this,a),t.apply(this,arguments)}return x(a,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||v.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),ouputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==S.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ",e!==S.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?a.fromString(e):a.fromObject(e)}},{key:"fromObject",value:function(e){if(a.isFunctionFragment(e))return e;"function"!==e.type&&v.throwArgumentError("invalid function object","value",e);var t=j(e),n={type:e.type,name:U(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(A.fromObject):[],outputs:e.outputs?e.outputs.map(A.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.BigNumber.from(e.gas):null};return new a(m,n)}},{key:"fromString",value:function(e){var t={type:"function"};e=T(e,t);var r=e.split(" returns ");r.length>2&&v.throwArgumentError("invalid function string","value",e);var n=r[0].match(L);if(n||v.throwArgumentError("invalid function signature","value",e),t.name=n[1].trim(),t.name&&U(t.name),t.inputs=P(n[2],!1),I(n[3].trim(),t),r.length>1){var c=r[1].match(L);""==c[1].trim()&&""==c[3].trim()||v.throwArgumentError("unexpected tokens","value",e),t.outputs=P(c[2],!1)}else t.outputs=[];return a.fromObject(t)}},{key:"isFunctionFragment",value:function(e){return e&&e._isFragment&&"function"===e.type}}]),a}(N);function R(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}t.FunctionFragment=B;var M=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function U(e){return e&&e.match(M)||v.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}var L=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function $(e){e=e.trim();for(var t=[],a="",r=0,n=0;nd[a]||console.log.apply(console,t)}},{key:"debug",value:function(){for(var t=arguments.length,a=new Array(t),r=0;r>4],a+=x[15&t[c]];n.push(e+"=Uint8Array(0x"+a+")")}else n.push(e+"="+JSON.stringify(t))}catch(i){n.push(e+"="+JSON.stringify(r[e].toString()))}})),n.push("code=".concat(a)),n.push("version=".concat(this.version));var c=t;n.length&&(t+=" ("+n.join(", ")+")");var i=new Error(t);return i.reason=c,i.code=a,Object.keys(r).forEach((function(e){i[e]=r[e]})),i}},{key:"throwError",value:function(e,t,a){throw this.makeError(e,t,a)}},{key:"throwArgumentError",value:function(t,a,r){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:a,value:r})}},{key:"assert",value:function(e,t,a,r){e||this.throwError(t,a,r)}},{key:"assertArgument",value:function(e,t,a,r){e||this.throwArgumentError(t,a,r)}},{key:"checkNormalize",value:function(t){null==t&&(t="platform missing String.prototype.normalize"),p&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:p})}},{key:"checkSafeUint53",value:function(t,a){"number"===typeof t&&(null==a&&(a="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(a,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(a,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}},{key:"checkArgumentCount",value:function(t,a,r){r=r?": "+r:"",ta&&this.throwError("too many arguments"+r,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:a})}},{key:"checkNew",value:function(t,a){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:a.name})}},{key:"checkAbstract",value:function(t,a){t===a?this.throwError("cannot instantiate abstract class "+JSON.stringify(a.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:a.name})}}],[{key:"globalLogger",value:function(){return u||(u=new e(r.version)),u}},{key:"setCensorship",value:function(t,a){if(!t&&a&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),o){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}f=!!t,o=!!a}},{key:"setLogLevel",value:function(t){var a=d[t.toLowerCase()];null!=a?s=a:e.globalLogger().warn("invalid log level - "+t)}},{key:"from",value:function(t){return new e(t)}}]),e}();t.Logger=v,v.errors=h,v.levels=l},"20f6":function(e,t,a){var r=t;r.der=a("cfbd"),r.pem=a("8df7")},2113:function(e,t,a){"use strict";a.r(t);var r=a("74bf"),n=a.n(r);for(var c in r)"default"!==c&&function(e){a.d(t,e,(function(){return r[e]}))}(c);t["default"]=n.a},2137:function(e,t,a){"use strict";var r=a("c3c0"),n=a("da3e");function c(e,t,a){if(!(this instanceof c))return new c(e,t,a);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,a))}e.exports=c,c.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t0?(t.unshift(a),t):[a]},s.prototype.checkInterfaceSupport=function(){var e=c(r.mark((function e(a,n){var c;return r.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(d[n]){e.next=2;break}return e.abrupt("return");case 2:return c=!1,e.prev=3,e.next=6,a.methods.supportsInterface(d[n]).call();case 6:c=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),t("warn",'Could not verify interface of resolver contract at "'+a.options.address+'". '," at node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js:213");case 12:if(c){e.next=14;break}throw f.ResolverMethodMissingError(a.options.address,n);case 14:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t,a){return e.apply(this,arguments)}}(),e.exports=s}).call(this,a("0de9")["default"])},2236:function(e,t,a){var r=a("5a43");function n(e){if(Array.isArray(e))return r(e)}e.exports=n},2366:function(e,t){for(var a=[],r=0;r<256;++r)a[r]=(r+256).toString(16).substr(1);function n(e,t){var r=t||0,n=a;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}e.exports=n},"23c4":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.halfWidth=void 0;var r=n(a("3ce7"));function n(e){return e&&e.__esModule?e:{default:e}}var c=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function i(e){return(0,r.default)(e),c.test(e)}t.halfWidth=c},"23c4e":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=n(a("3ce7"));function n(e){return e&&e.__esModule?e:{default:e}}var c=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,i=/^([0-9a-fA-F]){12}$/,o=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;function f(e,t){return(0,r.default)(e),t&&(t.no_colons||t.no_separators)?i.test(e):c.test(e)||o.test(e)}e.exports=t.default,e.exports.default=t.default},"240f":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.locales=void 0;var r=c(a("3ce7")),n=a("3c37");function c(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(0,r.default)(e),t=t||{};var a=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?n.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var c=parseFloat(e.replace(",","."));return a.test(e)&&(!t.hasOwnProperty("min")||c>=t.min)&&(!t.hasOwnProperty("max")||c<=t.max)&&(!t.hasOwnProperty("lt")||ct.gt)}var o=Object.keys(n.decimal);t.locales=o},2437:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(a("8e09"));function r(e){return e&&e.__esModule?e:{default:e}}var n={data:function(){return{show:!0}},methods:{}};t.default=n},"243a":function(e,t,a){var r=a("7e30"),n=a("89d2"),c=a("fe9c"),i=a("11dc"),o=a("399f"),f=function(e,t,a,r,n){return!e||"object"!==typeof e||e instanceof Error||!e.data||((e.data&&"object"===typeof e.data||Array.isArray(e.data))&&(e.data=JSON.stringify(e.data,null,2)),e=e.message+"\n"+e.data),"string"===typeof e&&(e=new Error(e)),"function"===typeof r&&r(e,n),"function"===typeof a&&((t&&"function"===typeof t.listeners&&t.listeners("error").length||"function"===typeof r)&&t.catch((function(){})),setTimeout((function(){a(e)}),1)),t&&"function"===typeof t.emit&&setTimeout((function(){t.emit("error",e,n),t.removeAllListeners()}),1),t},d=function(e){return e&&"object"===typeof e&&e.name&&-1!==e.name.indexOf("(")?e.name:e.name+"("+s(!1,e.inputs).join(",")+")"},s=function e(t,a){var r=[];return a.forEach((function(a){if("object"===typeof a.components){if("tuple"!==a.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var n="",c=a.type.indexOf("[");c>=0&&(n=a.type.substring(c));var i=e(t,a.components);Array.isArray(i)&&t?r.push("tuple("+i.join(",")+")"+n):t?r.push("("+i+")"):r.push("("+i.join(",")+")"+n)}else r.push(a.type)})),r},u=function(e){return"0x"+i(e).toString("hex")},b=function(e){if(!n.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",a=0,r=e.length;for("0x"===e.substring(0,2)&&(a=2);a7?a+=e[r].toUpperCase():a+=e[r];return a},m=function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;var a=new o(e),r=new o(t);return a.lt(r)?-1:a.eq(r)?0:1}return 0};e.exports={_fireError:f,_jsonInterfaceMethodToString:d,_flattenTypes:s,randomHex:u,BN:n.BN,isBN:n.isBN,isBigNumber:n.isBigNumber,isHex:n.isHex,isHexStrict:n.isHexStrict,sha3:n.sha3,sha3Raw:n.sha3Raw,keccak256:n.sha3,soliditySha3:c.soliditySha3,soliditySha3Raw:c.soliditySha3Raw,encodePacked:c.encodePacked,isAddress:n.isAddress,checkAddressChecksum:n.checkAddressChecksum,toChecksumAddress:v,toHex:n.toHex,toBN:n.toBN,bytesToHex:n.bytesToHex,hexToBytes:n.hexToBytes,hexToNumberString:n.hexToNumberString,hexToNumber:n.hexToNumber,toDecimal:n.hexToNumber,numberToHex:n.numberToHex,fromDecimal:n.numberToHex,hexToUtf8:n.hexToUtf8,hexToString:n.hexToUtf8,toUtf8:n.hexToUtf8,stripHexPrefix:n.stripHexPrefix,utf8ToHex:n.utf8ToHex,stringToHex:n.utf8ToHex,fromUtf8:n.utf8ToHex,hexToAscii:b,toAscii:b,asciiToHex:l,fromAscii:l,unitMap:r.unitMap,toWei:x,fromWei:p,padLeft:n.leftPad,leftPad:n.leftPad,padRight:n.rightPad,rightPad:n.rightPad,toTwosComplement:n.toTwosComplement,isBloom:n.isBloom,isUserEthereumAddressInBloom:n.isUserEthereumAddressInBloom,isContractAddressInBloom:n.isContractAddressInBloom,isTopic:n.isTopic,isTopicInBloom:n.isTopicInBloom,isInBloom:n.isInBloom,compareBlockNumbers:m,toNumber:n.toNumber}},"245c":function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=d;var r=a("ecb6"),n=a("20ed"),c=a("a721"),i=new n.Logger(c.version),o=null;try{if(o=window,null==o)throw new Error("try next")}catch(s){try{if(o=e,null==o)throw new Error("try next")}catch(s){o={}}}var f=o.crypto||o.msCrypto;function d(e){(e<=0||e>1024||e%1||e!=e)&&i.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return f.getRandomValues(t),(0,r.arrayify)(t)}f&&f.getRandomValues||(i.warn("WARNING: Missing strong random number source"),f={getRandomValues:function(e){return i.throwError("no secure random source avaialble",n.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})}).call(this,a("c8ba"))},"249c":function(e,t){e.exports="/static/tongyonh/Frame70.png"},"24c0":function(e){e.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","eip":{"url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final"},"gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"24f8":function(e,t,a){var r=a("9490"),n=a("0b16"),c=e.exports;for(var i in r)r.hasOwnProperty(i)&&(c[i]=r[i]);function o(e){if("string"===typeof e&&(e=n.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}c.request=function(e,t){return e=o(e),r.request.call(this,e,t)},c.get=function(e,t){return e=o(e),r.get.call(this,e,t)}},"24fc":function(e,t,a){"use strict";a.r(t);var r=a("76e0"),n=a.n(r);for(var c in r)"default"!==c&&function(e){a.d(t,e,(function(){return r[e]}))}(c);t["default"]=n.a},"257a":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("b79a");t.input=r;var n=a("77a7");t.output=n},"25b9":function(e,t,a){(function(e){var r=a("d26d"),n=a("774b"),c=function(e){var t=e.slice(0,2),a=e.slice(2),r="";return r="0x"===t?a:e,n.fromHexString(r)},i={swarm:function(e){var t=n.encode(c(e),"keccak-256");return new r(1,"swarm-manifest",t).buffer},ipfs:function(e){var t=n.fromB58String(e);return new r(1,"dag-pb",t).buffer},utf8:function(t){return e.from(t,"utf8")}},o={hexMultiHash:function(e){var t=new r(e);return n.decode(t.multihash).digest.toString("hex")},b58MultiHash:function(e){var t=new r(e);return n.toB58String(t.multihash)},utf8:function(e){return e.toString("utf8")}},f={"swarm-ns":{encode:i.swarm,decode:o.hexMultiHash},"ipfs-ns":{encode:i.ipfs,decode:o.b58MultiHash},"ipns-ns":{encode:i.ipfs,decode:o.b58MultiHash},default:{encode:i.utf8,decode:o.utf8}};t.hexStringToBuffer=c,t.profiles=f}).call(this,a("b639").Buffer)},2604:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(a("3ce7"));function n(e){return e&&e.__esModule?e:{default:e}}var c=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function i(e){return(0,r.default)(e),c.test(e)}e.exports=t.default,e.exports.default=t.default},2659:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TupleCoder=void 0;var r=a("938b"),n=a("f7da");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,f=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return o=e.done,e},e:function(e){f=!0,i=e},f:function(){try{o||null==a.return||a.return()}finally{if(f)throw i}}}}function n(e,t){if(e){if("string"===typeof e)return c(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a-1,a=e.indexOf("-")>-1&&e.indexOf("_")>-1;return{encode:function(e){var r="";r="string"===typeof e?o.from(e).toString("base64"):e.toString("base64"),a&&(r=r.replace(/\+/g,"-").replace(/\//g,"_"));var n=r.indexOf("=");return n>0&&!t&&(r=r.substring(0,n)),r},decode:function(t){var a,n=r(t);try{for(n.s();!(a=n.n()).done;){var c=a.value;if(e.indexOf(c)<0)throw new Error("invalid base64 character")}}catch(i){n.e(i)}finally{n.f()}return o.from(t,"base64")}}}},"277d":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.looseArrayify=c,t.zpad=i,t.getPassword=o,t.searchPath=f,t.uuidV4=d;var r=a("ecb6"),n=a("86c8");function c(e){return"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,r.arrayify)(e)}function i(e,t){e=String(e);while(e.lengtht)throw new TypeError("Script number overflow");if(a&&0===(127&e[r-1])&&(r<=1||0===(128&e[r-2])))throw new Error("Non-minimally encoded script number");if(5===r){var n=e.readUInt32LE(0),c=e.readUInt8(4);return 128&c?-(4294967296*(-129&c)+n):4294967296*c+n}for(var i=0,o=0;o2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function n(t){for(var a=Math.abs(t),n=r(a),c=e.allocUnsafe(n),i=t<0,o=0;o>=8;return 128&c[n-1]?c.writeUInt8(i?128:0,n-1):i&&(c[n-1]|=128),c}Object.defineProperty(t,"__esModule",{value:!0}),t.decode=a,t.encode=n}).call(this,a("b639").Buffer)},2858:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.langEn=void 0;var r=a("c9b1");function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:1500;uni.showToast({title:e,icon:"none",duration:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r;t.default=n},"28fe":function(e){e.exports=JSON.parse('{"name":"rinkeby","chainId":4,"networkId":4,"comment":"PoA test network","url":"https://www.rinkeby.io","genesis":{"hash":"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177","timestamp":"0x58ee40ba","gasLimit":4700000,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x53580584816f617295ea26c0e17641e0120cab2f0a8ffb53a866fd53aa8e8c2d"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":1,"consensus":"poa","finality":null},{"name":"dao","block":null,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":2,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":3,"consensus":"poa","finality":null},{"name":"byzantium","block":1035301,"consensus":"poa","finality":null},{"name":"constantinople","block":3660663,"consensus":"poa","finality":null},{"name":"petersburg","block":4321234,"consensus":"poa","finality":null},{"name":"istanbul","block":5435345,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"52.169.42.101","port":30303,"id":"a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf","location":"","comment":"IE"},{"ip":"52.3.158.184","port":30303,"id":"343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8","location":"","comment":"INFURA"},{"ip":"159.89.28.211","port":30303,"id":"b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6","location":"","comment":"AKASHA"}]}')},2990:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return c})),a.d(t,"a",(function(){return r}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("view",{staticClass:e._$s(0,"sc","index-header "),attrs:{_i:0}},[a("view",{staticClass:e._$s(1,"sc","con"),attrs:{_i:1}},[a("view",{staticClass:e._$s(2,"sc","tabbar_item"),attrs:{_i:2},on:{click:function(t){return e.goToPage(1)}}},[a("view",{staticClass:e._$s(3,"sc","uni-tabbar_bd"),attrs:{_i:3}},[a("view",{staticClass:e._$s(4,"sc","uni-tabbar_icon"),attrs:{_i:4}},[a("image",{staticClass:e._$s(5,"sc","img1"),attrs:{src:e._$s(5,"a-src","/static/tongyonh/"+(1==e.selectActive?"Uniona":"Union")+".png"),_i:5}})]),a("view",{staticClass:e._$s(6,"sc","uni-tabbar_label"),class:e._$s(6,"c",["text",1==e.selectActive?"active":""]),attrs:{_i:6}})])]),a("view",{staticClass:e._$s(7,"sc","tabbar_item"),attrs:{_i:7},on:{click:function(t){return e.goToPage(2)}}},[a("view",{staticClass:e._$s(8,"sc","uni-tabbar_bd"),attrs:{_i:8}},[a("view",{staticClass:e._$s(9,"sc","uni-tabbar_icon"),attrs:{_i:9}},[a("image",{staticClass:e._$s(10,"sc","img1"),attrs:{src:e._$s(10,"a-src","/static/tongyonh/"+(e.selectActive,"nft_icon.png")),_i:10}})]),a("view",{staticClass:e._$s(11,"sc","uni-tabbar_label"),class:e._$s(11,"c",["text",2==e.selectActive?"active":""]),attrs:{_i:11}})])]),a("view",{staticClass:e._$s(12,"sc","tabbar_item"),attrs:{_i:12},on:{click:function(t){return e.goToPage(3)}}},[a("view",{staticClass:e._$s(13,"sc","uni-tabbar_bd"),attrs:{_i:13}},[a("view",{staticClass:e._$s(14,"sc","uni-tabbar_icon"),attrs:{_i:14}},[a("image",{staticClass:e._$s(15,"sc","img1"),attrs:{src:e._$s(15,"a-src","/static/tongyonh/"+(3==e.selectActive?"market_icona":"market_icon")+".png"),_i:15}})]),a("view",{staticClass:e._$s(16,"sc","uni-tabbar_label"),class:e._$s(16,"c",["text",3==e.selectActive?"active":""]),attrs:{_i:16}})])]),a("view",{staticClass:e._$s(17,"sc","tabbar_item"),attrs:{_i:17},on:{click:function(t){return e.goToPage(4)}}},[a("view",{staticClass:e._$s(18,"sc","uni-tabbar_bd"),attrs:{_i:18}},[a("view",{staticClass:e._$s(19,"sc","uni-tabbar_icon"),attrs:{_i:19}},[a("image",{staticClass:e._$s(20,"sc","img1"),attrs:{src:e._$s(20,"a-src","/static/tongyonh/"+(4==e.selectActive?"Discover_icona":"Discover_icon")+".png"),_i:20}})]),a("view",{staticClass:e._$s(21,"sc","uni-tabbar_label"),class:e._$s(21,"c",["text",4==e.selectActive?"active":""]),attrs:{_i:21}})])]),a("view",{staticClass:e._$s(22,"sc","tabbar_item"),attrs:{_i:22},on:{click:function(t){return e.goToPage(5)}}},[a("view",{staticClass:e._$s(23,"sc","uni-tabbar_bd"),attrs:{_i:23}},[a("view",{staticClass:e._$s(24,"sc","uni-tabbar_icon"),attrs:{_i:24}},[a("image",{staticClass:e._$s(25,"sc","img1"),attrs:{src:e._$s(25,"a-src","/static/tongyonh/"+(5==e.selectActive?"Profile_icon":"Profile_icona")+".png"),_i:25}})]),a("view",{staticClass:e._$s(26,"sc","uni-tabbar_label"),class:e._$s(26,"c",["text",5==e.selectActive?"active":""]),attrs:{_i:26}})])])])])},c=[]},"2a21":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=n,t.encode=c;var r=a("ecb6");function n(e){e=atob(e);for(var t=[],a=0;a0?"red":"green"),attrs:{_i:"12-"+i}},[e._$s("13-"+i,"i",t.change_percent>=0)?r("image",{staticClass:e._$s("13-"+i,"sc","img1"),attrs:{src:e._$s("13-"+i,"a-src",a("27ac")),_i:"13-"+i}}):e._e(),e._$s("14-"+i,"i",t.change_percent<0)?r("image",{staticClass:e._$s("14-"+i,"sc","img1"),attrs:{src:e._$s("14-"+i,"a-src",a("cc5e")),_i:"14-"+i}}):e._e(),e._v(e._$s("12-"+i,"t2-0",e._s(t.change_percent)))])])}))],2),r("tab-bar",{attrs:{selectActive:3,_i:15}})],1)},c=[]},"2c37":function(e,t){var a=Math.pow(2,7),r=Math.pow(2,14),n=Math.pow(2,21),c=Math.pow(2,28),i=Math.pow(2,35),o=Math.pow(2,42),f=Math.pow(2,49),d=Math.pow(2,56),s=Math.pow(2,63);e.exports=function(e){return e=0}))}function o(e){var t="",a=0,r=e.length;for("0x"===e.substring(0,2)&&(a=2);al&&(G("Max buffer length exceeded: textNode"),e=Math.max(e,a.length)),M.length>l&&(G("Max buffer length exceeded: numberNode"),e=Math.max(e,M.length)),R=l-e+H}function G(e){void 0!==a&&(s(a),u(),a=void 0),t=Error(e+"\nLn: "+W+"\nCol: "+q+"\nChr: "+r),c(Object(n["o"])(void 0,void 0,t))}function V(){if(U===h)return s({}),u(),void($=!0);U===p&&0===z||G("Unexpected end"),void 0!==a&&(s(a),u(),a=void 0),$=!0}function Z(e){return"\r"===e||"\n"===e||" "===e||"\t"===e}function X(e){if(!t){if($)return G("Cannot write after close");var n=0;r=e[0];while(r){if(n>0&&(i=r),r=e[n++],!r)break;switch(H++,"\n"===r?(W++,q=0):q++,U){case h:if("{"===r)U=v;else if("["===r)U=b;else if(!Z(r))return G("Non-whitespace before {[.");continue;case w:case v:if(Z(r))continue;if(U===w)L.push(_);else{if("}"===r){s({}),u(),U=L.pop()||p;continue}L.push(m)}if('"'!==r)return G('Malformed object key should start with " ');U=y;continue;case _:case m:if(Z(r))continue;if(":"===r)U===m?(L.push(m),void 0!==a&&(s({}),o(a),a=void 0),z++):void 0!==a&&(o(a),a=void 0),U=p;else if("}"===r)void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=L.pop()||p;else{if(","!==r)return G("Bad object");U===m&&L.push(m),void 0!==a&&(s(a),u(),a=void 0),U=w}continue;case b:case p:if(Z(r))continue;if(U===b){if(s([]),z++,U=p,"]"===r){u(),z--,U=L.pop()||p;continue}L.push(g)}if('"'===r)U=y;else if("{"===r)U=v;else if("["===r)U=b;else if("t"===r)U=k;else if("f"===r)U=A;else if("n"===r)U=C;else if("-"===r)M+=r;else if("0"===r)M+=r,U=N;else{if(-1==="123456789".indexOf(r))return G("Bad value");M+=r,U=N}continue;case g:if(","===r)L.push(g),void 0!==a&&(s(a),u(),a=void 0),U=p;else{if("]"!==r){if(Z(r))continue;return G("Bad array")}void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=L.pop()||p}continue;case y:void 0===a&&(a="");var c=n-1;e:while(1){while(D>0)if(F+=r,r=e.charAt(n++),4===D?(a+=String.fromCharCode(parseInt(F,16)),D=0,c=n-1):D++,!r)break e;if('"'===r&&!B){U=L.pop()||p,a+=e.substring(c,n-1);break}if("\\"===r&&!B&&(B=!0,a+=e.substring(c,n-1),r=e.charAt(n++),!r))break;if(B){if(B=!1,"n"===r?a+="\n":"r"===r?a+="\r":"t"===r?a+="\t":"f"===r?a+="\f":"b"===r?a+="\b":"u"===r?(D=1,F=""):a+=r,r=e.charAt(n++),c=n-1,r)continue;break}f.lastIndex=n;var l=f.exec(e);if(!l){n=e.length+1,a+=e.substring(c,n-1);break}if(n=l.index+1,r=e.charAt(l.index),!r){a+=e.substring(c,n-1);break}}continue;case k:if(!r)continue;if("r"!==r)return G("Invalid true started with t"+r);U=x;continue;case x:if(!r)continue;if("u"!==r)return G("Invalid true started with tr"+r);U=S;continue;case S:if(!r)continue;if("e"!==r)return G("Invalid true started with tru"+r);s(!0),u(),U=L.pop()||p;continue;case A:if(!r)continue;if("a"!==r)return G("Invalid false started with f"+r);U=E;continue;case E:if(!r)continue;if("l"!==r)return G("Invalid false started with fa"+r);U=O;continue;case O:if(!r)continue;if("s"!==r)return G("Invalid false started with fal"+r);U=P;continue;case P:if(!r)continue;if("e"!==r)return G("Invalid false started with fals"+r);s(!1),u(),U=L.pop()||p;continue;case C:if(!r)continue;if("u"!==r)return G("Invalid null started with n"+r);U=T;continue;case T:if(!r)continue;if("l"!==r)return G("Invalid null started with nu"+r);U=I;continue;case I:if(!r)continue;if("l"!==r)return G("Invalid null started with nul"+r);s(null),u(),U=L.pop()||p;continue;case j:if("."!==r)return G("Leading zero not followed by .");M+=r,U=N;continue;case N:if(-1!=="0123456789".indexOf(r))M+=r;else if("."===r){if(-1!==M.indexOf("."))return G("Invalid number has two dots");M+=r}else if("e"===r||"E"===r){if(-1!==M.indexOf("e")||-1!==M.indexOf("E"))return G("Invalid number has two exponential");M+=r}else if("+"===r||"-"===r){if("e"!==i&&"E"!==i)return G("Invalid symbol in number");M+=r}else M&&(s(parseFloat(M)),u(),M=""),n--,U=L.pop()||p;continue;default:return G("Unknown state: "+U)}}H>=R&&K()}}e(n["m"]).on(X),e(n["n"]).on(V)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return c}));var n=r(19),i=r(3),a=r(2),o=r(20),s=r(0);function u(){return new XMLHttpRequest}function c(e,t,r,u,c,l,f){var d=e(i["m"]).emit,h=e(i["b"]).emit,p=0,v=!0;function m(){if("2"===String(t.status)[0]){var e=t.responseText,r=(" "+e.substr(p)).substr(1);r&&d(r),p=Object(a["e"])(e)}}function b(t){try{v&&e(i["c"]).emit(t.status,Object(o["a"])(t.getAllResponseHeaders())),v=!1}catch(r){}}e(i["a"]).on((function(){t.onreadystatechange=null,t.abort()})),"onprogress"in t&&(t.onprogress=m),t.onreadystatechange=function(){switch(t.readyState){case 2:case 3:return b(t);case 4:b(t);var r="2"===String(t.status)[0];r?(m(),e(i["n"]).emit()):h(Object(i["o"])(t.status,t.responseText))}};try{for(var g in t.open(r,u,!0),l)t.setRequestHeader(g,l[g]);Object(n["a"])(window.location,Object(n["b"])(u))||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.withCredentials=f,t.send(c)}catch(y){window.setTimeout(Object(s["j"])(h,Object(i["o"])(void 0,void 0,y)),0)}}},function(e,t,r){"use strict";function n(e,t){function r(e){return{"http:":80,"https:":443}[e]}function n(t){return String(t.port||r(t.protocol||e.protocol))}return!!(t.protocol&&t.protocol!==e.protocol||t.host&&t.host!==e.host||t.host&&n(t)!==n(e))}function i(e){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/,r=t.exec(e)||[];return{protocol:r[1]||"",host:r[2]||"",port:r[3]||""}}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}))},function(e,t,r){"use strict";function n(e){var t={};return e&&e.split("\r\n").forEach((function(e){var r=e.indexOf(": ");t[e.substring(0,r)]=e.substring(r+2)})),t}r.d(t,"a",(function(){return n}))}])["default"]}))},"12ef":function(e,t,r){"use strict";(function(t){var n=r("085b"),i=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.attachToObject=function(e){var t=this.buildCall(),r=this.name.split(".");r.length>1?(e[r[0]]=e[r[0]]||{},e[r[0]][r[1]]=t):e[r[0]]=t},i.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||t("warn","Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway."," at node_modules/web3-core-subscriptions/lib/index.js:48");var r=new n({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return r.subscribe.apply(r,arguments)}},e.exports={subscriptions:i,subscription:n}}).call(this,r("0de9")["default"])},1370:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uInput:r("8033").default,uMask:r("0610").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","ac"),attrs:{_i:0}},[n("navigation",{staticClass:e._$s(1,"sc","aaa"),attrs:{showBack:!0,bgnum:!0,_i:1}},[n("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}},[e._v(e._$s(2,"t0-0",e._s(e.info.coinList[0].name2)))]),n("image",{staticClass:e._$s(3,"sc","renYou2"),attrs:{src:e._$s(3,"a-src",r("ede8")),_i:3},on:{click:function(t){return e.chooseImage()}},slot:"logo"})]),n("view",{staticClass:e._$s(4,"sc","main"),attrs:{_i:4}},[n("view",{staticClass:e._$s(5,"sc","item"),attrs:{_i:5}},[n("view",{staticClass:e._$s(6,"sc","title"),attrs:{_i:6}}),n("view",{staticClass:e._$s(7,"sc","inputcon"),attrs:{_i:7}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.toAddress,expression:"toAddress"}],staticClass:e._$s(8,"sc","input"),attrs:{placeholder:e._$s(8,"a-placeholder",e.addValue),_i:8},domProps:{value:e._$s(8,"v-model",e.toAddress)},on:{input:function(t){t.target.composing||(e.toAddress=t.target.value)}}}),n("image",{staticClass:e._$s(9,"sc","img"),attrs:{src:e._$s(9,"a-src",r("896c")),_i:9},on:{click:e.goAddress}})])]),n("view",{staticClass:e._$s(10,"sc","item"),attrs:{_i:10}},[n("view",{staticClass:e._$s(11,"sc","title flex"),attrs:{_i:11}},[n("text"),n("text",{staticClass:e._$s(13,"sc","all"),attrs:{_i:13},on:{click:e.toAll}})]),n("view",{staticClass:e._$s(14,"sc","inputcon2"),attrs:{_i:14}},[n("view",{staticClass:e._$s(15,"sc","input_con"),attrs:{_i:15}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.toValue,expression:"toValue"}],staticClass:e._$s(16,"sc","input2"),attrs:{_i:16},domProps:{value:e._$s(16,"v-model",e.toValue)},on:{input:function(t){t.target.composing||(e.toValue=t.target.value)}}})])])]),n("view",{staticClass:e._$s(17,"sc","btn"),attrs:{_i:17},on:{click:e.next}})]),e._$s(18,"i",e.show)?n("view",{staticClass:e._$s(18,"sc","bottom_con"),attrs:{_i:18}},[n("view",{staticClass:e._$s(19,"sc","title_con"),attrs:{_i:19}}),n("view",{staticClass:e._$s(20,"sc","money_con"),attrs:{_i:20}},[n("image",{staticClass:e._$s(21,"sc","img"),attrs:{src:e._$s(21,"a-src",r("3a7c")),_i:21},on:{click:function(t){e.show=!1}}}),n("view",{staticClass:e._$s(22,"sc","money"),attrs:{_i:22}},[n("text",{staticClass:e._$s(23,"sc","tex1"),attrs:{_i:23}},[e._v(e._$s(23,"t0-0",e._s(e.toValue)))]),n("text",{staticClass:e._$s(24,"sc","tex2"),attrs:{_i:24}},[e._v(e._$s(24,"t0-0",e._s(e.info.coinList[0].name2)))])]),n("view",{staticClass:e._$s(25,"sc","info_con"),attrs:{_i:25}},[n("view",{staticClass:e._$s(26,"sc","item"),attrs:{_i:26}},[n("text",{staticClass:e._$s(27,"sc","text1"),attrs:{_i:27}}),n("text",{staticClass:e._$s(28,"sc","text2"),attrs:{_i:28}},[e._v(e._$s(28,"t0-0",e._s(e.info.coinList[0].name2)))])]),n("view",{staticClass:e._$s(29,"sc","item"),attrs:{_i:29}},[n("text",{staticClass:e._$s(30,"sc","text1"),attrs:{_i:30}}),n("text",{staticClass:e._$s(31,"sc","text2"),attrs:{_i:31}},[e._v(e._$s(31,"t0-0",e._s(e.toAddress)))])]),n("view",{staticClass:e._$s(32,"sc","item"),attrs:{_i:32}},[n("text",{staticClass:e._$s(33,"sc","text1"),attrs:{_i:33}}),n("text",{staticClass:e._$s(34,"sc","text2"),attrs:{_i:34}},[e._v(e._$s(34,"t0-0",e._s(e.info.address)))])])])]),n("view",{staticClass:e._$s(35,"sc","btn"),attrs:{_i:35},on:{click:e.toNext}})]):e._e(),e._$s(36,"i",e.show2)?n("view",{staticClass:e._$s(36,"sc","bottom_con"),attrs:{_i:36}},[n("view",{staticClass:e._$s(37,"sc","title_con"),attrs:{_i:37}}),n("view",{staticClass:e._$s(38,"sc","money_con money_con2"),attrs:{_i:38}},[n("image",{staticClass:e._$s(39,"sc","img2"),attrs:{src:e._$s(39,"a-src",r("6a29")),_i:39},on:{click:e.back}}),n("u-input",{attrs:{placeholder:"Wallet password",type:e.type,border:e.border,"password-icon":e.passwordIcon,_i:40},on:{input:function(t){return e.btnco()}},model:{value:e._$s(40,"v-model",e.value),callback:function(t){e.value=t},expression:"value"}})],1),n("view",{staticClass:e._$s(41,"sc","btn2"),class:e._$s(41,"c",e.btntype?"btncolor":"btncolor2"),attrs:{_i:41},on:{click:function(t){return e.confirm()}}})]):e._e(),n("u-mask",{attrs:{show:e.show,"z-index":"10",_i:42}}),n("u-mask",{attrs:{show:e.show2,"z-index":"10",_i:43}})],1)},a=[]},1391:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commify=u,t.formatUnits=c,t.parseUnits=l,t.formatEther=f,t.parseEther=d;var n=r("846b"),i=r("20ed"),a=r("675e"),o=new i.Logger(a.version),s=["wei","kwei","mwei","gwei","szabo","finney","ether"];function u(e){var t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&o.throwArgumentError("invalid value","value",e);var r=t[0],n="";"-"===r.substring(0,1)&&(n="-",r=r.substring(1));while("0"===r.substring(0,1))r=r.substring(1);""===r&&(r="0");var i="";2===t.length&&(i="."+(t[1]||"0"));while(i.length>2&&"0"===i[i.length-1])i=i.substring(0,i.length-1);var a=[];while(r.length){if(r.length<=3){a.unshift(r);break}var s=r.length-3;a.unshift(r.substring(s)),r=r.substring(0,s)}return n+a.join(",")+i}function c(e,t){if("string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.formatFixed)(e,null!=t?t:18)}function l(e,t){if("string"!==typeof e&&o.throwArgumentError("value must be a string","value",e),"string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.parseFixed)(e,null!=t?t:18)}function f(e){return c(e,18)}function d(e){return l(e,18)}},"13af":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFixed=b,t.parseFixed=g,t.FixedNumber=t.FixedFormat=void 0;var n=r("ecb6"),i=r("20ed"),a=r("efc1"),o=r("fd39");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r=0&&e<=256&&!(e%1)?"1"+v.substring(0,e):l.throwArgumentError("invalid decimal size","decimals",e)}function b(e,t){null==t&&(t=0);var r=m(t);e=o.BigNumber.from(e);var n=e.lt(d);n&&(e=e.mul(h));var i=e.mod(r).toString();while(i.length2&&l.throwArgumentError("too many decimal points","value",e);var a=i[0],s=i[1];a||(a="0"),s||(s="0");while("0"===s[s.length-1])s=s.substring(0,s.length-1);s.length>r.length-1&&p("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");while(s.length80&&l.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new e(f,r,n,i)}}]),e}();t.FixedFormat=y;var w=function(){function e(t,r,n,a){s(this,e),l.checkNew(this instanceof e?this.constructor:void 0,e),t!==f&&l.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=a,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}return c(e,[{key:"_checkFormat",value:function(e){this.format.name!==e.format.name&&l.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}},{key:"addUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.add(n),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.sub(n),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}},{key:"floor",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(_.toFormat(r.format))),r}},{key:"ceiling",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(_.toFormat(r.format))),r}},{key:"round",value:function(t){null==t&&(t=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(t<0||t>80||t%1)&&l.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;var n=e.from("1"+v.substring(0,t),this.format),i=k.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(e){if(null==e)return this._hex;e%8&&l.throwArgumentError("invalid byte width","width",e);var t=o.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(t){return e.fromString(this._value,t)}}],[{key:"fromValue",value:function(t,r,n){return null!=n||null==r||(0,o.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),e.fromString(b(t,r),y.from(n))}},{key:"fromString",value:function(t,r){null==r&&(r="fixed");var i=y.from(r),a=g(t,i.decimals);!i.signed&&a.lt(d)&&p("unsigned value cannot be negative","overflow","value",t);var o=null;i.signed?o=a.toTwos(i.width).toHexString():(o=a.toHexString(),o=(0,n.hexZeroPad)(o,i.width/8));var s=b(a,i.decimals);return new e(f,o,s,i)}},{key:"fromBytes",value:function(t,r){null==r&&(r="fixed");var i=y.from(r);if((0,n.arrayify)(t).length>i.width/8)throw new Error("overflow");var a=o.BigNumber.from(t);i.signed&&(a=a.fromTwos(i.width));var s=a.toTwos((i.signed?0:1)+i.width).toHexString(),u=b(a,i.decimals);return new e(f,s,u,i)}},{key:"from",value:function(t,r){if("string"===typeof t)return e.fromString(t,r);if((0,n.isBytes)(t))return e.fromBytes(t,r);try{return e.fromValue(t,0,r)}catch(a){if(a.code!==i.Logger.errors.INVALID_ARGUMENT)throw a}return l.throwArgumentError("invalid FixedNumber value","value",t)}},{key:"isFixedNumber",value:function(e){return!(!e||!e._isFixedNumber)}}]),e}();t.FixedNumber=w;var _=w.from(1),k=w.from("0.5")},"13b6":function(e,t,r){"use strict";r.r(t);var n=r("ada9"),i=r("6ae8");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0981b5da",null,!1,n["a"],o);t["default"]=u.exports},"13e2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("aa56"),o=n.rotl32,s=n.sum32,u=n.sum32_5,c=a.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,l),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=0}function b(e,t){return e>=t[0]&&e<=t[1]}function g(e,t){return e.length>=t[0]&&e.length<=t[1]}function y(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function w(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function _(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(r){return!1}return!1}function k(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={email:n,mobile:i,url:a,date:o,dateISO:s,number:u,digits:c,idCard:l,carNo:f,amount:d,chinese:h,letter:p,enOrNum:v,contains:m,range:b,rangeLength:g,empty:w,isEmpty:w,jsonString:_,landline:y,object:x,array:k,code:S};t.default=A},1545:function(e,t,r){"use strict";t.utils=r("5ee7"),t.Cipher=r("0184"),t.DES=r("4e2b"),t.CBC=r("0da4"),t.EDE=r("1fec")},1567:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},1573:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMask:r("0610").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","maintoP"),attrs:{_i:0}},[n("navigation",{staticClass:e._$s(1,"sc","aaa"),attrs:{showBack:!1,bgnum:!0,_i:1}},[e._v("")]),n("view",{staticClass:e._$s(2,"sc","big_con"),attrs:{_i:2}},[n("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","main_con"),attrs:{_i:4}},e._l(e._$s(5,"f",{forItems:e.collectinInfo}),(function(t,i,a,o){return n("view",{key:e._$s(5,"f",{forIndex:a,key:i}),staticClass:e._$s("5-"+o,"sc","item flex"),attrs:{_i:"5-"+o},on:{click:function(r){return e.showMsg(t,i)}}},[n("view",{staticClass:e._$s("6-"+o,"sc","left flex2"),attrs:{_i:"6-"+o}},[n("image",{staticClass:e._$s("7-"+o,"sc","img"),attrs:{src:e._$s("7-"+o,"a-src",t.projectIconUrlAbs),_i:"7-"+o}}),n("view",{staticClass:e._$s("8-"+o,"sc","textcon"),attrs:{_i:"8-"+o}},[n("view",{staticClass:e._$s("9-"+o,"sc","text1"),attrs:{_i:"9-"+o}},[e._v(e._$s("9-"+o,"t0-0",e._s(t.projectName)))]),n("view",{staticClass:e._$s("10-"+o,"sc","text2"),attrs:{_i:"10-"+o}},[e._v(e._$s("10-"+o,"t0-0",e._s(t.collectionTotal)))]),n("view",{staticClass:e._$s("11-"+o,"sc","text2"),attrs:{_i:"11-"+o}},[e._v(e._$s("11-"+o,"t0-0",e._s(t.chainName)))])])]),n("image",{staticClass:e._$s("12-"+o,"sc","letImg"),attrs:{src:e._$s("12-"+o,"a-src",r("daab")),_i:"12-"+o}})])})),0),n("tab-bar",{attrs:{selectActive:2,_i:13}})],1)]),e._$s(14,"i",e.showbottom)?n("view",{staticClass:e._$s(14,"sc","bottom_con"),attrs:{_i:14}},[n("image",{staticClass:e._$s(15,"sc","ethimg2"),attrs:{src:e._$s(15,"a-src",r("3a7c")),_i:15},on:{click:function(t){e.showbottom=!1}}}),n("view",{staticClass:e._$s(16,"sc","title_con"),attrs:{_i:16}}),n("view",{staticClass:e._$s(17,"sc","money_con"),attrs:{_i:17}},[n("view",{staticClass:e._$s(18,"sc","info_con"),attrs:{_i:18}},e._l(e._$s(19,"f",{forItems:e.ethInfo}),(function(t,i,a,o){return n("view",{key:e._$s(19,"f",{forIndex:a,key:i}),staticClass:e._$s("19-"+o,"sc","item flexx pur"),attrs:{_i:"19-"+o},on:{click:function(r){return e.goDetail2(t)}}},[n("view",{staticClass:e._$s("20-"+o,"sc","left flex"),attrs:{_i:"20-"+o}},[n("image",{staticClass:e._$s("21-"+o,"sc","ethimg1"),attrs:{src:e._$s("21-"+o,"a-src",r("ca44")),_i:"21-"+o}}),n("view",{staticClass:e._$s("22-"+o,"sc","textcon"),attrs:{_i:"22-"+o}},[n("view",{staticClass:e._$s("23-"+o,"sc","text1 text111"),attrs:{_i:"23-"+o}},[e._v(e._$s("23-"+o,"t0-0",e._s(t.coinList[0].name)))]),n("view",{staticClass:e._$s("24-"+o,"sc","text2"),attrs:{_i:"24-"+o}},[e._v(e._$s("24-"+o,"t0-0",e._s(t.address)))])])])])})),0)])]):e._e(),n("u-mask",{attrs:{show:e.showbottom,"z-index":"8888",_i:25}})],1)},a=[]},"1573d":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.EC=void 0;var n=a(r("399f")),i=a(r("7d92"));function a(e){return e&&e.__esModule?e:{default:e}}"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function o(e,t,r){return r={path:t,exports:{},require:function(e,t){return s(e,void 0===t||null===t?r.path:t)}},e(r,r.exports),r.exports}function s(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var u=c;function c(e,t){if(!e)throw new Error(t||"Assertion failed")}c.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)};var l=o((function(e,t){var r=t;function n(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n>8,o=255&i;a?r.push(a,o):r.push(o)}return r}function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r(i>>1)-1?(i>>1)-u:u,a.isubn(s)):s=0,n[o]=s,a.iushrn(1)}return n}function a(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,a=0;while(e.cmpn(-i)>0||t.cmpn(-a)>0){var o,s,u=e.andln(3)+i&3,c=t.andln(3)+a&3;3===u&&(u=-1),3===c&&(c=-1),0===(1&u)?o=0:(n=e.andln(7)+i&7,o=3!==n&&5!==n||2!==c?u:-u),r[0].push(o),0===(1&c)?s=0:(n=t.andln(7)+a&7,s=3!==n&&5!==n||2!==u?c:-c),r[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r}function o(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function s(e){return"string"===typeof e?r.toArray(e,"hex"):e}function c(e){return new n.default(e,"hex","le")}r.assert=u,r.toArray=l.toArray,r.zero2=l.zero2,r.toHex=l.toHex,r.encode=l.encode,r.getNAF=i,r.getJSF=a,r.cachedProperty=o,r.parseBytes=s,r.intFromLE=c})),d=f.getNAF,h=f.getJSF,p=f.assert;function v(e,t){this.type=e,this.p=new n.default(t.p,16),this.red=t.prime?n.default.red(t.prime):n.default.mont(this.p),this.zero=new n.default(0).toRed(this.red),this.one=new n.default(1).toRed(this.red),this.two=new n.default(2).toRed(this.red),this.n=t.n&&new n.default(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var m=v;function b(e,t){this.curve=e,this.type=t,this.precomputed=null}v.prototype.point=function(){throw new Error("Not implemented")},v.prototype.validate=function(){throw new Error("Not implemented")},v.prototype._fixedNafMul=function(e,t){p(e.precomputed);var r=e._getDoubles(),n=d(t,1,this._bitLength),i=(1<=a;u--)o=(o<<1)+n[u];s.push(o)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a=0;s--){for(var u=0;s>=0&&0===a[s];s--)u++;if(s>=0&&u++,o=o.dblp(u),s<0)break;var c=a[s];p(0!==c),o="affine"===e.type?c>0?o.mixedAdd(i[c-1>>1]):o.mixedAdd(i[-c-1>>1].neg()):c>0?o.add(i[c-1>>1]):o.add(i[-c-1>>1].neg())}return"affine"===e.type?o.toP():o},v.prototype._wnafMulAdd=function(e,t,r,n,i){var a,o,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,f=0;for(a=0;a=1;a-=2){var v=a-1,m=a;if(1===u[v]&&1===u[m]){var b=[t[v],null,null,t[m]];0===t[v].y.cmp(t[m].y)?(b[1]=t[v].add(t[m]),b[2]=t[v].toJ().mixedAdd(t[m].neg())):0===t[v].y.cmp(t[m].y.redNeg())?(b[1]=t[v].toJ().mixedAdd(t[m]),b[2]=t[v].add(t[m].neg())):(b[1]=t[v].toJ().mixedAdd(t[m]),b[2]=t[v].toJ().mixedAdd(t[m].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=h(r[v],r[m]);for(f=Math.max(y[0].length,f),l[v]=new Array(f),l[m]=new Array(f),o=0;o=0;a--){var S=0;while(a>=0){var A=!0;for(o=0;o=0&&S++,k=k.dblp(S),a<0)break;for(o=0;o0?s=c[o][E-1>>1]:E<0&&(s=c[o][-E-1>>1].neg()),k="affine"===s.type?k.mixedAdd(s):k.add(s))}}for(a=0;a=Math.ceil((e.bitLength()+1)/t.step)},b.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=t,s=r),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),u=i.mul(r.b),c=a.mul(n.b),l=e.sub(o).sub(s),f=u.add(c).neg();return{k1:l,k2:f}},w.prototype.pointFromX=function(e,t){e=new n.default(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a":""},k.prototype.isInfinity=function(){return this.inf},k.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},k.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},k.prototype.getX=function(){return this.x.fromRed()},k.prototype.getY=function(){return this.y.fromRed()},k.prototype.mul=function(e){return e=new n.default(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},k.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},k.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},k.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},k.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},k.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},g(x,m.BasePoint),w.prototype.jpoint=function(e,t,r){return new x(this,e,t,r)},x.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},x.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},x.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),f=n.redMul(c),d=u.redSqr().redIAdd(l).redISub(f).redISub(f),h=u.redMul(f.redISub(d)).redISub(a.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},x.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),c=u.redMul(o),l=r.redMul(u),f=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(c)),h=this.z.redMul(o);return this.curve.jpoint(f,d,h)},x.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},x.prototype.inspect=function(){return this.isInfinity()?"":""},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=o((function(e,t){var r=t;r.base=m,r.short=_,r.mont=null,r.edwards=null})),A=o((function(e,t){var r,n=t,a=f.assert;function o(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new o(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("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:i.default.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("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:i.default.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("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:i.default.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("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:i.default.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"]}),s("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:i.default.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"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.default.sha256,gRed:!1,g:["9"]}),s("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:i.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(u){r=void 0}s("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:i.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function E(e){if(!(this instanceof E))return new E(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=l.toArray(e.entropy,e.entropyEnc||"hex"),r=l.toArray(e.nonce,e.nonceEnc||"hex"),n=l.toArray(e.pers,e.persEnc||"hex");u(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var O=E;E.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},E.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=l.toArray(r,n||"hex"),this._update(r));var i=[];while(i.length"};var I=f.assert;function j(e,t){if(e instanceof j)return e;this._importDER(e,t)||(I(e.r&&e.s,"Signature without r or s"),this.r=new n.default(e.r,16),this.s=new n.default(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var N=j;function R(){this.place=0}function M(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,a=0,o=t.place;a>>=0;return!(i<=127)&&(t.place=o,i)}function B(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}j.prototype._importDER=function(e,t){e=f.toArray(e,t);var r=new R;if(48!==e[r.place++])return!1;var i=M(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=M(e,r);if(!1===a)return!1;var o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var s=M(e,r);if(!1===s)return!1;if(e.length!==s+r.place)return!1;var u=e.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new n.default(o),this.s=new n.default(u),this.recoveryParam=null,!0},j.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=B(t),r=B(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];$(n,t.length),n=n.concat(t),n.push(2),$(n,r.length);var i=n.concat(r),a=[48];return $(a,i.length),a=a.concat(i),f.encode(a,e)};var U=function(){throw new Error("unsupported")},L=f.assert;function F(e){if(!(this instanceof F))return new F(e);"string"===typeof e&&(L(Object.prototype.hasOwnProperty.call(A,e),"Unknown curve "+e),e=A[e]),e instanceof A.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var D=F;F.prototype.keyPair=function(e){return new T(this,e)},F.prototype.keyFromPrivate=function(e,t){return T.fromPrivate(this,e,t)},F.prototype.keyFromPublic=function(e,t){return T.fromPublic(this,e,t)},F.prototype.genKeyPair=function(e){e||(e={});for(var t=new O({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||U(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n.default(2));;){var a=new n.default(t.generate(r));if(!(a.cmp(i)>0))return a.iaddn(1),this.keyFromPrivate(a)}},F.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},F.prototype.sign=function(e,t,r,i){"object"===typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n.default(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),s=e.toArray("be",a),u=new O({hash:this.hash,entropy:o,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n.default(1)),l=0;;l++){var f=i.k?i.k(l):new n.default(u.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var h=d.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var v=f.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(v=v.umod(this.n),0!==v.cmpn(0)){var m=(d.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new N({r:p,s:v,recoveryParam:m})}}}}}},F.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n.default(e,16)),r=this.keyFromPublic(r,i),t=new N(t,"hex");var a=t.r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,u=o.invm(this.n),c=u.mul(e).umod(this.n),l=u.mul(a).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(c,r.getPublic(),l),!s.isInfinity()&&s.eqXToP(a)):(s=this.g.mulAdd(c,r.getPublic(),l),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(a))},F.prototype.recoverPubKey=function(e,t,r,i){L((3&r)===r,"The recovery param is more than two bits"),t=new N(t,i);var a=this.n,o=new n.default(e),s=t.r,u=t.s,c=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),c):this.curve.pointFromX(s,c);var f=t.r.invm(a),d=a.sub(o).mul(f).umod(a),h=u.mul(f).umod(a);return this.g.mulAdd(d,s,h)},F.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new N(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var z=o((function(e,t){var r=t;r.version={version:"6.5.4"}.version,r.utils=f,r.rand=function(){throw new Error("unsupported")},r.curve=S,r.curves=A,r.ec=D,r.eddsa=null})),H=z.ec;t.EC=H}).call(this,r("c8ba"))},1650:function(e,t){e.exports="/static/tongyonh/copy_24px.png"},"16a3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineReadOnly=l,t.getStatic=f,t.resolveProperties=d,t.checkProperties=h,t.shallowCopy=p,t.deepCopy=g,t.Description=void 0;var n=o(r("a34a")),i=r("20ed"),a=r("8909");function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{u(n.next(e))}catch(t){a(t)}}function s(e){try{u(n["throw"](e))}catch(t){a(t)}}function u(e){e.done?r(e.value):i(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))},c=new i.Logger(a.version);function l(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function f(e,t){for(var r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function d(e){return u(this,void 0,void 0,n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=Object.keys(e).map((function(t){var r=e[t];return Promise.resolve(r).then((function(e){return{key:t,value:e}}))})),t.next=3,Promise.all(r);case 3:return i=t.sent,t.abrupt("return",i.reduce((function(e,t){return e[t.key]=t.value,e}),{}));case 5:case"end":return t.stop()}}),t)})))}function h(e,t){e&&"object"===typeof e||c.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((function(r){t[r]||c.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)}))}function p(e){var t={};for(var r in e)t[r]=e[r];return t}var v={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function m(e){if(void 0===e||null===e||v[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;for(var t=Object.keys(e),r=0;r=0;n--){if(r){var i=2*parseInt(e[n],10);t+=i>9?i.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):i}else t+=parseInt(e[n],10);r=!r}return t%10===0}function a(e,t){for(var r=0,n=0;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=c-l,k=Math.floor,x=String.fromCharCode;function S(e){throw new RangeError(w[e])}function A(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function E(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(y,".");var i=e.split("."),a=A(i,t).join(".");return n+a}function O(e){var t,r,n=[],i=0,a=e.length;while(i=55296&&t<=56319&&i65535&&(e-=65536,t+=x(e>>>10&1023|55296),e=56320|1023&e),t+=x(e),t})).join("")}function C(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?k(e/h):e>>1,e+=k(e/t);e>_*f>>1;n+=c)e=k(e/_);return k(n+(_+1)*e/(e+d))}function j(e){var t,r,n,i,a,o,s,d,h,b,g=[],y=e.length,w=0,_=v,x=p;for(r=e.lastIndexOf(m),r<0&&(r=0),n=0;n=128&&S("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=y&&S("invalid-input"),d=C(e.charCodeAt(i++)),(d>=c||d>k((u-w)/o))&&S("overflow"),w+=d*o,h=s<=x?l:s>=x+f?f:s-x,dk(u/b)&&S("overflow"),o*=b}t=g.length+1,x=I(w-a,t,0==a),k(w/t)>u-_&&S("overflow"),_+=k(w/t),w%=t,g.splice(w++,0,_)}return P(g)}function N(e){var t,r,n,i,a,o,s,d,h,b,g,y,w,_,A,E=[];for(e=O(e),y=e.length,t=v,r=0,a=p,o=0;o=t&&gk((u-r)/w)&&S("overflow"),r+=(s-t)*w,t=s,o=0;ou&&S("overflow"),g==t){for(d=r,h=c;;h+=c){if(b=h<=a?l:h>=a+f?f:h-a,d=0;i--)if(e[i]>="A"&&e[i]<="Z")for(var o=e[i].charCodeAt(0)-55,s=o%10,u=Math.trunc(o/10),c=0,l=[s,u];c=5?1+2*(f-5):2*f:f,t=!t}else{var d=e[i].charCodeAt(0)-"0".charCodeAt(0);r+=t?d>=5?1+2*(d-5):2*d:d,t=!t}var h=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]===h}e.exports=t.default,e.exports.default=t.default},"1a2a":function(e,t,r){"use strict";var n=r("3fb5"),i=r("d424"),a=r("6430"),o=r("8707").Buffer,s=r("5a76"),u=r("b5ca"),c=r("69f2"),l=o.alloc(128);function f(e,t){a.call(this,"digest"),"string"===typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){var n="rmd160"===e?new u:c(e);t=n.update(t).digest()}else t.lengtht?null:(n+i)/2}function T(e){if(null===e)return"null";if("number"===typeof e||"boolean"===typeof e)return JSON.stringify(e);if("string"===typeof e)return e;if(a.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return T(e)})));if("object"===typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"===typeof r?"[function]":T(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var I=1;function j(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)})),i=function(e){return n=n.then(e),n};function a(){return n}return{cancel:t,getPromise:a,wait:i}}var N=[d.Logger.errors.CALL_EXCEPTION,d.Logger.errors.INSUFFICIENT_FUNDS,d.Logger.errors.NONCE_EXPIRED,d.Logger.errors.REPLACEMENT_UNDERPRICED,d.Logger.errors.UNPREDICTABLE_GAS_LIMIT],R=["address","args","errorArgs","errorSignature","method","transaction"];function M(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function B(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var i=Object.keys(n),a=0;a=t)return o.result}}}function $(e,t,r){var n=T;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=C(t.map((function(e){return e.result})),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return C(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.confirmations=-1,T(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.transactions=e.transactions.map((function(e){return e=(0,s.shallowCopy)(e),e.confirmations=-1,e})),T(e))}:function(e){return null==e?null:T(e)};break;default:throw new Error("unknown method: "+t)}return B(n,e.quorum)}function U(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(i=e.provider,!(null!=i.blockNumber&&i.blockNumber>=t||-1===t)){r.next=3;break}return r.abrupt("return",i);case 3:return r.abrupt("return",(0,c.poll)((function(){return new Promise((function(r,n){setTimeout((function(){return i.blockNumber>=t?r(i):e.cancelled?r(null):r(void 0)}),0)}))}),{oncePoll:i}));case 4:case"end":return r.stop()}}),r)})))}function L(e,t,r,i){return A(this,void 0,void 0,n.default.mark((function a(){var s,u;return n.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:s=e.provider,n.t0=r,n.next="getBlockNumber"===n.t0||"getGasPrice"===n.t0?4:"getEtherPrice"===n.t0?5:"getBalance"===n.t0||"getTransactionCount"===n.t0||"getCode"===n.t0?8:"getStorageAt"===n.t0?13:"getBlock"===n.t0?18:"call"===n.t0||"estimateGas"===n.t0?23:"getTransaction"===n.t0||"getTransactionReceipt"===n.t0?28:"getLogs"===n.t0?29:35;break;case 4:return n.abrupt("return",s[r]());case 5:if(!s.getEtherPrice){n.next=7;break}return n.abrupt("return",s.getEtherPrice());case 7:return n.abrupt("break",35);case 8:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=12;break}return n.next=11,U(e,t);case 11:s=n.sent;case 12:return n.abrupt("return",s[r](i.address,i.blockTag||"latest"));case 13:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=17;break}return n.next=16,U(e,t);case 16:s=n.sent;case 17:return n.abrupt("return",s.getStorageAt(i.address,i.position,i.blockTag||"latest"));case 18:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=22;break}return n.next=21,U(e,t);case 21:s=n.sent;case 22:return n.abrupt("return",s[i.includeTransactions?"getBlockWithTransactions":"getBlock"](i.blockTag||i.blockHash));case 23:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=27;break}return n.next=26,U(e,t);case 26:s=n.sent;case 27:return n.abrupt("return",s[r](i.transaction));case 28:return n.abrupt("return",s[r](i.transactionHash));case 29:if(u=i.filter,!(u.fromBlock&&(0,o.isHexString)(u.fromBlock)||u.toBlock&&(0,o.isHexString)(u.toBlock))){n.next=34;break}return n.next=33,U(e,t);case 33:s=n.sent;case 34:return n.abrupt("return",s.getLogs(u));case 35:return n.abrupt("return",E.throwError("unknown method error",d.Logger.errors.UNKNOWN_ERROR,{method:r,params:i}));case 36:case"end":return n.stop()}}),a)})))}var F=function(e){g(r,e);var t=w(r);function r(e,n){var a;v(this,r),E.checkNew(this instanceof r?this.constructor:void 0,r),0===e.length&&E.throwArgumentError("missing providers","providers",e);var o=e.map((function(e,t){if(i.Provider.isProvider(e)){var r=(0,f.isCommunityResource)(e)?2e3:750,n=1;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:n})}var a=(0,s.shallowCopy)(e);null==a.priority&&(a.priority=1),null==a.stallTimeout&&(a.stallTimeout=(0,f.isCommunityResource)(e)?2e3:750),null==a.weight&&(a.weight=1);var o=a.weight;return(o%1||o>512||o<1)&&E.throwArgumentError("invalid weight; must be integer in [1, 512]","providers[".concat(t,"].weight"),o),Object.freeze(a)})),u=o.reduce((function(e,t){return e+t.weight}),0);null==n?n=u/2:n>u&&E.throwArgumentError("quorum will always fail; larger than total weight","quorum",n);var c=P(o.map((function(e){return e.provider.network})));return null==c&&(c=new Promise((function(e,t){setTimeout((function(){a.detectNetwork().then(e,t)}),0)}))),a=t.call(this,c),(0,s.defineReadOnly)(k(a),"providerConfigs",Object.freeze(o)),(0,s.defineReadOnly)(k(a),"quorum",n),a._highestBlockNumber=-1,a}return b(r,[{key:"detectNetwork",value:function(){return A(this,void 0,void 0,n.default.mark((function e(){var t;return n.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})));case 2:return t=e.sent,e.abrupt("return",P(t));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"perform",value:function(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i,a,o,c,l,f,h,p,v,m,b=this;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if("sendTransaction"!==e){r.next=13;break}return r.next=3,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})));case 3:i=r.sent,a=0;case 5:if(!(a=b.quorum)){r.next=19;break}if(v=c(d),void 0===v){r.next=15;break}return l.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),r.abrupt("return",{v:v});case 15:if(p){r.next=18;break}return r.next=18,j(100).getPromise();case 18:p=!1;case 19:if(m=l.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return N.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(m).forEach((function(e){var t=m[e];if(!(t.weight0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,n=c(e),o=n[0],s=n[1],u=new a(f(e,o,s)),l=0,d=s>0?o-4:o;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function h(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],a=t;au?u:s+o));return 1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe8":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionFragment=t.ConstructorFragment=t.EventFragment=t.Fragment=t.ParamType=t.FormatTypes=void 0;var n=r("846b"),i=r("16a3"),a=r("20ed"),o=r("d87f");function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(e){var t=d();return function(){var r,n=h(e);if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r=0||"tuple"===e)&&w[t])return!0;return(y[t]||"payable"===t)&&b.throwArgumentError("invalid modifier","name",t),!1}function k(e,t){var r=e;function n(t){b.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function i(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var a={type:"",name:"",state:{allowType:!0}},o=a,s=0;s2&&b.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||b.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=n.BigNumber.from(r[1]),r[0]):e}function I(t,r){r.constant=!1,r.payable=!1,r.stateMutability="nonpayable",t.split(" ").forEach((function(t){switch(t.trim()){case"constant":r.constant=!0;break;case"payable":r.payable=!0,r.stateMutability="payable";break;case"nonpayable":r.payable=!1,r.stateMutability="nonpayable";break;case"pure":r.constant=!0,r.stateMutability="pure";break;case"view":r.constant=!0,r.stateMutability="view";break;case"external":case"public":case"":break;default:e("log","unknown modifier: "+t," at node_modules/@ethersproject/abi/lib.esm/fragments.js:506")}}))}function j(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&b.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&b.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||b.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&b.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&b.throwArgumentError("unable to determine stateMutability","value",e),t}t.EventFragment=C;var N=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||b.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===S.sighash&&b.throwError("cannot format a constructor for sighash",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isConstructorFragment(e))return e;"constructor"!==e.type&&b.throwArgumentError("invalid constructor object","value",e);var t=j(e);t.constant&&b.throwArgumentError("constructor cannot be constant","value",e);var i={name:null,type:e.type,inputs:e.inputs?e.inputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(g,i)}},{key:"fromString",value:function(e){var t={type:"constructor"};e=T(e,t);var n=e.match(U);return n&&"constructor"===n[1].trim()||b.throwArgumentError("invalid constructor string","value",e),t.inputs=O(n[2].trim(),!1),I(n[3].trim(),t),r.fromObject(t)}},{key:"isConstructorFragment",value:function(e){return e&&e._isFragment&&"constructor"===e.type}}]),r}(P);t.ConstructorFragment=N;var R=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||b.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),ouputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==S.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ",e!==S.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isFunctionFragment(e))return e;"function"!==e.type&&b.throwArgumentError("invalid function object","value",e);var t=j(e),i={type:e.type,name:$(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(E.fromObject):[],outputs:e.outputs?e.outputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(g,i)}},{key:"fromString",value:function(e){var t={type:"function"};e=T(e,t);var n=e.split(" returns ");n.length>2&&b.throwArgumentError("invalid function string","value",e);var i=n[0].match(U);if(i||b.throwArgumentError("invalid function signature","value",e),t.name=i[1].trim(),t.name&&$(t.name),t.inputs=O(i[2],!1),I(i[3].trim(),t),n.length>1){var a=n[1].match(U);""==a[1].trim()&&""==a[3].trim()||b.throwArgumentError("unexpected tokens","value",e),t.outputs=O(a[2],!1)}else t.outputs=[];return r.fromObject(t)}},{key:"isFunctionFragment",value:function(e){return e&&e._isFragment&&"function"===e.type}}]),r}(N);function M(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}t.FunctionFragment=R;var B=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function $(e){return e&&e.match(B)||b.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}var U=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function L(e){e=e.trim();for(var t=[],r="",n=0,i=0;ic[r]||console.log.apply(console,t)}},{key:"debug",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n>4],r+=m[15&t[a]];i.push(e+"=Uint8Array(0x"+r+")")}else i.push(e+"="+JSON.stringify(t))}catch(o){i.push(e+"="+JSON.stringify(n[e].toString()))}})),i.push("code=".concat(r)),i.push("version=".concat(this.version));var a=t;i.length&&(t+=" ("+i.join(", ")+")");var o=new Error(t);return o.reason=a,o.code=r,Object.keys(n).forEach((function(e){o[e]=n[e]})),o}},{key:"throwError",value:function(e,t,r){throw this.makeError(e,t,r)}},{key:"throwArgumentError",value:function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})}},{key:"assert",value:function(e,t,r,n){e||this.throwError(t,r,n)}},{key:"assertArgument",value:function(e,t,r,n){e||this.throwArgumentError(t,r,n)}},{key:"checkNormalize",value:function(t){null==t&&(t="platform missing String.prototype.normalize"),v&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:v})}},{key:"checkSafeUint53",value:function(t,r){"number"===typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}},{key:"checkArgumentCount",value:function(t,r,n){n=n?": "+n:"",tr&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}},{key:"checkNew",value:function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}},{key:"checkAbstract",value:function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}}],[{key:"globalLogger",value:function(){return f||(f=new e(n.version)),f}},{key:"setCensorship",value:function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),s){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}u=!!t,s=!!r}},{key:"setLogLevel",value:function(t){var r=c[t.toLowerCase()];null!=r?l=r:e.globalLogger().warn("invalid log level - "+t)}},{key:"from",value:function(t){return new e(t)}}]),e}();t.Logger=b,b.errors=p,b.levels=h},"20f6":function(e,t,r){var n=t;n.der=r("cfbd"),n.pem=r("8df7")},2113:function(e,t,r){"use strict";r.r(t);var n=r("74bf"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},2137:function(e,t,r){"use strict";var n=r("c3c0"),i=r("da3e");function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t0?(t.unshift(r),t):[r]},f.prototype.checkInterfaceSupport=function(){var e=a(n.mark((function e(r,i){var a;return n.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(l[i]){e.next=2;break}return e.abrupt("return");case 2:return a=!1,e.prev=3,e.next=6,r.methods.supportsInterface(l[i]).call();case 6:a=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),t("warn",'Could not verify interface of resolver contract at "'+r.options.address+'". '," at node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js:214");case 12:if(a){e.next=14;break}throw u.ResolverMethodMissingError(r.options.address,i);case 14:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t,r){return e.apply(this,arguments)}}(),e.exports=f}).call(this,r("0de9")["default"])},2236:function(e,t,r){var n=r("5a43");function i(e){if(Array.isArray(e))return n(e)}e.exports=i},2366:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);function i(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}e.exports=i},"23c4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.halfWidth=void 0;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function o(e){return(0,n.default)(e),a.test(e)}t.halfWidth=a},"23c4e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;function u(e,t){return(0,n.default)(e),t&&(t.no_colons||t.no_separators)?o.test(e):a.test(e)||s.test(e)}e.exports=t.default,e.exports.default=t.default},"240f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var a=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||a>=t.min)&&(!t.hasOwnProperty("max")||a<=t.max)&&(!t.hasOwnProperty("lt")||at.gt)}var s=Object.keys(i.decimal);t.locales=s},2437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;i(r("8e09"));var n=i(r("db0c"));function i(e){return e&&e.__esModule?e:{default:e}}var a={data:function(){return{show:!1,info:{}}},methods:{},onLoad:function(e){var t=JSON.parse(e.item);this.info=t,this.info.time=n.default.formatyymmddhhmmss33(this.info.time)}};t.default=a},"243a":function(e,t,r){var n=r("3742"),i=r("7e30"),a=r("89d2"),o=r("fe9c"),s=r("11dc"),u=r("399f"),c=function(e,t,r,i,a){return!n.isObject(e)||e instanceof Error||!e.data||((n.isObject(e.data)||n.isArray(e.data))&&(e.data=JSON.stringify(e.data,null,2)),e=e.message+"\n"+e.data),n.isString(e)&&(e=new Error(e)),n.isFunction(i)&&i(e,a),n.isFunction(r)&&((t&&n.isFunction(t.listeners)&&t.listeners("error").length||n.isFunction(i))&&t.catch((function(){})),setTimeout((function(){r(e)}),1)),t&&n.isFunction(t.emit)&&setTimeout((function(){t.emit("error",e,a),t.removeAllListeners()}),1),t},l=function(e){return n.isObject(e)&&e.name&&-1!==e.name.indexOf("(")?e.name:e.name+"("+f(!1,e.inputs).join(",")+")"},f=function e(t,r){var i=[];return r.forEach((function(r){if("object"===typeof r.components){if("tuple"!==r.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var a="",o=r.type.indexOf("[");o>=0&&(a=r.type.substring(o));var s=e(t,r.components);n.isArray(s)&&t?i.push("tuple("+s.join(",")+")"+a):t?i.push("("+s+")"):i.push("("+s.join(",")+")"+a)}else i.push(r.type)})),i},d=function(e){return"0x"+s(e).toString("hex")},h=function(e){if(!a.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r7?r+=e[n].toUpperCase():r+=e[n];return r},y=function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;var r=new u(e),n=new u(t);return r.lt(n)?-1:r.eq(n)?0:1}return 0};e.exports={_fireError:c,_jsonInterfaceMethodToString:l,_flattenTypes:f,randomHex:d,_:n,BN:a.BN,isBN:a.isBN,isBigNumber:a.isBigNumber,isHex:a.isHex,isHexStrict:a.isHexStrict,sha3:a.sha3,sha3Raw:a.sha3Raw,keccak256:a.sha3,soliditySha3:o.soliditySha3,soliditySha3Raw:o.soliditySha3Raw,encodePacked:o.encodePacked,isAddress:a.isAddress,checkAddressChecksum:a.checkAddressChecksum,toChecksumAddress:g,toHex:a.toHex,toBN:a.toBN,bytesToHex:a.bytesToHex,hexToBytes:a.hexToBytes,hexToNumberString:a.hexToNumberString,hexToNumber:a.hexToNumber,toDecimal:a.hexToNumber,numberToHex:a.numberToHex,fromDecimal:a.numberToHex,hexToUtf8:a.hexToUtf8,hexToString:a.hexToUtf8,toUtf8:a.hexToUtf8,stripHexPrefix:a.stripHexPrefix,utf8ToHex:a.utf8ToHex,stringToHex:a.utf8ToHex,fromUtf8:a.utf8ToHex,hexToAscii:h,toAscii:h,asciiToHex:p,fromAscii:p,unitMap:i.unitMap,toWei:b,fromWei:m,padLeft:a.leftPad,leftPad:a.leftPad,padRight:a.rightPad,rightPad:a.rightPad,toTwosComplement:a.toTwosComplement,isBloom:a.isBloom,isUserEthereumAddressInBloom:a.isUserEthereumAddressInBloom,isContractAddressInBloom:a.isContractAddressInBloom,isTopic:a.isTopic,isTopicInBloom:a.isTopicInBloom,isInBloom:a.isInBloom,compareBlockNumbers:y}},2443:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMask:r("0610").default,uRadioGroup:r("f6c7").default,uRadio:r("ff36").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","hr"),attrs:{_i:0}},[n("navigation",{attrs:{showBack:!0,bgnum:!0,_i:1}},[n("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}})]),n("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","main_con"),attrs:{_i:4}},[n("view",{staticClass:e._$s(5,"sc","item"),attrs:{_i:5}},[n("view",{staticClass:e._$s(6,"sc","top flex"),attrs:{_i:6}},[n("view",{staticClass:e._$s(7,"sc","text1"),attrs:{_i:7}})]),n("view",{staticClass:e._$s(8,"sc","inputcon"),attrs:{_i:8}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:e._$s(9,"sc","input1"),attrs:{_i:9},domProps:{value:e._$s(9,"v-model",e.value)},on:{click:function(t){return e.showSelect()},input:function(t){t.target.composing||(e.value=t.target.value)}}}),n("image",{staticClass:e._$s(10,"sc","img1"),attrs:{src:e._$s(10,"a-src",r("4995")),_i:10}})])]),n("view",{staticClass:e._$s(11,"sc","item"),attrs:{_i:11}},[n("view",{staticClass:e._$s(12,"sc","top flex"),attrs:{_i:12}},[n("view",{staticClass:e._$s(13,"sc","text1"),attrs:{_i:13}})]),n("view",{staticClass:e._$s(14,"sc","inputcon"),attrs:{_i:14}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.bigAddress,expression:"bigAddress"}],staticClass:e._$s(15,"sc","input1"),attrs:{_i:15},domProps:{value:e._$s(15,"v-model",e.bigAddress)},on:{input:[function(t){t.target.composing||(e.bigAddress=t.target.value)},function(t){return e.showSave()}]}}),n("image",{staticClass:e._$s(16,"sc","img2"),attrs:{src:e._$s(16,"a-src",r("331b")),_i:16},on:{click:e.chooseImage}})])]),n("view",{staticClass:e._$s(17,"sc","item"),attrs:{_i:17}},[n("view",{staticClass:e._$s(18,"sc","top flex"),attrs:{_i:18}},[n("view",{staticClass:e._$s(19,"sc","text1"),attrs:{_i:19}})]),n("view",{staticClass:e._$s(20,"sc","inputcon"),attrs:{_i:20}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.addressName,expression:"addressName"}],staticClass:e._$s(21,"sc","input1"),attrs:{_i:21},domProps:{value:e._$s(21,"v-model",e.addressName)},on:{input:[function(t){t.target.composing||(e.addressName=t.target.value)},e.showSave]}})])]),n("view",{staticClass:e._$s(22,"sc","btn"),class:e._$s(22,"c",e.save?"sheng":""),attrs:{_i:22},on:{click:function(t){return e.handove()}}})]),n("u-mask",{attrs:{"z-index":"10",show:e.show,_i:23},on:{click:function(t){e.show=!1}}})],1),e._$s(24,"i",e.show)?n("view",{staticClass:e._$s(24,"sc","big_con w100"),attrs:{_i:24}},[n("view",{staticClass:e._$s(25,"sc","tiao"),attrs:{_i:25},on:{click:function(t){e.show=!1}}}),n("view",{staticClass:e._$s(26,"sc","title"),attrs:{_i:26}}),e._$s(27,"i",e.show)?n("view",{staticClass:e._$s(27,"sc","bottom_con zindex"),attrs:{_i:27}},[n("u-radio-group",{attrs:{_i:28},model:{value:e._$s(28,"v-model",e.value),callback:function(t){e.value=t},expression:"value"}},e._l(e._$s(29,"f",{forItems:e.list}),(function(t,r,i,a){return n("view",{key:e._$s(29,"f",{forIndex:i,key:r}),staticClass:e._$s("29-"+a,"sc","item flex"),attrs:{_i:"29-"+a},on:{click:function(r){return e.handove2(t)}}},[n("view",{staticClass:e._$s("30-"+a,"sc","text1 flex"),attrs:{_i:"30-"+a}},[n("image",{staticClass:e._$s("31-"+a,"sc","img"),attrs:{src:e._$s("31-"+a,"a-src",t.url),_i:"31-"+a}}),n("view",{staticClass:e._$s("32-"+a,"sc","textcon"),attrs:{_i:"32-"+a}},[n("view",{staticClass:e._$s("33-"+a,"sc","text1"),attrs:{_i:"33-"+a}},[e._v(e._$s("33-"+a,"t0-0",e._s(t.lang)))]),n("view",{staticClass:e._$s("34-"+a,"sc","text2"),attrs:{_i:"34-"+a}},[e._v(e._$s("34-"+a,"t0-0",e._s(t.name)))])])]),n("u-radio",{attrs:{name:t.name,disabled:t.disabled,"active-color":"#5B53FF",_i:"35-"+a}})],1)})),0),n("view",{staticClass:e._$s(36,"sc","select_btn"),attrs:{_i:36}})],1):e._e()]):e._e()],1)},a=[]},"245c":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=c;var n=r("ecb6"),i=r("20ed"),a=r("a721"),o=new i.Logger(a.version),s=null;try{if(s=window,null==s)throw new Error("try next")}catch(l){try{if(s=e,null==s)throw new Error("try next")}catch(l){s={}}}var u=s.crypto||s.msCrypto;function c(e){(e<=0||e>1024||e%1||e!=e)&&o.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return u.getRandomValues(t),(0,n.arrayify)(t)}u&&u.getRandomValues||(o.warn("WARNING: Missing strong random number source"),u={getRandomValues:function(e){return o.throwError("no secure random source avaialble",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})}).call(this,r("c8ba"))},"249c":function(e,t){e.exports="/static/tongyonh/Frame70.png"},"24c0":function(e){e.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","eip":{"url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final"},"gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"24ea":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.importPublic=t.privateToPublic=t.privateToAddress=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.isPrecompiled=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isZeroAddress=t.isValidAddress=t.zeroAddress=void 0;var n=r("f654"),i=r("d725"),a=r("bb4c"),o=r("399f"),s=r("556d"),u=r("0d39");t.zeroAddress=function(){var e=20,t=s.zeros(e);return s.bufferToHex(t)},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){var r=t.zeroAddress();return r===s.addHexPrefix(e)},t.toChecksumAddress=function(e,t){e=i.stripHexPrefix(e).toLowerCase();for(var r=void 0!==t?t.toString()+"0x":"",n=u.keccak(r+e).toString("hex"),a="0x",o=0;o=8?a+=e[o].toUpperCase():a+=e[o];return a},t.isValidChecksumAddress=function(e,r){return t.isValidAddress(e)&&t.toChecksumAddress(e,r)===e},t.generateAddress=function(t,r){t=s.toBuffer(t);var n=new o(r);return n.isZero()?u.rlphash([t,null]).slice(-20):u.rlphash([t,e.from(n.toArray())]).slice(-20)},t.generateAddress2=function(t,r,i){var a=s.toBuffer(t),o=s.toBuffer(r),c=s.toBuffer(i);n(20===a.length),n(32===o.length);var l=u.keccak256(e.concat([e.from("ff","hex"),a,o,u.keccak256(c)]));return l.slice(-20)},t.isPrecompiled=function(e){var t=s.unpad(e);return 1===t.length&&t[0]>=1&&t[0]<=8},t.isValidPrivate=function(e){return a.privateKeyVerify(e)},t.isValidPublic=function(t,r){return void 0===r&&(r=!1),64===t.length?a.publicKeyVerify(e.concat([e.from([4]),t])):!!r&&a.publicKeyVerify(t)},t.pubToAddress=function(e,t){return void 0===t&&(t=!1),e=s.toBuffer(e),t&&64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),n(64===e.length),u.keccak(e).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToAddress=function(e){return t.publicToAddress(t.privateToPublic(e))},t.privateToPublic=function(e){return e=s.toBuffer(e),a.publicKeyCreate(e,!1).slice(1)},t.importPublic=function(e){return e=s.toBuffer(e),64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),e}}).call(this,r("b639").Buffer)},"24f8":function(e,t,r){var n=r("9490"),i=r("0b16"),a=e.exports;for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}a.request=function(e,t){return e=s(e),n.request.call(this,e,t)},a.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},"24fc":function(e,t,r){"use strict";r.r(t);var n=r("76e0"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"257a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("b79a");t.input=n;var i=r("77a7");t.output=i},"259c":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",{staticClass:e._$s(0,"sc","maintoP"),attrs:{_i:0}},[r("navigation",{staticClass:e._$s(1,"sc","aaa"),attrs:{showBack:!0,bgnum:!0,_i:1}},[r("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}})]),r("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[r("view",{staticClass:e._$s(4,"sc","main_con"),attrs:{_i:4}},[r("view",{staticClass:e._$s(5,"sc","item"),attrs:{_i:5}},[r("view",{staticClass:e._$s(6,"sc","imgcon flex2"),attrs:{_i:6}},[r("image",{staticClass:e._$s(7,"sc","img"),attrs:{src:e._$s(7,"a-src",e.item.chainIconUrl),_i:7}}),r("text",{staticClass:e._$s(8,"sc","tex1"),attrs:{_i:8}},[e._v(e._$s(8,"t0-0",e._s(e.wallet.coinList[0].name2)))])]),r("view",{staticClass:e._$s(9,"sc","text1one"),attrs:{_i:9}},[e._v(e._$s(9,"t0-0",e._s(e.item.address)))])]),r("view",{staticClass:e._$s(10,"sc","item"),attrs:{_i:10}},[r("view",{staticClass:e._$s(11,"sc","title"),attrs:{_i:11}}),r("view",{staticClass:e._$s(12,"sc","text1one"),attrs:{_i:12}},[e._v(e._$s(12,"t0-0",e._s(e.item.contract)))])]),r("view",{staticClass:e._$s(13,"sc","item"),attrs:{_i:13}},[r("view",{staticClass:e._$s(14,"sc","title"),attrs:{_i:14}}),r("view",{staticClass:e._$s(15,"sc","text1one"),attrs:{_i:15}},[e._v(e._$s(15,"t0-0",e._s(e.item.tonkenId)))])]),r("view",{staticClass:e._$s(16,"sc","btn"),attrs:{_i:16},on:{click:e.test}})])])],1)},a=[]},"25b9":function(e,t,r){(function(e){var n=r("d26d"),i=r("774b"),a=function(e){var t=e.slice(0,2),r=e.slice(2),n="";return n="0x"===t?r:e,i.fromHexString(n)},o={swarm:function(e){var t=i.encode(a(e),"keccak-256");return new n(1,"swarm-manifest",t).buffer},ipfs:function(e){var t=i.fromB58String(e);return new n(1,"dag-pb",t).buffer},utf8:function(t){return e.from(t,"utf8")}},s={hexMultiHash:function(e){var t=new n(e);return i.decode(t.multihash).digest.toString("hex")},b58MultiHash:function(e){var t=new n(e);return i.toB58String(t.multihash)},utf8:function(e){return e.toString("utf8")}},u={"swarm-ns":{encode:o.swarm,decode:s.hexMultiHash},"ipfs-ns":{encode:o.ipfs,decode:s.b58MultiHash},"ipns-ns":{encode:o.ipfs,decode:s.b58MultiHash},default:{encode:o.utf8,decode:s.utf8}};t.hexStringToBuffer=a,t.profiles=u}).call(this,r("b639").Buffer)},2604:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function o(e){return(0,n.default)(e),a.test(e)}e.exports=t.default,e.exports.default=t.default},2659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TupleCoder=void 0;var n=r("938b"),i=r("f7da");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1,r=e.indexOf("-")>-1&&e.indexOf("_")>-1;return{encode:function(e){var n="";n="string"===typeof e?s.from(e).toString("base64"):e.toString("base64"),r&&(n=n.replace(/\+/g,"-").replace(/\//g,"_"));var i=n.indexOf("=");return i>0&&!t&&(n=n.substring(0,i)),n},decode:function(t){var r,i=n(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.indexOf(a)<0)throw new Error("invalid base64 character")}}catch(o){i.e(o)}finally{i.f()}return s.from(t,"base64")}}}},"277d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.looseArrayify=a,t.zpad=o,t.getPassword=s,t.searchPath=u,t.uuidV4=c;var n=r("ecb6"),i=r("86c8");function a(e){return"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,n.arrayify)(e)}function o(e,t){e=String(e);while(e.lengtht)throw new TypeError("Script number overflow");if(r&&0===(127&e[n-1])&&(n<=1||0===(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){var i=e.readUInt32LE(0),a=e.readUInt8(4);return 128&a?-(4294967296*(-129&a)+i):4294967296*a+i}for(var o=0,s=0;s2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function i(t){for(var r=Math.abs(t),i=n(r),a=e.allocUnsafe(i),o=t<0,s=0;s>=8;return 128&a[i-1]?a.writeUInt8(o?128:0,i-1):o&&(a[i-1]|=128),a}Object.defineProperty(t,"__esModule",{value:!0}),t.decode=r,t.encode=i}).call(this,r("b639").Buffer)},2858:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.langEn=void 0;var n=r("c9b1");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r