1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0ab1d-21bb-7e30-ba36-48e2590c3d17")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,863187,e=>{"use strict";e.s(["version",0,"2.51.2"])},363884,e=>{"use strict";var t=e.i(863187);let r={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:r})=>t?`${e??"https://viem.sh"}${t}${r?`#${r}`:""}`:void 0,version:`viem@${t.version}`};class n extends Error{constructor(e,i={}){const a=i.cause instanceof n?i.cause.details:i.cause?.message?i.cause.message:i.details,s=i.cause instanceof n&&i.cause.docsPath||i.docsPath,o=r.getDocsUrl?.({...i,docsPath:s});super([e||"An error occurred.","",...i.metaMessages?[...i.metaMessages,""]:[],...o?[`Docs: ${o}`]:[],...a?[`Details: ${a}`]:[],...r.version?[`Version: ${r.version}`]:[]].join("\n"),i.cause?{cause:i.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=a,this.docsPath=s,this.metaMessages=i.metaMessages,this.name=i.name??this.name,this.shortMessage=e,this.version=t.version}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",()=>n])},648200,e=>{"use strict";var t=e.i(363884);class r extends t.BaseError{constructor({max:e,min:t,signed:r,size:n,value:i}){super(`Number "${i}" is not in safe ${n?`${8*n}-bit ${r?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class n 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 i 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"})}}class a extends t.BaseError{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`,{name:"InvalidHexValueError"})}}class s 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",()=>n,"InvalidHexBooleanError",()=>i,"InvalidHexValueError",()=>a,"SizeOverflowError",()=>s])},969834,e=>{"use strict";var t=e.i(363884);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 n 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 i 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",()=>i,"SizeExceedsPaddingSizeError",()=>n,"SliceOffsetOutOfBoundsError",()=>r])},742763,e=>{"use strict";var t=e.i(969834);function r(e,{dir:i,size:a=32}={}){return"string"==typeof e?n(e,{dir:i,size:a}):function(e,{dir:r,size:n=32}={}){if(null===n)return e;if(e.length>n)throw new t.SizeExceedsPaddingSizeError({size:e.length,targetSize:n,type:"bytes"});let i=new Uint8Array(n);for(let t=0;t<n;t++){let a="right"===r;
1i[a?t:n-t-1]=e[a?t:e.length-t-1]}return i}(e,{dir:i,size:a})}function n(e,{dir:r,size:i=32}={}){if(null===i)return e;let a=e.replace("0x","");if(a.length>2*i)throw new t.SizeExceedsPaddingSizeError({size:Math.ceil(a.length/2),targetSize:i,type:"hex"});return`0x${a["right"===r?"padEnd":"padStart"](2*i,"0")}`}e.s(["pad",()=>r,"padHex",()=>n])},729385,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"))}e.s(["isHex",()=>t])},554219,e=>{"use strict";var t=e.i(729385);function r(e){return(0,t.isHex)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}e.s(["size",()=>r])},325643,e=>{"use strict";function t(e,{dir:r="left"}={}){let n="string"==typeof e?e.replace("0x",""):e,i=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===r?e:n.length-e-1].toString())i++;else break;return(n="left"===r?n.slice(i):n.slice(0,n.length-i),"string"==typeof e)?(1===n.length&&"right"===r&&(n=`${n}0`),`0x${n.length%2==1?`0${n}`:n}`):n}e.s(["trim",()=>t])},729925,e=>{"use strict";e.s(["assertSize",()=>i,"hexToBigInt",()=>a,"hexToBool",()=>s,"hexToNumber",()=>o]);var t=e.i(648200),r=e.i(554219),n=e.i(325643);function i(e,{size:n}){if((0,r.size)(e)>n)throw new t.SizeOverflowError({givenSize:(0,r.size)(e),maxSize:n})}function a(e,t={}){let{signed:r}=t;t.size&&i(e,{size:t.size});let n=BigInt(e);if(!r)return n;let s=(e.length-2)/2;return n<=(1n<<8n*BigInt(s)-1n)-1n?n:n-BigInt(`0x${"f".padStart(2*s,"f")}`)-1n}function s(e,r={}){let a=e;if(r.size&&(i(a,{size:r.size}),a=(0,n.trim)(a)),"0x00"===(0,n.trim)(a))return!1;if("0x01"===(0,n.trim)(a))return!0;throw new t.InvalidHexBooleanError(a)}function o(e,r={}){let n=a(e,r),i=Number(n);if(!Number.isSafeInteger(i))throw new t.IntegerOutOfRangeError({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:r.signed,size:r.size,value:`${n}n`});return i}},706159,e=>{"use strict";e.s(["boolToHex",()=>s,"bytesToHex",()=>o,"numberToHex",()=>c,"stringToHex",()=>f,"toHex",()=>a]);var t=e.i(648200),r=e.i(742763),n=e.i(729925);let i=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function a(e,t={}){return"number"==typeof e||"bigint"==typeof e?c(e,t):"string"==typeof e?f(e,t):"boolean"==typeof e?s(e,t):o(e,t)}function s(e,t={}){let i=`0x${Number(e)}`;return"number"==typeof t.size?((0,n.assertSize)(i,{size:t.size}),(0,r.pad)(i,{size:t.size})):i}function o(e,t={}){let a="";for(let t=0;t<e.length;t++)a+=i[e[t]];let s=`0x${a}`;return"number"==typeof t.size?((0,n.assertSize)(s,{size:t.size}),(0,r.pad)(s,{dir:"right",size:t.size})):s}function c(e,n={}){let i,{signed:a,size:s}=n,o=BigInt(e);s?i=a?(1n<<8n*BigInt(s)-1n)-1n:2n**(8n*BigInt(s))-1n:"number"==typeof e&&(i=BigInt(Number.MAX_SAFE_INTEGER));let u="bigint"==typeof i&&a?-i-1n:0;if(i&&o>i||o<u){let r="bigint"==typeof e?"n":"";throw new t.IntegerOutOfRangeError({max:i?`${i}${r}`:void 0,min:`${u}${r}`,signed:a,size:s,value:`${e}${r}`})}let f=`0x${(a&&o<0?(1n<<BigInt(8*s))+BigInt(o):o).toString(16)}`;return s?(0,r.pad)(f,{size:s}):f}let u=new TextEncoder;function f(e,t={}){return o(u.encode(e),t)}},581751,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),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}(e)}function r(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}e.s(["concat",()=>t,"concatHex",()=>r])},867189,e=>{"use strict";e.s(["formatAbiItem",()=>r,"formatAbiParams",()=>n]);var t=e.i(468608);function r(e,{includeName:i=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new t.InvalidDefinitionTypeError(e.type);return`${e.name}(${n(e.inputs,{includeName:i})})`}function n(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${n(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},468608,e=>{"use strict";e.s(["AbiConstructorNotFoundError",()=>i,"AbiConstructorParamsNotFoundError",()=>a,"AbiDecodingDataSizeTooSmallError",()=>s,"AbiDecodingZeroDataError",()=>
1o,"AbiEncodingArrayLengthMismatchError",()=>c,"AbiEncodingBytesSizeMismatchError",()=>u,"AbiEncodingLengthMismatchError",()=>f,"AbiErrorInputsNotFoundError",()=>l,"AbiErrorNotFoundError",()=>d,"AbiErrorSignatureNotFoundError",()=>b,"AbiEventNotFoundError",()=>h,"AbiEventSignatureEmptyTopicsError",()=>p,"AbiEventSignatureNotFoundError",()=>m,"AbiFunctionNotFoundError",()=>y,"AbiFunctionOutputsNotFoundError",()=>g,"AbiFunctionSignatureNotFoundError",()=>v,"AbiItemAmbiguityError",()=>E,"BytesSizeMismatchError",()=>w,"DecodeLogDataMismatch",()=>x,"DecodeLogTopicsMismatch",()=>$,"InvalidAbiDecodingTypeError",()=>B,"InvalidAbiEncodingTypeError",()=>A,"InvalidArrayError",()=>P,"InvalidDefinitionTypeError",()=>S]);var t=e.i(867189),r=e.i(554219),n=e.i(363884);class i extends n.BaseError{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class a extends n.BaseError{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}n.BaseError;class s extends n.BaseError{constructor({data:e,params:r,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,t.formatAbiParams)(r,{includeName:!0})})`,`Data: ${e} (${n} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=r,this.size=n}}class o extends n.BaseError{constructor({cause:e}={}){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError",cause:e})}}class c extends n.BaseError{constructor({expectedLength:e,givenLength:t,type:r}){super(`ABI encoding array length mismatch for type ${r}. 2Expected length: ${e} 3Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class u extends n.BaseError{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,r.size)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class f extends n.BaseError{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch. 4Expected length (params): ${e} 5Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class l extends n.BaseError{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`). 6Cannot encode error result without knowing what the parameter types are. 7Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class d extends n.BaseError{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI. 8Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class b extends n.BaseError{constructor(e,{docsPath:t,cause:r}){super(`Encoded error signature "${e}" not found on ABI. 9Make sure you are using the correct ABI and that the error exists on it. 10You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError",cause:r}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class p extends n.BaseError{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class m extends n.BaseError{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI. 11Make sure you are using the correct ABI and that the event exists on it. 12You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class h extends n.BaseError{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI. 13Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class y extends n.BaseError{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI. 14Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class g extends n.BaseError{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI. 15Cannot decode function result without knowing what the parameter types are. 16Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class v extends n.BaseError{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI. 17Make sure you are using the correct ABI and that the function exists on it. 18You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class E extends n.BaseError{constructor(e,r){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}
18\` in \`${(0,t.formatAbiItem)(e.abiItem)}\`, and`,`\`${r.type}\` in \`${(0,t.formatAbiItem)(r.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class w extends n.BaseError{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class x extends n.BaseError{constructor({abiItem:e,data:r,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,t.formatAbiParams)(n,{includeName:!0})})`,`Data: ${r} (${i} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=r,this.params=n,this.size=i}}class $ extends n.BaseError{constructor({abiItem:e,param:r}){super(`Expected a topic for indexed event parameter${r.name?` "${r.name}"`:""} on event "${(0,t.formatAbiItem)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class A extends n.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type. 19Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class B extends n.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type. 20Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class P extends n.BaseError{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class S extends n.BaseError{constructor(e){super(`"${e}" is not a valid definition type. 21Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}n.BaseError},811763,e=>{"use strict";var t=e.i(363884);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])},586294,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)&&(super.delete(e),super.set(e,t)),t}set(e,t){if(super.has(e)&&super.delete(e),super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}e.s(["LruMap",()=>t])},946620,e=>{"use strict";e.s(["hexToBytes",()=>u,"stringToBytes",()=>f,"toBytes",()=>o]);var t=e.i(363884),r=e.i(729385),n=e.i(742763),i=e.i(729925),a=e.i(706159);let s=new TextEncoder;function o(e,t={}){var s,c;return"number"==typeof e||"bigint"==typeof e?(s=e,c=t,u((0,a.numberToHex)(s,c))):"boolean"==typeof e?function(e,t={}){let r=new Uint8Array(1);return(r[0]=Number(e),"number"==typeof t.size)?((0,i.assertSize)(r,{size:t.size}),(0,n.pad)(r,{size:t.size})):r}(e,t):(0,r.isHex)(e)?u(e,t):f(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 a=e;r.size&&((0,i.assertSize)(a,{size:r.size}),a=(0,n.pad)(a,{dir:"right",size:r.size}));let s=a.slice(2);s.length%2&&(s=`0${s}`);let o=s.length/2,f=new Uint8Array(o);for(let e=0,r=0;e<o;e++){let n=c(s.charCodeAt(r++)),i=c(s.charCodeAt(r++));if(void 0===n||void 0===i)throw new t.BaseError(`Invalid byte sequence ("${s[r-2]}${s[r-1]}" in "${s}").`);f[e]=16*n+i}return f}function f(e,t={}){let r=s.encode(e);return"number"==typeof t.size?((0,i.assertSize)(r,{size:t.size}),(0,n.pad)(r,{dir:"right",size:t.size})):r}},757941,e=>{"use strict";var t=e.i(626014),r=e.i(729385),n=e.i(946620),i=e.i(706159);function a(e,a){let s=(0,t.keccak_256)((0,r.isHex)(e,{strict:!1})?(0,n.toBytes)(e):e);return"bytes"===(a||"hex")?s:(0,i.toHex)(s)}e.s(["keccak256",()=>a])},465258,e=>{"use strict";e.s(["checksumAddress",()=>o,"getAddress",()=>c]);var t=e.i(811763),r=e.i(946620),n=e.i(757941),i=e.i(586294),a=e.i(983991);let s=new i.LruMap(8192);function o(e,t){if(s.has(`${e}.${t}`))return s.get(`${e}.${t}`);let i=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),a=(0,n.keccak256)((0,r.stringToBytes)(i),"bytes"),o=(t?i.substring(`${t}0x`.length):i).split("");for(let e=0;e<40;e+=2)a[e>>1]>>4>=8&&o[e]&&(o[e]=o[e].toUpperCase()),(15&a[e>>1])>=8&&o[e+1]&&(o[e+1]=o[e+1].toUpperCase());let c=`0x${o.join("")}`;return s.set(`${e}.${t}`,c),c}function c(e,r){if(!(0,a.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});return o(e,r)}},983991,e=>{"use strict";e.s(["isAddress",()=>a]);var t=e.i(586294),r=e.i(465258);let n=/^0x[a-fA-F0-9]{40}$/,i=new t.LruMap(8192);function a(e,t){let{strict:a=!0}=t??{},s=`${e}.${a}`;if(i.has(s))return i.get(s);let o=!!n.test(e)&&(e.toLowerCase()===e||!a||(0,r.checksumAddress)(e)===e);return i.set(s,o),o}},780052,e=>{"use strict";var t=e.i(969834),r=e.i(729385),n=e.i(554219);function i(e,t,n,{strict:a}={}){return(0,r.isHex)(e,{strict:!1})?c(e,t,n,{strict:a}):o(e,t,n,{strict:a})}function a(e,r){if("number"==typeof r&&r>0&&r>(0,n.size)(e)-1)throw new t.SliceOffsetOutOfBoundsError({offset:r,position:"start",size:(0,n.size)(e)})}
21function s(e,r,i){if("number"==typeof r&&"number"==typeof i&&(0,n.size)(e)!==i-r)throw new t.SliceOffsetOutOfBoundsError({offset:i,position:"end",size:(0,n.size)(e)})}function o(e,t,r,{strict:n}={}){a(e,t);let i=e.slice(t,r);return n&&s(i,t,r),i}function c(e,t,r,{strict:n}={}){a(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return n&&s(i,t,r),i}e.s(["slice",()=>i,"sliceBytes",()=>o,"sliceHex",()=>c])},363593,e=>{"use strict";e.s(["bytesRegex",0,/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,"integerRegex",0,/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/])},972814,e=>{"use strict";var t=e.i(468608),r=e.i(811763),n=e.i(363884),i=e.i(648200),a=e.i(983991),s=e.i(581751),o=e.i(742763),c=e.i(554219),u=e.i(780052),f=e.i(706159),l=e.i(363593);function d(e,d){if(e.length!==d.length)throw new t.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:d.length});let m=b(function({params:e,values:d}){let m=[];for(let h=0;h<e.length;h++)m.push(function e({param:d,value:m}){let h=p(d.type);if(h){let[r,n]=h;return function(r,{length:n,param:i}){let a=null===n;if(!Array.isArray(r))throw new t.InvalidArrayError(r);if(!a&&r.length!==n)throw new t.AbiEncodingArrayLengthMismatchError({expectedLength:n,givenLength:r.length,type:`${i.type}[${n}]`});let o=!1,c=[];for(let t=0;t<r.length;t++){let n=e({param:i,value:r[t]});n.dynamic&&(o=!0),c.push(n)}if(a||o){let e=b(c);if(a){let t=(0,f.numberToHex)(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?(0,s.concat)([t,e]):t}}if(o)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,s.concat)(c.map(({encoded:e})=>e))}}(m,{length:r,param:{...d,type:n}})}if("tuple"===d.type)return function(t,{param:r}){let n=!1,i=[];for(let a=0;a<r.components.length;a++){let s=r.components[a],o=Array.isArray(t)?a:s.name,c=e({param:s,value:t[o]});i.push(c),c.dynamic&&(n=!0)}return{dynamic:n,encoded:n?b(i):(0,s.concat)(i.map(({encoded:e})=>e))}}(m,{param:d});if("address"===d.type){var y=m;if(!(0,a.isAddress)(y))throw new r.InvalidAddressError({address:y});return{dynamic:!1,encoded:(0,o.padHex)(y.toLowerCase())}}if("bool"===d.type){var g=m;if("boolean"!=typeof g)throw new n.BaseError(`Invalid boolean value: "${g}" (type: ${typeof g}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,o.padHex)((0,f.boolToHex)(g))}}if(d.type.startsWith("uint")||d.type.startsWith("int")){let e=d.type.startsWith("int"),[,,t="256"]=l.integerRegex.exec(d.type)??[];return function(e,{signed:t,size:r=256}){if("number"==typeof r){let n=2n**(BigInt(r)-(t?1n:0n))-1n,a=t?-n-1n:0n;if(e>n||e<a)throw new i.IntegerOutOfRangeError({max:n.toString(),min:a.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:(0,f.numberToHex)(e,{size:32,signed:t})}}(m,{signed:e,size:Number(t)})}if(d.type.startsWith("bytes"))return function(e,{param:r}){let[,n]=r.type.split("bytes"),i=(0,c.size)(e);if(!n){let t=e;return i%32!=0&&(t=(0,o.padHex)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,s.concat)([(0,o.padHex)((0,f.numberToHex)(i,{size:32})),t])}}if(i!==Number.parseInt(n,10))throw new t.AbiEncodingBytesSizeMismatchError({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:(0,o.padHex)(e,{dir:"right"})}}(m,{param:d});if("string"===d.type){var v=m;let e=(0,f.stringToHex)(v),t=Math.ceil((0,c.size)(e)/32),r=[];for(let n=0;n<t;n++)r.push((0,o.padHex)((0,u.slice)(e,32*n,(n+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,s.concat)([(0,o.padHex)((0,f.numberToHex)((0,c.size)(e),{size:32})),...r])}}throw new t.InvalidAbiEncodingTypeError(d.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[h],value:d[h]}));return m}({params:e,values:d}));return 0===m.length?"0x":m}function b(e){let t=0;for(let r=0;r<e.length;r++){let{dynamic:n,encoded:i}=e[r];n?t+=32:t+=(0,c.size)(i)}let r=[],n=[],i=0;for(let a=0;a<e.length;a++){let{dynamic:s,encoded:o}=e[a];s?(r.push((0,f.numberToHex)(t+i,{size:32})),n.push(o),i+=(0,c.size)(o)):r.push(o)}return(0,s.concat)([...r,...n])}function p(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}e.s(["encodeAbiParameters",()=>d,"getArrayComponents",()=>p])},558448,e=>{"use strict";var t=e.i(946620),r=e.i(757941);function n(e){return(0,r.keccak256)((0,t.toBytes)(e))}e.s(["hashSignature",()=>n])},950185,e=>{"use strict";function t(e,t){let r=e.exec(t);return r?.groups}e.s(["bytesRegex",0,/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,"execTyped",()=>t,"integerRegex",0,/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,"isTupleRegex",0,/^\(.+?\).*?$/])},156790,e=>{"use strict";var t=e.i(950185);let r=/^tuple(?<array>(\[(\d*)\])*)$/;e.s(["formatAbiParameter",()=>function e(n){let i=n.type;if(r.test(n.type)&&"components"in n){i="(";let a=n.components.length;for(let t=0;t<a;t++)i+=e(n.components[t]),t<a-1&&(i+=", ");let s=(0,t.execTyped)(r,n.type);return i+=`)${s?.array||""}`,e({...n,type:i})}return("indexed"in n&&n.indexed&&(i=`${i} indexed`),n.name)?`${i} ${n.name}`:i}])},44688,e=>{"use strict";var t=e.i(156790);function r(e){let r="",n=e.length;for(let i=0;i<n;i++){let a=e[i];r+=(0,t.formatAbiParameter)(a),i!==n-1&&(r+=", ")}return r}e.s(["formatAbiParameters",()=>r])},412932,e=>{"use strict";var t=e.i(44688);function r(e){return"function"===e.type?`function ${e.name}(${(0,t.formatAbiParameters)(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${(0,t.formatAbiParameters)(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${(0,t.formatAbiParameters)(e.inputs)})`:"error"===e.type?`error ${e.name}(${(0,t.formatAbiParameters)(e.inputs)})`:"constructor"===e.type?`constructor(${(0,t.formatAbiParameters)(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}e.s(["formatAbiItem",()=>r])},463339,e=>{"use strict";var t=e.i(363884);function r(e){let r=!0,n="",i=0,a="",s=!1;for(let t=0;t<e.length;t++){let o=e[t];if(["(",")",","].includes(o)&&(r=!0),"("===o&&i++,")"===o&&i--,r){if(0===i){if(" "===o&&["event","function",""].includes(a))a="";else if(a+=o,")"===o){s=!0;break}continue}if(" "===o){","!==e[t-1]&&","!==n&&",("!==n&&(n="",r=!1);continue}a+=o,n+=o}}if(!s)throw new t.BaseError("Unable to normalize signature.");return a}e.s(["normalizeSignature",()=>r])},488838,e=>{"use strict";var t=e.i(412932),r=e.i(463339);e.s(["toSignature",0,e=>{let n="string"==typeof e?e:(0,t.formatAbiItem)(e);return(0,r.normalizeSignature)(n)}])},634316,e=>{"use strict";var t=e.i(558448),r=e.i(488838);function n(e){return(0,t.hashSignature)((0,r.toSignature)(e))}e.s(["toSignatureHash",()=>n])},718032,e=>{"use strict";var t=e.i(780052),r=e.i(634316);e.s(["toFunctionSelector",0,e=>(0,t.slice)((0,r.toSignatureHash)(e),0,4)])},260531,e=>{"use strict";let t=e.i(634316).toSignatureHash;e.s(["toEventSelector",0,t])},129160,e=>{"use strict";var t=e.i(468608),r=e.i(729385),n=e.i(983991),i=e.i(260531),a=e.i(718032);function s(e){let s,{abi:o,args:c=[],name:u}=e,f=(0,r.isHex)(u,{strict:!1}),l=o.filter(e=>f?"function"===e.type?(0,a.toFunctionSelector)(e)===u:"event"===e.type&&(0,i.toEventSelector)(e)===u:"name"in e&&e.name===u);if(0!==l.length){if(1===l.length)return l[0];for(let e of l){if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}
vendor: 8,540 bytes, line 21
21if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,r)=>{let i="inputs"in e&&e.inputs[r];return!!i&&function e(t,r){let i=typeof t,a=r.type;switch(a){case"address":return(0,n.isAddress)(t,{strict:!1});case"bool":return"boolean"===i;case"function":case"string":return"string"===i;default:if("tuple"===a&&"components"in r)return Object.values(r.components).every((r,n)=>"object"===i&&e(Object.values(t)[n],r));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(a))return"number"===i||"bigint"===i;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(a))return"string"===i||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(a))return Array.isArray(t)&&t.every(t=>e(t,{...r,type:a.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,i)})){if(s&&"inputs"in s&&s.inputs){let r=function e(t,r,i){for(let a in t){let s=t[a],o=r[a];if("tuple"===s.type&&"tuple"===o.type&&"components"in s&&"components"in o)return e(s.components,o.components,i[a]);let c=[s.type,o.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,n.isAddress)(i[a],{strict:!1}))return c}}(e.inputs,s.inputs,c);if(r)throw new t.AbiItemAmbiguityError({abiItem:e,type:r[0]},{abiItem:s,type:r[1]})}s=e}}}return s||l[0]}}e.s(["getAbiItem",()=>s])},888925,e=>{"use strict";var t=e.i(468608),r=e.i(718032),n=e.i(867189),i=e.i(129160);let a="/docs/contract/encodeFunctionData";function s(e){let{abi:s,args:o,functionName:c}=e,u=s[0];if(c){let e=(0,i.getAbiItem)({abi:s,args:o,name:c});if(!e)throw new t.AbiFunctionNotFoundError(c,{docsPath:a});u=e}if("function"!==u.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:a});return{abi:[u],functionName:(0,r.toFunctionSelector)((0,n.formatAbiItem)(u))}}e.s(["prepareEncodeFunctionData",()=>s])},408610,e=>{"use strict";var t=e.i(581751),r=e.i(972814),n=e.i(888925);function i(e){let{args:i}=e,{abi:a,functionName:s}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:(0,n.prepareEncodeFunctionData)(e),o=a[0],c="inputs"in o&&o.inputs?(0,r.encodeAbiParameters)(o.inputs,i??[]):void 0;return(0,t.concatHex)([s,c??"0x"])}e.s(["encodeFunctionData",()=>i])},5142,e=>{"use strict";var t=e.i(363884);class r extends t.BaseError{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class n extends t.BaseError{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class i extends t.BaseError{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}e.s(["NegativeOffsetError",()=>r,"PositionOutOfBoundsError",()=>n,"RecursiveReadLimitExceededError",()=>i])},599810,e=>{"use strict";var t=e.i(5142);let r={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 t.RecursiveReadLimitExceededError({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new t.PositionOutOfBoundsError({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new t.NegativeOffsetError({offset:e});let r=this.position-e;this.assertPosition(r),this.position=r},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new t.NegativeOffsetError({offset:e});let r=this.position+e;this.assertPosition(r),this.position=r},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 n(e,{recursiveReadLimit:t=8192}={}){let i=Object.create(r);return i.bytes=e,i.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),i.positionReadCount=new Map,i.recursiveReadLimit=t,i}e.s(["createCursor",()=>n])},626555,e=>{"use strict";var t=e.i(648200),r=e.i(325643),n=e.i(729925),i=e.i(706159);function a(e,t={}){void 0!==t.size&&(0,n.assertSize)(e,{size:t.size});let r=(0,i.bytesToHex)(e,t);return(0,n.hexToBigInt)(r,t)}function s(e,i={}){let a=e;if(void 0!==i.size&&((0,n.assertSize)(a,{size:i.size}),a=(0,r.trim)(a)),a.length>1||a[0]>1)throw new t.InvalidBytesBooleanError(a);return!!a[0]}function o(e,t={}){void 0!==t.size&&(0,n.assertSize)(e,{size:t.size});let r=(0,i.bytesToHex)(e,t);return(0,n.hexToNumber)(r,t)}function c(e,t={}){let i=e;return void 0!==t.size&&((0,n.assertSize)(i,{size:t.size}),i=(0,r.trim)(i,{dir:"right"})),new TextDecoder().decode(i)}e.s(["bytesToBigInt",()=>a,"bytesToBool",()=>s,"bytesToNumber",()=>o,"bytesToString",()=>c])},505863,e=>{"use strict";var t=e.i(468608),r=e.i(465258),n=e.i(599810),i=e.i(554219),a=e.i(780052),s=e.i(325643),o=e.i(626555),c=e.i(946620),u=e.i(706159),f=e.i(972814);function l(e,l){let b="string"==typeof l?(0,c.hexToBytes)(l):l,p=(0,n.createCursor)(b);if(0===(0,i.size)(b)&&e.length>0)throw new t.AbiDecodingZeroDataError;if((0,i.size)(l)&&32>(0,i.size)(l))throw new t.AbiDecodingDataSizeTooSmallError({data:"string"==typeof l?l:(0,u.bytesToHex)(l),params:e,size:(0,i.size)(l)});let m=0,h=[];for(let n=0;n<e.length;++n){let i=e[n];p.setPosition(m);let[c,l]=function e(n,i,{staticPosition:c}){var l,b,p;let m=(0,f.getArrayComponents)(i.type);if(m){let[t,r]=m;return function(t,r,{length:n,staticPosition:i}){if(!n){let n=i+(0,o.bytesToNumber)(t.readBytes(32)),a=n+32;t.setPosition(n);let s=(0,o.bytesToNumber)(t.readBytes(32)),c=d(r),u=0,f=[];for(let n=0;n<s;++n){t.setPosition(a+(c?32*n:u));let[i,s]=e(t,r,{staticPosition:a});u+=s,f.push(i)}return t.setPosition(i+32),[f,32]}if(d(r)){let a=i+(0,o.bytesToNumber)(t.readBytes(32)),s=[];for(let i=0;i<n;++i){t.setPosition(a+32*i);let[n]=e(t,r,{staticPosition:a});s.push(n)}return t.setPosition(i+32),[s,32]}let a=0,s=[];for(let o=0;o<n;++o){let[n,o]=e(t,r,{staticPosition:i+a});a+=o,s.push(n)}return[s,a]}(n,{...i,type:r},{length:t,staticPosition:c})}if("tuple"===i.type)return function(t,r,{staticPosition:n}){let i=0===r.components.length||r.components.some(({name:e})=>!e),a=i?[]:{},s=0;if(d(r)){let c=n+(0,o.bytesToNumber)(t.readBytes(32));for(let n=0;n<r.components.length;++n){let o=r.components[n];t.setPosition(c+s);let[u,f]=e(t,o,{staticPosition:c});
21s+=f,a[i?n:o?.name]=u}return t.setPosition(n+32),[a,32]}for(let o=0;o<r.components.length;++o){let c=r.components[o],[u,f]=e(t,c,{staticPosition:n});a[i?o:c?.name]=u,s+=f}return[a,s]}(n,i,{staticPosition:c});if("address"===i.type){let e;return e=n.readBytes(32),[(0,r.checksumAddress)((0,u.bytesToHex)((0,a.sliceBytes)(e,-20))),32]}if("bool"===i.type){return l=n,[(0,o.bytesToBool)(l.readBytes(32),{size:32}),32]}if(i.type.startsWith("bytes"))return function(e,t,{staticPosition:r}){let[n,i]=t.type.split("bytes");if(!i){let t=(0,o.bytesToNumber)(e.readBytes(32));e.setPosition(r+t);let n=(0,o.bytesToNumber)(e.readBytes(32));if(0===n)return e.setPosition(r+32),["0x",32];let i=e.readBytes(n);return e.setPosition(r+32),[(0,u.bytesToHex)(i),32]}return[(0,u.bytesToHex)(e.readBytes(Number.parseInt(i,10),32)),32]}(n,i,{staticPosition:c});if(i.type.startsWith("uint")||i.type.startsWith("int")){let e,t,r;return b=n,e=(p=i).type.startsWith("int"),t=Number.parseInt(p.type.split("int")[1]||"256",10),r=b.readBytes(32),[t>48?(0,o.bytesToBigInt)(r,{signed:e}):(0,o.bytesToNumber)(r,{signed:e}),32]}if("string"===i.type)return function(e,{staticPosition:t}){let r=(0,o.bytesToNumber)(e.readBytes(32));e.setPosition(t+r);let n=(0,o.bytesToNumber)(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let i=e.readBytes(n,32),a=(0,o.bytesToString)((0,s.trim)(i));return e.setPosition(t+32),[a,32]}(n,{staticPosition:c});throw new t.InvalidAbiDecodingTypeError(i.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(p,i,{staticPosition:0});m+=l,h.push(c)}return h}function d(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(d);let r=(0,f.getArrayComponents)(e.type);return!!(r&&d({...e,type:r[1]}))}e.s(["decodeAbiParameters",()=>l])},187207,e=>{"use strict";var t=e.i(468608),r=e.i(505863),n=e.i(129160);let i="/docs/contract/decodeFunctionResult";function a(e){let{abi:a,args:s,functionName:o,data:c}=e,u=a[0];if(o){let e=(0,n.getAbiItem)({abi:a,args:s,name:o});if(!e)throw new t.AbiFunctionNotFoundError(o,{docsPath:i});u=e}if("function"!==u.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:i});if(!u.outputs)throw new t.AbiFunctionOutputsNotFoundError(u.name,{docsPath:i});let f=(0,r.decodeAbiParameters)(u.outputs,c);return f&&f.length>1?f:f&&1===f.length?f[0]:void 0}e.s(["decodeFunctionResult",()=>a])},56427,e=>{"use strict";var t=e.i(811763),r=e.i(983991);function n(e,n){if(!(0,r.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});if(!(0,r.isAddress)(n,{strict:!1}))throw new t.InvalidAddressError({address:n});return e.toLowerCase()===n.toLowerCase()}e.s(["isAddressEqual",()=>n])},519403,e=>{"use strict";e.s(["etherUnits",0,{gwei:9,wei:18},"gweiUnits",0,{ether:-9,wei:9}])},366599,e=>{"use strict";function t(e,t){let r=e.toString(),n=r.startsWith("-");n&&(r=r.slice(1));let[i,a]=[(r=r.padStart(t,"0")).slice(0,r.length-t),r.slice(r.length-t)];return a=a.replace(/(0+)$/,""),`${n?"-":""}${i||"0"}${a?`.${a}`:""}`}e.s(["formatUnits",()=>t])},437869,e=>{"use strict";var t=e.i(519403),r=e.i(366599);function n(e,i="wei"){return(0,r.formatUnits)(e,t.etherUnits[i])}e.s(["formatEther",()=>n])},552779,e=>{"use strict";var t=e.i(519403),r=e.i(366599);function n(e,i="wei"){return(0,r.formatUnits)(e,t.gweiUnits[i])}e.s(["formatGwei",()=>n])},115956,e=>{"use strict";var t=e.i(437869),r=e.i(552779),n=e.i(363884);function i(e){let t=Object.entries(e).map(([e,t])=>void 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")}n.BaseError;class a extends n.BaseError{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class s extends n.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",i(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"})}}class o extends n.BaseError{constructor({serializedType:e}){super(`Serialized transaction type "${e}
21" is invalid.`,{name:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=e}}class c extends n.BaseError{constructor({attributes:e,serializedTransaction:t,type:r}){const n=Object.entries(e).map(([e,t])=>void 0===t?e:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${r}" was provided.`,{metaMessages:[`Serialized Transaction: "${t}"`,n.length>0?`Missing Attributes: ${n.join(", ")}`:""].filter(Boolean),name:"InvalidSerializedTransactionError"}),Object.defineProperty(this,"serializedTransaction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedTransaction=t,this.type=r}}class u extends n.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"})}}class f extends n.BaseError{constructor(e,{account:n,docsPath:a,chain:s,data:o,gas:c,gasPrice:u,maxFeePerGas:f,maxPriorityFeePerGas:l,nonce:d,to:b,value:p}){const m=i({chain:s&&`${s?.name} (id: ${s?.id})`,from:n?.address,to:b,value:void 0!==p&&`${(0,t.formatEther)(p)} ${s?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:c,gasPrice:void 0!==u&&`${(0,r.formatGwei)(u)} gwei`,maxFeePerGas:void 0!==f&&`${(0,r.formatGwei)(f)} gwei`,maxPriorityFeePerGas:void 0!==l&&`${(0,r.formatGwei)(l)} gwei`,nonce:d});super(e.shortMessage,{cause:e,docsPath:a,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",m].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class l extends n.BaseError{constructor({blockHash:e,blockNumber:t,blockTag:r,hash:n,index:i}){let a="Transaction";r&&void 0!==i&&(a=`Transaction at block time "${r}" at index "${i}"`),e&&void 0!==i&&(a=`Transaction at block hash "${e}" at index "${i}"`),t&&void 0!==i&&(a=`Transaction at block number "${t}" at index "${i}"`),n&&(a=`Transaction with hash "${n}"`),super(`${a} could not be found.`,{name:"TransactionNotFoundError"})}}class d extends n.BaseError{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class b extends n.BaseError{constructor({receipt:e}){super(`Transaction with hash "${e.transactionHash}" reverted.`,{metaMessages:['The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.'," ","You can attempt to extract the revert reason by:","- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract","- using the `call` Action with raw `data`"],name:"TransactionReceiptRevertedError"}),Object.defineProperty(this,"receipt",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=e}}class p extends n.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}e.s(["InvalidLegacyVError",()=>a,"InvalidSerializableTransactionError",()=>s,"InvalidSerializedTransactionError",()=>c,"InvalidSerializedTransactionTypeError",()=>o,"InvalidStorageKeySizeError",()=>u,"TransactionExecutionError",()=>f,"TransactionNotFoundError",()=>l,"TransactionReceiptNotFoundError",()=>d,"TransactionReceiptRevertedError",()=>b,"WaitForTransactionReceiptTimeoutError",()=>p,"prettyPrint",()=>i])},673997,e=>{"use strict";e.s(["maxUint256",0,2n**256n-1n])},200982,e=>{"use strict";var t=e.i(363884);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"})}}class n extends t.BaseError{constructor({chain:e,currentChainId:t}){super(`The current chain of the wallet (id: ${t}) does not match the target chain for the transaction (id: ${e.id} â ${e.name}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e.id} â ${e.name}`],name:"ChainMismatchError"})}}class i extends t.BaseError{constructor(){super("No chain was provided to the request.\nPlease provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.",{name:"ChainNotFoundError"})}}class a extends t.BaseError{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class s extends t.BaseError{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
21" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}e.s(["ChainDoesNotSupportContract",()=>r,"ChainMismatchError",()=>n,"ChainNotFoundError",()=>i,"ClientChainNotConfiguredError",()=>a,"InvalidChainIdError",()=>s])},560582,e=>{"use strict";var t=e.i(552779),r=e.i(363884);class n 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(n,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(n,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class i 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(i,"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 a 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(a,"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 s 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(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class o 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. 22Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(o,"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 f 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(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class l 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(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class d extends r.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class b extends r.BaseError{constructor({cause:e,maxPriorityFeePerGas:r,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${r?` = ${(0,t.formatGwei)(r)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,t.formatGwei)(n)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(b,"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 p extends r.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}e.s(["ExecutionRevertedError",()=>n,"FeeCapTooHighError",()=>i,"FeeCapTooLowError",()=>
22a,"InsufficientFundsError",()=>u,"IntrinsicGasTooHighError",()=>f,"IntrinsicGasTooLowError",()=>l,"NonceMaxValueError",()=>c,"NonceTooHighError",()=>s,"NonceTooLowError",()=>o,"TipAboveFeeCapError",()=>b,"TransactionTypeNotSupportedError",()=>d,"UnknownNodeError",()=>p])},507108,e=>{"use strict";var t=e.i(468608),r=e.i(780052),n=e.i(718032),i=e.i(505863),a=e.i(867189);function s(e){let{abi:s,data:o}=e,c=(0,r.slice)(o,0,4),u=s.find(e=>"function"===e.type&&c===(0,n.toFunctionSelector)((0,a.formatAbiItem)(e)));if(!u)throw new t.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:u.name,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,i.decodeAbiParameters)(u.inputs,(0,r.slice)(o,4)):void 0}}e.s(["decodeFunctionData",()=>s])},563096,e=>{"use strict";function t(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}e.s(["parseAccount",()=>t])},693595,e=>{"use strict";let t=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{name:"addr",type:"address"}],name:"getEthBalance",outputs:[{name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],r=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],n=[{inputs:[{name:"dns",type:"bytes"}],name:"DNSDecodingFailed",type:"error"},{inputs:[{name:"ens",type:"string"}],name:"DNSEncodingFailed",type:"error"},{inputs:[],name:"EmptyAddress",type:"error"},{inputs:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"HttpError",type:"error"},{inputs:[],name:"InvalidBatchGatewayResponse",type:"error"},{inputs:[{name:"errorData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{name:"name",type:"bytes"},{name:"resolver",type:"address"}],name:"ResolverNotContract",type:"error"},{inputs:[{name:"name",type:"bytes"}],name:"ResolverNotFound",type:"error"},{inputs:[{name:"primary",type:"string"},{name:"primaryAddress",type:"bytes"}],name:"ReverseAddressMismatch",type:"error"},{inputs:[{internalType:"bytes4",name:"selector",type:"bytes4"}],name:"UnsupportedResolverProfile",type:"error"}],i=[...n,{name:"resolveWithGateways",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],a=[...n,{name:"reverseWithGateways",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"uint256",name:"coinType"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolver"},{type:"address",name:"reverseResolver"}]}];e.s(["addressResolverAbi",0,[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],"batchGatewayAbi",0,r,"erc1271Abi",0,[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],"erc6492SignatureValidatorAbi",0,[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}],"multicall3Abi",0,t,"textResolverAbi",0,[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],"universalResolverResolveAbi",0,i,"universalResolverReverseAbi",0,a])},685993,e=>{"use strict";var t=e.i(200982);function r({blockNumber:e,chain:r,contract:n}){let i=r?.contracts?.[n];if(!i)throw new t.ChainDoesNotSupportContract({chain:r,contract:{name:n}});if(e&&i.blockCreated&&i.blockCreated>e)throw new t.ChainDoesNotSupportContract({blockNumber:e,chain:r,contract:{name:n,blockCreated:i.blockCreated}});return i.address}e.s(["getChainContractAddress",()=>r])},23039,e=>{"use strict";
22e.s(["panicReasons",0,{1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},"solidityError",0,{inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},"solidityPanic",0,{inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}])},954634,e=>{"use strict";var t=e.i(23039),r=e.i(468608),n=e.i(780052),i=e.i(718032),a=e.i(505863),s=e.i(867189);function o(e){let{abi:o,data:c,cause:u}=e,f=(0,n.slice)(c,0,4);if("0x"===f)throw new r.AbiDecodingZeroDataError({cause:u});let l=[...o||[],t.solidityError,t.solidityPanic].find(e=>"error"===e.type&&f===(0,i.toFunctionSelector)((0,s.formatAbiItem)(e)));if(!l)throw new r.AbiErrorSignatureNotFoundError(f,{docsPath:"/docs/contract/decodeErrorResult",cause:u});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,a.decodeAbiParameters)(l.inputs,(0,n.slice)(c,4)):void 0,errorName:l.name}}e.s(["decodeErrorResult",()=>o])},217295,e=>{"use strict";e.s(["stringify",0,(e,t,r)=>JSON.stringify(e,(e,r)=>{let n="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,n):n},r)])},324060,e=>{"use strict";var t=e.i(217295);function r({abiItem:e,args:r,includeFunctionName:n=!0,includeName:i=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${i&&e.name?`${e.name}: `:""}${"object"==typeof r[n]?(0,t.stringify)(r[n]):r[n]}`).join(", ")})`}e.s(["formatAbiItemWithArgs",()=>r])},184880,e=>{"use strict";var t=e.i(363884);class r extends t.BaseError{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class n extends t.BaseError{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function i(e){return e.reduce((e,{slot:t,value:r})=>`${e} ${t}: ${r} 23`,"")}function a(e){return e.reduce((e,{address:t,...r})=>{let n=`${e} ${t}: 24`;return r.nonce&&(n+=` nonce: ${r.nonce} 25`),r.balance&&(n+=` balance: ${r.balance} 26`),r.code&&(n+=` code: ${r.code} 27`),r.state&&(n+=" state:\n",n+=i(r.state)),r.stateDiff&&(n+=" stateDiff:\n",n+=i(r.stateDiff)),n}," State Override:\n").slice(0,-1)}e.s(["AccountStateConflictError",()=>r,"StateAssignmentConflictError",()=>n,"prettyStateOverride",()=>a])},460861,e=>{"use strict";function t(e){if(e?.reason)return e.reason;if("function"==typeof DOMException)return new DOMException("This operation was aborted","AbortError");let t=Error("This operation was aborted");return t.name="AbortError",t}function r(e){return"object"==typeof e&&null!==e&&"name"in e&&"AbortError"===e.name}e.s(["getAbortError",()=>t,"getContractAddress",0,e=>e,"getUrl",0,e=>{try{let t=new URL(e);if(!t.username&&!t.password)return e;return t.username="",t.password="",t.toString()}catch{return e}},"isAbortError",()=>r])},949703,e=>{"use strict";var t=e.i(563096),r=e.i(23039),n=e.i(954634),i=e.i(867189),a=e.i(324060),s=e.i(129160),o=e.i(437869),c=e.i(552779),u=e.i(468608),f=e.i(363884),l=e.i(184880),d=e.i(115956),b=e.i(460861);class p extends f.BaseError{constructor(e,{account:r,docsPath:n,chain:i,data:a,gas:s,gasPrice:u,maxFeePerGas:f,maxPriorityFeePerGas:b,nonce:p,to:m,value:h,stateOverride:y}){const g=r?(0,t.parseAccount)(r):void 0;let v=(0,d.prettyPrint)({from:g?.address,to:m,value:void 0!==h&&`${(0,o.formatEther)(h)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:s,gasPrice:void 0!==u&&`${(0,c.formatGwei)(u)} gwei`,maxFeePerGas:void 0!==f&&`${(0,c.formatGwei)(f)} gwei`,maxPriorityFeePerGas:void 0!==b&&`${(0,c.formatGwei)(b)} gwei`,nonce:p});y&&(v+=` 28${(0,l.prettyStateOverride)(y)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(
vendor: 5,637 bytes, line 28
28Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class m extends f.BaseError{constructor(e,{abi:t,args:r,contractAddress:n,docsPath:o,functionName:c,sender:u}){const f=(0,s.getAbiItem)({abi:t,args:r,name:c}),l=f?(0,a.formatAbiItemWithArgs)({abiItem:f,args:r,includeFunctionName:!1,includeName:!1}):void 0,p=f?(0,i.formatAbiItem)(f,{includeName:!0}):void 0,m=(0,d.prettyPrint)({address:n&&(0,b.getContractAddress)(n),function:p,args:l&&"()"!==l&&`${[...Array(c?.length??0).keys()].map(()=>" ").join("")}${l}`,sender:u});super(e.shortMessage||`An unknown error occurred while executing the contract function "${c}".`,{cause:e,docsPath:o,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],m&&"Contract Call:",m].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=r,this.cause=e,this.contractAddress=n,this.functionName=c,this.sender=u}}class h extends f.BaseError{constructor({abi:e,data:t,functionName:s,message:o,cause:c}){let f,l,d,b,p;if(t&&"0x"!==t)try{const{abiItem:s,errorName:o,args:u}=l=(0,n.decodeErrorResult)({abi:e,data:t,cause:c});if("Error"===o)b=u[0];else if("Panic"===o){const[e]=u;b=r.panicReasons[e]}else{const e=s?(0,i.formatAbiItem)(s,{includeName:!0}):void 0,t=s&&u?(0,a.formatAbiItemWithArgs)({abiItem:s,args:u,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(o?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){f=e}else o&&(b=o);f instanceof u.AbiErrorSignatureNotFoundError&&(p=f.signature,d=[`Unable to decode signature "${p}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${p}.`]),super(b&&"execution reverted"!==b||p?[`The contract function "${s}" reverted with the following ${p?"signature":"reason"}:`,b||p].join("\n"):`The contract function "${s}" reverted.`,{cause:f??c,metaMessages:d,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=l,this.raw=t,this.reason=b,this.signature=p}}class y extends f.BaseError{constructor({functionName:e,cause:t}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError",cause:t})}}class g extends f.BaseError{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class v extends f.BaseError{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}e.s(["CallExecutionError",()=>p,"ContractFunctionExecutionError",()=>m,"ContractFunctionRevertedError",()=>h,"ContractFunctionZeroDataError",()=>y,"CounterfactualDeploymentFailedError",()=>g,"RawContractError",()=>v])},160931,e=>{"use strict";var t=e.i(468608),r=e.i(581751),n=e.i(718032),i=e.i(972814),a=e.i(867189),s=e.i(129160);let o="/docs/contract/encodeErrorResult";function c(e){let{abi:c,errorName:u,args:f}=e,l=c[0];if(u){let e=(0,s.getAbiItem)({abi:c,args:f,name:u});if(!e)throw new t.AbiErrorNotFoundError(u,{docsPath:o});l=e}if("error"!==l.type)throw new t.AbiErrorNotFoundError(void 0,{docsPath:o});let d=(0,a.formatAbiItem)(l),b=(0,n.toFunctionSelector)(d),p="0x";if(f&&f.length>0){if(!l.inputs)throw new t.AbiErrorInputsNotFoundError(l.name,{docsPath:o});p=(0,i.encodeAbiParameters)(l.inputs,f)}return(0,r.concatHex)([b,p])}e.s(["encodeErrorResult",()=>c])},340523,e=>{"use strict";var t=e.i(468608),r=e.i(972814),n=e.i(129160);let i="/docs/contract/encodeFunctionResult";function a(e){let{abi:a,functionName:s,result:o}=e,c=a[0];if(s){let e=(0,n.getAbiItem)({abi:a,name:s});if(!e)throw new t.AbiFunctionNotFoundError(s,{docsPath:i});c=e}if("function"!==c.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:i});if(!c.outputs)throw new t.AbiFunctionOutputsNotFoundError(c.name,{docsPath:i});let u=(()=>
28{if(0===c.outputs.length)return[];if(1===c.outputs.length)return[o];if(Array.isArray(o))return o;throw new t.InvalidArrayError(o)})();return(0,r.encodeAbiParameters)(c.outputs,u)}e.s(["encodeFunctionResult",()=>a])},561153,e=>{"use strict";var t=e.i(693595),r=e.i(23039),n=e.i(507108),i=e.i(160931),a=e.i(340523);let s="x-batch-gateway:true";async function o(e){let{data:c,ccipRequest:u}=e,{args:[f]}=(0,n.decodeFunctionData)({abi:t.batchGatewayAbi,data:c}),l=[],d=[];return await Promise.all(f.map(async(e,n)=>{try{d[n]=e.urls.includes(s)?await o({data:e.data,ccipRequest:u}):await u(e),l[n]=!1}catch(e){var a;l[n]=!0,d[n]="HttpRequestError"===(a=e).name&&a.status?(0,i.encodeErrorResult)({abi:t.batchGatewayAbi,errorName:"HttpError",args:[a.status,a.shortMessage]}):(0,i.encodeErrorResult)({abi:[r.solidityError],errorName:"Error",args:["shortMessage"in a?a.shortMessage:a.message]})}})),(0,a.encodeFunctionResult)({abi:t.batchGatewayAbi,functionName:"query",result:[l,d]})}e.s(["localBatchGatewayRequest",()=>o,"localBatchGatewayUrl",0,s])},528347,e=>{"use strict";var t=e.i(217295),r=e.i(363884),n=e.i(460861);class i extends r.BaseError{constructor({body:e,cause:r,details:i,headers:a,status:s,url:o}){super("HTTP request failed.",{cause:r,details:i,metaMessages:[s&&`Status: ${s}`,`URL: ${(0,n.getUrl)(o)}`,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=a,this.status=s,this.url=o}}r.BaseError;class a extends r.BaseError{constructor({body:e,error:r,url:i}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:[`URL: ${(0,n.getUrl)(i)}`,`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}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r.code,this.data=r.data,this.url=i}}r.BaseError;class s extends r.BaseError{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,n.getUrl)(r)}`,`Request body: ${(0,t.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=r}}e.s(["HttpRequestError",()=>i,"RpcRequestError",()=>a,"TimeoutError",()=>s])},916067,e=>{"use strict";var t=e.i(950185);let r=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function n(e){return r.test(e)}function i(e){return(0,t.execTyped)(r,e)}let a=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function s(e){return a.test(e)}function o(e){return(0,t.execTyped)(a,e)}let c=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function u(e){return c.test(e)}function f(e){return(0,t.execTyped)(c,e)}let l=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function d(e){return l.test(e)}function b(e){return(0,t.execTyped)(l,e)}let p=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function m(e){return p.test(e)}function h(e){return(0,t.execTyped)(p,e)}let y=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function g(e){return y.test(e)}function v(e){return(0,t.execTyped)(y,e)}let E=/^receive\(\) external payable$/;function w(e){return E.test(e)}let x=new Set(["indexed"]),$=new Set(["calldata","memory","storage"]);e.s(["eventModifiers",0,x,"execConstructorSignature",()=>h,"execErrorSignature",()=>i,"execEventSignature",()=>o,"execFallbackSignature",()=>v,"execFunctionSignature",()=>f,"execStructSignature",()=>b,"functionModifiers",0,$,"isConstructorSignature",()=>m,"isErrorSignature",()=>n,"isEventSignature",()=>s,"isFallbackSignature",()=>g,"isFunctionSignature",()=>u,"isReceiveSignature",()=>w,"isStructSignature",()=>d])},65561,e=>{"use strict";e.s(["version",0,"1.2.3"])},169215,e=>{"use strict";var t=e.i(65561);
28class r extends Error{constructor(e,n={}){const i=n.cause instanceof r?n.cause.details:n.cause?.message?n.cause.message:n.details,a=n.cause instanceof r&&n.cause.docsPath||n.docsPath;super([e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...a?[`Docs: https://abitype.dev${a}`]:[],...i?[`Details: ${i}`]:[],`Version: abitype@${t.version}`].join("\n")),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,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=i,this.docsPath=a,this.metaMessages=n.metaMessages,this.shortMessage=e}}e.s(["BaseError",()=>r])},125500,e=>{"use strict";var t=e.i(169215);t.BaseError;class r extends t.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class n extends t.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}e.s(["UnknownSolidityTypeError",()=>n,"UnknownTypeError",()=>r])},759169,e=>{"use strict";var t=e.i(169215);t.BaseError,t.BaseError;class r extends t.BaseError{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class n extends t.BaseError{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class i extends t.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class a extends t.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class s extends t.BaseError{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}e.s(["InvalidAbiTypeParameterError",()=>s,"InvalidFunctionModifierError",()=>a,"InvalidModifierError",()=>i,"InvalidParameterError",()=>r,"SolidityProtectedKeywordError",()=>n])},421044,e=>{"use strict";var t=e.i(169215);class r extends t.BaseError{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class n extends t.BaseError{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class i extends t.BaseError{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}e.s(["InvalidSignatureError",()=>r,"InvalidStructSignatureError",()=>i,"UnknownSignatureError",()=>n])},996949,e=>{"use strict";var t=e.i(169215);class r extends t.BaseError{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}e.s(["CircularReferenceError",()=>r])},652042,e=>{"use strict";var t=e.i(169215);class r extends t.BaseError{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}e.s(["InvalidParenthesisError",()=>r])},216213,e=>{"use strict";function t(e,t,r){let n="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+=`[${r.type}${r.name?`:${r.name}`:""}]`;n+=`(${e[0]}{${t}})`}return t?`${t}:${e}${n}`:`${e}${n}`}let r=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);e.s(["getParameterCacheKey",()=>t,"parameterCache",0,r])},256881,e=>{"use strict";var t=e.i(950185),r=e.i(125500),n=e.i(759169),i=e.i(421044),a=e.i(652
28042),s=e.i(216213),o=e.i(916067);function c(e,t={}){if((0,o.isFunctionSignature)(e))return function(e,t={}){let r=(0,o.execFunctionSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"function"});let n=b(r.parameters),a=[],s=n.length;for(let e=0;e<s;e++)a.push(d(n[e],{modifiers:o.functionModifiers,structs:t,type:"function"}));let c=[];if(r.returns){let e=b(r.returns),n=e.length;for(let r=0;r<n;r++)c.push(d(e[r],{modifiers:o.functionModifiers,structs:t,type:"function"}))}return{name:r.name,type:"function",stateMutability:r.stateMutability??"nonpayable",inputs:a,outputs:c}}(e,t);if((0,o.isEventSignature)(e))return function(e,t={}){let r=(0,o.execEventSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"event"});let n=b(r.parameters),a=[],s=n.length;for(let e=0;e<s;e++)a.push(d(n[e],{modifiers:o.eventModifiers,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:a}}(e,t);if((0,o.isErrorSignature)(e))return function(e,t={}){let r=(0,o.execErrorSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"error"});let n=b(r.parameters),a=[],s=n.length;for(let e=0;e<s;e++)a.push(d(n[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:a}}(e,t);if((0,o.isConstructorSignature)(e))return function(e,t={}){let r=(0,o.execConstructorSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"constructor"});let n=b(r.parameters),a=[],s=n.length;for(let e=0;e<s;e++)a.push(d(n[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:a}}(e,t);if((0,o.isFallbackSignature)(e)){var r=e;let t=(0,o.execFallbackSignature)(r);if(!t)throw new i.InvalidSignatureError({signature:r,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}if((0,o.isReceiveSignature)(e))return{type:"receive",stateMutability:"payable"};throw new i.UnknownSignatureError({signature:e})}let u=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,f=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,l=/^u?int$/;function d(e,i){var a,c;let h,y=(0,s.getParameterCacheKey)(e,i?.type,i?.structs);if(s.parameterCache.has(y))return s.parameterCache.get(y);let g=t.isTupleRegex.test(e),v=(0,t.execTyped)(g?f:u,e);if(!v)throw new n.InvalidParameterError({param:e});if(v.name&&("address"===(a=v.name)||"bool"===a||"function"===a||"string"===a||"tuple"===a||t.bytesRegex.test(a)||t.integerRegex.test(a)||m.test(a)))throw new n.SolidityProtectedKeywordError({param:e,name:v.name});let E=v.name?{name:v.name}:{},w="indexed"===v.modifier?{indexed:!0}:{},x=i?.structs??{},$={};if(g){h="tuple";let e=b(v.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(d(e[n],{structs:x}));$={components:t}}else if(v.type in x)h="tuple",$={components:x[v.type]};else if(l.test(v.type))h=`${v.type}256`;else if("address payable"===v.type)h="address";else if(h=v.type,i?.type!=="struct"&&!p(h))throw new r.UnknownSolidityTypeError({type:h});if(v.modifier){if(!i?.modifiers?.has?.(v.modifier))throw new n.InvalidModifierError({param:e,type:i?.type,modifier:v.modifier});if(o.functionModifiers.has(v.modifier)&&(c=h,!v.array&&"bytes"!==c&&"string"!==c&&"tuple"!==c))throw new n.InvalidFunctionModifierError({param:e,type:i?.type,modifier:v.modifier})}let A={type:`${h}${v.array??""}`,...E,...w,...$};return s.parameterCache.set(y,A),A}function b(e,t=[],r="",n=0){let i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],s=e.slice(a+1);switch(i){case",":return 0===n?b(s,[...t,r.trim()]):b(s,t,`${r}${i}`,n);case"(":return b(s,t,`${r}${i}`,n+1);case")":return b(s,t,`${r}${i}`,n-1);default:return b(s,t,`${r}${i}`,n)}}if(""===r)return t;if(0!==n)throw new a.InvalidParenthesisError({current:r,depth:n});return t.push(r.trim()),t}function p(e){return"address"===e||"bool"===e||"function"===e||"string"===e||t.bytesRegex.test(e)||t.integerRegex.test(e)}let m=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;e.s(["isSolidityType",()=>p,"parseAbiParameter",()=>d,"parseSignature",()=>c])},156884,e=>{"use strict";var t=e.i(950185),r=e.i(125500),n=e.i(759169),i=e.i(421044),a=e.i(996949),s=e.i(916067),o=e.i(256881);function c(e){let c={},f=e.length;for(let t=0;t<f;t++){let r=e[t];if(!(0,s.isStructSignature)(r))continue;let n=(0,s.execStructSignature)(r);if(!n)throw new i.InvalidSignatureError({signature:r,type:"struct"});let a=n.properties.split(";"),u=[],f=a.length;for(let e=0;e<f;e++){let t=a[e].trim();if(!t)continue;let r=(0,o.parseAbiParameter)(t,{type:"struct"});u.push(r)}if(!u.length)throw new i.InvalidStructSignatureError({signature:r});c[n.name]=u}let l={},d=Object.entries(c),b=d.length;for(let e=0;e<b;e++){let[i,s]=d[e];l[i]=function e(i=[],s={},c=new Set){let f=[],l=i.length;for(let d=0;d<l;d++){let l=i[d];if(t.isTupleRegex.test(l.type))f.push(l);else{let i=(0,t.execTyped)(u,l.type);if(!i?.type)throw new n.InvalidAbiTypeParameterError({abiParameter:l});let{array:d,type:b}=i;if(b in s){if(c.has(b))throw new a.CircularReferenceError({type:b});f.push({...l,type:`tuple${d??""}`,components:e(s[b],s,new Set([...c,b]))})}else if((0,o.isSolidityType)(b))f.push(l);else throw new r.UnknownTypeError({type:b})}}return f}(s,c)}return l}let u=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;e.s(["parseStructs",()=>c])},570635,e=>{"use strict";var t=e.i(916067),r=e.i(156884),n=e.i(256881);function i(e){let i=(0,r.parseStructs)(e),a=[],s=e.length;for(let r=0;r<s;r++){let s=e[r];(0,t.isStructSignature)(s)||a.push((0,n.parseSignature)(s,i))}return a}e.s(["parseAbi",()=>i])},311369,e=>{"use strict";e.s(["version",0,"0.1.1"])},862914,e=>{"use strict";var t=e.i(311369);function r(){return t.version}e.s(["getVersion",()=>r])},517864,e=>{"use strict";var t=e.i(862914);
28class r extends Error{static setStaticOptions(e){r.prototype.docsOrigin=e.docsOrigin,r.prototype.showVersion=e.showVersion,r.prototype.version=e.version}constructor(e,t={}){const n=(()=>{if(t.cause instanceof r){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),i=t.cause instanceof r&&t.cause.docsPath||t.docsPath,a=t.docsOrigin??r.prototype.docsOrigin,s=`${a}${i??""}`,o=!!(t.version??r.prototype.showVersion),c=t.version??r.prototype.version;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...n||i||o?["",n?`Details: ${n}`:void 0,i?`See: ${s}`:void 0,o?`Version: ${c}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsOrigin",{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,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVersion",{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,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.cause=t.cause,this.details=n,this.docs=s,this.docsOrigin=a,this.docsPath=i,this.shortMessage=e,this.showVersion=o,this.version=c}walk(e){return function e(t,r){return r?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,r):r?null:t}(this,e)}}Object.defineProperty(r,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:`ox@${(0,t.getVersion)()}`}}),r.setStaticOptions(r.defaultStaticOptions),e.s(["BaseError",()=>r])},839762,e=>{"use strict";e.s(["assertEndOffset",()=>i,"assertSize",()=>r,"assertStartOffset",()=>n,"pad",()=>a,"trim",()=>s]);var t=e.i(783108);function r(e,r){if(t.size(e)>r)throw new t.SizeOverflowError({givenSize:t.size(e),maxSize:r})}function n(e,r){if("number"==typeof r&&r>0&&r>t.size(e)-1)throw new t.SliceOffsetOutOfBoundsError({offset:r,position:"start",size:t.size(e)})}function i(e,r,n){if("number"==typeof r&&"number"==typeof n&&t.size(e)!==n-r)throw new t.SliceOffsetOutOfBoundsError({offset:n,position:"end",size:t.size(e)})}function a(e,r={}){let{dir:n,size:i=32}=r;if(0===i)return e;let s=e.replace("0x","");if(s.length>2*i)throw new t.SizeExceedsPaddingSizeError({size:Math.ceil(s.length/2),targetSize:i,type:"Hex"});return`0x${s["right"===n?"padEnd":"padStart"](2*i,"0")}`}function s(e,t={}){let{dir:r="left"}=t,n=e.replace("0x",""),i=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===r?e:n.length-e-1].toString())i++;else break;return"0"===(n="left"===r?n.slice(i):n.slice(0,n.length-i))?"0x":"right"===r&&n.length%2==1?`0x${n}0`:`0x${n}`}},650779,e=>{"use strict";function t(e,t,r){return JSON.stringify(e,(e,r)=>"function"==typeof t?t(e,r):"bigint"==typeof r?r.toString()+"#__bigint":r,r)}e.s(["stringify",()=>t])},783108,e=>{"use strict";e.s(["IntegerOutOfRangeError",()=>E,"InvalidLengthError",()=>$,"SizeExceedsPaddingSizeError",()=>P,"SizeOverflowError",()=>A,"SliceOffsetOutOfBoundsError",()=>B,"concat",()=>s,"from",()=>o,"fromBoolean",()=>c,"fromBytes",()=>u,"fromNumber",()=>f,"fromString",()=>l,"padLeft",()=>d,"padRight",()=>b,"size",()=>m,"slice",()=>p,"toBigInt",()=>y,"toNumber",()=>g,"trimLeft",()=>h,"validate",()=>v]);var t=e.i(517864),r=e.i(839762),n=e.i(650779);let i=new TextEncoder,a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function s(...e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}function o(e){return e instanceof Uint8Array?u(e):Array.isArray(e)?u(new Uint8Array(e)):e}function c(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(r.assertSize(n,t.size),d(n,t.size)):n}function u(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=a[e[t]];let i=`0x${n}`;return"number"==typeof t.size?(r.assertSize(i,t.size),b(i,t.size)):i}function f(e,t={}){let r,{signed:n,size:i}=t,a=BigInt(e);i?r=n?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(r=BigInt(Number.MAX_SAFE_INTEGER));let s="bigint"==typeof r&&n?-r-1n:0;if(r&&a>r||a<s){let t="bigint"==typeof e?"n":"";throw new E({max:r?`${r}${t}`:void 0,min:`${s}${t}`,signed:n,size:i,value:`${e}${t}`})}let o=(n&&a<0?BigInt.asUintN(8*i,BigInt(a)):a).toString(16),c=`0x${o}`;return i?d(c,i):c}function l(e,t={}){return u(i.encode(e),t)}function d(e,t){return r.pad(e,{dir:"left",size:t})}function b(e,t){return r.pad(e,{dir:"right",size:t})}function p(e,t,n,i={}){let{strict:a}=i;r.assertStartOffset(e,t);let s=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return a&&r.assertEndOffset(s,t,n),s}function m(e){return Math.ceil((e.length-2)/2)}function h(e){return r.trim(e,{dir:"left"})}function y(e,t={}){let{signed:n}=t;t.size&&r.assertSize(e,t.size);let i=BigInt(e);if(!n)return i;let a=(1n<<8n*BigInt((e.length-2)/2))-1n;return i<=a>>1n?i:i-a-1n}function g(e,t={}){let{signed:r,size:n}=t;return r||n?Number(y(e,t)):Number(e)}function v(e,t={}){let{strict:r=!1}=t;try{return!function(e,t={}){let{strict:r=!1}=t;if(!e||"string"!=typeof e)throw new w(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new x(e)}(e,{strict:r}),!0}catch{return!1}}class E extends t.BaseError{constructor({max:e,min:t,signed:r,size:n,value:i}
28){super(`Number \`${i}\` is not in safe${n?` ${8*n}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}t.BaseError;class w extends t.BaseError{constructor(e){super(`Value \`${"object"==typeof e?n.stringify(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class x extends t.BaseError{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class $ extends t.BaseError{constructor(e){super(`Hex value \`"${e}"\` is an odd length (${e.length-2} nibbles).`,{metaMessages:["It must be an even length."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidLengthError"})}}class A extends t.BaseError{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class B 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}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class P 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}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}},507615,e=>{"use strict";var t=e.i(783108);function r(e){return{...e,amount:BigInt(e.amount),index:Number(e.index),validatorIndex:Number(e.validatorIndex)}}function n(e){return{address:e.address,amount:t.fromNumber(e.amount),index:t.fromNumber(e.index),validatorIndex:t.fromNumber(e.validatorIndex)}}e.s(["fromRpc",()=>r,"toRpc",()=>n])},256427,e=>{"use strict";var t=e.i(783108),r=e.i(507615);function n(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:t.fromNumber(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:t.fromNumber(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:t.fromNumber(e.gasLimit)},..."bigint"==typeof e.number&&{number:t.fromNumber(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:t.fromNumber(e.prevRandao)},..."bigint"==typeof e.time&&{time:t.fromNumber(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(r.toRpc)}}}e.s(["toRpc",()=>n])},371529,e=>{"use strict";e.s(["aggregate3Signature",0,"0x82ad56cb"])},553933,e=>{"use strict";e.s(["deploylessCallViaBytecodeBytecode",0,"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe","deploylessCallViaFactoryBytecode",0,"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de82602083
280160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe","erc6492SignatureValidatorByteCode",0,"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
28603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572","multicall3Bytecode",0,"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
28150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"])},676228,e=>{"use strict";var t=e.i(468608),r=e.i(581751),n=e.i(972814);let i="/docs/contract/encodeDeployData";function a(e){let{abi:a,args:s,bytecode:o}=e;
28if(!s||0===s.length)return o;let c=a.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new t.AbiConstructorNotFoundError({docsPath:i});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new t.AbiConstructorParamsNotFoundError({docsPath:i});let u=(0,n.encodeAbiParameters)(c.inputs,s);return(0,r.concatHex)([o,u])}e.s(["encodeDeployData",()=>a])},116124,e=>{"use strict";var t=e.i(363884),r=e.i(706159);function n(e){let{blockHash:n,blockNumber:i,blockTag:a,requireCanonical:s}=e;if(void 0!==s&&!n)throw new t.BaseError("`requireCanonical` can only be provided when `blockHash` is set.");return n?s?{blockHash:n,requireCanonical:s}:{blockHash:n}:"bigint"==typeof i?(0,r.numberToHex)(i):a??"latest"}e.s(["formatBlockParameter",()=>n])},242731,e=>{"use strict";var t=e.i(363884),r=e.i(560582);function n(e,n){let i=(e.details||"").toLowerCase(),a=e instanceof t.BaseError?e.walk(e=>e?.code===r.ExecutionRevertedError.code):e;return a instanceof t.BaseError?new r.ExecutionRevertedError({cause:e,message:a.details}):r.ExecutionRevertedError.nodeMessage.test(i)?new r.ExecutionRevertedError({cause:e,message:e.details}):r.FeeCapTooHighError.nodeMessage.test(i)?new r.FeeCapTooHighError({cause:e,maxFeePerGas:n?.maxFeePerGas}):r.FeeCapTooLowError.nodeMessage.test(i)?new r.FeeCapTooLowError({cause:e,maxFeePerGas:n?.maxFeePerGas}):r.NonceTooHighError.nodeMessage.test(i)?new r.NonceTooHighError({cause:e,nonce:n?.nonce}):r.NonceTooLowError.nodeMessage.test(i)?new r.NonceTooLowError({cause:e,nonce:n?.nonce}):r.NonceMaxValueError.nodeMessage.test(i)?new r.NonceMaxValueError({cause:e,nonce:n?.nonce}):r.InsufficientFundsError.nodeMessage.test(i)?new r.InsufficientFundsError({cause:e}):r.IntrinsicGasTooHighError.nodeMessage.test(i)?new r.IntrinsicGasTooHighError({cause:e,gas:n?.gas}):r.IntrinsicGasTooLowError.nodeMessage.test(i)?new r.IntrinsicGasTooLowError({cause:e,gas:n?.gas}):r.TransactionTypeNotSupportedError.nodeMessage.test(i)?new r.TransactionTypeNotSupportedError({cause:e}):r.TipAboveFeeCapError.nodeMessage.test(i)?new r.TipAboveFeeCapError({cause:e,maxFeePerGas:n?.maxFeePerGas,maxPriorityFeePerGas:n?.maxPriorityFeePerGas}):new r.UnknownNodeError({cause:e})}e.s(["getNodeError",()=>n])},92279,e=>{"use strict";var t=e.i(949703),r=e.i(560582),n=e.i(242731);function i(e,{docsPath:i,...a}){let s,o=(s=(0,n.getNodeError)(e,a))instanceof r.UnknownNodeError?e:s;return new t.CallExecutionError(o,{docsPath:i,...a})}e.s(["getCallError",()=>i])},940975,e=>{"use strict";function t(e,{format:t}){if(!t)return{};let r={};return!function t(n){for(let i of Object.keys(n))i in e&&(r[i]=e[i]),n[i]&&"object"==typeof n[i]&&!Array.isArray(n[i])&&t(n[i])}(t(e||{})),r}e.s(["extract",()=>t])},340963,e=>{"use strict";function t(e,t){return({exclude:r,format:n})=>({exclude:r,format:(e,i)=>{let a=t(e,i);if(r)for(let e of r)delete a[e];return{...a,...n(e,i)}},type:e})}e.s(["defineFormatter",()=>t])},998253,e=>{"use strict";var t=e.i(706159);e.i(340963);let r={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function n(e,n){let i={};return void 0!==e.authorizationList&&(i.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,t.numberToHex)(BigInt(e.r)):e.r,s:e.s?(0,t.numberToHex)(BigInt(e.s)):e.s,chainId:(0,t.numberToHex)(e.chainId),nonce:(0,t.numberToHex)(e.nonce),...void 0!==e.yParity?{yParity:(0,t.numberToHex)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,t.numberToHex)(e.v)}:{}}))),void 0!==e.accessList&&(i.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(i.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?i.blobs=e.blobs.map(e=>(0,t.bytesToHex)(e)):i.blobs=e.blobs),void 0!==e.data&&(i.data=e.data),e.account&&(i.from=e.account.address),void 0!==e.from&&(i.from=e.from),void 0!==e.gas&&(i.gas=(0,t.numberToHex)(e.gas)),void 0!==e.gasPrice&&(i.gasPrice=(0,t.numberToHex)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(i.maxFeePerBlobGas=(0,t.numberToHex)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(i.maxFeePerGas=(0,t.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(i.maxPriorityFeePerGas=(0,t.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(i.nonce=(0,t.numberToHex)(e.nonce)),void 0!==e.to&&(i.to=e.to),void 0!==e.type&&(i.type=r[e.type]),void 0!==e.value&&(i.value=(0,t.numberToHex)(e.value)),i}e.s(["formatTransactionRequest",()=>n])},656389,e=>{"use strict";function t(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}e.s(["withResolvers",()=>t])},437e3,e=>{"use strict";var t=e.i(656389);let r=new Map;function n({fn:e,id:n,shouldSplitBatch:i,wait:a=0,sort:s}){let o=async()=>{let t=u();c();let r=t.map(({args:e})=>e);0!==r.length&&e(r).then(e=>{s&&Array.isArray(e)&&e.sort(s);for(let r=0;r<t.length;r++){let{resolve:n}=t[r];n?.([e[r],e])}}).catch(e=>{for(let r=0;r<t.length;r++){let{reject:n}=t[r];n?.(e)}})},c=()=>r.delete(n),u=()=>r.get(n)||[],f=e=>r.set(n,[...u(),e]);return{flush:c,async schedule(e){let{promise:r,resolve:n,reject:s}=(0,t.withResolvers)();return(i?.([...u().map(({args:e})=>e),e])&&o(),u().length>0)?f({args:e,resolve:n,reject:s}):(f({args:e,resolve:n,reject:s}),setTimeout(o,a)),r}}}e.s(["createBatchScheduler",()=>n])},223153,e=>{"use strict";var t=e.i(811763),r=e.i(969834),n=e.i(184880),i=e.i(983991),a=e.i(706159);function s(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new r.InvalidBytesLengthError({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new r.InvalidBytesLengthError({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function o(e){if(!e)return;let r={};for(let{address:o,...c}of e){if(!(0,i.isAddress)(o,{strict:!1}))throw new t.InvalidAddressError({address:o});if(r[o])throw new n.AccountStateConflictError({address:o});r[o]=function(e){let{balance:t,nonce:r,state:i,stateDiff:o,code:c}=e,u={};if(void 0!==c&&(u.code=c),void 0!==t&&(u.balance=(0,a.numberToHex)(t)),void 0!==r&&(u.nonce=(0,a.numberToHex)(r)),void 0!==i&&(u.state=s(i)),void 0!==o){if(u.state)throw new n.StateAssignmentC
28onflictError;u.stateDiff=s(o)}return u}(c)}return r}e.s(["serializeStateOverride",()=>o])},794548,e=>{"use strict";var t=e.i(563096),r=e.i(673997),n=e.i(811763),i=e.i(560582),a=e.i(983991);function s(e){let{account:s,maxFeePerGas:o,maxPriorityFeePerGas:c,to:u}=e,f=s?(0,t.parseAccount)(s):void 0;if(f&&!(0,a.isAddress)(f.address))throw new n.InvalidAddressError({address:f.address});if(u&&!(0,a.isAddress)(u))throw new n.InvalidAddressError({address:u});if(o&&o>r.maxUint256)throw new i.FeeCapTooHighError({maxFeePerGas:o});if(c&&o&&c>o)throw new i.TipAboveFeeCapError({maxFeePerGas:o,maxPriorityFeePerGas:c})}e.s(["assertRequest",()=>s])},506691,e=>{"use strict";var t=e.i(570635),r=e.i(256427),n=e.i(563096),i=e.i(693595),a=e.i(371529),s=e.i(553933),o=e.i(363884),c=e.i(200982),u=e.i(949703),f=e.i(460861),l=e.i(187207),d=e.i(676228),b=e.i(408610),p=e.i(56427),m=e.i(116124),h=e.i(685993),y=e.i(92279),g=e.i(940975),v=e.i(998253),E=e.i(437e3),w=e.i(223153),x=e.i(794548);async function $(i,l){let{account:b=i.account,authorizationList:h,batch:E=!!i.batch?.multicall,blockHash:$,blockNumber:A,blockTag:B=i.experimental_blockTag??"latest",requireCanonical:I,accessList:z,blobs:O,blockOverrides:M,code:F,data:C,factory:N,factoryData:R,gas:j,gasPrice:k,maxFeePerBlobGas:H,maxFeePerGas:D,maxPriorityFeePerGas:U,nonce:L,requestOptions:G,to:V,value:_,stateOverride:q,...W}=l,Z=b?(0,n.parseAccount)(b):void 0;if(F&&(N||R))throw new o.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(F&&V)throw new o.BaseError("Cannot provide both `code` & `to` as parameters.");let K=F&&C,J=N&&R&&V&&C,Y=K||J,X=K?T({code:F,data:C}):J?function(e){let{data:r,factory:n,factoryData:i,to:a}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(address, bytes, address, bytes)"]),bytecode:s.deploylessCallViaFactoryBytecode,args:[a,r,n,i]})}({data:C,factory:N,factoryData:R,to:V}):C;try{let e;(0,x.assertRequest)(l);let t=(0,m.formatBlockParameter)({blockHash:$,blockNumber:A,blockTag:B,requireCanonical:I}),n=M?r.toRpc(M):void 0,s=(0,w.serializeStateOverride)(q),o=i.chain?.formatters?.transactionRequest?.format,u=(o||v.formatTransactionRequest)({...(0,g.extract)(W,{format:o}),accessList:z,account:Z,authorizationList:h,blobs:O,data:X,gas:j,gasPrice:k,maxFeePerBlobGas:H,maxFeePerGas:D,maxPriorityFeePerGas:U,nonce:L,to:Y?void 0:V,value:_},"call");if(E&&function({request:e}){let{data:t,to:r,...n}=e;return!(!t||t.startsWith(a.aggregate3Signature))&&!!r&&!(Object.values(n).filter(e=>void 0!==e).length>0)}({request:u})&&!n&&void 0===$)try{var Q,ee;let{deployless:e=!1}="object"==typeof i.batch?.multicall?i.batch.multicall:{},t=S(i,{blockNumber:A,deployless:e});if(!t||(Q=s,ee=t,!(Q&&Object.keys(Q).some(e=>(0,p.isAddressEqual)(e,ee)))))return await P(i,{...u,blockHash:$,blockNumber:A,blockTag:B,multicallAddress:t,requestOptions:G,requireCanonical:I,rpcStateOverride:s})}catch(e){if(!(e instanceof c.ClientChainNotConfiguredError)&&!(e instanceof c.ChainDoesNotSupportContract))throw e}let f=(e=[u,t],s&&n?[...e,s,n]:s?[...e,s]:n?[...e,{},n]:e),d=await i.request({method:"eth_call",params:f},G);if("0x"===d)return{data:void 0};return{data:d}}catch(a){if(G?.signal?.aborted)throw(0,f.getAbortError)(G.signal);if((0,f.isAbortError)(a))throw a;let t=function(e){if(!(e instanceof o.BaseError))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:r,offchainLookupSignature:n}=await e.A(220801);if(!1!==i.ccipRead&&t?.slice(0,10)===n&&V)return{data:await r(i,{data:t,requestOptions:G,to:V})};if(Y&&t?.slice(0,10)==="0x101bb98d")throw new u.CounterfactualDeploymentFailedError({factory:N});throw(0,y.getCallError)(a,{...l,account:Z,chain:i.chain})}}let A=0,B=new WeakMap;async function P(e,t){let{batchSize:r=1024,deployless:n=!1,wait:a=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockHash:o,blockNumber:c,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d,data:p,multicallAddress:h,requestOptions:y,rpcStateOverride:g,to:v}=t,w=void 0!==h?h:S(e,{blockNumber:c,deployless:n}),x=(0,m.formatBlockParameter)({blockHash:o,blockNumber:c,blockTag:f,requireCanonical:d}),$="string"==typeof x?x:JSON.stringify(x),P=g?`.${JSON.stringify(g)}`:"",{schedule:I}=(0,E.createBatchScheduler)({id:`${e.uid}.${$}.${function(e){if(!e)return"default";let t=B.get(e);if(void 0!==t)return t;let r=A++;return B.set(e,r),r}(y)}${P}`,wait:a,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*r,fn:async t=>{let r=t.map(e=>
28({allowFailure:!0,callData:e.data,target:e.to})),n=(0,b.encodeFunctionData)({abi:i.multicall3Abi,args:[r],functionName:"aggregate3"}),a={...null===w?{data:T({code:s.multicall3Bytecode,data:n})}:{to:w,data:n}},o=await e.request({method:"eth_call",params:g?[a,x,g]:[a,x]},y);return(0,l.decodeFunctionResult)({abi:i.multicall3Abi,args:[r],functionName:"aggregate3",data:o||"0x"})}}),[{returnData:z,success:O}]=await I({data:p,to:v});if(!O)throw new u.RawContractError({data:z});return"0x"===z?{data:void 0}:{data:z}}function S(e,t){let{blockNumber:r,deployless:n}=t;if(n)return null;if(e.chain)return(0,h.getChainContractAddress)({blockNumber:r,chain:e.chain,contract:"multicall3"});throw new c.ClientChainNotConfiguredError}function T(e){let{code:r,data:n}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(bytes, bytes)"]),bytecode:s.deploylessCallViaBytecodeBytecode,args:[r,n]})}e.s(["call",()=>$])}]); 29 30//# chunkId=01a0ab1d-21bb-7e30-ba36-48e2590c3d17
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.