"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5666],{46111:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},70095:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]])},15452:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},44976:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},88923:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]])},89176:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(31134).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},28771:function(e,t,r){r.d(t,{F:function(){return i},e:function(){return u}});var n=r(67294);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let{children:r,...s}=e,u=n.Children.toArray(r),o=u.find(c);if(o){let e=o.props.children,r=u.map(t=>t!==o?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...s,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(a,{...s,ref:t,children:r})});u.displayName="Slot";var a=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e,u;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...e)=>{i(...e),s(...e)}:s&&(r[n]=s):"style"===n?r[n]={...s,...i}:"className"===n&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,s.F)(t,a):a})}return n.Children.count(r)>1?n.Children.only(null):null});a.displayName="SlotClone";var o=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===o}},86290:function(e,t,r){function n(e,t){return"function"==typeof e?e(...t):!!e}function s(){}r.d(t,{L:function(){return n},Z:function(){return s}})},36100:function(e,t,r){r.d(t,{OP:function(){return a},if:function(){return s},kq:function(){return i}});var n=r(24139);function s(e,t){return(0,n.Q$)(e,t)}function i(e){return JSON.stringify(e,(e,t)=>!function(e){if(!u(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(u(r)&&r.hasOwnProperty("isPrototypeOf"))}(t)?"bigint"==typeof t?t.toString():t:Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}))}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function a(e){let{_defaulted:t,behavior:r,gcTime:n,initialData:s,initialDataUpdatedAt:i,maxPages:u,meta:a,networkMode:o,queryFn:c,queryHash:l,queryKey:h,queryKeyHashFn:d,retry:f,retryDelay:p,structuralSharing:y,getPreviousPageParam:v,getNextPageParam:b,initialPageParam:R,_optimisticResults:m,enabled:g,notifyOnChangeProps:O,placeholderData:Q,refetchInterval:C,refetchIntervalInBackground:k,refetchOnMount:I,refetchOnReconnect:S,refetchOnWindowFocus:x,retryOnMount:E,select:w,staleTime:T,suspense:q,throwOnError:P,config:j,connector:N,query:F,...M}=e;return M}},12003:function(e,t,r){r.d(t,{j:function(){return u}});var n=r(90512);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.W,u=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:u,defaultVariants:a}=t,o=Object.keys(u).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let i=s(t)||s(n);return u[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,o,null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},82002:function(e,t,r){function n(e){return e.state.chainId}r.d(t,{x:function(){return u}});var s=r(67294),i=r(37122);function u(e={}){let t=(0,i.Z)(e);return(0,s.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e.subscribe(e=>e.chainId,r)})(t,{onChange:e}),()=>n(t),()=>n(t))}},37122:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(67294),s=r(49739),i=r(7066);let u=()=>"wagmi@2.14.16";class a extends i.G{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 u()}}class o extends a{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)(s.V);if(!t)throw new o;return t}},89810:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(37003),s=r(36100),i=r(1212),u=r(82002),a=r(37122);function o(e={}){let{abi:t,address:r,functionName:o,query:c={}}=e,l=e.code,h=(0,a.Z)(e),d=(0,u.x)({config:h}),f=function(e,t={}){return{async queryFn({queryKey:r}){let s=t.abi;if(!s)throw Error("abi is required");let{functionName:i,scopeKey:u,...a}=r[1],o=(()=>{let e=r[1];if(e.address)return{address:e.address};if(e.code)return{code:e.code};throw Error("address or code is required")})();if(!i)throw Error("functionName is required");return(0,n.L)(e,{abi:s,functionName:i,args:a.args,...o,...a})},queryKey:function(e={}){let{abi:t,...r}=e;return["readContract",(0,s.OP)(r)]}(t)}}(h,{...e,chainId:e.chainId??d}),p=!!((r||l)&&t&&o&&(c.enabled??!0));return(0,i.aM)({...c,...f,enabled:p,structuralSharing:c.structuralSharing??s.if})}},1212:function(e,t,r){let n;r.d(t,{aM:function(){return T}});var s=r(66474),i=r(27037),u=r(56888),a=r(7506),o=r(13820),c=r(24139),l=class extends a.l{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,o.O)(),this.options.experimental_prefetchInRender||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#e;#n=void 0;#s=void 0;#i=void 0;#u;#a;#r;#t;#o;#c;#l;#h;#d;#f;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#n.addObserver(this),h(this.#n,this.options)?this.#y():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#n,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#n,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#R(),this.#n.removeObserver(this)}setOptions(e){let t=this.options,r=this.#n;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.Nc)(this.options.enabled,this.#n))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#m(),this.#n.setOptions(this.options),t._defaulted&&!(0,c.VS)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#n,observer:this});let n=this.hasListeners();n&&f(this.#n,r,this.options,t)&&this.#y(),this.updateResult(),n&&(this.#n!==r||(0,c.Nc)(this.options.enabled,this.#n)!==(0,c.Nc)(t.enabled,this.#n)||(0,c.KC)(this.options.staleTime,this.#n)!==(0,c.KC)(t.staleTime,this.#n))&&this.#g();let s=this.#O();n&&(this.#n!==r||(0,c.Nc)(this.options.enabled,this.#n)!==(0,c.Nc)(t.enabled,this.#n)||s!==this.#f)&&this.#Q(s)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,c.VS)(this.getCurrentResult(),r)||(this.#i=r,this.#a=this.options,this.#u=this.#n.state),r}getCurrentResult(){return this.#i}trackResult(e,t){let r={};return Object.keys(e).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),t?.(n),e[n])})}),r}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#n}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#y({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#y(e){this.#m();let t=this.#n.fetch(this.options,e);return e?.throwOnError||(t=t.catch(c.ZT)),t}#g(){this.#b();let e=(0,c.KC)(this.options.staleTime,this.#n);if(c.sk||this.#i.isStale||!(0,c.PN)(e))return;let t=(0,c.Kp)(this.#i.dataUpdatedAt,e);this.#h=setTimeout(()=>{this.#i.isStale||this.updateResult()},t+1)}#O(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#n):this.options.refetchInterval)??!1}#Q(e){this.#R(),this.#f=e,!c.sk&&!1!==(0,c.Nc)(this.options.enabled,this.#n)&&(0,c.PN)(this.#f)&&0!==this.#f&&(this.#d=setInterval(()=>{(this.options.refetchIntervalInBackground||s.j.isFocused())&&this.#y()},this.#f))}#v(){this.#g(),this.#Q(this.#O())}#b(){this.#h&&(clearTimeout(this.#h),this.#h=void 0)}#R(){this.#d&&(clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r;let n=this.#n,s=this.options,i=this.#i,a=this.#u,l=this.#a,d=e!==n?e.state:this.#s,{state:y}=e,v={...y},b=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&h(e,t),a=r&&f(e,n,t,s);(i||a)&&(v={...v,...(0,u.z)(y.data,e.options)}),"isRestoring"===t._optimisticResults&&(v.fetchStatus="idle")}let{error:R,errorUpdatedAt:m,status:g}=v;if(t.select&&void 0!==v.data){if(i&&v.data===a?.data&&t.select===this.#o)r=this.#c;else try{this.#o=t.select,r=t.select(v.data),r=(0,c.oE)(i?.data,r,t),this.#c=r,this.#t=null}catch(e){this.#t=e}}else r=v.data;if(void 0!==t.placeholderData&&void 0===r&&"pending"===g){let e;if(i?.isPlaceholderData&&t.placeholderData===l?.placeholderData)e=i.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#t=null}catch(e){this.#t=e}void 0!==e&&(g="success",r=(0,c.oE)(i?.data,e,t),b=!0)}this.#t&&(R=this.#t,r=this.#c,m=Date.now(),g="error");let O="fetching"===v.fetchStatus,Q="pending"===g,C="error"===g,k=Q&&O,I=void 0!==r,S={status:g,fetchStatus:v.fetchStatus,isPending:Q,isSuccess:"success"===g,isError:C,isInitialLoading:k,isLoading:k,data:r,dataUpdatedAt:v.dataUpdatedAt,error:R,errorUpdatedAt:m,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>d.dataUpdateCount||v.errorUpdateCount>d.errorUpdateCount,isFetching:O,isRefetching:O&&!Q,isLoadingError:C&&!I,isPaused:"paused"===v.fetchStatus,isPlaceholderData:b,isRefetchError:C&&I,isStale:p(e,t),refetch:this.refetch,promise:this.#r};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===S.status?e.reject(S.error):void 0!==S.data&&e.resolve(S.data)},r=()=>{t(this.#r=S.promise=(0,o.O)())},s=this.#r;switch(s.status){case"pending":e.queryHash===n.queryHash&&t(s);break;case"fulfilled":("error"===S.status||S.data!==s.value)&&r();break;case"rejected":("error"!==S.status||S.error!==s.reason)&&r()}}return S}updateResult(){let e=this.#i,t=this.createResult(this.#n,this.options);this.#u=this.#n.state,this.#a=this.options,void 0!==this.#u.data&&(this.#l=this.#n),(0,c.VS)(t,e)||(this.#i=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#p.size)return!0;let n=new Set(r??this.#p);return this.options.throwOnError&&n.add("error"),Object.keys(this.#i).some(t=>this.#i[t]!==e[t]&&n.has(t))})()}))}#m(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#n)return;let t=this.#n;this.#n=e,this.#s=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#C(e){i.Vr.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#n,type:"observerResultsUpdated"})})}};function h(e,t){return!1!==(0,c.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==(0,c.Nc)(t.enabled,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&p(e,t)}return!1}function f(e,t,r,n){return(e!==t||!1===(0,c.Nc)(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==(0,c.Nc)(t.enabled,e)&&e.isStaleByTime((0,c.KC)(t.staleTime,e))}var y=r(67294),v=r(30202);r(85893);var b=y.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),R=()=>y.useContext(b),m=r(86290),g=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},O=e=>{y.useEffect(()=>{e.clearReset()},[e])},Q=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(s&&void 0===e.data||(0,m.L)(r,[e.error,n])),C=y.createContext(!1),k=()=>y.useContext(C);C.Provider;var I=e=>{let t=e.staleTime;e.suspense&&(e.staleTime="function"==typeof t?(...e)=>Math.max(t(...e),1e3):Math.max(t??1e3,1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))},S=(e,t)=>e.isLoading&&e.isFetching&&!t,x=(e,t)=>e?.suspense&&t.isPending,E=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),w=r(36100);function T(e){let t=function(e,t,r){let n=(0,v.NL)(r),s=k(),u=R(),a=n.defaultQueryOptions(e);n.getDefaultOptions().queries?._experimental_beforeQuery?.(a),a._optimisticResults=s?"isRestoring":"optimistic",I(a),g(a,u),O(u);let o=!n.getQueryCache().get(a.queryHash),[l]=y.useState(()=>new t(n,a)),h=l.getOptimisticResult(a),d=!s&&!1!==e.subscribed;if(y.useSyncExternalStore(y.useCallback(e=>{let t=d?l.subscribe(i.Vr.batchCalls(e)):m.Z;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),y.useEffect(()=>{l.setOptions(a)},[a,l]),x(a,h))throw E(a,l,u);if(Q({result:h,errorResetBoundary:u,throwOnError:a.throwOnError,query:n.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw h.error;if(n.getDefaultOptions().queries?._experimental_afterQuery?.(a,h),a.experimental_prefetchInRender&&!c.sk&&S(h,s)){let e=o?E(a,l,u):n.getQueryCache().get(a.queryHash)?.promise;e?.catch(m.Z).finally(()=>{l.updateResult()})}return a.notifyOnChangeProps?h:l.trackResult(h)}({...e,queryKeyHashFn:w.kq},l,void 0);return t.queryKey=e.queryKey,t}}}]);