(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"0006":function(e,t,n){"use strict";e.exports=function(e){vart=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);returnt&&t[1]||""}},"000b":function(e,t,n){"use strict";n.r(t);varl=n("2e07"),r=n.n(l);for(varainl)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnl[e]}))}(a);t["default"]=r.a},"0065":function(e,t,n){"use strict";n.r(t);varl=n("0977"),r=n("000b");for(varainr)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnr[e]}))}(a);vari=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,"59d74e64",null,!1,l["a"],void0);t["default"]=u.exports},"00ab":function(e,t,n){"use strict";n.r(t);varl=n("928f"),r=n("10f5");for(varainr)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnr[e]}))}(a);vari=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void0);t["default"]=u.exports},"00e2":function(e,t,n){"use strict";varl=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t._buyaccount=function(e){returnr.default.post({url:"/api/pub/buyaccount",data:e})},t._buyguide=function(e){returnr.default.post({url:"/api/pub/buyguide",data:e})},t._payorderres=function(e){returnr.default.post({url:"/api/pub/payorderres",data:e})};varr=l(n("ee98"))},"00e3":function(e,t,n){"use strict";(function(e){varl=this&&this.__read||function(e,t){varn="function"===typeofSymbol&&e[Symbol.iterator];if(!n)returne;varl,r,a=n.call(e),i=[];try{while((void0===t||t-->0)&&!(l=a.next()).done)i.push(l.value)}catch(u){r={error:u}}finally{try{l&&!l.done&&(n=a["return"])&&n.call(a)}finally{if(r)throwr.error}}returni},r=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isZeroAddress=t.zeroAddress=t.importPublic=t.privateToAddress=t.privateToPublic=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isValidAddress=t.Account=void0;vara=r(n("37e3")),i=n("05cd"),u=n("0e2e"),o=n("6aea"),s=n("9379"),c=n("6bd7"),f=n("445a"),d=n("33e2"),h=n("e81b"),p=function(){functione(e,t,n,l){void0===e&&(e=newi.BN(0)),void0===t&&(t=newi.BN(0)),void0===n&&(n=s.KECCAK256_RLP),void0===l&&(l=s.KECCAK256_NULL),this.nonce=e,this.balance=t,this.stateRoot=n,this.codeHash=l,this._validate()}returne.fromAccountData=function(t){varn=t.nonce,l=t.balance,r=t.stateRoot,a=t.codeHash;returnnewe(n?newi.BN((0,c.toBuffer)(n)):void0,l?newi.BN((0,c.toBuffer)(l)):void0,r?(0,c.toBuffer)(r):void0,a?(0,c.toBuffer)(a):void0)},e.fromRlpSerializedAccount=function(e){vart=i.rlp.decode(e);if(!Array.isArray(t))thrownewError("Invalid serialized account input. Must be array");returnthis.fromValuesArray(t)},e.fromValuesArray=function(t){varn=l(t,4),r=n[0],a=n[1],u=n[2],o=n[3];returnnewe(newi.BN(r),newi.BN(a),u,o)},e.prototype._validate=function(){if(this.nonce.lt(newi.BN(0)))thrownewError("nonce must be greater than zero");if(this.balance.lt(newi.BN(0)))thrownewError("balance must be greater than zero");if(32!==this.stateRoot.length)thrownewError("stateRoot must have a length of 32");if(32!==this.codeHash.length)thrownewError("codeHash must have a length of 32")},e.prototype.raw=function(){return[(0,h.bnToUnpaddedBuffer)(this.nonce),(0,h.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},e.prototype.serialize=function(){returni.rlp.encode(this.raw())},e.prototype.isContract=function(){return!this.codeHash.equals(s.KECCAK256_NULL)},e.prototype.isEmpty=function(){returnthis.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(s.KECCAK256_NULL)},e}();t.Account=p;t.isValidAddress=function(e){try{(0,d.assertIsString)(e)}catch(t){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};t.toChecksumAddress=function(e,t){(0,d.assertIsHexString)(e);varn=(0,o.stripHexPrefix)(e).toLowerCase(),l="";if(t){varr=(0,h.toType)(t,h.TypeOutput.BN);l=r.toString()+"0x"}for(vara=(0,f.keccakFromString)(l+n).toString("hex"),i=
varl=n("4587"),r=n("a6eb"),a=(n("548f"),n("24b8").Ber,n("c417")._),i=n("c417"),u=n("8f7b"),o=n("457a");"undefined"===typeofl.RSA_NO_PADDING&&(l.RSA_NO_PADDING=3),e.exports=function(){vare={node10:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],node:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],iojs:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],browser:["md5","ripemd160","sha1","sha256","sha512"]},n={private:"pkcs1-private-pem","private-der":"pkcs1-private-der",public:"pkcs8-public-pem","public-der":"pkcs8-public-der"};functionl(e,n,u){if(!(thisinstanceofl))returnnewl(e,n,u);a.isObject(n)&&(u=n,n=void0),this.$options={signingScheme:"pkcs1",signingSchemeOptions:{hash:"sha256",saltLength:null},encryptionScheme:"pkcs1_oaep",encryptionSchemeOptions:{hash:"sha1",label:null},environment:i.detectEnvironment(),rsaUtils:this},this.keyPair=newr.Key,this.$cache={},t.isBuffer(e)||a.isString(e)?this.importKey(e,n):a.isObject(e)&&this.generateKeyPair(e.b,e.e),this.setOptions(u)}returnl.prototype.setOptions=function(t){if(t=t||{},t.environment&&(this.$options.environment=t.environment),t.signingScheme){if(a.isString(t.signingScheme)){varn=t.signingScheme.toLowerCase().split("-");1==n.length?e.node.indexOf(n[0])>-1?(this.$options.signingSchemeOptions={hash:n[0]},this.$options.signingScheme="pkcs1"):(this.$options.signingScheme=n[0],this.$options.signingSchemeOptions={hash:null}):(this.$options.signingSchemeOptions={hash:n[1]},this.$options.signingScheme=n[0])}elsea.isObject(t.signingScheme)&&(this.$options.signingScheme=t.signingScheme.scheme||"pkcs1",this.$options.signingSchemeOptions=a.omit(t.signingScheme,"scheme"));if(!u.isSignature(this.$options.signingScheme))throwError("Unsupported signing scheme");if(this.$options.signingSchemeOptions.hash&&-1===e[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash))throwError("Unsupported hashing algorithm for "+this.$options.environment+" environment")}if(t.encryptionScheme){if(a.isString(t.encryptionScheme)?(this.$options.encryptionScheme=t.encryptionScheme.toLowerCase(),this.$options.encryptionSchemeOptions={}):a.isObject(t.encryptionScheme)&&(this.$options.encryptionScheme=t.encryptionScheme.scheme||"pkcs1_oaep",this.$options.encryptionSchemeOptions=a.omit(t.encryptionScheme,"scheme")),!u.isEncryption(this.$options.encryptionScheme))throwError("Unsupported encryption scheme");if(this.$options.encryptionSchemeOptions.hash&&-1===e[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash))throwError("Unsupported hashing algorithm for "+this.$options.environment+" environment")}this.keyPair.setOptions(this.$options)},l.prototype.generateKeyPair=function(e,t){if(e=e||2048,t=t||65537,e%8!==0)throwError("Key size must be a multiple of 8.");returnthis.keyPair.generate(e,t.toString(16)),this.$cache={},this},l.prototype.importKey=function(e,t){if(!e)throwError("Empty key given");if(t&&(t=n[t]||t),!o.detectAndImport(this.keyPair,e,t)&&void0===t)throwError("Key format must be specified");returnthis.$cache={},this},l.prototype.exportKey=function(e){returne=e||"private",e=n[e]||e,this.$cache[e]||(this.$cache[e]=o.detectAndExport(this.keyPair,e)),this.$cache[e]},l.prototype.isPrivate=function(){returnthis.keyPair.isPrivate()},l.prototype.isPublic=function(e){returnthis.keyPair.isPublic(e)},l.prototype.isEmpty=function(e){return!(this.keyPair.n||this.keyPair.e||this.keyPair.d)},l.prototype.encrypt=function(e,t,n){returnthis.$$encryptKey(!1,e,t,n)},l.prototype.decrypt=function(e,t){returnthis.$$decryptKey(!1,e,t)},l.prototype.encryptPrivate=function(e,t,n){returnthis.$$encryptKey(!0,e,t,n)},l.prototype.decryptPublic=function(e,t){returnthis.$$decryptKey(!0,e,t)},l.prototype.$$encryptKey=function(e,t,n,l){try{varr=this.keyPair.encrypt(this.$getDataForEncrypt(t,l),e);return"buffer"!=n&&n?r.toString(n):r}catch(a){throwError("Error during encryption. Original error: "+a)}},l.prototype.$$decryptKey=function(e,n,l){try{n=a.isString(n)?t.from(n,"base64"):n;varr=this.keyPai
varl=n("10ab"),r=n("ba37"),a=n("b0e47");functioni(){returno.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionu(e,t){if(i()<t)thrownewRangeError("Invalid typed array length");returno.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=o.prototype):(null===e&&(e=newo(t)),e.length=t),e}functiono(e,t,n){if(!o.TYPED_ARRAY_SUPPORT&&!(thisinstanceofo))returnnewo(e,t,n);if("number"===typeofe){if("string"===typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnf(this,e)}returns(this,e,t,n)}functions(e,t,n,l){if("number"===typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&tinstanceofArrayBuffer?function(e,t,n,l){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(l||0))thrownewRangeError("'length' is out of bounds");t=void0===n&&void0===l?newUint8Array(t):void0===l?newUint8Array(t,n):newUint8Array(t,n,l);o.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=o.prototype):e=d(e,t);returne}(e,t,n,l):"string"===typeoft?function(e,t,n){"string"===typeofn&&""!==n||(n="utf8");if(!o.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varl=0|p(t,n);e=u(e,l);varr=e.write(t,n);r!==l&&(e=e.slice(0,r));returne}(e,t,n):function(e,t){if(o.isBuffer(t)){varn=0|h(t.length);returne=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!==typeoft.length||function(e){returne!==e}(t.length)?u(e,0):d(e,t);if("Buffer"===t.type&&a(t.data))returnd(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}functionc(e){if("number"!==typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionf(e,t){if(c(t),e=u(e,t<0?0:0|h(t)),!o.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functiond(e,t){varn=t.length<0?0:0|h(t.length);e=u(e,n);for(varl=0;l<n;l+=1)e[l]=255&t[l];returne}functionh(e){if(e>=i())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return0|e}functionp(e,t){if(o.isBuffer(e))returne.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!==typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varl=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnL(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnU(e).length;default:if(l)returnL(e).length;t=(""+t).toLowerCase(),l=!0}}functionv(e,t,n){varl=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":returnO(this,t,n);case"utf8":case"utf-8":returnC(this,t,n);case"ascii":returnA(this,t,n);case"latin1":case"binary":returnM(this,t,n);case"base64":returnE(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnP(this,t,n);default:if(l)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),l=!0}}functionb(e,t,n){varl=e[t];e[t]=e[n],e[n]=l}functionm(e,t,n,l,r){if(0===e.length)return-1;if("string"===typeofn?(l=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}elseif(n<0){if(!r)return-1;n=0}if("string"===typeoft&&(t=o.from(t,l)),o.isBuffer(t))return0===t.length?-1:g(e,t,n,l,r);if("number"===typeoft)returnt&=255,o.TYPED_ARRAY_SUPPORT&&"function"===typeofUint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,l,r);thrownewTypeError("val must be string, number or Buffer")}functiong(e,t,n,l,r){vara,i=1,u=e.length,o=t.length;i
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */varl=n("67ad"),r=n("0bdb"),a=n("127e"),i=n("ee10"),u=n("3b2d");Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=t.nextTick=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=void0,t.isBytes=function(e){returneinstanceofUint8Array||null!=e&&"object"===u(e)&&"Uint8Array"===e.constructor.name},t.byteSwap32=function(e){for(varn=0;n<e.length;n++)e[n]=(0,t.byteSwap)(e[n])},t.bytesToHex=function(e){(0,s.bytes)(e);for(vart="",n=0;n<e.length;n++)t+=c[e[n]];returnt},t.hexToBytes=function(e){if("string"!==typeofe)thrownewError("hex string expected, got "+u(e));vart=e.length,n=t/2;if(t%2)thrownewError("padded hex string expected, got unpadded hex of length "+t);for(varl=newUint8Array(n),r=0,a=0;r<n;r++,a+=2){vari=d(e.charCodeAt(a)),o=d(e.charCodeAt(a+1));if(void0===i||void0===o){vars=e[a]+e[a+1];thrownewError('hex string expected, got non-hex character "'+s+'" at index '+a)}l[r]=16*i+o}returnl},t.asyncLoop=function(e,t,n){returnp.apply(this,arguments)},t.utf8ToBytes=v,t.toBytes=b,t.concatBytes=function(){for(vare=0,t=0;t<arguments.length;t++){varn=t<0||arguments.length<=t?void0:arguments[t];(0,s.bytes)(n),e+=n.length}for(varl=newUint8Array(e),r=0,a=0;r<arguments.length;r++){vari=r<0||arguments.length<=r?void0:arguments[r];l.set(i,a),a+=i.length}returnl},t.checkOpts=function(e,t){if(void0!==t&&"[object Object]"!==g.call(t))thrownewError("Options should be object or undefined");varn=Object.assign(e,t);returnn},t.wrapConstructor=function(e){vart=function(t){returne().update(b(t)).digest()},n=e();returnt.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(){returne()},t},t.wrapConstructorWithOpts=function(e){vart=function(t,n){returne(n).update(b(t)).digest()},n=e({});returnt.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(t){returne(t)},t},t.wrapXOFConstructorWithOpts=function(e){vart=function(t,n){returne(n).update(b(t)).digest()},n=e({});returnt.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(t){returne(t)},t},t.randomBytes=function(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:32;if(o.crypto&&"function"===typeofo.crypto.getRandomValues)returno.crypto.getRandomValues(newUint8Array(e));if(o.crypto&&"function"===typeofo.crypto.randomBytes)returno.crypto.randomBytes(e);thrownewError("crypto.getRandomValues must be defined")};varo=n("6cc5"),s=n("d885");t.u8=function(e){returnnewUint8Array(e.buffer,e.byteOffset,e.byteLength)};t.u32=function(e){returnnewUint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))};t.createView=function(e){returnnewDataView(e.buffer,e.byteOffset,e.byteLength)};t.rotr=function(e,t){returne<<32-t|e>>>t};t.rotl=function(e,t){returne<<t|e>>>32-t>>>0},t.isLE=68===newUint8Array(newUint32Array([287454020]).buffer)[0];t.byteSwap=function(e){returne<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255},t.byteSwapIfBE=t.isLE?function(e){returne}:function(e){return(0,t.byteSwap)(e)};varc=Array.from({length:256},(function(e,t){returnt.toString(16).padStart(2,"0")}));varf={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};functiond(e){returne>=f._0&&e<=f._9?e-f._0:e>=f._A&&e<=f._F?e-(f._A-10):e>=f._a&&e<=f._f?e-(f._a-10):void0}varh=function(){vare=i(a.mark((functione(){returna.wrap((function(e){while(1)switch(e.prev=e.next){case0:case"end":returne.stop()}}),e)})));returnfunction(){returne.apply(this,arguments)}}();functionp(){returnp=i(a.mark((functione(n,l,r){vari,u,o;returna.wrap((function(e){while(1)switch(e.prev=e.next){case0:i=Date.now(),u=0;case2:if(!(u<n)){e.next=13;break}if(r(u),o=Date.now()-i,!(o>=0&&o<l)){e.next=7;break}returne.abrupt("continue",10);case7:returne.next=9,(0,t.nextTick)();case9:i+=o;case10:u++,e.next=2;break;case13:case"end":returne.stop()}}),e)}))),p.apply(this,arguments)}functionv(e){if("string"!==typeofe)thrownewError("utf8ToBytes expected string, got ".concat(u(e)));returnnewUint8Array((newTextEncoder).encode(e))}functionb(e){return"string"===typeof
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
varl=n("12e3"),r=l.Buffer;functiona(e,t){for(varnine)t[n]=e[n]}functioni(e,t,n){returnr(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=l:(a(l,t),t.Buffer=i),i.prototype=Object.create(r.prototype),a(r,i),i.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returnr(e,t,n)},i.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varl=r(e);returnvoid0!==t?"string"===typeofn?l.fill(t,n):l.fill(t):l.fill(0),l},i.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr(e)},i.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnl.SlowBuffer(e)}},"5f85":function(e,t,n){"use strict";varl=n("5f79").Buffer,r=l.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};functiona(e){vart;switch(this.encoding=function(e){vart=function(e){if(!e)return"utf8";vart;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":returne;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeoft&&(l.isEncoding===r||!r(e)))thrownewError("Unknown encoding: "+e);returnt||e}(e),this.encoding){case"utf16le":this.text=o,this.end=s,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:returnthis.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(t)}functioni(e){returne<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}functionu(e){vart=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))returne.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))returne.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))returne.lastNeed=2,"\ufffd"}}(this,e);returnvoid0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}functiono(e,t){if((e.length-t)%2===0){varn=e.toString("utf16le",t);if(n){varl=n.charCodeAt(n.length-1);if(l>=55296&&l<=56319)returnthis.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}returnn}returnthis.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}functions(e){vart=e&&e.length?this.write(e):"";if(this.lastNeed){varn=this.lastTotal-this.lastNeed;returnt+this.lastChar.toString("utf16le",0,n)}returnt}functionc(e,t){varn=(e.length-t)%3;return0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}functionf(e){vart=e&&e.length?this.write(e):"";returnthis.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}functiond(e){returne.toString(this.encoding)}functionh(e){returne&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";vart,n;if(this.lastNeed){if(t=this.fillLast(e),void0===t)return"";n=this.lastNeed,this.lastNeed=0}elsen=0;returnn<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){vart=e&&e.length?this.write(e):"";returnthis.lastNeed?t+"\ufffd":t},a.prototype.text=function(e,t){varn=function(e,t,n){varl=t.length-1;if(l<n)return0;varr=i(t[l]);if(r>=0)returnr>0&&(e.lastNeed=r-1),r;if(--l<n||-2===r)return0;if(r=i(t[l]),r>=0)returnr>0&&(e.lastNeed=r-2),r;if(--l<n||-2===r)return0;if(r=i(t[l]),r>=0)returnr>0&&(2===r?r=0:e.lastNeed=r-3),r;return0}(this,e,t);if(!this.lastNeed)returne.toString("utf8",t);this.lastTotal=n;varl=e.length-(n-this.lastNeed);returne.copy(this.lastChar,
varp=n("c25b"),v=n("f7bb"),b=n("a915"),m=n("a915");varg=b.bytesToNumberBE,y=b.hexToBytes;t.DER={Err:function(e){a(n,e);vart=f(n);functionn(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:"";returnr(this,n),t.call(this,e)}returnl(n)}(o(Error)),_parseInt:function(e){varn=t.DER.Err;if(e.length<2||2!==e[0])thrownewn("Invalid signature integer tag");varl=e[1],r=e.subarray(2,l+2);if(!l||r.length!==l)thrownewn("Invalid signature integer: wrong length");if(128&r[0])thrownewn("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))thrownewn("Invalid signature integer: unnecessary leading zero");return{d:g(r),l:e.subarray(l+2)}},toSig:function(e){varn=t.DER.Err,l="string"===typeofe?y(e):e;b.abytes(l);varr=l.length;if(r<2||48!=l[0])thrownewn("Invalid signature tag");if(l[1]!==r-2)thrownewn("Invalid signature: incorrect length");vara=t.DER._parseInt(l.subarray(2)),i=a.d,u=a.l,o=t.DER._parseInt(u),s=o.d,c=o.l;if(c.length)thrownewn("Invalid signature: left bytes after parsing");return{r:i,s:s}},hexFromSig:function(e){vart=function(e){return8&Number.parseInt(e[0],16)?"00"+e:e},n=function(e){vart=e.toString(16);return1&t.length?"0".concat(t):t},l=t(n(e.s)),r=t(n(e.r)),a=l.length/2,i=r.length/2,u=n(a),o=n(i);return"30".concat(n(i+a+4),"02").concat(o).concat(r,"02").concat(u).concat(l)}};var_=BigInt(0),w=BigInt(1),x=BigInt(2),k=BigInt(3),S=BigInt(4);functionE(e){vart=function(e){vart=(0,p.validateBasic)(e);b.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});varn=t.endo,l=t.Fp,r=t.a;if(n){if(!l.eql(r,l.ZERO))thrownewError("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!==c(n)||"bigint"!==typeofn.beta||"function"!==typeofn.splitScalar)thrownewError("Expected endomorphism with beta: bigint and splitScalar: function")}returnObject.freeze(h({},t))}(e),n=t.Fp,a=t.toBytes||function(e,t,l){varr=t.toAffine();returnb.concatBytes(Uint8Array.from([4]),n.toBytes(r.x),n.toBytes(r.y))},i=t.fromBytes||function(e){vart=e.subarray(1),l=n.fromBytes(t.subarray(0,n.BYTES)),r=n.fromBytes(t.subarray(n.BYTES,2*n.BYTES));return{x:l,y:r}};functionu(e){varl=t.a,r=t.b,a=n.sqr(e),i=n.mul(a,e);returnn.add(n.add(i,n.mul(e,l)),r)}if(!n.eql(n.sqr(t.Gy),u(t.Gx)))thrownewError("bad generator point: equation left != right");functiono(e){return"bigint"===typeofe&&_<e&&e<t.n}functions(e){if(!o(e))thrownewError("Expected valid bigint: 0 < bigint < curve.n")}functionf(e){varn,l=t.allowedPrivateKeyLengths,r=t.nByteLength,a=t.wrapPrivateKey,i=t.n;if(l&&"bigint"!==typeofe){if(b.isBytes(e)&&(e=b.bytesToHex(e)),"string"!==typeofe||!l.includes(e.length))thrownewError("Invalid key");e=e.padStart(2*r,"0")}try{n="bigint"===typeofe?e:b.bytesToNumberBE((0,m.ensureBytes)("private key",e,r))}catch(u){thrownewError("private key must be ".concat(r," bytes, hex or bigint, not ").concat(c(e)))}returna&&(n=v.mod(n,i)),s(n),n}vard=newMap;functiong(e){if(!(einstanceofy))thrownewError("ProjectivePoint expected")}vary=function(){functione(t,l,a){if(r(this,e),this.px=t,this.py=l,this.pz=a,null==t||!n.isValid(t))thrownewError("x required");if(null==l||!n.isValid(l))thrownewError("y required");if(null==a||!n.isValid(a))thrownewError("z required")}returnl(e,[{key:"x",get:function(){returnthis.toAffine().x}},{key:"y",get:function(){returnthis.toAffine().y}},{key:"_setWindowSize",value:function(e){this._WINDOW_SIZE=e,d.delete(this)}},{key:"assertValidity",value:function(){if(this.is0()){if(t.allowInfinityPoint&&!n.is0(this.py))return;thrownewError("bad point: ZERO")}vare=this.toAffine(),l=e.x,r=e.y;if(!n.isValid(l)||!n.isValid(r))thrownewError("bad point: x or y not FE");vara=n.sqr(r),i=u(l);if(!n.eql(a,i))thrownewError("bad point: equation left != right");if(!this.isTorsionFree())thrownewError("bad point: not in prime-order subgroup")}},{key:"hasEvenY",value:function(){vare=this.toAffine(),
(function(){"use strict";vari="object"===("undefined"===typeofwindow?"undefined":a(window)),u=i?window:{};u.JS_SHA3_NO_WINDOW&&(i=!1);varo=!i&&"object"===("undefined"===typeofself?"undefined":a(self)),s=!u.JS_SHA3_NO_NODE_JS&&"object"===("undefined"===typeofe?"undefined":a(e))&&e.versions&&e.versions.node;s?u=global:o&&(u=self);for(varc=!u.JS_SHA3_NO_COMMON_JS&&"object"===a(l)&&l.exports,f=n("9c4a"),d=!u.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!==typeofArrayBuffer,h="0123456789abcdef".split(""),p=[4,1024,262144,67108864],v=[0,8,16,24],b=[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],m=[224,256,384,512],g=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],_={128:168,256:136},w=u.JS_SHA3_NO_NODE_JS||!Array.isArray?function(e){return"[object Array]"===Object.prototype.toString.call(e)}:Array.isArray,x=!d||!u.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView?ArrayBuffer.isView:function(e){return"object"===a(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer},k=function(e){vart=a(e);if("string"===t)return[e,!0];if("object"!==t||null===e)thrownewError("input is invalid type");if(d&&e.constructor===ArrayBuffer)return[newUint8Array(e),!1];if(!w(e)&&!x(e))thrownewError("input is invalid type");return[e,!1]},S=function(e){return0===k(e)[0].length},E=function(e){for(vart=[],n=0;n<e.length;++n)t[n]=e[n];returnt},C=function(e,t,n){returnfunction(l){returnnewU(e,t,e).update(l)[n]()}},A=function(e,t,n){returnfunction(l,r){returnnewU(e,t,r).update(l)[n]()}},M=function(e,t,n){returnfunction(t,l,r,a){returnB["cshake"+e].update(t,l,r,a)[n]()}},O=function(e,t,n){returnfunction(t,l,r,a){returnB["kmac"+e].update(t,l,r,a)[n]()}},P=function(e,t,n,l){for(varr=0;r<y.length;++r){vara=y[r];e[a]=t(n,l,a)}returne},T=function(e,t){varn=C(e,t,"hex");returnn.create=function(){returnnewU(e,t,e)},n.update=function(e){returnn.create().update(e)},P(n,C,e,t)},I=[{name:"keccak",padding:[1,256,65536,16777216],bits:m,createMethod:T},{name:"sha3",padding:[6,1536,393216,100663296],bits:m,createMethod:T},{name:"shake",padding:[31,7936,2031616,520093696],bits:g,createMethod:function(e,t){varn=A(e,t,"hex");returnn.create=function(n){returnnewU(e,t,n)},n.update=function(e,t){returnn.create(t).update(e)},P(n,A,e,t)}},{name:"cshake",padding:p,bits:g,createMethod:function(e,t){varn=_[e],l=M(e,0,"hex");returnl.create=function(l,r,a){returnS(r)&&S(a)?B["shake"+e].create(l):newU(e,t,l).bytepad([r,a],n)},l.update=function(e,t,n,r){returnl.create(t,n,r).update(e)},P(l,M,e,t)}},{name:"kmac",padding:p,bits:g,createMethod:function(e,t){varn=_[e],l=O(e,0,"hex");returnl.create=function(l,r,a){returnnewF(e,t,r).bytepad(["KMAC",a],n).bytepad([l],n)},l.update=function(e,t,n,r){returnl.create(e,n,r).update(t)},P(l,O,e,t)}}],B={},$=[],j=0;j<I.length;++j)for(varN=I[j],D=N.bits,R=0;R<D.length;++R){varz=N.name+"_"+D[R];if($.push(z),B[z]=N.createMethod(D[R],N.padding),"sha3"!==N.name){varL=N.name+D[R];$.push(L),B[L]=B[z]}}functionU(e,t,n){this.blocks=[],this.s=[],this.padding=t,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(varl=0;l<50;++l)this.s[l]=0}functionF(e,t,n){U.call(this,e,t,n)}U.prototype.update=function(e){if(this.finalized)thrownewError("finalize already called");vart=k(e);e=t[0];varn,l,r=t[1],a=this.blocks,i=this.byteCount,u=e.length,o=this.blockCount,s=0,c=this.s;while(s<u){if(this.reset)for(this.reset=!1,a[0]=this.block,n=1;n<o+1;++n)a[n]=0;if(r)for(n=this.start;s<u&&n<i;++s)l=e.charCodeAt(s),l<128?a[n>>2]|=l<<v[3&n++]:l<2048?(a[n>>2]|=(192|l>>6)<<v[3&n++],a[n>>2]|=(128|63&l)<<v[3&n++]):l<55296||l>=57344?(a[n>>2]|=(224|l>>12)<<v[3&n++],a[n>>2]|=(128|l>>6&63)<<v[3&n++],a
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){returnn},e.exports.__esModule=!0,e.exports["default"]=e.exports;vart,n={},a=Object.prototype,i=a.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeofSymbol?Symbol:{},s=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",f=o.toStringTag||"@@toStringTag";functiond(e,t,n){returnObject.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){returne[t]=n}}functionh(e,t,n,l){varr=t&&t.prototypeinstanceofy?t:y,a=Object.create(r.prototype),i=newI(l||[]);returnu(a,"_invoke",{value:M(e,n,i)}),a}functionp(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;varv="suspendedStart",b="executing",m="completed",g={};functiony(){}function_(){}functionw(){}varx={};d(x,s,(function(){returnthis}));vark=Object.getPrototypeOf,S=k&&k(k(B([])));S&&S!==a&&i.call(S,s)&&(x=S);varE=w.prototype=y.prototype=Object.create(x);functionC(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){returnthis._invoke(t,e)}))}))}functionA(e,t){functionn(r,a,u,o){vars=p(e[r],e,a);if("throw"!==s.type){varc=s.arg,f=c.value;returnf&&"object"==l(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,o)}),(function(e){n("throw",e,u,o)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){returnn("throw",e,u,o)}))}o(s.arg)}varr;u(this,"_invoke",{value:function(e,l){functiona(){returnnewt((function(t,r){n(e,l,t,r)}))}returnr=r?r.then(a,a):a()}})}functionM(e,n,l){varr=v;returnfunction(a,i){if(r===b)throwError("Generator is already running");if(r===m){if("throw"===a)throwi;return{value:t,done:!0}}for(l.method=a,l.arg=i;;){varu=l.delegate;if(u){varo=O(u,l);if(o){if(o===g)continue;returno}}if("next"===l.method)l.sent=l._sent=l.arg;elseif("throw"===l.method){if(r===v)throwr=m,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);r=b;vars=p(e,n,l);if("normal"===s.type){if(r=l.done?m:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:l.done}}"throw"===s.type&&(r=m,l.method="throw",l.arg=s.arg)}}}functionO(e,n){varl=n.method,r=e.iterator[l];if(r===t)returnn.delegate=null,"throw"===l&&e.iterator["return"]&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==l&&(n.method="throw",n.arg=newTypeError("The iterator does not provide a '"+l+"' method")),g;vara=p(r,e.iterator,n.arg);if("throw"===a.type)returnn.method="throw",n.arg=a.arg,n.delegate=null,g;vari=a.arg;returni?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=newTypeError("iterator result is not an object"),n.delegate=null,g)}functionP(e){vart={tryLoc:e[0]};1ine&&(t.catchLoc=e[1]),2ine&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}functionT(e){vart=e.completion||{};t.type="normal",deletet.arg,e.completion=t}functionI(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}functionB(e){if(e||""===e){varn=e[s];if(n)returnn.call(e);if("function"==typeofe.next)returne;if(!isNaN(e.length)){varr=-1,a=functionn(){for(;++r<e.length;)if(i.call(e,r))returnn.value=e[r],n.done=!1,n;returnn.value=t,n.done=!0,n};returna.next=a}}thrownewTypeError(l(e)+" is not iterable")}return_.prototype=w,u(E,"constructor",{value:w,configurable:!0}),u(w,"constructor",{value:_,configurable:!0}),_.displayName=d(w,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){vart="function"==typeofe&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){returnObject.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},n.awrap=function(e){return{__await:e}},C(A.prototype),d(A.prototype,c,(function(){returnthis})),n.AsyncIterator=A,n.async=functi
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */functionu(e){if(!Number.isSafeInteger(e))thrownewError("Wrong integer: ".concat(e))}functiono(e){returneinstanceofUint8Array||null!=e&&"object"===(0,r.default)(e)&&"Uint8Array"===e.constructor.name}functions(){for(vare=function(e){returne},t=function(e,t){returnfunction(n){returne(t(n))}},n=arguments.length,l=newArray(n),r=0;r<n;r++)l[r]=arguments[r];vara=l.map((function(e){returne.encode})).reduceRight(t,e),i=l.map((function(e){returne.decode})).reduce(t,e);return{encode:a,decode:i}}functionc(e){return{encode:function(t){if(!Array.isArray(t)||t.length&&"number"!==typeoft[0])thrownewError("alphabet.encode input should be an array of numbers");returnt.map((function(t){if(u(t),t<0||t>=e.length)thrownewError("Digit index outside alphabet: ".concat(t," (alphabet: ").concat(e.length,")"));returne[t]}))},decode:function(t){if(!Array.isArray(t)||t.length&&"string"!==typeoft[0])thrownewError("alphabet.decode input should be array of strings");returnt.map((function(t){if("string"!==typeoft)thrownewError("alphabet.decode: not string element=".concat(t));varn=e.indexOf(t);if(-1===n)thrownewError('Unknown letter: "'.concat(t,'". Allowed: ').concat(e));returnn}))}}}functionf(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:"";if("string"!==typeofe)thrownewError("join separator should be string");return{encode:function(t){if(!Array.isArray(t)||t.length&&"string"!==typeoft[0])thrownewError("join.encode input should be array of strings");varn,l=a(t);try{for(l.s();!(n=l.n()).done;){varr=n.value;if("string"!==typeofr)thrownewError("join.encode: non-string input=".concat(r))}}catch(i){l.e(i)}finally{l.f()}returnt.join(e)},decode:function(t){if("string"!==typeoft)thrownewError("join.decode input should be string");returnt.split(e)}}}functiond(e){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:"=";if(u(e),"string"!==typeoft)thrownewError("padding chr should be string");return{encode:function(n){if(!Array.isArray(n)||n.length&&"string"!==typeofn[0])thrownewError("padding.encode input should be array of strings");varl,r=a(n);try{for(r.s();!(l=r.n()).done;){vari=l.value;if("string"!==typeofi)thrownewError("padding.encode: non-string input=".concat(i))}}catch(u){r.e(u)}finally{r.f()}while(n.length*e%8)n.push(t);returnn},decode:function(n){if(!Array.isArray(n)||n.length&&"string"!==typeofn[0])thrownewError("padding.encode input should be array of strings");varl,r=a(n);try{for(r.s();!(l=r.n()).done;){vari=l.value;if("string"!==typeofi)thrownewError("padding.decode: non-string input=".concat(i))}}catch(o){r.e(o)}finally{r.f()}varu=n.length;if(u*e%8)thrownewError("Invalid padding: string should have whole number of bytes");for(;u>0&&n[u-1]===t;u--)if(!((u-1)*e%8))thrownewError("Invalid padding: string has too much padding");returnn.slice(0,u)}}}functionh(e){if("function"!==typeofe)thrownewError("normalize fn should be function");return{encode:function(e){returne},decode:function(t){returne(t)}}}functionp(e,t,n){if(t<2)thrownewError("convertRadix: wrong from=".concat(t,", base cannot be less than 2"));if(n<2)thrownewError("convertRadix: wrong to=".concat(n,", base cannot be less than 2"));if(!Array.isArray(e))thrownewError("convertRadix: data should be array");if(!e.length)return[];varl=0,r=[],a=Array.from(e);a.forEach((function(e){if(u(e),e<0||e>=t)thrownewError("Wrong integer: ".concat(e))}));while(1){for(vari=0,o=!0,s=l;s<a.length;s++){varc=a[s],f=t*i+c;if(!Number.isSafeInteger(f)||t*i/t!==i||f-c!==t*i)thrownewError("convertRadix: carry overflow");i=f%n;vard=Math.floor(f/n);if(a[s]=d,!Number.isSafeInteger(d)||d*n+i!==f)thrownewError("convertRadix: carry overflow");o&&(d?o=!1:l=s)}if(r.push(i),o)break}for(varh=0;h<e.length-1&&0===e[h];h++)r.push(0);returnr.reverse()}varv=function(e,t){returne+(t-functione(t,n){returnn?e(n,t%n):t}(e,t))};functionb(e,t,n,l){if(!Array.isArray(e))thrownewError("convertRadix2: data should be array");if(t<=0||t>32)thr
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
vara=BigInt(0),i=BigInt(1),u=BigInt(2);functiono(e){returneinstanceofUint8Array||null!=e&&"object"===r(e)&&"Uint8Array"===e.constructor.name}functions(e){if(!o(e))thrownewError("Uint8Array expected")}varc=Array.from({length:256},(function(e,t){returnt.toString(16).padStart(2,"0")}));functionf(e){s(e);for(vart="",n=0;n<e.length;n++)t+=c[e[n]];returnt}functiond(e){vart=e.toString(16);return1&t.length?"0".concat(t):t}functionh(e){if("string"!==typeofe)thrownewError("hex string expected, got "+r(e));returnBigInt(""===e?"0":"0x".concat(e))}varp={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};functionv(e){returne>=p._0&&e<=p._9?e-p._0:e>=p._A&&e<=p._F?e-(p._A-10):e>=p._a&&e<=p._f?e-(p._a-10):void0}functionb(e){if("string"!==typeofe)thrownewError("hex string expected, got "+r(e));vart=e.length,n=t/2;if(t%2)thrownewError("padded hex string expected, got unpadded hex of length "+t);for(varl=newUint8Array(n),a=0,i=0;a<n;a++,i+=2){varu=v(e.charCodeAt(i)),o=v(e.charCodeAt(i+1));if(void0===u||void0===o){vars=e[i]+e[i+1];thrownewError('hex string expected, got non-hex character "'+s+'" at index '+i)}l[a]=16*u+o}returnl}functionm(e,t){returnb(e.toString(16).padStart(2*t,"0"))}functiong(){for(vare=0,t=0;t<arguments.length;t++){varn=t<0||arguments.length<=t?void0:arguments[t];s(n),e+=n.length}for(varl=newUint8Array(e),r=0,a=0;r<arguments.length;r++){vari=r<0||arguments.length<=r?void0:arguments[r];l.set(i,a),a+=i.length}returnl}t.bitMask=function(e){return(u<<BigInt(e-1))-i};vary=function(e){returnnewUint8Array(e)},_=function(e){returnUint8Array.from(e)};varw={bigint:function(e){return"bigint"===typeofe},function:function(e){return"function"===typeofe},boolean:function(e){return"boolean"===typeofe},string:function(e){return"string"===typeofe},stringOrUint8Array:function(e){return"string"===typeofe||o(e)},isSafeInteger:function(e){returnNumber.isSafeInteger(e)},array:function(e){returnArray.isArray(e)},field:function(e,t){returnt.Fp.isValid(e)},hash:function(e){return"function"===typeofe&&Number.isSafeInteger(e.outputLen)}}},a950:function(e,t,n){"use strict";n.r(t);varl=n("0161"),r=n.n(l);for(varainl)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnl[e]}))}(a);t["default"]=r.a},a982:function(e,t,n){"use strict";n.r(t);varl=n("32e3"),r=n.n(l);for(varainl)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnl[e]}))}(a);t["default"]=r.a},a9f7:function(e,t,n){"use strict";varl=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varr=l(n("127e")),a=l(n("ee10")),i=n("06ab"),u={data:function(){return{swiperList:[]}},onShow:function(){this.getMinerlist()},methods:{getMinerlist:function(){vare=this;return(0,a.default)(r.default.mark((functiont(){varn;returnr.default.wrap((function(t){while(1)switch(t.prev=t.next){case0:returnt.next=2,(0,i._minerlist)({page:1,listrow:9999999});case2:n=t.sent,1===n.code&&(e.swiperList=n.data);case4:case"end":returnt.stop()}}),t)})))()},timeOptions:function(e){vart=newDate(e),n=t.getFullYear(),l=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),i=t.getMinutes().toString().padStart(2,"0"),u=t.getSeconds().toString().padStart(2,"0");return"".concat(n,"-").concat(l,"-").concat(r," ").concat(a,":").concat(i,":").concat(u)},fuzhi:function(e){uni.setClipboardData({data:e,success:function(){uni.showToast({title:"\u8907\u88fd\u6210\u529f"})}})}}};t.default=u},aa1b:function(e,t,n){"use strict";n.r(t);varl=n("17d3"),r=n("4e47");for(varainr)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnr[e]}))}(a);vari=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void0);t["default"]=u.exports},aad9:function(e,t,n){"use strict";n.r(t);varl=n("d752"),r=n("0413");for(varainr)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnr[e]}))}(a);vari=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,"015faaa0",null,!1,l["a"],void0);t["default"]=u.exports},aaed
varr=n("a915"),a=BigInt(0),i=BigInt(1),u=BigInt(2),o=BigInt(3),s=BigInt(4),c=BigInt(5),f=BigInt(8);BigInt(9),BigInt(16);functiond(e,t){varn=e%t;returnn>=a?n:t+n}functionh(e,t,n){if(n<=a||t<a)thrownewError("Expected power/modulo > 0");if(n===i)returna;varl=i;while(t>a)t&i&&(l=l*e%n),e=e*e%n,t>>=i;returnl}functionp(e,t){if(e===a||t<=a)thrownewError("invert: expected positive integers, got n=".concat(e," mod=").concat(t));varn=d(e,t),l=t,r=a,u=i,o=i,s=a;while(n!==a){varc=l/n,f=l%n,h=r-o*c,p=u-s*c;l=n,n=f,r=o,u=s,o=h,s=p}varv=l;if(v!==i)thrownewError("invert: does not exist");returnd(r,t)}functionv(e){vart,n,l,r=(e-i)/u;for(t=e-i,n=0;t%u===a;t/=u,n++);for(l=u;l<e&&h(l,r,e)!==e-i;l++);if(1===n){varo=(e+i)/s;returnfunction(e,t){varn=e.pow(t,o);if(!e.eql(e.sqr(n),t))thrownewError("Cannot find square root");returnn}}varc=(t+i)/u;returnfunction(e,a){if(e.pow(a,r)===e.neg(e.ONE))thrownewError("Cannot find square root");varu=n,o=e.pow(e.mul(e.ONE,l),t),s=e.pow(a,c),f=e.pow(a,t);while(!e.eql(f,e.ONE)){if(e.eql(f,e.ZERO))returne.ZERO;for(vard=1,h=e.sqr(f);d<u;d++){if(e.eql(h,e.ONE))break;h=e.sqr(h)}varp=e.pow(o,i<<BigInt(u-d-1));o=e.sqr(p),s=e.mul(s,p),f=e.mul(f,o),u=d}returns}}functionb(e){if(e%s===o){vart=(e+i)/s;returnfunction(e,n){varl=e.pow(n,t);if(!e.eql(e.sqr(l),n))thrownewError("Cannot find square root");returnl}}if(e%f===c){varn=(e-c)/f;returnfunction(e,t){varl=e.mul(t,u),r=e.pow(l,n),a=e.mul(t,r),i=e.mul(e.mul(a,u),r),o=e.mul(a,e.sub(i,e.ONE));if(!e.eql(e.sqr(o),t))thrownewError("Cannot find square root");returno}}returnv(e)}t.isNegativeLE=function(e,t){return(d(e,t)&i)===i};varm=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];functiong(e,t,n){if(n<a)thrownewError("Expected power > 0");if(n===a)returne.ONE;if(n===i)returnt;varl=e.ONE,r=t;while(n>a)n&i&&(l=e.mul(l,r)),r=e.sqr(r),n>>=i;returnl}functiony(e,t){varn=newArray(t.length),l=t.reduce((function(t,l,r){returne.is0(l)?t:(n[r]=t,e.mul(t,l))}),e.ONE),r=e.inv(l);returnt.reduceRight((function(t,l,r){returne.is0(l)?t:(n[r]=e.mul(t,n[r]),e.mul(t,l))}),r),n}function_(e,t){varn=void0!==t?t:e.toString(2).length,l=Math.ceil(n/8);return{nBitLength:n,nByteLength:l}}functionw(e){if("bigint"!==typeofe)thrownewError("field order must be bigint");vart=e.toString(2).length;returnMath.ceil(t/8)}functionx(e){vart=w(e);returnt+Math.ceil(t/2)}},f822:function(e,t){e.exports=null},f824:function(e,t,n){"use strict";n.r(t);varl=n("bf80"),r=n("7988");for(varainr)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnr[e]}))}(a);vari=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void0);t["default"]=u.exports},f865:function(e,t,n){"use strict";n.r(t);varl=n("adac"),r=n.n(l);for(varainl)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){returnl[e]}))}(a);t["default"]=r.a},f874:function(e,t,n){"use strict";varl=n("5f79").Buffer,r=n(2);functiona(e,t,n){e.copy(t,n)}e.exports=function(){functione(){(function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}returne.prototype.push=function(e){vart={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){vart={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){vare=this.head.data;return1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";vart=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;returnn},e.prototype.concat=function(e){if(0===this.length)returnl.alloc(0);if(1===this.length)returnthis.head.data;vart=l.allocUnsafe(e>>>0),n=this.head,r=0;while(n)a(n.data,t,r),r+=n.data.length,n=n.next;returnt},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototy