jcc_wallet 4.0.4 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jcc-wallet.min.js +2 -2
- package/lib/hd/index.d.ts +1 -1
- package/lib/hd/index.js +7 -4
- package/lib/hd/plugins.d.ts +1 -0
- package/lib/hd/plugins.js +2 -1
- package/package.json +1 -1
package/dist/jcc-wallet.min.js
CHANGED
|
@@ -32,10 +32,10 @@ const o=r(247),n=r(8460),a=r(8460),i=r(3190);const{bytesToNumberBE:s,hexToBytes:
|
|
|
32
32
|
*/e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},4660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxInt256=t.MinInt256=t.MaxUint256=t.WeiPerEther=t.N=void 0,t.N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),t.WeiPerEther=BigInt("1000000000000000000"),t.MaxUint256=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),t.MinInt256=BigInt("0x8000000000000000000000000000000000000000000000000000000000000000")*BigInt(-1),t.MaxInt256=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")},4790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keccak512=t.keccak384=t.keccak256=t.keccak224=void 0;const o=r(6526),n=r(2899);t.keccak224=(0,n.wrapHash)(o.keccak_224),t.keccak256=(()=>{const e=(0,n.wrapHash)(o.keccak_256);return e.create=o.keccak_256.create,e})(),t.keccak384=(0,n.wrapHash)(o.keccak_384),t.keccak512=(0,n.wrapHash)(o.keccak_512)},4791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuidV4=void 0;const o=r(8256);t.uuidV4=function(e){const t=(0,o.getBytes)(e,"randomBytes");t[6]=15&t[6]|64,t[8]=63&t[8]|128;const r=(0,o.hexlify)(t);return[r.substring(2,10),r.substring(10,14),r.substring(14,18),r.substring(18,22),r.substring(22,34)].join("-")}},4815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAddress=t.isAddress=t.isAddressable=t.getCreate2Address=t.getCreateAddress=t.getIcapAddress=t.getAddress=void 0;var o=r(91);Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return o.getAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return o.getIcapAddress}});var n=r(2348);Object.defineProperty(t,"getCreateAddress",{enumerable:!0,get:function(){return n.getCreateAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return n.getCreate2Address}});var a=r(6262);Object.defineProperty(t,"isAddressable",{enumerable:!0,get:function(){return a.isAddressable}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return a.isAddress}}),Object.defineProperty(t,"resolveAddress",{enumerable:!0,get:function(){return a.resolveAddress}})},4856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase58CheckAddress=l,t.isAddressValid=function(e){if("string"!=typeof e)return!1;if(e.length!==o.ADDRESS_SIZE)return!1;let t=(0,a.decode58)(e);if(25!==t.length)return!1;if(t[0]!==o.ADDRESS_PREFIX_BYTE)return!1;const r=t.slice(21);t=t.slice(0,21);const n=h(t),i=h(n).slice(0,4);if(r[0]==i[0]&&r[1]==i[1]&&r[2]==i[2]&&r[3]==i[3])return!0;return!1},t.computeAddress=u,t.getAddressFromPriKey=f,t.getPubKeyFromPriKey=d,t.SHA256=h,t.pkToAddress=function(e,t=!1){const r=(0,n.hexStr2byteArray)(e,t);return l(f(r))};const o=r(2737),n=r(9660),a=r(4409),i=r(306),s=r(8241),c=r(7256);function l(e){const t=h(e);let r=h(t).slice(0,4);return r=e.concat(r),(0,a.encode58)(r)}function u(e){65===e.length&&(e=e.slice(1));const t=(0,c.keccak256)(new Uint8Array(e)).toString().substring(2),r=o.ADDRESS_PREFIX+t.substring(24);return(0,n.hexStr2byteArray)(r)}function f(e){return u(d(e))}function d(e){const t=s.secp256k1.ProjectivePoint.fromPrivateKey(new Uint8Array(function(e){return(0,n.hexStr2byteArray)((0,i.byteArray2hexStr)(e).padStart(64,"0"))}(e))),r=t.x,o=t.y,a=`04${r.toString(16).padStart(64,"0")}${o.toString(16).padStart(64,"0")}`;return(0,n.hexStr2byteArray)(a)}function h(e){const t=(0,i.byteArray2hexStr)(e),r=(0,c.sha256)("0x"+t).replace(/^0x/,"");return(0,n.hexStr2byteArray)(r)}},4873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.montgomery=function(e){const t=(p=e,(0,n.validateObject)(p,{a:"bigint"},{montgomeryBits:"isSafeInteger",nByteLength:"isSafeInteger",adjustScalarBytes:"function",domain:"function",powPminus2:"function",Gu:"bigint"}),Object.freeze({...p})),{P:r}=t,s=(0,o.Field)(r),c=e=>(0,o.mod)(e,r),l=t.montgomeryBits,u=Math.ceil(l/8),f=t.nByteLength,d=t.adjustScalarBytes||(e=>e),h=t.powPminus2||(e=>s.pow(e,r-BigInt(2)));var p;function g(e,t,r){const o=c(e*(t-r));return[t=c(t-o),r=c(r+o)]}const m=(t.a-BigInt(2))/BigInt(4);function b(e){return(0,n.numberToBytesLE)(c(e),u)}function y(e,t){const o=function(e){const t=(0,n.ensureBytes)("u coordinate",e,u);return 32===f&&(t[31]&=127),(0,n.bytesToNumberLE)(t)}(t),s=function(e,t){(0,n.aInRange)("u",e,a,r),(0,n.aInRange)("scalar",t,a,r);const o=t,s=e;let u,f=i,d=a,p=e,b=i,y=a;for(let e=BigInt(l-1);e>=a;e--){const t=o>>e&i;y^=t,u=g(y,f,p),f=u[0],p=u[1],u=g(y,d,b),d=u[0],b=u[1],y=t;const r=f+d,n=c(r*r),a=f-d,l=c(a*a),h=n-l,v=p+b,w=c((p-b)*r),E=c(v*a),B=w+E,x=w-E;p=c(B*B),b=c(s*c(x*x)),f=c(n*l),d=c(h*(n+c(m*h)))}u=g(y,f,p),f=u[0],p=u[1],u=g(y,d,b),d=u[0],b=u[1];const v=h(d);return c(f*v)}(o,function(e){const t=(0,n.ensureBytes)("scalar",e),r=t.length;if(r!==u&&r!==f)throw new Error("invalid scalar, expected "+u+" or "+f+" bytes, got "+r);return(0,n.bytesToNumberLE)(d(t))}(e));if(s===a)throw new Error("invalid private or public key received");return b(s)}const v=b(t.Gu);function w(e){return y(e,v)}return{scalarMult:y,scalarMultBase:w,getSharedSecret:(e,t)=>y(e,t),getPublicKey:e=>w(e),utils:{randomPrivateKey:()=>t.randomBytes(t.nByteLength)},GuBytes:v}};
|
|
33
33
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
34
34
|
const o=r(6630),n=r(5565),a=BigInt(0),i=BigInt(1)},4904:(e,t,r)=>{"use strict";
|
|
35
|
-
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.Hash=t.nextTick=t.swap32IfBE=t.byteSwapIfBE=t.swap8IfBE=t.isLE=void 0,t.isBytes=n,t.anumber=a,t.abytes=i,t.ahash=function(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.createHasher");a(e.outputLen),a(e.blockLen)},t.aexists=function(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")},t.aoutput=function(e,t){i(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)},t.u8=function(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)},t.u32=function(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))},t.clean=function(...e){for(let t=0;t<e.length;t++)e[t].fill(0)},t.createView=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)},t.rotr=function(e,t){return e<<32-t|e>>>t},t.rotl=function(e,t){return e<<t|e>>>32-t>>>0},t.byteSwap=s,t.byteSwap32=c,t.bytesToHex=function(e){if(i(e),l)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=u[e[r]];return t},t.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(l)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const o=new Uint8Array(r);for(let t=0,n=0;t<r;t++,n+=2){const r=d(e.charCodeAt(n)),a=d(e.charCodeAt(n+1));if(void 0===r||void 0===a){const t=e[n]+e[n+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+n)}o[t]=16*r+a}return o},t.asyncLoop=async function(e,r,o){let n=Date.now();for(let a=0;a<e;a++){o(a);const e=Date.now()-n;e>=0&&e<r||(await(0,t.nextTick)(),n+=e)}},t.utf8ToBytes=h,t.bytesToUtf8=function(e){return(new TextDecoder).decode(e)},t.toBytes=p,t.kdfInputToBytes=function(e){"string"==typeof e&&(e=h(e));return i(e),e},t.concatBytes=function(...e){let t=0;for(let r=0;r<e.length;r++){const o=e[r];i(o),t+=o.length}const r=new Uint8Array(t);for(let t=0,o=0;t<e.length;t++){const n=e[t];r.set(n,o),o+=n.length}return r},t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!=={}.toString.call(t))throw new Error("options should be object or undefined");return Object.assign(e,t)},t.createHasher=g,t.createOptHasher=m,t.createXOFer=b,t.randomBytes=function(e=32){if(o.crypto&&"function"==typeof o.crypto.getRandomValues)return o.crypto.getRandomValues(new Uint8Array(e));if(o.crypto&&"function"==typeof o.crypto.randomBytes)return Uint8Array.from(o.crypto.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")};const o=r(7288);function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function i(e,...t){if(!n(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function s(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function c(e){for(let t=0;t<e.length;t++)e[t]=s(e[t]);return e}t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.swap8IfBE=t.isLE?e=>e:e=>s(e),t.byteSwapIfBE=t.swap8IfBE,t.swap32IfBE=t.isLE?e=>e:c;const l=(()=>"function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex)(),u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const f={_0:48,_9:57,A:65,F:70,a:97,f:102};function d(e){return e>=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):void 0}function h(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))}function p(e){return"string"==typeof e&&(e=h(e)),i(e),e}t.nextTick=async()=>{};function g(e){const t=t=>e().update(p(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function m(e){const t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function b(e){const t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}t.Hash=class{},t.wrapConstructor=g,t.wrapConstructorWithOpts=m,t.wrapXOFConstructorWithOpts=b},4907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessagePrefix=t.EtherSymbol=void 0,t.EtherSymbol="Ξ",t.MessagePrefix="Ethereum Signed Message:\n"},4927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transaction=t.recoverAddress=t.computeAddress=t.authorizationify=t.accessListify=void 0;var o=r(9493);Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return o.accessListify}});var n=r(830);Object.defineProperty(t,"authorizationify",{enumerable:!0,get:function(){return n.authorizationify}});var a=r(8283);Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return a.computeAddress}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return a.recoverAddress}});var i=r(2083);Object.defineProperty(t,"Transaction",{enumerable:!0,get:function(){return i.Transaction}})},4973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;const o=r(8629),n=r(7983),a=r(791);function i(e,t,r,i){(0,o.hash)(e);const s=(0,a.checkOpts)({dkLen:32,asyncTick:10},i),{c,dkLen:l,asyncTick:u}=s;if((0,o.number)(c),(0,o.number)(l),(0,o.number)(u),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const f=(0,a.toBytes)(t),d=(0,a.toBytes)(r),h=new Uint8Array(l),p=n.hmac.create(e,f),g=p._cloneInto().update(d);return{c,dkLen:l,asyncTick:u,DK:h,PRF:p,PRFSalt:g}}function s(e,t,r,o,n){return e.destroy(),t.destroy(),o&&o.destroy(),n.fill(0),r}t.pbkdf2=function(e,t,r,o){const{c:n,dkLen:c,DK:l,PRF:u,PRFSalt:f}=i(e,t,r,o);let d;const h=new Uint8Array(4),p=(0,a.createView)(h),g=new Uint8Array(u.outputLen);for(let e=1,t=0;t<c;e++,t+=u.outputLen){const r=l.subarray(t,t+u.outputLen);p.setInt32(0,e,!1),(d=f._cloneInto(d)).update(h).digestInto(g),r.set(g.subarray(0,r.length));for(let e=1;e<n;e++){u._cloneInto(d).update(g).digestInto(g);for(let e=0;e<r.length;e++)r[e]^=g[e]}}return s(u,f,l,d,g)},t.pbkdf2Async=async function(e,t,r,o){const{c:n,dkLen:c,asyncTick:l,DK:u,PRF:f,PRFSalt:d}=i(e,t,r,o);let h;const p=new Uint8Array(4),g=(0,a.createView)(p),m=new Uint8Array(f.outputLen);for(let e=1,t=0;t<c;e++,t+=f.outputLen){const r=u.subarray(t,t+f.outputLen);g.setInt32(0,e,!1),(h=d._cloneInto(h)).update(p).digestInto(m),r.set(m.subarray(0,r.length)),await(0,a.asyncLoop)(n-1,l,()=>{f._cloneInto(h).update(m).digestInto(m);for(let e=0;e<r.length;e++)r[e]^=m[e]})}return s(f,d,u,h,m)}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeRlp=void 0;const o=r(8256),n=r(7991),a=r(8256);function i(e){let t=e.toString(16);for(;t.length<2;)t="0"+t;return"0x"+t}function s(e,t,r){let o=0;for(let n=0;n<r;n++)o=256*o+e[t+n];return o}function c(e,t,r,o){const a=[];for(;r<t+1+o;){const i=l(e,r);a.push(i.result),r+=i.consumed,(0,n.assert)(r<=t+1+o,"child data too short","BUFFER_OVERRUN",{buffer:e,length:o,offset:t})}return{consumed:1+o,result:a}}function l(e,t){(0,n.assert)(0!==e.length,"data too short","BUFFER_OVERRUN",{buffer:e,length:0,offset:1});const r=t=>{(0,n.assert)(t<=e.length,"data short segment too short","BUFFER_OVERRUN",{buffer:e,length:e.length,offset:t})};if(e[t]>=248){const o=e[t]-247;r(t+1+o);const n=s(e,t+1,o);return r(t+1+o+n),c(e,t,t+1+o,o+n)}if(e[t]>=192){const o=e[t]-192;return r(t+1+o),c(e,t,t+1,o)}if(e[t]>=184){const n=e[t]-183;r(t+1+n);const a=s(e,t+1,n);r(t+1+n+a);return{consumed:1+n+a,result:(0,o.hexlify)(e.slice(t+1+n,t+1+n+a))}}if(e[t]>=128){const n=e[t]-128;r(t+1+n);return{consumed:1+n,result:(0,o.hexlify)(e.slice(t+1,t+1+n))}}return{consumed:1,result:i(e[t])}}t.decodeRlp=function(e){const t=(0,a.getBytes)(e,"data"),r=l(t,0);return(0,n.assertArgument)(r.consumed===t.length,"unexpected junk after rlp payload","data",e),r.result}},5005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eosWallet=t.moacWallet=t.ethWallet=t.jtWallet=t.bizainWallet=t.stmWallet=t.rippleWallet=t.callWallet=t.bvcadtWallet=void 0,t.getPluginByType=function(e){return f[e]};const o=r(6223),n=r(6223),a=r(6223),i=r(6223),s=r(8201),c=r(2367),l=r(1613),u=r(3609);t.bvcadtWallet=(0,u.SWTCPlugin)(l.Alphabet.BVCADT),t.callWallet=(0,u.SWTCPlugin)(l.Alphabet.CALL),t.rippleWallet=(0,u.SWTCPlugin)(l.Alphabet.RIPPLE),t.stmWallet=(0,u.SWTCPlugin)(l.Alphabet.STREAM),t.bizainWallet=(0,u.SWTCPlugin)(l.Alphabet.BIZAIN),t.jtWallet=(0,u.SWTCPlugin)(l.Alphabet.JINGTUM),t.ethWallet=o.plugin,t.moacWallet=o.plugin,t.eosWallet=c.plugin;const f={ethereum:o.plugin,bsc:n.plugin,heco:a.plugin,moac:o.plugin,polygon:i.plugin,tron:s.plugin,eos:c.plugin,bvcadt:t.bvcadtWallet,call:t.callWallet,ripple:t.rippleWallet,stream:t.stmWallet,bizain:t.bizainWallet,jingtum:t.jtWallet,base:o.plugin,arb1:o.plugin}},5040:e=>{"use strict";e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},5113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEther=t.formatEther=t.parseUnits=t.formatUnits=void 0;const o=r(7991),n=r(9593),a=r(7597),i=["wei","kwei","mwei","gwei","szabo","finney","ether"];function s(e,t){let r=18;if("string"==typeof t){const e=i.indexOf(t);(0,o.assertArgument)(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=(0,a.getNumber)(t,"unit"));return n.FixedNumber.fromValue(e,r,{decimals:r,width:512}).toString()}function c(e,t){(0,o.assertArgument)("string"==typeof e,"value must be a string","value",e);let r=18;if("string"==typeof t){const e=i.indexOf(t);(0,o.assertArgument)(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=(0,a.getNumber)(t,"unit"));return n.FixedNumber.fromString(e,{decimals:r,width:512}).value}t.formatUnits=s,t.parseUnits=c,t.formatEther=function(e){return s(e,18)},t.parseEther=function(e){return c(e,18)}},5145:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DER=t.DERErr=void 0,t._splitEndoScalar=l,t._normFnElement=y,t.weierstrassN=v,t.SWUFpSqrtRatio=E,t.mapToCurveSimpleSWU=function(e,t){(0,s.validateField)(e);const{A:r,B:o,Z:n}=t;if(!e.isValid(r)||!e.isValid(o)||!e.isValid(n))throw new Error("mapToCurveSimpleSWU: invalid opts");const a=E(e,n);if(!e.isOdd)throw new Error("Field does not have .isOdd()");return t=>{let i,c,l,u,f,d,h,p;i=e.sqr(t),i=e.mul(i,n),c=e.sqr(i),c=e.add(c,i),l=e.add(c,e.ONE),l=e.mul(l,o),u=e.cmov(n,e.neg(c),!e.eql(c,e.ZERO)),u=e.mul(u,r),c=e.sqr(l),d=e.sqr(u),f=e.mul(d,r),c=e.add(c,f),c=e.mul(c,l),d=e.mul(d,u),f=e.mul(d,o),c=e.add(c,f),h=e.mul(i,l);const{isValid:g,value:m}=a(c,d);p=e.mul(i,t),p=e.mul(p,m),h=e.cmov(h,l,g),p=e.cmov(p,m,g);const b=e.isOdd(t)===e.isOdd(p);p=e.cmov(e.neg(p),p,b);const y=(0,s.FpInvertBatch)(e,[u],!0)[0];return h=e.mul(h,y),{x:h,y:p}}},t.ecdh=x,t.ecdsa=A,t.weierstrassPoints=function(e){const{CURVE:t,curveOpts:r}=k(e),o=v(t,r);return function(e,t){const{Fp:r,Fn:o}=t;function n(e){return(0,a.inRange)(e,p,o.ORDER)}const i=S(r,e.a,e.b);return Object.assign({},{CURVE:e,Point:t,ProjectivePoint:t,normPrivateKeyToScalar:e=>y(o,e),weierstrassEquation:i,isWithinCurveOrder:n})}(e,o)},t._legacyHelperEquat=S,t.weierstrass=function(e){const{CURVE:t,curveOpts:r,hash:o,ecdsaOpts:n}=function(e){const{CURVE:t,curveOpts:r}=k(e),o={hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN};return{CURVE:t,curveOpts:r,hash:e.hash,ecdsaOpts:o}}(e),a=A(v(t,r),o,n);return function(e,t){const r=t.Point;return Object.assign({},t,{ProjectivePoint:r,CURVE:Object.assign({},e,(0,s.nLength)(r.Fn.ORDER,r.Fn.BITS))})}(e,a)};
|
|
35
|
+
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.Hash=t.nextTick=t.swap32IfBE=t.byteSwapIfBE=t.swap8IfBE=t.isLE=void 0,t.isBytes=n,t.anumber=a,t.abytes=i,t.ahash=function(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.createHasher");a(e.outputLen),a(e.blockLen)},t.aexists=function(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")},t.aoutput=function(e,t){i(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)},t.u8=function(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)},t.u32=function(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))},t.clean=function(...e){for(let t=0;t<e.length;t++)e[t].fill(0)},t.createView=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)},t.rotr=function(e,t){return e<<32-t|e>>>t},t.rotl=function(e,t){return e<<t|e>>>32-t>>>0},t.byteSwap=s,t.byteSwap32=c,t.bytesToHex=function(e){if(i(e),l)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=u[e[r]];return t},t.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(l)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const o=new Uint8Array(r);for(let t=0,n=0;t<r;t++,n+=2){const r=d(e.charCodeAt(n)),a=d(e.charCodeAt(n+1));if(void 0===r||void 0===a){const t=e[n]+e[n+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+n)}o[t]=16*r+a}return o},t.asyncLoop=async function(e,r,o){let n=Date.now();for(let a=0;a<e;a++){o(a);const e=Date.now()-n;e>=0&&e<r||(await(0,t.nextTick)(),n+=e)}},t.utf8ToBytes=h,t.bytesToUtf8=function(e){return(new TextDecoder).decode(e)},t.toBytes=p,t.kdfInputToBytes=function(e){"string"==typeof e&&(e=h(e));return i(e),e},t.concatBytes=function(...e){let t=0;for(let r=0;r<e.length;r++){const o=e[r];i(o),t+=o.length}const r=new Uint8Array(t);for(let t=0,o=0;t<e.length;t++){const n=e[t];r.set(n,o),o+=n.length}return r},t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!=={}.toString.call(t))throw new Error("options should be object or undefined");return Object.assign(e,t)},t.createHasher=g,t.createOptHasher=m,t.createXOFer=b,t.randomBytes=function(e=32){if(o.crypto&&"function"==typeof o.crypto.getRandomValues)return o.crypto.getRandomValues(new Uint8Array(e));if(o.crypto&&"function"==typeof o.crypto.randomBytes)return Uint8Array.from(o.crypto.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")};const o=r(7288);function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function i(e,...t){if(!n(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function s(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function c(e){for(let t=0;t<e.length;t++)e[t]=s(e[t]);return e}t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.swap8IfBE=t.isLE?e=>e:e=>s(e),t.byteSwapIfBE=t.swap8IfBE,t.swap32IfBE=t.isLE?e=>e:c;const l=(()=>"function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex)(),u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const f={_0:48,_9:57,A:65,F:70,a:97,f:102};function d(e){return e>=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):void 0}function h(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))}function p(e){return"string"==typeof e&&(e=h(e)),i(e),e}t.nextTick=async()=>{};function g(e){const t=t=>e().update(p(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function m(e){const t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function b(e){const t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}t.Hash=class{},t.wrapConstructor=g,t.wrapConstructorWithOpts=m,t.wrapXOFConstructorWithOpts=b},4907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessagePrefix=t.EtherSymbol=void 0,t.EtherSymbol="Ξ",t.MessagePrefix="Ethereum Signed Message:\n"},4927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transaction=t.recoverAddress=t.computeAddress=t.authorizationify=t.accessListify=void 0;var o=r(9493);Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return o.accessListify}});var n=r(830);Object.defineProperty(t,"authorizationify",{enumerable:!0,get:function(){return n.authorizationify}});var a=r(8283);Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return a.computeAddress}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return a.recoverAddress}});var i=r(2083);Object.defineProperty(t,"Transaction",{enumerable:!0,get:function(){return i.Transaction}})},4973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;const o=r(8629),n=r(7983),a=r(791);function i(e,t,r,i){(0,o.hash)(e);const s=(0,a.checkOpts)({dkLen:32,asyncTick:10},i),{c,dkLen:l,asyncTick:u}=s;if((0,o.number)(c),(0,o.number)(l),(0,o.number)(u),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const f=(0,a.toBytes)(t),d=(0,a.toBytes)(r),h=new Uint8Array(l),p=n.hmac.create(e,f),g=p._cloneInto().update(d);return{c,dkLen:l,asyncTick:u,DK:h,PRF:p,PRFSalt:g}}function s(e,t,r,o,n){return e.destroy(),t.destroy(),o&&o.destroy(),n.fill(0),r}t.pbkdf2=function(e,t,r,o){const{c:n,dkLen:c,DK:l,PRF:u,PRFSalt:f}=i(e,t,r,o);let d;const h=new Uint8Array(4),p=(0,a.createView)(h),g=new Uint8Array(u.outputLen);for(let e=1,t=0;t<c;e++,t+=u.outputLen){const r=l.subarray(t,t+u.outputLen);p.setInt32(0,e,!1),(d=f._cloneInto(d)).update(h).digestInto(g),r.set(g.subarray(0,r.length));for(let e=1;e<n;e++){u._cloneInto(d).update(g).digestInto(g);for(let e=0;e<r.length;e++)r[e]^=g[e]}}return s(u,f,l,d,g)},t.pbkdf2Async=async function(e,t,r,o){const{c:n,dkLen:c,asyncTick:l,DK:u,PRF:f,PRFSalt:d}=i(e,t,r,o);let h;const p=new Uint8Array(4),g=(0,a.createView)(p),m=new Uint8Array(f.outputLen);for(let e=1,t=0;t<c;e++,t+=f.outputLen){const r=u.subarray(t,t+f.outputLen);g.setInt32(0,e,!1),(h=d._cloneInto(h)).update(p).digestInto(m),r.set(m.subarray(0,r.length)),await(0,a.asyncLoop)(n-1,l,()=>{f._cloneInto(h).update(m).digestInto(m);for(let e=0;e<r.length;e++)r[e]^=m[e]})}return s(f,d,u,h,m)}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeRlp=void 0;const o=r(8256),n=r(7991),a=r(8256);function i(e){let t=e.toString(16);for(;t.length<2;)t="0"+t;return"0x"+t}function s(e,t,r){let o=0;for(let n=0;n<r;n++)o=256*o+e[t+n];return o}function c(e,t,r,o){const a=[];for(;r<t+1+o;){const i=l(e,r);a.push(i.result),r+=i.consumed,(0,n.assert)(r<=t+1+o,"child data too short","BUFFER_OVERRUN",{buffer:e,length:o,offset:t})}return{consumed:1+o,result:a}}function l(e,t){(0,n.assert)(0!==e.length,"data too short","BUFFER_OVERRUN",{buffer:e,length:0,offset:1});const r=t=>{(0,n.assert)(t<=e.length,"data short segment too short","BUFFER_OVERRUN",{buffer:e,length:e.length,offset:t})};if(e[t]>=248){const o=e[t]-247;r(t+1+o);const n=s(e,t+1,o);return r(t+1+o+n),c(e,t,t+1+o,o+n)}if(e[t]>=192){const o=e[t]-192;return r(t+1+o),c(e,t,t+1,o)}if(e[t]>=184){const n=e[t]-183;r(t+1+n);const a=s(e,t+1,n);r(t+1+n+a);return{consumed:1+n+a,result:(0,o.hexlify)(e.slice(t+1+n,t+1+n+a))}}if(e[t]>=128){const n=e[t]-128;r(t+1+n);return{consumed:1+n,result:(0,o.hexlify)(e.slice(t+1,t+1+n))}}return{consumed:1,result:i(e[t])}}t.decodeRlp=function(e){const t=(0,a.getBytes)(e,"data"),r=l(t,0);return(0,n.assertArgument)(r.consumed===t.length,"unexpected junk after rlp payload","data",e),r.result}},5005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tronWallet=t.eosWallet=t.moacWallet=t.ethWallet=t.jtWallet=t.bizainWallet=t.stmWallet=t.rippleWallet=t.callWallet=t.bvcadtWallet=void 0,t.getPluginByType=function(e){return f[e]};const o=r(6223),n=r(6223),a=r(6223),i=r(6223),s=r(8201),c=r(2367),l=r(1613),u=r(3609);t.bvcadtWallet=(0,u.SWTCPlugin)(l.Alphabet.BVCADT),t.callWallet=(0,u.SWTCPlugin)(l.Alphabet.CALL),t.rippleWallet=(0,u.SWTCPlugin)(l.Alphabet.RIPPLE),t.stmWallet=(0,u.SWTCPlugin)(l.Alphabet.STREAM),t.bizainWallet=(0,u.SWTCPlugin)(l.Alphabet.BIZAIN),t.jtWallet=(0,u.SWTCPlugin)(l.Alphabet.JINGTUM),t.ethWallet=o.plugin,t.moacWallet=o.plugin,t.eosWallet=c.plugin,t.tronWallet=s.plugin;const f={ethereum:o.plugin,bsc:n.plugin,heco:a.plugin,moac:o.plugin,polygon:i.plugin,tron:s.plugin,eos:c.plugin,bvcadt:t.bvcadtWallet,call:t.callWallet,ripple:t.rippleWallet,stream:t.stmWallet,bizain:t.bizainWallet,jingtum:t.jtWallet,base:o.plugin,arb1:o.plugin}},5040:e=>{"use strict";e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},5113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEther=t.formatEther=t.parseUnits=t.formatUnits=void 0;const o=r(7991),n=r(9593),a=r(7597),i=["wei","kwei","mwei","gwei","szabo","finney","ether"];function s(e,t){let r=18;if("string"==typeof t){const e=i.indexOf(t);(0,o.assertArgument)(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=(0,a.getNumber)(t,"unit"));return n.FixedNumber.fromValue(e,r,{decimals:r,width:512}).toString()}function c(e,t){(0,o.assertArgument)("string"==typeof e,"value must be a string","value",e);let r=18;if("string"==typeof t){const e=i.indexOf(t);(0,o.assertArgument)(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=(0,a.getNumber)(t,"unit"));return n.FixedNumber.fromString(e,{decimals:r,width:512}).value}t.formatUnits=s,t.parseUnits=c,t.formatEther=function(e){return s(e,18)},t.parseEther=function(e){return c(e,18)}},5145:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DER=t.DERErr=void 0,t._splitEndoScalar=l,t._normFnElement=y,t.weierstrassN=v,t.SWUFpSqrtRatio=E,t.mapToCurveSimpleSWU=function(e,t){(0,s.validateField)(e);const{A:r,B:o,Z:n}=t;if(!e.isValid(r)||!e.isValid(o)||!e.isValid(n))throw new Error("mapToCurveSimpleSWU: invalid opts");const a=E(e,n);if(!e.isOdd)throw new Error("Field does not have .isOdd()");return t=>{let i,c,l,u,f,d,h,p;i=e.sqr(t),i=e.mul(i,n),c=e.sqr(i),c=e.add(c,i),l=e.add(c,e.ONE),l=e.mul(l,o),u=e.cmov(n,e.neg(c),!e.eql(c,e.ZERO)),u=e.mul(u,r),c=e.sqr(l),d=e.sqr(u),f=e.mul(d,r),c=e.add(c,f),c=e.mul(c,l),d=e.mul(d,u),f=e.mul(d,o),c=e.add(c,f),h=e.mul(i,l);const{isValid:g,value:m}=a(c,d);p=e.mul(i,t),p=e.mul(p,m),h=e.cmov(h,l,g),p=e.cmov(p,m,g);const b=e.isOdd(t)===e.isOdd(p);p=e.cmov(e.neg(p),p,b);const y=(0,s.FpInvertBatch)(e,[u],!0)[0];return h=e.mul(h,y),{x:h,y:p}}},t.ecdh=x,t.ecdsa=A,t.weierstrassPoints=function(e){const{CURVE:t,curveOpts:r}=k(e),o=v(t,r);return function(e,t){const{Fp:r,Fn:o}=t;function n(e){return(0,a.inRange)(e,p,o.ORDER)}const i=S(r,e.a,e.b);return Object.assign({},{CURVE:e,Point:t,ProjectivePoint:t,normPrivateKeyToScalar:e=>y(o,e),weierstrassEquation:i,isWithinCurveOrder:n})}(e,o)},t._legacyHelperEquat=S,t.weierstrass=function(e){const{CURVE:t,curveOpts:r,hash:o,ecdsaOpts:n}=function(e){const{CURVE:t,curveOpts:r}=k(e),o={hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN};return{CURVE:t,curveOpts:r,hash:e.hash,ecdsaOpts:o}}(e),a=A(v(t,r),o,n);return function(e,t){const r=t.Point;return Object.assign({},t,{ProjectivePoint:r,CURVE:Object.assign({},e,(0,s.nLength)(r.Fn.ORDER,r.Fn.BITS))})}(e,a)};
|
|
36
36
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
37
37
|
const o=r(1062),n=r(4904),a=r(7827),i=r(3494),s=r(6727),c=(e,t)=>(e+(e>=0?t:-t)/g)/t;function l(e,t,r){const[[o,n],[i,s]]=t,l=c(s*e,r),u=c(-n*e,r);let f=e-l*o-u*i,d=-l*n-u*s;const g=f<h,m=d<h;g&&(f=-f),m&&(d=-d);const b=(0,a.bitMask)(Math.ceil((0,a.bitLen)(r)/2))+p;if(f<h||f>=b||d<h||d>=b)throw new Error("splitScalar (endomorphism): failed, k="+e);return{k1neg:g,k1:f,k2neg:m,k2:d}}function u(e){if(!["compact","recovered","der"].includes(e))throw new Error('Signature format must be "compact", "recovered", or "der"');return e}function f(e,t){const r={};for(let o of Object.keys(t))r[o]=void 0===e[o]?t[o]:e[o];return(0,a._abool2)(r.lowS,"lowS"),(0,a._abool2)(r.prehash,"prehash"),void 0!==r.format&&u(r.format),r}class d extends Error{constructor(e=""){super(e)}}t.DERErr=d,t.DER={Err:d,_tlv:{encode:(e,r)=>{const{Err:o}=t.DER;if(e<0||e>256)throw new o("tlv.encode: wrong tag");if(1&r.length)throw new o("tlv.encode: unpadded data");const n=r.length/2,i=(0,a.numberToHexUnpadded)(n);if(i.length/2&128)throw new o("tlv.encode: long form length too big");const s=n>127?(0,a.numberToHexUnpadded)(i.length/2|128):"";return(0,a.numberToHexUnpadded)(e)+s+i+r},decode(e,r){const{Err:o}=t.DER;let n=0;if(e<0||e>256)throw new o("tlv.encode: wrong tag");if(r.length<2||r[n++]!==e)throw new o("tlv.decode: wrong tlv");const a=r[n++];let i=0;if(!!(128&a)){const e=127&a;if(!e)throw new o("tlv.decode(long): indefinite length not supported");if(e>4)throw new o("tlv.decode(long): byte length is too big");const t=r.subarray(n,n+e);if(t.length!==e)throw new o("tlv.decode: length bytes not complete");if(0===t[0])throw new o("tlv.decode(long): zero leftmost byte");for(const e of t)i=i<<8|e;if(n+=e,i<128)throw new o("tlv.decode(long): not minimal encoding")}else i=a;const s=r.subarray(n,n+i);if(s.length!==i)throw new o("tlv.decode: wrong value length");return{v:s,l:r.subarray(n+i)}}},_int:{encode(e){const{Err:r}=t.DER;if(e<h)throw new r("integer: negative integers are not allowed");let o=(0,a.numberToHexUnpadded)(e);if(8&Number.parseInt(o[0],16)&&(o="00"+o),1&o.length)throw new r("unexpected DER parsing assertion: unpadded hex");return o},decode(e){const{Err:r}=t.DER;if(128&e[0])throw new r("invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new r("invalid signature integer: unnecessary leading zero");return(0,a.bytesToNumberBE)(e)}},toSig(e){const{Err:r,_int:o,_tlv:n}=t.DER,i=(0,a.ensureBytes)("signature",e),{v:s,l:c}=n.decode(48,i);if(c.length)throw new r("invalid signature: left bytes after parsing");const{v:l,l:u}=n.decode(2,s),{v:f,l:d}=n.decode(2,u);if(d.length)throw new r("invalid signature: left bytes after parsing");return{r:o.decode(l),s:o.decode(f)}},hexFromSig(e){const{_tlv:r,_int:o}=t.DER,n=r.encode(2,o.encode(e.r))+r.encode(2,o.encode(e.s));return r.encode(48,n)}};const h=BigInt(0),p=BigInt(1),g=BigInt(2),m=BigInt(3),b=BigInt(4);function y(e,t){const{BYTES:r}=e;let o;if("bigint"==typeof t)o=t;else{let n=(0,a.ensureBytes)("private key",t);try{o=e.fromBytes(n)}catch(e){throw new Error(`invalid private key: expected ui8a of size ${r}, got ${typeof t}`)}}if(!e.isValidNot0(o))throw new Error("invalid private key: out of range [1..N-1]");return o}function v(e,t={}){const r=(0,i._createCurveFields)("weierstrass",e,t),{Fp:o,Fn:n}=r;let s=r.CURVE;const{h:c,n:u}=s;(0,a._validateObject)(t,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:f}=t;if(f&&(!o.is0(s.a)||"bigint"!=typeof f.beta||!Array.isArray(f.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const d=B(o,n);function g(){if(!o.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}const v=t.toBytes||function(e,t,r){const{x:n,y:i}=t.toAffine(),s=o.toBytes(n);if((0,a._abool2)(r,"isCompressed"),r){g();const e=!o.isOdd(i);return(0,a.concatBytes)(w(e),s)}return(0,a.concatBytes)(Uint8Array.of(4),s,o.toBytes(i))},E=t.fromBytes||function(e){(0,a._abytes2)(e,void 0,"Point");const{publicKey:t,publicKeyUncompressed:r}=d,n=e.length,i=e[0],s=e.subarray(1);if(n!==t||2!==i&&3!==i){if(n===r&&4===i){const e=o.BYTES,t=o.fromBytes(s.subarray(0,e)),r=o.fromBytes(s.subarray(e,2*e));if(!A(t,r))throw new Error("bad point: is not on curve");return{x:t,y:r}}throw new Error(`bad point: got length ${n}, expected compressed=${t} or uncompressed=${r}`)}{const e=o.fromBytes(s);if(!o.isValid(e))throw new Error("bad point: is not on curve, wrong x");const t=x(e);let r;try{r=o.sqrt(t)}catch(e){const t=e instanceof Error?": "+e.message:"";throw new Error("bad point: is not on curve, sqrt error"+t)}g();return!(1&~i)!==o.isOdd(r)&&(r=o.neg(r)),{x:e,y:r}}};function x(e){const t=o.sqr(e),r=o.mul(t,e);return o.add(o.add(r,o.mul(e,s.a)),s.b)}function A(e,t){const r=o.sqr(t),n=x(e);return o.eql(r,n)}if(!A(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const k=o.mul(o.pow(s.a,m),b),S=o.mul(o.sqr(s.b),BigInt(27));if(o.is0(o.add(k,S)))throw new Error("bad curve params: a or b");function C(e,t,r=!1){if(!o.isValid(t)||r&&o.is0(t))throw new Error(`bad point coordinate ${e}`);return t}function T(e){if(!(e instanceof L))throw new Error("ProjectivePoint expected")}function P(e){if(!f||!f.basises)throw new Error("no endo");return l(e,f.basises,n.ORDER)}const O=(0,a.memoized)((e,t)=>{const{X:r,Y:n,Z:a}=e;if(o.eql(a,o.ONE))return{x:r,y:n};const i=e.is0();null==t&&(t=i?o.ONE:o.inv(a));const s=o.mul(r,t),c=o.mul(n,t),l=o.mul(a,t);if(i)return{x:o.ZERO,y:o.ZERO};if(!o.eql(l,o.ONE))throw new Error("invZ was invalid");return{x:s,y:c}}),I=(0,a.memoized)(e=>{if(e.is0()){if(t.allowInfinityPoint&&!o.is0(e.Y))return;throw new Error("bad point: ZERO")}const{x:r,y:n}=e.toAffine();if(!o.isValid(r)||!o.isValid(n))throw new Error("bad point: x or y not field elements");if(!A(r,n))throw new Error("bad point: equation left != right");if(!e.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function z(e,t,r,n,a){return r=new L(o.mul(r.X,e),r.Y,r.Z),t=(0,i.negateCt)(n,t),r=(0,i.negateCt)(a,r),t.add(r)}class L{constructor(e,t,r){this.X=C("x",e),this.Y=C("y",t,!0),this.Z=C("z",r),Object.freeze(this)}static CURVE(){return s}static fromAffine(e){const{x:t,y:r}=e||{};if(!e||!o.isValid(t)||!o.isValid(r))throw new Error("invalid affine point");if(e instanceof L)throw new Error("projective point not allowed");return o.is0(t)&&o.is0(r)?L.ZERO:new L(t,r,o.ONE)}static fromBytes(e){const t=L.fromAffine(E((0,a._abytes2)(e,void 0,"point")));return t.assertValidity(),t}static fromHex(e){return L.fromBytes((0,a.ensureBytes)("pointHex",e))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(e=8,t=!0){return N.createCache(this,e),t||this.multiply(m),this}assertValidity(){I(this)}hasEvenY(){const{y:e}=this.toAffine();if(!o.isOdd)throw new Error("Field doesn't support isOdd");return!o.isOdd(e)}equals(e){T(e);const{X:t,Y:r,Z:n}=this,{X:a,Y:i,Z:s}=e,c=o.eql(o.mul(t,s),o.mul(a,n)),l=o.eql(o.mul(r,s),o.mul(i,n));return c&&l}negate(){return new L(this.X,o.neg(this.Y),this.Z)}double(){const{a:e,b:t}=s,r=o.mul(t,m),{X:n,Y:a,Z:i}=this;let c=o.ZERO,l=o.ZERO,u=o.ZERO,f=o.mul(n,n),d=o.mul(a,a),h=o.mul(i,i),p=o.mul(n,a);return p=o.add(p,p),u=o.mul(n,i),u=o.add(u,u),c=o.mul(e,u),l=o.mul(r,h),l=o.add(c,l),c=o.sub(d,l),l=o.add(d,l),l=o.mul(c,l),c=o.mul(p,c),u=o.mul(r,u),h=o.mul(e,h),p=o.sub(f,h),p=o.mul(e,p),p=o.add(p,u),u=o.add(f,f),f=o.add(u,f),f=o.add(f,h),f=o.mul(f,p),l=o.add(l,f),h=o.mul(a,i),h=o.add(h,h),f=o.mul(h,p),c=o.sub(c,f),u=o.mul(h,d),u=o.add(u,u),u=o.add(u,u),new L(c,l,u)}add(e){T(e);const{X:t,Y:r,Z:n}=this,{X:a,Y:i,Z:c}=e;let l=o.ZERO,u=o.ZERO,f=o.ZERO;const d=s.a,h=o.mul(s.b,m);let p=o.mul(t,a),g=o.mul(r,i),b=o.mul(n,c),y=o.add(t,r),v=o.add(a,i);y=o.mul(y,v),v=o.add(p,g),y=o.sub(y,v),v=o.add(t,n);let w=o.add(a,c);return v=o.mul(v,w),w=o.add(p,b),v=o.sub(v,w),w=o.add(r,n),l=o.add(i,c),w=o.mul(w,l),l=o.add(g,b),w=o.sub(w,l),f=o.mul(d,v),l=o.mul(h,b),f=o.add(l,f),l=o.sub(g,f),f=o.add(g,f),u=o.mul(l,f),g=o.add(p,p),g=o.add(g,p),b=o.mul(d,b),v=o.mul(h,v),g=o.add(g,b),b=o.sub(p,b),b=o.mul(d,b),v=o.add(v,b),p=o.mul(g,v),u=o.add(u,p),p=o.mul(w,v),l=o.mul(y,l),l=o.sub(l,p),p=o.mul(y,g),f=o.mul(w,f),f=o.add(f,p),new L(l,u,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(L.ZERO)}multiply(e){const{endo:r}=t;if(!n.isValidNot0(e))throw new Error("invalid scalar: out of range");let o,a;const s=e=>N.cached(this,e,e=>(0,i.normalizeZ)(L,e));if(r){const{k1neg:t,k1:n,k2neg:i,k2:c}=P(e),{p:l,f:u}=s(n),{p:f,f:d}=s(c);a=u.add(d),o=z(r.beta,l,f,t,i)}else{const{p:t,f:r}=s(e);o=t,a=r}return(0,i.normalizeZ)(L,[o,a])[0]}multiplyUnsafe(e){const{endo:r}=t,o=this;if(!n.isValid(e))throw new Error("invalid scalar: out of range");if(e===h||o.is0())return L.ZERO;if(e===p)return o;if(N.hasCache(this))return this.multiply(e);if(r){const{k1neg:t,k1:n,k2neg:a,k2:s}=P(e),{p1:c,p2:l}=(0,i.mulEndoUnsafe)(L,o,n,s);return z(r.beta,c,l,t,a)}return N.unsafe(o,e)}multiplyAndAddUnsafe(e,t,r){const o=this.multiplyUnsafe(t).add(e.multiplyUnsafe(r));return o.is0()?void 0:o}toAffine(e){return O(this,e)}isTorsionFree(){const{isTorsionFree:e}=t;return c===p||(e?e(L,this):N.unsafe(this,u).is0())}clearCofactor(){const{clearCofactor:e}=t;return c===p?this:e?e(L,this):this.multiplyUnsafe(c)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}toBytes(e=!0){return(0,a._abool2)(e,"isCompressed"),this.assertValidity(),v(L,this,e)}toHex(e=!0){return(0,a.bytesToHex)(this.toBytes(e))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(e=!0){return this.toBytes(e)}_setWindowSize(e){this.precompute(e)}static normalizeZ(e){return(0,i.normalizeZ)(L,e)}static msm(e,t){return(0,i.pippenger)(L,n,e,t)}static fromPrivateKey(e){return L.BASE.multiply(y(n,e))}}L.BASE=new L(s.Gx,s.Gy,o.ONE),L.ZERO=new L(o.ZERO,o.ONE,o.ZERO),L.Fp=o,L.Fn=n;const R=n.BITS,N=new i.wNAF(L,t.endo?Math.ceil(R/2):R);return L.BASE.precompute(8),L}function w(e){return Uint8Array.of(e?2:3)}function E(e,t){const r=e.ORDER;let o=h;for(let e=r-p;e%g===h;e/=g)o+=p;const n=o,a=g<<n-p-p,i=a*g,s=(r-p)/i,c=(s-p)/g,l=i-p,u=a,f=e.pow(t,s),d=e.pow(t,(s+p)/g);let y=(t,r)=>{let o=f,a=e.pow(r,l),i=e.sqr(a);i=e.mul(i,r);let s=e.mul(t,i);s=e.pow(s,c),s=e.mul(s,a),a=e.mul(s,r),i=e.mul(s,t);let h=e.mul(i,a);s=e.pow(h,u);let m=e.eql(s,e.ONE);a=e.mul(i,d),s=e.mul(h,o),i=e.cmov(a,i,m),h=e.cmov(s,h,m);for(let t=n;t>p;t--){let r=t-g;r=g<<r-p;let n=e.pow(h,r);const s=e.eql(n,e.ONE);a=e.mul(i,o),o=e.mul(o,o),n=e.mul(h,o),i=e.cmov(a,i,s),h=e.cmov(n,h,s)}return{isValid:m,value:i}};if(e.ORDER%b===m){const r=(e.ORDER-m)/b,o=e.sqrt(e.neg(t));y=(t,n)=>{let a=e.sqr(n);const i=e.mul(t,n);a=e.mul(a,i);let s=e.pow(a,r);s=e.mul(s,i);const c=e.mul(s,o),l=e.mul(e.sqr(s),n),u=e.eql(l,t);return{isValid:u,value:e.cmov(c,s,u)}}}return y}function B(e,t){return{secretKey:t.BYTES,publicKey:1+e.BYTES,publicKeyUncompressed:1+2*e.BYTES,publicKeyHasPrefix:!0,signature:2*t.BYTES}}function x(e,t={}){const{Fn:r}=e,o=t.randomBytes||a.randomBytes,n=Object.assign(B(e.Fp,r),{seed:(0,s.getMinHashLength)(r.ORDER)});function i(e){try{return!!y(r,e)}catch(e){return!1}}function c(e=o(n.seed)){return(0,s.mapHashToField)((0,a._abytes2)(e,n.seed,"seed"),r.ORDER)}function l(t,o=!0){return e.BASE.multiply(y(r,t)).toBytes(o)}function u(t){if("bigint"==typeof t)return!1;if(t instanceof e)return!0;const{secretKey:o,publicKey:i,publicKeyUncompressed:s}=n;if(r.allowedLengths||o===i)return;const c=(0,a.ensureBytes)("key",t).length;return c===i||c===s}const f={isValidSecretKey:i,isValidPublicKey:function(t,r){const{publicKey:o,publicKeyUncompressed:a}=n;try{const n=t.length;return(!0!==r||n===o)&&((!1!==r||n===a)&&!!e.fromBytes(t))}catch(e){return!1}},randomSecretKey:c,isValidPrivateKey:i,randomPrivateKey:c,normPrivateKeyToScalar:e=>y(r,e),precompute:(t=8,r=e.BASE)=>r.precompute(t,!1)};return Object.freeze({getPublicKey:l,getSharedSecret:function(t,o,n=!0){if(!0===u(t))throw new Error("first arg must be private key");if(!1===u(o))throw new Error("second arg must be public key");const a=y(r,t);return e.fromHex(o).multiply(a).toBytes(n)},keygen:function(e){const t=c(e);return{secretKey:t,publicKey:l(t)}},Point:e,utils:f,lengths:n})}function A(e,r,i={}){(0,n.ahash)(r),(0,a._validateObject)(i,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const s=i.randomBytes||a.randomBytes,c=i.hmac||((e,...t)=>(0,o.hmac)(r,e,(0,a.concatBytes)(...t))),{Fp:l,Fn:d}=e,{ORDER:m,BITS:b}=d,{keygen:v,getPublicKey:E,getSharedSecret:B,utils:A,lengths:k}=x(e,i),S={prehash:!1,lowS:"boolean"==typeof i.lowS&&i.lowS,format:void 0,extraEntropy:!1},C="compact";function T(e){return e>m>>p}function P(e,t){if(!d.isValidNot0(t))throw new Error(`invalid signature ${e}: out of range 1..Point.Fn.ORDER`);return t}class O{constructor(e,t,r){this.r=P("r",e),this.s=P("s",t),null!=r&&(this.recovery=r),Object.freeze(this)}static fromBytes(e,r=C){let o;if(function(e,t){u(t);const r=k.signature,o="compact"===t?r:"recovered"===t?r+1:void 0;(0,a._abytes2)(e,o,`${t} signature`)}(e,r),"der"===r){const{r,s:o}=t.DER.toSig((0,a._abytes2)(e));return new O(r,o)}"recovered"===r&&(o=e[0],r="compact",e=e.subarray(1));const n=d.BYTES,i=e.subarray(0,n),s=e.subarray(n,2*n);return new O(d.fromBytes(i),d.fromBytes(s),o)}static fromHex(e,t){return this.fromBytes((0,a.hexToBytes)(e),t)}addRecoveryBit(e){return new O(this.r,this.s,e)}recoverPublicKey(t){const r=l.ORDER,{r:o,s:n,recovery:i}=this;if(null==i||![0,1,2,3].includes(i))throw new Error("recovery id invalid");if(m*g<r&&i>1)throw new Error("recovery id is ambiguous for h>1 curve");const s=2===i||3===i?o+m:o;if(!l.isValid(s))throw new Error("recovery id 2 or 3 invalid");const c=l.toBytes(s),u=e.fromBytes((0,a.concatBytes)(w(!(1&i)),c)),f=d.inv(s),h=z((0,a.ensureBytes)("msgHash",t)),p=d.create(-h*f),b=d.create(n*f),y=e.BASE.multiplyUnsafe(p).add(u.multiplyUnsafe(b));if(y.is0())throw new Error("point at infinify");return y.assertValidity(),y}hasHighS(){return T(this.s)}toBytes(e=C){if(u(e),"der"===e)return(0,a.hexToBytes)(t.DER.hexFromSig(this));const r=d.toBytes(this.r),o=d.toBytes(this.s);if("recovered"===e){if(null==this.recovery)throw new Error("recovery bit must be present");return(0,a.concatBytes)(Uint8Array.of(this.recovery),r,o)}return(0,a.concatBytes)(r,o)}toHex(e){return(0,a.bytesToHex)(this.toBytes(e))}assertValidity(){}static fromCompact(e){return O.fromBytes((0,a.ensureBytes)("sig",e),"compact")}static fromDER(e){return O.fromBytes((0,a.ensureBytes)("sig",e),"der")}normalizeS(){return this.hasHighS()?new O(this.r,d.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return(0,a.bytesToHex)(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return(0,a.bytesToHex)(this.toBytes("compact"))}}const I=i.bits2int||function(e){if(e.length>8192)throw new Error("input is too large");const t=(0,a.bytesToNumberBE)(e),r=8*e.length-b;return r>0?t>>BigInt(r):t},z=i.bits2int_modN||function(e){return d.create(I(e))},L=(0,a.bitMask)(b);function R(e){return(0,a.aInRange)("num < 2^"+b,e,h,L),d.toBytes(e)}function N(e,t){return(0,a._abytes2)(e,void 0,"message"),t?(0,a._abytes2)(r(e),void 0,"prehashed message"):e}return Object.freeze({keygen:v,getPublicKey:E,getSharedSecret:B,utils:A,lengths:k,Point:e,sign:function(t,o,n={}){t=(0,a.ensureBytes)("message",t);const{seed:i,k2sig:l}=function(t,r,o){if(["recovered","canonical"].some(e=>e in o))throw new Error("sign() legacy options not supported");const{lowS:n,prehash:i,extraEntropy:c}=f(o,S);t=N(t,i);const l=z(t),u=y(d,r),g=[R(u),R(l)];if(null!=c&&!1!==c){const e=!0===c?s(k.secretKey):c;g.push((0,a.ensureBytes)("extraEntropy",e))}const m=(0,a.concatBytes)(...g),b=l;return{seed:m,k2sig:function(t){const r=I(t);if(!d.isValidNot0(r))return;const o=d.inv(r),a=e.BASE.multiply(r).toAffine(),i=d.create(a.x);if(i===h)return;const s=d.create(o*d.create(b+i*u));if(s===h)return;let c=(a.x===i?0:2)|Number(a.y&p),l=s;return n&&T(s)&&(l=d.neg(s),c^=1),new O(i,l,c)}}}(t,o,n);return(0,a.createHmacDrbg)(r.outputLen,d.BYTES,c)(i,l)},verify:function(r,o,n,i={}){const{lowS:s,prehash:c,format:l}=f(i,S);if(n=(0,a.ensureBytes)("publicKey",n),o=N((0,a.ensureBytes)("message",o),c),"strict"in i)throw new Error("options.strict was renamed to lowS");const u=void 0===l?function(e){let r;const o="string"==typeof e||(0,a.isBytes)(e),n=!o&&null!==e&&"object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s;if(!o&&!n)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(n)r=new O(e.r,e.s);else if(o){try{r=O.fromBytes((0,a.ensureBytes)("sig",e),"der")}catch(e){if(!(e instanceof t.DER.Err))throw e}if(!r)try{r=O.fromBytes((0,a.ensureBytes)("sig",e),"compact")}catch(e){return!1}}return r||!1}(r):O.fromBytes((0,a.ensureBytes)("sig",r),l);if(!1===u)return!1;try{const t=e.fromBytes(n);if(s&&u.hasHighS())return!1;const{r,s:a}=u,i=z(o),c=d.inv(a),l=d.create(i*c),f=d.create(r*c),h=e.BASE.multiplyUnsafe(l).add(t.multiplyUnsafe(f));if(h.is0())return!1;return d.create(h.x)===r}catch(e){return!1}},recoverPublicKey:function(e,t,r={}){const{prehash:o}=f(r,S);return t=N(t,o),O.fromBytes(e,"recovered").recoverPublicKey(t).toBytes()},Signature:O,hash:r})}function k(e){const t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy},r=e.Fp;let o=e.allowedPrivateKeyLengths?Array.from(new Set(e.allowedPrivateKeyLengths.map(e=>Math.ceil(e/2)))):void 0;return{CURVE:t,curveOpts:{Fp:r,Fn:(0,s.Field)(t.n,{BITS:e.nBitLength,allowedLengths:o,modFromBytes:e.wrapPrivateKey}),allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes}}}function S(e,t,r){return function(o){const n=e.sqr(o),a=e.mul(n,o);return e.add(e.add(a,e.mul(o,t)),r)}}},5197:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="6.16.0"},5213:(e,t)=>{"use strict";function r(e,t,r){const o=t.split("|").map(e=>e.trim());for(let r=0;r<o.length;r++)switch(t){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof e===t)return}const n=new Error(`invalid value for type ${t}`);throw n.code="INVALID_ARGUMENT",n.argument=`value.${r}`,n.value=e,n}Object.defineProperty(t,"__esModule",{value:!0}),t.defineProperties=t.resolveProperties=void 0,t.resolveProperties=async function(e){const t=Object.keys(e);return(await Promise.all(t.map(t=>Promise.resolve(e[t])))).reduce((e,r,o)=>(e[t[o]]=r,e),{})},t.defineProperties=function(e,t,o){for(let n in t){let a=t[n];const i=o?o[n]:null;i&&r(a,i,n),Object.defineProperty(e,n,{enumerable:!0,value:a,writable:!1})}}},5376:e=>{"use strict";e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},5428:e=>{"use strict";e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},5565:(e,t)=>{"use strict";
|
|
38
|
-
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.notImplemented=t.bitMask=void 0,t.isBytes=n,t.abytes=a,t.abool=function(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)},t.numberToHexUnpadded=i,t.hexToNumber=s,t.bytesToHex=u,t.hexToBytes=h,t.bytesToNumberBE=function(e){return s(u(e))},t.bytesToNumberLE=function(e){return a(e),s(u(Uint8Array.from(e).reverse()))},t.numberToBytesBE=p,t.numberToBytesLE=function(e,t){return p(e,t).reverse()},t.numberToVarBytesBE=function(e){return h(i(e))},t.ensureBytes=function(e,t,r){let o;if("string"==typeof t)try{o=h(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!n(t))throw new Error(e+" must be hex string or Uint8Array");o=Uint8Array.from(t)}const a=o.length;if("number"==typeof r&&a!==r)throw new Error(e+" of length "+r+" expected, got "+a);return o},t.concatBytes=g,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;let r=0;for(let o=0;o<e.length;o++)r|=e[o]^t[o];return 0===r},t.utf8ToBytes=function(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))},t.inRange=b,t.aInRange=function(e,t,r,o){if(!b(t,r,o))throw new Error("expected valid "+e+": "+r+" <= n < "+o+", got "+t)},t.bitLen=function(e){let t;for(t=0;e>r;e>>=o,t+=1);return t},t.bitGet=function(e,t){return e>>BigInt(t)&o},t.bitSet=function(e,t,n){return e|(n?o:r)<<BigInt(t)},t.createHmacDrbg=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=y(e),n=y(e),a=0;const i=()=>{o.fill(1),n.fill(0),a=0},s=(...e)=>r(n,o,...e),c=(e=y(0))=>{n=s(v([0]),e),o=s(),0!==e.length&&(n=s(v([1]),e),o=s())},l=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e<t;){o=s();const t=o.slice();r.push(t),e+=o.length}return g(...r)};return(e,t)=>{let r;for(i(),c(e);!(r=t(l()));)c();return i(),r}},t.validateObject=function(e,t,r={}){const o=(t,r,o)=>{const n=w[r];if("function"!=typeof n)throw new Error("invalid validator function");const a=e[t];if(!(o&&void 0===a||n(a,e)))throw new Error("param "+String(t)+" is invalid. Expected "+r+", got "+a)};for(const[e,r]of Object.entries(t))o(e,r,!1);for(const[e,t]of Object.entries(r))o(e,t,!0);return e},t.memoized=function(e){const t=new WeakMap;return(r,...o)=>{const n=t.get(r);if(void 0!==n)return n;const a=e(r,...o);return t.set(r,a),a}};const r=BigInt(0),o=BigInt(1);function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!n(e))throw new Error("Uint8Array expected")}function i(e){const t=e.toString(16);return 1&t.length?"0"+t:t}function s(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?r:BigInt("0x"+e)}const c="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,l=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function u(e){if(a(e),c)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=l[e[r]];return t}const f={_0:48,_9:57,A:65,F:70,a:97,f:102};function d(e){return e>=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):void 0}function h(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(c)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const o=new Uint8Array(r);for(let t=0,n=0;t<r;t++,n+=2){const r=d(e.charCodeAt(n)),a=d(e.charCodeAt(n+1));if(void 0===r||void 0===a){const t=e[n]+e[n+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+n)}o[t]=16*r+a}return o}function p(e,t){return h(e.toString(16).padStart(2*t,"0"))}function g(...e){let t=0;for(let r=0;r<e.length;r++){const o=e[r];a(o),t+=o.length}const r=new Uint8Array(t);for(let t=0,o=0;t<e.length;t++){const n=e[t];r.set(n,o),o+=n.length}return r}const m=e=>"bigint"==typeof e&&r<=e;function b(e,t,r){return m(e)&&m(t)&&m(r)&&t<=e&&e<r}t.bitMask=e=>(o<<BigInt(e))-o;const y=e=>new Uint8Array(e),v=e=>Uint8Array.from(e);const w={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||n(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};t.notImplemented=()=>{throw new Error("not implemented")}},5576:e=>{"use strict";e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},5754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.SHA224=t.sha256=t.SHA256=void 0;const o=r(9741);t.SHA256=o.SHA256,t.sha256=o.sha256,t.SHA224=o.SHA224,t.sha224=o.sha224},5898:e=>{"use strict";e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},6097:function(e,t,r){"use strict";var o,n=r(9922).hp,a=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(o=function(e){return o=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},o(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=o(e),n=0;n<r.length;n++)"default"!==r[n]&&a(t,e,r[n]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.HDWallet=t.getBIP44Chain=t.BIP44ChainMap=t.BIP44Chain=void 0;const c=r(2783),l=s(r(2374)),u=r(2013),f=r(6241);Object.defineProperty(t,"BIP44Chain",{enumerable:!0,get:function(){return f.BIP44Chain}}),Object.defineProperty(t,"BIP44ChainMap",{enumerable:!0,get:function(){return f.BIP44ChainMap}}),Object.defineProperty(t,"getBIP44Chain",{enumerable:!0,get:function(){return f.getBIP44Chain}});const d=r(5005),h=r(1613),p=(0,c.Factory)(h.Alphabet.JINGTUM);class g{constructor(e){if(this.isRoot=()=>this._path.chain+this._path.account+this._path.change+this._path.index===0,this.deriveWallet=e=>{if(isNaN(e.chain)||isNaN(e.account)||isNaN(e.index))return null;const t=g.getHDKeypair(this._secret,e.chain,e.account,e.index);return new g({keypair:t,path:{chain:e.chain,account:e.account,change:0,index:e.index}})},this.secret=()=>this._secret,this.mnemonic=()=>this._mnemonic,this.chain=()=>this.isRoot()?f.BIP44ChainMap.get(f.BIP44Chain.SWTC):f.BIP44ChainMap.get(this._path.chain),this.address=()=>{if(!this._address){const e=this.chain();this._address=(0,d.getPluginByType)(e).address(this._secret?this._secret:this._keypair,e)}return this._address},this.isValidAddress=e=>(0,d.getPluginByType)(this.chain()).isValidAddress(e),this.isValidSecret=e=>(0,d.getPluginByType)(this.chain()).isValidSecret(e),this.hash=e=>(0,d.getPluginByType)(this.chain()).hash(e),this.sign=e=>(0,d.getPluginByType)(this.chain()).sign(e,this._keypair.privateKey),this.verify=(e,t,r,o)=>(r||(r=this.address()),o||(o=this._keypair),(0,d.getPluginByType)(this.chain()).verify(e,t,r,o)),this.recover=(e,t)=>(0,d.getPluginByType)(this.chain()).recover(e,t),this.getWalletApi=()=>(0,d.getPluginByType)(this.chain()),this.keypair=()=>this._keypair,this.path=()=>this._path,this.setKeypair=e=>{this._keypair=e},!e)throw new Error("undefined parameters: "+e);if(this._path={chain:0,account:0,change:0,index:0},e.mnemonic)return this._secret=g.getSecretFromMnemonic(e.mnemonic,e.language),this._keypair=g.getKeypairFromSecret(this._secret),this._mnemonic={mnemonic:e.mnemonic,language:e.language},this;if(e.secret)return this._secret=e.secret,this._keypair=g.getKeypairFromSecret(this._secret),this._mnemonic={mnemonic:g.getMnemonicFromSecret(this._secret,e.language),language:e.language},this;if(e.keypair)return e.path?(this._keypair=e.keypair,this._mnemonic=null,this._secret=null,this._path=e.path):(this._keypair=e.keypair,this._mnemonic=null,this._secret=null),this;throw new Error("invalid parameters: "+e)}}t.HDWallet=g,g.generateMnemonic=(e=128,t="english")=>(l.setDefaultWordlist(t),l.generateMnemonic(e)),g.getSecretFromMnemonic=(e,t="english")=>{l.setDefaultWordlist(t);const r=l.mnemonicToEntropy(e);return p.addressCodec.encodeSeed(n.from(r,"hex"))},g.getMnemonicFromSecret=(e,t="english")=>{l.setDefaultWordlist(t);const r=p.addressCodec.decodeSeed(e).bytes;return l.entropyToMnemonic(r)},g.getKeypairFromSecret=e=>p.deriveKeyPair(e),g.getHDKeypair=(e,t,r=0,o)=>{const a=(0,f.getBIP44Chain)(t);if(0===a.length)return null;const i=a[0][0]<<1>>1,s=g.getMnemonicFromSecret(e),c=l.mnemonicToSeedSync(s),d=u.HDKey.fromMasterSeed(c).derive(`m/44'/${i}'/${r}'/0/${o}`).privateKey;return p.deriveKeyPair(n.from(d).toString("hex"))},g.generate=e=>{e||(e={});const t=g.generateMnemonic(e.len,e.language);return new g({mnemonic:t,language:e.language})},g.fromSecret=e=>new g({secret:e}),g.fromMnemonic=e=>new g({mnemonic:e.mnemonic,language:e.language}),g.fromKeypair=e=>new g({keypair:e})},6152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicKey=void 0;const o=r(7448),n=r(7152),a=r(9462);class i{constructor(e,t){this.key=e,this.ec=t}static fromString(e,t){const r=(0,o.stringToPublicKey)(e);return t||(t=(0,n.constructElliptic)(r.type)),new i(r,t)}static fromPoint(e,t,r){const o=(0,a.toBEArray)(e.x,32),s=(0,a.toBEArray)(e.y,32);return r||(r=(0,n.constructElliptic)(t)),new i({type:t,data:new Uint8Array([1&s[31]?3:2].concat(o))},r)}toLegacyString(){return(0,o.publicKeyToLegacyString)(this.key)}toPoint(){return this.ec.ProjectivePoint.fromHex(this.key.data)}getType(){return this.key.type}isValid(){try{return this.toPoint(),!0}catch(e){return!1}}}t.PublicKey=i},6223:(e,t,r)=>{"use strict";var o=r(9922).hp;Object.defineProperty(t,"__esModule",{value:!0}),t.plugin=void 0;const n=r(8241),a=r(4790),i=r(6872),s=r(102),c=r(8169),l=r(1636),u=r(2857),f=r(3554),d=r(4904);t.plugin={checkPrivateKey:e=>66===e.length?e.substring(2):e,address(e){if(e.privateKey){const r=t.plugin.checkPrivateKey(e.privateKey);return t.plugin.getAddress(r)}if(e.publicKey){const t=(0,l.pubToAddress)(o.from(e.publicKey,"hex"));return(0,i.bytesToHex)(t)}return null},isValidAddress:e=>"string"==typeof e&&/^(0x)?[0-9a-fA-F]{40}$/.test((0,s.stripHexPrefix)(e)),getAddress(e){if(!t.plugin.isValidSecret(e))return null;const r=n.secp256k1.ProjectivePoint.fromPrivateKey(o.from((0,s.stripHexPrefix)(e),"hex")).toHex(!1);return(0,i.bytesToHex)((0,l.pubToAddress)(o.from(r.substring(2),"hex")))},isValidSecret(e){try{return n.secp256k1.utils.isValidPrivateKey(o.from((0,s.stripHexPrefix)(e),"hex"))}catch(e){return!1}},hash(e){const t=(0,i.bytesToHex)((0,a.keccak256)(o.from(e,"utf-8")));return(0,s.stripHexPrefix)(t)},sign(e,r){const n=t.plugin.checkPrivateKey(r).toLowerCase(),l=(0,a.keccak256)(o.from(e,"utf-8")),u=(0,c.ecsign)(l,o.from(n,"hex"));return(0,s.stripHexPrefix)((0,i.bytesToHex)(u.r))+(0,s.stripHexPrefix)((0,i.bytesToHex)(u.s))+u.v.toString(16)},verify:(e,r,o)=>t.plugin.recover(e,r)===o,recover(e,t){const r=(0,a.keccak256)(o.from(e,"utf-8")),n=o.from(o.from(t.substring(0,64),"hex")),s=o.from(o.from(t.substring(64,128),"hex")),u=(0,i.hexToBytes)("0x"+t.substring(128,130)),f=(0,c.ecrecover)(r,(0,i.bytesToBigInt)(u),n,s),d=(0,l.pubToAddress)(o.from(f));return(0,i.bytesToHex)(d)},async decryptKeystore(e,t){if(r=t,"[object Object]"!==Object.prototype.toString.call(r))throw new Error(f.KEYSTORE_IS_INVALID);var r;const o=t.Crypto||t.crypto;if((0,u.isEmptyPlainObject)(o)||(0,u.isEmptyPlainObject)(o.cipherparams)||(0,u.isEmptyPlainObject)(o.kdfparams))throw new Error(f.KEYSTORE_IS_INVALID);const n=o.kdfparams;return(await(0,u.decrypt)(e,{crypto:{iv:o.cipherparams.iv,cipher:o.cipher,kdf:o.kdf,kdfparams:{dklen:n.dklen,n:n.n,p:n.p,r:n.r,salt:n.salt}},mac:o.mac,ciphertext:o.ciphertext})).toString("hex")},createWallet(){const e=(0,d.randomBytes)(32);return{address:t.plugin.getAddress((0,i.bytesToHex)(e)),secret:(0,i.bytesToHex)(e)}}}},6241:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getBIP44Chain=t.BIP44ChainMap=t.BIP44Chain=void 0;const n=o(r(1919));var a;!function(e){e[e.BITCOIN=2147483648]="BITCOIN",e[e.BSC=2147492654]="BSC",e[e.EOS=2147483842]="EOS",e[e.TRON=2147483843]="TRON",e[e.ETC=2147483709]="ETC",e[e.ETH=2147483708]="ETH",e[e.HECO=2147484658]="HECO",e[e.MOAC=2147483962]="MOAC",e[e.POLYGON=2147484614]="POLYGON",e[e.RIPPLE=2147483792]="RIPPLE",e[e.SWTC=2147483963]="SWTC",e[e.CALL=2147484281]="CALL",e[e.BVCADT=2399141888]="BVCADT",e[e.STREAM=2399141889]="STREAM",e[e.BIZAIN=2399141890]="BIZAIN",e[e.BASE=2147492101]="BASE",e[e.ARB1=2147492649]="ARB1"}(a||(t.BIP44Chain=a={}));t.getBIP44Chain=e=>n.default.filter(t=>t[0]===e);const i=new Map([[a.BITCOIN,"bitcoin"],[a.BSC,"bsc"],[a.EOS,"eos"],[a.TRON,"tron"],[a.ETC,"etc"],[a.ETH,"ethereum"],[a.HECO,"heco"],[a.MOAC,"moac"],[a.POLYGON,"polygon"],[a.RIPPLE,"ripple"],[a.SWTC,"jingtum"],[a.CALL,"call"],[a.BVCADT,"bvcadt"],[a.STREAM,"stream"],[a.BIZAIN,"bizain"],[a.BASE,"base"],[a.ARB1,"arb1"]]);t.BIP44ChainMap=i},6262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAddress=t.isAddress=t.isAddressable=void 0;const o=r(1490),n=r(91);function a(e){return e&&"function"==typeof e.getAddress}async function i(e,t){const r=await t;return null!=r&&"0x0000000000000000000000000000000000000000"!==r||((0,o.assert)("string"!=typeof e,"unconfigured name","UNCONFIGURED_NAME",{value:e}),(0,o.assertArgument)(!1,"invalid AddressLike value; did not resolve to a value address","target",e)),(0,n.getAddress)(r)}t.isAddressable=a,t.isAddress=function(e){try{return(0,n.getAddress)(e),!0}catch(e){}return!1},t.resolveAddress=function(e,t){return"string"==typeof e?e.match(/^0x[0-9a-f]{40}$/i)?(0,n.getAddress)(e):((0,o.assert)(null!=t,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),i(e,t.resolveName(e))):a(e)?i(e,e.getAddress()):e&&"function"==typeof e.then?i(e,e):void(0,o.assertArgument)(!1,"unsupported addressable value","target",e)}},6526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=void 0,t.keccakP=v;const o=r(7807),n=r(4904),a=BigInt(0),i=BigInt(1),s=BigInt(2),c=BigInt(7),l=BigInt(256),u=BigInt(113),f=[],d=[],h=[];for(let e=0,t=i,r=1,o=0;e<24;e++){[r,o]=[o,(2*r+3*o)%5],f.push(2*(5*o+r)),d.push((e+1)*(e+2)/2%64);let n=a;for(let e=0;e<7;e++)t=(t<<i^(t>>c)*u)%l,t&s&&(n^=i<<(i<<BigInt(e))-i);h.push(n)}const p=(0,o.split)(h,!0),g=p[0],m=p[1],b=(e,t,r)=>r>32?(0,o.rotlBH)(e,t,r):(0,o.rotlSH)(e,t,r),y=(e,t,r)=>r>32?(0,o.rotlBL)(e,t,r):(0,o.rotlSL)(e,t,r);function v(e,t=24){const r=new Uint32Array(10);for(let o=24-t;o<24;o++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const o=(t+8)%10,n=(t+2)%10,a=r[n],i=r[n+1],s=b(a,i,1)^r[o],c=y(a,i,1)^r[o+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=c}let t=e[2],n=e[3];for(let r=0;r<24;r++){const o=d[r],a=b(t,n,o),i=y(t,n,o),s=f[r];t=e[s],n=e[s+1],e[s]=a,e[s+1]=i}for(let t=0;t<50;t+=10){for(let o=0;o<10;o++)r[o]=e[t+o];for(let o=0;o<10;o++)e[t+o]^=~r[(o+2)%10]&r[(o+4)%10]}e[0]^=g[o],e[1]^=m[o]}(0,n.clean)(r)}class w extends n.Hash{constructor(e,t,r,o=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=o,this.rounds=a,(0,n.anumber)(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,n.u32)(this.state)}clone(){return this._cloneInto()}keccak(){(0,n.swap32IfBE)(this.state32),v(this.state32,this.rounds),(0,n.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.aexists)(this),e=(0,n.toBytes)(e),(0,n.abytes)(e);const{blockLen:t,state:r}=this,o=e.length;for(let n=0;n<o;){const a=Math.min(t-this.pos,o-n);for(let t=0;t<a;t++)r[this.pos++]^=e[n++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:t,pos:r,blockLen:o}=this;e[r]^=t,128&t&&r===o-1&&this.keccak(),e[o-1]^=128,this.keccak()}writeInto(e){(0,n.aexists)(this,!1),(0,n.abytes)(e),this.finish();const t=this.state,{blockLen:r}=this;for(let o=0,n=e.length;o<n;){this.posOut>=r&&this.keccak();const a=Math.min(r-this.posOut,n-o);e.set(t.subarray(this.posOut,this.posOut+a),o),this.posOut+=a,o+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.anumber)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.aoutput)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,n.clean)(this.state)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:o,rounds:n,enableXOF:a}=this;return e||(e=new w(t,r,o,a,n)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=n,e.suffix=r,e.outputLen=o,e.enableXOF=a,e.destroyed=this.destroyed,e}}t.Keccak=w;const E=(e,t,r)=>(0,n.createHasher)(()=>new w(t,e,r));t.sha3_224=E(6,144,28),t.sha3_256=E(6,136,32),t.sha3_384=E(6,104,48),t.sha3_512=E(6,72,64),t.keccak_224=E(1,144,28),t.keccak_256=E(1,136,32),t.keccak_384=E(1,104,48),t.keccak_512=E(1,72,64);const B=(e,t,r)=>(0,n.createXOFer)((o={})=>new w(t,e,void 0===o.dkLen?r:o.dkLen,!0));t.shake128=B(31,168,16),t.shake256=B(31,136,32)},6630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNegativeLE=void 0,t.mod=d,t.pow=function(e,t,r){if(t<a)throw new Error("invalid exponent, negatives unsupported");if(r<=a)throw new Error("invalid modulus");if(r===i)return a;let o=i;for(;t>a;)t&i&&(o=o*e%r),e=e*e%r,t>>=i;return o},t.pow2=function(e,t,r){let o=e;for(;t-- >a;)o*=o,o%=r;return o},t.invert=h,t.tonelliShanks=p,t.FpSqrt=g,t.validateField=function(e){const t=m.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},t.FpPow=b,t.FpInvertBatch=y,t.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?h(r,e.ORDER):e.inv(r))},t.FpLegendre=v,t.FpIsSquare=w,t.nLength=E,t.Field=B,t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},t.hashToPrivateScalar=function(e,t,r=!1){const o=(e=(0,n.ensureBytes)("privateHash",e)).length,a=E(t).nByteLength+8;if(a<24||o<a||o>1024)throw new Error("hashToPrivateScalar: expected "+a+"-1024 bytes of input, got "+o);return d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-i)+i},t.getFieldBytesLength=x,t.getMinHashLength=A,t.mapHashToField=function(e,t,r=!1){const o=e.length,a=x(t),s=A(t);if(o<16||o<s||o>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+o);const c=d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-i)+i;return r?(0,n.numberToBytesLE)(c,a):(0,n.numberToBytesBE)(c,a)};
|
|
38
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.notImplemented=t.bitMask=void 0,t.isBytes=n,t.abytes=a,t.abool=function(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)},t.numberToHexUnpadded=i,t.hexToNumber=s,t.bytesToHex=u,t.hexToBytes=h,t.bytesToNumberBE=function(e){return s(u(e))},t.bytesToNumberLE=function(e){return a(e),s(u(Uint8Array.from(e).reverse()))},t.numberToBytesBE=p,t.numberToBytesLE=function(e,t){return p(e,t).reverse()},t.numberToVarBytesBE=function(e){return h(i(e))},t.ensureBytes=function(e,t,r){let o;if("string"==typeof t)try{o=h(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!n(t))throw new Error(e+" must be hex string or Uint8Array");o=Uint8Array.from(t)}const a=o.length;if("number"==typeof r&&a!==r)throw new Error(e+" of length "+r+" expected, got "+a);return o},t.concatBytes=g,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;let r=0;for(let o=0;o<e.length;o++)r|=e[o]^t[o];return 0===r},t.utf8ToBytes=function(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))},t.inRange=b,t.aInRange=function(e,t,r,o){if(!b(t,r,o))throw new Error("expected valid "+e+": "+r+" <= n < "+o+", got "+t)},t.bitLen=function(e){let t;for(t=0;e>r;e>>=o,t+=1);return t},t.bitGet=function(e,t){return e>>BigInt(t)&o},t.bitSet=function(e,t,n){return e|(n?o:r)<<BigInt(t)},t.createHmacDrbg=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=y(e),n=y(e),a=0;const i=()=>{o.fill(1),n.fill(0),a=0},s=(...e)=>r(n,o,...e),c=(e=y(0))=>{n=s(v([0]),e),o=s(),0!==e.length&&(n=s(v([1]),e),o=s())},l=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e<t;){o=s();const t=o.slice();r.push(t),e+=o.length}return g(...r)};return(e,t)=>{let r;for(i(),c(e);!(r=t(l()));)c();return i(),r}},t.validateObject=function(e,t,r={}){const o=(t,r,o)=>{const n=w[r];if("function"!=typeof n)throw new Error("invalid validator function");const a=e[t];if(!(o&&void 0===a||n(a,e)))throw new Error("param "+String(t)+" is invalid. Expected "+r+", got "+a)};for(const[e,r]of Object.entries(t))o(e,r,!1);for(const[e,t]of Object.entries(r))o(e,t,!0);return e},t.memoized=function(e){const t=new WeakMap;return(r,...o)=>{const n=t.get(r);if(void 0!==n)return n;const a=e(r,...o);return t.set(r,a),a}};const r=BigInt(0),o=BigInt(1);function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!n(e))throw new Error("Uint8Array expected")}function i(e){const t=e.toString(16);return 1&t.length?"0"+t:t}function s(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?r:BigInt("0x"+e)}const c="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,l=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function u(e){if(a(e),c)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=l[e[r]];return t}const f={_0:48,_9:57,A:65,F:70,a:97,f:102};function d(e){return e>=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):void 0}function h(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);if(c)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const o=new Uint8Array(r);for(let t=0,n=0;t<r;t++,n+=2){const r=d(e.charCodeAt(n)),a=d(e.charCodeAt(n+1));if(void 0===r||void 0===a){const t=e[n]+e[n+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+n)}o[t]=16*r+a}return o}function p(e,t){return h(e.toString(16).padStart(2*t,"0"))}function g(...e){let t=0;for(let r=0;r<e.length;r++){const o=e[r];a(o),t+=o.length}const r=new Uint8Array(t);for(let t=0,o=0;t<e.length;t++){const n=e[t];r.set(n,o),o+=n.length}return r}const m=e=>"bigint"==typeof e&&r<=e;function b(e,t,r){return m(e)&&m(t)&&m(r)&&t<=e&&e<r}t.bitMask=e=>(o<<BigInt(e))-o;const y=e=>new Uint8Array(e),v=e=>Uint8Array.from(e);const w={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||n(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};t.notImplemented=()=>{throw new Error("not implemented")}},5576:e=>{"use strict";e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},5754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.SHA224=t.sha256=t.SHA256=void 0;const o=r(9741);t.SHA256=o.SHA256,t.sha256=o.sha256,t.SHA224=o.SHA224,t.sha224=o.sha224},5898:e=>{"use strict";e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},6097:function(e,t,r){"use strict";var o,n=r(9922).hp,a=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(o=function(e){return o=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},o(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=o(e),n=0;n<r.length;n++)"default"!==r[n]&&a(t,e,r[n]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.HDWallet=t.getBIP44Chain=t.BIP44ChainMap=t.BIP44Chain=void 0;const c=r(2783),l=s(r(2374)),u=r(2013),f=r(6241);Object.defineProperty(t,"BIP44Chain",{enumerable:!0,get:function(){return f.BIP44Chain}}),Object.defineProperty(t,"BIP44ChainMap",{enumerable:!0,get:function(){return f.BIP44ChainMap}}),Object.defineProperty(t,"getBIP44Chain",{enumerable:!0,get:function(){return f.getBIP44Chain}});const d=r(5005),h=r(1613),p=(0,c.Factory)(h.Alphabet.JINGTUM);class g{constructor(e){if(this.isRoot=()=>this._path.chain+this._path.account+this._path.change+this._path.index===0,this.deriveWallet=e=>{if(isNaN(e.chain)||isNaN(e.account)||isNaN(e.index))return null;isNaN(e.change)&&(e.change=0);const t=g.getHDKeypair(this._secret,e.chain,e.account,e.index,e.change);return new g({keypair:t,path:{chain:e.chain,account:e.account,change:e.change,index:e.index}})},this.secret=()=>this._secret,this.mnemonic=()=>this._mnemonic,this.chain=()=>this.isRoot()?f.BIP44ChainMap.get(f.BIP44Chain.SWTC):f.BIP44ChainMap.get(this._path.chain),this.address=()=>{if(!this._address){const e=this.chain();this._address=(0,d.getPluginByType)(e).address(this._secret?this._secret:this._keypair,e)}return this._address},this.isValidAddress=e=>(0,d.getPluginByType)(this.chain()).isValidAddress(e),this.isValidSecret=e=>(0,d.getPluginByType)(this.chain()).isValidSecret(e),this.hash=e=>(0,d.getPluginByType)(this.chain()).hash(e),this.sign=e=>(0,d.getPluginByType)(this.chain()).sign(e,this._keypair.privateKey),this.verify=(e,t,r,o)=>(r||(r=this.address()),o||(o=this._keypair),(0,d.getPluginByType)(this.chain()).verify(e,t,r,o)),this.recover=(e,t)=>(0,d.getPluginByType)(this.chain()).recover(e,t),this.getWalletApi=()=>(0,d.getPluginByType)(this.chain()),this.keypair=()=>this._keypair,this.path=()=>this._path,this.setKeypair=e=>{this._keypair=e},!e)throw new Error("undefined parameters: "+e);if(this._path={chain:0,account:0,change:0,index:0},e.mnemonic)return this._secret=g.getSecretFromMnemonic(e.mnemonic,e.language),this._keypair=g.getKeypairFromSecret(this._secret),this._mnemonic={mnemonic:e.mnemonic,language:e.language},this;if(e.secret)return this._secret=e.secret,this._keypair=g.getKeypairFromSecret(this._secret),this._mnemonic={mnemonic:g.getMnemonicFromSecret(this._secret,e.language),language:e.language},this;if(e.keypair)return e.path?(this._keypair=e.keypair,this._mnemonic=null,this._secret=null,this._path=e.path):(this._keypair=e.keypair,this._mnemonic=null,this._secret=null),this;throw new Error("invalid parameters: "+e)}}t.HDWallet=g,g.generateMnemonic=(e=128,t="english")=>(l.setDefaultWordlist(t),l.generateMnemonic(e)),g.getSecretFromMnemonic=(e,t="english")=>{l.setDefaultWordlist(t);const r=l.mnemonicToEntropy(e);return p.addressCodec.encodeSeed(n.from(r,"hex"))},g.getMnemonicFromSecret=(e,t="english")=>{l.setDefaultWordlist(t);const r=p.addressCodec.decodeSeed(e).bytes;return l.entropyToMnemonic(r)},g.getKeypairFromSecret=e=>p.deriveKeyPair(e),g.getHDKeypair=(e,t,r=0,o,a=0)=>{const i=(0,f.getBIP44Chain)(t);if(0===i.length)return null;const s=i[0][0]<<1>>1,c=g.getMnemonicFromSecret(e),d=l.mnemonicToSeedSync(c),h=u.HDKey.fromMasterSeed(d).derive(`m/44'/${s}'/${r}'/${a}/${o}`).privateKey;return p.deriveKeyPair(n.from(h).toString("hex"))},g.generate=e=>{e||(e={});const t=g.generateMnemonic(e.len,e.language);return new g({mnemonic:t,language:e.language})},g.fromSecret=e=>new g({secret:e}),g.fromMnemonic=e=>new g({mnemonic:e.mnemonic,language:e.language}),g.fromKeypair=e=>new g({keypair:e})},6152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicKey=void 0;const o=r(7448),n=r(7152),a=r(9462);class i{constructor(e,t){this.key=e,this.ec=t}static fromString(e,t){const r=(0,o.stringToPublicKey)(e);return t||(t=(0,n.constructElliptic)(r.type)),new i(r,t)}static fromPoint(e,t,r){const o=(0,a.toBEArray)(e.x,32),s=(0,a.toBEArray)(e.y,32);return r||(r=(0,n.constructElliptic)(t)),new i({type:t,data:new Uint8Array([1&s[31]?3:2].concat(o))},r)}toLegacyString(){return(0,o.publicKeyToLegacyString)(this.key)}toPoint(){return this.ec.ProjectivePoint.fromHex(this.key.data)}getType(){return this.key.type}isValid(){try{return this.toPoint(),!0}catch(e){return!1}}}t.PublicKey=i},6223:(e,t,r)=>{"use strict";var o=r(9922).hp;Object.defineProperty(t,"__esModule",{value:!0}),t.plugin=void 0;const n=r(8241),a=r(4790),i=r(6872),s=r(102),c=r(8169),l=r(1636),u=r(2857),f=r(3554),d=r(4904);t.plugin={checkPrivateKey:e=>66===e.length?e.substring(2):e,address(e){if(e.privateKey){const r=t.plugin.checkPrivateKey(e.privateKey);return t.plugin.getAddress(r)}if(e.publicKey){const t=(0,l.pubToAddress)(o.from(e.publicKey,"hex"));return(0,i.bytesToHex)(t)}return null},isValidAddress:e=>"string"==typeof e&&/^(0x)?[0-9a-fA-F]{40}$/.test((0,s.stripHexPrefix)(e)),getAddress(e){if(!t.plugin.isValidSecret(e))return null;const r=n.secp256k1.ProjectivePoint.fromPrivateKey(o.from((0,s.stripHexPrefix)(e),"hex")).toHex(!1);return(0,i.bytesToHex)((0,l.pubToAddress)(o.from(r.substring(2),"hex")))},isValidSecret(e){try{return n.secp256k1.utils.isValidPrivateKey(o.from((0,s.stripHexPrefix)(e),"hex"))}catch(e){return!1}},hash(e){const t=(0,i.bytesToHex)((0,a.keccak256)(o.from(e,"utf-8")));return(0,s.stripHexPrefix)(t)},sign(e,r){const n=t.plugin.checkPrivateKey(r).toLowerCase(),l=(0,a.keccak256)(o.from(e,"utf-8")),u=(0,c.ecsign)(l,o.from(n,"hex"));return(0,s.stripHexPrefix)((0,i.bytesToHex)(u.r))+(0,s.stripHexPrefix)((0,i.bytesToHex)(u.s))+u.v.toString(16)},verify:(e,r,o)=>t.plugin.recover(e,r)===o,recover(e,t){const r=(0,a.keccak256)(o.from(e,"utf-8")),n=o.from(o.from(t.substring(0,64),"hex")),s=o.from(o.from(t.substring(64,128),"hex")),u=(0,i.hexToBytes)("0x"+t.substring(128,130)),f=(0,c.ecrecover)(r,(0,i.bytesToBigInt)(u),n,s),d=(0,l.pubToAddress)(o.from(f));return(0,i.bytesToHex)(d)},async decryptKeystore(e,t){if(r=t,"[object Object]"!==Object.prototype.toString.call(r))throw new Error(f.KEYSTORE_IS_INVALID);var r;const o=t.Crypto||t.crypto;if((0,u.isEmptyPlainObject)(o)||(0,u.isEmptyPlainObject)(o.cipherparams)||(0,u.isEmptyPlainObject)(o.kdfparams))throw new Error(f.KEYSTORE_IS_INVALID);const n=o.kdfparams;return(await(0,u.decrypt)(e,{crypto:{iv:o.cipherparams.iv,cipher:o.cipher,kdf:o.kdf,kdfparams:{dklen:n.dklen,n:n.n,p:n.p,r:n.r,salt:n.salt}},mac:o.mac,ciphertext:o.ciphertext})).toString("hex")},createWallet(){const e=(0,d.randomBytes)(32);return{address:t.plugin.getAddress((0,i.bytesToHex)(e)),secret:(0,i.bytesToHex)(e)}}}},6241:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getBIP44Chain=t.BIP44ChainMap=t.BIP44Chain=void 0;const n=o(r(1919));var a;!function(e){e[e.BITCOIN=2147483648]="BITCOIN",e[e.BSC=2147492654]="BSC",e[e.EOS=2147483842]="EOS",e[e.TRON=2147483843]="TRON",e[e.ETC=2147483709]="ETC",e[e.ETH=2147483708]="ETH",e[e.HECO=2147484658]="HECO",e[e.MOAC=2147483962]="MOAC",e[e.POLYGON=2147484614]="POLYGON",e[e.RIPPLE=2147483792]="RIPPLE",e[e.SWTC=2147483963]="SWTC",e[e.CALL=2147484281]="CALL",e[e.BVCADT=2399141888]="BVCADT",e[e.STREAM=2399141889]="STREAM",e[e.BIZAIN=2399141890]="BIZAIN",e[e.BASE=2147492101]="BASE",e[e.ARB1=2147492649]="ARB1"}(a||(t.BIP44Chain=a={}));t.getBIP44Chain=e=>n.default.filter(t=>t[0]===e);const i=new Map([[a.BITCOIN,"bitcoin"],[a.BSC,"bsc"],[a.EOS,"eos"],[a.TRON,"tron"],[a.ETC,"etc"],[a.ETH,"ethereum"],[a.HECO,"heco"],[a.MOAC,"moac"],[a.POLYGON,"polygon"],[a.RIPPLE,"ripple"],[a.SWTC,"jingtum"],[a.CALL,"call"],[a.BVCADT,"bvcadt"],[a.STREAM,"stream"],[a.BIZAIN,"bizain"],[a.BASE,"base"],[a.ARB1,"arb1"]]);t.BIP44ChainMap=i},6262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAddress=t.isAddress=t.isAddressable=void 0;const o=r(1490),n=r(91);function a(e){return e&&"function"==typeof e.getAddress}async function i(e,t){const r=await t;return null!=r&&"0x0000000000000000000000000000000000000000"!==r||((0,o.assert)("string"!=typeof e,"unconfigured name","UNCONFIGURED_NAME",{value:e}),(0,o.assertArgument)(!1,"invalid AddressLike value; did not resolve to a value address","target",e)),(0,n.getAddress)(r)}t.isAddressable=a,t.isAddress=function(e){try{return(0,n.getAddress)(e),!0}catch(e){}return!1},t.resolveAddress=function(e,t){return"string"==typeof e?e.match(/^0x[0-9a-f]{40}$/i)?(0,n.getAddress)(e):((0,o.assert)(null!=t,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),i(e,t.resolveName(e))):a(e)?i(e,e.getAddress()):e&&"function"==typeof e.then?i(e,e):void(0,o.assertArgument)(!1,"unsupported addressable value","target",e)}},6526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=void 0,t.keccakP=v;const o=r(7807),n=r(4904),a=BigInt(0),i=BigInt(1),s=BigInt(2),c=BigInt(7),l=BigInt(256),u=BigInt(113),f=[],d=[],h=[];for(let e=0,t=i,r=1,o=0;e<24;e++){[r,o]=[o,(2*r+3*o)%5],f.push(2*(5*o+r)),d.push((e+1)*(e+2)/2%64);let n=a;for(let e=0;e<7;e++)t=(t<<i^(t>>c)*u)%l,t&s&&(n^=i<<(i<<BigInt(e))-i);h.push(n)}const p=(0,o.split)(h,!0),g=p[0],m=p[1],b=(e,t,r)=>r>32?(0,o.rotlBH)(e,t,r):(0,o.rotlSH)(e,t,r),y=(e,t,r)=>r>32?(0,o.rotlBL)(e,t,r):(0,o.rotlSL)(e,t,r);function v(e,t=24){const r=new Uint32Array(10);for(let o=24-t;o<24;o++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const o=(t+8)%10,n=(t+2)%10,a=r[n],i=r[n+1],s=b(a,i,1)^r[o],c=y(a,i,1)^r[o+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=c}let t=e[2],n=e[3];for(let r=0;r<24;r++){const o=d[r],a=b(t,n,o),i=y(t,n,o),s=f[r];t=e[s],n=e[s+1],e[s]=a,e[s+1]=i}for(let t=0;t<50;t+=10){for(let o=0;o<10;o++)r[o]=e[t+o];for(let o=0;o<10;o++)e[t+o]^=~r[(o+2)%10]&r[(o+4)%10]}e[0]^=g[o],e[1]^=m[o]}(0,n.clean)(r)}class w extends n.Hash{constructor(e,t,r,o=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=o,this.rounds=a,(0,n.anumber)(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,n.u32)(this.state)}clone(){return this._cloneInto()}keccak(){(0,n.swap32IfBE)(this.state32),v(this.state32,this.rounds),(0,n.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.aexists)(this),e=(0,n.toBytes)(e),(0,n.abytes)(e);const{blockLen:t,state:r}=this,o=e.length;for(let n=0;n<o;){const a=Math.min(t-this.pos,o-n);for(let t=0;t<a;t++)r[this.pos++]^=e[n++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:t,pos:r,blockLen:o}=this;e[r]^=t,128&t&&r===o-1&&this.keccak(),e[o-1]^=128,this.keccak()}writeInto(e){(0,n.aexists)(this,!1),(0,n.abytes)(e),this.finish();const t=this.state,{blockLen:r}=this;for(let o=0,n=e.length;o<n;){this.posOut>=r&&this.keccak();const a=Math.min(r-this.posOut,n-o);e.set(t.subarray(this.posOut,this.posOut+a),o),this.posOut+=a,o+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.anumber)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.aoutput)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,n.clean)(this.state)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:o,rounds:n,enableXOF:a}=this;return e||(e=new w(t,r,o,a,n)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=n,e.suffix=r,e.outputLen=o,e.enableXOF=a,e.destroyed=this.destroyed,e}}t.Keccak=w;const E=(e,t,r)=>(0,n.createHasher)(()=>new w(t,e,r));t.sha3_224=E(6,144,28),t.sha3_256=E(6,136,32),t.sha3_384=E(6,104,48),t.sha3_512=E(6,72,64),t.keccak_224=E(1,144,28),t.keccak_256=E(1,136,32),t.keccak_384=E(1,104,48),t.keccak_512=E(1,72,64);const B=(e,t,r)=>(0,n.createXOFer)((o={})=>new w(t,e,void 0===o.dkLen?r:o.dkLen,!0));t.shake128=B(31,168,16),t.shake256=B(31,136,32)},6630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNegativeLE=void 0,t.mod=d,t.pow=function(e,t,r){if(t<a)throw new Error("invalid exponent, negatives unsupported");if(r<=a)throw new Error("invalid modulus");if(r===i)return a;let o=i;for(;t>a;)t&i&&(o=o*e%r),e=e*e%r,t>>=i;return o},t.pow2=function(e,t,r){let o=e;for(;t-- >a;)o*=o,o%=r;return o},t.invert=h,t.tonelliShanks=p,t.FpSqrt=g,t.validateField=function(e){const t=m.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},t.FpPow=b,t.FpInvertBatch=y,t.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?h(r,e.ORDER):e.inv(r))},t.FpLegendre=v,t.FpIsSquare=w,t.nLength=E,t.Field=B,t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},t.hashToPrivateScalar=function(e,t,r=!1){const o=(e=(0,n.ensureBytes)("privateHash",e)).length,a=E(t).nByteLength+8;if(a<24||o<a||o>1024)throw new Error("hashToPrivateScalar: expected "+a+"-1024 bytes of input, got "+o);return d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-i)+i},t.getFieldBytesLength=x,t.getMinHashLength=A,t.mapHashToField=function(e,t,r=!1){const o=e.length,a=x(t),s=A(t);if(o<16||o<s||o>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+o);const c=d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-i)+i;return r?(0,n.numberToBytesLE)(c,a):(0,n.numberToBytesBE)(c,a)};
|
|
39
39
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
40
40
|
const o=r(4904),n=r(5565),a=BigInt(0),i=BigInt(1),s=BigInt(2),c=BigInt(3),l=BigInt(4),u=BigInt(5),f=BigInt(8);function d(e,t){const r=e%t;return r>=a?r:t+r}function h(e,t){if(e===a)throw new Error("invert: expected non-zero number");if(t<=a)throw new Error("invert: expected positive modulus, got "+t);let r=d(e,t),o=t,n=a,s=i,c=i,l=a;for(;r!==a;){const e=o/r,t=o%r,a=n-c*e,i=s-l*e;o=r,r=t,n=c,s=l,c=a,l=i}if(o!==i)throw new Error("invert: does not exist");return d(n,t)}function p(e){let t=e-i,r=0;for(;t%s===a;)t/=s,r++;let o=s;const n=B(e);for(;o<e&&w(n,o);)if(o++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(1===r){const t=(e+i)/l;return function(e,r){const o=e.pow(r,t);if(!e.eql(e.sqr(o),r))throw new Error("Cannot find square root");return o}}const c=(t+i)/s;return function(e,n){if(!w(e,n))throw new Error("Cannot find square root");let a=r,s=e.pow(e.mul(e.ONE,o),t),l=e.pow(n,c),u=e.pow(n,t);for(;!e.eql(u,e.ONE);){if(e.eql(u,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(u);t<a&&!e.eql(r,e.ONE);t++)r=e.sqr(r);const r=e.pow(s,i<<BigInt(a-t-1));s=e.sqr(r),l=e.mul(l,r),u=e.mul(u,s),a=t}return l}}function g(e){return e%l===c?function(t,r){const o=(e+i)/l,n=t.pow(r,o);if(!t.eql(t.sqr(n),r))throw new Error("Cannot find square root");return n}:e%f===u?function(t,r){const o=t.mul(r,s),n=(e-u)/f,a=t.pow(o,n),i=t.mul(r,a),c=t.mul(t.mul(i,s),a),l=t.mul(i,t.sub(c,t.ONE));if(!t.eql(t.sqr(l),r))throw new Error("Cannot find square root");return l}:p(e)}t.isNegativeLE=(e,t)=>(d(e,t)&i)===i;const m=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function b(e,t,r){if(r<a)throw new Error("invalid exponent, negatives unsupported");if(r===a)return e.ONE;if(r===i)return t;let o=e.ONE,n=t;for(;r>a;)r&i&&(o=e.mul(o,n)),n=e.sqr(n),r>>=i;return o}function y(e,t,r=!1){const o=new Array(t.length).fill(r?e.ZERO:void 0),n=t.reduce((t,r,n)=>e.is0(r)?t:(o[n]=t,e.mul(t,r)),e.ONE),a=e.inv(n);return t.reduceRight((t,r,n)=>e.is0(r)?t:(o[n]=e.mul(t,o[n]),e.mul(t,r)),a),o}function v(e,t){const r=(e.ORDER-i)/s,o=e.pow(t,r),n=e.eql(o,e.ONE),a=e.eql(o,e.ZERO),c=e.eql(o,e.neg(e.ONE));if(!n&&!a&&!c)throw new Error("Cannot find square root: probably non-prime P");return n?1:a?0:-1}function w(e,t){const r=v(e,t);return 0===r||1===r}function E(e,t){void 0!==t&&(0,o.anumber)(t);const r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function B(e,t,r=!1,o={}){if(e<=a)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:s,nByteLength:c}=E(e,t);if(c>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const u=Object.freeze({ORDER:e,isLE:r,BITS:s,BYTES:c,MASK:(0,n.bitMask)(s),ZERO:a,ONE:i,create:t=>d(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("invalid field element: expected bigint, got "+typeof t);return a<=t&&t<e},is0:e=>e===a,isOdd:e=>(e&i)===i,neg:t=>d(-t,e),eql:(e,t)=>e===t,sqr:t=>d(t*t,e),add:(t,r)=>d(t+r,e),sub:(t,r)=>d(t-r,e),mul:(t,r)=>d(t*r,e),pow:(e,t)=>b(u,e,t),div:(t,r)=>d(t*h(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>h(t,e),sqrt:o.sqrt||(t=>(l||(l=g(e)),l(u,t))),toBytes:e=>r?(0,n.numberToBytesLE)(e,c):(0,n.numberToBytesBE)(e,c),fromBytes:e=>{if(e.length!==c)throw new Error("Field.fromBytes: expected "+c+" bytes, got "+e.length);return r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)},invertBatch:e=>y(u,e),cmov:(e,t,r)=>r?t:e});return Object.freeze(u)}function x(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function A(e){const t=x(e);return t+Math.ceil(t/2)}},6710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.pbkdf2Sync=t.createHmac=t.createHash=void 0;const o=r(7983),n=r(4973),a=r(1103),i=r(486),s=r(1490);const c=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("unable to locate global object")}(),l=c.crypto||c.msCrypto;t.createHash=function(e){switch(e){case"sha256":return a.sha256.create();case"sha512":return i.sha512.create()}(0,s.assertArgument)(!1,"invalid hashing algorithm name","algorithm",e)},t.createHmac=function(e,t){const r={sha256:a.sha256,sha512:i.sha512}[e];return(0,s.assertArgument)(null!=r,"invalid hmac algorithm","algorithm",e),o.hmac.create(r,t)},t.pbkdf2Sync=function(e,t,r,o,c){const l={sha256:a.sha256,sha512:i.sha512}[c];return(0,s.assertArgument)(null!=l,"invalid pbkdf2 algorithm","algorithm",c),(0,n.pbkdf2)(l,e,t,{c:r,dkLen:o})},t.randomBytes=function(e){(0,s.assert)(null!=l,"platform does not support secure random numbers","UNSUPPORTED_OPERATION",{operation:"randomBytes"}),(0,s.assertArgument)(Number.isInteger(e)&&e>0&&e<=1024,"invalid length","length",e);const t=new Uint8Array(e);return l.getRandomValues(t),t}},6727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNegativeLE=void 0,t.mod=p,t.pow=function(e,t,r){return B(S(r),e,t)},t.pow2=function(e,t,r){let o=e;for(;t-- >n;)o*=o,o%=r;return o},t.invert=g,t.tonelliShanks=v,t.FpSqrt=w,t.validateField=function(e){const t=E.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"});return(0,o._validateObject)(e,t),e},t.FpPow=B,t.FpInvertBatch=x,t.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?g(r,e.ORDER):e.inv(r))},t.FpLegendre=A,t.FpIsSquare=function(e,t){return 1===A(e,t)},t.nLength=k,t.Field=S,t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},t.hashToPrivateScalar=function(e,t,r=!1){const n=(e=(0,o.ensureBytes)("privateHash",e)).length,i=k(t).nByteLength+8;if(i<24||n<i||n>1024)throw new Error("hashToPrivateScalar: expected "+i+"-1024 bytes of input, got "+n);return p(r?(0,o.bytesToNumberLE)(e):(0,o.bytesToNumberBE)(e),t-a)+a},t.getFieldBytesLength=C,t.getMinHashLength=T,t.mapHashToField=function(e,t,r=!1){const n=e.length,i=C(t),s=T(t);if(n<16||n<s||n>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+n);const c=p(r?(0,o.bytesToNumberLE)(e):(0,o.bytesToNumberBE)(e),t-a)+a;return r?(0,o.numberToBytesLE)(c,i):(0,o.numberToBytesBE)(c,i)};
|
|
41
41
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
package/lib/hd/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare class HDWallet {
|
|
|
71
71
|
* @param {number} index bip44 last level index
|
|
72
72
|
* @returns {IKeyPair} return keypair object
|
|
73
73
|
*/
|
|
74
|
-
static getHDKeypair: (rootSecret: string, chain: number, account: number, index: number) => IKeyPair;
|
|
74
|
+
static getHDKeypair: (rootSecret: string, chain: number, account: number, index: number, change?: number) => IKeyPair;
|
|
75
75
|
/**
|
|
76
76
|
* generate hd wallet
|
|
77
77
|
*
|
package/lib/hd/index.js
CHANGED
|
@@ -88,10 +88,13 @@ class HDWallet {
|
|
|
88
88
|
if (isNaN(opt.chain) || isNaN(opt.account) || isNaN(opt.index)) {
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
if (isNaN(opt.change)) {
|
|
92
|
+
opt.change = 0;
|
|
93
|
+
}
|
|
94
|
+
const hdKeypair = HDWallet.getHDKeypair(this._secret, opt.chain, opt.account, opt.index, opt.change);
|
|
92
95
|
return new HDWallet({
|
|
93
96
|
keypair: hdKeypair,
|
|
94
|
-
path: { chain: opt.chain, account: opt.account, change:
|
|
97
|
+
path: { chain: opt.chain, account: opt.account, change: opt.change, index: opt.index }
|
|
95
98
|
});
|
|
96
99
|
};
|
|
97
100
|
/**
|
|
@@ -327,7 +330,7 @@ HDWallet.getKeypairFromSecret = (secret) => {
|
|
|
327
330
|
* @param {number} index bip44 last level index
|
|
328
331
|
* @returns {IKeyPair} return keypair object
|
|
329
332
|
*/
|
|
330
|
-
HDWallet.getHDKeypair = (rootSecret, chain, account = 0, index) => {
|
|
333
|
+
HDWallet.getHDKeypair = (rootSecret, chain, account = 0, index, change = 0) => {
|
|
331
334
|
const bip44Chain = (0, constant_1.getBIP44Chain)(chain);
|
|
332
335
|
if (bip44Chain.length === 0) {
|
|
333
336
|
return null;
|
|
@@ -336,7 +339,7 @@ HDWallet.getHDKeypair = (rootSecret, chain, account = 0, index) => {
|
|
|
336
339
|
const mnemonic = HDWallet.getMnemonicFromSecret(rootSecret);
|
|
337
340
|
const seed = BIP39.mnemonicToSeedSync(mnemonic);
|
|
338
341
|
const b32 = bip32_1.HDKey.fromMasterSeed(seed);
|
|
339
|
-
const privateKey = b32.derive(`m/44'/${chainIdx}'/${account}'
|
|
342
|
+
const privateKey = b32.derive(`m/44'/${chainIdx}'/${account}'/${change}/${index}`).privateKey;
|
|
340
343
|
return keypair.deriveKeyPair(Buffer.from(privateKey).toString("hex"));
|
|
341
344
|
};
|
|
342
345
|
/**
|
package/lib/hd/plugins.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export declare const jtWallet: IHDPlugin;
|
|
|
8
8
|
export declare const ethWallet: import("./ethereum.plugin").IEthereumPlugin;
|
|
9
9
|
export declare const moacWallet: import("./ethereum.plugin").IEthereumPlugin;
|
|
10
10
|
export declare const eosWallet: import("./eos.plugin").IEosPlugin;
|
|
11
|
+
export declare const tronWallet: import("./tron.plugin").ITronPlugin;
|
|
11
12
|
export declare function getPluginByType<T extends IHDPlugin>(type: string): T;
|
package/lib/hd/plugins.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eosWallet = exports.moacWallet = exports.ethWallet = exports.jtWallet = exports.bizainWallet = exports.stmWallet = exports.rippleWallet = exports.callWallet = exports.bvcadtWallet = void 0;
|
|
3
|
+
exports.tronWallet = exports.eosWallet = exports.moacWallet = exports.ethWallet = exports.jtWallet = exports.bizainWallet = exports.stmWallet = exports.rippleWallet = exports.callWallet = exports.bvcadtWallet = void 0;
|
|
4
4
|
exports.getPluginByType = getPluginByType;
|
|
5
5
|
const ethereum_plugin_1 = require("./ethereum.plugin");
|
|
6
6
|
const ethereum_plugin_2 = require("./ethereum.plugin");
|
|
@@ -19,6 +19,7 @@ exports.jtWallet = (0, swtc_plugin_1.SWTCPlugin)(types_1.Alphabet.JINGTUM);
|
|
|
19
19
|
exports.ethWallet = ethereum_plugin_1.plugin;
|
|
20
20
|
exports.moacWallet = ethereum_plugin_1.plugin;
|
|
21
21
|
exports.eosWallet = eos_plugin_1.plugin;
|
|
22
|
+
exports.tronWallet = tron_plugin_1.plugin;
|
|
22
23
|
const pluginMap = {
|
|
23
24
|
ethereum: ethereum_plugin_1.plugin,
|
|
24
25
|
bsc: ethereum_plugin_2.plugin,
|