vendor: 8,465 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3723],{16177:function(e,t,n){n.d(t,{$p:function(){return f},EP:function(){return d},FL:function(){return l},Fn:function(){return y},IH:function(){return g},Iq:function(){return u},NI:function(){return s},Ou:function(){return a},SD:function(){return b},Vl:function(){return i},Xb:function(){return v},ac:function(){return m},gm:function(){return h},m_:function(){return c},mk:function(){return p},pp:function(){return O},u8:function(){return w},zP:function(){return x}});let r=BigInt(4294967296-1),o=BigInt(32);function i(e,t=!1){let n=e.length,i=new Uint32Array(n),s=new Uint32Array(n);for(let u=0;u<n;u++){let{h:n,l:c}=function(e,t=!1){return t?{h:Number(e&r),l:Number(e>>o&r)}:{h:0|Number(e>>o&r),l:0|Number(e&r)}}(e[u],t);[i[u],s[u]]=[n,c]}return[i,s]}let s=(e,t,n)=>e>>>n,u=(e,t,n)=>e<<32-n|t>>>n,c=(e,t,n)=>e>>>n|t<<32-n,a=(e,t,n)=>e<<32-n|t>>>n,l=(e,t,n)=>e<<64-n|t>>>n-32,f=(e,t,n)=>e>>>n-32|t<<64-n,d=(e,t,n)=>e<<n|t>>>32-n,h=(e,t,n)=>t<<n|e>>>32-n,b=(e,t,n)=>t<<n-32|e>>>64-n,p=(e,t,n)=>e<<n-32|t>>>64-n;function g(e,t,n,r){let o=(t>>>0)+(r>>>0);return{h:e+n+(o/4294967296|0)|0,l:0|o}}let m=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),y=(e,t,n,r)=>t+n+r+(e/4294967296|0)|0,v=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),w=(e,t,n,r,o)=>t+n+r+o+(e/4294967296|0)|0,x=(e,t,n,r,o)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(o>>>0),O=(e,t,n,r,o,i)=>t+n+r+o+i+(e/4294967296|0)|0},92530:function(e,t,n){n.d(t,{fr:function(){return w}});var r=n(16177),o=n(25884);let i=BigInt(0),s=BigInt(1),u=BigInt(2),c=BigInt(7),a=BigInt(256),l=BigInt(113),f=[],d=[],h=[];for(let e=0,t=s,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],f.push(2*(5*r+n)),d.push((e+1)*(e+2)/2%64);let o=i;for(let e=0;e<7;e++)(t=(t<<s^(t>>c)*l)%a)&u&&(o^=s<<(s<<BigInt(e))-s);h.push(o)}let b=(0,r.Vl)(h,!0),p=b[0],g=b[1],m=(e,t,n)=>n>32?(0,r.SD)(e,t,n):(0,r.EP)(e,t,n),y=(e,t,n)=>n>32?(0,r.mk)(e,t,n):(0,r.gm)(e,t,n);class v extends o.kb{constructor(e,t,n,r=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=r,this.rounds=i,(0,o.k8)(n),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,o.Jq)(this.state)}clone(){return this._cloneInto()}keccak(){(0,o.Ux)(this.state32),function(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,o=(t+2)%10,i=n[o],s=n[o+1],u=m(i,s,1)^n[r],c=y(i,s,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=u,e[t+n+1]^=c}let t=e[2],o=e[3];for(let n=0;n<24;n++){let r=d[n],i=m(t,o,r),s=y(t,o,r),u=f[n];t=e[u],o=e[u+1],e[u]=i,e[u+1]=s}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=p[r],e[1]^=g[r]}(0,o.ru)(n)}(this.state32,this.rounds),(0,o.Ux)(this.state32),this.posOut=0,this.pos=0}update(e){(0,o.$h)(this),e=(0,o.O0)(e),(0,o.gk)(e);let{blockLen:t,state:n}=this,r=e.length;for(let o=0;o<r;){let i=Math.min(t-this.pos,r-o);for(let t=0;t<i;t++)n[this.pos++]^=e[o++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,(128&t)!=0&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,o.$h)(this,!1),(0,o.gk)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,o=e.length;r<o;){this.posOut>=n&&this.keccak();let i=Math.min(n-this.posOut,o-r);e.set(t.subarray(this.posOut,this.posOut+i),r),this.posOut+=i,r+=i}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,o.k8)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,o.eB)(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,o.ru)(this.state)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:o,enableXOF:i}=this;return e||(e=new v(t,n,r,i,o)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=o,e.suffix=n,e.outputLen=r,e.enableXOF=i,e.destroyed=this.destroyed,e}}let w=(0,o.V1)(()=>new v(136,1,32))},25884:function(e,t,n){n.d(t,{kb:function(){return E},gk:function(){return s},$h:function(){return c},z3:function(){return u},k8:function(){return i},eB:function(){return a},ci:function(){return m},ru:function(){return f},eV:function(){return O},V1:function(){return $},GL:function(){return d},nr:function(){return w},_t:function(){return o},O6:function(){return P},np:function(){return h},Ux:function(){return b},O0:function(){return x},Jq:function(){return l}});let r="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function o(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function s(e,...t){if(!o(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 u(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");i(e.outputLen),i(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 a(e,t){s(e);let n=t.outputLen;if(e.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}function l(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function f(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function d(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function h(e,t){return e<<32-t|e>>>t}let b=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0]?e=>e:function(e){for(let n=0;n<e.length;n++){var t;e[n]=(t=e[n])<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}return e},p="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,g=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function m(e){if(s(e),p)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=g[e[n]];return t}let y={_0:48,_9:57,A:65,F:70,a:97,f:102};function v(e){return e>=y._0&&e<=y._9?e-y._0:e>=y.A&&e<=y.F?e-(y.A-10):e>=y.a&&e<=y.f?e-(y.a-10):void 0}function w(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(p)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,o=0;t<n;t++,o+=2){let n=v(e.charCodeAt(o)),i=v(e.charCodeAt(o+1));if(void 0===n||void 0===i)throw Error('hex string expected, got non-hex character "'+(e[o]+e[o+1])+'" at index '+o);r[t]=16*n+i}return r}function x(e){return"string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}(e)),s(e),e}function O(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];s(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let o=e[t];n.set(o,r),r+=o.length}return n}class E{}function $(e){let t=t=>e().update(x(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function P(e=32){if(r&&"function"==typeof r.getRandomValues)return r.getRandomValues(new Uint8Array(e));if(r&&"function"==typeof r.randomBytes)return Uint8Array.from(r.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},73252:function(e,t,n){let r;n.d(t,{m:function(){return i}});var o=n(45345),i=(r=()=>o.sk,{isServer:()=>r(),setIsServer(e){r=e}})},87045:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(24112),o=new class extends r.l{#e;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
1this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}}},18238:function(e,t,n){n.d(t,{Vr:function(){return o}});var r=n(84554).Hp,o=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()},i=r,s=r=>{t?e.push(r):i(()=>{n(r)})},u=()=>{let t=e;e=[],t.length&&i(()=>{o(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{--t||u()}return n},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{i=e}}}()},57853:function(e,t,n){n.d(t,{N:function(){return o}});var r=n(24112),o=new class extends r.l{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#r}}},7989:function(e,t,n){n.d(t,{F:function(){return s}});var r=n(84554),o=n(73252),i=n(45345),s=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.PN)(this.gcTime)&&(this.#o=r.mr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(o.m.isServer()?1/0:3e5))}clearGcTimeout(){this.#o&&(r.mr.clearTimeout(this.#o),this.#o=void 0)}}},11255:function(e,t,n){n.d(t,{Kw:function(){return a},Mz:function(){return f},p8:function(){return l}});var r=n(87045),o=n(57853),i=n(16803),s=n(73252),u=n(45345);function c(e){return Math.min(1e3*2**e,3e4)}function a(e){return(e??"online")!=="online"||o.N.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function f(e){let t,n=!1,f=0,d=(0,i.O)(),h=()=>"pending"!==d.status,b=()=>r.j.isFocused()&&("always"===e.networkMode||o.N.isOnline())&&e.canRun(),p=()=>a(e.networkMode)&&e.canRun(),g=e=>{h()||(t?.(),d.resolve(e))},m=e=>{h()||(t?.(),d.reject(e))},y=()=>new Promise(n=>{t=e=>{(h()||b())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,h()||e.onContinue?.()}),v=()=>{let t;if(h())return;let r=0===f?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(g).catch(t=>{if(h())return;let r=e.retry??(s.m.isServer()?0:3),o=e.retryDelay??c,i="function"==typeof o?o(f,t):o,a=!0===r||"number"==typeof r&&f<r||"function"==typeof r&&r(f,t);if(n||!a){m(t);return}f++,e.onFail?.(f,t),(0,u._v)(i).then(()=>b()?void 0:y()).then(()=>{n?m(t):v()})})};return{promise:d,status:()=>d.status,cancel:t=>{if(!h()){let n=new l(t);m(n),e.onCancel?.(n)}},continue:()=>(t?.(),d),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:p,start:()=>(p()?v():y().then(v),d)}}},24112:function(e,t,n){n.d(t,{l:function(){return r}});var r=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(){}}},16803:function(e,t,n){n.d(t,{O:function(){return r}});function r(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}},84554:function(e,t,n){n.d(t,{Hp:function(){return i},mr:function(){return o}});var r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},o=new class{#i=r;#s=!1;setTimeoutProvider(e){this.#i=e}setTimeout(e,t){return this.#i.setTimeout(e,t)}clearTimeout(e){this.#i.clearTimeout(e)}setInterval(e,t){return this.#i.setInterval(e,t)}clearInterval(e){this.#i.clearInterval(e)}};function i(e){setTimeout(e,0)}},45345:function(e,t,n){n.d(t,{CN:function(){return j},Ht:function(){return P},I4:function(){return M},KC:function(){return a},Kp:function(){return c},L3:function(){return A},Nc:function(){return l},PN:function(){return u},Q$:function(){return m},Rm:function(){return h},SE:function(){return s},VS:function(){return y},VX:function(){return $},X7:function(){return d},Ym:function(){return b},ZT:function(){return i},_v:function(){return O},_x:function(){return f},cG:function(){return I},oE:function(){return E},sk:function(){return o},to:function(){return p}});var r=n(84554),o="undefined"==typeof window||"Deno"in globalThis;function i(){}function s(e,t){return"function"==typeof e?e(t):e}function u(e){return"number"==typeof e&&e>=0&&e!==1/0}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function a(e,t){return"function"==typeof e?e(t):e}function l(e,t){return"function"==typeof e?e(t):e}function f(e,t){let{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:u}=e;if(s){if(r){if(t.queryHash!==h(s,t.options))return!1}else if(!p(t.queryKey,s))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(!o||o===t.state.fetchStatus)&&(!i||!!i(t))}function d(e,t){let{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(b(t.options.mutationKey)!==b(i))return!1}else if(!p(t.options.mutationKey,i))return!1}return(!r||t.state.status===r)&&(!o||!!o(t))}function h(e,t){return(t?.queryKeyHashFn||b)(e)}function b(e){return JSON.stringify(e,(e,t)=>w(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>p(e[n],t[n]))}var g=Object.prototype.hasOwnProperty;function m(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=v(e)&&v(t);if(!r&&!(w(e)&&w(t)))return t;let o=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),s=i.length,u=r?Array(s):{},c=0;for(let a=0;a<s;a++){let s=r?a:i[a],l=e[s],f=t[s];if(l===f){u[s]=l,(r?a<o:g.call(e,s))&&c++;continue}if(null===l||null===f||"object"!=typeof l||"object"!=typeof f){u[s]=f;continue}let d=m(l,f,n+1);u[s]=d,d===l&&c++}return o===s&&c===o?e:u}function y(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function w(e){if(!x(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(x(n)&&n.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(e)===Object.prototype}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function O(e){return new Promise(t=>{r.mr.setTimeout(t,e)})}function E(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function $(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function P(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var j=Symbol();function I(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==j?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function A(e,t){return"function"==typeof e?e(...t):!!e}function M(e,t,n){let r,o=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),o||(o=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}},29827:function(e,t,n){n.d(t,{NL:function(){return s},aH:function(){return u}});var r=n(2265),o=n(57437),i=r.createContext(void 0),s=e=>{let t=r.useContext(i);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},u=e=>{let{client:t,children:n}=e;return r.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,o.jsx)(i.Provider,{value:t,children:n})}},13102:function(e,t,n){n.d(t,{$S:function(){return a},JK:function(){return u},X4:function(){return o},XZ:function(){return c},aH:function(){return s},wi:function(){return i}});var r=n(26129);class o extends r.G{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class i extends r.G{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class s extends r.G{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class u extends r.G{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 r.G{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 a extends r.G{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"})}}},10052:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(81544);class o extends r.G{constructor({address:e}){super(`Address "${e}
1" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}},81544:function(e,t,n){n.d(t,{G:function(){return i}});let r="2.47.10",o={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${r}`};class i extends Error{constructor(e,t={}){let n=t.cause instanceof i?t.cause.details:t.cause?.message?t.cause.message:t.details,s=t.cause instanceof i&&t.cause.docsPath||t.docsPath,u=o.getDocsUrl?.({...t,docsPath:s});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...u?[`Docs: ${u}`]:[],...n?[`Details: ${n}`]:[],...o.version?[`Version: ${o.version}`]:[]].join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=s,this.metaMessages=t.metaMessages,this.name=t.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,n):n?null:t}(this,e)}}},47116:function(e,t,n){n.d(t,{$s:function(){return i},W_:function(){return s},mV:function(){return o}});var r=n(81544);class o extends r.G{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${n}).`,{name:"SliceOffsetOutOfBoundsError"})}}class i extends r.G{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class s extends r.G{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${t} ${n} long, but is ${e} ${n} long.`,{name:"InvalidBytesLengthError"})}}},63152:function(e,t,n){n.d(t,{Cd:function(){return s},J5:function(){return o},M6:function(){return u},yr:function(){return i}});var r=n(81544);class o extends r.G{constructor({max:e,min:t,signed:n,size:r,value:o}){super(`Number "${o}" is not in safe ${r?`${8*r}-bit ${n?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class i extends r.G{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class s extends r.G{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class u extends r.G{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},17057:function(e,t,n){n.d(t,{Gg:function(){return s},W5:function(){return c},bs:function(){return u}});var r=n(31853),o=n(81544),i=n(97564);class s extends o.G{constructor({body:e,cause:t,details:n,headers:o,status:s,url:u}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[s&&`Status: ${s}`,`URL: ${(0,i.G)(u)}`,e&&`Request body: ${(0,r.P)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=o,this.status=s,this.url=u}}class u extends o.G{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,i.G)(n)}`,`Request body: ${(0,r.P)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data,this.url=n}}class c extends o.G{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,i.G)(t)}`,`Request body: ${(0,r.P)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=t}}},77014:function(e,t,n){n.d(t,{B:function(){return c},EJ:function(){return A},GD:function(){return y},I0:function(){return E},KB:function(){return p},LX:function(){return a},NO:function(){return S},Nt:function(){return I},Og:function(){return h},PE:function(){return w},Pv:function(){return m},Ts:function(){return x},UF:function(){return z},Uu:function(){return j},XS:function(){return f},ab:function(){return v},fl:function(){return M},gS:function(){return g},ir:function(){return k},nY:function(){return l},pT:function(){return b},r0:function(){return T},s7:function(){return u},u5:function(){return O},vl:function(){return P},x3:function(){return $},yR:function(){return d}});var r=n(81544),o=n(17057);class i extends r.G{constructor(e,{code:t,docsPath:n,metaMessages:r,name:i,shortMessage:s}){super(s,{cause:e,docsPath:n,metaMessages:r||e?.metaMessages,name:i||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}
vendor: 5,055 bytes, line 1
1),this.name=i||e.name,this.code=e instanceof o.bs?e.code:t??-1}}class s extends i{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class u extends i{constructor(e){super(e,{code:u.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends i{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 a extends i{constructor(e,{method:t}={}){super(e,{code:a.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends i{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class f extends i{constructor(e){super(e,{code:f.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class d extends i{constructor(e){super(e,{code:d.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class h extends i{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 b extends i{constructor(e){super(e,{code:b.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class p extends i{constructor(e){super(e,{code:p.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class g extends i{constructor(e,{method:t}={}){super(e,{code:g.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class m extends i{constructor(e){super(e,{code:m.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class y extends i{constructor(e){super(e,{code:y.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class v extends s{constructor(e){super(e,{code:v.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends s{constructor(e){super(e,{code:w.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class x extends s{constructor(e,{method:t}={}){super(e,{code:x.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class O extends s{constructor(e){super(e,{code:O.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class E extends s{constructor(e){super(e,{code:E.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class $ extends s{constructor(e){super(e,{code:$.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class P extends s{constructor(e){super(e,{code:P.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});
1class j extends s{constructor(e){super(e,{code:j.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class I extends s{constructor(e){super(e,{code:I.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class A extends s{constructor(e){super(e,{code:A.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class M extends s{constructor(e){super(e,{code:M.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class S extends s{constructor(e){super(e,{code:S.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class T extends s{constructor(e){super(e,{code:T.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class z extends s{constructor(e){super(e,{code:z.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(z,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3});class k extends i{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},97564:function(e,t,n){n.d(t,{C:function(){return r},G:function(){return o}});let r=e=>e,o=e=>e},31669:function(e,t,n){n.d(t,{K:function(){return l},x:function(){return a}});var r=n(10052),o=n(44659),i=n(13169),s=n(82061),u=n(4012);let c=new s.k(8192);function a(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let n=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),r=(0,i.w)((0,o.qX)(n),"bytes"),s=(t?n.substring(`${t}0x`.length):n).split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&s[e]&&(s[e]=s[e].toUpperCase()),(15&r[e>>1])>=8&&s[e+1]&&(s[e+1]=s[e+1].toUpperCase());let u=`0x${s.join("")}`;return c.set(`${e}.${t}`,u),u}function l(e,t){if(!(0,u.U)(e,{strict:!1}))throw new r.b({address:e});return a(e,t)}},4012:function(e,t,n){n.d(t,{U:function(){return u}});var r=n(82061),o=n(31669);let i=/^0x[a-fA-F0-9]{40}$/,s=new r.k(8192);function u(e,t){let{strict:n=!0}=t??{},r=`${e}.${n}`;if(s.has(r))return s.get(r);let u=!!i.test(e)&&(e.toLowerCase()===e||!n||(0,o.x)(e)===e);return s.set(r,u),u}},93610:function(e,t,n){n.d(t,{v:function(){return r}});function r(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}},8796:function(e,t,n){n.d(t,{gc:function(){return i},vk:function(){return o}});var r=n(47116);function o(e,{dir:t,size:n=32}={}){return"string"==typeof e?i(e,{dir:t,size:n}):function(e,{dir:t,size:n=32}={}){if(null===n)return e;if(e.length>n)throw new r.$s({size:e.length,targetSize:n,type:"bytes"});let o=new Uint8Array(n);for(let r=0;r<n;r++){let i="right"===t;o[i?r:n-r-1]=e[i?r:e.length-r-1]}return o}(e,{dir:t,size:n})}function i(e,{dir:t,size:n=32}={}){if(null===n)return e;let o=e.replace("0x","");if(o.length>2*n)throw new r.$s({size:Math.ceil(o.length/2),targetSize:n,type:"hex"});return`0x${o["right"===t?"padEnd":"padStart"](2*n,"0")}`}},20556:function(e,t,n){n.d(t,{d:function(){return o}});var r=n(93610);function o(e){return(0,r.v)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},36826:function(e,t,n){n.d(t,{f:function(){return r}});function r(e,{dir:t="left"}={}){let n="string"==typeof e?e.replace("0x",""):e,r=0;for(let e=0;e<n.length-1&&"0"===n["left"===t?e:n.length-e-1].toString();e++)r++;return(n="left"===t?n.slice(r):n.slice(0,n.length-r),"string"==typeof e)?(1===n.length&&"right"===t&&(n=`${n}0`),`0x${n.length%2==1?`0${n}`:n}`):n}},72932:function(e,t,n){n.d(t,{XA:function(){return a},Yf:function(){return u},ly:function(){return l},rR:function(){return f},y_:function(){return c}});var r=n(63152),o=n(20556),i=n(36826),s=n(44659);function u(e,{size:t}){if((0,o.d)(e)>t)throw new r.M6({givenSize:(0,o.d)(e),maxSize:t})}function c(e,t={}){let{signed:n}=t;t.size&&u(e,{size:t.size});let r=BigInt(e);if(!n)return r;let o=(e.length-2)/2;return r<=(1n<<8n*BigInt(o)-1n)-1n?r:r-BigInt(`0x${"f".padStart(2*o,"f")}`)-1n}function a(e,t={}){let n=e;if(t.size&&(u(n,{size:t.size}),n=(0,i.f)(n)),"0x00"===(0,i.f)(n))return!1;if("0x01"===(0,i.f)(n))return!0;throw new r.Cd(n)}function l(e,t={}){let n=c(e,t),o=Number(n);if(!Number.isSafeInteger(o))throw new r.J5({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${n}n`});return o}function f(e,t={}){let n=(0,s.nr)(e);return t.size&&(u(n,{size:t.size}),n=(0,i.f)(n,{dir:"right"})),new TextDecoder().decode(n)}},44659:function(e,t,n){n.d(t,{O0:function(){return a},nr:function(){return d},qX:function(){return h}});var r=n(81544),o=n(93610),i=n(8796),s=n(72932),u=n(59455);let c=new TextEncoder;function a(e,t={}){return"number"==typeof e||"bigint"==typeof e?d((0,u.eC)(e,t)):"boolean"==typeof e?function(e,t={}){let n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof t.size)?((0,s.Yf)(n,{size:t.size}),(0,i.vk)(n,{size:t.size})):n}(e,t):(0,o.v)(e)?d(e,t):h(e,t)}let l={zero:48,nine:57,A:65,F:70,a:97,f:102};function f(e){return e>=l.zero&&e<=l.nine?e-l.zero:e>=l.A&&e<=l.F?e-(l.A-10):e>=l.a&&e<=l.f?e-(l.a-10):void 0}function d(e,t={}){let n=e;t.size&&((0,s.Yf)(n,{size:t.size}),n=(0,i.vk)(n,{dir:"right",size:t.size}));let o=n.slice(2);o.length%2&&(o=`0${o}`);let u=o.length/2,c=new Uint8Array(u);for(let e=0,t=0;e<u;
1e++){let n=f(o.charCodeAt(t++)),i=f(o.charCodeAt(t++));if(void 0===n||void 0===i)throw new r.G(`Invalid byte sequence ("${o[t-2]}${o[t-1]}" in "${o}").`);c[e]=16*n+i}return c}function h(e,t={}){let n=c.encode(e);return"number"==typeof t.size?((0,s.Yf)(n,{size:t.size}),(0,i.vk)(n,{dir:"right",size:t.size})):n}},59455:function(e,t,n){n.d(t,{$G:function(){return d},C4:function(){return c},NC:function(){return u},ci:function(){return a},eC:function(){return l}});var r=n(63152),o=n(8796),i=n(72932);let s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function u(e,t={}){return"number"==typeof e||"bigint"==typeof e?l(e,t):"string"==typeof e?d(e,t):"boolean"==typeof e?c(e,t):a(e,t)}function c(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?((0,i.Yf)(n,{size:t.size}),(0,o.vk)(n,{size:t.size})):n}function a(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=s[e[t]];let r=`0x${n}`;return"number"==typeof t.size?((0,i.Yf)(r,{size:t.size}),(0,o.vk)(r,{dir:"right",size:t.size})):r}function l(e,t={}){let n;let{signed:i,size:s}=t,u=BigInt(e);s?n=i?(1n<<8n*BigInt(s)-1n)-1n:2n**(8n*BigInt(s))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof n&&i?-n-1n:0;if(n&&u>n||u<c){let t="bigint"==typeof e?"n":"";throw new r.J5({max:n?`${n}${t}`:void 0,min:`${c}${t}`,signed:i,size:s,value:`${e}${t}`})}let a=`0x${(i&&u<0?(1n<<BigInt(8*s))+BigInt(u):u).toString(16)}`;return s?(0,o.vk)(a,{size:s}):a}let f=new TextEncoder;function d(e,t={}){return a(f.encode(e),t)}},13169:function(e,t,n){n.d(t,{w:function(){return u}});var r=n(92530),o=n(93610),i=n(44659),s=n(59455);function u(e,t){let n=(0,r.fr)((0,o.v)(e,{strict:!1})?(0,i.O0)(e):e);return"bytes"===(t||"hex")?n:(0,s.NC)(n)}},82061:function(e,t,n){n.d(t,{k:function(){return r}});class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,t)),t}set(e,t){if(super.has(e)&&super.delete(e),super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}},49287:function(e,t,n){n.d(t,{J:function(){return o}});var r=n(33457);function o(e,{delay:t=100,retryCount:n=2,shouldRetry:o=()=>!0}={}){return new Promise((i,s)=>{let u=async({count:c=0}={})=>{let a=async({error:e})=>{let n="function"==typeof t?t({count:c,error:e}):t;n&&await (0,r.D)(n),u({count:c+1})};try{let t=await e();i(t)}catch(e){if(c<n&&await o({count:c,error:e}))return a({error:e});s(e)}};u()})}},31853:function(e,t,n){n.d(t,{P:function(){return r}});let r=(e,t,n)=>JSON.stringify(e,(e,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof t?t(e,r):r},n)},33457:function(e,t,n){n.d(t,{D:function(){return r}});async function r(e){return new Promise(t=>setTimeout(t,e))}}}]);
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.