1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,109982,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return c},getImageProps:function(){return l}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let a=e.r(481258),n=e.r(535773),o=e.r(950739),u=a._(e.r(202139));function l(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75,90],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=o.Image},107675,(e,t,r)=>{t.exports=e.r(109982)},175379,563160,e=>{"use strict";var t=e.i(464780),r=e.i(42198);let i={symbol:"ETH",poolDecimals:18,poolScale:1n,maxFractionDigits:8,wrapped:!0,usdPegged:!1},s={5042:{symbol:"USDC",poolDecimals:6,poolScale:10n**12n,maxFractionDigits:6,wrapped:!1,usdPegged:!0}};function a(e){return s[e]??i}function n(e){return"bigint"==typeof e?e:"string"==typeof e&&/^\d+$/.test(e)?BigInt(e):null}function o(e,r,i){let s=Number((0,t.formatEther)(n(e)??0n));if(0===s)return"0";let a=Math.abs(s);return s.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:Math.min(a>=1?r:a>=.01?3:a>=1e-4?5:8,i)})}function u(e,t=2){return o(e,t,8)}function l(e,t,r=2){return o(t,r,a(e).maxFractionDigits)}e.s(["ethEquivalentWei",0,function(e,t,r){if(!a(e).usdPegged)return t;if(null==r||!Number.isFinite(r)||r<=0)return null;let i=BigInt(Math.round(1e4*r));return 0n===i?null:t*BigInt(1e4)/i},"nativeCurrency",0,a,"nativeSymbol",0,function(e){return a(e).symbol},"nativeWeiToPoolUnits",0,function(e,t){return t/a(e).poolScale},"poolUnitsToNativeWei",0,function(e,t){return t*a(e).poolScale},"usdRateFor",0,function(e,t){return a(e).usdPegged?null:t??null}],563160);let c=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:2});function h(e){return c.format(e)}function d(e,t=1,r=!0){if(e>999)return`>${r?"+":""}999%`;if(e<-999)return"<-999%";let i=r&&e>0?"+":"";return`${i}${e.toFixed(t)}%`}function p(e){return e<60?`${Math.max(e,0)}s`:e<3600?`${Math.floor(e/60)}m`:e<86400?`${Math.floor(e/3600)}h`:`${Math.floor(e/86400)}d`}e.s(["floorScaledWei",0,function(e,t){let r=n(e);return null==r?null:(r*BigInt(null!=t&&t>0?t:100)/100n).toString()},"formatApr",0,function(e){return Number.isFinite(e)?e>99999?">99999%":`${e.toFixed(2)}%`:"â"},"formatCompact",0,h,"formatDelta",0,function(e,t=""){let r=Number(e.toFixed(1));if(0===r)return{text:`${d(0)}${t}`,tone:"neutral"};let i=r>0;return{text:`${i?"â²":"â¼"} ${d(e)}${t}`,tone:i?"positive":"negative"}},"formatDuration",0,p,"formatEth",0,u,"formatEthAmount",0,function(e,t=2){return`${u(e,t)} ETH`},"formatFloorMultipleCompact",0,function(e){return`${Number((e/100).toFixed(2))}x`},"formatNative",0,l,"formatNativeAmount",0,function(e,t,r=2){return`${l(e,t,r)} ${a(e).symbol}`},"formatNumber",0,function(e){return e.toLocaleString("en-US")},"formatPercent",0,d,"formatRelativeTime",0,function(e,t=Date.now()/1e3){let r=Math.round(t-e);if(5>Math.abs(r))return"just now";let i=p(Math.abs(r));return r>=0?`${i} ago`:`in ${i}`},"formatTokenAmount",0,function(e,t,i=4){let s=n(e);if(null==s)return"0";if(null==t)return s.toLocaleString("en-US");let a=Number((0,r.formatUnits)(s,t));if(0===a)return"0";let o=Math.abs(a);return a.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:o>=1?i:o>=.01?4:o>=1e-4?6:8})},"formatUsd",0,function(e,r){let i=Number((0,t.formatEther)(n(e)??0n));return`$${h(i*r)}`},"formatUsdExact",0,function(e,r){let i=Number((0,t.formatEther)(n(e)??0n));return`$${Math.round(i*r).toLocaleString("en-US")}`},"formatUsdString",0,function(e){if(null==e)return"â";let t=Number(e);return Number.isFinite(t)?`$${h(t)}`:"â"},"initials",0,function(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0].toUpperCase()).join("")},"parseWei",0,n,"pluralize",0,function(e,t,r=`${t}s`){return`${e} ${1===e?t:r}`},"shortAddress",0,function(e,t=6,r=4){return e.length<=t+r?e:`${e.slice(0,t)}â¦${e.slice(-r)}`},"sumWei",0,function(e){return e.reduce((e,t)=>
1e+(n(t)??0n),0n)},"tokenSpotValueWei",0,function(e,t){let r=n(e),i=n(t);return null==r||null==i?null:(r*i/0xde0b6b3a7640000n).toString()},"vaultTokenSymbol",0,function(e){return`${e}`}],175379)},864847,266173,358459,e=>{"use strict";var t=e.i(788697),r=e.i(335966),i=e.i(357911);e.i(692139);var s=e.i(7668),a=e.i(439277),n=e.i(578692);function o(e){return{onFetch:(t,r)=>{let i=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,n=t.state.data?.pages||[],o=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let r=!1,d=(0,s.ensureQueryFn)(t.options,t.fetchOptions),p=async(e,i,a)=>{let n;if(r)return Promise.reject(t.signal.reason);if(null==i&&e.pages.length)return Promise.resolve(e);let o=(n={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta},(0,s.addConsumeAwareSignal)(n,()=>t.signal,()=>r=!0),n),u=await d(o),{maxPages:l}=t.options,c=a?s.addToStart:s.addToEnd;return{pages:c(e.pages,u,l),pageParams:c(e.pageParams,i,l)}};if(a&&n.length){let e="backward"===a,t={pages:n,pageParams:o},r=(e?l:u)(i,t);c=await p(t,r,e)}else{let t=e??n.length;do{let e=0===h?o[0]??i.initialPageParam:u(i,c);if(h>0&&null==e)break;c=await p(c,e),h++}while(h<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=d}}}function u(e,{pages:t,pageParams:r}){let i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}function l(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}e.s(["hasNextPage",0,function(e,t){return!!t&&null!=u(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=l(e,t)},"infiniteQueryBehavior",0,o],266173);var c=class extends n.Removable{#e;#t;#r;#i;#s;#a;#n;#o;constructor(e){super(),this.#o=!1,this.#n=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#i=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=p(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#n,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=p(this.options);void 0!==e.data&&(this.setState(d(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#i.remove(this)}setData(e,t){let r=(0,s.replaceData)(this.state.data,e,this.options);return this.#u({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e){this.#u({type:"setState",state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(s.noop).catch(s.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,s.resolveQueryBoolean)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===s.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,s.resolveStaleTime)(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,s.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#i.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.#a&&(this.#o||this.#l()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#a?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.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,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,i.signal)}
1)},u=()=>{let e,r=(0,s.ensureQueryFn)(this.options,t),i=(n(e={client:this.#s,queryKey:this.queryKey,meta:this.meta}),e);return(this.#o=!1,this.options.persister)?this.options.persister(r,i,this):r(i)},l=(n(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:u}),r),c="infinite"===this.#e?o(this.options.pages):this.options.behavior;c?.onFetch(l,this),this.#r=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#u({type:"fetch",meta:l.fetchOptions?.meta}),this.#a=(0,a.createRetryer)({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof a.CancelledError&&e.revert&&this.setState({...this.#r,fetchStatus:"idle"}),i.abort()},onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#i.config.onSuccess?.(e,this),this.#i.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.CancelledError){if(e.silent)return this.#a.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#u({type:"error",error:e}),this.#i.config.onError?.(e,this),this.#i.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#u(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,...h(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...d(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?r:void 0,r;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:e})})}};function h(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function d(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function p(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,i=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,c,"fetchState",0,h],358459);var f=e.i(815021),y=e.i(926918),m=e.i(59665),g=class extends f.Subscribable{constructor(e,t){super(),this.options=t,this.#s=e,this.#c=null,this.#h=(0,y.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#s;#d=void 0;#p=void 0;#f=void 0;#y;#m;#h;#c;#g;#v;#b;#R;#S;#w;#C=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#d.addObserver(this),v(this.#d,this.options)?this.#Q():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return b(this.#d,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return b(this.#d,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#O(),this.#I(),this.#d.removeObserver(this)}setOptions(e){let t=this.options,r=this.#d;if(this.options=this.#s.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,s.resolveQueryBoolean)(this.options.enabled,this.#d))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#T(),this.#d.setOptions(this.options),t._defaulted&&!(0,s.shallowEqualObjects)(this.options,t)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#d,observer:this});let i=this.hasListeners();i&&R(this.#d,r,this.options,t)&&this.#Q(),this.updateResult(),i&&(this.#d!==r||(0,s.resolveQueryBoolean)(this.options.enabled,this.#d)!==(0,s.resolveQueryBoolean)(t.enabled,this.#d)||(0,s.resolveStaleTime)(this.options.staleTime,this.#d)!==(0,s.resolveStaleTime)(t.staleTime,this.#d))&&this.#E();let a=this.#P();i&&(this.#d!==r||(0,s.resolveQueryBoolean)(this.options.enabled,this.#d)!==(0,s.resolveQueryBoolean)(t.enabled,this.#d)||a!==this.#w)&&this.#U(a)}getOptimisticResult(e){var t,r;let i=this.#s.getQueryCache().build(this.#s,e),a=this.createResult(i,e);return t=this,r=a,(0,s.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#f=a,this.#m=this.options,this.#y=this.#d.state),a}getCurrentResult(){return this.#f}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.#h.status||this.#h.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#C.add(e)}getCurrentQuery(){return this.#d}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#s.defaultQueryOptions(e),r=this.#s.getQueryCache().build(this.#s,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#Q({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#f))}#Q(e){this.#T();let t=this.#d.fetch(this.options,e);return e?.throwOnError||(t=t.catch(s.noop)),t}#E(){this.#O();let e=(0,s.resolveStaleTime)(this.options.staleTime,this.#d);if(r.environmentManager.isServer()||this.#f.isStale||!(0,s.isValidTimeout)(e))return;let t=(0,s.timeUntilStale)(this.#f.dataUpdatedAt,e);this.#R=m.timeoutManager.setTimeout(()=>{this.#f.isStale||this.updateResult()},t+1)}#P(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#d):this.options.refetchInterval)??!1}#U(e){this.#I(),this.#w=e,!r.environmentManager.isServer()&&!1!==(0,s.resolveQueryBoolean)(this.options.enabled,this.#d)&&(0,s.isValidTimeout)(this.#w)&&0!==this.#w&&(this.#S=m.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||t.focusManager.isFocused())&&this.#Q()},this.#w))}#F(){this.#E(),this.#U(this.#P())}#O(){void 0!==this.#R&&(m.timeoutManager.clearTimeout(this.#R),this.#R=void 0)}#I(){void 0!==this.#S&&(m.timeoutManager.clearInterval(this.#S),this.#S=void 0)}createResult(e,t){let r,i=this.#d,a=this.options,n=this.#f,o=this.#y,u=this.#m,l=e!==i?e.state:this.#p,{state:c}=e,d={...c},p=!1;if(t._optimisticResults){let r=this.hasListeners(),s=!r&&v(e,t),n=r&&R(e,i,t,a);(s||n)&&(d={...d,...h(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:m,status:g}=d;r=d.data;let b=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===g){let e;n?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=n.data,b=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#b?.state.data,this.#b):t.placeholderData,void 0!==e&&(g="success",r=(0,s.replaceData)(n?.data,e,t),p=!0)}if(t.select&&void 0!==r&&!b)if(n&&r===o?.data&&t.select===this.#g)r=this.#v;else try{this.#g=t.select,r=t.select(r),r=(0,s.replaceData)(n?.data,r,t),this.#v=r,this.#c=null}catch(e){this.#c=e}this.#c&&(f=this.#c,r=this.#v,m=Date.now(),g="error");let w="fetching"===d.fetchStatus,C="pending"===g,Q="error"===g,F=C&&w,O=void 0!==r,I={status:g,fetchStatus:d.fetchStatus,isPending:C,isSuccess:"success"===g,isError:Q,isInitialLoading:F,isLoading:F,data:r,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!C,isLoadingError:Q&&!O,isPaused:"paused"===d.fetchStatus,isPlaceholderData:p,isRefetchError:Q&&O,isStale:S(e,t),refetch:this.refetch,promise:this.#h,isEnabled:!1!==(0,s.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==I.data,r="error"===I.status&&!t,s=e=>{r?e.reject(I.error):t&&e.resolve(I.data)},a=()=>{s(this.#h=I.promise=(0,y.pendingThenable)())},n=this.#h;switch(n.status){case"pending":e.queryHash===i.queryHash&&s(n);break;case"fulfilled":(r||I.data!==n.value)&&a();break;case"rejected":r&&I.error===n.reason||a()}}return I}updateResult(){let e=this.#f,t=this.createResult(this.#d,this.options);if(this.#y=this.#d.state,this.#m=this.options,void 0!==this.#y.data&&(this.#b=this.#d),(0,s.shallowEqualObjects)(t,e))return;this.#f=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#C.size)return!0;let i=new Set(r??this.#C);return this.options.throwOnError&&i.add("error"),Object.keys(this.#f).some(t=>this.#f[t]!==e[t]&&i.has(t))};this.#x({listeners:r()})}#T(){let e=this.#s.getQueryCache().build(this.#s,this.options);if(e===this.#d)return;let t=this.#d;this.#d=e,this.#p=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#x(e){i.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#f)}),this.#s.getQueryCache().notify({query:this.#d,type:"observerResultsUpdated"})})}};function v(e,t){return!1!==(0,s.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,s.resolveQueryBoolean)(t.retryOnMount,e))||void 0!==e.state.data&&b(e,t,t.refetchOnMount)}function b(e,t,r){if(!1!==(0,s.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,s.resolveStaleTime)(t.staleTime,e)){let i="function"==typeof r?r(e):r;return"always"===i||!1!==i&&S(e,t)}return!1}function R(e,t,r,i){return(e!==t||!1===(0,s.resolveQueryBoolean)(i.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&S(e,r)}function S(e,t){return!1!==(0,s.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,s.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,g],864847)},666661,499658,e=>{"use strict";let t;var r=e.i(794189);e.i(853286);var i=r.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));e.s(["useQueryErrorResetBoundary",0,()=>r.useContext(i)],666661);var s=e.i(7668);e.s(["ensurePreventErrorBoundaryRetry",0,(e,t,r)=>{let i=r?.state.error&&"function"==typeof e.throwOnError?(0,s.shouldThrowError)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||i)&&!t.isReset()&&(e.retryOn
1Mount=!1)},"getHasError",0,({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&void 0===e.data||(0,s.shouldThrowError)(r,[e.error,i])),"useClearResetErrorBoundary",0,e=>{r.useEffect(()=>{e.clearReset()},[e])}],499658)},310118,e=>{"use strict";var t=e.i(794189),r=t.createContext(!1);r.Provider,e.s(["useIsRestoring",0,()=>t.useContext(r)])},2522,e=>{"use strict";var t=e.i(864847),r=e.i(668049);e.s(["useQuery",0,function(e,i){return(0,r.useBaseQuery)(e,t.QueryObserver,i)}])},668049,346248,261238,e=>{"use strict";e.i(692139);var t=e.i(794189),r=e.i(335966),i=e.i(7668),s=e.i(357911),a=e.i(111173),n=e.i(666661),o=e.i(499658),u=e.i(310118),l=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},c=(e,t)=>e.isLoading&&e.isFetching&&!t,h=(e,t)=>e?.suspense&&t.isPending,d=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["defaultThrowOnError",0,(e,t)=>void 0===t.state.data,"ensureSuspenseTimers",0,l,"fetchOptimistic",0,d,"shouldSuspend",0,h,"willFetch",0,c],346248),e.s(["useBaseQuery",0,function(e,p,f){let y=(0,u.useIsRestoring)(),m=(0,n.useQueryErrorResetBoundary)(),g=(0,a.useQueryClient)(f),v=g.defaultQueryOptions(e);g.getDefaultOptions().queries?._experimental_beforeQuery?.(v);let b=g.getQueryCache().get(v.queryHash),R=!1!==e.subscribed;v._optimisticResults=y?"isRestoring":R?"optimistic":void 0,l(v),(0,o.ensurePreventErrorBoundaryRetry)(v,m,b),(0,o.useClearResetErrorBoundary)(m);let S=!g.getQueryCache().get(v.queryHash),[w]=t.useState(()=>new p(g,v)),C=w.getOptimisticResult(v),Q=!y&&R;if(t.useSyncExternalStore(t.useCallback(e=>{let t=Q?w.subscribe(s.notifyManager.batchCalls(e)):i.noop;return w.updateResult(),t},[w,Q]),()=>w.getCurrentResult(),()=>w.getCurrentResult()),t.useEffect(()=>{w.setOptions(v)},[v,w]),h(v,C))throw d(v,w,m);if((0,o.getHasError)({result:C,errorResetBoundary:m,throwOnError:v.throwOnError,query:b,suspense:v.suspense}))throw C.error;if(g.getDefaultOptions().queries?._experimental_afterQuery?.(v,C),v.experimental_prefetchInRender&&!r.environmentManager.isServer()&&c(C,y)){let e=S?d(v,w,m):b?.promise;e?.catch(i.noop).finally(()=>{w.updateResult()})}return v.notifyOnChangeProps?C:w.trackResult(C)}],668049);var p=e.i(859600);class f extends Error{status;path;code;details;constructor(e,t,r,i,s){super(e),this.status=t,this.path=r,this.code=i,this.details=s,this.name="ApiError"}}async function y(e,t){let r,i,s=`Request to ${t} failed with ${e.status}`;try{let t=await e.json();if(t&&"object"==typeof t&&"error"in t){let e=t.error;e&&"object"==typeof e&&("string"==typeof e.code&&(r=e.code),"string"==typeof e.message&&(s=e.message),i=e.details)}}catch{}return new f(s,e.status,t,r,i)}function m(e,t,r,i){let s=e.safeParse(t);if(s.success)return s.data;let a=s.error.issues[0],n=a?.path.join(".")||"(root)";throw new f(`Response from ${r} failed validation at ${n}: ${a?.message??"unknown"}`,i,r)}let g=p.env.NEXT_PUBLIC_API_URL.replace(/\/+$/,"");function v(e,t,r){let i=e.replace(/^\/+/,""),s=new URL(void 0===t?`${g}/v1/${i}`:`${g}/v1/${t}/${i}`);if(r)for(let[e,t]of Object.entries(r))null!=t&&s.searchParams.set(e,String(t));return s.toString()}async function b(e,t){let r,{schema:i,params:s,chainId:a,signal:n,fresh:o}=t,u=v(e,a,s);try{r=await fetch(u,{headers:{accept:"application/json",...o&&{"cache-control":"no-cache"}},signal:n})}catch(t){throw new f(`Network request failed: ${t.message}`,0,e)}if(!r.ok)throw await y(r,e);return m(i,await r.json(),e,r.status)}async function R(e,t){let r,{schema:i,params:s,signal:a,fresh:n}=t,o=v(e,void 0,s);try{r=await fetch(o,{headers:{accept:"application/json",...n&&{"cache-control":"no-cache"}},signal:a})}catch(t){throw new f(`Network request failed: ${t.message}`,0,e)}if(!r.ok)throw await y(r,e);return m(i,await r.json(),e,r.status)}async function S(e,t,r){let i,{schema:s,chainId:a,signal:n}=r,o=v(e,a);try{i=await fetch(o,{method:"POST",headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify(t),cache:"no-store",signal:n})}catch(t){throw new f(`Network request failed: ${t.message}`,0,e)}if(!i.ok)throw await y(i,e);return m(s,await i.json(),e,i.status)}async function w(e,{maxPages:t=20}={}){let r=[],i=new Set,s=null;for(let a=0;a<t;a++){let t=await e(s);
1r.push(...t.data);let a=t.pageInfo?.nextCursor;if(!t.pageInfo?.hasNextPage||!a||i.has(a))return r;i.add(a),s=a}return console.warn(`fetchAllPages: stopped at the ${t}-page cap; results may be truncated`),r}e.s(["ApiError",0,f,"apiGet",0,b,"apiGetGlobal",0,R,"apiPost",0,S,"fetchAllPages",0,w],261238)},47145,e=>{"use strict";e.s(["queryOptions",0,function(e){return e}])},306927,e=>{"use strict";var t=e.i(794189),r=e.i(509476);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s=e.i(892339);e.s(["default",0,(e,a)=>{let n=(0,t.forwardRef)(({className:n,...o},u)=>(0,t.createElement)(s.default,{ref:u,iconNode:a,className:(0,r.mergeClasses)(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o}));return n.displayName=i(e),n}],306927)},687789,e=>{"use strict";let t={ember:"radial-gradient(ellipse 80% 80% at 70% 0%, #FF4500 0%, #FF8C00 45%, transparent 100%)",cosmos:"radial-gradient(ellipse 80% 80% at 70% 0%, #4F46E5 0%, #EC4899 55%, transparent 100%)",aurora:"radial-gradient(ellipse 80% 80% at 70% 0%, #10B981 0%, #06B6D4 55%, transparent 100%)",dusk:"radial-gradient(ellipse 80% 80% at 70% 0%, #7C3AED 0%, #F43F5E 55%, transparent 100%)",solar:"radial-gradient(ellipse 80% 80% at 70% 0%, #F97316 0%, #EAB308 55%, transparent 100%)",void:"radial-gradient(ellipse 80% 80% at 70% 0%, #1E1B4B 0%, #312E81 60%, transparent 100%)"},r=Object.keys(t);function i(e,t){let r=function(e,t){let r=(0x811c9dc5^t)>>>0,i=e.toLowerCase();for(let e=0;e<i.length;e+=1)r^=i.charCodeAt(e),r=Math.imul(r,0x1000193)>>>0;return r>>>0}(e,t),i=r%360;return{hue:i,partner:(i+(25+(r>>>9)%61))%360}}function s(e,t,r){let i;return`hsl(${e} ${t}% ${((i=Math.cos((e-90)*Math.PI/90))>0?r-12*i:r).toFixed(1)}%)`}e.s(["ACCENT_GRADIENTS",0,t,"accentForAddress",0,function(e){if(!e)return"void";let t=Number.parseInt(e.slice(-2),16);return r[Number.isNaN(t)?0:t%r.length]??"void"},"avatarGradientForAddress",0,function(e){let{hue:t,partner:r}=i(e??"",0x85ebca6b);return`linear-gradient(140deg, ${s(t,58,34)} 0%, ${s(r,62,19)} 100%)`},"bannerGradientForAddress",0,function(e){let{hue:t,partner:r}=i(e??"",0x9e3779b9);return`radial-gradient(ellipse 100% 90% at 75% 0%, ${s(t,72,46)} 0%, transparent 75%), radial-gradient(ellipse 75% 65% at 12% 100%, ${s(r,66,34)} 0%, transparent 70%)`}])},925808,e=>{"use strict";var t=e.i(853286),r=e.i(107675),i=e.i(794189),s=e.i(687789),a=e.i(975157);e.s(["MediaImage",0,function({src:e,fallbackSrc:n,alt:o,accent:u,fallbackGradient:l,backgroundColor:c,sizes:h,quality:d,priority:p=!1,fetchPriority:f,unoptimized:y=!1,intrinsic:m=!1,stillFrame:g=!1,className:v,fallbackClassName:b,fallback:R}){let[S,w]=(0,i.useState)([]),[C,Q]=(0,i.useState)({src:e,fallbackSrc:n}),[F,O]=(0,i.useState)(null);(e!==C.src||n!==C.fallbackSrc)&&(Q({src:e,fallbackSrc:n}),w([]),O(null));let I=[e,n].find(e=>e&&!S.includes(e)),T=(0,i.useRef)(null),E=(0,i.useRef)(0),P=(0,i.useCallback)(()=>{let e=T.current;if(!e||!e.complete||!e.naturalWidth||"u"<typeof createImageBitmap)return;let t=++E.current;createImageBitmap(e).then(e=>{try{if(t!==E.current)return;let r=Math.min(1,1024/Math.max(e.width,e.height)),i=document.createElement("canvas");i.width=Math.round(e.width*r),i.height=Math.round(e.height*r);let s=i.getContext("2d");if(!s)return;s.imageSmoothingQuality="high",s.drawImage(e,0,0,i.width,i.height),i.toBlob(e=>{e&&t===E.current&&O(URL.createObjectURL(e))},"image/png")}finally{e.close()}}).catch(()=>{})},[]);if((0,i.useEffect)(()=>()=>{E.current+=1},[]),(0,i.useEffect)(()=>{if(F)return()=>URL.revokeObjectURL(F)},[F]),!I)return(0,t.jsx)("div",{"aria-hidden":"true",className:(0,a.cn)(m?"aspect-square w-full":"absolute inset-0","flex items-center justify-center",b),style:{backgroundColor:c??void 0,backgroundImage:u?s.ACCENT_GRADIENTS[u]:l??void 0},children:R});if(m)return(0,t.jsx)(r.default,{src:I,alt:o,width:512,height:512,priority:p,fetchPriority:f,unoptimized:y,sizes:h,quality:d,className:(0,a.cn)("h-auto w-full",v),style:c?{backgroundColor:c}:void 0,onError:()=>w(e=>
1[...e,I])});let U=(0,t.jsx)(r.default,{ref:T,src:I,alt:o,fill:!0,priority:p,fetchPriority:f,unoptimized:y,sizes:h,quality:d,className:(0,a.cn)(v,g&&F&&"motion-safe:hover-within:visible invisible motion-safe:group-hover/avatar:visible"),style:c?{backgroundColor:c}:void 0,onLoad:g?P:void 0,onError:()=>w(e=>[...e,I])});return g?(0,t.jsxs)(t.Fragment,{children:[U,F&&(0,t.jsx)("img",{src:F,alt:"","aria-hidden":"true","data-slot":"still-frame",className:(0,a.cn)("pointer-events-none absolute inset-0 size-full",v,"motion-safe:hover-within:invisible motion-safe:group-hover/avatar:invisible"),style:c?{backgroundColor:c}:void 0})]}):U}])}]);
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.