PageSourceSearch

https://streme.fun/_next/static/chunks/5388-a26c956f97df2477.js?dpl=dpl_8yodPSnapy8quUtABCh4pgRRxbff

js streme.fun collected 2026-10-06 13:22:27 UTC 79,452 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5388],{458:(e,t,n)=>{n.d(t,{Vw:()=>P,DO:()=>o,CC:()=>c,sd:()=>a,Fe:()=>r,Ht:()=>u,My:()=>m,uH:()=>h,Id:()=>E,qj:()=>$,O8:()=>d,aT:()=>x,aY:()=>s,po:()=>I,Ow:()=>f,fd:()=>b,ZJ:()=>C,DH:()=>l,AI:()=>w});let i="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function s(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function r(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function o(e,...t){if(!s(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");r(e.outputLen),r(e.blockLen)}function c(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function u(e,t){o(e);let n=t.outputLen;if(e.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}function l(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function h(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function d(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function f(e,t){return e<<32-t|e>>>t}let b=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let n=0;n<e.length;n++){var t;e[n]=(t=e[n])<<24&0xff000000|t<<8&0xff0000|t>>>8&65280|t>>>24&255}return e},p="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,g=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function m(e){if(o(e),p)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=g[e[n]];return t}let y={_0:48,_9:57,A:65,F:70,a:97,f:102};function v(e){return e>=y._0&&e<=y._9?e-y._0:e>=y.A&&e<=y.F?e-(y.A-10):e>=y.a&&e<=y.f?e-(y.a-10):void 0}function x(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(p)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let i=new Uint8Array(n);for(let t=0,s=0;t<n;t++,s+=2){let n=v(e.charCodeAt(s)),r=v(e.charCodeAt(s+1));if(void 0===n||void 0===r)throw Error('hex string expected, got non-hex character "'+(e[s]+e[s+1])+'" at index '+s);i[t]=16*n+r}return i}function w(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function C(e){return"string"==typeof e&&(e=w(e)),o(e),e}function E(...e){let t=0;for(let n=0;n<e.length;n++){let i=e[n];o(i),t+=i.length}let n=new Uint8Array(t);for(let t=0,i=0;t<e.length;t++){let s=e[t];n.set(s,i),i+=s.length}return n}class P{}function $(e){let t=t=>e().update(C(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function I(e=32){if(i&&"function"==typeof i.getRandomValues)return i.getRandomValues(new Uint8Array(e));if(i&&"function"==typeof i.randomBytes)return Uint8Array.from(i.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},3063:(e,t,n)=>{n.d(t,{F:()=>l});var i=n(61405),s=n(96748),r=n(86475),o=n(86161),a=n(12115),c=n(8828);let u=e=>"object"==typeof e&&!Array.isArray(e);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.U)(e);return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.b,s=(0,a.useRef)([]),r=(0,c.useSyncExternalStoreWithSelector)(e,t,n,e=>e,(e,t)=>{if(u(e)&&u(t)&&s.current.length){for(let n of s.current)if(!i(e[n],t[n]))return!1;return!0}return i(e,t)});return(0,a.useMemo)(()=>{if(u(r)){let e={...r},t={};
1for(let[n,i]of Object.entries(e))t={...t,[n]:{configurable:!1,enumerable:!0,get:()=>(s.current.includes(n)||s.current.push(n),i)}};return Object.defineProperties(e,t),e}return r},[r])}(e=>(0,i.F)(t,{onChange:e}),()=>(0,s.s)(t))}},5082:(e,t,n)=>{n.d(t,{PK:()=>c,iq:()=>r,uP:()=>a,zF:()=>o});var i=n(19781),s=n(13933);class r extends s.C{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class o extends s.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class a extends s.C{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class c extends s.C{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${i.E}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},8828:(e,t,n)=>{e.exports=n(83654)},11914:(e,t,n)=>{n.d(t,{IQ:()=>d,ME:()=>h,Nx:()=>l,Sl:()=>a,aD:()=>c,uU:()=>u});var i=n(35276),s=n(16871),r=n(42438),o=n(55563);function a(e,{size:t}){if((0,s.E)(e)>t)throw new i.u({givenSize:(0,s.E)(e),maxSize:t})}function c(e,t){let n="string"==typeof t?{to:t}:t,i=n.to;return"number"===i?h(e,n):"bigint"===i?u(e,n):"string"===i?d(e,n):"boolean"===i?l(e,n):(0,o.aT)(e,n)}function u(e,t={}){let{signed:n}=t;t.size&&a(e,{size:t.size});let i=BigInt(e);if(!n)return i;let s=(e.length-2)/2;return i<=(1n<<8n*BigInt(s)-1n)-1n?i:i-BigInt(`0x${"f".padStart(2*s,"f")}`)-1n}function l(e,t={}){let n=e;if(t.size&&(a(n,{size:t.size}),n=(0,r.B)(n)),"0x00"===(0,r.B)(n))return!1;if("0x01"===(0,r.B)(n))return!0;throw new i.H2(n)}function h(e,t={}){let n=u(e,t),s=Number(n);if(!Number.isSafeInteger(s))throw new i.Ty({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${n}n`});return s}function d(e,t={}){let n=(0,o.aT)(e);return t.size&&(a(n,{size:t.size}),n=(0,r.B)(n,{dir:"right"})),new TextDecoder().decode(n)}},13933:(e,t,n)=>{n.d(t,{C:()=>r});let i="2.45.0",s={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${i}`};class r extends Error{constructor(e,t={}){let n=t.cause instanceof r?t.cause.details:t.cause?.message?t.cause.message:t.details,o=t.cause instanceof r&&t.cause.docsPath||t.docsPath,a=s.getDocsUrl?.({...t,docsPath:o});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...a?[`Docs: ${a}`]:[],...n?[`Details: ${n}`]:[],...s.version?[`Version: ${s.version}`]:[]].join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"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=o,this.metaMessages=t.metaMessages,this.name=t.name??this.name,this.shortMessage=e,this.version=i}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,n):n?null:t}(this,e)}}},14806:(e,t,n)=>{e.exports=n(30125)},15885:(e,t,n)=>{n.d(t,{b4:()=>r,gU:()=>a,uP:()=>o});var i=n(11914),s=n(50707);let r={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function o(e,t){let n={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,i.ME)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,i.ME)(e.n
1once):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?r[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(n.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),n.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof n.v){if(0n===n.v||27n===n.v)return 0;if(1n===n.v||28n===n.v)return 1;if(n.v>=35n)return+(n.v%2n===0n)}})(),"legacy"===n.type&&(delete n.accessList,delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas,delete n.yParity),"eip2930"===n.type&&(delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas),"eip1559"===n.type&&delete n.maxFeePerBlobGas,n}let a=(0,s.q)("transaction",o)},16871:(e,t,n)=>{n.d(t,{E:()=>s});var i=n(60587);function s(e){return(0,i.q)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},17679:(e,t,n)=>{n.d(t,{t:()=>r});var i=n(55563),s=n(34561);function r(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),r="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.aT)(e)):e.blobs,o="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,i.aT)(e)):e.commitments,a=[];for(let e=0;e<r.length;e++){let n=r[e],i=o[e];a.push(Uint8Array.from(t.computeBlobKzgProof(n,i)))}return"bytes"===n?a:a.map(e=>(0,s.My)(e))}},19781:(e,t,n)=>{n.d(t,{E:()=>i});let i=1},20390:(e,t,n)=>{n.d(t,{A:()=>i});class i extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}},24755:(e,t,n)=>{n.d(t,{sc:()=>i});let i=n(34918).sc},24784:(e,t,n)=>{n.d(t,{P:()=>a});var i=n(20390),s=n(77608);let r=/^0x[a-fA-F0-9]{40}$/,o=new i.A(8192);function a(e,t){let{strict:n=!0}=t??{},i=`${e}.${n}`;if(o.has(i))return o.get(i);let a=!!r.test(e)&&(e.toLowerCase()===e||!n||(0,s.o)(e)===e);return o.set(i,a),a}},27747:(e,t,n)=>{n.d(t,{B4:()=>s,SK:()=>r,hX:()=>o});var i=n(13933);class s extends i.C{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class r extends i.C{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class o extends i.C{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},28245:(e,t,n)=>{n.d(t,{c:()=>r});var i=n(62023),s=n(30598);function r(e,t="wei"){return(0,s.J)(e,i.eL[t])}},28698:(e,t,n)=>{n.d(t,{C:()=>a});var i,s,r=n(46465),o=function(e,t,n,i){if("a"===n&&!i)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class a extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return`@wagmi/core@${r.r}`}constructor(e,t={}){super(),i.add(this),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:"WagmiCoreError"});let n=t.cause instanceof a?t.cause.details:t.cause?.message?t.cause.message:t.details,s=t.cause instanceof a&&t.cause.docsPath||t.docsPath;this.message=[e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...s?[`Docs: ${this.docsBaseUrl}${s}.html${t.docsSlug?`#${t.docsSlug}`:""}`]:[],...n?[`Details: ${n}`]:[],`Version: ${this.version}`].join("\n"),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=s,this.metaMessages=t.metaMessages,this.shortMessage=e}walk(e){return o(this,i,"m",s).call(this,this,e)}}i=new WeakSet,s=function e(t,n){return n?.(t)?t:t.cause?o(this,i,"m",e).call(this,t.cause,n):t}}
vendor: 4,138 bytes, line 1
1,29143:(e,t,n)=>{n.d(t,{lY:()=>x});var i=n(78710),s=n(458);let r=BigInt(0),o=BigInt(1),a=BigInt(2),c=BigInt(7),u=BigInt(256),l=BigInt(113),h=[],d=[],f=[];for(let e=0,t=o,n=1,i=0;e<24;e++){[n,i]=[i,(2*n+3*i)%5],h.push(2*(5*i+n)),d.push((e+1)*(e+2)/2%64);let s=r;for(let e=0;e<7;e++)(t=(t<<o^(t>>c)*l)%u)&a&&(s^=o<<(o<<BigInt(e))-o);f.push(s)}let b=(0,i.lD)(f,!0),p=b[0],g=b[1],m=(e,t,n)=>n>32?(0,i.WM)(e,t,n):(0,i.P5)(e,t,n),y=(e,t,n)=>n>32?(0,i.im)(e,t,n):(0,i.B4)(e,t,n);class v extends s.Vw{constructor(e,t,n,i=!1,r=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=i,this.rounds=r,(0,s.Fe)(n),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,s.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,s.fd)(this.state32),function(e,t=24){let n=new Uint32Array(10);for(let i=24-t;i<24;i++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let i=(t+8)%10,s=(t+2)%10,r=n[s],o=n[s+1],a=m(r,o,1)^n[i],c=y(r,o,1)^n[i+1];for(let n=0;n<50;n+=10)e[t+n]^=a,e[t+n+1]^=c}let t=e[2],s=e[3];for(let n=0;n<24;n++){let i=d[n],r=m(t,s,i),o=y(t,s,i),a=h[n];t=e[a],s=e[a+1],e[a]=r,e[a+1]=o}for(let t=0;t<50;t+=10){for(let i=0;i<10;i++)n[i]=e[t+i];for(let i=0;i<10;i++)e[t+i]^=~n[(i+2)%10]&n[(i+4)%10]}e[0]^=p[i],e[1]^=g[i]}(0,s.uH)(n)}(this.state32,this.rounds),(0,s.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,s.CC)(this),e=(0,s.ZJ)(e),(0,s.DO)(e);let{blockLen:t,state:n}=this,i=e.length;for(let s=0;s<i;){let r=Math.min(t-this.pos,i-s);for(let t=0;t<r;t++)n[this.pos++]^=e[s++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:i}=this;e[n]^=t,(128&t)!=0&&n===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){(0,s.CC)(this,!1),(0,s.DO)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let i=0,s=e.length;i<s;){this.posOut>=n&&this.keccak();let r=Math.min(n-this.posOut,s-i);e.set(t.subarray(this.posOut,this.posOut+r),i),this.posOut+=r,i+=r}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,s.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,s.Ht)(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,s.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:i,rounds:s,enableXOF:r}=this;return e||(e=new v(t,n,i,r,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=n,e.outputLen=i,e.enableXOF=r,e.destroyed=this.destroyed,e}}let x=(()=>(0,s.qj)(()=>new v(136,1,32)))()},29454:(e,t,n)=>{n.d(t,{EH:()=>r,YE:()=>a,jF:()=>o,qD:()=>c,rj:()=>s});var i=n(13933);class s extends i.C{constructor({blockNumber:e,chain:t,contract:n}){super(`Chain "${t.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...e&&n.blockCreated&&n.blockCreated>e?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${n.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class r extends i.C{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 o extends i.C{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 i.C{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class c extends i.C{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
1" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},30125:(e,t,n)=>{var i=n(12115),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=i.useState,o=i.useEffect,a=i.useLayoutEffect,c=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!s(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=r({inst:{value:n,getSnapshot:t}}),s=i[0].inst,l=i[1];return a(function(){s.value=n,s.getSnapshot=t,u(s)&&l({inst:s})},[e,n,t]),o(function(){return u(s)&&l({inst:s}),e(function(){u(s)&&l({inst:s})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:l},30598:(e,t,n)=>{n.d(t,{J:()=>i});function i(e,t){let n=e.toString(),i=n.startsWith("-");i&&(n=n.slice(1));let[s,r]=[(n=n.padStart(t,"0")).slice(0,n.length-t),n.slice(n.length-t)];return r=r.replace(/(0+)$/,""),`${i?"-":""}${s||"0"}${r?`.${r}`:""}`}},30718:(e,t,n)=>{n.d(t,{S:()=>r});var i=n(55563),s=n(34561);function r(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),r="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.aT)(e)):e.blobs,o=[];for(let e of r)o.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===n?o:o.map(e=>(0,s.My)(e))}}
1,34049:(e,t,n)=>{n.d(t,{BH:()=>m,Cp:()=>p,EN:()=>b,Eh:()=>l,F$:()=>f,GU:()=>S,MK:()=>h,S$:()=>s,ZM:()=>O,ZZ:()=>$,Zw:()=>o,d2:()=>u,f8:()=>y,gn:()=>a,hT:()=>I,j3:()=>c,lQ:()=>r,nJ:()=>d,ox:()=>j,pl:()=>E,y9:()=>P,yy:()=>C});var i=n(37126),s="undefined"==typeof window||"Deno"in globalThis;function r(){}function o(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t){return"function"==typeof e?e(t):e}function l(e,t){return"function"==typeof e?e(t):e}function h(e,t){let{type:n="all",exact:i,fetchStatus:s,predicate:r,queryKey:o,stale:a}=e;if(o){if(i){if(t.queryHash!==f(o,t.options))return!1}else if(!p(t.queryKey,o))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!s||s===t.state.fetchStatus)&&(!r||!!r(t))}function d(e,t){let{exact:n,status:i,predicate:s,mutationKey:r}=e;if(r){if(!t.options.mutationKey)return!1;if(n){if(b(t.options.mutationKey)!==b(r))return!1}else if(!p(t.options.mutationKey,r))return!1}return(!i||t.state.status===i)&&(!s||!!s(t))}function f(e,t){return(t?.queryKeyHashFn||b)(e)}function b(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>p(e[n],t[n]))}var g=Object.prototype.hasOwnProperty;function m(e,t,n=0){if(e===t)return e;if(n>500)return t;let i=v(e)&&v(t);if(!i&&!(x(e)&&x(t)))return t;let s=(i?e:Object.keys(e)).length,r=i?t:Object.keys(t),o=r.length,a=i?Array(o):{},c=0;for(let u=0;u<o;u++){let o=i?u:r[u],l=e[o],h=t[o];if(l===h){a[o]=l,(i?u<s:g.call(e,o))&&c++;continue}if(null===l||null===h||"object"!=typeof l||"object"!=typeof h){a[o]=h;continue}let d=m(l,h,n+1);a[o]=d,d===l&&c++}return s===o&&c===s?e:a}function y(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function C(e){return new Promise(t=>{i.zs.setTimeout(t,e)})}function E(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function P(e,t,n=0){let i=[...e,t];return n&&i.length>n?i.slice(1):i}function $(e,t,n=0){let i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var I=Symbol();function O(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==I?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function S(e,t){return"function"==typeof e?e(...t):!!e}function j(e,t,n){let i,s=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),s||(s=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),e}},34561:(e,t,n)=>{n.d(t,{$P:()=>c,My:()=>u,cK:()=>l,i3:()=>d,nj:()=>a});var i=n(35276),s=n(72427),r=n(11914);let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function a(e,t={}){return"number"==typeof e||"bigint"==typeof e?l(e,t):"string"==typeof e?d(e,t):"boolean"==typeof e?c(e,t):u(e,t)}function c(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?((0,r.Sl)(n,{size:t.size}),(0,s.eV)(n,{size:t.size})):n}function u(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=o[e[t]];let i=`0x${n}`;return"number"==typeof t.size?((0,r.Sl)(i,{size:t.size}),(0,s.eV)(i,{dir:"right",size:t.size})):i}function l(e,t={}){let n,{signed:r,size:o}=t,a=BigInt(e);o?n=r?(1n<<8n*BigInt(o)-1n)-1n:2n**(8n*BigInt(o))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof n&&r?-n-1n:0;if(n&&a>n||a<c){let t="bigint"==typeof e?"n":"";throw new i.Ty({max:n?`${n}${t}`:void 0,min:`${c}${t}`,signed:r,size:o,value:`${e}${t}`})}let u=`0x${(r&&a<0?(1n<<BigInt(8*o))+BigInt(a):a).toString(16)}`;return o?(0,s.eV)(u,{size:o}):u}let h=new TextEncoder;function d(e,t={}){return u(h.encode(e),t)}},34918:(e,t,n)=>{n.d(t,{sc:()=>v,qt:()=>w,Zf:()=>x});var i=n(458);class s extends i.Vw{constructor(e,t,n,s){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=s,this.buffer=new Uint8Array(e),this.view=(0,i.O8)(this.buffer)}update(e){(0,i.CC)(this),e=(0,i.ZJ)(e),(0,i.DO)(e);let{view:t,buffer:n,blockLen:s}=this,r=e.length;for(let o=0;o<r;){let a=Math.min(s-this.pos,r-o);if(a===s){let t=(0,i.O8)(e);for(;s<=r-o;o+=s)this.process(t,o);continue}n.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===s&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,i.CC)(this),(0,i.Ht)(e,this),this.finished=!0;let{buffer:t,view:n,blockLen:s,isLE:r}=this,{pos:o}=this;t[o++]=128,(0,i.uH)(this.buffer.subarray(o)),this.padOffset>s-o&&(this.process(n,0),o=0);for(let e=o;e<s;e++)t[e]=0;!function(e,t,n,i){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,n,i);let s=BigInt(32),r=BigInt(0xffffffff),o=Number(n>>s&r),a=Number(n&r),c=4*!!i,u=4*!i;e.setUint32(t+c,o,i),e.setUint32(t+u,a,i)}(n,s-8,BigInt(8*this.length),r),this.process(n,0);let a=(0,i.O8)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let u=c/4,l=this.get();if(u>l.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<u;e++)a.setUint32(4*e,l[e],r)}
vendor: 3,650 bytes, line 1
1digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:n,length:i,finished:s,destroyed:r,pos:o}=this;return e.destroyed=r,e.finished=s,e.length=i,e.pos=o,i%t&&e.buffer.set(n),e}clone(){return this._cloneInto()}}let r=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),o=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),a=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179]);var c=n(78710);let u=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),l=new Uint32Array(64);class h extends s{constructor(e=32){super(64,e,8,!1),this.A=0|r[0],this.B=0|r[1],this.C=0|r[2],this.D=0|r[3],this.E=0|r[4],this.F=0|r[5],this.G=0|r[6],this.H=0|r[7]}get(){let{A:e,B:t,C:n,D:i,E:s,F:r,G:o,H:a}=this;return[e,t,n,i,s,r,o,a]}set(e,t,n,i,s,r,o,a){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|i,this.E=0|s,this.F=0|r,this.G=0|o,this.H=0|a}process(e,t){for(let n=0;n<16;n++,t+=4)l[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=l[e-15],n=l[e-2],s=(0,i.Ow)(t,7)^(0,i.Ow)(t,18)^t>>>3,r=(0,i.Ow)(n,17)^(0,i.Ow)(n,19)^n>>>10;l[e]=r+l[e-7]+s+l[e-16]|0}let{A:n,B:s,C:r,D:o,E:a,F:c,G:h,H:d}=this;for(let e=0;e<64;e++){var f,b,p,g;let t=d+((0,i.Ow)(a,6)^(0,i.Ow)(a,11)^(0,i.Ow)(a,25))+((f=a)&c^~f&h)+u[e]+l[e]|0,m=((0,i.Ow)(n,2)^(0,i.Ow)(n,13)^(0,i.Ow)(n,22))+((b=n)&(p=s)^b&(g=r)^p&g)|0;d=h,h=c,c=a,a=o+t|0,o=r,r=s,s=n,n=t+m|0}n=n+this.A|0,s=s+this.B|0,r=r+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,h=h+this.G|0,d=d+this.H|0,this.set(n,s,r,o,a,c,h,d)}roundClean(){(0,i.uH)(l)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,i.uH)(this.buffer)}}let d=c.lD(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
15771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),f=d[0],b=d[1],p=new Uint32Array(80),g=new Uint32Array(80);class m extends s{constructor(e=64){super(128,e,16,!1),this.Ah=0|a[0],this.Al=0|a[1],this.Bh=0|a[2],this.Bl=0|a[3],this.Ch=0|a[4],this.Cl=0|a[5],this.Dh=0|a[6],this.Dl=0|a[7],this.Eh=0|a[8],this.El=0|a[9],this.Fh=0|a[10],this.Fl=0|a[11],this.Gh=0|a[12],this.Gl=0|a[13],this.Hh=0|a[14],this.Hl=0|a[15]}get(){let{Ah:e,Al:t,Bh:n,Bl:i,Ch:s,Cl:r,Dh:o,Dl:a,Eh:c,El:u,Fh:l,Fl:h,Gh:d,Gl:f,Hh:b,Hl:p}=this;return[e,t,n,i,s,r,o,a,c,u,l,h,d,f,b,p]}set(e,t,n,i,s,r,o,a,c,u,l,h,d,f,b,p){this.Ah=0|e,this.Al=0|t,this.Bh=0|n,this.Bl=0|i,this.Ch=0|s,this.Cl=0|r,this.Dh=0|o,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|h,this.Gh=0|d,this.Gl=0|f,this.Hh=0|b,this.Hl=0|p}process(e,t){for(let n=0;n<16;n++,t+=4)p[n]=e.getUint32(t),g[n]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|p[e-15],n=0|g[e-15],i=c.rE(t,n,1)^c.rE(t,n,8)^c.xn(t,n,7),s=c.ry(t,n,1)^c.ry(t,n,8)^c.jm(t,n,7),r=0|p[e-2],o=0|g[e-2],a=c.rE(r,o,19)^c.qh(r,o,61)^c.xn(r,o,6),u=c.ry(r,o,19)^c.Ei(r,o,61)^c.jm(r,o,6),l=c.CW(s,u,g[e-7],g[e-16]
1),h=c.CQ(l,i,a,p[e-7],p[e-16]);p[e]=0|h,g[e]=0|l}let{Ah:n,Al:i,Bh:s,Bl:r,Ch:o,Cl:a,Dh:u,Dl:l,Eh:h,El:d,Fh:m,Fl:y,Gh:v,Gl:x,Hh:w,Hl:C}=this;for(let e=0;e<80;e++){let t=c.rE(h,d,14)^c.rE(h,d,18)^c.qh(h,d,41),E=c.ry(h,d,14)^c.ry(h,d,18)^c.Ei(h,d,41),P=h&m^~h&v,$=d&y^~d&x,I=c.F8(C,E,$,b[e],g[e]),O=c.TH(I,w,t,P,f[e],p[e]),S=0|I,j=c.rE(n,i,28)^c.qh(n,i,34)^c.qh(n,i,39),U=c.ry(n,i,28)^c.Ei(n,i,34)^c.Ei(n,i,39),B=n&s^n&o^s&o,A=i&r^i&a^r&a;w=0|v,C=0|x,v=0|m,x=0|y,m=0|h,y=0|d,({h:h,l:d}=c.WQ(0|u,0|l,0|O,0|S)),u=0|o,l=0|a,o=0|s,a=0|r,s=0|n,r=0|i;let T=c.Vl(S,U,A);n=c.Vr(T,O,j,B),i=0|T}({h:n,l:i}=c.WQ(0|this.Ah,0|this.Al,0|n,0|i)),({h:s,l:r}=c.WQ(0|this.Bh,0|this.Bl,0|s,0|r)),({h:o,l:a}=c.WQ(0|this.Ch,0|this.Cl,0|o,0|a)),({h:u,l:l}=c.WQ(0|this.Dh,0|this.Dl,0|u,0|l)),({h:h,l:d}=c.WQ(0|this.Eh,0|this.El,0|h,0|d)),({h:m,l:y}=c.WQ(0|this.Fh,0|this.Fl,0|m,0|y)),({h:v,l:x}=c.WQ(0|this.Gh,0|this.Gl,0|v,0|x)),({h:w,l:C}=c.WQ(0|this.Hh,0|this.Hl,0|w,0|C)),this.set(n,i,s,r,o,a,u,l,h,d,m,y,v,x,w,C)}roundClean(){(0,i.uH)(p,g)}destroy(){(0,i.uH)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class y extends m{constructor(){super(48),this.Ah=0|o[0],this.Al=0|o[1],this.Bh=0|o[2],this.Bl=0|o[3],this.Ch=0|o[4],this.Cl=0|o[5],this.Dh=0|o[6],this.Dl=0|o[7],this.Eh=0|o[8],this.El=0|o[9],this.Fh=0|o[10],this.Fl=0|o[11],this.Gh=0|o[12],this.Gl=0|o[13],this.Hh=0|o[14],this.Hl=0|o[15]}}let v=(0,i.qj)(()=>new h),x=(0,i.qj)(()=>new m),w=(0,i.qj)(()=>new y)},35276:(e,t,n)=>{n.d(t,{H2:()=>o,Ty:()=>s,u:()=>a,xO:()=>r});var i=n(13933);class s extends i.C{constructor({max:e,min:t,signed:n,size:i,value:s}){super(`Number "${s}" is not in safe ${i?`${8*i}-bit ${n?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class r extends i.C{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class o extends i.C{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}i.C;class a extends i.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},35766:(e,t,n)=>{n.d(t,{T:()=>l});var i=n(30718),s=n(17679),r=n(5082),o=n(82427),a=n(16871),c=n(55563),u=n(34561);function l(e){let{data:t,kzg:n,to:l}=e,h=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),n="string"==typeof e.data?(0,c.aT)(e.data):e.data,i=(0,a.E)(n);if(!i)throw new r.zF;if(i>761855)throw new r.iq({maxSize:761855,size:i});let s=[],l=!0,h=0;for(;l;){let e=(0,o.l)(new Uint8Array(131072)),t=0;for(;t<4096;){let i=n.slice(h,h+31);if(e.pushByte(0),e.pushBytes(i),i.length<31){e.pushByte(128),l=!1;break}t++,h+=31}s.push(e)}return"bytes"===t?s.map(e=>e.bytes):s.map(e=>(0,u.My)(e.bytes))}({data:t,to:l}),d=e.commitments??(0,i.S)({blobs:h,kzg:n,to:l}),f=e.proofs??(0,s.t)({blobs:h,commitments:d,kzg:n,to:l}),b=[];for(let e=0;e<h.length;e++)b.push({blob:h[e],commitment:d[e],proof:f[e]});return b}},37126:(e,t,n)=>{n.d(t,{Zq:()=>r,zs:()=>s});var i={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},s=new class{#e=i;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function r(e){setTimeout(e,0)}},38445:(e,t,n)=>{n.d(t,{Q:()=>i});var i=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},38547:(e,t,n)=>{n.d(t,{y:()=>i});function i(){let e=new Set,t=[],n=()=>(function(e){if("undefined"==typeof window)return;let t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)})(n=>{t.some(({info:e})=>
1e.uuid===n.info.uuid)||(t=[...t,n],e.forEach(e=>e(t,{added:[n]})))}),i=n();return{_listeners:()=>e,clear(){e.forEach(e=>e([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),i?.()},findProvider:({rdns:e})=>t.find(t=>t.info.rdns===e),getProviders:()=>t,reset(){this.clear(),i?.(),i=n()},subscribe:(n,{emitImmediately:i}={})=>(e.add(n),i&&n(t,{added:t}),()=>e.delete(n))}}},38559:(e,t,n)=>{n.d(t,{$:()=>a,s:()=>o});var i=n(74268),s=n(69781),r=n(93049),o=class extends s.k{#n;#i;#s;#r;constructor(e){super(),this.#n=e.client,this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#i=[],this.state=e.state||a(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#i.includes(e)||(this.#i.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#i=this.#i.filter(t=>t!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#i.length||("pending"===this.state.status?this.scheduleGc():this.#s.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#o({type:"continue"})},n={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=(0,r.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});let i="pending"===this.state.status,s=!this.#r.canStart();try{if(i)t();else{this.#o({type:"pending",variables:e,isPaused:s}),this.#s.config.onMutate&&await this.#s.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#o({type:"pending",context:t,variables:e,isPaused:s})}let r=await this.#r.start();return await this.#s.config.onSuccess?.(r,e,this.state.context,this,n),await this.options.onSuccess?.(r,e,this.state.context,n),await this.#s.config.onSettled?.(r,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(r,null,e,this.state.context,n),this.#o({type:"success",data:r}),r}catch(t){try{await this.#s.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#s.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#o({type:"error",error:t}),t}finally{this.#s.runNext(this)}}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),i.jG.batch(()=>{this.#i.forEach(t=>{t.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},40290:(e,t,n)=>{function i(e){return"string"==typeof e[0]?s(e):function(e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),i=0;for(let t of e)n.set(t,i),i+=t.length;return n}(e)}function s(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}n.d(t,{aP:()=>s,xW:()=>i})},42438:(e,t,n)=>{n.d(t,{B:()=>i});function i(e,{dir:t="left"}={}){let n="string"==typeof e?e.replace("0x",""):e,s=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===t?e:n.length-e-1].toString())s++;else break;return(n="left"===t?n.slice(s):n.slice(0,n.length-s),"string"==typeof e)?(1===n.length&&"right"===t&&(n=`${n}0`),`0x${n.length%2==1?`0${n}`:n}`):n}},42503:(e,t,n)=>{n.d(t,{Q:()=>r});var i=n(62023),s=n(30598);function r(e,t="wei"){return(0,s.J)(e,i.sz[t])}},43159:(e,t,n)=>{n.d(t,{HF:()=>u,aj:()=>a,gC:()=>o,nM:()=>r,nk:()=>s,xU:()=>c});var i=n(28698);class s extends i.C{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class r extends i.C{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class o extends i.C{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}i.C;class a extends i.C{constructor({address:e,connector:t}){super(`Account "${e}" not found for connector "${t.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class c extends i.C{constructor({connectionChainId:e,connectorChainId:t}){super(`The current chain of the connector (id: ${t}) does not match the connection's chain (id: ${e}).`,{metaMessages:[`Current Chain ID:  ${t}`,`Expected Chain ID: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class u extends i.C{constructor({connector:e}){super(`Connector "${e.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},44016:(e,t,n)=>{n.d(t,{Ao:()=>i});let i=2n**256n-1n}
1,44352:(e,t,n)=>{n.d(t,{A1:()=>u,di:()=>o,iN:()=>l});var i=n(66969),s=n(60587),r=n(16871);function o(e,t,n,{strict:i}={}){return(0,s.q)(e,{strict:!1})?l(e,t,n,{strict:i}):u(e,t,n,{strict:i})}function a(e,t){if("number"==typeof t&&t>0&&t>(0,r.E)(e)-1)throw new i.ii({offset:t,position:"start",size:(0,r.E)(e)})}function c(e,t,n){if("number"==typeof t&&"number"==typeof n&&(0,r.E)(e)!==n-t)throw new i.ii({offset:n,position:"end",size:(0,r.E)(e)})}function u(e,t,n,{strict:i}={}){a(e,t);let s=e.slice(t,n);return i&&c(s,t,n),s}function l(e,t,n,{strict:i}={}){a(e,t);let s=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return i&&c(s,t,n),s}},45686:(e,t,n)=>{n.d(t,{d:()=>a});var i=n(34561),s=n(24755),r=n(60587),o=n(55563);function a(e){let{commitments:t,version:n}=e,a=e.to??("string"==typeof t[0]?"hex":"bytes"),c=[];for(let e of t)c.push(function(e){let{commitment:t,version:n=1}=e,a=e.to??("string"==typeof t?"hex":"bytes"),c=function(e,t){let n=(0,s.sc)((0,r.q)(e,{strict:!1})?(0,o.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,i.nj)(n)}(t,"bytes");return c.set([n],0),"bytes"===a?c:(0,i.My)(c)}({commitment:e,to:a,version:n}));return c}},46465:(e,t,n)=>{n.d(t,{r:()=>i});let i="2.22.1"},50707:(e,t,n)=>{n.d(t,{q:()=>i});function i(e,t){return({exclude:n,format:i})=>({exclude:n,format:(e,s)=>{let r=t(e,s);if(n)for(let e of n)delete r[e];return{...r,...i(e,s)}},type:e})}},50879:(e,t,n)=>{n.d(t,{$s:()=>l,Kc:()=>d,Kz:()=>h,Sq:()=>f,Vg:()=>c,WA:()=>b,aO:()=>o,fZ:()=>u,zW:()=>a});var i=n(28245),s=n(42503),r=n(13933);function o(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),n=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>`  ${`${e}:`.padEnd(n+1)}  ${t}`).join("\n")}r.C;class a extends r.C{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class c extends r.C{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",o(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"})}}r.C,r.C;class u extends r.C{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 l extends r.C{constructor(e,{account:t,docsPath:n,chain:r,data:a,gas:c,gasPrice:u,maxFeePerGas:l,maxPriorityFeePerGas:h,nonce:d,to:f,value:b}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",o({chain:r&&`${r?.name} (id: ${r?.id})`,from:t?.address,to:f,value:void 0!==b&&`${(0,i.c)(b)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:c,gasPrice:void 0!==u&&`${(0,s.Q)(u)} gwei`,maxFeePerGas:void 0!==l&&`${(0,s.Q)(l)} gwei`,maxPriorityFeePerGas:void 0!==h&&`${(0,s.Q)(h)} gwei`,nonce:d})].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class h extends r.C{constructor({blockHash:e,blockNumber:t,blockTag:n,hash:i,index:s}){let r="Transaction";n&&void 0!==s&&(r=`Transaction at block time "${n}" at index "${s}"`),e&&void 0!==s&&(r=`Transaction at block hash "${e}" at index "${s}"`),t&&void 0!==s&&(r=`Transaction at block number "${t}" at index "${s}"`),i&&(r=`Transaction with hash "${i}"`),super(`${r} could not be found.`,{name:"TransactionNotFoundError"})}}class d extends r.C{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 f extends r.C{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 b extends r.C{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},51607:(e,t,n)=>{n.d(t,{w:()=>r});var i=n(458);class s extends i.Vw{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,i.sd)(e);let n=(0,i.ZJ)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;
1let s=this.blockLen,r=new Uint8Array(s);r.set(n.length>s?e.create().update(n).digest():n);for(let e=0;e<r.length;e++)r[e]^=54;this.iHash.update(r),this.oHash=e.create();for(let e=0;e<r.length;e++)r[e]^=106;this.oHash.update(r),(0,i.uH)(r)}update(e){return(0,i.CC)(this),this.iHash.update(e),this}digestInto(e){(0,i.CC)(this),(0,i.DO)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:n,finished:i,destroyed:s,blockLen:r,outputLen:o}=this;return e.finished=i,e.destroyed=s,e.blockLen=r,e.outputLen=o,e.oHash=t._cloneInto(e.oHash),e.iHash=n._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let r=(e,t,n)=>new s(e,t).update(n).digest();r.create=(e,t)=>new s(e,t)},52623:(e,t,n)=>{n.d(t,{e:()=>i});function i(e,{args:t,eventName:n}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):null===e.blockTimestamp?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...n?{args:t,eventName:n}:{}}}},55563:(e,t,n)=>{n.d(t,{Af:()=>f,ZJ:()=>u,aT:()=>d});var i=n(13933),s=n(60587),r=n(72427),o=n(11914),a=n(34561);let c=new TextEncoder;function u(e,t={}){var n,i;return"number"==typeof e||"bigint"==typeof e?(n=e,i=t,d((0,a.cK)(n,i))):"boolean"==typeof e?function(e,t={}){let n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof t.size)?((0,o.Sl)(n,{size:t.size}),(0,r.eV)(n,{size:t.size})):n}(e,t):(0,s.q)(e)?d(e,t):f(e,t)}let l={zero:48,nine:57,A:65,F:70,a:97,f:102};function h(e){return e>=l.zero&&e<=l.nine?e-l.zero:e>=l.A&&e<=l.F?e-(l.A-10):e>=l.a&&e<=l.f?e-(l.a-10):void 0}function d(e,t={}){let n=e;t.size&&((0,o.Sl)(n,{size:t.size}),n=(0,r.eV)(n,{dir:"right",size:t.size}));let s=n.slice(2);s.length%2&&(s=`0${s}`);let a=s.length/2,c=new Uint8Array(a);for(let e=0,t=0;e<a;e++){let n=h(s.charCodeAt(t++)),r=h(s.charCodeAt(t++));if(void 0===n||void 0===r)throw new i.C(`Invalid byte sequence ("${s[t-2]}${s[t-1]}" in "${s}").`);c[e]=16*n+r}return c}function f(e,t={}){let n=c.encode(e);return"number"==typeof t.size?((0,o.Sl)(n,{size:t.size}),(0,r.eV)(n,{dir:"right",size:t.size})):n}},56195:(e,t,n)=>{n.d(t,{m:()=>r});var i=n(38445),s=n(34049),r=new class extends i.Q{#a;#c;#u;constructor(){super(),this.#u=e=>{if(!s.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#c||this.setEventListener(this.#u)}onUnsubscribe(){this.hasListeners()||(this.#c?.(),this.#c=void 0)}setEventListener(e){this.#u=e,this.#c?.(),this.#c=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#a!==e&&(this.#a=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#a?this.#a:globalThis.document?.visibilityState!=="hidden"}}},60587:(e,t,n)=>{n.d(t,{q:()=>i});function i(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}},61405:(e,t,n)=>{n.d(t,{F:()=>r});var i=n(86161),s=n(96748);function r(e,t){let{onChange:n}=t;return e.subscribe(()=>(0,s.s)(e),n,{equalityFn(e,t){let{connector:n,...s}=e,{connector:r,...o}=t;return(0,i.b)(s,o)&&n?.id===r?.id&&n?.uid===r?.uid}})}},61936:(e,t,n)=>{n.d(t,{$:()=>r,R:()=>o});var i=n(50707),s=n(15885);function r(e,t){let n=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,s.uP)(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLim
1it):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:n,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let o=(0,i.q)("block",r)},62023:(e,t,n)=>{n.d(t,{eL:()=>i,pj:()=>r,sz:()=>s});let i={gwei:9,wei:18},s={ether:-9,wei:9},r={ether:-18,gwei:-9}},63122:(e,t,n)=>{n.d(t,{t:()=>r});var i=n(38445),s=n(34049),r=new class extends i.Q{#l=!0;#c;#u;constructor(){super(),this.#u=e=>{if(!s.S$&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#c||this.setEventListener(this.#u)}onUnsubscribe(){this.hasListeners()||(this.#c?.(),this.#c=void 0)}setEventListener(e){this.#u=e,this.#c?.(),this.#c=e(this.setOnline.bind(this))}setOnline(e){this.#l!==e&&(this.#l=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#l}}},64935:(e,t,n)=>{n.d(t,{e:()=>l});var i=n(80549),s=n(43159);async function r(e,t){let n;if((n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new s.nM;try{e.setState(e=>({...e,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let{connector:i,...s}=t,r=await n.connect(s);return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",n.id),e.setState(e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:s.withCapabilities?r.accounts.map(e=>"object"==typeof e?e.address:e):r.accounts,chainId:r.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:s.withCapabilities?r.accounts.map(e=>"object"==typeof e?e:{address:e,capabilities:{}}):r.accounts,chainId:r.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var o=n(12115),a=n(86475);let c=[];function u(e){let t=e.connectors;return c.length===t.length&&c.every((e,n)=>e===t[n])?c:(c=t,t)}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,a.U)(e),s={mutationFn:e=>r(n,e),mutationKey:["connect"]},{mutate:c,mutateAsync:l,...h}=(0,i.n)({...t,...s});return(0,o.useEffect)(()=>n.subscribe(e=>{let{status:t}=e;return t},(e,t)=>{"connected"===t&&"disconnected"===e&&h.reset()}),[n,h.reset]),{...h,connect:c,connectAsync:l,connectors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.U)(e);return(0,o.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.connectors.subscribe((e,t)=>{n(Object.values(e),t)})})(t,{onChange:e}),()=>u(t),()=>u(t))}({config:n})}}},65465:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>c});var i=n(12115);let s=!1;async function r(e,t={}){let n;if(s)return[];s=!0,e.setState(e=>({...e,status:e.current?"reconnecting":"connecting"}));let i=[];if(t.connectors?.length)for(let n of t.connectors){let t;t="function"==typeof n?e._internal.connectors.setup(n):n,i.push(t)}else i.push(...e.connectors);try{n=await e.storage?.getItem("recentConnectorId")}catch{}let o={};for(let[,t]of e.state.connections)o[t.connector.id]=1;n&&(o[n]=0);let a=Object.keys(o).length>0?[...i].sort((e,t)=>(o[e.id]??10)-(o[t.id]??10)):i,c=!1,u=[],l=[];for(let t of a){let n=await t.getProvider().catch(()=>void 0);if(!n||l.some(e=>e===n)||!await t.isAuthorized())continue;let i=await t.connect({isReconnecting:!0}).catch(()=>null);i&&(t.emitter.off("connect",e._internal.events.connect),t.emitter.on("change",e._internal.events.change),t.emitter.on("disconnect",e._internal.events.disconnect),e.setState(e=>{let n=new Map(c?e.connections:new Map).set(t.uid,{accounts:i.accounts,chainId:i.chainId,connector:t});return{...e,current:c?e.current:t.uid,connections:n}}),u.push({accounts:i.accounts,chainId:i.chainId,connector:t}),l.push(n),c=!0)}return("reconnecting"===e.state.status||"connecting"===e.state.status)&&(c?e.setState(e=>({...e,status:"connected"})):e.setState(e=>({...e,connections:new Map,current:null,status:"disconnected"}))),s=!1,u}function o(e){let{children:t,config:n,initialState:s,reconnectOnMount:o=!0}=e,{onMount:a}=function(e,t){let{initialState:n,reconnectOnMount:i}=t;return n&&!e._internal.store.persist.hasHydrated()&&e.setState({...n,chainId:e.chains.some(e=>e.id===n.chainId)?n.chainId:e.chains[0].id,connections:i?n.connections:new Map,status:i?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(t=>{let n=new Set;for(let e of t??[])if(e.rdns)for(let t of Array.isArray(e.rdns)?e.rdns:[e.rdns])n.add(t);let i=[];for(let t of e._internal.mipd?.getProviders()??[]){if(n.has(t.info.rdns))continue;let s=e._internal.connectors.providerDetailToConnector(t),r=e._internal.connectors.setup(s);i.push(r)}return[...t,...i]})),i?r(e):e.storage&&e.setState(e=>({...e,connections:new Map}))}}}(n,{initialState:s,reconnectOnMount:o});n._internal.ssr||a();let c=(0,i.useRef)(!0);return(0,i.useEffect)(()=>
1{if(c.current&&n._internal.ssr)return a(),()=>{c.current=!1}},[]),t}let a=(0,i.createContext)(void 0);function c(e){let{children:t,config:n}=e;return(0,i.createElement)(o,e,(0,i.createElement)(a.Provider,{value:n},t))}},66969:(e,t,n)=>{n.d(t,{Fl:()=>r,NV:()=>o,ii:()=>s});var i=n(13933);class s extends i.C{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${n}).`,{name:"SliceOffsetOutOfBoundsError"})}}class r extends i.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class o extends i.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${t} ${n} long, but is ${e} ${n} long.`,{name:"InvalidBytesLengthError"})}}},69781:(e,t,n)=>{n.d(t,{k:()=>r});var i=n(37126),s=n(34049),r=class{#h;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,s.gn)(this.gcTime)&&(this.#h=i.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(s.S$?1/0:3e5))}clearGcTimeout(){this.#h&&(i.zs.clearTimeout(this.#h),this.#h=void 0)}}},72427:(e,t,n)=>{n.d(t,{db:()=>r,eV:()=>s});var i=n(66969);function s(e,{dir:t,size:n=32}={}){return"string"==typeof e?r(e,{dir:t,size:n}):function(e,{dir:t,size:n=32}={}){if(null===n)return e;if(e.length>n)throw new i.Fl({size:e.length,targetSize:n,type:"bytes"});let s=new Uint8Array(n);for(let i=0;i<n;i++){let r="right"===t;s[r?i:n-i-1]=e[r?i:e.length-i-1]}return s}(e,{dir:t,size:n})}function r(e,{dir:t,size:n=32}={}){if(null===n)return e;let s=e.replace("0x","");if(s.length>2*n)throw new i.Fl({size:Math.ceil(s.length/2),targetSize:n,type:"hex"});return`0x${s["right"===t?"padEnd":"padStart"](2*n,"0")}`}},74268:(e,t,n)=>{n.d(t,{jG:()=>s});var i=n(37126).Zq,s=function(){let e=[],t=0,n=e=>{e()},s=e=>{e()},r=i,o=i=>{t?e.push(i):r(()=>{n(i)})};return{batch:i=>{let o;t++;try{o=i()}finally{--t||(()=>{let t=e;e=[],t.length&&r(()=>{s(()=>{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{s=e},setScheduler:e=>{r=e}}}()},76115:(e,t,n)=>{n.d(t,{M:()=>s});var i=n(13933);class s extends i.C{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"})}}},77608:(e,t,n)=>{n.d(t,{b:()=>l,o:()=>u});var i=n(76115),s=n(55563),r=n(80329),o=n(20390),a=n(24784);let c=new o.A(8192);function u(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let n=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),i=(0,r.S)((0,s.Af)(n),"bytes"),o=(t?n.substring(`${t}0x`.length):n).split("");for(let e=0;e<40;e+=2)i[e>>1]>>4>=8&&o[e]&&(o[e]=o[e].toUpperCase()),(15&i[e>>1])>=8&&o[e+1]&&(o[e+1]=o[e+1].toUpperCase());let a=`0x${o.join("")}`;return c.set(`${e}.${t}`,a),a}function l(e,t){if(!(0,a.P)(e,{strict:!1}))throw new i.M({address:e});return u(e,t)}},78710:(e,t,n)=>{n.d(t,{B4:()=>f,CQ:()=>x,CW:()=>v,Ei:()=>h,F8:()=>w,P5:()=>d,TH:()=>C,Vl:()=>m,Vr:()=>y,WM:()=>b,WQ:()=>g,im:()=>p,jm:()=>a,lD:()=>r,qh:()=>l,rE:()=>c,ry:()=>u,xn:()=>o});let i=BigInt(0x100000000-1),s=BigInt(32);function r(e,t=!1){let n=e.length,o=new Uint32Array(n),a=new Uint32Array(n);for(let r=0;r<n;r++){let{h:n,l:c}=function(e,t=!1){return t?{h:Number(e&i),l:Number(e>>s&i)}:{h:0|Number(e>>s&i),l:0|Number(e&i)}}(e[r],t);[o[r],a[r]]=[n,c]}return[o,a]}let o=(e,t,n)=>e>>>n,a=(e,t,n)=>e<<32-n|t>>>n,c=(e,t,n)=>e>>>n|t<<32-n,u=(e,t,n)=>e<<32-n|t>>>n,l=(e,t,n)=>e<<64-n|t>>>n-32,h=(e,t,n)=>e>>>n-32|t<<64-n,d=(e,t,n)=>e<<n|t>>>32-n,f=(e,t,n)=>t<<n|e>>>32-n,b=(e,t,n)=>t<<n-32|e>>>64-n,p=(e,t,n)=>e<<n-32|t>>>64-n;function g(e,t,n,i){let s=(t>>>0)+(i>>>0);return{h:e+n+(s/0x100000000|0)|0,l:0|s}}let m=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),y=(e,t,n,i)=>t+n+i+(e/0x100000000|0)|0,v=(e,t,n,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(i>>>0),x=(e,t,n,i,s)=>t+n+i+s+(e/0x100000000|0)|0,w=(e,t,n,i,s)=>(e>>>0)+(t>>>0)+(n>>>0)+(i>>>0)+(s>>>0),C=(e,t,n,i,s,r)=>t+n+i+s+r+(e/0x100000000|0)|0}
1,80329:(e,t,n)=>{n.d(t,{S:()=>a});var i=n(29143),s=n(60587),r=n(55563),o=n(34561);function a(e,t){let n=(0,i.lY)((0,s.q)(e,{strict:!1})?(0,r.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,o.nj)(n)}},80549:(e,t,n)=>{n.d(t,{n:()=>l});var i=n(12115),s=n(38559),r=n(74268),o=n(38445),a=n(34049),c=class extends o.Q{#n;#d=void 0;#f;#b;constructor(e,t){super(),this.#n=e,this.setOptions(t),this.bindMethods(),this.#p()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#n.defaultMutationOptions(e),(0,a.f8)(this.options,t)||this.#n.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#f,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.EN)(t.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#f?.state.status==="pending"&&this.#f.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#f?.removeObserver(this)}onMutationUpdate(e){this.#p(),this.#g(e)}getCurrentResult(){return this.#d}reset(){this.#f?.removeObserver(this),this.#f=void 0,this.#p(),this.#g()}mutate(e,t){return this.#b=t,this.#f?.removeObserver(this),this.#f=this.#n.getMutationCache().build(this.#n,this.options),this.#f.addObserver(this),this.#f.execute(e)}#p(){let e=this.#f?.state??(0,s.$)();this.#d={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#g(e){r.jG.batch(()=>{if(this.#b&&this.hasListeners()){let t=this.#d.variables,n=this.#d.context,i={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#b.onSuccess?.(e.data,t,n,i)}catch(e){Promise.reject(e)}try{this.#b.onSettled?.(e.data,null,t,n,i)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#b.onError?.(e.error,t,n,i)}catch(e){Promise.reject(e)}try{this.#b.onSettled?.(void 0,e.error,t,n,i)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#d)})})}},u=n(99776);function l(e,t){let n=(0,u.jE)(t),[s]=i.useState(()=>new c(n,e));i.useEffect(()=>{s.setOptions(e)},[s,e]);let o=i.useSyncExternalStore(i.useCallback(e=>s.subscribe(r.jG.batchCalls(e)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),l=i.useCallback((e,t)=>{s.mutate(e,t).catch(a.lQ)},[s]);if(o.error&&(0,a.GU)(s.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:l,mutateAsync:o.mutate}}},82427:(e,t,n)=>{n.d(t,{l:()=>r});var i=n(27747);let s={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.hX({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new i.SK({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new i.B4({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 i.B4({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 n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+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 n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function r(e,{recursiveReadLimit:t=8192}={}){let n=Object.create(s);return n.bytes=e,n.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}},83515:(e,t,n)=>{n.d(t,{T:()=>i});function i(){let e,t,n=new Promise((n,i)=>{e=n,t=i});function i(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{i({status:"fulfilled",value:t}),e(t)},n.reject=e=>{i({status:"rejected",reason:e}),t(e)},n}}
1,83654:(e,t,n)=>{var i=n(12115),s=n(14806),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=s.useSyncExternalStore,a=i.useRef,c=i.useEffect,u=i.useMemo,l=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,s){var h=a(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var f=o(e,(h=u(function(){function e(e){if(!c){if(c=!0,o=e,e=i(e),void 0!==s&&d.hasValue){var t=d.value;if(s(t,e))return a=t}return a=e}if(t=a,r(o,e))return t;var n=i(e);return void 0!==s&&s(t,n)?(o=e,t):(o=e,a=n)}var o,a,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,i,s]))[0],h[1]);return c(function(){d.hasValue=!0,d.value=f},[f]),l(f),f}},84045:(e,t,n)=>{n.d(t,{u:()=>l});var i=n(80549);async function s(e,t={}){let n;if(t.connector)n=t.connector;else{let{connections:t,current:i}=e.state,s=t.get(i);n=s?.connector}let i=e.state.connections;n&&(await n.disconnect(),n.emitter.off("change",e._internal.events.change),n.emitter.off("disconnect",e._internal.events.disconnect),n.emitter.on("connect",e._internal.events.connect),i.delete(n.uid)),e.setState(e=>{if(0===i.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=i.values().next().value;return{...e,connections:new Map(i),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let n=e.state.connections.get(t)?.connector;if(!n)return;await e.storage?.setItem("recentConnectorId",n.id)}}var r=n(86475),o=n(86161);let a=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,o.b)(a,t)?a:(a=t,t)}var u=n(12115);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,r.U)(e),a={mutationFn:e=>s(n,e),mutationKey:["disconnect"]},{mutate:l,mutateAsync:h,...d}=(0,i.n)({...t,...a});return{...d,connectors:(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.U)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>c(e),n,{equalityFn:o.b})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:n}).map(e=>e.connector),disconnect:l,disconnectAsync:h}}},86161:(e,t,n)=>{n.d(t,{b:()=>function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){let i,s;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)&&Array.isArray(n)){if((i=t.length)!==n.length)return!1;for(s=i;0!=s--;)if(!e(t[s],n[s]))return!1;return!0}if("function"==typeof t.valueOf&&t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if("function"==typeof t.toString&&t.toString!==Object.prototype.toString)return t.toString()===n.toString();let r=Object.keys(t);if((i=r.length)!==Object.keys(n).length)return!1;for(s=i;0!=s--;)if(!Object.hasOwn(n,r[s]))return!1;for(s=i;0!=s--;){let i=r[s];if(i&&!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}})},86475:(e,t,n)=>{n.d(t,{U:()=>c});var i=n(12115),s=n(65465),r=n(28698);class o extends r.C{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return"[email protected]"}}class a extends o{constructor(){super("`useConfig` must be used within `WagmiProvider`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function c(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!=(e=t.config)?e:(0,i.useContext)(s.R);if(!n)throw new a;return n}},88210:(e,t,n)=>{n.d(t,{EQ:()=>a});var i=n(13933),s=n(82427),r=n(55563),o=n(34561);function a(e,t="hex"){let n=function e(t){return Array.isArray(t)?function(e){let t=e.reduce((e,t)=>e+t.length,0),n=c(t);return{length:t<=55?1+t:1+n+t,encode(i){for(let{encode:s}of(t<=55?i.pushByte(192+t):(i.pushByte(247+n),1===n?i.pushUint8(t):2===n?i.pushUint16(t):3===n?i.pushUint24(t):i.pushUint32(t)),e))s(i)}}}(t.map(t=>e(t))):function(e){let t="string"==typeof e?(0,r.aT)(e):e,n=c(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(e){1===t.length&&t[0]<128||(t.length<=55?e.pushByte(128+t.length):(e.pushByte(183+n),1===n?e.pushUint8(t.length):2===n?e.pushUint16(t.length):3===n?e.pushUint24(t.length):e.pushUint32(t.length))),e.pushBytes(t)}}}(t)}(e),i=(0,s.l)(new Uint8Array(n.length));return(n.encode(i),"hex"===t)?(0,o.My)(i.bytes):i.bytes}function c(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new i.C("Length is too large.")}},88737:(e,t,n)=>{n.d(t,{A7:()=>r,BG:()=>
vendor: 4,658 bytes, lines 1-2
1o,Fo:()=>f,K0:()=>c,Oh:()=>u,RM:()=>g,jj:()=>a,k5:()=>h,lN:()=>p,lY:()=>d,uC:()=>b,vW:()=>l});var i=n(42503),s=n(13933);class r extends s.C{constructor({cause:e,message:t}={}){let n=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(r,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(r,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class o extends s.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,i.Q)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class a extends s.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,i.Q)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class c extends s.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends s.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account.
2Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends s.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class h extends s.C{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class d extends s.C{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class f extends s.C{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class b extends s.C{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class p extends s.C{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,i.Q)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,i.Q)(n)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class g extends s.C{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}}
2,90523:(e,t,n)=>{n.d(t,{Lj:()=>a,WB:()=>u,uL:()=>c});var i=n(11914),s=n(50707),r=n(52623),o=n(15885);let a={"0x0":"reverted","0x1":"success"};function c(e,t){let n={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,r.e)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,i.ME)(e.transactionIndex):null,status:e.status?a[e.status]:null,type:e.type?o.b4[e.type]||e.type:null};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),n}let u=(0,s.q)("transactionReceipt",c)},90656:(e,t,n)=>{n.d(t,{L:()=>s});var i=n(50879);function s(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new i.Vg({transaction:e})}},91053:(e,t,n)=>{n.d(t,{x:()=>i});function i(e){let t={formatters:void 0,fees:void 0,serializers:void 0,...e};return Object.assign(t,{extend:function e(t){return n=>{let i="function"==typeof n?n(t):n,s={...t,...i};return Object.assign(s,{extend:e(s)})}}(t)})}},93049:(e,t,n)=>{n.d(t,{II:()=>l,cc:()=>u,v_:()=>c});var i=n(56195),s=n(63122),r=n(83515),o=n(34049);function a(e){return Math.min(1e3*2**e,3e4)}function c(e){return(e??"online")!=="online"||s.t.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){let t,n=!1,l=0,h=(0,r.T)(),d=()=>i.m.isFocused()&&("always"===e.networkMode||s.t.isOnline())&&e.canRun(),f=()=>c(e.networkMode)&&e.canRun(),b=e=>{"pending"===h.status&&(t?.(),h.resolve(e))},p=e=>{"pending"===h.status&&(t?.(),h.reject(e))},g=()=>new Promise(n=>{t=e=>{("pending"!==h.status||d())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===h.status&&e.onContinue?.()}),m=()=>{let t;if("pending"!==h.status)return;let i=0===l?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(b).catch(t=>{if("pending"!==h.status)return;let i=e.retry??3*!o.S$,s=e.retryDelay??a,r="function"==typeof s?s(l,t):s,c=!0===i||"number"==typeof i&&l<i||"function"==typeof i&&i(l,t);if(n||!c)return void p(t);l++,e.onFail?.(l,t),(0,o.yy)(r).then(()=>d()?void 0:g()).then(()=>{n?p(t):m()})})};return{promise:h,status:()=>h.status,cancel:t=>{if("pending"===h.status){let n=new u(t);p(n),e.onCancel?.(n)}},continue:()=>(t?.(),h),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:f,start:()=>(f()?m():g().then(m),h)}}},93195:(e,t,n)=>{n.d(t,{R:()=>d});var i=n(80549),s=n(43159),r=n(93420);async function o(e,t){let{addEthereumChainParameter:n,chainId:i}=t,o=e.state.connections.get(t.connector?.uid??e.state.current);if(o){let e=o.connector;if(!e.switchChain)throw new r.V({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:i})}let a=e.chains.find(e=>e.id===i);if(!a)throw new s.nk;return e.setState(e=>({...e,chainId:i})),a}var a=n(86161);let c=[];function u(e){let t=e.chains;return(0,a.b)(c,t)?c:(c=t,t)}var l=n(12115),h=n(86475);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,h.U)(e),s={mutationFn:e=>o(n,e),mutationKey:["switchChain"]},{mutate:r,mutateAsync:a,...c}=(0,i.n)({...t,...s});return{...c,chains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,h.U)(e);return(0,l.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.chains.subscribe((e,t)=>{n(e,t)})})(t,{onChange:e}),()=>u(t),()=>u(t))}({config:n}),switchChain:r,switchChainAsync:a}}},93420:(e,t,n)=>{n.d(t,{N:()=>s,V:()=>r});var i=n(28698);class s extends i.C{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class r extends i.C{constructor({connector:e}){super(`"${e.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}}
2,96748:(e,t,n)=>{n.d(t,{s:()=>i});function i(e){let t=e.state.current,n=e.state.connections.get(t),i=n?.accounts,s=i?.[0],r=e.chains.find(e=>e.id===n?.chainId),o=e.state.status;switch(o){case"connected":return{address:s,addresses:i,chain:r,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:o};case"reconnecting":return{address:s,addresses:i,chain:r,chainId:n?.chainId,connector:n?.connector,isConnected:!!s,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:o};case"connecting":return{address:s,addresses:i,chain:r,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:o};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:o}}}},99776:(e,t,n)=>{n.d(t,{Ht:()=>a,jE:()=>o});var i=n(12115),s=n(95155),r=i.createContext(void 0),o=e=>{let t=i.useContext(r);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},a=e=>{let{client:t,children:n}=e;return i.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,s.jsx)(r.Provider,{value:t,children:n})}}}]);

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.