1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34888,e=>{"use strict";e.s(["stringify",0,(e,t,r)=>JSON.stringify(e,(e,r)=>{let s="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,s):s},r)])},69934,e=>{"use strict";let t="2.39.3",r={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:r})=>t?`${e??"https://viem.sh"}${t}${r?`#${r}`:""}`:void 0,version:`viem@${t}`};class s extends Error{constructor(e,o={}){const n=o.cause instanceof s?o.cause.details:o.cause?.message?o.cause.message:o.details,i=o.cause instanceof s&&o.cause.docsPath||o.docsPath,a=r.getDocsUrl?.({...o,docsPath:i});super([e||"An error occurred.","",...o.metaMessages?[...o.metaMessages,""]:[],...a?[`Docs: ${a}`]:[],...n?[`Details: ${n}`]:[],...r.version?[`Version: ${r.version}`]:[]].join("\n"),o.cause?{cause:o.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=i,this.metaMessages=o.metaMessages,this.name=o.name??this.name,this.shortMessage=e,this.version=t}walk(e){return function e(t,r){return r?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,r):r?null:t}(this,e)}}e.s(["BaseError",()=>s],69934)},63710,e=>{"use strict";e.s(["getContractAddress",0,e=>e,"getUrl",0,e=>e])},95767,e=>{"use strict";var t=e.i(34888),r=e.i(69934),s=e.i(63710);class o extends r.BaseError{constructor({body:e,cause:r,details:o,headers:n,status:i,url:a}){super("HTTP request failed.",{cause:r,details:o,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,s.getUrl)(a)}`,e&&`Request body: ${(0,t.stringify)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=n,this.status=i,this.url=a}}r.BaseError;class n extends r.BaseError{constructor({body:e,error:r,url:o}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:[`URL: ${(0,s.getUrl)(o)}`,`Request body: ${(0,t.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r.code,this.data=r.data}}r.BaseError;class i extends r.BaseError{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,s.getUrl)(r)}`,`Request body: ${(0,t.stringify)(e)}`],name:"TimeoutError"})}}e.s(["HttpRequestError",()=>o,"RpcRequestError",()=>n,"TimeoutError",()=>i])},71706,e=>{"use strict";let t=new Map;function r({fn:e,id:r,shouldSplitBatch:s,wait:o=0,sort:n}){let i=async()=>{let t=c();a();let r=t.map(({args:e})=>e);0!==r.length&&e(r).then(e=>{n&&Array.isArray(e)&&e.sort(n);for(let r=0;r<t.length;r++){let{resolve:s}=t[r];s?.([e[r],e])}}).catch(e=>{for(let r=0;r<t.length;r++){let{reject:s}=t[r];s?.(e)}})},a=()=>t.delete(r),c=()=>t.get(r)||[],u=e=>t.set(r,[...c(),e]);return{flush:a,async schedule(e){let t,r,{promise:n,resolve:a,reject:l}=(t=()=>void 0,r=()=>void 0,{promise:new Promise((e,s)=>{t=e,r=s}),resolve:t,reject:r});return(s?.([...c().map(({args:e})=>e),e])&&i(),c().length>0)?u({args:e,resolve:a,reject:l}):(u({args:e,resolve:a,reject:l}),setTimeout(i,o)),n}}}e.s(["createBatchScheduler",()=>r],71706)},83856,e=>{"use strict";var t=e.i(69934),r=e.i(95767);class s extends t.BaseError{constructor(e,{code:t,docsPath:s,metaMessages:o,name:n,shortMessage:i}
vendor: 6,485 bytes, line 1
1){super(i,{cause:e,docsPath:s,metaMessages:o||e?.metaMessages,name:n||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n||e.name,this.code=e instanceof r.RpcRequestError?e.code:t??-1}}class o extends s{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class n extends s{constructor(e){super(e,{code:n.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(n,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class i extends s{constructor(e){super(e,{code:i.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class a extends s{constructor(e,{method:t}={}){super(e,{code:a.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class c extends s{constructor(e){super(e,{code:c.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class u extends s{constructor(e){super(e,{code:u.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class l extends s{constructor(e){super(e,{code:l.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class d extends s{constructor(e){super(e,{code:d.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class h extends s{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class p extends s{constructor(e){super(e,{code:p.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class f extends s{constructor(e,{method:t}={}){super(e,{code:f.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class b extends s{constructor(e){super(e,{code:b.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends s{constructor(e){super(e,{code:g.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class m extends o{constructor(e){super(e,{code:m.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class y extends o{constructor(e){super(e,{code:y.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class v extends o{constructor(e,{method:t}={}){super(e,{code:v.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class E extends o{constructor(e){super(e,{code:E.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class w extends o{constructor(e){super(e,{code:w.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends o{constructor(e){super(e,{code:x.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class P extends o{constructor(e){super(e,{code:P.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class $ extends o{constructor(e){super(e,{code:$.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class B extends o{constructor(e){super(e,{code:B.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class O extends o{constructor(e){super(e,{code:O.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class R extends o{constructor(e){super(e,{code:R.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class I extends o{constructor(e){super(e,{code:I.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750}
1);class T extends o{constructor(e){super(e,{code:T.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class U extends s{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}e.s(["AtomicReadyWalletRejectedUpgradeError",()=>I,"AtomicityNotSupportedError",()=>T,"BundleTooLargeError",()=>R,"ChainDisconnectedError",()=>w,"DuplicateIdError",()=>B,"InternalRpcError",()=>u,"InvalidInputRpcError",()=>l,"InvalidParamsRpcError",()=>c,"InvalidRequestRpcError",()=>i,"JsonRpcVersionUnsupportedError",()=>g,"LimitExceededRpcError",()=>b,"MethodNotFoundRpcError",()=>a,"MethodNotSupportedRpcError",()=>f,"ParseRpcError",()=>n,"ProviderDisconnectedError",()=>E,"ResourceNotFoundRpcError",()=>d,"ResourceUnavailableRpcError",()=>h,"SwitchChainError",()=>x,"TransactionRejectedRpcError",()=>p,"UnauthorizedProviderError",()=>y,"UnknownBundleIdError",()=>O,"UnknownRpcError",()=>U,"UnsupportedChainIdError",()=>$,"UnsupportedNonOptionalCapabilityError",()=>P,"UnsupportedProviderMethodError",()=>v,"UserRejectedRequestError",()=>m])},564,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({max:e,min:t,signed:r,size:s,value:o}){super(`Number "${o}" is not in safe ${s?`${8*s}-bit ${r?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class s extends t.BaseError{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class o extends t.BaseError{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}t.BaseError;class n extends t.BaseError{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}e.s(["IntegerOutOfRangeError",()=>r,"InvalidBytesBooleanError",()=>s,"InvalidHexBooleanError",()=>o,"SizeOverflowError",()=>n])},87286,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${r}).`,{name:"SliceOffsetOutOfBoundsError"})}}class s extends t.BaseError{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class o extends t.BaseError{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} is expected to be ${t} ${r} long, but is ${e} ${r} long.`,{name:"InvalidBytesLengthError"})}}e.s(["InvalidBytesLengthError",()=>o,"SizeExceedsPaddingSizeError",()=>s,"SliceOffsetOutOfBoundsError",()=>r])},22411,e=>{"use strict";var t=e.i(87286);function r(e,{dir:o,size:n=32}={}){return"string"==typeof e?s(e,{dir:o,size:n}):function(e,{dir:r,size:s=32}={}){if(null===s)return e;if(e.length>s)throw new t.SizeExceedsPaddingSizeError({size:e.length,targetSize:s,type:"bytes"});let o=new Uint8Array(s);for(let t=0;t<s;t++){let n="right"===r;o[n?t:s-t-1]=e[n?t:e.length-t-1]}return o}(e,{dir:o,size:n})}function s(e,{dir:r,size:o=32}={}){if(null===o)return e;let n=e.replace("0x","");if(n.length>2*o)throw new t.SizeExceedsPaddingSizeError({size:Math.ceil(n.length/2),targetSize:o,type:"hex"});return`0x${n["right"===r?"padEnd":"padStart"](2*o,"0")}`}e.s(["pad",()=>r,"padHex",()=>s])},1319,80841,e=>{"use strict";function t(e,{strict:r=!0}={}){return!!e&&"string"==typeof e&&(r?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}function r(e){return t(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}e.s(["isHex",()=>t],80841),e.s(["size",()=>r],1319)},8406,e=>{"use strict";function t(e,{dir:r="left"}={}){let s="string"==typeof e?e.replace("0x",""):e,o=0;for(let e=0;e<s.length-1;e++)if("0"===s["left"===r?e:s.length-e-1].toString())o++;else break;return(s="left"===r?s.slice(o):s.slice(0,s.length-o),"string"==typeof e)?(1===s.length&&"right"===r&&(s=`${s}0`),`0x${s.length%2==1?`0${s}`:s}`):s}e.s(["trim",()=>t])},69936,e=>{"use strict";e.s(["hexToBytes",()=>u,"stringToBytes",()=>l,"toBytes",()=>a]);var t=e.i(69934),r=e.i(80841),s=e.i(22411),o=e.i(50323),n=e.i(75107);let i=new TextEncoder;function a(e,t={}){var i,c;return"number"==typeof e||"bigint"==typeof e?(i=e,c=t,u((0,n.numberToHex)(i,c))):"boolean"==typeof e?function(e,t={}){let r=new Uint8Array(1);return(r[0]=Number(e),"number"==typeof t.size)?((0,o.assertSize)(r,{size:t.size}),(0,s.pad)(r,{size:t.size})):r}(e,t):(0,r.isHex)(e)?u(e,t):l(e,t)}function c(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function u(e,r={}){let n=e;r.size&&((0,o.assertSize)(n,{size:r.size}),n=(0,s.pad)(n,{dir:"right",size:r.size}));let i=n.slice(2);i.length%2&&(i=`0${i}`);let a=i.length/2,l=new Uint8Array(a);for(let e=0,r=0;e<a;e++){let s=c(i.charCodeAt(r++)),o=c(i.charCodeAt(r++));if(void 0===s||void 0===o)throw new t.BaseError(`Invalid byte sequence ("${i[r-2]}${i[r-1]}" in "${i}").`);l[e]=16*s+o}return l}function l(e,t={}){let r=i.encode(e);return"number"==typeof t.size?((0,o.assertSize)(r,{size:t.size}),(0,s.pad)(r,{dir:"right",size:t.size})):r}},75107,50323,e=>{"use strict";e.s(["boolToHex",()=>u,"bytesToHex",()=>l,"numberToHex",()=>d,"stringToHex",()=>p,"toHex",()=>c],75107);var t=e.i(564),r=e.i(22411);e.s(["assertSize",()=>o,"hexToBigInt",()=>n,"hexToNumber",()=>i],50323);var s=e.i(1319);function o(e,{size:r}){if((0,s.size)(e)>r)throw new t.SizeOverflowError({givenSize:(0,s.size)(e),maxSize:r})}function n(e,t={}){let{signed:r}=t;t.size&&o(e,{size:t.size});let s=BigInt(e);if(!r)return s;let i=(e.length-2)/2;return s<=(1n<<8n*BigInt(i)-1n)-1n?s:s-BigInt(`0x${"f".padStart(2*i,"f")}`)-1n}function i(e,t={}){return Number(n(e,t))}e.i(8406),e.i(69936);let a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(e,t={}){return"number"==typeof e||"bigint"==typeof e?d(e,t):"string"==typeof e?p(e,t):"boolean"==typeof e?u(e,t):l(e,t)}function u(e,t={}){let s=`0x${Number(e)}`;
1return"number"==typeof t.size?(o(s,{size:t.size}),(0,r.pad)(s,{size:t.size})):s}function l(e,t={}){let s="";for(let t=0;t<e.length;t++)s+=a[e[t]];let n=`0x${s}`;return"number"==typeof t.size?(o(n,{size:t.size}),(0,r.pad)(n,{dir:"right",size:t.size})):n}function d(e,s={}){let o,{signed:n,size:i}=s,a=BigInt(e);i?o=n?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(o=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof o&&n?-o-1n:0;if(o&&a>o||a<c){let r="bigint"==typeof e?"n":"";throw new t.IntegerOutOfRangeError({max:o?`${o}${r}`:void 0,min:`${c}${r}`,signed:n,size:i,value:`${e}${r}`})}let u=`0x${(n&&a<0?(1n<<BigInt(8*i))+BigInt(a):a).toString(16)}`;return i?(0,r.pad)(u,{size:i}):u}let h=new TextEncoder;function p(e,t={}){return l(h.encode(e),t)}},76677,e=>{"use strict";class t extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}e.s(["LruMap",()=>t])},89991,e=>{"use strict";function t(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}e.s(["parseAccount",()=>t])},8861,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({address:e}){super(`Address "${e}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}e.s(["InvalidAddressError",()=>r])},31095,9361,70525,e=>{"use strict";let t=BigInt(0x100000000-1),r=BigInt(32);function s(e,o=!1){let n=e.length,i=new Uint32Array(n),a=new Uint32Array(n);for(let s=0;s<n;s++){let{h:n,l:c}=function(e,s=!1){return s?{h:Number(e&t),l:Number(e>>r&t)}:{h:0|Number(e>>r&t),l:0|Number(e&t)}}(e[s],o);[i[s],a[s]]=[n,c]}return[i,a]}let o=(e,t,r)=>e>>>r,n=(e,t,r)=>e<<32-r|t>>>r,i=(e,t,r)=>e>>>r|t<<32-r,a=(e,t,r)=>e<<32-r|t>>>r,c=(e,t,r)=>e<<64-r|t>>>r-32,u=(e,t,r)=>e>>>r-32|t<<64-r,l=(e,t,r)=>e<<r|t>>>32-r,d=(e,t,r)=>t<<r|e>>>32-r,h=(e,t,r)=>t<<r-32|e>>>64-r,p=(e,t,r)=>e<<r-32|t>>>64-r;function f(e,t,r,s){let o=(t>>>0)+(s>>>0);return{h:e+r+(o/0x100000000|0)|0,l:0|o}}let b=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),g=(e,t,r,s)=>t+r+s+(e/0x100000000|0)|0,m=(e,t,r,s)=>(e>>>0)+(t>>>0)+(r>>>0)+(s>>>0),y=(e,t,r,s,o)=>t+r+s+o+(e/0x100000000|0)|0,v=(e,t,r,s,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(s>>>0)+(o>>>0),E=(e,t,r,s,o,n)=>t+r+s+o+n+(e/0x100000000|0)|0;function w(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function x(e,...t){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function P(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function $(e,t){x(e);let r=t.outputLen;if(e.length<r)throw Error("digestInto() expects output buffer of length at least "+r)}function B(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function O(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function R(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function I(e,t){return e<<32-t|e>>>t}e.s(["add",()=>f,"add3H",()=>g,"add3L",()=>b,"add4H",()=>y,"add4L",()=>m,"add5H",()=>E,"add5L",()=>v,"rotlBH",()=>h,"rotlBL",()=>p,"rotlSH",()=>l,"rotlSL",()=>d,"rotrBH",()=>c,"rotrBL",()=>u,"rotrSH",()=>i,"rotrSL",()=>a,"shrSH",()=>o,"shrSL",()=>n,"split",()=>s],9361);let T=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let r=0;r<e.length;r++){var t;e[r]=(t=e[r])<<24&0xff000000|t<<8&0xff0000|t>>>8&65280|t>>>24&255}return e};function U(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}(e)),x(e),e}class M{}function z(e){let t=t=>e().update(U(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function S(e){let t=(t,r)=>e(r).update(U(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}e.s(["Hash",()=>M,"abytes",()=>x,"aexists",()=>P,"anumber",()=>w,"aoutput",()=>$,"clean",()=>O,"createHasher",()=>z,"createView",()=>R,"createXOFer",()=>S,"rotr",()=>I,"swap32IfBE",0,T,"toBytes",()=>U,"u32",()=>B],70525);let j=BigInt(0),C=BigInt(1),L=BigInt(2),A=BigInt(7),k=BigInt(256),N=BigInt(113),H=[],F=[],q=[];for(let e=0,t=C,r=1,s=0;e<24;e++){[r,s]=[s,(2*r+3*s)%5],H.push(2*(5*s+r)),F.push((e+1)*(e+2)/2%64);let o=j;for(let e=0;e<7;e++)(t=(t<<C^(t>>
1A)*N)%k)&L&&(o^=C<<(C<<BigInt(e))-C);q.push(o)}let V=s(q,!0),D=V[0],G=V[1],_=(e,t,r)=>r>32?h(e,t,r):l(e,t,r),W=(e,t,r)=>r>32?p(e,t,r):d(e,t,r);class J extends M{constructor(e,t,r,s=!1,o=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=s,this.rounds=o,w(r),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=B(this.state)}clone(){return this._cloneInto()}keccak(){T(this.state32),function(e,t=24){let r=new Uint32Array(10);for(let s=24-t;s<24;s++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let s=(t+8)%10,o=(t+2)%10,n=r[o],i=r[o+1],a=_(n,i,1)^r[s],c=W(n,i,1)^r[s+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],o=e[3];for(let r=0;r<24;r++){let s=F[r],n=_(t,o,s),i=W(t,o,s),a=H[r];t=e[a],o=e[a+1],e[a]=n,e[a+1]=i}for(let t=0;t<50;t+=10){for(let s=0;s<10;s++)r[s]=e[t+s];for(let s=0;s<10;s++)e[t+s]^=~r[(s+2)%10]&r[(s+4)%10]}e[0]^=D[s],e[1]^=G[s]}O(r)}(this.state32,this.rounds),T(this.state32),this.posOut=0,this.pos=0}update(e){P(this),x(e=U(e));let{blockLen:t,state:r}=this,s=e.length;for(let o=0;o<s;){let n=Math.min(t-this.pos,s-o);for(let t=0;t<n;t++)r[this.pos++]^=e[o++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:s}=this;e[r]^=t,(128&t)!=0&&r===s-1&&this.keccak(),e[s-1]^=128,this.keccak()}writeInto(e){P(this,!1),x(e),this.finish();let t=this.state,{blockLen:r}=this;for(let s=0,o=e.length;s<o;){this.posOut>=r&&this.keccak();let n=Math.min(r-this.posOut,o-s);e.set(t.subarray(this.posOut,this.posOut+n),s),this.posOut+=n,s+=n}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return w(e),this.xofInto(new Uint8Array(e))}digestInto(e){if($(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,O(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:s,rounds:o,enableXOF:n}=this;return e||(e=new J(t,r,s,n,o)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=o,e.suffix=r,e.outputLen=s,e.enableXOF=n,e.destroyed=this.destroyed,e}}let X=z(()=>new J(136,1,32));var K=e.i(80841),Q=e.i(69936),Y=e.i(75107);function Z(e,t){let r=X((0,K.isHex)(e,{strict:!1})?(0,Q.toBytes)(e):e);return"bytes"===(t||"hex")?r:(0,Y.toHex)(r)}e.s(["keccak256",()=>Z],31095)},23838,96516,e=>{"use strict";e.s(["checksumAddress",()=>u,"getAddress",()=>l],23838);var t=e.i(8861),r=e.i(69936),s=e.i(31095),o=e.i(76677);e.s(["isAddress",()=>a],96516);let n=/^0x[a-fA-F0-9]{40}$/,i=new o.LruMap(8192);function a(e,t){let{strict:r=!0}=t??{},s=`${e}.${r}`;if(i.has(s))return i.get(s);let o=!!n.test(e)&&(e.toLowerCase()===e||!r||u(e)===e);return i.set(s,o),o}let c=new o.LruMap(8192);function u(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let o=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),n=(0,s.keccak256)((0,r.stringToBytes)(o),"bytes"),i=(t?o.substring(`${t}0x`.length):o).split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&i[e]&&(i[e]=i[e].toUpperCase()),(15&n[e>>1])>
1=8&&i[e+1]&&(i[e+1]=i[e+1].toUpperCase());let a=`0x${i.join("")}`;return c.set(`${e}.${t}`,a),a}function l(e,r){if(!a(e,{strict:!1}))throw new t.InvalidAddressError({address:e});return u(e,r)}},45024,e=>{"use strict";function t(e,t){return({exclude:r,format:s})=>({exclude:r,format:(e,o)=>{let n=t(e,o);if(r)for(let e of r)delete n[e];return{...n,...s(e,o)}},type:e})}e.s(["defineFormatter",()=>t])},47526,e=>{"use strict";function t(e){return"string"==typeof e[0]?r(e):function(e){let t=0;for(let r of e)t+=r.length;let r=new Uint8Array(t),s=0;for(let t of e)r.set(t,s),s+=t.length;return r}(e)}function r(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}e.s(["concat",()=>t,"concatHex",()=>r])},795,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class s extends t.BaseError{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class o extends t.BaseError{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}let n={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:1/0,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new o({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new s({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function i(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(n);return r.bytes=e,r.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}e.s(["createCursor",()=>i],795)},93702,85973,76486,e=>{"use strict";let t={gwei:9,wei:18},r={ether:-9,wei:9};function s(e,t){let r=e.toString(),s=r.startsWith("-");s&&(r=r.slice(1));let[o,n]=[(r=r.padStart(t,"0")).slice(0,r.length-t),r.slice(r.length-t)];return n=n.replace(/(0+)$/,""),`${s?"-":""}${o||"0"}${n?`.${n}`:""}`}function o(e,r="wei"){return s(e,t[r])}function n(e,t="wei"){return s(e,r[t])}e.s(["formatEther",()=>o],85973),e.s(["formatGwei",()=>n],76486);var i=e.i(69934);function a(e){let t=Object.entries(e).map(([e,t])=>
1void 0===t||!1===t?null:[e,t]).filter(Boolean),r=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>` ${`${e}:`.padEnd(r+1)} ${t}`).join("\n")}class c extends i.BaseError{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}class u extends i.BaseError{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class l extends i.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",a(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}i.BaseError,i.BaseError;class d extends i.BaseError{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}i.BaseError,i.BaseError,i.BaseError,i.BaseError,i.BaseError,e.s(["FeeConflictError",()=>c,"InvalidLegacyVError",()=>u,"InvalidSerializableTransactionError",()=>l,"InvalidStorageKeySizeError",()=>d,"prettyPrint",()=>a],93702)},74768,e=>{"use strict";e.s(["maxUint256",0,2n**256n-1n])},5880,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({blockNumber:e,chain:t,contract:r}){super(`Chain "${t.name}" does not support contract "${r.name}".`,{metaMessages:["This could be due to any of the following:",...e&&r.blockCreated&&r.blockCreated>e?[`- The contract "${r.name}" was not deployed until block ${r.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${r.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}t.BaseError,t.BaseError;class s extends t.BaseError{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class o extends t.BaseError{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
1" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}e.s(["ChainDoesNotSupportContract",()=>r,"ClientChainNotConfiguredError",()=>s,"InvalidChainIdError",()=>o])},53532,e=>{"use strict";var t=e.i(76486),r=e.i(69934);class s extends r.BaseError{constructor({cause:e,message:t}={}){const r=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${r?`with reason: ${r}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class o extends r.BaseError{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${(0,t.formatGwei)(r)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class n extends r.BaseError{constructor({cause:e,maxFeePerGas:r}={}){super(`The fee cap (\`maxFeePerGas\`${r?` = ${(0,t.formatGwei)(r)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(n,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class i extends r.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(i,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class a extends r.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account. 2Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class c extends r.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class u extends r.BaseError{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class l extends r.BaseError{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class d extends r.BaseError{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class h extends r.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class p extends r.BaseError{constructor({cause:e,maxPriorityFeePerGas:r,maxFeePerGas:s}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${r?` = ${(0,t.formatGwei)(r)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${s?` = ${(0,t.formatGwei)(s)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class f extends r.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}e.s(["ExecutionRevertedError",()=>s,"FeeCapTooHighError",()=>o,"FeeCapTooLowError",()=>n,"InsufficientFundsError",()=>u,"IntrinsicGasTooHighError",()=>l,"IntrinsicGasTooLowError",()=>d,"NonceMaxValueError",()=>c,"NonceTooHighError",()=>i,"NonceTooLowError",()=>
2a,"TipAboveFeeCapError",()=>p,"TransactionTypeNotSupportedError",()=>h,"UnknownNodeError",()=>f])},90063,e=>{"use strict";var t=e.i(87286),r=e.i(80841),s=e.i(1319);function o(e,t,s,{strict:c}={}){return(0,r.isHex)(e,{strict:!1})?function(e,t,r,{strict:s}={}){n(e,t);let o=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return s&&i(o,t,r),o}(e,t,s,{strict:c}):a(e,t,s,{strict:c})}function n(e,r){if("number"==typeof r&&r>0&&r>(0,s.size)(e)-1)throw new t.SliceOffsetOutOfBoundsError({offset:r,position:"start",size:(0,s.size)(e)})}function i(e,r,o){if("number"==typeof r&&"number"==typeof o&&(0,s.size)(e)!==o-r)throw new t.SliceOffsetOutOfBoundsError({offset:o,position:"end",size:(0,s.size)(e)})}function a(e,t,r,{strict:s}={}){n(e,t);let o=e.slice(t,r);return s&&i(o,t,r),o}e.s(["slice",()=>o,"sliceBytes",()=>a])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.