@ozdao/prometheus-framework 0.1.39 → 0.1.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/dist/ButtonToggleMembership-738720bd.js +1 -0
  2. package/dist/ButtonToggleMembership-e337e704.mjs +90 -0
  3. package/dist/CardBlogpost-c7adb0a7.mjs +246 -0
  4. package/dist/CardBlogpost-f308ff64.js +1 -0
  5. package/dist/CardOrganization-22beb83d.js +1 -0
  6. package/dist/CardOrganization-ae384e54.mjs +234 -0
  7. package/dist/Chips-edf2b573.js +1 -0
  8. package/dist/Chips-f06ec38f.mjs +213 -0
  9. package/dist/Community-04b25965.mjs +130 -0
  10. package/dist/Community-2f6fee0f.js +1 -0
  11. package/dist/Events-41d71b0e.js +1 -0
  12. package/dist/Events-af7170ed.mjs +134 -0
  13. package/dist/Feed-04fe1f7a.mjs +361 -0
  14. package/dist/Feed-23758089.mjs +124 -0
  15. package/dist/Feed-36e83be3.mjs +156 -0
  16. package/dist/Feed-5653cf8b.js +1 -0
  17. package/dist/Feed-5a359bb7.js +1 -0
  18. package/dist/Feed-6ca0541a.js +1 -0
  19. package/dist/Image-39955d9d.mjs +480 -0
  20. package/dist/Image-c2d190d8.js +9 -0
  21. package/dist/LeftoverAdd-21311275.js +1 -0
  22. package/dist/LeftoverAdd-ccf4595f.mjs +228 -0
  23. package/dist/Members-7251dd52.mjs +109 -0
  24. package/dist/Members-d35ab7e8.js +1 -0
  25. package/dist/Organizations-a964d4b6.mjs +72 -0
  26. package/dist/Organizations-ed6d36d6.js +1 -0
  27. package/dist/Product-299070ad.mjs +652 -0
  28. package/dist/Product-aacb05f3.js +7 -0
  29. package/dist/ProductEdit-70bed802.mjs +296 -0
  30. package/dist/ProductEdit-e5a2e0f6.js +1 -0
  31. package/dist/ProductsBackoffice-3c182d6a.mjs +86 -0
  32. package/dist/ProductsBackoffice-b684913d.js +1 -0
  33. package/dist/ProfileBlogposts-6bf526fb.js +1 -0
  34. package/dist/ProfileBlogposts-d4b17535.mjs +77 -0
  35. package/dist/ProfileEvents-3eeb4320.mjs +68 -0
  36. package/dist/ProfileEvents-90e09978.js +1 -0
  37. package/dist/ProfileOrganizations-e838925f.js +1 -0
  38. package/dist/ProfileOrganizations-edf657ca.mjs +72 -0
  39. package/dist/Publics-a31d7fe7.js +1 -0
  40. package/dist/Publics-a8f31413.mjs +45 -0
  41. package/dist/Wallet-2043b611.mjs +24682 -0
  42. package/dist/Wallet-8fa7386a.js +55 -0
  43. package/dist/auth-076a83d0.mjs +625 -0
  44. package/dist/auth-df5a20c6.js +7 -0
  45. package/dist/auth.client.cjs +1 -1
  46. package/dist/auth.client.js +4 -4
  47. package/dist/auth.validation-80b133df.js +1 -0
  48. package/dist/auth.validation-fd9ae66f.mjs +24 -0
  49. package/dist/backoffice.client.cjs +1 -1
  50. package/dist/backoffice.client.js +11 -11
  51. package/dist/categories-4327a81c.js +1 -0
  52. package/dist/categories-52a561a4.mjs +122 -0
  53. package/dist/community.client.cjs +1 -1
  54. package/dist/community.client.js +10 -10
  55. package/dist/events.client.cjs +2 -2
  56. package/dist/events.client.js +9 -9
  57. package/dist/legal.client.cjs +1 -1
  58. package/dist/legal.client.js +1 -1
  59. package/dist/main.css +1 -1
  60. package/dist/modules/gallery/components/pages/Gallery.vue.d.ts +2 -0
  61. package/dist/modules/gallery/components/sections/GalleryWithCategories.vue.d.ts +2 -0
  62. package/dist/modules/globals/components/sections/Title.vue.d.ts +6 -0
  63. package/dist/organizations-966e1cd2.mjs +122 -0
  64. package/dist/organizations-d12c42b6.js +1 -0
  65. package/dist/organizations.client-8f263e28.js +3 -0
  66. package/dist/organizations.client-9ffc023f.mjs +2996 -0
  67. package/dist/organizations.client.cjs +1 -1
  68. package/dist/organizations.client.js +15 -15
  69. package/dist/products-7e4253eb.js +1 -0
  70. package/dist/products-aabe5c02.mjs +108 -0
  71. package/dist/prometheus-framework.cjs.js +1 -1
  72. package/dist/prometheus-framework.es.js +2 -2
  73. package/dist/states.validation-4594b33c.mjs +13 -0
  74. package/dist/states.validation-69003e66.js +1 -0
  75. package/dist/style.css +1 -1
  76. package/dist/users.client.cjs +1 -1
  77. package/dist/users.client.js +198 -166
  78. package/package.json +1 -1
  79. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  80. package/src/components/LocationSelection/LocationSelection.vue +1 -1
  81. package/src/components/Navigation/Navigation.vue +12 -1
  82. package/src/components/Sidebar/Sidebar.vue +8 -10
  83. package/src/modules/auth/store/auth.js +7 -4
  84. package/src/modules/backoffice/components/admin/ProductEdit.vue +0 -2
  85. package/src/modules/files/middlewares/server/md.js +1 -0
  86. package/src/modules/gallery/components/pages/Gallery.vue +21 -0
  87. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +408 -0
  88. package/src/modules/gallery/gallery.client.js +11 -14
  89. package/src/modules/gallery/router/gallery.router.js +10 -0
  90. package/src/modules/globals/components/sections/Title.vue +22 -0
  91. package/src/modules/marketplace/router/marketplace.js +4 -3
  92. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  93. package/src/modules/products/components/pages/ProductRecommmendation.vue +5 -3
  94. package/src/modules/products/components/sections/FilterProducts.vue +2 -0
  95. package/src/modules/products/components/sections/SectionProduct.vue +17 -5
  96. package/src/modules/products/components/sections/SortProducts.vue +0 -2
  97. package/src/modules/products/controllers/products.controller.js +83 -0
  98. package/src/modules/products/routes/products.routes.js +5 -5
  99. package/src/modules/products/store/categories.js +9 -9
  100. package/src/modules/products/store/leftovers.js +9 -6
  101. package/src/modules/products/store/products.js +0 -2
  102. package/src/modules/spots/components/layouts/Spots.vue +16 -11
  103. package/src/modules/spots/components/pages/Map.vue +9 -7
  104. package/src/modules/users/components/pages/Profile.vue +15 -5
  105. package/src/modules/users/router/users.js +10 -0
  106. package/src/modules/wallet/components/pages/Wallet.vue +104 -23
@@ -0,0 +1,55 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ht=require("vue"),ge=require("./index-b41aac19.js"),we=require("vue-router");var ve={exports:{}};/*! For license information please see web3.min.js.LICENSE.txt */(function(be,ye){(function(Xt,le){be.exports=le()})(self,()=>(()=>{var Xt={1645:(R,y,c)=>{var h=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(y,"__esModule",{value:!0}),y.chains=y._getInitializedChains=void 0;var v=h(c(7295)),p=h(c(1227)),l=h(c(439)),t=h(c(7098)),s=h(c(7687));function f(e){var u,n,i={1:"mainnet",3:"ropsten",4:"rinkeby",42:"kovan",5:"goerli"},r={mainnet:v.default,ropsten:p.default,rinkeby:l.default,kovan:t.default,goerli:s.default};if(e)try{for(var o=function(w){var g=typeof Symbol=="function"&&Symbol.iterator,A=g&&w[g],T=0;if(A)return A.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&T>=w.length&&(w=void 0),{value:w&&w[T++],done:!w}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),a=o.next();!a.done;a=o.next()){var d=a.value,b=d.name;i[d.chainId.toString()]=b,r[b]=d}}catch(w){u={error:w}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(u)throw u.error}}return r.names=i,r}y._getInitializedChains=f,y.chains=f()},425:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.EIPs=void 0,y.EIPs={1559:c(7523),2315:c(3339),2537:c(6769),2565:c(7897),2718:c(2170),2929:c(8436),2930:c(6213),3198:c(5491),3529:c(7852),3541:c(1871),3554:c(7225),3675:c(8571)}},7002:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.hardforks=void 0,y.hardforks=[["chainstart",c(114)],["homestead",c(2800)],["dao",c(7197)],["tangerineWhistle",c(2302)],["spuriousDragon",c(716)],["byzantium",c(6985)],["constantinople",c(5993)],["petersburg",c(4064)],["istanbul",c(3166)],["muirGlacier",c(2946)],["berlin",c(15)],["london",c(1250)],["shanghai",c(5553)],["merge",c(8648)]]},3863:(R,y,c)=>{var h,v=c(9033).Buffer,p=c(8847)(c(3355)),l=(h=function(A,T){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,E){S.__proto__=E}||function(S,E){for(var k in E)Object.prototype.hasOwnProperty.call(E,k)&&(S[k]=E[k])},h(A,T)},function(A,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function S(){this.constructor=A}h(A,T),A.prototype=T===null?Object.create(T):(S.prototype=T.prototype,new S)}),t=function(){return t=Object.assign||function(A){for(var T,S=1,E=arguments.length;S<E;S++)for(var k in T=arguments[S])Object.prototype.hasOwnProperty.call(T,k)&&(A[k]=T[k]);return A},t.apply(this,arguments)},s=function(A){var T=typeof Symbol=="function"&&Symbol.iterator,S=T&&A[T],E=0;if(S)return S.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&E>=A.length&&(A=void 0),{value:A&&A[E++],done:!A}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(y,"__esModule",{value:!0}),y.ConsensusAlgorithm=y.ConsensusType=y.Hardfork=y.Chain=y.CustomChain=void 0;var f,e,u,n,i,r=c(8291),o=c(4628),a=c(3062),d=c(1645),b=c(7002),w=c(425);(function(A){A.PolygonMainnet="polygon-mainnet",A.PolygonMumbai="polygon-mumbai",A.ArbitrumRinkebyTestnet="arbitrum-rinkeby-testnet",A.xDaiChain="x-dai-chain"})(f=y.CustomChain||(y.CustomChain={})),(i=y.Chain||(y.Chain={}))[i.Mainnet=1]="Mainnet",i[i.Ropsten=3]="Ropsten",i[i.Rinkeby=4]="Rinkeby",i[i.Kovan=42]="Kovan",i[i.Goerli=5]="Goerli",function(A){A.Chainstart="chainstart",A.Homestead="homestead",A.Dao="dao",A.TangerineWhistle="tangerineWhistle",A.SpuriousDragon="spuriousDragon",A.Byzantium="byzantium",A.Constantinople="constantinople",A.Petersburg="petersburg",A.Istanbul="istanbul",A.MuirGlacier="muirGlacier",A.Berlin="berlin",A.London="london",A.Shanghai="shanghai",A.Merge="merge"}(e=y.Hardfork||(y.Hardfork={})),(n=y.ConsensusType||(y.ConsensusType={})).ProofOfStake="pos",n.ProofOfWork="pow",n.ProofOfAuthority="poa",(u=y.ConsensusAlgorithm||(y.ConsensusAlgorithm={})).Ethash="ethash",u.Clique="clique",u.Casper="casper";var g=function(A){function T(S){var E,k,I,N,D=A.call(this)||this;D._supportedHardforks=[],D._eips=[],D._customChains=(I=S.customChains)!==null&&I!==void 0?I:[],D._chainParams=D.setChain(S.chain),D.DEFAULT_HARDFORK=(N=D._chainParams.defaultHardfork)!==null&&N!==void 0?N:e.Istanbul;try{for(var L=s(D._chainParams.hardforks),m=L.next();!m.done;m=L.next()){var P=m.value;P.forkHash||(P.forkHash=D._calcForkHash(P.name))}}catch(C){E={error:C}}finally{try{m&&!m.done&&(k=L.return)&&k.call(L)}finally{if(E)throw E.error}}return D._hardfork=D.DEFAULT_HARDFORK,S.supportedHardforks&&(D._supportedHardforks=S.supportedHardforks),S.hardfork&&D.setHardfork(S.hardfork),S.eips&&D.setEIPs(S.eips),D}return l(T,A),T.custom=function(S,E){var k;E===void 0&&(E={});var I=(k=E.baseChain)!==null&&k!==void 0?k:"mainnet",N=t({},T._getChainParams(I));if(N.name="custom-chain",typeof S!="string")return new T(t({chain:t(t({},N),S)},E));if(S===f.PolygonMainnet)return T.custom({name:f.PolygonMainnet,chainId:137,networkId:137});if(S===f.PolygonMumbai)return T.custom({name:f.PolygonMumbai,chainId:80001,networkId:80001});if(S===f.ArbitrumRinkebyTestnet)return T.custom({name:f.ArbitrumRinkebyTestnet,chainId:421611,networkId:421611});if(S===f.xDaiChain)return T.custom({name:f.xDaiChain,chainId:100,networkId:100});throw new Error("Custom chain "+S+" not supported")},T.forCustomChain=function(S,E,k,I){var N=T._getChainParams(S);return new T({chain:t(t({},N),E),hardfork:k,supportedHardforks:I})},T.isSupportedChainId=function(S){var E=(0,d._getInitializedChains)();return!!E.names[S.toString()]},T._getChainParams=function(S,E){var k=(0,d._getInitializedChains)(E);if(typeof S=="number"||a.BN.isBN(S)){if(S=S.toString(),k.names[S])return k[k.names[S]];throw new Error("Chain with ID "+S+" not supported")}if(k[S])return k[S];throw new Error("Chain with name "+S+" not supported")},T.prototype.setChain=function(S){var E,k;if(typeof S=="number"||typeof S=="string"||a.BN.isBN(S)){var I;I=this._customChains&&this._customChains.length>0&&Array.isArray(this._customChains[0])?this._customChains.map(function(m){return m[0]}):this._customChains,this._chainParams=T._getChainParams(S,I)}else{if((0,p.default)(S)!=="object")throw new Error("Wrong input format");if(this._customChains.length>0)throw new Error("Chain must be a string, number, or BN when initialized with customChains passed in");try{for(var N=s(["networkId","genesis","hardforks","bootstrapNodes"]),D=N.next();!D.done;D=N.next()){var L=D.value;if(S[L]===void 0)throw new Error("Missing required chain parameter: "+L)}}catch(m){E={error:m}}finally{try{D&&!D.done&&(k=N.return)&&k.call(N)}finally{if(E)throw E.error}}this._chainParams=S}return this._chainParams},T.prototype.setHardfork=function(S){var E,k;if(!this._isSupportedHardfork(S))throw new Error("Hardfork "+S+" not set as supported in supportedHardforks");var I=!1;try{for(var N=s(b.hardforks),D=N.next();!D.done;D=N.next())D.value[0]===S&&(this._hardfork!==S&&(this._hardfork=S,this.emit("hardforkChanged",S)),I=!0)}catch(L){E={error:L}}finally{try{D&&!D.done&&(k=N.return)&&k.call(N)}finally{if(E)throw E.error}}if(!I)throw new Error("Hardfork with name "+S+" not supported")},T.prototype.getHardforkByBlockNumber=function(S,E){var k,I;S=(0,a.toType)(S,a.TypeOutput.BN),E=E?(0,a.toType)(E,a.TypeOutput.BN):void 0;var N,D,L,m=e.Chainstart;try{for(var P=s(this.hardforks()),C=P.next();!C.done;C=P.next()){var B=C.value;if(B.block!==null)S.gte(new a.BN(B.block))&&(m=B.name),E&&B.td&&(E.gten(B.td)?N=B.name:D=L),L=B.name;else if(E&&B.td&&E.gten(B.td))return B.name}}catch(K){k={error:K}}finally{try{C&&!C.done&&(I=P.return)&&I.call(P)}finally{if(k)throw k.error}}if(E){var x="block number: "+S+" (-> "+m+"), ";if(N&&!this.hardforkGteHardfork(m,N)){var j="HF determined by block number is lower than the minimum total difficulty HF";throw x+="total difficulty: "+E+" (-> "+N+")",new Error(j+": "+x)}if(D&&!this.hardforkGteHardfork(D,m))throw j="Maximum HF determined by total difficulty is lower than the block number HF",x+="total difficulty: "+E+" (-> "+D+")",new Error(j+": "+x)}return m},T.prototype.setHardforkByBlockNumber=function(S,E){var k=this.getHardforkByBlockNumber(S,E);return this.setHardfork(k),k},T.prototype._chooseHardfork=function(S,E){if(E===void 0&&(E=!0),S){if(E&&!this._isSupportedHardfork(S))throw new Error("Hardfork "+S+" not set as supported in supportedHardforks")}else S=this._hardfork;return S},T.prototype._getHardfork=function(S){var E,k,I=this.hardforks();try{for(var N=s(I),D=N.next();!D.done;D=N.next()){var L=D.value;if(L.name===S)return L}}catch(m){E={error:m}}finally{try{D&&!D.done&&(k=N.return)&&k.call(N)}finally{if(E)throw E.error}}throw new Error("Hardfork "+S+" not defined for chain "+this.chainName())},T.prototype._isSupportedHardfork=function(S){var E,k;if(!(this._supportedHardforks.length>0))return!0;try{for(var I=s(this._supportedHardforks),N=I.next();!N.done;N=I.next())if(S===N.value)return!0}catch(D){E={error:D}}finally{try{N&&!N.done&&(k=I.return)&&k.call(I)}finally{if(E)throw E.error}}return!1},T.prototype.setEIPs=function(S){var E,k,I=this;S===void 0&&(S=[]);var N=function(P){if(!(P in w.EIPs))throw new Error(P+" not supported");var C=D.gteHardfork(w.EIPs[P].minimumHardfork);if(!C)throw new Error(P+" cannot be activated on hardfork "+D.hardfork()+", minimumHardfork: "+C);w.EIPs[P].requiredEIPs&&w.EIPs[P].requiredEIPs.forEach(function(B){if(!S.includes(B)&&!I.isActivatedEIP(B))throw new Error(P+" requires EIP "+B+", but is not included in the EIP list")})},D=this;try{for(var L=s(S),m=L.next();!m.done;m=L.next())N(m.value)}catch(P){E={error:P}}finally{try{m&&!m.done&&(k=L.return)&&k.call(L)}finally{if(E)throw E.error}}this._eips=S},T.prototype.param=function(S,E){var k,I,N=null;try{for(var D=s(this._eips),L=D.next();!L.done;L=D.next()){var m=L.value;if((N=this.paramByEIP(S,E,m))!==null)return N}}catch(P){k={error:P}}finally{try{L&&!L.done&&(I=D.return)&&I.call(D)}finally{if(k)throw k.error}}return this.paramByHardfork(S,E,this._hardfork)},T.prototype.paramByHardfork=function(S,E,k){var I,N,D,L;k=this._chooseHardfork(k);var m=null;try{for(var P=s(b.hardforks),C=P.next();!C.done;C=P.next()){var B=C.value;if("eips"in B[1]){var x=B[1].eips;try{for(var j=(D=void 0,s(x)),K=j.next();!K.done;K=j.next()){var V=K.value,J=this.paramByEIP(S,E,V);m=J!==null?J:m}}catch(O){D={error:O}}finally{try{K&&!K.done&&(L=j.return)&&L.call(j)}finally{if(D)throw D.error}}}else{if(!B[1][S])throw new Error("Topic "+S+" not defined");B[1][S][E]!==void 0&&(m=B[1][S][E].v)}if(B[0]===k)break}}catch(O){I={error:O}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(I)throw I.error}}return m},T.prototype.paramByEIP=function(S,E,k){if(!(k in w.EIPs))throw new Error(k+" not supported");var I=w.EIPs[k];if(!(S in I))throw new Error("Topic "+S+" not defined");return I[S][E]===void 0?null:I[S][E].v},T.prototype.paramByBlock=function(S,E,k){var I=this.activeHardforks(k),N=I[I.length-1].name;return this.paramByHardfork(S,E,N)},T.prototype.isActivatedEIP=function(S){var E,k;if(this.eips().includes(S))return!0;try{for(var I=s(b.hardforks),N=I.next();!N.done;N=I.next()){var D=N.value[1];if(this.gteHardfork(D.name)&&"eips"in D&&D.eips.includes(S))return!0}}catch(L){E={error:L}}finally{try{N&&!N.done&&(k=I.return)&&k.call(I)}finally{if(E)throw E.error}}return!1},T.prototype.hardforkIsActiveOnBlock=function(S,E,k){var I;k===void 0&&(k={}),E=(0,a.toType)(E,a.TypeOutput.BN);var N=(I=k.onlySupported)!==null&&I!==void 0&&I;S=this._chooseHardfork(S,N);var D=this.hardforkBlockBN(S);return!(!D||!E.gte(D))},T.prototype.activeOnBlock=function(S,E){return this.hardforkIsActiveOnBlock(null,S,E)},T.prototype.hardforkGteHardfork=function(S,E,k){var I,N;k===void 0&&(k={});var D,L=k.onlyActive!==void 0&&k.onlyActive;S=this._chooseHardfork(S,k.onlySupported),D=L?this.activeHardforks(null,k):this.hardforks();var m=-1,P=-1,C=0;try{for(var B=s(D),x=B.next();!x.done;x=B.next()){var j=x.value;j.name===S&&(m=C),j.name===E&&(P=C),C+=1}}catch(K){I={error:K}}finally{try{x&&!x.done&&(N=B.return)&&N.call(B)}finally{if(I)throw I.error}}return m>=P&&P!==-1},T.prototype.gteHardfork=function(S,E){return this.hardforkGteHardfork(null,S,E)},T.prototype.hardforkIsActiveOnChain=function(S,E){var k,I,N;E===void 0&&(E={});var D=(N=E.onlySupported)!==null&&N!==void 0&&N;S=this._chooseHardfork(S,D);try{for(var L=s(this.hardforks()),m=L.next();!m.done;m=L.next()){var P=m.value;if(P.name===S&&P.block!==null)return!0}}catch(C){k={error:C}}finally{try{m&&!m.done&&(I=L.return)&&I.call(L)}finally{if(k)throw k.error}}return!1},T.prototype.activeHardforks=function(S,E){var k,I;E===void 0&&(E={});var N=[],D=this.hardforks();try{for(var L=s(D),m=L.next();!m.done;m=L.next()){var P=m.value;if(P.block!==null){if(S!=null&&S<P.block)break;E.onlySupported&&!this._isSupportedHardfork(P.name)||N.push(P)}}}catch(C){k={error:C}}finally{try{m&&!m.done&&(I=L.return)&&I.call(L)}finally{if(k)throw k.error}}return N},T.prototype.activeHardfork=function(S,E){E===void 0&&(E={});var k=this.activeHardforks(S,E);if(k.length>0)return k[k.length-1].name;throw new Error("No (supported) active hardfork found")},T.prototype.hardforkBlock=function(S){var E=this.hardforkBlockBN(S);return E?(0,a.toType)(E,a.TypeOutput.Number):null},T.prototype.hardforkBlockBN=function(S){S=this._chooseHardfork(S,!1);var E=this._getHardfork(S).block;return E==null?null:new a.BN(E)},T.prototype.hardforkTD=function(S){S=this._chooseHardfork(S,!1);var E=this._getHardfork(S).td;return E==null?null:new a.BN(E)},T.prototype.isHardforkBlock=function(S,E){S=(0,a.toType)(S,a.TypeOutput.BN),E=this._chooseHardfork(E,!1);var k=this.hardforkBlockBN(E);return!!k&&k.eq(S)},T.prototype.nextHardforkBlock=function(S){var E=this.nextHardforkBlockBN(S);return E===null?null:(0,a.toType)(E,a.TypeOutput.Number)},T.prototype.nextHardforkBlockBN=function(S){S=this._chooseHardfork(S,!1);var E=this.hardforkBlockBN(S);return E===null?null:this.hardforks().reduce(function(k,I){var N=new a.BN(I.block);return N.gt(E)&&k===null?N:k},null)},T.prototype.isNextHardforkBlock=function(S,E){S=(0,a.toType)(S,a.TypeOutput.BN),E=this._chooseHardfork(E,!1);var k=this.nextHardforkBlockBN(E);return k!==null&&k.eq(S)},T.prototype._calcForkHash=function(S){var E,k,I=v.from(this.genesis().hash.substr(2),"hex"),N=v.alloc(0),D=0;try{for(var L=s(this.hardforks()),m=L.next();!m.done;m=L.next()){var P=m.value,C=P.block;if(C!==0&&C!==null&&C!==D){var B=v.from(C.toString(16).padStart(16,"0"),"hex");N=v.concat([N,B])}if(P.name===S)break;C!==null&&(D=C)}}catch(j){E={error:j}}finally{try{m&&!m.done&&(k=L.return)&&k.call(L)}finally{if(E)throw E.error}}var x=v.concat([I,N]);return"0x"+(0,a.intToBuffer)((0,o.buf)(x)>>>0).toString("hex")},T.prototype.forkHash=function(S){S=this._chooseHardfork(S,!1);var E=this._getHardfork(S);if(E.block===null)throw new Error("No fork hash calculation possible for non-applied or future hardfork");return E.forkHash!==void 0?E.forkHash:this._calcForkHash(S)},T.prototype.hardforkForForkHash=function(S){var E=this.hardforks().filter(function(k){return k.forkHash===S});return E.length>=1?E[E.length-1]:null},T.prototype.genesis=function(){return this._chainParams.genesis},T.prototype.genesisState=function(){var S,E;switch(this.chainName()){case"mainnet":return c(Object(function(){var D=new Error("Cannot find module './genesisStates/mainnet.json'");throw D.code="MODULE_NOT_FOUND",D}()));case"ropsten":return c(Object(function(){var D=new Error("Cannot find module './genesisStates/ropsten.json'");throw D.code="MODULE_NOT_FOUND",D}()));case"rinkeby":return c(Object(function(){var D=new Error("Cannot find module './genesisStates/rinkeby.json'");throw D.code="MODULE_NOT_FOUND",D}()));case"kovan":return c(Object(function(){var D=new Error("Cannot find module './genesisStates/kovan.json'");throw D.code="MODULE_NOT_FOUND",D}()));case"goerli":return c(Object(function(){var D=new Error("Cannot find module './genesisStates/goerli.json'");throw D.code="MODULE_NOT_FOUND",D}()))}if(this._customChains&&this._customChains.length>0&&Array.isArray(this._customChains[0]))try{for(var k=s(this._customChains),I=k.next();!I.done;I=k.next()){var N=I.value;if(N[0].name===this.chainName())return N[1]}}catch(D){S={error:D}}finally{try{I&&!I.done&&(E=k.return)&&E.call(k)}finally{if(S)throw S.error}}return{}},T.prototype.hardforks=function(){return this._chainParams.hardforks},T.prototype.bootstrapNodes=function(){return this._chainParams.bootstrapNodes},T.prototype.dnsNetworks=function(){return this._chainParams.dnsNetworks},T.prototype.hardfork=function(){return this._hardfork},T.prototype.chainId=function(){return(0,a.toType)(this.chainIdBN(),a.TypeOutput.Number)},T.prototype.chainIdBN=function(){return new a.BN(this._chainParams.chainId)},T.prototype.chainName=function(){return this._chainParams.name},T.prototype.networkId=function(){return(0,a.toType)(this.networkIdBN(),a.TypeOutput.Number)},T.prototype.networkIdBN=function(){return new a.BN(this._chainParams.networkId)},T.prototype.eips=function(){return this._eips},T.prototype.consensusType=function(){var S,E,k,I=this.hardfork();try{for(var N=s(b.hardforks),D=N.next();!D.done;D=N.next()){var L=D.value;if("consensus"in L[1]&&(k=L[1].consensus.type),L[0]===I)break}}catch(m){S={error:m}}finally{try{D&&!D.done&&(E=N.return)&&E.call(N)}finally{if(S)throw S.error}}return k||this._chainParams.consensus.type},T.prototype.consensusAlgorithm=function(){var S,E,k,I=this.hardfork();try{for(var N=s(b.hardforks),D=N.next();!D.done;D=N.next()){var L=D.value;if("consensus"in L[1]&&(k=L[1].consensus.algorithm),L[0]===I)break}}catch(m){S={error:m}}finally{try{D&&!D.done&&(E=N.return)&&E.call(N)}finally{if(S)throw S.error}}return k||this._chainParams.consensus.algorithm},T.prototype.consensusConfig=function(){var S,E,k,I=this.hardfork();try{for(var N=s(b.hardforks),D=N.next();!D.done;D=N.next()){var L=D.value;if("consensus"in L[1]&&(k=L[1].consensus[L[1].consensus.algorithm]),L[0]===I)break}}catch(P){S={error:P}}finally{try{D&&!D.done&&(E=N.return)&&E.call(N)}finally{if(S)throw S.error}}if(k)return k;var m=this.consensusAlgorithm();return this._chainParams.consensus[m]},T.prototype.copy=function(){return Object.assign(Object.create(Object.getPrototypeOf(this)),this)},T}(r.EventEmitter);y.default=g},4383:(R,y,c)=>{var h=Object.create?function(e,u,n,i){i===void 0&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return u[n]}})}:function(e,u,n,i){i===void 0&&(i=n),e[i]=u[n]},v=Object.create?function(e,u){Object.defineProperty(e,"default",{enumerable:!0,value:u})}:function(e,u){e.default=u},p=function(e,u){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(u===void 0||u-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(d){r={error:d}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};Object.defineProperty(y,"__esModule",{value:!0}),y.BaseTransaction=void 0;var l=function(e){if(e&&e.__esModule)return e;var u={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&h(u,e,n);return v(u,e),u}(c(3863)),t=c(3062),s=c(7325),f=function(){function e(u){this.cache={hash:void 0},this.activeCapabilities=[],this.DEFAULT_CHAIN=l.Chain.Mainnet,this.DEFAULT_HARDFORK=l.Hardfork.Istanbul;var n=u.nonce,i=u.gasLimit,r=u.to,o=u.value,a=u.data,d=u.v,b=u.r,w=u.s,g=u.type;this._type=new t.BN((0,t.toBuffer)(g)).toNumber();var A=(0,t.toBuffer)(r===""?"0x":r),T=(0,t.toBuffer)(d===""?"0x":d),S=(0,t.toBuffer)(b===""?"0x":b),E=(0,t.toBuffer)(w===""?"0x":w);this.nonce=new t.BN((0,t.toBuffer)(n===""?"0x":n)),this.gasLimit=new t.BN((0,t.toBuffer)(i===""?"0x":i)),this.to=A.length>0?new t.Address(A):void 0,this.value=new t.BN((0,t.toBuffer)(o===""?"0x":o)),this.data=(0,t.toBuffer)(a===""?"0x":a),this.v=T.length>0?new t.BN(T):void 0,this.r=S.length>0?new t.BN(S):void 0,this.s=E.length>0?new t.BN(E):void 0,this._validateCannotExceedMaxInteger({nonce:this.nonce,gasLimit:this.gasLimit,value:this.value,r:this.r,s:this.s})}return Object.defineProperty(e.prototype,"transactionType",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),e.prototype.supports=function(u){return this.activeCapabilities.includes(u)},e.prototype.validate=function(u){u===void 0&&(u=!1);var n=[];return this.getBaseFee().gt(this.gasLimit)&&n.push("gasLimit is too low. given "+this.gasLimit+", need at least "+this.getBaseFee()),this.isSigned()&&!this.verifySignature()&&n.push("Invalid Signature"),u?n:n.length===0},e.prototype.getBaseFee=function(){var u=this.getDataFee().addn(this.common.param("gasPrices","tx"));return this.common.gteHardfork("homestead")&&this.toCreationAddress()&&u.iaddn(this.common.param("gasPrices","txCreation")),u},e.prototype.getDataFee=function(){for(var u=this.common.param("gasPrices","txDataZero"),n=this.common.param("gasPrices","txDataNonZero"),i=0,r=0;r<this.data.length;r++)this.data[r]===0?i+=u:i+=n;return new t.BN(i)},e.prototype.toCreationAddress=function(){return this.to===void 0||this.to.buf.length===0},e.prototype.isSigned=function(){var u=this,n=u.v,i=u.r,r=u.s;return this.type===0?!!(n&&i&&r):!(n===void 0||!i||!r)},e.prototype.verifySignature=function(){try{var u=this.getSenderPublicKey();return(0,t.unpadBuffer)(u).length!==0}catch{return!1}},e.prototype.getSenderAddress=function(){return new t.Address((0,t.publicToAddress)(this.getSenderPublicKey()))},e.prototype.sign=function(u){if(u.length!==32)throw new Error("Private key must be 32 bytes in length.");var n=!1;this.type===0&&this.common.gteHardfork("spuriousDragon")&&!this.supports(s.Capability.EIP155ReplayProtection)&&(this.activeCapabilities.push(s.Capability.EIP155ReplayProtection),n=!0);var i=this.getMessageToSign(!0),r=(0,t.ecsign)(i,u),o=r.v,a=r.r,d=r.s,b=this._processSignature(o,a,d);if(n){var w=this.activeCapabilities.indexOf(s.Capability.EIP155ReplayProtection);w>-1&&this.activeCapabilities.splice(w,1)}return b},e.prototype._getCommon=function(u,n){var i;if(n){var r=new t.BN((0,t.toBuffer)(n));if(u){if(!u.chainIdBN().eq(r))throw new Error("The chain ID does not match the chain ID of Common");return u.copy()}return l.default.isSupportedChainId(r)?new l.default({chain:r,hardfork:this.DEFAULT_HARDFORK}):l.default.forCustomChain(this.DEFAULT_CHAIN,{name:"custom-chain",networkId:r,chainId:r},this.DEFAULT_HARDFORK)}return(i=u==null?void 0:u.copy())!==null&&i!==void 0?i:new l.default({chain:this.DEFAULT_CHAIN,hardfork:this.DEFAULT_HARDFORK})},e.prototype._validateCannotExceedMaxInteger=function(u,n){var i,r;n===void 0&&(n=53);try{for(var o=function(g){var A=typeof Symbol=="function"&&Symbol.iterator,T=A&&g[A],S=0;if(T)return T.call(g);if(g&&typeof g.length=="number")return{next:function(){return g&&S>=g.length&&(g=void 0),{value:g&&g[S++],done:!g}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(u)),a=o.next();!a.done;a=o.next()){var d=p(a.value,2),b=d[0],w=d[1];if(n===53){if(w!=null&&w.gt(t.MAX_INTEGER))throw new Error(b+" cannot exceed MAX_INTEGER, given "+w)}else{if(n!==256)throw new Error("unimplemented bits value");if(w!=null&&w.gte(t.TWO_POW256))throw new Error(b+" must be less than 2^256, given "+w)}}}catch(g){i={error:g}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}},e}();y.BaseTransaction=f},660:(R,y,c)=>{var h,v=c(9033).Buffer,p=(h=function(i,r){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])},h(i,r)},function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=i}h(i,r),i.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}),l=function(){return l=Object.assign||function(i){for(var r,o=1,a=arguments.length;o<a;o++)for(var d in r=arguments[o])Object.prototype.hasOwnProperty.call(r,d)&&(i[d]=r[d]);return i},l.apply(this,arguments)};Object.defineProperty(y,"__esModule",{value:!0});var t=c(3062),s=c(4383),f=c(7325),e=c(3789),u=v.from(2 .toString(16).padStart(2,"0"),"hex"),n=function(i){function r(o,a){var d,b;a===void 0&&(a={});var w=i.call(this,l(l({},o),{type:2}))||this;w.DEFAULT_HARDFORK="london";var g=o.chainId,A=o.accessList,T=o.maxFeePerGas,S=o.maxPriorityFeePerGas;if(w.common=w._getCommon(a.common,g),w.chainId=w.common.chainIdBN(),!w.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");w.activeCapabilities=w.activeCapabilities.concat([1559,2718,2930]);var E=e.AccessLists.getAccessListData(A??[]);if(w.accessList=E.accessList,w.AccessListJSON=E.AccessListJSON,e.AccessLists.verifyAccessList(w.accessList),w.maxFeePerGas=new t.BN((0,t.toBuffer)(T===""?"0x":T)),w.maxPriorityFeePerGas=new t.BN((0,t.toBuffer)(S===""?"0x":S)),w._validateCannotExceedMaxInteger({maxFeePerGas:w.maxFeePerGas,maxPriorityFeePerGas:w.maxPriorityFeePerGas},256),w.maxFeePerGas.lt(w.maxPriorityFeePerGas))throw new Error("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");if(w.v&&!w.v.eqn(0)&&!w.v.eqn(1))throw new Error("The y-parity of the transaction should either be 0 or 1");if(w.common.gteHardfork("homestead")&&(!((d=w.s)===null||d===void 0)&&d.gt(f.N_DIV_2)))throw new Error("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");return((b=a==null?void 0:a.freeze)===null||b===void 0||b)&&Object.freeze(w),w}return p(r,i),Object.defineProperty(r.prototype,"senderR",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"senderS",{get:function(){return this.s},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yParity",{get:function(){return this.v},enumerable:!1,configurable:!0}),r.fromTxData=function(o,a){return a===void 0&&(a={}),new r(o,a)},r.fromSerializedTx=function(o,a){if(a===void 0&&(a={}),!o.slice(0,1).equals(u))throw new Error("Invalid serialized tx input: not an EIP-1559 transaction (wrong tx type, expected: 2, received: "+o.slice(0,1).toString("hex"));var d=t.rlp.decode(o.slice(1));if(!Array.isArray(d))throw new Error("Invalid serialized tx input: must be array");return r.fromValuesArray(d,a)},r.fromRlpSerializedTx=function(o,a){return a===void 0&&(a={}),r.fromSerializedTx(o,a)},r.fromValuesArray=function(o,a){if(a===void 0&&(a={}),o.length!==9&&o.length!==12)throw new Error("Invalid EIP-1559 transaction. Only expecting 9 values (for unsigned tx) or 12 values (for signed tx).");var d=function(m,P){var C=typeof Symbol=="function"&&m[Symbol.iterator];if(!C)return m;var B,x,j=C.call(m),K=[];try{for(;(P===void 0||P-- >0)&&!(B=j.next()).done;)K.push(B.value)}catch(V){x={error:V}}finally{try{B&&!B.done&&(C=j.return)&&C.call(j)}finally{if(x)throw x.error}}return K}(o,12),b=d[0],w=d[1],g=d[2],A=d[3],T=d[4],S=d[5],E=d[6],k=d[7],I=d[8],N=d[9],D=d[10],L=d[11];return new r({chainId:new t.BN(b),nonce:w,maxPriorityFeePerGas:g,maxFeePerGas:A,gasLimit:T,to:S,value:E,data:k,accessList:I??[],v:N!==void 0?new t.BN(N):void 0,r:D,s:L},a)},r.prototype.getDataFee=function(){var o=i.prototype.getDataFee.call(this);return o.iaddn(e.AccessLists.getDataFeeEIP2930(this.accessList,this.common)),o},r.prototype.getUpfrontCost=function(o){o===void 0&&(o=new t.BN(0));var a=t.BN.min(this.maxPriorityFeePerGas,this.maxFeePerGas.sub(o)).add(o);return this.gasLimit.mul(a).add(this.value)},r.prototype.raw=function(){return[(0,t.bnToUnpaddedBuffer)(this.chainId),(0,t.bnToUnpaddedBuffer)(this.nonce),(0,t.bnToUnpaddedBuffer)(this.maxPriorityFeePerGas),(0,t.bnToUnpaddedBuffer)(this.maxFeePerGas),(0,t.bnToUnpaddedBuffer)(this.gasLimit),this.to!==void 0?this.to.buf:v.from([]),(0,t.bnToUnpaddedBuffer)(this.value),this.data,this.accessList,this.v!==void 0?(0,t.bnToUnpaddedBuffer)(this.v):v.from([]),this.r!==void 0?(0,t.bnToUnpaddedBuffer)(this.r):v.from([]),this.s!==void 0?(0,t.bnToUnpaddedBuffer)(this.s):v.from([])]},r.prototype.serialize=function(){var o=this.raw();return v.concat([u,t.rlp.encode(o)])},r.prototype.getMessageToSign=function(o){o===void 0&&(o=!0);var a=this.raw().slice(0,9),d=v.concat([u,t.rlp.encode(a)]);return o?(0,t.keccak256)(d):d},r.prototype.hash=function(){if(!this.isSigned())throw new Error("Cannot call hash method if transaction is not signed");return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,t.keccak256)(this.serialize())),this.cache.hash):(0,t.keccak256)(this.serialize())},r.prototype.getMessageToVerifySignature=function(){return this.getMessageToSign()},r.prototype.getSenderPublicKey=function(){var o;if(!this.isSigned())throw new Error("Cannot call this method if transaction is not signed");var a=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(!((o=this.s)===null||o===void 0)&&o.gt(f.N_DIV_2)))throw new Error("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");var d=this,b=d.v,w=d.r,g=d.s;try{return(0,t.ecrecover)(a,b.addn(27),(0,t.bnToUnpaddedBuffer)(w),(0,t.bnToUnpaddedBuffer)(g))}catch{throw new Error("Invalid Signature")}},r.prototype._processSignature=function(o,a,d){var b={common:this.common};return r.fromTxData({chainId:this.chainId,nonce:this.nonce,maxPriorityFeePerGas:this.maxPriorityFeePerGas,maxFeePerGas:this.maxFeePerGas,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:new t.BN(o-27),r:new t.BN(a),s:new t.BN(d)},b)},r.prototype.toJSON=function(){var o=e.AccessLists.getAccessListJSON(this.accessList);return{chainId:(0,t.bnToHex)(this.chainId),nonce:(0,t.bnToHex)(this.nonce),maxPriorityFeePerGas:(0,t.bnToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,t.bnToHex)(this.maxFeePerGas),gasLimit:(0,t.bnToHex)(this.gasLimit),to:this.to!==void 0?this.to.toString():void 0,value:(0,t.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),accessList:o,v:this.v!==void 0?(0,t.bnToHex)(this.v):void 0,r:this.r!==void 0?(0,t.bnToHex)(this.r):void 0,s:this.s!==void 0?(0,t.bnToHex)(this.s):void 0}},r}(s.BaseTransaction);y.default=n},7613:(R,y,c)=>{var h,v=c(9033).Buffer,p=(h=function(i,r){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])},h(i,r)},function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=i}h(i,r),i.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}),l=function(){return l=Object.assign||function(i){for(var r,o=1,a=arguments.length;o<a;o++)for(var d in r=arguments[o])Object.prototype.hasOwnProperty.call(r,d)&&(i[d]=r[d]);return i},l.apply(this,arguments)};Object.defineProperty(y,"__esModule",{value:!0});var t=c(3062),s=c(4383),f=c(7325),e=c(3789),u=v.from(1 .toString(16).padStart(2,"0"),"hex"),n=function(i){function r(o,a){var d,b;a===void 0&&(a={});var w=i.call(this,l(l({},o),{type:1}))||this;w.DEFAULT_HARDFORK="berlin";var g=o.chainId,A=o.accessList,T=o.gasPrice;if(w.common=w._getCommon(a.common,g),w.chainId=w.common.chainIdBN(),!w.common.isActivatedEIP(2930))throw new Error("EIP-2930 not enabled on Common");w.activeCapabilities=w.activeCapabilities.concat([2718,2930]);var S=e.AccessLists.getAccessListData(A??[]);if(w.accessList=S.accessList,w.AccessListJSON=S.AccessListJSON,e.AccessLists.verifyAccessList(w.accessList),w.gasPrice=new t.BN((0,t.toBuffer)(T===""?"0x":T)),w._validateCannotExceedMaxInteger({gasPrice:w.gasPrice}),w.v&&!w.v.eqn(0)&&!w.v.eqn(1))throw new Error("The y-parity of the transaction should either be 0 or 1");if(w.common.gteHardfork("homestead")&&(!((d=w.s)===null||d===void 0)&&d.gt(f.N_DIV_2)))throw new Error("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");return((b=a==null?void 0:a.freeze)===null||b===void 0||b)&&Object.freeze(w),w}return p(r,i),Object.defineProperty(r.prototype,"senderR",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"senderS",{get:function(){return this.s},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yParity",{get:function(){return this.v},enumerable:!1,configurable:!0}),r.fromTxData=function(o,a){return a===void 0&&(a={}),new r(o,a)},r.fromSerializedTx=function(o,a){if(a===void 0&&(a={}),!o.slice(0,1).equals(u))throw new Error("Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: 1, received: "+o.slice(0,1).toString("hex"));var d=t.rlp.decode(o.slice(1));if(!Array.isArray(d))throw new Error("Invalid serialized tx input: must be array");return r.fromValuesArray(d,a)},r.fromRlpSerializedTx=function(o,a){return a===void 0&&(a={}),r.fromSerializedTx(o,a)},r.fromValuesArray=function(o,a){if(a===void 0&&(a={}),o.length!==8&&o.length!==11)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");var d=function(L,m){var P=typeof Symbol=="function"&&L[Symbol.iterator];if(!P)return L;var C,B,x=P.call(L),j=[];try{for(;(m===void 0||m-- >0)&&!(C=x.next()).done;)j.push(C.value)}catch(K){B={error:K}}finally{try{C&&!C.done&&(P=x.return)&&P.call(x)}finally{if(B)throw B.error}}return j}(o,11),b=d[0],w=d[1],g=d[2],A=d[3],T=d[4],S=d[5],E=d[6],k=d[7],I=d[8],N=d[9],D=d[10];return new r({chainId:new t.BN(b),nonce:w,gasPrice:g,gasLimit:A,to:T,value:S,data:E,accessList:k??[],v:I!==void 0?new t.BN(I):void 0,r:N,s:D},a)},r.prototype.getDataFee=function(){var o=i.prototype.getDataFee.call(this);return o.iaddn(e.AccessLists.getDataFeeEIP2930(this.accessList,this.common)),o},r.prototype.getUpfrontCost=function(){return this.gasLimit.mul(this.gasPrice).add(this.value)},r.prototype.raw=function(){return[(0,t.bnToUnpaddedBuffer)(this.chainId),(0,t.bnToUnpaddedBuffer)(this.nonce),(0,t.bnToUnpaddedBuffer)(this.gasPrice),(0,t.bnToUnpaddedBuffer)(this.gasLimit),this.to!==void 0?this.to.buf:v.from([]),(0,t.bnToUnpaddedBuffer)(this.value),this.data,this.accessList,this.v!==void 0?(0,t.bnToUnpaddedBuffer)(this.v):v.from([]),this.r!==void 0?(0,t.bnToUnpaddedBuffer)(this.r):v.from([]),this.s!==void 0?(0,t.bnToUnpaddedBuffer)(this.s):v.from([])]},r.prototype.serialize=function(){var o=this.raw();return v.concat([u,t.rlp.encode(o)])},r.prototype.getMessageToSign=function(o){o===void 0&&(o=!0);var a=this.raw().slice(0,8),d=v.concat([u,t.rlp.encode(a)]);return o?(0,t.keccak256)(d):d},r.prototype.hash=function(){if(!this.isSigned())throw new Error("Cannot call hash method if transaction is not signed");return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,t.keccak256)(this.serialize())),this.cache.hash):(0,t.keccak256)(this.serialize())},r.prototype.getMessageToVerifySignature=function(){return this.getMessageToSign()},r.prototype.getSenderPublicKey=function(){var o;if(!this.isSigned())throw new Error("Cannot call this method if transaction is not signed");var a=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(!((o=this.s)===null||o===void 0)&&o.gt(f.N_DIV_2)))throw new Error("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");var d=this,b=d.yParity,w=d.r,g=d.s;try{return(0,t.ecrecover)(a,b.addn(27),(0,t.bnToUnpaddedBuffer)(w),(0,t.bnToUnpaddedBuffer)(g))}catch{throw new Error("Invalid Signature")}},r.prototype._processSignature=function(o,a,d){var b={common:this.common};return r.fromTxData({chainId:this.chainId,nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:new t.BN(o-27),r:new t.BN(a),s:new t.BN(d)},b)},r.prototype.toJSON=function(){var o=e.AccessLists.getAccessListJSON(this.accessList);return{chainId:(0,t.bnToHex)(this.chainId),nonce:(0,t.bnToHex)(this.nonce),gasPrice:(0,t.bnToHex)(this.gasPrice),gasLimit:(0,t.bnToHex)(this.gasLimit),to:this.to!==void 0?this.to.toString():void 0,value:(0,t.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),accessList:o,v:this.v!==void 0?(0,t.bnToHex)(this.v):void 0,r:this.r!==void 0?(0,t.bnToHex)(this.r):void 0,s:this.s!==void 0?(0,t.bnToHex)(this.s):void 0}},r}(s.BaseTransaction);y.default=n},2339:(R,y,c)=>{var h=Object.create?function(f,e,u,n){n===void 0&&(n=u),Object.defineProperty(f,n,{enumerable:!0,get:function(){return e[u]}})}:function(f,e,u,n){n===void 0&&(n=u),f[n]=e[u]},v=function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(y,"__esModule",{value:!0}),y.FeeMarketEIP1559Transaction=y.TransactionFactory=y.AccessListEIP2930Transaction=y.Transaction=void 0;var p=c(3088);Object.defineProperty(y,"Transaction",{enumerable:!0,get:function(){return v(p).default}});var l=c(7613);Object.defineProperty(y,"AccessListEIP2930Transaction",{enumerable:!0,get:function(){return v(l).default}});var t=c(9562);Object.defineProperty(y,"TransactionFactory",{enumerable:!0,get:function(){return v(t).default}});var s=c(660);Object.defineProperty(y,"FeeMarketEIP1559Transaction",{enumerable:!0,get:function(){return v(s).default}}),function(f,e){for(var u in f)u==="default"||Object.prototype.hasOwnProperty.call(e,u)||h(e,f,u)}(c(7325),y)},3088:(R,y,c)=>{var h,v=c(9033).Buffer,p=(h=function(e,u){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},h(e,u)},function(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function n(){this.constructor=e}h(e,u),e.prototype=u===null?Object.create(u):(n.prototype=u.prototype,new n)}),l=function(){return l=Object.assign||function(e){for(var u,n=1,i=arguments.length;n<i;n++)for(var r in u=arguments[n])Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);return e},l.apply(this,arguments)};Object.defineProperty(y,"__esModule",{value:!0});var t=c(3062),s=c(7325),f=function(e){function u(n,i){var r;i===void 0&&(i={});var o=e.call(this,l(l({},n),{type:0}))||this;if(o.common=o._validateTxV(o.v,i.common),o.gasPrice=new t.BN((0,t.toBuffer)(n.gasPrice===""?"0x":n.gasPrice)),o._validateCannotExceedMaxInteger({gasPrice:o.gasPrice}),o.common.gteHardfork("spuriousDragon"))if(o.isSigned()){var a=o.v,d=o.common.chainIdBN().muln(2);(a.eq(d.addn(35))||a.eq(d.addn(36)))&&o.activeCapabilities.push(s.Capability.EIP155ReplayProtection)}else o.activeCapabilities.push(s.Capability.EIP155ReplayProtection);return((r=i==null?void 0:i.freeze)===null||r===void 0||r)&&Object.freeze(o),o}return p(u,e),u.fromTxData=function(n,i){return i===void 0&&(i={}),new u(n,i)},u.fromSerializedTx=function(n,i){i===void 0&&(i={});var r=t.rlp.decode(n);if(!Array.isArray(r))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(r,i)},u.fromRlpSerializedTx=function(n,i){return i===void 0&&(i={}),u.fromSerializedTx(n,i)},u.fromValuesArray=function(n,i){if(i===void 0&&(i={}),n.length!==6&&n.length!==9)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");var r=function(o,a){var d=typeof Symbol=="function"&&o[Symbol.iterator];if(!d)return o;var b,w,g=d.call(o),A=[];try{for(;(a===void 0||a-- >0)&&!(b=g.next()).done;)A.push(b.value)}catch(T){w={error:T}}finally{try{b&&!b.done&&(d=g.return)&&d.call(g)}finally{if(w)throw w.error}}return A}(n,9);return new u({nonce:r[0],gasPrice:r[1],gasLimit:r[2],to:r[3],value:r[4],data:r[5],v:r[6],r:r[7],s:r[8]},i)},u.prototype.raw=function(){return[(0,t.bnToUnpaddedBuffer)(this.nonce),(0,t.bnToUnpaddedBuffer)(this.gasPrice),(0,t.bnToUnpaddedBuffer)(this.gasLimit),this.to!==void 0?this.to.buf:v.from([]),(0,t.bnToUnpaddedBuffer)(this.value),this.data,this.v!==void 0?(0,t.bnToUnpaddedBuffer)(this.v):v.from([]),this.r!==void 0?(0,t.bnToUnpaddedBuffer)(this.r):v.from([]),this.s!==void 0?(0,t.bnToUnpaddedBuffer)(this.s):v.from([])]},u.prototype.serialize=function(){return t.rlp.encode(this.raw())},u.prototype._getMessageToSign=function(){var n=[(0,t.bnToUnpaddedBuffer)(this.nonce),(0,t.bnToUnpaddedBuffer)(this.gasPrice),(0,t.bnToUnpaddedBuffer)(this.gasLimit),this.to!==void 0?this.to.buf:v.from([]),(0,t.bnToUnpaddedBuffer)(this.value),this.data];return this.supports(s.Capability.EIP155ReplayProtection)&&(n.push((0,t.toBuffer)(this.common.chainIdBN())),n.push((0,t.unpadBuffer)((0,t.toBuffer)(0))),n.push((0,t.unpadBuffer)((0,t.toBuffer)(0)))),n},u.prototype.getMessageToSign=function(n){n===void 0&&(n=!0);var i=this._getMessageToSign();return n?(0,t.rlphash)(i):i},u.prototype.getUpfrontCost=function(){return this.gasLimit.mul(this.gasPrice).add(this.value)},u.prototype.hash=function(){return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,t.rlphash)(this.raw())),this.cache.hash):(0,t.rlphash)(this.raw())},u.prototype.getMessageToVerifySignature=function(){if(!this.isSigned())throw Error("This transaction is not signed");var n=this._getMessageToSign();return(0,t.rlphash)(n)},u.prototype.getSenderPublicKey=function(){var n,i=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(!((n=this.s)===null||n===void 0)&&n.gt(s.N_DIV_2)))throw new Error("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");var r=this,o=r.v,a=r.r,d=r.s;try{return(0,t.ecrecover)(i,o,(0,t.bnToUnpaddedBuffer)(a),(0,t.bnToUnpaddedBuffer)(d),this.supports(s.Capability.EIP155ReplayProtection)?this.common.chainIdBN():void 0)}catch{throw new Error("Invalid Signature")}},u.prototype._processSignature=function(n,i,r){var o=new t.BN(n);this.supports(s.Capability.EIP155ReplayProtection)&&o.iadd(this.common.chainIdBN().muln(2).addn(8));var a={common:this.common};return u.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:o,r:new t.BN(i),s:new t.BN(r)},a)},u.prototype.toJSON=function(){return{nonce:(0,t.bnToHex)(this.nonce),gasPrice:(0,t.bnToHex)(this.gasPrice),gasLimit:(0,t.bnToHex)(this.gasLimit),to:this.to!==void 0?this.to.toString():void 0,value:(0,t.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),v:this.v!==void 0?(0,t.bnToHex)(this.v):void 0,r:this.r!==void 0?(0,t.bnToHex)(this.r):void 0,s:this.s!==void 0?(0,t.bnToHex)(this.s):void 0}},u.prototype._validateTxV=function(n,i){var r;if(n!==void 0&&!n.eqn(0)&&(!i||i.gteHardfork("spuriousDragon"))&&!n.eqn(27)&&!n.eqn(28))if(i){var o=i.chainIdBN().muln(2);if(!n.eq(o.addn(35))&&!n.eq(o.addn(36)))throw new Error("Incompatible EIP155-based V "+n.toString()+" and chain id "+i.chainIdBN().toString()+". See the Common parameter of the Transaction constructor to set the chain id.")}else{var a;a=n.subn(35).isEven()?35:36,r=n.subn(a).divn(2)}return this._getCommon(i,r)},u.prototype._unsignedTxImplementsEIP155=function(){return this.common.gteHardfork("spuriousDragon")},u.prototype._signedTxImplementsEIP155=function(){if(!this.isSigned())throw Error("This transaction is not signed");var n=this.common.gteHardfork("spuriousDragon"),i=this.v,r=this.common.chainIdBN().muln(2);return(i.eq(r.addn(35))||i.eq(r.addn(36)))&&n},u}(c(4383).BaseTransaction);y.default=f},9562:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0});var v=c(3062),p=c(2339),l=function(){function t(){}return t.fromTxData=function(s,f){if(f===void 0&&(f={}),"type"in s&&s.type!==void 0){var e=new v.BN((0,v.toBuffer)(s.type)).toNumber();if(e===0)return p.Transaction.fromTxData(s,f);if(e===1)return p.AccessListEIP2930Transaction.fromTxData(s,f);if(e===2)return p.FeeMarketEIP1559Transaction.fromTxData(s,f);throw new Error("Tx instantiation with type "+e+" not supported")}return p.Transaction.fromTxData(s,f)},t.fromSerializedData=function(s,f){if(f===void 0&&(f={}),s[0]<=127){var e=void 0;switch(s[0]){case 1:e=2930;break;case 2:e=1559;break;default:throw new Error("TypedTransaction with ID "+s[0]+" unknown")}return e===1559?p.FeeMarketEIP1559Transaction.fromSerializedTx(s,f):p.AccessListEIP2930Transaction.fromSerializedTx(s,f)}return p.Transaction.fromSerializedTx(s,f)},t.fromBlockBodyData=function(s,f){if(f===void 0&&(f={}),h.isBuffer(s))return this.fromSerializedData(s,f);if(Array.isArray(s))return p.Transaction.fromValuesArray(s,f);throw new Error("Cannot decode transaction: unknown type input")},t.getTransactionClass=function(s,f){if(s===void 0&&(s=0),s==0||s>=128&&s<=255)return p.Transaction;switch(s){case 1:return p.AccessListEIP2930Transaction;case 2:return p.FeeMarketEIP1559Transaction;default:throw new Error("TypedTransaction with ID "+s+" unknown")}},t}();y.default=l},7325:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.N_DIV_2=y.isAccessList=y.isAccessListBuffer=y.Capability=void 0;var h,v=c(3062);function p(l){if(l.length===0)return!0;var t=l[0];return!!Array.isArray(t)}(h=y.Capability||(y.Capability={}))[h.EIP155ReplayProtection=155]="EIP155ReplayProtection",h[h.EIP1559FeeMarket=1559]="EIP1559FeeMarket",h[h.EIP2718TypedTransaction=2718]="EIP2718TypedTransaction",h[h.EIP2930AccessLists=2930]="EIP2930AccessLists",y.isAccessListBuffer=p,y.isAccessList=function(l){return!p(l)},y.N_DIV_2=new v.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16)},3789:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.AccessLists=void 0;var h=c(3062),v=c(7325),p=function(){function l(){}return l.getAccessListData=function(t){var s,f;if(t&&(0,v.isAccessList)(t)){s=t;for(var e=[],u=0;u<t.length;u++){for(var n=t[u],i=(0,h.toBuffer)(n.address),r=[],o=0;o<n.storageKeys.length;o++)r.push((0,h.toBuffer)(n.storageKeys[o]));e.push([i,r])}f=e}else{f=t??[];var a=[];for(u=0;u<f.length;u++){var d=f[u],b=(0,h.bufferToHex)(d[0]),w=[];for(n=0;n<d[1].length;n++)w.push((0,h.bufferToHex)(d[1][n]));var g={address:b,storageKeys:w};a.push(g)}s=a}return{AccessListJSON:s,accessList:f}},l.verifyAccessList=function(t){for(var s=0;s<t.length;s++){var f=t[s],e=f[0],u=f[1];if(f[2]!==void 0)throw new Error("Access list item cannot have 3 elements. It can only have an address, and an array of storage slots.");if(e.length!=20)throw new Error("Invalid EIP-2930 transaction: address length should be 20 bytes");for(var n=0;n<u.length;n++)if(u[n].length!=32)throw new Error("Invalid EIP-2930 transaction: storage slot length should be 32 bytes")}},l.getAccessListJSON=function(t){for(var s=[],f=0;f<t.length;f++){for(var e=t[f],u={address:"0x"+(0,h.setLengthLeft)(e[0],20).toString("hex"),storageKeys:[]},n=e[1],i=0;i<n.length;i++){var r=n[i];u.storageKeys.push("0x"+(0,h.setLengthLeft)(r,32).toString("hex"))}s.push(u)}return s},l.getDataFeeEIP2930=function(t,s){for(var f=s.param("gasPrices","accessListStorageKeyCost"),e=s.param("gasPrices","accessListAddressCost"),u=0,n=0;n<t.length;n++)u+=t[n][1].length;return t.length*e+u*f},l}();y.AccessLists=p},8067:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="abi/5.7.0"},4937:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.defaultAbiCoder=y.AbiCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=c(908),t=c(3694),s=c(4327),f=c(8067),e=c(7316),u=c(9146),n=c(4341),i=c(24),r=c(3861),o=c(28),a=c(4522),d=c(8287),b=c(8040),w=c(2010),g=c(800),A=new s.Logger(f.version),T=new RegExp(/^bytes([0-9]*)$/),S=new RegExp(/^(u?int)([0-9]*)$/),E=function(){function I(N){(0,v.default)(this,I),(0,t.defineReadOnly)(this,"coerceFunc",N||null)}return(0,p.default)(I,[{key:"_getCoder",value:function(N){var D=this;switch(N.baseType){case"address":return new u.AddressCoder(N.name);case"bool":return new i.BooleanCoder(N.name);case"string":return new b.StringCoder(N.name);case"bytes":return new r.BytesCoder(N.name);case"array":return new n.ArrayCoder(this._getCoder(N.arrayChildren),N.arrayLength,N.name);case"tuple":return new w.TupleCoder((N.components||[]).map(function(C){return D._getCoder(C)}),N.name);case"":return new a.NullCoder(N.name)}var L=N.type.match(S);if(L){var m=parseInt(L[2]||"256");return(m===0||m>256||m%8!=0)&&A.throwArgumentError("invalid "+L[1]+" bit length","param",N),new d.NumberCoder(m/8,L[1]==="int",N.name)}if(L=N.type.match(T)){var P=parseInt(L[1]);return(P===0||P>32)&&A.throwArgumentError("invalid bytes length","param",N),new o.FixedBytesCoder(P,N.name)}return A.throwArgumentError("invalid type","type",N.type)}},{key:"_getWordSize",value:function(){return 32}},{key:"_getReader",value:function(N,D){return new e.Reader(N,this._getWordSize(),this.coerceFunc,D)}},{key:"_getWriter",value:function(){return new e.Writer(this._getWordSize())}},{key:"getDefaultValue",value:function(N){var D=this,L=N.map(function(m){return D._getCoder(g.ParamType.from(m))});return new w.TupleCoder(L,"_").defaultValue()}},{key:"encode",value:function(N,D){var L=this;N.length!==D.length&&A.throwError("types/values length mismatch",s.Logger.errors.INVALID_ARGUMENT,{count:{types:N.length,values:D.length},value:{types:N,values:D}});var m=N.map(function(B){return L._getCoder(g.ParamType.from(B))}),P=new w.TupleCoder(m,"_"),C=this._getWriter();return P.encode(C,D),C.data}},{key:"decode",value:function(N,D,L){var m=this,P=N.map(function(C){return m._getCoder(g.ParamType.from(C))});return new w.TupleCoder(P,"_").decode(this._getReader((0,l.arrayify)(D),L))}}]),I}();y.AbiCoder=E;var k=new E;y.defaultAbiCoder=k},7316:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.Writer=y.Reader=y.Coder=void 0,y.checkResultErrors=function(o){var a=[];return function d(b,w){if(Array.isArray(w))for(var g in w){var A=b.slice();A.push(g);try{d(A,w[g])}catch(T){a.push({path:A,error:T})}}}([],o),a};var v=h(c(9721)),p=h(c(8985)),l=c(908),t=c(4952),s=c(3694),f=c(4327),e=c(8067),u=new f.Logger(e.version),n=function(){function o(a,d,b,w){(0,v.default)(this,o),this.name=a,this.type=d,this.localName=b,this.dynamic=w}return(0,p.default)(o,[{key:"_throwError",value:function(a,d){u.throwArgumentError(a,this.localName,d)}}]),o}();y.Coder=n;var i=function(){function o(a){(0,v.default)(this,o),(0,s.defineReadOnly)(this,"wordSize",a||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(a)}return(0,p.default)(o,[{key:"data",get:function(){return(0,l.hexConcat)(this._data)}},{key:"length",get:function(){return this._dataLength}},{key:"_writeData",value:function(a){return this._data.push(a),this._dataLength+=a.length,a.length}},{key:"appendWriter",value:function(a){return this._writeData((0,l.concat)(a._data))}},{key:"writeBytes",value:function(a){var d=(0,l.arrayify)(a),b=d.length%this.wordSize;return b&&(d=(0,l.concat)([d,this._padding.slice(b)])),this._writeData(d)}},{key:"_getValue",value:function(a){var d=(0,l.arrayify)(t.BigNumber.from(a));return d.length>this.wordSize&&u.throwError("value out-of-bounds",f.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:d.length}),d.length%this.wordSize&&(d=(0,l.concat)([this._padding.slice(d.length%this.wordSize),d])),d}},{key:"writeValue",value:function(a){return this._writeData(this._getValue(a))}},{key:"writeUpdatableValue",value:function(){var a=this,d=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(b){a._data[d]=a._getValue(b)}}}]),o}();y.Writer=i;var r=function(){function o(a,d,b,w){(0,v.default)(this,o),(0,s.defineReadOnly)(this,"_data",(0,l.arrayify)(a)),(0,s.defineReadOnly)(this,"wordSize",d||32),(0,s.defineReadOnly)(this,"_coerceFunc",b),(0,s.defineReadOnly)(this,"allowLoose",w),this._offset=0}return(0,p.default)(o,[{key:"data",get:function(){return(0,l.hexlify)(this._data)}},{key:"consumed",get:function(){return this._offset}},{key:"coerce",value:function(a,d){return this._coerceFunc?this._coerceFunc(a,d):o.coerce(a,d)}},{key:"_peekBytes",value:function(a,d,b){var w=Math.ceil(d/this.wordSize)*this.wordSize;return this._offset+w>this._data.length&&(this.allowLoose&&b&&this._offset+d<=this._data.length?w=d:u.throwError("data out-of-bounds",f.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+w})),this._data.slice(this._offset,this._offset+w)}},{key:"subReader",value:function(a){return new o(this._data.slice(this._offset+a),this.wordSize,this._coerceFunc,this.allowLoose)}},{key:"readBytes",value:function(a,d){var b=this._peekBytes(0,a,!!d);return this._offset+=b.length,b.slice(0,a)}},{key:"readValue",value:function(){return t.BigNumber.from(this.readBytes(this.wordSize))}}],[{key:"coerce",value:function(a,d){var b=a.match("^u?int([0-9]+)$");return b&&parseInt(b[1])<=48&&(d=d.toNumber()),d}}]),o}();y.Reader=r},9146:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.AddressCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=c(7921),e=c(908),u=function(n){(0,l.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,s.default)(i);if(r){var w=(0,s.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,t.default)(this,d)});function a(d){return(0,v.default)(this,a),o.call(this,"address","address",d,!1)}return(0,p.default)(a,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000"}},{key:"encode",value:function(d,b){try{b=(0,f.getAddress)(b)}catch(w){this._throwError(w.message,b)}return d.writeValue(b)}},{key:"decode",value:function(d){return(0,f.getAddress)((0,e.hexZeroPad)(d.readValue().toHexString(),20))}}]),a}(c(7316).Coder);y.AddressCoder=u},8090:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.AnonymousCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=function(e){(0,l.default)(r,e);var u,n,i=(u=r,n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,a=(0,s.default)(u);if(n){var d=(0,s.default)(this).constructor;o=Reflect.construct(a,arguments,d)}else o=a.apply(this,arguments);return(0,t.default)(this,o)});function r(o){var a;return(0,v.default)(this,r),(a=i.call(this,o.name,o.type,void 0,o.dynamic)).coder=o,a}return(0,p.default)(r,[{key:"defaultValue",value:function(){return this.coder.defaultValue()}},{key:"encode",value:function(o,a){return this.coder.encode(o,a)}},{key:"decode",value:function(o){return this.coder.decode(o)}}]),r}(c(7316).Coder);y.AnonymousCoder=f},4341:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.ArrayCoder=void 0,y.pack=o,y.unpack=a;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=h(c(3355)),e=c(4327),u=c(8067),n=c(7316),i=c(8090),r=new e.Logger(u.version);function o(b,w,g){var A=null;if(Array.isArray(g))A=g;else if(g&&(0,f.default)(g)==="object"){var T={};A=w.map(function(I){var N=I.localName;return N||r.throwError("cannot encode object for signature with missing names",e.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:I,value:g}),T[N]&&r.throwError("cannot encode object for signature with duplicate names",e.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:I,value:g}),T[N]=!0,g[N]})}else r.throwArgumentError("invalid tuple value","tuple",g);w.length!==A.length&&r.throwArgumentError("types/value length mismatch","tuple",g);var S=new n.Writer(b.wordSize),E=new n.Writer(b.wordSize),k=[];return w.forEach(function(I,N){var D=A[N];if(I.dynamic){var L=E.length;I.encode(E,D);var m=S.writeUpdatableValue();k.push(function(P){m(P+L)})}else I.encode(S,D)}),k.forEach(function(I){I(S.length)}),b.appendWriter(S)+b.appendWriter(E)}function a(b,w){var g=[],A=b.subReader(0);w.forEach(function(k){var I=null;if(k.dynamic){var N=b.readValue(),D=A.subReader(N.toNumber());try{I=k.decode(D)}catch(L){if(L.code===e.Logger.errors.BUFFER_OVERRUN)throw L;(I=L).baseType=k.name,I.name=k.localName,I.type=k.type}}else try{I=k.decode(b)}catch(L){if(L.code===e.Logger.errors.BUFFER_OVERRUN)throw L;(I=L).baseType=k.name,I.name=k.localName,I.type=k.type}I!=null&&g.push(I)});var T=w.reduce(function(k,I){var N=I.localName;return N&&(k[N]||(k[N]=0),k[N]++),k},{});w.forEach(function(k,I){var N=k.localName;if(N&&T[N]===1&&(N==="length"&&(N="_length"),g[N]==null)){var D=g[I];D instanceof Error?Object.defineProperty(g,N,{enumerable:!0,get:function(){throw D}}):g[N]=D}});for(var S=function(k){var I=g[k];I instanceof Error&&Object.defineProperty(g,k,{enumerable:!0,get:function(){throw I}})},E=0;E<g.length;E++)S(E);return Object.freeze(g)}var d=function(b){(0,l.default)(T,b);var w,g,A=(w=T,g=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var S,E=(0,s.default)(w);if(g){var k=(0,s.default)(this).constructor;S=Reflect.construct(E,arguments,k)}else S=E.apply(this,arguments);return(0,t.default)(this,S)});function T(S,E,k){var I;(0,v.default)(this,T);var N=S.type+"["+(E>=0?E:"")+"]",D=E===-1||S.dynamic;return(I=A.call(this,"array",N,k,D)).coder=S,I.length=E,I}return(0,p.default)(T,[{key:"defaultValue",value:function(){for(var S=this.coder.defaultValue(),E=[],k=0;k<this.length;k++)E.push(S);return E}},{key:"encode",value:function(S,E){Array.isArray(E)||this._throwError("expected array value",E);var k=this.length;k===-1&&(k=E.length,S.writeValue(E.length)),r.checkArgumentCount(E.length,k,"coder array"+(this.localName?" "+this.localName:""));for(var I=[],N=0;N<E.length;N++)I.push(this.coder);return o(S,I,E)}},{key:"decode",value:function(S){var E=this.length;E===-1&&32*(E=S.readValue().toNumber())>S._data.length&&r.throwError("insufficient data length",e.Logger.errors.BUFFER_OVERRUN,{length:S._data.length,count:E});for(var k=[],I=0;I<E;I++)k.push(new i.AnonymousCoder(this.coder));return S.coerce(this.name,a(S,k))}}]),T}(n.Coder);y.ArrayCoder=d},24:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.BooleanCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=function(e){(0,l.default)(r,e);var u,n,i=(u=r,n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,a=(0,s.default)(u);if(n){var d=(0,s.default)(this).constructor;o=Reflect.construct(a,arguments,d)}else o=a.apply(this,arguments);return(0,t.default)(this,o)});function r(o){return(0,v.default)(this,r),i.call(this,"bool","bool",o,!1)}return(0,p.default)(r,[{key:"defaultValue",value:function(){return!1}},{key:"encode",value:function(o,a){return o.writeValue(a?1:0)}},{key:"decode",value:function(o){return o.coerce(this.type,!o.readValue().isZero())}}]),r}(c(7316).Coder);y.BooleanCoder=f},3861:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.DynamicBytesCoder=y.BytesCoder=void 0;var v=h(c(119)),p=h(c(9721)),l=h(c(8985)),t=h(c(5163)),s=h(c(4650)),f=h(c(1949)),e=c(908);function u(r){var o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,d=(0,f.default)(r);if(o){var b=(0,f.default)(this).constructor;a=Reflect.construct(d,arguments,b)}else a=d.apply(this,arguments);return(0,s.default)(this,a)}}var n=function(r){(0,t.default)(a,r);var o=u(a);function a(d,b){return(0,p.default)(this,a),o.call(this,d,d,b,!0)}return(0,l.default)(a,[{key:"defaultValue",value:function(){return"0x"}},{key:"encode",value:function(d,b){return b=(0,e.arrayify)(b),d.writeValue(b.length)+d.writeBytes(b)}},{key:"decode",value:function(d){return d.readBytes(d.readValue().toNumber(),!0)}}]),a}(c(7316).Coder);y.DynamicBytesCoder=n;var i=function(r){(0,t.default)(a,r);var o=u(a);function a(d){return(0,p.default)(this,a),o.call(this,"bytes",d)}return(0,l.default)(a,[{key:"decode",value:function(d){return d.coerce(this.name,(0,e.hexlify)((0,v.default)((0,f.default)(a.prototype),"decode",this).call(this,d)))}}]),a}(n);y.BytesCoder=i},28:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.FixedBytesCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=c(908),e=function(u){(0,l.default)(o,u);var n,i,r=(n=o,i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var a,d=(0,s.default)(n);if(i){var b=(0,s.default)(this).constructor;a=Reflect.construct(d,arguments,b)}else a=d.apply(this,arguments);return(0,t.default)(this,a)});function o(a,d){var b;(0,v.default)(this,o);var w="bytes"+String(a);return(b=r.call(this,w,w,d,!1)).size=a,b}return(0,p.default)(o,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}},{key:"encode",value:function(a,d){var b=(0,f.arrayify)(d);return b.length!==this.size&&this._throwError("incorrect data length",d),a.writeBytes(b)}},{key:"decode",value:function(a){return a.coerce(this.name,(0,f.hexlify)(a.readBytes(this.size)))}}]),o}(c(7316).Coder);y.FixedBytesCoder=e},4522:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.NullCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=function(e){(0,l.default)(r,e);var u,n,i=(u=r,n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,a=(0,s.default)(u);if(n){var d=(0,s.default)(this).constructor;o=Reflect.construct(a,arguments,d)}else o=a.apply(this,arguments);return(0,t.default)(this,o)});function r(o){return(0,v.default)(this,r),i.call(this,"null","",o,!1)}return(0,p.default)(r,[{key:"defaultValue",value:function(){return null}},{key:"encode",value:function(o,a){return a!=null&&this._throwError("not null",a),o.writeBytes([])}},{key:"decode",value:function(o){return o.readBytes(0),o.coerce(this.name,null)}}]),r}(c(7316).Coder);y.NullCoder=f},8287:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.NumberCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=c(4952),e=c(5465),u=function(n){(0,l.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,s.default)(i);if(r){var w=(0,s.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,t.default)(this,d)});function a(d,b,w){var g;(0,v.default)(this,a);var A=(b?"int":"uint")+8*d;return(g=o.call(this,A,A,w,!1)).size=d,g.signed=b,g}return(0,p.default)(a,[{key:"defaultValue",value:function(){return 0}},{key:"encode",value:function(d,b){var w=f.BigNumber.from(b),g=e.MaxUint256.mask(8*d.wordSize);if(this.signed){var A=g.mask(8*this.size-1);(w.gt(A)||w.lt(A.add(e.One).mul(e.NegativeOne)))&&this._throwError("value out-of-bounds",b)}else(w.lt(e.Zero)||w.gt(g.mask(8*this.size)))&&this._throwError("value out-of-bounds",b);return w=w.toTwos(8*this.size).mask(8*this.size),this.signed&&(w=w.fromTwos(8*this.size).toTwos(8*d.wordSize)),d.writeValue(w)}},{key:"decode",value:function(d){var b=d.readValue().mask(8*this.size);return this.signed&&(b=b.fromTwos(8*this.size)),d.coerce(this.name,b)}}]),a}(c(7316).Coder);y.NumberCoder=u},8040:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.StringCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(119)),t=h(c(5163)),s=h(c(4650)),f=h(c(1949)),e=c(8627),u=function(n){(0,t.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,f.default)(i);if(r){var w=(0,f.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,s.default)(this,d)});function a(d){return(0,v.default)(this,a),o.call(this,"string",d)}return(0,p.default)(a,[{key:"defaultValue",value:function(){return""}},{key:"encode",value:function(d,b){return(0,l.default)((0,f.default)(a.prototype),"encode",this).call(this,d,(0,e.toUtf8Bytes)(b))}},{key:"decode",value:function(d){return(0,e.toUtf8String)((0,l.default)((0,f.default)(a.prototype),"decode",this).call(this,d))}}]),a}(c(3861).DynamicBytesCoder);y.StringCoder=u},2010:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.TupleCoder=void 0;var v=h(c(9721)),p=h(c(8985)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=c(7316),e=c(4341),u=function(n){(0,l.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,s.default)(i);if(r){var w=(0,s.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,t.default)(this,d)});function a(d,b){var w;(0,v.default)(this,a);var g=!1,A=[];d.forEach(function(S){S.dynamic&&(g=!0),A.push(S.type)});var T="tuple("+A.join(",")+")";return(w=o.call(this,"tuple",T,b,g)).coders=d,w}return(0,p.default)(a,[{key:"defaultValue",value:function(){var d=[];this.coders.forEach(function(w){d.push(w.defaultValue())});var b=this.coders.reduce(function(w,g){var A=g.localName;return A&&(w[A]||(w[A]=0),w[A]++),w},{});return this.coders.forEach(function(w,g){var A=w.localName;A&&b[A]===1&&(A==="length"&&(A="_length"),d[A]==null&&(d[A]=d[g]))}),Object.freeze(d)}},{key:"encode",value:function(d,b){return(0,e.pack)(d,this.coders,b)}},{key:"decode",value:function(d){return d.coerce(this.name,(0,e.unpack)(d,this.coders))}}]),a}(f.Coder);y.TupleCoder=u},800:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.ParamType=y.FunctionFragment=y.Fragment=y.FormatTypes=y.EventFragment=y.ErrorFragment=y.ConstructorFragment=void 0;var v=h(c(5163)),p=h(c(4650)),l=h(c(1949)),t=h(c(9721)),s=h(c(8985)),f=c(4952),e=c(3694),u=c(4327),n=c(8067);function i(V){var J=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var O,F=(0,l.default)(V);if(J){var G=(0,l.default)(this).constructor;O=Reflect.construct(F,arguments,G)}else O=F.apply(this,arguments);return(0,p.default)(this,O)}}var r=new u.Logger(n.version),o={},a={calldata:!0,memory:!0,storage:!0},d={calldata:!0,memory:!0};function b(V,J){if(V==="bytes"||V==="string"){if(a[J])return!0}else if(V==="address"){if(J==="payable")return!0}else if((V.indexOf("[")>=0||V==="tuple")&&d[J])return!0;return(a[J]||J==="payable")&&r.throwArgumentError("invalid modifier","name",J),!1}function w(V,J){for(var O in J)(0,e.defineReadOnly)(V,O,J[O])}var g=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"});y.FormatTypes=g;var A=new RegExp(/^(.*)\[([0-9]*)\]$/),T=function(){function V(J,O){(0,t.default)(this,V),J!==o&&r.throwError("use fromString",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),w(this,O);var F=this.type.match(A);w(this,F?{arrayLength:parseInt(F[2]||"-1"),arrayChildren:V.fromObject({type:F[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:this.components!=null?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return(0,s.default)(V,[{key:"format",value:function(J){if(J||(J=g.sighash),g[J]||r.throwArgumentError("invalid format type","format",J),J===g.json){var O={type:this.baseType==="tuple"?"tuple":this.type,name:this.name||void 0};return typeof this.indexed=="boolean"&&(O.indexed=this.indexed),this.components&&(O.components=this.components.map(function(G){return JSON.parse(G.format(J))})),JSON.stringify(O)}var F="";return this.baseType==="array"?(F+=this.arrayChildren.format(J),F+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):this.baseType==="tuple"?(J!==g.sighash&&(F+=this.type),F+="("+this.components.map(function(G){return G.format(J)}).join(J===g.full?", ":",")+")"):F+=this.type,J!==g.sighash&&(this.indexed===!0&&(F+=" indexed"),J===g.full&&this.name&&(F+=" "+this.name)),F}}],[{key:"from",value:function(J,O){return typeof J=="string"?V.fromString(J,O):V.fromObject(J)}},{key:"fromObject",value:function(J){return V.isParamType(J)?J:new V(o,{name:J.name||null,type:B(J.type),indexed:J.indexed==null?null:!!J.indexed,components:J.components?J.components.map(V.fromObject):null})}},{key:"fromString",value:function(J,O){return F=function(G,H){var M=G;function _($){r.throwArgumentError("unexpected character at position ".concat($),"param",G)}function U($){var Z={type:"",name:"",parent:$,state:{allowType:!0}};return H&&(Z.indexed=!1),Z}G=G.replace(/\s/g," ");for(var q={type:"",name:"",state:{allowType:!0}},z=q,W=0;W<G.length;W++){var Y=G[W];switch(Y){case"(":z.state.allowType&&z.type===""?z.type="tuple":z.state.allowParams||_(W),z.state.allowType=!1,z.type=B(z.type),z.components=[U(z)],z=z.components[0];break;case")":delete z.state,z.name==="indexed"&&(H||_(W),z.indexed=!0,z.name=""),b(z.type,z.name)&&(z.name=""),z.type=B(z.type);var X=z;(z=z.parent)||_(W),delete X.parent,z.state.allowParams=!1,z.state.allowName=!0,z.state.allowArray=!0;break;case",":delete z.state,z.name==="indexed"&&(H||_(W),z.indexed=!0,z.name=""),b(z.type,z.name)&&(z.name=""),z.type=B(z.type);var Q=U(z.parent);z.parent.components.push(Q),delete z.parent,z=Q;break;case" ":z.state.allowType&&z.type!==""&&(z.type=B(z.type),delete z.state.allowType,z.state.allowName=!0,z.state.allowParams=!0),z.state.allowName&&z.name!==""&&(z.name==="indexed"?(H||_(W),z.indexed&&_(W),z.indexed=!0,z.name=""):b(z.type,z.name)?z.name="":z.state.allowName=!1);break;case"[":z.state.allowArray||_(W),z.type+=Y,z.state.allowArray=!1,z.state.allowName=!1,z.state.readArray=!0;break;case"]":z.state.readArray||_(W),z.type+=Y,z.state.readArray=!1,z.state.allowArray=!0,z.state.allowName=!0;break;default:z.state.allowType?(z.type+=Y,z.state.allowParams=!0,z.state.allowArray=!0):z.state.allowName?(z.name+=Y,delete z.state.allowArray):z.state.readArray?z.type+=Y:_(W)}}return z.parent&&r.throwArgumentError("unexpected eof","param",G),delete q.state,z.name==="indexed"?(H||_(M.length-7),z.indexed&&_(M.length-7),z.indexed=!0,z.name=""):b(z.type,z.name)&&(z.name=""),q.type=B(q.type),q}(J,!!O),V.fromObject({name:F.name,type:F.type,indexed:F.indexed,components:F.components});var F}},{key:"isParamType",value:function(J){return!(J==null||!J._isParamType)}}]),V}();function S(V,J){return function(O){O=O.trim();for(var F=[],G="",H=0,M=0;M<O.length;M++){var _=O[M];_===","&&H===0?(F.push(G),G=""):(G+=_,_==="("?H++:_===")"&&--H==-1&&r.throwArgumentError("unbalanced parenthesis","value",O))}return G&&F.push(G),F}(V).map(function(O){return T.fromString(O,J)})}y.ParamType=T;var E=function(){function V(J,O){(0,t.default)(this,V),J!==o&&r.throwError("use a static from method",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),w(this,O),this._isFragment=!0,Object.freeze(this)}return(0,s.default)(V,null,[{key:"from",value:function(J){return V.isFragment(J)?J:typeof J=="string"?V.fromString(J):V.fromObject(J)}},{key:"fromObject",value:function(J){if(V.isFragment(J))return J;switch(J.type){case"function":return m.fromObject(J);case"event":return k.fromObject(J);case"constructor":return L.fromObject(J);case"error":return C.fromObject(J);case"fallback":case"receive":return null}return r.throwArgumentError("invalid fragment object","value",J)}},{key:"fromString",value:function(J){return(J=(J=(J=J.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]==="event"?k.fromString(J.substring(5).trim()):J.split(" ")[0]==="function"?m.fromString(J.substring(8).trim()):J.split("(")[0].trim()==="constructor"?L.fromString(J.trim()):J.split(" ")[0]==="error"?C.fromString(J.substring(5).trim()):r.throwArgumentError("unsupported fragment","value",J)}},{key:"isFragment",value:function(J){return!(!J||!J._isFragment)}}]),V}();y.Fragment=E;var k=function(V){(0,v.default)(O,V);var J=i(O);function O(){return(0,t.default)(this,O),J.apply(this,arguments)}return(0,s.default)(O,[{key:"format",value:function(F){if(F||(F=g.sighash),g[F]||r.throwArgumentError("invalid format type","format",F),F===g.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(function(H){return JSON.parse(H.format(F))})});var G="";return F!==g.sighash&&(G+="event "),G+=this.name+"("+this.inputs.map(function(H){return H.format(F)}).join(F===g.full?", ":",")+") ",F!==g.sighash&&this.anonymous&&(G+="anonymous "),G.trim()}}],[{key:"from",value:function(F){return typeof F=="string"?O.fromString(F):O.fromObject(F)}},{key:"fromObject",value:function(F){if(O.isEventFragment(F))return F;F.type!=="event"&&r.throwArgumentError("invalid event object","value",F);var G={name:j(F.name),anonymous:F.anonymous,inputs:F.inputs?F.inputs.map(T.fromObject):[],type:"event"};return new O(o,G)}},{key:"fromString",value:function(F){var G=F.match(K);G||r.throwArgumentError("invalid event string","value",F);var H=!1;return G[3].split(" ").forEach(function(M){switch(M.trim()){case"anonymous":H=!0;break;case"":break;default:r.warn("unknown modifier: "+M)}}),O.fromObject({name:G[1].trim(),anonymous:H,inputs:S(G[2],!0),type:"event"})}},{key:"isEventFragment",value:function(F){return F&&F._isFragment&&F.type==="event"}}]),O}(E);function I(V,J){J.gas=null;var O=V.split("@");return O.length!==1?(O.length>2&&r.throwArgumentError("invalid human-readable ABI signature","value",V),O[1].match(/^[0-9]+$/)||r.throwArgumentError("invalid human-readable ABI signature gas","value",V),J.gas=f.BigNumber.from(O[1]),O[0]):V}function N(V,J){J.constant=!1,J.payable=!1,J.stateMutability="nonpayable",V.split(" ").forEach(function(O){switch(O.trim()){case"constant":J.constant=!0;break;case"payable":J.payable=!0,J.stateMutability="payable";break;case"nonpayable":J.payable=!1,J.stateMutability="nonpayable";break;case"pure":J.constant=!0,J.stateMutability="pure";break;case"view":J.constant=!0,J.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+O)}})}function D(V){var J={constant:!1,payable:!0,stateMutability:"payable"};return V.stateMutability!=null?(J.stateMutability=V.stateMutability,J.constant=J.stateMutability==="view"||J.stateMutability==="pure",V.constant!=null&&!!V.constant!==J.constant&&r.throwArgumentError("cannot have constant function with mutability "+J.stateMutability,"value",V),J.payable=J.stateMutability==="payable",V.payable!=null&&!!V.payable!==J.payable&&r.throwArgumentError("cannot have payable function with mutability "+J.stateMutability,"value",V)):V.payable!=null?(J.payable=!!V.payable,V.constant!=null||J.payable||V.type==="constructor"||r.throwArgumentError("unable to determine stateMutability","value",V),J.constant=!!V.constant,J.constant?J.stateMutability="view":J.stateMutability=J.payable?"payable":"nonpayable",J.payable&&J.constant&&r.throwArgumentError("cannot have constant payable function","value",V)):V.constant!=null?(J.constant=!!V.constant,J.payable=!J.constant,J.stateMutability=J.constant?"view":"payable"):V.type!=="constructor"&&r.throwArgumentError("unable to determine stateMutability","value",V),J}y.EventFragment=k;var L=function(V){(0,v.default)(O,V);var J=i(O);function O(){return(0,t.default)(this,O),J.apply(this,arguments)}return(0,s.default)(O,[{key:"format",value:function(F){if(F||(F=g.sighash),g[F]||r.throwArgumentError("invalid format type","format",F),F===g.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(H){return JSON.parse(H.format(F))})});F===g.sighash&&r.throwError("cannot format a constructor for sighash",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var G="constructor("+this.inputs.map(function(H){return H.format(F)}).join(F===g.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(G+=this.stateMutability+" "),G.trim()}}],[{key:"from",value:function(F){return typeof F=="string"?O.fromString(F):O.fromObject(F)}},{key:"fromObject",value:function(F){if(O.isConstructorFragment(F))return F;F.type!=="constructor"&&r.throwArgumentError("invalid constructor object","value",F);var G=D(F);G.constant&&r.throwArgumentError("constructor cannot be constant","value",F);var H={name:null,type:F.type,inputs:F.inputs?F.inputs.map(T.fromObject):[],payable:G.payable,stateMutability:G.stateMutability,gas:F.gas?f.BigNumber.from(F.gas):null};return new O(o,H)}},{key:"fromString",value:function(F){var G={type:"constructor"},H=(F=I(F,G)).match(K);return H&&H[1].trim()==="constructor"||r.throwArgumentError("invalid constructor string","value",F),G.inputs=S(H[2].trim(),!1),N(H[3].trim(),G),O.fromObject(G)}},{key:"isConstructorFragment",value:function(F){return F&&F._isFragment&&F.type==="constructor"}}]),O}(E);y.ConstructorFragment=L;var m=function(V){(0,v.default)(O,V);var J=i(O);function O(){return(0,t.default)(this,O),J.apply(this,arguments)}return(0,s.default)(O,[{key:"format",value:function(F){if(F||(F=g.sighash),g[F]||r.throwArgumentError("invalid format type","format",F),F===g.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(H){return JSON.parse(H.format(F))}),outputs:this.outputs.map(function(H){return JSON.parse(H.format(F))})});var G="";return F!==g.sighash&&(G+="function "),G+=this.name+"("+this.inputs.map(function(H){return H.format(F)}).join(F===g.full?", ":",")+") ",F!==g.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(G+=this.stateMutability+" "):this.constant&&(G+="view "),this.outputs&&this.outputs.length&&(G+="returns ("+this.outputs.map(function(H){return H.format(F)}).join(", ")+") "),this.gas!=null&&(G+="@"+this.gas.toString()+" ")),G.trim()}}],[{key:"from",value:function(F){return typeof F=="string"?O.fromString(F):O.fromObject(F)}},{key:"fromObject",value:function(F){if(O.isFunctionFragment(F))return F;F.type!=="function"&&r.throwArgumentError("invalid function object","value",F);var G=D(F),H={type:F.type,name:j(F.name),constant:G.constant,inputs:F.inputs?F.inputs.map(T.fromObject):[],outputs:F.outputs?F.outputs.map(T.fromObject):[],payable:G.payable,stateMutability:G.stateMutability,gas:F.gas?f.BigNumber.from(F.gas):null};return new O(o,H)}},{key:"fromString",value:function(F){var G={type:"function"},H=(F=I(F,G)).split(" returns ");H.length>2&&r.throwArgumentError("invalid function string","value",F);var M=H[0].match(K);if(M||r.throwArgumentError("invalid function signature","value",F),G.name=M[1].trim(),G.name&&j(G.name),G.inputs=S(M[2],!1),N(M[3].trim(),G),H.length>1){var _=H[1].match(K);_[1].trim()==""&&_[3].trim()==""||r.throwArgumentError("unexpected tokens","value",F),G.outputs=S(_[2],!1)}else G.outputs=[];return O.fromObject(G)}},{key:"isFunctionFragment",value:function(F){return F&&F._isFragment&&F.type==="function"}}]),O}(L);function P(V){var J=V.format();return J!=="Error(string)"&&J!=="Panic(uint256)"||r.throwArgumentError("cannot specify user defined ".concat(J," error"),"fragment",V),V}y.FunctionFragment=m;var C=function(V){(0,v.default)(O,V);var J=i(O);function O(){return(0,t.default)(this,O),J.apply(this,arguments)}return(0,s.default)(O,[{key:"format",value:function(F){if(F||(F=g.sighash),g[F]||r.throwArgumentError("invalid format type","format",F),F===g.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(function(H){return JSON.parse(H.format(F))})});var G="";return F!==g.sighash&&(G+="error "),(G+=this.name+"("+this.inputs.map(function(H){return H.format(F)}).join(F===g.full?", ":",")+") ").trim()}}],[{key:"from",value:function(F){return typeof F=="string"?O.fromString(F):O.fromObject(F)}},{key:"fromObject",value:function(F){if(O.isErrorFragment(F))return F;F.type!=="error"&&r.throwArgumentError("invalid error object","value",F);var G={type:F.type,name:j(F.name),inputs:F.inputs?F.inputs.map(T.fromObject):[]};return P(new O(o,G))}},{key:"fromString",value:function(F){var G={type:"error"},H=F.match(K);return H||r.throwArgumentError("invalid error signature","value",F),G.name=H[1].trim(),G.name&&j(G.name),G.inputs=S(H[2],!1),P(O.fromObject(G))}},{key:"isErrorFragment",value:function(F){return F&&F._isFragment&&F.type==="error"}}]),O}(E);function B(V){return V.match(/^uint($|[^1-9])/)?V="uint256"+V.substring(4):V.match(/^int($|[^1-9])/)&&(V="int256"+V.substring(3)),V}y.ErrorFragment=C;var x=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function j(V){return V&&V.match(x)||r.throwArgumentError('invalid identifier "'.concat(V,'"'),"value",V),V}var K=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")},2914:(R,y,c)=>{Object.defineProperty(y,"RQ",{enumerable:!0,get:function(){return v.AbiCoder}}),Object.defineProperty(y,"_R",{enumerable:!0,get:function(){return h.ParamType}});var h=c(800),v=c(4937);c(9044)},9044:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.TransactionDescription=y.LogDescription=y.Interface=y.Indexed=y.ErrorDescription=void 0,Object.defineProperty(y,"checkResultErrors",{enumerable:!0,get:function(){return a.checkResultErrors}});var v=h(c(8985)),p=h(c(9721)),l=h(c(5163)),t=h(c(4650)),s=h(c(1949)),f=c(7921),e=c(4952),u=c(908),n=c(7515),i=c(4642),r=c(3694),o=c(4937),a=c(7316),d=c(800),b=c(4327),w=c(8067);function g(L){var m=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var P,C=(0,s.default)(L);if(m){var B=(0,s.default)(this).constructor;P=Reflect.construct(C,arguments,B)}else P=C.apply(this,arguments);return(0,t.default)(this,P)}}var A=new b.Logger(w.version),T=function(L){(0,l.default)(P,L);var m=g(P);function P(){return(0,p.default)(this,P),m.apply(this,arguments)}return(0,v.default)(P)}(r.Description);y.LogDescription=T;var S=function(L){(0,l.default)(P,L);var m=g(P);function P(){return(0,p.default)(this,P),m.apply(this,arguments)}return(0,v.default)(P)}(r.Description);y.TransactionDescription=S;var E=function(L){(0,l.default)(P,L);var m=g(P);function P(){return(0,p.default)(this,P),m.apply(this,arguments)}return(0,v.default)(P)}(r.Description);y.ErrorDescription=E;var k=function(L){(0,l.default)(P,L);var m=g(P);function P(){return(0,p.default)(this,P),m.apply(this,arguments)}return(0,v.default)(P,null,[{key:"isIndexed",value:function(C){return!(!C||!C._isIndexed)}}]),P}(r.Description);y.Indexed=k;var I={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function N(L,m){var P=new Error("deferred error during ABI decoding triggered accessing ".concat(L));return P.error=m,P}var D=function(){function L(m){var P=this;(0,p.default)(this,L);var C=[];C=typeof m=="string"?JSON.parse(m):m,(0,r.defineReadOnly)(this,"fragments",C.map(function(B){return d.Fragment.from(B)}).filter(function(B){return B!=null})),(0,r.defineReadOnly)(this,"_abiCoder",(0,r.getStatic)(this instanceof L?this.constructor:void 0,"getAbiCoder")()),(0,r.defineReadOnly)(this,"functions",{}),(0,r.defineReadOnly)(this,"errors",{}),(0,r.defineReadOnly)(this,"events",{}),(0,r.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(B){var x=null;switch(B.type){case"constructor":return P.deploy?void A.warn("duplicate definition - constructor"):void(0,r.defineReadOnly)(P,"deploy",B);case"function":x=P.functions;break;case"event":x=P.events;break;case"error":x=P.errors;break;default:return}var j=B.format();x[j]?A.warn("duplicate definition - "+j):x[j]=B}),this.deploy||(0,r.defineReadOnly)(this,"deploy",d.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,r.defineReadOnly)(this,"_isInterface",!0)}return(0,v.default)(L,[{key:"format",value:function(m){m||(m=d.FormatTypes.full),m===d.FormatTypes.sighash&&A.throwArgumentError("interface does not support formatting sighash","format",m);var P=this.fragments.map(function(C){return C.format(m)});return m===d.FormatTypes.json?JSON.stringify(P.map(function(C){return JSON.parse(C)})):P}},{key:"getFunction",value:function(m){if((0,u.isHexString)(m)){for(var P in this.functions)if(m===this.getSighash(P))return this.functions[P];A.throwArgumentError("no matching function","sighash",m)}if(m.indexOf("(")===-1){var C=m.trim(),B=Object.keys(this.functions).filter(function(j){return j.split("(")[0]===C});return B.length===0?A.throwArgumentError("no matching function","name",C):B.length>1&&A.throwArgumentError("multiple matching functions","name",C),this.functions[B[0]]}var x=this.functions[d.FunctionFragment.fromString(m).format()];return x||A.throwArgumentError("no matching function","signature",m),x}},{key:"getEvent",value:function(m){if((0,u.isHexString)(m)){var P=m.toLowerCase();for(var C in this.events)if(P===this.getEventTopic(C))return this.events[C];A.throwArgumentError("no matching event","topichash",P)}if(m.indexOf("(")===-1){var B=m.trim(),x=Object.keys(this.events).filter(function(K){return K.split("(")[0]===B});return x.length===0?A.throwArgumentError("no matching event","name",B):x.length>1&&A.throwArgumentError("multiple matching events","name",B),this.events[x[0]]}var j=this.events[d.EventFragment.fromString(m).format()];return j||A.throwArgumentError("no matching event","signature",m),j}},{key:"getError",value:function(m){if((0,u.isHexString)(m)){var P=(0,r.getStatic)(this.constructor,"getSighash");for(var C in this.errors)if(m===P(this.errors[C]))return this.errors[C];A.throwArgumentError("no matching error","sighash",m)}if(m.indexOf("(")===-1){var B=m.trim(),x=Object.keys(this.errors).filter(function(K){return K.split("(")[0]===B});return x.length===0?A.throwArgumentError("no matching error","name",B):x.length>1&&A.throwArgumentError("multiple matching errors","name",B),this.errors[x[0]]}var j=this.errors[d.FunctionFragment.fromString(m).format()];return j||A.throwArgumentError("no matching error","signature",m),j}},{key:"getSighash",value:function(m){if(typeof m=="string")try{m=this.getFunction(m)}catch(P){try{m=this.getError(m)}catch{throw P}}return(0,r.getStatic)(this.constructor,"getSighash")(m)}},{key:"getEventTopic",value:function(m){return typeof m=="string"&&(m=this.getEvent(m)),(0,r.getStatic)(this.constructor,"getEventTopic")(m)}},{key:"_decodeParams",value:function(m,P){return this._abiCoder.decode(m,P)}},{key:"_encodeParams",value:function(m,P){return this._abiCoder.encode(m,P)}},{key:"encodeDeploy",value:function(m){return this._encodeParams(this.deploy.inputs,m||[])}},{key:"decodeErrorResult",value:function(m,P){typeof m=="string"&&(m=this.getError(m));var C=(0,u.arrayify)(P);return(0,u.hexlify)(C.slice(0,4))!==this.getSighash(m)&&A.throwArgumentError("data signature does not match error ".concat(m.name,"."),"data",(0,u.hexlify)(C)),this._decodeParams(m.inputs,C.slice(4))}},{key:"encodeErrorResult",value:function(m,P){return typeof m=="string"&&(m=this.getError(m)),(0,u.hexlify)((0,u.concat)([this.getSighash(m),this._encodeParams(m.inputs,P||[])]))}},{key:"decodeFunctionData",value:function(m,P){typeof m=="string"&&(m=this.getFunction(m));var C=(0,u.arrayify)(P);return(0,u.hexlify)(C.slice(0,4))!==this.getSighash(m)&&A.throwArgumentError("data signature does not match function ".concat(m.name,"."),"data",(0,u.hexlify)(C)),this._decodeParams(m.inputs,C.slice(4))}},{key:"encodeFunctionData",value:function(m,P){return typeof m=="string"&&(m=this.getFunction(m)),(0,u.hexlify)((0,u.concat)([this.getSighash(m),this._encodeParams(m.inputs,P||[])]))}},{key:"decodeFunctionResult",value:function(m,P){typeof m=="string"&&(m=this.getFunction(m));var C=(0,u.arrayify)(P),B=null,x="",j=null,K=null,V=null;switch(C.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(m.outputs,C)}catch{}break;case 4:var J=(0,u.hexlify)(C.slice(0,4)),O=I[J];if(O)j=this._abiCoder.decode(O.inputs,C.slice(4)),K=O.name,V=O.signature,O.reason&&(B=j[0]),K==="Error"?x="; VM Exception while processing transaction: reverted with reason string ".concat(JSON.stringify(j[0])):K==="Panic"&&(x="; VM Exception while processing transaction: reverted with panic code ".concat(j[0]));else try{var F=this.getError(J);j=this._abiCoder.decode(F.inputs,C.slice(4)),K=F.name,V=F.format()}catch{}}return A.throwError("call revert exception"+x,b.Logger.errors.CALL_EXCEPTION,{method:m.format(),data:(0,u.hexlify)(P),errorArgs:j,errorName:K,errorSignature:V,reason:B})}},{key:"encodeFunctionResult",value:function(m,P){return typeof m=="string"&&(m=this.getFunction(m)),(0,u.hexlify)(this._abiCoder.encode(m.outputs,P||[]))}},{key:"encodeFilterTopics",value:function(m,P){var C=this;typeof m=="string"&&(m=this.getEvent(m)),P.length>m.inputs.length&&A.throwError("too many arguments for "+m.format(),b.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:P});var B=[];m.anonymous||B.push(this.getEventTopic(m));var x=function(j,K){return j.type==="string"?(0,n.id)(K):j.type==="bytes"?(0,i.keccak256)((0,u.hexlify)(K)):(j.type==="bool"&&typeof K=="boolean"&&(K=K?"0x01":"0x00"),j.type.match(/^u?int/)&&(K=e.BigNumber.from(K).toHexString()),j.type==="address"&&C._abiCoder.encode(["address"],[K]),(0,u.hexZeroPad)((0,u.hexlify)(K),32))};for(P.forEach(function(j,K){var V=m.inputs[K];V.indexed?j==null?B.push(null):V.baseType==="array"||V.baseType==="tuple"?A.throwArgumentError("filtering with tuples or arrays not supported","contract."+V.name,j):Array.isArray(j)?B.push(j.map(function(J){return x(V,J)})):B.push(x(V,j)):j!=null&&A.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+V.name,j)});B.length&&B[B.length-1]===null;)B.pop();return B}},{key:"encodeEventLog",value:function(m,P){var C=this;typeof m=="string"&&(m=this.getEvent(m));var B=[],x=[],j=[];return m.anonymous||B.push(this.getEventTopic(m)),P.length!==m.inputs.length&&A.throwArgumentError("event arguments/values mismatch","values",P),m.inputs.forEach(function(K,V){var J=P[V];if(K.indexed)if(K.type==="string")B.push((0,n.id)(J));else if(K.type==="bytes")B.push((0,i.keccak256)(J));else{if(K.baseType==="tuple"||K.baseType==="array")throw new Error("not implemented");B.push(C._abiCoder.encode([K.type],[J]))}else x.push(K),j.push(J)}),{data:this._abiCoder.encode(x,j),topics:B}}},{key:"decodeEventLog",value:function(m,P,C){if(typeof m=="string"&&(m=this.getEvent(m)),C!=null&&!m.anonymous){var B=this.getEventTopic(m);(0,u.isHexString)(C[0],32)&&C[0].toLowerCase()===B||A.throwError("fragment/topic mismatch",b.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:B,value:C[0]}),C=C.slice(1)}var x=[],j=[],K=[];m.inputs.forEach(function(_,U){_.indexed?_.type==="string"||_.type==="bytes"||_.baseType==="tuple"||_.baseType==="array"?(x.push(d.ParamType.fromObject({type:"bytes32",name:_.name})),K.push(!0)):(x.push(_),K.push(!1)):(j.push(_),K.push(!1))});var V=C!=null?this._abiCoder.decode(x,(0,u.concat)(C)):null,J=this._abiCoder.decode(j,P,!0),O=[],F=0,G=0;m.inputs.forEach(function(_,U){if(_.indexed)if(V==null)O[U]=new k({_isIndexed:!0,hash:null});else if(K[U])O[U]=new k({_isIndexed:!0,hash:V[G++]});else try{O[U]=V[G++]}catch(z){O[U]=z}else try{O[U]=J[F++]}catch(z){O[U]=z}if(_.name&&O[_.name]==null){var q=O[U];q instanceof Error?Object.defineProperty(O,_.name,{enumerable:!0,get:function(){throw N("property ".concat(JSON.stringify(_.name)),q)}}):O[_.name]=q}});for(var H=function(_){var U=O[_];U instanceof Error&&Object.defineProperty(O,_,{enumerable:!0,get:function(){throw N("index ".concat(_),U)}})},M=0;M<O.length;M++)H(M);return Object.freeze(O)}},{key:"parseTransaction",value:function(m){var P=this.getFunction(m.data.substring(0,10).toLowerCase());return P?new S({args:this._abiCoder.decode(P.inputs,"0x"+m.data.substring(10)),functionFragment:P,name:P.name,signature:P.format(),sighash:this.getSighash(P),value:e.BigNumber.from(m.value||"0")}):null}},{key:"parseLog",value:function(m){var P=this.getEvent(m.topics[0]);return!P||P.anonymous?null:new T({eventFragment:P,name:P.name,signature:P.format(),topic:this.getEventTopic(P),args:this.decodeEventLog(P,m.data,m.topics)})}},{key:"parseError",value:function(m){var P=(0,u.hexlify)(m),C=this.getError(P.substring(0,10).toLowerCase());return C?new E({args:this._abiCoder.decode(C.inputs,"0x"+P.substring(10)),errorFragment:C,name:C.name,signature:C.format(),sighash:this.getSighash(C)}):null}}],[{key:"getAbiCoder",value:function(){return o.defaultAbiCoder}},{key:"getAddress",value:function(m){return(0,f.getAddress)(m)}},{key:"getSighash",value:function(m){return(0,u.hexDataSlice)((0,n.id)(m.format()),0,4)}},{key:"getEventTopic",value:function(m){return(0,n.id)(m.format())}},{key:"isInterface",value:function(m){return!(!m||!m._isInterface)}}]),L}();y.Interface=D},8222:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="address/5.7.0"},7921:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.getAddress=d,y.getContractAddress=function(b){var w=null;try{w=d(b.from)}catch{f.throwArgumentError("missing from address","transaction",b)}var g=(0,h.stripZeros)((0,h.arrayify)(v.BigNumber.from(b.nonce).toHexString()));return d((0,h.hexDataSlice)((0,p.keccak256)((0,l.encode)([w,g])),12))},y.getCreate2Address=function(b,w,g){return(0,h.hexDataLength)(w)!==32&&f.throwArgumentError("salt must be 32 bytes","salt",w),(0,h.hexDataLength)(g)!==32&&f.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",g),d((0,h.hexDataSlice)((0,p.keccak256)((0,h.concat)(["0xff",d(b),w,g])),12))},y.getIcapAddress=function(b){for(var w=(0,v._base16To36)(d(b).substring(2)).toUpperCase();w.length<30;)w="0"+w;return"XE"+a("XE00"+w)+w},y.isAddress=function(b){try{return d(b),!0}catch{}return!1};var h=c(908),v=c(4952),p=c(4642),l=c(5265),t=c(4327),s=c(8222),f=new t.Logger(s.version);function e(b){(0,h.isHexString)(b,20)||f.throwArgumentError("invalid address","address",b);for(var w=(b=b.toLowerCase()).substring(2).split(""),g=new Uint8Array(40),A=0;A<40;A++)g[A]=w[A].charCodeAt(0);for(var T=(0,h.arrayify)((0,p.keccak256)(g)),S=0;S<40;S+=2)T[S>>1]>>4>=8&&(w[S]=w[S].toUpperCase()),(15&T[S>>1])>=8&&(w[S+1]=w[S+1].toUpperCase());return"0x"+w.join("")}for(var u={},n=0;n<10;n++)u[String(n)]=String(n);for(var i=0;i<26;i++)u[String.fromCharCode(65+i)]=String(10+i);var r,o=Math.floor((r=9007199254740991,Math.log10?Math.log10(r):Math.log(r)/Math.LN10));function a(b){for(var w=(b=(b=b.toUpperCase()).substring(4)+b.substring(0,2)+"00").split("").map(function(T){return u[T]}).join("");w.length>=o;){var g=w.substring(0,o);w=parseInt(g,10)%97+w.substring(g.length)}for(var A=String(98-parseInt(w,10)%97);A.length<2;)A="0"+A;return A}function d(b){var w=null;if(typeof b!="string"&&f.throwArgumentError("invalid address","address",b),b.match(/^(0x)?[0-9a-fA-F]{40}$/))b.substring(0,2)!=="0x"&&(b="0x"+b),w=e(b),b.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&w!==b&&f.throwArgumentError("bad address checksum","address",b);else if(b.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(b.substring(2,4)!==a(b)&&f.throwArgumentError("bad icap checksum","address",b),w=(0,v._base36To16)(b.substring(4));w.length<40;)w="0"+w;w=e("0x"+w)}else f.throwArgumentError("invalid address","address",b);return w}},5798:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.decode=function(v){v=atob(v);for(var p=[],l=0;l<v.length;l++)p.push(v.charCodeAt(l));return(0,h.arrayify)(p)},y.encode=function(v){v=(0,h.arrayify)(v);for(var p="",l=0;l<v.length;l++)p+=String.fromCharCode(v[l]);return btoa(p)};var h=c(908)},997:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"decode",{enumerable:!0,get:function(){return h.decode}}),Object.defineProperty(y,"encode",{enumerable:!0,get:function(){return h.encode}});var h=c(5798)},3042:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="bignumber/5.7.0"},1872:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.BigNumber=void 0,y._base16To36=function(g){return new e(g,16).toString(36)},y._base36To16=function(g){return new e(g,36).toString(16)},y.isBigNumberish=function(g){return g!=null&&(o.isBigNumber(g)||typeof g=="number"&&g%1==0||typeof g=="string"&&!!g.match(/^-?[0-9]+$/)||(0,t.isHexString)(g)||typeof g=="bigint"||(0,t.isBytes)(g))};var v=h(c(9721)),p=h(c(8985)),l=h(c(1734)),t=c(908),s=c(4327),f=c(3042),e=l.default.BN,u=new s.Logger(f.version),n={},i=9007199254740991,r=!1,o=function(){function g(A,T){(0,v.default)(this,g),A!==n&&u.throwError("cannot call constructor directly; use BigNumber.from",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=T,this._isBigNumber=!0,Object.freeze(this)}return(0,p.default)(g,[{key:"fromTwos",value:function(A){return d(b(this).fromTwos(A))}},{key:"toTwos",value:function(A){return d(b(this).toTwos(A))}},{key:"abs",value:function(){return this._hex[0]==="-"?g.from(this._hex.substring(1)):this}},{key:"add",value:function(A){return d(b(this).add(b(A)))}},{key:"sub",value:function(A){return d(b(this).sub(b(A)))}},{key:"div",value:function(A){return g.from(A).isZero()&&w("division-by-zero","div"),d(b(this).div(b(A)))}},{key:"mul",value:function(A){return d(b(this).mul(b(A)))}},{key:"mod",value:function(A){var T=b(A);return T.isNeg()&&w("division-by-zero","mod"),d(b(this).umod(T))}},{key:"pow",value:function(A){var T=b(A);return T.isNeg()&&w("negative-power","pow"),d(b(this).pow(T))}},{key:"and",value:function(A){var T=b(A);return(this.isNegative()||T.isNeg())&&w("unbound-bitwise-result","and"),d(b(this).and(T))}},{key:"or",value:function(A){var T=b(A);return(this.isNegative()||T.isNeg())&&w("unbound-bitwise-result","or"),d(b(this).or(T))}},{key:"xor",value:function(A){var T=b(A);return(this.isNegative()||T.isNeg())&&w("unbound-bitwise-result","xor"),d(b(this).xor(T))}},{key:"mask",value:function(A){return(this.isNegative()||A<0)&&w("negative-width","mask"),d(b(this).maskn(A))}},{key:"shl",value:function(A){return(this.isNegative()||A<0)&&w("negative-width","shl"),d(b(this).shln(A))}},{key:"shr",value:function(A){return(this.isNegative()||A<0)&&w("negative-width","shr"),d(b(this).shrn(A))}},{key:"eq",value:function(A){return b(this).eq(b(A))}},{key:"lt",value:function(A){return b(this).lt(b(A))}},{key:"lte",value:function(A){return b(this).lte(b(A))}},{key:"gt",value:function(A){return b(this).gt(b(A))}},{key:"gte",value:function(A){return b(this).gte(b(A))}},{key:"isNegative",value:function(){return this._hex[0]==="-"}},{key:"isZero",value:function(){return b(this).isZero()}},{key:"toNumber",value:function(){try{return b(this).toNumber()}catch{w("overflow","toNumber",this.toString())}return null}},{key:"toBigInt",value:function(){try{return BigInt(this.toString())}catch{}return u.throwError("this platform does not support BigInt",s.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}},{key:"toString",value:function(){return arguments.length>0&&(arguments[0]===10?r||(r=!0,u.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?u.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",s.Logger.errors.UNEXPECTED_ARGUMENT,{}):u.throwError("BigNumber.toString does not accept parameters",s.Logger.errors.UNEXPECTED_ARGUMENT,{})),b(this).toString(10)}},{key:"toHexString",value:function(){return this._hex}},{key:"toJSON",value:function(A){return{type:"BigNumber",hex:this.toHexString()}}}],[{key:"from",value:function(A){if(A instanceof g)return A;if(typeof A=="string")return A.match(/^-?0x[0-9a-f]+$/i)?new g(n,a(A)):A.match(/^-?[0-9]+$/)?new g(n,a(new e(A))):u.throwArgumentError("invalid BigNumber string","value",A);if(typeof A=="number")return A%1&&w("underflow","BigNumber.from",A),(A>=i||A<=-i)&&w("overflow","BigNumber.from",A),g.from(String(A));var T=A;if(typeof T=="bigint")return g.from(T.toString());if((0,t.isBytes)(T))return g.from((0,t.hexlify)(T));if(T)if(T.toHexString){var S=T.toHexString();if(typeof S=="string")return g.from(S)}else{var E=T._hex;if(E==null&&T.type==="BigNumber"&&(E=T.hex),typeof E=="string"&&((0,t.isHexString)(E)||E[0]==="-"&&(0,t.isHexString)(E.substring(1))))return g.from(E)}return u.throwArgumentError("invalid BigNumber value","value",A)}},{key:"isBigNumber",value:function(A){return!(!A||!A._isBigNumber)}}]),g}();function a(g){if(typeof g!="string")return a(g.toString(16));if(g[0]==="-")return(g=g.substring(1))[0]==="-"&&u.throwArgumentError("invalid hex","value",g),(g=a(g))==="0x00"?g:"-"+g;if(g.substring(0,2)!=="0x"&&(g="0x"+g),g==="0x")return"0x00";for(g.length%2&&(g="0x0"+g.substring(2));g.length>4&&g.substring(0,4)==="0x00";)g="0x"+g.substring(4);return g}function d(g){return o.from(a(g))}function b(g){var A=o.from(g).toHexString();return A[0]==="-"?new e("-"+A.substring(3),16):new e(A.substring(2),16)}function w(g,A,T){var S={fault:g,operation:A};return T!=null&&(S.value=T),u.throwError(g,s.Logger.errors.NUMERIC_FAULT,S)}y.BigNumber=o},8390:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.FixedNumber=y.FixedFormat=void 0,y.formatFixed=b,y.parseFixed=w;var v=h(c(3355)),p=h(c(9721)),l=h(c(8985)),t=c(908),s=c(4327),f=c(3042),e=c(1872),u=new s.Logger(f.version),n={},i=e.BigNumber.from(0),r=e.BigNumber.from(-1);function o(E,k,I,N){var D={fault:k,operation:I};return N!==void 0&&(D.value=N),u.throwError(E,s.Logger.errors.NUMERIC_FAULT,D)}for(var a="0";a.length<256;)a+=a;function d(E){if(typeof E!="number")try{E=e.BigNumber.from(E).toNumber()}catch{}return typeof E=="number"&&E>=0&&E<=256&&!(E%1)?"1"+a.substring(0,E):u.throwArgumentError("invalid decimal size","decimals",E)}function b(E,k){k==null&&(k=0);var I=d(k),N=(E=e.BigNumber.from(E)).lt(i);N&&(E=E.mul(r));for(var D=E.mod(I).toString();D.length<I.length-1;)D="0"+D;D=D.match(/^([0-9]*[1-9]|0)(0*)/)[1];var L=E.div(I).toString();return E=I.length===1?L:L+"."+D,N&&(E="-"+E),E}function w(E,k){k==null&&(k=0);var I=d(k);typeof E=="string"&&E.match(/^-?[0-9.]+$/)||u.throwArgumentError("invalid decimal value","value",E);var N=E.substring(0,1)==="-";N&&(E=E.substring(1)),E==="."&&u.throwArgumentError("missing value","value",E);var D=E.split(".");D.length>2&&u.throwArgumentError("too many decimal points","value",E);var L=D[0],m=D[1];for(L||(L="0"),m||(m="0");m[m.length-1]==="0";)m=m.substring(0,m.length-1);for(m.length>I.length-1&&o("fractional component exceeds decimals","underflow","parseFixed"),m===""&&(m="0");m.length<I.length-1;)m+="0";var P=e.BigNumber.from(L),C=e.BigNumber.from(m),B=P.mul(I).add(C);return N&&(B=B.mul(r)),B}var g=function(){function E(k,I,N,D){(0,p.default)(this,E),k!==n&&u.throwError("cannot use FixedFormat constructor; use FixedFormat.from",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=I,this.width=N,this.decimals=D,this.name=(I?"":"u")+"fixed"+String(N)+"x"+String(D),this._multiplier=d(D),Object.freeze(this)}return(0,l.default)(E,null,[{key:"from",value:function(k){if(k instanceof E)return k;typeof k=="number"&&(k="fixed128x".concat(k));var I=!0,N=128,D=18;if(typeof k=="string"){if(k!=="fixed")if(k==="ufixed")I=!1;else{var L=k.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);L||u.throwArgumentError("invalid fixed format","format",k),I=L[1]!=="u",N=parseInt(L[2]),D=parseInt(L[3])}}else if(k){var m=function(P,C,B){return k[P]==null?B:((0,v.default)(k[P])!==C&&u.throwArgumentError("invalid fixed format ("+P+" not "+C+")","format."+P,k[P]),k[P])};I=m("signed","boolean",I),N=m("width","number",N),D=m("decimals","number",D)}return N%8&&u.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",N),D>80&&u.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",D),new E(n,I,N,D)}}]),E}();y.FixedFormat=g;var A=function(){function E(k,I,N,D){(0,p.default)(this,E),k!==n&&u.throwError("cannot use FixedNumber constructor; use FixedNumber.from",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=D,this._hex=I,this._value=N,this._isFixedNumber=!0,Object.freeze(this)}return(0,l.default)(E,[{key:"_checkFormat",value:function(k){this.format.name!==k.format.name&&u.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",k)}},{key:"addUnsafe",value:function(k){this._checkFormat(k);var I=w(this._value,this.format.decimals),N=w(k._value,k.format.decimals);return E.fromValue(I.add(N),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(k){this._checkFormat(k);var I=w(this._value,this.format.decimals),N=w(k._value,k.format.decimals);return E.fromValue(I.sub(N),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(k){this._checkFormat(k);var I=w(this._value,this.format.decimals),N=w(k._value,k.format.decimals);return E.fromValue(I.mul(N).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(k){this._checkFormat(k);var I=w(this._value,this.format.decimals),N=w(k._value,k.format.decimals);return E.fromValue(I.mul(this.format._multiplier).div(N),this.format.decimals,this.format)}},{key:"floor",value:function(){var k=this.toString().split(".");k.length===1&&k.push("0");var I=E.from(k[0],this.format),N=!k[1].match(/^(0*)$/);return this.isNegative()&&N&&(I=I.subUnsafe(T.toFormat(I.format))),I}},{key:"ceiling",value:function(){var k=this.toString().split(".");k.length===1&&k.push("0");var I=E.from(k[0],this.format),N=!k[1].match(/^(0*)$/);return!this.isNegative()&&N&&(I=I.addUnsafe(T.toFormat(I.format))),I}},{key:"round",value:function(k){k==null&&(k=0);var I=this.toString().split(".");if(I.length===1&&I.push("0"),(k<0||k>80||k%1)&&u.throwArgumentError("invalid decimal count","decimals",k),I[1].length<=k)return this;var N=E.from("1"+a.substring(0,k),this.format),D=S.toFormat(this.format);return this.mulUnsafe(N).addUnsafe(D).floor().divUnsafe(N)}},{key:"isZero",value:function(){return this._value==="0.0"||this._value==="0"}},{key:"isNegative",value:function(){return this._value[0]==="-"}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(k){if(k==null)return this._hex;k%8&&u.throwArgumentError("invalid byte width","width",k);var I=e.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(k).toHexString();return(0,t.hexZeroPad)(I,k/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(k){return E.fromString(this._value,k)}}],[{key:"fromValue",value:function(k,I,N){return N!=null||I==null||(0,e.isBigNumberish)(I)||(N=I,I=null),I==null&&(I=0),N==null&&(N="fixed"),E.fromString(b(k,I),g.from(N))}},{key:"fromString",value:function(k,I){I==null&&(I="fixed");var N=g.from(I),D=w(k,N.decimals);!N.signed&&D.lt(i)&&o("unsigned value cannot be negative","overflow","value",k);var L=null;N.signed?L=D.toTwos(N.width).toHexString():(L=D.toHexString(),L=(0,t.hexZeroPad)(L,N.width/8));var m=b(D,N.decimals);return new E(n,L,m,N)}},{key:"fromBytes",value:function(k,I){I==null&&(I="fixed");var N=g.from(I);if((0,t.arrayify)(k).length>N.width/8)throw new Error("overflow");var D=e.BigNumber.from(k);N.signed&&(D=D.fromTwos(N.width));var L=D.toTwos((N.signed?0:1)+N.width).toHexString(),m=b(D,N.decimals);return new E(n,L,m,N)}},{key:"from",value:function(k,I){if(typeof k=="string")return E.fromString(k,I);if((0,t.isBytes)(k))return E.fromBytes(k,I);try{return E.fromValue(k,0,I)}catch(N){if(N.code!==s.Logger.errors.INVALID_ARGUMENT)throw N}return u.throwArgumentError("invalid FixedNumber value","value",k)}},{key:"isFixedNumber",value:function(k){return!(!k||!k._isFixedNumber)}}]),E}();y.FixedNumber=A;var T=A.from(1),S=A.from("0.5")},4952:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"BigNumber",{enumerable:!0,get:function(){return h.BigNumber}}),Object.defineProperty(y,"FixedFormat",{enumerable:!0,get:function(){return v.FixedFormat}}),Object.defineProperty(y,"FixedNumber",{enumerable:!0,get:function(){return v.FixedNumber}}),Object.defineProperty(y,"_base16To36",{enumerable:!0,get:function(){return h._base16To36}}),Object.defineProperty(y,"_base36To16",{enumerable:!0,get:function(){return h._base36To16}}),Object.defineProperty(y,"formatFixed",{enumerable:!0,get:function(){return v.formatFixed}}),Object.defineProperty(y,"parseFixed",{enumerable:!0,get:function(){return v.parseFixed}});var h=c(1872),v=c(8390)},8729:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="bytes/5.7.0"},908:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.arrayify=u,y.concat=n,y.hexConcat=function(g){var A="0x";return g.forEach(function(T){A+=a(T).substring(2)}),A},y.hexDataLength=function(g){if(typeof g!="string")g=a(g);else if(!r(g)||g.length%2)return null;return(g.length-2)/2},y.hexDataSlice=function(g,A,T){return typeof g!="string"?g=a(g):(!r(g)||g.length%2)&&p.throwArgumentError("invalid hexData","value",g),A=2+2*A,T!=null?"0x"+g.substring(A,2+2*T):"0x"+g.substring(A)},y.hexStripZeros=d,y.hexValue=function(g){var A=d(a(g,{hexPad:"left"}));return A==="0x"?"0x0":A},y.hexZeroPad=b,y.hexlify=a,y.isBytes=e,y.isBytesLike=s,y.isHexString=r,y.joinSignature=function(g){return a(n([(g=w(g)).r,g.s,g.recoveryParam?"0x1c":"0x1b"]))},y.splitSignature=w,y.stripZeros=function(g){var A=u(g);if(A.length===0)return A;for(var T=0;T<A.length&&A[T]===0;)T++;return T&&(A=A.slice(T)),A},y.zeroPad=i;var h=c(4327),v=c(8729),p=new h.Logger(v.version);function l(g){return!!g.toHexString}function t(g){return g.slice||(g.slice=function(){var A=Array.prototype.slice.call(arguments);return t(new Uint8Array(Array.prototype.slice.apply(g,A)))}),g}function s(g){return r(g)&&!(g.length%2)||e(g)}function f(g){return typeof g=="number"&&g==g&&g%1==0}function e(g){if(g==null)return!1;if(g.constructor===Uint8Array)return!0;if(typeof g=="string"||!f(g.length)||g.length<0)return!1;for(var A=0;A<g.length;A++){var T=g[A];if(!f(T)||T<0||T>=256)return!1}return!0}function u(g,A){if(A||(A={}),typeof g=="number"){p.checkSafeUint53(g,"invalid arrayify value");for(var T=[];g;)T.unshift(255&g),g=parseInt(String(g/256));return T.length===0&&T.push(0),t(new Uint8Array(T))}if(A.allowMissingPrefix&&typeof g=="string"&&g.substring(0,2)!=="0x"&&(g="0x"+g),l(g)&&(g=g.toHexString()),r(g)){var S=g.substring(2);S.length%2&&(A.hexPad==="left"?S="0"+S:A.hexPad==="right"?S+="0":p.throwArgumentError("hex data is odd-length","value",g));for(var E=[],k=0;k<S.length;k+=2)E.push(parseInt(S.substring(k,k+2),16));return t(new Uint8Array(E))}return e(g)?t(new Uint8Array(g)):p.throwArgumentError("invalid arrayify value","value",g)}function n(g){var A=g.map(function(E){return u(E)}),T=A.reduce(function(E,k){return E+k.length},0),S=new Uint8Array(T);return A.reduce(function(E,k){return S.set(k,E),E+k.length},0),t(S)}function i(g,A){(g=u(g)).length>A&&p.throwArgumentError("value out of range","value",arguments[0]);var T=new Uint8Array(A);return T.set(g,A-g.length),t(T)}function r(g,A){return!(typeof g!="string"||!g.match(/^0x[0-9A-Fa-f]*$/)||A&&g.length!==2+2*A)}var o="0123456789abcdef";function a(g,A){if(A||(A={}),typeof g=="number"){p.checkSafeUint53(g,"invalid hexlify value");for(var T="";g;)T=o[15&g]+T,g=Math.floor(g/16);return T.length?(T.length%2&&(T="0"+T),"0x"+T):"0x00"}if(typeof g=="bigint")return(g=g.toString(16)).length%2?"0x0"+g:"0x"+g;if(A.allowMissingPrefix&&typeof g=="string"&&g.substring(0,2)!=="0x"&&(g="0x"+g),l(g))return g.toHexString();if(r(g))return g.length%2&&(A.hexPad==="left"?g="0x0"+g.substring(2):A.hexPad==="right"?g+="0":p.throwArgumentError("hex data is odd-length","value",g)),g.toLowerCase();if(e(g)){for(var S="0x",E=0;E<g.length;E++){var k=g[E];S+=o[(240&k)>>4]+o[15&k]}return S}return p.throwArgumentError("invalid hexlify value","value",g)}function d(g){typeof g!="string"&&(g=a(g)),r(g)||p.throwArgumentError("invalid hex string","value",g),g=g.substring(2);for(var A=0;A<g.length&&g[A]==="0";)A++;return"0x"+g.substring(A)}function b(g,A){for(typeof g!="string"?g=a(g):r(g)||p.throwArgumentError("invalid hex string","value",g),g.length>2*A+2&&p.throwArgumentError("value out of range","value",arguments[1]);g.length<2*A+2;)g="0x0"+g.substring(2);return g}function w(g){var A={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(s(g)){var T=u(g);T.length===64?(A.v=27+(T[32]>>7),T[32]&=127,A.r=a(T.slice(0,32)),A.s=a(T.slice(32,64))):T.length===65?(A.r=a(T.slice(0,32)),A.s=a(T.slice(32,64)),A.v=T[64]):p.throwArgumentError("invalid signature string","signature",g),A.v<27&&(A.v===0||A.v===1?A.v+=27:p.throwArgumentError("signature invalid v byte","signature",g)),A.recoveryParam=1-A.v%2,A.recoveryParam&&(T[32]|=128),A._vs=a(T.slice(32,64))}else{if(A.r=g.r,A.s=g.s,A.v=g.v,A.recoveryParam=g.recoveryParam,A._vs=g._vs,A._vs!=null){var S=i(u(A._vs),32);A._vs=a(S);var E=S[0]>=128?1:0;A.recoveryParam==null?A.recoveryParam=E:A.recoveryParam!==E&&p.throwArgumentError("signature recoveryParam mismatch _vs","signature",g),S[0]&=127;var k=a(S);A.s==null?A.s=k:A.s!==k&&p.throwArgumentError("signature v mismatch _vs","signature",g)}if(A.recoveryParam==null)A.v==null?p.throwArgumentError("signature missing v and recoveryParam","signature",g):A.v===0||A.v===1?A.recoveryParam=A.v:A.recoveryParam=1-A.v%2;else if(A.v==null)A.v=27+A.recoveryParam;else{var I=A.v===0||A.v===1?A.v:1-A.v%2;A.recoveryParam!==I&&p.throwArgumentError("signature recoveryParam mismatch v","signature",g)}A.r!=null&&r(A.r)?A.r=b(A.r,32):p.throwArgumentError("signature missing or invalid r","signature",g),A.s!=null&&r(A.s)?A.s=b(A.s,32):p.throwArgumentError("signature missing or invalid s","signature",g);var N=u(A.s);N[0]>=128&&p.throwArgumentError("signature s out of range","signature",g),A.recoveryParam&&(N[0]|=128);var D=a(N);A._vs&&(r(A._vs)||p.throwArgumentError("signature invalid _vs","signature",g),A._vs=b(A._vs,32)),A._vs==null?A._vs=D:A._vs!==D&&p.throwArgumentError("signature _vs mismatch v and s","signature",g)}return A.yParityAndS=A._vs,A.compact=A.r+A.yParityAndS.substring(2),A}},8721:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.AddressZero=void 0,y.AddressZero="0x0000000000000000000000000000000000000000"},2997:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.Zero=y.WeiPerEther=y.Two=y.One=y.NegativeOne=y.MinInt256=y.MaxUint256=y.MaxInt256=void 0;var h=c(4952),v=h.BigNumber.from(-1);y.NegativeOne=v;var p=h.BigNumber.from(0);y.Zero=p;var l=h.BigNumber.from(1);y.One=l;var t=h.BigNumber.from(2);y.Two=t;var s=h.BigNumber.from("1000000000000000000");y.WeiPerEther=s;var f=h.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");y.MaxUint256=f;var e=h.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");y.MinInt256=e;var u=h.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");y.MaxInt256=u},396:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.HashZero=void 0,y.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"},5465:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"AddressZero",{enumerable:!0,get:function(){return h.AddressZero}}),Object.defineProperty(y,"EtherSymbol",{enumerable:!0,get:function(){return l.EtherSymbol}}),Object.defineProperty(y,"HashZero",{enumerable:!0,get:function(){return p.HashZero}}),Object.defineProperty(y,"MaxInt256",{enumerable:!0,get:function(){return v.MaxInt256}}),Object.defineProperty(y,"MaxUint256",{enumerable:!0,get:function(){return v.MaxUint256}}),Object.defineProperty(y,"MinInt256",{enumerable:!0,get:function(){return v.MinInt256}}),Object.defineProperty(y,"NegativeOne",{enumerable:!0,get:function(){return v.NegativeOne}}),Object.defineProperty(y,"One",{enumerable:!0,get:function(){return v.One}}),Object.defineProperty(y,"Two",{enumerable:!0,get:function(){return v.Two}}),Object.defineProperty(y,"WeiPerEther",{enumerable:!0,get:function(){return v.WeiPerEther}}),Object.defineProperty(y,"Zero",{enumerable:!0,get:function(){return v.Zero}});var h=c(8721),v=c(2997),p=c(396),l=c(8347)},8347:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.EtherSymbol=void 0,y.EtherSymbol="Ξ"},3989:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="hash/5.7.0"},3731:(R,y)=>{function c(i,r){r==null&&(r=1);var o=[],a=o.forEach;return function d(b,w){a.call(b,function(g){w>0&&Array.isArray(g)?d(g,w-1):o.push(g)})}(i,r),o}function h(i){var r=0;function o(){return i[r++]<<8|i[r++]}for(var a=o(),d=1,b=[0,1],w=1;w<a;w++)b.push(d+=o());var g=o(),A=r;r+=g;var T=0,S=0;function E(){return T==0&&(S=S<<8|i[r++],T=8),S>>--T&1}for(var k=Math.pow(2,31),I=k>>>1,N=I>>1,D=k-1,L=0,m=0;m<31;m++)L=L<<1|E();for(var P=[],C=0,B=k;;){for(var x=Math.floor(((L-C+1)*d-1)/B),j=0,K=a;K-j>1;){var V=j+K>>>1;x<b[V]?K=V:j=V}if(j==0)break;P.push(j);for(var J=C+Math.floor(B*b[j]/d),O=C+Math.floor(B*b[j+1]/d)-1;!((J^O)&I);)L=L<<1&D|E(),J=J<<1&D,O=O<<1&D|1;for(;J&~O&N;)L=L&I|L<<1&D>>>1|E(),J=J<<1^I,O=(O^I)<<1|I|1;C=J,B=1+O-J}var F=a-4;return P.map(function(G){switch(G-F){case 3:return F+65792+(i[A++]<<16|i[A++]<<8|i[A++]);case 2:return F+256+(i[A++]<<8|i[A++]);case 1:return F+i[A++];default:return G-1}})}function v(i){var r=0;return function(){return i[r++]}}function p(i){return 1&i?~i>>1:i>>1}function l(i,r){for(var o=Array(i),a=0,d=-1;a<i;a++)o[a]=d+=1+r();return o}function t(i,r){for(var o=Array(i),a=0,d=0;a<i;a++)o[a]=d+=p(r());return o}function s(i,r){for(var o=l(i(),i),a=i(),d=l(a,i),b=function(A,T){for(var S=Array(A),E=0;E<A;E++)S[E]=1+T();return S}(a,i),w=0;w<a;w++)for(var g=0;g<b[w];g++)o.push(d[w]+g);return r?o.map(function(A){return r[A]}):o}function f(i){for(var r=[];;){var o=i();if(o==0)break;r.push(o)}return r}function e(i,r,o){for(var a=Array(i).fill(void 0).map(function(){return[]}),d=0;d<r;d++)t(i,o).forEach(function(b,w){return a[w].push(b)});return a}function u(i,r){var o=1+r(),a=r(),d=f(r);return c(e(d.length,1+i,r).map(function(b,w){var g=b[0],A=b.slice(1);return Array(d[w]).fill(void 0).map(function(T,S){var E=S*a;return[g+S*o,A.map(function(k){return k+E})]})}))}function n(i,r){return e(1+r(),1+i,r).map(function(o){return[o[0],o.slice(1)]})}Object.defineProperty(y,"__esModule",{value:!0}),y.decode_arithmetic=h,y.read_compressed_payload=function(i){return v(h(i))},y.read_emoji_trie=function(i){var r=s(i).sort(function(o,a){return o-a});return function o(){for(var a=[];;){var d=s(i,r);if(d.length==0)break;a.push({set:new Set(d),node:o()})}a.sort(function(w,g){return g.set.size-w.set.size});var b=i();return{branches:a,valid:b%3,fe0f:!!(1&(b=b/3|0)),save:(b>>=1)==1,check:b==2}}()},y.read_mapped_map=function(i){for(var r=[];;){var o=i();if(o==0)break;r.push(u(o,i))}for(;;){var a=i()-1;if(a<0)break;r.push(n(a,i))}return function(d){for(var b={},w=0;w<d.length;w++){var g=d[w];b[g[0]]=g[1]}return b}(c(r))},y.read_member_array=s,y.read_payload=v,y.read_zero_terminated_array=f,y.signed=p},3961:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.getData=function(){return(0,v.read_compressed_payload)((0,h.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))};var h=c(997),v=c(3731)},7032:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.ens_normalize=function(b){return a(function(w,g){for(var A=r(w).reverse(),T=[];A.length;){var S=d(A);if(S)T.push.apply(T,(0,v.default)(g(S)));else{var E=A.pop();if(e.has(E))T.push(E);else if(!u.has(E)){var k=n[E];if(!k)throw new Error("Disallowed codepoint: 0x".concat(E.toString(16).toUpperCase()));T.push.apply(T,(0,v.default)(k))}}}return a(String.fromCodePoint.apply(String,T).normalize("NFC"))}(b,o))},y.ens_normalize_post_check=a;var v=h(c(3106)),p=c(8627),l=c(3961),t=c(3731);function s(b,w){(w==null||w>b.length)&&(w=b.length);for(var g=0,A=new Array(w);g<w;g++)A[g]=b[g];return A}var f=(0,l.getData)(),e=new Set((0,t.read_member_array)(f)),u=new Set((0,t.read_member_array)(f)),n=(0,t.read_mapped_map)(f),i=(0,t.read_emoji_trie)(f);function r(b){return(0,p.toUtf8CodePoints)(b)}function o(b){return b.filter(function(w){return w!=65039})}function a(b){var w,g=function(E,k){var I=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!I){if(Array.isArray(E)||(I=function(C,B){if(C){if(typeof C=="string")return s(C,B);var x=Object.prototype.toString.call(C).slice(8,-1);return x==="Object"&&C.constructor&&(x=C.constructor.name),x==="Map"||x==="Set"?Array.from(C):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?s(C,B):void 0}}(E))||k&&E&&typeof E.length=="number"){I&&(E=I);var N=0,D=function(){};return{s:D,n:function(){return N>=E.length?{done:!0}:{done:!1,value:E[N++]}},e:function(C){throw C},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L,m=!0,P=!1;return{s:function(){I=I.call(E)},n:function(){var C=I.next();return m=C.done,C},e:function(C){P=!0,L=C},f:function(){try{m||I.return==null||I.return()}finally{if(P)throw L}}}}(b.split("."));try{for(g.s();!(w=g.n()).done;){var A=w.value,T=r(A);try{for(var S=T.lastIndexOf(95)-1;S>=0;S--)if(T[S]!==95)throw new Error("underscore only allowed at start");if(T.length>=4&&T.every(function(E){return E<128})&&T[2]===45&&T[3]===45)throw new Error("invalid label extension")}catch(E){throw new Error('Invalid label "'.concat(A,'": ').concat(E.message))}}}catch(E){g.e(E)}finally{g.f()}return b}function d(b,w){var g,A,T,S=i,E=[],k=b.length;w&&(w.length=0);for(var I=function(){var N=b[--k];if(!(S=(g=S.branches.find(function(D){return D.set.has(N)}))===null||g===void 0?void 0:g.node))return"break";if(S.save)T=N;else if(S.check&&N===T)return"break";E.push(N),S.fe0f&&(E.push(65039),k>0&&b[k-1]==65039&&k--),S.valid&&(A=E.slice(),S.valid==2&&A.splice(1,1),w&&w.push.apply(w,(0,v.default)(b.slice(k).reverse())),b.length=k)};k&&I()!=="break";);return A}},7901:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.id=function(p){return(0,h.keccak256)((0,v.toUtf8Bytes)(p))};var h=c(4642),v=c(8627)},7515:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"_TypedDataEncoder",{enumerable:!0,get:function(){return l.TypedDataEncoder}}),Object.defineProperty(y,"dnsEncode",{enumerable:!0,get:function(){return v.dnsEncode}}),Object.defineProperty(y,"ensNormalize",{enumerable:!0,get:function(){return v.ensNormalize}}),Object.defineProperty(y,"hashMessage",{enumerable:!0,get:function(){return p.hashMessage}}),Object.defineProperty(y,"id",{enumerable:!0,get:function(){return h.id}}),Object.defineProperty(y,"isValidName",{enumerable:!0,get:function(){return v.isValidName}}),Object.defineProperty(y,"messagePrefix",{enumerable:!0,get:function(){return p.messagePrefix}}),Object.defineProperty(y,"namehash",{enumerable:!0,get:function(){return v.namehash}});var h=c(7901),v=c(4898),p=c(4443),l=c(2171)},4443:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.hashMessage=function(t){return typeof t=="string"&&(t=(0,p.toUtf8Bytes)(t)),(0,v.keccak256)((0,h.concat)([(0,p.toUtf8Bytes)(l),(0,p.toUtf8Bytes)(String(t.length)),t]))},y.messagePrefix=void 0;var h=c(908),v=c(4642),p=c(8627),l=`Ethereum Signed Message:
3
+ `;y.messagePrefix=l},4898:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.dnsEncode=function(i){return(0,h.hexlify)((0,h.concat)(n(i).map(function(r){if(r.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var o=new Uint8Array(r.length+1);return o.set(r,1),o[0]=o.length-1,o})))+"00"},y.ensNormalize=function(i){return n(i).map(function(r){return(0,v.toUtf8String)(r)}).join(".")},y.isValidName=function(i){try{return n(i).length!==0}catch{}return!1},y.namehash=function(i){typeof i!="string"&&f.throwArgumentError("invalid ENS name; not a string","name",i);for(var r=e,o=n(i);o.length;)r=(0,p.keccak256)((0,h.concat)([r,(0,p.keccak256)(o.pop())]));return(0,h.hexlify)(r)};var h=c(908),v=c(8627),p=c(4642),l=c(4327),t=c(3989),s=c(7032),f=new l.Logger(t.version),e=new Uint8Array(32);function u(i){if(i.length===0)throw new Error("invalid ENS name; empty component");return i}function n(i){var r=(0,v.toUtf8Bytes)((0,s.ens_normalize)(i)),o=[];if(i.length===0)return o;for(var a=0,d=0;d<r.length;d++)r[d]===46&&(o.push(u(r.slice(a,d))),a=d+1);if(a>=r.length)throw new Error("invalid ENS name; empty component");return o.push(u(r.slice(a))),o}e.fill(0)},2171:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.TypedDataEncoder=void 0;var v=h(c(2247)),p=h(c(9721)),l=h(c(8985)),t=c(7921),s=c(4952),f=c(908),e=c(4642),u=c(3694),n=c(4327),i=c(3989),r=c(7901),o=new n.Logger(i.version),a=new Uint8Array(32);a.fill(0);var d=s.BigNumber.from(-1),b=s.BigNumber.from(0),w=s.BigNumber.from(1),g=s.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),A=(0,f.hexZeroPad)(w.toHexString(),32),T=(0,f.hexZeroPad)(b.toHexString(),32),S={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},E=["name","version","chainId","verifyingContract","salt"];function k(m){return function(P){return typeof P!="string"&&o.throwArgumentError("invalid domain value for ".concat(JSON.stringify(m)),"domain.".concat(m),P),P}}var I={name:k("name"),version:k("version"),chainId:function(m){try{return s.BigNumber.from(m).toString()}catch{}return o.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",m)},verifyingContract:function(m){try{return(0,t.getAddress)(m).toLowerCase()}catch{}return o.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",m)},salt:function(m){try{var P=(0,f.arrayify)(m);if(P.length!==32)throw new Error("bad length");return(0,f.hexlify)(P)}catch{}return o.throwArgumentError('invalid domain value "salt"',"domain.salt",m)}};function N(m){var P=m.match(/^(u?)int(\d*)$/);if(P){var C=P[1]==="",B=parseInt(P[2]||"256");(B%8!=0||B>256||P[2]&&P[2]!==String(B))&&o.throwArgumentError("invalid numeric width","type",m);var x=g.mask(C?B-1:B),j=C?x.add(w).mul(d):b;return function(J){var O=s.BigNumber.from(J);return(O.lt(j)||O.gt(x))&&o.throwArgumentError("value out-of-bounds for ".concat(m),"value",J),(0,f.hexZeroPad)(O.toTwos(256).toHexString(),32)}}var K=m.match(/^bytes(\d+)$/);if(K){var V=parseInt(K[1]);return(V===0||V>32||K[1]!==String(V))&&o.throwArgumentError("invalid bytes width","type",m),function(J){return(0,f.arrayify)(J).length!==V&&o.throwArgumentError("invalid length for ".concat(m),"value",J),function(O){var F=(0,f.arrayify)(O),G=F.length%32;return G?(0,f.hexConcat)([F,a.slice(G)]):(0,f.hexlify)(F)}(J)}}switch(m){case"address":return function(J){return(0,f.hexZeroPad)((0,t.getAddress)(J),32)};case"bool":return function(J){return J?A:T};case"bytes":return function(J){return(0,e.keccak256)(J)};case"string":return function(J){return(0,r.id)(J)}}return null}function D(m,P){return"".concat(m,"(").concat(P.map(function(C){var B=C.name;return C.type+" "+B}).join(","),")")}var L=function(){function m(P){(0,p.default)(this,m),(0,u.defineReadOnly)(this,"types",Object.freeze((0,u.deepCopy)(P))),(0,u.defineReadOnly)(this,"_encoderCache",{}),(0,u.defineReadOnly)(this,"_types",{});var C={},B={},x={};Object.keys(P).forEach(function(F){C[F]={},B[F]=[],x[F]={}});var j=function(F){var G={};P[F].forEach(function(H){G[H.name]&&o.throwArgumentError("duplicate variable name ".concat(JSON.stringify(H.name)," in ").concat(JSON.stringify(F)),"types",P),G[H.name]=!0;var M=H.type.match(/^([^\x5b]*)(\x5b|$)/)[1];M===F&&o.throwArgumentError("circular type reference to ".concat(JSON.stringify(M)),"types",P),N(M)||(B[M]||o.throwArgumentError("unknown type ".concat(JSON.stringify(M)),"types",P),B[M].push(F),C[F][M]=!0)})};for(var K in P)j(K);var V=Object.keys(B).filter(function(F){return B[F].length===0});for(var J in V.length===0?o.throwArgumentError("missing primary type","types",P):V.length>1&&o.throwArgumentError("ambiguous primary types or unused types: ".concat(V.map(function(F){return JSON.stringify(F)}).join(", ")),"types",P),(0,u.defineReadOnly)(this,"primaryType",V[0]),function F(G,H){H[G]&&o.throwArgumentError("circular type reference to ".concat(JSON.stringify(G)),"types",P),H[G]=!0,Object.keys(C[G]).forEach(function(M){B[M]&&(F(M,H),Object.keys(H).forEach(function(_){x[_][M]=!0}))}),delete H[G]}(this.primaryType,{}),x){var O=Object.keys(x[J]);O.sort(),this._types[J]=D(J,P[J])+O.map(function(F){return D(F,P[F])}).join("")}}return(0,l.default)(m,[{key:"getEncoder",value:function(P){var C=this._encoderCache[P];return C||(C=this._encoderCache[P]=this._getEncoder(P)),C}},{key:"_getEncoder",value:function(P){var C=this,B=N(P);if(B)return B;var x=P.match(/^(.*)(\x5b(\d*)\x5d)$/);if(x){var j=x[1],K=this.getEncoder(j),V=parseInt(x[3]);return function(F){V>=0&&F.length!==V&&o.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",F);var G=F.map(K);return C._types[j]&&(G=G.map(e.keccak256)),(0,e.keccak256)((0,f.hexConcat)(G))}}var J=this.types[P];if(J){var O=(0,r.id)(this._types[P]);return function(F){var G=J.map(function(H){var M=H.name,_=H.type,U=C.getEncoder(_)(F[M]);return C._types[_]?(0,e.keccak256)(U):U});return G.unshift(O),(0,f.hexConcat)(G)}}return o.throwArgumentError("unknown type: ".concat(P),"type",P)}},{key:"encodeType",value:function(P){var C=this._types[P];return C||o.throwArgumentError("unknown type: ".concat(JSON.stringify(P)),"name",P),C}},{key:"encodeData",value:function(P,C){return this.getEncoder(P)(C)}},{key:"hashStruct",value:function(P,C){return(0,e.keccak256)(this.encodeData(P,C))}},{key:"encode",value:function(P){return this.encodeData(this.primaryType,P)}},{key:"hash",value:function(P){return this.hashStruct(this.primaryType,P)}},{key:"_visit",value:function(P,C,B){var x=this;if(N(P))return B(P,C);var j=P.match(/^(.*)(\x5b(\d*)\x5d)$/);if(j){var K=j[1],V=parseInt(j[3]);return V>=0&&C.length!==V&&o.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",C),C.map(function(O){return x._visit(K,O,B)})}var J=this.types[P];return J?J.reduce(function(O,F){var G=F.name,H=F.type;return O[G]=x._visit(H,C[G],B),O},{}):o.throwArgumentError("unknown type: ".concat(P),"type",P)}},{key:"visit",value:function(P,C){return this._visit(this.primaryType,P,C)}}],[{key:"from",value:function(P){return new m(P)}},{key:"getPrimaryType",value:function(P){return m.from(P).primaryType}},{key:"hashStruct",value:function(P,C,B){return m.from(C).hashStruct(P,B)}},{key:"hashDomain",value:function(P){var C=[];for(var B in P){var x=S[B];x||o.throwArgumentError("invalid typed-data domain key: ".concat(JSON.stringify(B)),"domain",P),C.push({name:B,type:x})}return C.sort(function(j,K){return E.indexOf(j.name)-E.indexOf(K.name)}),m.hashStruct("EIP712Domain",{EIP712Domain:C},P)}},{key:"encode",value:function(P,C,B){return(0,f.hexConcat)(["0x1901",m.hashDomain(P),m.from(C).hash(B)])}},{key:"hash",value:function(P,C,B){return(0,e.keccak256)(m.encode(P,C,B))}},{key:"resolveNames",value:function(P,C,B,x){return j=this,K=void 0,V=void 0,J=v.default.mark(function O(){var F,G,H;return v.default.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:P=(0,u.shallowCopy)(P),F={},P.verifyingContract&&!(0,f.isHexString)(P.verifyingContract,20)&&(F[P.verifyingContract]="0x"),(G=m.from(C)).visit(B,function(_,U){return _!=="address"||(0,f.isHexString)(U,20)||(F[U]="0x"),U}),M.t0=v.default.keys(F);case 6:if((M.t1=M.t0()).done){M.next=13;break}return H=M.t1.value,M.next=10,x(H);case 10:F[H]=M.sent,M.next=6;break;case 13:return P.verifyingContract&&F[P.verifyingContract]&&(P.verifyingContract=F[P.verifyingContract]),B=G.visit(B,function(_,U){return _==="address"&&F[U]?F[U]:U}),M.abrupt("return",{domain:P,value:B});case 16:case"end":return M.stop()}},O)}),new(V||(V=Promise))(function(O,F){function G(_){try{M(J.next(_))}catch(U){F(U)}}function H(_){try{M(J.throw(_))}catch(U){F(U)}}function M(_){var U;_.done?O(_.value):(U=_.value,U instanceof V?U:new V(function(q){q(U)})).then(G,H)}M((J=J.apply(j,K||[])).next())});var j,K,V,J}},{key:"getPayload",value:function(P,C,B){m.hashDomain(P);var x={},j=[];E.forEach(function(J){var O=P[J];O!=null&&(x[J]=I[J](O),j.push({name:J,type:S[J]}))});var K=m.from(C),V=(0,u.shallowCopy)(C);return V.EIP712Domain?o.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",C):V.EIP712Domain=j,K.encode(B),{types:V,domain:x,primaryType:K.primaryType,message:K.visit(B,function(J,O){if(J.match(/^bytes(\d*)/))return(0,f.hexlify)((0,f.arrayify)(O));if(J.match(/^u?int/))return s.BigNumber.from(O).toString();switch(J){case"address":return O.toLowerCase();case"bool":return!!O;case"string":return typeof O!="string"&&o.throwArgumentError("invalid string","value",O),O}return o.throwArgumentError("unsupported type","type",J)})}}}]),m}();y.TypedDataEncoder=L},4642:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.keccak256=function(l){return"0x"+v.default.keccak_256((0,p.arrayify)(l))};var v=h(c(5975)),p=c(908)},5975:(R,y,c)=>{R=c.nmd(R);var h,v=c(9142),p=c(8847)(c(3355));(function(){var l="input is invalid type",t=(typeof window>"u"?"undefined":(0,p.default)(window))==="object",s=t?window:{};s.JS_SHA3_NO_WINDOW&&(t=!1);var f=!t&&(typeof self>"u"?"undefined":(0,p.default)(self))==="object";!s.JS_SHA3_NO_NODE_JS&&(v===void 0?"undefined":(0,p.default)(v))==="object"&&v.versions&&v.versions.node?s=c.g:f&&(s=self);var e=!s.JS_SHA3_NO_COMMON_JS&&(0,p.default)(R)==="object"&&R.exports,u=c.amdO,n=!s.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",i="0123456789abcdef".split(""),r=[4,1024,262144,67108864],o=[0,8,16,24],a=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],d=[224,256,384,512],b=[128,256],w=["hex","buffer","arrayBuffer","array","digest"],g={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(O){return Object.prototype.toString.call(O)==="[object Array]"}),!n||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(O){return(0,p.default)(O)==="object"&&O.buffer&&O.buffer.constructor===ArrayBuffer});for(var A=function(O,F,G){return function(H){return new K(O,F,O).update(H)[G]()}},T=function(O,F,G){return function(H,M){return new K(O,F,M).update(H)[G]()}},S=function(O,F,G){return function(H,M,_,U){return D["cshake"+O].update(H,M,_,U)[G]()}},E=function(O,F,G){return function(H,M,_,U){return D["kmac"+O].update(H,M,_,U)[G]()}},k=function(O,F,G,H){for(var M=0;M<w.length;++M){var _=w[M];O[_]=F(G,H,_)}return O},I=function(O,F){var G=A(O,F,"hex");return G.create=function(){return new K(O,F,O)},G.update=function(H){return G.create().update(H)},k(G,A,O,F)},N=[{name:"keccak",padding:[1,256,65536,16777216],bits:d,createMethod:I},{name:"sha3",padding:[6,1536,393216,100663296],bits:d,createMethod:I},{name:"shake",padding:[31,7936,2031616,520093696],bits:b,createMethod:function(O,F){var G=T(O,F,"hex");return G.create=function(H){return new K(O,F,H)},G.update=function(H,M){return G.create(M).update(H)},k(G,T,O,F)}},{name:"cshake",padding:r,bits:b,createMethod:function(O,F){var G=g[O],H=S(O,0,"hex");return H.create=function(M,_,U){return _||U?new K(O,F,M).bytepad([_,U],G):D["shake"+O].create(M)},H.update=function(M,_,U,q){return H.create(_,U,q).update(M)},k(H,S,O,F)}},{name:"kmac",padding:r,bits:b,createMethod:function(O,F){var G=g[O],H=E(O,0,"hex");return H.create=function(M,_,U){return new V(O,F,_).bytepad(["KMAC",U],G).bytepad([M],G)},H.update=function(M,_,U,q){return H.create(M,U,q).update(_)},k(H,E,O,F)}}],D={},L=[],m=0;m<N.length;++m)for(var P=N[m],C=P.bits,B=0;B<C.length;++B){var x=P.name+"_"+C[B];if(L.push(x),D[x]=P.createMethod(C[B],P.padding),P.name!=="sha3"){var j=P.name+C[B];L.push(j),D[j]=D[x]}}function K(O,F,G){this.blocks=[],this.s=[],this.padding=F,this.outputBits=G,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(O<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=G>>5,this.extraBytes=(31&G)>>3;for(var H=0;H<50;++H)this.s[H]=0}function V(O,F,G){K.call(this,O,F,G)}K.prototype.update=function(O){if(this.finalized)throw new Error("finalize already called");var F,G=(0,p.default)(O);if(G!=="string"){if(G!=="object")throw new Error(l);if(O===null)throw new Error(l);if(n&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!(Array.isArray(O)||n&&ArrayBuffer.isView(O)))throw new Error(l);F=!0}for(var H,M,_=this.blocks,U=this.byteCount,q=O.length,z=this.blockCount,W=0,Y=this.s;W<q;){if(this.reset)for(this.reset=!1,_[0]=this.block,H=1;H<z+1;++H)_[H]=0;if(F)for(H=this.start;W<q&&H<U;++W)_[H>>2]|=O[W]<<o[3&H++];else for(H=this.start;W<q&&H<U;++W)(M=O.charCodeAt(W))<128?_[H>>2]|=M<<o[3&H++]:M<2048?(_[H>>2]|=(192|M>>6)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]):M<55296||M>=57344?(_[H>>2]|=(224|M>>12)<<o[3&H++],_[H>>2]|=(128|M>>6&63)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]):(M=65536+((1023&M)<<10|1023&O.charCodeAt(++W)),_[H>>2]|=(240|M>>18)<<o[3&H++],_[H>>2]|=(128|M>>12&63)<<o[3&H++],_[H>>2]|=(128|M>>6&63)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]);if(this.lastByteIndex=H,H>=U){for(this.start=H-U,this.block=_[z],H=0;H<z;++H)Y[H]^=_[H];J(Y),this.reset=!0}else this.start=H}return this},K.prototype.encode=function(O,F){var G=255&O,H=1,M=[G];for(G=255&(O>>=8);G>0;)M.unshift(G),G=255&(O>>=8),++H;return F?M.push(H):M.unshift(H),this.update(M),M.length},K.prototype.encodeString=function(O){var F,G=(0,p.default)(O);if(G!=="string"){if(G!=="object")throw new Error(l);if(O===null)throw new Error(l);if(n&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!(Array.isArray(O)||n&&ArrayBuffer.isView(O)))throw new Error(l);F=!0}var H=0,M=O.length;if(F)H=M;else for(var _=0;_<O.length;++_){var U=O.charCodeAt(_);U<128?H+=1:U<2048?H+=2:U<55296||U>=57344?H+=3:(U=65536+((1023&U)<<10|1023&O.charCodeAt(++_)),H+=4)}return H+=this.encode(8*H),this.update(O),H},K.prototype.bytepad=function(O,F){for(var G=this.encode(F),H=0;H<O.length;++H)G+=this.encodeString(O[H]);var M=F-G%F,_=[];return _.length=M,this.update(_),this},K.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var O=this.blocks,F=this.lastByteIndex,G=this.blockCount,H=this.s;if(O[F>>2]|=this.padding[3&F],this.lastByteIndex===this.byteCount)for(O[0]=O[G],F=1;F<G+1;++F)O[F]=0;for(O[G-1]|=2147483648,F=0;F<G;++F)H[F]^=O[F];J(H)}},K.prototype.toString=K.prototype.hex=function(){this.finalize();for(var O,F=this.blockCount,G=this.s,H=this.outputBlocks,M=this.extraBytes,_=0,U=0,q="";U<H;){for(_=0;_<F&&U<H;++_,++U)O=G[_],q+=i[O>>4&15]+i[15&O]+i[O>>12&15]+i[O>>8&15]+i[O>>20&15]+i[O>>16&15]+i[O>>28&15]+i[O>>24&15];U%F==0&&(J(G),_=0)}return M&&(O=G[_],q+=i[O>>4&15]+i[15&O],M>1&&(q+=i[O>>12&15]+i[O>>8&15]),M>2&&(q+=i[O>>20&15]+i[O>>16&15])),q},K.prototype.arrayBuffer=function(){this.finalize();var O,F=this.blockCount,G=this.s,H=this.outputBlocks,M=this.extraBytes,_=0,U=0,q=this.outputBits>>3;O=M?new ArrayBuffer(H+1<<2):new ArrayBuffer(q);for(var z=new Uint32Array(O);U<H;){for(_=0;_<F&&U<H;++_,++U)z[U]=G[_];U%F==0&&J(G)}return M&&(z[_]=G[_],O=O.slice(0,q)),O},K.prototype.buffer=K.prototype.arrayBuffer,K.prototype.digest=K.prototype.array=function(){this.finalize();for(var O,F,G=this.blockCount,H=this.s,M=this.outputBlocks,_=this.extraBytes,U=0,q=0,z=[];q<M;){for(U=0;U<G&&q<M;++U,++q)O=q<<2,F=H[U],z[O]=255&F,z[O+1]=F>>8&255,z[O+2]=F>>16&255,z[O+3]=F>>24&255;q%G==0&&J(H)}return _&&(O=q<<2,F=H[U],z[O]=255&F,_>1&&(z[O+1]=F>>8&255),_>2&&(z[O+2]=F>>16&255)),z},V.prototype=new K,V.prototype.finalize=function(){return this.encode(this.outputBits,!0),K.prototype.finalize.call(this)};var J=function(O){var F,G,H,M,_,U,q,z,W,Y,X,Q,$,Z,et,rt,nt,tt,ot,it,at,ut,st,ft,bt,ct,dt,Ot,lt,pt,jt,yt,mt,Ft,vt,gt,Lt,wt,At,Dt,kt,_t,Ht,St,Et,qt,xt,Pt,zt,Bt,Ct,Jt,Tt,It,Wt,Mt,Ut,Yt,Rt,Nt,Gt,Kt,Vt;for(H=0;H<48;H+=2)M=O[0]^O[10]^O[20]^O[30]^O[40],_=O[1]^O[11]^O[21]^O[31]^O[41],U=O[2]^O[12]^O[22]^O[32]^O[42],q=O[3]^O[13]^O[23]^O[33]^O[43],z=O[4]^O[14]^O[24]^O[34]^O[44],W=O[5]^O[15]^O[25]^O[35]^O[45],Y=O[6]^O[16]^O[26]^O[36]^O[46],X=O[7]^O[17]^O[27]^O[37]^O[47],F=(Q=O[8]^O[18]^O[28]^O[38]^O[48])^(U<<1|q>>>31),G=($=O[9]^O[19]^O[29]^O[39]^O[49])^(q<<1|U>>>31),O[0]^=F,O[1]^=G,O[10]^=F,O[11]^=G,O[20]^=F,O[21]^=G,O[30]^=F,O[31]^=G,O[40]^=F,O[41]^=G,F=M^(z<<1|W>>>31),G=_^(W<<1|z>>>31),O[2]^=F,O[3]^=G,O[12]^=F,O[13]^=G,O[22]^=F,O[23]^=G,O[32]^=F,O[33]^=G,O[42]^=F,O[43]^=G,F=U^(Y<<1|X>>>31),G=q^(X<<1|Y>>>31),O[4]^=F,O[5]^=G,O[14]^=F,O[15]^=G,O[24]^=F,O[25]^=G,O[34]^=F,O[35]^=G,O[44]^=F,O[45]^=G,F=z^(Q<<1|$>>>31),G=W^($<<1|Q>>>31),O[6]^=F,O[7]^=G,O[16]^=F,O[17]^=G,O[26]^=F,O[27]^=G,O[36]^=F,O[37]^=G,O[46]^=F,O[47]^=G,F=Y^(M<<1|_>>>31),G=X^(_<<1|M>>>31),O[8]^=F,O[9]^=G,O[18]^=F,O[19]^=G,O[28]^=F,O[29]^=G,O[38]^=F,O[39]^=G,O[48]^=F,O[49]^=G,Z=O[0],et=O[1],qt=O[11]<<4|O[10]>>>28,xt=O[10]<<4|O[11]>>>28,Ot=O[20]<<3|O[21]>>>29,lt=O[21]<<3|O[20]>>>29,Nt=O[31]<<9|O[30]>>>23,Gt=O[30]<<9|O[31]>>>23,_t=O[40]<<18|O[41]>>>14,Ht=O[41]<<18|O[40]>>>14,Ft=O[2]<<1|O[3]>>>31,vt=O[3]<<1|O[2]>>>31,rt=O[13]<<12|O[12]>>>20,nt=O[12]<<12|O[13]>>>20,Pt=O[22]<<10|O[23]>>>22,zt=O[23]<<10|O[22]>>>22,pt=O[33]<<13|O[32]>>>19,jt=O[32]<<13|O[33]>>>19,Kt=O[42]<<2|O[43]>>>30,Vt=O[43]<<2|O[42]>>>30,It=O[5]<<30|O[4]>>>2,Wt=O[4]<<30|O[5]>>>2,gt=O[14]<<6|O[15]>>>26,Lt=O[15]<<6|O[14]>>>26,tt=O[25]<<11|O[24]>>>21,ot=O[24]<<11|O[25]>>>21,Bt=O[34]<<15|O[35]>>>17,Ct=O[35]<<15|O[34]>>>17,yt=O[45]<<29|O[44]>>>3,mt=O[44]<<29|O[45]>>>3,ft=O[6]<<28|O[7]>>>4,bt=O[7]<<28|O[6]>>>4,Mt=O[17]<<23|O[16]>>>9,Ut=O[16]<<23|O[17]>>>9,wt=O[26]<<25|O[27]>>>7,At=O[27]<<25|O[26]>>>7,it=O[36]<<21|O[37]>>>11,at=O[37]<<21|O[36]>>>11,Jt=O[47]<<24|O[46]>>>8,Tt=O[46]<<24|O[47]>>>8,St=O[8]<<27|O[9]>>>5,Et=O[9]<<27|O[8]>>>5,ct=O[18]<<20|O[19]>>>12,dt=O[19]<<20|O[18]>>>12,Yt=O[29]<<7|O[28]>>>25,Rt=O[28]<<7|O[29]>>>25,Dt=O[38]<<8|O[39]>>>24,kt=O[39]<<8|O[38]>>>24,ut=O[48]<<14|O[49]>>>18,st=O[49]<<14|O[48]>>>18,O[0]=Z^~rt&tt,O[1]=et^~nt&ot,O[10]=ft^~ct&Ot,O[11]=bt^~dt&lt,O[20]=Ft^~gt&wt,O[21]=vt^~Lt&At,O[30]=St^~qt&Pt,O[31]=Et^~xt&zt,O[40]=It^~Mt&Yt,O[41]=Wt^~Ut&Rt,O[2]=rt^~tt&it,O[3]=nt^~ot&at,O[12]=ct^~Ot&pt,O[13]=dt^~lt&jt,O[22]=gt^~wt&Dt,O[23]=Lt^~At&kt,O[32]=qt^~Pt&Bt,O[33]=xt^~zt&Ct,O[42]=Mt^~Yt&Nt,O[43]=Ut^~Rt&Gt,O[4]=tt^~it&ut,O[5]=ot^~at&st,O[14]=Ot^~pt&yt,O[15]=lt^~jt&mt,O[24]=wt^~Dt&_t,O[25]=At^~kt&Ht,O[34]=Pt^~Bt&Jt,O[35]=zt^~Ct&Tt,O[44]=Yt^~Nt&Kt,O[45]=Rt^~Gt&Vt,O[6]=it^~ut&Z,O[7]=at^~st&et,O[16]=pt^~yt&ft,O[17]=jt^~mt&bt,O[26]=Dt^~_t&Ft,O[27]=kt^~Ht&vt,O[36]=Bt^~Jt&St,O[37]=Ct^~Tt&Et,O[46]=Nt^~Kt&It,O[47]=Gt^~Vt&Wt,O[8]=ut^~Z&rt,O[9]=st^~et&nt,O[18]=yt^~ft&ct,O[19]=mt^~bt&dt,O[28]=_t^~Ft&gt,O[29]=Ht^~vt&Lt,O[38]=Jt^~St&qt,O[39]=Tt^~Et&xt,O[48]=Kt^~It&Mt,O[49]=Vt^~Wt&Ut,O[0]^=a[H],O[1]^=a[H+1]};if(e)R.exports=D;else{for(m=0;m<L.length;++m)s[L[m]]=D[L[m]];u&&((h=(function(){return D}).call(y,c,y,R))===void 0||(R.exports=h))}})()},7252:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="logger/5.7.0"},4327:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.Logger=y.LogLevel=y.ErrorCode=void 0;var v,p,l=h(c(9721)),t=h(c(8985)),s=c(7252),f=!1,e=!1,u={debug:1,default:2,info:2,warning:3,error:4,off:5},n=u.default,i=null,r=function(){try{var d=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(b){try{if("test".normalize(b)!=="test")throw new Error("bad normalize")}catch{d.push(b)}}),d.length)throw new Error("missing "+d.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(b){return b.message}return null}();y.LogLevel=v,function(d){d.DEBUG="DEBUG",d.INFO="INFO",d.WARNING="WARNING",d.ERROR="ERROR",d.OFF="OFF"}(v||(y.LogLevel=v={})),y.ErrorCode=p,function(d){d.UNKNOWN_ERROR="UNKNOWN_ERROR",d.NOT_IMPLEMENTED="NOT_IMPLEMENTED",d.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",d.NETWORK_ERROR="NETWORK_ERROR",d.SERVER_ERROR="SERVER_ERROR",d.TIMEOUT="TIMEOUT",d.BUFFER_OVERRUN="BUFFER_OVERRUN",d.NUMERIC_FAULT="NUMERIC_FAULT",d.MISSING_NEW="MISSING_NEW",d.INVALID_ARGUMENT="INVALID_ARGUMENT",d.MISSING_ARGUMENT="MISSING_ARGUMENT",d.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",d.CALL_EXCEPTION="CALL_EXCEPTION",d.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",d.NONCE_EXPIRED="NONCE_EXPIRED",d.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",d.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",d.TRANSACTION_REPLACED="TRANSACTION_REPLACED",d.ACTION_REJECTED="ACTION_REJECTED"}(p||(y.ErrorCode=p={}));var o="0123456789abcdef",a=function(){function d(b){(0,l.default)(this,d),Object.defineProperty(this,"version",{enumerable:!0,value:b,writable:!1})}return(0,t.default)(d,[{key:"_log",value:function(b,w){var g=b.toLowerCase();u[g]==null&&this.throwArgumentError("invalid log level name","logLevel",b),n>u[g]||console.log.apply(console,w)}},{key:"debug",value:function(){for(var b=arguments.length,w=new Array(b),g=0;g<b;g++)w[g]=arguments[g];this._log(d.levels.DEBUG,w)}},{key:"info",value:function(){for(var b=arguments.length,w=new Array(b),g=0;g<b;g++)w[g]=arguments[g];this._log(d.levels.INFO,w)}},{key:"warn",value:function(){for(var b=arguments.length,w=new Array(b),g=0;g<b;g++)w[g]=arguments[g];this._log(d.levels.WARNING,w)}},{key:"makeError",value:function(b,w,g){if(e)return this.makeError("censored error",w,{});w||(w=d.errors.UNKNOWN_ERROR),g||(g={});var A=[];Object.keys(g).forEach(function(I){var N=g[I];try{if(N instanceof Uint8Array){for(var D="",L=0;L<N.length;L++)D+=o[N[L]>>4],D+=o[15&N[L]];A.push(I+"=Uint8Array(0x"+D+")")}else A.push(I+"="+JSON.stringify(N))}catch{A.push(I+"="+JSON.stringify(g[I].toString()))}}),A.push("code=".concat(w)),A.push("version=".concat(this.version));var T=b,S="";switch(w){case p.NUMERIC_FAULT:S="NUMERIC_FAULT";var E=b;switch(E){case"overflow":case"underflow":case"division-by-zero":S+="-"+E;break;case"negative-power":case"negative-width":S+="-unsupported";break;case"unbound-bitwise-result":S+="-unbound-result"}break;case p.CALL_EXCEPTION:case p.INSUFFICIENT_FUNDS:case p.MISSING_NEW:case p.NONCE_EXPIRED:case p.REPLACEMENT_UNDERPRICED:case p.TRANSACTION_REPLACED:case p.UNPREDICTABLE_GAS_LIMIT:S=w}S&&(b+=" [ See: https://links.ethers.org/v5-errors-"+S+" ]"),A.length&&(b+=" ("+A.join(", ")+")");var k=new Error(b);return k.reason=T,k.code=w,Object.keys(g).forEach(function(I){k[I]=g[I]}),k}},{key:"throwError",value:function(b,w,g){throw this.makeError(b,w,g)}},{key:"throwArgumentError",value:function(b,w,g){return this.throwError(b,d.errors.INVALID_ARGUMENT,{argument:w,value:g})}},{key:"assert",value:function(b,w,g,A){b||this.throwError(w,g,A)}},{key:"assertArgument",value:function(b,w,g,A){b||this.throwArgumentError(w,g,A)}},{key:"checkNormalize",value:function(b){r&&this.throwError("platform missing String.prototype.normalize",d.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:r})}},{key:"checkSafeUint53",value:function(b,w){typeof b=="number"&&(w==null&&(w="value not safe"),(b<0||b>=9007199254740991)&&this.throwError(w,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:b}),b%1&&this.throwError(w,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:b}))}},{key:"checkArgumentCount",value:function(b,w,g){g=g?": "+g:"",b<w&&this.throwError("missing argument"+g,d.errors.MISSING_ARGUMENT,{count:b,expectedCount:w}),b>w&&this.throwError("too many arguments"+g,d.errors.UNEXPECTED_ARGUMENT,{count:b,expectedCount:w})}},{key:"checkNew",value:function(b,w){b!==Object&&b!=null||this.throwError("missing new",d.errors.MISSING_NEW,{name:w.name})}},{key:"checkAbstract",value:function(b,w){b===w?this.throwError("cannot instantiate abstract class "+JSON.stringify(w.name)+" directly; use a sub-class",d.errors.UNSUPPORTED_OPERATION,{name:b.name,operation:"new"}):b!==Object&&b!=null||this.throwError("missing new",d.errors.MISSING_NEW,{name:w.name})}}],[{key:"globalLogger",value:function(){return i||(i=new d(s.version)),i}},{key:"setCensorship",value:function(b,w){if(!b&&w&&this.globalLogger().throwError("cannot permanently disable censorship",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),f){if(!b)return;this.globalLogger().throwError("error censorship permanent",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}e=!!b,f=!!w}},{key:"setLogLevel",value:function(b){var w=u[b.toLowerCase()];w!=null?n=w:d.globalLogger().warn("invalid log level - "+b)}},{key:"from",value:function(b){return new d(b)}}]),d}();y.Logger=a,a.errors=p,a.levels=v},4071:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="properties/5.7.0"},3694:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.Description=void 0,y.checkProperties=function(b,w){b&&(0,t.default)(b)==="object"||u.throwArgumentError("invalid object","object",b),Object.keys(b).forEach(function(g){w[g]||u.throwArgumentError("invalid object key - "+g,"transaction:"+g,b)})},y.deepCopy=a,y.defineReadOnly=n,y.getStatic=function(b,w){for(var g=0;g<32;g++){if(b[w])return b[w];if(!b.prototype||(0,t.default)(b.prototype)!=="object")break;b=Object.getPrototypeOf(b.prototype).constructor}return null},y.resolveProperties=function(b){return e(this,void 0,void 0,v.default.mark(function w(){var g,A;return v.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return g=Object.keys(b).map(function(S){var E=b[S];return Promise.resolve(E).then(function(k){return{key:S,value:k}})}),T.next=3,Promise.all(g);case 3:return A=T.sent,T.abrupt("return",A.reduce(function(S,E){return S[E.key]=E.value,S},{}));case 5:case"end":return T.stop()}},w)}))},y.shallowCopy=function(b){var w={};for(var g in b)w[g]=b[g];return w};var v=h(c(2247)),p=h(c(8985)),l=h(c(9721)),t=h(c(3355)),s=c(4327),f=c(4071),e=function(b,w,g,A){return new(g||(g=Promise))(function(T,S){function E(N){try{I(A.next(N))}catch(D){S(D)}}function k(N){try{I(A.throw(N))}catch(D){S(D)}}function I(N){var D;N.done?T(N.value):(D=N.value,D instanceof g?D:new g(function(L){L(D)})).then(E,k)}I((A=A.apply(b,w||[])).next())})},u=new s.Logger(f.version);function n(b,w,g){Object.defineProperty(b,w,{enumerable:!0,value:g,writable:!1})}var i={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function r(b){if(b==null||i[(0,t.default)(b)])return!0;if(Array.isArray(b)||(0,t.default)(b)==="object"){if(!Object.isFrozen(b))return!1;for(var w=Object.keys(b),g=0;g<w.length;g++){var A=null;try{A=b[w[g]]}catch{continue}if(!r(A))return!1}return!0}return u.throwArgumentError("Cannot deepCopy ".concat((0,t.default)(b)),"object",b)}function o(b){if(r(b))return b;if(Array.isArray(b))return Object.freeze(b.map(function(T){return a(T)}));if((0,t.default)(b)==="object"){var w={};for(var g in b){var A=b[g];A!==void 0&&n(w,g,a(A))}return w}return u.throwArgumentError("Cannot deepCopy ".concat((0,t.default)(b)),"object",b)}function a(b){return o(b)}var d=(0,p.default)(function b(w){for(var g in(0,l.default)(this,b),w)this[g]=a(w[g])});y.Description=d},1466:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="rlp/5.7.0"},5265:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.decode=function(n){var i=(0,h.arrayify)(n),r=u(i,0);return r.consumed!==i.length&&l.throwArgumentError("invalid rlp data","data",n),r.result},y.encode=function(n){return(0,h.hexlify)(f(n))};var h=c(908),v=c(4327),p=c(1466),l=new v.Logger(p.version);function t(n){for(var i=[];n;)i.unshift(255&n),n>>=8;return i}function s(n,i,r){for(var o=0,a=0;a<r;a++)o=256*o+n[i+a];return o}function f(n){if(Array.isArray(n)){var i=[];if(n.forEach(function(d){i=i.concat(f(d))}),i.length<=55)return i.unshift(192+i.length),i;var r=t(i.length);return r.unshift(247+r.length),r.concat(i)}(0,h.isBytesLike)(n)||l.throwArgumentError("RLP object must be BytesLike","object",n);var o=Array.prototype.slice.call((0,h.arrayify)(n));if(o.length===1&&o[0]<=127)return o;if(o.length<=55)return o.unshift(128+o.length),o;var a=t(o.length);return a.unshift(183+a.length),a.concat(o)}function e(n,i,r,o){for(var a=[];r<i+1+o;){var d=u(n,r);a.push(d.result),(r+=d.consumed)>i+1+o&&l.throwError("child data too short",v.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+o,result:a}}function u(n,i){if(n.length===0&&l.throwError("data too short",v.Logger.errors.BUFFER_OVERRUN,{}),n[i]>=248){var r=n[i]-247;i+1+r>n.length&&l.throwError("data short segment too short",v.Logger.errors.BUFFER_OVERRUN,{});var o=s(n,i+1,r);return i+1+r+o>n.length&&l.throwError("data long segment too short",v.Logger.errors.BUFFER_OVERRUN,{}),e(n,i,i+1+r,r+o)}if(n[i]>=192){var a=n[i]-192;return i+1+a>n.length&&l.throwError("data array too short",v.Logger.errors.BUFFER_OVERRUN,{}),e(n,i,i+1,a)}if(n[i]>=184){var d=n[i]-183;i+1+d>n.length&&l.throwError("data array too short",v.Logger.errors.BUFFER_OVERRUN,{});var b=s(n,i+1,d);return i+1+d+b>n.length&&l.throwError("data array too short",v.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+d+b,result:(0,h.hexlify)(n.slice(i+1+d,i+1+d+b))}}if(n[i]>=128){var w=n[i]-128;return i+1+w>n.length&&l.throwError("data too short",v.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+w,result:(0,h.hexlify)(n.slice(i+1,i+1+w))}}return{consumed:1,result:(0,h.hexlify)(n[i])}}},8100:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="signing-key/5.7.0"},6918:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.EC=void 0;var v=h(c(3355)),p=h(c(1734)),l=h(c(7198));function t(_,U,q){return q={path:U,exports:{},require:function(z,W){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(W==null&&q.path)}},_(q,q.exports),q.exports}typeof globalThis<"u"||typeof window<"u"||(c.g!==void 0?c.g:typeof self<"u");var s=f;function f(_,U){if(!_)throw new Error(U||"Assertion failed")}f.equal=function(_,U,q){if(_!=U)throw new Error(q||"Assertion failed: "+_+" != "+U)};var e=t(function(_,U){var q=U;function z(Y){return Y.length===1?"0"+Y:Y}function W(Y){for(var X="",Q=0;Q<Y.length;Q++)X+=z(Y[Q].toString(16));return X}q.toArray=function(Y,X){if(Array.isArray(Y))return Y.slice();if(!Y)return[];var Q=[];if(typeof Y!="string"){for(var $=0;$<Y.length;$++)Q[$]=0|Y[$];return Q}if(X==="hex")for((Y=Y.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(Y="0"+Y),$=0;$<Y.length;$+=2)Q.push(parseInt(Y[$]+Y[$+1],16));else for($=0;$<Y.length;$++){var Z=Y.charCodeAt($),et=Z>>8,rt=255&Z;et?Q.push(et,rt):Q.push(rt)}return Q},q.zero2=z,q.toHex=W,q.encode=function(Y,X){return X==="hex"?W(Y):Y}}),u=t(function(_,U){var q=U;q.assert=s,q.toArray=e.toArray,q.zero2=e.zero2,q.toHex=e.toHex,q.encode=e.encode,q.getNAF=function(z,W,Y){var X=new Array(Math.max(z.bitLength(),Y)+1);X.fill(0);for(var Q=1<<W+1,$=z.clone(),Z=0;Z<X.length;Z++){var et,rt=$.andln(Q-1);$.isOdd()?(et=rt>(Q>>1)-1?(Q>>1)-rt:rt,$.isubn(et)):et=0,X[Z]=et,$.iushrn(1)}return X},q.getJSF=function(z,W){var Y=[[],[]];z=z.clone(),W=W.clone();for(var X,Q=0,$=0;z.cmpn(-Q)>0||W.cmpn(-$)>0;){var Z,et,rt=z.andln(3)+Q&3,nt=W.andln(3)+$&3;rt===3&&(rt=-1),nt===3&&(nt=-1),Z=1&rt?(X=z.andln(7)+Q&7)!=3&&X!==5||nt!==2?rt:-rt:0,Y[0].push(Z),et=1&nt?(X=W.andln(7)+$&7)!=3&&X!==5||rt!==2?nt:-nt:0,Y[1].push(et),2*Q===Z+1&&(Q=1-Q),2*$===et+1&&($=1-$),z.iushrn(1),W.iushrn(1)}return Y},q.cachedProperty=function(z,W,Y){var X="_"+W;z.prototype[W]=function(){return this[X]!==void 0?this[X]:this[X]=Y.call(this)}},q.parseBytes=function(z){return typeof z=="string"?q.toArray(z,"hex"):z},q.intFromLE=function(z){return new p.default(z,"hex","le")}}),n=u.getNAF,i=u.getJSF,r=u.assert;function o(_,U){this.type=_,this.p=new p.default(U.p,16),this.red=U.prime?p.default.red(U.prime):p.default.mont(this.p),this.zero=new p.default(0).toRed(this.red),this.one=new p.default(1).toRed(this.red),this.two=new p.default(2).toRed(this.red),this.n=U.n&&new p.default(U.n,16),this.g=U.g&&this.pointFromJSON(U.g,U.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var q=this.n&&this.p.div(this.n);!q||q.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var a=o;function d(_,U){this.curve=_,this.type=U,this.precomputed=null}o.prototype.point=function(){throw new Error("Not implemented")},o.prototype.validate=function(){throw new Error("Not implemented")},o.prototype._fixedNafMul=function(_,U){r(_.precomputed);var q=_._getDoubles(),z=n(U,1,this._bitLength),W=(1<<q.step+1)-(q.step%2==0?2:1);W/=3;var Y,X,Q=[];for(Y=0;Y<z.length;Y+=q.step){X=0;for(var $=Y+q.step-1;$>=Y;$--)X=(X<<1)+z[$];Q.push(X)}for(var Z=this.jpoint(null,null,null),et=this.jpoint(null,null,null),rt=W;rt>0;rt--){for(Y=0;Y<Q.length;Y++)(X=Q[Y])===rt?et=et.mixedAdd(q.points[Y]):X===-rt&&(et=et.mixedAdd(q.points[Y].neg()));Z=Z.add(et)}return Z.toP()},o.prototype._wnafMul=function(_,U){var q=4,z=_._getNAFPoints(q);q=z.wnd;for(var W=z.points,Y=n(U,q,this._bitLength),X=this.jpoint(null,null,null),Q=Y.length-1;Q>=0;Q--){for(var $=0;Q>=0&&Y[Q]===0;Q--)$++;if(Q>=0&&$++,X=X.dblp($),Q<0)break;var Z=Y[Q];r(Z!==0),X=_.type==="affine"?Z>0?X.mixedAdd(W[Z-1>>1]):X.mixedAdd(W[-Z-1>>1].neg()):Z>0?X.add(W[Z-1>>1]):X.add(W[-Z-1>>1].neg())}return _.type==="affine"?X.toP():X},o.prototype._wnafMulAdd=function(_,U,q,z,W){var Y,X,Q,$=this._wnafT1,Z=this._wnafT2,et=this._wnafT3,rt=0;for(Y=0;Y<z;Y++){var nt=(Q=U[Y])._getNAFPoints(_);$[Y]=nt.wnd,Z[Y]=nt.points}for(Y=z-1;Y>=1;Y-=2){var tt=Y-1,ot=Y;if($[tt]===1&&$[ot]===1){var it=[U[tt],null,null,U[ot]];U[tt].y.cmp(U[ot].y)===0?(it[1]=U[tt].add(U[ot]),it[2]=U[tt].toJ().mixedAdd(U[ot].neg())):U[tt].y.cmp(U[ot].y.redNeg())===0?(it[1]=U[tt].toJ().mixedAdd(U[ot]),it[2]=U[tt].add(U[ot].neg())):(it[1]=U[tt].toJ().mixedAdd(U[ot]),it[2]=U[tt].toJ().mixedAdd(U[ot].neg()));var at=[-3,-1,-5,-7,0,7,5,1,3],ut=i(q[tt],q[ot]);for(rt=Math.max(ut[0].length,rt),et[tt]=new Array(rt),et[ot]=new Array(rt),X=0;X<rt;X++){var st=0|ut[0][X],ft=0|ut[1][X];et[tt][X]=at[3*(st+1)+(ft+1)],et[ot][X]=0,Z[tt]=it}}else et[tt]=n(q[tt],$[tt],this._bitLength),et[ot]=n(q[ot],$[ot],this._bitLength),rt=Math.max(et[tt].length,rt),rt=Math.max(et[ot].length,rt)}var bt=this.jpoint(null,null,null),ct=this._wnafT4;for(Y=rt;Y>=0;Y--){for(var dt=0;Y>=0;){var Ot=!0;for(X=0;X<z;X++)ct[X]=0|et[X][Y],ct[X]!==0&&(Ot=!1);if(!Ot)break;dt++,Y--}if(Y>=0&&dt++,bt=bt.dblp(dt),Y<0)break;for(X=0;X<z;X++){var lt=ct[X];lt!==0&&(lt>0?Q=Z[X][lt-1>>1]:lt<0&&(Q=Z[X][-lt-1>>1].neg()),bt=Q.type==="affine"?bt.mixedAdd(Q):bt.add(Q))}}for(Y=0;Y<z;Y++)Z[Y]=null;return W?bt:bt.toP()},o.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},o.prototype.decodePoint=function(_,U){_=u.toArray(_,U);var q=this.p.byteLength();if((_[0]===4||_[0]===6||_[0]===7)&&_.length-1==2*q)return _[0]===6?r(_[_.length-1]%2==0):_[0]===7&&r(_[_.length-1]%2==1),this.point(_.slice(1,1+q),_.slice(1+q,1+2*q));if((_[0]===2||_[0]===3)&&_.length-1===q)return this.pointFromX(_.slice(1,1+q),_[0]===3);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(_){return this.encode(_,!0)},d.prototype._encode=function(_){var U=this.curve.p.byteLength(),q=this.getX().toArray("be",U);return _?[this.getY().isEven()?2:3].concat(q):[4].concat(q,this.getY().toArray("be",U))},d.prototype.encode=function(_,U){return u.encode(this._encode(U),_)},d.prototype.precompute=function(_){if(this.precomputed)return this;var U={doubles:null,naf:null,beta:null};return U.naf=this._getNAFPoints(8),U.doubles=this._getDoubles(4,_),U.beta=this._getBeta(),this.precomputed=U,this},d.prototype._hasDoubles=function(_){if(!this.precomputed)return!1;var U=this.precomputed.doubles;return!!U&&U.points.length>=Math.ceil((_.bitLength()+1)/U.step)},d.prototype._getDoubles=function(_,U){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var q=[this],z=this,W=0;W<U;W+=_){for(var Y=0;Y<_;Y++)z=z.dbl();q.push(z)}return{step:_,points:q}},d.prototype._getNAFPoints=function(_){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var U=[this],q=(1<<_)-1,z=q===1?null:this.dbl(),W=1;W<q;W++)U[W]=U[W-1].add(z);return{wnd:_,points:U}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(_){for(var U=this,q=0;q<_;q++)U=U.dbl();return U};var b=t(function(_){typeof Object.create=="function"?_.exports=function(U,q){q&&(U.super_=q,U.prototype=Object.create(q.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}))}:_.exports=function(U,q){if(q){U.super_=q;var z=function(){};z.prototype=q.prototype,U.prototype=new z,U.prototype.constructor=U}}}),w=u.assert;function g(_){a.call(this,"short",_),this.a=new p.default(_.a,16).toRed(this.red),this.b=new p.default(_.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(_),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}b(g,a);var A=g;function T(_,U,q,z){a.BasePoint.call(this,_,"affine"),U===null&&q===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new p.default(U,16),this.y=new p.default(q,16),z&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function S(_,U,q,z){a.BasePoint.call(this,_,"jacobian"),U===null&&q===null&&z===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new p.default(0)):(this.x=new p.default(U,16),this.y=new p.default(q,16),this.z=new p.default(z,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}g.prototype._getEndomorphism=function(_){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var U,q;if(_.beta)U=new p.default(_.beta,16).toRed(this.red);else{var z=this._getEndoRoots(this.p);U=(U=z[0].cmp(z[1])<0?z[0]:z[1]).toRed(this.red)}if(_.lambda)q=new p.default(_.lambda,16);else{var W=this._getEndoRoots(this.n);this.g.mul(W[0]).x.cmp(this.g.x.redMul(U))===0?q=W[0]:(q=W[1],w(this.g.mul(q).x.cmp(this.g.x.redMul(U))===0))}return{beta:U,lambda:q,basis:_.basis?_.basis.map(function(Y){return{a:new p.default(Y.a,16),b:new p.default(Y.b,16)}}):this._getEndoBasis(q)}}},g.prototype._getEndoRoots=function(_){var U=_===this.p?this.red:p.default.mont(_),q=new p.default(2).toRed(U).redInvm(),z=q.redNeg(),W=new p.default(3).toRed(U).redNeg().redSqrt().redMul(q);return[z.redAdd(W).fromRed(),z.redSub(W).fromRed()]},g.prototype._getEndoBasis=function(_){for(var U,q,z,W,Y,X,Q,$,Z,et=this.n.ushrn(Math.floor(this.n.bitLength()/2)),rt=_,nt=this.n.clone(),tt=new p.default(1),ot=new p.default(0),it=new p.default(0),at=new p.default(1),ut=0;rt.cmpn(0)!==0;){var st=nt.div(rt);$=nt.sub(st.mul(rt)),Z=it.sub(st.mul(tt));var ft=at.sub(st.mul(ot));if(!z&&$.cmp(et)<0)U=Q.neg(),q=tt,z=$.neg(),W=Z;else if(z&&++ut==2)break;Q=$,nt=rt,rt=$,it=tt,tt=Z,at=ot,ot=ft}Y=$.neg(),X=Z;var bt=z.sqr().add(W.sqr());return Y.sqr().add(X.sqr()).cmp(bt)>=0&&(Y=U,X=q),z.negative&&(z=z.neg(),W=W.neg()),Y.negative&&(Y=Y.neg(),X=X.neg()),[{a:z,b:W},{a:Y,b:X}]},g.prototype._endoSplit=function(_){var U=this.endo.basis,q=U[0],z=U[1],W=z.b.mul(_).divRound(this.n),Y=q.b.neg().mul(_).divRound(this.n),X=W.mul(q.a),Q=Y.mul(z.a),$=W.mul(q.b),Z=Y.mul(z.b);return{k1:_.sub(X).sub(Q),k2:$.add(Z).neg()}},g.prototype.pointFromX=function(_,U){(_=new p.default(_,16)).red||(_=_.toRed(this.red));var q=_.redSqr().redMul(_).redIAdd(_.redMul(this.a)).redIAdd(this.b),z=q.redSqrt();if(z.redSqr().redSub(q).cmp(this.zero)!==0)throw new Error("invalid point");var W=z.fromRed().isOdd();return(U&&!W||!U&&W)&&(z=z.redNeg()),this.point(_,z)},g.prototype.validate=function(_){if(_.inf)return!0;var U=_.x,q=_.y,z=this.a.redMul(U),W=U.redSqr().redMul(U).redIAdd(z).redIAdd(this.b);return q.redSqr().redISub(W).cmpn(0)===0},g.prototype._endoWnafMulAdd=function(_,U,q){for(var z=this._endoWnafT1,W=this._endoWnafT2,Y=0;Y<_.length;Y++){var X=this._endoSplit(U[Y]),Q=_[Y],$=Q._getBeta();X.k1.negative&&(X.k1.ineg(),Q=Q.neg(!0)),X.k2.negative&&(X.k2.ineg(),$=$.neg(!0)),z[2*Y]=Q,z[2*Y+1]=$,W[2*Y]=X.k1,W[2*Y+1]=X.k2}for(var Z=this._wnafMulAdd(1,z,W,2*Y,q),et=0;et<2*Y;et++)z[et]=null,W[et]=null;return Z},b(T,a.BasePoint),g.prototype.point=function(_,U,q){return new T(this,_,U,q)},g.prototype.pointFromJSON=function(_,U){return T.fromJSON(this,_,U)},T.prototype._getBeta=function(){if(this.curve.endo){var _=this.precomputed;if(_&&_.beta)return _.beta;var U=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(_){var q=this.curve,z=function(W){return q.point(W.x.redMul(q.endo.beta),W.y)};_.beta=U,U.precomputed={beta:null,naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(z)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(z)}}}return U}},T.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},T.fromJSON=function(_,U,q){typeof U=="string"&&(U=JSON.parse(U));var z=_.point(U[0],U[1],q);if(!U[2])return z;function W(X){return _.point(X[0],X[1],q)}var Y=U[2];return z.precomputed={beta:null,doubles:Y.doubles&&{step:Y.doubles.step,points:[z].concat(Y.doubles.points.map(W))},naf:Y.naf&&{wnd:Y.naf.wnd,points:[z].concat(Y.naf.points.map(W))}},z},T.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},T.prototype.isInfinity=function(){return this.inf},T.prototype.add=function(_){if(this.inf)return _;if(_.inf)return this;if(this.eq(_))return this.dbl();if(this.neg().eq(_))return this.curve.point(null,null);if(this.x.cmp(_.x)===0)return this.curve.point(null,null);var U=this.y.redSub(_.y);U.cmpn(0)!==0&&(U=U.redMul(this.x.redSub(_.x).redInvm()));var q=U.redSqr().redISub(this.x).redISub(_.x),z=U.redMul(this.x.redSub(q)).redISub(this.y);return this.curve.point(q,z)},T.prototype.dbl=function(){if(this.inf)return this;var _=this.y.redAdd(this.y);if(_.cmpn(0)===0)return this.curve.point(null,null);var U=this.curve.a,q=this.x.redSqr(),z=_.redInvm(),W=q.redAdd(q).redIAdd(q).redIAdd(U).redMul(z),Y=W.redSqr().redISub(this.x.redAdd(this.x)),X=W.redMul(this.x.redSub(Y)).redISub(this.y);return this.curve.point(Y,X)},T.prototype.getX=function(){return this.x.fromRed()},T.prototype.getY=function(){return this.y.fromRed()},T.prototype.mul=function(_){return _=new p.default(_,16),this.isInfinity()?this:this._hasDoubles(_)?this.curve._fixedNafMul(this,_):this.curve.endo?this.curve._endoWnafMulAdd([this],[_]):this.curve._wnafMul(this,_)},T.prototype.mulAdd=function(_,U,q){var z=[this,U],W=[_,q];return this.curve.endo?this.curve._endoWnafMulAdd(z,W):this.curve._wnafMulAdd(1,z,W,2)},T.prototype.jmulAdd=function(_,U,q){var z=[this,U],W=[_,q];return this.curve.endo?this.curve._endoWnafMulAdd(z,W,!0):this.curve._wnafMulAdd(1,z,W,2,!0)},T.prototype.eq=function(_){return this===_||this.inf===_.inf&&(this.inf||this.x.cmp(_.x)===0&&this.y.cmp(_.y)===0)},T.prototype.neg=function(_){if(this.inf)return this;var U=this.curve.point(this.x,this.y.redNeg());if(_&&this.precomputed){var q=this.precomputed,z=function(W){return W.neg()};U.precomputed={naf:q.naf&&{wnd:q.naf.wnd,points:q.naf.points.map(z)},doubles:q.doubles&&{step:q.doubles.step,points:q.doubles.points.map(z)}}}return U},T.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},b(S,a.BasePoint),g.prototype.jpoint=function(_,U,q){return new S(this,_,U,q)},S.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var _=this.z.redInvm(),U=_.redSqr(),q=this.x.redMul(U),z=this.y.redMul(U).redMul(_);return this.curve.point(q,z)},S.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},S.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;var U=_.z.redSqr(),q=this.z.redSqr(),z=this.x.redMul(U),W=_.x.redMul(q),Y=this.y.redMul(U.redMul(_.z)),X=_.y.redMul(q.redMul(this.z)),Q=z.redSub(W),$=Y.redSub(X);if(Q.cmpn(0)===0)return $.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var Z=Q.redSqr(),et=Z.redMul(Q),rt=z.redMul(Z),nt=$.redSqr().redIAdd(et).redISub(rt).redISub(rt),tt=$.redMul(rt.redISub(nt)).redISub(Y.redMul(et)),ot=this.z.redMul(_.z).redMul(Q);return this.curve.jpoint(nt,tt,ot)},S.prototype.mixedAdd=function(_){if(this.isInfinity())return _.toJ();if(_.isInfinity())return this;var U=this.z.redSqr(),q=this.x,z=_.x.redMul(U),W=this.y,Y=_.y.redMul(U).redMul(this.z),X=q.redSub(z),Q=W.redSub(Y);if(X.cmpn(0)===0)return Q.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var $=X.redSqr(),Z=$.redMul(X),et=q.redMul($),rt=Q.redSqr().redIAdd(Z).redISub(et).redISub(et),nt=Q.redMul(et.redISub(rt)).redISub(W.redMul(Z)),tt=this.z.redMul(X);return this.curve.jpoint(rt,nt,tt)},S.prototype.dblp=function(_){if(_===0)return this;if(this.isInfinity())return this;if(!_)return this.dbl();var U;if(this.curve.zeroA||this.curve.threeA){var q=this;for(U=0;U<_;U++)q=q.dbl();return q}var z=this.curve.a,W=this.curve.tinv,Y=this.x,X=this.y,Q=this.z,$=Q.redSqr().redSqr(),Z=X.redAdd(X);for(U=0;U<_;U++){var et=Y.redSqr(),rt=Z.redSqr(),nt=rt.redSqr(),tt=et.redAdd(et).redIAdd(et).redIAdd(z.redMul($)),ot=Y.redMul(rt),it=tt.redSqr().redISub(ot.redAdd(ot)),at=ot.redISub(it),ut=tt.redMul(at);ut=ut.redIAdd(ut).redISub(nt);var st=Z.redMul(Q);U+1<_&&($=$.redMul(nt)),Y=it,Q=st,Z=ut}return this.curve.jpoint(Y,Z.redMul(W),Q)},S.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},S.prototype._zeroDbl=function(){var _,U,q;if(this.zOne){var z=this.x.redSqr(),W=this.y.redSqr(),Y=W.redSqr(),X=this.x.redAdd(W).redSqr().redISub(z).redISub(Y);X=X.redIAdd(X);var Q=z.redAdd(z).redIAdd(z),$=Q.redSqr().redISub(X).redISub(X),Z=Y.redIAdd(Y);Z=(Z=Z.redIAdd(Z)).redIAdd(Z),_=$,U=Q.redMul(X.redISub($)).redISub(Z),q=this.y.redAdd(this.y)}else{var et=this.x.redSqr(),rt=this.y.redSqr(),nt=rt.redSqr(),tt=this.x.redAdd(rt).redSqr().redISub(et).redISub(nt);tt=tt.redIAdd(tt);var ot=et.redAdd(et).redIAdd(et),it=ot.redSqr(),at=nt.redIAdd(nt);at=(at=at.redIAdd(at)).redIAdd(at),_=it.redISub(tt).redISub(tt),U=ot.redMul(tt.redISub(_)).redISub(at),q=(q=this.y.redMul(this.z)).redIAdd(q)}return this.curve.jpoint(_,U,q)},S.prototype._threeDbl=function(){var _,U,q;if(this.zOne){var z=this.x.redSqr(),W=this.y.redSqr(),Y=W.redSqr(),X=this.x.redAdd(W).redSqr().redISub(z).redISub(Y);X=X.redIAdd(X);var Q=z.redAdd(z).redIAdd(z).redIAdd(this.curve.a),$=Q.redSqr().redISub(X).redISub(X);_=$;var Z=Y.redIAdd(Y);Z=(Z=Z.redIAdd(Z)).redIAdd(Z),U=Q.redMul(X.redISub($)).redISub(Z),q=this.y.redAdd(this.y)}else{var et=this.z.redSqr(),rt=this.y.redSqr(),nt=this.x.redMul(rt),tt=this.x.redSub(et).redMul(this.x.redAdd(et));tt=tt.redAdd(tt).redIAdd(tt);var ot=nt.redIAdd(nt),it=(ot=ot.redIAdd(ot)).redAdd(ot);_=tt.redSqr().redISub(it),q=this.y.redAdd(this.z).redSqr().redISub(rt).redISub(et);var at=rt.redSqr();at=(at=(at=at.redIAdd(at)).redIAdd(at)).redIAdd(at),U=tt.redMul(ot.redISub(_)).redISub(at)}return this.curve.jpoint(_,U,q)},S.prototype._dbl=function(){var _=this.curve.a,U=this.x,q=this.y,z=this.z,W=z.redSqr().redSqr(),Y=U.redSqr(),X=q.redSqr(),Q=Y.redAdd(Y).redIAdd(Y).redIAdd(_.redMul(W)),$=U.redAdd(U),Z=($=$.redIAdd($)).redMul(X),et=Q.redSqr().redISub(Z.redAdd(Z)),rt=Z.redISub(et),nt=X.redSqr();nt=(nt=(nt=nt.redIAdd(nt)).redIAdd(nt)).redIAdd(nt);var tt=Q.redMul(rt).redISub(nt),ot=q.redAdd(q).redMul(z);return this.curve.jpoint(et,tt,ot)},S.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var _=this.x.redSqr(),U=this.y.redSqr(),q=this.z.redSqr(),z=U.redSqr(),W=_.redAdd(_).redIAdd(_),Y=W.redSqr(),X=this.x.redAdd(U).redSqr().redISub(_).redISub(z),Q=(X=(X=(X=X.redIAdd(X)).redAdd(X).redIAdd(X)).redISub(Y)).redSqr(),$=z.redIAdd(z);$=($=($=$.redIAdd($)).redIAdd($)).redIAdd($);var Z=W.redIAdd(X).redSqr().redISub(Y).redISub(Q).redISub($),et=U.redMul(Z);et=(et=et.redIAdd(et)).redIAdd(et);var rt=this.x.redMul(Q).redISub(et);rt=(rt=rt.redIAdd(rt)).redIAdd(rt);var nt=this.y.redMul(Z.redMul($.redISub(Z)).redISub(X.redMul(Q)));nt=(nt=(nt=nt.redIAdd(nt)).redIAdd(nt)).redIAdd(nt);var tt=this.z.redAdd(X).redSqr().redISub(q).redISub(Q);return this.curve.jpoint(rt,nt,tt)},S.prototype.mul=function(_,U){return _=new p.default(_,U),this.curve._wnafMul(this,_)},S.prototype.eq=function(_){if(_.type==="affine")return this.eq(_.toJ());if(this===_)return!0;var U=this.z.redSqr(),q=_.z.redSqr();if(this.x.redMul(q).redISub(_.x.redMul(U)).cmpn(0)!==0)return!1;var z=U.redMul(this.z),W=q.redMul(_.z);return this.y.redMul(W).redISub(_.y.redMul(z)).cmpn(0)===0},S.prototype.eqXToP=function(_){var U=this.z.redSqr(),q=_.toRed(this.curve.red).redMul(U);if(this.x.cmp(q)===0)return!0;for(var z=_.clone(),W=this.curve.redN.redMul(U);;){if(z.iadd(this.curve.n),z.cmp(this.curve.p)>=0)return!1;if(q.redIAdd(W),this.x.cmp(q)===0)return!0}},S.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},S.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var E=t(function(_,U){var q=U;q.base=a,q.short=A,q.mont=null,q.edwards=null}),k=t(function(_,U){var q,z=U,W=u.assert;function Y(Q){Q.type==="short"?this.curve=new E.short(Q):Q.type==="edwards"?this.curve=new E.edwards(Q):this.curve=new E.mont(Q),this.g=this.curve.g,this.n=this.curve.n,this.hash=Q.hash,W(this.g.validate(),"Invalid curve"),W(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function X(Q,$){Object.defineProperty(z,Q,{configurable:!0,enumerable:!0,get:function(){var Z=new Y($);return Object.defineProperty(z,Q,{configurable:!0,enumerable:!0,value:Z}),Z}})}z.PresetCurve=Y,X("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:l.default.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),X("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:l.default.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),X("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:l.default.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),X("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:l.default.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),X("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:l.default.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),X("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:l.default.sha256,gRed:!1,g:["9"]}),X("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:l.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{q=null.crash()}catch{q=void 0}X("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:l.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",q]})});function I(_){if(!(this instanceof I))return new I(_);this.hash=_.hash,this.predResist=!!_.predResist,this.outLen=this.hash.outSize,this.minEntropy=_.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var U=e.toArray(_.entropy,_.entropyEnc||"hex"),q=e.toArray(_.nonce,_.nonceEnc||"hex"),z=e.toArray(_.pers,_.persEnc||"hex");s(U.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(U,q,z)}var N=I;I.prototype._init=function(_,U,q){var z=_.concat(U).concat(q);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var W=0;W<this.V.length;W++)this.K[W]=0,this.V[W]=1;this._update(z),this._reseed=1,this.reseedInterval=281474976710656},I.prototype._hmac=function(){return new l.default.hmac(this.hash,this.K)},I.prototype._update=function(_){var U=this._hmac().update(this.V).update([0]);_&&(U=U.update(_)),this.K=U.digest(),this.V=this._hmac().update(this.V).digest(),_&&(this.K=this._hmac().update(this.V).update([1]).update(_).digest(),this.V=this._hmac().update(this.V).digest())},I.prototype.reseed=function(_,U,q,z){typeof U!="string"&&(z=q,q=U,U=null),_=e.toArray(_,U),q=e.toArray(q,z),s(_.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(_.concat(q||[])),this._reseed=1},I.prototype.generate=function(_,U,q,z){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof U!="string"&&(z=q,q=U,U=null),q&&(q=e.toArray(q,z||"hex"),this._update(q));for(var W=[];W.length<_;)this.V=this._hmac().update(this.V).digest(),W=W.concat(this.V);var Y=W.slice(0,_);return this._update(q),this._reseed++,e.encode(Y,U)};var D=u.assert;function L(_,U){this.ec=_,this.priv=null,this.pub=null,U.priv&&this._importPrivate(U.priv,U.privEnc),U.pub&&this._importPublic(U.pub,U.pubEnc)}var m=L;L.fromPublic=function(_,U,q){return U instanceof L?U:new L(_,{pub:U,pubEnc:q})},L.fromPrivate=function(_,U,q){return U instanceof L?U:new L(_,{priv:U,privEnc:q})},L.prototype.validate=function(){var _=this.getPublic();return _.isInfinity()?{result:!1,reason:"Invalid public key"}:_.validate()?_.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},L.prototype.getPublic=function(_,U){return typeof _=="string"&&(U=_,_=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),U?this.pub.encode(U,_):this.pub},L.prototype.getPrivate=function(_){return _==="hex"?this.priv.toString(16,2):this.priv},L.prototype._importPrivate=function(_,U){this.priv=new p.default(_,U||16),this.priv=this.priv.umod(this.ec.curve.n)},L.prototype._importPublic=function(_,U){if(_.x||_.y)return this.ec.curve.type==="mont"?D(_.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||D(_.x&&_.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(_.x,_.y));this.pub=this.ec.curve.decodePoint(_,U)},L.prototype.derive=function(_){return _.validate()||D(_.validate(),"public point not validated"),_.mul(this.priv).getX()},L.prototype.sign=function(_,U,q){return this.ec.sign(_,this,U,q)},L.prototype.verify=function(_,U){return this.ec.verify(_,U,this)},L.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var P=u.assert;function C(_,U){if(_ instanceof C)return _;this._importDER(_,U)||(P(_.r&&_.s,"Signature without r or s"),this.r=new p.default(_.r,16),this.s=new p.default(_.s,16),_.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=_.recoveryParam)}var B=C;function x(){this.place=0}function j(_,U){var q=_[U.place++];if(!(128&q))return q;var z=15&q;if(z===0||z>4)return!1;for(var W=0,Y=0,X=U.place;Y<z;Y++,X++)W<<=8,W|=_[X],W>>>=0;return!(W<=127)&&(U.place=X,W)}function K(_){for(var U=0,q=_.length-1;!_[U]&&!(128&_[U+1])&&U<q;)U++;return U===0?_:_.slice(U)}function V(_,U){if(U<128)_.push(U);else{var q=1+(Math.log(U)/Math.LN2>>>3);for(_.push(128|q);--q;)_.push(U>>>(q<<3)&255);_.push(U)}}C.prototype._importDER=function(_,U){_=u.toArray(_,U);var q=new x;if(_[q.place++]!==48)return!1;var z=j(_,q);if(z===!1||z+q.place!==_.length||_[q.place++]!==2)return!1;var W=j(_,q);if(W===!1)return!1;var Y=_.slice(q.place,W+q.place);if(q.place+=W,_[q.place++]!==2)return!1;var X=j(_,q);if(X===!1||_.length!==X+q.place)return!1;var Q=_.slice(q.place,X+q.place);if(Y[0]===0){if(!(128&Y[1]))return!1;Y=Y.slice(1)}if(Q[0]===0){if(!(128&Q[1]))return!1;Q=Q.slice(1)}return this.r=new p.default(Y),this.s=new p.default(Q),this.recoveryParam=null,!0},C.prototype.toDER=function(_){var U=this.r.toArray(),q=this.s.toArray();for(128&U[0]&&(U=[0].concat(U)),128&q[0]&&(q=[0].concat(q)),U=K(U),q=K(q);!(q[0]||128&q[1]);)q=q.slice(1);var z=[2];V(z,U.length),(z=z.concat(U)).push(2),V(z,q.length);var W=z.concat(q),Y=[48];return V(Y,W.length),Y=Y.concat(W),u.encode(Y,_)};var J=function(){throw new Error("unsupported")},O=u.assert;function F(_){if(!(this instanceof F))return new F(_);typeof _=="string"&&(O(Object.prototype.hasOwnProperty.call(k,_),"Unknown curve "+_),_=k[_]),_ instanceof k.PresetCurve&&(_={curve:_}),this.curve=_.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=_.curve.g,this.g.precompute(_.curve.n.bitLength()+1),this.hash=_.hash||_.curve.hash}var G=F;F.prototype.keyPair=function(_){return new m(this,_)},F.prototype.keyFromPrivate=function(_,U){return m.fromPrivate(this,_,U)},F.prototype.keyFromPublic=function(_,U){return m.fromPublic(this,_,U)},F.prototype.genKeyPair=function(_){_||(_={});for(var U=new N({hash:this.hash,pers:_.pers,persEnc:_.persEnc||"utf8",entropy:_.entropy||J(this.hash.hmacStrength),entropyEnc:_.entropy&&_.entropyEnc||"utf8",nonce:this.n.toArray()}),q=this.n.byteLength(),z=this.n.sub(new p.default(2));;){var W=new p.default(U.generate(q));if(!(W.cmp(z)>0))return W.iaddn(1),this.keyFromPrivate(W)}},F.prototype._truncateToN=function(_,U){var q=8*_.byteLength()-this.n.bitLength();return q>0&&(_=_.ushrn(q)),!U&&_.cmp(this.n)>=0?_.sub(this.n):_},F.prototype.sign=function(_,U,q,z){(0,v.default)(q)==="object"&&(z=q,q=null),z||(z={}),U=this.keyFromPrivate(U,q),_=this._truncateToN(new p.default(_,16));for(var W=this.n.byteLength(),Y=U.getPrivate().toArray("be",W),X=_.toArray("be",W),Q=new N({hash:this.hash,entropy:Y,nonce:X,pers:z.pers,persEnc:z.persEnc||"utf8"}),$=this.n.sub(new p.default(1)),Z=0;;Z++){var et=z.k?z.k(Z):new p.default(Q.generate(this.n.byteLength()));if(!((et=this._truncateToN(et,!0)).cmpn(1)<=0||et.cmp($)>=0)){var rt=this.g.mul(et);if(!rt.isInfinity()){var nt=rt.getX(),tt=nt.umod(this.n);if(tt.cmpn(0)!==0){var ot=et.invm(this.n).mul(tt.mul(U.getPrivate()).iadd(_));if((ot=ot.umod(this.n)).cmpn(0)!==0){var it=(rt.getY().isOdd()?1:0)|(nt.cmp(tt)!==0?2:0);return z.canonical&&ot.cmp(this.nh)>0&&(ot=this.n.sub(ot),it^=1),new B({r:tt,s:ot,recoveryParam:it})}}}}}},F.prototype.verify=function(_,U,q,z){_=this._truncateToN(new p.default(_,16)),q=this.keyFromPublic(q,z);var W=(U=new B(U,"hex")).r,Y=U.s;if(W.cmpn(1)<0||W.cmp(this.n)>=0||Y.cmpn(1)<0||Y.cmp(this.n)>=0)return!1;var X,Q=Y.invm(this.n),$=Q.mul(_).umod(this.n),Z=Q.mul(W).umod(this.n);return this.curve._maxwellTrick?!(X=this.g.jmulAdd($,q.getPublic(),Z)).isInfinity()&&X.eqXToP(W):!(X=this.g.mulAdd($,q.getPublic(),Z)).isInfinity()&&X.getX().umod(this.n).cmp(W)===0},F.prototype.recoverPubKey=function(_,U,q,z){O((3&q)===q,"The recovery param is more than two bits"),U=new B(U,z);var W=this.n,Y=new p.default(_),X=U.r,Q=U.s,$=1&q,Z=q>>1;if(X.cmp(this.curve.p.umod(this.curve.n))>=0&&Z)throw new Error("Unable to find sencond key candinate");X=Z?this.curve.pointFromX(X.add(this.curve.n),$):this.curve.pointFromX(X,$);var et=U.r.invm(W),rt=W.sub(Y).mul(et).umod(W),nt=Q.mul(et).umod(W);return this.g.mulAdd(rt,X,nt)},F.prototype.getKeyRecoveryParam=function(_,U,q,z){if((U=new B(U,z)).recoveryParam!==null)return U.recoveryParam;for(var W=0;W<4;W++){var Y;try{Y=this.recoverPubKey(_,U,W)}catch{continue}if(Y.eq(q))return W}throw new Error("Unable to find valid recovery factor")};var H=t(function(_,U){var q=U;q.version="6.5.4",q.utils=u,q.rand=function(){throw new Error("unsupported")},q.curve=E,q.curves=k,q.ec=G,q.eddsa=null}),M=H.ec;y.EC=M},7612:(R,y,c)=>{var h=c(8847);Object.defineProperty(y,"__esModule",{value:!0}),y.SigningKey=void 0,y.computePublicKey=o,y.recoverPublicKey=function(a,d){var b=(0,t.splitSignature)(d),w={r:(0,t.arrayify)(b.r),s:(0,t.arrayify)(b.s)};return"0x"+i().recoverPubKey((0,t.arrayify)(a),w,b.recoveryParam).encode("hex",!1)};var v=h(c(9721)),p=h(c(8985)),l=c(6918),t=c(908),s=c(3694),f=c(4327),e=c(8100),u=new f.Logger(e.version),n=null;function i(){return n||(n=new l.EC("secp256k1")),n}var r=function(){function a(d){(0,v.default)(this,a),(0,s.defineReadOnly)(this,"curve","secp256k1"),(0,s.defineReadOnly)(this,"privateKey",(0,t.hexlify)(d)),(0,t.hexDataLength)(this.privateKey)!==32&&u.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var b=i().keyFromPrivate((0,t.arrayify)(this.privateKey));(0,s.defineReadOnly)(this,"publicKey","0x"+b.getPublic(!1,"hex")),(0,s.defineReadOnly)(this,"compressedPublicKey","0x"+b.getPublic(!0,"hex")),(0,s.defineReadOnly)(this,"_isSigningKey",!0)}return(0,p.default)(a,[{key:"_addPoint",value:function(d){var b=i().keyFromPublic((0,t.arrayify)(this.publicKey)),w=i().keyFromPublic((0,t.arrayify)(d));return"0x"+b.pub.add(w.pub).encodeCompressed("hex")}},{key:"signDigest",value:function(d){var b=i().keyFromPrivate((0,t.arrayify)(this.privateKey)),w=(0,t.arrayify)(d);w.length!==32&&u.throwArgumentError("bad digest length","digest",d);var g=b.sign(w,{canonical:!0});return(0,t.splitSignature)({recoveryParam:g.recoveryParam,r:(0,t.hexZeroPad)("0x"+g.r.toString(16),32),s:(0,t.hexZeroPad)("0x"+g.s.toString(16),32)})}},{key:"computeSharedSecret",value:function(d){var b=i().keyFromPrivate((0,t.arrayify)(this.privateKey)),w=i().keyFromPublic((0,t.arrayify)(o(d)));return(0,t.hexZeroPad)("0x"+b.derive(w.getPublic()).toString(16),32)}}],[{key:"isSigningKey",value:function(d){return!(!d||!d._isSigningKey)}}]),a}();function o(a,d){var b=(0,t.arrayify)(a);if(b.length===32){var w=new r(b);return d?"0x"+i().keyFromPrivate(b).getPublic(!0,"hex"):w.publicKey}return b.length===33?d?(0,t.hexlify)(b):"0x"+i().keyFromPublic(b).getPublic(!1,"hex"):b.length===65?d?"0x"+i().keyFromPublic(b).getPublic(!0,"hex"):(0,t.hexlify)(b):u.throwArgumentError("invalid public or private key","key","[REDACTED]")}y.SigningKey=r},6518:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="strings/5.7.0"},5856:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.formatBytes32String=function(l){var t=(0,p.toUtf8Bytes)(l);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,v.hexlify)((0,v.concat)([t,h.HashZero]).slice(0,32))},y.parseBytes32String=function(l){var t=(0,v.arrayify)(l);if(t.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(t[31]!==0)throw new Error("invalid bytes32 string - no null terminator");for(var s=31;t[s-1]===0;)s--;return(0,p.toUtf8String)(t.slice(0,s))};var h=c(5465),v=c(908),p=c(4997)},8645:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y._nameprepTableA1=r,y._nameprepTableB2=o,y._nameprepTableC=a,y.nameprep=function(d){if(d.match(/^[a-z0-9-]*$/i)&&d.length<=59)return d.toLowerCase();var b,w=(0,h.toUtf8CodePoints)(d);b=w.map(function(A){return s.indexOf(A)>=0||A>=65024&&A<=65039?[]:o(A)||[A]}),w=b.reduce(function(A,T){return T.forEach(function(S){A.push(S)}),A},[]),(w=(0,h.toUtf8CodePoints)((0,h._toUtf8String)(w),h.UnicodeNormalizationForm.NFKC)).forEach(function(A){if(a(A))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),w.forEach(function(A){if(r(A))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var g=(0,h._toUtf8String)(w);if(g.substring(0,1)==="-"||g.substring(2,4)==="--"||g.substring(g.length-1)==="-")throw new Error("invalid hyphen");return g};var h=c(4997);function v(d,b){b||(b=function(A){return[parseInt(A,16)]});var w=0,g={};return d.split(",").forEach(function(A){var T=A.split(":");w+=parseInt(T[0],16),g[w]=b(T[1])}),g}function p(d){var b=0;return d.split(",").map(function(w){var g=w.split("-");return g.length===1?g[1]="0":g[1]===""&&(g[1]="1"),{l:b+parseInt(g[0],16),h:b=parseInt(g[1],16)}})}function l(d,b){for(var w=0,g=0;g<b.length;g++){var A=b[g];if(d>=(w+=A.l)&&d<=w+A.h&&(d-w)%(A.d||1)==0){if(A.e&&A.e.indexOf(d-w)!==-1)continue;return A}}return null}var t=p("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),s="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(d){return parseInt(d,16)}),f=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],e=v("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),u=v("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),n=v("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",function(d){if(d.length%4!=0)throw new Error("bad data");for(var b=[],w=0;w<d.length;w+=4)b.push(parseInt(d.substring(w,w+4),16));return b}),i=p("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function r(d){return!!l(d,t)}function o(d){var b=l(d,f);if(b)return[d+b.s];var w=e[d];if(w)return w;var g=u[d];return g?[d+g[0]]:n[d]||null}function a(d){return!!l(d,i)}},8627:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return p.UnicodeNormalizationForm}}),Object.defineProperty(y,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return p.Utf8ErrorFuncs}}),Object.defineProperty(y,"Utf8ErrorReason",{enumerable:!0,get:function(){return p.Utf8ErrorReason}}),Object.defineProperty(y,"_toEscapedUtf8String",{enumerable:!0,get:function(){return p._toEscapedUtf8String}}),Object.defineProperty(y,"formatBytes32String",{enumerable:!0,get:function(){return h.formatBytes32String}}),Object.defineProperty(y,"nameprep",{enumerable:!0,get:function(){return v.nameprep}}),Object.defineProperty(y,"parseBytes32String",{enumerable:!0,get:function(){return h.parseBytes32String}}),Object.defineProperty(y,"toUtf8Bytes",{enumerable:!0,get:function(){return p.toUtf8Bytes}}),Object.defineProperty(y,"toUtf8CodePoints",{enumerable:!0,get:function(){return p.toUtf8CodePoints}}),Object.defineProperty(y,"toUtf8String",{enumerable:!0,get:function(){return p.toUtf8String}});var h=c(5856),v=c(8645),p=c(4997)},4997:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.Utf8ErrorReason=y.Utf8ErrorFuncs=y.UnicodeNormalizationForm=void 0,y._toEscapedUtf8String=function(o,a){return'"'+u(o,a).map(function(d){if(d<256){switch(d){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(d>=32&&d<127)return String.fromCharCode(d)}return d<=65535?i(d):i(55296+((d-=65536)>>10&1023))+i(56320+(1023&d))}).join("")+'"'},y._toUtf8String=r,y.toUtf8Bytes=n,y.toUtf8CodePoints=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.current;return u(n(o,a))},y.toUtf8String=function(o,a){return r(u(o,a))};var h,v,p=c(908),l=c(4327),t=c(6518),s=new l.Logger(t.version);function f(o,a,d,b,w){if(o===v.BAD_PREFIX||o===v.UNEXPECTED_CONTINUE){for(var g=0,A=a+1;A<d.length&&d[A]>>6==2;A++)g++;return g}return o===v.OVERRUN?d.length-a-1:0}y.UnicodeNormalizationForm=h,function(o){o.current="",o.NFC="NFC",o.NFD="NFD",o.NFKC="NFKC",o.NFKD="NFKD"}(h||(y.UnicodeNormalizationForm=h={})),y.Utf8ErrorReason=v,function(o){o.UNEXPECTED_CONTINUE="unexpected continuation byte",o.BAD_PREFIX="bad codepoint prefix",o.OVERRUN="string overrun",o.MISSING_CONTINUE="missing continuation byte",o.OUT_OF_RANGE="out of UTF-8 range",o.UTF16_SURROGATE="UTF-16 surrogate",o.OVERLONG="overlong representation"}(v||(y.Utf8ErrorReason=v={}));var e=Object.freeze({error:function(o,a,d,b,w){return s.throwArgumentError("invalid codepoint at offset ".concat(a,"; ").concat(o),"bytes",d)},ignore:f,replace:function(o,a,d,b,w){return o===v.OVERLONG?(b.push(w),0):(b.push(65533),f(o,a,d))}});function u(o,a){a==null&&(a=e.error),o=(0,p.arrayify)(o);for(var d=[],b=0;b<o.length;){var w=o[b++];if(w>>7){var g=null,A=null;if((224&w)==192)g=1,A=127;else if((240&w)==224)g=2,A=2047;else{if((248&w)!=240){b+=a((192&w)==128?v.UNEXPECTED_CONTINUE:v.BAD_PREFIX,b-1,o,d);continue}g=3,A=65535}if(b-1+g>=o.length)b+=a(v.OVERRUN,b-1,o,d);else{for(var T=w&(1<<8-g-1)-1,S=0;S<g;S++){var E=o[b];if((192&E)!=128){b+=a(v.MISSING_CONTINUE,b,o,d),T=null;break}T=T<<6|63&E,b++}T!==null&&(T>1114111?b+=a(v.OUT_OF_RANGE,b-1-g,o,d,T):T>=55296&&T<=57343?b+=a(v.UTF16_SURROGATE,b-1-g,o,d,T):T<=A?b+=a(v.OVERLONG,b-1-g,o,d,T):d.push(T))}}else d.push(w)}return d}function n(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.current;a!=h.current&&(s.checkNormalize(),o=o.normalize(a));for(var d=[],b=0;b<o.length;b++){var w=o.charCodeAt(b);if(w<128)d.push(w);else if(w<2048)d.push(w>>6|192),d.push(63&w|128);else if((64512&w)==55296){b++;var g=o.charCodeAt(b);if(b>=o.length||(64512&g)!=56320)throw new Error("invalid utf-8 string");var A=65536+((1023&w)<<10)+(1023&g);d.push(A>>18|240),d.push(A>>12&63|128),d.push(A>>6&63|128),d.push(63&A|128)}else d.push(w>>12|224),d.push(w>>6&63|128),d.push(63&w|128)}return(0,p.arrayify)(d)}function i(o){var a="0000"+o.toString(16);return"\\u"+a.substring(a.length-4)}function r(o){return o.map(function(a){return a<=65535?String.fromCharCode(a):(a-=65536,String.fromCharCode(55296+(a>>10&1023),56320+(1023&a)))}).join("")}y.Utf8ErrorFuncs=e},6783:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.version=void 0,y.version="transactions/5.7.0"},1936:(R,y,c)=>{var h=c(3355);Object.defineProperty(y,"__esModule",{value:!0}),y.TransactionTypes=void 0,y.accessListify=k,y.computeAddress=A,y.parse=function(m){var P=(0,l.arrayify)(m);if(P[0]>127)return function(C){var B=e.decode(C);B.length!==9&&B.length!==6&&a.throwArgumentError("invalid raw transaction","rawTransaction",C);var x={nonce:b(B[0]).toNumber(),gasPrice:b(B[1]),gasLimit:b(B[2]),to:d(B[3]),value:b(B[4]),data:B[5],chainId:0};if(B.length===6)return x;try{x.v=p.BigNumber.from(B[6]).toNumber()}catch{return x}if(x.r=(0,l.hexZeroPad)(B[7],32),x.s=(0,l.hexZeroPad)(B[8],32),p.BigNumber.from(x.r).isZero()&&p.BigNumber.from(x.s).isZero())x.chainId=x.v,x.v=0;else{x.chainId=Math.floor((x.v-35)/2),x.chainId<0&&(x.chainId=0);var j=x.v-27,K=B.slice(0,6);x.chainId!==0&&(K.push((0,l.hexlify)(x.chainId)),K.push("0x"),K.push("0x"),j-=2*x.chainId+8);var V=(0,s.keccak256)(e.encode(K));try{x.from=T(V,{r:(0,l.hexlify)(x.r),s:(0,l.hexlify)(x.s),recoveryParam:j})}catch{}x.hash=(0,s.keccak256)(C)}return x.type=null,x}(P);switch(P[0]){case 1:return function(C){var B=e.decode(C.slice(1));B.length!==8&&B.length!==11&&a.throwArgumentError("invalid component count for transaction type: 1","payload",(0,l.hexlify)(C));var x={type:1,chainId:b(B[0]).toNumber(),nonce:b(B[1]).toNumber(),gasPrice:b(B[2]),gasLimit:b(B[3]),to:d(B[4]),value:b(B[5]),data:B[6],accessList:k(B[7])};return B.length===8||(x.hash=(0,s.keccak256)(C),L(x,B.slice(8),D)),x}(P);case 2:return function(C){var B=e.decode(C.slice(1));B.length!==9&&B.length!==12&&a.throwArgumentError("invalid component count for transaction type: 2","payload",(0,l.hexlify)(C));var x=b(B[2]),j=b(B[3]),K={type:2,chainId:b(B[0]).toNumber(),nonce:b(B[1]).toNumber(),maxPriorityFeePerGas:x,maxFeePerGas:j,gasPrice:null,gasLimit:b(B[4]),to:d(B[5]),value:b(B[6]),data:B[7],accessList:k(B[8])};return B.length===9||(K.hash=(0,s.keccak256)(C),L(K,B.slice(9),N)),K}(P)}return a.throwError("unsupported transaction type: ".concat(P[0]),n.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:P[0]})},y.recoverAddress=T,y.serialize=function(m,P){if(m.type==null||m.type===0)return m.accessList!=null&&a.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",m),function(C,B){(0,f.checkProperties)(C,g);var x=[];w.forEach(function(J){var O=C[J.name]||[],F={};J.numeric&&(F.hexPad="left"),O=(0,l.arrayify)((0,l.hexlify)(O,F)),J.length&&O.length!==J.length&&O.length>0&&a.throwArgumentError("invalid length for "+J.name,"transaction:"+J.name,O),J.maxLength&&(O=(0,l.stripZeros)(O)).length>J.maxLength&&a.throwArgumentError("invalid length for "+J.name,"transaction:"+J.name,O),x.push((0,l.hexlify)(O))});var j=0;if(C.chainId!=null?typeof(j=C.chainId)!="number"&&a.throwArgumentError("invalid transaction.chainId","transaction",C):B&&!(0,l.isBytesLike)(B)&&B.v>28&&(j=Math.floor((B.v-35)/2)),j!==0&&(x.push((0,l.hexlify)(j)),x.push("0x"),x.push("0x")),!B)return e.encode(x);var K=(0,l.splitSignature)(B),V=27+K.recoveryParam;return j!==0?(x.pop(),x.pop(),x.pop(),V+=2*j+8,K.v>28&&K.v!==V&&a.throwArgumentError("transaction.chainId/signature.v mismatch","signature",B)):K.v!==V&&a.throwArgumentError("transaction.chainId/signature.v mismatch","signature",B),x.push((0,l.hexlify)(V)),x.push((0,l.stripZeros)((0,l.arrayify)(K.r))),x.push((0,l.stripZeros)((0,l.arrayify)(K.s))),e.encode(x)}(m,P);switch(m.type){case 1:return D(m,P);case 2:return N(m,P)}return a.throwError("unsupported transaction type: ".concat(m.type),n.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:m.type})};var v=c(7921),p=c(4952),l=c(908),t=c(5465),s=c(4642),f=c(3694),e=function(m,P){if(m&&m.__esModule)return m;if(m===null||h(m)!=="object"&&typeof m!="function")return{default:m};var C=r(P);if(C&&C.has(m))return C.get(m);var B={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in m)if(j!=="default"&&Object.prototype.hasOwnProperty.call(m,j)){var K=x?Object.getOwnPropertyDescriptor(m,j):null;K&&(K.get||K.set)?Object.defineProperty(B,j,K):B[j]=m[j]}return B.default=m,C&&C.set(m,B),B}(c(5265)),u=c(7612),n=c(4327),i=c(6783);function r(m){if(typeof WeakMap!="function")return null;var P=new WeakMap,C=new WeakMap;return(r=function(B){return B?C:P})(m)}var o,a=new n.Logger(i.version);function d(m){return m==="0x"?null:(0,v.getAddress)(m)}function b(m){return m==="0x"?t.Zero:p.BigNumber.from(m)}y.TransactionTypes=o,function(m){m[m.legacy=0]="legacy",m[m.eip2930=1]="eip2930",m[m.eip1559=2]="eip1559"}(o||(y.TransactionTypes=o={}));var w=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],g={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function A(m){var P=(0,u.computePublicKey)(m);return(0,v.getAddress)((0,l.hexDataSlice)((0,s.keccak256)((0,l.hexDataSlice)(P,1)),12))}function T(m,P){return A((0,u.recoverPublicKey)((0,l.arrayify)(m),P))}function S(m,P){var C=(0,l.stripZeros)(p.BigNumber.from(m).toHexString());return C.length>32&&a.throwArgumentError("invalid length for "+P,"transaction:"+P,m),C}function E(m,P){return{address:(0,v.getAddress)(m),storageKeys:(P||[]).map(function(C,B){return(0,l.hexDataLength)(C)!==32&&a.throwArgumentError("invalid access list storageKey","accessList[".concat(m,":").concat(B,"]"),C),C.toLowerCase()})}}function k(m){if(Array.isArray(m))return m.map(function(C,B){return Array.isArray(C)?(C.length>2&&a.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value[".concat(B,"]"),C),E(C[0],C[1])):E(C.address,C.storageKeys)});var P=Object.keys(m).map(function(C){var B=m[C].reduce(function(x,j){return x[j]=!0,x},{});return E(C,Object.keys(B).sort())});return P.sort(function(C,B){return C.address.localeCompare(B.address)}),P}function I(m){return k(m).map(function(P){return[P.address,P.storageKeys]})}function N(m,P){if(m.gasPrice!=null){var C=p.BigNumber.from(m.gasPrice),B=p.BigNumber.from(m.maxFeePerGas||0);C.eq(B)||a.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:C,maxFeePerGas:B})}var x=[S(m.chainId||0,"chainId"),S(m.nonce||0,"nonce"),S(m.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),S(m.maxFeePerGas||0,"maxFeePerGas"),S(m.gasLimit||0,"gasLimit"),m.to!=null?(0,v.getAddress)(m.to):"0x",S(m.value||0,"value"),m.data||"0x",I(m.accessList||[])];if(P){var j=(0,l.splitSignature)(P);x.push(S(j.recoveryParam,"recoveryParam")),x.push((0,l.stripZeros)(j.r)),x.push((0,l.stripZeros)(j.s))}return(0,l.hexConcat)(["0x02",e.encode(x)])}function D(m,P){var C=[S(m.chainId||0,"chainId"),S(m.nonce||0,"nonce"),S(m.gasPrice||0,"gasPrice"),S(m.gasLimit||0,"gasLimit"),m.to!=null?(0,v.getAddress)(m.to):"0x",S(m.value||0,"value"),m.data||"0x",I(m.accessList||[])];if(P){var B=(0,l.splitSignature)(P);C.push(S(B.recoveryParam,"recoveryParam")),C.push((0,l.stripZeros)(B.r)),C.push((0,l.stripZeros)(B.s))}return(0,l.hexConcat)(["0x01",e.encode(C)])}function L(m,P,C){try{var B=b(P[0]).toNumber();if(B!==0&&B!==1)throw new Error("bad recid");m.v=B}catch{a.throwArgumentError("invalid v for transaction type: 1","v",P[0])}m.r=(0,l.hexZeroPad)(P[1],32),m.s=(0,l.hexZeroPad)(P[2],32);try{var x=(0,s.keccak256)(C(m));m.from=T(x,{r:m.r,s:m.s,recoveryParam:m.v})}catch{}}},3368:(R,y,c)=>{var h,v,p=c(8847)(c(3355));(v=typeof(h=function(){function l(g,A){if(!(g instanceof A))throw new TypeError("Cannot call a class as a function")}function t(g,A){for(var T=0;T<A.length;T++){var S=A[T];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}function s(g,A,T){return A&&t(g.prototype,A),T&&t(g,T),Object.defineProperty(g,"prototype",{writable:!1}),g}function f(g){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(A){return A.__proto__||Object.getPrototypeOf(A)},f(g)}function e(g,A){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,S){return T.__proto__=S,T},e(g,A)}function u(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function n(g,A){if(A&&((0,p.default)(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return u(g)}function i(g){var A=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var T,S=f(g);if(A){var E=f(this).constructor;T=Reflect.construct(S,arguments,E)}else T=S.apply(this,arguments);return n(this,T)}}function r(g,A){for(;!Object.prototype.hasOwnProperty.call(g,A)&&(g=f(g))!==null;);return g}function o(){return o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(g,A,T){var S=r(g,A);if(S){var E=Object.getOwnPropertyDescriptor(S,A);return E.get?E.get.call(arguments.length<3?g:T):E.value}},o.apply(this,arguments)}var a=function(){function g(){l(this,g),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return s(g,[{key:"addEventListener",value:function(A,T,S){A in this.listeners||(this.listeners[A]=[]),this.listeners[A].push({callback:T,options:S})}},{key:"removeEventListener",value:function(A,T){if(A in this.listeners){for(var S=this.listeners[A],E=0,k=S.length;E<k;E++)if(S[E].callback===T)return void S.splice(E,1)}}},{key:"dispatchEvent",value:function(A){if(A.type in this.listeners){for(var T=this.listeners[A.type].slice(),S=0,E=T.length;S<E;S++){var k=T[S];try{k.callback.call(this,A)}catch(I){Promise.resolve().then(function(){throw I})}k.options&&k.options.once&&this.removeEventListener(A.type,k.callback)}return!A.defaultPrevented}}}]),g}(),d=function(g){(function(S,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(E&&E.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),E&&e(S,E)})(T,g);var A=i(T);function T(){var S;return l(this,T),(S=A.call(this)).listeners||a.call(u(S)),Object.defineProperty(u(S),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(u(S),"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(u(S),"reason",{value:void 0,writable:!0,configurable:!0}),S}return s(T,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(S){S.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,S)),o(f(T.prototype),"dispatchEvent",this).call(this,S)}}]),T}(a),b=function(){function g(){l(this,g),Object.defineProperty(this,"signal",{value:new d,writable:!0,configurable:!0})}return s(g,[{key:"abort",value:function(A){var T;try{T=new Event("abort")}catch{typeof document<"u"?document.createEvent?(T=document.createEvent("Event")).initEvent("abort",!1,!1):(T=document.createEventObject()).type="abort":T={type:"abort",bubbles:!1,cancelable:!1}}var S=A;if(S===void 0)if(typeof document>"u")(S=new Error("This operation was aborted")).name="AbortError";else try{S=new DOMException("signal is aborted without reason")}catch{(S=new Error("This operation was aborted")).name="AbortError"}this.signal.reason=S,this.signal.dispatchEvent(T)}},{key:"toString",value:function(){return"[object AbortController]"}}]),g}();function w(g){return g.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof g.Request=="function"&&!g.Request.prototype.hasOwnProperty("signal")||!g.AbortController}typeof Symbol<"u"&&Symbol.toStringTag&&(b.prototype[Symbol.toStringTag]="AbortController",d.prototype[Symbol.toStringTag]="AbortSignal"),function(g){if(w(g))if(g.fetch){var A=function(E){typeof E=="function"&&(E={fetch:E});var k=E,I=k.fetch,N=k.Request,D=N===void 0?I.Request:N,L=k.AbortController,m=k.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,P=m!==void 0&&m;if(!w({fetch:I,Request:D,AbortController:L,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:P}))return{fetch:I,Request:C};var C=D;(C&&!C.prototype.hasOwnProperty("signal")||P)&&((C=function(x,j){var K;j&&j.signal&&(K=j.signal,delete j.signal);var V=new D(x,j);return K&&Object.defineProperty(V,"signal",{writable:!1,enumerable:!1,configurable:!0,value:K}),V}).prototype=D.prototype);var B=I;return{fetch:function(x,j){var K=C&&C.prototype.isPrototypeOf(x)?x.signal:j?j.signal:void 0;if(K){var V;try{V=new DOMException("Aborted","AbortError")}catch{(V=new Error("Aborted")).name="AbortError"}if(K.aborted)return Promise.reject(V);var J=new Promise(function(O,F){K.addEventListener("abort",function(){return F(V)},{once:!0})});return j&&j.signal&&delete j.signal,Promise.race([J,B(x,j)])}return B(x,j)},Request:C}}(g),T=A.fetch,S=A.Request;g.fetch=T,g.Request=S,Object.defineProperty(g,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:b}),Object.defineProperty(g,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:d})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}(typeof self<"u"?self:c.g)})=="function"?h.call(y,c,y,R):h)===void 0||(R.exports=v)},8357:(R,y,c)=>{var h=y;h.bignum=c(1734),h.define=c(1568).define,h.base=c(2412),h.constants=c(9387),h.decoders=c(1500),h.encoders=c(7506)},1568:(R,y,c)=>{var h=c(7506),v=c(1500),p=c(1736);function l(t,s){this.name=t,this.body=s,this.decoders={},this.encoders={}}y.define=function(t,s){return new l(t,s)},l.prototype._createNamed=function(t){var s=this.name;function f(e){this._initNamed(e,s)}return p(f,t),f.prototype._initNamed=function(e,u){t.call(this,e,u)},new f(this)},l.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(v[t])),this.decoders[t]},l.prototype.decode=function(t,s,f){return this._getDecoder(s).decode(t,f)},l.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(h[t])),this.encoders[t]},l.prototype.encode=function(t,s,f){return this._getEncoder(s).encode(t,f)}},585:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1736),p=c(2719).b,l=c(1755).Buffer;function t(f,e){p.call(this,e),l.isBuffer(f)?(this.base=f,this.offset=0,this.length=f.length):this.error("Input not Buffer")}function s(f,e){if(Array.isArray(f))this.length=0,this.value=f.map(function(u){return s.isEncoderBuffer(u)||(u=new s(u,e)),this.length+=u.length,u},this);else if(typeof f=="number"){if(!(0<=f&&f<=255))return e.error("non-byte EncoderBuffer value");this.value=f,this.length=1}else if(typeof f=="string")this.value=f,this.length=l.byteLength(f);else{if(!l.isBuffer(f))return e.error("Unsupported type: "+(0,h.default)(f));this.value=f,this.length=f.length}}v(t,p),y.C=t,t.isDecoderBuffer=function(f){return f instanceof t||(0,h.default)(f)==="object"&&l.isBuffer(f.base)&&f.constructor.name==="DecoderBuffer"&&typeof f.offset=="number"&&typeof f.length=="number"&&typeof f.save=="function"&&typeof f.restore=="function"&&typeof f.isEmpty=="function"&&typeof f.readUInt8=="function"&&typeof f.skip=="function"&&typeof f.raw=="function"},t.prototype.save=function(){return{offset:this.offset,reporter:p.prototype.save.call(this)}},t.prototype.restore=function(f){var e=new t(this.base);return e.offset=f.offset,e.length=this.offset,this.offset=f.offset,p.prototype.restore.call(this,f.reporter),e},t.prototype.isEmpty=function(){return this.offset===this.length},t.prototype.readUInt8=function(f){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(f||"DecoderBuffer overrun")},t.prototype.skip=function(f,e){if(!(this.offset+f<=this.length))return this.error(e||"DecoderBuffer overrun");var u=new t(this.base);return u._reporterState=this._reporterState,u.offset=this.offset,u.length=this.offset+f,this.offset+=f,u},t.prototype.raw=function(f){return this.base.slice(f?f.offset:this.offset,this.length)},y.R=s,s.isEncoderBuffer=function(f){return f instanceof s||(0,h.default)(f)==="object"&&f.constructor.name==="EncoderBuffer"&&typeof f.length=="number"&&typeof f.join=="function"},s.prototype.join=function(f,e){return f||(f=l.alloc(this.length)),e||(e=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(u){u.join(f,e),e+=u.length}):(typeof this.value=="number"?f[e]=this.value:typeof this.value=="string"?f.write(this.value,e):l.isBuffer(this.value)&&this.value.copy(f,e),e+=this.length)),f}},2412:(R,y,c)=>{var h=y;h.Reporter=c(2719).b,h.DecoderBuffer=c(585).C,h.EncoderBuffer=c(585).R,h.Node=c(1371)},1371:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(2719).b,p=c(585).R,l=c(585).C,t=c(4504),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function e(n,i,r){var o={};this._baseState=o,o.name=r,o.enc=n,o.parent=i||null,o.children=null,o.tag=null,o.args=null,o.reverseArgs=null,o.choice=null,o.optional=!1,o.any=!1,o.obj=!1,o.use=null,o.useDecoder=null,o.key=null,o.default=null,o.explicit=null,o.implicit=null,o.contains=null,o.parent||(o.children=[],this._wrap())}R.exports=e;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];e.prototype.clone=function(){var n=this._baseState,i={};u.forEach(function(o){i[o]=n[o]});var r=new this.constructor(i.parent);return r._baseState=i,r},e.prototype._wrap=function(){var n=this._baseState;f.forEach(function(i){this[i]=function(){var r=new this.constructor(this);return n.children.push(r),r[i].apply(r,arguments)}},this)},e.prototype._init=function(n){var i=this._baseState;t(i.parent===null),n.call(this),i.children=i.children.filter(function(r){return r._baseState.parent===this},this),t.equal(i.children.length,1,"Root node can have only one child")},e.prototype._useArgs=function(n){var i=this._baseState,r=n.filter(function(o){return o instanceof this.constructor},this);n=n.filter(function(o){return!(o instanceof this.constructor)},this),r.length!==0&&(t(i.children===null),i.children=r,r.forEach(function(o){o._baseState.parent=this},this)),n.length!==0&&(t(i.args===null),i.args=n,i.reverseArgs=n.map(function(o){if((0,h.default)(o)!=="object"||o.constructor!==Object)return o;var a={};return Object.keys(o).forEach(function(d){d==(0|d)&&(d|=0);var b=o[d];a[b]=d}),a}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(n){e.prototype[n]=function(){var i=this._baseState;throw new Error(n+" not implemented for encoding: "+i.enc)}}),s.forEach(function(n){e.prototype[n]=function(){var i=this._baseState,r=Array.prototype.slice.call(arguments);return t(i.tag===null),i.tag=n,this._useArgs(r),this}}),e.prototype.use=function(n){t(n);var i=this._baseState;return t(i.use===null),i.use=n,this},e.prototype.optional=function(){return this._baseState.optional=!0,this},e.prototype.def=function(n){var i=this._baseState;return t(i.default===null),i.default=n,i.optional=!0,this},e.prototype.explicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.explicit=n,this},e.prototype.implicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.implicit=n,this},e.prototype.obj=function(){var n=this._baseState,i=Array.prototype.slice.call(arguments);return n.obj=!0,i.length!==0&&this._useArgs(i),this},e.prototype.key=function(n){var i=this._baseState;return t(i.key===null),i.key=n,this},e.prototype.any=function(){return this._baseState.any=!0,this},e.prototype.choice=function(n){var i=this._baseState;return t(i.choice===null),i.choice=n,this._useArgs(Object.keys(n).map(function(r){return n[r]})),this},e.prototype.contains=function(n){var i=this._baseState;return t(i.use===null),i.contains=n,this},e.prototype._decode=function(n,i){var r=this._baseState;if(r.parent===null)return n.wrapResult(r.children[0]._decode(n,i));var o,a=r.default,d=!0,b=null;if(r.key!==null&&(b=n.enterKey(r.key)),r.optional){var w=null;if(r.explicit!==null?w=r.explicit:r.implicit!==null?w=r.implicit:r.tag!==null&&(w=r.tag),w!==null||r.any){if(d=this._peekTag(n,w,r.any),n.isError(d))return d}else{var g=n.save();try{r.choice===null?this._decodeGeneric(r.tag,n,i):this._decodeChoice(n,i),d=!0}catch{d=!1}n.restore(g)}}if(r.obj&&d&&(o=n.enterObject()),d){if(r.explicit!==null){var A=this._decodeTag(n,r.explicit);if(n.isError(A))return A;n=A}var T=n.offset;if(r.use===null&&r.choice===null){var S;r.any&&(S=n.save());var E=this._decodeTag(n,r.implicit!==null?r.implicit:r.tag,r.any);if(n.isError(E))return E;r.any?a=n.raw(S):n=E}if(i&&i.track&&r.tag!==null&&i.track(n.path(),T,n.length,"tagged"),i&&i.track&&r.tag!==null&&i.track(n.path(),n.offset,n.length,"content"),r.any||(a=r.choice===null?this._decodeGeneric(r.tag,n,i):this._decodeChoice(n,i)),n.isError(a))return a;if(r.any||r.choice!==null||r.children===null||r.children.forEach(function(I){I._decode(n,i)}),r.contains&&(r.tag==="octstr"||r.tag==="bitstr")){var k=new l(a);a=this._getUse(r.contains,n._reporterState.obj)._decode(k,i)}}return r.obj&&d&&(a=n.leaveObject(o)),r.key===null||a===null&&d!==!0?b!==null&&n.exitKey(b):n.leaveKey(b,r.key,a),a},e.prototype._decodeGeneric=function(n,i,r){var o=this._baseState;return n==="seq"||n==="set"?null:n==="seqof"||n==="setof"?this._decodeList(i,n,o.args[0],r):/str$/.test(n)?this._decodeStr(i,n,r):n==="objid"&&o.args?this._decodeObjid(i,o.args[0],o.args[1],r):n==="objid"?this._decodeObjid(i,null,null,r):n==="gentime"||n==="utctime"?this._decodeTime(i,n,r):n==="null_"?this._decodeNull(i,r):n==="bool"?this._decodeBool(i,r):n==="objDesc"?this._decodeStr(i,n,r):n==="int"||n==="enum"?this._decodeInt(i,o.args&&o.args[0],r):o.use!==null?this._getUse(o.use,i._reporterState.obj)._decode(i,r):i.error("unknown tag: "+n)},e.prototype._getUse=function(n,i){var r=this._baseState;return r.useDecoder=this._use(n,i),t(r.useDecoder._baseState.parent===null),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},e.prototype._decodeChoice=function(n,i){var r=this._baseState,o=null,a=!1;return Object.keys(r.choice).some(function(d){var b=n.save(),w=r.choice[d];try{var g=w._decode(n,i);if(n.isError(g))return!1;o={type:d,value:g},a=!0}catch{return n.restore(b),!1}return!0},this),a?o:n.error("Choice not matched")},e.prototype._createEncoderBuffer=function(n){return new p(n,this.reporter)},e.prototype._encode=function(n,i,r){var o=this._baseState;if(o.default===null||o.default!==n){var a=this._encodeValue(n,i,r);if(a!==void 0&&!this._skipDefault(a,i,r))return a}},e.prototype._encodeValue=function(n,i,r){var o=this._baseState;if(o.parent===null)return o.children[0]._encode(n,i||new v);var a=null;if(this.reporter=i,o.optional&&n===void 0){if(o.default===null)return;n=o.default}var d=null,b=!1;if(o.any)a=this._createEncoderBuffer(n);else if(o.choice)a=this._encodeChoice(n,i);else if(o.contains)d=this._getUse(o.contains,r)._encode(n,i),b=!0;else if(o.children)d=o.children.map(function(T){if(T._baseState.tag==="null_")return T._encode(null,i,n);if(T._baseState.key===null)return i.error("Child should have a key");var S=i.enterKey(T._baseState.key);if((0,h.default)(n)!=="object")return i.error("Child expected, but input is not object");var E=T._encode(n[T._baseState.key],i,n);return i.leaveKey(S),E},this).filter(function(T){return T}),d=this._createEncoderBuffer(d);else if(o.tag==="seqof"||o.tag==="setof"){if(!o.args||o.args.length!==1)return i.error("Too many args for : "+o.tag);if(!Array.isArray(n))return i.error("seqof/setof, but data is not Array");var w=this.clone();w._baseState.implicit=null,d=this._createEncoderBuffer(n.map(function(T){var S=this._baseState;return this._getUse(S.args[0],n)._encode(T,i)},w))}else o.use!==null?a=this._getUse(o.use,r)._encode(n,i):(d=this._encodePrimitive(o.tag,n),b=!0);if(!o.any&&o.choice===null){var g=o.implicit!==null?o.implicit:o.tag,A=o.implicit===null?"universal":"context";g===null?o.use===null&&i.error("Tag could be omitted only for .use()"):o.use===null&&(a=this._encodeComposite(g,b,A,d))}return o.explicit!==null&&(a=this._encodeComposite(o.explicit,!1,"context",a)),a},e.prototype._encodeChoice=function(n,i){var r=this._baseState,o=r.choice[n.type];return o||t(!1,n.type+" not found in "+JSON.stringify(Object.keys(r.choice))),o._encode(n.value,i)},e.prototype._encodePrimitive=function(n,i){var r=this._baseState;if(/str$/.test(n))return this._encodeStr(i,n);if(n==="objid"&&r.args)return this._encodeObjid(i,r.reverseArgs[0],r.args[1]);if(n==="objid")return this._encodeObjid(i,null,null);if(n==="gentime"||n==="utctime")return this._encodeTime(i,n);if(n==="null_")return this._encodeNull();if(n==="int"||n==="enum")return this._encodeInt(i,r.args&&r.reverseArgs[0]);if(n==="bool")return this._encodeBool(i);if(n==="objDesc")return this._encodeStr(i,n);throw new Error("Unsupported tag: "+n)},e.prototype._isNumstr=function(n){return/^[0-9 ]*$/.test(n)},e.prototype._isPrintstr=function(n){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(n)}},2719:(R,y,c)=>{var h=c(1736);function v(l){this._reporterState={obj:null,path:[],options:l||{},errors:[]}}function p(l,t){this.path=l,this.rethrow(t)}y.b=v,v.prototype.isError=function(l){return l instanceof p},v.prototype.save=function(){var l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},v.prototype.restore=function(l){var t=this._reporterState;t.obj=l.obj,t.path=t.path.slice(0,l.pathLen)},v.prototype.enterKey=function(l){return this._reporterState.path.push(l)},v.prototype.exitKey=function(l){var t=this._reporterState;t.path=t.path.slice(0,l-1)},v.prototype.leaveKey=function(l,t,s){var f=this._reporterState;this.exitKey(l),f.obj!==null&&(f.obj[t]=s)},v.prototype.path=function(){return this._reporterState.path.join("/")},v.prototype.enterObject=function(){var l=this._reporterState,t=l.obj;return l.obj={},t},v.prototype.leaveObject=function(l){var t=this._reporterState,s=t.obj;return t.obj=l,s},v.prototype.error=function(l){var t,s=this._reporterState,f=l instanceof p;if(t=f?l:new p(s.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),l.message||l,l.stack),!s.options.partial)throw t;return f||s.errors.push(t),t},v.prototype.wrapResult=function(l){var t=this._reporterState;return t.options.partial?{result:this.isError(l)?null:l,errors:t.errors}:l},h(p,Error),p.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},6520:(R,y)=>{function c(h){var v={};return Object.keys(h).forEach(function(p){(0|p)==p&&(p|=0);var l=h[p];v[l]=p}),v}y.tagClass={0:"universal",1:"application",2:"context",3:"private"},y.tagClassByName=c(y.tagClass),y.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},y.tagByName=c(y.tag)},9387:(R,y,c)=>{var h=y;h._reverse=function(v){var p={};return Object.keys(v).forEach(function(l){(0|l)==l&&(l|=0);var t=v[l];p[t]=l}),p},h.der=c(6520)},2387:(R,y,c)=>{var h=c(1736),v=c(1734),p=c(585).C,l=c(1371),t=c(6520);function s(n){this.enc="der",this.name=n.name,this.entity=n,this.tree=new f,this.tree._init(n.body)}function f(n){l.call(this,"der",n)}function e(n,i){var r=n.readUInt8(i);if(n.isError(r))return r;var o=t.tagClass[r>>6],a=(32&r)==0;if((31&r)==31){var d=r;for(r=0;(128&d)==128;){if(d=n.readUInt8(i),n.isError(d))return d;r<<=7,r|=127&d}}else r&=31;return{cls:o,primitive:a,tag:r,tagStr:t.tag[r]}}function u(n,i,r){var o=n.readUInt8(r);if(n.isError(o))return o;if(!i&&o===128)return null;if(!(128&o))return o;var a=127&o;if(a>4)return n.error("length octect is too long");o=0;for(var d=0;d<a;d++){o<<=8;var b=n.readUInt8(r);if(n.isError(b))return b;o|=b}return o}R.exports=s,s.prototype.decode=function(n,i){return p.isDecoderBuffer(n)||(n=new p(n,i)),this.tree._decode(n,i)},h(f,l),f.prototype._peekTag=function(n,i,r){if(n.isEmpty())return!1;var o=n.save(),a=e(n,'Failed to peek tag: "'+i+'"');return n.isError(a)?a:(n.restore(o),a.tag===i||a.tagStr===i||a.tagStr+"of"===i||r)},f.prototype._decodeTag=function(n,i,r){var o=e(n,'Failed to decode tag of "'+i+'"');if(n.isError(o))return o;var a=u(n,o.primitive,'Failed to get length of "'+i+'"');if(n.isError(a))return a;if(!r&&o.tag!==i&&o.tagStr!==i&&o.tagStr+"of"!==i)return n.error('Failed to match tag: "'+i+'"');if(o.primitive||a!==null)return n.skip(a,'Failed to match body of: "'+i+'"');var d=n.save(),b=this._skipUntilEnd(n,'Failed to skip indefinite length body: "'+this.tag+'"');return n.isError(b)?b:(a=n.offset-d.offset,n.restore(d),n.skip(a,'Failed to match body of: "'+i+'"'))},f.prototype._skipUntilEnd=function(n,i){for(;;){var r=e(n,i);if(n.isError(r))return r;var o=u(n,r.primitive,i);if(n.isError(o))return o;var a;if(a=r.primitive||o!==null?n.skip(o):this._skipUntilEnd(n,i),n.isError(a))return a;if(r.tagStr==="end")break}},f.prototype._decodeList=function(n,i,r,o){for(var a=[];!n.isEmpty();){var d=this._peekTag(n,"end");if(n.isError(d))return d;var b=r.decode(n,"der",o);if(n.isError(b)&&d)break;a.push(b)}return a},f.prototype._decodeStr=function(n,i){if(i==="bitstr"){var r=n.readUInt8();return n.isError(r)?r:{unused:r,data:n.raw()}}if(i==="bmpstr"){var o=n.raw();if(o.length%2==1)return n.error("Decoding of string type: bmpstr length mismatch");for(var a="",d=0;d<o.length/2;d++)a+=String.fromCharCode(o.readUInt16BE(2*d));return a}if(i==="numstr"){var b=n.raw().toString("ascii");return this._isNumstr(b)?b:n.error("Decoding of string type: numstr unsupported characters")}if(i==="octstr"||i==="objDesc")return n.raw();if(i==="printstr"){var w=n.raw().toString("ascii");return this._isPrintstr(w)?w:n.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(i)?n.raw().toString():n.error("Decoding of string type: "+i+" unsupported")},f.prototype._decodeObjid=function(n,i,r){for(var o,a=[],d=0,b=0;!n.isEmpty();)d<<=7,d|=127&(b=n.readUInt8()),!(128&b)&&(a.push(d),d=0);128&b&&a.push(d);var w=a[0]/40|0,g=a[0]%40;if(o=r?a:[w,g].concat(a.slice(1)),i){var A=i[o.join(" ")];A===void 0&&(A=i[o.join(".")]),A!==void 0&&(o=A)}return o},f.prototype._decodeTime=function(n,i){var r,o,a,d,b,w,g=n.raw().toString();if(i==="gentime")r=0|g.slice(0,4),o=0|g.slice(4,6),a=0|g.slice(6,8),d=0|g.slice(8,10),b=0|g.slice(10,12),w=0|g.slice(12,14);else{if(i!=="utctime")return n.error("Decoding "+i+" time is not supported yet");r=0|g.slice(0,2),o=0|g.slice(2,4),a=0|g.slice(4,6),d=0|g.slice(6,8),b=0|g.slice(8,10),w=0|g.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,o-1,a,d,b,w,0)},f.prototype._decodeNull=function(){return null},f.prototype._decodeBool=function(n){var i=n.readUInt8();return n.isError(i)?i:i!==0},f.prototype._decodeInt=function(n,i){var r=n.raw(),o=new v(r);return i&&(o=i[o.toString(10)]||o),o},f.prototype._use=function(n,i){return typeof n=="function"&&(n=n(i)),n._getDecoder("der").tree}},1500:(R,y,c)=>{var h=y;h.der=c(2387),h.pem=c(529)},529:(R,y,c)=>{var h=c(1736),v=c(1755).Buffer,p=c(2387);function l(t){p.call(this,t),this.enc="pem"}h(l,p),R.exports=l,l.prototype.decode=function(t,s){for(var f=t.toString().split(/[\r\n]+/g),e=s.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/,n=-1,i=-1,r=0;r<f.length;r++){var o=f[r].match(u);if(o!==null&&o[2]===e){if(n!==-1){if(o[1]!=="END")break;i=r;break}if(o[1]!=="BEGIN")break;n=r}}if(n===-1||i===-1)throw new Error("PEM section not found for: "+e);var a=f.slice(n+1,i).join("");a.replace(/[^a-z0-9+/=]+/gi,"");var d=v.from(a,"base64");return p.prototype.decode.call(this,d,s)}},1068:(R,y,c)=>{var h=c(1736),v=c(1755).Buffer,p=c(1371),l=c(6520);function t(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new s,this.tree._init(e.body)}function s(e){p.call(this,"der",e)}function f(e){return e<10?"0"+e:e}R.exports=t,t.prototype.encode=function(e,u){return this.tree._encode(e,u).join()},h(s,p),s.prototype._encodeComposite=function(e,u,n,i){var r=function(A,T,S,E){var k;if(A==="seqof"?A="seq":A==="setof"&&(A="set"),l.tagByName.hasOwnProperty(A))k=l.tagByName[A];else{if(typeof A!="number"||(0|A)!==A)return E.error("Unknown tag: "+A);k=A}return k>=31?E.error("Multi-octet tag encoding unsupported"):(T||(k|=32),k|=l.tagClassByName[S||"universal"]<<6)}(e,u,n,this.reporter);if(i.length<128){var o=v.alloc(2);return o[0]=r,o[1]=i.length,this._createEncoderBuffer([o,i])}for(var a=1,d=i.length;d>=256;d>>=8)a++;var b=v.alloc(2+a);b[0]=r,b[1]=128|a;for(var w=1+a,g=i.length;g>0;w--,g>>=8)b[w]=255&g;return this._createEncoderBuffer([b,i])},s.prototype._encodeStr=function(e,u){if(u==="bitstr")return this._createEncoderBuffer([0|e.unused,e.data]);if(u==="bmpstr"){for(var n=v.alloc(2*e.length),i=0;i<e.length;i++)n.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(n)}return u==="numstr"?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):u==="printstr"?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(u)||u==="objDesc"?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+u+" unsupported")},s.prototype._encodeObjid=function(e,u,n){if(typeof e=="string"){if(!u)return this.reporter.error("string objid given, but no values map found");if(!u.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=u[e].split(/[\s.]+/g);for(var i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(var r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var o=0,a=0;a<e.length;a++){var d=e[a];for(o++;d>=128;d>>=7)o++}for(var b=v.alloc(o),w=b.length-1,g=e.length-1;g>=0;g--){var A=e[g];for(b[w--]=127&A;(A>>=7)>0;)b[w--]=128|127&A}return this._createEncoderBuffer(b)},s.prototype._encodeTime=function(e,u){var n,i=new Date(e);return u==="gentime"?n=[f(i.getUTCFullYear()),f(i.getUTCMonth()+1),f(i.getUTCDate()),f(i.getUTCHours()),f(i.getUTCMinutes()),f(i.getUTCSeconds()),"Z"].join(""):u==="utctime"?n=[f(i.getUTCFullYear()%100),f(i.getUTCMonth()+1),f(i.getUTCDate()),f(i.getUTCHours()),f(i.getUTCMinutes()),f(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(n,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.prototype._encodeInt=function(e,u){if(typeof e=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=u[e]}if(typeof e!="number"&&!v.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=v.from(n)}if(v.isBuffer(e)){var i=e.length;e.length===0&&i++;var r=v.alloc(i);return e.copy(r),e.length===0&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var o=1,a=e;a>=256;a>>=8)o++;for(var d=new Array(o),b=d.length-1;b>=0;b--)d[b]=255&e,e>>=8;return 128&d[0]&&d.unshift(0),this._createEncoderBuffer(v.from(d))},s.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},s.prototype._use=function(e,u){return typeof e=="function"&&(e=e(u)),e._getEncoder("der").tree},s.prototype._skipDefault=function(e,u,n){var i,r=this._baseState;if(r.default===null)return!1;var o=e.join();if(r.defaultBuffer===void 0&&(r.defaultBuffer=this._encodeValue(r.default,u,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==r.defaultBuffer[i])return!1;return!0}},7506:(R,y,c)=>{var h=y;h.der=c(1068),h.pem=c(8520)},8520:(R,y,c)=>{var h=c(1736),v=c(1068);function p(l){v.call(this,l),this.enc="pem"}h(p,v),R.exports=p,p.prototype.encode=function(l,t){for(var s=v.prototype.encode.call(this,l).toString("base64"),f=["-----BEGIN "+t.label+"-----"],e=0;e<s.length;e+=64)f.push(s.slice(e,e+64));return f.push("-----END "+t.label+"-----"),f.join(`
4
+ `)}},3894:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(3103);function p(k,I){if(k===I)return 0;for(var N=k.length,D=I.length,L=0,m=Math.min(N,D);L<m;++L)if(k[L]!==I[L]){N=k[L],D=I[L];break}return N<D?-1:D<N?1:0}function l(k){return c.g.Buffer&&typeof c.g.Buffer.isBuffer=="function"?c.g.Buffer.isBuffer(k):!(k==null||!k._isBuffer)}var t=c(9954),s=Object.prototype.hasOwnProperty,f=Array.prototype.slice,e=(function(){}).name==="foo";function u(k){return Object.prototype.toString.call(k)}function n(k){return!l(k)&&typeof c.g.ArrayBuffer=="function"&&(typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(k):!!k&&(k instanceof DataView||!!(k.buffer&&k.buffer instanceof ArrayBuffer)))}var i=R.exports=w,r=/\s*function\s+([^\(\s]*)\s*/;function o(k){if(t.isFunction(k)){if(e)return k.name;var I=k.toString().match(r);return I&&I[1]}}function a(k,I){return typeof k=="string"?k.length<I?k:k.slice(0,I):k}function d(k){if(e||!t.isFunction(k))return t.inspect(k);var I=o(k);return"[Function"+(I?": "+I:"")+"]"}function b(k,I,N,D,L){throw new i.AssertionError({message:N,actual:k,expected:I,operator:D,stackStartFunction:L})}function w(k,I){k||b(k,!0,I,"==",i.ok)}function g(k,I,N,D){if(k===I)return!0;if(l(k)&&l(I))return p(k,I)===0;if(t.isDate(k)&&t.isDate(I))return k.getTime()===I.getTime();if(t.isRegExp(k)&&t.isRegExp(I))return k.source===I.source&&k.global===I.global&&k.multiline===I.multiline&&k.lastIndex===I.lastIndex&&k.ignoreCase===I.ignoreCase;if(k!==null&&(0,h.default)(k)==="object"||I!==null&&(0,h.default)(I)==="object"){if(n(k)&&n(I)&&u(k)===u(I)&&!(k instanceof Float32Array||k instanceof Float64Array))return p(new Uint8Array(k.buffer),new Uint8Array(I.buffer))===0;if(l(k)!==l(I))return!1;var L=(D=D||{actual:[],expected:[]}).actual.indexOf(k);return L!==-1&&L===D.expected.indexOf(I)||(D.actual.push(k),D.expected.push(I),function(m,P,C,B){if(m==null||P==null)return!1;if(t.isPrimitive(m)||t.isPrimitive(P))return m===P;if(C&&Object.getPrototypeOf(m)!==Object.getPrototypeOf(P))return!1;var x=A(m),j=A(P);if(x&&!j||!x&&j)return!1;if(x)return g(m=f.call(m),P=f.call(P),C);var K,V,J=E(m),O=E(P);if(J.length!==O.length)return!1;for(J.sort(),O.sort(),V=J.length-1;V>=0;V--)if(J[V]!==O[V])return!1;for(V=J.length-1;V>=0;V--)if(!g(m[K=J[V]],P[K],C,B))return!1;return!0}(k,I,N,D))}return N?k===I:k==I}function A(k){return Object.prototype.toString.call(k)=="[object Arguments]"}function T(k,I){if(!k||!I)return!1;if(Object.prototype.toString.call(I)=="[object RegExp]")return I.test(k);try{if(k instanceof I)return!0}catch{}return!Error.isPrototypeOf(I)&&I.call({},k)===!0}function S(k,I,N,D){var L;if(typeof I!="function")throw new TypeError('"block" argument must be a function');typeof N=="string"&&(D=N,N=null),L=function(C){var B;try{C()}catch(x){B=x}return B}(I),D=(N&&N.name?" ("+N.name+").":".")+(D?" "+D:"."),k&&!L&&b(L,N,"Missing expected exception"+D);var m=typeof D=="string",P=!k&&L&&!N;if((!k&&t.isError(L)&&m&&T(L,N)||P)&&b(L,N,"Got unwanted exception"+D),k&&L&&N&&!T(L,N)||!k&&L)throw L}i.AssertionError=function(k){this.name="AssertionError",this.actual=k.actual,this.expected=k.expected,this.operator=k.operator,k.message?(this.message=k.message,this.generatedMessage=!1):(this.message=function(C){return a(d(C.actual),128)+" "+C.operator+" "+a(d(C.expected),128)}(this),this.generatedMessage=!0);var I=k.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,I);else{var N=new Error;if(N.stack){var D=N.stack,L=o(I),m=D.indexOf(`
5
+ `+L);if(m>=0){var P=D.indexOf(`
6
+ `,m+1);D=D.substring(P+1)}this.stack=D}}},t.inherits(i.AssertionError,Error),i.fail=b,i.ok=w,i.equal=function(k,I,N){k!=I&&b(k,I,N,"==",i.equal)},i.notEqual=function(k,I,N){k==I&&b(k,I,N,"!=",i.notEqual)},i.deepEqual=function(k,I,N){g(k,I,!1)||b(k,I,N,"deepEqual",i.deepEqual)},i.deepStrictEqual=function(k,I,N){g(k,I,!0)||b(k,I,N,"deepStrictEqual",i.deepStrictEqual)},i.notDeepEqual=function(k,I,N){g(k,I,!1)&&b(k,I,N,"notDeepEqual",i.notDeepEqual)},i.notDeepStrictEqual=function k(I,N,D){g(I,N,!0)&&b(I,N,D,"notDeepStrictEqual",k)},i.strictEqual=function(k,I,N){k!==I&&b(k,I,N,"===",i.strictEqual)},i.notStrictEqual=function(k,I,N){k===I&&b(k,I,N,"!==",i.notStrictEqual)},i.throws=function(k,I,N){S(!0,k,I,N)},i.doesNotThrow=function(k,I,N){S(!1,k,I,N)},i.ifError=function(k){if(k)throw k},i.strict=v(function k(I,N){I||b(I,!0,N,"==",k)},i,{equal:i.strictEqual,deepEqual:i.deepStrictEqual,notEqual:i.notStrictEqual,notDeepEqual:i.notDeepStrictEqual}),i.strict.strict=i.strict;var E=Object.keys||function(k){var I=[];for(var N in k)s.call(k,N)&&I.push(N);return I}},4074:R=>{typeof Object.create=="function"?R.exports=function(y,c){y.super_=c,y.prototype=Object.create(c.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})}:R.exports=function(y,c){y.super_=c;var h=function(){};h.prototype=c.prototype,y.prototype=new h,y.prototype.constructor=y}},6732:(R,y,c)=>{var h=c(8847)(c(3355));R.exports=function(v){return v&&(0,h.default)(v)==="object"&&typeof v.copy=="function"&&typeof v.fill=="function"&&typeof v.readUInt8=="function"}},9954:(R,y,c)=>{var h=c(9142),v=c(8847)(c(3355)),p=/%[sdj%]/g;y.format=function(m){if(!b(m)){for(var P=[],C=0;C<arguments.length;C++)P.push(s(arguments[C]));return P.join(" ")}C=1;for(var B=arguments,x=B.length,j=String(m).replace(p,function(V){if(V==="%%")return"%";if(C>=x)return V;switch(V){case"%s":return String(B[C++]);case"%d":return Number(B[C++]);case"%j":try{return JSON.stringify(B[C++])}catch{return"[Circular]"}default:return V}}),K=B[C];C<x;K=B[++C])a(K)||!A(K)?j+=" "+K:j+=" "+s(K);return j},y.deprecate=function(m,P){if(w(c.g.process))return function(){return y.deprecate(m,P).apply(this,arguments)};if(h.noDeprecation===!0)return m;var C=!1;return function(){if(!C){if(h.throwDeprecation)throw new Error(P);h.traceDeprecation?console.trace(P):console.error(P),C=!0}return m.apply(this,arguments)}};var l,t={};function s(m,P){var C={seen:[],stylize:e};return arguments.length>=3&&(C.depth=arguments[2]),arguments.length>=4&&(C.colors=arguments[3]),o(P)?C.showHidden=P:P&&y._extend(C,P),w(C.showHidden)&&(C.showHidden=!1),w(C.depth)&&(C.depth=2),w(C.colors)&&(C.colors=!1),w(C.customInspect)&&(C.customInspect=!0),C.colors&&(C.stylize=f),u(C,m,C.depth)}function f(m,P){var C=s.styles[P];return C?"\x1B["+s.colors[C][0]+"m"+m+"\x1B["+s.colors[C][1]+"m":m}function e(m,P){return m}function u(m,P,C){if(m.customInspect&&P&&E(P.inspect)&&P.inspect!==y.inspect&&(!P.constructor||P.constructor.prototype!==P)){var B=P.inspect(C,m);return b(B)||(B=u(m,B,C)),B}var x=function(H,M){if(w(M))return H.stylize("undefined","undefined");if(b(M)){var _="'"+JSON.stringify(M).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return H.stylize(_,"string")}return d(M)?H.stylize(""+M,"number"):o(M)?H.stylize(""+M,"boolean"):a(M)?H.stylize("null","null"):void 0}(m,P);if(x)return x;var j=Object.keys(P),K=function(H){var M={};return H.forEach(function(_,U){M[_]=!0}),M}(j);if(m.showHidden&&(j=Object.getOwnPropertyNames(P)),S(P)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return n(P);if(j.length===0){if(E(P)){var V=P.name?": "+P.name:"";return m.stylize("[Function"+V+"]","special")}if(g(P))return m.stylize(RegExp.prototype.toString.call(P),"regexp");if(T(P))return m.stylize(Date.prototype.toString.call(P),"date");if(S(P))return n(P)}var J,O="",F=!1,G=["{","}"];return r(P)&&(F=!0,G=["[","]"]),E(P)&&(O=" [Function"+(P.name?": "+P.name:"")+"]"),g(P)&&(O=" "+RegExp.prototype.toString.call(P)),T(P)&&(O=" "+Date.prototype.toUTCString.call(P)),S(P)&&(O=" "+n(P)),j.length!==0||F&&P.length!=0?C<0?g(P)?m.stylize(RegExp.prototype.toString.call(P),"regexp"):m.stylize("[Object]","special"):(m.seen.push(P),J=F?function(H,M,_,U,q){for(var z=[],W=0,Y=M.length;W<Y;++W)L(M,String(W))?z.push(i(H,M,_,U,String(W),!0)):z.push("");return q.forEach(function(X){X.match(/^\d+$/)||z.push(i(H,M,_,U,X,!0))}),z}(m,P,C,K,j):j.map(function(H){return i(m,P,C,K,H,F)}),m.seen.pop(),function(H,M,_){return H.reduce(function(U,q){return q.indexOf(`
7
+ `),U+q.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?_[0]+(M===""?"":M+`
8
+ `)+" "+H.join(`,
9
+ `)+" "+_[1]:_[0]+M+" "+H.join(", ")+" "+_[1]}(J,O,G)):G[0]+O+G[1]}function n(m){return"["+Error.prototype.toString.call(m)+"]"}function i(m,P,C,B,x,j){var K,V,J;if((J=Object.getOwnPropertyDescriptor(P,x)||{value:P[x]}).get?V=J.set?m.stylize("[Getter/Setter]","special"):m.stylize("[Getter]","special"):J.set&&(V=m.stylize("[Setter]","special")),L(B,x)||(K="["+x+"]"),V||(m.seen.indexOf(J.value)<0?(V=a(C)?u(m,J.value,null):u(m,J.value,C-1)).indexOf(`
10
+ `)>-1&&(V=j?V.split(`
11
+ `).map(function(O){return" "+O}).join(`
12
+ `).substr(2):`
13
+ `+V.split(`
14
+ `).map(function(O){return" "+O}).join(`
15
+ `)):V=m.stylize("[Circular]","special")),w(K)){if(j&&x.match(/^\d+$/))return V;(K=JSON.stringify(""+x)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(K=K.substr(1,K.length-2),K=m.stylize(K,"name")):(K=K.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),K=m.stylize(K,"string"))}return K+": "+V}function r(m){return Array.isArray(m)}function o(m){return typeof m=="boolean"}function a(m){return m===null}function d(m){return typeof m=="number"}function b(m){return typeof m=="string"}function w(m){return m===void 0}function g(m){return A(m)&&k(m)==="[object RegExp]"}function A(m){return(0,v.default)(m)==="object"&&m!==null}function T(m){return A(m)&&k(m)==="[object Date]"}function S(m){return A(m)&&(k(m)==="[object Error]"||m instanceof Error)}function E(m){return typeof m=="function"}function k(m){return Object.prototype.toString.call(m)}function I(m){return m<10?"0"+m.toString(10):m.toString(10)}y.debuglog=function(m){if(w(l)&&(l=h.env.NODE_DEBUG||""),m=m.toUpperCase(),!t[m])if(new RegExp("\\b"+m+"\\b","i").test(l)){var P=h.pid;t[m]=function(){var C=y.format.apply(y,arguments);console.error("%s %d: %s",m,P,C)}}else t[m]=function(){};return t[m]},y.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},y.isArray=r,y.isBoolean=o,y.isNull=a,y.isNullOrUndefined=function(m){return m==null},y.isNumber=d,y.isString=b,y.isSymbol=function(m){return(0,v.default)(m)==="symbol"},y.isUndefined=w,y.isRegExp=g,y.isObject=A,y.isDate=T,y.isError=S,y.isFunction=E,y.isPrimitive=function(m){return m===null||typeof m=="boolean"||typeof m=="number"||typeof m=="string"||(0,v.default)(m)==="symbol"||m===void 0},y.isBuffer=c(6732);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var m=new Date,P=[I(m.getHours()),I(m.getMinutes()),I(m.getSeconds())].join(":");return[m.getDate(),N[m.getMonth()],P].join(" ")}function L(m,P){return Object.prototype.hasOwnProperty.call(m,P)}y.log=function(){console.log("%s - %s",D(),y.format.apply(y,arguments))},y.inherits=c(4074),y._extend=function(m,P){if(!P||!A(P))return m;for(var C=Object.keys(P),B=C.length;B--;)m[C[B]]=P[C[B]];return m}},7548:(R,y,c)=>{var h=c(8850).Buffer;R.exports=function(v){if(v.length>=255)throw new TypeError("Alphabet too long");for(var p=new Uint8Array(256),l=0;l<p.length;l++)p[l]=255;for(var t=0;t<v.length;t++){var s=v.charAt(t),f=s.charCodeAt(0);if(p[f]!==255)throw new TypeError(s+" is ambiguous");p[f]=t}var e=v.length,u=v.charAt(0),n=Math.log(e)/Math.log(256),i=Math.log(256)/Math.log(e);function r(o){if(typeof o!="string")throw new TypeError("Expected String");if(o.length===0)return h.alloc(0);for(var a=0,d=0,b=0;o[a]===u;)d++,a++;for(var w=(o.length-a)*n+1>>>0,g=new Uint8Array(w);o[a];){var A=p[o.charCodeAt(a)];if(A===255)return;for(var T=0,S=w-1;(A!==0||T<b)&&S!==-1;S--,T++)A+=e*g[S]>>>0,g[S]=A%256>>>0,A=A/256>>>0;if(A!==0)throw new Error("Non-zero carry");b=T,a++}for(var E=w-b;E!==w&&g[E]===0;)E++;var k=h.allocUnsafe(d+(w-E));k.fill(0,0,d);for(var I=d;E!==w;)k[I++]=g[E++];return k}return{encode:function(o){if((Array.isArray(o)||o instanceof Uint8Array)&&(o=h.from(o)),!h.isBuffer(o))throw new TypeError("Expected Buffer");if(o.length===0)return"";for(var a=0,d=0,b=0,w=o.length;b!==w&&o[b]===0;)b++,a++;for(var g=(w-b)*i+1>>>0,A=new Uint8Array(g);b!==w;){for(var T=o[b],S=0,E=g-1;(T!==0||S<d)&&E!==-1;E--,S++)T+=256*A[E]>>>0,A[E]=T%e>>>0,T=T/e>>>0;if(T!==0)throw new Error("Non-zero carry");d=S,b++}for(var k=g-d;k!==g&&A[k]===0;)k++;for(var I=u.repeat(a);k<g;++k)I+=v.charAt(A[k]);return I},decodeUnsafe:r,decode:function(o){var a=r(o);if(a)return a;throw new Error("Non-base"+e+" character")}}}},4919:(R,y)=>{y.byteLength=function(e){var u=s(e),n=u[0],i=u[1];return 3*(n+i)/4-i},y.toByteArray=function(e){var u,n,i=s(e),r=i[0],o=i[1],a=new v(function(w,g,A){return 3*(g+A)/4-A}(0,r,o)),d=0,b=o>0?r-4:r;for(n=0;n<b;n+=4)u=h[e.charCodeAt(n)]<<18|h[e.charCodeAt(n+1)]<<12|h[e.charCodeAt(n+2)]<<6|h[e.charCodeAt(n+3)],a[d++]=u>>16&255,a[d++]=u>>8&255,a[d++]=255&u;return o===2&&(u=h[e.charCodeAt(n)]<<2|h[e.charCodeAt(n+1)]>>4,a[d++]=255&u),o===1&&(u=h[e.charCodeAt(n)]<<10|h[e.charCodeAt(n+1)]<<4|h[e.charCodeAt(n+2)]>>2,a[d++]=u>>8&255,a[d++]=255&u),a},y.fromByteArray=function(e){for(var u,n=e.length,i=n%3,r=[],o=16383,a=0,d=n-i;a<d;a+=o)r.push(f(e,a,a+o>d?d:a+o));return i===1?(u=e[n-1],r.push(c[u>>2]+c[u<<4&63]+"==")):i===2&&(u=(e[n-2]<<8)+e[n-1],r.push(c[u>>10]+c[u>>4&63]+c[u<<2&63]+"=")),r.join("")};for(var c=[],h=[],v=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,t=p.length;l<t;++l)c[l]=p[l],h[p.charCodeAt(l)]=l;function s(e){var u=e.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return n===-1&&(n=u),[n,n===u?0:4-n%4]}function f(e,u,n){for(var i,r,o=[],a=u;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(c[(r=i)>>18&63]+c[r>>12&63]+c[r>>6&63]+c[63&r]);return o.join("")}h["-".charCodeAt(0)]=62,h["_".charCodeAt(0)]=63},1734:(R,y,c)=>{R=c.nmd(R);var h=c(8847)(c(3355));(function(v,p){function l(m,P){if(!m)throw new Error(P||"Assertion failed")}function t(m,P){m.super_=P;var C=function(){};C.prototype=P.prototype,m.prototype=new C,m.prototype.constructor=m}function s(m,P,C){if(s.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,m!==null&&(P!=="le"&&P!=="be"||(C=P,P=10),this._init(m||0,P||10,C||"be"))}var f;(0,h.default)(v)==="object"?v.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{f=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9033).Buffer}catch{}function e(m,P){var C=m.charCodeAt(P);return C>=48&&C<=57?C-48:C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:void l(!1,"Invalid character in "+m)}function u(m,P,C){var B=e(m,C);return C-1>=P&&(B|=e(m,C-1)<<4),B}function n(m,P,C,B){for(var x=0,j=0,K=Math.min(m.length,C),V=P;V<K;V++){var J=m.charCodeAt(V)-48;x*=B,j=J>=49?J-49+10:J>=17?J-17+10:J,l(J>=0&&j<B,"Invalid character"),x+=j}return x}function i(m,P){m.words=P.words,m.length=P.length,m.negative=P.negative,m.red=P.red}if(s.isBN=function(m){return m instanceof s||m!==null&&(0,h.default)(m)==="object"&&m.constructor.wordSize===s.wordSize&&Array.isArray(m.words)},s.max=function(m,P){return m.cmp(P)>0?m:P},s.min=function(m,P){return m.cmp(P)<0?m:P},s.prototype._init=function(m,P,C){if(typeof m=="number")return this._initNumber(m,P,C);if((0,h.default)(m)==="object")return this._initArray(m,P,C);P==="hex"&&(P=16),l(P===(0|P)&&P>=2&&P<=36);var B=0;(m=m.toString().replace(/\s+/g,""))[0]==="-"&&(B++,this.negative=1),B<m.length&&(P===16?this._parseHex(m,B,C):(this._parseBase(m,P,B),C==="le"&&this._initArray(this.toArray(),P,C)))},s.prototype._initNumber=function(m,P,C){m<0&&(this.negative=1,m=-m),m<67108864?(this.words=[67108863&m],this.length=1):m<4503599627370496?(this.words=[67108863&m,m/67108864&67108863],this.length=2):(l(m<9007199254740992),this.words=[67108863&m,m/67108864&67108863,1],this.length=3),C==="le"&&this._initArray(this.toArray(),P,C)},s.prototype._initArray=function(m,P,C){if(l(typeof m.length=="number"),m.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(m.length/3),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var x,j,K=0;if(C==="be")for(B=m.length-1,x=0;B>=0;B-=3)j=m[B]|m[B-1]<<8|m[B-2]<<16,this.words[x]|=j<<K&67108863,this.words[x+1]=j>>>26-K&67108863,(K+=24)>=26&&(K-=26,x++);else if(C==="le")for(B=0,x=0;B<m.length;B+=3)j=m[B]|m[B+1]<<8|m[B+2]<<16,this.words[x]|=j<<K&67108863,this.words[x+1]=j>>>26-K&67108863,(K+=24)>=26&&(K-=26,x++);return this._strip()},s.prototype._parseHex=function(m,P,C){this.length=Math.ceil((m.length-P)/6),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var x,j=0,K=0;if(C==="be")for(B=m.length-1;B>=P;B-=2)x=u(m,P,B)<<j,this.words[K]|=67108863&x,j>=18?(j-=18,K+=1,this.words[K]|=x>>>26):j+=8;else for(B=(m.length-P)%2==0?P+1:P;B<m.length;B+=2)x=u(m,P,B)<<j,this.words[K]|=67108863&x,j>=18?(j-=18,K+=1,this.words[K]|=x>>>26):j+=8;this._strip()},s.prototype._parseBase=function(m,P,C){this.words=[0],this.length=1;for(var B=0,x=1;x<=67108863;x*=P)B++;B--,x=x/P|0;for(var j=m.length-C,K=j%B,V=Math.min(j,j-K)+C,J=0,O=C;O<V;O+=B)J=n(m,O,O+B,P),this.imuln(x),this.words[0]+J<67108864?this.words[0]+=J:this._iaddn(J);if(K!==0){var F=1;for(J=n(m,O,m.length,P),O=0;O<K;O++)F*=P;this.imuln(F),this.words[0]+J<67108864?this.words[0]+=J:this._iaddn(J)}this._strip()},s.prototype.copy=function(m){m.words=new Array(this.length);for(var P=0;P<this.length;P++)m.words[P]=this.words[P];m.length=this.length,m.negative=this.negative,m.red=this.red},s.prototype._move=function(m){i(m,this)},s.prototype.clone=function(){var m=new s(null);return this.copy(m),m},s.prototype._expand=function(m){for(;this.length<m;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=r}catch{s.prototype.inspect=r}else s.prototype.inspect=r;function r(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var o=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],a=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(m,P,C){C.negative=P.negative^m.negative;var B=m.length+P.length|0;C.length=B,B=B-1|0;var x=0|m.words[0],j=0|P.words[0],K=x*j,V=67108863&K,J=K/67108864|0;C.words[0]=V;for(var O=1;O<B;O++){for(var F=J>>>26,G=67108863&J,H=Math.min(O,P.length-1),M=Math.max(0,O-m.length+1);M<=H;M++){var _=O-M|0;F+=(K=(x=0|m.words[_])*(j=0|P.words[M])+G)/67108864|0,G=67108863&K}C.words[O]=0|G,J=0|F}return J!==0?C.words[O]=0|J:C.length--,C._strip()}s.prototype.toString=function(m,P){var C;if(P=0|P||1,(m=m||10)===16||m==="hex"){C="";for(var B=0,x=0,j=0;j<this.length;j++){var K=this.words[j],V=(16777215&(K<<B|x)).toString(16);x=K>>>24-B&16777215,(B+=2)>=26&&(B-=26,j--),C=x!==0||j!==this.length-1?o[6-V.length]+V+C:V+C}for(x!==0&&(C=x.toString(16)+C);C.length%P!=0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}if(m===(0|m)&&m>=2&&m<=36){var J=a[m],O=d[m];C="";var F=this.clone();for(F.negative=0;!F.isZero();){var G=F.modrn(O).toString(m);C=(F=F.idivn(O)).isZero()?G+C:o[J-G.length]+G+C}for(this.isZero()&&(C="0"+C);C.length%P!=0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}l(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=67108864*this.words[1]:this.length===3&&this.words[2]===1?m+=4503599627370496+67108864*this.words[1]:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},s.prototype.toJSON=function(){return this.toString(16,2)},f&&(s.prototype.toBuffer=function(m,P){return this.toArrayLike(f,m,P)}),s.prototype.toArray=function(m,P){return this.toArrayLike(Array,m,P)},s.prototype.toArrayLike=function(m,P,C){this._strip();var B=this.byteLength(),x=C||Math.max(1,B);l(B<=x,"byte array longer than desired length"),l(x>0,"Requested array length <= 0");var j=function(K,V){return K.allocUnsafe?K.allocUnsafe(V):new K(V)}(m,x);return this["_toArrayLike"+(P==="le"?"LE":"BE")](j,B),j},s.prototype._toArrayLikeLE=function(m,P){for(var C=0,B=0,x=0,j=0;x<this.length;x++){var K=this.words[x]<<j|B;m[C++]=255&K,C<m.length&&(m[C++]=K>>8&255),C<m.length&&(m[C++]=K>>16&255),j===6?(C<m.length&&(m[C++]=K>>24&255),B=0,j=0):(B=K>>>24,j+=2)}if(C<m.length)for(m[C++]=B;C<m.length;)m[C++]=0},s.prototype._toArrayLikeBE=function(m,P){for(var C=m.length-1,B=0,x=0,j=0;x<this.length;x++){var K=this.words[x]<<j|B;m[C--]=255&K,C>=0&&(m[C--]=K>>8&255),C>=0&&(m[C--]=K>>16&255),j===6?(C>=0&&(m[C--]=K>>24&255),B=0,j=0):(B=K>>>24,j+=2)}if(C>=0)for(m[C--]=B;C>=0;)m[C--]=0},Math.clz32?s.prototype._countBits=function(m){return 32-Math.clz32(m)}:s.prototype._countBits=function(m){var P=m,C=0;return P>=4096&&(C+=13,P>>>=13),P>=64&&(C+=7,P>>>=7),P>=8&&(C+=4,P>>>=4),P>=2&&(C+=2,P>>>=2),C+P},s.prototype._zeroBits=function(m){if(m===0)return 26;var P=m,C=0;return!(8191&P)&&(C+=13,P>>>=13),!(127&P)&&(C+=7,P>>>=7),!(15&P)&&(C+=4,P>>>=4),!(3&P)&&(C+=2,P>>>=2),!(1&P)&&C++,C},s.prototype.bitLength=function(){var m=this.words[this.length-1],P=this._countBits(m);return 26*(this.length-1)+P},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,P=0;P<this.length;P++){var C=this._zeroBits(this.words[P]);if(m+=C,C!==26)break}return m},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(m){return this.negative!==0?this.abs().inotn(m).iaddn(1):this.clone()},s.prototype.fromTwos=function(m){return this.testn(m-1)?this.notn(m).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(m){for(;this.length<m.length;)this.words[this.length++]=0;for(var P=0;P<m.length;P++)this.words[P]=this.words[P]|m.words[P];return this._strip()},s.prototype.ior=function(m){return l((this.negative|m.negative)==0),this.iuor(m)},s.prototype.or=function(m){return this.length>m.length?this.clone().ior(m):m.clone().ior(this)},s.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},s.prototype.iuand=function(m){var P;P=this.length>m.length?m:this;for(var C=0;C<P.length;C++)this.words[C]=this.words[C]&m.words[C];return this.length=P.length,this._strip()},s.prototype.iand=function(m){return l((this.negative|m.negative)==0),this.iuand(m)},s.prototype.and=function(m){return this.length>m.length?this.clone().iand(m):m.clone().iand(this)},s.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},s.prototype.iuxor=function(m){var P,C;this.length>m.length?(P=this,C=m):(P=m,C=this);for(var B=0;B<C.length;B++)this.words[B]=P.words[B]^C.words[B];if(this!==P)for(;B<P.length;B++)this.words[B]=P.words[B];return this.length=P.length,this._strip()},s.prototype.ixor=function(m){return l((this.negative|m.negative)==0),this.iuxor(m)},s.prototype.xor=function(m){return this.length>m.length?this.clone().ixor(m):m.clone().ixor(this)},s.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},s.prototype.inotn=function(m){l(typeof m=="number"&&m>=0);var P=0|Math.ceil(m/26),C=m%26;this._expand(P),C>0&&P--;for(var B=0;B<P;B++)this.words[B]=67108863&~this.words[B];return C>0&&(this.words[B]=~this.words[B]&67108863>>26-C),this._strip()},s.prototype.notn=function(m){return this.clone().inotn(m)},s.prototype.setn=function(m,P){l(typeof m=="number"&&m>=0);var C=m/26|0,B=m%26;return this._expand(C+1),this.words[C]=P?this.words[C]|1<<B:this.words[C]&~(1<<B),this._strip()},s.prototype.iadd=function(m){var P,C,B;if(this.negative!==0&&m.negative===0)return this.negative=0,P=this.isub(m),this.negative^=1,this._normSign();if(this.negative===0&&m.negative!==0)return m.negative=0,P=this.isub(m),m.negative=1,P._normSign();this.length>m.length?(C=this,B=m):(C=m,B=this);for(var x=0,j=0;j<B.length;j++)P=(0|C.words[j])+(0|B.words[j])+x,this.words[j]=67108863&P,x=P>>>26;for(;x!==0&&j<C.length;j++)P=(0|C.words[j])+x,this.words[j]=67108863&P,x=P>>>26;if(this.length=C.length,x!==0)this.words[this.length]=x,this.length++;else if(C!==this)for(;j<C.length;j++)this.words[j]=C.words[j];return this},s.prototype.add=function(m){var P;return m.negative!==0&&this.negative===0?(m.negative=0,P=this.sub(m),m.negative^=1,P):m.negative===0&&this.negative!==0?(this.negative=0,P=m.sub(this),this.negative=1,P):this.length>m.length?this.clone().iadd(m):m.clone().iadd(this)},s.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var P=this.iadd(m);return m.negative=1,P._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var C,B,x=this.cmp(m);if(x===0)return this.negative=0,this.length=1,this.words[0]=0,this;x>0?(C=this,B=m):(C=m,B=this);for(var j=0,K=0;K<B.length;K++)j=(P=(0|C.words[K])-(0|B.words[K])+j)>>26,this.words[K]=67108863&P;for(;j!==0&&K<C.length;K++)j=(P=(0|C.words[K])+j)>>26,this.words[K]=67108863&P;if(j===0&&K<C.length&&C!==this)for(;K<C.length;K++)this.words[K]=C.words[K];return this.length=Math.max(this.length,K),C!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(m){return this.clone().isub(m)};var w=function(m,P,C){var B,x,j,K=m.words,V=P.words,J=C.words,O=0,F=0|K[0],G=8191&F,H=F>>>13,M=0|K[1],_=8191&M,U=M>>>13,q=0|K[2],z=8191&q,W=q>>>13,Y=0|K[3],X=8191&Y,Q=Y>>>13,$=0|K[4],Z=8191&$,et=$>>>13,rt=0|K[5],nt=8191&rt,tt=rt>>>13,ot=0|K[6],it=8191&ot,at=ot>>>13,ut=0|K[7],st=8191&ut,ft=ut>>>13,bt=0|K[8],ct=8191&bt,dt=bt>>>13,Ot=0|K[9],lt=8191&Ot,pt=Ot>>>13,jt=0|V[0],yt=8191&jt,mt=jt>>>13,Ft=0|V[1],vt=8191&Ft,gt=Ft>>>13,Lt=0|V[2],wt=8191&Lt,At=Lt>>>13,Dt=0|V[3],kt=8191&Dt,_t=Dt>>>13,Ht=0|V[4],St=8191&Ht,Et=Ht>>>13,qt=0|V[5],xt=8191&qt,Pt=qt>>>13,zt=0|V[6],Bt=8191&zt,Ct=zt>>>13,Jt=0|V[7],Tt=8191&Jt,It=Jt>>>13,Wt=0|V[8],Mt=8191&Wt,Ut=Wt>>>13,Yt=0|V[9],Rt=8191&Yt,Nt=Yt>>>13;C.negative=m.negative^P.negative,C.length=19;var Gt=(O+(B=Math.imul(G,yt))|0)+((8191&(x=(x=Math.imul(G,mt))+Math.imul(H,yt)|0))<<13)|0;O=((j=Math.imul(H,mt))+(x>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,B=Math.imul(_,yt),x=(x=Math.imul(_,mt))+Math.imul(U,yt)|0,j=Math.imul(U,mt);var Kt=(O+(B=B+Math.imul(G,vt)|0)|0)+((8191&(x=(x=x+Math.imul(G,gt)|0)+Math.imul(H,vt)|0))<<13)|0;O=((j=j+Math.imul(H,gt)|0)+(x>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,B=Math.imul(z,yt),x=(x=Math.imul(z,mt))+Math.imul(W,yt)|0,j=Math.imul(W,mt),B=B+Math.imul(_,vt)|0,x=(x=x+Math.imul(_,gt)|0)+Math.imul(U,vt)|0,j=j+Math.imul(U,gt)|0;var Vt=(O+(B=B+Math.imul(G,wt)|0)|0)+((8191&(x=(x=x+Math.imul(G,At)|0)+Math.imul(H,wt)|0))<<13)|0;O=((j=j+Math.imul(H,At)|0)+(x>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,B=Math.imul(X,yt),x=(x=Math.imul(X,mt))+Math.imul(Q,yt)|0,j=Math.imul(Q,mt),B=B+Math.imul(z,vt)|0,x=(x=x+Math.imul(z,gt)|0)+Math.imul(W,vt)|0,j=j+Math.imul(W,gt)|0,B=B+Math.imul(_,wt)|0,x=(x=x+Math.imul(_,At)|0)+Math.imul(U,wt)|0,j=j+Math.imul(U,At)|0;var Zt=(O+(B=B+Math.imul(G,kt)|0)|0)+((8191&(x=(x=x+Math.imul(G,_t)|0)+Math.imul(H,kt)|0))<<13)|0;O=((j=j+Math.imul(H,_t)|0)+(x>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,B=Math.imul(Z,yt),x=(x=Math.imul(Z,mt))+Math.imul(et,yt)|0,j=Math.imul(et,mt),B=B+Math.imul(X,vt)|0,x=(x=x+Math.imul(X,gt)|0)+Math.imul(Q,vt)|0,j=j+Math.imul(Q,gt)|0,B=B+Math.imul(z,wt)|0,x=(x=x+Math.imul(z,At)|0)+Math.imul(W,wt)|0,j=j+Math.imul(W,At)|0,B=B+Math.imul(_,kt)|0,x=(x=x+Math.imul(_,_t)|0)+Math.imul(U,kt)|0,j=j+Math.imul(U,_t)|0;var $t=(O+(B=B+Math.imul(G,St)|0)|0)+((8191&(x=(x=x+Math.imul(G,Et)|0)+Math.imul(H,St)|0))<<13)|0;O=((j=j+Math.imul(H,Et)|0)+(x>>>13)|0)+($t>>>26)|0,$t&=67108863,B=Math.imul(nt,yt),x=(x=Math.imul(nt,mt))+Math.imul(tt,yt)|0,j=Math.imul(tt,mt),B=B+Math.imul(Z,vt)|0,x=(x=x+Math.imul(Z,gt)|0)+Math.imul(et,vt)|0,j=j+Math.imul(et,gt)|0,B=B+Math.imul(X,wt)|0,x=(x=x+Math.imul(X,At)|0)+Math.imul(Q,wt)|0,j=j+Math.imul(Q,At)|0,B=B+Math.imul(z,kt)|0,x=(x=x+Math.imul(z,_t)|0)+Math.imul(W,kt)|0,j=j+Math.imul(W,_t)|0,B=B+Math.imul(_,St)|0,x=(x=x+Math.imul(_,Et)|0)+Math.imul(U,St)|0,j=j+Math.imul(U,Et)|0;var te=(O+(B=B+Math.imul(G,xt)|0)|0)+((8191&(x=(x=x+Math.imul(G,Pt)|0)+Math.imul(H,xt)|0))<<13)|0;O=((j=j+Math.imul(H,Pt)|0)+(x>>>13)|0)+(te>>>26)|0,te&=67108863,B=Math.imul(it,yt),x=(x=Math.imul(it,mt))+Math.imul(at,yt)|0,j=Math.imul(at,mt),B=B+Math.imul(nt,vt)|0,x=(x=x+Math.imul(nt,gt)|0)+Math.imul(tt,vt)|0,j=j+Math.imul(tt,gt)|0,B=B+Math.imul(Z,wt)|0,x=(x=x+Math.imul(Z,At)|0)+Math.imul(et,wt)|0,j=j+Math.imul(et,At)|0,B=B+Math.imul(X,kt)|0,x=(x=x+Math.imul(X,_t)|0)+Math.imul(Q,kt)|0,j=j+Math.imul(Q,_t)|0,B=B+Math.imul(z,St)|0,x=(x=x+Math.imul(z,Et)|0)+Math.imul(W,St)|0,j=j+Math.imul(W,Et)|0,B=B+Math.imul(_,xt)|0,x=(x=x+Math.imul(_,Pt)|0)+Math.imul(U,xt)|0,j=j+Math.imul(U,Pt)|0;var ee=(O+(B=B+Math.imul(G,Bt)|0)|0)+((8191&(x=(x=x+Math.imul(G,Ct)|0)+Math.imul(H,Bt)|0))<<13)|0;O=((j=j+Math.imul(H,Ct)|0)+(x>>>13)|0)+(ee>>>26)|0,ee&=67108863,B=Math.imul(st,yt),x=(x=Math.imul(st,mt))+Math.imul(ft,yt)|0,j=Math.imul(ft,mt),B=B+Math.imul(it,vt)|0,x=(x=x+Math.imul(it,gt)|0)+Math.imul(at,vt)|0,j=j+Math.imul(at,gt)|0,B=B+Math.imul(nt,wt)|0,x=(x=x+Math.imul(nt,At)|0)+Math.imul(tt,wt)|0,j=j+Math.imul(tt,At)|0,B=B+Math.imul(Z,kt)|0,x=(x=x+Math.imul(Z,_t)|0)+Math.imul(et,kt)|0,j=j+Math.imul(et,_t)|0,B=B+Math.imul(X,St)|0,x=(x=x+Math.imul(X,Et)|0)+Math.imul(Q,St)|0,j=j+Math.imul(Q,Et)|0,B=B+Math.imul(z,xt)|0,x=(x=x+Math.imul(z,Pt)|0)+Math.imul(W,xt)|0,j=j+Math.imul(W,Pt)|0,B=B+Math.imul(_,Bt)|0,x=(x=x+Math.imul(_,Ct)|0)+Math.imul(U,Bt)|0,j=j+Math.imul(U,Ct)|0;var re=(O+(B=B+Math.imul(G,Tt)|0)|0)+((8191&(x=(x=x+Math.imul(G,It)|0)+Math.imul(H,Tt)|0))<<13)|0;O=((j=j+Math.imul(H,It)|0)+(x>>>13)|0)+(re>>>26)|0,re&=67108863,B=Math.imul(ct,yt),x=(x=Math.imul(ct,mt))+Math.imul(dt,yt)|0,j=Math.imul(dt,mt),B=B+Math.imul(st,vt)|0,x=(x=x+Math.imul(st,gt)|0)+Math.imul(ft,vt)|0,j=j+Math.imul(ft,gt)|0,B=B+Math.imul(it,wt)|0,x=(x=x+Math.imul(it,At)|0)+Math.imul(at,wt)|0,j=j+Math.imul(at,At)|0,B=B+Math.imul(nt,kt)|0,x=(x=x+Math.imul(nt,_t)|0)+Math.imul(tt,kt)|0,j=j+Math.imul(tt,_t)|0,B=B+Math.imul(Z,St)|0,x=(x=x+Math.imul(Z,Et)|0)+Math.imul(et,St)|0,j=j+Math.imul(et,Et)|0,B=B+Math.imul(X,xt)|0,x=(x=x+Math.imul(X,Pt)|0)+Math.imul(Q,xt)|0,j=j+Math.imul(Q,Pt)|0,B=B+Math.imul(z,Bt)|0,x=(x=x+Math.imul(z,Ct)|0)+Math.imul(W,Bt)|0,j=j+Math.imul(W,Ct)|0,B=B+Math.imul(_,Tt)|0,x=(x=x+Math.imul(_,It)|0)+Math.imul(U,Tt)|0,j=j+Math.imul(U,It)|0;var ne=(O+(B=B+Math.imul(G,Mt)|0)|0)+((8191&(x=(x=x+Math.imul(G,Ut)|0)+Math.imul(H,Mt)|0))<<13)|0;O=((j=j+Math.imul(H,Ut)|0)+(x>>>13)|0)+(ne>>>26)|0,ne&=67108863,B=Math.imul(lt,yt),x=(x=Math.imul(lt,mt))+Math.imul(pt,yt)|0,j=Math.imul(pt,mt),B=B+Math.imul(ct,vt)|0,x=(x=x+Math.imul(ct,gt)|0)+Math.imul(dt,vt)|0,j=j+Math.imul(dt,gt)|0,B=B+Math.imul(st,wt)|0,x=(x=x+Math.imul(st,At)|0)+Math.imul(ft,wt)|0,j=j+Math.imul(ft,At)|0,B=B+Math.imul(it,kt)|0,x=(x=x+Math.imul(it,_t)|0)+Math.imul(at,kt)|0,j=j+Math.imul(at,_t)|0,B=B+Math.imul(nt,St)|0,x=(x=x+Math.imul(nt,Et)|0)+Math.imul(tt,St)|0,j=j+Math.imul(tt,Et)|0,B=B+Math.imul(Z,xt)|0,x=(x=x+Math.imul(Z,Pt)|0)+Math.imul(et,xt)|0,j=j+Math.imul(et,Pt)|0,B=B+Math.imul(X,Bt)|0,x=(x=x+Math.imul(X,Ct)|0)+Math.imul(Q,Bt)|0,j=j+Math.imul(Q,Ct)|0,B=B+Math.imul(z,Tt)|0,x=(x=x+Math.imul(z,It)|0)+Math.imul(W,Tt)|0,j=j+Math.imul(W,It)|0,B=B+Math.imul(_,Mt)|0,x=(x=x+Math.imul(_,Ut)|0)+Math.imul(U,Mt)|0,j=j+Math.imul(U,Ut)|0;var ie=(O+(B=B+Math.imul(G,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(G,Nt)|0)+Math.imul(H,Rt)|0))<<13)|0;O=((j=j+Math.imul(H,Nt)|0)+(x>>>13)|0)+(ie>>>26)|0,ie&=67108863,B=Math.imul(lt,vt),x=(x=Math.imul(lt,gt))+Math.imul(pt,vt)|0,j=Math.imul(pt,gt),B=B+Math.imul(ct,wt)|0,x=(x=x+Math.imul(ct,At)|0)+Math.imul(dt,wt)|0,j=j+Math.imul(dt,At)|0,B=B+Math.imul(st,kt)|0,x=(x=x+Math.imul(st,_t)|0)+Math.imul(ft,kt)|0,j=j+Math.imul(ft,_t)|0,B=B+Math.imul(it,St)|0,x=(x=x+Math.imul(it,Et)|0)+Math.imul(at,St)|0,j=j+Math.imul(at,Et)|0,B=B+Math.imul(nt,xt)|0,x=(x=x+Math.imul(nt,Pt)|0)+Math.imul(tt,xt)|0,j=j+Math.imul(tt,Pt)|0,B=B+Math.imul(Z,Bt)|0,x=(x=x+Math.imul(Z,Ct)|0)+Math.imul(et,Bt)|0,j=j+Math.imul(et,Ct)|0,B=B+Math.imul(X,Tt)|0,x=(x=x+Math.imul(X,It)|0)+Math.imul(Q,Tt)|0,j=j+Math.imul(Q,It)|0,B=B+Math.imul(z,Mt)|0,x=(x=x+Math.imul(z,Ut)|0)+Math.imul(W,Mt)|0,j=j+Math.imul(W,Ut)|0;var oe=(O+(B=B+Math.imul(_,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(_,Nt)|0)+Math.imul(U,Rt)|0))<<13)|0;O=((j=j+Math.imul(U,Nt)|0)+(x>>>13)|0)+(oe>>>26)|0,oe&=67108863,B=Math.imul(lt,wt),x=(x=Math.imul(lt,At))+Math.imul(pt,wt)|0,j=Math.imul(pt,At),B=B+Math.imul(ct,kt)|0,x=(x=x+Math.imul(ct,_t)|0)+Math.imul(dt,kt)|0,j=j+Math.imul(dt,_t)|0,B=B+Math.imul(st,St)|0,x=(x=x+Math.imul(st,Et)|0)+Math.imul(ft,St)|0,j=j+Math.imul(ft,Et)|0,B=B+Math.imul(it,xt)|0,x=(x=x+Math.imul(it,Pt)|0)+Math.imul(at,xt)|0,j=j+Math.imul(at,Pt)|0,B=B+Math.imul(nt,Bt)|0,x=(x=x+Math.imul(nt,Ct)|0)+Math.imul(tt,Bt)|0,j=j+Math.imul(tt,Ct)|0,B=B+Math.imul(Z,Tt)|0,x=(x=x+Math.imul(Z,It)|0)+Math.imul(et,Tt)|0,j=j+Math.imul(et,It)|0,B=B+Math.imul(X,Mt)|0,x=(x=x+Math.imul(X,Ut)|0)+Math.imul(Q,Mt)|0,j=j+Math.imul(Q,Ut)|0;var ae=(O+(B=B+Math.imul(z,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(z,Nt)|0)+Math.imul(W,Rt)|0))<<13)|0;O=((j=j+Math.imul(W,Nt)|0)+(x>>>13)|0)+(ae>>>26)|0,ae&=67108863,B=Math.imul(lt,kt),x=(x=Math.imul(lt,_t))+Math.imul(pt,kt)|0,j=Math.imul(pt,_t),B=B+Math.imul(ct,St)|0,x=(x=x+Math.imul(ct,Et)|0)+Math.imul(dt,St)|0,j=j+Math.imul(dt,Et)|0,B=B+Math.imul(st,xt)|0,x=(x=x+Math.imul(st,Pt)|0)+Math.imul(ft,xt)|0,j=j+Math.imul(ft,Pt)|0,B=B+Math.imul(it,Bt)|0,x=(x=x+Math.imul(it,Ct)|0)+Math.imul(at,Bt)|0,j=j+Math.imul(at,Ct)|0,B=B+Math.imul(nt,Tt)|0,x=(x=x+Math.imul(nt,It)|0)+Math.imul(tt,Tt)|0,j=j+Math.imul(tt,It)|0,B=B+Math.imul(Z,Mt)|0,x=(x=x+Math.imul(Z,Ut)|0)+Math.imul(et,Mt)|0,j=j+Math.imul(et,Ut)|0;var se=(O+(B=B+Math.imul(X,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(X,Nt)|0)+Math.imul(Q,Rt)|0))<<13)|0;O=((j=j+Math.imul(Q,Nt)|0)+(x>>>13)|0)+(se>>>26)|0,se&=67108863,B=Math.imul(lt,St),x=(x=Math.imul(lt,Et))+Math.imul(pt,St)|0,j=Math.imul(pt,Et),B=B+Math.imul(ct,xt)|0,x=(x=x+Math.imul(ct,Pt)|0)+Math.imul(dt,xt)|0,j=j+Math.imul(dt,Pt)|0,B=B+Math.imul(st,Bt)|0,x=(x=x+Math.imul(st,Ct)|0)+Math.imul(ft,Bt)|0,j=j+Math.imul(ft,Ct)|0,B=B+Math.imul(it,Tt)|0,x=(x=x+Math.imul(it,It)|0)+Math.imul(at,Tt)|0,j=j+Math.imul(at,It)|0,B=B+Math.imul(nt,Mt)|0,x=(x=x+Math.imul(nt,Ut)|0)+Math.imul(tt,Mt)|0,j=j+Math.imul(tt,Ut)|0;var ue=(O+(B=B+Math.imul(Z,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(Z,Nt)|0)+Math.imul(et,Rt)|0))<<13)|0;O=((j=j+Math.imul(et,Nt)|0)+(x>>>13)|0)+(ue>>>26)|0,ue&=67108863,B=Math.imul(lt,xt),x=(x=Math.imul(lt,Pt))+Math.imul(pt,xt)|0,j=Math.imul(pt,Pt),B=B+Math.imul(ct,Bt)|0,x=(x=x+Math.imul(ct,Ct)|0)+Math.imul(dt,Bt)|0,j=j+Math.imul(dt,Ct)|0,B=B+Math.imul(st,Tt)|0,x=(x=x+Math.imul(st,It)|0)+Math.imul(ft,Tt)|0,j=j+Math.imul(ft,It)|0,B=B+Math.imul(it,Mt)|0,x=(x=x+Math.imul(it,Ut)|0)+Math.imul(at,Mt)|0,j=j+Math.imul(at,Ut)|0;var fe=(O+(B=B+Math.imul(nt,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(nt,Nt)|0)+Math.imul(tt,Rt)|0))<<13)|0;O=((j=j+Math.imul(tt,Nt)|0)+(x>>>13)|0)+(fe>>>26)|0,fe&=67108863,B=Math.imul(lt,Bt),x=(x=Math.imul(lt,Ct))+Math.imul(pt,Bt)|0,j=Math.imul(pt,Ct),B=B+Math.imul(ct,Tt)|0,x=(x=x+Math.imul(ct,It)|0)+Math.imul(dt,Tt)|0,j=j+Math.imul(dt,It)|0,B=B+Math.imul(st,Mt)|0,x=(x=x+Math.imul(st,Ut)|0)+Math.imul(ft,Mt)|0,j=j+Math.imul(ft,Ut)|0;var ce=(O+(B=B+Math.imul(it,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(it,Nt)|0)+Math.imul(at,Rt)|0))<<13)|0;O=((j=j+Math.imul(at,Nt)|0)+(x>>>13)|0)+(ce>>>26)|0,ce&=67108863,B=Math.imul(lt,Tt),x=(x=Math.imul(lt,It))+Math.imul(pt,Tt)|0,j=Math.imul(pt,It),B=B+Math.imul(ct,Mt)|0,x=(x=x+Math.imul(ct,Ut)|0)+Math.imul(dt,Mt)|0,j=j+Math.imul(dt,Ut)|0;var de=(O+(B=B+Math.imul(st,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(st,Nt)|0)+Math.imul(ft,Rt)|0))<<13)|0;O=((j=j+Math.imul(ft,Nt)|0)+(x>>>13)|0)+(de>>>26)|0,de&=67108863,B=Math.imul(lt,Mt),x=(x=Math.imul(lt,Ut))+Math.imul(pt,Mt)|0,j=Math.imul(pt,Ut);var he=(O+(B=B+Math.imul(ct,Rt)|0)|0)+((8191&(x=(x=x+Math.imul(ct,Nt)|0)+Math.imul(dt,Rt)|0))<<13)|0;O=((j=j+Math.imul(dt,Nt)|0)+(x>>>13)|0)+(he>>>26)|0,he&=67108863;var pe=(O+(B=Math.imul(lt,Rt))|0)+((8191&(x=(x=Math.imul(lt,Nt))+Math.imul(pt,Rt)|0))<<13)|0;return O=((j=Math.imul(pt,Nt))+(x>>>13)|0)+(pe>>>26)|0,pe&=67108863,J[0]=Gt,J[1]=Kt,J[2]=Vt,J[3]=Zt,J[4]=$t,J[5]=te,J[6]=ee,J[7]=re,J[8]=ne,J[9]=ie,J[10]=oe,J[11]=ae,J[12]=se,J[13]=ue,J[14]=fe,J[15]=ce,J[16]=de,J[17]=he,J[18]=pe,O!==0&&(J[19]=O,C.length++),C};function g(m,P,C){C.negative=P.negative^m.negative,C.length=m.length+P.length;for(var B=0,x=0,j=0;j<C.length-1;j++){var K=x;x=0;for(var V=67108863&B,J=Math.min(j,P.length-1),O=Math.max(0,j-m.length+1);O<=J;O++){var F=j-O,G=(0|m.words[F])*(0|P.words[O]),H=67108863&G;V=67108863&(H=H+V|0),x+=(K=(K=K+(G/67108864|0)|0)+(H>>>26)|0)>>>26,K&=67108863}C.words[j]=V,B=K,K=x}return B!==0?C.words[j]=B:C.length--,C._strip()}function A(m,P,C){return g(m,P,C)}Math.imul||(w=b),s.prototype.mulTo=function(m,P){var C=this.length+m.length;return this.length===10&&m.length===10?w(this,m,P):C<63?b(this,m,P):C<1024?g(this,m,P):A(this,m,P)},s.prototype.mul=function(m){var P=new s(null);return P.words=new Array(this.length+m.length),this.mulTo(m,P)},s.prototype.mulf=function(m){var P=new s(null);return P.words=new Array(this.length+m.length),A(this,m,P)},s.prototype.imul=function(m){return this.clone().mulTo(m,this)},s.prototype.imuln=function(m){var P=m<0;P&&(m=-m),l(typeof m=="number"),l(m<67108864);for(var C=0,B=0;B<this.length;B++){var x=(0|this.words[B])*m,j=(67108863&x)+(67108863&C);C>>=26,C+=x/67108864|0,C+=j>>>26,this.words[B]=67108863&j}return C!==0&&(this.words[B]=C,this.length++),P?this.ineg():this},s.prototype.muln=function(m){return this.clone().imuln(m)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(m){var P=function(j){for(var K=new Array(j.bitLength()),V=0;V<K.length;V++){var J=V/26|0,O=V%26;K[V]=j.words[J]>>>O&1}return K}(m);if(P.length===0)return new s(1);for(var C=this,B=0;B<P.length&&P[B]===0;B++,C=C.sqr());if(++B<P.length)for(var x=C.sqr();B<P.length;B++,x=x.sqr())P[B]!==0&&(C=C.mul(x));return C},s.prototype.iushln=function(m){l(typeof m=="number"&&m>=0);var P,C=m%26,B=(m-C)/26,x=67108863>>>26-C<<26-C;if(C!==0){var j=0;for(P=0;P<this.length;P++){var K=this.words[P]&x,V=(0|this.words[P])-K<<C;this.words[P]=V|j,j=K>>>26-C}j&&(this.words[P]=j,this.length++)}if(B!==0){for(P=this.length-1;P>=0;P--)this.words[P+B]=this.words[P];for(P=0;P<B;P++)this.words[P]=0;this.length+=B}return this._strip()},s.prototype.ishln=function(m){return l(this.negative===0),this.iushln(m)},s.prototype.iushrn=function(m,P,C){var B;l(typeof m=="number"&&m>=0),B=P?(P-P%26)/26:0;var x=m%26,j=Math.min((m-x)/26,this.length),K=67108863^67108863>>>x<<x,V=C;if(B-=j,B=Math.max(0,B),V){for(var J=0;J<j;J++)V.words[J]=this.words[J];V.length=j}if(j!==0)if(this.length>j)for(this.length-=j,J=0;J<this.length;J++)this.words[J]=this.words[J+j];else this.words[0]=0,this.length=1;var O=0;for(J=this.length-1;J>=0&&(O!==0||J>=B);J--){var F=0|this.words[J];this.words[J]=O<<26-x|F>>>x,O=F&K}return V&&O!==0&&(V.words[V.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(m,P,C){return l(this.negative===0),this.iushrn(m,P,C)},s.prototype.shln=function(m){return this.clone().ishln(m)},s.prototype.ushln=function(m){return this.clone().iushln(m)},s.prototype.shrn=function(m){return this.clone().ishrn(m)},s.prototype.ushrn=function(m){return this.clone().iushrn(m)},s.prototype.testn=function(m){l(typeof m=="number"&&m>=0);var P=m%26,C=(m-P)/26,B=1<<P;return!(this.length<=C||!(this.words[C]&B))},s.prototype.imaskn=function(m){l(typeof m=="number"&&m>=0);var P=m%26,C=(m-P)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=C)return this;if(P!==0&&C++,this.length=Math.min(C,this.length),P!==0){var B=67108863^67108863>>>P<<P;this.words[this.length-1]&=B}return this._strip()},s.prototype.maskn=function(m){return this.clone().imaskn(m)},s.prototype.iaddn=function(m){return l(typeof m=="number"),l(m<67108864),m<0?this.isubn(-m):this.negative!==0?this.length===1&&(0|this.words[0])<=m?(this.words[0]=m-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(m),this.negative=1,this):this._iaddn(m)},s.prototype._iaddn=function(m){this.words[0]+=m;for(var P=0;P<this.length&&this.words[P]>=67108864;P++)this.words[P]-=67108864,P===this.length-1?this.words[P+1]=1:this.words[P+1]++;return this.length=Math.max(this.length,P+1),this},s.prototype.isubn=function(m){if(l(typeof m=="number"),l(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var P=0;P<this.length&&this.words[P]<0;P++)this.words[P]+=67108864,this.words[P+1]-=1;return this._strip()},s.prototype.addn=function(m){return this.clone().iaddn(m)},s.prototype.subn=function(m){return this.clone().isubn(m)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(m,P,C){var B,x,j=m.length+C;this._expand(j);var K=0;for(B=0;B<m.length;B++){x=(0|this.words[B+C])+K;var V=(0|m.words[B])*P;K=((x-=67108863&V)>>26)-(V/67108864|0),this.words[B+C]=67108863&x}for(;B<this.length-C;B++)K=(x=(0|this.words[B+C])+K)>>26,this.words[B+C]=67108863&x;if(K===0)return this._strip();for(l(K===-1),K=0,B=0;B<this.length;B++)K=(x=-(0|this.words[B])+K)>>26,this.words[B]=67108863&x;return this.negative=1,this._strip()},s.prototype._wordDiv=function(m,P){var C=(this.length,m.length),B=this.clone(),x=m,j=0|x.words[x.length-1];(C=26-this._countBits(j))!=0&&(x=x.ushln(C),B.iushln(C),j=0|x.words[x.length-1]);var K,V=B.length-x.length;if(P!=="mod"){(K=new s(null)).length=V+1,K.words=new Array(K.length);for(var J=0;J<K.length;J++)K.words[J]=0}var O=B.clone()._ishlnsubmul(x,1,V);O.negative===0&&(B=O,K&&(K.words[V]=1));for(var F=V-1;F>=0;F--){var G=67108864*(0|B.words[x.length+F])+(0|B.words[x.length+F-1]);for(G=Math.min(G/j|0,67108863),B._ishlnsubmul(x,G,F);B.negative!==0;)G--,B.negative=0,B._ishlnsubmul(x,1,F),B.isZero()||(B.negative^=1);K&&(K.words[F]=G)}return K&&K._strip(),B._strip(),P!=="div"&&C!==0&&B.iushrn(C),{div:K||null,mod:B}},s.prototype.divmod=function(m,P,C){return l(!m.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&&m.negative===0?(j=this.neg().divmod(m,P),P!=="mod"&&(B=j.div.neg()),P!=="div"&&(x=j.mod.neg(),C&&x.negative!==0&&x.iadd(m)),{div:B,mod:x}):this.negative===0&&m.negative!==0?(j=this.divmod(m.neg(),P),P!=="mod"&&(B=j.div.neg()),{div:B,mod:j.mod}):this.negative&m.negative?(j=this.neg().divmod(m.neg(),P),P!=="div"&&(x=j.mod.neg(),C&&x.negative!==0&&x.isub(m)),{div:j.div,mod:x}):m.length>this.length||this.cmp(m)<0?{div:new s(0),mod:this}:m.length===1?P==="div"?{div:this.divn(m.words[0]),mod:null}:P==="mod"?{div:null,mod:new s(this.modrn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new s(this.modrn(m.words[0]))}:this._wordDiv(m,P);var B,x,j},s.prototype.div=function(m){return this.divmod(m,"div",!1).div},s.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},s.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},s.prototype.divRound=function(m){var P=this.divmod(m);if(P.mod.isZero())return P.div;var C=P.div.negative!==0?P.mod.isub(m):P.mod,B=m.ushrn(1),x=m.andln(1),j=C.cmp(B);return j<0||x===1&&j===0?P.div:P.div.negative!==0?P.div.isubn(1):P.div.iaddn(1)},s.prototype.modrn=function(m){var P=m<0;P&&(m=-m),l(m<=67108863);for(var C=67108864%m,B=0,x=this.length-1;x>=0;x--)B=(C*B+(0|this.words[x]))%m;return P?-B:B},s.prototype.modn=function(m){return this.modrn(m)},s.prototype.idivn=function(m){var P=m<0;P&&(m=-m),l(m<=67108863);for(var C=0,B=this.length-1;B>=0;B--){var x=(0|this.words[B])+67108864*C;this.words[B]=x/m|0,C=x%m}return this._strip(),P?this.ineg():this},s.prototype.divn=function(m){return this.clone().idivn(m)},s.prototype.egcd=function(m){l(m.negative===0),l(!m.isZero());var P=this,C=m.clone();P=P.negative!==0?P.umod(m):P.clone();for(var B=new s(1),x=new s(0),j=new s(0),K=new s(1),V=0;P.isEven()&&C.isEven();)P.iushrn(1),C.iushrn(1),++V;for(var J=C.clone(),O=P.clone();!P.isZero();){for(var F=0,G=1;!(P.words[0]&G)&&F<26;++F,G<<=1);if(F>0)for(P.iushrn(F);F-- >0;)(B.isOdd()||x.isOdd())&&(B.iadd(J),x.isub(O)),B.iushrn(1),x.iushrn(1);for(var H=0,M=1;!(C.words[0]&M)&&H<26;++H,M<<=1);if(H>0)for(C.iushrn(H);H-- >0;)(j.isOdd()||K.isOdd())&&(j.iadd(J),K.isub(O)),j.iushrn(1),K.iushrn(1);P.cmp(C)>=0?(P.isub(C),B.isub(j),x.isub(K)):(C.isub(P),j.isub(B),K.isub(x))}return{a:j,b:K,gcd:C.iushln(V)}},s.prototype._invmp=function(m){l(m.negative===0),l(!m.isZero());var P=this,C=m.clone();P=P.negative!==0?P.umod(m):P.clone();for(var B,x=new s(1),j=new s(0),K=C.clone();P.cmpn(1)>0&&C.cmpn(1)>0;){for(var V=0,J=1;!(P.words[0]&J)&&V<26;++V,J<<=1);if(V>0)for(P.iushrn(V);V-- >0;)x.isOdd()&&x.iadd(K),x.iushrn(1);for(var O=0,F=1;!(C.words[0]&F)&&O<26;++O,F<<=1);if(O>0)for(C.iushrn(O);O-- >0;)j.isOdd()&&j.iadd(K),j.iushrn(1);P.cmp(C)>=0?(P.isub(C),x.isub(j)):(C.isub(P),j.isub(x))}return(B=P.cmpn(1)===0?x:j).cmpn(0)<0&&B.iadd(m),B},s.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var P=this.clone(),C=m.clone();P.negative=0,C.negative=0;for(var B=0;P.isEven()&&C.isEven();B++)P.iushrn(1),C.iushrn(1);for(;;){for(;P.isEven();)P.iushrn(1);for(;C.isEven();)C.iushrn(1);var x=P.cmp(C);if(x<0){var j=P;P=C,C=j}else if(x===0||C.cmpn(1)===0)break;P.isub(C)}return C.iushln(B)},s.prototype.invm=function(m){return this.egcd(m).a.umod(m)},s.prototype.isEven=function(){return(1&this.words[0])==0},s.prototype.isOdd=function(){return(1&this.words[0])==1},s.prototype.andln=function(m){return this.words[0]&m},s.prototype.bincn=function(m){l(typeof m=="number");var P=m%26,C=(m-P)/26,B=1<<P;if(this.length<=C)return this._expand(C+1),this.words[C]|=B,this;for(var x=B,j=C;x!==0&&j<this.length;j++){var K=0|this.words[j];x=(K+=x)>>>26,K&=67108863,this.words[j]=K}return x!==0&&(this.words[j]=x,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(m){var P,C=m<0;if(this.negative!==0&&!C)return-1;if(this.negative===0&&C)return 1;if(this._strip(),this.length>1)P=1;else{C&&(m=-m),l(m<=67108863,"Number is too big");var B=0|this.words[0];P=B===m?0:B<m?-1:1}return this.negative!==0?0|-P:P},s.prototype.cmp=function(m){if(this.negative!==0&&m.negative===0)return-1;if(this.negative===0&&m.negative!==0)return 1;var P=this.ucmp(m);return this.negative!==0?0|-P:P},s.prototype.ucmp=function(m){if(this.length>m.length)return 1;if(this.length<m.length)return-1;for(var P=0,C=this.length-1;C>=0;C--){var B=0|this.words[C],x=0|m.words[C];if(B!==x){B<x?P=-1:B>x&&(P=1);break}}return P},s.prototype.gtn=function(m){return this.cmpn(m)===1},s.prototype.gt=function(m){return this.cmp(m)===1},s.prototype.gten=function(m){return this.cmpn(m)>=0},s.prototype.gte=function(m){return this.cmp(m)>=0},s.prototype.ltn=function(m){return this.cmpn(m)===-1},s.prototype.lt=function(m){return this.cmp(m)===-1},s.prototype.lten=function(m){return this.cmpn(m)<=0},s.prototype.lte=function(m){return this.cmp(m)<=0},s.prototype.eqn=function(m){return this.cmpn(m)===0},s.prototype.eq=function(m){return this.cmp(m)===0},s.red=function(m){return new D(m)},s.prototype.toRed=function(m){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},s.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(m){return this.red=m,this},s.prototype.forceRed=function(m){return l(!this.red,"Already a number in reduction context"),this._forceRed(m)},s.prototype.redAdd=function(m){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},s.prototype.redIAdd=function(m){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},s.prototype.redSub=function(m){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},s.prototype.redISub=function(m){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},s.prototype.redShl=function(m){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},s.prototype.redMul=function(m){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},s.prototype.redIMul=function(m){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},s.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(m){return l(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var T={k256:null,p224:null,p192:null,p25519:null};function S(m,P){this.name=m,this.p=new s(P,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function I(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function N(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(m){if(typeof m=="string"){var P=s._prime(m);this.m=P.p,this.prime=P}else l(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function L(m){D.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}S.prototype._tmp=function(){var m=new s(null);return m.words=new Array(Math.ceil(this.n/13)),m},S.prototype.ireduce=function(m){var P,C=m;do this.split(C,this.tmp),P=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength();while(P>this.n);var B=P<this.n?-1:C.ucmp(this.p);return B===0?(C.words[0]=0,C.length=1):B>0?C.isub(this.p):C.strip!==void 0?C.strip():C._strip(),C},S.prototype.split=function(m,P){m.iushrn(this.n,0,P)},S.prototype.imulK=function(m){return m.imul(this.k)},t(E,S),E.prototype.split=function(m,P){for(var C=4194303,B=Math.min(m.length,9),x=0;x<B;x++)P.words[x]=m.words[x];if(P.length=B,m.length<=9)return m.words[0]=0,void(m.length=1);var j=m.words[9];for(P.words[P.length++]=j&C,x=10;x<m.length;x++){var K=0|m.words[x];m.words[x-10]=(K&C)<<4|j>>>22,j=K}j>>>=22,m.words[x-10]=j,j===0&&m.length>10?m.length-=10:m.length-=9},E.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var P=0,C=0;C<m.length;C++){var B=0|m.words[C];P+=977*B,m.words[C]=67108863&P,P=64*B+(P/67108864|0)}return m.words[m.length-1]===0&&(m.length--,m.words[m.length-1]===0&&m.length--),m},t(k,S),t(I,S),t(N,S),N.prototype.imulK=function(m){for(var P=0,C=0;C<m.length;C++){var B=19*(0|m.words[C])+P,x=67108863&B;B>>>=26,m.words[C]=x,P=B}return P!==0&&(m.words[m.length++]=P),m},s._prime=function(m){if(T[m])return T[m];var P;if(m==="k256")P=new E;else if(m==="p224")P=new k;else if(m==="p192")P=new I;else{if(m!=="p25519")throw new Error("Unknown prime "+m);P=new N}return T[m]=P,P},D.prototype._verify1=function(m){l(m.negative===0,"red works only with positives"),l(m.red,"red works only with red numbers")},D.prototype._verify2=function(m,P){l((m.negative|P.negative)==0,"red works only with positives"),l(m.red&&m.red===P.red,"red works only with red numbers")},D.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):(i(m,m.umod(this.m)._forceRed(this)),m)},D.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},D.prototype.add=function(m,P){this._verify2(m,P);var C=m.add(P);return C.cmp(this.m)>=0&&C.isub(this.m),C._forceRed(this)},D.prototype.iadd=function(m,P){this._verify2(m,P);var C=m.iadd(P);return C.cmp(this.m)>=0&&C.isub(this.m),C},D.prototype.sub=function(m,P){this._verify2(m,P);var C=m.sub(P);return C.cmpn(0)<0&&C.iadd(this.m),C._forceRed(this)},D.prototype.isub=function(m,P){this._verify2(m,P);var C=m.isub(P);return C.cmpn(0)<0&&C.iadd(this.m),C},D.prototype.shl=function(m,P){return this._verify1(m),this.imod(m.ushln(P))},D.prototype.imul=function(m,P){return this._verify2(m,P),this.imod(m.imul(P))},D.prototype.mul=function(m,P){return this._verify2(m,P),this.imod(m.mul(P))},D.prototype.isqr=function(m){return this.imul(m,m.clone())},D.prototype.sqr=function(m){return this.mul(m,m)},D.prototype.sqrt=function(m){if(m.isZero())return m.clone();var P=this.m.andln(3);if(l(P%2==1),P===3){var C=this.m.add(new s(1)).iushrn(2);return this.pow(m,C)}for(var B=this.m.subn(1),x=0;!B.isZero()&&B.andln(1)===0;)x++,B.iushrn(1);l(!B.isZero());var j=new s(1).toRed(this),K=j.redNeg(),V=this.m.subn(1).iushrn(1),J=this.m.bitLength();for(J=new s(2*J*J).toRed(this);this.pow(J,V).cmp(K)!==0;)J.redIAdd(K);for(var O=this.pow(J,B),F=this.pow(m,B.addn(1).iushrn(1)),G=this.pow(m,B),H=x;G.cmp(j)!==0;){for(var M=G,_=0;M.cmp(j)!==0;_++)M=M.redSqr();l(_<H);var U=this.pow(O,new s(1).iushln(H-_-1));F=F.redMul(U),O=U.redSqr(),G=G.redMul(O),H=_}return F},D.prototype.invm=function(m){var P=m._invmp(this.m);return P.negative!==0?(P.negative=0,this.imod(P).redNeg()):this.imod(P)},D.prototype.pow=function(m,P){if(P.isZero())return new s(1).toRed(this);if(P.cmpn(1)===0)return m.clone();var C=new Array(16);C[0]=new s(1).toRed(this),C[1]=m;for(var B=2;B<C.length;B++)C[B]=this.mul(C[B-1],m);var x=C[0],j=0,K=0,V=P.bitLength()%26;for(V===0&&(V=26),B=P.length-1;B>=0;B--){for(var J=P.words[B],O=V-1;O>=0;O--){var F=J>>O&1;x!==C[0]&&(x=this.sqr(x)),F!==0||j!==0?(j<<=1,j|=F,(++K==4||B===0&&O===0)&&(x=this.mul(x,C[j]),K=0,j=0)):K=0}V=26}return x},D.prototype.convertTo=function(m){var P=m.umod(this.m);return P===m?P.clone():P},D.prototype.convertFrom=function(m){var P=m.clone();return P.red=null,P},s.mont=function(m){return new L(m)},t(L,D),L.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},L.prototype.convertFrom=function(m){var P=this.imod(m.mul(this.rinv));return P.red=null,P},L.prototype.imul=function(m,P){if(m.isZero()||P.isZero())return m.words[0]=0,m.length=1,m;var C=m.imul(P),B=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=C.isub(B).iushrn(this.shift),j=x;return x.cmp(this.m)>=0?j=x.isub(this.m):x.cmpn(0)<0&&(j=x.iadd(this.m)),j._forceRed(this)},L.prototype.mul=function(m,P){if(m.isZero()||P.isZero())return new s(0)._forceRed(this);var C=m.mul(P),B=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=C.isub(B).iushrn(this.shift),j=x;return x.cmp(this.m)>=0?j=x.isub(this.m):x.cmpn(0)<0&&(j=x.iadd(this.m)),j._forceRed(this)},L.prototype.invm=function(m){return this.imod(m._invmp(this.m).mul(this.r2))._forceRed(this)}})(R)},2202:(R,y,c)=>{var h,v=c(8847)(c(3355));function p(t){this.rand=t}if(R.exports=function(t){return h||(h=new p(null)),h.generate(t)},R.exports.Rand=p,p.prototype.generate=function(t){return this._rand(t)},p.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var s=new Uint8Array(t),f=0;f<s.length;f++)s[f]=this.rand.getByte();return s},(typeof self>"u"?"undefined":(0,v.default)(self))==="object")self.crypto&&self.crypto.getRandomValues?p.prototype._rand=function(t){var s=new Uint8Array(t);return self.crypto.getRandomValues(s),s}:self.msCrypto&&self.msCrypto.getRandomValues?p.prototype._rand=function(t){var s=new Uint8Array(t);return self.msCrypto.getRandomValues(s),s}:(typeof window>"u"?"undefined":(0,v.default)(window))==="object"&&(p.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var l=c(9214);if(typeof l.randomBytes!="function")throw new Error("Not supported");p.prototype._rand=function(t){return l.randomBytes(t)}}catch{}},7494:(R,y,c)=>{var h=c(8850).Buffer;function v(e){h.isBuffer(e)||(e=h.from(e));for(var u=e.length/4|0,n=new Array(u),i=0;i<u;i++)n[i]=e.readUInt32BE(4*i);return n}function p(e){for(;0<e.length;e++)e[0]=0}function l(e,u,n,i,r){for(var o,a,d,b,w=n[0],g=n[1],A=n[2],T=n[3],S=e[0]^u[0],E=e[1]^u[1],k=e[2]^u[2],I=e[3]^u[3],N=4,D=1;D<r;D++)o=w[S>>>24]^g[E>>>16&255]^A[k>>>8&255]^T[255&I]^u[N++],a=w[E>>>24]^g[k>>>16&255]^A[I>>>8&255]^T[255&S]^u[N++],d=w[k>>>24]^g[I>>>16&255]^A[S>>>8&255]^T[255&E]^u[N++],b=w[I>>>24]^g[S>>>16&255]^A[E>>>8&255]^T[255&k]^u[N++],S=o,E=a,k=d,I=b;return o=(i[S>>>24]<<24|i[E>>>16&255]<<16|i[k>>>8&255]<<8|i[255&I])^u[N++],a=(i[E>>>24]<<24|i[k>>>16&255]<<16|i[I>>>8&255]<<8|i[255&S])^u[N++],d=(i[k>>>24]<<24|i[I>>>16&255]<<16|i[S>>>8&255]<<8|i[255&E])^u[N++],b=(i[I>>>24]<<24|i[S>>>16&255]<<16|i[E>>>8&255]<<8|i[255&k])^u[N++],[o>>>=0,a>>>=0,d>>>=0,b>>>=0]}var t=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var e=new Array(256),u=0;u<256;u++)e[u]=u<128?u<<1:u<<1^283;for(var n=[],i=[],r=[[],[],[],[]],o=[[],[],[],[]],a=0,d=0,b=0;b<256;++b){var w=d^d<<1^d<<2^d<<3^d<<4;w=w>>>8^255&w^99,n[a]=w,i[w]=a;var g=e[a],A=e[g],T=e[A],S=257*e[w]^16843008*w;r[0][a]=S<<24|S>>>8,r[1][a]=S<<16|S>>>16,r[2][a]=S<<8|S>>>24,r[3][a]=S,S=16843009*T^65537*A^257*g^16843008*a,o[0][w]=S<<24|S>>>8,o[1][w]=S<<16|S>>>16,o[2][w]=S<<8|S>>>24,o[3][w]=S,a===0?a=d=1:(a=g^e[e[e[T^g]]],d^=e[e[d]])}return{SBOX:n,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:o}}();function f(e){this._key=v(e),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var e=this._key,u=e.length,n=u+6,i=4*(n+1),r=[],o=0;o<u;o++)r[o]=e[o];for(o=u;o<i;o++){var a=r[o-1];o%u==0?(a=a<<8|a>>>24,a=s.SBOX[a>>>24]<<24|s.SBOX[a>>>16&255]<<16|s.SBOX[a>>>8&255]<<8|s.SBOX[255&a],a^=t[o/u|0]<<24):u>6&&o%u==4&&(a=s.SBOX[a>>>24]<<24|s.SBOX[a>>>16&255]<<16|s.SBOX[a>>>8&255]<<8|s.SBOX[255&a]),r[o]=r[o-u]^a}for(var d=[],b=0;b<i;b++){var w=i-b,g=r[w-(b%4?0:4)];d[b]=b<4||w<=4?g:s.INV_SUB_MIX[0][s.SBOX[g>>>24]]^s.INV_SUB_MIX[1][s.SBOX[g>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[g>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&g]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=d},f.prototype.encryptBlockRaw=function(e){return l(e=v(e),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},f.prototype.encryptBlock=function(e){var u=this.encryptBlockRaw(e),n=h.allocUnsafe(16);return n.writeUInt32BE(u[0],0),n.writeUInt32BE(u[1],4),n.writeUInt32BE(u[2],8),n.writeUInt32BE(u[3],12),n},f.prototype.decryptBlock=function(e){var u=(e=v(e))[1];e[1]=e[3],e[3]=u;var n=l(e,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),i=h.allocUnsafe(16);return i.writeUInt32BE(n[0],0),i.writeUInt32BE(n[3],4),i.writeUInt32BE(n[2],8),i.writeUInt32BE(n[1],12),i},f.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},R.exports.AES=f},426:(R,y,c)=>{var h=c(7494),v=c(8850).Buffer,p=c(3013),l=c(1736),t=c(6626),s=c(6316),f=c(7557);function e(u,n,i,r){p.call(this);var o=v.alloc(4,0);this._cipher=new h.AES(n);var a=this._cipher.encryptBlock(o);this._ghash=new t(a),i=function(d,b,w){if(b.length===12)return d._finID=v.concat([b,v.from([0,0,0,1])]),v.concat([b,v.from([0,0,0,2])]);var g=new t(w),A=b.length,T=A%16;g.update(b),T&&(T=16-T,g.update(v.alloc(T,0))),g.update(v.alloc(8,0));var S=8*A,E=v.alloc(8);E.writeUIntBE(S,0,8),g.update(E),d._finID=g.state;var k=v.from(d._finID);return f(k),k}(this,i,a),this._prev=v.from(i),this._cache=v.allocUnsafe(0),this._secCache=v.allocUnsafe(0),this._decrypt=r,this._alen=0,this._len=0,this._mode=u,this._authTag=null,this._called=!1}l(e,p),e.prototype._update=function(u){if(!this._called&&this._alen){var n=16-this._alen%16;n<16&&(n=v.alloc(n,0),this._ghash.update(n))}this._called=!0;var i=this._mode.encrypt(this,u);return this._decrypt?this._ghash.update(u):this._ghash.update(i),this._len+=u.length,i},e.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var u=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(n,i){var r=0;n.length!==i.length&&r++;for(var o=Math.min(n.length,i.length),a=0;a<o;++a)r+=n[a]^i[a];return r}(u,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=u,this._cipher.scrub()},e.prototype.getAuthTag=function(){if(this._decrypt||!v.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},e.prototype.setAuthTag=function(u){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=u},e.prototype.setAAD=function(u){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(u),this._alen+=u.length},R.exports=e},8073:(R,y,c)=>{var h=c(5478),v=c(2184),p=c(4946);y.createCipher=y.Cipher=h.createCipher,y.createCipheriv=y.Cipheriv=h.createCipheriv,y.createDecipher=y.Decipher=v.createDecipher,y.createDecipheriv=y.Decipheriv=v.createDecipheriv,y.listCiphers=y.getCiphers=function(){return Object.keys(p)}},2184:(R,y,c)=>{var h=c(426),v=c(8850).Buffer,p=c(8408),l=c(1408),t=c(3013),s=c(7494),f=c(7085);function e(i,r,o){t.call(this),this._cache=new u,this._last=void 0,this._cipher=new s.AES(r),this._prev=v.from(o),this._mode=i,this._autopadding=!0}function u(){this.cache=v.allocUnsafe(0)}function n(i,r,o){var a=p[i.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if(typeof o=="string"&&(o=v.from(o)),a.mode!=="GCM"&&o.length!==a.iv)throw new TypeError("invalid iv length "+o.length);if(typeof r=="string"&&(r=v.from(r)),r.length!==a.key/8)throw new TypeError("invalid key length "+r.length);return a.type==="stream"?new l(a.module,r,o,!0):a.type==="auth"?new h(a.module,r,o,!0):new e(a.module,r,o)}c(1736)(e,t),e.prototype._update=function(i){var r,o;this._cache.add(i);for(var a=[];r=this._cache.get(this._autopadding);)o=this._mode.decrypt(this,r),a.push(o);return v.concat(a)},e.prototype._final=function(){var i=this._cache.flush();if(this._autopadding)return function(r){var o=r[15];if(o<1||o>16)throw new Error("unable to decrypt data");for(var a=-1;++a<o;)if(r[a+(16-o)]!==o)throw new Error("unable to decrypt data");if(o!==16)return r.slice(0,16-o)}(this._mode.decrypt(this,i));if(i)throw new Error("data not multiple of block length")},e.prototype.setAutoPadding=function(i){return this._autopadding=!!i,this},u.prototype.add=function(i){this.cache=v.concat([this.cache,i])},u.prototype.get=function(i){var r;if(i){if(this.cache.length>16)return r=this.cache.slice(0,16),this.cache=this.cache.slice(16),r}else if(this.cache.length>=16)return r=this.cache.slice(0,16),this.cache=this.cache.slice(16),r;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},y.createDecipher=function(i,r){var o=p[i.toLowerCase()];if(!o)throw new TypeError("invalid suite type");var a=f(r,!1,o.key,o.iv);return n(i,a.key,a.iv)},y.createDecipheriv=n},5478:(R,y,c)=>{var h=c(8408),v=c(426),p=c(8850).Buffer,l=c(1408),t=c(3013),s=c(7494),f=c(7085);function e(r,o,a){t.call(this),this._cache=new n,this._cipher=new s.AES(o),this._prev=p.from(a),this._mode=r,this._autopadding=!0}c(1736)(e,t),e.prototype._update=function(r){var o,a;this._cache.add(r);for(var d=[];o=this._cache.get();)a=this._mode.encrypt(this,o),d.push(a);return p.concat(d)};var u=p.alloc(16,16);function n(){this.cache=p.allocUnsafe(0)}function i(r,o,a){var d=h[r.toLowerCase()];if(!d)throw new TypeError("invalid suite type");if(typeof o=="string"&&(o=p.from(o)),o.length!==d.key/8)throw new TypeError("invalid key length "+o.length);if(typeof a=="string"&&(a=p.from(a)),d.mode!=="GCM"&&a.length!==d.iv)throw new TypeError("invalid iv length "+a.length);return d.type==="stream"?new l(d.module,o,a):d.type==="auth"?new v(d.module,o,a):new e(d.module,o,a)}e.prototype._final=function(){var r=this._cache.flush();if(this._autopadding)return r=this._mode.encrypt(this,r),this._cipher.scrub(),r;if(!r.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},e.prototype.setAutoPadding=function(r){return this._autopadding=!!r,this},n.prototype.add=function(r){this.cache=p.concat([this.cache,r])},n.prototype.get=function(){if(this.cache.length>15){var r=this.cache.slice(0,16);return this.cache=this.cache.slice(16),r}return null},n.prototype.flush=function(){for(var r=16-this.cache.length,o=p.allocUnsafe(r),a=-1;++a<r;)o.writeUInt8(r,a);return p.concat([this.cache,o])},y.createCipheriv=i,y.createCipher=function(r,o){var a=h[r.toLowerCase()];if(!a)throw new TypeError("invalid suite type");var d=f(o,!1,a.key,a.iv);return i(r,d.key,d.iv)}},6626:(R,y,c)=>{var h=c(8850).Buffer,v=h.alloc(16,0);function p(t){var s=h.allocUnsafe(16);return s.writeUInt32BE(t[0]>>>0,0),s.writeUInt32BE(t[1]>>>0,4),s.writeUInt32BE(t[2]>>>0,8),s.writeUInt32BE(t[3]>>>0,12),s}function l(t){this.h=t,this.state=h.alloc(16,0),this.cache=h.allocUnsafe(0)}l.prototype.ghash=function(t){for(var s=-1;++s<t.length;)this.state[s]^=t[s];this._multiply()},l.prototype._multiply=function(){for(var t,s,f,e=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],u=[0,0,0,0],n=-1;++n<128;){for(this.state[~~(n/8)]&1<<7-n%8&&(u[0]^=e[0],u[1]^=e[1],u[2]^=e[2],u[3]^=e[3]),f=(1&e[3])!=0,s=3;s>0;s--)e[s]=e[s]>>>1|(1&e[s-1])<<31;e[0]=e[0]>>>1,f&&(e[0]=e[0]^-520093696)}this.state=p(u)},l.prototype.update=function(t){var s;for(this.cache=h.concat([this.cache,t]);this.cache.length>=16;)s=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(s)},l.prototype.final=function(t,s){return this.cache.length&&this.ghash(h.concat([this.cache,v],16)),this.ghash(p([0,t,0,s])),this.state},R.exports=l},7557:R=>{R.exports=function(y){for(var c,h=y.length;h--;){if((c=y.readUInt8(h))!==255){c++,y.writeUInt8(c,h);break}y.writeUInt8(0,h)}}},7427:(R,y,c)=>{var h=c(6316);y.encrypt=function(v,p){var l=h(p,v._prev);return v._prev=v._cipher.encryptBlock(l),v._prev},y.decrypt=function(v,p){var l=v._prev;v._prev=p;var t=v._cipher.decryptBlock(p);return h(t,l)}},4030:(R,y,c)=>{var h=c(8850).Buffer,v=c(6316);function p(l,t,s){var f=t.length,e=v(t,l._cache);return l._cache=l._cache.slice(f),l._prev=h.concat([l._prev,s?t:e]),e}y.encrypt=function(l,t,s){for(var f,e=h.allocUnsafe(0);t.length;){if(l._cache.length===0&&(l._cache=l._cipher.encryptBlock(l._prev),l._prev=h.allocUnsafe(0)),!(l._cache.length<=t.length)){e=h.concat([e,p(l,t,s)]);break}f=l._cache.length,e=h.concat([e,p(l,t.slice(0,f),s)]),t=t.slice(f)}return e}},3206:(R,y,c)=>{var h=c(8850).Buffer;function v(l,t,s){for(var f,e,u=-1,n=0;++u<8;)f=t&1<<7-u?128:0,n+=(128&(e=l._cipher.encryptBlock(l._prev)[0]^f))>>u%8,l._prev=p(l._prev,s?f:e);return n}function p(l,t){var s=l.length,f=-1,e=h.allocUnsafe(l.length);for(l=h.concat([l,h.from([t])]);++f<s;)e[f]=l[f]<<1|l[f+1]>>7;return e}y.encrypt=function(l,t,s){for(var f=t.length,e=h.allocUnsafe(f),u=-1;++u<f;)e[u]=v(l,t[u],s);return e}},4726:(R,y,c)=>{var h=c(8850).Buffer;function v(p,l,t){var s=p._cipher.encryptBlock(p._prev)[0]^l;return p._prev=h.concat([p._prev.slice(1),h.from([t?l:s])]),s}y.encrypt=function(p,l,t){for(var s=l.length,f=h.allocUnsafe(s),e=-1;++e<s;)f[e]=v(p,l[e],t);return f}},2802:(R,y,c)=>{var h=c(6316),v=c(8850).Buffer,p=c(7557);function l(t){var s=t._cipher.encryptBlockRaw(t._prev);return p(t._prev),s}y.encrypt=function(t,s){var f=Math.ceil(s.length/16),e=t._cache.length;t._cache=v.concat([t._cache,v.allocUnsafe(16*f)]);for(var u=0;u<f;u++){var n=l(t),i=e+16*u;t._cache.writeUInt32BE(n[0],i+0),t._cache.writeUInt32BE(n[1],i+4),t._cache.writeUInt32BE(n[2],i+8),t._cache.writeUInt32BE(n[3],i+12)}var r=t._cache.slice(0,s.length);return t._cache=t._cache.slice(s.length),h(s,r)}},9297:(R,y)=>{y.encrypt=function(c,h){return c._cipher.encryptBlock(h)},y.decrypt=function(c,h){return c._cipher.decryptBlock(h)}},8408:(R,y,c)=>{var h={ECB:c(9297),CBC:c(7427),CFB:c(4030),CFB8:c(4726),CFB1:c(3206),OFB:c(1962),CTR:c(2802),GCM:c(2802)},v=c(4946);for(var p in v)v[p].module=h[v[p].mode];R.exports=v},1962:(R,y,c)=>{var h=c(9033).Buffer,v=c(6316);function p(l){return l._prev=l._cipher.encryptBlock(l._prev),l._prev}y.encrypt=function(l,t){for(;l._cache.length<t.length;)l._cache=h.concat([l._cache,p(l)]);var s=l._cache.slice(0,t.length);return l._cache=l._cache.slice(t.length),v(t,s)}},1408:(R,y,c)=>{var h=c(7494),v=c(8850).Buffer,p=c(3013);function l(t,s,f,e){p.call(this),this._cipher=new h.AES(s),this._prev=v.from(f),this._cache=v.allocUnsafe(0),this._secCache=v.allocUnsafe(0),this._decrypt=e,this._mode=t}c(1736)(l,p),l.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},R.exports=l},6805:(R,y,c)=>{var h=c(9120),v=c(8073),p=c(8408),l=c(867),t=c(7085);function s(e,u,n){if(e=e.toLowerCase(),p[e])return v.createCipheriv(e,u,n);if(l[e])return new h({key:u,iv:n,mode:e});throw new TypeError("invalid suite type")}function f(e,u,n){if(e=e.toLowerCase(),p[e])return v.createDecipheriv(e,u,n);if(l[e])return new h({key:u,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}y.createCipher=y.Cipher=function(e,u){var n,i;if(e=e.toLowerCase(),p[e])n=p[e].key,i=p[e].iv;else{if(!l[e])throw new TypeError("invalid suite type");n=8*l[e].key,i=l[e].iv}var r=t(u,!1,n,i);return s(e,r.key,r.iv)},y.createCipheriv=y.Cipheriv=s,y.createDecipher=y.Decipher=function(e,u){var n,i;if(e=e.toLowerCase(),p[e])n=p[e].key,i=p[e].iv;else{if(!l[e])throw new TypeError("invalid suite type");n=8*l[e].key,i=l[e].iv}var r=t(u,!1,n,i);return f(e,r.key,r.iv)},y.createDecipheriv=y.Decipheriv=f,y.listCiphers=y.getCiphers=function(){return Object.keys(l).concat(v.getCiphers())}},9120:(R,y,c)=>{var h=c(3013),v=c(5626),p=c(1736),l=c(8850).Buffer,t={"des-ede3-cbc":v.CBC.instantiate(v.EDE),"des-ede3":v.EDE,"des-ede-cbc":v.CBC.instantiate(v.EDE),"des-ede":v.EDE,"des-cbc":v.CBC.instantiate(v.DES),"des-ecb":v.DES};function s(f){h.call(this);var e,u=f.mode.toLowerCase(),n=t[u];e=f.decrypt?"decrypt":"encrypt";var i=f.key;l.isBuffer(i)||(i=l.from(i)),u!=="des-ede"&&u!=="des-ede-cbc"||(i=l.concat([i,i.slice(0,8)]));var r=f.iv;l.isBuffer(r)||(r=l.from(r)),this._des=n.create({key:i,iv:r,type:e})}t.des=t["des-cbc"],t.des3=t["des-ede3-cbc"],R.exports=s,p(s,h),s.prototype._update=function(f){return l.from(this._des.update(f))},s.prototype._final=function(){return l.from(this._des.final())}},867:(R,y)=>{y["des-ecb"]={key:8,iv:0},y["des-cbc"]=y.des={key:8,iv:8},y["des-ede3-cbc"]=y.des3={key:24,iv:8},y["des-ede3"]={key:24,iv:0},y["des-ede-cbc"]={key:16,iv:8},y["des-ede"]={key:16,iv:0}},9782:(R,y,c)=>{var h=c(9033).Buffer,v=c(1734),p=c(5010);function l(s){var f,e=s.modulus.byteLength();do f=new v(p(e));while(f.cmp(s.modulus)>=0||!f.umod(s.prime1)||!f.umod(s.prime2));return f}function t(s,f){var e=function(A){var T=l(A);return{blinder:T.toRed(v.mont(A.modulus)).redPow(new v(A.publicExponent)).fromRed(),unblinder:T.invm(A.modulus)}}(f),u=f.modulus.byteLength(),n=new v(s).mul(e.blinder).umod(f.modulus),i=n.toRed(v.mont(f.prime1)),r=n.toRed(v.mont(f.prime2)),o=f.coefficient,a=f.prime1,d=f.prime2,b=i.redPow(f.exponent1).fromRed(),w=r.redPow(f.exponent2).fromRed(),g=b.isub(w).imul(o).umod(a).imul(d);return w.iadd(g).imul(e.unblinder).umod(f.modulus).toArrayLike(h,"be",u)}t.getr=l,R.exports=t},6561:(R,y,c)=>{R.exports=c(5207)},9527:(R,y,c)=>{var h=c(8850).Buffer,v=c(5866),p=c(6505),l=c(1736),t=c(1628),s=c(5410),f=c(5207);function e(r){p.Writable.call(this);var o=f[r];if(!o)throw new Error("Unknown message digest");this._hashType=o.hash,this._hash=v(o.hash),this._tag=o.id,this._signType=o.sign}function u(r){p.Writable.call(this);var o=f[r];if(!o)throw new Error("Unknown message digest");this._hash=v(o.hash),this._tag=o.id,this._signType=o.sign}function n(r){return new e(r)}function i(r){return new u(r)}Object.keys(f).forEach(function(r){f[r].id=h.from(f[r].id,"hex"),f[r.toLowerCase()]=f[r]}),l(e,p.Writable),e.prototype._write=function(r,o,a){this._hash.update(r),a()},e.prototype.update=function(r,o){return typeof r=="string"&&(r=h.from(r,o)),this._hash.update(r),this},e.prototype.sign=function(r,o){this.end();var a=this._hash.digest(),d=t(a,r,this._hashType,this._signType,this._tag);return o?d.toString(o):d},l(u,p.Writable),u.prototype._write=function(r,o,a){this._hash.update(r),a()},u.prototype.update=function(r,o){return typeof r=="string"&&(r=h.from(r,o)),this._hash.update(r),this},u.prototype.verify=function(r,o,a){typeof o=="string"&&(o=h.from(o,a)),this.end();var d=this._hash.digest();return s(o,d,r,this._signType,this._tag)},R.exports={Sign:n,Verify:i,createSign:n,createVerify:i}},1628:(R,y,c)=>{var h=c(8850).Buffer,v=c(4424),p=c(9782),l=c(6597).ec,t=c(1734),s=c(7552),f=c(1308);function e(r,o,a,d){if((r=h.from(r.toArray())).length<o.byteLength()){var b=h.alloc(o.byteLength()-r.length);r=h.concat([b,r])}var w=a.length,g=function(S,E){S=(S=u(S,E)).mod(E);var k=h.from(S.toArray());if(k.length<E.byteLength()){var I=h.alloc(E.byteLength()-k.length);k=h.concat([I,k])}return k}(a,o),A=h.alloc(w);A.fill(1);var T=h.alloc(w);return T=v(d,T).update(A).update(h.from([0])).update(r).update(g).digest(),A=v(d,T).update(A).digest(),{k:T=v(d,T).update(A).update(h.from([1])).update(r).update(g).digest(),v:A=v(d,T).update(A).digest()}}function u(r,o){var a=new t(r),d=(r.length<<3)-o.bitLength();return d>0&&a.ishrn(d),a}function n(r,o,a){var d,b;do{for(d=h.alloc(0);8*d.length<r.bitLength();)o.v=v(a,o.k).update(o.v).digest(),d=h.concat([d,o.v]);b=u(d,r),o.k=v(a,o.k).update(o.v).update(h.from([0])).digest(),o.v=v(a,o.k).update(o.v).digest()}while(b.cmp(r)!==-1);return b}function i(r,o,a,d){return r.toRed(t.mont(a)).redPow(o).fromRed().mod(d)}R.exports=function(r,o,a,d,b){var w=s(o);if(w.curve){if(d!=="ecdsa"&&d!=="ecdsa/rsa")throw new Error("wrong private key type");return function(S,E){var k=f[E.curve.join(".")];if(!k)throw new Error("unknown curve "+E.curve.join("."));var I=new l(k).keyFromPrivate(E.privateKey).sign(S);return h.from(I.toDER())}(r,w)}if(w.type==="dsa"){if(d!=="dsa")throw new Error("wrong private key type");return function(S,E,k){for(var I,N=E.params.priv_key,D=E.params.p,L=E.params.q,m=E.params.g,P=new t(0),C=u(S,L).mod(L),B=!1,x=e(N,L,S,k);B===!1;)P=i(m,I=n(L,x,k),D,L),(B=I.invm(L).imul(C.add(N.mul(P))).mod(L)).cmpn(0)===0&&(B=!1,P=new t(0));return function(j,K){j=j.toArray(),K=K.toArray(),128&j[0]&&(j=[0].concat(j)),128&K[0]&&(K=[0].concat(K));var V=[48,j.length+K.length+4,2,j.length];return V=V.concat(j,[2,K.length],K),h.from(V)}(P,B)}(r,w,a)}if(d!=="rsa"&&d!=="ecdsa/rsa")throw new Error("wrong private key type");r=h.concat([b,r]);for(var g=w.modulus.byteLength(),A=[0,1];r.length+A.length+1<g;)A.push(255);A.push(0);for(var T=-1;++T<r.length;)A.push(r[T]);return p(A,w)},R.exports.getKey=e,R.exports.makeKey=n},5410:(R,y,c)=>{var h=c(8850).Buffer,v=c(1734),p=c(6597).ec,l=c(7552),t=c(1308);function s(f,e){if(f.cmpn(0)<=0)throw new Error("invalid sig");if(f.cmp(e)>=e)throw new Error("invalid sig")}R.exports=function(f,e,u,n,i){var r=l(u);if(r.type==="ec"){if(n!=="ecdsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");return function(A,T,S){var E=t[S.data.algorithm.curve.join(".")];if(!E)throw new Error("unknown curve "+S.data.algorithm.curve.join("."));var k=new p(E),I=S.data.subjectPrivateKey.data;return k.verify(T,A,I)}(f,e,r)}if(r.type==="dsa"){if(n!=="dsa")throw new Error("wrong public key type");return function(A,T,S){var E=S.data.p,k=S.data.q,I=S.data.g,N=S.data.pub_key,D=l.signature.decode(A,"der"),L=D.s,m=D.r;s(L,k),s(m,k);var P=v.mont(E),C=L.invm(k);return I.toRed(P).redPow(new v(T).mul(C).mod(k)).fromRed().mul(N.toRed(P).redPow(m.mul(C).mod(k)).fromRed()).mod(E).mod(k).cmp(m)===0}(f,e,r)}if(n!=="rsa"&&n!=="ecdsa/rsa")throw new Error("wrong public key type");e=h.concat([i,e]);for(var o=r.modulus.byteLength(),a=[1],d=0;e.length+a.length+2<o;)a.push(255),d++;a.push(0);for(var b=-1;++b<e.length;)a.push(e[b]);a=h.from(a);var w=v.mont(r.modulus);f=(f=new v(f).toRed(w)).redPow(new v(r.publicExponent)),f=h.from(f.fromRed().toArray());var g=d<8?1:0;for(o=Math.min(f.length,a.length),f.length!==a.length&&(g=1),b=-1;++b<o;)g|=f[b]^a[b];return g===0}},6316:(R,y,c)=>{var h=c(9033).Buffer;R.exports=function(v,p){for(var l=Math.min(v.length,p.length),t=new h(l),s=0;s<l;++s)t[s]=v[s]^p[s];return t}},9033:(R,y,c)=>{var h=c(4919),v=c(3226),p=c(9484);function l(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function t(M,_){if(l()<_)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(M=new Uint8Array(_)).__proto__=s.prototype:(M===null&&(M=new s(_)),M.length=_),M}function s(M,_,U){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(M,_,U);if(typeof M=="number"){if(typeof _=="string")throw new Error("If encoding is specified then the first argument must be a string");return u(this,M)}return f(this,M,_,U)}function f(M,_,U,q){if(typeof _=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&_ instanceof ArrayBuffer?function(z,W,Y,X){if(W.byteLength,Y<0||W.byteLength<Y)throw new RangeError("'offset' is out of bounds");if(W.byteLength<Y+(X||0))throw new RangeError("'length' is out of bounds");return W=Y===void 0&&X===void 0?new Uint8Array(W):X===void 0?new Uint8Array(W,Y):new Uint8Array(W,Y,X),s.TYPED_ARRAY_SUPPORT?(z=W).__proto__=s.prototype:z=n(z,W),z}(M,_,U,q):typeof _=="string"?function(z,W,Y){if(typeof Y=="string"&&Y!==""||(Y="utf8"),!s.isEncoding(Y))throw new TypeError('"encoding" must be a valid string encoding');var X=0|r(W,Y),Q=(z=t(z,X)).write(W,Y);return Q!==X&&(z=z.slice(0,Q)),z}(M,_,U):function(z,W){if(s.isBuffer(W)){var Y=0|i(W.length);return(z=t(z,Y)).length===0||W.copy(z,0,0,Y),z}if(W){if(typeof ArrayBuffer<"u"&&W.buffer instanceof ArrayBuffer||"length"in W)return typeof W.length!="number"||(X=W.length)!=X?t(z,0):n(z,W);if(W.type==="Buffer"&&p(W.data))return n(z,W.data)}var X;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(M,_)}function e(M){if(typeof M!="number")throw new TypeError('"size" argument must be a number');if(M<0)throw new RangeError('"size" argument must not be negative')}function u(M,_){if(e(_),M=t(M,_<0?0:0|i(_)),!s.TYPED_ARRAY_SUPPORT)for(var U=0;U<_;++U)M[U]=0;return M}function n(M,_){var U=_.length<0?0:0|i(_.length);M=t(M,U);for(var q=0;q<U;q+=1)M[q]=255&_[q];return M}function i(M){if(M>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|M}function r(M,_){if(s.isBuffer(M))return M.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(M)||M instanceof ArrayBuffer))return M.byteLength;typeof M!="string"&&(M=""+M);var U=M.length;if(U===0)return 0;for(var q=!1;;)switch(_){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":case void 0:return F(M).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*U;case"hex":return U>>>1;case"base64":return G(M).length;default:if(q)return F(M).length;_=(""+_).toLowerCase(),q=!0}}function o(M,_,U){var q=!1;if((_===void 0||_<0)&&(_=0),_>this.length||((U===void 0||U>this.length)&&(U=this.length),U<=0)||(U>>>=0)<=(_>>>=0))return"";for(M||(M="utf8");;)switch(M){case"hex":return m(this,_,U);case"utf8":case"utf-8":return I(this,_,U);case"ascii":return D(this,_,U);case"latin1":case"binary":return L(this,_,U);case"base64":return k(this,_,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,_,U);default:if(q)throw new TypeError("Unknown encoding: "+M);M=(M+"").toLowerCase(),q=!0}}function a(M,_,U){var q=M[_];M[_]=M[U],M[U]=q}function d(M,_,U,q,z){if(M.length===0)return-1;if(typeof U=="string"?(q=U,U=0):U>2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,isNaN(U)&&(U=z?0:M.length-1),U<0&&(U=M.length+U),U>=M.length){if(z)return-1;U=M.length-1}else if(U<0){if(!z)return-1;U=0}if(typeof _=="string"&&(_=s.from(_,q)),s.isBuffer(_))return _.length===0?-1:b(M,_,U,q,z);if(typeof _=="number")return _&=255,s.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?z?Uint8Array.prototype.indexOf.call(M,_,U):Uint8Array.prototype.lastIndexOf.call(M,_,U):b(M,[_],U,q,z);throw new TypeError("val must be string, number or Buffer")}function b(M,_,U,q,z){var W,Y=1,X=M.length,Q=_.length;if(q!==void 0&&((q=String(q).toLowerCase())==="ucs2"||q==="ucs-2"||q==="utf16le"||q==="utf-16le")){if(M.length<2||_.length<2)return-1;Y=2,X/=2,Q/=2,U/=2}function $(nt,tt){return Y===1?nt[tt]:nt.readUInt16BE(tt*Y)}if(z){var Z=-1;for(W=U;W<X;W++)if($(M,W)===$(_,Z===-1?0:W-Z)){if(Z===-1&&(Z=W),W-Z+1===Q)return Z*Y}else Z!==-1&&(W-=W-Z),Z=-1}else for(U+Q>X&&(U=X-Q),W=U;W>=0;W--){for(var et=!0,rt=0;rt<Q;rt++)if($(M,W+rt)!==$(_,rt)){et=!1;break}if(et)return W}return-1}function w(M,_,U,q){U=Number(U)||0;var z=M.length-U;q?(q=Number(q))>z&&(q=z):q=z;var W=_.length;if(W%2!=0)throw new TypeError("Invalid hex string");q>W/2&&(q=W/2);for(var Y=0;Y<q;++Y){var X=parseInt(_.substr(2*Y,2),16);if(isNaN(X))return Y;M[U+Y]=X}return Y}function g(M,_,U,q){return H(F(_,M.length-U),M,U,q)}function A(M,_,U,q){return H(function(z){for(var W=[],Y=0;Y<z.length;++Y)W.push(255&z.charCodeAt(Y));return W}(_),M,U,q)}function T(M,_,U,q){return A(M,_,U,q)}function S(M,_,U,q){return H(G(_),M,U,q)}function E(M,_,U,q){return H(function(z,W){for(var Y,X,Q,$=[],Z=0;Z<z.length&&!((W-=2)<0);++Z)X=(Y=z.charCodeAt(Z))>>8,Q=Y%256,$.push(Q),$.push(X);return $}(_,M.length-U),M,U,q)}function k(M,_,U){return _===0&&U===M.length?h.fromByteArray(M):h.fromByteArray(M.slice(_,U))}function I(M,_,U){U=Math.min(M.length,U);for(var q=[],z=_;z<U;){var W,Y,X,Q,$=M[z],Z=null,et=$>239?4:$>223?3:$>191?2:1;if(z+et<=U)switch(et){case 1:$<128&&(Z=$);break;case 2:(192&(W=M[z+1]))==128&&(Q=(31&$)<<6|63&W)>127&&(Z=Q);break;case 3:W=M[z+1],Y=M[z+2],(192&W)==128&&(192&Y)==128&&(Q=(15&$)<<12|(63&W)<<6|63&Y)>2047&&(Q<55296||Q>57343)&&(Z=Q);break;case 4:W=M[z+1],Y=M[z+2],X=M[z+3],(192&W)==128&&(192&Y)==128&&(192&X)==128&&(Q=(15&$)<<18|(63&W)<<12|(63&Y)<<6|63&X)>65535&&Q<1114112&&(Z=Q)}Z===null?(Z=65533,et=1):Z>65535&&(Z-=65536,q.push(Z>>>10&1023|55296),Z=56320|1023&Z),q.push(Z),z+=et}return function(rt){var nt=rt.length;if(nt<=N)return String.fromCharCode.apply(String,rt);for(var tt="",ot=0;ot<nt;)tt+=String.fromCharCode.apply(String,rt.slice(ot,ot+=N));return tt}(q)}y.Buffer=s,y.SlowBuffer=function(M){return+M!=M&&(M=0),s.alloc(+M)},y.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=c.g.TYPED_ARRAY_SUPPORT!==void 0?c.g.TYPED_ARRAY_SUPPORT:function(){try{var M=new Uint8Array(1);return M.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},M.foo()===42&&typeof M.subarray=="function"&&M.subarray(1,1).byteLength===0}catch{return!1}}(),y.kMaxLength=l(),s.poolSize=8192,s._augment=function(M){return M.__proto__=s.prototype,M},s.from=function(M,_,U){return f(null,M,_,U)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(M,_,U){return function(q,z,W,Y){return e(z),z<=0?t(q,z):W!==void 0?typeof Y=="string"?t(q,z).fill(W,Y):t(q,z).fill(W):t(q,z)}(null,M,_,U)},s.allocUnsafe=function(M){return u(null,M)},s.allocUnsafeSlow=function(M){return u(null,M)},s.isBuffer=function(M){return!(M==null||!M._isBuffer)},s.compare=function(M,_){if(!s.isBuffer(M)||!s.isBuffer(_))throw new TypeError("Arguments must be Buffers");if(M===_)return 0;for(var U=M.length,q=_.length,z=0,W=Math.min(U,q);z<W;++z)if(M[z]!==_[z]){U=M[z],q=_[z];break}return U<q?-1:q<U?1:0},s.isEncoding=function(M){switch(String(M).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(M,_){if(!p(M))throw new TypeError('"list" argument must be an Array of Buffers');if(M.length===0)return s.alloc(0);var U;if(_===void 0)for(_=0,U=0;U<M.length;++U)_+=M[U].length;var q=s.allocUnsafe(_),z=0;for(U=0;U<M.length;++U){var W=M[U];if(!s.isBuffer(W))throw new TypeError('"list" argument must be an Array of Buffers');W.copy(q,z),z+=W.length}return q},s.byteLength=r,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var M=this.length;if(M%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var _=0;_<M;_+=2)a(this,_,_+1);return this},s.prototype.swap32=function(){var M=this.length;if(M%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var _=0;_<M;_+=4)a(this,_,_+3),a(this,_+1,_+2);return this},s.prototype.swap64=function(){var M=this.length;if(M%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var _=0;_<M;_+=8)a(this,_,_+7),a(this,_+1,_+6),a(this,_+2,_+5),a(this,_+3,_+4);return this},s.prototype.toString=function(){var M=0|this.length;return M===0?"":arguments.length===0?I(this,0,M):o.apply(this,arguments)},s.prototype.equals=function(M){if(!s.isBuffer(M))throw new TypeError("Argument must be a Buffer");return this===M||s.compare(this,M)===0},s.prototype.inspect=function(){var M="",_=y.INSPECT_MAX_BYTES;return this.length>0&&(M=this.toString("hex",0,_).match(/.{2}/g).join(" "),this.length>_&&(M+=" ... ")),"<Buffer "+M+">"},s.prototype.compare=function(M,_,U,q,z){if(!s.isBuffer(M))throw new TypeError("Argument must be a Buffer");if(_===void 0&&(_=0),U===void 0&&(U=M?M.length:0),q===void 0&&(q=0),z===void 0&&(z=this.length),_<0||U>M.length||q<0||z>this.length)throw new RangeError("out of range index");if(q>=z&&_>=U)return 0;if(q>=z)return-1;if(_>=U)return 1;if(this===M)return 0;for(var W=(z>>>=0)-(q>>>=0),Y=(U>>>=0)-(_>>>=0),X=Math.min(W,Y),Q=this.slice(q,z),$=M.slice(_,U),Z=0;Z<X;++Z)if(Q[Z]!==$[Z]){W=Q[Z],Y=$[Z];break}return W<Y?-1:Y<W?1:0},s.prototype.includes=function(M,_,U){return this.indexOf(M,_,U)!==-1},s.prototype.indexOf=function(M,_,U){return d(this,M,_,U,!0)},s.prototype.lastIndexOf=function(M,_,U){return d(this,M,_,U,!1)},s.prototype.write=function(M,_,U,q){if(_===void 0)q="utf8",U=this.length,_=0;else if(U===void 0&&typeof _=="string")q=_,U=this.length,_=0;else{if(!isFinite(_))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");_|=0,isFinite(U)?(U|=0,q===void 0&&(q="utf8")):(q=U,U=void 0)}var z=this.length-_;if((U===void 0||U>z)&&(U=z),M.length>0&&(U<0||_<0)||_>this.length)throw new RangeError("Attempt to write outside buffer bounds");q||(q="utf8");for(var W=!1;;)switch(q){case"hex":return w(this,M,_,U);case"utf8":case"utf-8":return g(this,M,_,U);case"ascii":return A(this,M,_,U);case"latin1":case"binary":return T(this,M,_,U);case"base64":return S(this,M,_,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,M,_,U);default:if(W)throw new TypeError("Unknown encoding: "+q);q=(""+q).toLowerCase(),W=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function D(M,_,U){var q="";U=Math.min(M.length,U);for(var z=_;z<U;++z)q+=String.fromCharCode(127&M[z]);return q}function L(M,_,U){var q="";U=Math.min(M.length,U);for(var z=_;z<U;++z)q+=String.fromCharCode(M[z]);return q}function m(M,_,U){var q,z=M.length;(!_||_<0)&&(_=0),(!U||U<0||U>z)&&(U=z);for(var W="",Y=_;Y<U;++Y)W+=(q=M[Y])<16?"0"+q.toString(16):q.toString(16);return W}function P(M,_,U){for(var q=M.slice(_,U),z="",W=0;W<q.length;W+=2)z+=String.fromCharCode(q[W]+256*q[W+1]);return z}function C(M,_,U){if(M%1!=0||M<0)throw new RangeError("offset is not uint");if(M+_>U)throw new RangeError("Trying to access beyond buffer length")}function B(M,_,U,q,z,W){if(!s.isBuffer(M))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>z||_<W)throw new RangeError('"value" argument is out of bounds');if(U+q>M.length)throw new RangeError("Index out of range")}function x(M,_,U,q){_<0&&(_=65535+_+1);for(var z=0,W=Math.min(M.length-U,2);z<W;++z)M[U+z]=(_&255<<8*(q?z:1-z))>>>8*(q?z:1-z)}function j(M,_,U,q){_<0&&(_=4294967295+_+1);for(var z=0,W=Math.min(M.length-U,4);z<W;++z)M[U+z]=_>>>8*(q?z:3-z)&255}function K(M,_,U,q,z,W){if(U+q>M.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("Index out of range")}function V(M,_,U,q,z){return z||K(M,0,U,4),v.write(M,_,U,q,23,4),U+4}function J(M,_,U,q,z){return z||K(M,0,U,8),v.write(M,_,U,q,52,8),U+8}s.prototype.slice=function(M,_){var U,q=this.length;if((M=~~M)<0?(M+=q)<0&&(M=0):M>q&&(M=q),(_=_===void 0?q:~~_)<0?(_+=q)<0&&(_=0):_>q&&(_=q),_<M&&(_=M),s.TYPED_ARRAY_SUPPORT)(U=this.subarray(M,_)).__proto__=s.prototype;else{var z=_-M;U=new s(z,void 0);for(var W=0;W<z;++W)U[W]=this[W+M]}return U},s.prototype.readUIntLE=function(M,_,U){M|=0,_|=0,U||C(M,_,this.length);for(var q=this[M],z=1,W=0;++W<_&&(z*=256);)q+=this[M+W]*z;return q},s.prototype.readUIntBE=function(M,_,U){M|=0,_|=0,U||C(M,_,this.length);for(var q=this[M+--_],z=1;_>0&&(z*=256);)q+=this[M+--_]*z;return q},s.prototype.readUInt8=function(M,_){return _||C(M,1,this.length),this[M]},s.prototype.readUInt16LE=function(M,_){return _||C(M,2,this.length),this[M]|this[M+1]<<8},s.prototype.readUInt16BE=function(M,_){return _||C(M,2,this.length),this[M]<<8|this[M+1]},s.prototype.readUInt32LE=function(M,_){return _||C(M,4,this.length),(this[M]|this[M+1]<<8|this[M+2]<<16)+16777216*this[M+3]},s.prototype.readUInt32BE=function(M,_){return _||C(M,4,this.length),16777216*this[M]+(this[M+1]<<16|this[M+2]<<8|this[M+3])},s.prototype.readIntLE=function(M,_,U){M|=0,_|=0,U||C(M,_,this.length);for(var q=this[M],z=1,W=0;++W<_&&(z*=256);)q+=this[M+W]*z;return q>=(z*=128)&&(q-=Math.pow(2,8*_)),q},s.prototype.readIntBE=function(M,_,U){M|=0,_|=0,U||C(M,_,this.length);for(var q=_,z=1,W=this[M+--q];q>0&&(z*=256);)W+=this[M+--q]*z;return W>=(z*=128)&&(W-=Math.pow(2,8*_)),W},s.prototype.readInt8=function(M,_){return _||C(M,1,this.length),128&this[M]?-1*(255-this[M]+1):this[M]},s.prototype.readInt16LE=function(M,_){_||C(M,2,this.length);var U=this[M]|this[M+1]<<8;return 32768&U?4294901760|U:U},s.prototype.readInt16BE=function(M,_){_||C(M,2,this.length);var U=this[M+1]|this[M]<<8;return 32768&U?4294901760|U:U},s.prototype.readInt32LE=function(M,_){return _||C(M,4,this.length),this[M]|this[M+1]<<8|this[M+2]<<16|this[M+3]<<24},s.prototype.readInt32BE=function(M,_){return _||C(M,4,this.length),this[M]<<24|this[M+1]<<16|this[M+2]<<8|this[M+3]},s.prototype.readFloatLE=function(M,_){return _||C(M,4,this.length),v.read(this,M,!0,23,4)},s.prototype.readFloatBE=function(M,_){return _||C(M,4,this.length),v.read(this,M,!1,23,4)},s.prototype.readDoubleLE=function(M,_){return _||C(M,8,this.length),v.read(this,M,!0,52,8)},s.prototype.readDoubleBE=function(M,_){return _||C(M,8,this.length),v.read(this,M,!1,52,8)},s.prototype.writeUIntLE=function(M,_,U,q){M=+M,_|=0,U|=0,q||B(this,M,_,U,Math.pow(2,8*U)-1,0);var z=1,W=0;for(this[_]=255&M;++W<U&&(z*=256);)this[_+W]=M/z&255;return _+U},s.prototype.writeUIntBE=function(M,_,U,q){M=+M,_|=0,U|=0,q||B(this,M,_,U,Math.pow(2,8*U)-1,0);var z=U-1,W=1;for(this[_+z]=255&M;--z>=0&&(W*=256);)this[_+z]=M/W&255;return _+U},s.prototype.writeUInt8=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,1,255,0),s.TYPED_ARRAY_SUPPORT||(M=Math.floor(M)),this[_]=255&M,_+1},s.prototype.writeUInt16LE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[_]=255&M,this[_+1]=M>>>8):x(this,M,_,!0),_+2},s.prototype.writeUInt16BE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[_]=M>>>8,this[_+1]=255&M):x(this,M,_,!1),_+2},s.prototype.writeUInt32LE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[_+3]=M>>>24,this[_+2]=M>>>16,this[_+1]=M>>>8,this[_]=255&M):j(this,M,_,!0),_+4},s.prototype.writeUInt32BE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[_]=M>>>24,this[_+1]=M>>>16,this[_+2]=M>>>8,this[_+3]=255&M):j(this,M,_,!1),_+4},s.prototype.writeIntLE=function(M,_,U,q){if(M=+M,_|=0,!q){var z=Math.pow(2,8*U-1);B(this,M,_,U,z-1,-z)}var W=0,Y=1,X=0;for(this[_]=255&M;++W<U&&(Y*=256);)M<0&&X===0&&this[_+W-1]!==0&&(X=1),this[_+W]=(M/Y>>0)-X&255;return _+U},s.prototype.writeIntBE=function(M,_,U,q){if(M=+M,_|=0,!q){var z=Math.pow(2,8*U-1);B(this,M,_,U,z-1,-z)}var W=U-1,Y=1,X=0;for(this[_+W]=255&M;--W>=0&&(Y*=256);)M<0&&X===0&&this[_+W+1]!==0&&(X=1),this[_+W]=(M/Y>>0)-X&255;return _+U},s.prototype.writeInt8=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,1,127,-128),s.TYPED_ARRAY_SUPPORT||(M=Math.floor(M)),M<0&&(M=255+M+1),this[_]=255&M,_+1},s.prototype.writeInt16LE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[_]=255&M,this[_+1]=M>>>8):x(this,M,_,!0),_+2},s.prototype.writeInt16BE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[_]=M>>>8,this[_+1]=255&M):x(this,M,_,!1),_+2},s.prototype.writeInt32LE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[_]=255&M,this[_+1]=M>>>8,this[_+2]=M>>>16,this[_+3]=M>>>24):j(this,M,_,!0),_+4},s.prototype.writeInt32BE=function(M,_,U){return M=+M,_|=0,U||B(this,M,_,4,2147483647,-2147483648),M<0&&(M=4294967295+M+1),s.TYPED_ARRAY_SUPPORT?(this[_]=M>>>24,this[_+1]=M>>>16,this[_+2]=M>>>8,this[_+3]=255&M):j(this,M,_,!1),_+4},s.prototype.writeFloatLE=function(M,_,U){return V(this,M,_,!0,U)},s.prototype.writeFloatBE=function(M,_,U){return V(this,M,_,!1,U)},s.prototype.writeDoubleLE=function(M,_,U){return J(this,M,_,!0,U)},s.prototype.writeDoubleBE=function(M,_,U){return J(this,M,_,!1,U)},s.prototype.copy=function(M,_,U,q){if(U||(U=0),q||q===0||(q=this.length),_>=M.length&&(_=M.length),_||(_=0),q>0&&q<U&&(q=U),q===U||M.length===0||this.length===0)return 0;if(_<0)throw new RangeError("targetStart out of bounds");if(U<0||U>=this.length)throw new RangeError("sourceStart out of bounds");if(q<0)throw new RangeError("sourceEnd out of bounds");q>this.length&&(q=this.length),M.length-_<q-U&&(q=M.length-_+U);var z,W=q-U;if(this===M&&U<_&&_<q)for(z=W-1;z>=0;--z)M[z+_]=this[z+U];else if(W<1e3||!s.TYPED_ARRAY_SUPPORT)for(z=0;z<W;++z)M[z+_]=this[z+U];else Uint8Array.prototype.set.call(M,this.subarray(U,U+W),_);return W},s.prototype.fill=function(M,_,U,q){if(typeof M=="string"){if(typeof _=="string"?(q=_,_=0,U=this.length):typeof U=="string"&&(q=U,U=this.length),M.length===1){var z=M.charCodeAt(0);z<256&&(M=z)}if(q!==void 0&&typeof q!="string")throw new TypeError("encoding must be a string");if(typeof q=="string"&&!s.isEncoding(q))throw new TypeError("Unknown encoding: "+q)}else typeof M=="number"&&(M&=255);if(_<0||this.length<_||this.length<U)throw new RangeError("Out of range index");if(U<=_)return this;var W;if(_>>>=0,U=U===void 0?this.length:U>>>0,M||(M=0),typeof M=="number")for(W=_;W<U;++W)this[W]=M;else{var Y=s.isBuffer(M)?M:F(new s(M,q).toString()),X=Y.length;for(W=0;W<U-_;++W)this[W+_]=Y[W%X]}return this};var O=/[^+\/0-9A-Za-z-_]/g;function F(M,_){var U;_=_||1/0;for(var q=M.length,z=null,W=[],Y=0;Y<q;++Y){if((U=M.charCodeAt(Y))>55295&&U<57344){if(!z){if(U>56319){(_-=3)>-1&&W.push(239,191,189);continue}if(Y+1===q){(_-=3)>-1&&W.push(239,191,189);continue}z=U;continue}if(U<56320){(_-=3)>-1&&W.push(239,191,189),z=U;continue}U=65536+(z-55296<<10|U-56320)}else z&&(_-=3)>-1&&W.push(239,191,189);if(z=null,U<128){if((_-=1)<0)break;W.push(U)}else if(U<2048){if((_-=2)<0)break;W.push(U>>6|192,63&U|128)}else if(U<65536){if((_-=3)<0)break;W.push(U>>12|224,U>>6&63|128,63&U|128)}else{if(!(U<1114112))throw new Error("Invalid code point");if((_-=4)<0)break;W.push(U>>18|240,U>>12&63|128,U>>6&63|128,63&U|128)}}return W}function G(M){return h.toByteArray(function(_){if((_=function(U){return U.trim?U.trim():U.replace(/^\s+|\s+$/g,"")}(_).replace(O,"")).length<2)return"";for(;_.length%4!=0;)_+="=";return _}(M))}function H(M,_,U,q){for(var z=0;z<q&&!(z+U>=_.length||z>=M.length);++z)_[z+U]=M[z];return z}},3675:R=>{R.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},593:(R,y,c)=>{var h=c(7701),v=c(4373),p=v(h("String.prototype.indexOf"));R.exports=function(l,t){var s=h(l,!!t);return typeof s=="function"&&p(l,".prototype.")>-1?v(s):s}},4373:(R,y,c)=>{var h=c(3767),v=c(7701),p=v("%Function.prototype.apply%"),l=v("%Function.prototype.call%"),t=v("%Reflect.apply%",!0)||h.call(l,p),s=v("%Object.getOwnPropertyDescriptor%",!0),f=v("%Object.defineProperty%",!0),e=v("%Math.max%");if(f)try{f({},"a",{value:1})}catch{f=null}R.exports=function(n){var i=t(h,l,arguments);if(s&&f){var r=s(i,"length");r.configurable&&f(i,"length",{value:1+e(0,n.length-(arguments.length-1))})}return i};var u=function(){return t(h,p,arguments)};f?f(R.exports,"apply",{value:u}):R.exports.apply=u},7759:(R,y,c)=>{for(var h=c(8847)(c(4519)),v=c(3630),p={},l=0,t=Object.entries(v);l<t.length;l++){var s=(0,h.default)(t[l],2),f=s[0],e=s[1];p[f.toUpperCase().replace(/-/g,"_")]=e}R.exports=Object.freeze(p)},7223:(R,y,c)=>{var h=c(9033).Buffer,v=c(6657),p=c(5262),l=c(1842),t=c(779);(y=R.exports).addPrefix=function(f,e){var u;if(h.isBuffer(f))u=t.varintBufferEncode(f);else{if(!l[f])throw new Error("multicodec not recognized");u=l[f]}return h.concat([u,e])},y.rmPrefix=function(f){return v.decode(f),f.slice(v.decode.bytes)},y.getCodec=function(f){var e=v.decode(f),u=p.get(e);if(u===void 0)throw new Error("Code ".concat(e," not found"));return u},y.getName=function(f){return p.get(f)},y.getNumber=function(f){var e=l[f];if(e===void 0)throw new Error("Codec `"+f+"` not found");return t.varintBufferDecode(e)[0]},y.getCode=function(f){return v.decode(f)},y.getCodeVarint=function(f){var e=l[f];if(e===void 0)throw new Error("Codec `"+f+"` not found");return e},y.getVarint=function(f){return v.encode(f)};var s=c(7759);Object.assign(y,s),y.print=c(9268)},5262:(R,y,c)=>{var h=c(3630),v=new Map;for(var p in h){var l=h[p];v.set(l,p)}R.exports=Object.freeze(v)},9268:(R,y,c)=>{for(var h=c(8847)(c(4519)),v=c(3630),p={},l=0,t=Object.entries(v);l<t.length;l++){var s=(0,h.default)(t[l],2),f=s[0],e=s[1];p[e]===void 0&&(p[e]=f)}R.exports=Object.freeze(p)},779:(R,y,c)=>{var h=c(6657),v=c(9033).Buffer;function p(t){return parseInt(t.toString("hex"),16)}function l(t){var s=t.toString(16);return s.length%2==1&&(s="0"+s),v.from(s,"hex")}R.exports={numberToBuffer:l,bufferToNumber:p,varintBufferEncode:function(t){return v.from(h.encode(p(t)))},varintBufferDecode:function(t){return l(h.decode(t))},varintEncode:function(t){return v.from(h.encode(t))}}},1842:(R,y,c)=>{var h=c(3630),v=c(779).varintEncode,p={};for(var l in h){var t=h[l];p[l]=v(t)}R.exports=Object.freeze(p)},9976:(R,y,c)=>{var h=c(7748),v=c(9033).Buffer,p={checkCIDComponents:function(l){if(l==null)return"null values are not valid CIDs";if(l.version!==0&&l.version!==1)return"Invalid version, must be a number equal to 1 or 0";if(typeof l.codec!="string")return"codec must be string";if(l.version===0){if(l.codec!=="dag-pb")return"codec must be 'dag-pb' for CIDv0";if(l.multibaseName!=="base58btc")return"multibaseName must be 'base58btc' for CIDv0"}if(!v.isBuffer(l.multihash))return"multihash must be a Buffer";try{h.validate(l.multihash)}catch(s){var t=s.message;return t||(t="Multihash validation failed"),t}}};R.exports=p},2753:(R,y,c)=>{var h=c(8847),v=h(c(9721)),p=h(c(8985)),l=c(9033).Buffer,t=c(7748),s=c(6086),f=c(7223),e=c(3630),u=c(9976),n=c(3162)(function(i){function r(o,a,d,b){if((0,v.default)(this,r),n.isCID(o)){var w=o;return this.version=w.version,this.codec=w.codec,this.multihash=l.from(w.multihash),void(this.multibaseName=w.multibaseName||(w.version===0?"base58btc":"base32"))}if(typeof o=="string"){var g=s.isEncoded(o);if(g){var A=s.decode(o);this.version=parseInt(A.slice(0,1).toString("hex"),16),this.codec=f.getCodec(A.slice(1)),this.multihash=f.rmPrefix(A.slice(1)),this.multibaseName=g}else this.version=0,this.codec="dag-pb",this.multihash=t.fromB58String(o),this.multibaseName="base58btc";return r.validateCID(this),void Object.defineProperty(this,"string",{value:o})}if(l.isBuffer(o)){var T=o.slice(0,1),S=parseInt(T.toString("hex"),16);if(S===1){var E=o;this.version=S,this.codec=f.getCodec(E.slice(1)),this.multihash=f.rmPrefix(E.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=o,this.multibaseName="base58btc";r.validateCID(this)}else this.version=o,this.codec=a,this.multihash=d,this.multibaseName=b||(o===0?"base58btc":"base32"),r.validateCID(this)}return(0,p.default)(r,[{key:"buffer",get:function(){var o=this._buffer;if(!o){if(this.version===0)o=this.multihash;else{if(this.version!==1)throw new Error("unsupported version");o=l.concat([l.from("01","hex"),f.getCodeVarint(this.codec),this.multihash])}Object.defineProperty(this,"_buffer",{value:o})}return o}},{key:"prefix",get:function(){return l.concat([l.from("0".concat(this.version),"hex"),f.getCodeVarint(this.codec),t.prefix(this.multihash)])}},{key:"toV0",value:function(){if(this.codec!=="dag-pb")throw new Error("Cannot convert a non dag-pb CID to CIDv0");var o=t.decode(this.multihash),a=o.name,d=o.length;if(a!=="sha2-256")throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(d!==32)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new n(0,this.codec,this.multihash)}},{key:"toV1",value:function(){return new n(1,this.codec,this.multihash)}},{key:"toBaseEncodedString",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.multibaseName;if(this.string&&o===this.multibaseName)return this.string;var a=null;if(this.version===0){if(o!=="base58btc")throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");a=t.toB58String(this.multihash)}else{if(this.version!==1)throw new Error("unsupported version");a=s.encode(o,this.buffer).toString()}return o===this.multibaseName&&Object.defineProperty(this,"string",{value:a}),a}},{key:i,value:function(){return"CID("+this.toString()+")"}},{key:"toString",value:function(o){return this.toBaseEncodedString(o)}},{key:"toJSON",value:function(){return{codec:this.codec,version:this.version,hash:this.multihash}}},{key:"equals",value:function(o){return this.codec===o.codec&&this.version===o.version&&this.multihash.equals(o.multihash)}}],[{key:"validateCID",value:function(o){var a=u.checkCIDComponents(o);if(a)throw new Error(a)}}]),r}(Symbol.for("nodejs.util.inspect.custom")),{className:"CID",symbolName:"@ipld/js-cid/CID"});n.codecs=e,R.exports=n},3013:(R,y,c)=>{var h=c(8850).Buffer,v=c(7245).Transform,p=c(3462).s;function l(t){v.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}c(1736)(l,v),l.prototype.update=function(t,s,f){typeof t=="string"&&(t=h.from(t,s));var e=this._update(t);return this.hashMode?this:(f&&(e=this._toString(e,f)),e)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(t,s,f){var e;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(u){e=u}finally{f(e)}},l.prototype._flush=function(t){var s;try{this.push(this.__final())}catch(f){s=f}t(s)},l.prototype._finalOrDigest=function(t){var s=this.__final()||h.alloc(0);return t&&(s=this._toString(s,t,!0)),s},l.prototype._toString=function(t,s,f){if(this._decoder||(this._decoder=new p(s),this._encoding=s),this._encoding!==s)throw new Error("can't switch encodings");var e=this._decoder.write(t);return f&&(e+=this._decoder.end()),e},R.exports=l},3162:(R,y,c)=>{var h=c(8847),v=h(c(4727)),p=h(c(775)),l=h(c(9721)),t=h(c(8985)),s=h(c(8975)),f=h(c(5163)),e=h(c(4650)),u=h(c(1949));R.exports=function(n,i){var r=i.className,o=i.symbolName,a=Symbol.for(o),d=(0,p.default)({},r,function(b,w){(0,f.default)(S,b);var g,A,T=(g=S,A=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var E,k=(0,u.default)(g);if(A){var I=(0,u.default)(this).constructor;E=Reflect.construct(k,arguments,I)}else E=k.apply(this,arguments);return(0,e.default)(this,E)});function S(){var E;(0,l.default)(this,S);for(var k=arguments.length,I=new Array(k),N=0;N<k;N++)I[N]=arguments[N];return E=T.call.apply(T,[this].concat(I)),Object.defineProperty((0,s.default)(E),a,{value:!0}),E}return(0,t.default)(S,[{key:w,get:function(){return r}}]),S}(n,Symbol.toStringTag))[r];return d["is".concat(r)]=function(b){return!(!b||!b[a])},d},R.exports.proto=function(n,i){var r=i.className,o=i.symbolName,a=i.withoutNew,d=Symbol.for(o),b=(0,p.default)({},r,function(){for(var w=arguments.length,g=new Array(w),A=0;A<w;A++)g[A]=arguments[A];if(a&&!(this instanceof b))return(0,v.default)(b,g);var T=n.call.apply(n,[this].concat(g))||this;return T&&!T[d]&&Object.defineProperty(T,d,{value:!0}),T})[r];return b.prototype=Object.create(n.prototype),b.prototype.constructor=b,Object.defineProperty(b.prototype,Symbol.toStringTag,{get:function(){return r}}),b["is".concat(r)]=function(w){return!(!w||!w[d])},b}},6834:(R,y,c)=>{var h=c(2753);y.cidV0ToV1Base32=function(v){var p=new h(v);return p.version===0&&(p=p.toV1()),p.toString("base32")}},4308:(R,y,c)=>{var h=c(9206),v=c(9512),p=v.hexStringToBuffer,l=v.profiles,t=c(6834).cidV0ToV1Base32;R.exports={helpers:{cidV0ToV1Base32:t},decode:function(s){var f=p(s),e=h.getCodec(f),u=h.rmPrefix(f),n=l[e];return n||(n=l.default),n.decode(u)},fromIpfs:function(s){return this.encode("ipfs-ns",s)},fromSwarm:function(s){return this.encode("swarm-ns",s)},encode:function(s,f){var e=l[s];e||(e=l.default);var u=e.encode(f);return h.addPrefix(s,u).toString("hex")},getCodec:function(s){var f=p(s);return h.getCodec(f)}}},9512:(R,y,c)=>{var h=c(9033).Buffer,v=c(2753),p=c(7748),l=function(e){var u,n=e.slice(0,2),i=e.slice(2);return u=n==="0x"?i:e,p.fromHexString(u)},t={swarm:function(e){var u=p.encode(l(e),"keccak-256");return new v(1,"swarm-manifest",u).buffer},ipfs:function(e){var u=p.fromB58String(e);return new v(1,"dag-pb",u).buffer},utf8:function(e){return h.from(e,"utf8")}},s={hexMultiHash:function(e){var u=new v(e);return p.decode(u.multihash).digest.toString("hex")},b58MultiHash:function(e){var u=new v(e);return p.toB58String(u.multihash)},utf8:function(e){return e.toString("utf8")}},f={"swarm-ns":{encode:t.swarm,decode:s.hexMultiHash},"ipfs-ns":{encode:t.ipfs,decode:s.b58MultiHash},"ipns-ns":{encode:t.ipfs,decode:s.b58MultiHash},default:{encode:t.utf8,decode:s.utf8}};y.hexStringToBuffer=l,y.profiles=f},4628:(R,y,c)=>{var h,v,p=c(8847)(c(3355));v=function(l){l.version="1.2.2";var t=function(){for(var E=0,k=new Array(256),I=0;I!=256;++I)E=1&(E=1&(E=1&(E=1&(E=1&(E=1&(E=1&(E=1&(E=I)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1)?-306674912^E>>>1:E>>>1,k[I]=E;return typeof Int32Array<"u"?new Int32Array(k):k}(),s=function(E){var k=0,I=0,N=0,D=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(N=0;N!=256;++N)D[N]=E[N];for(N=0;N!=256;++N)for(I=E[N],k=256+N;k<4096;k+=256)I=D[k]=I>>>8^E[255&I];var L=[];for(N=1;N!=16;++N)L[N-1]=typeof Int32Array<"u"?D.subarray(256*N,256*N+256):D.slice(256*N,256*N+256);return L}(t),f=s[0],e=s[1],u=s[2],n=s[3],i=s[4],r=s[5],o=s[6],a=s[7],d=s[8],b=s[9],w=s[10],g=s[11],A=s[12],T=s[13],S=s[14];l.table=t,l.bstr=function(E,k){for(var I=-1^k,N=0,D=E.length;N<D;)I=I>>>8^t[255&(I^E.charCodeAt(N++))];return~I},l.buf=function(E,k){for(var I=-1^k,N=E.length-15,D=0;D<N;)I=S[E[D++]^255&I]^T[E[D++]^I>>8&255]^A[E[D++]^I>>16&255]^g[E[D++]^I>>>24]^w[E[D++]]^b[E[D++]]^d[E[D++]]^a[E[D++]]^o[E[D++]]^r[E[D++]]^i[E[D++]]^n[E[D++]]^u[E[D++]]^e[E[D++]]^f[E[D++]]^t[E[D++]];for(N+=15;D<N;)I=I>>>8^t[255&(I^E[D++])];return~I},l.str=function(E,k){for(var I=-1^k,N=0,D=E.length,L=0,m=0;N<D;)(L=E.charCodeAt(N++))<128?I=I>>>8^t[255&(I^L)]:L<2048?I=(I=I>>>8^t[255&(I^(192|L>>6&31))])>>>8^t[255&(I^(128|63&L))]:L>=55296&&L<57344?(L=64+(1023&L),m=1023&E.charCodeAt(N++),I=(I=(I=(I=I>>>8^t[255&(I^(240|L>>8&7))])>>>8^t[255&(I^(128|L>>2&63))])>>>8^t[255&(I^(128|m>>6&15|(3&L)<<4))])>>>8^t[255&(I^(128|63&m))]):I=(I=(I=I>>>8^t[255&(I^(224|L>>12&15))])>>>8^t[255&(I^(128|L>>6&63))])>>>8^t[255&(I^(128|63&L))];return~I}},typeof DO_NOT_EXPORT_CRC>"u"?(0,p.default)(y)==="object"?v(y):(h=(function(){var l={};return v(l),l}).call(y,c,y,R),h===void 0||(R.exports=h)):v({})},5102:(R,y,c)=>{var h=c(9033).Buffer,v=c(6597),p=c(1734);R.exports=function(f){return new t(f)};var l={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function t(f){this.curveType=l[f],this.curveType||(this.curveType={name:f}),this.curve=new v.ec(this.curveType.name),this.keys=void 0}function s(f,e,u){Array.isArray(f)||(f=f.toArray());var n=new h(f);if(u&&n.length<u){var i=new h(u-n.length);i.fill(0),n=h.concat([i,n])}return e?n.toString(e):n}l.p224=l.secp224r1,l.p256=l.secp256r1=l.prime256v1,l.p192=l.secp192r1=l.prime192v1,l.p384=l.secp384r1,l.p521=l.secp521r1,t.prototype.generateKeys=function(f,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(f,e)},t.prototype.computeSecret=function(f,e,u){return e=e||"utf8",h.isBuffer(f)||(f=new h(f,e)),s(this.curve.keyFromPublic(f).getPublic().mul(this.keys.getPrivate()).getX(),u,this.curveType.byteLength)},t.prototype.getPublicKey=function(f,e){var u=this.keys.getPublic(e==="compressed",!0);return e==="hybrid"&&(u[u.length-1]%2?u[0]=7:u[0]=6),s(u,f)},t.prototype.getPrivateKey=function(f){return s(this.keys.getPrivate(),f)},t.prototype.setPublicKey=function(f,e){return e=e||"utf8",h.isBuffer(f)||(f=new h(f,e)),this.keys._importPublic(f),this},t.prototype.setPrivateKey=function(f,e){e=e||"utf8",h.isBuffer(f)||(f=new h(f,e));var u=new p(f);return u=u.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(u),this}},5866:(R,y,c)=>{var h=c(1736),v=c(807),p=c(6707),l=c(1708),t=c(3013);function s(f){t.call(this,"digest"),this._hash=f}h(s,t),s.prototype._update=function(f){this._hash.update(f)},s.prototype._final=function(){return this._hash.digest()},R.exports=function(f){return(f=f.toLowerCase())==="md5"?new v:f==="rmd160"||f==="ripemd160"?new p:new s(l(f))}},5349:(R,y,c)=>{var h=c(807);R.exports=function(v){return new h().update(v).digest()}},4424:(R,y,c)=>{var h=c(1736),v=c(9956),p=c(3013),l=c(8850).Buffer,t=c(5349),s=c(6707),f=c(1708),e=l.alloc(128);function u(n,i){p.call(this,"digest"),typeof i=="string"&&(i=l.from(i));var r=n==="sha512"||n==="sha384"?128:64;this._alg=n,this._key=i,i.length>r?i=(n==="rmd160"?new s:f(n)).update(i).digest():i.length<r&&(i=l.concat([i,e],r));for(var o=this._ipad=l.allocUnsafe(r),a=this._opad=l.allocUnsafe(r),d=0;d<r;d++)o[d]=54^i[d],a[d]=92^i[d];this._hash=n==="rmd160"?new s:f(n),this._hash.update(o)}h(u,p),u.prototype._update=function(n){this._hash.update(n)},u.prototype._final=function(){var n=this._hash.digest();return(this._alg==="rmd160"?new s:f(this._alg)).update(this._opad).update(n).digest()},R.exports=function(n,i){return(n=n.toLowerCase())==="rmd160"||n==="ripemd160"?new u("rmd160",i):n==="md5"?new v(t,i):new u(n,i)}},9956:(R,y,c)=>{var h=c(1736),v=c(8850).Buffer,p=c(3013),l=v.alloc(128),t=64;function s(f,e){p.call(this,"digest"),typeof e=="string"&&(e=v.from(e)),this._alg=f,this._key=e,e.length>t?e=f(e):e.length<t&&(e=v.concat([e,l],t));for(var u=this._ipad=v.allocUnsafe(t),n=this._opad=v.allocUnsafe(t),i=0;i<t;i++)u[i]=54^e[i],n[i]=92^e[i];this._hash=[u]}h(s,p),s.prototype._update=function(f){this._hash.push(f)},s.prototype._final=function(){var f=this._alg(v.concat(this._hash));return this._alg(v.concat([this._opad,f]))},R.exports=s},2439:()=>{(function(R){(function(y){var c="URLSearchParams"in R,h="Symbol"in R&&"iterator"in Symbol,v="FileReader"in R&&"Blob"in R&&function(){try{return new Blob,!0}catch{return!1}}(),p="FormData"in R,l="ArrayBuffer"in R;if(l)var t=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(E){return E&&t.indexOf(Object.prototype.toString.call(E))>-1};function f(E){if(typeof E!="string"&&(E=String(E)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(E))throw new TypeError("Invalid character in header field name");return E.toLowerCase()}function e(E){return typeof E!="string"&&(E=String(E)),E}function u(E){var k={next:function(){var I=E.shift();return{done:I===void 0,value:I}}};return h&&(k[Symbol.iterator]=function(){return k}),k}function n(E){this.map={},E instanceof n?E.forEach(function(k,I){this.append(I,k)},this):Array.isArray(E)?E.forEach(function(k){this.append(k[0],k[1])},this):E&&Object.getOwnPropertyNames(E).forEach(function(k){this.append(k,E[k])},this)}function i(E){if(E.bodyUsed)return Promise.reject(new TypeError("Already read"));E.bodyUsed=!0}function r(E){return new Promise(function(k,I){E.onload=function(){k(E.result)},E.onerror=function(){I(E.error)}})}function o(E){var k=new FileReader,I=r(k);return k.readAsArrayBuffer(E),I}function a(E){if(E.slice)return E.slice(0);var k=new Uint8Array(E.byteLength);return k.set(new Uint8Array(E)),k.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(E){var k;this._bodyInit=E,E?typeof E=="string"?this._bodyText=E:v&&Blob.prototype.isPrototypeOf(E)?this._bodyBlob=E:p&&FormData.prototype.isPrototypeOf(E)?this._bodyFormData=E:c&&URLSearchParams.prototype.isPrototypeOf(E)?this._bodyText=E.toString():l&&v&&(k=E)&&DataView.prototype.isPrototypeOf(k)?(this._bodyArrayBuffer=a(E.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(E)||s(E))?this._bodyArrayBuffer=a(E):this._bodyText=E=Object.prototype.toString.call(E):this._bodyText="",this.headers.get("content-type")||(typeof E=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):c&&URLSearchParams.prototype.isPrototypeOf(E)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v&&(this.blob=function(){var E=i(this);if(E)return E;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(o)}),this.text=function(){var E,k,I,N=i(this);if(N)return N;if(this._bodyBlob)return E=this._bodyBlob,I=r(k=new FileReader),k.readAsText(E),I;if(this._bodyArrayBuffer)return Promise.resolve(function(D){for(var L=new Uint8Array(D),m=new Array(L.length),P=0;P<L.length;P++)m[P]=String.fromCharCode(L[P]);return m.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},p&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}n.prototype.append=function(E,k){E=f(E),k=e(k);var I=this.map[E];this.map[E]=I?I+", "+k:k},n.prototype.delete=function(E){delete this.map[f(E)]},n.prototype.get=function(E){return E=f(E),this.has(E)?this.map[E]:null},n.prototype.has=function(E){return this.map.hasOwnProperty(f(E))},n.prototype.set=function(E,k){this.map[f(E)]=e(k)},n.prototype.forEach=function(E,k){for(var I in this.map)this.map.hasOwnProperty(I)&&E.call(k,this.map[I],I,this)},n.prototype.keys=function(){var E=[];return this.forEach(function(k,I){E.push(I)}),u(E)},n.prototype.values=function(){var E=[];return this.forEach(function(k){E.push(k)}),u(E)},n.prototype.entries=function(){var E=[];return this.forEach(function(k,I){E.push([I,k])}),u(E)},h&&(n.prototype[Symbol.iterator]=n.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(E,k){var I,N,D=(k=k||{}).body;if(E instanceof w){if(E.bodyUsed)throw new TypeError("Already read");this.url=E.url,this.credentials=E.credentials,k.headers||(this.headers=new n(E.headers)),this.method=E.method,this.mode=E.mode,this.signal=E.signal,D||E._bodyInit==null||(D=E._bodyInit,E.bodyUsed=!0)}else this.url=String(E);if(this.credentials=k.credentials||this.credentials||"same-origin",!k.headers&&this.headers||(this.headers=new n(k.headers)),this.method=(N=(I=k.method||this.method||"GET").toUpperCase(),b.indexOf(N)>-1?N:I),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(D)}function g(E){var k=new FormData;return E.trim().split("&").forEach(function(I){if(I){var N=I.split("="),D=N.shift().replace(/\+/g," "),L=N.join("=").replace(/\+/g," ");k.append(decodeURIComponent(D),decodeURIComponent(L))}}),k}function A(E,k){k||(k={}),this.type="default",this.status=k.status===void 0?200:k.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in k?k.statusText:"OK",this.headers=new n(k.headers),this.url=k.url||"",this._initBody(E)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},d.call(w.prototype),d.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new n(this.headers),url:this.url})},A.error=function(){var E=new A(null,{status:0,statusText:""});return E.type="error",E};var T=[301,302,303,307,308];A.redirect=function(E,k){if(T.indexOf(k)===-1)throw new RangeError("Invalid status code");return new A(null,{status:k,headers:{location:E}})},y.DOMException=R.DOMException;try{new y.DOMException}catch{y.DOMException=function(k,I){this.message=k,this.name=I;var N=Error(k);this.stack=N.stack},y.DOMException.prototype=Object.create(Error.prototype),y.DOMException.prototype.constructor=y.DOMException}function S(E,k){return new Promise(function(I,N){var D=new w(E,k);if(D.signal&&D.signal.aborted)return N(new y.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function m(){L.abort()}L.onload=function(){var P,C,B={status:L.status,statusText:L.statusText,headers:(P=L.getAllResponseHeaders()||"",C=new n,P.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(j){var K=j.split(":"),V=K.shift().trim();if(V){var J=K.join(":").trim();C.append(V,J)}}),C)};B.url="responseURL"in L?L.responseURL:B.headers.get("X-Request-URL");var x="response"in L?L.response:L.responseText;I(new A(x,B))},L.onerror=function(){N(new TypeError("Network request failed"))},L.ontimeout=function(){N(new TypeError("Network request failed"))},L.onabort=function(){N(new y.DOMException("Aborted","AbortError"))},L.open(D.method,D.url,!0),D.credentials==="include"?L.withCredentials=!0:D.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&v&&(L.responseType="blob"),D.headers.forEach(function(P,C){L.setRequestHeader(C,P)}),D.signal&&(D.signal.addEventListener("abort",m),L.onreadystatechange=function(){L.readyState===4&&D.signal.removeEventListener("abort",m)}),L.send(D._bodyInit===void 0?null:D._bodyInit)})}S.polyfill=!0,R.fetch||(R.fetch=S,R.Headers=n,R.Request=w,R.Response=A),y.Headers=n,y.Request=w,y.Response=A,y.fetch=S,Object.defineProperty(y,"__esModule",{value:!0})})({})})(typeof self<"u"?self:void 0)},4293:(R,y,c)=>{y.randomBytes=y.rng=y.pseudoRandomBytes=y.prng=c(5010),y.createHash=y.Hash=c(5866),y.createHmac=y.Hmac=c(4424);var h=c(6561),v=Object.keys(h),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(v);y.getHashes=function(){return p};var l=c(4192);y.pbkdf2=l.pbkdf2,y.pbkdf2Sync=l.pbkdf2Sync;var t=c(6805);y.Cipher=t.Cipher,y.createCipher=t.createCipher,y.Cipheriv=t.Cipheriv,y.createCipheriv=t.createCipheriv,y.Decipher=t.Decipher,y.createDecipher=t.createDecipher,y.Decipheriv=t.Decipheriv,y.createDecipheriv=t.createDecipheriv,y.getCiphers=t.getCiphers,y.listCiphers=t.listCiphers;var s=c(8333);y.DiffieHellmanGroup=s.DiffieHellmanGroup,y.createDiffieHellmanGroup=s.createDiffieHellmanGroup,y.getDiffieHellman=s.getDiffieHellman,y.createDiffieHellman=s.createDiffieHellman,y.DiffieHellman=s.DiffieHellman;var f=c(9527);y.createSign=f.createSign,y.Sign=f.Sign,y.createVerify=f.createVerify,y.Verify=f.Verify,y.createECDH=c(5102);var e=c(6991);y.publicEncrypt=e.publicEncrypt,y.privateEncrypt=e.privateEncrypt,y.publicDecrypt=e.publicDecrypt,y.privateDecrypt=e.privateDecrypt;var u=c(6509);y.randomFill=u.randomFill,y.randomFillSync=u.randomFillSync,y.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
16
+ `))},y.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},34:(R,y,c)=>{var h=c(8847)(c(3355)),v="%[a-f0-9]{2}",p=new RegExp("("+v+")|([^%]+?)","gi"),l=new RegExp("("+v+")+","gi");function t(f,e){try{return[decodeURIComponent(f.join(""))]}catch{}if(f.length===1)return f;e=e||1;var u=f.slice(0,e),n=f.slice(e);return Array.prototype.concat.call([],t(u),t(n))}function s(f){try{return decodeURIComponent(f)}catch{for(var e=f.match(p)||[],u=1;u<e.length;u++)e=(f=t(e,u).join("")).match(p)||[];return f}}R.exports=function(f){if(typeof f!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+(0,h.default)(f)+"`");try{return f=f.replace(/\+/g," "),decodeURIComponent(f)}catch{return function(u){for(var n={"%FE%FF":"��","%FF%FE":"��"},i=l.exec(u);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch{var r=s(i[0]);r!==i[0]&&(n[i[0]]=r)}i=l.exec(u)}n["%C2"]="�";for(var o=Object.keys(n),a=0;a<o.length;a++){var d=o[a];u=u.replace(new RegExp(d,"g"),n[d])}return u}(f)}}},5626:(R,y,c)=>{y.utils=c(319),y.Cipher=c(9591),y.DES=c(3049),y.CBC=c(4375),y.EDE=c(9413)},4375:(R,y,c)=>{var h=c(4504),v=c(1736),p={};function l(t){h.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var s=0;s<this.iv.length;s++)this.iv[s]=t[s]}y.instantiate=function(t){function s(n){t.call(this,n),this._cbcInit()}v(s,t);for(var f=Object.keys(p),e=0;e<f.length;e++){var u=f[e];s.prototype[u]=p[u]}return s.create=function(n){return new s(n)},s},p._cbcInit=function(){var t=new l(this.options.iv);this._cbcState=t},p._update=function(t,s,f,e){var u=this._cbcState,n=this.constructor.super_.prototype,i=u.iv;if(this.type==="encrypt"){for(var r=0;r<this.blockSize;r++)i[r]^=t[s+r];for(n._update.call(this,i,0,f,e),r=0;r<this.blockSize;r++)i[r]=f[e+r]}else{for(n._update.call(this,t,s,f,e),r=0;r<this.blockSize;r++)f[e+r]^=i[r];for(r=0;r<this.blockSize;r++)i[r]=t[s+r]}}},9591:(R,y,c)=>{var h=c(4504);function v(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}R.exports=v,v.prototype._init=function(){},v.prototype.update=function(p){return p.length===0?[]:this.type==="decrypt"?this._updateDecrypt(p):this._updateEncrypt(p)},v.prototype._buffer=function(p,l){for(var t=Math.min(this.buffer.length-this.bufferOff,p.length-l),s=0;s<t;s++)this.buffer[this.bufferOff+s]=p[l+s];return this.bufferOff+=t,t},v.prototype._flushBuffer=function(p,l){return this._update(this.buffer,0,p,l),this.bufferOff=0,this.blockSize},v.prototype._updateEncrypt=function(p){var l=0,t=0,s=(this.bufferOff+p.length)/this.blockSize|0,f=new Array(s*this.blockSize);this.bufferOff!==0&&(l+=this._buffer(p,l),this.bufferOff===this.buffer.length&&(t+=this._flushBuffer(f,t)));for(var e=p.length-(p.length-l)%this.blockSize;l<e;l+=this.blockSize)this._update(p,l,f,t),t+=this.blockSize;for(;l<p.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=p[l];return f},v.prototype._updateDecrypt=function(p){for(var l=0,t=0,s=Math.ceil((this.bufferOff+p.length)/this.blockSize)-1,f=new Array(s*this.blockSize);s>0;s--)l+=this._buffer(p,l),t+=this._flushBuffer(f,t);return l+=this._buffer(p,l),f},v.prototype.final=function(p){var l,t;return p&&(l=this.update(p)),t=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),l?l.concat(t):t},v.prototype._pad=function(p,l){if(l===0)return!1;for(;l<p.length;)p[l++]=0;return!0},v.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var p=new Array(this.blockSize);return this._update(this.buffer,0,p,0),p},v.prototype._unpad=function(p){return p},v.prototype._finalDecrypt=function(){h.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var p=new Array(this.blockSize);return this._flushBuffer(p,0),this._unpad(p)}},3049:(R,y,c)=>{var h=c(4504),v=c(1736),p=c(319),l=c(9591);function t(){this.tmp=new Array(2),this.keys=null}function s(e){l.call(this,e);var u=new t;this._desState=u,this.deriveKeys(u,e.key)}v(s,l),R.exports=s,s.create=function(e){return new s(e)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];s.prototype.deriveKeys=function(e,u){e.keys=new Array(32),h.equal(u.length,this.blockSize,"Invalid key length");var n=p.readUInt32BE(u,0),i=p.readUInt32BE(u,4);p.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var r=0;r<e.keys.length;r+=2){var o=f[r>>>1];n=p.r28shl(n,o),i=p.r28shl(i,o),p.pc2(n,i,e.keys,r)}},s.prototype._update=function(e,u,n,i){var r=this._desState,o=p.readUInt32BE(e,u),a=p.readUInt32BE(e,u+4);p.ip(o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],this.type==="encrypt"?this._encrypt(r,o,a,r.tmp,0):this._decrypt(r,o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],p.writeUInt32BE(n,o,i),p.writeUInt32BE(n,a,i+4)},s.prototype._pad=function(e,u){for(var n=e.length-u,i=u;i<e.length;i++)e[i]=n;return!0},s.prototype._unpad=function(e){for(var u=e[e.length-1],n=e.length-u;n<e.length;n++)h.equal(e[n],u);return e.slice(0,e.length-u)},s.prototype._encrypt=function(e,u,n,i,r){for(var o=u,a=n,d=0;d<e.keys.length;d+=2){var b=e.keys[d],w=e.keys[d+1];p.expand(a,e.tmp,0),b^=e.tmp[0],w^=e.tmp[1];var g=p.substitute(b,w),A=a;a=(o^p.permute(g))>>>0,o=A}p.rip(a,o,i,r)},s.prototype._decrypt=function(e,u,n,i,r){for(var o=n,a=u,d=e.keys.length-2;d>=0;d-=2){var b=e.keys[d],w=e.keys[d+1];p.expand(o,e.tmp,0),b^=e.tmp[0],w^=e.tmp[1];var g=p.substitute(b,w),A=o;o=(a^p.permute(g))>>>0,a=A}p.rip(o,a,i,r)}},9413:(R,y,c)=>{var h=c(4504),v=c(1736),p=c(9591),l=c(3049);function t(f,e){h.equal(e.length,24,"Invalid key length");var u=e.slice(0,8),n=e.slice(8,16),i=e.slice(16,24);this.ciphers=f==="encrypt"?[l.create({type:"encrypt",key:u}),l.create({type:"decrypt",key:n}),l.create({type:"encrypt",key:i})]:[l.create({type:"decrypt",key:i}),l.create({type:"encrypt",key:n}),l.create({type:"decrypt",key:u})]}function s(f){p.call(this,f);var e=new t(this.type,this.options.key);this._edeState=e}v(s,p),R.exports=s,s.create=function(f){return new s(f)},s.prototype._update=function(f,e,u,n){var i=this._edeState;i.ciphers[0]._update(f,e,u,n),i.ciphers[1]._update(u,n,u,n),i.ciphers[2]._update(u,n,u,n)},s.prototype._pad=l.prototype._pad,s.prototype._unpad=l.prototype._unpad},319:(R,y)=>{y.readUInt32BE=function(p,l){return(p[0+l]<<24|p[1+l]<<16|p[2+l]<<8|p[3+l])>>>0},y.writeUInt32BE=function(p,l,t){p[0+t]=l>>>24,p[1+t]=l>>>16&255,p[2+t]=l>>>8&255,p[3+t]=255&l},y.ip=function(p,l,t,s){for(var f=0,e=0,u=6;u>=0;u-=2){for(var n=0;n<=24;n+=8)f<<=1,f|=l>>>n+u&1;for(n=0;n<=24;n+=8)f<<=1,f|=p>>>n+u&1}for(u=6;u>=0;u-=2){for(n=1;n<=25;n+=8)e<<=1,e|=l>>>n+u&1;for(n=1;n<=25;n+=8)e<<=1,e|=p>>>n+u&1}t[s+0]=f>>>0,t[s+1]=e>>>0},y.rip=function(p,l,t,s){for(var f=0,e=0,u=0;u<4;u++)for(var n=24;n>=0;n-=8)f<<=1,f|=l>>>n+u&1,f<<=1,f|=p>>>n+u&1;for(u=4;u<8;u++)for(n=24;n>=0;n-=8)e<<=1,e|=l>>>n+u&1,e<<=1,e|=p>>>n+u&1;t[s+0]=f>>>0,t[s+1]=e>>>0},y.pc1=function(p,l,t,s){for(var f=0,e=0,u=7;u>=5;u--){for(var n=0;n<=24;n+=8)f<<=1,f|=l>>n+u&1;for(n=0;n<=24;n+=8)f<<=1,f|=p>>n+u&1}for(n=0;n<=24;n+=8)f<<=1,f|=l>>n+u&1;for(u=1;u<=3;u++){for(n=0;n<=24;n+=8)e<<=1,e|=l>>n+u&1;for(n=0;n<=24;n+=8)e<<=1,e|=p>>n+u&1}for(n=0;n<=24;n+=8)e<<=1,e|=p>>n+u&1;t[s+0]=f>>>0,t[s+1]=e>>>0},y.r28shl=function(p,l){return p<<l&268435455|p>>>28-l};var c=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];y.pc2=function(p,l,t,s){for(var f=0,e=0,u=c.length>>>1,n=0;n<u;n++)f<<=1,f|=p>>>c[n]&1;for(n=u;n<c.length;n++)e<<=1,e|=l>>>c[n]&1;t[s+0]=f>>>0,t[s+1]=e>>>0},y.expand=function(p,l,t){var s=0,f=0;s=(1&p)<<5|p>>>27;for(var e=23;e>=15;e-=4)s<<=6,s|=p>>>e&63;for(e=11;e>=3;e-=4)f|=p>>>e&63,f<<=6;f|=(31&p)<<1|p>>>31,l[t+0]=s>>>0,l[t+1]=f>>>0};var h=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];y.substitute=function(p,l){for(var t=0,s=0;s<4;s++)t<<=4,t|=h[64*s+(p>>>18-6*s&63)];for(s=0;s<4;s++)t<<=4,t|=h[256+64*s+(l>>>18-6*s&63)];return t>>>0};var v=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];y.permute=function(p){for(var l=0,t=0;t<v.length;t++)l<<=1,l|=p>>>v[t]&1;return l>>>0},y.padSplit=function(p,l,t){for(var s=p.toString(2);s.length<l;)s="0"+s;for(var f=[],e=0;e<l;e+=t)f.push(s.slice(e,e+t));return f.join(" ")}},8333:(R,y,c)=>{var h=c(9033).Buffer,v=c(8557),p=c(9799),l=c(1592),t={binary:!0,hex:!0,base64:!0};y.DiffieHellmanGroup=y.createDiffieHellmanGroup=y.getDiffieHellman=function(s){var f=new h(p[s].prime,"hex"),e=new h(p[s].gen,"hex");return new l(f,e)},y.createDiffieHellman=y.DiffieHellman=function s(f,e,u,n){return h.isBuffer(e)||t[e]===void 0?s(f,"binary",e,u):(e=e||"binary",n=n||"binary",u=u||new h([2]),h.isBuffer(u)||(u=new h(u,n)),typeof f=="number"?new l(v(f,u),u,!0):(h.isBuffer(f)||(f=new h(f,e)),new l(f,u,!0)))}},1592:(R,y,c)=>{var h=c(9033).Buffer,v=c(1734),p=new(c(137)),l=new v(24),t=new v(11),s=new v(10),f=new v(3),e=new v(7),u=c(8557),n=c(5010);function i(b,w){return w=w||"utf8",h.isBuffer(b)||(b=new h(b,w)),this._pub=new v(b),this}function r(b,w){return w=w||"utf8",h.isBuffer(b)||(b=new h(b,w)),this._priv=new v(b),this}R.exports=a;var o={};function a(b,w,g){this.setGenerator(w),this.__prime=new v(b),this._prime=v.mont(this.__prime),this._primeLen=b.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,g?(this.setPublicKey=i,this.setPrivateKey=r):this._primeCode=8}function d(b,w){var g=new h(b.toArray());return w?g.toString(w):g}Object.defineProperty(a.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=function(b,w){var g=w.toString("hex"),A=[g,b.toString(16)].join("_");if(A in o)return o[A];var T,S=0;if(b.isEven()||!u.simpleSieve||!u.fermatTest(b)||!p.test(b))return S+=1,S+=g==="02"||g==="05"?8:4,o[A]=S,S;switch(p.test(b.shrn(1))||(S+=2),g){case"02":b.mod(l).cmp(t)&&(S+=8);break;case"05":(T=b.mod(s)).cmp(f)&&T.cmp(e)&&(S+=8);break;default:S+=4}return o[A]=S,S}(this.__prime,this.__gen)),this._primeCode}}),a.prototype.generateKeys=function(){return this._priv||(this._priv=new v(n(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},a.prototype.computeSecret=function(b){var w=(b=(b=new v(b)).toRed(this._prime)).redPow(this._priv).fromRed(),g=new h(w.toArray()),A=this.getPrime();if(g.length<A.length){var T=new h(A.length-g.length);T.fill(0),g=h.concat([T,g])}return g},a.prototype.getPublicKey=function(b){return d(this._pub,b)},a.prototype.getPrivateKey=function(b){return d(this._priv,b)},a.prototype.getPrime=function(b){return d(this.__prime,b)},a.prototype.getGenerator=function(b){return d(this._gen,b)},a.prototype.setGenerator=function(b,w){return w=w||"utf8",h.isBuffer(b)||(b=new h(b,w)),this.__gen=b,this._gen=new v(b),this}},8557:(R,y,c)=>{var h=c(5010);R.exports=b,b.simpleSieve=a,b.fermatTest=d;var v=c(1734),p=new v(24),l=new(c(137)),t=new v(1),s=new v(2),f=new v(5),e=(new v(16),new v(8),new v(10)),u=new v(3),n=(new v(7),new v(11)),i=new v(4),r=(new v(12),null);function o(){if(r!==null)return r;var w=[];w[0]=2;for(var g=1,A=3;A<1048576;A+=2){for(var T=Math.ceil(Math.sqrt(A)),S=0;S<g&&w[S]<=T&&A%w[S]!=0;S++);g!==S&&w[S]<=T||(w[g++]=A)}return r=w,w}function a(w){for(var g=o(),A=0;A<g.length;A++)if(w.modn(g[A])===0)return w.cmpn(g[A])===0;return!0}function d(w){var g=v.mont(w);return s.toRed(g).redPow(w.subn(1)).fromRed().cmpn(1)===0}function b(w,g){if(w<16)return new v(g===2||g===5?[140,123]:[140,39]);var A,T;for(g=new v(g);;){for(A=new v(h(Math.ceil(w/8)));A.bitLength()>w;)A.ishrn(1);if(A.isEven()&&A.iadd(t),A.testn(1)||A.iadd(s),g.cmp(s)){if(!g.cmp(f))for(;A.mod(e).cmp(u);)A.iadd(i)}else for(;A.mod(p).cmp(n);)A.iadd(i);if(a(T=A.shrn(1))&&a(A)&&d(T)&&d(A)&&l.test(T)&&l.test(A))return A}}},6597:(R,y,c)=>{var h=y;h.version=c(8597).i8,h.utils=c(7528),h.rand=c(2202),h.curve=c(6063),h.curves=c(506),h.ec=c(8320),h.eddsa=c(8027)},1249:(R,y,c)=>{var h=c(1734),v=c(7528),p=v.getNAF,l=v.getJSF,t=v.assert;function s(e,u){this.type=e,this.p=new h(u.p,16),this.red=u.prime?h.red(u.prime):h.mont(this.p),this.zero=new h(0).toRed(this.red),this.one=new h(1).toRed(this.red),this.two=new h(2).toRed(this.red),this.n=u.n&&new h(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(e,u){this.curve=e,this.type=u,this.precomputed=null}R.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,u){t(e.precomputed);var n=e._getDoubles(),i=p(u,1,this._bitLength),r=(1<<n.step+1)-(n.step%2==0?2:1);r/=3;var o,a,d=[];for(o=0;o<i.length;o+=n.step){a=0;for(var b=o+n.step-1;b>=o;b--)a=(a<<1)+i[b];d.push(a)}for(var w=this.jpoint(null,null,null),g=this.jpoint(null,null,null),A=r;A>0;A--){for(o=0;o<d.length;o++)(a=d[o])===A?g=g.mixedAdd(n.points[o]):a===-A&&(g=g.mixedAdd(n.points[o].neg()));w=w.add(g)}return w.toP()},s.prototype._wnafMul=function(e,u){var n=4,i=e._getNAFPoints(n);n=i.wnd;for(var r=i.points,o=p(u,n,this._bitLength),a=this.jpoint(null,null,null),d=o.length-1;d>=0;d--){for(var b=0;d>=0&&o[d]===0;d--)b++;if(d>=0&&b++,a=a.dblp(b),d<0)break;var w=o[d];t(w!==0),a=e.type==="affine"?w>0?a.mixedAdd(r[w-1>>1]):a.mixedAdd(r[-w-1>>1].neg()):w>0?a.add(r[w-1>>1]):a.add(r[-w-1>>1].neg())}return e.type==="affine"?a.toP():a},s.prototype._wnafMulAdd=function(e,u,n,i,r){var o,a,d,b=this._wnafT1,w=this._wnafT2,g=this._wnafT3,A=0;for(o=0;o<i;o++){var T=(d=u[o])._getNAFPoints(e);b[o]=T.wnd,w[o]=T.points}for(o=i-1;o>=1;o-=2){var S=o-1,E=o;if(b[S]===1&&b[E]===1){var k=[u[S],null,null,u[E]];u[S].y.cmp(u[E].y)===0?(k[1]=u[S].add(u[E]),k[2]=u[S].toJ().mixedAdd(u[E].neg())):u[S].y.cmp(u[E].y.redNeg())===0?(k[1]=u[S].toJ().mixedAdd(u[E]),k[2]=u[S].add(u[E].neg())):(k[1]=u[S].toJ().mixedAdd(u[E]),k[2]=u[S].toJ().mixedAdd(u[E].neg()));var I=[-3,-1,-5,-7,0,7,5,1,3],N=l(n[S],n[E]);for(A=Math.max(N[0].length,A),g[S]=new Array(A),g[E]=new Array(A),a=0;a<A;a++){var D=0|N[0][a],L=0|N[1][a];g[S][a]=I[3*(D+1)+(L+1)],g[E][a]=0,w[S]=k}}else g[S]=p(n[S],b[S],this._bitLength),g[E]=p(n[E],b[E],this._bitLength),A=Math.max(g[S].length,A),A=Math.max(g[E].length,A)}var m=this.jpoint(null,null,null),P=this._wnafT4;for(o=A;o>=0;o--){for(var C=0;o>=0;){var B=!0;for(a=0;a<i;a++)P[a]=0|g[a][o],P[a]!==0&&(B=!1);if(!B)break;C++,o--}if(o>=0&&C++,m=m.dblp(C),o<0)break;for(a=0;a<i;a++){var x=P[a];x!==0&&(x>0?d=w[a][x-1>>1]:x<0&&(d=w[a][-x-1>>1].neg()),m=d.type==="affine"?m.mixedAdd(d):m.add(d))}}for(o=0;o<i;o++)w[o]=null;return r?m:m.toP()},s.BasePoint=f,f.prototype.eq=function(){throw new Error("Not implemented")},f.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,u){e=v.toArray(e,u);var n=this.p.byteLength();if((e[0]===4||e[0]===6||e[0]===7)&&e.length-1==2*n)return e[0]===6?t(e[e.length-1]%2==0):e[0]===7&&t(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((e[0]===2||e[0]===3)&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),e[0]===3);throw new Error("Unknown point format")},f.prototype.encodeCompressed=function(e){return this.encode(e,!0)},f.prototype._encode=function(e){var u=this.curve.p.byteLength(),n=this.getX().toArray("be",u);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",u))},f.prototype.encode=function(e,u){return v.encode(this._encode(u),e)},f.prototype.precompute=function(e){if(this.precomputed)return this;var u={doubles:null,naf:null,beta:null};return u.naf=this._getNAFPoints(8),u.doubles=this._getDoubles(4,e),u.beta=this._getBeta(),this.precomputed=u,this},f.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var u=this.precomputed.doubles;return!!u&&u.points.length>=Math.ceil((e.bitLength()+1)/u.step)},f.prototype._getDoubles=function(e,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,r=0;r<u;r+=e){for(var o=0;o<e;o++)i=i.dbl();n.push(i)}return{step:e,points:n}},f.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var u=[this],n=(1<<e)-1,i=n===1?null:this.dbl(),r=1;r<n;r++)u[r]=u[r-1].add(i);return{wnd:e,points:u}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(e){for(var u=this,n=0;n<e;n++)u=u.dbl();return u}},1123:(R,y,c)=>{var h=c(7528),v=c(1734),p=c(1736),l=c(1249),t=h.assert;function s(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,l.call(this,"edwards",e),this.a=new v(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new v(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new v(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|e.c)==1}function f(e,u,n,i,r){l.BasePoint.call(this,e,"projective"),u===null&&n===null&&i===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new v(u,16),this.y=new v(n,16),this.z=i?new v(i,16):this.curve.one,this.t=r&&new v(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}p(s,l),R.exports=s,s.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},s.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},s.prototype.jpoint=function(e,u,n,i){return this.point(e,u,n,i)},s.prototype.pointFromX=function(e,u){(e=new v(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=this.c2.redSub(this.a.redMul(n)),r=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(r.redInvm()),a=o.redSqrt();if(a.redSqr().redSub(o).cmp(this.zero)!==0)throw new Error("invalid point");var d=a.fromRed().isOdd();return(u&&!d||!u&&d)&&(a=a.redNeg()),this.point(e,a)},s.prototype.pointFromY=function(e,u){(e=new v(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=n.redSub(this.c2),r=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(r.redInvm());if(o.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(a.redSqr().redSub(o).cmp(this.zero)!==0)throw new Error("invalid point");return a.fromRed().isOdd()!==u&&(a=a.redNeg()),this.point(a,e)},s.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var u=e.x.redSqr(),n=e.y.redSqr(),i=u.redMul(this.a).redAdd(n),r=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(n)));return i.cmp(r)===0},p(f,l.BasePoint),s.prototype.pointFromJSON=function(e){return f.fromJSON(this,e)},s.prototype.point=function(e,u,n,i){return new f(this,e,u,n,i)},f.fromJSON=function(e,u){return new f(e,u[0],u[1],u[2])},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},f.prototype._extDbl=function(){var e=this.x.redSqr(),u=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(u),o=i.redAdd(u),a=o.redSub(n),d=i.redSub(u),b=r.redMul(a),w=o.redMul(d),g=r.redMul(d),A=a.redMul(o);return this.curve.point(b,w,A,g)},f.prototype._projDbl=function(){var e,u,n,i,r,o,a=this.x.redAdd(this.y).redSqr(),d=this.x.redSqr(),b=this.y.redSqr();if(this.curve.twisted){var w=(i=this.curve._mulA(d)).redAdd(b);this.zOne?(e=a.redSub(d).redSub(b).redMul(w.redSub(this.curve.two)),u=w.redMul(i.redSub(b)),n=w.redSqr().redSub(w).redSub(w)):(r=this.z.redSqr(),o=w.redSub(r).redISub(r),e=a.redSub(d).redISub(b).redMul(o),u=w.redMul(i.redSub(b)),n=w.redMul(o))}else i=d.redAdd(b),r=this.curve._mulC(this.z).redSqr(),o=i.redSub(r).redSub(r),e=this.curve._mulC(a.redISub(i)).redMul(o),u=this.curve._mulC(i).redMul(d.redISub(b)),n=i.redMul(o);return this.curve.point(e,u,n)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(e){var u=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(u),a=r.redSub(i),d=r.redAdd(i),b=n.redAdd(u),w=o.redMul(a),g=d.redMul(b),A=o.redMul(b),T=a.redMul(d);return this.curve.point(w,g,T,A)},f.prototype._projAdd=function(e){var u,n,i=this.z.redMul(e.z),r=i.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),d=this.curve.d.redMul(o).redMul(a),b=r.redSub(d),w=r.redAdd(d),g=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),A=i.redMul(b).redMul(g);return this.curve.twisted?(u=i.redMul(w).redMul(a.redSub(this.curve._mulA(o))),n=b.redMul(w)):(u=i.redMul(w).redMul(a.redSub(o)),n=this.curve._mulC(b).redMul(w)),this.curve.point(A,u,n)},f.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},f.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},f.prototype.mulAdd=function(e,u,n){return this.curve._wnafMulAdd(1,[this,u],[e,n],2,!1)},f.prototype.jmulAdd=function(e,u,n){return this.curve._wnafMulAdd(1,[this,u],[e,n],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0},f.prototype.eqXToP=function(e){var u=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var n=e.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(i),this.x.cmp(u)===0)return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},6063:(R,y,c)=>{var h=y;h.base=c(1249),h.short=c(3148),h.mont=c(1105),h.edwards=c(1123)},1105:(R,y,c)=>{var h=c(1734),v=c(1736),p=c(1249),l=c(7528);function t(f){p.call(this,"mont",f),this.a=new h(f.a,16).toRed(this.red),this.b=new h(f.b,16).toRed(this.red),this.i4=new h(4).toRed(this.red).redInvm(),this.two=new h(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(f,e,u){p.BasePoint.call(this,f,"projective"),e===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new h(e,16),this.z=new h(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}v(t,p),R.exports=t,t.prototype.validate=function(f){var e=f.normalize().x,u=e.redSqr(),n=u.redMul(e).redAdd(u.redMul(this.a)).redAdd(e);return n.redSqrt().redSqr().cmp(n)===0},v(s,p.BasePoint),t.prototype.decodePoint=function(f,e){return this.point(l.toArray(f,e),1)},t.prototype.point=function(f,e){return new s(this,f,e)},t.prototype.pointFromJSON=function(f){return s.fromJSON(this,f)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(f,e){return new s(f,e[0],e[1]||f.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return this.z.cmpn(0)===0},s.prototype.dbl=function(){var f=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),u=f.redSub(e),n=f.redMul(e),i=u.redMul(e.redAdd(this.curve.a24.redMul(u)));return this.curve.point(n,i)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(f,e){var u=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=f.x.redAdd(f.z),r=f.x.redSub(f.z).redMul(u),o=i.redMul(n),a=e.z.redMul(r.redAdd(o).redSqr()),d=e.x.redMul(r.redISub(o).redSqr());return this.curve.point(a,d)},s.prototype.mul=function(f){for(var e=f.clone(),u=this,n=this.curve.point(null,null),i=[];e.cmpn(0)!==0;e.iushrn(1))i.push(e.andln(1));for(var r=i.length-1;r>=0;r--)i[r]===0?(u=u.diffAdd(n,this),n=n.dbl()):(n=u.diffAdd(n,this),u=u.dbl());return n},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(f){return this.getX().cmp(f.getX())===0},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},3148:(R,y,c)=>{var h=c(7528),v=c(1734),p=c(1736),l=c(1249),t=h.assert;function s(u){l.call(this,"short",u),this.a=new v(u.a,16).toRed(this.red),this.b=new v(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(u,n,i,r){l.BasePoint.call(this,u,"affine"),n===null&&i===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new v(n,16),this.y=new v(i,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function e(u,n,i,r){l.BasePoint.call(this,u,"jacobian"),n===null&&i===null&&r===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new v(0)):(this.x=new v(n,16),this.y=new v(i,16),this.z=new v(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}p(s,l),R.exports=s,s.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var n,i;if(u.beta)n=new v(u.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=(n=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(u.lambda)i=new v(u.lambda,16);else{var o=this._getEndoRoots(this.n);this.g.mul(o[0]).x.cmp(this.g.x.redMul(n))===0?i=o[0]:(i=o[1],t(this.g.mul(i).x.cmp(this.g.x.redMul(n))===0))}return{beta:n,lambda:i,basis:u.basis?u.basis.map(function(a){return{a:new v(a.a,16),b:new v(a.b,16)}}):this._getEndoBasis(i)}}},s.prototype._getEndoRoots=function(u){var n=u===this.p?this.red:v.mont(u),i=new v(2).toRed(n).redInvm(),r=i.redNeg(),o=new v(3).toRed(n).redNeg().redSqrt().redMul(i);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},s.prototype._getEndoBasis=function(u){for(var n,i,r,o,a,d,b,w,g,A=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=u,S=this.n.clone(),E=new v(1),k=new v(0),I=new v(0),N=new v(1),D=0;T.cmpn(0)!==0;){var L=S.div(T);w=S.sub(L.mul(T)),g=I.sub(L.mul(E));var m=N.sub(L.mul(k));if(!r&&w.cmp(A)<0)n=b.neg(),i=E,r=w.neg(),o=g;else if(r&&++D==2)break;b=w,S=T,T=w,I=E,E=g,N=k,k=m}a=w.neg(),d=g;var P=r.sqr().add(o.sqr());return a.sqr().add(d.sqr()).cmp(P)>=0&&(a=n,d=i),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),d=d.neg()),[{a:r,b:o},{a,b:d}]},s.prototype._endoSplit=function(u){var n=this.endo.basis,i=n[0],r=n[1],o=r.b.mul(u).divRound(this.n),a=i.b.neg().mul(u).divRound(this.n),d=o.mul(i.a),b=a.mul(r.a),w=o.mul(i.b),g=a.mul(r.b);return{k1:u.sub(d).sub(b),k2:w.add(g).neg()}},s.prototype.pointFromX=function(u,n){(u=new v(u,16)).red||(u=u.toRed(this.red));var i=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),r=i.redSqrt();if(r.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=r.fromRed().isOdd();return(n&&!o||!n&&o)&&(r=r.redNeg()),this.point(u,r)},s.prototype.validate=function(u){if(u.inf)return!0;var n=u.x,i=u.y,r=this.a.redMul(n),o=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return i.redSqr().redISub(o).cmpn(0)===0},s.prototype._endoWnafMulAdd=function(u,n,i){for(var r=this._endoWnafT1,o=this._endoWnafT2,a=0;a<u.length;a++){var d=this._endoSplit(n[a]),b=u[a],w=b._getBeta();d.k1.negative&&(d.k1.ineg(),b=b.neg(!0)),d.k2.negative&&(d.k2.ineg(),w=w.neg(!0)),r[2*a]=b,r[2*a+1]=w,o[2*a]=d.k1,o[2*a+1]=d.k2}for(var g=this._wnafMulAdd(1,r,o,2*a,i),A=0;A<2*a;A++)r[A]=null,o[A]=null;return g},p(f,l.BasePoint),s.prototype.point=function(u,n,i){return new f(this,u,n,i)},s.prototype.pointFromJSON=function(u,n){return f.fromJSON(this,u,n)},f.prototype._getBeta=function(){if(this.curve.endo){var u=this.precomputed;if(u&&u.beta)return u.beta;var n=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(u){var i=this.curve,r=function(o){return i.point(o.x.redMul(i.endo.beta),o.y)};u.beta=n,n.precomputed={beta:null,naf:u.naf&&{wnd:u.naf.wnd,points:u.naf.points.map(r)},doubles:u.doubles&&{step:u.doubles.step,points:u.doubles.points.map(r)}}}return n}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(u,n,i){typeof n=="string"&&(n=JSON.parse(n));var r=u.point(n[0],n[1],i);if(!n[2])return r;function o(d){return u.point(d[0],d[1],i)}var a=n[2];return r.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[r].concat(a.doubles.points.map(o))},naf:a.naf&&{wnd:a.naf.wnd,points:[r].concat(a.naf.points.map(o))}},r},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var n=this.y.redSub(u.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(u.x).redInvm()));var i=n.redSqr().redISub(this.x).redISub(u.x),r=n.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,r)},f.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,i=this.x.redSqr(),r=u.redInvm(),o=i.redAdd(i).redIAdd(i).redIAdd(n).redMul(r),a=o.redSqr().redISub(this.x.redAdd(this.x)),d=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,d)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(u){return u=new v(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},f.prototype.mulAdd=function(u,n,i){var r=[this,n],o=[u,i];return this.curve.endo?this.curve._endoWnafMulAdd(r,o):this.curve._wnafMulAdd(1,r,o,2)},f.prototype.jmulAdd=function(u,n,i){var r=[this,n],o=[u,i];return this.curve.endo?this.curve._endoWnafMulAdd(r,o,!0):this.curve._wnafMulAdd(1,r,o,2,!0)},f.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},f.prototype.neg=function(u){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var i=this.precomputed,r=function(o){return o.neg()};n.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(r)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(r)}}}return n},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(e,l.BasePoint),s.prototype.jpoint=function(u,n,i){return new e(this,u,n,i)},e.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),n=u.redSqr(),i=this.x.redMul(n),r=this.y.redMul(n).redMul(u);return this.curve.point(i,r)},e.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},e.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var n=u.z.redSqr(),i=this.z.redSqr(),r=this.x.redMul(n),o=u.x.redMul(i),a=this.y.redMul(n.redMul(u.z)),d=u.y.redMul(i.redMul(this.z)),b=r.redSub(o),w=a.redSub(d);if(b.cmpn(0)===0)return w.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=b.redSqr(),A=g.redMul(b),T=r.redMul(g),S=w.redSqr().redIAdd(A).redISub(T).redISub(T),E=w.redMul(T.redISub(S)).redISub(a.redMul(A)),k=this.z.redMul(u.z).redMul(b);return this.curve.jpoint(S,E,k)},e.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var n=this.z.redSqr(),i=this.x,r=u.x.redMul(n),o=this.y,a=u.y.redMul(n).redMul(this.z),d=i.redSub(r),b=o.redSub(a);if(d.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var w=d.redSqr(),g=w.redMul(d),A=i.redMul(w),T=b.redSqr().redIAdd(g).redISub(A).redISub(A),S=b.redMul(A.redISub(T)).redISub(o.redMul(g)),E=this.z.redMul(d);return this.curve.jpoint(T,S,E)},e.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var i=this;for(n=0;n<u;n++)i=i.dbl();return i}var r=this.curve.a,o=this.curve.tinv,a=this.x,d=this.y,b=this.z,w=b.redSqr().redSqr(),g=d.redAdd(d);for(n=0;n<u;n++){var A=a.redSqr(),T=g.redSqr(),S=T.redSqr(),E=A.redAdd(A).redIAdd(A).redIAdd(r.redMul(w)),k=a.redMul(T),I=E.redSqr().redISub(k.redAdd(k)),N=k.redISub(I),D=E.redMul(N);D=D.redIAdd(D).redISub(S);var L=g.redMul(b);n+1<u&&(w=w.redMul(S)),a=I,b=L,g=D}return this.curve.jpoint(a,g.redMul(o),b)},e.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},e.prototype._zeroDbl=function(){var u,n,i;if(this.zOne){var r=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),d=this.x.redAdd(o).redSqr().redISub(r).redISub(a);d=d.redIAdd(d);var b=r.redAdd(r).redIAdd(r),w=b.redSqr().redISub(d).redISub(d),g=a.redIAdd(a);g=(g=g.redIAdd(g)).redIAdd(g),u=w,n=b.redMul(d.redISub(w)).redISub(g),i=this.y.redAdd(this.y)}else{var A=this.x.redSqr(),T=this.y.redSqr(),S=T.redSqr(),E=this.x.redAdd(T).redSqr().redISub(A).redISub(S);E=E.redIAdd(E);var k=A.redAdd(A).redIAdd(A),I=k.redSqr(),N=S.redIAdd(S);N=(N=N.redIAdd(N)).redIAdd(N),u=I.redISub(E).redISub(E),n=k.redMul(E.redISub(u)).redISub(N),i=(i=this.y.redMul(this.z)).redIAdd(i)}return this.curve.jpoint(u,n,i)},e.prototype._threeDbl=function(){var u,n,i;if(this.zOne){var r=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),d=this.x.redAdd(o).redSqr().redISub(r).redISub(a);d=d.redIAdd(d);var b=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),w=b.redSqr().redISub(d).redISub(d);u=w;var g=a.redIAdd(a);g=(g=g.redIAdd(g)).redIAdd(g),n=b.redMul(d.redISub(w)).redISub(g),i=this.y.redAdd(this.y)}else{var A=this.z.redSqr(),T=this.y.redSqr(),S=this.x.redMul(T),E=this.x.redSub(A).redMul(this.x.redAdd(A));E=E.redAdd(E).redIAdd(E);var k=S.redIAdd(S),I=(k=k.redIAdd(k)).redAdd(k);u=E.redSqr().redISub(I),i=this.y.redAdd(this.z).redSqr().redISub(T).redISub(A);var N=T.redSqr();N=(N=(N=N.redIAdd(N)).redIAdd(N)).redIAdd(N),n=E.redMul(k.redISub(u)).redISub(N)}return this.curve.jpoint(u,n,i)},e.prototype._dbl=function(){var u=this.curve.a,n=this.x,i=this.y,r=this.z,o=r.redSqr().redSqr(),a=n.redSqr(),d=i.redSqr(),b=a.redAdd(a).redIAdd(a).redIAdd(u.redMul(o)),w=n.redAdd(n),g=(w=w.redIAdd(w)).redMul(d),A=b.redSqr().redISub(g.redAdd(g)),T=g.redISub(A),S=d.redSqr();S=(S=(S=S.redIAdd(S)).redIAdd(S)).redIAdd(S);var E=b.redMul(T).redISub(S),k=i.redAdd(i).redMul(r);return this.curve.jpoint(A,E,k)},e.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var u=this.x.redSqr(),n=this.y.redSqr(),i=this.z.redSqr(),r=n.redSqr(),o=u.redAdd(u).redIAdd(u),a=o.redSqr(),d=this.x.redAdd(n).redSqr().redISub(u).redISub(r),b=(d=(d=(d=d.redIAdd(d)).redAdd(d).redIAdd(d)).redISub(a)).redSqr(),w=r.redIAdd(r);w=(w=(w=w.redIAdd(w)).redIAdd(w)).redIAdd(w);var g=o.redIAdd(d).redSqr().redISub(a).redISub(b).redISub(w),A=n.redMul(g);A=(A=A.redIAdd(A)).redIAdd(A);var T=this.x.redMul(b).redISub(A);T=(T=T.redIAdd(T)).redIAdd(T);var S=this.y.redMul(g.redMul(w.redISub(g)).redISub(d.redMul(b)));S=(S=(S=S.redIAdd(S)).redIAdd(S)).redIAdd(S);var E=this.z.redAdd(d).redSqr().redISub(i).redISub(b);return this.curve.jpoint(T,S,E)},e.prototype.mul=function(u,n){return u=new v(u,n),this.curve._wnafMul(this,u)},e.prototype.eq=function(u){if(u.type==="affine")return this.eq(u.toJ());if(this===u)return!0;var n=this.z.redSqr(),i=u.z.redSqr();if(this.x.redMul(i).redISub(u.x.redMul(n)).cmpn(0)!==0)return!1;var r=n.redMul(this.z),o=i.redMul(u.z);return this.y.redMul(o).redISub(u.y.redMul(r)).cmpn(0)===0},e.prototype.eqXToP=function(u){var n=this.z.redSqr(),i=u.toRed(this.curve.red).redMul(n);if(this.x.cmp(i)===0)return!0;for(var r=u.clone(),o=this.curve.redN.redMul(n);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(i.redIAdd(o),this.x.cmp(i)===0)return!0}},e.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},e.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},506:(R,y,c)=>{var h,v=y,p=c(7198),l=c(6063),t=c(7528).assert;function s(e){e.type==="short"?this.curve=new l.short(e):e.type==="edwards"?this.curve=new l.edwards(e):this.curve=new l.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(e,u){Object.defineProperty(v,e,{configurable:!0,enumerable:!0,get:function(){var n=new s(u);return Object.defineProperty(v,e,{configurable:!0,enumerable:!0,value:n}),n}})}v.PresetCurve=s,f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:p.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:p.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:p.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:p.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:p.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:p.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{h=c(6401)}catch{h=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:p.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",h]})},8320:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1734),p=c(9410),l=c(7528),t=c(506),s=c(2202),f=l.assert,e=c(7791),u=c(488);function n(i){if(!(this instanceof n))return new n(i);typeof i=="string"&&(f(Object.prototype.hasOwnProperty.call(t,i),"Unknown curve "+i),i=t[i]),i instanceof t.PresetCurve&&(i={curve:i}),this.curve=i.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=i.curve.g,this.g.precompute(i.curve.n.bitLength()+1),this.hash=i.hash||i.curve.hash}R.exports=n,n.prototype.keyPair=function(i){return new e(this,i)},n.prototype.keyFromPrivate=function(i,r){return e.fromPrivate(this,i,r)},n.prototype.keyFromPublic=function(i,r){return e.fromPublic(this,i,r)},n.prototype.genKeyPair=function(i){i||(i={});for(var r=new p({hash:this.hash,pers:i.pers,persEnc:i.persEnc||"utf8",entropy:i.entropy||s(this.hash.hmacStrength),entropyEnc:i.entropy&&i.entropyEnc||"utf8",nonce:this.n.toArray()}),o=this.n.byteLength(),a=this.n.sub(new v(2));;){var d=new v(r.generate(o));if(!(d.cmp(a)>0))return d.iaddn(1),this.keyFromPrivate(d)}},n.prototype._truncateToN=function(i,r){var o=8*i.byteLength()-this.n.bitLength();return o>0&&(i=i.ushrn(o)),!r&&i.cmp(this.n)>=0?i.sub(this.n):i},n.prototype.sign=function(i,r,o,a){(0,h.default)(o)==="object"&&(a=o,o=null),a||(a={}),r=this.keyFromPrivate(r,o),i=this._truncateToN(new v(i,16));for(var d=this.n.byteLength(),b=r.getPrivate().toArray("be",d),w=i.toArray("be",d),g=new p({hash:this.hash,entropy:b,nonce:w,pers:a.pers,persEnc:a.persEnc||"utf8"}),A=this.n.sub(new v(1)),T=0;;T++){var S=a.k?a.k(T):new v(g.generate(this.n.byteLength()));if(!((S=this._truncateToN(S,!0)).cmpn(1)<=0||S.cmp(A)>=0)){var E=this.g.mul(S);if(!E.isInfinity()){var k=E.getX(),I=k.umod(this.n);if(I.cmpn(0)!==0){var N=S.invm(this.n).mul(I.mul(r.getPrivate()).iadd(i));if((N=N.umod(this.n)).cmpn(0)!==0){var D=(E.getY().isOdd()?1:0)|(k.cmp(I)!==0?2:0);return a.canonical&&N.cmp(this.nh)>0&&(N=this.n.sub(N),D^=1),new u({r:I,s:N,recoveryParam:D})}}}}}},n.prototype.verify=function(i,r,o,a){i=this._truncateToN(new v(i,16)),o=this.keyFromPublic(o,a);var d=(r=new u(r,"hex")).r,b=r.s;if(d.cmpn(1)<0||d.cmp(this.n)>=0||b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var w,g=b.invm(this.n),A=g.mul(i).umod(this.n),T=g.mul(d).umod(this.n);return this.curve._maxwellTrick?!(w=this.g.jmulAdd(A,o.getPublic(),T)).isInfinity()&&w.eqXToP(d):!(w=this.g.mulAdd(A,o.getPublic(),T)).isInfinity()&&w.getX().umod(this.n).cmp(d)===0},n.prototype.recoverPubKey=function(i,r,o,a){f((3&o)===o,"The recovery param is more than two bits"),r=new u(r,a);var d=this.n,b=new v(i),w=r.r,g=r.s,A=1&o,T=o>>1;if(w.cmp(this.curve.p.umod(this.curve.n))>=0&&T)throw new Error("Unable to find sencond key candinate");w=T?this.curve.pointFromX(w.add(this.curve.n),A):this.curve.pointFromX(w,A);var S=r.r.invm(d),E=d.sub(b).mul(S).umod(d),k=g.mul(S).umod(d);return this.g.mulAdd(E,w,k)},n.prototype.getKeyRecoveryParam=function(i,r,o,a){if((r=new u(r,a)).recoveryParam!==null)return r.recoveryParam;for(var d=0;d<4;d++){var b;try{b=this.recoverPubKey(i,r,d)}catch{continue}if(b.eq(o))return d}throw new Error("Unable to find valid recovery factor")}},7791:(R,y,c)=>{var h=c(1734),v=c(7528).assert;function p(l,t){this.ec=l,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}R.exports=p,p.fromPublic=function(l,t,s){return t instanceof p?t:new p(l,{pub:t,pubEnc:s})},p.fromPrivate=function(l,t,s){return t instanceof p?t:new p(l,{priv:t,privEnc:s})},p.prototype.validate=function(){var l=this.getPublic();return l.isInfinity()?{result:!1,reason:"Invalid public key"}:l.validate()?l.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},p.prototype.getPublic=function(l,t){return typeof l=="string"&&(t=l,l=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,l):this.pub},p.prototype.getPrivate=function(l){return l==="hex"?this.priv.toString(16,2):this.priv},p.prototype._importPrivate=function(l,t){this.priv=new h(l,t||16),this.priv=this.priv.umod(this.ec.curve.n)},p.prototype._importPublic=function(l,t){if(l.x||l.y)return this.ec.curve.type==="mont"?v(l.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||v(l.x&&l.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(l.x,l.y));this.pub=this.ec.curve.decodePoint(l,t)},p.prototype.derive=function(l){return l.validate()||v(l.validate(),"public point not validated"),l.mul(this.priv).getX()},p.prototype.sign=function(l,t,s){return this.ec.sign(l,this,t,s)},p.prototype.verify=function(l,t){return this.ec.verify(l,t,this)},p.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},488:(R,y,c)=>{var h=c(1734),v=c(7528),p=v.assert;function l(u,n){if(u instanceof l)return u;this._importDER(u,n)||(p(u.r&&u.s,"Signature without r or s"),this.r=new h(u.r,16),this.s=new h(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function s(u,n){var i=u[n.place++];if(!(128&i))return i;var r=15&i;if(r===0||r>4)return!1;for(var o=0,a=0,d=n.place;a<r;a++,d++)o<<=8,o|=u[d],o>>>=0;return!(o<=127)&&(n.place=d,o)}function f(u){for(var n=0,i=u.length-1;!u[n]&&!(128&u[n+1])&&n<i;)n++;return n===0?u:u.slice(n)}function e(u,n){if(n<128)u.push(n);else{var i=1+(Math.log(n)/Math.LN2>>>3);for(u.push(128|i);--i;)u.push(n>>>(i<<3)&255);u.push(n)}}R.exports=l,l.prototype._importDER=function(u,n){u=v.toArray(u,n);var i=new t;if(u[i.place++]!==48)return!1;var r=s(u,i);if(r===!1||r+i.place!==u.length||u[i.place++]!==2)return!1;var o=s(u,i);if(o===!1)return!1;var a=u.slice(i.place,o+i.place);if(i.place+=o,u[i.place++]!==2)return!1;var d=s(u,i);if(d===!1||u.length!==d+i.place)return!1;var b=u.slice(i.place,d+i.place);if(a[0]===0){if(!(128&a[1]))return!1;a=a.slice(1)}if(b[0]===0){if(!(128&b[1]))return!1;b=b.slice(1)}return this.r=new h(a),this.s=new h(b),this.recoveryParam=null,!0},l.prototype.toDER=function(u){var n=this.r.toArray(),i=this.s.toArray();for(128&n[0]&&(n=[0].concat(n)),128&i[0]&&(i=[0].concat(i)),n=f(n),i=f(i);!(i[0]||128&i[1]);)i=i.slice(1);var r=[2];e(r,n.length),(r=r.concat(n)).push(2),e(r,i.length);var o=r.concat(i),a=[48];return e(a,o.length),a=a.concat(o),v.encode(a,u)}},8027:(R,y,c)=>{var h=c(7198),v=c(506),p=c(7528),l=p.assert,t=p.parseBytes,s=c(7303),f=c(6646);function e(u){if(l(u==="ed25519","only tested with ed25519 so far"),!(this instanceof e))return new e(u);u=v[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=h.sha512}R.exports=e,e.prototype.sign=function(u,n){u=t(u);var i=this.keyFromSecret(n),r=this.hashInt(i.messagePrefix(),u),o=this.g.mul(r),a=this.encodePoint(o),d=this.hashInt(a,i.pubBytes(),u).mul(i.priv()),b=r.add(d).umod(this.curve.n);return this.makeSignature({R:o,S:b,Rencoded:a})},e.prototype.verify=function(u,n,i){u=t(u),n=this.makeSignature(n);var r=this.keyFromPublic(i),o=this.hashInt(n.Rencoded(),r.pubBytes(),u),a=this.g.mul(n.S());return n.R().add(r.pub().mul(o)).eq(a)},e.prototype.hashInt=function(){for(var u=this.hash(),n=0;n<arguments.length;n++)u.update(arguments[n]);return p.intFromLE(u.digest()).umod(this.curve.n)},e.prototype.keyFromPublic=function(u){return s.fromPublic(this,u)},e.prototype.keyFromSecret=function(u){return s.fromSecret(this,u)},e.prototype.makeSignature=function(u){return u instanceof f?u:new f(this,u)},e.prototype.encodePoint=function(u){var n=u.getY().toArray("le",this.encodingLength);return n[this.encodingLength-1]|=u.getX().isOdd()?128:0,n},e.prototype.decodePoint=function(u){var n=(u=p.parseBytes(u)).length-1,i=u.slice(0,n).concat(-129&u[n]),r=(128&u[n])!=0,o=p.intFromLE(i);return this.curve.pointFromY(o,r)},e.prototype.encodeInt=function(u){return u.toArray("le",this.encodingLength)},e.prototype.decodeInt=function(u){return p.intFromLE(u)},e.prototype.isPoint=function(u){return u instanceof this.pointClass}},7303:(R,y,c)=>{var h=c(7528),v=h.assert,p=h.parseBytes,l=h.cachedProperty;function t(s,f){this.eddsa=s,this._secret=p(f.secret),s.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=p(f.pub)}t.fromPublic=function(s,f){return f instanceof t?f:new t(s,{pub:f})},t.fromSecret=function(s,f){return f instanceof t?f:new t(s,{secret:f})},t.prototype.secret=function(){return this._secret},l(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),l(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),l(t,"privBytes",function(){var s=this.eddsa,f=this.hash(),e=s.encodingLength-1,u=f.slice(0,s.encodingLength);return u[0]&=248,u[e]&=127,u[e]|=64,u}),l(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),l(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),l(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(s){return v(this._secret,"KeyPair can only verify"),this.eddsa.sign(s,this)},t.prototype.verify=function(s,f){return this.eddsa.verify(s,f,this)},t.prototype.getSecret=function(s){return v(this._secret,"KeyPair is public only"),h.encode(this.secret(),s)},t.prototype.getPublic=function(s){return h.encode(this.pubBytes(),s)},R.exports=t},6646:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1734),p=c(7528),l=p.assert,t=p.cachedProperty,s=p.parseBytes;function f(e,u){this.eddsa=e,(0,h.default)(u)!=="object"&&(u=s(u)),Array.isArray(u)&&(u={R:u.slice(0,e.encodingLength),S:u.slice(e.encodingLength)}),l(u.R&&u.S,"Signature without R or S"),e.isPoint(u.R)&&(this._R=u.R),u.S instanceof v&&(this._S=u.S),this._Rencoded=Array.isArray(u.R)?u.R:u.Rencoded,this._Sencoded=Array.isArray(u.S)?u.S:u.Sencoded}t(f,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),t(f,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),t(f,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),t(f,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),f.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},f.prototype.toHex=function(){return p.encode(this.toBytes(),"hex").toUpperCase()},R.exports=f},6401:R=>{R.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7528:(R,y,c)=>{var h=y,v=c(1734),p=c(4504),l=c(6580);h.assert=p,h.toArray=l.toArray,h.zero2=l.zero2,h.toHex=l.toHex,h.encode=l.encode,h.getNAF=function(t,s,f){var e=new Array(Math.max(t.bitLength(),f)+1);e.fill(0);for(var u=1<<s+1,n=t.clone(),i=0;i<e.length;i++){var r,o=n.andln(u-1);n.isOdd()?(r=o>(u>>1)-1?(u>>1)-o:o,n.isubn(r)):r=0,e[i]=r,n.iushrn(1)}return e},h.getJSF=function(t,s){var f=[[],[]];t=t.clone(),s=s.clone();for(var e,u=0,n=0;t.cmpn(-u)>0||s.cmpn(-n)>0;){var i,r,o=t.andln(3)+u&3,a=s.andln(3)+n&3;o===3&&(o=-1),a===3&&(a=-1),i=1&o?(e=t.andln(7)+u&7)!=3&&e!==5||a!==2?o:-o:0,f[0].push(i),r=1&a?(e=s.andln(7)+n&7)!=3&&e!==5||o!==2?a:-a:0,f[1].push(r),2*u===i+1&&(u=1-u),2*n===r+1&&(n=1-n),t.iushrn(1),s.iushrn(1)}return f},h.cachedProperty=function(t,s,f){var e="_"+s;t.prototype[s]=function(){return this[e]!==void 0?this[e]:this[e]=f.call(this)}},h.parseBytes=function(t){return typeof t=="string"?h.toArray(t,"hex"):t},h.intFromLE=function(t){return new v(t,"hex","le")}},6464:(R,y,c)=>{var h=c(8847)(c(3355)),v=function(){if((typeof self>"u"?"undefined":(0,h.default)(self))==="object"&&self)return self;if((typeof window>"u"?"undefined":(0,h.default)(window))==="object"&&window)return window;throw new Error("Unable to resolve global `this`")};R.exports=function(){if(this)return this;if((typeof globalThis>"u"?"undefined":(0,h.default)(globalThis))==="object"&&globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return v()}try{return __global__||v()}finally{delete Object.prototype.__global__}}()},4258:(R,y,c)=>{var h,v,p,l=c(9142),t=c(8847)(c(3355));p=function(){function s(_){return typeof _=="function"}var f=Array.isArray?Array.isArray:function(_){return Object.prototype.toString.call(_)==="[object Array]"},e=0,u=void 0,n=void 0,i=function(_,U){g[e]=_,g[e+1]=U,(e+=2)===2&&(n?n(A):I())},r=typeof window<"u"?window:void 0,o=r||{},a=o.MutationObserver||o.WebKitMutationObserver,d=typeof self>"u"&&l!==void 0&&{}.toString.call(l)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function w(){var _=setTimeout;return function(){return _(A,1)}}var g=new Array(1e3);function A(){for(var _=0;_<e;_+=2)(0,g[_])(g[_+1]),g[_]=void 0,g[_+1]=void 0;e=0}var T,S,E,k,I=void 0;function N(_,U){var q=this,z=new this.constructor(m);z[L]===void 0&&G(z);var W=q._state;if(W){var Y=arguments[W-1];i(function(){return O(W,z,Y,q._result)})}else V(q,z,_,U);return z}function D(_){if(_&&(0,t.default)(_)==="object"&&_.constructor===this)return _;var U=new this(m);return B(U,_),U}d?I=function(){return l.nextTick(A)}:a?(S=0,E=new a(A),k=document.createTextNode(""),E.observe(k,{characterData:!0}),I=function(){k.data=S=++S%2}):b?((T=new MessageChannel).port1.onmessage=A,I=function(){return T.port2.postMessage(0)}):I=r===void 0?function(){try{var _=Function("return this")().require("vertx");return(u=_.runOnLoop||_.runOnContext)!==void 0?function(){u(A)}:w()}catch{return w()}}():w();var L=Math.random().toString(36).substring(2);function m(){}var P=void 0;function C(_,U,q){U.constructor===_.constructor&&q===N&&U.constructor.resolve===D?function(z,W){W._state===1?j(z,W._result):W._state===2?K(z,W._result):V(W,void 0,function(Y){return B(z,Y)},function(Y){return K(z,Y)})}(_,U):q===void 0?j(_,U):s(q)?function(z,W,Y){i(function(X){var Q=!1,$=function(Z,et,rt,nt){try{Z.call(et,function(tt){Q||(Q=!0,W!==tt?B(X,tt):j(X,tt))},function(tt){Q||(Q=!0,K(X,tt))})}catch(tt){return tt}}(Y,W,0,0,X._label);!Q&&$&&(Q=!0,K(X,$))},z)}(_,U,q):j(_,U)}function B(_,U){if(_===U)K(_,new TypeError("You cannot resolve a promise with itself"));else if(z=U,W=(0,t.default)(z),z===null||W!=="object"&&W!=="function")j(_,U);else{var q=void 0;try{q=U.then}catch(Y){return void K(_,Y)}C(_,U,q)}var z,W}function x(_){_._onerror&&_._onerror(_._result),J(_)}function j(_,U){_._state===P&&(_._result=U,_._state=1,_._subscribers.length!==0&&i(J,_))}function K(_,U){_._state===P&&(_._state=2,_._result=U,i(x,_))}function V(_,U,q,z){var W=_._subscribers,Y=W.length;_._onerror=null,W[Y]=U,W[Y+1]=q,W[Y+2]=z,Y===0&&_._state&&i(J,_)}function J(_){var U=_._subscribers,q=_._state;if(U.length!==0){for(var z=void 0,W=void 0,Y=_._result,X=0;X<U.length;X+=3)z=U[X],W=U[X+q],z?O(q,z,W,Y):W(Y);_._subscribers.length=0}}function O(_,U,q,z){var W=s(q),Y=void 0,X=void 0,Q=!0;if(W){try{Y=q(z)}catch($){Q=!1,X=$}if(U===Y)return void K(U,new TypeError("A promises callback cannot return that same promise."))}else Y=z;U._state!==P||(W&&Q?B(U,Y):Q===!1?K(U,X):_===1?j(U,Y):_===2&&K(U,Y))}var F=0;function G(_){_[L]=F++,_._state=void 0,_._result=void 0,_._subscribers=[]}var H=function(){function _(U,q){this._instanceConstructor=U,this.promise=new U(m),this.promise[L]||G(this.promise),f(q)?(this.length=q.length,this._remaining=q.length,this._result=new Array(this.length),this.length===0?j(this.promise,this._result):(this.length=this.length||0,this._enumerate(q),this._remaining===0&&j(this.promise,this._result))):K(this.promise,new Error("Array Methods must be provided an Array"))}return _.prototype._enumerate=function(U){for(var q=0;this._state===P&&q<U.length;q++)this._eachEntry(U[q],q)},_.prototype._eachEntry=function(U,q){var z=this._instanceConstructor,W=z.resolve;if(W===D){var Y=void 0,X=void 0,Q=!1;try{Y=U.then}catch(Z){Q=!0,X=Z}if(Y===N&&U._state!==P)this._settledAt(U._state,q,U._result);else if(typeof Y!="function")this._remaining--,this._result[q]=U;else if(z===M){var $=new z(m);Q?K($,X):C($,U,Y),this._willSettleAt($,q)}else this._willSettleAt(new z(function(Z){return Z(U)}),q)}else this._willSettleAt(W(U),q)},_.prototype._settledAt=function(U,q,z){var W=this.promise;W._state===P&&(this._remaining--,U===2?K(W,z):this._result[q]=z),this._remaining===0&&j(W,this._result)},_.prototype._willSettleAt=function(U,q){var z=this;V(U,void 0,function(W){return z._settledAt(1,q,W)},function(W){return z._settledAt(2,q,W)})},_}(),M=function(){function _(U){this[L]=F++,this._result=this._state=void 0,this._subscribers=[],m!==U&&(typeof U!="function"&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof _?function(q,z){try{z(function(W){B(q,W)},function(W){K(q,W)})}catch(W){K(q,W)}}(this,U):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return _.prototype.catch=function(U){return this.then(null,U)},_.prototype.finally=function(U){var q=this,z=q.constructor;return s(U)?q.then(function(W){return z.resolve(U()).then(function(){return W})},function(W){return z.resolve(U()).then(function(){throw W})}):q.then(U,U)},_}();return M.prototype.then=N,M.all=function(_){return new H(this,_).promise},M.race=function(_){var U=this;return f(_)?new U(function(q,z){for(var W=_.length,Y=0;Y<W;Y++)U.resolve(_[Y]).then(q,z)}):new U(function(q,z){return z(new TypeError("You must pass an array to race."))})},M.resolve=D,M.reject=function(_){var U=new this(m);return K(U,_),U},M._setScheduler=function(_){n=_},M._setAsap=function(_){i=_},M._asap=i,M.polyfill=function(){var _=void 0;if(c.g!==void 0)_=c.g;else if(typeof self<"u")_=self;else try{_=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var U=_.Promise;if(U){var q=null;try{q=Object.prototype.toString.call(U.resolve())}catch{}if(q==="[object Promise]"&&!U.cast)return}_.Promise=M},M.Promise=M,M},(0,t.default)(y)==="object"?R.exports=p():(v=typeof(h=p)=="function"?h.call(y,c,y,R):h)===void 0||(R.exports=v)},1006:(R,y,c)=>{var h=c(9033).Buffer,v=c(4858).keccak_256,p=c(3956);function l(t){return t&&p.toUnicode(t,{useStd3ASCII:!0,transitional:!1})}y.hash=function(t){for(var s="",f=0;f<32;f++)s+="00";if(name=l(t),name){var e=name.split(".");for(f=e.length-1;f>=0;f--){var u=v(e[f]);s=v(new h(s+u,"hex"))}}return"0x"+s},y.normalize=l},3058:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847)(c(4519)),p=c(6851),l=c(9733),t=c(6597),s=(c(6740),new t.ec("secp256k1")),f=c(2922),e=f.keccak256,u=f.keccak256s,n=function(b){for(var w=u(b.slice(2)),g="0x",A=0;A<40;A++)g+=parseInt(w[A+2],16)>7?b[A+2].toUpperCase():b[A+2];return g},i=function(b){var w=new h(b.slice(2),"hex"),g="0x"+s.keyFromPrivate(w).getPublic(!1,"hex").slice(2),A=e(g);return{address:n("0x"+A.slice(-40)),privateKey:b}},r=function(b){var w=(0,v.default)(b,3),g=w[0],A=w[1],T=w[2];return p.flatten([A,T,g])},o=function(b){return[p.slice(64,p.length(b),b),p.slice(0,32,b),p.slice(32,64,b)]},a=function(b){return function(w,g){var A=s.keyFromPrivate(new h(g.slice(2),"hex")).sign(new h(w.slice(2),"hex"),{canonical:!0});return r([l.fromString(p.fromNumber(b+A.recoveryParam)),p.pad(32,p.fromNat("0x"+A.r.toString(16))),p.pad(32,p.fromNat("0x"+A.s.toString(16)))])}},d=a(27);R.exports={create:function(b){var w=e(p.concat(p.random(32),b||p.random(32))),g=p.concat(p.concat(p.random(32),w),p.random(32)),A=e(g);return i(A)},toChecksum:n,fromPrivate:i,sign:d,makeSigner:a,recover:function(b,w){var g=o(w),A={v:p.toNumber(g[0]),r:g[1].slice(2),s:g[2].slice(2)},T="0x"+s.recoverPubKey(new h(b.slice(2),"hex"),A,A.v<2?A.v:1-A.v%2).encode("hex",!1).slice(2),S=e(T);return n("0x"+S.slice(-40))},encodeSignature:r,decodeSignature:o}},1376:R=>{var y=function(c,h){for(var v=[],p=0;p<c;++p)v.push(h(p));return v};R.exports={generate:y,replicate:function(c,h){return y(c,function(){return h})},concat:function(c,h){return c.concat(h)},flatten:function(c){for(var h=[],v=0,p=c.length;v<p;++v)for(var l=0,t=c[v].length;l<t;++l)h.push(c[v][l]);return h},chunksOf:function(c,h){for(var v=[],p=0,l=h.length;p<l;p+=c)v.push(h.slice(p,p+c));return v}}},6851:(R,y,c)=>{c(1376);var h=function(t,s){return parseInt(t.slice(2*s+2,2*s+4),16)},v=function(t){return(t.length-2)/2},p=function(t){for(var s=[],f=2,e=t.length;f<e;f+=2)s.push(parseInt(t.slice(f,f+2),16));return s},l=function(t){for(var s="0x",f=0,e=t.length;f<e;++f){var u=t[f];s+=(u<16?"0":"")+u.toString(16)}return s};R.exports={random:function(t){var s;s=typeof window<"u"&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(t)):c(4293).randomBytes(t);for(var f="0x",e=0;e<t;++e)f+=("00"+s[e].toString(16)).slice(-2);return f},length:v,concat:function(t,s){return t.concat(s.slice(2))},flatten:function(t){return"0x"+t.reduce(function(s,f){return s+f.slice(2)},"")},slice:function(t,s,f){return"0x"+f.slice(2*t+2,2*s+2)},reverse:function(t){for(var s="0x",f=0,e=v(t);f<e;++f)s+=t.slice(2*(e-f),2*(e-f+1));return s},pad:function t(s,f){return f.length===2*s+2?f:t(s,"0x0"+f.slice(2))},padRight:function t(s,f){return f.length===2*s+2?f:t(s,f+"0")},fromAscii:function(t){for(var s="0x",f=0;f<t.length;++f)s+=("00"+t.charCodeAt(f).toString(16)).slice(-2);return s},toAscii:function(t){for(var s="",f=2;f<t.length;f+=2)s+=String.fromCharCode(parseInt(t.slice(f,f+2),16));return s},fromString:function(t){for(var s=function(i){var r=i.toString(16);return r.length<2?"0"+r:r},f="0x",e=0;e!=t.length;e++){var u=t.charCodeAt(e);if(u<128)f+=s(u);else{if(u<2048)f+=s(u>>6|192);else{if(u>55295&&u<56320){if(++e==t.length)return null;var n=t.charCodeAt(e);if(n<56320||n>57343)return null;f+=s((u=65536+((1023&u)<<10)+(1023&n))>>18|240),f+=s(u>>12&63|128)}else f+=s(u>>12|224);f+=s(u>>6&63|128)}f+=s(63&u|128)}}return f},toString:function(t){for(var s="",f=0,e=v(t);f<e;){var u=h(t,f++);if(u>127){if(u>191&&u<224){if(f>=e)return null;u=(31&u)<<6|63&h(t,f)}else if(u>223&&u<240){if(f+1>=e)return null;u=(15&u)<<12|(63&h(t,f))<<6|63&h(t,++f)}else{if(!(u>239&&u<248)||f+2>=e)return null;u=(7&u)<<18|(63&h(t,f))<<12|(63&h(t,++f))<<6|63&h(t,++f)}++f}if(u<=65535)s+=String.fromCharCode(u);else{if(!(u<=1114111))return null;u-=65536,s+=String.fromCharCode(u>>10|55296),s+=String.fromCharCode(1023&u|56320)}}return s},fromNumber:function(t){var s=t.toString(16);return s.length%2==0?"0x"+s:"0x0"+s},toNumber:function(t){return parseInt(t.slice(2),16)},fromNat:function(t){return t==="0x0"?"0x":t.length%2==0?t:"0x0"+t.slice(2)},toNat:function(t){return t[2]==="0"?"0x"+t.slice(3):t},fromArray:l,toArray:p,fromUint8Array:function(t){return l([].slice.call(t,0))},toUint8Array:function(t){return new Uint8Array(p(t))}}},2922:R=>{var y="0123456789abcdef".split(""),c=[1,256,65536,16777216],h=[0,8,16,24],v=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=function(t){var s,f,e,u,n,i,r,o,a,d,b,w,g,A,T,S,E,k,I,N,D,L,m,P,C,B,x,j,K,V,J,O,F,G,H,M,_,U,q,z,W,Y,X,Q,$,Z,et,rt,nt,tt,ot,it,at,ut,st,ft,bt,ct,dt,Ot,lt,pt,jt;for(e=0;e<48;e+=2)u=t[0]^t[10]^t[20]^t[30]^t[40],n=t[1]^t[11]^t[21]^t[31]^t[41],i=t[2]^t[12]^t[22]^t[32]^t[42],r=t[3]^t[13]^t[23]^t[33]^t[43],o=t[4]^t[14]^t[24]^t[34]^t[44],a=t[5]^t[15]^t[25]^t[35]^t[45],d=t[6]^t[16]^t[26]^t[36]^t[46],b=t[7]^t[17]^t[27]^t[37]^t[47],s=(w=t[8]^t[18]^t[28]^t[38]^t[48])^(i<<1|r>>>31),f=(g=t[9]^t[19]^t[29]^t[39]^t[49])^(r<<1|i>>>31),t[0]^=s,t[1]^=f,t[10]^=s,t[11]^=f,t[20]^=s,t[21]^=f,t[30]^=s,t[31]^=f,t[40]^=s,t[41]^=f,s=u^(o<<1|a>>>31),f=n^(a<<1|o>>>31),t[2]^=s,t[3]^=f,t[12]^=s,t[13]^=f,t[22]^=s,t[23]^=f,t[32]^=s,t[33]^=f,t[42]^=s,t[43]^=f,s=i^(d<<1|b>>>31),f=r^(b<<1|d>>>31),t[4]^=s,t[5]^=f,t[14]^=s,t[15]^=f,t[24]^=s,t[25]^=f,t[34]^=s,t[35]^=f,t[44]^=s,t[45]^=f,s=o^(w<<1|g>>>31),f=a^(g<<1|w>>>31),t[6]^=s,t[7]^=f,t[16]^=s,t[17]^=f,t[26]^=s,t[27]^=f,t[36]^=s,t[37]^=f,t[46]^=s,t[47]^=f,s=d^(u<<1|n>>>31),f=b^(n<<1|u>>>31),t[8]^=s,t[9]^=f,t[18]^=s,t[19]^=f,t[28]^=s,t[29]^=f,t[38]^=s,t[39]^=f,t[48]^=s,t[49]^=f,A=t[0],T=t[1],Z=t[11]<<4|t[10]>>>28,et=t[10]<<4|t[11]>>>28,j=t[20]<<3|t[21]>>>29,K=t[21]<<3|t[20]>>>29,Ot=t[31]<<9|t[30]>>>23,lt=t[30]<<9|t[31]>>>23,Y=t[40]<<18|t[41]>>>14,X=t[41]<<18|t[40]>>>14,G=t[2]<<1|t[3]>>>31,H=t[3]<<1|t[2]>>>31,S=t[13]<<12|t[12]>>>20,E=t[12]<<12|t[13]>>>20,rt=t[22]<<10|t[23]>>>22,nt=t[23]<<10|t[22]>>>22,V=t[33]<<13|t[32]>>>19,J=t[32]<<13|t[33]>>>19,pt=t[42]<<2|t[43]>>>30,jt=t[43]<<2|t[42]>>>30,ut=t[5]<<30|t[4]>>>2,st=t[4]<<30|t[5]>>>2,M=t[14]<<6|t[15]>>>26,_=t[15]<<6|t[14]>>>26,k=t[25]<<11|t[24]>>>21,I=t[24]<<11|t[25]>>>21,tt=t[34]<<15|t[35]>>>17,ot=t[35]<<15|t[34]>>>17,O=t[45]<<29|t[44]>>>3,F=t[44]<<29|t[45]>>>3,P=t[6]<<28|t[7]>>>4,C=t[7]<<28|t[6]>>>4,ft=t[17]<<23|t[16]>>>9,bt=t[16]<<23|t[17]>>>9,U=t[26]<<25|t[27]>>>7,q=t[27]<<25|t[26]>>>7,N=t[36]<<21|t[37]>>>11,D=t[37]<<21|t[36]>>>11,it=t[47]<<24|t[46]>>>8,at=t[46]<<24|t[47]>>>8,Q=t[8]<<27|t[9]>>>5,$=t[9]<<27|t[8]>>>5,B=t[18]<<20|t[19]>>>12,x=t[19]<<20|t[18]>>>12,ct=t[29]<<7|t[28]>>>25,dt=t[28]<<7|t[29]>>>25,z=t[38]<<8|t[39]>>>24,W=t[39]<<8|t[38]>>>24,L=t[48]<<14|t[49]>>>18,m=t[49]<<14|t[48]>>>18,t[0]=A^~S&k,t[1]=T^~E&I,t[10]=P^~B&j,t[11]=C^~x&K,t[20]=G^~M&U,t[21]=H^~_&q,t[30]=Q^~Z&rt,t[31]=$^~et&nt,t[40]=ut^~ft&ct,t[41]=st^~bt&dt,t[2]=S^~k&N,t[3]=E^~I&D,t[12]=B^~j&V,t[13]=x^~K&J,t[22]=M^~U&z,t[23]=_^~q&W,t[32]=Z^~rt&tt,t[33]=et^~nt&ot,t[42]=ft^~ct&Ot,t[43]=bt^~dt&lt,t[4]=k^~N&L,t[5]=I^~D&m,t[14]=j^~V&O,t[15]=K^~J&F,t[24]=U^~z&Y,t[25]=q^~W&X,t[34]=rt^~tt&it,t[35]=nt^~ot&at,t[44]=ct^~Ot&pt,t[45]=dt^~lt&jt,t[6]=N^~L&A,t[7]=D^~m&T,t[16]=V^~O&P,t[17]=J^~F&C,t[26]=z^~Y&G,t[27]=W^~X&H,t[36]=tt^~it&Q,t[37]=ot^~at&$,t[46]=Ot^~pt&ut,t[47]=lt^~jt&st,t[8]=L^~A&S,t[9]=m^~T&E,t[18]=O^~P&B,t[19]=F^~C&x,t[28]=Y^~G&M,t[29]=X^~H&_,t[38]=it^~Q&Z,t[39]=at^~$&et,t[48]=pt^~ut&ft,t[49]=jt^~st&bt,t[0]^=v[e],t[1]^=v[e+1]},l=function(t){return function(s){var f;if(s.slice(0,2)==="0x"){f=[];for(var e=2,u=s.length;e<u;e+=2)f.push(parseInt(s.slice(e,e+2),16))}else f=s;return function(n,i){for(var r,o=i.length,a=n.blocks,d=n.blockCount<<2,b=n.blockCount,w=n.outputBlocks,g=n.s,A=0;A<o;){if(n.reset)for(n.reset=!1,a[0]=n.block,E=1;E<b+1;++E)a[E]=0;if(typeof i!="string")for(E=n.start;A<o&&E<d;++A)a[E>>2]|=i[A]<<h[3&E++];else for(E=n.start;A<o&&E<d;++A)(r=i.charCodeAt(A))<128?a[E>>2]|=r<<h[3&E++]:r<2048?(a[E>>2]|=(192|r>>6)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]):r<55296||r>=57344?(a[E>>2]|=(224|r>>12)<<h[3&E++],a[E>>2]|=(128|r>>6&63)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]):(r=65536+((1023&r)<<10|1023&i.charCodeAt(++A)),a[E>>2]|=(240|r>>18)<<h[3&E++],a[E>>2]|=(128|r>>12&63)<<h[3&E++],a[E>>2]|=(128|r>>6&63)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]);if(n.lastByteIndex=E,E>=d){for(n.start=E-d,n.block=a[b],E=0;E<b;++E)g[E]^=a[E];p(g),n.reset=!0}else n.start=E}if(a[(E=n.lastByteIndex)>>2]|=c[3&E],n.lastByteIndex===d)for(a[0]=a[b],E=1;E<b+1;++E)a[E]=0;for(a[b-1]|=2147483648,E=0;E<b;++E)g[E]^=a[E];p(g);for(var T,S="",E=0,k=0;k<w;){for(E=0;E<b&&k<w;++E,++k)T=g[E],S+=y[T>>4&15]+y[15&T]+y[T>>12&15]+y[T>>8&15]+y[T>>20&15]+y[T>>16&15]+y[T>>28&15]+y[T>>24&15];k%b==0&&(p(g),E=0)}return"0x"+S}(function(n){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(n<<1)>>5,outputBlocks:n>>5,s:(i=[0,0,0,0,0,0,0,0,0,0],[].concat(i,i,i,i,i))};var i}(t),f)}};R.exports={keccak256:l(256),keccak512:l(512),keccak256s:l(256),keccak512s:l(512)}},9733:(R,y,c)=>{var h=c(1734),v=c(6851),p=function(r){return new h(r.slice(2),16)},l=function(r){var o="0x"+(r.slice(0,2)==="0x"?new h(r.slice(2),16):new h(r,10)).toString("hex");return o==="0x0"?"0x":o},t=function(r){return typeof r=="string"?/^0x/.test(r)?r:"0x"+r:"0x"+new h(r).toString("hex")},s=function(r){return p(r).toNumber()},f=function(r){return function(o,a){return"0x"+p(o)[r](p(a)).toString("hex")}},e=f("add"),u=f("mul"),n=f("div"),i=f("sub");R.exports={toString:function(r){return p(r).toString(10)},fromString:l,toNumber:s,fromNumber:t,toEther:function(r){return s(n(r,l("10000000000")))/1e8},fromEther:function(r){return u(t(Math.floor(1e8*r)),l("10000000000"))},toUint256:function(r){return v.pad(32,r)},add:e,mul:u,div:n,sub:i}},6740:R=>{R.exports={encode:function(y){var c=function(v){return(p=v.toString(16)).length%2==0?p:"0"+p;var p},h=function(v,p){return v<56?c(p+v):c(p+c(v).length/2+55)+c(v)};return"0x"+function v(p){if(typeof p=="string"){var l=p.slice(2);return(l.length!=2||l>="80"?h(l.length/2,128):"")+l}var t=p.map(v).join("");return h(t.length/2,192)+t}(y)},decode:function(y){var c=2,h=function(){if(c>=y.length)throw"";var t=y.slice(c,c+2);return t<"80"?(c+=2,"0x"+t):t<"c0"?p():l()},v=function(){var t=parseInt(y.slice(c,c+=2),16)%64;return t<56?t:parseInt(y.slice(c,c+=2*(t-55)),16)},p=function(){var t=v();return"0x"+y.slice(c,c+=2*t)},l=function(){for(var t=2*v()+c,s=[];c<t;)s.push(h());return s};try{return h()}catch{return[]}}}},9313:(R,y,c)=>{var h=c(8847)(c(3355));Object.defineProperty(y,"__esModule",{value:!0});var v=c(8179);function p(e){return!(typeof e!="string"||!/^(0x)?[0-9a-f]{512}$/i.test(e)||!/^(0x)?[0-9a-f]{512}$/.test(e)&&!/^(0x)?[0-9A-F]{512}$/.test(e))}function l(e,u){(0,h.default)(u)==="object"&&u.constructor===Uint8Array&&(u=v.bytesToHex(u));for(var n=v.keccak256(u).replace("0x",""),i=0;i<12;i+=4){var r=(parseInt(n.substr(i,2),16)<<8)+parseInt(n.substr(i+2,2),16)&2047,o=1<<r%4;if((t(e.charCodeAt(e.length-1-Math.floor(r/4)))&o)!==o)return!1}return!0}function t(e){if(e>=48&&e<=57)return e-48;if(e>=65&&e<=70)return e-55;if(e>=97&&e<=102)return e-87;throw new Error("invalid bloom")}function s(e){return!(typeof e!="string"||!/^(0x)?[0-9a-f]{64}$/i.test(e)||!/^(0x)?[0-9a-f]{64}$/.test(e)&&!/^(0x)?[0-9A-F]{64}$/.test(e))}function f(e){return!(typeof e!="string"||!e.match(/^(0x)?[0-9a-fA-F]{40}$/)&&!e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/))}y.isBloom=p,y.isInBloom=l,y.isUserEthereumAddressInBloom=function(e,u){if(!p(e))throw new Error("Invalid bloom given");if(!f(u))throw new Error('Invalid ethereum address given: "'.concat(u,'"'));return l(e,v.padLeft(u,64))},y.isContractAddressInBloom=function(e,u){if(!p(e))throw new Error("Invalid bloom given");if(!f(u))throw new Error('Invalid contract address given: "'.concat(u,'"'));return l(e,u)},y.isTopicInBloom=function(e,u){if(!p(e))throw new Error("Invalid bloom given");if(!s(u))throw new Error("Invalid topic");return l(e,u)},y.isTopic=s,y.isAddress=f},8179:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0});var h=c(7286);function v(l){if(l==null)throw new Error("cannot convert null value to array");if(typeof l=="string"){var t=l.match(/^(0x)?[0-9a-fA-F]*$/);if(!t)throw new Error("invalid hexidecimal string");if(t[1]!=="0x")throw new Error("hex string must have 0x prefix");(l=l.substring(2)).length%2&&(l="0"+l);for(var s=[],f=0;f<l.length;f+=2)s.push(parseInt(l.substr(f,2),16));return p(new Uint8Array(s))}if(function(e){if(!e||parseInt(String(e.length))!=e.length||typeof e=="string")return!1;for(var u=0;u<e.length;u++){var n=e[u];if(n<0||n>=256||parseInt(String(n))!=n)return!1}return!0}(l))return p(new Uint8Array(l));throw new Error("invalid arrayify value")}function p(l){var t=arguments;return l.slice!==void 0||(l.slice=function(){var s=Array.prototype.slice.call(t);return p(new Uint8Array(Array.prototype.slice.apply(l,s)))}),l}y.keccak256=function(l){return"0x"+h.keccak_256(v(l))},y.padLeft=function(l,t){var s=/^0x/i.test(l)||typeof l=="number",f=t-(l=l.toString().replace(/^0x/i,"")).length+1>=0?t-l.length+1:0;return(s?"0x":"")+new Array(f).join("0")+l},y.bytesToHex=function(l){for(var t=[],s=0;s<l.length;s++)t.push((l[s]>>>4).toString(16)),t.push((15&l[s]).toString(16));return"0x".concat(t.join("").replace(/^0+/,""))},y.toByteArray=v},7286:(R,y,c)=>{R=c.nmd(R);var h,v=c(9142),p=c(8847)(c(3355));(function(){var l="input is invalid type",t=(typeof window>"u"?"undefined":(0,p.default)(window))==="object",s=t?window:{};s.JS_SHA3_NO_WINDOW&&(t=!1);var f=!t&&(typeof self>"u"?"undefined":(0,p.default)(self))==="object";!s.JS_SHA3_NO_NODE_JS&&(v===void 0?"undefined":(0,p.default)(v))==="object"&&v.versions&&v.versions.node?s=c.g:f&&(s=self);var e=!s.JS_SHA3_NO_COMMON_JS&&(0,p.default)(R)==="object"&&R.exports,u=c.amdO,n=!s.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",i="0123456789abcdef".split(""),r=[4,1024,262144,67108864],o=[0,8,16,24],a=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],d=[224,256,384,512],b=[128,256],w=["hex","buffer","arrayBuffer","array","digest"],g={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(O){return Object.prototype.toString.call(O)==="[object Array]"}),!n||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(O){return(0,p.default)(O)==="object"&&O.buffer&&O.buffer.constructor===ArrayBuffer});for(var A=function(O,F,G){return function(H){return new K(O,F,O).update(H)[G]()}},T=function(O,F,G){return function(H,M){return new K(O,F,M).update(H)[G]()}},S=function(O,F,G){return function(H,M,_,U){return D["cshake"+O].update(H,M,_,U)[G]()}},E=function(O,F,G){return function(H,M,_,U){return D["kmac"+O].update(H,M,_,U)[G]()}},k=function(O,F,G,H){for(var M=0;M<w.length;++M){var _=w[M];O[_]=F(G,H,_)}return O},I=function(O,F){var G=A(O,F,"hex");return G.create=function(){return new K(O,F,O)},G.update=function(H){return G.create().update(H)},k(G,A,O,F)},N=[{name:"keccak",padding:[1,256,65536,16777216],bits:d,createMethod:I},{name:"sha3",padding:[6,1536,393216,100663296],bits:d,createMethod:I},{name:"shake",padding:[31,7936,2031616,520093696],bits:b,createMethod:function(O,F){var G=T(O,F,"hex");return G.create=function(H){return new K(O,F,H)},G.update=function(H,M){return G.create(M).update(H)},k(G,T,O,F)}},{name:"cshake",padding:r,bits:b,createMethod:function(O,F){var G=g[O],H=S(O,0,"hex");return H.create=function(M,_,U){return _||U?new K(O,F,M).bytepad([_,U],G):D["shake"+O].create(M)},H.update=function(M,_,U,q){return H.create(_,U,q).update(M)},k(H,S,O,F)}},{name:"kmac",padding:r,bits:b,createMethod:function(O,F){var G=g[O],H=E(O,0,"hex");return H.create=function(M,_,U){return new V(O,F,_).bytepad(["KMAC",U],G).bytepad([M],G)},H.update=function(M,_,U,q){return H.create(M,U,q).update(_)},k(H,E,O,F)}}],D={},L=[],m=0;m<N.length;++m)for(var P=N[m],C=P.bits,B=0;B<C.length;++B){var x=P.name+"_"+C[B];if(L.push(x),D[x]=P.createMethod(C[B],P.padding),P.name!=="sha3"){var j=P.name+C[B];L.push(j),D[j]=D[x]}}function K(O,F,G){this.blocks=[],this.s=[],this.padding=F,this.outputBits=G,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(O<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=G>>5,this.extraBytes=(31&G)>>3;for(var H=0;H<50;++H)this.s[H]=0}function V(O,F,G){K.call(this,O,F,G)}K.prototype.update=function(O){if(this.finalized)throw new Error("finalize already called");var F,G=(0,p.default)(O);if(G!=="string"){if(G!=="object")throw new Error(l);if(O===null)throw new Error(l);if(n&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!(Array.isArray(O)||n&&ArrayBuffer.isView(O)))throw new Error(l);F=!0}for(var H,M,_=this.blocks,U=this.byteCount,q=O.length,z=this.blockCount,W=0,Y=this.s;W<q;){if(this.reset)for(this.reset=!1,_[0]=this.block,H=1;H<z+1;++H)_[H]=0;if(F)for(H=this.start;W<q&&H<U;++W)_[H>>2]|=O[W]<<o[3&H++];else for(H=this.start;W<q&&H<U;++W)(M=O.charCodeAt(W))<128?_[H>>2]|=M<<o[3&H++]:M<2048?(_[H>>2]|=(192|M>>6)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]):M<55296||M>=57344?(_[H>>2]|=(224|M>>12)<<o[3&H++],_[H>>2]|=(128|M>>6&63)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]):(M=65536+((1023&M)<<10|1023&O.charCodeAt(++W)),_[H>>2]|=(240|M>>18)<<o[3&H++],_[H>>2]|=(128|M>>12&63)<<o[3&H++],_[H>>2]|=(128|M>>6&63)<<o[3&H++],_[H>>2]|=(128|63&M)<<o[3&H++]);if(this.lastByteIndex=H,H>=U){for(this.start=H-U,this.block=_[z],H=0;H<z;++H)Y[H]^=_[H];J(Y),this.reset=!0}else this.start=H}return this},K.prototype.encode=function(O,F){var G=255&O,H=1,M=[G];for(G=255&(O>>=8);G>0;)M.unshift(G),G=255&(O>>=8),++H;return F?M.push(H):M.unshift(H),this.update(M),M.length},K.prototype.encodeString=function(O){var F,G=(0,p.default)(O);if(G!=="string"){if(G!=="object")throw new Error(l);if(O===null)throw new Error(l);if(n&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!(Array.isArray(O)||n&&ArrayBuffer.isView(O)))throw new Error(l);F=!0}var H=0,M=O.length;if(F)H=M;else for(var _=0;_<O.length;++_){var U=O.charCodeAt(_);U<128?H+=1:U<2048?H+=2:U<55296||U>=57344?H+=3:(U=65536+((1023&U)<<10|1023&O.charCodeAt(++_)),H+=4)}return H+=this.encode(8*H),this.update(O),H},K.prototype.bytepad=function(O,F){for(var G=this.encode(F),H=0;H<O.length;++H)G+=this.encodeString(O[H]);var M=F-G%F,_=[];return _.length=M,this.update(_),this},K.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var O=this.blocks,F=this.lastByteIndex,G=this.blockCount,H=this.s;if(O[F>>2]|=this.padding[3&F],this.lastByteIndex===this.byteCount)for(O[0]=O[G],F=1;F<G+1;++F)O[F]=0;for(O[G-1]|=2147483648,F=0;F<G;++F)H[F]^=O[F];J(H)}},K.prototype.toString=K.prototype.hex=function(){this.finalize();for(var O,F=this.blockCount,G=this.s,H=this.outputBlocks,M=this.extraBytes,_=0,U=0,q="";U<H;){for(_=0;_<F&&U<H;++_,++U)O=G[_],q+=i[O>>4&15]+i[15&O]+i[O>>12&15]+i[O>>8&15]+i[O>>20&15]+i[O>>16&15]+i[O>>28&15]+i[O>>24&15];U%F==0&&(J(G),_=0)}return M&&(O=G[_],q+=i[O>>4&15]+i[15&O],M>1&&(q+=i[O>>12&15]+i[O>>8&15]),M>2&&(q+=i[O>>20&15]+i[O>>16&15])),q},K.prototype.arrayBuffer=function(){this.finalize();var O,F=this.blockCount,G=this.s,H=this.outputBlocks,M=this.extraBytes,_=0,U=0,q=this.outputBits>>3;O=M?new ArrayBuffer(H+1<<2):new ArrayBuffer(q);for(var z=new Uint32Array(O);U<H;){for(_=0;_<F&&U<H;++_,++U)z[U]=G[_];U%F==0&&J(G)}return M&&(z[_]=G[_],O=O.slice(0,q)),O},K.prototype.buffer=K.prototype.arrayBuffer,K.prototype.digest=K.prototype.array=function(){this.finalize();for(var O,F,G=this.blockCount,H=this.s,M=this.outputBlocks,_=this.extraBytes,U=0,q=0,z=[];q<M;){for(U=0;U<G&&q<M;++U,++q)O=q<<2,F=H[U],z[O]=255&F,z[O+1]=F>>8&255,z[O+2]=F>>16&255,z[O+3]=F>>24&255;q%G==0&&J(H)}return _&&(O=q<<2,F=H[U],z[O]=255&F,_>1&&(z[O+1]=F>>8&255),_>2&&(z[O+2]=F>>16&255)),z},V.prototype=new K,V.prototype.finalize=function(){return this.encode(this.outputBits,!0),K.prototype.finalize.call(this)};var J=function(O){var F,G,H,M,_,U,q,z,W,Y,X,Q,$,Z,et,rt,nt,tt,ot,it,at,ut,st,ft,bt,ct,dt,Ot,lt,pt,jt,yt,mt,Ft,vt,gt,Lt,wt,At,Dt,kt,_t,Ht,St,Et,qt,xt,Pt,zt,Bt,Ct,Jt,Tt,It,Wt,Mt,Ut,Yt,Rt,Nt,Gt,Kt,Vt;for(H=0;H<48;H+=2)M=O[0]^O[10]^O[20]^O[30]^O[40],_=O[1]^O[11]^O[21]^O[31]^O[41],U=O[2]^O[12]^O[22]^O[32]^O[42],q=O[3]^O[13]^O[23]^O[33]^O[43],z=O[4]^O[14]^O[24]^O[34]^O[44],W=O[5]^O[15]^O[25]^O[35]^O[45],Y=O[6]^O[16]^O[26]^O[36]^O[46],X=O[7]^O[17]^O[27]^O[37]^O[47],F=(Q=O[8]^O[18]^O[28]^O[38]^O[48])^(U<<1|q>>>31),G=($=O[9]^O[19]^O[29]^O[39]^O[49])^(q<<1|U>>>31),O[0]^=F,O[1]^=G,O[10]^=F,O[11]^=G,O[20]^=F,O[21]^=G,O[30]^=F,O[31]^=G,O[40]^=F,O[41]^=G,F=M^(z<<1|W>>>31),G=_^(W<<1|z>>>31),O[2]^=F,O[3]^=G,O[12]^=F,O[13]^=G,O[22]^=F,O[23]^=G,O[32]^=F,O[33]^=G,O[42]^=F,O[43]^=G,F=U^(Y<<1|X>>>31),G=q^(X<<1|Y>>>31),O[4]^=F,O[5]^=G,O[14]^=F,O[15]^=G,O[24]^=F,O[25]^=G,O[34]^=F,O[35]^=G,O[44]^=F,O[45]^=G,F=z^(Q<<1|$>>>31),G=W^($<<1|Q>>>31),O[6]^=F,O[7]^=G,O[16]^=F,O[17]^=G,O[26]^=F,O[27]^=G,O[36]^=F,O[37]^=G,O[46]^=F,O[47]^=G,F=Y^(M<<1|_>>>31),G=X^(_<<1|M>>>31),O[8]^=F,O[9]^=G,O[18]^=F,O[19]^=G,O[28]^=F,O[29]^=G,O[38]^=F,O[39]^=G,O[48]^=F,O[49]^=G,Z=O[0],et=O[1],qt=O[11]<<4|O[10]>>>28,xt=O[10]<<4|O[11]>>>28,Ot=O[20]<<3|O[21]>>>29,lt=O[21]<<3|O[20]>>>29,Nt=O[31]<<9|O[30]>>>23,Gt=O[30]<<9|O[31]>>>23,_t=O[40]<<18|O[41]>>>14,Ht=O[41]<<18|O[40]>>>14,Ft=O[2]<<1|O[3]>>>31,vt=O[3]<<1|O[2]>>>31,rt=O[13]<<12|O[12]>>>20,nt=O[12]<<12|O[13]>>>20,Pt=O[22]<<10|O[23]>>>22,zt=O[23]<<10|O[22]>>>22,pt=O[33]<<13|O[32]>>>19,jt=O[32]<<13|O[33]>>>19,Kt=O[42]<<2|O[43]>>>30,Vt=O[43]<<2|O[42]>>>30,It=O[5]<<30|O[4]>>>2,Wt=O[4]<<30|O[5]>>>2,gt=O[14]<<6|O[15]>>>26,Lt=O[15]<<6|O[14]>>>26,tt=O[25]<<11|O[24]>>>21,ot=O[24]<<11|O[25]>>>21,Bt=O[34]<<15|O[35]>>>17,Ct=O[35]<<15|O[34]>>>17,yt=O[45]<<29|O[44]>>>3,mt=O[44]<<29|O[45]>>>3,ft=O[6]<<28|O[7]>>>4,bt=O[7]<<28|O[6]>>>4,Mt=O[17]<<23|O[16]>>>9,Ut=O[16]<<23|O[17]>>>9,wt=O[26]<<25|O[27]>>>7,At=O[27]<<25|O[26]>>>7,it=O[36]<<21|O[37]>>>11,at=O[37]<<21|O[36]>>>11,Jt=O[47]<<24|O[46]>>>8,Tt=O[46]<<24|O[47]>>>8,St=O[8]<<27|O[9]>>>5,Et=O[9]<<27|O[8]>>>5,ct=O[18]<<20|O[19]>>>12,dt=O[19]<<20|O[18]>>>12,Yt=O[29]<<7|O[28]>>>25,Rt=O[28]<<7|O[29]>>>25,Dt=O[38]<<8|O[39]>>>24,kt=O[39]<<8|O[38]>>>24,ut=O[48]<<14|O[49]>>>18,st=O[49]<<14|O[48]>>>18,O[0]=Z^~rt&tt,O[1]=et^~nt&ot,O[10]=ft^~ct&Ot,O[11]=bt^~dt&lt,O[20]=Ft^~gt&wt,O[21]=vt^~Lt&At,O[30]=St^~qt&Pt,O[31]=Et^~xt&zt,O[40]=It^~Mt&Yt,O[41]=Wt^~Ut&Rt,O[2]=rt^~tt&it,O[3]=nt^~ot&at,O[12]=ct^~Ot&pt,O[13]=dt^~lt&jt,O[22]=gt^~wt&Dt,O[23]=Lt^~At&kt,O[32]=qt^~Pt&Bt,O[33]=xt^~zt&Ct,O[42]=Mt^~Yt&Nt,O[43]=Ut^~Rt&Gt,O[4]=tt^~it&ut,O[5]=ot^~at&st,O[14]=Ot^~pt&yt,O[15]=lt^~jt&mt,O[24]=wt^~Dt&_t,O[25]=At^~kt&Ht,O[34]=Pt^~Bt&Jt,O[35]=zt^~Ct&Tt,O[44]=Yt^~Nt&Kt,O[45]=Rt^~Gt&Vt,O[6]=it^~ut&Z,O[7]=at^~st&et,O[16]=pt^~yt&ft,O[17]=jt^~mt&bt,O[26]=Dt^~_t&Ft,O[27]=kt^~Ht&vt,O[36]=Bt^~Jt&St,O[37]=Ct^~Tt&Et,O[46]=Nt^~Kt&It,O[47]=Gt^~Vt&Wt,O[8]=ut^~Z&rt,O[9]=st^~et&nt,O[18]=yt^~ft&ct,O[19]=mt^~bt&dt,O[28]=_t^~Ft&gt,O[29]=Ht^~vt&Lt,O[38]=Jt^~St&qt,O[39]=Tt^~Et&xt,O[48]=Kt^~It&Mt,O[49]=Vt^~Wt&Ut,O[0]^=a[H],O[1]^=a[H+1]};if(e)R.exports=D;else{for(m=0;m<L.length;++m)s[L[m]]=D[L[m]];u&&((h=(function(){return D}).call(y,c,y,R))===void 0||(R.exports=h))}})()},9989:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.createHashFunction=function(v){return function(p){var l=v();return l.update(p),h.from(l.digest())}}},1243:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0});var h=c(9989),v=c(3135);y.keccak224=h.createHashFunction(function(){return v("keccak224")}),y.keccak256=h.createHashFunction(function(){return v("keccak256")}),y.keccak384=h.createHashFunction(function(){return v("keccak384")}),y.keccak512=h.createHashFunction(function(){return v("keccak512")})},4893:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0});var h=c(5010);y.getRandomBytes=function(v){return new Promise(function(p,l){h(v,function(t,s){t?l(t):p(s)})})},y.getRandomBytesSync=function(v){return h(v)}},6992:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0});var h=c(7902),v=c(4893);y.createPrivateKey=function(){return p=this,l=void 0,s=function(){var f;return function(e,u){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(b){return function(w){return function(g){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&g[0]?i.return:g[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,g[1])).done)return r;switch(i=0,r&&(g=[2&g[0],r.value]),g[0]){case 0:case 1:r=g;break;case 4:return a.label++,{value:g[1],done:!1};case 5:a.label++,i=g[1],g=[0];continue;case 7:g=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||g[0]!==6&&g[0]!==2)){a=0;continue}if(g[0]===3&&(!r||g[1]>r[0]&&g[1]<r[3])){a.label=g[1];break}if(g[0]===6&&a.label<r[1]){a.label=r[1],r=g;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(g);break}r[2]&&a.ops.pop(),a.trys.pop();continue}g=u.call(e,a)}catch(A){g=[6,A],i=0}finally{n=r=0}if(5&g[0])throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}([b,w])}}}(this,function(e){switch(e.label){case 0:return[4,v.getRandomBytes(32)];case 1:return f=e.sent(),h.privateKeyVerify(f)?[2,f]:[3,0];case 2:return[2]}})},new((t=void 0)||(t=Promise))(function(f,e){function u(r){try{i(s.next(r))}catch(o){e(o)}}function n(r){try{i(s.throw(r))}catch(o){e(o)}}function i(r){var o;r.done?f(r.value):(o=r.value,o instanceof t?o:new t(function(a){a(o)})).then(u,n)}i((s=s.apply(p,l||[])).next())});var p,l,t,s},y.createPrivateKeySync=function(){for(;;){var p=v.getRandomBytesSync(32);if(h.privateKeyVerify(p))return p}},function(p){for(var l in p)y.hasOwnProperty(l)||(y[l]=p[l])}(c(7902))},1968:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.isZeroAddress=y.zeroAddress=y.importPublic=y.privateToAddress=y.privateToPublic=y.publicToAddress=y.pubToAddress=y.isValidPublic=y.isValidPrivate=y.generateAddress2=y.generateAddress=y.isValidChecksumAddress=y.toChecksumAddress=y.isValidAddress=y.Account=void 0;var v,p=(v=c(3894))&&v.__esModule?v:{default:v},l=c(9100),t=c(6992),s=c(3271),f=c(986),e=c(3464),u=c(9808),n=c(5725),i=c(5513),r=function(){function o(a,d,b,w){a===void 0&&(a=new l.BN(0)),d===void 0&&(d=new l.BN(0)),b===void 0&&(b=f.KECCAK256_RLP),w===void 0&&(w=f.KECCAK256_NULL),this.nonce=a,this.balance=d,this.stateRoot=b,this.codeHash=w,this._validate()}return o.fromAccountData=function(a){var d=a.nonce,b=a.balance,w=a.stateRoot,g=a.codeHash;return new o(d?new l.BN((0,e.toBuffer)(d)):void 0,b?new l.BN((0,e.toBuffer)(b)):void 0,w?(0,e.toBuffer)(w):void 0,g?(0,e.toBuffer)(g):void 0)},o.fromRlpSerializedAccount=function(a){var d=l.rlp.decode(a);if(!Array.isArray(d))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(d)},o.fromValuesArray=function(a){var d=function(T,S){var E=typeof Symbol=="function"&&T[Symbol.iterator];if(!E)return T;var k,I,N=E.call(T),D=[];try{for(;(S===void 0||S-- >0)&&!(k=N.next()).done;)D.push(k.value)}catch(L){I={error:L}}finally{try{k&&!k.done&&(E=N.return)&&E.call(N)}finally{if(I)throw I.error}}return D}(a,4),b=d[0],w=d[1],g=d[2],A=d[3];return new o(new l.BN(b),new l.BN(w),g,A)},o.prototype._validate=function(){if(this.nonce.lt(new l.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new l.BN(0)))throw new Error("balance must be greater than zero");if(this.stateRoot.length!==32)throw new Error("stateRoot must have a length of 32");if(this.codeHash.length!==32)throw new Error("codeHash must have a length of 32")},o.prototype.raw=function(){return[(0,i.bnToUnpaddedBuffer)(this.nonce),(0,i.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},o.prototype.serialize=function(){return l.rlp.encode(this.raw())},o.prototype.isContract=function(){return!this.codeHash.equals(f.KECCAK256_NULL)},o.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(f.KECCAK256_NULL)},o}();y.Account=r,y.isValidAddress=function(o){try{(0,n.assertIsString)(o)}catch{return!1}return/^0x[0-9a-fA-F]{40}$/.test(o)},y.toChecksumAddress=function(o,a){(0,n.assertIsHexString)(o);var d=(0,s.stripHexPrefix)(o).toLowerCase(),b="";a&&(b=(0,i.toType)(a,i.TypeOutput.BN).toString()+"0x");for(var w=(0,u.keccakFromString)(b+d).toString("hex"),g="0x",A=0;A<d.length;A++)parseInt(w[A],16)>=8?g+=d[A].toUpperCase():g+=d[A];return g},y.isValidChecksumAddress=function(o,a){return(0,y.isValidAddress)(o)&&(0,y.toChecksumAddress)(o,a)===o},y.generateAddress=function(o,a){(0,n.assertIsBuffer)(o),(0,n.assertIsBuffer)(a);var d=new l.BN(a);return d.isZero()?(0,u.rlphash)([o,null]).slice(-20):(0,u.rlphash)([o,h.from(d.toArray())]).slice(-20)},y.generateAddress2=function(o,a,d){return(0,n.assertIsBuffer)(o),(0,n.assertIsBuffer)(a),(0,n.assertIsBuffer)(d),(0,p.default)(o.length===20),(0,p.default)(a.length===32),(0,u.keccak256)(h.concat([h.from("ff","hex"),o,a,(0,u.keccak256)(d)])).slice(-20)},y.isValidPrivate=function(o){return(0,t.privateKeyVerify)(o)},y.isValidPublic=function(o,a){return a===void 0&&(a=!1),(0,n.assertIsBuffer)(o),o.length===64?(0,t.publicKeyVerify)(h.concat([h.from([4]),o])):!!a&&(0,t.publicKeyVerify)(o)},y.pubToAddress=function(o,a){return a===void 0&&(a=!1),(0,n.assertIsBuffer)(o),a&&o.length!==64&&(o=h.from((0,t.publicKeyConvert)(o,!1).slice(1))),(0,p.default)(o.length===64),(0,u.keccak)(o).slice(-20)},y.publicToAddress=y.pubToAddress,y.privateToPublic=function(o){return(0,n.assertIsBuffer)(o),h.from((0,t.publicKeyCreate)(o,!1)).slice(1)},y.privateToAddress=function(o){return(0,y.publicToAddress)((0,y.privateToPublic)(o))},y.importPublic=function(o){return(0,n.assertIsBuffer)(o),o.length!==64&&(o=h.from((0,t.publicKeyConvert)(o,!1).slice(1))),o},y.zeroAddress=function(){var o=(0,e.zeros)(20);return(0,e.bufferToHex)(o)},y.isZeroAddress=function(o){try{(0,n.assertIsString)(o)}catch{return!1}return(0,y.zeroAddress)()===o}},1984:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.Address=void 0;var v,p=(v=c(3894))&&v.__esModule?v:{default:v},l=c(9100),t=c(3464),s=c(1968),f=function(){function e(u){(0,p.default)(u.length===20,"Invalid address length"),this.buf=u}return e.zero=function(){return new e((0,t.zeros)(20))},e.fromString=function(u){return(0,p.default)((0,s.isValidAddress)(u),"Invalid address"),new e((0,t.toBuffer)(u))},e.fromPublicKey=function(u){return(0,p.default)(h.isBuffer(u),"Public key should be Buffer"),new e((0,s.pubToAddress)(u))},e.fromPrivateKey=function(u){return(0,p.default)(h.isBuffer(u),"Private key should be Buffer"),new e((0,s.privateToAddress)(u))},e.generate=function(u,n){return(0,p.default)(l.BN.isBN(n)),new e((0,s.generateAddress)(u.buf,n.toArrayLike(h)))},e.generate2=function(u,n,i){return(0,p.default)(h.isBuffer(n)),(0,p.default)(h.isBuffer(i)),new e((0,s.generateAddress2)(u.buf,n,i))},e.prototype.equals=function(u){return this.buf.equals(u.buf)},e.prototype.isZero=function(){return this.equals(e.zero())},e.prototype.isPrecompileOrSystemAddress=function(){var u=new l.BN(this.buf),n=new l.BN(0),i=new l.BN("ffff","hex");return u.gte(n)&&u.lte(i)},e.prototype.toString=function(){return"0x"+this.buf.toString("hex")},e.prototype.toBuffer=function(){return h.from(this.buf)},e}();y.Address=f},3464:(R,y,c)=>{var h=c(9033).Buffer,v=function(e,u){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(u===void 0||u-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(d){r={error:d}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};Object.defineProperty(y,"__esModule",{value:!0}),y.bufArrToArr=y.arrToBufArr=y.validateNoLeadingZeroes=y.baToJSON=y.toUtf8=y.addHexPrefix=y.toUnsigned=y.fromSigned=y.bufferToHex=y.bufferToInt=y.toBuffer=y.unpadHexString=y.unpadArray=y.unpadBuffer=y.setLengthRight=y.setLengthLeft=y.zeros=y.intToBuffer=y.intToHex=void 0;var p=c(9100),l=c(3271),t=c(5725);y.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Received an invalid integer type: ".concat(e));return"0x".concat(e.toString(16))},y.intToBuffer=function(e){var u=(0,y.intToHex)(e);return h.from((0,l.padToEven)(u.slice(2)),"hex")},y.zeros=function(e){return h.allocUnsafe(e).fill(0)};var s=function(e,u,n){var i=(0,y.zeros)(u);return n?e.length<u?(e.copy(i),i):e.slice(0,u):e.length<u?(e.copy(i,u-e.length),i):e.slice(-u)};y.setLengthLeft=function(e,u){return(0,t.assertIsBuffer)(e),s(e,u,!1)},y.setLengthRight=function(e,u){return(0,t.assertIsBuffer)(e),s(e,u,!0)};var f=function(e){for(var u=e[0];e.length>0&&u.toString()==="0";)u=(e=e.slice(1))[0];return e};y.unpadBuffer=function(e){return(0,t.assertIsBuffer)(e),f(e)},y.unpadArray=function(e){return(0,t.assertIsArray)(e),f(e)},y.unpadHexString=function(e){return(0,t.assertIsHexString)(e),e=(0,l.stripHexPrefix)(e),f(e)},y.toBuffer=function(e){if(e==null)return h.allocUnsafe(0);if(h.isBuffer(e)||Array.isArray(e)||e instanceof Uint8Array)return h.from(e);if(typeof e=="string"){if(!(0,l.isHexString)(e))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(e));return h.from((0,l.padToEven)((0,l.stripHexPrefix)(e)),"hex")}if(typeof e=="number")return(0,y.intToBuffer)(e);if(p.BN.isBN(e)){if(e.isNeg())throw new Error("Cannot convert negative BN to buffer. Given: ".concat(e));return e.toArrayLike(h)}if(e.toArray)return h.from(e.toArray());if(e.toBuffer)return h.from(e.toBuffer());throw new Error("invalid type")},y.bufferToInt=function(e){return new p.BN((0,y.toBuffer)(e)).toNumber()},y.bufferToHex=function(e){return"0x"+(e=(0,y.toBuffer)(e)).toString("hex")},y.fromSigned=function(e){return new p.BN(e).fromTwos(256)},y.toUnsigned=function(e){return h.from(e.toTwos(256).toArray())},y.addHexPrefix=function(e){return typeof e!="string"||(0,l.isHexPrefixed)(e)?e:"0x"+e},y.toUtf8=function(e){if((e=(0,l.stripHexPrefix)(e)).length%2!=0)throw new Error("Invalid non-even hex string input for toUtf8() provided");return h.from(e.replace(/^(00)+|(00)+$/g,""),"hex").toString("utf8")},y.baToJSON=function(e){if(h.isBuffer(e))return"0x".concat(e.toString("hex"));if(e instanceof Array){for(var u=[],n=0;n<e.length;n++)u.push((0,y.baToJSON)(e[n]));return u}},y.validateNoLeadingZeroes=function(e){var u,n;try{for(var i=function(b){var w=typeof Symbol=="function"&&Symbol.iterator,g=w&&b[w],A=0;if(g)return g.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&A>=b.length&&(b=void 0),{value:b&&b[A++],done:!b}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(e)),r=i.next();!r.done;r=i.next()){var o=v(r.value,2),a=o[0],d=o[1];if(d!==void 0&&d.length>0&&d[0]===0)throw new Error("".concat(a," cannot have leading zeroes, received: ").concat(d.toString("hex")))}}catch(b){u={error:b}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(u)throw u.error}}},y.arrToBufArr=function e(u){return Array.isArray(u)?u.map(function(n){return e(n)}):h.from(u)},y.bufArrToArr=function e(u){return Array.isArray(u)?u.map(function(n){return e(n)}):Uint8Array.from(u??[])}},986:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.KECCAK256_RLP=y.KECCAK256_RLP_S=y.KECCAK256_RLP_ARRAY=y.KECCAK256_RLP_ARRAY_S=y.KECCAK256_NULL=y.KECCAK256_NULL_S=y.TWO_POW256=y.MAX_INTEGER=y.MAX_UINT64=void 0;var h=c(9033),v=c(9100);y.MAX_UINT64=new v.BN("ffffffffffffffff",16),y.MAX_INTEGER=new v.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),y.TWO_POW256=new v.BN("10000000000000000000000000000000000000000000000000000000000000000",16),y.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",y.KECCAK256_NULL=h.Buffer.from(y.KECCAK256_NULL_S,"hex"),y.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",y.KECCAK256_RLP_ARRAY=h.Buffer.from(y.KECCAK256_RLP_ARRAY_S,"hex"),y.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",y.KECCAK256_RLP=h.Buffer.from(y.KECCAK256_RLP_S,"hex")},9100:(R,y,c)=>{var h=Object.create?function(s,f,e,u){u===void 0&&(u=e);var n=Object.getOwnPropertyDescriptor(f,e);n&&!("get"in n?!f.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return f[e]}}),Object.defineProperty(s,u,n)}:function(s,f,e,u){u===void 0&&(u=e),s[u]=f[e]},v=Object.create?function(s,f){Object.defineProperty(s,"default",{enumerable:!0,value:f})}:function(s,f){s.default=f};Object.defineProperty(y,"__esModule",{value:!0}),y.rlp=y.BN=void 0;var p,l=(p=c(1734))&&p.__esModule?p:{default:p};y.BN=l.default;var t=function(s){if(s&&s.__esModule)return s;var f={};if(s!=null)for(var e in s)e!=="default"&&Object.prototype.hasOwnProperty.call(s,e)&&h(f,s,e);return v(f,s),f}(c(6905));y.rlp=t},9808:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.rlphash=y.ripemd160FromArray=y.ripemd160FromString=y.ripemd160=y.sha256FromArray=y.sha256FromString=y.sha256=y.keccakFromArray=y.keccakFromHexString=y.keccakFromString=y.keccak256=y.keccak=void 0;var v=c(1243),p=c(5866),l=c(9100),t=c(3464),s=c(5725);y.keccak=function(u,n){switch(n===void 0&&(n=256),(0,s.assertIsBuffer)(u),n){case 224:return(0,v.keccak224)(u);case 256:return(0,v.keccak256)(u);case 384:return(0,v.keccak384)(u);case 512:return(0,v.keccak512)(u);default:throw new Error("Invald algorithm: keccak".concat(n))}},y.keccak256=function(u){return(0,y.keccak)(u)},y.keccakFromString=function(u,n){n===void 0&&(n=256),(0,s.assertIsString)(u);var i=h.from(u,"utf8");return(0,y.keccak)(i,n)},y.keccakFromHexString=function(u,n){return n===void 0&&(n=256),(0,s.assertIsHexString)(u),(0,y.keccak)((0,t.toBuffer)(u),n)},y.keccakFromArray=function(u,n){return n===void 0&&(n=256),(0,s.assertIsArray)(u),(0,y.keccak)((0,t.toBuffer)(u),n)};var f=function(u){return u=(0,t.toBuffer)(u),p("sha256").update(u).digest()};y.sha256=function(u){return(0,s.assertIsBuffer)(u),f(u)},y.sha256FromString=function(u){return(0,s.assertIsString)(u),f(u)},y.sha256FromArray=function(u){return(0,s.assertIsArray)(u),f(u)};var e=function(u,n){u=(0,t.toBuffer)(u);var i=p("rmd160").update(u).digest();return n===!0?(0,t.setLengthLeft)(i,32):i};y.ripemd160=function(u,n){return(0,s.assertIsBuffer)(u),e(u,n)},y.ripemd160FromString=function(u,n){return(0,s.assertIsString)(u),e(u,n)},y.ripemd160FromArray=function(u,n){return(0,s.assertIsArray)(u),e(u,n)},y.rlphash=function(u){return(0,y.keccak)(l.rlp.encode(u))}},5725:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.assertIsString=y.assertIsArray=y.assertIsBuffer=y.assertIsHexString=void 0;var v=c(3271);y.assertIsHexString=function(p){if(!(0,v.isHexString)(p)){var l="This method only supports 0x-prefixed hex strings but input was: ".concat(p);throw new Error(l)}},y.assertIsBuffer=function(p){if(!h.isBuffer(p)){var l="This method only supports Buffer but input was: ".concat(p);throw new Error(l)}},y.assertIsArray=function(p){if(!Array.isArray(p)){var l="This method only supports number arrays but input was: ".concat(p);throw new Error(l)}},y.assertIsString=function(p){if(typeof p!="string"){var l="This method only supports strings but input was: ".concat(p);throw new Error(l)}}},3062:(R,y,c)=>{var h=Object.create?function(l,t,s,f){f===void 0&&(f=s);var e=Object.getOwnPropertyDescriptor(t,s);e&&!("get"in e?!t.__esModule:e.writable||e.configurable)||(e={enumerable:!0,get:function(){return t[s]}}),Object.defineProperty(l,f,e)}:function(l,t,s,f){f===void 0&&(f=s),l[f]=t[s]},v=function(l,t){for(var s in l)s==="default"||Object.prototype.hasOwnProperty.call(t,s)||h(t,l,s)};Object.defineProperty(y,"__esModule",{value:!0}),y.isHexString=y.getKeys=y.fromAscii=y.fromUtf8=y.toAscii=y.arrayContainsArray=y.getBinarySize=y.padToEven=y.stripHexPrefix=y.isHexPrefixed=void 0,v(c(986),y),v(c(1968),y),v(c(1984),y),v(c(9808),y),v(c(6081),y),v(c(3464),y),v(c(1677),y),v(c(9100),y),v(c(5513),y);var p=c(3271);Object.defineProperty(y,"isHexPrefixed",{enumerable:!0,get:function(){return p.isHexPrefixed}}),Object.defineProperty(y,"stripHexPrefix",{enumerable:!0,get:function(){return p.stripHexPrefix}}),Object.defineProperty(y,"padToEven",{enumerable:!0,get:function(){return p.padToEven}}),Object.defineProperty(y,"getBinarySize",{enumerable:!0,get:function(){return p.getBinarySize}}),Object.defineProperty(y,"arrayContainsArray",{enumerable:!0,get:function(){return p.arrayContainsArray}}),Object.defineProperty(y,"toAscii",{enumerable:!0,get:function(){return p.toAscii}}),Object.defineProperty(y,"fromUtf8",{enumerable:!0,get:function(){return p.fromUtf8}}),Object.defineProperty(y,"fromAscii",{enumerable:!0,get:function(){return p.fromAscii}}),Object.defineProperty(y,"getKeys",{enumerable:!0,get:function(){return p.getKeys}}),Object.defineProperty(y,"isHexString",{enumerable:!0,get:function(){return p.isHexString}})},3271:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847)(c(3355));function p(t){if(typeof t!="string")throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat((0,v.default)(t)));return t[0]==="0"&&t[1]==="x"}function l(t){var s=t;if(typeof s!="string")throw new Error("[padToEven] value must be type 'string', received ".concat((0,v.default)(s)));return s.length%2&&(s="0".concat(s)),s}Object.defineProperty(y,"__esModule",{value:!0}),y.isHexString=y.getKeys=y.fromAscii=y.fromUtf8=y.toAscii=y.arrayContainsArray=y.getBinarySize=y.padToEven=y.stripHexPrefix=y.isHexPrefixed=void 0,y.isHexPrefixed=p,y.stripHexPrefix=function(t){if(typeof t!="string")throw new Error("[stripHexPrefix] input must be type 'string', received ".concat((0,v.default)(t)));return p(t)?t.slice(2):t},y.padToEven=l,y.getBinarySize=function(t){if(typeof t!="string")throw new Error("[getBinarySize] method requires input type 'string', recieved ".concat((0,v.default)(t)));return h.byteLength(t,"utf8")},y.arrayContainsArray=function(t,s,f){if(Array.isArray(t)!==!0)throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat((0,v.default)(t),"'"));if(Array.isArray(s)!==!0)throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat((0,v.default)(s),"'"));return s[f?"some":"every"](function(e){return t.indexOf(e)>=0})},y.toAscii=function(t){var s="",f=0,e=t.length;for(t.substring(0,2)==="0x"&&(f=2);f<e;f+=2){var u=parseInt(t.substr(f,2),16);s+=String.fromCharCode(u)}return s},y.fromUtf8=function(t){var s=h.from(t,"utf8");return"0x".concat(l(s.toString("hex")).replace(/^0+|0+$/g,""))},y.fromAscii=function(t){for(var s="",f=0;f<t.length;f++){var e=t.charCodeAt(f).toString(16);s+=e.length<2?"0".concat(e):e}return"0x".concat(s)},y.getKeys=function(t,s,f){if(!Array.isArray(t))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat((0,v.default)(t)));if(typeof s!="string")throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat((0,v.default)(t)));for(var e=[],u=0;u<t.length;u++){var n=t[u][s];if(f&&!n)n="";else if(typeof n!="string")throw new Error("invalid abi - expected type 'string', received ".concat((0,v.default)(n)));e.push(n)}return e},y.isHexString=function(t,s){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||s&&t.length!==2+2*s)}},1677:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847)(c(3355));Object.defineProperty(y,"__esModule",{value:!0}),y.defineProperties=void 0;var p,l=(p=c(3894))&&p.__esModule?p:{default:p},t=c(3271),s=c(9100),f=c(3464);y.defineProperties=function(e,u,n){if(e.raw=[],e._fields=[],e.toJSON=function(r){if(r===void 0&&(r=!1),r){var o={};return e._fields.forEach(function(a){o[a]="0x".concat(e[a].toString("hex"))}),o}return(0,f.baToJSON)(e.raw)},e.serialize=function(){return s.rlp.encode(e.raw)},u.forEach(function(r,o){function a(){return e.raw[o]}function d(b){(b=(0,f.toBuffer)(b)).toString("hex")!=="00"||r.allowZero||(b=h.allocUnsafe(0)),r.allowLess&&r.length?(b=(0,f.unpadBuffer)(b),(0,l.default)(r.length>=b.length,"The field ".concat(r.name," must not have more ").concat(r.length," bytes"))):r.allowZero&&b.length===0||!r.length||(0,l.default)(r.length===b.length,"The field ".concat(r.name," must have byte length of ").concat(r.length)),e.raw[o]=b}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:a,set:d}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:d,get:a})}),n)if(typeof n=="string"&&(n=h.from((0,t.stripHexPrefix)(n),"hex")),h.isBuffer(n)&&(n=s.rlp.decode(n)),Array.isArray(n)){if(n.length>e._fields.length)throw new Error("wrong number of fields in data");n.forEach(function(r,o){e[e._fields[o]]=(0,f.toBuffer)(r)})}else{if((0,v.default)(n)!=="object")throw new Error("invalid data");var i=Object.keys(n);u.forEach(function(r){i.indexOf(r.name)!==-1&&(e[r.name]=n[r.name]),i.indexOf(r.alias)!==-1&&(e[r.alias]=n[r.alias])})}}},6081:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.hashPersonalMessage=y.isValidSignature=y.fromRpcSig=y.toCompactSig=y.toRpcSig=y.ecrecover=y.ecsign=void 0;var v=c(6992),p=c(9100),l=c(3464),t=c(9808),s=c(5725),f=c(5513);function e(n,i){var r=(0,f.toType)(n,f.TypeOutput.BN);if(r.eqn(0)||r.eqn(1))return(0,f.toType)(n,f.TypeOutput.BN);if(!i)return r.subn(27);var o=(0,f.toType)(i,f.TypeOutput.BN);return r.sub(o.muln(2).addn(35))}function u(n){var i=new p.BN(n);return i.eqn(0)||i.eqn(1)}y.ecsign=function(n,i,r){var o=(0,v.ecdsaSign)(n,i),a=o.signature,d=o.recid,b=h.from(a.slice(0,32)),w=h.from(a.slice(32,64));if(!r||typeof r=="number"){if(r&&!Number.isSafeInteger(r))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");return{r:b,s:w,v:r?d+(2*r+35):d+27}}return{r:b,s:w,v:(0,f.toType)(r,f.TypeOutput.BN).muln(2).addn(35).addn(d).toArrayLike(h)}},y.ecrecover=function(n,i,r,o,a){var d=h.concat([(0,l.setLengthLeft)(r,32),(0,l.setLengthLeft)(o,32)],64),b=e(i,a);if(!u(b))throw new Error("Invalid signature v value");var w=(0,v.ecdsaRecover)(d,b.toNumber(),n);return h.from((0,v.publicKeyConvert)(w,!1).slice(1))},y.toRpcSig=function(n,i,r,o){if(!u(e(n,o)))throw new Error("Invalid signature v value");return(0,l.bufferToHex)(h.concat([(0,l.setLengthLeft)(i,32),(0,l.setLengthLeft)(r,32),(0,l.toBuffer)(n)]))},y.toCompactSig=function(n,i,r,o){if(!u(e(n,o)))throw new Error("Invalid signature v value");var a=(0,f.toType)(n,f.TypeOutput.Number),d=r;return(a>28&&a%2==1||a===1||a===28)&&((d=h.from(r))[0]|=128),(0,l.bufferToHex)(h.concat([(0,l.setLengthLeft)(i,32),(0,l.setLengthLeft)(d,32)]))},y.fromRpcSig=function(n){var i,r,o,a=(0,l.toBuffer)(n);if(a.length>=65)i=a.slice(0,32),r=a.slice(32,64),o=(0,l.bufferToInt)(a.slice(64));else{if(a.length!==64)throw new Error("Invalid signature length");i=a.slice(0,32),r=a.slice(32,64),o=(0,l.bufferToInt)(a.slice(32,33))>>7,r[0]&=127}return o<27&&(o+=27),{v:o,r:i,s:r}},y.isValidSignature=function(n,i,r,o,a){o===void 0&&(o=!0);var d=new p.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),b=new p.BN("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(i.length!==32||r.length!==32||!u(e(n,a)))return!1;var w=new p.BN(i),g=new p.BN(r);return!(w.isZero()||w.gt(b)||g.isZero()||g.gt(b)||o&&g.cmp(d)===1)},y.hashPersonalMessage=function(n){(0,s.assertIsBuffer)(n);var i=h.from(`Ethereum Signed Message:
17
+ `.concat(n.length),"utf-8");return(0,t.keccak)(h.concat([i,n]))}},5513:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.toType=y.TypeOutput=y.bnToRlp=y.bnToUnpaddedBuffer=y.bnToHex=void 0;var v,p=c(9100),l=c(3271),t=c(3464);function s(f){return(0,t.unpadBuffer)(f.toArrayLike(h))}y.bnToHex=function(f){return"0x".concat(f.toString(16))},y.bnToUnpaddedBuffer=s,y.bnToRlp=function(f){return s(f)},function(f){f[f.Number=0]="Number",f[f.BN=1]="BN",f[f.Buffer=2]="Buffer",f[f.PrefixedHexString=3]="PrefixedHexString"}(v=y.TypeOutput||(y.TypeOutput={})),y.toType=function(f,e){if(f===null)return null;if(f!==void 0){if(typeof f=="string"&&!(0,l.isHexString)(f))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(f));if(typeof f=="number"&&!Number.isSafeInteger(f))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var u=(0,t.toBuffer)(f);if(e===v.Buffer)return u;if(e===v.BN)return new p.BN(u);if(e===v.Number){var n=new p.BN(u),i=new p.BN(Number.MAX_SAFE_INTEGER.toString());if(n.gt(i))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return n.toNumber()}return"0x".concat(u.toString("hex"))}}},7130:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1734),p=c(7277),l=new v(0),t=new v(-1),s={noether:"0",wei:"1",kwei:"1000",Kwei:"1000",babbage:"1000",femtoether:"1000",mwei:"1000000",Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};function f(u){var n=u?u.toLowerCase():"ether",i=s[n];if(typeof i!="string")throw new Error("[ethjs-unit] the unit provided "+u+" doesn't exists, please use the one of the following units "+JSON.stringify(s,null,2));return new v(i,10)}function e(u){if(typeof u=="string"){if(!u.match(/^-?[0-9.]+$/))throw new Error("while converting number to string, invalid number value '"+u+"', should be a number matching (^-?[0-9.]+).");return u}if(typeof u=="number")return String(u);if((0,h.default)(u)==="object"&&u.toString&&(u.toTwos||u.dividedToIntegerBy))return u.toPrecision?String(u.toPrecision()):u.toString(10);throw new Error("while converting number to string, invalid number value '"+u+"' type "+(0,h.default)(u)+".")}R.exports={unitMap:s,numberToString:e,getValueOfUnit:f,fromWei:function(u,n,i){var r=p(u),o=r.lt(l),a=f(n),d=s[n].length-1||1,b=i||{};o&&(r=r.mul(t));for(var w=r.mod(a).toString(10);w.length<d;)w="0"+w;b.pad||(w=w.match(/^([0-9]*[1-9]|0)(0*)/)[1]);var g=r.div(a).toString(10);b.commify&&(g=g.replace(/\B(?=(\d{3})+(?!\d))/g,","));var A=g+(w=="0"?"":"."+w);return o&&(A="-"+A),A},toWei:function(u,n){var i=e(u),r=f(n),o=s[n].length-1||1,a=i.substring(0,1)==="-";if(a&&(i=i.substring(1)),i===".")throw new Error("[ethjs-unit] while converting number "+u+" to wei, invalid value");var d=i.split(".");if(d.length>2)throw new Error("[ethjs-unit] while converting number "+u+" to wei, too many decimal points");var b=d[0],w=d[1];if(b||(b="0"),w||(w="0"),w.length>o)throw new Error("[ethjs-unit] while converting number "+u+" to wei, too many decimal places");for(;w.length<o;)w+="0";b=new v(b),w=new v(w);var g=b.mul(r).add(w);return a&&(g=g.mul(t)),new v(g.toString(10),10)}}},8008:R=>{var y=Object.prototype.hasOwnProperty,c="~";function h(){}function v(s,f,e){this.fn=s,this.context=f,this.once=e||!1}function p(s,f,e,u,n){if(typeof e!="function")throw new TypeError("The listener must be a function");var i=new v(e,u||s,n),r=c?c+f:f;return s._events[r]?s._events[r].fn?s._events[r]=[s._events[r],i]:s._events[r].push(i):(s._events[r]=i,s._eventsCount++),s}function l(s,f){--s._eventsCount==0?s._events=new h:delete s._events[f]}function t(){this._events=new h,this._eventsCount=0}Object.create&&(h.prototype=Object.create(null),new h().__proto__||(c=!1)),t.prototype.eventNames=function(){var s,f,e=[];if(this._eventsCount===0)return e;for(f in s=this._events)y.call(s,f)&&e.push(c?f.slice(1):f);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(s)):e},t.prototype.listeners=function(s){var f=c?c+s:s,e=this._events[f];if(!e)return[];if(e.fn)return[e.fn];for(var u=0,n=e.length,i=new Array(n);u<n;u++)i[u]=e[u].fn;return i},t.prototype.listenerCount=function(s){var f=c?c+s:s,e=this._events[f];return e?e.fn?1:e.length:0},t.prototype.emit=function(s,f,e,u,n,i){var r=c?c+s:s;if(!this._events[r])return!1;var o,a,d=this._events[r],b=arguments.length;if(d.fn){switch(d.once&&this.removeListener(s,d.fn,void 0,!0),b){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,f),!0;case 3:return d.fn.call(d.context,f,e),!0;case 4:return d.fn.call(d.context,f,e,u),!0;case 5:return d.fn.call(d.context,f,e,u,n),!0;case 6:return d.fn.call(d.context,f,e,u,n,i),!0}for(a=1,o=new Array(b-1);a<b;a++)o[a-1]=arguments[a];d.fn.apply(d.context,o)}else{var w,g=d.length;for(a=0;a<g;a++)switch(d[a].once&&this.removeListener(s,d[a].fn,void 0,!0),b){case 1:d[a].fn.call(d[a].context);break;case 2:d[a].fn.call(d[a].context,f);break;case 3:d[a].fn.call(d[a].context,f,e);break;case 4:d[a].fn.call(d[a].context,f,e,u);break;default:if(!o)for(w=1,o=new Array(b-1);w<b;w++)o[w-1]=arguments[w];d[a].fn.apply(d[a].context,o)}}return!0},t.prototype.on=function(s,f,e){return p(this,s,f,e,!1)},t.prototype.once=function(s,f,e){return p(this,s,f,e,!0)},t.prototype.removeListener=function(s,f,e,u){var n=c?c+s:s;if(!this._events[n])return this;if(!f)return l(this,n),this;var i=this._events[n];if(i.fn)i.fn!==f||u&&!i.once||e&&i.context!==e||l(this,n);else{for(var r=0,o=[],a=i.length;r<a;r++)(i[r].fn!==f||u&&!i[r].once||e&&i[r].context!==e)&&o.push(i[r]);o.length?this._events[n]=o.length===1?o[0]:o:l(this,n)}return this},t.prototype.removeAllListeners=function(s){var f;return s?(f=c?c+s:s,this._events[f]&&l(this,f)):(this._events=new h,this._eventsCount=0),this},t.prototype.off=t.prototype.removeListener,t.prototype.addListener=t.prototype.on,t.prefixed=c,t.EventEmitter=t,R.exports=t},8291:(R,y,c)=>{var h=c(8847)(c(3355)),v=Object.create||function(S){var E=function(){};return E.prototype=S,new E},p=Object.keys||function(S){var E=[];for(var k in S)Object.prototype.hasOwnProperty.call(S,k)&&E.push(k);return k},l=Function.prototype.bind||function(S){var E=this;return function(){return E.apply(S,arguments)}};function t(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=v(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}R.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0;var s,f=10;try{var e={};Object.defineProperty&&Object.defineProperty(e,"x",{value:0}),s=e.x===0}catch{s=!1}function u(S){return S._maxListeners===void 0?t.defaultMaxListeners:S._maxListeners}function n(S,E,k){if(E)S.call(k);else for(var I=S.length,N=T(S,I),D=0;D<I;++D)N[D].call(k)}function i(S,E,k,I){if(E)S.call(k,I);else for(var N=S.length,D=T(S,N),L=0;L<N;++L)D[L].call(k,I)}function r(S,E,k,I,N){if(E)S.call(k,I,N);else for(var D=S.length,L=T(S,D),m=0;m<D;++m)L[m].call(k,I,N)}function o(S,E,k,I,N,D){if(E)S.call(k,I,N,D);else for(var L=S.length,m=T(S,L),P=0;P<L;++P)m[P].call(k,I,N,D)}function a(S,E,k,I){if(E)S.apply(k,I);else for(var N=S.length,D=T(S,N),L=0;L<N;++L)D[L].apply(k,I)}function d(S,E,k,I){var N,D,L;if(typeof k!="function")throw new TypeError('"listener" argument must be a function');if((D=S._events)?(D.newListener&&(S.emit("newListener",E,k.listener?k.listener:k),D=S._events),L=D[E]):(D=S._events=v(null),S._eventsCount=0),L){if(typeof L=="function"?L=D[E]=I?[k,L]:[L,k]:I?L.unshift(k):L.push(k),!L.warned&&(N=u(S))&&N>0&&L.length>N){L.warned=!0;var m=new Error("Possible EventEmitter memory leak detected. "+L.length+' "'+String(E)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');m.name="MaxListenersExceededWarning",m.emitter=S,m.type=E,m.count=L.length,(typeof console>"u"?"undefined":(0,h.default)(console))==="object"&&console.warn&&console.warn("%s: %s",m.name,m.message)}}else L=D[E]=k,++S._eventsCount;return S}function b(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var S=new Array(arguments.length),E=0;E<S.length;++E)S[E]=arguments[E];this.listener.apply(this.target,S)}}function w(S,E,k){var I={fired:!1,wrapFn:void 0,target:S,type:E,listener:k},N=l.call(b,I);return N.listener=k,I.wrapFn=N,N}function g(S,E,k){var I=S._events;if(!I)return[];var N=I[E];return N?typeof N=="function"?k?[N.listener||N]:[N]:k?function(D){for(var L=new Array(D.length),m=0;m<L.length;++m)L[m]=D[m].listener||D[m];return L}(N):T(N,N.length):[]}function A(S){var E=this._events;if(E){var k=E[S];if(typeof k=="function")return 1;if(k)return k.length}return 0}function T(S,E){for(var k=new Array(E),I=0;I<E;++I)k[I]=S[I];return k}s?Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(S){if(typeof S!="number"||S<0||S!=S)throw new TypeError('"defaultMaxListeners" must be a positive number');f=S}}):t.defaultMaxListeners=f,t.prototype.setMaxListeners=function(S){if(typeof S!="number"||S<0||isNaN(S))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=S,this},t.prototype.getMaxListeners=function(){return u(this)},t.prototype.emit=function(S){var E,k,I,N,D,L,m=S==="error";if(L=this._events)m=m&&L.error==null;else if(!m)return!1;if(m){if(arguments.length>1&&(E=arguments[1]),E instanceof Error)throw E;var P=new Error('Unhandled "error" event. ('+E+")");throw P.context=E,P}if(!(k=L[S]))return!1;var C=typeof k=="function";switch(I=arguments.length){case 1:n(k,C,this);break;case 2:i(k,C,this,arguments[1]);break;case 3:r(k,C,this,arguments[1],arguments[2]);break;case 4:o(k,C,this,arguments[1],arguments[2],arguments[3]);break;default:for(N=new Array(I-1),D=1;D<I;D++)N[D-1]=arguments[D];a(k,C,this,N)}return!0},t.prototype.addListener=function(S,E){return d(this,S,E,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(S,E){return d(this,S,E,!0)},t.prototype.once=function(S,E){if(typeof E!="function")throw new TypeError('"listener" argument must be a function');return this.on(S,w(this,S,E)),this},t.prototype.prependOnceListener=function(S,E){if(typeof E!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(S,w(this,S,E)),this},t.prototype.removeListener=function(S,E){var k,I,N,D,L;if(typeof E!="function")throw new TypeError('"listener" argument must be a function');if(!(I=this._events))return this;if(!(k=I[S]))return this;if(k===E||k.listener===E)--this._eventsCount==0?this._events=v(null):(delete I[S],I.removeListener&&this.emit("removeListener",S,k.listener||E));else if(typeof k!="function"){for(N=-1,D=k.length-1;D>=0;D--)if(k[D]===E||k[D].listener===E){L=k[D].listener,N=D;break}if(N<0)return this;N===0?k.shift():function(m,P){for(var C=P,B=C+1,x=m.length;B<x;C+=1,B+=1)m[C]=m[B];m.pop()}(k,N),k.length===1&&(I[S]=k[0]),I.removeListener&&this.emit("removeListener",S,L||E)}return this},t.prototype.removeAllListeners=function(S){var E,k,I;if(!(k=this._events))return this;if(!k.removeListener)return arguments.length===0?(this._events=v(null),this._eventsCount=0):k[S]&&(--this._eventsCount==0?this._events=v(null):delete k[S]),this;if(arguments.length===0){var N,D=p(k);for(I=0;I<D.length;++I)(N=D[I])!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=v(null),this._eventsCount=0,this}if(typeof(E=k[S])=="function")this.removeListener(S,E);else if(E)for(I=E.length-1;I>=0;I--)this.removeListener(S,E[I]);return this},t.prototype.listeners=function(S){return g(this,S,!0)},t.prototype.rawListeners=function(S){return g(this,S,!1)},t.listenerCount=function(S,E){return typeof S.listenerCount=="function"?S.listenerCount(E):A.call(S,E)},t.prototype.listenerCount=A,t.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},7085:(R,y,c)=>{var h=c(8850).Buffer,v=c(807);R.exports=function(p,l,t,s){if(h.isBuffer(p)||(p=h.from(p,"binary")),l&&(h.isBuffer(l)||(l=h.from(l,"binary")),l.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var f=t/8,e=h.alloc(f),u=h.alloc(s||0),n=h.alloc(0);f>0||s>0;){var i=new v;i.update(n),i.update(p),l&&i.update(l),n=i.digest();var r=0;if(f>0){var o=e.length-f;r=Math.min(f,n.length),n.copy(e,o,0,r),f-=r}if(r<n.length&&s>0){var a=u.length-s,d=Math.min(s,n.length-r);n.copy(u,a,r,r+d),s-=d}}return n.fill(0),{key:e,iv:u}}},8184:(R,y,c)=>{var h=c(1493),v=Object.prototype.toString,p=Object.prototype.hasOwnProperty,l=function(f,e,u){for(var n=0,i=f.length;n<i;n++)p.call(f,n)&&(u==null?e(f[n],n,f):e.call(u,f[n],n,f))},t=function(f,e,u){for(var n=0,i=f.length;n<i;n++)u==null?e(f.charAt(n),n,f):e.call(u,f.charAt(n),n,f)},s=function(f,e,u){for(var n in f)p.call(f,n)&&(u==null?e(f[n],n,f):e.call(u,f[n],n,f))};R.exports=function(f,e,u){if(!h(e))throw new TypeError("iterator must be a function");var n;arguments.length>=3&&(n=u),v.call(f)==="[object Array]"?l(f,e,n):typeof f=="string"?t(f,e,n):s(f,e,n)}},3161:R=>{var y="Function.prototype.bind called on incompatible ",c=Array.prototype.slice,h=Object.prototype.toString,v="[object Function]";R.exports=function(p){var l=this;if(typeof l!="function"||h.call(l)!==v)throw new TypeError(y+l);for(var t,s=c.call(arguments,1),f=function(){if(this instanceof t){var r=l.apply(this,s.concat(c.call(arguments)));return Object(r)===r?r:this}return l.apply(p,s.concat(c.call(arguments)))},e=Math.max(0,l.length-s.length),u=[],n=0;n<e;n++)u.push("$"+n);if(t=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(f),l.prototype){var i=function(){};i.prototype=l.prototype,t.prototype=new i,i.prototype=null}return t}},3767:(R,y,c)=>{var h=c(3161);R.exports=Function.prototype.bind||h},7701:(R,y,c)=>{var h,v=c(8847)(c(3355)),p=SyntaxError,l=Function,t=TypeError,s=function(m){try{return l('"use strict"; return ('+m+").constructor;")()}catch{}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch{f=null}var e=function(){throw new t},u=f?function(){try{return e}catch{try{return f(arguments,"callee").get}catch{return e}}}():e,n=c(8489)(),i=Object.getPrototypeOf||function(m){return m.__proto__},r={},o=typeof Uint8Array>"u"?h:i(Uint8Array),a={"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":n?i([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":r,"%AsyncGenerator%":r,"%AsyncGeneratorFunction%":r,"%AsyncIteratorPrototype%":r,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":l,"%GeneratorFunction%":r,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":n?i(i([][Symbol.iterator]())):h,"%JSON%":(typeof JSON>"u"?"undefined":(0,v.default)(JSON))==="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map<"u"&&n?i(new Map()[Symbol.iterator]()):h,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set<"u"&&n?i(new Set()[Symbol.iterator]()):h,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":n?i(""[Symbol.iterator]()):h,"%Symbol%":n?Symbol:h,"%SyntaxError%":p,"%ThrowTypeError%":u,"%TypedArray%":o,"%TypeError%":t,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet},d=function m(P){var C;if(P==="%AsyncFunction%")C=s("async function () {}");else if(P==="%GeneratorFunction%")C=s("function* () {}");else if(P==="%AsyncGeneratorFunction%")C=s("async function* () {}");else if(P==="%AsyncGenerator%"){var B=m("%AsyncGeneratorFunction%");B&&(C=B.prototype)}else if(P==="%AsyncIteratorPrototype%"){var x=m("%AsyncGenerator%");x&&(C=i(x.prototype))}return a[P]=C,C},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=c(3767),g=c(1888),A=w.call(Function.call,Array.prototype.concat),T=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),E=w.call(Function.call,String.prototype.slice),k=w.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,D=function(m){var P=E(m,0,1),C=E(m,-1);if(P==="%"&&C!=="%")throw new p("invalid intrinsic syntax, expected closing `%`");if(C==="%"&&P!=="%")throw new p("invalid intrinsic syntax, expected opening `%`");var B=[];return S(m,I,function(x,j,K,V){B[B.length]=K?S(V,N,"$1"):j||x}),B},L=function(m,P){var C,B=m;if(g(b,B)&&(B="%"+(C=b[B])[0]+"%"),g(a,B)){var x=a[B];if(x===r&&(x=d(B)),x===void 0&&!P)throw new t("intrinsic "+m+" exists, but is not available. Please file an issue!");return{alias:C,name:B,value:x}}throw new p("intrinsic "+m+" does not exist!")};R.exports=function(m,P){if(typeof m!="string"||m.length===0)throw new t("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof P!="boolean")throw new t('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,m)===null)throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var C=D(m),B=C.length>0?C[0]:"",x=L("%"+B+"%",P),j=x.name,K=x.value,V=!1,J=x.alias;J&&(B=J[0],T(C,A([0,1],J)));for(var O=1,F=!0;O<C.length;O+=1){var G=C[O],H=E(G,0,1),M=E(G,-1);if((H==='"'||H==="'"||H==="`"||M==='"'||M==="'"||M==="`")&&H!==M)throw new p("property names with quotes must have matching quotes");if(G!=="constructor"&&F||(V=!0),g(a,j="%"+(B+="."+G)+"%"))K=a[j];else if(K!=null){if(!(G in K)){if(!P)throw new t("base intrinsic for "+m+" exists, but the property is not available.");return}if(f&&O+1>=C.length){var _=f(K,G);K=(F=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:K[G]}else F=g(K,G),K=K[G];F&&!V&&(a[j]=K)}}return K}},2948:(R,y,c)=>{var h;h=typeof window<"u"?window:c.g!==void 0?c.g:typeof self<"u"?self:{},R.exports=h},3820:(R,y,c)=>{var h=c(7701)("%Object.getOwnPropertyDescriptor%",!0);if(h)try{h([],"length")}catch{h=null}R.exports=h},8489:(R,y,c)=>{var h=c(8847)(c(3355)),v=typeof Symbol<"u"&&Symbol,p=c(7027);R.exports=function(){return typeof v=="function"&&typeof Symbol=="function"&&(0,h.default)(v("foo"))==="symbol"&&(0,h.default)(Symbol("bar"))==="symbol"&&p()}},7027:(R,y,c)=>{var h=c(8847)(c(3355));R.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if((0,h.default)(Symbol.iterator)==="symbol")return!0;var v={},p=Symbol("test"),l=Object(p);if(typeof p=="string"||Object.prototype.toString.call(p)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;for(p in v[p]=42,v)return!1;if(typeof Object.keys=="function"&&Object.keys(v).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(v).length!==0)return!1;var t=Object.getOwnPropertySymbols(v);if(t.length!==1||t[0]!==p||!Object.prototype.propertyIsEnumerable.call(v,p))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(v,p);if(s.value!==42||s.enumerable!==!0)return!1}return!0}},1191:(R,y,c)=>{var h=c(7027);R.exports=function(){return h()&&!!Symbol.toStringTag}},1888:(R,y,c)=>{var h=c(3767);R.exports=h.call(Function.call,Object.prototype.hasOwnProperty)},2353:(R,y,c)=>{var h=c(8850).Buffer,v=c(6505).Transform;function p(l){v.call(this),this._block=h.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}c(1736)(p,v),p.prototype._transform=function(l,t,s){var f=null;try{this.update(l,t)}catch(e){f=e}s(f)},p.prototype._flush=function(l){var t=null;try{this.push(this.digest())}catch(s){t=s}l(t)},p.prototype.update=function(l,t){if(function(i,r){if(!h.isBuffer(i)&&typeof i!="string")throw new TypeError("Data must be a string or a buffer")}(l),this._finalized)throw new Error("Digest already called");h.isBuffer(l)||(l=h.from(l,t));for(var s=this._block,f=0;this._blockOffset+l.length-f>=this._blockSize;){for(var e=this._blockOffset;e<this._blockSize;)s[e++]=l[f++];this._update(),this._blockOffset=0}for(;f<l.length;)s[this._blockOffset++]=l[f++];for(var u=0,n=8*l.length;n>0;++u)this._length[u]+=n,(n=this._length[u]/4294967296|0)>0&&(this._length[u]-=4294967296*n);return this},p.prototype._update=function(){throw new Error("_update is not implemented")},p.prototype.digest=function(l){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();l!==void 0&&(t=t.toString(l)),this._block.fill(0),this._blockOffset=0;for(var s=0;s<4;++s)this._length[s]=0;return t},p.prototype._digest=function(){throw new Error("_digest is not implemented")},R.exports=p},7198:(R,y,c)=>{var h=y;h.utils=c(4268),h.common=c(4696),h.sha=c(9310),h.ripemd=c(9294),h.hmac=c(3201),h.sha1=h.sha.sha1,h.sha256=h.sha.sha256,h.sha224=h.sha.sha224,h.sha384=h.sha.sha384,h.sha512=h.sha.sha512,h.ripemd160=h.ripemd.ripemd160},4696:(R,y,c)=>{var h=c(4268),v=c(4504);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}y.BlockHash=p,p.prototype.update=function(l,t){if(l=h.toArray(l,t),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var s=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-s,l.length),this.pending.length===0&&(this.pending=null),l=h.join32(l,0,l.length-s,this.endian);for(var f=0;f<l.length;f+=this._delta32)this._update(l,f,f+this._delta32)}return this},p.prototype.digest=function(l){return this.update(this._pad()),v(this.pending===null),this._digest(l)},p.prototype._pad=function(){var l=this.pendingTotal,t=this._delta8,s=t-(l+this.padLength)%t,f=new Array(s+this.padLength);f[0]=128;for(var e=1;e<s;e++)f[e]=0;if(l<<=3,this.endian==="big"){for(var u=8;u<this.padLength;u++)f[e++]=0;f[e++]=0,f[e++]=0,f[e++]=0,f[e++]=0,f[e++]=l>>>24&255,f[e++]=l>>>16&255,f[e++]=l>>>8&255,f[e++]=255&l}else for(f[e++]=255&l,f[e++]=l>>>8&255,f[e++]=l>>>16&255,f[e++]=l>>>24&255,f[e++]=0,f[e++]=0,f[e++]=0,f[e++]=0,u=8;u<this.padLength;u++)f[e++]=0;return f}},3201:(R,y,c)=>{var h=c(4268),v=c(4504);function p(l,t,s){if(!(this instanceof p))return new p(l,t,s);this.Hash=l,this.blockSize=l.blockSize/8,this.outSize=l.outSize/8,this.inner=null,this.outer=null,this._init(h.toArray(t,s))}R.exports=p,p.prototype._init=function(l){l.length>this.blockSize&&(l=new this.Hash().update(l).digest()),v(l.length<=this.blockSize);for(var t=l.length;t<this.blockSize;t++)l.push(0);for(t=0;t<l.length;t++)l[t]^=54;for(this.inner=new this.Hash().update(l),t=0;t<l.length;t++)l[t]^=106;this.outer=new this.Hash().update(l)},p.prototype.update=function(l,t){return this.inner.update(l,t),this},p.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},9294:(R,y,c)=>{var h=c(4268),v=c(4696),p=h.rotl32,l=h.sum32,t=h.sum32_3,s=h.sum32_4,f=v.BlockHash;function e(){if(!(this instanceof e))return new e;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(b,w,g,A){return b<=15?w^g^A:b<=31?w&g|~w&A:b<=47?(w|~g)^A:b<=63?w&A|g&~A:w^(g|~A)}function n(b){return b<=15?0:b<=31?1518500249:b<=47?1859775393:b<=63?2400959708:2840853838}function i(b){return b<=15?1352829926:b<=31?1548603684:b<=47?1836072691:b<=63?2053994217:0}h.inherits(e,f),y.ripemd160=e,e.blockSize=512,e.outSize=160,e.hmacStrength=192,e.padLength=64,e.prototype._update=function(b,w){for(var g=this.h[0],A=this.h[1],T=this.h[2],S=this.h[3],E=this.h[4],k=g,I=A,N=T,D=S,L=E,m=0;m<80;m++){var P=l(p(s(g,u(m,A,T,S),b[r[m]+w],n(m)),a[m]),E);g=E,E=S,S=p(T,10),T=A,A=P,P=l(p(s(k,u(79-m,I,N,D),b[o[m]+w],i(m)),d[m]),L),k=L,L=D,D=p(N,10),N=I,I=P}P=t(this.h[1],T,D),this.h[1]=t(this.h[2],S,L),this.h[2]=t(this.h[3],E,k),this.h[3]=t(this.h[4],g,I),this.h[4]=t(this.h[0],A,N),this.h[0]=P},e.prototype._digest=function(b){return b==="hex"?h.toHex32(this.h,"little"):h.split32(this.h,"little")};var r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],o=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],a=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},9310:(R,y,c)=>{y.sha1=c(8142),y.sha224=c(4909),y.sha256=c(7682),y.sha384=c(4532),y.sha512=c(6515)},8142:(R,y,c)=>{var h=c(4268),v=c(4696),p=c(70),l=h.rotl32,t=h.sum32,s=h.sum32_5,f=p.ft_1,e=v.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function n(){if(!(this instanceof n))return new n;e.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}h.inherits(n,e),R.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=function(i,r){for(var o=this.W,a=0;a<16;a++)o[a]=i[r+a];for(;a<o.length;a++)o[a]=l(o[a-3]^o[a-8]^o[a-14]^o[a-16],1);var d=this.h[0],b=this.h[1],w=this.h[2],g=this.h[3],A=this.h[4];for(a=0;a<o.length;a++){var T=~~(a/20),S=s(l(d,5),f(T,b,w,g),A,o[a],u[T]);A=g,g=w,w=l(b,30),b=d,d=S}this.h[0]=t(this.h[0],d),this.h[1]=t(this.h[1],b),this.h[2]=t(this.h[2],w),this.h[3]=t(this.h[3],g),this.h[4]=t(this.h[4],A)},n.prototype._digest=function(i){return i==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},4909:(R,y,c)=>{var h=c(4268),v=c(7682);function p(){if(!(this instanceof p))return new p;v.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}h.inherits(p,v),R.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(l){return l==="hex"?h.toHex32(this.h.slice(0,7),"big"):h.split32(this.h.slice(0,7),"big")}},7682:(R,y,c)=>{var h=c(4268),v=c(4696),p=c(70),l=c(4504),t=h.sum32,s=h.sum32_4,f=h.sum32_5,e=p.ch32,u=p.maj32,n=p.s0_256,i=p.s1_256,r=p.g0_256,o=p.g1_256,a=v.BlockHash,d=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;a.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=d,this.W=new Array(64)}h.inherits(b,a),R.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(w,g){for(var A=this.W,T=0;T<16;T++)A[T]=w[g+T];for(;T<A.length;T++)A[T]=s(o(A[T-2]),A[T-7],r(A[T-15]),A[T-16]);var S=this.h[0],E=this.h[1],k=this.h[2],I=this.h[3],N=this.h[4],D=this.h[5],L=this.h[6],m=this.h[7];for(l(this.k.length===A.length),T=0;T<A.length;T++){var P=f(m,i(N),e(N,D,L),this.k[T],A[T]),C=t(n(S),u(S,E,k));m=L,L=D,D=N,N=t(I,P),I=k,k=E,E=S,S=t(P,C)}this.h[0]=t(this.h[0],S),this.h[1]=t(this.h[1],E),this.h[2]=t(this.h[2],k),this.h[3]=t(this.h[3],I),this.h[4]=t(this.h[4],N),this.h[5]=t(this.h[5],D),this.h[6]=t(this.h[6],L),this.h[7]=t(this.h[7],m)},b.prototype._digest=function(w){return w==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},4532:(R,y,c)=>{var h=c(4268),v=c(6515);function p(){if(!(this instanceof p))return new p;v.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}h.inherits(p,v),R.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(l){return l==="hex"?h.toHex32(this.h.slice(0,12),"big"):h.split32(this.h.slice(0,12),"big")}},6515:(R,y,c)=>{var h=c(4268),v=c(4696),p=c(4504),l=h.rotr64_hi,t=h.rotr64_lo,s=h.shr64_hi,f=h.shr64_lo,e=h.sum64,u=h.sum64_hi,n=h.sum64_lo,i=h.sum64_4_hi,r=h.sum64_4_lo,o=h.sum64_5_hi,a=h.sum64_5_lo,d=v.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;d.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function g(m,P,C,B,x){var j=m&C^~m&x;return j<0&&(j+=4294967296),j}function A(m,P,C,B,x,j){var K=P&B^~P&j;return K<0&&(K+=4294967296),K}function T(m,P,C,B,x){var j=m&C^m&x^C&x;return j<0&&(j+=4294967296),j}function S(m,P,C,B,x,j){var K=P&B^P&j^B&j;return K<0&&(K+=4294967296),K}function E(m,P){var C=l(m,P,28)^l(P,m,2)^l(P,m,7);return C<0&&(C+=4294967296),C}function k(m,P){var C=t(m,P,28)^t(P,m,2)^t(P,m,7);return C<0&&(C+=4294967296),C}function I(m,P){var C=t(m,P,14)^t(m,P,18)^t(P,m,9);return C<0&&(C+=4294967296),C}function N(m,P){var C=l(m,P,1)^l(m,P,8)^s(m,P,7);return C<0&&(C+=4294967296),C}function D(m,P){var C=t(m,P,1)^t(m,P,8)^f(m,P,7);return C<0&&(C+=4294967296),C}function L(m,P){var C=t(m,P,19)^t(P,m,29)^f(m,P,6);return C<0&&(C+=4294967296),C}h.inherits(w,d),R.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(m,P){for(var C=this.W,B=0;B<32;B++)C[B]=m[P+B];for(;B<C.length;B+=2){var x=(H=C[B-4],M=C[B-3],_=void 0,(_=l(H,M,19)^l(M,H,29)^s(H,M,6))<0&&(_+=4294967296),_),j=L(C[B-4],C[B-3]),K=C[B-14],V=C[B-13],J=N(C[B-30],C[B-29]),O=D(C[B-30],C[B-29]),F=C[B-32],G=C[B-31];C[B]=i(x,j,K,V,J,O,F,G),C[B+1]=r(x,j,K,V,J,O,F,G)}var H,M,_},w.prototype._update=function(m,P){this._prepareBlock(m,P);var C,B,x,j=this.W,K=this.h[0],V=this.h[1],J=this.h[2],O=this.h[3],F=this.h[4],G=this.h[5],H=this.h[6],M=this.h[7],_=this.h[8],U=this.h[9],q=this.h[10],z=this.h[11],W=this.h[12],Y=this.h[13],X=this.h[14],Q=this.h[15];p(this.k.length===j.length);for(var $=0;$<j.length;$+=2){var Z=X,et=Q,rt=(x=void 0,(x=l(C=_,B=U,14)^l(C,B,18)^l(B,C,9))<0&&(x+=4294967296),x),nt=I(_,U),tt=g(_,0,q,0,W),ot=A(0,U,0,z,0,Y),it=this.k[$],at=this.k[$+1],ut=j[$],st=j[$+1],ft=o(Z,et,rt,nt,tt,ot,it,at,ut,st),bt=a(Z,et,rt,nt,tt,ot,it,at,ut,st);Z=E(K,V),et=k(K,V),rt=T(K,0,J,0,F),nt=S(0,V,0,O,0,G);var ct=u(Z,et,rt,nt),dt=n(Z,et,rt,nt);X=W,Q=Y,W=q,Y=z,q=_,z=U,_=u(H,M,ft,bt),U=n(M,M,ft,bt),H=F,M=G,F=J,G=O,J=K,O=V,K=u(ft,bt,ct,dt),V=n(ft,bt,ct,dt)}e(this.h,0,K,V),e(this.h,2,J,O),e(this.h,4,F,G),e(this.h,6,H,M),e(this.h,8,_,U),e(this.h,10,q,z),e(this.h,12,W,Y),e(this.h,14,X,Q)},w.prototype._digest=function(m){return m==="hex"?h.toHex32(this.h,"big"):h.split32(this.h,"big")}},70:(R,y,c)=>{var h=c(4268).rotr32;function v(t,s,f){return t&s^~t&f}function p(t,s,f){return t&s^t&f^s&f}function l(t,s,f){return t^s^f}y.ft_1=function(t,s,f,e){return t===0?v(s,f,e):t===1||t===3?l(s,f,e):t===2?p(s,f,e):void 0},y.ch32=v,y.maj32=p,y.p32=l,y.s0_256=function(t){return h(t,2)^h(t,13)^h(t,22)},y.s1_256=function(t){return h(t,6)^h(t,11)^h(t,25)},y.g0_256=function(t){return h(t,7)^h(t,18)^t>>>3},y.g1_256=function(t){return h(t,17)^h(t,19)^t>>>10}},4268:(R,y,c)=>{var h=c(4504),v=c(1736);function p(f,e){return(64512&f.charCodeAt(e))==55296&&!(e<0||e+1>=f.length)&&(64512&f.charCodeAt(e+1))==56320}function l(f){return(f>>>24|f>>>8&65280|f<<8&16711680|(255&f)<<24)>>>0}function t(f){return f.length===1?"0"+f:f}function s(f){return f.length===7?"0"+f:f.length===6?"00"+f:f.length===5?"000"+f:f.length===4?"0000"+f:f.length===3?"00000"+f:f.length===2?"000000"+f:f.length===1?"0000000"+f:f}y.inherits=v,y.toArray=function(f,e){if(Array.isArray(f))return f.slice();if(!f)return[];var u=[];if(typeof f=="string")if(e){if(e==="hex")for((f=f.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(f="0"+f),i=0;i<f.length;i+=2)u.push(parseInt(f[i]+f[i+1],16))}else for(var n=0,i=0;i<f.length;i++){var r=f.charCodeAt(i);r<128?u[n++]=r:r<2048?(u[n++]=r>>6|192,u[n++]=63&r|128):p(f,i)?(r=65536+((1023&r)<<10)+(1023&f.charCodeAt(++i)),u[n++]=r>>18|240,u[n++]=r>>12&63|128,u[n++]=r>>6&63|128,u[n++]=63&r|128):(u[n++]=r>>12|224,u[n++]=r>>6&63|128,u[n++]=63&r|128)}else for(i=0;i<f.length;i++)u[i]=0|f[i];return u},y.toHex=function(f){for(var e="",u=0;u<f.length;u++)e+=t(f[u].toString(16));return e},y.htonl=l,y.toHex32=function(f,e){for(var u="",n=0;n<f.length;n++){var i=f[n];e==="little"&&(i=l(i)),u+=s(i.toString(16))}return u},y.zero2=t,y.zero8=s,y.join32=function(f,e,u,n){var i=u-e;h(i%4==0);for(var r=new Array(i/4),o=0,a=e;o<r.length;o++,a+=4){var d;d=n==="big"?f[a]<<24|f[a+1]<<16|f[a+2]<<8|f[a+3]:f[a+3]<<24|f[a+2]<<16|f[a+1]<<8|f[a],r[o]=d>>>0}return r},y.split32=function(f,e){for(var u=new Array(4*f.length),n=0,i=0;n<f.length;n++,i+=4){var r=f[n];e==="big"?(u[i]=r>>>24,u[i+1]=r>>>16&255,u[i+2]=r>>>8&255,u[i+3]=255&r):(u[i+3]=r>>>24,u[i+2]=r>>>16&255,u[i+1]=r>>>8&255,u[i]=255&r)}return u},y.rotr32=function(f,e){return f>>>e|f<<32-e},y.rotl32=function(f,e){return f<<e|f>>>32-e},y.sum32=function(f,e){return f+e>>>0},y.sum32_3=function(f,e,u){return f+e+u>>>0},y.sum32_4=function(f,e,u,n){return f+e+u+n>>>0},y.sum32_5=function(f,e,u,n,i){return f+e+u+n+i>>>0},y.sum64=function(f,e,u,n){var i=f[e],r=n+f[e+1]>>>0,o=(r<n?1:0)+u+i;f[e]=o>>>0,f[e+1]=r},y.sum64_hi=function(f,e,u,n){return(e+n>>>0<e?1:0)+f+u>>>0},y.sum64_lo=function(f,e,u,n){return e+n>>>0},y.sum64_4_hi=function(f,e,u,n,i,r,o,a){var d=0,b=e;return d+=(b=b+n>>>0)<e?1:0,d+=(b=b+r>>>0)<r?1:0,f+u+i+o+(d+=(b=b+a>>>0)<a?1:0)>>>0},y.sum64_4_lo=function(f,e,u,n,i,r,o,a){return e+n+r+a>>>0},y.sum64_5_hi=function(f,e,u,n,i,r,o,a,d,b){var w=0,g=e;return w+=(g=g+n>>>0)<e?1:0,w+=(g=g+r>>>0)<r?1:0,w+=(g=g+a>>>0)<a?1:0,f+u+i+o+d+(w+=(g=g+b>>>0)<b?1:0)>>>0},y.sum64_5_lo=function(f,e,u,n,i,r,o,a,d,b){return e+n+r+a+b>>>0},y.rotr64_hi=function(f,e,u){return(e<<32-u|f>>>u)>>>0},y.rotr64_lo=function(f,e,u){return(f<<32-u|e>>>u)>>>0},y.shr64_hi=function(f,e,u){return f>>>u},y.shr64_lo=function(f,e,u){return(f<<32-u|e>>>u)>>>0}},9410:(R,y,c)=>{var h=c(7198),v=c(6580),p=c(4504);function l(t){if(!(this instanceof l))return new l(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var s=v.toArray(t.entropy,t.entropyEnc||"hex"),f=v.toArray(t.nonce,t.nonceEnc||"hex"),e=v.toArray(t.pers,t.persEnc||"hex");p(s.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(s,f,e)}R.exports=l,l.prototype._init=function(t,s,f){var e=t.concat(s).concat(f);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var u=0;u<this.V.length;u++)this.K[u]=0,this.V[u]=1;this._update(e),this._reseed=1,this.reseedInterval=281474976710656},l.prototype._hmac=function(){return new h.hmac(this.hash,this.K)},l.prototype._update=function(t){var s=this._hmac().update(this.V).update([0]);t&&(s=s.update(t)),this.K=s.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},l.prototype.reseed=function(t,s,f,e){typeof s!="string"&&(e=f,f=s,s=null),t=v.toArray(t,s),f=v.toArray(f,e),p(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(f||[])),this._reseed=1},l.prototype.generate=function(t,s,f,e){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof s!="string"&&(e=f,f=s,s=null),f&&(f=v.toArray(f,e||"hex"),this._update(f));for(var u=[];u.length<t;)this.V=this._hmac().update(this.V).digest(),u=u.concat(this.V);var n=u.slice(0,t);return this._update(f),this._reseed++,v.encode(n,s)}},912:(R,y,c)=>{var h=c(9519),v=c(1143),p=R.exports;for(var l in h)h.hasOwnProperty(l)&&(p[l]=h[l]);function t(s){if(typeof s=="string"&&(s=v.parse(s)),s.protocol||(s.protocol="https:"),s.protocol!=="https:")throw new Error('Protocol "'+s.protocol+'" not supported. Expected "https:"');return s}p.request=function(s,f){return s=t(s),h.request.call(this,s,f)},p.get=function(s,f){return s=t(s),h.get.call(this,s,f)}},2996:(R,y,c)=>{var h;c(8847)(c(3355)),(h=(function(){return v=[new Uint32Array([2157250,2157314,2157378,2157442,2157506,2157570,2157634,0,2157698,2157762,2157826,2157890,2157954,0,2158018,0]),new Uint32Array([2179041,6291456,2179073,6291456,2179105,6291456,2179137,6291456,2179169,6291456,2179201,6291456,2179233,6291456,2179265,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([0,2113729,2197345,2197377,2113825,2197409,2197441,2113921,2197473,2114017,2197505,2197537,2197569,2197601,2197633,2197665]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,23068672,23068672,23068672,0,0,0,0,23068672]),new Uint32Array([14680064,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064]),new Uint32Array([2196001,2196033,2196065,2196097,2196129,2196161,2196193,2196225,2196257,2196289,2196321,2196353,2196385,2196417,2196449,2196481]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,6291456,0,0,0,0,0]),new Uint32Array([2097281,2105921,2097729,2106081,0,2097601,2162337,2106017,2133281,2097505,2105889,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([2177025,6291456,2177057,6291456,2177089,6291456,2177121,6291456,2177153,6291456,2177185,6291456,2177217,6291456,2177249,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,0,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456]),new Uint32Array([2134435,2134531,2134627,2134723,2134723,2134819,2134819,2134915,2134915,2135011,2105987,2135107,2135203,2135299,2131587,2135395]),new Uint32Array([0,0,0,0,0,0,0,6291456,2168673,2169249,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2147906,2147970,2148034,2148098,2148162,2148226,2148290,2148354,2147906,2147970,2148034,2148098,2148162,2148226,2148290,2148354]),new Uint32Array([2125219,2125315,2152834,2152898,2125411,2152962,2153026,2125506,2125507,2125603,2153090,2153154,2153218,2153282,2153346,2105348]),new Uint32Array([2203393,6291456,2203425,6291456,2203457,6291456,2203489,6291456,6291456,6291456,6291456,2203521,6291456,2181281,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,6291456,2145538,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,6291456]),new Uint32Array([2139426,2160834,2160898,2160962,2134242,2161026,2161090,2161154,2161218,2161282,2161346,2161410,2138658,2161474,2161538,2134722]),new Uint32Array([2119939,2124930,2125026,2106658,2125218,2128962,2129058,2129154,2129250,2129346,2129442,2108866,2108770,2150466,2150530,2150594]),new Uint32Array([2201601,6291456,2201633,6291456,2201665,6291456,2201697,6291456,2201729,6291456,2201761,6291456,2201793,6291456,2201825,6291456]),new Uint32Array([2193537,2193569,2193601,2193633,2193665,2193697,2193729,2193761,2193793,2193825,2193857,2193889,2193921,2193953,2193985,2194017]),new Uint32Array([6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2190561,6291456,2190593,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2190625,6291456,2190657,6291456,23068672]),new Uint32Array([2215905,2215937,2215969,2216001,2216033,2216065,2216097,2216129,2216161,2216193,2216225,2216257,2105441,2216289,2216321,2216353]),new Uint32Array([23068672,18884130,23068672,23068672,23068672,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2191233,2191265,2191297,2191329,2191361,2191393,2191425,2117377,2191457,2191489,2191521,2191553,2191585,2191617,2191649,2117953]),new Uint32Array([2132227,2132323,2132419,2132419,2132515,2132515,2132611,2132707,2132707,2132803,2132899,2132899,2132995,2132995,2133091,2133187]),new Uint32Array([0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,0,0]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,10609889,10610785,10609921,10610817,2222241]),new Uint32Array([6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0]),new Uint32Array([2219969,2157121,2157441,2157505,2157889,2157953,2220001,2158465,2158529,10575617,2156994,2157058,2129923,2130019,2157122,2157186]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2185249,6291456,2185281,6291456,2185313,6291456,2185345,6291456,2185377,6291456,2185409,6291456,2185441,6291456,2185473,6291456]),new Uint32Array([0,0,0,0,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,0,0,23068672,23068672,23068672,6291456,0]),new Uint32Array([2183361,6291456,2183393,6291456,2183425,6291456,2183457,6291456,2183489,6291456,2183521,6291456,2183553,6291456,2183585,6291456]),new Uint32Array([2192161,2192193,2192225,2192257,2192289,2192321,2192353,2192385,2192417,2192449,2192481,2192513,2192545,2192577,2192609,2192641]),new Uint32Array([2212001,2212033,2212065,2212097,2212129,2212161,2212193,2212225,2212257,2212289,2212321,2212353,2212385,2212417,2212449,2207265]),new Uint32Array([2249825,2249857,2249889,2249921,2249954,2250018,2250082,2250145,2250177,2250209,2250241,2250274,2250337,2250370,2250433,2250465]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2147905,2147969,2148033,2148097,2148161,2148225,2148289,2148353]),new Uint32Array([10485857,6291456,2197217,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,23068672,23068672]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2180353,2180385,2144033,2180417,2180449,2180481,2180513,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,10610209,10610465,10610241,10610753,10609857]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0,0]),new Uint32Array([2223842,2223906,2223970,2224034,2224098,2224162,2224226,2224290,2224354,2224418,2224482,2224546,2224610,2224674,2224738,2224802]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([23068672,23068672,23068672,18923650,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,18923714,23068672,23068672]),new Uint32Array([2126179,2125538,2126275,2126371,2126467,2125634,2126563,2105603,2105604,2125346,2126659,2126755,2126851,2098179,2098181,2098182]),new Uint32Array([2227426,2227490,2227554,2227618,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2192353,2240642,2240642,2240705,2240737,2240737,2240769,2240802,2240866,2240929,2240961,2240993,2241025,2241057,2241089,2241121]),new Uint32Array([6291456,2170881,2170913,2170945,6291456,2170977,6291456,2171009,2171041,6291456,6291456,6291456,2171073,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2132226,2132514,2163586,2132610,2160386,2133090,2133186,2160450,2160514,2160578,2133570,2106178,2160642,2133858,2160706,2160770]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10532162,10532226,10532290,10532354,10532418,10532482,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672]),new Uint32Array([2098209,2108353,2108193,2108481,2170241,2111713,2105473,2105569,2105601,2112289,2112481,2098305,2108321,0,0,0]),new Uint32Array([2209121,2209153,2209185,2209217,2209249,2209281,2209313,2209345,2209377,2209409,2209441,2209473,2207265,2209505,2209537,2209569]),new Uint32Array([2189025,6291456,2189057,6291456,2189089,6291456,2189121,6291456,2189153,6291456,2189185,6291456,2189217,6291456,2189249,6291456]),new Uint32Array([2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2165764,2140004]),new Uint32Array([2215105,6291456,2215137,6291456,6291456,2215169,2215201,6291456,6291456,6291456,2215233,2215265,2215297,2215329,2215361,2215393]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,23068672,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([10505091,10505187,10505283,10505379,10505475,10505571,10505667,10505763,10505859,10505955,10506051,10506147,10506243,10506339,10506435,10506531]),new Uint32Array([2229730,2229794,2229858,2229922,2229986,2230050,2230114,2230178,2230242,2230306,2230370,2230434,2230498,2230562,2230626,2230690]),new Uint32Array([2105505,2098241,2108353,2108417,2105825,0,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177]),new Uint32Array([6291456,6291456,6291456,6291456,10502115,10502178,10502211,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2190305,6291456,2190337,6291456,2190369,6291456,2190401,6291456,2190433,6291456,2190465,6291456,2190497,6291456,2190529,6291456]),new Uint32Array([2173793,2173985,2174017,6291456,2173761,2173697,6291456,2174689,6291456,2174017,2174721,6291456,6291456,2174753,2174785,2174817]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2099521,2099105,2120705,2098369,2120801,2103361,2097985,2098433,2121377,2121473,2099169,2099873,2098401,2099393,2152609,2100033]),new Uint32Array([2132898,2163842,2163906,2133282,2132034,2131938,2137410,2132802,2132706,2164866,2133282,2160578,2165186,2165186,6291456,6291456]),new Uint32Array([10500003,10500099,10500195,10500291,10500387,10500483,10500579,10500675,10500771,10500867,10500963,10501059,10501155,10501251,10501347,10501443]),new Uint32Array([2163458,2130978,2131074,2131266,2131362,2163522,2160130,2132066,2131010,2131106,2106018,2131618,2131298,2132034,2131938,2137410]),new Uint32Array([2212961,2116993,2212993,2213025,2213057,2213089,2213121,2213153,2213185,2213217,2213249,2209633,2213281,2213313,2213345,2213377]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2113729,2113825,2113921,2114017,2114113,2114209,2114305,2114401,2114497,2114593,2114689,2114785,2114881,2114977,2115073,2115169]),new Uint32Array([2238177,2238209,2238241,2238273,2238305,2238337,2238337,2217537,2238369,2238401,2238433,2238465,2215649,2238497,2238529,2238561]),new Uint32Array([2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905]),new Uint32Array([6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,0]),new Uint32Array([6291456,0,6291456,2145026,0,6291456,2145090,0,6291456,6291456,0,0,23068672,0,23068672,23068672]),new Uint32Array([2099233,2122017,2200673,2098113,2121537,2103201,2200705,2104033,2121857,2121953,2122401,2099649,2099969,2123009,2100129,2100289]),new Uint32Array([6291456,23068672,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0]),new Uint32Array([2187681,2187713,2187745,2187777,2187809,2187841,2187873,2187905,2187937,2187969,2188001,2188033,2188065,2188097,2188129,2188161]),new Uint32Array([0,10554498,10554562,10554626,10554690,10554754,10554818,10554882,10554946,10555010,10555074,6291456,6291456,0,0,0]),new Uint32Array([2235170,2235234,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0]),new Uint32Array([2181153,6291456,2188897,6291456,6291456,2188929,6291456,6291456,6291456,6291456,6291456,6291456,2111905,2100865,2188961,2188993]),new Uint32Array([2100833,2100897,0,0,2101569,2101697,2101825,2101953,2102081,2102209,10575617,2187041,10502177,10489601,10489697,2112289]),new Uint32Array([6291456,2172833,6291456,2172865,2172897,2172929,2172961,6291456,2172993,6291456,2173025,6291456,2173057,6291456,2173089,6291456]),new Uint32Array([6291456,0,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,2190721]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,6291456,6291456]),new Uint32Array([2184993,6291456,2185025,6291456,2185057,6291456,2185089,6291456,2185121,6291456,2185153,6291456,2185185,6291456,2185217,6291456]),new Uint32Array([2115265,2115361,2115457,2115553,2115649,2115745,2115841,2115937,2116033,2116129,2116225,2116321,2150658,2150722,2200225,6291456]),new Uint32Array([2168321,6291456,2168353,6291456,2168385,6291456,2168417,6291456,2168449,6291456,2168481,6291456,2168513,6291456,2168545,6291456]),new Uint32Array([23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,0,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,2186625,0,0,6291456,6291456,2186657,2186689,2186721,2173505,0,10496067,10496163,10496259]),new Uint32Array([2178785,6291456,2178817,6291456,2178849,6291456,2178881,6291456,2178913,6291456,2178945,6291456,2178977,6291456,2179009,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2097152,0,0,0,2097152,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,2197857,2197889,2197921,2197953,2197985,2198017,0,0,2198049,2198081,2198113,2198145,2198177,2198209]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2098209,2167297,2111137,6291456]),new Uint32Array([2171393,6291456,2171425,6291456,2171457,6291456,2171489,6291456,2171521,6291456,2171553,6291456,2171585,6291456,2171617,6291456]),new Uint32Array([2206753,2206785,2195457,2206817,2206849,2206881,2206913,2197153,2197153,2206945,2117857,2206977,2207009,2207041,2207073,2207105]),new Uint32Array([0,0,0,0,0,0,0,23068672,0,0,0,0,2144834,2144898,0,2144962]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672]),new Uint32Array([2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,0,2105505,2098241]),new Uint32Array([6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,2202049,6291456,2202081,6291456,2202113,6291456,2202145,6291456,2202177,6291456,2202209,6291456,2202241,6291456]),new Uint32Array([10501155,10501251,10501347,10501443,10501539,10501635,10501731,10501827,10501923,10502019,2141731,2105505,2098177,2155586,2166530,0]),new Uint32Array([2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441]),new Uint32Array([2146882,2146946,2147010,2147074,2147138,2147202,2147266,2147330,2146882,2146946,2147010,2147074,2147138,2147202,2147266,2147330]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([10502307,10502403,10502499,10502595,10502691,10502787,10502883,10502979,10503075,10503171,10503267,10503363,10503459,10503555,10503651,10503747]),new Uint32Array([2179937,2179969,2180001,2180033,2156545,2180065,2156577,2180097,2180129,2180161,2180193,2180225,2180257,2180289,2156737,2180321]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,0,0,0,6291456,0,0,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0]),new Uint32Array([2227682,2227746,2227810,2227874,2227938,2228002,2228066,2228130,2228194,2228258,2228322,2228386,2228450,2228514,2228578,2228642]),new Uint32Array([2105601,2169121,2108193,2170049,2181025,2181057,2112481,2108321,2108289,2181089,2170497,2100865,2181121,2173601,2173633,2173665]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2180641,6291456,6291456,6291456]),new Uint32Array([0,6291456,6291456,6291456,0,6291456,0,6291456,0,0,6291456,6291456,0,6291456,6291456,6291456]),new Uint32Array([2178273,6291456,2178305,6291456,2178337,6291456,2178369,6291456,2178401,6291456,2178433,6291456,2178465,6291456,2178497,6291456]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456]),new Uint32Array([2237377,2237409,2236225,2237441,2237473,2217441,2215521,2215553,2217473,2237505,2237537,2209697,2237569,2215585,2237601,2237633]),new Uint32Array([2221985,2165601,2165601,2165665,2165665,2222017,2222017,2165729,2165729,2158913,2158913,2158913,2158913,2097281,2097281,2105921]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2149634,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2176897,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,2176929,6291456,2176961,6291456,2176993,6291456]),new Uint32Array([2172641,6291456,2172673,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2172705,2172737,6291456,2172769,2172801,6291456]),new Uint32Array([2099173,2104196,2121667,2099395,2121763,2152258,2152322,2098946,2152386,2121859,2121955,2099333,2122051,2104324,2099493,2122147]),new Uint32Array([6291456,6291456,6291456,2145794,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,2145858,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,0,0,6291456,0]),new Uint32Array([0,2105921,2097729,0,2097377,0,0,2106017,0,2097505,2105889,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2239074,2239138,2239201,2239233,2239265,2239297,2239329,2239361,0,2239393,2239425,2239425,2239458,2239521,2239553,2209569]),new Uint32Array([14680064,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,6291456,23068672]),new Uint32Array([2108321,2108289,2113153,2098209,2180897,2180929,2180961,2111137,2098241,2108353,2170241,2170273,2180993,2105825,6291456,2105473]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2146114,6291456,6291456,6291456,0,0,0]),new Uint32Array([2105921,2105921,2105921,2222049,2222049,2130977,2130977,2130977,2130977,2160065,2160065,2160065,2160065,2097729,2097729,2097729]),new Uint32Array([2218145,2214785,2207937,2218177,2218209,2192993,2210113,2212769,2218241,2218273,2216129,2218305,2216161,2218337,2218369,2218401]),new Uint32Array([0,0,0,2156546,2156610,2156674,2156738,2156802,0,0,0,0,0,2156866,23068672,2156930]),new Uint32Array([23068672,23068672,23068672,0,0,0,0,23068672,23068672,0,0,23068672,23068672,23068672,0,0]),new Uint32Array([2213409,2213441,2213473,2213505,2213537,2213569,2213601,2213633,2213665,2195681,2213697,2213729,2213761,2213793,2213825,2213857]),new Uint32Array([2100033,2099233,2122017,2200673,2098113,2121537,2103201,2200705,2104033,2121857,2121953,2122401,2099649,2099969,2123009,2100129]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2201857,6291456,2201889,6291456,2201921,6291456,2201953,6291456,2201985,6291456,2202017,6291456,2176193,2176257,23068672,23068672]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2188193,2188225,2188257,2188289,2188321,2188353,2188385,2188417,2188449,2188481,2188513,2188545,2188577,2188609,2188641,0]),new Uint32Array([10554529,2221089,0,10502113,10562017,10537921,10538049,2221121,2221153,0,0,0,0,0,0,0]),new Uint32Array([2213889,2213921,2213953,2213985,2214017,2214049,2214081,2194177,2214113,2214145,2214177,2214209,2214241,2214273,2214305,2214337]),new Uint32Array([2166978,2167042,2099169,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2180545,6291456,6291456,6291456]),new Uint32Array([10518915,10519011,10519107,10519203,2162242,2162306,2159554,2162370,2159362,2159618,2105922,2162434,2159746,2162498,2159810,2159874]),new Uint32Array([2161730,2161794,2135586,2161858,2161922,2137186,2131810,2160290,2135170,2161986,2137954,2162050,2162114,2162178,10518723,10518819]),new Uint32Array([10506627,10506723,10506819,10506915,10507011,10507107,10507203,10507299,10507395,10507491,10507587,10507683,10507779,10507875,10507971,10508067]),new Uint32Array([6291456,23068672,23068672,23068672,0,23068672,23068672,0,0,0,0,0,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2175873,2175905,2175937,2175969,2176001,2176033,2176065,2176097,2176129,2176161,2176193,2176225,2176257,2176289,2176321,2176353]),new Uint32Array([2140006,2140198,2140390,2140582,2140774,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,23068672,23068672,23068672]),new Uint32Array([2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241]),new Uint32Array([0,23068672,0,0,0,0,0,0,0,2145154,2145218,2145282,6291456,0,2145346,0]),new Uint32Array([0,0,0,0,10531458,10495395,2148545,2143201,2173473,2148865,2173505,0,2173537,0,2173569,2149121]),new Uint32Array([10537282,10495683,2148738,2148802,2148866,0,6291456,2148930,2186593,2173473,2148737,2148865,2148802,10495779,10495875,10495971]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2215425,2215457,2215489,2215521,2215553,2215585,2215617,2215649,2215681,2215713,2215745,2215777,2192033,2215809,2215841,2215873]),new Uint32Array([2242049,2242081,2242113,2242145,2242177,2242209,2242241,2242273,2215937,2242305,2242338,2242401,2242433,2242465,2242497,2216001]),new Uint32Array([10554529,2221089,0,0,10562017,10502113,10538049,10537921,2221185,10489601,10489697,10609889,10609921,2141729,2141793,10610273]),new Uint32Array([2141923,2142019,2142115,2142211,2142307,2142403,2142499,2142595,2142691,0,0,0,0,0,0,0]),new Uint32Array([0,2221185,2221217,10609857,10609857,10489601,10489697,10609889,10609921,2141729,2141793,2221345,2221377,2221409,2221441,2187105]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,18923970,23068672,23068672,23068672,0,6291456,6291456]),new Uint32Array([2183105,6291456,2183137,6291456,2183169,6291456,2183201,6291456,2183233,6291456,2183265,6291456,2183297,6291456,2183329,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2134434,2134818,2097666,2097186,2097474,2097698,2105986,2131586,2132450,2131874,2131778,2135970,2135778,2161602,2136162,2161666]),new Uint32Array([2236865,2236897,2236930,2236993,2237025,2235681,2237058,2237121,2237153,2237185,2237217,2217281,2237250,2191233,2237313,2237345]),new Uint32Array([2190049,6291456,2190081,6291456,2190113,6291456,2190145,6291456,2190177,6291456,2190209,6291456,2190241,6291456,2190273,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2101922,2102050,2102178,2102306,10498755,10498851,10498947,10499043,10499139,10499235,10499331,10499427,10499523,10489604,10489732,10489860]),new Uint32Array([2166914,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2181601,2170561,2181633,2181665,2170753,2181697,2172897,2170881,2181729,2170913,2172929,2113441,2181761,2181793,2171009,2173761]),new Uint32Array([0,2105921,2097729,2106081,0,2097601,2162337,2106017,2133281,2097505,0,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2248001,2248033,2248066,2248130,2248193,2248226,2248289,2248322,2248385,2248417,2216673,2248450,2248514,2248577,2248610,2248673]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([2169729,6291456,2169761,6291456,2169793,6291456,2169825,6291456,2169857,2169889,6291456,2169921,6291456,2143329,6291456,2098305]),new Uint32Array([2162178,2163202,2163266,2135170,2136226,2161986,2137954,2159426,2159490,2163330,2159554,2163394,2159682,2139522,2136450,2159746]),new Uint32Array([2173953,2173985,0,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2174209,2174241,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,4271169,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2174273]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,6291456,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,2190785,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2189793,6291456,2189825,6291456,2189857,6291456,2189889,6291456,2189921,6291456,2189953,6291456,2189985,6291456,2190017,6291456]),new Uint32Array([2105601,2112289,2108193,2112481,2112577,0,2098305,2108321,2108289,2100865,2113153,2108481,2113345,0,2098209,2111137]),new Uint32Array([2172129,6291456,2172161,6291456,2172193,6291456,2172225,6291456,2172257,6291456,2172289,6291456,2172321,6291456,2172353,6291456]),new Uint32Array([2214753,6291456,2214785,6291456,6291456,2214817,2214849,2214881,2214913,2214945,2214977,2215009,2215041,2215073,2194401,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,0,0,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([10610305,10610337,10575617,2221761,10610401,10610433,10502177,0,10610465,10610497,10610529,10610561,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,23068672,0,0,0,0,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2187105,2187137,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2199393,2199425,2199457,2199489,2199521,2199553,2199585,2199617,2199649,2199681,2199713,2199745,2199777,2199809,2199841,0]),new Uint32Array([2217249,2217281,2217313,2217345,2217377,2217409,2217441,2217473,2215617,2217505,2217537,2217569,2214753,2217601,2217633,2217665]),new Uint32Array([2170273,2170305,6291456,2170337,2170369,6291456,2170401,2170433,2170465,6291456,6291456,6291456,2170497,2170529,6291456,2170561]),new Uint32Array([2188673,6291456,2188705,2188737,2188769,6291456,6291456,2188801,6291456,2188833,6291456,2188865,6291456,2180929,2181505,2180897]),new Uint32Array([10489988,10490116,10490244,10490372,10490500,10490628,10490756,10490884,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2147393,2147457,2147521,2147585,2147649,2147713,2147777,2147841]),new Uint32Array([23068672,23068672,0,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2241153,2241185,2241217,2215809,2241250,2241313,2241345,2241377,2217921,2241377,2241409,2215873,2241441,2241473,2241505,2241537]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220417,2220417,2220449,2220449,2220481,2220481,2220513,2220513,2220545,2220545,2220577,2220577,2220609,2220609,2220641,2220641]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,2144002,0,6291456,6291456,0,0,6291456,6291456,6291456]),new Uint32Array([2167105,2167137,2167169,2167201,2167233,2167265,2167297,2167329,2167361,2167393,2167425,2167457,2167489,2167521,2167553,2167585]),new Uint32Array([10575521,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([2234146,2234210,2234274,2234338,2234402,2234466,2234530,2234594,2234658,2234722,2234786,2234850,2234914,2234978,2235042,2235106]),new Uint32Array([0,0,0,0,0,0,0,2180577,0,0,0,0,0,2180609,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,0,0,6291456,6291456]),new Uint32Array([2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2242529,2242561,2242593,2242625,2242657,2242689,2242721,2242753,2207937,2218177,2242785,2242817,2242849,2242882,2242945,2242977]),new Uint32Array([2118049,2105345,2118241,2105441,2118433,2118529,2118625,2118721,2118817,2200257,2200289,2191809,2200321,2200353,2200385,2200417]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2185505,6291456,2185537,6291456,2185569,6291456,2185601,6291456,2185633,6291456,2185665,6291456,2185697,6291456,2185729,6291456]),new Uint32Array([2231970,2232034,2232098,2232162,2232226,2232290,2232354,2232418,2232482,2232546,2232610,2232674,2232738,2232802,2232866,2232930]),new Uint32Array([2218625,2246402,2246466,2246530,2246594,2246657,2246689,2246689,2218657,2219681,2246721,2246753,2246785,2246818,2246881,2208481]),new Uint32Array([2197025,2197057,2197089,2197121,2197153,2197185,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2219137,2216961,2219169,2219201,2219233,2219265,2219297,2217025,2215041,2219329,2217057,2219361,2217089,2219393,2197153,2219426]),new Uint32Array([23068672,23068672,23068672,0,0,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713]),new Uint32Array([2243522,2243585,2243617,2243649,2243681,2210113,2243713,2243746,2243810,2243874,2243937,2243970,2244033,2244065,2244097,2244129]),new Uint32Array([2178017,6291456,2178049,6291456,2178081,6291456,2178113,6291456,2178145,6291456,2178177,6291456,2178209,6291456,2178241,6291456]),new Uint32Array([10553858,2165314,10518722,6291456,10518818,0,10518914,2130690,10519010,2130786,10519106,2130882,10519202,2165378,10554050,2165506]),new Uint32Array([0,0,2135491,2135587,2135683,2135779,2135875,2135971,2135971,2136067,2136163,2136259,2136355,2136355,2136451,2136547]),new Uint32Array([23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2220033,2220033,2220065,2220065,2220065,2220065,2220097,2220097,2220097,2220097,2220129,2220129,2220129,2220129,2220161,2220161]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2100897,2100898,2100899,2150018,2100865,2100866,2100867,2100868,2150082,2108481,2109858,2109859,2105569,2105505,2098241,2105601]),new Uint32Array([2097217,2097505,2097505,2097505,2097505,2165570,2165570,2165634,2165634,2165698,2165698,2097858,2097858,0,0,2097152]),new Uint32Array([23068672,6291456,23068672,23068672,23068672,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([10503843,10503939,10504035,10504131,10504227,10504323,10504419,10504515,10504611,10504707,10504803,10504899,10504995,10491140,10491268,0]),new Uint32Array([2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2134145,2097153,2134241,2105953,2132705,2130977,2160065,2131297,2162049,2133089,2160577,2133857,2235297,2220769,2235329,2235361]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2222401,2222433,2222465,10531394,2222497,2222529,2222561,0,2222593,2222625,2222657,2222689,2222721,2222753,2222785,0]),new Uint32Array([2184481,6291456,2184513,6291456,2184545,6291456,2184577,6291456,2184609,6291456,2184641,6291456,2184673,6291456,2184705,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0,0,0,0,0,0,0,0]),new Uint32Array([2105570,2156034,2126947,2156098,2153666,2127043,2127139,2156162,0,2127235,2156226,2156290,2156354,2156418,2127331,2127427]),new Uint32Array([2215905,2207041,2153185,2241569,2241601,2241633,2241665,2241697,2241730,2241793,2241825,2241857,2241889,2241921,2241954,2242017]),new Uint32Array([2203777,6291456,2203809,6291456,2203841,6291456,2203873,6291456,2203905,6291456,2173121,2180993,2181249,2203937,2181313,0]),new Uint32Array([2168577,6291456,2168609,6291456,2168641,6291456,2168673,6291456,2168705,6291456,2168737,6291456,2168769,6291456,2168801,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,23068672,23068672,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,0,0]),new Uint32Array([2210113,2195521,2210145,2210177,2210209,2210241,2210273,2210305,2210337,2210369,2210401,2210433,2210465,2210497,2210529,2210561]),new Uint32Array([6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([2228706,2228770,2228834,2228898,2228962,2229026,2229090,2229154,2229218,2229282,2229346,2229410,2229474,2229538,2229602,2229666]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,18874368,18874368,18874368,0,0]),new Uint32Array([2133089,2133281,2133281,2133281,2133281,2160577,2160577,2160577,2160577,2097441,2097441,2097441,2097441,2133857,2133857,2133857]),new Uint32Array([6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089]),new Uint32Array([2178529,6291456,2178561,6291456,2178593,6291456,2178625,6291456,2178657,6291456,2178689,6291456,2178721,6291456,2178753,6291456]),new Uint32Array([2221025,2221025,2221057,2221057,2159329,2159329,2159329,2159329,2097217,2097217,2158914,2158914,2158978,2158978,2159042,2159042]),new Uint32Array([2208161,2208193,2208225,2208257,2194433,2208289,2208321,2208353,2208385,2208417,2208449,2208481,2208513,2208545,2208577,2208609]),new Uint32Array([2169217,6291456,2169249,6291456,2169281,6291456,2169313,6291456,2169345,6291456,2169377,6291456,2169409,6291456,2169441,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2133187,2133283,2133283,2133379,2133475,2133571,2133667,2133667,2133763,2133859,2133955,2134051,2134147,2134147,2134243,2134339]),new Uint32Array([2197697,2114113,2114209,2197729,2197761,2114305,2197793,2114401,2114497,2197825,2114593,2114689,2114785,2114881,2114977,0]),new Uint32Array([2193089,2193121,2193153,2193185,2117665,2117569,2193217,2193249,2193281,2193313,2193345,2193377,2193409,2193441,2193473,2193505]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2184225,6291456,2184257,6291456,2184289,6291456,2184321,6291456,2184353,6291456,2184385,6291456,2184417,6291456,2184449,6291456]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2100833,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2098657,2098049,2200737,2123489,2123681,2200769,2098625,2100321,2098145,2100449,2098017,2098753,2200801,2200833,2200865,0]),new Uint32Array([23068672,23068672,23068672,0,0,0,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,0,2098241,2108353,2108417,2105825,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2181153,2105505,2181185,2167617,2180993]),new Uint32Array([2160002,2160066,2160130,2160194,2160258,2132066,2131010,2131106,2106018,2131618,2160322,2131298,2132034,2131938,2137410,2132226]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([2183617,6291456,2183649,6291456,2183681,6291456,2183713,6291456,2183745,6291456,2183777,6291456,2183809,6291456,2183841,6291456]),new Uint32Array([0,6291456,6291456,0,6291456,0,0,6291456,6291456,0,6291456,0,0,6291456,0,0]),new Uint32Array([2250977,2251009,2251041,2251073,2195009,2251106,2251169,2251201,2251233,2251265,2251297,2251330,2251394,2251457,2251489,2251521]),new Uint32Array([2205729,2205761,2205793,2205825,2205857,2205889,2205921,2205953,2205985,2206017,2206049,2206081,2206113,2206145,2206177,2206209]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2143170,2168993,6291456,2169025,6291456,2169057,6291456,2169089,6291456,2143234,2169121,6291456,2169153,6291456,2169185,6291456]),new Uint32Array([23068672,23068672,2190689,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2248706,2248769,2248801,2248833,2248865,2248897,2248929,2248962,2249026,2249090,2249154,2240705,2249217,2249249,2249281,2249313]),new Uint32Array([10485857,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10495394,6291456,2098209,6291456,6291456,2097152,6291456,10531394]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([14680064,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2173985,2173953,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889]),new Uint32Array([6291456,2186977,6291456,6291456,6291456,6291456,6291456,10537858,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2209601,2209633,2209665,2209697,2209729,2209761,2209793,2209825,2209857,2209889,2209921,2209953,2209985,2210017,2210049,2210081]),new Uint32Array([10501539,10501635,10501731,10501827,10501923,10502019,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905]),new Uint32Array([2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2194561,2194593,2194625,2119777,2119873,2194657,2194689,2194721,2194753,2194785,2194817,2194849,2194881,2194913,2194945,2194977]),new Uint32Array([2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569]),new Uint32Array([2222818,2222882,2222946,2223010,2223074,2223138,2223202,2223266,2223330,2223394,2223458,2223522,2223586,2223650,2223714,2223778]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672]),new Uint32Array([0,2179553,2179585,2179617,2179649,2144001,2179681,2179713,2179745,2179777,2179809,2156705,2179841,2156833,2179873,2179905]),new Uint32Array([6291456,23068672,6291456,2145602,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,6291456,0,0]),new Uint32Array([2196513,2196545,2196577,2196609,2196641,2196673,2196705,2196737,2196769,2196801,2196833,2196865,2196897,2196929,2196961,2196993]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2177281,6291456,2177313,6291456,2177345,6291456,2177377,6291456,2177409,6291456,2177441,6291456,2177473,6291456,2177505,6291456]),new Uint32Array([2187137,2221473,2221505,2221537,2221569,6291456,6291456,10610209,10610241,10537986,10537986,10537986,10537986,10609857,10609857,10609857]),new Uint32Array([2243009,2243041,2216033,2243074,2243137,2243169,2243201,2219617,2243233,2243265,2243297,2243329,2243362,2243425,2243457,2243489]),new Uint32Array([10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,2097152,4194304,4194304,0,0]),new Uint32Array([2143042,6291456,2143106,2143106,2168833,6291456,2168865,6291456,6291456,2168897,6291456,2168929,6291456,2168961,6291456,2143170]),new Uint32Array([6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2204193,2204225,2204257,2204289,2204321,2204353,2204385,2204417,2204449,2204481,2204513,2204545,2204577,2204609,2204641,2204673]),new Uint32Array([2202753,6291456,2202785,6291456,2202817,6291456,2202849,6291456,2202881,6291456,2202913,6291456,2202945,6291456,2202977,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321]),new Uint32Array([2147394,2147458,2147522,2147586,2147650,2147714,2147778,2147842,2147394,2147458,2147522,2147586,2147650,2147714,2147778,2147842]),new Uint32Array([2253313,2253346,2253409,2253441,2253473,2253505,2253537,2253569,2253601,2253634,2219393,2253697,2253729,2253761,2253793,2253825]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([2162562,2162626,2131362,2162690,2159938,2160002,2162754,2162818,2160130,2162882,2160194,2160258,2160834,2160898,2161026,2161090]),new Uint32Array([2175361,2175393,2175425,2175457,2175489,2175521,2175553,2175585,2175617,2175649,2175681,2175713,2175745,2175777,2175809,2175841]),new Uint32Array([2253858,2253921,2253954,2254018,2254082,2196737,2254145,2196865,2254177,2254209,2254241,2254273,2197025,2254306,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2202113,2204129,2188705,2204161]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953]),new Uint32Array([2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209]),new Uint32Array([2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,0,2108417,0,2111713,2100897,2111905]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([2175425,2175489,2175809,2175905,2175937,2175937,2176193,2176417,2180865,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,2143298,2143298,2143298,2143362,2143362,2143362,2143426,2143426,2143426,2171105,6291456,2171137]),new Uint32Array([2120162,2120258,2151618,2151682,2151746,2151810,2151874,2151938,2152002,2120035,2120131,2120227,2152066,2120323,2152130,2120419]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2195361,2142433,2236065,2236097,2236129,2236161,2118241,2117473,2236193,2236225,2236257,2236289,0,0,0,0]),new Uint32Array([2189281,6291456,2189313,6291456,2189345,6291456,2189377,6291456,2189409,6291456,2189441,6291456,2189473,6291456,2189505,6291456]),new Uint32Array([6291456,6291456,2145922,6291456,6291456,6291456,6291456,2145986,6291456,6291456,6291456,6291456,2146050,6291456,6291456,6291456]),new Uint32Array([2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,10502113,10562017,10610401,10502177,10610433,10538049]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,2186401,0,2186433,0,2186465,0,2186497]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,23068672,23068672,23068672]),new Uint32Array([0,0,2198241,2198273,2198305,2198337,2198369,2198401,0,0,2198433,2198465,2198497,0,0,0]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,6291456,0,23068672,23068672,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([0,2105921,2097729,0,2097377,0,0,2106017,2133281,2097505,2105889,0,2097697,2135777,2097633,2097441]),new Uint32Array([2197889,2197921,2197953,2197985,2198017,2198049,2198081,2198113,2198145,2198177,2198209,2198241,2198273,2198305,2198337,2198369]),new Uint32Array([2132514,2132610,2160386,2133090,2133186,2160450,2160514,2133282,2160578,2133570,2106178,2160642,2133858,2160706,2160770,2134146]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,6291456,23068672,23068672,6291456,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([2184737,6291456,2184769,6291456,2184801,6291456,2184833,6291456,2184865,6291456,2184897,6291456,2184929,6291456,2184961,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,2186753,6291456,6291456,6291456,6291456,2186785,2186817,2186849,2173569,2186881,10496355,10495395,10575521]),new Uint32Array([0,0,2097729,0,0,0,0,2106017,0,2097505,0,2097185,0,2135777,2097633,2097441]),new Uint32Array([2189537,6291456,2189569,6291456,2189601,6291456,2189633,6291456,2189665,6291456,2189697,6291456,2189729,6291456,2189761,6291456]),new Uint32Array([2202497,6291456,2202529,6291456,2202561,6291456,2202593,6291456,2202625,6291456,2202657,6291456,2202689,6291456,2202721,6291456]),new Uint32Array([2245217,2218369,2245249,2245282,2245345,2245377,2245410,2245474,2245537,2245569,2245601,2245633,2245665,2245665,2245697,2245729]),new Uint32Array([6291456,0,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,0,0,0,0,0,0,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,6291456,23068672,6291456,23068672,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2097281,2105921,2097729,2106081,2097377,2097601,2162337,2106017,2133281,2097505,0,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([2176641,6291456,2176673,6291456,2176705,6291456,2176737,6291456,2176769,6291456,2176801,6291456,2176833,6291456,2176865,6291456]),new Uint32Array([2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953,2174369,2174369,0,0,2100833,2100737]),new Uint32Array([2116513,2190817,2190849,2190881,2190913,2190945,2116609,2190977,2191009,2191041,2191073,2117185,2191105,2191137,2191169,2191201]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456]),new Uint32Array([2167617,2167649,2167681,2167713,2167745,2167777,2167809,6291456,2167841,2167873,2167905,2167937,2167969,2168001,2168033,4240130]),new Uint32Array([2165122,2163970,2164034,2164098,2164162,2164226,2164290,2164354,2164418,2164482,2164546,2133122,2134562,2132162,2132834,2136866]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2186209,2186241,2186273,2186305,2186337,2186369,0,0]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([0,0,23068672,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([0,10537921,10610689,10610273,10610497,10610529,10610305,10610721,10489601,10489697,10610337,10575617,10554529,2221761,2197217,10496577]),new Uint32Array([2105473,2105569,2105601,2112289,0,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441]),new Uint32Array([2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481]),new Uint32Array([2125346,2153410,2153474,2127394,2153538,2153602,2153666,2153730,2105507,2105476,2153794,2153858,2153922,2153986,2154050,2105794]),new Uint32Array([2200449,2119681,2200481,2153313,2199873,2199905,2199937,2200513,2200545,2200577,2200609,2119105,2119201,2119297,2119393,2119489]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2175777,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2222273,2197217,2221473,2221505,2221089,2222305,2200865,2099681,2104481,2222337,2099905,2120737,2222369,2103713,2100225,2098785]),new Uint32Array([2201377,6291456,2201409,6291456,2201441,6291456,2201473,6291456,2201505,6291456,2201537,6291456,2201569,6291456,6291456,23068672]),new Uint32Array([2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793]),new Uint32Array([2200897,6291456,2200929,6291456,2200961,6291456,2200993,6291456,2201025,6291456,2180865,6291456,2201057,6291456,2201089,6291456]),new Uint32Array([0,0,0,0,0,23068672,23068672,0,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2161154,2161410,2138658,2161474,2161538,2097666,2097186,2097474,2162946,2132450,2163010,2163074,2136162,2163138,2161666,2161730]),new Uint32Array([2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953]),new Uint32Array([0,0,0,0,0,0,23068672,23068672,0,0,0,0,2145410,2145474,0,6291456]),new Uint32Array([2244161,2216065,2212769,2244193,2244225,2244257,2244290,2244353,2244385,2244417,2244449,2218273,2244481,2244514,2244577,2244609]),new Uint32Array([2125730,2125699,2125795,2125891,2125987,2154114,2154178,2154242,2154306,2154370,2154434,2154498,2126082,2126178,2126274,2126083]),new Uint32Array([2237665,2237697,2237697,2237697,2237730,2237793,2237825,2237857,2237890,2237953,2237985,2238017,2238049,2238081,2238113,2238145]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2150146,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,0,0,23068672,23068672,23068672,0,0]),new Uint32Array([2214369,2238593,2238625,2238657,2238689,2238721,2238753,2238785,2238817,2238850,2238913,2238945,2238977,2235457,2239009,2239041]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([2252066,2252130,2252193,2252225,2252257,2252290,2252353,2252385,2252417,2252449,2252481,2252513,2252545,2252578,2252641,2252673]),new Uint32Array([2197697,2114113,2114209,2197729,2197761,2114305,2197793,2114401,2114497,2197825,2114593,2114689,2114785,2114881,2114977,2197857]),new Uint32Array([2224866,2224930,2224994,2225058,2225122,2225186,2225250,2225314,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2219490,2219554,2219617,2219649,2219681,2219714,2219778,2219842,2219905,2219937,0,0,0,0,0,0]),new Uint32Array([6291456,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289]),new Uint32Array([2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953,2148481,2173601,2173633,2173665]),new Uint32Array([2220161,2220161,2220193,2220193,2220193,2220193,2220225,2220225,2220225,2220225,2220257,2220257,2220257,2220257,2220289,2220289]),new Uint32Array([2192673,2192705,2192737,2192769,2192801,2192833,2192865,2118049,2192897,2117473,2117761,2192929,2192961,2192993,2193025,2193057]),new Uint32Array([2179297,6291456,2179329,6291456,2179361,6291456,2179393,6291456,2179425,6291456,2179457,6291456,2179489,6291456,2179521,6291456]),new Uint32Array([6291456,6291456,6291456,23068672,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2235745,2235777,2193633,2235809,2235841,2235873,2235905,2235937,2235969,2116513,2116705,2236001,2200513,2199905,2200545,2236033]),new Uint32Array([2113153,2108481,2113345,2113441,2232993,2233025,0,0,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761]),new Uint32Array([2170593,6291456,2170625,6291456,2170657,6291456,2170689,2170721,6291456,2170753,6291456,6291456,2170785,6291456,2170817,2170849]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2166786,2166850,0,0,0,0]),new Uint32Array([23068672,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,10575617,2187041,10502177,10489601,10489697,0]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2134562,2132162,2132834,2136866,2136482,2164610,2164674,2164738,2164802,2132802,2132706,2164866,2132898,2164930,2164994,2165058]),new Uint32Array([6291456,6291456,2098337,2101441,10531458,2153473,6291456,6291456,10531522,2100737,2108193,6291456,2106499,2106595,2106691,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0]),new Uint32Array([2233122,2233186,2233250,2233314,2233378,2233442,2233506,2233570,2233634,2233698,2233762,2233826,2233890,2233954,2234018,2234082]),new Uint32Array([23068672,6291456,23068672,23068672,23068672,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2205217,2205249,2205281,2205313,2205345,2205377,2205409,2205441,2205473,2205505,2205537,2205569,2205601,2205633,2205665,2205697]),new Uint32Array([6291456,0,6291456,0,0,0,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([2173601,2173761,2174081,2173569,2174241,2174113,2173953,6291456,2174305,6291456,2174337,6291456,2174369,6291456,2174401,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2152450,2152514,2099653,2104452,2099813,2122243,2099973,2152578,2122339,2122435,2122531,2122627,2122723,2104580,2122819,2152642]),new Uint32Array([2236385,2236417,2236449,2236482,2236545,2215425,2236577,2236609,2236641,2236673,2215457,2236705,2236737,2236770,2215489,2236833]),new Uint32Array([2163394,2159746,2163458,2131362,2163522,2160130,2163778,2132226,2163842,2132898,2163906,2161410,2138658,2097666,2136162,2163650]),new Uint32Array([2218721,2246913,2246946,2216385,2247010,2247074,2215009,2247137,2247169,2216481,2247201,2247233,2247266,2247330,2247330,0]),new Uint32Array([2129730,2129762,2129858,2129731,2129827,2156482,2156482,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,0,0,0,0,6291456,0,0]),new Uint32Array([2203969,2204001,2181377,2204033,2204065,6291456,2204097,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2169473,6291456,2169505,6291456,2169537,6291456,2169569,6291456,2169601,6291456,2169633,6291456,2169665,6291456,2169697,6291456]),new Uint32Array([2141542,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220801,2220801,2220801,2220801,2220833,2220833,2220865,2220865,2220865,2220865,2220897,2220897,2220897,2220897,2139873,2139873]),new Uint32Array([0,0,0,0,0,23068672,23068672,0,0,0,0,0,0,0,6291456,0]),new Uint32Array([2214849,2218433,2218465,2218497,2218529,2218561,2214881,2218593,2218625,2218657,2218689,2218721,2218753,2216545,2218785,2218817]),new Uint32Array([23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([2136482,2164610,2164674,2164738,2164802,2132802,2132706,2164866,2132898,2164930,2164994,2165058,2165122,2132802,2132706,2164866]),new Uint32Array([2207649,2207681,2207713,2207745,2207777,2207809,2207841,2207873,2207905,2207937,2207969,2208001,2208033,2208065,2208097,2208129]),new Uint32Array([2123683,2105092,2152706,2123779,2105220,2152770,2100453,2098755,2123906,2124002,2124098,2124194,2124290,2124386,2124482,2124578]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,6291456,0,0,0,0,0,0,0,10485857]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([10508163,10508259,10508355,10508451,2200129,2200161,2192737,2200193,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2203553,6291456,2203585,6291456,6291456,6291456,2203617,6291456,2203649,6291456,2203681,6291456,2203713,6291456,2203745,6291456]),new Uint32Array([18884449,18884065,23068672,18884417,18884034,18921185,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,18874368]),new Uint32Array([2247393,2247426,2247489,2247521,2247553,2247586,2247649,2247681,2247713,2247745,2247777,2247810,2247873,2247905,2247937,2247969]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672]),new Uint32Array([2134145,2097153,2134241,0,2132705,2130977,2160065,2131297,0,2133089,2160577,2133857,2235297,0,2235329,0]),new Uint32Array([2182593,6291456,2182625,6291456,2182657,6291456,2182689,6291456,2182721,6291456,2182753,6291456,2182785,6291456,2182817,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2102402,2102403,6291456,2110050]),new Uint32Array([2149890,2108323,2149954,6291456,2113441,6291456,2149057,6291456,2113441,6291456,2105473,2167265,2111137,2105505,6291456,2108353]),new Uint32Array([2219105,2219137,2195233,2251554,2251617,2251649,2251681,2251713,2251746,2251810,2251873,2251905,2251937,2251970,2252033,2219169]),new Uint32Array([2203009,6291456,2203041,6291456,2203073,6291456,2203105,6291456,2203137,6291456,2203169,6291456,2203201,6291456,2203233,6291456]),new Uint32Array([2128195,2128291,2128387,2128483,2128579,2128675,2128771,2128867,2128963,2129059,2129155,2129251,2129347,2129443,2129539,2129635]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2140964,2141156,2140966,2141158,2141350]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2225378,2225442,2225506,2225570,2225634,2225698,2225762,2225826,2225890,2225954,2226018,2226082,2226146,2226210,2226274,2226338]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417]),new Uint32Array([2108353,2108417,0,2105601,2108193,2157121,2157313,2157377,2157441,2100897,6291456,2108419,2173953,2173633,2173633,2173953]),new Uint32Array([2111713,2173121,2111905,2098177,2173153,2173185,2173217,2113153,2113345,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,2190753]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,2197249,6291456,2117377,2197281,2197313,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,0,0,0,0,0,0,23068672,0,0,0,0,0,6291456,6291456,6291456]),new Uint32Array([2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,23068672,23068672,23068672]),new Uint32Array([2173281,6291456,2173313,6291456,2173345,6291456,2173377,6291456,0,0,10532546,6291456,6291456,6291456,10562017,2173441]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0]),new Uint32Array([23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2159426,2159490,2159554,2159362,2159618,2159682,2139522,2136450,2159746,2159810,2159874,2130978,2131074,2131266,2131362,2159938]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2203233,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2203265,6291456,2203297,6291456,2203329,2203361,6291456]),new Uint32Array([6291456,6291456,2148418,2148482,2148546,0,6291456,2148610,2186529,2186561,2148417,2148545,2148482,10495778,2143969,10495778]),new Uint32Array([2134146,2139426,2160962,2134242,2161218,2161282,2161346,2161410,2138658,2134722,2134434,2134818,2097666,2097346,2097698,2105986]),new Uint32Array([2198881,2198913,2198945,2198977,2199009,2199041,2199073,2199105,2199137,2199169,2199201,2199233,2199265,2199297,2199329,2199361]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([10610561,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([2183873,6291456,2183905,6291456,2183937,6291456,2183969,6291456,2184001,6291456,2184033,6291456,2184065,6291456,2184097,6291456]),new Uint32Array([2244642,2244706,2244769,2244801,2218305,2244833,2244865,2244897,2244929,2244961,2244993,2245026,2245089,2245122,2245185,0]),new Uint32Array([6291456,6291456,2116513,2116609,2116705,2116801,2199873,2199905,2199937,2199969,2190913,2200001,2200033,2200065,2200097,2191009]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2180673,2180705,2180737,2180769,2180801,2180833,0,0]),new Uint32Array([2098081,2099521,2099105,2120705,2098369,2120801,2103361,2097985,2098433,2121377,2121473,2099169,2099873,2098401,2099393,2152609]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2150402]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,2145666,2145730,6291456,6291456]),new Uint32Array([2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665]),new Uint32Array([2187073,6291456,6291456,6291456,6291456,2098241,2098241,2108353,2100897,2111905,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2102404,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,2100612,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10485857]),new Uint32Array([2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889]),new Uint32Array([2217697,2217729,2217761,2217793,2217825,2217857,2217889,2217921,2217953,2215873,2217985,2215905,2218017,2218049,2218081,2218113]),new Uint32Array([2211233,2218849,2216673,2218881,2218913,2218945,2218977,2219009,2216833,2219041,2215137,2219073,2216865,2209505,2219105,2216897]),new Uint32Array([2240097,2240129,2240161,2240193,2240225,2240257,2240289,2240321,2240353,2240386,2240449,2240481,2240513,2240545,2207905,2240578]),new Uint32Array([6291456,6291456,2202273,6291456,2202305,6291456,2202337,6291456,2202369,6291456,2202401,6291456,2202433,6291456,2202465,6291456]),new Uint32Array([0,23068672,23068672,18923394,23068672,18923458,18923522,18884099,18923586,18884195,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2201121,6291456,2201153,6291456,2201185,6291456,2201217,6291456,2201249,6291456,2201281,6291456,2201313,6291456,2201345,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([2211041,2211073,2211105,2211137,2211169,2211201,2211233,2211265,2211297,2211329,2211361,2211393,2211425,2211457,2211489,2211521]),new Uint32Array([2181825,6291456,2181857,6291456,2181889,6291456,2181921,6291456,2181953,6291456,2181985,6291456,2182017,6291456,2182049,6291456]),new Uint32Array([2162337,2097633,2097633,2097633,2097633,2132705,2132705,2132705,2132705,2097153,2097153,2097153,2097153,2133089,2133089,2133089]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,2148545,6291456,2173473,6291456,2148865,6291456,2173505,6291456,2173537,6291456,2173569,6291456,2149121,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2207137,2207169,2207201,2207233,2207265,2207297,2207329,2207361,2207393,2207425,2207457,2207489,2207521,2207553,2207585,2207617]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,6291456,0,23068672,23068672,0,0,0,0,0,0]),new Uint32Array([2198401,2198433,2198465,2198497,0,2198529,2198561,2198593,2198625,2198657,2198689,2198721,2198753,2198785,2198817,2198849]),new Uint32Array([2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0,0]),new Uint32Array([2216385,2118721,2216417,2216449,2216481,2216513,2216545,2211233,2216577,2216609,2216641,2216673,2216705,2216737,2216737,2216769]),new Uint32Array([2216801,2216833,2216865,2216897,2216929,2216961,2216993,2215169,2217025,2217057,2217089,2217121,2217154,2217217,0,0]),new Uint32Array([2210593,2191809,2210625,2210657,2210689,2210721,2210753,2210785,2210817,2210849,2191297,2210881,2210913,2210945,2210977,2211009]),new Uint32Array([0,0,2105825,0,0,2111905,2105473,0,0,2112289,2108193,2112481,2112577,0,2098305,2108321]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,2097153,2134241,0,2132705,0,0,2131297,0,2133089,0,2133857,0,2220769,0,2235361]),new Uint32Array([14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,6291456,6291456,14680064]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2171873,6291456,2171905,6291456,2171937,6291456,2171969,6291456,2172001,6291456,2172033,6291456,2172065,6291456,2172097,6291456]),new Uint32Array([2220929,2220929,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2133857,2134145,2134145,2134145,2134145,2134241,2134241,2134241,2134241,2105889,2105889,2105889,2105889,2097185,2097185,2097185]),new Uint32Array([2173697,2173761,2173793,2174113,2173985,2173953,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,10499619,10499715,10499811,10499907]),new Uint32Array([0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,0,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,2144322,2144386,2144450,2144514,2144578,2144642,2144706,2144770]),new Uint32Array([23068672,23068672,23068672,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456]),new Uint32Array([2113153,2108481,2113345,2113441,2098209,2111137,0,2098241,2108353,2108417,2105825,0,0,2111905,2105473,2105569]),new Uint32Array([2236321,2236353,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2152194,2121283,2103684,2103812,2097986,2098533,2097990,2098693,2098595,2098853,2099013,2103940,2121379,2121475,2121571,2104068]),new Uint32Array([2206241,2206273,2206305,2206337,2206369,2206401,2206433,2206465,2206497,2206529,2206561,2206593,2206625,2206657,2206689,2206721]),new Uint32Array([6291456,6291456,6291456,6291456,16777216,16777216,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,23068672,23068672,10538818,10538882,6291456,6291456,2150338]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2214369,2214401,2214433,2214465,2214497,2214529,2214561,2214593,2194977,2214625,2195073,2214657,2214689,2214721,6291456,6291456]),new Uint32Array([2097152,2097152,2097152,2097152,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2182081,6291456,2182113,6291456,2182145,6291456,2182177,6291456,2182209,6291456,2182241,6291456,2182273,6291456,2182305,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2146881,2146945,2147009,2147073,2147137,2147201,2147265,2147329]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,23068672,23068672]),new Uint32Array([0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2122915,2123011,2123107,2104708,2123203,2123299,2123395,2100133,2104836,2100290,2100293,2104962,2104964,2098052,2123491,2123587]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([6291456,2171169,6291456,2171201,6291456,2171233,6291456,2171265,6291456,2171297,6291456,2171329,6291456,6291456,2171361,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,2148994,2149058,2149122,0,6291456,2149186,2186945,2173537,2148993,2149121,2149058,10531458,10496066,0]),new Uint32Array([2195009,2195041,2195073,2195105,2195137,2195169,2195201,2195233,2195265,2195297,2195329,2195361,2195393,2195425,2195457,2195489]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,0,0,6291456,6291456]),new Uint32Array([2182849,6291456,2182881,6291456,2182913,6291456,2182945,6291456,2182977,6291456,2183009,6291456,2183041,6291456,2183073,6291456]),new Uint32Array([2211553,2210081,2211585,2211617,2211649,2211681,2211713,2211745,2211777,2211809,2209569,2211841,2211873,2211905,2211937,2211969]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2166594,2127298,2166658,2142978,2141827,2166722]),new Uint32Array([2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2185761,2185793,2185825,2185857,2185889,2185921,0,0]),new Uint32Array([6291456,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,6291456]),new Uint32Array([0,0,0,2220961,2220961,2220961,2220961,2144193,2144193,2159201,2159201,2159265,2159265,2144194,2220993,2220993]),new Uint32Array([2192641,2235393,2235425,2152257,2116609,2235457,2235489,2200065,2235521,2235553,2235585,2212449,2235617,2235649,2235681,2235713]),new Uint32Array([2194049,2194081,2194113,2194145,2194177,2194209,2194241,2194273,2194305,2194337,2194369,2194401,2194433,2194465,2194497,2194529]),new Uint32Array([2196673,2208641,2208673,2208705,2208737,2208769,2208801,2208833,2208865,2208897,2208929,2208961,2208993,2209025,2209057,2209089]),new Uint32Array([2191681,2191713,2191745,2191777,2153281,2191809,2191841,2191873,2191905,2191937,2191969,2192001,2192033,2192065,2192097,2192129]),new Uint32Array([2230946,2231010,2231074,2231138,2231202,2231266,2231330,2231394,2231458,2231522,2231586,2231650,2231714,2231778,2231842,2231906]),new Uint32Array([14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2185953,2185985,2186017,2186049,2186081,2186113,2186145,2186177]),new Uint32Array([2139811,2139907,2097284,2105860,2105988,2106116,2106244,2097444,2097604,2097155,10485778,10486344,2106372,6291456,0,0]),new Uint32Array([2110051,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2172385,6291456,2172417,6291456,2172449,6291456,2172481,6291456,2172513,6291456,2172545,6291456,2172577,6291456,2172609,6291456]),new Uint32Array([0,0,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2249345,2249377,2249409,2249441,2249473,2249505,2249537,2249570,2210209,2249633,2249665,2249697,2249729,2249761,2249793,2216769]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2187169,2187201,2187233,2187265,2187297,2187329,2187361,2187393,2187425,2187457,2187489,2187521,2187553,2187585,2187617,2187649]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,6291456,6291456,0,0,0,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([2182337,6291456,2182369,6291456,2182401,6291456,2182433,6291456,2182465,6291456,2182497,6291456,2182529,6291456,2182561,6291456]),new Uint32Array([2138179,2138275,2138371,2138467,2134243,2134435,2138563,2138659,2138755,2138851,2138947,2139043,2138947,2138755,2139139,2139235]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2250498,2250562,2250625,2250657,2208321,2250689,2250721,2250753,2250785,2250817,2250849,2218945,2250881,2250913,2250945,0]),new Uint32Array([2170369,2105569,2098305,2108481,2173249,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2100897,2111905,2105473,2105569,2105601,0,2108193,0,0,0,2098305,2108321,2108289,2100865,2113153,2108481]),new Uint32Array([2100897,2100897,2105569,2105569,6291456,2112289,2149826,6291456,6291456,2112481,2112577,2098177,2098177,2098177,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,6291456,6291456,6291456]),new Uint32Array([6291456,2169953,2169985,6291456,2170017,6291456,2170049,2170081,6291456,2170113,2170145,2170177,6291456,6291456,2170209,2170241]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220641,2220641,2220673,2220673,2220673,2220673,2220705,2220705,2220705,2220705,2220737,2220737,2220737,2220737,2220769,2220769]),new Uint32Array([2127650,2127746,2127842,2127938,2128034,2128130,2128226,2128322,2128418,2127523,2127619,2127715,2127811,2127907,2128003,2128099]),new Uint32Array([2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177]),new Uint32Array([0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2204705,2204737,2204769,2204801,2204833,2204865,2204897,2204929,2204961,2204993,2205025,2205057,2205089,2205121,2205153,2205185]),new Uint32Array([2176385,6291456,2176417,6291456,2176449,6291456,2176481,6291456,2176513,6291456,2176545,6291456,2176577,6291456,2176609,6291456]),new Uint32Array([2195521,2195553,2195585,2195617,2195649,2195681,2117857,2195713,2195745,2195777,2195809,2195841,2195873,2195905,2195937,2195969]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456]),new Uint32Array([2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113]),new Uint32Array([2131586,2132450,2135970,2135778,2161602,2136162,2163650,2161794,2135586,2163714,2137186,2131810,2160290,2135170,2097506,2159554]),new Uint32Array([2134145,2097153,2134241,2105953,2132705,2130977,2160065,2131297,2162049,2133089,2160577,2133857,0,0,0,0]),new Uint32Array([2116513,2116609,2116705,2116801,2116897,2116993,2117089,2117185,2117281,2117377,2117473,2117569,2117665,2117761,2117857,2117953]),new Uint32Array([2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100802,2101154,2101282,2101410,2101538,2101666,2101794]),new Uint32Array([2100289,2098657,2098049,2200737,2123489,2123681,2200769,2098625,2100321,2098145,2100449,2098017,2098753,2098977,2150241,2150305]),new Uint32Array([6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,2109955,6291456,6291456,0,0,0,0]),new Uint32Array([18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,0,0]),new Uint32Array([2130979,2131075,2131075,2131171,2131267,2131363,2131459,2131555,2131651,2131651,2131747,2131843,2131939,2132035,2132131,2132227]),new Uint32Array([0,2177793,6291456,2177825,6291456,2177857,6291456,2177889,6291456,2177921,6291456,2177953,6291456,2177985,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2113345,0,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289]),new Uint32Array([2136643,2136739,2136835,2136931,2137027,2137123,2137219,2137315,2137411,2137507,2137603,2137699,2137795,2137891,2137987,2138083]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([2174433,6291456,2174465,6291456,2174497,6291456,2174529,6291456,2174561,6291456,2174593,6291456,2174625,6291456,2174657,6291456]),new Uint32Array([0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441]),new Uint32Array([10496547,10496643,2105505,2149698,6291456,10496739,10496835,2170273,6291456,2149762,2105825,2111713,2111713,2111713,2111713,2168673]),new Uint32Array([6291456,2143490,2143490,2143490,2171649,6291456,2171681,2171713,2171745,6291456,2171777,6291456,2171809,6291456,2171841,6291456]),new Uint32Array([2159106,2159106,2159170,2159170,2159234,2159234,2159298,2159298,2159298,2159362,2159362,2159362,2106401,2106401,2106401,2106401]),new Uint32Array([2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137]),new Uint32Array([2108417,2181217,2181249,2181281,2170433,2170401,2181313,2181345,2181377,2181409,2181441,2181473,2181505,2181537,2170529,2181569]),new Uint32Array([2218433,2245761,2245793,2245825,2245857,2245890,2245953,2245986,2209665,2246050,2246113,2246146,2246210,2246274,2246337,2246369]),new Uint32Array([2230754,2230818,2230882,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2184129,6291456,2184161,6291456,2184193,6291456,6291456,6291456,6291456,6291456,2146818,2183361,6291456,6291456,2142978,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2135170,2097506,2130691,2130787,2130883,2163970,2164034,2164098,2164162,2164226,2164290,2164354,2164418,2164482,2164546,2133122]),new Uint32Array([2108515,2108611,2100740,2108707,2108803,2108899,2108995,2109091,2109187,2109283,2109379,2109475,2109571,2109667,2109763,2100738]),new Uint32Array([2102788,2102916,2103044,2120515,2103172,2120611,2120707,2098373,2103300,2120803,2120899,2120995,2103428,2103556,2121091,2121187]),new Uint32Array([2158082,2158146,0,2158210,2158274,0,2158338,2158402,2158466,2129922,2158530,2158594,2158658,2158722,2158786,2158850]),new Uint32Array([10499619,10499715,10499811,10499907,10500003,10500099,10500195,10500291,10500387,10500483,10500579,10500675,10500771,10500867,10500963,10501059]),new Uint32Array([2239585,2239618,2239681,2239713,0,2191969,2239745,2239777,2192033,2239809,2239841,2239874,2239937,2239970,2240033,2240065]),new Uint32Array([2252705,2252738,2252801,2252833,2252865,2252897,2252930,2252994,2253057,2253089,2253121,2253154,2253217,2253250,2219361,2219361]),new Uint32Array([2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,10538050,10538114,10538178,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2226402,2226466,2226530,2226594,2226658,2226722,2226786,2226850,2226914,2226978,2227042,2227106,2227170,2227234,2227298,2227362]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,2144066,2144130,2144194,2144258,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2124674,2124770,2123875,2123971,2124067,2124163,2124259,2124355,2124451,2124547,2124643,2124739,2124835,2124931,2125027,2125123]),new Uint32Array([2168065,6291456,2168097,6291456,2168129,6291456,2168161,6291456,2168193,6291456,2168225,6291456,2168257,6291456,2168289,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,2100610,2100611,6291456,2107842,2107843,6291456,6291456,6291456,6291456,10537922,6291456,10537986,6291456]),new Uint32Array([2174849,2174881,2174913,2174945,2174977,2175009,2175041,2175073,2175105,2175137,2175169,2175201,2175233,2175265,2175297,2175329]),new Uint32Array([2154562,2154626,2154690,2154754,2141858,2154818,2154882,2127298,2154946,2127298,2155010,2155074,2155138,2155202,2155266,2155202]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0]),new Uint32Array([2200641,2150786,2150850,2150914,2150978,2151042,2106562,2151106,2150562,2151170,2151234,2151298,2151362,2151426,2151490,2151554]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,6291456,6291456]),new Uint32Array([2220289,2220289,2220321,2220321,2220321,2220321,2220353,2220353,2220353,2220353,2220385,2220385,2220385,2220385,2220417,2220417]),new Uint32Array([2155330,2155394,0,2155458,2155522,2155586,2105732,0,2155650,2155714,2155778,2125314,2155842,2155906,2126274,2155970]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,23068672,23068672,6291456,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0]),new Uint32Array([2097729,2106017,2106017,2106017,2106017,2131297,2131297,2131297,2131297,2106081,2106081,2162049,2162049,2105953,2105953,2162337]),new Uint32Array([2097185,2097697,2097697,2097697,2097697,2135777,2135777,2135777,2135777,2097377,2097377,2097377,2097377,2097601,2097601,2097217]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23068672]),new Uint32Array([2139331,2139427,2139523,2139043,2133571,2132611,2139619,2139715,0,0,0,0,0,0,0,0]),new Uint32Array([2174113,2174145,2100897,2098177,2108289,2100865,2173601,2173633,2173985,2174113,2174145,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,23068672,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,18923778,23068672,23068672,23068672,23068672,18923842,23068672,23068672,23068672,23068672,18923906,23068672,23068672,23068672]),new Uint32Array([2134145,2097153,2134241,0,2132705,2130977,2160065,2131297,0,2133089,0,2133857,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2177537,6291456,2177569,6291456,2177601,6291456,2177633,6291456,2177665,6291456,2177697,6291456,2177729,6291456,2177761,6291456]),new Uint32Array([2212481,2212513,2212545,2212577,2197121,2212609,2212641,2212673,2212705,2212737,2212769,2212801,2212833,2212865,2212897,2212929]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2098241,2108353,2170209,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,6291456,2108193,2172417,2112481,2098177]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456])],p=new Uint16Array([616,616,565,147,161,411,330,2,131,131,328,454,241,408,86,86,696,113,285,350,325,301,473,214,639,232,447,64,369,598,124,672,567,223,621,154,107,86,86,86,86,86,86,505,86,68,634,86,218,218,218,218,486,218,218,513,188,608,216,86,217,463,668,85,700,360,184,86,86,86,647,402,153,10,346,718,662,260,145,298,117,1,443,342,138,54,563,86,240,572,218,70,387,86,118,460,641,602,86,86,306,218,86,692,86,86,86,86,86,162,707,86,458,26,86,218,638,86,86,86,86,86,65,449,86,86,306,183,86,58,391,667,86,157,131,131,131,131,86,433,131,406,31,218,247,86,86,693,218,581,351,86,438,295,69,462,45,126,173,650,14,295,69,97,168,187,641,78,523,390,69,108,287,664,173,219,83,295,69,108,431,426,173,694,412,115,628,52,257,398,641,118,501,121,69,579,151,423,173,620,464,121,69,382,151,476,173,27,53,121,86,594,578,226,173,86,632,130,86,96,228,268,641,622,563,86,86,21,148,650,131,131,321,43,144,343,381,531,131,131,178,20,86,399,156,375,164,541,30,60,715,198,92,118,131,131,86,86,306,407,86,280,457,196,488,358,131,131,244,86,86,143,86,86,86,86,86,667,563,86,86,86,86,86,86,86,86,86,86,86,86,86,336,363,86,86,336,86,86,380,678,67,86,86,86,678,86,86,86,512,86,307,86,708,86,86,86,86,86,528,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,563,307,86,86,86,86,86,104,450,337,86,720,86,32,450,397,86,86,86,587,218,558,708,708,293,708,86,86,86,86,86,694,205,86,8,86,86,86,86,549,86,667,697,697,679,86,458,460,86,86,650,86,708,543,86,86,86,245,86,86,86,140,218,127,708,708,458,197,131,131,131,131,500,86,86,483,251,86,306,510,515,86,722,86,86,86,65,201,86,86,483,580,470,86,86,86,368,131,131,131,694,114,110,555,86,86,123,721,163,142,713,418,86,317,675,209,218,218,218,371,545,592,629,490,603,199,46,320,525,680,310,279,388,111,42,252,593,607,235,617,410,377,50,548,135,356,17,520,189,116,392,600,349,332,482,699,690,535,119,106,451,71,152,667,131,218,218,265,671,637,492,504,533,683,269,269,658,86,86,86,86,86,86,86,86,86,491,619,86,86,6,86,86,86,86,86,86,86,86,86,86,86,229,86,86,86,86,86,86,86,86,86,86,86,86,667,86,86,171,131,118,131,656,206,234,571,89,334,670,246,311,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,534,86,86,86,86,86,86,82,86,86,86,86,86,430,86,86,86,86,86,86,86,86,86,599,86,324,86,470,69,640,264,131,626,101,174,86,86,667,233,105,73,374,394,221,204,84,28,326,86,86,471,86,86,86,109,573,86,171,200,200,200,200,218,218,86,86,86,86,460,131,131,131,86,506,86,86,86,86,86,220,404,34,614,47,442,305,25,612,338,601,648,7,344,255,131,131,51,86,312,507,563,86,86,86,86,588,86,86,86,86,86,530,511,86,458,3,435,384,556,522,230,527,86,118,86,86,717,86,137,273,79,181,484,23,93,112,655,249,417,703,370,87,98,313,684,585,155,465,596,481,695,18,416,428,61,701,706,282,643,495,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,307,86,86,86,171,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,650,131,422,542,420,263,24,172,86,86,86,86,86,566,86,86,132,540,395,353,494,519,19,485,284,472,131,131,131,16,714,86,211,708,86,86,86,694,698,86,86,483,704,708,218,272,86,86,120,86,159,478,86,307,247,86,86,663,597,459,627,667,86,86,277,455,39,302,86,250,86,86,86,271,99,452,306,281,329,400,200,86,86,362,549,352,646,461,323,586,86,86,4,708,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,717,86,518,86,86,650,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,125,554,480,300,613,72,333,288,561,544,604,48,719,91,169,176,590,224,76,191,29,559,560,231,537,166,477,538,256,437,131,131,469,167,40,0,685,266,441,705,239,642,475,568,640,610,299,673,517,318,385,22,202,180,179,359,424,215,90,66,521,653,467,682,453,409,479,88,131,661,35,303,15,262,666,630,712,131,131,618,659,175,218,195,347,193,227,261,150,165,709,546,294,569,710,270,413,376,524,55,242,38,419,529,170,657,3,304,122,379,278,131,651,86,67,576,458,458,131,131,86,86,86,86,86,86,86,118,309,86,86,547,86,86,86,86,667,650,664,131,131,86,86,56,131,131,131,131,131,131,131,131,86,307,86,86,86,664,238,650,86,86,717,86,118,86,86,315,86,59,86,86,574,549,131,131,340,57,436,86,86,86,86,86,86,458,708,499,691,62,86,650,86,86,694,86,86,86,319,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,86,549,694,131,131,131,131,131,131,131,131,131,77,86,86,139,86,502,86,86,86,667,595,131,131,131,86,12,86,13,86,609,131,131,131,131,86,86,86,625,86,669,86,86,182,129,86,5,694,104,86,86,86,86,131,131,86,86,386,171,86,86,86,345,86,324,86,589,86,213,36,131,131,131,131,131,86,86,86,86,104,131,131,131,141,290,80,677,86,86,86,267,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,667,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,515,86,86,33,136,669,86,711,515,86,86,550,640,86,104,708,515,86,159,372,717,86,86,444,515,86,86,663,37,86,563,460,86,390,624,702,131,131,131,131,389,59,708,86,86,341,208,708,635,295,69,108,431,508,100,190,131,131,131,131,131,131,131,131,86,86,86,649,516,660,131,131,86,86,86,218,631,708,131,131,131,131,131,131,131,131,131,131,86,86,341,575,238,514,131,131,86,86,86,218,291,708,307,131,86,86,306,367,708,131,131,131,86,378,697,86,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,615,253,86,86,86,292,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,104,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,69,86,341,553,549,86,307,86,86,645,275,455,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,708,131,131,131,131,131,131,86,86,86,86,86,86,667,460,86,86,86,86,86,86,86,86,86,86,86,86,717,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,667,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,104,86,667,459,131,131,131,131,131,131,86,458,225,86,86,86,516,549,11,390,405,86,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,460,44,218,197,711,515,131,131,131,131,664,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,307,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,308,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,118,307,104,286,591,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,86,86,681,86,86,75,185,314,582,86,358,496,474,86,104,131,86,86,86,86,146,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,171,86,640,131,131,131,131,131,131,131,131,246,503,689,339,674,81,258,415,439,128,562,366,414,246,503,689,583,222,557,316,636,665,186,355,95,670,246,503,689,339,674,557,258,415,439,186,355,95,670,246,503,689,446,644,536,652,331,532,335,440,274,421,297,570,74,425,364,425,606,552,403,509,134,365,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,218,218,218,498,218,218,577,627,551,497,572,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,553,354,236,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,296,455,131,131,456,243,103,86,41,459,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,9,276,158,716,393,564,383,489,401,654,210,654,131,131,131,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,650,86,86,86,86,86,86,717,667,563,563,563,86,549,102,686,133,246,605,86,448,86,86,207,307,131,131,131,641,86,177,611,445,373,194,584,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,308,307,171,86,86,86,86,86,86,86,717,86,86,86,86,86,460,131,131,650,86,86,86,694,708,86,86,694,86,458,131,131,131,131,131,131,667,694,289,650,667,131,131,86,640,131,131,664,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,460,86,86,86,86,86,86,86,86,86,86,86,86,86,458,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,466,203,149,429,94,432,160,687,539,63,237,283,192,248,348,259,427,526,396,676,254,468,487,212,327,623,49,633,322,493,434,688,357,361,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131]),{mapStr:"صلى الله عليه وسلمجل جلالهキロメートルrad∕s2エスクードキログラムキロワットグラムトンクルゼイロサンチームパーセントピアストルファラッドブッシェルヘクタールマンションミリバールレントゲン′′′′1⁄10viii(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)∫∫∫∫(오전)(오후)アパートアルファアンペアイニングエーカーカラットカロリーキュリーギルダークローネサイクルシリングバーレルフィートポイントマイクロミクロンメガトンリットルルーブル株式会社kcalm∕s2c∕kgاكبرمحمدصلعمرسولریال1⁄41⁄23⁄4 ̈́ྲཱྀླཱྀ ̈͂ ̓̀ ̓́ ̓͂ ̔̀ ̔́ ̔͂ ̈̀‵‵‵a/ca/sc/oc/utelfax1⁄71⁄91⁄32⁄31⁄52⁄53⁄54⁄51⁄65⁄61⁄83⁄85⁄87⁄8xii0⁄3∮∮∮(1)(2)(3)(4)(5)(6)(7)(8)(9)(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z)::====(ᄀ)(ᄂ)(ᄃ)(ᄅ)(ᄆ)(ᄇ)(ᄉ)(ᄋ)(ᄌ)(ᄎ)(ᄏ)(ᄐ)(ᄑ)(ᄒ)(가)(나)(다)(라)(마)(바)(사)(아)(자)(차)(카)(타)(파)(하)(주)(一)(二)(三)(四)(五)(六)(七)(八)(九)(十)(月)(火)(水)(木)(金)(土)(日)(株)(有)(社)(名)(特)(財)(祝)(労)(代)(呼)(学)(監)(企)(資)(協)(祭)(休)(自)(至)pte10月11月12月ergltdアールインチウォンオンスオームカイリガロンガンマギニーケースコルナコーポセンチダースノットハイツパーツピクルフランペニヒヘルツペンスページベータボルトポンドホールホーンマイルマッハマルクヤードヤールユアンルピー10点11点12点13点14点15点16点17点18点19点20点21点22点23点24点hpabardm2dm3khzmhzghzthzmm2cm2km2mm3cm3km3kpampagpalogmilmolppmv∕ma∕m10日11日12日13日14日15日16日17日18日19日20日21日22日23日24日25日26日27日28日29日30日31日galffifflשּׁשּׂ ٌّ ٍّ َّ ُّ ِّ ّٰـَّـُّـِّتجمتحجتحمتخمتمجتمحتمخجمححميحمىسحجسجحسجىسمحسمجسممصححصممشحمشجيشمخشممضحىضخمطمحطممطميعجمعممعمىغممغميغمىفخمقمحقمملحملحيلحىلججلخملمحمحجمحيمجحمجممخممجخهمجهممنحمنحىنجمنجىنمينمىيممبخيتجيتجىتخيتخىتميتمىجميجحىجمىسخىصحيشحيضحيلجيلمييحييجييميمميقمينحيعميكمينجحمخيلجمكممجحيحجيمجيفميبحيسخينجيصلےقلے𝅘𝅥𝅮𝅘𝅥𝅯𝅘𝅥𝅰𝅘𝅥𝅱𝅘𝅥𝅲𝆹𝅥𝅮𝆺𝅥𝅮𝆹𝅥𝅯𝆺𝅥𝅯〔s〕ppv〔本〕〔三〕〔二〕〔安〕〔点〕〔打〕〔盗〕〔勝〕〔敗〕 ̄ ́ ̧ssi̇ijl·ʼndžljnjdz ̆ ̇ ̊ ̨ ̃ ̋ ιեւاٴوٴۇٴيٴक़ख़ग़ज़ड़ढ़फ़य़ড়ঢ়য়ਲ਼ਸ਼ਖ਼ਗ਼ਜ਼ਫ਼ଡ଼ଢ଼ําໍາຫນຫມགྷཌྷདྷབྷཛྷཀྵཱཱིུྲྀླྀྒྷྜྷྡྷྦྷྫྷྐྵaʾἀιἁιἂιἃιἄιἅιἆιἇιἠιἡιἢιἣιἤιἥιἦιἧιὠιὡιὢιὣιὤιὥιὦιὧιὰιαιάιᾶι ͂ὴιηιήιῆιὼιωιώιῶι ̳!! ̅???!!?rs°c°fnosmtmivix⫝̸ ゙ ゚よりコト333435참고주의363738394042444546474849503月4月5月6月7月8月9月hgevギガデシドルナノピコビルペソホンリラレムdaauovpciu平成昭和大正明治naμakakbmbgbpfnfμfμgmgμlmldlklfmnmμmpsnsμsmsnvμvkvpwnwμwmwkwkωmωbqcccddbgyhainkkktlnlxphprsrsvwbstմնմեմիվնմխיִײַשׁשׂאַאָאּבּגּדּהּוּזּטּיּךּכּלּמּנּסּףּפּצּקּרּתּוֹבֿכֿפֿאלئائەئوئۇئۆئۈئېئىئجئحئمئيبجبمبىبيتىتيثجثمثىثيخحضجضمطحظمغجفجفحفىفيقحقىقيكاكجكحكخكلكىكينخنىنيهجهىهييىذٰرٰىٰئرئزئنبزبنترتزتنثرثزثنمانرنزننيريزئخئهبهتهصخنههٰثهسهشهطىطيعىعيغىغيسىسيشىشيصىصيضىضيشخشرسرصرضراً ًـًـّ ْـْلآلألإ𝅗𝅥0,1,2,3,4,5,6,7,8,9,wzhvsdwcmcmddjほかココàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįĵķĺļľłńņňŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷÿźżɓƃƅɔƈɖɗƌǝəɛƒɠɣɩɨƙɯɲɵơƣƥʀƨʃƭʈưʊʋƴƶʒƹƽǎǐǒǔǖǘǚǜǟǡǣǥǧǩǫǭǯǵƕƿǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟƞȣȥȧȩȫȭȯȱȳⱥȼƚⱦɂƀʉʌɇɉɋɍɏɦɹɻʁʕͱͳʹͷ;ϳέίόύβγδεζθκλνξοπρστυφχψϊϋϗϙϛϝϟϡϣϥϧϩϫϭϯϸϻͻͼͽѐёђѓєѕіїјљњћќѝўџабвгдежзийклмнопрстуфхцчшщъыьэюяѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯաբգդզէըթժլծկհձղճյշոչպջռստրցփքօֆ་ⴧⴭნᏰᏱᏲᏳᏴᏵꙋɐɑᴂɜᴖᴗᴝᴥɒɕɟɡɥɪᵻʝɭᶅʟɱɰɳɴɸʂƫᴜʐʑḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿἐἑἒἓἔἕἰἱἲἳἴἵἶἷὀὁὂὃὄὅὑὓὕὗᾰᾱὲΐῐῑὶΰῠῡὺῥ`ὸ‐+−∑〈〉ⰰⰱⰲⰳⰴⰵⰶⰷⰸⰹⰺⰻⰼⰽⰾⰿⱀⱁⱂⱃⱄⱅⱆⱇⱈⱉⱊⱋⱌⱍⱎⱏⱐⱑⱒⱓⱔⱕⱖⱗⱘⱙⱚⱛⱜⱝⱞⱡɫᵽɽⱨⱪⱬⱳⱶȿɀⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳬⳮⳳⵡ母龟丨丶丿乙亅亠人儿入冂冖冫几凵刀力勹匕匚匸卜卩厂厶又口囗士夂夊夕女子宀寸小尢尸屮山巛工己巾干幺广廴廾弋弓彐彡彳心戈戶手支攴文斗斤方无曰欠止歹殳毋比毛氏气爪父爻爿片牙牛犬玄玉瓜瓦甘生用田疋疒癶白皮皿目矛矢石示禸禾穴立竹米糸缶网羊羽老而耒耳聿肉臣臼舌舛舟艮色艸虍虫血行衣襾見角言谷豆豕豸貝赤走足身車辛辰辵邑酉釆里長門阜隶隹雨靑非面革韋韭音頁風飛食首香馬骨高髟鬥鬯鬲鬼魚鳥鹵鹿麥麻黃黍黑黹黽鼎鼓鼠鼻齊齒龍龜龠.〒卄卅ᄁᆪᆬᆭᄄᆰᆱᆲᆳᆴᆵᄚᄈᄡᄊ짜ᅢᅣᅤᅥᅦᅧᅨᅩᅪᅫᅬᅭᅮᅯᅰᅱᅲᅳᅴᅵᄔᄕᇇᇈᇌᇎᇓᇗᇙᄜᇝᇟᄝᄞᄠᄢᄣᄧᄩᄫᄬᄭᄮᄯᄲᄶᅀᅇᅌᇱᇲᅗᅘᅙᆄᆅᆈᆑᆒᆔᆞᆡ上中下甲丙丁天地問幼箏우秘男適優印注項写左右医宗夜テヌモヨヰヱヲꙁꙃꙅꙇꙉꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛꜣꜥꜧꜩꜫꜭꜯꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝺꝼᵹꝿꞁꞃꞅꞇꞌꞑꞓꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩɬʞʇꭓꞵꞷꬷꭒᎠᎡᎢᎣᎤᎥᎦᎧᎨᎩᎪᎫᎬᎭᎮᎯᎰᎱᎲᎳᎴᎵᎶᎷᎸᎹᎺᎻᎼᎽᎾᎿᏀᏁᏂᏃᏄᏅᏆᏇᏈᏉᏊᏋᏌᏍᏎᏏᏐᏑᏒᏓᏔᏕᏖᏗᏘᏙᏚᏛᏜᏝᏞᏟᏠᏡᏢᏣᏤᏥᏦᏧᏨᏩᏪᏫᏬᏭᏮᏯ豈更賈滑串句契喇奈懶癩羅蘿螺裸邏樂洛烙珞落酪駱亂卵欄爛蘭鸞嵐濫藍襤拉臘蠟廊朗浪狼郎來冷勞擄櫓爐盧蘆虜路露魯鷺碌祿綠菉錄論壟弄籠聾牢磊賂雷壘屢樓淚漏累縷陋勒肋凜凌稜綾菱陵讀拏諾丹寧怒率異北磻便復不泌數索參塞省葉說殺沈拾若掠略亮兩凉梁糧良諒量勵呂廬旅濾礪閭驪麗黎曆歷轢年憐戀撚漣煉璉秊練聯輦蓮連鍊列劣咽烈裂廉念捻殮簾獵令囹嶺怜玲瑩羚聆鈴零靈領例禮醴隸惡了僚寮尿料燎療蓼遼暈阮劉杻柳流溜琉留硫紐類戮陸倫崙淪輪律慄栗隆利吏履易李梨泥理痢罹裏裡離匿溺吝燐璘藺隣鱗麟林淋臨笠粒狀炙識什茶刺切度拓糖宅洞暴輻降廓兀嗀塚晴凞猪益礼神祥福靖精蘒諸逸都飯飼館鶴郞隷侮僧免勉勤卑喝嘆器塀墨層悔慨憎懲敏既暑梅海渚漢煮爫琢碑祉祈祐祖禍禎穀突節縉繁署者臭艹著褐視謁謹賓贈辶難響頻恵𤋮舘並况全侀充冀勇勺啕喙嗢墳奄奔婢嬨廒廙彩徭惘慎愈慠戴揄搜摒敖望杖滛滋瀞瞧爵犯瑱甆画瘝瘟盛直睊着磌窱类絛缾荒華蝹襁覆調請諭變輸遲醙鉶陼韛頋鬒𢡊𢡄𣏕㮝䀘䀹𥉉𥳐𧻓齃龎עםٱٻپڀٺٿٹڤڦڄڃچڇڍڌڎڈژڑکگڳڱںڻۀہھۓڭۋۅۉ、〖〗—–_{}【】《》「」『』[]#&*-<>\\$%@ءؤة\"'^|~⦅⦆・ゥャ¢£¬¦¥₩│←↑→↓■○𐐨𐐩𐐪𐐫𐐬𐐭𐐮𐐯𐐰𐐱𐐲𐐳𐐴𐐵𐐶𐐷𐐸𐐹𐐺𐐻𐐼𐐽𐐾𐐿𐑀𐑁𐑂𐑃𐑄𐑅𐑆𐑇𐑈𐑉𐑊𐑋𐑌𐑍𐑎𐑏𐓘𐓙𐓚𐓛𐓜𐓝𐓞𐓟𐓠𐓡𐓢𐓣𐓤𐓥𐓦𐓧𐓨𐓩𐓪𐓫𐓬𐓭𐓮𐓯𐓰𐓱𐓲𐓳𐓴𐓵𐓶𐓷𐓸𐓹𐓺𐓻𐳀𐳁𐳂𐳃𐳄𐳅𐳆𐳇𐳈𐳉𐳊𐳋𐳌𐳍𐳎𐳏𐳐𐳑𐳒𐳓𐳔𐳕𐳖𐳗𐳘𐳙𐳚𐳛𐳜𐳝𐳞𐳟𐳠𐳡𐳢𐳣𐳤𐳥𐳦𐳧𐳨𐳩𐳪𐳫𐳬𐳭𐳮𐳯𐳰𐳱𐳲𑣀𑣁𑣂𑣃𑣄𑣅𑣆𑣇𑣈𑣉𑣊𑣋𑣌𑣍𑣎𑣏𑣐𑣑𑣒𑣓𑣔𑣕𑣖𑣗𑣘𑣙𑣚𑣛𑣜𑣝𑣞𑣟ıȷ∇∂𞤢𞤣𞤤𞤥𞤦𞤧𞤨𞤩𞤪𞤫𞤬𞤭𞤮𞤯𞤰𞤱𞤲𞤳𞤴𞤵𞤶𞤷𞤸𞤹𞤺𞤻𞤼𞤽𞤾𞤿𞥀𞥁𞥂𞥃ٮڡٯ字双多解交映無前後再新初終販声吹演投捕遊指禁空合満申割営配得可丽丸乁𠄢你侻倂偺備像㒞𠘺兔兤具𠔜㒹內𠕋冗冤仌冬𩇟刃㓟刻剆剷㔕包匆卉博即卽卿𠨬灰及叟𠭣叫叱吆咞吸呈周咢哶唐啓啣善喫喳嗂圖圗噑噴壮城埴堍型堲報墬𡓤売壷夆夢奢𡚨𡛪姬娛娧姘婦㛮嬈嬾𡧈寃寘寳𡬘寿将㞁屠峀岍𡷤嵃𡷦嵮嵫嵼巡巢㠯巽帨帽幩㡢𢆃㡼庰庳庶𪎒𢌱舁弢㣇𣊸𦇚形彫㣣徚忍志忹悁㤺㤜𢛔惇慈慌慺憲憤憯懞戛扝抱拔捐𢬌挽拼捨掃揤𢯱搢揅掩㨮摩摾撝摷㩬敬𣀊旣書晉㬙㬈㫤冒冕最暜肭䏙朡杞杓𣏃㭉柺枅桒𣑭梎栟椔楂榣槪檨𣚣櫛㰘次𣢧歔㱎歲殟殻𣪍𡴋𣫺汎𣲼沿泍汧洖派浩浸涅𣴞洴港湮㴳滇𣻑淹潮𣽞𣾎濆瀹瀛㶖灊災灷炭𠔥煅𤉣熜爨牐𤘈犀犕𤜵𤠔獺王㺬玥㺸瑇瑜璅瓊㼛甤𤰶甾𤲒𢆟瘐𤾡𤾸𥁄㿼䀈𥃳𥃲𥄙𥄳眞真瞋䁆䂖𥐝硎䃣𥘦𥚚𥛅秫䄯穊穏𥥼𥪧䈂𥮫篆築䈧𥲀糒䊠糨糣紀𥾆絣䌁緇縂繅䌴𦈨𦉇䍙𦋙罺𦌾羕翺𦓚𦔣聠𦖨聰𣍟䏕育脃䐋脾媵𦞧𦞵𣎓𣎜舄辞䑫芑芋芝劳花芳芽苦𦬼茝荣莭茣莽菧荓菊菌菜𦰶𦵫𦳕䔫蓱蓳蔖𧏊蕤𦼬䕝䕡𦾱𧃒䕫虐虧虩蚩蚈蜎蛢蜨蝫螆蟡蠁䗹衠𧙧裗裞䘵裺㒻𧢮𧥦䚾䛇誠𧲨貫賁贛起𧼯𠠄跋趼跰𠣞軔𨗒𨗭邔郱鄑𨜮鄛鈸鋗鋘鉼鏹鐕𨯺開䦕閷𨵷䧦雃嶲霣𩅅𩈚䩮䩶韠𩐊䪲𩒖頩𩖶飢䬳餩馧駂駾䯎𩬰鱀鳽䳎䳭鵧𪃎䳸𪄅𪈎𪊑䵖黾鼅鼏鼖𪘀",mapChar:function(l){return l>=196608?l>=917760&&l<=917999?18874368:0:v[p[l>>4]][15&l]}};var v,p}).apply(y,[]))===void 0||(R.exports=h)},4489:(R,y,c)=>{var h=c(8847)(c(3106));function v(T,S){var E=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!E){if(Array.isArray(T)||(E=function(m,P){if(m){if(typeof m=="string")return p(m,P);var C=Object.prototype.toString.call(m).slice(8,-1);return C==="Object"&&m.constructor&&(C=m.constructor.name),C==="Map"||C==="Set"?Array.from(m):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?p(m,P):void 0}}(T))||S&&T&&typeof T.length=="number"){E&&(T=E);var k=0,I=function(){};return{s:I,n:function(){return k>=T.length?{done:!0}:{done:!1,value:T[k++]}},e:function(m){throw m},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N,D=!0,L=!1;return{s:function(){E=E.call(T)},n:function(){var m=E.next();return D=m.done,m},e:function(m){L=!0,N=m},f:function(){try{D||E.return==null||E.return()}finally{if(L)throw N}}}}function p(T,S){(S==null||S>T.length)&&(S=T.length);for(var E=0,k=new Array(S);E<S;E++)k[E]=T[E];return k}var l=2147483647,t=36,s=/^xn--/,f=/[^\0-\x7E]/,e=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},n=Math.floor,i=String.fromCharCode;function r(T){throw new RangeError(u[T])}function o(T,S){var E=T.split("@"),k="";E.length>1&&(k=E[0]+"@",T=E[1]);var I=function(N,D){for(var L=[],m=N.length;m--;)L[m]=D(N[m]);return L}((T=T.replace(e,".")).split("."),S).join(".");return k+I}function a(T){for(var S=[],E=0,k=T.length;E<k;){var I=T.charCodeAt(E++);if(I>=55296&&I<=56319&&E<k){var N=T.charCodeAt(E++);(64512&N)==56320?S.push(((1023&I)<<10)+(1023&N)+65536):(S.push(I),E--)}else S.push(I)}return S}var d=function(T,S){return T+22+75*(T<26)-((S!=0)<<5)},b=function(T,S,E){var k=0;for(T=E?n(T/700):T>>1,T+=n(T/S);T>455;k+=t)T=n(T/35);return n(k+36*T/(T+38))},w=function(T){var S,E=[],k=T.length,I=0,N=128,D=72,L=T.lastIndexOf("-");L<0&&(L=0);for(var m=0;m<L;++m)T.charCodeAt(m)>=128&&r("not-basic"),E.push(T.charCodeAt(m));for(var P=L>0?L+1:0;P<k;){for(var C=I,B=1,x=t;;x+=t){P>=k&&r("invalid-input");var j=(S=T.charCodeAt(P++))-48<10?S-22:S-65<26?S-65:S-97<26?S-97:t;(j>=t||j>n((l-I)/B))&&r("overflow"),I+=j*B;var K=x<=D?1:x>=D+26?26:x-D;if(j<K)break;var V=t-K;B>n(l/V)&&r("overflow"),B*=V}var J=E.length+1;D=b(I-C,J,C==0),n(I/J)>l-N&&r("overflow"),N+=n(I/J),I%=J,E.splice(I++,0,N)}return String.fromCodePoint.apply(String,E)},g=function(T){var S,E=[],k=(T=a(T)).length,I=128,N=0,D=72,L=v(T);try{for(L.s();!(S=L.n()).done;){var m=S.value;m<128&&E.push(i(m))}}catch(q){L.e(q)}finally{L.f()}var P=E.length,C=P;for(P&&E.push("-");C<k;){var B,x=l,j=v(T);try{for(j.s();!(B=j.n()).done;){var K=B.value;K>=I&&K<x&&(x=K)}}catch(q){j.e(q)}finally{j.f()}var V=C+1;x-I>n((l-N)/V)&&r("overflow"),N+=(x-I)*V,I=x;var J,O=v(T);try{for(O.s();!(J=O.n()).done;){var F=J.value;if(F<I&&++N>l&&r("overflow"),F==I){for(var G=N,H=t;;H+=t){var M=H<=D?1:H>=D+26?26:H-D;if(G<M)break;var _=G-M,U=t-M;E.push(i(d(M+_%U,0))),G=n(_/U)}E.push(i(d(G,0))),D=b(N,V,C==P),N=0,++C}}}catch(q){O.e(q)}finally{O.f()}++N,++I}return E.join("")},A={version:"2.1.0",ucs2:{decode:a,encode:function(T){return String.fromCodePoint.apply(String,(0,h.default)(T))}},decode:w,encode:g,toASCII:function(T){return o(T,function(S){return f.test(S)?"xn--"+g(S):S})},toUnicode:function(T){return o(T,function(S){return s.test(S)?w(S.slice(4).toLowerCase()):S})}};R.exports=A},3956:(R,y,c)=>{var h,v;c(8847)(c(3355)),h=[c(4489),c(2996)],(v=(function(p,l){return function(t,s){function f(n,i,r){for(var o=[],a=t.ucs2.decode(n),d=0;d<a.length;d++){var b=a[d],w=t.ucs2.encode([a[d]]),g=s.mapChar(b),A=g>>23,T=g>>21&3,S=g>>5&65535,E=31&g,k=s.mapStr.substr(S,E);if(T===0||i&&1&A)throw new Error("Illegal char "+w);T===1?o.push(k):T===2?o.push(r?k:w):T===3&&o.push(w)}return o.join("").normalize("NFC")}function e(n,i,r){r===void 0&&(r=!1);var o=f(n,r,i).split(".");return(o=o.map(function(a){return a.startsWith("xn--")?u(a=t.decode(a.substring(4)),r,!1):u(a,r,i),a})).join(".")}function u(n,i,r){if(n[2]==="-"&&n[3]==="-")throw new Error("Failed to validate "+n);if(n.startsWith("-")||n.endsWith("-"))throw new Error("Failed to validate "+n);if(n.includes("."))throw new Error("Failed to validate "+n);if(f(n,i,r)!==n)throw new Error("Failed to validate "+n);var o=n.codePointAt(0);if(s.mapChar(o)&16777216)throw new Error("Label contains illegal character: "+o)}return{toUnicode:function(n,i){return i===void 0&&(i={}),e(n,!1,"useStd3ASCII"in i&&i.useStd3ASCII)},toAscii:function(n,i){i===void 0&&(i={});var r,o=!("transitional"in i)||i.transitional,a="useStd3ASCII"in i&&i.useStd3ASCII,d="verifyDnsLength"in i&&i.verifyDnsLength,b=e(n,o,a).split(".").map(t.toASCII),w=b.join(".");if(d){if(w.length<1||w.length>253)throw new Error("DNS name has wrong length: "+w);for(r=0;r<b.length;r++){var g=b[r];if(g.length<1||g.length>63)throw new Error("DNS label has wrong length: "+g)}}return w}}}(p,l)}).apply(y,h))===void 0||(R.exports=v)},3226:(R,y)=>{y.read=function(c,h,v,p,l){var t,s,f=8*l-p-1,e=(1<<f)-1,u=e>>1,n=-7,i=v?l-1:0,r=v?-1:1,o=c[h+i];for(i+=r,t=o&(1<<-n)-1,o>>=-n,n+=f;n>0;t=256*t+c[h+i],i+=r,n-=8);for(s=t&(1<<-n)-1,t>>=-n,n+=p;n>0;s=256*s+c[h+i],i+=r,n-=8);if(t===0)t=1-u;else{if(t===e)return s?NaN:1/0*(o?-1:1);s+=Math.pow(2,p),t-=u}return(o?-1:1)*s*Math.pow(2,t-p)},y.write=function(c,h,v,p,l,t){var s,f,e,u=8*t-l-1,n=(1<<u)-1,i=n>>1,r=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,o=p?0:t-1,a=p?1:-1,d=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(f=isNaN(h)?1:0,s=n):(s=Math.floor(Math.log(h)/Math.LN2),h*(e=Math.pow(2,-s))<1&&(s--,e*=2),(h+=s+i>=1?r/e:r*Math.pow(2,1-i))*e>=2&&(s++,e/=2),s+i>=n?(f=0,s=n):s+i>=1?(f=(h*e-1)*Math.pow(2,l),s+=i):(f=h*Math.pow(2,i-1)*Math.pow(2,l),s=0));l>=8;c[v+o]=255&f,o+=a,f/=256,l-=8);for(s=s<<l|f,u+=l;u>0;c[v+o]=255&s,o+=a,s/=256,u-=8);c[v+o-a]|=128*d}},1736:R=>{typeof Object.create=="function"?R.exports=function(y,c){c&&(y.super_=c,y.prototype=Object.create(c.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}))}:R.exports=function(y,c){if(c){y.super_=c;var h=function(){};h.prototype=c.prototype,y.prototype=new h,y.prototype.constructor=y}}},9446:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1191)(),p=c(593)("Object.prototype.toString"),l=function(f){return!(v&&f&&(0,h.default)(f)==="object"&&Symbol.toStringTag in f)&&p(f)==="[object Arguments]"},t=function(f){return!!l(f)||f!==null&&(0,h.default)(f)==="object"&&typeof f.length=="number"&&f.length>=0&&p(f)!=="[object Array]"&&p(f.callee)==="[object Function]"},s=function(){return l(arguments)}();l.isLegacyArguments=t,R.exports=s?l:t},1493:(R,y,c)=>{var h,v,p=c(8847)(c(3355)),l=Function.prototype.toString,t=(typeof Reflect>"u"?"undefined":(0,p.default)(Reflect))==="object"&&Reflect!==null&&Reflect.apply;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{h=Object.defineProperty({},"length",{get:function(){throw v}}),v={},t(function(){throw 42},null,h)}catch(a){a!==v&&(t=null)}else t=null;var s=/^\s*class\b/,f=function(a){try{var d=l.call(a);return s.test(d)}catch{return!1}},e=function(a){try{return!f(a)&&(l.call(a),!0)}catch{return!1}},u=Object.prototype.toString,n=typeof Symbol=="function"&&!!Symbol.toStringTag,i=!(0 in[,]),r=function(){return!1};if((typeof document>"u"?"undefined":(0,p.default)(document))==="object"){var o=document.all;u.call(o)===u.call(document.all)&&(r=function(a){if((i||!a)&&(a===void 0||(0,p.default)(a)==="object"))try{var d=u.call(a);return(d==="[object HTMLAllCollection]"||d==="[object HTML document.all class]"||d==="[object HTMLCollection]"||d==="[object Object]")&&a("")==null}catch{}return!1})}R.exports=t?function(a){if(r(a))return!0;if(!a||typeof a!="function"&&(0,p.default)(a)!=="object")return!1;try{t(a,null,h)}catch(d){if(d!==v)return!1}return!f(a)&&e(a)}:function(a){if(r(a))return!0;if(!a||typeof a!="function"&&(0,p.default)(a)!=="object")return!1;if(n)return e(a);if(f(a))return!1;var d=u.call(a);return!(d!=="[object Function]"&&d!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(d))&&e(a)}},4339:R=>{R.exports=function(c){if(!c)return!1;var h=y.call(c);return h==="[object Function]"||typeof c=="function"&&h!=="[object RegExp]"||typeof window<"u"&&(c===window.setTimeout||c===window.alert||c===window.confirm||c===window.prompt)};var y=Object.prototype.toString},4477:(R,y,c)=>{var h,v=Object.prototype.toString,p=Function.prototype.toString,l=/^\s*(?:function)?\*/,t=c(1191)(),s=Object.getPrototypeOf;R.exports=function(f){if(typeof f!="function")return!1;if(l.test(p.call(f)))return!0;if(!t)return v.call(f)==="[object GeneratorFunction]";if(!s)return!1;if(h===void 0){var e=function(){if(!t)return!1;try{return Function("return function*() {}")()}catch{}}();h=!!e&&s(e)}return s(f)===h}},8619:(R,y,c)=>{var h=c(8847)(c(3355));R.exports=function(v){if(typeof v!="string")throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+(0,h.default)(v)+", while checking isHexPrefixed.");return v.slice(0,2)==="0x"}},8915:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(8184),p=c(3604),l=c(593),t=l("Object.prototype.toString"),s=c(1191)(),f=c(3820),e=typeof globalThis>"u"?c.g:globalThis,u=p(),n=l("Array.prototype.indexOf",!0)||function(a,d){for(var b=0;b<a.length;b+=1)if(a[b]===d)return b;return-1},i=l("String.prototype.slice"),r={},o=Object.getPrototypeOf;s&&f&&o&&v(u,function(a){var d=new e[a];if(Symbol.toStringTag in d){var b=o(d),w=f(b,Symbol.toStringTag);if(!w){var g=o(b);w=f(g,Symbol.toStringTag)}r[a]=w.get}}),R.exports=function(a){if(!a||(0,h.default)(a)!=="object")return!1;if(!s||!(Symbol.toStringTag in a)){var d=i(t(a),8,-1);return n(u,d)>-1}return!!f&&function(b){var w=!1;return v(r,function(g,A){if(!w)try{w=g.call(b)===A}catch{}}),w}(a)}},9484:R=>{var y={}.toString;R.exports=Array.isArray||function(c){return y.call(c)=="[object Array]"}},4858:(R,y,c)=>{R=c.nmd(R);var h=c(9142),v=c(8847)(c(3355));(function(){var p=(typeof window>"u"?"undefined":(0,v.default)(window))==="object"?window:{};!p.JS_SHA3_NO_NODE_JS&&(h===void 0?"undefined":(0,v.default)(h))==="object"&&h.versions&&h.versions.node&&(p=c.g);for(var l=!p.JS_SHA3_NO_COMMON_JS&&(0,v.default)(R)==="object"&&R.exports,t="0123456789abcdef".split(""),s=[0,8,16,24],f=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],e=[224,256,384,512],u=["hex","buffer","arrayBuffer","array"],n=function(k,I,N){return function(D){return new S(k,I,k).update(D)[N]()}},i=function(k,I,N){return function(D,L){return new S(k,I,L).update(D)[N]()}},r=function(k,I){var N=n(k,I,"hex");N.create=function(){return new S(k,I,k)},N.update=function(m){return N.create().update(m)};for(var D=0;D<u.length;++D){var L=u[D];N[L]=n(k,I,L)}return N},o=[{name:"keccak",padding:[1,256,65536,16777216],bits:e,createMethod:r},{name:"sha3",padding:[6,1536,393216,100663296],bits:e,createMethod:r},{name:"shake",padding:[31,7936,2031616,520093696],bits:[128,256],createMethod:function(k,I){var N=i(k,I,"hex");N.create=function(m){return new S(k,I,m)},N.update=function(m,P){return N.create(P).update(m)};for(var D=0;D<u.length;++D){var L=u[D];N[L]=i(k,I,L)}return N}}],a={},d=[],b=0;b<o.length;++b)for(var w=o[b],g=w.bits,A=0;A<g.length;++A){var T=w.name+"_"+g[A];d.push(T),a[T]=w.createMethod(g[A],w.padding)}function S(k,I,N){this.blocks=[],this.s=[],this.padding=I,this.outputBits=N,this.reset=!0,this.block=0,this.start=0,this.blockCount=1600-(k<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=N>>5,this.extraBytes=(31&N)>>3;for(var D=0;D<50;++D)this.s[D]=0}S.prototype.update=function(k){var I=typeof k!="string";I&&k.constructor===ArrayBuffer&&(k=new Uint8Array(k));for(var N,D,L=k.length,m=this.blocks,P=this.byteCount,C=this.blockCount,B=0,x=this.s;B<L;){if(this.reset)for(this.reset=!1,m[0]=this.block,N=1;N<C+1;++N)m[N]=0;if(I)for(N=this.start;B<L&&N<P;++B)m[N>>2]|=k[B]<<s[3&N++];else for(N=this.start;B<L&&N<P;++B)(D=k.charCodeAt(B))<128?m[N>>2]|=D<<s[3&N++]:D<2048?(m[N>>2]|=(192|D>>6)<<s[3&N++],m[N>>2]|=(128|63&D)<<s[3&N++]):D<55296||D>=57344?(m[N>>2]|=(224|D>>12)<<s[3&N++],m[N>>2]|=(128|D>>6&63)<<s[3&N++],m[N>>2]|=(128|63&D)<<s[3&N++]):(D=65536+((1023&D)<<10|1023&k.charCodeAt(++B)),m[N>>2]|=(240|D>>18)<<s[3&N++],m[N>>2]|=(128|D>>12&63)<<s[3&N++],m[N>>2]|=(128|D>>6&63)<<s[3&N++],m[N>>2]|=(128|63&D)<<s[3&N++]);if(this.lastByteIndex=N,N>=P){for(this.start=N-P,this.block=m[C],N=0;N<C;++N)x[N]^=m[N];E(x),this.reset=!0}else this.start=N}return this},S.prototype.finalize=function(){var k=this.blocks,I=this.lastByteIndex,N=this.blockCount,D=this.s;if(k[I>>2]|=this.padding[3&I],this.lastByteIndex===this.byteCount)for(k[0]=k[N],I=1;I<N+1;++I)k[I]=0;for(k[N-1]|=2147483648,I=0;I<N;++I)D[I]^=k[I];E(D)},S.prototype.toString=S.prototype.hex=function(){this.finalize();for(var k,I=this.blockCount,N=this.s,D=this.outputBlocks,L=this.extraBytes,m=0,P=0,C="";P<D;){for(m=0;m<I&&P<D;++m,++P)k=N[m],C+=t[k>>4&15]+t[15&k]+t[k>>12&15]+t[k>>8&15]+t[k>>20&15]+t[k>>16&15]+t[k>>28&15]+t[k>>24&15];P%I==0&&(E(N),m=0)}return L&&(k=N[m],L>0&&(C+=t[k>>4&15]+t[15&k]),L>1&&(C+=t[k>>12&15]+t[k>>8&15]),L>2&&(C+=t[k>>20&15]+t[k>>16&15])),C},S.prototype.arrayBuffer=function(){this.finalize();var k,I=this.blockCount,N=this.s,D=this.outputBlocks,L=this.extraBytes,m=0,P=0,C=this.outputBits>>3;k=L?new ArrayBuffer(D+1<<2):new ArrayBuffer(C);for(var B=new Uint32Array(k);P<D;){for(m=0;m<I&&P<D;++m,++P)B[P]=N[m];P%I==0&&E(N)}return L&&(B[m]=N[m],k=k.slice(0,C)),k},S.prototype.buffer=S.prototype.arrayBuffer,S.prototype.digest=S.prototype.array=function(){this.finalize();for(var k,I,N=this.blockCount,D=this.s,L=this.outputBlocks,m=this.extraBytes,P=0,C=0,B=[];C<L;){for(P=0;P<N&&C<L;++P,++C)k=C<<2,I=D[P],B[k]=255&I,B[k+1]=I>>8&255,B[k+2]=I>>16&255,B[k+3]=I>>24&255;C%N==0&&E(D)}return m&&(k=C<<2,I=D[P],m>0&&(B[k]=255&I),m>1&&(B[k+1]=I>>8&255),m>2&&(B[k+2]=I>>16&255)),B};var E=function(k){var I,N,D,L,m,P,C,B,x,j,K,V,J,O,F,G,H,M,_,U,q,z,W,Y,X,Q,$,Z,et,rt,nt,tt,ot,it,at,ut,st,ft,bt,ct,dt,Ot,lt,pt,jt,yt,mt,Ft,vt,gt,Lt,wt,At,Dt,kt,_t,Ht,St,Et,qt,xt,Pt,zt;for(D=0;D<48;D+=2)L=k[0]^k[10]^k[20]^k[30]^k[40],m=k[1]^k[11]^k[21]^k[31]^k[41],P=k[2]^k[12]^k[22]^k[32]^k[42],C=k[3]^k[13]^k[23]^k[33]^k[43],B=k[4]^k[14]^k[24]^k[34]^k[44],x=k[5]^k[15]^k[25]^k[35]^k[45],j=k[6]^k[16]^k[26]^k[36]^k[46],K=k[7]^k[17]^k[27]^k[37]^k[47],I=(V=k[8]^k[18]^k[28]^k[38]^k[48])^(P<<1|C>>>31),N=(J=k[9]^k[19]^k[29]^k[39]^k[49])^(C<<1|P>>>31),k[0]^=I,k[1]^=N,k[10]^=I,k[11]^=N,k[20]^=I,k[21]^=N,k[30]^=I,k[31]^=N,k[40]^=I,k[41]^=N,I=L^(B<<1|x>>>31),N=m^(x<<1|B>>>31),k[2]^=I,k[3]^=N,k[12]^=I,k[13]^=N,k[22]^=I,k[23]^=N,k[32]^=I,k[33]^=N,k[42]^=I,k[43]^=N,I=P^(j<<1|K>>>31),N=C^(K<<1|j>>>31),k[4]^=I,k[5]^=N,k[14]^=I,k[15]^=N,k[24]^=I,k[25]^=N,k[34]^=I,k[35]^=N,k[44]^=I,k[45]^=N,I=B^(V<<1|J>>>31),N=x^(J<<1|V>>>31),k[6]^=I,k[7]^=N,k[16]^=I,k[17]^=N,k[26]^=I,k[27]^=N,k[36]^=I,k[37]^=N,k[46]^=I,k[47]^=N,I=j^(L<<1|m>>>31),N=K^(m<<1|L>>>31),k[8]^=I,k[9]^=N,k[18]^=I,k[19]^=N,k[28]^=I,k[29]^=N,k[38]^=I,k[39]^=N,k[48]^=I,k[49]^=N,O=k[0],F=k[1],yt=k[11]<<4|k[10]>>>28,mt=k[10]<<4|k[11]>>>28,Z=k[20]<<3|k[21]>>>29,et=k[21]<<3|k[20]>>>29,qt=k[31]<<9|k[30]>>>23,xt=k[30]<<9|k[31]>>>23,Ot=k[40]<<18|k[41]>>>14,lt=k[41]<<18|k[40]>>>14,it=k[2]<<1|k[3]>>>31,at=k[3]<<1|k[2]>>>31,G=k[13]<<12|k[12]>>>20,H=k[12]<<12|k[13]>>>20,Ft=k[22]<<10|k[23]>>>22,vt=k[23]<<10|k[22]>>>22,rt=k[33]<<13|k[32]>>>19,nt=k[32]<<13|k[33]>>>19,Pt=k[42]<<2|k[43]>>>30,zt=k[43]<<2|k[42]>>>30,Dt=k[5]<<30|k[4]>>>2,kt=k[4]<<30|k[5]>>>2,ut=k[14]<<6|k[15]>>>26,st=k[15]<<6|k[14]>>>26,M=k[25]<<11|k[24]>>>21,_=k[24]<<11|k[25]>>>21,gt=k[34]<<15|k[35]>>>17,Lt=k[35]<<15|k[34]>>>17,tt=k[45]<<29|k[44]>>>3,ot=k[44]<<29|k[45]>>>3,Y=k[6]<<28|k[7]>>>4,X=k[7]<<28|k[6]>>>4,_t=k[17]<<23|k[16]>>>9,Ht=k[16]<<23|k[17]>>>9,ft=k[26]<<25|k[27]>>>7,bt=k[27]<<25|k[26]>>>7,U=k[36]<<21|k[37]>>>11,q=k[37]<<21|k[36]>>>11,wt=k[47]<<24|k[46]>>>8,At=k[46]<<24|k[47]>>>8,pt=k[8]<<27|k[9]>>>5,jt=k[9]<<27|k[8]>>>5,Q=k[18]<<20|k[19]>>>12,$=k[19]<<20|k[18]>>>12,St=k[29]<<7|k[28]>>>25,Et=k[28]<<7|k[29]>>>25,ct=k[38]<<8|k[39]>>>24,dt=k[39]<<8|k[38]>>>24,z=k[48]<<14|k[49]>>>18,W=k[49]<<14|k[48]>>>18,k[0]=O^~G&M,k[1]=F^~H&_,k[10]=Y^~Q&Z,k[11]=X^~$&et,k[20]=it^~ut&ft,k[21]=at^~st&bt,k[30]=pt^~yt&Ft,k[31]=jt^~mt&vt,k[40]=Dt^~_t&St,k[41]=kt^~Ht&Et,k[2]=G^~M&U,k[3]=H^~_&q,k[12]=Q^~Z&rt,k[13]=$^~et&nt,k[22]=ut^~ft&ct,k[23]=st^~bt&dt,k[32]=yt^~Ft&gt,k[33]=mt^~vt&Lt,k[42]=_t^~St&qt,k[43]=Ht^~Et&xt,k[4]=M^~U&z,k[5]=_^~q&W,k[14]=Z^~rt&tt,k[15]=et^~nt&ot,k[24]=ft^~ct&Ot,k[25]=bt^~dt&lt,k[34]=Ft^~gt&wt,k[35]=vt^~Lt&At,k[44]=St^~qt&Pt,k[45]=Et^~xt&zt,k[6]=U^~z&O,k[7]=q^~W&F,k[16]=rt^~tt&Y,k[17]=nt^~ot&X,k[26]=ct^~Ot&it,k[27]=dt^~lt&at,k[36]=gt^~wt&pt,k[37]=Lt^~At&jt,k[46]=qt^~Pt&Dt,k[47]=xt^~zt&kt,k[8]=z^~O&G,k[9]=W^~F&H,k[18]=tt^~Y&Q,k[19]=ot^~X&$,k[28]=Ot^~it&ut,k[29]=lt^~at&st,k[38]=wt^~pt&yt,k[39]=At^~jt&mt,k[48]=Pt^~Dt&_t,k[49]=zt^~kt&Ht,k[0]^=f[D],k[1]^=f[D+1]};if(l)R.exports=a;else for(b=0;b<d.length;++b)p[d[b]]=a[d[b]]})()},3135:(R,y,c)=>{R.exports=c(2109)(c(801))},2109:(R,y,c)=>{var h=c(6543),v=c(274);R.exports=function(p){var l=h(p),t=v(p);return function(s,f){switch(typeof s=="string"?s.toLowerCase():s){case"keccak224":return new l(1152,448,null,224,f);case"keccak256":return new l(1088,512,null,256,f);case"keccak384":return new l(832,768,null,384,f);case"keccak512":return new l(576,1024,null,512,f);case"sha3-224":return new l(1152,448,6,224,f);case"sha3-256":return new l(1088,512,6,256,f);case"sha3-384":return new l(832,768,6,384,f);case"sha3-512":return new l(576,1024,6,512,f);case"shake128":return new t(1344,256,31,f);case"shake256":return new t(1088,512,31,f);default:throw new Error("Invald algorithm: "+s)}}}},6543:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847),p=v(c(9721)),l=v(c(8985)),t=v(c(5163)),s=v(c(4650)),f=v(c(1949)),e=c(6505).Transform;R.exports=function(u){return function(n){(0,t.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,f.default)(i);if(r){var w=(0,f.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,s.default)(this,d)});function a(d,b,w,g,A){var T;return(0,p.default)(this,a),(T=o.call(this,A))._rate=d,T._capacity=b,T._delimitedSuffix=w,T._hashBitLength=g,T._options=A,T._state=new u,T._state.initialize(d,b),T._finalized=!1,T}return(0,l.default)(a,[{key:"_transform",value:function(d,b,w){var g=null;try{this.update(d,b)}catch(A){g=A}w(g)}},{key:"_flush",value:function(d){var b=null;try{this.push(this.digest())}catch(w){b=w}d(b)}},{key:"update",value:function(d,b){if(!h.isBuffer(d)&&typeof d!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return h.isBuffer(d)||(d=h.from(d,b)),this._state.absorb(d),this}},{key:"digest",value:function(d){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);var b=this._state.squeeze(this._hashBitLength/8);return d!==void 0&&(b=b.toString(d)),this._resetState(),b}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var d=new a(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(d._state),d._finalized=this._finalized,d}}]),a}(e)}},274:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847),p=v(c(9721)),l=v(c(8985)),t=v(c(5163)),s=v(c(4650)),f=v(c(1949)),e=c(6505).Transform;R.exports=function(u){return function(n){(0,t.default)(a,n);var i,r,o=(i=a,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,b=(0,f.default)(i);if(r){var w=(0,f.default)(this).constructor;d=Reflect.construct(b,arguments,w)}else d=b.apply(this,arguments);return(0,s.default)(this,d)});function a(d,b,w,g){var A;return(0,p.default)(this,a),(A=o.call(this,g))._rate=d,A._capacity=b,A._delimitedSuffix=w,A._options=g,A._state=new u,A._state.initialize(d,b),A._finalized=!1,A}return(0,l.default)(a,[{key:"_transform",value:function(d,b,w){var g=null;try{this.update(d,b)}catch(A){g=A}w(g)}},{key:"_flush",value:function(){}},{key:"_read",value:function(d){this.push(this.squeeze(d))}},{key:"update",value:function(d,b){if(!h.isBuffer(d)&&typeof d!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return h.isBuffer(d)||(d=h.from(d,b)),this._state.absorb(d),this}},{key:"squeeze",value:function(d,b){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));var w=this._state.squeeze(d);return b!==void 0&&(w=w.toString(b)),w}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var d=new a(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(d._state),d._finalized=this._finalized,d}}]),a}(e)}},5612:(R,y)=>{var c=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];y.p1600=function(h){for(var v=0;v<24;++v){var p=h[0]^h[10]^h[20]^h[30]^h[40],l=h[1]^h[11]^h[21]^h[31]^h[41],t=h[2]^h[12]^h[22]^h[32]^h[42],s=h[3]^h[13]^h[23]^h[33]^h[43],f=h[4]^h[14]^h[24]^h[34]^h[44],e=h[5]^h[15]^h[25]^h[35]^h[45],u=h[6]^h[16]^h[26]^h[36]^h[46],n=h[7]^h[17]^h[27]^h[37]^h[47],i=h[8]^h[18]^h[28]^h[38]^h[48],r=h[9]^h[19]^h[29]^h[39]^h[49],o=i^(t<<1|s>>>31),a=r^(s<<1|t>>>31),d=h[0]^o,b=h[1]^a,w=h[10]^o,g=h[11]^a,A=h[20]^o,T=h[21]^a,S=h[30]^o,E=h[31]^a,k=h[40]^o,I=h[41]^a;o=p^(f<<1|e>>>31),a=l^(e<<1|f>>>31);var N=h[2]^o,D=h[3]^a,L=h[12]^o,m=h[13]^a,P=h[22]^o,C=h[23]^a,B=h[32]^o,x=h[33]^a,j=h[42]^o,K=h[43]^a;o=t^(u<<1|n>>>31),a=s^(n<<1|u>>>31);var V=h[4]^o,J=h[5]^a,O=h[14]^o,F=h[15]^a,G=h[24]^o,H=h[25]^a,M=h[34]^o,_=h[35]^a,U=h[44]^o,q=h[45]^a;o=f^(i<<1|r>>>31),a=e^(r<<1|i>>>31);var z=h[6]^o,W=h[7]^a,Y=h[16]^o,X=h[17]^a,Q=h[26]^o,$=h[27]^a,Z=h[36]^o,et=h[37]^a,rt=h[46]^o,nt=h[47]^a;o=u^(p<<1|l>>>31),a=n^(l<<1|p>>>31);var tt=h[8]^o,ot=h[9]^a,it=h[18]^o,at=h[19]^a,ut=h[28]^o,st=h[29]^a,ft=h[38]^o,bt=h[39]^a,ct=h[48]^o,dt=h[49]^a,Ot=d,lt=b,pt=g<<4|w>>>28,jt=w<<4|g>>>28,yt=A<<3|T>>>29,mt=T<<3|A>>>29,Ft=E<<9|S>>>23,vt=S<<9|E>>>23,gt=k<<18|I>>>14,Lt=I<<18|k>>>14,wt=N<<1|D>>>31,At=D<<1|N>>>31,Dt=m<<12|L>>>20,kt=L<<12|m>>>20,_t=P<<10|C>>>22,Ht=C<<10|P>>>22,St=x<<13|B>>>19,Et=B<<13|x>>>19,qt=j<<2|K>>>30,xt=K<<2|j>>>30,Pt=J<<30|V>>>2,zt=V<<30|J>>>2,Bt=O<<6|F>>>26,Ct=F<<6|O>>>26,Jt=H<<11|G>>>21,Tt=G<<11|H>>>21,It=M<<15|_>>>17,Wt=_<<15|M>>>17,Mt=q<<29|U>>>3,Ut=U<<29|q>>>3,Yt=z<<28|W>>>4,Rt=W<<28|z>>>4,Nt=X<<23|Y>>>9,Gt=Y<<23|X>>>9,Kt=Q<<25|$>>>7,Vt=$<<25|Q>>>7,Zt=Z<<21|et>>>11,$t=et<<21|Z>>>11,te=nt<<24|rt>>>8,ee=rt<<24|nt>>>8,re=tt<<27|ot>>>5,ne=ot<<27|tt>>>5,ie=it<<20|at>>>12,oe=at<<20|it>>>12,ae=st<<7|ut>>>25,se=ut<<7|st>>>25,ue=ft<<8|bt>>>24,fe=bt<<8|ft>>>24,ce=ct<<14|dt>>>18,de=dt<<14|ct>>>18;h[0]=Ot^~Dt&Jt,h[1]=lt^~kt&Tt,h[10]=Yt^~ie&yt,h[11]=Rt^~oe&mt,h[20]=wt^~Bt&Kt,h[21]=At^~Ct&Vt,h[30]=re^~pt&_t,h[31]=ne^~jt&Ht,h[40]=Pt^~Nt&ae,h[41]=zt^~Gt&se,h[2]=Dt^~Jt&Zt,h[3]=kt^~Tt&$t,h[12]=ie^~yt&St,h[13]=oe^~mt&Et,h[22]=Bt^~Kt&ue,h[23]=Ct^~Vt&fe,h[32]=pt^~_t&It,h[33]=jt^~Ht&Wt,h[42]=Nt^~ae&Ft,h[43]=Gt^~se&vt,h[4]=Jt^~Zt&ce,h[5]=Tt^~$t&de,h[14]=yt^~St&Mt,h[15]=mt^~Et&Ut,h[24]=Kt^~ue&gt,h[25]=Vt^~fe&Lt,h[34]=_t^~It&te,h[35]=Ht^~Wt&ee,h[44]=ae^~Ft&qt,h[45]=se^~vt&xt,h[6]=Zt^~ce&Ot,h[7]=$t^~de&lt,h[16]=St^~Mt&Yt,h[17]=Et^~Ut&Rt,h[26]=ue^~gt&wt,h[27]=fe^~Lt&At,h[36]=It^~te&re,h[37]=Wt^~ee&ne,h[46]=Ft^~qt&Pt,h[47]=vt^~xt&zt,h[8]=ce^~Ot&Dt,h[9]=de^~lt&kt,h[18]=Mt^~Yt&ie,h[19]=Ut^~Rt&oe,h[28]=gt^~wt&Bt,h[29]=Lt^~At&Ct,h[38]=te^~re&pt,h[39]=ee^~ne&jt,h[48]=qt^~Pt&Nt,h[49]=xt^~zt&Gt,h[0]^=c[2*v],h[1]^=c[2*v+1]}}},801:(R,y,c)=>{var h=c(9033).Buffer,v=c(5612);function p(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}p.prototype.initialize=function(l,t){for(var s=0;s<50;++s)this.state[s]=0;this.blockSize=l/8,this.count=0,this.squeezing=!1},p.prototype.absorb=function(l){for(var t=0;t<l.length;++t)this.state[~~(this.count/4)]^=l[t]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(v.p1600(this.state),this.count=0)},p.prototype.absorbLastFewBits=function(l){this.state[~~(this.count/4)]^=l<<this.count%4*8,128&l&&this.count===this.blockSize-1&&v.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,v.p1600(this.state),this.count=0,this.squeezing=!0},p.prototype.squeeze=function(l){this.squeezing||this.absorbLastFewBits(1);for(var t=h.alloc(l),s=0;s<l;++s)t[s]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(v.p1600(this.state),this.count=0);return t},p.prototype.copy=function(l){for(var t=0;t<50;++t)l.state[t]=this.state[t];l.blockSize=this.blockSize,l.count=this.count,l.squeezing=this.squeezing},R.exports=p},807:(R,y,c)=>{var h=c(1736),v=c(2353),p=c(8850).Buffer,l=new Array(16);function t(){v.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(i,r){return i<<r|i>>>32-r}function f(i,r,o,a,d,b,w){return s(i+(r&o|~r&a)+d+b|0,w)+r|0}function e(i,r,o,a,d,b,w){return s(i+(r&a|o&~a)+d+b|0,w)+r|0}function u(i,r,o,a,d,b,w){return s(i+(r^o^a)+d+b|0,w)+r|0}function n(i,r,o,a,d,b,w){return s(i+(o^(r|~a))+d+b|0,w)+r|0}h(t,v),t.prototype._update=function(){for(var i=l,r=0;r<16;++r)i[r]=this._block.readInt32LE(4*r);var o=this._a,a=this._b,d=this._c,b=this._d;o=f(o,a,d,b,i[0],3614090360,7),b=f(b,o,a,d,i[1],3905402710,12),d=f(d,b,o,a,i[2],606105819,17),a=f(a,d,b,o,i[3],3250441966,22),o=f(o,a,d,b,i[4],4118548399,7),b=f(b,o,a,d,i[5],1200080426,12),d=f(d,b,o,a,i[6],2821735955,17),a=f(a,d,b,o,i[7],4249261313,22),o=f(o,a,d,b,i[8],1770035416,7),b=f(b,o,a,d,i[9],2336552879,12),d=f(d,b,o,a,i[10],4294925233,17),a=f(a,d,b,o,i[11],2304563134,22),o=f(o,a,d,b,i[12],1804603682,7),b=f(b,o,a,d,i[13],4254626195,12),d=f(d,b,o,a,i[14],2792965006,17),o=e(o,a=f(a,d,b,o,i[15],1236535329,22),d,b,i[1],4129170786,5),b=e(b,o,a,d,i[6],3225465664,9),d=e(d,b,o,a,i[11],643717713,14),a=e(a,d,b,o,i[0],3921069994,20),o=e(o,a,d,b,i[5],3593408605,5),b=e(b,o,a,d,i[10],38016083,9),d=e(d,b,o,a,i[15],3634488961,14),a=e(a,d,b,o,i[4],3889429448,20),o=e(o,a,d,b,i[9],568446438,5),b=e(b,o,a,d,i[14],3275163606,9),d=e(d,b,o,a,i[3],4107603335,14),a=e(a,d,b,o,i[8],1163531501,20),o=e(o,a,d,b,i[13],2850285829,5),b=e(b,o,a,d,i[2],4243563512,9),d=e(d,b,o,a,i[7],1735328473,14),o=u(o,a=e(a,d,b,o,i[12],2368359562,20),d,b,i[5],4294588738,4),b=u(b,o,a,d,i[8],2272392833,11),d=u(d,b,o,a,i[11],1839030562,16),a=u(a,d,b,o,i[14],4259657740,23),o=u(o,a,d,b,i[1],2763975236,4),b=u(b,o,a,d,i[4],1272893353,11),d=u(d,b,o,a,i[7],4139469664,16),a=u(a,d,b,o,i[10],3200236656,23),o=u(o,a,d,b,i[13],681279174,4),b=u(b,o,a,d,i[0],3936430074,11),d=u(d,b,o,a,i[3],3572445317,16),a=u(a,d,b,o,i[6],76029189,23),o=u(o,a,d,b,i[9],3654602809,4),b=u(b,o,a,d,i[12],3873151461,11),d=u(d,b,o,a,i[15],530742520,16),o=n(o,a=u(a,d,b,o,i[2],3299628645,23),d,b,i[0],4096336452,6),b=n(b,o,a,d,i[7],1126891415,10),d=n(d,b,o,a,i[14],2878612391,15),a=n(a,d,b,o,i[5],4237533241,21),o=n(o,a,d,b,i[12],1700485571,6),b=n(b,o,a,d,i[3],2399980690,10),d=n(d,b,o,a,i[10],4293915773,15),a=n(a,d,b,o,i[1],2240044497,21),o=n(o,a,d,b,i[8],1873313359,6),b=n(b,o,a,d,i[15],4264355552,10),d=n(d,b,o,a,i[6],2734768916,15),a=n(a,d,b,o,i[13],1309151649,21),o=n(o,a,d,b,i[4],4149444226,6),b=n(b,o,a,d,i[11],3174756917,10),d=n(d,b,o,a,i[2],718787259,15),a=n(a,d,b,o,i[9],3951481745,21),this._a=this._a+o|0,this._b=this._b+a|0,this._c=this._c+d|0,this._d=this._d+b|0},t.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var i=p.allocUnsafe(16);return i.writeInt32LE(this._a,0),i.writeInt32LE(this._b,4),i.writeInt32LE(this._c,8),i.writeInt32LE(this._d,12),i},R.exports=t},137:(R,y,c)=>{var h=c(1734),v=c(2202);function p(l){this.rand=l||new v.Rand}R.exports=p,p.create=function(l){return new p(l)},p.prototype._randbelow=function(l){var t=l.bitLength(),s=Math.ceil(t/8);do var f=new h(this.rand.generate(s));while(f.cmp(l)>=0);return f},p.prototype._randrange=function(l,t){var s=t.sub(l);return l.add(this._randbelow(s))},p.prototype.test=function(l,t,s){var f=l.bitLength(),e=h.mont(l),u=new h(1).toRed(e);t||(t=Math.max(1,f/48|0));for(var n=l.subn(1),i=0;!n.testn(i);i++);for(var r=l.shrn(i),o=n.toRed(e);t>0;t--){var a=this._randrange(new h(2),n);s&&s(a);var d=a.toRed(e).redPow(r);if(d.cmp(u)!==0&&d.cmp(o)!==0){for(var b=1;b<i;b++){if((d=d.redSqr()).cmp(u)===0)return!1;if(d.cmp(o)===0)break}if(b===i)return!1}}return!0},p.prototype.getDivisor=function(l,t){var s=l.bitLength(),f=h.mont(l),e=new h(1).toRed(f);t||(t=Math.max(1,s/48|0));for(var u=l.subn(1),n=0;!u.testn(n);n++);for(var i=l.shrn(n),r=u.toRed(f);t>0;t--){var o=this._randrange(new h(2),u),a=l.gcd(o);if(a.cmpn(1)!==0)return a;var d=o.toRed(f).redPow(i);if(d.cmp(e)!==0&&d.cmp(r)!==0){for(var b=1;b<n;b++){if((d=d.redSqr()).cmp(e)===0)return d.fromRed().subn(1).gcd(l);if(d.cmp(r)===0)break}if(b===n)return(d=d.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},4504:R=>{function y(c,h){if(!c)throw new Error(h||"Assertion failed")}R.exports=y,y.equal=function(c,h,v){if(c!=h)throw new Error(v||"Assertion failed: "+c+" != "+h)}},6580:(R,y)=>{var c=y;function h(p){return p.length===1?"0"+p:p}function v(p){for(var l="",t=0;t<p.length;t++)l+=h(p[t].toString(16));return l}c.toArray=function(p,l){if(Array.isArray(p))return p.slice();if(!p)return[];var t=[];if(typeof p!="string"){for(var s=0;s<p.length;s++)t[s]=0|p[s];return t}if(l==="hex")for((p=p.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(p="0"+p),s=0;s<p.length;s+=2)t.push(parseInt(p[s]+p[s+1],16));else for(s=0;s<p.length;s++){var f=p.charCodeAt(s),e=f>>8,u=255&f;e?t.push(e,u):t.push(u)}return t},c.zero2=h,c.toHex=v,c.encode=function(p,l){return l==="hex"?v(p):p}},6565:(R,y,c)=>{var h=c(8847),v=h(c(9721)),p=h(c(8985)),l=function(){function t(s,f,e,u){(0,v.default)(this,t),this.name=s,this.code=f,this.alphabet=u,e&&u&&(this.engine=e(u))}return(0,p.default)(t,[{key:"encode",value:function(s){return this.engine.encode(s)}},{key:"decode",value:function(s){return this.engine.decode(s)}},{key:"isImplemented",value:function(){return this.engine}}]),t}();R.exports=l},2642:(R,y,c)=>{function h(p,l){(l==null||l>p.length)&&(l=p.length);for(var t=0,s=new Array(l);t<l;t++)s[t]=p[t];return s}var v=c(9033).Buffer;R.exports=function(p){return{encode:function(l){return typeof l=="string"?v.from(l).toString("hex"):l.toString("hex")},decode:function(l){var t,s=function(e,u){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(b,w){if(b){if(typeof b=="string")return h(b,w);var g=Object.prototype.toString.call(b).slice(8,-1);return g==="Object"&&b.constructor&&(g=b.constructor.name),g==="Map"||g==="Set"?Array.from(b):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?h(b,w):void 0}}(e))||u&&e&&typeof e.length=="number"){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(b){throw b},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var b=n.next();return a=b.done,b},e:function(b){d=!0,o=b},f:function(){try{a||n.return==null||n.return()}finally{if(d)throw o}}}}(l);try{for(s.s();!(t=s.n()).done;){var f=t.value;if(p.indexOf(f)<0)throw new Error("invalid base16 character")}}catch(e){s.e(e)}finally{s.f()}return v.from(l,"hex")}}}},6494:R=>{function y(c,h){(h==null||h>c.length)&&(h=c.length);for(var v=0,p=new Array(h);v<h;v++)p[v]=c[v];return p}R.exports=function(c){return{encode:function(h){return function(v,p){var l=v.byteLength,t=new Uint8Array(v),s=p.indexOf("=")===p.length-1;s&&(p=p.substring(0,p.length-1));for(var f=0,e=0,u="",n=0;n<l;n++)for(e=e<<8|t[n],f+=8;f>=5;)u+=p[e>>>f-5&31],f-=5;if(f>0&&(u+=p[e<<5-f&31]),s)for(;u.length%8!=0;)u+="=";return u}(typeof h=="string"?Uint8Array.from(h):h,c)},decode:function(h){var v,p=function(t,s){var f=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!f){if(Array.isArray(t)||(f=function(o,a){if(o){if(typeof o=="string")return y(o,a);var d=Object.prototype.toString.call(o).slice(8,-1);return d==="Object"&&o.constructor&&(d=o.constructor.name),d==="Map"||d==="Set"?Array.from(o):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?y(o,a):void 0}}(t))||s&&t&&typeof t.length=="number"){f&&(t=f);var e=0,u=function(){};return{s:u,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(o){throw o},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,i=!0,r=!1;return{s:function(){f=f.call(t)},n:function(){var o=f.next();return i=o.done,o},e:function(o){r=!0,n=o},f:function(){try{i||f.return==null||f.return()}finally{if(r)throw n}}}}(h);try{for(p.s();!(v=p.n()).done;){var l=v.value;if(c.indexOf(l)<0)throw new Error("invalid base32 character")}}catch(t){p.e(t)}finally{p.f()}return function(t,s){for(var f=(t=t.replace(new RegExp("=","g"),"")).length,e=0,u=0,n=0,i=new Uint8Array(5*f/8|0),r=0;r<f;r++)u=u<<5|s.indexOf(t[r]),(e+=5)>=8&&(i[n++]=u>>>e-8&255,e-=8);return i.buffer}(h,c)}}}},6627:(R,y,c)=>{function h(p,l){(l==null||l>p.length)&&(l=p.length);for(var t=0,s=new Array(l);t<l;t++)s[t]=p[t];return s}var v=c(9033).Buffer;R.exports=function(p){var l=p.indexOf("=")>-1,t=p.indexOf("-")>-1&&p.indexOf("_")>-1;return{encode:function(s){var f="";f=typeof s=="string"?v.from(s).toString("base64"):s.toString("base64"),t&&(f=f.replace(/\+/g,"-").replace(/\//g,"_"));var e=f.indexOf("=");return e>0&&!l&&(f=f.substring(0,e)),f},decode:function(s){var f,e=function(n,i){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(g,A){if(g){if(typeof g=="string")return h(g,A);var T=Object.prototype.toString.call(g).slice(8,-1);return T==="Object"&&g.constructor&&(T=g.constructor.name),T==="Map"||T==="Set"?Array.from(g):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?h(g,A):void 0}}(n))||i&&n&&typeof n.length=="number"){r&&(n=r);var o=0,a=function(){};return{s:a,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(g){throw g},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d,b=!0,w=!1;return{s:function(){r=r.call(n)},n:function(){var g=r.next();return b=g.done,g},e:function(g){w=!0,d=g},f:function(){try{b||r.return==null||r.return()}finally{if(w)throw d}}}}(s);try{for(e.s();!(f=e.n()).done;){var u=f.value;if(p.indexOf(u)<0)throw new Error("invalid base64 character")}}catch(n){e.e(n)}finally{e.f()}return v.from(s,"base64")}}}},7905:(R,y,c)=>{var h=c(6565),v=c(7548),p=c(2642),l=c(6494),t=c(6627),s=[["base1","1","","1"],["base2","0",v,"01"],["base8","7",v,"01234567"],["base10","9",v,"0123456789"],["base16","f",p,"0123456789abcdef"],["base32","b",l,"abcdefghijklmnopqrstuvwxyz234567"],["base32pad","c",l,"abcdefghijklmnopqrstuvwxyz234567="],["base32hex","v",l,"0123456789abcdefghijklmnopqrstuv"],["base32hexpad","t",l,"0123456789abcdefghijklmnopqrstuv="],["base32z","h",l,"ybndrfg8ejkmcpqxot1uwisza345h769"],["base58flickr","Z",v,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base58btc","z",v,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base64","m",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],f=s.reduce(function(u,n){return u[n[0]]=new h(n[0],n[1],n[2],n[3]),u},{}),e=s.reduce(function(u,n){return u[n[1]]=f[n[0]],u},{});R.exports={names:f,codes:e}},6086:(R,y,c)=>{var h=c(9033).Buffer,v=c(7905);(y=R.exports=l).encode=function(s,f){var e=t(s);return l(e.name,h.from(e.encode(f)))},y.decode=function(s){h.isBuffer(s)&&(s=s.toString());var f=s.substring(0,1);typeof(s=s.substring(1,s.length))=="string"&&(s=h.from(s));var e=t(f);return h.from(e.decode(s.toString()))},y.isEncoded=function(s){if(h.isBuffer(s)&&(s=s.toString()),Object.prototype.toString.call(s)!=="[object String]")return!1;var f=s.substring(0,1);try{return t(f).name}catch{return!1}},y.names=Object.freeze(Object.keys(v.names)),y.codes=Object.freeze(Object.keys(v.codes));var p=new Error("Unsupported encoding");function l(s,f){if(!f)throw new Error("requires an encoded buffer");var e=t(s),u=h.from(e.code);return function(n,i){t(n).decode(i.toString())}(e.name,f),h.concat([u,f])}function t(s){var f;if(v.names[s])f=v.names[s];else{if(!v.codes[s])throw p;f=v.codes[s]}if(!f.isImplemented())throw new Error("Base "+s+" is not implemented yet");return f}},4093:(R,y,c)=>{for(var h=c(8847)(c(4519)),v=c(4070),p={},l=0,t=Object.entries(v);l<t.length;l++){var s=(0,h.default)(t[l],2),f=s[0],e=s[1];p[f.toUpperCase().replace(/-/g,"_")]=e}R.exports=Object.freeze(p)},9206:(R,y,c)=>{var h=c(9033).Buffer,v=c(6657),p=c(7054),l=c(6002),t=c(5576);(y=R.exports).addPrefix=function(f,e){var u;if(h.isBuffer(f))u=t.varintBufferEncode(f);else{if(!l[f])throw new Error("multicodec not recognized");u=l[f]}return h.concat([u,e])},y.rmPrefix=function(f){return v.decode(f),f.slice(v.decode.bytes)},y.getCodec=function(f){var e=v.decode(f),u=p.get(e);if(u===void 0)throw new Error("Code ".concat(e," not found"));return u},y.getName=function(f){return p.get(f)},y.getNumber=function(f){var e=l[f];if(e===void 0)throw new Error("Codec `"+f+"` not found");return t.varintBufferDecode(e)[0]},y.getCode=function(f){return v.decode(f)},y.getCodeVarint=function(f){var e=l[f];if(e===void 0)throw new Error("Codec `"+f+"` not found");return e},y.getVarint=function(f){return v.encode(f)};var s=c(4093);Object.assign(y,s),y.print=c(1032)},7054:(R,y,c)=>{var h=c(4070),v=new Map;for(var p in h){var l=h[p];v.set(l,p)}R.exports=Object.freeze(v)},1032:(R,y,c)=>{for(var h=c(8847)(c(4519)),v=c(4070),p={},l=0,t=Object.entries(v);l<t.length;l++){var s=(0,h.default)(t[l],2),f=s[0],e=s[1];p[e]===void 0&&(p[e]=f)}R.exports=Object.freeze(p)},5576:(R,y,c)=>{var h=c(9033).Buffer,v=c(6657);function p(t){return parseInt(t.toString("hex"),16)}function l(t){var s=t.toString(16);return s.length%2==1&&(s="0"+s),h.from(s,"hex")}R.exports={numberToBuffer:l,bufferToNumber:p,varintBufferEncode:function(t){return h.from(v.encode(p(t)))},varintBufferDecode:function(t){return l(v.decode(t))},varintEncode:function(t){return h.from(v.encode(t))}}},6002:(R,y,c)=>{var h=c(4070),v=c(5576).varintEncode,p={};for(var l in h){var t=h[l];p[l]=v(t)}R.exports=Object.freeze(p)},1786:(R,y,c)=>{var h=c(8847),v=h(c(9721)),p=h(c(8985)),l=function(){function t(s,f,e,u){(0,v.default)(this,t),this.name=s,this.code=f,this.alphabet=u,e&&u&&(this.engine=e(u))}return(0,p.default)(t,[{key:"encode",value:function(s){return this.engine.encode(s)}},{key:"decode",value:function(s){return this.engine.decode(s)}},{key:"isImplemented",value:function(){return this.engine}}]),t}();R.exports=l},7739:(R,y,c)=>{function h(p,l){(l==null||l>p.length)&&(l=p.length);for(var t=0,s=new Array(l);t<l;t++)s[t]=p[t];return s}var v=c(9033).Buffer;R.exports=function(p){return{encode:function(l){return typeof l=="string"?v.from(l).toString("hex"):l.toString("hex")},decode:function(l){var t,s=function(e,u){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(b,w){if(b){if(typeof b=="string")return h(b,w);var g=Object.prototype.toString.call(b).slice(8,-1);return g==="Object"&&b.constructor&&(g=b.constructor.name),g==="Map"||g==="Set"?Array.from(b):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?h(b,w):void 0}}(e))||u&&e&&typeof e.length=="number"){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(b){throw b},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
22
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var b=n.next();return a=b.done,b},e:function(b){d=!0,o=b},f:function(){try{a||n.return==null||n.return()}finally{if(d)throw o}}}}(l);try{for(s.s();!(t=s.n()).done;){var f=t.value;if(p.indexOf(f)<0)throw new Error("invalid base16 character")}}catch(e){s.e(e)}finally{s.f()}return v.from(l,"hex")}}}},976:R=>{function y(c,h){(h==null||h>c.length)&&(h=c.length);for(var v=0,p=new Array(h);v<h;v++)p[v]=c[v];return p}R.exports=function(c){return{encode:function(h){return function(v,p){var l=v.byteLength,t=new Uint8Array(v),s=p.indexOf("=")===p.length-1;s&&(p=p.substring(0,p.length-1));for(var f=0,e=0,u="",n=0;n<l;n++)for(e=e<<8|t[n],f+=8;f>=5;)u+=p[e>>>f-5&31],f-=5;if(f>0&&(u+=p[e<<5-f&31]),s)for(;u.length%8!=0;)u+="=";return u}(typeof h=="string"?Uint8Array.from(h):h,c)},decode:function(h){var v,p=function(t,s){var f=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!f){if(Array.isArray(t)||(f=function(o,a){if(o){if(typeof o=="string")return y(o,a);var d=Object.prototype.toString.call(o).slice(8,-1);return d==="Object"&&o.constructor&&(d=o.constructor.name),d==="Map"||d==="Set"?Array.from(o):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?y(o,a):void 0}}(t))||s&&t&&typeof t.length=="number"){f&&(t=f);var e=0,u=function(){};return{s:u,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(o){throw o},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
23
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,i=!0,r=!1;return{s:function(){f=f.call(t)},n:function(){var o=f.next();return i=o.done,o},e:function(o){r=!0,n=o},f:function(){try{i||f.return==null||f.return()}finally{if(r)throw n}}}}(h);try{for(p.s();!(v=p.n()).done;){var l=v.value;if(c.indexOf(l)<0)throw new Error("invalid base32 character")}}catch(t){p.e(t)}finally{p.f()}return function(t,s){for(var f=(t=t.replace(new RegExp("=","g"),"")).length,e=0,u=0,n=0,i=new Uint8Array(5*f/8|0),r=0;r<f;r++)u=u<<5|s.indexOf(t[r]),(e+=5)>=8&&(i[n++]=u>>>e-8&255,e-=8);return i.buffer}(h,c)}}}},8504:(R,y,c)=>{function h(p,l){(l==null||l>p.length)&&(l=p.length);for(var t=0,s=new Array(l);t<l;t++)s[t]=p[t];return s}var v=c(9033).Buffer;R.exports=function(p){var l=p.indexOf("=")>-1,t=p.indexOf("-")>-1&&p.indexOf("_")>-1;return{encode:function(s){var f="";f=typeof s=="string"?v.from(s).toString("base64"):s.toString("base64"),t&&(f=f.replace(/\+/g,"-").replace(/\//g,"_"));var e=f.indexOf("=");return e>0&&!l&&(f=f.substring(0,e)),f},decode:function(s){var f,e=function(n,i){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(g,A){if(g){if(typeof g=="string")return h(g,A);var T=Object.prototype.toString.call(g).slice(8,-1);return T==="Object"&&g.constructor&&(T=g.constructor.name),T==="Map"||T==="Set"?Array.from(g):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?h(g,A):void 0}}(n))||i&&n&&typeof n.length=="number"){r&&(n=r);var o=0,a=function(){};return{s:a,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(g){throw g},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
24
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d,b=!0,w=!1;return{s:function(){r=r.call(n)},n:function(){var g=r.next();return b=g.done,g},e:function(g){w=!0,d=g},f:function(){try{b||r.return==null||r.return()}finally{if(w)throw d}}}}(s);try{for(e.s();!(f=e.n()).done;){var u=f.value;if(p.indexOf(u)<0)throw new Error("invalid base64 character")}}catch(n){e.e(n)}finally{e.f()}return v.from(s,"base64")}}}},2263:(R,y,c)=>{var h=c(1786),v=c(7548),p=c(7739),l=c(976),t=c(8504),s=[["base1","1","","1"],["base2","0",v,"01"],["base8","7",v,"01234567"],["base10","9",v,"0123456789"],["base16","f",p,"0123456789abcdef"],["base32","b",l,"abcdefghijklmnopqrstuvwxyz234567"],["base32pad","c",l,"abcdefghijklmnopqrstuvwxyz234567="],["base32hex","v",l,"0123456789abcdefghijklmnopqrstuv"],["base32hexpad","t",l,"0123456789abcdefghijklmnopqrstuv="],["base32z","h",l,"ybndrfg8ejkmcpqxot1uwisza345h769"],["base58flickr","Z",v,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base58btc","z",v,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base64","m",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],f=s.reduce(function(u,n){return u[n[0]]=new h(n[0],n[1],n[2],n[3]),u},{}),e=s.reduce(function(u,n){return u[n[1]]=f[n[0]],u},{});R.exports={names:f,codes:e}},2592:(R,y,c)=>{var h=c(9033).Buffer,v=c(2263);function p(t,s){if(!s)throw new Error("requires an encoded buffer");var f=l(t),e=h.from(f.code);return function(u,n){l(u).decode(n.toString())}(f.name,s),h.concat([e,s])}function l(t){var s;if(v.names[t])s=v.names[t];else{if(!v.codes[t])throw new Error("Unsupported encoding");s=v.codes[t]}if(!s.isImplemented())throw new Error("Base "+t+" is not implemented yet");return s}(y=R.exports=p).encode=function(t,s){var f=l(t);return p(f.name,h.from(f.encode(s)))},y.decode=function(t){h.isBuffer(t)&&(t=t.toString());var s=t.substring(0,1);typeof(t=t.substring(1,t.length))=="string"&&(t=h.from(t));var f=l(s);return h.from(f.decode(t.toString()))},y.isEncoded=function(t){if(h.isBuffer(t)&&(t=t.toString()),Object.prototype.toString.call(t)!=="[object String]")return!1;var s=t.substring(0,1);try{return l(s).name}catch{return!1}},y.names=Object.freeze(Object.keys(v.names)),y.codes=Object.freeze(Object.keys(v.codes))},1269:(R,y)=>{y.names=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"dbl-sha2-256":86,"sha3-224":23,"sha3-256":22,"sha3-384":21,"sha3-512":20,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"murmur3-128":34,"murmur3-32":35,md4:212,md5:213,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"Skein256-8":45825,"Skein256-16":45826,"Skein256-24":45827,"Skein256-32":45828,"Skein256-40":45829,"Skein256-48":45830,"Skein256-56":45831,"Skein256-64":45832,"Skein256-72":45833,"Skein256-80":45834,"Skein256-88":45835,"Skein256-96":45836,"Skein256-104":45837,"Skein256-112":45838,"Skein256-120":45839,"Skein256-128":45840,"Skein256-136":45841,"Skein256-144":45842,"Skein256-152":45843,"Skein256-160":45844,"Skein256-168":45845,"Skein256-176":45846,"Skein256-184":45847,"Skein256-192":45848,"Skein256-200":45849,"Skein256-208":45850,"Skein256-216":45851,"Skein256-224":45852,"Skein256-232":45853,"Skein256-240":45854,"Skein256-248":45855,"Skein256-256":45856,"Skein512-8":45857,"Skein512-16":45858,"Skein512-24":45859,"Skein512-32":45860,"Skein512-40":45861,"Skein512-48":45862,"Skein512-56":45863,"Skein512-64":45864,"Skein512-72":45865,"Skein512-80":45866,"Skein512-88":45867,"Skein512-96":45868,"Skein512-104":45869,"Skein512-112":45870,"Skein512-120":45871,"Skein512-128":45872,"Skein512-136":45873,"Skein512-144":45874,"Skein512-152":45875,"Skein512-160":45876,"Skein512-168":45877,"Skein512-176":45878,"Skein512-184":45879,"Skein512-192":45880,"Skein512-200":45881,"Skein512-208":45882,"Skein512-216":45883,"Skein512-224":45884,"Skein512-232":45885,"Skein512-240":45886,"Skein512-248":45887,"Skein512-256":45888,"Skein512-264":45889,"Skein512-272":45890,"Skein512-280":45891,"Skein512-288":45892,"Skein512-296":45893,"Skein512-304":45894,"Skein512-312":45895,"Skein512-320":45896,"Skein512-328":45897,"Skein512-336":45898,"Skein512-344":45899,"Skein512-352":45900,"Skein512-360":45901,"Skein512-368":45902,"Skein512-376":45903,"Skein512-384":45904,"Skein512-392":45905,"Skein512-400":45906,"Skein512-408":45907,"Skein512-416":45908,"Skein512-424":45909,"Skein512-432":45910,"Skein512-440":45911,"Skein512-448":45912,"Skein512-456":45913,"Skein512-464":45914,"Skein512-472":45915,"Skein512-480":45916,"Skein512-488":45917,"Skein512-496":45918,"Skein512-504":45919,"Skein512-512":45920,"Skein1024-8":45921,"Skein1024-16":45922,"Skein1024-24":45923,"Skein1024-32":45924,"Skein1024-40":45925,"Skein1024-48":45926,"Skein1024-56":45927,"Skein1024-64":45928,"Skein1024-72":45929,"Skein1024-80":45930,"Skein1024-88":45931,"Skein1024-96":45932,"Skein1024-104":45933,"Skein1024-112":45934,"Skein1024-120":45935,"Skein1024-128":45936,"Skein1024-136":45937,"Skein1024-144":45938,"Skein1024-152":45939,"Skein1024-160":45940,"Skein1024-168":45941,"Skein1024-176":45942,"Skein1024-184":45943,"Skein1024-192":45944,"Skein1024-200":45945,"Skein1024-208":45946,"Skein1024-216":45947,"Skein1024-224":45948,"Skein1024-232":45949,"Skein1024-240":45950,"Skein1024-248":45951,"Skein1024-256":45952,"Skein1024-264":45953,"Skein1024-272":45954,"Skein1024-280":45955,"Skein1024-288":45956,"Skein1024-296":45957,"Skein1024-304":45958,"Skein1024-312":45959,"Skein1024-320":45960,"Skein1024-328":45961,"Skein1024-336":45962,"Skein1024-344":45963,"Skein1024-352":45964,"Skein1024-360":45965,"Skein1024-368":45966,"Skein1024-376":45967,"Skein1024-384":45968,"Skein1024-392":45969,"Skein1024-400":45970,"Skein1024-408":45971,"Skein1024-416":45972,"Skein1024-424":45973,"Skein1024-432":45974,"Skein1024-440":45975,"Skein1024-448":45976,"Skein1024-456":45977,"Skein1024-464":45978,"Skein1024-472":45979,"Skein1024-480":45980,"Skein1024-488":45981,"Skein1024-496":45982,"Skein1024-504":45983,"Skein1024-512":45984,"Skein1024-520":45985,"Skein1024-528":45986,"Skein1024-536":45987,"Skein1024-544":45988,"Skein1024-552":45989,"Skein1024-560":45990,"Skein1024-568":45991,"Skein1024-576":45992,"Skein1024-584":45993,"Skein1024-592":45994,"Skein1024-600":45995,"Skein1024-608":45996,"Skein1024-616":45997,"Skein1024-624":45998,"Skein1024-632":45999,"Skein1024-640":46e3,"Skein1024-648":46001,"Skein1024-656":46002,"Skein1024-664":46003,"Skein1024-672":46004,"Skein1024-680":46005,"Skein1024-688":46006,"Skein1024-696":46007,"Skein1024-704":46008,"Skein1024-712":46009,"Skein1024-720":46010,"Skein1024-728":46011,"Skein1024-736":46012,"Skein1024-744":46013,"Skein1024-752":46014,"Skein1024-760":46015,"Skein1024-768":46016,"Skein1024-776":46017,"Skein1024-784":46018,"Skein1024-792":46019,"Skein1024-800":46020,"Skein1024-808":46021,"Skein1024-816":46022,"Skein1024-824":46023,"Skein1024-832":46024,"Skein1024-840":46025,"Skein1024-848":46026,"Skein1024-856":46027,"Skein1024-864":46028,"Skein1024-872":46029,"Skein1024-880":46030,"Skein1024-888":46031,"Skein1024-896":46032,"Skein1024-904":46033,"Skein1024-912":46034,"Skein1024-920":46035,"Skein1024-928":46036,"Skein1024-936":46037,"Skein1024-944":46038,"Skein1024-952":46039,"Skein1024-960":46040,"Skein1024-968":46041,"Skein1024-976":46042,"Skein1024-984":46043,"Skein1024-992":46044,"Skein1024-1000":46045,"Skein1024-1008":46046,"Skein1024-1016":46047,"Skein1024-1024":46048}),y.codes=Object.freeze({0:"identity",17:"sha1",18:"sha2-256",19:"sha2-512",86:"dbl-sha2-256",23:"sha3-224",22:"sha3-256",21:"sha3-384",20:"sha3-512",24:"shake-128",25:"shake-256",26:"keccak-224",27:"keccak-256",28:"keccak-384",29:"keccak-512",34:"murmur3-128",35:"murmur3-32",212:"md4",213:"md5",45569:"blake2b-8",45570:"blake2b-16",45571:"blake2b-24",45572:"blake2b-32",45573:"blake2b-40",45574:"blake2b-48",45575:"blake2b-56",45576:"blake2b-64",45577:"blake2b-72",45578:"blake2b-80",45579:"blake2b-88",45580:"blake2b-96",45581:"blake2b-104",45582:"blake2b-112",45583:"blake2b-120",45584:"blake2b-128",45585:"blake2b-136",45586:"blake2b-144",45587:"blake2b-152",45588:"blake2b-160",45589:"blake2b-168",45590:"blake2b-176",45591:"blake2b-184",45592:"blake2b-192",45593:"blake2b-200",45594:"blake2b-208",45595:"blake2b-216",45596:"blake2b-224",45597:"blake2b-232",45598:"blake2b-240",45599:"blake2b-248",45600:"blake2b-256",45601:"blake2b-264",45602:"blake2b-272",45603:"blake2b-280",45604:"blake2b-288",45605:"blake2b-296",45606:"blake2b-304",45607:"blake2b-312",45608:"blake2b-320",45609:"blake2b-328",45610:"blake2b-336",45611:"blake2b-344",45612:"blake2b-352",45613:"blake2b-360",45614:"blake2b-368",45615:"blake2b-376",45616:"blake2b-384",45617:"blake2b-392",45618:"blake2b-400",45619:"blake2b-408",45620:"blake2b-416",45621:"blake2b-424",45622:"blake2b-432",45623:"blake2b-440",45624:"blake2b-448",45625:"blake2b-456",45626:"blake2b-464",45627:"blake2b-472",45628:"blake2b-480",45629:"blake2b-488",45630:"blake2b-496",45631:"blake2b-504",45632:"blake2b-512",45633:"blake2s-8",45634:"blake2s-16",45635:"blake2s-24",45636:"blake2s-32",45637:"blake2s-40",45638:"blake2s-48",45639:"blake2s-56",45640:"blake2s-64",45641:"blake2s-72",45642:"blake2s-80",45643:"blake2s-88",45644:"blake2s-96",45645:"blake2s-104",45646:"blake2s-112",45647:"blake2s-120",45648:"blake2s-128",45649:"blake2s-136",45650:"blake2s-144",45651:"blake2s-152",45652:"blake2s-160",45653:"blake2s-168",45654:"blake2s-176",45655:"blake2s-184",45656:"blake2s-192",45657:"blake2s-200",45658:"blake2s-208",45659:"blake2s-216",45660:"blake2s-224",45661:"blake2s-232",45662:"blake2s-240",45663:"blake2s-248",45664:"blake2s-256",45825:"Skein256-8",45826:"Skein256-16",45827:"Skein256-24",45828:"Skein256-32",45829:"Skein256-40",45830:"Skein256-48",45831:"Skein256-56",45832:"Skein256-64",45833:"Skein256-72",45834:"Skein256-80",45835:"Skein256-88",45836:"Skein256-96",45837:"Skein256-104",45838:"Skein256-112",45839:"Skein256-120",45840:"Skein256-128",45841:"Skein256-136",45842:"Skein256-144",45843:"Skein256-152",45844:"Skein256-160",45845:"Skein256-168",45846:"Skein256-176",45847:"Skein256-184",45848:"Skein256-192",45849:"Skein256-200",45850:"Skein256-208",45851:"Skein256-216",45852:"Skein256-224",45853:"Skein256-232",45854:"Skein256-240",45855:"Skein256-248",45856:"Skein256-256",45857:"Skein512-8",45858:"Skein512-16",45859:"Skein512-24",45860:"Skein512-32",45861:"Skein512-40",45862:"Skein512-48",45863:"Skein512-56",45864:"Skein512-64",45865:"Skein512-72",45866:"Skein512-80",45867:"Skein512-88",45868:"Skein512-96",45869:"Skein512-104",45870:"Skein512-112",45871:"Skein512-120",45872:"Skein512-128",45873:"Skein512-136",45874:"Skein512-144",45875:"Skein512-152",45876:"Skein512-160",45877:"Skein512-168",45878:"Skein512-176",45879:"Skein512-184",45880:"Skein512-192",45881:"Skein512-200",45882:"Skein512-208",45883:"Skein512-216",45884:"Skein512-224",45885:"Skein512-232",45886:"Skein512-240",45887:"Skein512-248",45888:"Skein512-256",45889:"Skein512-264",45890:"Skein512-272",45891:"Skein512-280",45892:"Skein512-288",45893:"Skein512-296",45894:"Skein512-304",45895:"Skein512-312",45896:"Skein512-320",45897:"Skein512-328",45898:"Skein512-336",45899:"Skein512-344",45900:"Skein512-352",45901:"Skein512-360",45902:"Skein512-368",45903:"Skein512-376",45904:"Skein512-384",45905:"Skein512-392",45906:"Skein512-400",45907:"Skein512-408",45908:"Skein512-416",45909:"Skein512-424",45910:"Skein512-432",45911:"Skein512-440",45912:"Skein512-448",45913:"Skein512-456",45914:"Skein512-464",45915:"Skein512-472",45916:"Skein512-480",45917:"Skein512-488",45918:"Skein512-496",45919:"Skein512-504",45920:"Skein512-512",45921:"Skein1024-8",45922:"Skein1024-16",45923:"Skein1024-24",45924:"Skein1024-32",45925:"Skein1024-40",45926:"Skein1024-48",45927:"Skein1024-56",45928:"Skein1024-64",45929:"Skein1024-72",45930:"Skein1024-80",45931:"Skein1024-88",45932:"Skein1024-96",45933:"Skein1024-104",45934:"Skein1024-112",45935:"Skein1024-120",45936:"Skein1024-128",45937:"Skein1024-136",45938:"Skein1024-144",45939:"Skein1024-152",45940:"Skein1024-160",45941:"Skein1024-168",45942:"Skein1024-176",45943:"Skein1024-184",45944:"Skein1024-192",45945:"Skein1024-200",45946:"Skein1024-208",45947:"Skein1024-216",45948:"Skein1024-224",45949:"Skein1024-232",45950:"Skein1024-240",45951:"Skein1024-248",45952:"Skein1024-256",45953:"Skein1024-264",45954:"Skein1024-272",45955:"Skein1024-280",45956:"Skein1024-288",45957:"Skein1024-296",45958:"Skein1024-304",45959:"Skein1024-312",45960:"Skein1024-320",45961:"Skein1024-328",45962:"Skein1024-336",45963:"Skein1024-344",45964:"Skein1024-352",45965:"Skein1024-360",45966:"Skein1024-368",45967:"Skein1024-376",45968:"Skein1024-384",45969:"Skein1024-392",45970:"Skein1024-400",45971:"Skein1024-408",45972:"Skein1024-416",45973:"Skein1024-424",45974:"Skein1024-432",45975:"Skein1024-440",45976:"Skein1024-448",45977:"Skein1024-456",45978:"Skein1024-464",45979:"Skein1024-472",45980:"Skein1024-480",45981:"Skein1024-488",45982:"Skein1024-496",45983:"Skein1024-504",45984:"Skein1024-512",45985:"Skein1024-520",45986:"Skein1024-528",45987:"Skein1024-536",45988:"Skein1024-544",45989:"Skein1024-552",45990:"Skein1024-560",45991:"Skein1024-568",45992:"Skein1024-576",45993:"Skein1024-584",45994:"Skein1024-592",45995:"Skein1024-600",45996:"Skein1024-608",45997:"Skein1024-616",45998:"Skein1024-624",45999:"Skein1024-632",46e3:"Skein1024-640",46001:"Skein1024-648",46002:"Skein1024-656",46003:"Skein1024-664",46004:"Skein1024-672",46005:"Skein1024-680",46006:"Skein1024-688",46007:"Skein1024-696",46008:"Skein1024-704",46009:"Skein1024-712",46010:"Skein1024-720",46011:"Skein1024-728",46012:"Skein1024-736",46013:"Skein1024-744",46014:"Skein1024-752",46015:"Skein1024-760",46016:"Skein1024-768",46017:"Skein1024-776",46018:"Skein1024-784",46019:"Skein1024-792",46020:"Skein1024-800",46021:"Skein1024-808",46022:"Skein1024-816",46023:"Skein1024-824",46024:"Skein1024-832",46025:"Skein1024-840",46026:"Skein1024-848",46027:"Skein1024-856",46028:"Skein1024-864",46029:"Skein1024-872",46030:"Skein1024-880",46031:"Skein1024-888",46032:"Skein1024-896",46033:"Skein1024-904",46034:"Skein1024-912",46035:"Skein1024-920",46036:"Skein1024-928",46037:"Skein1024-936",46038:"Skein1024-944",46039:"Skein1024-952",46040:"Skein1024-960",46041:"Skein1024-968",46042:"Skein1024-976",46043:"Skein1024-984",46044:"Skein1024-992",46045:"Skein1024-1000",46046:"Skein1024-1008",46047:"Skein1024-1016",46048:"Skein1024-1024"}),y.defaultLengths=Object.freeze({17:20,18:32,19:64,86:32,23:28,22:32,21:48,20:64,24:32,25:64,26:28,27:32,28:48,29:64,34:32,45569:1,45570:2,45571:3,45572:4,45573:5,45574:6,45575:7,45576:8,45577:9,45578:10,45579:11,45580:12,45581:13,45582:14,45583:15,45584:16,45585:17,45586:18,45587:19,45588:20,45589:21,45590:22,45591:23,45592:24,45593:25,45594:26,45595:27,45596:28,45597:29,45598:30,45599:31,45600:32,45601:33,45602:34,45603:35,45604:36,45605:37,45606:38,45607:39,45608:40,45609:41,45610:42,45611:43,45612:44,45613:45,45614:46,45615:47,45616:48,45617:49,45618:50,45619:51,45620:52,45621:53,45622:54,45623:55,45624:56,45625:57,45626:58,45627:59,45628:60,45629:61,45630:62,45631:63,45632:64,45633:1,45634:2,45635:3,45636:4,45637:5,45638:6,45639:7,45640:8,45641:9,45642:10,45643:11,45644:12,45645:13,45646:14,45647:15,45648:16,45649:17,45650:18,45651:19,45652:20,45653:21,45654:22,45655:23,45656:24,45657:25,45658:26,45659:27,45660:28,45661:29,45662:30,45663:31,45664:32,45825:1,45826:2,45827:3,45828:4,45829:5,45830:6,45831:7,45832:8,45833:9,45834:10,45835:11,45836:12,45837:13,45838:14,45839:15,45840:16,45841:17,45842:18,45843:19,45844:20,45845:21,45846:22,45847:23,45848:24,45849:25,45850:26,45851:27,45852:28,45853:29,45854:30,45855:31,45856:32,45857:1,45858:2,45859:3,45860:4,45861:5,45862:6,45863:7,45864:8,45865:9,45866:10,45867:11,45868:12,45869:13,45870:14,45871:15,45872:16,45873:17,45874:18,45875:19,45876:20,45877:21,45878:22,45879:23,45880:24,45881:25,45882:26,45883:27,45884:28,45885:29,45886:30,45887:31,45888:32,45889:33,45890:34,45891:35,45892:36,45893:37,45894:38,45895:39,45896:40,45897:41,45898:42,45899:43,45900:44,45901:45,45902:46,45903:47,45904:48,45905:49,45906:50,45907:51,45908:52,45909:53,45910:54,45911:55,45912:56,45913:57,45914:58,45915:59,45916:60,45917:61,45918:62,45919:63,45920:64,45921:1,45922:2,45923:3,45924:4,45925:5,45926:6,45927:7,45928:8,45929:9,45930:10,45931:11,45932:12,45933:13,45934:14,45935:15,45936:16,45937:17,45938:18,45939:19,45940:20,45941:21,45942:22,45943:23,45944:24,45945:25,45946:26,45947:27,45948:28,45949:29,45950:30,45951:31,45952:32,45953:33,45954:34,45955:35,45956:36,45957:37,45958:38,45959:39,45960:40,45961:41,45962:42,45963:43,45964:44,45965:45,45966:46,45967:47,45968:48,45969:49,45970:50,45971:51,45972:52,45973:53,45974:54,45975:55,45976:56,45977:57,45978:58,45979:59,45980:60,45981:61,45982:62,45983:63,45984:64,45985:65,45986:66,45987:67,45988:68,45989:69,45990:70,45991:71,45992:72,45993:73,45994:74,45995:75,45996:76,45997:77,45998:78,45999:79,46e3:80,46001:81,46002:82,46003:83,46004:84,46005:85,46006:86,46007:87,46008:88,46009:89,46010:90,46011:91,46012:92,46013:93,46014:94,46015:95,46016:96,46017:97,46018:98,46019:99,46020:100,46021:101,46022:102,46023:103,46024:104,46025:105,46026:106,46027:107,46028:108,46029:109,46030:110,46031:111,46032:112,46033:113,46034:114,46035:115,46036:116,46037:117,46038:118,46039:119,46040:120,46041:121,46042:122,46043:123,46044:124,46045:125,46046:126,46047:127,46048:128})},7748:(R,y,c)=>{var h=c(9033).Buffer,v=c(2592),p=c(6657),l=c(1269);function t(s){y.decode(s)}y.names=l.names,y.codes=l.codes,y.defaultLengths=l.defaultLengths,y.toHexString=function(s){if(!h.isBuffer(s))throw new Error("must be passed a buffer");return s.toString("hex")},y.fromHexString=function(s){return h.from(s,"hex")},y.toB58String=function(s){if(!h.isBuffer(s))throw new Error("must be passed a buffer");return v.encode("base58btc",s).toString().slice(1)},y.fromB58String=function(s){var f=s;return h.isBuffer(s)&&(f=s.toString()),v.decode("z"+f)},y.decode=function(s){if(!h.isBuffer(s))throw new Error("multihash must be a Buffer");if(s.length<2)throw new Error("multihash too short. must be > 2 bytes.");var f=p.decode(s);if(!y.isValidCode(f))throw new Error("multihash unknown function code: 0x".concat(f.toString(16)));s=s.slice(p.decode.bytes);var e=p.decode(s);if(e<0)throw new Error("multihash invalid length: ".concat(e));if((s=s.slice(p.decode.bytes)).length!==e)throw new Error("multihash length inconsistent: 0x".concat(s.toString("hex")));return{code:f,name:l.codes[f],length:e,digest:s}},y.encode=function(s,f,e){if(!s||f===void 0)throw new Error("multihash encode requires at least two args: digest, code");var u=y.coerceCode(f);if(!h.isBuffer(s))throw new Error("digest should be a Buffer");if(e==null&&(e=s.length),e&&s.length!==e)throw new Error("digest length should be equal to specified length.");return h.concat([h.from(p.encode(u)),h.from(p.encode(e)),s])},y.coerceCode=function(s){var f=s;if(typeof s=="string"){if(l.names[s]===void 0)throw new Error("Unrecognized hash function named: ".concat(s));f=l.names[s]}if(typeof f!="number")throw new Error("Hash function code should be a number. Got: ".concat(f));if(l.codes[f]===void 0&&!y.isAppCode(f))throw new Error("Unrecognized function code: ".concat(f));return f},y.isAppCode=function(s){return s>0&&s<16},y.isValidCode=function(s){return!!y.isAppCode(s)||!!l.codes[s]},y.validate=t,y.prefix=function(s){return t(s),s.slice(0,2)}},7277:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1734),p=c(6931);R.exports=function(l){if(typeof l=="string"||typeof l=="number"){var t=new v(1),s=String(l).toLowerCase().trim(),f=s.substr(0,2)==="0x"||s.substr(0,3)==="-0x",e=p(s);if(e.substr(0,1)==="-"&&(e=p(e.slice(1)),t=new v(-1,10)),!(e=e===""?"0":e).match(/^-?[0-9]+$/)&&e.match(/^[0-9A-Fa-f]+$/)||e.match(/^[a-fA-F]+$/)||f===!0&&e.match(/^[0-9A-Fa-f]+$/))return new v(e,16).mul(t);if((e.match(/^-?[0-9]+$/)||e==="")&&f===!1)return new v(e,10).mul(t)}else if((0,h.default)(l)==="object"&&l.toString&&!l.pop&&!l.push&&l.toString(10).match(/^-?[0-9]+$/)&&(l.mul||l.dividedToIntegerBy))return new v(l.toString(10),10);throw new Error("[number-to-bn] while converting number "+JSON.stringify(l)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},3103:R=>{var y=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;function v(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}R.exports=function(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var l={},t=0;t<10;t++)l["_"+String.fromCharCode(t)]=t;if(Object.getOwnPropertyNames(l).map(function(f){return l[f]}).join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(p,l){for(var t,s,f=v(p),e=1;e<arguments.length;e++){for(var u in t=Object(arguments[e]))c.call(t,u)&&(f[u]=t[u]);if(y){s=y(t);for(var n=0;n<s.length;n++)h.call(t,s[n])&&(f[s[n]]=t[s[n]])}}return f}},3150:(R,y,c)=>{var h,v,p;R=c.nmd(R);var l,t=c(8847)(c(3355));l=function(){return function(s){var f={};function e(u){if(f[u])return f[u].exports;var n=f[u]={i:u,l:!1,exports:{}};return s[u].call(n.exports,n,n.exports,e),n.l=!0,n.exports}return e.m=s,e.c=f,e.d=function(u,n,i){e.o(u,n)||Object.defineProperty(u,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(u){var n=u&&u.__esModule?function(){return u.default}:function(){return u};return e.d(n,"a",n),n},e.o=function(u,n){return Object.prototype.hasOwnProperty.call(u,n)},e.p="",e(e.s=7)}([function(s,f,e){e.d(f,"j",function(){return n}),e.d(f,"d",function(){return i}),e.d(f,"c",function(){return r}),e.d(f,"h",function(){return o}),e.d(f,"b",function(){return a}),e.d(f,"k",function(){return d}),e.d(f,"e",function(){return b}),e.d(f,"g",function(){return w}),e.d(f,"i",function(){return g}),e.d(f,"a",function(){return A}),e.d(f,"f",function(){return T});var u=e(1),n=d(function(S,E){var k=E.length;return d(function(I){for(var N=0;N<I.length;N++)E[k+N]=I[N];return E.length=k+I.length,S.apply(this,E)})});function i(S,E){return function(){return S.call(this,E.apply(this,arguments))}}function r(S){return function(E){return E[S]}}d(function(S){var E=Object(u.c)(S);function k(I,N){return[a(I,N)]}return d(function(I){return Object(u.f)(k,I,E)[0]})});var o=d(function(S){return d(function(E){for(var k,I=0;I<r("length")(S);I++)if(k=a(E,S[I]))return k})});function a(S,E){return E.apply(void 0,S)}function d(S){var E=S.length-1,k=Array.prototype.slice;if(E===0)return function(){return S.call(this,k.call(arguments))};if(E===1)return function(){return S.call(this,arguments[0],k.call(arguments,1))};var I=Array(S.length);return function(){for(var N=0;N<E;N++)I[N]=arguments[N];return I[E]=k.call(arguments,E),S.apply(this,I)}}function b(S){return function(E,k){return S(k,E)}}function w(S,E){return function(k){return S(k)&&E(k)}}function g(){}function A(){return!0}function T(S){return function(){return S}}},function(s,f,e){e.d(f,"d",function(){return n}),e.d(f,"g",function(){return r}),e.d(f,"l",function(){return o}),e.d(f,"c",function(){return a}),e.d(f,"h",function(){return d}),e.d(f,"i",function(){return b}),e.d(f,"j",function(){return w}),e.d(f,"f",function(){return g}),e.d(f,"m",function(){return A}),e.d(f,"a",function(){return T}),e.d(f,"b",function(){return S}),e.d(f,"k",function(){return E}),e.d(f,"e",function(){return k});var u=e(0);function n(I,N){return[I,N]}var i=null,r=Object(u.c)(0),o=Object(u.c)(1);function a(I){return E(I.reduce(Object(u.e)(n),i))}var d=Object(u.k)(a);function b(I){return g(function(N,D){return N.unshift(D),N},[],I)}function w(I,N){return N?n(I(r(N)),w(I,o(N))):i}function g(I,N,D){return D?I(g(I,N,o(D)),r(D)):N}function A(I,N,D){return function L(m,P){return m?N(r(m))?(P(r(m)),o(m)):n(r(m),L(o(m),P)):i}(I,D||u.i)}function T(I,N){return!N||I(r(N))&&T(I,o(N))}function S(I,N){I&&(r(I).apply(null,N),S(o(I),N))}function E(I){return function N(D,L){return D?N(o(D),n(r(D),L)):L}(I,i)}function k(I,N){return N&&(I(r(N))?r(N):k(I,o(N)))}},function(s,f,e){e.d(f,"c",function(){return i}),e.d(f,"e",function(){return r}),e.d(f,"d",function(){return o}),e.d(f,"a",function(){return a}),e.d(f,"b",function(){return d});var u=e(1),n=e(0);function i(b,w){return w&&w.constructor===b}var r=Object(n.c)("length"),o=Object(n.j)(i,String);function a(b){return b!==void 0}function d(b,w){return w instanceof Object&&Object(u.a)(function(g){return g in w},b)}},function(s,f,e){e.d(f,"f",function(){return n}),e.d(f,"d",function(){return i}),e.d(f,"g",function(){return r}),e.d(f,"e",function(){return o}),e.d(f,"b",function(){return a}),e.d(f,"h",function(){return d}),e.d(f,"i",function(){return b}),e.d(f,"c",function(){return w}),e.d(f,"m",function(){return g}),e.d(f,"n",function(){return A}),e.d(f,"a",function(){return T}),e.d(f,"j",function(){return S}),e.d(f,"l",function(){return E}),e.d(f,"k",function(){return k}),e.d(f,"o",function(){return I});var u=1,n=u++,i=u++,r=u++,o=u++,a="fail",d=u++,b=u++,w="start",g="data",A="end",T=u++,S=u++,E=u++,k=u++;function I(N,D,L){try{var m=JSON.parse(D)}catch{}return{statusCode:N,body:D,jsonBody:m,thrown:L}}},function(s,f,e){e.d(f,"b",function(){return n}),e.d(f,"a",function(){return i}),e.d(f,"c",function(){return r});var u=e(0);function n(o,a){return{key:o,node:a}}var i=Object(u.c)("key"),r=Object(u.c)("node")},function(s,f,e){e.d(f,"a",function(){return a});var u=e(1),n=e(0),i=e(2),r=e(8),o=e(9);function a(d){var b=Object(u.h)("resume","pause","pipe"),w=Object(n.j)(i.b,b);return d?w(d)||Object(i.d)(d)?Object(r.a)(o.a,d):Object(r.a)(o.a,d.url,d.method,d.body,d.headers,d.withCredentials,d.cached):Object(o.a)()}a.drop=function(){return a.drop}},function(s,f,e){e.d(f,"b",function(){return a}),e.d(f,"a",function(){return o});var u=e(3),n=e(4),i=e(2),r=e(1),o={};function a(d){var b=d(u.f).emit,w=d(u.d).emit,g=d(u.i).emit,A=d(u.h).emit;function T(k,I,N){Object(n.c)(Object(r.g)(k))[I]=N}function S(k,I,N){k&&T(k,I,N);var D=Object(r.d)(Object(n.b)(I,N),k);return b(D),D}var E={};return E[u.l]=function(k,I){if(!k)return g(I),S(k,o,I);var N=function(m,P){var C=Object(n.c)(Object(r.g)(m));return Object(i.c)(Array,C)?S(m,Object(i.e)(C),P):m}(k,I),D=Object(r.l)(N),L=Object(n.a)(Object(r.g)(N));return T(D,L,I),Object(r.d)(Object(n.b)(L,I),D)},E[u.k]=function(k){return w(k),Object(r.l)(k)||A(Object(n.c)(Object(r.g)(k)))},E[u.j]=S,E}},function(s,f,e){Object.defineProperty(f,"__esModule",{value:!0});var u=e(5);f.default=u.a},function(s,f,e){e.d(f,"a",function(){return n});var u=e(2);function n(i,r,o,a,d,b,w){return d=d?JSON.parse(JSON.stringify(d)):{},a?(Object(u.d)(a)||(a=JSON.stringify(a),d["Content-Type"]=d["Content-Type"]||"application/json"),d["Content-Length"]=d["Content-Length"]||a.length):a=null,i(o||"GET",function(g,A){return A===!1&&(g.indexOf("?")===-1?g+="?":g+="&",g+="_="+new Date().getTime()),g}(r,w),a,d,b||!1)}},function(s,f,e){e.d(f,"a",function(){return w});var u=e(10),n=e(12),i=e(6),r=e(13),o=e(14),a=e(16),d=e(17),b=e(18);function w(g,A,T,S,E){var k=Object(u.a)();return A&&Object(b.b)(k,Object(b.a)(),g,A,T,S,E),Object(d.a)(k),Object(n.a)(k,Object(i.b)(k)),Object(r.a)(k,o.a),Object(a.a)(k,A)}},function(s,f,e){e.d(f,"a",function(){return i});var u=e(11),n=e(0);function i(){var r={},o=d("newListener"),a=d("removeListener");function d(w){return r[w]=Object(u.a)(w,o,a),r[w]}function b(w){return r[w]||d(w)}return["emit","on","un"].forEach(function(w){b[w]=Object(n.k)(function(g,A){Object(n.b)(A,b(g)[w])})}),b}},function(s,f,e){e.d(f,"a",function(){return r});var u=e(1),n=e(2),i=e(0);function r(o,a,d){var b,w;function g(A){return function(T){return T.id===A}}return{on:function(A,T){var S={listener:A,id:T||A};return a&&a.emit(o,A,S.id),b=Object(u.d)(S,b),w=Object(u.d)(A,w),this},emit:function(){Object(u.b)(w,arguments)},un:function(A){var T;b=Object(u.m)(b,g(A),function(S){T=S}),T&&(w=Object(u.m)(w,function(S){return S===T.listener}),d&&d.emit(o,T.listener,T.id))},listeners:function(){return w},hasListener:function(A){var T=A?g(A):i.a;return Object(n.a)(Object(u.e)(T,b))}}}},function(s,f,e){e.d(f,"a",function(){return r});var u=e(4),n=e(3),i=e(1);function r(o,a){var d,b={};function w(A){return function(T){d=A(d,T)}}for(var g in a)o(g).on(w(a[g]),b);o(n.g).on(function(A){var T=Object(i.g)(d),S=Object(u.a)(T),E=Object(i.l)(d);E&&(Object(u.c)(Object(i.g)(E))[S]=A)}),o(n.e).on(function(){var A=Object(i.g)(d),T=Object(u.a)(A),S=Object(i.l)(d);S&&delete Object(u.c)(Object(i.g)(S))[T]}),o(n.a).on(function(){for(var A in a)o(A).un(b)})}},function(s,f,e){e.d(f,"a",function(){return r});var u=e(3),n=e(1),i=e(4);function r(o,a){var d={node:o(u.d),path:o(u.f)};o("newListener").on(function(b){var w=/(node|path):(.*)/.exec(b);if(w){var g=d[w[1]];g.hasListener(b)||function(A,T,S){var E=o(A).emit;T.on(function(k){var I=S(k);I!==!1&&function(N,D,L){var m=Object(n.k)(L);N(D,Object(n.i)(Object(n.l)(Object(n.j)(i.a,m))),Object(n.i)(Object(n.j)(i.c,m)))}(E,Object(i.c)(I),k)},A),o("removeListener").on(function(k){k===A&&(o(k).listeners()||T.un(A))})}(b,g,a(w[2]))}})}},function(s,f,e){e.d(f,"a",function(){return d});var u=e(0),n=e(1),i=e(4),r=e(2),o=e(6),a=e(15),d=Object(a.a)(function(b,w,g,A,T){var S=Object(u.d)(i.a,n.g),E=Object(u.d)(i.c,n.g);function k(B,x){return x[1]?Object(u.g)(B,n.g):B}function I(B){return B===u.a?u.a:Object(u.g)(function(x){return S(x)!==o.a},Object(u.d)(B,n.l))}function N(){return function(B){return S(B)===o.a}}function D(B,x,j,K,V){var J=B(j);if(J){var O=function(F,G,H){return Object(n.f)(function(M,_){return _(M,H)},G,F)}(x,K,J);return V(j.substr(Object(r.e)(J[0])),O)}}function L(B,x){return Object(u.j)(D,B,x)}var m=Object(u.h)(L(b,Object(n.h)(k,function(B,x){var j=x[3];if(!j)return B;var K=Object(u.j)(r.b,Object(n.c)(j.split(/\W+/))),V=Object(u.d)(K,E);return Object(u.g)(V,B)},function(B,x){var j=x[2],K=j&&j!=="*"?function(V){return String(S(V))===j}:u.a;return Object(u.g)(K,B)},I)),L(w,Object(n.h)(function(B){if(B===u.a)return u.a;var x=N(),j=B,K=I(function(J){return V(J)}),V=Object(u.h)(x,j,K);return V})),L(g,Object(n.h)()),L(A,Object(n.h)(k,N)),L(T,Object(n.h)(function(B){return function(x){var j=B(x);return j===!0?Object(n.g)(x):j}})),function(B){throw Error('"'+B+'" could not be tokenised')});function P(B,x){return x}function C(B,x){return m(B,x,B?C:P)}return function(B){try{return C(B,u.a)}catch(x){throw Error('Could not compile "'+B+'" because '+x.message)}}})},function(s,f,e){e.d(f,"a",function(){return S});var u,n,i,r,o,a,d,b,w,g,A,T=e(0),S=(u=Object(T.k)(function(E){return E.unshift(/^/),(k=RegExp(E.map(Object(T.c)("source")).join(""))).exec.bind(k);var k}),r=u(n=/(\$?)/,/([\w-_]+|\*)/,i=/(?:{([\w ]*?)})?/),o=u(n,/\["([^"]+)"\]/,i),a=u(n,/\[(\d+|\*)\]/,i),d=u(n,/()/,/{([\w ]*?)}/),b=u(/\.\./),w=u(/\./),g=u(n,/!/),A=u(/$/),function(E){return E(Object(T.h)(r,o,a,d),b,w,g,A)})},function(s,f,e){e.d(f,"a",function(){return o});var u=e(3),n=e(0),i=e(2),r=e(5);function o(a,d){var b,w=/^(node|path):./,g=a(u.h),A=a(u.e).emit,T=a(u.g).emit,S=Object(n.k)(function(L,m){if(b[L])Object(n.b)(m,b[L]);else{var P=a(L),C=m[0];w.test(L)?E(P,I(C)):P.on(C)}return b});function E(L,m,P){P=P||m;var C=k(m);return L.on(function(){var B=!1;b.forget=function(){B=!0},Object(n.b)(arguments,C),delete b.forget,B&&L.un(P)},P),b}function k(L){return function(){try{return L.apply(b,arguments)}catch(m){setTimeout(function(){throw new Error(m.message)})}}}function I(L){return function(){var m=L.apply(this,arguments);Object(i.a)(m)&&(m===r.a.drop?A():T(m))}}function N(L,m,P){var C;C=L==="node"?I(P):P,E(function(B,x){return a(B+":"+x)}(L,m),C,P)}function D(L,m,P){return Object(i.d)(m)?N(L,m,P):function(C,B){for(var x in B)N(C,x,B[x])}(L,m),b}return a(u.i).on(function(L){b.root=Object(n.f)(L)}),a(u.c).on(function(L,m){b.header=function(P){return P?m[P]:m}}),b={on:S,addListener:S,removeListener:function(L,m,P){if(L==="done")g.un(m);else if(L==="node"||L==="path")a.un(L+":"+m,P);else{var C=m;a(L).un(C)}return b},emit:a.emit,node:Object(n.j)(D,"node"),path:Object(n.j)(D,"path"),done:Object(n.j)(E,g),start:Object(n.j)(function(L,m){return a(L).on(k(m),m),b},u.c),fail:a(u.b).on,abort:a(u.a).emit,header:n.i,root:n.i,source:d}}},function(s,f,e){e.d(f,"a",function(){return n});var u=e(3);function n(i){var r,o,a,d,b=i(u.j).emit,w=i(u.l).emit,g=i(u.k).emit,A=i(u.b).emit,T=65536,S=/[\\"\n]/g,E=0,k=E++,I=E++,N=E++,D=E++,L=E++,m=E++,P=E++,C=E++,B=E++,x=E++,j=E++,K=E++,V=E++,J=E++,O=E++,F=E++,G=E++,H=E++,M=E++,_=E++,U=T,q="",z=!1,W=!1,Y=k,X=[],Q=null,$=0,Z=0,et=0,rt=0,nt=1;function tt(it){d!==void 0&&(w(d),g(),d=void 0),r=Error(it+`
25
+ Ln: `+nt+`
26
+ Col: `+rt+`
27
+ Chr: `+o),A(Object(u.o)(void 0,void 0,r))}function ot(it){return it==="\r"||it===`
28
+ `||it===" "||it===" "}i(u.m).on(function(it){if(!r){if(W)return tt("Cannot write after close");var at,ut=0;for(o=it[0];o&&(ut>0&&(a=o),o=it[ut++]);)switch(et++,o===`
29
+ `?(nt++,rt=0):rt++,Y){case k:if(o==="{")Y=N;else if(o==="[")Y=L;else if(!ot(o))return tt("Non-whitespace before {[.");continue;case C:case N:if(ot(o))continue;if(Y===C)X.push(B);else{if(o==="}"){w({}),g(),Y=X.pop()||I;continue}X.push(D)}if(o!=='"')return tt('Malformed object key should start with " ');Y=P;continue;case B:case D:if(ot(o))continue;if(o===":")Y===D?(X.push(D),d!==void 0&&(w({}),b(d),d=void 0),Z++):d!==void 0&&(b(d),d=void 0),Y=I;else if(o==="}")d!==void 0&&(w(d),g(),d=void 0),g(),Z--,Y=X.pop()||I;else{if(o!==",")return tt("Bad object");Y===D&&X.push(D),d!==void 0&&(w(d),g(),d=void 0),Y=C}continue;case L:case I:if(ot(o))continue;if(Y===L){if(w([]),Z++,Y=I,o==="]"){g(),Z--,Y=X.pop()||I;continue}X.push(m)}if(o==='"')Y=P;else if(o==="{")Y=N;else if(o==="[")Y=L;else if(o==="t")Y=x;else if(o==="f")Y=V;else if(o==="n")Y=G;else if(o==="-")q+=o;else if(o==="0")q+=o,Y=20;else{if("123456789".indexOf(o)===-1)return tt("Bad value");q+=o,Y=20}continue;case m:if(o===",")X.push(m),d!==void 0&&(w(d),g(),d=void 0),Y=I;else{if(o!=="]"){if(ot(o))continue;return tt("Bad array")}d!==void 0&&(w(d),g(),d=void 0),g(),Z--,Y=X.pop()||I}continue;case P:d===void 0&&(d="");var st=ut-1;t:for(;;){for(;$>0;)if(Q+=o,o=it.charAt(ut++),$===4?(d+=String.fromCharCode(parseInt(Q,16)),$=0,st=ut-1):$++,!o)break t;if(o==='"'&&!z){Y=X.pop()||I,d+=it.substring(st,ut-1);break}if(!(o!=="\\"||z||(z=!0,d+=it.substring(st,ut-1),o=it.charAt(ut++))))break;if(z){if(z=!1,o==="n"?d+=`
30
+ `:o==="r"?d+="\r":o==="t"?d+=" ":o==="f"?d+="\f":o==="b"?d+="\b":o==="u"?($=1,Q=""):d+=o,o=it.charAt(ut++),st=ut-1,o)continue;break}S.lastIndex=ut;var ft=S.exec(it);if(!ft){ut=it.length+1,d+=it.substring(st,ut-1);break}if(ut=ft.index+1,!(o=it.charAt(ft.index))){d+=it.substring(st,ut-1);break}}continue;case x:if(!o)continue;if(o!=="r")return tt("Invalid true started with t"+o);Y=j;continue;case j:if(!o)continue;if(o!=="u")return tt("Invalid true started with tr"+o);Y=K;continue;case K:if(!o)continue;if(o!=="e")return tt("Invalid true started with tru"+o);w(!0),g(),Y=X.pop()||I;continue;case V:if(!o)continue;if(o!=="a")return tt("Invalid false started with f"+o);Y=J;continue;case J:if(!o)continue;if(o!=="l")return tt("Invalid false started with fa"+o);Y=O;continue;case O:if(!o)continue;if(o!=="s")return tt("Invalid false started with fal"+o);Y=F;continue;case F:if(!o)continue;if(o!=="e")return tt("Invalid false started with fals"+o);w(!1),g(),Y=X.pop()||I;continue;case G:if(!o)continue;if(o!=="u")return tt("Invalid null started with n"+o);Y=H;continue;case H:if(!o)continue;if(o!=="l")return tt("Invalid null started with nu"+o);Y=M;continue;case M:if(!o)continue;if(o!=="l")return tt("Invalid null started with nul"+o);w(null),g(),Y=X.pop()||I;continue;case _:if(o!==".")return tt("Leading zero not followed by .");q+=o,Y=20;continue;case 20:if("0123456789".indexOf(o)!==-1)q+=o;else if(o==="."){if(q.indexOf(".")!==-1)return tt("Invalid number has two dots");q+=o}else if(o==="e"||o==="E"){if(q.indexOf("e")!==-1||q.indexOf("E")!==-1)return tt("Invalid number has two exponential");q+=o}else if(o==="+"||o==="-"){if(a!=="e"&&a!=="E")return tt("Invalid symbol in number");q+=o}else q&&(w(parseFloat(q)),g(),q=""),ut--,Y=X.pop()||I;continue;default:return tt("Unknown state: "+Y)}et>=U&&(at=0,d!==void 0&&d.length>T&&(tt("Max buffer length exceeded: textNode"),at=Math.max(at,d.length)),q.length>T&&(tt("Max buffer length exceeded: numberNode"),at=Math.max(at,q.length)),U=T-at+et)}}),i(u.n).on(function(){if(Y===k)return w({}),g(),void(W=!0);Y===I&&Z===0||tt("Unexpected end"),d!==void 0&&(w(d),g(),d=void 0),W=!0})}},function(s,f,e){e.d(f,"a",function(){return a}),e.d(f,"b",function(){return d});var u=e(19),n=e(3),i=e(2),r=e(20),o=e(0);function a(){return new XMLHttpRequest}function d(b,w,g,A,T,S,E){var k=b(n.m).emit,I=b(n.b).emit,N=0,D=!0;function L(){if(String(w.status)[0]==="2"){var C=w.responseText,B=(" "+C.substr(N)).substr(1);B&&k(B),N=Object(i.e)(C)}}function m(C){try{D&&b(n.c).emit(C.status,Object(r.a)(C.getAllResponseHeaders())),D=!1}catch{}}b(n.a).on(function(){w.onreadystatechange=null,w.abort()}),"onprogress"in w&&(w.onprogress=L),w.onreadystatechange=function(){switch(w.readyState){case 2:case 3:return m(w);case 4:m(w),String(w.status)[0]==="2"?(L(),b(n.n).emit()):I(Object(n.o)(w.status,w.responseText))}};try{for(var P in w.open(g,A,!0),S)w.setRequestHeader(P,S[P]);Object(u.a)(window.location,Object(u.b)(A))||w.setRequestHeader("X-Requested-With","XMLHttpRequest"),w.withCredentials=E,w.send(T)}catch(C){window.setTimeout(Object(o.j)(I,Object(n.o)(void 0,void 0,C)),0)}}},function(s,f,e){function u(i,r){function o(a){return String(a.port||{"http:":80,"https:":443}[a.protocol||i.protocol])}return!!(r.protocol&&r.protocol!==i.protocol||r.host&&r.host!==i.host||r.host&&o(r)!==o(i))}function n(i){var r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(i)||[];return{protocol:r[1]||"",host:r[2]||"",port:r[3]||""}}e.d(f,"a",function(){return u}),e.d(f,"b",function(){return n})},function(s,f,e){function u(n){var i={};return n&&n.split(`\r
31
+ `).forEach(function(r){var o=r.indexOf(": ");i[r.substring(0,o)]=r.substring(o+2)}),i}e.d(f,"a",function(){return u})}]).default},(0,t.default)(y)==="object"&&(0,t.default)(R)==="object"?R.exports=l():(v=[],(p=typeof(h=l)=="function"?h.apply(y,v):h)===void 0||(R.exports=p))},1823:(R,y,c)=>{var h=c(8357);y.certificate=c(1320);var v=h.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});y.RSAPrivateKey=v;var p=h.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});y.RSAPublicKey=p;var l=h.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())});y.PublicKey=l;var t=h.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),s=h.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(t),this.key("subjectPrivateKey").octstr())});y.PrivateKey=s;var f=h.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});y.EncryptedPrivateKey=f;var e=h.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});y.DSAPrivateKey=e,y.DSAparam=h.define("DSAparam",function(){this.int()});var u=h.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(n),this.key("publicKey").optional().explicit(1).bitstr())});y.ECPrivateKey=u;var n=h.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});y.signature=h.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},1320:(R,y,c)=>{var h=c(8357),v=h.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=h.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),l=h.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),t=h.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())}),s=h.define("RelativeDistinguishedName",function(){this.setof(p)}),f=h.define("RDNSequence",function(){this.seqof(s)}),e=h.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),u=h.define("Validity",function(){this.seq().obj(this.key("notBefore").use(v),this.key("notAfter").use(v))}),n=h.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),i=h.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(l),this.key("issuer").use(e),this.key("validity").use(u),this.key("subject").use(e),this.key("subjectPublicKeyInfo").use(t),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(n).optional())}),r=h.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(i),this.key("signatureAlgorithm").use(l),this.key("signatureValue").bitstr())});R.exports=r},4988:(R,y,c)=>{var h=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,v=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,l=c(7085),t=c(8073),s=c(8850).Buffer;R.exports=function(f,e){var u,n=f.toString(),i=n.match(h);if(i){var r="aes"+i[1],o=s.from(i[2],"hex"),a=s.from(i[3].replace(/[\r\n]/g,""),"base64"),d=l(e,o.slice(0,8),parseInt(i[1],10)).key,b=[],w=t.createDecipheriv(r,d,o);b.push(w.update(a)),b.push(w.final()),u=s.concat(b)}else{var g=n.match(p);u=s.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:n.match(v)[1],data:u}}},7552:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1823),p=c(2562),l=c(4988),t=c(8073),s=c(4192),f=c(8850).Buffer;function e(u){var n;(0,h.default)(u)!=="object"||f.isBuffer(u)||(n=u.passphrase,u=u.key),typeof u=="string"&&(u=f.from(u));var i,r,o=l(u,n),a=o.tag,d=o.data;switch(a){case"CERTIFICATE":r=v.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(r||(r=v.PublicKey.decode(d,"der")),i=r.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return v.RSAPublicKey.decode(r.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return r.subjectPrivateKey=r.subjectPublicKey,{type:"ec",data:r};case"1.2.840.10040.4.1":return r.algorithm.params.pub_key=v.DSAparam.decode(r.subjectPublicKey.data,"der"),{type:"dsa",data:r.algorithm.params};default:throw new Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":d=function(b,w){var g=b.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(b.algorithm.decrypt.kde.kdeparams.iters.toString(),10),T=p[b.algorithm.decrypt.cipher.algo.join(".")],S=b.algorithm.decrypt.cipher.iv,E=b.subjectPrivateKey,k=parseInt(T.split("-")[1],10)/8,I=s.pbkdf2Sync(w,g,A,k,"sha1"),N=t.createDecipheriv(T,I,S),D=[];return D.push(N.update(E)),D.push(N.final()),f.concat(D)}(d=v.EncryptedPrivateKey.decode(d,"der"),n);case"PRIVATE KEY":switch(i=(r=v.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return v.RSAPrivateKey.decode(r.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:r.algorithm.curve,privateKey:v.ECPrivateKey.decode(r.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return r.algorithm.params.priv_key=v.DSAparam.decode(r.subjectPrivateKey,"der"),{type:"dsa",params:r.algorithm.params};default:throw new Error("unknown key id "+i)}case"RSA PUBLIC KEY":return v.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return v.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:v.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=v.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+a)}}R.exports=e,e.signature=v.signature},8209:R=>{var y=function(c){return c.replace(/^\s+|\s+$/g,"")};R.exports=function(c){if(!c)return{};for(var h,v={},p=y(c).split(`
32
+ `),l=0;l<p.length;l++){var t=p[l],s=t.indexOf(":"),f=y(t.slice(0,s)).toLowerCase(),e=y(t.slice(s+1));v[f]===void 0?v[f]=e:(h=v[f],Object.prototype.toString.call(h)==="[object Array]"?v[f].push(e):v[f]=[v[f],e])}return v}},4192:(R,y,c)=>{y.pbkdf2=c(1882),y.pbkdf2Sync=c(1658)},1882:(R,y,c)=>{var h,v,p=c(8850).Buffer,l=c(3127),t=c(7401),s=c(1658),f=c(8398),e=c.g.crypto&&c.g.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},n=[];function i(){return v||(v=c.g.process&&c.g.process.nextTick?c.g.process.nextTick:c.g.queueMicrotask?c.g.queueMicrotask:c.g.setImmediate?c.g.setImmediate:c.g.setTimeout)}function r(o,a,d,b,w){return e.importKey("raw",o,{name:"PBKDF2"},!1,["deriveBits"]).then(function(g){return e.deriveBits({name:"PBKDF2",salt:a,iterations:d,hash:{name:w}},g,b<<3)}).then(function(g){return p.from(g)})}R.exports=function(o,a,d,b,w,g){typeof w=="function"&&(g=w,w=void 0);var A=u[(w=w||"sha1").toLowerCase()];if(A&&typeof c.g.Promise=="function"){if(l(d,b),o=f(o,t,"Password"),a=f(a,t,"Salt"),typeof g!="function")throw new Error("No callback provided to pbkdf2");(function(T,S){T.then(function(E){i()(function(){S(null,E)})},function(E){i()(function(){S(E)})})})(function(T){if(c.g.process&&!c.g.process.browser||!e||!e.importKey||!e.deriveBits)return Promise.resolve(!1);if(n[T]!==void 0)return n[T];var S=r(h=h||p.alloc(8),h,10,128,T).then(function(){return!0}).catch(function(){return!1});return n[T]=S,S}(A).then(function(T){return T?r(o,a,d,b,A):s(o,a,d,b,w)}),g)}else i()(function(){var T;try{T=s(o,a,d,b,w)}catch(S){return g(S)}g(null,T)})}},7401:(R,y,c)=>{var h,v=c(9142);h=c.g.process&&c.g.process.browser?"utf-8":c.g.process&&c.g.process.version?parseInt(v.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",R.exports=h},3127:R=>{var y=Math.pow(2,30)-1;R.exports=function(c,h){if(typeof c!="number")throw new TypeError("Iterations not a number");if(c<0)throw new TypeError("Bad iterations");if(typeof h!="number")throw new TypeError("Key length not a number");if(h<0||h>y||h!=h)throw new TypeError("Bad key length")}},1658:(R,y,c)=>{var h=c(5349),v=c(6707),p=c(1708),l=c(8850).Buffer,t=c(3127),s=c(7401),f=c(8398),e=l.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function n(i,r,o){var a=function(T){return T==="rmd160"||T==="ripemd160"?function(S){return new v().update(S).digest()}:T==="md5"?h:function(S){return p(T).update(S).digest()}}(i),d=i==="sha512"||i==="sha384"?128:64;r.length>d?r=a(r):r.length<d&&(r=l.concat([r,e],d));for(var b=l.allocUnsafe(d+u[i]),w=l.allocUnsafe(d+u[i]),g=0;g<d;g++)b[g]=54^r[g],w[g]=92^r[g];var A=l.allocUnsafe(d+o+4);b.copy(A,0,0,d),this.ipad1=A,this.ipad2=b,this.opad=w,this.alg=i,this.blocksize=d,this.hash=a,this.size=u[i]}n.prototype.run=function(i,r){return i.copy(r,this.blocksize),this.hash(r).copy(this.opad,this.blocksize),this.hash(this.opad)},R.exports=function(i,r,o,a,d){t(o,a);var b=new n(d=d||"sha1",i=f(i,s,"Password"),(r=f(r,s,"Salt")).length),w=l.allocUnsafe(a),g=l.allocUnsafe(r.length+4);r.copy(g,0,0,r.length);for(var A=0,T=u[d],S=Math.ceil(a/T),E=1;E<=S;E++){g.writeUInt32BE(E,r.length);for(var k=b.run(g,b.ipad1),I=k,N=1;N<o;N++){I=b.run(I,b.ipad2);for(var D=0;D<T;D++)k[D]^=I[D]}k.copy(w,A),A+=T}return w}},8398:(R,y,c)=>{var h=c(8850).Buffer;R.exports=function(v,p,l){if(h.isBuffer(v))return v;if(typeof v=="string")return h.from(v,p);if(ArrayBuffer.isView(v))return h.from(v.buffer);throw new TypeError(l+" must be a string, a Buffer, a typed array or a DataView")}},9142:R=>{var y,c,h=R.exports={};function v(){throw new Error("setTimeout has not been defined")}function p(){throw new Error("clearTimeout has not been defined")}function l(o){if(y===setTimeout)return setTimeout(o,0);if((y===v||!y)&&setTimeout)return y=setTimeout,setTimeout(o,0);try{return y(o,0)}catch{try{return y.call(null,o,0)}catch{return y.call(this,o,0)}}}(function(){try{y=typeof setTimeout=="function"?setTimeout:v}catch{y=v}try{c=typeof clearTimeout=="function"?clearTimeout:p}catch{c=p}})();var t,s=[],f=!1,e=-1;function u(){f&&t&&(f=!1,t.length?s=t.concat(s):e=-1,s.length&&n())}function n(){if(!f){var o=l(u);f=!0;for(var a=s.length;a;){for(t=s,s=[];++e<a;)t&&t[e].run();e=-1,a=s.length}t=null,f=!1,function(d){if(c===clearTimeout)return clearTimeout(d);if((c===p||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(d);try{c(d)}catch{try{return c.call(null,d)}catch{return c.call(this,d)}}}(o)}}function i(o,a){this.fun=o,this.array=a}function r(){}h.nextTick=function(o){var a=new Array(arguments.length-1);if(arguments.length>1)for(var d=1;d<arguments.length;d++)a[d-1]=arguments[d];s.push(new i(o,a)),s.length!==1||f||l(n)},i.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=r,h.addListener=r,h.once=r,h.off=r,h.removeListener=r,h.removeAllListeners=r,h.emit=r,h.prependListener=r,h.prependOnceListener=r,h.listeners=function(o){return[]},h.binding=function(o){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(o){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},6991:(R,y,c)=>{y.publicEncrypt=c(2466),y.privateDecrypt=c(3144),y.privateEncrypt=function(h,v){return y.publicEncrypt(h,v,!0)},y.publicDecrypt=function(h,v){return y.privateDecrypt(h,v,!0)}},6873:(R,y,c)=>{var h=c(5866),v=c(8850).Buffer;function p(l){var t=v.allocUnsafe(4);return t.writeUInt32BE(l,0),t}R.exports=function(l,t){for(var s,f=v.alloc(0),e=0;f.length<t;)s=p(e++),f=v.concat([f,h("sha1").update(l).update(s).digest()]);return f.slice(0,t)}},3144:(R,y,c)=>{var h=c(7552),v=c(6873),p=c(817),l=c(1734),t=c(9782),s=c(5866),f=c(2561),e=c(8850).Buffer;R.exports=function(u,n,i){var r;r=u.padding?u.padding:i?1:4;var o,a=h(u),d=a.modulus.byteLength();if(n.length>d||new l(n).cmp(a.modulus)>=0)throw new Error("decryption error");o=i?f(new l(n),a):t(n,a);var b=e.alloc(d-o.length);if(o=e.concat([b,o],d),r===4)return function(w,g){var A=w.modulus.byteLength(),T=s("sha1").update(e.alloc(0)).digest(),S=T.length;if(g[0]!==0)throw new Error("decryption error");var E=g.slice(1,S+1),k=g.slice(S+1),I=p(E,v(k,S)),N=p(k,v(I,A-S-1));if(function(L,m){L=e.from(L),m=e.from(m);var P=0,C=L.length;L.length!==m.length&&(P++,C=Math.min(L.length,m.length));for(var B=-1;++B<C;)P+=L[B]^m[B];return P}(T,N.slice(0,S)))throw new Error("decryption error");for(var D=S;N[D]===0;)D++;if(N[D++]!==1)throw new Error("decryption error");return N.slice(D)}(a,o);if(r===1)return function(w,g,A){for(var T=g.slice(0,2),S=2,E=0;g[S++]!==0;)if(S>=g.length){E++;break}var k=g.slice(2,S-1);if((T.toString("hex")!=="0002"&&!A||T.toString("hex")!=="0001"&&A)&&E++,k.length<8&&E++,E)throw new Error("decryption error");return g.slice(S)}(0,o,i);if(r===3)return o;throw new Error("unknown padding")}},2466:(R,y,c)=>{var h=c(7552),v=c(5010),p=c(5866),l=c(6873),t=c(817),s=c(1734),f=c(2561),e=c(9782),u=c(8850).Buffer;R.exports=function(n,i,r){var o;o=n.padding?n.padding:r?1:4;var a,d=h(n);if(o===4)a=function(b,w){var g=b.modulus.byteLength(),A=w.length,T=p("sha1").update(u.alloc(0)).digest(),S=T.length,E=2*S;if(A>g-E-2)throw new Error("message too long");var k=u.alloc(g-A-E-2),I=g-S-1,N=v(S),D=t(u.concat([T,k,u.alloc(1,1),w],I),l(N,I)),L=t(N,l(D,S));return new s(u.concat([u.alloc(1),L,D],g))}(d,i);else if(o===1)a=function(b,w,g){var A,T=w.length,S=b.modulus.byteLength();if(T>S-11)throw new Error("message too long");return A=g?u.alloc(S-T-3,255):function(E){for(var k,I=u.allocUnsafe(E),N=0,D=v(2*E),L=0;N<E;)L===D.length&&(D=v(2*E),L=0),(k=D[L++])&&(I[N++]=k);return I}(S-T-3),new s(u.concat([u.from([0,g?1:2]),A,u.alloc(1),w],S))}(d,i,r);else{if(o!==3)throw new Error("unknown padding");if((a=new s(i)).cmp(d.modulus)>=0)throw new Error("data too long for modulus")}return r?e(a,d):f(a,d)}},2561:(R,y,c)=>{var h=c(1734),v=c(8850).Buffer;R.exports=function(p,l){return v.from(p.toRed(h.mont(l.modulus)).redPow(new h(l.publicExponent)).fromRed().toArray())}},817:R=>{R.exports=function(y,c){for(var h=y.length,v=-1;++v<h;)y[v]^=c[v];return y}},5010:(R,y,c)=>{var h=c(9142),v=65536,p=c(8850).Buffer,l=c.g.crypto||c.g.msCrypto;l&&l.getRandomValues?R.exports=function(t,s){if(t>4294967295)throw new RangeError("requested too many random bytes");var f=p.allocUnsafe(t);if(t>0)if(t>v)for(var e=0;e<t;e+=v)l.getRandomValues(f.slice(e,e+v));else l.getRandomValues(f);return typeof s=="function"?h.nextTick(function(){s(null,f)}):f}:R.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
33
+ Use Chrome, Firefox or Internet Explorer 11`)}},6509:(R,y,c)=>{var h=c(9142);function v(){throw new Error(`secure random number generation not supported by this browser
34
+ use chrome, FireFox or Internet Explorer 11`)}var p=c(8850),l=c(5010),t=p.Buffer,s=p.kMaxLength,f=c.g.crypto||c.g.msCrypto,e=Math.pow(2,32)-1;function u(r,o){if(typeof r!="number"||r!=r)throw new TypeError("offset must be a number");if(r>e||r<0)throw new TypeError("offset must be a uint32");if(r>s||r>o)throw new RangeError("offset out of range")}function n(r,o,a){if(typeof r!="number"||r!=r)throw new TypeError("size must be a number");if(r>e||r<0)throw new TypeError("size must be a uint32");if(r+o>a||r>s)throw new RangeError("buffer too small")}function i(r,o,a,d){if(h.browser){var b=r.buffer,w=new Uint8Array(b,o,a);return f.getRandomValues(w),d?void h.nextTick(function(){d(null,r)}):r}if(!d)return l(a).copy(r,o),r;l(a,function(g,A){if(g)return d(g);A.copy(r,o),d(null,r)})}f&&f.getRandomValues||!h.browser?(y.randomFill=function(r,o,a,d){if(!(t.isBuffer(r)||r instanceof c.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof o=="function")d=o,o=0,a=r.length;else if(typeof a=="function")d=a,a=r.length-o;else if(typeof d!="function")throw new TypeError('"cb" argument must be a function');return u(o,r.length),n(a,o,r.length),i(r,o,a,d)},y.randomFillSync=function(r,o,a){if(o===void 0&&(o=0),!(t.isBuffer(r)||r instanceof c.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(o,r.length),a===void 0&&(a=r.length-o),n(a,o,r.length),i(r,o,a)}):(y.randomFill=v,y.randomFillSync=v)},9024:(R,y,c)=>{var h=c(8847)(c(3355)),v={};function p(t,s,f){f||(f=Error);var e=function(u){var n,i;function r(o,a,d){return u.call(this,function(b,w,g){return typeof s=="string"?s:s(b,w,g)}(o,a,d))||this}return i=u,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,r}(f);e.prototype.name=f.name,e.prototype.code=t,v[t]=e}function l(t,s){if(Array.isArray(t)){var f=t.length;return t=t.map(function(e){return String(e)}),f>2?"one of ".concat(s," ").concat(t.slice(0,f-1).join(", "),", or ")+t[f-1]:f===2?"one of ".concat(s," ").concat(t[0]," or ").concat(t[1]):"of ".concat(s," ").concat(t[0])}return"of ".concat(s," ").concat(String(t))}p("ERR_INVALID_OPT_VALUE",function(t,s){return'The value "'+s+'" is invalid for option "'+t+'"'},TypeError),p("ERR_INVALID_ARG_TYPE",function(t,s,f){var e,u,n,i,r;if(typeof s=="string"&&(u="not ",s.substr(0,u.length)===u)?(e="must not be",s=s.replace(/^not /,"")):e="must be",function(a,d,b){return(b===void 0||b>a.length)&&(b=a.length),a.substring(b-d.length,b)===d}(t," argument"))n="The ".concat(t," ").concat(e," ").concat(l(s,"type"));else{var o=(typeof r!="number"&&(r=0),r+1>(i=t).length||i.indexOf(".",r)===-1?"argument":"property");n='The "'.concat(t,'" ').concat(o," ").concat(e," ").concat(l(s,"type"))}return n+". Received type ".concat((0,h.default)(f))},TypeError),p("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),p("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),p("ERR_STREAM_PREMATURE_CLOSE","Premature close"),p("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),p("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),p("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),p("ERR_STREAM_WRITE_AFTER_END","write after end"),p("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),p("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),p("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),R.exports.q=v},6884:(R,y,c)=>{var h=c(9142),v=Object.keys||function(i){var r=[];for(var o in i)r.push(o);return r};R.exports=e;var p=c(6297),l=c(1471);c(1736)(e,p);for(var t=v(l.prototype),s=0;s<t.length;s++){var f=t[s];e.prototype[f]||(e.prototype[f]=l.prototype[f])}function e(i){if(!(this instanceof e))return new e(i);p.call(this,i),l.call(this,i),this.allowHalfOpen=!0,i&&(i.readable===!1&&(this.readable=!1),i.writable===!1&&(this.writable=!1),i.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||h.nextTick(n,this)}function n(i){i.end()}Object.defineProperty(e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(e.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(e.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(e.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(i){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=i,this._writableState.destroyed=i)}})},3582:(R,y,c)=>{R.exports=v;var h=c(9154);function v(p){if(!(this instanceof v))return new v(p);h.call(this,p)}c(1736)(v,h),v.prototype._transform=function(p,l,t){t(null,p)}},6297:(R,y,c)=>{var h,v=c(9142);R.exports=k,k.ReadableState=E,c(8291).EventEmitter;var p,l=function(H,M){return H.listeners(M).length},t=c(7144),s=c(9033).Buffer,f=c.g.Uint8Array||function(){},e=c(4616);p=e&&e.debuglog?e.debuglog("stream"):function(){};var u,n,i,r=c(5392),o=c(7572),a=c(6756).getHighWaterMark,d=c(9024).q,b=d.ERR_INVALID_ARG_TYPE,w=d.ERR_STREAM_PUSH_AFTER_EOF,g=d.ERR_METHOD_NOT_IMPLEMENTED,A=d.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;c(1736)(k,t);var T=o.errorOrDestroy,S=["error","close","destroy","pause","resume"];function E(H,M,_){h=h||c(6884),H=H||{},typeof _!="boolean"&&(_=M instanceof h),this.objectMode=!!H.objectMode,_&&(this.objectMode=this.objectMode||!!H.readableObjectMode),this.highWaterMark=a(this,H,"readableHighWaterMark",_),this.buffer=new r,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=H.emitClose!==!1,this.autoDestroy=!!H.autoDestroy,this.destroyed=!1,this.defaultEncoding=H.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,H.encoding&&(u||(u=c(3462).s),this.decoder=new u(H.encoding),this.encoding=H.encoding)}function k(H){if(h=h||c(6884),!(this instanceof k))return new k(H);var M=this instanceof h;this._readableState=new E(H,this,M),this.readable=!0,H&&(typeof H.read=="function"&&(this._read=H.read),typeof H.destroy=="function"&&(this._destroy=H.destroy)),t.call(this)}function I(H,M,_,U,q){p("readableAddChunk",M);var z,W=H._readableState;if(M===null)W.reading=!1,function(Y,X){if(p("onEofChunk"),!X.ended){if(X.decoder){var Q=X.decoder.end();Q&&Q.length&&(X.buffer.push(Q),X.length+=X.objectMode?1:Q.length)}X.ended=!0,X.sync?m(Y):(X.needReadable=!1,X.emittedReadable||(X.emittedReadable=!0,P(Y)))}}(H,W);else if(q||(z=function(Y,X){var Q,$;return $=X,s.isBuffer($)||$ instanceof f||typeof X=="string"||X===void 0||Y.objectMode||(Q=new b("chunk",["string","Buffer","Uint8Array"],X)),Q}(W,M)),z)T(H,z);else if(W.objectMode||M&&M.length>0)if(typeof M=="string"||W.objectMode||Object.getPrototypeOf(M)===s.prototype||(M=function(Y){return s.from(Y)}(M)),U)W.endEmitted?T(H,new A):N(H,W,M,!0);else if(W.ended)T(H,new w);else{if(W.destroyed)return!1;W.reading=!1,W.decoder&&!_?(M=W.decoder.write(M),W.objectMode||M.length!==0?N(H,W,M,!1):C(H,W)):N(H,W,M,!1)}else U||(W.reading=!1,C(H,W));return!W.ended&&(W.length<W.highWaterMark||W.length===0)}function N(H,M,_,U){M.flowing&&M.length===0&&!M.sync?(M.awaitDrain=0,H.emit("data",_)):(M.length+=M.objectMode?1:_.length,U?M.buffer.unshift(_):M.buffer.push(_),M.needReadable&&m(H)),C(H,M)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(H){this._readableState&&(this._readableState.destroyed=H)}}),k.prototype.destroy=o.destroy,k.prototype._undestroy=o.undestroy,k.prototype._destroy=function(H,M){M(H)},k.prototype.push=function(H,M){var _,U=this._readableState;return U.objectMode?_=!0:typeof H=="string"&&((M=M||U.defaultEncoding)!==U.encoding&&(H=s.from(H,M),M=""),_=!0),I(this,H,M,!1,_)},k.prototype.unshift=function(H){return I(this,H,null,!0,!1)},k.prototype.isPaused=function(){return this._readableState.flowing===!1},k.prototype.setEncoding=function(H){u||(u=c(3462).s);var M=new u(H);this._readableState.decoder=M,this._readableState.encoding=this._readableState.decoder.encoding;for(var _=this._readableState.buffer.head,U="";_!==null;)U+=M.write(_.data),_=_.next;return this._readableState.buffer.clear(),U!==""&&this._readableState.buffer.push(U),this._readableState.length=U.length,this};var D=1073741824;function L(H,M){return H<=0||M.length===0&&M.ended?0:M.objectMode?1:H!=H?M.flowing&&M.length?M.buffer.head.data.length:M.length:(H>M.highWaterMark&&(M.highWaterMark=function(_){return _>=D?_=D:(_--,_|=_>>>1,_|=_>>>2,_|=_>>>4,_|=_>>>8,_|=_>>>16,_++),_}(H)),H<=M.length?H:M.ended?M.length:(M.needReadable=!0,0))}function m(H){var M=H._readableState;p("emitReadable",M.needReadable,M.emittedReadable),M.needReadable=!1,M.emittedReadable||(p("emitReadable",M.flowing),M.emittedReadable=!0,v.nextTick(P,H))}function P(H){var M=H._readableState;p("emitReadable_",M.destroyed,M.length,M.ended),M.destroyed||!M.length&&!M.ended||(H.emit("readable"),M.emittedReadable=!1),M.needReadable=!M.flowing&&!M.ended&&M.length<=M.highWaterMark,V(H)}function C(H,M){M.readingMore||(M.readingMore=!0,v.nextTick(B,H,M))}function B(H,M){for(;!M.reading&&!M.ended&&(M.length<M.highWaterMark||M.flowing&&M.length===0);){var _=M.length;if(p("maybeReadMore read 0"),H.read(0),_===M.length)break}M.readingMore=!1}function x(H){var M=H._readableState;M.readableListening=H.listenerCount("readable")>0,M.resumeScheduled&&!M.paused?M.flowing=!0:H.listenerCount("data")>0&&H.resume()}function j(H){p("readable nexttick read 0"),H.read(0)}function K(H,M){p("resume",M.reading),M.reading||H.read(0),M.resumeScheduled=!1,H.emit("resume"),V(H),M.flowing&&!M.reading&&H.read(0)}function V(H){var M=H._readableState;for(p("flow",M.flowing);M.flowing&&H.read()!==null;);}function J(H,M){return M.length===0?null:(M.objectMode?_=M.buffer.shift():!H||H>=M.length?(_=M.decoder?M.buffer.join(""):M.buffer.length===1?M.buffer.first():M.buffer.concat(M.length),M.buffer.clear()):_=M.buffer.consume(H,M.decoder),_);var _}function O(H){var M=H._readableState;p("endReadable",M.endEmitted),M.endEmitted||(M.ended=!0,v.nextTick(F,M,H))}function F(H,M){if(p("endReadableNT",H.endEmitted,H.length),!H.endEmitted&&H.length===0&&(H.endEmitted=!0,M.readable=!1,M.emit("end"),H.autoDestroy)){var _=M._writableState;(!_||_.autoDestroy&&_.finished)&&M.destroy()}}function G(H,M){for(var _=0,U=H.length;_<U;_++)if(H[_]===M)return _;return-1}k.prototype.read=function(H){p("read",H),H=parseInt(H,10);var M=this._readableState,_=H;if(H!==0&&(M.emittedReadable=!1),H===0&&M.needReadable&&((M.highWaterMark!==0?M.length>=M.highWaterMark:M.length>0)||M.ended))return p("read: emitReadable",M.length,M.ended),M.length===0&&M.ended?O(this):m(this),null;if((H=L(H,M))===0&&M.ended)return M.length===0&&O(this),null;var U,q=M.needReadable;return p("need readable",q),(M.length===0||M.length-H<M.highWaterMark)&&p("length less than watermark",q=!0),M.ended||M.reading?p("reading or ended",q=!1):q&&(p("do read"),M.reading=!0,M.sync=!0,M.length===0&&(M.needReadable=!0),this._read(M.highWaterMark),M.sync=!1,M.reading||(H=L(_,M))),(U=H>0?J(H,M):null)===null?(M.needReadable=M.length<=M.highWaterMark,H=0):(M.length-=H,M.awaitDrain=0),M.length===0&&(M.ended||(M.needReadable=!0),_!==H&&M.ended&&O(this)),U!==null&&this.emit("data",U),U},k.prototype._read=function(H){T(this,new g("_read()"))},k.prototype.pipe=function(H,M){var _=this,U=this._readableState;switch(U.pipesCount){case 0:U.pipes=H;break;case 1:U.pipes=[U.pipes,H];break;default:U.pipes.push(H)}U.pipesCount+=1,p("pipe count=%d opts=%j",U.pipesCount,M);var q=M&&M.end===!1||H===v.stdout||H===v.stderr?et:z;function z(){p("onend"),H.end()}U.endEmitted?v.nextTick(q):_.once("end",q),H.on("unpipe",function rt(nt,tt){p("onunpipe"),nt===_&&tt&&tt.hasUnpiped===!1&&(tt.hasUnpiped=!0,p("cleanup"),H.removeListener("close",$),H.removeListener("finish",Z),H.removeListener("drain",W),H.removeListener("error",Q),H.removeListener("unpipe",rt),_.removeListener("end",z),_.removeListener("end",et),_.removeListener("data",X),Y=!0,!U.awaitDrain||H._writableState&&!H._writableState.needDrain||W())});var W=function(rt){return function(){var nt=rt._readableState;p("pipeOnDrain",nt.awaitDrain),nt.awaitDrain&&nt.awaitDrain--,nt.awaitDrain===0&&l(rt,"data")&&(nt.flowing=!0,V(rt))}}(_);H.on("drain",W);var Y=!1;function X(rt){p("ondata");var nt=H.write(rt);p("dest.write",nt),nt===!1&&((U.pipesCount===1&&U.pipes===H||U.pipesCount>1&&G(U.pipes,H)!==-1)&&!Y&&(p("false write response, pause",U.awaitDrain),U.awaitDrain++),_.pause())}function Q(rt){p("onerror",rt),et(),H.removeListener("error",Q),l(H,"error")===0&&T(H,rt)}function $(){H.removeListener("finish",Z),et()}function Z(){p("onfinish"),H.removeListener("close",$),et()}function et(){p("unpipe"),_.unpipe(H)}return _.on("data",X),function(rt,nt,tt){if(typeof rt.prependListener=="function")return rt.prependListener(nt,tt);rt._events&&rt._events[nt]?Array.isArray(rt._events[nt])?rt._events[nt].unshift(tt):rt._events[nt]=[tt,rt._events[nt]]:rt.on(nt,tt)}(H,"error",Q),H.once("close",$),H.once("finish",Z),H.emit("pipe",_),U.flowing||(p("pipe resume"),_.resume()),H},k.prototype.unpipe=function(H){var M=this._readableState,_={hasUnpiped:!1};if(M.pipesCount===0)return this;if(M.pipesCount===1)return H&&H!==M.pipes||(H||(H=M.pipes),M.pipes=null,M.pipesCount=0,M.flowing=!1,H&&H.emit("unpipe",this,_)),this;if(!H){var U=M.pipes,q=M.pipesCount;M.pipes=null,M.pipesCount=0,M.flowing=!1;for(var z=0;z<q;z++)U[z].emit("unpipe",this,{hasUnpiped:!1});return this}var W=G(M.pipes,H);return W===-1||(M.pipes.splice(W,1),M.pipesCount-=1,M.pipesCount===1&&(M.pipes=M.pipes[0]),H.emit("unpipe",this,_)),this},k.prototype.on=function(H,M){var _=t.prototype.on.call(this,H,M),U=this._readableState;return H==="data"?(U.readableListening=this.listenerCount("readable")>0,U.flowing!==!1&&this.resume()):H==="readable"&&(U.endEmitted||U.readableListening||(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,p("on readable",U.length,U.reading),U.length?m(this):U.reading||v.nextTick(j,this))),_},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(H,M){var _=t.prototype.removeListener.call(this,H,M);return H==="readable"&&v.nextTick(x,this),_},k.prototype.removeAllListeners=function(H){var M=t.prototype.removeAllListeners.apply(this,arguments);return H!=="readable"&&H!==void 0||v.nextTick(x,this),M},k.prototype.resume=function(){var H=this._readableState;return H.flowing||(p("resume"),H.flowing=!H.readableListening,function(M,_){_.resumeScheduled||(_.resumeScheduled=!0,v.nextTick(K,M,_))}(this,H)),H.paused=!1,this},k.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(H){var M=this,_=this._readableState,U=!1;for(var q in H.on("end",function(){if(p("wrapped end"),_.decoder&&!_.ended){var W=_.decoder.end();W&&W.length&&M.push(W)}M.push(null)}),H.on("data",function(W){p("wrapped data"),_.decoder&&(W=_.decoder.write(W)),_.objectMode&&W==null||(_.objectMode||W&&W.length)&&(M.push(W)||(U=!0,H.pause()))}),H)this[q]===void 0&&typeof H[q]=="function"&&(this[q]=function(W){return function(){return H[W].apply(H,arguments)}}(q));for(var z=0;z<S.length;z++)H.on(S[z],this.emit.bind(this,S[z]));return this._read=function(W){p("wrapped _read",W),U&&(U=!1,H.resume())},this},typeof Symbol=="function"&&(k.prototype[Symbol.asyncIterator]=function(){return n===void 0&&(n=c(2317)),n(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(H){this._readableState&&(this._readableState.flowing=H)}}),k._fromList=J,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(k.from=function(H,M){return i===void 0&&(i=c(6218)),i(k,H,M)})},9154:(R,y,c)=>{R.exports=e;var h=c(9024).q,v=h.ERR_METHOD_NOT_IMPLEMENTED,p=h.ERR_MULTIPLE_CALLBACK,l=h.ERR_TRANSFORM_ALREADY_TRANSFORMING,t=h.ERR_TRANSFORM_WITH_LENGTH_0,s=c(6884);function f(i,r){var o=this._transformState;o.transforming=!1;var a=o.writecb;if(a===null)return this.emit("error",new p);o.writechunk=null,o.writecb=null,r!=null&&this.push(r),a(i);var d=this._readableState;d.reading=!1,(d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}function e(i){if(!(this instanceof e))return new e(i);s.call(this,i),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,i&&(typeof i.transform=="function"&&(this._transform=i.transform),typeof i.flush=="function"&&(this._flush=i.flush)),this.on("prefinish",u)}function u(){var i=this;typeof this._flush!="function"||this._readableState.destroyed?n(this,null,null):this._flush(function(r,o){n(i,r,o)})}function n(i,r,o){if(r)return i.emit("error",r);if(o!=null&&i.push(o),i._writableState.length)throw new t;if(i._transformState.transforming)throw new l;return i.push(null)}c(1736)(e,s),e.prototype.push=function(i,r){return this._transformState.needTransform=!1,s.prototype.push.call(this,i,r)},e.prototype._transform=function(i,r,o){o(new v("_transform()"))},e.prototype._write=function(i,r,o){var a=this._transformState;if(a.writecb=o,a.writechunk=i,a.writeencoding=r,!a.transforming){var d=this._readableState;(a.needTransform||d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}},e.prototype._read=function(i){var r=this._transformState;r.writechunk===null||r.transforming?r.needTransform=!0:(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform))},e.prototype._destroy=function(i,r){s.prototype._destroy.call(this,i,function(o){r(o)})}},1471:(R,y,c)=>{var h,v=c(9142);function p(C){var B=this;this.next=null,this.entry=null,this.finish=function(){(function(x,j,K){var V=x.entry;for(x.entry=null;V;){var J=V.callback;j.pendingcb--,J(void 0),V=V.next}j.corkedRequestsFree.next=x})(B,C)}}R.exports=k,k.WritableState=E;var l,t={deprecate:c(6219)},s=c(7144),f=c(9033).Buffer,e=c.g.Uint8Array||function(){},u=c(7572),n=c(6756).getHighWaterMark,i=c(9024).q,r=i.ERR_INVALID_ARG_TYPE,o=i.ERR_METHOD_NOT_IMPLEMENTED,a=i.ERR_MULTIPLE_CALLBACK,d=i.ERR_STREAM_CANNOT_PIPE,b=i.ERR_STREAM_DESTROYED,w=i.ERR_STREAM_NULL_VALUES,g=i.ERR_STREAM_WRITE_AFTER_END,A=i.ERR_UNKNOWN_ENCODING,T=u.errorOrDestroy;function S(){}function E(C,B,x){h=h||c(6884),C=C||{},typeof x!="boolean"&&(x=B instanceof h),this.objectMode=!!C.objectMode,x&&(this.objectMode=this.objectMode||!!C.writableObjectMode),this.highWaterMark=n(this,C,"writableHighWaterMark",x),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var j=C.decodeStrings===!1;this.decodeStrings=!j,this.defaultEncoding=C.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){(function(V,J){var O=V._writableState,F=O.sync,G=O.writecb;if(typeof G!="function")throw new a;if(function(M){M.writing=!1,M.writecb=null,M.length-=M.writelen,M.writelen=0}(O),J)(function(M,_,U,q,z){--_.pendingcb,U?(v.nextTick(z,q),v.nextTick(P,M,_),M._writableState.errorEmitted=!0,T(M,q)):(z(q),M._writableState.errorEmitted=!0,T(M,q),P(M,_))})(V,O,F,J,G);else{var H=L(O)||V.destroyed;H||O.corked||O.bufferProcessing||!O.bufferedRequest||D(V,O),F?v.nextTick(N,V,O,H,G):N(V,O,H,G)}})(B,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=C.emitClose!==!1,this.autoDestroy=!!C.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new p(this)}function k(C){var B=this instanceof(h=h||c(6884));if(!B&&!l.call(k,this))return new k(C);this._writableState=new E(C,this,B),this.writable=!0,C&&(typeof C.write=="function"&&(this._write=C.write),typeof C.writev=="function"&&(this._writev=C.writev),typeof C.destroy=="function"&&(this._destroy=C.destroy),typeof C.final=="function"&&(this._final=C.final)),s.call(this)}function I(C,B,x,j,K,V,J){B.writelen=j,B.writecb=J,B.writing=!0,B.sync=!0,B.destroyed?B.onwrite(new b("write")):x?C._writev(K,B.onwrite):C._write(K,V,B.onwrite),B.sync=!1}function N(C,B,x,j){x||function(K,V){V.length===0&&V.needDrain&&(V.needDrain=!1,K.emit("drain"))}(C,B),B.pendingcb--,j(),P(C,B)}function D(C,B){B.bufferProcessing=!0;var x=B.bufferedRequest;if(C._writev&&x&&x.next){var j=B.bufferedRequestCount,K=new Array(j),V=B.corkedRequestsFree;V.entry=x;for(var J=0,O=!0;x;)K[J]=x,x.isBuf||(O=!1),x=x.next,J+=1;K.allBuffers=O,I(C,B,!0,B.length,K,"",V.finish),B.pendingcb++,B.lastBufferedRequest=null,V.next?(B.corkedRequestsFree=V.next,V.next=null):B.corkedRequestsFree=new p(B),B.bufferedRequestCount=0}else{for(;x;){var F=x.chunk,G=x.encoding,H=x.callback;if(I(C,B,!1,B.objectMode?1:F.length,F,G,H),x=x.next,B.bufferedRequestCount--,B.writing)break}x===null&&(B.lastBufferedRequest=null)}B.bufferedRequest=x,B.bufferProcessing=!1}function L(C){return C.ending&&C.length===0&&C.bufferedRequest===null&&!C.finished&&!C.writing}function m(C,B){C._final(function(x){B.pendingcb--,x&&T(C,x),B.prefinished=!0,C.emit("prefinish"),P(C,B)})}function P(C,B){var x=L(B);if(x&&(function(K,V){V.prefinished||V.finalCalled||(typeof K._final!="function"||V.destroyed?(V.prefinished=!0,K.emit("prefinish")):(V.pendingcb++,V.finalCalled=!0,v.nextTick(m,K,V)))}(C,B),B.pendingcb===0&&(B.finished=!0,C.emit("finish"),B.autoDestroy))){var j=C._readableState;(!j||j.autoDestroy&&j.endEmitted)&&C.destroy()}return x}c(1736)(k,s),E.prototype.getBuffer=function(){for(var C=this.bufferedRequest,B=[];C;)B.push(C),C=C.next;return B},function(){try{Object.defineProperty(E.prototype,"buffer",{get:t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(C){return!!l.call(this,C)||this===k&&C&&C._writableState instanceof E}})):l=function(C){return C instanceof this},k.prototype.pipe=function(){T(this,new d)},k.prototype.write=function(C,B,x){var j,K=this._writableState,V=!1,J=!K.objectMode&&(j=C,f.isBuffer(j)||j instanceof e);return J&&!f.isBuffer(C)&&(C=function(O){return f.from(O)}(C)),typeof B=="function"&&(x=B,B=null),J?B="buffer":B||(B=K.defaultEncoding),typeof x!="function"&&(x=S),K.ending?function(O,F){var G=new g;T(O,G),v.nextTick(F,G)}(this,x):(J||function(O,F,G,H){var M;return G===null?M=new w:typeof G=="string"||F.objectMode||(M=new r("chunk",["string","Buffer"],G)),!M||(T(O,M),v.nextTick(H,M),!1)}(this,K,C,x))&&(K.pendingcb++,V=function(O,F,G,H,M,_){if(!G){var U=function(Y,X,Q){return Y.objectMode||Y.decodeStrings===!1||typeof X!="string"||(X=f.from(X,Q)),X}(F,H,M);H!==U&&(G=!0,M="buffer",H=U)}var q=F.objectMode?1:H.length;F.length+=q;var z=F.length<F.highWaterMark;if(z||(F.needDrain=!0),F.writing||F.corked){var W=F.lastBufferedRequest;F.lastBufferedRequest={chunk:H,encoding:M,isBuf:G,callback:_,next:null},W?W.next=F.lastBufferedRequest:F.bufferedRequest=F.lastBufferedRequest,F.bufferedRequestCount+=1}else I(O,F,!1,q,H,M,_);return z}(this,K,J,C,B,x)),V},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var C=this._writableState;C.corked&&(C.corked--,C.writing||C.corked||C.bufferProcessing||!C.bufferedRequest||D(this,C))},k.prototype.setDefaultEncoding=function(C){if(typeof C=="string"&&(C=C.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((C+"").toLowerCase())>-1))throw new A(C);return this._writableState.defaultEncoding=C,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(C,B,x){x(new o("_write()"))},k.prototype._writev=null,k.prototype.end=function(C,B,x){var j=this._writableState;return typeof C=="function"?(x=C,C=null,B=null):typeof B=="function"&&(x=B,B=null),C!=null&&this.write(C,B),j.corked&&(j.corked=1,this.uncork()),j.ending||function(K,V,J){V.ending=!0,P(K,V),J&&(V.finished?v.nextTick(J):K.once("finish",J)),V.ended=!0,K.writable=!1}(this,j,x),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(C){this._writableState&&(this._writableState.destroyed=C)}}),k.prototype.destroy=u.destroy,k.prototype._undestroy=u.undestroy,k.prototype._destroy=function(C,B){B(C)}},2317:(R,y,c)=>{var h,v=c(9142);function p(w,g,A){return g in w?Object.defineProperty(w,g,{value:A,enumerable:!0,configurable:!0,writable:!0}):w[g]=A,w}var l=c(5831),t=Symbol("lastResolve"),s=Symbol("lastReject"),f=Symbol("error"),e=Symbol("ended"),u=Symbol("lastPromise"),n=Symbol("handlePromise"),i=Symbol("stream");function r(w,g){return{value:w,done:g}}function o(w){var g=w[t];if(g!==null){var A=w[i].read();A!==null&&(w[u]=null,w[t]=null,w[s]=null,g(r(A,!1)))}}function a(w){v.nextTick(o,w)}var d=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((p(h={get stream(){return this[i]},next:function(){var w=this,g=this[f];if(g!==null)return Promise.reject(g);if(this[e])return Promise.resolve(r(void 0,!0));if(this[i].destroyed)return new Promise(function(E,k){v.nextTick(function(){w[f]?k(w[f]):E(r(void 0,!0))})});var A,T=this[u];if(T)A=new Promise(function(E,k){return function(I,N){E.then(function(){k[e]?I(r(void 0,!0)):k[n](I,N)},N)}}(T,this));else{var S=this[i].read();if(S!==null)return Promise.resolve(r(S,!1));A=new Promise(this[n])}return this[u]=A,A}},Symbol.asyncIterator,function(){return this}),p(h,"return",function(){var w=this;return new Promise(function(g,A){w[i].destroy(null,function(T){T?A(T):g(r(void 0,!0))})})}),h),d);R.exports=function(w){var g,A=Object.create(b,(p(g={},i,{value:w,writable:!0}),p(g,t,{value:null,writable:!0}),p(g,s,{value:null,writable:!0}),p(g,f,{value:null,writable:!0}),p(g,e,{value:w._readableState.endEmitted,writable:!0}),p(g,n,{value:function(T,S){var E=A[i].read();E?(A[u]=null,A[t]=null,A[s]=null,T(r(E,!1))):(A[t]=T,A[s]=S)},writable:!0}),g));return A[u]=null,l(w,function(T){if(T&&T.code!=="ERR_STREAM_PREMATURE_CLOSE"){var S=A[s];return S!==null&&(A[u]=null,A[t]=null,A[s]=null,S(T)),void(A[f]=T)}var E=A[t];E!==null&&(A[u]=null,A[t]=null,A[s]=null,E(r(void 0,!0))),A[e]=!0}),w.on("readable",a.bind(null,A)),A}},5392:(R,y,c)=>{function h(f,e){var u=Object.keys(f);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(f);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(f,i).enumerable})),u.push.apply(u,n)}return u}function v(f,e,u){return e in f?Object.defineProperty(f,e,{value:u,enumerable:!0,configurable:!0,writable:!0}):f[e]=u,f}function p(f,e){for(var u=0;u<e.length;u++){var n=e[u];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(f,n.key,n)}}var l=c(9033).Buffer,t=c(2361).inspect,s=t&&t.custom||"inspect";R.exports=function(){function f(){(function(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")})(this,f),this.head=null,this.tail=null,this.length=0}var e,u;return e=f,u=[{key:"push",value:function(n){var i={data:n,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(n){if(this.length===0)return"";for(var i=this.head,r=""+i.data;i=i.next;)r+=n+i.data;return r}},{key:"concat",value:function(n){if(this.length===0)return l.alloc(0);for(var i,r,o,a=l.allocUnsafe(n>>>0),d=this.head,b=0;d;)i=d.data,r=a,o=b,l.prototype.copy.call(i,r,o),b+=d.data.length,d=d.next;return a}},{key:"consume",value:function(n,i){var r;return n<this.head.data.length?(r=this.head.data.slice(0,n),this.head.data=this.head.data.slice(n)):r=n===this.head.data.length?this.shift():i?this._getString(n):this._getBuffer(n),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(n){var i=this.head,r=1,o=i.data;for(n-=o.length;i=i.next;){var a=i.data,d=n>a.length?a.length:n;if(d===a.length?o+=a:o+=a.slice(0,n),(n-=d)==0){d===a.length?(++r,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=a.slice(d));break}++r}return this.length-=r,o}},{key:"_getBuffer",value:function(n){var i=l.allocUnsafe(n),r=this.head,o=1;for(r.data.copy(i),n-=r.data.length;r=r.next;){var a=r.data,d=n>a.length?a.length:n;if(a.copy(i,i.length-n,0,d),(n-=d)==0){d===a.length?(++o,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=a.slice(d));break}++o}return this.length-=o,i}},{key:s,value:function(n,i){return t(this,function(r){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{};o%2?h(Object(a),!0).forEach(function(d){v(r,d,a[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach(function(d){Object.defineProperty(r,d,Object.getOwnPropertyDescriptor(a,d))})}return r}({},i,{depth:0,customInspect:!1}))}}],u&&p(e.prototype,u),f}()},7572:(R,y,c)=>{var h=c(9142);function v(t,s){l(t,s),p(t)}function p(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function l(t,s){t.emit("error",s)}R.exports={destroy:function(t,s){var f=this,e=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return e||u?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,h.nextTick(l,this,t)):h.nextTick(l,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(n){!s&&n?f._writableState?f._writableState.errorEmitted?h.nextTick(p,f):(f._writableState.errorEmitted=!0,h.nextTick(v,f,n)):h.nextTick(v,f,n):s?(h.nextTick(p,f),s(n)):h.nextTick(p,f)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,s){var f=t._readableState,e=t._writableState;f&&f.autoDestroy||e&&e.autoDestroy?t.destroy(s):t.emit("error",s)}}},5831:(R,y,c)=>{var h=c(9024).q.ERR_STREAM_PREMATURE_CLOSE;function v(){}R.exports=function p(l,t,s){if(typeof t=="function")return p(l,null,t);t||(t={}),s=function(w){var g=!1;return function(){if(!g){g=!0;for(var A=arguments.length,T=new Array(A),S=0;S<A;S++)T[S]=arguments[S];w.apply(this,T)}}}(s||v);var f=t.readable||t.readable!==!1&&l.readable,e=t.writable||t.writable!==!1&&l.writable,u=function(){l.writable||i()},n=l._writableState&&l._writableState.finished,i=function(){e=!1,n=!0,f||s.call(l)},r=l._readableState&&l._readableState.endEmitted,o=function(){f=!1,r=!0,e||s.call(l)},a=function(w){s.call(l,w)},d=function(){var w;return f&&!r?(l._readableState&&l._readableState.ended||(w=new h),s.call(l,w)):e&&!n?(l._writableState&&l._writableState.ended||(w=new h),s.call(l,w)):void 0},b=function(){l.req.on("finish",i)};return function(w){return w.setHeader&&typeof w.abort=="function"}(l)?(l.on("complete",i),l.on("abort",d),l.req?b():l.on("request",b)):e&&!l._writableState&&(l.on("end",u),l.on("close",u)),l.on("end",o),l.on("finish",i),t.error!==!1&&l.on("error",a),l.on("close",d),function(){l.removeListener("complete",i),l.removeListener("abort",d),l.removeListener("request",b),l.req&&l.req.removeListener("finish",i),l.removeListener("end",u),l.removeListener("close",u),l.removeListener("finish",i),l.removeListener("end",o),l.removeListener("error",a),l.removeListener("close",d)}}},6218:R=>{R.exports=function(){throw new Error("Readable.from is not available in the browser")}},384:(R,y,c)=>{var h,v=c(9024).q,p=v.ERR_MISSING_ARGS,l=v.ERR_STREAM_DESTROYED;function t(n){if(n)throw n}function s(n,i,r,o){o=function(b){var w=!1;return function(){w||(w=!0,b.apply(void 0,arguments))}}(o);var a=!1;n.on("close",function(){a=!0}),h===void 0&&(h=c(5831)),h(n,{readable:i,writable:r},function(b){if(b)return o(b);a=!0,o()});var d=!1;return function(b){if(!a&&!d)return d=!0,function(w){return w.setHeader&&typeof w.abort=="function"}(n)?n.abort():typeof n.destroy=="function"?n.destroy():void o(b||new l("pipe"))}}function f(n){n()}function e(n,i){return n.pipe(i)}function u(n){return n.length?typeof n[n.length-1]!="function"?t:n.pop():t}R.exports=function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o,a=u(i);if(Array.isArray(i[0])&&(i=i[0]),i.length<2)throw new p("streams");var d=i.map(function(b,w){var g=w<i.length-1;return s(b,g,w>0,function(A){o||(o=A),A&&d.forEach(f),g||(d.forEach(f),a(o))})});return i.reduce(e)}},6756:(R,y,c)=>{var h=c(9024).q.ERR_INVALID_OPT_VALUE;R.exports={getHighWaterMark:function(v,p,l,t){var s=function(f,e,u){return f.highWaterMark!=null?f.highWaterMark:e?f[u]:null}(p,t,l);if(s!=null){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new h(t?l:"highWaterMark",s);return Math.floor(s)}return v.objectMode?16:16384}}},7144:(R,y,c)=>{R.exports=c(8291).EventEmitter},6505:(R,y,c)=>{(y=R.exports=c(6297)).Stream=y,y.Readable=y,y.Writable=c(1471),y.Duplex=c(6884),y.Transform=c(9154),y.PassThrough=c(3582),y.finished=c(5831),y.pipeline=c(384)},6707:(R,y,c)=>{var h=c(9033).Buffer,v=c(1736),p=c(2353),l=new Array(16),t=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],e=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,1518500249,1859775393,2400959708,2840853838],n=[1352829926,1548603684,1836072691,2053994217,0];function i(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function r(g,A){return g<<A|g>>>32-A}function o(g,A,T,S,E,k,I,N){return r(g+(A^T^S)+k+I|0,N)+E|0}function a(g,A,T,S,E,k,I,N){return r(g+(A&T|~A&S)+k+I|0,N)+E|0}function d(g,A,T,S,E,k,I,N){return r(g+((A|~T)^S)+k+I|0,N)+E|0}function b(g,A,T,S,E,k,I,N){return r(g+(A&S|T&~S)+k+I|0,N)+E|0}function w(g,A,T,S,E,k,I,N){return r(g+(A^(T|~S))+k+I|0,N)+E|0}v(i,p),i.prototype._update=function(){for(var g=l,A=0;A<16;++A)g[A]=this._block.readInt32LE(4*A);for(var T=0|this._a,S=0|this._b,E=0|this._c,k=0|this._d,I=0|this._e,N=0|this._a,D=0|this._b,L=0|this._c,m=0|this._d,P=0|this._e,C=0;C<80;C+=1){var B,x;C<16?(B=o(T,S,E,k,I,g[t[C]],u[0],f[C]),x=w(N,D,L,m,P,g[s[C]],n[0],e[C])):C<32?(B=a(T,S,E,k,I,g[t[C]],u[1],f[C]),x=b(N,D,L,m,P,g[s[C]],n[1],e[C])):C<48?(B=d(T,S,E,k,I,g[t[C]],u[2],f[C]),x=d(N,D,L,m,P,g[s[C]],n[2],e[C])):C<64?(B=b(T,S,E,k,I,g[t[C]],u[3],f[C]),x=a(N,D,L,m,P,g[s[C]],n[3],e[C])):(B=w(T,S,E,k,I,g[t[C]],u[4],f[C]),x=o(N,D,L,m,P,g[s[C]],n[4],e[C])),T=I,I=k,k=r(E,10),E=S,S=B,N=P,P=m,m=r(L,10),L=D,D=x}var j=this._b+E+m|0;this._b=this._c+k+P|0,this._c=this._d+I+N|0,this._d=this._e+T+D|0,this._e=this._a+S+L|0,this._a=j},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=h.alloc?h.alloc(20):new h(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},R.exports=i},6905:(R,y,c)=>{var h=c(9033).Buffer;Object.defineProperty(y,"__esModule",{value:!0}),y.getLength=y.decode=y.encode=void 0;var v,p=(v=c(1734))&&v.__esModule?v:{default:v};function l(n,i){if(n[0]==="0"&&n[1]==="0")throw new Error("invalid RLP: extra zeros");return parseInt(n,i)}function t(n,i){if(n<56)return h.from([n+i]);var r=e(n),o=e(i+55+r.length/2);return h.from(o+r,"hex")}function s(n){var i,r,o,a,d,b=[],w=n[0];if(w<=127)return{data:n.slice(0,1),remainder:n.slice(1)};if(w<=183){if(i=w-127,o=w===128?h.from([]):n.slice(1,i),i===2&&o[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:o,remainder:n.slice(i)}}if(w<=191){if(r=w-182,n.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if((i=l(n.slice(1,r).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((o=n.slice(r,i+r)).length<i)throw new Error("invalid RLP: not enough bytes for string");return{data:o,remainder:n.slice(i+r)}}if(w<=247){for(i=w-191,a=n.slice(1,i);a.length;)d=s(a),b.push(d.data),a=d.remainder;return{data:b,remainder:n.slice(i)}}var g=(r=w-246)+(i=l(n.slice(1,r).toString("hex"),16));if(g>n.length)throw new Error("invalid rlp: total length is larger than the data");if((a=n.slice(r,g)).length===0)throw new Error("invalid rlp, List has a invalid length");for(;a.length;)d=s(a),b.push(d.data),a=d.remainder;return{data:b,remainder:n.slice(g)}}function f(n){return n.slice(0,2)==="0x"}function e(n){if(n<0)throw new Error("Invalid integer as argument, must be unsigned!");var i=n.toString(16);return i.length%2?"0"+i:i}function u(n){if(!h.isBuffer(n)){if(typeof n=="string")return f(n)?h.from((r=typeof(o=n)!="string"?o:f(o)?o.slice(2):o).length%2?"0"+r:r,"hex"):h.from(n);if(typeof n=="number"||typeof n=="bigint")return n?(i=e(n),h.from(i,"hex")):h.from([]);if(n==null)return h.from([]);if(n instanceof Uint8Array)return h.from(n);if(p.default.isBN(n))return h.from(n.toArray());throw new Error("invalid type")}var i,r,o;return n}y.encode=function n(i){if(Array.isArray(i)){for(var r=[],o=0;o<i.length;o++)r.push(n(i[o]));var a=h.concat(r);return h.concat([t(a.length,192),a])}var d=u(i);return d.length===1&&d[0]<128?d:h.concat([t(d.length,128),d])},y.decode=function(n,i){if(i===void 0&&(i=!1),!n||n.length===0)return h.from([]);var r=s(u(n));if(i)return r;if(r.remainder.length!==0)throw new Error("invalid remainder");return r.data},y.getLength=function(n){if(!n||n.length===0)return h.from([]);var i=u(n),r=i[0];if(r<=127)return i.length;if(r<=183)return r-127;if(r<=191)return r-182;if(r<=247)return r-191;var o=r-246;return o+l(i.slice(1,o).toString("hex"),16)}},8850:(R,y,c)=>{var h=c(9033),v=h.Buffer;function p(t,s){for(var f in t)s[f]=t[f]}function l(t,s,f){return v(t,s,f)}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?R.exports=h:(p(h,y),y.Buffer=l),l.prototype=Object.create(v.prototype),p(v,l),l.from=function(t,s,f){if(typeof t=="number")throw new TypeError("Argument must not be a number");return v(t,s,f)},l.alloc=function(t,s,f){if(typeof t!="number")throw new TypeError("Argument must be a number");var e=v(t);return s!==void 0?typeof f=="string"?e.fill(s,f):e.fill(s):e.fill(0),e},l.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return v(t)},l.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return h.SlowBuffer(t)}},1755:(R,y,c)=>{var h,v=c(9142),p=c(8847)(c(3355)),l=c(9033),t=l.Buffer,s={};for(h in l)l.hasOwnProperty(h)&&h!=="SlowBuffer"&&h!=="Buffer"&&(s[h]=l[h]);var f=s.Buffer={};for(h in t)t.hasOwnProperty(h)&&h!=="allocUnsafe"&&h!=="allocUnsafeSlow"&&(f[h]=t[h]);if(s.Buffer.prototype=t.prototype,f.from&&f.from!==Uint8Array.from||(f.from=function(e,u,n){if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+(0,p.default)(e));if(e&&e.length===void 0)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(0,p.default)(e));return t(e,u,n)}),f.alloc||(f.alloc=function(e,u,n){if(typeof e!="number")throw new TypeError('The "size" argument must be of type number. Received type '+(0,p.default)(e));if(e<0||e>=2147483648)throw new RangeError('The value "'+e+'" is invalid for option "size"');var i=t(e);return u&&u.length!==0?typeof n=="string"?i.fill(u,n):i.fill(u):i.fill(0),i}),!s.kStringMaxLength)try{s.kStringMaxLength=v.binding("buffer").kStringMaxLength}catch{}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),R.exports=s},7799:R=>{(function(y){var c=2147483647;function h(r){var o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=1779033703,d=3144134277,b=1013904242,w=2773480762,g=1359893119,A=2600822924,T=528734635,S=1541459225,E=new Uint32Array(64);function k(C){for(var B=0,x=C.length;x>=64;){var j=a,K=d,V=b,J=w,O=g,F=A,G=T,H=S,M=void 0,_=void 0,U=void 0,q=void 0,z=void 0;for(_=0;_<16;_++)U=B+4*_,E[_]=(255&C[U])<<24|(255&C[U+1])<<16|(255&C[U+2])<<8|255&C[U+3];for(_=16;_<64;_++)q=((M=E[_-2])>>>17|M<<15)^(M>>>19|M<<13)^M>>>10,z=((M=E[_-15])>>>7|M<<25)^(M>>>18|M<<14)^M>>>3,E[_]=(q+E[_-7]|0)+(z+E[_-16]|0)|0;for(_=0;_<64;_++)q=(((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&F^~O&G)|0)+(H+(o[_]+E[_]|0)|0)|0,z=((j>>>2|j<<30)^(j>>>13|j<<19)^(j>>>22|j<<10))+(j&K^j&V^K&V)|0,H=G,G=F,F=O,O=J+q|0,J=V,V=K,K=j,j=q+z|0;a=a+j|0,d=d+K|0,b=b+V|0,w=w+J|0,g=g+O|0,A=A+F|0,T=T+G|0,S=S+H|0,B+=64,x-=64}}k(r);var I,N=r.length%64,D=r.length/536870912|0,L=r.length<<3,m=N<56?56:120,P=r.slice(r.length-N,r.length);for(P.push(128),I=N+1;I<m;I++)P.push(0);return P.push(D>>>24&255),P.push(D>>>16&255),P.push(D>>>8&255),P.push(D>>>0&255),P.push(L>>>24&255),P.push(L>>>16&255),P.push(L>>>8&255),P.push(L>>>0&255),k(P),[a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,d>>>24&255,d>>>16&255,d>>>8&255,d>>>0&255,b>>>24&255,b>>>16&255,b>>>8&255,b>>>0&255,w>>>24&255,w>>>16&255,w>>>8&255,w>>>0&255,g>>>24&255,g>>>16&255,g>>>8&255,g>>>0&255,A>>>24&255,A>>>16&255,A>>>8&255,A>>>0&255,T>>>24&255,T>>>16&255,T>>>8&255,T>>>0&255,S>>>24&255,S>>>16&255,S>>>8&255,S>>>0&255]}function v(r,o,a){r=r.length<=64?r:h(r);var d,b=64+o.length+4,w=new Array(b),g=new Array(64),A=[];for(d=0;d<64;d++)w[d]=54;for(d=0;d<r.length;d++)w[d]^=r[d];for(d=0;d<o.length;d++)w[64+d]=o[d];for(d=b-4;d<b;d++)w[d]=0;for(d=0;d<64;d++)g[d]=92;for(d=0;d<r.length;d++)g[d]^=r[d];function T(){for(var S=b-1;S>=b-4;S--){if(w[S]++,w[S]<=255)return;w[S]=0}}for(;a>=32;)T(),A=A.concat(h(g.concat(h(w)))),a-=32;return a>0&&(T(),A=A.concat(h(g.concat(h(w))).slice(0,a))),A}function p(r,o,a,d,b){var w;for(f(r,16*(2*a-1),b,0,16),w=0;w<2*a;w++)s(r,16*w,b,16),t(b,d),f(b,0,r,o+16*w,16);for(w=0;w<a;w++)f(r,o+2*w*16,r,16*w,16);for(w=0;w<a;w++)f(r,o+16*(2*w+1),r,16*(w+a),16)}function l(r,o){return r<<o|r>>>32-o}function t(r,o){f(r,0,o,0,16);for(var a=8;a>0;a-=2)o[4]^=l(o[0]+o[12],7),o[8]^=l(o[4]+o[0],9),o[12]^=l(o[8]+o[4],13),o[0]^=l(o[12]+o[8],18),o[9]^=l(o[5]+o[1],7),o[13]^=l(o[9]+o[5],9),o[1]^=l(o[13]+o[9],13),o[5]^=l(o[1]+o[13],18),o[14]^=l(o[10]+o[6],7),o[2]^=l(o[14]+o[10],9),o[6]^=l(o[2]+o[14],13),o[10]^=l(o[6]+o[2],18),o[3]^=l(o[15]+o[11],7),o[7]^=l(o[3]+o[15],9),o[11]^=l(o[7]+o[3],13),o[15]^=l(o[11]+o[7],18),o[1]^=l(o[0]+o[3],7),o[2]^=l(o[1]+o[0],9),o[3]^=l(o[2]+o[1],13),o[0]^=l(o[3]+o[2],18),o[6]^=l(o[5]+o[4],7),o[7]^=l(o[6]+o[5],9),o[4]^=l(o[7]+o[6],13),o[5]^=l(o[4]+o[7],18),o[11]^=l(o[10]+o[9],7),o[8]^=l(o[11]+o[10],9),o[9]^=l(o[8]+o[11],13),o[10]^=l(o[9]+o[8],18),o[12]^=l(o[15]+o[14],7),o[13]^=l(o[12]+o[15],9),o[14]^=l(o[13]+o[12],13),o[15]^=l(o[14]+o[13],18);for(var d=0;d<16;++d)r[d]+=o[d]}function s(r,o,a,d){for(var b=0;b<d;b++)a[b]^=r[o+b]}function f(r,o,a,d,b){for(;b--;)a[d++]=r[o++]}function e(r){if(!r||typeof r.length!="number")return!1;for(var o=0;o<r.length;o++){var a=r[o];if(typeof a!="number"||a%1||a<0||a>=256)return!1}return!0}function u(r,o){if(typeof r!="number"||r%1)throw new Error("invalid "+o);return r}function n(r,o,a,d,b,w,g){if(a=u(a,"N"),d=u(d,"r"),b=u(b,"p"),w=u(w,"dkLen"),a===0||(a&a-1)!=0)throw new Error("N must be power of 2");if(a>c/128/d)throw new Error("N too large");if(d>c/128/b)throw new Error("r too large");if(!e(r))throw new Error("password must be an array or buffer");if(r=Array.prototype.slice.call(r),!e(o))throw new Error("salt must be an array or buffer");o=Array.prototype.slice.call(o);for(var A=v(r,o,128*b*d),T=new Uint32Array(32*b*d),S=0;S<T.length;S++){var E=4*S;T[S]=(255&A[E+3])<<24|(255&A[E+2])<<16|(255&A[E+1])<<8|(255&A[E+0])<<0}var k,I,N=new Uint32Array(64*d),D=new Uint32Array(32*d*a),L=32*d,m=new Uint32Array(16),P=new Uint32Array(16),C=b*a*2,B=0,x=null,j=!1,K=0,V=0,J=g?parseInt(1e3/d):4294967295,O=typeof setImmediate<"u"?setImmediate:setTimeout,F=function H(){if(j)return g(new Error("cancelled"),B/C);var M;switch(K){case 0:f(T,I=32*V*d,N,0,L),K=1,k=0;case 1:(M=a-k)>J&&(M=J);for(var _=0;_<M;_++)f(N,0,D,(k+_)*L,L),p(N,L,d,m,P);if(k+=M,B+=M,g){var U=parseInt(1e3*B/C);if(U!==x){if(j=g(null,B/C))break;x=U}}if(k<a)break;k=0,K=2;case 2:(M=a-k)>J&&(M=J);for(var q=0;q<M;q++){var z=N[16*(2*d-1)]&a-1;s(D,z*L,N,L),p(N,L,d,m,P)}if(k+=M,B+=M,g){var W=parseInt(1e3*B/C);if(W!==x){if(j=g(null,B/C))break;x=W}}if(k<a)break;if(f(N,0,T,I,L),++V<b){K=0;break}A=[];for(var Y=0;Y<T.length;Y++)A.push(T[Y]>>0&255),A.push(T[Y]>>8&255),A.push(T[Y]>>16&255),A.push(T[Y]>>24&255);var X=v(r,A,w);return g&&g(null,1,X),X}g&&O(H)};if(!g)for(;;){var G=F();if(G!=null)return G}F()}var i={scrypt:function(r,o,a,d,b,w,g){return new Promise(function(A,T){var S=0;g&&g(0),n(r,o,a,d,b,w,function(E,k,I){if(E)T(E);else if(I)g&&S!==1&&g(1),A(new Uint8Array(I));else if(g&&k!==S)return S=k,g(k)})})},syncScrypt:function(r,o,a,d,b,w){return new Uint8Array(n(r,o,a,d,b,w))}};R.exports=i})()},7902:(R,y,c)=>{R.exports=c(6922)(c(8123))},8123:(R,y,c)=>{var h=new(c(6597)).ec("secp256k1"),v=h.curve,p=v.n.constructor;function l(s){var f=s[0];switch(f){case 2:case 3:return s.length!==33?null:function(e,u){var n=new p(u);if(n.cmp(v.p)>=0)return null;var i=(n=n.toRed(v.red)).redSqr().redIMul(n).redIAdd(v.b).redSqrt();return e===3!==i.isOdd()&&(i=i.redNeg()),h.keyPair({pub:{x:n,y:i}})}(f,s.subarray(1,33));case 4:case 6:case 7:return s.length!==65?null:function(e,u,n){var i=new p(u),r=new p(n);if(i.cmp(v.p)>=0||r.cmp(v.p)>=0||(i=i.toRed(v.red),r=r.toRed(v.red),(e===6||e===7)&&r.isOdd()!==(e===7)))return null;var o=i.redSqr().redIMul(i);return r.redSqr().redISub(o.redIAdd(v.b)).isZero()?h.keyPair({pub:{x:i,y:r}}):null}(f,s.subarray(1,33),s.subarray(33,65));default:return null}}function t(s,f){for(var e=f.encode(null,s.length===33),u=0;u<s.length;++u)s[u]=e[u]}R.exports={contextRandomize:function(){return 0},privateKeyVerify:function(s){var f=new p(s);return f.cmp(v.n)<0&&!f.isZero()?0:1},privateKeyNegate:function(s){var f=new p(s),e=v.n.sub(f).umod(v.n).toArrayLike(Uint8Array,"be",32);return s.set(e),0},privateKeyTweakAdd:function(s,f){var e=new p(f);if(e.cmp(v.n)>=0||(e.iadd(new p(s)),e.cmp(v.n)>=0&&e.isub(v.n),e.isZero()))return 1;var u=e.toArrayLike(Uint8Array,"be",32);return s.set(u),0},privateKeyTweakMul:function(s,f){var e=new p(f);if(e.cmp(v.n)>=0||e.isZero())return 1;e.imul(new p(s)),e.cmp(v.n)>=0&&(e=e.umod(v.n));var u=e.toArrayLike(Uint8Array,"be",32);return s.set(u),0},publicKeyVerify:function(s){return l(s)===null?1:0},publicKeyCreate:function(s,f){var e=new p(f);return e.cmp(v.n)>=0||e.isZero()?1:(t(s,h.keyFromPrivate(f).getPublic()),0)},publicKeyConvert:function(s,f){var e=l(f);return e===null?1:(t(s,e.getPublic()),0)},publicKeyNegate:function(s,f){var e=l(f);if(e===null)return 1;var u=e.getPublic();return u.y=u.y.redNeg(),t(s,u),0},publicKeyCombine:function(s,f){for(var e=new Array(f.length),u=0;u<f.length;++u)if(e[u]=l(f[u]),e[u]===null)return 1;for(var n=e[0].getPublic(),i=1;i<e.length;++i)n=n.add(e[i].pub);return n.isInfinity()?2:(t(s,n),0)},publicKeyTweakAdd:function(s,f,e){var u=l(f);if(u===null)return 1;if((e=new p(e)).cmp(v.n)>=0)return 2;var n=u.getPublic().add(v.g.mul(e));return n.isInfinity()?2:(t(s,n),0)},publicKeyTweakMul:function(s,f,e){var u=l(f);return u===null?1:(e=new p(e)).cmp(v.n)>=0||e.isZero()?2:(t(s,u.getPublic().mul(e)),0)},signatureNormalize:function(s){var f=new p(s.subarray(0,32)),e=new p(s.subarray(32,64));return f.cmp(v.n)>=0||e.cmp(v.n)>=0?1:(e.cmp(h.nh)===1&&s.set(v.n.sub(e).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport:function(s,f){var e=f.subarray(0,32),u=f.subarray(32,64);if(new p(e).cmp(v.n)>=0||new p(u).cmp(v.n)>=0)return 1;var n=s.output,i=n.subarray(4,37);i[0]=0,i.set(e,1);for(var r=33,o=0;r>1&&i[o]===0&&!(128&i[o+1]);--r,++o);if(128&(i=i.subarray(o))[0]||r>1&&i[0]===0&&!(128&i[1]))return 1;var a=n.subarray(39,72);a[0]=0,a.set(u,1);for(var d=33,b=0;d>1&&a[b]===0&&!(128&a[b+1]);--d,++b);return 128&(a=a.subarray(b))[0]||d>1&&a[0]===0&&!(128&a[1])?1:(s.outputlen=6+r+d,n[0]=48,n[1]=s.outputlen-2,n[2]=2,n[3]=i.length,n.set(i,4),n[4+r]=2,n[5+r]=a.length,n.set(a,6+r),0)},signatureImport:function(s,f){if(f.length<8||f.length>72||f[0]!==48||f[1]!==f.length-2||f[2]!==2)return 1;var e=f[3];if(e===0||5+e>=f.length||f[4+e]!==2)return 1;var u=f[5+e];if(u===0||6+e+u!==f.length||128&f[4]||e>1&&f[4]===0&&!(128&f[5])||128&f[e+6]||u>1&&f[e+6]===0&&!(128&f[e+7]))return 1;var n=f.subarray(4,4+e);if(n.length===33&&n[0]===0&&(n=n.subarray(1)),n.length>32)return 1;var i=f.subarray(6+e);if(i.length===33&&i[0]===0&&(i=i.slice(1)),i.length>32)throw new Error("S length is too long");var r=new p(n);r.cmp(v.n)>=0&&(r=new p(0));var o=new p(f.subarray(6+e));return o.cmp(v.n)>=0&&(o=new p(0)),s.set(r.toArrayLike(Uint8Array,"be",32),0),s.set(o.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign:function(s,f,e,u,n){if(n){var i=n;n=function(a){var d=i(f,e,null,u,a);if(!(d instanceof Uint8Array&&d.length===32))throw new Error("This is the way");return new p(d)}}var r,o=new p(e);if(o.cmp(v.n)>=0||o.isZero())return 1;try{r=h.sign(f,e,{canonical:!0,k:n,pers:u})}catch{return 1}return s.signature.set(r.r.toArrayLike(Uint8Array,"be",32),0),s.signature.set(r.s.toArrayLike(Uint8Array,"be",32),32),s.recid=r.recoveryParam,0},ecdsaVerify:function(s,f,e){var u={r:s.subarray(0,32),s:s.subarray(32,64)},n=new p(u.r),i=new p(u.s);if(n.cmp(v.n)>=0||i.cmp(v.n)>=0)return 1;if(i.cmp(h.nh)===1||n.isZero()||i.isZero())return 3;var r=l(e);if(r===null)return 2;var o=r.getPublic();return h.verify(f,u,o)?0:3},ecdsaRecover:function(s,f,e,u){var n,i={r:f.slice(0,32),s:f.slice(32,64)},r=new p(i.r),o=new p(i.s);if(r.cmp(v.n)>=0||o.cmp(v.n)>=0)return 1;if(r.isZero()||o.isZero())return 2;try{n=h.recoverPubKey(u,i,e)}catch{return 2}return t(s,n),0},ecdh:function(s,f,e,u,n,i,r){var o=l(f);if(o===null)return 1;var a=new p(e);if(a.cmp(v.n)>=0||a.isZero())return 2;var d=o.getPublic().mul(a);if(n===void 0)for(var b=d.encode(null,!0),w=h.hash().update(b).digest(),g=0;g<32;++g)s[g]=w[g];else{i||(i=new Uint8Array(32));for(var A=d.getX().toArray("be",32),T=0;T<32;++T)i[T]=A[T];r||(r=new Uint8Array(32));for(var S=d.getY().toArray("be",32),E=0;E<32;++E)r[E]=S[E];var k=n(i,r,u);if(!(k instanceof Uint8Array&&k.length===s.length))return 2;s.set(k)}return 0}}},6922:R=>{function y(w,g){var A=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=function(N,D){if(N){if(typeof N=="string")return c(N,D);var L=Object.prototype.toString.call(N).slice(8,-1);return L==="Object"&&N.constructor&&(L=N.constructor.name),L==="Map"||L==="Set"?Array.from(N):L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?c(N,D):void 0}}(w))||g&&w&&typeof w.length=="number"){A&&(w=A);var T=0,S=function(){};return{s:S,n:function(){return T>=w.length?{done:!0}:{done:!1,value:w[T++]}},e:function(N){throw N},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
35
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,k=!0,I=!1;return{s:function(){A=A.call(w)},n:function(){var N=A.next();return k=N.done,N},e:function(N){I=!0,E=N},f:function(){try{k||A.return==null||A.return()}finally{if(I)throw E}}}}function c(w,g){(g==null||g>w.length)&&(g=w.length);for(var A=0,T=new Array(g);A<g;A++)T[A]=w[A];return T}var h="Impossible case. Please create issue.",v="The tweak was out of range or the resulted private key is invalid",p="The tweak was out of range or equal to zero",l="Private Key is invalid",t="Public Key could not be parsed",s="Public Key serialization error",f="The sum of the public keys is not valid",e="Signature could not be parsed",u="The nonce generation function failed, or the private key was invalid",n="Public key could not be recover",i="Scalar was invalid (zero or overflow)";function r(w,g){if(!w)throw new Error(g)}function o(w,g,A){if(r(g instanceof Uint8Array,"Expected ".concat(w," to be an Uint8Array")),A!==void 0)if(Array.isArray(A)){var T=A.join(", "),S="Expected ".concat(w," to be an Uint8Array with length [").concat(T,"]");r(A.includes(g.length),S)}else{var E="Expected ".concat(w," to be an Uint8Array with length ").concat(A);r(g.length===A,E)}}function a(w){r(b(w)==="Boolean","Expected compressed to be a Boolean")}function d(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(A){return new Uint8Array(A)},g=arguments.length>1?arguments[1]:void 0;return typeof w=="function"&&(w=w(g)),o("output",w,g),w}function b(w){return Object.prototype.toString.call(w).slice(8,-1)}R.exports=function(w){return{contextRandomize:function(g){if(r(g===null||g instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),g!==null&&o("seed",g,32),w.contextRandomize(g)===1)throw new Error("Unknow error on context randomization")},privateKeyVerify:function(g){return o("private key",g,32),w.privateKeyVerify(g)===0},privateKeyNegate:function(g){switch(o("private key",g,32),w.privateKeyNegate(g)){case 0:return g;case 1:throw new Error(h)}},privateKeyTweakAdd:function(g,A){switch(o("private key",g,32),o("tweak",A,32),w.privateKeyTweakAdd(g,A)){case 0:return g;case 1:throw new Error(v)}},privateKeyTweakMul:function(g,A){switch(o("private key",g,32),o("tweak",A,32),w.privateKeyTweakMul(g,A)){case 0:return g;case 1:throw new Error(p)}},publicKeyVerify:function(g){return o("public key",g,[33,65]),w.publicKeyVerify(g)===0},publicKeyCreate:function(g){var A=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=arguments.length>2?arguments[2]:void 0;switch(o("private key",g,32),a(A),T=d(T,A?33:65),w.publicKeyCreate(T,g)){case 0:return T;case 1:throw new Error(l);case 2:throw new Error(s)}},publicKeyConvert:function(g){var A=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=arguments.length>2?arguments[2]:void 0;switch(o("public key",g,[33,65]),a(A),T=d(T,A?33:65),w.publicKeyConvert(T,g)){case 0:return T;case 1:throw new Error(t);case 2:throw new Error(s)}},publicKeyNegate:function(g){var A=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=arguments.length>2?arguments[2]:void 0;switch(o("public key",g,[33,65]),a(A),T=d(T,A?33:65),w.publicKeyNegate(T,g)){case 0:return T;case 1:throw new Error(t);case 2:throw new Error(h);case 3:throw new Error(s)}},publicKeyCombine:function(g){var A=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=arguments.length>2?arguments[2]:void 0;r(Array.isArray(g),"Expected public keys to be an Array"),r(g.length>0,"Expected public keys array will have more than zero items");var S,E=y(g);try{for(E.s();!(S=E.n()).done;){var k=S.value;o("public key",k,[33,65])}}catch(I){E.e(I)}finally{E.f()}switch(a(A),T=d(T,A?33:65),w.publicKeyCombine(T,g)){case 0:return T;case 1:throw new Error(t);case 2:throw new Error(f);case 3:throw new Error(s)}},publicKeyTweakAdd:function(g,A){var T=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],S=arguments.length>3?arguments[3]:void 0;switch(o("public key",g,[33,65]),o("tweak",A,32),a(T),S=d(S,T?33:65),w.publicKeyTweakAdd(S,g,A)){case 0:return S;case 1:throw new Error(t);case 2:throw new Error(v)}},publicKeyTweakMul:function(g,A){var T=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],S=arguments.length>3?arguments[3]:void 0;switch(o("public key",g,[33,65]),o("tweak",A,32),a(T),S=d(S,T?33:65),w.publicKeyTweakMul(S,g,A)){case 0:return S;case 1:throw new Error(t);case 2:throw new Error(p)}},signatureNormalize:function(g){switch(o("signature",g,64),w.signatureNormalize(g)){case 0:return g;case 1:throw new Error(e)}},signatureExport:function(g,A){o("signature",g,64);var T={output:A=d(A,72),outputlen:72};switch(w.signatureExport(T,g)){case 0:return A.slice(0,T.outputlen);case 1:throw new Error(e);case 2:throw new Error(h)}},signatureImport:function(g,A){switch(o("signature",g),A=d(A,64),w.signatureImport(A,g)){case 0:return A;case 1:throw new Error(e);case 2:throw new Error(h)}},ecdsaSign:function(g,A){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=arguments.length>3?arguments[3]:void 0;o("message",g,32),o("private key",A,32),r(b(T)==="Object","Expected options to be an Object"),T.data!==void 0&&o("options.data",T.data),T.noncefn!==void 0&&r(b(T.noncefn)==="Function","Expected options.noncefn to be a Function");var E={signature:S=d(S,64),recid:null};switch(w.ecdsaSign(E,g,A,T.data,T.noncefn)){case 0:return E;case 1:throw new Error(u);case 2:throw new Error(h)}},ecdsaVerify:function(g,A,T){switch(o("signature",g,64),o("message",A,32),o("public key",T,[33,65]),w.ecdsaVerify(g,A,T)){case 0:return!0;case 3:return!1;case 1:throw new Error(e);case 2:throw new Error(t)}},ecdsaRecover:function(g,A,T){var S=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],E=arguments.length>4?arguments[4]:void 0;switch(o("signature",g,64),r(b(A)==="Number"&&A>=0&&A<=3,"Expected recovery id to be a Number within interval [0, 3]"),o("message",T,32),a(S),E=d(E,S?33:65),w.ecdsaRecover(E,g,A,T)){case 0:return E;case 1:throw new Error(e);case 2:throw new Error(n);case 3:throw new Error(h)}},ecdh:function(g,A){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=arguments.length>3?arguments[3]:void 0;switch(o("public key",g,[33,65]),o("private key",A,32),r(b(T)==="Object","Expected options to be an Object"),T.data!==void 0&&o("options.data",T.data),T.hashfn!==void 0?(r(b(T.hashfn)==="Function","Expected options.hashfn to be a Function"),T.xbuf!==void 0&&o("options.xbuf",T.xbuf,32),T.ybuf!==void 0&&o("options.ybuf",T.ybuf,32),o("output",S)):S=d(S,32),w.ecdh(S,g,A,T.data,T.hashfn,T.xbuf,T.ybuf)){case 0:return S;case 1:throw new Error(t);case 2:throw new Error(i)}}}}},6003:(R,y,c)=>{var h=c(8850).Buffer;function v(p,l){this._block=h.alloc(p),this._finalSize=l,this._blockSize=p,this._len=0}v.prototype.update=function(p,l){typeof p=="string"&&(l=l||"utf8",p=h.from(p,l));for(var t=this._block,s=this._blockSize,f=p.length,e=this._len,u=0;u<f;){for(var n=e%s,i=Math.min(f-u,s-n),r=0;r<i;r++)t[n+r]=p[u+r];u+=i,(e+=i)%s==0&&this._update(t)}return this._len+=f,this},v.prototype.digest=function(p){var l=this._len%this._blockSize;this._block[l]=128,this._block.fill(0,l+1),l>=this._finalSize&&(this._update(this._block),this._block.fill(0));var t=8*this._len;if(t<=4294967295)this._block.writeUInt32BE(t,this._blockSize-4);else{var s=(4294967295&t)>>>0,f=(t-s)/4294967296;this._block.writeUInt32BE(f,this._blockSize-8),this._block.writeUInt32BE(s,this._blockSize-4)}this._update(this._block);var e=this._hash();return p?e.toString(p):e},v.prototype._update=function(){throw new Error("_update must be implemented by subclass")},R.exports=v},1708:(R,y,c)=>{var h=R.exports=function(v){v=v.toLowerCase();var p=h[v];if(!p)throw new Error(v+" is not supported (we accept pull requests)");return new p};h.sha=c(8210),h.sha1=c(544),h.sha224=c(6288),h.sha256=c(4571),h.sha384=c(6959),h.sha512=c(4515)},8210:(R,y,c)=>{var h=c(1736),v=c(6003),p=c(8850).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],t=new Array(80);function s(){this.init(),this._w=t,v.call(this,64,56)}function f(u){return u<<30|u>>>2}function e(u,n,i,r){return u===0?n&i|~n&r:u===2?n&i|n&r|i&r:n^i^r}h(s,v),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(u){for(var n,i=this._w,r=0|this._a,o=0|this._b,a=0|this._c,d=0|this._d,b=0|this._e,w=0;w<16;++w)i[w]=u.readInt32BE(4*w);for(;w<80;++w)i[w]=i[w-3]^i[w-8]^i[w-14]^i[w-16];for(var g=0;g<80;++g){var A=~~(g/20),T=0|((n=r)<<5|n>>>27)+e(A,o,a,d)+b+i[g]+l[A];b=d,d=a,a=f(o),o=r,r=T}this._a=r+this._a|0,this._b=o+this._b|0,this._c=a+this._c|0,this._d=d+this._d|0,this._e=b+this._e|0},s.prototype._hash=function(){var u=p.allocUnsafe(20);return u.writeInt32BE(0|this._a,0),u.writeInt32BE(0|this._b,4),u.writeInt32BE(0|this._c,8),u.writeInt32BE(0|this._d,12),u.writeInt32BE(0|this._e,16),u},R.exports=s},544:(R,y,c)=>{var h=c(1736),v=c(6003),p=c(8850).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],t=new Array(80);function s(){this.init(),this._w=t,v.call(this,64,56)}function f(n){return n<<5|n>>>27}function e(n){return n<<30|n>>>2}function u(n,i,r,o){return n===0?i&r|~i&o:n===2?i&r|i&o|r&o:i^r^o}h(s,v),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(n){for(var i,r=this._w,o=0|this._a,a=0|this._b,d=0|this._c,b=0|this._d,w=0|this._e,g=0;g<16;++g)r[g]=n.readInt32BE(4*g);for(;g<80;++g)r[g]=(i=r[g-3]^r[g-8]^r[g-14]^r[g-16])<<1|i>>>31;for(var A=0;A<80;++A){var T=~~(A/20),S=f(o)+u(T,a,d,b)+w+r[A]+l[T]|0;w=b,b=d,d=e(a),a=o,o=S}this._a=o+this._a|0,this._b=a+this._b|0,this._c=d+this._c|0,this._d=b+this._d|0,this._e=w+this._e|0},s.prototype._hash=function(){var n=p.allocUnsafe(20);return n.writeInt32BE(0|this._a,0),n.writeInt32BE(0|this._b,4),n.writeInt32BE(0|this._c,8),n.writeInt32BE(0|this._d,12),n.writeInt32BE(0|this._e,16),n},R.exports=s},6288:(R,y,c)=>{var h=c(1736),v=c(4571),p=c(6003),l=c(8850).Buffer,t=new Array(64);function s(){this.init(),this._w=t,p.call(this,64,56)}h(s,v),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var f=l.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},R.exports=s},4571:(R,y,c)=>{var h=c(1736),v=c(6003),p=c(8850).Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],t=new Array(64);function s(){this.init(),this._w=t,v.call(this,64,56)}function f(r,o,a){return a^r&(o^a)}function e(r,o,a){return r&o|a&(r|o)}function u(r){return(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10)}function n(r){return(r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7)}function i(r){return(r>>>7|r<<25)^(r>>>18|r<<14)^r>>>3}h(s,v),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(r){for(var o,a=this._w,d=0|this._a,b=0|this._b,w=0|this._c,g=0|this._d,A=0|this._e,T=0|this._f,S=0|this._g,E=0|this._h,k=0;k<16;++k)a[k]=r.readInt32BE(4*k);for(;k<64;++k)a[k]=0|(((o=a[k-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10)+a[k-7]+i(a[k-15])+a[k-16];for(var I=0;I<64;++I){var N=E+n(A)+f(A,T,S)+l[I]+a[I]|0,D=u(d)+e(d,b,w)|0;E=S,S=T,T=A,A=g+N|0,g=w,w=b,b=d,d=N+D|0}this._a=d+this._a|0,this._b=b+this._b|0,this._c=w+this._c|0,this._d=g+this._d|0,this._e=A+this._e|0,this._f=T+this._f|0,this._g=S+this._g|0,this._h=E+this._h|0},s.prototype._hash=function(){var r=p.allocUnsafe(32);return r.writeInt32BE(this._a,0),r.writeInt32BE(this._b,4),r.writeInt32BE(this._c,8),r.writeInt32BE(this._d,12),r.writeInt32BE(this._e,16),r.writeInt32BE(this._f,20),r.writeInt32BE(this._g,24),r.writeInt32BE(this._h,28),r},R.exports=s},6959:(R,y,c)=>{var h=c(1736),v=c(4515),p=c(6003),l=c(8850).Buffer,t=new Array(160);function s(){this.init(),this._w=t,p.call(this,128,112)}h(s,v),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var f=l.allocUnsafe(48);function e(u,n,i){f.writeInt32BE(u,i),f.writeInt32BE(n,i+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),f},R.exports=s},4515:(R,y,c)=>{var h=c(1736),v=c(6003),p=c(8850).Buffer,l=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],t=new Array(160);function s(){this.init(),this._w=t,v.call(this,128,112)}function f(b,w,g){return g^b&(w^g)}function e(b,w,g){return b&w|g&(b|w)}function u(b,w){return(b>>>28|w<<4)^(w>>>2|b<<30)^(w>>>7|b<<25)}function n(b,w){return(b>>>14|w<<18)^(b>>>18|w<<14)^(w>>>9|b<<23)}function i(b,w){return(b>>>1|w<<31)^(b>>>8|w<<24)^b>>>7}function r(b,w){return(b>>>1|w<<31)^(b>>>8|w<<24)^(b>>>7|w<<25)}function o(b,w){return(b>>>19|w<<13)^(w>>>29|b<<3)^b>>>6}function a(b,w){return(b>>>19|w<<13)^(w>>>29|b<<3)^(b>>>6|w<<26)}function d(b,w){return b>>>0<w>>>0?1:0}h(s,v),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(b){for(var w=this._w,g=0|this._ah,A=0|this._bh,T=0|this._ch,S=0|this._dh,E=0|this._eh,k=0|this._fh,I=0|this._gh,N=0|this._hh,D=0|this._al,L=0|this._bl,m=0|this._cl,P=0|this._dl,C=0|this._el,B=0|this._fl,x=0|this._gl,j=0|this._hl,K=0;K<32;K+=2)w[K]=b.readInt32BE(4*K),w[K+1]=b.readInt32BE(4*K+4);for(;K<160;K+=2){var V=w[K-30],J=w[K-30+1],O=i(V,J),F=r(J,V),G=o(V=w[K-4],J=w[K-4+1]),H=a(J,V),M=w[K-14],_=w[K-14+1],U=w[K-32],q=w[K-32+1],z=F+_|0,W=O+M+d(z,F)|0;W=(W=W+G+d(z=z+H|0,H)|0)+U+d(z=z+q|0,q)|0,w[K]=W,w[K+1]=z}for(var Y=0;Y<160;Y+=2){W=w[Y],z=w[Y+1];var X=e(g,A,T),Q=e(D,L,m),$=u(g,D),Z=u(D,g),et=n(E,C),rt=n(C,E),nt=l[Y],tt=l[Y+1],ot=f(E,k,I),it=f(C,B,x),at=j+rt|0,ut=N+et+d(at,j)|0;ut=(ut=(ut=ut+ot+d(at=at+it|0,it)|0)+nt+d(at=at+tt|0,tt)|0)+W+d(at=at+z|0,z)|0;var st=Z+Q|0,ft=$+X+d(st,Z)|0;N=I,j=x,I=k,x=B,k=E,B=C,E=S+ut+d(C=P+at|0,P)|0,S=T,P=m,T=A,m=L,A=g,L=D,g=ut+ft+d(D=at+st|0,at)|0}this._al=this._al+D|0,this._bl=this._bl+L|0,this._cl=this._cl+m|0,this._dl=this._dl+P|0,this._el=this._el+C|0,this._fl=this._fl+B|0,this._gl=this._gl+x|0,this._hl=this._hl+j|0,this._ah=this._ah+g+d(this._al,D)|0,this._bh=this._bh+A+d(this._bl,L)|0,this._ch=this._ch+T+d(this._cl,m)|0,this._dh=this._dh+S+d(this._dl,P)|0,this._eh=this._eh+E+d(this._el,C)|0,this._fh=this._fh+k+d(this._fl,B)|0,this._gh=this._gh+I+d(this._gl,x)|0,this._hh=this._hh+N+d(this._hl,j)|0},s.prototype._hash=function(){var b=p.allocUnsafe(64);function w(g,A,T){b.writeInt32BE(g,T),b.writeInt32BE(A,T+4)}return w(this._ah,this._al,0),w(this._bh,this._bl,8),w(this._ch,this._cl,16),w(this._dh,this._dl,24),w(this._eh,this._el,32),w(this._fh,this._fl,40),w(this._gh,this._gl,48),w(this._hh,this._hl,56),b},R.exports=s},7245:(R,y,c)=>{R.exports=v;var h=c(8291).EventEmitter;function v(){h.call(this)}c(1736)(v,h),v.Readable=c(6297),v.Writable=c(1471),v.Duplex=c(6884),v.Transform=c(9154),v.PassThrough=c(3582),v.finished=c(5831),v.pipeline=c(384),v.Stream=v,v.prototype.pipe=function(p,l){var t=this;function s(o){p.writable&&p.write(o)===!1&&t.pause&&t.pause()}function f(){t.readable&&t.resume&&t.resume()}t.on("data",s),p.on("drain",f),p._isStdio||l&&l.end===!1||(t.on("end",u),t.on("close",n));var e=!1;function u(){e||(e=!0,p.end())}function n(){e||(e=!0,typeof p.destroy=="function"&&p.destroy())}function i(o){if(r(),h.listenerCount(this,"error")===0)throw o}function r(){t.removeListener("data",s),p.removeListener("drain",f),t.removeListener("end",u),t.removeListener("close",n),t.removeListener("error",i),p.removeListener("error",i),t.removeListener("end",r),t.removeListener("close",r),p.removeListener("close",r)}return t.on("error",i),p.on("error",i),t.on("end",r),t.on("close",r),p.on("close",r),p.emit("pipe",t),p}},9519:(R,y,c)=>{var h=c(8844),v=c(3319),p=c(7705),l=c(3675),t=c(1143),s=y;s.request=function(f,e){f=typeof f=="string"?t.parse(f):p(f);var u=c.g.location.protocol.search(/^https?:$/)===-1?"http:":"",n=f.protocol||u,i=f.hostname||f.host,r=f.port,o=f.path||"/";i&&i.indexOf(":")!==-1&&(i="["+i+"]"),f.url=(i?n+"//"+i:"")+(r?":"+r:"")+o,f.method=(f.method||"GET").toUpperCase(),f.headers=f.headers||{};var a=new h(f);return e&&a.on("response",e),a},s.get=function(f,e){var u=s.request(f,e);return u.end(),u},s.ClientRequest=h,s.IncomingMessage=v.IncomingMessage,s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.globalAgent=new s.Agent,s.STATUS_CODES=l,s.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},3928:(R,y,c)=>{var h;function v(){if(h!==void 0)return h;if(c.g.XMLHttpRequest){h=new c.g.XMLHttpRequest;try{h.open("GET",c.g.XDomainRequest?"/":"https://example.com")}catch{h=null}}else h=null;return h}function p(t){var s=v();if(!s)return!1;try{return s.responseType=t,s.responseType===t}catch{}return!1}function l(t){return typeof t=="function"}y.fetch=l(c.g.fetch)&&l(c.g.ReadableStream),y.writableStream=l(c.g.WritableStream),y.abortController=l(c.g.AbortController),y.arraybuffer=y.fetch||p("arraybuffer"),y.msstream=!y.fetch&&p("ms-stream"),y.mozchunkedarraybuffer=!y.fetch&&p("moz-chunked-arraybuffer"),y.overrideMimeType=y.fetch||!!v()&&l(v().overrideMimeType),h=null},8844:(R,y,c)=>{var h=c(9033).Buffer,v=c(9142),p=c(3928),l=c(1736),t=c(3319),s=c(6505),f=t.IncomingMessage,e=t.readyStates,u=R.exports=function(i){var r,o=this;s.Writable.call(o),o._opts=i,o._body=[],o._headers={},i.auth&&o.setHeader("Authorization","Basic "+h.from(i.auth).toString("base64")),Object.keys(i.headers).forEach(function(d){o.setHeader(d,i.headers[d])});var a=!0;if(i.mode==="disable-fetch"||"requestTimeout"in i&&!p.abortController)a=!1,r=!0;else if(i.mode==="prefer-streaming")r=!1;else if(i.mode==="allow-wrong-content-type")r=!p.overrideMimeType;else{if(i.mode&&i.mode!=="default"&&i.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");r=!0}o._mode=function(d,b){return p.fetch&&b?"fetch":p.mozchunkedarraybuffer?"moz-chunked-arraybuffer":p.msstream?"ms-stream":p.arraybuffer&&d?"arraybuffer":"text"}(r,a),o._fetchTimer=null,o._socketTimeout=null,o._socketTimer=null,o.on("finish",function(){o._onFinish()})};l(u,s.Writable),u.prototype.setHeader=function(i,r){var o=i.toLowerCase();n.indexOf(o)===-1&&(this._headers[o]={name:i,value:r})},u.prototype.getHeader=function(i){var r=this._headers[i.toLowerCase()];return r?r.value:null},u.prototype.removeHeader=function(i){delete this._headers[i.toLowerCase()]},u.prototype._onFinish=function(){var i=this;if(!i._destroyed){var r=i._opts;"timeout"in r&&r.timeout!==0&&i.setTimeout(r.timeout);var o=i._headers,a=null;r.method!=="GET"&&r.method!=="HEAD"&&(a=new Blob(i._body,{type:(o["content-type"]||{}).value||""}));var d=[];if(Object.keys(o).forEach(function(A){var T=o[A].name,S=o[A].value;Array.isArray(S)?S.forEach(function(E){d.push([T,E])}):d.push([T,S])}),i._mode==="fetch"){var b=null;if(p.abortController){var w=new AbortController;b=w.signal,i._fetchAbortController=w,"requestTimeout"in r&&r.requestTimeout!==0&&(i._fetchTimer=c.g.setTimeout(function(){i.emit("requestTimeout"),i._fetchAbortController&&i._fetchAbortController.abort()},r.requestTimeout))}c.g.fetch(i._opts.url,{method:i._opts.method,headers:d,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:b}).then(function(A){i._fetchResponse=A,i._resetTimers(!1),i._connect()},function(A){i._resetTimers(!0),i._destroyed||i.emit("error",A)})}else{var g=i._xhr=new c.g.XMLHttpRequest;try{g.open(i._opts.method,i._opts.url,!0)}catch(A){return void v.nextTick(function(){i.emit("error",A)})}"responseType"in g&&(g.responseType=i._mode),"withCredentials"in g&&(g.withCredentials=!!r.withCredentials),i._mode==="text"&&"overrideMimeType"in g&&g.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(g.timeout=r.requestTimeout,g.ontimeout=function(){i.emit("requestTimeout")}),d.forEach(function(A){g.setRequestHeader(A[0],A[1])}),i._response=null,g.onreadystatechange=function(){switch(g.readyState){case e.LOADING:case e.DONE:i._onXHRProgress()}},i._mode==="moz-chunked-arraybuffer"&&(g.onprogress=function(){i._onXHRProgress()}),g.onerror=function(){i._destroyed||(i._resetTimers(!0),i.emit("error",new Error("XHR error")))};try{g.send(a)}catch(A){return void v.nextTick(function(){i.emit("error",A)})}}}},u.prototype._onXHRProgress=function(){var i=this;i._resetTimers(!1),function(r){try{var o=r.status;return o!==null&&o!==0}catch{return!1}}(i._xhr)&&!i._destroyed&&(i._response||i._connect(),i._response._onXHRProgress(i._resetTimers.bind(i)))},u.prototype._connect=function(){var i=this;i._destroyed||(i._response=new f(i._xhr,i._fetchResponse,i._mode,i._resetTimers.bind(i)),i._response.on("error",function(r){i.emit("error",r)}),i.emit("response",i._response))},u.prototype._write=function(i,r,o){this._body.push(i),o()},u.prototype._resetTimers=function(i){var r=this;c.g.clearTimeout(r._socketTimer),r._socketTimer=null,i?(c.g.clearTimeout(r._fetchTimer),r._fetchTimer=null):r._socketTimeout&&(r._socketTimer=c.g.setTimeout(function(){r.emit("timeout")},r._socketTimeout))},u.prototype.abort=u.prototype.destroy=function(i){var r=this;r._destroyed=!0,r._resetTimers(!0),r._response&&(r._response._destroyed=!0),r._xhr?r._xhr.abort():r._fetchAbortController&&r._fetchAbortController.abort(),i&&r.emit("error",i)},u.prototype.end=function(i,r,o){typeof i=="function"&&(o=i,i=void 0),s.Writable.prototype.end.call(this,i,r,o)},u.prototype.setTimeout=function(i,r){var o=this;r&&o.once("timeout",r),o._socketTimeout=i,o._resetTimers(!1)},u.prototype.flushHeaders=function(){},u.prototype.setNoDelay=function(){},u.prototype.setSocketKeepAlive=function(){};var n=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},3319:(R,y,c)=>{var h=c(9142),v=c(9033).Buffer,p=c(3928),l=c(1736),t=c(6505),s=y.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},f=y.IncomingMessage=function(e,u,n,i){var r=this;if(t.Readable.call(r),r._mode=n,r.headers={},r.rawHeaders=[],r.trailers={},r.rawTrailers=[],r.on("end",function(){h.nextTick(function(){r.emit("close")})}),n==="fetch"){if(r._fetchResponse=u,r.url=u.url,r.statusCode=u.status,r.statusMessage=u.statusText,u.headers.forEach(function(w,g){r.headers[g.toLowerCase()]=w,r.rawHeaders.push(g,w)}),p.writableStream){var o=new WritableStream({write:function(w){return i(!1),new Promise(function(g,A){r._destroyed?A():r.push(v.from(w))?g():r._resumeFetch=g})},close:function(){i(!0),r._destroyed||r.push(null)},abort:function(w){i(!0),r._destroyed||r.emit("error",w)}});try{return void u.body.pipeTo(o).catch(function(w){i(!0),r._destroyed||r.emit("error",w)})}catch{}}var a=u.body.getReader();(function w(){a.read().then(function(g){r._destroyed||(i(g.done),g.done?r.push(null):(r.push(v.from(g.value)),w()))}).catch(function(g){i(!0),r._destroyed||r.emit("error",g)})})()}else if(r._xhr=e,r._pos=0,r.url=e.responseURL,r.statusCode=e.status,r.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(w){var g=w.match(/^([^:]+):\s*(.*)/);if(g){var A=g[1].toLowerCase();A==="set-cookie"?(r.headers[A]===void 0&&(r.headers[A]=[]),r.headers[A].push(g[2])):r.headers[A]!==void 0?r.headers[A]+=", "+g[2]:r.headers[A]=g[2],r.rawHeaders.push(g[1],g[2])}}),r._charset="x-user-defined",!p.overrideMimeType){var d=r.rawHeaders["mime-type"];if(d){var b=d.match(/;\s*charset=([^;])(;|$)/);b&&(r._charset=b[1].toLowerCase())}r._charset||(r._charset="utf-8")}};l(f,t.Readable),f.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},f.prototype._onXHRProgress=function(e){var u=this,n=u._xhr,i=null;switch(u._mode){case"text":if((i=n.responseText).length>u._pos){var r=i.substr(u._pos);if(u._charset==="x-user-defined"){for(var o=v.alloc(r.length),a=0;a<r.length;a++)o[a]=255&r.charCodeAt(a);u.push(o)}else u.push(r,u._charset);u._pos=i.length}break;case"arraybuffer":if(n.readyState!==s.DONE||!n.response)break;i=n.response,u.push(v.from(new Uint8Array(i)));break;case"moz-chunked-arraybuffer":if(i=n.response,n.readyState!==s.LOADING||!i)break;u.push(v.from(new Uint8Array(i)));break;case"ms-stream":if(i=n.response,n.readyState!==s.LOADING)break;var d=new c.g.MSStreamReader;d.onprogress=function(){d.result.byteLength>u._pos&&(u.push(v.from(new Uint8Array(d.result.slice(u._pos)))),u._pos=d.result.byteLength)},d.onload=function(){e(!0),u.push(null)},d.readAsArrayBuffer(i)}u._xhr.readyState===s.DONE&&u._mode!=="ms-stream"&&(e(!0),u.push(null))}},3462:(R,y,c)=>{var h=c(8850).Buffer,v=h.isEncoding||function(r){switch((r=""+r)&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function p(r){var o;switch(this.encoding=function(a){var d=function(b){if(!b)return"utf8";for(var w;;)switch(b){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return b;default:if(w)return;b=(""+b).toLowerCase(),w=!0}}(a);if(typeof d!="string"&&(h.isEncoding===v||!v(a)))throw new Error("Unknown encoding: "+a);return d||a}(r),this.encoding){case"utf16le":this.text=s,this.end=f,o=4;break;case"utf8":this.fillLast=t,o=4;break;case"base64":this.text=e,this.end=u,o=3;break;default:return this.write=n,void(this.end=i)}this.lastNeed=0,this.lastTotal=0,this.lastChar=h.allocUnsafe(o)}function l(r){return r<=127?0:r>>5==6?2:r>>4==14?3:r>>3==30?4:r>>6==2?-1:-2}function t(r){var o=this.lastTotal-this.lastNeed,a=function(d,b,w){if((192&b[0])!=128)return d.lastNeed=0,"�";if(d.lastNeed>1&&b.length>1){if((192&b[1])!=128)return d.lastNeed=1,"�";if(d.lastNeed>2&&b.length>2&&(192&b[2])!=128)return d.lastNeed=2,"�"}}(this,r);return a!==void 0?a:this.lastNeed<=r.length?(r.copy(this.lastChar,o,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(r.copy(this.lastChar,o,0,r.length),void(this.lastNeed-=r.length))}function s(r,o){if((r.length-o)%2==0){var a=r.toString("utf16le",o);if(a){var d=a.charCodeAt(a.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",o,r.length-1)}function f(r){var o=r&&r.length?this.write(r):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return o+this.lastChar.toString("utf16le",0,a)}return o}function e(r,o){var a=(r.length-o)%3;return a===0?r.toString("base64",o):(this.lastNeed=3-a,this.lastTotal=3,a===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",o,r.length-a))}function u(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+this.lastChar.toString("base64",0,3-this.lastNeed):o}function n(r){return r.toString(this.encoding)}function i(r){return r&&r.length?this.write(r):""}y.s=p,p.prototype.write=function(r){if(r.length===0)return"";var o,a;if(this.lastNeed){if((o=this.fillLast(r))===void 0)return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a<r.length?o?o+this.text(r,a):this.text(r,a):o||""},p.prototype.end=function(r){var o=r&&r.length?this.write(r):"";return this.lastNeed?o+"�":o},p.prototype.text=function(r,o){var a=function(b,w,g){var A=w.length-1;if(A<g)return 0;var T=l(w[A]);return T>=0?(T>0&&(b.lastNeed=T-1),T):--A<g||T===-2?0:(T=l(w[A]))>=0?(T>0&&(b.lastNeed=T-2),T):--A<g||T===-2?0:(T=l(w[A]))>=0?(T>0&&(T===2?T=0:b.lastNeed=T-3),T):0}(this,r,o);if(!this.lastNeed)return r.toString("utf8",o);this.lastTotal=a;var d=r.length-(a-this.lastNeed);return r.copy(this.lastChar,0,d),r.toString("utf8",o,d)},p.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length}},6931:(R,y,c)=>{var h=c(8619);R.exports=function(v){return typeof v!="string"?v:h(v)?v.slice(2):v}},6427:(R,y,c)=>{var h=function(){throw"This swarm.js function isn't available on the browser."},v={readFile:h},p={download:h,safeDownloadArchived:h,directoryTree:h},l={platform:h,arch:h},t={join:h,slice:h},s={spawn:h},f={lookup:h},e=c(1357),u=c(631),n=c(2733),i=c(2510),r=c(3094);R.exports=r({fs:v,files:p,os:l,path:t,child_process:s,defaultArchives:{},mimetype:f,request:e,downloadUrl:null,bytes:u,hash:n,pick:i})},2510:R=>{var y=function(c){return function(){return new Promise(function(h,v){var p,l=function(s){var f={},e=s.target.files.length,u=0;[].map.call(s.target.files,function(n){var i=new FileReader;i.onload=function(r){var o=new Uint8Array(r.target.result);if(c==="directory"){var a=n.webkitRelativePath;f[a.slice(a.indexOf("/")+1)]={type:"text/plain",data:o},++u===e&&h(f)}else if(c==="file"){var d=n.webkitRelativePath;h({type:mimetype.lookup(d),data:o})}else h(o)},i.readAsArrayBuffer(n)})};c==="directory"?((p=document.createElement("input")).addEventListener("change",l),p.type="file",p.webkitdirectory=!0,p.mozdirectory=!0,p.msdirectory=!0,p.odirectory=!0,p.directory=!0):((p=document.createElement("input")).addEventListener("change",l),p.type="file");var t=document.createEvent("MouseEvents");t.initEvent("click",!0,!1),p.dispatchEvent(t)})}};R.exports={data:y("data"),file:y("file"),directory:y("directory")}},2733:(R,y,c)=>{var h=c(9574).keccak256,v=c(631),p=function(l,t){var s=v.reverse(v.pad(6,v.fromNumber(l))),f=v.flatten([s,"0x0000",t]);return h(f).slice(2)};R.exports=function l(t){typeof t=="string"&&t.slice(0,2)!=="0x"?t=v.fromString(t):typeof t!="string"&&t.length!==void 0&&(t=v.fromUint8Array(t));var s=v.length(t);if(s<=4096)return p(s,t);for(var f=4096;128*f<s;)f*=128;for(var e=[],u=0;u<s;u+=f){var n=f<s-u?f:s-u;e.push(l(v.slice(t,u,u+n)))}return p(s,v.flatten(e))}},3094:R=>{R.exports=function(y){var c=y.fs,h=y.files,v=y.os,p=y.path,l=y.child_process,t=y.mimetype,s=y.defaultArchives,f=y.request,e=y.downloadUrl,u=y.bytes,n=y.hash,i=y.pick,r=function(F){return function(G){for(var H={},M=0,_=F.length;M<_;++M)H[F[M]]=G[M];return H}},o=function(F){return function(G){return"".concat(F,"/bzz-raw:/").concat(G)}},a=function(F){return function(G){return new Promise(function(H,M){f(o(F)(G),{responseType:"arraybuffer"},function(_,U,q){return _?M(_):q.statusCode>=400?M(new Error("Error ".concat(q.statusCode,"."))):H(new Uint8Array(U))})})}},d=function(F){return function(G){return function H(M){return function(_){return function(U){var q=function(z){return z.path===void 0?Promise.resolve():z.contentType==="application/bzz-manifest+json"?H(z.hash)(_+z.path)(U):Promise.resolve((W=_+z.path,function(Y){return function(X){return X[W]=Y,X}})(function(Y){return{type:Y.contentType,hash:Y.hash}}(z))(U));var W};return a(F)(M).then(function(z){return JSON.parse(V(z)).entries}).then(function(z){return Promise.all(z.map(q))}).then(function(){return U})}}}(G)("")({})}},b=function(F){return function(G){return d(F)(G).then(function(H){return r(Object.keys(H))(Object.keys(H).map(function(M){return H[M].hash}))})}},w=function(F){return function(G){return d(F)(G).then(function(H){var M=Object.keys(H),_=M.map(function(z){return H[z].hash}),U=M.map(function(z){return H[z].type}),q=_.map(a(F));return Promise.all(q).then(function(z){return r(M)(function(W){return W.map(function(Y,X){return{type:U[X],data:Y}})}(z))})})}},g=function(F){return function(G){return function(H){return h.download(o(F)(G))(H)}}},A=function(F){return function(G){return function(H){return b(F)(G).then(function(M){var _=[];for(var U in M)if(U.length>0){var q=p.join(H,U);_.push(g(F)(M[U])(q))}return Promise.all(_).then(function(){return H})})}}},T=function(F){return function(G){return new Promise(function(H,M){var _={body:typeof G=="string"?J(G):G,method:"POST"};f("".concat(F,"/bzz-raw:/"),_,function(U,q){return U?M(U):H(q)})})}},S=function(F){return function(G){return function(H){return function(M){return function _(U){var q=H[0]==="/"?H:"/"+H,z="".concat(F,"/bzz:/").concat(G).concat(q),W={method:"PUT",headers:{"Content-Type":M.type},body:M.data};return new Promise(function(Y,X){f(z,W,function(Q,$){return Q?X(Q):$.indexOf("error")!==-1?X($):Y($)})}).catch(function(Y){return U>0&&_(U-1)})}(3)}}}},E=function(F){return function(G){return I(F)({"":G})}},k=function(F){return function(G){return c.readFile(G).then(function(H){return E(F)({type:t.lookup(G),data:H})})}},I=function(F){return function(G){return T(F)("{}").then(function(H){return Object.keys(G).reduce(function(M,_){return M.then(function(U){return function(q){return S(F)(q)(U)(G[U])}}(_))},Promise.resolve(H))})}},N=function(F){return function(G){return c.readFile(G).then(T(F))}},D=function(F){return function(G){return function(H){return h.directoryTree(H).then(function(M){return Promise.all(M.map(function(_){return c.readFile(_)})).then(function(_){var U=M.map(function(z){return z.slice(H.length)}),q=M.map(function(z){return t.lookup(z)||"text/plain"});return r(U)(_.map(function(z,W){return{type:q[W],data:z}}))})}).then(function(M){return(_=G?{"":M[G]}:{},function(U){var q={};for(var z in _)q[z]=_[z];for(var W in U)q[W]=U[W];return q})(M);var _}).then(I(F))}}},L=function(F){return function(G){if(G.pick==="data")return i.data().then(T(F));if(G.pick==="file")return i.file().then(E(F));if(G.pick==="directory")return i.directory().then(I(F));if(G.path)switch(G.kind){case"data":return N(F)(G.path);case"file":return k(F)(G.path);case"directory":return D(F)(G.defaultFile)(G.path)}else{if(G.length||typeof G=="string")return T(F)(G);if(G instanceof Object)return I(F)(G)}return Promise.reject(new Error("Bad arguments"))}},m=function(F){return function(G){return function(H){return j(F)(G).then(function(M){return M?H?A(F)(G)(H):w(F)(G):H?g(F)(G)(H):a(F)(G)})}}},P=function(F,G){var H=v.platform().replace("win32","windows")+"-"+(v.arch()==="x64"?"amd64":"386"),M=(G||s)[H],_=e+M.archive+".tar.gz",U=M.archiveMD5,q=M.binaryMD5;return h.safeDownloadArchived(_)(U)(q)(F)},C=function(F){return new Promise(function(G,H){var M=l.spawn,_=function(et){return function(rt){return(""+rt).indexOf(et)!==-1}},U=F.account,q=F.password,z=F.dataDir,W=F.ensApi,Y=F.privateKey,X=0,Q=M(F.binPath,["--bzzaccount",U||Y,"--datadir",z,"--ens-api",W]),$=function(et){X===0&&_("Passphrase")(et)?setTimeout(function(){X=1,Q.stdin.write(q+`
36
+ `)},500):_("Swarm http proxy started")(et)&&(X=2,clearTimeout(Z),G(Q))};Q.stdout.on("data",$),Q.stderr.on("data",$);var Z=setTimeout(function(){return H(new Error("Couldn't start swarm process."))},2e4)})},B=function(F){return new Promise(function(G,H){F.stderr.removeAllListeners("data"),F.stdout.removeAllListeners("data"),F.stdin.removeAllListeners("error"),F.removeAllListeners("error"),F.removeAllListeners("exit"),F.kill("SIGINT");var M=setTimeout(function(){return F.kill("SIGKILL")},8e3);F.once("close",function(){clearTimeout(M),G()})})},x=function(F){return T(F)("test").then(function(G){return G==="c9a99c7d326dcc6316f32fe2625b311f6dc49a175e6877681ded93137d3569e7"}).catch(function(){return!1})},j=function(F){return function(G){return a(F)(G).then(function(H){try{return!!JSON.parse(V(H)).entries}catch{return!1}})}},K=function(F){return function(G,H,M,_,U){var q;return G!==void 0&&(q=F(G)),H!==void 0&&(q=F(H)),M!==void 0&&(q=F(M)),_!==void 0&&(q=F(_)),U!==void 0&&(q=F(U)),q}},V=function(F){return u.toString(u.fromUint8Array(F))},J=function(F){return u.toUint8Array(u.fromString(F))},O=function(F){return{download:function(G,H){return m(F)(G)(H)},downloadData:K(a(F)),downloadDataToDisk:K(g(F)),downloadDirectory:K(w(F)),downloadDirectoryToDisk:K(A(F)),downloadEntries:K(d(F)),downloadRoutes:K(b(F)),isAvailable:function(){return x(F)},upload:function(G){return L(F)(G)},uploadData:K(T(F)),uploadFile:K(E(F)),uploadFileFromDisk:K(E(F)),uploadDataFromDisk:K(N(F)),uploadDirectory:K(I(F)),uploadDirectoryFromDisk:K(D(F)),uploadToManifest:K(S(F)),pick:i,hash:n,fromString:J,toString:V}};return{at:O,local:function(F){return function(G){return x("http://localhost:8500").then(function(H){return H?G(O("http://localhost:8500")).then(function(){}):P(F.binPath,F.archives).onData(function(M){return(F.onProgress||function(){})(M.length)}).then(function(){return C(F)}).then(function(M){return G(O("http://localhost:8500")).then(function(){return M})}).then(B)})}},download:m,downloadBinary:P,downloadData:a,downloadDataToDisk:g,downloadDirectory:w,downloadDirectoryToDisk:A,downloadEntries:d,downloadRoutes:b,isAvailable:x,startProcess:C,stopProcess:B,upload:L,uploadData:T,uploadDataFromDisk:N,uploadFile:E,uploadFileFromDisk:k,uploadDirectory:I,uploadDirectoryFromDisk:D,uploadToManifest:S,pick:i,hash:n,fromString:J,toString:V}}},7380:R=>{var y=function(c,h){for(var v=[],p=0;p<c;++p)v.push(h(p));return v};R.exports={generate:y,replicate:function(c,h){return y(c,function(){return h})},concat:function(c,h){return c.concat(h)},flatten:function(c){for(var h=[],v=0,p=c.length;v<p;++v)for(var l=0,t=c[v].length;l<t;++l)h.push(c[v][l]);return h},chunksOf:function(c,h){for(var v=[],p=0,l=h.length;p<l;p+=c)v.push(h.slice(p,p+c));return v}}},631:(R,y,c)=>{c(7380);var h=function(t,s){return parseInt(t.slice(2*s+2,2*s+4),16)},v=function(t){return(t.length-2)/2},p=function(t){for(var s=[],f=2,e=t.length;f<e;f+=2)s.push(parseInt(t.slice(f,f+2),16));return s},l=function(t){for(var s="0x",f=0,e=t.length;f<e;++f){var u=t[f];s+=(u<16?"0":"")+u.toString(16)}return s};R.exports={random:function(t){var s=void 0;s=typeof window<"u"&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(t)):c(4293).randomBytes(t);for(var f="0x",e=0;e<t;++e)f+=("00"+s[e].toString(16)).slice(-2);return f},length:v,concat:function(t,s){return t.concat(s.slice(2))},flatten:function(t){return"0x"+t.reduce(function(s,f){return s+f.slice(2)},"")},slice:function(t,s,f){return"0x"+f.slice(2*t+2,2*s+2)},reverse:function(t){for(var s="0x",f=0,e=v(t);f<e;++f)s+=t.slice(2*(e-f),2*(e-f+1));return s},pad:function t(s,f){return f.length===2*s+2?f:t(s,"0x0"+f.slice(2))},padRight:function t(s,f){return f.length===2*s+2?f:t(s,f+"0")},fromAscii:function(t){for(var s="0x",f=0;f<t.length;++f)s+=("00"+t.charCodeAt(f).toString(16)).slice(-2);return s},toAscii:function(t){for(var s="",f=2;f<t.length;f+=2)s+=String.fromCharCode(parseInt(t.slice(f,f+2),16));return s},fromString:function(t){for(var s=function(i){var r=i.toString(16);return r.length<2?"0"+r:r},f="0x",e=0;e!=t.length;e++){var u=t.charCodeAt(e);if(u<128)f+=s(u);else{if(u<2048)f+=s(u>>6|192);else{if(u>55295&&u<56320){if(++e==t.length)return null;var n=t.charCodeAt(e);if(n<56320||n>57343)return null;f+=s((u=65536+((1023&u)<<10)+(1023&n))>>18|240),f+=s(u>>12&63|128)}else f+=s(u>>12|224);f+=s(u>>6&63|128)}f+=s(63&u|128)}}return f},toString:function(t){for(var s="",f=0,e=v(t);f<e;){var u=h(t,f++);if(u>127){if(u>191&&u<224){if(f>=e)return null;u=(31&u)<<6|63&h(t,f)}else if(u>223&&u<240){if(f+1>=e)return null;u=(15&u)<<12|(63&h(t,f))<<6|63&h(t,++f)}else{if(!(u>239&&u<248)||f+2>=e)return null;u=(7&u)<<18|(63&h(t,f))<<12|(63&h(t,++f))<<6|63&h(t,++f)}++f}if(u<=65535)s+=String.fromCharCode(u);else{if(!(u<=1114111))return null;u-=65536,s+=String.fromCharCode(u>>10|55296),s+=String.fromCharCode(1023&u|56320)}}return s},fromNumber:function(t){var s=t.toString(16);return s.length%2==0?"0x"+s:"0x0"+s},toNumber:function(t){return parseInt(t.slice(2),16)},fromNat:function(t){return t==="0x0"?"0x":t.length%2==0?t:"0x0"+t.slice(2)},toNat:function(t){return t[2]==="0"?"0x"+t.slice(3):t},fromArray:l,toArray:p,fromUint8Array:function(t){return l([].slice.call(t,0))},toUint8Array:function(t){return new Uint8Array(p(t))}}},9574:R=>{var y="0123456789abcdef".split(""),c=[1,256,65536,16777216],h=[0,8,16,24],v=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=function(t){var s,f,e,u,n,i,r,o,a,d,b,w,g,A,T,S,E,k,I,N,D,L,m,P,C,B,x,j,K,V,J,O,F,G,H,M,_,U,q,z,W,Y,X,Q,$,Z,et,rt,nt,tt,ot,it,at,ut,st,ft,bt,ct,dt,Ot,lt,pt,jt;for(e=0;e<48;e+=2)u=t[0]^t[10]^t[20]^t[30]^t[40],n=t[1]^t[11]^t[21]^t[31]^t[41],i=t[2]^t[12]^t[22]^t[32]^t[42],r=t[3]^t[13]^t[23]^t[33]^t[43],o=t[4]^t[14]^t[24]^t[34]^t[44],a=t[5]^t[15]^t[25]^t[35]^t[45],d=t[6]^t[16]^t[26]^t[36]^t[46],b=t[7]^t[17]^t[27]^t[37]^t[47],s=(w=t[8]^t[18]^t[28]^t[38]^t[48])^(i<<1|r>>>31),f=(g=t[9]^t[19]^t[29]^t[39]^t[49])^(r<<1|i>>>31),t[0]^=s,t[1]^=f,t[10]^=s,t[11]^=f,t[20]^=s,t[21]^=f,t[30]^=s,t[31]^=f,t[40]^=s,t[41]^=f,s=u^(o<<1|a>>>31),f=n^(a<<1|o>>>31),t[2]^=s,t[3]^=f,t[12]^=s,t[13]^=f,t[22]^=s,t[23]^=f,t[32]^=s,t[33]^=f,t[42]^=s,t[43]^=f,s=i^(d<<1|b>>>31),f=r^(b<<1|d>>>31),t[4]^=s,t[5]^=f,t[14]^=s,t[15]^=f,t[24]^=s,t[25]^=f,t[34]^=s,t[35]^=f,t[44]^=s,t[45]^=f,s=o^(w<<1|g>>>31),f=a^(g<<1|w>>>31),t[6]^=s,t[7]^=f,t[16]^=s,t[17]^=f,t[26]^=s,t[27]^=f,t[36]^=s,t[37]^=f,t[46]^=s,t[47]^=f,s=d^(u<<1|n>>>31),f=b^(n<<1|u>>>31),t[8]^=s,t[9]^=f,t[18]^=s,t[19]^=f,t[28]^=s,t[29]^=f,t[38]^=s,t[39]^=f,t[48]^=s,t[49]^=f,A=t[0],T=t[1],Z=t[11]<<4|t[10]>>>28,et=t[10]<<4|t[11]>>>28,j=t[20]<<3|t[21]>>>29,K=t[21]<<3|t[20]>>>29,Ot=t[31]<<9|t[30]>>>23,lt=t[30]<<9|t[31]>>>23,Y=t[40]<<18|t[41]>>>14,X=t[41]<<18|t[40]>>>14,G=t[2]<<1|t[3]>>>31,H=t[3]<<1|t[2]>>>31,S=t[13]<<12|t[12]>>>20,E=t[12]<<12|t[13]>>>20,rt=t[22]<<10|t[23]>>>22,nt=t[23]<<10|t[22]>>>22,V=t[33]<<13|t[32]>>>19,J=t[32]<<13|t[33]>>>19,pt=t[42]<<2|t[43]>>>30,jt=t[43]<<2|t[42]>>>30,ut=t[5]<<30|t[4]>>>2,st=t[4]<<30|t[5]>>>2,M=t[14]<<6|t[15]>>>26,_=t[15]<<6|t[14]>>>26,k=t[25]<<11|t[24]>>>21,I=t[24]<<11|t[25]>>>21,tt=t[34]<<15|t[35]>>>17,ot=t[35]<<15|t[34]>>>17,O=t[45]<<29|t[44]>>>3,F=t[44]<<29|t[45]>>>3,P=t[6]<<28|t[7]>>>4,C=t[7]<<28|t[6]>>>4,ft=t[17]<<23|t[16]>>>9,bt=t[16]<<23|t[17]>>>9,U=t[26]<<25|t[27]>>>7,q=t[27]<<25|t[26]>>>7,N=t[36]<<21|t[37]>>>11,D=t[37]<<21|t[36]>>>11,it=t[47]<<24|t[46]>>>8,at=t[46]<<24|t[47]>>>8,Q=t[8]<<27|t[9]>>>5,$=t[9]<<27|t[8]>>>5,B=t[18]<<20|t[19]>>>12,x=t[19]<<20|t[18]>>>12,ct=t[29]<<7|t[28]>>>25,dt=t[28]<<7|t[29]>>>25,z=t[38]<<8|t[39]>>>24,W=t[39]<<8|t[38]>>>24,L=t[48]<<14|t[49]>>>18,m=t[49]<<14|t[48]>>>18,t[0]=A^~S&k,t[1]=T^~E&I,t[10]=P^~B&j,t[11]=C^~x&K,t[20]=G^~M&U,t[21]=H^~_&q,t[30]=Q^~Z&rt,t[31]=$^~et&nt,t[40]=ut^~ft&ct,t[41]=st^~bt&dt,t[2]=S^~k&N,t[3]=E^~I&D,t[12]=B^~j&V,t[13]=x^~K&J,t[22]=M^~U&z,t[23]=_^~q&W,t[32]=Z^~rt&tt,t[33]=et^~nt&ot,t[42]=ft^~ct&Ot,t[43]=bt^~dt&lt,t[4]=k^~N&L,t[5]=I^~D&m,t[14]=j^~V&O,t[15]=K^~J&F,t[24]=U^~z&Y,t[25]=q^~W&X,t[34]=rt^~tt&it,t[35]=nt^~ot&at,t[44]=ct^~Ot&pt,t[45]=dt^~lt&jt,t[6]=N^~L&A,t[7]=D^~m&T,t[16]=V^~O&P,t[17]=J^~F&C,t[26]=z^~Y&G,t[27]=W^~X&H,t[36]=tt^~it&Q,t[37]=ot^~at&$,t[46]=Ot^~pt&ut,t[47]=lt^~jt&st,t[8]=L^~A&S,t[9]=m^~T&E,t[18]=O^~P&B,t[19]=F^~C&x,t[28]=Y^~G&M,t[29]=X^~H&_,t[38]=it^~Q&Z,t[39]=at^~$&et,t[48]=pt^~ut&ft,t[49]=jt^~st&bt,t[0]^=v[e],t[1]^=v[e+1]},l=function(t){return function(s){var f;if(s.slice(0,2)==="0x"){f=[];for(var e=2,u=s.length;e<u;e+=2)f.push(parseInt(s.slice(e,e+2),16))}else f=s;return function(n,i){for(var r,o=i.length,a=n.blocks,d=n.blockCount<<2,b=n.blockCount,w=n.outputBlocks,g=n.s,A=0;A<o;){if(n.reset)for(n.reset=!1,a[0]=n.block,E=1;E<b+1;++E)a[E]=0;if(typeof i!="string")for(E=n.start;A<o&&E<d;++A)a[E>>2]|=i[A]<<h[3&E++];else for(E=n.start;A<o&&E<d;++A)(r=i.charCodeAt(A))<128?a[E>>2]|=r<<h[3&E++]:r<2048?(a[E>>2]|=(192|r>>6)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]):r<55296||r>=57344?(a[E>>2]|=(224|r>>12)<<h[3&E++],a[E>>2]|=(128|r>>6&63)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]):(r=65536+((1023&r)<<10|1023&i.charCodeAt(++A)),a[E>>2]|=(240|r>>18)<<h[3&E++],a[E>>2]|=(128|r>>12&63)<<h[3&E++],a[E>>2]|=(128|r>>6&63)<<h[3&E++],a[E>>2]|=(128|63&r)<<h[3&E++]);if(n.lastByteIndex=E,E>=d){for(n.start=E-d,n.block=a[b],E=0;E<b;++E)g[E]^=a[E];p(g),n.reset=!0}else n.start=E}if(a[(E=n.lastByteIndex)>>2]|=c[3&E],n.lastByteIndex===d)for(a[0]=a[b],E=1;E<b+1;++E)a[E]=0;for(a[b-1]|=2147483648,E=0;E<b;++E)g[E]^=a[E];p(g);for(var T,S="",E=0,k=0;k<w;){for(E=0;E<b&&k<w;++E,++k)T=g[E],S+=y[T>>4&15]+y[15&T]+y[T>>12&15]+y[T>>8&15]+y[T>>20&15]+y[T>>16&15]+y[T>>28&15]+y[T>>24&15];k%b==0&&(p(g),E=0)}return"0x"+S}(function(n){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(n<<1)>>5,outputBlocks:n>>5,s:(i=[0,0,0,0,0,0,0,0,0,0],[].concat(i,i,i,i,i))};var i}(t),f)}};R.exports={keccak256:l(256),keccak512:l(512),keccak256s:l(256),keccak512s:l(512)}},8419:R=>{R.exports=function(y,c){if(c){c=(c=c.trim().replace(/^(\?|#|&)/,""))?"?"+c:c;var h=y.split(/[\?\#]/)[0];c&&/\:\/\/[^\/]*$/.test(h)&&(h+="/");var v=y.match(/(\#.*)$/);y=h+c,v&&(y+=v[0])}return y}},8677:(R,y,c)=>{var h;R=c.nmd(R);var v=c(8847)(c(3355));(function(p){var l=(0,v.default)(y)=="object"&&y&&!y.nodeType&&y,t=(0,v.default)(R)=="object"&&R&&!R.nodeType&&R,s=(c.g===void 0?"undefined":(0,v.default)(c.g))=="object"&&c.g;s.global!==s&&s.window!==s&&s.self!==s||(p=s);var f,e,u=2147483647,n=36,i=/^xn--/,r=/[^\x20-\x7E]/,o=/[\x2E\u3002\uFF0E\uFF61]/g,a={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,b=String.fromCharCode;function w(D){throw RangeError(a[D])}function g(D,L){for(var m=D.length,P=[];m--;)P[m]=L(D[m]);return P}function A(D,L){var m=D.split("@"),P="";return m.length>1&&(P=m[0]+"@",D=m[1]),P+g((D=D.replace(o,".")).split("."),L).join(".")}function T(D){for(var L,m,P=[],C=0,B=D.length;C<B;)(L=D.charCodeAt(C++))>=55296&&L<=56319&&C<B?(64512&(m=D.charCodeAt(C++)))==56320?P.push(((1023&L)<<10)+(1023&m)+65536):(P.push(L),C--):P.push(L);return P}function S(D){return g(D,function(L){var m="";return L>65535&&(m+=b((L-=65536)>>>10&1023|55296),L=56320|1023&L),m+b(L)}).join("")}function E(D,L){return D+22+75*(D<26)-((L!=0)<<5)}function k(D,L,m){var P=0;for(D=m?d(D/700):D>>1,D+=d(D/L);D>455;P+=n)D=d(D/35);return d(P+36*D/(D+38))}function I(D){var L,m,P,C,B,x,j,K,V,J,O,F=[],G=D.length,H=0,M=128,_=72;for((m=D.lastIndexOf("-"))<0&&(m=0),P=0;P<m;++P)D.charCodeAt(P)>=128&&w("not-basic"),F.push(D.charCodeAt(P));for(C=m>0?m+1:0;C<G;){for(B=H,x=1,j=n;C>=G&&w("invalid-input"),((K=(O=D.charCodeAt(C++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:n)>=n||K>d((u-H)/x))&&w("overflow"),H+=K*x,!(K<(V=j<=_?1:j>=_+26?26:j-_));j+=n)x>d(u/(J=n-V))&&w("overflow"),x*=J;_=k(H-B,L=F.length+1,B==0),d(H/L)>u-M&&w("overflow"),M+=d(H/L),H%=L,F.splice(H++,0,M)}return S(F)}function N(D){var L,m,P,C,B,x,j,K,V,J,O,F,G,H,M,_=[];for(F=(D=T(D)).length,L=128,m=0,B=72,x=0;x<F;++x)(O=D[x])<128&&_.push(b(O));for(P=C=_.length,C&&_.push("-");P<F;){for(j=u,x=0;x<F;++x)(O=D[x])>=L&&O<j&&(j=O);for(j-L>d((u-m)/(G=P+1))&&w("overflow"),m+=(j-L)*G,L=j,x=0;x<F;++x)if((O=D[x])<L&&++m>u&&w("overflow"),O==L){for(K=m,V=n;!(K<(J=V<=B?1:V>=B+26?26:V-B));V+=n)M=K-J,H=n-J,_.push(b(E(J+M%H,0))),K=d(M/H);_.push(b(E(K,0))),B=k(m,G,P==C),m=0,++P}++m,++L}return _.join("")}if(f={version:"1.3.2",ucs2:{decode:T,encode:S},decode:I,encode:N,toASCII:function(D){return A(D,function(L){return r.test(L)?"xn--"+N(L):L})},toUnicode:function(D){return A(D,function(L){return i.test(L)?I(L.slice(4).toLowerCase()):L})}},(0,v.default)(c.amdO)=="object"&&c.amdO)(h=(function(){return f}).call(y,c,y,R))===void 0||(R.exports=h);else if(l&&t)if(R.exports==l)t.exports=f;else for(e in f)f.hasOwnProperty(e)&&(l[e]=f[e]);else p.punycode=f})(void 0)},8983:R=>{function y(c,h){return Object.prototype.hasOwnProperty.call(c,h)}R.exports=function(c,h,v,p){h=h||"&",v=v||"=";var l={};if(typeof c!="string"||c.length===0)return l;var t=/\+/g;c=c.split(h);var s=1e3;p&&typeof p.maxKeys=="number"&&(s=p.maxKeys);var f=c.length;s>0&&f>s&&(f=s);for(var e=0;e<f;++e){var u,n,i,r,o=c[e].replace(t,"%20"),a=o.indexOf(v);a>=0?(u=o.substr(0,a),n=o.substr(a+1)):(u=o,n=""),i=decodeURIComponent(u),r=decodeURIComponent(n),y(l,i)?Array.isArray(l[i])?l[i].push(r):l[i]=[l[i],r]:l[i]=r}return l}},4031:(R,y,c)=>{var h=c(8847)(c(3355)),v=function(p){switch((0,h.default)(p)){case"string":return p;case"boolean":return p?"true":"false";case"number":return isFinite(p)?p:"";default:return""}};R.exports=function(p,l,t,s){return l=l||"&",t=t||"=",p===null&&(p=void 0),(0,h.default)(p)==="object"?Object.keys(p).map(function(f){var e=encodeURIComponent(v(f))+t;return Array.isArray(p[f])?p[f].map(function(u){return e+encodeURIComponent(v(u))}).join(l):e+encodeURIComponent(v(p[f]))}).join(l):s?encodeURIComponent(v(s))+t+encodeURIComponent(v(p)):""}},845:(R,y,c)=>{y.decode=y.parse=c(8983),y.encode=y.stringify=c(4031)},1143:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(8677),p=c(5751);function l(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}y.parse=g,y.resolve=function(A,T){return g(A,!1,!0).resolve(T)},y.resolveObject=function(A,T){return A?g(A,!1,!0).resolveObject(T):T},y.format=function(A){return p.isString(A)&&(A=g(A)),A instanceof l?A.format():l.prototype.format.call(A)},y.Url=l;var t=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,e=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
37
+ `," "]),u=["'"].concat(e),n=["%","/","?",";","#"].concat(u),i=["/","?","#"],r=/^[+a-z0-9A-Z_-]{0,63}$/,o=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,a={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=c(845);function g(A,T,S){if(A&&p.isObject(A)&&A instanceof l)return A;var E=new l;return E.parse(A,T,S),E}l.prototype.parse=function(A,T,S){if(!p.isString(A))throw new TypeError("Parameter 'url' must be a string, not "+(0,h.default)(A));var E=A.indexOf("?"),k=E!==-1&&E<A.indexOf("#")?"?":"#",I=A.split(k);I[0]=I[0].replace(/\\/g,"/");var N=A=I.join(k);if(N=N.trim(),!S&&A.split("#").length===1){var D=f.exec(N);if(D)return this.path=N,this.href=N,this.pathname=D[1],D[2]?(this.search=D[2],this.query=T?w.parse(this.search.substr(1)):this.search.substr(1)):T&&(this.search="",this.query={}),this}var L=t.exec(N);if(L){var m=(L=L[0]).toLowerCase();this.protocol=m,N=N.substr(L.length)}if(S||L||N.match(/^\/\/[^@\/]+@[^@\/]+/)){var P=N.substr(0,2)==="//";!P||L&&d[L]||(N=N.substr(2),this.slashes=!0)}if(!d[L]&&(P||L&&!b[L])){for(var C,B,x=-1,j=0;j<i.length;j++)(K=N.indexOf(i[j]))!==-1&&(x===-1||K<x)&&(x=K);for((B=x===-1?N.lastIndexOf("@"):N.lastIndexOf("@",x))!==-1&&(C=N.slice(0,B),N=N.slice(B+1),this.auth=decodeURIComponent(C)),x=-1,j=0;j<n.length;j++){var K;(K=N.indexOf(n[j]))!==-1&&(x===-1||K<x)&&(x=K)}x===-1&&(x=N.length),this.host=N.slice(0,x),N=N.slice(x),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var J=this.hostname.split(/\./),O=(j=0,J.length);j<O;j++){var F=J[j];if(F&&!F.match(r)){for(var G="",H=0,M=F.length;H<M;H++)F.charCodeAt(H)>127?G+="x":G+=F[H];if(!G.match(r)){var _=J.slice(0,j),U=J.slice(j+1),q=F.match(o);q&&(_.push(q[1]),U.unshift(q[2])),U.length&&(N="/"+U.join(".")+N),this.hostname=_.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=v.toASCII(this.hostname));var z=this.port?":"+this.port:"",W=this.hostname||"";this.host=W+z,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),N[0]!=="/"&&(N="/"+N))}if(!a[m])for(j=0,O=u.length;j<O;j++){var Y=u[j];if(N.indexOf(Y)!==-1){var X=encodeURIComponent(Y);X===Y&&(X=escape(Y)),N=N.split(Y).join(X)}}var Q=N.indexOf("#");Q!==-1&&(this.hash=N.substr(Q),N=N.slice(0,Q));var $=N.indexOf("?");if($!==-1?(this.search=N.substr($),this.query=N.substr($+1),T&&(this.query=w.parse(this.query)),N=N.slice(0,$)):T&&(this.search="",this.query={}),N&&(this.pathname=N),b[m]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){z=this.pathname||"";var Z=this.search||"";this.path=z+Z}return this.href=this.format(),this},l.prototype.format=function(){var A=this.auth||"";A&&(A=(A=encodeURIComponent(A)).replace(/%3A/i,":"),A+="@");var T=this.protocol||"",S=this.pathname||"",E=this.hash||"",k=!1,I="";this.host?k=A+this.host:this.hostname&&(k=A+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(k+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(I=w.stringify(this.query));var N=this.search||I&&"?"+I||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||b[T])&&k!==!1?(k="//"+(k||""),S&&S.charAt(0)!=="/"&&(S="/"+S)):k||(k=""),E&&E.charAt(0)!=="#"&&(E="#"+E),N&&N.charAt(0)!=="?"&&(N="?"+N),T+k+(S=S.replace(/[?#]/g,function(D){return encodeURIComponent(D)}))+(N=N.replace("#","%23"))+E},l.prototype.resolve=function(A){return this.resolveObject(g(A,!1,!0)).format()},l.prototype.resolveObject=function(A){if(p.isString(A)){var T=new l;T.parse(A,!1,!0),A=T}for(var S=new l,E=Object.keys(this),k=0;k<E.length;k++){var I=E[k];S[I]=this[I]}if(S.hash=A.hash,A.href==="")return S.href=S.format(),S;if(A.slashes&&!A.protocol){for(var N=Object.keys(A),D=0;D<N.length;D++){var L=N[D];L!=="protocol"&&(S[L]=A[L])}return b[S.protocol]&&S.hostname&&!S.pathname&&(S.path=S.pathname="/"),S.href=S.format(),S}if(A.protocol&&A.protocol!==S.protocol){if(!b[A.protocol]){for(var m=Object.keys(A),P=0;P<m.length;P++){var C=m[P];S[C]=A[C]}return S.href=S.format(),S}if(S.protocol=A.protocol,A.host||d[A.protocol])S.pathname=A.pathname;else{for(var B=(A.pathname||"").split("/");B.length&&!(A.host=B.shift()););A.host||(A.host=""),A.hostname||(A.hostname=""),B[0]!==""&&B.unshift(""),B.length<2&&B.unshift(""),S.pathname=B.join("/")}if(S.search=A.search,S.query=A.query,S.host=A.host||"",S.auth=A.auth,S.hostname=A.hostname||A.host,S.port=A.port,S.pathname||S.search){var x=S.pathname||"",j=S.search||"";S.path=x+j}return S.slashes=S.slashes||A.slashes,S.href=S.format(),S}var K=S.pathname&&S.pathname.charAt(0)==="/",V=A.host||A.pathname&&A.pathname.charAt(0)==="/",J=V||K||S.host&&A.pathname,O=J,F=S.pathname&&S.pathname.split("/")||[],G=(B=A.pathname&&A.pathname.split("/")||[],S.protocol&&!b[S.protocol]);if(G&&(S.hostname="",S.port=null,S.host&&(F[0]===""?F[0]=S.host:F.unshift(S.host)),S.host="",A.protocol&&(A.hostname=null,A.port=null,A.host&&(B[0]===""?B[0]=A.host:B.unshift(A.host)),A.host=null),J=J&&(B[0]===""||F[0]==="")),V)S.host=A.host||A.host===""?A.host:S.host,S.hostname=A.hostname||A.hostname===""?A.hostname:S.hostname,S.search=A.search,S.query=A.query,F=B;else if(B.length)F||(F=[]),F.pop(),F=F.concat(B),S.search=A.search,S.query=A.query;else if(!p.isNullOrUndefined(A.search))return G&&(S.hostname=S.host=F.shift(),(q=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=q.shift(),S.host=S.hostname=q.shift())),S.search=A.search,S.query=A.query,p.isNull(S.pathname)&&p.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!F.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var H=F.slice(-1)[0],M=(S.host||A.host||F.length>1)&&(H==="."||H==="..")||H==="",_=0,U=F.length;U>=0;U--)(H=F[U])==="."?F.splice(U,1):H===".."?(F.splice(U,1),_++):_&&(F.splice(U,1),_--);if(!J&&!O)for(;_--;_)F.unshift("..");!J||F[0]===""||F[0]&&F[0].charAt(0)==="/"||F.unshift(""),M&&F.join("/").substr(-1)!=="/"&&F.push("");var q,z=F[0]===""||F[0]&&F[0].charAt(0)==="/";return G&&(S.hostname=S.host=z?"":F.length?F.shift():"",(q=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=q.shift(),S.host=S.hostname=q.shift())),(J=J||S.host&&F.length)&&!z&&F.unshift(""),F.length?S.pathname=F.join("/"):(S.pathname=null,S.path=null),p.isNull(S.pathname)&&p.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=A.auth||S.auth,S.slashes=S.slashes||A.slashes,S.href=S.format(),S},l.prototype.parseHost=function(){var A=this.host,T=s.exec(A);T&&((T=T[0])!==":"&&(this.port=T.substr(1)),A=A.substr(0,A.length-T.length)),A&&(this.hostname=A)}},5751:(R,y,c)=>{var h=c(8847)(c(3355));R.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return(0,h.default)(v)==="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},8632:(R,y)=>{(function(c){var h,v,p,l=String.fromCharCode;function t(i){for(var r,o,a=[],d=0,b=i.length;d<b;)(r=i.charCodeAt(d++))>=55296&&r<=56319&&d<b?(64512&(o=i.charCodeAt(d++)))==56320?a.push(((1023&r)<<10)+(1023&o)+65536):(a.push(r),d--):a.push(r);return a}function s(i){if(i>=55296&&i<=57343)throw Error("Lone surrogate U+"+i.toString(16).toUpperCase()+" is not a scalar value")}function f(i,r){return l(i>>r&63|128)}function e(i){if(!(4294967168&i))return l(i);var r="";return 4294965248&i?4294901760&i?!(4292870144&i)&&(r=l(i>>18&7|240),r+=f(i,12),r+=f(i,6)):(s(i),r=l(i>>12&15|224),r+=f(i,6)):r=l(i>>6&31|192),r+l(63&i|128)}function u(){if(p>=v)throw Error("Invalid byte index");var i=255&h[p];if(p++,(192&i)==128)return 63&i;throw Error("Invalid continuation byte")}function n(){var i,r;if(p>v)throw Error("Invalid byte index");if(p==v)return!1;if(i=255&h[p],p++,(128&i)==0)return i;if((224&i)==192){if((r=(31&i)<<6|u())>=128)return r;throw Error("Invalid continuation byte")}if((240&i)==224){if((r=(15&i)<<12|u()<<6|u())>=2048)return s(r),r;throw Error("Invalid continuation byte")}if((248&i)==240&&(r=(7&i)<<18|u()<<12|u()<<6|u())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}c.version="3.0.0",c.encode=function(i){for(var r=t(i),o=r.length,a=-1,d="";++a<o;)d+=e(r[a]);return d},c.decode=function(i){h=t(i),v=h.length,p=0;for(var r,o=[];(r=n())!==!1;)o.push(r);return function(a){for(var d,b=a.length,w=-1,g="";++w<b;)(d=a[w])>65535&&(g+=l((d-=65536)>>>10&1023|55296),d=56320|1023&d),g+=l(d);return g}(o)}})(y)},6219:(R,y,c)=>{function h(v){try{if(!c.g.localStorage)return!1}catch{return!1}var p=c.g.localStorage[v];return p!=null&&String(p).toLowerCase()==="true"}R.exports=function(v,p){if(h("noDeprecation"))return v;var l=!1;return function(){if(!l){if(h("throwDeprecation"))throw new Error(p);h("traceDeprecation")?console.trace(p):console.warn(p),l=!0}return v.apply(this,arguments)}}},6248:(R,y,c)=>{var h=c(8847)(c(3355));R.exports=function(v){return v&&(0,h.default)(v)==="object"&&typeof v.copy=="function"&&typeof v.fill=="function"&&typeof v.readUInt8=="function"}},7092:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(9446),p=c(4477),l=c(2337),t=c(8915);function s(x){return x.call.bind(x)}var f=typeof BigInt<"u",e=typeof Symbol<"u",u=s(Object.prototype.toString),n=s(Number.prototype.valueOf),i=s(String.prototype.valueOf),r=s(Boolean.prototype.valueOf);if(f)var o=s(BigInt.prototype.valueOf);if(e)var a=s(Symbol.prototype.valueOf);function d(x,j){if((0,h.default)(x)!=="object")return!1;try{return j(x),!0}catch{return!1}}function b(x){return u(x)==="[object Map]"}function w(x){return u(x)==="[object Set]"}function g(x){return u(x)==="[object WeakMap]"}function A(x){return u(x)==="[object WeakSet]"}function T(x){return u(x)==="[object ArrayBuffer]"}function S(x){return typeof ArrayBuffer<"u"&&(T.working?T(x):x instanceof ArrayBuffer)}function E(x){return u(x)==="[object DataView]"}function k(x){return typeof DataView<"u"&&(E.working?E(x):x instanceof DataView)}y.isArgumentsObject=v,y.isGeneratorFunction=p,y.isTypedArray=t,y.isPromise=function(x){return typeof Promise<"u"&&x instanceof Promise||x!==null&&(0,h.default)(x)==="object"&&typeof x.then=="function"&&typeof x.catch=="function"},y.isArrayBufferView=function(x){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(x):t(x)||k(x)},y.isUint8Array=function(x){return l(x)==="Uint8Array"},y.isUint8ClampedArray=function(x){return l(x)==="Uint8ClampedArray"},y.isUint16Array=function(x){return l(x)==="Uint16Array"},y.isUint32Array=function(x){return l(x)==="Uint32Array"},y.isInt8Array=function(x){return l(x)==="Int8Array"},y.isInt16Array=function(x){return l(x)==="Int16Array"},y.isInt32Array=function(x){return l(x)==="Int32Array"},y.isFloat32Array=function(x){return l(x)==="Float32Array"},y.isFloat64Array=function(x){return l(x)==="Float64Array"},y.isBigInt64Array=function(x){return l(x)==="BigInt64Array"},y.isBigUint64Array=function(x){return l(x)==="BigUint64Array"},b.working=typeof Map<"u"&&b(new Map),y.isMap=function(x){return typeof Map<"u"&&(b.working?b(x):x instanceof Map)},w.working=typeof Set<"u"&&w(new Set),y.isSet=function(x){return typeof Set<"u"&&(w.working?w(x):x instanceof Set)},g.working=typeof WeakMap<"u"&&g(new WeakMap),y.isWeakMap=function(x){return typeof WeakMap<"u"&&(g.working?g(x):x instanceof WeakMap)},A.working=typeof WeakSet<"u"&&A(new WeakSet),y.isWeakSet=function(x){return A(x)},T.working=typeof ArrayBuffer<"u"&&T(new ArrayBuffer),y.isArrayBuffer=S,E.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&E(new DataView(new ArrayBuffer(1),0,1)),y.isDataView=k;var I=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function N(x){return u(x)==="[object SharedArrayBuffer]"}function D(x){return I!==void 0&&(N.working===void 0&&(N.working=N(new I)),N.working?N(x):x instanceof I)}function L(x){return d(x,n)}function m(x){return d(x,i)}function P(x){return d(x,r)}function C(x){return f&&d(x,o)}function B(x){return e&&d(x,a)}y.isSharedArrayBuffer=D,y.isAsyncFunction=function(x){return u(x)==="[object AsyncFunction]"},y.isMapIterator=function(x){return u(x)==="[object Map Iterator]"},y.isSetIterator=function(x){return u(x)==="[object Set Iterator]"},y.isGeneratorObject=function(x){return u(x)==="[object Generator]"},y.isWebAssemblyCompiledModule=function(x){return u(x)==="[object WebAssembly.Module]"},y.isNumberObject=L,y.isStringObject=m,y.isBooleanObject=P,y.isBigIntObject=C,y.isSymbolObject=B,y.isBoxedPrimitive=function(x){return L(x)||m(x)||P(x)||C(x)||B(x)},y.isAnyArrayBuffer=function(x){return typeof Uint8Array<"u"&&(S(x)||D(x))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(x){Object.defineProperty(y,x,{enumerable:!1,value:function(){throw new Error(x+" is not supported in userland")}})})},5058:(R,y,c)=>{var h=c(9142),v=c(8847)(c(3355)),p=Object.getOwnPropertyDescriptors||function(x){for(var j=Object.keys(x),K={},V=0;V<j.length;V++)K[j[V]]=Object.getOwnPropertyDescriptor(x,j[V]);return K},l=/%[sdj%]/g;y.format=function(x){if(!g(x)){for(var j=[],K=0;K<arguments.length;K++)j.push(e(arguments[K]));return j.join(" ")}K=1;for(var V=arguments,J=V.length,O=String(x).replace(l,function(G){if(G==="%%")return"%";if(K>=J)return G;switch(G){case"%s":return String(V[K++]);case"%d":return Number(V[K++]);case"%j":try{return JSON.stringify(V[K++])}catch{return"[Circular]"}default:return G}}),F=V[K];K<J;F=V[++K])b(F)||!S(F)?O+=" "+F:O+=" "+e(F);return O},y.deprecate=function(x,j){if(h!==void 0&&h.noDeprecation===!0)return x;if(h===void 0)return function(){return y.deprecate(x,j).apply(this,arguments)};var K=!1;return function(){if(!K){if(h.throwDeprecation)throw new Error(j);h.traceDeprecation?console.trace(j):console.error(j),K=!0}return x.apply(this,arguments)}};var t={},s=/^$/;if(h.env.NODE_DEBUG){var f=h.env.NODE_DEBUG;f=f.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+f+"$","i")}function e(x,j){var K={seen:[],stylize:n};return arguments.length>=3&&(K.depth=arguments[2]),arguments.length>=4&&(K.colors=arguments[3]),d(j)?K.showHidden=j:j&&y._extend(K,j),A(K.showHidden)&&(K.showHidden=!1),A(K.depth)&&(K.depth=2),A(K.colors)&&(K.colors=!1),A(K.customInspect)&&(K.customInspect=!0),K.colors&&(K.stylize=u),i(K,x,K.depth)}function u(x,j){var K=e.styles[j];return K?"\x1B["+e.colors[K][0]+"m"+x+"\x1B["+e.colors[K][1]+"m":x}function n(x,j){return x}function i(x,j,K){if(x.customInspect&&j&&I(j.inspect)&&j.inspect!==y.inspect&&(!j.constructor||j.constructor.prototype!==j)){var V=j.inspect(K,x);return g(V)||(V=i(x,V,K)),V}var J=function(q,z){if(A(z))return q.stylize("undefined","undefined");if(g(z)){var W="'"+JSON.stringify(z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return q.stylize(W,"string")}return w(z)?q.stylize(""+z,"number"):d(z)?q.stylize(""+z,"boolean"):b(z)?q.stylize("null","null"):void 0}(x,j);if(J)return J;var O=Object.keys(j),F=function(q){var z={};return q.forEach(function(W,Y){z[W]=!0}),z}(O);if(x.showHidden&&(O=Object.getOwnPropertyNames(j)),k(j)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return r(j);if(O.length===0){if(I(j)){var G=j.name?": "+j.name:"";return x.stylize("[Function"+G+"]","special")}if(T(j))return x.stylize(RegExp.prototype.toString.call(j),"regexp");if(E(j))return x.stylize(Date.prototype.toString.call(j),"date");if(k(j))return r(j)}var H,M="",_=!1,U=["{","}"];return a(j)&&(_=!0,U=["[","]"]),I(j)&&(M=" [Function"+(j.name?": "+j.name:"")+"]"),T(j)&&(M=" "+RegExp.prototype.toString.call(j)),E(j)&&(M=" "+Date.prototype.toUTCString.call(j)),k(j)&&(M=" "+r(j)),O.length!==0||_&&j.length!=0?K<0?T(j)?x.stylize(RegExp.prototype.toString.call(j),"regexp"):x.stylize("[Object]","special"):(x.seen.push(j),H=_?function(q,z,W,Y,X){for(var Q=[],$=0,Z=z.length;$<Z;++$)P(z,String($))?Q.push(o(q,z,W,Y,String($),!0)):Q.push("");return X.forEach(function(et){et.match(/^\d+$/)||Q.push(o(q,z,W,Y,et,!0))}),Q}(x,j,K,F,O):O.map(function(q){return o(x,j,K,F,q,_)}),x.seen.pop(),function(q,z,W){return q.reduce(function(Y,X){return X.indexOf(`
38
+ `),Y+X.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?W[0]+(z===""?"":z+`
39
+ `)+" "+q.join(`,
40
+ `)+" "+W[1]:W[0]+z+" "+q.join(", ")+" "+W[1]}(H,M,U)):U[0]+M+U[1]}function r(x){return"["+Error.prototype.toString.call(x)+"]"}function o(x,j,K,V,J,O){var F,G,H;if((H=Object.getOwnPropertyDescriptor(j,J)||{value:j[J]}).get?G=H.set?x.stylize("[Getter/Setter]","special"):x.stylize("[Getter]","special"):H.set&&(G=x.stylize("[Setter]","special")),P(V,J)||(F="["+J+"]"),G||(x.seen.indexOf(H.value)<0?(G=b(K)?i(x,H.value,null):i(x,H.value,K-1)).indexOf(`
41
+ `)>-1&&(G=O?G.split(`
42
+ `).map(function(M){return" "+M}).join(`
43
+ `).slice(2):`
44
+ `+G.split(`
45
+ `).map(function(M){return" "+M}).join(`
46
+ `)):G=x.stylize("[Circular]","special")),A(F)){if(O&&J.match(/^\d+$/))return G;(F=JSON.stringify(""+J)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(F=F.slice(1,-1),F=x.stylize(F,"name")):(F=F.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),F=x.stylize(F,"string"))}return F+": "+G}function a(x){return Array.isArray(x)}function d(x){return typeof x=="boolean"}function b(x){return x===null}function w(x){return typeof x=="number"}function g(x){return typeof x=="string"}function A(x){return x===void 0}function T(x){return S(x)&&N(x)==="[object RegExp]"}function S(x){return(0,v.default)(x)==="object"&&x!==null}function E(x){return S(x)&&N(x)==="[object Date]"}function k(x){return S(x)&&(N(x)==="[object Error]"||x instanceof Error)}function I(x){return typeof x=="function"}function N(x){return Object.prototype.toString.call(x)}function D(x){return x<10?"0"+x.toString(10):x.toString(10)}y.debuglog=function(x){if(x=x.toUpperCase(),!t[x])if(s.test(x)){var j=h.pid;t[x]=function(){var K=y.format.apply(y,arguments);console.error("%s %d: %s",x,j,K)}}else t[x]=function(){};return t[x]},y.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},y.types=c(7092),y.isArray=a,y.isBoolean=d,y.isNull=b,y.isNullOrUndefined=function(x){return x==null},y.isNumber=w,y.isString=g,y.isSymbol=function(x){return(0,v.default)(x)==="symbol"},y.isUndefined=A,y.isRegExp=T,y.types.isRegExp=T,y.isObject=S,y.isDate=E,y.types.isDate=E,y.isError=k,y.types.isNativeError=k,y.isFunction=I,y.isPrimitive=function(x){return x===null||typeof x=="boolean"||typeof x=="number"||typeof x=="string"||(0,v.default)(x)==="symbol"||x===void 0},y.isBuffer=c(6248);var L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function m(){var x=new Date,j=[D(x.getHours()),D(x.getMinutes()),D(x.getSeconds())].join(":");return[x.getDate(),L[x.getMonth()],j].join(" ")}function P(x,j){return Object.prototype.hasOwnProperty.call(x,j)}y.log=function(){console.log("%s - %s",m(),y.format.apply(y,arguments))},y.inherits=c(1736),y._extend=function(x,j){if(!j||!S(j))return x;for(var K=Object.keys(j),V=K.length;V--;)x[K[V]]=j[K[V]];return x};var C=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(x,j){if(!x){var K=new Error("Promise was rejected with a falsy value");K.reason=x,x=K}return j(x)}y.promisify=function(x){if(typeof x!="function")throw new TypeError('The "original" argument must be of type Function');if(C&&x[C]){var j;if(typeof(j=x[C])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(j,C,{value:j,enumerable:!1,writable:!1,configurable:!0}),j}function j(){for(var K,V,J=new Promise(function(G,H){K=G,V=H}),O=[],F=0;F<arguments.length;F++)O.push(arguments[F]);O.push(function(G,H){G?V(G):K(H)});try{x.apply(this,O)}catch(G){V(G)}return J}return Object.setPrototypeOf(j,Object.getPrototypeOf(x)),C&&Object.defineProperty(j,C,{value:j,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(j,p(x))},y.promisify.custom=C,y.callbackify=function(x){if(typeof x!="function")throw new TypeError('The "original" argument must be of type Function');function j(){for(var K=[],V=0;V<arguments.length;V++)K.push(arguments[V]);var J=K.pop();if(typeof J!="function")throw new TypeError("The last argument must be of type Function");var O=this,F=function(){return J.apply(O,arguments)};x.apply(this,K).then(function(G){h.nextTick(F.bind(null,null,G))},function(G){h.nextTick(B.bind(null,G,F))})}return Object.setPrototypeOf(j,Object.getPrototypeOf(x)),Object.defineProperties(j,p(x)),j}},2679:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"NIL",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(y,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(y,"stringify",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(y,"v1",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(y,"v3",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(y,"v4",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(y,"v5",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(y,"validate",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(y,"version",{enumerable:!0,get:function(){return s.default}});var h=n(c(5999)),v=n(c(8231)),p=n(c(8647)),l=n(c(5025)),t=n(c(5996)),s=n(c(8928)),f=n(c(6163)),e=n(c(2982)),u=n(c(1729));function n(i){return i&&i.__esModule?i:{default:i}}},6792:(R,y)=>{function c(f){return 14+(f+64>>>9<<4)+1}function h(f,e){var u=(65535&f)+(65535&e);return(f>>16)+(e>>16)+(u>>16)<<16|65535&u}function v(f,e,u,n,i,r){return h((o=h(h(e,f),h(n,r)))<<(a=i)|o>>>32-a,u);var o,a}function p(f,e,u,n,i,r,o){return v(e&u|~e&n,f,e,i,r,o)}function l(f,e,u,n,i,r,o){return v(e&n|u&~n,f,e,i,r,o)}function t(f,e,u,n,i,r,o){return v(e^u^n,f,e,i,r,o)}function s(f,e,u,n,i,r,o){return v(u^(e|~n),f,e,i,r,o)}Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0,y.default=function(f){if(typeof f=="string"){var e=unescape(encodeURIComponent(f));f=new Uint8Array(e.length);for(var u=0;u<e.length;++u)f[u]=e.charCodeAt(u)}return function(n){for(var i=[],r=32*n.length,o="0123456789abcdef",a=0;a<r;a+=8){var d=n[a>>5]>>>a%32&255,b=parseInt(o.charAt(d>>>4&15)+o.charAt(15&d),16);i.push(b)}return i}(function(n,i){n[i>>5]|=128<<i%32,n[c(i)-1]=i;for(var r=1732584193,o=-271733879,a=-1732584194,d=271733878,b=0;b<n.length;b+=16){var w=r,g=o,A=a,T=d;r=p(r,o,a,d,n[b],7,-680876936),d=p(d,r,o,a,n[b+1],12,-389564586),a=p(a,d,r,o,n[b+2],17,606105819),o=p(o,a,d,r,n[b+3],22,-1044525330),r=p(r,o,a,d,n[b+4],7,-176418897),d=p(d,r,o,a,n[b+5],12,1200080426),a=p(a,d,r,o,n[b+6],17,-1473231341),o=p(o,a,d,r,n[b+7],22,-45705983),r=p(r,o,a,d,n[b+8],7,1770035416),d=p(d,r,o,a,n[b+9],12,-1958414417),a=p(a,d,r,o,n[b+10],17,-42063),o=p(o,a,d,r,n[b+11],22,-1990404162),r=p(r,o,a,d,n[b+12],7,1804603682),d=p(d,r,o,a,n[b+13],12,-40341101),a=p(a,d,r,o,n[b+14],17,-1502002290),r=l(r,o=p(o,a,d,r,n[b+15],22,1236535329),a,d,n[b+1],5,-165796510),d=l(d,r,o,a,n[b+6],9,-1069501632),a=l(a,d,r,o,n[b+11],14,643717713),o=l(o,a,d,r,n[b],20,-373897302),r=l(r,o,a,d,n[b+5],5,-701558691),d=l(d,r,o,a,n[b+10],9,38016083),a=l(a,d,r,o,n[b+15],14,-660478335),o=l(o,a,d,r,n[b+4],20,-405537848),r=l(r,o,a,d,n[b+9],5,568446438),d=l(d,r,o,a,n[b+14],9,-1019803690),a=l(a,d,r,o,n[b+3],14,-187363961),o=l(o,a,d,r,n[b+8],20,1163531501),r=l(r,o,a,d,n[b+13],5,-1444681467),d=l(d,r,o,a,n[b+2],9,-51403784),a=l(a,d,r,o,n[b+7],14,1735328473),r=t(r,o=l(o,a,d,r,n[b+12],20,-1926607734),a,d,n[b+5],4,-378558),d=t(d,r,o,a,n[b+8],11,-2022574463),a=t(a,d,r,o,n[b+11],16,1839030562),o=t(o,a,d,r,n[b+14],23,-35309556),r=t(r,o,a,d,n[b+1],4,-1530992060),d=t(d,r,o,a,n[b+4],11,1272893353),a=t(a,d,r,o,n[b+7],16,-155497632),o=t(o,a,d,r,n[b+10],23,-1094730640),r=t(r,o,a,d,n[b+13],4,681279174),d=t(d,r,o,a,n[b],11,-358537222),a=t(a,d,r,o,n[b+3],16,-722521979),o=t(o,a,d,r,n[b+6],23,76029189),r=t(r,o,a,d,n[b+9],4,-640364487),d=t(d,r,o,a,n[b+12],11,-421815835),a=t(a,d,r,o,n[b+15],16,530742520),r=s(r,o=t(o,a,d,r,n[b+2],23,-995338651),a,d,n[b],6,-198630844),d=s(d,r,o,a,n[b+7],10,1126891415),a=s(a,d,r,o,n[b+14],15,-1416354905),o=s(o,a,d,r,n[b+5],21,-57434055),r=s(r,o,a,d,n[b+12],6,1700485571),d=s(d,r,o,a,n[b+3],10,-1894986606),a=s(a,d,r,o,n[b+10],15,-1051523),o=s(o,a,d,r,n[b+1],21,-2054922799),r=s(r,o,a,d,n[b+8],6,1873313359),d=s(d,r,o,a,n[b+15],10,-30611744),a=s(a,d,r,o,n[b+6],15,-1560198380),o=s(o,a,d,r,n[b+13],21,1309151649),r=s(r,o,a,d,n[b+4],6,-145523070),d=s(d,r,o,a,n[b+11],10,-1120210379),a=s(a,d,r,o,n[b+2],15,718787259),o=s(o,a,d,r,n[b+9],21,-343485551),r=h(r,w),o=h(o,g),a=h(a,A),d=h(d,T)}return[r,o,a,d]}(function(n){if(n.length===0)return[];for(var i=8*n.length,r=new Uint32Array(c(i)),o=0;o<i;o+=8)r[o>>5]|=(255&n[o/8])<<o%32;return r}(f),8*f.length))}},1788:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var c={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};y.default=c},5996:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0,y.default="00000000-0000-0000-0000-000000000000"},1729:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h,v=(h=c(6163))&&h.__esModule?h:{default:h};y.default=function(p){if(!(0,v.default)(p))throw TypeError("Invalid UUID");var l,t=new Uint8Array(16);return t[0]=(l=parseInt(p.slice(0,8),16))>>>24,t[1]=l>>>16&255,t[2]=l>>>8&255,t[3]=255&l,t[4]=(l=parseInt(p.slice(9,13),16))>>>8,t[5]=255&l,t[6]=(l=parseInt(p.slice(14,18),16))>>>8,t[7]=255&l,t[8]=(l=parseInt(p.slice(19,23),16))>>>8,t[9]=255&l,t[10]=(l=parseInt(p.slice(24,36),16))/1099511627776&255,t[11]=l/4294967296&255,t[12]=l>>>24&255,t[13]=l>>>16&255,t[14]=l>>>8&255,t[15]=255&l,t}},7300:(R,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0,y.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},4402:(R,y)=>{var c;Object.defineProperty(y,"__esModule",{value:!0}),y.default=function(){if(!c&&!(c=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return c(h)};var h=new Uint8Array(16)},2702:(R,y)=>{function c(v,p,l,t){switch(v){case 0:return p&l^~p&t;case 1:case 3:return p^l^t;case 2:return p&l^p&t^l&t}}function h(v,p){return v<<p|v>>>32-p}Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0,y.default=function(v){var p=[1518500249,1859775393,2400959708,3395469782],l=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof v=="string"){var t=unescape(encodeURIComponent(v));v=[];for(var s=0;s<t.length;++s)v.push(t.charCodeAt(s))}else Array.isArray(v)||(v=Array.prototype.slice.call(v));v.push(128);for(var f=v.length/4+2,e=Math.ceil(f/16),u=new Array(e),n=0;n<e;++n){for(var i=new Uint32Array(16),r=0;r<16;++r)i[r]=v[64*n+4*r]<<24|v[64*n+4*r+1]<<16|v[64*n+4*r+2]<<8|v[64*n+4*r+3];u[n]=i}u[e-1][14]=8*(v.length-1)/Math.pow(2,32),u[e-1][14]=Math.floor(u[e-1][14]),u[e-1][15]=8*(v.length-1)&4294967295;for(var o=0;o<e;++o){for(var a=new Uint32Array(80),d=0;d<16;++d)a[d]=u[o][d];for(var b=16;b<80;++b)a[b]=h(a[b-3]^a[b-8]^a[b-14]^a[b-16],1);for(var w=l[0],g=l[1],A=l[2],T=l[3],S=l[4],E=0;E<80;++E){var k=Math.floor(E/20),I=h(w,5)+c(k,g,A,T)+S+p[k]+a[E]>>>0;S=T,T=A,A=h(g,30)>>>0,g=w,w=I}l[0]=l[0]+w>>>0,l[1]=l[1]+g>>>0,l[2]=l[2]+A>>>0,l[3]=l[3]+T>>>0,l[4]=l[4]+S>>>0}return[l[0]>>24&255,l[0]>>16&255,l[0]>>8&255,255&l[0],l[1]>>24&255,l[1]>>16&255,l[1]>>8&255,255&l[1],l[2]>>24&255,l[2]>>16&255,l[2]>>8&255,255&l[2],l[3]>>24&255,l[3]>>16&255,l[3]>>8&255,255&l[3],l[4]>>24&255,l[4]>>16&255,l[4]>>8&255,255&l[4]]}},2982:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0,y.unsafeStringify=t;for(var h,v=(h=c(6163))&&h.__esModule?h:{default:h},p=[],l=0;l<256;++l)p.push((l+256).toString(16).slice(1));function t(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(p[s[f+0]]+p[s[f+1]]+p[s[f+2]]+p[s[f+3]]+"-"+p[s[f+4]]+p[s[f+5]]+"-"+p[s[f+6]]+p[s[f+7]]+"-"+p[s[f+8]]+p[s[f+9]]+"-"+p[s[f+10]]+p[s[f+11]]+p[s[f+12]]+p[s[f+13]]+p[s[f+14]]+p[s[f+15]]).toLowerCase()}y.default=function(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=t(s,f);if(!(0,v.default)(e))throw TypeError("Stringified UUID is invalid");return e}},5999:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h,v,p,l=(h=c(4402))&&h.__esModule?h:{default:h},t=c(2982),s=0,f=0;y.default=function(e,u,n){var i=u&&n||0,r=u||new Array(16),o=(e=e||{}).node||v,a=e.clockseq!==void 0?e.clockseq:p;if(o==null||a==null){var d=e.random||(e.rng||l.default)();o==null&&(o=v=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),a==null&&(a=p=16383&(d[6]<<8|d[7]))}var b=e.msecs!==void 0?e.msecs:Date.now(),w=e.nsecs!==void 0?e.nsecs:f+1,g=b-s+(w-f)/1e4;if(g<0&&e.clockseq===void 0&&(a=a+1&16383),(g<0||b>s)&&e.nsecs===void 0&&(w=0),w>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=b,f=w,p=a;var A=(1e4*(268435455&(b+=122192928e5))+w)%4294967296;r[i++]=A>>>24&255,r[i++]=A>>>16&255,r[i++]=A>>>8&255,r[i++]=255&A;var T=b/4294967296*1e4&268435455;r[i++]=T>>>8&255,r[i++]=255&T,r[i++]=T>>>24&15|16,r[i++]=T>>>16&255,r[i++]=a>>>8|128,r[i++]=255&a;for(var S=0;S<6;++S)r[i+S]=o[S];return u||(0,t.unsafeStringify)(r)}},8231:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h=p(c(6125)),v=p(c(6792));function p(t){return t&&t.__esModule?t:{default:t}}var l=(0,h.default)("v3",48,v.default);y.default=l},6125:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.URL=y.DNS=void 0,y.default=function(s,f,e){function u(n,i,r,o){var a;if(typeof n=="string"&&(n=function(w){w=unescape(encodeURIComponent(w));for(var g=[],A=0;A<w.length;++A)g.push(w.charCodeAt(A));return g}(n)),typeof i=="string"&&(i=(0,p.default)(i)),((a=i)===null||a===void 0?void 0:a.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var d=new Uint8Array(16+n.length);if(d.set(i),d.set(n,i.length),(d=e(d))[6]=15&d[6]|f,d[8]=63&d[8]|128,r){o=o||0;for(var b=0;b<16;++b)r[o+b]=d[b];return r}return(0,v.unsafeStringify)(d)}try{u.name=s}catch{}return u.DNS=l,u.URL=t,u};var h,v=c(2982),p=(h=c(1729))&&h.__esModule?h:{default:h},l="6ba7b810-9dad-11d1-80b4-00c04fd430c8";y.DNS=l;var t="6ba7b811-9dad-11d1-80b4-00c04fd430c8";y.URL=t},8647:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h=l(c(1788)),v=l(c(4402)),p=c(2982);function l(t){return t&&t.__esModule?t:{default:t}}y.default=function(t,s,f){if(h.default.randomUUID&&!s&&!t)return h.default.randomUUID();var e=(t=t||{}).random||(t.rng||v.default)();if(e[6]=15&e[6]|64,e[8]=63&e[8]|128,s){f=f||0;for(var u=0;u<16;++u)s[f+u]=e[u];return s}return(0,p.unsafeStringify)(e)}},5025:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h=p(c(6125)),v=p(c(2702));function p(t){return t&&t.__esModule?t:{default:t}}var l=(0,h.default)("v5",80,v.default);y.default=l},6163:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h,v=(h=c(7300))&&h.__esModule?h:{default:h};y.default=function(p){return typeof p=="string"&&v.default.test(p)}},8928:(R,y,c)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var h,v=(h=c(6163))&&h.__esModule?h:{default:h};y.default=function(p){if(!(0,v.default)(p))throw TypeError("Invalid UUID");return parseInt(p.slice(14,15),16)}},8325:R=>{R.exports=function y(c,h){var v,p=0,l=0,t=h=h||0,s=c.length;do{if(t>=s)throw y.bytes=0,new RangeError("Could not decode varint");v=c[t++],p+=l<28?(127&v)<<l:(127&v)*Math.pow(2,l),l+=7}while(v>=128);return y.bytes=t-h,p}},2699:R=>{R.exports=function c(h,v,p){v=v||[];for(var l=p=p||0;h>=y;)v[p++]=255&h|128,h/=128;for(;-128&h;)v[p++]=255&h|128,h>>>=7;return v[p]=0|h,c.bytes=p-l+1,v};var y=Math.pow(2,31)},6657:(R,y,c)=>{R.exports={encode:c(2699),decode:c(8325),encodingLength:c(7490)}},7490:R=>{var y=Math.pow(2,7),c=Math.pow(2,14),h=Math.pow(2,21),v=Math.pow(2,28),p=Math.pow(2,35),l=Math.pow(2,42),t=Math.pow(2,49),s=Math.pow(2,56),f=Math.pow(2,63);R.exports=function(e){return e<y?1:e<c?2:e<h?3:e<v?4:e<p?5:e<l?6:e<t?7:e<s?8:e<f?9:10}},1158:(R,y,c)=>{var h,v=c(8847)(c(3355));if((typeof globalThis>"u"?"undefined":(0,v.default)(globalThis))==="object")h=globalThis;else try{h=c(6464)}catch{}finally{if(h||typeof window>"u"||(h=window),!h)throw new Error("Could not determine global this")}var p=h.WebSocket||h.MozWebSocket,l=c(5735);function t(s,f){return f?new p(s,f):new p(s)}p&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach(function(s){Object.defineProperty(t,s,{get:function(){return p[s]}})}),R.exports={w3cwebsocket:p?t:null,version:l}},5735:(R,y,c)=>{R.exports=c(9794).version},2337:(R,y,c)=>{var h=c(8184),v=c(3604),p=c(593),l=c(3820),t=p("Object.prototype.toString"),s=c(1191)(),f=typeof globalThis>"u"?c.g:globalThis,e=v(),u=p("String.prototype.slice"),n={},i=Object.getPrototypeOf;s&&l&&i&&h(e,function(o){if(typeof f[o]=="function"){var a=new f[o];if(Symbol.toStringTag in a){var d=i(a),b=l(d,Symbol.toStringTag);if(!b){var w=i(d);b=l(w,Symbol.toStringTag)}n[o]=b.get}}});var r=c(8915);R.exports=function(o){return!!r(o)&&(s&&Symbol.toStringTag in o?function(a){var d=!1;return h(n,function(b,w){if(!d)try{var g=b.call(a);g===w&&(d=g)}catch{}}),d}(o):u(t(o),8,-1))}},1357:(R,y,c)=>{var h=c(8992),v=c(8419),p=c(3103),l=c(9122),t=c(7321),s="application/json",f=function(){};R.exports=function(e,u,n){if(!e||typeof e!="string")throw new TypeError("must specify a URL");if(typeof u=="function"&&(n=u,u={}),n&&typeof n!="function")throw new TypeError("expected cb to be undefined or a function");n=n||f;var i=(u=u||{}).json?"json":"text",r=(u=p({responseType:i},u)).headers||{},o=(u.method||"GET").toUpperCase(),a=u.query;return a&&(typeof a!="string"&&(a=h.stringify(a)),e=v(e,a)),u.responseType==="json"&&l(r,"Accept",s),u.json&&o!=="GET"&&o!=="HEAD"&&(l(r,"Content-Type",s),u.body=JSON.stringify(u.body)),u.method=o,u.url=e,u.headers=r,delete u.query,delete u.json,t(u,n)}},9122:R=>{R.exports=function(y,c,h){var v=c.toLowerCase();y[c]||y[v]||(y[c]=h)}},9800:R=>{R.exports=function(y,c){return c?{statusCode:c.statusCode,headers:c.headers,method:y.method,url:y.url,rawRequest:c.rawRequest?c.rawRequest:c}:null}},7321:(R,y,c)=>{var h=c(346),v=c(9800),p=function(){};R.exports=function(l,t){delete l.uri;var s=!1;l.responseType==="json"&&(l.responseType="text",s=!0);var f=h(l,function(u,n,i){if(s&&!u)try{var r=n.rawRequest.responseText;i=JSON.parse(r)}catch(o){u=o}n=v(l,n),t(u,u?null:i,n),t=p}),e=f.onabort;return f.onabort=function(){var u=e.apply(f,Array.prototype.slice.call(arguments));return t(new Error("XHR Aborted")),t=p,u},f}},8992:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(3621),p=c(3103),l=c(34);function t(u,n){return n.encode?n.strict?v(u):encodeURIComponent(u):u}function s(u){return Array.isArray(u)?u.sort():(0,h.default)(u)==="object"?s(Object.keys(u)).sort(function(n,i){return Number(n)-Number(i)}).map(function(n){return u[n]}):u}function f(u){var n=u.indexOf("?");return n===-1?"":u.slice(n+1)}function e(u,n){var i=function(o){var a;switch(o.arrayFormat){case"index":return function(d,b,w){a=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),a?(w[d]===void 0&&(w[d]={}),w[d][a[1]]=b):w[d]=b};case"bracket":return function(d,b,w){a=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),a?w[d]!==void 0?w[d]=[].concat(w[d],b):w[d]=[b]:w[d]=b};default:return function(d,b,w){w[d]!==void 0?w[d]=[].concat(w[d],b):w[d]=b}}}(n=p({arrayFormat:"none"},n)),r=Object.create(null);return typeof u!="string"?r:(u=u.trim().replace(/^[?#&]/,""))?(u.split("&").forEach(function(o){var a=o.replace(/\+/g," ").split("="),d=a.shift(),b=a.length>0?a.join("="):void 0;b=b===void 0?null:l(b),i(l(d),b,r)}),Object.keys(r).sort().reduce(function(o,a){var d=r[a];return d&&(0,h.default)(d)==="object"&&!Array.isArray(d)?o[a]=s(d):o[a]=d,o},Object.create(null))):r}y.extract=f,y.parse=e,y.stringify=function(u,n){(n=p({encode:!0,strict:!0,arrayFormat:"none"},n)).sort===!1&&(n.sort=function(){});var i=function(r){switch(r.arrayFormat){case"index":return function(o,a,d){return a===null?[t(o,r),"[",d,"]"].join(""):[t(o,r),"[",t(d,r),"]=",t(a,r)].join("")};case"bracket":return function(o,a){return a===null?t(o,r):[t(o,r),"[]=",t(a,r)].join("")};default:return function(o,a){return a===null?t(o,r):[t(o,r),"=",t(a,r)].join("")}}}(n);return u?Object.keys(u).sort(n.sort).map(function(r){var o=u[r];if(o===void 0)return"";if(o===null)return t(r,n);if(Array.isArray(o)){var a=[];return o.slice().forEach(function(d){d!==void 0&&a.push(i(r,d,a.length))}),a.join("&")}return t(r,n)+"="+t(o,n)}).filter(function(r){return r.length>0}).join("&"):""},y.parseUrl=function(u,n){return{url:u.split("?")[0]||"",query:e(f(u),n)}}},3621:R=>{R.exports=function(y){return encodeURIComponent(y).replace(/[!'()*]/g,function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()})}},346:(R,y,c)=>{var h=c(2948),v=c(4339),p=c(8209),l=c(7705);function t(e,u,n){var i=e;return v(u)?(n=u,typeof e=="string"&&(i={uri:e})):i=l(u,{uri:e}),i.callback=n,i}function s(e,u,n){return f(u=t(e,u,n))}function f(e){if(e.callback===void 0)throw new Error("callback argument missing");var u=!1,n=function(N,D,L){u||(u=!0,e.callback(N,D,L))};function i(){var N=void 0;if(N=b.response?b.response:b.responseText||function(D){try{if(D.responseType==="document")return D.responseXML;var L=D.responseXML&&D.responseXML.documentElement.nodeName==="parsererror";if(D.responseType===""&&!L)return D.responseXML}catch{}return null}(b),k)try{N=JSON.parse(N)}catch{}return N}function r(N){return clearTimeout(w),N instanceof Error||(N=new Error(""+(N||"Unknown XMLHttpRequest Error"))),N.statusCode=0,n(N,I)}function o(){if(!d){var N;clearTimeout(w),N=e.useXDR&&b.status===void 0?200:b.status===1223?204:b.status;var D=I,L=null;return N!==0?(D={body:i(),statusCode:N,method:A,headers:{},url:g,rawRequest:b},b.getAllResponseHeaders&&(D.headers=p(b.getAllResponseHeaders()))):L=new Error("Internal XMLHttpRequest Error"),n(L,D,D.body)}}var a,d,b=e.xhr||null;b||(b=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var w,g=b.url=e.uri||e.url,A=b.method=e.method||"GET",T=e.body||e.data,S=b.headers=e.headers||{},E=!!e.sync,k=!1,I={body:void 0,headers:{},statusCode:0,method:A,url:g,rawRequest:b};if("json"in e&&e.json!==!1&&(k=!0,S.accept||S.Accept||(S.Accept="application/json"),A!=="GET"&&A!=="HEAD"&&(S["content-type"]||S["Content-Type"]||(S["Content-Type"]="application/json"),T=JSON.stringify(e.json===!0?T:e.json))),b.onreadystatechange=function(){b.readyState===4&&setTimeout(o,0)},b.onload=o,b.onerror=r,b.onprogress=function(){},b.onabort=function(){d=!0},b.ontimeout=r,b.open(A,g,!E,e.username,e.password),E||(b.withCredentials=!!e.withCredentials),!E&&e.timeout>0&&(w=setTimeout(function(){if(!d){d=!0,b.abort("timeout");var N=new Error("XMLHttpRequest timeout");N.code="ETIMEDOUT",r(N)}},e.timeout)),b.setRequestHeader)for(a in S)S.hasOwnProperty(a)&&b.setRequestHeader(a,S[a]);else if(e.headers&&!function(N){for(var D in N)if(N.hasOwnProperty(D))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(b.responseType=e.responseType),"beforeSend"in e&&typeof e.beforeSend=="function"&&e.beforeSend(b),b.send(T||null),b}R.exports=s,R.exports.default=s,s.XMLHttpRequest=h.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:h.XDomainRequest,function(e,u){for(var n=0;n<e.length;n++)u(e[n])}(["get","put","post","patch","head","delete"],function(e){s[e==="delete"?"del":e]=function(u,n,i){return(n=t(u,n,i)).method=e.toUpperCase(),f(n)}})},7705:R=>{R.exports=function(){for(var c={},h=0;h<arguments.length;h++){var v=arguments[h];for(var p in v)y.call(v,p)&&(c[p]=v[p])}return c};var y=Object.prototype.hasOwnProperty},2463:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(6427),p=function l(t){this.givenProvider=l.givenProvider,t&&t._requestManager&&(t=t.currentProvider),typeof document<"u"&&(this.pick=v.pick),this.setProvider(t)};p.givenProvider=null,typeof ethereum<"u"&&ethereum.bzz&&(p.givenProvider=ethereum.bzz),p.prototype.setProvider=function(l){if(l&&(0,h.default)(l)==="object"&&typeof l.bzz=="string"&&(l=l.bzz),typeof l!="string"){this.currentProvider=null;var t=new Error("No provider set, please set one using bzz.setProvider().");return this.download=this.upload=this.isAvailable=function(){throw t},!1}return this.currentProvider=l,this.download=v.at(l).download,this.upload=v.at(l).upload,this.isAvailable=v.at(l).isAvailable,!0},R.exports=p},4246:(R,y,c)=>{var h=c(8847)(c(3355));R.exports={ErrorResponse:function(v){var p=v&&v.error&&v.error.message?v.error.message:JSON.stringify(v),l=v.error&&v.error.data?v.error.data:null,t=new Error("Returned error: "+p);return t.data=l,t},InvalidNumberOfParams:function(v,p,l){return new Error('Invalid number of parameters for "'+l+'". Got '+v+" expected "+p+"!")},InvalidConnection:function(v,p){return this.ConnectionError("CONNECTION ERROR: Couldn't connect to node "+v+".",p)},InvalidProvider:function(){return new Error("Provider not set or invalid")},InvalidResponse:function(v){var p=v&&v.error&&v.error.message?v.error.message:"Invalid JSON RPC response: "+JSON.stringify(v);return new Error(p)},ConnectionTimeout:function(v){return new Error("CONNECTION TIMEOUT: timeout of "+v+" ms achived")},ConnectionNotOpenError:function(v){return this.ConnectionError("connection not open on send()",v)},ConnectionCloseError:function(v){return(0,h.default)(v)==="object"&&v.code&&v.reason?this.ConnectionError("CONNECTION ERROR: The connection got closed with the close code `"+v.code+"` and the following reason string `"+v.reason+"`",v):new Error("CONNECTION ERROR: The connection closed unexpectedly")},MaxAttemptsReachedOnReconnectingError:function(){return new Error("Maximum number of reconnect attempts reached!")},PendingRequestsOnReconnectingError:function(){return new Error("CONNECTION ERROR: Provider started to reconnect before the response got received!")},ConnectionError:function(v,p){var l=new Error(v);return p&&(l.code=p.code,l.reason=p.reason,p.description&&(l.description=p.description)),l},RevertInstructionError:function(v,p){var l=new Error("Your request got reverted with the following reason string: "+v);return l.reason=v,l.signature=p,l},TransactionRevertInstructionError:function(v,p,l){var t=new Error(`Transaction has been reverted by the EVM:
47
+ `+JSON.stringify(l,null,2));return t.reason=v,t.signature=p,t.receipt=l,t},TransactionError:function(v,p){var l=new Error(v);return l.receipt=p,l},NoContractAddressFoundError:function(v){return this.TransactionError("The transaction receipt didn't contain a contract address.",v)},ContractCodeNotStoredError:function(v){return this.TransactionError("The contract code couldn't be stored, please check your gas limit.",v)},TransactionRevertedWithoutReasonError:function(v){return this.TransactionError(`Transaction has been reverted by the EVM:
48
+ `+JSON.stringify(v,null,2),v)},TransactionOutOfGasError:function(v){return this.TransactionError(`Transaction ran out of gas. Please provide more gas:
49
+ `+JSON.stringify(v,null,2),v)},ResolverMethodMissingError:function(v,p){return new Error("The resolver at "+v+'does not implement requested method: "'+p+'".')},ContractMissingABIError:function(){return new Error("You must provide the json interface of the contract when instantiating a contract object.")},ContractOnceRequiresCallbackError:function(){return new Error("Once requires a callback as the second parameter.")},ContractEventDoesNotExistError:function(v){return new Error('Event "'+v+`" doesn't exist in this contract.`)},ContractReservedEventError:function(v){return new Error('The event "'+v+`" is a reserved event name, you can't use it.`)},ContractMissingDeployDataError:function(){return new Error('No "data" specified in neither the given options, nor the default options.')},ContractNoAddressDefinedError:function(){return new Error("This contract object doesn't have address set yet, please set an address first.")},ContractNoFromAddressDefinedError:function(){return new Error('No "from" address specified in neither the given options, nor the default options.')}}},2084:(R,y,c)=>{var h=c(8847),v=h(c(775)),p=h(c(3355));function l(a,d){var b=Object.keys(a);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(a);d&&(w=w.filter(function(g){return Object.getOwnPropertyDescriptor(a,g).enumerable})),b.push.apply(b,w)}return b}function t(a){for(var d=1;d<arguments.length;d++){var b=arguments[d]!=null?arguments[d]:{};d%2?l(Object(b),!0).forEach(function(w){(0,v.default)(a,w,b[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):l(Object(b)).forEach(function(w){Object.defineProperty(a,w,Object.getOwnPropertyDescriptor(b,w))})}return a}var s=c(8161),f=c(6),e=function(a){return s.toBN(a).toString(10)},u=function(a){if(a!==void 0)return function(d){return["latest","pending","earliest","finalized","safe"].includes(d)}(a)?a:a==="genesis"?"0x0":s.isHexStrict(a)?typeof a=="string"?a.toLowerCase():a:s.numberToHex(a)},n=function(a){if(a.to&&(a.to=o(a.to)),a.data&&a.input)throw new Error(`You can't have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.`);if(!a.data&&a.input&&(a.data=a.input,delete a.input),a.data&&!a.data.startsWith("0x")&&(a.data="0x"+a.data),a.data&&!s.isHex(a.data))throw new Error("The data field must be HEX encoded data.");return(a.gas||a.gasLimit)&&(a.gas=a.gas||a.gasLimit),(a.maxPriorityFeePerGas||a.maxFeePerGas)&&delete a.gasPrice,["gasPrice","gas","value","maxPriorityFeePerGas","maxFeePerGas","nonce"].filter(function(d){return a[d]!==void 0}).forEach(function(d){a[d]=s.numberToHex(a[d])}),a},i=function(a,d){return d||(a.blockNumber!==null&&(a.blockNumber=s.hexToNumber(a.blockNumber)),a.transactionIndex!==null&&(a.transactionIndex=s.hexToNumber(a.transactionIndex)),a.nonce=s.hexToNumber(a.nonce),a.gas=s.hexToNumber(a.gas),a.type&&(a.type=s.hexToNumber(a.type))),a.gasPrice&&(a.gasPrice=e(a.gasPrice)),a.maxFeePerGas&&(a.maxFeePerGas=e(a.maxFeePerGas)),a.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=e(a.maxPriorityFeePerGas)),a.value=e(a.value),a.to&&s.isAddress(a.to)?a.to=s.toChecksumAddress(a.to):a.to=null,a.from&&(a.from=s.toChecksumAddress(a.from)),a},r=function(a){if(typeof a.blockHash=="string"&&typeof a.transactionHash=="string"&&typeof a.logIndex=="string"){var d=s.sha3(a.blockHash.replace("0x","")+a.transactionHash.replace("0x","")+a.logIndex.replace("0x",""));a.id="log_"+d.replace("0x","").slice(0,8)}else a.id||(a.id=null);return a.blockNumber!==null&&(a.blockNumber=s.hexToNumber(a.blockNumber)),a.transactionIndex!==null&&(a.transactionIndex=s.hexToNumber(a.transactionIndex)),a.logIndex!==null&&(a.logIndex=s.hexToNumber(a.logIndex)),a.address&&(a.address=s.toChecksumAddress(a.address)),a},o=function(a){var d=new f(a);if(d.isValid()&&d.isDirect())return d.toAddress().toLowerCase();if(s.isAddress(a))return"0x"+a.toLowerCase().replace("0x","");throw new Error("Provided address ".concat(a," is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted."))};R.exports={inputDefaultBlockNumberFormatter:function(a){return u(this&&a==null?this.defaultBlock:a)},inputBlockNumberFormatter:u,inputCallFormatter:function(a){var d=(a=n(a)).from||(this?this.defaultAccount:null);return d&&(a.from=o(d)),a},inputTransactionFormatter:function(a){if(typeof(a=n(a)).from!="number"&&(!a.from||(0,p.default)(a.from)!=="object")){if(a.from=a.from||(this?this.defaultAccount:null),!a.from&&typeof a.from!="number")throw new Error('The send transactions "from" field must be defined!');a.from=o(a.from)}return a},inputAddressFormatter:o,inputPostFormatter:function(a){return a.ttl&&(a.ttl=s.numberToHex(a.ttl)),a.workToProve&&(a.workToProve=s.numberToHex(a.workToProve)),a.priority&&(a.priority=s.numberToHex(a.priority)),Array.isArray(a.topics)||(a.topics=a.topics?[a.topics]:[]),a.topics=a.topics.map(function(d){return d.indexOf("0x")===0?d:s.fromUtf8(d)}),a},inputLogFormatter:function(a){var d=function(b){return b==null?null:(b=String(b)).indexOf("0x")===0?b:s.fromUtf8(b)};return a===void 0&&(a={}),a.fromBlock===void 0&&(a=t(t({},a),{},{fromBlock:"latest"})),(a.fromBlock||a.fromBlock===0)&&(a.fromBlock=u(a.fromBlock)),(a.toBlock||a.toBlock===0)&&(a.toBlock=u(a.toBlock)),a.topics=a.topics||[],a.topics=a.topics.map(function(b){return Array.isArray(b)?b.map(d):d(b)}),d=null,a.address&&(a.address=Array.isArray(a.address)?a.address.map(function(b){return o(b)}):o(a.address)),a},inputSignFormatter:function(a){return s.isHexStrict(a)?a:s.utf8ToHex(a)},inputStorageKeysFormatter:function(a){return a.map(s.numberToHex)},outputProofFormatter:function(a){return a.address=s.toChecksumAddress(a.address),a.nonce=s.hexToNumberString(a.nonce),a.balance=s.hexToNumberString(a.balance),a},outputBigNumberFormatter:e,outputTransactionFormatter:i,outputTransactionReceiptFormatter:function(a){if((0,p.default)(a)!=="object")throw new Error("Received receipt is invalid: "+a);return this.hexFormat||(a.blockNumber!==null&&(a.blockNumber=s.hexToNumber(a.blockNumber)),a.transactionIndex!==null&&(a.transactionIndex=s.hexToNumber(a.transactionIndex)),a.cumulativeGasUsed=s.hexToNumber(a.cumulativeGasUsed),a.gasUsed=s.hexToNumber(a.gasUsed),a.effectiveGasPrice&&(a.effectiveGasPrice=s.hexToNumber(a.effectiveGasPrice))),Array.isArray(a.logs)&&(a.logs=a.logs.map(r)),a.contractAddress&&(a.contractAddress=s.toChecksumAddress(a.contractAddress)),a.status!==void 0&&a.status!==null&&(a.status=!!parseInt(a.status)),a},outputBlockFormatter:function(a,d){return d||(a.gasLimit=s.hexToNumber(a.gasLimit),a.gasUsed=s.hexToNumber(a.gasUsed),a.size=s.hexToNumber(a.size),a.timestamp=s.hexToNumber(a.timestamp),a.number!==null&&(a.number=s.hexToNumber(a.number))),a.difficulty&&(a.difficulty=e(a.difficulty)),a.totalDifficulty&&(a.totalDifficulty=e(a.totalDifficulty)),Array.isArray(a.transactions)&&a.transactions.forEach(function(b){if(typeof b!="string")return i(b,d)}),a.miner&&(a.miner=s.toChecksumAddress(a.miner)),a.baseFeePerGas&&(a.baseFeePerGas=s.hexToNumber(a.baseFeePerGas)),a},outputLogFormatter:r,outputPostFormatter:function(a){return a.expiry=s.hexToNumber(a.expiry),a.sent=s.hexToNumber(a.sent),a.ttl=s.hexToNumber(a.ttl),a.workProved=s.hexToNumber(a.workProved),a.topics||(a.topics=[]),a.topics=a.topics.map(function(d){return s.toUtf8(d)}),a},outputSyncingFormatter:function(a){return a.startingBlock=s.hexToNumber(a.startingBlock),a.currentBlock=s.hexToNumber(a.currentBlock),a.highestBlock=s.hexToNumber(a.highestBlock),a.knownStates&&(a.knownStates=s.hexToNumber(a.knownStates),a.pulledStates=s.hexToNumber(a.pulledStates)),a}}},1314:(R,y,c)=>{var h=c(4246),v=c(2084);R.exports={errors:h,formatters:v}},3349:(R,y,c)=>{var h=c(8847),v=h(c(2247)),p=h(c(4519)),l=h(c(775)),t=h(c(5698)),s=h(c(3355));function f(g,A){var T=Object.keys(g);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(g);A&&(S=S.filter(function(E){return Object.getOwnPropertyDescriptor(g,E).enumerable})),T.push.apply(T,S)}return T}function e(g){for(var A=1;A<arguments.length;A++){var T=arguments[A]!=null?arguments[A]:{};A%2?f(Object(T),!0).forEach(function(S){(0,l.default)(g,S,T[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(T)):f(Object(T)).forEach(function(S){Object.defineProperty(g,S,Object.getOwnPropertyDescriptor(T,S))})}return g}var u=c(1314).errors,n=c(1314).formatters,i=c(8161),r=c(282),o=c(4178).subscriptions,a=c(1936),d=function(g){if(!g.call||!g.name)throw new Error('When creating a method you need to provide at least the "name" and "call" property.');this.name=g.name,this.call=g.call,this.params=g.params||0,this.inputFormatter=g.inputFormatter,this.outputFormatter=g.outputFormatter,this.transformPayload=g.transformPayload,this.extraFormatters=g.extraFormatters,this.abiCoder=g.abiCoder,this.requestManager=g.requestManager,this.accounts=g.accounts,this.defaultBlock=g.defaultBlock||"latest",this.defaultAccount=g.defaultAccount||null,this.transactionBlockTimeout=g.transactionBlockTimeout||50,this.transactionConfirmationBlocks=g.transactionConfirmationBlocks||24,this.transactionPollingTimeout=g.transactionPollingTimeout||750,this.transactionPollingInterval=g.transactionPollingInterval||1e3,this.blockHeaderTimeout=g.blockHeaderTimeout||10,this.defaultCommon=g.defaultCommon,this.defaultChain=g.defaultChain,this.defaultHardfork=g.defaultHardfork,this.handleRevert=g.handleRevert};d.prototype.setRequestManager=function(g,A){this.requestManager=g,A&&(this.accounts=A)},d.prototype.createFunction=function(g,A){var T=this.buildCall();return Object.defineProperty(T,"call",{configurable:!0,writable:!0,value:this.call}),this.setRequestManager(g||this.requestManager,A||this.accounts),T},d.prototype.attachToObject=function(g){var A=this.buildCall();Object.defineProperty(A,"call",{configurable:!0,writable:!0,value:this.call});var T=this.name.split(".");T.length>1?(g[T[0]]=g[T[0]]||{},g[T[0]][T[1]]=A):g[T[0]]=A},d.prototype.getCall=function(g){return typeof this.call=="function"?this.call(g):this.call},d.prototype.extractCallback=function(g){if(typeof g[g.length-1]=="function")return g.pop()},d.prototype.validateArgs=function(g){if(g.length!==this.params)throw u.InvalidNumberOfParams(g.length,this.params,this.name)},d.prototype.formatInput=function(g){var A=this;return this.inputFormatter?this.inputFormatter.map(function(T,S){return T?T.call(A,g[S]):g[S]}):g},d.prototype.formatOutput=function(g){var A=this;return Array.isArray(g)?g.map(function(T){return A.outputFormatter&&T?A.outputFormatter(T,this==null?void 0:this.hexFormat):T}):this.outputFormatter&&g?this.outputFormatter(g,this==null?void 0:this.hexFormat):g},d.prototype.toPayload=function(g){var A=this.getCall(g),T=this.extractCallback(g),S=this.formatInput(g);this.validateArgs(S);var E={method:A,params:S,callback:T};return this.transformPayload&&(E=this.transformPayload(E)),E},d.prototype._confirmTransaction=function(g,A,T){var S=this,E=!1,k=!0,I=0,N=0,D=null,L=null,m=null,P=T.params[0]&&(0,s.default)(T.params[0])==="object"&&T.params[0].gas?T.params[0].gas:null,C=!!T.params[0]&&(0,s.default)(T.params[0])==="object"&&T.params[0].data&&T.params[0].from&&!T.params[0].to,B=C&&T.params[0].data.length>2,x=[new d({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[n.inputBlockNumberFormatter,function(J){return!!J}],outputFormatter:n.outputBlockFormatter}),new d({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:n.outputTransactionReceiptFormatter}),new d({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[n.inputAddressFormatter,n.inputDefaultBlockNumberFormatter]}),new d({name:"getTransactionByHash",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:n.outputTransactionFormatter}),new o({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:n.outputBlockFormatter}}})],j={};x.forEach(function(J){J.attachToObject(j),J.requestManager=S.requestManager});var K=function(J,O,F,G,H){if(!F)return H||(H={unsubscribe:function(){clearInterval(D),clearTimeout(L)}}),(J?r.resolve(J):j.getTransactionReceipt(A)).catch(function(M){H.unsubscribe(),E=!0,i._fireError({message:"Failed to check for transaction receipt:",data:M},g.eventEmitter,g.reject)}).then(function(){var M=(0,t.default)(v.default.mark(function _(U){var q,z,W;return v.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(U&&U.blockHash){Y.next=2;break}throw new Error("Receipt missing or blockHash null");case 2:if(S.extraFormatters&&S.extraFormatters.receiptFormatter&&(U=S.extraFormatters.receiptFormatter(U)),!(g.eventEmitter.listeners("confirmation").length>0)){Y.next=28;break}if(J!==void 0&&N===0){Y.next=25;break}return Y.next=7,j.getBlockByNumber("latest");case 7:if(z=Y.sent,W=z?z.hash:null,!O){Y.next=24;break}if(!m){Y.next=17;break}return Y.next=13,j.getBlockByNumber(m.number+1);case 13:(q=Y.sent)&&(m=q,g.eventEmitter.emit("confirmation",N,U,W)),Y.next=22;break;case 17:return Y.next=19,j.getBlockByNumber(U.blockNumber);case 19:q=Y.sent,m=q,g.eventEmitter.emit("confirmation",N,U,W);case 22:Y.next=25;break;case 24:g.eventEmitter.emit("confirmation",N,U,W);case 25:(O&&q||!O)&&N++,k=!1,N===S.transactionConfirmationBlocks+1&&(H.unsubscribe(),g.eventEmitter.removeAllListeners());case 28:return Y.abrupt("return",U);case 29:case"end":return Y.stop()}},_)}));return function(_){return M.apply(this,arguments)}}()).then(function(){var M=(0,t.default)(v.default.mark(function _(U){var q;return v.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(!C||E){z.next=19;break}if(U.contractAddress){z.next=5;break}return k&&(H.unsubscribe(),E=!0),i._fireError(u.NoContractAddressFoundError(U),g.eventEmitter,g.reject,null,U),z.abrupt("return");case 5:return z.prev=5,z.next=8,j.getCode(U.contractAddress);case 8:q=z.sent,z.next=13;break;case 11:z.prev=11,z.t0=z.catch(5);case 13:if(q){z.next=15;break}return z.abrupt("return");case 15:U.status===!0&&B||q.length>2?(g.eventEmitter.emit("receipt",U),S.extraFormatters&&S.extraFormatters.contractDeployFormatter?g.resolve(S.extraFormatters.contractDeployFormatter(U)):g.resolve(U),k&&g.eventEmitter.removeAllListeners()):i._fireError(u.ContractCodeNotStoredError(U),g.eventEmitter,g.reject,null,U),k&&H.unsubscribe(),E=!0;case 19:return z.abrupt("return",U);case 20:case"end":return z.stop()}},_,null,[[5,11]])}));return function(_){return M.apply(this,arguments)}}()).then(function(){var M=(0,t.default)(v.default.mark(function _(U){var q,z,W,Y;return v.default.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(C||E){X.next=35;break}if(U.outOfGas||P&&P===U.gasUsed||U.status!==!0&&U.status!=="0x1"&&U.status!==void 0){X.next=7;break}g.eventEmitter.emit("receipt",U),g.resolve(U),k&&g.eventEmitter.removeAllListeners(),X.next=33;break;case 7:if(JSON.stringify(U,null,2),U.status!==!1&&U.status!=="0x0"){X.next=32;break}if(X.prev=9,q=null,!S.handleRevert||S.call!=="eth_sendTransaction"&&S.call!=="eth_sendRawTransaction"){X.next=24;break}return z=T.params[0],S.call==="eth_sendRawTransaction"&&(W=T.params[0],Y=a.parse(W),z=n.inputTransactionFormatter({data:Y.data,to:Y.to,from:Y.from,gas:Y.gasLimit.toHexString(),gasPrice:Y.gasPrice?Y.gasPrice.toHexString():void 0,value:Y.value.toHexString()})),X.next=16,S.getRevertReason(z,U.blockNumber);case 16:if(!(q=X.sent)){X.next=21;break}i._fireError(u.TransactionRevertInstructionError(q.reason,q.signature,U),g.eventEmitter,g.reject,null,U),X.next=22;break;case 21:throw!1;case 22:X.next=25;break;case 24:throw!1;case 25:X.next=30;break;case 27:X.prev=27,X.t0=X.catch(9),i._fireError(u.TransactionRevertedWithoutReasonError(U),g.eventEmitter,g.reject,null,U);case 30:X.next=33;break;case 32:i._fireError(u.TransactionOutOfGasError(U),g.eventEmitter,g.reject,null,U);case 33:k&&H.unsubscribe(),E=!0;case 35:case"end":return X.stop()}},_,null,[[9,27]])}));return function(_){return M.apply(this,arguments)}}()).catch(function(){I++,O?I-1>=S.transactionPollingTimeout&&(H.unsubscribe(),E=!0,i._fireError(u.TransactionError("Transaction was not mined within "+S.transactionPollingTimeout+" seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!"),g.eventEmitter,g.reject)):I-1>=S.transactionBlockTimeout&&(H.unsubscribe(),E=!0,i._fireError(u.TransactionError("Transaction was not mined within "+S.transactionBlockTimeout+" blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!"),g.eventEmitter,g.reject))});H.unsubscribe(),E=!0,i._fireError({message:"Failed to subscribe to new newBlockHeaders to confirm the transaction receipts.",data:F},g.eventEmitter,g.reject)},V=(function(J){var O=!1,F=function(){D=setInterval(K.bind(null,J,!0),S.transactionPollingInterval)};if(!this.requestManager.provider.on)return F();j.subscribe("newBlockHeaders",function(G,H,M){if(O=!0,G||!H)return F();K(J,!1,G,0,M)}),L=setTimeout(function(){O||F()},1e3*this.blockHeaderTimeout)}).bind(this);j.getTransactionReceipt(A).then(function(J){J&&J.blockHash?(g.eventEmitter.listeners("confirmation").length>0&&V(J),K(J,!1)):E||V()}).catch(function(){E||V()})};var b=function(g,A){return typeof g=="number"?A.wallet[g]:g&&(0,s.default)(g)==="object"&&g.address&&g.privateKey?g:A.wallet[g.toLowerCase()]};function w(g,A){return new Promise(function(T,S){try{var E=new d({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[function(I){return I?i.toHex(I):"latest"},function(){return!1}]}).createFunction(g.requestManager),k=new d({name:"getGasPrice",call:"eth_gasPrice",params:0}).createFunction(g.requestManager);Promise.all([E(),k()]).then(function(I){var N=(0,p.default)(I,2),D=N[0],L=N[1];if((A.type==="0x2"||A.type===void 0)&&D&&D.baseFeePerGas){var m,P;A.gasPrice?(m=A.gasPrice,P=A.gasPrice,delete A.gasPrice):(m=A.maxPriorityFeePerGas||"0x9502F900",P=A.maxFeePerGas||i.toHex(i.toBN(D.baseFeePerGas).mul(i.toBN(2)).add(i.toBN(m)))),T({maxFeePerGas:P,maxPriorityFeePerGas:m})}else{if(A.maxPriorityFeePerGas||A.maxFeePerGas)throw Error("Network doesn't support eip-1559");T({gasPrice:L})}})}catch(I){S(I)}})}d.prototype.buildCall=function(){var g=this,A=g.call==="eth_sendTransaction"||g.call==="eth_sendRawTransaction",T=g.call==="eth_call",S=function(){var E=Array.prototype.slice.call(arguments),k=r(!A),I=g.toPayload(E);g.hexFormat=!1,g.call!=="eth_getTransactionReceipt"&&g.call!=="eth_getTransactionByHash"&&g.name!=="getBlock"||(g.hexFormat=I.params.length<E.length&&E[E.length-1]==="hex");var N=function(m,P){var C;if(g.handleRevert&&T&&g.abiCoder&&(!m&&g.isRevertReasonString(P)?C=P.substring(10):m&&m.data&&(C=m.data.substring(10)),C)){var B=g.abiCoder.decodeParameter("string","0x"+C),x="Error(String)";i._fireError(u.RevertInstructionError(B,x),k.eventEmitter,k.reject,I.callback,{reason:B,signature:x})}else{try{P=g.formatOutput(P)}catch(j){m=j}if(P instanceof Error&&(m=P),m)return m.error&&(m=m.error),i._fireError(m,k.eventEmitter,k.reject,I.callback);I.callback&&I.callback(null,P),A?(k.eventEmitter.emit("transactionHash",P),g._confirmTransaction(k,P,I)):m||k.resolve(P)}},D=function(m){var P=e(e({},I),{},{method:"eth_sendRawTransaction",params:[m.rawTransaction]});g.requestManager.send(P,N)},L=function(m,P){var C;if(P&&P.accounts&&P.accounts.wallet&&P.accounts.wallet.length){if(m.method==="eth_sendTransaction"){var B=m.params[0];if((C=b(B&&(0,s.default)(B)==="object"?B.from:null,P.accounts))&&C.privateKey)return delete(B=JSON.parse(JSON.stringify(B))).from,P.defaultChain&&!B.chain&&(B.chain=P.defaultChain),P.defaultHardfork&&!B.hardfork&&(B.hardfork=P.defaultHardfork),P.defaultCommon&&!B.common&&(B.common=P.defaultCommon),void P.accounts.signTransaction(B,C.privateKey).then(D).catch(function(K){if(typeof k.eventEmitter.listeners=="function"&&k.eventEmitter.listeners("error").length){try{k.eventEmitter.emit("error",K)}catch{}k.eventEmitter.removeAllListeners(),k.eventEmitter.catch(function(){})}k.reject(K)})}else if(m.method==="eth_sign"){var x=m.params[1];if((C=b(m.params[0],P.accounts))&&C.privateKey){var j=P.accounts.sign(x,C.privateKey);return m.callback&&m.callback(null,j.signature),void k.resolve(j.signature)}}}return P.requestManager.send(m,N)};return A&&I.params[0]&&(0,s.default)(I.params[0])==="object"&&I.params[0].gasPrice===void 0&&(I.params[0].maxPriorityFeePerGas===void 0||I.params[0].maxFeePerGas===void 0)?w(g,I.params[0]).then(function(m){m.gasPrice!==void 0?I.params[0].gasPrice=m.gasPrice:m.maxPriorityFeePerGas!==void 0&&m.maxFeePerGas!==void 0&&(I.params[0].maxPriorityFeePerGas=m.maxPriorityFeePerGas,I.params[0].maxFeePerGas=m.maxFeePerGas),A&&setTimeout(function(){k.eventEmitter.emit("sending",I)},0),L(I,g)}):(A&&setTimeout(function(){k.eventEmitter.emit("sending",I)},0),L(I,g)),A&&setTimeout(function(){k.eventEmitter.emit("sent",I)},0),k.eventEmitter};return S.method=g,S.request=this.request.bind(this),S},d.prototype.getRevertReason=function(g,A){var T=this;return new Promise(function(S,E){new d({name:"call",call:"eth_call",params:2,abiCoder:T.abiCoder,handleRevert:!0}).createFunction(T.requestManager)(g,i.numberToHex(A)).then(function(){S(!1)}).catch(function(k){k.reason?S({reason:k.reason,signature:k.signature}):E(k)})})},d.prototype.isRevertReasonString=function(g){return typeof g=="string"&&(g.length-2)/2%32==4&&g.substring(0,10)==="0x08c379a0"},d.prototype.request=function(){var g=this.toPayload(Array.prototype.slice.call(arguments));return g.format=this.formatOutput.bind(this),g},R.exports=d},282:(R,y,c)=>{var h=c(8008),v=function(p){var l,t,s=new Promise(function(){l=arguments[0],t=arguments[1]});if(p)return{resolve:l,reject:t,eventEmitter:s};var f=new h;return s._events=f._events,s.emit=f.emit,s.on=f.on,s.once=f.once,s.off=f.off,s.listeners=f.listeners,s.addListener=f.addListener,s.removeListener=f.removeListener,s.removeAllListeners=f.removeAllListeners,{resolve:l,reject:t,eventEmitter:s}};v.resolve=function(p){var l=v(!0);return l.resolve(p),l.eventEmitter},R.exports=v},5229:(R,y,c)=>{var h=c(8155),v=c(1314).errors,p=function(l){this.requestManager=l,this.requests=[]};p.prototype.add=function(l){this.requests.push(l)},p.prototype.execute=function(){var l=this.requests,t=this._sortResponses.bind(this);this.requestManager.sendBatch(l,function(s,f){f=t(f),l.map(function(e,u){return f[u]||{}}).forEach(function(e,u){if(l[u].callback){if(e&&e.error)return l[u].callback(v.ErrorResponse(e));if(!h.isValidResponse(e))return l[u].callback(v.InvalidResponse(e));try{l[u].callback(null,l[u].format?l[u].format(e.result):e.result)}catch(n){l[u].callback(n)}}})})},p.prototype._sortResponses=function(l){return(l||[]).sort(function(t,s){return t.id-s.id})},R.exports=p},9764:(R,y,c)=>{var h=c(8847)(c(3355)),v=null,p=(typeof globalThis>"u"?"undefined":(0,h.default)(globalThis))==="object"?globalThis:void 0;if(!p)try{p=Function("return this")()}catch{p=self}p.ethereum!==void 0?v=p.ethereum:p.web3!==void 0&&p.web3.currentProvider&&(p.web3.currentProvider.sendAsync&&(p.web3.currentProvider.send=p.web3.currentProvider.sendAsync,delete p.web3.currentProvider.sendAsync),!p.web3.currentProvider.on&&p.web3.currentProvider.connection&&p.web3.currentProvider.connection.constructor.name==="ipcProviderWrapper"&&(p.web3.currentProvider.on=function(l,t){if(typeof t!="function")throw new Error("The second parameter callback must be a function.");l==="data"?this.connection.on("data",function(s){var f="";s=s.toString();try{f=JSON.parse(s)}catch{return t(new Error("Couldn't parse response data"+s))}f.id||f.method.indexOf("_subscription")===-1||t(null,f)}):this.connection.on(l,t)}),v=p.web3.currentProvider),R.exports=v},2033:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(5058).callbackify,p=c(1314).errors,l=c(8155),t=c(5229),s=c(9764),f=function e(u,n){this.provider=null,this.providers=e.providers,this.setProvider(u,n),this.subscriptions=new Map};f.givenProvider=s,f.providers={WebsocketProvider:c(7651),HttpProvider:c(4565),IpcProvider:c(2683)},f.prototype.setProvider=function(e,u){var n=this;if(e&&typeof e=="string"&&this.providers){if(/^http(s)?:\/\//i.test(e))e=new this.providers.HttpProvider(e);else if(/^ws(s)?:\/\//i.test(e))e=new this.providers.WebsocketProvider(e);else if(e&&(0,h.default)(u)==="object"&&typeof u.connect=="function")e=new this.providers.IpcProvider(e,u);else if(e)throw new Error(`Can't autodetect provider for "`+e+'"')}this.provider&&this.provider.connected&&this.clearSubscriptions(),this.provider=e||null,this.provider&&this.provider.on&&(typeof e.request=="function"?this.provider.on("message",function(i){if(i&&i.type==="eth_subscription"&&i.data){var r=i.data;r.subscription&&n.subscriptions.has(r.subscription)&&n.subscriptions.get(r.subscription).callback(null,r.result)}}):this.provider.on("data",function(i,r){(i=i||r).method&&i.params&&i.params.subscription&&n.subscriptions.has(i.params.subscription)&&n.subscriptions.get(i.params.subscription).callback(null,i.params.result)}),this.provider.on("connect",function(){n.subscriptions.forEach(function(i){i.subscription.resubscribe()})}),this.provider.on("error",function(i){n.subscriptions.forEach(function(r){r.callback(i)})}),this.provider.on("disconnect",function(i){n._isCleanCloseEvent(i)&&!n._isIpcCloseError(i)||(n.subscriptions.forEach(function(r){r.callback(p.ConnectionCloseError(i)),n.subscriptions.delete(r.subscription.id)}),n.provider&&n.provider.emit&&n.provider.emit("error",p.ConnectionCloseError(i))),n.provider&&n.provider.emit&&n.provider.emit("end",i)}))},f.prototype.send=function(e,u){if(u=u||function(){},!this.provider)return u(p.InvalidProvider());var n=e.method,i=e.params,r=l.toPayload(n,i),o=this._jsonrpcResultCallback(u,r);if(this.provider.request)v(this.provider.request.bind(this.provider))({method:n,params:i},u);else if(this.provider.sendAsync)this.provider.sendAsync(r,o);else{if(!this.provider.send)throw new Error("Provider does not have a request or send method to use.");this.provider.send(r,o)}},f.prototype.sendBatch=function(e,u){if(!this.provider)return u(p.InvalidProvider());var n=l.toBatchPayload(e);this.provider[this.provider.sendAsync?"sendAsync":"send"](n,function(i,r){return i?u(i):Array.isArray(r)?void u(null,r):u(p.InvalidResponse(r))})},f.prototype.addSubscription=function(e,u){if(!this.provider.on)throw new Error("The provider doesn't support subscriptions: "+this.provider.constructor.name);this.subscriptions.set(e.id,{callback:u,subscription:e})},f.prototype.removeSubscription=function(e,u){if(this.subscriptions.has(e)){var n=this.subscriptions.get(e).subscription.options.type;return this.subscriptions.delete(e),void this.send({method:n+"_unsubscribe",params:[e]},u)}typeof u=="function"&&u(null)},f.prototype.clearSubscriptions=function(e){try{var u=this;return this.subscriptions.size>0&&this.subscriptions.forEach(function(n,i){e&&n.name==="syncing"||u.removeSubscription(i)}),this.provider.reset&&this.provider.reset(),!0}catch(n){throw new Error("Error while clearing subscriptions: ".concat(n))}},f.prototype._isCleanCloseEvent=function(e){return(0,h.default)(e)==="object"&&([1e3].includes(e.code)||e.wasClean===!0)},f.prototype._isIpcCloseError=function(e){return typeof e=="boolean"&&e},f.prototype._jsonrpcResultCallback=function(e,u){return function(n,i){return i&&i.id&&u.id!==i.id?e(new Error("Wrong response id ".concat(i.id," (expected: ").concat(u.id,") in ").concat(JSON.stringify(u)))):n?e(n):i&&i.error?e(p.ErrorResponse(i)):l.isValidResponse(i)?void e(null,i.result):e(p.InvalidResponse(i))}},R.exports={Manager:f,BatchManager:t}},8155:R=>{var y={messageId:Math.floor(Math.random()*Number.MAX_SAFE_INTEGER),toPayload:function(c,h){if(!c)throw new Error('JSONRPC method should be specified for params: "'+JSON.stringify(h)+'"!');return y.messageId===Number.MAX_SAFE_INTEGER?y.messageId=Math.floor(Math.random()*Number.MAX_SAFE_INTEGER):y.messageId++,{jsonrpc:"2.0",id:y.messageId,method:c,params:h||[]}},isValidResponse:function(c){return Array.isArray(c)?c.every(h):h(c);function h(v){return!(!v||v.error||v.jsonrpc!=="2.0"||typeof v.id!="number"&&typeof v.id!="string"||v.result===void 0)}},toBatchPayload:function(c){return c.map(function(h){return y.toPayload(h.method,h.params)})}};R.exports=y},4178:(R,y,c)=>{var h=c(2929),v=function(p){this.name=p.name,this.type=p.type,this.subscriptions=p.subscriptions||{},this.requestManager=null};v.prototype.setRequestManager=function(p){this.requestManager=p},v.prototype.attachToObject=function(p){var l=this.buildCall(),t=this.name.split(".");t.length>1?(p[t[0]]=p[t[0]]||{},p[t[0]][t[1]]=l):p[t[0]]=l},v.prototype.buildCall=function(){var p=this;return function(){p.subscriptions[arguments[0]]||console.warn("Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway.");var l=new h({subscription:p.subscriptions[arguments[0]]||{},requestManager:p.requestManager,type:p.type});return l.subscribe.apply(l,arguments)}},R.exports={subscriptions:v,subscription:h}},2929:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1314).errors,p=c(8008),l=c(1314).formatters;function t(f){return f}function s(f){p.call(this),this.id=null,this.callback=t,this.arguments=null,this.lastBlock=null,this.options={subscription:f.subscription,type:f.type,requestManager:f.requestManager}}s.prototype=Object.create(p.prototype),s.prototype.constructor=s,s.prototype._extractCallback=function(f){if(typeof f[f.length-1]=="function")return f.pop()},s.prototype._validateArgs=function(f){var e=this.options.subscription;if(e||(e={}),e.params||(e.params=0),f.length!==e.params)throw v.InvalidNumberOfParams(f.length,e.params,e.subscriptionName)},s.prototype._formatInput=function(f){var e=this.options.subscription;return e&&e.inputFormatter?e.inputFormatter.map(function(u,n){return u?u(f[n]):f[n]}):f},s.prototype._formatOutput=function(f){var e=this.options.subscription;return e&&e.outputFormatter&&f?e.outputFormatter(f):f},s.prototype._toPayload=function(f){var e=[];if(this.callback=this._extractCallback(f)||t,this.subscriptionMethod||(this.subscriptionMethod=f.shift(),this.options.subscription.subscriptionName&&(this.subscriptionMethod=this.options.subscription.subscriptionName)),this.arguments||(this.arguments=this._formatInput(f),this._validateArgs(this.arguments),f=[]),e.push(this.subscriptionMethod),e=e.concat(this.arguments),f.length)throw new Error("Only a callback is allowed as parameter on an already instantiated subscription.");return{method:this.options.type+"_subscribe",params:e}},s.prototype.unsubscribe=function(f){this.options.requestManager.removeSubscription(this.id,f),this.id=null,this.lastBlock=null,this.removeAllListeners()},s.prototype.subscribe=function(){var f=this,e=Array.prototype.slice.call(arguments),u=this._toPayload(e);if(!u)return this;if(!this.options.requestManager.provider)return setTimeout(function(){var i=new Error("No provider set.");f.callback(i,null,f),f.emit("error",i)},0),this;if(!this.options.requestManager.provider.on)return setTimeout(function(){var i=new Error("The current provider doesn't support subscriptions: "+f.options.requestManager.provider.constructor.name);f.callback(i,null,f),f.emit("error",i)},0),this;if(this.lastBlock&&this.options.params&&(0,h.default)(this.options.params)==="object"&&(u.params[1]=this.options.params,u.params[1].fromBlock=l.inputBlockNumberFormatter(this.lastBlock+1)),this.id&&this.unsubscribe(),this.options.params=u.params[1],u.params[0]==="logs"&&u.params[1]&&(0,h.default)(u.params[1])==="object"&&u.params[1].hasOwnProperty("fromBlock")&&isFinite(u.params[1].fromBlock)){var n=Object.assign({},u.params[1]);this.options.requestManager.send({method:"eth_getLogs",params:[n]},function(i,r){i?setTimeout(function(){f.callback(i,null,f),f.emit("error",i)},0):r.forEach(function(o){var a=f._formatOutput(o);f.callback(null,a,f),f.emit("data",a)})})}return(0,h.default)(u.params[1])==="object"&&delete u.params[1].fromBlock,this.options.requestManager.send(u,function(i,r){!i&&r?(f.id=r,f.method=u.params[0],f.options.requestManager.addSubscription(f,function(o,a){o?(f.callback(o,!1,f),f.emit("error",o)):(Array.isArray(a)||(a=[a]),a.forEach(function(d){var b=f._formatOutput(d);if(f.lastBlock=b&&(0,h.default)(b)==="object"?b.blockNumber:null,typeof f.options.subscription.subscriptionHandler=="function")return f.options.subscription.subscriptionHandler.call(f,b);f.emit("data",b),f.callback(null,b,f)}))}),f.emit("connected",r)):setTimeout(function(){f.callback(i,!1,f),f.emit("error",i)},0)}),this},s.prototype.resubscribe=function(){this.options.requestManager.removeSubscription(this.id),this.id=null,this.subscribe(this.callback)},R.exports=s},9907:(R,y,c)=>{var h=c(1314).formatters,v=c(3349),p=c(8161);R.exports=function(l){var t=function(s){var f;return s.property?(l[s.property]||(l[s.property]={}),f=l[s.property]):f=l,s.methods&&s.methods.forEach(function(e){e instanceof v||(e=new v(e)),e.attachToObject(f),e.setRequestManager(l._requestManager)}),l};return t.formatters=h,t.utils=p,t.Method=v,t}},606:(R,y,c)=>{var h=c(2033),v=c(9907);R.exports={packageInit:function(p,l){if(l=Array.prototype.slice.call(l),!p)throw new Error('You need to instantiate using the "new" keyword.');Object.defineProperty(p,"currentProvider",{get:function(){return p._provider},set:function(t){return p.setProvider(t)},enumerable:!0,configurable:!0}),l[0]&&l[0]._requestManager?p._requestManager=l[0]._requestManager:p._requestManager=new h.Manager(l[0],l[1]),p.givenProvider=h.Manager.givenProvider,p.providers=h.Manager.providers,p._provider=p._requestManager.provider,p.setProvider||(p.setProvider=function(t,s){return p._requestManager.setProvider(t,s),p._provider=p._requestManager.provider,!0}),p.setRequestManager=function(t){p._requestManager=t,p._provider=t.provider},p.BatchRequest=h.BatchManager.bind(null,p._requestManager),p.extend=v(p)},addProviders:function(p){p.givenProvider=h.Manager.givenProvider,p.providers=h.Manager.providers}}},9901:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(9033).Buffer,p=c(8161),l=c(2914).RQ,t=c(2914)._R,s=new l(function(n,i){return!n.match(/^u?int/)||Array.isArray(i)||i&&(0,h.default)(i)==="object"&&i.constructor.name==="BN"?i:i.toString()});function f(){}var e=function(){};e.prototype.encodeFunctionSignature=function(n){return(typeof n=="function"||(0,h.default)(n)==="object"&&n)&&(n=p._jsonInterfaceMethodToString(n)),p.sha3(n).slice(0,10)},e.prototype.encodeEventSignature=function(n){return(typeof n=="function"||(0,h.default)(n)==="object"&&n)&&(n=p._jsonInterfaceMethodToString(n)),p.sha3(n)},e.prototype.encodeParameter=function(n,i){return this.encodeParameters([n],[i])},e.prototype.encodeParameters=function(n,i){var r=this;return n=r.mapTypes(n),i=i.map(function(o,a){var d=n[a];return(0,h.default)(d)==="object"&&d.type&&(d=d.type),o=r.formatParam(d,o),typeof d=="string"&&d.includes("tuple")&&function b(w,g){if(w.name==="array"){if(!w.type.match(/\[(\d+)\]/))return g.map(function(T){return b(s._getCoder(t.from(w.type.replace("[]",""))),T)});var A=parseInt(w.type.match(/\[(\d+)\]/)[1]);if(g.length!==A)throw new Error("Array length does not matches with the given input");return g.map(function(T){return b(s._getCoder(t.from(w.type.replace(/\[\d+\]/,""))),T)})}w.coders.forEach(function(T,S){T.name==="tuple"?b(T,g[S]):g[S]=r.formatParam(T.name,g[S])})}(s._getCoder(t.from(d)),o),o}),s.encode(n,i)},e.prototype.mapTypes=function(n){var i=this,r=[];return n.forEach(function(o){if((0,h.default)(o)==="object"&&o.type==="function"&&(o=Object.assign({},o,{type:"bytes24"})),i.isSimplifiedStructFormat(o)){var a=Object.keys(o)[0];r.push(Object.assign(i.mapStructNameAndType(a),{components:i.mapStructToCoderFormat(o[a])}))}else r.push(o)}),r},e.prototype.isSimplifiedStructFormat=function(n){return(0,h.default)(n)==="object"&&n.components===void 0&&n.name===void 0},e.prototype.mapStructNameAndType=function(n){var i="tuple";return n.indexOf("[]")>-1&&(i="tuple[]",n=n.slice(0,-2)),{type:i,name:n}},e.prototype.mapStructToCoderFormat=function(n){var i=this,r=[];return Object.keys(n).forEach(function(o){(0,h.default)(n[o])!=="object"?r.push({name:o,type:n[o]}):r.push(Object.assign(i.mapStructNameAndType(o),{components:i.mapStructToCoderFormat(n[o])}))}),r},e.prototype.formatParam=function(n,i){var r=this,o=new RegExp(/^bytes([0-9]*)$/),a=new RegExp(/^bytes([0-9]*)\[\]$/),d=new RegExp(/^(u?int)([0-9]*)$/),b=new RegExp(/^(u?int)([0-9]*)\[\]$/);if(p.isBN(i)||p.isBigNumber(i))return i.toString(10);if(n.match(a)||n.match(b))return i.map(function(S){return r.formatParam(n.replace("[]",""),S)});var w=n.match(d);if(w){var g=parseInt(w[2]||"256");g/8<i.length&&(i=p.leftPad(i,g))}if(w=n.match(o)){v.isBuffer(i)&&(i=p.toHex(i));var A=parseInt(w[1]);if(A){var T=2*A;i.substring(0,2)==="0x"&&(T+=2),i.length<T&&(i=p.rightPad(i,2*A))}i.length%2==1&&(i="0x0"+i.substring(2))}return i},e.prototype.encodeFunctionCall=function(n,i){return this.encodeFunctionSignature(n)+this.encodeParameters(n.inputs,i).replace("0x","")},e.prototype.decodeParameter=function(n,i){return this.decodeParameters([n],i)[0]},e.prototype.decodeParameters=function(n,i){return this.decodeParametersWith(n,i,!1)},e.prototype.decodeParametersWith=function(n,i,r){if(n.length>0&&(!i||i==="0x"||i==="0X"))throw new Error("Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.");var o=s.decode(this.mapTypes(n),"0x"+i.replace(/0x/i,""),r),a=new f;return a.__length__=0,n.forEach(function(d,b){var w=o[a.__length__],g=(0,h.default)(d)==="object"&&d.type&&d.type==="string";w=w!=="0x"||g||typeof d=="string"&&d==="string"?w:null,a[b]=w,(typeof d=="function"||d&&(0,h.default)(d)==="object")&&d.name&&(a[d.name]=w),a.__length__++}),a},e.prototype.decodeLog=function(n,i,r){var o=this;r=Array.isArray(r)?r:[r],i=i||"";var a=[],d=[],b=0;n.forEach(function(T,S){T.indexed?(d[S]=["bool","int","uint","address","fixed","ufixed"].find(function(E){return T.type.indexOf(E)!==-1})?o.decodeParameter(T.type,r[b]):r[b],b++):a[S]=T});var w=i,g=w?this.decodeParametersWith(a,w,!0):[],A=new f;return A.__length__=0,n.forEach(function(T,S){A[S]=T.type==="string"?"":null,g[S]!==void 0&&(A[S]=g[S]),d[S]!==void 0&&(A[S]=d[S]),T.name&&(A[T.name]=A[S]),A.__length__++}),A};var u=new e;R.exports=u},9819:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847),p=v(c(3106)),l=v(c(3355)),t=v(c(775)),s=v(c(4519));function f(L,m){var P=Object.keys(L);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(L);m&&(C=C.filter(function(B){return Object.getOwnPropertyDescriptor(L,B).enumerable})),P.push.apply(P,C)}return P}function e(L){for(var m=1;m<arguments.length;m++){var P=arguments[m]!=null?arguments[m]:{};m%2?f(Object(P),!0).forEach(function(C){(0,t.default)(L,C,P[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(P)):f(Object(P)).forEach(function(C){Object.defineProperty(L,C,Object.getOwnPropertyDescriptor(P,C))})}return L}function u(L,m){(m==null||m>L.length)&&(m=L.length);for(var P=0,C=new Array(m);P<m;P++)C[P]=L[P];return C}var n=c(606),i=c(3349),r=c(3058),o=c(4293),a=c(7799),d=c(2679),b=c(8161),w=c(1314),g=c(2339).TransactionFactory,A=c(3863).default,T=c(3863).Hardfork,S=c(3062),E=function(L){return L==null},k=function(L){return L!=null},I=function(){var L=this;n.packageInit(this,arguments),delete this.BatchRequest,delete this.extend;var m=[new i({name:"getNetworkId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"getChainId",call:"eth_chainId",params:0,outputFormatter:b.hexToNumber}),new i({name:"getGasPrice",call:"eth_gasPrice",params:0}),new i({name:"getTransactionCount",call:"eth_getTransactionCount",params:2,inputFormatter:[function(P){if(b.isAddress(P))return P;throw new Error("Address "+P+' is not a valid address to get the "transactionCount".')},function(){return"latest"}]}),new i({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[function(P){return P?b.toHex(P):"latest"},function(){return!1}]})];this._ethereumCall={},m.forEach(function(P){P.attachToObject(L._ethereumCall),P.setRequestManager(L._requestManager)}),this.wallet=new D(this)};function N(L,m){return new Promise(function(P,C){try{(m.type===void 0||m.type<"0x2")&&m.gasPrice!==void 0?P({gasPrice:m.gasPrice}):m.type==="0x2"&&m.maxFeePerGas&&m.maxPriorityFeePerGas?P({maxFeePerGas:m.maxFeePerGas,maxPriorityFeePerGas:m.maxPriorityFeePerGas}):Promise.all([L._ethereumCall.getBlockByNumber(),L._ethereumCall.getGasPrice()]).then(function(B){var x=(0,s.default)(B,2),j=x[0],K=x[1];if(m.type==="0x2"&&j&&j.baseFeePerGas){var V,J;m.gasPrice?(V=m.gasPrice,J=m.gasPrice,delete m.gasPrice):(V=m.maxPriorityFeePerGas||"0x9502F900",J=m.maxFeePerGas||b.toHex(b.toBN(j.baseFeePerGas).mul(b.toBN(2)).add(b.toBN(V)))),P({maxFeePerGas:J,maxPriorityFeePerGas:V})}else{if(m.maxPriorityFeePerGas||m.maxFeePerGas)throw Error("Network doesn't support eip-1559");P({gasPrice:K})}}).catch(function(B){C(B)})}catch(B){C(B)}})}function D(L){this._accounts=L,this.length=0,this.defaultKeyName="web3js_wallet"}I.prototype._addAccountFunctions=function(L){var m=this;return L.signTransaction=function(P,C){return m.signTransaction(P,L.privateKey,C)},L.sign=function(P){return m.sign(P,L.privateKey)},L.encrypt=function(P,C){return m.encrypt(L.privateKey,P,C)},L},I.prototype.create=function(L){return this._addAccountFunctions(r.create(L||b.randomHex(32)))},I.prototype.privateKeyToAccount=function(L,m){if(L.startsWith("0x")||(L="0x"+L),!m&&L.length!==66)throw new Error("Private key must be 32 bytes long");return this._addAccountFunctions(r.fromPrivate(L))},I.prototype.signTransaction=function(L,m,P){var C=this,B=!1,x={},j=!(!L||!(L.chain&&L.hardfork||L.common));if(P=P||function(){},!L)return B=new Error("No transaction object given!"),P(B),Promise.reject(B);if(k(L.common)&&E(L.common.customChain))return B=new Error("If tx.common is provided it must have tx.common.customChain"),P(B),Promise.reject(B);if(k(L.common)&&E(L.common.customChain.chainId))return B=new Error("If tx.common is provided it must have tx.common.customChain and tx.common.customChain.chainId"),P(B),Promise.reject(B);if(k(L.common)&&k(L.common.customChain.chainId)&&k(L.chainId)&&L.chainId!==L.common.customChain.chainId)return B=new Error("Chain Id doesnt match in tx.chainId tx.common.customChain.chainId"),P(B),Promise.reject(B);function K(V){var J=function(Y){if(Y.common&&Y.chain&&Y.hardfork)return new Error("Please provide the @ethereumjs/common object or the chain and hardfork property but not all together.");if(Y.chain&&!Y.hardfork||Y.hardfork&&!Y.chain)return new Error('When specifying chain and hardfork, both values must be defined. Received "chain": '+Y.chain+', "hardfork": '+Y.hardfork);if(!(Y.gas||Y.gasLimit||Y.maxPriorityFeePerGas||Y.maxFeePerGas))return new Error('"gas" is missing');if(Y.gas&&Y.gasPrice){if(Y.gas<0||Y.gasPrice<0)return new Error("Gas or gasPrice is lower than 0")}else if(Y.maxPriorityFeePerGas<0||Y.maxFeePerGas<0)return new Error("maxPriorityFeePerGas or maxFeePerGas is lower than 0");return Y.nonce<0||Y.chainId<0?new Error("Nonce or chainId is lower than 0"):void 0}(V);if(J)return P(J),Promise.reject(J);try{var O=w.formatters.inputCallFormatter(Object.assign({},V));O.data=O.data||"0x",O.value=O.value||"0x",O.gasLimit=O.gasLimit||O.gas,O.type==="0x1"&&O.accessList===void 0&&(O.accessList=[]),j?(O.common&&(x.common=A.forCustomChain(O.common.baseChain||"mainnet",{name:O.common.customChain.name||"custom-network",networkId:O.common.customChain.networkId,chainId:O.common.customChain.chainId},O.common.hardfork||T.London),delete O.common),O.chain&&(x.chain=O.chain,delete O.chain),O.hardfork&&(x.hardfork=O.hardfork,delete O.hardfork)):(x.common=A.forCustomChain("mainnet",{name:"custom-network",networkId:O.networkId,chainId:O.chainId},O.hardfork||T.London),delete O.networkId),m.startsWith("0x")&&(m=m.substring(2));var F=g.fromTxData(O,x).sign(h.from(m,"hex")),G=F.validate(!0);if(G.length>0){var H,M="Signer Error: ",_=function(Y,X){var Q=typeof Symbol<"u"&&Y[Symbol.iterator]||Y["@@iterator"];if(!Q){if(Array.isArray(Y)||(Q=function(tt,ot){if(tt){if(typeof tt=="string")return u(tt,ot);var it=Object.prototype.toString.call(tt).slice(8,-1);return it==="Object"&&tt.constructor&&(it=tt.constructor.name),it==="Map"||it==="Set"?Array.from(tt):it==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(it)?u(tt,ot):void 0}}(Y))||X&&Y&&typeof Y.length=="number"){Q&&(Y=Q);var $=0,Z=function(){};return{s:Z,n:function(){return $>=Y.length?{done:!0}:{done:!1,value:Y[$++]}},e:function(tt){throw tt},f:Z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
50
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var et,rt=!0,nt=!1;return{s:function(){Q=Q.call(Y)},n:function(){var tt=Q.next();return rt=tt.done,tt},e:function(tt){nt=!0,et=tt},f:function(){try{rt||Q.return==null||Q.return()}finally{if(nt)throw et}}}}(G);try{for(_.s();!(H=_.n()).done;){var U=H.value;M+="".concat(M," ").concat(U,".")}}catch(Y){_.e(Y)}finally{_.f()}throw new Error(M)}var q="0x"+F.serialize().toString("hex"),z=b.keccak256(q),W={messageHash:"0x"+h.from(F.getMessageToSign(!0)).toString("hex"),v:"0x"+F.v.toString("hex"),r:"0x"+F.r.toString("hex"),s:"0x"+F.s.toString("hex"),rawTransaction:q,transactionHash:z};return P(null,W),W}catch(Y){return P(Y),Promise.reject(Y)}}return L.type=function(V){var J,O=V.maxFeePerGas!==void 0||V.maxPriorityFeePerGas!==void 0;if(V.type!==void 0?J=b.toHex(V.type):V.type===void 0&&O&&(J="0x2"),V.gasPrice!==void 0&&(J==="0x2"||O))throw Error("eip-1559 transactions don't support gasPrice");if((J==="0x1"||J==="0x0")&&O)throw Error("pre-eip-1559 transaction don't support maxFeePerGas/maxPriorityFeePerGas");return O||V.common&&V.common.hardfork&&V.common.hardfork.toLowerCase()===T.London||V.hardfork&&V.hardfork.toLowerCase()===T.London?J="0x2":(V.accessList||V.common&&V.common.hardfork&&V.common.hardfork.toLowerCase()===T.Berlin||V.hardfork&&V.hardfork.toLowerCase()===T.Berlin)&&(J="0x1"),J}(L),L.nonce!==void 0&&L.chainId!==void 0&&(L.gasPrice!==void 0||L.maxFeePerGas!==void 0&&L.maxPriorityFeePerGas!==void 0)&&j?Promise.resolve(K(L)):Promise.all([E(L.common)||E(L.common.customChain.chainId)?E(L.chainId)?C._ethereumCall.getChainId():L.chainId:void 0,E(L.nonce)?C._ethereumCall.getTransactionCount(C.privateKeyToAccount(m).address):L.nonce,E(j)?C._ethereumCall.getNetworkId():1,N(C,L)]).then(function(V){var J=(0,s.default)(V,4),O=J[0],F=J[1],G=J[2],H=J[3];if(E(O)&&E(L.common)&&E(L.common.customChain.chainId)||E(F)||E(G)||E(H))throw new Error(`One of the values "chainId", "networkId", "gasPrice", or "nonce" couldn't be fetched: `+JSON.stringify(V));return K(e(e(e({},L),E(L.common)||E(L.common.customChain.chainId)?{chainId:O}:{}),{},{nonce:F,networkId:G},H))})},I.prototype.recoverTransaction=function(L){var m=h.from(L.slice(2),"hex"),P=g.fromSerializedData(m);return b.toChecksumAddress(P.getSenderAddress().toString("hex"))},I.prototype.hashMessage=function(L){var m=b.isHexStrict(L)?L:b.utf8ToHex(L),P=b.hexToBytes(m),C=h.from(P),B=`Ethereum Signed Message:
51
+ `+P.length,x=h.from(B),j=h.concat([x,C]);return S.bufferToHex(S.keccak256(j))},I.prototype.sign=function(L,m){if(m.startsWith("0x")||(m="0x"+m),m.length!==66)throw new Error("Private key must be 32 bytes long");var P=this.hashMessage(L),C=r.sign(P,m),B=r.decodeSignature(C);return{message:L,messageHash:P,v:B[0],r:B[1],s:B[2],signature:C}},I.prototype.recover=function(L,m,P){var C=[].slice.apply(arguments);return L&&(0,l.default)(L)==="object"?this.recover(L.messageHash,r.encodeSignature([L.v,L.r,L.s]),!0):(P||(L=this.hashMessage(L)),C.length>=4?(P=typeof(P=C.slice(-1)[0])=="boolean"&&!!P,this.recover(L,r.encodeSignature(C.slice(1,4)),P)):r.recover(L,m))},I.prototype.decrypt=function(L,m,P){if(typeof m!="string")throw new Error("No password given.");var C,B,x=L&&(0,l.default)(L)==="object"?L:JSON.parse(P?L.toLowerCase():L);if(x.version!==3)throw new Error("Not a valid V3 wallet");if(x.crypto.kdf==="scrypt")B=x.crypto.kdfparams,C=a.syncScrypt(h.from(m),h.from(B.salt,"hex"),B.n,B.r,B.p,B.dklen);else{if(x.crypto.kdf!=="pbkdf2")throw new Error("Unsupported key derivation scheme");if((B=x.crypto.kdfparams).prf!=="hmac-sha256")throw new Error("Unsupported parameters to PBKDF2");C=o.pbkdf2Sync(h.from(m),h.from(B.salt,"hex"),B.c,B.dklen,"sha256")}var j=h.from(x.crypto.ciphertext,"hex");if(b.sha3(h.from([].concat((0,p.default)(C.slice(16,32)),(0,p.default)(j)))).replace("0x","")!==x.crypto.mac)throw new Error("Key derivation failed - possibly wrong password");var K=o.createDecipheriv(x.crypto.cipher,C.slice(0,16),h.from(x.crypto.cipherparams.iv,"hex")),V="0x"+h.from([].concat((0,p.default)(K.update(j)),(0,p.default)(K.final()))).toString("hex");return this.privateKeyToAccount(V,!0)},I.prototype.encrypt=function(L,m,P){var C,B=this.privateKeyToAccount(L,!0),x=(P=P||{}).salt||o.randomBytes(32),j=P.iv||o.randomBytes(16),K=P.kdf||"scrypt",V={dklen:P.dklen||32,salt:x.toString("hex")};if(K==="pbkdf2")V.c=P.c||262144,V.prf="hmac-sha256",C=o.pbkdf2Sync(h.from(m),h.from(V.salt,"hex"),V.c,V.dklen,"sha256");else{if(K!=="scrypt")throw new Error("Unsupported kdf");V.n=P.n||8192,V.r=P.r||8,V.p=P.p||1,C=a.syncScrypt(h.from(m),h.from(V.salt,"hex"),V.n,V.r,V.p,V.dklen)}var J=o.createCipheriv(P.cipher||"aes-128-ctr",C.slice(0,16),j);if(!J)throw new Error("Unsupported cipher");var O=h.from([].concat((0,p.default)(J.update(h.from(B.privateKey.replace("0x",""),"hex"))),(0,p.default)(J.final()))),F=b.sha3(h.from([].concat((0,p.default)(C.slice(16,32)),(0,p.default)(O)))).replace("0x","");return{version:3,id:d.v4({random:P.uuid||o.randomBytes(16)}),address:B.address.toLowerCase().replace("0x",""),crypto:{ciphertext:O.toString("hex"),cipherparams:{iv:j.toString("hex")},cipher:P.cipher||"aes-128-ctr",kdf:K,kdfparams:V,mac:F.toString("hex")}}},D.prototype._findSafeIndex=function(L){return L=L||0,this.hasOwnProperty(L)?this._findSafeIndex(L+1):L},D.prototype._currentIndexes=function(){return Object.keys(this).map(function(L){return parseInt(L)}).filter(function(L){return L<9e20})},D.prototype.create=function(L,m){for(var P=0;P<L;++P)this.add(this._accounts.create(m).privateKey);return this},D.prototype.add=function(L){return typeof L=="string"&&(L=this._accounts.privateKeyToAccount(L)),this[L.address]?this[L.address]:((L=this._accounts.privateKeyToAccount(L.privateKey)).index=this._findSafeIndex(),this[L.index]=L,this[L.address]=L,this[L.address.toLowerCase()]=L,this.length++,L)},D.prototype.remove=function(L){var m=this[L];return!(!m||!m.address||(this[m.address].privateKey=null,delete this[m.address],this[m.address.toLowerCase()]&&(this[m.address.toLowerCase()].privateKey=null,delete this[m.address.toLowerCase()]),this[m.index].privateKey=null,delete this[m.index],this.length--,0))},D.prototype.clear=function(){var L=this;return this._currentIndexes().forEach(function(m){L.remove(m)}),this},D.prototype.encrypt=function(L,m){var P=this;return this._currentIndexes().map(function(C){return P[C].encrypt(L,m)})},D.prototype.decrypt=function(L,m){var P=this;return L.forEach(function(C){var B=P._accounts.decrypt(C,m);if(!B)throw new Error("Couldn't decrypt accounts. Password wrong?");P.add(B)}),this},D.prototype.save=function(L,m){return localStorage.setItem(m||this.defaultKeyName,JSON.stringify(this.encrypt(L))),!0},D.prototype.load=function(L,m){var P=localStorage.getItem(m||this.defaultKeyName);if(P)try{P=JSON.parse(P)}catch{}return this.decrypt(P||[],L)},function(L){var m;try{m=self.localStorage;var P="__storage_test__";return m.setItem(P,P),m.removeItem(P),!0}catch(C){return C&&(C.code===22||C.code===1014||C.name==="QuotaExceededError"||C.name==="NS_ERROR_DOM_QUOTA_REACHED")&&m&&m.length!==0}}()||(delete D.prototype.save,delete D.prototype.load),R.exports=I},8164:(R,y,c)=>{var h=c(8847),v=h(c(775)),p=h(c(3355));function l(d,b){var w=Object.keys(d);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);b&&(g=g.filter(function(A){return Object.getOwnPropertyDescriptor(d,A).enumerable})),w.push.apply(w,g)}return w}function t(d){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?l(Object(w),!0).forEach(function(g){(0,v.default)(d,g,w[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(w)):l(Object(w)).forEach(function(g){Object.defineProperty(d,g,Object.getOwnPropertyDescriptor(w,g))})}return d}var s=c(606),f=c(3349),e=c(8161),u=c(4178).subscription,n=c(1314).formatters,i=c(1314).errors,r=c(282),o=c(9901),a=function d(b,w,g){var A=this,T=Array.prototype.slice.call(arguments);if(!(this instanceof d))throw new Error('Please use the "new" keyword to instantiate a web3.eth.Contract() object!');if(this.setProvider=function(){s.packageInit(A,arguments),A.clearSubscriptions=A._requestManager.clearSubscriptions},s.packageInit(this,[this.constructor]),this.clearSubscriptions=this._requestManager.clearSubscriptions,!b||!Array.isArray(b))throw i.ContractMissingABIError();this.options={};var S=T[T.length-1];S&&(0,p.default)(S)==="object"&&!Array.isArray(S)&&(g=S,this.options=t(t({},this.options),this._getOrSetDefaultOptions(g)),w&&(0,p.default)(w)==="object"&&(w=null)),Object.defineProperty(this.options,"address",{set:function(I){I&&(A._address=e.toChecksumAddress(n.inputAddressFormatter(I)))},get:function(){return A._address},enumerable:!0}),Object.defineProperty(this.options,"jsonInterface",{set:function(I){return A.methods={},A.events={},A._jsonInterface=I.map(function(N){var D,L;if(N.constant=N.stateMutability==="view"||N.stateMutability==="pure"||N.constant,N.payable=N.stateMutability==="payable"||N.payable,N.name&&(L=e._jsonInterfaceMethodToString(N)),N.type==="function"){if(N.signature=o.encodeFunctionSignature(L),D=A._createTxObject.bind({method:N,parent:A}),A.methods[N.name]){var m=A._createTxObject.bind({method:N,parent:A,nextMethod:A.methods[N.name]});A.methods[N.name]=m}else A.methods[N.name]=D;A.methods[N.signature]=D,A.methods[L]=D}else if(N.type==="event"){N.signature=o.encodeEventSignature(L);var P=A._on.bind(A,N.signature);A.events[N.name]&&A.events[N.name].name!=="bound "||(A.events[N.name]=P),A.events[N.signature]=P,A.events[L]=P}return N}),A.events.allEvents=A._on.bind(A,"allevents"),A._jsonInterface},get:function(){return A._jsonInterface},enumerable:!0});var E=this.constructor.defaultAccount,k=this.constructor.defaultBlock||"latest";Object.defineProperty(this,"handleRevert",{get:function(){return A.options.handleRevert===!1||A.options.handleRevert===!0?A.options.handleRevert:this.constructor.handleRevert},set:function(I){A.options.handleRevert=I},enumerable:!0}),Object.defineProperty(this,"defaultCommon",{get:function(){return A.options.common||this.constructor.defaultCommon},set:function(I){A.options.common=I},enumerable:!0}),Object.defineProperty(this,"defaultHardfork",{get:function(){return A.options.hardfork||this.constructor.defaultHardfork},set:function(I){A.options.hardfork=I},enumerable:!0}),Object.defineProperty(this,"defaultChain",{get:function(){return A.options.chain||this.constructor.defaultChain},set:function(I){A.options.chain=I},enumerable:!0}),Object.defineProperty(this,"transactionPollingTimeout",{get:function(){return A.options.transactionPollingTimeout===0?A.options.transactionPollingTimeout:A.options.transactionPollingTimeout||this.constructor.transactionPollingTimeout},set:function(I){A.options.transactionPollingTimeout=I},enumerable:!0}),Object.defineProperty(this,"transactionPollingInterval",{get:function(){return A.options.transactionPollingInterval===0?A.options.transactionPollingInterval:A.options.transactionPollingInterval||this.constructor.transactionPollingInterval},set:function(I){A.options.transactionPollingInterval=I},enumerable:!0}),Object.defineProperty(this,"transactionConfirmationBlocks",{get:function(){return A.options.transactionConfirmationBlocks===0?A.options.transactionConfirmationBlocks:A.options.transactionConfirmationBlocks||this.constructor.transactionConfirmationBlocks},set:function(I){A.options.transactionConfirmationBlocks=I},enumerable:!0}),Object.defineProperty(this,"transactionBlockTimeout",{get:function(){return A.options.transactionBlockTimeout===0?A.options.transactionBlockTimeout:A.options.transactionBlockTimeout||this.constructor.transactionBlockTimeout},set:function(I){A.options.transactionBlockTimeout=I},enumerable:!0}),Object.defineProperty(this,"blockHeaderTimeout",{get:function(){return A.options.blockHeaderTimeout===0?A.options.blockHeaderTimeout:A.options.blockHeaderTimeout||this.constructor.blockHeaderTimeout},set:function(I){A.options.blockHeaderTimeout=I},enumerable:!0}),Object.defineProperty(this,"defaultAccount",{get:function(){return E},set:function(I){return I&&(E=e.toChecksumAddress(n.inputAddressFormatter(I))),I},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return k},set:function(I){return k=I,I},enumerable:!0}),this.methods={},this.events={},this._address=null,this._jsonInterface=[],this.options.address=w,this.options.jsonInterface=b};a.setProvider=function(d,b){s.packageInit(this,[d]),this._ethAccounts=b},a.prototype._getCallback=function(d){if(d&&d[d.length-1]&&typeof d[d.length-1]=="function")return d.pop()},a.prototype._checkListener=function(d,b){if(b===d)throw i.ContractReservedEventError(d)},a.prototype._getOrSetDefaultOptions=function(d){var b=t({},d),w=b.gasPrice?String(b.gasPrice):null,g=b.from?e.toChecksumAddress(n.inputAddressFormatter(b.from)):null;return b.data=b.data||this.options.data,b.from=g||this.options.from,b.gasPrice=w||this.options.gasPrice,b.gas=b.gas||b.gasLimit||this.options.gas,delete b.gasLimit,b},a.prototype._encodeEventABI=function(d,b){var w=(b=b||{}).filter||{},g={};if(["fromBlock","toBlock"].filter(function(T){return b[T]!==void 0}).forEach(function(T){g[T]=n.inputBlockNumberFormatter(b[T])}),Array.isArray(b.topics))g.topics=b.topics;else{if(g.topics=[],d&&!d.anonymous&&d.name!=="ALLEVENTS"&&g.topics.push(d.signature),d.name!=="ALLEVENTS"){var A=d.inputs.filter(function(T){return T.indexed===!0}).map(function(T){var S=w[T.name];return S?Array.isArray(S)?S.map(function(E){return o.encodeParameter(T.type,E)}):o.encodeParameter(T.type,S):null});g.topics=g.topics.concat(A)}g.topics.length||delete g.topics}return this.options.address&&(g.address=this.options.address.toLowerCase()),g},a.prototype._decodeEventABI=function(d){var b=this;d.data=d.data||"",d.topics=d.topics||[];var w=n.outputLogFormatter(d);if(b.name==="ALLEVENTS"&&(b=b.jsonInterface.find(function(T){return T.signature===d.topics[0]})||{anonymous:!0}),b.inputs=b.inputs||[],!b.anonymous){var g=0;b.inputs.forEach(function(T){return T.indexed?g++:null}),g>0&&d.topics.length!==g+1&&(b={anonymous:!0,inputs:[]})}var A=b.anonymous?d.topics:d.topics.slice(1);return w.returnValues=o.decodeLog(b.inputs,d.data,A),delete w.returnValues.__length__,w.event=b.name,w.signature=b.anonymous||!d.topics[0]?null:d.topics[0],w.raw={data:w.data,topics:w.topics},delete w.data,delete w.topics,w},a.prototype._encodeMethodABI=function(){var d=this._method.signature,b=this.arguments||[],w=!1,g=this._parent.options.jsonInterface.filter(function(T){return d==="constructor"&&T.type===d||(T.signature===d||T.signature===d.replace("0x","")||T.name===d)&&T.type==="function"}).map(function(T){var S=Array.isArray(T.inputs)?T.inputs.length:0;if(S!==b.length)throw new Error("The number of arguments is not matching the methods required number. You need to pass "+S+" arguments.");return T.type==="function"&&(w=T.signature),Array.isArray(T.inputs)?T.inputs:[]}).map(function(T){return o.encodeParameters(T,b).replace("0x","")})[0]||"";if(d==="constructor"){if(!this._deployData)throw new Error("The contract has no contract data option set. This is necessary to append the constructor parameters.");return this._deployData.startsWith("0x")||(this._deployData="0x"+this._deployData),this._deployData+g}var A=w?w+g:g;if(!A)throw new Error(`Couldn't find a matching contract method named "`+this._method.name+'".');return A},a.prototype._decodeMethodReturn=function(d,b){if(!b)return null;b=b.length>=2?b.slice(2):b;var w=o.decodeParameters(d,b);return w.__length__===1?w[0]:(delete w.__length__,w)},a.prototype.deploy=function(d,b){if((d=d||{}).arguments=d.arguments||[],!(d=this._getOrSetDefaultOptions(d)).data){if(typeof b=="function")return b(i.ContractMissingDeployDataError());throw i.ContractMissingDeployDataError()}var w=this.options.jsonInterface.find(function(g){return g.type==="constructor"})||{};return w.signature="constructor",this._createTxObject.apply({method:w,parent:this,deployData:d.data,_ethAccounts:this.constructor._ethAccounts},d.arguments)},a.prototype._generateEventOptions=function(){var d=Array.prototype.slice.call(arguments),b=this._getCallback(d),w=(!!d[d.length-1]&&(0,p.default)(d[d.length-1]))==="object"?d.pop():{},g=typeof d[0]=="string"?d[0]:"allevents",A=g.toLowerCase()==="allevents"?{name:"ALLEVENTS",jsonInterface:this.options.jsonInterface}:this.options.jsonInterface.find(function(T){return T.type==="event"&&(T.name===g||T.signature==="0x"+g.replace("0x",""))});if(!A)throw i.ContractEventDoesNotExistError(g);if(!e.isAddress(this.options.address))throw i.ContractNoAddressDefinedError();return{params:this._encodeEventABI(A,w),event:A,callback:b}},a.prototype.clone=function(){return new this.constructor(this.options.jsonInterface,this.options.address,this.options)},a.prototype.once=function(d,b,w){var g=Array.prototype.slice.call(arguments);if(!(w=this._getCallback(g)))throw i.ContractOnceRequiresCallbackError();b&&delete b.fromBlock,this._on(d,b,function(A,T,S){S.unsubscribe(),typeof w=="function"&&w(A,T,S)})},a.prototype._on=function(){var d=this._generateEventOptions.apply(this,arguments);d.params&&d.params.toBlock&&(delete d.params.toBlock,console.warn("Invalid option: toBlock. Use getPastEvents for specific range.")),this._checkListener("newListener",d.event.name),this._checkListener("removeListener",d.event.name);var b=new u({subscription:{params:1,inputFormatter:[n.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(d.event),subscriptionHandler:function(w){w.removed?this.emit("changed",w):this.emit("data",w),typeof this.callback=="function"&&this.callback(null,w,this)}},type:"eth",requestManager:this._requestManager});return b.subscribe("logs",d.params,d.callback||function(){}),b},a.prototype.getPastEvents=function(){var d=this._generateEventOptions.apply(this,arguments),b=new f({name:"getPastLogs",call:"eth_getLogs",params:1,inputFormatter:[n.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(d.event)});b.setRequestManager(this._requestManager);var w=b.buildCall();return b=null,w(d.params,d.callback)},a.prototype._createTxObject=function(){var d=Array.prototype.slice.call(arguments),b={};if(this.method.type==="function"&&(b.call=this.parent._executeMethod.bind(b,"call"),b.call.request=this.parent._executeMethod.bind(b,"call",!0)),b.send=this.parent._executeMethod.bind(b,"send"),b.send.request=this.parent._executeMethod.bind(b,"send",!0),b.encodeABI=this.parent._encodeMethodABI.bind(b),b.estimateGas=this.parent._executeMethod.bind(b,"estimate"),b.createAccessList=this.parent._executeMethod.bind(b,"createAccessList"),d&&this.method.inputs&&d.length!==this.method.inputs.length){if(this.nextMethod)return this.nextMethod.apply(null,d);throw i.InvalidNumberOfParams(d.length,this.method.inputs.length,this.method.name)}return b.arguments=d||[],b._method=this.method,b._parent=this.parent,b._ethAccounts=this.parent.constructor._ethAccounts||this._ethAccounts,this.deployData&&(b._deployData=this.deployData),b},a.prototype._processExecuteArguments=function(d,b){var w={};if(w.type=d.shift(),w.callback=this._parent._getCallback(d),w.type!=="call"||d[d.length-1]===!0||typeof d[d.length-1]!="string"&&!isFinite(d[d.length-1])||(w.defaultBlock=d.pop()),w.options=(!!d[d.length-1]&&(0,p.default)(d[d.length-1]))==="object"?d.pop():{},w.generateRequest=d[d.length-1]===!0&&d.pop(),w.options=this._parent._getOrSetDefaultOptions(w.options),w.options.data=this.encodeABI(),!this._deployData&&!e.isAddress(this._parent.options.address))throw i.ContractNoAddressDefinedError();return this._deployData||(w.options.to=this._parent.options.address),w.options.data?w:e._fireError(new Error("Couldn't find a matching contract method, or the number of parameters is wrong."),b.eventEmitter,b.reject,w.callback)},a.prototype._executeMethod=function(){var d=this,b=this._parent._processExecuteArguments.call(this,Array.prototype.slice.call(arguments),w),w=r(b.type!=="send"),g=d.constructor._ethAccounts||d._ethAccounts;if(b.generateRequest){var A={params:[n.inputCallFormatter.call(this._parent,b.options)],callback:b.callback};return b.type==="call"?(A.params.push(n.inputDefaultBlockNumberFormatter.call(this._parent,b.defaultBlock)),A.method="eth_call",A.format=this._parent._decodeMethodReturn.bind(null,this._method.outputs)):A.method="eth_sendTransaction",A}switch(b.type){case"createAccessList":if(!e.isAddress(b.options.from))return e._fireError(i.ContractNoFromAddressDefinedError(),w.eventEmitter,w.reject,b.callback);var T=new f({name:"createAccessList",call:"eth_createAccessList",params:2,inputFormatter:[n.inputTransactionFormatter,n.inputDefaultBlockNumberFormatter],requestManager:d._parent._requestManager,accounts:g,defaultAccount:d._parent.defaultAccount,defaultBlock:d._parent.defaultBlock}).createFunction();return T(b.options,b.callback);case"estimate":var S=new f({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[n.inputCallFormatter],outputFormatter:e.hexToNumber,requestManager:d._parent._requestManager,accounts:g,defaultAccount:d._parent.defaultAccount,defaultBlock:d._parent.defaultBlock}).createFunction();return S(b.options,b.callback);case"call":var E=new f({name:"call",call:"eth_call",params:2,inputFormatter:[n.inputCallFormatter,n.inputDefaultBlockNumberFormatter],outputFormatter:function(N){return d._parent._decodeMethodReturn(d._method.outputs,N)},requestManager:d._parent._requestManager,accounts:g,defaultAccount:d._parent.defaultAccount,defaultBlock:d._parent.defaultBlock,handleRevert:d._parent.handleRevert,abiCoder:o}).createFunction();return E(b.options,b.defaultBlock,b.callback);case"send":if(!e.isAddress(b.options.from))return e._fireError(i.ContractNoFromAddressDefinedError(),w.eventEmitter,w.reject,b.callback);if(typeof this._method.payable=="boolean"&&!this._method.payable&&b.options.value&&b.options.value>0)return e._fireError(new Error("Can not send value to non-payable contract method or constructor"),w.eventEmitter,w.reject,b.callback);var k={receiptFormatter:function(N){if(Array.isArray(N.logs)){var D=N.logs.map(function(m){return d._parent._decodeEventABI.call({name:"ALLEVENTS",jsonInterface:d._parent.options.jsonInterface},m)});N.events={};var L=0;D.forEach(function(m){m.event?N.events[m.event]?Array.isArray(N.events[m.event])?N.events[m.event].push(m):N.events[m.event]=[N.events[m.event],m]:N.events[m.event]=m:(N.events[L]=m,L++)}),delete N.logs}return N},contractDeployFormatter:function(N){var D=d._parent.clone();return D.options.address=N.contractAddress,D}},I=new f({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[n.inputTransactionFormatter],requestManager:d._parent._requestManager,accounts:d.constructor._ethAccounts||d._ethAccounts,defaultAccount:d._parent.defaultAccount,defaultBlock:d._parent.defaultBlock,transactionBlockTimeout:d._parent.transactionBlockTimeout,transactionConfirmationBlocks:d._parent.transactionConfirmationBlocks,transactionPollingTimeout:d._parent.transactionPollingTimeout,transactionPollingInterval:d._parent.transactionPollingInterval,defaultCommon:d._parent.defaultCommon,defaultChain:d._parent.defaultChain,defaultHardfork:d._parent.defaultHardfork,handleRevert:d._parent.handleRevert,extraFormatters:k,abiCoder:o}).createFunction();return I(b.options,b.callback);default:throw new Error('Method "'+b.type+'" not implemented.')}},R.exports=a},6764:(R,y,c)=>{var h=c(8847),v=h(c(2247)),p=h(c(5698)),l=c(5160),t=c(1314).formatters,s=c(8161),f=c(1841),e=c(2867),u=c(2689);function n(i){this.eth=i;var r=null;this._detectedAddress=null,this._lastSyncCheck=null,Object.defineProperty(this,"registry",{get:function(){return new f(this)},enumerable:!0}),Object.defineProperty(this,"resolverMethodHandler",{get:function(){return new e(this.registry)},enumerable:!0}),Object.defineProperty(this,"registryAddress",{get:function(){return r},set:function(o){r=o!==null?t.inputAddressFormatter(o):o},enumerable:!0})}n.prototype.supportsInterface=function(i,r,o){return this.getResolver(i).then(function(a){return s.isHexStrict(r)||(r=s.sha3(r).slice(0,10)),a.methods.supportsInterface(r).call(o)}).catch(function(a){if(typeof o!="function")throw a;o(a,null)})},n.prototype.resolver=function(i,r){return this.registry.resolver(i,r)},n.prototype.getResolver=function(i,r){return this.registry.getResolver(i,r)},n.prototype.setResolver=function(i,r,o,a){return this.registry.setResolver(i,r,o,a)},n.prototype.setRecord=function(i,r,o,a,d,b){return this.registry.setRecord(i,r,o,a,d,b)},n.prototype.setSubnodeRecord=function(i,r,o,a,d,b,w){return this.registry.setSubnodeRecord(i,r,o,a,d,b,w)},n.prototype.setApprovalForAll=function(i,r,o,a){return this.registry.setApprovalForAll(i,r,o,a)},n.prototype.isApprovedForAll=function(i,r,o){return this.registry.isApprovedForAll(i,r,o)},n.prototype.recordExists=function(i,r){return this.registry.recordExists(i,r)},n.prototype.setSubnodeOwner=function(i,r,o,a,d){return this.registry.setSubnodeOwner(i,r,o,a,d)},n.prototype.getTTL=function(i,r){return this.registry.getTTL(i,r)},n.prototype.setTTL=function(i,r,o,a){return this.registry.setTTL(i,r,o,a)},n.prototype.getOwner=function(i,r){return this.registry.getOwner(i,r)},n.prototype.setOwner=function(i,r,o,a){return this.registry.setOwner(i,r,o,a)},n.prototype.getAddress=function(i,r){return this.resolverMethodHandler.method(i,"addr",[]).call(r)},n.prototype.setAddress=function(i,r,o,a){return this.resolverMethodHandler.method(i,"setAddr",[r]).send(o,a)},n.prototype.getPubkey=function(i,r){return this.resolverMethodHandler.method(i,"pubkey",[],null,r).call(r)},n.prototype.setPubkey=function(i,r,o,a,d){return this.resolverMethodHandler.method(i,"setPubkey",[r,o]).send(a,d)},n.prototype.getContent=function(i,r){return this.resolverMethodHandler.method(i,"content",[]).call(r)},n.prototype.setContent=function(i,r,o,a){return this.resolverMethodHandler.method(i,"setContent",[r]).send(o,a)},n.prototype.getContenthash=function(i,r){return this.resolverMethodHandler.method(i,"contenthash",[],u.decode).call(r)},n.prototype.setContenthash=function(i,r,o,a){var d;try{d=u.encode(r)}catch{var b=new Error("Could not encode "+r+". See docs for supported hash protocols.");if(typeof a=="function")return void a(b,null);throw b}return this.resolverMethodHandler.method(i,"setContenthash",[d]).send(o,a)},n.prototype.getMultihash=function(i,r){return this.resolverMethodHandler.method(i,"multihash",[]).call(r)},n.prototype.setMultihash=function(i,r,o,a){return this.resolverMethodHandler.method(i,"multihash",[r]).send(o,a)},n.prototype.checkNetwork=(0,p.default)(v.default.mark(function i(){var r,o,a,d,b;return v.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(r=new Date/1e3,this._lastSyncCheck&&!(r-this._lastSyncCheck>3600)){w.next=9;break}return w.next=4,this.eth.getBlock("latest");case 4:if(o=w.sent,!((a=r-o.timestamp)>3600)){w.next=8;break}throw new Error("Network not synced; last block was "+a+" seconds ago");case 8:this._lastSyncCheck=r;case 9:if(!this.registryAddress){w.next=11;break}return w.abrupt("return",this.registryAddress);case 11:if(this._detectedAddress){w.next=20;break}return w.next=14,this.eth.net.getNetworkType();case 14:if(d=w.sent,(b=l.addresses[d])!==void 0){w.next=18;break}throw new Error("ENS is not supported on network "+d);case 18:return this._detectedAddress=b,w.abrupt("return",this._detectedAddress);case 20:return w.abrupt("return",this._detectedAddress);case 21:case"end":return w.stop()}},i,this)})),R.exports=n},5160:R=>{R.exports={addresses:{main:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",ropsten:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",rinkeby:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",goerli:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},interfaceIds:{addr:"0x3b3b57de",setAddr:"0x3b3b57de",pubkey:"0xc8690233",setPubkey:"0xc8690233",contenthash:"0xbc1c58d1",setContenthash:"0xbc1c58d1",content:"0xd8389dc5",setContent:"0xd8389dc5"}}},1841:(R,y,c)=>{var h=c(8164),v=c(1006),p=c(282),l=c(1314).formatters,t=c(8161),s=c(3205),f=c(8384);function e(u){var n=this;this.ens=u,this.contract=u.checkNetwork().then(function(i){var r=new h(s,i);return r.setProvider(n.ens.eth.currentProvider),r})}e.prototype.owner=function(u,n){return console.warn('Deprecated: Please use the "getOwner" method instead of "owner".'),this.getOwner(u,n)},e.prototype.getOwner=function(u,n){var i=new p(!0);return this.contract.then(function(r){return r.methods.owner(v.hash(u)).call()}).then(function(r){typeof n!="function"?i.resolve(r):n(r,r)}).catch(function(r){typeof n!="function"?i.reject(r):n(r,null)}),i.eventEmitter},e.prototype.setOwner=function(u,n,i,r){var o=new p(!0);return this.contract.then(function(a){return a.methods.setOwner(v.hash(u),l.inputAddressFormatter(n)).send(i)}).then(function(a){typeof r!="function"?o.resolve(a):r(a,a)}).catch(function(a){typeof r!="function"?o.reject(a):r(a,null)}),o.eventEmitter},e.prototype.getTTL=function(u,n){var i=new p(!0);return this.contract.then(function(r){return r.methods.ttl(v.hash(u)).call()}).then(function(r){typeof n!="function"?i.resolve(r):n(r,r)}).catch(function(r){typeof n!="function"?i.reject(r):n(r,null)}),i.eventEmitter},e.prototype.setTTL=function(u,n,i,r){var o=new p(!0);return this.contract.then(function(a){return a.methods.setTTL(v.hash(u),n).send(i)}).then(function(a){typeof r!="function"?o.resolve(a):r(a,a)}).catch(function(a){typeof r!="function"?o.reject(a):r(a,null)}),o.eventEmitter},e.prototype.setSubnodeOwner=function(u,n,i,r,o){var a=new p(!0);return t.isHexStrict(n)||(n=t.sha3(n)),this.contract.then(function(d){return d.methods.setSubnodeOwner(v.hash(u),n,l.inputAddressFormatter(i)).send(r)}).then(function(d){typeof o!="function"?a.resolve(d):o(d,d)}).catch(function(d){typeof o!="function"?a.reject(d):o(d,null)}),a.eventEmitter},e.prototype.setRecord=function(u,n,i,r,o,a){var d=new p(!0);return this.contract.then(function(b){return b.methods.setRecord(v.hash(u),l.inputAddressFormatter(n),l.inputAddressFormatter(i),r).send(o)}).then(function(b){typeof a!="function"?d.resolve(b):a(b,b)}).catch(function(b){typeof a!="function"?d.reject(b):a(b,null)}),d.eventEmitter},e.prototype.setSubnodeRecord=function(u,n,i,r,o,a,d){var b=new p(!0);return t.isHexStrict(n)||(n=t.sha3(n)),this.contract.then(function(w){return w.methods.setSubnodeRecord(v.hash(u),n,l.inputAddressFormatter(i),l.inputAddressFormatter(r),o).send(a)}).then(function(w){typeof d!="function"?b.resolve(w):d(w,w)}).catch(function(w){typeof d!="function"?b.reject(w):d(w,null)}),b.eventEmitter},e.prototype.setApprovalForAll=function(u,n,i,r){var o=new p(!0);return this.contract.then(function(a){return a.methods.setApprovalForAll(l.inputAddressFormatter(u),n).send(i)}).then(function(a){typeof r!="function"?o.resolve(a):r(a,a)}).catch(function(a){typeof r!="function"?o.reject(a):r(a,null)}),o.eventEmitter},e.prototype.isApprovedForAll=function(u,n,i){var r=new p(!0);return this.contract.then(function(o){return o.methods.isApprovedForAll(l.inputAddressFormatter(u),l.inputAddressFormatter(n)).call()}).then(function(o){typeof i!="function"?r.resolve(o):i(o,o)}).catch(function(o){typeof i!="function"?r.reject(o):i(o,null)}),r.eventEmitter},e.prototype.recordExists=function(u,n){var i=new p(!0);return this.contract.then(function(r){return r.methods.recordExists(v.hash(u)).call()}).then(function(r){typeof n!="function"?i.resolve(r):n(r,r)}).catch(function(r){typeof n!="function"?i.reject(r):n(r,null)}),i.eventEmitter},e.prototype.resolver=function(u,n){return console.warn('Deprecated: Please use the "getResolver" method instead of "resolver".'),this.getResolver(u,n)},e.prototype.getResolver=function(u,n){var i=this;return this.contract.then(function(r){return r.methods.resolver(v.hash(u)).call()}).then(function(r){var o=new h(f,r);if(o.setProvider(i.ens.eth.currentProvider),typeof n!="function")return o;n(o,o)}).catch(function(r){if(typeof n!="function")throw r;n(r,null)})},e.prototype.setResolver=function(u,n,i,r){var o=new p(!0);return this.contract.then(function(a){return a.methods.setResolver(v.hash(u),l.inputAddressFormatter(n)).send(i)}).then(function(a){typeof r!="function"?o.resolve(a):r(a,a)}).catch(function(a){typeof r!="function"?o.reject(a):r(a,null)}),o.eventEmitter},R.exports=e},715:(R,y,c)=>{var h=c(6764);R.exports=h},2867:(R,y,c)=>{var h=c(8847),v=h(c(2247)),p=h(c(5698)),l=c(282),t=c(1006),s=c(1314).errors,f=c(5160).interfaceIds;function e(u){this.registry=u}e.prototype.method=function(u,n,i,r,o){return{call:this.call.bind({ensName:u,methodName:n,methodArguments:i,callback:o,parent:this,outputFormatter:r}),send:this.send.bind({ensName:u,methodName:n,methodArguments:i,callback:o,parent:this})}},e.prototype.call=function(u){var n=this,i=new l,r=this.parent.prepareArguments(this.ensName,this.methodArguments),o=this.outputFormatter||null;return this.parent.registry.getResolver(this.ensName).then(function(){var a=(0,p.default)(v.default.mark(function d(b){return v.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,n.parent.checkInterfaceSupport(b,n.methodName);case 2:n.parent.handleCall(i,b.methods[n.methodName],r,o,u);case 3:case"end":return w.stop()}},d)}));return function(d){return a.apply(this,arguments)}}()).catch(function(a){typeof u!="function"?i.reject(a):u(a,null)}),i.eventEmitter},e.prototype.send=function(u,n){var i=this,r=new l,o=this.parent.prepareArguments(this.ensName,this.methodArguments);return this.parent.registry.getResolver(this.ensName).then(function(){var a=(0,p.default)(v.default.mark(function d(b){return v.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,i.parent.checkInterfaceSupport(b,i.methodName);case 2:i.parent.handleSend(r,b.methods[i.methodName],o,u,n);case 3:case"end":return w.stop()}},d)}));return function(d){return a.apply(this,arguments)}}()).catch(function(a){typeof n!="function"?r.reject(a):n(a,null)}),r.eventEmitter},e.prototype.handleCall=function(u,n,i,r,o){return n.apply(this,i).call().then(function(a){r&&(a=r(a)),typeof o!="function"?u.resolve(a):o(a,a)}).catch(function(a){typeof o!="function"?u.reject(a):o(a,null)}),u},e.prototype.handleSend=function(u,n,i,r,o){return n.apply(this,i).send(r).on("sending",function(){u.eventEmitter.emit("sending")}).on("sent",function(){u.eventEmitter.emit("sent")}).on("transactionHash",function(a){u.eventEmitter.emit("transactionHash",a)}).on("confirmation",function(a,d){u.eventEmitter.emit("confirmation",a,d)}).on("receipt",function(a){u.eventEmitter.emit("receipt",a),u.resolve(a),typeof o=="function"&&o(a,a)}).on("error",function(a){u.eventEmitter.emit("error",a),typeof o!="function"?u.reject(a):o(a,null)}),u},e.prototype.prepareArguments=function(u,n){var i=t.hash(u);return n.length>0?(n.unshift(i),n):[i]},e.prototype.checkInterfaceSupport=function(){var u=(0,p.default)(v.default.mark(function n(i,r){var o;return v.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(f[r]){a.next=2;break}return a.abrupt("return");case 2:return o=!1,a.prev=3,a.next=6,i.methods.supportsInterface(f[r]).call();case 6:o=a.sent,a.next=12;break;case 9:a.prev=9,a.t0=a.catch(3),console.warn('Could not verify interface of resolver contract at "'+i.options.address+'". ');case 12:if(o){a.next=14;break}throw s.ResolverMethodMissingError(i.options.address,r);case 14:case"end":return a.stop()}},n,null,[[3,9]])}));return function(n,i){return u.apply(this,arguments)}}(),R.exports=e},2689:(R,y,c)=>{var h=c(4308);R.exports={decode:function(v){var p=null,l=null,t=null;if(v&&v.error)return{protocolType:null,decoded:v.error};if(v)try{p=h.decode(v);var s=h.getCodec(v);s==="ipfs-ns"?l="ipfs":s==="swarm-ns"?l="bzz":s==="onion"?l="onion":s==="onion3"?l="onion3":p=v}catch(f){t=f.message}return{protocolType:l,decoded:p,error:t}},encode:function(v){var p,l,t=!1;if(v){var s=v.match(/^(ipfs|bzz|onion|onion3):\/\/(.*)/)||v.match(/\/(ipfs)\/(.*)/);s&&(l=s[1],p=s[2]);try{if(l==="ipfs")p.length>=4&&(t="0x"+h.fromIpfs(p));else if(l==="bzz")p.length>=4&&(t="0x"+h.fromSwarm(p));else if(l==="onion")p.length===16&&(t="0x"+h.encode("onion",p));else{if(l!=="onion3")throw new Error("Could not encode content hash: unsupported content type");p.length===56&&(t="0x"+h.encode("onion3",p))}}catch(f){throw f}}return t}}},3205:R=>{R.exports=[{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"resolver",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"label",type:"bytes32"},{name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"ttl",outputs:[{name:"",type:"uint64"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"label",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"recordExists",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setSubnodeRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}]},8384:R=>{R.exports=[{constant:!0,inputs:[{name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"contentTypes",type:"uint256"}],name:"ABI",outputs:[{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setMultihash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"multihash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"setPubkey",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"content",outputs:[{name:"ret",type:"bytes32"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"addr",outputs:[{name:"ret",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],name:"setABI",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"name",outputs:[{name:"ret",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"name",type:"string"}],name:"setName",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes32"}],name:"setContent",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"pubkey",outputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"addr",type:"address"}],name:"setAddr",outputs:[],payable:!1,type:"function"},{inputs:[{name:"ensAddr",type:"address"}],payable:!1,type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes32"}],name:"ContentChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"name",type:"string"}],name:"NameChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"contentType",type:"uint256"}],name:"ABIChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"x",type:"bytes32"},{indexed:!1,name:"y",type:"bytes32"}],name:"PubkeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes"}],name:"ContenthashChanged",type:"event"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"contenthash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setContenthash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}]},6:(R,y,c)=>{var h=c(8847),v=h(c(9721)),p=h(c(8985)),l=c(8161),t=c(1734),s=function(u){var n="A".charCodeAt(0),i="Z".charCodeAt(0);return(u=(u=u.toUpperCase()).slice(4)+u.slice(0,4)).split("").map(function(r){var o=r.charCodeAt(0);return o>=n&&o<=i?o-n+10:r}).join("")},f=function(u){for(var n,i=u;i.length>2;)n=i.slice(0,9),i=parseInt(n,10)%97+i.slice(n.length);return parseInt(i,10)%97},e=function(){function u(n){(0,v.default)(this,u),this._iban=n}return(0,p.default)(u,[{key:"isValid",value:function(){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(this._iban)&&f(s(this._iban))===1}},{key:"isDirect",value:function(){return this._iban.length===34||this._iban.length===35}},{key:"isIndirect",value:function(){return this._iban.length===20}},{key:"checksum",value:function(){return this._iban.slice(2,4)}},{key:"institution",value:function(){return this.isIndirect()?this._iban.slice(7,11):""}},{key:"client",value:function(){return this.isIndirect()?this._iban.slice(11):""}},{key:"toAddress",value:function(){if(this.isDirect()){var n=this._iban.slice(4),i=new t(n,36);return l.toChecksumAddress(i.toString(16,20))}return""}},{key:"toString",value:function(){return this._iban}}],[{key:"toAddress",value:function(n){if(!(n=new u(n)).isDirect())throw new Error("IBAN is indirect and can't be converted");return n.toAddress()}},{key:"toIban",value:function(n){return u.fromAddress(n).toString()}},{key:"fromAddress",value:function(n){if(!l.isAddress(n))throw new Error("Provided address is not a valid address: "+n);n=n.replace("0x","").replace("0X","");var i=function(r,o){for(var a=r;a.length<30;)a="0"+a;return a}(new t(n,16).toString(36));return u.fromBban(i.toUpperCase())}},{key:"fromBban",value:function(n){return new u("XE"+("0"+(98-f(s("XE00"+n)))).slice(-2)+n)}},{key:"createIndirect",value:function(n){return u.fromBban("ETH"+n.institution+n.identifier)}},{key:"isValid",value:function(n){return new u(n).isValid()}}]),u}();R.exports=e},6306:(R,y,c)=>{var h=c(606),v=c(3349),p=c(8161),l=c(473),t=c(1314).formatters,s=function(){var f=this;h.packageInit(this,arguments),this.net=new l(this);var e=null,u="latest";Object.defineProperty(this,"defaultAccount",{get:function(){return e},set:function(i){return i&&(e=p.toChecksumAddress(t.inputAddressFormatter(i))),n.forEach(function(r){r.defaultAccount=e}),i},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return u},set:function(i){return u=i,n.forEach(function(r){r.defaultBlock=u}),i},enumerable:!0});var n=[new v({name:"getAccounts",call:"personal_listAccounts",params:0,outputFormatter:p.toChecksumAddress}),new v({name:"newAccount",call:"personal_newAccount",params:1,inputFormatter:[null],outputFormatter:p.toChecksumAddress}),new v({name:"unlockAccount",call:"personal_unlockAccount",params:3,inputFormatter:[t.inputAddressFormatter,null,null]}),new v({name:"lockAccount",call:"personal_lockAccount",params:1,inputFormatter:[t.inputAddressFormatter]}),new v({name:"importRawKey",call:"personal_importRawKey",params:2}),new v({name:"sendTransaction",call:"personal_sendTransaction",params:2,inputFormatter:[t.inputTransactionFormatter,null]}),new v({name:"signTransaction",call:"personal_signTransaction",params:2,inputFormatter:[t.inputTransactionFormatter,null]}),new v({name:"sign",call:"personal_sign",params:3,inputFormatter:[t.inputSignFormatter,t.inputAddressFormatter,null]}),new v({name:"ecRecover",call:"personal_ecRecover",params:2,inputFormatter:[t.inputSignFormatter,null]})];n.forEach(function(i){i.attachToObject(f),i.setRequestManager(f._requestManager),i.defaultBlock=f.defaultBlock,i.defaultAccount=f.defaultAccount})};h.addProviders(s),R.exports=s},8130:R=>{R.exports=function(y){var c,h=this;return this.net.getId().then(function(v){return c=v,h.getBlock(0)}).then(function(v){var p="private";return v.hash==="0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3"&&c===1&&(p="main"),v.hash==="0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d"&&c===3&&(p="ropsten"),v.hash==="0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177"&&c===4&&(p="rinkeby"),v.hash==="0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a"&&c===5&&(p="goerli"),v.hash==="0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9"&&c===42&&(p="kovan"),typeof y=="function"&&y(null,p),p}).catch(function(v){if(typeof y!="function")throw v;y(v)})}},6748:(R,y,c)=>{var h=c(606),v=c(1314),p=c(4178).subscriptions,l=c(3349),t=c(8161),s=c(473),f=c(715),e=c(6306),u=c(8164),n=c(6),i=c(9819),r=c(9901),o=c(8130),a=v.formatters,d=function(S){return typeof S[0]=="string"&&S[0].indexOf("0x")===0?"eth_getBlockByHash":"eth_getBlockByNumber"},b=function(S){return typeof S[0]=="string"&&S[0].indexOf("0x")===0?"eth_getTransactionByBlockHashAndIndex":"eth_getTransactionByBlockNumberAndIndex"},w=function(S){return typeof S[0]=="string"&&S[0].indexOf("0x")===0?"eth_getUncleByBlockHashAndIndex":"eth_getUncleByBlockNumberAndIndex"},g=function(S){return typeof S[0]=="string"&&S[0].indexOf("0x")===0?"eth_getBlockTransactionCountByHash":"eth_getBlockTransactionCountByNumber"},A=function(S){return typeof S[0]=="string"&&S[0].indexOf("0x")===0?"eth_getUncleCountByBlockHash":"eth_getUncleCountByBlockNumber"},T=function(){var S=this;h.packageInit(this,arguments);var E=this.setRequestManager;this.setRequestManager=function(G){return E(G),S.net.setRequestManager(G),S.personal.setRequestManager(G),S.accounts.setRequestManager(G),S.Contract._requestManager=S._requestManager,S.Contract.currentProvider=S._provider,!0};var k=this.setProvider;this.setProvider=function(){k.apply(S,arguments),S.setRequestManager(S._requestManager),S.ens._detectedAddress=null,S.ens._lastSyncCheck=null};var I,N,D,L=!1,m=null,P="latest",C=50,B=24,x=750,j=1e3,K=10,V=100;Object.defineProperty(this,"handleRevert",{get:function(){return L},set:function(G){L=G,S.Contract.handleRevert=L,F.forEach(function(H){H.handleRevert=L})},enumerable:!0}),Object.defineProperty(this,"defaultCommon",{get:function(){return D},set:function(G){D=G,S.Contract.defaultCommon=D,F.forEach(function(H){H.defaultCommon=D})},enumerable:!0}),Object.defineProperty(this,"defaultHardfork",{get:function(){return N},set:function(G){N=G,S.Contract.defaultHardfork=N,F.forEach(function(H){H.defaultHardfork=N})},enumerable:!0}),Object.defineProperty(this,"defaultChain",{get:function(){return I},set:function(G){I=G,S.Contract.defaultChain=I,F.forEach(function(H){H.defaultChain=I})},enumerable:!0}),Object.defineProperty(this,"transactionPollingTimeout",{get:function(){return x},set:function(G){x=G,S.Contract.transactionPollingTimeout=x,F.forEach(function(H){H.transactionPollingTimeout=x})},enumerable:!0}),Object.defineProperty(this,"transactionPollingInterval",{get:function(){return j},set:function(G){j=G,S.Contract.transactionPollingInterval=j,F.forEach(function(H){H.transactionPollingInterval=j})},enumerable:!0}),Object.defineProperty(this,"transactionConfirmationBlocks",{get:function(){return B},set:function(G){B=G,S.Contract.transactionConfirmationBlocks=B,F.forEach(function(H){H.transactionConfirmationBlocks=B})},enumerable:!0}),Object.defineProperty(this,"transactionBlockTimeout",{get:function(){return C},set:function(G){C=G,S.Contract.transactionBlockTimeout=C,F.forEach(function(H){H.transactionBlockTimeout=C})},enumerable:!0}),Object.defineProperty(this,"blockHeaderTimeout",{get:function(){return K},set:function(G){K=G,S.Contract.blockHeaderTimeout=K,F.forEach(function(H){H.blockHeaderTimeout=K})},enumerable:!0}),Object.defineProperty(this,"defaultAccount",{get:function(){return m},set:function(G){return G&&(m=t.toChecksumAddress(a.inputAddressFormatter(G))),S.Contract.defaultAccount=m,S.personal.defaultAccount=m,F.forEach(function(H){H.defaultAccount=m}),G},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return P},set:function(G){return P=G,S.Contract.defaultBlock=P,S.personal.defaultBlock=P,F.forEach(function(H){H.defaultBlock=P}),G},enumerable:!0}),Object.defineProperty(this,"maxListenersWarningThreshold",{get:function(){return V},set:function(G){S.currentProvider&&S.currentProvider.setMaxListeners&&(V=G,S.currentProvider.setMaxListeners(G))},enumerable:!0}),this.clearSubscriptions=S._requestManager.clearSubscriptions.bind(S._requestManager),this.removeSubscriptionById=S._requestManager.removeSubscription.bind(S._requestManager),this.net=new s(this),this.net.getNetworkType=o.bind(this),this.accounts=new i(this),this.personal=new e(this),this.personal.defaultAccount=this.defaultAccount,this.maxListenersWarningThreshold=V;var J=this,O=function(){u.apply(this,arguments);var G=this,H=J.setProvider;J.setProvider=function(){H.apply(J,arguments),h.packageInit(G,[J])}};O.setProvider=function(){u.setProvider.apply(this,arguments)},O.prototype=Object.create(u.prototype),O.prototype.constructor=O,this.Contract=O,this.Contract.defaultAccount=this.defaultAccount,this.Contract.defaultBlock=this.defaultBlock,this.Contract.transactionBlockTimeout=this.transactionBlockTimeout,this.Contract.transactionConfirmationBlocks=this.transactionConfirmationBlocks,this.Contract.transactionPollingTimeout=this.transactionPollingTimeout,this.Contract.transactionPollingInterval=this.transactionPollingInterval,this.Contract.blockHeaderTimeout=this.blockHeaderTimeout,this.Contract.handleRevert=this.handleRevert,this.Contract._requestManager=this._requestManager,this.Contract._ethAccounts=this.accounts,this.Contract.currentProvider=this._requestManager.provider,this.Iban=n,this.abi=r,this.ens=new f(this);var F=[new l({name:"getNodeInfo",call:"web3_clientVersion"}),new l({name:"getProtocolVersion",call:"eth_protocolVersion",params:0}),new l({name:"getCoinbase",call:"eth_coinbase",params:0}),new l({name:"isMining",call:"eth_mining",params:0}),new l({name:"getHashrate",call:"eth_hashrate",params:0,outputFormatter:t.hexToNumber}),new l({name:"isSyncing",call:"eth_syncing",params:0,outputFormatter:a.outputSyncingFormatter}),new l({name:"getGasPrice",call:"eth_gasPrice",params:0,outputFormatter:a.outputBigNumberFormatter}),new l({name:"getFeeHistory",call:"eth_feeHistory",params:3,inputFormatter:[t.numberToHex,a.inputBlockNumberFormatter,null]}),new l({name:"getAccounts",call:"eth_accounts",params:0,outputFormatter:t.toChecksumAddress}),new l({name:"getBlockNumber",call:"eth_blockNumber",params:0,outputFormatter:t.hexToNumber}),new l({name:"getBalance",call:"eth_getBalance",params:2,inputFormatter:[a.inputAddressFormatter,a.inputDefaultBlockNumberFormatter],outputFormatter:a.outputBigNumberFormatter}),new l({name:"getStorageAt",call:"eth_getStorageAt",params:3,inputFormatter:[a.inputAddressFormatter,t.numberToHex,a.inputDefaultBlockNumberFormatter]}),new l({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[a.inputAddressFormatter,a.inputDefaultBlockNumberFormatter]}),new l({name:"getBlock",call:d,params:2,inputFormatter:[a.inputBlockNumberFormatter,function(G){return!!G}],outputFormatter:a.outputBlockFormatter}),new l({name:"getUncle",call:w,params:2,inputFormatter:[a.inputBlockNumberFormatter,t.numberToHex],outputFormatter:a.outputBlockFormatter}),new l({name:"getBlockTransactionCount",call:g,params:1,inputFormatter:[a.inputBlockNumberFormatter],outputFormatter:t.hexToNumber}),new l({name:"getBlockUncleCount",call:A,params:1,inputFormatter:[a.inputBlockNumberFormatter],outputFormatter:t.hexToNumber}),new l({name:"getTransaction",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:a.outputTransactionFormatter}),new l({name:"getTransactionFromBlock",call:b,params:2,inputFormatter:[a.inputBlockNumberFormatter,t.numberToHex],outputFormatter:a.outputTransactionFormatter}),new l({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:a.outputTransactionReceiptFormatter}),new l({name:"getTransactionCount",call:"eth_getTransactionCount",params:2,inputFormatter:[a.inputAddressFormatter,a.inputDefaultBlockNumberFormatter],outputFormatter:t.hexToNumber}),new l({name:"sendSignedTransaction",call:"eth_sendRawTransaction",params:1,inputFormatter:[null],abiCoder:r}),new l({name:"signTransaction",call:"eth_signTransaction",params:1,inputFormatter:[a.inputTransactionFormatter]}),new l({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[a.inputTransactionFormatter],abiCoder:r}),new l({name:"sign",call:"eth_sign",params:2,inputFormatter:[a.inputSignFormatter,a.inputAddressFormatter],transformPayload:function(G){return G.params.reverse(),G}}),new l({name:"call",call:"eth_call",params:2,inputFormatter:[a.inputCallFormatter,a.inputDefaultBlockNumberFormatter],abiCoder:r}),new l({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[a.inputCallFormatter],outputFormatter:t.hexToNumber}),new l({name:"submitWork",call:"eth_submitWork",params:3}),new l({name:"getWork",call:"eth_getWork",params:0}),new l({name:"getPastLogs",call:"eth_getLogs",params:1,inputFormatter:[a.inputLogFormatter],outputFormatter:a.outputLogFormatter}),new l({name:"getChainId",call:"eth_chainId",params:0,outputFormatter:t.hexToNumber}),new l({name:"requestAccounts",call:"eth_requestAccounts",params:0,outputFormatter:t.toChecksumAddress}),new l({name:"getProof",call:"eth_getProof",params:3,inputFormatter:[a.inputAddressFormatter,a.inputStorageKeysFormatter,a.inputDefaultBlockNumberFormatter],outputFormatter:a.outputProofFormatter}),new l({name:"getPendingTransactions",call:"eth_pendingTransactions",params:0,outputFormatter:a.outputTransactionFormatter}),new l({name:"createAccessList",call:"eth_createAccessList",params:2,inputFormatter:[a.inputTransactionFormatter,a.inputDefaultBlockNumberFormatter]}),new p({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:a.outputBlockFormatter},pendingTransactions:{subscriptionName:"newPendingTransactions",params:0},logs:{params:1,inputFormatter:[a.inputLogFormatter],outputFormatter:a.outputLogFormatter,subscriptionHandler:function(G){G.removed?this.emit("changed",G):this.emit("data",G),typeof this.callback=="function"&&this.callback(null,G,this)}},syncing:{params:0,outputFormatter:a.outputSyncingFormatter,subscriptionHandler:function(G){var H=this;this._isSyncing!==!0?(this._isSyncing=!0,this.emit("changed",H._isSyncing),typeof this.callback=="function"&&this.callback(null,H._isSyncing,this),setTimeout(function(){H.emit("data",G),typeof H.callback=="function"&&H.callback(null,G,H)},0)):(this.emit("data",G),typeof H.callback=="function"&&this.callback(null,G,this),clearTimeout(this._isSyncingTimeout),this._isSyncingTimeout=setTimeout(function(){G.currentBlock>G.highestBlock-200&&(H._isSyncing=!1,H.emit("changed",H._isSyncing),typeof H.callback=="function"&&H.callback(null,H._isSyncing,H))},500))}}}})];F.forEach(function(G){G.attachToObject(S),G.setRequestManager(S._requestManager,S.accounts),G.defaultBlock=S.defaultBlock,G.defaultAccount=S.defaultAccount,G.transactionBlockTimeout=S.transactionBlockTimeout,G.transactionConfirmationBlocks=S.transactionConfirmationBlocks,G.transactionPollingTimeout=S.transactionPollingTimeout,G.transactionPollingInterval=S.transactionPollingInterval,G.handleRevert=S.handleRevert})};h.addProviders(T),R.exports=T},473:(R,y,c)=>{var h=c(606),v=c(3349),p=c(8161),l=function(){var t=this;h.packageInit(this,arguments),[new v({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new v({name:"isListening",call:"net_listening",params:0}),new v({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:p.hexToNumber})].forEach(function(s){s.attachToObject(t),s.setRequestManager(t._requestManager)})};h.addProviders(l),R.exports=l},4565:(R,y,c)=>{var h=c(1314).errors,v=c(9519),p=c(912);c(2439),c(4258).polyfill(),c.g===void 0||c.g.AbortController||c(3368);var l=function(t,s){s=s||{},this.withCredentials=s.withCredentials,this.timeout=s.timeout||0,this.headers=s.headers,this.agent=s.agent,this.connected=!1;var f=s.keepAlive!==!1;this.host=t||"http://localhost:8545",this.agent||(this.host.substring(0,5)==="https"?this.httpsAgent=new p.Agent({keepAlive:f}):this.httpAgent=new v.Agent({keepAlive:f}))};l.prototype.send=function(t,s){var f,e={method:"POST",body:JSON.stringify(t)},u={};if(typeof AbortController<"u"?f=new AbortController:typeof window<"u"&&window.AbortController!==void 0&&(f=new window.AbortController),f!==void 0&&(e.signal=f.signal),typeof XMLHttpRequest>"u"){var n={httpsAgent:this.httpsAgent,httpAgent:this.httpAgent};this.agent&&(n.httpsAgent=this.agent.https,n.httpAgent=this.agent.http),this.host.substring(0,5)==="https"?e.agent=n.httpsAgent:e.agent=n.httpAgent}this.headers&&this.headers.forEach(function(i){u[i.name]=i.value}),u["Content-Type"]||(u["Content-Type"]="application/json"),this.withCredentials?e.credentials="include":e.credentials="omit",e.headers=u,this.timeout>0&&f!==void 0&&(this.timeoutId=setTimeout(function(){f.abort()},this.timeout)),fetch(this.host,e).then((function(i){this.timeoutId!==void 0&&clearTimeout(this.timeoutId),i.json().then(function(r){s(null,r)}).catch(function(r){s(h.InvalidResponse(i))})}).bind(this)).catch((function(i){this.timeoutId!==void 0&&clearTimeout(this.timeoutId),i.name==="AbortError"&&s(h.ConnectionTimeout(this.timeout)),s(h.InvalidConnection(this.host))}).bind(this))},l.prototype.disconnect=function(){},l.prototype.supportsSubscriptions=function(){return!1},R.exports=l},2683:(R,y,c)=>{var h=c(1314).errors,v=c(3150),p=function(l,t){var s=this;this.responseCallbacks={},this.notificationCallbacks=[],this.path=l,this.connected=!1,this.connection=t.connect({path:this.path}),this.addDefaultEvents();var f=function(e){var u=null;Array.isArray(e)?e.forEach(function(n){s.responseCallbacks[n.id]&&(u=n.id)}):u=e.id,u||e.method.indexOf("_subscription")===-1?s.responseCallbacks[u]&&(s.responseCallbacks[u](null,e),delete s.responseCallbacks[u]):s.notificationCallbacks.forEach(function(n){typeof n=="function"&&n(e)})};t.constructor.name==="Socket"?v(this.connection).done(f):this.connection.on("data",function(e){s._parseResponse(e.toString()).forEach(f)})};p.prototype.addDefaultEvents=function(){var l=this;this.connection.on("connect",function(){l.connected=!0}),this.connection.on("close",function(){l.connected=!1}),this.connection.on("error",function(){l._timeout()}),this.connection.on("end",function(){l._timeout()}),this.connection.on("timeout",function(){l._timeout()})},p.prototype._parseResponse=function(l){var t=this,s=[];return l.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(function(f){t.lastChunk&&(f=t.lastChunk+f);var e=null;try{e=JSON.parse(f)}catch{return t.lastChunk=f,clearTimeout(t.lastChunkTimeout),void(t.lastChunkTimeout=setTimeout(function(){throw t._timeout(),h.InvalidResponse(f)},15e3))}clearTimeout(t.lastChunkTimeout),t.lastChunk=null,e&&s.push(e)}),s},p.prototype._addResponseCallback=function(l,t){var s=l.id||l[0].id,f=l.method||l[0].method;this.responseCallbacks[s]=t,this.responseCallbacks[s].method=f},p.prototype._timeout=function(){for(var l in this.responseCallbacks)this.responseCallbacks.hasOwnProperty(l)&&(this.responseCallbacks[l](h.InvalidConnection("on IPC")),delete this.responseCallbacks[l])},p.prototype.reconnect=function(){this.connection.connect({path:this.path})},p.prototype.send=function(l,t){this.connection.writable||this.connection.connect({path:this.path}),this.connection.write(JSON.stringify(l)),this._addResponseCallback(l,t)},p.prototype.on=function(l,t){if(typeof t!="function")throw new Error("The second parameter callback must be a function.");l==="data"?this.notificationCallbacks.push(t):this.connection.on(l,t)},p.prototype.once=function(l,t){if(typeof t!="function")throw new Error("The second parameter callback must be a function.");this.connection.once(l,t)},p.prototype.removeListener=function(l,t){var s=this;l==="data"?this.notificationCallbacks.forEach(function(f,e){f===t&&s.notificationCallbacks.splice(e,1)}):this.connection.removeListener(l,t)},p.prototype.removeAllListeners=function(l){l==="data"?this.notificationCallbacks=[]:this.connection.removeAllListeners(l)},p.prototype.reset=function(){this._timeout(),this.notificationCallbacks=[],this.connection.removeAllListeners("error"),this.connection.removeAllListeners("end"),this.connection.removeAllListeners("timeout"),this.addDefaultEvents()},p.prototype.supportsSubscriptions=function(){return!0},R.exports=p},360:(R,y,c)=>{var h=c(9142),v=c(9033).Buffer,p=c(8847)(c(3355)),l=Object.prototype.toString.call(h!==void 0?h:0)==="[object process]",t=typeof navigator<"u"&&navigator.product==="ReactNative",s=null,f=null;if(l||t){s=function(n){return v.from(n).toString("base64")};var e=c(1143);if(e.URL){var u=e.URL;f=function(n){return new u(n)}}else f=c(1143).parse}else s=btoa.bind((typeof globalThis>"u"?"undefined":(0,p.default)(globalThis))==="object"?globalThis:self),f=function(n){return new URL(n)};R.exports={parseURL:f,btoa:s}},7651:(R,y,c)=>{var h=c(8008),v=c(360),p=c(1314).errors,l=c(1158).w3cwebsocket,t=function(s,f){h.call(this),f=f||{},this.url=s,this._customTimeout=f.timeout||15e3,this.headers=f.headers||{},this.protocol=f.protocol||void 0,this.reconnectOptions=Object.assign({auto:!1,delay:5e3,maxAttempts:!1,onTimeout:!1},f.reconnect),this.clientConfig=f.clientConfig||void 0,this.requestOptions=f.requestOptions||void 0,this.DATA="data",this.CLOSE="close",this.ERROR="error",this.CONNECT="connect",this.RECONNECT="reconnect",this.connection=null,this.requestQueue=new Map,this.responseQueue=new Map,this.reconnectAttempts=0,this.reconnecting=!1,this.connectFailedDescription=null;var e=v.parseURL(s);e.username&&e.password&&(this.headers.authorization="Basic "+v.btoa(e.username+":"+e.password)),e.auth&&(this.headers.authorization="Basic "+v.btoa(e.auth)),Object.defineProperty(this,"connected",{get:function(){return this.connection&&this.connection.readyState===this.connection.OPEN},enumerable:!0}),this.connect()};(t.prototype=Object.create(h.prototype)).constructor=t,t.prototype.connect=function(){this.connection=new l(this.url,this.protocol,void 0,this.headers,this.requestOptions,this.clientConfig),this._addSocketListeners()},t.prototype._onMessage=function(s){var f=this;this._parseResponse(typeof s.data=="string"?s.data:"").forEach(function(e){if(e.method&&e.method.indexOf("_subscription")!==-1)f.emit(f.DATA,e);else{var u=e.id;Array.isArray(e)&&(u=e[0].id),f.responseQueue.has(u)&&(f.responseQueue.get(u).callback!==void 0&&f.responseQueue.get(u).callback(!1,e),f.responseQueue.delete(u))}})},t.prototype._onConnect=function(){if(this.emit(this.CONNECT),this.reconnectAttempts=0,this.reconnecting=!1,this.requestQueue.size>0){var s=this;this.requestQueue.forEach(function(f,e){s.send(f.payload,f.callback),s.requestQueue.delete(e)})}},t.prototype._onConnectFailed=function(s){this.connectFailedDescription=s.toString().split(`
52
+ `)[0];var f=this;this.connectFailedDescription&&(s.description=this.connectFailedDescription,this.connectFailedDescription=null),s.code=1006,s.reason="connection failed",!this.reconnectOptions.auto||[1e3,1001].includes(s.code)&&s.wasClean!==!1?(this.emit(this.ERROR,s),this.requestQueue.size>0&&this.requestQueue.forEach(function(e,u){e.callback(p.ConnectionNotOpenError(s)),f.requestQueue.delete(u)}),this.responseQueue.size>0&&this.responseQueue.forEach(function(e,u){e.callback(p.InvalidConnection("on WS",s)),f.responseQueue.delete(u)}),this.connection._connection&&this.connection._connection.removeAllListeners(),this.connection._client.removeAllListeners(),this.connection._readyState=3,this.emit(this.CLOSE,s)):this.reconnect()},t.prototype._onClose=function(s){var f=this;!this.reconnectOptions.auto||[1e3,1001].includes(s.code)&&s.wasClean!==!1?(this.emit(this.CLOSE,s),this.requestQueue.size>0&&this.requestQueue.forEach(function(e,u){e.callback(p.ConnectionNotOpenError(s)),f.requestQueue.delete(u)}),this.responseQueue.size>0&&this.responseQueue.forEach(function(e,u){e.callback(p.InvalidConnection("on WS",s)),f.responseQueue.delete(u)}),this._removeSocketListeners(),this.removeAllListeners()):this.reconnect()},t.prototype._addSocketListeners=function(){this.connection.addEventListener("message",this._onMessage.bind(this)),this.connection.addEventListener("open",this._onConnect.bind(this)),this.connection.addEventListener("close",this._onClose.bind(this)),this.connection._client&&(this.connection._client.removeAllListeners("connectFailed"),this.connection._client.on("connectFailed",this._onConnectFailed.bind(this)))},t.prototype._removeSocketListeners=function(){this.connection.removeEventListener("message",this._onMessage),this.connection.removeEventListener("open",this._onConnect),this.connection.removeEventListener("close",this._onClose),this.connection._connection&&this.connection._client.removeListener("connectFailed",this._onConnectFailed)},t.prototype._parseResponse=function(s){var f=this,e=[];return s.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(function(u){f.lastChunk&&(u=f.lastChunk+u);var n=null;try{n=JSON.parse(u)}catch{return f.lastChunk=u,clearTimeout(f.lastChunkTimeout),void(f.lastChunkTimeout=setTimeout(function(){f.reconnectOptions.auto&&f.reconnectOptions.onTimeout?f.reconnect():(f.emit(f.ERROR,p.ConnectionTimeout(f._customTimeout)),f.requestQueue.size>0&&f.requestQueue.forEach(function(r,o){r.callback(p.ConnectionTimeout(f._customTimeout)),f.requestQueue.delete(o)}))},f._customTimeout))}clearTimeout(f.lastChunkTimeout),f.lastChunk=null,n&&e.push(n)}),e},t.prototype.send=function(s,f){var e=s.id,u={payload:s,callback:f};if(Array.isArray(s)&&(e=s[0].id),this.connection.readyState===this.connection.CONNECTING||this.reconnecting)this.requestQueue.set(e,u);else{if(this.connection.readyState!==this.connection.OPEN)return this.requestQueue.delete(e),this.emit(this.ERROR,p.ConnectionNotOpenError()),void u.callback(p.ConnectionNotOpenError());this.responseQueue.set(e,u),this.requestQueue.delete(e);try{this.connection.send(JSON.stringify(u.payload))}catch(n){u.callback(n),this.responseQueue.delete(e)}}},t.prototype.reset=function(){this.responseQueue.clear(),this.requestQueue.clear(),this.removeAllListeners(),this._removeSocketListeners(),this._addSocketListeners()},t.prototype.disconnect=function(s,f){this._removeSocketListeners(),this.connection.close(s||1e3,f)},t.prototype.supportsSubscriptions=function(){return!0},t.prototype.reconnect=function(){var s=this;this.reconnecting=!0,this.responseQueue.size>0&&this.responseQueue.forEach(function(f,e){try{s.responseQueue.delete(e),f.callback(p.PendingRequestsOnReconnectingError())}catch(u){console.error("Error encountered in reconnect: ",u)}}),!this.reconnectOptions.maxAttempts||this.reconnectAttempts<this.reconnectOptions.maxAttempts?setTimeout(function(){s.reconnectAttempts++,s._removeSocketListeners(),s.emit(s.RECONNECT,s.reconnectAttempts),s.connect()},this.reconnectOptions.delay):(this.emit(this.ERROR,p.MaxAttemptsReachedOnReconnectingError()),this.reconnecting=!1,this.requestQueue.size>0&&this.requestQueue.forEach(function(f,e){f.callback(p.MaxAttemptsReachedOnReconnectingError()),s.requestQueue.delete(e)}))},R.exports=t},2565:(R,y,c)=>{var h=c(606),v=c(4178).subscriptions,p=c(3349),l=c(473),t=function(){var s=this;h.packageInit(this,arguments);var f=this.setRequestManager;this.setRequestManager=function(u){return f(u),s.net.setRequestManager(u),!0};var e=this.setProvider;this.setProvider=function(){e.apply(s,arguments),s.setRequestManager(s._requestManager)},this.net=new l(this),[new v({name:"subscribe",type:"shh",subscriptions:{messages:{params:1}}}),new p({name:"getVersion",call:"shh_version",params:0}),new p({name:"getInfo",call:"shh_info",params:0}),new p({name:"setMaxMessageSize",call:"shh_setMaxMessageSize",params:1}),new p({name:"setMinPoW",call:"shh_setMinPoW",params:1}),new p({name:"markTrustedPeer",call:"shh_markTrustedPeer",params:1}),new p({name:"newKeyPair",call:"shh_newKeyPair",params:0}),new p({name:"addPrivateKey",call:"shh_addPrivateKey",params:1}),new p({name:"deleteKeyPair",call:"shh_deleteKeyPair",params:1}),new p({name:"hasKeyPair",call:"shh_hasKeyPair",params:1}),new p({name:"getPublicKey",call:"shh_getPublicKey",params:1}),new p({name:"getPrivateKey",call:"shh_getPrivateKey",params:1}),new p({name:"newSymKey",call:"shh_newSymKey",params:0}),new p({name:"addSymKey",call:"shh_addSymKey",params:1}),new p({name:"generateSymKeyFromPassword",call:"shh_generateSymKeyFromPassword",params:1}),new p({name:"hasSymKey",call:"shh_hasSymKey",params:1}),new p({name:"getSymKey",call:"shh_getSymKey",params:1}),new p({name:"deleteSymKey",call:"shh_deleteSymKey",params:1}),new p({name:"newMessageFilter",call:"shh_newMessageFilter",params:1}),new p({name:"getFilterMessages",call:"shh_getFilterMessages",params:1}),new p({name:"deleteMessageFilter",call:"shh_deleteMessageFilter",params:1}),new p({name:"post",call:"shh_post",params:1,inputFormatter:[null]}),new p({name:"unsubscribe",call:"shh_unsubscribe",params:1})].forEach(function(u){u.attachToObject(s),u.setRequestManager(s._requestManager)})};t.prototype.clearSubscriptions=function(){this._requestManager.clearSubscriptions()},h.addProviders(t),R.exports=t},8161:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(7130),p=c(323),l=c(747),t=c(5010),s=c(1734),f=function i(r,o){var a=[];return o.forEach(function(d){if((0,h.default)(d.components)==="object"){if(d.type.substring(0,5)!=="tuple")throw new Error("components found but type is not tuple; report on GitHub");var b="",w=d.type.indexOf("[");w>=0&&(b=d.type.substring(w));var g=i(r,d.components);Array.isArray(g)&&r?a.push("tuple("+g.join(",")+")"+b):r?a.push("("+g+")"):a.push("("+g.join(",")+")"+b)}else a.push(d.type)}),a},e=function(i){if(!p.isHexStrict(i))throw new Error("The parameter must be a valid HEX string.");var r="",o=0,a=i.length;for(i.substring(0,2)==="0x"&&(o=2);o<a;o+=2){var d=parseInt(i.slice(o,o+2),16);r+=String.fromCharCode(d)}return r},u=function(i){if(!i)return"0x00";for(var r="",o=0;o<i.length;o++){var a=i.charCodeAt(o).toString(16);r+=a.length<2?"0"+a:a}return"0x"+r},n=function(i){if(i=i?i.toLowerCase():"ether",!v.unitMap[i])throw new Error('This unit "'+i+`" doesn't exist, please use the one of the following units`+JSON.stringify(v.unitMap,null,2));return i};R.exports={_fireError:function(i,r,o,a,d){return!i||(0,h.default)(i)!=="object"||i instanceof Error||!i.data||((i.data&&(0,h.default)(i.data)==="object"||Array.isArray(i.data))&&(i.data=JSON.stringify(i.data,null,2)),i=i.message+`
53
+ `+i.data),typeof i=="string"&&(i=new Error(i)),typeof a=="function"&&a(i,d),typeof o=="function"&&((r&&typeof r.listeners=="function"&&r.listeners("error").length||typeof a=="function")&&r.catch(function(){}),setTimeout(function(){o(i)},1)),r&&typeof r.emit=="function"&&setTimeout(function(){r.emit("error",i,d),r.removeAllListeners()},1),r},_jsonInterfaceMethodToString:function(i){return i&&(0,h.default)(i)==="object"&&i.name&&i.name.indexOf("(")!==-1?i.name:i.name+"("+f(!1,i.inputs).join(",")+")"},_flattenTypes:f,randomHex:function(i){return"0x"+t(i).toString("hex")},BN:p.BN,isBN:p.isBN,isBigNumber:p.isBigNumber,isHex:p.isHex,isHexStrict:p.isHexStrict,sha3:p.sha3,sha3Raw:p.sha3Raw,keccak256:p.sha3,soliditySha3:l.soliditySha3,soliditySha3Raw:l.soliditySha3Raw,encodePacked:l.encodePacked,isAddress:p.isAddress,checkAddressChecksum:p.checkAddressChecksum,toChecksumAddress:function(i){if(i===void 0)return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(i))throw new Error('Given address "'+i+'" is not a valid Ethereum address.');i=i.toLowerCase().replace(/^0x/i,"");for(var r=p.sha3(i).replace(/^0x/i,""),o="0x",a=0;a<i.length;a++)parseInt(r[a],16)>7?o+=i[a].toUpperCase():o+=i[a];return o},toHex:p.toHex,toBN:p.toBN,bytesToHex:p.bytesToHex,hexToBytes:p.hexToBytes,hexToNumberString:p.hexToNumberString,hexToNumber:p.hexToNumber,toDecimal:p.hexToNumber,numberToHex:p.numberToHex,fromDecimal:p.numberToHex,hexToUtf8:p.hexToUtf8,hexToString:p.hexToUtf8,toUtf8:p.hexToUtf8,stripHexPrefix:p.stripHexPrefix,utf8ToHex:p.utf8ToHex,stringToHex:p.utf8ToHex,fromUtf8:p.utf8ToHex,hexToAscii:e,toAscii:e,asciiToHex:u,fromAscii:u,unitMap:v.unitMap,toWei:function(i,r){if(r=n(r),!p.isBN(i)&&typeof i!="string")throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return p.isBN(i)?v.toWei(i,r):v.toWei(i,r).toString(10)},fromWei:function(i,r){if(r=n(r),!p.isBN(i)&&typeof i!="string")throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return p.isBN(i)?v.fromWei(i,r):v.fromWei(i,r).toString(10)},padLeft:p.leftPad,leftPad:p.leftPad,padRight:p.rightPad,rightPad:p.rightPad,toTwosComplement:p.toTwosComplement,isBloom:p.isBloom,isUserEthereumAddressInBloom:p.isUserEthereumAddressInBloom,isContractAddressInBloom:p.isContractAddressInBloom,isTopic:p.isTopic,isTopicInBloom:p.isTopicInBloom,isInBloom:p.isInBloom,compareBlockNumbers:function(i,r){if(i===r)return 0;if(i!=="genesis"&&i!=="earliest"&&i!==0||r!=="genesis"&&r!=="earliest"&&r!==0){if(i==="genesis"||i==="earliest"||i===0)return-1;if(r==="genesis"||r==="earliest"||r===0)return 1;if(i==="latest"||i==="finalized")return r==="pending"?-1:1;if(r==="latest"||r==="finalized")return i==="pending"?1:-1;if(i==="pending")return 1;if(r==="pending")return-1;if(i==="safe"||r==="safe")return;var o=new s(i),a=new s(r);return o.lt(a)?-1:o.eq(a)?0:1}return 0},toNumber:p.toNumber}},747:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(1734),p=c(323),l=function(f){var e=(0,h.default)(f);if(e==="string")return p.isHexStrict(f)?new v(f.replace(/0x/i,""),16):new v(f,10);if(e==="number")return new v(f);if(p.isBigNumber(f))return new v(f.toString(10));if(p.isBN(f))return f;throw new Error(f+" is not a number")},t=function(f,e,u){var n,i;if((f=function(r){return r.startsWith("int[")?"int256"+r.slice(3):r==="int"?"int256":r.startsWith("uint[")?"uint256"+r.slice(4):r==="uint"?"uint256":r.startsWith("fixed[")?"fixed128x128"+r.slice(5):r==="fixed"?"fixed128x128":r.startsWith("ufixed[")?"ufixed128x128"+r.slice(6):r==="ufixed"?"ufixed128x128":r}(f))==="bytes"){if(e.replace(/^0x/i,"").length%2!=0)throw new Error("Invalid bytes characters "+e.length);return e}if(f==="string")return p.utf8ToHex(e);if(f==="bool")return e?"01":"00";if(f.startsWith("address")){if(n=u?64:40,!p.isAddress(e))throw new Error(e+" is not a valid address, or the checksum is invalid.");return p.leftPad(e.toLowerCase(),n)}if(n=function(r){var o=/^\D+(\d+).*$/.exec(r);return o?parseInt(o[1],10):null}(f),f.startsWith("bytes")){if(!n)throw new Error("bytes[] not yet supported in solidity");if(u&&(n=32),n<1||n>32||n<e.replace(/^0x/i,"").length/2)throw new Error("Invalid bytes"+n+" for "+e);return p.rightPad(e,2*n)}if(f.startsWith("uint")){if(n%8||n<8||n>256)throw new Error("Invalid uint"+n+" size");if((i=l(e)).bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+i.bitLength());if(i.lt(new v(0)))throw new Error("Supplied uint "+i.toString()+" is negative");return n?p.leftPad(i.toString("hex"),n/8*2):i}if(f.startsWith("int")){if(n%8||n<8||n>256)throw new Error("Invalid int"+n+" size");if((i=l(e)).bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+i.bitLength());return i.lt(new v(0))?i.toTwos(n).toString("hex"):n?p.leftPad(i.toString("hex"),n/8*2):i}throw new Error("Unsupported or invalid type: "+f)},s=function(f){if(Array.isArray(f))throw new Error("Autodetection of array types is not supported.");var e,u,n="";if(f&&(0,h.default)(f)==="object"&&(f.hasOwnProperty("v")||f.hasOwnProperty("t")||f.hasOwnProperty("value")||f.hasOwnProperty("type"))?(e=f.hasOwnProperty("t")?f.t:f.type,n=f.hasOwnProperty("v")?f.v:f.value):(e=p.toHex(f,!0),n=p.toHex(f),e.startsWith("int")||e.startsWith("uint")||(e="bytes")),!e.startsWith("int")&&!e.startsWith("uint")||typeof n!="string"||/^(-)?0x/i.test(n)||(n=new v(n)),Array.isArray(n)){if(u=function(i){var r=/^\D+\d*\[(\d+)\]$/.exec(i);return r?parseInt(r[1],10):null}(e),u&&n.length!==u)throw new Error(e+" is not matching the given array "+JSON.stringify(n));u=n.length}return Array.isArray(n)?n.map(function(i){return t(e,i,u).toString("hex").replace("0x","")}).join(""):t(e,n,u).toString("hex").replace("0x","")};R.exports={soliditySha3:function(){var f=Array.prototype.slice.call(arguments),e=f.map(s);return p.sha3("0x"+e.join(""))},soliditySha3Raw:function(){return p.sha3Raw("0x"+Array.prototype.slice.call(arguments).map(s).join(""))},encodePacked:function(){var f=Array.prototype.slice.call(arguments),e=f.map(s);return"0x"+e.join("").toLowerCase()}}},323:(R,y,c)=>{var h=c(9033).Buffer,v=c(8847),p=v(c(4519)),l=v(c(3355)),t=c(1734),s=c(7277),f=c(8632),e=c(3062),u=c(9313),n=function(I){return t.isBN(I)},i=function(I){return I&&I.constructor&&I.constructor.name==="BigNumber"},r=function(I){try{return s.apply(null,arguments)}catch(N){throw new Error(N+' Given value: "'+I+'"')}},o=function(I){return!!/^(0x)?[0-9a-f]{40}$/i.test(I)&&(!(!/^(0x|0X)?[0-9a-f]{40}$/.test(I)&&!/^(0x|0X)?[0-9A-F]{40}$/.test(I))||a(I))},a=function(I){I=I.replace(/^0x/i,"");for(var N=E(I.toLowerCase()).replace(/^0x/i,""),D=0;D<40;D++)if(parseInt(N[D],16)>7&&I[D].toUpperCase()!==I[D]||parseInt(N[D],16)<=7&&I[D].toLowerCase()!==I[D])return!1;return!0},d=function(I){var N="";I=(I=(I=(I=(I=f.encode(I)).replace(/^(?:\u0000)*/,"")).split("").reverse().join("")).replace(/^(?:\u0000)*/,"")).split("").reverse().join("");for(var D=0;D<I.length;D++){var L=I.charCodeAt(D).toString(16);N+=L.length<2?"0"+L:L}return"0x"+N},b=function(I){var N=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!I)return I;if(typeof I=="string"&&!A(I))throw new Error('Given value "'+I+'" is not a valid hex string.');var D=r(I);return N&&(D>Number.MAX_SAFE_INTEGER||D<Number.MIN_SAFE_INTEGER)?BigInt(D):D.toNumber()},w=function(I){if(I==null)return I;if(!isFinite(I)&&!A(I))throw new Error('Given input "'+I+'" is not a number.');var N=r(I),D=N.toString(16);return N.lt(new t(0))?"-0x"+D.slice(1):"0x"+D},g=function(I,N){if(o(I))return N?"address":"0x"+I.toLowerCase().replace(/^0x/i,"");if(typeof I=="boolean")return N?"bool":I?"0x01":"0x00";if(h.isBuffer(I))return"0x"+I.toString("hex");if((0,l.default)(I)==="object"&&I&&!i(I)&&!n(I))return N?"string":d(JSON.stringify(I));if(typeof I=="string"){if(I.indexOf("-0x")===0||I.indexOf("-0X")===0)return N?"int256":w(I);if(I.indexOf("0x")===0||I.indexOf("0X")===0)return N?"bytes":I;if(!isFinite(I))return N?"string":d(I)}return N?I<0?"int256":"uint256":w(I)},A=function(I){return(typeof I=="string"||typeof I=="number")&&/^(-)?0x[0-9a-f]*$/i.test(I)},T=function(I){return(typeof I=="string"||typeof I=="number")&&/^(-0x|0x)?[0-9a-f]*$/i.test(I)},S="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",E=function(I){n(I)&&(I=I.toString()),A(I)&&/^0x/i.test(I.toString())?I=e.toBuffer(I):typeof I=="string"&&(I=h.from(I,"utf-8"));var N=e.bufferToHex(e.keccak256(I));return N===S?null:N};E._Hash=e.keccak256;var k=function(I){if(typeof I=="string"&&I.includes("0x")){var N=I.toLocaleLowerCase().startsWith("-")?["-",I.slice(3)]:["",I.slice(2)],D=(0,p.default)(N,2),L=D[0],m=D[1];return new t(L+m,16)}return new t(I)};Object.setPrototypeOf(k,t),Object.setPrototypeOf(k.prototype,t.prototype),R.exports={BN:k,isBN:n,isBigNumber:i,toBN:r,isAddress:o,isBloom:function(I){return u.isBloom(I)},isUserEthereumAddressInBloom:function(I,N){return u.isUserEthereumAddressInBloom(I,N)},isContractAddressInBloom:function(I,N){return u.isContractAddressInBloom(I,N)},isTopic:function(I){return u.isTopic(I)},isTopicInBloom:function(I,N){return u.isTopicInBloom(I,N)},isInBloom:function(I,N){return u.isInBloom(I,N)},checkAddressChecksum:a,utf8ToHex:d,hexToUtf8:function(I){if(!A(I))throw new Error('The parameter "'+I+'" must be a valid HEX string.');for(var N="",D=0,L=(I=(I=(I=(I=(I=I.replace(/^0x/i,"")).replace(/^(?:00)*/,"")).split("").reverse().join("")).replace(/^(?:00)*/,"")).split("").reverse().join("")).length,m=0;m<L;m+=2)D=parseInt(I.slice(m,m+2),16),N+=String.fromCharCode(D);return f.decode(N)},hexToNumber:b,hexToNumberString:function(I){if(!I)return I;if(typeof I=="string"&&!A(I))throw new Error('Given value "'+I+'" is not a valid hex string.');return r(I).toString(10)},numberToHex:w,toHex:g,hexToBytes:function(I){if(I=I.toString(16),!A(I))throw new Error('Given value "'+I+'" is not a valid hex string.');I=I.replace(/^0x/i,"");for(var N=[],D=0;D<I.length;D+=2)N.push(parseInt(I.slice(D,D+2),16));return N},bytesToHex:function(I){for(var N=[],D=0;D<I.length;D++)N.push((I[D]>>>4).toString(16)),N.push((15&I[D]).toString(16));return"0x"+N.join("")},isHex:T,isHexStrict:A,stripHexPrefix:function(I){return I!==0&&T(I)?I.replace(/^(-)?0x/i,"$1"):I},leftPad:function(I,N,D){var L=/^0x/i.test(I)||typeof I=="number",m=N-(I=I.toString(16).replace(/^0x/i,"")).length+1>=0?N-I.length+1:0;return(L?"0x":"")+new Array(m).join(D||"0")+I},rightPad:function(I,N,D){var L=/^0x/i.test(I)||typeof I=="number",m=N-(I=I.toString(16).replace(/^0x/i,"")).length+1>=0?N-I.length+1:0;return(L?"0x":"")+I+new Array(m).join(D||"0")},toTwosComplement:function(I){return"0x"+r(I).toTwos(256).toString(16,64)},sha3:E,sha3Raw:function(I){return(I=E(I))===null?S:I},toNumber:function(I){var N=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return typeof I=="number"?I:b(g(I),N)}}},7001:(R,y,c)=>{var h=c(8920).i8,v=c(606),p=c(6748),l=c(473),t=c(6306),s=c(2565),f=c(2463),e=c(8161),u=function(){var n=this;v.packageInit(this,arguments),this.version=h,this.utils=e,this.eth=new p(this),this.shh=new s(this),this.bzz=new f(this);var i=this.setProvider;this.setProvider=function(r,o){return i.apply(n,arguments),n.eth.setRequestManager(n._requestManager),n.shh.setRequestManager(n._requestManager),n.bzz.setProvider(r),!0}};u.version=h,u.utils=e,u.modules={Eth:p,Net:l,Personal:t,Shh:s,Bzz:f},v.addProviders(u),R.exports=u},9214:()=>{},2361:()=>{},4616:()=>{},8768:R=>{R.exports=function(y,c){(c==null||c>y.length)&&(c=y.length);for(var h=0,v=new Array(c);h<c;h++)v[h]=y[h];return v},R.exports.__esModule=!0,R.exports.default=R.exports},2338:R=>{R.exports=function(y){if(Array.isArray(y))return y},R.exports.__esModule=!0,R.exports.default=R.exports},7907:(R,y,c)=>{var h=c(8768);R.exports=function(v){if(Array.isArray(v))return h(v)},R.exports.__esModule=!0,R.exports.default=R.exports},8975:R=>{R.exports=function(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y},R.exports.__esModule=!0,R.exports.default=R.exports},5698:R=>{function y(c,h,v,p,l,t,s){try{var f=c[t](s),e=f.value}catch(u){return void v(u)}f.done?h(e):Promise.resolve(e).then(p,l)}R.exports=function(c){return function(){var h=this,v=arguments;return new Promise(function(p,l){var t=c.apply(h,v);function s(e){y(t,p,l,s,f,"next",e)}function f(e){y(t,p,l,s,f,"throw",e)}s(void 0)})}},R.exports.__esModule=!0,R.exports.default=R.exports},9721:R=>{R.exports=function(y,c){if(!(y instanceof c))throw new TypeError("Cannot call a class as a function")},R.exports.__esModule=!0,R.exports.default=R.exports},4727:(R,y,c)=>{var h=c(8746),v=c(6923);function p(l,t,s){return v()?(R.exports=p=Reflect.construct.bind(),R.exports.__esModule=!0,R.exports.default=R.exports):(R.exports=p=function(f,e,u){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(f,n));return u&&h(i,u.prototype),i},R.exports.__esModule=!0,R.exports.default=R.exports),p.apply(null,arguments)}R.exports=p,R.exports.__esModule=!0,R.exports.default=R.exports},8985:(R,y,c)=>{var h=c(2310);function v(p,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(p,h(s.key),s)}}R.exports=function(p,l,t){return l&&v(p.prototype,l),t&&v(p,t),Object.defineProperty(p,"prototype",{writable:!1}),p},R.exports.__esModule=!0,R.exports.default=R.exports},775:(R,y,c)=>{var h=c(2310);R.exports=function(v,p,l){return(p=h(p))in v?Object.defineProperty(v,p,{value:l,enumerable:!0,configurable:!0,writable:!0}):v[p]=l,v},R.exports.__esModule=!0,R.exports.default=R.exports},119:(R,y,c)=>{var h=c(7460);function v(){return typeof Reflect<"u"&&Reflect.get?(R.exports=v=Reflect.get.bind(),R.exports.__esModule=!0,R.exports.default=R.exports):(R.exports=v=function(p,l,t){var s=h(p,l);if(s){var f=Object.getOwnPropertyDescriptor(s,l);return f.get?f.get.call(arguments.length<3?p:t):f.value}},R.exports.__esModule=!0,R.exports.default=R.exports),v.apply(this,arguments)}R.exports=v,R.exports.__esModule=!0,R.exports.default=R.exports},1949:R=>{function y(c){return R.exports=y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)},R.exports.__esModule=!0,R.exports.default=R.exports,y(c)}R.exports=y,R.exports.__esModule=!0,R.exports.default=R.exports},5163:(R,y,c)=>{var h=c(8746);R.exports=function(v,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(p&&p.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),p&&h(v,p)},R.exports.__esModule=!0,R.exports.default=R.exports},8847:R=>{R.exports=function(y){return y&&y.__esModule?y:{default:y}},R.exports.__esModule=!0,R.exports.default=R.exports},6923:R=>{R.exports=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}},R.exports.__esModule=!0,R.exports.default=R.exports},1642:R=>{R.exports=function(y){if(typeof Symbol<"u"&&y[Symbol.iterator]!=null||y["@@iterator"]!=null)return Array.from(y)},R.exports.__esModule=!0,R.exports.default=R.exports},1436:R=>{R.exports=function(y,c){var h=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(h!=null){var v,p,l,t,s=[],f=!0,e=!1;try{if(l=(h=h.call(y)).next,c===0){if(Object(h)!==h)return;f=!1}else for(;!(f=(v=l.call(h)).done)&&(s.push(v.value),s.length!==c);f=!0);}catch(u){e=!0,p=u}finally{try{if(!f&&h.return!=null&&(t=h.return(),Object(t)!==t))return}finally{if(e)throw p}}return s}},R.exports.__esModule=!0,R.exports.default=R.exports},2966:R=>{R.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
54
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},R.exports.__esModule=!0,R.exports.default=R.exports},2344:R=>{R.exports=function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
55
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},R.exports.__esModule=!0,R.exports.default=R.exports},4650:(R,y,c)=>{var h=c(3355).default,v=c(8975);R.exports=function(p,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(p)},R.exports.__esModule=!0,R.exports.default=R.exports},2028:(R,y,c)=>{var h=c(3355).default;function v(){R.exports=v=function(){return p},R.exports.__esModule=!0,R.exports.default=R.exports;var p={},l=Object.prototype,t=l.hasOwnProperty,s=Object.defineProperty||function(B,x,j){B[x]=j.value},f=typeof Symbol=="function"?Symbol:{},e=f.iterator||"@@iterator",u=f.asyncIterator||"@@asyncIterator",n=f.toStringTag||"@@toStringTag";function i(B,x,j){return Object.defineProperty(B,x,{value:j,enumerable:!0,configurable:!0,writable:!0}),B[x]}try{i({},"")}catch{i=function(x,j,K){return x[j]=K}}function r(B,x,j,K){var V=x&&x.prototype instanceof d?x:d,J=Object.create(V.prototype),O=new m(K||[]);return s(J,"_invoke",{value:I(B,j,O)}),J}function o(B,x,j){try{return{type:"normal",arg:B.call(x,j)}}catch(K){return{type:"throw",arg:K}}}p.wrap=r;var a={};function d(){}function b(){}function w(){}var g={};i(g,e,function(){return this});var A=Object.getPrototypeOf,T=A&&A(A(P([])));T&&T!==l&&t.call(T,e)&&(g=T);var S=w.prototype=d.prototype=Object.create(g);function E(B){["next","throw","return"].forEach(function(x){i(B,x,function(j){return this._invoke(x,j)})})}function k(B,x){function j(V,J,O,F){var G=o(B[V],B,J);if(G.type!=="throw"){var H=G.arg,M=H.value;return M&&h(M)=="object"&&t.call(M,"__await")?x.resolve(M.__await).then(function(_){j("next",_,O,F)},function(_){j("throw",_,O,F)}):x.resolve(M).then(function(_){H.value=_,O(H)},function(_){return j("throw",_,O,F)})}F(G.arg)}var K;s(this,"_invoke",{value:function(V,J){function O(){return new x(function(F,G){j(V,J,F,G)})}return K=K?K.then(O,O):O()}})}function I(B,x,j){var K="suspendedStart";return function(V,J){if(K==="executing")throw new Error("Generator is already running");if(K==="completed"){if(V==="throw")throw J;return{value:void 0,done:!0}}for(j.method=V,j.arg=J;;){var O=j.delegate;if(O){var F=N(O,j);if(F){if(F===a)continue;return F}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(K==="suspendedStart")throw K="completed",j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);K="executing";var G=o(B,x,j);if(G.type==="normal"){if(K=j.done?"completed":"suspendedYield",G.arg===a)continue;return{value:G.arg,done:j.done}}G.type==="throw"&&(K="completed",j.method="throw",j.arg=G.arg)}}}function N(B,x){var j=x.method,K=B.iterator[j];if(K===void 0)return x.delegate=null,j==="throw"&&B.iterator.return&&(x.method="return",x.arg=void 0,N(B,x),x.method==="throw")||j!=="return"&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+j+"' method")),a;var V=o(K,B.iterator,x.arg);if(V.type==="throw")return x.method="throw",x.arg=V.arg,x.delegate=null,a;var J=V.arg;return J?J.done?(x[B.resultName]=J.value,x.next=B.nextLoc,x.method!=="return"&&(x.method="next",x.arg=void 0),x.delegate=null,a):J:(x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,a)}function D(B){var x={tryLoc:B[0]};1 in B&&(x.catchLoc=B[1]),2 in B&&(x.finallyLoc=B[2],x.afterLoc=B[3]),this.tryEntries.push(x)}function L(B){var x=B.completion||{};x.type="normal",delete x.arg,B.completion=x}function m(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(D,this),this.reset(!0)}function P(B){if(B){var x=B[e];if(x)return x.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var j=-1,K=function V(){for(;++j<B.length;)if(t.call(B,j))return V.value=B[j],V.done=!1,V;return V.value=void 0,V.done=!0,V};return K.next=K}}return{next:C}}function C(){return{value:void 0,done:!0}}return b.prototype=w,s(S,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:b,configurable:!0}),b.displayName=i(w,n,"GeneratorFunction"),p.isGeneratorFunction=function(B){var x=typeof B=="function"&&B.constructor;return!!x&&(x===b||(x.displayName||x.name)==="GeneratorFunction")},p.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,w):(B.__proto__=w,i(B,n,"GeneratorFunction")),B.prototype=Object.create(S),B},p.awrap=function(B){return{__await:B}},E(k.prototype),i(k.prototype,u,function(){return this}),p.AsyncIterator=k,p.async=function(B,x,j,K,V){V===void 0&&(V=Promise);var J=new k(r(B,x,j,K),V);return p.isGeneratorFunction(x)?J:J.next().then(function(O){return O.done?O.value:J.next()})},E(S),i(S,n,"Generator"),i(S,e,function(){return this}),i(S,"toString",function(){return"[object Generator]"}),p.keys=function(B){var x=Object(B),j=[];for(var K in x)j.push(K);return j.reverse(),function V(){for(;j.length;){var J=j.pop();if(J in x)return V.value=J,V.done=!1,V}return V.done=!0,V}},p.values=P,m.prototype={constructor:m,reset:function(B){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!B)for(var x in this)x.charAt(0)==="t"&&t.call(this,x)&&!isNaN(+x.slice(1))&&(this[x]=void 0)},stop:function(){this.done=!0;var B=this.tryEntries[0].completion;if(B.type==="throw")throw B.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var x=this;function j(G,H){return J.type="throw",J.arg=B,x.next=G,H&&(x.method="next",x.arg=void 0),!!H}for(var K=this.tryEntries.length-1;K>=0;--K){var V=this.tryEntries[K],J=V.completion;if(V.tryLoc==="root")return j("end");if(V.tryLoc<=this.prev){var O=t.call(V,"catchLoc"),F=t.call(V,"finallyLoc");if(O&&F){if(this.prev<V.catchLoc)return j(V.catchLoc,!0);if(this.prev<V.finallyLoc)return j(V.finallyLoc)}else if(O){if(this.prev<V.catchLoc)return j(V.catchLoc,!0)}else{if(!F)throw new Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return j(V.finallyLoc)}}}},abrupt:function(B,x){for(var j=this.tryEntries.length-1;j>=0;--j){var K=this.tryEntries[j];if(K.tryLoc<=this.prev&&t.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var V=K;break}}V&&(B==="break"||B==="continue")&&V.tryLoc<=x&&x<=V.finallyLoc&&(V=null);var J=V?V.completion:{};return J.type=B,J.arg=x,V?(this.method="next",this.next=V.finallyLoc,a):this.complete(J)},complete:function(B,x){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&x&&(this.next=x),a},finish:function(B){for(var x=this.tryEntries.length-1;x>=0;--x){var j=this.tryEntries[x];if(j.finallyLoc===B)return this.complete(j.completion,j.afterLoc),L(j),a}},catch:function(B){for(var x=this.tryEntries.length-1;x>=0;--x){var j=this.tryEntries[x];if(j.tryLoc===B){var K=j.completion;if(K.type==="throw"){var V=K.arg;L(j)}return V}}throw new Error("illegal catch attempt")},delegateYield:function(B,x,j){return this.delegate={iterator:P(B),resultName:x,nextLoc:j},this.method==="next"&&(this.arg=void 0),a}},p}R.exports=v,R.exports.__esModule=!0,R.exports.default=R.exports},8746:R=>{function y(c,h){return R.exports=y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v},R.exports.__esModule=!0,R.exports.default=R.exports,y(c,h)}R.exports=y,R.exports.__esModule=!0,R.exports.default=R.exports},4519:(R,y,c)=>{var h=c(2338),v=c(1436),p=c(6906),l=c(2966);R.exports=function(t,s){return h(t)||v(t,s)||p(t,s)||l()},R.exports.__esModule=!0,R.exports.default=R.exports},7460:(R,y,c)=>{var h=c(1949);R.exports=function(v,p){for(;!Object.prototype.hasOwnProperty.call(v,p)&&(v=h(v))!==null;);return v},R.exports.__esModule=!0,R.exports.default=R.exports},3106:(R,y,c)=>{var h=c(7907),v=c(1642),p=c(6906),l=c(2344);R.exports=function(t){return h(t)||v(t)||p(t)||l()},R.exports.__esModule=!0,R.exports.default=R.exports},9662:(R,y,c)=>{var h=c(3355).default;R.exports=function(v,p){if(h(v)!=="object"||v===null)return v;var l=v[Symbol.toPrimitive];if(l!==void 0){var t=l.call(v,p||"default");if(h(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(v)},R.exports.__esModule=!0,R.exports.default=R.exports},2310:(R,y,c)=>{var h=c(3355).default,v=c(9662);R.exports=function(p){var l=v(p,"string");return h(l)==="symbol"?l:String(l)},R.exports.__esModule=!0,R.exports.default=R.exports},3355:R=>{function y(c){return R.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},R.exports.__esModule=!0,R.exports.default=R.exports,y(c)}R.exports=y,R.exports.__esModule=!0,R.exports.default=R.exports},6906:(R,y,c)=>{var h=c(8768);R.exports=function(v,p){if(v){if(typeof v=="string")return h(v,p);var l=Object.prototype.toString.call(v).slice(8,-1);return l==="Object"&&v.constructor&&(l=v.constructor.name),l==="Map"||l==="Set"?Array.from(v):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?h(v,p):void 0}},R.exports.__esModule=!0,R.exports.default=R.exports},2247:(R,y,c)=>{var h=c(8847)(c(3355)),v=c(2028)();R.exports=v;try{regeneratorRuntime=v}catch{(typeof globalThis>"u"?"undefined":(0,h.default)(globalThis))==="object"?globalThis.regeneratorRuntime=v:Function("r","regeneratorRuntime = r")(v)}},3604:(R,y,c)=>{var h=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],v=typeof globalThis>"u"?c.g:globalThis;R.exports=function(){for(var p=[],l=0;l<h.length;l++)typeof v[h[l]]=="function"&&(p[p.length]=h[l]);return p}},7687:R=>{R.exports=JSON.parse('{"name":"goerli","chainId":5,"networkId":5,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"clique","clique":{"period":15,"epoch":30000}},"comment":"Cross-client PoA test network","url":"https://github.com/goerli/testnet","genesis":{"hash":"0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a","timestamp":"0x5c51a607","gasLimit":10485760,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x5d6cded585e73c4e322c30c2f782a336316f17dd85a4863b9d838d2d4b8b3008"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xa3f5ab08"},{"name":"homestead","block":0,"forkHash":"0xa3f5ab08"},{"name":"tangerineWhistle","block":0,"forkHash":"0xa3f5ab08"},{"name":"spuriousDragon","block":0,"forkHash":"0xa3f5ab08"},{"name":"byzantium","block":0,"forkHash":"0xa3f5ab08"},{"name":"constantinople","block":0,"forkHash":"0xa3f5ab08"},{"name":"petersburg","block":0,"forkHash":"0xa3f5ab08"},{"name":"istanbul","block":1561651,"forkHash":"0xc25efa5c"},{"name":"berlin","block":4460644,"forkHash":"0x757a1c47"},{"name":"london","block":5062605,"forkHash":"0xb8c6299d"},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"51.141.78.53","port":30303,"id":"011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a","location":"","comment":"Upstream bootnode 1"},{"ip":"13.93.54.137","port":30303,"id":"176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b","location":"","comment":"Upstream bootnode 2"},{"ip":"94.237.54.114","port":30313,"id":"46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291","location":"","comment":"Upstream bootnode 3"},{"ip":"18.218.250.66","port":30313,"id":"b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949","location":"","comment":"Upstream bootnode 4"},{"ip":"3.11.147.67","port":30303,"id":"a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91","location":"","comment":"Ethereum Foundation bootnode"},{"ip":"51.15.116.226","port":30303,"id":"a869b02cec167211fb4815a82941db2e7ed2936fd90e78619c53eb17753fcf0207463e3419c264e2a1dd8786de0df7e68cf99571ab8aeb7c4e51367ef186b1dd","location":"","comment":"Goerli Initiative bootnode"},{"ip":"51.15.119.157","port":30303,"id":"807b37ee4816ecf407e9112224494b74dd5933625f655962d892f2f0f02d7fbbb3e2a94cf87a96609526f30c998fd71e93e2f53015c558ffc8b03eceaf30ee33","location":"","comment":"Goerli Initiative bootnode"},{"ip":"51.15.119.157","port":40303,"id":"a59e33ccd2b3e52d578f1fbd70c6f9babda2650f0760d6ff3b37742fdcdfdb3defba5d56d315b40c46b70198c7621e63ffa3f987389c7118634b0fefbbdfa7fd","location":"","comment":"Goerli Initiative bootnode"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.goerli.ethdisco.net"]}')},7098:R=>{R.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"aura","aura":{}},"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x010ffe56"},{"name":"homestead","block":0,"forkHash":"0x010ffe56"},{"name":"tangerineWhistle","block":0,"forkHash":"0x010ffe56"},{"name":"spuriousDragon","block":0,"forkHash":"0x010ffe56"},{"name":"byzantium","block":5067000,"forkHash":"0x7f83c620"},{"name":"constantinople","block":9200000,"forkHash":"0xa94e3dc4"},{"name":"petersburg","block":10255201,"forkHash":"0x186874aa"},{"name":"istanbul","block":14111141,"forkHash":"0x7f6599a6"},{"name":"berlin","block":null,"forkHash":null},{"name":"london","block":null,"forkHash":null},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},7295:R=>{R.exports=JSON.parse('{"name":"mainnet","chainId":1,"networkId":1,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"The Ethereum main chain","url":"https://ethstats.net/","genesis":{"hash":"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3","timestamp":null,"gasLimit":5000,"difficulty":17179869184,"nonce":"0x0000000000000042","extraData":"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa","stateRoot":"0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xfc64ec04"},{"name":"homestead","block":1150000,"forkHash":"0x97c2c34c"},{"name":"dao","block":1920000,"forkHash":"0x91d1f948"},{"name":"tangerineWhistle","block":2463000,"forkHash":"0x7a64da13"},{"name":"spuriousDragon","block":2675000,"forkHash":"0x3edd5b10"},{"name":"byzantium","block":4370000,"forkHash":"0xa00bc324"},{"name":"constantinople","block":7280000,"forkHash":"0x668db0af"},{"name":"petersburg","block":7280000,"forkHash":"0x668db0af"},{"name":"istanbul","block":9069000,"forkHash":"0x879d6e30"},{"name":"muirGlacier","block":9200000,"forkHash":"0xe029e991"},{"name":"berlin","block":12244000,"forkHash":"0x0eb440f6"},{"name":"london","block":12965000,"forkHash":"0xb715077d"},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"18.138.108.67","port":30303,"id":"d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666","location":"ap-southeast-1-001","comment":"bootnode-aws-ap-southeast-1-001"},{"ip":"3.209.45.79","port":30303,"id":"22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de","location":"us-east-1-001","comment":"bootnode-aws-us-east-1-001"},{"ip":"34.255.23.113","port":30303,"id":"ca6de62fce278f96aea6ec5a2daadb877e51651247cb96ee310a318def462913b653963c155a0ef6c7d50048bba6e6cea881130857413d9f50a621546b590758","location":"eu-west-1-001","comment":"bootnode-aws-eu-west-1-001"},{"ip":"35.158.244.151","port":30303,"id":"279944d8dcd428dffaa7436f25ca0ca43ae19e7bcf94a8fb7d1641651f92d121e972ac2e8f381414b80cc8e5555811c2ec6e1a99bb009b3f53c4c69923e11bd8","location":"eu-central-1-001","comment":"bootnode-aws-eu-central-1-001"},{"ip":"52.187.207.27","port":30303,"id":"8499da03c47d637b20eee24eec3c356c9a2e6148d6fe25ca195c7949ab8ec2c03e3556126b0d7ed644675e78c4318b08691b7b57de10e5f0d40d05b09238fa0a","location":"australiaeast-001","comment":"bootnode-azure-australiaeast-001"},{"ip":"191.234.162.198","port":30303,"id":"103858bdb88756c71f15e9b5e09b56dc1be52f0a5021d46301dbbfb7e130029cc9d0d6f73f693bc29b665770fff7da4d34f3c6379fe12721b5d7a0bcb5ca1fc1","location":"brazilsouth-001","comment":"bootnode-azure-brazilsouth-001"},{"ip":"52.231.165.108","port":30303,"id":"715171f50508aba88aecd1250af392a45a330af91d7b90701c436b618c86aaa1589c9184561907bebbb56439b8f8787bc01f49a7c77276c58c1b09822d75e8e8","location":"koreasouth-001","comment":"bootnode-azure-koreasouth-001"},{"ip":"104.42.217.25","port":30303,"id":"5d6d7cd20d6da4bb83a1d28cadb5d409b64edf314c0335df658c1a54e32c7c4a7ab7823d57c39b6a757556e68ff1df17c748b698544a55cb488b52479a92b60f","location":"westus-001","comment":"bootnode-azure-westus-001"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net"]}')},439:R=>{R.exports=JSON.parse('{"name":"rinkeby","chainId":4,"networkId":4,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"clique","clique":{"period":15,"epoch":30000}},"comment":"PoA test network","url":"https://www.rinkeby.io","genesis":{"hash":"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177","timestamp":"0x58ee40ba","gasLimit":4700000,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x53580584816f617295ea26c0e17641e0120cab2f0a8ffb53a866fd53aa8e8c2d"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x3b8e0691"},{"name":"homestead","block":1,"forkHash":"0x60949295"},{"name":"tangerineWhistle","block":2,"forkHash":"0x8bde40dd"},{"name":"spuriousDragon","block":3,"forkHash":"0xcb3a64bb"},{"name":"byzantium","block":1035301,"forkHash":"0x8d748b57"},{"name":"constantinople","block":3660663,"forkHash":"0xe49cab14"},{"name":"petersburg","block":4321234,"forkHash":"0xafec6b27"},{"name":"istanbul","block":5435345,"forkHash":"0xcbdb8838"},{"name":"berlin","block":8290928,"forkHash":"0x6910c8bd"},{"name":"london","block":8897988,"forkHash":"0x8e29f2f3"},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"52.169.42.101","port":30303,"id":"a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf","location":"","comment":"IE"},{"ip":"52.3.158.184","port":30303,"id":"343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8","location":"","comment":"INFURA"},{"ip":"159.89.28.211","port":30303,"id":"b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6","location":"","comment":"AKASHA"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.rinkeby.ethdisco.net"]}')},1227:R=>{R.exports=JSON.parse('{"name":"ropsten","chainId":3,"networkId":3,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"PoW test network","url":"https://github.com/ethereum/ropsten","genesis":{"hash":"0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d","timestamp":null,"gasLimit":16777216,"difficulty":1048576,"nonce":"0x0000000000000042","extraData":"0x3535353535353535353535353535353535353535353535353535353535353535","stateRoot":"0x217b0bbcfb72e2d57e28f33cb361b9983513177755dc3f33ce3e7022ed62b77b"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x30c7ddbc"},{"name":"homestead","block":0,"forkHash":"0x30c7ddbc"},{"name":"tangerineWhistle","block":0,"forkHash":"0x30c7ddbc"},{"name":"spuriousDragon","block":10,"forkHash":"0x63760190"},{"name":"byzantium","block":1700000,"forkHash":"0x3ea159c7"},{"name":"constantinople","block":4230000,"forkHash":"0x97b544f3"},{"name":"petersburg","block":4939394,"forkHash":"0xd6e2149b"},{"name":"istanbul","block":6485846,"forkHash":"0x4bc66396"},{"name":"muirGlacier","block":7117117,"forkHash":"0x6727ef90"},{"name":"berlin","block":9812189,"forkHash":"0xa157d377"},{"name":"london","block":10499401,"forkHash":"0x7119b6b3"},{"name":"merge","block":null,"forkash":null},{"name":"shanghai","block":null,"forkash":null}],"bootstrapNodes":[{"ip":"52.176.7.10","port":30303,"id":"30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606","location":"","comment":"US-Azure geth"},{"ip":"52.176.100.77","port":30303,"id":"865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c","location":"","comment":"US-Azure parity"},{"ip":"52.232.243.152","port":30303,"id":"6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f","location":"","comment":"Parity"},{"ip":"192.81.208.223","port":30303,"id":"94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09","location":"","comment":"@gpip"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.ropsten.ethdisco.net"]}')},7523:R=>{R.exports=JSON.parse('{"name":"EIP-1559","number":1559,"comment":"Fee market change for ETH 1.0 chain","url":"https://eips.ethereum.org/EIPS/eip-1559","status":"Review","minimumHardfork":"berlin","requiredEIPs":[2930],"gasConfig":{"baseFeeMaxChangeDenominator":{"v":8,"d":"Maximum base fee change denominator"},"elasticityMultiplier":{"v":2,"d":"Maximum block gas target elasticity"},"initialBaseFee":{"v":1000000000,"d":"Initial base fee on first EIP1559 block"}},"gasPrices":{},"vm":{},"pow":{}}')},3339:R=>{R.exports=JSON.parse('{"name":"EIP-2315","number":2315,"comment":"Simple subroutines for the EVM","url":"https://eips.ethereum.org/EIPS/eip-2315","status":"Draft","minimumHardfork":"istanbul","gasConfig":{},"gasPrices":{"beginsub":{"v":2,"d":"Base fee of the BEGINSUB opcode"},"returnsub":{"v":5,"d":"Base fee of the RETURNSUB opcode"},"jumpsub":{"v":10,"d":"Base fee of the JUMPSUB opcode"}},"vm":{},"pow":{}}')},6769:R=>{R.exports=JSON.parse('{"name":"EIP-2537","number":2537,"comment":"BLS12-381 precompiles","url":"https://eips.ethereum.org/EIPS/eip-2537","status":"Draft","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{"Bls12381G1AddGas":{"v":600,"d":"Gas cost of a single BLS12-381 G1 addition precompile-call"},"Bls12381G1MulGas":{"v":12000,"d":"Gas cost of a single BLS12-381 G1 multiplication precompile-call"},"Bls12381G2AddGas":{"v":4500,"d":"Gas cost of a single BLS12-381 G2 addition precompile-call"},"Bls12381G2MulGas":{"v":55000,"d":"Gas cost of a single BLS12-381 G2 multiplication precompile-call"},"Bls12381PairingBaseGas":{"v":115000,"d":"Base gas cost of BLS12-381 pairing check"},"Bls12381PairingPerPairGas":{"v":23000,"d":"Per-pair gas cost of BLS12-381 pairing check"},"Bls12381MapG1Gas":{"v":5500,"d":"Gas cost of BLS12-381 map field element to G1"},"Bls12381MapG2Gas":{"v":110000,"d":"Gas cost of BLS12-381 map field element to G2"},"Bls12381MultiExpGasDiscount":{"v":[[1,1200],[2,888],[3,764],[4,641],[5,594],[6,547],[7,500],[8,453],[9,438],[10,423],[11,408],[12,394],[13,379],[14,364],[15,349],[16,334],[17,330],[18,326],[19,322],[20,318],[21,314],[22,310],[23,306],[24,302],[25,298],[26,294],[27,289],[28,285],[29,281],[30,277],[31,273],[32,269],[33,268],[34,266],[35,265],[36,263],[37,262],[38,260],[39,259],[40,257],[41,256],[42,254],[43,253],[44,251],[45,250],[46,248],[47,247],[48,245],[49,244],[50,242],[51,241],[52,239],[53,238],[54,236],[55,235],[56,233],[57,232],[58,231],[59,229],[60,228],[61,226],[62,225],[63,223],[64,222],[65,221],[66,220],[67,219],[68,219],[69,218],[70,217],[71,216],[72,216],[73,215],[74,214],[75,213],[76,213],[77,212],[78,211],[79,211],[80,210],[81,209],[82,208],[83,208],[84,207],[85,206],[86,205],[87,205],[88,204],[89,203],[90,202],[91,202],[92,201],[93,200],[94,199],[95,199],[96,198],[97,197],[98,196],[99,196],[100,195],[101,194],[102,193],[103,193],[104,192],[105,191],[106,191],[107,190],[108,189],[109,188],[110,188],[111,187],[112,186],[113,185],[114,185],[115,184],[116,183],[117,182],[118,182],[119,181],[120,180],[121,179],[122,179],[123,178],[124,177],[125,176],[126,176],[127,175],[128,174]],"d":"Discount gas costs of calls to the MultiExp precompiles with `k` (point, scalar) pair"}},"vm":{},"pow":{}}')},7897:R=>{R.exports=JSON.parse('{"name":"EIP-2565","number":2565,"comment":"ModExp gas cost","url":"https://eips.ethereum.org/EIPS/eip-2565","status":"Last call","minimumHardfork":"byzantium","gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":3,"d":"Gquaddivisor from modexp precompile for gas calculation"}},"vm":{},"pow":{}}')},2170:R=>{R.exports=JSON.parse('{"name":"EIP-2718","comment":"Typed Transaction Envelope","url":"https://eips.ethereum.org/EIPS/eip-2718","status":"Draft","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},8436:R=>{R.exports=JSON.parse(`{"name":"EIP-2929","comment":"Gas cost increases for state access opcodes","url":"https://eips.ethereum.org/EIPS/eip-2929","status":"Draft","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{"coldsload":{"v":2100,"d":"Gas cost of the first read of storage from a given location (per transaction)"},"coldaccountaccess":{"v":2600,"d":"Gas cost of the first read of a given address (per transaction)"},"warmstorageread":{"v":100,"d":"Gas cost of reading storage locations which have already loaded 'cold'"},"sstoreCleanGasEIP2200":{"v":2900,"d":"Once per SSTORE operation from clean non-zero to something else"},"sstoreNoopGasEIP2200":{"v":100,"d":"Once per SSTORE operation if the value doesn't change"},"sstoreDirtyGasEIP2200":{"v":100,"d":"Once per SSTORE operation if a dirty value is changed"},"sstoreInitRefundEIP2200":{"v":19900,"d":"Once per SSTORE operation for resetting to the original zero value"},"sstoreCleanRefundEIP2200":{"v":4900,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"call":{"v":0,"d":"Base fee of the CALL opcode"},"callcode":{"v":0,"d":"Base fee of the CALLCODE opcode"},"delegatecall":{"v":0,"d":"Base fee of the DELEGATECALL opcode"},"staticcall":{"v":0,"d":"Base fee of the STATICCALL opcode"},"balance":{"v":0,"d":"Base fee of the BALANCE opcode"},"extcodesize":{"v":0,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":0,"d":"Base fee of the EXTCODECOPY opcode"},"extcodehash":{"v":0,"d":"Base fee of the EXTCODEHASH opcode"},"sload":{"v":0,"d":"Base fee of the SLOAD opcode"},"sstore":{"v":0,"d":"Base fee of the SSTORE opcode"}},"vm":{},"pow":{}}`)},6213:R=>{R.exports=JSON.parse('{"name":"EIP-2930","comment":"Optional access lists","url":"https://eips.ethereum.org/EIPS/eip-2930","status":"Draft","minimumHardfork":"istanbul","requiredEIPs":[2718,2929],"gasConfig":{},"gasPrices":{"accessListStorageKeyCost":{"v":1900,"d":"Gas cost per storage key in an Access List transaction"},"accessListAddressCost":{"v":2400,"d":"Gas cost per storage key in an Access List transaction"}},"vm":{},"pow":{}}')},5491:R=>{R.exports=JSON.parse('{"name":"EIP-3198","number":3198,"comment":"BASEFEE opcode","url":"https://eips.ethereum.org/EIPS/eip-3198","status":"Review","minimumHardfork":"london","gasConfig":{},"gasPrices":{"basefee":{"v":2,"d":"Gas cost of the BASEFEE opcode"}},"vm":{},"pow":{}}')},7852:R=>{R.exports=JSON.parse('{"name":"EIP-3529","comment":"Reduction in refunds","url":"https://eips.ethereum.org/EIPS/eip-3529","status":"Draft","minimumHardfork":"berlin","requiredEIPs":[2929],"gasConfig":{"maxRefundQuotient":{"v":5,"d":"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},"gasPrices":{"selfdestructRefund":{"v":0,"d":"Refunded following a selfdestruct operation"},"sstoreClearRefundEIP2200":{"v":4800,"d":"Once per SSTORE operation for clearing an originally existing storage slot"}},"vm":{},"pow":{}}')},1871:R=>{R.exports=JSON.parse('{"name":"EIP-3541","comment":"Reject new contracts starting with the 0xEF byte","url":"https://eips.ethereum.org/EIPS/eip-3541","status":"Draft","minimumHardfork":"berlin","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},7225:R=>{R.exports=JSON.parse('{"name":"EIP-3554","comment":"Reduction in refunds","url":"Difficulty Bomb Delay to December 1st 2021","status":"Draft","minimumHardfork":"muirGlacier","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":9500000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},8571:R=>{R.exports=JSON.parse('{"name":"EIP-3675","number":3675,"comment":"Upgrade consensus to Proof-of-Stake","url":"https://eips.ethereum.org/EIPS/eip-3675","status":"Draft","minimumHardfork":"london","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},15:R=>{R.exports=JSON.parse('{"name":"berlin","comment":"HF targeted for July 2020 following the Muir Glacier HF","url":"https://eips.ethereum.org/EIPS/eip-2070","status":"Draft","eips":[2565,2929,2718,2930]}')},6985:R=>{R.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final","gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"},"revert":{"v":0,"d":"Base fee of the REVERT opcode"},"staticcall":{"v":700,"d":"Base fee of the STATICCALL opcode"},"returndatasize":{"v":2,"d":"Base fee of the RETURNDATASIZE opcode"},"returndatacopy":{"v":3,"d":"Base fee of the RETURNDATACOPY opcode"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"},"difficultyBombDelay":{"v":3000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},114:R=>{R.exports=JSON.parse(`{"name":"chainstart","comment":"Start of the Ethereum main chain","url":"","status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"},"maxRefundQuotient":{"v":2,"d":"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Base fee of the EXP opcode"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Base fee of the SHA3 opcode"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation's data"},"sload":{"v":50,"d":"Base fee of the SLOAD opcode"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Base fee of the JUMPDEST opcode"},"log":{"v":375,"d":"Base fee of the LOG opcode"},"logData":{"v":8,"d":"Per byte in a LOG* operation's data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Base fee of the CREATE opcode"},"call":{"v":40,"d":"Base fee of the CALL opcode"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn't exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""},"stop":{"v":0,"d":"Base fee of the STOP opcode"},"add":{"v":3,"d":"Base fee of the ADD opcode"},"mul":{"v":5,"d":"Base fee of the MUL opcode"},"sub":{"v":3,"d":"Base fee of the SUB opcode"},"div":{"v":5,"d":"Base fee of the DIV opcode"},"sdiv":{"v":5,"d":"Base fee of the SDIV opcode"},"mod":{"v":5,"d":"Base fee of the MOD opcode"},"smod":{"v":5,"d":"Base fee of the SMOD opcode"},"addmod":{"v":8,"d":"Base fee of the ADDMOD opcode"},"mulmod":{"v":8,"d":"Base fee of the MULMOD opcode"},"signextend":{"v":5,"d":"Base fee of the SIGNEXTEND opcode"},"lt":{"v":3,"d":"Base fee of the LT opcode"},"gt":{"v":3,"d":"Base fee of the GT opcode"},"slt":{"v":3,"d":"Base fee of the SLT opcode"},"sgt":{"v":3,"d":"Base fee of the SGT opcode"},"eq":{"v":3,"d":"Base fee of the EQ opcode"},"iszero":{"v":3,"d":"Base fee of the ISZERO opcode"},"and":{"v":3,"d":"Base fee of the AND opcode"},"or":{"v":3,"d":"Base fee of the OR opcode"},"xor":{"v":3,"d":"Base fee of the XOR opcode"},"not":{"v":3,"d":"Base fee of the NOT opcode"},"byte":{"v":3,"d":"Base fee of the BYTE opcode"},"address":{"v":2,"d":"Base fee of the ADDRESS opcode"},"balance":{"v":20,"d":"Base fee of the BALANCE opcode"},"origin":{"v":2,"d":"Base fee of the ORIGIN opcode"},"caller":{"v":2,"d":"Base fee of the CALLER opcode"},"callvalue":{"v":2,"d":"Base fee of the CALLVALUE opcode"},"calldataload":{"v":3,"d":"Base fee of the CALLDATALOAD opcode"},"calldatasize":{"v":2,"d":"Base fee of the CALLDATASIZE opcode"},"calldatacopy":{"v":3,"d":"Base fee of the CALLDATACOPY opcode"},"codesize":{"v":2,"d":"Base fee of the CODESIZE opcode"},"codecopy":{"v":3,"d":"Base fee of the CODECOPY opcode"},"gasprice":{"v":2,"d":"Base fee of the GASPRICE opcode"},"extcodesize":{"v":20,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":20,"d":"Base fee of the EXTCODECOPY opcode"},"blockhash":{"v":20,"d":"Base fee of the BLOCKHASH opcode"},"coinbase":{"v":2,"d":"Base fee of the COINBASE opcode"},"timestamp":{"v":2,"d":"Base fee of the TIMESTAMP opcode"},"number":{"v":2,"d":"Base fee of the NUMBER opcode"},"difficulty":{"v":2,"d":"Base fee of the DIFFICULTY opcode"},"gaslimit":{"v":2,"d":"Base fee of the GASLIMIT opcode"},"pop":{"v":2,"d":"Base fee of the POP opcode"},"mload":{"v":3,"d":"Base fee of the MLOAD opcode"},"mstore":{"v":3,"d":"Base fee of the MSTORE opcode"},"mstore8":{"v":3,"d":"Base fee of the MSTORE8 opcode"},"sstore":{"v":0,"d":"Base fee of the SSTORE opcode"},"jump":{"v":8,"d":"Base fee of the JUMP opcode"},"jumpi":{"v":10,"d":"Base fee of the JUMPI opcode"},"pc":{"v":2,"d":"Base fee of the PC opcode"},"msize":{"v":2,"d":"Base fee of the MSIZE opcode"},"gas":{"v":2,"d":"Base fee of the GAS opcode"},"push":{"v":3,"d":"Base fee of the PUSH opcode"},"dup":{"v":3,"d":"Base fee of the DUP opcode"},"swap":{"v":3,"d":"Base fee of the SWAP opcode"},"callcode":{"v":40,"d":"Base fee of the CALLCODE opcode"},"return":{"v":0,"d":"Base fee of the RETURN opcode"},"invalid":{"v":0,"d":"Base fee of the INVALID opcode"},"selfdestruct":{"v":0,"d":"Base fee of the SELFDESTRUCT opcode"}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"},"difficultyBombDelay":{"v":0,"d":"the amount of blocks to delay the difficulty bomb with"}}}`)},5993:R=>{R.exports=JSON.parse(`{"name":"constantinople","comment":"Postponed hardfork including EIP-1283 (SSTORE gas metering changes)","url":"https://eips.ethereum.org/EIPS/eip-1013","status":"Final","gasConfig":{},"gasPrices":{"netSstoreNoopGas":{"v":200,"d":"Once per SSTORE operation if the value doesn't change"},"netSstoreInitGas":{"v":20000,"d":"Once per SSTORE operation from clean zero"},"netSstoreCleanGas":{"v":5000,"d":"Once per SSTORE operation from clean non-zero"},"netSstoreDirtyGas":{"v":200,"d":"Once per SSTORE operation from dirty"},"netSstoreClearRefund":{"v":15000,"d":"Once per SSTORE operation for clearing an originally existing storage slot"},"netSstoreResetRefund":{"v":4800,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"netSstoreResetClearRefund":{"v":19800,"d":"Once per SSTORE operation for resetting to the original zero value"},"shl":{"v":3,"d":"Base fee of the SHL opcode"},"shr":{"v":3,"d":"Base fee of the SHR opcode"},"sar":{"v":3,"d":"Base fee of the SAR opcode"},"extcodehash":{"v":400,"d":"Base fee of the EXTCODEHASH opcode"},"create2":{"v":32000,"d":"Base fee of the CREATE2 opcode"}},"vm":{},"pow":{"minerReward":{"v":"2000000000000000000","d":"The amount a miner gets rewarded for mining a block"},"difficultyBombDelay":{"v":5000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}`)},7197:R=>{R.exports=JSON.parse('{"name":"dao","comment":"DAO rescue hardfork","url":"https://eips.ethereum.org/EIPS/eip-779","status":"Final","gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},2800:R=>{R.exports=JSON.parse('{"name":"homestead","comment":"Homestead hardfork with protocol and network changes","url":"https://eips.ethereum.org/EIPS/eip-606","status":"Final","gasConfig":{},"gasPrices":{"delegatecall":{"v":40,"d":"Base fee of the DELEGATECALL opcode"}},"vm":{},"pow":{}}')},3166:R=>{R.exports=JSON.parse(`{"name":"istanbul","comment":"HF targeted for December 2019 following the Constantinople/Petersburg HF","url":"https://eips.ethereum.org/EIPS/eip-1679","status":"Draft","gasConfig":{},"gasPrices":{"blake2Round":{"v":1,"d":"Gas cost per round for the Blake2 F precompile"},"ecAdd":{"v":150,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":6000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":45000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":34000,"d":"Gas costs regarding curve pairing precompile input length"},"txDataNonZero":{"v":16,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"sstoreSentryGasEIP2200":{"v":2300,"d":"Minimum gas required to be present for an SSTORE call, not consumed"},"sstoreNoopGasEIP2200":{"v":800,"d":"Once per SSTORE operation if the value doesn't change"},"sstoreDirtyGasEIP2200":{"v":800,"d":"Once per SSTORE operation if a dirty value is changed"},"sstoreInitGasEIP2200":{"v":20000,"d":"Once per SSTORE operation from clean zero to non-zero"},"sstoreInitRefundEIP2200":{"v":19200,"d":"Once per SSTORE operation for resetting to the original zero value"},"sstoreCleanGasEIP2200":{"v":5000,"d":"Once per SSTORE operation from clean non-zero to something else"},"sstoreCleanRefundEIP2200":{"v":4200,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"sstoreClearRefundEIP2200":{"v":15000,"d":"Once per SSTORE operation for clearing an originally existing storage slot"},"balance":{"v":700,"d":"Base fee of the BALANCE opcode"},"extcodehash":{"v":700,"d":"Base fee of the EXTCODEHASH opcode"},"chainid":{"v":2,"d":"Base fee of the CHAINID opcode"},"selfbalance":{"v":5,"d":"Base fee of the SELFBALANCE opcode"},"sload":{"v":800,"d":"Base fee of the SLOAD opcode"}},"vm":{},"pow":{}}`)},1250:R=>{R.exports=JSON.parse('{"name":"london","comment":"HF targeted for July 2021 following the Berlin fork","url":"https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md","status":"Draft","eips":[1559,3198,3529,3541]}')},8648:R=>{R.exports=JSON.parse('{"name":"merge","comment":"Hardfork to upgrade the consensus mechanism to Proof-of-Stake","url":"https://github.com/ethereum/pm/issues/361","status":"pre-Draft","consensus":{"type":"pos","algorithm":"casper","casper":{}},"eips":[3675]}')},2946:R=>{R.exports=JSON.parse('{"name":"muirGlacier","comment":"HF to delay the difficulty bomb","url":"https://eips.ethereum.org/EIPS/eip-2384","status":"Final","gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":9000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},4064:R=>{R.exports=JSON.parse('{"name":"petersburg","comment":"Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople","url":"https://eips.ethereum.org/EIPS/eip-1716","status":"Draft","gasConfig":{},"gasPrices":{"netSstoreNoopGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreInitGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreCleanGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreDirtyGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreClearRefund":{"v":null,"d":"Removed along EIP-1283"},"netSstoreResetRefund":{"v":null,"d":"Removed along EIP-1283"},"netSstoreResetClearRefund":{"v":null,"d":"Removed along EIP-1283"}},"vm":{},"pow":{}}')},5553:R=>{R.exports=JSON.parse('{"name":"shanghai","comment":"Next feature hardfork after the London HF","url":"https://github.com/ethereum/pm/issues/356","status":"Pre-Draft","eips":[]}')},716:R=>{R.exports=JSON.parse('{"name":"spuriousDragon","comment":"HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit","url":"https://eips.ethereum.org/EIPS/eip-607","status":"Final","gasConfig":{},"gasPrices":{"expByte":{"v":50,"d":"Times ceil(log256(exponent)) for the EXP instruction"}},"vm":{"maxCodeSize":{"v":24576,"d":"Maximum length of contract code"}},"pow":{}}')},2302:R=>{R.exports=JSON.parse('{"name":"tangerineWhistle","comment":"Hardfork with gas cost changes for IO-heavy operations","url":"https://eips.ethereum.org/EIPS/eip-608","status":"Final","gasConfig":{},"gasPrices":{"sload":{"v":200,"d":"Once per SLOAD operation"},"call":{"v":700,"d":"Once per CALL operation & message call transaction"},"extcodesize":{"v":700,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":700,"d":"Base fee of the EXTCODECOPY opcode"},"balance":{"v":400,"d":"Base fee of the BALANCE opcode"},"delegatecall":{"v":700,"d":"Base fee of the DELEGATECALL opcode"},"callcode":{"v":700,"d":"Base fee of the CALLCODE opcode"},"selfdestruct":{"v":5000,"d":"Base fee of the SELFDESTRUCT opcode"}},"vm":{},"pow":{}}')},4946:R=>{R.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},5207:R=>{R.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:R=>{R.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3630:R=>{R.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"blake3":30,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"libp2p-peer-record":769,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,"x11":4352,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},9799:R=>{R.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},8597:R=>{R.exports={i8:"6.5.4"}},4070:R=>{R.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"x11":4352,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},2562:R=>{R.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},9794:R=>{R.exports={version:"1.0.34"}},8920:R=>{R.exports={i8:"1.9.0"}}},le={};function Qt(R){var y=le[R];if(y!==void 0)return y.exports;var c=le[R]={id:R,loaded:!1,exports:{}};return Xt[R](c,c.exports,Qt),c.loaded=!0,c.exports}return Qt.amdO={},Qt.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Qt.nmd=R=>(R.paths=[],R.children||(R.children=[]),R),Qt(7001)})())})(ve);var Ae=ve.exports;const me=ge.getDefaultExportFromCjs(Ae),ke={class:"pd-big"},_e=ht.createElementVNode("h1",{class:"mn-small"}," Your Wallet ",-1),Se=ht.createElementVNode("p",{class:"mn-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),Ee={class:"mn-semi flex-nowrap flex gap-thin"},xe={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},Pe=ht.createElementVNode("h3",{class:"mn-small"},"Make first order and start earning Weeder Token ",-1),Oe=ht.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace",-1),Be=[Pe,Oe],Ce={key:1,class:"w-100 pd-medium radius-medium bg-grey"},Te=ht.createElementVNode("p",{class:"h4 mn-thin"},"You own: ",-1),Ie=ht.createElementVNode("h3",{class:"mn-small"},"0.14% of Weeder",-1),Me=ht.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),Ue=[Te,Ie,Me],Re={key:2,class:"w-100 pd-medium radius-medium bg-grey"},Ne=ht.createElementVNode("p",{class:"h4 mn-thin"},"You earn: ",-1),je=ht.createElementVNode("h3",{class:"mn-small"},"245.43 WDT",-1),Fe=ht.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),Le=[Ne,je,Fe],De={class:"w-50 bg-black radius-semi pd-medium t-white"},He=ht.createElementVNode("p",{class:"h4 mn-thin"},"Your Metamask",-1),qe={key:0,class:"mn-small pd-small br-solid br-1px br-white-transp-10 radius-small"},ze={key:1,class:"p-medium t-transp mn-small"},Ge=ht.createElementVNode("h3",{class:"mn-small"}," Incomes ",-1),Ke={class:"cols-4 gap-thin"},Ve={class:"pd-medium radius-medium bg-grey"},Je={class:"mn-small"},We={class:"p-small mn-small"},Ye={__name:"Wallet",setup(be){we.useRoute(),ht.ref(!1);const ye=new me(me.givenProvider||"http://localhost:8080"),Xt=ht.ref(null);async function le(){const Qt=await ye.eth.requestAccounts();Xt.value=Qt[0]}return ht.onMounted(()=>{}),(Qt,R)=>(ht.openBlock(),ht.createElementBlock("section",ke,[_e,Se,ht.createElementVNode("div",Ee,[Xt.value?ht.createCommentVNode("",!0):(ht.openBlock(),ht.createElementBlock("div",xe,Be)),Xt.value?(ht.openBlock(),ht.createElementBlock("div",Ce,Ue)):ht.createCommentVNode("",!0),Xt.value?(ht.openBlock(),ht.createElementBlock("div",Re,Le)):ht.createCommentVNode("",!0),ht.createElementVNode("div",De,[He,Xt.value?(ht.openBlock(),ht.createElementBlock("div",qe,ht.toDisplayString(Xt.value),1)):ht.createCommentVNode("",!0),Xt.value?ht.createCommentVNode("",!0):(ht.openBlock(),ht.createElementBlock("p",ze,"Connect Metamask to withdrawal your earnings.")),Xt.value?ht.createCommentVNode("",!0):(ht.openBlock(),ht.createElementBlock("button",{key:2,onClick:le,class:"w-100 button"}," Connect Wallet ")),Xt.value?(ht.openBlock(),ht.createElementBlock("button",{key:3,onClick:R[0]||(R[0]=(...y)=>Qt.disconnectWallet&&Qt.disconnectWallet(...y)),class:"w-100 bg-red button"}," Disonnect Wallet ")):ht.createCommentVNode("",!0)])]),Ge,ht.createElementVNode("section",Ke,[(ht.openBlock(!0),ht.createElementBlock(ht.Fragment,null,ht.renderList([{balance:34,type:"income",reason:"order",target:"ef34dsdase4389snjnu (_id)"},{balance:25,type:"income",reason:"post",target:"ef34dsdase4389snjnu (_id)"},{balance:17,type:"income",reason:"comment",target:"ef34dsdase4389snjnu (_id)"},{balance:43,type:"event",reason:"order",target:"ef34dsdase4389snjnu (_id)"}],y=>(ht.openBlock(),ht.createElementBlock("div",Ve,[ht.createElementVNode("h3",Je,"+ "+ht.toDisplayString(y.balance)+" WDT",1),ht.createElementVNode("p",We,"For "+ht.toDisplayString(y.reason)+" "+ht.toDisplayString(y.target),1)]))),256))])]))}};exports.default=Ye;