PageSourceSearch

https://superteam.fun/_next/static/chunks/0p8-i9gog-1lo.js?dpl=dpl_DwwmkspJdVCPxtT8X8zWHrbkY7DU

js superteam.fun collected 2026-09-25 03:54:37 UTC 99,322 bytes, 28 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,483164,e=>{"use strict";var t=e.i(57298);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",0,r])},649039,e=>{"use strict";var t=e.i(918196),r=e.i(107989),n=e.i(960377),i=e.i(501132);e.s(["keccak256",0,function(e,a){let o=(0,t.keccak_256)((0,r.isHex)(e,{strict:!1})?(0,n.toBytes)(e):e);return"bytes"===(a||"hex")?o:(0,i.toHex)(o)}])},864597,e=>{"use strict";e.s(["isAddress",()=>a]);var t=e.i(774723),r=e.i(673953);let n=/^0x[a-fA-F0-9]{40}$/,i=new t.LruMap(8192);function a(e,t){let{strict:a=!0}=t??{},o=`${e}.${a}`;if(i.has(o))return i.get(o);let s=!!n.test(e)&&(e.toLowerCase()===e||!a||(0,r.checksumAddress)(e)===e);return i.set(o,s),s}},673953,e=>{"use strict";e.s(["checksumAddress",()=>s,"getAddress",()=>c]);var t=e.i(483164),r=e.i(960377),n=e.i(649039),i=e.i(774723),a=e.i(864597);let o=new i.LruMap(8192);function s(e,t){if(o.has(`${e}.${t}`))return o.get(`${e}.${t}`);let i=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),a=(0,n.keccak256)((0,r.stringToBytes)(i),"bytes"),s=(t?i.substring(`${t}0x`.length):i).split("");for(let e=0;e<40;e+=2)a[e>>1]>>4>=8&&s[e]&&(s[e]=s[e].toUpperCase()),(15&a[e>>1])>=8&&s[e+1]&&(s[e+1]=s[e+1].toUpperCase());let c=`0x${s.join("")}`;return o.set(`${e}.${t}`,c),c}function c(e,r){if(!(0,a.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});return s(e,r)}},447102,e=>{"use strict";e.s(["parseAccount",0,function(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}])},423801,210589,e=>{"use strict";function t(e,{includeName:n=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new S(e.type);return`${e.name}(${r(e.inputs,{includeName:n})})`}function r(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${r(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}e.s(["AbiConstructorNotFoundError",()=>a,"AbiConstructorParamsNotFoundError",()=>o,"AbiDecodingDataSizeInvalidError",()=>s,"AbiDecodingDataSizeTooSmallError",()=>c,"AbiDecodingZeroDataError",()=>u,"AbiEncodingArrayLengthMismatchError",()=>f,"AbiEncodingBytesSizeMismatchError",()=>d,"AbiEncodingLengthMismatchError",()=>l,"AbiErrorInputsNotFoundError",()=>b,"AbiErrorNotFoundError",()=>p,"AbiErrorSignatureNotFoundError",()=>m,"AbiEventNotFoundError",()=>g,"AbiEventSignatureEmptyTopicsError",()=>h,"AbiEventSignatureNotFoundError",()=>y,"AbiFunctionNotFoundError",()=>v,"AbiFunctionOutputsNotFoundError",()=>E,"AbiFunctionSignatureNotFoundError",()=>x,"AbiItemAmbiguityError",()=>w,"BytesSizeMismatchError",()=>$,"DecodeLogDataMismatch",()=>A,"DecodeLogTopicsMismatch",()=>I,"InvalidAbiDecodingTypeError",()=>B,"InvalidAbiEncodingTypeError",()=>P,"InvalidArrayError",()=>T,"InvalidDefinitionTypeError",()=>S,"UnsupportedPackedAbiType",()=>F],423801),e.s(["formatAbiItem",()=>t,"formatAbiParams",()=>r],210589);var n=e.i(138813),i=e.i(57298);class a extends i.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 o extends i.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"})}}class s extends i.BaseError{constructor({data:e,size:t}){super(`Data size of ${t}
1 bytes is invalid.
2Size must be in increments of 32 bytes (size % 32 === 0).`,{metaMessages:[`Data: ${e} (${t} bytes)`],name:"AbiDecodingDataSizeInvalidError"})}}class c extends i.BaseError{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${r(t,{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=t,this.size=n}}class u extends i.BaseError{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class f extends i.BaseError{constructor({expectedLength:e,givenLength:t,type:r}){super(`ABI encoding array length mismatch for type ${r}.
3Expected length: ${e}
4Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends i.BaseError{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,n.size)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class l extends i.BaseError{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
5Expected length (params): ${e}
6Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class b extends i.BaseError{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`).
7Cannot encode error result without knowing what the parameter types are.
8Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class p extends i.BaseError{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI.
9Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class m extends i.BaseError{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI.
10Make sure you are using the correct ABI and that the error exists on it.
11You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends i.BaseError{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class y extends i.BaseError{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
12Make sure you are using the correct ABI and that the event exists on it.
13You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class g extends i.BaseError{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
14Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class v extends i.BaseError{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
15Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class E extends i.BaseError{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI.
16Cannot decode function result without knowing what the parameter types are.
17Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class x extends i.BaseError{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI.
18Make sure you are using the correct ABI and that the function exists on it.
19You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class w extends i.BaseError{constructor(e,r){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${t(e.abiItem)}\`, and`,`\`${r.type}\` in \`${t(r.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class $ extends i.BaseError{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class A extends i.BaseError{constructor({abiItem:e,data:t,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${r(n,{includeName:!0})})`,`Data:   ${t} (${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=t,this.params=n,this.size=i}}class I extends i.BaseError{constructor({abiItem:e,param:r}){super(`Expected a topic for indexed event parameter${r.name?` "${r.name}"`:""} on event "${t(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class P extends i.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
20Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class B extends i.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
21Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class T extends i.BaseError{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class S extends i.BaseError{constructor(e){super(`"${e}" is not a valid definition type.
22Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class F extends i.BaseError{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},499850,95359,e=>{"use strict";var t=e.i(57298);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",0,r,"PositionOutOfBoundsError",0,n,"RecursiveReadLimitExceededError",0,i],95359);let a={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 i({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new n({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};e.s(["createCursor",0,function(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(a);return r.bytes=e,r.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}],499850)},427772,e=>{"use strict";var t=e.i(798051),r=e.i(107989),n=e.i(138813);function i(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)})}function a(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}={}){i(e,t);let s=e.slice(t,r);return n&&a(s,t,r),s}function s(e,t,r,{strict:n}={}){i(e,t);let o=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return n&&a(o,t,r),o}e.s(["slice",0,function(e,t,n,{strict:i}={}){return(0,r.isHex)(e,{strict:!1})?s(e,t,n,{strict:i}):o(e,t,n,{strict:i})},"sliceBytes",0,o,"sliceHex",0,s])},933429,e=>{"use strict";var t=e.i(889928),r=e.i(578072),n=e.i(805936),i=e.i(501132);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 o(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 s(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",0,a,"bytesToBool",0,o,"bytesToNumber",0,s,"bytesToString",0,c,"fromBytes",0,function(e,t){let r="string"==typeof t?{to:t}:t,n=r.to;return"number"===n?s(e,r):"bigint"===n?a(e,r):"boolean"===n?o(e,r):"str
22ing"===n?c(e,r):(0,i.bytesToHex)(e,r)}])},62678,e=>{"use strict";function t(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}function r(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}e.s(["concat",0,function(e){return"string"==typeof e[0]?r(e):t(e)},"concatBytes",0,t,"concatHex",0,r])},706063,797724,e=>{"use strict";var t=e.i(423801),r=e.i(483164),n=e.i(57298),i=e.i(889928),a=e.i(864597),o=e.i(62678),s=e.i(758373),c=e.i(138813),u=e.i(427772),f=e.i(501132);let d=/^(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)?$/;e.s(["arrayRegex",0,/^(.*)\[([0-9]*)\]$/,"bytesRegex",0,/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,"integerRegex",0,d],797724);function l(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:o,encoded:s}=e[a];o?(r.push((0,f.numberToHex)(t+i,{size:32})),n.push(s),i+=(0,c.size)(s)):r.push(s)}return(0,o.concat)([...r,...n])}function b(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}e.s(["encodeAbiParameters",0,function(e,p){if(e.length!==p.length)throw new t.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:p.length});let m=l(function({params:e,values:p}){let m=[];for(let h=0;h<e.length;h++)m.push(function e({param:p,value:m}){let h=b(p.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 s=!1,c=[];for(let t=0;t<r.length;t++){let n=e({param:i,value:r[t]});n.dynamic&&(s=!0),c.push(n)}if(a||s){let e=l(c);if(a){let t=(0,f.numberToHex)(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?(0,o.concat)([t,e]):t}}if(s)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,o.concat)(c.map(({encoded:e})=>e))}}(m,{length:r,param:{...p,type:n}})}if("tuple"===p.type)return function(t,{param:r}){let n=!1,i=[];for(let a=0;a<r.components.length;a++){let o=r.components[a],s=Array.isArray(t)?a:o.name,c=e({param:o,value:t[s]});i.push(c),c.dynamic&&(n=!0)}return{dynamic:n,encoded:n?l(i):(0,o.concat)(i.map(({encoded:e})=>e))}}(m,{param:p});if("address"===p.type){var y=m;if(!(0,a.isAddress)(y))throw new r.InvalidAddressError({address:y});return{dynamic:!1,encoded:(0,s.padHex)(y.toLowerCase())}}if("bool"===p.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,s.padHex)((0,f.boolToHex)(g))}}if(p.type.startsWith("uint")||p.type.startsWith("int")){let e=p.type.startsWith("int"),[,,t="256"]=d.exec(p.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(p.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,s.padHex)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,o.concat)([(0,s.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,s.padHex)(e,{dir:"right"})}}(m,{param:p});if("string"===p.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,s.padHex)((0,u.slice)(e,32*n,(n+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,o.concat)([(0,s.padHex)((0,f.numberToHex)((0,c.size)(e),{size:32})),...r])}}throw new t.InvalidAbiEncodingTypeError(p.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[h],value:p[h]}));return m}({params:e,values:p}));return 0===m.length?"0x":m},"getArrayComponents",0,b],706063)},846709,e=>{"use strict";var t=e.i(423801),r=e.i(673953),n=e.i(499850),i=e.i(138813),a=e.i(427772),o=e.i(578072),s=e.i(933429),c=e.i(960377),u=e.i(501132),f=e.i(706063);function d(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;
22if("tuple"===t)return e.components?.some(d);let r=(0,f.getArrayComponents)(e.type);return!!(r&&d({...e,type:r[1]}))}e.s(["decodeAbiParameters",0,function(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,s.bytesToNumber)(t.readBytes(32)),a=n+32;t.setPosition(n);let o=(0,s.bytesToNumber)(t.readBytes(32)),c=d(r),u=0,f=[];for(let n=0;n<o;++n){t.setPosition(a+(c?32*n:u));let[i,o]=e(t,r,{staticPosition:a});u+=o,f.push(i)}return t.setPosition(i+32),[f,32]}if(d(r)){let a=i+(0,s.bytesToNumber)(t.readBytes(32)),o=[];for(let i=0;i<n;++i){t.setPosition(a+32*i);let[n]=e(t,r,{staticPosition:a});o.push(n)}return t.setPosition(i+32),[o,32]}let a=0,o=[];for(let s=0;s<n;++s){let[n,s]=e(t,r,{staticPosition:i+a});a+=s,o.push(n)}return[o,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?[]:{},o=0;if(d(r)){let c=n+(0,s.bytesToNumber)(t.readBytes(32));for(let n=0;n<r.components.length;++n){let s=r.components[n];t.setPosition(c+o);let[u,f]=e(t,s,{staticPosition:c});o+=f,a[i?n:s?.name]=u}return t.setPosition(n+32),[a,32]}for(let s=0;s<r.components.length;++s){let c=r.components[s],[u,f]=e(t,c,{staticPosition:n});a[i?s:c?.name]=u,o+=f}return[a,o]}(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,s.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,s.bytesToNumber)(e.readBytes(32));e.setPosition(r+t);let n=(0,s.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,s.bytesToBigInt)(r,{signed:e}):(0,s.bytesToNumber)(r,{signed:e}),32]}if("string"===i.type)return function(e,{staticPosition:t}){let r=(0,s.bytesToNumber)(e.readBytes(32));e.setPosition(t+r);let n=(0,s.bytesToNumber)(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let i=e.readBytes(n,32),a=(0,s.bytesToString)((0,o.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}])},4011,e=>{"use strict";var t=e.i(960377),r=e.i(649039);e.s(["hashSignature",0,function(e){return(0,r.keccak256)((0,t.toBytes)(e))}])},373642,e=>{"use strict";e.s(["bytesRegex",0,/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,"execTyped",0,function(e,t){let r=e.exec(t);return r?.groups},"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,/^\(.+?\).*?$/])},273550,624252,470974,730150,e=>{"use strict";var t=e.i(4011),r=e.i(373642);let n=/^tuple(?<array>(\[(\d*)\])*)$/;function i(e){let t="",i=e.length;for(let a=0;a<i;a++)t+=function e(t){let i=t.type;if(n.test(t.type)&&"components"in t){i="(";let a=t.components.length;for(let r=0;r<a;r++)i+=e(t.components[r]),r<a-1&&(i+=", ");let o=(0,r.execTyped)(n,t.type);return i+=`)${o?.array||""}`,e({...t,type:i})}return("indexed"in t&&t.indexed&&(i=`${i}
22 indexed`),t.name)?`${i} ${t.name}`:i}(e[a]),a!==i-1&&(t+=", ");return t}function a(e){return"function"===e.type?`function ${e.name}(${i(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${i(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${i(e.inputs)})`:"error"===e.type?`error ${e.name}(${i(e.inputs)})`:"constructor"===e.type?`constructor(${i(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}e.s(["formatAbiParameters",0,i],624252),e.s(["formatAbiItem",0,a],470974);var o=e.i(57298);let s=e=>(function(e){let t=!0,r="",n=0,i="",a=!1;for(let o=0;o<e.length;o++){let s=e[o];if(["(",")",","].includes(s)&&(t=!0),"("===s&&n++,")"===s&&n--,t){if(0===n){if(" "===s&&["event","function",""].includes(i))i="";else if(i+=s,")"===s){a=!0;break}continue}if(" "===s){","!==e[o-1]&&","!==r&&",("!==r&&(r="",t=!1);continue}i+=s,r+=s}}if(!a)throw new o.BaseError("Unable to normalize signature.");return i})("string"==typeof e?e:a(e));e.s(["toSignature",0,s],730150),e.s(["toSignatureHash",0,function(e){return(0,t.hashSignature)(s(e))}],273550)},58606,e=>{"use strict";let t=e.i(273550).toSignatureHash;e.s(["toEventSelector",0,t])},42426,e=>{"use strict";var t=e.i(427772),r=e.i(273550);e.s(["toFunctionSelector",0,e=>(0,t.slice)((0,r.toSignatureHash)(e),0,4)])},294061,e=>{"use strict";var t=e.i(423801),r=e.i(107989),n=e.i(864597),i=e.i(58606),a=e.i(42426);e.s(["getAbiItem",0,function(e){let o,{abi:s,args:c=[],name:u}=e,f=(0,r.isHex)(u,{strict:!1}),d=s.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!==d.length){if(1===d.length)return d[0];for(let e of d){if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(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;
22if(/[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(o&&"inputs"in o&&o.inputs){let r=function e(t,r,i){for(let a in t){let o=t[a],s=r[a];if("tuple"===o.type&&"tuple"===s.type&&"components"in o&&"components"in s)return e(o.components,s.components,i[a]);let c=[o.type,s.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,o.inputs,c);if(r)throw new t.AbiItemAmbiguityError({abiItem:e,type:r[0]},{abiItem:o,type:r[1]})}o=e}}}return o||d[0]}}])},243452,e=>{"use strict";var t=e.i(423801),r=e.i(846709),n=e.i(294061);let i="/docs/contract/decodeFunctionResult";e.s(["decodeFunctionResult",0,function(e){let{abi:a,args:o,functionName:s,data:c}=e,u=a[0];if(s){let e=(0,n.getAbiItem)({abi:a,args:o,name:s});if(!e)throw new t.AbiFunctionNotFoundError(s,{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}])},302459,633006,e=>{"use strict";var t=e.i(62678),r=e.i(706063),n=e.i(423801),i=e.i(42426),a=e.i(210589),o=e.i(294061);let s="/docs/contract/encodeFunctionData";function c(e){let{abi:t,args:r,functionName:c}=e,u=t[0];if(c){let e=(0,o.getAbiItem)({abi:t,args:r,name:c});if(!e)throw new n.AbiFunctionNotFoundError(c,{docsPath:s});u=e}if("function"!==u.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:s});return{abi:[u],functionName:(0,i.toFunctionSelector)((0,a.formatAbiItem)(u))}}e.s(["prepareEncodeFunctionData",0,c],633006),e.s(["encodeFunctionData",0,function(e){let{args:n}=e,{abi:i,functionName:a}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:c(e),o=i[0],s="inputs"in o&&o.inputs?(0,r.encodeAbiParameters)(o.inputs,n??[]):void 0;return(0,t.concatHex)([a,s??"0x"])}],302459)},543607,e=>{"use strict";var t=e.i(57298);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 o extends t.BaseError{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
22" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}e.s(["ChainDoesNotSupportContract",0,r,"ChainMismatchError",0,n,"ChainNotFoundError",0,i,"ClientChainNotConfiguredError",0,a,"InvalidChainIdError",0,o])},543444,e=>{"use strict";var t=e.i(543607);e.s(["getChainContractAddress",0,function({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}])},819755,e=>{"use strict";e.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"}])},530861,224066,e=>{"use strict";var t=e.i(819755),r=e.i(423801),n=e.i(427772),i=e.i(42426),a=e.i(846709),o=e.i(210589);e.s(["decodeErrorResult",0,function(e){let{abi:s,data:c}=e,u=(0,n.slice)(c,0,4);if("0x"===u)throw new r.AbiDecodingZeroDataError;let f=[...s||[],t.solidityError,t.solidityPanic].find(e=>"error"===e.type&&u===(0,i.toFunctionSelector)((0,o.formatAbiItem)(e)));if(!f)throw new r.AbiErrorSignatureNotFoundError(u,{docsPath:"/docs/contract/decodeErrorResult"});
22return{abiItem:f,args:"inputs"in f&&f.inputs&&f.inputs.length>0?(0,a.decodeAbiParameters)(f.inputs,(0,n.slice)(c,4)):void 0,errorName:f.name}}],530861);var s=e.i(125226);e.s(["formatAbiItemWithArgs",0,function({abiItem:e,args:t,includeFunctionName:r=!0,includeName:n=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${r?e.name:""}(${e.inputs.map((e,r)=>`${n&&e.name?`${e.name}: `:""}${"object"==typeof t[r]?(0,s.stringify)(t[r]):t[r]}`).join(", ")})`}],224066)},20985,e=>{"use strict";var t=e.i(289130),r=e.i(869722);e.s(["formatEther",0,function(e,n="wei"){return(0,r.formatUnits)(e,t.etherUnits[n])}])},854259,e=>{"use strict";var t=e.i(57298);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`,"")}e.s(["AccountStateConflictError",0,r,"StateAssignmentConflictError",0,n,"prettyStateOverride",0,function(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)}])},934657,e=>{"use strict";var t=e.i(20985),r=e.i(577139),n=e.i(57298);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")}class a extends n.BaseError{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}class o 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 c extends n.BaseError{constructor({serializedType:e}){super(`Serialized transaction type "${e}" is invalid.`,{name:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=e}}class u 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 f 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 d extends n.BaseError{constructor(e,{account:n,docsPath:a,chain:o,data:s,gas:c,gasPrice:u,maxFeePerGas:f,maxPriorityFeePerGas:d,nonce:l,to:b,value:p}){const m=i({chain:o&&`${o?.name} (id: ${o?.id})`,from:n?.address,to:b,value:void 0!==p&&`${(0,t.formatEther)(p)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==u&&`${(0,r.formatGwei)(u)} gwei`,maxFeePerGas:void 0!==f&&`${(0,r.formatGwei)(f)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,r.formatGwei)(d)} gwei`,nonce:l});super(e.shortMessage,{cause:e,docsPath:a,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",m].filter(
27Boolean),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 b 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 p 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 m extends n.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}e.s(["FeeConflictError",0,a,"InvalidLegacyVError",0,o,"InvalidSerializableTransactionError",0,s,"InvalidSerializedTransactionError",0,u,"InvalidSerializedTransactionTypeError",0,c,"InvalidStorageKeySizeError",0,f,"TransactionExecutionError",0,d,"TransactionNotFoundError",0,l,"TransactionReceiptNotFoundError",0,b,"TransactionReceiptRevertedError",0,p,"WaitForTransactionReceiptTimeoutError",0,m,"prettyPrint",0,i])},647900,e=>{"use strict";var t=e.i(447102),r=e.i(819755),n=e.i(530861),i=e.i(210589),a=e.i(224066),o=e.i(294061),s=e.i(20985),c=e.i(577139),u=e.i(423801),f=e.i(57298),d=e.i(854259),l=e.i(934657),b=e.i(531392);class p extends f.BaseError{constructor(e,{account:r,docsPath:n,chain:i,data:a,gas:o,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,l.prettyPrint)({from:g?.address,to:m,value:void 0!==h&&`${(0,s.formatEther)(h)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:o,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,d.prettyStateOverride)(y)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(
vendor: 6,021 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:s,functionName:c,sender:u}){const f=(0,o.getAbiItem)({abi:t,args:r,name:c}),d=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,l.prettyPrint)({address:n&&(0,b.getContractAddress)(n),function:p,args:d&&"()"!==d&&`${[...Array(c?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:u});super(e.shortMessage||`An unknown error occurred while executing the contract function "${c}".`,{cause:e,docsPath:s,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:o,message:s}){let c,f,d,l,b;if(t&&"0x"!==t)try{const{abiItem:o,errorName:s,args:c}=f=(0,n.decodeErrorResult)({abi:e,data:t});if("Error"===s)l=c[0];else if("Panic"===s){const[e]=c;l=r.panicReasons[e]}else{const e=o?(0,i.formatAbiItem)(o,{includeName:!0}):void 0,t=o&&c?(0,a.formatAbiItemWithArgs)({abiItem:o,args:c,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?`       ${[...Array(s?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){c=e}else s&&(l=s);c instanceof u.AbiErrorSignatureNotFoundError&&(b=c.signature,d=[`Unable to decode signature "${b}" 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=${b}.`]),super(l&&"execution reverted"!==l||b?[`The contract function "${o}" reverted with the following ${b?"signature":"reason"}:`,l||b].join("\n"):`The contract function "${o}" reverted.`,{cause: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=f,this.raw=t,this.reason=l,this.signature=b}}class y extends f.BaseError{constructor({functionName:e}){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"})}}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",0,p,"ContractFunctionExecutionError",0,m,"ContractFunctionRevertedError",0,h,"ContractFunctionZeroDataError",0,y,"CounterfactualDeploymentFailedError",0,g,"RawContractError",0,v])},385045,216722,351260,266634,e=>{"use strict";var t=e.i(603649),r=e.i(819755),n=e.i(423801),i=e.i(427772),a=e.i(42426),o=e.i(846709),s=e.i(210589);function c(e){let{abi:t,data:r}=e,c=(0,i.slice)(r,0,4),u=t.find(e=>"function"===e.type&&c===(0,a.toFunctionSelector)((0,s.formatAbiItem)(e)));if(!u)throw new n.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:u.name,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,o.decodeAbiParameters)(u.inputs,(0,i.slice)(r,4)):void 0}}e.s(["decodeFunctionData",0,c],216722);var u=e.i(62678),f=e.i(706063),d=e.i(294061);let l="/docs/contract/encodeErrorResult";function b(e){let{abi:t,errorName:r,args:i}=e,o=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,args:i,name:r});if(!e)throw new n.AbiErrorNotFoundError(r,{docsPath:l});o=e}if("error"!==o.type)throw new n.AbiErrorNotFoundError(void 0,{docsPath:l});let c=(0,s.formatAbiItem)(o),b=(0,a.toFunctionSelector)(c),p="0x";if(i&&i.length>0){if(!o.inputs)throw new n.AbiErrorInputsNotFoundError(o.name,{docsPath:l});p=(0,f.encodeAbiParameters)(o.inputs,i)}return(0,u.concatHex)([b,p])}e.s(["encodeErrorResult",0,b],351260);let p="/docs/contract/encodeFunctionResult";function m(e){let{abi:t,functionName:r,result:i}=e,a=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,name:r});if(!e)throw new n.AbiFunctionNotFoundError(r,{docsPath:p});a=e}if("function"!==a.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:p});if(!a.outputs)throw new n.AbiFunctionOutputsNotFoundError(a.name,{docsPath:p});let o=(()=>
28{if(0===a.outputs.length)return[];if(1===a.outputs.length)return[i];if(Array.isArray(i))return i;throw new n.InvalidArrayError(i)})();return(0,f.encodeAbiParameters)(a.outputs,o)}e.s(["encodeFunctionResult",0,m],266634);let h="x-batch-gateway:true";async function y(e){let{data:n,ccipRequest:i}=e,{args:[a]}=c({abi:t.batchGatewayAbi,data:n}),o=[],s=[];return await Promise.all(a.map(async(e,n)=>{try{s[n]=e.urls.includes(h)?await y({data:e.data,ccipRequest:i}):await i(e),o[n]=!1}catch(e){var a;o[n]=!0,s[n]="HttpRequestError"===(a=e).name&&a.status?b({abi:t.batchGatewayAbi,errorName:"HttpError",args:[a.status,a.shortMessage]}):b({abi:[r.solidityError],errorName:"Error",args:["shortMessage"in a?a.shortMessage:a.message]})}})),m({abi:t.batchGatewayAbi,functionName:"query",result:[o,s]})}e.s(["localBatchGatewayRequest",0,y,"localBatchGatewayUrl",0,h],385045)},505961,e=>{"use strict";var t=e.i(373642);let r=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,n=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,i=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,a=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/,o=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,s=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,c=/^receive\(\) external payable$/,u=new Set(["memory","indexed","storage","calldata"]),f=new Set(["indexed"]),d=new Set(["calldata","memory","storage"]);e.s(["eventModifiers",0,f,"execConstructorSignature",0,function(e){return(0,t.execTyped)(o,e)},"execErrorSignature",0,function(e){return(0,t.execTyped)(r,e)},"execEventSignature",0,function(e){return(0,t.execTyped)(n,e)},"execFallbackSignature",0,function(e){return(0,t.execTyped)(s,e)},"execFunctionSignature",0,function(e){return(0,t.execTyped)(i,e)},"execStructSignature",0,function(e){return(0,t.execTyped)(a,e)},"functionModifiers",0,d,"isConstructorSignature",0,function(e){return o.test(e)},"isErrorSignature",0,function(e){return r.test(e)},"isEventSignature",0,function(e){return n.test(e)},"isFallbackSignature",0,function(e){return s.test(e)},"isFunctionSignature",0,function(e){return i.test(e)},"isReceiveSignature",0,function(e){return c.test(e)},"isStructSignature",0,function(e){return a.test(e)},"modifiers",0,u])},753842,e=>{"use strict";class t extends Error{constructor(e,r={}){const n=r.cause instanceof t?r.cause.details:r.cause?.message?r.cause.message:r.details,i=r.cause instanceof t&&r.cause.docsPath||r.docsPath;super([e||"An error occurred.","",...r.metaMessages?[...r.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...n?[`Details: ${n}`]:[],"Version: [email protected]"].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"}),r.cause&&(this.cause=r.cause),this.details=n,this.docsPath=i,this.metaMessages=r.metaMessages,this.shortMessage=e}}e.s(["BaseError",0,t],753842)},733081,182798,e=>{"use strict";var t=e.i(753842);class r extends t.BaseError{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class n 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 i 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(["InvalidAbiItemError",0,r,"UnknownSolidityTypeError",0,i,"UnknownTypeError",0,n],733081);var a=t;class o extends a.BaseError{constructor({param:e}){super("Failed to parse ABI parameter.",{details:`parseAbiParameter(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameter-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParameterError"})}}class s extends a.BaseError{constructor({params:e}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}class c extends a.BaseError{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class u extends a.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 f extends a.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 d extends a.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 l extends a.BaseError{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
28d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}e.s(["InvalidAbiParameterError",0,o,"InvalidAbiParametersError",0,s,"InvalidAbiTypeParameterError",0,l,"InvalidFunctionModifierError",0,d,"InvalidModifierError",0,f,"InvalidParameterError",0,c,"SolidityProtectedKeywordError",0,u],182798)},980907,e=>{"use strict";var t=e.i(753842);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",0,r,"InvalidStructSignatureError",0,i,"UnknownSignatureError",0,n])},694778,e=>{"use strict";var t=e.i(753842);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",0,r])},403013,e=>{"use strict";var t=e.i(753842);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",0,r])},584247,860517,197837,e=>{"use strict";var t=e.i(505961),r=e.i(373642),n=e.i(733081),i=e.i(182798),a=e.i(980907),o=e.i(694778),s=e.i(403013);let c=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}]]);function u(e,r={}){if((0,t.isFunctionSignature)(e))return function(e,r={}){let n=(0,t.execFunctionSignature)(e);if(!n)throw new a.InvalidSignatureError({signature:e,type:"function"});let i=p(n.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(b(i[e],{modifiers:t.functionModifiers,structs:r,type:"function"}));let c=[];if(n.returns){let e=p(n.returns),i=e.length;for(let n=0;n<i;n++)c.push(b(e[n],{modifiers:t.functionModifiers,structs:r,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:o,outputs:c}}(e,r);if((0,t.isEventSignature)(e))return function(e,r={}){let n=(0,t.execEventSignature)(e);if(!n)throw new a.InvalidSignatureError({signature:e,type:"event"});let i=p(n.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(b(i[e],{modifiers:t.eventModifiers,structs:r,type:"event"}));return{name:n.name,type:"event",inputs:o}}(e,r);if((0,t.isErrorSignature)(e))return function(e,r={}){let n=(0,t.execErrorSignature)(e);if(!n)throw new a.InvalidSignatureError({signature:e,type:"error"});let i=p(n.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(b(i[e],{structs:r,type:"error"}));return{name:n.name,type:"error",inputs:o}}(e,r);if((0,t.isConstructorSignature)(e))return function(e,r={}){let n=(0,t.execConstructorSignature)(e);if(!n)throw new a.InvalidSignatureError({signature:e,type:"constructor"});let i=p(n.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(b(i[e],{structs:r,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:o}}(e,r);if((0,t.isFallbackSignature)(e)){var n=e;let r=(0,t.execFallbackSignature)(n);if(!r)throw new a.InvalidSignatureError({signature:n,type:"fallback"});return{type:"fallback",stateMutability:r.stateMutability??"nonpayable"}}if((0,t.isReceiveSignature)(e))return{type:"receive",stateMutability:"payable"};throw new a.UnknownSignatureError({signature:e})}let f=/^(?<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$_]*))?$/,d=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,l=/^u?int$/;function b(e,a){var o,s;let u,y=function(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}`}(e,a?.type,a?.structs);if(c.has(y))return c.get(y);let g=r.isTupleRegex.test(e),v=(0,r.execTyped)(g?d:f,e);if(!v)throw new i.InvalidParameterError({param:e});if(v.name&&("address"===(o=v.name)||"bool"===o||"function"===o||"string"===o||"tuple"===o||r.bytesRegex.test(o)||r.integerRegex.test(o)||h.test(o)))throw new i.SolidityProtectedKeywordError({param:e,name:v.name});let E=v.name?{name:v.name}:{},x="indexed"===v.modifier?{indexed:!0}:{},w=a?.structs??{},$={};if(g){u="tuple";let e=p(v.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(b(e[n],{structs:w}));$={components:t}}else if(v.type in w)u="tuple",$={components:w[v.type]};else if(l.test(v.type))u=`${v.type}256`;else if("address payable"===v.type)u="address";else if(u=v.type,a?.type!=="struct"&&!m(u))throw new n.UnknownSolidityTypeError({type:u});if(v.modifier){if(!a?.modifiers?.has?.(v.modifier))throw new i.InvalidModifierError({param:e,type:a?.type,modifier:v.modifier});if(t.functionModifiers.has(v.modifier)&&(s=u,!v.array&&"bytes"!==s&&"string"!==s&&"tuple"!==s))throw new i.InvalidFunctionModifierError({param:e,type:a?.type,modifier:v.modifier})}let A={type:`${u}${v.array??""}`,...E,...x,...$};return c.set(y,A),A}function p(e,t=[],r="",n=0){let i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],o=e.slice(a+1);switch(i){case",":return 0===n?p(o,[...t,r.trim()]):p(o,t,`${r}${i}`,n);case"(":return p(o,t,`${r}${i}`,n+1);case")":return p(o,t,`${r}${i}`,n-1);default:return p(o,t,`${r}${i}`,n)}}if(""===r)return t;if(0!==n)throw new s.InvalidParenthesisError({current:r,depth:n});return t.push(r.trim()),t}function m(e){return"address"===e||"bool"===e||"function"===e||"string"===e||r.bytesRegex.test(e)||r.integerRegex.test(e)}let h=/^(?: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)$/;function y(e){let s={},c=e.length;for(let r=0;r<c;r++){let n=e[r];if(!(0,t.isStructSignature)(n))continue;let i=(0,t.execStructSignature)(n);if(!i)throw new a.InvalidSignatureError({signature:n,type:"struct"});let o=i.properties.split(";"),c=[],u=o.length;for(let e=0;e<u;
28e++){let t=o[e].trim();if(!t)continue;let r=b(t,{type:"struct"});c.push(r)}if(!c.length)throw new a.InvalidStructSignatureError({signature:n});s[i.name]=c}let u={},f=Object.entries(s),d=f.length;for(let e=0;e<d;e++){let[t,a]=f[e];u[t]=function e(t=[],a={},s=new Set){let c=[],u=t.length;for(let f=0;f<u;f++){let u=t[f];if(r.isTupleRegex.test(u.type))c.push(u);else{let t=(0,r.execTyped)(g,u.type);if(!t?.type)throw new i.InvalidAbiTypeParameterError({abiParameter:u});let{array:f,type:d}=t;if(d in a){if(s.has(d))throw new o.CircularReferenceError({type:d});c.push({...u,type:`tuple${f??""}`,components:e(a[d],a,new Set([...s,d]))})}else if(m(d))c.push(u);else throw new n.UnknownTypeError({type:d})}}return c}(a,s)}return u}e.s(["isSolidityType",0,m,"parseAbiParameter",0,b,"parseSignature",0,u,"splitParameters",0,p],860517);let g=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;e.s(["parseStructs",0,y],197837),e.s(["parseAbi",0,function(e){let r=y(e),n=[],i=e.length;for(let a=0;a<i;a++){let i=e[a];(0,t.isStructSignature)(i)||n.push(u(i,r))}return n}],584247)},169123,727178,609103,191494,205532,e=>{"use strict";e.s(["IntegerOutOfRangeError",()=>A,"InvalidLengthError",()=>B,"SizeExceedsPaddingSizeError",()=>F,"SizeOverflowError",()=>T,"SliceOffsetOutOfBoundsError",()=>S,"concat",()=>f,"from",()=>d,"fromBoolean",()=>l,"fromBytes",()=>b,"fromNumber",()=>p,"fromString",()=>m,"padLeft",()=>h,"padRight",()=>y,"size",()=>v,"slice",()=>g,"toBigInt",()=>x,"toNumber",()=>w,"trimLeft",()=>E,"validate",()=>$],205532);class t extends Error{static setStaticOptions(e){t.prototype.docsOrigin=e.docsOrigin,t.prototype.showVersion=e.showVersion,t.prototype.version=e.version}constructor(e,r={}){const n=(()=>{if(r.cause instanceof t){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return r.cause&&"details"in r.cause&&"string"==typeof r.cause.details?r.cause.details:r.cause?.message?r.cause.message:r.details})(),i=r.cause instanceof t&&r.cause.docsPath||r.docsPath,a=r.docsOrigin??t.prototype.docsOrigin,o=`${a}${i??""}`,s=!!(r.version??t.prototype.showVersion),c=r.version??t.prototype.version;super([e||"An error occurred.",...r.metaMessages?["",...r.metaMessages]:[],...n||i||s?["",n?`Details: ${n}`:void 0,i?`See: ${o}`:void 0,s?`Version: ${c}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),r.cause?{cause:r.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=r.cause,this.details=n,this.docs=o,this.docsOrigin=a,this.docsPath=i,this.shortMessage=e,this.showVersion=s,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)}}function r(e,t){if(v(e)>t)throw new T({givenSize:v(e),maxSize:t})}function n(e,t){if("number"==typeof t&&t>0&&t>v(e)-1)throw new S({offset:t,position:"start",size:v(e)})}function i(e,t,r){if("number"==typeof t&&"number"==typeof r&&v(e)!==r-t)throw new S({offset:r,position:"end",size:v(e)})}function a(e,t={}){let{dir:r,size:n=32}=t;if(0===n)return e;let i=e.replace("0x","");if(i.length>2*n)throw new F({size:Math.ceil(i.length/2),targetSize:n,type:"Hex"});return`0x${i["right"===r?"padEnd":"padStart"](2*n,"0")}`}function o(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}`}function s(e,t,r){return JSON.stringify(e,(e,r)=>"function"==typeof t?t(e,r):"bigint"==typeof r?r.toString()+"#__bigint":r,r)}Object.defineProperty(t,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:"[email protected]"}}),t.setStaticOptions(t.defaultStaticOptions),e.s(["BaseError",0,t],727178),e.s(["assertEndOffset",()=>i,"assertSize",()=>r,"assertStartOffset",()=>n,"pad",()=>a,"trim",()=>o],609103),e.s(["stringify",0,s],191494);let c=new TextEncoder,u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function f(...e){return`0x${e.reduce((e,t)=>
28e+t.replace("0x",""),"")}`}function d(e){return e instanceof Uint8Array?b(e):Array.isArray(e)?b(new Uint8Array(e)):e}function l(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(r(n,t.size),h(n,t.size)):n}function b(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=u[e[t]];let i=`0x${n}`;return"number"==typeof t.size?(r(i,t.size),y(i,t.size)):i}function p(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 o="bigint"==typeof r&&n?-r-1n:0;if(r&&a>r||a<o){let t="bigint"==typeof e?"n":"";throw new A({max:r?`${r}${t}`:void 0,min:`${o}${t}`,signed:n,size:i,value:`${e}${t}`})}let s=(n&&a<0?BigInt.asUintN(8*i,BigInt(a)):a).toString(16),c=`0x${s}`;return i?h(c,i):c}function m(e,t={}){return b(c.encode(e),t)}function h(e,t){return a(e,{dir:"left",size:t})}function y(e,t){return a(e,{dir:"right",size:t})}function g(e,t,r,a={}){let{strict:o}=a;n(e,t);let s=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return o&&i(s,t,r),s}function v(e){return Math.ceil((e.length-2)/2)}function E(e){return o(e,{dir:"left"})}function x(e,t={}){let{signed:n}=t;t.size&&r(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 w(e,t={}){let{signed:r,size:n}=t;return r||n?Number(x(e,t)):Number(e)}function $(e,t={}){let{strict:r=!1}=t;try{return!function(e,t={}){let{strict:r=!1}=t;if(!e||"string"!=typeof e)throw new I(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new P(e)}(e,{strict:r}),!0}catch{return!1}}class A extends t{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}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class I extends t{constructor(e){super(`Value \`${"object"==typeof e?s(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 P extends t{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 B extends t{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 T extends t{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 S extends t{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 F extends t{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"})}}function C(e){return{address:e.address,amount:p(e.amount),index:p(e.index),validatorIndex:p(e.validatorIndex)}}e.s(["toRpc",0,function(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:p(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:p(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:p(e.gasLimit)},..."bigint"==typeof e.number&&{number:p(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:p(e.prevRandao)},..."bigint"==typeof e.time&&{time:p(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(C)}}}],169123)},812766,522260,e=>{"use strict";e.s(["aggregate3Signature",0,"0x82ad56cb"],812766),e.s(["deploylessCallViaBytecodeBytecode",0,"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
28602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe","deploylessCallViaFactoryBytecode",0,"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe","erc6492SignatureValidatorByteCode",0,"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
28603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572","multicall3Bytecode",0,"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
28150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"],522260)},80281,e=>{"use strict";var t=e.i(423801),r=e.i(62678),n=e.i(706063);let i="/docs/contract/encodeDeployData";e.s(["encodeDeployData",0,function(e){let{abi:a,args:o,bytecode:s}=e;if(!o||0===o.length)return s;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,o);return(0,r.concatHex)([s,u])}])},345819,e=>{"use strict";var t=e.i(57298),r=e.i(831414);e.s(["getNodeError",0,function(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})}])},78423,e=>{"use strict";var t=e.i(647900),r=e.i(831414),n=e.i(345819);e.s(["getCallError",0,function(e,{docsPath:i,...a}){let o,s=(o=(0,n.getNodeError)(e,a))instanceof r.UnknownNodeError?e:o;return new t.CallExecutionError(s,{docsPath:i,...a})}])},839400,310449,794617,e=>{"use strict";e.s(["extract",0,function(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}],839400);var t=e.i(501132);function r(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",0,r],310449);let n={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function i(e,r){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=n[e.type]),void 0!==e.value&&(i.value=(0,t.numberToHex)(e.value)),i}let a=r("transactionRequest",i);e.s(["defineTransactionRequest",0,a,"formatTransactionRequest",0,i,"rpcTransactionType",0,n],794617)},345268,e=>{"use strict";var t=e.i(483164),r=e.i(798051),n=e.i(854259),i=e.i(864597),a=e.i(501132);function o(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},{})}e.s(["serializeStateOverride",0,function(e){if(!e)return;let r={};for(let{address:s,...c}of e){if(!(0,i.isAddress)(s,{strict:!1}))throw new t.InvalidAddressError({address:s});if(r[s])throw new n.AccountStateConflictError({address:s});r[s]=function(e){let{balance:t,nonce:r,state:i,stateDiff:s,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=o(i)),void 0!==s){if(u.state)throw new n.StateAssignmentC
28onflictError;u.stateDiff=o(s)}return u}(c)}return r}])},356862,e=>{"use strict";e.s(["maxInt104",0,2n**(104n-1n)-1n,"maxInt112",0,2n**(112n-1n)-1n,"maxInt120",0,2n**(120n-1n)-1n,"maxInt128",0,2n**(128n-1n)-1n,"maxInt136",0,2n**(136n-1n)-1n,"maxInt144",0,2n**(144n-1n)-1n,"maxInt152",0,2n**(152n-1n)-1n,"maxInt16",0,2n**(16n-1n)-1n,"maxInt160",0,2n**(160n-1n)-1n,"maxInt168",0,2n**(168n-1n)-1n,"maxInt176",0,2n**(176n-1n)-1n,"maxInt184",0,2n**(184n-1n)-1n,"maxInt192",0,2n**(192n-1n)-1n,"maxInt200",0,2n**(200n-1n)-1n,"maxInt208",0,2n**(208n-1n)-1n,"maxInt216",0,2n**(216n-1n)-1n,"maxInt224",0,2n**(224n-1n)-1n,"maxInt232",0,2n**(232n-1n)-1n,"maxInt24",0,2n**(24n-1n)-1n,"maxInt240",0,2n**(240n-1n)-1n,"maxInt248",0,2n**(248n-1n)-1n,"maxInt256",0,2n**(256n-1n)-1n,"maxInt32",0,2n**(32n-1n)-1n,"maxInt40",0,2n**(40n-1n)-1n,"maxInt48",0,2n**(48n-1n)-1n,"maxInt56",0,2n**(56n-1n)-1n,"maxInt64",0,2n**(64n-1n)-1n,"maxInt72",0,2n**(72n-1n)-1n,"maxInt8",0,2n**(8n-1n)-1n,"maxInt80",0,2n**(80n-1n)-1n,"maxInt88",0,2n**(88n-1n)-1n,"maxInt96",0,2n**(96n-1n)-1n,"maxUint104",0,2n**104n-1n,"maxUint112",0,2n**112n-1n,"maxUint120",0,2n**120n-1n,"maxUint128",0,2n**128n-1n,"maxUint136",0,2n**136n-1n,"maxUint144",0,2n**144n-1n,"maxUint152",0,2n**152n-1n,"maxUint16",0,2n**16n-1n,"maxUint160",0,2n**160n-1n,"maxUint168",0,2n**168n-1n,"maxUint176",0,2n**176n-1n,"maxUint184",0,2n**184n-1n,"maxUint192",0,2n**192n-1n,"maxUint200",0,2n**200n-1n,"maxUint208",0,2n**208n-1n,"maxUint216",0,2n**216n-1n,"maxUint224",0,2n**224n-1n,"maxUint232",0,2n**232n-1n,"maxUint24",0,2n**24n-1n,"maxUint240",0,2n**240n-1n,"maxUint248",0,2n**248n-1n,"maxUint256",0,2n**256n-1n,"maxUint32",0,2n**32n-1n,"maxUint40",0,2n**40n-1n,"maxUint48",0,2n**48n-1n,"maxUint56",0,2n**56n-1n,"maxUint64",0,2n**64n-1n,"maxUint72",0,2n**72n-1n,"maxUint8",0,2n**8n-1n,"maxUint80",0,2n**80n-1n,"maxUint88",0,2n**88n-1n,"maxUint96",0,2n**96n-1n,"minInt104",0,-(2n**(104n-1n)),"minInt112",0,-(2n**(112n-1n)),"minInt120",0,-(2n**(120n-1n)),"minInt128",0,-(2n**(128n-1n)),"minInt136",0,-(2n**(136n-1n)),"minInt144",0,-(2n**(144n-1n)),"minInt152",0,-(2n**(152n-1n)),"minInt16",0,-(2n**(16n-1n)),"minInt160",0,-(2n**(160n-1n)),"minInt168",0,-(2n**(168n-1n)),"minInt176",0,-(2n**(176n-1n)),"minInt184",0,-(2n**(184n-1n)),"minInt192",0,-(2n**(192n-1n)),"minInt200",0,-(2n**(200n-1n)),"minInt208",0,-(2n**(208n-1n)),"minInt216",0,-(2n**(216n-1n)),"minInt224",0,-(2n**(224n-1n)),"minInt232",0,-(2n**(232n-1n)),"minInt24",0,-(2n**(24n-1n)),"minInt240",0,-(2n**(240n-1n)),"minInt248",0,-(2n**(248n-1n)),"minInt256",0,-(2n**(256n-1n)),"minInt32",0,-(2n**(32n-1n)),"minInt40",0,-(2n**(40n-1n)),"minInt48",0,-(2n**(48n-1n)),"minInt56",0,-(2n**(56n-1n)),"minInt64",0,-(2n**(64n-1n)),"minInt72",0,-(2n**(72n-1n)),"minInt8",0,-(2n**(8n-1n)),"minInt80",0,-(2n**(80n-1n)),"minInt88",0,-(2n**(88n-1n)),"minInt96",0,-(2n**(96n-1n))])},752257,e=>{"use strict";var t=e.i(447102),r=e.i(356862),n=e.i(483164),i=e.i(831414),a=e.i(864597);e.s(["assertRequest",0,function(e){let{account:o,maxFeePerGas:s,maxPriorityFeePerGas:c,to:u}=e,f=o?(0,t.parseAccount)(o):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(s&&s>r.maxUint256)throw new i.FeeCapTooHighError({maxFeePerGas:s});if(c&&s&&c>s)throw new i.TipAboveFeeCapError({maxFeePerGas:s,maxPriorityFeePerGas:c})}])},724889,e=>{"use strict";var t=e.i(584247),r=e.i(169123),n=e.i(447102),i=e.i(603649),a=e.i(812766),o=e.i(522260),s=e.i(57298),c=e.i(543607),u=e.i(647900),f=e.i(243452),d=e.i(80281),l=e.i(302459),b=e.i(543444),p=e.i(501132),m=e.i(78423),h=e.i(839400),y=e.i(794617),g=e.i(840809),v=e.i(345268),E=e.i(752257);async function x(i,f){let{account:l=i.account,authorizationList:b,batch:g=!!i.batch?.multicall,blockNumber:x,blockTag:A=i.experimental_blockTag??"latest",accessList:I,blobs:P,blockOverrides:B,code:T,data:S,factory:F,factoryData:C,gas:z,gasPrice:M,maxFeePerBlobGas:O,maxFeePerGas:N,maxPriorityFeePerGas:R,nonce:j,to:k,value:U,stateOverride:D,...H}=f,L=l?(0,n.parseAccount)(l):void 0;if(T&&(F||C))throw new s.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(T&&k)throw new s.BaseError("Cannot provide both `code` & `to` as parameters.");let G=T&&S,V=F&&C&&k&&S,_=G||V,Z=G?$({code:T,data:S}):V?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:o.deploylessCallViaFactoryBytecode,args:[a,r,n,i]})}({data:S,factory:F,factoryData:C,to:k}):S;try{let e;(0,E.assertRequest)(f);let t=("bigint"==typeof x?(0,p.numberToHex)(x):void 0)||A,n=B?r.toRpc(B):void 0,o=(0,v.serializeStateOverride)(D),s=i.chain?.formatters?.transactionRequest?.format,u=(s||y.formatTransactionRequest)({...(0,h.extract)(H,{format:s}),accessList:I,account:L,authorizationList:b,blobs:P,data:Z,gas:z,gasPrice:M,maxFeePerBlobGas:O,maxFeePerGas:N,maxPriorityFeePerGas:R,nonce:j,to:_?void 0:k,value:U},"call");if(g&&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}
vendor: 2,391 bytes, line 28
28)&&!o&&!n)try{return await w(i,{...u,blockNumber:x,blockTag:A})}catch(e){if(!(e instanceof c.ClientChainNotConfiguredError)&&!(e instanceof c.ChainDoesNotSupportContract))throw e}let d=(e=[u,t],o&&n?[...e,o,n]:o?[...e,o]:n?[...e,{},n]:e),l=await i.request({method:"eth_call",params:d});if("0x"===l)return{data:void 0};return{data:l}}catch(a){let t=function(e){if(!(e instanceof s.BaseError))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:r,offchainLookupSignature:n}=await e.A(870671);if(!1!==i.ccipRead&&t?.slice(0,10)===n&&k)return{data:await r(i,{data:t,to:k})};if(_&&t?.slice(0,10)==="0x101bb98d")throw new u.CounterfactualDeploymentFailedError({factory:F});throw(0,m.getCallError)(a,{...f,account:L,chain:i.chain})}}async function w(e,t){let{batchSize:r=1024,deployless:n=!1,wait:a=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:s,blockTag:d=e.experimental_blockTag??"latest",data:m,to:h}=t,y=(()=>{if(n)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return(0,b.getChainContractAddress)({blockNumber:s,chain:e.chain,contract:"multicall3"});throw new c.ClientChainNotConfiguredError})(),v=("bigint"==typeof s?(0,p.numberToHex)(s):void 0)||d,{schedule:E}=(0,g.createBatchScheduler)({id:`${e.uid}.${v}`,wait:a,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*r,fn:async t=>{let r=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),n=(0,l.encodeFunctionData)({abi:i.multicall3Abi,args:[r],functionName:"aggregate3"}),a=await e.request({method:"eth_call",params:[{...null===y?{data:$({code:o.multicall3Bytecode,data:n})}:{to:y,data:n}},v]});return(0,f.decodeFunctionResult)({abi:i.multicall3Abi,args:[r],functionName:"aggregate3",data:a||"0x"})}}),[{returnData:x,success:w}]=await E({data:m,to:h});if(!w)throw new u.RawContractError({data:x});return"0x"===x?{data:void 0}:{data:x}}function $(e){let{code:r,data:n}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(bytes, bytes)"]),bytecode:o.deploylessCallViaBytecodeBytecode,args:[r,n]})}e.s(["call",0,x])},622957,e=>{"use strict";var t=e.i(483164),r=e.i(864597);e.s(["isAddressEqual",0,function(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()}])}]);

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.