Files
to_session/web_process/MetaMask 12.16.1/common-8.js
Administrator a0720d80dc fefdwef
2025-11-12 12:54:37 +08:00

38 lines
853 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LavaPack.loadBundle([[4371,{"./_version":4368,"./formatter":4377,"@ethersproject/abstract-provider":487,"@ethersproject/base64":493,"@ethersproject/basex":494,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/constants":504,"@ethersproject/hash":513,"@ethersproject/logger":528,"@ethersproject/networks":4388,"@ethersproject/properties":534,"@ethersproject/sha2":563,"@ethersproject/strings":573,"@ethersproject/web":4391,bech32:4395},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.BaseProvider=r.Resolver=r.Event=void 0;var u=e("@ethersproject/abstract-provider"),c=e("@ethersproject/base64"),l=e("@ethersproject/basex"),f=e("@ethersproject/bignumber"),h=e("@ethersproject/bytes"),d=e("@ethersproject/constants"),p=e("@ethersproject/hash"),y=e("@ethersproject/networks"),g=e("@ethersproject/properties"),m=e("@ethersproject/sha2"),b=e("@ethersproject/strings"),_=e("@ethersproject/web"),w=a(e("bech32")),v=e("@ethersproject/logger"),A=e("./_version"),T=new v.Logger(A.version),E=e("./formatter");function j(e){return null==e?"null":(32!==(0,h.hexDataLength)(e)&&T.throwArgumentError("invalid topic","topic",e),e.toLowerCase())}function x(e){for(e=e.slice();e.length>0&&null==e[e.length-1];)e.pop();return e.map((function(e){if(Array.isArray(e)){var t={};e.forEach((function(e){t[j(e)]=!0}));var r=Object.keys(t);return r.sort(),r.join("|")}return j(e)})).join("&")}function k(e){if("string"==typeof e){if(e=e.toLowerCase(),32===(0,h.hexDataLength)(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+x(e);if(u.ForkEvent.isForkEvent(e))throw T.warn("not implemented"),new Error("not implemented");if(e&&"object"==typeof e)return"filter:"+(e.address||"*")+":"+x(e.topics||[])}throw new Error("invalid event - "+e)}function P(){return(new Date).getTime()}function S(e){return new Promise((function(t){setTimeout(t,e)}))}var O=["block","network","pending","poll"],I=function(){function e(e,t,r){(0,g.defineReadOnly)(this,"tag",e),(0,g.defineReadOnly)(this,"listener",t),(0,g.defineReadOnly)(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(e.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){var e=this.tag.split(":");return"tx"!==e[0]?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){var e=this.tag.split(":");if("filter"!==e[0])return null;var t,r=e[1],n=""===(t=e[2])?[]:t.split(/&/g).map((function(e){if(""===e)return[];var t=e.split("|").map((function(e){return"null"===e?null:e}));return 1===t.length?t[0]:t})),i={};return n.length>0&&(i.topics=n),r&&"*"!==r&&(i.address=r),i},enumerable:!1,configurable:!0}),e.prototype.pollable=function(){return this.tag.indexOf(":")>=0||O.indexOf(this.tag)>=0},e}();r.Event=I;var N={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function R(e){return(0,h.hexZeroPad)(f.BigNumber.from(e).toHexString(),32)}function U(e){return l.Base58.encode((0,h.concat)([e,(0,h.hexDataSlice)((0,m.sha256)((0,m.sha256)(e)),0,4)]))}var B=new RegExp("^(ipfs)://(.*)$","i"),C=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),B,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function L(e,t){try{return(0,b.toUtf8String)(F(e,t))}catch(e){}return null}function F(e,t){if("0x"===e)return null;var r=f.BigNumber.from((0,h.hexDataSlice)(e,t,t+32)).toNumber(),n=f.BigNumber.from((0,h.hexDataSlice)(e,r,r+32)).toNumber();return(0,h.hexDataSlice)(e,r+32,r+32+n)}function D(e){return e.match(/^ipfs:\/\/ipfs\//i)?e=e.substring(12):e.match(/^ipfs:\/\//i)?e=e.substring(7):T.throwArgumentError("unsupported IPFS format","link",e),"https://gateway.ipfs.io/ipfs/"+e}function M(e){var t=(0,h.arrayify)(e);if(t.length>32)throw new Error("internal; should not happen");var r=new Uint8Array(32);return r.set(t,32-t.length),r}function z(e){if(e.length%32==0)return e;var t=new Uint8Array(32*Math.ceil(e.length/32));return t.set(e),t}function G(e){for(var t=[],r=0,n=0;n<e.length;n++)t.push(null),r+=32;for(n=0;n<e.length;n++){var i=(0,h.arrayify)(e[n]);t[n]=M(r),t.push(M(i.length)),t.push(z(i)),r+=32+32*Math.ceil(i.length/32)}return(0,h.hexConcat)(t)}var H=function(){function e(e,t,r,n){(0,g.defineReadOnly)(this,"provider",e),(0,g.defineReadOnly)(this,"name",r),(0,g.defineReadOnly)(this,"address",e.formatter.address(t)),(0,g.defineReadOnly)(this,"_resolvedAddress",n)}return e.prototype.supportsWildcard=function(){var e=this;return this._supportsEip2544||(this._supportsEip2544=this.provider.call({to:this.address,data:"0x01ffc9a79061b92300000000000000000000000000000000000000000000000000000000"}).then((function(e){return f.BigNumber.from(e).eq(1)})).catch((function(t){if(t.code===v.Logger.errors.CALL_EXCEPTION)return!1;throw e._supportsEip2544=null,t}))),this._supportsEip2544},e.prototype._fetch=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return r={to:this.address,ccipReadEnabled:!0,data:(0,h.hexConcat)([e,(0,p.namehash)(this.name),t||"0x"])},n=!1,[4,this.supportsWildcard()];case 1:s.sent()&&(n=!0,r.data=(0,h.hexConcat)(["0x9061b923",G([(0,p.dnsEncode)(this.name),r.data])])),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.provider.call(r)];case 3:return i=s.sent(),(0,h.arrayify)(i).length%32==4&&T.throwError("resolver threw error",v.Logger.errors.CALL_EXCEPTION,{transaction:r,data:i}),n&&(i=F(i,0)),[2,i];case 4:if((o=s.sent()).code===v.Logger.errors.CALL_EXCEPTION)return[2,null];throw o;case 5:return[2]}}))}))},e.prototype._fetchBytes=function(e,t){return o(this,void 0,void 0,(function(){var r;return s(this,(function(n){switch(n.label){case 0:return[4,this._fetch(e,t)];case 1:return null!=(r=n.sent())?[2,F(r,0)]:[2,null]}}))}))},e.prototype._getAddress=function(e,t){var r=N[String(e)];if(null==r&&T.throwError("unsupported coin type: "+e,v.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")"}),"eth"===r.ilk)return this.provider.formatter.address(t);var n=(0,h.arrayify)(t);if(null!=r.p2pkh){var i=t.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(i){var o=parseInt(i[1],16);if(i[2].length===2*o&&o>=1&&o<=75)return U((0,h.concat)([[r.p2pkh],"0x"+i[2]]))}}if(null!=r.p2sh){var s=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var a=parseInt(s[1],16);if(s[2].length===2*a&&a>=1&&a<=75)return U((0,h.concat)([[r.p2sh],"0x"+s[2]]))}}if(null!=r.prefix){var u=n[1],c=n[0];if(0===c?20!==u&&32!==u&&(c=-1):c=-1,c>=0&&n.length===2+u&&u>=1&&u<=75){var l=w.default.toWords(n.slice(2));return l.unshift(c),w.default.encode(r.prefix,l)}}return null},e.prototype.getAddress=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i;return s(this,(function(o){switch(o.label){case 0:if(null==e&&(e=60),60!==e)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return"0x"===(t=o.sent())||t===d.HashZero?[2,null]:[2,this.provider.formatter.callAddress(t)];case 3:if((r=o.sent()).code===v.Logger.errors.CALL_EXCEPTION)return[2,null];throw r;case 4:return[4,this._fetchBytes("0xf1cb7e06",R(e))];case 5:return null==(n=o.sent())||"0x"===n?[2,null]:(null==(i=this._getAddress(e,n))&&T.throwError("invalid or unsupported coin data",v.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:n}),[2,i])}}))}))},e.prototype.getAvatar=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o,a,u,c,l,d,p,y,g,m,b,w,v,A,T,E,j;return s(this,(function(s){switch(s.label){case 0:e=[{type:"name",content:this.name}],s.label=1;case 1:return s.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(null==(t=s.sent()))return[2,null];r=0,s.label=3;case 3:if(!(r<C.length))return[3,18];if(null==(n=t.match(C[r])))return[3,17];switch(i=n[1].toLowerCase(),i){case"https":return[3,4];case"data":return[3,5];case"ipfs":return[3,6];case"erc721":case"erc1155":return[3,7]}return[3,17];case 4:return e.push({type:"url",content:t}),[2,{linkage:e,url:t}];case 5:return e.push({type:"data",content:t}),[2,{linkage:e,url:t}];case 6:return e.push({type:"ipfs",content:t}),[2,{linkage:e,url:D(t)}];case 7:return o="erc721"===i?"0xc87b56dd":"0x0e89341c",e.push({type:i,content:t}),(u=this._resolvedAddress)?[3,9]:[4,this.getAddress()];case 8:u=s.sent(),s.label=9;case 9:return a=u,2!==(c=(n[2]||"").split("/")).length?[2,null]:[4,this.provider.formatter.address(c[0])];case 10:return l=s.sent(),d=(0,h.hexZeroPad)(f.BigNumber.from(c[1]).toHexString(),32),"erc721"!==i?[3,12]:(g=(y=this.provider.formatter).callAddress,[4,this.provider.call({to:l,data:(0,h.hexConcat)(["0x6352211e",d])})]);case 11:return p=g.apply(y,[s.sent()]),a!==p?[2,null]:(e.push({type:"owner",content:p}),[3,14]);case 12:return"erc1155"!==i?[3,14]:(w=(b=f.BigNumber).from,[4,this.provider.call({to:l,data:(0,h.hexConcat)(["0x00fdd58e",(0,h.hexZeroPad)(a,32),d])})]);case 13:if((m=w.apply(b,[s.sent()])).isZero())return[2,null];e.push({type:"balance",content:m.toString()}),s.label=14;case 14:return v={to:this.provider.formatter.address(c[0]),data:(0,h.hexConcat)([o,d])},T=L,[4,this.provider.call(v)];case 15:return null==(A=T.apply(void 0,[s.sent(),0]))?[2,null]:(e.push({type:"metadata-url-base",content:A}),"erc1155"===i&&(A=A.replace("{id}",d.substring(2)),e.push({type:"metadata-url-expanded",content:A})),A.match(/^ipfs:/i)&&(A=D(A)),e.push({type:"metadata-url",content:A}),[4,(0,_.fetchJson)(A)]);case 16:if(!(E=s.sent()))return[2,null];if(e.push({type:"metadata",content:JSON.stringify(E)}),"string"!=typeof(j=E.image))return[2,null];if(j.match(/^(https:\/\/|data:)/i));else{if(null==j.match(B))return[2,null];e.push({type:"url-ipfs",content:j}),j=D(j)}return e.push({type:"url",content:j}),[2,{linkage:e,url:j}];case 17:return r++,[3,3];case 18:return[3,20];case 19:return s.sent(),[3,20];case 20:return[2,null]}}))}))},e.prototype.getContentHash=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o,a,u;return s(this,(function(s){switch(s.label){case 0:return[4,this._fetchBytes("0xbc1c58d1")];case 1:return null==(e=s.sent())||"0x"===e?[2,null]:(t=e.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/))&&(r=parseInt(t[3],16),t[4].length===2*r)?[2,"ipfs://"+l.Base58.encode("0x"+t[1])]:(n=e.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/))&&(i=parseInt(n[3],16),n[4].length===2*i)?[2,"ipns://"+l.Base58.encode("0x"+n[1])]:(o=e.match(/^0xe40101fa011b20([0-9a-f]*)$/))&&64===o[1].length?[2,"bzz://"+o[1]]:(a=e.match(/^0x90b2c605([0-9a-f]*)$/))&&68===a[1].length?(u={"=":"","+":"-","/":"_"},[2,"sia://"+(0,c.encode)("0x"+a[1]).replace(/[=+\/]/g,(function(e){return u[e]}))]):[2,T.throwError("invalid or unsupported content hash data",v.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:e})]}}))}))},e.prototype.getText=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return t=(0,b.toUtf8Bytes)(e),(t=(0,h.concat)([R(64),R(t.length),t])).length%32!=0&&(t=(0,h.concat)([t,(0,h.hexZeroPad)("0x",32-e.length%32)])),[4,this._fetchBytes("0x59d1d43c",(0,h.hexlify)(t))];case 1:return null==(r=n.sent())||"0x"===r?[2,null]:[2,(0,b.toUtf8String)(r)]}}))}))},e}();r.Resolver=H;var V=null,K=1,$=function(e){function t(t){var r=this.constructor,n=e.call(this)||this;if(n._events=[],n._emitted={block:-2},n.disableCcipRead=!1,n.formatter=r.getFormatter(),(0,g.defineReadOnly)(n,"anyNetwork","any"===t),n.anyNetwork&&(t=n.detectNetwork()),t instanceof Promise)n._networkPromise=t,t.catch((function(e){})),n._ready().catch((function(e){}));else{var i=(0,g.getStatic)(r,"getNetwork")(t);i?((0,g.defineReadOnly)(n,"_network",i),n.emit("network",i,null)):T.throwArgumentError("invalid network","network",t)}return n._maxInternalBlockNumber=-1024,n._lastBlockNumber=-2,n._maxFilterBlockRange=10,n._pollingInterval=4e3,n._fastQueryDate=0,n}return i(t,e),t.prototype._ready=function(){return o(this,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:if(null!=this._network)return[3,7];if(e=null,!this._networkPromise)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this._networkPromise];case 2:return e=t.sent(),[3,4];case 3:return t.sent(),[3,4];case 4:return null!=e?[3,6]:[4,this.detectNetwork()];case 5:e=t.sent(),t.label=6;case 6:e||T.throwError("no network detected",v.Logger.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=e:(0,g.defineReadOnly)(this,"_network",e),this.emit("network",e,null)),t.label=7;case 7:return[2,this._network]}}))}))},Object.defineProperty(t.prototype,"ready",{get:function(){var e=this;return(0,_.poll)((function(){return e._ready().then((function(e){return e}),(function(e){if(e.code===v.Logger.errors.NETWORK_ERROR&&"noNetwork"===e.event)return undefined;throw e}))}))},enumerable:!1,configurable:!0}),t.getFormatter=function(){return null==V&&(V=new E.Formatter),V},t.getNetwork=function(e){return(0,y.getNetwork)(null==e?"homestead":e)},t.prototype.ccipReadFetch=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o,a,u,c,l,f,h;return s(this,(function(s){switch(s.label){case 0:if(this.disableCcipRead||0===r.length)return[2,null];n=e.to.toLowerCase(),i=t.toLowerCase(),o=[],a=0,s.label=1;case 1:return a<r.length?(u=r[a],c=u.replace("{sender}",n).replace("{data}",i),l=u.indexOf("{data}")>=0?null:JSON.stringify({data:i,sender:n}),[4,(0,_.fetchJson)({url:c,errorPassThrough:!0},l,(function(e,t){return e.status=t.statusCode,e}))]):[3,4];case 2:if((f=s.sent()).data)return[2,f.data];if(h=f.message||"unknown error",f.status>=400&&f.status<500)return[2,T.throwError("response not found during CCIP fetch: "+h,v.Logger.errors.SERVER_ERROR,{url:u,errorMessage:h})];o.push(h),s.label=3;case 3:return a++,[3,1];case 4:return[2,T.throwError("error encountered during CCIP fetch: "+o.map((function(e){return JSON.stringify(e)})).join(", "),v.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:o})]}}))}))},t.prototype._getInternalBlockNumber=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i,o=this;return s(this,(function(s){switch(s.label){case 0:return[4,this._ready()];case 1:if(s.sent(),!(e>0))return[3,7];s.label=2;case 2:if(!this._internalBlockNumber)return[3,7];t=this._internalBlockNumber,s.label=3;case 3:return s.trys.push([3,5,,6]),[4,t];case 4:return r=s.sent(),P()-r.respTime<=e?[2,r.blockNumber]:[3,7];case 5:return s.sent(),this._internalBlockNumber===t?[3,7]:[3,6];case 6:return[3,2];case 7:return n=P(),i=(0,g.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((function(e){return null}),(function(e){return e}))}).then((function(e){var t=e.blockNumber,r=e.networkError;if(r)throw o._internalBlockNumber===i&&(o._internalBlockNumber=null),r;var s=P();return(t=f.BigNumber.from(t).toNumber())<o._maxInternalBlockNumber&&(t=o._maxInternalBlockNumber),o._maxInternalBlockNumber=t,o._setFastBlockNumber(t),{blockNumber:t,reqTime:n,respTime:s}})),this._internalBlockNumber=i,i.catch((function(e){o._internalBlockNumber===i&&(o._internalBlockNumber=null)})),[4,i];case 8:return[2,s.sent().blockNumber]}}))}))},t.prototype.poll=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o=this;return s(this,(function(s){switch(s.label){case 0:e=K++,t=[],r=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this._getInternalBlockNumber(100+this.pollingInterval/2)];case 2:return r=s.sent(),[3,4];case 3:return n=s.sent(),this.emit("error",n),[2];case 4:if(this._setFastBlockNumber(r),this.emit("poll",e,r),r===this._lastBlockNumber)return this.emit("didPoll",e),[2];if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)T.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",T.makeError("network block skew detected",v.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(i=this._emitted.block+1;i<=r;i++)this.emit("block",i);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((function(e){if("block"!==e){var t=o._emitted[e];"pending"!==t&&r-t>12&&delete o._emitted[e]}}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((function(e){switch(e.type){case"tx":var n=e.hash,i=o.getTransactionReceipt(n).then((function(e){return e&&null!=e.blockNumber?(o._emitted["t:"+n]=e.blockNumber,o.emit(n,e),null):null})).catch((function(e){o.emit("error",e)}));t.push(i);break;case"filter":if(!e._inflight){e._inflight=!0,-2===e._lastBlockNumber&&(e._lastBlockNumber=r-1);var s=e.filter;s.fromBlock=e._lastBlockNumber+1,s.toBlock=r;var a=s.toBlock-o._maxFilterBlockRange;a>s.fromBlock&&(s.fromBlock=a),s.fromBlock<0&&(s.fromBlock=0);i=o.getLogs(s).then((function(t){e._inflight=!1,0!==t.length&&t.forEach((function(t){t.blockNumber>e._lastBlockNumber&&(e._lastBlockNumber=t.blockNumber),o._emitted["b:"+t.blockHash]=t.blockNumber,o._emitted["t:"+t.transactionHash]=t.blockNumber,o.emit(s,t)}))})).catch((function(t){o.emit("error",t),e._inflight=!1}));t.push(i)}}})),this._lastBlockNumber=r,Promise.all(t).then((function(){o.emit("didPoll",e)})).catch((function(e){o.emit("error",e)})),[2]}}))}))},t.prototype.resetEventsBlock=function(e){this._lastBlockNumber=e-1,this.polling&&this.poll()},Object.defineProperty(t.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),t.prototype.detectNetwork=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,T.throwError("provider does not support network detection",v.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]}))}))},t.prototype.getNetwork=function(){return o(this,void 0,void 0,(function(){var e,t,r;return s(this,(function(n){switch(n.label){case 0:return[4,this._ready()];case 1:return e=n.sent(),[4,this.detectNetwork()];case 2:return t=n.sent(),e.chainId===t.chainId?[3,5]:this.anyNetwork?(this._network=t,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",t,e),[4,S(0)]):[3,4];case 3:return n.sent(),[2,this._network];case 4:throw r=T.makeError("underlying network changed",v.Logger.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:t}),this.emit("error",r),r;case 5:return[2,e]}}))}))},Object.defineProperty(t.prototype,"blockNumber",{get:function(){var e=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then((function(t){e._setFastBlockNumber(t)}),(function(e){})),null!=this._fastBlockNumber?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"polling",{get:function(){return null!=this._poller},set:function(e){var t=this;e&&!this._poller?(this._poller=setInterval((function(){t.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((function(){t.poll(),t._bootstrapPoll=setTimeout((function(){t._poller||t.poll(),t._bootstrapPoll=null}),t.pollingInterval)}),0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(e){var t=this;if("number"!=typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval((function(){t.poll()}),this._pollingInterval))},enumerable:!1,configurable:!0}),t.prototype._getFastBlockNumber=function(){var e=this,t=P();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((function(t){return(null==e._fastBlockNumber||t>e._fastBlockNumber)&&(e._fastBlockNumber=t),e._fastBlockNumber}))),this._fastBlockNumberPromise},t.prototype._setFastBlockNumber=function(e){null!=this._fastBlockNumber&&e<this._fastBlockNumber||(this._fastQueryDate=P(),(null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))},t.prototype.waitForTransaction=function(e,t,r){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._waitForTransaction(e,null==t?1:t,r||0,null)]}))}))},t.prototype._waitForTransaction=function(e,t,r,n){return o(this,void 0,void 0,(function(){var i,a=this;return s(this,(function(u){switch(u.label){case 0:return[4,this.getTransactionReceipt(e)];case 1:return((i=u.sent())?i.confirmations:0)>=t?[2,i]:[2,new Promise((function(i,u){var c=[],l=!1,f=function(){return!!l||(l=!0,c.forEach((function(e){e()})),!1)},h=function(e){e.confirmations<t||f()||i(e)};if(a.on(e,h),c.push((function(){a.removeListener(e,h)})),n){var d=n.startBlock,p=null,y=function(r){return o(a,void 0,void 0,(function(){var i=this;return s(this,(function(a){switch(a.label){case 0:return l?[2]:[4,S(1e3)];case 1:return a.sent(),this.getTransactionCount(n.from).then((function(a){return o(i,void 0,void 0,(function(){var i,o,c,h,g,m;return s(this,(function(s){switch(s.label){case 0:return l?[2]:a<=n.nonce?(d=r,[3,9]):[3,1];case 1:return[4,this.getTransaction(e)];case 2:if((i=s.sent())&&null!=i.blockNumber)return[2];null==p&&(p=d-3)<n.startBlock&&(p=n.startBlock),s.label=3;case 3:return p<=r?l?[2]:[4,this.getBlockWithTransactions(p)]:[3,9];case 4:o=s.sent(),c=0,s.label=5;case 5:return c<o.transactions.length?(h=o.transactions[c]).hash===e?[2]:h.from!==n.from||h.nonce!==n.nonce?[3,7]:l?[2]:[4,this.waitForTransaction(h.hash,t)]:[3,8];case 6:return g=s.sent(),f()?[2]:(m="replaced",h.data===n.data&&h.to===n.to&&h.value.eq(n.value)?m="repriced":"0x"===h.data&&h.from===h.to&&h.value.isZero()&&(m="cancelled"),u(T.makeError("transaction was replaced",v.Logger.errors.TRANSACTION_REPLACED,{cancelled:"replaced"===m||"cancelled"===m,reason:m,replacement:this._wrapTransaction(h),hash:e,receipt:g})),[2]);case 7:return c++,[3,5];case 8:return p++,[3,3];case 9:return l||this.once("block",y),[2]}}))}))}),(function(e){l||i.once("block",y)})),[2]}}))}))};if(l)return;a.once("block",y),c.push((function(){a.removeListener("block",y)}))}if("number"==typeof r&&r>0){var g=setTimeout((function(){f()||u(T.makeError("timeout exceeded",v.Logger.errors.TIMEOUT,{timeout:r}))}),r);g.unref&&g.unref(),c.push((function(){clearTimeout(g)}))}}))]}}))}))},t.prototype.getBlockNumber=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this._getInternalBlockNumber(0)]}))}))},t.prototype.getGasPrice=function(){return o(this,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return[4,this.getNetwork()];case 1:return t.sent(),[4,this.perform("getGasPrice",{})];case 2:e=t.sent();try{return[2,f.BigNumber.from(e)]}catch(t){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:t})]}return[2]}}))}))},t.prototype.getBalance=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return s(this,(function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=i.sent(),[4,this.perform("getBalance",r)];case 3:n=i.sent();try{return[2,f.BigNumber.from(n)]}catch(e){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getTransactionCount=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return s(this,(function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=i.sent(),[4,this.perform("getTransactionCount",r)];case 3:n=i.sent();try{return[2,f.BigNumber.from(n).toNumber()]}catch(e){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getCode=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return s(this,(function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=i.sent(),[4,this.perform("getCode",r)];case 3:n=i.sent();try{return[2,(0,h.hexlify)(n)]}catch(e){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getStorageAt=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(r),position:Promise.resolve(t).then((function(e){return(0,h.hexValue)(e)}))})];case 2:return n=o.sent(),[4,this.perform("getStorageAt",n)];case 3:i=o.sent();try{return[2,(0,h.hexlify)(i)]}catch(e){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:e})]}return[2]}}))}))},t.prototype._wrapTransaction=function(e,t,r){var n=this;if(null!=t&&32!==(0,h.hexDataLength)(t))throw new Error("invalid response - sendTransaction");var i=e;return null!=t&&e.hash!==t&&T.throwError("Transaction hash mismatch from Provider.sendTransaction.",v.Logger.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),i.wait=function(t,i){return o(n,void 0,void 0,(function(){var n,o;return s(this,(function(s){switch(s.label){case 0:return null==t&&(t=1),null==i&&(i=0),n=undefined,0!==t&&null!=r&&(n={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:r}),[4,this._waitForTransaction(e.hash,t,i,n)];case 1:return null==(o=s.sent())&&0===t?[2,null]:(this._emitted["t:"+e.hash]=o.blockNumber,0===o.status&&T.throwError("transaction failed",v.Logger.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:o}),[2,o])}}))}))},i},t.prototype.sendTransaction=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,Promise.resolve(e).then((function(e){return(0,h.hexlify)(e)}))];case 2:return t=s.sent(),null==(r=this.formatter.transaction(e)).confirmations&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:n=s.sent(),s.label=4;case 4:return s.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:t})];case 5:return i=s.sent(),[2,this._wrapTransaction(r,i,n)];case 6:throw(o=s.sent()).transaction=r,o.transactionHash=r.hash,o;case 7:return[2]}}))}))},t.prototype._getTransactionRequest=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i,o=this;return s(this,(function(s){switch(s.label){case 0:return[4,e];case 1:return t=s.sent(),r={},["from","to"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?o._getAddress(e):null})))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?f.BigNumber.from(e):null})))})),["type"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return null!=e?e:null})))})),t.accessList&&(r.accessList=this.formatter.accessList(t.accessList)),["data"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?(0,h.hexlify)(e):null})))})),i=(n=this.formatter).transactionRequest,[4,(0,g.resolveProperties)(r)];case 2:return[2,i.apply(n,[s.sent()])]}}))}))},t.prototype._getFilter=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i=this;return s(this,(function(o){switch(o.label){case 0:return[4,e];case 1:return e=o.sent(),t={},null!=e.address&&(t.address=this._getAddress(e.address)),["blockHash","topics"].forEach((function(r){null!=e[r]&&(t[r]=e[r])})),["fromBlock","toBlock"].forEach((function(r){null!=e[r]&&(t[r]=i._getBlockTag(e[r]))})),n=(r=this.formatter).filter,[4,(0,g.resolveProperties)(t)];case 2:return[2,n.apply(r,[o.sent()])]}}))}))},t.prototype._call=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o,a,u,c,l,d,p,y,g,m,b,_,w,A;return s(this,(function(s){switch(s.label){case 0:return r>=10&&T.throwError("CCIP read exceeded maximum redirections",v.Logger.errors.SERVER_ERROR,{redirects:r,transaction:e}),n=e.to,[4,this.perform("call",{transaction:e,blockTag:t})];case 1:if(i=s.sent(),!(r>=0&&"latest"===t&&null!=n&&"0x556f1830"===i.substring(0,10)&&(0,h.hexDataLength)(i)%32==4))return[3,5];s.label=2;case 2:for(s.trys.push([2,4,,5]),o=(0,h.hexDataSlice)(i,4),a=(0,h.hexDataSlice)(o,0,32),f.BigNumber.from(a).eq(n)||T.throwError("CCIP Read sender did not match",v.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i}),u=[],c=f.BigNumber.from((0,h.hexDataSlice)(o,32,64)).toNumber(),l=f.BigNumber.from((0,h.hexDataSlice)(o,c,c+32)).toNumber(),d=(0,h.hexDataSlice)(o,c+32),p=0;p<l;p++)null==(y=L(d,32*p))&&T.throwError("CCIP Read contained corrupt URL string",v.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i}),u.push(y);return g=F(o,64),f.BigNumber.from((0,h.hexDataSlice)(o,100,128)).isZero()||T.throwError("CCIP Read callback selector included junk",v.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i}),m=(0,h.hexDataSlice)(o,96,100),b=F(o,128),[4,this.ccipReadFetch(e,g,u)];case 3:return null==(_=s.sent())&&T.throwError("CCIP Read disabled or provided no URLs",v.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i}),w={to:n,data:(0,h.hexConcat)([m,G([_,b])])},[2,this._call(w,t,r+1)];case 4:if((A=s.sent()).code===v.Logger.errors.SERVER_ERROR)throw A;return[3,5];case 5:try{return[2,(0,h.hexlify)(i)]}catch(r){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"call",params:{transaction:e,blockTag:t},result:i,error:r})]}return[2]}}))}))},t.prototype.call=function(e,t){return o(this,void 0,void 0,(function(){var r;return s(this,(function(n){switch(n.label){case 0:return[4,this.getNetwork()];case 1:return n.sent(),[4,(0,g.resolveProperties)({transaction:this._getTransactionRequest(e),blockTag:this._getBlockTag(t),ccipReadEnabled:Promise.resolve(e.ccipReadEnabled)})];case 2:return r=n.sent(),[2,this._call(r.transaction,r.blockTag,r.ccipReadEnabled?0:-1)]}}))}))},t.prototype.estimateGas=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return[4,this.getNetwork()];case 1:return n.sent(),[4,(0,g.resolveProperties)({transaction:this._getTransactionRequest(e)})];case 2:return t=n.sent(),[4,this.perform("estimateGas",t)];case 3:r=n.sent();try{return[2,f.BigNumber.from(r)]}catch(e){return[2,T.throwError("bad result from backend",v.Logger.errors.SERVER_ERROR,{method:"estimateGas",params:t,result:r,error:e})]}return[2]}}))}))},t.prototype._getAddress=function(e){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return"string"!=typeof(e=r.sent())&&T.throwArgumentError("invalid address or ENS name","name",e),[4,this.resolveName(e)];case 2:return null==(t=r.sent())&&T.throwError("ENS name not configured",v.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resolveName("+JSON.stringify(e)+")"}),[2,t]}}))}))},t.prototype._getBlock=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,a=this;return s(this,(function(u){switch(u.label){case 0:return[4,this.getNetwork()];case 1:return u.sent(),[4,e];case 2:return e=u.sent(),r=-128,n={includeTransactions:!!t},(0,h.isHexString)(e,32)?(n.blockHash=e,[3,6]):[3,3];case 3:return u.trys.push([3,5,,6]),i=n,[4,this._getBlockTag(e)];case 4:return i.blockTag=u.sent(),(0,h.isHexString)(n.blockTag)&&(r=parseInt(n.blockTag.substring(2),16)),[3,6];case 5:return u.sent(),T.throwArgumentError("invalid block hash or block tag","blockHashOrBlockTag",e),[3,6];case 6:return[2,(0,_.poll)((function(){return o(a,void 0,void 0,(function(){var e,i,o,a,u,c,l=this;return s(this,(function(s){switch(s.label){case 0:return[4,this.perform("getBlock",n)];case 1:if(null==(e=s.sent()))return null!=n.blockHash&&null==this._emitted["b:"+n.blockHash]||null!=n.blockTag&&r>this._emitted.block?[2,null]:[2,undefined];if(!t)return[3,8];i=null,o=0,s.label=2;case 2:return o<e.transactions.length?null!=(a=e.transactions[o]).blockNumber?[3,3]:(a.confirmations=0,[3,6]):[3,7];case 3:return null!=a.confirmations?[3,6]:null!=i?[3,5]:[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 4:i=s.sent(),s.label=5;case 5:(u=i-a.blockNumber+1)<=0&&(u=1),a.confirmations=u,s.label=6;case 6:return o++,[3,2];case 7:return(c=this.formatter.blockWithTransactions(e)).transactions=c.transactions.map((function(e){return l._wrapTransaction(e)})),[2,c];case 8:return[2,this.formatter.block(e)]}}))}))}),{oncePoll:this})]}}))}))},t.prototype.getBlock=function(e){return this._getBlock(e,!1)},t.prototype.getBlockWithTransactions=function(e){return this._getBlock(e,!0)},t.prototype.getTransaction=function(e){return o(this,void 0,void 0,(function(){var t,r=this;return s(this,(function(n){switch(n.label){case 0:return[4,this.getNetwork()];case 1:return n.sent(),[4,e];case 2:return e=n.sent(),t={transactionHash:this.formatter.hash(e,!0)},[2,(0,_.poll)((function(){return o(r,void 0,void 0,(function(){var r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return[4,this.perform("getTransaction",t)];case 1:return null==(r=s.sent())?null==this._emitted["t:"+e]?[2,null]:[2,undefined]:null!=(n=this.formatter.transactionResponse(r)).blockNumber?[3,2]:(n.confirmations=0,[3,4]);case 2:return null!=n.confirmations?[3,4]:[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:i=s.sent(),(o=i-n.blockNumber+1)<=0&&(o=1),n.confirmations=o,s.label=4;case 4:return[2,this._wrapTransaction(n)]}}))}))}),{oncePoll:this})]}}))}))},t.prototype.getTransactionReceipt=function(e){return o(this,void 0,void 0,(function(){var t,r=this;return s(this,(function(n){switch(n.label){case 0:return[4,this.getNetwork()];case 1:return n.sent(),[4,e];case 2:return e=n.sent(),t={transactionHash:this.formatter.hash(e,!0)},[2,(0,_.poll)((function(){return o(r,void 0,void 0,(function(){var r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return[4,this.perform("getTransactionReceipt",t)];case 1:return null==(r=s.sent())?null==this._emitted["t:"+e]?[2,null]:[2,undefined]:null==r.blockHash?[2,undefined]:null!=(n=this.formatter.receipt(r)).blockNumber?[3,2]:(n.confirmations=0,[3,4]);case 2:return null!=n.confirmations?[3,4]:[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:i=s.sent(),(o=i-n.blockNumber+1)<=0&&(o=1),n.confirmations=o,s.label=4;case 4:return[2,n]}}))}))}),{oncePoll:this})]}}))}))},t.prototype.getLogs=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return[4,this.getNetwork()];case 1:return n.sent(),[4,(0,g.resolveProperties)({filter:this._getFilter(e)})];case 2:return t=n.sent(),[4,this.perform("getLogs",t)];case 3:return(r=n.sent()).forEach((function(e){null==e.removed&&(e.removed=!1)})),[2,E.Formatter.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)]}}))}))},t.prototype.getEtherPrice=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return[4,this.getNetwork()];case 1:return e.sent(),[2,this.perform("getEtherPrice",{})]}}))}))},t.prototype._getBlockTag=function(e){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return[4,e];case 1:return"number"==typeof(e=r.sent())&&e<0?(e%1&&T.throwArgumentError("invalid BlockTag","blockTag",e),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)]):[3,3];case 2:return t=r.sent(),(t+=e)<0&&(t=0),[2,this.formatter.blockTag(t)];case 3:return[2,this.formatter.blockTag(e)]}}))}))},t.prototype.getResolver=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i;return s(this,(function(o){switch(o.label){case 0:t=e,o.label=1;case 1:return""===t||"."===t||"eth"!==e&&"eth"===t?[2,null]:[4,this._getResolver(t,"getResolver")];case 2:return null==(r=o.sent())?[3,5]:(n=new H(this,r,e),(i=t!==e)?[4,n.supportsWildcard()]:[3,4]);case 3:i=!o.sent(),o.label=4;case 4:return i?[2,null]:[2,n];case 5:return t=t.split(".").slice(1).join("."),[3,1];case 6:return[2]}}))}))},t.prototype._getResolver=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return s(this,(function(i){switch(i.label){case 0:return null==t&&(t="ENS"),[4,this.getNetwork()];case 1:(r=i.sent()).ensAddress||T.throwError("network does not support ENS",v.Logger.errors.UNSUPPORTED_OPERATION,{operation:t,network:r.name}),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.call({to:r.ensAddress,data:"0x0178b8bf"+(0,p.namehash)(e).substring(2)})];case 3:return n=i.sent(),[2,this.formatter.callAddress(n)];case 4:return i.sent(),[3,5];case 5:return[2,null]}}))}))},t.prototype.resolveName=function(e){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return[4,e];case 1:e=r.sent();try{return[2,Promise.resolve(this.formatter.address(e))]}catch(t){if((0,h.isHexString)(e))throw t}return"string"!=typeof e&&T.throwArgumentError("invalid ENS name","name",e),[4,this.getResolver(e)];case 2:return(t=r.sent())?[4,t.getAddress()]:[2,null];case 3:return[2,r.sent()]}}))}))},t.prototype.lookupAddress=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i;return s(this,(function(o){switch(o.label){case 0:return[4,e];case 1:return e=o.sent(),e=this.formatter.address(e),t=e.substring(2).toLowerCase()+".addr.reverse",[4,this._getResolver(t,"lookupAddress")];case 2:return null==(r=o.sent())?[2,null]:(i=L,[4,this.call({to:r,data:"0x691f3431"+(0,p.namehash)(t).substring(2)})]);case 3:return n=i.apply(void 0,[o.sent(),0]),[4,this.resolveName(n)];case 4:return o.sent()!=e?[2,null]:[2,n]}}))}))},t.prototype.getAvatar=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i,o,a,u,c,l,f;return s(this,(function(s){switch(s.label){case 0:return t=null,(0,h.isHexString)(e)?(r=this.formatter.address(e),n=r.substring(2).toLowerCase()+".addr.reverse",[4,this._getResolver(n,"getAvatar")]):[3,10];case 1:if(!(i=s.sent()))return[2,null];t=new H(this,i,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,t.getAvatar()];case 3:return(o=s.sent())?[2,o.url]:[3,5];case 4:if((a=s.sent()).code!==v.Logger.errors.CALL_EXCEPTION)throw a;return[3,5];case 5:return s.trys.push([5,8,,9]),c=L,[4,this.call({to:i,data:"0x691f3431"+(0,p.namehash)(n).substring(2)})];case 6:return u=c.apply(void 0,[s.sent(),0]),[4,this.getResolver(u)];case 7:return t=s.sent(),[3,9];case 8:if((l=s.sent()).code!==v.Logger.errors.CALL_EXCEPTION)throw l;return[2,null];case 9:return[3,12];case 10:return[4,this.getResolver(e)];case 11:if(!(t=s.sent()))return[2,null];s.label=12;case 12:return[4,t.getAvatar()];case 13:return null==(f=s.sent())?[2,null]:[2,f.url]}}))}))},t.prototype.perform=function(e,t){return T.throwError(e+" not implemented",v.Logger.errors.NOT_IMPLEMENTED,{operation:e})},t.prototype._startEvent=function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0},t.prototype._stopEvent=function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0},t.prototype._addEventListener=function(e,t,r){var n=new I(k(e),t,r);return this._events.push(n),this._startEvent(n),this},t.prototype.on=function(e,t){return this._addEventListener(e,t,!1)},t.prototype.once=function(e,t){return this._addEventListener(e,t,!0)},t.prototype.emit=function(e){for(var t=this,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=!1,o=[],s=k(e);return this._events=this._events.filter((function(e){return e.tag!==s||(setTimeout((function(){e.listener.apply(t,r)}),0),i=!0,!e.once||(o.push(e),!1))})),o.forEach((function(e){t._stopEvent(e)})),i},t.prototype.listenerCount=function(e){if(!e)return this._events.length;var t=k(e);return this._events.filter((function(e){return e.tag===t})).length},t.prototype.listeners=function(e){if(null==e)return this._events.map((function(e){return e.listener}));var t=k(e);return this._events.filter((function(e){return e.tag===t})).map((function(e){return e.listener}))},t.prototype.off=function(e,t){var r=this;if(null==t)return this.removeAllListeners(e);var n=[],i=!1,o=k(e);return this._events=this._events.filter((function(e){return e.tag!==o||e.listener!=t||(!!i||(i=!0,n.push(e),!1))})),n.forEach((function(e){r._stopEvent(e)})),this},t.prototype.removeAllListeners=function(e){var t=this,r=[];if(null==e)r=this._events,this._events=[];else{var n=k(e);this._events=this._events.filter((function(e){return e.tag!==n||(r.push(e),!1)}))}return r.forEach((function(e){t._stopEvent(e)})),this},t}(u.Provider);r.BaseProvider=$}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/base-provider.js"}],[4372,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IpcProvider=void 0;r.IpcProvider=null}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/browser-ipc-provider.js"}],[4373,{"./_version":4368,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocket=void 0;var n=e("@ethersproject/logger"),i=e("./_version"),o=null;r.WebSocket=o;try{if(r.WebSocket=o=WebSocket,null==o)throw new Error("inject please")}catch(e){var s=new n.Logger(i.version);r.WebSocket=o=function(){s.throwError("WebSockets not supported in this environment",n.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/browser-ws.js"}],[4374,{"./_version":4368,"./url-json-rpc-provider":4384,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.CloudflareProvider=void 0;var a=e("./url-json-rpc-provider"),u=e("@ethersproject/logger"),c=e("./_version"),l=new u.Logger(c.version),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.getApiKey=function(e){return null!=e&&l.throwArgumentError("apiKey not supported for cloudflare","apiKey",e),null},t.getUrl=function(e,t){var r=null;if("homestead"===e.name)r="https://cloudflare-eth.com/";else l.throwArgumentError("unsupported network","network",arguments[0]);return r},t.prototype.perform=function(t,r){return o(this,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return"getBlockNumber"!==t?[3,2]:[4,e.prototype.perform.call(this,"getBlock",{blockTag:"latest"})];case 1:return[2,n.sent().number];case 2:return[2,e.prototype.perform.call(this,t,r)]}}))}))},t}(a.UrlJsonRpcProvider);r.CloudflareProvider=f}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/cloudflare-provider.js"}],[4375,{"./_version":4368,"./base-provider":4371,"./formatter":4377,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/transactions":576,"@ethersproject/web":4391},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.EtherscanProvider=void 0;var a=e("@ethersproject/bytes"),u=e("@ethersproject/properties"),c=e("@ethersproject/transactions"),l=e("@ethersproject/web"),f=e("./formatter"),h=e("@ethersproject/logger"),d=e("./_version"),p=new h.Logger(d.version);function y(e){var t={};for(var r in e)if(null!=e[r]){var n=e[r];"type"===r&&0===n||(n={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?(0,a.hexValue)((0,a.hexlify)(n)):"accessList"===r?"["+(0,c.accessListify)(n).map((function(e){return'{address:"'+e.address+'",storageKeys:["'+e.storageKeys.join('","')+'"]}'})).join(",")+"]":(0,a.hexlify)(n),t[r]=n)}return t}function g(e){if(0==e.status&&("No records found"===e.message||"No transactions found"===e.message))return e.result;if(1!=e.status||"string"!=typeof e.message||!e.message.match(/^OK/)){var t=new Error("invalid response");throw t.result=JSON.stringify(e),(e.result||"").toLowerCase().indexOf("rate limit")>=0&&(t.throttleRetry=!0),t}return e.result}function m(e){if(e&&0==e.status&&"NOTOK"==e.message&&(e.result||"").toLowerCase().indexOf("rate limit")>=0)throw(t=new Error("throttled response")).result=JSON.stringify(e),t.throttleRetry=!0,t;if("2.0"!=e.jsonrpc)throw(t=new Error("invalid response")).result=JSON.stringify(e),t;if(e.error){var t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function b(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}function _(e,t,r){if("call"===e&&t.code===h.Logger.errors.SERVER_ERROR){var n=t.error;if(n&&(n.message.match(/reverted/i)||n.message.match(/VM execution error/i))){var i=n.data;if(i&&(i="0x"+i.replace(/^.*0x/i,"")),(0,a.isHexString)(i))return i;p.throwError("missing revert data in call exception",h.Logger.errors.CALL_EXCEPTION,{error:t,data:"0x"})}}var o=t.message;throw t.code===h.Logger.errors.SERVER_ERROR&&(t.error&&"string"==typeof t.error.message?o=t.error.message:"string"==typeof t.body?o=t.body:"string"==typeof t.responseText&&(o=t.responseText)),(o=(o||"").toLowerCase()).match(/insufficient funds/)&&p.throwError("insufficient funds for intrinsic transaction cost",h.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),o.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&p.throwError("nonce has already been used",h.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),o.match(/another transaction with same nonce/)&&p.throwError("replacement fee too low",h.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),o.match(/execution failed due to an exception|execution reverted/)&&p.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",h.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}var w=function(e){function t(t,r){var n=e.call(this,t)||this;return(0,u.defineReadOnly)(n,"baseUrl",n.getBaseUrl()),(0,u.defineReadOnly)(n,"apiKey",r||null),n}return i(t,e),t.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"ropsten":return"https://api-ropsten.etherscan.io";case"rinkeby":return"https://api-rinkeby.etherscan.io";case"kovan":return"https://api-kovan.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-kovan":return"https://api-kovan-optimistic.etherscan.io"}return p.throwArgumentError("unsupported network","network",this.network.name)},t.prototype.getUrl=function(e,t){var r=Object.keys(t).reduce((function(e,r){var n=t[r];return null!=n&&(e+="&"+r+"="+n),e}),""),n=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+e+r+n},t.prototype.getPostUrl=function(){return this.baseUrl+"/api"},t.prototype.getPostData=function(e,t){return t.module=e,t.apikey=this.apiKey,t},t.prototype.fetch=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o,a,c,h,d=this;return s(this,(function(s){switch(s.label){case 0:return n=r?this.getPostUrl():this.getUrl(e,t),i=r?this.getPostData(e,t):null,o="proxy"===e?m:g,this.emit("debug",{action:"request",request:n,provider:this}),a={url:n,throttleSlotInterval:1e3,throttleCallback:function(e,t){return d.isCommunityResource()&&(0,f.showThrottleMessage)(),Promise.resolve(!0)}},c=null,i&&(a.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},c=Object.keys(i).map((function(e){return e+"="+i[e]})).join("&")),[4,(0,l.fetchJson)(a,c,o||m)];case 1:return h=s.sent(),this.emit("debug",{action:"response",request:n,response:(0,u.deepCopy)(h),provider:this}),[2,h]}}))}))},t.prototype.detectNetwork=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.network]}))}))},t.prototype.perform=function(t,r){return o(this,void 0,void 0,(function(){var n,i,o,a,u,c,l,f,d;return s(this,(function(s){switch(s.label){case 0:switch(t){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:r.address,tag:r.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:r.address,tag:r.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:r.address,tag:r.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:r.address,position:r.position,tag:r.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:r.signedTransaction},!0).catch((function(e){return _("sendTransaction",e,r.signedTransaction)}))];case 8:if(r.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:r.blockTag,boolean:r.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:r.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:r.transactionHash})];case 11:if("latest"!==r.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");(n=y(r.transaction)).module="proxy",n.action="eth_call",s.label=12;case 12:return s.trys.push([12,14,,15]),[4,this.fetch("proxy",n,!0)];case 13:return[2,s.sent()];case 14:return[2,_("call",s.sent(),r.transaction)];case 15:(n=y(r.transaction)).module="proxy",n.action="eth_estimateGas",s.label=16;case 16:return s.trys.push([16,18,,19]),[4,this.fetch("proxy",n,!0)];case 17:return[2,s.sent()];case 18:return[2,_("estimateGas",s.sent(),r.transaction)];case 19:return i={action:"getLogs"},r.filter.fromBlock&&(i.fromBlock=b(r.filter.fromBlock)),r.filter.toBlock&&(i.toBlock=b(r.filter.toBlock)),r.filter.address&&(i.address=r.filter.address),r.filter.topics&&r.filter.topics.length>0&&(r.filter.topics.length>1&&p.throwError("unsupported topic count",h.Logger.errors.UNSUPPORTED_OPERATION,{topics:r.filter.topics}),1===r.filter.topics.length&&("string"==typeof(o=r.filter.topics[0])&&66===o.length||p.throwError("unsupported topic format",h.Logger.errors.UNSUPPORTED_OPERATION,{topic0:o}),i.topic0=o)),[4,this.fetch("logs",i)];case 20:a=s.sent(),u={},c=0,s.label=21;case 21:return c<a.length?null!=(l=a[c]).blockHash?[3,24]:null!=u[l.blockNumber]?[3,23]:[4,this.getBlock(l.blockNumber)]:[3,25];case 22:(f=s.sent())&&(u[l.blockNumber]=f.hash),s.label=23;case 23:l.blockHash=u[l.blockNumber],s.label=24;case 24:return c++,[3,21];case 25:return[2,a];case 26:return"homestead"!==this.network.name?[2,0]:(d=parseFloat,[4,this.fetch("stats",{action:"ethprice"})]);case 27:return[2,d.apply(void 0,[s.sent().ethusd])];case 28:return[3,29];case 29:return[2,e.prototype.perform.call(this,t,r)]}}))}))},t.prototype.getHistory=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o=this;return s(this,(function(s){switch(s.label){case 0:return i={action:"txlist"},[4,this.resolveName(e)];case 1:return i.address=s.sent(),i.startblock=null==t?0:t,i.endblock=null==r?99999999:r,i.sort="asc",n=i,[4,this.fetch("account",n)];case 2:return[2,s.sent().map((function(e){["contractAddress","to"].forEach((function(t){""==e[t]&&delete e[t]})),null==e.creates&&null!=e.contractAddress&&(e.creates=e.contractAddress);var t=o.formatter.transactionResponse(e);return e.timeStamp&&(t.timestamp=parseInt(e.timeStamp)),t}))]}}))}))},t.prototype.isCommunityResource=function(){return null==this.apiKey},t}(e("./base-provider").BaseProvider);r.EtherscanProvider=w}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/etherscan-provider.js"}],[4376,{"./_version":4368,"./base-provider":4371,"./formatter":4377,"@ethersproject/abstract-provider":487,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/random":557,"@ethersproject/web":4391},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.FallbackProvider=void 0;var a=e("@ethersproject/abstract-provider"),u=e("@ethersproject/bignumber"),c=e("@ethersproject/bytes"),l=e("@ethersproject/properties"),f=e("@ethersproject/random"),h=e("@ethersproject/web"),d=e("./base-provider"),p=e("./formatter"),y=e("@ethersproject/logger"),g=e("./_version"),m=new y.Logger(g.version);function b(){return(new Date).getTime()}function _(e){for(var t=null,r=0;r<e.length;r++){var n=e[r];if(null==n)return null;t?t.name===n.name&&t.chainId===n.chainId&&(t.ensAddress===n.ensAddress||null==t.ensAddress&&null==n.ensAddress)||m.throwArgumentError("provider mismatch","networks",e):t=n}return t}function w(e,t){e=e.slice().sort();var r=Math.floor(e.length/2);if(e.length%2)return e[r];var n=e[r-1],i=e[r];return null!=t&&Math.abs(n-i)>t?null:(n+i)/2}function v(e){if(null===e)return"null";if("number"==typeof e||"boolean"==typeof e)return JSON.stringify(e);if("string"==typeof e)return e;if(u.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return v(e)})));if("object"==typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"==typeof r?"[function]":v(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var A=1;function T(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)}));return{cancel:t,getPromise:function(){return n},wait:function(e){return n=n.then(e)}}}var E=[y.Logger.errors.CALL_EXCEPTION,y.Logger.errors.INSUFFICIENT_FUNDS,y.Logger.errors.NONCE_EXPIRED,y.Logger.errors.REPLACEMENT_UNDERPRICED,y.Logger.errors.UNPREDICTABLE_GAS_LIMIT],j=["address","args","errorArgs","errorSignature","method","transaction"];function x(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function k(e,t,r){var n=v;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=w(t.map((function(e){return e.result})),2);return null==n?undefined:(n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber)};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return w(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).confirmations=-1,v(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).transactions=e.transactions.map((function(e){return(e=(0,l.shallowCopy)(e)).confirmations=-1,e})),v(e))}:function(e){return null==e?null:v(e)};break;default:throw new Error("unknown method: "+t)}return function(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var i=Object.keys(n),o=0;o<i.length;o++){var s=n[i[o]];if(s.count>=t)return s.result}return undefined}}(n,e.quorum)}function P(e,t){return o(this,void 0,void 0,(function(){var r;return s(this,(function(n){return null!=(r=e.provider).blockNumber&&r.blockNumber>=t||-1===t?[2,r]:[2,(0,h.poll)((function(){return new Promise((function(n,i){setTimeout((function(){return r.blockNumber>=t?n(r):e.cancelled?n(null):n(undefined)}),0)}))}),{oncePoll:r})]}))}))}var S=function(e){function t(t,r){var n=this;0===t.length&&m.throwArgumentError("missing providers","providers",t);var i=t.map((function(e,t){if(a.Provider.isProvider(e)){var r=(0,p.isCommunityResource)(e)?2e3:750;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:1})}var n=(0,l.shallowCopy)(e);null==n.priority&&(n.priority=1),null==n.stallTimeout&&(n.stallTimeout=(0,p.isCommunityResource)(e)?2e3:750),null==n.weight&&(n.weight=1);var i=n.weight;return(i%1||i>512||i<1)&&m.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+t+"].weight",i),Object.freeze(n)})),o=i.reduce((function(e,t){return e+t.weight}),0);null==r?r=o/2:r>o&&m.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);var s=_(i.map((function(e){return e.provider.network})));return null==s&&(s=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then(e,t)}),0)}))),n=e.call(this,s)||this,(0,l.defineReadOnly)(n,"providerConfigs",Object.freeze(i)),(0,l.defineReadOnly)(n,"quorum",r),n._highestBlockNumber=-1,n}return i(t,e),t.prototype.detectNetwork=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})))];case 1:return[2,_(e.sent())]}}))}))},t.prototype.perform=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,a,u,h,d,p,g,_,w,v=this;return s(this,(function(S){switch(S.label){case 0:return"sendTransaction"!==e?[3,2]:[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})))];case 1:for(r=S.sent(),n=0;n<r.length;n++)if("string"==typeof(i=r[n]))return[2,i];throw r[0];case 2:return-1!==this._highestBlockNumber||"getBlockNumber"===e?[3,4]:[4,this.getBlockNumber()];case 3:S.sent(),S.label=4;case 4:a=k(this,e,t),(u=(0,f.shuffled)(this.providerConfigs.map(l.shallowCopy))).sort((function(e,t){return e.priority-t.priority})),h=this._highestBlockNumber,d=0,p=!0,g=function(){var r,n,i,f,g,w,k;return s(this,(function(S){switch(S.label){case 0:for(r=b(),n=u.filter((function(e){return e.runner&&r-e.start<e.stallTimeout})).reduce((function(e,t){return e+t.weight}),0),i=function(){var r=u[d++],i=A++;r.start=b(),r.staller=T(r.stallTimeout),r.staller.wait((function(){r.staller=null})),r.runner=function(e,t,r,n){return o(this,void 0,void 0,(function(){var i,o;return s(this,(function(s){switch(s.label){case 0:switch(i=e.provider,r){case"getBlockNumber":case"getGasPrice":return[3,1];case"getEtherPrice":return[3,2];case"getBalance":case"getTransactionCount":case"getCode":return[3,3];case"getStorageAt":return[3,6];case"getBlock":return[3,9];case"call":case"estimateGas":return[3,12];case"getTransaction":case"getTransactionReceipt":return[3,15];case"getLogs":return[3,16]}return[3,19];case 1:return[2,i[r]()];case 2:return i.getEtherPrice?[2,i.getEtherPrice()]:[3,19];case 3:return n.blockTag&&(0,c.isHexString)(n.blockTag)?[4,P(e,t)]:[3,5];case 4:i=s.sent(),s.label=5;case 5:return[2,i[r](n.address,n.blockTag||"latest")];case 6:return n.blockTag&&(0,c.isHexString)(n.blockTag)?[4,P(e,t)]:[3,8];case 7:i=s.sent(),s.label=8;case 8:return[2,i.getStorageAt(n.address,n.position,n.blockTag||"latest")];case 9:return n.blockTag&&(0,c.isHexString)(n.blockTag)?[4,P(e,t)]:[3,11];case 10:i=s.sent(),s.label=11;case 11:return[2,i[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash)];case 12:return n.blockTag&&(0,c.isHexString)(n.blockTag)?[4,P(e,t)]:[3,14];case 13:i=s.sent(),s.label=14;case 14:return"call"===r&&n.blockTag?[2,i[r](n.transaction,n.blockTag)]:[2,i[r](n.transaction)];case 15:return[2,i[r](n.transactionHash)];case 16:return(o=n.filter).fromBlock&&(0,c.isHexString)(o.fromBlock)||o.toBlock&&(0,c.isHexString)(o.toBlock)?[4,P(e,t)]:[3,18];case 17:i=s.sent(),s.label=18;case 18:return[2,i.getLogs(o)];case 19:return[2,m.throwError("unknown method error",y.Logger.errors.UNKNOWN_ERROR,{method:r,params:n})]}}))}))}(r,h,e,t).then((function(n){r.done=!0,r.result=n,v.listenerCount("debug")&&v.emit("debug",{action:"request",rid:i,backend:x(r,b()),request:{method:e,params:(0,l.deepCopy)(t)},provider:v})}),(function(n){r.done=!0,r.error=n,v.listenerCount("debug")&&v.emit("debug",{action:"request",rid:i,backend:x(r,b()),request:{method:e,params:(0,l.deepCopy)(t)},provider:v})})),_.listenerCount("debug")&&_.emit("debug",{action:"request",rid:i,backend:x(r,null),request:{method:e,params:(0,l.deepCopy)(t)},provider:_}),n+=r.weight};n<_.quorum&&d<u.length;)i();return f=[],u.forEach((function(e){!e.done&&e.runner&&(f.push(e.runner),e.staller&&f.push(e.staller.getPromise()))})),f.length?[4,Promise.race(f)]:[3,2];case 1:S.sent(),S.label=2;case 2:return(g=u.filter((function(e){return e.done&&null==e.error}))).length>=_.quorum?(w=a(g))!==undefined?(u.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,{value:w}]):p?[3,4]:[4,T(100).getPromise()]:[3,5];case 3:S.sent(),S.label=4;case 4:p=!1,S.label=5;case 5:return k=u.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return E.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(k).forEach((function(e){var t=k[e];if(!(t.weight<v.quorum)){u.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0}));var r=t.error,n={};j.forEach((function(e){null!=r[e]&&(n[e]=r[e])})),m.throwError(r.reason||r.message,e,n)}})),0===u.filter((function(e){return!e.done})).length?[2,"break"]:[2]}}))},_=this,S.label=5;case 5:return[5,g()];case 6:return"object"==typeof(w=S.sent())?[2,w.value]:"break"===w?[3,7]:[3,5];case 7:return u.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,m.throwError("failed to meet quorum",y.Logger.errors.SERVER_ERROR,{method:e,params:t,results:u.map((function(e){return x(e)})),provider:this})]}}))}))},t}(d.BaseProvider);r.FallbackProvider=S}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/fallback-provider.js"}],[4377,{"./_version":4368,"@ethersproject/address":491,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/constants":504,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/transactions":576},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.showThrottleMessage=r.isCommunityResource=r.isCommunityResourcable=r.Formatter=void 0;var n=e("@ethersproject/address"),i=e("@ethersproject/bignumber"),o=e("@ethersproject/bytes"),s=e("@ethersproject/constants"),a=e("@ethersproject/properties"),u=e("@ethersproject/transactions"),c=e("@ethersproject/logger"),l=e("./_version"),f=new c.Logger(l.version),h=function(){function e(){this.formats=this.getDefaultFormats()}return e.prototype.getDefaultFormats=function(){var t=this,r={},n=this.address.bind(this),i=this.bigNumber.bind(this),o=this.blockTag.bind(this),s=this.data.bind(this),u=this.hash.bind(this),c=this.hex.bind(this),l=this.number.bind(this),f=this.type.bind(this);return r.transaction={hash:u,type:f,accessList:e.allowNull(this.accessList.bind(this),null),blockHash:e.allowNull(u,null),blockNumber:e.allowNull(l,null),transactionIndex:e.allowNull(l,null),confirmations:e.allowNull(l,null),from:n,gasPrice:e.allowNull(i),maxPriorityFeePerGas:e.allowNull(i),maxFeePerGas:e.allowNull(i),gasLimit:i,to:e.allowNull(n,null),value:i,nonce:l,data:s,r:e.allowNull(this.uint256),s:e.allowNull(this.uint256),v:e.allowNull(l),creates:e.allowNull(n,null),raw:e.allowNull(s)},r.transactionRequest={from:e.allowNull(n),nonce:e.allowNull(l),gasLimit:e.allowNull(i),gasPrice:e.allowNull(i),maxPriorityFeePerGas:e.allowNull(i),maxFeePerGas:e.allowNull(i),to:e.allowNull(n),value:e.allowNull(i),data:e.allowNull((function(e){return t.data(e,!0)})),type:e.allowNull(l),accessList:e.allowNull(this.accessList.bind(this),null)},r.receiptLog={transactionIndex:l,blockNumber:l,transactionHash:u,address:n,topics:e.arrayOf(u),data:s,logIndex:l,blockHash:u},r.receipt={to:e.allowNull(this.address,null),from:e.allowNull(this.address,null),contractAddress:e.allowNull(n,null),transactionIndex:l,root:e.allowNull(c),gasUsed:i,logsBloom:e.allowNull(s),blockHash:u,transactionHash:u,logs:e.arrayOf(this.receiptLog.bind(this)),blockNumber:l,confirmations:e.allowNull(l,null),cumulativeGasUsed:i,effectiveGasPrice:e.allowNull(i),status:e.allowNull(l),type:f},r.block={hash:e.allowNull(u),parentHash:u,number:l,timestamp:l,nonce:e.allowNull(c),difficulty:this.difficulty.bind(this),gasLimit:i,gasUsed:i,miner:e.allowNull(n),extraData:s,transactions:e.allowNull(e.arrayOf(u)),baseFeePerGas:e.allowNull(i)},r.blockWithTransactions=(0,a.shallowCopy)(r.block),r.blockWithTransactions.transactions=e.allowNull(e.arrayOf(this.transactionResponse.bind(this))),r.filter={fromBlock:e.allowNull(o,undefined),toBlock:e.allowNull(o,undefined),blockHash:e.allowNull(u,undefined),address:e.allowNull(n,undefined),topics:e.allowNull(this.topics.bind(this),undefined)},r.filterLog={blockNumber:e.allowNull(l),blockHash:e.allowNull(u),transactionIndex:l,removed:e.allowNull(this.boolean.bind(this)),address:n,data:e.allowFalsish(s,"0x"),topics:e.arrayOf(u),transactionHash:u,logIndex:l},r},e.prototype.accessList=function(e){return(0,u.accessListify)(e||[])},e.prototype.number=function(e){return"0x"===e?0:i.BigNumber.from(e).toNumber()},e.prototype.type=function(e){return"0x"===e||null==e?0:i.BigNumber.from(e).toNumber()},e.prototype.bigNumber=function(e){return i.BigNumber.from(e)},e.prototype.boolean=function(e){if("boolean"==typeof e)return e;if("string"==typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)},e.prototype.hex=function(e,t){return"string"==typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),(0,o.isHexString)(e))?e.toLowerCase():f.throwArgumentError("invalid hash","value",e)},e.prototype.data=function(e,t){var r=this.hex(e,t);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+e);return r},e.prototype.address=function(e){return(0,n.getAddress)(e)},e.prototype.callAddress=function(e){if(!(0,o.isHexString)(e,32))return null;var t=(0,n.getAddress)((0,o.hexDataSlice)(e,12));return t===s.AddressZero?null:t},e.prototype.contractAddress=function(e){return(0,n.getContractAddress)(e)},e.prototype.blockTag=function(e){if(null==e)return"latest";if("earliest"===e)return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if("number"==typeof e||(0,o.isHexString)(e))return(0,o.hexValue)(e);throw new Error("invalid blockTag")},e.prototype.hash=function(e,t){var r=this.hex(e,t);return 32!==(0,o.hexDataLength)(r)?f.throwArgumentError("invalid hash","value",e):r},e.prototype.difficulty=function(e){if(null==e)return null;var t=i.BigNumber.from(e);try{return t.toNumber()}catch(e){}return null},e.prototype.uint256=function(e){if(!(0,o.isHexString)(e))throw new Error("invalid uint256");return(0,o.hexZeroPad)(e,32)},e.prototype._block=function(t,r){null!=t.author&&null==t.miner&&(t.miner=t.author);var n=null!=t._difficulty?t._difficulty:t.difficulty,o=e.check(r,t);return o._difficulty=null==n?null:i.BigNumber.from(n),o},e.prototype.block=function(e){return this._block(e,this.formats.block)},e.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},e.prototype.transactionRequest=function(t){return e.check(this.formats.transactionRequest,t)},e.prototype.transactionResponse=function(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&i.BigNumber.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);var r=e.check(this.formats.transaction,t);if(null!=t.chainId){var n=t.chainId;(0,o.isHexString)(n)&&(n=i.BigNumber.from(n).toNumber()),r.chainId=n}else{null==(n=t.networkId)&&null==r.v&&(n=t.chainId),(0,o.isHexString)(n)&&(n=i.BigNumber.from(n).toNumber()),"number"!=typeof n&&null!=r.v&&((n=(r.v-35)/2)<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),r.chainId=n}return r.blockHash&&"x"===r.blockHash.replace(/0/g,"")&&(r.blockHash=null),r},e.prototype.transaction=function(e){return(0,u.parse)(e)},e.prototype.receiptLog=function(t){return e.check(this.formats.receiptLog,t)},e.prototype.receipt=function(t){var r=e.check(this.formats.receipt,t);if(null!=r.root)if(r.root.length<=4){var n=i.BigNumber.from(r.root).toNumber();0===n||1===n?(null!=r.status&&r.status!==n&&f.throwArgumentError("alt-root-status/status mismatch","value",{root:r.root,status:r.status}),r.status=n,delete r.root):f.throwArgumentError("invalid alt-root-status","value.root",r.root)}else 66!==r.root.length&&f.throwArgumentError("invalid root hash","value.root",r.root);return null!=r.status&&(r.byzantium=!0),r},e.prototype.topics=function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.topics(e)})):null!=e?this.hash(e,!0):null},e.prototype.filter=function(t){return e.check(this.formats.filter,t)},e.prototype.filterLog=function(t){return e.check(this.formats.filterLog,t)},e.check=function(e,t){var r={};for(var n in e)try{var i=e[n](t[n]);i!==undefined&&(r[n]=i)}catch(e){throw e.checkKey=n,e.checkValue=t[n],e}return r},e.allowNull=function(e,t){return function(r){return null==r?t:e(r)}},e.allowFalsish=function(e,t){return function(r){return r?e(r):t}},e.arrayOf=function(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var r=[];return t.forEach((function(t){r.push(e(t))})),r}},e}();function d(e){return e&&"function"==typeof e.isCommunityResource}r.Formatter=h,r.isCommunityResourcable=d,r.isCommunityResource=function(e){return d(e)&&e.isCommunityResource()};var p=!1;r.showThrottleMessage=function(){p||(p=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/formatter.js"}],[4378,{"./_version":4368,"./alchemy-provider":4369,"./ankr-provider":4370,"./base-provider":4371,"./cloudflare-provider":4374,"./etherscan-provider":4375,"./fallback-provider":4376,"./formatter":4377,"./infura-provider":4379,"./ipc-provider":4372,"./json-rpc-batch-provider":4380,"./json-rpc-provider":4381,"./nodesmith-provider":4382,"./pocket-provider":4383,"./url-json-rpc-provider":4384,"./web3-provider":4385,"./websocket-provider":4386,"@ethersproject/abstract-provider":487,"@ethersproject/logger":528,"@ethersproject/networks":4388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Formatter=r.showThrottleMessage=r.isCommunityResourcable=r.isCommunityResource=r.getNetwork=r.getDefaultProvider=r.JsonRpcSigner=r.IpcProvider=r.WebSocketProvider=r.Web3Provider=r.StaticJsonRpcProvider=r.PocketProvider=r.NodesmithProvider=r.JsonRpcBatchProvider=r.JsonRpcProvider=r.InfuraWebSocketProvider=r.InfuraProvider=r.EtherscanProvider=r.CloudflareProvider=r.AnkrProvider=r.AlchemyWebSocketProvider=r.AlchemyProvider=r.FallbackProvider=r.UrlJsonRpcProvider=r.Resolver=r.BaseProvider=r.Provider=void 0;var n=e("@ethersproject/abstract-provider");Object.defineProperty(r,"Provider",{enumerable:!0,get:function(){return n.Provider}});var i=e("@ethersproject/networks");Object.defineProperty(r,"getNetwork",{enumerable:!0,get:function(){return i.getNetwork}});var o=e("./base-provider");Object.defineProperty(r,"BaseProvider",{enumerable:!0,get:function(){return o.BaseProvider}}),Object.defineProperty(r,"Resolver",{enumerable:!0,get:function(){return o.Resolver}});var s=e("./alchemy-provider");Object.defineProperty(r,"AlchemyProvider",{enumerable:!0,get:function(){return s.AlchemyProvider}}),Object.defineProperty(r,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return s.AlchemyWebSocketProvider}});var a=e("./ankr-provider");Object.defineProperty(r,"AnkrProvider",{enumerable:!0,get:function(){return a.AnkrProvider}});var u=e("./cloudflare-provider");Object.defineProperty(r,"CloudflareProvider",{enumerable:!0,get:function(){return u.CloudflareProvider}});var c=e("./etherscan-provider");Object.defineProperty(r,"EtherscanProvider",{enumerable:!0,get:function(){return c.EtherscanProvider}});var l=e("./fallback-provider");Object.defineProperty(r,"FallbackProvider",{enumerable:!0,get:function(){return l.FallbackProvider}});var f=e("./ipc-provider");Object.defineProperty(r,"IpcProvider",{enumerable:!0,get:function(){return f.IpcProvider}});var h=e("./infura-provider");Object.defineProperty(r,"InfuraProvider",{enumerable:!0,get:function(){return h.InfuraProvider}}),Object.defineProperty(r,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return h.InfuraWebSocketProvider}});var d=e("./json-rpc-provider");Object.defineProperty(r,"JsonRpcProvider",{enumerable:!0,get:function(){return d.JsonRpcProvider}}),Object.defineProperty(r,"JsonRpcSigner",{enumerable:!0,get:function(){return d.JsonRpcSigner}});var p=e("./json-rpc-batch-provider");Object.defineProperty(r,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return p.JsonRpcBatchProvider}});var y=e("./nodesmith-provider");Object.defineProperty(r,"NodesmithProvider",{enumerable:!0,get:function(){return y.NodesmithProvider}});var g=e("./pocket-provider");Object.defineProperty(r,"PocketProvider",{enumerable:!0,get:function(){return g.PocketProvider}});var m=e("./url-json-rpc-provider");Object.defineProperty(r,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return m.StaticJsonRpcProvider}}),Object.defineProperty(r,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return m.UrlJsonRpcProvider}});var b=e("./web3-provider");Object.defineProperty(r,"Web3Provider",{enumerable:!0,get:function(){return b.Web3Provider}});var _=e("./websocket-provider");Object.defineProperty(r,"WebSocketProvider",{enumerable:!0,get:function(){return _.WebSocketProvider}});var w=e("./formatter");Object.defineProperty(r,"Formatter",{enumerable:!0,get:function(){return w.Formatter}}),Object.defineProperty(r,"isCommunityResourcable",{enumerable:!0,get:function(){return w.isCommunityResourcable}}),Object.defineProperty(r,"isCommunityResource",{enumerable:!0,get:function(){return w.isCommunityResource}}),Object.defineProperty(r,"showThrottleMessage",{enumerable:!0,get:function(){return w.showThrottleMessage}});var v=e("@ethersproject/logger"),A=e("./_version"),T=new v.Logger(A.version);r.getDefaultProvider=function(e,t){if(null==e&&(e="homestead"),"string"==typeof e){var r=e.match(/^(ws|http)s?:/i);if(r)switch(r[1].toLowerCase()){case"http":case"https":return new d.JsonRpcProvider(e);case"ws":case"wss":return new _.WebSocketProvider(e);default:T.throwArgumentError("unsupported URL scheme","network",e)}}var n=(0,i.getNetwork)(e);return n&&n._defaultProvider||T.throwError("unsupported getDefaultProvider network",v.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:e}),n._defaultProvider({FallbackProvider:l.FallbackProvider,AlchemyProvider:s.AlchemyProvider,AnkrProvider:a.AnkrProvider,CloudflareProvider:u.CloudflareProvider,EtherscanProvider:c.EtherscanProvider,InfuraProvider:h.InfuraProvider,JsonRpcProvider:d.JsonRpcProvider,NodesmithProvider:y.NodesmithProvider,PocketProvider:g.PocketProvider,Web3Provider:b.Web3Provider,IpcProvider:f.IpcProvider},t)}}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/index.js"}],[4379,{"./_version":4368,"./formatter":4377,"./url-json-rpc-provider":4384,"./websocket-provider":4386,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.InfuraProvider=r.InfuraWebSocketProvider=void 0;var o=e("@ethersproject/properties"),s=e("./websocket-provider"),a=e("./formatter"),u=e("@ethersproject/logger"),c=e("./_version"),l=new u.Logger(c.version),f=e("./url-json-rpc-provider"),h="84842078b09946638c03157f83405213",d=function(e){function t(t,r){var n,i=new p(t,r),s=i.connection;s.password&&l.throwError("INFURA WebSocket project secrets unsupported",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var a=s.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return n=e.call(this,a,t)||this,(0,o.defineReadOnly)(n,"apiKey",i.projectId),(0,o.defineReadOnly)(n,"projectId",i.projectId),(0,o.defineReadOnly)(n,"projectSecret",i.projectSecret),n}return i(t,e),t.prototype.isCommunityResource=function(){return this.projectId===h},t}(s.WebSocketProvider);r.InfuraWebSocketProvider=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.getWebSocketProvider=function(e,t){return new d(e,t)},t.getApiKey=function(e){var t={apiKey:h,projectId:h,projectSecret:null};return null==e||("string"==typeof e?t.projectId=e:null!=e.projectSecret?(l.assertArgument("string"==typeof e.projectId,"projectSecret requires a projectId","projectId",e.projectId),l.assertArgument("string"==typeof e.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),t.projectId=e.projectId,t.projectSecret=e.projectSecret):e.projectId&&(t.projectId=e.projectId),t.apiKey=t.projectId),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"ropsten":r="ropsten.infura.io";break;case"rinkeby":r="rinkeby.infura.io";break;case"kovan":r="kovan.infura.io";break;case"goerli":r="goerli.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-kovan":r="optimism-kovan.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-rinkeby":r="arbitrum-rinkeby.infura.io";break;default:l.throwError("unsupported network",u.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={allowGzip:!0,url:"https://"+r+"/v3/"+t.projectId,throttleCallback:function(e,r){return t.projectId===h&&(0,a.showThrottleMessage)(),Promise.resolve(!0)}};return null!=t.projectSecret&&(n.user="",n.password=t.projectSecret),n},t.prototype.isCommunityResource=function(){return this.projectId===h},t}(f.UrlJsonRpcProvider);r.InfuraProvider=p}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/infura-provider.js"}],[438,{"./baseTransaction.js":430,"./capabilities/eip2718.js":432,"./capabilities/eip2930.js":433,"./capabilities/legacy.js":435,"./types.js":445,"./util.js":446,"@ethereumjs/rlp":447,"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AccessListEIP2930Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),s=e("./capabilities/eip2718.js"),a=e("./capabilities/eip2930.js"),u=e("./capabilities/legacy.js"),c=e("./types.js"),l=e("./util.js");class f extends o.BaseTransaction{constructor(e,t={}){super({...e,type:c.TransactionType.AccessListEIP2930},t);const{chainId:r,accessList:n,gasPrice:a}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(2930))throw new Error("EIP-2930 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([2718,2930]);const f=l.AccessLists.getAccessListData(n??[]);if(this.accessList=f.accessList,this.AccessListJSON=f.AccessListJSON,l.AccessLists.verifyAccessList(this.accessList),this.gasPrice=(0,i.bytesToBigInt)((0,i.toBytes)(a)),this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),o.BaseTransaction._validateNotArray(e),this.gasPrice*this.gasLimit>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");throw new Error(e)}s.validateYParity(this),u.validateHighS(this);(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new f(e,t)}static fromSerializedTx(e,t={}){if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,l.txTypeBytes)(c.TransactionType.AccessListEIP2930)))throw new Error(`Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ${c.TransactionType.AccessListEIP2930}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(Uint8Array.from(e.subarray(1)));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return f.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(8!==e.length&&11!==e.length)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");const[r,n,o,s,a,u,c,l,h,d,p]=e;this._validateNotArray({chainId:r,v:h}),(0,i.validateNoLeadingZeroes)({nonce:n,gasPrice:o,gasLimit:s,value:u,v:h,r:d,s:p});return new f({chainId:(0,i.bytesToBigInt)(r),nonce:n,gasPrice:o,gasLimit:s,to:a,value:u,data:c,accessList:l??[],v:h!==undefined?(0,i.bytesToBigInt)(h):undefined,r:d,s:p},t)}getEffectivePriorityFee(e){return u.getEffectivePriorityFee(this.gasPrice,e)}getDataFee(){return a.getDataFee(this)}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return s.serialize(this)}getMessageToSign(){return s.serialize(this,this.raw().slice(0,8))}getHashedMessageToSign(){return s.getHashedMessageToSign(this)}hash(){return u.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return u.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return f.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:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){const e=l.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),gasPrice:(0,i.bigIntToHex)(this.gasPrice),accessList:e}}errorStr(){let e=this._getSharedErrorPostfix();return e+=` gasPrice=${this.gasPrice} accessListCount=${this.accessList?.length??0}`,e}_errorMsg(e){return u.errorMsg(this,e)}}r.AccessListEIP2930Transaction=f}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip2930Transaction.js"}],[4380,{"./json-rpc-provider":4381,"@ethersproject/properties":534,"@ethersproject/web":4391},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcBatchProvider=void 0;var o=e("@ethersproject/properties"),s=e("@ethersproject/web"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);var i={request:n,resolve:null,reject:null},a=new Promise((function(e,t){i.resolve=e,i.reject=t}));return this._pendingBatch.push(i),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((function(){var e=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var t=e.map((function(e){return e.request}));return r.emit("debug",{action:"requestBatch",request:(0,o.deepCopy)(t),provider:r}),(0,s.fetchJson)(r.connection,JSON.stringify(t)).then((function(n){r.emit("debug",{action:"response",request:t,response:n,provider:r}),e.forEach((function(e,t){var r=n[t];if(r.error){var i=new Error(r.error.message);i.code=r.error.code,i.data=r.error.data,e.reject(i)}else e.resolve(r.result)}))}),(function(n){r.emit("debug",{action:"response",error:n,request:t,provider:r}),e.forEach((function(e){e.reject(n)}))}))}),10)),a},t}(e("./json-rpc-provider").JsonRpcProvider);r.JsonRpcBatchProvider=a}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js"}],[4381,{"./_version":4368,"./base-provider":4371,"@ethersproject/abstract-signer":489,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/hash":513,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/strings":573,"@ethersproject/transactions":576,"@ethersproject/web":4391},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcProvider=r.JsonRpcSigner=void 0;var a=e("@ethersproject/abstract-signer"),u=e("@ethersproject/bignumber"),c=e("@ethersproject/bytes"),l=e("@ethersproject/hash"),f=e("@ethersproject/properties"),h=e("@ethersproject/strings"),d=e("@ethersproject/transactions"),p=e("@ethersproject/web"),y=e("@ethersproject/logger"),g=e("./_version"),m=new y.Logger(g.version),b=e("./base-provider"),_=["call","estimateGas"];function w(e,t){if(null==e)return null;if("string"==typeof e.message&&e.message.match("reverted")){var r=(0,c.isHexString)(e.data)?e.data:null;if(!t||r)return{message:e.message,data:r}}if("object"==typeof e){for(var n in e){var i=w(e[n],t);if(i)return i}return null}if("string"==typeof e)try{return w(JSON.parse(e),t)}catch(e){}return null}function v(e,t,r){var n=r.transaction||r.signedTransaction;if("call"===e){var i;if(i=w(t,!0))return i.data;m.throwError("missing revert data in call exception; Transaction reverted without a reason string",y.Logger.errors.CALL_EXCEPTION,{data:"0x",transaction:n,error:t})}"estimateGas"===e&&(null==(i=w(t.body,!1))&&(i=w(t,!1)),i&&m.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",y.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{reason:i.message,method:e,transaction:n,error:t}));var o=t.message;throw t.code===y.Logger.errors.SERVER_ERROR&&t.error&&"string"==typeof t.error.message?o=t.error.message:"string"==typeof t.body?o=t.body:"string"==typeof t.responseText&&(o=t.responseText),(o=(o||"").toLowerCase()).match(/insufficient funds|base fee exceeds gas limit/i)&&m.throwError("insufficient funds for intrinsic transaction cost",y.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:n}),o.match(/nonce (is )?too low/i)&&m.throwError("nonce has already been used",y.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:n}),o.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&m.throwError("replacement fee too low",y.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:n}),o.match(/only replay-protected/i)&&m.throwError("legacy pre-eip-155 transactions not supported",y.Logger.errors.UNSUPPORTED_OPERATION,{error:t,method:e,transaction:n}),_.indexOf(e)>=0&&o.match(/gas required exceeds allowance|always failing transaction|execution reverted/)&&m.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",y.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:n}),t}function A(e){return new Promise((function(t){setTimeout(t,e)}))}function T(e){if(e.error){var t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function E(e){return e?e.toLowerCase():e}var j={},x=function(e){function t(t,r,n){var i=e.call(this)||this;if(t!==j)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,f.defineReadOnly)(i,"provider",r),null==n&&(n=0),"string"==typeof n?((0,f.defineReadOnly)(i,"_address",i.provider.formatter.address(n)),(0,f.defineReadOnly)(i,"_index",null)):"number"==typeof n?((0,f.defineReadOnly)(i,"_index",n),(0,f.defineReadOnly)(i,"_address",null)):m.throwArgumentError("invalid address or index","addressOrIndex",n),i}return i(t,e),t.prototype.connect=function(e){return m.throwError("cannot alter JSON-RPC Signer connection",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},t.prototype.connectUnchecked=function(){return new k(j,this.provider,this._address||this._index)},t.prototype.getAddress=function(){var e=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((function(t){return t.length<=e._index&&m.throwError("unknown account #"+e._index,y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),e.provider.formatter.address(t[e._index])}))},t.prototype.sendUncheckedTransaction=function(e){var t=this;e=(0,f.shallowCopy)(e);var r=this.getAddress().then((function(e){return e&&(e=e.toLowerCase()),e}));if(null==e.gasLimit){var n=(0,f.shallowCopy)(e);n.from=r,e.gasLimit=this.provider.estimateGas(n)}return null!=e.to&&(e.to=Promise.resolve(e.to).then((function(e){return o(t,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return null==e?[2,null]:[4,this.provider.resolveName(e)];case 1:return null==(t=r.sent())&&m.throwArgumentError("provided ENS name resolves to null","tx.to",e),[2,t]}}))}))}))),(0,f.resolveProperties)({tx:(0,f.resolveProperties)(e),sender:r}).then((function(r){var n=r.tx,i=r.sender;null!=n.from?n.from.toLowerCase()!==i&&m.throwArgumentError("from address mismatch","transaction",e):n.from=i;var o=t.provider.constructor.hexlifyTransaction(n,{from:!0});return t.provider.send("eth_sendTransaction",[o]).then((function(e){return e}),(function(e){return"string"==typeof e.message&&e.message.match(/user denied/i)&&m.throwError("user rejected transaction",y.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:n}),v("sendTransaction",e,o)}))}))},t.prototype.signTransaction=function(e){return m.throwError("signing transactions is unsupported",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},t.prototype.sendTransaction=function(e){return o(this,void 0,void 0,(function(){var t,r,n,i=this;return s(this,(function(a){switch(a.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return t=a.sent(),[4,this.sendUncheckedTransaction(e)];case 2:r=a.sent(),a.label=3;case 3:return a.trys.push([3,5,,6]),[4,(0,p.poll)((function(){return o(i,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return null===(e=n.sent())?[2,undefined]:[2,this.provider._wrapTransaction(e,r,t)]}}))}))}),{oncePoll:this.provider})];case 4:return[2,a.sent()];case 5:throw(n=a.sent()).transactionHash=r,n;case 6:return[2]}}))}))},t.prototype.signMessage=function(e){return o(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(i){switch(i.label){case 0:return t="string"==typeof e?(0,h.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,c.hexlify)(t),r.toLowerCase()])];case 3:return[2,i.sent()];case 4:throw"string"==typeof(n=i.sent()).message&&n.message.match(/user denied/i)&&m.throwError("user rejected signing",y.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,message:t}),n;case 5:return[2]}}))}))},t.prototype._legacySignMessage=function(e){return o(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(i){switch(i.label){case 0:return t="string"==typeof e?(0,h.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,c.hexlify)(t)])];case 3:return[2,i.sent()];case 4:throw"string"==typeof(n=i.sent()).message&&n.message.match(/user denied/i)&&m.throwError("user rejected signing",y.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,message:t}),n;case 5:return[2]}}))}))},t.prototype._signTypedData=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o,a=this;return s(this,(function(s){switch(s.label){case 0:return[4,l._TypedDataEncoder.resolveNames(e,t,r,(function(e){return a.provider.resolveName(e)}))];case 1:return n=s.sent(),[4,this.getAddress()];case 2:i=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(l._TypedDataEncoder.getPayload(n.domain,t,n.value))])];case 4:return[2,s.sent()];case 5:throw"string"==typeof(o=s.sent()).message&&o.message.match(/user denied/i)&&m.throwError("user rejected signing",y.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,message:{domain:n.domain,types:t,value:n.value}}),o;case 6:return[2]}}))}))},t.prototype.unlock=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return t=this.provider,[4,this.getAddress()];case 1:return r=n.sent(),[2,t.send("personal_unlockAccount",[r.toLowerCase(),e,null])]}}))}))},t}(a.Signer);r.JsonRpcSigner=x;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.sendTransaction=function(e){var t=this;return this.sendUncheckedTransaction(e).then((function(e){return{hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(r){return t.provider.waitForTransaction(e,r)}}}))},t}(x),P={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},S=function(e){function t(t,r){var n=this,i=r;return null==i&&(i=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then((function(t){e(t)}),(function(e){t(e)}))}),0)}))),n=e.call(this,i)||this,t||(t=(0,f.getStatic)(n.constructor,"defaultUrl")()),"string"==typeof t?(0,f.defineReadOnly)(n,"connection",Object.freeze({url:t})):(0,f.defineReadOnly)(n,"connection",Object.freeze((0,f.shallowCopy)(t))),n._nextId=42,n}return i(t,e),Object.defineProperty(t.prototype,"_cache",{get:function(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),t.defaultUrl=function(){return"http://localhost:8545"},t.prototype.detectNetwork=function(){var e=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((function(){e._cache.detectNetwork=null}),0)),this._cache.detectNetwork},t.prototype._uncachedDetectNetwork=function(){return o(this,void 0,void 0,(function(){var e,t;return s(this,(function(r){switch(r.label){case 0:return[4,A(0)];case 1:r.sent(),e=null,r.label=2;case 2:return r.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return e=r.sent(),[3,9];case 4:r.sent(),r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return e=r.sent(),[3,8];case 7:return r.sent(),[3,8];case 8:return[3,9];case 9:if(null!=e){t=(0,f.getStatic)(this.constructor,"getNetwork");try{return[2,t(u.BigNumber.from(e).toNumber())]}catch(t){return[2,m.throwError("could not detect network",y.Logger.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:t})]}}return[2,m.throwError("could not detect network",y.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}}))}))},t.prototype.getSigner=function(e){return new x(j,this,e)},t.prototype.getUncheckedSigner=function(e){return this.getSigner(e).connectUnchecked()},t.prototype.listAccounts=function(){var e=this;return this.send("eth_accounts",[]).then((function(t){return t.map((function(t){return e.formatter.address(t)}))}))},t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,f.deepCopy)(n),provider:this});var i=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(i&&this._cache[e])return this._cache[e];var o=(0,p.fetchJson)(this.connection,JSON.stringify(n),T).then((function(e){return r.emit("debug",{action:"response",request:n,response:e,provider:r}),e}),(function(e){throw r.emit("debug",{action:"response",error:e,request:n,provider:r}),e}));return i&&(this._cache[e]=o,setTimeout((function(){r._cache[e]=null}),0)),o},t.prototype.prepareRequest=function(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[E(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[E(t.address),t.blockTag]];case"getCode":return["eth_getCode",[E(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[E(t.address),(0,c.hexZeroPad)(t.position,32),t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[(0,f.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[(0,f.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=E(t.filter.address)),["eth_getLogs",[t.filter]]}return null},t.prototype.perform=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return"call"!==e&&"estimateGas"!==e?[3,2]:(r=t.transaction)&&null!=r.type&&u.BigNumber.from(r.type).isZero()?null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas?[3,2]:[4,this.getFeeData()]:[3,2];case 1:null==(n=s.sent()).maxFeePerGas&&null==n.maxPriorityFeePerGas&&((t=(0,f.shallowCopy)(t)).transaction=(0,f.shallowCopy)(r),delete t.transaction.type),s.label=2;case 2:null==(i=this.prepareRequest(e,t))&&m.throwError(e+" not implemented",y.Logger.errors.NOT_IMPLEMENTED,{operation:e}),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.send(i[0],i[1])];case 4:return[2,s.sent()];case 5:return o=s.sent(),[2,v(e,o,t)];case 6:return[2]}}))}))},t.prototype._startEvent=function(t){"pending"===t.tag&&this._startPending(),e.prototype._startEvent.call(this,t)},t.prototype._startPending=function(){if(null==this._pendingFilter){var e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then((function(r){return function n(){e.send("eth_getFilterChanges",[r]).then((function(r){if(e._pendingFilter!=t)return null;var n=Promise.resolve();return r.forEach((function(t){e._emitted["t:"+t.toLowerCase()]="pending",n=n.then((function(){return e.getTransaction(t).then((function(t){return e.emit("pending",t),null}))}))})),n.then((function(){return A(1e3)}))})).then((function(){if(e._pendingFilter==t)return setTimeout((function(){n()}),0),null;e.send("eth_uninstallFilter",[r])})).catch((function(e){}))}(),r})).catch((function(e){}))}},t.prototype._stopEvent=function(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),e.prototype._stopEvent.call(this,t)},t.hexlifyTransaction=function(e,t){var r=(0,f.shallowCopy)(P);if(t)for(var n in t)t[n]&&(r[n]=!0);(0,f.checkProperties)(e,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(t){if(null!=e[t]){var r=(0,c.hexValue)(u.BigNumber.from(e[t]));"gasLimit"===t&&(t="gas"),i[t]=r}})),["from","to","data"].forEach((function(t){null!=e[t]&&(i[t]=(0,c.hexlify)(e[t]))})),e.accessList&&(i.accessList=(0,d.accessListify)(e.accessList)),i},t}(b.BaseProvider);r.JsonRpcProvider=S}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js"}],[4382,{"./_version":4368,"./url-json-rpc-provider":4384,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NodesmithProvider=void 0;var o=e("./url-json-rpc-provider"),s=e("@ethersproject/logger"),a=e("./_version"),u=new s.Logger(a.version),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.getApiKey=function(e){return e&&"string"!=typeof e&&u.throwArgumentError("invalid apiKey","apiKey",e),e||"ETHERS_JS_SHARED"},t.getUrl=function(e,t){u.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(e.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:u.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+t},t}(o.UrlJsonRpcProvider);r.NodesmithProvider=c}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/nodesmith-provider.js"}],[4383,{"./_version":4368,"./url-json-rpc-provider":4384,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.PocketProvider=void 0;var o=e("@ethersproject/logger"),s=e("./_version"),a=new o.Logger(s.version),u=e("./url-json-rpc-provider"),c="62e1ad51b37b8e00394bda3b",l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.getApiKey=function(e){var t={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==e?t.applicationId=c:"string"==typeof e?t.applicationId=e:null!=e.applicationSecretKey?(t.applicationId=e.applicationId,t.applicationSecretKey=e.applicationSecretKey):e.applicationId?t.applicationId=e.applicationId:a.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:a.throwError("unsupported network",o.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={headers:{},url:"https://"+r+"/v1/lb/"+t.applicationId};return null!=t.applicationSecretKey&&(n.user="",n.password=t.applicationSecretKey),n},t.prototype.isCommunityResource=function(){return this.applicationId===c},t}(u.UrlJsonRpcProvider);r.PocketProvider=l}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/pocket-provider.js"}],[4384,{"./_version":4368,"./json-rpc-provider":4381,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.UrlJsonRpcProvider=r.StaticJsonRpcProvider=void 0;var a=e("@ethersproject/properties"),u=e("@ethersproject/logger"),c=e("./_version"),l=new u.Logger(c.version),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.detectNetwork=function(){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return null!=(t=this.network)?[3,2]:[4,e.prototype.detectNetwork.call(this)];case 1:(t=r.sent())||l.throwError("no network detected",u.Logger.errors.UNKNOWN_ERROR,{}),null==this._network&&((0,a.defineReadOnly)(this,"_network",t),this.emit("network",t,null)),r.label=2;case 2:return[2,t]}}))}))},t}(e("./json-rpc-provider").JsonRpcProvider);r.StaticJsonRpcProvider=f;var h=function(e){function t(r,n){var i,o=this.constructor;l.checkAbstract(o,t),r=(0,a.getStatic)(o,"getNetwork")(r),n=(0,a.getStatic)(o,"getApiKey")(n);var s=(0,a.getStatic)(o,"getUrl")(r,n);return i=e.call(this,s,r)||this,"string"==typeof n?(0,a.defineReadOnly)(i,"apiKey",n):null!=n&&Object.keys(n).forEach((function(e){(0,a.defineReadOnly)(i,e,n[e])})),i}return i(t,e),t.prototype._startPending=function(){l.warn("WARNING: API provider does not support pending filters")},t.prototype.isCommunityResource=function(){return!1},t.prototype.getSigner=function(e){return l.throwError("API provider does not support signing",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})},t.prototype.listAccounts=function(){return Promise.resolve([])},t.getApiKey=function(e){return e},t.getUrl=function(e,t){return l.throwError("not implemented; sub-classes must override getUrl",u.Logger.errors.NOT_IMPLEMENTED,{operation:"getUrl"})},t}(f);r.UrlJsonRpcProvider=h}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/url-json-rpc-provider.js"}],[4385,{"./_version":4368,"./json-rpc-provider":4381,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.Web3Provider=void 0;var o=e("@ethersproject/properties"),s=e("@ethersproject/logger"),a=e("./_version"),u=new s.Logger(a.version),c=e("./json-rpc-provider"),l=1;function f(e,t){var r="Web3LegacyFetcher";return function(e,n){var i=this,s={method:e,params:n,id:l++,jsonrpc:"2.0"};return new Promise((function(e,n){i.emit("debug",{action:"request",fetcher:r,request:(0,o.deepCopy)(s),provider:i}),t(s,(function(t,o){if(t)return i.emit("debug",{action:"response",fetcher:r,error:t,request:s,provider:i}),n(t);if(i.emit("debug",{action:"response",fetcher:r,request:s,response:o,provider:i}),o.error){var a=new Error(o.error.message);return a.code=o.error.code,a.data=o.error.data,n(a)}e(o.result)}))}))}}var h=function(e){function t(t,r){var n;null==t&&u.throwArgumentError("missing provider","provider",t);var i=null,s=null,a=null;return"function"==typeof t?(i="unknown:",s=t):(!(i=t.host||t.path||"")&&t.isMetaMask&&(i="metamask"),a=t,t.request?(""===i&&(i="eip-1193:"),s=function(e){return function(t,r){var n=this;null==r&&(r=[]);var i={method:t,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,o.deepCopy)(i),provider:this}),e.request(i).then((function(e){return n.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,response:e,provider:n}),e}),(function(e){throw n.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,error:e,provider:n}),e}))}}(t)):t.sendAsync?s=f(0,t.sendAsync.bind(t)):t.send?s=f(0,t.send.bind(t)):u.throwArgumentError("unsupported provider","provider",t),i||(i="unknown:")),n=e.call(this,i,r)||this,(0,o.defineReadOnly)(n,"jsonRpcFetchFunc",s),(0,o.defineReadOnly)(n,"provider",a),n}return i(t,e),t.prototype.send=function(e,t){return this.jsonRpcFetchFunc(e,t)},t}(c.JsonRpcProvider);r.Web3Provider=h}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/web3-provider.js"}],[4386,{"./_version":4368,"./json-rpc-provider":4381,"./ws":4373,"@ethersproject/bignumber":498,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketProvider=void 0;var a=e("@ethersproject/bignumber"),u=e("@ethersproject/properties"),c=e("./json-rpc-provider"),l=e("./ws"),f=e("@ethersproject/logger"),h=e("./_version"),d=new f.Logger(h.version),p=1,y=function(e){function t(t,r){var n=this;"any"===r&&d.throwError("WebSocketProvider does not support 'any' network yet",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),(n="string"==typeof t?e.call(this,t,r)||this:e.call(this,"_websocket",r)||this)._pollingInterval=-1,n._wsReady=!1,"string"==typeof t?(0,u.defineReadOnly)(n,"_websocket",new l.WebSocket(n.connection.url)):(0,u.defineReadOnly)(n,"_websocket",t),(0,u.defineReadOnly)(n,"_requests",{}),(0,u.defineReadOnly)(n,"_subs",{}),(0,u.defineReadOnly)(n,"_subIds",{}),(0,u.defineReadOnly)(n,"_detectNetwork",e.prototype.detectNetwork.call(n)),n.websocket.onopen=function(){n._wsReady=!0,Object.keys(n._requests).forEach((function(e){n.websocket.send(n._requests[e].payload)}))},n.websocket.onmessage=function(e){var t=e.data,r=JSON.parse(t);if(null!=r.id){var i=String(r.id),o=n._requests[i];if(delete n._requests[i],r.result!==undefined)o.callback(null,r.result),n.emit("debug",{action:"response",request:JSON.parse(o.payload),response:r.result,provider:n});else{var s=null;r.error?(s=new Error(r.error.message||"unknown error"),(0,u.defineReadOnly)(s,"code",r.error.code||null),(0,u.defineReadOnly)(s,"response",t)):s=new Error("unknown error"),o.callback(s,undefined),n.emit("debug",{action:"response",error:s,request:JSON.parse(o.payload),provider:n})}}else if("eth_subscription"===r.method){var a=n._subs[r.params.subscription];a&&a.processFunc(r.params.result)}else console.warn("this should not happen")};var i=setInterval((function(){n.emit("poll")}),1e3);return i.unref&&i.unref(),n}return i(t,e),Object.defineProperty(t.prototype,"websocket",{get:function(){return this._websocket},enumerable:!1,configurable:!0}),t.prototype.detectNetwork=function(){return this._detectNetwork},Object.defineProperty(t.prototype,"pollingInterval",{get:function(){return 0},set:function(e){d.throwError("cannot set polling interval on WebSocketProvider",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})},enumerable:!1,configurable:!0}),t.prototype.resetEventsBlock=function(e){d.throwError("cannot reset events block on WebSocketProvider",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})},t.prototype.poll=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,null]}))}))},Object.defineProperty(t.prototype,"polling",{set:function(e){e&&d.throwError("cannot set polling on WebSocketProvider",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})},enumerable:!1,configurable:!0}),t.prototype.send=function(e,t){var r=this,n=p++;return new Promise((function(i,o){var s=JSON.stringify({method:e,params:t,id:n,jsonrpc:"2.0"});r.emit("debug",{action:"request",request:JSON.parse(s),provider:r}),r._requests[String(n)]={callback:function(e,t){return e?o(e):i(t)},payload:s},r._wsReady&&r.websocket.send(s)}))},t.defaultUrl=function(){return"ws://localhost:8546"},t.prototype._subscribe=function(e,t,r){return o(this,void 0,void 0,(function(){var n,i,o=this;return s(this,(function(s){switch(s.label){case 0:return null==(n=this._subIds[e])&&(n=Promise.all(t).then((function(e){return o.send("eth_subscribe",e)})),this._subIds[e]=n),[4,n];case 1:return i=s.sent(),this._subs[i]={tag:e,processFunc:r},[2]}}))}))},t.prototype._startEvent=function(e){var t=this;switch(e.type){case"block":this._subscribe("block",["newHeads"],(function(e){var r=a.BigNumber.from(e.number).toNumber();t._emitted.block=r,t.emit("block",r)}));break;case"pending":this._subscribe("pending",["newPendingTransactions"],(function(e){t.emit("pending",e)}));break;case"filter":this._subscribe(e.tag,["logs",this._getFilter(e.filter)],(function(r){null==r.removed&&(r.removed=!1),t.emit(e.filter,t.formatter.filterLog(r))}));break;case"tx":var r=function(e){var r=e.hash;t.getTransactionReceipt(r).then((function(e){e&&t.emit(r,e)}))};r(e),this._subscribe("tx",["newHeads"],(function(e){t._events.filter((function(e){return"tx"===e.type})).forEach(r)}));break;case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",e)}},t.prototype._stopEvent=function(e){var t=this,r=e.tag;if("tx"===e.type){if(this._events.filter((function(e){return"tx"===e.type})).length)return;r="tx"}else if(this.listenerCount(e.event))return;var n=this._subIds[r];n&&(delete this._subIds[r],n.then((function(e){t._subs[e]&&(delete t._subs[e],t.send("eth_unsubscribe",[e]))})))},t.prototype.destroy=function(){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(t){switch(t.label){case 0:return this.websocket.readyState!==l.WebSocket.CONNECTING?[3,2]:[4,new Promise((function(t){e.websocket.onopen=function(){t(!0)},e.websocket.onerror=function(){t(!1)}}))];case 1:t.sent(),t.label=2;case 2:return this.websocket.close(1e3),[2]}}))}))},t}(c.JsonRpcProvider);r.WebSocketProvider=y}}},{package:"ethers>@ethersproject/providers",file:"node_modules/ethers/node_modules/@ethersproject/providers/lib/websocket-provider.js"}],[4387,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="networks/5.7.1"}}},{package:"ethers>@ethersproject/providers>@ethersproject/networks",file:"node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/networks/lib/_version.js"}],[4388,{"./_version":4387,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getNetwork=void 0;var n=e("@ethersproject/logger"),i=e("./_version"),o=new n.Logger(i.version);function s(e){var t=function(t,r){null==r&&(r={});var n=[];if(t.InfuraProvider&&"-"!==r.infura)try{n.push(new t.InfuraProvider(e,r.infura))}catch(e){}if(t.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new t.EtherscanProvider(e,r.etherscan))}catch(e){}if(t.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new t.AlchemyProvider(e,r.alchemy))}catch(e){}if(t.PocketProvider&&"-"!==r.pocket){var i=["goerli","ropsten","rinkeby","sepolia"];try{(o=new t.PocketProvider(e,r.pocket)).network&&-1===i.indexOf(o.network.name)&&n.push(o)}catch(e){}}if(t.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new t.CloudflareProvider(e))}catch(e){}if(t.AnkrProvider&&"-"!==r.ankr)try{var o;i=["ropsten"];(o=new t.AnkrProvider(e,r.ankr)).network&&-1===i.indexOf(o.network.name)&&n.push(o)}catch(e){}if(0===n.length)return null;if(t.FallbackProvider){var s=1;return null!=r.quorum?s=r.quorum:"homestead"===e&&(s=2),new t.FallbackProvider(n,s)}return n[0]};return t.renetwork=function(e){return s(e)},t}function a(e,t){var r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null};return r.renetwork=function(t){return a(e,t)},r}var u={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:s("homestead")},c={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:s("ropsten")},l={chainId:63,name:"classicMordor",_defaultProvider:a("https://www.ethercluster.com/mordor","classicMordor")},f={unspecified:{chainId:0,name:"unspecified"},homestead:u,mainnet:u,morden:{chainId:2,name:"morden"},ropsten:c,testnet:c,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:s("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:s("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:s("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:s("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:a("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:l,classicTestnet:l,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:a("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:s("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:s("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};r.getNetwork=function(e){if(null==e)return null;if("number"==typeof e){for(var t in f){var r=f[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"==typeof e){var n=f[e];return null==n?null:{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress,_defaultProvider:n._defaultProvider||null}}var i=f[e.name];if(!i)return"number"!=typeof e.chainId&&o.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==i.chainId&&o.throwArgumentError("network chainId mismatch","network",e);var s,a=e._defaultProvider||null;return null==a&&i._defaultProvider&&(a=(s=i._defaultProvider)&&"function"==typeof s.renetwork?i._defaultProvider.renetwork(e):i._defaultProvider),{name:e.name,chainId:i.chainId,ensAddress:e.ensAddress||i.ensAddress||null,_defaultProvider:a}}}}},{package:"ethers>@ethersproject/providers>@ethersproject/networks",file:"node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/networks/lib/index.js"}],[4389,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="web/5.7.1"}}},{package:"ethers>@ethersproject/providers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/web/lib/_version.js"}],[439,{"./baseTransaction.js":430,"./capabilities/eip1559.js":431,"./capabilities/eip2718.js":432,"./capabilities/eip2930.js":433,"./capabilities/legacy.js":435,"./constants.js":436,"./types.js":445,"./util.js":446,"@ethereumjs/rlp":447,"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BlobEIP4844Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),s=e("./capabilities/eip1559.js"),a=e("./capabilities/eip2718.js"),u=e("./capabilities/eip2930.js"),c=e("./capabilities/legacy.js"),l=e("./constants.js"),f=e("./types.js"),h=e("./util.js");class d extends o.BaseTransaction{constructor(e,t={}){super({...e,type:f.TransactionType.BlobEIP4844},t);const{chainId:r,accessList:n,maxFeePerGas:s,maxPriorityFeePerGas:u,maxFeePerBlobGas:d}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");if(!this.common.isActivatedEIP(4844))throw new Error("EIP-4844 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930]);const p=h.AccessLists.getAccessListData(n??[]);if(this.accessList=p.accessList,this.AccessListJSON=p.AccessListJSON,h.AccessLists.verifyAccessList(this.accessList),this.maxFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(s)),this.maxPriorityFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),o.BaseTransaction._validateNotArray(e),this.gasLimit*this.maxFeePerGas>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGas<this.maxPriorityFeePerGas){const e=this._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");throw new Error(e)}this.maxFeePerBlobGas=(0,i.bytesToBigInt)((0,i.toBytes)(""===(d??"")?"0x":d)),this.blobVersionedHashes=(e.blobVersionedHashes??[]).map((e=>(0,i.toBytes)(e))),a.validateYParity(this),c.validateHighS(this);for(const e of this.blobVersionedHashes){if(32!==e.length){const e=this._errorMsg("versioned hash is invalid length");throw new Error(e)}if(BigInt(e[0])!==this.common.param("sharding","blobCommitmentVersionKzg")){const e=this._errorMsg("versioned hash does not start with KZG commitment version");throw new Error(e)}}if(this.blobVersionedHashes.length>l.LIMIT_BLOBS_PER_TX){const e=this._errorMsg(`tx can contain at most ${l.LIMIT_BLOBS_PER_TX} blobs`);throw new Error(e)}if(0===this.blobVersionedHashes.length){const e=this._errorMsg("tx should contain at least one blob");throw new Error(e)}if(this.to===undefined){const e=this._errorMsg('tx should have a "to" field and cannot be used to create contracts');throw new Error(e)}this.blobs=e.blobs?.map((e=>(0,i.toBytes)(e))),this.kzgCommitments=e.kzgCommitments?.map((e=>(0,i.toBytes)(e))),this.kzgProofs=e.kzgProofs?.map((e=>(0,i.toBytes)(e)));(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t){if(t?.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");const r=t.common.customCrypto.kzg;if(e.blobsData!==undefined){if(e.blobs!==undefined)throw new Error("cannot have both raw blobs data and encoded blobs in constructor");if(e.kzgCommitments!==undefined)throw new Error("cannot have both raw blobs data and KZG commitments in constructor");if(e.blobVersionedHashes!==undefined)throw new Error("cannot have both raw blobs data and versioned hashes in constructor");if(e.kzgProofs!==undefined)throw new Error("cannot have both raw blobs data and KZG proofs in constructor");e.blobs=(0,i.getBlobs)(e.blobsData.reduce(((e,t)=>e+t))),e.kzgCommitments=(0,i.blobsToCommitments)(r,e.blobs),e.blobVersionedHashes=(0,i.commitmentsToVersionedHashes)(e.kzgCommitments),e.kzgProofs=(0,i.blobsToProofs)(r,e.blobs,e.kzgCommitments)}return new d(e,t)}getEffectivePriorityFee(e){return s.getEffectivePriorityFee(this,e)}static minimalFromNetworkWrapper(e,t){if(t?.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");return d.fromTxData({...e,blobs:undefined,kzgCommitments:undefined,kzgProofs:undefined},t)}static fromSerializedTx(e,t={}){if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,h.txTypeBytes)(f.TransactionType.BlobEIP4844)))throw new Error(`Invalid serialized tx input: not an EIP-4844 transaction (wrong tx type, expected: ${f.TransactionType.BlobEIP4844}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return d.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(11!==e.length&&14!==e.length)throw new Error("Invalid EIP-4844 transaction. Only expecting 11 values (for unsigned tx) or 14 values (for signed tx).");const[r,n,o,s,a,u,c,l,f,h,p,y,g,m]=e;return this._validateNotArray({chainId:r,v:y}),(0,i.validateNoLeadingZeroes)({nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:s,gasLimit:a,value:c,maxFeePerBlobGas:h,v:y,r:g,s:m}),new d({chainId:(0,i.bytesToBigInt)(r),nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:s,gasLimit:a,to:u,value:c,data:l,accessList:f??[],maxFeePerBlobGas:h,blobVersionedHashes:p,v:y!==undefined?(0,i.bytesToBigInt)(y):undefined,r:g,s:m},t)}static fromSerializedBlobTxNetworkWrapper(e,t){if(!t||!t.common)throw new Error("common instance required to validate versioned hashes");if(t.common?.customCrypto?.kzg===undefined)throw new Error("A common object with customCrypto.kzg initialized required to instantiate a 4844 blob tx");if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,h.txTypeBytes)(f.TransactionType.BlobEIP4844)))throw new Error(`Invalid serialized tx input: not an EIP-4844 transaction (wrong tx type, expected: ${f.TransactionType.BlobEIP4844}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(4!==r.length)throw Error("Expected 4 values in the deserialized network transaction");const[o,s,a,u]=r,c=d.fromValuesArray(o,{...t,freeze:!1});if(c.to===undefined)throw Error("BlobEIP4844Transaction can not be send without a valid `to`");const l=Number(t.common.param("sharding","blobCommitmentVersionKzg"));((e,t,r,n,o,s)=>{if(e.length!==t.length||t.length!==r.length)throw new Error("Number of blobVersionedHashes, blobs, and commitments not all equal");if(0===e.length)throw new Error("Invalid transaction with empty blobs");let a;try{a=s.verifyBlobKzgProofBatch(t,r,n)}catch(e){throw new Error(`KZG verification of blobs fail with error=${e}`)}if(!a)throw new Error("KZG proof cannot be verified from blobs/commitments");for(let t=0;t<e.length;t++){const n=(0,i.computeVersionedHash)(r[t],o);if(!(0,i.equalsBytes)(n,e[t]))throw new Error(`commitment for blob at index ${t} does not match versionedHash`)}})(c.blobVersionedHashes,s,a,u,l,t.common.customCrypto.kzg),c.blobs=s,c.kzgCommitments=a,c.kzgProofs=u;return(t?.freeze??!0)&&Object.freeze(c),c}getDataFee(){return u.getDataFee(this)}getUpfrontCost(e=i.BIGINT_0){return s.getUpfrontCost(this,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.maxPriorityFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.maxFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,(0,i.bigIntToUnpaddedBytes)(this.maxFeePerBlobGas),this.blobVersionedHashes,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return a.serialize(this)}serializeNetworkWrapper(){if(this.blobs===undefined||this.kzgCommitments===undefined||this.kzgProofs===undefined)throw new Error("cannot serialize network wrapper without blobs, KZG commitments and KZG proofs provided");return a.serialize(this,[this.raw(),this.blobs,this.kzgCommitments,this.kzgProofs])}getMessageToSign(){return a.serialize(this,this.raw().slice(0,11))}getHashedMessageToSign(){return a.getHashedMessageToSign(this)}hash(){return c.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return c.getSenderPublicKey(this)}static networkWrapperToJson(e,t){const r=this.fromSerializedBlobTxNetworkWrapper(e,t),n=h.AccessLists.getAccessListJSON(r.accessList);return{...r.toJSON(),chainId:(0,i.bigIntToHex)(r.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(r.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(r.maxFeePerGas),accessList:n,maxFeePerBlobGas:(0,i.bigIntToHex)(r.maxFeePerBlobGas),blobVersionedHashes:r.blobVersionedHashes.map((e=>(0,i.bytesToHex)(e))),blobs:r.blobs.map((e=>(0,i.bytesToHex)(e))),kzgCommitments:r.kzgCommitments.map((e=>(0,i.bytesToHex)(e))),kzgProofs:r.kzgProofs.map((e=>(0,i.bytesToHex)(e)))}}toJSON(){const e=h.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(this.maxFeePerGas),accessList:e,maxFeePerBlobGas:(0,i.bigIntToHex)(this.maxFeePerBlobGas),blobVersionedHashes:this.blobVersionedHashes.map((e=>(0,i.bytesToHex)(e)))}}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return d.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:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r),maxFeePerBlobGas:this.maxFeePerBlobGas,blobVersionedHashes:this.blobVersionedHashes,blobs:this.blobs,kzgCommitments:this.kzgCommitments,kzgProofs:this.kzgProofs},o)}errorStr(){let e=this._getSharedErrorPostfix();return e+=` maxFeePerGas=${this.maxFeePerGas} maxPriorityFeePerGas=${this.maxPriorityFeePerGas}`,e}_errorMsg(e){return c.errorMsg(this,e)}numBlobs(){return this.blobVersionedHashes.length}}r.BlobEIP4844Transaction=d}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip4844Transaction.js"}],[4390,{"@ethersproject/bytes":500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.getUrl=void 0;var o=e("@ethersproject/bytes");r.getUrl=function(e,t){return n(this,void 0,void 0,(function(){var r,n,s,a,u;return i(this,(function(i){switch(i.label){case 0:return null==t&&(t={}),r={method:t.method||"GET",headers:t.headers||{},body:t.body||undefined},!0!==t.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=t.fetchOptions&&((n=t.fetchOptions).mode&&(r.mode=n.mode),n.cache&&(r.cache=n.cache),n.credentials&&(r.credentials=n.credentials),n.redirect&&(r.redirect=n.redirect),n.referrer&&(r.referrer=n.referrer)),[4,fetch(e,r)];case 1:return[4,(s=i.sent()).arrayBuffer()];case 2:return a=i.sent(),u={},s.headers.forEach?s.headers.forEach((function(e,t){u[t.toLowerCase()]=e})):s.headers.keys().forEach((function(e){u[e.toLowerCase()]=s.headers.get(e)})),[2,{headers:u,statusCode:s.status,statusMessage:s.statusText,body:(0,o.arrayify)(new Uint8Array(a))}]}}))}))}}}},{package:"ethers>@ethersproject/providers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/web/lib/browser-geturl.js"}],[4391,{"./_version":4389,"./geturl":4390,"@ethersproject/base64":493,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/strings":573},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.poll=r.fetchJson=r._fetchData=void 0;var o=e("@ethersproject/base64"),s=e("@ethersproject/bytes"),a=e("@ethersproject/properties"),u=e("@ethersproject/strings"),c=e("@ethersproject/logger"),l=e("./_version"),f=new c.Logger(l.version),h=e("./geturl");function d(e){return new Promise((function(t){setTimeout(t,e)}))}function p(e,t){if(null==e)return null;if("string"==typeof e)return e;if((0,s.isBytesLike)(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return(0,u.toUtf8String)(e)}catch(e){}return(0,s.hexlify)(e)}return e}function y(e,t,r){var s="object"==typeof e&&null!=e.throttleLimit?e.throttleLimit:12;f.assertArgument(s>0&&s%1==0,"invalid connection throttle limit","connection.throttleLimit",s);var l="object"==typeof e?e.throttleCallback:null,y="object"==typeof e&&"number"==typeof e.throttleSlotInterval?e.throttleSlotInterval:100;f.assertArgument(y>0&&y%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",y);var g="object"==typeof e&&!!e.errorPassThrough,m={},b=null,_={method:"GET"},w=!1,v=12e4;if("string"==typeof e)b=e;else if("object"==typeof e){if(null!=e&&null!=e.url||f.throwArgumentError("missing URL","connection.url",e),b=e.url,"number"==typeof e.timeout&&e.timeout>0&&(v=e.timeout),e.headers)for(var A in e.headers)m[A.toLowerCase()]={key:A,value:String(e.headers[A])},["if-none-match","if-modified-since"].indexOf(A.toLowerCase())>=0&&(w=!0);if(_.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==b.substring(0,6)&&!0!==e.allowInsecureAuthentication&&f.throwError("basic authentication requires a secure https url",c.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:b,user:e.user,password:"[REDACTED]"});var T=e.user+":"+e.password;m.authorization={key:"Authorization",value:"Basic "+(0,o.encode)((0,u.toUtf8Bytes)(T))}}null!=e.skipFetchSetup&&(_.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(_.fetchOptions=(0,a.shallowCopy)(e.fetchOptions))}var E,j=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),x=b?b.match(j):null;if(x)try{var k={statusCode:200,statusMessage:"OK",headers:{"content-type":x[1]||"text/plain"},body:x[2]?(0,o.decode)(x[3]):(E=x[3],(0,u.toUtf8Bytes)(E.replace(/%([0-9a-f][0-9a-f])/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))))},P=k.body;return r&&(P=r(k.body,k)),Promise.resolve(P)}catch(e){f.throwError("processing response error",c.Logger.errors.SERVER_ERROR,{body:p(x[1],x[2]),error:e,requestBody:null,requestMethod:"GET",url:b})}t&&(_.method="POST",_.body=t,null==m["content-type"]&&(m["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==m["content-length"]&&(m["content-length"]={key:"Content-Length",value:String(t.length)}));var S={};Object.keys(m).forEach((function(e){var t=m[e];S[t.key]=t.value})),_.headers=S;var O,I=(O=null,{promise:new Promise((function(e,t){v&&(O=setTimeout((function(){null!=O&&(O=null,t(f.makeError("timeout",c.Logger.errors.TIMEOUT,{requestBody:p(_.body,S["content-type"]),requestMethod:_.method,timeout:v,url:b})))}),v))})),cancel:function(){null!=O&&(clearTimeout(O),O=null)}}),N=function(){return n(this,void 0,void 0,(function(){var e,t,n,o,a,u,m,v,A;return i(this,(function(i){switch(i.label){case 0:e=0,i.label=1;case 1:if(!(e<s))return[3,20];t=null,i.label=2;case 2:return i.trys.push([2,9,,10]),[4,(0,h.getUrl)(b,_)];case 3:return t=i.sent(),e<s?301!==t.statusCode&&302!==t.statusCode?[3,4]:(n=t.headers.location||"","GET"===_.method&&n.match(/^https:/)?(b=t.headers.location,[3,19]):[3,8]):[3,8];case 4:return 429!==t.statusCode?[3,8]:(A=!0,l?[4,l(e,b)]:[3,6]);case 5:A=i.sent(),i.label=6;case 6:return A?(0,o=t.headers["retry-after"],[4,d("string"==typeof o&&o.match(/^[1-9][0-9]*$/)?1e3*parseInt(o):y*parseInt(String(Math.random()*Math.pow(2,e))))]):[3,8];case 7:return i.sent(),[3,19];case 8:return[3,10];case 9:return a=i.sent(),null==(t=a.response)&&(I.cancel(),f.throwError("missing response",c.Logger.errors.SERVER_ERROR,{requestBody:p(_.body,S["content-type"]),requestMethod:_.method,serverError:a,url:b})),[3,10];case 10:if(u=t.body,w&&304===t.statusCode?u=null:!g&&(t.statusCode<200||t.statusCode>=300)&&(I.cancel(),f.throwError("bad response",c.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:p(u,t.headers?t.headers["content-type"]:null),requestBody:p(_.body,S["content-type"]),requestMethod:_.method,url:b})),!r)return[3,18];i.label=11;case 11:return i.trys.push([11,13,,18]),[4,r(u,t)];case 12:return m=i.sent(),I.cancel(),[2,m];case 13:return(v=i.sent()).throttleRetry&&e<s?(A=!0,l?[4,l(e,b)]:[3,15]):[3,17];case 14:A=i.sent(),i.label=15;case 15:return A?[4,d(y*parseInt(String(Math.random()*Math.pow(2,e))))]:[3,17];case 16:return i.sent(),[3,19];case 17:return I.cancel(),f.throwError("processing response error",c.Logger.errors.SERVER_ERROR,{body:p(u,t.headers?t.headers["content-type"]:null),error:v,requestBody:p(_.body,S["content-type"]),requestMethod:_.method,url:b}),[3,18];case 18:return I.cancel(),[2,u];case 19:return e++,[3,1];case 20:return[2,f.throwError("failed response",c.Logger.errors.SERVER_ERROR,{requestBody:p(_.body,S["content-type"]),requestMethod:_.method,url:b})]}}))}))}();return Promise.race([I.promise,N])}r._fetchData=y,r.fetchJson=function(e,t,r){var n=null;if(null!=t){n=(0,u.toUtf8Bytes)(t);var i="string"==typeof e?{url:e}:(0,a.shallowCopy)(e);if(i.headers)0!==Object.keys(i.headers).filter((function(e){return"content-type"===e.toLowerCase()})).length||(i.headers=(0,a.shallowCopy)(i.headers),i.headers["content-type"]="application/json");else i.headers={"content-type":"application/json"};e=i}return y(e,n,(function(e,t){var n=null;if(null!=e)try{n=JSON.parse((0,u.toUtf8String)(e))}catch(t){f.throwError("invalid JSON",c.Logger.errors.SERVER_ERROR,{body:e,error:t})}return r&&(n=r(n,t)),n}))},r.poll=function(e,t){return t||(t={}),null==(t=(0,a.shallowCopy)(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise((function(r,n){var i=null,o=!1,s=function(){return!o&&(o=!0,i&&clearTimeout(i),!0)};t.timeout&&(i=setTimeout((function(){s()&&n(new Error("timeout"))}),t.timeout));var a=t.retryLimit,u=0;!function i(){return e().then((function(e){if(e!==undefined)s()&&r(e);else if(t.oncePoll)t.oncePoll.once("poll",i);else if(t.onceBlock)t.onceBlock.once("block",i);else if(!o){if(++u>a)return void(s()&&n(new Error("retry limit reached")));var c=t.interval*parseInt(String(Math.random()*Math.pow(2,u)));c<t.floor&&(c=t.floor),c>t.ceiling&&(c=t.ceiling),setTimeout(i,c)}return null}),(function(e){s()&&n(e)}))}()}))}}}},{package:"ethers>@ethersproject/providers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/web/lib/index.js"}],[4392,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="web/5.7.0"}}},{package:"ethers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/web/lib/_version.js"}],[4393,{"@ethersproject/bytes":500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.getUrl=void 0;var o=e("@ethersproject/bytes");r.getUrl=function(e,t){return n(this,void 0,void 0,(function(){var r,n,s,a,u;return i(this,(function(i){switch(i.label){case 0:return null==t&&(t={}),r={method:t.method||"GET",headers:t.headers||{},body:t.body||undefined},!0!==t.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=t.fetchOptions&&((n=t.fetchOptions).mode&&(r.mode=n.mode),n.cache&&(r.cache=n.cache),n.credentials&&(r.credentials=n.credentials),n.redirect&&(r.redirect=n.redirect),n.referrer&&(r.referrer=n.referrer)),[4,fetch(e,r)];case 1:return[4,(s=i.sent()).arrayBuffer()];case 2:return a=i.sent(),u={},s.headers.forEach?s.headers.forEach((function(e,t){u[t.toLowerCase()]=e})):s.headers.keys().forEach((function(e){u[e.toLowerCase()]=s.headers.get(e)})),[2,{headers:u,statusCode:s.status,statusMessage:s.statusText,body:(0,o.arrayify)(new Uint8Array(a))}]}}))}))}}}},{package:"ethers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/web/lib/browser-geturl.js"}],[4394,{"./_version":4392,"./geturl":4393,"@ethersproject/base64":493,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534,"@ethersproject/strings":573},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.poll=r.fetchJson=r._fetchData=void 0;var o=e("@ethersproject/base64"),s=e("@ethersproject/bytes"),a=e("@ethersproject/properties"),u=e("@ethersproject/strings"),c=e("@ethersproject/logger"),l=e("./_version"),f=new c.Logger(l.version),h=e("./geturl");function d(e){return new Promise((function(t){setTimeout(t,e)}))}function p(e,t){if(null==e)return null;if("string"==typeof e)return e;if((0,s.isBytesLike)(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return(0,u.toUtf8String)(e)}catch(e){}return(0,s.hexlify)(e)}return e}function y(e,t,r){var s="object"==typeof e&&null!=e.throttleLimit?e.throttleLimit:12;f.assertArgument(s>0&&s%1==0,"invalid connection throttle limit","connection.throttleLimit",s);var l="object"==typeof e?e.throttleCallback:null,y="object"==typeof e&&"number"==typeof e.throttleSlotInterval?e.throttleSlotInterval:100;f.assertArgument(y>0&&y%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",y);var g="object"==typeof e&&!!e.errorPassThrough,m={},b=null,_={method:"GET"},w=!1,v=12e4;if("string"==typeof e)b=e;else if("object"==typeof e){if(null!=e&&null!=e.url||f.throwArgumentError("missing URL","connection.url",e),b=e.url,"number"==typeof e.timeout&&e.timeout>0&&(v=e.timeout),e.headers)for(var A in e.headers)m[A.toLowerCase()]={key:A,value:String(e.headers[A])},["if-none-match","if-modified-since"].indexOf(A.toLowerCase())>=0&&(w=!0);if(_.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==b.substring(0,6)&&!0!==e.allowInsecureAuthentication&&f.throwError("basic authentication requires a secure https url",c.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:b,user:e.user,password:"[REDACTED]"});var T=e.user+":"+e.password;m.authorization={key:"Authorization",value:"Basic "+(0,o.encode)((0,u.toUtf8Bytes)(T))}}null!=e.skipFetchSetup&&(_.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(_.fetchOptions=(0,a.shallowCopy)(e.fetchOptions))}var E=new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$","i"),j=b?b.match(E):null;if(j)try{var x={statusCode:200,statusMessage:"OK",headers:{"content-type":j[1]},body:(0,o.decode)(j[2])},k=x.body;return r&&(k=r(x.body,x)),Promise.resolve(k)}catch(e){f.throwError("processing response error",c.Logger.errors.SERVER_ERROR,{body:p(j[1],j[2]),error:e,requestBody:null,requestMethod:"GET",url:b})}t&&(_.method="POST",_.body=t,null==m["content-type"]&&(m["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==m["content-length"]&&(m["content-length"]={key:"Content-Length",value:String(t.length)}));var P={};Object.keys(m).forEach((function(e){var t=m[e];P[t.key]=t.value})),_.headers=P;var S,O=(S=null,{promise:new Promise((function(e,t){v&&(S=setTimeout((function(){null!=S&&(S=null,t(f.makeError("timeout",c.Logger.errors.TIMEOUT,{requestBody:p(_.body,P["content-type"]),requestMethod:_.method,timeout:v,url:b})))}),v))})),cancel:function(){null!=S&&(clearTimeout(S),S=null)}}),I=function(){return n(this,void 0,void 0,(function(){var e,t,n,o,a,u,m,v,A;return i(this,(function(i){switch(i.label){case 0:e=0,i.label=1;case 1:if(!(e<s))return[3,20];t=null,i.label=2;case 2:return i.trys.push([2,9,,10]),[4,(0,h.getUrl)(b,_)];case 3:return t=i.sent(),e<s?301!==t.statusCode&&302!==t.statusCode?[3,4]:(n=t.headers.location||"","GET"===_.method&&n.match(/^https:/)?(b=t.headers.location,[3,19]):[3,8]):[3,8];case 4:return 429!==t.statusCode?[3,8]:(A=!0,l?[4,l(e,b)]:[3,6]);case 5:A=i.sent(),i.label=6;case 6:return A?(0,o=t.headers["retry-after"],[4,d("string"==typeof o&&o.match(/^[1-9][0-9]*$/)?1e3*parseInt(o):y*parseInt(String(Math.random()*Math.pow(2,e))))]):[3,8];case 7:return i.sent(),[3,19];case 8:return[3,10];case 9:return a=i.sent(),null==(t=a.response)&&(O.cancel(),f.throwError("missing response",c.Logger.errors.SERVER_ERROR,{requestBody:p(_.body,P["content-type"]),requestMethod:_.method,serverError:a,url:b})),[3,10];case 10:if(u=t.body,w&&304===t.statusCode?u=null:!g&&(t.statusCode<200||t.statusCode>=300)&&(O.cancel(),f.throwError("bad response",c.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:p(u,t.headers?t.headers["content-type"]:null),requestBody:p(_.body,P["content-type"]),requestMethod:_.method,url:b})),!r)return[3,18];i.label=11;case 11:return i.trys.push([11,13,,18]),[4,r(u,t)];case 12:return m=i.sent(),O.cancel(),[2,m];case 13:return(v=i.sent()).throttleRetry&&e<s?(A=!0,l?[4,l(e,b)]:[3,15]):[3,17];case 14:A=i.sent(),i.label=15;case 15:return A?[4,d(y*parseInt(String(Math.random()*Math.pow(2,e))))]:[3,17];case 16:return i.sent(),[3,19];case 17:return O.cancel(),f.throwError("processing response error",c.Logger.errors.SERVER_ERROR,{body:p(u,t.headers?t.headers["content-type"]:null),error:v,requestBody:p(_.body,P["content-type"]),requestMethod:_.method,url:b}),[3,18];case 18:return O.cancel(),[2,u];case 19:return e++,[3,1];case 20:return[2,f.throwError("failed response",c.Logger.errors.SERVER_ERROR,{requestBody:p(_.body,P["content-type"]),requestMethod:_.method,url:b})]}}))}))}();return Promise.race([O.promise,I])}r._fetchData=y,r.fetchJson=function(e,t,r){var n=null;if(null!=t){n=(0,u.toUtf8Bytes)(t);var i="string"==typeof e?{url:e}:(0,a.shallowCopy)(e);if(i.headers)0!==Object.keys(i.headers).filter((function(e){return"content-type"===e.toLowerCase()})).length||(i.headers=(0,a.shallowCopy)(i.headers),i.headers["content-type"]="application/json");else i.headers={"content-type":"application/json"};e=i}return y(e,n,(function(e,t){var n=null;if(null!=e)try{n=JSON.parse((0,u.toUtf8String)(e))}catch(t){f.throwError("invalid JSON",c.Logger.errors.SERVER_ERROR,{body:e,error:t})}return r&&(n=r(n,t)),n}))},r.poll=function(e,t){return t||(t={}),null==(t=(0,a.shallowCopy)(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise((function(r,n){var i=null,o=!1,s=function(){return!o&&(o=!0,i&&clearTimeout(i),!0)};t.timeout&&(i=setTimeout((function(){s()&&n(new Error("timeout"))}),t.timeout));var a=t.retryLimit,u=0;!function i(){return e().then((function(e){if(e!==undefined)s()&&r(e);else if(t.oncePoll)t.oncePoll.once("poll",i);else if(t.onceBlock)t.onceBlock.once("block",i);else if(!o){if(++u>a)return void(s()&&n(new Error("retry limit reached")));var c=t.interval*parseInt(String(Math.random()*Math.pow(2,u)));c<t.floor&&(c=t.floor),c>t.ceiling&&(c=t.ceiling),setTimeout(i,c)}return null}),(function(e){s()&&n(e)}))}()}))}}}},{package:"ethers>@ethersproject/web",file:"node_modules/ethers/node_modules/@ethersproject/web/lib/index.js"}],[4395,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){for(var n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",i={},o=0;o<32;o++){var s=n.charAt(o);if(i[s]!==undefined)throw new TypeError(s+" is ambiguous");i[s]=o}function a(e){var t=e>>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function u(e){for(var t=1,r=0;r<e.length;++r){var n=e.charCodeAt(r);if(n<33||n>126)return"Invalid prefix ("+e+")";t=a(t)^n>>5}for(t=a(t),r=0;r<e.length;++r){var i=e.charCodeAt(r);t=a(t)^31&i}return t}function c(e,t){if(t=t||90,e.length<8)return e+" too short";if(e.length>t)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var o=(e=r).lastIndexOf("1");if(-1===o)return"No separator character for "+e;if(0===o)return"Missing prefix for "+e;var s=e.slice(0,o),c=e.slice(o+1);if(c.length<6)return"Data too short";var l=u(s);if("string"==typeof l)return l;for(var f=[],h=0;h<c.length;++h){var d=c.charAt(h),p=i[d];if(p===undefined)return"Unknown character "+d;l=a(l)^p,h+6>=c.length||f.push(p)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:f}}function l(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],u=0;u<e.length;++u)for(i=i<<t|e[u],o+=t;o>=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)return"Excess padding";if(i<<r-o&s)return"Non-zero padding"}return a}t.exports={decodeUnsafe:function(){var e=c.apply(null,arguments);if("object"==typeof e)return e},decode:function(e){var t=c.apply(null,arguments);if("object"==typeof t)return t;throw new Error(t)},encode:function(e,t,r){if(r=r||90,e.length+7+t.length>r)throw new TypeError("Exceeds length limit");var i=u(e=e.toLowerCase());if("string"==typeof i)throw new Error(i);for(var o=e+"1",s=0;s<t.length;++s){var c=t[s];if(c>>5)throw new Error("Non 5-bit word");i=a(i)^c,o+=n.charAt(c)}for(s=0;s<6;++s)i=a(i);for(i^=1,s=0;s<6;++s){o+=n.charAt(i>>5*(5-s)&31)}return o},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}}}},{package:"ethers>@ethersproject/providers>bech32",file:"node_modules/ethers/node_modules/bech32/index.js"}],[4396,{"./utils/index.js":4397,buffer:4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("./utils/index.js"),i=n.uint256Coder,o=(n.coderBoolean,n.coderFixedBytes,n.coderAddress,n.coderDynamicBytes,n.coderString,n.coderArray,n.paramTypePart,n.getParamCoder);function s(){}function a(e,t){if(e.length!==t.length)throw new Error("[ethjs-abi] while encoding params, types/values mismatch, Your contract requires "+e.length+" types (arguments), and you passed in "+t.length);var n=[];function s(e){return parseInt(32*Math.ceil(e/32))}e.forEach((function(e,r){var i=o(e);n.push({dynamic:i.dynamic,value:i.encode(t[r])})}));var a=0,u=0;n.forEach((function(e){e.dynamic?(a+=32,u+=s(e.value.length)):a+=s(e.value.length)}));var c=0,l=a,f=new r(a+u);return n.forEach((function(e,t){e.dynamic?(i.encode(l).copy(f,c),c+=32,e.value.copy(f,l),l+=s(e.value.length)):(e.value.copy(f,c),c+=s(e.value.length))})),"0x"+f.toString("hex")}function u(e,t,r){var a=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3];arguments.length<3&&(r=t,t=e,e=[]),r=n.hexOrBuffer(r);var u=new s,c=0;return t.forEach((function(t,n){var s=o(t);if(s.dynamic){var l=i.decode(r,c),f=s.decode(r,l.value.toNumber());c+=l.consumed}else{f=s.decode(r,c);c+=f.consumed}a&&(u[n]=f.value),e[n]&&(u[e[n]]=f.value)})),u}function c(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+new r(n.keccak256(t),"hex").slice(0,4).toString("hex")}function l(e,t){var r=a(n.getKeys(e.inputs,"type"),t).substring(2);return""+c(e)+r}function f(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+n.keccak256(t)}function h(e,t,i){var s=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3],a=e.inputs.filter((function(e){return!e.indexed})),c=u(n.getKeys(a,"name",!0),n.getKeys(a,"type"),n.hexOrBuffer(t),s),l=e.anonymous?0:1;return e.inputs.filter((function(e){return e.indexed})).map((function(e,t){var n=new r(i[t+l].slice(2),"hex"),s=o(e.type);c[e.name]=s.decode(n,0).value})),c._eventName=e.name,c}function d(e,t){var r=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];if(e&&t.topics[0]===f(e))return h(e,t.data,t.topics,r)}t.exports={encodeParams:a,decodeParams:u,encodeMethod:l,decodeMethod:function(e,t){return u(n.getKeys(e.outputs,"name",!0),n.getKeys(e.outputs,"type"),n.hexOrBuffer(t))},encodeEvent:function(e,t){return l(e,t)},decodeEvent:h,decodeLogItem:d,logDecoder:function(e){var t=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],r={};return e.filter((function(e){return"event"===e.type})).map((function(e){r[f(e)]=e})),function(e){return e.map((function(e){return d(r[e.topics[0]],e,t)})).filter((function(e){return e}))}},eventSignature:f,encodeSignature:c}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"eth-method-registry>@metamask/ethjs-contract>ethjs-abi",file:"node_modules/ethjs-abi/lib/index.js"}],[4397,{"bn.js":4026,buffer:4074,"js-sha3":4685,"number-to-bn":4961},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("bn.js"),i=e("number-to-bn"),o=e("js-sha3").keccak_256;function s(e){for(var t=e,r=t[0];t.length>0&&"0"===r.toString();)r=(t=t.slice(1))[0];return t}function a(e){var t=e.toString(16);return t.length%2&&(t="0"+t),s(new r(t,"hex"))}function u(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}function c(e,t){var n=e;if(!r.isBuffer(n)){if(!u(n)){var i=new Error(t?"[ethjs-abi] invalid "+t:"[ethjs-abi] invalid hex or buffer, must be a prefixed alphanumeric even length hex string");throw i.reason="[ethjs-abi] invalid hex string, hex must be prefixed and alphanumeric (e.g. 0x023..)",i.value=n,i}(n=n.substring(2)).length%2&&(n="0"+n),n=new r(n,"hex")}return n}function l(e,t){return{encode:function(n){var o=n;return"object"==typeof o&&o.toString&&(o.toTwos||o.dividedToIntegerBy)&&(o=o.toString(10).split(".")[0]),"string"!=typeof o&&"number"!=typeof o||(o=String(o).split(".")[0]),o=(o=i(o)).toTwos(8*e).maskn(8*e),t&&(o=o.fromTwos(8*e).toTwos(256)),o.toArrayLike(r,"be",32)},decode:function(r,i){var o=32-e,s=new n(r.slice(i+o,i+32));return s=t?s.fromTwos(8*e):s.maskn(8*e),{consumed:32,value:new n(s.toString(10))}}}}var f=l(32,!1),h={encode:function(e){return f.encode(e?1:0)},decode:function(e,t){var r=f.decode(e,t);return{consumed:r.consumed,value:!r.value.isZero()}}};function d(e){return{encode:function(e){var t=e;if(32===(t=c(t)).length)return t;var n=new r(32);return n.fill(0),t.copy(n),n},decode:function(t,r){if(0!==t.length&&t.length<r+32)throw new Error("[ethjs-abi] while decoding fixed bytes, invalid bytes data length: "+e);return{consumed:32,value:"0x"+t.slice(r,r+e).toString("hex")}}}}var p={encode:function(e){var t=e,n=new r(32);if(!u(t,20))throw new Error("[ethjs-abi] while encoding address, invalid address value, not alphanumeric 20 byte hex string");return t=c(t),n.fill(0),t.copy(n,12),n},decode:function(e,t){if(0===e.length)return{consumed:32,value:"0x"};if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding address data, invalid address data, invalid byte length "+e.length);return{consumed:32,value:"0x"+e.slice(t+12,t+32).toString("hex")}}};function y(e){var t=parseInt(32*Math.ceil(e.length/32)),n=new r(t-e.length);return n.fill(0),r.concat([f.encode(e.length),e,n])}function g(e,t){if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32));var r=f.decode(e,t).value;if(r=r.toNumber(),0!==e.length&&e.length<t+32+r)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32+r));return{consumed:parseInt(32+32*Math.ceil(r/32),10),value:e.slice(t+32,t+32+r)}}var m={encode:function(e){return y(c(e))},decode:function(e,t){var r=g(e,t);return r.value="0x"+r.value.toString("hex"),r},dynamic:!0},b={encode:function(e){return y(new r(e,"utf8"))},decode:function(e,t){var r=g(e,t);return r.value=r.value.toString("utf8"),r},dynamic:!0};function _(e,t){return{encode:function(n){var i=new r(0),o=t;if(!Array.isArray(n))throw new Error("[ethjs-abi] while encoding array, invalid array data, not type Object (Array)");if(-1===o&&(o=n.length,i=f.encode(o)),o!==n.length)throw new Error("[ethjs-abi] while encoding array, size mismatch array length "+o+" does not equal "+n.length);return n.forEach((function(t){i=r.concat([i,e.encode(t)])})),i},decode:function(r,n){var i,o=t,s=n,a=0;-1===o&&(o=(i=f.decode(r,s)).value.toNumber(),a+=i.consumed,s+=i.consumed);for(var u=[],c=0;c<o;c++){var l=e.decode(r,s);a+=l.consumed,s+=l.consumed,u.push(l.value)}return{consumed:a,value:u}},dynamic:-1===t}}var w=new RegExp(/^((u?int|bytes)([0-9]*)|(address|bool|string)|(\[([0-9]*)\]))/);t.exports={BN:n,bnToBuffer:a,isHexString:u,hexOrBuffer:c,hexlify:function(e){return"number"==typeof e?"0x"+a(new n(e)).toString("hex"):e.mod||e.modulo?"0x"+a(e).toString("hex"):"0x"+c(e).toString("hex")},stripZeros:s,keccak256:o,getKeys:function(e,t,r){var n=[];if(!Array.isArray(e))throw new Error("[ethjs-abi] while getting keys, invalid params value "+JSON.stringify(e));for(var i=0;i<e.length;i++){var o=e[i][t];if(r&&!o)o="";else if("string"!=typeof o)throw new Error("[ethjs-abi] while getKeys found invalid ABI data structure, type value not string");n.push(o)}return n},numberToBN:i,coderNumber:l,uint256Coder:f,coderBoolean:h,coderFixedBytes:d,coderAddress:p,coderDynamicBytes:m,coderString:b,coderArray:_,paramTypePart:w,getParamCoder:function(e){for(var t=e,r=null,n="[ethjs-abi] while getting param coder (getParamCoder) type value "+JSON.stringify(t)+" is either invalid or unsupported by ethjs-abi.";t;){var i=t.match(w);if(!i)throw new Error(n);t=t.substring(i[0].length);var o=i[2]||i[4]||i[5];switch(o){case"int":case"uint":if(r)throw new Error(n);var s=parseInt(i[3]||256);if(0===s||s>256||s%8!=0)throw new Error("[ethjs-abi] while getting param coder for type "+t+", invalid "+o+"<N> width: "+t);r=l(s/8,"int"===o);break;case"bool":if(r)throw new Error(n);r=h;break;case"string":if(r)throw new Error(n);r=b;break;case"bytes":if(r)throw new Error(n);if(i[3]){var a=parseInt(i[3]);if(0===a||a>32)throw new Error("[ethjs-abi] while getting param coder for prefix bytes, invalid type "+t+", size "+a+" should be 0 or greater than 32");r=d(a)}else r=m;break;case"address":if(r)throw new Error(n);r=p;break;case"[]":if(!r||r.dynamic)throw new Error(n);r=_(r,-1);break;default:if(!r||r.dynamic)throw new Error(n);r=_(r,parseInt(i[6]))}}if(!r)throw new Error(n);return r}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"eth-method-registry>@metamask/ethjs-contract>ethjs-abi",file:"node_modules/ethjs-abi/lib/utils/index.js"}],[4398,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={methods:{web3_clientVersion:[[],"S"],web3_sha3:[["S"],"D",1],net_version:[[],"S"],net_peerCount:[[],"Q"],net_listening:[[],"B"],personal_sign:[["D","D20","S"],"D",2],personal_ecRecover:[["D","D"],"D20",2],eth_protocolVersion:[[],"S"],eth_syncing:[[],"B|EthSyncing"],eth_coinbase:[[],"D20"],eth_mining:[[],"B"],eth_hashrate:[[],"Q"],eth_gasPrice:[[],"Q"],eth_accounts:[[],["D20"]],eth_blockNumber:[[],"Q"],eth_getBalance:[["D20","Q|T"],"Q",1,2],eth_getStorageAt:[["D20","Q","Q|T"],"D",2,2],eth_getTransactionCount:[["D20","Q|T"],"Q",1,2],eth_getBlockTransactionCountByHash:[["D32"],"Q",1],eth_getBlockTransactionCountByNumber:[["Q|T"],"Q",1],eth_getUncleCountByBlockHash:[["D32"],"Q",1],eth_getUncleCountByBlockNumber:[["Q"],"Q",1],eth_getCode:[["D20","Q|T"],"D",1,2],eth_sign:[["D20","D"],"D",2],eth_signTypedData:[["Array|DATA","D20"],"D",1],eth_sendTransaction:[["SendTransaction"],"D",1],eth_sendRawTransaction:[["D"],"D32",1],eth_call:[["CallTransaction","Q|T"],"D",1,2],eth_estimateGas:[["EstimateTransaction","Q|T"],"Q",1],eth_getBlockByHash:[["D32","B"],"Block",2],eth_getBlockByNumber:[["Q|T","B"],"Block",2],eth_getTransactionByHash:[["D32"],"Transaction",1],eth_getTransactionByBlockHashAndIndex:[["D32","Q"],"Transaction",2],eth_getTransactionByBlockNumberAndIndex:[["Q|T","Q"],"Transaction",2],eth_getTransactionReceipt:[["D32"],"Receipt",1],eth_getUncleByBlockHashAndIndex:[["D32","Q"],"Block",1],eth_getUncleByBlockNumberAndIndex:[["Q|T","Q"],"Block",2],eth_getCompilers:[[],["S"]],eth_compileLLL:[["S"],"D",1],eth_compileSolidity:[["S"],"D",1],eth_compileSerpent:[["S"],"D",1],eth_newFilter:[["Filter"],"Q",1],eth_newBlockFilter:[[],"Q"],eth_newPendingTransactionFilter:[[],"Q"],eth_uninstallFilter:[["QP"],"B",1],eth_getFilterChanges:[["QP"],["FilterChange"],1],eth_getFilterLogs:[["QP"],["FilterChange"],1],eth_getLogs:[["Filter"],["FilterChange"],1],eth_getWork:[[],["D"]],eth_submitWork:[["D","D32","D32"],"B",3],eth_submitHashrate:[["D","D"],"B",2],db_putString:[["S","S","S"],"B",2],db_getString:[["S","S"],"S",2],db_putHex:[["S","S","D"],"B",2],db_getHex:[["S","S"],"D",2],shh_post:[["SHHPost"],"B",1],shh_version:[[],"S"],shh_newIdentity:[[],"D"],shh_hasIdentity:[["D"],"B"],shh_newGroup:[[],"D"],shh_addToGroup:[["D"],"B",1],shh_newFilter:[["SHHFilter"],"Q",1],shh_uninstallFilter:[["Q"],"B",1],shh_getFilterChanges:[["Q"],["SHHFilterChange"],1],shh_getMessages:[["Q"],["SHHFilterChange"],1]},tags:["latest","earliest","pending"],objects:{EthSyncing:{__required:[],startingBlock:"Q",currentBlock:"Q",highestBlock:"Q"},SendTransaction:{__required:["from","data"],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},EstimateTransaction:{__required:[],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},CallTransaction:{__required:["to"],from:"D20",to:"D20",gas:"Q",gasPrice:"Q",value:"Q",data:"D",nonce:"Q"},Block:{__required:[],number:"Q",hash:"D32",parentHash:"D32",nonce:"D",sha3Uncles:"D",logsBloom:"D",transactionsRoot:"D",stateRoot:"D",receiptsRoot:"D",miner:"D",difficulty:"Q",totalDifficulty:"Q",extraData:"D",size:"Q",gasLimit:"Q",gasUsed:"Q",timestamp:"Q",transactions:["DATA|Transaction"],uncles:["D"]},Transaction:{__required:[],hash:"D32",nonce:"Q",blockHash:"D32",blockNumber:"Q",transactionIndex:"Q",from:"D20",to:"D20",value:"Q",gasPrice:"Q",gas:"Q",input:"D"},Receipt:{__required:[],transactionHash:"D32",transactionIndex:"Q",blockHash:"D32",blockNumber:"Q",cumulativeGasUsed:"Q",gasUsed:"Q",contractAddress:"D20",logs:["FilterChange"]},Filter:{__required:[],fromBlock:"Q|T",toBlock:"Q|T",address:"D20",topics:["D"]},FilterChange:{__required:[],removed:"B",logIndex:"Q",transactionIndex:"Q",transactionHash:"D32",blockHash:"D32",blockNumber:"Q",address:"D20",data:"Array|DATA",topics:["D"]},SHHPost:{__required:["topics","payload","priority","ttl"],from:"D",to:"D",topics:["D"],payload:"D",priority:"Q",ttl:"Q"},SHHFilter:{__required:["topics"],to:"D",topics:["D"]},SHHFilterChange:{__required:[],hash:"D",from:"D",to:"D",expiry:"Q",ttl:"Q",sent:"Q",topics:["D"],payload:"D",workProved:"Q"},SHHMessage:{__required:[],hash:"D",from:"D",to:"D",expiry:"Q",ttl:"Q",sent:"Q",topics:["D"],payload:"D",workProved:"Q"}}}}}},{package:"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema",file:"node_modules/ethjs-schema/src/schema.json"}],[4399,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,r)}(e,i,{once:!0})}))},a.EventEmitter=a,a.prototype._events=undefined,a.prototype._eventsCount=0,a.prototype._maxListeners=undefined;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return e._maxListeners===undefined?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var i,o,s,a;if(c(r),(o=e._events)===undefined?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==undefined&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),s===undefined)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=l(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:undefined,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(n===undefined)return[];var i=n[t];return i===undefined?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):g(i,i.length)}function y(e){var t=this._events;if(t!==undefined){var r=t[e];if("function"==typeof r)return 1;if(r!==undefined)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){n.once&&e.removeEventListener(t,i),r(o)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),a.init=function(){this._events!==undefined&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||undefined},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return l(this)},a.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(i!==undefined)n=n&&i.error===undefined;else if(!n)return!1;if(n){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(u===undefined)return!1;if("function"==typeof u)o(u,this,t);else{var c=u.length,l=g(u,c);for(r=0;r<c;++r)o(l[r],this,t)}return!0},a.prototype.addListener=function(e,t){return f(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return f(this,e,t,!0)},a.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,n,i,o,s;if(c(t),(n=this._events)===undefined)return this;if((r=n[e])===undefined)return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),n.removeListener!==undefined&&this.emit("removeListener",e,s||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if((r=this._events)===undefined)return this;if(r.removeListener===undefined)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):r[e]!==undefined&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t!==undefined)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},a.prototype.listenerCount=y,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}}}},{package:"webpack>events",file:"node_modules/events/events.js"}],[440,{"./baseTransaction.js":430,"./capabilities/eip1559.js":431,"./capabilities/eip2718.js":432,"./capabilities/eip7702.js":434,"./capabilities/legacy.js":435,"./types.js":445,"./util.js":446,"@ethereumjs/rlp":447,"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EOACodeEIP7702Transaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("./baseTransaction.js"),s=e("./capabilities/eip1559.js"),a=e("./capabilities/eip2718.js"),u=e("./capabilities/eip7702.js"),c=e("./capabilities/legacy.js"),l=e("./types.js"),f=e("./util.js");class h extends o.BaseTransaction{constructor(e,t={}){super({...e,type:l.TransactionType.EOACodeEIP7702},t);const{chainId:r,accessList:n,authorizationList:s,maxFeePerGas:u,maxPriorityFeePerGas:h}=e;if(this.common=this._getCommon(t.common,r),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(7702))throw new Error("EIP-7702 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([1559,2718,2930,7702]);const d=f.AccessLists.getAccessListData(n??[]);this.accessList=d.accessList,this.AccessListJSON=d.AccessListJSON,f.AccessLists.verifyAccessList(this.accessList);const p=f.AuthorizationLists.getAuthorizationListData(s??[]);if(this.authorizationList=p.authorizationList,this.AuthorizationListJSON=p.AuthorizationListJSON,f.AuthorizationLists.verifyAuthorizationList(this.authorizationList),this.maxFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(u)),this.maxPriorityFeePerGas=(0,i.bytesToBigInt)((0,i.toBytes)(h)),this._validateCannotExceedMaxInteger({maxFeePerGas:this.maxFeePerGas,maxPriorityFeePerGas:this.maxPriorityFeePerGas}),o.BaseTransaction._validateNotArray(e),this.gasLimit*this.maxFeePerGas>i.MAX_INTEGER){const e=this._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}if(this.maxFeePerGas<this.maxPriorityFeePerGas){const e=this._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)");throw new Error(e)}a.validateYParity(this),c.validateHighS(this);(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new h(e,t)}static fromSerializedTx(e,t={}){if(!1===(0,i.equalsBytes)(e.subarray(0,1),(0,f.txTypeBytes)(l.TransactionType.EOACodeEIP7702)))throw new Error(`Invalid serialized tx input: not an EIP-7702 transaction (wrong tx type, expected: ${l.TransactionType.EOACodeEIP7702}, received: ${(0,i.bytesToHex)(e.subarray(0,1))}`);const r=n.RLP.decode(e.subarray(1));if(!Array.isArray(r))throw new Error("Invalid serialized tx input: must be array");return h.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(10!==e.length&&13!==e.length)throw new Error("Invalid EIP-7702 transaction. Only expecting 10 values (for unsigned tx) or 13 values (for signed tx).");const[r,n,o,s,a,u,c,l,f,d,p,y,g]=e;return this._validateNotArray({chainId:r,v:p}),(0,i.validateNoLeadingZeroes)({nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:s,gasLimit:a,value:c,v:p,r:y,s:g}),new h({chainId:(0,i.bytesToBigInt)(r),nonce:n,maxPriorityFeePerGas:o,maxFeePerGas:s,gasLimit:a,to:u,value:c,data:l,accessList:f??[],authorizationList:d??[],v:p!==undefined?(0,i.bytesToBigInt)(p):undefined,r:y,s:g},t)}getDataFee(){return u.getDataFee(this)}getEffectivePriorityFee(e){return s.getEffectivePriorityFee(this,e)}getUpfrontCost(e=i.BIGINT_0){return s.getUpfrontCost(this,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.chainId),(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.maxPriorityFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.maxFeePerGas),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.accessList,this.authorizationList,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return a.serialize(this)}getMessageToSign(){return a.serialize(this,this.raw().slice(0,10))}getHashedMessageToSign(){return a.getHashedMessageToSign(this)}hash(){return c.hash(this)}getMessageToVerifySignature(){return this.getHashedMessageToSign()}getSenderPublicKey(){return c.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r);const o={...this.txOptions,common:this.common};return h.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,authorizationList:this.authorizationList,v:n?e-i.BIGINT_27:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){const e=f.AccessLists.getAccessListJSON(this.accessList);return{...super.toJSON(),chainId:(0,i.bigIntToHex)(this.chainId),maxPriorityFeePerGas:(0,i.bigIntToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,i.bigIntToHex)(this.maxFeePerGas),accessList:e,authorizationList:this.AuthorizationListJSON}}errorStr(){let e=this._getSharedErrorPostfix();return e+=` maxFeePerGas=${this.maxFeePerGas} maxPriorityFeePerGas=${this.maxPriorityFeePerGas}`,e}_errorMsg(e){return c.errorMsg(this,e)}}r.EOACodeEIP7702Transaction=h}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/eip7702Transaction.js"}],[4400,{"md5.js":4875,"safe-buffer":5514},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=e("md5.js");t.exports=function(e,t,r,o){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=r/8,a=n.alloc(s),u=n.alloc(o||0),c=n.alloc(0);s>0||o>0;){var l=new i;l.update(c),l.update(e),t&&l.update(t),c=l.digest();var f=0;if(s>0){var h=a.length-s;f=Math.min(s,c.length),c.copy(a,h,0,f),s-=f}if(f<c.length&&o>0){var d=u.length-o,p=Math.min(o,c.length-f);c.copy(u,d,f,f+p),o-=p}}return c.fill(0),{key:a,iv:u}}}}},{package:"crypto-browserify>browserify-cipher>evp_bytestokey",file:"node_modules/evp_bytestokey/index.js"}],[4402,{buffer:4074,"readable-stream":4421},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});const n=e("readable-stream");class i extends n.Duplex{constructor(e){super({objectMode:!0}),this._port=e,this._port.onMessage.addListener((e=>this._onMessage(e))),this._port.onDisconnect.addListener((()=>this._onDisconnect())),this._log=()=>null}_onMessage(e){if(t.isBuffer(e)){const r=t.from(e);this._log(r,!1),this.push(r)}else this._log(e,!1),this.push(e)}_onDisconnect(){this.destroy()}_read(){return undefined}_write(e,r,n){try{if(t.isBuffer(e)){const t=e.toJSON();t._isBuffer=!0,this._log(t,!0),this._port.postMessage(t)}else this._log(e,!0),this._port.postMessage(e)}catch(e){return n(new Error("PortDuplexStream - disconnected"))}return n()}_setLogger(e){this._log=e}}r.default=i}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"extension-port-stream",file:"node_modules/extension-port-stream/dist/index.js"}],[4403,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"./end-of-stream":4409,"./utils":4418},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolDispose:n}=e("../../ours/primordials"),{AbortError:i,codes:o}=e("../../ours/errors"),{isNodeStream:s,isWebStream:a,kControllerErrorFunction:u}=e("./utils"),c=e("./end-of-stream"),{ERR_INVALID_ARG_TYPE:l}=o;let f;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new l(t,"AbortSignal",e)})(e,"signal"),!s(r)&&!a(r))throw new l("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,r){if("object"!=typeof t||!("aborted"in t))return r;const o=s(r)?()=>{r.destroy(new i(undefined,{cause:t.reason}))}:()=>{r[u](new i(undefined,{cause:t.reason}))};if(t.aborted)o();else{f=f||e("../../ours/util").addAbortListener;const i=f(t,o);c(r,i[n])}return r}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"}],[4404,{"../../ours/primordials":4423,"../../ours/util":4424,buffer:4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:s}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{inspect:u}=e("../../ours/util");t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)o(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const o=r.data;if(!(e>o.length)){e===o.length?(t+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=a.allocUnsafe(e),r=e;let n=this.head,i=0;do{const a=n.data;if(!(e>a.length)){e===a.length?(o(t,a,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(t,new s(a.buffer,a.byteOffset,e),r-e),this.head=n,n.data=a.slice(e));break}o(t,a,r-e),e-=a.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js"}],[4405,{"../../ours/errors":4422,"./destroy":4406,"./duplex":4407,"./end-of-stream":4409,"./pipeline":4414,"./utils":4418},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{pipeline:n}=e("./pipeline"),i=e("./duplex"),{destroyer:o}=e("./destroy"),{isNodeStream:s,isReadable:a,isWritable:u,isWebStream:c,isTransformStream:l,isWritableStream:f,isReadableStream:h}=e("./utils"),{AbortError:d,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:y}}=e("../../ours/errors"),g=e("./end-of-stream");t.exports=function(...e){if(0===e.length)throw new y("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(s(e[r])||c(e[r])){if(r<e.length-1&&!(a(e[r])||h(e[r])||l(e[r])))throw new p(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(u(e[r])||f(e[r])||l(e[r])))throw new p(`streams[${r}]`,t[r],"must be writable")}let r,m,b,_,w;const v=e[0],A=n(e,(function(e){const t=_;_=null,t?t(e):e?w.destroy(e):E||T||w.destroy()})),T=!!(u(v)||f(v)||l(v)),E=!!(a(A)||h(A)||l(A));if(w=new i({writableObjectMode:!(null===v||v===undefined||!v.writableObjectMode),readableObjectMode:!(null===A||A===undefined||!A.readableObjectMode),writable:T,readable:E}),T){if(s(v))w._write=function(e,t,n){v.write(e,t)?n():r=n},w._final=function(e){v.end(),m=e},v.on("drain",(function(){if(r){const e=r;r=null,e()}}));else if(c(v)){const e=(l(v)?v.writable:v).getWriter();w._write=async function(t,r,n){try{await e.ready,e.write(t).catch((()=>{})),n()}catch(e){n(e)}},w._final=async function(t){try{await e.ready,e.close().catch((()=>{})),m=t}catch(e){t(e)}}}const e=l(A)?A.readable:A;g(e,(()=>{if(m){const e=m;m=null,e()}}))}if(E)if(s(A))A.on("readable",(function(){if(b){const e=b;b=null,e()}})),A.on("end",(function(){w.push(null)})),w._read=function(){for(;;){const e=A.read();if(null===e)return void(b=w._read);if(!w.push(e))return}};else if(c(A)){const e=(l(A)?A.readable:A).getReader();w._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!w.push(t))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(e,t){e||null===_||(e=new d),b=null,r=null,m=null,null===_?t(e):(_=t,s(A)&&o(A,e))},w}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/compose.js"}],[4406,{"../../ours/errors":4422,"../../ours/primordials":4423,"./utils":4418,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:s}=e("../../ours/errors"),{Symbol:a}=e("../../ours/primordials"),{kIsDestroyed:u,isDestroyed:c,isFinished:l,isServerRequest:f}=e("./utils"),h=a("kDestroy"),d=a("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function y(e,t,r){let i=!1;function o(t){if(i)return;i=!0;const o=e._readableState,s=e._writableState;p(t,s,o),s&&(s.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(g,e,t):n.nextTick(m,e)}try{e._destroy(t||null,o)}catch(t){o(t)}}function g(e,t){b(e,t),m(e)}function m(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!==r&&r!==undefined&&r.emitClose||null!==t&&t!==undefined&&t.emitClose)&&e.emit("close")}function b(e,t){const r=e._readableState,n=e._writableState;null!==n&&n!==undefined&&n.errorEmitted||null!==r&&r!==undefined&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function _(e,t,r){const i=e._readableState,o=e._writableState;if(null!==o&&o!==undefined&&o.destroyed||null!==i&&i!==undefined&&i.destroyed)return this;null!==i&&i!==undefined&&i.autoDestroy||null!==o&&o!==undefined&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(b,e,t):b(e,t))}function w(e){let t=!1;function r(r){if(t)return void _(e,null!==r&&r!==undefined?r:new o);t=!0;const i=e._readableState,s=e._writableState,a=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),a.destroyed?e.emit(h,r):r?_(e,r,!0):n.nextTick(v,e)}try{e._construct((e=>{n.nextTick(r,e)}))}catch(e){n.nextTick(r,e)}}function v(e){e.emit(d)}function A(e){return(null===e||e===undefined?undefined:e.setHeader)&&"function"==typeof e.abort}function T(e){e.emit("close")}function E(e,t){e.emit("error",t),n.nextTick(T,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(d,t),e.listenerCount(d)>1||n.nextTick(w,e)},destroyer:function(e,t){e&&!c(e)&&(t||l(e)||(t=new s),f(e)?(e.socket=null,e.destroy(t)):A(e)?e.abort():A(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(E,e,t):n.nextTick(T,e),e.destroyed||(e[u]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,o=n||r;return null!==n&&n!==undefined&&n.destroyed||null!==r&&r!==undefined&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?y(this,e,t):this.once(h,(function(r){y(this,i(r,e),t)})),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:_}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[4407,{"../../ours/primordials":4423,"./duplexify":4408,"./readable":4415,"./writable":4419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:s}=e("../../ours/primordials");t.exports=c;const a=e("./readable"),u=e("./writable");s(c.prototype,a.prototype),s(c,a);{const e=o(u.prototype);for(let t=0;t<e.length;t++){const r=e[t];c.prototype[r]||(c.prototype[r]=u.prototype[r])}}function c(e){if(!(this instanceof c))return new c(e);a.call(this,e),u.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let l,f;function h(){return l===undefined&&(l={}),l}n(c.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState!==undefined&&this._writableState!==undefined&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),c.fromWeb=function(e,t){return h().newStreamDuplexFromReadableWritablePair(e,t)},c.toWeb=function(e){return h().newReadableWritablePairFromDuplex(e)},c.from=function(t){return f||(f=e("./duplexify")),f(t,"body")}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplex.js"}],[4408,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"./destroy":4406,"./duplex":4407,"./end-of-stream":4409,"./from":4410,"./readable":4415,"./utils":4418,"./writable":4419,"abort-controller":3824,buffer:4074,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),i=e("buffer"),{isReadable:o,isWritable:s,isIterable:a,isNodeStream:u,isReadableNodeStream:c,isWritableNodeStream:l,isDuplexNodeStream:f,isReadableStream:h,isWritableStream:d}=e("./utils"),p=e("./end-of-stream"),{AbortError:y,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:m}}=e("../../ours/errors"),{destroyer:b}=e("./destroy"),_=e("./duplex"),w=e("./readable"),v=e("./writable"),{createDeferredPromise:A}=e("../../ours/util"),T=e("./from"),E=globalThis.Blob||i.Blob,j=void 0!==E?function(e){return e instanceof E}:function(e){return!1},x=globalThis.AbortController||e("abort-controller").AbortController,{FunctionPrototypeCall:k}=e("../../ours/primordials");class P extends _{constructor(e){super(e),!1===(null===e||e===undefined?undefined:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null===e||e===undefined?undefined:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function S(e){const t=e.readable&&"function"!=typeof e.readable.read?w.wrap(e.readable):e.readable,r=e.writable;let n,i,a,u,c,l=!!o(t),f=!!s(r);function h(e){const t=u;u=null,t?t(e):e&&c.destroy(e)}return c=new P({readableObjectMode:!(null===t||t===undefined||!t.readableObjectMode),writableObjectMode:!(null===r||r===undefined||!r.writableObjectMode),readable:l,writable:f}),f&&(p(r,(e=>{f=!1,e&&b(t,e),h(e)})),c._write=function(e,t,i){r.write(e,t)?i():n=i},c._final=function(e){r.end(),i=e},r.on("drain",(function(){if(n){const e=n;n=null,e()}})),r.on("finish",(function(){if(i){const e=i;i=null,e()}}))),l&&(p(t,(e=>{l=!1,e&&b(t,e),h(e)})),t.on("readable",(function(){if(a){const e=a;a=null,e()}})),t.on("end",(function(){c.push(null)})),c._read=function(){for(;;){const e=t.read();if(null===e)return void(a=c._read);if(!c.push(e))return}}),c._destroy=function(e,o){e||null===u||(e=new y),a=null,n=null,i=null,null===u?o(e):(u=o,b(r,e),b(t,e))},c}t.exports=function e(t,r){if(f(t))return t;if(c(t))return S({readable:t});if(l(t))return S({writable:t});if(u(t))return S({writable:!1,readable:!1});if(h(t))return S({readable:w.fromWeb(t)});if(d(t))return S({writable:v.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:o,destroy:s}=function(e){let{promise:t,resolve:r}=A();const i=new x,o=i.signal,s=e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:s,cb:a}=await e;if(n.nextTick(a),s)return;if(o.aborted)throw new y(undefined,{cause:o.reason});({promise:t,resolve:r}=A()),yield i}}(),{signal:o});return{value:s,write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(a(e))return T(P,e,{objectMode:!0,write:i,final:o,destroy:s});const u=null===e||e===undefined?undefined:e.then;if("function"==typeof u){let t;const r=k(u,e,(e=>{if(null!=e)throw new m("nully","body",e)}),(e=>{b(t,e)}));return t=new P({objectMode:!0,readable:!1,write:i,final(e){o((async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}}))},destroy:s})}throw new m("Iterable, AsyncIterable or AsyncFunction",r,e)}if(j(t))return e(t.arrayBuffer());if(a(t))return T(P,t,{objectMode:!0,writable:!1});if(h(null===t||t===undefined?undefined:t.readable)&&d(null===t||t===undefined?undefined:t.writable))return P.fromWeb(t);if("object"==typeof(null===t||t===undefined?undefined:t.writable)||"object"==typeof(null===t||t===undefined?undefined:t.readable)){return S({readable:null!==t&&t!==undefined&&t.readable?c(null===t||t===undefined?undefined:t.readable)?null===t||t===undefined?undefined:t.readable:e(t.readable):undefined,writable:null!==t&&t!==undefined&&t.writable?l(null===t||t===undefined?undefined:t.writable)?null===t||t===undefined?undefined:t.writable:e(t.writable):undefined})}const i=null===t||t===undefined?undefined:t.then;if("function"==typeof i){let e;return k(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{b(e,t)})),e=new P({objectMode:!0,writable:!1,read(){}})}throw new g(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/duplexify.js"}],[4409,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"../validators":4420,"./utils":4418,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{AbortError:i,codes:o}=e("../../ours/errors"),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_PREMATURE_CLOSE:a}=o,{kEmptyObject:u,once:c}=e("../../ours/util"),{validateAbortSignal:l,validateFunction:f,validateObject:h,validateBoolean:d}=e("../validators"),{Promise:p,PromisePrototypeThen:y,SymbolDispose:g}=e("../../ours/primordials"),{isClosed:m,isReadable:b,isReadableNodeStream:_,isReadableStream:w,isReadableFinished:v,isReadableErrored:A,isWritable:T,isWritableNodeStream:E,isWritableStream:j,isWritableFinished:x,isWritableErrored:k,isNodeStream:P,willEmitClose:S,kIsClosedPromise:O}=e("./utils");let I;const N=()=>{};function R(t,r,o){var d,p;if(2===arguments.length?(o=r,r=u):null==r?r=u:h(r,"options"),f(o,"callback"),l(r.signal,"options.signal"),o=c(o),w(t)||j(t))return function(t,r,o){let s=!1,a=N;if(r.signal)if(a=()=>{s=!0,o.call(t,new i(undefined,{cause:r.signal.reason}))},r.signal.aborted)n.nextTick(a);else{I=I||e("../../ours/util").addAbortListener;const n=I(r.signal,a),i=o;o=c(((...e)=>{n[g](),i.apply(t,e)}))}const u=(...e)=>{s||n.nextTick((()=>o.apply(t,e)))};return y(t[O].promise,u,u),N}(t,r,o);if(!P(t))throw new s("stream",["ReadableStream","WritableStream","Stream"],t);const R=null!==(d=r.readable)&&d!==undefined?d:_(t),U=null!==(p=r.writable)&&p!==undefined?p:E(t),B=t._writableState,C=t._readableState,L=()=>{t.writable||M()};let F=S(t)&&_(t)===R&&E(t)===U,D=x(t,!1);const M=()=>{D=!0,t.destroyed&&(F=!1),(!F||t.readable&&!R)&&(R&&!z||o.call(t))};let z=v(t,!1);const G=()=>{z=!0,t.destroyed&&(F=!1),(!F||t.writable&&!U)&&(U&&!D||o.call(t))},H=e=>{o.call(t,e)};let V=m(t);const K=()=>{V=!0;const e=k(t)||A(t);return e&&"boolean"!=typeof e?o.call(t,e):R&&!z&&_(t,!0)&&!v(t,!1)?o.call(t,new a):!U||D||x(t,!1)?void o.call(t):o.call(t,new a)},$=()=>{V=!0;const e=k(t)||A(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},W=()=>{t.req.on("finish",M)};!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?U&&!B&&(t.on("end",L),t.on("close",L)):(t.on("complete",M),F||t.on("abort",K),t.req?W():t.on("request",W)),F||"boolean"!=typeof t.aborted||t.on("aborted",K),t.on("end",G),t.on("finish",M),!1!==r.error&&t.on("error",H),t.on("close",K),V?n.nextTick(K):null!==B&&B!==undefined&&B.errorEmitted||null!==C&&C!==undefined&&C.errorEmitted?F||n.nextTick($):(R||F&&!b(t)||!D&&!1!==T(t))&&(U||F&&!T(t)||!z&&!1!==b(t))?C&&t.req&&t.aborted&&n.nextTick($):n.nextTick($);const q=()=>{o=N,t.removeListener("aborted",K),t.removeListener("complete",M),t.removeListener("abort",K),t.removeListener("request",W),t.req&&t.req.removeListener("finish",M),t.removeListener("end",L),t.removeListener("close",L),t.removeListener("finish",M),t.removeListener("end",G),t.removeListener("error",H),t.removeListener("close",K)};if(r.signal&&!V){const s=()=>{const e=o;q(),e.call(t,new i(undefined,{cause:r.signal.reason}))};if(r.signal.aborted)n.nextTick(s);else{I=I||e("../../ours/util").addAbortListener;const n=I(r.signal,s),i=o;o=c(((...e)=>{n[g](),i.apply(t,e)}))}}return q}t.exports=R,t.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=u),null!==(r=t)&&r!==undefined&&r.cleanup&&(d(t.cleanup,"cleanup"),n=t.cleanup),new p(((r,i)=>{const o=R(e,t,(e=>{n&&o(),e?i(e):r()}))}))}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"}],[441,{"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeTxParams=void 0;const n=e("@ethereumjs/util");r.normalizeTxParams=e=>{const t=Object.assign({},e);return t.gasLimit=(0,n.toType)(t.gasLimit??t.gas,n.TypeOutput.BigInt),t.data=t.data===undefined?t.input:t.data,t.gasPrice=t.gasPrice!==undefined?BigInt(t.gasPrice):undefined,t.value=t.value!==undefined?BigInt(t.value):undefined,t.to=null!==t.to&&t.to!==undefined?(0,n.setLengthLeft)((0,n.toBytes)(t.to),20):null,t.v="0x0"===t.v?"0x":t.v,t.r="0x0"===t.r?"0x":t.r,t.s="0x0"===t.s?"0x":t.s,"0x"===t.v&&"0x"===t.r&&"0x"===t.s||(t.v=(0,n.toType)(t.v,n.TypeOutput.BigInt)),t}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/fromRpc.js"}],[4410,{"../../ours/errors":4422,"../../ours/primordials":4423,buffer:4074,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:s}=e("../../ours/primordials"),{Buffer:a}=e("buffer"),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:c}=e("../../ours/errors").codes;t.exports=function(e,t,r){let l,f;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[o])f=!0,l=t[o]();else{if(!t||!t[s])throw new u("iterable",["Iterable"],t);f=!1,l=t[s]()}const h=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;return h._read=function(){d||(d=!0,async function(){for(;;){try{const{value:e,done:t}=f?await l.next():l.next();if(t)h.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw d=!1,new c;if(h.push(t))continue;d=!1}}catch(e){h.destroy(e)}break}}())},h._destroy=function(e,t){i(async function(e){const t=e!==undefined&&null!==e,r="function"==typeof l.throw;if(t&&r){const{value:t,done:r}=await l.throw(e);if(await t,r)return}if("function"==typeof l.return){const{value:e}=await l.return();await e}}(e),(()=>n.nextTick(t,e)),(r=>n.nextTick(t,r||e)))},h}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/from.js"}],[4411,{"../../ours/primordials":4423,events:4399},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=e("../../ours/primordials"),{EventEmitter:o}=e("events");function s(e){o.call(this,e)}function a(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(s.prototype,o.prototype),i(s,o),s.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",c));let s=!1;function u(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){f(),0===o.listenerCount(this,"error")&&this.emit("error",e)}function f(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",c),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",f),r.removeListener("close",f),e.removeListener("close",f)}return a(r,"error",l),a(e,"error",l),r.on("end",f),r.on("close",f),e.on("close",f),e.emit("pipe",r),e},t.exports={Stream:s,prependListener:a}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/legacy.js"}],[4412,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"../validators":4420,"./add-abort-signal":4403,"./compose":4405,"./end-of-stream":4409,"./utils":4418,"abort-controller":3824},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=globalThis.AbortController||e("abort-controller").AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:s,ERR_OUT_OF_RANGE:a},AbortError:u}=e("../../ours/errors"),{validateAbortSignal:c,validateInteger:l,validateObject:f}=e("../validators"),h=e("../../ours/primordials").Symbol("kWeak"),d=e("../../ours/primordials").Symbol("kResistStopPropagation"),{finished:p}=e("./end-of-stream"),y=e("./compose"),{addAbortSignalNoValidate:g}=e("./add-abort-signal"),{isWritable:m,isNodeStream:b}=e("./utils"),{deprecate:_}=e("../../ours/util"),{ArrayPrototypePush:w,Boolean:v,MathFloor:A,Number:T,NumberIsNaN:E,Promise:j,PromiseReject:x,PromiseResolve:k,PromisePrototypeThen:P,Symbol:S}=e("../../ours/primordials"),O=S("kEmpty"),I=S("kEof");function N(t,r){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&c(r.signal,"options.signal");let n=1;null!=(null===r||r===undefined?undefined:r.concurrency)&&(n=A(r.concurrency));let i=n-1;return null!=(null===r||r===undefined?undefined:r.highWaterMark)&&(i=A(r.highWaterMark)),l(n,"options.concurrency",1),l(i,"options.highWaterMark",0),i+=n,async function*(){const o=e("../../ours/util").AbortSignalAny([null===r||r===undefined?undefined:r.signal].filter(v)),s=this,a=[],c={signal:o};let l,f,h=!1,d=0;function p(){h=!0,y()}function y(){d-=1,g()}function g(){f&&!h&&d<n&&a.length<i&&(f(),f=null)}!async function(){try{for await(let e of s){if(h)return;if(o.aborted)throw new u;try{if(e=t(e,c),e===O)continue;e=k(e)}catch(t){e=x(t)}d+=1,P(e,y,p),a.push(e),l&&(l(),l=null),!h&&(a.length>=i||d>=n)&&await new j((e=>{f=e}))}a.push(I)}catch(e){const t=x(e);P(t,y,p),a.push(t)}finally{h=!0,l&&(l(),l=null)}}();try{for(;;){for(;a.length>0;){const e=await a[0];if(e===I)return;if(o.aborted)throw new u;e!==O&&(yield e),a.shift(),g()}await new j((e=>{l=e}))}}finally{h=!0,f&&(f(),f=null)}}.call(this)}async function R(e,t=undefined){for await(const r of U.call(this,e,t))return!0;return!1}function U(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return N.call(this,(async function(t,r){return await e(t,r)?t:O}),t)}class B extends s{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function C(e){if(e=T(e),E(e))return 0;if(e<0)throw new a("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:_((function(e=undefined){return null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&c(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u({cause:e.signal.reason});yield[t++,n]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),e=C(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;e--<=0&&(yield r)}}.call(this)},filter:U,flatMap:function(e,t){const r=N.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:N,take:function(e,t=undefined){return null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),e=C(e),async function*(){var r;if(null!==t&&t!==undefined&&null!==(r=t.signal)&&r!==undefined&&r.aborted)throw new u;for await(const r of this){var n;if(null!==t&&t!==undefined&&null!==(n=t.signal)&&n!==undefined&&n.aborted)throw new u;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&f(t,"options"),null!=(null===t||t===undefined?undefined:t.signal)&&c(t.signal,"options.signal"),b(e)&&!m(e))throw new i("stream",e,"must be writable");const r=y(this,e);return null!==t&&t!==undefined&&t.signal&&g(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=undefined){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);return!await R.call(this,(async(...t)=>!await e(...t)),t)},forEach:async function(e,t){if("function"!=typeof e)throw new o("fn",["Function","AsyncFunction"],e);for await(const r of N.call(this,(async function(t,r){return await e(t,r),O}),t));},reduce:async function(e,t,r){var i;if("function"!=typeof e)throw new o("reducer",["Function","AsyncFunction"],e);null!=r&&f(r,"options"),null!=(null===r||r===undefined?undefined:r.signal)&&c(r.signal,"options.signal");let s=arguments.length>1;if(null!==r&&r!==undefined&&null!==(i=r.signal)&&i!==undefined&&i.aborted){const e=new u(undefined,{cause:r.signal.reason});throw this.once("error",(()=>{})),await p(this.destroy(e)),e}const a=new n,l=a.signal;if(null!==r&&r!==undefined&&r.signal){const e={once:!0,[h]:this,[d]:!0};r.signal.addEventListener("abort",(()=>a.abort()),e)}let y=!1;try{for await(const n of this){var g;if(y=!0,null!==r&&r!==undefined&&null!==(g=r.signal)&&g!==undefined&&g.aborted)throw new u;s?t=await e(t,n,{signal:l}):(t=n,s=!0)}if(!y&&!s)throw new B}finally{a.abort()}return t},toArray:async function(e){null!=e&&f(e,"options"),null!=(null===e||e===undefined?undefined:e.signal)&&c(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!==e&&e!==undefined&&null!==(r=e.signal)&&r!==undefined&&r.aborted)throw new u(undefined,{cause:e.signal.reason});w(t,n)}return t},some:R,find:async function(e,t){for await(const r of U.call(this,e,t))return r;return undefined}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/operators.js"}],[4413,{"../../ours/primordials":4423,"./transform":4417},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n}=e("../../ours/primordials");t.exports=o;const i=e("./transform");function o(e){if(!(this instanceof o))return new o(e);i.call(this,e)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/passthrough.js"}],[4414,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"../validators":4420,"./destroy":4406,"./duplex":4407,"./end-of-stream":4409,"./passthrough":4413,"./readable":4415,"./utils":4418,"abort-controller":3824,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:s,SymbolDispose:a}=e("../../ours/primordials"),u=e("./end-of-stream"),{once:c}=e("../../ours/util"),l=e("./destroy"),f=e("./duplex"),{aggregateTwoErrors:h,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:y,ERR_STREAM_DESTROYED:g,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:b}=e("../../ours/errors"),{validateFunction:_,validateAbortSignal:w}=e("../validators"),{isIterable:v,isReadable:A,isReadableNodeStream:T,isNodeStream:E,isTransformStream:j,isWebStream:x,isReadableStream:k,isReadableFinished:P}=e("./utils"),S=globalThis.AbortController||e("abort-controller").AbortController;let O,I,N;function R(e,t,r){let n=!1;e.on("close",(()=>{n=!0}));return{destroy:t=>{n||(n=!0,l.destroyer(e,t||new g("pipe")))},cleanup:u(e,{readable:t,writable:r},(e=>{n=!e}))}}function U(t){if(v(t))return t;if(T(t))return async function*(t){I||(I=e("./readable"));yield*I.prototype[s].call(t)}(t);throw new d("val",["Readable","Iterable","AsyncIterable"],t)}async function B(e,t,r,{end:n}){let i,s=null;const a=e=>{if(e&&(i=e),s){const e=s;s=null,e()}},c=()=>new o(((e,t)=>{i?t(i):s=()=>{i?t(i):e()}}));t.on("drain",a);const l=u(t,{readable:!1},a);try{t.writableNeedDrain&&await c();for await(const r of e)t.write(r)||await c();n&&(t.end(),await c()),r()}catch(e){r(i!==e?h(i,e):e)}finally{l(),t.off("drain",a)}}async function C(e,t,r,{end:n}){j(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function L(t,r,o){if(1===t.length&&i(t[0])&&(t=t[0]),t.length<2)throw new y("streams");const s=new S,u=s.signal,c=null===o||o===undefined?undefined:o.signal,l=[];function h(){M(new b)}let g,m,_;w(c,"options.signal"),N=N||e("../../ours/util").addAbortListener,c&&(g=N(c,h));const P=[];let I,L=0;function D(e){M(e,0==--L)}function M(e,t){var i;if(!e||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=e),m||t){for(;P.length;)P.shift()(m);null===(i=g)||i===undefined?undefined:i[a](),s.abort(),t&&(m||l.forEach((e=>e())),n.nextTick(r,m,_))}}for(let H=0;H<t.length;H++){const V=t[H],K=H<t.length-1,$=H>0,W=K||!1!==(null===o||o===undefined?undefined:o.end),q=H===t.length-1;if(E(V)){if(W){const{destroy:Z,cleanup:X}=R(V,K,$);P.push(Z),A(V)&&q&&l.push(X)}function J(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&D(e)}V.on("error",J),A(V)&&q&&l.push((()=>{V.removeListener("error",J)}))}if(0===H)if("function"==typeof V){if(I=V({signal:u}),!v(I))throw new p("Iterable, AsyncIterable or Stream","source",I)}else I=v(V)||T(V)||j(V)?V:f.from(V);else if("function"==typeof V){var z;if(j(I))I=U(null===(z=I)||z===undefined?undefined:z.readable);else I=U(I);if(I=V(I,{signal:u}),K){if(!v(I,!0))throw new p("AsyncIterable",`transform[${H-1}]`,I)}else{var G;O||(O=e("./passthrough"));const Q=new O({objectMode:!0}),Y=null===(G=I)||G===undefined?undefined:G.then;if("function"==typeof Y)L++,Y.call(I,(e=>{_=e,null!=e&&Q.write(e),W&&Q.end(),n.nextTick(D)}),(e=>{Q.destroy(e),n.nextTick(D,e)}));else if(v(I,!0))L++,B(I,Q,D,{end:W});else{if(!k(I)&&!j(I))throw new p("AsyncIterable or Promise","destination",I);{const re=I.readable||I;L++,B(re,Q,D,{end:W})}}I=Q;const{destroy:ee,cleanup:te}=R(I,!1,!0);P.push(ee),q&&l.push(te)}}else if(E(V)){if(T(I)){L+=2;const ne=F(I,V,D,{end:W});A(V)&&q&&l.push(ne)}else if(j(I)||k(I)){const ie=I.readable||I;L++,B(ie,V,D,{end:W})}else{if(!v(I))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);L++,B(I,V,D,{end:W})}I=V}else if(x(V)){if(T(I))L++,C(U(I),V,D,{end:W});else if(k(I)||v(I))L++,C(I,V,D,{end:W});else{if(!j(I))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],I);L++,C(I.readable,V,D,{end:W})}I=V}else I=f.from(V)}return(null!==u&&u!==undefined&&u.aborted||null!==c&&c!==undefined&&c.aborted)&&n.nextTick(h),I}function F(e,t,r,{end:i}){let o=!1;if(t.on("close",(()=>{o||r(new m)})),e.pipe(t,{end:!1}),i){function s(){o=!0,t.end()}P(e)?n.nextTick(s):e.once("end",s)}else r();return u(e,{readable:!0,writable:!1},(t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)})),u(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:L,pipeline:function(...e){return L(e,c(function(e){return _(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js"}],[4415,{"../../ours/errors":4422,"../../ours/primordials":4423,"../../ours/util":4424,"../validators":4420,"./add-abort-signal":4403,"./buffer_list":4404,"./destroy":4406,"./duplex":4407,"./end-of-stream":4409,"./from":4410,"./legacy":4411,"./state":4416,buffer:4074,events:4399,"process/":5008,string_decoder:5597},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:s,NumberParseInt:a,ObjectDefineProperties:u,ObjectKeys:c,ObjectSetPrototypeOf:l,Promise:f,SafeSet:h,SymbolAsyncDispose:d,SymbolAsyncIterator:p,Symbol:y}=e("../../ours/primordials");t.exports=J,J.ReadableState=q;const{EventEmitter:g}=e("events"),{Stream:m,prependListener:b}=e("./legacy"),{Buffer:_}=e("buffer"),{addAbortSignal:w}=e("./add-abort-signal"),v=e("./end-of-stream");let A=e("../../ours/util").debuglog("stream",(e=>{A=e}));const T=e("./buffer_list"),E=e("./destroy"),{getHighWaterMark:j,getDefaultHighWaterMark:x}=e("./state"),{aggregateTwoErrors:k,codes:{ERR_INVALID_ARG_TYPE:P,ERR_METHOD_NOT_IMPLEMENTED:S,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:I,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:N},AbortError:R}=e("../../ours/errors"),{validateObject:U}=e("../validators"),B=y("kPaused"),{StringDecoder:C}=e("string_decoder"),L=e("./from");l(J.prototype,m.prototype),l(J,m);const F=()=>{},{errorOrDestroy:D}=E,M=1,z=16,G=32,H=64,V=2048,K=4096,$=65536;function W(e){return{enumerable:!1,get(){return!!(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function q(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.state=V|K|z|G,t&&t.objectMode&&(this.state|=M),n&&t&&t.readableObjectMode&&(this.state|=M),this.highWaterMark=t?j(this,t,"readableHighWaterMark",n):x(!1),this.buffer=new T,this.length=0,this.pipes=[],this.flowing=null,this[B]=null,t&&!1===t.emitClose&&(this.state&=~V),t&&!1===t.autoDestroy&&(this.state&=~K),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new C(t.encoding),this.encoding=t.encoding)}function J(t){if(!(this instanceof J))return new J(t);const r=this instanceof e("./duplex");this._readableState=new q(t,this,r),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!r&&w(t.signal,this)),m.call(this,t),E.construct(this,(()=>{this._readableState.needReadable&&te(this,this._readableState)}))}function Z(e,t,r,n){A("readableAddChunk",t);const i=e._readableState;let o;if(i.state&M||("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=_.from(t,r).toString(i.encoding):(t=_.from(t,r),r=""))):t instanceof _?r="":m._isUint8Array(t)?(t=m._uint8ArrayToBuffer(t),r=""):null!=t&&(o=new P("chunk",["string","Buffer","Uint8Array"],t))),o)D(e,o);else if(null===t)i.state&=-9,function(e,t){if(A("onEofChunk"),t.ended)return;if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Y(e):(t.needReadable=!1,t.emittedReadable=!0,ee(e))}(e,i);else if(i.state&M||t&&t.length>0)if(n)if(4&i.state)D(e,new N);else{if(i.destroyed||i.errored)return!1;X(e,i,t,!0)}else if(i.ended)D(e,new I);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?X(e,i,t,!1):te(e,i)):X(e,i,t,!1)}else n||(i.state&=-9,te(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function X(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.state&$?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.state&H&&Y(e)),te(e,t)}u(q.prototype,{objectMode:W(M),ended:W(2),endEmitted:W(4),reading:W(8),constructed:W(z),sync:W(G),needReadable:W(H),emittedReadable:W(128),readableListening:W(256),resumeScheduled:W(512),errorEmitted:W(1024),emitClose:W(V),autoDestroy:W(K),destroyed:W(8192),closed:W(16384),closeEmitted:W(32768),multiAwaitDrain:W($),readingMore:W(1<<17),dataEmitted:W(1<<18)}),J.prototype.destroy=E.destroy,J.prototype._undestroy=E.undestroy,J.prototype._destroy=function(e,t){t(e)},J.prototype[g.captureRejectionSymbol]=function(e){this.destroy(e)},J.prototype[d]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new R,this.destroy(e)),new f(((t,r)=>v(this,(n=>n&&n!==e?r(n):t(null)))))},J.prototype.push=function(e,t){return Z(this,e,t,!1)},J.prototype.unshift=function(e,t){return Z(this,e,t,!0)},J.prototype.isPaused=function(){const e=this._readableState;return!0===e[B]||!1===e.flowing},J.prototype.setEncoding=function(e){const t=new C(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function Q(e,t){return e<=0||0===t.length&&t.ended?0:t.state&M?1:s(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Y(e){const t=e._readableState;A("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(A("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(ee,e))}function ee(e){const t=e._readableState;A("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,se(e)}function te(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(re,e,t))}function re(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(A("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function ne(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[B]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function ie(e){A("readable nexttick read 0"),e.read(0)}function oe(e,t){A("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),se(e),t.flowing&&!t.reading&&e.read(0)}function se(e){const t=e._readableState;for(A("flow",t.flowing);t.flowing&&null!==e.read(););}function ae(e,t){"function"!=typeof e.read&&(e=J.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=F;function i(t){this===e?(n(),n=F):n=t}e.on("readable",i);const o=v(e,{writable:!1},(e=>{r=e?k(r,e):null,n(),n=F}));try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(e){throw r=k(r,e),r}finally{!r&&!1===(null===t||t===undefined?undefined:t.destroyOnReturn)||r!==undefined&&!e._readableState.autoDestroy?(e.off("readable",i),o()):E.destroyer(e,null)}}(e,t);return r.stream=e,r}function ue(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function ce(e){const t=e._readableState;A("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(le,t,e))}function le(e,t){if(A("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(fe,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function fe(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let he;function de(){return he===undefined&&(he={}),he}J.prototype.read=function(e){A("read",e),e===undefined?e=NaN:o(e)||(e=a(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new O("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return A("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?ce(this):Y(this),null;if(0===(e=Q(e,t))&&t.ended)return 0===t.length&&ce(this),null;let n,i=!!(t.state&H);if(A("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,A("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,A("reading, ended or constructing",i);else if(i){A("do read"),t.state|=8|G,0===t.length&&(t.state|=H);try{this._read(t.highWaterMark)}catch(e){D(this,e)}t.state&=~G,t.reading||(e=Q(r,t))}return n=e>0?ue(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&ce(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},J.prototype._read=function(e){throw new S("_read()")},J.prototype.pipe=function(e,t){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new h(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),A("pipe count=%d opts=%j",i.pipes.length,t);const o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?a:g;function s(t,n){A("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){A("cleanup"),e.removeListener("close",p),e.removeListener("finish",y),u&&e.removeListener("drain",u);e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",g),r.removeListener("data",f),c=!0,u&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&u()}())}function a(){A("onend"),e.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",s);let c=!1;function l(){c||(1===i.pipes.length&&i.pipes[0]===e?(A("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(A("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),u||(u=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(A("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(A("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",u))}function f(t){A("ondata");const r=e.write(t);A("dest.write",r),!1===r&&l()}function d(t){if(A("onerror",t),g(),e.removeListener("error",d),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?D(e,t):e.emit("error",t)}}function p(){e.removeListener("finish",y),g()}function y(){A("onfinish"),e.removeListener("close",p),g()}function g(){A("unpipe"),r.unpipe(e)}return r.on("data",f),b(e,"error",d),e.once("close",p),e.once("finish",y),e.emit("pipe",r),!0===e.writableNeedDrain?l():i.flowing||(A("pipe resume"),r.resume()),e},J.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},J.prototype.on=function(e,t){const r=m.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,A("on readable",i.length,i.reading),i.length?Y(this):i.reading||n.nextTick(ie,this))),r},J.prototype.addListener=J.prototype.on,J.prototype.removeListener=function(e,t){const r=m.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(ne,this),r},J.prototype.off=J.prototype.removeListener,J.prototype.removeAllListeners=function(e){const t=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&e!==undefined||n.nextTick(ne,this),t},J.prototype.resume=function(){const e=this._readableState;return e.flowing||(A("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(oe,e,t))}(this,e)),e[B]=!1,this},J.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[B]=!0,this},J.prototype.wrap=function(e){let t=!1;e.on("data",(r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{D(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=c(e);for(let t=1;t<r.length;t++){const n=r[t];this[n]===undefined&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},J.prototype[p]=function(){return ae(this)},J.prototype.iterator=function(e){return e!==undefined&&U(e,"options"),ae(this,e)},u(J.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(q.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[B]},set(e){this[B]=!!e}}}),J._fromList=ue,J.from=function(e,t){return L(J,e,t)},J.fromWeb=function(e,t){return de().newStreamReadableFromReadableStream(e,t)},J.toWeb=function(e,t){return de().newReadableStreamFromStreamReadable(e,t)},J.wrap=function(e,t){var r,n;return new J({objectMode:null===(r=null!==(n=e.readableObjectMode)&&n!==undefined?n:e.objectMode)||r===undefined||r,...t,destroy(t,r){E.destroyer(e,t),r(t)}}).wrap(e)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/readable.js"}],[4416,{"../../ours/errors":4422,"../../ours/primordials":4423,"../validators":4420},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{MathFloor:n,NumberIsInteger:i}=e("../../ours/primordials"),{validateInteger:o}=e("../validators"),{ERR_INVALID_ARG_VALUE:s}=e("../../ours/errors").codes;let a=16384,u=16;function c(e){return e?u:a}t.exports={getHighWaterMark:function(e,t,r,o){const a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=a){if(!i(a)||a<0){throw new s(o?`options.${r}`:"options.highWaterMark",a)}return n(a)}return c(e.objectMode)},getDefaultHighWaterMark:c,setDefaultHighWaterMark:function(e,t){o(t,"value",0),e?u=t:a=t}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/state.js"}],[4417,{"../../ours/errors":4422,"../../ours/primordials":4423,"./duplex":4407,"./state":4416},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ObjectSetPrototypeOf:n,Symbol:i}=e("../../ours/primordials");t.exports=c;const{ERR_METHOD_NOT_IMPLEMENTED:o}=e("../../ours/errors").codes,s=e("./duplex"),{getHighWaterMark:a}=e("./state");n(c.prototype,s.prototype),n(c,s);const u=i("kCallback");function c(e){if(!(this instanceof c))return new c(e);const t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),s.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function l(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function f(){this._final!==l&&l.call(this)}c.prototype._final=l,c.prototype._transform=function(e,t,r){throw new o("_transform()")},c.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)}))},c.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/transform.js"}],[4418,{"../../ours/primordials":4423},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=e("../../ours/primordials"),s=o("nodejs.stream.destroyed"),a=o("nodejs.stream.errored"),u=o("nodejs.stream.readable"),c=o("nodejs.stream.writable"),l=o("nodejs.stream.disturbed"),f=o("nodejs.webstream.isClosedPromise"),h=o("nodejs.webstream.controllerErrorFunction");function d(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||r===undefined?undefined:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||t===undefined?undefined:t.writable))}function y(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||y(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||y(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function b(e){return!(!e||y(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function _(e){if(!y(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[s]||null!==n&&n!==undefined&&n.destroyed)}function w(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null===t||t===undefined||!t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)}function v(e,t){if(!d(e))return null;const r=e._readableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function A(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null===e||e===undefined?undefined:e.readable)?null:!_(e)&&(d(e)&&e.readable&&!v(e))}function T(e){return e&&null!=e[c]?e[c]:"boolean"!=typeof(null===e||e===undefined?undefined:e.writable)?null:!_(e)&&(p(e)&&e.writable&&!w(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function j(e){return"boolean"==typeof e._sent100&&E(e)}t.exports={isDestroyed:_,kIsDestroyed:s,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[l])&&t!==undefined?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:l,isErrored:function(e){var t,r,n,i,o,s,u,c,l,f;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(o=null!==(s=e[a])&&s!==undefined?s:e.readableErrored)&&o!==undefined?o:e.writableErrored)&&i!==undefined?i:null===(u=e._readableState)||u===undefined?undefined:u.errorEmitted)&&n!==undefined?n:null===(c=e._writableState)||c===undefined?undefined:c.errorEmitted)&&r!==undefined?r:null===(l=e._readableState)||l===undefined?undefined:l.errored)&&t!==undefined?t:null===(f=e._writableState)||f===undefined?undefined:f.errored))},kIsErrored:a,isReadable:A,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:h,kIsWritable:c,isClosed:function(e){if(!y(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null===t||t===undefined?undefined:t.closed)||"boolean"==typeof(null===r||r===undefined?undefined:r.closed)?(null===t||t===undefined?undefined:t.closed)||(null===r||r===undefined?undefined:r.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return y(e)?!!_(e)||(!1===(null===t||t===undefined?undefined:t.readable)||!A(e))&&(!1===(null===t||t===undefined?undefined:t.writable)||!T(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:d,isReadableStream:g,isReadableEnded:function(e){if(!d(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null===t||t===undefined?undefined:t.ended)?null:t.ended)},isReadableFinished:v,isReadableErrored:function(e){var t,r;return y(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isNodeStream:y,isWebStream:function(e){return g(e)||m(e)||b(e)},isWritable:T,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:w,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null===r||r===undefined||!r.errored)&&("boolean"!=typeof(null===r||r===undefined?undefined:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return y(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||r===undefined?undefined:r.errored)&&t!==undefined?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&(null===(t=e.req)||t===undefined?undefined:t.upgradeOrConnect)===undefined},isServerResponse:j,willEmitClose:function(e){if(!y(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&j(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:b}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/utils.js"}],[4419,{"../../ours/errors":4422,"../../ours/primordials":4423,"./add-abort-signal":4403,"./destroy":4406,"./duplex":4407,"./legacy":4411,"./state":4416,buffer:4074,events:4399,"process/":5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("process/"),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:s,ObjectDefineProperty:a,ObjectDefineProperties:u,ObjectSetPrototypeOf:c,StringPrototypeToLowerCase:l,Symbol:f,SymbolHasInstance:h}=e("../../ours/primordials");t.exports=U,U.WritableState=N;const{EventEmitter:d}=e("events"),p=e("./legacy").Stream,{Buffer:y}=e("buffer"),g=e("./destroy"),{addAbortSignal:m}=e("./add-abort-signal"),{getHighWaterMark:b,getDefaultHighWaterMark:_}=e("./state"),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:v,ERR_MULTIPLE_CALLBACK:A,ERR_STREAM_CANNOT_PIPE:T,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:j,ERR_STREAM_NULL_VALUES:x,ERR_STREAM_WRITE_AFTER_END:k,ERR_UNKNOWN_ENCODING:P}=e("../../ours/errors").codes,{errorOrDestroy:S}=g;function O(){}c(U.prototype,p.prototype),c(U,p);const I=f("kOnFinished");function N(t,r,n){"boolean"!=typeof n&&(n=r instanceof e("./duplex")),this.objectMode=!(!t||!t.objectMode),n&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?b(this,t,"writableHighWaterMark",n):_(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!t||!1!==t.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(undefined,r),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,R(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[I]=[]}function R(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function U(t){const r=this instanceof e("./duplex");if(!r&&!s(U,this))return new U(t);this._writableState=new N(t,this,r),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&m(t.signal,this)),p.call(this,t),g.construct(this,(()=>{const e=this._writableState;e.writing||G(this,e),K(this,e)}))}function B(e,t,r,i){const o=e._writableState;if("function"==typeof r)i=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!y.isEncoding(r))throw new P(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=O)}if(null===t)throw new x;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=y.from(t,r),r="buffer");else if(t instanceof y)r="buffer";else{if(!p._isUint8Array(t))throw new w("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}let s;return o.ending?s=new k:o.destroyed&&(s=new E("write")),s?(n.nextTick(i,s),S(e,s,!0),s):(o.pendingcb++,function(e,t,r,n,i){const o=t.objectMode?1:r.length;t.length+=o;const s=t.length<t.highWaterMark;s||(t.needDrain=!0);t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&i!==O&&(t.allNoop=!1)):(t.writelen=o,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1);return s&&!t.errored&&!t.destroyed}(e,o,t,r,i))}function C(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function L(e,t,r,n){--t.pendingcb,n(r),z(t),S(e,r)}function F(e,t){const r=e._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?n.nextTick(L,e,r,t,o):L(e,r,t,o)):(r.buffered.length>r.bufferedIndex&&G(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick(D,r.afterWriteTickInfo)):M(e,r,1,o))):S(e,new A)}function D({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,M(e,t,r,n)}function M(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&z(t),K(e,t)}function z(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:i}=e.buffered[r],o=e.objectMode?1:n.length;e.length-=o,i(null!==(t=e.errored)&&t!==undefined?t:new E("write"))}const r=e[I].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&n!==undefined?n:new E("end"))}R(e)}function G(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=t,s=r.length-n;if(!s)return;let a=n;if(t.bufferProcessing=!0,s>1&&e._writev){t.pendingcb-=s-1;const n=t.allNoop?O:e=>{for(let t=a;t<r.length;++t)r[t].callback(e)},o=t.allNoop&&0===a?r:i(r,a);o.allBuffers=t.allBuffers,C(e,t,!0,t.length,o,"",n),R(t)}else{do{const{chunk:n,encoding:i,callback:s}=r[a];r[a++]=null;C(e,t,!1,o?1:n.length,n,i,s)}while(a<r.length&&!t.writing);a===r.length?R(t):a>256?(r.splice(0,a),t.bufferedIndex=0):t.bufferedIndex=a}t.bufferProcessing=!1}function H(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function V(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)S(e,null!==i&&i!==undefined?i:A());else if(r=!0,t.pendingcb--,i){const r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e](i);S(e,i,t.sync)}else H(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick($,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}function K(e,t,r){H(t)&&(V(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick(((e,t)=>{H(t)?$(e,t):t.pendingcb--}),e,t)):H(t)&&(t.pendingcb++,$(e,t))))}function $(e,t){t.pendingcb--,t.finished=!0;const r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}N.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},a(N.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),a(U,h,{__proto__:null,value:function(e){return!!s(this,e)||this===U&&(e&&e._writableState instanceof N)}}),U.prototype.pipe=function(){S(this,new T)},U.prototype.write=function(e,t,r){return!0===B(this,e,t,r)},U.prototype.cork=function(){this._writableState.corked++},U.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||G(this,e))},U.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=l(e)),!y.isEncoding(e))throw new P(e);return this._writableState.defaultEncoding=e,this},U.prototype._write=function(e,t,r){if(!this._writev)throw new v("_write()");this._writev([{chunk:e,encoding:t}],r)},U.prototype._writev=null,U.prototype.end=function(e,t,r){const i=this._writableState;let s;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined){const r=B(this,e,t);r instanceof o&&(s=r)}return i.corked&&(i.corked=1,this.uncork()),s||(i.errored||i.ending?i.finished?s=new j("end"):i.destroyed&&(s=new E("end")):(i.ending=!0,K(this,i,!0),i.ended=!0)),"function"==typeof r&&(s||i.finished?n.nextTick(r,s):i[I].push(r)),this},u(U.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const W=g.destroy;let q;function J(){return q===undefined&&(q={}),q}U.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[I].length)&&n.nextTick(z,r),W.call(this,e,t),this},U.prototype._undestroy=g.undestroy,U.prototype._destroy=function(e,t){t(e)},U.prototype[d.captureRejectionSymbol]=function(e){this.destroy(e)},U.fromWeb=function(e,t){return J().newStreamWritableFromWritableStream(e,t)},U.toWeb=function(e){return J().newWritableStreamFromStreamWritable(e)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/streams/writable.js"}],[442,{"./eip1559Transaction.js":437,"./eip2930Transaction.js":438,"./eip4844Transaction.js":439,"./eip7702Transaction.js":440,"./legacyTransaction.js":443,"./transactionFactory.js":444,"./types.js":445},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionFactory=r.LegacyTransaction=r.EOACodeEIP7702Transaction=r.BlobEIP4844Transaction=r.AccessListEIP2930Transaction=r.FeeMarketEIP1559Transaction=void 0;var o=e("./eip1559Transaction.js");Object.defineProperty(r,"FeeMarketEIP1559Transaction",{enumerable:!0,get:function(){return o.FeeMarketEIP1559Transaction}});var s=e("./eip2930Transaction.js");Object.defineProperty(r,"AccessListEIP2930Transaction",{enumerable:!0,get:function(){return s.AccessListEIP2930Transaction}});var a=e("./eip4844Transaction.js");Object.defineProperty(r,"BlobEIP4844Transaction",{enumerable:!0,get:function(){return a.BlobEIP4844Transaction}});var u=e("./eip7702Transaction.js");Object.defineProperty(r,"EOACodeEIP7702Transaction",{enumerable:!0,get:function(){return u.EOACodeEIP7702Transaction}});var c=e("./legacyTransaction.js");Object.defineProperty(r,"LegacyTransaction",{enumerable:!0,get:function(){return c.LegacyTransaction}});var l=e("./transactionFactory.js");Object.defineProperty(r,"TransactionFactory",{enumerable:!0,get:function(){return l.TransactionFactory}}),i(e("./types.js"),r)}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/index.js"}],[4420,{"../ours/errors":4422,"../ours/primordials":4423,"../ours/util":4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:s,NumberIsInteger:a,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:c,NumberMIN_SAFE_INTEGER:l,NumberParseInt:f,ObjectPrototypeHasOwnProperty:h,RegExpPrototypeExec:d,String:p,StringPrototypeToUpperCase:y,StringPrototypeTrim:g}=e("../ours/primordials"),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:_,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:v,ERR_UNKNOWN_SIGNAL:A}}=e("../ours/errors"),{normalizeEncoding:T}=e("../ours/util"),{isAsyncFunction:E,isArrayBufferView:j}=e("../ours/util").types,x={};const k=/^[0-7]+$/;const P=m(((e,t,r=l,n=c)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!a(e))throw new v(t,"an integer",e);if(e<r||e>n)throw new v(t,`>= ${r} && <= ${n}`,e)})),S=m(((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!a(e))throw new v(t,"an integer",e);if(e<r||e>n)throw new v(t,`>= ${r} && <= ${n}`,e)})),O=m(((e,t,r=!1)=>{if("number"!=typeof e)throw new _(t,"number",e);if(!a(e))throw new v(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new v(t,`>= ${n} && <= ${i}`,e)}));function I(e,t){if("string"!=typeof e)throw new _(t,"string",e)}const N=m(((e,t,r)=>{if(!i(r,e)){const n=o(s(r,(e=>"string"==typeof e?`'${e}'`:p(e))),", ");throw new w(t,e,"must be one of: "+n)}}));function R(e,t){if("boolean"!=typeof e)throw new _(t,"boolean",e)}function U(e,t,r){return null!=e&&h(e,t)?e[t]:r}const B=m(((e,t,r=null)=>{const i=U(r,"allowArray",!1),o=U(r,"allowFunction",!1);if(!U(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new _(t,"Object",e)})),C=m(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new _(t,"a dictionary",e)})),L=m(((e,t,r=0)=>{if(!n(e))throw new _(t,"Array",e);if(e.length<r){throw new w(t,e,`must be longer than ${r}`)}}));const F=m(((e,t="buffer")=>{if(!j(e))throw new _(t,["Buffer","TypedArray","DataView"],e)}));const D=m(((e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new _(t,"AbortSignal",e)})),M=m(((e,t)=>{if("function"!=typeof e)throw new _(t,"Function",e)})),z=m(((e,t)=>{if("function"!=typeof e||E(e))throw new _(t,"Function",e)})),G=m(((e,t)=>{if(e!==undefined)throw new _(t,"undefined",e)}));const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function V(e,t){if(void 0===e||!d(H,e))throw new w(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===d(k,e))throw new w(t,e,"must be a 32-bit unsigned integer or an octal string");e=f(e,8)}return O(e,t),e},validateArray:L,validateStringArray:function(e,t){L(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){L(e,t);for(let r=0;r<e.length;r++)R(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){L(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new _(i,"AbortSignal",n);D(n,i)}},validateBoolean:R,validateBuffer:F,validateDictionary:C,validateEncoding:function(e,t){const r=T(t),n=e.length;if("hex"===r&&n%2!=0)throw new w("encoding",t,`is invalid for data of length ${n}`)},validateFunction:M,validateInt32:S,validateInteger:P,validateNumber:function(e,t,r=undefined,n){if("number"!=typeof e)throw new _(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new v(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:B,validateOneOf:N,validatePlainFunction:z,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new b(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(I(e,t),x[e]===undefined){if(x[y(e)]!==undefined)throw new A(e+" (signals must use all capital letters)");throw new A(e)}},validateString:I,validateUint32:O,validateUndefined:G,validateUnion:function(e,t,r){if(!i(r,e))throw new _(t,`('${o(r,"|")}')`,e)},validateAbortSignal:D,validateLinkHeaderValue:function(e){if("string"==typeof e)return V(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];V(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new w("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/internal/validators.js"}],[4421,{"../stream":4425,"../stream/promises":4426},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../stream"),i=e("../stream/promises"),o=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=o,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=n.Stream,t.exports.default=t.exports}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/browser.js"}],[4422,{"./util":4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{format:n,inspect:i,AggregateError:o}=e("./util"),s=globalThis.AggregateError||o,a=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],c=/^([A-Z][a-z0-9]*)+$/,l={};function f(e,t){if(!e)throw new l.ERR_INTERNAL_ASSERTION(t)}function h(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function d(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return f(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[a]=!0,l[e]=i}function p(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class y extends Error{constructor(e="The operation was aborted",t=undefined){if(t!==undefined&&"object"!=typeof t)throw new l.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}d("ERR_ASSERTION","%s",Error),d("ERR_INVALID_ARG_TYPE",((e,t,r)=>{f("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const o=[],s=[],a=[];for(const e of t)f("string"==typeof e,"All expected entries have to be of type string"),u.includes(e)?o.push(e.toLowerCase()):c.test(e)?s.push(e):(f("object"!==e,'The value "object" should be written as "Object"'),a.push(e));if(s.length>0){const e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),s.push("Object"))}if(o.length>0){switch(o.length){case 1:n+=`of type ${o[0]}`;break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`one of type ${o.join(", ")}, or ${e}`}}(s.length>0||a.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();n+=`an instance of ${s.join(", ")}, or ${e}`}}a.length>0&&(n+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`;break;case 2:n+=`one of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`one of ${a.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var l;if(null!==(l=r.constructor)&&l!==undefined&&l.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n}),TypeError),d("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=i(t);n.length>128&&(n=n.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),d("ERR_INVALID_RETURN_VALUE",((e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!==r&&r!==undefined&&null!==(n=r.constructor)&&n!==undefined&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`}),TypeError),d("ERR_MISSING_ARGS",((...e)=>{let t;f(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`}),TypeError),d("ERR_OUT_OF_RANGE",((e,t,r)=>{let n;return f(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=h(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=h(n)),n+="n"):n=i(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`}),RangeError),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),d("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),d("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),d("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),d("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),d("ERR_STREAM_WRITE_AFTER_END","write after end",Error),d("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:y,aggregateTwoErrors:p((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new s([t,e],t.message);return r.code=t.code,r}return e||t})),hideStackFrames:p,codes:l}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/errors.js"}],[4423,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise:Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean:Boolean,Uint8Array:Uint8Array}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/primordials.js"}],[4424,{"./primordials":4423,"abort-controller":3824,buffer:4074,events:4399},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("buffer"),{kResistStopPropagation:i,SymbolDispose:o}=e("./primordials"),s=globalThis.AbortSignal||e("abort-controller").AbortSignal,a=globalThis.AbortController||e("abort-controller").AbortController,u=Object.getPrototypeOf((async function(){})).constructor,c=globalThis.Blob||n.Blob,l=void 0!==c?function(e){return e instanceof c}:function(e){return!1},f=(e,t)=>{if(e!==undefined&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new ERR_INVALID_ARG_TYPE(t,"AbortSignal",e)};class h extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}t.exports={AggregateError:h,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((r,n)=>{e=r,t=n})),resolve:e,reject:t}},promisify:e=>new Promise(((t,r)=>{e(((e,...n)=>e?r(e):t(...n)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,r]){const n=t.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return`${n.constructor!==Object?n.constructor.name:""} {}`.trim()}return n.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof u,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:l,deprecate:(e,t)=>e,addAbortListener:e("events").addAbortListener||function(e,t){if(e===undefined)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);let r;return f(e,"signal"),((e,t)=>{if("function"!=typeof e)throw new ERR_INVALID_ARG_TYPE(t,"Function",e)})(t,"listener"),e.aborted?queueMicrotask((()=>t())):(e.addEventListener("abort",t,{__proto__:null,once:!0,[i]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[o](){var e;null===(e=r)||e===undefined?undefined:e()}}},AbortSignalAny:s.any||function(e){if(1===e.length)return e[0];const t=new a,r=()=>t.abort();return e.forEach((e=>{f(e,"signals"),e.addEventListener("abort",r,{once:!0})})),t.signal.addEventListener("abort",(()=>{e.forEach((e=>e.removeEventListener("abort",r)))}),{once:!0}),t.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/ours/util.js"}],[4425,{"./internal/streams/add-abort-signal":4403,"./internal/streams/compose":4405,"./internal/streams/destroy":4406,"./internal/streams/duplex":4407,"./internal/streams/end-of-stream":4409,"./internal/streams/legacy":4411,"./internal/streams/operators":4412,"./internal/streams/passthrough":4413,"./internal/streams/pipeline":4414,"./internal/streams/readable":4415,"./internal/streams/state":4416,"./internal/streams/transform":4417,"./internal/streams/utils":4418,"./internal/streams/writable":4419,"./ours/errors":4422,"./ours/primordials":4423,"./ours/util":4424,"./stream/promises":4426,buffer:4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:s}=e("./ours/primordials"),{promisify:{custom:a}}=e("./ours/util"),{streamReturningOperators:u,promiseReturningOperators:c}=e("./internal/streams/operators"),{codes:{ERR_ILLEGAL_CONSTRUCTOR:l}}=e("./ours/errors"),f=e("./internal/streams/compose"),{setDefaultHighWaterMark:h,getDefaultHighWaterMark:d}=e("./internal/streams/state"),{pipeline:p}=e("./internal/streams/pipeline"),{destroyer:y}=e("./internal/streams/destroy"),g=e("./internal/streams/end-of-stream"),m=e("./stream/promises"),b=e("./internal/streams/utils"),_=t.exports=e("./internal/streams/legacy").Stream;_.isDestroyed=b.isDestroyed,_.isDisturbed=b.isDisturbed,_.isErrored=b.isErrored,_.isReadable=b.isReadable,_.isWritable=b.isWritable,_.Readable=e("./internal/streams/readable");for(const v of o(u)){const A=u[v];function T(...e){if(new.target)throw l();return _.Readable.from(s(A,this,e))}i(T,"name",{__proto__:null,value:A.name}),i(T,"length",{__proto__:null,value:A.length}),i(_.Readable.prototype,v,{__proto__:null,value:T,enumerable:!1,configurable:!0,writable:!0})}for(const E of o(c)){const j=c[E];function x(...e){if(new.target)throw l();return s(j,this,e)}i(x,"name",{__proto__:null,value:j.name}),i(x,"length",{__proto__:null,value:j.length}),i(_.Readable.prototype,E,{__proto__:null,value:x,enumerable:!1,configurable:!0,writable:!0})}_.Writable=e("./internal/streams/writable"),_.Duplex=e("./internal/streams/duplex"),_.Transform=e("./internal/streams/transform"),_.PassThrough=e("./internal/streams/passthrough"),_.pipeline=p;const{addAbortSignal:w}=e("./internal/streams/add-abort-signal");_.addAbortSignal=w,_.finished=g,_.destroy=y,_.compose=f,_.setDefaultHighWaterMark=h,_.getDefaultHighWaterMark=d,i(_,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),i(p,a,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),i(g,a,{__proto__:null,enumerable:!0,get:()=>m.finished}),_.Stream=_,_._isUint8Array=function(e){return e instanceof Uint8Array},_._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/stream.js"}],[4426,{"../../lib/stream.js":4425,"../internal/streams/end-of-stream":4409,"../internal/streams/pipeline":4414,"../internal/streams/utils":4418,"../ours/primordials":4423},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{ArrayPrototypePop:n,Promise:i}=e("../ours/primordials"),{isIterable:o,isNodeStream:s,isWebStream:a}=e("../internal/streams/utils"),{pipelineImpl:u}=e("../internal/streams/pipeline"),{finished:c}=e("../internal/streams/end-of-stream");e("../../lib/stream.js"),t.exports={finished:c,pipeline:function(...e){return new i(((t,r)=>{let i,c;const l=e[e.length-1];if(l&&"object"==typeof l&&!s(l)&&!o(l)&&!a(l)){const t=n(e);i=t.signal,c=t.end}u(e,((e,n)=>{e?r(e):t(n)}),{signal:i,end:c})}))}}}}},{package:"extension-port-stream>readable-stream",file:"node_modules/extension-port-stream/node_modules/readable-stream/lib/stream/promises.js"}],[4427,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}}}},{package:"eslint>fast-deep-equal",file:"node_modules/fast-deep-equal/index.js"}],[443,{"./baseTransaction.js":430,"./capabilities/legacy.js":435,"./types.js":445,"@ethereumjs/rlp":447,"@ethereumjs/util":457,"ethereum-cryptography/keccak.js":4300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LegacyTransaction=void 0;const n=e("@ethereumjs/rlp"),i=e("@ethereumjs/util"),o=e("ethereum-cryptography/keccak.js"),s=e("./baseTransaction.js"),a=e("./capabilities/legacy.js"),u=e("./types.js");function c(e,t){const r=Number(e),n=2*Number(t);return r===n+35||r===n+36}class l extends s.BaseTransaction{constructor(e,t={}){if(super({...e,type:u.TransactionType.Legacy},t),this.common=this._validateTxV(this.v,t.common),this.keccakFunction=this.common.customCrypto.keccak256??o.keccak256,this.gasPrice=(0,i.bytesToBigInt)((0,i.toBytes)(e.gasPrice)),this.gasPrice*this.gasLimit>i.MAX_INTEGER){const e=this._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");throw new Error(e)}this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),s.BaseTransaction._validateNotArray(e),this.common.gteHardfork("spuriousDragon")&&(this.isSigned()?c(this.v,this.common.chainId())&&this.activeCapabilities.push(u.Capability.EIP155ReplayProtection):this.activeCapabilities.push(u.Capability.EIP155ReplayProtection));(t?.freeze??!0)&&Object.freeze(this)}static fromTxData(e,t={}){return new l(e,t)}static fromSerializedTx(e,t={}){const r=n.RLP.decode(e);if(!Array.isArray(r))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(r,t)}static fromValuesArray(e,t={}){if(6!==e.length&&9!==e.length)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");const[r,n,o,s,a,u,c,f,h]=e;return(0,i.validateNoLeadingZeroes)({nonce:r,gasPrice:n,gasLimit:o,value:a,v:c,r:f,s:h}),new l({nonce:r,gasPrice:n,gasLimit:o,to:s,value:a,data:u,v:c,r:f,s:h},t)}getEffectivePriorityFee(e){return a.getEffectivePriorityFee(this.gasPrice,e)}raw(){return[(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data,this.v!==undefined?(0,i.bigIntToUnpaddedBytes)(this.v):new Uint8Array(0),this.r!==undefined?(0,i.bigIntToUnpaddedBytes)(this.r):new Uint8Array(0),this.s!==undefined?(0,i.bigIntToUnpaddedBytes)(this.s):new Uint8Array(0)]}serialize(){return n.RLP.encode(this.raw())}getMessageToSign(){const e=[(0,i.bigIntToUnpaddedBytes)(this.nonce),(0,i.bigIntToUnpaddedBytes)(this.gasPrice),(0,i.bigIntToUnpaddedBytes)(this.gasLimit),this.to!==undefined?this.to.bytes:new Uint8Array(0),(0,i.bigIntToUnpaddedBytes)(this.value),this.data];return this.supports(u.Capability.EIP155ReplayProtection)&&(e.push((0,i.bigIntToUnpaddedBytes)(this.common.chainId())),e.push((0,i.unpadBytes)((0,i.toBytes)(0))),e.push((0,i.unpadBytes)((0,i.toBytes)(0)))),e}getHashedMessageToSign(){const e=this.getMessageToSign();return this.keccakFunction(n.RLP.encode(e))}getDataFee(){return a.getDataFee(this)}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}hash(){return a.hash(this)}getMessageToVerifySignature(){if(!this.isSigned()){const e=this._errorMsg("This transaction is not signed");throw new Error(e)}return this.getHashedMessageToSign()}getSenderPublicKey(){return a.getSenderPublicKey(this)}addSignature(e,t,r,n=!1){t=(0,i.toBytes)(t),r=(0,i.toBytes)(r),n&&this.supports(u.Capability.EIP155ReplayProtection)&&(e+=this.common.chainId()*i.BIGINT_2+i.BIGINT_8);const o={...this.txOptions,common:this.common};return l.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:e,r:(0,i.bytesToBigInt)(t),s:(0,i.bytesToBigInt)(r)},o)}toJSON(){return{...super.toJSON(),gasPrice:(0,i.bigIntToHex)(this.gasPrice)}}_validateTxV(e,t){let r;const n=e!==undefined?Number(e):undefined;if(n!==undefined&&n<37&&27!==n&&28!==n)throw new Error(`Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ${n}`);if(n!==undefined&&0!==n&&(!t||t.gteHardfork("spuriousDragon"))&&27!==n&&28!==n)if(t){if(!c(BigInt(n),t.chainId()))throw new Error(`Incompatible EIP155-based V ${n} and chain id ${t.chainId()}. See the Common parameter of the Transaction constructor to set the chain id.`)}else{let e;e=(n-35)%2==0?35:36,r=BigInt(n-e)/i.BIGINT_2}return this._getCommon(t,r)}errorStr(){let e=this._getSharedErrorPostfix();return e+=` gasPrice=${this.gasPrice}`,e}_errorMsg(e){return a.errorMsg(this,e)}}r.LegacyTransaction=l}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/legacyTransaction.js"}],[4430,{"./helpers.js":4432},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./helpers.js");r.JsonPatchError=n.PatchError,r.deepClone=n._deepClone;var i={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var n=e[t];return delete e[t],{newDocument:r,removed:n}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:function(e,t,r){var i=s(r,this.path);i&&(i=n._deepClone(i));var o=a(r,{op:"remove",path:this.from}).removed;return a(r,{op:"add",path:this.path,value:o}),{newDocument:r,removed:i}},copy:function(e,t,r){var i=s(r,this.from);return a(r,{op:"add",path:this.path,value:n._deepClone(i)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:f(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},o={add:function(e,t,r){return n.isInteger(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){return{newDocument:r,removed:e.splice(t,1)[0]}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:i.move,copy:i.copy,test:i.test,_get:i._get};function s(e,t){if(""==t)return e;var r={op:"_get",path:t};return a(e,r),r.value}function a(e,t,a,u,l,h){if(void 0===a&&(a=!1),void 0===u&&(u=!0),void 0===l&&(l=!0),void 0===h&&(h=0),a&&("function"==typeof a?a(t,0,e,t.path):c(t,0)),""===t.path){var d={newDocument:e};if("add"===t.op)return d.newDocument=t.value,d;if("replace"===t.op)return d.newDocument=t.value,d.removed=e,d;if("move"===t.op||"copy"===t.op)return d.newDocument=s(e,t.from),"move"===t.op&&(d.removed=e),d;if("test"===t.op){if(d.test=f(e,t.value),!1===d.test)throw new r.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",h,t,e);return d.newDocument=e,d}if("remove"===t.op)return d.removed=e,d.newDocument=null,d;if("_get"===t.op)return t.value=e,d;if(a)throw new r.JsonPatchError("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",h,t,e);return d}u||(e=n._deepClone(e));var p=(t.path||"").split("/"),y=e,g=1,m=p.length,b=undefined,_=void 0,w=void 0;for(w="function"==typeof a?a:c;;){if((_=p[g])&&-1!=_.indexOf("~")&&(_=n.unescapePathComponent(_)),l&&("__proto__"==_||"prototype"==_&&g>0&&"constructor"==p[g-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(a&&b===undefined&&(y[_]===undefined?b=p.slice(0,g).join("/"):g==m-1&&(b=t.path),b!==undefined&&w(t,0,e,b)),g++,Array.isArray(y)){if("-"===_)_=y.length;else{if(a&&!n.isInteger(_))throw new r.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",h,t,e);n.isInteger(_)&&(_=~~_)}if(g>=m){if(a&&"add"===t.op&&_>y.length)throw new r.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",h,t,e);if(!1===(d=o[t.op].call(t,y,_,e)).test)throw new r.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",h,t,e);return d}}else if(g>=m){if(!1===(d=i[t.op].call(t,y,_,e)).test)throw new r.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",h,t,e);return d}if(y=y[_],a&&g<m&&(!y||"object"!=typeof y))throw new r.JsonPatchError("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",h,t,e)}}function u(e,t,i,o,s){if(void 0===o&&(o=!0),void 0===s&&(s=!0),i&&!Array.isArray(t))throw new r.JsonPatchError("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");o||(e=n._deepClone(e));for(var u=new Array(t.length),c=0,l=t.length;c<l;c++)u[c]=a(e,t[c],i,!0,s,c),e=u[c].newDocument;return u.newDocument=e,u}function c(e,t,o,s){if("object"!=typeof e||null===e||Array.isArray(e))throw new r.JsonPatchError("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,o);if(!i[e.op])throw new r.JsonPatchError("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,o);if("string"!=typeof e.path)throw new r.JsonPatchError("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,o);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new r.JsonPatchError('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,o);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new r.JsonPatchError("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,o);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&e.value===undefined)throw new r.JsonPatchError("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,o);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&n.hasUndefined(e.value))throw new r.JsonPatchError("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,o);if(o)if("add"==e.op){var a=e.path.split("/").length,u=s.split("/").length;if(a!==u+1&&a!==u)throw new r.JsonPatchError("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,o)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==s)throw new r.JsonPatchError("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,o)}else if("move"===e.op||"copy"===e.op){var c=l([{op:"_get",path:e.from,value:undefined}],o);if(c&&"OPERATION_PATH_UNRESOLVABLE"===c.name)throw new r.JsonPatchError("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,o)}}function l(e,t,i){try{if(!Array.isArray(e))throw new r.JsonPatchError("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)u(n._deepClone(t),n._deepClone(e),i||!0);else{i=i||c;for(var o=0;o<e.length;o++)i(e[o],o,t,undefined)}}catch(e){if(e instanceof r.JsonPatchError)return e;throw e}}function f(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var r,n,i,o=Array.isArray(e),s=Array.isArray(t);if(o&&s){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!f(e[r],t[r]))return!1;return!0}if(o!=s)return!1;var a=Object.keys(e);if((n=a.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!t.hasOwnProperty(a[r]))return!1;for(r=n;0!=r--;)if(!f(e[i=a[r]],t[i]))return!1;return!0}return e!=e&&t!=t}r.getValueByPointer=s,r.applyOperation=a,r.applyPatch=u,r.applyReducer=function(e,t,n){var i=a(e,t);if(!1===i.test)throw new r.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",n,t,e);return i.newDocument},r.validator=c,r.validate=l,r._areEquals=f}}},{package:"fast-json-patch",file:"node_modules/fast-json-patch/commonjs/core.js"}],[4431,{"./core.js":4430,"./helpers.js":4432},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});
/*!
* https://github.com/Starcounter-Jack/JSON-Patch
* (c) 2017-2021 Joachim Wester
* MIT license
*/
var n=e("./helpers.js"),i=e("./core.js"),o=new WeakMap,s=function(e){this.observers=new Map,this.obj=e},a=function(e,t){this.callback=e,this.observer=t};function u(e,t){void 0===t&&(t=!1);var r=o.get(e.object);c(r.value,e.object,e.patches,"",t),e.patches.length&&i.applyPatch(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function c(e,t,r,i,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var s=n._objectKeys(t),a=n._objectKeys(e),u=!1,l=a.length-1;l>=0;l--){var f=e[d=a[l]];if(!n.hasOwnProperty(t,d)||t[d]===undefined&&f!==undefined&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:i+"/"+n.escapePathComponent(d),value:n._deepClone(f)}),r.push({op:"remove",path:i+"/"+n.escapePathComponent(d)}),u=!0):(o&&r.push({op:"test",path:i,value:e}),r.push({op:"replace",path:i,value:t}),!0);else{var h=t[d];"object"==typeof f&&null!=f&&"object"==typeof h&&null!=h&&Array.isArray(f)===Array.isArray(h)?c(f,h,r,i+"/"+n.escapePathComponent(d),o):f!==h&&(!0,o&&r.push({op:"test",path:i+"/"+n.escapePathComponent(d),value:n._deepClone(f)}),r.push({op:"replace",path:i+"/"+n.escapePathComponent(d),value:n._deepClone(h)}))}}if(u||s.length!=a.length)for(l=0;l<s.length;l++){var d=s[l];n.hasOwnProperty(e,d)||t[d]===undefined||r.push({op:"add",path:i+"/"+n.escapePathComponent(d),value:n._deepClone(t[d])})}}}r.unobserve=function(e,t){t.unobserve()},r.observe=function(e,t){var r,i=function(e){return o.get(e)}(e);if(i){var c=function(e,t){return e.observers.get(t)}(i,t);r=c&&c.observer}else i=new s(e),o.set(e,i);if(r)return r;if(r={},i.value=n._deepClone(e),t){r.callback=t,r.next=null;var l=function(){u(r)},f=function(){clearTimeout(r.next),r.next=setTimeout(l)};"undefined"!=typeof window&&(window.addEventListener("mouseup",f),window.addEventListener("keyup",f),window.addEventListener("mousedown",f),window.addEventListener("keydown",f),window.addEventListener("change",f))}return r.patches=[],r.object=e,r.unobserve=function(){u(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(i,r),"undefined"!=typeof window&&(window.removeEventListener("mouseup",f),window.removeEventListener("keyup",f),window.removeEventListener("mousedown",f),window.removeEventListener("keydown",f),window.removeEventListener("change",f))},i.observers.set(t,new a(t,r)),r},r.generate=u,r.compare=function(e,t,r){void 0===r&&(r=!1);var n=[];return c(e,t,n,"",r),n}}}},{package:"fast-json-patch",file:"node_modules/fast-json-patch/commonjs/duplex.js"}],[4432,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
* https://github.com/Starcounter-Jack/JSON-Patch
* (c) 2017-2022 Joachim Wester
* MIT licensed
*/
var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=Object.prototype.hasOwnProperty;function s(e,t){return o.call(e,t)}function a(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var n=[];for(var i in e)s(e,i)&&n.push(i);return n}function u(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e,t){var r;for(var n in e)if(s(e,n)){if(e[n]===t)return u(n)+"/";if("object"==typeof e[n]&&""!=(r=c(e[n],t)))return u(n)+"/"+r}return""}function l(e,t){var r=[e];for(var n in t){var i="object"==typeof t[n]?JSON.stringify(t[n],null,2):t[n];void 0!==i&&r.push(n+": "+i)}return r.join("\n")}Object.defineProperty(r,"hasOwnProperty",{value:s}),r._objectKeys=a,r._deepClone=function(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}},r.isInteger=function(e){for(var t,r=0,n=e.length;r<n;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1;r++}return!0},r.escapePathComponent=u,r.unescapePathComponent=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},r._getPathRecursive=c,r.getPath=function(e,t){if(e===t)return"/";var r=c(e,t);if(""===r)throw new Error("Object not found in root");return"/"+r},r.hasUndefined=function e(t){if(t===undefined)return!0;if(t)if(Array.isArray(t)){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return!0}else if("object"==typeof t)for(var i=a(t),o=i.length,s=0;s<o;s++)if(e(t[i[s]]))return!0;return!1};var f=function(e){function t(t,r,n,i,o){var s=this.constructor,a=e.call(this,l(t,{name:r,index:n,operation:i,tree:o}))||this;return a.name=r,a.index=n,a.operation=i,a.tree=o,Object.setPrototypeOf(a,s.prototype),a.message=l(t,{name:r,index:n,operation:i,tree:o}),a}return i(t,e),t}(Error);r.PatchError=f}}},{package:"fast-json-patch",file:"node_modules/fast-json-patch/commonjs/helpers.js"}],[4433,{"./commonjs/core.js":4430,"./commonjs/duplex.js":4431,"./commonjs/helpers.js":4432},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./commonjs/core.js");Object.assign(r,n);var i=e("./commonjs/duplex.js");Object.assign(r,i);var o=e("./commonjs/helpers.js");r.JsonPatchError=o.PatchError,r.deepClone=o._deepClone,r.escapePathComponent=o.escapePathComponent,r.unescapePathComponent=o.unescapePathComponent}}},{package:"fast-json-patch",file:"node_modules/fast-json-patch/index.js"}],[4434,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),t!==undefined){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,s;if(Array.isArray(t)){for(s="[",r=0;r<t.length;r++)r&&(s+=","),s+=e(t[r])||"null";return s+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var a=o.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(s="",r=0;r<u.length;r++){var c=u[r],l=e(t[c]);l&&(s&&(s+=","),s+=JSON.stringify(c)+":"+l)}return o.splice(a,1),"{"+s+"}"}}(e)}}}},{package:"@metamask/snaps-utils>fast-json-stable-stringify",file:"node_modules/fast-json-stable-stringify/index.js"}],[4435,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=u,u.default=u,u.stable=h,u.stableStringify=h;var n="[...]",i="[Circular]",o=[],s=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(e,t,r,n){var i;void 0===n&&(n=a()),l(e,"",0,[],undefined,0,n);try{i=0===s.length?JSON.stringify(e,t,r):JSON.stringify(e,p(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var u=o.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return i}function c(e,t,r,n){var i=Object.getOwnPropertyDescriptor(n,r);i.get!==undefined?i.configurable?(Object.defineProperty(n,r,{value:e}),o.push([n,r,t,i])):s.push([t,r,e]):(n[r]=e,o.push([n,r,t]))}function l(e,t,r,o,s,a,u){var f;if(a+=1,"object"==typeof e&&null!==e){for(f=0;f<o.length;f++)if(o[f]===e)return void c(i,e,t,s);if(void 0!==u.depthLimit&&a>u.depthLimit)return void c(n,e,t,s);if(void 0!==u.edgesLimit&&r+1>u.edgesLimit)return void c(n,e,t,s);if(o.push(e),Array.isArray(e))for(f=0;f<e.length;f++)l(e[f],f,f,o,e,a,u);else{var h=Object.keys(e);for(f=0;f<h.length;f++){var d=h[f];l(e[d],d,f,o,e,a,u)}}o.pop()}}function f(e,t){return e<t?-1:e>t?1:0}function h(e,t,r,n){void 0===n&&(n=a());var i,u=d(e,"",0,[],undefined,0,n)||e;try{i=0===s.length?JSON.stringify(u,t,r):JSON.stringify(u,p(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var c=o.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return i}function d(e,t,r,s,a,u,l){var h;if(u+=1,"object"==typeof e&&null!==e){for(h=0;h<s.length;h++)if(s[h]===e)return void c(i,e,t,a);try{if("function"==typeof e.toJSON)return}catch(e){return}if(void 0!==l.depthLimit&&u>l.depthLimit)return void c(n,e,t,a);if(void 0!==l.edgesLimit&&r+1>l.edgesLimit)return void c(n,e,t,a);if(s.push(e),Array.isArray(e))for(h=0;h<e.length;h++)d(e[h],h,h,s,e,u,l);else{var p={},y=Object.keys(e).sort(f);for(h=0;h<y.length;h++){var g=y[h];d(e[g],g,h,s,e,u,l),p[g]=e[g]}if(void 0===a)return p;o.push([a,t,e]),a[t]=p}s.pop()}}function p(e){return e=void 0!==e?e:function(e,t){return t},function(t,r){if(s.length>0)for(var n=0;n<s.length;n++){var i=s[n];if(i[1]===t&&i[0]===r){r=i[2],s.splice(n,1);break}}return e.call(this,t,r)}}}}},{package:"@metamask/rpc-errors>fast-safe-stringify",file:"node_modules/fast-safe-stringify/index.js"}],[4436,{"./validator":4438,"./xmlbuilder/json2xml":4439,"./xmlparser/XMLParser":4444},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./validator"),i=e("./xmlparser/XMLParser"),o=e("./xmlbuilder/json2xml");t.exports={XMLParser:i,XMLValidator:n,XMLBuilder:o}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/fxp.js"}],[4437,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i="["+n+"]["+(n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040")+"]*",o=new RegExp("^"+i+"$");r.isExist=function(e){return void 0!==e},r.isEmptyObject=function(e){return 0===Object.keys(e).length},r.merge=function(e,t,r){if(t){const n=Object.keys(t),i=n.length;for(let o=0;o<i;o++)e[n[o]]="strict"===r?[t[n[o]]]:t[n[o]]}},r.getValue=function(e){return r.isExist(e)?e:""},r.isName=function(e){const t=o.exec(e);return!(null==t)},r.getAllMatches=function(e,t){const r=[];let n=t.exec(e);for(;n;){const i=[];i.startIndex=t.lastIndex-n[0].length;const o=n.length;for(let e=0;e<o;e++)i.push(n[e]);r.push(i),n=t.exec(e)}return r},r.nameRegexp=i}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/util.js"}],[4438,{"./util":4437},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./util"),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function s(e,t){const r=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const n=e.substr(r,t-r);if(t>5&&"xml"===n)return p("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function a(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&(r--,0===r))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}r.validate=function(e,t){t=Object.assign({},i,t);const r=[];let u=!1,c=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let i=0;i<e.length;i++)if("<"===e[i]&&"?"===e[i+1]){if(i+=2,i=s(e,i),i.err)return i}else{if("<"!==e[i]){if(o(e[i]))continue;return p("InvalidChar","char '"+e[i]+"' is not expected.",g(e,i))}{let y=i;if(i++,"!"===e[i]){i=a(e,i);continue}{let m=!1;"/"===e[i]&&(m=!0,i++);let b="";for(;i<e.length&&">"!==e[i]&&" "!==e[i]&&"\t"!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)b+=e[i];if(b=b.trim(),"/"===b[b.length-1]&&(b=b.substring(0,b.length-1),i--),f=b,!n.isName(f)){let t;return t=0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",p("InvalidTag",t,g(e,i))}const _=l(e,i);if(!1===_)return p("InvalidAttr","Attributes for '"+b+"' have open quote.",g(e,i));let w=_.value;if(i=_.index,"/"===w[w.length-1]){const r=i-w.length;w=w.substring(0,w.length-1);const n=h(w,t);if(!0!==n)return p(n.err.code,n.err.msg,g(e,r+n.err.line));u=!0}else if(m){if(!_.tagClosed)return p("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",g(e,i));if(w.trim().length>0)return p("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",g(e,y));if(0===r.length)return p("InvalidTag","Closing tag '"+b+"' has not been opened.",g(e,y));{const t=r.pop();if(b!==t.tagName){let r=g(e,t.tagStartPos);return p("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+b+"'.",g(e,y))}0==r.length&&(c=!0)}}else{const n=h(w,t);if(!0!==n)return p(n.err.code,n.err.msg,g(e,i-w.length+n.err.line));if(!0===c)return p("InvalidXml","Multiple possible root nodes found.",g(e,i));-1!==t.unpairedTags.indexOf(b)||r.push({tagName:b,tagStartPos:y}),u=!0}for(i++;i<e.length;i++)if("<"===e[i]){if("!"===e[i+1]){i++,i=a(e,i);continue}if("?"!==e[i+1])break;if(i=s(e,++i),i.err)return i}else if("&"===e[i]){const t=d(e,i);if(-1==t)return p("InvalidChar","char '&' is not expected.",g(e,i));i=t}else if(!0===c&&!o(e[i]))return p("InvalidXml","Extra text at the end",g(e,i));"<"===e[i]&&i--}}}var f;return u?1==r.length?p("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",g(e,r[0].tagStartPos)):!(r.length>0)||p("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):p("InvalidXml","Start tag expected.",1)};const u='"',c="'";function l(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if(e[t]===u||e[t]===c)""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}const f=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function h(e,t){const r=n.getAllMatches(e,f),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return p("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",m(r[e]));if(r[e][3]!==undefined&&r[e][4]===undefined)return p("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",m(r[e]));if(r[e][3]===undefined&&!t.allowBooleanAttributes)return p("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",m(r[e]));const n=r[e][2];if(!y(n))return p("InvalidAttr","Attribute '"+n+"' is an invalid name.",m(r[e]));if(i.hasOwnProperty(n))return p("InvalidAttr","Attribute '"+n+"' is repeated.",m(r[e]));i[n]=1}return!0}function d(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let r=/\d/;for("x"===e[t]&&(t++,r=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(r))break}return-1}(e,++t);let r=0;for(;t<e.length;t++,r++)if(!(e[t].match(/\w/)&&r<20)){if(";"===e[t])break;return-1}return t}function p(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function y(e){return n.isName(e)}function g(e,t){const r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function m(e){return e.startIndex+e[1].length}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/validator.js"}],[4439,{"./orderedJs2Xml":4440},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./orderedJs2Xml"),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(e){this.options=Object.assign({},i,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=u),this.processTextOrObjNode=s,this.options.format?(this.indentate=a,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(e,t,r){const n=this.j2x(e,r+1);return e[this.options.textNodeName]!==undefined&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,r):this.buildObjectNode(n.val,t,n.attrStr,r)}function a(e){return this.options.indentBy.repeat(e)}function u(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}o.prototype.build=function(e){return this.options.preserveOrder?n(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},o.prototype.j2x=function(e,t){let r="",n="";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(void 0===e[i])this.isAttribute(i)&&(n+="");else if(null===e[i])this.isAttribute(i)?n+="":"?"===i[0]?n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextValNode(e[i],i,"",t);else if("object"!=typeof e[i]){const o=this.isAttribute(i);if(o)r+=this.buildAttrPairStr(o,""+e[i]);else if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(t)}else n+=this.buildTextValNode(e[i],i,"",t)}else if(Array.isArray(e[i])){const r=e[i].length;let o="",s="";for(let a=0;a<r;a++){const r=e[i][a];if(void 0===r);else if(null===r)"?"===i[0]?n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if("object"==typeof r)if(this.options.oneListGroup){const e=this.j2x(r,t+1);o+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else o+=this.processTextOrObjNode(r,i,t);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(i,r);e=this.replaceEntitiesValue(e),o+=e}else o+=this.buildTextValNode(r,i,"",t)}this.options.oneListGroup&&(o=this.buildObjectNode(o,i,s,t)),n+=o}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const t=Object.keys(e[i]),n=t.length;for(let o=0;o<n;o++)r+=this.buildAttrPairStr(t[o],""+e[i][t[o]])}else n+=this.processTextOrObjNode(e[i],i,t);return{attrStr:r,val:n}},o.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},o.prototype.buildObjectNode=function(e,t,r,n){if(""===e)return"?"===t[0]?this.indentate(n)+"<"+t+r+"?"+this.tagEndChar:this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{let i="</"+t+this.tagEndChar,o="";return"?"===t[0]&&(o="?",i=""),!r&&""!==r||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(n)+`< ! --${e}-- >`+this.newLine:this.indentate(n)+"<"+t+r+o+this.tagEndChar+e+this.indentate(n)+i:this.indentate(n)+"<"+t+r+o+">"+e+i}},o.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},o.prototype.buildTextValNode=function(e,t,r,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(n)+`< ! --${e}-- >`+this.newLine;if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),""===i?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"</"+t+this.tagEndChar}},o.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e},t.exports=o}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js"}],[444,{"./eip1559Transaction.js":437,"./eip2930Transaction.js":438,"./eip4844Transaction.js":439,"./eip7702Transaction.js":440,"./fromRpc.js":441,"./legacyTransaction.js":443,"./types.js":445,"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionFactory=void 0;const n=e("@ethereumjs/util"),i=e("./eip1559Transaction.js"),o=e("./eip2930Transaction.js"),s=e("./eip4844Transaction.js"),a=e("./eip7702Transaction.js"),u=e("./fromRpc.js"),c=e("./legacyTransaction.js"),l=e("./types.js");class f{constructor(){}static fromTxData(e,t={}){if("type"in e&&e.type!==undefined){if((0,l.isLegacyTxData)(e))return c.LegacyTransaction.fromTxData(e,t);if((0,l.isAccessListEIP2930TxData)(e))return o.AccessListEIP2930Transaction.fromTxData(e,t);if((0,l.isFeeMarketEIP1559TxData)(e))return i.FeeMarketEIP1559Transaction.fromTxData(e,t);if((0,l.isBlobEIP4844TxData)(e))return s.BlobEIP4844Transaction.fromTxData(e,t);if((0,l.isEOACodeEIP7702TxData)(e))return a.EOACodeEIP7702Transaction.fromTxData(e,t);throw new Error(`Tx instantiation with type ${e?.type} not supported`)}return c.LegacyTransaction.fromTxData(e,t)}static fromSerializedData(e,t={}){if(!(e[0]<=127))return c.LegacyTransaction.fromSerializedTx(e,t);switch(e[0]){case l.TransactionType.AccessListEIP2930:return o.AccessListEIP2930Transaction.fromSerializedTx(e,t);case l.TransactionType.FeeMarketEIP1559:return i.FeeMarketEIP1559Transaction.fromSerializedTx(e,t);case l.TransactionType.BlobEIP4844:return s.BlobEIP4844Transaction.fromSerializedTx(e,t);case l.TransactionType.EOACodeEIP7702:return a.EOACodeEIP7702Transaction.fromSerializedTx(e,t);default:throw new Error(`TypedTransaction with ID ${e[0]} unknown`)}}static fromBlockBodyData(e,t={}){if(e instanceof Uint8Array)return this.fromSerializedData(e,t);if(Array.isArray(e))return c.LegacyTransaction.fromValuesArray(e,t);throw new Error("Cannot decode transaction: unknown type input")}static async fromJsonRpcProvider(e,t,r){const i=(0,n.getProvider)(e),o=await(0,n.fetchFromProvider)(i,{method:"eth_getTransactionByHash",params:[t]});if(null===o)throw new Error("No data returned from provider");return f.fromRPC(o,r)}static async fromRPC(e,t={}){return f.fromTxData((0,u.normalizeTxParams)(e),t)}}r.TransactionFactory=f}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/transactionFactory.js"}],[4440,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,u){let c="",l=!1;for(let f=0;f<e.length;f++){const h=e[f],d=i(h);if(d===undefined)continue;let p="";if(p=0===r.length?d:`${r}.${d}`,d===t.textNodeName){let e=h[d];s(p,t)||(e=t.tagValueProcessor(d,e),e=a(e,t)),l&&(c+=u),c+=e,l=!1;continue}if(d===t.cdataPropName){l&&(c+=u),c+=`<![CDATA[${h[d][0][t.textNodeName]}]]>`,l=!1;continue}if(d===t.commentPropName){c+=u+`< ! --${h[d][0][t.textNodeName]}-- >`,l=!0;continue}if("?"===d[0]){const e=o(h[":@"],t),r="?xml"===d?"":u;let n=h[d][0][t.textNodeName];n=0!==n.length?" "+n:"",c+=r+`<${d}${n}${e}?>`,l=!0;continue}let y=u;""!==y&&(y+=t.indentBy);const g=u+`<${d}${o(h[":@"],t)}`,m=n(h[d],t,p,y);-1!==t.unpairedTags.indexOf(d)?t.suppressUnpairedNode?c+=g+">":c+=g+"/>":m&&0!==m.length||!t.suppressEmptyNode?m&&m.endsWith(">")?c+=g+`>${m}${u}</${d}>`:(c+=g+">",m&&""!==u&&(m.includes("/>")||m.includes("</"))?c+=u+t.indentBy+m+u:c+=m,c+=`</${d}>`):c+=g+"/>",l=!0}return c}function i(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];if(e.hasOwnProperty(n)&&":@"!==n)return n}}function o(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){if(!e.hasOwnProperty(n))continue;let i=t.attributeValueProcessor(n,e[n]);i=a(i,t),!0===i&&t.suppressBooleanAttributes?r+=` ${n.substr(t.attributeNamePrefix.length)}`:r+=` ${n.substr(t.attributeNamePrefix.length)}="${i}"`}return r}function s(e,t){let r=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+r)return!0;return!1}function a(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}return e}t.exports=function(e,t){let r="";return t.format&&t.indentBy.length>0&&(r="\n"),n(e,t,"",r)}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"}],[4441,{"../util":4437},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../util");function i(e,t){let r="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)r+=e[t];if(r=r.trim(),-1!==r.indexOf(" "))throw new Error("External entites are not supported");const n=e[t++];let i="";for(;t<e.length&&e[t]!==n;t++)i+=e[t];return[r,i,t]}function o(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function a(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function u(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function c(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function l(e){if(n.isName(e))return e;throw new Error(`Invalid entity name ${e}`)}t.exports=function(e,t){const r={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let n=1,f=!1,h=!1,d="";for(;t<e.length;t++)if("<"!==e[t]||h)if(">"===e[t]){if(h?"-"===e[t-1]&&"-"===e[t-2]&&(h=!1,n--):n--,0===n)break}else"["===e[t]?f=!0:d+=e[t];else{if(f&&s(e,t))t+=7,[entityName,val,t]=i(e,t+1),-1===val.indexOf("&")&&(r[l(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(f&&a(e,t))t+=8;else if(f&&u(e,t))t+=8;else if(f&&c(e,t))t+=9;else{if(!o)throw new Error("Invalid DOCTYPE");h=!0}n++,d=""}if(0!==n)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:t}}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"}],[4442,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e}};r.buildOptions=function(e){return Object.assign({},n,e)},r.defaultOptions=n}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"}],[4443,{"../util":4437,"./DocTypeReader":4441,"./xmlNode":4446,strnum:5599},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("../util"),i=e("./xmlNode"),o=e("./DocTypeReader"),s=e("strnum");function a(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];this.lastEntities[n]={regex:new RegExp("&"+n+";","g"),val:e[n]}}}function u(e,t,r,n,i,o,s){if(e!==undefined&&(this.options.trimValues&&!n&&(e=e.trim()),e.length>0)){s||(e=this.replaceEntitiesValue(e));const n=this.options.tagValueProcessor(t,e,r,i,o);if(null===n||n===undefined)return e;if(typeof n!=typeof e||n!==e)return n;if(this.options.trimValues)return w(e,this.options.parseTagValue,this.options.numberParseOptions);return e.trim()===e?w(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function c(e){if(this.options.removeNSPrefix){const t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}const l=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function f(e,t,r){if(!this.options.ignoreAttributes&&"string"==typeof e){const r=n.getAllMatches(e,l),i=r.length,o={};for(let e=0;e<i;e++){const n=this.resolveNameSpace(r[e][1]);let i=r[e][4],s=this.options.attributeNamePrefix+n;if(n.length)if(this.options.transformAttributeName&&(s=this.options.transformAttributeName(s)),"__proto__"===s&&(s="#__proto__"),i!==undefined){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);const e=this.options.attributeValueProcessor(n,i,t);null===e||e===undefined?o[s]=i:o[s]=typeof e!=typeof i||e!==i?e:w(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[s]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const h=function(e){e=e.replace(/\r\n?/g,"\n");const t=new i("!xml");let r=t,n="",s="";for(let a=0;a<e.length;a++){if("<"===e[a])if("/"===e[a+1]){const t=m(e,">",a,"Closing Tag is not closed.");let i=e.substring(a+2,t).trim();if(this.options.removeNSPrefix){const e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),r&&(n=this.saveTextToParentTag(n,r,s));const o=s.substring(s.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);let u=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(u=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=s.lastIndexOf("."),s=s.substring(0,u),r=this.tagsNodeStack.pop(),n="",a=t}else if("?"===e[a+1]){let t=b(e,a,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,s),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,s,t.tagName)),this.addChild(r,e,s)}a=t.closeIndex+1}else if("!--"===e.substr(a+1,3)){const t=m(e,"-- >",a+4,"Comment is not closed.");if(this.options.commentPropName){const i=e.substring(a+4,t-2);n=this.saveTextToParentTag(n,r,s),r.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}a=t}else if("!D"===e.substr(a+1,2)){const t=o(e,a);this.docTypeEntities=t.entities,a=t.i}else if("!["===e.substr(a+1,2)){const t=m(e,"]]>",a,"CDATA is not closed.")-2,i=e.substring(a+9,t);n=this.saveTextToParentTag(n,r,s);let o=this.parseTextData(i,r.tagname,s,!0,!1,!0,!0);o==undefined&&(o=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):r.add(this.options.textNodeName,o),a=t+2}else{let o=b(e,a,this.options.removeNSPrefix),u=o.tagName;const c=o.rawTagName;let l=o.tagExp,f=o.attrExpPresent,h=o.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,s,!1));const d=r;if(d&&-1!==this.options.unpairedTags.indexOf(d.tagname)&&(r=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),u!==t.tagname&&(s+=s?"."+u:u),this.isItStopNode(this.options.stopNodes,s,u)){let t="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)"/"===u[u.length-1]?(u=u.substr(0,u.length-1),s=s.substr(0,s.length-1),l=u):l=l.substr(0,l.length-1),a=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(u))a=o.closeIndex;else{const r=this.readStopNodeData(e,c,h+1);if(!r)throw new Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}const n=new i(u);u!==l&&f&&(n[":@"]=this.buildAttributesMap(l,s,u)),t&&(t=this.parseTextData(t,u,s,!0,f,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),n.add(this.options.textNodeName,t),this.addChild(r,n,s)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){"/"===u[u.length-1]?(u=u.substr(0,u.length-1),s=s.substr(0,s.length-1),l=u):l=l.substr(0,l.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));const e=new i(u);u!==l&&f&&(e[":@"]=this.buildAttributesMap(l,s,u)),this.addChild(r,e,s),s=s.substr(0,s.lastIndexOf("."))}else{const e=new i(u);this.tagsNodeStack.push(r),u!==l&&f&&(e[":@"]=this.buildAttributesMap(l,s,u)),this.addChild(r,e,s),r=e}n="",a=h}}else n+=e[a]}return t.child};function d(e,t,r){const n=this.options.updateTag(t.tagname,r,t[":@"]);!1===n||("string"==typeof n?(t.tagname=n,e.addChild(t)):e.addChild(t))}const p=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const r=this.docTypeEntities[t];e=e.replace(r.regx,r.val)}for(let t in this.lastEntities){const r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function y(e,t,r,n){return e&&(n===undefined&&(n=0===Object.keys(t.child).length),(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))!==undefined&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function g(e,t,r){const n="*."+r;for(const r in e){const i=e[r];if(n===i||t===i)return!0}return!1}function m(e,t,r,n){const i=e.indexOf(t,r);if(-1===i)throw new Error(n);return i+t.length-1}function b(e,t,r,n=">"){const i=function(e,t,r=">"){let n,i="";for(let o=t;o<e.length;o++){let t=e[o];if(n)t===n&&(n="");else if('"'===t||"'"===t)n=t;else if(t===r[0]){if(!r[1])return{data:i,index:o};if(e[o+1]===r[1])return{data:i,index:o}}else"\t"===t&&(t=" ");i+=t}}(e,t+1,n);if(!i)return;let o=i.data;const s=i.index,a=o.search(/\s/);let u=o,c=!0;-1!==a&&(u=o.substring(0,a),o=o.substring(a+1).trimStart());const l=u;if(r){const e=u.indexOf(":");-1!==e&&(u=u.substr(e+1),c=u!==i.data.substr(e+1))}return{tagName:u,tagExp:o,closeIndex:s,attrExpPresent:c,rawTagName:l}}function _(e,t,r){const n=r;let i=1;for(;r<e.length;r++)if("<"===e[r])if("/"===e[r+1]){const o=m(e,">",r,`${t} is not closed`);if(e.substring(r+2,o).trim()===t&&(i--,0===i))return{tagContent:e.substring(n,r),i:o};r=o}else if("?"===e[r+1]){r=m(e,"?>",r+1,"StopNode is not closed.")}else if("!--"===e.substr(r+1,3)){r=m(e,"-- >",r+3,"StopNode is not closed.")}else if("!["===e.substr(r+1,2)){r=m(e,"]]>",r,"StopNode is not closed.")-2}else{const n=b(e,r,">");if(n){(n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex}}}function w(e,t,r){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&s(e,r)}return n.isExist(e)?e:""}t.exports=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=a,this.parseXml=h,this.parseTextData=u,this.resolveNameSpace=c,this.buildAttributesMap=f,this.isItStopNode=g,this.replaceEntitiesValue=p,this.readStopNodeData=_,this.saveTextToParentTag=y,this.addChild=d}}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"}],[4444,{"../validator":4438,"./OptionsBuilder":4442,"./OrderedObjParser":4443,"./node2json":4445},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{buildOptions:n}=e("./OptionsBuilder"),i=e("./OrderedObjParser"),{prettify:o}=e("./node2json"),s=e("../validator");t.exports=class{constructor(e){this.externalEntities={},this.options=n(e)}parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const r=s.validate(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const r=new i(this.options);r.addExternalEntities(this.externalEntities);const n=r.parseXml(e);return this.options.preserveOrder||n===undefined?n:o(n,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"}],[4445,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r){let a;const u={};for(let c=0;c<e.length;c++){const l=e[c],f=i(l);let h="";if(h=r===undefined?f:r+"."+f,f===t.textNodeName)a===undefined?a=l[f]:a+=""+l[f];else{if(f===undefined)continue;if(l[f]){let e=n(l[f],t,h);const r=s(e,t);l[":@"]?o(e,l[":@"],h,t):1!==Object.keys(e).length||e[t.textNodeName]===undefined||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],u[f]!==undefined&&u.hasOwnProperty(f)?(Array.isArray(u[f])||(u[f]=[u[f]]),u[f].push(e)):t.isArray(f,h,r)?u[f]=[e]:u[f]=e}}}return"string"==typeof a?a.length>0&&(u[t.textNodeName]=a):a!==undefined&&(u[t.textNodeName]=a),u}function i(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(":@"!==r)return r}}function o(e,t,r,n){if(t){const i=Object.keys(t),o=i.length;for(let s=0;s<o;s++){const o=i[s];n.isArray(o,r+"."+o,!0,!0)?e[o]=[t[o]]:e[o]=t[o]}}}function s(e,t){const{textNodeName:r}=t,n=Object.keys(e).length;return 0===n||!(1!==n||!e[r]&&"boolean"!=typeof e[r]&&0!==e[r])}r.prettify=function(e,t){return n(e,t)}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/node2json.js"}],[4446,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}}}},{package:"@metamask/snaps-utils>fast-xml-parser",file:"node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"}],[445,{"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isEOACodeEIP7702TxData=r.isBlobEIP4844TxData=r.isFeeMarketEIP1559TxData=r.isAccessListEIP2930TxData=r.isLegacyTxData=r.isEOACodeEIP7702Tx=r.isBlobEIP4844Tx=r.isFeeMarketEIP1559Tx=r.isAccessListEIP2930Tx=r.isLegacyTx=r.TransactionType=r.isAuthorizationList=r.isAuthorizationListBytes=r.isAccessList=r.isAccessListBytes=r.Capability=void 0;const n=e("@ethereumjs/util");var i;function o(e){if(0===e.length)return!0;const t=e[0];return!!Array.isArray(t)}function s(e){if(0===e.length)return!0;const t=e[0];return!!Array.isArray(t)}!function(e){e[e.EIP155ReplayProtection=155]="EIP155ReplayProtection",e[e.EIP1559FeeMarket=1559]="EIP1559FeeMarket",e[e.EIP2718TypedTransaction=2718]="EIP2718TypedTransaction",e[e.EIP2930AccessLists=2930]="EIP2930AccessLists",e[e.EIP7702EOACode=7702]="EIP7702EOACode"}(r.Capability||(r.Capability={})),r.isAccessListBytes=o,r.isAccessList=function(e){return!o(e)},r.isAuthorizationListBytes=s,r.isAuthorizationList=function(e){return!s(e)},function(e){e[e.Legacy=0]="Legacy",e[e.AccessListEIP2930=1]="AccessListEIP2930",e[e.FeeMarketEIP1559=2]="FeeMarketEIP1559",e[e.BlobEIP4844=3]="BlobEIP4844",e[e.EOACodeEIP7702=4]="EOACodeEIP7702"}(i=r.TransactionType||(r.TransactionType={})),r.isLegacyTx=function(e){return e.type===i.Legacy},r.isAccessListEIP2930Tx=function(e){return e.type===i.AccessListEIP2930},r.isFeeMarketEIP1559Tx=function(e){return e.type===i.FeeMarketEIP1559},r.isBlobEIP4844Tx=function(e){return e.type===i.BlobEIP4844},r.isEOACodeEIP7702Tx=function(e){return e.type===i.EOACodeEIP7702},r.isLegacyTxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.Legacy},r.isAccessListEIP2930TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.AccessListEIP2930},r.isFeeMarketEIP1559TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.FeeMarketEIP1559},r.isBlobEIP4844TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.BlobEIP4844},r.isEOACodeEIP7702TxData=function(e){return Number((0,n.bytesToBigInt)((0,n.toBytes)(e.type)))===i.EOACodeEIP7702}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/types.js"}],[4451,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FOCUS_NO_AUTOFOCUS=r.FOCUS_AUTO=r.FOCUS_ALLOW=r.FOCUS_DISABLED=r.FOCUS_GROUP=void 0,r.FOCUS_GROUP="data-focus-lock",r.FOCUS_DISABLED="data-focus-lock-disabled",r.FOCUS_ALLOW="data-no-focus-lock",r.FOCUS_AUTO="data-autofocus-inside",r.FOCUS_NO_AUTOFOCUS="data-no-autofocus"}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/constants.js"}],[4452,{"./utils/DOMutils":4461,"./utils/all-affected":4462,"./utils/array":4463,"./utils/getActiveElement":4467},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.focusInside=void 0;var n=e("./utils/DOMutils"),i=e("./utils/all-affected"),o=e("./utils/array"),s=e("./utils/getActiveElement");r.focusInside=function(e,t){return void 0===t&&(t=(0,s.getActiveElement)((0,o.getFirst)(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&(0,i.getAllAffectedNodes)(e).some((function(e){return(0,n.contains)(e,t)||function(e,t){return Boolean((0,o.toArray)(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/focusInside.js"}],[4453,{"./constants":4451,"./utils/DOMutils":4461,"./utils/array":4463,"./utils/getActiveElement":4467},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.focusIsHidden=void 0;var n=e("./constants"),i=e("./utils/DOMutils"),o=e("./utils/array"),s=e("./utils/getActiveElement");r.focusIsHidden=function(e){void 0===e&&(e=document);var t=(0,s.getActiveElement)(e);return!!t&&(0,o.toArray)(e.querySelectorAll("[".concat(n.FOCUS_ALLOW,"]"))).some((function(e){return(0,i.contains)(e,t)}))}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/focusIsHidden.js"}],[4454,{"./solver":4459,"./utils/DOMutils":4461,"./utils/all-affected":4462,"./utils/array":4463,"./utils/auto-focus":4464,"./utils/getActiveElement":4467,"./utils/is":4468,"./utils/parenting":4469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFocusMerge=void 0;var n=e("./solver"),i=e("./utils/DOMutils"),o=e("./utils/all-affected"),s=e("./utils/array"),a=e("./utils/auto-focus"),u=e("./utils/getActiveElement"),c=e("./utils/is"),l=e("./utils/parenting");r.getFocusMerge=function(e,t){var r=(0,u.getActiveElement)((0,s.asArray)(e).length>0?document:(0,s.getFirst)(e).ownerDocument),f=(0,o.getAllAffectedNodes)(e).filter(c.isNotAGuard),h=(0,l.getTopCommonParent)(r||e,e,f),d=new Map,p=(0,i.getAllTabbableNodes)(f,d),y=(0,i.getTabbableNodes)(f,d).filter((function(e){var t=e.node;return(0,c.isNotAGuard)(t)}));if(!y[0]&&!(y=p)[0])return undefined;var g,m,b,_=(0,i.getAllTabbableNodes)([h],d).map((function(e){return e.node})),w=(g=_,m=y,b=new Map,m.forEach((function(e){return b.set(e.node,e)})),g.map((function(e){return b.get(e)})).filter(c.isDefined)),v=w.map((function(e){return e.node})),A=(0,n.newFocus)(v,_,r,t);if(A===n.NEW_FOCUS){var T=(0,a.pickAutofocus)(p,v,(0,l.allParentAutofocusables)(f,d));return T?{node:T}:(console.warn("focus-lock: cannot find any node to move focus into"),undefined)}return A===undefined?A:w[A]}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/focusMerge.js"}],[4455,{"./utils/DOMutils":4461,"./utils/all-affected":4462,"./utils/is":4468,"./utils/parenting":4469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFocusableIn=r.getFocusabledIn=void 0;var n=e("./utils/DOMutils"),i=e("./utils/all-affected"),o=e("./utils/is"),s=e("./utils/parenting");r.getFocusabledIn=function(e){var t=(0,i.getAllAffectedNodes)(e).filter(o.isNotAGuard),r=(0,s.getTopCommonParent)(e,e,t),a=new Map,u=(0,n.getTabbableNodes)([r],a,!0),c=(0,n.getTabbableNodes)(t,a).filter((function(e){var t=e.node;return(0,o.isNotAGuard)(t)})).map((function(e){return e.node}));return u.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:c.indexOf(t)>=0,guard:(0,o.isGuard)(t)}}))},r.getFocusableIn=r.getFocusabledIn}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/focusables.js"}],[4456,{"./constants":4451,"./focusInside":4452,"./focusIsHidden":4453,"./focusMerge":4454,"./focusables":4455,"./setFocus":4457,"./sibling":4458,"./tabHook":4460,"./utils/all-affected":4462,"./utils/getActiveElement":4467,tslib:5615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getActiveElement=r.focusPrevElement=r.focusNextElement=r.getAllAffectedNodes=r.constants=r.getFocusabledIn=r.getFocusableIn=r.focusMerge=r.focusIsHidden=r.focusInside=r.tabHook=void 0;var n=e("tslib"),i=(0,n.__importStar)(e("./constants"));r.constants=i;var o=e("./focusInside");Object.defineProperty(r,"focusInside",{enumerable:!0,get:function(){return o.focusInside}});var s=e("./focusIsHidden");Object.defineProperty(r,"focusIsHidden",{enumerable:!0,get:function(){return s.focusIsHidden}});var a=e("./focusMerge");Object.defineProperty(r,"focusMerge",{enumerable:!0,get:function(){return a.getFocusMerge}});var u=e("./focusables");Object.defineProperty(r,"getFocusabledIn",{enumerable:!0,get:function(){return u.getFocusabledIn}}),Object.defineProperty(r,"getFocusableIn",{enumerable:!0,get:function(){return u.getFocusableIn}});var c=e("./setFocus"),l=e("./sibling");Object.defineProperty(r,"focusNextElement",{enumerable:!0,get:function(){return l.focusNextElement}}),Object.defineProperty(r,"focusPrevElement",{enumerable:!0,get:function(){return l.focusPrevElement}});var f=(0,n.__importDefault)(e("./tabHook"));r.tabHook=f.default;var h=e("./utils/all-affected");Object.defineProperty(r,"getAllAffectedNodes",{enumerable:!0,get:function(){return h.getAllAffectedNodes}});var d=e("./utils/getActiveElement");Object.defineProperty(r,"getActiveElement",{enumerable:!0,get:function(){return d.getActiveElement}}),r.default=c.setFocus}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/index.js"}],[4457,{"./focusMerge":4454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.setFocus=r.focusOn=void 0;var n=e("./focusMerge");r.focusOn=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()};var i=0,o=!1;r.setFocus=function(e,t,s){void 0===s&&(s={});var a=(0,n.getFocusMerge)(e,t);if(!o&&a){if(i>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),o=!0,void setTimeout((function(){o=!1}),1);i++,(0,r.focusOn)(a.node,s.focusOptions),i--}}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/setFocus.js"}],[4458,{"./setFocus":4457,"./utils/DOMutils":4461},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.focusPrevElement=r.focusNextElement=void 0;var n=e("./setFocus"),i=e("./utils/DOMutils"),o=function(e,t){if(!e||!t||!(0,i.contains)(t,e))return{};var r=(0,i.getTabbableNodes)([t],new Map),n=r.findIndex((function(t){return t.node===e}));return-1===n?{}:{prev:r[n-1],next:r[n+1],first:r[0],last:r[r.length-1]}},s=function(e){return Object.assign({scope:document.body,cycle:!0},e)};r.focusNextElement=function(e,t){void 0===t&&(t={});var r=s(t),i=r.scope,a=r.cycle,u=o(e,i),c=u.next,l=u.first,f=c||a&&l;f&&(0,n.focusOn)(f.node,t.focusOptions)};r.focusPrevElement=function(e,t){void 0===t&&(t={});var r=s(t),i=r.scope,a=r.cycle,u=o(e,i),c=u.prev,l=u.last,f=c||a&&l;f&&(0,n.focusOn)(f.node,t.focusOptions)}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/sibling.js"}],[4459,{"./utils/correctFocus":4465,"./utils/firstFocus":4466,"./utils/is":4468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.newFocus=r.NEW_FOCUS=void 0;var n=e("./utils/correctFocus"),i=e("./utils/firstFocus"),o=e("./utils/is");r.NEW_FOCUS="NEW_FOCUS";r.newFocus=function(e,t,s,a){var u=e.length,c=e[0],l=e[u-1],f=(0,o.isGuard)(s);if(s&&e.indexOf(s)>=0)return undefined;var h=s!==undefined?t.indexOf(s):-1,d=a?t.indexOf(a):h,p=a?e.indexOf(a):-1,y=h-d,g=t.indexOf(c),m=t.indexOf(l),b=(0,n.correctNodes)(t),_=(s!==undefined?b.indexOf(s):-1)-(a?b.indexOf(a):h),w=(0,i.pickFocusable)(e,0),v=(0,i.pickFocusable)(e,u-1);return-1===h||-1===p?r.NEW_FOCUS:!y&&p>=0?p:h<=g&&f&&Math.abs(y)>1?v:h>=m&&f&&Math.abs(y)>1?w:y&&Math.abs(_)>1?p:h<=g?v:h>m?w:y?Math.abs(y)>1?p:(u+p+y)%u:undefined}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/solver.js"}],[446,{"./types.js":445,"@ethereumjs/util":457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.txTypeBytes=r.AuthorizationLists=r.AccessLists=r.checkMaxInitCodeSize=void 0;const n=e("@ethereumjs/util"),i=e("./types.js");r.checkMaxInitCodeSize=function(e,t){const r=e.param("vm","maxInitCodeSize");if(r&&BigInt(t)>r)throw new Error(`the initcode size of this transaction is too large: it is ${t} while the max is ${e.param("vm","maxInitCodeSize")}`)};r.AccessLists=class{static getAccessListData(e){let t,r;if((0,i.isAccessList)(e)){t=e;const i=[];for(let t=0;t<e.length;t++){const r=e[t],o=(0,n.hexToBytes)(r.address),s=[];for(let e=0;e<r.storageKeys.length;e++)s.push((0,n.hexToBytes)(r.storageKeys[e]));i.push([o,s])}r=i}else{r=e??[];const i=[];for(let e=0;e<r.length;e++){const t=r[e],o=(0,n.bytesToHex)(t[0]),s=[];for(let e=0;e<t[1].length;e++)s.push((0,n.bytesToHex)(t[1][e]));const a={address:o,storageKeys:s};i.push(a)}t=i}return{AccessListJSON:t,accessList:r}}static verifyAccessList(e){for(let t=0;t<e.length;t++){const r=e[t],n=r[0],i=r[1];if(r[2]!==undefined)throw new Error("Access list item cannot have 3 elements. It can only have an address, and an array of storage slots.");if(20!==n.length)throw new Error("Invalid EIP-2930 transaction: address length should be 20 bytes");for(let e=0;e<i.length;e++)if(32!==i[e].length)throw new Error("Invalid EIP-2930 transaction: storage slot length should be 32 bytes")}}static getAccessListJSON(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r],o={address:(0,n.bytesToHex)((0,n.setLengthLeft)(i[0],20)),storageKeys:[]},s=i[1];for(let e=0;e<s.length;e++){const t=s[e];o.storageKeys.push((0,n.bytesToHex)((0,n.setLengthLeft)(t,32)))}t.push(o)}return t}static getDataFeeEIP2930(e,t){const r=t.param("gasPrices","accessListStorageKeyCost"),n=t.param("gasPrices","accessListAddressCost");let i=0;for(let t=0;t<e.length;t++){i+=e[t][1].length}return e.length*Number(n)+i*Number(r)}};r.AuthorizationLists=class{static getAuthorizationListData(e){let t,r;if((0,i.isAuthorizationList)(e)){t=e;const i=[],o=["chainId","address","nonce","yParity","r","s"];for(let t=0;t<e.length;t++){const r=e[t];for(const e of o)if(r[e]===undefined)throw new Error(`EIP-7702 authorization list invalid: ${e} is not defined`);const s=(0,n.hexToBytes)(r.chainId),a=(0,n.hexToBytes)(r.address),u=(0,n.hexToBytes)(r.nonce),c=(0,n.hexToBytes)(r.yParity),l=(0,n.hexToBytes)(r.r),f=(0,n.hexToBytes)(r.s);i.push([s,a,u,c,l,f])}r=i}else{r=e??[];const i=[];for(let e=0;e<r.length;e++){const t=r[e],o={chainId:(0,n.bytesToHex)(t[0]),address:(0,n.bytesToHex)(t[1]),nonce:(0,n.bytesToHex)(t[2]),yParity:(0,n.bytesToHex)(t[3]),r:(0,n.bytesToHex)(t[4]),s:(0,n.bytesToHex)(t[5])};i.push(o)}t=i}return{AuthorizationListJSON:t,authorizationList:r}}static verifyAuthorizationList(e){for(let t=0;t<e.length;t++){const r=e[t],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5];if((0,n.validateNoLeadingZeroes)({yParity:s,r:a,s:u,nonce:o}),20!==i.length)throw new Error("Invalid EIP-7702 transaction: address length should be 20 bytes")}}static getDataFeeEIP7702(e,t){const r=t.param("gasPrices","perAuthBaseCost");return e.length*Number(r)}},r.txTypeBytes=function(e){return(0,n.hexToBytes)(`0x${e.toString(16).padStart(2,"0")}`)}}}},{package:"@ethereumjs/tx",file:"node_modules/@ethereumjs/tx/dist/cjs/util.js"}],[4460,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default={attach:function(){},detach:function(){}}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/tabHook.js"}],[4461,{"./array":4463,"./is":4468,"./tabOrder":4471,"./tabUtils":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.contains=r.parentAutofocusables=r.getAllTabbableNodes=r.getTabbableNodes=r.filterAutoFocusable=r.filterFocusable=void 0;var n=e("./array"),i=e("./is"),o=e("./tabOrder"),s=e("./tabUtils");r.filterFocusable=function(e,t){return(0,n.toArray)(e).filter((function(e){return(0,i.isVisibleCached)(t,e)})).filter((function(e){return(0,i.notHiddenInput)(e)}))};r.filterAutoFocusable=function(e,t){return void 0===t&&(t=new Map),(0,n.toArray)(e).filter((function(e){return(0,i.isAutoFocusAllowedCached)(t,e)}))};r.getTabbableNodes=function(e,t,n){return(0,o.orderByTabIndex)((0,r.filterFocusable)((0,s.getFocusables)(e,n),t),!0,n)};r.getAllTabbableNodes=function(e,t){return(0,o.orderByTabIndex)((0,r.filterFocusable)((0,s.getFocusables)(e),t),!1)};r.parentAutofocusables=function(e,t){return(0,r.filterFocusable)((0,s.getParentAutofocusables)(e),t)};r.contains=function(e,t){return e.shadowRoot?(0,r.contains)(e.shadowRoot,t):!(Object.getPrototypeOf(e).contains===undefined||!Object.getPrototypeOf(e).contains.call(e,t))||(0,n.toArray)(e.children).some((function(e){var n;if(e instanceof HTMLIFrameElement){var i=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!i&&(0,r.contains)(i,t)}return(0,r.contains)(e,t)}))}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/DOMutils.js"}],[4462,{"../constants":4451,"./array":4463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAllAffectedNodes=void 0;var n=e("../constants"),i=e("./array"),o=function(e){return e.parentNode?o(e.parentNode):e};r.getAllAffectedNodes=function(e){return(0,i.asArray)(e).filter(Boolean).reduce((function(e,t){var r=t.getAttribute(n.FOCUS_GROUP);return e.push.apply(e,r?function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter((function(e,r){return!t.has(r)}))}((0,i.toArray)(o(t).querySelectorAll("[".concat(n.FOCUS_GROUP,'="').concat(r,'"]:not([').concat(n.FOCUS_DISABLED,'="disabled"])')))):[t]),e}),[])}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/all-affected.js"}],[4463,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFirst=r.asArray=r.toArray=void 0;r.toArray=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t};r.asArray=function(e){return Array.isArray(e)?e:[e]};r.getFirst=function(e){return Array.isArray(e)?e[0]:e}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/array.js"}],[4464,{"./DOMutils":4461,"./firstFocus":4466,"./is":4468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pickAutofocus=void 0;var n=e("./DOMutils"),i=e("./firstFocus"),o=e("./is");r.pickAutofocus=function(e,t,r){var s,a=e.map((function(e){return e.node})),u=(0,n.filterAutoFocusable)(a.filter((s=r,function(e){var t,r=null===(t=(0,o.getDataset)(e))||void 0===t?void 0:t.autofocus;return e.autofocus||r!==undefined&&"false"!==r||s.indexOf(e)>=0})));return u&&u.length?(0,i.pickFirstFocus)(u):(0,i.pickFirstFocus)((0,n.filterAutoFocusable)(t))}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/auto-focus.js"}],[4465,{"./is":4468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.correctNodes=r.correctNode=void 0;var n=e("./is");r.correctNode=function(e,t){return(0,n.isRadioElement)(e)&&e.name?function(e,t){return t.filter(n.isRadioElement).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e};r.correctNodes=function(e){var t=new Set;return e.forEach((function(n){return t.add((0,r.correctNode)(n,e))})),e.filter((function(e){return t.has(e)}))}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/correctFocus.js"}],[4466,{"./correctFocus":4465},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pickFocusable=r.pickFirstFocus=void 0;var n=e("./correctFocus");r.pickFirstFocus=function(e){return e[0]&&e.length>1?(0,n.correctNode)(e[0],e):e[0]};r.pickFocusable=function(e,t){return e.length>1?e.indexOf((0,n.correctNode)(e[t],e)):t}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/firstFocus.js"}],[4467,{"./safe":4470},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getActiveElement=void 0;var n=e("./safe");r.getActiveElement=function(e){if(void 0===e&&(e=document),!e||!e.activeElement)return undefined;var t=e.activeElement;return t.shadowRoot?(0,r.getActiveElement)(t.shadowRoot):t instanceof HTMLIFrameElement&&(0,n.safeProbe)((function(){return t.contentWindow.document}))?(0,r.getActiveElement)(t.contentWindow.document):t}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/getActiveElement.js"}],[4468,{"../constants":4451},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isDefined=r.isNotAGuard=r.isGuard=r.isAutoFocusAllowed=r.notHiddenInput=r.isRadioElement=r.isHTMLInputElement=r.isHTMLButtonElement=r.getDataset=r.isAutoFocusAllowedCached=r.isVisibleCached=void 0;var n=e("../constants"),i=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},o=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},s=function(e,t){return!e||o(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(i(e))};r.isVisibleCached=function(e,t){var n=e.get(t);if(n!==undefined)return n;var i=s(t,r.isVisibleCached.bind(undefined,e));return e.set(t,i),i};r.isAutoFocusAllowedCached=function(e,t){var n=e.get(t);if(n!==undefined)return n;var s=function(e,t){return!(e&&!o(e))||!!(0,r.isAutoFocusAllowed)(e)&&t(i(e))}(t,r.isAutoFocusAllowedCached.bind(undefined,e));return e.set(t,s),s};r.getDataset=function(e){return e.dataset};r.isHTMLButtonElement=function(e){return"BUTTON"===e.tagName};r.isHTMLInputElement=function(e){return"INPUT"===e.tagName};r.isRadioElement=function(e){return(0,r.isHTMLInputElement)(e)&&"radio"===e.type};r.notHiddenInput=function(e){return!(((0,r.isHTMLInputElement)(e)||(0,r.isHTMLButtonElement)(e))&&("hidden"===e.type||e.disabled))};r.isAutoFocusAllowed=function(e){var t=e.getAttribute(n.FOCUS_NO_AUTOFOCUS);return![!0,"true",""].includes(t)};r.isGuard=function(e){var t;return Boolean(e&&(null===(t=(0,r.getDataset)(e))||void 0===t?void 0:t.focusGuard))};r.isNotAGuard=function(e){return!(0,r.isGuard)(e)};r.isDefined=function(e){return Boolean(e)}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/is.js"}],[4469,{"./DOMutils":4461,"./array":4463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.allParentAutofocusables=r.getTopCommonParent=r.getCommonParent=void 0;var n=e("./DOMutils"),i=e("./DOMutils"),o=e("./array"),s=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&s(e.parentNode.host||e.parentNode,t),t};r.getCommonParent=function(e,t){for(var r=s(e),n=s(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1};r.getTopCommonParent=function(e,t,n){var s=(0,o.asArray)(e),a=(0,o.asArray)(t),u=s[0],c=!1;return a.filter(Boolean).forEach((function(e){c=(0,r.getCommonParent)(c||e,e)||c,n.filter(Boolean).forEach((function(e){var t=(0,r.getCommonParent)(u,e);t&&(c=!c||(0,i.contains)(t,c)?t:(0,r.getCommonParent)(t,c))}))})),c};r.allParentAutofocusables=function(e,t){return e.reduce((function(e,r){return e.concat((0,n.parentAutofocusables)(r,t))}),[])}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/parenting.js"}],[447,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(Array.isArray(e)){const t=[];let r=0;for(let i=0;i<e.length;i++){const o=n(e[i]);t.push(o),r+=o.length}return d(s(r,192),...t)}const t=m(e);return 1===t.length&&t[0]<128?t:d(s(t.length,128),t)}function i(e,t,r){if(r>e.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return f(l(e))}function s(e,t){if(e<56)return Uint8Array.from([e+t]);const r=y(e),n=y(t+55+r.length/2);return Uint8Array.from(h(n+r))}function a(e,t=!1){if(null==e||0===e.length)return Uint8Array.from([]);const r=u(m(e));if(t)return{data:r.data,remainder:r.remainder.slice()};if(0!==r.remainder.length)throw new Error("invalid RLP: remainder must be zero");return r.data}function u(e){let t,r,n,s,a;const c=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.subarray(1)};if(l<=183){if(t=l-127,n=128===l?Uint8Array.from([]):i(e,1,t),2===t&&n[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:n,remainder:e.subarray(t)}}if(l<=191){if(r=l-182,e.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if(t=o(i(e,1,r)),t<=55)throw new Error("invalid RLP: expected string length to be greater than 55");return n=i(e,r,t+r),{data:n,remainder:e.subarray(t+r)}}if(l<=247){for(t=l-191,s=i(e,1,t);s.length;)a=u(s),c.push(a.data),s=a.remainder;return{data:c,remainder:e.subarray(t)}}{if(r=l-246,t=o(i(e,1,r)),t<56)throw new Error("invalid RLP: encoded list too short");const n=r+t;if(n>e.length)throw new Error("invalid RLP: total length is larger than the data");for(s=i(e,r,n);s.length;)a=u(s),c.push(a.data),s=a.remainder;return{data:c,remainder:e.subarray(n)}}}Object.defineProperty(r,"__esModule",{value:!0}),r.RLP=r.utils=r.decode=r.encode=void 0,r.encode=n,r.decode=a;const c=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function l(e){let t="";for(let r=0;r<e.length;r++)t+=c[e[r]];return t}function f(e){const t=Number.parseInt(e,16);if(Number.isNaN(t))throw new Error("Invalid byte sequence");return t}function h(e){if("string"!=typeof e)throw new TypeError("hexToBytes: expected string, got "+typeof e);if(e.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(e.length/2);for(let r=0;r<t.length;r++){const n=2*r;t[r]=f(e.slice(n,n+2))}return t}function d(...e){if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e+t.length),0),r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.length}return r}function p(e){return(new TextEncoder).encode(e)}function y(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");const t=e.toString(16);return t.length%2?`0${t}`:t}function g(e){return e.length>=2&&"0"===e[0]&&"x"===e[1]}function m(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return g(e)?h((t="string"!=typeof(r=e)?r:g(r)?r.slice(2):r).length%2?`0${t}`:t):p(e);var t,r;if("number"==typeof e||"bigint"==typeof e)return e?h(y(e)):Uint8Array.from([]);if(null===e||e===undefined)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}r.utils={bytesToHex:l,concatBytes:d,hexToBytes:h,utf8ToBytes:p},r.RLP={encode:n,decode:a}}}},{package:"@ethereumjs/tx>@ethereumjs/rlp",file:"node_modules/@ethereumjs/tx/node_modules/@ethereumjs/rlp/dist/cjs/index.js"}],[4470,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.safeProbe=void 0;r.safeProbe=function(e){try{return e()}catch(e){return undefined}}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/safe.js"}],[4471,{"./array":4463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.orderByTabIndex=r.tabSort=void 0;var n=e("./array");r.tabSort=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n};r.orderByTabIndex=function(e,t,i){return(0,n.toArray)(e).map((function(e,t){return{node:e,index:t,tabIndex:i&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(r.tabSort)}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/tabOrder.js"}],[4472,{"../constants":4451,"./array":4463,"./tabbables":4473},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getParentAutofocusables=r.getFocusables=void 0;var n=e("../constants"),i=e("./array"),o=e("./tabbables").tabbables.join(","),s="".concat(o,", [data-focus-guard]"),a=function(e,t){return(0,i.toArray)((e.shadowRoot||e).children).reduce((function(e,r){return e.concat(r.matches(t?s:o)?[r]:[],a(r))}),[])};r.getFocusables=function(e,t){return e.reduce((function(e,n){var s,u=a(n,t),c=(s=[]).concat.apply(s,u.map((function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?(0,r.getFocusables)([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(c,n.parentNode?(0,i.toArray)(n.parentNode.querySelectorAll(o)).filter((function(e){return e===n})):[])}),[])};r.getParentAutofocusables=function(e){var t=e.querySelectorAll("[".concat(n.FOCUS_AUTO,"]"));return(0,i.toArray)(t).map((function(e){return(0,r.getFocusables)([e])})).reduce((function(e,t){return e.concat(t)}),[])}}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/tabUtils.js"}],[4473,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.tabbables=void 0,r.tabbables=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"]}}},{package:"react-focus-lock>focus-lock",file:"node_modules/focus-lock/dist/es5/utils/tabbables.js"}],[4474,{"is-callable":4658},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-callable"),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=r),"[object Array]"===i.call(e)?function(e,t,r){for(var n=0,i=e.length;n<i;n++)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s):"string"==typeof e?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(e,t,s):function(e,t,r){for(var n in e)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s)}}}},{package:"browserify>util>which-typed-array>for-each",file:"node_modules/for-each/index.js"}],[4475,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.prototype.toString,i=Math.max,o=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==n.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r,s=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r}(arguments,1),a=i(0,t.length-s.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(r=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(u,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var n=t.apply(this,o(s,arguments));return Object(n)===n?n:this}return t.apply(e,o(s,arguments))})),t.prototype){var l=function(){};l.prototype=t.prototype,r.prototype=new l,l.prototype=null}return r}}}},{package:"browserify>has>function-bind",file:"node_modules/function-bind/implementation.js"}],[4476,{"./implementation":4475},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./implementation");t.exports=Function.prototype.bind||n}}},{package:"browserify>has>function-bind",file:"node_modules/function-bind/index.js"}],[4479,{"call-bind-apply-helpers/functionApply":4085,"call-bind-apply-helpers/functionCall":4086,"es-define-property":4264,"es-errors":4266,"es-errors/eval":4265,"es-errors/range":4267,"es-errors/ref":4268,"es-errors/syntax":4269,"es-errors/type":4270,"es-errors/uri":4271,"es-object-atoms":4273,"function-bind":4476,"get-proto":4483,"get-proto/Object.getPrototypeOf":4481,"get-proto/Reflect.getPrototypeOf":4482,gopd:4492,"has-symbols":4615,hasown:4631,"math-intrinsics/abs":4867,"math-intrinsics/floor":4868,"math-intrinsics/max":4870,"math-intrinsics/min":4871,"math-intrinsics/pow":4872,"math-intrinsics/round":4873,"math-intrinsics/sign":4874},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=e("es-object-atoms"),o=e("es-errors"),s=e("es-errors/eval"),a=e("es-errors/range"),u=e("es-errors/ref"),c=e("es-errors/syntax"),l=e("es-errors/type"),f=e("es-errors/uri"),h=e("math-intrinsics/abs"),d=e("math-intrinsics/floor"),p=e("math-intrinsics/max"),y=e("math-intrinsics/min"),g=e("math-intrinsics/pow"),m=e("math-intrinsics/round"),b=e("math-intrinsics/sign"),_=Function,w=function(e){try{return _('"use strict"; return ('+e+").constructor;")()}catch(e){}},v=e("gopd"),A=e("es-define-property"),T=function(){throw new l},E=v?function(){try{return T}catch(e){try{return v(arguments,"callee").get}catch(e){return T}}}():T,j=e("has-symbols")(),x=e("get-proto"),k=e("get-proto/Object.getPrototypeOf"),P=e("get-proto/Reflect.getPrototypeOf"),S=e("call-bind-apply-helpers/functionApply"),O=e("call-bind-apply-helpers/functionCall"),I={},N="undefined"!=typeof Uint8Array&&x?x(Uint8Array):n,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":j&&x?x([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&x?x(x([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&j&&x?x((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&j&&x?x((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&x?x(""[Symbol.iterator]()):n,"%Symbol%":j?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":E,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":S,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":k,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":b,"%Reflect.getPrototypeOf%":P};if(x)try{null.error}catch(e){var U=x(x(e));R["%Error.prototype%"]=U}var B=function e(t){var r;if("%AsyncFunction%"===t)r=w("async function () {}");else if("%GeneratorFunction%"===t)r=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=w("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&x&&(r=x(i.prototype))}return R[t]=r,r},C={__proto__:null,"%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"]},L=e("function-bind"),F=e("hasown"),D=L.call(O,Array.prototype.concat),M=L.call(S,Array.prototype.splice),z=L.call(O,String.prototype.replace),G=L.call(O,String.prototype.slice),H=L.call(O,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,$=function(e,t){var r,n=e;if(F(C,n)&&(n="%"+(r=C[n])[0]+"%"),F(R,n)){var i=R[n];if(i===I&&(i=B(n)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new c("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=G(e,0,1),r=G(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,V,(function(e,t,r,i){n[n.length]=r?z(i,K,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=$("%"+n+"%",t),o=i.name,s=i.value,a=!1,u=i.alias;u&&(n=u[0],M(r,D([0,1],u)));for(var f=1,h=!0;f<r.length;f+=1){var d=r[f],p=G(d,0,1),y=G(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new c("property names with quotes must have matching quotes");if("constructor"!==d&&h||(a=!0),F(R,o="%"+(n+="."+d)+"%"))s=R[o];else if(null!=s){if(!(d in s)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(v&&f+1>=r.length){var g=v(s,d);s=(h=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:s[d]}else h=F(s,d),s=s[d];h&&!a&&(R[o]=s)}}return s}}}},{package:"string.prototype.matchall>get-intrinsic",file:"node_modules/get-intrinsic/index.js"}],[448,{"./bytes.js":452,"./constants.js":453,"./helpers.js":456,"./internal.js":458,"@ethereumjs/rlp":469,"ethereum-cryptography/keccak.js":4300,"ethereum-cryptography/secp256k1.js":4317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.accountBodyToRLP=r.accountBodyToSlim=r.accountBodyFromSlim=r.isZeroAddress=r.zeroAddress=r.importPublic=r.privateToAddress=r.privateToPublic=r.publicToAddress=r.pubToAddress=r.isValidPublic=r.isValidPrivate=r.generateAddress2=r.generateAddress=r.isValidChecksumAddress=r.toChecksumAddress=r.isValidAddress=r.Account=void 0;const n=e("@ethereumjs/rlp"),i=e("ethereum-cryptography/keccak.js"),o=e("ethereum-cryptography/secp256k1.js"),s=e("./bytes.js"),a=e("./constants.js"),u=e("./helpers.js"),c=e("./internal.js");class l{constructor(e=a.BIGINT_0,t=a.BIGINT_0,r=a.KECCAK256_RLP,n=a.KECCAK256_NULL,i=null,o=0){this._nonce=null,this._balance=null,this._storageRoot=null,this._codeHash=null,this._codeSize=null,this._version=null,this._nonce=e,this._balance=t,this._storageRoot=r,this._codeHash=n,null!==i||null===n||this.isContract()||(i=0),this._codeSize=i,this._version=o,this._validate()}get version(){if(null!==this._version)return this._version;throw Error(`version=${this._version} not loaded`)}set version(e){this._version=e}get nonce(){if(null!==this._nonce)return this._nonce;throw Error(`nonce=${this._nonce} not loaded`)}set nonce(e){this._nonce=e}get balance(){if(null!==this._balance)return this._balance;throw Error(`balance=${this._balance} not loaded`)}set balance(e){this._balance=e}get storageRoot(){if(null!==this._storageRoot)return this._storageRoot;throw Error(`storageRoot=${this._storageRoot} not loaded`)}set storageRoot(e){this._storageRoot=e}get codeHash(){if(null!==this._codeHash)return this._codeHash;throw Error(`codeHash=${this._codeHash} not loaded`)}set codeHash(e){this._codeHash=e}get codeSize(){if(null!==this._codeSize)return this._codeSize;throw Error(`codeHash=${this._codeSize} not loaded`)}set codeSize(e){this._codeSize=e}static fromAccountData(e){const{nonce:t,balance:r,storageRoot:n,codeHash:i}=e;if(null===t||null===r||null===n||null===i)throw Error("Partial fields not supported in fromAccountData");return new l(t!==undefined?(0,s.bytesToBigInt)((0,s.toBytes)(t)):undefined,r!==undefined?(0,s.bytesToBigInt)((0,s.toBytes)(r)):undefined,n!==undefined?(0,s.toBytes)(n):undefined,i!==undefined?(0,s.toBytes)(i):undefined)}static fromPartialAccountData(e){const{nonce:t,balance:r,storageRoot:n,codeHash:i,codeSize:o,version:a}=e;if(null===t&&null===r&&null===n&&null===i&&null===o&&null===a)throw Error("All partial fields null");return new l(t!==undefined&&null!==t?(0,s.bytesToBigInt)((0,s.toBytes)(t)):t,r!==undefined&&null!==r?(0,s.bytesToBigInt)((0,s.toBytes)(r)):r,n!==undefined&&null!==n?(0,s.toBytes)(n):n,i!==undefined&&null!==i?(0,s.toBytes)(i):i,o!==undefined&&null!==o?(0,s.bytesToInt)((0,s.toBytes)(o)):o,a!==undefined&&null!==a?(0,s.bytesToInt)((0,s.toBytes)(a)):a)}static fromRlpSerializedAccount(e){const t=n.RLP.decode(e);if(!Array.isArray(t))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)}static fromRlpSerializedPartialAccount(e){const t=n.RLP.decode(e);if(!Array.isArray(t))throw new Error("Invalid serialized account input. Must be array");let r=null;if(!Array.isArray(t[0]))throw new Error("Invalid partial nonce encoding. Must be array");{const e=(0,s.bytesToInt)(t[0][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for nonce`);1===e&&(r=(0,s.bytesToBigInt)(t[0][1]))}let i=null;if(!Array.isArray(t[1]))throw new Error("Invalid partial balance encoding. Must be array");{const e=(0,s.bytesToInt)(t[1][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for balance`);1===e&&(i=(0,s.bytesToBigInt)(t[1][1]))}let o=null;if(!Array.isArray(t[2]))throw new Error("Invalid partial storageRoot encoding. Must be array");{const e=(0,s.bytesToInt)(t[2][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for storageRoot`);1===e&&(o=t[2][1])}let a=null;if(!Array.isArray(t[3]))throw new Error("Invalid partial codeHash encoding. Must be array");{const e=(0,s.bytesToInt)(t[3][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for codeHash`);1===e&&(a=t[3][1])}let u=null;if(!Array.isArray(t[4]))throw new Error("Invalid partial codeSize encoding. Must be array");{const e=(0,s.bytesToInt)(t[4][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for codeSize`);1===e&&(u=(0,s.bytesToInt)(t[4][1]))}let c=null;if(!Array.isArray(t[5]))throw new Error("Invalid partial version encoding. Must be array");{const e=(0,s.bytesToInt)(t[5][0]);if(0!==e&&1!==e)throw new Error(`Invalid isNullIndicator=${e} for version`);1===e&&(c=(0,s.bytesToInt)(t[5][1]))}return this.fromPartialAccountData({balance:i,nonce:r,storageRoot:o,codeHash:a,codeSize:u,version:c})}static fromValuesArray(e){const[t,r,n,i]=e;return new l((0,s.bytesToBigInt)(t),(0,s.bytesToBigInt)(r),n,i)}_validate(){if(null!==this._nonce&&this._nonce<a.BIGINT_0)throw new Error("nonce must be greater than zero");if(null!==this._balance&&this._balance<a.BIGINT_0)throw new Error("balance must be greater than zero");if(null!==this._storageRoot&&32!==this._storageRoot.length)throw new Error("storageRoot must have a length of 32");if(null!==this._codeHash&&32!==this._codeHash.length)throw new Error("codeHash must have a length of 32");if(null!==this._codeSize&&this._codeSize<a.BIGINT_0)throw new Error("codeSize must be greater than zero")}raw(){return[(0,s.bigIntToUnpaddedBytes)(this.nonce),(0,s.bigIntToUnpaddedBytes)(this.balance),this.storageRoot,this.codeHash]}serialize(){return n.RLP.encode(this.raw())}serializeWithPartialInfo(){const e=[],t=(0,s.intToUnpaddedBytes)(0),r=(0,s.intToUnpaddedBytes)(1);return null!==this._nonce?e.push([r,(0,s.bigIntToUnpaddedBytes)(this._nonce)]):e.push([t]),null!==this._balance?e.push([r,(0,s.bigIntToUnpaddedBytes)(this._balance)]):e.push([t]),null!==this._storageRoot?e.push([r,this._storageRoot]):e.push([t]),null!==this._codeHash?e.push([r,this._codeHash]):e.push([t]),null!==this._codeSize?e.push([r,(0,s.intToUnpaddedBytes)(this._codeSize)]):e.push([t]),null!==this._version?e.push([r,(0,s.intToUnpaddedBytes)(this._version)]):e.push([t]),n.RLP.encode(e)}isContract(){if(null===this._codeHash&&null===this._codeSize)throw Error("Insufficient data as codeHash=null and codeSize=null");return null!==this._codeHash&&!(0,s.equalsBytes)(this._codeHash,a.KECCAK256_NULL)||null!==this._codeSize&&0!==this._codeSize}isEmpty(){return!(null!==this._balance&&this.balance!==a.BIGINT_0||null===this._nonce&&this.nonce!==a.BIGINT_0||null!==this._codeHash&&!(0,s.equalsBytes)(this.codeHash,a.KECCAK256_NULL))&&(this.balance===a.BIGINT_0&&this.nonce===a.BIGINT_0&&(0,s.equalsBytes)(this.codeHash,a.KECCAK256_NULL))}}r.Account=l;r.isValidAddress=function(e){try{(0,u.assertIsString)(e)}catch(e){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};r.toChecksumAddress=function(e,t){(0,u.assertIsHexString)(e);const r=(0,c.stripHexPrefix)(e).toLowerCase();let n="";if(t!==undefined){n=(0,s.bytesToBigInt)((0,s.toBytes)(t)).toString()+"0x"}const o=(0,s.utf8ToBytes)(n+r),a=(0,s.bytesToHex)((0,i.keccak256)(o)).slice(2);let l="";for(let e=0;e<r.length;e++)parseInt(a[e],16)>=8?l+=r[e].toUpperCase():l+=r[e];return`0x${l}`};r.isValidChecksumAddress=function(e,t){return(0,r.isValidAddress)(e)&&(0,r.toChecksumAddress)(e,t)===e};r.generateAddress=function(e,t){return(0,u.assertIsBytes)(e),(0,u.assertIsBytes)(t),(0,s.bytesToBigInt)(t)===a.BIGINT_0?(0,i.keccak256)(n.RLP.encode([e,Uint8Array.from([])])).subarray(-20):(0,i.keccak256)(n.RLP.encode([e,t])).subarray(-20)};r.generateAddress2=function(e,t,r){if((0,u.assertIsBytes)(e),(0,u.assertIsBytes)(t),(0,u.assertIsBytes)(r),20!==e.length)throw new Error("Expected from to be of length 20");if(32!==t.length)throw new Error("Expected salt to be of length 32");return(0,i.keccak256)((0,s.concatBytes)((0,s.hexToBytes)("0xff"),e,t,(0,i.keccak256)(r))).subarray(-20)};r.isValidPrivate=function(e){return o.secp256k1.utils.isValidPrivateKey(e)};r.isValidPublic=function(e,t=!1){if((0,u.assertIsBytes)(e),64===e.length)try{return o.secp256k1.ProjectivePoint.fromHex((0,s.concatBytes)(Uint8Array.from([4]),e)),!0}catch(e){return!1}if(!t)return!1;try{return o.secp256k1.ProjectivePoint.fromHex(e),!0}catch(e){return!1}};r.pubToAddress=function(e,t=!1){if((0,u.assertIsBytes)(e),t&&64!==e.length&&(e=o.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1)),64!==e.length)throw new Error("Expected pubKey to be of length 64");return(0,i.keccak256)(e).subarray(-20)},r.publicToAddress=r.pubToAddress;r.privateToPublic=function(e){return(0,u.assertIsBytes)(e),o.secp256k1.ProjectivePoint.fromPrivateKey(e).toRawBytes(!1).slice(1)};r.privateToAddress=function(e){return(0,r.publicToAddress)((0,r.privateToPublic)(e))};r.importPublic=function(e){return(0,u.assertIsBytes)(e),64!==e.length&&(e=o.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1)),e};r.zeroAddress=function(){const e=(0,s.zeros)(20);return(0,s.bytesToHex)(e)};function f(e){const[t,r,n,i]=e;return[t,r,0===n.length?a.KECCAK256_RLP:n,0===i.length?a.KECCAK256_NULL:i]}r.isZeroAddress=function(e){try{(0,u.assertIsString)(e)}catch(e){return!1}return(0,r.zeroAddress)()===e},r.accountBodyFromSlim=f;const h=new Uint8Array(0);r.accountBodyToSlim=function(e){const[t,r,n,i]=e;return[t,r,(0,s.equalsBytes)(n,a.KECCAK256_RLP)?h:n,(0,s.equalsBytes)(i,a.KECCAK256_NULL)?h:i]},r.accountBodyToRLP=function(e,t=!0){const r=t?f(e):e;return n.RLP.encode(r)}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/account.js"}],[4481,{"es-object-atoms":4273},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-object-atoms");t.exports=n.getPrototypeOf||null}}},{package:"string.prototype.matchall>get-intrinsic>get-proto",file:"node_modules/get-proto/Object.getPrototypeOf.js"}],[4482,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null}}},{package:"string.prototype.matchall>get-intrinsic>get-proto",file:"node_modules/get-proto/Reflect.getPrototypeOf.js"}],[4483,{"./Object.getPrototypeOf":4481,"./Reflect.getPrototypeOf":4482,"dunder-proto/get":4246},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./Reflect.getPrototypeOf"),i=e("./Object.getPrototypeOf"),o=e("dunder-proto/get");t.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null}}},{package:"string.prototype.matchall>get-intrinsic>get-proto",file:"node_modules/get-proto/index.js"}],[449,{"./account.js":448,"./bytes.js":452,"./constants.js":453},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Address=void 0;const n=e("./account.js"),i=e("./bytes.js"),o=e("./constants.js");class s{constructor(e){if(20!==e.length)throw new Error("Invalid address length");this.bytes=e}static zero(){return new s((0,i.zeros)(20))}static fromString(e){if(!(0,n.isValidAddress)(e))throw new Error(`Invalid address input=${e}`);return new s((0,i.hexToBytes)(e))}static fromPublicKey(e){if(!(e instanceof Uint8Array))throw new Error("Public key should be Uint8Array");const t=(0,n.pubToAddress)(e);return new s(t)}static fromPrivateKey(e){if(!(e instanceof Uint8Array))throw new Error("Private key should be Uint8Array");const t=(0,n.privateToAddress)(e);return new s(t)}static generate(e,t){if("bigint"!=typeof t)throw new Error("Expected nonce to be a bigint");return new s((0,n.generateAddress)(e.bytes,(0,i.bigIntToBytes)(t)))}static generate2(e,t,r){if(!(t instanceof Uint8Array))throw new Error("Expected salt to be a Uint8Array");if(!(r instanceof Uint8Array))throw new Error("Expected initCode to be a Uint8Array");return new s((0,n.generateAddress2)(e.bytes,t,r))}equals(e){return(0,i.equalsBytes)(this.bytes,e.bytes)}isZero(){return this.equals(s.zero())}isPrecompileOrSystemAddress(){const e=(0,i.bytesToBigInt)(this.bytes),t=o.BIGINT_0,r=BigInt("0xffff");return e>=t&&e<=r}toString(){return(0,i.bytesToHex)(this.bytes)}toBytes(){return new Uint8Array(this.bytes)}}r.Address=s}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/address.js"}],[4491,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=Object.getOwnPropertyDescriptor}}},{package:"string.prototype.matchall>es-abstract>gopd",file:"node_modules/gopd/gOPD.js"}],[4492,{"./gOPD":4491},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./gOPD");if(n)try{n([],"length")}catch(e){n=null}t.exports=n}}},{package:"string.prototype.matchall>es-abstract>gopd",file:"node_modules/gopd/index.js"}],[450,{events:4399},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncEventEmitter=void 0;const n=e("events");class i extends n.EventEmitter{emit(e,...t){let[r,n]=t;const i=this;let o=i._events[e]??[];return n===undefined&&"function"==typeof r&&(n=r,r=undefined),"newListener"!==e&&"removeListener"!==e||(r={event:r,fn:n},n=undefined),o=Array.isArray(o)?o:[o],async function(e,t,r){let n;for await(const i of t)try{i.length<2?i.call(e,r):await new Promise(((t,n)=>{i.call(e,r,(e=>{e?n(e):t()}))}))}catch(e){n=e}if(n)throw n}(i,o.slice(),r).then(n).catch(n),i.listenerCount(e)>0}once(e,t){const r=this;let n;if("function"!=typeof t)throw new TypeError("listener must be a function");return n=t.length>=2?function(i,o){r.removeListener(e,n),t(i,o)}:function(i){r.removeListener(e,n),t(i,n)},r.on(e,n),r}first(e,t){let r=this._events[e]??[];if("function"!=typeof t)throw new TypeError("listener must be a function");return Array.isArray(r)||(this._events[e]=r=[r]),r.unshift(t),this}before(e,t,r){return this.beforeOrAfter(e,t,r)}after(e,t,r){return this.beforeOrAfter(e,t,r,"after")}beforeOrAfter(e,t,r,n){let i,o,s=this._events[e]??[];const a="after"===n?1:0;if("function"!=typeof r)throw new TypeError("listener must be a function");if("function"!=typeof t)throw new TypeError("target must be a function");for(Array.isArray(s)||(this._events[e]=s=[s]),o=s.length,i=s.length;i--;)if(s[i]===t){o=i+a;break}return s.splice(o,0,r),this}on(e,t){return super.on(e,t)}addListener(e,t){return super.addListener(e,t)}prependListener(e,t){return super.prependListener(e,t)}prependOnceListener(e,t){return super.prependOnceListener(e,t)}removeAllListeners(e){return super.removeAllListeners(e)}removeListener(e,t){return super.removeListener(e,t)}eventNames(){return super.eventNames()}listeners(e){return super.listeners(e)}listenerCount(e){return super.listenerCount(e)}getMaxListeners(){return super.getMaxListeners()}setMaxListeners(e){return super.setMaxListeners(e)}}r.AsyncEventEmitter=i}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/asyncEventEmitter.js"}],[451,{"./bytes.js":452,"ethereum-cryptography/sha256.js":4318},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.commitmentsToVersionedHashes=r.computeVersionedHash=r.blobsToProofs=r.blobsToCommitments=r.getBlobs=void 0;const n=e("ethereum-cryptography/sha256.js"),i=e("./bytes.js"),o=4096,s=131072;function a(e){const t=new Uint8Array(131072);for(let r=0;r<o;r++){const n=new Uint8Array(32);n.set(e.subarray(31*r,31*(r+1)),0),t.set(n,32*r)}return t}r.getBlobs=e=>{const t=(0,i.utf8ToBytes)(e),r=t.byteLength;if(0===r)throw Error("invalid blob data");if(r>262143)throw Error("blob data is too large");const n=Math.ceil(r/s),o=function(e,t){const r=new Uint8Array(t*s).fill(0);return r.set(e),r[e.byteLength]=128,r}(t,n),u=[];for(let e=0;e<n;e++){const t=a(o.subarray(e*s,(e+1)*s));u.push(t)}return u};r.blobsToCommitments=(e,t)=>{const r=[];for(const n of t)r.push(e.blobToKzgCommitment(n));return r};r.blobsToProofs=(e,t,r)=>t.map(((t,n)=>e.computeBlobKzgProof(t,r[n])));r.computeVersionedHash=(e,t)=>{const r=new Uint8Array(32);return r.set([t],0),r.set((0,n.sha256)(e).subarray(1),1),r};r.commitmentsToVersionedHashes=e=>{const t=[];for(const n of e)t.push((0,r.computeVersionedHash)(n,1));return t}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/blobs.js"}],[452,{"./helpers.js":456,"./internal.js":458,"ethereum-cryptography/random.js":4316,"ethereum-cryptography/utils.js":4319},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hexToBigInt=r.utf8ToBytes=r.equalsBytes=r.bytesToUtf8=r.bigInt64ToBytes=r.int32ToBytes=r.bytesToBigInt64=r.bytesToInt32=r.concatBytes=r.randomBytes=r.compareBytes=r.intToUnpaddedBytes=r.bigIntToAddressBytes=r.bigIntToUnpaddedBytes=r.bigIntMin=r.bigIntMax=r.bigIntToHex=r.validateNoLeadingZeroes=r.short=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.toBytes=r.unpadHex=r.unpadArray=r.unpadBytes=r.setLengthRight=r.setLengthLeft=r.zeros=r.bigIntToBytes=r.intToBytes=r.intToHex=r.hexToBytes=r.bytesToInt=r.bytesToBigInt=r.bytesToHex=r.unprefixedHexToBytes=r.bytesToUnprefixedHex=void 0;const n=e("ethereum-cryptography/random.js"),i=e("ethereum-cryptography/utils.js"),o=e("./helpers.js"),s=e("./internal.js"),a=BigInt(0);r.bytesToUnprefixedHex=i.bytesToHex;const u={},c={};for(let e=0;e<16;e++){const t=e,r=16*e,n=e.toString(16).toLowerCase();c[n]=t,c[n.toUpperCase()]=t,u[n]=r,u[n.toUpperCase()]=r}function l(e){const t=e.length,r=new Uint8Array(t/2);for(let n=0;n<t;n+=2)r[n/2]=u[e[n]]+c[e[n+1]];return r}r.unprefixedHexToBytes=e=>{if("0x"===e.slice(0,2))throw new Error("hex string is prefixed with 0x, should be unprefixed");return l((0,s.padToEven)(e))};const f=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));r.bytesToHex=e=>{let t="0x";if(e===undefined||0===e.length)return t;for(const r of e)t=`${t}${f[r]}`;return t};const h=[];for(let e=0;e<=65535;e++)h[e]=BigInt(e);r.bytesToBigInt=(e,t=!1)=>{t&&e.reverse();const n=(0,r.bytesToHex)(e);return"0x"===n?a:4===n.length?h[e[0]]:6===n.length?h[256*e[0]+e[1]]:BigInt(n)};r.bytesToInt=e=>{const t=Number((0,r.bytesToBigInt)(e));if(!Number.isSafeInteger(t))throw new Error("Number exceeds 53 bits");return t};r.hexToBytes=e=>{if("string"!=typeof e)throw new Error(`hex argument type ${typeof e} must be of type string`);if(!/^0x[0-9a-fA-F]*$/.test(e))throw new Error(`Input must be a 0x-prefixed hexadecimal string, got ${e}`);const t=e.slice(2);return l(t.length%2==0?t:(0,s.padToEven)(t))};r.intToHex=e=>{if(!Number.isSafeInteger(e)||e<0)throw new Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`};r.intToBytes=e=>{const t=(0,r.intToHex)(e);return(0,r.hexToBytes)(t)};r.bigIntToBytes=(e,t=!1)=>{const n=(0,r.toBytes)(`0x${(0,s.padToEven)(e.toString(16))}`);return t?n.reverse():n};r.zeros=e=>new Uint8Array(e);const d=(e,t,n)=>n?e.length<t?new Uint8Array([...e,...(0,r.zeros)(t-e.length)]):e.subarray(0,t):e.length<t?new Uint8Array([...(0,r.zeros)(t-e.length),...e]):e.subarray(-t);r.setLengthLeft=(e,t)=>((0,o.assertIsBytes)(e),d(e,t,!1));r.setLengthRight=(e,t)=>((0,o.assertIsBytes)(e),d(e,t,!0));const p=e=>{let t=e[0];for(;e.length>0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};r.unpadBytes=e=>((0,o.assertIsBytes)(e),p(e));r.unpadArray=e=>((0,o.assertIsArray)(e),p(e));r.unpadHex=e=>((0,o.assertIsHexString)(e),`0x${p((0,s.stripHexPrefix)(e))}`);r.toBytes=e=>{if(null===e||e===undefined)return new Uint8Array;if(Array.isArray(e)||e instanceof Uint8Array)return Uint8Array.from(e);if("string"==typeof e){if(!(0,s.isHexString)(e))throw new Error(`Cannot convert string to Uint8Array. toBytes only supports 0x-prefixed hex strings and this string was given: ${e}`);return(0,r.hexToBytes)(e)}if("number"==typeof e)return(0,r.intToBytes)(e);if("bigint"==typeof e){if(e<a)throw new Error(`Cannot convert negative bigint to Uint8Array. Given: ${e}`);let t=e.toString(16);return t.length%2&&(t="0"+t),(0,r.unprefixedHexToBytes)(t)}if(e.toBytes!==undefined)return e.toBytes();throw new Error("invalid type")};r.fromSigned=e=>BigInt.asIntN(256,(0,r.bytesToBigInt)(e));r.toUnsigned=e=>(0,r.bigIntToBytes)(BigInt.asUintN(256,e));r.addHexPrefix=e=>"string"!=typeof e||(0,s.isHexString)(e)?e:`0x${e}`;r.short=(e,t=50)=>{const n=e instanceof Uint8Array?(0,r.bytesToHex)(e):e,i="0x"===n.slice(0,2)?t+2:t;return n.length<=i?n:n.slice(0,i)+"…"};r.validateNoLeadingZeroes=e=>{for(const[t,n]of Object.entries(e))if(n!==undefined&&n.length>0&&0===n[0])throw new Error(`${t} cannot have leading zeroes, received: ${(0,r.bytesToHex)(n)}`)};r.bigIntToHex=e=>`0x${e.toString(16)}`;r.bigIntMax=(...e)=>e.reduce(((e,t)=>t>e?t:e));r.bigIntMin=(...e)=>e.reduce(((e,t)=>t<e?t:e));r.bigIntToUnpaddedBytes=e=>(0,r.unpadBytes)((0,r.bigIntToBytes)(e));r.bigIntToAddressBytes=(e,t=!0)=>{const n=(0,r.bigIntToBytes)(e);if(t&&n.length>20)throw Error(`Invalid address bytes length=${n.length} strict=${t}`);return(0,r.setLengthLeft)(n,20)};r.intToUnpaddedBytes=e=>(0,r.unpadBytes)((0,r.intToBytes)(e));r.compareBytes=(e,t)=>{const n=(0,r.bytesToBigInt)(e),i=(0,r.bytesToBigInt)(t);return n>i?1:n<i?-1:0};r.randomBytes=e=>(0,n.getRandomBytesSync)(e);r.concatBytes=(...e)=>{if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e+t.length),0),r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.length}return r},r.bytesToInt32=function(e,t=!1){return e.length<4&&(e=d(e,4,t)),new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(0,t)},r.bytesToBigInt64=function(e,t=!1){return e.length<8&&(e=d(e,8,t)),new DataView(e.buffer,e.byteOffset,e.byteLength).getBigUint64(0,t)},r.int32ToBytes=function(e,t=!1){const r=new ArrayBuffer(4);return new DataView(r).setUint32(0,e,t),new Uint8Array(r)},r.bigInt64ToBytes=function(e,t=!1){const r=new ArrayBuffer(8);return new DataView(r).setBigUint64(0,e,t),new Uint8Array(r)};var y=e("ethereum-cryptography/utils.js");Object.defineProperty(r,"bytesToUtf8",{enumerable:!0,get:function(){return y.bytesToUtf8}}),Object.defineProperty(r,"equalsBytes",{enumerable:!0,get:function(){return y.equalsBytes}}),Object.defineProperty(r,"utf8ToBytes",{enumerable:!0,get:function(){return y.utf8ToBytes}}),r.hexToBigInt=function(e){return(0,r.bytesToBigInt)((0,r.hexToBytes)((0,s.isHexString)(e)?e:`0x${e}`))}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/bytes.js"}],[453,{"./bytes.js":452,"ethereum-cryptography/secp256k1.js":4317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BIGINT_2EXP256=r.BIGINT_2EXP224=r.BIGINT_2EXP160=r.BIGINT_2EXP96=r.BIGINT_224=r.BIGINT_160=r.BIGINT_100=r.BIGINT_96=r.BIGINT_256=r.BIGINT_255=r.BIGINT_128=r.BIGINT_64=r.BIGINT_32=r.BIGINT_31=r.BIGINT_28=r.BIGINT_27=r.BIGINT_8=r.BIGINT_7=r.BIGINT_3=r.BIGINT_2=r.BIGINT_1=r.BIGINT_0=r.BIGINT_NEG1=r.RIPEMD160_ADDRESS_STRING=r.MAX_WITHDRAWALS_PER_PAYLOAD=r.RLP_EMPTY_STRING=r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.SECP256K1_ORDER_DIV_2=r.SECP256K1_ORDER=r.MAX_INTEGER_BIGINT=r.MAX_INTEGER=r.MAX_UINT64=void 0;const n=e("ethereum-cryptography/secp256k1.js"),i=e("./bytes.js");r.MAX_UINT64=BigInt("0xffffffffffffffff"),r.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),r.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),r.SECP256K1_ORDER=n.secp256k1.CURVE.n,r.SECP256K1_ORDER_DIV_2=n.secp256k1.CURVE.n/BigInt(2),r.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),r.KECCAK256_NULL_S="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=(0,i.hexToBytes)(r.KECCAK256_NULL_S),r.KECCAK256_RLP_ARRAY_S="0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=(0,i.hexToBytes)(r.KECCAK256_RLP_ARRAY_S),r.KECCAK256_RLP_S="0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=(0,i.hexToBytes)(r.KECCAK256_RLP_S),r.RLP_EMPTY_STRING=Uint8Array.from([128]),r.MAX_WITHDRAWALS_PER_PAYLOAD=16,r.RIPEMD160_ADDRESS_STRING="0000000000000000000000000000000000000003",r.BIGINT_NEG1=BigInt(-1),r.BIGINT_0=BigInt(0),r.BIGINT_1=BigInt(1),r.BIGINT_2=BigInt(2),r.BIGINT_3=BigInt(3),r.BIGINT_7=BigInt(7),r.BIGINT_8=BigInt(8),r.BIGINT_27=BigInt(27),r.BIGINT_28=BigInt(28),r.BIGINT_31=BigInt(31),r.BIGINT_32=BigInt(32),r.BIGINT_64=BigInt(64),r.BIGINT_128=BigInt(128),r.BIGINT_255=BigInt(255),r.BIGINT_256=BigInt(256),r.BIGINT_96=BigInt(96),r.BIGINT_100=BigInt(100),r.BIGINT_160=BigInt(160),r.BIGINT_224=BigInt(224),r.BIGINT_2EXP96=BigInt(7922816251426434e13),r.BIGINT_2EXP160=BigInt(1461501637330903e33),r.BIGINT_2EXP224=BigInt(2695994666715064e52),r.BIGINT_2EXP256=r.BIGINT_2**r.BIGINT_256}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/constants.js"}],[454,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ValueEncoding=r.KeyEncoding=void 0,function(e){e.String="string",e.Bytes="view",e.Number="number"}(r.KeyEncoding||(r.KeyEncoding={})),function(e){e.String="string",e.Bytes="view",e.JSON="json"}(r.ValueEncoding||(r.ValueEncoding={}))}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/db.js"}],[455,{"./bytes.js":452,"./internal.js":458},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseGethGenesisState=void 0;const n=e("./bytes.js"),i=e("./internal.js");r.parseGethGenesisState=function(e){const t={};for(const r of Object.keys(e.alloc)){let{balance:o,code:s,storage:a,nonce:u}=e.alloc[r];const c=(0,n.addHexPrefix)(r.toLowerCase());o=(0,i.isHexString)(o)?o:(0,n.bigIntToHex)(BigInt(o)),s=s!==undefined?(0,n.addHexPrefix)(s):undefined,a=a!==undefined?Object.entries(a):undefined,u=u!==undefined?(0,n.addHexPrefix)(u):undefined,t[c]=[o,s,a,u]}return t}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/genesis.js"}],[456,{"./internal.js":458},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsString=r.assertIsArray=r.assertIsBytes=r.assertIsHexString=void 0;const n=e("./internal.js");r.assertIsHexString=function(e){if(!(0,n.isHexString)(e)){throw new Error(`This method only supports 0x-prefixed hex strings but input was: ${e}`)}};r.assertIsBytes=function(e){if(!(e instanceof Uint8Array)){throw new Error(`This method only supports Uint8Array but input was: ${e}`)}};r.assertIsArray=function(e){if(!Array.isArray(e)){throw new Error(`This method only supports number arrays but input was: ${e}`)}};r.assertIsString=function(e){if("string"!=typeof e){throw new Error(`This method only supports strings but input was: ${e}`)}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/helpers.js"}],[457,{"./account.js":448,"./address.js":449,"./asyncEventEmitter.js":450,"./blobs.js":451,"./bytes.js":452,"./constants.js":453,"./db.js":454,"./genesis.js":455,"./internal.js":458,"./kzg.js":459,"./lock.js":460,"./mapDB.js":461,"./provider.js":462,"./requests.js":463,"./signature.js":464,"./types.js":465,"./units.js":466,"./verkle.js":467,"./withdrawal.js":468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.toAscii=r.stripHexPrefix=r.padToEven=r.isHexString=r.getKeys=r.getBinarySize=r.fromUtf8=r.fromAscii=r.arrayContainsArray=void 0,i(e("./constants.js"),r),i(e("./units.js"),r),i(e("./account.js"),r),i(e("./address.js"),r),i(e("./db.js"),r),i(e("./withdrawal.js"),r),i(e("./signature.js"),r),i(e("./bytes.js"),r),i(e("./types.js"),r),i(e("./asyncEventEmitter.js"),r),i(e("./blobs.js"),r),i(e("./genesis.js"),r);var o=e("./internal.js");Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return o.isHexString}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),i(e("./kzg.js"),r),i(e("./lock.js"),r),i(e("./mapDB.js"),r),i(e("./provider.js"),r),i(e("./requests.js"),r),i(e("./verkle.js"),r)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/index.js"}],[458,{"./bytes.js":452},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexString=void 0;const n=e("./bytes.js");function i(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&!(void 0!==t&&t>0&&e.length!==2+2*t)}r.isHexString=i;function o(e){let t=e;if("string"!=typeof t)throw new Error("[padToEven] value must be type 'string', received "+typeof t);return t.length%2&&(t=`0${t}`),t}r.stripHexPrefix=e=>{if("string"!=typeof e)throw new Error("[stripHexPrefix] input must be type 'string', received "+typeof e);return i(e)?e.slice(2):e},r.padToEven=o,r.getBinarySize=function(e){if("string"!=typeof e)throw new Error("[getBinarySize] method requires input type 'string', received "+typeof e);return(0,n.utf8ToBytes)(e).byteLength},r.arrayContainsArray=function(e,t,r){if(!0!==Array.isArray(e))throw new Error(`[arrayContainsArray] method requires input 'superset' to be an array, got type '${typeof e}'`);if(!0!==Array.isArray(t))throw new Error(`[arrayContainsArray] method requires input 'subset' to be an array, got type '${typeof t}'`);return t[!0===r?"some":"every"]((t=>e.indexOf(t)>=0))},r.toAscii=function(e){let t="",r=0;const n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){const n=parseInt(e.substr(r,2),16);t+=String.fromCharCode(n)}return t},r.fromUtf8=function(e){const t=(0,n.utf8ToBytes)(e);return`0x${o((0,n.bytesToUnprefixedHex)(t)).replace(/^0+|0+$/g,"")}`},r.fromAscii=function(e){let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r).toString(16);t+=n.length<2?`0${n}`:n}return`0x${t}`},r.getKeys=function(e,t,r){if(!Array.isArray(e))throw new Error("[getKeys] method expects input 'params' to be an array, got "+typeof e);if("string"!=typeof t)throw new Error("[getKeys] method expects input 'key' to be type 'string', got "+typeof e);const n=[];for(let i=0;i<e.length;i++){let o=e[i][t];if(!0!==r||o){if("string"!=typeof o)throw new Error("invalid abi - expected type 'string', received "+typeof o)}else o="";n.push(o)}return n}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/internal.js"}],[459,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.initKZG=void 0,r.initKZG=function(e,t){e.loadTrustedSetup()}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/kzg.js"}],[460,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Lock=void 0;r.Lock=class{constructor(){this.permits=1,this.promiseResolverQueue=[]}async acquire(){return this.permits>0?(this.permits-=1,Promise.resolve(!0)):new Promise((e=>this.promiseResolverQueue.push(e)))}release(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;const e=this.promiseResolverQueue.shift();e&&e(!0)}}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/lock.js"}],[461,{"./bytes.js":452},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MapDB=void 0;const n=e("./bytes.js");class i{constructor(e){this._database=e??new Map}async get(e){const t=e instanceof Uint8Array?(0,n.bytesToUnprefixedHex)(e):e.toString();return this._database.get(t)}async put(e,t){const r=e instanceof Uint8Array?(0,n.bytesToUnprefixedHex)(e):e.toString();this._database.set(r,t)}async del(e){const t=e instanceof Uint8Array?(0,n.bytesToUnprefixedHex)(e):e.toString();this._database.delete(t)}async batch(e){for(const t of e)"del"===t.type&&await this.del(t.key),"put"===t.type&&await this.put(t.key,t.value)}shallowCopy(){return new i(this._database)}open(){return Promise.resolve()}}r.MapDB=i}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/mapDB.js"}],[4614,{"es-define-property":4264},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("es-define-property"),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},t.exports=i}}},{package:"string.prototype.matchall>es-abstract>has-property-descriptors",file:"node_modules/has-property-descriptors/index.js"}],[4615,{"./shams":4616},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n="undefined"!=typeof Symbol&&Symbol,i=e("./shams");t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}}}},{package:"string.prototype.matchall>has-symbols",file:"node_modules/has-symbols/index.js"}],[4616,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}}}},{package:"string.prototype.matchall>has-symbols",file:"node_modules/has-symbols/shams.js"}],[4617,{"has-symbols/shams":4616},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("has-symbols/shams");t.exports=function(){return n()&&!!Symbol.toStringTag}}}},{package:"koa>is-generator-function>has-tostringtag",file:"node_modules/has-tostringtag/shams.js"}],[4618,{inherits:4650,"readable-stream":5274,"safe-buffer":5514},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function o(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,i),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var s=0,a=8*e.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();e!==undefined&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o}}},{package:"ethereumjs-util>create-hash>md5.js>hash-base",file:"node_modules/hash-base/index.js"}],[4619,{"./hash/common":4620,"./hash/hmac":4621,"./hash/ripemd":4622,"./hash/sha":4623,"./hash/utils":4630},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash.js"}],[462,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getProvider=r.fetchFromProvider=void 0;r.fetchFromProvider=async(e,t)=>{const r=JSON.stringify({method:t.method,params:t.params,jsonrpc:"2.0",id:1}),n=await fetch(e,{headers:{"content-type":"application/json"},method:"POST",body:r});if(!n.ok)throw new Error(`JSONRpcError: ${JSON.stringify({method:t.method,status:n.status,message:await n.text().catch((()=>"Could not parse error message likely because of a network error"))},null,2)}`);return(await n.json()).result};r.getProvider=e=>{if("string"==typeof e)return e;if("object"==typeof e&&e._getConnection!==undefined)return e._getConnection().url;throw new Error("Must provide valid provider URL or Web3Provider")}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/provider.js"}],[4620,{"./utils":4630,"minimalistic-assert":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./utils"),i=e("minimalistic-assert");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=o,o.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/common.js"}],[4621,{"./utils":4630,"minimalistic-assert":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./utils"),i=e("minimalistic-assert");function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}t.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/hmac.js"}],[4622,{"./common":4620,"./utils":4630},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./utils"),i=e("./common"),o=n.rotl32,s=n.sum32,a=n.sum32_3,u=n.sum32_4,c=i.BlockHash;function l(){if(!(this instanceof l))return new l;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,c),r.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],l=this.h[4],b=r,_=n,w=i,v=c,A=l,T=0;T<80;T++){var E=s(o(u(r,f(T,n,i,c),e[p[T]+t],h(T)),g[T]),l);r=l,l=c,c=o(i,10),i=n,n=E,E=s(o(u(b,f(79-T,_,w,v),e[y[T]+t],d(T)),m[T]),A),b=A,A=v,v=o(w,10),w=_,_=E}E=a(this.h[1],i,v),this.h[1]=a(this.h[2],c,A),this.h[2]=a(this.h[3],l,b),this.h[3]=a(this.h[4],r,_),this.h[4]=a(this.h[0],n,w),this.h[0]=E},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[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],y=[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],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/ripemd.js"}],[4623,{"./sha/1":4624,"./sha/224":4625,"./sha/256":4626,"./sha/384":4627,"./sha/512":4628},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha.js"}],[4624,{"../common":4620,"../utils":4630,"./common":4629},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),i=e("../common"),o=e("./common"),s=n.rotl32,a=n.sum32,u=n.sum32_5,c=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),y=u(s(i,5),c(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=s(o,30),o=i,i=y}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],l),this.h[3]=a(this.h[3],h),this.h[4]=a(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/1.js"}],[4625,{"../utils":4630,"./256":4626},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),i=e("./256");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/224.js"}],[4626,{"../common":4620,"../utils":4630,"./common":4629,"minimalistic-assert":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),i=e("../common"),o=e("./common"),s=e("minimalistic-assert"),a=n.sum32,u=n.sum32_4,c=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,y=o.g1_256,g=i.BlockHash,m=[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;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}n.inherits(b,g),t.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=u(y(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],m=this.h[3],b=this.h[4],_=this.h[5],w=this.h[6],v=this.h[7];for(s(this.k.length===r.length),n=0;n<r.length;n++){var A=c(v,d(b),l(b,_,w),this.k[n],r[n]),T=a(h(i),f(i,o,g));v=w,w=_,_=b,b=a(m,A),m=g,g=o,o=i,i=a(A,T)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],g),this.h[3]=a(this.h[3],m),this.h[4]=a(this.h[4],b),this.h[5]=a(this.h[5],_),this.h[6]=a(this.h[6],w),this.h[7]=a(this.h[7],v)},b.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/256.js"}],[4627,{"../utils":4630,"./512":4628},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),i=e("./512");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/384.js"}],[4628,{"../common":4620,"../utils":4630,"minimalistic-assert":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils"),i=e("../common"),o=e("minimalistic-assert"),s=n.rotr64_hi,a=n.rotr64_lo,u=n.shr64_hi,c=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,y=n.sum64_5_hi,g=n.sum64_5_lo,m=i.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 _(){if(!(this instanceof _))return new _;m.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 w(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function v(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}function A(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function T(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}function E(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function j(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function x(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function k(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function P(e,t){var r=s(e,t,1)^s(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function S(e,t){var r=a(e,t,1)^a(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}function O(e,t){var r=s(e,t,19)^s(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}function I(e,t){var r=a(e,t,19)^a(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(_,m),t.exports=_,_.blockSize=1024,_.outSize=512,_.hmacStrength=192,_.padLength=128,_.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=O(r[n-4],r[n-3]),o=I(r[n-4],r[n-3]),s=r[n-14],a=r[n-13],u=P(r[n-30],r[n-29]),c=S(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,s,a,u,c,l,f),r[n+1]=p(i,o,s,a,u,c,l,f)}},_.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],s=this.h[2],a=this.h[3],u=this.h[4],c=this.h[5],d=this.h[6],p=this.h[7],m=this.h[8],b=this.h[9],_=this.h[10],P=this.h[11],S=this.h[12],O=this.h[13],I=this.h[14],N=this.h[15];o(this.k.length===r.length);for(var R=0;R<r.length;R+=2){var U=I,B=N,C=x(m,b),L=k(m,b),F=w(m,b,_,P,S),D=v(m,b,_,P,S,O),M=this.k[R],z=this.k[R+1],G=r[R],H=r[R+1],V=y(U,B,C,L,F,D,M,z,G,H),K=g(U,B,C,L,F,D,M,z,G,H);U=E(n,i),B=j(n,i),C=A(n,i,s,a,u),L=T(n,i,s,a,u,c);var $=f(U,B,C,L),W=h(U,B,C,L);I=S,N=O,S=_,O=P,_=m,P=b,m=f(d,p,V,K),b=h(p,p,V,K),d=u,p=c,u=s,c=a,s=n,a=i,n=f(V,K,$,W),i=h(V,K,$,W)}l(this.h,0,n,i),l(this.h,2,s,a),l(this.h,4,u,c),l(this.h,6,d,p),l(this.h,8,m,b),l(this.h,10,_,P),l(this.h,12,S,O),l(this.h,14,I,N)},_.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/512.js"}],[4629,{"../utils":4630},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("../utils").rotr32;function i(e,t,r){return e&t^~e&r}function o(e,t,r){return e&t^e&r^t&r}function s(e,t,r){return e^t^r}r.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?s(t,r,n):2===e?o(t,r,n):void 0},r.ch32=i,r.maj32=o,r.p32=s,r.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},r.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},r.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/sha/common.js"}],[463,{"./bytes.js":452,"./constants.js":453,"@ethereumjs/rlp":469,"ethereum-cryptography/utils":4319},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CLRequestFactory=r.ConsolidationRequest=r.WithdrawalRequest=r.DepositRequest=r.CLRequest=r.CLRequestType=void 0;const n=e("@ethereumjs/rlp"),i=e("ethereum-cryptography/utils"),o=e("./bytes.js"),s=e("./constants.js");var a;!function(e){e[e.Deposit=0]="Deposit",e[e.Withdrawal=1]="Withdrawal",e[e.Consolidation=2]="Consolidation"}(a=r.CLRequestType||(r.CLRequestType={}));class u{constructor(e){this.type=e}}r.CLRequest=u;class c extends u{constructor(e,t,r,n,i){super(a.Deposit),this.pubkey=e,this.withdrawalCredentials=t,this.amount=r,this.signature=n,this.index=i}static fromRequestData(e){const{pubkey:t,withdrawalCredentials:r,amount:n,signature:i,index:o}=e;return new c(t,r,n,i,o)}static fromJSON(e){const{pubkey:t,withdrawalCredentials:r,amount:n,signature:i,index:s}=e;return this.fromRequestData({pubkey:(0,o.hexToBytes)(t),withdrawalCredentials:(0,o.hexToBytes)(r),amount:(0,o.hexToBigInt)(n),signature:(0,o.hexToBytes)(i),index:(0,o.hexToBigInt)(s)})}serialize(){const e=this.index===s.BIGINT_0?new Uint8Array:(0,o.bigIntToBytes)(this.index),t=this.amount===s.BIGINT_0?new Uint8Array:(0,o.bigIntToBytes)(this.amount);return(0,i.concatBytes)(Uint8Array.from([this.type]),n.RLP.encode([this.pubkey,this.withdrawalCredentials,t,this.signature,e]))}toJSON(){return{pubkey:(0,o.bytesToHex)(this.pubkey),withdrawalCredentials:(0,o.bytesToHex)(this.withdrawalCredentials),amount:(0,o.bigIntToHex)(this.amount),signature:(0,o.bytesToHex)(this.signature),index:(0,o.bigIntToHex)(this.index)}}static deserialize(e){const[t,r,i,s,a]=n.RLP.decode(e.slice(1));return this.fromRequestData({pubkey:t,withdrawalCredentials:r,amount:(0,o.bytesToBigInt)(i),signature:s,index:(0,o.bytesToBigInt)(a)})}}r.DepositRequest=c;class l extends u{constructor(e,t,r){super(a.Withdrawal),this.sourceAddress=e,this.validatorPubkey=t,this.amount=r}static fromRequestData(e){const{sourceAddress:t,validatorPubkey:r,amount:n}=e;return new l(t,r,n)}static fromJSON(e){const{sourceAddress:t,validatorPubkey:r,amount:n}=e;return this.fromRequestData({sourceAddress:(0,o.hexToBytes)(t),validatorPubkey:(0,o.hexToBytes)(r),amount:(0,o.hexToBigInt)(n)})}serialize(){const e=this.amount===s.BIGINT_0?new Uint8Array:(0,o.bigIntToBytes)(this.amount);return(0,i.concatBytes)(Uint8Array.from([this.type]),n.RLP.encode([this.sourceAddress,this.validatorPubkey,e]))}toJSON(){return{sourceAddress:(0,o.bytesToHex)(this.sourceAddress),validatorPubkey:(0,o.bytesToHex)(this.validatorPubkey),amount:(0,o.bigIntToHex)(this.amount)}}static deserialize(e){const[t,r,i]=n.RLP.decode(e.slice(1));return this.fromRequestData({sourceAddress:t,validatorPubkey:r,amount:(0,o.bytesToBigInt)(i)})}}r.WithdrawalRequest=l;class f extends u{constructor(e,t,r){super(a.Consolidation),this.sourceAddress=e,this.sourcePubkey=t,this.targetPubkey=r}static fromRequestData(e){const{sourceAddress:t,sourcePubkey:r,targetPubkey:n}=e;return new f(t,r,n)}static fromJSON(e){const{sourceAddress:t,sourcePubkey:r,targetPubkey:n}=e;return this.fromRequestData({sourceAddress:(0,o.hexToBytes)(t),sourcePubkey:(0,o.hexToBytes)(r),targetPubkey:(0,o.hexToBytes)(n)})}serialize(){return(0,i.concatBytes)(Uint8Array.from([this.type]),n.RLP.encode([this.sourceAddress,this.sourcePubkey,this.targetPubkey]))}toJSON(){return{sourceAddress:(0,o.bytesToHex)(this.sourceAddress),sourcePubkey:(0,o.bytesToHex)(this.sourcePubkey),targetPubkey:(0,o.bytesToHex)(this.targetPubkey)}}static deserialize(e){const[t,r,i]=n.RLP.decode(e.slice(1));return this.fromRequestData({sourceAddress:t,sourcePubkey:r,targetPubkey:i})}}r.ConsolidationRequest=f;r.CLRequestFactory=class{static fromSerializedRequest(e){switch(e[0]){case a.Deposit:return c.deserialize(e);case a.Withdrawal:return l.deserialize(e);case a.Consolidation:return f.deserialize(e);default:throw Error(`Invalid request type=${e[0]}`)}}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/requests.js"}],[4630,{inherits:4650,"minimalistic-assert":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("minimalistic-assert"),i=e("inherits");function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=i,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?r[n++]=s:s<2048?(r[n++]=s>>6|192,r[n++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=a(e[r].toString(16));return t},r.htonl=s,r.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=s(i)),r+=u(i.toString(16))}return r},r.zero2=a,r.zero8=u,r.join32=function(e,t,r,i){var o=r-t;n(o%4==0);for(var s=new Array(o/4),a=0,u=t;a<s.length;a++,u+=4){var c;c="big"===i?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],s[a]=c>>>0}return s},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,o,s,a){var u=0,c=t;return u+=(c=c+n>>>0)<t?1:0,u+=(c=c+o>>>0)<o?1:0,e+r+i+s+(u+=(c=c+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},r.sum64_5_hi=function(e,t,r,n,i,o,s,a,u,c){var l=0,f=t;return l+=(f=f+n>>>0)<t?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+a>>>0)<a?1:0,e+r+i+s+u+(l+=(f=f+c>>>0)<c?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,o,s,a,u,c){return t+n+o+a+c>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}}}},{package:"ethers>@ethersproject/sha2>hash.js",file:"node_modules/hash.js/lib/hash/utils.js"}],[4631,{"function-bind":4476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=e("function-bind");t.exports=o.call(n,i)}}},{package:"depcheck>is-core-module>hasown",file:"node_modules/hasown/index.js"}],[4632,{assert:4070,bs58check:4077,crypto:4180,ripemd160:5289,"safe-buffer":5514,secp256k1:5517},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("assert"),i=e("safe-buffer").Buffer,o=e("crypto"),s=e("bs58check"),a=e("ripemd160"),u=e("secp256k1"),c=i.from("Bitcoin seed","utf8"),l=2147483648,f={private:76066276,public:76067358};function h(e){this.versions=e||f,this.depth=0,this.index=0,this._privateKey=null,this._publicKey=null,this.chainCode=null,this._fingerprint=0,this.parentFingerprint=0}function d(e,t){e._publicKey=i.from(t),e._identifier=y(t),e._fingerprint=e._identifier.slice(0,4).readUInt32BE(0),e._privateKey=null}function p(e,t,r){var n=i.allocUnsafe(78);n.writeUInt32BE(t,0),n.writeUInt8(e.depth,4);var o=e.depth?e.parentFingerprint:0;return n.writeUInt32BE(o,5),n.writeUInt32BE(e.index,9),e.chainCode.copy(n,13),r.copy(n,45),n}function y(e){var t=o.createHash("sha256").update(e).digest();return(new a).update(t).digest()}Object.defineProperty(h.prototype,"fingerprint",{get:function(){return this._fingerprint}}),Object.defineProperty(h.prototype,"identifier",{get:function(){return this._identifier}}),Object.defineProperty(h.prototype,"pubKeyHash",{get:function(){return this.identifier}}),Object.defineProperty(h.prototype,"privateKey",{get:function(){return this._privateKey},set:function(e){n.equal(e.length,32,"Private key must be 32 bytes."),n(!0===u.privateKeyVerify(e),"Invalid private key"),this._privateKey=e,this._publicKey=i.from(u.publicKeyCreate(e,!0)),this._identifier=y(this.publicKey),this._fingerprint=this._identifier.slice(0,4).readUInt32BE(0)}}),Object.defineProperty(h.prototype,"publicKey",{get:function(){return this._publicKey},set:function(e){n(33===e.length||65===e.length,"Public key must be 33 or 65 bytes."),n(!0===u.publicKeyVerify(e),"Invalid public key");d(this,65===e.length?u.publicKeyConvert(e,!0):e)}}),Object.defineProperty(h.prototype,"privateExtendedKey",{get:function(){return this._privateKey?s.encode(p(this,this.versions.private,i.concat([i.alloc(1,0),this.privateKey]))):null}}),Object.defineProperty(h.prototype,"publicExtendedKey",{get:function(){return s.encode(p(this,this.versions.public,this.publicKey))}}),h.prototype.derive=function(e){if("m"===e||"M"===e||"m'"===e||"M'"===e)return this;var t=e.split("/"),r=this;return t.forEach((function(e,t){if(0!==t){var i=e.length>1&&"'"===e[e.length-1],o=parseInt(e,10);n(o<l,"Invalid index"),i&&(o+=l),r=r.deriveChild(o)}else n(/^[mM]{1}/.test(e),'Path must start with "m" or "M"')})),r},h.prototype.deriveChild=function(e){var t,r=e>=l,s=i.allocUnsafe(4);if(s.writeUInt32BE(e,0),r){n(this.privateKey,"Could not derive hardened child key");var a=this.privateKey,c=i.alloc(1,0);a=i.concat([c,a]),t=i.concat([a,s])}else t=i.concat([this.publicKey,s]);var f=o.createHmac("sha512",this.chainCode).update(t).digest(),d=f.slice(0,32),p=f.slice(32),y=new h(this.versions);if(this.privateKey)try{y.privateKey=i.from(u.privateKeyTweakAdd(i.from(this.privateKey),d))}catch(t){return this.deriveChild(e+1)}else try{y.publicKey=i.from(u.publicKeyTweakAdd(i.from(this.publicKey),d,!0))}catch(t){return this.deriveChild(e+1)}return y.chainCode=p,y.depth=this.depth+1,y.parentFingerprint=this.fingerprint,y.index=e,y},h.prototype.sign=function(e){return i.from(u.ecdsaSign(Uint8Array.from(e),Uint8Array.from(this.privateKey)).signature)},h.prototype.verify=function(e,t){return u.ecdsaVerify(Uint8Array.from(t),Uint8Array.from(e),Uint8Array.from(this.publicKey))},h.prototype.wipePrivateData=function(){return this._privateKey&&o.randomBytes(this._privateKey.length).copy(this._privateKey),this._privateKey=null,this},h.prototype.toJSON=function(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}},h.fromMasterSeed=function(e,t){var r=o.createHmac("sha512",c).update(e).digest(),n=r.slice(0,32),i=r.slice(32),s=new h(t);return s.chainCode=i,s.privateKey=n,s},h.fromExtendedKey=function(e,t,r){r=r||!1;var i=new h(t=t||f),o=s.decode(e),a=o.readUInt32BE(0);n(a===t.private||a===t.public,"Version mismatch: does not match private or public"),i.depth=o.readUInt8(4),i.parentFingerprint=o.readUInt32BE(5),i.index=o.readUInt32BE(9),i.chainCode=o.slice(13,45);var u=o.slice(45);return 0===u.readUInt8(0)?(n(a===t.private,"Version mismatch: version does not match private"),i.privateKey=u.slice(1)):(n(a===t.public,"Version mismatch: version does not match public"),r?d(i,u):i.publicKey=u),i},h.fromJSON=function(e){return h.fromExtendedKey(e.xpriv)},h.HARDENED_OFFSET=l,t.exports=h}}},{package:"@metamask/eth-trezor-keyring>hdkey",file:"node_modules/hdkey/lib/hdkey.js"}],[4637,{"hash.js":4619,"minimalistic-assert":4912,"minimalistic-crypto-utils":4913},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("hash.js"),i=e("minimalistic-crypto-utils"),o=e("minimalistic-assert");function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}t.exports=s,s.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},s.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},s.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,e);return this._update(r),this._reseed++,i.encode(s,t)}}}},{package:"@metamask/ppom-validator>elliptic>hmac-drbg",file:"node_modules/hmac-drbg/lib/hmac-drbg.js"}],[4638,{"react-is":5112},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("react-is"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return n.isMemo(e)?s:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=d(r);i&&i!==p&&e(t,i,n)}var s=l(r);f&&(s=s.concat(f(r)));for(var a=u(t),y=u(r),g=0;g<s.length;++g){var m=s[g];if(!(o[m]||n&&n[m]||y&&y[m]||a&&a[m])){var b=h(r,m);try{c(t,m,b)}catch(e){}}}}return t}}}},{package:"react-redux>hoist-non-react-statics",file:"node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"}],[4639,{http:5592,url:5639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("http"),i=e("url"),o=t.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=a(e),n.request.call(this,e,t)},o.get=function(e,t){return e=a(e),n.get.call(this,e,t)}}}},{package:"https-browserify",file:"node_modules/https-browserify/index.js"}],[464,{"./bytes.js":452,"./constants.js":453,"./helpers.js":456,"ethereum-cryptography/keccak.js":4300,"ethereum-cryptography/secp256k1.js":4317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toCompactSig=r.toRpcSig=r.ecrecover=r.calculateSigRecovery=r.ecsign=void 0;const n=e("ethereum-cryptography/keccak.js"),i=e("ethereum-cryptography/secp256k1.js"),o=e("./bytes.js"),s=e("./constants.js"),a=e("./helpers.js");function u(e,t){return e===s.BIGINT_0||e===s.BIGINT_1?e:t===undefined?e-s.BIGINT_27:e-(t*s.BIGINT_2+BigInt(35))}function c(e){return e===s.BIGINT_0||e===s.BIGINT_1}r.ecsign=function(e,t,r){const n=i.secp256k1.sign(e,t),o=n.toCompactRawBytes();return{r:o.slice(0,32),s:o.slice(32,64),v:r===undefined?BigInt(n.recovery+27):BigInt(n.recovery+35)+BigInt(r)*s.BIGINT_2}},r.calculateSigRecovery=u;r.ecrecover=function(e,t,r,n,s){const a=(0,o.concatBytes)((0,o.setLengthLeft)(r,32),(0,o.setLengthLeft)(n,32)),l=u(t,s);if(!c(l))throw new Error("Invalid signature v value");return i.secp256k1.Signature.fromCompact(a).addRecoveryBit(Number(l)).recoverPublicKey(e).toRawBytes(!1).slice(1)};r.toRpcSig=function(e,t,r,n){if(!c(u(e,n)))throw new Error("Invalid signature v value");return(0,o.bytesToHex)((0,o.concatBytes)((0,o.setLengthLeft)(t,32),(0,o.setLengthLeft)(r,32),(0,o.toBytes)(e)))};r.toCompactSig=function(e,t,r,n){if(!c(u(e,n)))throw new Error("Invalid signature v value");const i=Uint8Array.from([...r]);return(e>BigInt(28)&&e%s.BIGINT_2===s.BIGINT_1||e===s.BIGINT_1||e===BigInt(28))&&(i[0]|=128),(0,o.bytesToHex)((0,o.concatBytes)((0,o.setLengthLeft)(t,32),(0,o.setLengthLeft)(i,32)))};r.fromRpcSig=function(e){const t=(0,o.toBytes)(e);let r,n,i;if(t.length>=65)r=t.subarray(0,32),n=t.subarray(32,64),i=(0,o.bytesToBigInt)(t.subarray(64));else{if(64!==t.length)throw new Error("Invalid signature length");r=t.subarray(0,32),n=t.subarray(32,64),i=BigInt((0,o.bytesToInt)(t.subarray(32,33))>>7),n[0]&=127}return i<27&&(i+=s.BIGINT_27),{v:i,r:r,s:n}};r.isValidSignature=function(e,t,r,n=!0,i){if(32!==t.length||32!==r.length)return!1;if(!c(u(e,i)))return!1;const a=(0,o.bytesToBigInt)(t),l=(0,o.bytesToBigInt)(r);return!(a===s.BIGINT_0||a>=s.SECP256K1_ORDER||l===s.BIGINT_0||l>=s.SECP256K1_ORDER)&&!(n&&l>=s.SECP256K1_ORDER_DIV_2)};r.hashPersonalMessage=function(e){(0,a.assertIsBytes)(e);const t=(0,o.utf8ToBytes)(`Ethereum Signed Message:\n${e.length}`);return(0,n.keccak256)((0,o.concatBytes)(t,e))}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/signature.js"}],[4640,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_spender",type:"address"},{name:"_value",type:"uint256"}],name:"approve",outputs:[{name:"success",type:"bool"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_from",type:"address"},{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transferFrom",outputs:[{name:"success",type:"bool"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint256"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"version",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"success",type:"bool"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_spender",type:"address"},{name:"_value",type:"uint256"},{name:"_extraData",type:"bytes"}],name:"approveAndCall",outputs:[{name:"success",type:"bool"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_spender",type:"address"}],name:"allowance",outputs:[{name:"remaining",type:"uint256"}],payable:!1,type:"function"},{inputs:[{name:"_initialAmount",type:"uint256"},{name:"_tokenName",type:"string"},{name:"_decimalUnits",type:"uint8"},{name:"_tokenSymbol",type:"string"}],type:"constructor"},{payable:!1,type:"fallback"},{anonymous:!1,inputs:[{indexed:!0,name:"_from",type:"address"},{indexed:!0,name:"_to",type:"address"},{indexed:!1,name:"_value",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_spender",type:"address"},{indexed:!1,name:"_value",type:"uint256"}],name:"Approval",type:"event"}]}}},{package:"human-standard-token-abi",file:"node_modules/human-standard-token-abi/index.js"}],[4644,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=this,i=function(){var e=[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])],t=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]);return{mapStr:"صلى الله عليه وسلمجل جلالهキロメートルrads2エスクードキログラムキロワットグラムトンクルゼイロサンチームパーセントピアストルファラッドブッシェルヘクタールマンションミリバールレントゲン110viii(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)∫∫∫∫(오전)(오후)アパートアルファアンペアイニングエーカーカラットカロリーキュリーギルダークローネサイクルシリングバーレルフィートポイントマイクロミクロンメガトンリットルルーブル株式会社kcalms2ckgاكبرمحمدصلعمرسولریال141234 ̈́ྲཱྀླཱྀ ̈͂ ̓̀ ̓́ ̓͂ ̔̀ ̔́ ̔͂ ̈̀a/ca/sc/oc/utelfax1719132315253545165618385878xii03∮∮∮(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点hpabardm2dm3khzmhzghzthzmm2cm2km2mm3cm3km3kpampagpalogmilmolppmvmam10日11日12日13日14日15日16日17日18日19日20日21日22日23日24日25日26日27日28日29日30日31日galffifflשּׁשּׂ ٌّ ٍّ َّ ُّ ِّ ّٰـَّـُّـِّتجمتحجتحمتخمتمجتمحتمخجمححميحمىسحجسجحسجىسمحسمجسممصححصممشحمشجيشمخشممضحىضخمطمحطممطميعجمعممعمىغممغميغمىفخمقمحقمملحملحيلحىلججلخملمحمحجمحيمجحمجممخممجخهمجهممنحمنحىنجمنجىنمينمىيممبخيتجيتجىتخيتخىتميتمىجميجحىجمىسخىصحيشحيضحيلجيلمييحييجييميمميقمينحيعميكمينجحمخيلجمكممجحيحجيمجيفميبحيسخينجيصلےقلے𝅘𝅥𝅮𝅘𝅥𝅯𝅘𝅥𝅰𝅘𝅥𝅱𝅘𝅥𝅲𝆹𝅥𝅮𝆺𝅥𝅮𝆹𝅥𝅯𝆺𝅥𝅯sppv ̄ ́ ̧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(r){return r>=196608?r>=917760&&r<=917999?18874368:0:e[t[r>>4]][15&r]}}},"function"==typeof define&&define.amd?define([],(function(){return i()})):"object"==typeof r?t.exports=i():n.uts46_map=i()}}},{package:"eth-ens-namehash>idna-uts46-hx",file:"node_modules/idna-uts46-hx/idna-map.js"}],[4645,{"./idna-map":4644,punycode:4075},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=this,i=function(e,t){function r(r,n,i){for(var o=[],s=e.ucs2.decode(r),a=0;a<s.length;a++){var u=s[a],c=e.ucs2.encode([s[a]]),l=t.mapChar(u),f=l>>23,h=l>>21&3,d=l>>5&65535,p=31&l,y=t.mapStr.substr(d,p);if(0===h||n&&1&f)throw new Error("Illegal char "+c);1===h?o.push(y):2===h?o.push(i?y:c):3===h&&o.push(c)}return o.join("").normalize("NFC")}function n(t,n,o){o===undefined&&(o=!1);var s=r(t,o,n).split(".");return(s=s.map((function(t){return t.startsWith("xn--")?i(t=e.decode(t.substring(4)),o,!1):i(t,o,n),t}))).join(".")}function i(e,n,i){if("-"===e[2]&&"-"===e[3])throw new Error("Failed to validate "+e);if(e.startsWith("-")||e.endsWith("-"))throw new Error("Failed to validate "+e);if(e.includes("."))throw new Error("Failed to validate "+e);if(r(e,n,i)!==e)throw new Error("Failed to validate "+e);var o=e.codePointAt(0);if(t.mapChar(o)&2<<23)throw new Error("Label contains illegal character: "+o)}return{toUnicode:function(e,t){return t===undefined&&(t={}),n(e,!1,"useStd3ASCII"in t&&t.useStd3ASCII)},toAscii:function(t,r){r===undefined&&(r={});var i,o=!("transitional"in r)||r.transitional,s="useStd3ASCII"in r&&r.useStd3ASCII,a="verifyDnsLength"in r&&r.verifyDnsLength,u=n(t,o,s).split(".").map(e.toASCII),c=u.join(".");if(a){if(c.length<1||c.length>253)throw new Error("DNS name has wrong length: "+c);for(i=0;i<u.length;i++){var l=u[i];if(l.length<1||l.length>63)throw new Error("DNS label has wrong length: "+l)}}return c}}},"function"==typeof define&&define.amd?define(["punycode","./idna-map"],(function(e,t){return i(e,t)})):"object"==typeof r?t.exports=i(e("punycode"),e("./idna-map")):n.uts46=i(n.punycode,n.idna_map)}}},{package:"eth-ens-namehash>idna-uts46-hx",file:"node_modules/idna-uts46-hx/uts46.js"}],[4646,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:(d?-1:1)*Infinity;s+=Math.pow(2,n),o-=c}return(d?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===Infinity?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+d]=255&s,d+=p,s/=256,c-=8);e[r+d-p]|=128*y}}}},{package:"buffer>ieee754",file:"node_modules/ieee754/index.js"}],[4647,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0});var i="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),o="undefined"!=typeof Map,s="undefined"!=typeof Set,a="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,u=i?Symbol.for("immer-nothing"):((n={})["immer-nothing"]=!0,n),c=i?Symbol.for("immer-draftable"):"__$immer_draftable",l=i?Symbol.for("immer-state"):"__$immer_state",f="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",h={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"};function d(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=h[e],o=i?"function"==typeof i?i.apply(null,r):i:"unknown error nr: "+e;throw new Error("[Immer] "+o)}function p(e){return!!e&&!!e[l]}function y(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===g}(e)||Array.isArray(e)||!!e[c]||!!(null===(t=e.constructor)||void 0===t?void 0:t[c])||j(e)||x(e))}var g=Object.prototype.constructor.toString();var m="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,b=Object.getOwnPropertyDescriptors||function(e){var t={};return m(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t};function _(e,t,r){void 0===r&&(r=!1),0===w(e)?(r?Object.keys:m)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function w(e){var t=e[l];return t?t.type_>3?t.type_-4:t.type_:Array.isArray(e)?1:j(e)?2:x(e)?3:0}function v(e,t){return 2===w(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function A(e,t){return 2===w(e)?e.get(t):e[t]}function T(e,t,r){var n=w(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function E(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function j(e){return o&&e instanceof Map}function x(e){return s&&e instanceof Set}function k(e){return e.copy_||e.base_}function P(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=b(e);delete t[l];for(var r=m(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function S(e,t){return void 0===t&&(t=!1),I(e)||p(e)||!y(e)||(w(e)>1&&(e.set=e.add=e.clear=e.delete=O),Object.freeze(e),t&&_(e,(function(e,t){return S(t,!0)}),!0)),e}function O(){d(2)}function I(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}var N,R={};function U(e){var t=R[e];return t||d(18,e),t}function B(e,t){R[e]||(R[e]=t)}function C(){return N||d(0),N}function L(e,t){t&&(U("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function F(e){D(e),e.drafts_.forEach(z),e.drafts_=null}function D(e){e===N&&(N=e.parent_)}function M(e){return N={drafts_:[],parent_:N,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function z(e){var t=e[l];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function G(e,t){t.unfinalizedDrafts_=t.drafts_.length;var r=t.drafts_[0],n=e!==undefined&&e!==r;return t.immer_.useProxies_||U("ES5").willFinalizeES5_(t,e,n),n?(r[l].modified_&&(F(t),d(4)),y(e)&&(e=H(t,e),t.parent_||K(t,e)),t.patches_&&U("Patches").generateReplacementPatches_(r[l].base_,e,t.patches_,t.inversePatches_)):e=H(t,r,[]),F(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==u?e:undefined}function H(e,t,r){if(I(t))return t;var n=t[l];if(!n)return _(t,(function(i,o){return V(e,n,t,i,o,r)}),!0),t;if(n.scope_!==e)return t;if(!n.modified_)return K(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;var i=4===n.type_||5===n.type_?n.copy_=P(n.draft_):n.copy_,o=i,s=!1;3===n.type_&&(o=new Set(i),i.clear(),s=!0),_(o,(function(t,o){return V(e,n,i,t,o,r,s)})),K(e,i,!1),r&&e.patches_&&U("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function V(e,t,r,n,i,o,s){if(i===r&&d(5),p(i)){var a=H(e,i,o&&t&&3!==t.type_&&!v(t.assigned_,n)?o.concat(n):undefined);if(T(r,n,a),!p(a))return;e.canAutoFreeze_=!1}else s&&r.add(i);if(y(i)&&!I(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;H(e,i),t&&t.scope_.parent_||K(e,i)}}function K(e,t,r){void 0===r&&(r=!1),!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&S(t,r)}var $={get:function(e,t){if(t===l)return e;var r=k(e);if(!v(r,t))return function(e,t,r){var n,i=J(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.draft_):undefined}(e,r,t);var n=r[t];return e.finalized_||!y(n)?n:n===q(e.base_,t)?(X(e),e.copy_[t]=Y(e.scope_.immer_,n,e)):n},has:function(e,t){return t in k(e)},ownKeys:function(e){return Reflect.ownKeys(k(e))},set:function(e,t,r){var n=J(k(e),t);if(null==n?void 0:n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){var i=q(k(e),t),o=null==i?void 0:i[l];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(E(r,i)&&(r!==undefined||v(e.base_,t)))return!0;X(e),Z(e)}return e.copy_[t]===r&&(r!==undefined||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty:function(e,t){return q(e.base_,t)!==undefined||t in e.base_?(e.assigned_[t]=!1,X(e),Z(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor:function(e,t){var r=k(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){d(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base_)},setPrototypeOf:function(){d(12)}},W={};function q(e,t){var r=e[l];return(r?k(r):e)[t]}function J(e,t){if(!(t in e))return undefined;for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}return undefined}function Z(e){e.modified_||(e.modified_=!0,e.parent_&&Z(e.parent_))}function X(e){e.copy_||(e.copy_=P(e.base_))}_($,(function(e,t){W[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),W.deleteProperty=function(e,t){return isNaN(parseInt(t))&&d(13),W.set.call(this,e,t,undefined)},W.set=function(e,t,r){return"length"!==t&&isNaN(parseInt(t))&&d(14),$.set.call(this,e[0],t,r,e[0])};var Q=function(){function e(e){var t=this;this.useProxies_=a,this.autoFreeze_=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var i=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(s))}))}}var s;if("function"!=typeof r&&d(6),n!==undefined&&"function"!=typeof n&&d(7),y(e)){var a=M(t),c=Y(t,e,undefined),l=!0;try{s=r(c),l=!1}finally{l?F(a):D(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return L(a,n),G(e,a)}),(function(e){throw F(a),e})):(L(a,n),G(s,a))}if(!e||"object"!=typeof e){if((s=r(e))===undefined&&(s=e),s===u&&(s=undefined),t.autoFreeze_&&S(s,!0),n){var f=[],h=[];U("Patches").generateReplacementPatches_(e,s,f,h),n(f,h)}return s}d(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))};var n,i,o=t.produce(e,r,(function(e,t){n=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,n,i]})):[o,n,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){y(e)||d(8),p(e)&&(e=ee(e));var t=M(this),r=Y(this,e,undefined);return r[l].isManual_=!0,D(t),r},t.finishDraft=function(e,t){var r=e&&e[l];r&&r.isManual_||d(9),r.finalized_&&d(10);var n=r.scope_;return L(n,t),G(undefined,n)},t.setAutoFreeze=function(e){this.autoFreeze_=e},t.setUseProxies=function(e){e&&!a&&d(20),this.useProxies_=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=U("Patches").applyPatches_;return p(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}();function Y(e,t,r){var n=j(t)?U("MapSet").proxyMap_(t,r):x(t)?U("MapSet").proxySet_(t,r):e.useProxies_?function(e,t){var r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:C(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=n,o=$;r&&(i=[n],o=W);var s=Proxy.revocable(i,o),a=s.revoke,u=s.proxy;return n.draft_=u,n.revoke_=a,u}(t,r):U("ES5").createES5Proxy_(t,r);return(r?r.scope_:C()).drafts_.push(n),n}function ee(e){return p(e)||d(22,e),te(e)}function te(e){if(!y(e))return e;var t,r=e[l],n=w(e);if(r){if(!r.modified_&&(r.type_<4||!U("ES5").hasChanges_(r)))return r.base_;r.finalized_=!0,t=re(e,n),r.finalized_=!1}else t=re(e,n);return _(t,(function(e,n){r&&A(r.base_,e)===n||T(t,e,te(n))})),3===n?new Set(t):t}function re(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return P(e)}function ne(){var e={};function t(t,r){var n=e[t];return n?n.enumerable=r:e[t]=n={configurable:!0,enumerable:r,get:function(){var e=this[l];return s(e),$.get(e,t)},set:function(e){var r=this[l];s(r),$.set(r,t,e)}},n}function r(e){for(var t=e.length-1;t>=0;t--){var r=e[t][l];if(!r.modified_)switch(r.type_){case 5:o(r)&&Z(r);break;case 4:i(r)&&Z(r)}}}function n(e){if(e&&"object"==typeof e){var t=e[l];if(t){var r=t.base_,i=t.draft_,s=t.assigned_,a=t.type_;if(4===a)_(i,(function(e){e!==l&&(r[e]!==undefined||v(r,e)?s[e]||n(i[e]):(s[e]=!0,Z(t)))})),_(r,(function(e){i[e]!==undefined||v(i,e)||(s[e]=!1,Z(t))}));else if(5===a){if(o(t)&&(Z(t),s.length=!0),i.length<r.length)for(var u=i.length;u<r.length;u++)s[u]=!1;else for(var c=r.length;c<i.length;c++)s[c]=!0;for(var f=Math.min(i.length,r.length),h=0;h<f;h++)i.hasOwnProperty(h)||(s[h]=!0),s[h]===undefined&&n(i[h])}}}}function i(e){for(var t=e.base_,r=e.draft_,n=m(r),i=n.length-1;i>=0;i--){var o=n[i];if(o!==l){var s=t[o];if(s===undefined&&!v(t,o))return!0;var a=r[o],u=a&&a[l];if(u?u.base_!==s:!E(a,s))return!0}}var c=!!t[l];return n.length!==m(t).length+(c?0:1)}function o(e){var t=e.draft_;if(t.length!==e.base_.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}function s(e){e.revoked_&&d(3,JSON.stringify(k(e)))}B("ES5",{createES5Proxy_:function(e,r){var n=Array.isArray(e),i=function(e,r){if(e){for(var n=new Array(r.length),i=0;i<r.length;i++)Object.defineProperty(n,""+i,t(i,!0));return n}var o=b(r);delete o[l];for(var s=m(o),a=0;a<s.length;a++){var u=s[a];o[u]=t(u,e||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(n,e),o={type_:n?5:4,scope_:r?r.scope_:C(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:i,copy_:null,revoked_:!1,isManual_:!1};return Object.defineProperty(i,l,{value:o,writable:!0}),i},willFinalizeES5_:function(e,t,i){i?p(t)&&t[l].scope_===e&&r(e.drafts_):(e.patches_&&n(e.drafts_[0]),r(e.drafts_))},hasChanges_:function(e){return 4===e.type_?i(e):o(e)}})}function ie(){var e="replace",t="add",r="remove";function n(e){if(!y(e))return e;if(Array.isArray(e))return e.map(n);if(j(e))return new Map(Array.from(e.entries()).map((function(e){return[e[0],n(e[1])]})));if(x(e))return new Set(Array.from(e).map(n));var t=Object.create(Object.getPrototypeOf(e));for(var r in e)t[r]=n(e[r]);return v(e,c)&&(t[c]=e[c]),t}function i(e){return p(e)?n(e):e}B("Patches",{applyPatches_:function(i,o){return o.forEach((function(o){for(var s=o.path,a=o.op,u=i,c=0;c<s.length-1;c++){var l=w(u),f=s[c];"string"!=typeof f&&"number"!=typeof f&&(f=""+f),0!==l&&1!==l||"__proto__"!==f&&"constructor"!==f||d(24),"function"==typeof u&&"prototype"===f&&d(24),"object"!=typeof(u=A(u,f))&&d(15,s.join("/"))}var h=w(u),p=n(o.value),y=s[s.length-1];switch(a){case e:switch(h){case 2:return u.set(y,p);case 3:d(16);default:return u[y]=p}case t:switch(h){case 1:return"-"===y?u.push(p):u.splice(y,0,p);case 2:return u.set(y,p);case 3:return u.add(p);default:return u[y]=p}case r:switch(h){case 1:return u.splice(y,1);case 2:return u.delete(y);case 3:return u.delete(o.value);default:return delete u[y]}default:d(17,a)}})),i},generatePatches_:function(n,o,s,a){switch(n.type_){case 0:case 4:case 2:return function(n,o,s,a){var u=n.base_,c=n.copy_;_(n.assigned_,(function(n,l){var f=A(u,n),h=A(c,n),d=l?v(u,n)?e:t:r;if(f!==h||d!==e){var p=o.concat(n);s.push(d===r?{op:d,path:p}:{op:d,path:p,value:h}),a.push(d===t?{op:r,path:p}:d===r?{op:t,path:p,value:i(f)}:{op:e,path:p,value:i(f)})}}))}(n,o,s,a);case 5:case 1:return function(r,n,o,s){var a=r.base_,u=r.assigned_,c=r.copy_;if(c.length<a.length){var l=[c,a];a=l[0],c=l[1];var f=[s,o];o=f[0],s=f[1]}for(var h=0;h<a.length;h++)if(u[h]&&c[h]!==a[h]){var d=n.concat([h]);o.push({op:e,path:d,value:i(c[h])}),s.push({op:e,path:d,value:i(a[h])})}for(var p=a.length;p<c.length;p++){var y=n.concat([p]);o.push({op:t,path:y,value:i(c[p])})}a.length<c.length&&s.push({op:e,path:n.concat(["length"]),value:a.length})}(n,o,s,a);case 3:return function(e,n,i,o){var s=e.base_,a=e.copy_,u=0;s.forEach((function(e){if(!a.has(e)){var s=n.concat([u]);i.push({op:r,path:s,value:e}),o.unshift({op:t,path:s,value:e})}u++})),u=0,a.forEach((function(e){if(!s.has(e)){var a=n.concat([u]);i.push({op:t,path:a,value:e}),o.unshift({op:r,path:a,value:e})}u++}))}(n,o,s,a)}},generateReplacementPatches_:function(t,r,n,i){n.push({op:e,path:[],value:r===u?undefined:r}),i.push({op:e,path:[],value:t})}})}function oe(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};function t(t,r){function n(){this.constructor=t}e(t,r),t.prototype=(n.prototype=r.prototype,new n)}var r=function(e){function r(e,t){return this[l]={type_:2,parent_:t,scope_:t?t.scope_:C(),modified_:!1,finalized_:!1,copy_:undefined,assigned_:undefined,base_:e,draft_:this,isManual_:!1,revoked_:!1},this}t(r,Map);var i=r.prototype;return Object.defineProperty(i,"size",{get:function(){return k(this[l]).size}}),i.has=function(e){return k(this[l]).has(e)},i.set=function(e,t){var r=this[l];return s(r),k(r).has(e)&&k(r).get(e)===t||(n(r),Z(r),r.assigned_.set(e,!0),r.copy_.set(e,t),r.assigned_.set(e,!0)),this},i.delete=function(e){if(!this.has(e))return!1;var t=this[l];return s(t),n(t),Z(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0},i.clear=function(){var e=this[l];s(e),k(e).size&&(n(e),Z(e),e.assigned_=new Map,_(e.base_,(function(t){e.assigned_.set(t,!1)})),e.copy_.clear())},i.forEach=function(e,t){var r=this;k(this[l]).forEach((function(n,i,o){e.call(t,r.get(i),i,r)}))},i.get=function(e){var t=this[l];s(t);var r=k(t).get(e);if(t.finalized_||!y(r))return r;if(r!==t.base_.get(e))return r;var i=Y(t.scope_.immer_,r,t);return n(t),t.copy_.set(e,i),i},i.keys=function(){return k(this[l]).keys()},i.values=function(){var e,t=this,r=this.keys();return(e={})[f]=function(){return t.values()},e.next=function(){var e=r.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},i.entries=function(){var e,t=this,r=this.keys();return(e={})[f]=function(){return t.entries()},e.next=function(){var e=r.next();if(e.done)return e;var n=t.get(e.value);return{done:!1,value:[e.value,n]}},e},i[f]=function(){return this.entries()},r}();function n(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}var i=function(e){function r(e,t){return this[l]={type_:3,parent_:t,scope_:t?t.scope_:C(),modified_:!1,finalized_:!1,copy_:undefined,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1},this}t(r,Set);var n=r.prototype;return Object.defineProperty(n,"size",{get:function(){return k(this[l]).size}}),n.has=function(e){var t=this[l];return s(t),t.copy_?!!t.copy_.has(e)||!(!t.drafts_.has(e)||!t.copy_.has(t.drafts_.get(e))):t.base_.has(e)},n.add=function(e){var t=this[l];return s(t),this.has(e)||(o(t),Z(t),t.copy_.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[l];return s(t),o(t),Z(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))},n.clear=function(){var e=this[l];s(e),k(e).size&&(o(e),Z(e),e.copy_.clear())},n.values=function(){var e=this[l];return s(e),o(e),e.copy_.values()},n.entries=function(){var e=this[l];return s(e),o(e),e.copy_.entries()},n.keys=function(){return this.values()},n[f]=function(){return this.values()},n.forEach=function(e,t){for(var r=this.values(),n=r.next();!n.done;)e.call(t,n.value,n.value,this),n=r.next()},r}();function o(e){e.copy_||(e.copy_=new Set,e.base_.forEach((function(t){if(y(t)){var r=Y(e.scope_.immer_,t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)})))}function s(e){e.revoked_&&d(3,JSON.stringify(k(e)))}B("MapSet",{proxyMap_:function(e,t){return new r(e,t)},proxySet_:function(e,t){return new i(e,t)}})}var se=new Q,ae=se.produce,ue=se.produceWithPatches.bind(se),ce=se.setAutoFreeze.bind(se),le=se.setUseProxies.bind(se),fe=se.applyPatches.bind(se),he=se.createDraft.bind(se),de=se.finishDraft.bind(se);r.Immer=Q,r.applyPatches=fe,r.castDraft=function(e){return e},r.castImmutable=function(e){return e},r.createDraft=he,r.current=ee,r.default=ae,r.enableAllPlugins=function(){ne(),oe(),ie()},r.enableES5=ne,r.enableMapSet=oe,r.enablePatches=ie,r.finishDraft=de,r.freeze=S,r.immerable=c,r.isDraft=p,r.isDraftable=y,r.nothing=u,r.original=function(e){return p(e)||d(23,e),e[l].base_},r.produce=ae,r.produceWithPatches=ue,r.setAutoFreeze=ce,r.setUseProxies=le}}},{package:"immer",file:"node_modules/immer/dist/immer.cjs.development.js"}],[4648,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[J]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===X}(e)||Array.isArray(e)||!!e[q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[q])||h(e)||d(e))}function s(e,t,r){void 0===r&&(r=!1),0===a(e)?(r?Object.keys:Q)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function a(e){var t=e[J];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:h(e)?2:d(e)?3:0}function u(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===a(e)?e.get(t):e[t]}function l(e,t,r){var n=a(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return V&&e instanceof Map}function d(e){return K&&e instanceof Set}function p(e){return e.i||e.u}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y(e);delete t[J];for(var r=Q(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(a(e)>1&&(e.set=e.add=e.clear=e.delete=m),Object.freeze(e),t&&s(e,(function(e,t){return g(t,!0)}),!0)),e}function m(){n(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=ee[e];return t||n(18,e),t}function w(e,t){ee[e]||(ee[e]=t)}function v(){return G}function A(e,t){t&&(_("Patches"),e.o=[],e.v=[],e.s=t)}function T(e){E(e),e.p.forEach(x),e.p=null}function E(e){e===G&&(G=e.l)}function j(e){return G={p:[],l:G,h:e,_:!0,m:0}}function x(e){var t=e[J];0===t.t||1===t.t?t.j():t.O=!0}function k(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||_("ES5").P(t,e,i),i?(r[J].g&&(T(t),n(4)),o(e)&&(e=P(t,e),t.l||O(t,e)),t.o&&_("Patches").M(r[J].u,e,t.o,t.v)):e=P(t,r,[]),T(t),t.o&&t.s(t.o,t.v),e!==W?e:void 0}function P(e,t,r){if(b(t))return t;var n=t[J];if(!n)return s(t,(function(i,o){return S(e,n,t,i,o,r)}),!0),t;if(n.A!==e)return t;if(!n.g)return O(e,n.u,!0),n.u;if(!n.R){n.R=!0,n.A.m--;var i=4===n.t||5===n.t?n.i=y(n.k):n.i,o=i,a=!1;3===n.t&&(o=new Set(i),i.clear(),a=!0),s(o,(function(t,o){return S(e,n,i,t,o,r,a)})),O(e,i,!1),r&&e.o&&_("Patches").F(n,r,e.o,e.v)}return n.i}function S(e,t,r,n,s,a,c){if(i(s)){var f=P(e,s,a&&t&&3!==t.t&&!u(t.N,n)?a.concat(n):void 0);if(l(r,n,f),!i(f))return;e._=!1}else c&&r.add(s);if(o(s)&&!b(s)){if(!e.h.D&&e.m<1)return;P(e,s),t&&t.A.l||O(e,s)}}function O(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e._&&g(t,r)}function I(e,t){var r=e[J];return(r?p(r):e)[t]}function N(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function R(e){e.g||(e.g=!0,e.l&&R(e.l))}function U(e){e.i||(e.i=y(e.u))}function B(e,t,r){var n=h(t)?_("MapSet").K(t,r):d(t)?_("MapSet").$(t,r):e.S?function(e,t){var r=Array.isArray(e),n={t:r?1:0,A:t?t.A:v(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},i=n,o=te;r&&(i=[n],o=re);var s=Proxy.revocable(i,o),a=s.revoke,u=s.proxy;return n.k=u,n.j=a,u}(t,r):_("ES5").I(t,r);return(r?r.A:v()).p.push(n),n}function C(e){return i(e)||n(22,e),function e(t){if(!o(t))return t;var r,n=t[J],i=a(t);if(n){if(!n.g&&(n.t<4||!_("ES5").J(n)))return n.u;n.R=!0,r=L(t,i),n.R=!1}else r=L(t,i);return s(r,(function(t,i){n&&c(n.u,t)===i||l(r,t,e(i))})),3===i?new Set(r):r}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function F(){function e(e,t){var r=o[e];return r?r.enumerable=t:o[e]=r={configurable:!0,enumerable:t,get:function(){return te.get(this[J],e)},set:function(t){te.set(this[J],e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][J];if(!i.g)switch(i.t){case 5:n(i)&&R(i);break;case 4:r(i)&&R(i)}}}function r(e){for(var t=e.u,r=e.k,n=Q(r),i=n.length-1;i>=0;i--){var o=n[i];if(o!==J){var s=t[o];if(void 0===s&&!u(t,o))return!0;var a=r[o],c=a&&a[J];if(c?c.u!==s:!f(a,s))return!0}}var l=!!t[J];return n.length!==Q(t).length+(l?0:1)}function n(e){var t=e.k;if(t.length!==e.u.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var o={};w("ES5",{I:function(t,r){var n=Array.isArray(t),i=function(t,r){if(t){for(var n=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(n,""+i,e(i,!0));return n}var o=Y(r);delete o[J];for(var s=Q(o),a=0;a<s.length;a++){var u=s[a];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(n,t),o={t:n?5:4,A:r?r.A:v(),g:!1,R:!1,N:{},l:r,u:t,k:i,i:null,O:!1,C:!1};return Object.defineProperty(i,J,{value:o,writable:!0}),i},P:function(e,r,o){o?i(r)&&r[J].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var r=t[J];if(r){var i=r.u,o=r.k,a=r.N,c=r.t;if(4===c)s(o,(function(t){t!==J&&(void 0!==i[t]||u(i,t)?a[t]||e(o[t]):(a[t]=!0,R(r)))})),s(i,(function(e){void 0!==o[e]||u(o,e)||(a[e]=!1,R(r))}));else if(5===c){if(n(r)&&(R(r),a.length=!0),o.length<i.length)for(var l=o.length;l<i.length;l++)a[l]=!1;else for(var f=i.length;f<o.length;f++)a[f]=!0;for(var h=Math.min(o.length,i.length),d=0;d<h;d++)o.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&e(o[d])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?r(e):n(e)}})}function D(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(h(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(d(t))return new Set(Array.from(t).map(e));var r=Object.create(Object.getPrototypeOf(t));for(var n in t)r[n]=e(t[n]);return u(t,q)&&(r[q]=t[q]),r}function t(t){return i(t)?e(t):t}var r="add";w("Patches",{W:function(t,i){return i.forEach((function(i){for(var o=i.path,s=i.op,u=t,l=0;l<o.length-1;l++){var f=a(u),h=o[l];"string"!=typeof h&&"number"!=typeof h&&(h=""+h),0!==f&&1!==f||"__proto__"!==h&&"constructor"!==h||n(24),"function"==typeof u&&"prototype"===h&&n(24),"object"!=typeof(u=c(u,h))&&n(15,o.join("/"))}var d=a(u),p=e(i.value),y=o[o.length-1];switch(s){case"replace":switch(d){case 2:return u.set(y,p);case 3:n(16);default:return u[y]=p}case r:switch(d){case 1:return"-"===y?u.push(p):u.splice(y,0,p);case 2:return u.set(y,p);case 3:return u.add(p);default:return u[y]=p}case"remove":switch(d){case 1:return u.splice(y,1);case 2:return u.delete(y);case 3:return u.delete(i.value);default:return delete u[y]}default:n(17,s)}})),t},F:function(e,n,i,o){switch(e.t){case 0:case 4:case 2:return function(e,n,i,o){var a=e.u,l=e.i;s(e.N,(function(e,s){var f=c(a,e),h=c(l,e),d=s?u(a,e)?"replace":r:"remove";if(f!==h||"replace"!==d){var p=n.concat(e);i.push("remove"===d?{op:d,path:p}:{op:d,path:p,value:h}),o.push(d===r?{op:"remove",path:p}:"remove"===d?{op:r,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}}))}(e,n,i,o);case 5:case 1:return function(e,n,i,o){var s=e.u,a=e.N,u=e.i;if(u.length<s.length){var c=[u,s];s=c[0],u=c[1];var l=[o,i];i=l[0],o=l[1]}for(var f=0;f<s.length;f++)if(a[f]&&u[f]!==s[f]){var h=n.concat([f]);i.push({op:"replace",path:h,value:t(u[f])}),o.push({op:"replace",path:h,value:t(s[f])})}for(var d=s.length;d<u.length;d++){var p=n.concat([d]);i.push({op:r,path:p,value:t(u[d])})}s.length<u.length&&o.push({op:"replace",path:n.concat(["length"]),value:s.length})}(e,n,i,o);case 3:return function(e,t,n,i){var o=e.u,s=e.i,a=0;o.forEach((function(e){if(!s.has(e)){var o=t.concat([a]);n.push({op:"remove",path:o,value:e}),i.unshift({op:r,path:o,value:e})}a++})),a=0,s.forEach((function(e){if(!o.has(e)){var s=t.concat([a]);n.push({op:r,path:s,value:e}),i.unshift({op:"remove",path:s,value:e})}a++}))}(e,n,i,o)}},M:function(e,t,r,n){r.push({op:"replace",path:[],value:t===W?void 0:t}),n.push({op:"replace",path:[],value:e})}})}function M(){function e(e,t){function r(){this.constructor=e}a(e,t),e.prototype=(r.prototype=t.prototype,new r)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach((function(t){if(o(t)){var r=B(e.A.h,t,e);e.p.set(t,r),e.i.add(r)}else e.i.add(t)})))}function i(e){e.O&&n(3,JSON.stringify(p(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},u=function(){function r(e,t){return this[J]={t:2,l:t,A:t?t.A:v(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(r,Map);var n=r.prototype;return Object.defineProperty(n,"size",{get:function(){return p(this[J]).size}}),n.has=function(e){return p(this[J]).has(e)},n.set=function(e,r){var n=this[J];return i(n),p(n).has(e)&&p(n).get(e)===r||(t(n),R(n),n.N.set(e,!0),n.i.set(e,r),n.N.set(e,!0)),this},n.delete=function(e){if(!this.has(e))return!1;var r=this[J];return i(r),t(r),R(r),r.u.has(e)?r.N.set(e,!1):r.N.delete(e),r.i.delete(e),!0},n.clear=function(){var e=this[J];i(e),p(e).size&&(t(e),R(e),e.N=new Map,s(e.u,(function(t){e.N.set(t,!1)})),e.i.clear())},n.forEach=function(e,t){var r=this;p(this[J]).forEach((function(n,i){e.call(t,r.get(i),i,r)}))},n.get=function(e){var r=this[J];i(r);var n=p(r).get(e);if(r.R||!o(n))return n;if(n!==r.u.get(e))return n;var s=B(r.A.h,n,r);return t(r),r.i.set(e,s),s},n.keys=function(){return p(this[J]).keys()},n.values=function(){var e,t=this,r=this.keys();return(e={})[Z]=function(){return t.values()},e.next=function(){var e=r.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},n.entries=function(){var e,t=this,r=this.keys();return(e={})[Z]=function(){return t.entries()},e.next=function(){var e=r.next();if(e.done)return e;var n=t.get(e.value);return{done:!1,value:[e.value,n]}},e},n[Z]=function(){return this.entries()},r}(),c=function(){function t(e,t){return this[J]={t:3,l:t,A:t?t.A:v(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return p(this[J]).size}}),n.has=function(e){var t=this[J];return i(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[J];return i(t),this.has(e)||(r(t),R(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[J];return i(t),r(t),R(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[J];i(e),p(e).size&&(r(e),R(e),e.i.clear())},n.values=function(){var e=this[J];return i(e),r(e),e.i.values()},n.entries=function(){var e=this[J];return i(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[Z]=function(){return this.values()},n.forEach=function(e,t){for(var r=this.values(),n=r.next();!n.done;)e.call(t,n.value,n.value,this),n=r.next()},t}();w("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var z;Object.defineProperty(r,"__esModule",{value:!0});var G,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,K="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,W=H?Symbol.for("immer-nothing"):((z={})["immer-nothing"]=!0,z),q=H?Symbol.for("immer-draftable"):"__$immer_draftable",J=H?Symbol.for("immer-state"):"__$immer_state",Z="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",X=""+Object.prototype.constructor,Q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(e){var t={};return Q(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},ee={},te={get:function(e,t){if(t===J)return e;var r=p(e);if(!u(r,t))return function(e,t,r){var n,i=N(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.R||!o(n)?n:n===I(e.u,t)?(U(e),e.i[t]=B(e.A.h,n,e)):n},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,r){var n=N(p(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.g){var i=I(p(e),t),o=null==i?void 0:i[J];if(o&&o.u===r)return e.i[t]=r,e.N[t]=!1,!0;if(f(r,i)&&(void 0!==r||u(e.u,t)))return!0;U(e),R(e)}return e.i[t]===r&&(void 0!==r||t in e.i)||Number.isNaN(r)&&Number.isNaN(e.i[t])||(e.i[t]=r,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==I(e.u,t)||t in e.u?(e.N[t]=!1,U(e),R(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var r=p(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},re={};s(te,(function(e,t){re[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),re.deleteProperty=function(e,t){return re.set.call(this,e,t,void 0)},re.set=function(e,t,r){return te.set.call(this,e[0],t,r,e[0])};var ne=function(){function e(e){var t=this;this.S=$,this.D=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var a=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return a.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=j(t),l=B(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?T(c):E(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return A(c,i),k(e,c)}),(function(e){throw T(c),e})):(A(c,i),k(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===W&&(u=void 0),t.D&&g(u,!0),i){var h=[],d=[];_("Patches").M(e,u,h,d),i(h,d)}return u}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))};var n,i,o=t.produce(e,r,(function(e,t){n=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,n,i]})):[o,n,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),i(e)&&(e=C(e));var t=j(this),r=B(this,e,void 0);return r[J].C=!0,E(t),r},t.finishDraft=function(e,t){var r=(e&&e[J]).A;return A(r,t),k(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!$&&n(20),this.S=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var o=_("Patches").W;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),ie=new ne,oe=ie.produce,se=ie.produceWithPatches.bind(ie),ae=ie.setAutoFreeze.bind(ie),ue=ie.setUseProxies.bind(ie),ce=ie.applyPatches.bind(ie),le=ie.createDraft.bind(ie),fe=ie.finishDraft.bind(ie);r.Immer=ne,r.applyPatches=ce,r.castDraft=function(e){return e},r.castImmutable=function(e){return e},r.createDraft=le,r.current=C,r.default=oe,r.enableAllPlugins=function(){F(),M(),D()},r.enableES5=F,r.enableMapSet=M,r.enablePatches=D,r.finishDraft=fe,r.freeze=g,r.immerable=q,r.isDraft=i,r.isDraftable=o,r.nothing=W,r.original=function(e){return i(e)||n(23,e),e[J].u},r.produce=oe,r.produceWithPatches=se,r.setAutoFreeze=ae,r.setUseProxies=ue}}},{package:"immer",file:"node_modules/immer/dist/immer.cjs.production.min.js"}],[4649,{"./immer.cjs.development.js":4647,"./immer.cjs.production.min.js":4648},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./immer.cjs.production.min.js")}}},{package:"immer",file:"node_modules/immer/dist/index.js"}],[465,{"./bytes.js":452,"./internal.js":458},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toType=r.TypeOutput=r.isNestedUint8Array=void 0;const n=e("./bytes.js"),i=e("./internal.js");var o;r.isNestedUint8Array=function e(t){if(!Array.isArray(t))return!1;for(const r of t)if(Array.isArray(r)){if(!e(r))return!1}else if(!(r instanceof Uint8Array))return!1;return!0},function(e){e[e.Number=0]="Number",e[e.BigInt=1]="BigInt",e[e.Uint8Array=2]="Uint8Array",e[e.PrefixedHexString=3]="PrefixedHexString"}(o=r.TypeOutput||(r.TypeOutput={})),r.toType=function(e,t){if(null===e)return null;if(e===undefined)return undefined;if("string"==typeof e&&!(0,i.isHexString)(e))throw new Error(`A string must be provided with a 0x-prefix, given: ${e}`);if("number"==typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");const r=(0,n.toBytes)(e);switch(t){case o.Uint8Array:return r;case o.BigInt:return(0,n.bytesToBigInt)(r);case o.Number:{const e=(0,n.bytesToBigInt)(r);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case o.PrefixedHexString:return(0,n.bytesToHex)(r);default:throw new Error("unknown outputType")}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/types.js"}],[4650,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}}}},{package:"pumpify>inherits",file:"node_modules/inherits/inherits_browser.js"}],[4653,{"call-bind/callBound":4089,"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("has-tostringtag/shams")(),i=e("call-bind/callBound")("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=a?o:s}}},{package:"browserify>util>is-arguments",file:"node_modules/is-arguments/index.js"}],[4657,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}}}},{package:"browserify>insert-module-globals>is-buffer",file:"node_modules/is-buffer/index.js"}],[4658,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i,o=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{n=Object.defineProperty({},"length",{get:function(){throw i}}),i={},s((function(){throw 42}),null,n)}catch(e){e!==i&&(s=null)}else s=null;var a=/^\s*class\b/,u=function(e){try{var t=o.call(e);return a.test(t)}catch(e){return!1}},c=function(e){try{return!u(e)&&(o.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,f="function"==typeof Symbol&&!!Symbol.toStringTag,h=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((h||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}t.exports=s?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{s(e,null,n)}catch(e){if(e!==i)return!1}return!u(e)&&c(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(f)return c(e);if(u(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&c(e)}}}},{package:"string.prototype.matchall>es-abstract>is-callable",file:"node_modules/is-callable/index.js"}],[466,{"./constants.js":453},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatBigDecimal=r.GWEI_TO_WEI=void 0;const n=e("./constants.js");r.GWEI_TO_WEI=BigInt(1e9),r.formatBigDecimal=function(e,t,r){t===n.BIGINT_0&&(t=n.BIGINT_1);const i=e/t,o=(e-i*t)*r/t,s=String(r).length-1-String(o).length;return`${i}.${"0".repeat(s)}${o}`}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/units.js"}],[4660,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.prototype.toString;t.exports=function(e){return"[object Function]"===n.call(e)}}}},{package:"promise-to-callback>is-fn",file:"node_modules/is-fn/index.js"}],[4661,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=e("has-tostringtag/shams")(),u=Object.getPrototypeOf;t.exports=function(e){if("function"!=typeof e)return!1;if(s.test(o.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===n){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&u(t)}return u(e)===n}}}},{package:"koa>is-generator-function",file:"node_modules/is-generator-function/index.js"}],[4662,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){if("string"!=typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}}}},{package:"eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format>is-hex-prefixed",file:"node_modules/is-hex-prefixed/src/index.js"}],[467,{"./bytes.js":452},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getVerkleTreeKeyForStorageSlot=r.chunkifyCode=r.getVerkleTreeKeyForCodeChunk=r.getVerkleTreeIndicesForCodeChunk=r.getVerkleTreeIndexesForStorageSlot=r.getVerkleKey=r.VERKLE_MAIN_STORAGE_OFFSET=r.VERKLE_NODE_WIDTH=r.VERKLE_CODE_OFFSET=r.VERKLE_HEADER_STORAGE_OFFSET=r.VERKLE_CODE_SIZE_LEAF_KEY=r.VERKLE_CODE_HASH_LEAF_KEY=r.VERKLE_NONCE_LEAF_KEY=r.VERKLE_BALANCE_LEAF_KEY=r.VERKLE_VERSION_LEAF_KEY=r.VerkleLeafType=r.verifyVerkleProof=r.getVerkleStem=void 0;const n=e("./bytes.js");function i(e,t,r=0){const i=(0,n.setLengthLeft)(t.toBytes(),32);let o;o="number"==typeof r?(0,n.setLengthRight)((0,n.int32ToBytes)(Number(r),!0),32):(0,n.setLengthRight)((0,n.bigIntToBytes)(BigInt(r),!0).slice(0,32),32);return e.getTreeKey(i,o,0).slice(0,31)}var o;r.getVerkleStem=i,r.verifyVerkleProof=function(e,t,r){return e.verifyExecutionWitnessPreState((0,n.bytesToHex)(t),JSON.stringify(r))},function(e){e[e.Version=0]="Version",e[e.Balance=1]="Balance",e[e.Nonce=2]="Nonce",e[e.CodeHash=3]="CodeHash",e[e.CodeSize=4]="CodeSize"}(o=r.VerkleLeafType||(r.VerkleLeafType={})),r.VERKLE_VERSION_LEAF_KEY=(0,n.intToBytes)(o.Version),r.VERKLE_BALANCE_LEAF_KEY=(0,n.intToBytes)(o.Balance),r.VERKLE_NONCE_LEAF_KEY=(0,n.intToBytes)(o.Nonce),r.VERKLE_CODE_HASH_LEAF_KEY=(0,n.intToBytes)(o.CodeHash),r.VERKLE_CODE_SIZE_LEAF_KEY=(0,n.intToBytes)(o.CodeSize),r.VERKLE_HEADER_STORAGE_OFFSET=64,r.VERKLE_CODE_OFFSET=128,r.VERKLE_NODE_WIDTH=256,r.VERKLE_MAIN_STORAGE_OFFSET=BigInt(256)**BigInt(31);function s(e){let t;t=e<r.VERKLE_CODE_OFFSET-r.VERKLE_HEADER_STORAGE_OFFSET?BigInt(r.VERKLE_HEADER_STORAGE_OFFSET)+e:r.VERKLE_MAIN_STORAGE_OFFSET+e;return{treeIndex:t/BigInt(r.VERKLE_NODE_WIDTH),subIndex:Number(t%BigInt(r.VERKLE_NODE_WIDTH))}}function a(e){return{treeIndex:Math.floor((r.VERKLE_CODE_OFFSET+e)/r.VERKLE_NODE_WIDTH),subIndex:(r.VERKLE_CODE_OFFSET+e)%r.VERKLE_NODE_WIDTH}}r.getVerkleKey=(e,t)=>{switch(t){case o.Version:return(0,n.concatBytes)(e,r.VERKLE_VERSION_LEAF_KEY);case o.Balance:return(0,n.concatBytes)(e,r.VERKLE_BALANCE_LEAF_KEY);case o.Nonce:return(0,n.concatBytes)(e,r.VERKLE_NONCE_LEAF_KEY);case o.CodeHash:return(0,n.concatBytes)(e,r.VERKLE_CODE_HASH_LEAF_KEY);case o.CodeSize:return(0,n.concatBytes)(e,r.VERKLE_CODE_SIZE_LEAF_KEY);default:return(0,n.concatBytes)(e,t)}},r.getVerkleTreeIndexesForStorageSlot=s,r.getVerkleTreeIndicesForCodeChunk=a;r.getVerkleTreeKeyForCodeChunk=async(e,t,r)=>{const{treeIndex:o,subIndex:s}=a(t);return(0,n.concatBytes)(i(r,e,o),(0,n.toBytes)(s))};r.chunkifyCode=e=>{if(e.length%31!=0){const t=31-e.length%31;e=(0,n.setLengthRight)(e,e.length+t)}throw new Error("Not implemented")};r.getVerkleTreeKeyForStorageSlot=async(e,t,r)=>{const{treeIndex:o,subIndex:a}=s(t);return(0,n.concatBytes)(i(r,e,o),(0,n.toBytes)(a))}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/verkle.js"}],[4674,{"which-typed-array":5700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("which-typed-array");t.exports=function(e){return!!n(e)}}}},{package:"browserify>util>is-typed-array",file:"node_modules/is-typed-array/index.js"}],[4675,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){if("string"!=typeof e)return!1;var t=e.match(n);if(!t)return!1;var r=t[1];if(!r)return!1;if(i.test(r)||o.test(r))return!0;return!1};var n=/^(?:\w+:)?\/\/(\S+)$/,i=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,o=/^[^\s\.]+\.\S{2,}$/}}},{package:"@open-rpc/schema-utils-js>is-url",file:"node_modules/is-url/index.js"}],[468,{"./address.js":449,"./bytes.js":452,"./constants.js":453,"./types.js":465},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Withdrawal=void 0;const n=e("./address.js"),i=e("./bytes.js"),o=e("./constants.js"),s=e("./types.js");class a{constructor(e,t,r,n){this.index=e,this.validatorIndex=t,this.address=r,this.amount=n}static fromWithdrawalData(e){const{index:t,validatorIndex:r,address:o,amount:u}=e,c=(0,s.toType)(t,s.TypeOutput.BigInt),l=(0,s.toType)(r,s.TypeOutput.BigInt),f=o instanceof n.Address?o:new n.Address((0,i.toBytes)(o)),h=(0,s.toType)(u,s.TypeOutput.BigInt);return new a(c,l,f,h)}static fromValuesArray(e){if(4!==e.length)throw Error(`Invalid withdrawalArray length expected=4 actual=${e.length}`);const[t,r,n,i]=e;return a.fromWithdrawalData({index:t,validatorIndex:r,address:n,amount:i})}static toBytesArray(e){const{index:t,validatorIndex:r,address:i,amount:a}=e;return[(0,s.toType)(t,s.TypeOutput.BigInt)===o.BIGINT_0?new Uint8Array:(0,s.toType)(t,s.TypeOutput.Uint8Array),(0,s.toType)(r,s.TypeOutput.BigInt)===o.BIGINT_0?new Uint8Array:(0,s.toType)(r,s.TypeOutput.Uint8Array),i instanceof n.Address?i.bytes:(0,s.toType)(i,s.TypeOutput.Uint8Array),(0,s.toType)(a,s.TypeOutput.BigInt)===o.BIGINT_0?new Uint8Array:(0,s.toType)(a,s.TypeOutput.Uint8Array)]}raw(){return a.toBytesArray(this)}toValue(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.bytes,amount:this.amount}}toJSON(){return{index:(0,i.bigIntToHex)(this.index),validatorIndex:(0,i.bigIntToHex)(this.validatorIndex),address:(0,i.bytesToHex)(this.address.bytes),amount:(0,i.bigIntToHex)(this.amount)}}}r.Withdrawal=a}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/cjs/withdrawal.js"}],[4682,{"whatwg-fetch":5697},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("whatwg-fetch"),t.exports=self.fetch.bind(self)}}},{package:"@open-rpc/test-coverage>isomorphic-fetch",file:"node_modules/isomorphic-fetch/fetch-npm-browserify.js"}],[4685,{_process:5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){
/**
* [js-sha3]{@link https://github.com/emn178/js-sha3}
*
* @version 0.9.3
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2015-2023
* @license MIT
*/
!function(){var r="input is invalid type",n="object"==typeof window,i=n?window:{};i.JS_SHA3_NO_WINDOW&&(n=!1);var o=!n&&"object"==typeof self;!i.JS_SHA3_NO_NODE_JS&&"object"==typeof e&&e.versions&&e.versions.node?i=global:o&&(i=self);for(var s=!i.JS_SHA3_NO_COMMON_JS&&"object"==typeof t&&t.exports,a="function"==typeof define&&define.amd,u=!i.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,c="0123456789abcdef".split(""),l=[4,1024,262144,67108864],f=[0,8,16,24],h=[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],p=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],g={128:168,256:136},m=i.JS_SHA3_NO_NODE_JS||!Array.isArray?function(e){return"[object Array]"===Object.prototype.toString.call(e)}:Array.isArray,b=!u||!i.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView?ArrayBuffer.isView:function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer},_=function(e){var t=typeof e;if("string"===t)return[e,!0];if("object"!==t||null===e)throw new Error(r);if(u&&e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(!m(e)&&!b(e))throw new Error(r);return[e,!1]},w=function(e){return 0===_(e)[0].length},v=function(e){for(var t=[],r=0;r<e.length;++r)t[r]=e[r];return t},A=function(e,t,r){return function(n){return new L(e,t,e).update(n)[r]()}},T=function(e,t,r){return function(n,i){return new L(e,t,i).update(n)[r]()}},E=function(e,t,r){return function(t,n,i,o){return S["cshake"+e].update(t,n,i,o)[r]()}},j=function(e,t,r){return function(t,n,i,o){return S["kmac"+e].update(t,n,i,o)[r]()}},x=function(e,t,r,n){for(var i=0;i<y.length;++i){var o=y[i];e[o]=t(r,n,o)}return e},k=function(e,t){var r=A(e,t,"hex");return r.create=function(){return new L(e,t,e)},r.update=function(e){return r.create().update(e)},x(r,A,e,t)},P=[{name:"keccak",padding:[1,256,65536,16777216],bits:d,createMethod:k},{name:"sha3",padding:[6,1536,393216,100663296],bits:d,createMethod:k},{name:"shake",padding:[31,7936,2031616,520093696],bits:p,createMethod:function(e,t){var r=T(e,t,"hex");return r.create=function(r){return new L(e,t,r)},r.update=function(e,t){return r.create(t).update(e)},x(r,T,e,t)}},{name:"cshake",padding:l,bits:p,createMethod:function(e,t){var r=g[e],n=E(e,0,"hex");return n.create=function(n,i,o){return w(i)&&w(o)?S["shake"+e].create(n):new L(e,t,n).bytepad([i,o],r)},n.update=function(e,t,r,i){return n.create(t,r,i).update(e)},x(n,E,e,t)}},{name:"kmac",padding:l,bits:p,createMethod:function(e,t){var r=g[e],n=j(e,0,"hex");return n.create=function(n,i,o){return new F(e,t,i).bytepad(["KMAC",o],r).bytepad([n],r)},n.update=function(e,t,r,i){return n.create(e,r,i).update(t)},x(n,j,e,t)}}],S={},O=[],I=0;I<P.length;++I)for(var N=P[I],R=N.bits,U=0;U<R.length;++U){var B=N.name+"_"+R[U];if(O.push(B),S[B]=N.createMethod(R[U],N.padding),"sha3"!==N.name){var C=N.name+R[U];O.push(C),S[C]=S[B]}}function L(e,t,r){this.blocks=[],this.s=[],this.padding=t,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function F(e,t,r){L.call(this,e,t,r)}L.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t=_(e);e=t[0];for(var r,n,i=t[1],o=this.blocks,s=this.byteCount,a=e.length,u=this.blockCount,c=0,l=this.s;c<a;){if(this.reset)for(this.reset=!1,o[0]=this.block,r=1;r<u+1;++r)o[r]=0;if(i)for(r=this.start;c<a&&r<s;++c)(n=e.charCodeAt(c))<128?o[r>>2]|=n<<f[3&r++]:n<2048?(o[r>>2]|=(192|n>>6)<<f[3&r++],o[r>>2]|=(128|63&n)<<f[3&r++]):n<55296||n>=57344?(o[r>>2]|=(224|n>>12)<<f[3&r++],o[r>>2]|=(128|n>>6&63)<<f[3&r++],o[r>>2]|=(128|63&n)<<f[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++c)),o[r>>2]|=(240|n>>18)<<f[3&r++],o[r>>2]|=(128|n>>12&63)<<f[3&r++],o[r>>2]|=(128|n>>6&63)<<f[3&r++],o[r>>2]|=(128|63&n)<<f[3&r++]);else for(r=this.start;c<a&&r<s;++c)o[r>>2]|=e[c]<<f[3&r++];if(this.lastByteIndex=r,r>=s){for(this.start=r-s,this.block=o[u],r=0;r<u;++r)l[r]^=o[r];D(l),this.reset=!0}else this.start=r}return this},L.prototype.encode=function(e,t){var r=255&e,n=1,i=[r];for(r=255&(e>>=8);r>0;)i.unshift(r),r=255&(e>>=8),++n;return t?i.push(n):i.unshift(n),this.update(i),i.length},L.prototype.encodeString=function(e){var t=_(e);e=t[0];var r=t[1],n=0,i=e.length;if(r)for(var o=0;o<e.length;++o){var s=e.charCodeAt(o);s<128?n+=1:s<2048?n+=2:s<55296||s>=57344?n+=3:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),n+=4)}else n=i;return n+=this.encode(8*n),this.update(e),n},L.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n<e.length;++n)r+=this.encodeString(e[n]);var i=(t-r%t)%t,o=[];return o.length=i,this.update(o),this},L.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,r=this.blockCount,n=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t<r+1;++t)e[t]=0;for(e[r-1]|=2147483648,t=0;t<r;++t)n[t]^=e[t];D(n)}},L.prototype.toString=L.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,s=0,a="";s<n;){for(o=0;o<t&&s<n;++o,++s)e=r[o],a+=c[e>>4&15]+c[15&e]+c[e>>12&15]+c[e>>8&15]+c[e>>20&15]+c[e>>16&15]+c[e>>28&15]+c[e>>24&15];s%t==0&&(r=v(r),D(r),o=0)}return i&&(e=r[o],a+=c[e>>4&15]+c[15&e],i>1&&(a+=c[e>>12&15]+c[e>>8&15]),i>2&&(a+=c[e>>20&15]+c[e>>16&15])),a},L.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,s=0,a=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var u=new Uint32Array(e);s<n;){for(o=0;o<t&&s<n;++o,++s)u[s]=r[o];s%t==0&&(r=v(r),D(r))}return i&&(u[s]=r[o],e=e.slice(0,a)),e},L.prototype.buffer=L.prototype.arrayBuffer,L.prototype.digest=L.prototype.array=function(){this.finalize();for(var e,t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,s=0,a=0,u=[];a<i;){for(s=0;s<r&&a<i;++s,++a)e=a<<2,t=n[s],u[e]=255&t,u[e+1]=t>>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;a%r==0&&(n=v(n),D(n))}return o&&(e=a<<2,t=n[s],u[e]=255&t,o>1&&(u[e+1]=t>>8&255),o>2&&(u[e+2]=t>>16&255)),u},F.prototype=new L,F.prototype.finalize=function(){return this.encode(this.outputBits,!0),L.prototype.finalize.call(this)};var D=function(e){var t,r,n,i,o,s,a,u,c,l,f,d,p,y,g,m,b,_,w,v,A,T,E,j,x,k,P,S,O,I,N,R,U,B,C,L,F,D,M,z,G,H,V,K,$,W,q,J,Z,X,Q,Y,ee,te,re,ne,ie,oe,se,ae,ue,ce,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],a=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],c=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|a>>>31),r=(p=e[9]^e[19]^e[29]^e[39]^e[49])^(a<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(u<<1|c>>>31),r=o^(c<<1|u>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(l<<1|f>>>31),r=a^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=u^(d<<1|p>>>31),r=c^(p<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(i<<1|o>>>31),r=f^(o<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,y=e[0],g=e[1],W=e[11]<<4|e[10]>>>28,q=e[10]<<4|e[11]>>>28,S=e[20]<<3|e[21]>>>29,O=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,V=e[41]<<18|e[40]>>>14,B=e[2]<<1|e[3]>>>31,C=e[3]<<1|e[2]>>>31,m=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Z=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,N=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,L=e[14]<<6|e[15]>>>26,F=e[15]<<6|e[14]>>>26,_=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,X=e[34]<<15|e[35]>>>17,Q=e[35]<<15|e[34]>>>17,R=e[45]<<29|e[44]>>>3,U=e[44]<<29|e[45]>>>3,j=e[6]<<28|e[7]>>>4,x=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,D=e[26]<<25|e[27]>>>7,M=e[27]<<25|e[26]>>>7,v=e[36]<<21|e[37]>>>11,A=e[37]<<21|e[36]>>>11,Y=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,K=e[8]<<27|e[9]>>>5,$=e[9]<<27|e[8]>>>5,k=e[18]<<20|e[19]>>>12,P=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,se=e[28]<<7|e[29]>>>25,z=e[38]<<8|e[39]>>>24,G=e[39]<<8|e[38]>>>24,T=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=y^~m&_,e[1]=g^~b&w,e[10]=j^~k&S,e[11]=x^~P&O,e[20]=B^~L&D,e[21]=C^~F&M,e[30]=K^~W&J,e[31]=$^~q&Z,e[40]=te^~ne&oe,e[41]=re^~ie&se,e[2]=m^~_&v,e[3]=b^~w&A,e[12]=k^~S&I,e[13]=P^~O&N,e[22]=L^~D&z,e[23]=F^~M&G,e[32]=W^~J&X,e[33]=q^~Z&Q,e[42]=ne^~oe&ae,e[43]=ie^~se&ue,e[4]=_^~v&T,e[5]=w^~A&E,e[14]=S^~I&R,e[15]=O^~N&U,e[24]=D^~z&H,e[25]=M^~G&V,e[34]=J^~X&Y,e[35]=Z^~Q&ee,e[44]=oe^~ae&ce,e[45]=se^~ue&le,e[6]=v^~T&y,e[7]=A^~E&g,e[16]=I^~R&j,e[17]=N^~U&x,e[26]=z^~H&B,e[27]=G^~V&C,e[36]=X^~Y&K,e[37]=Q^~ee&$,e[46]=ae^~ce&te,e[47]=ue^~le&re,e[8]=T^~y&m,e[9]=E^~g&b,e[18]=R^~j&k,e[19]=U^~x&P,e[28]=H^~B&L,e[29]=V^~C&F,e[38]=Y^~K&W,e[39]=ee^~$&q,e[48]=ce^~te&ne,e[49]=le^~re&ie,e[0]^=h[n],e[1]^=h[n+1]};if(s)t.exports=S;else{for(I=0;I<O.length;++I)i[O[I]]=S[O[I]];a&&define((function(){return S}))}}()}).call(this)}).call(this,e("_process"))}}},{package:"eth-ens-namehash>js-sha3",file:"node_modules/js-sha3/src/sha3.js"}],[4686,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=this,i=function(){var e=Math.imul,t=Math.clz32,r=Math.abs,n=Math.max,i=Math.floor;class o extends Array{constructor(e,t){if(super(e),this.sign=t,e>o.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded")}static BigInt(e){var t=Number.isFinite;if("number"==typeof e){if(0===e)return o.__zero();if(o.__isOneDigitInt(e))return 0>e?o.__oneDigit(-e,!0):o.__oneDigit(e,!1);if(!t(e)||i(e)!==e)throw new RangeError("The number "+e+" cannot be converted to BigInt because it is not an integer");return o.__fromDouble(e)}if("string"==typeof e){const t=o.__fromString(e);if(null===t)throw new SyntaxError("Cannot convert "+e+" to a BigInt");return t}if("boolean"==typeof e)return!0===e?o.__oneDigit(1,!1):o.__zero();if("object"==typeof e){if(e.constructor===o)return e;const t=o.__toPrimitive(e);return o.BigInt(t)}throw new TypeError("Cannot convert "+e+" to a BigInt")}toDebugString(){const e=["BigInt["];for(const t of this)e.push((t?(t>>>0).toString(16):t)+", ");return e.push("]"),e.join("")}toString(e=10){if(2>e||36<e)throw new RangeError("toString() radix argument must be between 2 and 36");return 0===this.length?"0":e&e-1?o.__toStringGeneric(this,e,!1):o.__toStringBasePowerOfTwo(this,e)}static toNumber(e){const t=e.length;if(0===t)return 0;if(1===t){const t=e.__unsignedDigit(0);return e.sign?-t:t}const r=e.__digit(t-1),n=o.__clz30(r),i=30*t-n;if(1024<i)return e.sign?-Infinity:1/0;let s=i-1,a=r,u=t-1;const c=n+3;let l=32===c?0:a<<c;l>>>=12;const f=c-12;let h=12<=c?0:a<<20+c,d=20+c;for(0<f&&0<u&&(u--,a=e.__digit(u),l|=a>>>30-f,h=a<<f+2,d=f+2);0<d&&0<u;)u--,a=e.__digit(u),h|=30<=d?a<<d-30:a>>>30-d,d-=30;const p=o.__decideRounding(e,d,u,a);if((1===p||0===p&&!(1&~h))&&(h=h+1>>>0,0===h&&(l++,0!=l>>>20&&(l=0,s++,1023<s))))return e.sign?-Infinity:1/0;const y=e.sign?-2147483648:0;return s=s+1023<<20,o.__kBitConversionInts[1]=y|s|l,o.__kBitConversionInts[0]=h,o.__kBitConversionDouble[0]}static unaryMinus(e){if(0===e.length)return e;const t=e.__copy();return t.sign=!e.sign,t}static bitwiseNot(e){return e.sign?o.__absoluteSubOne(e).__trim():o.__absoluteAddOne(e,!0)}static exponentiate(e,t){if(t.sign)throw new RangeError("Exponent must be positive");if(0===t.length)return o.__oneDigit(1,!1);if(0===e.length)return e;if(1===e.length&&1===e.__digit(0))return!e.sign||1&t.__digit(0)?e:o.unaryMinus(e);if(1<t.length)throw new RangeError("BigInt too big");let r=t.__unsignedDigit(0);if(1===r)return e;if(r>=o.__kMaxLengthBits)throw new RangeError("BigInt too big");if(1===e.length&&2===e.__digit(0)){const t=1+(0|r/30),n=e.sign&&!!(1&r),i=new o(t,n);i.__initializeDigits();const s=1<<r%30;return i.__setDigit(t-1,s),i}let n=null,i=e;for(!!(1&r)&&(n=e),r>>=1;0!==r;r>>=1)i=o.multiply(i,i),1&r&&(n=null===n?i:o.multiply(n,i));return n}static multiply(e,t){if(0===e.length)return e;if(0===t.length)return t;let r=e.length+t.length;30<=e.__clzmsd()+t.__clzmsd()&&r--;const n=new o(r,e.sign!==t.sign);n.__initializeDigits();for(let r=0;r<e.length;r++)o.__multiplyAccumulate(t,e.__digit(r),n,r);return n.__trim()}static divide(e,t){if(0===t.length)throw new RangeError("Division by zero");if(0>o.__absoluteCompare(e,t))return o.__zero();const r=e.sign!==t.sign,n=t.__unsignedDigit(0);let i;if(1===t.length&&32767>=n){if(1===n)return r===e.sign?e:o.unaryMinus(e);i=o.__absoluteDivSmall(e,n,null)}else i=o.__absoluteDivLarge(e,t,!0,!1);return i.sign=r,i.__trim()}static remainder(e,t){if(0===t.length)throw new RangeError("Division by zero");if(0>o.__absoluteCompare(e,t))return e;const r=t.__unsignedDigit(0);if(1===t.length&&32767>=r){if(1===r)return o.__zero();const t=o.__absoluteModSmall(e,r);return 0===t?o.__zero():o.__oneDigit(t,e.sign)}const n=o.__absoluteDivLarge(e,t,!1,!0);return n.sign=e.sign,n.__trim()}static add(e,t){const r=e.sign;return r===t.sign?o.__absoluteAdd(e,t,r):0<=o.__absoluteCompare(e,t)?o.__absoluteSub(e,t,r):o.__absoluteSub(t,e,!r)}static subtract(e,t){const r=e.sign;return r===t.sign?0<=o.__absoluteCompare(e,t)?o.__absoluteSub(e,t,r):o.__absoluteSub(t,e,!r):o.__absoluteAdd(e,t,r)}static leftShift(e,t){return 0===t.length||0===e.length?e:t.sign?o.__rightShiftByAbsolute(e,t):o.__leftShiftByAbsolute(e,t)}static signedRightShift(e,t){return 0===t.length||0===e.length?e:t.sign?o.__leftShiftByAbsolute(e,t):o.__rightShiftByAbsolute(e,t)}static unsignedRightShift(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}static lessThan(e,t){return 0>o.__compareToBigInt(e,t)}static lessThanOrEqual(e,t){return 0>=o.__compareToBigInt(e,t)}static greaterThan(e,t){return 0<o.__compareToBigInt(e,t)}static greaterThanOrEqual(e,t){return 0<=o.__compareToBigInt(e,t)}static equal(e,t){if(e.sign!==t.sign)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e.__digit(r)!==t.__digit(r))return!1;return!0}static notEqual(e,t){return!o.equal(e,t)}static bitwiseAnd(e,t){if(!e.sign&&!t.sign)return o.__absoluteAnd(e,t).__trim();if(e.sign&&t.sign){const r=n(e.length,t.length)+1;let i=o.__absoluteSubOne(e,r);const s=o.__absoluteSubOne(t);return i=o.__absoluteOr(i,s,i),o.__absoluteAddOne(i,!0,i).__trim()}return e.sign&&([e,t]=[t,e]),o.__absoluteAndNot(e,o.__absoluteSubOne(t)).__trim()}static bitwiseXor(e,t){if(!e.sign&&!t.sign)return o.__absoluteXor(e,t).__trim();if(e.sign&&t.sign){const r=n(e.length,t.length),i=o.__absoluteSubOne(e,r),s=o.__absoluteSubOne(t);return o.__absoluteXor(i,s,i).__trim()}const r=n(e.length,t.length)+1;e.sign&&([e,t]=[t,e]);let i=o.__absoluteSubOne(t,r);return i=o.__absoluteXor(i,e,i),o.__absoluteAddOne(i,!0,i).__trim()}static bitwiseOr(e,t){const r=n(e.length,t.length);if(!e.sign&&!t.sign)return o.__absoluteOr(e,t).__trim();if(e.sign&&t.sign){let n=o.__absoluteSubOne(e,r);const i=o.__absoluteSubOne(t);return n=o.__absoluteAnd(n,i,n),o.__absoluteAddOne(n,!0,n).__trim()}e.sign&&([e,t]=[t,e]);let i=o.__absoluteSubOne(t,r);return i=o.__absoluteAndNot(i,e,i),o.__absoluteAddOne(i,!0,i).__trim()}static asIntN(e,t){if(0===t.length)return t;if(0>(e=i(e)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===e)return o.__zero();if(e>=o.__kMaxLengthBits)return t;const r=0|(e+29)/30;if(t.length<r)return t;const n=t.__unsignedDigit(r-1),s=1<<(e-1)%30;if(t.length===r&&n<s)return t;if((n&s)!==s)return o.__truncateToNBits(e,t);if(!t.sign)return o.__truncateAndSubFromPowerOfTwo(e,t,!0);if(!(n&s-1)){for(let n=r-2;0<=n;n--)if(0!==t.__digit(n))return o.__truncateAndSubFromPowerOfTwo(e,t,!1);return t.length===r&&n===s?t:o.__truncateToNBits(e,t)}return o.__truncateAndSubFromPowerOfTwo(e,t,!1)}static asUintN(e,t){if(0===t.length)return t;if(0>(e=i(e)))throw new RangeError("Invalid value: not (convertible to) a safe integer");if(0===e)return o.__zero();if(t.sign){if(e>o.__kMaxLengthBits)throw new RangeError("BigInt too big");return o.__truncateAndSubFromPowerOfTwo(e,t,!1)}if(e>=o.__kMaxLengthBits)return t;const r=0|(e+29)/30;if(t.length<r)return t;const n=e%30;if(t.length==r){if(0===n)return t;if(0==t.__digit(r-1)>>>n)return t}return o.__truncateToNBits(e,t)}static ADD(e,t){if(e=o.__toPrimitive(e),t=o.__toPrimitive(t),"string"==typeof e)return"string"!=typeof t&&(t=t.toString()),e+t;if("string"==typeof t)return e.toString()+t;if(e=o.__toNumeric(e),t=o.__toNumeric(t),o.__isBigInt(e)&&o.__isBigInt(t))return o.add(e,t);if("number"==typeof e&&"number"==typeof t)return e+t;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}static LT(e,t){return o.__compare(e,t,0)}static LE(e,t){return o.__compare(e,t,1)}static GT(e,t){return o.__compare(e,t,2)}static GE(e,t){return o.__compare(e,t,3)}static EQ(e,t){for(;;){if(o.__isBigInt(e))return o.__isBigInt(t)?o.equal(e,t):o.EQ(t,e);if("number"==typeof e){if(o.__isBigInt(t))return o.__equalToNumber(t,e);if("object"!=typeof t)return e==t;t=o.__toPrimitive(t)}else if("string"==typeof e){if(o.__isBigInt(t))return null!==(e=o.__fromString(e))&&o.equal(e,t);if("object"!=typeof t)return e==t;t=o.__toPrimitive(t)}else if("boolean"==typeof e){if(o.__isBigInt(t))return o.__equalToNumber(t,+e);if("object"!=typeof t)return e==t;t=o.__toPrimitive(t)}else if("symbol"==typeof e){if(o.__isBigInt(t))return!1;if("object"!=typeof t)return e==t;t=o.__toPrimitive(t)}else{if("object"!=typeof e)return e==t;if("object"==typeof t&&t.constructor!==o)return e==t;e=o.__toPrimitive(e)}}}static NE(e,t){return!o.EQ(e,t)}static __zero(){return new o(0,!1)}static __oneDigit(e,t){const r=new o(1,t);return r.__setDigit(0,e),r}__copy(){const e=new o(this.length,this.sign);for(let t=0;t<this.length;t++)e[t]=this[t];return e}__trim(){let e=this.length,t=this[e-1];for(;0===t;)e--,t=this[e-1],this.pop();return 0===e&&(this.sign=!1),this}__initializeDigits(){for(let e=0;e<this.length;e++)this[e]=0}static __decideRounding(e,t,r,n){if(0<t)return-1;let i;if(0>t)i=-t-1;else{if(0===r)return-1;r--,n=e.__digit(r),i=29}let o=1<<i;if(!(n&o))return-1;if(o-=1,n&o)return 1;for(;0<r;)if(r--,0!==e.__digit(r))return 1;return 0}static __fromDouble(e){o.__kBitConversionDouble[0]=e;const t=(2047&o.__kBitConversionInts[1]>>>20)-1023,r=1+(0|t/30),n=new o(r,0>e);let i=1048575&o.__kBitConversionInts[1]|1048576,s=o.__kBitConversionInts[0];const a=t%30;let u,c=0;if(20>a){const e=20-a;c=e+32,u=i>>>e,i=i<<32-e|s>>>e,s<<=32-e}else if(20===a)c=32,u=i,i=s,s=0;else{const e=a-20;c=32-e,u=i<<e|s>>>32-e,i=s<<e,s=0}n.__setDigit(r-1,u);for(let e=r-2;0<=e;e--)0<c?(c-=30,u=i>>>2,i=i<<30|s>>>2,s<<=30):u=0,n.__setDigit(e,u);return n.__trim()}static __isWhitespace(e){return!!(13>=e&&9<=e)||(159>=e?32==e:131071>=e?160==e||5760==e:196607>=e?10>=(e&=131071)||40==e||41==e||47==e||95==e||4096==e:65279==e)}static __fromString(e,t=0){let r=0;const n=e.length;let i=0;if(i===n)return o.__zero();let s=e.charCodeAt(i);for(;o.__isWhitespace(s);){if(++i===n)return o.__zero();s=e.charCodeAt(i)}if(43===s){if(++i===n)return null;s=e.charCodeAt(i),r=1}else if(45===s){if(++i===n)return null;s=e.charCodeAt(i),r=-1}if(0===t){if(t=10,48===s){if(++i===n)return o.__zero();if(s=e.charCodeAt(i),88===s||120===s){if(t=16,++i===n)return null;s=e.charCodeAt(i)}else if(79===s||111===s){if(t=8,++i===n)return null;s=e.charCodeAt(i)}else if(66===s||98===s){if(t=2,++i===n)return null;s=e.charCodeAt(i)}}}else if(16===t&&48===s){if(++i===n)return o.__zero();if(s=e.charCodeAt(i),88===s||120===s){if(++i===n)return null;s=e.charCodeAt(i)}}if(0!=r&&10!==t)return null;for(;48===s;){if(++i===n)return o.__zero();s=e.charCodeAt(i)}const a=n-i;let u=o.__kMaxBitsPerChar[t],c=o.__kBitsPerCharTableMultiplier-1;if(a>1073741824/u)return null;const l=u*a+c>>>o.__kBitsPerCharTableShift,f=new o(0|(l+29)/30,!1),h=10>t?t:10,d=10<t?t-10:0;if(t&t-1){f.__initializeDigits();let r=!1,a=0;do{let l=0,p=1;for(;;){let o;if(s-48>>>0<h)o=s-48;else{if(!((32|s)-97>>>0<d)){r=!0;break}o=(32|s)-87}const u=p*t;if(1073741823<u)break;if(p=u,l=l*t+o,a++,++i===n){r=!0;break}s=e.charCodeAt(i)}c=30*o.__kBitsPerCharTableMultiplier-1;const y=0|(u*a+c>>>o.__kBitsPerCharTableShift)/30;f.__inplaceMultiplyAdd(p,l,y)}while(!r)}else{u>>=o.__kBitsPerCharTableShift;const t=[],r=[];let a=!1;do{let o=0,c=0;for(;;){let t;if(s-48>>>0<h)t=s-48;else{if(!((32|s)-97>>>0<d)){a=!0;break}t=(32|s)-87}if(c+=u,o=o<<u|t,++i===n){a=!0;break}if(s=e.charCodeAt(i),30<c+u)break}t.push(o),r.push(c)}while(!a);o.__fillFromParts(f,t,r)}if(i!==n){if(!o.__isWhitespace(s))return null;for(i++;i<n;i++)if(s=e.charCodeAt(i),!o.__isWhitespace(s))return null}return f.sign=-1==r,f.__trim()}static __fillFromParts(e,t,r){let n=0,i=0,o=0;for(let s=t.length-1;0<=s;s--){const a=t[s],u=r[s];i|=a<<o,o+=u,30===o?(e.__setDigit(n++,i),o=0,i=0):30<o&&(e.__setDigit(n++,1073741823&i),o-=30,i=a>>>u-o)}if(0!==i){if(n>=e.length)throw new Error("implementation bug");e.__setDigit(n++,i)}for(;n<e.length;n++)e.__setDigit(n,0)}static __toStringBasePowerOfTwo(e,t){const r=e.length;let n=t-1;n=(85&n>>>1)+(85&n),n=(51&n>>>2)+(51&n),n=(15&n>>>4)+(15&n);const i=n,s=t-1,a=e.__digit(r-1);let u=0|(30*r-o.__clz30(a)+i-1)/i;if(e.sign&&u++,268435456<u)throw new Error("string too long");const c=Array(u);let l=u-1,f=0,h=0;for(let t=0;t<r-1;t++){const r=e.__digit(t),n=(f|r<<h)&s;c[l--]=o.__kConversionChars[n];const a=i-h;for(f=r>>>a,h=30-a;h>=i;)c[l--]=o.__kConversionChars[f&s],f>>>=i,h-=i}const d=(f|a<<h)&s;for(c[l--]=o.__kConversionChars[d],f=a>>>i-h;0!==f;)c[l--]=o.__kConversionChars[f&s],f>>>=i;if(e.sign&&(c[l--]="-"),-1!=l)throw new Error("implementation bug");return c.join("")}static __toStringGeneric(e,t,r){const n=e.length;if(0===n)return"";if(1===n){let n=e.__unsignedDigit(0).toString(t);return!1===r&&e.sign&&(n="-"+n),n}const i=30*n-o.__clz30(e.__digit(n-1)),s=o.__kMaxBitsPerChar[t]-1;let a=i*o.__kBitsPerCharTableMultiplier;a+=s-1,a=0|a/s;const u=a+1>>1,c=o.exponentiate(o.__oneDigit(t,!1),o.__oneDigit(u,!1));let l,f;const h=c.__unsignedDigit(0);if(1===c.length&&32767>=h){l=new o(e.length,!1),l.__initializeDigits();let r=0;for(let t=2*e.length-1;0<=t;t--){const n=r<<15|e.__halfDigit(t);l.__setHalfDigit(t,0|n/h),r=0|n%h}f=r.toString(t)}else{const r=o.__absoluteDivLarge(e,c,!0,!0);l=r.quotient;const n=r.remainder.__trim();f=o.__toStringGeneric(n,t,!0)}l.__trim();let d=o.__toStringGeneric(l,t,!0);for(;f.length<u;)f="0"+f;return!1===r&&e.sign&&(d="-"+d),d+f}static __unequalSign(e){return e?-1:1}static __absoluteGreater(e){return e?-1:1}static __absoluteLess(e){return e?1:-1}static __compareToBigInt(e,t){const r=e.sign;if(r!==t.sign)return o.__unequalSign(r);const n=o.__absoluteCompare(e,t);return 0<n?o.__absoluteGreater(r):0>n?o.__absoluteLess(r):0}static __compareToNumber(e,t){if(o.__isOneDigitInt(t)){const n=e.sign,i=0>t;if(n!==i)return o.__unequalSign(n);if(0===e.length){if(i)throw new Error("implementation bug");return 0===t?0:-1}if(1<e.length)return o.__absoluteGreater(n);const s=r(t),a=e.__unsignedDigit(0);return a>s?o.__absoluteGreater(n):a<s?o.__absoluteLess(n):0}return o.__compareToDouble(e,t)}static __compareToDouble(e,t){if(t!=t)return t;if(t===1/0)return-1;if(t===-Infinity)return 1;const r=e.sign;if(r!==0>t)return o.__unequalSign(r);if(0===t)throw new Error("implementation bug: should be handled elsewhere");if(0===e.length)return-1;o.__kBitConversionDouble[0]=t;const n=2047&o.__kBitConversionInts[1]>>>20;if(2047==n)throw new Error("implementation bug: handled elsewhere");const i=n-1023;if(0>i)return o.__absoluteGreater(r);const s=e.length;let a=e.__digit(s-1);const u=o.__clz30(a),c=30*s-u,l=i+1;if(c<l)return o.__absoluteLess(r);if(c>l)return o.__absoluteGreater(r);let f=1048576|1048575&o.__kBitConversionInts[1],h=o.__kBitConversionInts[0];const d=29-u;if(d!==(0|(c-1)%30))throw new Error("implementation bug");let p,y=0;if(20>d){const e=20-d;y=e+32,p=f>>>e,f=f<<32-e|h>>>e,h<<=32-e}else if(20===d)y=32,p=f,f=h,h=0;else{const e=d-20;y=32-e,p=f<<e|h>>>32-e,f=h<<e,h=0}if(a>>>=0,p>>>=0,a>p)return o.__absoluteGreater(r);if(a<p)return o.__absoluteLess(r);for(let t=s-2;0<=t;t--){0<y?(y-=30,p=f>>>2,f=f<<30|h>>>2,h<<=30):p=0;const n=e.__unsignedDigit(t);if(n>p)return o.__absoluteGreater(r);if(n<p)return o.__absoluteLess(r)}if(0!==f||0!==h){if(0===y)throw new Error("implementation bug");return o.__absoluteLess(r)}return 0}static __equalToNumber(e,t){return o.__isOneDigitInt(t)?0===t?0===e.length:1===e.length&&e.sign===0>t&&e.__unsignedDigit(0)===r(t):0===o.__compareToDouble(e,t)}static __comparisonResultToBool(e,t){return 0===t?0>e:1===t?0>=e:2===t?0<e:3===t?0<=e:void 0}static __compare(e,t,r){if(e=o.__toPrimitive(e),t=o.__toPrimitive(t),"string"==typeof e&&"string"==typeof t)switch(r){case 0:return e<t;case 1:return e<=t;case 2:return e>t;case 3:return e>=t}if(o.__isBigInt(e)&&"string"==typeof t)return null!==(t=o.__fromString(t))&&o.__comparisonResultToBool(o.__compareToBigInt(e,t),r);if("string"==typeof e&&o.__isBigInt(t))return null!==(e=o.__fromString(e))&&o.__comparisonResultToBool(o.__compareToBigInt(e,t),r);if(e=o.__toNumeric(e),t=o.__toNumeric(t),o.__isBigInt(e)){if(o.__isBigInt(t))return o.__comparisonResultToBool(o.__compareToBigInt(e,t),r);if("number"!=typeof t)throw new Error("implementation bug");return o.__comparisonResultToBool(o.__compareToNumber(e,t),r)}if("number"!=typeof e)throw new Error("implementation bug");if(o.__isBigInt(t))return o.__comparisonResultToBool(o.__compareToNumber(t,e),2^r);if("number"!=typeof t)throw new Error("implementation bug");return 0===r?e<t:1===r?e<=t:2===r?e>t:3===r?e>=t:void 0}__clzmsd(){return o.__clz30(this.__digit(this.length-1))}static __absoluteAdd(e,t,r){if(e.length<t.length)return o.__absoluteAdd(t,e,r);if(0===e.length)return e;if(0===t.length)return e.sign===r?e:o.unaryMinus(e);let n=e.length;(0===e.__clzmsd()||t.length===e.length&&0===t.__clzmsd())&&n++;const i=new o(n,r);let s=0,a=0;for(;a<t.length;a++){const r=e.__digit(a)+t.__digit(a)+s;s=r>>>30,i.__setDigit(a,1073741823&r)}for(;a<e.length;a++){const t=e.__digit(a)+s;s=t>>>30,i.__setDigit(a,1073741823&t)}return a<i.length&&i.__setDigit(a,s),i.__trim()}static __absoluteSub(e,t,r){if(0===e.length)return e;if(0===t.length)return e.sign===r?e:o.unaryMinus(e);const n=new o(e.length,r);let i=0,s=0;for(;s<t.length;s++){const r=e.__digit(s)-t.__digit(s)-i;i=1&r>>>30,n.__setDigit(s,1073741823&r)}for(;s<e.length;s++){const t=e.__digit(s)-i;i=1&t>>>30,n.__setDigit(s,1073741823&t)}return n.__trim()}static __absoluteAddOne(e,t,r=null){const n=e.length;null===r?r=new o(n,t):r.sign=t;let i=1;for(let t=0;t<n;t++){const n=e.__digit(t)+i;i=n>>>30,r.__setDigit(t,1073741823&n)}return 0!=i&&r.__setDigitGrow(n,1),r}static __absoluteSubOne(e,t){const r=e.length,n=new o(t=t||r,!1);let i=1;for(let t=0;t<r;t++){const r=e.__digit(t)-i;i=1&r>>>30,n.__setDigit(t,1073741823&r)}if(0!=i)throw new Error("implementation bug");for(let e=r;e<t;e++)n.__setDigit(e,0);return n}static __absoluteAnd(e,t,r=null){let n=e.length,i=t.length,s=i;if(n<i){s=n;const r=e,o=n;e=t,n=i,t=r,i=o}let a=s;null===r?r=new o(a,!1):a=r.length;let u=0;for(;u<s;u++)r.__setDigit(u,e.__digit(u)&t.__digit(u));for(;u<a;u++)r.__setDigit(u,0);return r}static __absoluteAndNot(e,t,r=null){const n=e.length,i=t.length;let s=i;n<i&&(s=n);let a=n;null===r?r=new o(a,!1):a=r.length;let u=0;for(;u<s;u++)r.__setDigit(u,e.__digit(u)&~t.__digit(u));for(;u<n;u++)r.__setDigit(u,e.__digit(u));for(;u<a;u++)r.__setDigit(u,0);return r}static __absoluteOr(e,t,r=null){let n=e.length,i=t.length,s=i;if(n<i){s=n;const r=e,o=n;e=t,n=i,t=r,i=o}let a=n;null===r?r=new o(a,!1):a=r.length;let u=0;for(;u<s;u++)r.__setDigit(u,e.__digit(u)|t.__digit(u));for(;u<n;u++)r.__setDigit(u,e.__digit(u));for(;u<a;u++)r.__setDigit(u,0);return r}static __absoluteXor(e,t,r=null){let n=e.length,i=t.length,s=i;if(n<i){s=n;const r=e,o=n;e=t,n=i,t=r,i=o}let a=n;null===r?r=new o(a,!1):a=r.length;let u=0;for(;u<s;u++)r.__setDigit(u,e.__digit(u)^t.__digit(u));for(;u<n;u++)r.__setDigit(u,e.__digit(u));for(;u<a;u++)r.__setDigit(u,0);return r}static __absoluteCompare(e,t){const r=e.length-t.length;if(0!=r)return r;let n=e.length-1;for(;0<=n&&e.__digit(n)===t.__digit(n);)n--;return 0>n?0:e.__unsignedDigit(n)>t.__unsignedDigit(n)?1:-1}static __multiplyAccumulate(e,t,r,n){if(0===t)return;const i=32767&t,s=t>>>15;let a=0,u=0;for(let t,c=0;c<e.length;c++,n++){t=r.__digit(n);const l=e.__digit(c),f=32767&l,h=l>>>15,d=o.__imul(f,i),p=o.__imul(f,s),y=o.__imul(h,i);t+=u+d+a,a=t>>>30,t&=1073741823,t+=((32767&p)<<15)+((32767&y)<<15),a+=t>>>30,u=o.__imul(h,s)+(p>>>15)+(y>>>15),r.__setDigit(n,1073741823&t)}for(;0!=a||0!==u;n++){let e=r.__digit(n);e+=a+u,u=0,a=e>>>30,r.__setDigit(n,1073741823&e)}}static __internalMultiplyAdd(e,t,r,n,i){let s=r,a=0;for(let r=0;r<n;r++){const n=e.__digit(r),u=o.__imul(32767&n,t),c=o.__imul(n>>>15,t),l=u+((32767&c)<<15)+a+s;s=l>>>30,a=c>>>15,i.__setDigit(r,1073741823&l)}if(i.length>n)for(i.__setDigit(n++,s+a);n<i.length;)i.__setDigit(n++,0);else if(0!==s+a)throw new Error("implementation bug")}__inplaceMultiplyAdd(e,t,r){r>this.length&&(r=this.length);const n=32767&e,i=e>>>15;let s=0,a=t;for(let e=0;e<r;e++){const t=this.__digit(e),r=32767&t,u=t>>>15,c=o.__imul(r,n),l=o.__imul(r,i),f=o.__imul(u,n);let h=a+c+s;s=h>>>30,h&=1073741823,h+=((32767&l)<<15)+((32767&f)<<15),s+=h>>>30,a=o.__imul(u,i)+(l>>>15)+(f>>>15),this.__setDigit(e,1073741823&h)}if(0!=s||0!==a)throw new Error("implementation bug")}static __absoluteDivSmall(e,t,r=null){null===r&&(r=new o(e.length,!1));let n=0;for(let i,o=2*e.length-1;0<=o;o-=2){i=(n<<15|e.__halfDigit(o))>>>0;const s=0|i/t;n=0|i%t,i=(n<<15|e.__halfDigit(o-1))>>>0;const a=0|i/t;n=0|i%t,r.__setDigit(o>>>1,s<<15|a)}return r}static __absoluteModSmall(e,t){let r=0;for(let n=2*e.length-1;0<=n;n--)r=0|((r<<15|e.__halfDigit(n))>>>0)%t;return r}static __absoluteDivLarge(e,t,r,n){const i=t.__halfDigitLength(),s=t.length,a=e.__halfDigitLength()-i;let u=null;r&&(u=new o(a+2>>>1,!1),u.__initializeDigits());const c=new o(i+2>>>1,!1);c.__initializeDigits();const l=o.__clz15(t.__halfDigit(i-1));0<l&&(t=o.__specialLeftShift(t,l,0));const f=o.__specialLeftShift(e,l,1),h=t.__halfDigit(i-1);let d=0;for(let e,n=a;0<=n;n--){e=32767;const a=f.__halfDigit(n+i);if(a!==h){const r=(a<<15|f.__halfDigit(n+i-1))>>>0;e=0|r/h;let s=0|r%h;const u=t.__halfDigit(i-2),c=f.__halfDigit(n+i-2);for(;o.__imul(e,u)>>>0>(s<<16|c)>>>0&&(e--,s+=h,!(32767<s)););}o.__internalMultiplyAdd(t,e,0,s,c);let l=f.__inplaceSub(c,n,i+1);0!==l&&(l=f.__inplaceAdd(t,n,i),f.__setHalfDigit(n+i,32767&f.__halfDigit(n+i)+l),e--),r&&(1&n?d=e<<15:u.__setDigit(n>>>1,d|e))}if(n)return f.__inplaceRightShift(l),r?{quotient:u,remainder:f}:f;if(r)return u;throw new Error("unreachable")}static __clz15(e){return o.__clz30(e)-15}__inplaceAdd(e,t,r){let n=0;for(let i=0;i<r;i++){const r=this.__halfDigit(t+i)+e.__halfDigit(i)+n;n=r>>>15,this.__setHalfDigit(t+i,32767&r)}return n}__inplaceSub(e,t,r){let n=0;if(1&t){t>>=1;let i=this.__digit(t),o=32767&i,s=0;for(;s<r-1>>>1;s++){const r=e.__digit(s),a=(i>>>15)-(32767&r)-n;n=1&a>>>15,this.__setDigit(t+s,(32767&a)<<15|32767&o),i=this.__digit(t+s+1),o=(32767&i)-(r>>>15)-n,n=1&o>>>15}const a=e.__digit(s),u=(i>>>15)-(32767&a)-n;if(n=1&u>>>15,this.__setDigit(t+s,(32767&u)<<15|32767&o),t+s+1>=this.length)throw new RangeError("out of bounds");!(1&r)&&(i=this.__digit(t+s+1),o=(32767&i)-(a>>>15)-n,n=1&o>>>15,this.__setDigit(t+e.length,1073709056&i|32767&o))}else{t>>=1;let i=0;for(;i<e.length-1;i++){const r=this.__digit(t+i),o=e.__digit(i),s=(32767&r)-(32767&o)-n;n=1&s>>>15;const a=(r>>>15)-(o>>>15)-n;n=1&a>>>15,this.__setDigit(t+i,(32767&a)<<15|32767&s)}const o=this.__digit(t+i),s=e.__digit(i),a=(32767&o)-(32767&s)-n;n=1&a>>>15;let u=0;!(1&r)&&(u=(o>>>15)-(s>>>15)-n,n=1&u>>>15),this.__setDigit(t+i,(32767&u)<<15|32767&a)}return n}__inplaceRightShift(e){if(0===e)return;let t=this.__digit(0)>>>e;const r=this.length-1;for(let n=0;n<r;n++){const r=this.__digit(n+1);this.__setDigit(n,1073741823&r<<30-e|t),t=r>>>e}this.__setDigit(r,t)}static __specialLeftShift(e,t,r){const n=e.length,i=new o(n+r,!1);if(0===t){for(let t=0;t<n;t++)i.__setDigit(t,e.__digit(t));return 0<r&&i.__setDigit(n,0),i}let s=0;for(let r=0;r<n;r++){const n=e.__digit(r);i.__setDigit(r,1073741823&n<<t|s),s=n>>>30-t}return 0<r&&i.__setDigit(n,s),i}static __leftShiftByAbsolute(e,t){const r=o.__toShiftAmount(t);if(0>r)throw new RangeError("BigInt too big");const n=0|r/30,i=r%30,s=e.length,a=0!==i&&0!=e.__digit(s-1)>>>30-i,u=s+n+(a?1:0),c=new o(u,e.sign);if(0===i){let t=0;for(;t<n;t++)c.__setDigit(t,0);for(;t<u;t++)c.__setDigit(t,e.__digit(t-n))}else{let t=0;for(let e=0;e<n;e++)c.__setDigit(e,0);for(let r=0;r<s;r++){const o=e.__digit(r);c.__setDigit(r+n,1073741823&o<<i|t),t=o>>>30-i}if(a)c.__setDigit(s+n,t);else if(0!==t)throw new Error("implementation bug")}return c.__trim()}static __rightShiftByAbsolute(e,t){const r=e.length,n=e.sign,i=o.__toShiftAmount(t);if(0>i)return o.__rightShiftByMaximum(n);const s=0|i/30,a=i%30;let u=r-s;if(0>=u)return o.__rightShiftByMaximum(n);let c=!1;if(n)if(e.__digit(s)&(1<<a)-1)c=!0;else for(let t=0;t<s;t++)if(0!==e.__digit(t)){c=!0;break}c&&0===a&&0==~e.__digit(r-1)&&u++;let l=new o(u,n);if(0===a){l.__setDigit(u-1,0);for(let t=s;t<r;t++)l.__setDigit(t-s,e.__digit(t))}else{let t=e.__digit(s)>>>a;const n=r-s-1;for(let r=0;r<n;r++){const n=e.__digit(r+s+1);l.__setDigit(r,1073741823&n<<30-a|t),t=n>>>a}l.__setDigit(n,t)}return c&&(l=o.__absoluteAddOne(l,!0,l)),l.__trim()}static __rightShiftByMaximum(e){return e?o.__oneDigit(1,!0):o.__zero()}static __toShiftAmount(e){if(1<e.length)return-1;const t=e.__unsignedDigit(0);return t>o.__kMaxLengthBits?-1:t}static __toPrimitive(e,t="default"){if("object"!=typeof e)return e;if(e.constructor===o)return e;if("undefined"!=typeof Symbol&&"symbol"==typeof Symbol.toPrimitive){const r=e[Symbol.toPrimitive];if(r){const e=r(t);if("object"!=typeof e)return e;throw new TypeError("Cannot convert object to primitive value")}}const r=e.valueOf;if(r){const t=r.call(e);if("object"!=typeof t)return t}const n=e.toString;if(n){const t=n.call(e);if("object"!=typeof t)return t}throw new TypeError("Cannot convert object to primitive value")}static __toNumeric(e){return o.__isBigInt(e)?e:+e}static __isBigInt(e){return"object"==typeof e&&null!==e&&e.constructor===o}static __truncateToNBits(e,t){const r=0|(e+29)/30,n=new o(r,t.sign),i=r-1;for(let e=0;e<i;e++)n.__setDigit(e,t.__digit(e));let s=t.__digit(i);if(0!=e%30){const t=32-e%30;s=s<<t>>>t}return n.__setDigit(i,s),n.__trim()}static __truncateAndSubFromPowerOfTwo(e,t,r){var n=Math.min;const i=0|(e+29)/30,s=new o(i,r);let a=0;const u=i-1;let c=0;for(const e=n(u,t.length);a<e;a++){const e=0-t.__digit(a)-c;c=1&e>>>30,s.__setDigit(a,1073741823&e)}for(;a<u;a++)s.__setDigit(a,1073741823&-c);let l=u<t.length?t.__digit(u):0;const f=e%30;let h;if(0==f)h=0-l-c,h&=1073741823;else{const e=32-f;l=l<<e>>>e;const t=1<<32-e;h=t-l-c,h&=t-1}return s.__setDigit(u,h),s.__trim()}__digit(e){return this[e]}__unsignedDigit(e){return this[e]>>>0}__setDigit(e,t){this[e]=0|t}__setDigitGrow(e,t){this[e]=0|t}__halfDigitLength(){const e=this.length;return 32767>=this.__unsignedDigit(e-1)?2*e-1:2*e}__halfDigit(e){return 32767&this[e>>>1]>>>15*(1&e)}__setHalfDigit(e,t){const r=e>>>1,n=this.__digit(r),i=1&e?32767&n|t<<15:1073709056&n|32767&t;this.__setDigit(r,i)}static __digitPow(e,t){let r=1;for(;0<t;)1&t&&(r*=e),t>>>=1,e*=e;return r}static __isOneDigitInt(e){return(1073741823&e)===e}}return o.__kMaxLength=33554432,o.__kMaxLengthBits=o.__kMaxLength<<5,o.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],o.__kBitsPerCharTableShift=5,o.__kBitsPerCharTableMultiplier=1<<o.__kBitsPerCharTableShift,o.__kConversionChars=["0","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"],o.__kBitConversionBuffer=new ArrayBuffer(8),o.__kBitConversionDouble=new Float64Array(o.__kBitConversionBuffer),o.__kBitConversionInts=new Int32Array(o.__kBitConversionBuffer),o.__clz30=t?function(e){return t(e)-2}:function(e){var t=Math.LN2,r=Math.log;return 0===e?30:0|29-(0|r(e>>>0)/t)},o.__imul=e||function(e,t){return 0|e*t},o},"object"==typeof r&&void 0!==t?t.exports=i():"function"==typeof define&&define.amd?define(i):(n=n||self).JSBI=i()}}},{package:"@ngraveio/bc-ur>jsbi",file:"node_modules/jsbi/dist/jsbi-umd.js"}],[4687,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=(e=e||{}).max||Number.MAX_SAFE_INTEGER,r=void 0!==e.start?e.start:Math.floor(Math.random()*t);return function(){return r%=t,r++}}}}},{package:"@metamask/ppom-validator>json-rpc-random-id",file:"node_modules/json-rpc-random-id/index.js"}],[4688,{"./helpers":4689},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./helpers"),i=n.ValidatorResult,o=n.SchemaError,s={ignoreProperties:{id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0}},a=s.validators={};function u(e,t,r,n,i){var o=t.throwError,s=t.throwAll;t.throwError=!1,t.throwAll=!1;var a=this.validateSchema(e,i,t,r);return t.throwError=o,t.throwAll=s,!a.valid&&n instanceof Function&&n(a),a.valid}function c(e,t){if(Object.hasOwnProperty.call(e,t))return e[t];if(t in e)for(;e=Object.getPrototypeOf(e);)if(Object.propertyIsEnumerable.call(e,t))return e[t]}function l(e,t,r,n,i,o){if(this.types.object(e)&&(!t.properties||t.properties[i]===undefined))if(!1===t.additionalProperties)o.addError({name:"additionalProperties",argument:i,message:"is not allowed to have the additional property "+JSON.stringify(i)});else{var s=t.additionalProperties||{};"function"==typeof r.preValidateProperty&&r.preValidateProperty(e,i,s,r,n);var a=this.validateSchema(e[i],s,r,n.makeChild(s,i));a.instance!==o.instance[i]&&(o.instance[i]=a.instance),o.importErrors(a)}}a.type=function(e,t,r,n){if(e===undefined)return null;var o=new i(e,t,r,n),s=Array.isArray(t.type)?t.type:[t.type];if(!s.some(this.testType.bind(this,e,t,r,n))){var a=s.map((function(e){if(e){var t=e.$id||e.id;return t?"<"+t+">":e+""}}));o.addError({name:"type",argument:a,message:"is not of a type(s) "+a})}return o},a.anyOf=function(e,t,r,n){if(e===undefined)return null;var s=new i(e,t,r,n),a=new i(e,t,r,n);if(!Array.isArray(t.anyOf))throw new o("anyOf must be an array");if(!t.anyOf.some(u.bind(this,e,r,n,(function(e){a.importErrors(e)})))){var c=t.anyOf.map((function(e,t){var r=e.$id||e.id;return r?"<"+r+">":e.title&&JSON.stringify(e.title)||e.$ref&&"<"+e.$ref+">"||"[subschema "+t+"]"}));r.nestedErrors&&s.importErrors(a),s.addError({name:"anyOf",argument:c,message:"is not any of "+c.join(",")})}return s},a.allOf=function(e,t,r,n){if(e===undefined)return null;if(!Array.isArray(t.allOf))throw new o("allOf must be an array");var s=new i(e,t,r,n),a=this;return t.allOf.forEach((function(t,i){var o=a.validateSchema(e,t,r,n);if(!o.valid){var u=t.$id||t.id||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]";s.addError({name:"allOf",argument:{id:u,length:o.errors.length,valid:o},message:"does not match allOf schema "+u+" with "+o.errors.length+" error[s]:"}),s.importErrors(o)}})),s},a.oneOf=function(e,t,r,n){if(e===undefined)return null;if(!Array.isArray(t.oneOf))throw new o("oneOf must be an array");var s=new i(e,t,r,n),a=new i(e,t,r,n),c=t.oneOf.filter(u.bind(this,e,r,n,(function(e){a.importErrors(e)}))).length,l=t.oneOf.map((function(e,t){return e.$id||e.id||e.title&&JSON.stringify(e.title)||e.$ref&&"<"+e.$ref+">"||"[subschema "+t+"]"}));return 1!==c&&(r.nestedErrors&&s.importErrors(a),s.addError({name:"oneOf",argument:l,message:"is not exactly one from "+l.join(",")})),s},a.if=function(e,t,r,o){if(e===undefined)return null;if(!n.isSchema(t.if))throw new Error('Expected "if" keyword to be a schema');var s,a=u.call(this,e,r,o,null,t.if),c=new i(e,t,r,o);if(a){if(t.then===undefined)return;if(!n.isSchema(t.then))throw new Error('Expected "then" keyword to be a schema');s=this.validateSchema(e,t.then,r,o.makeChild(t.then)),c.importErrors(s)}else{if(t.else===undefined)return;if(!n.isSchema(t.else))throw new Error('Expected "else" keyword to be a schema');s=this.validateSchema(e,t.else,r,o.makeChild(t.else)),c.importErrors(s)}return c},a.propertyNames=function(e,t,r,s){if(this.types.object(e)){var a=new i(e,t,r,s),u=t.propertyNames!==undefined?t.propertyNames:{};if(!n.isSchema(u))throw new o('Expected "propertyNames" to be a schema (object or boolean)');for(var l in e)if(c(e,l)!==undefined){var f=this.validateSchema(l,u,r,s.makeChild(u));a.importErrors(f)}return a}},a.properties=function(e,t,r,n){if(this.types.object(e)){var s=new i(e,t,r,n),a=t.properties||{};for(var u in a){var l=a[u];if(l!==undefined){if(null===l)throw new o('Unexpected null, expected schema in "properties"');"function"==typeof r.preValidateProperty&&r.preValidateProperty(e,u,l,r,n);var f=c(e,u),h=this.validateSchema(f,l,r,n.makeChild(l,u));h.instance!==s.instance[u]&&(s.instance[u]=h.instance),s.importErrors(h)}}return s}},a.patternProperties=function(e,t,r,n){if(this.types.object(e)){var s=new i(e,t,r,n),a=t.patternProperties||{};for(var u in e){var c=!0;for(var f in a){var h=a[f];if(h!==undefined){if(null===h)throw new o('Unexpected null, expected schema in "patternProperties"');try{var d=new RegExp(f,"u")}catch(e){d=new RegExp(f)}if(d.test(u)){c=!1,"function"==typeof r.preValidateProperty&&r.preValidateProperty(e,u,h,r,n);var p=this.validateSchema(e[u],h,r,n.makeChild(h,u));p.instance!==s.instance[u]&&(s.instance[u]=p.instance),s.importErrors(p)}}}c&&l.call(this,e,t,r,n,u,s)}return s}},a.additionalProperties=function(e,t,r,n){if(this.types.object(e)){if(t.patternProperties)return null;var o=new i(e,t,r,n);for(var s in e)l.call(this,e,t,r,n,s,o);return o}},a.minProperties=function(e,t,r,n){if(this.types.object(e)){var o=new i(e,t,r,n);return Object.keys(e).length>=t.minProperties||o.addError({name:"minProperties",argument:t.minProperties,message:"does not meet minimum property length of "+t.minProperties}),o}},a.maxProperties=function(e,t,r,n){if(this.types.object(e)){var o=new i(e,t,r,n);return Object.keys(e).length<=t.maxProperties||o.addError({name:"maxProperties",argument:t.maxProperties,message:"does not meet maximum property length of "+t.maxProperties}),o}},a.items=function(e,t,r,n){var o=this;if(this.types.array(e)&&t.items!==undefined){var s=new i(e,t,r,n);return e.every((function(e,i){if(Array.isArray(t.items))var a=t.items[i]===undefined?t.additionalItems:t.items[i];else a=t.items;if(a===undefined)return!0;if(!1===a)return s.addError({name:"items",message:"additionalItems not permitted"}),!1;var u=o.validateSchema(e,a,r,n.makeChild(a,i));return u.instance!==s.instance[i]&&(s.instance[i]=u.instance),s.importErrors(u),!0})),s}},a.contains=function(e,t,r,o){var s=this;if(this.types.array(e)&&t.contains!==undefined){if(!n.isSchema(t.contains))throw new Error('Expected "contains" keyword to be a schema');var a=new i(e,t,r,o);return!1===e.some((function(e,n){return 0===s.validateSchema(e,t.contains,r,o.makeChild(t.contains,n)).errors.length}))&&a.addError({name:"contains",argument:t.contains,message:"must contain an item matching given schema"}),a}},a.minimum=function(e,t,r,n){if(this.types.number(e)){var o=new i(e,t,r,n);return t.exclusiveMinimum&&!0===t.exclusiveMinimum?e>t.minimum||o.addError({name:"minimum",argument:t.minimum,message:"must be greater than "+t.minimum}):e>=t.minimum||o.addError({name:"minimum",argument:t.minimum,message:"must be greater than or equal to "+t.minimum}),o}},a.maximum=function(e,t,r,n){if(this.types.number(e)){var o=new i(e,t,r,n);return t.exclusiveMaximum&&!0===t.exclusiveMaximum?e<t.maximum||o.addError({name:"maximum",argument:t.maximum,message:"must be less than "+t.maximum}):e<=t.maximum||o.addError({name:"maximum",argument:t.maximum,message:"must be less than or equal to "+t.maximum}),o}},a.exclusiveMinimum=function(e,t,r,n){if("boolean"!=typeof t.exclusiveMinimum&&this.types.number(e)){var o=new i(e,t,r,n);return e>t.exclusiveMinimum||o.addError({name:"exclusiveMinimum",argument:t.exclusiveMinimum,message:"must be strictly greater than "+t.exclusiveMinimum}),o}},a.exclusiveMaximum=function(e,t,r,n){if("boolean"!=typeof t.exclusiveMaximum&&this.types.number(e)){var o=new i(e,t,r,n);return e<t.exclusiveMaximum||o.addError({name:"exclusiveMaximum",argument:t.exclusiveMaximum,message:"must be strictly less than "+t.exclusiveMaximum}),o}};var f=function(e,t,r,s,a,u){if(this.types.number(e)){var c=t[a];if(0==c)throw new o(a+" cannot be zero");var l=new i(e,t,r,s),f=n.getDecimalPlaces(e),h=n.getDecimalPlaces(c),d=Math.max(f,h),p=Math.pow(10,d);return Math.round(e*p)%Math.round(c*p)!=0&&l.addError({name:a,argument:c,message:u+JSON.stringify(c)}),l}};function h(e,t,r){var i,o=r.length;for(i=t+1;i<o;i++)if(n.deepCompareStrict(e,r[i]))return!1;return!0}a.multipleOf=function(e,t,r,n){return f.call(this,e,t,r,n,"multipleOf","is not a multiple of (divisible by) ")},a.divisibleBy=function(e,t,r,n){return f.call(this,e,t,r,n,"divisibleBy","is not divisible by (multiple of) ")},a.required=function(e,t,r,n){var o=new i(e,t,r,n);return e===undefined&&!0===t.required?o.addError({name:"required",message:"is required"}):this.types.object(e)&&Array.isArray(t.required)&&t.required.forEach((function(t){c(e,t)===undefined&&o.addError({name:"required",argument:t,message:"requires property "+JSON.stringify(t)})})),o},a.pattern=function(e,t,r,n){if(this.types.string(e)){var o=new i(e,t,r,n),s=t.pattern;try{var a=new RegExp(s,"u")}catch(e){a=new RegExp(s)}return e.match(a)||o.addError({name:"pattern",argument:t.pattern,message:"does not match pattern "+JSON.stringify(t.pattern.toString())}),o}},a.format=function(e,t,r,o){if(e!==undefined){var s=new i(e,t,r,o);return s.disableFormat||n.isFormat(e,t.format,this)||s.addError({name:"format",argument:t.format,message:"does not conform to the "+JSON.stringify(t.format)+" format"}),s}},a.minLength=function(e,t,r,n){if(this.types.string(e)){var o=new i(e,t,r,n),s=e.match(/[\uDC00-\uDFFF]/g);return e.length-(s?s.length:0)>=t.minLength||o.addError({name:"minLength",argument:t.minLength,message:"does not meet minimum length of "+t.minLength}),o}},a.maxLength=function(e,t,r,n){if(this.types.string(e)){var o=new i(e,t,r,n),s=e.match(/[\uDC00-\uDFFF]/g);return e.length-(s?s.length:0)<=t.maxLength||o.addError({name:"maxLength",argument:t.maxLength,message:"does not meet maximum length of "+t.maxLength}),o}},a.minItems=function(e,t,r,n){if(this.types.array(e)){var o=new i(e,t,r,n);return e.length>=t.minItems||o.addError({name:"minItems",argument:t.minItems,message:"does not meet minimum length of "+t.minItems}),o}},a.maxItems=function(e,t,r,n){if(this.types.array(e)){var o=new i(e,t,r,n);return e.length<=t.maxItems||o.addError({name:"maxItems",argument:t.maxItems,message:"does not meet maximum length of "+t.maxItems}),o}},a.uniqueItems=function(e,t,r,n){if(!0===t.uniqueItems&&this.types.array(e)){var o=new i(e,t,r,n);return e.every(h)||o.addError({name:"uniqueItems",message:"contains duplicate item"}),o}},a.dependencies=function(e,t,r,n){if(this.types.object(e)){var o=new i(e,t,r,n);for(var s in t.dependencies)if(e[s]!==undefined){var a=t.dependencies[s],u=n.makeChild(a,s);if("string"==typeof a&&(a=[a]),Array.isArray(a))a.forEach((function(t){e[t]===undefined&&o.addError({name:"dependencies",argument:u.propertyPath,message:"property "+t+" not found, required by "+u.propertyPath})}));else{var c=this.validateSchema(e,a,r,u);o.instance!==c.instance&&(o.instance=c.instance),c&&c.errors.length&&(o.addError({name:"dependencies",argument:u.propertyPath,message:"does not meet dependency required by "+u.propertyPath}),o.importErrors(c))}}return o}},a.enum=function(e,t,r,s){if(e===undefined)return null;if(!Array.isArray(t.enum))throw new o("enum expects an array",t);var a=new i(e,t,r,s);return t.enum.some(n.deepCompareStrict.bind(null,e))||a.addError({name:"enum",argument:t.enum,message:"is not one of enum values: "+t.enum.map(String).join(",")}),a},a.const=function(e,t,r,o){if(e===undefined)return null;var s=new i(e,t,r,o);return n.deepCompareStrict(t.const,e)||s.addError({name:"const",argument:t.const,message:"does not exactly match expected constant: "+t.const}),s},a.not=a.disallow=function(e,t,r,n){var o=this;if(e===undefined)return null;var s=new i(e,t,r,n),a=t.not||t.disallow;return a?(Array.isArray(a)||(a=[a]),a.forEach((function(i){if(o.testType(e,t,r,n,i)){var a=i&&(i.$id||i.id)||i;s.addError({name:"not",argument:a,message:"is of prohibited type "+a})}})),s):null},t.exports=s}}},{package:"@metamask/multichain>jsonschema",file:"node_modules/jsonschema/lib/attribute.js"}],[4689,{url:5639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("url"),i=r.ValidationError=function(e,t,r,n,i,o){if(Array.isArray(n)?(this.path=n,this.property=n.reduce((function(e,t){return e+f(t)}),"instance")):n!==undefined&&(this.property=n),e&&(this.message=e),r){var s=r.$id||r.id;this.schema=s||r}t!==undefined&&(this.instance=t),this.name=i,this.argument=o,this.stack=this.toString()};i.prototype.toString=function(){return this.property+" "+this.message};var o=r.ValidatorResult=function(e,t,r,n){this.instance=e,this.schema=t,this.options=r,this.path=n.path,this.propertyPath=n.propertyPath,this.errors=[],this.throwError=r&&r.throwError,this.throwFirst=r&&r.throwFirst,this.throwAll=r&&r.throwAll,this.disableFormat=r&&!0===r.disableFormat};function s(e,t){return t+": "+e.toString()+"\n"}function a(e){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.instance=e.instance,this.schema=e.schema,this.options=e.options,this.errors=e.errors}o.prototype.addError=function(e){var t;if("string"==typeof e)t=new i(e,this.instance,this.schema,this.path);else{if(!e)throw new Error("Missing error detail");if(!e.message)throw new Error("Missing error message");if(!e.name)throw new Error("Missing validator type");t=new i(e.message,this.instance,this.schema,this.path,e.name,e.argument)}if(this.errors.push(t),this.throwFirst)throw new a(this);if(this.throwError)throw t;return t},o.prototype.importErrors=function(e){"string"==typeof e||e&&e.validatorType?this.addError(e):e&&e.errors&&(this.errors=this.errors.concat(e.errors))},o.prototype.toString=function(e){return this.errors.map(s).join("")},Object.defineProperty(o.prototype,"valid",{get:function(){return!this.errors.length}}),t.exports.ValidatorResultError=a,a.prototype=new Error,a.prototype.constructor=a,a.prototype.name="Validation Error";var u=r.SchemaError=function e(t,r){this.message=t,this.schema=r,Error.call(this,t),Error.captureStackTrace(this,e)};u.prototype=Object.create(Error.prototype,{constructor:{value:u,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var c=r.SchemaContext=function(e,t,r,n,i){this.schema=e,this.options=t,Array.isArray(r)?(this.path=r,this.propertyPath=r.reduce((function(e,t){return e+f(t)}),"instance")):this.propertyPath=r,this.base=n,this.schemas=i};c.prototype.resolve=function(e){return n.resolve(this.base,e)},c.prototype.makeChild=function(e,t){var r=t===undefined?this.path:this.path.concat([t]),i=e.$id||e.id,o=n.resolve(this.base,i||""),s=new c(e,this.options,r,o,Object.create(this.schemas));return i&&!s.schemas[o]&&(s.schemas[o]=e),s};var l=r.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,duration:/P(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S)|\d+(D|M(\d+D)?|Y(\d+M(\d+D)?)?)(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S))?|\d+W)/i,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"idn-email":/^("(?:[!#-\[\]-\u{10FFFF}]|\\[\t -\u{10FFFF}])*"|[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*)@([!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*|\[[!-Z\^-\u{10FFFF}]*\])$/u,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+.-]*:[^\s]*$/,"uri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/,iri:/^[a-zA-Z][a-zA-Z0-9+.-]*:[^\s]*$/,"iri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~-\u{10FFFF}]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~-\u{10FFFF}]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~-\u{10FFFF}])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~-\u{10FFFF}]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/u,uuid:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,"uri-template":/(%[0-9a-f]{2}|[!#$&(-;=?@\[\]_a-z~]|\{[!#&+,./;=?@|]?(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?(,(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?)*\})*/iu,"json-pointer":/^(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*$/iu,"relative-json-pointer":/^\d+(#|(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*)$/iu,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(e){return"string"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},regex:function(e){var t=!0;try{new RegExp(e)}catch(e){t=!1}return t},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};l.regexp=l.regex,l.pattern=l.regex,l.ipv4=l["ip-address"],r.isFormat=function(e,t,r){if("string"==typeof e&&l[t]!==undefined){if(l[t]instanceof RegExp)return l[t].test(e);if("function"==typeof l[t])return l[t](e)}else if(r&&r.customFormats&&"function"==typeof r.customFormats[t])return r.customFormats[t](e);return!0};var f=r.makeSuffix=function(e){return(e=e.toString()).match(/[.\s\[\]]/)||e.match(/^[\d]/)?e.match(/^\d+$/)?"["+e+"]":"["+JSON.stringify(e)+"]":"."+e};function h(e,t,r,n){"object"==typeof r?t[n]=y(e[n],r):-1===e.indexOf(r)&&t.push(r)}function d(e,t,r){t[r]=e[r]}function p(e,t,r,n){"object"==typeof t[n]&&t[n]&&e[n]?r[n]=y(e[n],t[n]):r[n]=t[n]}function y(e,t){var r=Array.isArray(t),n=r&&[]||{};return r?(e=e||[],n=n.concat(e),t.forEach(h.bind(null,e,n))):(e&&"object"==typeof e&&Object.keys(e).forEach(d.bind(null,e,n)),Object.keys(t).forEach(p.bind(null,e,t,n))),n}function g(e){return"/"+encodeURIComponent(e).replace(/~/g,"%7E")}r.deepCompareStrict=function e(t,r){if(typeof t!=typeof r)return!1;if(Array.isArray(t))return!!Array.isArray(r)&&(t.length===r.length&&t.every((function(n,i){return e(t[i],r[i])})));if("object"==typeof t){if(!t||!r)return t===r;var n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&n.every((function(n){return e(t[n],r[n])}))}return t===r},t.exports.deepMerge=y,r.objectGetPath=function(e,t){for(var r,n=t.split("/").slice(1);"string"==typeof(r=n.shift());){var i=decodeURIComponent(r.replace(/~0/,"~").replace(/~1/g,"/"));if(!(i in e))return;e=e[i]}return e},r.encodePath=function(e){return e.map(g).join("")},r.getDecimalPlaces=function(e){var t=0;if(isNaN(e))return t;"number"!=typeof e&&(e=Number(e));var r=e.toString().split("e");if(2===r.length){if("-"!==r[1][0])return t;t=Number(r[1].slice(1))}var n=r[0].split(".");return 2===n.length&&(t+=n[1].length),t},r.isSchema=function(e){return"object"==typeof e&&e||"boolean"==typeof e}}}},{package:"@metamask/multichain>jsonschema",file:"node_modules/jsonschema/lib/helpers.js"}],[469,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){if(Array.isArray(e)){const t=[];let r=0;for(let i=0;i<e.length;i++){const o=n(e[i]);t.push(o),r+=o.length}return d(s(r,192),...t)}const t=m(e);return 1===t.length&&t[0]<128?t:d(s(t.length,128),t)}function i(e,t,r){if(r>e.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,r)}function o(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return f(l(e))}function s(e,t){if(e<56)return Uint8Array.from([e+t]);const r=y(e),n=y(t+55+r.length/2);return Uint8Array.from(h(n+r))}function a(e,t=!1){if(null==e||0===e.length)return Uint8Array.from([]);const r=u(m(e));if(t)return{data:r.data,remainder:r.remainder.slice()};if(0!==r.remainder.length)throw new Error("invalid RLP: remainder must be zero");return r.data}function u(e){let t,r,n,s,a;const c=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.subarray(1)};if(l<=183){if(t=l-127,n=128===l?Uint8Array.from([]):i(e,1,t),2===t&&n[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:n,remainder:e.subarray(t)}}if(l<=191){if(r=l-182,e.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if(t=o(i(e,1,r)),t<=55)throw new Error("invalid RLP: expected string length to be greater than 55");return n=i(e,r,t+r),{data:n,remainder:e.subarray(t+r)}}if(l<=247){for(t=l-191,s=i(e,1,t);s.length;)a=u(s),c.push(a.data),s=a.remainder;return{data:c,remainder:e.subarray(t)}}{if(r=l-246,t=o(i(e,1,r)),t<56)throw new Error("invalid RLP: encoded list too short");const n=r+t;if(n>e.length)throw new Error("invalid RLP: total length is larger than the data");for(s=i(e,r,n);s.length;)a=u(s),c.push(a.data),s=a.remainder;return{data:c,remainder:e.subarray(n)}}}Object.defineProperty(r,"__esModule",{value:!0}),r.RLP=r.utils=r.decode=r.encode=void 0,r.encode=n,r.decode=a;const c=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function l(e){let t="";for(let r=0;r<e.length;r++)t+=c[e[r]];return t}function f(e){const t=Number.parseInt(e,16);if(Number.isNaN(t))throw new Error("Invalid byte sequence");return t}function h(e){if("string"!=typeof e)throw new TypeError("hexToBytes: expected string, got "+typeof e);if(e.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(e.length/2);for(let r=0;r<t.length;r++){const n=2*r;t[r]=f(e.slice(n,n+2))}return t}function d(...e){if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e+t.length),0),r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.length}return r}function p(e){return(new TextEncoder).encode(e)}function y(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");const t=e.toString(16);return t.length%2?`0${t}`:t}function g(e){return e.length>=2&&"0"===e[0]&&"x"===e[1]}function m(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return g(e)?h((t="string"!=typeof(r=e)?r:g(r)?r.slice(2):r).length%2?`0${t}`:t):p(e);var t,r;if("number"==typeof e||"bigint"==typeof e)return e?h(y(e)):Uint8Array.from([]);if(null===e||e===undefined)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}r.utils={bytesToHex:l,concatBytes:d,hexToBytes:h,utf8ToBytes:p},r.RLP={encode:n,decode:a}}}},{package:"@ethereumjs/tx>@ethereumjs/util>@ethereumjs/rlp",file:"node_modules/@ethereumjs/util/node_modules/@ethereumjs/rlp/dist/cjs/index.js"}],[4690,{"./helpers":4689,"./scan":4691,"./validator":4692},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=t.exports.Validator=e("./validator");t.exports.ValidatorResult=e("./helpers").ValidatorResult,t.exports.ValidatorResultError=e("./helpers").ValidatorResultError,t.exports.ValidationError=e("./helpers").ValidationError,t.exports.SchemaError=e("./helpers").SchemaError,t.exports.SchemaScanResult=e("./scan").SchemaScanResult,t.exports.scan=e("./scan").scan,t.exports.validate=function(e,t,r){return(new n).validate(e,t,r)}}}},{package:"@metamask/multichain>jsonschema",file:"node_modules/jsonschema/lib/index.js"}],[4691,{"./helpers":4689,url:5639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("url"),i=e("./helpers");function o(e,t){this.id=e,this.ref=t}t.exports.SchemaScanResult=o,t.exports.scan=function(e,t){function r(e,t){if(t&&"object"==typeof t)if(t.$ref){var o=n.resolve(e,t.$ref);c[o]=c[o]?c[o]+1:0}else{var l=t.$id||t.id,f=l?n.resolve(e,l):e;if(f){if(f.indexOf("#")<0&&(f+="#"),u[f]){if(!i.deepCompareStrict(u[f],t))throw new Error("Schema <"+f+"> already exists with different definition");return u[f]}u[f]=t,"#"==f[f.length-1]&&(u[f.substring(0,f.length-1)]=t)}s(f+"/items",Array.isArray(t.items)?t.items:[t.items]),s(f+"/extends",Array.isArray(t.extends)?t.extends:[t.extends]),r(f+"/additionalItems",t.additionalItems),a(f+"/properties",t.properties),r(f+"/additionalProperties",t.additionalProperties),a(f+"/definitions",t.definitions),a(f+"/patternProperties",t.patternProperties),a(f+"/dependencies",t.dependencies),s(f+"/disallow",t.disallow),s(f+"/allOf",t.allOf),s(f+"/anyOf",t.anyOf),s(f+"/oneOf",t.oneOf),r(f+"/not",t.not)}}function s(e,t){if(Array.isArray(t))for(var n=0;n<t.length;n++)r(e+"/"+n,t[n])}function a(e,t){if(t&&"object"==typeof t)for(var n in t)r(e+"/"+n,t[n])}var u={},c={};return r(e,t),new o(u,c)}}}},{package:"@metamask/multichain>jsonschema",file:"node_modules/jsonschema/lib/scan.js"}],[4692,{"./attribute":4688,"./helpers":4689,"./scan":4691,url:5639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("url"),i=e("./attribute"),o=e("./helpers"),s=e("./scan").scan,a=o.ValidatorResult,u=o.ValidatorResultError,c=o.SchemaError,l=o.SchemaContext,f=function e(){this.customFormats=Object.create(e.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(d),this.attributes=Object.create(i.validators)};function h(e){var t="string"==typeof e?e:e.$ref;return"string"==typeof t&&t}f.prototype.customFormats={},f.prototype.schemas=null,f.prototype.types=null,f.prototype.attributes=null,f.prototype.unresolvedRefs=null,f.prototype.addSchema=function(e,t){var r=this;if(!e)return null;var n=s(t||"/",e),i=t||e.$id||e.id;for(var o in n.id)this.schemas[o]=n.id[o];for(var o in n.ref)this.unresolvedRefs.push(o);return this.unresolvedRefs=this.unresolvedRefs.filter((function(e){return void 0===r.schemas[e]})),this.schemas[i]},f.prototype.addSubSchemaArray=function(e,t){if(Array.isArray(t))for(var r=0;r<t.length;r++)this.addSubSchema(e,t[r])},f.prototype.addSubSchemaObject=function(e,t){if(t&&"object"==typeof t)for(var r in t)this.addSubSchema(e,t[r])},f.prototype.setSchemas=function(e){this.schemas=e},f.prototype.getSchema=function(e){return this.schemas[e]},f.prototype.validate=function(e,t,r,i){if("boolean"!=typeof t&&"object"!=typeof t||null===t)throw new c("Expected `schema` to be an object or boolean");r||(r={});var o,f=t.$id||t.id,h=n.resolve(r.base||"/",f||"");if(!i){(i=new l(t,r,[],h,Object.create(this.schemas))).schemas[h]||(i.schemas[h]=t);var d=s(h,t);for(var p in d.id){var y=d.id[p];i.schemas[p]=y}}if(r.required&&e===undefined)return(o=new a(e,t,r,i)).addError("is required, but is undefined"),o;if(!(o=this.validateSchema(e,t,r,i)))throw new Error("Result undefined");if(r.throwAll&&o.errors.length)throw new u(o);return o},f.prototype.validateSchema=function(e,t,r,n){var s=new a(e,t,r,n);if("boolean"==typeof t)!0===t?t={}:!1===t&&(t={type:[]});else if(!t)throw new Error("schema is undefined");if(t.extends)if(Array.isArray(t.extends)){var u={schema:t,ctx:n};t.extends.forEach(this.schemaTraverser.bind(this,u)),t=u.schema,u.schema=null,u.ctx=null,u=null}else t=o.deepMerge(t,this.superResolve(t.extends,n));var f=h(t);if(f){var d=this.resolve(t,f,n),p=new l(d.subschema,r,n.path,d.switchSchema,n.schemas);return this.validateSchema(e,d.subschema,r,p)}var y=r&&r.skipAttributes||[];for(var g in t)if(!i.ignoreProperties[g]&&y.indexOf(g)<0){var m=null,b=this.attributes[g];if(b)m=b.call(this,e,t,r,n);else if(!1===r.allowUnknownAttributes)throw new c("Unsupported attribute: "+g,t);m&&s.importErrors(m)}if("function"==typeof r.rewrite){var _=r.rewrite.call(this,e,t,r,n);s.instance=_}return s},f.prototype.schemaTraverser=function(e,t){e.schema=o.deepMerge(e.schema,this.superResolve(t,e.ctx))},f.prototype.superResolve=function(e,t){var r=h(e);return r?this.resolve(e,r,t).subschema:e},f.prototype.resolve=function(e,t,r){if(t=r.resolve(t),r.schemas[t])return{subschema:r.schemas[t],switchSchema:t};var i=n.parse(t),s=i&&i.hash,a=s&&s.length&&t.substr(0,t.length-s.length);if(!a||!r.schemas[a])throw new c("no such schema <"+t+">",e);var u=o.objectGetPath(r.schemas[a],s.substr(1));if(u===undefined)throw new c("no such schema "+s+" located in <"+a+">",e);return{subschema:u,switchSchema:t}},f.prototype.testType=function(e,t,r,n,i){if(i!==undefined){if(null===i)throw new c('Unexpected null in "type" keyword');if("function"==typeof this.types[i])return this.types[i].call(this,e);if(i&&"object"==typeof i){var o=this.validateSchema(e,i,r,n);return o===undefined||!(o&&o.errors.length)}return!0}};var d=f.prototype.types={};d.string=function(e){return"string"==typeof e},d.number=function(e){return"number"==typeof e&&isFinite(e)},d.integer=function(e){return"number"==typeof e&&e%1==0},d.boolean=function(e){return"boolean"==typeof e},d.array=function(e){return Array.isArray(e)},d.null=function(e){return null===e},d.date=function(e){return e instanceof Date},d.any=function(e){return!0},d.object=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof Date)},t.exports=f}}},{package:"@metamask/multichain>jsonschema",file:"node_modules/jsonschema/lib/validator.js"}],[470,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="abi/5.7.0"}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/_version.js"}],[4701,{"./lib/api":4702,"./lib/keccak":4706},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("./lib/api")(e("./lib/keccak"))}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/js.js"}],[4702,{"./keccak":4703,"./shake":4704},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./keccak"),i=e("./shake");t.exports=function(e){const t=n(e),r=i(e);return function(e,n){switch("string"==typeof e?e.toLowerCase():e){case"keccak224":return new t(1152,448,null,224,n);case"keccak256":return new t(1088,512,null,256,n);case"keccak384":return new t(832,768,null,384,n);case"keccak512":return new t(576,1024,null,512,n);case"sha3-224":return new t(1152,448,6,224,n);case"sha3-256":return new t(1088,512,6,256,n);case"sha3-384":return new t(832,768,6,384,n);case"sha3-512":return new t(576,1024,6,512,n);case"shake128":return new r(1344,256,31,n);case"shake256":return new r(1088,512,31,n);default:throw new Error("Invald algorithm: "+e)}}}}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/lib/api/index.js"}],[4703,{buffer:4074,"readable-stream":5274},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const{Transform:n}=e("readable-stream");t.exports=e=>class t extends n{constructor(t,r,n,i,o){super(o),this._rate=t,this._capacity=r,this._delimitedSuffix=n,this._hashBitLength=i,this._options=o,this._state=new e,this._state.initialize(t,r),this._finalized=!1}_transform(e,t,r){let n=null;try{this.update(e,t)}catch(e){n=e}r(n)}_flush(e){let t=null;try{this.push(this.digest())}catch(e){t=e}e(t)}update(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return r.isBuffer(e)||(e=r.from(e,t)),this._state.absorb(e),this}digest(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let t=this._state.squeeze(this._hashBitLength/8);return e!==undefined&&(t=t.toString(e)),this._resetState(),t}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const e=new t(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(e._state),e._finalized=this._finalized,e}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/lib/api/keccak.js"}],[4704,{buffer:4074,"readable-stream":5274},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const{Transform:n}=e("readable-stream");t.exports=e=>class t extends n{constructor(t,r,n,i){super(i),this._rate=t,this._capacity=r,this._delimitedSuffix=n,this._options=i,this._state=new e,this._state.initialize(t,r),this._finalized=!1}_transform(e,t,r){let n=null;try{this.update(e,t)}catch(e){n=e}r(n)}_flush(){}_read(e){this.push(this.squeeze(e))}update(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return r.isBuffer(e)||(e=r.from(e,t)),this._state.absorb(e),this}squeeze(e,t){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let r=this._state.squeeze(e);return t!==undefined&&(r=r.toString(t)),r}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const e=new t(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(e._state),e._finalized=this._finalized,e}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/lib/api/shake.js"}],[4705,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=[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];r.p1600=function(e){for(let t=0;t<24;++t){const r=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],a=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],l=e[7]^e[17]^e[27]^e[37]^e[47],f=e[8]^e[18]^e[28]^e[38]^e[48],h=e[9]^e[19]^e[29]^e[39]^e[49];let d=f^(o<<1|s>>>31),p=h^(s<<1|o>>>31);const y=e[0]^d,g=e[1]^p,m=e[10]^d,b=e[11]^p,_=e[20]^d,w=e[21]^p,v=e[30]^d,A=e[31]^p,T=e[40]^d,E=e[41]^p;d=r^(a<<1|u>>>31),p=i^(u<<1|a>>>31);const j=e[2]^d,x=e[3]^p,k=e[12]^d,P=e[13]^p,S=e[22]^d,O=e[23]^p,I=e[32]^d,N=e[33]^p,R=e[42]^d,U=e[43]^p;d=o^(c<<1|l>>>31),p=s^(l<<1|c>>>31);const B=e[4]^d,C=e[5]^p,L=e[14]^d,F=e[15]^p,D=e[24]^d,M=e[25]^p,z=e[34]^d,G=e[35]^p,H=e[44]^d,V=e[45]^p;d=a^(f<<1|h>>>31),p=u^(h<<1|f>>>31);const K=e[6]^d,$=e[7]^p,W=e[16]^d,q=e[17]^p,J=e[26]^d,Z=e[27]^p,X=e[36]^d,Q=e[37]^p,Y=e[46]^d,ee=e[47]^p;d=c^(r<<1|i>>>31),p=l^(i<<1|r>>>31);const te=e[8]^d,re=e[9]^p,ne=e[18]^d,ie=e[19]^p,oe=e[28]^d,se=e[29]^p,ae=e[38]^d,ue=e[39]^p,ce=e[48]^d,le=e[49]^p,fe=y,he=g,de=b<<4|m>>>28,pe=m<<4|b>>>28,ye=_<<3|w>>>29,ge=w<<3|_>>>29,me=A<<9|v>>>23,be=v<<9|A>>>23,_e=T<<18|E>>>14,we=E<<18|T>>>14,ve=j<<1|x>>>31,Ae=x<<1|j>>>31,Te=P<<12|k>>>20,Ee=k<<12|P>>>20,je=S<<10|O>>>22,xe=O<<10|S>>>22,ke=N<<13|I>>>19,Pe=I<<13|N>>>19,Se=R<<2|U>>>30,Oe=U<<2|R>>>30,Ie=C<<30|B>>>2,Ne=B<<30|C>>>2,Re=L<<6|F>>>26,Ue=F<<6|L>>>26,Be=M<<11|D>>>21,Ce=D<<11|M>>>21,Le=z<<15|G>>>17,Fe=G<<15|z>>>17,De=V<<29|H>>>3,Me=H<<29|V>>>3,ze=K<<28|$>>>4,Ge=$<<28|K>>>4,He=q<<23|W>>>9,Ve=W<<23|q>>>9,Ke=J<<25|Z>>>7,$e=Z<<25|J>>>7,We=X<<21|Q>>>11,qe=Q<<21|X>>>11,Je=ee<<24|Y>>>8,Ze=Y<<24|ee>>>8,Xe=te<<27|re>>>5,Qe=re<<27|te>>>5,Ye=ne<<20|ie>>>12,et=ie<<20|ne>>>12,tt=se<<7|oe>>>25,rt=oe<<7|se>>>25,nt=ae<<8|ue>>>24,it=ue<<8|ae>>>24,ot=ce<<14|le>>>18,st=le<<14|ce>>>18;e[0]=fe^~Te&Be,e[1]=he^~Ee&Ce,e[10]=ze^~Ye&ye,e[11]=Ge^~et&ge,e[20]=ve^~Re&Ke,e[21]=Ae^~Ue&$e,e[30]=Xe^~de&je,e[31]=Qe^~pe&xe,e[40]=Ie^~He&tt,e[41]=Ne^~Ve&rt,e[2]=Te^~Be&We,e[3]=Ee^~Ce&qe,e[12]=Ye^~ye&ke,e[13]=et^~ge&Pe,e[22]=Re^~Ke&nt,e[23]=Ue^~$e&it,e[32]=de^~je&Le,e[33]=pe^~xe&Fe,e[42]=He^~tt&me,e[43]=Ve^~rt&be,e[4]=Be^~We&ot,e[5]=Ce^~qe&st,e[14]=ye^~ke&De,e[15]=ge^~Pe&Me,e[24]=Ke^~nt&_e,e[25]=$e^~it&we,e[34]=je^~Le&Je,e[35]=xe^~Fe&Ze,e[44]=tt^~me&Se,e[45]=rt^~be&Oe,e[6]=We^~ot&fe,e[7]=qe^~st&he,e[16]=ke^~De&ze,e[17]=Pe^~Me&Ge,e[26]=nt^~_e&ve,e[27]=it^~we&Ae,e[36]=Le^~Je&Xe,e[37]=Fe^~Ze&Qe,e[46]=me^~Se&Ie,e[47]=be^~Oe&Ne,e[8]=ot^~fe&Te,e[9]=st^~he&Ee,e[18]=De^~ze&Ye,e[19]=Me^~Ge&et,e[28]=_e^~ve&Re,e[29]=we^~Ae&Ue,e[38]=Je^~Xe&de,e[39]=Ze^~Qe&pe,e[48]=Se^~Ie&He,e[49]=Oe^~Ne&Ve,e[0]^=n[2*t],e[1]^=n[2*t+1]}}}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/lib/keccak-state-unroll.js"}],[4706,{"./keccak-state-unroll":4705,buffer:4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("./keccak-state-unroll");function i(){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}i.prototype.initialize=function(e,t){for(let e=0;e<50;++e)this.state[e]=0;this.blockSize=e/8,this.count=0,this.squeezing=!1},i.prototype.absorb=function(e){for(let t=0;t<e.length;++t)this.state[~~(this.count/4)]^=e[t]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(n.p1600(this.state),this.count=0)},i.prototype.absorbLastFewBits=function(e){this.state[~~(this.count/4)]^=e<<this.count%4*8,128&e&&this.count===this.blockSize-1&&n.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,n.p1600(this.state),this.count=0,this.squeezing=!0},i.prototype.squeeze=function(e){this.squeezing||this.absorbLastFewBits(1);const t=r.alloc(e);for(let r=0;r<e;++r)t[r]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(n.p1600(this.state),this.count=0);return t},i.prototype.copy=function(e){for(let t=0;t<50;++t)e.state[t]=this.state[t];e.blockSize=this.blockSize,e.count=this.count,e.squeezing=this.squeezing},t.exports=i}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethereumjs-util>ethereum-cryptography>keccak",file:"node_modules/keccak/lib/keccak.js"}],[4707,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r){"object"==typeof r.value&&(r.value=i(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==t?e[t]=r.value:Object.defineProperty(e,t,r)}function i(e){if("object"!=typeof e)return e;var t,r,o,s=0,a=Object.prototype.toString.call(e);if("[object Object]"===a?o=Object.create(e.__proto__||null):"[object Array]"===a?o=Array(e.length):"[object Set]"===a?(o=new Set,e.forEach((function(e){o.add(i(e))}))):"[object Map]"===a?(o=new Map,e.forEach((function(e,t){o.set(i(t),i(e))}))):"[object Date]"===a?o=new Date(+e):"[object RegExp]"===a?o=new RegExp(e.source,e.flags):"[object DataView]"===a?o=new e.constructor(i(e.buffer)):"[object ArrayBuffer]"===a?o=e.slice(0):"Array]"===a.slice(-6)&&(o=new e.constructor(e)),o){for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)n(o,r[s],Object.getOwnPropertyDescriptor(e,r[s]));for(s=0,r=Object.getOwnPropertyNames(e);s<r.length;s++)Object.hasOwnProperty.call(o,t=r[s])&&o[t]===e[t]||n(o,t,Object.getOwnPropertyDescriptor(e,t))}return o||e}r.klona=i}}},{package:"@metamask/eth-json-rpc-middleware>klona",file:"node_modules/klona/full/index.js"}],[4708,{"./map":4709},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./map");r.getCurrency=function(e){var t,r,i=(t=e,r=t.split("_"),2==r.length||2==(r=t.split("-")).length?r.pop():t).toUpperCase();return i in n?n[i]:null},r.getLocales=function(e){e=e.toUpperCase();var t=[];for(countryCode in n)n[countryCode]===e&&t.push(countryCode);return t}}}},{package:"currency-formatter>locale-currency",file:"node_modules/locale-currency/index.js"}],[4709,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={AD:"EUR",AE:"AED",AF:"AFN",AG:"XCD",AI:"XCD",AL:"ALL",AM:"AMD",AN:"ANG",AO:"AOA",AR:"ARS",AS:"USD",AT:"EUR",AU:"AUD",AW:"AWG",AX:"EUR",AZ:"AZN",BA:"BAM",BB:"BBD",BD:"BDT",BE:"EUR",BF:"XOF",BG:"BGN",BH:"BHD",BI:"BIF",BJ:"XOF",BL:"EUR",BM:"BMD",BN:"BND",BO:"BOB",BQ:"USD",BR:"BRL",BS:"BSD",BT:"BTN",BV:"NOK",BW:"BWP",BY:"BYR",BZ:"BZD",CA:"CAD",CC:"AUD",CD:"CDF",CF:"XAF",CG:"XAF",CH:"CHF",CI:"XOF",CK:"NZD",CL:"CLP",CM:"XAF",CN:"CNY",CO:"COP",CR:"CRC",CU:"CUP",CV:"CVE",CW:"ANG",CX:"AUD",CY:"EUR",CZ:"CZK",DE:"EUR",DJ:"DJF",DK:"DKK",DM:"XCD",DO:"DOP",DZ:"DZD",EC:"USD",EE:"EUR",EG:"EGP",EH:"MAD",ER:"ERN",ES:"EUR",ET:"ETB",FI:"EUR",FJ:"FJD",FK:"FKP",FM:"USD",FO:"DKK",FR:"EUR",GA:"XAF",GB:"GBP",GD:"XCD",GE:"GEL",GF:"EUR",GG:"GBP",GH:"GHS",GI:"GIP",GL:"DKK",GM:"GMD",GN:"GNF",GP:"EUR",GQ:"XAF",GR:"EUR",GS:"GBP",GT:"GTQ",GU:"USD",GW:"XOF",GY:"GYD",HK:"HKD",HM:"AUD",HN:"HNL",HR:"HRK",HT:"HTG",HU:"HUF",ID:"IDR",IE:"EUR",IL:"ILS",IM:"GBP",IN:"INR",IO:"USD",IQ:"IQD",IR:"IRR",IS:"ISK",IT:"EUR",JE:"GBP",JM:"JMD",JO:"JOD",JP:"JPY",KE:"KES",KG:"KGS",KH:"KHR",KI:"AUD",KM:"KMF",KN:"XCD",KP:"KPW",KR:"KRW",KW:"KWD",KY:"KYD",KZ:"KZT",LA:"LAK",LB:"LBP",LC:"XCD",LI:"CHF",LK:"LKR",LR:"LRD",LS:"LSL",LT:"LTL",LU:"EUR",LV:"LVL",LY:"LYD",MA:"MAD",MC:"EUR",MD:"MDL",ME:"EUR",MF:"EUR",MG:"MGA",MH:"USD",MK:"MKD",ML:"XOF",MM:"MMK",MN:"MNT",MO:"MOP",MP:"USD",MQ:"EUR",MR:"MRO",MS:"XCD",MT:"EUR",MU:"MUR",MV:"MVR",MW:"MWK",MX:"MXN",MY:"MYR",MZ:"MZN",NA:"NAD",NC:"XPF",NE:"XOF",NF:"AUD",NG:"NGN",NI:"NIO",NL:"EUR",NO:"NOK",NP:"NPR",NR:"AUD",NU:"NZD",NZ:"NZD",OM:"OMR",PA:"PAB",PE:"PEN",PF:"XPF",PG:"PGK",PH:"PHP",PK:"PKR",PL:"PLN",PM:"EUR",PN:"NZD",PR:"USD",PS:"ILS",PT:"EUR",PW:"USD",PY:"PYG",QA:"QAR",RE:"EUR",RO:"RON",RS:"RSD",RU:"RUB",RW:"RWF",SA:"SAR",SB:"SBD",SC:"SCR",SD:"SDG",SE:"SEK",SG:"SGD",SH:"SHP",SI:"EUR",SJ:"NOK",SK:"EUR",SL:"SLL",SM:"EUR",SN:"XOF",SO:"SOS",SR:"SRD",ST:"STD",SV:"SVC",SX:"ANG",SY:"SYP",SZ:"SZL",TC:"USD",TD:"XAF",TF:"EUR",TG:"XOF",TH:"THB",TJ:"TJS",TK:"NZD",TL:"USD",TM:"TMT",TN:"TND",TO:"TOP",TR:"TRY",TT:"TTD",TV:"AUD",TW:"TWD",TZ:"TZS",UA:"UAH",UG:"UGX",UM:"USD",US:"USD",UY:"UYU",UZ:"UZS",VA:"EUR",VC:"XCD",VE:"VEF",VG:"USD",VI:"USD",VN:"VND",VU:"VUV",WF:"XPF",WS:"WST",YE:"YER",YT:"EUR",ZA:"ZAR",ZM:"ZMK",ZW:"ZWL"}}}},{package:"currency-formatter>locale-currency",file:"node_modules/locale-currency/map.js"}],[471,{"./_version":470,"./coders/abstract-coder":472,"./coders/address":473,"./coders/array":475,"./coders/boolean":476,"./coders/bytes":477,"./coders/fixed-bytes":478,"./coders/null":479,"./coders/number":480,"./coders/string":481,"./coders/tuple":482,"./fragments":483,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultAbiCoder=r.AbiCoder=void 0;var n=e("@ethersproject/bytes"),i=e("@ethersproject/properties"),o=e("@ethersproject/logger"),s=e("./_version"),a=new o.Logger(s.version),u=e("./coders/abstract-coder"),c=e("./coders/address"),l=e("./coders/array"),f=e("./coders/boolean"),h=e("./coders/bytes"),d=e("./coders/fixed-bytes"),p=e("./coders/null"),y=e("./coders/number"),g=e("./coders/string"),m=e("./coders/tuple"),b=e("./fragments"),_=new RegExp(/^bytes([0-9]*)$/),w=new RegExp(/^(u?int)([0-9]*)$/),v=function(){function e(e){(0,i.defineReadOnly)(this,"coerceFunc",e||null)}return e.prototype._getCoder=function(e){var t=this;switch(e.baseType){case"address":return new c.AddressCoder(e.name);case"bool":return new f.BooleanCoder(e.name);case"string":return new g.StringCoder(e.name);case"bytes":return new h.BytesCoder(e.name);case"array":return new l.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new m.TupleCoder((e.components||[]).map((function(e){return t._getCoder(e)})),e.name);case"":return new p.NullCoder(e.name)}var r,n=e.type.match(w);return n?((0===(r=parseInt(n[2]||"256"))||r>256||r%8!=0)&&a.throwArgumentError("invalid "+n[1]+" bit length","param",e),new y.NumberCoder(r/8,"int"===n[1],e.name)):(n=e.type.match(_))?((0===(r=parseInt(n[1]))||r>32)&&a.throwArgumentError("invalid bytes length","param",e),new d.FixedBytesCoder(r,e.name)):a.throwArgumentError("invalid type","type",e.type)},e.prototype._getWordSize=function(){return 32},e.prototype._getReader=function(e,t){return new u.Reader(e,this._getWordSize(),this.coerceFunc,t)},e.prototype._getWriter=function(){return new u.Writer(this._getWordSize())},e.prototype.getDefaultValue=function(e){var t=this,r=e.map((function(e){return t._getCoder(b.ParamType.from(e))}));return new m.TupleCoder(r,"_").defaultValue()},e.prototype.encode=function(e,t){var r=this;e.length!==t.length&&a.throwError("types/values length mismatch",o.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var n=e.map((function(e){return r._getCoder(b.ParamType.from(e))})),i=new m.TupleCoder(n,"_"),s=this._getWriter();return i.encode(s,t),s.data},e.prototype.decode=function(e,t,r){var i=this,o=e.map((function(e){return i._getCoder(b.ParamType.from(e))}));return new m.TupleCoder(o,"_").decode(this._getReader((0,n.arrayify)(t),r))},e}();r.AbiCoder=v,r.defaultAbiCoder=new v}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/abi-coder.js"}],[4710,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
localForage -- Offline Storage, Improved
Version 1.10.0
https://localforage.github.io/localForage
(c) 2013-2017 Mozilla, Apache License 2.0
*/
!function(e){if("object"==typeof r&&void 0!==t)t.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=e()}}((function(){return function t(r,n,i){function o(a,u){if(!n[a]){if(!r[a]){var c="function"==typeof e&&e;if(!u&&c)return c(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var f=n[a]={exports:{}};r[a][0].call(f.exports,(function(e){var t=r[a][1][e];return o(t||e)}),f,f.exports,t,r,n,i)}return n[a].exports}for(var s="function"==typeof e&&e,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,t,r){(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(l),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),r=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var u=new e.MessageChannel;u.port1.onmessage=l,r=function(){u.port2.postMessage(0)}}var c=[];function l(){var e,t;n=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}n=!1}t.exports=function(e){1!==c.push(e)||n||r()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,r){var n=e(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],u=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function f(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return o.reject(e,t)}n===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var s=p((function(){t(i,n)}));"error"===s.status&&n(s.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}t.exports=c,c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var r=new this.constructor(i);this.state!==u?f(r,this.state===a?e:t,this.outcome):this.queue.push(new l(r,e,t));return r},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},c.resolve=function(e){if(e instanceof this)return e;return o.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);var s=new Array(r),a=0,u=-1,c=new this(i);for(;++u<r;)l(e[u],u);return c;function l(e,i){t.resolve(e).then((function(e){s[i]=e,++a!==r||n||(n=!0,o.resolve(c,s))}),(function(e){n||(n=!0,o.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);var s=-1,a=new this(i);for(;++s<r;)u=e[s],t.resolve(u).then((function(e){n||(n=!0,o.resolve(a,e))}),(function(e){n||(n=!0,o.reject(a,e))}));var u;return a}},{1:1}],3:[function(e,t,r){(function(t){"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var r=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<e.length;n+=1)r.append(e[n]);return r.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var s=Promise;function a(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function u(e,t,r){"function"==typeof t&&e.then(t),"function"==typeof r&&e.catch(r)}function c(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function l(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var f="local-forage-detect-blob-support",h=void 0,d={},p=Object.prototype.toString,y="readonly",g="readwrite";function m(e){return"boolean"==typeof h?s.resolve(h):function(e){return new s((function(t){var r=e.transaction(f,g),n=o([""]);r.objectStore(f).put(n,"key"),r.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},r.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),r=navigator.userAgent.match(/Edge\//);t(r||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return h=e}))}function b(e){var t=d[e.name],r={};r.promise=new s((function(e,t){r.resolve=e,r.reject=t})),t.deferredOperations.push(r),t.dbReady?t.dbReady=t.dbReady.then((function(){return r.promise})):t.dbReady=r.promise}function _(e){var t=d[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function w(e,t){var r=d[e.name].deferredOperations.pop();if(r)return r.reject(t),r.promise}function v(e,t){return new s((function(r,n){if(d[e.name]=d[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return r(e.db);b(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var s=i.open.apply(i,o);t&&(s.onupgradeneeded=function(t){var r=s.result;try{r.createObjectStore(e.storeName),t.oldVersion<=1&&r.createObjectStore(f)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),n(s.error)},s.onsuccess=function(){var t=s.result;t.onversionchange=function(e){e.target.close()},r(t),_(e)}}))}function A(e){return v(e,!1)}function T(e){return v(e,!0)}function E(e,t){if(!e.db)return!0;var r=!e.db.objectStoreNames.contains(e.storeName),n=e.version<e.db.version,i=e.version>e.db.version;if(n&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||r){if(r){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function j(e){var t=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),i=0;i<t;i++)n[i]=e.charCodeAt(i);return r}(atob(e.data));return o([t],{type:e.type})}function x(e){return e&&e.__local_forage_encoded_blob}function k(e){var t=this,r=t._initReady().then((function(){var e=d[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return u(r,e,e),r}function P(e,t,r,n){n===undefined&&(n=1);try{var i=e.db.transaction(e.storeName,t);r(null,i)}catch(i){if(n>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return s.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),T(e)})).then((function(){return function(e){b(e);for(var t=d[e.name],r=t.forages,n=0;n<r.length;n++){var i=r[n];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,A(e).then((function(t){return e.db=t,E(e)?T(e):t})).then((function(n){e.db=t.db=n;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=n})).catch((function(t){throw w(e,t),t}))}(e).then((function(){P(e,t,r,n-1)}))})).catch(r);r(i)}}var S={_driver:"asyncStorage",_initStorage:function(e){var t=this,r={db:null};if(e)for(var n in e)r[n]=e[n];var i=d[r.name];i||(i={forages:[],db:null,dbReady:null,deferredOperations:[]},d[r.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=k);var o=[];function a(){return s.resolve()}for(var u=0;u<i.forages.length;u++){var c=i.forages[u];c!==t&&o.push(c._initReady().catch(a))}var l=i.forages.slice(0);return s.all(o).then((function(){return r.db=i.db,A(r)})).then((function(e){return r.db=e,E(r,t._defaultConfig.version)?T(r):e})).then((function(e){r.db=i.db=e,t._dbInfo=r;for(var n=0;n<l.length;n++){var o=l[n];o!==t&&(o._dbInfo.db=r.db,o._dbInfo.version=r.version)}}))},_support:function(){try{if(!i||!i.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){P(r._dbInfo,y,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var r=s.result;if(r){var n=r.value;x(n)&&(n=j(n));var i=e(n,r.key,a++);void 0!==i?t(i):r.continue()}else t()},s.onerror=function(){n(s.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},getItem:function(e,t){var r=this;e=c(e);var n=new s((function(t,n){r.ready().then((function(){P(r._dbInfo,y,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).get(e);s.onsuccess=function(){var e=s.result;e===undefined&&(e=null),x(e)&&(e=j(e)),t(e)},s.onerror=function(){n(s.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},setItem:function(e,t,r){var n=this;e=c(e);var i=new s((function(r,i){var o;n.ready().then((function(){return o=n._dbInfo,"[object Blob]"===p.call(t)?m(o.db).then((function(e){return e?t:(r=t,new s((function(e,t){var n=new FileReader;n.onerror=t,n.onloadend=function(t){var n=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:n,type:r.type})},n.readAsBinaryString(r)})));var r})):t})).then((function(t){P(n._dbInfo,g,(function(o,s){if(o)return i(o);try{var a=s.objectStore(n._dbInfo.storeName);null===t&&(t=undefined);var u=a.put(t,e);s.oncomplete=function(){t===undefined&&(t=null),r(t)},s.onabort=s.onerror=function(){var e=u.error?u.error:u.transaction.error;i(e)}}catch(e){i(e)}}))})).catch(i)}));return a(i,r),i},removeItem:function(e,t){var r=this;e=c(e);var n=new s((function(t,n){r.ready().then((function(){P(r._dbInfo,g,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){n(s.error)},o.onabort=function(){var e=s.error?s.error:s.transaction.error;n(e)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},clear:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){P(t._dbInfo,g,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;r(e)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},length:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){P(t._dbInfo,y,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){r(o.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},key:function(e,t){var r=this,n=new s((function(t,n){e<0?t(null):r.ready().then((function(){P(r._dbInfo,y,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName),a=!1,u=s.openKeyCursor();u.onsuccess=function(){var r=u.result;r?0===e||a?t(r.key):(a=!0,r.advance(e)):t(null)},u.onerror=function(){n(u.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},keys:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){P(t._dbInfo,y,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),s=[];o.onsuccess=function(){var t=o.result;t?(s.push(t.key),t.continue()):e(s)},o.onerror=function(){r(o.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},dropInstance:function(e,t){t=l.apply(this,arguments);var r,n=this.config();if((e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName),e.name){var o=e.name===n.name&&this._dbInfo.db?s.resolve(this._dbInfo.db):A(e).then((function(t){var r=d[e.name],n=r.forages;r.db=t;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=t;return t}));r=e.storeName?o.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var r=t.version+1;b(e);var n=d[e.name],o=n.forages;t.close();for(var a=0;a<o.length;a++){var u=o[a];u._dbInfo.db=null,u._dbInfo.version=r}var c=new s((function(t,n){var o=i.open(e.name,r);o.onerror=function(e){o.result.close(),n(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}}));return c.then((function(e){n.db=e;for(var t=0;t<o.length;t++){var r=o[t];r._dbInfo.db=e,_(r._dbInfo)}})).catch((function(t){throw(w(e,t)||s.resolve()).catch((function(){})),t}))}})):o.then((function(t){b(e);var r=d[e.name],n=r.forages;t.close();for(var o=0;o<n.length;o++){n[o]._dbInfo.db=null}var a=new s((function(t,r){var n=i.deleteDatabase(e.name);n.onerror=function(){var e=n.result;e&&e.close(),r(n.error)},n.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},n.onsuccess=function(){var e=n.result;e&&e.close(),t(e)}}));return a.then((function(e){r.db=e;for(var t=0;t<n.length;t++){_(n[t]._dbInfo)}})).catch((function(t){throw(w(e,t)||s.resolve()).catch((function(){})),t}))}))}else r=s.reject("Invalid arguments");return a(r,t),r}};var O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I=/^~~local_forage_type~([^~]+)~/,N="__lfsc__:",R="arbf",U="blob",B="si08",C="ui08",L="uic8",F="si16",D="si32",M="ur16",z="ui32",G="fl32",H="fl64",V=Object.prototype.toString;function K(e){var t,r,n,i,o,s=.75*e.length,a=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),l=new Uint8Array(c);for(t=0;t<a;t+=4)r=O.indexOf(e[t]),n=O.indexOf(e[t+1]),i=O.indexOf(e[t+2]),o=O.indexOf(e[t+3]),l[u++]=r<<2|n>>4,l[u++]=(15&n)<<4|i>>2,l[u++]=(3&i)<<6|63&o;return c}function $(e){var t,r=new Uint8Array(e),n="";for(t=0;t<r.length;t+=3)n+=O[r[t]>>2],n+=O[(3&r[t])<<4|r[t+1]>>4],n+=O[(15&r[t+1])<<2|r[t+2]>>6],n+=O[63&r[t+2]];return r.length%3==2?n=n.substring(0,n.length-1)+"=":r.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}var W={serialize:function(e,t){var r="";if(e&&(r=V.call(e)),e&&("[object ArrayBuffer]"===r||e.buffer&&"[object ArrayBuffer]"===V.call(e.buffer))){var n,i=N;e instanceof ArrayBuffer?(n=e,i+=R):(n=e.buffer,"[object Int8Array]"===r?i+=B:"[object Uint8Array]"===r?i+=C:"[object Uint8ClampedArray]"===r?i+=L:"[object Int16Array]"===r?i+=F:"[object Uint16Array]"===r?i+=M:"[object Int32Array]"===r?i+=D:"[object Uint32Array]"===r?i+=z:"[object Float32Array]"===r?i+=G:"[object Float64Array]"===r?i+=H:t(new Error("Failed to get type for BinaryArray"))),t(i+$(n))}else if("[object Blob]"===r){var o=new FileReader;o.onload=function(){var r="~~local_forage_type~"+e.type+"~"+$(this.result);t(N+U+r)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(r){console.error("Couldn't convert value into a JSON string: ",e),t(null,r)}},deserialize:function(e){if(e.substring(0,9)!==N)return JSON.parse(e);var t,r=e.substring(13),n=e.substring(9,13);if(n===U&&I.test(r)){var i=r.match(I);t=i[1],r=r.substring(i[0].length)}var s=K(r);switch(n){case R:return s;case U:return o([s],{type:t});case B:return new Int8Array(s);case C:return new Uint8Array(s);case L:return new Uint8ClampedArray(s);case F:return new Int16Array(s);case M:return new Uint16Array(s);case D:return new Int32Array(s);case z:return new Uint32Array(s);case G:return new Float32Array(s);case H:return new Float64Array(s);default:throw new Error("Unkown type: "+n)}},stringToBuffer:K,bufferToString:$};function q(e,t,r,n){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],r,n)}function J(e,t,r,n,i,o){e.executeSql(r,n,i,(function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?o(e,s):q(e,t,(function(){e.executeSql(r,n,i,o)}),o)}),o):o(e,s)}),o)}function Z(e,t,r,n){var i=this;e=c(e);var o=new s((function(o,s){i.ready().then((function(){t===undefined&&(t=null);var a=t,u=i._dbInfo;u.serializer.serialize(t,(function(t,c){c?s(c):u.db.transaction((function(r){J(r,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(a)}),(function(e,t){s(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(n>0)return void o(Z.apply(i,[e,a,r,n-1]));s(t)}}))}))})).catch(s)}));return a(o,r),o}var X={_driver:"webSQLStorage",_initStorage:function(e){var t=this,r={db:null};if(e)for(var n in e)r[n]="string"!=typeof e[n]?e[n].toString():e[n];var i=new s((function(e,n){try{r.db=openDatabase(r.name,String(r.version),r.description,r.size)}catch(e){return n(e)}r.db.transaction((function(i){q(i,r,(function(){t._dbInfo=r,e()}),(function(e,t){n(t)}))}),n)}));return r.serializer=W,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){J(r,i,"SELECT * FROM "+i.storeName,[],(function(r,n){for(var o=n.rows,s=o.length,a=0;a<s;a++){var u=o.item(a),c=u.value;if(c&&(c=i.serializer.deserialize(c)),void 0!==(c=e(c,u.key,a+1)))return void t(c)}t()}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},getItem:function(e,t){var r=this;e=c(e);var n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){J(r,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,r){var n=r.rows.length?r.rows.item(0).value:null;n&&(n=i.serializer.deserialize(n)),t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},setItem:function(e,t,r){return Z.apply(this,[e,t,r,1])},removeItem:function(e,t){var r=this;e=c(e);var n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){J(r,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},clear:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){J(t,n,"DELETE FROM "+n.storeName,[],(function(){e()}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},length:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){J(t,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(t,r){var n=r.rows.item(0).c;e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},key:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){J(r,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,r){var n=r.rows.length?r.rows.item(0).key:null;t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},keys:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){J(t,n,"SELECT key FROM "+n.storeName,[],(function(t,r){for(var n=[],i=0;i<r.rows.length;i++)n.push(r.rows.item(i).key);e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},dropInstance:function(e,t){t=l.apply(this,arguments);var r=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var n,i=this;return a(n=e.name?new s((function(t){var n;n=e.name===r.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:n,storeNames:[e.storeName]}):t(function(e){return new s((function(t,r){e.transaction((function(n){n.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(r,n){for(var i=[],o=0;o<n.rows.length;o++)i.push(n.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){r(t)}))}),(function(e){r(e)}))}))}(n))})).then((function(e){return new s((function(t,r){e.db.transaction((function(n){function i(e){return new s((function(t,r){n.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){r(t)}))}))}for(var o=[],a=0,u=e.storeNames.length;a<u;a++)o.push(i(e.storeNames[a]));s.all(o).then((function(){t()})).catch((function(e){r(e)}))}),(function(e){r(e)}))}))})):s.reject("Invalid arguments"),t),n}};function Q(e,t){var r=e.name+"/";return e.storeName!==t.storeName&&(r+=e.storeName+"/"),r}function Y(){return!function(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}()||localStorage.length>0}var ee={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var r in e)t[r]=e[r];return t.keyPrefix=Q(e,this._defaultConfig),Y()?(this._dbInfo=t,t.serializer=W,s.resolve()):s.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var r=this,n=r.ready().then((function(){for(var t=r._dbInfo,n=t.keyPrefix,i=n.length,o=localStorage.length,s=1,a=0;a<o;a++){var u=localStorage.key(a);if(0===u.indexOf(n)){var c=localStorage.getItem(u);if(c&&(c=t.serializer.deserialize(c)),void 0!==(c=e(c,u.substring(i),s++)))return c}}}));return a(n,t),n},getItem:function(e,t){var r=this;e=c(e);var n=r.ready().then((function(){var t=r._dbInfo,n=localStorage.getItem(t.keyPrefix+e);return n&&(n=t.serializer.deserialize(n)),n}));return a(n,t),n},setItem:function(e,t,r){var n=this;e=c(e);var i=n.ready().then((function(){t===undefined&&(t=null);var r=t;return new s((function(i,o){var s=n._dbInfo;s.serializer.serialize(t,(function(t,n){if(n)o(n);else try{localStorage.setItem(s.keyPrefix+e,t),i(r)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}}))}))}));return a(i,r),i},removeItem:function(e,t){var r=this;e=c(e);var n=r.ready().then((function(){var t=r._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return a(n,t),n},clear:function(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,r=localStorage.length-1;r>=0;r--){var n=localStorage.key(r);0===n.indexOf(e)&&localStorage.removeItem(n)}}));return a(r,e),r},length:function(e){var t=this.keys().then((function(e){return e.length}));return a(t,e),t},key:function(e,t){var r=this,n=r.ready().then((function(){var t,n=r._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(n.keyPrefix.length)),t}));return a(n,t),n},keys:function(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo,r=localStorage.length,n=[],i=0;i<r;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&n.push(o.substring(e.keyPrefix.length))}return n}));return a(r,e),r},dropInstance:function(e,t){if(t=l.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var r=this.config();e.name=e.name||r.name,e.storeName=e.storeName||r.storeName}var n,i=this;return n=e.name?new s((function(t){e.storeName?t(Q(e,i._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var r=localStorage.key(t);0===r.indexOf(e)&&localStorage.removeItem(r)}})):s.reject("Invalid arguments"),a(n,t),n}},te=function(e,t){for(var r,n,i=e.length,o=0;o<i;){if((r=e[o])===(n=t)||"number"==typeof r&&"number"==typeof n&&isNaN(r)&&isNaN(n))return!0;o++}return!1},re=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},ne={},ie={},oe={INDEXEDDB:S,WEBSQL:X,LOCALSTORAGE:ee},se=[oe.INDEXEDDB._driver,oe.WEBSQL._driver,oe.LOCALSTORAGE._driver],ae=["dropInstance"],ue=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ae),ce={description:"",driver:se.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function le(e,t){e[t]=function(){var r=arguments;return e.ready().then((function(){return e[t].apply(e,r)}))}}function fe(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var r in t)t.hasOwnProperty(r)&&(re(t[r])?arguments[0][r]=t[r].slice():arguments[0][r]=t[r])}return arguments[0]}var he=function(){function e(t){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),oe)if(oe.hasOwnProperty(r)){var n=oe[r],i=n._driver;this[r]=i,ne[i]||this.defineDriver(n)}this._defaultConfig=fe({},ce),this._config=fe({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":n(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,r){var n=new s((function(t,r){try{var n=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void r(i);for(var o=ue.concat("_initStorage"),u=0,c=o.length;u<c;u++){var l=o[u];if((!te(ae,l)||e[l])&&"function"!=typeof e[l])return void r(i)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),r=s.reject(t);return a(r,arguments[arguments.length-1]),r}},r=0,n=ae.length;r<n;r++){var i=ae[r];e[i]||(e[i]=t(i))}}();var f=function(r){ne[n]&&console.info("Redefining LocalForage driver: "+n),ne[n]=e,ie[n]=r,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(f,r):f(!!e._support):f(!0)}catch(e){r(e)}}));return u(n,t,r),n},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,r){var n=ne[e]?s.resolve(ne[e]):s.reject(new Error("Driver not found."));return u(n,t,r),n},e.prototype.getSerializer=function(e){var t=s.resolve(W);return u(t,e),t},e.prototype.ready=function(e){var t=this,r=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return u(r,e,e),r},e.prototype.setDriver=function(e,t,r){var n=this;re(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){n._config.driver=n.driver()}function a(e){return n._extend(e),o(),n._ready=n._initStorage(n._config),n._ready}var c=null!==this._driverSet?this._driverSet.catch((function(){return s.resolve()})):s.resolve();return this._driverSet=c.then((function(){var e=i[0];return n._dbInfo=null,n._ready=null,n.getDriver(e).then((function(e){n._driver=e._driver,o(),n._wrapLibraryMethodsWithReady(),n._initDriver=function(e){return function(){var t=0;return function r(){for(;t<e.length;){var i=e[t];return t++,n._dbInfo=null,n._ready=null,n.getDriver(i).then(a).catch(r)}o();var u=new Error("No available storage method found.");return n._driverSet=s.reject(u),n._driverSet}()}}(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return n._driverSet=s.reject(e),n._driverSet})),u(this._driverSet,t,r),this._driverSet},e.prototype.supports=function(e){return!!ie[e]},e.prototype._extend=function(e){fe(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var i=e[r];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=ue.length;e<t;e++)le(this,ue[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),de=new he;t.exports=de},{3:3}]},{},[4])(4)}))}}},{package:"localforage",file:"node_modules/localforage/dist/localforage.js"}],[4711,{"./_getNative":4779,"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(e("./_root"),"DataView");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_DataView.js"}],[4712,{"./_hashClear":4786,"./_hashDelete":4787,"./_hashGet":4788,"./_hashHas":4789,"./_hashSet":4790},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_hashClear"),i=e("./_hashDelete"),o=e("./_hashGet"),s=e("./_hashHas"),a=e("./_hashSet");function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u}}},{package:"lodash",file:"node_modules/lodash/_Hash.js"}],[4713,{"./_listCacheClear":4799,"./_listCacheDelete":4800,"./_listCacheGet":4801,"./_listCacheHas":4802,"./_listCacheSet":4803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_listCacheClear"),i=e("./_listCacheDelete"),o=e("./_listCacheGet"),s=e("./_listCacheHas"),a=e("./_listCacheSet");function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u}}},{package:"lodash",file:"node_modules/lodash/_ListCache.js"}],[4714,{"./_getNative":4779,"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(e("./_root"),"Map");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_Map.js"}],[4715,{"./_mapCacheClear":4804,"./_mapCacheDelete":4805,"./_mapCacheGet":4806,"./_mapCacheHas":4807,"./_mapCacheSet":4808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_mapCacheClear"),i=e("./_mapCacheDelete"),o=e("./_mapCacheGet"),s=e("./_mapCacheHas"),a=e("./_mapCacheSet");function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u}}},{package:"lodash",file:"node_modules/lodash/_MapCache.js"}],[4716,{"./_getNative":4779,"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(e("./_root"),"Promise");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_Promise.js"}],[4717,{"./_getNative":4779,"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(e("./_root"),"Set");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_Set.js"}],[4719,{"./_ListCache":4713,"./_stackClear":4824,"./_stackDelete":4825,"./_stackGet":4826,"./_stackHas":4827,"./_stackSet":4828},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_ListCache"),i=e("./_stackClear"),o=e("./_stackDelete"),s=e("./_stackGet"),a=e("./_stackHas"),u=e("./_stackSet");function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,t.exports=c}}},{package:"lodash",file:"node_modules/lodash/_Stack.js"}],[472,{"../_version":470,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Reader=r.Writer=r.Coder=r.checkResultErrors=void 0;var n=e("@ethersproject/bytes"),i=e("@ethersproject/bignumber"),o=e("@ethersproject/properties"),s=e("@ethersproject/logger"),a=e("../_version"),u=new s.Logger(a.version);r.checkResultErrors=function(e){var t=[],r=function(e,n){if(Array.isArray(n))for(var i in n){var o=e.slice();o.push(i);try{r(o,n[i])}catch(e){t.push({path:o,error:e})}}};return r([],e),t};var c=function(){function e(e,t,r,n){this.name=e,this.type=t,this.localName=r,this.dynamic=n}return e.prototype._throwError=function(e,t){u.throwArgumentError(e,this.localName,t)},e}();r.Coder=c;var l=function(){function e(e){(0,o.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),e.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},e.prototype.appendWriter=function(e){return this._writeData((0,n.concat)(e._data))},e.prototype.writeBytes=function(e){var t=(0,n.arrayify)(e),r=t.length%this.wordSize;return r&&(t=(0,n.concat)([t,this._padding.slice(r)])),this._writeData(t)},e.prototype._getValue=function(e){var t=(0,n.arrayify)(i.BigNumber.from(e));return t.length>this.wordSize&&u.throwError("value out-of-bounds",s.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=(0,n.concat)([this._padding.slice(t.length%this.wordSize),t])),t},e.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},e.prototype.writeUpdatableValue=function(){var e=this,t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(r){e._data[t]=e._getValue(r)}},e}();r.Writer=l;var f=function(){function e(e,t,r,i){(0,o.defineReadOnly)(this,"_data",(0,n.arrayify)(e)),(0,o.defineReadOnly)(this,"wordSize",t||32),(0,o.defineReadOnly)(this,"_coerceFunc",r),(0,o.defineReadOnly)(this,"allowLoose",i),this._offset=0}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),e.coerce=function(e,t){var r=e.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(t=t.toNumber()),t},e.prototype.coerce=function(t,r){return this._coerceFunc?this._coerceFunc(t,r):e.coerce(t,r)},e.prototype._peekBytes=function(e,t,r){var n=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+t<=this._data.length?n=t:u.throwError("data out-of-bounds",s.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)},e.prototype.subReader=function(t){return new e(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)},e.prototype.readBytes=function(e,t){var r=this._peekBytes(0,e,!!t);return this._offset+=r.length,r.slice(0,e)},e.prototype.readValue=function(){return i.BigNumber.from(this.readBytes(this.wordSize))},e}();r.Reader=f}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/abstract-coder.js"}],[4720,{"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_root").Symbol;t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_Symbol.js"}],[4721,{"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_root").Uint8Array;t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_Uint8Array.js"}],[4722,{"./_getNative":4779,"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(e("./_root"),"WeakMap");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_WeakMap.js"}],[4723,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}}}},{package:"lodash",file:"node_modules/lodash/_apply.js"}],[4725,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}}}},{package:"lodash",file:"node_modules/lodash/_arrayFilter.js"}],[4726,{"./_baseTimes":4754,"./_isIndex":4794,"./isArguments":4836,"./isArray":4837,"./isBuffer":4840,"./isTypedArray":4852},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseTimes"),i=e("./isArguments"),o=e("./isArray"),s=e("./isBuffer"),a=e("./_isIndex"),u=e("./isTypedArray"),c=Object.prototype.hasOwnProperty;t.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&s(e),h=!r&&!l&&!f&&u(e),d=r||l||f||h,p=d?n(e.length,String):[],y=p.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,y))||p.push(g);return p}}}},{package:"lodash",file:"node_modules/lodash/_arrayLikeKeys.js"}],[4727,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}}}},{package:"lodash",file:"node_modules/lodash/_arrayPush.js"}],[4729,{"./_baseAssignValue":4734,"./eq":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseAssignValue"),i=e("./eq");t.exports=function(e,t,r){(r!==undefined&&!i(e[t],r)||r===undefined&&!(t in e))&&n(e,t,r)}}}},{package:"lodash",file:"node_modules/lodash/_assignMergeValue.js"}],[473,{"./abstract-coder":472,"@ethersproject/address":491,"@ethersproject/bytes":500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AddressCoder=void 0;var o=e("@ethersproject/address"),s=e("@ethersproject/bytes"),a=function(e){function t(t){return e.call(this,"address","address",t,!1)||this}return i(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},t.prototype.encode=function(e,t){try{t=(0,o.getAddress)(t)}catch(e){this._throwError(e.message,t)}return e.writeValue(t)},t.prototype.decode=function(e){return(0,o.getAddress)((0,s.hexZeroPad)(e.readValue().toHexString(),20))},t}(e("./abstract-coder").Coder);r.AddressCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/address.js"}],[4730,{"./_baseAssignValue":4734,"./eq":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseAssignValue"),i=e("./eq"),o=Object.prototype.hasOwnProperty;t.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(s,r)&&(r!==undefined||t in e)||n(e,t,r)}}}},{package:"lodash",file:"node_modules/lodash/_assignValue.js"}],[4731,{"./eq":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./eq");t.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}}}},{package:"lodash",file:"node_modules/lodash/_assocIndexOf.js"}],[4734,{"./_defineProperty":4771},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_defineProperty");t.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}},{package:"lodash",file:"node_modules/lodash/_baseAssignValue.js"}],[4736,{"./isObject":4847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isObject"),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=undefined,r}}();t.exports=o}}},{package:"lodash",file:"node_modules/lodash/_baseCreate.js"}],[4737,{"./_createBaseFor":4770},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_createBaseFor")();t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_baseFor.js"}],[4738,{"./_arrayPush":4727,"./isArray":4837},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_arrayPush"),i=e("./isArray");t.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}}}},{package:"lodash",file:"node_modules/lodash/_baseGetAllKeys.js"}],[4739,{"./_Symbol":4720,"./_getRawTag":4781,"./_objectToString":4814},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_Symbol"),i=e("./_getRawTag"),o=e("./_objectToString"),s=n?n.toStringTag:undefined;t.exports=function(e){return null==e?e===undefined?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}}}},{package:"lodash",file:"node_modules/lodash/_baseGetTag.js"}],[474,{"./abstract-coder":472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousCoder=void 0;var o=function(e){function t(t){var r=e.call(this,t.name,t.type,undefined,t.dynamic)||this;return r.coder=t,r}return i(t,e),t.prototype.defaultValue=function(){return this.coder.defaultValue()},t.prototype.encode=function(e,t){return this.coder.encode(e,t)},t.prototype.decode=function(e){return this.coder.decode(e)},t}(e("./abstract-coder").Coder);r.AnonymousCoder=o}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/anonymous.js"}],[4741,{"./_baseGetTag":4739,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isObjectLike");t.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}}}},{package:"lodash",file:"node_modules/lodash/_baseIsArguments.js"}],[4745,{"./_isMasked":4797,"./_toSource":4829,"./isFunction":4843,"./isObject":4847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isFunction"),i=e("./_isMasked"),o=e("./isObject"),s=e("./_toSource"),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!o(e)||i(e))&&(n(e)?h:a).test(s(e))}}}},{package:"lodash",file:"node_modules/lodash/_baseIsNative.js"}],[4747,{"./_baseGetTag":4739,"./isLength":4845,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isLength"),o=e("./isObjectLike"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}}}},{package:"lodash",file:"node_modules/lodash/_baseIsTypedArray.js"}],[4748,{"./_isPrototype":4798,"./_nativeKeys":4811},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_isPrototype"),i=e("./_nativeKeys"),o=Object.prototype.hasOwnProperty;t.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}}}},{package:"lodash",file:"node_modules/lodash/_baseKeys.js"}],[4749,{"./_isPrototype":4798,"./_nativeKeysIn":4812,"./isObject":4847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isObject"),i=e("./_isPrototype"),o=e("./_nativeKeysIn"),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}}}},{package:"lodash",file:"node_modules/lodash/_baseKeysIn.js"}],[475,{"../_version":470,"./abstract-coder":472,"./anonymous":474,"@ethersproject/logger":528},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayCoder=r.unpack=r.pack=void 0;var o=e("@ethersproject/logger"),s=e("../_version"),a=new o.Logger(s.version),u=e("./abstract-coder"),c=e("./anonymous");function l(e,t,r){var n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){var i={};n=t.map((function(e){var t=e.localName;return t||a.throwError("cannot encode object for signature with missing names",o.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),i[t]&&a.throwError("cannot encode object for signature with duplicate names",o.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),i[t]=!0,r[t]}))}else a.throwArgumentError("invalid tuple value","tuple",r);t.length!==n.length&&a.throwArgumentError("types/value length mismatch","tuple",r);var s=new u.Writer(e.wordSize),c=new u.Writer(e.wordSize),l=[];t.forEach((function(e,t){var r=n[t];if(e.dynamic){var i=c.length;e.encode(c,r);var o=s.writeUpdatableValue();l.push((function(e){o(e+i)}))}else e.encode(s,r)})),l.forEach((function(e){e(s.length)}));var f=e.appendWriter(s);return f+=e.appendWriter(c)}function f(e,t){var r=[],n=e.subReader(0);t.forEach((function(t){var i=null;if(t.dynamic){var s=e.readValue(),a=n.subReader(s.toNumber());try{i=t.decode(a)}catch(e){if(e.code===o.Logger.errors.BUFFER_OVERRUN)throw e;(i=e).baseType=t.name,i.name=t.localName,i.type=t.type}}else try{i=t.decode(e)}catch(e){if(e.code===o.Logger.errors.BUFFER_OVERRUN)throw e;(i=e).baseType=t.name,i.name=t.localName,i.type=t.type}i!=undefined&&r.push(i)}));var i=t.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});t.forEach((function(e,t){var n=e.localName;if(n&&1===i[n]&&("length"===n&&(n="_length"),null==r[n])){var o=r[t];o instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:function(){throw o}}):r[n]=o}}));for(var s=function(e){var t=r[e];t instanceof Error&&Object.defineProperty(r,e,{enumerable:!0,get:function(){throw t}})},a=0;a<r.length;a++)s(a);return Object.freeze(r)}r.pack=l,r.unpack=f;var h=function(e){function t(t,r,n){var i=this,o=t.type+"["+(r>=0?r:"")+"]",s=-1===r||t.dynamic;return(i=e.call(this,"array",o,n,s)||this).coder=t,i.length=r,i}return i(t,e),t.prototype.defaultValue=function(){for(var e=this.coder.defaultValue(),t=[],r=0;r<this.length;r++)t.push(e);return t},t.prototype.encode=function(e,t){Array.isArray(t)||this._throwError("expected array value",t);var r=this.length;-1===r&&(r=t.length,e.writeValue(t.length)),a.checkArgumentCount(t.length,r,"coder array"+(this.localName?" "+this.localName:""));for(var n=[],i=0;i<t.length;i++)n.push(this.coder);return l(e,n,t)},t.prototype.decode=function(e){var t=this.length;-1===t&&32*(t=e.readValue().toNumber())>e._data.length&&a.throwError("insufficient data length",o.Logger.errors.BUFFER_OVERRUN,{length:e._data.length,count:t});for(var r=[],n=0;n<t;n++)r.push(new c.AnonymousCoder(this.coder));return e.coerce(this.name,f(e,r))},t}(u.Coder);r.ArrayCoder=h}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/array.js"}],[4750,{"./_Stack":4719,"./_assignMergeValue":4729,"./_baseFor":4737,"./_baseMergeDeep":4751,"./_safeGet":4818,"./isObject":4847,"./keysIn":4854},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_Stack"),i=e("./_assignMergeValue"),o=e("./_baseFor"),s=e("./_baseMergeDeep"),a=e("./isObject"),u=e("./keysIn"),c=e("./_safeGet");t.exports=function e(t,r,l,f,h){t!==r&&o(r,(function(o,u){if(h||(h=new n),a(o))s(t,r,u,l,e,f,h);else{var d=f?f(c(t,u),o,u+"",t,r,h):undefined;d===undefined&&(d=o),i(t,u,d)}}),u)}}}},{package:"lodash",file:"node_modules/lodash/_baseMerge.js"}],[4751,{"./_assignMergeValue":4729,"./_cloneBuffer":4759,"./_cloneTypedArray":4763,"./_copyArray":4764,"./_initCloneObject":4793,"./_safeGet":4818,"./isArguments":4836,"./isArray":4837,"./isArrayLikeObject":4839,"./isBuffer":4840,"./isFunction":4843,"./isObject":4847,"./isPlainObject":4849,"./isTypedArray":4852,"./toPlainObject":4862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assignMergeValue"),i=e("./_cloneBuffer"),o=e("./_cloneTypedArray"),s=e("./_copyArray"),a=e("./_initCloneObject"),u=e("./isArguments"),c=e("./isArray"),l=e("./isArrayLikeObject"),f=e("./isBuffer"),h=e("./isFunction"),d=e("./isObject"),p=e("./isPlainObject"),y=e("./isTypedArray"),g=e("./_safeGet"),m=e("./toPlainObject");t.exports=function(e,t,r,b,_,w,v){var A=g(e,r),T=g(t,r),E=v.get(T);if(E)n(e,r,E);else{var j=w?w(A,T,r+"",e,t,v):undefined,x=j===undefined;if(x){var k=c(T),P=!k&&f(T),S=!k&&!P&&y(T);j=T,k||P||S?c(A)?j=A:l(A)?j=s(A):P?(x=!1,j=i(T,!0)):S?(x=!1,j=o(T,!0)):j=[]:p(T)||u(T)?(j=A,u(A)?j=m(A):d(A)&&!h(A)||(j=a(T))):x=!1}x&&(v.set(T,j),_(j,T,b,w,v),v.delete(T)),n(e,r,j)}}}}},{package:"lodash",file:"node_modules/lodash/_baseMergeDeep.js"}],[4752,{"./_overRest":4816,"./_setToString":4822,"./identity":4834},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./identity"),i=e("./_overRest"),o=e("./_setToString");t.exports=function(e,t){return o(i(e,t,n),e+"")}}}},{package:"lodash",file:"node_modules/lodash/_baseRest.js"}],[4753,{"./_defineProperty":4771,"./constant":4832,"./identity":4834},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./constant"),i=e("./_defineProperty"),o=e("./identity"),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;t.exports=s}}},{package:"lodash",file:"node_modules/lodash/_baseSetToString.js"}],[4754,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}}}},{package:"lodash",file:"node_modules/lodash/_baseTimes.js"}],[4756,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(t){return e(t)}}}}},{package:"lodash",file:"node_modules/lodash/_baseUnary.js"}],[4758,{"./_Uint8Array":4721},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_Uint8Array");t.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}}}},{package:"lodash",file:"node_modules/lodash/_cloneArrayBuffer.js"}],[4759,{"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_root"),i="object"==typeof r&&r&&!r.nodeType&&r,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i?n.Buffer:undefined,a=s?s.allocUnsafe:undefined;t.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}}}},{package:"lodash",file:"node_modules/lodash/_cloneBuffer.js"}],[476,{"./abstract-coder":472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BooleanCoder=void 0;var o=function(e){function t(t){return e.call(this,"bool","bool",t,!1)||this}return i(t,e),t.prototype.defaultValue=function(){return!1},t.prototype.encode=function(e,t){return e.writeValue(t?1:0)},t.prototype.decode=function(e){return e.coerce(this.type,!e.readValue().isZero())},t}(e("./abstract-coder").Coder);r.BooleanCoder=o}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/boolean.js"}],[4763,{"./_cloneArrayBuffer":4758},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_cloneArrayBuffer");t.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}},{package:"lodash",file:"node_modules/lodash/_cloneTypedArray.js"}],[4764,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}}}},{package:"lodash",file:"node_modules/lodash/_copyArray.js"}],[4765,{"./_assignValue":4730,"./_baseAssignValue":4734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assignValue"),i=e("./_baseAssignValue");t.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var c=t[a],l=o?o(r[c],e[c],c,r,e):undefined;l===undefined&&(l=e[c]),s?i(r,c,l):n(r,c,l)}return r}}}},{package:"lodash",file:"node_modules/lodash/_copyObject.js"}],[4768,{"./_root":4817},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_root")["__core-js_shared__"];t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_coreJsData.js"}],[4769,{"./_baseRest":4752,"./_isIterateeCall":4795},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseRest"),i=e("./_isIterateeCall");t.exports=function(e){return n((function(t,r){var n=-1,o=r.length,s=o>1?r[o-1]:undefined,a=o>2?r[2]:undefined;for(s=e.length>3&&"function"==typeof s?(o--,s):undefined,a&&i(r[0],r[1],a)&&(s=o<3?undefined:s,o=1),t=Object(t);++n<o;){var u=r[n];u&&e(t,u,n,s)}return t}))}}}},{package:"lodash",file:"node_modules/lodash/_createAssigner.js"}],[477,{"./abstract-coder":472,"@ethersproject/bytes":500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BytesCoder=r.DynamicBytesCoder=void 0;var o=e("@ethersproject/bytes"),s=function(e){function t(t,r){return e.call(this,t,t,r,!0)||this}return i(t,e),t.prototype.defaultValue=function(){return"0x"},t.prototype.encode=function(e,t){t=(0,o.arrayify)(t);var r=e.writeValue(t.length);return r+=e.writeBytes(t)},t.prototype.decode=function(e){return e.readBytes(e.readValue().toNumber(),!0)},t}(e("./abstract-coder").Coder);r.DynamicBytesCoder=s;var a=function(e){function t(t){return e.call(this,"bytes",t)||this}return i(t,e),t.prototype.decode=function(t){return t.coerce(this.name,(0,o.hexlify)(e.prototype.decode.call(this,t)))},t}(s);r.BytesCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/bytes.js"}],[4770,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===r(o[u],u,o))break}return t}}}}},{package:"lodash",file:"node_modules/lodash/_createBaseFor.js"}],[4771,{"./_getNative":4779},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative"),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=i}}},{package:"lodash",file:"node_modules/lodash/_defineProperty.js"}],[4775,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n="object"==typeof global&&global&&global.Object===Object&&global;t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_freeGlobal.js"}],[4776,{"./_baseGetAllKeys":4738,"./_getSymbols":4782,"./keys":4853},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetAllKeys"),i=e("./_getSymbols"),o=e("./keys");t.exports=function(e){return n(e,o,i)}}}},{package:"lodash",file:"node_modules/lodash/_getAllKeys.js"}],[4778,{"./_isKeyable":4796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_isKeyable");t.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}}}},{package:"lodash",file:"node_modules/lodash/_getMapData.js"}],[4779,{"./_baseIsNative":4745,"./_getValue":4785},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseIsNative"),i=e("./_getValue");t.exports=function(e,t){var r=i(e,t);return n(r)?r:undefined}}}},{package:"lodash",file:"node_modules/lodash/_getNative.js"}],[478,{"./abstract-coder":472,"@ethersproject/bytes":500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.FixedBytesCoder=void 0;var o=e("@ethersproject/bytes"),s=function(e){function t(t,r){var n=this,i="bytes"+String(t);return(n=e.call(this,i,i,r,!1)||this).size=t,n}return i(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)},t.prototype.encode=function(e,t){var r=(0,o.arrayify)(t);return r.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(r)},t.prototype.decode=function(e){return e.coerce(this.name,(0,o.hexlify)(e.readBytes(this.size)))},t}(e("./abstract-coder").Coder);r.FixedBytesCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js"}],[4780,{"./_overArg":4815},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_overArg")(Object.getPrototypeOf,Object);t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_getPrototype.js"}],[4781,{"./_Symbol":4720},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_Symbol"),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:undefined;t.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=undefined;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}}}},{package:"lodash",file:"node_modules/lodash/_getRawTag.js"}],[4782,{"./_arrayFilter":4725,"./stubArray":4857},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_arrayFilter"),i=e("./stubArray"),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;t.exports=a}}},{package:"lodash",file:"node_modules/lodash/_getSymbols.js"}],[4784,{"./_DataView":4711,"./_Map":4714,"./_Promise":4716,"./_Set":4717,"./_WeakMap":4722,"./_baseGetTag":4739,"./_toSource":4829},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_DataView"),i=e("./_Map"),o=e("./_Promise"),s=e("./_Set"),a=e("./_WeakMap"),u=e("./_baseGetTag"),c=e("./_toSource"),l="[object Map]",f="[object Promise]",h="[object Set]",d="[object WeakMap]",p="[object DataView]",y=c(n),g=c(i),m=c(o),b=c(s),_=c(a),w=u;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=l||o&&w(o.resolve())!=f||s&&w(new s)!=h||a&&w(new a)!=d)&&(w=function(e){var t=u(e),r="[object Object]"==t?e.constructor:undefined,n=r?c(r):"";if(n)switch(n){case y:return p;case g:return l;case m:return f;case b:return h;case _:return d}return t}),t.exports=w}}},{package:"lodash",file:"node_modules/lodash/_getTag.js"}],[4785,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){return null==e?undefined:e[t]}}}},{package:"lodash",file:"node_modules/lodash/_getValue.js"}],[4786,{"./_nativeCreate":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_nativeCreate");t.exports=function(){this.__data__=n?n(null):{},this.size=0}}}},{package:"lodash",file:"node_modules/lodash/_hashClear.js"}],[4787,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}}},{package:"lodash",file:"node_modules/lodash/_hashDelete.js"}],[4788,{"./_nativeCreate":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_nativeCreate"),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?undefined:r}return i.call(t,e)?t[e]:undefined}}}},{package:"lodash",file:"node_modules/lodash/_hashGet.js"}],[4789,{"./_nativeCreate":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_nativeCreate"),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return n?t[e]!==undefined:i.call(t,e)}}}},{package:"lodash",file:"node_modules/lodash/_hashHas.js"}],[479,{"./abstract-coder":472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NullCoder=void 0;var o=function(e){function t(t){return e.call(this,"null","",t,!1)||this}return i(t,e),t.prototype.defaultValue=function(){return null},t.prototype.encode=function(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes([])},t.prototype.decode=function(e){return e.readBytes(0),e.coerce(this.name,null)},t}(e("./abstract-coder").Coder);r.NullCoder=o}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/null.js"}],[4790,{"./_nativeCreate":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_nativeCreate");t.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&t===undefined?"__lodash_hash_undefined__":t,this}}}},{package:"lodash",file:"node_modules/lodash/_hashSet.js"}],[4793,{"./_baseCreate":4736,"./_getPrototype":4780,"./_isPrototype":4798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseCreate"),i=e("./_getPrototype"),o=e("./_isPrototype");t.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}}}},{package:"lodash",file:"node_modules/lodash/_initCloneObject.js"}],[4794,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}}}},{package:"lodash",file:"node_modules/lodash/_isIndex.js"}],[4795,{"./_isIndex":4794,"./eq":4833,"./isArrayLike":4838,"./isObject":4847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./eq"),i=e("./isArrayLike"),o=e("./_isIndex"),s=e("./isObject");t.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?i(r)&&o(t,r.length):"string"==a&&t in r)&&n(r[t],e)}}}},{package:"lodash",file:"node_modules/lodash/_isIterateeCall.js"}],[4796,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}}},{package:"lodash",file:"node_modules/lodash/_isKeyable.js"}],[4797,{"./_coreJsData":4768},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=e("./_coreJsData"),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(e){return!!o&&o in e}}}},{package:"lodash",file:"node_modules/lodash/_isMasked.js"}],[4798,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}}}},{package:"lodash",file:"node_modules/lodash/_isPrototype.js"}],[4799,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){this.__data__=[],this.size=0}}}},{package:"lodash",file:"node_modules/lodash/_listCacheClear.js"}],[480,{"./abstract-coder":472,"@ethersproject/bignumber":498,"@ethersproject/constants":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NumberCoder=void 0;var o=e("@ethersproject/bignumber"),s=e("@ethersproject/constants"),a=function(e){function t(t,r,n){var i=this,o=(r?"int":"uint")+8*t;return(i=e.call(this,o,o,n,!1)||this).size=t,i.signed=r,i}return i(t,e),t.prototype.defaultValue=function(){return 0},t.prototype.encode=function(e,t){var r=o.BigNumber.from(t),n=s.MaxUint256.mask(8*e.wordSize);if(this.signed){var i=n.mask(8*this.size-1);(r.gt(i)||r.lt(i.add(s.One).mul(s.NegativeOne)))&&this._throwError("value out-of-bounds",t)}else(r.lt(s.Zero)||r.gt(n.mask(8*this.size)))&&this._throwError("value out-of-bounds",t);return r=r.toTwos(8*this.size).mask(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(8*e.wordSize)),e.writeValue(r)},t.prototype.decode=function(e){var t=e.readValue().mask(8*this.size);return this.signed&&(t=t.fromTwos(8*this.size)),e.coerce(this.name,t)},t}(e("./abstract-coder").Coder);r.NumberCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/number.js"}],[4800,{"./_assocIndexOf":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assocIndexOf"),i=Array.prototype.splice;t.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}}}},{package:"lodash",file:"node_modules/lodash/_listCacheDelete.js"}],[4801,{"./_assocIndexOf":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assocIndexOf");t.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?undefined:t[r][1]}}}},{package:"lodash",file:"node_modules/lodash/_listCacheGet.js"}],[4802,{"./_assocIndexOf":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assocIndexOf");t.exports=function(e){return n(this.__data__,e)>-1}}}},{package:"lodash",file:"node_modules/lodash/_listCacheHas.js"}],[4803,{"./_assocIndexOf":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_assocIndexOf");t.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}}}},{package:"lodash",file:"node_modules/lodash/_listCacheSet.js"}],[4804,{"./_Hash":4712,"./_ListCache":4713,"./_Map":4714},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_Hash"),i=e("./_ListCache"),o=e("./_Map");t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}}}},{package:"lodash",file:"node_modules/lodash/_mapCacheClear.js"}],[4805,{"./_getMapData":4778},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getMapData");t.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}}}},{package:"lodash",file:"node_modules/lodash/_mapCacheDelete.js"}],[4806,{"./_getMapData":4778},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getMapData");t.exports=function(e){return n(this,e).get(e)}}}},{package:"lodash",file:"node_modules/lodash/_mapCacheGet.js"}],[4807,{"./_getMapData":4778},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getMapData");t.exports=function(e){return n(this,e).has(e)}}}},{package:"lodash",file:"node_modules/lodash/_mapCacheHas.js"}],[4808,{"./_getMapData":4778},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getMapData");t.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}}}},{package:"lodash",file:"node_modules/lodash/_mapCacheSet.js"}],[481,{"./bytes":477,"@ethersproject/strings":573},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.StringCoder=void 0;var o=e("@ethersproject/strings"),s=function(e){function t(t){return e.call(this,"string",t)||this}return i(t,e),t.prototype.defaultValue=function(){return""},t.prototype.encode=function(t,r){return e.prototype.encode.call(this,t,(0,o.toUtf8Bytes)(r))},t.prototype.decode=function(t){return(0,o.toUtf8String)(e.prototype.decode.call(this,t))},t}(e("./bytes").DynamicBytesCoder);r.StringCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/string.js"}],[4810,{"./_getNative":4779},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_getNative")(Object,"create");t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_nativeCreate.js"}],[4811,{"./_overArg":4815},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_overArg")(Object.keys,Object);t.exports=n}}},{package:"lodash",file:"node_modules/lodash/_nativeKeys.js"}],[4812,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}}}},{package:"lodash",file:"node_modules/lodash/_nativeKeysIn.js"}],[4813,{"./_freeGlobal":4775},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_freeGlobal"),i="object"==typeof r&&r&&!r.nodeType&&r,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();t.exports=a}}},{package:"lodash",file:"node_modules/lodash/_nodeUtil.js"}],[4814,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.prototype.toString;t.exports=function(e){return n.call(e)}}}},{package:"lodash",file:"node_modules/lodash/_objectToString.js"}],[4815,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){return function(r){return e(t(r))}}}}},{package:"lodash",file:"node_modules/lodash/_overArg.js"}],[4816,{"./_apply":4723},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_apply"),i=Math.max;t.exports=function(e,t,r){return t=i(t===undefined?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),u=Array(a);++s<a;)u[s]=o[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=o[s];return c[t]=r(u),n(e,this,c)}}}}},{package:"lodash",file:"node_modules/lodash/_overRest.js"}],[4817,{"./_freeGlobal":4775},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_freeGlobal"),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o}}},{package:"lodash",file:"node_modules/lodash/_root.js"}],[4818,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}},{package:"lodash",file:"node_modules/lodash/_safeGet.js"}],[482,{"./abstract-coder":472,"./array":475},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.TupleCoder=void 0;var o=e("./abstract-coder"),s=e("./array"),a=function(e){function t(t,r){var n=this,i=!1,o=[];t.forEach((function(e){e.dynamic&&(i=!0),o.push(e.type)}));var s="tuple("+o.join(",")+")";return(n=e.call(this,"tuple",s,r,i)||this).coders=t,n}return i(t,e),t.prototype.defaultValue=function(){var e=[];this.coders.forEach((function(t){e.push(t.defaultValue())}));var t=this.coders.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});return this.coders.forEach((function(r,n){var i=r.localName;i&&1===t[i]&&("length"===i&&(i="_length"),null==e[i]&&(e[i]=e[n]))})),Object.freeze(e)},t.prototype.encode=function(e,t){return(0,s.pack)(e,this.coders,t)},t.prototype.decode=function(e){return e.coerce(this.name,(0,s.unpack)(e,this.coders))},t}(o.Coder);r.TupleCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/tuple.js"}],[4822,{"./_baseSetToString":4753,"./_shortOut":4823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseSetToString"),i=e("./_shortOut")(n);t.exports=i}}},{package:"lodash",file:"node_modules/lodash/_setToString.js"}],[4823,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Date.now;t.exports=function(e){var t=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(undefined,arguments)}}}}},{package:"lodash",file:"node_modules/lodash/_shortOut.js"}],[4824,{"./_ListCache":4713},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_ListCache");t.exports=function(){this.__data__=new n,this.size=0}}}},{package:"lodash",file:"node_modules/lodash/_stackClear.js"}],[4825,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}}}},{package:"lodash",file:"node_modules/lodash/_stackDelete.js"}],[4826,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return this.__data__.get(e)}}}},{package:"lodash",file:"node_modules/lodash/_stackGet.js"}],[4827,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return this.__data__.has(e)}}}},{package:"lodash",file:"node_modules/lodash/_stackHas.js"}],[4828,{"./_ListCache":4713,"./_Map":4714,"./_MapCache":4715},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_ListCache"),i=e("./_Map"),o=e("./_MapCache");t.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}}}},{package:"lodash",file:"node_modules/lodash/_stackSet.js"}],[4829,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}}}},{package:"lodash",file:"node_modules/lodash/_toSource.js"}],[483,{"./_version":470,"@ethersproject/bignumber":498,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorFragment=r.FunctionFragment=r.ConstructorFragment=r.EventFragment=r.Fragment=r.ParamType=r.FormatTypes=void 0;var o=e("@ethersproject/bignumber"),s=e("@ethersproject/properties"),a=e("@ethersproject/logger"),u=e("./_version"),c=new a.Logger(u.version),l={},f={calldata:!0,memory:!0,storage:!0},h={calldata:!0,memory:!0};function d(e,t){if("bytes"===e||"string"===e){if(f[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&h[t])return!0;return(f[t]||"payable"===t)&&c.throwArgumentError("invalid modifier","name",t),!1}function p(e,t){for(var r in t)(0,s.defineReadOnly)(e,r,t[r])}r.FormatTypes=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"});var y=new RegExp(/^(.*)\[([0-9]*)\]$/),g=function(){function e(t,r){t!==l&&c.throwError("use fromString",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),p(this,r);var n=this.type.match(y);p(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:e.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return e.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||c.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json){var t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||undefined};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map((function(t){return JSON.parse(t.format(e))}))),JSON.stringify(t)}var n="";return"array"===this.baseType?(n+=this.arrayChildren.format(e),n+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==r.FormatTypes.sighash&&(n+=this.type),n+="("+this.components.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+")"):n+=this.type,e!==r.FormatTypes.sighash&&(!0===this.indexed&&(n+=" indexed"),e===r.FormatTypes.full&&this.name&&(n+=" "+this.name)),n},e.from=function(t,r){return"string"==typeof t?e.fromString(t,r):e.fromObject(t)},e.fromObject=function(t){return e.isParamType(t)?t:new e(l,{name:t.name||null,type:k(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(e.fromObject):null})},e.fromString=function(t,r){return n=function(e,t){var r=e;function n(t){c.throwArgumentError("unexpected character at position "+t,"param",e)}function i(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var o={type:"",name:"",state:{allowType:!0}},s=o,a=0;a<e.length;a++){var u=e[a];switch(u){case"(":s.state.allowType&&""===s.type?s.type="tuple":s.state.allowParams||n(a),s.state.allowType=!1,s.type=k(s.type),s.components=[i(s)],s=s.components[0];break;case")":delete s.state,"indexed"===s.name&&(t||n(a),s.indexed=!0,s.name=""),d(s.type,s.name)&&(s.name=""),s.type=k(s.type);var l=s;(s=s.parent)||n(a),delete l.parent,s.state.allowParams=!1,s.state.allowName=!0,s.state.allowArray=!0;break;case",":delete s.state,"indexed"===s.name&&(t||n(a),s.indexed=!0,s.name=""),d(s.type,s.name)&&(s.name=""),s.type=k(s.type);var f=i(s.parent);s.parent.components.push(f),delete s.parent,s=f;break;case" ":s.state.allowType&&""!==s.type&&(s.type=k(s.type),delete s.state.allowType,s.state.allowName=!0,s.state.allowParams=!0),s.state.allowName&&""!==s.name&&("indexed"===s.name?(t||n(a),s.indexed&&n(a),s.indexed=!0,s.name=""):d(s.type,s.name)?s.name="":s.state.allowName=!1);break;case"[":s.state.allowArray||n(a),s.type+=u,s.state.allowArray=!1,s.state.allowName=!1,s.state.readArray=!0;break;case"]":s.state.readArray||n(a),s.type+=u,s.state.readArray=!1,s.state.allowArray=!0,s.state.allowName=!0;break;default:s.state.allowType?(s.type+=u,s.state.allowParams=!0,s.state.allowArray=!0):s.state.allowName?(s.name+=u,delete s.state.allowArray):s.state.readArray?s.type+=u:n(a)}}return s.parent&&c.throwArgumentError("unexpected eof","param",e),delete o.state,"indexed"===s.name?(t||n(r.length-7),s.indexed&&n(r.length-7),s.indexed=!0,s.name=""):d(s.type,s.name)&&(s.name=""),o.type=k(o.type),o}(t,!!r),e.fromObject({name:n.name,type:n.type,indexed:n.indexed,components:n.components});var n},e.isParamType=function(e){return!(null==e||!e._isParamType)},e}();function m(e,t){return function(e){e=e.trim();for(var t=[],r="",n=0,i=0;i<e.length;i++){var o=e[i];","===o&&0===n?(t.push(r),r=""):(r+=o,"("===o?n++:")"===o&&-1===--n&&c.throwArgumentError("unbalanced parenthesis","value",e))}r&&t.push(r);return t}(e).map((function(e){return g.fromString(e,t)}))}r.ParamType=g;var b=function(){function e(e,t){e!==l&&c.throwError("use a static from method",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),p(this,t),this._isFragment=!0,Object.freeze(this)}return e.from=function(t){return e.isFragment(t)?t:"string"==typeof t?e.fromString(t):e.fromObject(t)},e.fromObject=function(t){if(e.isFragment(t))return t;switch(t.type){case"function":return E.fromObject(t);case"event":return _.fromObject(t);case"constructor":return T.fromObject(t);case"error":return x.fromObject(t);case"fallback":case"receive":return null}return c.throwArgumentError("invalid fragment object","value",t)},e.fromString=function(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?_.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?E.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?T.fromString(e.trim()):"error"===e.split(" ")[0]?x.fromString(e.substring(5).trim()):c.throwArgumentError("unsupported fragment","value",e)},e.isFragment=function(e){return!(!e||!e._isFragment)},e}();r.Fragment=b;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||c.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ",e!==r.FormatTypes.sighash&&this.anonymous&&(t+="anonymous "),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isEventFragment(e))return e;"event"!==e.type&&c.throwArgumentError("invalid event object","value",e);var r={name:S(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(g.fromObject):[],type:"event"};return new t(l,r)},t.fromString=function(e){var r=e.match(O);r||c.throwArgumentError("invalid event string","value",e);var n=!1;return r[3].split(" ").forEach((function(e){switch(e.trim()){case"anonymous":n=!0;break;case"":break;default:c.warn("unknown modifier: "+e)}})),t.fromObject({name:r[1].trim(),anonymous:n,inputs:m(r[2],!0),type:"event"})},t.isEventFragment=function(e){return e&&e._isFragment&&"event"===e.type},t}(b);function w(e,t){t.gas=null;var r=e.split("@");return 1!==r.length?(r.length>2&&c.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||c.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=o.BigNumber.from(r[1]),r[0]):e}function v(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach((function(e){switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}}))}function A(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&c.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&c.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||c.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&c.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&c.throwArgumentError("unable to determine stateMutability","value",e),t}r.EventFragment=_;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||c.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===r.FormatTypes.sighash&&c.throwError("cannot format a constructor for sighash",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isConstructorFragment(e))return e;"constructor"!==e.type&&c.throwArgumentError("invalid constructor object","value",e);var r=A(e);r.constant&&c.throwArgumentError("constructor cannot be constant","value",e);var n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?o.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"constructor"},n=(e=w(e,r)).match(O);return n&&"constructor"===n[1].trim()||c.throwArgumentError("invalid constructor string","value",e),r.inputs=m(n[2].trim(),!1),v(n[3].trim(),r),t.fromObject(r)},t.isConstructorFragment=function(e){return e&&e._isFragment&&"constructor"===e.type},t}(b);r.ConstructorFragment=T;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||c.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),outputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ",e!==r.FormatTypes.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isFunctionFragment(e))return e;"function"!==e.type&&c.throwArgumentError("invalid function object","value",e);var r=A(e),n={type:e.type,name:S(e.name),constant:r.constant,inputs:e.inputs?e.inputs.map(g.fromObject):[],outputs:e.outputs?e.outputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?o.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"function"},n=(e=w(e,r)).split(" returns ");n.length>2&&c.throwArgumentError("invalid function string","value",e);var i=n[0].match(O);if(i||c.throwArgumentError("invalid function signature","value",e),r.name=i[1].trim(),r.name&&S(r.name),r.inputs=m(i[2],!1),v(i[3].trim(),r),n.length>1){var o=n[1].match(O);""==o[1].trim()&&""==o[3].trim()||c.throwArgumentError("unexpected tokens","value",e),r.outputs=m(o[2],!1)}else r.outputs=[];return t.fromObject(r)},t.isFunctionFragment=function(e){return e&&e._isFragment&&"function"===e.type},t}(T);function j(e){var t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||c.throwArgumentError("cannot specify user defined "+t+" error","fragment",e),e}r.FunctionFragment=E;var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||c.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="error "),(t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ").trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isErrorFragment(e))return e;"error"!==e.type&&c.throwArgumentError("invalid error object","value",e);var r={type:e.type,name:S(e.name),inputs:e.inputs?e.inputs.map(g.fromObject):[]};return j(new t(l,r))},t.fromString=function(e){var r={type:"error"},n=e.match(O);return n||c.throwArgumentError("invalid error signature","value",e),r.name=n[1].trim(),r.name&&S(r.name),r.inputs=m(n[2],!1),j(t.fromObject(r))},t.isErrorFragment=function(e){return e&&e._isFragment&&"error"===e.type},t}(b);function k(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}r.ErrorFragment=x;var P=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function S(e){return e&&e.match(P)||c.throwArgumentError('invalid identifier "'+e+'"',"value",e),e}var O=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/fragments.js"}],[4832,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(){return e}}}}},{package:"lodash",file:"node_modules/lodash/constant.js"}],[4833,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}},{package:"lodash",file:"node_modules/lodash/eq.js"}],[4834,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e}}}},{package:"lodash",file:"node_modules/lodash/identity.js"}],[4836,{"./_baseIsArguments":4741,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseIsArguments"),i=e("./isObjectLike"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};t.exports=u}}},{package:"lodash",file:"node_modules/lodash/isArguments.js"}],[4837,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Array.isArray;t.exports=n}}},{package:"lodash",file:"node_modules/lodash/isArray.js"}],[4838,{"./isFunction":4843,"./isLength":4845},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isFunction"),i=e("./isLength");t.exports=function(e){return null!=e&&i(e.length)&&!n(e)}}}},{package:"lodash",file:"node_modules/lodash/isArrayLike.js"}],[4839,{"./isArrayLike":4838,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isArrayLike"),i=e("./isObjectLike");t.exports=function(e){return i(e)&&n(e)}}}},{package:"lodash",file:"node_modules/lodash/isArrayLikeObject.js"}],[484,{"./abi-coder":471,"./fragments":483,"./interface":485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionDescription=r.LogDescription=r.checkResultErrors=r.Indexed=r.Interface=r.defaultAbiCoder=r.AbiCoder=r.FormatTypes=r.ParamType=r.FunctionFragment=r.Fragment=r.EventFragment=r.ErrorFragment=r.ConstructorFragment=void 0;var n=e("./fragments");Object.defineProperty(r,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(r,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(r,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(r,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(r,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(r,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(r,"ParamType",{enumerable:!0,get:function(){return n.ParamType}});var i=e("./abi-coder");Object.defineProperty(r,"AbiCoder",{enumerable:!0,get:function(){return i.AbiCoder}}),Object.defineProperty(r,"defaultAbiCoder",{enumerable:!0,get:function(){return i.defaultAbiCoder}});var o=e("./interface");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return o.checkResultErrors}}),Object.defineProperty(r,"Indexed",{enumerable:!0,get:function(){return o.Indexed}}),Object.defineProperty(r,"Interface",{enumerable:!0,get:function(){return o.Interface}}),Object.defineProperty(r,"LogDescription",{enumerable:!0,get:function(){return o.LogDescription}}),Object.defineProperty(r,"TransactionDescription",{enumerable:!0,get:function(){return o.TransactionDescription}})}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/index.js"}],[4840,{"./_root":4817,"./stubFalse":4858},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_root"),i=e("./stubFalse"),o="object"==typeof r&&r&&!r.nodeType&&r,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?n.Buffer:undefined,u=(a?a.isBuffer:undefined)||i;t.exports=u}}},{package:"lodash",file:"node_modules/lodash/isBuffer.js"}],[4843,{"./_baseGetTag":4739,"./isObject":4847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isObject");t.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}}},{package:"lodash",file:"node_modules/lodash/isFunction.js"}],[4845,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}}},{package:"lodash",file:"node_modules/lodash/isLength.js"}],[4847,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}}},{package:"lodash",file:"node_modules/lodash/isObject.js"}],[4848,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return null!=e&&"object"==typeof e}}}},{package:"lodash",file:"node_modules/lodash/isObjectLike.js"}],[4849,{"./_baseGetTag":4739,"./_getPrototype":4780,"./isObjectLike":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./_getPrototype"),o=e("./isObjectLike"),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,l=u.call(Object);t.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}}}},{package:"lodash",file:"node_modules/lodash/isPlainObject.js"}],[485,{"./_version":470,"./abi-coder":471,"./coders/abstract-coder":472,"./fragments":483,"@ethersproject/address":491,"@ethersproject/bignumber":498,"@ethersproject/bytes":500,"@ethersproject/hash":513,"@ethersproject/keccak256":526,"@ethersproject/logger":528,"@ethersproject/properties":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.Interface=r.Indexed=r.ErrorDescription=r.TransactionDescription=r.LogDescription=r.checkResultErrors=void 0;var o=e("@ethersproject/address"),s=e("@ethersproject/bignumber"),a=e("@ethersproject/bytes"),u=e("@ethersproject/hash"),c=e("@ethersproject/keccak256"),l=e("@ethersproject/properties"),f=e("./abi-coder"),h=e("./coders/abstract-coder");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return h.checkResultErrors}});var d=e("./fragments"),p=e("@ethersproject/logger"),y=e("./_version"),g=new p.Logger(y.version),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(l.Description);r.LogDescription=m;var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(l.Description);r.TransactionDescription=b;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(l.Description);r.ErrorDescription=_;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.isIndexed=function(e){return!(!e||!e._isIndexed)},t}(l.Description);r.Indexed=w;var v={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function A(e,t){var r=new Error("deferred error during ABI decoding triggered accessing "+e);return r.error=t,r}var T=function(){function e(e){var t=this.constructor,r=this,n=[];n="string"==typeof e?JSON.parse(e):e,(0,l.defineReadOnly)(this,"fragments",n.map((function(e){return d.Fragment.from(e)})).filter((function(e){return null!=e}))),(0,l.defineReadOnly)(this,"_abiCoder",(0,l.getStatic)(t,"getAbiCoder")()),(0,l.defineReadOnly)(this,"functions",{}),(0,l.defineReadOnly)(this,"errors",{}),(0,l.defineReadOnly)(this,"events",{}),(0,l.defineReadOnly)(this,"structs",{}),this.fragments.forEach((function(e){var t=null;switch(e.type){case"constructor":return r.deploy?void g.warn("duplicate definition - constructor"):void(0,l.defineReadOnly)(r,"deploy",e);case"function":t=r.functions;break;case"event":t=r.events;break;case"error":t=r.errors;break;default:return}var n=e.format();t[n]?g.warn("duplicate definition - "+n):t[n]=e})),this.deploy||(0,l.defineReadOnly)(this,"deploy",d.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,l.defineReadOnly)(this,"_isInterface",!0)}return e.prototype.format=function(e){e||(e=d.FormatTypes.full),e===d.FormatTypes.sighash&&g.throwArgumentError("interface does not support formatting sighash","format",e);var t=this.fragments.map((function(t){return t.format(e)}));return e===d.FormatTypes.json?JSON.stringify(t.map((function(e){return JSON.parse(e)}))):t},e.getAbiCoder=function(){return f.defaultAbiCoder},e.getAddress=function(e){return(0,o.getAddress)(e)},e.getSighash=function(e){return(0,a.hexDataSlice)((0,u.id)(e.format()),0,4)},e.getEventTopic=function(e){return(0,u.id)(e.format())},e.prototype.getFunction=function(e){if((0,a.isHexString)(e)){for(var t in this.functions)if(e===this.getSighash(t))return this.functions[t];g.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){var r=e.trim(),n=Object.keys(this.functions).filter((function(e){return e.split("(")[0]===r}));return 0===n.length?g.throwArgumentError("no matching function","name",r):n.length>1&&g.throwArgumentError("multiple matching functions","name",r),this.functions[n[0]]}var i=this.functions[d.FunctionFragment.fromString(e).format()];return i||g.throwArgumentError("no matching function","signature",e),i},e.prototype.getEvent=function(e){if((0,a.isHexString)(e)){var t=e.toLowerCase();for(var r in this.events)if(t===this.getEventTopic(r))return this.events[r];g.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){var n=e.trim(),i=Object.keys(this.events).filter((function(e){return e.split("(")[0]===n}));return 0===i.length?g.throwArgumentError("no matching event","name",n):i.length>1&&g.throwArgumentError("multiple matching events","name",n),this.events[i[0]]}var o=this.events[d.EventFragment.fromString(e).format()];return o||g.throwArgumentError("no matching event","signature",e),o},e.prototype.getError=function(e){if((0,a.isHexString)(e)){var t=(0,l.getStatic)(this.constructor,"getSighash");for(var r in this.errors){if(e===t(this.errors[r]))return this.errors[r]}g.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){var n=e.trim(),i=Object.keys(this.errors).filter((function(e){return e.split("(")[0]===n}));return 0===i.length?g.throwArgumentError("no matching error","name",n):i.length>1&&g.throwArgumentError("multiple matching errors","name",n),this.errors[i[0]]}var o=this.errors[d.FunctionFragment.fromString(e).format()];return o||g.throwArgumentError("no matching error","signature",e),o},e.prototype.getSighash=function(e){if("string"==typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(e){throw t}}return(0,l.getStatic)(this.constructor,"getSighash")(e)},e.prototype.getEventTopic=function(e){return"string"==typeof e&&(e=this.getEvent(e)),(0,l.getStatic)(this.constructor,"getEventTopic")(e)},e.prototype._decodeParams=function(e,t){return this._abiCoder.decode(e,t)},e.prototype._encodeParams=function(e,t){return this._abiCoder.encode(e,t)},e.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},e.prototype.decodeErrorResult=function(e,t){"string"==typeof e&&(e=this.getError(e));var r=(0,a.arrayify)(t);return(0,a.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match error "+e.name+".","data",(0,a.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeErrorResult=function(e,t){return"string"==typeof e&&(e=this.getError(e)),(0,a.hexlify)((0,a.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionData=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,a.arrayify)(t);return(0,a.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match function "+e.name+".","data",(0,a.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeFunctionData=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,a.hexlify)((0,a.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionResult=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,a.arrayify)(t),n=null,i="",o=null,s=null,u=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,r)}catch(f){}break;case 4:var c=(0,a.hexlify)(r.slice(0,4)),l=v[c];if(l)o=this._abiCoder.decode(l.inputs,r.slice(4)),s=l.name,u=l.signature,l.reason&&(n=o[0]),"Error"===s?i="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(o[0]):"Panic"===s&&(i="; VM Exception while processing transaction: reverted with panic code "+o[0]);else try{var f=this.getError(c);o=this._abiCoder.decode(f.inputs,r.slice(4)),s=f.name,u=f.format()}catch(f){}}return g.throwError("call revert exception"+i,p.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,a.hexlify)(t),errorArgs:o,errorName:s,errorSignature:u,reason:n})},e.prototype.encodeFunctionResult=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,a.hexlify)(this._abiCoder.encode(e.outputs,t||[]))},e.prototype.encodeFilterTopics=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&g.throwError("too many arguments for "+e.format(),p.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});var n=[];e.anonymous||n.push(this.getEventTopic(e));var i=function(e,t){return"string"===e.type?(0,u.id)(t):"bytes"===e.type?(0,c.keccak256)((0,a.hexlify)(t)):("bool"===e.type&&"boolean"==typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=s.BigNumber.from(t).toHexString()),"address"===e.type&&r._abiCoder.encode(["address"],[t]),(0,a.hexZeroPad)((0,a.hexlify)(t),32))};for(t.forEach((function(t,r){var o=e.inputs[r];o.indexed?null==t?n.push(null):"array"===o.baseType||"tuple"===o.baseType?g.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,t):Array.isArray(t)?n.push(t.map((function(e){return i(o,e)}))):n.push(i(o,t)):null!=t&&g.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,t)}));n.length&&null===n[n.length-1];)n.pop();return n},e.prototype.encodeEventLog=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e));var n=[],i=[],o=[];return e.anonymous||n.push(this.getEventTopic(e)),t.length!==e.inputs.length&&g.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((function(e,s){var a=t[s];if(e.indexed)if("string"===e.type)n.push((0,u.id)(a));else if("bytes"===e.type)n.push((0,c.keccak256)(a));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");n.push(r._abiCoder.encode([e.type],[a]))}else i.push(e),o.push(a)})),{data:this._abiCoder.encode(i,o),topics:n}},e.prototype.decodeEventLog=function(e,t,r){if("string"==typeof e&&(e=this.getEvent(e)),null!=r&&!e.anonymous){var n=this.getEventTopic(e);(0,a.isHexString)(r[0],32)&&r[0].toLowerCase()===n||g.throwError("fragment/topic mismatch",p.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:n,value:r[0]}),r=r.slice(1)}var i=[],o=[],s=[];e.inputs.forEach((function(e,t){e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(i.push(d.ParamType.fromObject({type:"bytes32",name:e.name})),s.push(!0)):(i.push(e),s.push(!1)):(o.push(e),s.push(!1))}));var u=null!=r?this._abiCoder.decode(i,(0,a.concat)(r)):null,c=this._abiCoder.decode(o,t,!0),l=[],f=0,h=0;e.inputs.forEach((function(e,t){if(e.indexed)if(null==u)l[t]=new w({_isIndexed:!0,hash:null});else if(s[t])l[t]=new w({_isIndexed:!0,hash:u[h++]});else try{l[t]=u[h++]}catch(e){l[t]=e}else try{l[t]=c[f++]}catch(e){l[t]=e}if(e.name&&null==l[e.name]){var r=l[t];r instanceof Error?Object.defineProperty(l,e.name,{enumerable:!0,get:function(){throw A("property "+JSON.stringify(e.name),r)}}):l[e.name]=r}}));for(var y=function(e){var t=l[e];t instanceof Error&&Object.defineProperty(l,e,{enumerable:!0,get:function(){throw A("index "+e,t)}})},m=0;m<l.length;m++)y(m);return Object.freeze(l)},e.prototype.parseTransaction=function(e){var t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new b({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:s.BigNumber.from(e.value||"0")}):null},e.prototype.parseLog=function(e){var t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new m({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})},e.prototype.parseError=function(e){var t=(0,a.hexlify)(e),r=this.getError(t.substring(0,10).toLowerCase());return r?new _({args:this._abiCoder.decode(r.inputs,"0x"+t.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null},e.isInterface=function(e){return!(!e||!e._isInterface)},e}();r.Interface=T}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/interface.js"}],[4852,{"./_baseIsTypedArray":4747,"./_baseUnary":4756,"./_nodeUtil":4813},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseIsTypedArray"),i=e("./_baseUnary"),o=e("./_nodeUtil"),s=o&&o.isTypedArray,a=s?i(s):n;t.exports=a}}},{package:"lodash",file:"node_modules/lodash/isTypedArray.js"}],[4853,{"./_arrayLikeKeys":4726,"./_baseKeys":4748,"./isArrayLike":4838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_arrayLikeKeys"),i=e("./_baseKeys"),o=e("./isArrayLike");t.exports=function(e){return o(e)?n(e):i(e)}}}},{package:"lodash",file:"node_modules/lodash/keys.js"}],[4854,{"./_arrayLikeKeys":4726,"./_baseKeysIn":4749,"./isArrayLike":4838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_arrayLikeKeys"),i=e("./_baseKeysIn"),o=e("./isArrayLike");t.exports=function(e){return o(e)?n(e,!0):i(e)}}}},{package:"lodash",file:"node_modules/lodash/keysIn.js"}]],[],{});