1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7415],{28995:function(e,t,n){n.d(t,{Ag:function(){return i},Jb:function(){return v},TL:function(){return x},g1:function(){return p},gU:function(){return f},hI:function(){return u},hN:function(){return l},ks:function(){return g},l5:function(){return o},rc:function(){return d},s0:function(){return c},sU:function(){return m},wD:function(){return h}});var r,a=n(14924),s=n(83454),o="https://apps.apple.com/us/app/cryptosim-paper-trade-games/id1468838417",c="http://play.google.com/store/apps/details?id=net.bsapp.market.simulator",i=["bitcoin","ethereum","tether","binance-coin","xrp","solana","usd-coin","tron","dogecoin","cardano","tether-gold"],l={ONE_DAY:"1d",ONE_MONTH:"1m",SIX_MONTHS:"6m",ONE_YEAR:"1y",FIVE_YEAR:"5y",ONE_WEEK:"1w",THREE_MONTHS:"3m",YTD:"ytd",ALL:"all"};r={},(0,a.Z)(r,l.ONE_DAY,"changeColor"),(0,a.Z)(r,l.ONE_MONTH,"change1MColor"),(0,a.Z)(r,l.SIX_MONTHS,"change6MColor"),(0,a.Z)(r,l.ONE_YEAR,"change1YColor"),(0,a.Z)(r,l.FIVE_YEAR,"change5YColor");var u={SMALL_WATCHLIST_DATA:"SMALL_WATCHLIST_DATA",LIST_COINS_DATA:"LIST_COINS_DATA",LIST_POSTS:"LIST_POSTS",TICKER_DATA:"TICKER_DATA",CATEGORIES_DATA:"CATEGORIES_DATA",BLOGCHAIN_PUBLIC_POST_LIST:"BLOGCHAIN_PUBLIC_POST_LIST",BLOGCHAIN_PUBLIC_TAGS:"BLOGCHAIN_PUBLIC_TAGS",BLOGCHAIN_CATEGORY_POSTS:"BLOGCHAIN_CATEGORY_POSTS"},p={page:"p"},d="Global Average",m={"1d":{label:"1-Day Chart",value:"1d",text:"1D"},"1w":{label:"7-Day Chart",value:"1w",text:"1W"},"1M":{label:"1-Month Chart",value:"1M",text:"1M"},"6M":{label:"6-Month Chart",value:"6M",text:"6M"}},h={MONEY:"money",PERCENT:"percent"},f={WATCHLIST:"watchlist"},x=[{name:"Top Crypto Gainers Today",url:"Top-Crypto-Gainers-Today",type:"coin-top500",filter:"gainers-today",description:"These are top cryptocurrencies that have gained the most over the last 24 hours."},{name:"Top Crypto Losers Today",url:"Top-Crypto-Losers-Today",type:"coin-top500",filter:"losers-today",description:"These are top cryptocurrencies that have lost the most over the last 24 hours."},{name:"Top Crypto Gainers 1 Week",url:"Top-Crypto-Gainers-1-Week",type:"coin-top500",filter:"gainers-1week",description:"These are top cryptocurrencies that have gained the most over the last 7 days."},{name:"Top Crypto Losers 1 Week",url:"Top-Crypto-Losers-1-Week",type:"coin-top500",filter:"losers-1week",description:"These are top cryptocurrencies that have lost the most over the last 7 days."},{name:"Top Crypto Gainers 1 Month",url:"Top-Crypto-Gainers-1-Month",type:"coin-top500",filter:"gainers-1month",description:"These are top cryptocurrencies that have gained the most over the last 1 month."},{name:"Top Crypto Losers 1 Month",url:"Top-Crypto-Losers-1-Month",type:"coin-top500",filter:"losers-1month",description:"These are top cryptocurrencies that have lost the most over the last 1 month."},{name:"Newly Listed Cryptos",url:"Newly-Listed-Cryptos",type:"newly-listed",filter:"price_gt_0",description:"These are cryptocurrencies that are recently listed on BitScreener."},{name:"Top ERC-20 Tokens",url:"Top-ERC-20-Tokens",type:"coin",filter:"search-tag_ethereum-ecosystem",description:"ERC-20 tokens are those created and hosted on the Ethereum blockchain. Using ERC20 standard, a common standard for token implementation on the Ethereum blockchain, these tokens are stored and sent using Ethereum addresses and transactions, and use gas to cover transaction fees."},{name:"Top Decentralized Exchanges",url:"Top-Decentralized-Exchanges",type:"exchange",description:"Decentralized Exchanges (DEX) are cryptocurrency exchanges which operates without the need for an intermediary or central authority. DEXes use smart contracts to enforce the trading rules, execute trades, and securely handle funds when necessary and grant users control over their own money."},{name:"Top Polkadot Tokens",url:"Top-Polkadot-Tokens",type:"coin",filter:"search-tag_polkadot-ecosystem",description:"Polkadot tokens are those in the Polkadot ecosystem. Polkadot is a next-generation blockchain protocol that facilitates the cross-chain transfer of any data or asset types, not just tokens, thereby uniting an entire network of purpose-built blockchains."},{name:"Binance Labs Cryptos Portfolio",url:"Binance-Lab-Cryptos",type:"coin",filter:"search-tag_binance-labs-portfolio",description:"This is a list of crypto assets that Binance Labs has invested in. Binance Labs is the venture capital and incubator of Binance that incubates, invests in and empowers blockchain and cryptocurrency entrepreneurs, projects, and communities."},{name:"Grayscale Ventures Cryptos Portfolio",url:"Grayscale-Venture-Cryptos",type:"coin",filter:"search-tag_coinsinvestedbygrayscale",description:"This is a list of crypto assets that Grayscale has invested in. Grayscale is a trusted authority on digital currency investing and cryptocurrency asset management which is always exploring new assets to grow its family of investment products."},{name:"Top Meme coins to buy today!",url:"meme-coin",type:"coin",filter:"search-tag_memes",description:"List of top meme coins in crypto market now with quotes, charts and much more!"},{name:"Newly Trending Cryptos",url:"Newly-Trending-Cryptos",type:"coin",filter:"ct_tc",description:"These are the top newly trending cryptocurrencies over the last 24 hours."},{name:"Coinbase Ventures Cryptos Portfolio",url:"Coinbase-Venture-Cryptos",type:"coin",filter:"search-tag_coinbase-ventures-portfolio",description:"This is a list of crypto assets that Coinbase Ventures has invested in. Coinbase Ventures is an investment arm of Coinbase that focuses on investment into promising early-stage blockchain- and cryptocurrency-related companies."},{name:"Crypto Exchange Tokens",url:"Crypto-Exchange-Tokens",type:"coin",filter:"search-tag_exchange-token",description:"Crypto Exchange Tokens are those that are native to a cryptocurrency exchange. Crypto exchanges are platforms for buying, selling, and exchanging cryptocurrencies."},{name:"Top Cryptos With Most Holders",url:"Top-Cryptos-With-Most-Holders",type:"holders",filter:"cap_gt_0",description:"These are top cryptocurrencies with the largest number of holders. Number of holders is counted as the number of unique wallet addresses that hold the assets/cryptos in the network"}
1],v=[{slug:"tether",symbol:"USDT"},{slug:"solana",symbol:"SOL"},{slug:"binance-usd",symbol:"BUSD"},{slug:"weth",symbol:"WETH"},{slug:"bitcoin",symbol:"BTC"},{slug:"polygon",symbol:"MATIC"},{slug:"avalanche",symbol:"AVAX"},{slug:"ethereum",symbol:"ETH"},{slug:"binance-coin",symbol:"BNB"},{slug:"polkadot-new",symbol:"DOT"},{slug:"usd-coin",symbol:"USDC"},{slug:"bittorrent-new",symbol:"BTT"},{slug:"first-digital-usd",symbol:"FDUSD"},{slug:"wanchain",symbol:"WAN"},{slug:"green-metaverse-token",symbol:"GMT"},{slug:"mytvchain-2",symbol:"MYTV"},{slug:"xrp",symbol:"XRP"},{slug:"book-of-meme",symbol:"BOME"}],g={COINNEWS_V5:function(e){return"".concat("https://api-web.bitscreener.com","/api/v5/coins/").concat(e,"/news")},COINNEWS_V5_NO_PREVIEW:function(e){return"".concat("https://api-web.bitscreener.com","/api/v5/coins/").concat(e,"/news-no-preview")},COINNEWS_V4:function(e){return"".concat("https://api-web.bitscreener.com","/api/v4/coins/").concat(e,"/news")},COINNEWS_V3:function(e){return"".concat("https://api-web.bitscreener.com","/api/v3/coins/").concat(e,"/news")},NEWS_V1:"".concat("https://api-web.bitscreener.com","/api/v1/news?limit=50"),RELATEDCOINS_V3:function(e){return"".concat(s.env.BASE_URL,"/api/v3/coins/").concat(e,"/related_coins")},MARKETS_V5:function(e){return"".concat(s.env.BASE_URL,"/api/v5/coins/").concat(e,"/markets?page=0&size=10&sortId=normalized_vlm24h&sortDesc=true")},TECHNICALANALYSIS_V3:function(e){return"".concat("https://api-web.bitscreener.com","/api/v3/").concat(e,"/technical_analysis")},EXCHANGES_V5:function(e,t,n,r,a){return"".concat(s.env.BASE_URL,"/api/v5/coins/").concat(e,"/markets?page=").concat(t-1,"&size=").concat(n,"&sortId=").concat(r,"&sortDesc=").concat(a)},COINS_V1:function(e){return"".concat("https://api-web.bitscreener.com","/api/v1/coins/").concat(e,"?fields=usd,p_24h,slug,name,symbol")},TRANSACTIONS_V1:function(e){return"".concat("https://api-web.bitscreener.com","/api/v1/coins/").concat(e,"/transactions")},TRANSACTIONS_TOP_COIN_V1:function(e){return"".concat("https://api-web.bitscreener.com","/api/v1/coins/").concat(e,"/top_coin_transactions")},EXCHANGE_RATE_V1:"".concat("https://api-web.bitscreener.com","/api/v1/exchange_rate"),YOUTUBE_CONFIG:"https://firebasestorage.googleapis.com/v0/b/bitglobal-a84d5.appspot.com/o/static%2Fnews_pr.json?alt=media&token=ce4dd965-7ffd-4fa2-ba5e-1166c7f00691",HOLDERS_V1:function(e){return"".concat("https://api-web.bitscreener.com","/api/v1/coins/").concat(e,"/holders")},CHART_DATA_V1:function(e,t,n,r){return"".concat("https://api-web.bitscreener.com","/api/v1/graphs/ohlc/").concat(e,"?from=").concat(t,"&to=").concat(n,"&interval=").concat(r)},DATA_PREDICTION:function(e){return"".concat("https://api-web.bitscreener.com","/api/v1/").concat(e,"/calculate_prediction")},WATCHLIST:"".concat("https://api-web.bitscreener.com","/api/v1/watch_list"),TOPSEARCH:"".concat("https://api-web.bitscreener.com","/api/v1/top_views"),CHART_DATA_V2:function(e){return"".concat("https://api-web.bitscreener.com","/api/v5/graphs/ohlc/").concat(e)}}},7782:function(e,t,n){var r=n(85893),a=n(28995),s=n(50693),o=n(67294),c=function(e){var t=e.total,n=e.currentPage,c=e.pageSize,i=e.loading,l=e.setPage,u=e.onPageChange,p=(0,o.useMemo)(function(){var e=Math.ceil(t/c),r=[];return r.push(1),n>=5&&r.push(-1),n>=4&&r.push(n-2),n>=3&&r.push(n-1),n>=2&&n<e&&r.push(n),n<e-1&&r.push(n+1),n<e-2&&r.push(n+2),n<e-3&&r.push(-1),e>=2&&r.push(e),{prevPage:n-1>=1?n-1:1,nextPage:n+1<=e?n+1:e,pageArray:r}},[t,n,c]),d=p.prevPage,m=p.nextPage,h=p.pageArray,f=function(e){if(u){u(e);return}(0,s.rd)(a.g1.page,e.toString()),l(e),window.scrollTo({top:0,behavior:"smooth"})};return h.length<2||void 0!==i&&i?null:(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)("div",{className:"flex items-center gap-[5px] mt-4",children:[(0,r.jsx)("button",{onClick:function(){return f(d)},className:"pagination-item",children:(0,r.jsx)("div",{style:{transform:"translateY(-2px)"},children:"\xab"})}),h.map(function(e,t){return -1===e?(0,r.jsx)("span",{children:"..."},"ellipsis-".concat(t)):e===n?(0,r.jsx)("button",{onClick:function(){return f(e)},className:"pagination-item ".concat(n===e?" active-pagination-item ":""),children:e},e):(0,r.jsx)("button",{onClick:function(){return f(e)},className:"pagination-item",children:e},e)}),(0,r.jsx)("button",{onClick:function(){return f(m)},className:"pagination-item",children:(0,r.jsx)("div",{style:{transform:"translateY(-2px)"},children:"\xbb"})})]})})};t.Z=c},82531:function(e,t,n){n.d(t,{Z:function(){return L}});var r=n(14924),a=n(29815),s=n(85893),o=n(1444),c=n(11163),i=n(67294),l=n(40573),u=n(28995),p=n(61055),d=n(41664),m=n.n(d),h=n(31955),f=n(96486),x=n(51832),v=n(82189),g=n(65929),w=n(99904),y=n(74199),_=n(80139),N=n(24357),j=n(42111),b=n(80977),T=n(26042),C=n(69396),k="listview",S=new Date().getDate()%2==1,E=function(){var e=(0,i.useState)({isFirstTimeScroll25:!1,isFirstTimeScroll50:!1,isFirstTimeScroll75:!1,isFirstTimeScroll90:!1}),t=e[0],n=e[1];return(0,i.useEffect)(function(){var e=function(){var e=window.scrollY,r=window.innerHeight,a=e/(document.documentElement.scrollHeight-r)*100;"undefined"!=typeof gtag&&(a>=25&&!t.isFirstTimeScroll25&&(gtag("event","".concat(S?"scroll_25_odd":"scroll_25_even","_").concat(k),{event_category:S?"scroll_25_odd":"scroll_25_even",event_label:S?"Scroll 25 Odd":"Scroll 25 Even"}),n(function(e){return(0,C.Z)((0,T.Z)({},e),{isFirstTimeScroll25:!0})})),a>=50&&!t.isFirstTimeScroll50&&(gtag("event","".concat(S?"scroll_50_odd":"scroll_50_even","_").concat(k),{event_category:S?"scroll_50_odd":"scroll_50_even",event_label:S?"Scroll 50 Odd":"Scroll 50 Even"}),n(function(e){return(0,C.Z)((0,T.Z)({},e),{isFirstTimeScroll50:!0})})),a>=75&&!t.isFirstTimeScroll75&&(gtag("event","".concat(S?"scroll_75_odd":"scroll_75_even","_").concat(k),{event_category:S?"scroll_75_odd":"scroll_75_even",event_label:S?"Scroll 75 Odd":"Scroll 75 Even"}),n(function(e){return(0,C.Z)((0,T.Z)({},e),{isFirstTimeScroll75:!0})})),a>=90&&!t.isFirstTimeScroll90&&(gtag("event","".concat(S?"scroll_90_odd":"scroll_90_even","_").concat(k),{event_category:S?"scroll_90_odd":"scroll_90_even",event_label:S?"Scroll 90 Odd":"Scroll 90 Even"}),n(function(e){return(0,C.Z)((0,T.Z)({},e),{isFirstTimeScroll90:!0})})))};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[t]),null},M=n(28363),A=n(71417),L=function(e){var t=e.sortId,n=e.sortDesc,d=e.setSortId,T=e.setSortDesc,C=e.tf,k=e.setTf,S=e.isLoading,L=e.shareInfo,R=e.coins,O=e.currentFilter,I=e.typeFollower,P=void 0===I?"":I,D=(0,j.$)().t,V=L.currency,H=L.rate,U=(0,i.useState)(R),Z=U[0],F=U[1],Q=(0,i.useRef)([]),G=(0,i.useState)(new Map),W=G[0],B=G[1],Y=(0,i.useRef)(null),z=(0,i.useRef)(null),X=(0,i.useRef)(!0);E(),(0,i.useEffect)(function(){return X.current=!0,F(R),function(){X.current=!1}},[R]);
1var q=(0,c.useRouter)(),K=function(e){var r=e!==t||!n,a=(0,o.x)(Z,e,r);F(a),d(e),T(r),h.Z.set("SORT_SCREENER",e,{path:"/"}),h.Z.set("DESC_SORT_SCREENER",r?"true":"false",{path:"/"})},J=function(e){q.push(e),"undefined"!=typeof gtag&>ag("event","click_coin_list_all_coins",{event_category:"click_coin",event_label:"Click Coin List View"})},$=function(e){k(e),h.Z.set("TIME_FRAME_SMALL_CHART",e,{path:"/"})},ee=(0,x.c)("all-coins",Q),et=ee.initSocket,en=ee.coinsQueue,er=ee.clearCoinQueue,ea=(0,f.debounce)(function(e){X.current&&et(e)},1e3);(0,v.r)("listview",Z,Q,W,B,ea);var es=function(){if(X.current){var e=new Map(en.current),t=!1;F(function(n){if(!X.current)return n;var r=(0,a.Z)(n);return e.forEach(function(e,n){var a=r.findIndex(function(e){return e.slug===n});if(-1!==a){r[a].usd=(0,N.sl)((0,_._k)(Number(e[1])*H),V),r[a].rawUsd=e[1];var s=r[a].past_1h?(e[1]-r[a].past_1h)/r[a].past_1h:0;r[a].p_1h=(0,y.s5)(s,!0);var o=r[a].past_24h?(e[1]-r[a].past_24h)/r[a].past_24h:0;r[a].p_24h=(0,y.s5)(o,!0);var c=r[a].past_7d?(e[1]-r[a].past_7d)/r[a].past_7d:0;r[a].p_7d=(0,y.s5)(c,!0);var i=r[a].past_1M?(e[1]-r[a].past_1M)/r[a].past_1M:0;r[a].p_1M=(0,y.s5)(i,!0);var l=r[a].past_6M?(e[1]-r[a].past_6M)/r[a].past_6M:0;r[a].p_6M=(0,y.s5)(l,!0),r[a].p_1h_color=(0,w.Lq)(s),r[a].p_24h_color=(0,w.Lq)(o),r[a].p_7d_color=(0,w.Lq)(c),r[a].p_1M_color=(0,w.Lq)(i),r[a].p_6M_color=(0,w.Lq)(l),t=!0}}),t?r:n}),er()}};(0,i.useEffect)(function(){return Y.current||(Y.current=setInterval(function(){es()},2e3)),function(){Y.current&&(clearInterval(Y.current),Y.current=null)}},[]);var eo=(0,i.useMemo)(function(){var e,t=(e={},(0,r.Z)(e,M.kQ.AVG_VLM_52W,!1),(0,r.Z)(e,M.kQ.RSI,!1),(0,r.Z)(e,M.kQ.MAX_SUPPLY,!1),(0,r.Z)(e,M.kQ.CIRCULATING_SUPPLY,!1),(0,r.Z)(e,M.kQ.SMA50,!1),(0,r.Z)(e,M.kQ.SMA200,!1),(0,r.Z)(e,M.kQ.PERCENT_1H,!1),(0,r.Z)(e,M.kQ.PERCENT_24H,!1),(0,r.Z)(e,M.kQ.PERCENT_1M,!1),(0,r.Z)(e,M.kQ.PERCENT_6M,!1),e),n=Object.keys(t);return(O||[]).filter(function(e){return n.includes(e.type)}).slice(-2).forEach(function(e){t[e.type]=!0}),t},[O]);return(0,s.jsx)("div",{className:"relative overflow-y-hidden hidden-scrollbar-keep-x",children:(0,s.jsx)("div",{id:"table-coins",ref:z,className:"hidden-scrollbar-keep-x",children:(0,s.jsxs)("table",{className:"w-full text-[12px] leading-snug screener-table ",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"dark:text-[#ddd] dark:bg-[#2a2f35]",children:[(0,s.jsx)("th",{onClick:function(){return K("rank")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer hover:underline text-center",children:(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("p",{children:"#"}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("rank"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("rank"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("symbol")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer hover:underline text-left",children:(0,s.jsxs)("div",{className:"flex items-center ",children:[(0,s.jsx)("p",{children:D("Symbol")}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("symbol"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("symbol"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("name")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer hover:underline text-left",children:(0,s.jsxs)("div",{className:"flex items-center ",children:[(0,s.jsx)("p",{children:D("Name")}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("name"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("name"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("cap")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsx)("p",{children:D("Market Cap")}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("cap"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("cap"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("price")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsx)("p",{children:D("Price")}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("price"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("price"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("vlm")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Volume (24h)")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("vlm"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("vlm"===t&&!0===n?"active":"")})]})]})}),"twitterFollowers"===P&&(0,s.jsx)("th",{onClick:function(){return K("twtFollowers")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right w-[150px] hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Twitter Followers")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("twtFollowers"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("twtFollowers"===t&&!0===n?"active":"")})]})]})}),"holders"===P&&(0,s.jsx)("th",{onClick:function(){return K("numberOfHolders")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right w-[150px] hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Holders")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("numberOfHolders"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("numberOfHolders"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-center hover:underline flex items-center justify-center min-w-0",children:(0,s.jsxs)(l.zs,{openDelay:0,closeDelay:100,children:[(0,s.jsx)(l.Yi,{asChild:!0,children:(0,s.jsxs)("button",{className:"w-full cursor-pointer hover:underline flex items-center justify-center",type:"button",children:[D("Price Chart")," (",u.sU[C].text,")"," ",(0,s.jsx)("div",{className:"-mt-1 relative pr-5",children:(0,s.jsx)("div",{role:"presentation",className:"arrow-down active price-chart-arrow"})})]})}),(0,s.jsx)(l.bZ,{className:"w-[140px] p-0 text-[12px] flex flex-col items-start bg-[#edf1f7] dark:bg-[#343a40]",children:Object.values(u.sU).map(function(e){return(0,s.jsx)("button",{onClick:function(){$(e.value)}
1,className:"px-2 py-1 w-full flex items-center justify-start hover:bg-[#a6aebc] rounded-[5px] text-[12px] leading-tight",children:D(e.label)},e.value)})})]})}),eo[M.kQ.AVG_VLM_52W]&&(0,s.jsx)("th",{onClick:function(){return K("avgVlm52w")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Avg Volume (52W)")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("avgVlm52w"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("avgVlm52w"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.RSI]&&(0,s.jsx)("th",{onClick:function(){return K("rsi14")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("RSI (14)")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("rsi14"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("rsi14"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.MAX_SUPPLY]&&(0,s.jsx)("th",{onClick:function(){return K("maxSupply")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Max Supply")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("maxSupply"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("maxSupply"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.CIRCULATING_SUPPLY]&&(0,s.jsx)("th",{onClick:function(){return K("circulatingSupply")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("Circulating Supply")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("circulatingSupply"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("circulatingSupply"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.SMA50]&&(0,s.jsx)("th",{onClick:function(){return K("sma50")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("SMA50")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("sma50"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("sma50"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.SMA200]&&(0,s.jsx)("th",{onClick:function(){return K("sma200")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("SMA200")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("sma200"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("sma200"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.PERCENT_1H]&&(0,s.jsx)("th",{onClick:function(){return K("per_1h")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("% (1h)")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("per_1h"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("per_1h"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("per_24h")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("% (1d)")," "]}),(0,s.jsxs)("div",{className:"mt-[3px] relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("per_24h"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("per_24h"===t&&!0===n?"active":"")})]})]})}),(0,s.jsx)("th",{onClick:function(){return K("per_1w")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("% (1W)")," "]}),(0,s.jsxs)("div",{className:"mt-[3px] relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("per_1w"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("per_1w"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.PERCENT_1M]&&(0,s.jsx)("th",{onClick:function(){return K("per_1m")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("% (1M)")," "]}),(0,s.jsxs)("div",{className:"mt-1 relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("per_1m"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("per_1m"===t&&!0===n?"active":"")})]})]})}),eo[M.kQ.PERCENT_6M]&&(0,s.jsx)("th",{onClick:function(){return K("per_6m")},className:"whitespace-nowrap py-1.5 px-2 font-medium cursor-pointer text-right hover:underline",children:(0,s.jsxs)("div",{className:"flex items-center justify-end",children:[(0,s.jsxs)("p",{children:[D("% (6M)")," "]}),(0,s.jsxs)("div",{className:"mt-[3px] relative pr-5",children:[(0,s.jsx)("div",{role:"presentation",className:"arrow-up ".concat("per_6m"===t&&!1===n?"active":"")}),(0,s.jsx)("div",{role:"presentation",className:"arrow-down ".concat("per_6m"===t&&!0===n?"active":"")})]})]})})]})}),(0,s.jsx)("tbody",{children:S&&!Z?Array.from({length:25}
1).map(function(e,t){return(0,s.jsx)("tr",{children:Array.from({length:10}).map(function(e,n){return(0,s.jsx)("td",{className:"py-1.5 px-2 ",children:(0,s.jsx)(p.O,{className:"w-full min-h-[20px] h-[20px]"})},"skeleton-".concat(t,"-").concat(n))})},"skeleton-".concat(t))}):(0,s.jsx)(s.Fragment,{children:(Z||[]).map(function(e){var t,n=e.slug,r=e.p_7d_color,a="One week";return"1d"===C?(r=e.p_24h_color,a="One day"):"1w"===C?(r=e.p_7d_color,a="One week"):"1M"===C?(r=e.p_1M_color,a="One month"):"6M"===C&&(r=e.p_6M_color,a="Six months"),(0,s.jsxs)("tr",{className:"cursor-pointer",onClick:function(){J("/coins/".concat(n))},children:[(0,s.jsx)("td",{className:"py-1.5 px-2 text-left font-medium text-[#bebebe] ",children:(0,s.jsx)("p",{className:"",children:e.rank})}),(0,s.jsx)("td",{className:"py-1.5 px-2 text-left font-medium text-[#bebebe]",children:(0,s.jsx)("div",{className:"flex items-center gap-2",children:(0,s.jsx)(m(),{prefetch:!1,href:"/coins/".concat(e.slug),children:(0,s.jsx)("a",{onClick:function(e){e.stopPropagation(),"undefined"!=typeof gtag&>ag("event","click_coin_listview",{event_category:"click_coin",event_label:"Click Coin List View"})},className:"flex items-center text-[12px] text-link font-medium hover:underline decoration-[1.5px] leading-[14px]",children:e.symbol})})})}),(0,s.jsxs)("td",{className:"py-1.5 px-2 font-medium flex items-center",children:[" ",(0,s.jsx)(m(),{href:"/coins/".concat(e.slug),prefetch:!1,children:(0,s.jsxs)("a",{onClick:function(e){e.stopPropagation(),"undefined"!=typeof gtag&>ag("event","click_coin_list_all_coins",{event_category:"click_coin",event_label:"Click Coin List View"})},className:"flex flex-row items-center",children:[(0,s.jsx)("div",{className:"flex-none text-[#6e6e6e] whitespace-nowrap overflow-hidden text-ellipsis dark:text-white gap-1 mr-2.5",children:(0,s.jsx)(b.c,{role:"presentation",className:"fav-icon ",slug:e.slug,alt:e.slug,width:20,height:20,loading:"lazy"})}),(0,s.jsx)("div",{className:"truncate-text text-[12px] leading-[14px] mr-2",children:e.name})]})})]}),(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-normal pr-8",children:(0,N.sl)((0,_.EN)(Number(e.rawCap)*H),V)}),(0,s.jsx)("td",{className:"py-1.5 px-2 text-right pr-6 text-link font-medium",children:(0,s.jsx)(g.Z,{value:(0,_._k)(String(Number(e.rawUsd)*H)),currency:V})}),(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(e.rawVlm)*H),V)}),"twitterFollowers"===P&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:e.twtFollowers}),"holders"===P&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:e.numberOfHolders}),(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium flex items-center justify-center",children:(0,s.jsx)(A.b,{slug:e.slug,tf:C,color:r,width:80,height:24,alt:"".concat(e.name," (").concat(e.symbol,") ").concat(a," chart"),className:"w-[80px] h-[24px]"})}),eo[M.kQ.AVG_VLM_52W]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(null!==(t=e.rawAvgVlm52w)&&void 0!==t?t:0)*H),V)}),eo[M.kQ.RSI]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:e.rsi14}),eo[M.kQ.MAX_SUPPLY]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(e.rawMaxSupply)*H),V)}),eo[M.kQ.CIRCULATING_SUPPLY]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(e.rawCirculatingSupply)*H),V)}),eo[M.kQ.SMA50]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(e.rawSma50)*H),V)}),eo[M.kQ.SMA200]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium pr-8 text-link",children:(0,N.sl)((0,_.EN)(Number(e.rawSma200)*H),V)}),eo[M.kQ.PERCENT_1H]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium ",style:{color:"#".concat(e.p_1h_color)},children:e.p_1h}),(0,s.jsx)("td",{className:"py-1.5 px-2 pr-6 text-right font-medium ",style:{color:"#".concat(e.p_24h_color)},children:e.p_24h}),(0,s.jsx)("td",{className:"py-1.5 px-2 pr-6 text-right font-medium ",style:{color:"#".concat(e.p_7d_color)},children:e.p_7d}),eo[M.kQ.PERCENT_1M]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium ",style:{color:"#".concat(e.p_1M_color)},children:e.p_1M}),eo[M.kQ.PERCENT_6M]&&(0,s.jsx)("td",{className:"py-1.5 px-2 text-right font-medium ",style:{color:"#".concat(e.p_6M_color)},children:e.p_6M})]},e.slug)})})})]},"table-".concat(S?"loading":"data"))})})}},63637:function(e,t,n){var r=n(85893);n(67294);var a=function(e){return(0,r.jsx)("div",{id:"loading-chart",className:"loading w-full flex justify-center items-center",style:{height:"50vh",marginTop:0},children:(0,r.jsx)("img",{src:"/img/loading-chart-large.svg",height:100,alt:"loading"})})};t.Z=a},40573:function(e,t,n){n.d(t,{Yi:function(){return u},bZ:function(){return p},zs:function(){return l}});var r=n(26042),a=n(99534),s=n(85893),o=n(67294),c=n(44559),i=n(26806),l=c.fC,u=c.xz,p=o.forwardRef(function(e,t){var n=e.className,o=e.align,l=e.sideOffset,u=(0,a.Z)(e,["className","align","sideOffset"]);return(0,s.jsx)(c.VY,(0,r.Z)({ref:t,align:void 0===o?"center":o,sideOffset:void 0===l?4:l,className:(0,i.cn)("z-50 w-64 roun
1ded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",n)},u))});p.displayName=c.VY.displayName},61055:function(e,t,n){n.d(t,{O:function(){return c}});var r=n(26042),a=n(99534),s=n(85893),o=n(26806);function c(e){var t=e.className,n=(0,a.Z)(e,["className"]);return(0,s.jsx)("div",(0,r.Z)({className:(0,o.cn)("animate-pulse rounded-md bg-[rgb(128_128_128/0.4)]",t)},n))}},82189:function(e,t,n){n.d(t,{r:function(){return a}});var r=n(67294),a=function(e,t,n,a,s,o){var c=(0,r.useState)(!1),i=c[0],l=c[1],u=(0,r.useRef)(0),p=(0,r.useRef)(null),d=(0,r.useRef)(),m=(0,r.useCallback)(function(){if(i&&t&&0!==t.length){var r=window.scrollY,c=window.innerHeight,l=0,u=document.getElementById("table-coins");u&&(l=u.offsetTop||0);var p=Math.floor((r-l-50)/("listview"===e?47:65)),d=p+Math.ceil((c-110)/("listview"===e?47:65))+3;if(p=Math.max(p-1,0),"chartview"!==e){var m=t||[],h=m.slice(p,d),f=h.map(function(e){return e.slug});(n.current.length!==f.length||n.current.some(function(e,t){return e!==f[t]}))&&(n.current=f,o(h)),d+=5,p=Math.max(p-5,0);var x=m.slice(p,d),v=new Set(x.map(function(e){return e.slug})),g=new Set(a.keys());if(v.size!==g.size||Array.from(v).some(function(e){return!g.has(e)})||Array.from(g).some(function(e){return!v.has(e)})){var w=new Map;x.forEach(function(e){w.set(e.slug,!0)}),i&&s(w)}}}},[t,e,a,o,i,n]);d.current=m;var h=(0,r.useCallback)(function(){var e=Date.now(),t=e-u.current;t>=100?(u.current=e,d.current&&d.current(),p.current&&(clearTimeout(p.current),p.current=null)):p.current||(p.current=setTimeout(function(){p.current=null,u.current=Date.now(),d.current&&d.current()},100-t))},[]);(0,r.useEffect)(function(){var e=setTimeout(function(){l(!0)},300);return function(){clearTimeout(e)}},[]),(0,r.useEffect)(function(){if(i){var e=setTimeout(function(){window.addEventListener("scroll",h,{passive:!0}),m()},100);return function(){clearTimeout(e),window.removeEventListener("scroll",h),p.current&&(clearTimeout(p.current),p.current=null)}}},[i,h,m])}},51832:function(e,t,n){n.d(t,{c:function(){return s}});var r=n(67294),a=n(39529),s=function(e,t){var n=(0,r.useRef)(new Map),s=(0,r.useRef)(new Map),o=(0,r.useRef)(a.Z.getInstance()),c=(0,r.useRef)(null),i=(0,r.useRef)(null),l=(0,r.useCallback)(function(){s.current=new Map},[]),u=(0,r.useCallback)(function(){n.current=new Map},[]),p=(0,r.useCallback)(function(r){r[1]&&("watchlist"===e?n.current.set(r[0],r):"all-coins"===e&&t&&-1!==t.current.findIndex(function(e){return e===r[0]})&&s.current.set(r[0],r),i.current||(i.current=setTimeout(function(){i.current=null},1e3)))},[e,t]),d=(0,r.useCallback)(function(e){c.current&&c.current();var t=e.map(function(e){return e.slug});c.current=o.current.subscribePrices(t,p)},[p]);return(0,r.useEffect)(function(){return function(){c.current&&c.current(),i.current&&clearTimeout(i.current)}},[]),{initSocket:d,watchlistQueue:n,coinsQueue:s,clearCoinQueue:l,clearWatchlistQueue:u}}},13162:function(e,t,n){n.d(t,{Ok:function(){return i},Vt:function(){return l},Wb:function(){return h},ZV:function(){return o},hH:function(){return c},nn:function(){return u},s1:function(){return s}});var r=n(92077),a=n.n(r);function s(e){if(0===e||!Number.isFinite(e))return"0";var t,n,r=Math.abs(e);return null!=e&&Number.isFinite(e)?a()(e).format(function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return 0===e?t?"0,0":"0":t?"0,0.".concat("0".repeat(e)):"0.".concat("0".repeat(e))}(r>=1e6?0:r>=1e5?1:r>=1?2:r>=.1?4:r>=.01?5:r>=.001?6:r>=1e-4?7:r>=1e-5?8:r>=1e-6?9:r>=1e-8?9:r>=1e-9?10:r>=1e-10?11:r>=1e-11?12:r>=1e-12?13:8)):"0"}function o(e){if(0===e||!Number.isFinite(e))return"0.0%";var t=100*e;return Math.abs(t)>1e3?u(t)+"%":a()(t).format("0,0.00")+"%"}function c(e){return Number.isFinite(e)?a()(Math.round(e)).format("0,0"):"0"}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(!Number.isFinite(e)||0===e)return"0";var n=Math.abs(e),r=e<0?"-":"",a=t>0?t:3;return n>=1e12?r+(n/1e12).toPrecision(a)+"T":n>=1e9?r+(n/1e9).toPrecision(a)+"B":n>=1e6?r+(n/1e6).toPrecision(a)+"M":n>=1e3?r+(n/1e3).toPrecision(a)+"K":e.toPrecision(a)}a().locale("en");var l=function(e){return Number.isFinite(e)?a()(e).format("0,0"):"0"};function u(e){if(0===e||!Number.isFinite(e))return"0";var t=Math.abs(e),n=e<0?"-":"";return t>=1e15?n+a()(t/1e15).format("0.00")+"P":t>=1e12?n+a()(t/1e12).format("0.00")+"T":t>=1e9?n+a()(t/1e9).format("0.00")+"B":t>=1e6?n+a()(t/1e6).format("0.00")+"M":t>=1e5?n+a()(t/1e3).format("0.00")+"K":s(e)}var p={0:"â°",1:"\xb9",2:"\xb2",3:"\xb3",4:"â´",5:"âµ",6:"â¶",7:"â·",8:"â¸",9:"â¹"},d=/,/g,m=/^(0+)(\d+)/;function h(e){if(!e)return"0";var t=e.replace(d,""),n=parseFloat(t);if(!Number.isFinite(n)||0===n||Math.abs(n)>=1e-4)return e;var r=t.indexOf(".");if(-1===r)return e;var a=t.substring(r+1),s=m.exec(a);if(!s)return e;var o=s[1].length,c=s[2].substring(0,4),i=function(e){for(var t,n=String(Math.floor(Math.abs(e))),r="",a=0;a<n.length;a++)r+=null!==(t=p[n[a]])&&void 0!==t?t:n[a];return r}(o);
1return"".concat(n<0?"-":"","0.0").concat(i).concat(c)}},69127:function(e,t,n){n.d(t,{Ay:function(){return p},Re:function(){return h},Sy:function(){return d},cm:function(){return f},pi:function(){return m}});var r=n(84441),a=n(2629),s=n(65913),o=n(32276),c=n(79309),i=n(28637),l=n(93833),u=n(12592);function p(e){var t=new Date(e),n=new Date,i=(0,r.o)(n,t),l=(0,a.B)(t,i),u=(0,s.d)(n,l);l=(0,o.z)(l,u);var p=(0,c.j)(n,l),d="";return i>0&&(d+="".concat(i," ").concat(1===i?"year":"years"," ")),u>0&&(d+="".concat(u," ").concat(1===u?"month":"months"," ")),0===i&&p>0&&(d+="".concat(p," ").concat(1===p?"day":"days")),d.trim()}function d(e){var t=Math.floor((new Date().getTime()-new Date(e).getTime())/1e3),n=Math.floor(t/60),r=Math.floor(n/60),a=Math.floor(r/24),s="";if(t<=60)s="".concat(t," seconds ago");else if(n<=60)s=n>1?"".concat(n," minutes ago"):"A min ago";else if(r<=24)s=r>1?"".concat(r," hours ago"):"An hour ago";else if(a<=30)s=a>1?"".concat(a," days ago"):"Yesterday";else if(a<=365){var o=Math.floor(a/30);s=o>=1?"".concat(o," months ago"):"A month ago"}else{var c=Math.floor(a/365);s=c>1?"".concat(c," years ago"):"A year ago"}return s}var m=function(e,t){return e?d(t):function(e){var t=Math.floor((new Date().getTime()-new Date(e).getTime())/1e3),n=Math.floor(t/60),r=Math.floor(n/60),a=Math.floor(r/24),s="";if(t<=60)s="".concat(t," gi\xe2y trưá»c");else if(n<=60)s=n>1?"".concat(n," ph\xfat trưá»c"):"1 ph\xfat trưá»c";else if(r<=24)s=r>1?"".concat(r," giá» trưá»c"):"1 giá» trưá»c";else{if(!(a<=30))return(0,i.WU)(new Date(e),"dd/MM/yyyy");s=a>1?"".concat(a," ng\xe0y trưá»c"):"1 ng\xe0y trưá»c"}return s}(t)},h=function(e){var t=new Date(e),n=(0,l.I)();return(0,u.R)(t,n)?(0,i.WU)(t,"MMM-dd"):(0,i.WU)(t,"hh:mm a")};function f(e){var t=new Date(e),n=Math.floor((new Date().getTime()-t.getTime())/1e3),r=Math.floor(n/60),a=Math.floor(r/60);return n<=60?"".concat(n," seconds ago"):r<=60?r>1?"".concat(r," minutes ago"):"A min ago":a<24?a>1?"".concat(a," hours ago"):"An hour ago":(0,u.R)(t,(0,l.I)())?(0,i.WU)(t,"MMM-dd"):(0,i.WU)(t,"hh:mm a")}},50693:function(e,t,n){n.d(t,{Vb:function(){return s},iO:function(){return o},rd:function(){return a}});var r=n(828),a=function(e,t){var n=new URL(window.location.href),r=new URLSearchParams(n.search);r.set(e,t),window.history.pushState({},"","".concat(n.pathname,"?").concat(r.toString()))},s=function(e){var t=new URL(window.location.href),n=new URLSearchParams(t.search);Object.entries(e).forEach(function(e){var t=(0,r.Z)(e,2),a=t[0],s=t[1];null==s||""===s?n.delete(a):n.set(a,s)}),window.history.pushState({},"","".concat(t.pathname,"?").concat(n.toString()))},o=function(e){var t=new URL(window.location.href),n=new URLSearchParams(t.search);n.delete(e);var r=n.toString(),a=r?"".concat(t.pathname,"?").concat(r):t.pathname;window.history.pushState({},"",a)}}}]);
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.