1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,363625,e=>{"use strict";var r=e.i(189991),t=e.i(606624);function o(e){let{batch:o,chain:s,ccipRead:n,dataSuffix:i,key:a="base",name:c="Base Client",type:u="base"}=e,l=e.experimental_blockTag??("number"==typeof s?.experimental_preconfirmationTime?"pending":void 0),d=Math.min(Math.max(Math.floor((s?.blockTime??12e3)/2),500),4e3),h=e.pollingInterval??d,p=e.cacheTime??h,f=e.account?(0,r.parseAccount)(e.account):void 0,{config:b,request:g,value:m}=e.transport({account:f,chain:s,pollingInterval:h}),w={account:f,batch:o,cacheTime:p,ccipRead:n,chain:s,dataSuffix:i,key:a,name:c,pollingInterval:h,request:g,transport:{...b,...m},type:u,uid:(0,t.uid)(),...l?{experimental_blockTag:l}:{}};return Object.assign(w,{extend:function e(r){return t=>{let o=t(r);for(let e in w)delete o[e];let s={...r,...o};return Object.assign(s,{extend:e(s)})}}(w)})}function s(){return null}e.s(["createClient",()=>o,"rpcSchema",()=>s])},533580,e=>{"use strict";let r=new(e.i(976677)).LruMap(8192);function t(e,{enabled:t=!0,id:o}){if(!t||!o)return e();if(r.get(o))return r.get(o);let s=e().finally(()=>r.delete(o));return r.set(o,s),s}e.s(["withDedupe",()=>t])},588233,e=>{"use strict";async function r(e){return new Promise(r=>setTimeout(r,e))}e.s(["wait",()=>r])},204202,e=>{"use strict";var r=e.i(588233);function t(e,{delay:o=100,retryCount:s=2,shouldRetry:n=()=>!0}={}){return new Promise((t,i)=>{let a=async({count:c=0}={})=>{let u=async({error:e})=>{let t="function"==typeof o?o({count:c,error:e}):o;t&&await (0,r.wait)(t),a({count:c+1})};try{let r=await e();t(r)}catch(e){if(c<s&&await n({count:c,error:e}))return u({error:e});i(e)}};a()})}e.s(["withRetry",()=>t])},557265,e=>{"use strict";var r=e.i(569934),t=e.i(95767),o=e.i(383856),s=e.i(675107),n=e.i(533580),i=e.i(204202),a=e.i(34888);function c(e,u={}){return async(c,l={})=>{let{dedupe:d=!1,methods:h,retryDelay:p=150,retryCount:f=3,uid:b}={...u,...l},{method:g}=c;if(h?.exclude?.includes(g)||h?.include&&!h.include.includes(g))throw new o.MethodNotSupportedRpcError(Error("method not supported"),{method:g});let m=d?(0,s.stringToHex)(`${b}.${(0,a.stringify)(c)}`):void 0;return(0,n.withDedupe)(()=>(0,i.withRetry)(async()=>{try{return await e(c)}catch(e){switch(e.code){case o.ParseRpcError.code:throw new o.ParseRpcError(e);case o.InvalidRequestRpcError.code:throw new o.InvalidRequestRpcError(e);case o.MethodNotFoundRpcError.code:throw new o.MethodNotFoundRpcError(e,{method:c.method});case o.InvalidParamsRpcError.code:throw new o.InvalidParamsRpcError(e);case o.InternalRpcError.code:throw new o.InternalRpcError(e);case o.InvalidInputRpcError.code:throw new o.InvalidInputRpcError(e);case o.ResourceNotFoundRpcError.code:throw new o.ResourceNotFoundRpcError(e);case o.ResourceUnavailableRpcError.code:throw new o.ResourceUnavailableRpcError(e);case o.TransactionRejectedRpcError.code:throw new o.TransactionRejectedRpcError(e);case o.MethodNotSupportedRpcError.code:throw new o.MethodNotSupportedRpcError(e,{method:c.method});case o.LimitExceededRpcError.code:throw new o.LimitExceededRpcError(e);case o.JsonRpcVersionUnsupportedError.code:throw new o.JsonRpcVersionUnsupportedError(e);case o.UserRejectedRequestError.code:throw new o.UserRejectedRequestError(e);case o.UnauthorizedProviderError.code:throw new o.UnauthorizedProviderError(e);case o.UnsupportedProviderMethodError.code:throw new o.UnsupportedProviderMethodError(e);case o.ProviderDisconnectedError.code:throw new o.ProviderDisconnectedError(e);case o.ChainDisconnectedError.code:throw new o.ChainDisconnectedError(e);case o.SwitchChainError.code:throw new o.SwitchChainError(e);case o.UnsupportedNonOptionalCapabilityError.code:throw new o.UnsupportedNonOptionalCapabilityError(e);case o.UnsupportedChainIdError.code:throw new o.UnsupportedChainIdError(e);case o.DuplicateIdError.code:throw new o.DuplicateIdError(e);case o.UnknownBundleIdError.code:throw new o.UnknownBundleIdError(e);case o.BundleTooLargeError.code:throw new o.BundleTooLargeError(e);case o.AtomicReadyWalletRejectedUpgradeError.code:throw new o.AtomicReadyWalletRejectedUpgradeError(e);case o.AtomicityNotSupportedError.code:throw new o.AtomicityNotSupportedError(e);case 5e3:throw new o.UserRejectedRequestError(e);default:if(e instanceof r.BaseError)throw e;throw new o.UnknownRpcError(e)}}},{delay:({count:e,error:r})=>{if(r&&r instanceof t.HttpRequestError){let e=r?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*p},retryCount:f,shouldRetry:({error:e})=>{var r;return"code"in(r=e)&&"number"==typeof r.code?-1===r.code||r.code===o.LimitExceededRpcError.code||r.code===o.InternalRpcError.code:!(r instanceof t.HttpRequestError)||!r.status||403===r.status||408===r.status||413===r.status||429===r.status||500===r.status||502===r.status||503===r.status||504===r.status||!1}}),{enabled:d,id:m})}}e.s(["buildRequest",()=>c])},606624,e=>{"use strict";let r,t=256;function o(e=11){if(!r||t+e>512){r="",t=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(t,t+++e)}e.s(["uid",()=>o])},695331,e=>{"use strict";var r=e.i(557265),t=e.i(606624);function o({key:e,methods:o,name:s,request:n,retryCount:i=3,retryDelay:a=150,timeout:c,type:u},l){let d=(0,t.uid)();return{config:{key:e,methods:o,name:s,request:n,retryCount:i,retryDelay:a,timeout:c,type:u},request:(0,r.buildRequest)(n,{methods:o,retryCount:i,retryDelay:a,uid:d}),value:l}}e.s(["createTransport",()=>o])},189991,e=>{"use strict";function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}e.s(["parseAccount",()=>r])},608861,e=>{"use strict";var r=e.i(569934);class t extends r.BaseError{constructor({address:e}){super(`Address "${e}
1" 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",()=>t])},831095,e=>{"use strict";var r=e.i(145535),t=e.i(880841),o=e.i(769936),s=e.i(675107);function n(e,n){let i=(0,r.keccak_256)((0,t.isHex)(e,{strict:!1})?(0,o.toBytes)(e):e);return"bytes"===(n||"hex")?i:(0,s.toHex)(i)}e.s(["keccak256",()=>n])},796516,e=>{"use strict";e.s(["isAddress",()=>n]);var r=e.i(976677),t=e.i(823838);let o=/^0x[a-fA-F0-9]{40}$/,s=new r.LruMap(8192);function n(e,r){let{strict:n=!0}=r??{},i=`${e}.${n}`;if(s.has(i))return s.get(i);let a=!!o.test(e)&&(e.toLowerCase()===e||!n||(0,t.checksumAddress)(e)===e);return s.set(i,a),a}},823838,e=>{"use strict";e.s(["checksumAddress",()=>a,"getAddress",()=>c]);var r=e.i(608861),t=e.i(769936),o=e.i(831095),s=e.i(976677),n=e.i(796516);let i=new s.LruMap(8192);function a(e,r){if(i.has(`${e}.${r}`))return i.get(`${e}.${r}`);let s=r?`${r}${e.toLowerCase()}`:e.substring(2).toLowerCase(),n=(0,o.keccak256)((0,t.stringToBytes)(s),"bytes"),a=(r?s.substring(`${r}0x`.length):s).split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&a[e]&&(a[e]=a[e].toUpperCase()),(15&n[e>>1])>=8&&a[e+1]&&(a[e+1]=a[e+1].toUpperCase());let c=`0x${a.join("")}`;return i.set(`${e}.${r}`,c),c}function c(e,t){if(!(0,n.isAddress)(e,{strict:!1}))throw new r.InvalidAddressError({address:e});return a(e,t)}},383856,e=>{"use strict";var r=e.i(569934),t=e.i(95767);class o extends r.BaseError{constructor(e,{code:r,docsPath:o,metaMessages:s,name:n,shortMessage:i}){super(i,{cause:e,docsPath:o,metaMessages:s||e?.metaMessages,name:n||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n||e.name,this.code=e instanceof t.RpcRequestError?e.code:r??-1}}class s extends o{constructor(e,r){super(e,r),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r.data}}class n extends o{constructor(e){super(e,{code:n.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(n,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class i extends o{constructor(e){super(e,{code:i.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class a extends o{constructor(e,{method:r}={}){super(e,{code:a.code,name:"MethodNotFoundRpcError",shortMessage:`The method${r?` "${r}"`:""} does not exist / is not available.`})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class c extends o{constructor(e){super(e,{code:c.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class u extends o{constructor(e){super(e,{code:u.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class l extends o{constructor(e){super(e,{code:l.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class d extends o{constructor(e){super(e,{code:d.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class h extends o{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class p extends o{constructor(e){super(e,{code:p.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class f extends o{constructor(e,{method:r}={}){super(e,{code:f.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${r?` "${r}"`:""} is not supported.`})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class b extends o{constructor(e){super(e,{code:b.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends o{constructor(e){super(e,{code:g.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class m extends s{constructor(e){super(e,{code:m.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends s{constructor(e){super(e,{code:w.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class y extends s{constructor(e,{method:r}={}){super(e,{code:y.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${r?` " ${r}"`:""}.`})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class E extends s{constructor(e){super(e,{code:E.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class v extends s{constructor(e){super(e,{code:v.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends s{constructor(e){super(e,{code:x.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class R extends s{constructor(e){super(e,{code:R.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class I extends s{constructor(e){super(e,{code:I.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class B extends s{constructor(e){super(e,{code:B.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class O extends s{constructor(e){super(e,{code:O.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class $ extends s{constructor(e){super(e,{code:$.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class P extends s{constructor(e){super(e,{code:P.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750}
1);class U extends s{constructor(e){super(e,{code:U.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(U,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class M extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}e.s(["AtomicReadyWalletRejectedUpgradeError",()=>P,"AtomicityNotSupportedError",()=>U,"BundleTooLargeError",()=>$,"ChainDisconnectedError",()=>v,"DuplicateIdError",()=>B,"InternalRpcError",()=>u,"InvalidInputRpcError",()=>l,"InvalidParamsRpcError",()=>c,"InvalidRequestRpcError",()=>i,"JsonRpcVersionUnsupportedError",()=>g,"LimitExceededRpcError",()=>b,"MethodNotFoundRpcError",()=>a,"MethodNotSupportedRpcError",()=>f,"ParseRpcError",()=>n,"ProviderDisconnectedError",()=>E,"ProviderRpcError",()=>s,"ResourceNotFoundRpcError",()=>d,"ResourceUnavailableRpcError",()=>h,"RpcError",()=>o,"SwitchChainError",()=>x,"TransactionRejectedRpcError",()=>p,"UnauthorizedProviderError",()=>w,"UnknownBundleIdError",()=>O,"UnknownRpcError",()=>M,"UnsupportedChainIdError",()=>I,"UnsupportedNonOptionalCapabilityError",()=>R,"UnsupportedProviderMethodError",()=>y,"UserRejectedRequestError",()=>m])},709361,e=>{"use strict";let r=BigInt(0x100000000-1),t=BigInt(32);function o(e,s=!1){let n=e.length,i=new Uint32Array(n),a=new Uint32Array(n);for(let o=0;o<n;o++){let{h:n,l:c}=function(e,o=!1){return o?{h:Number(e&r),l:Number(e>>t&r)}:{h:0|Number(e>>t&r),l:0|Number(e&r)}}(e[o],s);[i[o],a[o]]=[n,c]}return[i,a]}let s=(e,r,t)=>e>>>t,n=(e,r,t)=>e<<32-t|r>>>t,i=(e,r,t)=>e>>>t|r<<32-t,a=(e,r,t)=>e<<32-t|r>>>t,c=(e,r,t)=>e<<64-t|r>>>t-32,u=(e,r,t)=>e>>>t-32|r<<64-t,l=(e,r,t)=>e<<t|r>>>32-t,d=(e,r,t)=>r<<t|e>>>32-t,h=(e,r,t)=>r<<t-32|e>>>64-t,p=(e,r,t)=>e<<t-32|r>>>64-t;function f(e,r,t,o){let s=(r>>>0)+(o>>>0);return{h:e+t+(s/0x100000000|0)|0,l:0|s}}let b=(e,r,t)=>(e>>>0)+(r>>>0)+(t>>>0),g=(e,r,t,o)=>r+t+o+(e/0x100000000|0)|0,m=(e,r,t,o)=>(e>>>0)+(r>>>0)+(t>>>0)+(o>>>0),w=(e,r,t,o,s)=>r+t+o+s+(e/0x100000000|0)|0,y=(e,r,t,o,s)=>(e>>>0)+(r>>>0)+(t>>>0)+(o>>>0)+(s>>>0),E=(e,r,t,o,s,n)=>r+t+o+s+n+(e/0x100000000|0)|0;e.s(["add",()=>f,"add3H",()=>g,"add3L",()=>b,"add4H",()=>w,"add4L",()=>m,"add5H",()=>E,"add5L",()=>y,"rotlBH",()=>h,"rotlBL",()=>p,"rotlSH",()=>l,"rotlSL",()=>d,"rotrBH",()=>c,"rotrBL",()=>u,"rotrSH",()=>i,"rotrSL",()=>a,"shrSH",()=>s,"shrSL",()=>n,"split",()=>o])},470525,e=>{"use strict";let r="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function t(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function o(e,...r){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(r.length>0&&!r.includes(e.length))throw Error("Uint8Array expected of length "+r+", got length="+e.length)}function s(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");t(e.outputLen),t(e.blockLen)}function n(e,r=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(r&&e.finished)throw Error("Hash#digest() has already been called")}function i(e,r){o(e);let t=r.outputLen;if(e.length<t)throw Error("digestInto() expects output buffer of length at least "+t)}function a(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function c(...e){for(let r=0;r<e.length;r++)e[r].fill(0)}function u(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function l(e,r){return e<<32-r|e>>>r}function d(e,r){return e<<r|e>>>32-r>>>0}let h=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let t=0;t<e.length;t++){var r;e[t]=(r=e[t])<<24&0xff000000|r<<8&0xff0000|r>>>8&65280|r>>>24&255}return e};function p(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}(e)),o(e),e}function f(...e){let r=0;for(let t=0;t<e.length;t++){let s=e[t];o(s),r+=s.length}let t=new Uint8Array(r);for(let r=0,o=0;r<e.length;r++){let s=e[r];t.set(s,o),o+=s.length}return t}class b{}function g(e){let r=r=>e().update(p(r)).digest(),t=e();return r.outputLen=t.outputLen,r.blockLen=t.blockLen,r.create=()=>e(),r}function m(e){let r=(r,t)=>e(t).update(p(r)).digest(),t=e({});return r.outputLen=t.outputLen,r.blockLen=t.blockLen,r.create=r=>e(r),r}function w(e=32){if(r&&"function"==typeof r.getRandomValues)return r.getRandomValues(new Uint8Array(e));if(r&&"function"==typeof r.randomBytes)return Uint8Array.from(r.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}e.s(["Hash",()=>b,"abytes",()=>o,"aexists",()=>n,"ahash",()=>s,"anumber",()=>t,"aoutput",()=>i,"clean",()=>c,"concatBytes",()=>f,"createHasher",()=>g,"createView",()=>u,"createXOFer",()=>m,"randomBytes",()=>w,"rotl",()=>d,"rotr",()=>l,"swap32IfBE",0,h,"toBytes",()=>p,"u32",()=>a],470525)},145535,e=>{"use strict";var r=e.i(709361),t=e.i(470525);let o=BigInt(0),s=BigInt(1),n=BigInt(2),i=BigInt(7),a=BigInt(256),c=BigInt(113),u=[],l=[],d=[];for(let e=0,r=s,t=1,h=0;e<24;e++){[t,h]=[h,(2*t+3*h)%5],u.push(2*(5*h+t)),l.push((e+1)*(e+2)/2%64);let p=o;for(let e=0;e<7;e++)(r=(r<<s^(r>>i)*c)%a)&n&&(p^=s<<(s<<BigInt(e))-s);d.push(p)}let h=(0,r.split)(d,!0),p=h[0],f=h[1],b=(e,t,o)=>o>32?(0,r.rotlBH)(e,t,o):(0,r.rotlSH)(e,t,o),g=(e,t,o)=>o>32?(0,r.rotlBL)(e,t,o):(0,r.rotlSL)(e,t,o);class m extends t.Hash{constructor(e,r,o,s=!1,n=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=r,this.outputLen=o,this.enableXOF=s,this.rounds=n,(0,t.anumber)(o),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,t.u32)(this.state)}clone(){return this._cloneInto()}keccak(){(0,t.swap32IfBE)(this.state32),function(e,r=24){let o=new Uint32Array(10);for(let t=24-r;t<24;t++){for(let r=0;r<10;r++)o[r]=e[r]^e[r+10]^e[r+20]^e[r+30]^e[r+40];for(let r=0;r<10;r+=2){let t=(r+8)%10,s=(r+2)%10,n=o[s],i=o[s+1],a=b(n,i,1)^o[t],c=g(n,i,1)^o[t+1];for(let t=0;t<50;t+=10)e[r+t]^=a,e[r+t+1]^=c}let r=e[2],s=e[3];for(let t=0;t<24;t++){let o=l[t],n=b(r,s,o),i=g(r,s,o),a=u[t];r=e[a],s=e[a+1],e[a]=n,e[a+1]=i}for(let r=0;r<50;r+=10){for(let t=0;t<10;t++)o[t]=e[r+t];for(let t=0;t<10;t++)e[r+t]^=~o[(t+2)%10]&o[(t+4)%10]}e[0]^=p[t],e[1]^=f[t]}(0,t.clean)(o)}(this.state32,this.rounds),(0,t.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(e){(0,t.aexists)(this),e=(0,t.toBytes)(e),(0,t.abytes)(e);let{blockLen:r,state:o}=this,s=e.length;for(let t=0;t<s;){let n=Math.min(r-this.pos,s-t);for(let r=0;r<n;r++)o[this.pos++]^=e[t++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:r,pos:t,blockLen:o}=this;e[t]^=r,(128&r)!=0&&t===o-1&&this.keccak(),e[o-1]^=128,this.keccak()}writeInto(e){(0,t.aexists)(this,!1),(0,t.abytes)(e),this.finish();let r=this.state,{blockLen:o}=this;for(let t=0,s=e.length;t<s;){this.posOut>=o&&this.keccak();let n=Math.min(o-this.posOut,s-t);e.set(r.subarray(this.posOut,this.posOut+n),t),this.posOut+=n,t+=n}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,t.anumber)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,t.aoutput)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,t.clean)(this.state)}_cloneInto(e){let{blockLen:r,suffix:t,outputLen:o,rounds:s,enableXOF:n}=this;return e||(e=new m(r,t,o,n,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=t,e.outputLen=o,e.enableXOF=n,e.destroyed=this.destroyed,e}}let w=(0,t.createHasher)(()=>new m(136,1,32));e.s(["keccak_256",0,w])},34888,e=>{"use strict";e.s(["stringify",0,(e,r,t)=>JSON.stringify(e,(e,t)=>{let o="bigint"==typeof t?t.toString():t;return"function"==typeof r?r(e,o):o},t)])},569934,e=>{"use strict";let r="2.45.1",t={getDocsUrl:({docsBaseUrl:e,docsPath:r="",docsSlug:t})=>r?`${e??"https://viem.sh"}${r}${t?`#${t}`:""}`:void 0,version:`viem@${r}`};function o(e){t=e}
1class s extends Error{constructor(e,o={}){const n=o.cause instanceof s?o.cause.details:o.cause?.message?o.cause.message:o.details,i=o.cause instanceof s&&o.cause.docsPath||o.docsPath,a=t.getDocsUrl?.({...o,docsPath:i});super([e||"An error occurred.","",...o.metaMessages?[...o.metaMessages,""]:[],...a?[`Docs: ${a}`]:[],...n?[`Details: ${n}`]:[],...t.version?[`Version: ${t.version}`]:[]].join("\n"),o.cause?{cause:o.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=i,this.metaMessages=o.metaMessages,this.name=o.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(r,t){return t?.(r)?r:r&&"object"==typeof r&&"cause"in r&&void 0!==r.cause?e(r.cause,t):t?null:r}(this,e)}}e.s(["BaseError",()=>s,"setErrorConfig",()=>o],569934)},363710,e=>{"use strict";e.s(["getContractAddress",0,e=>e,"getUrl",0,e=>e])},95767,e=>{"use strict";var r=e.i(34888),t=e.i(569934),o=e.i(363710);class s extends t.BaseError{constructor({body:e,cause:t,details:s,headers:n,status:i,url:a}){super("HTTP request failed.",{cause:t,details:s,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,o.getUrl)(a)}`,e&&`Request body: ${(0,r.stringify)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=n,this.status=i,this.url=a}}class n extends t.BaseError{constructor({body:e,cause:t,details:s,url:n}){super("WebSocket request failed.",{cause:t,details:s,metaMessages:[`URL: ${(0,o.getUrl)(n)}`,e&&`Request body: ${(0,r.stringify)(e)}`].filter(Boolean),name:"WebSocketRequestError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=n}}class i extends t.BaseError{constructor({body:e,error:t,url:s}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,o.getUrl)(s)}`,`Request body: ${(0,r.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data,this.url=s}}class a extends t.BaseError{constructor({url:e}={}){super("The socket has been closed.",{metaMessages:[e&&`URL: ${(0,o.getUrl)(e)}`].filter(Boolean),name:"SocketClosedError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=e}}class c extends t.BaseError{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.getUrl)(t)}`,`Request body: ${(0,r.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=t}}e.s(["HttpRequestError",()=>s,"RpcRequestError",()=>i,"SocketClosedError",()=>a,"TimeoutError",()=>c,"WebSocketRequestError",()=>n])},871706,509486,e=>{"use strict";function r(){let e=()=>void 0,r=()=>void 0;return{promise:new Promise((t,o)=>{e=t,r=o}),resolve:e,reject:r}}e.s(["withResolvers",()=>r],509486);let t=new Map;function o({fn:e,id:o,shouldSplitBatch:s,wait:n=0,sort:i}){let a=async()=>{let r=u();c();let t=r.map(({args:e})=>e);0!==t.length&&e(t).then(e=>{i&&Array.isArray(e)&&e.sort(i);for(let t=0;t<r.length;t++){let{resolve:o}=r[t];o?.([e[t],e])}}).catch(e=>{for(let t=0;t<r.length;t++){let{reject:o}=r[t];o?.(e)}})},c=()=>t.delete(o),u=()=>t.get(o)||[],l=e=>t.set(o,[...u(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:o,reject:i}=r();return(s?.([...u().map(({args:e})=>e),e])&&a(),u().length>0)?l({args:e,resolve:o,reject:i}):(l({args:e,resolve:o,reject:i}),setTimeout(a,n)),t}}
1}e.s(["createBatchScheduler",()=>o],871706)},400564,e=>{"use strict";var r=e.i(569934);class t extends r.BaseError{constructor({max:e,min:r,signed:t,size:o,value:s}){super(`Number "${s}" is not in safe ${o?`${8*o}-bit ${t?"signed":"unsigned"} `:""}integer range ${e?`(${r} to ${e})`:`(above ${r})`}`,{name:"IntegerOutOfRangeError"})}}class o extends r.BaseError{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class s extends r.BaseError{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class n extends r.BaseError{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`,{name:"InvalidHexValueError"})}}class i extends r.BaseError{constructor({givenSize:e,maxSize:r}){super(`Size cannot exceed ${r} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}e.s(["IntegerOutOfRangeError",()=>t,"InvalidBytesBooleanError",()=>o,"InvalidHexBooleanError",()=>s,"InvalidHexValueError",()=>n,"SizeOverflowError",()=>i])},22411,587286,e=>{"use strict";var r=e.i(569934);class t extends r.BaseError{constructor({offset:e,position:r,size:t}){super(`Slice ${"start"===r?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${t}).`,{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} size (${e}) exceeds padding size (${r}).`,{name:"SizeExceedsPaddingSizeError"})}}class s extends r.BaseError{constructor({size:e,targetSize:r,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} is expected to be ${r} ${t} long, but is ${e} ${t} long.`,{name:"InvalidBytesLengthError"})}}function n(e,{dir:r,size:t=32}={}){return"string"==typeof e?i(e,{dir:r,size:t}):a(e,{dir:r,size:t})}function i(e,{dir:r,size:t=32}={}){if(null===t)return e;let s=e.replace("0x","");if(s.length>2*t)throw new o({size:Math.ceil(s.length/2),targetSize:t,type:"hex"});return`0x${s["right"===r?"padEnd":"padStart"](2*t,"0")}`}function a(e,{dir:r,size:t=32}={}){if(null===t)return e;if(e.length>t)throw new o({size:e.length,targetSize:t,type:"bytes"});let s=new Uint8Array(t);for(let o=0;o<t;o++){let n="right"===r;s[n?o:t-o-1]=e[n?o:e.length-o-1]}return s}e.s(["InvalidBytesLengthError",()=>s,"SizeExceedsPaddingSizeError",()=>o,"SliceOffsetOutOfBoundsError",()=>t],587286),e.s(["pad",()=>n,"padBytes",()=>a,"padHex",()=>i],22411)},401319,880841,e=>{"use strict";function r(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}function t(e){return r(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}e.s(["isHex",()=>r],880841),e.s(["size",()=>t],401319)},8406,e=>{"use strict";function r(e,{dir:t="left"}={}){let o="string"==typeof e?e.replace("0x",""):e,s=0;for(let e=0;e<o.length-1;e++)if("0"===o["left"===t?e:o.length-e-1].toString())s++;else break;return(o="left"===t?o.slice(s):o.slice(0,o.length-s),"string"==typeof e)?(1===o.length&&"right"===t&&(o=`${o}0`),`0x${o.length%2==1?`0${o}`:o}`):o}e.s(["trim",()=>r])},769936,e=>{"use strict";e.s(["boolToBytes",()=>c,"hexToBytes",()=>l,"numberToBytes",()=>d,"stringToBytes",()=>h,"toBytes",()=>a]);var r=e.i(569934),t=e.i(880841),o=e.i(22411),s=e.i(450323),n=e.i(675107);let i=new TextEncoder;function a(e,r={}){return"number"==typeof e||"bigint"==typeof e?d(e,r):"boolean"==typeof e?c(e,r):(0,t.isHex)(e)?l(e,r):h(e,r)}function c(e,r={}){let t=new Uint8Array(1);return(t[0]=Number(e),"number"==typeof r.size)?((0,s.assertSize)(t,{size:r.size}),(0,o.pad)(t,{size:r.size})):t}function u(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function l(e,t={}){let n=e;t.size&&((0,s.assertSize)(n,{size:t.size}),n=(0,o.pad)(n,{dir:"right",size:t.size}));let i=n.slice(2);i.length%2&&(i=`0${i}`);let a=i.length/2,c=new Uint8Array(a);for(let e=0,t=0;e<a;e++){let o=u(i.charCodeAt(t++)),s=u(i.charCodeAt(t++));if(void 0===o||void 0===s)throw new r.BaseError(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);c[e]=16*o+s}return c}function d(e,r){return l((0,n.numberToHex)(e,r))}function h(e,r={}){let t=i.encode(e);return"number"==typeof r.size?((0,s.assertSize)(t,{size:r.size}),(0,o.pad)(t,{dir:"right",size:r.size})):t}},675107,450323,e=>{"use strict";e.s(["boolToHex",()=>f,"bytesToHex",()=>b,"numberToHex",()=>g,"stringToHex",()=>w,"toHex",()=>p],675107);var r=e.i(400564),t=e.i(22411);e.s(["assertSize",()=>i,"fromHex",()=>a,"hexToBigInt",()=>c,"hexToBool",()=>u,"hexToNumber",()=>l,"hexToString",()=>d],450323);var o=e.i(401319),s=e.i(8406),n=e.i(769936);function i(e,{size:t}){if((0,o.size)(e)>t)throw new r.SizeOverflowError({givenSize:(0,o.size)(e),maxSize:t})}function a(e,r){let t="string"==typeof r?{to:r}:r,o=t.to;return"number"===o?l(e,t):"bigint"===o?c(e,t):"string"===o?d(e,t):"boolean"===o?u(e,t):(0,n.hexToBytes)(e,t)}function c(e,r={}){let{signed:t}=r;r.size&&i(e,{size:r.size});let o=BigInt(e);if(!t)return o;let s=(e.length-2)/2;return o<=(1n<<8n*BigInt(s)-1n)-1n?o:o-BigInt(`0x${"f".padStart(2*s,"f")}`)-1n}function u(e,t={}){let o=e;if(t.size&&(i(o,{size:t.size}),o=(0,s.trim)(o)),"0x00"===(0,s.trim)(o))return!1;if("0x01"===(0,s.trim)(o))return!0;throw new r.InvalidHexBooleanError(o)}function l(e,t={}){let o=c(e,t),s=Number(o);if(!Number.isSafeInteger(s))throw new r.IntegerOutOfRangeError({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${o}n`});return s}function d(e,r={}){let t=(0,n.hexToBytes)(e);return r.size&&(i(t,{size:r.size}),t=(0,s.trim)(t,{dir:"right"})),new TextDecoder().decode(t)}let h=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function p(e,r={}
vendor: 1,356 bytes, line 1
1){return"number"==typeof e||"bigint"==typeof e?g(e,r):"string"==typeof e?w(e,r):"boolean"==typeof e?f(e,r):b(e,r)}function f(e,r={}){let o=`0x${Number(e)}`;return"number"==typeof r.size?(i(o,{size:r.size}),(0,t.pad)(o,{size:r.size})):o}function b(e,r={}){let o="";for(let r=0;r<e.length;r++)o+=h[e[r]];let s=`0x${o}`;return"number"==typeof r.size?(i(s,{size:r.size}),(0,t.pad)(s,{dir:"right",size:r.size})):s}function g(e,o={}){let s,{signed:n,size:i}=o,a=BigInt(e);i?s=n?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(s=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof s&&n?-s-1n:0;if(s&&a>s||a<c){let t="bigint"==typeof e?"n":"";throw new r.IntegerOutOfRangeError({max:s?`${s}${t}`:void 0,min:`${c}${t}`,signed:n,size:i,value:`${e}${t}`})}let u=`0x${(n&&a<0?(1n<<BigInt(8*i))+BigInt(a):a).toString(16)}`;return i?(0,t.pad)(u,{size:i}):u}let m=new TextEncoder;function w(e,r={}){return b(m.encode(e),r)}},976677,e=>{"use strict";class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let r=super.get(e);return super.has(e)&&void 0!==r&&(this.delete(e),super.set(e,r)),r}set(e,r){if(super.set(e,r),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}e.s(["LruMap",()=>r])}]);
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.