1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,624006,e=>{"use strict";e.s(["LayoutGroup",()=>u],624006);var t=e.i(120786),r=e.i(92808),n=e.i(474076),a=e.i(271645),l=e.i(231178);let i=(0,a.createContext)(null);var s=e.i(287022),o=e.i(674008);let c=e=>!e.isLayoutDirty&&e.willUpdate(!1),u=e=>{let{children:u,id:d,inherit:h=!0}=e,m=(0,a.useContext)(l.LayoutGroupContext),x=(0,a.useContext)(i),[p,g]=function(){let e=function(){let e=(0,a.useRef)(!1);return(0,o.useIsomorphicLayoutEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,r]=(0,a.useState)(0),n=(0,a.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,a.useCallback)(()=>s.frame.postRender(n),[n]),t]}(),f=(0,a.useRef)(null),v=m.id||x;null===f.current&&((e=>!0==(!0===e)||"id"===e)(h)&&v&&(d=d?v+"-"+d:v),f.current={id:d,group:!0===h&&m.group||function(){let e=new Set,t=new WeakMap,r=()=>e.forEach(c);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",r))},remove:n=>{e.delete(n);let a=t.get(n);a&&(a(),t.delete(n)),r()},dirty:r}}()});let b=(0,a.useMemo)(()=>(0,r._)((0,t._)({},f.current),{forceRender:p}),[g]);return(0,n.jsx)(l.LayoutGroupContext.Provider,{value:b,children:u})}},49741,626368,e=>{"use strict";e.s(["COLUMNS_LABELS_MAP",()=>A,"ChangeCell",()=>S,"DROPDOWN_LABELS_MAP",()=>z,"PctChange",()=>F,"PriceCell",()=>M,"TokenStarCell",()=>D,"cacheTokenForDetailsPage",()=>w,"columns",()=>P,"poolColumns",()=>R],49741);var t=e.i(474076),r=e.i(271645),n=e.i(520133),a=e.i(899602),l=e.i(975558),i=e.i(425063),s=e.i(870273),o=e.i(975157),c=e.i(276998),u=e.i(324920),d=e.i(723419);e.s(["SparklineHoverChart",()=>_],626368);var h=e.i(531278),m=e.i(337822),x=e.i(81365),p=e.i(385156);let g="rgba(74, 222, 128, 1)",f="rgba(248, 113, 133, 1)",v=null;function b(n){let{tokenId:a,isUp:l}=n,i=r.useRef(null),s=r.useRef(null),o=r.useRef(null),[c,u]=r.useState(!0),[d,m]=r.useState(!1),[x,p]=r.useState(null);return r.useEffect(()=>{let t=!1,r=new AbortController,n=setTimeout(()=>r.abort(),12e3);return(async()=>{try{let[n,c]=await Promise.all([(null!=v||(v=e.A(288579)),v),fetch("/api/tokens/".concat(encodeURIComponent(a),"/fair-candles?interval=1m&limit=180"),{signal:r.signal,cache:"no-store"})]);if(t)return;let d=i.current;if(!d)return;let h=n.createChart(d,{autoSize:!0,layout:{background:{type:n.ColorType.Solid,color:"transparent"},textColor:"rgba(170, 189, 214, 0.6)",fontSize:10,attributionLogo:!1},grid:{vertLines:{visible:!1},horzLines:{color:"rgba(148, 163, 184, 0.06)"}},rightPriceScale:{visible:!1},leftPriceScale:{visible:!1},timeScale:{visible:!1,borderVisible:!1},handleScroll:!1,handleScale:!1,crosshair:{mode:n.CrosshairMode.Magnet,vertLine:{color:"rgba(148, 163, 184, 0.35)",width:1,labelVisible:!1},horzLine:{visible:!1,labelVisible:!1}}}),x=h.addSeries(n.AreaSeries,{lineColor:l?g:f,topColor:l?"rgba(74, 222, 128, 0.28)":"rgba(248, 113, 133, 0.28)",bottomColor:"rgba(0, 0, 0, 0)",lineWidth:2,priceLineVisible:!1,lastValueVisible:!1,crosshairMarkerVisible:!0,crosshairMarkerRadius:3});s.current=h,o.current=x;let b=[];if(c.ok){let e=await c.json();b=Array.isArray(null==e?void 0:e.items)?e.items:[]}if(t)return;let _=b.filter(e=>Number.isFinite(e.time)&&Number.isFinite(e.close)&&e.close>0).map(e=>({time:e.time,value:e.close}));if(0===_.length){m(!0),u(!1);return}x.setData(_),h.timeScale().fitContent(),u(!1);let j=_[_.length-1];p({price:j.value,time:Math.floor(Date.now()/1e3)}),h.subscribeCrosshairMove(e=>{let t="number"==typeof e.time?e.time:null;if(null===t)return void p({price:j.value,time:Math.floor(Date.now()/1e3)});let r=e.seriesData.get(x);r&&"number"==typeof r.value&&p({price:r.value,time:t})})}catch(e){t||(m(!0),u(!1))}})(),()=>{var e;t=!0,clearTimeout(n),r.abort(),null==(e=s.current)||e.remove(),s.current=null,o.current=null}},[a,l]),(0,t.jsxs)("div",{className:"relative h-full w-full",children:[x&&!c&&!d&&(0,t.jsxs)("div",{className:"pointer-events-none absolute left-0 top-0 z-10 flex flex-col",children:[(0,t.jsx)("span",{className:"num text-sm font-medium leading-tight",style:{color:l?g:f},children:function(e){if(!Number.isFinite(e)||e<=0)return"$0.00";let t=Math.abs(e);return t>=1?"$".concat(e.toFixed(4)):t>=.01?"$".concat(e.toFixed(5)):t>=1e-4?"$".concat(e.toFixed(7)):t>=1e-6?"$".concat(e.toFixed(9)):"$".concat(e.toExponential(2))}(x.price)}),(0,t.jsx)("span",{className:"num text-[10px] leading-tight text-muted-foreground",children:new Date(1e3*x.time).toLocaleStr
1ing("en-GB",{month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})})]}),c&&(0,t.jsxs)("div",{className:"absolute inset-0 z-10 flex items-center justify-center gap-2 text-xs text-muted-foreground",children:[(0,t.jsx)(h.Loader2,{className:"h-3.5 w-3.5 animate-spin"}),"Loading chartâ¦"]}),d&&!c&&(0,t.jsx)("div",{className:"absolute inset-0 z-10 flex items-center justify-center text-xs text-muted-foreground",children:"No chart data"}),(0,t.jsx)("div",{ref:i,className:"absolute inset-0"})]})}let _=r.memo(function(e){let{seriesKey:n,tokenId:a,change:l=0,label:i}=e,s=(0,p.useSparkline)(n),[o,c]=r.useState(!1),u=r.useRef(null),d=r.useCallback(()=>{u.current&&(clearTimeout(u.current),u.current=null)},[]),h=r.useCallback(()=>{d(),u.current=setTimeout(()=>c(!1),120)},[d]);r.useEffect(()=>()=>d(),[d]);let g=Array.isArray(s)&&s.length>=2,f=Number.isFinite(l)&&0!==l?l>0?"up":"down":g?s[s.length-1]>=s[0]?"up":"down":"up";return(0,t.jsx)("div",{className:"flex h-full w-full items-center px-3 py-[7.5px]",children:(0,t.jsxs)(m.Popover,{open:o,onOpenChange:c,children:[(0,t.jsx)(m.PopoverTrigger,{asChild:!0,children:(0,t.jsx)("div",{className:"inline-flex h-8 w-full max-w-[96px] cursor-pointer items-center",onMouseEnter:()=>{d(),c(!0)},onMouseLeave:h,children:g?(0,t.jsx)(x.Sparkline,{points:s,width:96,height:28,tone:f}):(0,t.jsx)("div",{className:"h-px w-full bg-muted-foreground/20"})})}),(0,t.jsxs)(m.PopoverContent,{align:"center",side:"top",sideOffset:8,onOpenAutoFocus:e=>e.preventDefault(),onMouseEnter:d,onMouseLeave:h,className:"w-[320px] p-3",children:[i&&(0,t.jsx)("div",{className:"mb-1 truncate text-xs font-medium text-foreground",children:i}),(0,t.jsx)("div",{className:"h-[140px] w-full",children:o&&(a?(0,t.jsx)(b,{tokenId:a,isUp:"up"===f}):g?(0,t.jsx)("div",{className:"flex h-full w-full items-center",children:(0,t.jsx)(x.Sparkline,{points:s,width:296,height:120,tone:f})}):(0,t.jsx)("div",{className:"flex h-full items-center justify-center text-xs text-muted-foreground",children:"No chart data"}))})]})]})})}),j=e=>{if("number"==typeof e)return Number.isFinite(e)?e:0;if("string"==typeof e){let t=Number(e.trim().replace(/,/g,"").replace(/%$/,""));return Number.isFinite(t)?t:0}return 0};function w(e){try{let t="".concat("token-page-cache-v1:").concat(e.id),r="".concat("token-page-nav-start-v1:").concat(e.id);sessionStorage.setItem(t,JSON.stringify({ts:Date.now(),token:e})),sessionStorage.setItem(r,JSON.stringify({ts:Date.now(),source:"tokensListTable"}))}catch(e){}}let N=e=>{let t=j(e);if(0===t)return"N/A";t>1e12&&(t=Math.floor(t/1e3));let r=Date.now()/1e3-t;return r<60?"".concat(Math.floor(r),"s"):r<3600?"".concat(Math.floor(r/60),"m"):r<86400?"".concat(Math.floor(r/3600),"h"):"".concat(Math.floor(r/86400),"d")},y=e=>(0,t.jsx)("div",{"data-show-badge":"false","data-show-border":"true","data-show-flag":"false","data-show-signals":"false","data-show-skeleton":"false","data-show-txns":"false","data-show-value":"true","data-size":"Desktop",className:"relative inline-flex w-full h-full min-w-0 px-3 py-[2px] flex-col justify-center items-start",children:(0,t.jsx)("div",{className:"self-stretch inline-flex justify-center items-center gap-0.5",children:(0,t.jsx)("div",{className:"flex-1 min-w-0 truncate text-foreground text-xs num leading-[18px] tracking-[0.06px]",children:e})})}),k=e=>(0,t.jsx)("div",{"data-show-badge":"false","data-show-border":"false","data-show-flag":"false","data-show-signals":"false","data-show-skeleton":"false","data-show-txns":"false","data-show-value":"true","data-size":"Desktop",className:"w-full h-full px-3 py-[2px] inline-flex flex-col justify-center items-start",children:(0,t.jsx)("div",{className:"self-stretch inline-flex justify-center items-center gap-0.5",children:(0,t.jsx)("div",{className:"flex-1 min-w-0 break-words text-foreground text-xs num leading-[18px] tracking-[0.06px]",children:e})})}),C=(e,r)=>{let n=null!=r&&Number.isFinite(r),a=(null!=r?r:0)>=0;return(0,t.jsxs)("div",{className:"w-full h-full px-3 py-[2px] inline-flex flex-col justify-center items-start",children:[(0,t.jsx)("div",{className:"self-stretch inline-flex items-center gap-1",children:(0,t.jsx)("span",{className:"flex-1 min-w-0 truncate text-foreground text-xs num leading-[18px] tracking-[0.06px]",children:e})}),n&&(0,t.jsxs)("div",{className:"self-stretch inline-flex items-center gap-0.5",children:[a?(0,t.jsx)(l.ArrowUp,{className:"h-3 w-3 shrink-0 text-positive",strokeWidth:2.5}):(0,t.jsx)(i.ArrowDown,{className:"h-3 w-3 shrink-0 text-negative",strokeWidth:2.5}),(0,t.jsxs)("span",{className:"text-xs num leading-[18px] tracking-[0.06px] ".concat(a?"text-positive":"text-negative"),children:[Math.abs(r).toFixed(2),"%"]})]})]})};function F(e){let{value:r,decimals:n=2}=e,a=r>=0?l.ArrowUp:i.ArrowDown;return(0,t.jsxs)("span",{className:"inline-flex items-center gap-0.5",children:[(0,t.jsx)(a,{size:11,className:"shrink-0","aria-hidden":!0}),Math.abs(r).toFixed(n),"%"]})}function S(e){let{value:n}=e,a=j(n),s=(0,r.useRef)(a),o=(0,r.useRef)(!1),[c,u]=(0,r.useState)(null),d=(0,r.useRef)(0);(0,r.useEffect)(()=>
1{if(!o.current){o.current=!0,s.current=a;return}if(s.current===a)return;if(0===s.current){s.current=a;return}let e=a>s.current?"up":"down";s.current=a,d.current+=1,u(e);let t=setTimeout(()=>u(null),1100);return()=>clearTimeout(t)},[a]);let h="".concat(Math.abs(a).toFixed(2),"%"),m=a>=0?"text-positive":"text-negative";return(0,t.jsx)("div",{className:"relative inline-flex w-full h-full min-w-0 px-3 py-[2px] flex-col justify-center items-start ".concat("up"===c?"animate-price-up":"down"===c?"animate-price-down":""),children:(0,t.jsx)("div",{className:"w-[60px] flex flex-col justify-start items-start",children:(0,t.jsxs)("div",{className:"".concat(m," inline-flex items-center gap-0.5 text-xs num leading-[18px] tracking-[0.06px]"),children:[a>=0?(0,t.jsx)(l.ArrowUp,{className:"h-3 w-3 shrink-0",strokeWidth:2.5}):(0,t.jsx)(i.ArrowDown,{className:"h-3 w-3 shrink-0",strokeWidth:2.5}),h]})})},d.current)}let T=function(e,r){let n=e.getIsSorted();return(0,t.jsxs)("span",{className:"flex items-center cursor-pointer select-none",onClick:()=>n?"asc"===n?void e.toggleSorting(!0):void e.clearSorting():void e.toggleSorting(!1),children:[r,"asc"===n?(0,t.jsx)(l.ArrowUp,{className:"ml-2 h-4 w-4 text-foreground"}):"desc"===n?(0,t.jsx)(i.ArrowDown,{className:"ml-2 h-4 w-4 text-foreground"}):(0,t.jsx)(a.ArrowUpDown,{className:"ml-2 h-4 w-4 text-muted-foreground"})]})};function M(e){let{price:n,change:a,priceInfo:s}=e,c=(0,r.useRef)(n),u=(0,r.useRef)(a),d=(0,r.useRef)(!1),[h,m]=(0,r.useState)(null),x=(0,r.useRef)(0);(0,r.useEffect)(()=>{let e;if(!d.current){d.current=!0,c.current=n,u.current=a;return}let t=c.current!==n&&0!==n,r=void 0!==a&&void 0!==u.current&&u.current!==a&&0!==u.current;if(!t&&!r){c.current=n,u.current=a;return}if(t)e=n>c.current?"up":"down";else{var l;e=(null!=a?a:0)>(null!=(l=u.current)?l:0)?"up":"down"}c.current=n,u.current=a,x.current+=1,m(e);let i=setTimeout(()=>m(null),1100);return()=>clearTimeout(i)},[n,a]);let p=void 0!==a,g=(null!=a?a:0)>=0;return(0,t.jsxs)("div",{className:"relative inline-flex w-full h-full min-w-0 px-3 py-[2px] flex-col justify-center items-start ".concat("up"===h?"animate-price-up":"down"===h?"animate-price-down":""),children:[(0,t.jsxs)("div",{className:"self-stretch inline-flex items-center gap-1",children:[(0,t.jsx)("span",{className:"flex-1 min-w-0 truncate text-foreground text-xs num leading-[18px] tracking-[0.06px]",children:"$".concat(o.numberFormatter.format(n))}),s]}),p&&(0,t.jsxs)("div",{className:"self-stretch inline-flex items-center gap-0.5",children:[g?(0,t.jsx)(l.ArrowUp,{className:"h-3 w-3 shrink-0 text-positive",strokeWidth:2.5}):(0,t.jsx)(i.ArrowDown,{className:"h-3 w-3 shrink-0 text-negative",strokeWidth:2.5}),(0,t.jsxs)("span",{className:"text-xs num leading-[18px] tracking-[0.06px] ".concat(g?"text-positive":"text-negative"),children:[Math.abs(a).toFixed(2),"%"]})]})]},x.current)}function D(e){let{token:n}=e,{isStarred:a,toggleStar:l}=(0,c.useStarredTokens)(),i=a(n.id),[o,u]=(0,r.useState)(!1);return(0,t.jsx)("div",{className:"flex w-full items-center justify-center px-1 py-0",onClick:e=>{e.stopPropagation(),l({id:n.id,symbol:n.symbol||n.token_name,price:n.price,change24h:n.price_change_h_24,logoUrl:n.logo_url,chain:n.chain}),u(!0),setTimeout(()=>u(!1),300)},children:(0,t.jsx)("div",{className:"inline-flex items-center",children:(0,t.jsx)("div",{className:"inline-flex min-w-9 min-h-9 pointer-coarse:min-w-11 pointer-coarse:min-h-11 items-center justify-center p-2 rounded-lg overflow-hidden transition-colors hover:bg-brand/[0.07] cursor-pointer",children:(0,t.jsx)(s.Star,{size:16,fill:i?"currentColor":"none",className:"".concat(i?"text-brand":"text-muted-foreground"," ").concat(o?"animate-star-pop":"")})})})})}function L(e){let{pool:n}=e,{isStarred:a,toggleStar:l}=(0,c.useStarredTokens)(),i=a(n.id),[o,u]=(0,r.useState)(!1);return(0,t.jsx)("div",{className:"flex w-full items-center justify-center px-1 py-0",onClick:e=>{e.stopPropagation(),l({id:n.id,symbol:n.base_token_name,price:n.price_usd,change24h:n.price_change_h_24,logoUrl:n.base_token_logo_url||n.logo_url,chain:n.chain}),u(!0),setTimeout(()=>u(!1),300)},children:(0,t.jsx)("div",{className:"inline-flex items-center",children:(0,t.jsx)("div",{className:"inline-flex min-w-9 min-h-9 pointer-coarse:min-w-11 pointer-coarse:min-h-11 items-center justify-center p-2 rounded-lg overflow-hidden hover:bg-brand/[0.07] transition-colors cursor-pointer",children:(0,t.jsx)(s.Star,{size:16,fill:i?"currentColor":"none",className:"".concat(i?"text-brand":"text-muted-foreground"," ").concat(o?"animate-star-pop":"")})})})})}let A={name:"Name",age:"Age",price:"Price/%Î",liquidity:"Liquidity",mC
1ap:"MCap",holderCount:"Holders",txns:"24h TXNs",txnsTotal:"TXNS",change5m:"5m",change1h:"1h",change6h:"6h",change24h:"24h",volume:"Volume",chart:"Chart",markets:"Markets",fdv:"Market Cap (FDV)",totalSupply:"Total Supply"},z={name:"Name",age:"Age",price:"Price",liquidity:"Liquidity",mCap:"Market Cap",holderCount:"Holders",txns:"24h TXNs",txnsTotal:"24h TXNs",change5m:"5m Change",change1h:"1h Change",change6h:"6h Change",change24h:"24h Change",volume:"24h Volume",trending1h:"Trending 1h",trending6h:"Trending 6h",trending24h:"Trending 24h",chart:"Chart",markets:"Markets",fdv:"Market Cap (FDV)",totalSupply:"Total Supply"},P=[{id:"star",header:()=>null,cell:e=>{let{row:r}=e;return(0,t.jsx)(D,{token:r.original})},enableSorting:!1,enableHiding:!1},{accessorKey:"name",cell:e=>{let{row:r}=e,a=r.original.token_name,l=r.original.symbol||r.original.token_name,i=r.original.logo_url,s=r.original.id?(0,c.tokenDetailHref)(r.original.chain,r.original.id,r.original.symbol):null;return(0,t.jsxs)("div",{"data-pool-name":"false","data-show-badge-check":"false","data-show-border":"true","data-show-left-icon-wrapper":"true","data-size":"Desktop",className:"relative inline-flex w-full h-full min-w-0 py-2 pl-1 pr-2 justify-start items-center gap-2",children:[(0,t.jsx)("div",{"data-avatar":"Image",className:"relative w-6 h-6",children:(0,t.jsx)("div",{"data-picture":"On","data-roundness-type":"Round","data-size":"Small",className:"absolute inset-0 overflow-hidden",children:(0,t.jsx)(u.TokenLogo,{logoUrl:i,symbol:l,address:r.original.token_address,useDefault:r.original.use_default_logo,alt:a,className:"absolute inset-0 w-6 h-6 rounded-full"})})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 inline-flex flex-col justify-center items-start gap-0.5",children:[(0,t.jsxs)("div",{className:"uppercase self-stretch min-w-0 overflow-hidden inline-flex justify-start items-center gap-0.5",children:[s?(0,t.jsx)(n.Link,{href:s,onClick:()=>w(r.original),className:"min-w-0 truncate text-foreground text-xs font-sans font-semibold md:font-normal leading-[18px] tracking-[0.18px] hover:opacity-90",children:l}):(0,t.jsx)("div",{className:"min-w-0 truncate text-foreground text-xs font-sans font-semibold md:font-normal leading-[18px] tracking-[0.18px]",children:l}),(0,t.jsx)(d.TokenWarningIndicator,{symbol:r.original.symbol,name:r.original.token_name,address:r.original.token_address,chain:r.original.chain,size:12})]}),a&&a!==l&&(0,t.jsx)("span",{className:"md:hidden self-stretch min-w-0 truncate normal-case text-[10px] leading-[13px] text-muted-foreground tracking-normal",children:a})]})]})},header:e=>{let{column:t}=e;return T(t,A.name)}},{id:"price",accessorFn:e=>e.price,header:e=>{let{column:t}=e;return T(t,A.price)},cell:e=>{let{row:r}=e;return(0,t.jsx)(M,{price:r.original.price,change:r.original.price_change_h_24})}},{id:"change5m",accessorFn:e=>e.price_change_m_5,header:e=>{let{column:t}=e;return T(t,A.change5m)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_m_5})}},{id:"change1h",accessorFn:e=>e.price_change_h_1,header:e=>{let{column:t}=e;return T(t,A.change1h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_1})}},{id:"change6h",accessorFn:e=>e.price_change_h_6,header:e=>{let{column:t}=e;return T(t,A.change6h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_6})}},{id:"change24h",accessorFn:e=>e.price_change_h_24,header:e=>{let{column:t}=e;return T(t,A.change24h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_24})}},{id:"chart",header:()=>(0,t.jsx)("span",{className:"select-none",children:A.chart}),enableSorting:!1,cell:e=>{let{row:r}=e;return(0,t.jsx)(_,{seriesKey:r.original.token_address||r.original.id,tokenId:r.original.id,change:r.original.price_change_h_24,label:r.original.symbol||r.original.token_name})}},{id:"mCap",accessorFn:e=>e.market_cap,header:e=>{let{column:t}=e;return T(t,A.mCap)},cell:e=>{let{row:r}=e;return(0,t.jsx)(M,{price:r.original.market_cap})}},{id:"volume",accessorFn:e=>e.volume_h_24,header:e=>{let{column:t}=e;return T(t,A.volume)},cell:e=>{let{row:t}=e;return y("$".concat(o.numberFormatter.format(t.original.volume_h_24)))}},{id:"age",accessorFn:e=>{var t;return null!=(t=e.created_at)?t:0},header:e=>{let{column:t}=e;return T(t,A.age)},cell:e=>{let{row:r}=e;return y((0,t.jsx)("span",{suppressHydrationWarning:!0,children:N(r.original.created_at)}))}},{id:"holderCount",accessorFn:e=>{var t;return null!=(t=e.holder_count)?t:0},header:e=>{let{column:t}=e;return T(t,A.holderCount)},cell:e=>{let{row:t}=e,r=t.original.holder_count;return"number"==typeof r&&Number.isFinite(r)&&r>0?y(o.numberFormatter.format(r)):y("â")}},{id:"markets",accessorFn:e=>{var t;return null!=(t=e.markets_count)?t:0},header:e=>{let{column:t}=e;return T(t,A.markets)},cell:e=>{let{row:t}=e,r=t.original.markets_count;return y("number"==typeof r&&Number.isFinite(r)?o.numberFormatter.format(r):"â")}},{id:"fdv",accessorFn:e=>{var t;return null!=(t=e.fdv_usd)?t:0},header:e=>{let{column:t}=e;return T(t,A.fdv)},cell:e=>{let{row:t}=e,r=t.original.fdv_usd;return"number"==typeof r&&Number.isFinite(r)&&r>0?y("$".concat(o.numberFormatter.format(r))):y("â")}},{id:"totalSupply",accessorFn:e=>{var t;return null!=(t=e.total_supply)?t:0},header:e=>{let{column:t}=e;return T(t,A.totalSupply)},cell:e=>{let{row:t}=e,r=t.original.total_supply;return"number"==typeof r&&Number.isFinite(r)&&r>0?y(o.numberFormatter.format(r)):y("â")}},{id:"liquidity",accessorFn:e=>{var t;return null!=(t=e.liquidity_usd)?t:0},header:e=>{let{column:t}=e;return T(t,A.liquidity)},cell:e=>{let{row:t}=e,r=t.original.liquidity_usd;return"number"==typeof r&&Number.isFinite(r)&&r>0?y("$".concat(o.numberFormatter.format(r))):y("â")}}],R=[{id:"star",header:()=>null,cell:e=>{let{row:r}=e;return(0,t.jsx)(L,{pool:r.original})},enableSorting:!1,enableHiding:!1},{accessorKey:"name",cell:e=>{var r,a;let{row:l}=e,{id:i,base_token_name:s,quote_token_name:o,logo_url:d,base_token_logo_url:h,quote_token_logo_url:m}=l.original,x=i?"/".concat((0,c.normalizeNetwork)(l.original.chain),"/pool/").concat(i):null;return(0,t.jsxs)("div",{"data-pool-name":"true","data-show-badge-check":"false","data-show-border":"true","data-show-left-icon-wrapper":"true","data-size":"Desktop",className:"w-full h-full p-2 relative inline-flex justify-start items-center gap-2",children:[(0,t.jsxs)("div",{"data-avatar":"Double Icon",className:"flex justify-start items-start",children:[(0,t.jsx)("div",{"data-picture":"On","data-roundness-type":"Round","data-size":"Small",className:"w-6 h-6 relative overflow-hidden rounded-full outline outline-2 outline-surface",children:(0,t.jsx)(u.TokenLogo,{logoUrl:h||d,symbol:s,address:null!=(r=l.original.base_token_address)?r:void 0,useDefault:l.original.use_default_logo,alt:s,className:"absolute inset-0 w-6 h-6 rounded-full"})}),(0,t.jsx)("div",{"data-picture":"On","data-roundness-type":"Round","data-size":"Small",className:"w-6 h-6 relative overflow-hidden rounded-full outline outline-2 outline-surface",children:(0,t.jsx)(u.TokenLogo,{logoUrl:m,symbol
1:o,address:null!=(a=l.original.quote_token_address)?a:void 0,useDefault:l.original.use_default_logo,alt:o,className:"absolute inset-0 w-6 h-6 rounded-full"})})]}),(0,t.jsx)("div",{className:"w-[200px] h-px left-0 top-[55px] absolute bg-card"}),(0,t.jsx)("div",{className:"flex-1 min-w-0 inline-flex flex-col justify-center items-start gap-0.5",children:(0,t.jsx)("div",{className:"uppercase self-stretch min-w-0 overflow-hidden inline-flex justify-start items-center gap-0.5",children:x?(0,t.jsxs)(n.Link,{href:x,className:"min-w-0 inline-flex items-center gap-0.5 hover:opacity-90",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:s}),(0,t.jsx)("span",{className:"text-muted-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:"/"}),(0,t.jsx)("span",{className:"min-w-0 truncate text-muted-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:o})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"min-w-0 truncate text-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:s}),(0,t.jsx)("div",{className:"text-muted-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:"/"}),(0,t.jsx)("div",{className:"min-w-0 truncate text-muted-foreground text-[11px] font-sans font-normal leading-[12px] tracking-normal",children:o})]})})})]})},header:e=>{let{column:t}=e;return T(t,A.name)}},{id:"price",accessorFn:e=>e.price_usd,header:e=>{let{column:t}=e;return T(t,A.price)},cell:e=>{let{row:r}=e,n=r.original.price_change_h_24,a=n>=0;return(0,t.jsxs)("div",{className:"w-full h-full px-3 py-[2px] inline-flex flex-col justify-center items-start",children:[(0,t.jsx)("div",{className:"self-stretch inline-flex items-center gap-1",children:(0,t.jsx)("span",{className:"flex-1 min-w-0 truncate text-foreground text-xs num leading-[18px] tracking-[0.06px]",children:r.original.price_usd>0?"$".concat(o.numberFormatter.format(r.original.price_usd)):"â"})}),(0,t.jsxs)("div",{className:"self-stretch inline-flex items-center gap-0.5",children:[a?(0,t.jsx)(l.ArrowUp,{className:"h-3 w-3 shrink-0 text-positive",strokeWidth:2.5}):(0,t.jsx)(i.ArrowDown,{className:"h-3 w-3 shrink-0 text-negative",strokeWidth:2.5}),(0,t.jsxs)("span",{className:"text-xs num leading-[18px] tracking-[0.06px] ".concat(a?"text-positive":"text-negative"),children:[Math.abs(n).toFixed(2),"%"]})]})]})}},{id:"age",accessorFn:e=>e.created_time,header:e=>{let{column:t}=e;return T(t,A.age)},cell:e=>{let{row:r}=e;return k((0,t.jsx)("span",{suppressHydrationWarning:!0,children:N(r.original.created_time)}))}},{id:"liquidity",accessorFn:e=>e.base_token_liquidity+e.quote_token_liquidity,header:e=>{let{column:t}=e;return T(t,A.liquidity)},cell:e=>{let{row:t}=e;return C("$".concat(o.numberFormatter.format(t.original.base_token_liquidity+t.original.quote_token_liquidity)),t.original.liquidity_change_pct_24h)}},{id:"mCap",accessorFn:e=>e.base_token_market_cap,header:e=>{let{column:t}=e;return T(t,A.mCap)},cell:e=>{let{row:t}=e;return k("$".concat(o.numberFormatter.format(t.original.base_token_market_cap)))}},{id:"holderCount",accessorFn:e=>e.base_token_holders,header:e=>{let{column:t}=e;return T(t,A.holderCount)},cell:e=>{let{row:t}=e;return C(!1===t.original.base_token_holders_available?"â":o.numberFormatter.format(t.original.base_token_holders),t.original.holders_change_pct_24h)}},{id:"txns",accessorFn:e=>e.transactions_buy_h_24+e.transactions_sell_h_24,header:e=>{let{column:t}=e;return T(t,A.txns)},cell:e=>{let{row:r}=e,n=r.original.transactions_buy_h_24,a=r.original.transactions_sell_h_24,l=n+a,i=l>0?n/l*100:50;return(0,t.jsxs)("div",{className:"px-3 py-[2px] num text-xs text-foreground leading-[18px] tracking-[0.06px]",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{children:o.numberFormatter.format(l)}),(0,t.jsxs)("span",{className:"text-[11px]",children:[(0,t.jsx)("span",{className:"text-positive",children:o.numberFormatter.format(n)}
1),(0,t.jsx)("span",{className:"text-muted-foreground/60",children:" / "}),(0,t.jsx)("span",{className:"text-negative",children:o.numberFormatter.format(a)})]})]}),(0,t.jsx)("div",{className:"mt-1.5 h-1 w-[72px] overflow-hidden rounded-full bg-negative/35",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-positive",style:{width:"".concat(i,"%")}})})]})}},{id:"change5m",accessorFn:e=>e.price_change_m_5,header:e=>{let{column:t}=e;return T(t,A.change5m)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_m_5})}},{id:"change1h",accessorFn:e=>e.price_change_h_1,header:e=>{let{column:t}=e;return T(t,A.change1h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_1})}},{id:"change6h",accessorFn:e=>e.price_change_h_6,header:e=>{let{column:t}=e;return T(t,A.change6h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_6})}},{id:"change24h",accessorFn:e=>e.price_change_h_24,header:e=>{let{column:t}=e;return T(t,A.change24h)},cell:e=>{let{row:r}=e;return(0,t.jsx)(S,{value:r.original.price_change_h_24})}},{id:"chart",header:()=>(0,t.jsx)("span",{className:"select-none",children:A.chart}),enableSorting:!1,cell:e=>{var r;let{row:n}=e;return(0,t.jsx)(_,{seriesKey:null!=(r=n.original.base_token_address)?r:void 0,change:n.original.price_change_h_24,label:n.original.base_token_name})}},{id:"volume",accessorFn:e=>e.volume_h_24,header:e=>{let{column:t}=e;return T(t,A.volume)},cell:e=>{let{row:t}=e;return k("$".concat(o.numberFormatter.format(t.original.volume_h_24)))}}]},122441,e=>{"use strict";e.s(["ColumnsDropdown",()=>p],122441);var t=e.i(120786),r=e.i(92808),n=e.i(474076),a=e.i(271645),l=e.i(475254);let i=(0,l.default)("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]),s=(0,l.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);var o=e.i(643531),c=e.i(948148),u=e.i(337822),d=e.i(561993),h=e.i(519455),m=e.i(746798),x=e.i(975157);function p(e){let{columnIds:l,visibility:p,onChange:g,minVisible:f,renderLabel:v,onReset:b,canReset:_,iconOnly:j=!0}=e,w=(0,c.useTranslations)("shell.table"),[N,y]=a.useState(!1),[k,C]=a.useState(!1);a.useEffect(()=>{let e=window.matchMedia("(max-width: 1023px)"),t=()=>C(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let F=a.useMemo(()=>l.filter(e=>{var t;return null==(t=p[e])||t}).length,[l,p]),S=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:(0,x.cn)("overflow-y-auto py-1",e?"max-h-[60vh]":"max-h-[55vh]"),children:l.map(a=>{var l;let i=null==(l=p[a])||l,s=i&&F<=f;return(0,n.jsxs)("button",{type:"button",onClick:()=>{var e;((e=!i)||!(F<=f))&&g((0,r._)((0,t._)({},p),{[a]:e}))},disabled:s,"aria-pressed":i,"aria-label":i?"Hide ".concat(a):"Show ".concat(a),className:(0,x.cn)("flex w-full items-center gap-2 rounded-sm px-2 text-sm",e?"py-1.5":"min-h-11 py-2",s?"cursor-not-allowed opacity-60":"cursor-pointer hover:bg-accent",i&&"text-brand"),children:[(0,n.jsx)("span",{className:"flex-1 text-left",children:v(a)}),i?(0,n.jsx)(o.Check,{size:14,className:"text-brand"}):null]},a)})}),(0,n.jsx)("div",{className:"border-t my-1"}),(0,n.jsxs)("button",{type:"button",onClick:()=>{b()},disabled:!_,className:(0,x.cn)("flex w-full items-center gap-2 rounded-sm px-2 text-sm",e?"py-1.5":"min-h-11 py-2",_?"cursor-pointer text-brand hover:bg-accent":"cursor-not-allowed text-muted-foreground"),children:[(0,n.jsx)(s,{size:14}),w("reset")]})]});return k?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h.Button,{variant:j?"ghost":"secondary",size:"sm",className:j?"h-7 w-7 p-0 text-muted-foreground hover:bg-foreground
1/[0.08] hover:text-foreground":"h-8","aria-label":w("columns"),"aria-expanded":N,"aria-haspopup":"dialog",onClick:()=>y(!0),children:[(0,n.jsx)(i,{size:16}),j?null:w("columns")]}),(0,n.jsx)(d.Drawer,{open:N,onOpenChange:y,children:(0,n.jsxs)(d.DrawerContent,{className:"mx-auto pb-[calc(env(safe-area-inset-bottom)+0.75rem)]",children:[(0,n.jsx)(d.DrawerHeader,{className:"!text-left pb-1",children:(0,n.jsx)(d.DrawerTitle,{children:w("columns")})}),(0,n.jsx)("div",{className:"px-4 pb-2",children:S(!1)})]})})]}):(0,n.jsxs)(u.Popover,{open:N,onOpenChange:y,children:[(0,n.jsxs)(m.Tooltip,{children:[(0,n.jsx)(m.TooltipTrigger,{asChild:!0,children:(0,n.jsx)(u.PopoverTrigger,{asChild:!0,children:(0,n.jsxs)(h.Button,{variant:j?"ghost":"secondary",size:"sm",className:j?"h-7 w-7 p-0 text-muted-foreground hover:bg-foreground/[0.08] hover:text-foreground":"h-8","aria-label":w("columns"),children:[(0,n.jsx)(i,{size:16}),j?null:w("columns")]})})}),j?(0,n.jsx)(m.TooltipContent,{children:w("columns")}):null]}),(0,n.jsx)(u.PopoverContent,{align:"end",sideOffset:6,className:"w-56 p-1",children:S(!0)})]})}},784774,e=>{"use strict";e.s(["Table",()=>l,"TableBody",()=>s,"TableCell",()=>u,"TableHead",()=>c,"TableHeader",()=>i,"TableRow",()=>o]);var t=e.i(120786),r=e.i(233027),n=e.i(474076),a=e.i(975157);function l(e){var{className:l,containerClassName:i}=e,s=(0,r._)(e,["className","containerClassName"]);return(0,n.jsx)("div",{"data-slot":"table-container",className:(0,a.cn)("relative w-full max-w-full overflow-x-auto",i),children:(0,n.jsx)("table",(0,t._)({"data-slot":"table",className:(0,a.cn)("w-full min-w-[640px] md:min-w-0 table-fixed caption-bottom text-sm",l)},s))})}function i(e){var{className:l}=e,i=(0,r._)(e,["className"]);return(0,n.jsx)("thead",(0,t._)({"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b [&_tr]:border-border",l)},i))}function s(e){var{className:l}=e,i=(0,r._)(e,["className"]);return(0,n.jsx)("tbody",(0,t._)({"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",l)},i))}function o(e){var{className:l}=e,i=(0,r._)(e,["className"]);return(0,n.jsx)("tr",(0,t._)({"data-slot":"table-row",className:(0,a.cn)("hover:bg-foreground
1/[0.02] data-[state=selected]:bg-muted border-b border-border transition-colors",l)},i))}function c(e){var{className:l}=e,i=(0,r._)(e,["className"]);return(0,n.jsx)("th",(0,t._)({"data-slot":"table-head",className:(0,a.cn)("text-muted-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap overflow-hidden text-ellipsis [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",l)},i))}function u(e){var{className:l}=e,i=(0,r._)(e,["className"]);return(0,n.jsx)("td",(0,t._)({"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap overflow-hidden text-ellipsis [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",l)},i))}}]);
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.