PageSourceSearch

https://eyecoin-swap-dapp.vercel.app/_next/static/chunks/6570-c9bd…?dpl=dpl_FhkMenMA6Xy4kKAmuofZKnEEDQa8

js eyecoin-swap-dapp.vercel.app collected 2026-10-03 06:55:16 UTC 529,188 bytes, 1,776 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6570],{1220:(e,t,r)=>{"use strict";r.d(t,{b:()=>function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){let n,i;if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)&&Array.isArray(r)){if((n=t.length)!==r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if("function"==typeof t.valueOf&&t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if("function"==typeof t.toString&&t.toString!==Object.prototype.toString)return t.toString()===r.toString();let a=Object.keys(t);if((n=a.length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.hasOwn(r,a[i]))return!1;for(i=n;0!=i--;){let n=a[i];if(n&&!e(t[n],r[n]))return!1}return!0}return t!=t&&r!=r}})},1681:(e,t,r)=>{"use strict";r.d(t,{t:()=>a});var n=r(98216),i=r(5858),a=new class extends n.Q{#e=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!i.S$&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}}},1798:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});var n=r(89762);function i(e){if(66!==e.length||0!==e.indexOf("[")||65!==e.indexOf("]"))return null;let t=`0x${e.slice(1,65)}`;return(0,n.q)(t)?t:null}},1864:(e,t,r)=>{"use strict";r.d(t,{n:()=>p});var n=r(9471),i=r(96002),a=r(49586),o=r(28992),s=r(45437),c=r(7528),l=r(91497),u=r(42073),d=r(33828),f=r(50636),h=r(57513);async function p(e,t){let r,p,b,m,y,{checkReplacement:g=!0,confirmations:w=1,hash:v,onReplaced:A,retryCount:x=6,retryDelay:C=({count:e})=>200*~~(1<<e),timeout:E=18e4}=t,I=(0,l.A)(["waitForTransactionReceipt",e.uid,v]),B=t.pollingInterval?t.pollingInterval:e.chain?.experimental_preconfirmationTime?e.chain.experimental_preconfirmationTime:e.pollingInterval,P=!1,{promise:k,resolve:S,reject:O}=(0,s.Y)(),M=E?setTimeout(()=>{y?.(),m?.(),O(new i.WA({hash:v}))},E):void 0;return m=(0,o.lB)(I,{onReplaced:A,resolve:S,reject:O},async t=>{if((b=await (0,a.T)(e,f.h,"getTransactionReceipt")({hash:v}).catch(()=>void 0))&&w<=1){clearTimeout(M),t.resolve(b),m?.();return}y=(0,a.T)(e,h.q,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:B,async onBlockNumber(o){let s=e=>{clearTimeout(M),y?.(),e(),m?.()},l=o;if(!P)try{if(b){if(w>1&&(!b.blockNumber||l-b.blockNumber+1n<w))return;s(()=>t.resolve(b));return}if(g&&!r&&(P=!0,await (0,c.b)(async()=>{(r=await (0,a.T)(e,d.x,"getTransaction")({hash:v})).blockNumber&&(l=r.blockNumber)},{delay:C,retryCount:x}),P=!1),b=await (0,a.T)(e,f.h,"getTransactionReceipt")({hash:v}),w>1&&(!b.blockNumber||l-b.blockNumber+1n<w))return;s(()=>t.resolve(b))}catch(o){if(o instanceof i.Kz||o instanceof i.Kc){if(!r){P=!1;return}try{p=r,P=!0;let i=await (0,c.b)(()=>(0,a.T)(e,u.g,"getBlock")({blockNumber:l,includeTransactions:!0}),{delay:C,retryCount:x,shouldRetry:({error:e})=>e instanceof n.l});P=!1;let o=i.transactions.find(({from:e,nonce:t})=>e===p.from&&t===p.nonce);if(!o||(b=await (0,a.T)(e,f.h,"getTransactionReceipt")({hash:o.hash}),w>1&&(!b.blockNumber||l-b.blockNumber+1n<w)))return;let d="replaced";o.to===p.to&&o.value===p.value&&o.input===p.input?d="repriced":o.from===o.to&&0n===o.value&&(d="cancelled"),s(()=>{t.onReplaced?.({reason:d,replacedTransaction:p,transaction:o,transactionReceipt:b}),t.resolve(b)})}catch(e){s(()=>t.reject(e))}}else s(()=>t.reject(o))}}})}),k}},1951:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});let n=(0,r(39606).x)({id:0xaa36a7,name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://11155111.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.etherscan.io",apiUrl:"https://api-sepolia.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:8928790}},testnet:!0})},2572:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{U:()=>n})},3013:(e,t,r)=>{"use strict";r.d(t,{Vw:()=>x,DO:()=>o,CC:()=>c,sd:()=>s,Fe:()=>a,Ht:()=>l,My:()=>y,uH:()=>d,Id:()=>A,qj:()=>C,O8:()=>f,aT:()=>w,aY:()=>i,po:()=>E,Ow:()=>h,fd:()=>p,ZJ:()=>v,DH:()=>u});let n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function i(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function o(e,...t){if(!i(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 s(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");a(e.outputLen),a(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 l(e,t){o(e);let r=t.outputLen;if(e.length<r)throw Error("digestInto() expects output buffer of length at least "+r)}function u(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function d(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function f(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function h(e,t){return e<<32-t|e>>>t}let p=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let r=0;r<e.length;r++){var t;e[r]=(t=e[r])<<24&0xff000000|t<<8&0xff0000|t>>>8&65280|t>>>24&255}return e},b="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,m=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function y(e){if(o(e),b)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=m[e[r]];return t}function g(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function w(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(b)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=g(e.charCodeAt(i)),a=g(e.charCodeAt(i+1));if(void 0===r||void 0===a)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);n[t]=16*r+a}return n}function v(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 A(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];o(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}class x{}function C(e){let t=t=>e().update(v(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}
1function E(e=32){if(n&&"function"==typeof n.getRandomValues)return n.getRandomValues(new Uint8Array(e));if(n&&"function"==typeof n.randomBytes)return Uint8Array.from(n.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},3496:(e,t,r)=>{"use strict";r.d(t,{e:()=>u});var n=r(48934),i=r(79830);async function a(e,t){let r;if((r="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new i.nM;try{e.setState(e=>({...e,status:"connecting"})),r.emitter.emit("message",{type:"connecting"});let{connector:n,...i}=t,a=await r.connect(i);return r.emitter.off("connect",e._internal.events.connect),r.emitter.on("change",e._internal.events.change),r.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",r.id),e.setState(e=>({...e,connections:new Map(e.connections).set(r.uid,{accounts:i.withCapabilities?a.accounts.map(e=>"object"==typeof e?e.address:e):a.accounts,chainId:a.chainId,connector:r}),current:r.uid,status:"connected"})),{accounts:i.withCapabilities?a.accounts.map(e=>"object"==typeof e?e:{address:e,capabilities:{}}):a.accounts,chainId:a.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var o=r(12115),s=r(42482);let c=[];function l(e){let t=e.connectors;return c.length===t.length&&c.every((e,r)=>e===t[r])?c:(c=t,t)}function u(e={}){let{mutation:t}=e,r=(0,s.U)(e),i={mutationFn:e=>a(r,e),mutationKey:["connect"]},{mutate:c,mutateAsync:d,...f}=(0,n.n)({...t,...i});return(0,o.useEffect)(()=>r.subscribe(({status:e})=>e,(e,t)=>{"connected"===t&&"disconnected"===e&&f.reset()}),[r,f.reset]),{...f,connect:c,connectAsync:d,connectors:function(e={}){let t=(0,s.U)(e);return(0,o.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e._internal.connectors.subscribe((e,t)=>{r(Object.values(e),t)})})(t,{onChange:e}),()=>l(t),()=>l(t))}({config:r})}}},4016:(e,t,r)=>{"use strict";r.d(t,{j:()=>c});var n=r(80044),i=r(66568),a=r(78568),o=r(93247),s=r(65261);function c(e,{abi:t,address:r,args:c,docsPath:l,functionName:u,sender:d}){let f=e instanceof a.$S?e:e instanceof i.C?e.walk(e=>"data"in e)||e.walk():{},{code:h,data:p,details:b,message:m,shortMessage:y}=f,g=e instanceof n.O?new a.rR({functionName:u}):[3,s.bq.code].includes(h)&&(p||b||m||y)?new a.M({abi:t,data:"object"==typeof p?p.data:p,functionName:u,message:f instanceof o.J8?b:y??m}):e;return new a.bG(g,{abi:t,args:c,contractAddress:r,docsPath:l,functionName:u,sender:d})}},4038:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n,i,a=r(96776),o=function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class s extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return`@wagmi/core@${a.r}`}constructor(e,t={}){super(),n.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"});const r=t.cause instanceof s?t.cause.details:t.cause?.message?t.cause.message:t.details,i=t.cause instanceof s&&t.cause.docsPath||t.docsPath;this.message=[e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${t.docsSlug?`#${t.docsSlug}`:""}`]:[],...r?[`Details: ${r}`]:[],`Version: ${this.version}`].join("\n"),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=i,this.metaMessages=t.metaMessages,this.shortMessage=e}walk(e){return o(this,n,"m",i).call(this,this,e)}}n=new WeakSet,i=function e(t,r){return r?.(t)?t:t.cause?o(this,n,"m",e).call(this,t.cause,r):t}},4109:(e,t,r)=>{"use strict";let n;r.d(t,{I:()=>A});var i=r(20562),a=r(31967),o=r(65531),s=r(98216),c=r(46062),l=r(5858),u=r(83599),d=class extends s.Q{constructor(e,t){super(),this.options=t,this.#n=e,this.#i=null,this.#a=(0,c.T)(),this.bindMethods(),this.setOptions(t)}#n;#o=void 0;#s=void 0;#c=void 0;#l;#u;#a;#i;#d;#f;#h;#p;#b;#m;#y=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#o.addObserver(this),f(this.#o,this.options)?this.#g():this.updateResult(),this.#w())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h(this.#o,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.#o,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#A(),this.#o.removeObserver(this)}setOptions(e){let t=this.options,r=this.#o;if(this.options=this.#n.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,l.Eh)(this.options.enabled,this.#o))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#x(),this.#o.setOptions(this.options),t._defaulted&&!(0,l.f8)(this.options,t)&&this.#n.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#o,observer:this});let n=this.hasListeners();n&&p(this.#o,r,this.options,t)&&this.#g(),this.updateResult(),n&&(this.#o!==r||(0,l.Eh)(this.options.enabled,this.#o)!==(0,l.Eh)(t.enabled,this.#o)||(0,l.d2)(this.options.staleTime,this.#o)!==(0,l.d2)(t.staleTime,this.#o))&&this.#C();let i=this.#E();n&&(this.#o!==r||(0,l.Eh)(this.options.enabled,this.#o)!==(0,l.Eh)(t.enabled,this.#o)||i!==this.#m)&&this.#I(i)}getOptimisticResult(e){var t,r;let n=this.#n.getQueryCache().build(this.#n,e),i=this.createResult(n,e);return t=this,r=i,(0,l.f8)(t.getCurrentResult(),r)||(this.#c=i,this.#u=this.options,this.#l=this.#o.state),i}getCurrentResult(){return this.#c}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#a.status||this.#a.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#y.add(e)}getCurrentQuery(){return this.#o}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#n.defaultQueryOptions(e),r=this.#n.getQueryCache().build(this.#n,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#g({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#c))}#g(e){this.#x();let t=this.#o.fetch(this.options,e);return e?.throwOnError||(t=t.catch(l.lQ)),t}#C(){this.#v();let e=(0,l.d2)(this.options.staleTime,this.#o);if(l.S$||this.#c.isStale||!(0,l.gn)(e))return;let t=(0,l.j3)(this.#c.dataUpdatedAt,e);this.#p=u.zs.setTimeout(()=>{this.#c.isStale||this.updateResult()},t+1)}#E(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#o):this.options.refetchInterval)??!1}#I(e){this.#A(),this.#m=e,!l.S$&&!1!==(0,l.Eh)(this.options.enabled,this.#o)&&(0,l.gn)(this.#m)&&0!==this.#m&&(this.#b=u.zs.setInterval(()=>
1{(this.options.refetchIntervalInBackground||i.m.isFocused())&&this.#g()},this.#m))}#w(){this.#C(),this.#I(this.#E())}#v(){this.#p&&(u.zs.clearTimeout(this.#p),this.#p=void 0)}#A(){this.#b&&(u.zs.clearInterval(this.#b),this.#b=void 0)}createResult(e,t){let r,n=this.#o,i=this.options,a=this.#c,s=this.#l,u=this.#u,d=e!==n?e.state:this.#s,{state:h}=e,m={...h},y=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&f(e,t),s=r&&p(e,n,t,i);(a||s)&&(m={...m,...(0,o.k)(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(m.fetchStatus="idle")}let{error:g,errorUpdatedAt:w,status:v}=m;r=m.data;let A=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===v){let e;a?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=a.data,A=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,void 0!==e&&(v="success",r=(0,l.pl)(a?.data,e,t),y=!0)}if(t.select&&void 0!==r&&!A)if(a&&r===s?.data&&t.select===this.#d)r=this.#f;else try{this.#d=t.select,r=t.select(r),r=(0,l.pl)(a?.data,r,t),this.#f=r,this.#i=null}catch(e){this.#i=e}this.#i&&(g=this.#i,r=this.#f,w=Date.now(),v="error");let x="fetching"===m.fetchStatus,C="pending"===v,E="error"===v,I=C&&x,B=void 0!==r,P={status:v,fetchStatus:m.fetchStatus,isPending:C,isSuccess:"success"===v,isError:E,isInitialLoading:I,isLoading:I,data:r,dataUpdatedAt:m.dataUpdatedAt,error:g,errorUpdatedAt:w,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:E&&!B,isPaused:"paused"===m.fetchStatus,isPlaceholderData:y,isRefetchError:E&&B,isStale:b(e,t),refetch:this.refetch,promise:this.#a,isEnabled:!1!==(0,l.Eh)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===P.status?e.reject(P.error):void 0!==P.data&&e.resolve(P.data)},r=()=>{t(this.#a=P.promise=(0,c.T)())},i=this.#a;switch(i.status){case"pending":e.queryHash===n.queryHash&&t(i);break;case"fulfilled":("error"===P.status||P.data!==i.value)&&r();break;case"rejected":("error"!==P.status||P.error!==i.reason)&&r()}}return P}updateResult(){let e=this.#c,t=this.createResult(this.#o,this.options);if(this.#l=this.#o.state,this.#u=this.options,void 0!==this.#l.data&&(this.#h=this.#o),(0,l.f8)(t,e))return;this.#c=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#y.size)return!0;let n=new Set(r??this.#y);return this.options.throwOnError&&n.add("error"),Object.keys(this.#c).some(t=>this.#c[t]!==e[t]&&n.has(t))};this.#B({listeners:r()})}#x(){let e=this.#n.getQueryCache().build(this.#n,this.options);if(e===this.#o)return;let t=this.#o;this.#o=e,this.#s=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#w()}#B(e){a.jG.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#c)}),this.#n.getQueryCache().notify({query:this.#o,type:"observerResultsUpdated"})})}};function f(e,t){return!1!==(0,l.Eh)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&h(e,t,t.refetchOnMount)}function h(e,t,r){if(!1!==(0,l.Eh)(t.enabled,e)&&"static"!==(0,l.d2)(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&b(e,t)}return!1}function p(e,t,r,n){return(e!==t||!1===(0,l.Eh)(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&b(e,r)}function b(e,t){return!1!==(0,l.Eh)(t.enabled,e)&&e.isStaleByTime((0,l.d2)(t.staleTime,e))}var m=r(12115),y=r(35625);r(95155);var g=m.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),w=m.createContext(!1);w.Provider;var v=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function A(e,t){return function(e,t,r){let n=m.useContext(w),i=m.useContext(g),o=(0,y.jE)(r),s=o.defaultQueryOptions(e);if(o.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=n?"isRestoring":"optimistic",s.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=s.staleTime;s.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof s.gcTime&&(s.gcTime=Math.max(s.gcTime,1e3))}(s.suspense||s.throwOnError||s.experimental_prefetchInRender)&&!i.isReset()&&(s.retryOnMount=!1),m.useEffect(()=>{i.clearReset()},[i]);let c=!o.getQueryCache().get(s.queryHash),[u]=m.useState(()=>new t(o,s)),d=u.getOptimisticResult(s),f=!n&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=f?u.subscribe(a.jG.batchCalls(e)):l.lQ;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),m.useEffect(()=>{u.setOptions(s)},[s,u]),s?.suspense&&d.isPending)throw v(s,u,i);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(i&&void 0===e.data||(0,l.GU)(r,[e.error,n])))({result:d,errorResetBoundary:i,throwOnError:s.throwOnError,query:o.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw d.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(s,d),s.experimental_prefetchInRender&&!l.S$&&d.isLoading&&d.isFetching&&!n){let e=c?v
1(s,u,i):o.getQueryCache().get(s.queryHash)?.promise;e?.catch(l.lQ).finally(()=>{u.updateResult()})}return s.notifyOnChangeProps?d:u.trackResult(d)}(e,d,t)}},4154:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var n=r(64411)},4174:(e,t,r)=>{"use strict";r.d(t,{A7:()=>a,BG:()=>o,Fo:()=>h,K0:()=>c,Oh:()=>l,RM:()=>m,jj:()=>s,k5:()=>d,lN:()=>b,lY:()=>f,uC:()=>p,vW:()=>u});var n=r(22160),i=r(66568);class a extends i.C{constructor({cause:e,message:t}={}){const r=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${r?`with reason: ${r}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class o extends i.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,n.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 s extends i.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,n.Q)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(s,"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 i.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 l extends i.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(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class u extends i.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(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends i.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(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class f extends i.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(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class h extends i.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(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class p extends i.C{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class b extends i.C{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:r}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,n.Q)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${r?` = ${(0,n.Q)(r)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class m extends i.C{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},4181:(e,t,r)=>{"use strict";r.d(t,{p:()=>u});var n=r(76429),i=r(44497),a=r(80044),o=r(56213),s=r(24029),c=r(42330);let l="/docs/contract/encodeFunctionData";function u(e){let{args:t}=e,{abi:r,functionName:u}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:r,functionName:n}=e,i=t[0];if(n){let e=(0,c.iY)({abi:t,args:r,name:n});if(!e)throw new a.Iz(n,{docsPath:l});i=e}if("function"!==i.type)throw new a.Iz(void 0,{docsPath:l});return{abi:[i],functionName:(0,o.V)((0,s.B)(i))}}(e),d=r[0],f="inputs"in d&&d.inputs?(0,i.h)(d.inputs,t??[]):void 0;return(0,n.aP)([u,f??"0x"])}},4879:(e,t,r)=>{"use strict";r.d(t,{EH:()=>a,YE:()=>s,jF:()=>o,qD:()=>c,rj:()=>i});var n=r(66568);class i extends n.C{constructor({blockNumber:e,chain:t,contract:r}){super(`Chain "${t.name}" does not support contract "${r.name}".`,{metaMessages:["This could be due to any of the following:",...e&&r.blockCreated&&r.blockCreated>e?[`- The contract "${r.name}" was not deployed until block ${r.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${r.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class a extends n.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 n.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 s extends n.C{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class c extends n.C{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
2" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},5573:(e,t,r)=>{"use strict";function n(e){return e.state.chainId}r.d(t,{i:()=>o});var i=r(12115),a=r(42482);function o(e={}){let t=(0,a.U)(e);return(0,i.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e.subscribe(e=>e.chainId,r)})(t,{onChange:e}),()=>n(t),()=>n(t))}},5858:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>b,EN:()=>p,Eh:()=>u,F$:()=>h,GU:()=>P,MK:()=>d,S$:()=>i,ZM:()=>B,ZZ:()=>E,Zw:()=>o,d2:()=>l,f8:()=>y,gn:()=>s,hT:()=>I,j3:()=>c,lQ:()=>a,nJ:()=>f,pl:()=>x,y9:()=>C,yy:()=>A});var n=r(83599),i="undefined"==typeof window||"Deno"in globalThis;function a(){}function o(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t){return"function"==typeof e?e(t):e}function u(e,t){return"function"==typeof e?e(t):e}function d(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==h(o,t.options))return!1}else if(!b(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function f(e,t){let{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(p(t.options.mutationKey)!==p(a))return!1}else if(!b(t.options.mutationKey,a))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function h(e,t){return(t?.queryKeyHashFn||p)(e)}function p(e){return JSON.stringify(e,(e,t)=>w(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function b(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>b(e[r],t[r]))}var m=Object.prototype.hasOwnProperty;function y(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function g(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function w(e){if(!v(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!v(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e){return new Promise(t=>{n.zs.setTimeout(t,e)})}function x(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=g(t)&&g(r);if(!n&&!(w(t)&&w(r)))return r;let i=(n?t:Object.keys(t)).length,a=n?r:Object.keys(r),o=a.length,s=n?Array(o):{},c=0;for(let l=0;l<o;l++){let o=n?l:a[l],u=t[o],d=r[o];if(u===d){s[o]=u,(n?l<i:m.call(t,o))&&c++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){s[o]=d;continue}let f=e(u,d);s[o]=f,f===u&&c++}return i===o&&c===i?t:s}(e,t):t}function C(e,t,r=0){let n=[...e,t];return r&&n.length>r?n.slice(1):n}function E(e,t,r=0){let n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var I=Symbol();function B(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==I?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function P(e,t){return"function"==typeof e?e(...t):!!e}},6101:(e,t,r)=>{"use strict";let n;r.d(t,{Z:()=>w});var i=r(74696);let a=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>a(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>a(t)(e)}}},o=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,a={setState:n,getState:i,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,i,a);return a},s=e=>e?o(e):o;var c=r(25601),l=r(4154);class u{constructor(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new l.b})}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}emit(e,...t){let r=t[0];this._emitter.emit(e,{uid:this.uid,...r})}listenerCount(e){return this._emitter.listenerCount(e)}}function d(e,t){return JSON.parse(e,(e,r)=>{let n=r;return n?.__type==="bigint"&&(n=BigInt(n.value)),n?.__type==="Map"&&(n=new Map(n.value)),t?.(e,n)??n})}function f(e,t){return e.slice(0,t).join(".")||"."}function h(e,t){let{length:r}=e;for(let n=0;n<r;++n)if(e[n]===t)return n+1;return 0}function p(e,t,r,n){var i;let a,o,s,c;return JSON.stringify(e,(i=(e,r)=>{let n=r;return"bigint"==typeof n&&(n={__type:"bigint",value:r.toString()}),n instanceof Map&&(n={__type:"Map",value:Array.from(r.entries())}),t?.(e,n)??n},a=true,o="function"==typeof n,s=[],c=[],function(e,t){if("object"==typeof t)if(s.length){let r=h(s,this);0===r?s[s.length]=this:(s.splice(r),c.splice(r)),c[c.length]=e;let i=h(s,t);if(0!==i)return o?n.call(this,e,t,f(c,i)):`[ref=${f(c,i)}]`}else s[0]=t,c[0]=e;return a?i.call(this,e,t):t}),r??void 0)}let b={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};var m=r(79830);let y=256;var g=r(96776);function w(e){let t,r,o,l,f,h,w,v,{multiInjectedProviderDiscovery:A=!0,storage:x=function(e){let{deserialize:t=d,key:r="wagmi",serialize:n=p,storage:i=b}=e;function a(e){return e instanceof Promise?e.then(e=>e).catch(()=>null):e}return{...i,key:r,async getItem(e,n){let o=i.getItem(`${r}.${e}`),s=await a(o);return s?t(s)??null:n??null},async setItem(e,t){let o=`${r}.${e}`;null===t?await a(i.removeItem(o)):await a(i.setItem(o,n(t)))},async removeItem(e){await a(i.removeItem(`${r}.${e}`))}}}({storage:(r="undefined"!=typeof window&&window.localStorage?window.localStorage:b,{getItem:e=>r.getItem(e),removeItem(e){r.removeItem(e)},setItem(e,t){try{r.setItem(e,t)}catch{}}})}),syncConnectedChain:C=!0,ssr:E=!1,...I}=e,B="undefined"!=typeof window&&A?(o=new Set,l=[],h=(f=()=>(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)})(e=>{l.some(({info:t})=>t.uuid===e.info.uuid)||(l=[...l,e],o.forEach(t=>t(l,{added:[e]})))}
2))(),{_listeners:()=>o,clear(){o.forEach(e=>e([],{removed:[...l]})),l=[]},destroy(){this.clear(),o.clear(),h?.()},findProvider:({rdns:e})=>l.find(t=>t.info.rdns===e),getProviders:()=>l,reset(){this.clear(),h?.(),h=f()},subscribe:(e,{emitImmediately:t}={})=>(o.add(e),t&&e(l,{added:l}),()=>o.delete(e))}):void 0,P=s(()=>I.chains),k=s(()=>{let e=[],t=new Set;for(let r of I.connectors??[]){let n=S(r);if(e.push(n),!E&&n.rdns)for(let e of"string"==typeof n.rdns?[n.rdns]:n.rdns)t.add(e)}if(!E&&B)for(let r of B.getProviders())t.has(r.info.rdns)||e.push(S(O(r)));return e});function S(e){let t=new u(function(e=11){if(!n||y+e>512){n="",y=0;for(let e=0;e<256;e++)n+=(256+256*Math.random()|0).toString(16).substring(1)}return n.substring(y,y+++e)}()),r={...e({emitter:t,chains:P.getState(),storage:x,transports:I.transports}),emitter:t,uid:t.uid};return t.on("connect",U),r.setup?.(),r}function O(e){let{info:t}=e,r=e.provider;return(0,c.b)({target:{...t,id:t.rdns,provider:r}})}let M=new Map;function R(){return{chainId:P.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let T="0.0.0-canary-";t=g.r.startsWith(T)?Number.parseInt(g.r.replace(T,""),10):Number.parseInt(g.r.split(".")[0]??"0",10);let F=s((v=x?(w={migrate(e,r){if(r===t)return e;let n=R(),i=N(e,n.chainId);return{...n,chainId:i}},name:"store",partialize:e=>({connections:{__type:"Map",value:Array.from(e.connections.entries()).map(([e,t])=>{let{id:r,name:n,type:i,uid:a}=t.connector;return[e,{...t,connector:{id:r,name:n,type:i,uid:a}}]})},chainId:e.chainId,current:e.current}),merge(e,t){"object"==typeof e&&e&&"status"in e&&delete e.status;let r=N(e,t.chainId);return{...t,...e,chainId:r}},skipHydration:E,storage:x,version:t},(e,t,r)=>{let n,i={storage:function(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var t;let n=e=>null===e?null:JSON.parse(e,void 0),i=null!=(t=r.getItem(e))?t:null;return i instanceof Promise?i.then(n):n(i)},setItem:(e,t)=>r.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>r.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...w},o=!1,s=new Set,c=new Set,l=i.storage;if(!l)return R((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),e(...t)},t,r);let u=()=>{let e=i.partialize({...t()});return l.setItem(i.name,{state:e,version:i.version})},d=r.setState;r.setState=(e,t)=>{d(e,t),u()};let f=R((...t)=>{e(...t),u()},t,r);r.getInitialState=()=>f;let h=()=>{var r,d;if(!l)return;o=!1,s.forEach(e=>{var r;return e(null!=(r=t())?r:f)});let h=(null==(d=i.onRehydrateStorage)?void 0:d.call(i,null!=(r=t())?r:f))||void 0;return a(l.getItem.bind(l))(i.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];else{if(i.migrate)return[!0,i.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(r=>{var a;let[o,s]=r;if(e(n=i.merge(s,null!=(a=t())?a:f),!0),o)return u()}).then(()=>{null==h||h(n,void 0),n=t(),o=!0,c.forEach(e=>e(n))}).catch(e=>{null==h||h(void 0,e)})};return r.persist={setOptions:e=>{i={...i,...e},e.storage&&(l=e.storage)},clearStorage:()=>{null==l||l.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>h(),hasHydrated:()=>o,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},i.skipHydration||h(),n||f}):R,(e,t,r)=>{let n=r.subscribe;return r.subscribe=(e,t,i)=>{let a=e;if(t){let n=(null==i?void 0:i.equalityFn)||Object.is,o=e(r.getState());a=r=>{let i=e(r);if(!n(o,i)){let e=o;t(o=i,e)}},(null==i?void 0:i.fireImmediately)&&t(o,o)}return n(a)},v(e,t,r)}));function N(e,t){return e&&"object"==typeof e&&"chainId"in e&&"number"==typeof e.chainId&&P.getState().some(t=>t.id===e.chainId)?e.chainId:t}function j(e){F.setState(t=>{let r=t.connections.get(e.uid);return r?{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts??r.accounts,chainId:e.chainId??r.chainId,connector:r.connector})}:t})}function U(e){"connecting"!==F.getState().status&&"reconnecting"!==F.getState().status&&F.setState(t=>{let r=k.getState().find(t=>t.uid===e.uid);return r?(r.emitter.listenerCount("connect")&&r.emitter.off("connect",j),r.emitter.listenerCount("change")||r.emitter.on("change",j),r.emitter.listenerCount("disconnect")||r.emitter.on("disconnect",D),{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts,chainId:e.chainId,connector:r}),current:e.uid,status:"connected"}):t})}function D(e){F.setState(t=>{let r=t.connections.get(e.uid);if(r){let e=r.connector;e.emitter.listenerCount("change")&&r.connector.emitter.off("change",j),e.emitter.listenerCount("disconnect")&&r.connector.emitter.off("disconnect",D),e.emitter.listenerCount("connect")||r.connector.emitter.on("connect",U)}if(t.connections.delete(e.uid),0===t.connections.size)return{...t,connections:new Map,current:null,status:"disconnected"};let n=t.connections.values().next().value;return{...t,connections:new Map(t.connections),current:n.connector.uid}})}return F.setState(R()),C&&F.subscribe(({connections:e,current:t})=>t?e.get(t)?.chainId:void 0,e=>{if(P.getState().some(t=>t.id===e))return F.setState(t=>({...t,chainId:e??t.chainId}))}),B?.subscribe(e=>{let t=new Set,r=new Set;for(let e of k.getState())if(t.add(e.id),e.rdns)for(let t of"string"==typeof e.rdns?[e.rdns]:e.rdns)r.add(t);let n=[];for(let i of e){if(r.has(i.info.rdns))continue;let e=S(O(i));t.has(e.id)||n.push(e)}(!x||F.persist.hasHydrated())&&k.setState(e=>[...e,...n],!0)}),{get chains(){return P.getState()},get connectors(){return k.getState()},storage:x,getClient:function(e={}
2){let t,r=e.chainId??F.getState().chainId,n=P.getState().find(e=>e.id===r);if(e.chainId&&!n)throw new m.nk;{let e=M.get(F.getState().chainId);if(e&&!n)return e;if(!n)throw new m.nk}{let e=M.get(r);if(e)return e}if(I.client)t=I.client({chain:n});else{let e=n.id,r=P.getState().map(e=>e.id),a={};for(let[t,n]of Object.entries(I))if("chains"!==t&&"client"!==t&&"connectors"!==t&&"transports"!==t)if("object"==typeof n)if(e in n)a[t]=n[e];else{if(r.some(e=>e in n))continue;a[t]=n}else a[t]=n;t=(0,i.U)({...a,chain:n,batch:a.batch??{multicall:!0},transport:t=>I.transports[e]({...t,connectors:k})})}return M.set(r,t),t},get state(){return F.getState()},setState(e){let t;t="function"==typeof e?e(F.getState()):e;let r=R();"object"!=typeof t&&(t=r),Object.keys(r).some(e=>!(e in t))&&(t=r),F.setState(t,!0)},subscribe:(e,t,r)=>F.subscribe(e,t,r?{...r,fireImmediately:r.emitImmediately}:void 0),_internal:{mipd:B,async revalidate(){let e=F.getState(),t=e.connections,r=e.current;for(let[,e]of t){let n=e.connector;n.isAuthorized&&await n.isAuthorized()||(t.delete(n.uid),r===n.uid&&(r=null))}F.setState(e=>({...e,connections:t,current:r}))},store:F,ssr:!!E,syncConnectedChain:C,transports:I.transports,chains:{setState(e){let t="function"==typeof e?e(P.getState()):e;if(0!==t.length)return P.setState(t,!0)},subscribe:e=>P.subscribe(e)},connectors:{providerDetailToConnector:O,setup:S,setState:e=>k.setState("function"==typeof e?e(k.getState()):e,!0),subscribe:e=>k.subscribe(e)},events:{change:j,connect:U,disconnect:D}}}}},6593:(e,t,r)=>{"use strict";r.d(t,{T:()=>i,Z:()=>a});var n=r(66568);class i extends n.C{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class a extends n.C{constructor({docsPath:e,metaMessages:t,type:r}){super(`Account type "${r}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}},7211:(e,t,r)=>{"use strict";r.d(t,{EQ:()=>s});var n=r(66568),i=r(14870),a=r(22106),o=r(84428);function s(e,t="hex"){let r=function e(t){var r,n;let i,o,s,l;return Array.isArray(t)?(o=c(i=(r=t.map(t=>e(t))).reduce((e,t)=>e+t.length,0)),{length:i<=55?1+i:1+o+i,encode(e){for(let{encode:t}of(i<=55?e.pushByte(192+i):(e.pushByte(247+o),1===o?e.pushUint8(i):2===o?e.pushUint16(i):3===o?e.pushUint24(i):e.pushUint32(i)),r))t(e)}}):(l=c((s="string"==typeof(n=t)?(0,a.aT)(n):n).length),{length:1===s.length&&s[0]<128?1:s.length<=55?1+s.length:1+l+s.length,encode(e){1===s.length&&s[0]<128||(s.length<=55?e.pushByte(128+s.length):(e.pushByte(183+l),1===l?e.pushUint8(s.length):2===l?e.pushUint16(s.length):3===l?e.pushUint24(s.length):e.pushUint32(s.length))),e.pushBytes(s)}})}(e),n=(0,i.l)(new Uint8Array(r.length));return(r.encode(n),"hex"===t)?(0,o.My)(n.bytes):n.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 n.C("Length is too large.")}},7528:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var n=r(46269);function i(e,{delay:t=100,retryCount:r=2,shouldRetry:a=()=>!0}={}){return new Promise((i,o)=>{let s=async({count:c=0}={})=>{let l=async({error:e})=>{let r="function"==typeof t?t({count:c,error:e}):t;r&&await (0,n.u)(r),s({count:c+1})};try{let t=await e();i(t)}catch(e){if(c<r&&await a({count:c,error:e}))return l({error:e});o(e)}};s()})}},8039:(e,t,r)=>{"use strict";e.exports=r(65538)},8314:(e,t,r)=>{"use strict";r.d(t,{q:()=>a,f:()=>i});var n=function(e,t){return Object.defineProperty(e,"__recipe__",{value:t,writable:!1}),e};function i(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");return n(function(e){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return{[t.defaultCondition]:e}}if(Array.isArray(e)){if(!("responsiveArray"in t))throw Error("Responsive arrays are not supported");var r={};for(var n in t.responsiveArray)null!=e[n]&&(r[t.responsiveArray[n]]=e[n]);return r}return e},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createNormalizeValueFn",args:[{conditions:e.conditions}]})}function a(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");var r=i(e);return n(function(e,n){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return n(e,t.defaultCondition)}var i=Array.isArray(e)?r(e):e,a={};for(var o in i)null!=i[o]&&(a[o]=n(i[o],o));return a},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createMapValueFn",args:[{conditions:e.conditions}]})}},8599:(e,t,r)=>{"use strict";function n(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function i(e,t){var r={};if("object"==typeof t)!function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={};for(var a in t){var o=t[a],s=[...n,a];"string"==typeof o||"number"==typeof o||null==o?i[a]=r(o,s):"object"!=typeof o||Array.isArray(o)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(o)?"Array":typeof o,'"')):i[a]=e(o,r,s
2)}return i}(t,(t,i)=>{null!=t&&(r[n(function(e,t){var r=e;for(var n of t){if(!(n in r))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));r=r[n]}return r}(e,i))]=String(t))});else for(var i in e){var a=e[i];null!=a&&(r[n(i)]=a)}return Object.defineProperty(r,"toString",{value:function(){return Object.keys(this).map(e=>"".concat(e,":").concat(this[e])).join(";")},writable:!1}),r}r.d(t,{D:()=>i})},8685:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});let n=r(59482).k},9471:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var n=r(66568);class i extends n.C{constructor({blockHash:e,blockNumber:t}){let r="Block";e&&(r=`Block at hash "${e}"`),t&&(r=`Block at number "${t}"`),super(`${r} could not be found.`,{name:"BlockNotFoundError"})}}},9846:(e,t,r)=>{"use strict";r.d(t,{II:()=>u,cc:()=>l,v_:()=>c});var n=r(20562),i=r(1681),a=r(46062),o=r(5858);function s(e){return Math.min(1e3*2**e,3e4)}function c(e){return(e??"online")!=="online"||i.t.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function u(e){let t,r=!1,u=0,d=(0,a.T)(),f=()=>n.m.isFocused()&&("always"===e.networkMode||i.t.isOnline())&&e.canRun(),h=()=>c(e.networkMode)&&e.canRun(),p=e=>{"pending"===d.status&&(t?.(),d.resolve(e))},b=e=>{"pending"===d.status&&(t?.(),d.reject(e))},m=()=>new Promise(r=>{t=e=>{("pending"!==d.status||f())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===d.status&&e.onContinue?.()}),y=()=>{let t;if("pending"!==d.status)return;let n=0===u?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(p).catch(t=>{if("pending"!==d.status)return;let n=e.retry??3*!o.S$,i=e.retryDelay??s,a="function"==typeof i?i(u,t):i,c=!0===n||"number"==typeof n&&u<n||"function"==typeof n&&n(u,t);r||!c?b(t):(u++,e.onFail?.(u,t),(0,o.yy)(a).then(()=>f()?void 0:m()).then(()=>{r?b(t):y()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let r=new l(t);b(r),e.onCancel?.(r)}},continue:()=>(t?.(),d),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:h,start:()=>(h()?y():m().then(y),d)}}},10155:(e,t,r)=>{"use strict";r.d(t,{O:()=>l,_:()=>c});var n=r(50474),i=r(49586),a=r(14124),o=r(42073),s=r(94310);async function c(e,t){return l(e,t)}async function l(e,t){let{block:r,chain:c=e.chain,request:l,type:u="eip1559"}=t||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:r,client:e,request:l}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new n.sM;let f=d.toString().split(".")[1]?.length??0,h=10**f,p=e=>e*BigInt(Math.ceil(d*h))/BigInt(h),b=r||await (0,i.T)(e,o.g,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:r,client:e,multiply:p,request:l,type:u});if(null!==t)return t}if("eip1559"===u){if("bigint"!=typeof b.baseFeePerGas)throw new n.pw;let t="bigint"==typeof l?.maxPriorityFeePerGas?l.maxPriorityFeePerGas:await (0,a.N)(e,{block:b,chain:c,request:l}),r=p(b.baseFeePerGas);return{maxFeePerGas:l?.maxFeePerGas??r+t,maxPriorityFeePerGas:t}}return{gasPrice:l?.gasPrice??p(await (0,i.T)(e,s.L,"getGasPrice")({}))}}},12131:(e,t,r)=>{"use strict";r.d(t,{g:()=>l});var n=r(90964),i=r(76429),a=r(22106),o=r(84428),s=r(7211),c=r(18860);async function l(e){let{authorization:t,signature:r}=e;return(0,n.x)({hash:function(e){let{chainId:t,nonce:r,to:n}=e,l=e.contractAddress??e.address,u=(0,c.S)((0,i.aP)(["0x05",(0,s.EQ)([t?(0,o.cK)(t):"0x",l,r?(0,o.cK)(r):"0x"])]));return"bytes"===n?(0,a.aT)(u):u}(t),signature:r??t})}},12515:(e,t,r)=>{"use strict";r.d(t,{Hi:()=>i,ft:()=>a,uj:()=>s});var n=r(66568);class i extends n.C{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class a extends n.C{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function o(e){return e.reduce((e,{slot:t,value:r})=>`${e}        ${t}: ${r}
3`,"")}function s(e){return e.reduce((e,{address:t,...r})=>{let n=`${e}    ${t}:
4`;return r.nonce&&(n+=`      nonce: ${r.nonce}
5`),r.balance&&(n+=`      balance: ${r.balance}
6`),r.code&&(n+=`      code: ${r.code}
7`),r.state&&(n+="      state:\n",n+=o(r.state)),r.stateDiff&&(n+="      stateDiff:\n",n+=o(r.stateDiff)),n},"  State Override:\n").slice(0,-1)}},12581:(e,t,r)=>{"use strict";function n(e,{dir:t="left"}={}){let r="string"==typeof e?e.replace("0x",""):e,i=0;for(let e=0;e<r.length-1;e++)if("0"===r["left"===t?e:r.length-e-1].toString())i++;else break;
7return(r="left"===t?r.slice(i):r.slice(0,r.length-i),"string"==typeof e)?(1===r.length&&"right"===t&&(r=`${r}0`),`0x${r.length%2==1?`0${r}`:r}`):r}r.d(t,{B:()=>n})},12706:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(18860),i=r(76429),a=r(45696),o=r(84428);function s(e,t){let r,s;return(0,n.S)((r="string"==typeof e?(0,o.i3)(e):"string"==typeof e.raw?e.raw:(0,o.My)(e.raw),s=(0,o.i3)(`\x19Ethereum Signed Message:
8${(0,a.E)(r)}`),(0,i.xW)([s,r])),t)}},13672:(e,t,r)=>{"use strict";r.d(t,{T0:()=>s});var n,i=r(12115),a=function(){var e=0,t=null;return{add:function(i){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,o;(a=t).styleSheet?a.styleSheet.cssText=i:a.appendChild(document.createTextNode(i)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},o=function(){var e=a();return function(t,r){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},s=function(){var e=o();return function(t){return e(t.styles,t.dynamic),null}}},14124:(e,t,r)=>{"use strict";r.d(t,{N:()=>l,b:()=>c});var n=r(50474),i=r(94747),a=r(49586),o=r(42073),s=r(94310);async function c(e,t){return l(e,t)}async function l(e,t){let{block:r,chain:c=e.chain,request:l}=t||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let n=r||await (0,a.T)(e,o.g,"getBlock")({}),i=await t({block:n,client:e,request:l});if(null===i)throw Error();return i}if(void 0!==t)return t;let n=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,i.uU)(n)}catch{let[t,i]=await Promise.all([r?Promise.resolve(r):(0,a.T)(e,o.g,"getBlock")({}),(0,a.T)(e,s.L,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new n.pw;let c=i-t.baseFeePerGas;if(c<0n)return 0n;return c}}},14870:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(41568);let i={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 n.hX({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new n.SK({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new n.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 n.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 r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function a(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(i);return r.bytes=e,r.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}},17626:(e,t,r)=>{"use strict";r.d(t,{G:()=>o});let n=new Map,i=new Map;async function a(e,{cacheKey:t,cacheTime:r=1/0}){let a,o,s,c=(o=(a=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:r=>t.set(e,r)}))(t,n),{clear:()=>{o.clear(),s.clear()},promise:o,response:s=a(t,i)}),l=c.response.get();if(l&&r>0&&Date.now()-l.created.getTime()<r)return l.data;let u=c.promise.get();u||(u=e(),c.promise.set(u));try{let e=await u;return c.response.set({created:new Date,data:e}),e}finally{c.promise.clear()}}async function o(e,{cacheTime:t=e.cacheTime}={}){let r;return BigInt(await a(()=>e.request({method:"eth_blockNumber"}),{cacheKey:(r=e.uid,`blockNumber.${r}`),cacheTime:t}))}},18267:(e,t,r)=>{"use strict";r.d(t,{I:()=>i,R:()=>n});let n=e=>e,i=e=>e},18587:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>o,E5:()=>d,Rm:()=>l,SJ:()=>c,UW:()=>u,b2:()=>i,oX:()=>s,v2:()=>n});let n=[{inputs:[{components:[{name:"target",type:"address"}
vendor: 5,120 bytes, line 8
8,{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],i=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],a=[{inputs:[{name:"dns",type:"bytes"}],name:"DNSDecodingFailed",type:"error"},{inputs:[{name:"ens",type:"string"}],name:"DNSEncodingFailed",type:"error"},{inputs:[],name:"EmptyAddress",type:"error"},{inputs:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"HttpError",type:"error"},{inputs:[],name:"InvalidBatchGatewayResponse",type:"error"},{inputs:[{name:"errorData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{name:"name",type:"bytes"},{name:"resolver",type:"address"}],name:"ResolverNotContract",type:"error"},{inputs:[{name:"name",type:"bytes"}],name:"ResolverNotFound",type:"error"},{inputs:[{name:"primary",type:"string"},{name:"primaryAddress",type:"bytes"}],name:"ReverseAddressMismatch",type:"error"},{inputs:[{internalType:"bytes4",name:"selector",type:"bytes4"}],name:"UnsupportedResolverProfile",type:"error"}],o=[...a,{name:"resolveWithGateways",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],s=[...a,{name:"reverseWithGateways",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"uint256",name:"coinType"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolver"},{type:"address",name:"reverseResolver"}]}],c=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],l=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],u=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],d=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}]},18860:(e,t,r)=>{"use strict";r.d(t,{S:()=>s});var n=r(95042),i=r(89762),a=r(22106),o=r(84428);function s(e,t){let r=(0,n.lY)((0,i.q)(e,{strict:!1})?(0,a.ZJ)(e):e);return"bytes"===(t||"hex")?r:(0,o.nj)(r)}},18893:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var n=r(80044),i=r(81693),a=r(56213),o=r(37826),s=r(24029);function c(e){let{abi:t,data:r}=e,c=(0,i.di)(r,0,4),l=t.find(e=>"function"===e.type&&c===(0,a.V)((0,s.B)(e)));if(!l)throw new n.EB(c,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:l.name,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,o.n)(l.inputs,(0,i.di)(r,4)):void 0}}},20510:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});var n=r(3013);class i extends n.Vw{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.sd)(e);const r=(0,n.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;const i=this.blockLen,a=new Uint8Array(i);a.set(r.length>i?e.create().update(r).digest():r);for(let e=0;e<a.length;e++)a[e]^=54;this.iHash.update(a),this.oHash=e.create();for(let e=0;e<a.length;e++)a[e]^=106;this.oHash.update(a),(0,n.uH)(a)}update(e){return(0,n.CC)(this),this.iHash.update(e),this}digestInto(e){(0,n.CC)(this),(0,n.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:r,finished:n,destroyed:i,blockLen:a,outputLen:o}=this;return e.finished=n,e.destroyed=i,e.blockLen=a,e.outputLen=o,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let a=(e,t,r)=>new i(e,t).update(r).digest();a.create=(e,t)=>
8new i(e,t)},20562:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(98216),i=r(5858),a=new class extends n.Q{#P;#t;#r;constructor(){super(),this.#r=e=>{if(!i.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#P!==e&&(this.#P=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#P?this.#P:globalThis.document?.visibilityState!=="hidden"}}},22106:(e,t,r)=>{"use strict";r.d(t,{Af:()=>f,ZJ:()=>l,aT:()=>d});var n=r(66568),i=r(89762),a=r(89950),o=r(94747),s=r(84428);let c=new TextEncoder;function l(e,t={}){var r,n;return"number"==typeof e||"bigint"==typeof e?(r=e,n=t,d((0,s.cK)(r,n))):"boolean"==typeof e?function(e,t={}){let r=new Uint8Array(1);return(r[0]=Number(e),"number"==typeof t.size)?((0,o.Sl)(r,{size:t.size}),(0,a.eV)(r,{size:t.size})):r}(e,t):(0,i.q)(e)?d(e,t):f(e,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 d(e,t={}){let r=e;t.size&&((0,o.Sl)(r,{size:t.size}),r=(0,a.eV)(r,{dir:"right",size:t.size}));let i=r.slice(2);i.length%2&&(i=`0${i}`);let s=i.length/2,c=new Uint8Array(s);for(let e=0,t=0;e<s;e++){let r=u(i.charCodeAt(t++)),a=u(i.charCodeAt(t++));if(void 0===r||void 0===a)throw new n.C(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);c[e]=16*r+a}return c}function f(e,t={}){let r=c.encode(e);return"number"==typeof t.size?((0,o.Sl)(r,{size:t.size}),(0,a.eV)(r,{dir:"right",size:t.size})):r}},22160:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a});var n=r(70378),i=r(49235);function a(e,t="wei"){return(0,i.J)(e,n.sz[t])}},22166:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var n=r(2572),i=r(87403),a=r(96685),o=r(70509);function s(e={}){let t,c,{shimDisconnect:l=!1}=e;return(0,n.U)(n=>({id:"safe",name:"Safe",type:s.type,async connect({withCapabilities:e}={}){let t=await this.getProvider();if(!t)throw new i.N;let r=await this.getAccounts(),a=await this.getChainId();return c||(c=this.onDisconnect.bind(this),t.on("disconnect",c)),l&&await n.storage?.removeItem("safe.disconnected"),{accounts:e?r.map(e=>({address:e,capabilities:{}})):r,chainId:a}},async disconnect(){let e=await this.getProvider();if(!e)throw new i.N;c&&(e.removeListener("disconnect",c),c=void 0),l&&await n.storage?.setItem("safe.disconnected",!0)},async getAccounts(){let e=await this.getProvider();if(!e)throw new i.N;return(await e.request({method:"eth_accounts"})).map(a.b)}
8,async getProvider(){if("undefined"!=typeof window&&window?.parent!==window){if(!t){let{default:n}=await Promise.all([r.e(1020),r.e(7265)]).then(r.bind(r,67265)),i=new n(e),a=await (0,o.w)(()=>i.safe.getInfo(),{timeout:e.unstable_getInfoTimeout??10});if(!a)throw Error("Could not load Safe information");t=new(await (async()=>{let e=await Promise.all([r.e(1020),r.e(1249)]).then(r.t.bind(r,1249,19));return"function"!=typeof e.SafeAppProvider&&"function"==typeof e.default.SafeAppProvider?e.default.SafeAppProvider:e.SafeAppProvider})())(a,i)}return t}},async getChainId(){let e=await this.getProvider();if(!e)throw new i.N;return Number(e.chainId)},async isAuthorized(){try{if(l&&await n.storage?.getItem("safe.disconnected"))return!1;return!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){n.emitter.emit("disconnect")}}))}s.type="safe"},23047:(e,t,r)=>{"use strict";r.d(t,{R:()=>f});var n=r(48934),i=r(79830),a=r(87403);async function o(e,t){let{addEthereumChainParameter:r,chainId:n}=t,o=e.state.connections.get(t.connector?.uid??e.state.current);if(o){let e=o.connector;if(!e.switchChain)throw new a.V({connector:e});return await e.switchChain({addEthereumChainParameter:r,chainId:n})}let s=e.chains.find(e=>e.id===n);if(!s)throw new i.nk;return e.setState(e=>({...e,chainId:n})),s}var s=r(1220);let c=[];function l(e){let t=e.chains;return(0,s.b)(c,t)?c:(c=t,t)}var u=r(12115),d=r(42482);function f(e={}){let{mutation:t}=e,r=(0,d.U)(e),i={mutationFn:e=>o(r,e),mutationKey:["switchChain"]},{mutate:a,mutateAsync:s,...c}=(0,n.n)({...t,...i});return{...c,chains:function(e={}){let t=(0,d.U)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e._internal.chains.subscribe((e,t)=>{r(e,t)})})(t,{onChange:e}),()=>l(t),()=>l(t))}({config:r}),switchChain:a,switchChainAsync:s}}},24029:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,B:()=>i});var n=r(80044);function i(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new n.d_(e.type);return`${e.name}(${a(e.inputs,{includeName:t})})`}function a(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${a(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},24642:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});var n=r(80044),i=r(76429),a=r(44497);let o="/docs/contract/encodeDeployData";function s(e){let{abi:t,args:r,bytecode:s}=e;if(!r||0===r.length)return s;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new n.YW({docsPath:o});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new n.YF({docsPath:o});let l=(0,a.h)(c.inputs,r);return(0,i.aP)([s,l])}},25601:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var n=r(96685),i=r(65261),a=r(70509),o=r(7528),s=r(84428),c=r(79830),l=r(87403),u=r(2572);function d(e={}){let t,r,p,b,{shimDisconnect:m=!0,unstable_shimAsyncInject:y}=e;function g(){let t=e.target;if("function"==typeof t){let e=t();if(e)return e}return"object"==typeof t?t:"string"==typeof t?{...f[t]??{id:t,name:`${t[0].toUpperCase()}${t.slice(1)}`,provider:`is${t[0].toUpperCase()}${t.slice(1)}`}}:{id:"injected",name:"Injected",provider:e=>e?.ethereum}}return(0,u.U)(u=>({get icon(){return g().icon},get id(){return g().id},get name(){return g().name},get supportsSimulation(){return!0},type:d.type,async setup(){let r=await this.getProvider();r?.on&&e.target&&(p||(p=this.onConnect.bind(this),r.on("connect",p)),t||(t=this.onAccountsChanged.bind(this),r.on("accountsChanged",t)))},async connect({chainId:a,isReconnecting:o,withCapabilities:s}={}){let c=await this.getProvider();if(!c)throw new l.N;let d=[];if(o)d=await this.getAccounts().catch(()=>[]);else if(m)try{let e=await c.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});(d=e[0]?.caveats?.[0]?.value?.map(e=>(0,n.b)(e))).length>0&&(d=await this.getAccounts())}catch(e){if(e.code===i.vx.code)throw new i.vx(e);if(e.code===i.qZ.code)throw e}try{d?.length||o||(d=(await c.request({method:"eth_requestAccounts"})).map(e=>(0,n.b)(e))),p&&(c.removeListener("connect",p),p=void 0),t||(t=this.onAccountsChanged.bind(this),c.on("accountsChanged",t)),r||(r=this.onChainChanged.bind(this),c.on("chainChanged",r)),b||(b=this.onDisconnect.bind(this),c.on("disconnect",b));let l=await this.getChainId();if(a&&l!==a){let e=await this.switchChain({chainId:a}).catch(e=>{if(e.code===i.vx.code)throw e;return{id:l}});l=e?.id??l}return m&&await u.storage?.removeItem(`${this.id}.disconnected`),e.target||await u.storage?.setItem("injected.connected",!0),{accounts:s?d.map(e=>({address:e,capabilities:{}})):d,chainId:l}}catch(e){if(e.code===i.vx.code)throw new i.vx(e);if(e.code===i.qZ.code)throw new i.qZ(e);throw e}},async disconnect(){let t=await this.getProvider();if(!t)throw new l.N;r&&(t.removeListener("chainChanged",r),r=void 0),b&&(t.removeListener("disconnect",b),b=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p));try{await (0,a.w)(()=>t.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}m&&await u.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await u.storage?.removeItem("injected.connected")},async getAccounts(){let e=await this.getProvider();if(!e)throw new l.N;return(await e.request({method:"eth_accounts"})).map(e=>(0,n.b)(e))},async getChainId(){let e=await this.getProvider();if(!e)throw new l.N;return Number(await e.request({method:"eth_chainId"}))},async getProvider(){let e;if("undefined"==typeof window)return;let t=g();return(e="function"==typeof t.provider?t.provider(window):"string"==typeof t.provider?h(window,t.provider):t.provider)&&!e.removeListener&&("off"in e&&"function"==typeof e.off?e.removeListener=e.off:e.removeListener=()=>{}),e}
8,async isAuthorized(){try{if(m&&await u.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await u.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==y&&!1!==y){let e=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",e),!!await this.getProvider()),t="number"==typeof y?y:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(t=>window.addEventListener("ethereum#initialized",()=>t(e()),{once:!0}))]:[],new Promise(r=>setTimeout(()=>r(e()),t))]))return!0}throw new l.N}return!!(await (0,o.b)(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let r=await this.getProvider();if(!r)throw new l.N;let n=u.chains.find(e=>e.id===t);if(!n)throw new i.ch(new c.nk);let a=new Promise(e=>{let r=n=>{"chainId"in n&&n.chainId===t&&(u.emitter.off("change",r),e())};u.emitter.on("change",r)});try{return await Promise.all([r.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(t)}]}).then(async()=>{await this.getChainId()===t&&u.emitter.emit("change",{chainId:t})}),a]),n}catch(o){if(4902===o.code||o?.data?.originalError?.code===4902)try{let o,c,{default:l,...d}=n.blockExplorers??{};e?.blockExplorerUrls?o=e.blockExplorerUrls:l&&(o=[l.url,...Object.values(d).map(e=>e.url)]),c=e?.rpcUrls?.length?e.rpcUrls:[n.rpcUrls.default?.http[0]??""];let f={blockExplorerUrls:o,chainId:(0,s.cK)(t),chainName:e?.chainName??n.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??n.nativeCurrency,rpcUrls:c};return await Promise.all([r.request({method:"wallet_addEthereumChain",params:[f]}).then(async()=>{if(await this.getChainId()===t)u.emitter.emit("change",{chainId:t});else throw new i.vx(Error("User rejected switch after adding network."))}),a]),n}catch(e){throw new i.vx(e)}if(o.code===i.vx.code)throw new i.vx(o);throw new i.ch(o)}},async onAccountsChanged(e){if(0===e.length)this.onDisconnect();else if(u.emitter.listenerCount("connect")){let e=(await this.getChainId()).toString();this.onConnect({chainId:e}),m&&await u.storage?.removeItem(`${this.id}.disconnected`)}else u.emitter.emit("change",{accounts:e.map(e=>(0,n.b)(e))})},onChainChanged(e){let t=Number(e);u.emitter.emit("change",{chainId:t})},async onConnect(e){let n=await this.getAccounts();if(0===n.length)return;let i=Number(e.chainId);u.emitter.emit("connect",{accounts:n,chainId:i});let a=await this.getProvider();a&&(p&&(a.removeListener("connect",p),p=void 0),t||(t=this.onAccountsChanged.bind(this),a.on("accountsChanged",t)),r||(r=this.onChainChanged.bind(this),a.on("chainChanged",r)),b||(b=this.onDisconnect.bind(this),a.on("disconnect",b)))},async onDisconnect(e){let t=await this.getProvider();e&&1013===e.code&&t&&(await this.getAccounts()).length||(u.emitter.emit("disconnect"),t&&(r&&(t.removeListener("chainChanged",r),r=void 0),b&&(t.removeListener("disconnect",b),b=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p))))}}))}d.type="injected";let f={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:e=>e?.coinbaseWalletExtension?e.coinbaseWalletExtension:h(e,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:e=>h(e,e=>{if(!e.isMetaMask||e.isBraveWallet&&!e._events&&!e._state)return!1;for(let t of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"])if(e[t])return!1;return!0})},phantom:{id:"phantom",name:"Phantom",provider:e=>e?.phantom?.ethereum?e.phantom?.ethereum:h(e,"isPhantom")}};function h(e,t){function r(e){return"function"==typeof t?t(e):"string"!=typeof t||e[t]}let n=e.ethereum;return n?.providers?n.providers.find(e=>r(e)):n&&r(n)?n:void 0}},27075:(e,t,r)=>{"use strict";function n(e,t){let r=e.exec(t);return r?.groups}r.d(t,{BD:()=>i,Ge:()=>a,Yv:()=>n,wj:()=>o});let i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,a=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,o=/^\(.+?\).*?$/},27854:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var n=r(73320),i=r(4181),a=r(4016),o=r(49586),s=r(76900);async function c(e,t){let{abi:r,address:c,args:l,functionName:u,...d}=t,f=(0,i.p)({abi:r,args:l,functionName:u});try{let{data:t}=await (0,o.T)(e,s.T,"call")({...d,data:f,to:c});return(0,n.e)({abi:r,args:l,functionName:u,data:t||"0x"})}catch(e){throw(0,a.j)(e,{abi:r,address:c,args:l,docsPath:"/docs/contract/readContract",functionName:u})}}},28285:(e,t,r)=>{"use strict";r.d(t,{Ao:()=>n});let n=2n**256n-1n},28326:(e,t,r)=>{"use strict";r.d(t,{k:()=>c});var n=r(76429),i=r(22106),a=r(84428),o=r(18860),s=r(1798);function c(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,a.My)(t);let r=e.split(".");for(let e=r.length-1;e>=0;e-=1){let a=(0,s.q)(r[e]),c=a?(0,i.ZJ)(a):(0,o.S)((0,i.Af)(r[e]),"bytes");t=(0,o.S)((0,n.xW)([t,c]),"bytes")}return(0,a.My)(t)}},28852:(e,t,r)=>{"use strict";r.d(t,{u:()=>u});var n=r(2572),i=r(87403),a=r(47656),o=r(79830),s=r(96685),c=r(65261),l=r(84428);function u(e){let t,d,f,h,p,b,m,y,g=e.isNewChainsStale??!0;return(0,n.U)(n=>({id:"walletConnect",name:"WalletConnect",type:u.type,async setup(){let e=await this.getProvider().catch(()=>null);e&&(p||(p=this.onConnect.bind(this),e.on("connect",p)),m||(m=this.onSessionDelete.bind(this),e.on("session_delete",m)))},async connect({chainId:e,withCapabilities:t,...r}={}){try{let a=await this.getProvider();if(!a)throw new i.N;b||(b=this.onDisplayUri,a.on("display_uri",b));let o=e;if(!o){let e=await n.storage?.getItem("state")??{};o=n.chains.some(t=>t.id===e.chainId)?e.chainId:n.chains[0]?.id}if(!o)throw Error("No chains found on connector.");let l=await this.isChainsStale();if(a.session&&l&&await a.disconnect(),!a.session||l){let e=n.chains.filter(e=>e.id!==o).map(e=>e.id);await a.connect({optionalChains:[o,...e],..."pairingTopic"in r?{pairingTopic:r.pairingTopic}:{}}),this.setRequestedChainsIds(n.chains.map(e=>e.id))}let u=(await a.enable()).map(e=>(0,s.b)(e)),d=await this.getChainId();if(e&&d!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===c.vx.code&&e.cause?.message!=="Missing or invalid. request() method: wallet_addEthereumChain")throw e;return{id:d}});
8d=t?.id??d}return b&&(a.removeListener("display_uri",b),b=void 0),p&&(a.removeListener("connect",p),p=void 0),f||(f=this.onAccountsChanged.bind(this),a.on("accountsChanged",f)),h||(h=this.onChainChanged.bind(this),a.on("chainChanged",h)),y||(y=this.onDisconnect.bind(this),a.on("disconnect",y)),m||(m=this.onSessionDelete.bind(this),a.on("session_delete",m)),{accounts:t?u.map(e=>({address:e,capabilities:{}})):u,chainId:d}}catch(e){if(/(user rejected|connection request reset)/i.test(e?.message))throw new c.vx(e);throw e}},async disconnect(){let e=await this.getProvider();try{await e?.disconnect()}catch(e){if(!/No matching key/i.test(e.message))throw e}finally{h&&(e?.removeListener("chainChanged",h),h=void 0),y&&(e?.removeListener("disconnect",y),y=void 0),p||(p=this.onConnect.bind(this),e?.on("connect",p)),f&&(e?.removeListener("accountsChanged",f),f=void 0),m&&(e?.removeListener("session_delete",m),m=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(e=>(0,s.b)(e))},async getProvider({chainId:i}={}){async function o(){let t=n.chains.map(e=>e.id);if(!t.length)return;let{EthereumProvider:i}=await Promise.all([r.e(9304),r.e(4652)]).then(r.bind(r,4652));return await i.init({...e,disableProviderPing:!0,optionalChains:t,projectId:e.projectId,rpcMap:Object.fromEntries(n.chains.map(e=>{let[t]=(0,a.R)({chain:e,transports:n.transports});return[e.id,t]})),showQrModal:e.showQrModal??!0})}return t||(d||(d=o()),t=await d,t?.events.setMaxListeners(1/0)),i&&await this.switchChain?.({chainId:i}),t},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{let[e,t]=await Promise.all([this.getAccounts(),this.getProvider()]);if(!e.length)return!1;if(await this.isChainsStale()&&t.session)return await t.disconnect().catch(()=>{}),!1;return!0}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let r=await this.getProvider();if(!r)throw new i.N;let a=n.chains.find(e=>e.id===t);if(!a)throw new c.ch(new o.nk);try{await Promise.all([new Promise(e=>{let r=({chainId:i})=>{i===t&&(n.emitter.off("change",r),e())};n.emitter.on("change",r)}),r.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,l.cK)(t)}]})]);let e=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...e,t]),a}catch(n){if(/(user rejected)/i.test(n.message))throw new c.vx(n);try{let n,i;n=e?.blockExplorerUrls?e.blockExplorerUrls:a.blockExplorers?.default.url?[a.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[...a.rpcUrls.default.http];let o={blockExplorerUrls:n,chainId:(0,l.cK)(t),chainName:e?.chainName??a.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??a.nativeCurrency,rpcUrls:i};await r.request({method:"wallet_addEthereumChain",params:[o]});let s=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...s,t]),a}catch(e){throw new c.vx(e)}}},onAccountsChanged(e){0===e.length?this.onDisconnect():n.emitter.emit("change",{accounts:e.map(e=>(0,s.b)(e))})},onChainChanged(e){let t=Number(e);n.emitter.emit("change",{chainId:t})},async onConnect(e){let t=Number(e.chainId),r=await this.getAccounts();n.emitter.emit("connect",{accounts:r,chainId:t})},async onDisconnect(e){this.setRequestedChainsIds([]),n.emitter.emit("disconnect");let t=await this.getProvider();f&&(t.removeListener("accountsChanged",f),f=void 0),h&&(t.removeListener("chainChanged",h),h=void 0),y&&(t.removeListener("disconnect",y),y=void 0),m&&(t.removeListener("session_delete",m),m=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p))},onDisplayUri(e){n.emitter.emit("message",{type:"display_uri",data:e})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds:()=>t?t.session?.namespaces.eip155?.accounts?.map(e=>Number.parseInt(e.split(":")[1]||"",10))??[]:[],async getRequestedChainsIds(){return await n.storage?.getItem(this.requestedChainsStorageKey)??[]},async isChainsStale(){if(!g)return!1;let e=n.chains.map(e=>e.id),t=this.getNamespaceChainsIds();if(t.length&&!t.some(t=>e.includes(t)))return!1;let r=await this.getRequestedChainsIds();return!e.every(e=>r.includes(e))},async setRequestedChainsIds(e){await n.storage?.setItem(this.requestedChainsStorageKey,e)},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}u.type="walletConnect"},28992:(e,t,r)=>{"use strict";r.d(t,{lB:()=>o});let n=new Map,i=new Map,a=0;function o(e,t,r){let o=++a,s=()=>n.get(e)||[],c=()=>{let t,r=s();if(!r.some(e=>e.id===o))return;let a=i.get(e);if(1===r.length&&a){let e=a();e instanceof Promise&&e.catch(()=>{})}t=s(),n.set(e,t.filter(e=>e.id!==o))},l=s();if(n.set(e,[...l,{id:o,fns:t}]),l&&l.length>0)return c;let u={};for(let e in t)u[e]=(...t)=>{let r=s();if(0!==r.length)for(let n of r)n.fns[e]?.(...t)};let d=r(u);return"function"==typeof d&&i.set(e,d),c}},29562:(e,t,r)=>{"use strict";r.d(t,{MM:()=>y,ft:()=>w});var n=r(51011),i=r(10155),a=r(73062),o=r(42073),s=r(80771),c=r(50474),l=r(94073),u=r(77022),d=r
8(73331),f=r(57723),h=r(49586),p=r(97948),b=r(72401),m=r(69960);let y=["blobVersionedHashes","chainId","fees","gas","nonce","type"],g=new Map;async function w(e,t){let r,w,{account:v=e.account,blobs:A,chain:x,gas:C,kzg:E,nonce:I,nonceManager:B,parameters:P=y,type:k}=t,S=v?(0,n.J)(v):v,O={...t,...S?{from:S?.address}:{}};async function M(){return r||(r=await (0,h.T)(e,o.g,"getBlock")({blockTag:"latest"}))}async function R(){return w||(x?x.id:void 0!==t.chainId?t.chainId:w=await (0,h.T)(e,m.T,"getChainId")({}))}if(P.includes("nonce")&&void 0===I&&S)if(B){let t=await R();O.nonce=await B.consume({address:S.address,chainId:t,client:e})}else O.nonce=await (0,h.T)(e,s.y,"getTransactionCount")({address:S.address,blockTag:"pending"});if((P.includes("blobVersionedHashes")||P.includes("sidecars"))&&A&&E){let e=(0,l.S)({blobs:A,kzg:E});if(P.includes("blobVersionedHashes")&&(O.blobVersionedHashes=(0,d.d)({commitments:e,to:"hex"})),P.includes("sidecars")){let t=(0,u.t)({blobs:A,commitments:e,kzg:E});O.sidecars=(0,f.T)({blobs:A,commitments:e,proofs:t,to:"hex"})}}if(P.includes("chainId")&&(O.chainId=await R()),(P.includes("fees")||P.includes("type"))&&void 0===k)try{O.type=(0,b.L)(O)}catch{let t=g.get(e.uid);if(void 0===t){let r=await M();t="bigint"==typeof r?.baseFeePerGas,g.set(e.uid,t)}O.type=t?"eip1559":"legacy"}if(P.includes("fees"))if("legacy"!==O.type&&"eip2930"!==O.type){if(void 0===O.maxFeePerGas||void 0===O.maxPriorityFeePerGas){let r=await M(),{maxFeePerGas:n,maxPriorityFeePerGas:a}=await (0,i.O)(e,{block:r,chain:x,request:O});if(void 0===t.maxPriorityFeePerGas&&t.maxFeePerGas&&t.maxFeePerGas<a)throw new c.RR({maxPriorityFeePerGas:a});O.maxPriorityFeePerGas=a,O.maxFeePerGas=n}}else{if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)throw new c.pw;if(void 0===t.gasPrice){let t=await M(),{gasPrice:r}=await (0,i.O)(e,{block:t,chain:x,request:O,type:"legacy"});O.gasPrice=r}}return P.includes("gas")&&void 0===C&&(O.gas=await (0,h.T)(e,a.Q,"estimateGas")({...O,account:S,prepare:S?.type==="local"?[]:["blobVersionedHashes"]})),(0,p.c)(O),delete O.parameters,O}},31077:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(49303),i=r(12115),a=r(55947),o=r(94280),s=(0,r(94622).f)(),c=function(){},l=i.forwardRef(function(e,t){var r=i.useRef(null),a=i.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),l=a[0],u=a[1],d=e.forwardProps,f=e.children,h=e.className,p=e.removeScrollBar,b=e.enabled,m=e.shards,y=e.sideCar,g=e.noIsolation,w=e.inert,v=e.allowPinchZoom,A=e.as,x=e.gapMode,C=(0,n.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(0,o.S)([r,t]),I=(0,n.Cl)((0,n.Cl)({},C),l);return i.createElement(i.Fragment,null,b&&i.createElement(y,{sideCar:s,removeScrollBar:p,shards:m,noIsolation:g,inert:w,setCallbacks:u,allowPinchZoom:!!v,lockRef:r,gapMode:x}),d?i.cloneElement(i.Children.only(f),(0,n.Cl)((0,n.Cl)({},I),{ref:E})):i.createElement(void 0===A?"div":A,(0,n.Cl)({},I,{className:h,ref:E}),f))});l.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},l.classNames={fullWidth:a.pN,zeroRight:a.Mi};var u=r(77436),d=r(82578),f=r(13672),h=!1;if("undefined"!=typeof window)try{var p=Object.defineProperty({},"passive",{get:function(){return h=!0,!0}});window.addEventListener("test",p,p),window.removeEventListener("test",p,p)}catch(e){h=!1}var b=!!h&&{passive:!1},m=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},y=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),g(e,n)){var i=w(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},g=function(e,t){return"v"===e?m(t,"overflowY"):m(t,"overflowX")},w=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},v=function(e,t,r,n,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*n,c=r.target,l=t.contains(c),u=!1,d=s>0,f=0,h=0;do{var p=w(e,c),b=p[0],m=p[1]-p[2]-o*b;(b||m)&&g(e,c)&&(f+=m,h+=b),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(i&&1>Math.abs(f)||!i&&s>f)?u=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(u=!0),u},A=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},x=function(e){return[e.deltaX,e.deltaY]},C=function(e){return e&&"current"in e?e.current:e},E=0,I=[];let B=(0,u.m)(s,function(e){var t=i.useRef([]),r=i.useRef([0,0]),a=i.useRef(),o=i.useState(E++)[0],s=i.useState(f.T0)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,n.fX)([e.lockRef.current],(e.shards||[]).map(C),!0).filter(
8Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var n,i=A(e),o=r.current,s="deltaX"in e?e.deltaX:o[0]-i[0],l="deltaY"in e?e.deltaY:o[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=y(d,u);if(!f)return!0;if(f?n=d:(n="v"===d?"h":"v",f=y(d,u)),!f)return!1;if(!a.current&&"changedTouches"in e&&(s||l)&&(a.current=n),!n)return!0;var h=a.current||n;return v(h,t,e,"h"===h?s:l,!0)},[]),u=i.useCallback(function(e){if(I.length&&I[I.length-1]===s){var r="deltaY"in e?x(e):A(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(c.current.shards||[]).map(C).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),h=i.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),p=i.useCallback(function(e){r.current=A(e),a.current=void 0},[]),m=i.useCallback(function(t){h(t.type,x(t),t.target,l(t,e.lockRef.current))},[]),g=i.useCallback(function(t){h(t.type,A(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return I.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,b),document.addEventListener("touchmove",u,b),document.addEventListener("touchstart",p,b),function(){I=I.filter(function(e){return e!==s}),document.removeEventListener("wheel",u,b),document.removeEventListener("touchmove",u,b),document.removeEventListener("touchstart",p,b)}},[]);var w=e.removeScrollBar,B=e.inert;return i.createElement(i.Fragment,null,B?i.createElement(s,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,w?i.createElement(d.jp,{gapMode:e.gapMode}):null)});var P=i.forwardRef(function(e,t){return i.createElement(l,(0,n.Cl)({},e,{ref:t,sideCar:B}))});P.classNames=l.classNames;let k=P},31367:(e,t,r)=>{"use strict";r.d(t,{B4:()=>h,CQ:()=>v,CW:()=>w,Ei:()=>d,F8:()=>A,P5:()=>f,TH:()=>x,Vl:()=>y,Vr:()=>g,WM:()=>p,WQ:()=>m,im:()=>b,jm:()=>s,lD:()=>a,qh:()=>u,rE:()=>c,ry:()=>l,xn:()=>o});let n=BigInt(0x100000000-1),i=BigInt(32);function a(e,t=!1){let r=e.length,o=new Uint32Array(r),s=new Uint32Array(r);for(let a=0;a<r;a++){let{h:r,l:c}=function(e,t=!1){return t?{h:Number(e&n),l:Number(e>>i&n)}:{h:0|Number(e>>i&n),l:0|Number(e&n)}}(e[a],t);[o[a],s[a]]=[r,c]}return[o,s]}let o=(e,t,r)=>e>>>r,s=(e,t,r)=>e<<32-r|t>>>r,c=(e,t,r)=>e>>>r|t<<32-r,l=(e,t,r)=>e<<32-r|t>>>r,u=(e,t,r)=>e<<64-r|t>>>r-32,d=(e,t,r)=>e>>>r-32|t<<64-r,f=(e,t,r)=>e<<r|t>>>32-r,h=(e,t,r)=>t<<r|e>>>32-r,p=(e,t,r)=>t<<r-32|e>>>64-r,b=(e,t,r)=>e<<r-32|t>>>64-r;function m(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/0x100000000|0)|0,l:0|i}}let y=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),g=(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0,w=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),v=(e,t,r,n,i)=>t+r+n+i+(e/0x100000000|0)|0,A=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),x=(e,t,r,n,i,a)=>t+r+n+i+a+(e/0x100000000|0)|0},31750:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(66568),i=r(4174);function a(e,t){let r=(e.details||"").toLowerCase(),a=e instanceof n.C?e.walk(e=>e?.code===i.A7.code):e;return a instanceof n.C?new i.A7({cause:e,message:a.details}):i.A7.nodeMessage.test(r)?new i.A7({cause:e,message:e.details}):i.BG.nodeMessage.test(r)?new i.BG({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.jj.nodeMessage.test(r)?new i.jj({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.K0.nodeMessage.test(r)?new i.K0({cause:e,nonce:t?.nonce}):i.Oh.nodeMessage.test(r)?new i.Oh({cause:e,nonce:t?.nonce}):i.vW.nodeMessage.test(r)?new i.vW({cause:e,nonce:t?.nonce}):i.k5.nodeMessage.test(r)?new i.k5({cause:e}):i.lY.nodeMessage.test(r)?new i.lY({cause:e,gas:t?.gas}):i.Fo.nodeMessage.test(r)?new i.Fo({cause:e,gas:t?.gas}):i.uC.nodeMessage.test(r)?new i.uC({cause:e}):i.lN.nodeMessage.test(r)?new i.lN({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new i.RM({cause:e})}},31967:(e,t,r)=>{"use strict";let n,i,a,o,s,c;r.d(t,{jG:()=>u});var l=r(83599).Zq,u=(n=[],i=0,a=e=>{e()},o=e=>{e()},s=l,{batch:e=>{let t;i++;try{t=e()}finally{let e;--i||(e=n,n=[],e.length&&s(()=>{o(()=>
8{e.forEach(e=>{a(e)})})}))}return t},batchCalls:e=>(...t)=>{c(()=>{e(...t)})},schedule:c=e=>{i?n.push(e):s(()=>{a(e)})},setNotifyFunction:e=>{a=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{s=e}})},32007:()=>{},32547:(e,t,r)=>{"use strict";r.d(t,{Ez:()=>o,LX:()=>n,WN:()=>i,fT:()=>a});let n="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",i="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",a="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b8152
860206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848
8603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572",o="0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
8150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"},32616:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},32872:(e,t,r)=>{"use strict";r.d(t,{Sl:()=>i,X:()=>o,eV:()=>s,kK:()=>a});var n=r(56184);function i(e,t){if(n.Ej(e)>t)throw new n.u({givenSize:n.Ej(e),maxSize:t})}function a(e,t){if("number"==typeof t&&t>0&&t>n.Ej(e)-1)throw new n.ii({offset:t,position:"start",size:n.Ej(e)})}function o(e,t,r){if("number"==typeof t&&"number"==typeof r&&n.Ej(e)!==r-t)throw new n.ii({offset:r,position:"end",size:n.Ej(e)})}function s(e,t={}){let{dir:r,size:i=32}=t;if(0===i)return e;let a=e.replace("0x","");if(a.length>2*i)throw new n.Fl({size:Math.ceil(a.length/2),targetSize:i,type:"Hex"});return`0x${a["right"===r?"padEnd":"padStart"](2*i,"0")}`}},33618:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});let n=1},33828:(e,t,r)=>{"use strict";r.d(t,{x:()=>o});
8var n=r(96002),i=r(84428),a=r(43748);async function o(e,{blockHash:t,blockNumber:r,blockTag:o,hash:s,index:c,sender:l,nonce:u}){let d=o||"latest",f=void 0!==r?(0,i.cK)(r):void 0,h=null;if(s?h=await e.request({method:"eth_getTransactionByHash",params:[s]},{dedupe:!0}):t?h=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[t,(0,i.cK)(c)]},{dedupe:!0}):(f||d)&&"number"==typeof c?h=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[f||d,(0,i.cK)(c)]},{dedupe:!!f}):l&&"number"==typeof u&&(h=await e.request({method:"eth_getTransactionBySenderAndNonce",params:[l,(0,i.cK)(u)]},{dedupe:!0})),!h)throw new n.Kz({blockHash:t,blockNumber:r,blockTag:d,hash:s,index:c});return(e.chain?.formatters?.transaction?.format||a.uP)(h,"getTransaction")}},34805:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var n=r(2572),i=r(79830),a=r(96685),o=r(65261),s=r(84428);function c(e={}){let t,l,u,d;return(0,n.U)(n=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:e,withCapabilities:t}={}){try{let r=await this.getProvider(),n=(await r.request({method:"eth_requestAccounts",params:[]})).map(e=>(0,a.b)(e));l||(l=this.onAccountsChanged.bind(this),r.on("accountsChanged",l)),u||(u=this.onChainChanged.bind(this),r.on("chainChanged",u)),d||(d=this.onDisconnect.bind(this),r.on("disconnect",d));let i=await this.getChainId();if(e&&i!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===o.vx.code)throw e;return{id:i}});i=t?.id??i}return{accounts:t?n.map(e=>({address:e,capabilities:{}})):n,chainId:i}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new o.vx(e);throw e}},async disconnect(){let e=await this.getProvider();l&&(e.removeListener("accountsChanged",l),l=void 0),u&&(e.removeListener("chainChanged",u),u=void 0),d&&(e.removeListener("disconnect",d),d=void 0),e.disconnect()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,a.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
8,async getProvider(){if(!t){let i="string"==typeof e.preference?{options:e.preference}:{...e.preference,options:e.preference?.options??"all"},{createBaseAccountSDK:a}=await Promise.all([r.e(9304),r.e(7799),r.e(6939)]).then(r.bind(r,6939));t=a({...e,appChainIds:n.chains.map(e=>e.id),preference:i}).getProvider()}return t},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let r=n.chains.find(e=>e.id===t);if(!r)throw new o.ch(new i.nk);let a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(r.id)}]}),r}catch(n){if(4902===n.code)try{let n,i;n=e?.blockExplorerUrls?e.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let o={blockExplorerUrls:n,chainId:(0,s.cK)(t),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await a.request({method:"wallet_addEthereumChain",params:[o]}),r}catch(e){throw new o.vx(e)}throw new o.ch(n)}},onAccountsChanged(e){0===e.length?this.onDisconnect():n.emitter.emit("change",{accounts:e.map(e=>(0,a.b)(e))})},onChainChanged(e){let t=Number(e);n.emitter.emit("change",{chainId:t})},async onDisconnect(e){n.emitter.emit("disconnect");let t=await this.getProvider();l&&(t.removeListener("accountsChanged",l),l=void 0),u&&(t.removeListener("chainChanged",u),u=void 0),d&&(t.removeListener("disconnect",d),d=void 0)}}))}},35223:function(e,t,r){var n;!function(i,a){"use strict";var o="function",s="undefined",c="object",l="string",u="major",d="model",f="name",h="type",p="vendor",b="version",m="architecture",y="console",g="mobile",w="tablet",v="smarttv",A="wearable",x="embedded",C="Amazon",E="Apple",I="ASUS",B="BlackBerry",P="Browser",k="Chrome",S="Firefox",O="Google",M="Honor",R="Huawei",T="Microsoft",F="Motorola",N="Nvidia",j="OnePlus",U="Opera",D="OPPO",q="Samsung",Q="Sharp",L="Sony",W="Xiaomi",$="Zebra",z="Facebook",G="Chromium OS",H="Mac OS",K=" Browser",V=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},J=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Z=function(e,t){return typeof e===l&&-1!==Y(t).indexOf(Y(e))},Y=function(e){return e.toLowerCase()},X=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},_=function(e,t){for(var r,n,i,a,s,l,u=0;u<t.length&&!s;){var d=t[u],f=t[u+1];for(r=n=0;r<d.length&&!s&&d[r];)if(s=d[r++].exec(e))for(i=0;i<f.length;i++)l=s[++n],typeof(a=f[i])===c&&a.length>0?2===a.length?typeof a[1]==o?this[a[0]]=a[1].call(this,l):this[a[0]]=a[1]:3===a.length?typeof a[1]!==o||a[1].exec&&a[1].test?this[a[0]]=l?l.replace(a[1],a[2]):void 0:this[a[0]]=l?a[1].call(this,l,a[2]):void 0:4===a.length&&(this[a[0]]=l?a[3].call(this,l.replace(a[1],a[2])):void 0):this[a]=l||void 0;u+=2}},ee=function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Z(t[r][n],e))return"?"===r?void 0:r}else if(Z(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},et={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},er={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,b],[/opios[\/ ]+([\w\.]+)/i],[b,[f,U+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[b,[f,U+" GX"]],[/\bopr\/([\w\.]+)/i],[b,[f,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[b,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,b],[/quark(?:pc)?\/([-\w\.]+)/i],[b,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[b,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[f,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[f,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+P],b],[/\bfocus\/([\w\.]+)/i],[b,[f,S+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[f,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[f,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[f,"MIUI"+K]],[/fxios\/([\w\.-]+)/i],[b,[f,S]],[/\bqihoobrowser\/?([\w\.]*)/i],[b,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],b],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+K],b],[/samsungbrowser\/([\w\.]+)/i],[b,[f,q+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[b,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,b],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[b,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,z],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[f,"GSA"]],[/musical_ly(?:.
8+app_?version\/|_)([\w\.]+)/i],[b,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[f,k+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,k+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[f,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[b,ee,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],b],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[f,S+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[b,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[b,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[m,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[m,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[m,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[m,/ower/,"",Y]],[/ sun4\w[;\)]/i],[[m,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[m,Y]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,q],[h,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,q],[h,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,E],[h,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,E],[h,w]],[/(macintosh);/i],[d,[p,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,Q],[h,g]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[d,[p,M],[h,w]],[/honor([-\w ]+)[;\)]/i],[d,[p,M],[h,g]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[d,[p,R],[h,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,R],[h,g]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[d,/_/g," "],[p,W],[h,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[d,/_/g," "],[p,W],[h,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,D],[h,g]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[d,[p,ee,{OnePlus:["304","403","203"],"*":D}],[h,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,F],[h,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,F],[h,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,"LG"],[h,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,"LG"],[h,g]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
8(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[d,[p,"Lenovo"],[h,w]],[/(nokia) (t[12][01])/i],[p,d,[h,w]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[d,/_/g," "],[h,g],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[d,[p,O],[h,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,O],[h,g]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,L],[h,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,L],[h,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,j],[h,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,C],[h,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,C],[h,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,B],[h,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,I],[h,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,I],[h,g]],[/(nexus 9)/i],[d,[p,"HTC"],[h,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,g]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[p,"TCL"],[h,w]],[/(itel) ((\w+))/i],[[p,Y],d,[h,ee,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[h,g]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[d,[p,"Energizer"],[h,g]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[d,[p,"Cat"],[h,g]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[d,[p,"Smartfren"],[h,g]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[p,"Nothing"],[h,g]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[d,[p,"Archos"],[h,w]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[d,[p,"Archos"],[h,g]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,d,[h,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[h,g]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,w]],[/(surface duo)/i],[d,[p,T],[h,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,g]],[/(u304aa)/i],[d,[p,"AT&T"],[h,g]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,g]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,w]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,w]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,w]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,w]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,w]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,g]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,g]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,w]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,w]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,g]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,w]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,w]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,w]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[d,[p,N],[h,w]],[/(sprint) (\w+)/i],[p,d,[h,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,T],[h,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,$],[h,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,$],[h,g]],[/smart-tv.+(samsung)/i],[p,[h,v]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,q],[h,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[h,v]],[/(apple) ?tv/i],[p,[d,E+" TV"],[h,v]],[/crkey/i],[[d,k+"cast"],[p,O],[h,v]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,C],[h,v]],[/(shield \w+ tv)/i],[d,[p,N],[h,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,Q],[h,v]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,L],[h,v]],[/(mi(tv|box)-?\w+) bui/i],[d,[p,W],[h,v]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,X],[d,X],[h,v]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[d,[h,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[h,y]],[/droid.+; (shield)( bui|\))/i],[d,[p,N],[h,y]],[/(playstation \w+)/i],[d,[p,L],[h,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,T],[h,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[d,[p,q],[h,A]],[/((pebble))app/i,/(asu
vendor: 5,035 bytes, line 8
8s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,d,[h,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[d,[p,D],[h,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,E],[h,A]],[/(opwwe\d{3})/i],[d,[p,j],[h,A]],[/(moto 360)/i],[d,[p,F],[h,A]],[/(smartwatch 3)/i],[d,[p,L],[h,A]],[/(g watch r)/i],[d,[p,"LG"],[h,A]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,$],[h,A]],[/droid.+; (glass) \d/i],[d,[p,O],[h,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,d,[h,A]],[/; (quest( \d| pro)?)/i],[d,[p,z],[h,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,x]],[/(aeobc)\b/i],[d,[p,C],[h,x]],[/(homepod).+mac os/i],[d,[p,E],[h,x]],[/windows iot/i],[[h,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,g]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,b],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,b],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,b],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[b,ee,et]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,ee,et],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,H],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],b],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,b],[/\(bb(10);/i],[b,[f,B]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[b,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[f,S+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[f,k+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,G],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,b],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,b]]},en=function(e,t){if(typeof e===c&&(t=e,e=void 0),!(this instanceof en))return new en(e,t).getResult();var r=typeof i!==s&&i.navigator?i.navigator:void 0,n=e||(r&&r.userAgent?r.userAgent:""),a=r&&r.userAgentData?r.userAgentData:void 0,y=t?V(er,t):er,v=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t[f]=void 0,t[b]=void 0,_.call(t,n,y.browser),t[u]=typeof(e=t[b])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,v&&r&&r.brave&&typeof r.brave.isBrave==o&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[m]=void 0,_.call(e,n,y.cpu),e},this.getDevice=function(){var e={};return e[p]=void 0,e[d]=void 0,e[h]=void 0,_.call(e,n,y.device),v&&!e[h]&&a&&a.mobile&&(e[h]=g),v&&"Macintosh"==e[d]&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[d]="iPad",e[h]=w),e},this.getEngine=function(){var e={};return e[f]=void 0,e[b]=void 0,_.call(e,n,y.engine),e},this.getOS=function(){var e={};return e[f]=void 0,e[b]=void 0,_.call(e,n,y.os),v&&!e[f]&&a&&a.platform&&"Unknown"!=a.platform&&(e[f]=a.platform.replace(/chrome os/i,G).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===l&&e.length>500?X(e,500):e,this},this.setUA(n),this};en.VERSION="1.0.41",en.BROWSER=J([f,b,u]),en.CPU=J([m]),en.DEVICE=J([d,p,h,y,g,v,w,A,x]),en.ENGINE=en.OS=J([f,b]),typeof t!==s?(e.exp
8orts&&(t=e.exports=en),t.UAParser=en):r.amdO?void 0===(n=(function(){return en}).call(t,r,t,e))||(e.exports=n):typeof i!==s&&(i.UAParser=en);var ei=typeof i!==s&&(i.jQuery||i.Zepto);if(ei&&!ei.ua){var ea=new en;ei.ua=ea.getResult(),ei.ua.get=function(){return ea.getUA()},ei.ua.set=function(e){ea.setUA(e);var t=ea.getResult();for(var r in t)ei.ua[r]=t[r]}}}("object"==typeof window?window:this)},35502:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var n=r(99414),i=r(12115),a=r(42482);function o(e={}){let{onConnect:t,onDisconnect:r}=e,s=(0,a.U)(e);(0,i.useEffect)(()=>(0,n.F)(s,{onChange(e,n){if(("reconnecting"===n.status||"connecting"===n.status&&void 0===n.address)&&"connected"===e.status){let{address:r,addresses:i,chain:a,chainId:o,connector:s}=e,c="reconnecting"===n.status||void 0===n.status;t?.({address:r,addresses:i,chain:a,chainId:o,connector:s,isReconnected:c})}else"connected"===n.status&&"disconnected"===e.status&&r?.()}}),[s,t,r])}},35625:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>s,jE:()=>o});var n=r(12115),i=r(95155),a=n.createContext(void 0),o=e=>{let t=n.useContext(a);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(a.Provider,{value:e,children:t}))},35895:(e,t,r)=>{"use strict";r.d(t,{H4:()=>m,v8:()=>p,$$:()=>b});var n=r(80044),i=r(71386),a=r(91497),o=r(66568);class s extends o.C{constructor({domain:e}){super(`Invalid domain "${(0,a.A)(e)}".`,{metaMessages:["Must be a valid EIP-712 domain."]})}}class c extends o.C{constructor({primaryType:e,types:t}){super(`Invalid primary type \`${e}\` must be one of \`${JSON.stringify(Object.keys(t))}\`.`,{docsPath:"/api/glossary/Errors#typeddatainvalidprimarytypeerror",metaMessages:["Check that the primary type is a key in `types`."]})}}class l extends o.C{constructor({type:e}){super(`Struct type "${e}" is invalid.`,{metaMessages:["Struct type must not be a Solidity type."],name:"InvalidStructTypeError"})}}var u=r(80339),d=r(45696),f=r(84428),h=r(99015);function p(e){let{domain:t,message:r,primaryType:n,types:i}=e,o=(e,t)=>{let r={...t};for(let t of e){let{name:e,type:n}=t;"address"===n&&(r[e]=r[e].toLowerCase())}return r},s=i.EIP712Domain&&t?o(i.EIP712Domain,t):{},c=(()=>{if("EIP712Domain"!==n)return o(i[n],r)})();return(0,a.A)({domain:s,message:c,primaryType:n,types:i})}function b(e){let{domain:t,message:r,primaryType:a,types:o}=e,p=(e,t)=>{for(let r of e){let{name:e,type:a}=r,s=t[e],c=a.match(h.Ge);if(c&&("number"==typeof s||"bigint"==typeof s)){let[e,t,r]=c;(0,f.cK)(s,{signed:"int"===t,size:Number.parseInt(r,10)/8})}if("address"===a&&"string"==typeof s&&!(0,u.P)(s))throw new i.M({address:s});let b=a.match(h.BD);if(b){let[e,t]=b;if(t&&(0,d.E)(s)!==Number.parseInt(t,10))throw new n.BI({expectedSize:Number.parseInt(t,10),givenSize:(0,d.E)(s)})}let m=o[a];m&&(function(e){if("address"===e||"bool"===e||"string"===e||e.startsWith("bytes")||e.startsWith("uint")||e.startsWith("int"))throw new l({type:e})}(a),p(m,s))}};if(o.EIP712Domain&&t){if("object"!=typeof t)throw new s({domain:t});p(o.EIP712Domain,t)}if("EIP712Domain"!==a)if(o[a])p(o[a],r);else throw new c({primaryType:a,types:o})}function m({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},("number"==typeof e?.chainId||"bigint"==typeof e?.chainId)&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}},36174:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});let n=(0,r(39606).x)({id:56,name:"BNB Smart Chain",blockTime:750,nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://56.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xf2f12c}}})},36701:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});var n=`{
9  "connect_wallet": {
10    "label": "Connect Wallet",
11    "wrong_network": {
12      "label": "Wrong network"
13    }
14  },
15
16  "intro": {
17    "title": "What is a Wallet?",
18    "description": "A wallet is used to send, receive, store, and display digital assets. It's also a new way to log in, without needing to create new accounts and passwords on every website.",
19    "digital_asset": {
20      "title": "A Home for your Digital Assets",
21      "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."
22    },
23    "login": {
24      "title": "A New Way to Log In",
25      "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."
26    },
27    "get": {
28      "label": "Get a Wallet"
29    },
30    "learn_more": {
31      "label": "Learn More"
32    }
33  },
34
35  "sign_in": {
36    "label": "Verify your account",
37    "description": "To finish connecting, you must sign a message in y
37our wallet to verify that you are the owner of this account.",
38    "message": {
39      "send": "Sign message",
40      "preparing": "Preparing message...",
41      "cancel": "Cancel",
42      "preparing_error": "Error preparing message, please retry!"
43    },
44    "signature": {
45      "waiting": "Waiting for signature...",
46      "verifying": "Verifying signature...",
47      "signing_error": "Error signing message, please retry!",
48      "verifying_error": "Error verifying signature, please retry!",
49      "oops_error": "Oops, something went wrong!"
50    }
51  },
52
53  "connect": {
54    "label": "Connect",
55    "title": "Connect a Wallet",
56    "new_to_ethereum": {
57      "description": "New to Ethereum wallets?",
58      "learn_more": {
59        "label": "Learn More"
60      }
61    },
62    "learn_more": {
63      "label": "Learn more"
64    },
65    "recent": "Recent",
66    "status": {
67      "opening": "Opening %{wallet}...",
68      "connecting": "Connecting",
69      "connect_mobile": "Continue in %{wallet}",
70      "not_installed": "%{wallet} is not installed",
71      "not_available": "%{wallet} is not available",
72      "confirm": "Confirm connection in the extension",
73      "confirm_mobile": "Accept connection request in the wallet"
74    },
75    "secondary_action": {
76      "get": {
77        "description": "Don't have %{wallet}?",
78        "label": "GET"
79      },
80      "install": {
81        "label": "INSTALL"
82      },
83      "retry": {
84        "label": "RETRY"
85      }
86    },
87    "walletconnect": {
88      "description": {
89        "full": "Need the official WalletConnect modal?",
90        "compact": "Need the WalletConnect modal?"
91      },
92      "open": {
93        "label": "OPEN"
94      }
95    }
96  },
97
98  "connect_scan": {
99    "title": "Scan with %{wallet}",
100    "fallback_title": "Scan with your phone"
101  },
102
103  "connector_group": {
104    "installed": "Installed",
105    "recommended": "Recommended",
106    "other": "Other",
107    "popular": "Popular",
108    "more": "More",
109    "others": "Others"
110  },
111
112  "get": {
113    "title": "Get a Wallet",
114    "action": {
115      "label": "GET"
116    },
117    "mobile": {
118      "description": "Mobile Wallet"
119    },
120    "extension": {
121      "description": "Browser Extension"
122    },
123    "mobile_and_extension": {
124      "description": "Mobile Wallet and Extension"
125    },
126    "mobile_and_desktop": {
127      "description": "Mobile and Desktop Wallet"
128    },
129    "looking_for": {
130      "title": "Not what you're looking for?",
131      "mobile": {
132        "description": "Select a wallet on the main screen to get started with a different wallet provider."
133      },
134      "desktop": {
135        "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",
136        "wide_description": "Select a wallet on the left to get started with a different wallet provider."
137      }
138    }
139  },
140
141  "get_options": {
142    "title": "Get started with %{wallet}",
143    "short_title": "Get %{wallet}",
144    "mobile": {
145      "title": "%{wallet} for Mobile",
146      "description": "Use the mobile wallet to explore the world of Ethereum.",
147      "download": {
148        "label": "Get the app"
149      }
150    },
151    "extension": {
152      "title": "%{wallet} for %{browser}",
153      "description": "Access your wallet right from your favorite web browser.",
154      "download": {
155        "label": "Add to %{browser}"
156      }
157    },
158    "desktop": {
159      "title": "%{wallet} for %{platform}",
160      "description": "Access your wallet natively from your powerful desktop.",
161      "download": {
162        "label": "Add to %{platform}"
163      }
164    }
165  },
166
167  "get_mobile": {
168    "title": "Install %{wallet}",
169    "description": "Scan with your phone to download on iOS or Android",
170    "continue": {
171      "label": "Continue"
172    }
173  },
174
175  "get_instructions": {
176    "mobile": {
177      "connect": {
178        "label": "Connect"
179      },
180      "learn_more": {
181        "label": "Learn More"
182      }
183    },
184    "extension": {
185      "refresh": {
186        "label": "Refresh"
187      },
188      "learn_more": {
189        "label": "Learn More"
190      }
191    },
192    "desktop": {
193      "connect": {
194        "label": "Connect"
195      },
196      "learn_more": {
197        "label": "Learn More"
198      }
199    }
200  },
201
202  "chains": {
203    "title": "Switch Networks",
204    "wrong_network": "Wrong network detected, switch or disconnect to continue.",
205    "confirm": "Confirm in Wallet",
206    "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",
207    "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",
208    "disconnect": "Disconnect",
209    "connected": "Connected"
210  },
211
212  "profile": {
213    "disconnect": {
214      "label": "Disconnect"
215    },
216    "copy_address": {
217      "label": "Copy Address",
218      "copied": "Copied!"
219    },
220    "explorer": {
221      "label": "View more on explorer"
222    },
223    "transactions": {
224      "description": "%{appName} transactions will appear here...",
225      "description_fallback": "Your transactions will appear here...",
226      "recent": {
227        "title": "Recent Transactions"
228      },
229      "clear": {
230        "label": "Clear All"
231      }
232    }
233  },
234
235  "wallet_connectors": {
236    "argent": {
237      "qr_code": {
238        "step1": {
239          "description": "Put Argent on your home screen for faster access to your wallet.",
240          "title": "Open the Argent app"
241        },
242        "step2": {
243          "description": "Create a wallet and username, or import an existing wallet.",
244          "title": "Create or Import a Wallet"
245        },
246        "step3": {
247          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
248          "title": "Tap the Scan QR button"
249        }
250      }
251    },
252
253    "berasig": {
254      "extension": {
255        "step1": {
256          "title": "Install the BeraSig extension",
257          "description": "We recommend pinning BeraSig to your taskbar for easier access to your wallet."
258        },
259        "step2": {
260          "title": "Create a Wallet",
261          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
262        },
263        "step3": {
264          "title": "Refresh your browser",
265          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
266        }
267      }
268    },
269
270    "best": {
271      "qr_code": {
272        "step1": {
273          "title": "Open the Best Wallet app",
274          "description": "Add Best Wallet to your home screen for faster access to your wallet."
275        },
276        "step2": {
277          "title": "Create or Import a Wallet",
278          "description": "Create a new wallet or import an existing one."
279        },
280        "step3": {
281          "title": "Tap the QR icon and scan",
282          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
283        }
284      }
285    },
286
287    "bifrost": {
288      "qr_code": {
289        "step1": {
290          "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",
291          "title": "Open the Bifrost Wallet app"
292        },
293        "step2": {
294          "description": "Create or import a wallet using your recovery phrase.",
295          "title": "Create or Import a Wallet"
296        },
297        "step3": {
298          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
299          "title": "Tap the scan button"
300        }
301      }
302    },
303
304    "bitget": {
305      "qr_code": {
306        "step1": {
307          "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",
308          "title": "Open the Bitget Wallet app"
309        },
310        "step2": {
311          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
312          "title": "Create or Import a Wallet"
313        },
314        "step3": {
315          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
316          "title": "Tap the scan button"
317        }
318      },
319
320      "extension": {
321        "step1": {
322          "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",
323          "title": "Install the Bitget Wallet extension"
324        },
325        "step2": {
326          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
327          "title": "Create or Import a Wallet"
328        },
329        "step3": {
330          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
331          "title": "Refresh your browser"
332        }
333      }
334    },
335
336    "bitski": {
337      "extension": {
338        "step1": {
339          "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",
340          "title": "Install the Bitski extension"
341        },
342        "step2": {
343          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
344          "title": "Create or Import a Wallet"
345        },
346        "step3": {
347          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
348          "title": "Refresh your browser"
349        }
350      }
351    },
352
353    "bitverse": {
354      "qr_code": {
355        "step1": {
356          "title": "Open the Bitverse Wallet app",
357          "description": "Add Bitverse Wallet to your home screen for faster access to your wallet."
358        },
359        "step2": {
360          "title": "Create or Import a Wallet",
361          "description": "Create a new wallet or import an existing one."
362        },
363        "step3": {
364          "title": "Tap the QR icon and scan",
365          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
366        }
367      }
368    },
369
370    "bloom": {
371      "desktop": {
372        "step1": {
373          "title": "Open the Bloom Wallet app",
374          "description": "We recommend putting Bloom Wallet on your home screen for quicker access."
375        },
376        "step2": {
377          "description": "Create or import a wallet using your recovery phrase.",
378          "title": "Create or Import a Wallet"
379        },
380        "step3": {
381          "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.",
382          "title": "Click on Connect"
383        }
384      }
385    },
386
387    "bybit": {
388      "qr_code": {
389        "step1": {
390          "description": "We recommend putting Bybit on your home screen for faster access to your wallet.",
391          "title": "Open the Bybit app"
392        },
393        "step2": {
394          "description": "You can easily backup your wallet using our backup feature on your phone.",
395          "title": "Create or Import a Wallet"
396        },
397        "step3": {
398          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
399          "title": "Tap the scan button"
400        }
401      },
402
403      "extension": {
404        "step1": {
405          "description": "Click at the top right of your browser and pin Bybit Wallet for easy access.",
406          "title": "Install the Bybit Wallet extension"
407        },
408        "step2": {
409          "description": "Create a new wallet or import an existing one.",
410          "title": "Create or Import a wallet"
411        },
412        "step3": {
413          "description": "Once you set up Bybit Wallet, click below to refresh the browser and load up the extension.",
414          "title": "Refresh your browser"
415        }
416      }
417    },
418
419    "binance": {
420      "qr_code": {
421        "step1": {
422          "description": "We recommend putting Binance on your home screen for faster access to your wallet.",
423          "title": "Open the Binance app"
424        },
425        "step2": {
426          "description": "You can easily backup your wallet using our backup feature on your phone.",
427          "title": "Create or Import a Wallet"
428        },
429        "step3": {
430          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
431          "title": "Tap the WalletConnect button"
432        }
433      },
434      "extension": {
435        "step1": {
436          "title": "Install the Binance Wallet extension",
437          "description": "We recommend pinning Binance Wallet to your taskbar for quicker access to your wallet."
438        },
439        "step2": {
440          "title": "Create or Import a Wallet",
441          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
442        },
443        "step3": {
444          "title": "Refresh your browser",
445          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
446        }
447      }
448    },
449
450    "coin98": {
451      "qr_code": {
452        "step1": {
453          "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",
454          "title": "Open the Coin98 Wallet app"
455        },
456        "step2": {
457          "description": "You can easily backup your wallet using our backup feature on your phone.",
458          "title": "Create or Import a Wallet"
459        },
460        "step3": {
461          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
462          "title": "Tap the WalletConnect button"
463        }
464      },
465
466      "extension": {
467        "step1": {
468          "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",
469          "title": "Install the Coin98 Wallet extension"
470        },
471        "step2": {
472          "description": "Create a new wallet or import an existing one.",
473          "title": "Create or Import a wallet"
474        },
475        "step3": {
476          "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",
477          "title": "Refresh your browser"
478        }
479      }
480    },
481
482    "coinbase": {
483      "qr_code": {
484        "step1": {
485          "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",
486          "title": "Open the Coinbase Wallet app"
487        },
488        "step2": {
489          "description": "You can easily backup your wallet using the cloud backup feature.",
490          "title": "Create or Import a Wallet"
491        },
492        "step3": {
493          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
494          "title": "Tap the scan button"
495        }
496      },
497
498      "extension": {
499        "step1": {
500          "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",
501          "title": "Install the Coinbase Wallet extension"
502        },
503        "step2": {
504          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
505          "title": "Create or Import a Wallet"
506        },
507        "step3": {
508          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
509          "title": "Refresh your browser"
510        }
511      }
512    },
513
514    "compass": {
515      "extension": {
516        "step1": {
517          "description": "We recommend pinning Compass Wallet to your taskbar for quicker access to your wallet.",
518          "title": "Install the Compass Wallet extension"
519        },
520        "step2": {
521          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
522          "title": "Create or Import a Wallet"
523        },
524        "step3": {
525          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
526          "title": "Refresh your browser"
527        }
528      }
529    },
530
531    "core": {
532      "qr_code": {
533        "step1": {
534          "description": "We recommend putting Core on your home screen for faster access to your wallet.",
535          "title": "Open the Core app"
536        },
537        "step2": {
538          "description": "You can easily backup your wallet using our backup feature on your phone.",
539          "title": "Create or Import a Wallet"
540        },
541        "step3": {
542          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
543          "title": "Tap the WalletConnect button"
544        }
545      },
546
547      "extension": {
548        "step1": {
549          "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",
550          "title": "Install the Core extension"
551        },
552        "step2": {
553          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
554          "title": "Create or Import a Wallet"
555        },
556        "step3": {
557          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
558          "title": "Refresh your browser"
559        }
560      }
561    },
562
563    "fox": {
564      "qr_code": {
565        "step1": {
566          "description": "We recommend putting FoxWallet on your home screen for quicker access.",
567          "title": "Open the FoxWallet app"
568        },
569        "step2": {
570          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
571          "title": "Create or Import a Wallet"
572        },
573        "step3": {
574          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
575          "title": "Tap the scan button"
576        }
577      }
578    },
579
580    "frontier": {
581      "qr_code": {
582        "step1": {
583          "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",
584          "title": "Open the Frontier Wallet app"
585        },
586        "step2": {
587          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
588          "title": "Create or Import a Wallet"
589        },
590        "step3": {
591          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
592          "title": "Tap the scan button"
593        }
594      },
595
596      "extension": {
597        "step1": {
598          "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",
599          "title": "Install the Frontier Wallet extension"
600        },
601        "step2": {
602          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
603          "title": "Create or Import a Wallet"
604        },
605        "step3": {
606          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
607          "title": "Refresh your browser"
608        }
609      }
610    },
611
612    "im_token": {
613      "qr_code": {
614        "step1": {
615          "title": "Open the imToken app",
616          "description": "Put imToken app on your home screen for faster access to your wallet."
617        },
618        "step2": {
619          "title": "Create or Import a Wallet",
620          "description": "Create a new wallet or import an existing one."
621        },
622        "step3": {
623          "title": "Tap Scanner Icon in top right corner",
624          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
625        }
626      }
627    },
628
629    "iopay": {
630      "qr_code": {
631        "step1": {
632          "description": "We recommend putting ioPay on your home screen for faster access to your wallet.",
633          "title": "Open the ioPay app"
634        },
635        "step2": {
636          "description": "You can easily backup your wallet using our backup feature on your phone.",
637          "title": "Create or Import a Wallet"
638        },
639        "step3": {
640          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
641          "title": "Tap the WalletConnect button"
642        }
643      }
644    },
645
646    "kaikas": {
647      "extension": {
648        "step1": {
649          "description": "We recommend pinning Kaikas to your taskbar for quicker access to your wallet.",
650          "title": "Install the Kaikas extension"
651        },
652        "step2": {
653          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
654          "title": "Create or Import a Wallet"
655        },
656        "step3": {
657          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
658          "title": "Refresh your browser"
659        }
660      },
661      "qr_code": {
662        "step1": {
663          "title": "Open the Kaikas app",
664          "description": "Put Kaikas app on your home screen for faster access to your wallet."
665        },
666        "step2": {
667          "title": "Create or Import a Wallet",
668          "description": "Create a new wallet or import an existing one."
669        },
670        "step3": {
671          "title": "Tap Scanner Icon in top right corner",
672          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
673        }
674      }
675    },
676
677    "kaia": {
678      "extension": {
679        "step1": {
680          "description": "We recommend pinning Kaia to your taskbar for quicker access to your wallet.",
681          "title": "Install the Kaia extension"
682        },
683        "step2": {
684          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
685          "title": "Create or Import a Wallet"
686        },
687        "step3": {
688          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
689          "title": "Refresh your browser"
690        }
691      },
692      "qr_code": {
693        "step1": {
694          "title": "Open the Kaia app",
695          "description": "Put Kaia app on your home screen for faster access to your wallet."
696        },
697        "step2": {
698          "title": "Create or Import a Wallet",
699          "description": "Create a new wallet or import an existing one."
700        },
701        "step3": {
702          "title": "Tap Scanner Icon in top right corner",
703          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
704        }
705      }
706    },
707
708    "kraken": {
709      "qr_code": {
710        "step1": {
711          "title": "Open the Kraken Wallet app",
712          "description": "Add Kraken Wallet to your home screen for faster access to your wallet."
713        },
714        "step2": {
715          "title": "Create or Import a Wallet",
716          "description": "Create a new wallet or import an existing one."
717        },
718        "step3": {
719          "title": "Tap the QR icon and scan",
720          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
721        }
722      }
723    },
724
725    "kresus": {
726      "qr_code": {
727        "step1": {
728          "title": "Open the Kresus Wallet app",
729          "description": "Add Kresus Wallet to your home screen for faster access to your wallet."
730        },
731        "step2": {
732          "title": "Create or Import a Wallet",
733          "description": "Create a new wallet or import an existing one."
734        },
735        "step3": {
736          "title": "Tap the QR icon and scan",
737          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
738        }
739      }
740    },
741
742    "magicEden": {
743      "extension": {
744        "step1": {
745          "title": "Install the Magic Eden extension",
746          "description": "We recommend pinning Magic Eden to your taskbar for easier access to your wallet."
747        },
748        "step2": {
749          "title": "Create or Import a Wallet",
750          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."
751        },
752        "step3": {
753          "title": "Refresh your browser",
754          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
755        }
756      }
757    },
758
759    "metamask": {
760      "qr_code": {
761        "step1": {
762          "title": "Open the MetaMask app",
763          "description": "We recommend putting MetaMask on your home screen for quicker access."
764        },
765        "step2": {
766          "title": "Create or Import a Wallet",
767          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
768        },
769        "step3": {
770          "title": "Tap the scan button",
771          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
772        }
773      },
774
775      "extension": {
776        "step1": {
777          "title": "Install the MetaMask extension",
778          "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."
779        },
780        "step2": {
781          "title": "Create or Import a Wallet",
782          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
783        },
784        "step3": {
785          "title": "Refresh your browser",
786          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
787        }
788      }
789    },
790
791    "nestwallet": {
792      "extension": {
793        "step1": {
794          "title": "Install the NestWallet extension",
795          "description": "We recommend pinning NestWallet to your taskbar for quicker access to your wallet."
796        },
797        "step2": {
798          "title": "Create or Import a Wallet",
799          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
800        },
801        "step3": {
802          "title": "Refresh your browser",
803          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
804        }
805      }
806    },
807
808    "okx": {
809      "qr_code": {
810        "step1": {
811          "title": "Open the OKX Wallet app",
812          "description": "We recommend putting OKX Wallet on your home screen for quicker access."
813        },
814        "step2": {
815          "title": "Create or Import a Wallet",
816          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
817        },
818        "step3": {
819          "title": "Tap the scan button",
820          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
821        }
822      },
823
824      "extension": {
825        "step1": {
826          "title": "Install the OKX Wallet extension",
827          "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."
828        },
829        "step2": {
830          "title": "Create or Import a Wallet",
831          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
832        },
833        "step3": {
834          "title": "Refresh your browser",
835          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
836        }
837      }
838    },
839
840    "omni": {
841      "qr_code": {
842        "step1": {
843          "title": "Open the Omni app",
844          "description": "Add Omni to your home screen for faster access to your wallet."
845        },
846        "step2": {
847          "title": "Create or Import a Wallet",
848          "description": "Create a new wallet or import an existing one."
849        },
850        "step3": {
851          "title": "Tap the QR icon and scan",
852          "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."
853        }
854      }
855    },
856
857    "1inch": {
858      "qr_code": {
859        "step1": {
860          "description": "Put 1inch Wallet on your home screen for faster access to your wallet.",
861          "title": "Open the 1inch Wallet app"
862        },
863        "step2": {
864          "description": "Create a wallet and username, or import an existing wallet.",
865          "title": "Create or Import a Wallet"
866        },
867        "step3": {
868          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
869          "title": "Tap the Scan QR button"
870        }
871      }
872    },
873
874    "token_pocket": {
875      "qr_code": {
876        "step1": {
877          "title": "Open the TokenPocket app",
878          "description": "We recommend putting TokenPocket on your home screen for quicker access."
879        },
880        "step2": {
881          "title": "Create or Import a Wallet",
882          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
883        },
884        "step3": {
885          "title": "Tap the scan button",
886          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
887        }
888      },
889
890      "extension": {
891        "step1": {
892          "title": "Install the TokenPocket extension",
893          "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."
894        },
895        "step2": {
896          "title": "Create or Import a Wallet",
897          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
898        },
899        "step3": {
900          "title": "Refresh your browser",
901          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
902        }
903      }
904    },
905
906    "trust": {
907      "qr_code": {
908        "step1": {
909          "title": "Open the Trust Wallet app",
910          "description": "Put Trust Wallet on your home screen for faster access to your wallet."
911        },
912        "step2": {
913          "title": "Create or Import a Wallet",
914          "description": "Create a new wallet or import an existing one."
915        },
916        "step3": {
917          "title": "Tap WalletConnect in Settings",
918          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
919        }
920      },
921
922      "extension": {
923        "step1": {
924          "title": "Install the Trust Wallet extension",
925          "description": "Click at the top right of your browser and pin Trust Wallet for easy access."
926        },
927        "step2": {
928          "title": "Create or Import a wallet",
929          "description": "Create a new wallet or import an existing one."
930        },
931        "step3": {
932          "title": "Refresh your browser",
933          "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."
934        }
935      }
936    },
937
938    "uniswap": {
939      "qr_code": {
940        "step1": {
941          "title": "Open the Uniswap app",
942          "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."
943        },
944        "step2": {
945          "title": "Create or Import a Wallet",
946          "description": "Create a new wallet or import an existing one."
947        },
948        "step3": {
949          "title": "Tap the QR icon and scan",
950          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
951        }
952      }
953    },
954
955    "zerion": {
956      "qr_code": {
957        "step1": {
958          "title": "Open the Zerion app",
959          "description": "We recommend putting Zerion on your home screen for quicker access."
960        },
961        "step2": {
962          "title": "Create or Import a Wallet",
963          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
964        },
965        "step3": {
966          "title": "Tap the scan button",
967          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
968        }
969      },
970
971      "extension": {
972        "step1": {
973          "title": "Install the Zerion extension",
974          "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."
975        },
976        "step2": {
977          "title": "Create or Import a Wallet",
978          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
979        },
980        "step3": {
981          "title": "Refresh your browser",
982          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
983        }
984      }
985    },
986
987    "rainbow": {
988      "qr_code": {
989        "step1": {
990          "title": "Open the Rainbow app",
991          "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."
992        },
993        "step2": {
994          "title": "Create or Import a Wallet",
995          "description": "You can easily backup your wallet using our backup feature on your phone."
996        },
997        "step3": {
998          "title": "Tap the scan button",
999          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1000        }
1001      }
1002    },
1003
1004    "enkrypt": {
1005      "extension": {
1006        "step1": {
1007          "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",
1008          "title": "Install the Enkrypt Wallet extension"
1009        },
1010        "step2": {
1011          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
1012          "title": "Create or Import a Wallet"
1013        },
1014        "step3": {
1015          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
1016          "title": "Refresh your browser"
1017        }
1018      }
1019    },
1020
1021    "frame": {
1022      "extension": {
1023        "step1": {
1024          "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",
1025          "title": "Install Frame & the companion extension"
1026        },
1027        "step2": {
1028          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
1029          "title": "Create or Import a Wallet"
1030        },
1031        "step3": {
1032          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
1033          "title": "Refresh your browser"
1034        }
1035      }
1036    },
1037
1038    "one_key": {
1039      "extension": {
1040        "step1": {
1041          "title": "Install the OneKey Wallet extension",
1042          "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."
1043        },
1044        "step2": {
1045          "title": "Create or Import a Wallet",
1046          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1047        },
1048        "step3": {
1049          "title": "Refresh your browser",
1050          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1051        }
1052      }
1053    },
1054
1055    "paraswap": {
1056      "qr_code": {
1057        "step1": {
1058          "title": "Open the ParaSwap app",
1059          "description": "Add ParaSwap Wallet to your home screen for faster access to your wallet."
1060        },
1061        "step2": {
1062          "title": "Create or Import a Wallet",
1063          "description": "Create a new wallet or import an existing one."
1064        },
1065        "step3": {
1066          "title": "Tap the QR icon and scan",
1067          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
1068        }
1069      }
1070    },
1071
1072    "phantom": {
1073      "extension": {
1074        "step1": {
1075          "title": "Install the Phantom extension",
1076          "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."
1077        },
1078        "step2": {
1079          "title": "Create or Import a Wallet",
1080          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."
1081        },
1082        "step3": {
1083          "title": "Refresh your browser",
1084          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1085        }
1086      }
1087    },
1088
1089    "rabby": {
1090      "extension": {
1091        "step1": {
1092          "title": "Install the Rabby extension",
1093          "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."
1094        },
1095        "step2": {
1096          "title": "Create or Import a Wallet",
1097          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1098        },
1099        "step3": {
1100          "title": "Refresh your browser",
1101          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1102        }
1103      }
1104    },
1105
1106    "ronin": {
1107      "qr_code": {
1108        "step1": {
1109          "description": "We recommend putting Ronin Wallet on your home screen for quicker access.",
1110          "title": "Open the Ronin Wallet app"
1111        },
1112        "step2": {
1113          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
1114          "title": "Create or Import a Wallet"
1115        },
1116        "step3": {
1117          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
1118          "title": "Tap the scan button"
1119        }
1120      },
1121
1122      "extension": {
1123        "step1": {
1124          "description": "We recommend pinning Ronin Wallet to your taskbar for quicker access to your wallet.",
1125          "title": "Install the Ronin Wallet extension"
1126        },
1127        "step2": {
1128          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
1129          "title": "Create or Import a Wallet"
1130        },
1131        "step3": {
1132          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
1133          "title": "Refresh your browser"
1134        }
1135      }
1136    },
1137
1138    "ramper": {
1139      "extension": {
1140        "step1": {
1141          "title": "Install the Ramper extension",
1142          "description": "We recommend pinning Ramper to your taskbar for easier access to your wallet."
1143        },
1144        "step2": {
1145          "title": "Create a Wallet",
1146          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1147        },
1148        "step3": {
1149          "title": "Refresh your browser",
1150          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1151        }
1152      }
1153    },
1154
1155    "safeheron": {
1156      "extension": {
1157        "step1": {
1158          "title": "Install the Core extension",
1159          "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."
1160        },
1161        "step2": {
1162          "title": "Create or Import a Wallet",
1163          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1164        },
1165        "step3": {
1166          "title": "Refresh your browser",
1167          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1168        }
1169      }
1170    },
1171
1172    "taho": {
1173      "extension": {
1174        "step1": {
1175          "title": "Install the Taho extension",
1176          "description": "We recommend pinning Taho to your taskbar for quicker access to your wallet."
1177        },
1178        "step2": {
1179          "title": "Create or Import a Wallet",
1180          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1181        },
1182        "step3": {
1183          "title": "Refresh your browser",
1184          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1185        }
1186      }
1187    },
1188
1189    "wigwam": {
1190      "extension": {
1191        "step1": {
1192          "title": "Install the Wigwam extension",
1193          "description": "We recommend pinning Wigwam to your taskbar for quicker access to your wallet."
1194        },
1195        "step2": {
1196          "title": "Create or Import a Wallet",
1197          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1198        },
1199        "step3": {
1200          "title": "Refresh your browser",
1201          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1202        }
1203      }
1204    },
1205
1206    "talisman": {
1207      "extension": {
1208        "step1": {
1209          "title": "Install the Talisman extension",
1210          "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."
1211        },
1212        "step2": {
1213          "title": "Create or Import an Ethereum Wallet",
1214          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."
1215        },
1216        "step3": {
1217          "title": "Refresh your browser",
1218          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1219        }
1220      }
1221    },
1222
1223    "xdefi": {
1224      "extension": {
1225        "step1": {
1226          "title": "Install the XDEFI Wallet extension",
1227          "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."
1228        },
1229        "step2": {
1230          "title": "Create or Import a Wallet",
1231          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1232        },
1233        "step3": {
1234          "title": "Refresh your browser",
1235          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1236        }
1237      }
1238    },
1239
1240    "zeal": {
1241      "qr_code": {
1242        "step1": {
1243          "title": "Open the Zeal app",
1244          "description": "Add Zeal Wallet to your home screen for faster access to your wallet."
1245        },
1246        "step2": {
1247          "title": "Create or Import a Wallet",
1248          "description": "Create a new wallet or import an existing one."
1249        },
1250        "step3": {
1251          "title": "Tap the QR icon and scan",
1252          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
1253        }
1254      },
1255      "extension": {
1256        "step1": {
1257          "title": "Install the Zeal extension",
1258          "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."
1259        },
1260        "step2": {
1261          "title": "Create or Import a Wallet",
1262          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1263        },
1264        "step3": {
1265          "title": "Refresh your browser",
1266          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1267        }
1268      }
1269    },
1270
1271    "safepal": {
1272      "extension": {
1273        "step1": {
1274          "title": "Install the SafePal Wallet extension",
1275          "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."
1276        },
1277        "step2": {
1278          "title": "Create or Import a wallet",
1279          "description": "Create a new wallet or import an existing one."
1280        },
1281        "step3": {
1282          "title": "Refresh your browser",
1283          "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."
1284        }
1285      },
1286      "qr_code": {
1287        "step1": {
1288          "title": "Open the SafePal Wallet app",
1289          "description": "Put SafePal Wallet on your home screen for faster access to your wallet."
1290        },
1291        "step2": {
1292          "title": "Create or Import a Wallet",
1293          "description": "Create a new wallet or import an existing one."
1294        },
1295        "step3": {
1296          "title": "Tap WalletConnect in Settings",
1297          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
1298        }
1299      }
1300    },
1301
1302    "desig": {
1303      "extension": {
1304        "step1": {
1305          "title": "Install the Desig extension",
1306          "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."
1307        },
1308        "step2": {
1309          "title": "Create a Wallet",
1310          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1311        },
1312        "step3": {
1313          "title": "Refresh your browser",
1314          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1315        }
1316      }
1317    },
1318
1319    "subwallet": {
1320      "extension": {
1321        "step1": {
1322          "title": "Install the SubWallet extension",
1323          "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."
1324        },
1325        "step2": {
1326          "title": "Create or Import a Wallet",
1327          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."
1328        },
1329        "step3": {
1330          "title": "Refresh your browser",
1331          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1332        }
1333      },
1334      "qr_code": {
1335        "step1": {
1336          "title": "Open the SubWallet app",
1337          "description": "We recommend putting SubWallet on your home screen for quicker access."
1338        },
1339        "step2": {
1340          "title": "Create or Import a Wallet",
1341          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1342        },
1343        "step3": {
1344          "title": "Tap the scan button",
1345          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1346        }
1347      }
1348    },
1349
1350    "clv": {
1351      "extension": {
1352        "step1": {
1353          "title": "Install the CLV Wallet extension",
1354          "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."
1355        },
1356        "step2": {
1357          "title": "Create or Import a Wallet",
1358          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1359        },
1360        "step3": {
1361          "title": "Refresh your browser",
1362          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1363        }
1364      },
1365      "qr_code": {
1366        "step1": {
1367          "title": "Open the CLV Wallet app",
1368          "description": "We recommend putting CLV Wallet on your home screen for quicker access."
1369        },
1370        "step2": {
1371          "title": "Create or Import a Wallet",
1372          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
1373        },
1374        "step3": {
1375          "title": "Tap the scan button",
1376          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1377        }
1378      }
1379    },
1380
1381    "okto": {
1382      "qr_code": {
1383        "step1": {
1384          "title": "Open the Okto app",
1385          "description": "Add Okto to your home screen for quick access"
1386        },
1387        "step2": {
1388          "title": "Create an MPC Wallet",
1389          "description": "Create an account and generate a wallet"
1390        },
1391        "step3": {
1392          "title": "Tap WalletConnect in Settings",
1393          "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."
1394        }
1395      }
1396    },
1397
1398    "ledger": {
1399      "desktop": {
1400        "step1": {
1401          "title": "Open the Ledger Live app",
1402          "description": "We recommend putting Ledger Live on your home screen for quicker access."
1403        },
1404        "step2": {
1405          "title": "Set up your Ledger",
1406          "description": "Set up a new Ledger or connect to an existing one."
1407        },
1408        "step3": {
1409          "title": "Connect",
1410          "description": "A connection prompt will appear for you to connect your wallet."
1411        }
1412      },
1413      "qr_code": {
1414        "step1": {
1415          "title": "Open the Ledger Live app",
1416          "description": "We recommend putting Ledger Live on your home screen for quicker access."
1417        },
1418        "step2": {
1419          "title": "Set up your Ledger",
1420          "description": "You can either sync with the desktop app or connect your Ledger."
1421        },
1422        "step3": {
1423          "title": "Scan the code",
1424          "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."
1425        }
1426      }
1427    },
1428
1429    "valora": {
1430      "qr_code": {
1431        "step1": {
1432          "title": "Open the Valora app",
1433          "description": "We recommend putting Valora on your home screen for quicker access."
1434        },
1435        "step2": {
1436          "title": "Create or import a wallet",
1437          "description": "Create a new wallet or import an existing one."
1438        },
1439        "step3": {
1440          "title": "Tap the scan button",
1441          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1442        }
1443      }
1444    },
1445
1446    "gate": {
1447      "qr_code": {
1448        "step1": {
1449          "title": "Open the Gate app",
1450          "description": "We recommend putting Gate on your home screen for quicker access."
1451        },
1452        "step2": {
1453          "title": "Create or Import a Wallet",
1454          "description": "Create a new wallet or import an existing one."
1455        },
1456        "step3": {
1457          "title": "Tap the scan button",
1458          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1459        }
1460      },
1461      "extension": {
1462        "step1": {
1463          "title": "Install the Gate extension",
1464          "description": "We recommend pinning Gate to your taskbar for easier access to your wallet."
1465        },
1466        "step2": {
1467          "title": "Create or Import a Wallet",
1468          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."
1469        },
1470        "step3": {
1471          "title": "Refresh your browser",
1472          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
1473        }
1474      }
1475    },
1476
1477    "gemini": {
1478      "qr_code": {
1479        "step1": {
1480          "title": "Open keys.gemini.com",
1481          "description": "Visit keys.gemini.com on your mobile browser - no app download required."
1482        },
1483        "step2": {
1484          "title": "Create Your Wallet Instantly",
1485          "description": "Set up your smart wallet in seconds using your device's built-in authentication."
1486        },
1487        "step3": {
1488          "title": "Scan to Connect",
1489          "description": "Scan the QR code to instantly connect your wallet - it just works."
1490        }
1491      },
1492      "extension": {
1493        "step1": {
1494          "title": "Go to keys.gemini.com",
1495          "description": "No extensions or downloads needed - your wallet lives securely in the browser."
1496        },
1497        "step2": {
1498          "title": "One-Click Setup",
1499          "description": "Create your smart wallet instantly with passkey authentication - easier than any wallet out there."
1500        },
1501        "step3": {
1502          "title": "Connect and Go",
1503          "description": "Approve the connection and you're ready - the unopinionated wallet that just works."
1504        }
1505      }
1506    },
1507
1508    "xportal": {
1509      "qr_code": {
1510        "step1": {
1511          "description": "Put xPortal on your home screen for faster access to your wallet.",
1512          "title": "Open the xPortal app"
1513        },
1514        "step2": {
1515          "description": "Create a wallet or import an existing one.",
1516          "title": "Create or Import a Wallet"
1517        },
1518        "step3": {
1519          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
1520          "title": "Tap the Scan QR button"
1521        }
1522      }
1523    },
1524
1525    "mew": {
1526      "qr_code": {
1527        "step1": {
1528          "description": "We recommend putting MEW Wallet on your home screen for quicker access.",
1529          "title": "Open the MEW Wallet app"
1530        },
1531        "step2": {
1532          "description": "You can easily backup your wallet using the cloud backup feature.",
1533          "title": "Create or Import a Wallet"
1534        },
1535        "step3": {
1536          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
1537          "title": "Tap the scan button"
1538        }
1539      }
1540    },
1541
1542    "zilpay": {
1543      "qr_code": {
1544        "step1": {
1545          "title": "Open the ZilPay app",
1546          "description": "Add ZilPay to your home screen for faster access to your wallet."
1547        },
1548        "step2": {
1549          "title": "Create or Import a Wallet",
1550          "description": "Create a new wallet or import an existing one."
1551        },
1552        "step3": {
1553          "title": "Tap the scan button",
1554          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1555        }
1556      }
1557    },
1558
1559    "nova": {
1560      "qr_code": {
1561        "step1": {
1562          "title": "Open the Nova Wallet app",
1563          "description": "Add Nova Wallet to your home screen for faster access to your wallet."
1564        },
1565        "step2": {
1566          "title": "Create or Import a Wallet",
1567          "description": "Create a new wallet or import an existing one."
1568        },
1569        "step3": {
1570          "title": "Tap the scan button",
1571          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
1572        }
1573      }
1574    }
1575  }
1576}
1577`},37295:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(45437);let i=new Map;function a({fn:e,id:t,shouldSplitBatch:r,wait:a=0,sort:o}){let s=async()=>{let t=l();c();let r=t.map(({args:e})=>e);0!==r.length&&e(r).then(e=>{o&&Array.isArray(e)&&e.sort(o);for(let r=0;r<t.length;r++){let{resolve:n}=t[r];n?.([e[r],e])}}).catch(e=>{for(let r=0;r<t.length;r++){let{reject:n}=t[r];n?.(e)}})},c=()=>i.delete(t),l=()=>i.get(t)||[],u=e=>i.set(t,[...l(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:i,reject:o}=(0,n.Y)();return(r?.([...l().map(({args:e})=>e),e])&&s(),l().length>0)?u({args:e,resolve:i,reject:o}):(u({args:e,resolve:i,reject:o}),setTimeout(s,a)),t}}}},37826:(e,t,r)=>{"use strict";r.d(t,{n:()=>b});var n=r(80044),i=r(96685),a=r(14870),o=r(45696),s=r(81693),c=r(12581),l=r(66347),u=r(94747),d=r(84428);function f(e,t={}){void 0!==t.size&&(0,u.Sl)(e,{size:t.size});let r=(0,d.My)(e,t);return(0,u.ME)(r,t)}var h=r(22106),p=r(44497);function b(e,t){let r="string"==typeof t?(0,h.aT)(t):t,b=(0,a.l)(r);if(0===(0,o.E)(r)&&e.length>0)throw new n.O;if((0,o.E)(t)&&32>(0,o.E)(t))throw new n.Iy({data:"string"==typeof t?t:(0,d.My)(t),params:e,size:(0,o.E)(t)});let y=0,g=[];for(let t=0;t<e.length;++t){let r=e[t];b.setPosition(y);let[a,o]=function e(t,r,{staticPosition:a}){let o=(0,p.k)(r.type);if(o){let[n,i]=o;return function(t,r,{length:n,staticPosition:i}){if(!n){let n=i+f(t.readBytes(32)),a=n+32;t.setPosition(n);let o=f(t.readBytes(32)),s=m(r),c=0,l=[];for(let n=0;n<o;++n){t.setPosition(a+(s?32*n:c));let[i,o]=e(t,r,{staticPosition:a});c+=o,l.push(i)}return t.setPosition(i+32),[l,32]}if(m(r)){let a=i+f(t.readBytes(32)),o=[];for(let i=0;i<n;++i){t.setPosition(a+32*i);let[n]=e(t,r,{staticPosition:a});o.push(n)}return t.setPosition(i+32),[o,32]}let a=0,o=[];for(let s=0;s<n;++s){let[n,s]=e(t,r,{staticPosition:i+a});a+=s,o.push(n)}return[o,a]}(t,{...r,type:i},{length:n,staticPosition:a})}if("tuple"===r.type)return function(t,r,{staticPosition:n}){let i=0===r.components.length||r.components.some(({name:e})=>!e),a=i?[]:{},o=0;if(m(r)){let s=n+f(t.readBytes(32));for(let n=0;n<r.components.length;++n){let c=r.components[n];t.setPosition(s+o);let[l,u]=e(t,c,{staticPosition:s});o+=u,a[i?n:c?.name]=l}return t.setPosition(n+32),[a,32]}for(let s=0;s<r.components.length;++s){let c=r.components[s],[l,u]=e(t,c,{staticPosition:n});a[i?s:c?.name]=l,o+=u}return[a,o]}(t,r,{staticPosition:a});if("address"===r.type){let e;return e=t.readBytes(32),[(0,i.o)((0,d.My)((0,s.A1)(e,-20))),32]}if("bool"===r.type)return[function(e,t={}){let r=e;if(void 0!==t.size&&((0,u.Sl)(r,{size:t.size}),r=(0,c.B)(r)),r.length>1||r[0]>1)throw new l.xO(r);return!!r[0]}(t.readBytes(32),{size:32}),32];if(r.type.startsWith("bytes"))return function(e,t,{staticPosition:r}){let[n,i]=t.type.split("bytes");if(!i){let t=f(e.readBytes(32));e.setPosition(r+t);let n=f(e.readBytes(32));if(0===n)return e.setPosition(r+32),["0x",32];let i=e.readBytes(n);return e.setPosition(r+32),[(0,d.My)(i),32]}return[(0,d.My)(e.readBytes(Number.parseInt(i,10),32)),32]}(t,r,{staticPosition:a});if(r.type.startsWith("uint")||r.type.startsWith("int")){var h,b;let e,n,i;return h=t,e=(b=r).type.startsWith("int"),n=Number.parseInt(b.type.split("int")[1]||"256",10),i=h.readBytes(32),[n>48?function(e,t={}){void 0!==t.size&&(0,u.Sl)(e,{size:t.size});let r=(0,d.My)(e,t);return(0,u.uU)(r,t)}(i,{signed:e}):f(i,{signed:e}),32]}if("string"===r.type)return function(e,{staticPosition:t}){let r=f(e.readBytes(32));e.setPosition(t+r);let n=f(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let i=e.readBytes(n,32),a=function(e,t={}){let r=e;return void 0!==t.size&&((0,u.Sl)(r,{size:t.size}),r=(0,c.B)(r,{dir:"right"})),new TextDecoder().decode(r)}((0,c.B)(i));return e.setPosition(t+32),[a,32]}(t,{staticPosition:a});throw new n.j(r.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(b,r,{staticPosition:0});y+=o,g.push(a)}return g}function m(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;
1577if("tuple"===t)return e.components?.some(m);let r=(0,p.k)(e.type);return!!(r&&m({...e,type:r[1]}))}},38434:(e,t,r)=>{"use strict";let n,i;r.d(t,{Toaster:()=>ee,Ay:()=>et});var a,o=r(12115);let s={data:""},c=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,l=/\/\*[^]*?\*\/|  +/g,u=/\n+/g,d=(e,t)=>{let r="",n="",i="";for(let a in e){let o=e[a];"@"==a[0]?"i"==a[1]?r=a+" "+o+";":n+="f"==a[1]?d(o,a):a+"{"+d(o,"k"==a[1]?"":t)+"}":"object"==typeof o?n+=d(o,t?t.replace(/([^,])+/g,e=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):a):null!=o&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=d.p?d.p(a,o):a+":"+o+";")}return r+(t&&i?t+"{"+i+"}":i)+n},f={},h=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+h(e[r]);return t}return e};function p(e){let t,r,n=this||{},i=e.call?e(n.p):e;return((e,t,r,n,i)=>{var a;let o=h(e),s=f[o]||(f[o]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(o));if(!f[s]){let t=o!==e?e:(e=>{let t,r,n=[{}];for(;t=c.exec(e.replace(l,""));)t[4]?n.shift():t[3]?(r=t[3].replace(u," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(u," ").trim();return n[0]})(e);f[s]=d(i?{["@keyframes "+s]:t}:t,r?"":"."+s)}let p=r&&f.g?f.g:null;return r&&(f.g=f[s]),a=f[s],p?t.data=t.data.replace(p,a):-1===t.data.indexOf(a)&&(t.data=n?a+t.data:t.data+a),s})(i.unshift?i.raw?(t=[].slice.call(arguments,1),r=n.p,i.reduce((e,n,i)=>{let a=t[i];if(a&&a.call){let e=a(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?"."+t:e&&"object"==typeof e?e.props?"":d(e,""):!1===e?"":e}return e+n+(null==a?"":a)},"")):i.reduce((e,t)=>Object.assign(e,t&&t.call?t(n.p):t),{}):i,(e=>{if("object"==typeof window){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||s})(n.target),n.g,n.o,n.k)}p.bind({g:1});let b,m,y,g=p.bind({k:1});function w(e,t){let r=this||{};return function(){let n=arguments;function i(a,o){let s=Object.assign({},a),c=s.className||i.className;r.p=Object.assign({theme:m&&m()},s),r.o=/ *go\d+/.test(c),s.className=p.apply(r,n)+(c?" "+c:""),t&&(s.ref=o);let l=e;return e[0]&&(l=s.as||e,delete s.as),y&&l[0]&&y(s),b(l,s)}return t?t(i):i}}var v=(e,t)=>"function"==typeof e?e(t):e,A=(n=0,()=>(++n).toString()),x=()=>{if(void 0===i&&"u">typeof window){let e=matchMedia("(prefers-reduced-motion: reduce)");i=!e||e.matches}return i},C="default",E=(e,t)=>{let{toastLimit:r}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,r)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:n}=t;return E(e,{type:+!!e.toasts.find(e=>e.id===n.id),toast:n});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let a=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+a}))}}},I=[],B={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},P={},k=(e,t=C)=>{P[t]=E(P[t]||B,e),I.forEach(([e,r])=>{e===t&&r(P[t])})},S=e=>Object.keys(P).forEach(t=>k(e,t)),O=(e=C)=>t=>{k(t,e)},M={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},R=e=>(t,r)=>{let n,i=((e,t="blank",r)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||A()}))(t,e,r);return O(i.toasterId||(n=i.id,Object.keys(P).find(e=>P[e].toasts.some(e=>e.id===n))))({type:2,toast:i}),i.id},T=(e,t)=>R("blank")(e,t);T.error=R("error"),T.success=R("success"),T.loading=R("loading"),T.custom=R("custom"),T.dismiss=(e,t)=>{let r={type:3,toastId:e};t?O(t)(r):S(r)},T.dismissAll=e=>T.dismiss(void 0,e),T.remove=(e,t)=>{let r={type:4,toastId:e};t?O(t)(r):S(r)},T.removeAll=e=>T.remove(void 0,e),T.promise=(e,t,r)=>{let n=T.loading(t.loading,{...r,...null==r?void 0:r.loading});return"function"==typeof e&&(e=e()),e.then(e=>{let i=t.success?v(t.success,e):void 0;return i?T.success(i,{id:n,...r,...null==r?void 0:r.success}):T.dismiss(n),e}).catch(e=>{let i=t.error?v(t.error,e):void 0;i?T.error(i,{id:n,...r,...null==r?void 0:r.error}):T.dismiss(n)}),e};var F=1e3,N=g`
1578from {
1579  transform: scale(0) rotate(45deg);
1580	opacity: 0;
1581}
1582to {
1583 transform: scale(1) rotate(45deg);
1584  opacity: 1;
1585}`,j=g`
1586from {
1587  transform: scale(0);
1588  opacity: 0;
1589}
1590to {
1591  transform: scale(1);
1592  opacity: 1;
1593}`,U=g`
1594from {
1595  transform: scale(0) rotate(90deg);
1596	opacity: 0;
1597}
1598to {
1599  transform: scale(1) rotate(90deg);
1600	opacity: 1;
1601}`,D=w("div")`
1602  width: 20px;
1603  opacity: 0;
1604  height: 20px;
1605  border-radius: 10px;
1606  background: ${e=>e.primary||"#ff4b4b"};
1607  position: relative;
1608  transform: rotate(45deg);
1609
1610  animation: ${N} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1611    forwards;
1612  animation-delay: 100ms;
1613
1614  &:after,
1615  &:before {
1616    content: '';
1617    animation: ${j} 0.15s ease-out forwards;
1618    animation-delay: 150ms;
1619    position: absolute;
1620    border-radius: 3px;
1621    opacity: 0;
1622    background: ${e=>e.secondary||"#fff"};
1623    bottom: 9px;
1624    left: 4px;
1625    height: 2px;
1626    width: 12px;
1627  }
1628
1629  &:before {
1630    animation: ${U} 0.15s ease-out forwards;
1631    animation-delay: 180ms;
1632    transform: rotate(90deg);
1633  }
1634`,q=g`
1635  from {
1636    transform: rotate(0deg);
1637  }
1638  to {
1639    transform: rotate(360deg);
1640  }
1641`,Q=w("div")`
1642  width: 12px;
1643  height: 12px;
1644  box-sizing: border-box;
1645  border: 2px solid;
1646  border-radius: 100%;
1647  border-color: ${e=>e.secondary||"#e0e0e0"};
1648  border-right-color: ${e=>e.primary||"#616161"};
1649  animation: ${q} 1s linear infinite;
1650`,L=g`
1651from {
1652  transform: scale(0) rotate(45deg);
1653	opacity: 0;
1654}
1655to {
1656  transform: scale(1) rotate(45deg);
1657	opacity: 1;
1658}`,W=g`
16590% {
1660	height: 0;
1661	width: 0;
1662	opacity: 0;
1663}
166440% {
1665  height: 0;
1666	width: 6px;
1667	opacity: 1;
1668}
1669100% {
1670  opacity: 1;
1671  height: 10px;
1672}`,$=w("div")`
1673  width: 20px;
1674  opacity: 0;
1675  height: 20px;
1676  border-radius: 10px;
1677  background: ${e=>e.primary||"#61d345"};
1678  position: relative;
1679  transform: rotate(45deg);
1680
1681  animation: ${L} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1682    forwards;
1683  animation-delay: 100ms;
1684  &:after {
1685    content: '';
1686    box-sizing: border-box;
1687    animation: ${W} 0.2s ease-out forwards;
1688    opacity: 0;
1689    animation-delay: 200ms;
1690    position: absolute;
1691    border-right: 2px solid;
1692    border-bottom: 2px solid;
1693    border-color: ${e=>e.secondary||"#fff"};
1694    bottom: 6px;
1695    left: 6px;
1696    height: 10px;
1697    width: 6px;
1698  }
1699`,z=w("div")`
1700  position: absolute;
1701`,G=w("div")`
1702  position: relative;
1703  display: flex;
1704  justify-content: center;
1705  align-items: center;
1706  min-width: 20px;
1707  min-height: 20px;
1708`,H=g`
1709from {
1710  transform: scale(0.6);
1711  opacity: 0.4;
1712}
1713to {
1714  transform: scale(1);
1715  opacity: 1;
1716}`,K=w("div")`
1717  position: relative;
1718  transform: scale(0.6);
1719  opacity: 0.4;
1720  min-width: 20px;
1721  animation: ${H} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1722    forwards;
1723`,V=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return void 0!==t?"string"==typeof t?o.createElement(K,null,t):t:"blank"===r?null:o.createElement(G,null,o.createElement(Q,{...n}),"loading"!==r&&o.createElement(z,null,"error"===r?o.createElement(D,{...n}):o.createElement($,{...n})))},J=w("div")`
1724  display: flex;
1725  align-items: center;
1726  background: #fff;
1727  color: #363636;
1728  line-height: 1.3;
1729  will-change: transform;
1730  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
1731  max-width: 350px;
1732  pointer-events: auto;
1733  padding: 8px 10px;
1734  border-radius: 8px;
1735`,Z=w("div")`
1736  display: flex;
1737  justify-content: center;
1738  margin: 4px 10px;
1739  color: inherit;
1740  flex: 1 1 auto;
1741  white-space: pre-line;
1742`,Y=o.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?((e,t)=>{let r=e.includes("top")?1:-1,[n,i]=x()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[`
17430% {transform: translate3d(0,${-200*r}%,0) scale(.6); opacity:.5;}
1744100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
1745`,`
17460% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
1747100% {transform: translate3d(0,${-150*r}%,-1px) scale(.6); opacity:0;}
1748`];return{animation:t?`${g(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${g(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},a=o.createElement(V,{toast:e}),s=o.createElement(Z,{...e.ariaProps},v(e.message,e));return o.createElement(J,{className:e.className,style:{...i,...r,...e.style}},"function"==typeof n?n({icon:a,message:s}):o.createElement(o.Fragment,null,a,s))});a=o.createElement,d.p=void 0,b=a,m=void 0,y=void 0;var X=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let a=o.useCallback(t=>{if(t){let r=()=>{n(e,t.getBoundingClientRect().height)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0}
1748)}},[e,n]);return o.createElement("div",{ref:a,className:t,style:r},i)},_=p`
1749  z-index: 9999;
1750  > * {
1751    pointer-events: auto;
1752  }
1753`,ee=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,toasterId:a,containerStyle:s,containerClassName:c})=>{let{toasts:l,handlers:u}=((e,t="default")=>{let{toasts:r,pausedAt:n}=((e={},t=C)=>{let[r,n]=(0,o.useState)(P[t]||B),i=(0,o.useRef)(P[t]);(0,o.useEffect)(()=>(i.current!==P[t]&&n(P[t]),I.push([t,n]),()=>{let e=I.findIndex(([e])=>e===t);e>-1&&I.splice(e,1)}),[t]);let a=r.toasts.map(t=>{var r,n,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(r=e[t.type])?void 0:r.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||M[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...r,toasts:a}})(e,t),i=(0,o.useRef)(new Map).current,a=(0,o.useCallback)((e,t=F)=>{if(i.has(e))return;let r=setTimeout(()=>{i.delete(e),s({type:4,toastId:e})},t);i.set(e,r)},[]);(0,o.useEffect)(()=>{if(n)return;let e=Date.now(),i=r.map(r=>{if(r.duration===1/0)return;let n=(r.duration||0)+r.pauseDuration-(e-r.createdAt);if(n<0){r.visible&&T.dismiss(r.id);return}return setTimeout(()=>T.dismiss(r.id,t),n)});return()=>{i.forEach(e=>e&&clearTimeout(e))}},[r,n,t]);let s=(0,o.useCallback)(O(t),[t]),c=(0,o.useCallback)(()=>{s({type:5,time:Date.now()})},[s]),l=(0,o.useCallback)((e,t)=>{s({type:1,toast:{id:e,height:t}})},[s]),u=(0,o.useCallback)(()=>{n&&s({type:6,time:Date.now()})},[n,s]),d=(0,o.useCallback)((e,t)=>{let{reverseOrder:n=!1,gutter:i=8,defaultPosition:a}=t||{},o=r.filter(t=>(t.position||a)===(e.position||a)&&t.height),s=o.findIndex(t=>t.id===e.id),c=o.filter((e,t)=>t<s&&e.visible).length;return o.filter(e=>e.visible).slice(...n?[c+1]:[0,c]).reduce((e,t)=>e+(t.height||0)+i,0)},[r]);return(0,o.useEffect)(()=>{r.forEach(e=>{if(e.dismissed)a(e.id,e.removeDelay);else{let t=i.get(e.id);t&&(clearTimeout(t),i.delete(e.id))}})},[r,a]),{toasts:r,handlers:{updateHeight:l,startPause:c,endPause:u,calculateOffset:d}}})(r,a);return o.createElement("div",{"data-rht-toaster":a||"",style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...s},className:c,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(r=>{let a,s,c=r.position||t,l=u.calculateOffset(r,{reverseOrder:e,gutter:n,defaultPosition:t}),d=(a=c.includes("top"),s=c.includes("center")?{justifyContent:"center"}:c.includes("right")?{justifyContent:"flex-end"}:{},{left:0,right:0,display:"flex",position:"absolute",transition:x()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${l*(a?1:-1)}px)`,...a?{top:0}:{bottom:0},...s});return o.createElement(X,{id:r.id,key:r.id,onHeightUpdate:u.updateHeight,className:r.visible?_:"",style:d},"custom"===r.type?v(r.message,r):i?i(r):o.createElement(Y,{toast:r,position:c}))}))},et=T},39606:(e,t,r)=>{"use strict";function n(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}r.d(t,{x:()=>n})},40098:(e,t,r)=>{"use strict";function n(e,{args:t,eventName:r}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...r?{args:t,eventName:r}:{}}}r.d(t,{e:()=>n})},40462:(e,t,r)=>{"use strict";r.d(t,{e:()=>h});var n=r(2572),i=r(47656),a=r(87403),o=r(79830),s=r(96685),c=r(65261),l=r(84428),u=r(7528),d=r(70509),f=r(94747);function h(e={}){let t,p,b,m,y,g,w,v;return(0,n.U)(n=>({id:"metaMaskSDK",name:"MetaMask",rdns:["io.metamask","io.metamask.mobile"],type:h.type,async setup(){let e=await this.getProvider();e?.on&&(g||(g=this.onConnect.bind(this),e.on("connect",g)),m||(m=this.onAccountsChanged.bind(this),e.on("accountsChanged",m)))},async connect({chainId:r,isReconnecting:n,withCapabilities:i}={}){let a=await this.getProvider();w||(w=this.onDisplayUri,a.on("display_uri",w));let o=[];n&&(o=await this.getAccounts().catch(()=>[]));try{let n,l;o?.length||(e.connectAndSign||e.connectWith?(e.connectAndSign?n=await t.connectAndSign({msg:e.connectAndSign}):e.connectWith&&(l=await t.connectWith({method:e.connectWith.method,params:e.connectWith.params})),o=await this.getAccounts()):o=(await t.connect()).map(e=>(0,s.b)(e)));let u=await this.getChainId();if(r&&u!==r){let e=await this.switchChain({chainId:r}).catch(e=>{if(e.code===c.vx.code)throw e;return{id:u}});u=e?.id??u}return w&&(a.removeListener("display_uri",w),w=void 0),n?a.emit("connectAndSign",{accounts:o,chainId:u,signResponse:n}):l&&a.emit("connectWith",{accounts:o,chainId:u,connectWithResponse:l}),g&&(a.removeListener("connect",g),g=void 0),m||(m=this.onAccountsChanged.bind(this),a.on("accountsChanged",m)),y||(y=this.onChainChanged.bind(this),a.on("chainChanged",y)),v||(v=this.onDisconnect.bind(this),a.on("disconnect",v)),{accounts:i?o.map(e=>({address:e,capabilities:{}})):o,chainId:u}}catch(e){if(e.code===c.vx.code)throw new c.vx(e);if(e.code===c.qZ.code)throw new c.qZ(e);throw e}},async disconnect(){let e=await this.getProvider();
1753y&&(e.removeListener("chainChanged",y),y=void 0),v&&(e.removeListener("disconnect",v),v=void 0),g||(g=this.onConnect.bind(this),e.on("connect",g)),await t.terminate()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,s.b)(e))},async getChainId(){let e=await this.getProvider();return Number(e.getChainId()||await e?.request({method:"eth_chainId"}))},async getProvider(){async function o(){let o=await (async()=>{let{default:e}=await Promise.all([r.e(1577),r.e(5860)]).then(r.bind(r,5951));return"function"!=typeof e&&"function"==typeof e.default?e.default:e})(),s={};for(let e of n.chains)s[(0,l.cK)(e.id)]=(0,i.R)({chain:e,transports:n.transports})?.[0];t=new o({_source:"wagmi",forceDeleteProvider:!1,forceInjectProvider:!1,injectProvider:!1,...e,readonlyRPCMap:s,dappMetadata:{...e.dappMetadata,name:e.dappMetadata?.name?e.dappMetadata?.name:"wagmi",url:e.dappMetadata?.url?e.dappMetadata?.url:"undefined"!=typeof window?window.location.origin:"https://wagmi.sh"},useDeeplink:e.useDeeplink??!0});let c=await t.init(),u=c?.activeProvider?c.activeProvider:t.getProvider();if(!u)throw new a.N;return u}return p||(b||(b=o()),p=await b),p},async isAuthorized(){try{return!!(await (0,u.b)(()=>(0,d.w)(()=>this.getAccounts(),{timeout:200}),{delay:201,retryCount:3})).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let r=await this.getProvider(),i=n.chains.find(e=>e.id===t);if(!i)throw new c.ch(new o.nk);try{return await r.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,l.cK)(t)}]}),await a(),await s(t),i}catch(n){if(n.code===c.vx.code)throw new c.vx(n);if(4902===n.code||n?.data?.originalError?.code===4902)try{return await r.request({method:"wallet_addEthereumChain",params:[{blockExplorerUrls:(()=>{let{default:t,...r}=i.blockExplorers??{};return e?.blockExplorerUrls?e.blockExplorerUrls:t?[t.url,...Object.values(r).map(e=>e.url)]:void 0})(),chainId:(0,l.cK)(t),chainName:e?.chainName??i.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??i.nativeCurrency,rpcUrls:e?.rpcUrls?.length?e.rpcUrls:[i.rpcUrls.default?.http[0]??""]}]}),await a(),await s(t),i}catch(e){if(e.code===c.vx.code)throw new c.vx(e);throw new c.ch(e)}throw new c.ch(n)}async function a(){await (0,u.b)(async()=>{let e=(0,f.ME)(await r.request({method:"eth_chainId"}));if(e!==t)throw Error("User rejected switch after adding network.");return e},{delay:50,retryCount:20})}async function s(e){await new Promise(t=>{let r=i=>{"chainId"in i&&i.chainId===e&&(n.emitter.off("change",r),t())};n.emitter.on("change",r),n.emitter.emit("change",{chainId:e})})}},async onAccountsChanged(e){if(0===e.length)if(!t.isExtensionActive())return;else this.onDisconnect();else if(n.emitter.listenerCount("connect")){let e=(await this.getChainId()).toString();this.onConnect({chainId:e})}else n.emitter.emit("change",{accounts:e.map(e=>(0,s.b)(e))})},onChainChanged(e){let t=Number(e);n.emitter.emit("change",{chainId:t})},async onConnect(e){let t=await this.getAccounts();if(0===t.length)return;let r=Number(e.chainId);n.emitter.emit("connect",{accounts:t,chainId:r});let i=await this.getProvider();g&&(i.removeListener("connect",g),g=void 0),m||(m=this.onAccountsChanged.bind(this),i.on("accountsChanged",m)),y||(y=this.onChainChanged.bind(this),i.on("chainChanged",y)),v||(v=this.onDisconnect.bind(this),i.on("disconnect",v))},async onDisconnect(e){let t=await this.getProvider();e&&1013===e.code&&t&&(await this.getAccounts()).length||(n.emitter.emit("disconnect"),y&&(t.removeListener("chainChanged",y),y=void 0),v&&(t.removeListener("disconnect",v),v=void 0),g||(g=this.onConnect.bind(this),t.on("connect",g)))},onDisplayUri(e){n.emitter.emit("message",{type:"display_uri",data:e})}}))}h.type="metaMask"},41568:(e,t,r)=>{"use strict";r.d(t,{B4:()=>i,SK:()=>a,hX:()=>o});var n=r(66568);class i extends n.C{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class a extends n.C{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class o extends n.C{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},42073:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});
1753var n=r(9471),i=r(84428),a=r(89529);async function o(e,{blockHash:t,blockNumber:r,blockTag:s=e.experimental_blockTag??"latest",includeTransactions:c}={}){let l=c??!1,u=void 0!==r?(0,i.cK)(r):void 0,d=null;if(!(d=t?await e.request({method:"eth_getBlockByHash",params:[t,l]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||s,l]},{dedupe:!!u})))throw new n.l({blockHash:t,blockNumber:r});return(e.chain?.formatters?.block?.format||a.$)(d,"getBlock")}},42330:(e,t,r)=>{"use strict";r.d(t,{iY:()=>c});var n=r(80044),i=r(89762),a=r(80339),o=r(8685),s=r(56213);function c(e){let t,{abi:r,args:c=[],name:l}=e,u=(0,i.q)(l,{strict:!1}),d=r.filter(e=>u?"function"===e.type?(0,s.V)(e)===l:"event"===e.type&&(0,o.h)(e)===l:"name"in e&&e.name===l);if(0!==d.length){if(1===d.length)return d[0];for(let e of d){if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,r)=>{let n="inputs"in e&&e.inputs[r];return!!n&&function e(t,r){let n=typeof t,i=r.type;switch(i){case"address":return(0,a.P)(t,{strict:!1});case"bool":return"boolean"===n;case"function":case"string":return"string"===n;default:if("tuple"===i&&"components"in r)return Object.values(r.components).every((r,n)=>e(Object.values(t)[n],r));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i))return"number"===n||"bigint"===n;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===n||t instanceof Uint8Array;
1753if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...r,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,n)})){if(t&&"inputs"in t&&t.inputs){let r=function e(t,r,n){for(let i in t){let o=t[i],s=r[i];if("tuple"===o.type&&"tuple"===s.type&&"components"in o&&"components"in s)return e(o.components,s.components,n[i]);let c=[o.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,a.P)(n[i],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(r)throw new n.nM({abiItem:e,type:r[0]},{abiItem:t,type:r[1]})}t=e}}}return t||d[0]}}},42417:(e,t,r)=>{"use strict";r.d(t,{C:()=>p});var n=r(18587),i=r(32547),a=r(80044),o=r(66568),s=r(78568),c=r(73320),l=r(4181),u=r(75411),d=r(4016),f=r(49586),h=r(27854);async function p(e,t){let{account:r,authorizationList:p,allowFailure:b=!0,blockNumber:m,blockOverrides:y,blockTag:g,stateOverride:w}=t,v=t.contracts,{batchSize:A=t.batchSize??1024,deployless:x=t.deployless??!1}="object"==typeof e.batch?.multicall?e.batch.multicall:{},C=(()=>{if(t.multicallAddress)return t.multicallAddress;if(x)return null;if(e.chain)return(0,u.M)({blockNumber:m,chain:e.chain,contract:"multicall3"});throw Error("client chain not configured. multicallAddress is required.")})(),E=[[]],I=0,B=0;for(let e=0;e<v.length;e++){let{abi:t,address:n,args:i,functionName:a}=v[e];try{let e=(0,l.p)({abi:t,args:i,functionName:a});B+=(e.length-2)/2,A>0&&B>A&&E[I].length>0&&(I++,B=(e.length-2)/2,E[I]=[]),E[I]=[...E[I],{allowFailure:!0,callData:e,target:n}]}catch(o){let e=(0,d.j)(o,{abi:t,address:n,args:i,docsPath:"/docs/contract/multicall",functionName:a,sender:r});if(!b)throw e;E[I]=[...E[I],{allowFailure:!0,callData:"0x",target:n}]}}let P=await Promise.allSettled(E.map(t=>(0,f.T)(e,h.J,"readContract")({...null===C?{code:i.Ez}:{address:C},abi:n.v2,account:r,args:[t],authorizationList:p,blockNumber:m,blockOverrides:y,blockTag:g,functionName:"aggregate3",stateOverride:w}))),k=[];for(let e=0;e<P.length;e++){let t=P[e];if("rejected"===t.status){if(!b)throw t.reason;for(let r=0;r<E[e].length;r++)k.push({status:"failure",error:t.reason,result:void 0});continue}let r=t.value;for(let t=0;t<r.length;t++){let{returnData:n,success:i}=r[t],{callData:o}=E[e][t],{abi:l,address:u,functionName:f,args:h}=v[k.length];try{if("0x"===o)throw new a.O;if(!i)throw new s.$S({data:n});let e=(0,c.e)({abi:l,args:h,data:n,functionName:f});k.push(b?{result:e,status:"success"}:e)}catch(t){let e=(0,d.j)(t,{abi:l,address:u,args:h,docsPath:"/docs/contract/multicall",functionName:f});if(!b)throw e;k.push({error:e,result:void 0,status:"failure"})}}}if(k.length!==v.length)throw new o.C("multicall results mismatch");return k}},42482:(e,t,r)=>{"use strict";r.d(t,{U:()=>c});var n=r(12115),i=r(90805),a=r(4038);class o extends a.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 s 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(e={}){let t=e.config??(0,n.useContext)(i.R);if(!t)throw new s;return t}},43609:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46269);function i(e,{emitOnBegin:t,initialWaitTime:r,interval:i}){let a=!0,o=()=>a=!1;return(async()=>{let s;t&&(s=await e({unpoll:o}));let c=await r?.(s)??i;await (0,n.u)(c);let l=async()=>{a&&(await e({unpoll:o}),await (0,n.u)(i),l())};l()})(),o}},43748:(e,t,r)=>{"use strict";r.d(t,{b4:()=>a,gU:()=>s,uP:()=>o});var n=r(94747),i=r(70910);let a={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function o(e,t){let r={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,n.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,n.ME)(e.n
vendor: 5,854 bytes, line 1753
1753once):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?a[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&&(r.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)}))),r.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof r.v){if(0n===r.v||27n===r.v)return 0;if(1n===r.v||28n===r.v)return 1;if(r.v>=35n)return+(r.v%2n===0n)}})(),"legacy"===r.type&&(delete r.accessList,delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas,delete r.yParity),"eip2930"===r.type&&(delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas),"eip1559"===r.type&&delete r.maxFeePerBlobGas,r}let s=(0,i.q)("transaction",o)},44497:(e,t,r)=>{"use strict";r.d(t,{h:()=>p,k:()=>m});var n=r(80044),i=r(71386),a=r(66568),o=r(66347),s=r(80339),c=r(76429),l=r(89950),u=r(45696),d=r(81693),f=r(84428),h=r(99015);function p(e,t){if(e.length!==t.length)throw new n.YE({expectedLength:e.length,givenLength:t.length});let r=b(function({params:e,values:t}){let r=[];for(let p=0;p<e.length;p++)r.push(function e({param:t,value:r}){let p=m(t.type);if(p){let[i,a]=p;return function(t,{length:r,param:i}){let a=null===r;if(!Array.isArray(t))throw new n.dm(t);if(!a&&t.length!==r)throw new n.Nc({expectedLength:r,givenLength:t.length,type:`${i.type}[${r}]`});let o=!1,s=[];for(let r=0;r<t.length;r++){let n=e({param:i,value:t[r]});n.dynamic&&(o=!0),s.push(n)}if(a||o){let e=b(s);if(a){let t=(0,f.cK)(s.length,{size:32});return{dynamic:!0,encoded:s.length>0?(0,c.xW)([t,e]):t}}if(o)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,c.xW)(s.map(({encoded:e})=>e))}}(r,{length:i,param:{...t,type:a}})}if("tuple"===t.type)return function(t,{param:r}){let n=!1,i=[];for(let a=0;a<r.components.length;a++){let o=r.components[a],s=Array.isArray(t)?a:o.name,c=e({param:o,value:t[s]});i.push(c),c.dynamic&&(n=!0)}return{dynamic:n,encoded:n?b(i):(0,c.xW)(i.map(({encoded:e})=>e))}}(r,{param:t});if("address"===t.type){var y=r;if(!(0,s.P)(y))throw new i.M({address:y});return{dynamic:!1,encoded:(0,l.db)(y.toLowerCase())}}if("bool"===t.type){var g=r;if("boolean"!=typeof g)throw new a.C(`Invalid boolean value: "${g}" (type: ${typeof g}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,l.db)((0,f.$P)(g))}}if(t.type.startsWith("uint")||t.type.startsWith("int")){let e=t.type.startsWith("int"),[,,n="256"]=h.Ge.exec(t.type)??[];return function(e,{signed:t,size:r=256}){if("number"==typeof r){let n=2n**(BigInt(r)-(t?1n:0n))-1n,i=t?-n-1n:0n;if(e>n||e<i)throw new o.Ty({max:n.toString(),min:i.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:(0,f.cK)(e,{size:32,signed:t})}}(r,{signed:e,size:Number(n)})}if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,r]=t.type.split("bytes"),i=(0,u.E)(e);if(!r){let t=e;return i%32!=0&&(t=(0,l.db)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,c.xW)([(0,l.db)((0,f.cK)(i,{size:32})),t])}}if(i!==Number.parseInt(r,10))throw new n.gH({expectedSize:Number.parseInt(r,10),value:e});return{dynamic:!1,encoded:(0,l.db)(e,{dir:"right"})}}(r,{param:t});if("string"===t.type){var w=r;let e=(0,f.i3)(w),t=Math.ceil((0,u.E)(e)/32),n=[];for(let r=0;r<t;r++)n.push((0,l.db)((0,d.di)(e,32*r,(r+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,c.xW)([(0,l.db)((0,f.cK)((0,u.E)(e),{size:32})),...n])}}throw new n.nK(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[p],value:t[p]}));return r}({params:e,values:t}));return 0===r.length?"0x":r}function b(e){let t=0;for(let r=0;r<e.length;r++){let{dynamic:n,encoded:i}=e[r];n?t+=32:t+=(0,u.E)(i)}let r=[],n=[],i=0;for(let a=0;a<e.length;a++){let{dynamic:o,encoded:s}=e[a];o?(r.push((0,f.cK)(t+i,{size:32})),n.push(s),i+=(0,u.E)(s)):r.push(s)}return(0,c.xW)([...r,...n])}function m(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},44546:(e,t,r)=>{"use strict";r.d(t,{Fl:()=>a,NV:()=>o,ii:()=>i});var n=r(66568);class i extends n.C{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${r}).`,{name:"SliceOffsetOutOfBoundsError"})}}class a extends n.C{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class o extends n.C{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} is expected to be ${t} ${r} long, but is ${e} ${r} long.`,{name:"InvalidBytesLengthError"})}}},45312:(e,t,r)=>{"use strict";async function n(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}r.d(t,{L:()=>n})},45437:(e,t,r)=>{"use strict";function n(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}r.d(t,{Y:()=>n})},45696:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(89762);function i(e){return(0,n.q)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},45795:(e,t,r)=>{"use strict";r.d(t,{L:()=>d});var n=r(93247),i=r(66568);class a extends i.C{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}var o=r(37295),s=r(70509),c=r(91497);let l={current:0,take(){return this.current++},reset(){this.current=0}};var u=r(85177);function d(e,t={}){let{batch:r,fetchFn:i,fetchOptions:f,key:h="http",methods:p,name:b="HTTP JSON-RPC",onFetchRequest:m,onFetchResponse:y,retryDelay:g,raw:w}=t;return({chain:d,retryCount:v,timeout:A})=>
1753{let{batchSize:x=1e3,wait:C=0}="object"==typeof r?r:{},E=t.retryCount??v,I=A??t.timeout??1e4,B=e||d?.rpcUrls.default.http[0];if(!B)throw new a;let P=function(e,t={}){return{async request(r){let{body:i,fetchFn:a=t.fetchFn??fetch,onRequest:o=t.onRequest,onResponse:u=t.onResponse,timeout:d=t.timeout??1e4}=r,f={...t.fetchOptions??{},...r.fetchOptions??{}},{headers:h,method:p,signal:b}=f;try{let t,r=await (0,s.w)(async({signal:t})=>{let r={...f,body:Array.isArray(i)?(0,c.A)(i.map(e=>({jsonrpc:"2.0",id:e.id??l.take(),...e}))):(0,c.A)({jsonrpc:"2.0",id:i.id??l.take(),...i}),headers:{"Content-Type":"application/json",...h},method:p||"POST",signal:b||(d>0?t:null)},n=new Request(e,r),s=await o?.(n,r)??{...r,url:e};return await a(s.url??e,s)},{errorInstance:new n.MU({body:i,url:e}),timeout:d,signal:!0});if(u&&await u(r),r.headers.get("Content-Type")?.startsWith("application/json"))t=await r.json();else{t=await r.text();try{t=JSON.parse(t||"{}")}catch(e){if(r.ok)throw e;t={error:t}}}if(!r.ok)throw new n.Ci({body:i,details:(0,c.A)(t.error)||r.statusText,headers:r.headers,status:r.status,url:e});return t}catch(t){if(t instanceof n.Ci||t instanceof n.MU)throw t;throw new n.Ci({body:i,cause:t,url:e})}}}}(B,{fetchFn:i,fetchOptions:f,onRequest:m,onResponse:y,timeout:I});return(0,u.o)({key:h,methods:p,name:b,async request({method:e,params:t}){let i={method:e,params:t},{schedule:a}=(0,o.u)({id:B,wait:C,shouldSplitBatch:e=>e.length>x,fn:e=>P.request({body:e}),sort:(e,t)=>e.id-t.id}),s=async e=>r?a(e):[await P.request({body:e})],[{error:c,result:l}]=await s(i);if(w)return{error:c,result:l};if(c)throw new n.J8({body:i,error:c,url:B});return l},retryCount:E,retryDelay:g,timeout:I,type:"http"},{fetchOptions:f,url:B})}}},46062:(e,t,r)=>{"use strict";function n(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}r.d(t,{T:()=>n})},46269:(e,t,r)=>{"use strict";async function n(e){return new Promise(t=>setTimeout(t,e))}r.d(t,{u:()=>n})},47002:(e,t,r)=>{"use strict";r.d(t,{IT:()=>a});var n=r(4109),i=r(72242);function a(e){let t=(0,n.I)({...e,queryKeyHashFn:i.Zi});return t.queryKey=e.queryKey,t}},47656:(e,t,r)=>{"use strict";function n(e){let{chain:t}=e,r=t.rpcUrls.default.http[0];if(!e.transports)return[r];let n=e.transports?.[t.id]?.({chain:t});return(n?.value?.transports||[n]).map(({value:e})=>e?.url||r)}r.d(t,{R:()=>n})},48070:(e,t,r)=>{"use strict";r.d(t,{sc:()=>n});let n=r(53906).sc},48934:(e,t,r)=>{"use strict";r.d(t,{n:()=>u});var n=r(12115),i=r(53390),a=r(31967),o=r(98216),s=r(5858),c=class extends o.Q{#n;#c=void 0;#k;#S;constructor(e,t){super(),this.#n=e,this.setOptions(t),this.bindMethods(),this.#O()}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,s.f8)(this.options,t)||this.#n.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#k,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.EN)(t.mutationKey)!==(0,s.EN)(this.options.mutationKey)?this.reset():this.#k?.state.status==="pending"&&this.#k.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#k?.removeObserver(this)}onMutationUpdate(e){this.#O(),this.#B(e)}getCurrentResult(){return this.#c}reset(){this.#k?.removeObserver(this),this.#k=void 0,this.#O(),this.#B()}mutate(e,t){return this.#S=t,this.#k?.removeObserver(this),this.#k=this.#n.getMutationCache().build(this.#n,this.options),this.#k.addObserver(this),this.#k.execute(e)}#O(){let e=this.#k?.state??(0,i.$)();this.#c={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#B(e){a.jG.batch(()=>{if(this.#S&&this.hasListeners()){let t=this.#c.variables,r=this.#c.context,n={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#S.onSuccess?.(e.data,t,r,n),this.#S.onSettled?.(e.data,null,t,r,n)):e?.type==="error"&&(this.#S.onError?.(e.error,t,r,n),this.#S.onSettled?.(void 0,e.error,t,r,n))}
1753this.listeners.forEach(e=>{e(this.#c)})})}},l=r(35625);function u(e,t){let r=(0,l.jE)(t),[i]=n.useState(()=>new c(r,e));n.useEffect(()=>{i.setOptions(e)},[i,e]);let o=n.useSyncExternalStore(n.useCallback(e=>i.subscribe(a.jG.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),u=n.useCallback((e,t)=>{i.mutate(e,t).catch(s.lQ)},[i]);if(o.error&&(0,s.GU)(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:u,mutateAsync:o.mutate}}},49235:(e,t,r)=>{"use strict";function n(e,t){let r=e.toString(),n=r.startsWith("-");n&&(r=r.slice(1));let[i,a]=[(r=r.padStart(t,"0")).slice(0,r.length-t),r.slice(r.length-t)];return a=a.replace(/(0+)$/,""),`${n?"-":""}${i||"0"}${a?`.${a}`:""}`}r.d(t,{J:()=>n})},49303:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>n,Tt:()=>i,fX:()=>a});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function a(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},49586:(e,t,r)=>{"use strict";function n(e,t,r){let n=e[t.name];if("function"==typeof n)return n;let i=e[r];return"function"==typeof i?i:r=>t(e,r)}r.d(t,{T:()=>n})},49988:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var n=r(18587),i=r(75411),a=r(92310),o=r(60337),s=r(49586),c=r(27854);async function l(e,t){let{address:r,blockNumber:l,blockTag:u,coinType:d=60n,gatewayUrls:f,strict:h}=t,{chain:p}=e,b=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!p)throw Error("client chain not configured. universalResolverAddress is required.");return(0,i.M)({blockNumber:l,chain:p,contract:"ensUniversalResolver"})})();try{let t={address:b,abi:n.oX,args:[r,d,f??[o.J]],functionName:"reverseWithGateways",blockNumber:l,blockTag:u},i=(0,s.T)(e,c.J,"readContract"),[a]=await i(t);return a||null}catch(e){if(h)throw e;if((0,a.J)(e))return null;throw e}}},50277:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(88553);function i(e,t={}){let r=function(e,t={}){try{return e.getClient(t)}catch{return}}(e,t);return r?.extend(n.$)}var a=r(94577),o=r(42482);function s(e={}){let t=(0,o.U)(e);return(0,a.useSyncExternalStoreWithSelector)(e=>(function(e,t){let{onChange:r}=t;return e.subscribe(()=>i(e),r,{equalityFn:(e,t)=>e?.uid===t?.uid})})(t,{onChange:e}),()=>i(t,e),()=>i(t,e),e=>e,(e,t)=>e?.uid===t?.uid)}},50474:(e,t,r)=>{"use strict";r.d(t,{RR:()=>s,pw:()=>o,sM:()=>a});var n=r(22160),i=r(66568);class a extends i.C{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class o extends i.C{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class s extends i.C{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,n.Q)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}},50636:(e,t,r)=>{"use strict";r.d(t,{h:()=>a});var n=r(96002),i=r(73260);async function a(e,{hash:t}){let r=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!r)throw new n.Kc({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||i.uL)(r,"getTransactionReceipt")}},51011:(e,t,r)=>{"use strict";function n(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}r.d(t,{J:()=>n})},51392:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});var n=r(56184);function i(e){return{address:e.address,amount:n.oB(e.amount),index:n.oB(e.index),validatorIndex:n.oB(e.validatorIndex)}}function a(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:n.oB(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:n.oB(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient}
vendor: 4,581 bytes, line 1753
1753,..."bigint"==typeof e.gasLimit&&{gasLimit:n.oB(e.gasLimit)},..."bigint"==typeof e.number&&{number:n.oB(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:n.oB(e.prevRandao)},..."bigint"==typeof e.time&&{time:n.oB(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(i)}}}},51516:(e,t,r)=>{"use strict";r.d(t,{F:()=>s});var n=r(22106),i=r(84428),a=r(18860),o=r(1798);function s(e){let t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);let r=new Uint8Array((0,n.Af)(t).byteLength+2),s=0,c=t.split(".");for(let e=0;e<c.length;e++){var l;let t=(0,n.Af)(c[e]);t.byteLength>255&&(t=(0,n.Af)((l=function(e){let t=new Uint8Array(32).fill(0);return e?(0,o.q)(e)||(0,a.S)((0,n.Af)(e)):(0,i.My)(t)}(c[e]),`[${l.slice(2)}]`))),r[s]=t.length,r.set(t,s+1),s+=t.length+1}return r.byteLength!==s+1?r.slice(0,s+1):r}},51852:(e,t,r)=>{"use strict";r.d(t,{m:()=>p});var n=r(18587),i=r(73320),a=r(4181),o=r(75411),s=r(84428),c=r(92310),l=r(60337),u=r(28326),d=r(51516),f=r(49586),h=r(27854);async function p(e,t){let{blockNumber:r,blockTag:p,key:b,name:m,gatewayUrls:y,strict:g}=t,{chain:w}=e,v=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!w)throw Error("client chain not configured. universalResolverAddress is required.");return(0,o.M)({blockNumber:r,chain:w,contract:"ensUniversalResolver"})})(),A=w?.ensTlds;if(A&&!A.some(e=>m.endsWith(e)))return null;try{let t={address:v,abi:n.Ag,args:[(0,s.nj)((0,d.F)(m)),(0,a.p)({abi:n.SJ,functionName:"text",args:[(0,u.k)(m),b]}),y??[l.J]],functionName:"resolveWithGateways",blockNumber:r,blockTag:p},o=(0,f.T)(e,h.J,"readContract"),c=await o(t);if("0x"===c[0])return null;let g=(0,i.e)({abi:n.SJ,functionName:"text",data:c[0]});return""===g?null:g}catch(e){if(g)throw e;if((0,c.J)(e))return null;throw e}}},52276:(e,t,r)=>{"use strict";let n;r.d(t,{secp256k1:()=>eE});var i,a,o=r(53906),s=r(20510),c=r(3013);let l=BigInt(0),u=BigInt(1);function d(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function f(e){if(!d(e))throw Error("Uint8Array expected")}function h(e,t){if("boolean"!=typeof t)throw Error(e+" boolean expected, got "+t)}function p(e){let t=e.toString(16);return 1&t.length?"0"+t:t}function b(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return""===e?l:BigInt("0x"+e)}let m="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,y=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function g(e){if(f(e),m)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=y[e[r]];return t}function w(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function v(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(m)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=w(e.charCodeAt(i)),a=w(e.charCodeAt(i+1));if(void 0===r||void 0===a)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);n[t]=16*r+a}return n}function A(e){return b(g(e))}function x(e){return f(e),b(g(Uint8Array.from(e).reverse()))}function C(e,t){return v(e.toString(16).padStart(2*t,"0"))}function E(e,t){return C(e,t).reverse()}function I(e,t,r){let n;if("string"==typeof t)try{n=v(t)}catch(t){throw Error(e+" must be hex string or Uint8Array, cause: "+t)}else if(d(t))n=Uint8Array.from(t);else throw Error(e+" must be hex string or Uint8Array");let i=n.length;if("number"==typeof r&&i!==r)throw Error(e+" of length "+r+" expected, got "+i);return n}function B(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];f(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}let P=e=>"bigint"==typeof e&&l<=e;function k(e,t,r){return P(e)&&P(t)&&P(r)&&t<=e&&e<r}function S(e,t,r,n){if(!k(t,r,n))throw Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}let O=e=>(u<<BigInt(e))-u,M=e=>new Uint8Array(e),R={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||d(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function T(e,t,r={}){let n=(t,r,n)=>{let i=R[r];if("function"!=typeof i)throw Error("invalid validator function");let a=e[t];if((!n||void 0!==a)&&!i(a,e))throw Error("param "+String(t)+" is invali
1753d. Expected "+r+", got "+a)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e}function F(e){let t=new WeakMap;return(r,...n)=>{let i=t.get(r);if(void 0!==i)return i;let a=e(r,...n);return t.set(r,a),a}}let N=BigInt(0),j=BigInt(1),U=BigInt(2),D=BigInt(3),q=BigInt(4),Q=BigInt(5),L=BigInt(8);function W(e,t){let r=e%t;return r>=N?r:t+r}function $(e,t,r){let n=e;for(;t-- >N;)n*=n,n%=r;return n}function z(e,t){if(e===N)throw Error("invert: expected non-zero number");if(t<=N)throw Error("invert: expected positive modulus, got "+t);let r=W(e,t),n=t,i=N,a=j,o=j,s=N;for(;r!==N;){let e=n/r,t=n%r,c=i-o*e,l=a-s*e;n=r,r=t,i=o,a=s,o=c,s=l}if(n!==j)throw Error("invert: does not exist");return W(i,t)}function G(e,t){let r=(e.ORDER+j)/q,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw Error("Cannot find square root");return n}function H(e,t){let r=(e.ORDER-Q)/L,n=e.mul(t,U),i=e.pow(n,r),a=e.mul(t,i),o=e.mul(e.mul(a,U),i),s=e.mul(a,e.sub(o,e.ONE));if(!e.eql(e.sqr(s),t))throw Error("Cannot find square root");return s}let K=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function V(e,t,r=!1){let n=Array(t.length).fill(r?e.ZERO:void 0),i=t.reduce((t,r,i)=>e.is0(r)?t:(n[i]=t,e.mul(t,r)),e.ONE),a=e.inv(i);return t.reduceRight((t,r,i)=>e.is0(r)?t:(n[i]=e.mul(t,n[i]),e.mul(t,r)),a),n}function J(e,t){let r=(e.ORDER-j)/U,n=e.pow(t,r),i=e.eql(n,e.ONE),a=e.eql(n,e.ZERO),o=e.eql(n,e.neg(e.ONE));if(!i&&!a&&!o)throw Error("invalid Legendre symbol result");return i?1:a?0:-1}function Z(e,t){void 0!==t&&(0,c.Fe)(t);let r=void 0!==t?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function Y(e,t,r=!1,n={}){let i;if(e<=N)throw Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:a,nByteLength:o}=Z(e,t);if(o>2048)throw Error("invalid field: expected ORDER of <= 2048 bytes");let s=Object.freeze({ORDER:e,isLE:r,BITS:a,BYTES:o,MASK:O(a),ZERO:N,ONE:j,create:t=>W(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error("invalid field element: expected bigint, got "+typeof t);return N<=t&&t<e},is0:e=>e===N,isOdd:e=>(e&j)===j,neg:t=>W(-t,e),eql:(e,t)=>e===t,sqr:t=>W(t*t,e),add:(t,r)=>W(t+r,e),sub:(t,r)=>W(t-r,e),mul:(t,r)=>W(t*r,e),pow:(e,t)=>(function(e,t,r){if(r<N)throw Error("invalid exponent, negatives unsupported");if(r===N)return e.ONE;if(r===j)return t;let n=e.ONE,i=t;for(;r>N;)r&j&&(n=e.mul(n,i)),i=e.sqr(i),r>>=j;return n})(s,e,t),div:(t,r)=>W(t*z(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>z(t,e),sqrt:n.sqrt||(t=>(i||(i=e%q===D?G:e%L===Q?H:function(e){if(e<BigInt(3))throw Error("sqrt is not defined for small field");let t=e-j,r=0;for(;t%U===N;)t/=U,r++;let n=U,i=Y(e);for(;1===J(i,n);)if(n++>1e3)throw Error("Cannot find square root: probably non-prime P");if(1===r)return G;let a=i.pow(n,t),o=(t+j)/U;return function(e,n){if(e.is0(n))return n;if(1!==J(e,n))throw Error("Cannot find square root");let i=r,s=e.mul(e.ONE,a),c=e.pow(n,t),l=e.pow(n,o);for(;!e.eql(c,e.ONE);){if(e.is0(c))return e.ZERO;let t=1,r=e.sqr(c);for(;!e.eql(r,e.ONE);)if(t++,r=e.sqr(r),t===i)throw Error("Cannot find square root");let n=j<<BigInt(i-t-1),a=e.pow(s,n);i=t,s=e.sqr(a),c=e.mul(c,s),l=e.mul(l,a)}return l}}(e)),i(s,t))),toBytes:e=>r?E(e,o):C(e,o),fromBytes:e=>{if(e.length!==o)throw Error("Field.fromBytes: expected "+o+" bytes, got "+e.length);return r?x(e):A(e)},invertBatch:e=>V(s,e),cmov:(e,t,r)=>r?t:e});return Object.freeze(s)}function X(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function _(e){let t=X(e);return t+Math.ceil(t/2)}let ee=BigInt(0),et=BigInt(1);function er(e,t){let r=t.negate();return e?r:t}function en(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw Error("invalid window size, expected [1.."+t+"], got W="+e)}function ei(e,t){en(e,t);let r=Math.ceil(t/e)+1,n=2**(e-1),i=2**e;return{windows:r,windowSize:n,mask:O(e),maxNumber:i,shiftBy:BigInt(e)}}function ea(e,t,r){let{windowSize:n,mask:i,maxNumber:a,shiftBy:o}=r,s=Number(e&i),c=e>>o;s>n&&(s-=a,c+=et);let l=t*n,u=l+Math.abs(s)-1,d=0===s;return{nextN:c,offset:u,isZero:d,isNeg:s<0,isNegF:t%2!=0,offsetF:l}}let eo=new WeakMap,es=new WeakMap;function ec(e){return es.get(e)||1}function el(e){return T(e.Fp,K.reduce((e,t)=>
vendor: 16,439 bytes, line 1753
1753(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),T(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Z(e.n,e.nBitLength),...e,...{p:e.Fp.ORDER}})}function eu(e){void 0!==e.lowS&&h("lowS",e.lowS),void 0!==e.prehash&&h("prehash",e.prehash)}class ed extends Error{constructor(e=""){super(e)}}let ef={Err:ed,_tlv:{encode:(e,t)=>{let{Err:r}=ef;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(1&t.length)throw new r("tlv.encode: unpadded data");let n=t.length/2,i=p(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");let a=n>127?p(i.length/2|128):"";return p(e)+a+i+t},decode(e,t){let{Err:r}=ef,n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");let i=t[n++],a=0;if(128&i){let e=127&i;if(!e)throw new r("tlv.decode(long): indefinite length not supported");if(e>4)throw new r("tlv.decode(long): byte length is too big");let o=t.subarray(n,n+e);if(o.length!==e)throw new r("tlv.decode: length bytes not complete");if(0===o[0])throw new r("tlv.decode(long): zero leftmost byte");for(let e of o)a=a<<8|e;if(n+=e,a<128)throw new r("tlv.decode(long): not minimal encoding")}else a=i;let o=t.subarray(n,n+a);if(o.length!==a)throw new r("tlv.decode: wrong value length");return{v:o,l:t.subarray(n+a)}}},_int:{encode(e){let{Err:t}=ef;if(e<eh)throw new t("integer: negative integers are not allowed");let r=p(e);if(8&Number.parseInt(r[0],16)&&(r="00"+r),1&r.length)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){let{Err:t}=ef;if(128&e[0])throw new t("invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("invalid signature integer: unnecessary leading zero");return A(e)}},toSig(e){let{Err:t,_int:r,_tlv:n}=ef,i=I("signature",e),{v:a,l:o}=n.decode(48,i);if(o.length)throw new t("invalid signature: left bytes after parsing");let{v:s,l:c}=n.decode(2,a),{v:l,l:u}=n.decode(2,c);if(u.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(s),s:r.decode(l)}},hexFromSig(e){let{_tlv:t,_int:r}=ef,n=t.encode(2,r.encode(e.r)),i=t.encode(2,r.encode(e.s));return t.encode(48,n+i)}},eh=BigInt(0),ep=BigInt(1),eb=(BigInt(2),BigInt(3)),em=BigInt(4),ey=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),eg=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ew=BigInt(0),ev=BigInt(1),eA=BigInt(2),ex=(e,t)=>(e+t/eA)/t,eC=Y(ey,void 0,void 0,{sqrt:function(e){let t=BigInt(3),r=BigInt(6),n=BigInt(11),i=BigInt(22),a=BigInt(23),o=BigInt(44),s=BigInt(88),c=e*e*e%ey,l=c*c*e%ey,u=$(l,t,ey)*l%ey,d=$(u,t,ey)*l%ey,f=$(d,eA,ey)*c%ey,h=$(f,n,ey)*f%ey,p=$(h,i,ey)*h%ey,b=$(p,o,ey)*p%ey,m=$(b,s,ey)*b%ey,y=$(m,o,ey)*p%ey,g=$(y,t,ey)*l%ey,w=$(g,a,ey)*h%ey,v=$(w,r,ey)*c%ey,A=$(v,eA,ey);if(!eC.eql(eC.sqr(A),e))throw Error("Cannot find square root");return A}}),eE=(i={a:ew,b:BigInt(7),Fp:eC,n:eg,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-ev*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=BigInt("0x100000000000000000000000000000000"),a=ex(t*e,eg),o=ex(-r*e,eg),s=W(e-a*t-o*n,eg),c=W(-a*r-o*t,eg),l=s>i,u=c>i;if(l&&(s=eg-s),u&&(c=eg-c),s>i||c>i)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:l,k1:s,k2neg:u,k2:c}}}},a=o.sc,{...(n=e=>(function(e){let t,r=(T(t=el(e),{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})),{Fp:n,n:i,nByteLength:a,nBitLength:o}=r,s=n.BYTES+1,c=2*n.BYTES+1;function f(e){return W(e,i)}let{ProjectivePoint:p,normPrivateKeyToScalar:b,weierstrassEquation:m,isWithinCurveOrder:y}=function(e){var t;let r=function(e){let t=el(e);T(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});let{endo:r,Fp:n,a:i}=t;if(r){if(!n.eql(i,n.ZERO))throw Error("invalid endo: CURVE.a must be 0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...t})}(e),{Fp:n}=r,i=Y(r.n,r.nBitLength),a=r.toBytes||((e,t,r)=>{let i=t.toAffine();return B(Uint8Array.from([4]),n.toBytes(i.x),n.toBytes(i.y))}),o=r.fromBytes||(e=>{let t=e.subarray(1);return{x:n.fromBytes(t.subarray(0,n.BYTES)),y:n.fromBytes(t.subarray(n.BYTES,2*n.BYTES))}});function s(e){let{a:t,b:i}=r,a=n.sqr(e),o=n.mul(a,e);return n.add(n.add(o,n.mul(e,t)),i)}function c(e,t){let r=n.sqr(t),i=s(e);return n.eql(r,i)}if(!c(r.Gx,r.Gy))throw Error("bad curve params: generator point");let f=n.mul(n.pow(r.a,eb),em),p=n.mul(n.sqr(r.b),BigInt(27));if(n.is0(n.add(f,p)))throw Error("bad curve params: a or b");function b(e){let t,{allowedPrivateKeyLengths:n,nByteLength:i,wrapPrivateKey:a,n:o}=r;if(n&&"bigint"!=typeof e){if(d(e)&&(e=g(e)),"string"!=typeof e||!n.includes(e.length))throw Error("invalid private key");e=e.padStart(2*i,"0")}try{t="bigint"==typeof e?e:A(I("private key",e,i))}catch(t){throw Error("invalid private key, expected hex or "+i+" bytes, got "+typeof e)}return a&&(t=W(t,o)),S("private key",t,ep,o),t}function m(e){if(!(e instanceof v))throw Error("ProjectivePoint expected")}let y=F((e,t)=>{let{px:r,py:i,pz:a}=e;if(n.eql(a,n.ONE))return{x:r,y:i};let o=e.is0();null==t&&(t=o?n.ONE:n.inv(a));let s=n.mul(r,t),c=n.mul(i,t),l=n.mul(a,t);if(o)return{x:n.ZERO,y:n.ZERO};if(!n.eql(l,n.ONE))throw Error("invZ was invalid");return{x:s,y:c}}),w=F(e=>{if(e.is0()){if(r.allowInfinityPoint&&!n.is0(e.py))return;throw Error("bad point: ZERO")}let{x:t,y:i}=e.toAffine();if(!n.isValid(t)||!n.isValid(i))throw Error("bad point: x or y not FE");if(!c(t,i))throw Error("bad point: equation left != right");if(!e.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class v{constructor(e,t,r){if(null==e||!n.isValid(e))throw Error("x required");if(null==t||!n.isValid(t)||n.is0(t))throw Error("y required");if(null==r||!n.isValid(r))throw Error("z required");this.px=e,this.py=t,this.pz=r,Object.freeze(this)}static fromAffine(e){let{x:t,y:r}=e||{};if(!e||!n.isValid(t)||!n.isValid(r))throw Error("invalid affine point");if(e instanceof v)throw Error("projective point not allowed");let i=e=>n.eql(e,n.ZERO);return i(t)&&i(r)?v.ZERO:new v(t,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=V(n,e.map(e=>e.pz));return e.map((e,r)=>e.toAffine(t[r])).map(v.fromAffine)}static fromHex(e){let t=v.fromAffine(o(I("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return v.BASE.multiply(b(e))}static msm(e,t){return function(e,t,r,n){if(!Array.isArray(r))throw Error("array expected");r.forEach((t,r)=>{if(!(t instanceof e))throw Error("invalid point at index "+r)});if(!Array.isArray(n))throw Error("array of scalars expected");n.forEach((e,r)=>{if(!t.isValid(e))throw Error("invalid scalar at index "+r)});let i=r.length,a=n.length;if(i!==a)throw Error("arrays of points and scalars must have equal length");let o=e.ZERO,s=function(e){let t;for(t=0;e>l;e>>=u,t+=1);return t}(BigInt(i)),c=1;s>12?c=s-3:s>4?c=s-2:s>0&&(c=2);let d=O(c),f=Array(Number(d)+1).fill(o),h=Math.floor((t.BITS-1)/c)*c,p=o;for(let e=h;e>=0;e-=c){f.fill(o);for(let t=0;t<a;t++){let i=Number(n[t]>>BigInt(e)&d);f[i]=f[i].add(r[t])}let t=o;for(let e=f.length-1,r=o;e>0;e--)r=r.add(f[e]),t=t.add(r);if(p=p.add(t),0!==e)for(let e=0;e<c;e++)p=p.double()}return p}(v,i,e,t)}_setWindowSize(e){E.setWindowSize(this,e)}assertValidity(){w(this)}hasEvenY(){let{y:e}=this.toAffine();if(n.isOdd)return!n.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){m(e);let{px:t,py:r,pz:i}=this,{px:a,py:o,pz:s}=e,c=n.eql(n.mul(t,s),n.mul(a,i)),l=n.eql(n.mul(r,s),n.mul(o,i));return c&&l}negate(){return new v(this.px,n.neg(this.py),this.pz)}double(){let{a:e,b:t}=r,i=n.mul(t,eb),{px:a,py:o,pz:s}=this,c=n.ZERO,l=n.ZERO,u=n.ZERO,d=n.mul(a,a),f=n.mul(o,o),h=n.mul(s,s),p=n.mul(a,o);return p=n.add(p,p),u=n.mul(a,s),u=n.add(u,u),c=n.mul(e,u),l=n.mul(i,h),l=n.add(c,l),c=n.sub(f,l),l=n.add(f,l),l=n.mul(c,l),c=n.mul(p,c),u=n.mul(i,u),h=n.mul(e,h),p=n.sub(d,h),p=n.mul(e,p),p=n.add(p,u),u=n.add(d,d),d=n.add(u,d),d=n.add(d,h),d=n.mul(d,p),l=n.add(l,d),h=n.mul(o,s),h=n.add(h,h),d=n.mul(h,p),c=n.sub(c,d),u=n.mul(h,f),u=n.add(u,u),new v(c,l,u=n.add(u,u))}add(e){m(e);let{px:t,py:i,pz:a}=this,{px:o,py:s,pz:c}=e,l=n.ZERO,u=n.ZERO,d=n.ZERO,f=r.a,h=n.mul(r.b,eb),p=n.mul(t,o),b=n.mul(i,s),y=n.mul(a,c),g=n.add(t,i),w=n.add(o,s);g=n.mul(g,w),w=n.add(p,b),g=n.sub(g,w),w=n.add(t,a);let A=n.add(o,c);return w=n.mul(w,A),A=n.add(p,y),w=n.sub(w,A),A=n.add(i,a),l=n.add(s,c),A=n.mul(A,l),l=n.add(b,y),A=n.sub(A,l),d=n.mul(f,w),l=n.mul(h,y),d=n.add(l,d),l=n.sub(b,d),d=n.add(b,d),u=n.mul(l,d),b=n.add(p,p),b=n.add(b,p),y=n.mul(f,y),w=n.mul(h,w),b=n.add(b,y),y=n.sub(p,y),y=n.mul(f,y),w=n.add(w,y),p=n.mul(b,w),u=n.add(u,p),p=n.mul(A,w),l=n.mul(g,l),l=n.sub(l,p),p=n.mul(g,b),d=n.mul(A,d),new v(l,u,d=n.add(d,p))}subtract(e){return this.add(e.negate())}is0(){return this.equals(v.ZERO)}wNAF(e){return E.wNAFCached(this,e,v.normalizeZ)}multiplyUnsafe(e){let{endo:t,n:i}=r;S("scalar",e,eh,i);let a=v.ZERO;if(e===eh)return a;if(this.is0()||e===ep)return this;if(!t||E.hasPrecomputes(this))return E.wNAFCachedUnsafe(this,e,v.normalizeZ);let{k1neg:o,k1:s,k2neg:c,k2:l}=t.splitScalar(e),u=a,d=a,f=this;for(;s>eh||l>eh;)s&ep&&(u=u.add(f)),l&ep&&(d=d.add(f)),f=f.double(),s>>=ep,l>>=ep;return o&&(u=u.negate()),c&&(d=d.negate()),d=new v(n.mul(d.px,t.beta),d.py,d.pz),u.add(d)}multiply(e){let t,i,{endo:a,n:o}=r;if(S("scalar",e,ep,o),a){let{k1neg:r,k1:o,k2neg:s,k2:c}=a.splitScalar(e),{p:l,f:u}=this.wNAF(o),{p:d,f:f}=this.wNAF(c);l=E.constTimeNegate(r,l),d=E.constTimeNegate(s,d),d=new v(n.mul(d.px,a.beta),d.py,d.pz),t=l.add(d),i=u.add(f)}else{let{p:r,f:n}=this.wNAF(e);t=r,i=n}return v.normalizeZ([t,i])[0]}multiplyAndAddUnsafe(e,t,r){let n=v.BASE,i=(e,t)=>t!==eh&&t!==ep&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),a=i(this,t).add(i(e,r));return a.is0()?void 0:a}toAffine(e){return y(this,e)}isTorsionFree(){let{h:e,isTorsionFree:t}=r;if(e===ep)return!0;if(t)return t(v,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:t}=r;return e===ep?this:t?t(v,this):this.multiplyUnsafe(r.h)}toRawBytes(e=!0){return h("isCompressed",e),this.assertValidity(),a(v,this,e)}toHex(e=!0){return h("isCompressed",e),g(this.toRawBytes(e))}}v.BASE=new v(r.Gx,r.Gy,n.ONE),v.ZERO=new v(n.ZERO,n.ONE,n.ZERO);let{endo:x,nBitLength:C}=r,E=(t=x?Math.ceil(C/2):C,{constTimeNegate:er,hasPrecomputes:e=>1!==ec(e),unsafeLadder(e,t,r=v.ZERO){let n=e;for(;t>ee;)t&et&&(r=r.add(n)),n=n.double(),t>>=et;return r},precomputeWindow(e,r){let{windows:n,windowSize:i}=ei(r,t),a=[],o=e,s=o;for(let e=0;e<n;e++){s=o,a.push(s);for(let e=1;e<i;e++)s=s.add(o),a.push(s);o=s.double()}return a},wNAF(e,r,n){let i=v.ZERO,a=v.BASE,o=ei(e,t);for(let e=0;e<o.windows;e++){let{nextN:t,offset:s,isZero:c,isNeg:l,isNegF:u,offsetF:d}=ea(n,e,o);n=t,c?a=a.add(er(u,r[d])):i=i.add(er(l,r[s]))}return{p:i,f:a}},wNAFUnsafe(e,r,n,i=v.ZERO){let a=ei(e,t);for(let e=0;e<a.windows&&n!==ee;e++){let{nextN:t,offset:o,isZero:s,isNeg:c}=ea(n,e,a);if(n=t,!s){let e=r[o];i=i.add(c?e.negate():e)}}return i},getPrecomputes(e,t,r){let n=eo.get(t);return n||(n=this.precomputeWindow(t,e),1!==e&&eo.set(t,r(n))),n},wNAFCached(e,t,r){let n=ec(e);return this.wNAF(n,this.getPrecomputes(n,e,r),t)},wNAFCachedUnsafe(e,t,r,n){let i=ec(e);return 1===i?this.unsafeLadder(e,t,n):this.wNAFUnsafe(i,this.getPrecomputes(i,e,r),t,n)},setWindowSize(e,r){en(r,t),es.set(e,r),eo.delete(e)}});return{CURVE:r,ProjectivePoint:v,normPrivateKeyToScalar:b,weierstrassEquation:s,isWithinCurveOrder:function(e){return k(e,ep,r.n)}}}({...r,toBytes(e,t,r){let i=t.toAffine(),a=n.toBytes(i.x);return(h("isCompressed",r),r)?B(Uint8Array.from([t.hasEvenY()?2:3]),a):B(Uint8Array.from([4]),a,n.toBytes(i.y))},fromBytes(e){let t=e.length,r=e[0],i=e.subarray(1);if(t===s&&(2===r||3===r)){let e,t=A(i);if(!k(t,ep,n.ORDER))throw Error("Point is not on curve");let a=m(t);try{e=n.sqrt(a)}catch(e){throw Error("Point is not on curve"+(e instanceof Error?": "+e.message:""))}return(1&r)==1!=((e&ep)===ep)&&(e=n.neg(e)),{x:t,y:e}}if(t===c&&4===r)return{x:n.fromBytes(i.subarray(0,n.BYTES)),y:n.fromBytes(i.subarray(n.BYTES,2*n.BYTES))};throw Error("invalid Point, expected length of "+s+", or uncompressed "+c+", got "+t)}}),w=(e,t,r)=>A(e.slice(t,r));class P{constructor(e,t,r){S("r",e,ep,i),S("s",t,ep,i),this.r=e,this.s=t,null!=r&&(this.recovery=r),Object.freeze(this)}static fromCompact(e){return new P(w(e=I("compactSignature",e,2*a),0,a),w(e,a,2*a))}static fromDER(e){let{r:t,s:r}=ef.toSig(I("DER",e));return new P(t,r)}assertValidity(){}addRecoveryBit(e){return new P(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:a,recovery:o}=this,s=U(I("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw Error("recovery id invalid");let c=2===o||3===o?t+r.n:t;if(c>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let l=(1&o)==0?"02":"03",u=p.fromHex(l+g(C(c,n.BYTES))),d=z(c,i),h=f(-s*d),b=f(a*d),m=p.BASE.multiplyAndAddUnsafe(u,h,b);if(!m)throw Error("point at infinify");return m.assertValidity(),m}hasHighS(){return this.s>i>>ep}normalizeS(){return this.hasHighS()?new P(this.r,f(-this.s),this.recovery):this}toDERRawBytes(){return v(this.toDERHex())}toDERHex(){return ef.hexFromSig(this)}toCompactRawBytes(){return v(this.toCompactHex())}toCompactHex(){return g(C(this.r,a))+g(C(this.s,a))}}function R(e){if("bigint"==typeof e)return!1;if(e instanceof p)return!0;let t=I("key",e).length,i=n.BYTES,o=i+1;if(!r.allowedPrivateKeyLengths&&a!==o)return t===o||t===2*i+1}let N=r.bits2int||function(e){if(e.length>8192)throw Error("input is too large");let t=A(e),r=8*e.length-o;return r>0?t>>BigInt(r):t},U=r.bits2int_modN||function(e){return f(N(e))},D=O(o);function q(e){return S("num < 2^"+o,e,eh,D),C(e,a)}let Q={lowS:r.lowS,prehash:!1},L={lowS:r.lowS,prehash:!1};return p.BASE._setWindowSize(8),{CURVE:r,getPublicKey:function(e,t=!0){return p.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(!0===R(e))throw Error("first arg must be private key");if(!1===R(t))throw Error("second arg must be public key");return p.fromHex(t).multiply(b(e)).toRawBytes(r)},sign:function(e,t,a=Q){let{seed:o,k2sig:s}=function(e,t,a=Q){if(["recovered","canonical"].some(e=>e in a))throw Error("sign() legacy options not supported");let{hash:o,randomBytes:s}=r,{lowS:c,prehash:l,extraEntropy:u}=a;null==c&&(c=!0),e=I("msgHash",e),eu(a),l&&(e=I("prehashed msgHash",o(e)));let d=U(e),h=b(t),m=[q(h),q(d)];if(null!=u&&!1!==u){let e=!0===u?s(n.BYTES):u;m.push(I("extraEntropy",e))}return{seed:B(...m),k2sig:function(e){var t;let r=N(e);if(!y(r))return;let n=z(r,i),a=p.BASE.multiply(r).toAffine(),o=f(a.x);if(o===eh)return;let s=f(n*f(d+o*h));if(s===eh)return;let l=2*(a.x!==o)|Number(a.y&ep),u=s;return c&&s>i>>ep&&(u=(t=s)>i>>ep?f(-t):t,l^=1),new P(o,u,l)}}}(e,t,a);return(function(e,t,r){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof r)throw Error("hmacFn must be a function");let n=M(e),i=M(e),a=0,o=()=>{n.fill(1),i.fill(0),a=0},s=(...e)=>r(i,n,...e),c=(e=M(0))=>{let t;if(i=s((t=[0],Uint8Array.from(t)),e),n=s(),0!==e.length){let t;i=s((t=[1],Uint8Array.from(t)),e),n=s()}},l=()=>{if(a++>=1e3)throw Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){let t=(n=s()).slice();r.push(t),e+=n.length}return B(...r)};return(e,t)=>{let r;for(o(),c(e);!(r=t(l()));)c();return o(),r}})(r.hash.outputLen,r.nByteLength,r.hmac)(o,s)},verify:function(e,t,n,a=L){let o,s;t=I("msgHash",t),n=I("publicKey",n);let{lowS:c,prehash:l,format:u}=a;if(eu(a),"strict"in a)throw Error("options.strict was renamed to lowS");if(void 0!==u&&"compact"!==u&&"der"!==u)throw Error("format must be compact or der");
1753let h="string"==typeof e||d(e),b=!h&&!u&&"object"==typeof e&&null!==e&&"bigint"==typeof e.r&&"bigint"==typeof e.s;if(!h&&!b)throw Error("invalid signature, expected Uint8Array, hex string or Signature instance");try{if(b&&(s=new P(e.r,e.s)),h){try{"compact"!==u&&(s=P.fromDER(e))}catch(e){if(!(e instanceof ef.Err))throw e}s||"der"===u||(s=P.fromCompact(e))}o=p.fromHex(n)}catch(e){return!1}if(!s||c&&s.hasHighS())return!1;l&&(t=r.hash(t));let{r:m,s:y}=s,g=U(t),w=z(y,i),v=f(g*w),A=f(m*w),x=p.BASE.multiplyAndAddUnsafe(o,v,A)?.toAffine();return!!x&&f(x.x)===m},ProjectivePoint:p,Signature:P,utils:{isValidPrivateKey(e){try{return b(e),!0}catch(e){return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{let e=_(r.n);return function(e,t,r=!1){let n=e.length,i=X(t),a=_(t);if(n<16||n<a||n>1024)throw Error("expected "+a+"-1024 bytes of input, got "+n);let o=W(r?x(e):A(e),t-j)+j;return r?E(o,i):C(o,i)}(r.randomBytes(e),r.n)},precompute:(e=8,t=p.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...i,...{hash:e,hmac:(t,...r)=>(0,s.w)(e,t,(0,c.Id)(...r)),randomBytes:c.po}}))(a),create:n})},52856:(e,t,r)=>{"use strict";r.d(t,{W:()=>l});var n=r(95889),i=r(80044),a=r(81693),o=r(56213),s=r(37826),c=r(24029);function l(e){let{abi:t,data:r}=e,l=(0,a.di)(r,0,4);if("0x"===l)throw new i.O;let u=[...t||[],n.Mc,n.J9].find(e=>"error"===e.type&&l===(0,o.V)((0,c.B)(e)));if(!u)throw new i.Wq(l,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:u,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,s.n)(u.inputs,(0,a.di)(r,4)):void 0,errorName:u.name}}},52981:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var n=r(84305),i=r(64200),a=r(72242),o=r(47002),s=r(5573),c=r(42482);function l(e={}){let{name:t,query:r={}}=e,u=(0,c.U)(e),d=(0,s.i)({config:u}),f=function(e,t={}){return{async queryFn({queryKey:t}){let{name:r,scopeKey:a,...o}=t[1];if(!r)throw Error("name is required");return function(e,t){let{chainId:r,...a}=t,o=e.getClient({chainId:r});return(0,i.T)(o,n.i,"getEnsAvatar")(a)}(e,{...o,name:r})},queryKey:function(e={}){return["ensAvatar",(0,a.xO)(e)]}(t)}}(u,{...e,chainId:e.chainId??d}),h=!!(t&&(r.enabled??!0));return(0,o.IT)({...r,...f,enabled:h})}},53385:(e,t,r)=>{"use strict";r.d(t,{h:()=>a});var n=r(71386),i=r(80339);function a(e,t){if(!(0,i.P)(e,{strict:!1}))throw new n.M({address:e});if(!(0,i.P)(t,{strict:!1}))throw new n.M({address:t});return e.toLowerCase()===t.toLowerCase()}},53390:(e,t,r)=>{"use strict";r.d(t,{$:()=>s,s:()=>o});var n=r(31967),i=r(99190),a=r(9846),o=class extends i.k{#n;#M;#R;#T;constructor(e){super(),this.#n=e.client,this.mutationId=e.mutationId,this.#R=e.mutationCache,this.#M=[],this.state=e.state||s(),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.#M.includes(e)||(this.#M.push(e),this.clearGcTimeout(),this.#R.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#M=this.#M.filter(t=>t!==e),this.scheduleGc(),this.#R.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#M.length||("pending"===this.state.status?this.scheduleGc():this.#R.remove(this))}continue(){return this.#T?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#F({type:"continue"})},r={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#T=(0,a.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#F({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#F({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#R.canRun(this)});let n="pending"===this.state.status,i=!this.#T.canStart();try{if(n)t();else{this.#F({type:"pending",variables:e,isPaused:i}),await this.#R.config.onMutate?.(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#F({type:"pending",context:t,variables:e,isPaused:i})}let a=await this.#T.start();return await this.#R.config.onSuccess?.(a,e,this.state.context,this,r),await this.options.onSuccess?.(a,e,this.state.context,r),await this.#R.config.onSettled?.(a,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(a,null,e,this.state.context,r),this.#F({type:"success",data:a}),a}catch(t){try{throw await this.#R.config.onError?.(t,e,this.state.context,this,r),await this.options.onError?.(t,e,this.state.context,r),await this.#R.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,t,e,this.state.context,r),t}finally{this.#F({type:"error",error:t})}}finally{this.#R.runNext(this)}}#F(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};
1753case"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),n.jG.batch(()=>{this.#M.forEach(t=>{t.onMutationUpdate(e)}),this.#R.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},53548:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(84428);async function i(e,{address:t,blockNumber:r,blockTag:i=e.experimental_blockTag??"latest"}){let a="bigint"==typeof r?(0,n.cK)(r):void 0;return BigInt(await e.request({method:"eth_getBalance",params:[t,a||i]}))}},53745:(e,t,r)=>{"use strict";r.d(t,{u:()=>u});var n=r(48934);async function i(e,t={}){let r;if(t.connector)r=t.connector;else{let{connections:t,current:n}=e.state,i=t.get(n);r=i?.connector}let n=e.state.connections;r&&(await r.disconnect(),r.emitter.off("change",e._internal.events.change),r.emitter.off("disconnect",e._internal.events.disconnect),r.emitter.on("connect",e._internal.events.connect),n.delete(r.uid)),e.setState(e=>{if(0===n.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=n.values().next().value;return{...e,connections:new Map(n),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let r=e.state.connections.get(t)?.connector;if(!r)return;await e.storage?.setItem("recentConnectorId",r.id)}}var a=r(42482),o=r(1220);let s=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,o.b)(s,t)?s:(s=t,t)}var l=r(12115);function u(e={}){let{mutation:t}=e,r=(0,a.U)(e),s={mutationFn:e=>i(r,e),mutationKey:["disconnect"]},{mutate:d,mutateAsync:f,...h}=(0,n.n)({...t,...s});return{...h,connectors:(function(e={}){let t=(0,a.U)(e);return(0,l.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e.subscribe(()=>c(e),r,{equalityFn:o.b})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:r}).map(e=>e.connector),disconnect:d,disconnectAsync:f}}},53906:(e,t,r)=>{"use strict";r.d(t,{sc:()=>w,qt:()=>A,Zf:()=>v});var n=r(3013);
vendor: 4,273 bytes, line 1753
1753class i extends n.Vw{constructor(e,t,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=(0,n.O8)(this.buffer)}update(e){(0,n.CC)(this),e=(0,n.ZJ)(e),(0,n.DO)(e);let{view:t,buffer:r,blockLen:i}=this,a=e.length;for(let o=0;o<a;){let s=Math.min(i-this.pos,a-o);if(s===i){let t=(0,n.O8)(e);for(;i<=a-o;o+=i)this.process(t,o);continue}r.set(e.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===i&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,n.CC)(this),(0,n.Ht)(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:i,isLE:a}=this,{pos:o}=this;t[o++]=128,(0,n.uH)(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let e=o;e<i;e++)t[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),a=BigInt(0xffffffff),o=Number(r>>i&a),s=Number(r&a),c=4*!!n,l=4*!n;e.setUint32(t+c,o,n),e.setUint32(t+l,s,n)}(r,i-8,BigInt(8*this.length),a),this.process(r,0);let s=(0,n.O8)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=c/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)s.setUint32(4*e,u[e],a)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:a,pos:o}=this;return e.destroyed=a,e.finished=i,e.length=n,e.pos=o,n%t&&e.buffer.set(r),e}clone(){return this._cloneInto()}}let a=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]),s=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179]);var c=r(31367);let l=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]),u=new Uint32Array(64);class d extends i{constructor(e=32){super(64,e,8,!1),this.A=0|a[0],this.B=0|a[1],this.C=0|a[2],this.D=0|a[3],this.E=0|a[4],this.F=0|a[5],this.G=0|a[6],this.H=0|a[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:a,G:o,H:s}=this;return[e,t,r,n,i,a,o,s]}set(e,t,r,n,i,a,o,s){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|a,this.G=0|o,this.H=0|s}process(e,t){for(let r=0;r<16;r++,t+=4)u[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],r=u[e-2],i=(0,n.Ow)(t,7)^(0,n.Ow)(t,18)^t>>>3,a=(0,n.Ow)(r,17)^(0,n.Ow)(r,19)^r>>>10;u[e]=a+u[e-7]+i+u[e-16]|0}let{A:r,B:i,C:a,D:o,E:s,F:c,G:d,H:f}=this;for(let e=0;e<64;e++){var h,p,b,m;let t=f+((0,n.Ow)(s,6)^(0,n.Ow)(s,11)^(0,n.Ow)(s,25))+((h=s)&c^~h&d)+l[e]+u[e]|0,y=((0,n.Ow)(r,2)^(0,n.Ow)(r,13)^(0,n.Ow)(r,22))+((p=r)&(b=i)^p&(m=a)^b&m)|0;f=d,d=c,c=s,s=o+t|0,o=a,a=i,i=r,r=t+y|0}r=r+this.A|0,i=i+this.B|0,a=a+this.C|0,o=o+this.D|0,s=s+this.E|0,c=c+this.F|0,d=d+this.G|0,f=f+this.H|0,this.set(r,i,a,o,s,c,d,f)}roundClean(){(0,n.uH)(u)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,n.uH)(this.buffer)}}let f=c.lD(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b89
17536f","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","0xf40e35855771202a","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))),h=f[0],p=f[1],b=new Uint32Array(80),m=new Uint32Array(80);class y extends i{constructor(e=64){super(128,e,16,!1),this.Ah=0|s[0],this.Al=0|s[1],this.Bh=0|s[2],this.Bl=0|s[3],this.Ch=0|s[4],this.Cl=0|s[5],this.Dh=0|s[6],this.Dl=0|s[7],this.Eh=0|s[8],this.El=0|s[9],this.Fh=0|s[10],this.Fl=0|s[11],this.Gh=0|s[12],this.Gl=0|s[13],this.Hh=0|s[14],this.Hl=0|s[15]}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:a,Dh:o,Dl:s,Eh:c,El:l,Fh:u,Fl:d,Gh:f,Gl:h,Hh:p,Hl:b}=this;return[e,t,r,n,i,a,o,s,c,l,u,d,f,h,p,b]}set(e,t,r,n,i,a,o,s,c,l,u,d,f,h,p,b){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|a,this.Dh=0|o,this.Dl=0|s,this.Eh=0|c,this.El=0|l,this.Fh=0|u,this.Fl=0|d,this.Gh=0|f,this.Gl=0|h,this.Hh=0|p,this.Hl=0|b}process(e,t){for(let r=0;r<16;r++,t+=4)b[r]=e.getUint32(t),m[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|b[e-15],r=0|m[e-15],n=c.rE(t,r,1)^c.rE(t,r,8)^c.xn(t,r,7),i=c.ry(t,r,1)^c.ry(t,r,8)^c.jm(t,r,7),a=0|b[e-2],o=0|m[e-2],s=c.rE(a,o,19)^c.qh(a,o,61)^c.xn(a,o,6),l=c.ry(a,o,19)^c.Ei(a,o,61)^c.jm(a,o,6),u=c.CW(i,l,m[e-7],m[e-16]),d=c.CQ(u,n,s,b[e-7],b[e-16]);b[e]=0|d,m[e]=0|u}let{Ah:r,Al:n,Bh:i,Bl:a,Ch:o,Cl:s,Dh:l,Dl:u,Eh:d,El:f,Fh:y,Fl:g,Gh:w,Gl:v,Hh:A,Hl:x}=this;for(let e=0;e<80;e++){let t=c.rE(d,f,14)^c.rE(d,f,18)^c.qh(d,f,41),C=c.ry(d,f,14)^c.ry(d,f,18)^c.Ei(d,f,41),E=d&y^~d&w,I=f&g^~f&v,B=c.F8(x,C,I,p[e],m[e]),P=c.TH(B,A,t,E,h[e],b[e]),k=0|B,S=c.rE(r,n,28)^c.qh(r,n,34)^c.qh(r,n,39),O=c.ry(r,n,28)^c.Ei(r,n,34)^c.Ei(r,n,39),M=r&i^r&o^i&o,R=n&a^n&s^a&s;A=0|w,x=0|v,w=0|y,v=0|g,y=0|d,g=0|f,({h:d,l:f}=c.WQ(0|l,0|u,0|P,0|k)),l=0|o,u=0|s,o=0|i,s=0|a,i=0|r,a=0|n;let T=c.Vl(k,O,R);r=c.Vr(T,P,S,M),n=0|T}({h:r,l:n}=c.WQ(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l:a}=c.WQ(0|this.Bh,0|this.Bl,0|i,0|a)),({h:o,l:s}=c.WQ(0|this.Ch,0|this.Cl,0|o,0|s)),({h:l,l:u}=c.WQ(0|this.Dh,0|this.Dl,0|l,0|u)),({h:d,l:f}=c.WQ(0|this.Eh,0|this.El,0|d,0|f)),({h:y,l:g}=c.WQ(0|this.Fh,0|this.Fl,0|y,0|g)),({h:w,l:v}=c.WQ(0|this.Gh,0|this.Gl,0|w,0|v)),({h:A,l:x}=c.WQ(0|this.Hh,0|this.Hl,0|A,0|x)),this.set(r,n,i,a,o,s,l,u,d,f,y,g,w,v,A,x)}roundClean(){(0,n.uH)(b,m)}destroy(){(0,n.uH)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class g extends y{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 w=(0,n.qj)(()=>new d),v=(0,n.qj)(()=>new y),A=(0,n.qj)(()=>new g)},55947:(e,t,r)=>{"use strict";r.d(t,{E9:()=>a,Mi:()=>n,pN:()=>i,xi:()=>o});var n="right-scroll-bar-position",i="width-before-scroll-bar",a="with-scroll-bars-hidden",o="--removed-body-scroll-bar-size"},56184:(e,t,r)=>{"use strict";r.d(t,{Dg:()=>g,Ej:()=>y,Fl:()=>B,HT:()=>l,Ho:()=>p,M7:()=>b,Ro:()=>w,Ty:()=>A,di:()=>m,ii:()=>I,oB:()=>f,sH:()=>h,tf:()=>v,u:()=>E,uK:()=>d,xW:()=>c,xb:()=>u});var n=r(69565),i=r(32872),a=r(67221);let o=new TextEncoder,s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(...e){return`0x${e.reduce((e,t)=>
1753e+t.replace("0x",""),"")}`}function l(e){return e instanceof Uint8Array?d(e):Array.isArray(e)?d(new Uint8Array(e)):e}function u(e,t={}){let r=`0x${Number(e)}`;return"number"==typeof t.size?(i.Sl(r,t.size),p(r,t.size)):r}function d(e,t={}){let r="";for(let t=0;t<e.length;t++)r+=s[e[t]];let n=`0x${r}`;return"number"==typeof t.size?(i.Sl(n,t.size),b(n,t.size)):n}function f(e,t={}){let r,{signed:n,size:i}=t,a=BigInt(e);i?r=n?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(r=BigInt(Number.MAX_SAFE_INTEGER));let o="bigint"==typeof r&&n?-r-1n:0;if(r&&a>r||a<o){let t="bigint"==typeof e?"n":"";throw new A({max:r?`${r}${t}`:void 0,min:`${o}${t}`,signed:n,size:i,value:`${e}${t}`})}let s=(n&&a<0?(1n<<BigInt(8*i))+BigInt(a):a).toString(16),c=`0x${s}`;return i?p(c,i):c}function h(e,t={}){return d(o.encode(e),t)}function p(e,t){return i.eV(e,{dir:"left",size:t})}function b(e,t){return i.eV(e,{dir:"right",size:t})}function m(e,t,r,n={}){let{strict:a}=n;i.kK(e,t);let o=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return a&&i.X(o,t,r),o}function y(e){return Math.ceil((e.length-2)/2)}function g(e,t={}){let{signed:r}=t;t.size&&i.Sl(e,t.size);let n=BigInt(e);if(!r)return n;let a=(1n<<8n*BigInt((e.length-2)/2))-1n;return n<=a>>1n?n:n-a-1n}function w(e,t={}){let{signed:r,size:n}=t;return r||n?Number(g(e,t)):Number(e)}function v(e,t={}){let{strict:r=!1}=t;try{return!function(e,t={}){let{strict:r=!1}=t;if(!e||"string"!=typeof e)throw new x(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new C(e)}(e,{strict:r}),!0}catch{return!1}}class A extends n.C{constructor({max:e,min:t,signed:r,size:n,value:i}){super(`Number \`${i}\` is not in safe${n?` ${8*n}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}n.C;class x extends n.C{constructor(e){super(`Value \`${"object"==typeof e?a.A(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class C extends n.C{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}n.C;class E extends n.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class I extends n.C{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class B extends n.C{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}},56213:(e,t,r)=>{"use strict";r.d(t,{V:()=>a});var n=r(81693),i=r(59482);let a=e=>(0,n.di)((0,i.k)(e),0,4)},57269:(e,t,r)=>{"use strict";r.d(t,{Y:()=>l});var n=r(48934),i=r(75732),a=r(64200),o=r(86484);async function s(e,t){let r,{account:n,connector:s,...c}=t;return r="object"==typeof n&&"local"===n.type?e.getClient():await (0,o.r)(e,{account:n,connector:s}),(0,a.T)(r,i.l,"signMessage")({...c,...n?{account:n}:{}})}var c=r(42482);function l(e={}){var t;let{mutation:r}=e,i=(t=(0,c.U)(e),{mutationFn:e=>s(t,e),mutationKey:["signMessage"]}),{mutate:a,mutateAsync:o,...u}=(0,n.n)({...r,...i});return{...u,signMessage:a,signMessageAsync:o}}},57513:(e,t,r)=>{"use strict";r.d(t,{q:()=>l});var n=r(94747),i=r(49586),a=r(28992),o=r(43609),s=r(91497),c=r(17626);function l(e,{emitOnBegin:t=!1,emitMissed:r=!1,onBlockNumber:l,onError:u,poll:d,pollingInterval:f=e.pollingInterval}){let h,p,b;return(void 0!==d?d:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
1753onfig.type&&"ipc"!==e.transport.transports[0].config.type))?(p=(0,s.A)(["watchBlockNumber",e.uid,t,r,f]),(0,a.lB)(p,{onBlockNumber:l,onError:u},n=>(0,o.w)(async()=>{try{let t=await (0,i.T)(e,c.G,"getBlockNumber")({cacheTime:0});if(void 0!==h){if(t===h)return;if(t-h>1&&r)for(let e=h+1n;e<t;e++)n.onBlockNumber(e,h),h=e}(void 0===h||t>h)&&(n.onBlockNumber(t,h),h=t)}catch(e){n.onError?.(e)}},{emitOnBegin:t,interval:f}))):(b=(0,s.A)(["watchBlockNumber",e.uid,t,r]),(0,a.lB)(b,{onBlockNumber:l,onError:u},t=>{let r=!0,i=()=>r=!1;return(async()=>{try{let a=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type||"ipc"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:o}=await a.subscribe({params:["newHeads"],onData(e){if(!r)return;let i=(0,n.uU)(e.result?.number);t.onBlockNumber(i,h),h=i},onError(e){t.onError?.(e)}});i=o,r||i()}catch(e){u?.(e)}})(),()=>i()}))}},57723:(e,t,r)=>{"use strict";r.d(t,{T:()=>u});var n=r(94073),i=r(77022),a=r(70005),o=r(14870),s=r(45696),c=r(22106),l=r(84428);function u(e){let{data:t,kzg:r,to:u}=e,d=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),r="string"==typeof e.data?(0,c.aT)(e.data):e.data,n=(0,s.E)(r);if(!n)throw new a.zF;if(n>761855)throw new a.iq({maxSize:761855,size:n});let i=[],u=!0,d=0;for(;u;){let e=(0,o.l)(new Uint8Array(131072)),t=0;for(;t<4096;){let n=r.slice(d,d+31);if(e.pushByte(0),e.pushBytes(n),n.length<31){e.pushByte(128),u=!1;break}t++,d+=31}i.push(e)}return"bytes"===t?i.map(e=>e.bytes):i.map(e=>(0,l.My)(e.bytes))}({data:t,to:u}),f=e.commitments??(0,n.S)({blobs:d,kzg:r,to:u}),h=e.proofs??(0,i.t)({blobs:d,commitments:f,kzg:r,to:u}),p=[];for(let e=0;e<d.length;e++)p.push({blob:d[e],commitment:f[e],proof:h[e]});return p}},58452:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){!function(e,t,r){var n;(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r.d(t,{U:()=>o});var a=e=>e,o=function(){return function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Object.assign({},...t.map(e=>e.styles)),o=Object.keys(n),s=o.filter(e=>"mappings"in n[e]);return Object.assign(e=>{var t=[],r={},o=i({},e),c=!1;for(var l of s){var u=e[l];if(null!=u)for(var d of(c=!0,n[l].mappings))r[d]=u,null==o[d]&&delete o[d]}var f=c?i(i({},r),o):e;for(var h in f)if(function(){var e=f[h],r=n[h];try{if(r.mappings)return 1;if("string"==typeof e||"number"==typeof e)t.push(r.values[e].defaultClass);else if(Array.isArray(e))for(var i=0;i<e.length;i++){var a=e[i];if(null!=a){var o=r.responsiveArray[i];t.push(r.values[a].conditions[o])}}else for(var s in e){var c=e[s];null!=c&&t.push(r.values[c].conditions[s])}}catch(e){throw e}}())continue;return a(t.join(" "))},{properties:new Set(o)})}(...arguments)}},58637:(e,t,r)=>{"use strict";r.d(t,{Bv:()=>a});var n=r(84428);let i={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function a(e,t){let r={};return void 0!==e.authorizationList&&(r.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,n.cK)(BigInt(e.r)):e.r,s:e.s?(0,n.cK)(BigInt(e.s)):e.s,chainId:(0,n.cK)(e.chainId),nonce:(0,n.cK)(e.nonce),...void 0!==e.yParity?{yParity:(0,n.cK)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,n.cK)(e.v)}:{}}))),void 0!==e.accessList&&(r.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(r.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?r.blobs=e.blobs.map(e=>(0,n.My)(e)):r.blobs=e.blobs),void 0!==e.data&&(r.data=e.data),e.account&&(r.from=e.account.address),void 0!==e.from&&(r.from=e.from),void 0!==e.gas&&(r.gas=(0,n.cK)(e.gas)),void 0!==e.gasPrice&&(r.gasPrice=(0,n.cK)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(r.maxFeePerBlobGas=(0,n.cK)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(r.maxFeePerGas=(0,n.cK)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=(0,n.cK)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(r.nonce=(0,n.cK)(e.nonce)),void 0!==e.to&&(r.to=e.to),void 0!==e.type&&(r.type=i[e.type]),void 0!==e.value&&(r.value=(0,n.cK)(e.value)),r}},59482:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var n=r(22106),i=r(18860),a=r(27075);let o=/^tuple(?<array>(\[(\d*)\])*)$/;function s(e){let t="",r=e.length;for(let n=0;n<r;n++)t+=function e(t){let r=t.type;if(o.test(t.type)&&"components"in t){r="(";let n=t.components.length;for(let i=0;i<n;i++)r+=e(t.components[i]),i<n-1&&(r+=", ");let i=(0,a.Yv)(o,t.type);return r+=`)${i?.array??""}`,e({...t,type:r})}return("indexed"in t&&t.indexed&&(r=`${r}
1753 indexed`),t.name)?`${r} ${t.name}`:r}(e[n]),n!==r-1&&(t+=", ");return t}var c=r(66568);function l(e){var t;return t=function(e){let t=!0,r="",n=0,i="",a=!1;for(let o=0;o<e.length;o++){let s=e[o];if(["(",")",","].includes(s)&&(t=!0),"("===s&&n++,")"===s&&n--,t){if(0===n){if(" "===s&&["event","function",""].includes(i))i="";else if(i+=s,")"===s){a=!0;break}continue}if(" "===s){","!==e[o-1]&&","!==r&&",("!==r&&(r="",t=!1);continue}i+=s,r+=s}}if(!a)throw new c.C("Unable to normalize signature.");return i}((()=>"string"==typeof e?e:"function"===e.type?`function ${e.name}(${s(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${s(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${s(e.inputs)})`:"error"===e.type?`error ${e.name}(${s(e.inputs)})`:"constructor"===e.type?`constructor(${s(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable")()),(0,i.S)((0,n.ZJ)(t))}},60337:(e,t,r)=>{"use strict";r.d(t,{X:()=>m,J:()=>b});var n=r(18587),i=r(95889),a=r(18893),o=r(80044),s=r(76429),c=r(56213),l=r(44497),u=r(24029),d=r(42330);let f="/docs/contract/encodeErrorResult";function h(e){let{abi:t,errorName:r,args:n}=e,i=t[0];if(r){let e=(0,d.iY)({abi:t,args:n,name:r});if(!e)throw new o.yy(r,{docsPath:f});i=e}if("error"!==i.type)throw new o.yy(void 0,{docsPath:f});let a=(0,u.B)(i),h=(0,c.V)(a),p="0x";if(n&&n.length>0){if(!i.inputs)throw new o.ZP(i.name,{docsPath:f});p=(0,l.h)(i.inputs,n)}return(0,s.aP)([h,p])}let p="/docs/contract/encodeFunctionResult",b="x-batch-gateway:true";async function m(e){let{data:t,ccipRequest:r}=e,{args:[s]}=(0,a.J)({abi:n.b2,data:t}),c=[],u=[];return await Promise.all(s.map(async(e,t)=>{try{u[t]=e.urls.includes(b)?await m({data:e.data,ccipRequest:r}):await r(e),c[t]=!1}catch(e){var a;c[t]=!0,u[t]="HttpRequestError"===(a=e).name&&a.status?h({abi:n.b2,errorName:"HttpError",args:[a.status,a.shortMessage]}):h({abi:[i.Mc],errorName:"Error",args:["shortMessage"in a?a.shortMessage:a.message]})}})),function(e){let{abi:t,functionName:r,result:n}=e,i=t[0];if(r){let e=(0,d.iY)({abi:t,name:r});if(!e)throw new o.Iz(r,{docsPath:p});i=e}if("function"!==i.type)throw new o.Iz(void 0,{docsPath:p});if(!i.outputs)throw new o.MR(i.name,{docsPath:p});let a=(()=>{if(0===i.outputs.length)return[];if(1===i.outputs.length)return[n];if(Array.isArray(n))return n;throw new o.dm(n)})();return(0,l.h)(i.outputs,a)}({abi:n.b2,functionName:"query",result:[c,u]})}},61211:(e,t,r)=>{"use strict";function n(e){let t=e.state.current,r=e.state.connections.get(t),n=r?.accounts,i=n?.[0],a=e.chains.find(e=>e.id===r?.chainId),o=e.state.status;switch(o){case"connected":return{address:i,addresses:n,chain:a,chainId:r?.chainId,connector:r?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:o};case"reconnecting":return{address:i,addresses:n,chain:a,chainId:r?.chainId,connector:r?.connector,isConnected:!!i,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:o};case"connecting":return{address:i,addresses:n,chain:a,chainId:r?.chainId,connector:r?.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}}}r.d(t,{s:()=>n})},61581:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});var n=r(94747),i=r(12581),a=r(49235),o=r(53548),s=r(64200),c=r(70378);function l(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(c.pj[e])}var u=r(78568),d=r(42417);async function f(e,t){let{allowFailure:r=!0,chainId:n,contracts:i,...a}=t,o=e.getClient({chainId:n});return(0,s.T)(o,d.C,"multicall")({allowFailure:r,contracts:i,...a})}var h=r(27854);async function p(e,t){let{allowFailure:r=!0,blockNumber:n,blockTag:i,...a}=t,o=t.contracts;try{let t={};for(let[r,n]of o.entries()){let i=n.chainId??e.state.chainId;t[i]||(t[i]=[]),t[i]?.push({contract:n,index:r})}let s=(await Promise.all(Object.entries(t).map(([t,o])=>
1753f(e,{...a,allowFailure:r,blockNumber:n,blockTag:i,chainId:Number.parseInt(t,10),contracts:o.map(({contract:e})=>e)})))).flat(),c=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return s.reduce((e,t,r)=>(e&&(e[c[r]]=t),e),[])}catch(a){if(a instanceof u.bG)throw a;let t=()=>o.map(t=>(function(e,t){let{chainId:r,...n}=t,i=e.getClient({chainId:r});return(0,s.T)(i,h.J,"readContract")(n)})(e,{...t,blockNumber:n,blockTag:i}));if(r)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function b(e,t){let{address:r,blockNumber:c,blockTag:u,chainId:d,token:f,unit:h="ether"}=t;if(f)try{return await m(e,{balanceAddress:r,chainId:d,symbolType:"string",tokenAddress:f})}catch(t){if("ContractFunctionExecutionError"===t.name){let t=await m(e,{balanceAddress:r,chainId:d,symbolType:"bytes32",tokenAddress:f}),a=(0,n.IQ)((0,i.B)(t.symbol,{dir:"right"}));return{...t,symbol:a}}throw t}let p=e.getClient({chainId:d}),b=(0,s.T)(p,o.r,"getBalance"),y=await b(c?{address:r,blockNumber:c}:{address:r,blockTag:u}),g=e.chains.find(e=>e.id===d)??p.chain;return{decimals:g.nativeCurrency.decimals,formatted:(0,a.J)(y,l(h)),symbol:g.nativeCurrency.symbol,value:y}}async function m(e,t){let{balanceAddress:r,chainId:n,symbolType:i,tokenAddress:o,unit:s}=t,c={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:i}]}],address:o},[u,d,f]=await p(e,{allowFailure:!1,contracts:[{...c,functionName:"balanceOf",args:[r],chainId:n},{...c,functionName:"decimals",chainId:n},{...c,functionName:"symbol",chainId:n}]}),h=(0,a.J)(u??"0",l(s??d));return{decimals:d,formatted:h,symbol:f,value:u}}var y=r(72242),g=r(47002),w=r(5573),v=r(42482);function A(e={}){let{address:t,query:r={}}=e,n=(0,v.U)(e),i=(0,w.i)({config:n}),a=function(e,t={}){return{async queryFn({queryKey:t}){let{address:r,scopeKey:n,...i}=t[1];if(!r)throw Error("address is required");return await b(e,{...i,address:r})??null},queryKey:function(e={}){return["balance",(0,y.xO)(e)]}(t)}}(n,{...e,chainId:e.chainId??i}),o=!!(t&&(r.enabled??!0));return(0,g.IT)({...r,...a,enabled:o})}},64200:(e,t,r)=>{"use strict";function n(e,t,r){let n=e[t.name];if("function"==typeof n)return n;let i=e[r];return"function"==typeof i?i:r=>t(e,r)}r.d(t,{T:()=>n})},64411:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,o){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new i(n,a||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,i),!0;case 5:return u.fn.call(u.context,t,n,i,a),!0;case 6:return u.fn.call(u.context,t,n,i,a,o),!0}for(l=1,c=Array(d-1);l<d;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var f,h=u.length;for(l=0;l<h;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),d){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,n);break;case 4:u[l].fn.call(u[l].context,t,n,i);break;default:if(!c)for(f=1,c=Array(d-1);f<d;f++)c[f-1]=arguments[f];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return o(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||o(this,a);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||n&&s[c].context!==n)&&l.push(s[c]);l.length?this._events[a]=1===l.length?l[0]:l:o(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&o(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s},65261:(e,t,r)=>{"use strict";r.d(t,{CL:()=>c,D5:()=>u,Di:()=>f,G1:()=>O,Gi:()=>l,L5:()=>I,MI:()=>R,RV:()=>x,Sf:()=>A,WT:()=>B,XU:()=>s,YW:()=>b,ab:()=>m,bq:()=>d,cg:()=>k,ch:()=>E,hA:()=>h,hl:()=>P,jz:()=>M,qZ:()=>p,s0:()=>y,sV:()=>v,uL:()=>S,vx:()=>w,xQ:()=>g,xq:()=>C});var n=r(66568),i=r(93247);class a extends n.C{constructor(e,{code:t,docsPath:r,metaMessages:n,name:a,shortMessage:o}
vendor: 6,472 bytes, line 1753
1753){super(o,{cause:e,docsPath:r,metaMessages:n||e?.metaMessages,name:a||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=a||e.name,this.code=e instanceof i.J8?e.code:t??-1}}class o extends a{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class s extends a{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends a{constructor(e){super(e,{code:c.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class l extends a{constructor(e,{method:t}={}){super(e,{code:l.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class u extends a{constructor(e){super(e,{code:u.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends a{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends a{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class h extends a{constructor(e){super(e,{code:h.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class p extends a{constructor(e){super(e,{code:p.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class b extends a{constructor(e){super(e,{code:b.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class m extends a{constructor(e,{method:t}={}){super(e,{code:m.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class y extends a{constructor(e){super(e,{code:y.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends a{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 w extends o{constructor(e){super(e,{code:w.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class v extends o{constructor(e){super(e,{code:v.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class A extends o{constructor(e,{method:t}={}){super(e,{code:A.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class x extends o{constructor(e){super(e,{code:x.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class C extends o{constructor(e){super(e,{code:C.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class E extends o{constructor(e){super(e,{code:E.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class I extends o{constructor(e){super(e,{code:I.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class B extends o{constructor(e){super(e,{code:B.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class P extends o{constructor(e){super(e,{code:P.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class k extends o{constructor(e){super(e,{code:k.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(k,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class S extends o{constructor(e){super(e,{code:S.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class O extends o{constructor(e){super(e,{code:O.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750}
1753);class M extends o{constructor(e){super(e,{code:M.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class R extends a{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},65531:(e,t,r)=>{"use strict";r.d(t,{X:()=>s,k:()=>c});var n=r(5858),i=r(31967),a=r(9846),o=r(99190),s=class extends o.k{#N;#j;#U;#n;#T;#D;#q;constructor(e){super(),this.#q=!1,this.#D=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#U=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#N=u(this.options),this.state=e.state??this.#N,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#T?.promise}setOptions(e){if(this.options={...this.#D,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=u(this.options);void 0!==e.data&&(this.setState(l(e.data,e.dataUpdatedAt)),this.#N=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#U.remove(this)}setData(e,t){let r=(0,n.pl)(this.state.data,e,this.options);return this.#F({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#F({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#T?.promise;return this.#T?.cancel(e),t?t.then(n.lQ).catch(n.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#N)}isActive(){return this.observers.some(e=>!1!==(0,n.Eh)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,n.d2)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,n.j3)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#T?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#T?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#U.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#T&&(this.#q?this.#T.cancel({revert:!0}):this.#T.cancelRetry()),this.scheduleGc()),this.#U.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#F({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#T?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#T)return this.#T.continueRetry(),this.#T.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#q=!0,i.signal)})},s=()=>{let e,r=(0,n.ZM)(this.options,t),i=(o(e={client:this.#n,queryKey:this.queryKey,meta:this.meta}),e);return(this.#q=!1,this.options.persister)?this.options.persister(r,i,this):r(i)},c=(o(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:s}),r);this.options.behavior?.onFetch(c,this),this.#j=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#F({type:"fetch",meta:c.fetchOptions?.meta}),this.#T=(0,a.II)({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:e=>{e instanceof a.cc&&e.revert&&this.setState({...this.#j,fetchStatus:"idle"}),i.abort()},onFail:(e,t)=>{this.#F({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#F({type:"pause"})},onContinue:()=>{this.#F({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{let e=await this.#T.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#U.config.onSuccess?.(e,this),this.#U.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.cc){if(e.silent)return this.#T.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#F({type:"error",error:e}),this.#U.config.onError?.(e,this),this.#U.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#F(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...l(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#j=e.manual?r:void 0,r;case"error":let n=e.error;
1753return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.jG.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#U.notify({query:this,type:"updated",action:e})})}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function l(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function u(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}},65538:(e,t,r)=>{"use strict";var n=r(12115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,o=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return s(function(){i.value=r,i.getSnapshot=t,l(i)&&u({inst:i})},[e,r,t]),o(function(){return l(i)&&u({inst:i}),e(function(){l(i)&&u({inst:i})})},[e]),c(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},66347:(e,t,r)=>{"use strict";r.d(t,{H2:()=>o,Ty:()=>i,u:()=>s,xO:()=>a});var n=r(66568);class i extends n.C{constructor({max:e,min:t,signed:r,size:n,value:i}){super(`Number "${i}" is not in safe ${n?`${8*n}-bit ${r?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class a extends n.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 n.C{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}n.C;class s extends n.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},66404:(e,t,r)=>{"use strict";r.d(t,{F:()=>u});var n=r(99414),i=r(61211),a=r(42482),o=r(1220),s=r(12115),c=r(94577);let l=e=>"object"==typeof e&&!Array.isArray(e);function u(e={}){let t=(0,a.U)(e);return function(e,t,r=t,n=o.b){let i=(0,s.useRef)([]),a=(0,c.useSyncExternalStoreWithSelector)(e,t,r,e=>e,(e,t)=>{if(l(e)&&l(t)&&i.current.length){for(let r of i.current)if(!n(e[r],t[r]))return!1;return!0}return n(e,t)});return(0,s.useMemo)(()=>{if(l(a)){let e={...a},t={};for(let[r,n]of Object.entries(e))t={...t,[r]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(r)||i.current.push(r),n)}};return Object.defineProperties(e,t),e}return a},[a])}(e=>(0,n.F)(t,{onChange:e}),()=>(0,i.s)(t))}},66568:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});let n="2.39.0",i={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:r})=>t?`${e??"https://viem.sh"}${t}${r?`#${r}`:""}`:void 0,version:`viem@${n}`};class a extends Error{constructor(e,t={}){const r=t.cause instanceof a?t.cause.details:t.cause?.message?t.cause.message:t.details,o=t.cause instanceof a&&t.cause.docsPath||t.docsPath,s=i.getDocsUrl?.({...t,docsPath:o});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...s?[`Docs: ${s}`]:[],...r?[`Details: ${r}`]:[],...i.version?[`Version: ${i.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=r,this.docsPath=o,this.metaMessages=t.metaMessages,this.name=t.name??this.name,this.shortMessage=e,this.version=n}walk(e){return function e(t,r){return r?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,r):r?null:t}(this,e)}}},67221:(e,t,r)=>{"use strict";function n(e,t,r){return JSON.stringify(e,(e,r)=>"function"==typeof t?t(e,r):"bigint"==typeof r?r.toString()+"#__bigint":r,r)}r.d(t,{A:()=>n})},69565:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});
1753class n extends Error{constructor(e,t={}){const r=(()=>{if(t.cause instanceof n){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),i=t.cause instanceof n&&t.cause.docsPath||t.docsPath,a=`https://oxlib.sh${i??""}`;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...r||i?["",r?`Details: ${r}`:void 0,i?`See: ${a}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"[email protected]"}),this.cause=t.cause,this.details=r,this.docs=a,this.docsPath=i,this.shortMessage=e}walk(e){return function e(t,r){return r?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,r):r?null:t}(this,e)}}},69960:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(94747);async function i(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,n.ME)(t)}},70005:(e,t,r)=>{"use strict";r.d(t,{PK:()=>c,iq:()=>a,uP:()=>s,zF:()=>o});var n=r(33618),i=r(66568);class a extends i.C{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class o extends i.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class s extends i.C{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class c extends i.C{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${n.E}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},70378:(e,t,r)=>{"use strict";r.d(t,{eL:()=>n,pj:()=>a,sz:()=>i});let n={gwei:9,wei:18},i={ether:-9,wei:9},a={ether:-18,gwei:-9}},70509:(e,t,r)=>{"use strict";function n(e,{errorInstance:t=Error("timed out"),timeout:r,signal:n}){return new Promise((i,a)=>{(async()=>{let o;try{let s=new AbortController;r>0&&(o=setTimeout(()=>{n?s.abort():a(t)},r)),i(await e({signal:s?.signal||null}))}catch(e){e?.name==="AbortError"&&a(t),a(e)}finally{clearTimeout(o)}})()})}r.d(t,{w:()=>n})},70536:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(70378),i=r(49235);function a(e,t="wei"){return(0,i.J)(e,n.eL[t])}},70910:(e,t,r)=>{"use strict";function n(e,t){return({exclude:r,format:n})=>({exclude:r,format:(e,i)=>{let a=t(e,i);if(r)for(let e of r)delete a[e];return{...a,...n(e,i)}},type:e})}r.d(t,{q:()=>n})},71062:(e,t,r)=>{"use strict";r.d(t,{k:()=>x});var n=r(95155),i=r(12115);function a(e,t){return e.toString(2).padStart(t,"0")}function o(e,t){let r=e%t;return r>=0?r:t+r}function s(e,t){return Array(e).fill(t)}function c(...e){let t=0;for(let r of e)t=Math.max(t,r.length);let r=[];for(let n=0;n<t;n++)for(let t of e)n>=t.length||r.push(t[n]);return new Uint8Array(r)}function l(e,t,r){if(r<0||r+t.length>e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[r+n])return!1;return!0}function u(e){return{has:t=>e.includes(t),decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})},encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(!Number.isSafeInteger(t))throw Error(`integer expected: ${t}`);if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})}}}class d{static size(e,t){if("number"==typeof e&&(e={height:e,width:e}),!Number.isSafeInteger(e.height)&&e.height!==1/0)throw Error(`Bitmap: invali
1753d height=${e.height} (${typeof e.height})`);if(!Number.isSafeInteger(e.width)&&e.width!==1/0)throw Error(`Bitmap: invalid width=${e.width} (${typeof e.width})`);return void 0!==t&&(e={width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}),e}static fromString(e){let t,r=(e=e.replace(/^\n+/g,"").replace(/\n+$/g,"")).split("\n"),n=r.length,i=Array(n);for(let e of r){let r=e.split("").map(e=>{if("X"===e)return!0;if(" "===e)return!1;if("?"!==e)throw Error(`Bitmap.fromString: unknown symbol=${e}`)});if(t&&r.length!==t)throw Error(`Bitmap.fromString different row sizes: width=${t} cur=${r.length}`);t=r.length,i.push(r)}return t||(t=0),new d({height:n,width:t},i)}data;height;width;constructor(e,t){const{height:r,width:n}=d.size(e);this.data=t||Array.from({length:r},()=>s(n,void 0)),this.height=r,this.width=n}point(e){return this.data[e.y][e.x]}isInside(e){return 0<=e.x&&e.x<this.width&&0<=e.y&&e.y<this.height}size(e){if(!e)return{height:this.height,width:this.width};let{x:t,y:r}=this.xy(e);return{height:this.height-r,width:this.width-t}}xy(e){if("number"==typeof e&&(e={x:e,y:e}),!Number.isSafeInteger(e.x))throw Error(`Bitmap: invalid x=${e.x}`);if(!Number.isSafeInteger(e.y))throw Error(`Bitmap: invalid y=${e.y}`);return e.x=o(e.x,this.width),e.y=o(e.y,this.height),e}rect(e,t,r){let{x:n,y:i}=this.xy(e),{height:a,width:o}=d.size(t,this.size({x:n,y:i}));for(let e=0;e<a;e++)for(let t=0;t<o;t++)this.data[i+e][n+t]="function"==typeof r?r({x:t,y:e},this.data[i+e][n+t]):r;return this}rectRead(e,t,r){return this.rect(e,t,(e,t)=>(r(e,t),t))}hLine(e,t,r){return this.rect(e,{width:t,height:1},r)}vLine(e,t,r){return this.rect(e,{width:1,height:t},r)}border(e=2,t){let r=this.height+2*e,n=this.width+2*e,i=s(e,t),a=Array.from({length:e},()=>s(n,t));return new d({height:r,width:n},[...a,...this.data.map(e=>[...i,...e,...i]),...a])}embed(e,t){return this.rect(e,t.size(),({x:e,y:r})=>t.data[r][e])}rectSlice(e,t=this.size()){let r=new d(d.size(t,this.size(this.xy(e))));return this.rect(e,t,({x:e,y:t},n)=>r.data[t][e]=n),r}inverse(){let{height:e,width:t}=this;return new d({height:t,width:e}).rect({x:0,y:0},1/0,({x:e,y:t})=>this.data[e][t])}scale(e){if(!Number.isSafeInteger(e)||e>1024)throw Error(`invalid scale factor: ${e}`);let{height:t,width:r}=this;return new d({height:e*t,width:e*r}).rect({x:0,y:0},1/0,({x:t,y:r})=>this.data[Math.floor(r/e)][Math.floor(t/e)])}clone(){return new d(this.size()).rect({x:0,y:0},this.size(),({x:e,y:t})=>this.data[t][e])}assertDrawn(){this.rectRead(0,1/0,(e,t)=>{if("boolean"!=typeof t)throw Error(`Invalid color type=${typeof t}`)})}toString(){return this.data.map(e=>e.map(e=>void 0===e?"?":e?"X":" ").join("")).join("\n")}toASCII(){let{height:e,width:t,data:r}=this,n="";for(let i=0;i<e;i+=2){for(let a=0;a<t;a++){let t=r[i][a],o=i+1>=e||r[i+1][a];t||o?!t&&o?n+="▀":t&&!o?n+="▄":t&&o&&(n+=" "):n+="█"}n+="\n"}return n}toTerm(){let e="\x1b[0m",t="\x1b[1;47m  "+e,r="\x1b[40m  "+e;return this.data.map(e=>e.map(e=>e?r:t).join("")).join("\n")}toSVG(e=!0){let t,r=`<svg viewBox="0 0 ${this.width} ${this.height}" xmlns="http://www.w3.org/2000/svg">`,n="";return this.rectRead(0,1/0,(i,a)=>{if(!a)return;let{x:o,y:s}=i;if(!e){r+=`<rect x="${o}" y="${s}" width="1" height="1" />`;return}let c=`M${o} ${s}`;if(t){let e=`m${o-t.x} ${s-t.y}`;e.length<=c.length&&(c=e)}let l=o<10?`H${o}`:"h-1";n+=`${c}h1v1${l}Z`,t=i}),e&&(r+=`<path d="${n}"/>`),r+="</svg>"}toGIF(){let e=e=>[255&e,e>>>8&255],t=[...e(this.width),...e(this.height)],r=[];this.rectRead(0,1/0,(e,t)=>r.push(+(!0===t)));let n=[71,73,70,56,55,97,...t,246,0,0,255,255,255,...s(381,0),44,0,0,0,0,...t,0,7],i=Math.floor(r.length/126);for(let e=0;e<i;e++)n.push(127,128,...r.slice(126*e,126*(e+1)).map(e=>+e));return n.push(r.length%126+1,128,...r.slice(126*i).map(e=>+e)),n.push(1,129,0,59),new Uint8Array(n)}toImage(e=!1){let{height:t,width:r}=this.size(),n=new Uint8Array(t*r*(e?3:4)),i=0;for(let a=0;a<t;a++)for(let t=0;t<r;t++){let r=255*!this.data[a][t];n[i++]=r,n[i++]=r,n[i++]=r,e||(n[i++]=255)}return{height:t,width:r,data:n}}}let f=["low","medium","quartile","high"],h=["numeric","alphanumeric","byte","kanji","eci"],p=[26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706],b={low:[7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],medium:[10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],quartile:[13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],high:[17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]},m={low:[1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],medium:[1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],quartile:[1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],high:[1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]},y={size:{encode:e=>21+4*(e-1),decode:e=>(e-17)/4},sizeType:e=>Math.floor((e+7)/17),alignmentPatterns(e){if(1===e)return[];let t=y.size.encode(e)-6-1,r=t-6,n=Math.ceil(r/28),i=Math.floor(r/n);i%2?i+=1:r%n*2>=n&&(i+=2);let a=[6];for(let e=1;e<n;e++)a.push(t-(n-e)*i);return a.push(t),a},ECCode:{low:1,medium:0,quartile:3,high:2},formatMask:21522,formatBits(e,t){let r=y.ECCode[e]<<3|t,n=r;for(let e=0;e<10;e++)n=n<<1^(n>>9)*1335;return(r<<10|n)^y.formatMask},versionBits(e){let t=e;for(let e=0;e<12;e++)t=t<<1^(t>>11)*7973;return e<<12|t},alphabet:{numeric:u("0123456789"),alphanumerc:u("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:")},lengthBits:(e,t)=>({numeric:[10,12,14],alphanumeric:[9,11,13],byte:[8,16,16],kanji:[8,10,12],eci:[0,0,0]})[t][y.sizeType(e)],modeBits:{numeric:"0001",alphanumeric:"0010",byte:"0100",kanji:"1000",eci:"0111"},capacity(e,t){let r=p[e-1],n=b[t][e-1],i=m[t][e-1],a=Math.floor(r/i)-n,o=i-r%i;return{words:n,numBlocks:i,shortBlocks:o,blockLen:a,capacity:(r-n*i)*8,total:(n+a)*i+i-o}}},g=[(e,t)=>(e+t)%2==0,(e,t)=>t%2==0,(e,t)=>e%3==0,(e,t)=>(e+t)%3==0,(e,t)=>(Math.floor(t/2)+Math.floor(e/3))%2==0,(e,t)=>e*t%2+e*t%3==0,(e,t)=>(e*t%2+e*t%3)%2==0,(e,t)=>((e+t)%2+e*t%3)%2==0],w={tables:(e=>{let t=s(256,0),r=s(256,0);for(let n=0,i=1;n<256;n++)t[n]=i,r[i]=n,256&(i<<=1)&&(i^=e);return{exp:t,log:r}})(285),exp:e=>w.tables.exp[e],log(e){if(0===e)throw Error(`GF.log: invalid arg=${e}`);return w.tables.log[e]%255},mul:(e,t)=>
17530===e||0===t?0:w.tables.exp[(w.tables.log[e]+w.tables.log[t])%255],add:(e,t)=>e^t,pow:(e,t)=>w.tables.exp[w.tables.log[e]*t%255],inv(e){if(0===e)throw Error(`GF.inverse: invalid arg=${e}`);return w.tables.exp[255-w.tables.log[e]]},polynomial(e){if(0==e.length)throw Error("GF.polymomial: invalid length");if(0!==e[0])return e;let t=0;for(;t<e.length-1&&0==e[t];t++);return e.slice(t)},monomial(e,t){if(e<0)throw Error(`GF.monomial: invalid degree=${e}`);if(0==t)return[0];let r=s(e+1,0);return r[0]=t,w.polynomial(r)},degree:e=>e.length-1,coefficient:(e,t)=>e[w.degree(e)-t],mulPoly(e,t){if(0===e[0]||0===t[0])return[0];let r=s(e.length+t.length-1,0);for(let n=0;n<e.length;n++)for(let i=0;i<t.length;i++)r[n+i]=w.add(r[n+i],w.mul(e[n],t[i]));return w.polynomial(r)},mulPolyScalar(e,t){if(0==t)return[0];if(1==t)return e;let r=s(e.length,0);for(let n=0;n<e.length;n++)r[n]=w.mul(e[n],t);return w.polynomial(r)},mulPolyMonomial(e,t,r){if(t<0)throw Error("GF.mulPolyMonomial: invalid degree");if(0==r)return[0];let n=s(e.length+t,0);for(let t=0;t<e.length;t++)n[t]=w.mul(e[t],r);return w.polynomial(n)},addPoly(e,t){if(0===e[0])return t;if(0===t[0])return e;let r=e,n=t;r.length>n.length&&([r,n]=[n,r]);let i=s(n.length,0),a=n.length-r.length,o=n.slice(0,a);for(let e=0;e<o.length;e++)i[e]=o[e];for(let e=a;e<n.length;e++)i[e]=w.add(r[e-a],n[e]);return w.polynomial(i)},remainderPoly(e,t){let r=Array.from(e);for(let n=0;n<e.length-t.length+1;n++){let e=r[n];if(0!==e)for(let i=1;i<t.length;i++)0!==t[i]&&(r[n+i]=w.add(r[n+i],w.mul(t[i],e)))}return r.slice(e.length-t.length+1,r.length)},divisorPoly(e){let t=[1];for(let r=0;r<e;r++)t=w.mulPoly(t,[1,w.pow(2,r)]);return t},evalPoly(e,t){if(0==t)return w.coefficient(e,0);let r=e[0];for(let n=1;n<e.length;n++)r=w.add(w.mul(t,r),e[n]);return r},euclidian(e,t,r){w.degree(e)<w.degree(t)&&([e,t]=[t,e]);let n=e,i=t,a=[0],o=[1];for(;2*w.degree(i)>=r;){let e=n,t=a;if(n=i,a=o,0===n[0])throw Error("rLast[0] === 0");i=e;let r=[0],s=w.inv(n[0]);for(;w.degree(i)>=w.degree(n)&&0!==i[0];){let e=w.degree(i)-w.degree(n),t=w.mul(i[0],s);r=w.addPoly(r,w.monomial(e,t)),i=w.addPoly(i,w.mulPolyMonomial(n,e,t))}if(r=w.mulPoly(r,a),o=w.addPoly(r,t),w.degree(i)>=w.degree(n))throw Error(`Division failed r: ${i}, rLast: ${n}`)}let s=w.coefficient(o,0);if(0==s)throw Error("sigmaTilde(0) was zero");let c=w.inv(s);return[w.mulPolyScalar(o,c),w.mulPolyScalar(i,c)]}};function v(e,t,r,n){let i="",o=r.length;if("numeric"===n){let e=y.alphabet.numeric.decode(r.split("")),t=e.length;for(let r=0;r<t-2;r+=3)i+=a(100*e[r]+10*e[r+1]+e[r+2],10);t%3==1?i+=a(e[t-1],4):t%3==2&&(i+=a(10*e[t-2]+e[t-1],7))}else if("alphanumeric"===n){let e=y.alphabet.alphanumerc.decode(r.split("")),t=e.length;for(let r=0;r<t-1;r+=2)i+=a(45*e[r]+e[r+1],11);t%2==1&&(i+=a(e[t-1],6))}else if("byte"===n){let e=function(e){if("string"!=typeof e)throw Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}(r);o=e.length,i=Array.from(e).map(e=>a(e,8)).join("")}else throw Error("encode: unsupported type");let{capacity:l}=y.capacity(e,t),u=a(o,y.lengthBits(e,n)),d=y.modeBits[n]+u+i;if(d.length>l)throw Error("Capacity overflow");(d+="0".repeat(Math.min(4,Math.max(0,l-d.length)))).length%8&&(d+="0".repeat(8-d.length%8));let f="1110110000010001";for(let e=0;d.length!==l;e++)d+=f[e%f.length];let h=Uint8Array.from(d.match(/(.{8})/g).map(e=>Number(`0b${e}`)));return(function(e,t){let{words:r,shortBlocks:n,numBlocks:i,blockLen:a,total:o}=y.capacity(e,t),l={encode(e){let t=w.divisorPoly(r),n=Array.from(e);return n.push(...t.slice(0,-1).fill(0)),Uint8Array.from(w.remainderPoly(n,t))},decode(e){let t=e.slice(),n=w.polynomial(Array.from(e)),i=s(r,0),a=!1;for(let e=0;e<r;e++){let t=w.evalPoly(n,w.exp(e));i[i.length-1-e]=t,0!==t&&(a=!0)}if(!a)return t;i=w.polynomial(i);let o=w.monomial(r,1),[c,l]=w.euclidian(o,i,r),u=s(w.degree(c),0),d=0;for(let e=1;e<256&&d<u.length;e++)0===w.evalPoly(c,e)&&(u[d++]=w.inv(e));if(d!==u.length)throw Error("RS.decode: invalid errors number");for(let e=0;e<u.length;e++){let r=t.length-1-w.log(u[e]);if(r<0)throw Error("RS.decode: invalid error location");let n=w.inv(u[e]),i=1;for(let t=0;t<u.length;t++)e!==t&&(i=w.mul(i,w.add(1,w.mul(u[t],n))));t[r]=w.add(t[r],w.mul(w.evalPoly(l,n),w.inv(i)))}return t}};return{encode(e){let t=[],r=[];for(let o=0;o<i;o++){let i=a+ +!(o<n);t.push(e.subarray(0,i)),r.push(l.encode(e.subarray(0,i))),e=e.subarray(i)}let o=c(...t),s=c(...r),u=new Uint8Array(o.length+s.length);return u.set(o),u.set(s,o.length),u},decode(e){if(e.length!==o)throw Error(`interleave.decode: len(data)=${e.length}, total=${o}`);let t=[];for(let e=0;e<i;e++){let i=e<n;t.push(new Uint8Array(r+a+ +!i))}let s=0;for(let r=0;r<a;r++)for(let n=0;n<i;n++)t[n][r]=e[s++];for(let r=n;r<i;r++)t[r][a]=e[s++];for(let o=a;o<a+r;o++)for(let r=0;r<i;r++){let i=r<n;t[r][o+ +!i]=e[s++]}let c=[];for(let e of t)c.push(...Array.from(l.decode(e)).slice(0,-r));return Uint8Array.from(c)}}})(e,t).encode(h)}function A(e,t,r,n,i=!1){let a=function(e,t,r,n=!1){let i=y.size.encode(e),a=new d(i+2),o=new d(3).rect(0,3,!0).border(1,!1).border(1,!0).border(1,!1);a=(a=a.embed(0,o).embed({x:-o.width,y:0},o).embed({x:0,y:-o.height},o)).rectSlice(1,i);let s=new d(1).rect(0,1,!0).border(1,!1).border(1,!0),c=y.alignmentPatterns(e);for(let e of c)for(let t of c)void 0===a.data[e][t]&&a.embed({x:t-2,y:e-2},s);a=a.hLine({x:0,y:6},1/0,({x:e},t)=>void 0===t?e%2==0:t).vLine({x:6,y:0},1/0,({y:e},t)=>void 0===t?e%2==0:t);{let e=y.formatBits(t,r),o=t=>!n&&(e>>t&1)==1;for(let e=0;e<6;e++)a.data[e][8]=o(e);for(let e=6;e<8;e++)a.data[e+1][8]=o(e);for(let e=8;e<15;e++)a.data[i-15+e][8]=o(e);for(let e=0;e<8;e++)a.data[8][i-e-1]=o(e);for(let e=8;e<9;e++)a.data[8][15-e-1+1]=o(e);for(let e=9;e<15;e++)a.data[8][15-e-1]=o(e);a.data[i-8][8]=!n}if(e>=7){let t=y.versionBits(e);for(let e=0;e<18;e+=1){let r=!n&&(t>>e&1)==1,o=Math.floor(e/3),s=e%3+i-8-3;a.data[o][s]=r,a.data[s][o]=r}}return a}(e,t,n,i),o=0,s=8*r.length;
1753if(!function(e,t,r){let n=e.height,i=g[t],a=-1,o=n-1;for(let t=n-1;t>0;t-=2){for(6==t&&(t=5);;o+=a){for(let n=0;n<2;n+=1){let a=t-n;void 0===e.data[o][a]&&r(a,o,i(a,o))}if(o+a<0||o+a>=n)break}a=-a}}(a,n,(e,t,n)=>{let i=!1;o<s&&(i=(r[o>>>3]>>(7-o&7)&1)!=0,o++),a.data[t][e]=i!==n}),o!==s)throw Error("QR: bytes left after draw");return a}function x(e){let{arena:t,...r}=e;return(0,n.jsxs)(x.Root,{...r,children:[(0,n.jsx)(x.Finder,{}),(0,n.jsx)(x.Cells,{}),t&&(0,n.jsx)(x.Arena,{children:"string"==typeof t?(0,n.jsx)("img",{alt:"Arena",src:t,style:{borderRadius:1,height:"100%",objectFit:"cover",width:"100%"}}):t})]})}!function(e){function t(t){let{children:r,size:a="100%",value:o,version:s,errorCorrection:c,...u}=t,d=i.useMemo(()=>(i.Children.map(r,e=>i.isValidElement(e)&&"string"!=typeof e.type&&"displayName"in e.type&&"Arena"===e.type.displayName||null)??[]).some(Boolean),[r]),p=i.useMemo(()=>{let e=c;return d&&"low"===c&&(e="medium"),function(e,t={}){let{errorCorrection:r,version:n}=t,i=function(e,t="raw",r={}){let n=void 0!==r.ecc?r.ecc:"medium";if(!f.includes(n))throw Error(`Invalid error correction mode=${n}. Expected: ${f}`);let i=void 0!==r.encoding?r.encoding:function(e){let t="numeric";for(let r of e)if(!y.alphabet.numeric.has(r)&&(t="alphanumeric",!y.alphabet.alphanumerc.has(r)))return"byte";return t}(e);if(!h.includes(i))throw Error(`Encoding: invalid mode=${i}. Expected: ${h}`);if("kanji"===i||"eci"===i)throw Error(`Encoding: ${i} is not supported (yet?).`);void 0!==r.mask&&function(e){if(![0,1,2,3,4,5,6,7].includes(e)||!g[e])throw Error(`Invalid mask=${e}. Expected number [0..7]`)}(r.mask);let a=r.version,o,s=Error("Unknown error");if(void 0!==a){var c=a;if(!Number.isSafeInteger(c)||c<1||c>40)throw Error(`Invalid version=${c}. Expected number [1..40]`);o=v(a,n,e,i)}else for(let t=1;t<=40;t++)try{o=v(t,n,e,i),a=t;break}catch(e){s=e}if(!a||!o)throw s;let u=function(e,t,r,n){if(void 0===n){let i,a,o=(a=1/0,{add(e,t){e>=a||(i=t,a=e)},get:()=>i,score:()=>a});for(let n=0;n<g.length;n++)o.add(function(e){let t=e.inverse(),r=e=>{let t=0;for(let r=0,n=1,i;r<e.length;r++)(i!==e[r]||(n++,r===e.length-1))&&(n>=5&&(t+=3+(n-5)),i=e[r],n=1);return t},n=0;e.data.forEach(e=>n+=r(e)),t.data.forEach(e=>n+=r(e));let i=0,a=e.data,o=e.width-1,s=e.height-1;for(let e=0;e<o;e++)for(let t=0;t<s;t++){let r=e+1,n=t+1;a[e][t]===a[r][t]&&a[r][t]===a[e][n]&&a[r][t]===a[r][n]&&(i+=3)}let c=e=>{let t=[!0,!1,!0,!0,!0,!1,!0],r=[!1,!1,!1,!1],n=[...t,...r],i=[...r,...t],a=0;for(let t=0;t<e.length;t++)l(e,n,t)&&(a+=40),l(e,i,t)&&(a+=40);return a},u=0;for(let t of e.data)u+=c(t);for(let e of t.data)u+=c(e);let d=0;e.rectRead(0,1/0,(e,t)=>d+=+!!t);let f=10*Math.floor(Math.abs(d/(e.height*e.width)*100-50)/5);return n+i+u+f}(A(e,t,r,n,!0)),n);n=o.get()}if(void 0===n)throw Error("Cannot find mask");return A(e,t,r,n)}(a,n,o,r.mask);u.assertDrawn();let d=void 0===r.border?2:r.border;if(!Number.isSafeInteger(d))throw Error(`invalid border type=${typeof d}`);if(u=u.border(d,!1),void 0!==r.scale&&(u=u.scale(r.scale)),"raw"===t)return u.data;if("ascii"===t)return u.toASCII();if("svg"===t)return u.toSVG(r.optimize);if("gif"===t)return u.toGIF();if("term"===t)return u.toTerm();else throw Error(`Unknown output: ${t}`)}(e,"raw",{border:0,ecc:r,scale:1,version:n});return{edgeLength:i.length,finderLength:7,grid:i,value:e}}(o,{errorCorrection:e,version:s})},[o,d,c,s]),b=+p.edgeLength,m=p.finderLength/2,w=d?Math.floor(b/4):0,x=i.useMemo(()=>({arenaSize:w,cellSize:1,edgeSize:b,qrcode:p,finderSize:m}),[w,b,p,m]);return(0,n.jsx)(e.Context.Provider,{value:x,children:(0,n.jsxs)("svg",{...u,width:a,height:a,viewBox:`0 0 ${b} ${b}`,xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"QR Code"}),r]})})}function r(t){let{className:r,fill:a,innerClassName:o,radius:s=.25}=t,{cellSize:c,edgeSize:l,finderSize:u}=i.useContext(e.Context);function d({position:e}){let t=u-(u-c)-c/2;"top-right"===e&&(t=l-u-(u-c)-c/2);let i=u-(u-c)-c/2;"bottom-left"===e&&(i=l-u-(u-c)-c/2);let d=u-1.5*c;"top-right"===e&&(d=l-u-1.5*c);let f=u-1.5*c;return"bottom-left"===e&&(f=l-u-1.5*c),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("rect",{className:r,stroke:a??"currentColor",fill:"transparent",x:t,y:i,width:c+(u-c)*2,height:c+(u-c)*2,rx:2*s*(u-c),ry:2*s*(u-c),strokeWidth:c}),(0,n.jsx)("rect",{className:o,fill:a??"currentColor",x:d,y:f,width:3*c,height:3*c,rx:2*s*c,ry:2*s*c})]})}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{position:"top-left"}),(0,n.jsx)(d,{position:"top-right"}),(0,n.jsx)(d,{position:"bottom-left"})]})}function a(t){let{className:r,fill:a="currentColor",inset:o=!0,radius:s=1}=t,{arenaSize:c,cellSize:l,qrcode:u}=i.useContext(e.Context),{edgeLength:d,finderLength:f}=u,h=i.useMemo(()=>{let e="";for(let t=0;t<u.grid.length;t++){let r=u.grid[t];if(r)for(let n=0;n<r.length;n++){if(!r[n])continue;let i=d/2-c/2,a=i+c;if(t>=i&&t<=a&&n>=i&&n<=a)continue;let u=t<f&&n<f,h=t<f&&n>=d-f,p=t>=d-f&&n<f;if(u||h||p)continue;let b=o?.1*l:0,m=(l-2*b)/2,y=n*l+l/2,g=t*l+l/2,w=y-m,v=y+m,A=g-m,x=g+m,C=s*m;e+=`M ${w+C},${A} L ${v-C},${A} A ${C},${C} 0 0,1 ${v},${A+C} L ${v},${x-C} A ${C},${C} 0 0,1 ${v-C},${x} L ${w+C},${x} A ${C},${C} 0 0,1 ${w},${x-C} L ${w},${A+C} A ${C},${C} 0 0,1 ${w+C},${A} z`}}return e},[c,l,d,f,u.grid,o,s]);return(0,n.jsx)("path",{className:r,d:h,fill:a})}function o(t){let{children:r}=t,{arenaSize:a,cellSize:o,edgeSize:s}=i.useContext(e.Context),c=Math.ceil(s/2-a/2),l=a+a%2;return(0,n.jsx)("foreignObject",{x:c,y:c,width:l,height:l,children:(0,n.jsx)("div",{style:{alignItems:"center",display:"flex",fontSize:1,justifyContent:"center",height:"100%",overflow:"hidden",
1753width:"100%",padding:o/2,boxSizing:"border-box"},children:r})})}e.Context=i.createContext(null),e.Root=t,(t=e.Root||(e.Root={})).displayName="Root",e.Finder=r,(r=e.Finder||(e.Finder={})).displayName="Finder",e.Cells=a,(a=e.Cells||(e.Cells={})).displayName="Cells",e.Arena=o,(o=e.Arena||(e.Arena={})).displayName="Arena"}(x||(x={}))},71386:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(66568);class i extends n.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"})}}},72242:(e,t,r)=>{"use strict";function n(e){return JSON.stringify(e,(e,t)=>!function(e){if(!i(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!i(r)&&!!r.hasOwnProperty("isPrototypeOf")}(t)?"bigint"==typeof t?t.toString():t:Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}))}function i(e){return"[object Object]"===Object.prototype.toString.call(e)}function a(e){let{_defaulted:t,behavior:r,gcTime:n,initialData:i,initialDataUpdatedAt:a,maxPages:o,meta:s,networkMode:c,queryFn:l,queryHash:u,queryKey:d,queryKeyHashFn:f,retry:h,retryDelay:p,structuralSharing:b,getPreviousPageParam:m,getNextPageParam:y,initialPageParam:g,_optimisticResults:w,enabled:v,notifyOnChangeProps:A,placeholderData:x,refetchInterval:C,refetchIntervalInBackground:E,refetchOnMount:I,refetchOnReconnect:B,refetchOnWindowFocus:P,retryOnMount:k,select:S,staleTime:O,suspense:M,throwOnError:R,config:T,connector:F,query:N,...j}=e;return j}r.d(t,{Zi:()=>n,xO:()=>a})},72401:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(96002);function i(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 n.Vg({transaction:e})}},73062:(e,t,r)=>{"use strict";r.d(t,{Q:()=>g});var n=r(51011),i=r(66568),a=r(12131),o=r(84428),s=r(70536),c=r(22160),l=r(96002);class u extends i.C{constructor(e,{account:t,docsPath:r,chain:n,data:i,gas:a,gasPrice:o,maxFeePerGas:u,maxPriorityFeePerGas:d,nonce:f,to:h,value:p}){super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",(0,l.aO)({from:t?.address,to:h,value:void 0!==p&&`${(0,s.c)(p)} ${n?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:a,gasPrice:void 0!==o&&`${(0,c.Q)(o)} gwei`,maxFeePerGas:void 0!==u&&`${(0,c.Q)(u)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,c.Q)(d)} gwei`,nonce:f})].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var d=r(4174),f=r(31750),h=r(89649),p=r(58637),b=r(77309),m=r(97948),y=r(29562);async function g(e,t){let{account:r=e.account,prepare:s=!0}=t,c=r?(0,n.J)(r):void 0,l=Array.isArray(s)?s:c?.type!=="local"?["blobVersionedHashes"]:void 0;try{let{accessList:r,authorizationList:n,blobs:u,blobVersionedHashes:d,blockNumber:f,blockTag:g,data:w,gas:v,gasPrice:A,maxFeePerBlobGas:x,maxFeePerGas:C,maxPriorityFeePerGas:E,nonce:I,value:B,stateOverride:P,...k}=s?await (0,y.ft)(e,{...t,parameters:l}):t,S=("bigint"==typeof f?(0,o.cK)(f):void 0)||g,O=(0,b.yH)(P),M=await (async()=>k.to?k.to:n&&n.length>0?await (0,a.g)({authorization:n[0]}).catch(()=>{throw new i.C("`to` is required. Could not infer from `authorizationList`")}):void 0)();(0,m.c)(t);let R=e.chain?.formatters?.transactionRequest?.format,T=(R||p.Bv)({...(0,h.o)(k,{format:R}),account:c,accessList:r,authorizationList:n,blobs:u,blobVersionedHashes:d,data:w,gas:v,gasPrice:A,maxFeePerBlobGas:x,maxFeePerGas:C,maxPriorityFeePerGas:E,nonce:I,to:M,value:B},"estimateGas");return BigInt(await e.request({method:"eth_estimateGas",params:O?[T,S??e.experimental_blockTag??"latest",O]:S?[T,S]:[T]}))}catch(r){throw function(e,{docsPath:t,...r}){let n;return new u((n=(0,f.l)(e,r))instanceof d.RM?e:n,{docsPath:t,...r})}(r,{...t,account:c,chain:e.chain})}}},73260:(e,t,r)=>{"use strict";r.d(t,{Lj:()=>s,WB:()=>l,uL:()=>c});var n=r(94747),i=r(70910),a=r(40098),o=r(43748);let s={"0x0":"reverted","0x1":"success"};function c(e,t){let r={...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,a.e)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,n.ME)(e.transactionIndex):null,status:e.status?s[e.status]:null,type:e.type?o.b4[e.type]||e.type:null};return e.blobGasPrice&&(r.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(r.blobGasUsed=BigInt(e.blobGasUsed)),r}let l=(0,i.q)("transactionReceipt",c)},73320:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(80044),i=r(37826),a=r(42330);let o="/docs/contract/decodeFunctionResult";function s(e){let{abi:t,args:r,functionName:s,data:c}=e,l=t[0];if(s){let e=(0,a.iY)({abi:t,args:r,name:s});if(!e)throw new n.Iz(s,{docsPath:o});l=e}if("function"!==l.type)throw new n.Iz(void 0,{docsPath:o});if(!l.outputs)throw new n.MR(l.name,{docsPath:o});let u=(0,i.n)(l.outputs,c);return u&&u.length>1?u:u&&1===u.length?u[0]:void 0}},73331:(e,t,r)=>{"use strict";r.d(t,{d:()=>s});
1753var n=r(84428),i=r(48070),a=r(89762),o=r(22106);function s(e){let{commitments:t,version:r}=e,s=e.to??("string"==typeof t[0]?"hex":"bytes"),c=[];for(let e of t)c.push(function(e){let{commitment:t,version:r=1}=e,s=e.to??("string"==typeof t?"hex":"bytes"),c=(0,i.sc)((0,a.q)(t,{strict:!1})?(0,o.ZJ)(t):t);return c.set([r],0),"bytes"===s?c:(0,n.My)(c)}({commitment:e,to:s,version:r}));return c}},74696:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(51011),i=r(85622);function a(e){let{batch:t,chain:r,ccipRead:a,key:o="base",name:s="Base Client",type:c="base"}=e,l=e.experimental_blockTag??("number"==typeof r?.experimental_preconfirmationTime?"pending":void 0),u=Math.min(Math.max(Math.floor((r?.blockTime??12e3)/2),500),4e3),d=e.pollingInterval??u,f=e.cacheTime??d,h=e.account?(0,n.J)(e.account):void 0,{config:p,request:b,value:m}=e.transport({chain:r,pollingInterval:d}),y={account:h,batch:t,cacheTime:f,ccipRead:a,chain:r,key:o,name:s,pollingInterval:d,request:b,transport:{...p,...m},type:c,uid:(0,i.L)(),...l?{experimental_blockTag:l}:{}};return Object.assign(y,{extend:function e(t){return r=>{let n=r(t);for(let e in y)delete n[e];let i={...t,...n};return Object.assign(i,{extend:e(i)})}}(y)})}},74833:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(84428);async function i(e,{address:t,blockNumber:r,blockTag:i="latest"}){let a=void 0!==r?(0,n.cK)(r):void 0,o=await e.request({method:"eth_getCode",params:[t,a||i]},{dedupe:!!a});if("0x"!==o)return o}},75411:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(4879);function i({blockNumber:e,chain:t,contract:r}){let i=t?.contracts?.[r];if(!i)throw new n.rj({chain:t,contract:{name:r}});if(e&&i.blockCreated&&i.blockCreated>e)throw new n.rj({blockNumber:e,chain:t,contract:{name:r,blockCreated:i.blockCreated}});return i.address}},75732:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(51011),i=r(6593),a=r(84428);async function o(e,{account:t=e.account,message:r}){if(!t)throw new i.T({docsPath:"/docs/actions/wallet/signMessage"});let o=(0,n.J)(t);if(o.signMessage)return o.signMessage({message:r});let s="string"==typeof r?(0,a.i3)(r):r.raw instanceof Uint8Array?(0,a.nj)(r.raw):r.raw;return e.request({method:"personal_sign",params:[s,o.address]},{retryCount:0})}},76429:(e,t,r)=>{"use strict";function n(e){return"string"==typeof e[0]?i(e):function(e){let t=0;for(let r of e)t+=r.length;let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}(e)}function i(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}r.d(t,{aP:()=>i,xW:()=>n})},76900:(e,t,r)=>{"use strict";r.d(t,{T:()=>x});var n=r(90403),i=r(51392),a=r(51011),o=r(18587),s=r(32547),c=r(66568),l=r(4879),u=r(78568),d=r(73320),f=r(24642),h=r(4181),p=r(75411),b=r(84428),m=r(96462),y=r(89649),g=r(58637),w=r(37295),v=r(77309),A=r(97948);async function x(e,t){let{account:o=e.account,authorizationList:d,batch:h=!!e.batch?.multicall,blockNumber:p,blockTag:w=e.experimental_blockTag??"latest",accessList:x,blobs:I,blockOverrides:B,code:P,data:k,factory:S,factoryData:O,gas:M,gasPrice:R,maxFeePerBlobGas:T,maxFeePerGas:F,maxPriorityFeePerGas:N,nonce:j,to:U,value:D,stateOverride:q,...Q}=t,L=o?(0,a.J)(o):void 0;if(P&&(S||O))throw new c.C("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(P&&U)throw new c.C("Cannot provide both `code` & `to` as parameters.");let W=P&&k,$=S&&O&&U&&k,z=W||$,G=W?E({code:P,data:k}):$?function(e){let{data:t,factory:r,factoryData:i,to:a}=e;return(0,f.m)({abi:(0,n.U)(["constructor(address, bytes, address, bytes)"]),bytecode:s.WN,args:[a,t,r,i]})}({data:k,factory:S,factoryData:O,to:U}):k;try{let r;(0,A.c)(t);let n=("bigint"==typeof p?(0,b.cK)(p):void 0)||w,a=B?i.J(B):void 0,o=(0,v.yH)(q),s=e.chain?.formatters?.transactionRequest?.format,c=(s||g.Bv)({...(0,y.o)(Q,{format:s}),accessList:x,account:L,authorizationList:d,blobs:I,data:G,gas:M,gasPrice:R,maxFeePerBlobGas:T,maxFeePerGas:F,maxPriorityFeePerGas:N,nonce:j,to:z?void 0:U,value:D},"call");if(h&&function({request:e}){let{data:t,to:r,...n}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!r&&!(Object.values(n).filter(e=>void 0!==e).length>0)}({request:c})&&!o&&!a)try{return await C(e,{...c,blockNumber:p,blockTag:w})}catch(e){if(!(e instanceof l.YE)&&!(e instanceof l.rj))throw e}let u=(r=[c,n],o&&a?[...r,o,a]:o?[...r,o]:a?[...r,{},a]:r),f=await e.request({method:"eth_call",params:u});if("0x"===f)return{data:void 0};return{data:f}}catch(o){let n=function(e){if(!(e instanceof c.C))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(o),{offchainLookup:i,offchainLookupSignature:a}=await r.e(1417).then(r.bind(r,11417));if(!1!==e.ccipRead&&n?.slice(0,10)===a&&U)return{data:await i(e,{data:n,to:U})};if(z&&n?.slice(0,10)==="0x101bb98d")throw new u.Po({factory:S});throw(0,m.d)(o,{...t,account:L,chain:e.chain})}}async function C(e,t){let{batchSize:r=1024,deployless:n=!1,wait:i=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:a,blockTag:c=e.experimental_blockTag??"latest",data:f,to:m}=t,y=(()=>
1753{if(n)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return(0,p.M)({blockNumber:a,chain:e.chain,contract:"multicall3"});throw new l.YE})(),g=("bigint"==typeof a?(0,b.cK)(a):void 0)||c,{schedule:v}=(0,w.u)({id:`${e.uid}.${g}`,wait:i,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*r,fn:async t=>{let r=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),n=(0,h.p)({abi:o.v2,args:[r],functionName:"aggregate3"}),i=await e.request({method:"eth_call",params:[{...null===y?{data:E({code:s.Ez,data:n})}:{to:y,data:n}},g]});return(0,d.e)({abi:o.v2,args:[r],functionName:"aggregate3",data:i||"0x"})}}),[{returnData:A,success:x}]=await v({data:f,to:m});if(!x)throw new u.$S({data:A});return"0x"===A?{data:void 0}:{data:A}}function E(e){let{code:t,data:r}=e;return(0,f.m)({abi:(0,n.U)(["constructor(bytes, bytes)"]),bytecode:s.LX,args:[t,r]})}},77022:(e,t,r)=>{"use strict";r.d(t,{t:()=>a});var n=r(22106),i=r(84428);function a(e){let{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,n.aT)(e)):e.blobs,o="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,n.aT)(e)):e.commitments,s=[];for(let e=0;e<a.length;e++){let r=a[e],n=o[e];s.push(Uint8Array.from(t.computeBlobKzgProof(r,n)))}return"bytes"===r?s:s.map(e=>(0,i.My)(e))}},77309:(e,t,r)=>{"use strict";r.d(t,{yH:()=>l});var n=r(71386),i=r(44546),a=r(12515),o=r(80339),s=r(84428);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:r})=>{if(66!==t.length)throw new i.NV({size:t.length,targetSize:66,type:"hex"});if(66!==r.length)throw new i.NV({size:r.length,targetSize:66,type:"hex"});return e[t]=r,e},{})}function l(e){if(!e)return;let t={};for(let{address:r,...i}of e){if(!(0,o.P)(r,{strict:!1}))throw new n.M({address:r});if(t[r])throw new a.Hi({address:r});t[r]=function(e){let{balance:t,nonce:r,state:n,stateDiff:i,code:o}=e,l={};if(void 0!==o&&(l.code=o),void 0!==t&&(l.balance=(0,s.cK)(t)),void 0!==r&&(l.nonce=(0,s.cK)(r)),void 0!==n&&(l.state=c(n)),void 0!==i){if(l.state)throw new a.ft;l.stateDiff=c(i)}return l}(i)}return t}},77436:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(49303),i=r(12115),a=function(e){var t=e.sideCar,r=(0,n.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw Error("Sidecar medium not found");return i.createElement(a,(0,n.Cl)({},r))};function o(e,t){return e.useMedium(t),a}a.isSideCarExport=!0},78568:(e,t,r)=>{"use strict";r.d(t,{zX:()=>y,bG:()=>g,M:()=>w,rR:()=>v,Po:()=>A,$S:()=>x});var n=r(51011),i=r(95889),a=r(52856),o=r(24029),s=r(91497);function c({abiItem:e,args:t,includeFunctionName:r=!0,includeName:n=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${r?e.name:""}(${e.inputs.map((e,r)=>`${n&&e.name?`${e.name}: `:""}${"object"==typeof t[r]?(0,s.A)(t[r]):t[r]}`).join(", ")})`}var l=r(42330),u=r(70536),d=r(22160),f=r(80044),h=r(66568),p=r(12515),b=r(96002),m=r(18267);class y extends h.C{constructor(e,{account:t,docsPath:r,chain:i,data:a,gas:o,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:l,nonce:f,to:h,value:m,stateOverride:y}){const g=t?(0,n.J)(t):void 0;let w=(0,b.aO)({from:g?.address,to:h,value:void 0!==m&&`${(0,u.c)(m)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:o,gasPrice:void 0!==s&&`${(0,d.Q)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.Q)(c)} gwei`,maxPriorityFeePerGas:void 0!==l&&`${(0,d.Q)(l)} gwei`,nonce:f});y&&(w+=`
1754${(0,p.uj)(y)}`),super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",w].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class g extends h.C{constructor(e,{abi:t,args:r,contractAddress:n,docsPath:i,functionName:a,sender:s}){const u=(0,l.iY)({abi:t,args:r,name:a}),d=u?c({abiItem:u,args:r,includeFunctionName:!1,includeName:!1}):void 0,f=u?(0,o.B)(u,{includeName:!0}):void 0,h=(0,b.aO)({address:n&&(0,m.R)(n),function:f,args:d&&"()"!==d&&`${[...Array(a?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:s});super(e.shortMessage||`An unknown error occurred while executing the contract function "${a}".`,{cause:e,docsPath:i,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],h&&"Contract Call:",h].filter(
vendor: 6,922 bytes, lines 1754-1756
1754Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=r,this.cause=e,this.contractAddress=n,this.functionName=a,this.sender=s}}class w extends h.C{constructor({abi:e,data:t,functionName:r,message:n}){let s,l,u,d,h;if(t&&"0x"!==t)try{const{abiItem:r,errorName:n,args:s}=l=(0,a.W)({abi:e,data:t});if("Error"===n)d=s[0];else if("Panic"===n){const[e]=s;d=i.fD[e]}else{const e=r?(0,o.B)(r,{includeName:!0}):void 0,t=r&&s?c({abiItem:r,args:s,includeFunctionName:!1,includeName:!1}):void 0;u=[e?`Error: ${e}`:"",t&&"()"!==t?`       ${[...Array(n?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){s=e}else n&&(d=n);s instanceof f.Wq&&(h=s.signature,u=[`Unable to decode signature "${h}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${h}.`]),super(d&&"execution reverted"!==d||h?[`The contract function "${r}" reverted with the following ${h?"signature":"reason"}:`,d||h].join("\n"):`The contract function "${r}" reverted.`,{cause:s,metaMessages:u,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=l,this.raw=t,this.reason=d,this.signature=h}}class v extends h.C{constructor({functionName:e}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",`  - The contract does not have the function "${e}",`,"  - The parameters passed to the contract function may be invalid, or","  - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class A extends h.C{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class x extends h.C{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}},79830:(e,t,r)=>{"use strict";r.d(t,{HF:()=>l,aj:()=>s,gC:()=>o,nM:()=>a,nk:()=>i,xU:()=>c});var n=r(4038);class i extends n.C{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class a extends n.C{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class o extends n.C{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}n.C;class s extends n.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 n.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 l extends n.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"})}}},80044:(e,t,r)=>{"use strict";r.d(t,{BI:()=>C,EB:()=>A,Iy:()=>c,Iz:()=>w,MR:()=>v,M_:()=>g,Nc:()=>u,O:()=>l,Wl:()=>O,Wq:()=>b,YE:()=>f,YF:()=>s,YW:()=>o,ZP:()=>h,_z:()=>m,d_:()=>S,dm:()=>k,fo:()=>E,gH:()=>d,j:()=>P,kE:()=>y,l3:()=>I,nK:()=>B,nM:()=>x,yy:()=>p});var n=r(24029),i=r(45696),a=r(66568);class o extends a.C{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class s extends a.C{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}a.C;class c extends a.C{constructor({data:e,params:t,size:r}){super(`Data size of ${r} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,n.A)(t,{includeName:!0})})`,`Data:   ${e} (${r} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=t,this.size=r}}class l extends a.C{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class u extends a.C{constructor({expectedLength:e,givenLength:t,type:r}){super(`ABI encoding array length mismatch for type ${r}.
1755Expected length: ${e}
1756Given length: ${t}
1756`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends a.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,i.E)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class f extends a.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
1757Expected length (params): ${e}
1758Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class h extends a.C{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`).
1759Cannot encode error result without knowing what the parameter types are.
1760Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class p extends a.C{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI.
1761Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class b extends a.C{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI.
1762Make sure you are using the correct ABI and that the error exists on it.
1763You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class m extends a.C{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class y extends a.C{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
1764Make sure you are using the correct ABI and that the event exists on it.
1765You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class g extends a.C{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
1766Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class w extends a.C{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
1767Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class v extends a.C{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI.
1768Cannot decode function result without knowing what the parameter types are.
1769Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class A extends a.C{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI.
1770Make sure you are using the correct ABI and that the function exists on it.
1771You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class x extends a.C{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,n.B)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,n.B)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class C extends a.C{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class E extends a.C{constructor({abiItem:e,data:t,params:r,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,n.A)(r,{includeName:!0})})`,`Data:   ${t} (${i} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=t,this.params=r,this.size=i}}class I extends a.C{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,n.B)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class B extends a.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
1772Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class P extends a.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
1773Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class k extends a.C{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class S extends a.C{constructor(e){super(`"${e}" is not a valid definition type.
1774Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class O extends a.C{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},80339:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(86301),i=r(96685);let a=/^0x[a-fA-F0-9]{40}$/,o=new n.A(8192);function s(e,t){let{strict:r=!0}=t??{},n=`${e}.${r}`;if(o.has(n))return o.get(n);let s=!!a.test(e)&&(e.toLowerCase()===e||!r||(0,i.o)(e)===e);return o.set(n,s),s}},80771:(e,t,r)=>{"use strict";r.d(t,{y:()=>a});var n=r(94747),i=r(84428);async function a(e,{address:t,blockTag:r="latest",blockNumber:a}){let o=await e.request({method:"eth_getTransactionCount",params:[t,"bigint"==typeof a?(0,i.cK)(a):r]},{dedupe:!!a});return(0,n.ME)(o)}},81693:(e,t,r)=>{"use strict";r.d(t,{A1:()=>l,di:()=>o,iN:()=>u});var n=r(44546),i=r(89762),a=r(45696);function o(e,t,r,{strict:n}={}){return(0,i.q)(e,{strict:!1})?u(e,t,r,{strict:n}):l(e,t,r,{strict:n})}function s(e,t){if("number"==typeof t&&t>0&&t>(0,a.E)(e)-1)throw new n.ii({offset:t,position:"start",size:(0,a.E)(e)})}function c(e,t,r){if("number"==typeof t&&"number"==typeof r&&(0,a.E)(e)!==r-t)throw new n.ii({offset:r,position:"end",size:(0,a.E)(e)})}function l(e,t,r,{strict:n}={}){s(e,t);let i=e.slice(t,r);return n&&c(i,t,r),i}function u(e,t,r,{strict:n}={}){s(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return n&&c(i,t,r),i}},82578:(e,t,r)=>{"use strict";r.d(t,{jp:()=>b});var n=r(12115),i=r(13672),a=r(55947),o={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[s(r),s(n),s(i)]},l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return o;var t=c(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},u=(0,i.T0)(),d="data-scroll-locked",f=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,c=e.gap;return void 0===r&&(r="margin"),"\n  .".concat(a.E9," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(c,"px ").concat(n,";\n  }\n  body[").concat(d,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(c,"px ").concat(n,";
1774")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(a.Mi," {\n    right: ").concat(c,"px ").concat(n,";\n  }\n  \n  .").concat(a.pN," {\n    margin-right: ").concat(c,"px ").concat(n,";\n  }\n  \n  .").concat(a.Mi," .").concat(a.Mi," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(a.pN," .").concat(a.pN," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(d,"] {\n    ").concat(a.xi,": ").concat(c,"px;\n  }\n")},h=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},p=function(){n.useEffect(function(){return document.body.setAttribute(d,(h()+1).toString()),function(){var e=h()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},b=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,a=void 0===i?"margin":i;p();var o=n.useMemo(function(){return l(a)},[a]);return n.createElement(u,{styles:f(o,!t,a,r?"":"!important")})}},83599:(e,t,r)=>{"use strict";r.d(t,{Zq:()=>a,zs:()=>i});var n={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#Q=n;#L=!1;setTimeoutProvider(e){this.#Q=e}setTimeout(e,t){return this.#Q.setTimeout(e,t)}clearTimeout(e){this.#Q.clearTimeout(e)}setInterval(e,t){return this.#Q.setInterval(e,t)}clearInterval(e){this.#Q.clearInterval(e)}};function a(e){setTimeout(e,0)}},83893:(e,t,r)=>{"use strict";r.d(t,{Zh:()=>c});var n=r(44497),i=r(76429),a=r(84428),o=r(18860),s=r(35895);function c(e){let{domain:t={},message:r,primaryType:n}=e,a={EIP712Domain:(0,s.H4)({domain:t}),...e.types};(0,s.$$)({domain:t,message:r,primaryType:n,types:a});let c=["0x1901"];return t&&c.push(function({domain:e,types:t}){return l({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:a})),"EIP712Domain"!==n&&c.push(l({data:r,primaryType:n,types:a})),(0,o.S)((0,i.xW)(c))}function l({data:e,primaryType:t,types:r}){let i=function e({data:t,primaryType:r,types:i}){let s=[{type:"bytes32"}],c=[function({primaryType:e,types:t}){let r=(0,a.nj)(function({primaryType:e,types:t}){let r="",n=function e({primaryType:t,types:r},n=new Set){let i=t.match(/^\w*/u),a=i?.[0];if(n.has(a)||void 0===r[a])return n;for(let t of(n.add(a),r[a]))e({primaryType:t.type,types:r},n);return n}({primaryType:e,types:t});for(let i of(n.delete(e),[e,...Array.from(n).sort()]))r+=`${i}(${t[i].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return r}({primaryType:e,types:t}));return(0,o.S)(r)}({primaryType:r,types:i})];for(let l of i[r]){let[r,u]=function t({types:r,name:i,type:s,value:c}){if(void 0!==r[s])return[{type:"bytes32"},(0,o.S)(e({data:c,primaryType:s,types:r}))];if("bytes"===s){let e=c.length%2?"0":"";return c=`0x${e+c.slice(2)}`,[{type:"bytes32"},(0,o.S)(c)]}if("string"===s)return[{type:"bytes32"},(0,o.S)((0,a.nj)(c))];if(s.lastIndexOf("]")===s.length-1){let e=s.slice(0,s.lastIndexOf("[")),a=c.map(n=>t({name:i,type:e,types:r,value:n}));return[{type:"bytes32"},(0,o.S)((0,n.h)(a.map(([e])=>e),a.map(([,e])=>e)))]}return[{type:s},c]}({types:i,name:l.name,type:l.type,value:t[l.name]});s.push(r),c.push(u)}return(0,n.h)(s,c)}({data:e,primaryType:t,types:r});return(0,o.S)(i)}},84305:(e,t,r)=>{"use strict";r.d(t,{i:()=>E});var n=r(27854),i=r(66568);class a extends i.C{constructor({data:e}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(e)}`],name:"EnsAvatarInvalidMetadataError"})}}class o extends i.C{constructor({reason:e}){super(`ENS NFT avatar URI is invalid. ${e}`,{name:"EnsAvatarInvalidNftUriError"})}}class s extends i.C{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class c extends i.C{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}i.C;let l=/(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,u=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,d=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,f=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function h(e){try{let t=await fetch(e,{method:"HEAD"});if(200===t.status){let e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){if("object"==typeof t&&void 0!==t.response||!Object.hasOwn(globalThis,"Image"))return!1;return new Promise(t=>{let r=new Image;r.onload=()=>{t(!0)},r.onerror=()=>{t(!1)},r.src=e})}}function p(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function b({uri:e,gatewayUrls:t}){let r=d.test(e);
vendor: 5,014 bytes, line 1774
1774if(r)return{uri:e,isOnChain:!0,isEncoded:r};let n=p(t?.ipfs,"https://ipfs.io"),i=p(t?.arweave,"https://arweave.net"),a=e.match(l),{protocol:o,subpath:c,target:h,subtarget:b=""}=a?.groups||{},m="ipns:/"===o||"ipns/"===c,y="ipfs:/"===o||"ipfs/"===c||u.test(e);if(e.startsWith("http")&&!m&&!y){let r=e;return t?.arweave&&(r=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:r,isOnChain:!1,isEncoded:!1}}if((m||y)&&h)return{uri:`${n}/${m?"ipns":"ipfs"}/${h}${b}`,isOnChain:!1,isEncoded:!1};if("ar:/"===o&&h)return{uri:`${i}/${h}${b||""}`,isOnChain:!1,isEncoded:!1};let g=e.replace(f,"");if(g.startsWith("<svg")&&(g=`data:image/svg+xml;base64,${btoa(g)}`),g.startsWith("data:")||g.startsWith("{"))return{uri:g,isOnChain:!0,isEncoded:!1};throw new s({uri:e})}function m(e){if("object"!=typeof e||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new a({data:e});return e.image||e.image_url||e.image_data}async function y({gatewayUrls:e,uri:t}){try{let r=await fetch(t).then(e=>e.json());return await g({gatewayUrls:e,uri:m(r)})}catch{throw new s({uri:t})}}async function g({gatewayUrls:e,uri:t}){let{uri:r,isOnChain:n}=b({uri:t,gatewayUrls:e});if(n||await h(r))return r;throw new s({uri:t})}async function w(e,{nft:t}){if("erc721"===t.namespace)return(0,n.J)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,n.J)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new c({namespace:t.namespace})}async function v(e,{gatewayUrls:t,record:r}){return/eip155:/i.test(r)?A(e,{gatewayUrls:t,record:r}):g({uri:r,gatewayUrls:t})}async function A(e,{gatewayUrls:t,record:r}){let n=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));let[r,n,i]=t.split("/"),[a,s]=r.split(":"),[c,l]=n.split(":");if(!a||"eip155"!==a.toLowerCase())throw new o({reason:"Only EIP-155 supported"});if(!s)throw new o({reason:"Chain ID not found"});if(!l)throw new o({reason:"Contract address not found"});if(!i)throw new o({reason:"Token ID not found"});if(!c)throw new o({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s,10),namespace:c.toLowerCase(),contractAddress:l,tokenID:i}}(r),{uri:i,isOnChain:a,isEncoded:s}=b({uri:await w(e,{nft:n}),gatewayUrls:t});if(a&&(i.includes("data:application/json;base64,")||i.startsWith("{")))return g({uri:m(JSON.parse(s?atob(i.replace("data:application/json;base64,","")):i)),gatewayUrls:t});let c=n.tokenID;return"erc1155"===n.namespace&&(c=c.replace("0x","").padStart(64,"0")),y({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,c)})}var x=r(49586),C=r(51852);async function E(e,{blockNumber:t,blockTag:r,assetGatewayUrls:n,name:i,gatewayUrls:a,strict:o,universalResolverAddress:s}){let c=await (0,x.T)(e,C.m,"getEnsText")({blockNumber:t,blockTag:r,key:"avatar",name:i,universalResolverAddress:s,gatewayUrls:a,strict:o});if(!c)return null;try{return await v(e,{record:c,gatewayUrls:n})}catch{return null}}},84428:(e,t,r)=>{"use strict";r.d(t,{$P:()=>c,My:()=>l,cK:()=>u,i3:()=>f,nj:()=>s});var n=r(66347),i=r(89950),a=r(94747);let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function s(e,t={}){return"number"==typeof e||"bigint"==typeof e?u(e,t):"string"==typeof e?f(e,t):"boolean"==typeof e?c(e,t):l(e,t)}function c(e,t={}){let r=`0x${Number(e)}`;return"number"==typeof t.size?((0,a.Sl)(r,{size:t.size}),(0,i.eV)(r,{size:t.size})):r}function l(e,t={}){let r="";for(let t=0;t<e.length;t++)r+=o[e[t]];let n=`0x${r}`;return"number"==typeof t.size?((0,a.Sl)(n,{size:t.size}),(0,i.eV)(n,{dir:"right",size:t.size})):n}function u(e,t={}){let r,{signed:a,size:o}=t,s=BigInt(e);o?r=a?(1n<<8n*BigInt(o)-1n)-1n:2n**(8n*BigInt(o))-1n:"number"==typeof e&&(r=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof r&&a?-r-1n:0;if(r&&s>r||s<c){let t="bigint"==typeof e?"n":"";throw new n.Ty({max:r?`${r}${t}`:void 0,min:`${c}${t}`,signed:a,size:o,value:`${e}${t}`})}let l=`0x${(a&&s<0?(1n<<BigInt(8*o))+BigInt(s):s).toString(16)}`;return o?(0,i.eV)(l,{size:o}):l}let d=new TextEncoder;function f(e,t={}){return l(d.encode(e),t)}},85177:(e,t,r)=>{"use strict";r.d(t,{o:()=>d});var n=r(66568),i=r(93247),a=r(65261),o=r(84428);let s=new(r(86301)).A(8192);var c=r(7528),l=r(91497),u=r(85622);function d({key:e,methods:t,name:r,request:d,retryCount:f=3,retryDelay:h=150,timeout:p,type:b},m){return{config:{key:e,methods:t,name:r,request:d,retryCount:f,retryDelay:h,timeout:p,type:b},request:function(e,t={}){return async(r,u={})=>{let{dedupe:d=!1,methods:f,retryDelay:h=150,retryCount:p=3,uid:b}={...t,...u},{method:m}=r;if(f?.exclude?.includes(m)||f?.include&&!f.include.includes(m))throw new a.ab(Error("method not supported"),{method:m});let y=d?(0,o.i3)(`${b}.${(0,l.A)(r)}
1774`):void 0;return function(e,{enabled:t=!0,id:r}){if(!t||!r)return e();if(s.get(r))return s.get(r);let n=e().finally(()=>s.delete(r));return s.set(r,n),n}(()=>(0,c.b)(async()=>{try{return await e(r)}catch(e){switch(e.code){case a.XU.code:throw new a.XU(e);case a.CL.code:throw new a.CL(e);case a.Gi.code:throw new a.Gi(e,{method:r.method});case a.D5.code:throw new a.D5(e);case a.bq.code:throw new a.bq(e);case a.Di.code:throw new a.Di(e);case a.hA.code:throw new a.hA(e);case a.qZ.code:throw new a.qZ(e);case a.YW.code:throw new a.YW(e);case a.ab.code:throw new a.ab(e,{method:r.method});case a.s0.code:throw new a.s0(e);case a.xQ.code:throw new a.xQ(e);case a.vx.code:throw new a.vx(e);case a.sV.code:throw new a.sV(e);case a.Sf.code:throw new a.Sf(e);case a.RV.code:throw new a.RV(e);case a.xq.code:throw new a.xq(e);case a.ch.code:throw new a.ch(e);case a.L5.code:throw new a.L5(e);case a.WT.code:throw new a.WT(e);case a.hl.code:throw new a.hl(e);case a.cg.code:throw new a.cg(e);case a.uL.code:throw new a.uL(e);case a.G1.code:throw new a.G1(e);case a.jz.code:throw new a.jz(e);case 5e3:throw new a.vx(e);default:if(e instanceof n.C)throw e;throw new a.MI(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof i.Ci){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*h},retryCount:p,shouldRetry:({error:e})=>{var t;return"code"in(t=e)&&"number"==typeof t.code?-1===t.code||t.code===a.s0.code||t.code===a.bq.code:!(t instanceof i.Ci)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status||!1}}),{enabled:d,id:y})}}(d,{methods:t,retryCount:f,retryDelay:h,uid:(0,u.L)()}),value:m}}},85622:(e,t,r)=>{"use strict";let n;r.d(t,{L:()=>a});let i=256;function a(e=11){if(!n||i+e>512){n="",i=0;for(let e=0;e<256;e++)n+=(256+256*Math.random()|0).toString(16).substring(1)}return n.substring(i,i+++e)}},86301:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});class n 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}}},86484:(e,t,r)=>{"use strict";r.d(t,{r:()=>c});var n=r(74696),i=r(85177),a=r(51011),o=r(96685),s=r(79830);async function c(e,t={}){let r,{assertChainId:l=!0}=t;if(t.connector){let{connector:n}=t;if("reconnecting"===e.state.status&&!n.getAccounts&&!n.getChainId)throw new s.HF({connector:n});let[i,a]=await Promise.all([n.getAccounts().catch(e=>{if(null===t.account)return[];throw e}),n.getChainId()]);r={accounts:i,chainId:a,connector:n}}else r=e.state.connections.get(e.state.current);if(!r)throw new s.gC;let u=t.chainId??r.chainId,d=await r.connector.getChainId();if(l&&d!==u)throw new s.xU({connectionChainId:u,connectorChainId:d});let f=r.connector;if(f.getClient)return f.getClient({chainId:u});let h=(0,a.J)(t.account??r.accounts[0]);if(h&&(h.address=(0,o.b)(h.address)),t.account&&!r.accounts.some(e=>e.toLowerCase()===h.address.toLowerCase()))throw new s.aj({address:h.address,connector:f});let p=e.chains.find(e=>e.id===u),b=await r.connector.getProvider({chainId:u});return(0,n.U)({account:h,chain:p,name:"Connector Client",transport:e=>(function(e,t={}){let{key:r="custom",methods:n,name:a="Custom Provider",retryDelay:o}=t;return({retryCount:s})=>(0,i.o)({key:r,methods:n,name:a,request:e.request.bind(e),retryCount:t.retryCount??s,retryDelay:o,type:"custom"})})(b)({...e,retryCount:0})})}},87403:(e,t,r)=>{"use strict";r.d(t,{N:()=>i,V:()=>a});var n=r(4038);class i extends n.C{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class a extends n.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"})}}},88553:(e,t,r)=>{"use strict";r.d(t,{$:()=>r5});var n=r(18587),i=r(73320),a=r(4181),o=r(75411),s=r(12581),c=r(84428),l=r(92310),u=r(60337),d=r(28326),f=r(51516),h=r(49586),p=r(27854);async function b(e,t){let{blockNumber:r,blockTag:b,coinType:m,name:y,gatewayUrls:g,strict:w}=t,{chain:v}=e,A=(()=>
vendor: 5,796 bytes, line 1774
1774{if(t.universalResolverAddress)return t.universalResolverAddress;if(!v)throw Error("client chain not configured. universalResolverAddress is required.");return(0,o.M)({blockNumber:r,chain:v,contract:"ensUniversalResolver"})})(),x=v?.ensTlds;if(x&&!x.some(e=>y.endsWith(e)))return null;let C=null!=m?[(0,d.k)(y),BigInt(m)]:[(0,d.k)(y)];try{let t=(0,a.p)({abi:n.Rm,functionName:"addr",args:C}),o={address:A,abi:n.Ag,functionName:"resolveWithGateways",args:[(0,c.nj)((0,f.F)(y)),t,g??[u.J]],blockNumber:r,blockTag:b},l=(0,h.T)(e,p.J,"readContract"),d=await l(o);if("0x"===d[0])return null;let m=(0,i.e)({abi:n.Rm,args:C,functionName:"addr",data:d[0]});if("0x"===m||"0x00"===(0,s.B)(m))return null;return m}catch(e){if(w)throw e;if((0,l.J)(e))return null;throw e}}var m=r(84305),y=r(49988);async function g(e,t){let{blockNumber:r,blockTag:n,name:i}=t,{chain:a}=e,s=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!a)throw Error("client chain not configured. universalResolverAddress is required.");return(0,o.M)({blockNumber:r,chain:a,contract:"ensUniversalResolver"})})(),l=a?.ensTlds;if(l&&!l.some(e=>i.endsWith(e)))throw Error(`${i} is not a valid ENS TLD (${l?.join(", ")}) for chain "${a.name}" (id: ${a.id}).`);let[u]=await (0,h.T)(e,p.J,"readContract")({address:s,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"},{type:"uint256"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,c.nj)((0,f.F)(i))],blockNumber:r,blockTag:n});return u}var w=r(51852),v=r(76900),A=r(51011),x=r(96462),C=r(89649),E=r(58637),I=r(97948);async function B(e,t){let{account:r=e.account,blockNumber:n,blockTag:i="latest",blobs:a,data:o,gas:s,gasPrice:l,maxFeePerBlobGas:u,maxFeePerGas:d,maxPriorityFeePerGas:f,to:h,value:p,...b}=t,m=r?(0,A.J)(r):void 0;try{(0,I.c)(t);let r="bigint"==typeof n?(0,c.cK)(n):void 0,y=e.chain?.formatters?.transactionRequest?.format,g=(y||E.Bv)({...(0,C.o)(b,{format:y}),account:m,blobs:a,data:o,gas:s,gasPrice:l,maxFeePerBlobGas:u,maxFeePerGas:d,maxPriorityFeePerGas:f,to:h,value:p},"createAccessList"),w=await e.request({method:"eth_createAccessList",params:[g,r||i]});return{accessList:w.accessList,gasUsed:BigInt(w.gasUsed)}}catch(r){throw(0,x.d)(r,{...t,account:m,chain:e.chain})}}function P(e,{method:t}){let r={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:n,status:i,transport:a})=>{"success"===i&&t===e&&(r[n]=a.request)}),t=>r[t]||e.request}async function k(e){let t=P(e,{method:"eth_newBlockFilter"}),r=await e.request({method:"eth_newBlockFilter"});return{id:r,request:t(r),type:"block"}}var S=r(80044),O=r(66568);class M extends O.C{constructor(e){super(`Filter type "${e}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}var R=r(22106),T=r(18860),F=r(8685),N=r(44497),j=r(24029),U=r(42330);let D="/docs/contract/encodeEventTopics";function q(e){let{abi:t,eventName:r,args:n}=e,i=t[0];if(r){let e=(0,U.iY)({abi:t,name:r});if(!e)throw new S.M_(r,{docsPath:D});i=e}if("event"!==i.type)throw new S.M_(void 0,{docsPath:D});let a=(0,j.B)(i),o=(0,F.h)(a),s=[];if(n&&"inputs"in i){let e=i.inputs?.filter(e=>"indexed"in e&&e.indexed),t=Array.isArray(n)?n:Object.values(n).length>0?e?.map(e=>n[e.name])??[]:[];t.length>0&&(s=e?.map((e,r)=>Array.isArray(t[r])?t[r].map((n,i)=>Q({param:e,value:t[r][i]})):void 0!==t[r]&&null!==t[r]?Q({param:e,value:t[r]}):null)??[])}return[o,...s]}function Q({param:e,value:t}){if("string"===e.type||"bytes"===e.type)return(0,T.S)((0,R.ZJ)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new M(e.type);return(0,N.h)([e],[t])}async function L(e,t){let{address:r,abi:n,args:i,eventName:a,fromBlock:o,strict:s,toBlock:l}=t,u=P(e,{method:"eth_newFilter"}),d=a?q({abi:n,args:i,eventName:a}):void 0,f=await e.request({method:"eth_newFilter",params:[{address:r,fromBlock:"bigint"==typeof o?(0,c.cK)(o):o,toBlock:"bigint"==typeof l?(0,c.cK)(l):l,topics:d}]});return{abi:n,args:i,eventName:a,id:f,request:u(f),strict:!!s,type:"event"}}async function W(e,{address:t,args:r,event:n,events:i,fromBlock:a,strict:o,toBlock:s}={}){let l=i??(n?[n]:void 0),u=P(e,{method:"eth_newFilter"}),d=[];l&&(d=[l.flatMap(e=>q({abi:[e],eventName:e.name,args:r}))],n&&(d=d[0]));let f=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof a?(0,c.cK)(a):a,toBlock:"bigint"==typeof s?(0,c.cK)(s):s,...d.length?{topics:d}:{}}]});return{abi:l,args:r,eventName:n?n.name:void 0,fromBlock:a,id:f,request:u(f),strict:!!o,toBlock:s,type:"event"}}async function $(e){let t=P(e,{method:"eth_newPendingTransactionFilter"}),r=await e.request({method:"eth_newPendingTransactionFilter"});return{id:r,request:t(r),type:"transaction"}}var z=r(4016),G=r(73062);async function H(e,t){let{abi:r,address:n,args:i,functionName:o,dataSuffix:s,...c}=t,l=(0,a.p)({abi:r,args:i,functionName:o});try{return await (0,h.T)(e,G.Q,"estimateGas")({data:`${l}${s?s.replace("0x",""):""}`,to:n,...c})}catch(t){let e=c.account?(0,A.J)(c.account):void 0;throw(0,z.j)(t,{abi:r,address:n,args:i,docsPath:"/docs/contract/estimateContractGas",functionName:o,sender:e?.address})}}var K=r(10155),V=r(14124),J=r(53548);async function Z(e){return BigInt(await e.request({method:"eth_blobBaseFee"}))}var Y=r(42073),X=r(17626),_=r(94747);async function ee(e,{blockHash:t,blockNumber:r,blockTag:n="latest"}={}){let i,a=void 0!==r?(0,c.cK)(r):void 0;return i=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[a||n]},{dedupe:!!a}),(0,_.ME)(i)}var et=r(69960),er=r(74833),en=r(53385),ei=r(41568),ea=r(45696),eo=r(37826);let es="/docs/contract/decodeEventLog";function ec(e){let{abi:t,data:r,strict:n,topics:i}=e,a=n??!0,[o,...s]=i;
vendor: 5,353 bytes, line 1774
1774if(!o)throw new S._z({docsPath:es});let c=t.find(e=>"event"===e.type&&o===(0,F.h)((0,j.B)(e)));if(!(c&&"name"in c)||"event"!==c.type)throw new S.kE(o,{docsPath:es});let{name:l,inputs:u}=c,d=u?.some(e=>!("name"in e&&e.name)),f=d?[]:{},h=u.map((e,t)=>[e,t]).filter(([e])=>"indexed"in e&&e.indexed);for(let e=0;e<h.length;e++){let[t,r]=h[e],n=s[e];if(!n)throw new S.l3({abiItem:c,param:t});f[d?r:t.name||r]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,eo.n)([e],t)||[])[0]}({param:t,value:n})}let p=u.filter(e=>!("indexed"in e&&e.indexed));if(p.length>0){if(r&&"0x"!==r)try{let e=(0,eo.n)(p,r);if(e)if(d)for(let t=0;t<u.length;t++)f[t]=f[t]??e.shift();else for(let t=0;t<p.length;t++)f[p[t].name]=e[t]}catch(e){if(a){if(e instanceof S.Iy||e instanceof ei.SK)throw new S.fo({abiItem:c,data:r,params:p,size:(0,ea.E)(r)});throw e}}else if(a)throw new S.fo({abiItem:c,data:"0x",params:p,size:0})}return{eventName:l,args:Object.values(f).length>0?f:void 0}}function el(e){let{abi:t,args:r,logs:n,strict:i=!0}=e,a=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return n.map(e=>{try{let n=t.find(t=>"event"===t.type&&e.topics[0]===(0,F.h)(t));if(!n)return null;let o=ec({...e,abi:[n],strict:i});if(a&&!a.includes(o.eventName)||!function(e){let{args:t,inputs:r,matchArgs:n}=e;if(!n)return!0;if(!t)return!1;function i(e,t,r){try{if("address"===e.type)return(0,en.h)(t,r);if("string"===e.type||"bytes"===e.type)return(0,T.S)((0,R.ZJ)(t))===r;return t===r}catch{return!1}}return Array.isArray(t)&&Array.isArray(n)?n.every((e,n)=>{if(null==e)return!0;let a=r[n];return!!a&&(Array.isArray(e)?e:[e]).some(e=>i(a,e,t[n]))}):!("object"!=typeof t||Array.isArray(t)||"object"!=typeof n||Array.isArray(n))&&Object.entries(n).every(([e,n])=>{if(null==n)return!0;let a=r.find(t=>t.name===e);return!!a&&(Array.isArray(n)?n:[n]).some(r=>i(a,r,t[e]))})}({args:o.args,inputs:n.inputs,matchArgs:r}))return null;return{...o,...e}}catch(n){let t,r;if(n instanceof S.kE)return null;if(n instanceof S.fo||n instanceof S.l3){if(i)return null;t=n.abiItem.name,r=n.abiItem.inputs?.some(e=>!("name"in e&&e.name))}return{...e,args:r?[]:{},eventName:t}}}).filter(Boolean)}var eu=r(40098);async function ed(e,{address:t,blockHash:r,fromBlock:n,toBlock:i,event:a,events:o,args:s,strict:l}={}){let u=o??(a?[a]:void 0),d=[];u&&(d=[u.flatMap(e=>q({abi:[e],eventName:e.name,args:o?void 0:s}))],a&&(d=d[0]));let f=(r?await e.request({method:"eth_getLogs",params:[{address:t,topics:d,blockHash:r}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:d,fromBlock:"bigint"==typeof n?(0,c.cK)(n):n,toBlock:"bigint"==typeof i?(0,c.cK)(i):i}]})).map(e=>(0,eu.e)(e));return u?el({abi:u,args:s,logs:f,strict:l??!1}):f}async function ef(e,t){let{abi:r,address:n,args:i,blockHash:a,eventName:o,fromBlock:s,toBlock:c,strict:l}=t,u=o?(0,U.iY)({abi:r,name:o}):void 0,d=u?void 0:r.filter(e=>"event"===e.type);return(0,h.T)(e,ed,"getLogs")({address:n,args:i,blockHash:a,event:u,events:d,fromBlock:s,toBlock:c,strict:l})}class eh extends O.C{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."],name:"Eip712DomainNotFoundError"})}}async function ep(e,t){let{address:r,factory:n,factoryData:i}=t;try{let[t,a,o,s,c,l,u]=await (0,h.T)(e,p.J,"readContract")({abi:eb,address:r,functionName:"eip712Domain",factory:n,factoryData:i});return{domain:{name:a,version:o,chainId:Number(s),verifyingContract:c,salt:l},extensions:u,fields:t}}catch(e){if("ContractFunctionExecutionError"===e.name&&"ContractFunctionZeroDataError"===e.cause.name)throw new eh({address:r});throw e}}let eb=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];async function em(e,{blockCount:t,blockNumber:r,blockTag:n="latest",rewardPercentiles:i}){var a;let o="bigint"==typeof r?(0,c.cK)(r):void 0;return{baseFeePerGas:(a=await e.request({method:"eth_feeHistory",params:[(0,c.cK)(t),o||n,i]},{dedupe:!!o})).baseFeePerGas.map(e=>BigInt(e)),gasUsedRatio:a.gasUsedRatio,oldestBlock:BigInt(a.oldestBlock),reward:a.reward?.map(e=>e.map(e=>BigInt(e)))}}async function ey(e,{filter:t}){let r="strict"in t&&t.strict,n=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof n[0])return n;let i=n.map(e=>(0,eu.e)(e));return"abi"in t&&t.abi?el({abi:t.abi,logs:i,strict:r}):i}async function eg(e,{filter:t}){let r=t.strict??!1,n=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(e=>(0,eu.e)(e));return t.abi?el({abi:t.abi,logs:n,strict:r}):n}var ew=r(94310);async function ev(e,{address:t,blockNumber:r,blockTag:n,storageKeys:i}){let a=void 0!==r?(0,c.cK)(r):void 0;var o=await e.request({method:"eth_getProof",params:[t,i,a||(n??"latest")]});return{...o,balance:o.balance?BigInt(o.balance):void 0,nonce:o.nonce?(0,_.ME)(o.nonce):void 0,storageProof:o.storageProof?o.storageProof.map(e=>
vendor: 6,378 bytes, line 1774
1774({...e,value:BigInt(e.value)})):void 0}}async function eA(e,{address:t,blockNumber:r,blockTag:n="latest",slot:i}){let a=void 0!==r?(0,c.cK)(r):void 0;return await e.request({method:"eth_getStorageAt",params:[t,i,a||n]})}var ex=r(33828);async function eC(e,{hash:t,transactionReceipt:r}){let[n,i]=await Promise.all([(0,h.T)(e,X.G,"getBlockNumber")({}),t?(0,h.T)(e,ex.x,"getTransaction")({hash:t}):void 0]),a=r?.blockNumber||i?.blockNumber;return a?n-a+1n:0n}var eE=r(80771),eI=r(50636),eB=r(42417),eP=r(51392),ek=r(78568),eS=r(4174),eO=r(76429),eM=r(31750),eR=r(89529),eT=r(77309);async function eF(e,t){let{blockNumber:r,blockTag:n=e.experimental_blockTag??"latest",blocks:o,returnFullTransactions:s,traceTransfers:l,validation:u}=t;try{let t=[];for(let e of o){let r=e.blockOverrides?eP.J(e.blockOverrides):void 0,n=e.calls.map(e=>{let t=e.account?(0,A.J)(e.account):void 0,r=e.abi?(0,a.p)(e):e.data,n={...e,account:t,data:e.dataSuffix?(0,eO.xW)([r||"0x",e.dataSuffix]):r,from:e.from??t?.address};return(0,I.c)(n),(0,E.Bv)(n)}),i=e.stateOverrides?(0,eT.yH)(e.stateOverrides):void 0;t.push({blockOverrides:r,calls:n,stateOverrides:i})}let d="bigint"==typeof r?(0,c.cK)(r):void 0;return(await e.request({method:"eth_simulateV1",params:[{blockStateCalls:t,returnFullTransactions:s,traceTransfers:l,validation:u},d||n]})).map((e,t)=>({...(0,eR.$)(e),calls:e.calls.map((e,r)=>{let{abi:n,args:a,functionName:s,to:c}=o[t].calls[r],l=e.error?.data??e.returnData,u=BigInt(e.gasUsed),d=e.logs?.map(e=>(0,eu.e)(e)),f="0x1"===e.status?"success":"failure",h=n&&"success"===f&&"0x"!==l?(0,i.e)({abi:n,data:l,functionName:s}):null,p=(()=>{let t;if("success"!==f&&(e.error?.data==="0x"?t=new S.O:e.error&&(t=new ek.$S(e.error)),t))return(0,z.j)(t,{abi:n??[],address:c??"0x",args:a,functionName:s??"<unknown>"})})();return{data:l,gasUsed:u,logs:d,status:f,..."success"===f?{result:h}:{error:p}}})}))}catch(t){let e=(0,eM.l)(t,{});if(e instanceof eS.RM)throw t;throw e}}class eN extends Error{constructor(e,t={}){const r=t.cause instanceof eN?t.cause.details:t.cause?.message?t.cause.message:t.details,n=t.cause instanceof eN&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...n?[`Docs: https://abitype.dev${n}`]:[],...r?[`Details: ${r}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=n,this.metaMessages=t.metaMessages,this.shortMessage=e}}class ej extends eN{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class eU extends eN{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class eD extends eN{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}function eq(e,t){let r=e.exec(t);return r?.groups}let eQ=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,eL=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,eW=/^\(.+?\).*?$/,e$=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,ez=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,eG=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,eH=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function eK(e){return eH.test(e)}let eV=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,eJ=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,eZ=/^receive\(\) external payable$/,eY=new Set(["memory","indexed","storage","calldata"]),eX=new Set(["indexed"]),e_=new Set(["calldata","memory","storage"]);class e0 extends eN{constructor({params:e}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}class e1 extends eN{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class e6 extends eN{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class e5 extends eN{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class e2 extends eN{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class e8 extends eN{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
1774d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class e3 extends eN{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class e4 extends eN{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class e9 extends eN{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class e7 extends eN{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class te extends eN{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let tt=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function tr(e,t={}){if(eG.test(e))return function(e,t={}){let r=eq(eG,e);if(!r)throw new e3({signature:e,type:"function"});let n=ts(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(to(n[e],{modifiers:e_,structs:t,type:"function"}));let o=[];if(r.returns){let e=ts(r.returns),n=e.length;for(let r=0;r<n;r++)o.push(to(e[r],{modifiers:e_,structs:t,type:"function"}))}return{name:r.name,type:"function",stateMutability:r.stateMutability??"nonpayable",inputs:i,outputs:o}}(e,t);if(ez.test(e))return function(e,t={}){let r=eq(ez,e);if(!r)throw new e3({signature:e,type:"event"});let n=ts(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(to(n[e],{modifiers:eX,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:i}}(e,t);if(e$.test(e))return function(e,t={}){let r=eq(e$,e);if(!r)throw new e3({signature:e,type:"error"});let n=ts(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(to(n[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:i}}(e,t);if(eV.test(e))return function(e,t={}){let r=eq(eV,e);if(!r)throw new e3({signature:e,type:"constructor"});let n=ts(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(to(n[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:i}}(e,t);if(eJ.test(e)){var r=e;let t=eq(eJ,r);
vendor: 3,918 bytes, line 1774
1774if(!t)throw new e3({signature:r,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}if(eZ.test(e))return{type:"receive",stateMutability:"payable"};throw new e4({signature:e})}let tn=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,ti=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,ta=/^u?int$/;function to(e,t){var r,n;let i,a=function(e,t,r){let n="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+=`[${r.type}${r.name?`:${r.name}`:""}]`;n+=`(${e[0]}{${t}})`}return t?`${t}:${e}${n}`:e}(e,t?.type,t?.structs);if(tt.has(a))return tt.get(a);let o=eW.test(e),s=eq(o?ti:tn,e);if(!s)throw new e1({param:e});if(s.name&&("address"===(r=s.name)||"bool"===r||"function"===r||"string"===r||"tuple"===r||eQ.test(r)||eL.test(r)||tl.test(r)))throw new e6({param:e,name:s.name});let c=s.name?{name:s.name}:{},l="indexed"===s.modifier?{indexed:!0}:{},u=t?.structs??{},d={};if(o){i="tuple";let e=ts(s.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(to(e[n],{structs:u}));d={components:t}}else if(s.type in u)i="tuple",d={components:u[s.type]};else if(ta.test(s.type))i=`${s.type}256`;else if("address payable"===s.type)i="address";else if(i=s.type,t?.type!=="struct"&&!tc(i))throw new eD({type:i});if(s.modifier){if(!t?.modifiers?.has?.(s.modifier))throw new e5({param:e,type:t?.type,modifier:s.modifier});if(e_.has(s.modifier)&&(n=i,!s.array&&"bytes"!==n&&"string"!==n&&"tuple"!==n))throw new e2({param:e,type:t?.type,modifier:s.modifier})}let f={type:`${i}${s.array??""}`,...c,...l,...d};return tt.set(a,f),f}function ts(e,t=[],r="",n=0){let i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],o=e.slice(a+1);switch(i){case",":return 0===n?ts(o,[...t,r.trim()]):ts(o,t,`${r}${i}`,n);case"(":return ts(o,t,`${r}${i}`,n+1);case")":return ts(o,t,`${r}${i}`,n-1);default:return ts(o,t,`${r}${i}`,n)}}if(""===r)return t;if(0!==n)throw new te({current:r,depth:n});return t.push(r.trim()),t}function tc(e){return"address"===e||"bool"===e||"function"===e||"string"===e||eQ.test(e)||eL.test(e)}let tl=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function tu(e){let t={},r=e.length;for(let n=0;n<r;n++){let r=e[n];if(!eK(r))continue;let i=eq(eH,r);if(!i)throw new e3({signature:r,type:"struct"});let a=i.properties.split(";"),o=[],s=a.length;for(let e=0;e<s;e++){let t=a[e].trim();if(!t)continue;let r=to(t,{type:"struct"});o.push(r)}if(!o.length)throw new e9({signature:r});t[i.name]=o}let n={},i=Object.entries(t),a=i.length;for(let e=0;e<a;e++){let[r,a]=i[e];n[r]=function e(t,r,n=new Set){let i=[],a=t.length;for(let o=0;o<a;o++){let a=t[o];if(eW.test(a.type))i.push(a);else{let t=eq(td,a.type);if(!t?.type)throw new e8({abiParameter:a});let{array:o,type:s}=t;if(s in r){if(n.has(s))throw new e7({type:s});i.push({...a,type:`tuple${o??""}`,components:e(r[s]??[],r,new Set([...n,s]))})}else if(tc(s))i.push(a);else throw new eU({type:s})}}return i}(a,t)}return n}let td=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/,tf=/^tuple(?<array>(\[(\d*)\])*)$/;function th(e){let t="",r=e.length;for(let n=0;n<r;n++)t+=function e(t){let r=t.type;if(tf.test(t.type)&&"components"in t){r="(";let n=t.components.length;for(let i=0;i<n;i++)r+=e(t.components[i]),i<n-1&&(r+=", ");let i=eq(tf,t.type);return r+=`)${i?.array??""}`,e({...t,type:r})}return("indexed"in t&&t.indexed&&(r=`${r}
1774 indexed`),t.name)?`${r} ${t.name}`:r}(e[n]),n!==r-1&&(t+=", ");return t}function tp(e){return"function"===e.type?`function ${e.name}(${th(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${th(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${th(e.inputs)})`:"error"===e.type?`error ${e.name}(${th(e.inputs)})`:"constructor"===e.type?`constructor(${th(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}var tb=r(69565),tm=r(95042),ty=r(56184);function tg(e,t){if(tB(e)>t)throw new tO({givenSize:tB(e),maxSize:t})}function tw(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function tv(e,t={}){let{dir:r="left"}=t,n=e,i=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===r?e:n.length-e-1].toString())i++;else break;return"left"===r?n.slice(i):n.slice(0,n.length-i)}var tA=r(32872),tx=r(67221);let tC=new TextDecoder,tE=new TextEncoder;function tI(e,t={}){let{size:r}=t,n=e;r&&(tA.Sl(e,r),n=ty.M7(e,r));let i=n.slice(2);i.length%2&&(i=`0${i}`);let a=i.length/2,o=new Uint8Array(a);for(let e=0,t=0;e<a;e++){let r=tw(i.charCodeAt(t++)),n=tw(i.charCodeAt(t++));if(void 0===r||void 0===n)throw new tb.C(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);o[e]=16*r+n}return o}function tB(e){return e.length}function tP(e,t={}){let{size:r}=t;void 0!==r&&tg(e,r);let n=ty.uK(e,t);return ty.Ro(n,t)}function tk(e){return tv(e,{dir:"left"})}class tS extends tb.C{constructor(e){super(`Bytes value \`${e}\` is not a valid boolean.`,{metaMessages:["The bytes array must contain a single byte of either a `0` or `1` value."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesBooleanError"})}}tb.C;class tO extends tb.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class tM extends tb.C{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SliceOffsetOutOfBoundsError"})}}class tR extends tb.C{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function tT(e,t={}){var r;let{as:n="string"==typeof e?"Hex":"Bytes"}=t,i=(0,tm.lY)(e instanceof Uint8Array?e:"string"==typeof e?tI(e):(r=e)instanceof Uint8Array?r:new Uint8Array(r));return"Bytes"===n?i:ty.uK(i)}class tF 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}}let tN={checksum:new tF(8192)}.checksum,tj=/^0x[a-fA-F0-9]{40}$/;function tU(e,t={}){let{strict:r=!0}=t;if(!tj.test(e))throw new tQ({address:e,cause:new tL});if(r){if(e.toLowerCase()===e)return;if(tD(e)!==e)throw new tQ({address:e,cause:new tW})}}function tD(e){if(tN.has(e))return tN.get(e);tU(e,{strict:!1});let t=e.substring(2).toLowerCase(),r=tT(function(e,t={}){let{size:r}=t,n=tE.encode(e);return"number"==typeof r?(tg(n,r),function(e,t={}){let{dir:r,size:n=32}=t;if(0===n)return e;if(e.length>n)throw new tR({size:e.length,targetSize:n,type:"Bytes"});let i=new Uint8Array(n);for(let t=0;t<n;t++){let a="right"===r;i[a?t:n-t-1]=e[a?t:e.length-t-1]}return i}(n,{dir:"right",size:r})):n}(t),{as:"Bytes"}),n=t.split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&n[e]&&(n[e]=n[e].toUpperCase()),(15&r[e>>1])>
vendor: 16,368 bytes, lines 1774-1776
1774=8&&n[e+1]&&(n[e+1]=n[e+1].toUpperCase());let i=`0x${n.join("")}`;return tN.set(e,i),i}function tq(e,t={}){let{strict:r=!0}=t??{};try{return tU(e,{strict:r}),!0}catch{return!1}}class tQ extends tb.C{constructor({address:e,cause:t}){super(`Address "${e}" is invalid.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class tL extends tb.C{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class tW extends tb.C{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}function t$(e){let t=!0,r="",n=0,i="",a=!1;for(let o=0;o<e.length;o++){let s=e[o];if(["(",")",","].includes(s)&&(t=!0),"("===s&&n++,")"===s&&n--,t){if(0===n){if(" "===s&&["event","function","error",""].includes(i))i="";else if(i+=s,")"===s){a=!0;break}continue}if(" "===s){","!==e[o-1]&&","!==r&&",("!==r&&(r="",t=!1);continue}i+=s,r+=s}}if(!a)throw new tb.C("Unable to normalize signature.");return i}function tz(e,t={}){let{prepare:r=!0}=t,n=Array.isArray(e)||"string"==typeof e?function(e){let t;if("string"==typeof e)t=tr(e);else{let r=tu(e),n=e.length;for(let i=0;i<n;i++){let n=e[i];if(!eK(n)){t=tr(n,r);break}}}if(!t)throw new ej({signature:e});return t}(e):e;return{...n,...r?{hash:tK(n)}:{}}}function tG(e,t,r){let n,{args:i=[],prepare:a=!0}=r??{},o=ty.tf(t,{strict:!1}),s=e.filter(e=>o?"function"===e.type||"error"===e.type?tH(e)===ty.di(t,0,4):"event"===e.type&&tK(e)===t:"name"in e&&e.name===t);if(0===s.length)throw new tJ({name:t});if(1===s.length)return{...s[0],...a?{hash:tK(s[0])}:{}};for(let e of s){if("inputs"in e){if(!i||0===i.length){if(!e.inputs||0===e.inputs.length)return{...e,...a?{hash:tK(e)}:{}};continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===i.length&&i.every((t,r)=>{let n="inputs"in e&&e.inputs[r];return!!n&&function e(t,r){let n=typeof t,i=r.type;switch(i){case"address":return tq(t,{strict:!1});case"bool":return"boolean"===n;case"function":case"string":return"string"===n;default:if("tuple"===i&&"components"in r)return Object.values(r.components).every((r,n)=>e(Object.values(t)[n],r));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i))return"number"===n||"bigint"===n;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===n||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...r,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,n)})){if(n&&"inputs"in n&&n.inputs){let t=function e(t,r,n){for(let i in t){let a=t[i],o=r[i];if("tuple"===a.type&&"tuple"===o.type&&"components"in a&&"components"in o)return e(a.components,o.components,n[i]);let s=[a.type,o.type];if(s.includes("address")&&s.includes("bytes20")||(s.includes("address")&&s.includes("string")||s.includes("address")&&s.includes("bytes"))&&tq(n[i],{strict:!1}))return s}}(e.inputs,n.inputs,i);if(t)throw new tV({abiItem:e,type:t[0]},{abiItem:n,type:t[1]})}n=e}}}let c=(()=>{if(n)return n;let[e,...t]=s;return{...e,overloads:t}})();if(!c)throw new tJ({name:t});return{...c,...a?{hash:tK(c)}:{}}}function tH(...e){let t=(()=>{if(Array.isArray(e[0])){let[t,r]=e;return tG(t,r)}return e[0]})();return ty.di(tK(t),0,4)}function tK(...e){let t=(()=>{if(Array.isArray(e[0])){let[t,r]=e;return tG(t,r)}return e[0]})();return"string"!=typeof t&&"hash"in t&&t.hash?t.hash:tT(ty.sH(function(...e){let t=(()=>{if(Array.isArray(e[0])){let[t,r]=e;return tG(t,r)}return e[0]})();return t$("string"==typeof t?t:tp(t))}(t)))}class tV extends tb.C{constructor(e,t){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\`${e.type}\` in \`${t$(tp(e.abiItem))}\`, and`,`\`${t.type}\` in \`${t$(tp(t.abiItem))}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class tJ extends tb.C{constructor({name:e,data:t,type:r="item"}){super(`ABI ${r}${e?` with name "${e}"`:t?` with data "${t}"`:""} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}tb.C;let tZ=/^(.*)\[([0-9]*)\]$/,tY=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,tX=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,t_=2n**256n-1n;function t0(e){let t=0;for(let r=0;r<e.length;r++){let{dynamic:n,encoded:i}=e[r];n?t+=32:t+=ty.Ej(i)}let r=[],n=[],i=0;for(let a=0;a<e.length;a++){let{dynamic:o,encoded:s}=e[a];o?(r.push(ty.oB(t+i,{size:32})),n.push(s),i+=ty.Ej(s)):r.push(s)}return ty.xW(...r,...n)}function t1(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function t6(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(t6);let r=t1(e.type);return!!(r&&t6({...e,type:r[1]}))}let t5={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 t3({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new t8({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new t2({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 t2({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};class t2 extends tb.C{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.NegativeOffsetError"})}}class t8 extends tb.C{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.PositionOutOfBoundsError"})}}class t3 extends tb.C{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.RecursiveReadLimitExceededError"})}}function t4(e,t,r){let{checksumAddress:n=!1}=r??{};if(e.length!==t.length)throw new ri({expectedLength:e.length,givenLength:t.length});let i=t0(function({checksumAddress:e,parameters:t,values:r}){let n=[];for(let i=0;i<t.length;i++)n.push(function e({checksumAddress:t=!1,parameter:r,value:n}){let i=t1(r.type);if(i){let[a,o]=i;return function(t,r){let{checksumAddress:n,length:i,parameter:a}=r,o=null===i;if(!Array.isArray(t))throw new ra(t);if(!o&&t.length!==i)throw new rr({expectedLength:i,givenLength:t.length,type:`${a.type}[${i}]`});let s=!1,c=[];for(let r=0;r<t.length;r++){let i=e({checksumAddress:n,parameter:a,value:t[r]});i.dynamic&&(s=!0),c.push(i)}if(o||s){let e=t0(c);if(o){let t=ty.oB(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?ty.xW(t,e):t}}if(s)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:ty.xW(...c.map(({encoded:e})=>e))}}(n,{checksumAddress:t,length:a,parameter:{...r,type:o}})}if("tuple"===r.type)return function(t,r){let{checksumAddress:n,parameter:i}=r,a=!1,o=[];for(let r=0;r<i.components.length;r++){let s=i.components[r],c=Array.isArray(t)?r:s.name,l=e({checksumAddress:n,parameter:s,value:t[c]});o.push(l),l.dynamic&&(a=!0)}return{dynamic:a,encoded:a?t0(o):ty.xW(...o.map(({encoded:e})=>e))}}(n,{checksumAddress:t,parameter:r});if("address"===r.type)return function(e,t){let{checksum:r=!1}=t;return tU(e,{strict:r}),{dynamic:!1,encoded:ty.Ho(e.toLowerCase())}}(n,{checksum:t});if("bool"===r.type){var a=n;if("boolean"!=typeof a)throw new tb.C(`Invalid boolean value: "${a}" (type: ${typeof a}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:ty.Ho(ty.xb(a))}}if(r.type.startsWith("uint")||r.type.startsWith("int")){let e=r.type.startsWith("int"),[,,t="256"]=tX.exec(r.type)??[];return function(e,{signed:t,size:r}){if("number"==typeof r){let n=2n**(BigInt(r)-(t?1n:0n))-1n,i=t?-n-1n:0n;if(e>n||e<i)throw new ty.Ty({max:n.toString(),min:i.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:ty.oB(e,{size:32,signed:t})}}(n,{signed:e,size:Number(t)})}if(r.type.startsWith("bytes"))return function(e,{type:t}){let[,r]=t.split("bytes"),n=ty.Ej(e);if(!r){let t=e;return n%32!=0&&(t=ty.M7(t,32*Math.ceil((e.length-2)/2/32))),{dynamic:!0,encoded:ty.xW(ty.Ho(ty.oB(n,{size:32})),t)}}if(n!==Number.parseInt(r,10))throw new rn({expectedSize:Number.parseInt(r,10),value:e});return{dynamic:!1,encoded:ty.M7(e)}}(n,{type:r.type});if("string"===r.type){var o=n;let e=ty.sH(o),t=Math.ceil(ty.Ej(e)/32),r=[];for(let n=0;n<t;n++)r.push(ty.M7(ty.di(e,32*n,(n+1)*32)));return{dynamic:!0,encoded:ty.xW(ty.M7(ty.oB(ty.Ej(e),{size:32})),...r)}}throw new ro(r.type)}({checksumAddress:e,parameter:t[i],value:r[i]}));return n}({checksumAddress:n,parameters:e,values:t}));return 0===i.length?"0x":i}function t9(e,t){if(e.length!==t.length)throw new ri({expectedLength:e.length,givenLength:t.length});let r=[];for(let n=0;n<e.length;n++){let i=e[n],a=t[n];r.push(t9.encode(i,a))}return ty.xW(...r)}function t7(e){return Array.isArray(e)&&"string"==typeof e[0]||"string"==typeof e?function(e){let t=[];if("string"==typeof e){let r=ts(e),n=r.length;for(let e=0;e<n;e++)t.push(to(r[e],{modifiers:eY}))}else{let r=tu(e),n=e.length;for(let i=0;i<n;i++){let n=e[i];if(eK(n))continue;let a=ts(n),o=a.length;for(let e=0;e<o;e++)t.push(to(a[e],{modifiers:eY,structs:r}))}}if(0===t.length)throw new e0({params:e});return t}(e):e}(t9||(t9={})).encode=function e(t,r,n=!1){if("address"===t)return tU(r),ty.Ho(r.toLowerCase(),32*!!n);if("string"===t)return ty.sH(r);if("bytes"===t)return r;if("bool"===t)return ty.Ho(ty.xb(r),n?32:1);let i=t.match(tX);if(i){let[e,t,a="256"]=i,o=Number.parseInt(a,10)/8;return ty.oB(r,{size:n?32:o,signed:"int"===t})}let a=t.match(tY);if(a){let[e,t]=a;if(Number.parseInt(t,10)!==(r.length-2)/2)throw new rn({expectedSize:Number.parseInt(t,10),value:r});return ty.M7(r,32*!!n)}let o=t.match(tZ);if(o&&Array.isArray(r)){let[t,n]=o,i=[];for(let t=0;t<r.length;t++)i.push(e(n,r[t],!0));return 0===i.length?"0x":ty.xW(...i)}throw new ro(t)};class re extends tb.C{constructor({data:e,parameters:t,size:r}){super(`Data size of ${r} bytes is too small for given parameters.`,{metaMessages:[`Params: (${th(t)})`,`Data:   ${e} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.DataSizeTooSmallError"})}}class rt extends tb.C{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ZeroDataError"})}}class rr extends tb.C{constructor({expectedLength:e,givenLength:t,type:r}){super(`Array length mismatch for type \`${r}\`. Expected: \`${e}\`. Given: \`${t}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class rn extends tb.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${ty.Ej(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class ri extends tb.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding parameters/values length mismatch.
1775Expected length (parameters): ${e}
1776Given length (values): ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class ra extends tb.C{constructor(e){super(`Value \`${e}\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}}class ro extends tb.C{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function rs(e,t={}){return tz(e,t)}function rc(e,t,r){let n=tG(e,t,r);if("function"!==n.type)throw new tJ({name:t,type:"function"});return n}let rl="0x0000000000000000000000000000000000000000";var ru=r(32547);async function rd(e,t){let{blockNumber:r,blockTag:n,calls:i,stateOverrides:o,traceAssetChanges:s,traceTransfers:c,validation:l}=t,u=t.account?(0,A.J)(t.account):void 0;if(s&&!u)throw new O.C("`account` is required when `traceAssetChanges` is true");let d=u?function(...e){let[t,r]=(()=>{if(Array.isArray(e[0])){let[t,r]=e;return[function(e){let t=e.find(e=>"constructor"===e.type);if(!t)throw new tJ({name:"constructor"});return t}(t),r]}return e})(),{bytecode:n,args:i}=r;return ty.xW(n,t.inputs?.length&&i?.length?t4(t.inputs,i):"0x")}(tz("constructor(bytes, bytes)"),{bytecode:ru.LX,args:["0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033",function(...e){let[t,r=[]]=(()=>
vendor: 17,766 bytes, line 1776
1776{if(Array.isArray(e[0])){let[t,r,n]=e;return[rc(t,r,{args:n}),n]}let[t,r]=e;return[t,r]})(),{overloads:n}=t,i=n?rc([t,...n],t.name,{args:r}):t,a=tH(i),o=r.length>0?t4(i.inputs,r):void 0;return o?ty.xW(a,o):a}(rs("function getBalance(address)"),[u.address])]}):void 0,f=s?await Promise.all(t.calls.map(async t=>{if(!t.data&&!t.abi)return;let{accessList:r}=await B(e,{account:u.address,...t,data:t.abi?(0,a.p)(t):t.data});return r.map(({address:e,storageKeys:t})=>t.length>0?e:null)})).then(e=>e.flat().filter(Boolean)):[],h=await eF(e,{blockNumber:r,blockTag:n,blocks:[...s?[{calls:[{data:d}],stateOverrides:o},{calls:f.map((e,t)=>({abi:[rs("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[u.address],to:e,from:rl,nonce:t})),stateOverrides:[{address:rl,nonce:0}]}]:[],{calls:[...i,{}].map(e=>({...e,from:u?.address})),stateOverrides:o},...s?[{calls:[{data:d}]},{calls:f.map((e,t)=>({abi:[rs("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[u.address],to:e,from:rl,nonce:t})),stateOverrides:[{address:rl,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[rs("function decimals() returns (uint256)")],functionName:"decimals",from:rl,nonce:t})),stateOverrides:[{address:rl,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[rs("function tokenURI(uint256) returns (string)")],functionName:"tokenURI",args:[0n],from:rl,nonce:t})),stateOverrides:[{address:rl,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[rs("function symbol() returns (string)")],functionName:"symbol",from:rl,nonce:t})),stateOverrides:[{address:rl,nonce:0}]}]:[]],traceTransfers:c,validation:l}),p=s?h[2]:h[0],[b,m,,y,g,w,v,x]=s?h:[],{calls:C,...E}=p,I=C.slice(0,-1)??[],P=[...b?.calls??[],...m?.calls??[]].map(e=>"success"===e.status?(0,_.uU)(e.data):null),k=[...y?.calls??[],...g?.calls??[]].map(e=>"success"===e.status?(0,_.uU)(e.data):null),S=(w?.calls??[]).map(e=>"success"===e.status?e.result:null),M=(x?.calls??[]).map(e=>"success"===e.status?e.result:null),R=(v?.calls??[]).map(e=>"success"===e.status?e.result:null),T=[];for(let[e,t]of k.entries()){let r=P[e];if("bigint"!=typeof t||"bigint"!=typeof r)continue;let n=S[e-1],i=M[e-1],a=R[e-1],o=0===e?{address:"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",decimals:18,symbol:"ETH"}:{address:f[e-1],decimals:a||n?Number(n??1):void 0,symbol:i??void 0};T.some(e=>e.token.address===o.address)||T.push({token:o,value:{pre:r,post:t,diff:t-r}})}return{assetChanges:T,block:E,results:I}}async function rf(e,t){let{abi:r,address:n,args:o,dataSuffix:s,functionName:c,...l}=t,u=l.account?(0,A.J)(l.account):e.account,d=(0,a.p)({abi:r,args:o,functionName:c});try{let{data:a}=await (0,h.T)(e,v.T,"call")({batch:!1,data:`${d}${s?s.replace("0x",""):""}`,to:n,...l,account:u}),f=(0,i.e)({abi:r,args:o,functionName:c,data:a||"0x"}),p=r.filter(e=>"name"in e&&e.name===t.functionName);return{result:f,request:{abi:p,address:n,args:o,dataSuffix:s,functionName:c,...l,account:u}}}catch(e){throw(0,z.j)(e,{abi:r,address:n,args:o,docsPath:"/docs/contract/simulateContract",functionName:c,sender:u?.address})}}async function rh(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}let rp="0x6492649264926492649264926492649264926492649264926492649264926492";class rb extends tb.C{constructor(e){super(`Value \`${e}\` is an invalid ERC-6492 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc6492.InvalidWrappedSignatureError"})}}function rm(e,t={}){let{recovered:r}=t;if(void 0===e.r||void 0===e.s||r&&void 0===e.yParity)throw new rv({signature:e});if(e.r<0n||e.r>t_)throw new rA({value:e.r});if(e.s<0n||e.s>t_)throw new rx({value:e.s});if("number"==typeof e.yParity&&0!==e.yParity&&1!==e.yParity)throw new rC({value:e.yParity})}function ry(e){if(130!==e.length&&132!==e.length)throw new rw({signature:e});let t=BigInt(ty.di(e,0,32)),r=BigInt(ty.di(e,32,64)),n=(()=>{let t=Number(`0x${e.slice(130)}`);if(!Number.isNaN(t))try{return rg(t)}catch{throw new rC({value:t})}})();return void 0===n?{r:t,s:r}:{r:t,s:r,yParity:n}}function rg(e){if(0===e||27===e)return 0;if(1===e||28===e)return 1;if(e>=35)return+(e%2==0);throw new rE({value:e})}class rw extends tb.C{constructor({signature:e}){super(`Value \`${e}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${ty.Ej(ty.HT(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class rv extends tb.C{constructor({signature:e}){super(`Signature \`${tx.A(e)}\` is missing either an \`r\`, \`s\`, or \`yParity\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class rA extends tb.C{constructor({value:e}){super(`Value \`${e}\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class rx extends tb.C{constructor({value:e}){super(`Value \`${e}\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class rC extends tb.C{constructor({value:e}){super(`Value \`${e}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class rE extends tb.C{constructor({value:e}){super(`Value \`${e}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}let rI=t7("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");function rB(e){if("string"==typeof e){if("0x8010801080108010801080108010801080108010801080108010801080108010"!==ty.di(e,-32))throw new rP(e)}else rm(e.authorization)}class rP extends tb.C{constructor(e){super(`Value \`${e}\` is an invalid ERC-8010 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc8010.InvalidWrappedSignatureError"})}}var rk=r(24642),rS=r(96685),rO=r(12131);async function rM({address:e,authorization:t,signature:r}){return(0,en.h)((0,rS.b)(e),await (0,rO.g)({authorization:t,signature:r}))}var rR=r(89762),rT=r(90964),rF=r(52276);async function rN(e,t){let r,{address:n,hash:i,erc6492VerifierAddress:a=t.universalSignatureVerifierAddress??e.chain?.contracts?.erc6492Verifier?.address,multicallAddress:o=t.multicallAddress??e.chain?.contracts?.multicall3?.address}=t,s=(r=t.signature,(0,rR.q)(r)?r:"object"==typeof r&&"r"in r&&"s"in r?function({r:e,s:t,to:r="hex",v:n,yParity:i}){let a=(()=>{if(0===i||1===i)return i;if(n&&(27n===n||28n===n||n>=35n))return+(n%2n===0n);throw Error("Invalid `v` or `yParity` value")})(),o=`0x${new rF.secp256k1.Signature((0,_.uU)(e),(0,_.uU)(t)).toCompactHex()}${0===a?"1b":"1c"}`;return"hex"===r?o:(0,R.aT)(o)}(r):(0,c.My)(r));try{if(function(e){try{return rB(e),!0}catch{return!1}}(s))return await rj(e,{...t,multicallAddress:o,signature:s});return await rU(e,{...t,verifierAddress:a,signature:s})}catch(e){try{if((0,en.h)((0,rS.b)(n),await (0,rT.x)({hash:i,signature:s})))return!0}catch{}if(e instanceof rq)return!1;throw e}}async function rj(e,t){let{address:r,blockNumber:i,blockTag:o,hash:s,multicallAddress:l}=t,{authorization:u,data:d,signature:f,to:b}=function(e){rB(e);let t=ty.Ro(ty.di(e,-64,-32)),r=ty.di(e,-t-64,-64),n=ty.di(e,0,-t-64),[i,a,o]=function(e,t,r={}){let{as:n="Array",checksumAddress:i=!1}=r,a="string"==typeof t?tI(t):t,o=function(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(t5);return r.bytes=e,r.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}(a);if(0===tB(a)&&e.length>0)throw new rt;if(tB(a)&&32>tB(a))throw new re({data:"string"==typeof t?t:ty.uK(t),parameters:e,size:tB(a)});let s=0,c="Array"===n?[]:{};for(let t=0;t<e.length;++t){let r=e[t];o.setPosition(s);let[a,l]=function e(t,r,n){let{checksumAddress:i,staticPosition:a}=n,o=t1(r.type);if(o){let[n,s]=o;return function(t,r,n){let{checksumAddress:i,length:a,staticPosition:o}=n;if(!a){let n=o+tP(t.readBytes(32)),a=n+32;t.setPosition(n);let s=tP(t.readBytes(32)),c=t6(r),l=0,u=[];for(let n=0;n<s;++n){t.setPosition(a+(c?32*n:l));let[o,s]=e(t,r,{checksumAddress:i,staticPosition:a});l+=s,u.push(o)}return t.setPosition(o+32),[u,32]}if(t6(r)){let n=o+tP(t.readBytes(32)),s=[];for(let o=0;o<a;++o){t.setPosition(n+32*o);let[a]=e(t,r,{checksumAddress:i,staticPosition:n});s.push(a)}return t.setPosition(o+32),[s,32]}let s=0,c=[];for(let n=0;n<a;++n){let[n,a]=e(t,r,{checksumAddress:i,staticPosition:o+s});s+=a,c.push(n)}return[c,s]}(t,{...r,type:s},{checksumAddress:i,length:n,staticPosition:a})}if("tuple"===r.type)return function(t,r,n){let{checksumAddress:i,staticPosition:a}=n,o=0===r.components.length||r.components.some(({name:e})=>!e),s=o?[]:{},c=0;if(t6(r)){let n=a+tP(t.readBytes(32));for(let a=0;a<r.components.length;++a){let l=r.components[a];t.setPosition(n+c);let[u,d]=e(t,l,{checksumAddress:i,staticPosition:n});c+=d,s[o?a:l?.name]=u}return t.setPosition(a+32),[s,32]}for(let n=0;n<r.components.length;++n){let l=r.components[n],[u,d]=e(t,l,{checksumAddress:i,staticPosition:a});s[o?n:l?.name]=u,c+=d}return[s,c]}(t,r,{checksumAddress:i,staticPosition:a});if("address"===r.type)return function(e,t={}){let r,{checksum:n=!1}=t,i=e.readBytes(32);return[(r=ty.uK(function(e,t,r,n={}){let{strict:i}=n;!1;let a=e.slice(-20,void 0);return i&&function(e,t,r){if("number"==typeof r&&tB(e)!==r- -20)throw new tM({offset:r,position:"end",size:tB(e)})}(a,0,void 0),a}(i,0)),n?tD(r):r),32]}(t,{checksum:i});if("bool"===r.type)return[function(e,t={}){let{size:r}=t,n=e;if(void 0!==r&&(tg(n,r),n=tk(n)),n.length>1||n[0]>1)throw new tS(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(r.type.startsWith("bytes"))return function(e,t,{staticPosition:r}){let[n,i]=t.type.split("bytes");if(!i){let t=tP(e.readBytes(32));e.setPosition(r+t);let n=tP(e.readBytes(32));if(0===n)return e.setPosition(r+32),["0x",32];let i=e.readBytes(n);return e.setPosition(r+32),[ty.uK(i),32]}return[ty.uK(e.readBytes(Number.parseInt(i,10),32)),32]}(t,r,{staticPosition:a});if(r.type.startsWith("uint")||r.type.startsWith("int")){var s,c;let e,n,i;return s=t,e=(c=r).type.startsWith("int"),n=Number.parseInt(c.type.split("int")[1]||"256",10),i=s.readBytes(32),[n>48?function(e,t={}){let{size:r}=t;void 0!==r&&tg(e,r);let n=ty.uK(e,t);return ty.Dg(n,t)}(i,{signed:e}):tP(i,{signed:e}),32]}if("string"===r.type)return function(e,{staticPosition:t}){let r=tP(e.readBytes(32));e.setPosition(t+r);let n=tP(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let i=function(e,t={}){let{size:r}=t,n=e;return void 0!==r&&(tg(n,r),n=tv(n,{dir:"right"})),tC.decode(n)}(tk(e.readBytes(n,32)));return e.setPosition(t+32),[i,32]}(t,{staticPosition:a});throw new ro(r.type)}(o,r,{checksumAddress:i,staticPosition:0});s+=l,"Array"===n?c.push(a):c[r.name??t]=a}return c}(rI,r);return{authorization:function(e,t={}){return"string"==typeof e.chainId?function(e){let{address:t,chainId:r,nonce:n}=e,i=function(e){if(void 0!==e.r&&void 0!==e.s){var t;let r;return t=e,rm(r=(()=>{var e,r;let n;if("string"==typeof t)return ry(t);if(t instanceof Uint8Array)return ry(ty.uK(t));return"string"==typeof t.r?(e=t,n=(()=>{let t=e.v?Number(e.v):void 0,r=e.yParity?Number(e.yParity):void 0;if("number"==typeof t&&"number"!=typeof r&&(r=rg(t)),"number"!=typeof r)throw new rC({value:e.yParity});return r})(),{r:BigInt(e.r),s:BigInt(e.s),yParity:n}):t.v?{r:(r=t).r,s:r.s,yParity:rg(r.v)}:{r:t.r,s:t.s,...void 0!==t.yParity?{yParity:t.yParity}:{}}})()),r}}(e);return{address:t,chainId:Number(r),nonce:BigInt(n),...i}}(e):{...e,...t.signature}}({address:i.delegation,chainId:Number(i.chainId),nonce:i.nonce,yParity:i.yParity,r:i.r,s:i.s}),signature:n,...o&&"0x"!==o?{data:o,to:a}:{}}}(t.signature);if(await (0,er.Q)(e,{address:r,blockNumber:i,blockTag:o})===(0,eO.aP)(["0xef0100",u.address]))return await rD(e,{address:r,blockNumber:i,blockTag:o,hash:s,signature:f});let m={address:u.address,chainId:Number(u.chainId),nonce:Number(u.nonce),r:(0,c.cK)(u.r,{size:32}),s:(0,c.cK)(u.s,{size:32}),yParity:u.yParity};if(!await rM({address:r,authorization:m}))throw new rq;let y=await (0,h.T)(e,p.J,"readContract")({...l?{address:l}:{code:ru.Ez},authorizationList:[m],abi:n.v2,blockNumber:i,blockTag:"pending",functionName:"aggregate3",args:[[...d?[{allowFailure:!0,target:b??r,callData:d}]:[],{allowFailure:!0,target:r,callData:(0,a.p)({abi:n.UW,functionName:"isValidSignature",args:[s,f]})}]]}),g=y[y.length-1]?.returnData;if(g?.startsWith("0x1626ba7e"))return!0;throw new rq}async function rU(e,t){let{address:r,factory:i,factoryData:o,hash:s,signature:c,verifierAddress:l,...u}=t,d=await (async()=>!i&&!o||function(e){try{if(ty.di(e,-32)!==rp)throw new rb(e);return!0}catch{return!1}}(c)?c:function(e){let{data:t,signature:r,to:n}=e;return ty.xW(t4(t7("address, bytes, bytes"),[n,t,r]),rp)}({data:o,signature:c,to:i}))(),f=l?{to:l,data:(0,a.p)({abi:n.E5,functionName:"isValidSig",args:[r,s,d]}),...u}:{data:(0,rk.m)({abi:n.E5,args:[r,s,d],bytecode:ru.fT}),...u},{data:p}=await (0,h.T)(e,v.T,"call")(f).catch(e=>{if(e instanceof ek.zX)throw new rq;throw e});if((0,_.Nx)(p??"0x0"))return!0;throw new rq}async function rD(e,t){let{address:r,blockNumber:i,blockTag:a,hash:o,signature:s}=t;if((await (0,h.T)(e,p.J,"readContract")({address:r,abi:n.UW,args:[o,s],blockNumber:i,blockTag:a,functionName:"isValidSignature"}).catch(e=>{if(e instanceof ek.bG)throw new rq;throw e})).startsWith("0x1626ba7e"))return!0;throw new rq}class rq extends Error{}var rQ=r(12706);async function rL(e,{address:t,message:r,factory:n,factoryData:i,signature:a,...o}){return rN(e,{address:t,factory:n,factoryData:i,hash:(0,rQ.A)(r),signature:a,...o})}var rW=r(83893);async function r$(e,t){let{address:r,factory:n,factoryData:i,signature:a,message:o,primaryType:s,types:c,domain:l,...u}=t;return rN(e,{address:r,factory:n,factoryData:i,hash:(0,rW.Zh)({message:o,primaryType:s,types:c,domain:l}),signature:a,...u})}var rz=r(1864),rG=r(57513),rH=r(28992),rK=r(43609),rV=r(91497),rJ=r(65261);let rZ=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,rY=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;var rX=r(80339);async function r_(e,t){let{address:r,domain:n,message:i,nonce:a,scheme:o,signature:s,time:c=new Date,...l}=t,u=function(e){let{scheme:t,statement:r,...n}=e.match(rZ)?.groups??{},{chainId:i,expirationTime:a,issuedAt:o,notBefore:s,requestId:c,...l}=e.match(rY)?.groups??{},u=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...n,...l,...i?{chainId:Number(i)}:{},...a?{expirationTime:new Date(a)}:{},...o?{issuedAt:new Date(o)}:{},...s?{notBefore:new Date(s)}:{},...c?{requestId:c}:{},...u?{resources:u}:{},...t?{scheme:t}:{},...r?{statement:r}:{}}}(i);if(!u.address||!function(e){let{address:t,domain:r,message:n,nonce:i,scheme:a,time:o=new Date}=e;if(r&&n.domain!==r||i&&n.nonce!==i||a&&n.scheme!==a||n.expirationTime&&o>=n.expirationTime||n.notBefore&&o<n.notBefore)return!1;try{if(!n.address||!(0,rX.P)(n.address,{strict:!1})||t&&!(0,en.h)(n.address,t))return!1}catch{return!1}return!0}({address:r,domain:n,message:u,nonce:a,scheme:o,time:c}))return!1;let d=(0,rQ.A)(i);return rN(e,{address:u.address,hash:d,signature:s,...l})}var r0=r(29562),r1=r(45312),r6=r(96023);function r5(e){return{call:t=>(0,v.T)(e,t),createAccessList:t=>B(e,t),createBlockFilter:()=>k(e),createContractEventFilter:t=>L(e,t),createEventFilter:t=>W(e,t),createPendingTransactionFilter:()=>$(e),estimateContractGas:t=>H(e,t),estimateGas:t=>(0,G.Q)(e,t),getBalance:t=>(0,J.r)(e,t),getBlobBaseFee:()=>Z(e),getBlock:t=>(0,Y.g)(e,t),getBlockNumber:t=>(0,X.G)(e,t),getBlockTransactionCount:t=>ee(e,t),getBytecode:t=>(0,er.Q)(e,t),getChainId:()=>(0,et.T)(e),getCode:t=>(0,er.Q)(e,t),getContractEvents:t=>ef(e,t),getEip712Domain:t=>ep(e,t),getEnsAddress:t=>b(e,t),getEnsAvatar:t=>(0,m.i)(e,t),getEnsName:t=>(0,y.s)(e,t),getEnsResolver:t=>g(e,t),getEnsText:t=>(0,w.m)(e,t),getFeeHistory:t=>em(e,t),estimateFeesPerGas:t=>(0,K._)(e,t),getFilterChanges:t=>ey(e,t),getFilterLogs:t=>eg(e,t),getGasPrice:()=>(0,ew.L)(e),getLogs:t=>ed(e,t),getProof:t=>ev(e,t),estimateMaxPriorityFeePerGas:t=>(0,V.b)(e,t),getStorageAt:t=>eA(e,t),getTransaction:t=>(0,ex.x)(e,t),getTransactionConfirmations:t=>eC(e,t),getTransactionCount:t=>(0,eE.y)(e,t),getTransactionReceipt:t=>(0,eI.h)(e,t),multicall:t=>(0,eB.C)(e,t),prepareTransactionRequest:t=>(0,r0.ft)(e,t),readContract:t=>(0,p.J)(e,t),sendRawTransaction:t=>(0,r1.L)(e,t),sendRawTransactionSync:t=>(0,r6.s)(e,t),simulate:t=>eF(e,t),simulateBlocks:t=>eF(e,t),simulateCalls:t=>rd(e,t),simulateContract:t=>rf(e,t),verifyHash:t=>rN(e,t),verifyMessage:t=>rL(e,t),verifySiweMessage:t=>r_(e,t),verifyTypedData:t=>r$(e,t),uninstallFilter:t=>rh(e,t),waitForTransactionReceipt:t=>(0,rz.n)(e,t),watchBlocks:t=>(function(e,{blockTag:t=e.experimental_blockTag??"latest",emitMissed:r=!1,emitOnBegin:n=!1,onBlock:i,onError:a,includeTransactions:o,poll:s,pollingInterval:c=e.pollingInterval}){let l,u,d,f,p,b=void 0!==s?s:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
1776onfig.type&&"ipc"!==e.transport.transports[0].config.type),m=o??!1;return b?(u=(0,rV.A)(["watchBlocks",e.uid,t,r,n,m,c]),(0,rH.lB)(u,{onBlock:i,onError:a},i=>(0,rK.w)(async()=>{try{let n=await (0,h.T)(e,Y.g,"getBlock")({blockTag:t,includeTransactions:m});if(null!==n.number&&l?.number!=null){if(n.number===l.number)return;if(n.number-l.number>1&&r)for(let t=l?.number+1n;t<n.number;t++){let r=await (0,h.T)(e,Y.g,"getBlock")({blockNumber:t,includeTransactions:m});i.onBlock(r,l),l=r}}(l?.number==null||"pending"===t&&n?.number==null||null!==n.number&&n.number>l.number)&&(i.onBlock(n,l),l=n)}catch(e){i.onError?.(e)}},{emitOnBegin:n,interval:c}))):(d=!0,f=!0,p=()=>d=!1,(async()=>{try{n&&(0,h.T)(e,Y.g,"getBlock")({blockTag:t,includeTransactions:m}).then(e=>{!d||f&&(i(e,void 0),f=!1)}).catch(a);let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type||"ipc"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:o}=await r.subscribe({params:["newHeads"],async onData(t){if(!d)return;let r=await (0,h.T)(e,Y.g,"getBlock")({blockNumber:t.result?.number,includeTransactions:m}).catch(()=>{});d&&(i(r,l),f=!1,l=r)},onError(e){a?.(e)}});p=o,d||p()}catch(e){a?.(e)}})(),()=>p())})(e,t),watchBlockNumber:t=>(0,rG.q)(e,t),watchContractEvent:t=>(function(e,t){let r,n,i,a,o,{abi:s,address:c,args:l,batch:u=!0,eventName:d,fromBlock:f,onError:p,onLogs:b,poll:m,pollingInterval:y=e.pollingInterval,strict:g}=t;return(void 0!==m?m:"bigint"==typeof f||"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
1776onfig.type&&"ipc"!==e.transport.transports[0].config.type))?(r=g??!1,n=(0,rV.A)(["watchContractEvent",c,l,u,e.uid,d,y,r,f]),(0,rH.lB)(n,{onLogs:b,onError:p},t=>{let n,i;void 0!==f&&(n=f-1n);let a=!1,o=(0,rK.w)(async()=>{if(!a){try{i=await (0,h.T)(e,L,"createContractEventFilter")({abi:s,address:c,args:l,eventName:d,strict:r,fromBlock:f})}catch{}a=!0;return}try{let a;if(i)a=await (0,h.T)(e,ey,"getFilterChanges")({filter:i});else{let t=await (0,h.T)(e,X.G,"getBlockNumber")({});a=n&&n<t?await (0,h.T)(e,ef,"getContractEvents")({abi:s,address:c,args:l,eventName:d,fromBlock:n+1n,toBlock:t,strict:r}):[],n=t}if(0===a.length)return;if(u)t.onLogs(a);else for(let e of a)t.onLogs([e])}catch(e){i&&e instanceof rJ.Di&&(a=!1),t.onError?.(e)}},{emitOnBegin:!0,interval:y});return async()=>{i&&await (0,h.T)(e,rh,"uninstallFilter")({filter:i}),o()}})):(i=(0,rV.A)(["watchContractEvent",c,l,u,e.uid,d,y,g??!1]),a=!0,o=()=>a=!1,(0,rH.lB)(i,{onLogs:b,onError:p},t=>((async()=>{try{let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type||"ipc"===e.config.type);return t?t.value:e.transport}return e.transport})(),n=d?q({abi:s,eventName:d,args:l}):[],{unsubscribe:i}=await r.subscribe({params:["logs",{address:c,topics:n}],onData(e){if(!a)return;let r=e.result;try{let{eventName:e,args:n}=ec({abi:s,data:r.data,topics:r.topics,strict:g}),i=(0,eu.e)(r,{args:n,eventName:e});t.onLogs([i])}catch(a){let e,n;if(a instanceof S.fo||a instanceof S.l3){if(g)return;e=a.abiItem.name,n=a.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let i=(0,eu.e)(r,{args:n?[]:{},eventName:e});t.onLogs([i])}},onError(e){t.onError?.(e)}});o=i,a||o()}catch(e){p?.(e)}})(),()=>o())))})(e,t),watchEvent:t=>(function(e,{address:t,args:r,batch:n=!0,event:i,events:a,fromBlock:o,onError:s,onLogs:c,poll:l,pollingInterval:u=e.pollingInterval,strict:d}){let f,p,b,m=void 0!==l?l:"bigint"==typeof o||"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
1776onfig.type&&"ipc"!==e.transport.transports[0].config.type),y=d??!1;return m?(f=(0,rV.A)(["watchEvent",t,r,n,e.uid,i,u,o]),(0,rH.lB)(f,{onLogs:c,onError:s},s=>{let c,l;void 0!==o&&(c=o-1n);let d=!1,f=(0,rK.w)(async()=>{if(!d){try{l=await (0,h.T)(e,W,"createEventFilter")({address:t,args:r,event:i,events:a,strict:y,fromBlock:o})}catch{}d=!0;return}try{let o;if(l)o=await (0,h.T)(e,ey,"getFilterChanges")({filter:l});else{let n=await (0,h.T)(e,X.G,"getBlockNumber")({});o=c&&c!==n?await (0,h.T)(e,ed,"getLogs")({address:t,args:r,event:i,events:a,fromBlock:c+1n,toBlock:n}):[],c=n}if(0===o.length)return;if(n)s.onLogs(o);else for(let e of o)s.onLogs([e])}catch(e){l&&e instanceof rJ.Di&&(d=!1),s.onError?.(e)}},{emitOnBegin:!0,interval:u});return async()=>{l&&await (0,h.T)(e,rh,"uninstallFilter")({filter:l}),f()}})):(p=!0,b=()=>p=!1,(async()=>{try{let n=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type||"ipc"===e.config.type);return t?t.value:e.transport}return e.transport})(),o=a??(i?[i]:void 0),l=[];o&&(l=[o.flatMap(e=>q({abi:[e],eventName:e.name,args:r}))],i&&(l=l[0]));let{unsubscribe:u}=await n.subscribe({params:["logs",{address:t,topics:l}],onData(e){if(!p)return;let t=e.result;try{let{eventName:e,args:r}=ec({abi:o??[],data:t.data,topics:t.topics,strict:y}),n=(0,eu.e)(t,{args:r,eventName:e});c([n])}catch(i){let e,r;if(i instanceof S.fo||i instanceof S.l3){if(d)return;e=i.abiItem.name,r=i.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let n=(0,eu.e)(t,{args:r?[]:{},eventName:e});c([n])}},onError(e){s?.(e)}});b=u,p||b()}catch(e){s?.(e)}})(),()=>b())})(e,t),watchPendingTransactions:t=>(function(e,{batch:t=!0,onError:r,onTransactions:n,poll:i,pollingInterval:a=e.pollingInterval}){let o,s,c;return(void 0!==i?i:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type)?(o=(0,rV.A)(["watchPendingTransactions",e.uid,t,a]),(0,rH.lB)(o,{onTransactions:n,onError:r},r=>{let n,i=(0,rK.w)(async()=>{try{if(!n)try{n=await (0,h.T)(e,$,"createPendingTransactionFilter")({});return}catch(e){throw i(),e}let a=await (0,h.T)(e,ey,"getFilterChanges")({filter:n});if(0===a.length)return;if(t)r.onTransactions(a);else for(let e of a)r.onTransactions([e])}catch(e){r.onError?.(e)}},{emitOnBegin:!0,interval:a});return async()=>{n&&await (0,h.T)(e,rh,"uninstallFilter")({filter:n}),i()}})):(s=!0,c=()=>s=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!s)return;let t=e.result;n([t])},onError(e){r?.(e)}});c=t,s||c()}catch(e){r?.(e)}})(),()=>c())})(e,t)}}},88728:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(49988),i=r(64200),a=r(72242),o=r(47002),s=r(5573),c=r(42482);function l(e={}){let{address:t,query:r={}}=e,u=(0,c.U)(e),d=(0,s.i)({config:u}),f=function(e,t={}){return{async queryFn({queryKey:t}){let{address:r,scopeKey:a,...o}=t[1];if(!r)throw Error("address is required");return function(e,t){let{chainId:r,...a}=t,o=e.getClient({chainId:r});return(0,i.T)(o,n.s,"getEnsName")(a)}(e,{...o,address:r})},queryKey:function(e={}){return["ensName",(0,a.xO)(e)]}(t)}}(u,{...e,chainId:e.chainId??d}),h=!!(t&&(r.enabled??!0));return(0,o.IT)({...r,...f,enabled:h})}},89529:(e,t,r)=>{"use strict";r.d(t,{$:()=>a,R:()=>o});var n=r(70910),i=r(43748);function a(e,t){let r=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,i.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.gasLimit):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:r,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let o=(0,n.q)("block",a)},89649:(e,t,r)=>{"use strict";function n(e,{format:t}){if(!t)return{};let r={};return!function t(n){for(let i of Object.keys(n))i in e&&(r[i]=e[i]),n[i]&&"object"==typeof n[i]&&!Array.isArray(n[i])&&t(n[i])}(t(e||{})),r}r.d(t,{o:()=>n})},89762:(e,t,r)=>{"use strict";function n(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}r.d(t,{q:()=>n})},89950:(e,t,r)=>{"use strict";r.d(t,{db:()=>a,eV:()=>i});var n=r(44546);function i(e,{dir:t,size:r=32}={}){return"string"==typeof e?a(e,{dir:t,size:r}):function(e,{dir:t,size:r=32}={}){if(null===r)return e;if(e.length>r)throw new n.Fl({size:e.length,targetSize:r,type:"bytes"});let i=new Uint8Array(r);for(let n=0;n<r;n++){let a="right"===t;i[a?n:r-n-1]=e[a?n:e.length-n-1]}return i}(e,{dir:t,size:r})}function a(e,{dir:t,size:r=32}={}){if(null===r)return e;let i=e.replace("0x","");if(i.length>2*r)throw new n.Fl({size:Math.ceil(i.length/2),targetSize:r,type:"hex"});return`0x${i["right"===t?"padEnd":"padStart"](2*r,"0")}`}}
vendor: 7,135 bytes, line 1776
1776,90403:(e,t,r)=>{"use strict";r.d(t,{U:()=>N});var n=r(27075);let i=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,a=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,o=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,s=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/,c=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,l=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,u=/^receive\(\) external payable$/,d=new Set(["indexed"]),f=new Set(["calldata","memory","storage"]);class h extends Error{constructor(e,t={}){const r=t.cause instanceof h?t.cause.details:t.cause?.message?t.cause.message:t.details,n=t.cause instanceof h&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...n?[`Docs: https://abitype.dev${n}`]:[],...r?[`Details: ${r}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=n,this.metaMessages=t.metaMessages,this.shortMessage=e}}class p extends h{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class b extends h{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class m extends h{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class y extends h{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class g extends h{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class w extends h{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class v extends h{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class A extends h{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class x extends h{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class C extends h{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class E extends h{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class I extends h{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let B=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),P=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,k=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,S=/^u?int$/;function O(e,t){var r,i;let a,o=function(e,t,r){let n="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+=`[${r.type}${r.name?`:${r.name}`:""}]`;n+=`(${e[0]}{${t}})`}return t?`${t}:${e}${n}`:e}(e,t?.type,t?.structs);if(B.has(o))return B.get(o);let s=n.wj.test(e),c=(0,n.Yv)(s?k:P,e);
1776if(!c)throw new m({param:e});if(c.name&&("address"===(r=c.name)||"bool"===r||"function"===r||"string"===r||"tuple"===r||n.BD.test(r)||n.Ge.test(r)||T.test(r)))throw new y({param:e,name:c.name});let l=c.name?{name:c.name}:{},u="indexed"===c.modifier?{indexed:!0}:{},d=t?.structs??{},h={};if(s){a="tuple";let e=M(c.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(O(e[n],{structs:d}));h={components:t}}else if(c.type in d)a="tuple",h={components:d[c.type]};else if(S.test(c.type))a=`${c.type}256`;else if("address payable"===c.type)a="address";else if(a=c.type,t?.type!=="struct"&&!R(a))throw new b({type:a});if(c.modifier){if(!t?.modifiers?.has?.(c.modifier))throw new g({param:e,type:t?.type,modifier:c.modifier});if(f.has(c.modifier)&&(i=a,!c.array&&"bytes"!==i&&"string"!==i&&"tuple"!==i))throw new w({param:e,type:t?.type,modifier:c.modifier})}let p={type:`${a}${c.array??""}`,...l,...u,...h};return B.set(o,p),p}function M(e,t=[],r="",n=0){let i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],o=e.slice(a+1);switch(i){case",":return 0===n?M(o,[...t,r.trim()]):M(o,t,`${r}${i}`,n);case"(":return M(o,t,`${r}${i}`,n+1);case")":return M(o,t,`${r}${i}`,n-1);default:return M(o,t,`${r}${i}`,n)}}if(""===r)return t;if(0!==n)throw new I({current:r,depth:n});return t.push(r.trim()),t}function R(e){return"address"===e||"bool"===e||"function"===e||"string"===e||n.BD.test(e)||n.Ge.test(e)}let T=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/,F=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function N(e){let t=function(e){let t={},r=e.length;for(let i=0;i<r;i++){let r=e[i];if(!s.test(r))continue;let a=(0,n.Yv)(s,r);if(!a)throw new A({signature:r,type:"struct"});let o=a.properties.split(";"),c=[],l=o.length;for(let e=0;e<l;e++){let t=o[e].trim();if(!t)continue;let r=O(t,{type:"struct"});c.push(r)}if(!c.length)throw new C({signature:r});t[a.name]=c}let i={},a=Object.entries(t),o=a.length;for(let e=0;e<o;e++){let[r,o]=a[e];i[r]=function e(t,r,i=new Set){let a=[],o=t.length;for(let s=0;s<o;s++){let o=t[s];if(n.wj.test(o.type))a.push(o);else{let t=(0,n.Yv)(F,o.type);if(!t?.type)throw new v({abiParameter:o});let{array:s,type:c}=t;if(c in r){if(i.has(c))throw new E({type:c});a.push({...o,type:`tuple${s??""}`,components:e(r[c]??[],r,new Set([...i,c]))})}else if(R(c))a.push(o);else throw new p({type:c})}}return a}(o,t)}return i}(e),r=[],h=e.length;for(let p=0;p<h;p++){let h=e[p];s.test(h)||r.push(function(e,t={}){if(o.test(e))return function(e,t={}){let r=(0,n.Yv)(o,e);if(!r)throw new A({signature:e,type:"function"});let i=M(r.parameters),a=[],s=i.length;for(let e=0;e<s;e++)a.push(O(i[e],{modifiers:f,structs:t,type:"function"}));let c=[];if(r.returns){let e=M(r.returns),n=e.length;for(let r=0;r<n;r++)c.push(O(e[r],{modifiers:f,structs:t,type:"function"}))}return{name:r.name,type:"function",stateMutability:r.stateMutability??"nonpayable",inputs:a,outputs:c}}(e,t);if(a.test(e))return function(e,t={}){let r=(0,n.Yv)(a,e);if(!r)throw new A({signature:e,type:"event"});let i=M(r.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(O(i[e],{modifiers:d,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:o}}(e,t);if(i.test(e))return function(e,t={}){let r=(0,n.Yv)(i,e);if(!r)throw new A({signature:e,type:"error"});let a=M(r.parameters),o=[],s=a.length;for(let e=0;e<s;e++)o.push(O(a[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:o}}(e,t);if(c.test(e))return function(e,t={}){let r=(0,n.Yv)(c,e);if(!r)throw new A({signature:e,type:"constructor"});let i=M(r.parameters),a=[],o=i.length;for(let e=0;e<o;e++)a.push(O(i[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:a}}(e,t);if(l.test(e))return function(e){let t=(0,n.Yv)(l,e);if(!t)throw new A({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}(e);if(u.test(e))return{type:"receive",stateMutability:"payable"};throw new x({signature:e})}(h,t))}return r}},90805:(e,t,r)=>{"use strict";r.d(t,{R:()=>s,x:()=>c});var n=r(12115);let i=!1;async function a(e,t={}){let r;if(i)return[];i=!0,e.setState(e=>({...e,status:e.current?"reconnecting":"connecting"}));let n=[];if(t.connectors?.length)for(let r of t.connectors){let t;t="function"==typeof r?e._internal.connectors.setup(r):r,n.push(t)}else n.push(...e.connectors);try{r=await e.storage?.getItem("recentConnectorId")}catch{}let o={};for(let[,t]of e.state.connections)o[t.connector.id]=1;r&&(o[r]=0);let s=Object.keys(o).length>0?[...n].sort((e,t)=>
1776(o[e.id]??10)-(o[t.id]??10)):n,c=!1,l=[],u=[];for(let t of s){let r=await t.getProvider().catch(()=>void 0);if(!r||u.some(e=>e===r)||!await t.isAuthorized())continue;let n=await t.connect({isReconnecting:!0}).catch(()=>null);n&&(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 r=new Map(c?e.connections:new Map).set(t.uid,{accounts:n.accounts,chainId:n.chainId,connector:t});return{...e,current:c?e.current:t.uid,connections:r}}),l.push({accounts:n.accounts,chainId:n.chainId,connector:t}),u.push(r),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"}))),i=!1,l}function o(e){let{children:t,config:r,initialState:i,reconnectOnMount:o=!0}=e,{onMount:s}=function(e,t){let{initialState:r,reconnectOnMount:n}=t;return r&&!e._internal.store.persist.hasHydrated()&&e.setState({...r,chainId:e.chains.some(e=>e.id===r.chainId)?r.chainId:e.chains[0].id,connections:n?r.connections:new Map,status:n?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(t=>{let r=new Set;for(let e of t??[])if(e.rdns)for(let t of Array.isArray(e.rdns)?e.rdns:[e.rdns])r.add(t);let n=[];for(let t of e._internal.mipd?.getProviders()??[]){if(r.has(t.info.rdns))continue;let i=e._internal.connectors.providerDetailToConnector(t),a=e._internal.connectors.setup(i);n.push(a)}return[...t,...n]})),n?a(e):e.storage&&e.setState(e=>({...e,connections:new Map}))}}}(r,{initialState:i,reconnectOnMount:o});r._internal.ssr||s();let c=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{if(c.current&&r._internal.ssr)return s(),()=>{c.current=!1}},[]),t}let s=(0,n.createContext)(void 0);function c(e){let{children:t,config:r}=e;return(0,n.createElement)(o,e,(0,n.createElement)(s.Provider,{value:r},t))}},90964:(e,t,r)=>{"use strict";r.d(t,{x:()=>d});var n=r(96685),i=r(18860),a=r(89762),o=r(45696),s=r(94747),c=r(84428);async function l({hash:e,signature:t}){let n=(0,a.q)(e)?e:(0,c.nj)(e),{secp256k1:i}=await Promise.resolve().then(r.bind(r,52276)),l=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:r,v:n,yParity:a}=t,o=u(Number(a??n));return new i.Signature((0,s.uU)(e),(0,s.uU)(r)).addRecoveryBit(o)}let e=(0,a.q)(t)?t:(0,c.nj)(t);if(65!==(0,o.E)(e))throw Error("invalid signature length");let r=u((0,s.ME)(`0x${e.slice(130)}`));return i.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(r)})().recoverPublicKey(n.substring(2)).toHex(!1);return`0x${l}`}function u(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function d({hash:e,signature:t}){var r;let a;return r=await l({hash:e,signature:t}),a=(0,i.S)(`0x${r.substring(4)}`).substring(26),(0,n.o)(`0x${a}`)}},91497:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(e,t,r)=>JSON.stringify(e,(e,r)=>{let n="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,n):n},r)},91514:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});let n=(0,r(39606).x)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:12e3,rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:0x16041f6},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}})},92310:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});var n=r(66568),i=r(78568);function a(e){if(!(e instanceof n.C))return!1;let t=e.walk(e=>e instanceof i.M);return t instanceof i.M&&(t.data?.errorName==="HttpError"||t.data?.errorName==="ResolverError"||t.data?.errorName==="ResolverNotContract"||t.data?.errorName==="ResolverNotFound"||t.data?.errorName==="ReverseAddressMismatch"||t.data?.errorName==="UnsupportedResolverProfile")}},93247:(e,t,r)=>{"use strict";r.d(t,{Ci:()=>o,J8:()=>s,MU:()=>c});var n=r(91497),i=r(66568),a=r(18267);class o extends i.C{constructor({body:e,cause:t,details:r,headers:i,status:o,url:s}){super("HTTP request failed.",{cause:t,details:r,metaMessages:[o&&`Status: ${o}`,`URL: ${(0,a.I)(s)}`,e&&`Request body: ${(0,n.A)(e)}
1776`].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=i,this.status=o,this.url=s}}i.C;class s extends i.C{constructor({body:e,error:t,url:r}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,a.I)(r)}`,`Request body: ${(0,n.A)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data}}i.C;class c extends i.C{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,a.I)(t)}`,`Request body: ${(0,n.A)(e)}`],name:"TimeoutError"})}}},93508:(e,t,r)=>{"use strict";r.d(t,{_:()=>l});var n='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',i={rounded:`SFRounded, ui-rounded, "SF Pro Rounded", ${n}`,system:n},a={large:{actionButton:"9999px",connectButton:"12px",modal:"24px",modalMobile:"28px"},medium:{actionButton:"10px",connectButton:"8px",modal:"16px",modalMobile:"18px"},none:{actionButton:"0px",connectButton:"0px",modal:"0px",modalMobile:"0px"},small:{actionButton:"4px",connectButton:"4px",modal:"8px",modalMobile:"8px"}},o={large:{modalOverlay:"blur(20px)"},none:{modalOverlay:"blur(0px)"},small:{modalOverlay:"blur(4px)"}},s={blue:{accentColor:"#0E76FD",accentColorForeground:"#FFF"},green:{accentColor:"#1DB847",accentColorForeground:"#FFF"},orange:{accentColor:"#FF801F",accentColorForeground:"#FFF"},pink:{accentColor:"#FF5CA0",accentColorForeground:"#FFF"},purple:{accentColor:"#5F5AFA",accentColorForeground:"#FFF"},red:{accentColor:"#FA423C",accentColorForeground:"#FFF"}},c=s.blue,l=({accentColor:e=c.accentColor,accentColorForeground:t=c.accentColorForeground,...r}={})=>({...(({borderRadius:e="large",fontStack:t="rounded",overlayBlur:r="none"})=>({blurs:{modalOverlay:o[r].modalOverlay},fonts:{body:i[t]},radii:{actionButton:a[e].actionButton,connectButton:a[e].connectButton,menuButton:a[e].connectButton,modal:a[e].modal,modalMobile:a[e].modalMobile}}))(r),colors:{accentColor:e,accentColorForeground:t,actionButtonBorder:"rgba(0, 0, 0, 0.04)",actionButtonBorderMobile:"rgba(0, 0, 0, 0.06)",actionButtonSecondaryBackground:"rgba(0, 0, 0, 0.06)",closeButton:"rgba(60, 66, 66, 0.8)",closeButtonBackground:"rgba(0, 0, 0, 0.06)",connectButtonBackground:"#FFF",connectButtonBackgroundError:"#FF494A",connectButtonInnerBackground:"linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",connectButtonText:"#25292E",connectButtonTextError:"#FFF",connectionIndicator:"#30E000",downloadBottomCardBackground:"linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",downloadTopCardBackground:"linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",error:"#FF494A",generalBorder:"rgba(0, 0, 0, 0.06)",generalBorderDim:"rgba(0, 0, 0, 0.03)",menuItemBackgroun
1776d:"rgba(60, 66, 66, 0.1)",modalBackdrop:"rgba(0, 0, 0, 0.3)",modalBackground:"#FFF",modalBorder:"transparent",modalText:"#25292E",modalTextDim:"rgba(60, 66, 66, 0.3)",modalTextSecondary:"rgba(60, 66, 66, 0.6)",profileAction:"#FFF",profileActionHover:"rgba(255, 255, 255, 0.5)",profileForeground:"rgba(60, 66, 66, 0.06)",selectedOptionBorder:"rgba(60, 66, 66, 0.1)",standby:"#FFD641"},shadows:{connectButton:"0px 4px 12px rgba(0, 0, 0, 0.1)",dialog:"0px 8px 32px rgba(0, 0, 0, 0.32)",profileDetailsAction:"0px 2px 6px rgba(37, 41, 46, 0.04)",selectedOption:"0px 2px 6px rgba(0, 0, 0, 0.24)",selectedWallet:"0px 2px 6px rgba(0, 0, 0, 0.12)",walletLogo:"0px 2px 16px rgba(0, 0, 0, 0.16)"}});l.accentColors=s},94073:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(22106),i=r(84428);function a(e){let{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,n.aT)(e)):e.blobs,o=[];for(let e of a)o.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===r?o:o.map(e=>(0,i.My)(e))}},94280:(e,t,r)=>{"use strict";r.d(t,{S:()=>s});var n=r(12115);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var a="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,o=new WeakMap;function s(e,t){var r,s,c,l=(r=t||null,s=function(t){return e.forEach(function(e){return i(e,t)})}
1776,(c=(0,n.useState)(function(){return{value:r,callback:s,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=s,c.facade);return a(function(){var t=o.get(l);if(t){var r=new Set(t),n=new Set(e),a=l.current;r.forEach(function(e){n.has(e)||i(e,null)}),n.forEach(function(e){r.has(e)||i(e,a)})}o.set(l,e)},[e]),l}},94310:(e,t,r)=>{"use strict";async function n(e){return BigInt(await e.request({method:"eth_gasPrice"}))}r.d(t,{L:()=>n})},94577:(e,t,r)=>{"use strict";e.exports=r(99617)},94622:(e,t,r)=>{"use strict";r.d(t,{f:()=>a});var n=r(49303);function i(e){return e}function a(e){void 0===e&&(e={});var t,r,a,o=(void 0===t&&(t=i),r=[],a=!1,{read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var n=t(e,a);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(a=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){a=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(i)};o(),r={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),r}}}});return o.options=(0,n.Cl)({async:!0,ssr:!1},e),o}},94747:(e,t,r)=>{"use strict";r.d(t,{IQ:()=>d,ME:()=>u,Nx:()=>l,Sl:()=>s,uU:()=>c});var n=r(66347),i=r(45696),a=r(12581),o=r(22106);function s(e,{size:t}){if((0,i.E)(e)>t)throw new n.u({givenSize:(0,i.E)(e),maxSize:t})}function c(e,t={}){let{signed:r}=t;t.size&&s(e,{size:t.size});let n=BigInt(e);if(!r)return n;let i=(e.length-2)/2;return n<=(1n<<8n*BigInt(i)-1n)-1n?n:n-BigInt(`0x${"f".padStart(2*i,"f")}`)-1n}function l(e,t={}){let r=e;if(t.size&&(s(r,{size:t.size}),r=(0,a.B)(r)),"0x00"===(0,a.B)(r))return!1;if("0x01"===(0,a.B)(r))return!0;throw new n.H2(r)}function u(e,t={}){return Number(c(e,t))}function d(e,t={}){let r=(0,o.aT)(e);return t.size&&(s(r,{size:t.size}),r=(0,a.B)(r,{dir:"right"})),new TextDecoder().decode(r)}},95042:(e,t,r)=>{"use strict";r.d(t,{lY:()=>v});var n=r(31367),i=r(3013);let a=BigInt(0),o=BigInt(1),s=BigInt(2),c=BigInt(7),l=BigInt(256),u=BigInt(113),d=[],f=[],h=[];for(let e=0,t=o,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],d.push(2*(5*n+r)),f.push((e+1)*(e+2)/2%64);let i=a;for(let e=0;e<7;e++)(t=(t<<o^(t>>c)*u)%l)&s&&(i^=o<<(o<<BigInt(e))-o);h.push(i)}let p=(0,n.lD)(h,!0),b=p[0],m=p[1],y=(e,t,r)=>r>32?(0,n.WM)(e,t,r):(0,n.P5)(e,t,r),g=(e,t,r)=>r>32?(0,n.im)(e,t,r):(0,n.B4)(e,t,r);class w extends i.Vw{constructor(e,t,r,n=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=a,(0,i.Fe)(r),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,i.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,i.fd)(this.state32),function(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,a=r[i],o=r[i+1],s=y(a,o,1)^r[n],c=g(a,o,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=c}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=f[r],a=y(t,i,n),o=g(t,i,n),s=d[r];t=e[s],i=e[s+1],e[s]=a,e[s+1]=o}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=b[n],e[1]^=m[n]}(0,i.uH)(r)}(this.state32,this.rounds),(0,i.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,i.CC)(this),e=(0,i.ZJ)(e),(0,i.DO)(e);let{blockLen:t,state:r}=this,n=e.length;for(let i=0;i<n;){let a=Math.min(t-this.pos,n-i);for(let t=0;t<a;t++)r[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,(128&t)!=0&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,i.CC)(this,!1),(0,i.DO)(e),this.finish();let t=this.state,{blockLen:r}=this;for(let n=0,i=e.length;n<i;){this.posOut>=r&&this.keccak();let a=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+a),n),this.posOut+=a,n+=a}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,i.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,i.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,i.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:a}=this;return e||(e=new w(t,r,n,a,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=a,e.destroyed=this.destroyed,e}}let v=(0,i.qj)(()=>new w(136,1,32))},95889:(e,t,r)=>{"use strict";r.d(t,{J9:()=>a,Mc:()=>i,fD:()=>n});
1776let n={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},i={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},a={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},96002:(e,t,r)=>{"use strict";r.d(t,{$s:()=>d,Kc:()=>h,Kz:()=>f,Sq:()=>p,Vg:()=>l,WA:()=>b,aO:()=>o,fZ:()=>u,n3:()=>s,zW:()=>c});var n=r(70536),i=r(22160),a=r(66568);function o(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),r=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>`  ${`${e}:`.padEnd(r+1)}  ${t}`).join("\n")}class s extends a.C{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}class c extends a.C{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class l extends a.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"})}}a.C,a.C;class u extends a.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 d extends a.C{constructor(e,{account:t,docsPath:r,chain:a,data:s,gas:c,gasPrice:l,maxFeePerGas:u,maxPriorityFeePerGas:d,nonce:f,to:h,value:p}){super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",o({chain:a&&`${a?.name} (id: ${a?.id})`,from:t?.address,to:h,value:void 0!==p&&`${(0,n.c)(p)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==l&&`${(0,i.Q)(l)} gwei`,maxFeePerGas:void 0!==u&&`${(0,i.Q)(u)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,i.Q)(d)} gwei`,nonce:f})].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class f extends a.C{constructor({blockHash:e,blockNumber:t,blockTag:r,hash:n,index:i}){let a="Transaction";r&&void 0!==i&&(a=`Transaction at block time "${r}" at index "${i}"`),e&&void 0!==i&&(a=`Transaction at block hash "${e}" at index "${i}"`),t&&void 0!==i&&(a=`Transaction at block number "${t}" at index "${i}"`),n&&(a=`Transaction with hash "${n}"`),super(`${a} could not be found.`,{name:"TransactionNotFoundError"})}}class h extends a.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 p extends a.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 a.C{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},96023:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var n=r(96002),i=r(73260),a=r(84428);async function o(e,{serializedTransaction:t,throwOnReceiptRevert:r,timeout:o}){let s=await e.request({method:"eth_sendRawTransactionSync",params:o?[t,(0,a.cK)(o)]:[t]},{retryCount:0}),c=(e.chain?.formatters?.transactionReceipt?.format||i.uL)(s);if("reverted"===c.status&&r)throw new n.Sq({receipt:c});return c}},96462:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var n=r(78568),i=r(4174),a=r(31750);function o(e,{docsPath:t,...r}){let o,s=(o=(0,a.l)(e,r))instanceof i.RM?e:o;return new n.zX(s,{docsPath:t,...r})}},96685:(e,t,r)=>{"use strict";r.d(t,{b:()=>u,o:()=>l});var n=r(71386),i=r(22106),a=r(18860),o=r(86301),s=r(80339);let c=new o.A(8192);function l(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let r=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),n=(0,a.S)((0,i.Af)(r),"bytes"),o=(t?r.substring(`${t}0x`.length):r).split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&o[e]&&(o[e]=o[e].toUpperCase()),(15&n[e>>1])>=8&&o[e+1]&&(o[e+1]=o[e+1].toUpperCase());let s=`0x${o.join("")}`;return c.set(`${e}.${t}`,s),s}function u(e,t){if(!(0,s.P)(e,{strict:!1}))throw new n.M({address:e});return l(e,t)}},96776:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});let n="2.22.1"},96887:(e,t,r)=>{"use strict";r.d(t,{E:()=>b});var n=r(5858),i=r(65531),a=r(31967),o=r(98216),s=class extends o.Q{constructor(e={}){super(),this.config=e,this.#W=new Map}#W;build(e,t,r){let a=t.queryKey,o=t.queryHash??(0,n.F$)(a,t),s=this.get(o);return s||(s=new i.X({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.#W.has(e.queryHash)||(this.#W.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#W.get(e.queryHash);t&&(e.destroy(),t===e&&this.#W.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.jG.batch(()=>
1776{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#W.get(e)}getAll(){return[...this.#W.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.MK)(e,t)):t}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},c=r(53390),l=class extends o.Q{constructor(e={}){super(),this.config=e,this.#$=new Set,this.#z=new Map,this.#G=0}#$;#z;#G;build(e,t,r){let n=new c.s({client:e,mutationCache:this,mutationId:++this.#G,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#$.add(e);let t=u(e);if("string"==typeof t){let r=this.#z.get(t);r?r.push(e):this.#z.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#$.delete(e)){let t=u(e);if("string"==typeof t){let r=this.#z.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#z.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=u(e);if("string"!=typeof t)return!0;{let r=this.#z.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=u(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#z.get(t)?.find(t=>
1776t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){a.jG.batch(()=>{this.#$.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#$.clear(),this.#z.clear()})}getAll(){return Array.from(this.#$)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.nJ)(e,t))}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return a.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.lQ))))}};function u(e){return e.options.scope?.id}var d=r(20562),f=r(1681);function h(e){return{onFetch:(t,r)=>{let i=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],s=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},l=0,u=async()=>{let r=!1,u=(0,n.ZM)(t.options,t.fetchOptions),d=async(e,i,a)=>{let o;if(r)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let s=(Object.defineProperty(o={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta},"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)}),o),c=await u(s),{maxPages:l}=t.options,d=a?n.ZZ:n.y9;return{pages:d(e.pages,c,l),pageParams:d(e.pageParams,i,l)}};if(a&&o.length){let e="backward"===a,t={pages:o,pageParams:s},r=(e?function(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}:p)(i,t);c=await d(t,r,e)}else{let t=e??o.length;do{let e=0===l?s[0]??i.initialPageParam:p(i,c);if(l>0&&null==e)break;c=await d(c,e),l++}while(l<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function p(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}var b=class{#H;#R;#D;#K;#V;#J;#Z;#Y;constructor(e={}){this.#H=e.queryCache||new s,this.#R=e.mutationCache||new l,this.#D=e.defaultOptions||{},this.#K=new Map,this.#V=new Map,this.#J=0}mount(){this.#J++,1===this.#J&&(this.#Z=d.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#H.onFocus())}),this.#Y=f.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#H.onOnline())}))}unmount(){this.#J--,0===this.#J&&(this.#Z?.(),this.#Z=void 0,this.#Y?.(),this.#Y=void 0)}isFetching(e){return this.#H.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#R.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#H.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#H.build(this,t),i=r.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.d2)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#H.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let i=this.defaultQueryOptions({queryKey:e}),a=this.#H.get(i.queryHash),o=a?.state.data,s=(0,n.Zw)(t,o);if(void 0!==s)return this.#H.build(this,i).setData(s,{...r,manual:!0})}setQueriesData(e,t,r){return a.jG.batch(()=>this.#H.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#H.get(t.queryHash)?.state}removeQueries(e){let t=this.#H;a.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#H;return a.jG.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(a.jG.batch(()=>this.#H.findAll(e).map(e=>e.cancel(r)))).then(n.lQ).catch(n.lQ)}invalidateQueries(e,t={}){return a.jG.batch(()=>(this.#H.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(a.jG.batch(()=>this.#H.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1776))).then(n.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#H.build(this,t);return r.isStaleByTime((0,n.d2)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(e){return e.behavior=h(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.lQ).catch(n.lQ)}ensureInfiniteQueryData(e){return e.behavior=h(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.t.isOnline()?this.#R.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#H}getMutationCache(){return this.#R}getDefaultOptions(){return this.#D}setDefaultOptions(e){this.#D=e}setQueryDefaults(e,t){this.#K.set((0,n.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#K.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#V.set((0,n.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#V.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#D.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#D.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#H.clear(),this.#R.clear()}}},97189:(e,t,r)=>{"use strict";let n,i,a,o,s,c,l,u,d,f,h,p,b,m,y;r.d(t,{S:()=>H});let g=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function w(e){var t;let r;return t=function(e){let t=0;function r(){return e[t++]<<8|e[t++]}let n=r(),i=1,a=[0,1];for(let e=1;e<n;e++)a.push(i+=r());let o=r(),s=t;t+=o;let c=0,l=0;function u(){return 0==c&&(l=l<<8|e[t++],c=8),l>>--c&1}let d=0x80000000-1,f=0;for(let e=0;e<31;e++)f=f<<1|u();let h=[],p=0,b=0x80000000;for(;;){let e=Math.floor(((f-p+1)*i-1)/b),t=0,r=n;for(;r-t>1;){let n=t+r>>>1;e<a[n]?r=n:t=n}if(0==t)break;h.push(t);let o=p+Math.floor(b*a[t]/i),s=p+Math.floor(b*a[t+1]/i)-1;for(;((o^s)&0x40000000)==0;)f=f<<1&d|u(),o=o<<1&d,s=s<<1&d|1;for(;o&~s&0x20000000;)f=0x40000000&f|f<<1&d>>>1|u(),o=o<<1^0x40000000,s=(0x40000000^s)<<1|0x40000001;p=o,b=1+s-o}let m=n-4;return h.map(t=>{switch(t-m){case 3:return m+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return m+256+(e[s++]<<8|e[s++]);case 1:return m+e[s++];default:return t-1}})}(function(e){let t=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((e,r)=>t[e.charCodeAt(0)]=r);let r=e.length,n=new Uint8Array(6*r>>
17763);for(let i=0,a=0,o=0,s=0;i<r;i++)s=s<<6|t[e.charCodeAt(i)],(o+=6)>=8&&(n[a++]=s>>(o-=8));return n}(e)),r=0,()=>t[r++]}function v(e,t=0){let r=[];for(;;){let n=e(),i=e();if(!i)break;t+=n;for(let e=0;e<i;e++)r.push(t+e);t+=i+1}return r}function A(e){return C(()=>{let t=v(e);if(t.length)return t})}function x(e){let t=[];for(;;){let r=e();if(0==r)break;t.push(function(e,t){let r=1+t(),n=t(),i=C(t);return E(i.length,1+e,t).flatMap((e,t)=>{let[a,...o]=e;return Array(i[t]).fill().map((e,t)=>{let i=t*n;return[a+t*r,o.map(e=>e+i)]})})}(r,e))}for(;;){var r,n;let i=e()-1;if(i<0)break;t.push((r=i,E(1+(n=e)(),1+r,n).map(e=>[e[0],e.slice(1)])))}return t.flat()}function C(e){let t=[];for(;;){let r=e(t.length);if(!r)break;t.push(r)}return t}function E(e,t,r){let n=Array(e).fill().map(()=>[]);for(let i=0;i<t;i++)(function(e,t){let r=Array(e);for(let i=0,a=0;i<e;i++){var n;r[i]=a+=1&(n=t())?~n>>1:n>>1}return r})(e,r).forEach((e,t)=>n[t].push(e));return n}function I(e){return`{${e.toString(16).toUpperCase().padStart(2,"0")}}`}function B(e){let t=e.length;if(t<4096)return String.fromCodePoint(...e);let r=[];for(let n=0;n<t;)r.push(String.fromCodePoint(...e.slice(n,n+=4096)));return r.join("")}function P(e,t){let r=e.length,n=r-t.length;for(let i=0;0==n&&i<r;i++)n=e[i]-t[i];return n}let k=55204;function S(e){return e>>24&255}function O(e){return 0xffffff&e}function M(e){return e>=44032&&e<k}function R(e){n||function(){let e=w("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");for(let[t,r]of(n=new Map(A(e).flatMap((e,t)=>e.map(e=>[e,t+1<<24]))),i=new Set(v(e)),a=new Map,o=new Map,x(e))){if(!i.has(t)&&2==r.length){let[e,n]=r,i=o.get(e);i||(i=new Map,o.set(e,i)),i.set(n,t)}a.set(t,r.reverse())}}();let t=[],r=[],s=!1;function c(e){let r=n.get(e);r&&(s=!0,e|=r),t.push(e)}for(let n of e)for(;;){if(n<128)t.push(n);else if(M(n)){let e=n-44032,t=e/588|0,r=e%588/28|0,i=e%28;c(4352+t),c(4449+r),i>0&&c(4519+i)}else{let e=a.get(n);e?r.push(...e):c(n)}if(!r.length)break;n=r.pop()}if(s&&t.length>1){let e=S(t[0]);for(let r=1;r<t.length;r++){let n=S(t[r]);if(0==n||e<=n){e=n;continue}let i=r-1;for(;;){let r=t[i+1];if(t[i+1]=t[i],t[i]=r,!i||(e=S(t[--i]))<=n)break}e=S(t[r])}}return t}function T(e){return function(e){let t=[],r=[],n=-1,i=0;for(let a of e){let e=S(a),s=O(a);if(-1==n)0==e?n=s:t.push(s);else if(i>0&&i>=e)0==e?(t.push(n,...r),r.length=0,n=s):r.push(s),i=e;else{let a=function(e,t){if(e>=4352&&e<4371&&t>=4449&&t<4470)return 44032+(e-4352)*588+(t-4449)*28;{if(M(e)&&t>4519&&t<4547&&(e-44032)%28==0)return e+(t-4519);let r=o.get(e);return r&&(r=r.get(t))?r:-1}}(n,s);a>=0?n=a:0==i&&0==e?(t.push(n),n=s):(r.push(s),i=e)}}return n>=0&&t.push(n,...r),t}(R(e))}let F=e=>Array.from(e);function N(e,t){return e.P.has(t)||e.Q.has(t)}class j extends Array{get is_emoji(){return!0}}function U(){let e,t;if(s)return;let r=w("
vendor: 20,100 bytes, line 1776
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
1776"),n=()=>new Set(v(r)),i=(e,t)=>t.forEach(t=>e.add(t));s=new Map(x(r)),c=n(),l=v(r),u=new Set(v(r).map(e=>l[e])),l=new Set(l),d=n(),n();let a=A(r),o=r(),g=()=>{let e=new Set;return v(r).forEach(t=>i(e,a[t])),i(e,v(r)),e};f=C(e=>{let t=C(r).map(e=>e+96);if(t.length){let n=e>=o;t[0]-=32,t=B(t),n&&(t=`Restricted[${t}]`);let i=g();return{N:t,P:i,Q:g(),M:!r(),R:n}}}),h=n(),p=new Map;let E=v(r).concat(F(h)).sort((e,t)=>e-t);for(let{V:e,M:t}of(E.forEach((e,t)=>{let n=r(),i=E[t]=n?E[t-n]:{V:[],M:new Map};i.V.push(e),h.has(e)||p.set(e,i)}),new Set(p.values()))){let r=[];for(let t of e){let e=f.filter(e=>N(e,t)),n=r.find(({G:t})=>e.some(e=>t.has(e)));n||(n={G:new Set,V:[]},r.push(n)),n.V.push(t),i(n.G,e)}let n=r.flatMap(e=>F(e.G));for(let{G:e,V:i}of r){let r=new Set(n.filter(t=>!e.has(t)));for(let e of i)t.set(e,r)}}b=new Set;let I=new Set,k=e=>b.has(e)?I.add(e):b.add(e);for(let e of f){for(let t of e.P)k(t);for(let t of e.Q)k(t)}for(let e of b)p.has(e)||I.has(e)||p.set(e,1);for(let n of(i(b,R(b).map(O)),m=(e=[],t=v(r),function t({S:r,B:n},i,a){if(!(4&r)||a!==i[i.length-1])for(let o of(2&r&&(a=i[i.length-1]),1&r&&e.push(i),n))for(let e of o.Q)t(o,[...i,e],a)}(function e(n){return{S:r(),B:C(()=>{let n=v(r).map(e=>t[e]);if(n.length)return e(n)}),Q:n}}([]),[]),e).map(e=>j.from(e)).sort(P),y=new Map,m)){let e=[y];for(let t of n){let r=e.map(e=>{let r=e.get(t);return r||(r=new Map,e.set(t,r)),r});65039===t?e.push(...r):e=r}for(let t of e)t.V=n}}function D(e){return(L(e)?"":`${q(Q([e]))} `)+I(e)}function q(e){return`"${e}"\u200E`}function Q(e,t=1/0,r=I){var n;let i=[];n=e[0],U(),l.has(n)&&i.push("◌"),e.length>t&&(t>>=1,e=[...e.slice(0,t),8230,...e.slice(-t)]);let a=0,o=e.length;for(let t=0;t<o;t++){let n=e[t];L(n)&&(i.push(B(e.slice(a,t))),i.push(r(n)),a=t+1)}return i.push(B(e.slice(a,o))),i.join("")}function L(e){return U(),d.has(e)}function W(e){return Error(`disallowed character: ${D(e)}`)}function $(e,t){let r=D(t),n=f.find(e=>e.P.has(t));return n&&(r=`${n.N} ${r}`),Error(`illegal mixture: ${e.N} + ${r}`)}function z(e){return Error(`illegal placement: ${e}`)}function G(e){return e.filter(e=>65039!=e)}function H(e){var t=function(e,t,r){if(!e)return[];U();let n=0;return e.split(".").map(e=>{let i=function(e){let t=[];for(let r=0,n=e.length;r<n;){let n=e.codePointAt(r);r+=n<65536?1:2,t.push(n)}return t}(e),a={input:i,offset:n};n+=i.length+1;try{let e,n=a.tokens=function(e,t,r){let n=[],i=[];for(e=e.slice().reverse();e.length;){let a=function(e,t){let r,n=y,i=e.length;for(;i&&(n=n.get(e[--i]));){let{V:t}=n;t&&(r=t,e.length=i)}return r}(e);if(a)i.length&&(n.push(t(i)),i=[]),n.push(r(a));else{let t=e.pop();if(b.has(t))i.push(t);else{let e=s.get(t);if(e)i.push(...e);else if(!c.has(t))throw W(t)}}}return i.length&&n.push(t(i)),n}(i,t,r),o=n.length;if(!o)throw Error("empty label");let d=a.output=n.flat();for(let e=d.lastIndexOf(95);e>0;)if(95!==d[--e])throw Error("underscore allowed only at start");if(!(a.emoji=o>1||n[0].is_emoji)&&d.every(e=>e<128)){if(d.length>=4&&45==d[2]&&45==d[3])throw Error(`invalid label extension: "${B(d.slice(0,4))}"`);e="ASCII"}else{let t=n.flatMap(e=>e.is_emoji?[]:e);if(t.length){if(l.has(d[0]))throw z("leading combining mark");for(let e=1;e<o;e++){let t=n[e];
1776if(!t.is_emoji&&l.has(t[0]))throw z(`emoji + combining mark: "${B(n[e-1])} + ${Q([t[0]])}"`)}!function(e){let t=e[0],r=g.get(t);if(r)throw z(`leading ${r}`);let n=e.length,i=-1;for(let a=1;a<n;a++){t=e[a];let n=g.get(t);if(n){if(i==a)throw z(`${r} + ${n}`);i=a+1,r=n}}if(i==n)throw z(`trailing ${r}`)}(d);let r=F(new Set(t)),[i]=function(e){let t=f;for(let r of e){let e=t.filter(e=>N(e,r));if(!e.length)if(f.some(e=>N(e,r)))throw $(t[0],r);else throw W(r);if(t=e,1==e.length)break}return t}(r);(function(e,t){for(let r of t)if(!N(e,r))throw $(e,r);if(e.M){let e=R(t).map(O);for(let t=1,r=e.length;t<r;t++)if(u.has(e[t])){let n=t+1;for(let i;n<r&&u.has(i=e[n]);n++)for(let r=t;r<n;r++)if(e[r]==i)throw Error(`duplicate non-spacing marks: ${D(i)}`);if(n-t>4)throw Error(`excessive non-spacing marks: ${q(Q(e.slice(t-1,n)))} (${n-t}/4)`);t=n}}})(i,t),function(e,t){let r,n=[];for(let e of t){let t=p.get(e);if(1===t)return;if(t){let n=t.M.get(e);if(!(r=r?r.filter(e=>n.has(e)):F(n)).length)return}else n.push(e)}if(r){for(let t of r)if(n.every(e=>N(t,e)))throw Error(`whole-script confusable: ${e.N}/${t.N}`)}}(i,r),e=i.N}else e="Emoji"}a.type=e}catch(e){a.error=e}return a})}(e,T,G);return t.map(({input:e,error:r,output:n})=>{if(r){let n=r.message;throw Error(1==t.length?n:`Invalid label ${q(Q(e,63))}: ${n}`)}return B(n)}).join(".")}},97948:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(51011),i=r(28285),a=r(71386),o=r(4174),s=r(96002),c=r(80339);function l(e){let{account:t,gasPrice:r,maxFeePerGas:l,maxPriorityFeePerGas:u,to:d}=e,f=t?(0,n.J)(t):void 0;if(f&&!(0,c.P)(f.address))throw new a.M({address:f.address});if(d&&!(0,c.P)(d))throw new a.M({address:d});if(void 0!==r&&(void 0!==l||void 0!==u))throw new s.n3;if(l&&l>i.Ao)throw new o.BG({maxFeePerGas:l});if(u&&l&&u>l)throw new o.lN({maxFeePerGas:l,maxPriorityFeePerGas:u})}},98216:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});var n=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(){}}},99015:(e,t,r)=>{"use strict";r.d(t,{BD:()=>i,D5:()=>n,Ge:()=>a});let n=/^(.*)\[([0-9]*)\]$/,i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,a=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/},99190:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(83599),i=r(5858),a=class{#X;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.gn)(this.gcTime)&&(this.#X=n.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.S$?1/0:3e5))}clearGcTimeout(){this.#X&&(n.zs.clearTimeout(this.#X),this.#X=void 0)}}},99414:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(1220),i=r(61211);function a(e,t){let{onChange:r}=t;return e.subscribe(()=>(0,i.s)(e),r,{equalityFn(e,t){let{connector:r,...i}=e,{connector:a,...o}=t;return(0,n.b)(i,o)&&r?.id===a?.id&&r?.uid===a?.uid}})}},99617:(e,t,r)=>{"use strict";var n=r(12115),i=r(8039),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,s=n.useRef,c=n.useEffect,l=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=l(function(){function e(e){if(!c){if(c=!0,o=e,e=n(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,a(o,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(o=e,t):(o=e,s=r)}var o,s,c=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,i]))[0],d[1]);return c(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}}}]);

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.