1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7935],{6308:function(e,a,l){l.d(a,{Z:function(){return s}});var t=l(5893),r=l(607);function s(){return(0,t.jsx)("div",{className:"w-screen min-w-full bg-blueGradient",children:(0,t.jsxs)("div",{className:"w-full min-h-screen flex flex-col lg:flex-row justify-center items-center text-light-background-White",children:[(0,t.jsx)("img",{src:"/images/404.svg",alt:"404",width:"750"}),(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("p",{className:"text-5xl",children:"Oopss ..."}),(0,t.jsx)("h1",{className:"text-9xl font-black",children:"404"}),(0,t.jsx)("p",{className:"text-3xl",children:" something went wrong"}),(0,t.jsx)(r.Z,{classNames:"px-4 mt-8 mx-auto block ",title:"Back To Home Page",action:"/"})]})]})})}},8246:function(e,a,l){l.d(a,{Z:function(){return c}});var t=l(5893),r=l(5152),s=l.n(r);let n=s()(()=>l.e(5087).then(l.t.bind(l,5087,23)),{loadableGenerated:{webpack:()=>[5087]},ssr:!1});function c(){let{symbol:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return(0,t.jsx)("div",{className:"min-h-[400px]",children:(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Short Term"}),(0,t.jsx)("th",{children:"Long Term"})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:void 0!=e&&(0,t.jsx)(n,{symbol:e,colorTheme:"light",interval:"5m",isTransparent:!0,showIntervalTabs:!1,containerId:"shortTerm"})}),(0,t.jsx)("td",{children:void 0!=e&&(0,t.jsx)(n,{symbol:e,colorTheme:"light",interval:"1W",isTransparent:!0,showIntervalTabs:!1,containerId:"longterm"})})]})})]})})}},7771:function(e,a,l){l.d(a,{Z:function(){return d}});var t=l(5893),r=l(7294),s=l(4298),n=l.n(s),c=l(8745);function i(e){let{symbol:a,currentCurrency:l}=e,[s,i]=(0,r.useState)("en");return(0,r.useEffect)(()=>{i((0,c.c)(l))},[l]),(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(n(),{type:"text/javascript",src:"https://s3.tradingview.com/tv.js",id:"SymbolOverview",strategy:"afterInteractive",onLoad:()=>{new TradingView.MediumWidget({symbols:[[a]],width:"100%",height:"520px",chartOnly:!0,gridLineColor:"rgba(0, 0, 0, 0)",fontColor:"#787B86",isTransparent:!0,autosize:!0,showVolume:!0,locale:s,scalePosition:"no",scaleMode:"Normal",fontFamily:"Trebuchet MS, sans-serif",noTimeScale:!1,valuesTracking:"1",chartType:"area",lineColor:"#00E1BE",bottomColor:"rgba(0, 225, 190, 0.1)",topColor:"#007C7C",container_id:"tradingview_598c9EAA"})}}),(0,t.jsxs)("div",{className:"tradingview-widget-container w-full h-fit dark:bg-dark-background-gray900",children:[(0,t.jsx)("div",{id:"tradingview_598c9EAA"}),(0,t.jsxs)("div",{className:"tradingview-widget-copyright",children:[null==a?void 0:a.split(":")[1]," chart"]})]})]})}function o(e){let{symbol:a,currentCurrency:l}=e;return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(n(),{type:"text/javascript",src:"https://s3.tradingview.com/tv.js",id:"advance",strategy:"afterInteractive",onLoad:()=>{new TradingView.widget({width:"100%",height:"500px",symbol:a,interval:"D",timezone:"Etc/UTC",theme:"dark",style:"1",locale:"en",toolbar_bg:"#f1f3f6",enable_publishing:!1,save_image:!1,studies:["MASimple@tv-basicstudies"],container_id:"tradingview_4f759"})}}),(0,t.jsxs)("div",{className:"tradingview-widget-container w-full h-full",children:[(0,t.jsx)("div",{id:"tradingview_4f759"}),(0,t.jsxs)("div",{className:"tradingview-widget-copyright",children:[null==a?void 0:a.split(":")[1]," chart"]})]})]})}function d(){let{currentCurrency:e,symbol:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[l,s]=(0,r.useState)("simple");return(0,t.jsxs)("div",{className:"lg:min-h-[500px]",children:[(0,t.jsxs)("div",{className:"flex gap-2 text-left my-2",children:[(0,t.jsx)("button",{className:"mr-2 px-4 py-1 border border-dark-action-Primary hover:bg-dark-action-Secondary/30 rounded-lg "+("simple"===l?"bg-dark-label-Gray700 border-dark-label-Gray700":" bg-transparent border-dark-action-Primary "),onClick:()=>{s("simple")},children:"Simple Overview"}),(0,t.jsx)("button",{className:"ml-2 px-4 py-1 border border-dark-action-Primary hover:bg-dark-action-Secondary/30 rounded-lg "+("advance"===l?"bg-dark-label-Gray700 border-dark-label-Gray700":" bg-transparent border-dark-action-Primary "),onClick:()=>{s("advance")},children:"Advanced Chart"})]}),(0,t.jsx)("div",{className:" min-h-[500px] "+("simple"===l?"block visible ":" hidden invisible"),children:(0,t.jsx)(i,{currentCurrency:e,symbol
1:a})}),(0,t.jsx)("div",{className:" "+("advance"===l?"block visible ":" hidden invisible"),children:(0,t.jsx)(o,{currentCurrency:e,symbol:a})})]})}},8231:function(e,a,l){l.d(a,{Z:function(){return o}});var t=l(5893),r=l(7294),s=l(5514),n=l(9145);l(5237);var c=l(8745),i=l(6486);function o(){let{data:e,currentCurrency:a,currencyMultiplication:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[o,d]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row gap-4",children:[(0,t.jsxs)("div",{className:"w-12/12 lg:w-3/12 p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Max Supply"}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.max_supply)==null?"N/A":null==e?void 0:e.max_supply})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Circulating Supply"}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.circulating_supply)==null?"N/A":(0,s.OH)(Number(null==e?void 0:e.circulating_supply))})]})]}),(0,t.jsxs)("div",{className:"w-12/12 lg:w-3/12 p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Algorithm"}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.algorithm)==null?"N/A":null==e?void 0:e.algorithm})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Proof Type"}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.proof_type)==null?"N/A":null==e?void 0:e.proof_type})]})]}),(0,t.jsxs)("div",{className:"w-12/12 lg:w-3/12 p-2",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"BlockNo."}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.block_number)==null?"N/A":null==e?void 0:e.block_number})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:[" ",(0,t.jsxs)("span",{"data-tip":!0,"data-for":"showDate",children:[" ",o?"All Time High Price":"All Time Low Price"]}),(0,t.jsx)("button",{id:"allTime",onClick:()=>{d(!o)},className:"pl-1",children:(0,t.jsx)("svg",{className:"w-3 h-3 fill-Gray700",alt:"convert",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37 37",children:(0,t.jsx)("path",{d:"M24,5.5A18.5,18.5,0,1,0,42.5,24,18.5,18.5,0,0,0,24,5.5ZM13,15.83c0-.65.29-.93.93-.94H25.38v-.37c0-.69,0-1.38,0-2.07a1,1,0,0,1,.58-1h.34c.18.11.38.2.55.32l7.69,5.61a.83.83,0,0,1,.43.57.82.82,0,0,1-.41.85l-5.65,4.12-2.22,1.62a.79.79,0,0,1-1,0,.85.85,0,0,1-.29-.73V21.2H14c-.67,0-1-.28-1-.94ZM35,32.14c0,.7-.27,1-1,1H22.61v1.37c0,.4,0,.8,0,1.21a.8.8,0,0,1-1.36.67l-4.91-3.58-2.88-2.1a.8.8,0,0,1,0-1.45l7.8-5.68c.53-.39,1.13-.25,1.3.3a1.2,1.2,0,0,1,0,.38v2.58H34c.71,0,1,.26,1,1Z",transform:"translate(-5.5 -5.5)"})})}),(0,t.jsx)(n.u,{className:"bg-[#999999]",anchorSelect:"#allTime",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:o?"change to ATL":"change to ATH"})]}),(0,t.jsxs)("p",{id:"showDate",className:"truncate",children:[" ",o?"19,069,581.00":"0"," "]}),(0,t.jsx)(n.u,{className:"bg-[#999999]",anchorSelect:"#showDate",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Date goes here"})]})]}),(0,t.jsxs)("div",{className:"w-12/12 lg:w-3/12 p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Market Cap"}),(0,t.jsx)("p",{className:"truncate text-base",children:(null==e?void 0:e.market_cap)==null?"N/A":(0,t.jsxs)(t.Fragment,{children:[" ",(0,c.Z)(a)," ",(0,s.OH)(Number(null==e?void 0:e.market_cap)*(void 0!=l?l["".concat((0,i.lowerCase)(a))]:1),!0)]})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-sm py-2 text-dark-label-Gray700",children:"Launch date"}),(0,t.jsx)("p",{className:"truncate",children:(null==e?void 0:e.asset_launch_date)==null?"N/A":null==e?void 0:e.asset_launch_date})]})]})]})}},9697:function(e,a,l){l.d(a,{Z:function(){return B}});var t=l(5893),r=l(7294),s=l(1664),n=l.n(s),c=l(9145);l(5237);
1var i=l(3253),o=l.n(i),d=l(6819),h=l(5514),x=l(6573),u=l(1020),g=l(9674),m=l(6377),b=l(6616),p=l(7385),f=l(8168),j=l(4276),k=l(2834),v=l(9275),y=l(3597),w=l(7332),N=l(5341),C=l(431),S=l(8137),A=l(6339);function Z(){let{image_url:e,coin_name:a,coin:l,price:s,setIsShareVisible:n,roundSize:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[i,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=document.getElementById("copy"),a=document.getElementById("link").innerText;return e.addEventListener("pointerdown",()=>navigator.clipboard.writeText(a)),()=>{e.removeEventListener("pointerdown",()=>navigator.clipboard.writeText(a))}},[]),(0,t.jsxs)("div",{className:"rounded-lg drop-shadow-lg p-3 pb-1 mx-0 my-4 xl:m-4 bg-light-background-White/80 dark:bg-dark-background-gray900 flex flex-col justify-center gap-3",children:[(0,t.jsxs)("p",{className:"text-center font-bold text-xl ",children:[(0,t.jsx)("svg",{className:"w-6 h-6 inline mr-2 dark:fill-light-background-White/80 fill-dark-background-Gray200/60 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.09 35",children:(0,t.jsx)("path",{d:"M33.6,41.5A13.18,13.18,0,0,1,31.91,41a5.78,5.78,0,0,1-3.41-6.47.32.32,0,0,0-.19-.4c-3.39-1.93-6.79-3.86-10.17-5.8a.38.38,0,0,0-.53.06A5.83,5.83,0,0,1,8,23.57a5.58,5.58,0,0,1,3.59-4.95,5.62,5.62,0,0,1,6,1c.15.12.25.22.47.09,3.47-2,7-4,10.41-5.94A16.61,16.61,0,0,1,28.4,12a5.81,5.81,0,0,1,4.94-5.47l.26-.07h1.23l.19.06a5.83,5.83,0,1,1-4.85,10l-.25-.23-10.54,6a6,6,0,0,1,0,3.4l10.59,6a2.43,2.43,0,0,1,.22-.29,5.7,5.7,0,0,1,4.87-1.55,5.82,5.82,0,0,1,.63,11.4c-.28.08-.57.14-.86.2Z",transform:"translate(-7.96 -6.5)"})}),"Share it with your friends"]}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("img",{className:"mx-auto",src:e,loading:"lazy",alt:l,onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null},width:80,height:80}),(0,t.jsxs)("div",{className:"bg-light-background-White/80 dark:bg-dark-background-Gray200/60 rounded-lg py-3 px-5",children:[(0,t.jsxs)("p",{children:[a," - ",l]}),(0,t.jsxs)("p",{className:"font-bold",children:["$",(0,h.OH)(s,!1,c)]})]}),(0,t.jsx)("div",{className:"my-2",children:(0,t.jsx)(H,{shareUrl:"https://orading.com/coin/".concat(l),title:"Orading | ".concat(l," - ").concat(a," Info")})})]}),(0,t.jsxs)("div",{className:"min-h-[76px] bg-light-background-White/80 dark:bg-dark-background-Gray200/60 py-2 my-2 w-auto rounded-lg",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center",children:[(0,t.jsxs)("p",{id:"link",className:"bg-transparent border-0 mr-2 ",children:[" https://orading.com/coin/",l," "]}),(0,t.jsx)("button",{id:"copy",className:"bg-dark-action-Primary rounded-full p-2",onClick:()=>{o(i+1)},children:(0,t.jsx)("svg",{className:"fill-White w-6 h-6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35.29 40.32",children:(0,t.jsx)("path",{d:"M30.85,44.16h-20a1,1,0,0,0-.15-.07,5.22,5.22,0,0,1-4.34-5.25q0-12.33,0-24.65a7.31,7.31,0,0,1,.07-1,5,5,0,0,1,4.51-4.2c.56,0,1.12,0,1.7,0,0-.18,0-.26,0-.35a5.23,5.23,0,0,1,5-4.73c5,0,9.92,0,14.88,0A.72.72,0,0,1,33,4.1c2.8,3.19,5.61,6.39,8.4,9.6a1,1,0,0,1,.22.62c0,1.09,0,2.18,0,3.27,0,5.46,0,10.92,0,16.37A5.23,5.23,0,0,1,37.32,39a18.14,18.14,0,0,1-2,.11,5.24,5.24,0,0,1-2.24,4.06A6,6,0,0,1,30.85,44.16ZM12.66,11.34a18,18,0,0,0-1.82.27,2.25,2.25,0,0,0-2,2.53q0,12.39,0,24.76a2.63,2.63,0,0,0,2.72,2.74H30.14a4,4,0,0,0,1.09-.15,2.21,2.21,0,0,0,1.54-2.37H32.3c-4.77,0-9.55,0-14.33,0a5.41,5.41,0,0,1-5.33-5.35c0-7.3,0-14.59,0-21.89ZM27.12,24h5.71a1.24,1.24,0,0,0,1.23-1,1.22,1.22,0,0,0-.75-1.37,2.16,2.16,0,0,0-.76-.12c-3.6,0-7.19,0-10.79,0a1.4,1.4,0,0,0-.58.06,2.09,2.09,0,0,0-.74.53,1.08,1.08,0,0,0-.07,1.25A1.21,1.21,0,0,0,21.5,24Zm0,6.3h5.63a1.25,1.25,0,0,0,1.3-1.2,1.27,1.27,0,0,0-1.25-1.31H21.54a1.26,1.26,0,1,0,0,2.51Zm12-16.41L32.83,6.41c0,1.78,0,3.46,0,5.13a2.46,2.46,0,0,0,2.26,2.34C36.41,14,37.72,13.9,39.1,13.9Z",transform:"translate(-6.36 -3.84)"})})})]}),0!=i&&(0,t.jsx)("p",{className:"text-center text-xs my-2",children:"Link has been copied in your clipboard"})]}),(0,t.jsx)("button",{onClick:()=>{n(!1)},className:"px-3 py-2 text-dark-action-Secondary hover:bg-dark-action-Secondary/50 hover:text-light-background-White border border-dark-action-Secondary rounded-lg my-4",children:"Close"})]})}function H(e){let{shareUrl:a,title:l}=e;return(0,t.jsxs)("div",{className:"flex gap-1 flex-wrap justify-center",children:[(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(x.Z,{url:a,quote:l,className:"cursor-pointer",children:(0,t.jsx)(u.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(g.Z,{url:a,appId:"521270401588372",className:"cursor-pointer",children:(0,t.jsx)(m.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(b.Z,{url:a,title:l,className:"cursor-pointer",children:(0,t.jsx)(p.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(f.Z,{url:a,title:l,className:"cursor-pointer",children:(0,t.jsx)(j.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(k.Z,{url:a,title:l,separator:":: ",className:"cursor-pointer",children:(0,t.jsx)(v.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(y.Z,{url:a,className:"cursor-pointer",children:(0,t.jsx)(w.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(N.Z,{url:a,title:l,windowWidth:660,windowHeight:460,className:"cursor-pointer",children:(0,t.jsx)(C.Z,{size:32,round:!0})})}),(0,t.jsx)("div",{className:"mr-2 text-center inline-block",children:(0,t.jsx)(S.Z,{url:a,subject:l,body:"body",className:"cursor-pointer",children:(0,t.jsx)(A.Z,{size:32,round:!0})})})]})}var _=l(617),M=l(7122);
1function B(e){let{coin_name:a,coin:l,image_url:s,asset_website_url:i,white_paper_url:h,setCurrentCurrency:x,currentCurrency:u,currencyMultiplication:g,setCurrencyMultiplication:m,setActiveTab:b,price:p,tags:f,isUserLogin:j,rank:k,orading_supported_exchanges:v,supported_exchanges:y,roundSize:w}=e,[N,C]=(0,r.useState)(!1),[S,A]=(0,r.useState)(!1),[H,B]=(0,r.useState)(!1),[T,W]=(0,r.useState)(!1),[G,E]=(0,r.useState)(!1),[I,V]=(0,r.useState)(!1);return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("div",{className:" hidden xl:flex gap-2 items-center mb-4",children:[(0,t.jsx)("img",{src:s,alt:l,loading:"lazy",onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null},width:80,height:80}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"font-black text-2xl",children:[a,null!=k&&k<100&&(0,t.jsxs)("span",{className:" px-2 border border-dark-label-Gray700/20 rounded-md text-xs font-normal ",children:["Rank: #",k]})]}),(0,t.jsx)("p",{className:"font-light",children:l})]})]}),(0,t.jsxs)("div",{className:"flex xl:hidden justify-between",children:[(0,t.jsxs)("div",{className:"flex gap-2 items-center mb-4",children:[(0,t.jsx)("img",{src:s,alt:l,loading:"lazy",onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null},width:80,height:80}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-black text-2xl",children:a}),(0,t.jsx)("p",{className:"font-light",children:l})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(d.Z,{currencyMultiplication:g,setCurrencyMultiplication:m,setCurrentCurrency:x,currentCurrency:u}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)(M.Z,{coin:l,isLogin:j}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{id:"desktopChart",className:"hidden invisible xl:block xl:visible p-2 border border-dark-label-Gray700/20 rounded-md",onClick:()=>{b("Charts"),document.getElementById("chart-desktop").scrollIntoView({behavior:"smooth"})},children:[(0,t.jsxs)("svg",{className:"w-6 h-6 stroke-light-label-Gray700 fill-transparent",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.82 18.5",children:[(0,t.jsx)("path",{d:"M.5,0V18h18"}),(0,t.jsx)("rect",{x:"4.23",y:"10.07",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"5.62",y1:"14.14",x2:"5.62",y2:"15.05"}),(0,t.jsx)("line",{x1:"5.62",y1:"8.93",x2:"5.62",y2:"10.07"}),(0,t.jsx)("rect",{x:"7.84",y:"5.89",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"9.22",y1:"9.96",x2:"9.22",y2:"10.86"}),(0,t.jsx)("line",{x1:"9.22",y1:"4.75",x2:"9.22",y2:"5.89"}),(0,t.jsx)("rect",{x:"12.11",y:"6.46",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"13.49",y1:"10.53",x2:"13.49",y2:"11.44"}),(0,t.jsx)("line",{x1:"13.49",y1:"5.32",x2:"13.49",y2:"6.46"}),(0,t.jsx)("rect",{x:"15.55",y:"2.32",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"16.93",y1:"6.38",x2:"16.93",y2:"7.29"}),(0,t.jsx)("line",{x1:"16.93",y1:"1.17",x2:"16.93",y2:"2.32"})]}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#desktopChart",type:"info",effect:"float","aria-haspopup":"true",content:"View Chart"})]}),(0,t.jsxs)("button",{id:"mobileChart",className:"xl:hidden xl:invisible block visible p-2 border border-dark-label-Gray700/20 rounded-md",onClick:()=>{b("Charts"),document.getElementById("chart-mobile").scrollIntoView({behavior:"smooth"})},children:[(0,t.jsxs)("svg",{className:"w-6 h-6 stroke-light-label-Gray700 fill-transparent",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.82 18.5",children:[(0,t.jsx)("path",{d:"M.5,0V18h18"}),(0,t.jsx)("rect",{x:"4.23",y:"10.07",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"5.62",y1:"14.14",x2:"5.62",y2:"15.05"}),(0,t.jsx)("line",{x1:"5.62",y1:"8.93",x2:"5.62",y2:"10.07"}),(0,t.jsx)("rect",{x:"7.84",y:"5.89",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"9.22",y1:"9.96",x2:"9.22",y2:"10.86"}),(0,t.jsx)("line",{x1:"9.22",y1:"4.75",x2:"9.22",y2:"5.89"}),(0,t.jsx)("rect",{x:"12.11",y:"6.46",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"13.49",y1:"10.53",x2:"13.49",y2:"11.44"}),(0,t.jsx)("line",{x1:"13.49",y1:"5.32",x2:"13.49",y2:"6.46"}),(0,t.jsx)("rect",{x:"15.55",y:"2.32",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"16.93",y1:"6.38",x2:"16.93",y2:"7.29"}),(0,t.jsx)("line",{x1:"16.93",y1:"1.17",x2:"16.93",y2:"2.32"})]}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#mobileChart",type:"info",effect:"float","aria-haspopup":"true",content:"View Chart"})]})]}),(0,t.jsxs)("button",{onClick:()=>{C(!0)},id:"share",className:" p-2 border border-dark-label-Gray700/20 rounded-md ",children:[(0,t.jsx)("svg",{className:"w-6 h-6 fill-light-label-Gray700 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.09 35",children:(0,t.jsx)("path",{d:"M33.6,41.5A13.18,13.18,0,0,1,31.91,41a5.78,5.78,0,0,1-3.41-6.47.32.32,0,0,0-.19-.4c-3.39-1.93-6.79-3.86-10.17-5.8a.38.38,0,0,0-.53.06A5.83,5.83,0,0,1,8,23.57a5.58,5.58,0,0,1,3.59-4.95,5.62,5.62,0,0,1,6,1c.15.12.25.22.47.09,3.47-2,7-4,10.41-5.94A16.61,16.61,0,0,1,28.4,12a5.81,5.81,0,0,1,4.94-5.47l.26-.07h1.23l.19.06a5.83,5.83,0,1,1-4.85,10l-.25-.23-10.54,6a6,6,0,0,1,0,3.4l10.59,6a2.43,2.43,0,0,1,.22-.29,5.7,5.7,0,0,1,4.87-1.55,5.82,5.82,0,0,1,.63,11.4c-.28.08-.57.14-.86.2Z",transform:"translate(-7.96 -6.5)"})}),(0,t.jsx)(c.u,{className:"bg-[#999999] ",anchorSelect:"#share",type:"info",effect:"float","aria-haspopup":"true",content:"Share"})]})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"hidden lg:flex gap-3",children:[(0,t.jsx)(M.Z,{coin:l,isLogin:j}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{id:"desktopChart",className:"hidden invisible xl:block xl:visible p-2 border border-dark-label-Gray700/20 rounded-md",onClick:()=>{b("Charts"),document.getElementById("chart-desktop").scrollIntoView({behavior:"smooth"})},children:[(0,t.jsxs)("svg",{className:"w-6 h-6 stroke-light-label-Gray700 fill-transparent",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.82 18.5",children:[(0,t.jsx)("path",{d:"M.5,0V18h18"}),(0,t.jsx)("rect",{x:"4.23",y:"10.07",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"5.62",y1:"14.14",x2:"5.62",y2:"15.05"}),(0,t.jsx)("line",{x1:"5.62",y1:"8.93",x2:"5.62",y2:"10.07"}),(0,t.jsx)("rect",{x:"7.84",y:"5.89",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"9.22",y1:"9.96",x2:"9.22",y2:"10.86"}),(0,t.jsx)("line",{x1:"9.22",y1:"4.75",x2:"9.22",y2:"5.89"}),(0,t.jsx)("rect",{x:"12.11",y:"6.46",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"13.49",y1:"10.53",x2:"13.49",y2:"11.44"}),(0,t.jsx)("line",{x1:"13.49",y1:"5.32",x2:"13.49",y2:"6.46"}),(0,t.jsx)("rect",{x:"15.55",y:"2.32",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"16.93",y1:"6.38",x2:"16.93",y2:"7.29"}),(0,t.jsx)("line",{x1:"16.93",y1:"1.17",x2:"16.93",y2:"2.32"})]}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#desktopChart",type:"info",effect:"float","aria-haspopup":"true",content:"View Chart"})]}),(0,t.jsxs)("button",{id:"mobileChart",className:"xl:hidden xl:invisible block visible p-2 border border-dark-label-Gray700/20 rounded-md",onClick:()=>{b("Charts"),document.getElementById("chart-mobile").scrollIntoView({behavior:"smooth"})},children:[(0,t.jsxs)("svg",{className:"w-6 h-6 stroke-light-label-Gray700 fill-transparent",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.82 18.5",children:[(0,t.jsx)("path",{d:"M.5,0V18h18"}),(0,t.jsx)("rect",{x:"4.23",y:"10.07",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"5.62",y1:"14.14",x2:"5.62",y2:"15.05"}),(0,t.jsx)("line",{x1:"5.62",y1:"8.93",x2:"5.62",y2:"10.07"}),(0,t.jsx)("rect",{x:"7.84",y:"5.89",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"9.22",y1:"9.96",x2:"9.22",y2:"10.86"}),(0,t.jsx)("line",{x1:"9.22",y1:"4.75",x2:"9.22",y2:"5.89"}),(0,t.jsx)("rect",{x:"12.11",y:"6.46",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"13.49",y1:"10.53",x2:"13.49",y2:"11.44"}),(0,t.jsx)("line",{x1:"13.49",y1:"5.32",x2:"13.49",y2:"6.46"}),(0,t.jsx)("rect",{x:"15.55",y:"2.32",width:"2.77",height:"3.62"}),(0,t.jsx)("line",{x1:"16.93",y1:"6.38",x2:"16.93",y2:"7.29"}),(0,t.jsx)("line",{x1:"16.93",y1:"1.17",x2:"16.93",y2:"2.32"})]}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#mobileChart",type:"info",effect:"float","aria-haspopup":"true",content:"View Chart"})]})]}),(0,t.jsxs)("button",{onClick:()=>{C(!0)},id:"share",className:" p-2 border border-dark-label-Gray700/20 rounded-md ",children:[(0,t.jsx)("svg",{className:"w-6 h-6 fill-light-label-Gray700 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.09 35",children:(0,t.jsx)("path",{d:"M33.6,41.5A13.18,13.18,0,0,1,31.91,41a5.78,5.78,0,0,1-3.41-6.47.32.32,0,0,0-.19-.4c-3.39-1.93-6.79-3.86-10.17-5.8a.38.38,0,0,0-.53.06A5.83,5.83,0,0,1,8,23.57a5.58,5.58,0,0,1,3.59-4.95,5.62,5.62,0,0,1,6,1c.15.12.25.22.47.09,3.47-2,7-4,10.41-5.94A16.61,16.61,0,0,1,28.4,12a5.81,5.81,0,0,1,4.94-5.47l.26-.07h1.23l.19.06a5.83,5.83,0,1,1-4.85,10l-.25-.23-10.54,6a6,6,0,0,1,0,3.4l10.59,6a2.43,2.43,0,0,1,.22-.29,5.7,5.7,0,0,1,4.87-1.55,5.82,5.82,0,0,1,.63,11.4c-.28.08-.57.14-.86.2Z",transform:"translate(-7.96 -6.5)"})}),(0,t.jsx)(c.u,{className:"bg-[#999999] ",anchorSelect:"#share",type:"info",effect:"float","aria-haspopup":"true",content:"Share"})]})]}),null!=f&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:" inline font-medium text-dark-label-Gray700 mr-8",children:"Tags: "}),G?(0,t.jsxs)("span",{className:"flex gap-[2px] flex-wrap",children:[f.map(e=>(0,t.jsx)("span",{className:"bg-light-background-Gray900/30 rounded-lg text-xs px-2 py-1 m-1",children:e},e))," ",(0,t.jsx)("button",{className:"text-xs px-2 py-1 m-1 text-dark-action-Secondary bg-[#f2f2f5] dark:bg-[#3c3c3c] rounded-sm hover:bg-dark-action-Secondary/10 hover:text-light-label-black ",onClick:()=>{E(!1)},children:"view less"})]}):(0,t.jsxs)("span",{className:"flex gap-[2px] flex-wrap",children:[f.slice(0,4).map(e=>(0,t.jsx)("span",{className:"bg-light-background-Gray900/30 rounded-lg text-xs px-2 py-1 m-1",children:e},e))," ",(0,t.jsx)("button",{className:"text-xs px-2 py-1 m-1 text-dark-action-Secondary bg-[#f2f2f5] dark:bg-[#3c3c3c] rounded-sm hover:bg-dark-action-Secondary/10 hover:text-light-label-black ",onClick:()=>{E(!0)},children:"view more"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"inline font-medium text-dark-label-Gray700 mr-4",children:"Website:"}),(0,t.jsx)("span",{children:(0,t.jsx)("a",{rel:"nofollow",href:"".concat(null!=i?i:"#"),className:"text-[#3d3da3] dark:text-dark-action-Secondary",children:a})})]}),null!=h&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"inline font-medium text-dark-label-Gray700 mr-8",children:"White paper: "}),(0,t.jsxs)(n(),{href:null!=h?"white_paper_url":"#",className:"text-light-label-black border rounded-md px-2 py-1 hover:bg-dark-action-Secondary/20",children:[(0,t.jsxs)("svg",{className:"w-4 h-4 inline mr-2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 42.46",children:[(0,t.jsx)("path",{d:"M15.87,45.23a3.68,3.68,0,0,1-2-1A3.44,3.44,0,0,1,13,41.75V34.62H6.7A2.48,2.48,0,0,1,4,31.91V20.18a2.49,2.49,0,0,1,2.74-2.72H13V6.23A3.27,3.27,0,0,1,15.43,2.9a3.56,3.56,0,0,1,1-.12H32.12a1.35,1.35,0,0,1,1,.44Q38.32,8.61,43.52,14A1.58,1.58,0,0,1,44,15.17q0,13.26,0,26.53a3.31,3.31,0,0,1-1.87,3.2,7.91,7.91,0,0,1-1,.33ZM14.64,34.62c0,.11,0,.18,0,.24,0,2.35,0,4.7,0,7a1.57,1.57,0,0,0,.06.49,1.65,1.65,0,0,0,1.81,1.19h24a1.68,1.68,0,0,0,1.91-1.9V16.32c0-.15,0-.3,0-.48H32.24c-1.11,0-1.3-.19-1.3-1.31V4.44l-.44,0h-14a1.65,1.65,0,0,0-1.86,1.89c0,3.56,0,7.13,0,10.69v.46H28.19a2.51,2.51,0,0,1,2.75,2.76V31.87a2.5,2.5,0,0,1-2.75,2.75H14.64ZM17.47,33H28.16c.9,0,1.14-.25,1.14-1.17V20.25c0-.88-.25-1.14-1.12-1.14H6.75c-.87,0-1.12.26-1.12,1.14,0,3.86,0,7.71,0,11.5
17,0,.91.24,1.16,1.14,1.16Zm24-18.78L32.6,5V14.2Z",transform:"translate(-4 -2.77)",fill:"#000"}),(0,t.jsx)("path",{d:"M15.33,29.64V22.79s.05-.07.07-.07c1.17,0,2.35,0,3.51.07a2.36,2.36,0,0,1,2,1.83,5,5,0,0,1-.15,3.56,2.2,2.2,0,0,1-1.89,1.43C17.74,29.7,16.55,29.64,15.33,29.64Zm1.43-5.7V28.5c.56,0,1.1,0,1.63,0a1.14,1.14,0,0,0,1.2-1.09,10,10,0,0,0,.07-2A1.37,1.37,0,0,0,18.43,24,15.44,15.44,0,0,0,16.76,23.94Z",transform:"translate(-4 -2.77)",fill:"#000"}),(0,t.jsx)("path",{d:"M10.2,27.06V29.7H8.82v-7h.79c.93,0,1.87,0,2.81.07a1.75,1.75,0,0,1,1.64,1.4,2.14,2.14,0,0,1-2.18,2.88C11.34,27.07,10.81,27.06,10.2,27.06Zm0-1.14c.6,0,1.17-.05,1.74-.14a.86.86,0,0,0,.72-.89.9.9,0,0,0-.77-.93,15.86,15.86,0,0,0-1.69,0Z",transform:"translate(-4 -2.77)",fill:"#000"}),(0,t.jsx)("path",{d:"M27.2,22.73v1.16H23.86v1.66h2.85v1.17H23.84v3H22.45v-7Z",transform:"translate(-4 -2.77)",fill:"#000"})]}),"Download"]})]}),(0,t.jsxs)("div",{className:"flex gap-1 items-start flex-wrap",children:[S?(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("div",{className:"inline font-medium min-w-max text-dark-label-Gray700",children:"All Exchanges:"}),null!=y&&y.length>0&&(0,t.jsxs)("div",{className:"flex gap-1 flex-wrap",children:[H&&y.map(e=>{if(null!=e.exchange_url)return(0,t.jsxs)(n(),{href:e.exchange_url,className:"flex items-center gap-4 px-2 bg-light-label-Gray700/20 text-light-label-black dark:text-dark-label-black rounded-full",children:[(0,t.jsx)("img",{className:"w-5 h-5 inline",src:e.exchange_image_url,alt:e.exchange_name})," ",e.exchange_name]},e.exchange_url)}),!H&&y.slice(0,3).map(e=>{if(null!=e.exchange_url)return(0,t.jsxs)(n(),{href:e.exchange_url,className:"flex items-center gap-4 px-2 bg-light-label-Gray700/20 text-light-label-black dark:text-dark-label-black rounded-full",children:[(0,t.jsx)("img",{className:"w-5 h-5 inline",src:e.exchange_image_url,alt:e.exchange_name})," ",e.exchange_name]},e.exchange_url)}),(0,t.jsx)("button",{className:"px-3 inline text-dark-action-Secondary font-semibold bg-[#f2f2f5] dark:bg-[#3c3c3c] rounded-sm hover:bg-dark-action-Secondary/10 hover:text-light-label-black ",onClick:()=>{B(!H)},children:H?"Show Less":"Show More"})]})]}):(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2 font-medium min-w-max text-dark-label-Gray700",children:[(0,t.jsx)("span",{children:"Orading Pro-Trading:"}),(0,t.jsx)("button",{onClick:()=>{V(!0)},children:(0,t.jsx)("svg",{id:"availableOn",className:"inline w-5 h-5 fill-Gray700",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",children:(0,t.jsx)("path",{d:"M25.05,42H22.94c-.6-.08-1.21-.13-1.81-.23a17.55,17.55,0,0,1-9.7-4.94A17.6,17.6,0,0,1,6.08,22.19,17,17,0,0,1,10,12.77a17.68,17.68,0,0,1,15.82-6.7A16.75,16.75,0,0,1,34,9a17.84,17.84,0,0,1,7.77,11.9c.13.66.19,1.34.28,2V25c0,.25-.06.49-.08.73a17.49,17.49,0,0,1-3,8.17,17.82,17.82,0,0,1-11.9,7.78C26.39,41.84,25.72,41.91,25.05,42ZM26.1,29.25c0-.88,0-1.72,0-2.56A2.61,2.61,0,0,1,26.65,25a15,15,0,0,1,1.45-1.43,6.18,6.18,0,0,0,2.11-5.91,6.27,6.27,0,0,0-5.61-5.2,6.34,6.34,0,0,0-6.42,3.8,6,6,0,0,0-.51,2.48h4.2c0-.15,0-.28.07-.41a2.1,2.1,0,0,1,4.12.79,2.38,2.38,0,0,1-1,1.52,9.06,9.06,0,0,0-1.89,2c-1.43,2-1.29,4.33-1.22,6.64Zm0,4.24A2.11,2.11,0,1,0,24,35.59,2.13,2.13,0,0,0,26.1,33.49Z",transform:"translate(-6 -6)"})})})]}),null!=v&&v.length>0&&(0,t.jsx)("div",{className:"flex gap-1 flex-wrap",children:v.map(e=>{if(null!=e.exchange_url)return(0,t.jsxs)(n(),{href:e.exchange_url,className:"flex items-center gap-4 px-2 bg-light-label-Gray700/20 text-light-label-black dark:text-dark-label-black rounded-full",children:[(0,t.jsx)("img",{className:"w-5 h-5 inline",src:e.exchange_image_url,alt:e.exchange_name})," ",e.exchange_name]},e.exchange_url)})})]}),(0,t.jsxs)("span",{children:[(0,t.jsx)("button",{id:"isAllExchanges",onClick:()=>{A(!S)},children:(0,t.jsx)("svg",{className:"w-5 h-5 fill-Gray700",alt:"convert",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37 37",children:(0,t.jsx)("path",{d:"M24,5.5A18.5,18.5,0,1,0,42.5,24,18.5,18.5,0,0,0,24,5.5ZM13,15.83c0-.65.29-.93.93-.94H25.38v-.37c0-.69,0-1.38,0-2.07a1,1,0,0,1,.58-1h.34c.18.11.38.2.55.32l7.69,5.61a.83.83,0,0,1,.43.57.82.82,0,0,1-.41.85l-5.65,4.12-2.22,1.62a.79.79,0,0,1-1,0,.85.85,0,0,1-.29-.73V21.2H14c-.67,0-1-.28-1-.94ZM35,32.14c0,.7-.27,1-1,1H22.61v1.37c0,.4,0,.8,0,1.21a.8.8,0,0,1-1.36.67l-4.91-3.58-2.88-2.1a.8.8,0,0,1,0-1.45l7.8-5.68c.53-.39,1.13-.25,1.3.3a1.2,1.2,0,0,1,0,.38v2.58H34c.71,0,1,.26,1,1Z",transform:"translate(-5.5 -5.5)"})})}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#isAllExchanges",type:"info",effect:"float","aria-haspopup":"true",content:S?"Orading Pro Trading ":"All Exchanges"})]})]})]}),(0,t.jsx)(o(),{isOpen:N,contentLabel:"Share With Your Friend",onRequestClose:()=>C(!1),className:" w-full lg:w-3/12 mx-auto mt-10 lg:mt-40 outline-none",overlayClassName:"bg-dark-label-Gray700 bg-opacity-80 w-screen h-screen fixed top-0 left-0 right-0 bottom-0 z-100",closeTimeoutMS:500,children:(0,t.jsx)(Z,{image_url:s,coin_name:a,coin:l,price:p,setIsShareVisible:C,roundSize:w})}),(0,t.jsx)(o(),{isOpen:T,contentLabel:"Login To Continue",onRequestClose:()=>W(!1),className:" w-full lg:w-1/3 mx-auto mt-10 lg:mt-40 outline-none",overlayClassName:"bg-dark-label-Gray700 bg-opacity-80 w-screen h-screen fixed top-0 left-0 right-0 bottom-0 z-100",closeTimeoutMS:500,children:(0,t.jsx)(_.Z,{setModalVisible:W,modalVisible:T,afterLogin:"reload"})}),(0,t.jsx)(o(),{isOpen:I,onRequestClose:()=>V(!1),className:" w-full lg:w-1/3 mx-auto mt-10 lg:mt-40 outline-none",overlayClassName:"bg-dark-label-Gray700 bg-opacity-80 w-screen h-screen fixed top-0 left-0 right-0 bottom-0 z-100",closeTimeoutMS:500,children:(0,t.jsxs)("div",{className:"min-h-56 bg-light-background-White dark:bg-dark-background-gray900 p-4 rounded-2xl",children:[(0,t.jsx)("button",{className:"p-5 block ml-auto mr-4",onClick:()=>{V(!1)},children:"\xd7"}),(0,t.jsx)("p",{children:"Orading is a platform that enables you to access securely all your crypto exchange accounts that are supported on Orading. This multi-exchange trading platform offers advanced tools to trade on your accounts remotely, from Orading's side, so you can monitor all your accounts from one single interface."})]})})]})}o().setAppElement("body")},3244:function(e,a,l){l.d(a,{Z:function(){return s}});var t=l(5893),r=l(7294);function s(){let{description:e,coin_name:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[l,s]=(0,r.useState)(!((null==e?void 0:e.length)>990));return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("h4",{className:"font-bold text-xl py-5",children:[a," Overview"]}),(0,t.jsxs)("p",{className:"px-3",children:[l?e:"".concat(e.slice(0,990)," ..."),(null==e?void 0:e.length)>990&&(0,t.jsx)("button",{className:"px-3 ml-auto inline text-dark-action-Secondary font-semibold bg-[#f2f2f5] dark:bg-[#3c3c3c] rounded-sm hover:bg-dark-action-Secondary/10 hover:text-light-label-black ",onClick:()=>{s(!l)},children:l?"Show less":"Show more"})]})]})}},2714:function(e,a,l){l.d(a,{Z:function(){return u}});var t=l(5893),r=l(8745),s=l(7294),n=l(4753),c=l(8579),i=l(9145);l(5237);var o=l(6486),d=l(5514);let h=()=>(0,t.jsx)("span",{children:" â´"}),x=()=>(0,t.jsx)("span",{children:" â¾"});function u(){let{coin:e,currentCurrency:a,volume_24h:l,price:u,isDark:g,currencyMultiplication:m,ticker:b,roundSize:p}=arguments.length>
10&&void 0!==arguments[0]?arguments[0]:props,[f,j]=(0,s.useState)({label:"Total",img:""}),[k,v]=(0,s.useState)(!1),[y,w]=(0,s.useState)([]);(0,s.useEffect)(()=>{let e=[];e.push({label:"Total",img:""}),null==l||l.map(a=>{null!=a.exchange_image_url&&e.push({label:a.exchange_name,img:a.exchange_image_url})}),w(e)},[]);let N=e=>(0,t.jsxs)(n.c.Option,{...e,children:[""!=e.data.img&&(0,t.jsx)("img",{src:e.data.img,width:24,height:24,className:"inline",alt:e.data.label}),(0,t.jsx)("span",{className:"text-light-label-black dark:text-dark-label-black pl-4",children:e.data.label})]}),C=e=>{let{children:a,...l}=e;return(0,t.jsxs)(n.c.SingleValue,{...l,children:[""!=l.data.img&&(0,t.jsx)("img",{src:l.data.img,width:24,height:24,className:"inline opacity-50 ",alt:l.data.label}),""==l.data.img&&(0,t.jsx)("span",{className:"text-light-label-black dark:text-dark-label-black",children:l.data.label})]})},S=e=>{let{price:l,roundSize:r}=e;return l>.9?(0,t.jsx)("span",{children:(0,d.x6)((0,d.uf)(l*(void 0!=m?m["".concat((0,o.lowerCase)(a))]:1),"IRR"==a?0:r,!0))}):(0,t.jsx)("span",{children:(0,d.x6)((0,d.uf)((0,d.co)(l*(void 0!=m?m["".concat((0,o.lowerCase)(a))]:1)),"IRR"==a?0:r,!0))})};return(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-base font-semibold ",children:[e," Price:"]}),(0,t.jsxs)("div",{className:"flex justify-between md:justify-start gap-2 items-center",children:[(0,t.jsxs)("h2",{className:"font-black text-4xl text-light-label-black dark:text-dark-label-black",children:[(0,r.Z)(a),(0,t.jsx)(S,{price:u,roundSize:p})]}),(0,t.jsxs)("p",{className:"flex flex-nowrap px-2 pr-4 py-1 rounded-md text-base text-light-background-White "+((null==b?void 0:b.change)>=0?"bg-[#16C784] ":"bg-[#EA3943]/80"),children:[(null==b?void 0:b.change)>=0?(0,t.jsx)(h,{}):(0,t.jsx)(x,{})," ",null==b?void 0:b.change,"%"]})]}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsx)("h2",{className:"font-semibold text-[#EA3943]",children:"24h Low: "}),(0,t.jsxs)("p",{className:"inline-block text-base ",children:[(0,r.Z)(a),(0,t.jsx)(S,{price:null==b?void 0:b.low24h,roundSize:p})]})]}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsx)("h2",{className:"font-semibold text-[#16C784]",children:"24h High: "}),(0,t.jsxs)("p",{className:"inline-block text-base ",children:[(0,r.Z)(a),(0,t.jsx)(S,{price:null==b?void 0:b.high24h,roundSize:p})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-row xl:flex-col gap-2",children:[(0,t.jsxs)("p",{className:"text-base font-semibold ",children:[e," 24h Volume:"]}),(0,t.jsx)(c.ZP,{className:"h-10 bg-white bg-opacity-5 rounded-l-lg mr-1",isSearchable:!0,instanceId:"toSell",styles:{option:(e,a)=>{let{isFocused:l}=a;return{...e,backgroundColor:l?g?"rgba(94,94,94,1)":"rgba(189,189,189,1)":"",cursor:"pointer"}},control:e=>({...e,backgroundColor:g?"rgba(74,74,74,1)":"rgba(254,254,254,1)",border:"none",minWidth:"100%"}),menu:e=>({...e,backgroundColor:g?"rgba(74,74,74,1)":"rgba(254,254,254,1)"})},options:y,components:{Option:N,SingleValue:C},onChange:e=>{j(e)},value:f,maxMenuHeight:150}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:["Total"!=f.label&&(0,t.jsx)(s.Fragment,{children:(0,t.jsx)("div",{className:"min-w-[100%]",children:(0,t.jsxs)("p",{className:"inline",children:[l&&(0,d.OH)(l[null==l?void 0:l.findIndex(e=>e.exchange_name==f.label)].volume,!0)," ",e]})})}),"Total"==f.label&&(0,t.jsxs)(s.Fragment,{children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)("p",{className:"inline",children:l?k?(0,t.jsxs)(t.Fragment,{children:[(0,r.Z)(a),(0,d.OH)(l[null==l?void 0:l.findIndex(e=>"total_usd_quote"==e.exchange_name)].volume*(void 0!=m?m["".concat((0,o.lowerCase)(a))]:1),!0)]}):"".concat((0,d.OH)(l[null==l?void 0:l.findIndex(e=>"total"==e.exchange_name)].volume,!0)," ").concat(e):""})}),(0,t.jsx)("button",{id:"convertToPrice",onClick:()=>{v(!k)},children:(0,t.jsx)("svg",{className:"w-5 h-5 fill-Gray700",alt:"convert",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37 37",children:(0,t.jsx)("path",{d:"M24,5.5A18.5,18.5,0,1,0,42.5,24,18.5,18.5,0,0,0,24,5.5ZM13,15.83c0-.65.29-.93.93-.94H25.38v-.37c0-.69,0-1.38,0-2.07a1,1,0,0,1,.58-1h.34c.18.11.38.2.55.32l7.69,5.61a.83.83,0,0,1,.43.57.82.82,0,0,1-.41.85l-5.65,4.12-2.22,1.62a.79.79,0,0,1-1,0,.85.85,0,0,1-.29-.73V21.2H14c-.67,0-1-.28-1-.94ZM35,32.14c0,.7-.27,1-1,1H22.61v1.37c0,.4,0,.8,0,1.21a.8.8,0,0,1-1.36.67l-4.91-3.58-2.88-2.1a.8.8,0,0,1,0-1.45l7.8-5.68c.53-.39,1.13-.25,1.3.3a1.2,1.2,0,0,1,0,.38v2.58H34c.71,0,1,.26,1,1Z",transform:"translate(-5.5 -5.5)"})})}),(0,t.jsx)(i.u,{className:"bg-[#999999]",anchorSelect:"#convertToPrice",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:k?"Show Volume":"Show USD Volume"})]})]})]})]})}},3091:function(e,a,l){l(5893)},9662:function(e,a,l){l.d(a,{Z:function(){return o}});var t=l(5893),r=l(7294);l(1664);var s=l(8745),n=l(6486),c=l(5514),i=l(794);function o(){let{currencyMultiplication:e,price:a,coin:l,currentCurrency:o,roundSize:d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[h,x]=(0,r.useState)(),[u,g]=(0,r.useState)(!1),[m,b]=(0,r.useState)(1);i.Z.config({ROUNDING_MODE:i.Z.ROUND_HALF_UP});let p=a=>a>.9?(0,c.uf)(a*(void 0!=e?e["".concat((0,n.lowerCase)(o))]:1),"IRR"==o?0:d,!0):(0,c.uf)((0,c.co)(a*(void 0!=e?e["".concat((0,n.lowerCase)(o))]:1)),"IRR"==o?0:d,!0);(0,r.useEffect)(()=>{var l,t=new i.Z(Number(a));x(p(null===(l=new i.Z(Number(m)).times(t.times(void 0!=e?e["".concat((0,n.lowerCase)(o))]:1)))||void 0===l?void 0:l.toString()))},[o,a]);let f=l=>{b(l.target.value);var t=new i.Z(Number(a)),r=new i.Z(Number(l.target.value));x(()=>{var a;p(null===(a=r.times(t.times(void 0!=e?e["".concat((0,n.lowerCase)(o))]:1)))||void 0===a?void 0:a.toString())})},j=e=>{x(e.target.value);var l=new i.Z(Number(a)),t=new i.Z(Number(e.target.value));b(()=>{var e;p(null===(e=t.dividedBy(l))||void 0===e?void 0:e.toString())})};return(0,t.jsxs)("div",{className:"w-12/12 xl:w-3/12 p-3 mx-1 xl:mx-4 my-2 xl:my-12 border border-light-label-black/10 dark:border-dark-label-black/10 drop-shadow-md rounded-lg h-fit",children:[(0,t.jsxs)("div",{className:" dark:bg-light-background-White/80 bg-dark-background-gray900/50 rounded-3xl p-2",children:[(0,t.jsxs)("span",{className:"flex gap-4 "+(u?"hidden":"false"),children:[(0,t.jsx)("span",{className:"font-semibold text-base lg:text-lg text-light-label-black dark:text-dark-label-black bg-light-background-White/80 dark:bg-dark-background-gray900/10 rounded-lg px-3 py-1",children:l}),(0,t.jsx)("input",{className:"w-full rounded-md bg-transparent dark:text-light-label-black text-dark-label-black border-0 focus:ring-0",value:m,onChange:e=>{f(e)},type:"number",min:"0"})]}),(0,t.jsxs)("span",{className:"flex gap-4 "+(u?"false":"hidden"),children:[(0,t.jsxs)("span",{className:"font-semibold text-base lg:text-lg text-light-label-black dark:text-dark-label-black bg-light-background-White/80 dark:bg-dark-background-gray900/10 rounded-lg px-3 py-1",children:[" ",(0,s.Z)(o)]}),(0,t.jsx)("input",{className:"w-full rounded-md bg-transparent dark:text-light-label-black text-dark-label-black border-0 focus:ring-0",value:h,onChange:e=>{j(e)},type:"number",min:"0"})]})]}),(0,t.jsx)("button",{className:"block dark:bg-light-background-White bg-dark-background-gray900 rounded-3xl p-2 w-fit shadow-xl -mt-5 ml-auto mr-5",onClick:()=>{g(!u)},children:(0,t.jsx)("svg",{className:" block stroke-dark-action-Primary",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M16,12v2.5h6L14.5,22,7,14.5h5V9h5.5L10,2,2,9H8v2.5",transform:"translate(-2 -2)",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsxs)("div",{className:"w-full p-3 my-2",children:[(0,t.jsxs)("span",{className:"flex gap-4 "+(u?"hidden":"false"),children:[(0,t.jsx)("div",{className:"text-light-label-black font-light dark:text-dark-label-black",children:(0,s.Z)(o)}),(0,t.jsx)("input",{type:"number",min:"0",value:h,className:" text-light-label-black dark:text-dark-label-black font-bold bg-transparent border-0 w-full focus:ring-0",onChange:e=>{j(e)}})]}),(0,t.jsxs)("span",{className:"flex gap-4 "+(u?"false":"hidden"),children:[(0,t.jsx)("div",{className:"text-light-label-black font-light dark:text-dark-label-black",children:l}),(0,t.jsx)("input",{type:"number",min:"0",value:m,className:" text-light-label-black dark:text-dark-label-black font-bold bg-transparent border-0 w-full focus:ring-0",onChange:e=>{f(e)}})]})]}),(0,t.jsx)("a",{href:"/my/convert",className:"block text-center py-2 w-full my-1 rounded-md bg-dark-action-Primary hover:bg-dark-action-Primary/50 text-light-label-black",children:"Convert"})]})}},6819:function(e,a,l){l.d(a,{Z:function(){return c}});var t=l(5893),r=l(7294),s=l(2978),n=l(3346);function c(e){let{setCurrentCurrency:a,currentCurrency:l,currencyMultiplication:c,setCurrencyMultiplication:i}=e,o=(0,s.F)(n.II),[d,h]=(0,r.useState)(!1),x=()=>{d||fetch("".concat(o,"/v1/public/currency/fiatRates"),{method:"GET",headers:{"Content-Type":"application/json","Accept-Language":"en-EN"}}).then(e=>e.json()).then(e=>{i({usd:1,...null==e?void 0:e.data}),h(!0)}).catch(e=>{console.error("There was an error!",e),h(!1)})};return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("p",{className:"hidden xl:block ",children:"Currency: "}),(0,t.jsxs)("select",{className:"py-0 rounded-md h-fit w-fit border border-dark-label-Gray700/20 bg-light-background-White dark:bg-dark-background-gray900",value:l,onCh
1ange:e=>{a?(a(e.target.value),x()):console.log(typeof a)},children:[(0,t.jsx)("option",{value:"USD",children:"$ USD"}),(0,t.jsx)("option",{value:"Eur",children:"⬠Euro"}),(0,t.jsx)("option",{value:"GBP",children:"\xa3 GBP"}),(0,t.jsx)("option",{value:"CAD",children:"$ CAD"}),(0,t.jsx)("option",{value:"AUD",children:"$ AUD"}),(0,t.jsx)("option",{value:"JPY",children:"\xa5 JPY"}),(0,t.jsx)("option",{value:"CHF",children:"CHF CHF"}),(0,t.jsx)("option",{value:"RUB",children:"â½ RUB"}),(0,t.jsx)("option",{value:"CNY",children:"å
CNY"}),(0,t.jsx)("option",{value:"IRR",children:"ï·¼ IRR"}),(0,t.jsx)("option",{value:"INR",children:"â¹ INR"})]})]})}},7122:function(e,a,l){l.d(a,{Z:function(){return o}});var t=l(5893),r=l(7294),s=l(9145);l(5237);var n=l(3253),c=l.n(n),i=l(617);function o(){let{coin:e,isLogin:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[l,n]=(0,r.useState)(!1),[o,d]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let a=JSON.parse(localStorage.getItem("favoriteCoins"));(null==a?void 0:a.find(a=>a==e))&&n(!0)},[]);let h=()=>{if(a){let l=JSON.parse(localStorage.getItem("favoriteCoins"));null!=l?(l.push(e),localStorage.setItem("favoriteCoins",JSON.stringify(l)),n(!0)):(localStorage.setItem("favoriteCoins",JSON.stringify([e])),n(!0))}else d(!0)},x=()=>{if(a){let l=JSON.parse(localStorage.getItem("favoriteCoins"));localStorage.setItem("favoriteCoins",JSON.stringify(l.filter(a=>a!=e))),n(!1)}else d(!0)};return(0,t.jsxs)(r.Fragment,{children:[!l&&(0,t.jsxs)("button",{id:"fav",onClick:h,className:" p-2 border border-dark-label-Gray700/20 rounded-md ",children:[(0,t.jsx)("span",{children:(0,t.jsx)("svg",{className:"w-6 stroke-light-label-Gray700 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 481.64 458.06",children:(0,t.jsx)("path",{fill:"none",strokeMiterlimit:"10",strokeWidth:"17",d:"M240.77 19.22l68.8 139.4 153.8 22.3-111.3 108.5 26.3 153.1-137.6-72.3-137.5 72.3 26.3-153.1-111.3-108.5 153.8-22.3 68.7-139.4z"})})}),(0,t.jsx)(s.u,{className:"bg-[#999999]",anchorSelect:"#fav",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Favorite"})]}),l&&(0,t.jsxs)("button",{"data-tip":!0,"data-for":"fav",onClick:x,className:" p-2 border border-dark-label-Gray700/20 rounded-md ",children:[(0,t.jsx)("img",{src:"/images/FavCoinActive.svg",width:24,alt:"FavCoinActive"}),(0,t.jsx)(s.u,{className:"bg-[#999999]",anchorSelect:"#fav",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Favorite"})]}),(0,t.jsx)(c(),{isOpen:o,contentLabel:"Login To Continue",onRequestClose:()=>d(!1),className:" w-full lg:w-1/3 mx-auto mt-10 lg:mt-40 outline-none",overlayClassName:"bg-dark-label-Gray700 bg-opacity-80 w-screen h-screen fixed top-0 left-0 right-0 bottom-0 z-100",closeTimeoutMS:500,children:(0,t.jsx)(i.Z,{setModalVisible:d,modalVisible:o,afterLogin:"reload"})})]})}c().setAppElement("body")},931:function(e,a,l){l.d(a,{Z:function(){return d}});var t=l(5893),r=l(7294),s=l(5514),n=l(2978),c=l(6458),i=l(3346),o=l(9145);function d(){let{coin:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,a=(0,n.F)(i.II),[l,d]=(0,r.useState)("spot"),[h,x]=(0,r.useState)(null),[u,g]=(0,r.useState)(!1),[m,b]=(0,r.useState)(1),[p,f]=(0,r.useState)(25),[j,k]=(0,r.useState)(null),[v,y]=(0,r.useState)("hour"),[w,N]=(0,r.useState)(),[C,S]=(0,r.useState)([]),A=(e,l,t,r,s,n)=>{null!=e&&null!=l&&null!=t&&null!=r&&null!=s&&(g(!0),fetch("".concat(a,"/v1/public/historical/prices?page=").concat(e,"&type=").concat(l,"&per_page=").concat(t,"&coin=").concat(r,"&interval=").concat(s).concat(null!=n?"&symbol=".concat(n):""),{method:"GET",headers:{"Content-Type":"application/json","Accept-Language":"en-EN"}}).then(e=>e.json()).then(a=>{if("200"==a.code&&"successful"==a.code_message){var l,r,s,n;x(null==a?void 0:null===(l=a.data)||void 0===l?void 0:l.history.data.map((a,l)=>({...a,itemIndex:l+1+(e-1)*t}))),k(null==a?void 0:null===(r=a.data)||void 0===r?void 0:r.history.links),S(null==a?void 0:null===(s=a.data)||void 0===s?void 0:s.symbols),N(null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.current_symbol),g(!1)}}).catch(e=>{console.error("There was an error with Sentiment!",e),"TypeError: Failed to fetch"==e&&(console.log("TypeError: Failed to fetch"),g(!1))}))};return(0,r.useEffect)(()=>{A(m,l,p,e,v,w)},[m,l,p,e,v,w]),(0,t.jsxs)("div",{className:"py-8 min-h-[400px]",children:[(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-4 flex-col lg:flex-row ",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"pl-4",children:"Market Type:"}),(0,t.jsxs)("div",{className:"bg-light-background-White/80 dark:bg-dark-background-gray900 flex justify-between w-fit gap-2 rounded-md p-2 m-2 ",children:[(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("spot"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{d("spot")},children:"Spot"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("perpetual"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{d("perpetual")},disabled:!0,children:"Perpetual"}),(0,t.jsx)(o.u,{className:"bg-[#999999]",anchorSelect:"#Perpetual",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Coming soon"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("futures"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{d("futures")},disabled:!0,children:"Futures"}),(0,t.jsx)(o.u,{className:"bg-[#999999]",anchorSelect:"#Futures",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Coming soon"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"pl-4",children:"Time Interval:"}),(0,t.jsxs)("div",{className:"bg-light-background-White/80 dark:bg-dark-background-gray900 flex justify-between w-fit gap-2 rounded-md p-2 m-2 ",children:[(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("second"==v?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{y("second")},children:"Second"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("minute"==v?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{y("minute")},children:"Minute"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("hour"==v?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{y("hour")},children:"Hour"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("day"==v?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{y("day")},children:"Day"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"pl-4",children:"Symbol:"}),(0,t.jsx)("select",{className:"bg-light-background-White/80 dark:bg-dark-background-gray900 w-[calc(100%+1rem)] rounded-md p-2 m-2 ",value:w,onChange:e=>{N(e.target.value)},children:null!=C&&C.length>0&&C.map(e=>(0,t.jsx)("option",{value:e,children:e},e))})]})]}),(0,t.jsx)("div",{className:"mt-8 rounded-md overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full max-w-[80%] mx-auto text-[14px] text-center ",children:[(0,t.jsx)("thead",{className:" h-16 bg-[#8f8f8f]/25",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:" ",children:"Symbol"}),(0,t.jsx)("th",{className:"",children:"Price"}),(0,t.jsx)("th",{className:"",children:"24h High"}),(0,t.jsx)("th",{className:"",children:"24h Low"}),(0,t.jsx)("th",{className:"",children:"Date"}),(0,t.jsx)("th",{className:"",children:"Time"})]})}),u&&(0,t.jsx)("tbody",{className:"text-right",children:(0,t.jsx)("tr",{children:(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(c.Z,{})})})})}),(0,t.jsx)("tbody",{className:"",children:!u&&null!=h&&h.map(e=>(0,t.jsxs)("tr",{className:"h-14 border-b border-[#8f8f8f]/40 hover:bg-light-menu/50",children:[(0,t.jsx)("td",{className:"",children:(0,t.jsx)("p",{className:"px-4",children:e.symbol})}),(0,t.jsx)("td",{className:"",children:(0,t.jsxs)("p",{className:"px-4",children:["$",(0,s.OH)(Number(e.price))]})}),(0,t.jsx)("td",{className:"",children:(0,t.jsxs)("p",{className:"px-4",children:["$",(0,s.OH)(Number(e.high24h))]})}),(0,t.jsx)("td",{className:"",children:(0,t.jsxs)("p",{className:"px-4",children:["$",(0,s.OH)(Number(e.low24h))]})}),(0,t.jsx)("td",{className:"",children:(0,t.jsx)("p",{className:"px-4 text-center",children:e.time.split(" ")[0]})}),(0,t.jsx)("td",{className:"",children:(0,t.jsxs)("p",{className:"px-4",children:[" ",e.time.split(" ")[1]]})})]},e.itemIndex))})]})})]}),null!==j&&j.length>0&&(0,t.jsx)("ul",{className:"list-none flex flex-wrap justify-center gap-4 mt-8 items-center",children:j.map((e,a)=>{let l=e.label;switch(l){case"« Previous":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full rotate-180 drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{b(Number(m)-1)},disabled:null===e.url})},a);case"Next »":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{b(Number(m)+1)},disabled:null===e.url})},a);case"...":return(0,t.jsxs)("li",{className:"p-2 w-6 h-6",children:[" ",e.label]},a);default:return(0,t.jsx)("li",{className:"rounded-full drop-shadow-lg text-center w-7 h-7 "+(e.active?" cursor-default border ":"bg-light-background-Gray900 cursor-pointer"),onClick:()=>{e.active||b(e.label)},children:e.label},a)}})})]})}l(5237)},2475:function(e,a,l){l.d(a,{Z:function(){return r}});var t=l(5893);function r(){let{setVisible:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return(0,t.jsxs)("div",{className:"w-[99%] rounded-lg m-0 xl:m-4 mb-0 border border-[#e7c685] bg-[#e7c685]/25 flex items-start xl:items-center gap-2",children:[(0,t.jsx)("div",{className:"hidden md:block border-r-2 border-[#e7c685] ",children:(0,t.jsxs)("svg",{className:"w-[70px] h-[70px] p-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37 37",children:[(0,t.jsx)("path",{d:"M42.5,22.92v2.16l-.09.75a18.27,18.27,0,0,1-4,9.53A18.54,18.54,0,0,1,27,42.22c-.65.12-1.3.19-2,.28H23l-.28,0A19.87,19.87,0,0,1,14.44,40a.71.71,0,0,0-.5,0L9.46,41.46l-3,1H5.5v-.94c0-.11.1-.21.14-.32.79-2.36,1.57-4.72,2.37-7.08a.84.84,0,0,0-.07-.74,18.09,18.09,0,0,1-2.1-5.91c-.14-.83-.23-1.67-.34-2.5V22.92l.09-.75a18.13,18.13,0,0,1,3.55-9,18.58,18.58,0,0,1,11.78-7.4c.66-.13,1.33-.2,2-.29h2.16l.75.09a18.23,18.23,0,0,1,9.64,4.06A18.51,18.51,0,0,1,42.22,21C42.34,21.61,42.41,22.26,42.5,22.92ZM7.37,40.62l.4-.12c2-.67,4-1.32,6-2a1.47,1.47,0,0,1,1.23.12,27.25,27.25,0,0,0,3.21,1.46,17,17,0,0,0,19.35-5.89,16.16,16.16,0,0,0,2.92-14.47,16.79,16.79,0,0,0-7-9.82,16.2,16.2,0,0,0-12-2.74,16.68,16.68,0,0,0-9.33,4.74A16.58,16.58,0,0,0,7,23.23,17.37,17.37,0,0,0,9.38,33a1.32,1.32,0,0,1,.12,1.19C8.79,36.34,8.09,38.45,7.37,40.62Z",transform:"translate(-5.5 -5.5)",fill:"#e7c685"}),(0,t.jsx)("path",{d:"M27.54,30.51h-.65V21.28c0-.61-.27-.89-.84-.89-1.86,0-3.71,0-5.57,0a.73.73,0,0,0-.81.8c0,.91,0,1.81,0,2.71a.74.74,0,0,0,.84.82c.19,0,.38,0,.58,0V30.5h-.63a.73.73,0,0,0-.79.79c0,.91,0,1.83,0,2.75a.73.73,0,0,0,.79.79h7.08a.73.73,0,0,0,.79-.8c0-.91,0-1.83,0-2.74A.73.73,0,0,0,27.54,30.51Zm-.67,2.86H21.14V32c.2,0,.41,0,.62,0a.74.74,0,0,0,.79-.8q0-3.54,0-7.08a.74.74,0,0,0-.79-.79c-.2,0-.4,0-.63,0V21.85h4.32v9c0,.89.19,1.09,1.07,1.09h.35Z",transform:"translate(-5.5 -5.5)",fill:"#e7c685"}),(0,t.jsx)("path",{d:"M24,18.94a2.89,2.89,0,1,1,2.87-2.89A2.92,2.92,0,0,1,24,18.94Zm1.42-2.87A1.44,1.44,0,1,0,24,17.49,1.44,1.44,0,0,0,25.44,16.07Z",transform:"translate(-5.5 -5.5)",fill:"#e7c685"})]})}),(0,t.jsxs)("div",{className:"flex gap-2 items-start ",children:[(0,t.jsx)("p",{className:"text-xs xl:text-base pl-4 pr-0 md:pr-4 py-4 text-ju
1stify",children:"infoBox Here Mamad infoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here MamadinfoBox Here Mamad"}),(0,t.jsx)("button",{onClick:()=>{e(!1)},className:"p-4",children:(0,t.jsx)("svg",{className:"w-[24px] h-[24px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 41.01 41",children:(0,t.jsx)("path",{d:"M24,44.5A20.5,20.5,0,1,1,44.51,24,20.55,20.55,0,0,1,24,44.5Zm-.07-23.07a3.61,3.61,0,0,0-.32-.44l-4.81-4.81a1.85,1.85,0,0,0-1.82-.6,1.75,1.75,0,0,0-1.38,1.3,1.79,1.79,0,0,0,.51,1.88L21,23.67c.11.11.21.22.32.35-.77.78-1.52,1.51-2.26,2.25-1,1-2,2-3,3a1.86,1.86,0,1,0,2.7,2.56L23.65,27l.35-.33.34.32,3.8,3.8c.4.4.79.82,1.21,1.2a1.85,1.85,0,0,0,3.09-1,1.88,1.88,0,0,0-.62-1.78L27,24.34c-.1-.11-.2-.23-.35-.38.23-.21.44-.38.62-.56,1.55-1.55,3.1-3.08,4.63-4.64a1.86,1.86,0,1,0-2.64-2.62c-1.05,1-2.08,2.08-3.12,3.12Z",transform:"translate(-3.49 -3.5)",fill:"#e7c685"})})})]})]})}},5275:function(e,a,l){l.d(a,{Z:function(){return o}});var t=l(5893),r=l(7294),s=l(2978),n=l(6458),c=l(9145);l(5237);var i=l(3346);function o(){let{coin:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,a=(0,s.F)(i.II),[l,o]=(0,r.useState)("spot"),[d,h]=(0,r.useState)(null),[x,u]=(0,r.useState)(!1),[g,m]=(0,r.useState)(!1),[b,p]=(0,r.useState)(1),[f,j]=(0,r.useState)(25),[k,v]=(0,r.useState)(null),y=(e,l,t,r)=>{u(!0),fetch("".concat(a,"/v1/public/currency/marketPairs/latest?coin=").concat(e,"&type=").concat(l,"&per_page=").concat(t,"&page=").concat(r),{method:"GET",headers:{"Content-Type":"application/json","Accept-Language":"en-EN"}}).then(e=>e.json()).then(e=>{if("200"==e.code&&"successful"==e.code_message){var a,l;h(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.market_pairs.data.map((e,a)=>({...e,itemIndex:a+1+(r-1)*t}))),v(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.market_pairs.links),u(!1)}}).catch(e=>{console.error("There was an error with Sentiment!",e),"TypeError: Failed to fetch"==e&&(console.log("TypeError: Failed to fetch"),u(!1))})};return(0,r.useEffect)(()=>{y(e,l,f,b)},[]),(0,r.useEffect)(()=>{y(e,l,f,b)},[l,f,b]),(0,t.jsxs)("div",{className:"py-8 min-h-[400px]",children:[(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("p",{children:"Available trading markets on Orading are listed below, based on exchanges supported by Orading:"}),(0,t.jsxs)("div",{className:"bg-light-background-White/80 dark:bg-dark-background-gray900 flex justify-between w-fit gap-2 rounded-md p-2 m-2 ",children:[(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("spot"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),onClick:()=>{o("spot")},children:"Spot"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("perpetual"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),id:"Perpetual",children:"Perpetual"}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#Perpetual",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Coming soon"}),(0,t.jsx)("button",{className:"px-2 py-1 rounded-md text-[13px] "+("futures"==l?"dark:bg-light-background-White/80 bg-dark-background-gray900/50 text-light-background-White/80 dark:text-dark-background-gray900":"bg-light-background-White/80 dark:bg-dark-background-gray900 dark:text-light-background-White/80 text-dark-background-gray900"),id:"Futures",children:"Futures"}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#Futures",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Coming soon"})]}),(0,t.jsx)("div",{className:"border border-[#8f8f8f]/50 mt-8 rounded-md overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-[14px] text-center",children:[(0,t.jsx)("thead",{className:" h-16 border border-[#8f8f8f]/30 bg-[#8f8f8f]/25",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"#"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"Source"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30 ",children:"Pairs"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"Price"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"24Vol High"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"24Vol Low"}),(0,t.jsxs)("th",{className:"border border-[#8f8f8f]/30",children:["Volume",(0,t.jsxs)("span",{className:"ml-2",children:[(0,t.jsx)("button",{id:"quoteOrBase",onClick:()=>{m(!g)},children:(0,t.jsx)("svg",{className:"w-5 h-5 fill-Gray700",alt:"quoteOrBase",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37 37",children:(0,t.jsx)("path",{d:"M24,5.5A18.5,18.5,0,1,0,42.5,24,18.5,18.5,0,0,0,24,5.5ZM13,15.83c0-.65.29-.93.93-.94H25.38v-.37c0-.69,0-1.38,0-2.07a1,1,0,0,1,.58-1h.34c.18.11.38.2.55.32l7.69,5.61a.83.83,0,0,1,.43.57.82.82,0,0,1-.41.85l-5.65,4.12-2.22,1.62a.79.79,0,0,1-1,0,.85.85,0,0,1-.29-.73V21.2H14c-.67,0-1-.28-1-.94ZM35,32.14c0,.7-.27,1-1,1H22.61v1.37c0,.4,0,.8,0,1.21a.8.8,0,0,1-1.36.67l-4.91-3.58-2.88-2.1a.8.8,0,0,1,0-1.45l7.8-5.68c.53-.39,1.13-.25,1.3.3a1.2,1.2,0,0,1,0,.38v2.58H34c.71,0,1,.26,1,1Z",transform:"translate(-5.5 -5.5)"})})}),(0,t.jsx)(c.u,{className:"bg-[#999999]",anchorSelect:"#quoteOrBase",place:"top",type:"info",effect:"float","aria-haspopup":"true",content:g?"Show Quote":"Show Base"})]})]}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"Time"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/30",children:"Trade"})]})}),x&&(0,t.jsx)("tbody",{className:"text-right",children:(0,t.jsx)("tr",{children:(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(n.Z,{})})})})}),(0,t.jsx)("tbody",{className:"",children:!x&&null!=d&&d.map(a=>(0,t.jsxs)("tr",{className:"h-14 hover:bg-light-menu/50",children:[(0,t.jsx)("td",{className:"border border-[#8f8f8f]/30",children:a.itemIndex}),(0,t.jsxs)("td",{className:"pl-2 border border-[#8f8f8f]/30",children:[(0,t.jsx)("img",{src:a.exch
1ange_image_url,alt:e,loading:"lazy",onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null},className:"inline mr-2 w-6 h-6"}),null==a?void 0:a.exchange_name," "]}),(0,t.jsx)("td",{className:"border border-[#8f8f8f]/30",children:(0,t.jsx)("a",{href:"../my/".concat(a.orading_market_url),target:"_blank",className:"text-dark-action-Secondary",children:a.market_pair})}),(0,t.jsxs)("td",{className:"border border-[#8f8f8f]/30",children:[" $",a.price," "]}),(0,t.jsxs)("td",{className:"border border-[#8f8f8f]/30",children:[" $",a.h24high," "]}),(0,t.jsxs)("td",{className:"border border-[#8f8f8f]/30",children:[" $",a.h24low," "]}),(0,t.jsx)("td",{className:"border border-[#8f8f8f]/30",children:g?"".concat(a.volume_base," ").concat(a.base):"".concat(a.volume_quote," ").concat(a.quote)}),(0,t.jsx)("td",{className:"border border-[#8f8f8f]/30 ",children:(0,t.jsxs)("p",{className:"w-40",children:[new Date(a.last_updated).getFullYear(),"-",new Date(a.last_updated).getMonth(),"-",new Date(a.last_updated).getDay()," ",new Date(a.last_updated).getHours(),":",new Date(a.last_updated).getMinutes(),":",new Date(a.last_updated).getSeconds()]})}),(0,t.jsxs)("td",{className:"text-center border border-[#8f8f8f]/30",children:[" ",(0,t.jsxs)("a",{href:"../my/".concat(a.orading_market_url),target:"_blank",className:"rounded-md text-light-background-White bg-[#01a7a7]/80 hover:bg-dark-action-Secondary py-2 px-1 mx-auto font-bold block w-36 ",children:[(0,t.jsxs)("svg",{className:"inline w-4 h-4 fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 43",children:[(0,t.jsx)("path",{d:"M6.81,6.79V41.16h34.4v-17a2.15,2.15,0,0,1,4.27-.43c0,.17,0,.34,0,.5q0,9.43,0,18.85a2.09,2.09,0,0,1-.94,2,3.15,3.15,0,0,1-1.47.38c-5.48,0-11,0-16.43,0H4.94a2.07,2.07,0,0,1-2-.9,3.2,3.2,0,0,1-.42-1.51c0-5.94,0-11.89,0-17.84q0-10.17,0-20.36a2.1,2.1,0,0,1,.89-2A2.59,2.59,0,0,1,4.7,2.52c6.42,0,12.83,0,19.25,0a2.09,2.09,0,0,1,2.19,2.13A2.1,2.1,0,0,1,24,6.78H6.81Z",transform:"translate(-2.5 -2.5)"}),(0,t.jsx)("path",{d:"M38.15,6.79H32.73a2.14,2.14,0,1,1,0-4.28h8.91c.61,0,1.21,0,1.82,0a2,2,0,0,1,2,2c0,3.64,0,7.28,0,10.93v0a2.13,2.13,0,0,1-2.12,2,2.09,2.09,0,0,1-2.14-2c0-1.66,0-3.32,0-5V9.85c-.23.22-.37.35-.5.49q-7.5,7.49-15,15a2.28,2.28,0,0,1-2,.8A2,2,0,0,1,22,24.78a2,2,0,0,1,.35-2.13,4,4,0,0,1,.45-.47q7.44-7.45,14.89-14.89Z",transform:"translate(-2.5 -2.5)"})]})," Trade "]})]})]},a.itemIndex))})]})})]}),null!==k&&k.length>0&&(0,t.jsx)("ul",{className:"list-none flex flex-wrap justify-center gap-4 mt-8 items-center",children:k.map((e,a)=>{let l=e.label;switch(l){case"« Previous":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full rotate-180 drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{p(Number(b)-1)},disabled:null===e.url})},a);case"Next »":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{p(Number(b)+1)},disabled:null===e.url})},a);case"...":return(0,t.jsxs)("li",{className:"p-2 w-6 h-6",children:[" ",e.label]},a);default:return(0,t.jsx)("li",{className:"rounded-full drop-shadow-lg text-center w-7 h-7 "+(e.active?" cursor-default border ":"bg-light-background-Gray900 cursor-pointer"),onClick:()=>{e.active||p(e.label)},children:e.label},a)}})})]})}},3276:function(e,a,l){l.d(a,{Z:function(){return x}});var t=l(5893),r=l(7294),s=l(3253),n=l.n(s),c=l(617),i=l(2978),o=l(6458),d=l(3346),h=l(8738);function x(){let{coin_name:e,bullish_bearish:a,coin:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,s=(0,i.F)(d.II),[x,u]=(0,r.useState)(null),[g,m]=(0,r.useState)(!1),[b,p]=(0,r.useState)(!1),[f,j]=(0,r.useState)(!1),[k,v]=(0,r.useState)(!1);(0,r.useEffect)(()=>{y()},[]);let y=()=>{(0,h.nh)().then(e=>{e&&N(e,l,null)})},w=(e,a,l)=>{fetch("".concat(s,"/v1/sentiment/bullishAndBearish"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e),"Accept-Language":"en-EN"},body:JSON.stringify({type:l,coin:a})}).then(e=>e.json()).then(e=>{"200"==e.code&&"successful"==e.code_message&&(j(!0),v(!1))})},N=(e,a,l)=>{v(!0),fetch("".concat(s,"/v1/sentiment/bullishAndBearish/").concat(a,"/check"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e),"Accept-Language":"en-EN"}}).then(e=>e.json()).then(t=>{if("200"==t.code&&"successful"==t.code_message){var r;p(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.vote),t.data.vote||null==l?v(!1):w(e,a,l)}})},C=e=>{v(!0),null!=x?N(x.access_token.token,l,e):(m(!0),v(!1))};return(0,r.useEffect)(()=>{let e=document.getElementsByClassName("TotalIndicator"),l=document.getElementsByClassName("indicatorFlag");
1if(20<(null==a?void 0:a.bearish)<80)for(let t of e)t.style.background="linear-gradient(0deg, rgba(234,57,67,1) ".concat((null==a?void 0:a.bearish)-10,"%, rgba(22,199,132,1) ").concat((null==a?void 0:a.bearish)+10,"%)"),t.style.background="-moz-linear-gradient(0deg, rgba(234,57,67,1) ".concat((null==a?void 0:a.bearish)-10,"%, rgba(22,199,132,1) ").concat((null==a?void 0:a.bearish)+10,"%)"),t.style.background="-webkit-linear-gradient(0deg, rgba(234,57,67,1) ".concat((null==a?void 0:a.bearish)-10,"%, rgba(22,199,132,1) ").concat((null==a?void 0:a.bearish)+10,"%)");else for(let r of e)r.style.background="linear-gradient(0deg, rgba(234,57,67,1) ".concat(null==a?void 0:a.bearish,"%, rgba(22,199,132,1) 100%)"),r.style.background="-moz-linear-gradient(0deg, rgba(234,57,67,1) ".concat(null==a?void 0:a.bearish,"%, rgba(22,199,132,1) 100%)"),r.style.background="-webkit-linear-gradient(0deg, rgba(234,57,67,1) ".concat(null==a?void 0:a.bearish,"%, rgba(22,199,132,1) 100%)");for(let s of l)s.style.left="".concat((null==a?void 0:a.bearish)-2,"%")},[a]),(0,t.jsxs)("div",{className:"py-6 px-6 mx-0 xl:mx-4 bg-light-background-White drop-shadow-lg rounded-2xl h-fit dark:bg-dark-background-gray900",children:[(0,t.jsxs)("h5",{className:"font-semibold text-lg pb-4",children:["How do you feel about ",(0,t.jsx)("span",{className:"font-bold",children:e})," today?"]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-black dark:fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.58 28.35",children:(0,t.jsx)("path",{d:"M47.29,17.92c-.2.56-.43,1.11-.59,1.68a1.07,1.07,0,0,1-.94.86c-.85.1-1.71.19-2.57.25a2.46,2.46,0,0,0-1.62.56,1.19,1.19,0,0,1-.73.21c-.91,0-1.81,0-2.7,0,.15.88.34,1.73.44,2.59s.1,1.55.15,2.33a1,1,0,0,0,.16.52,34.09,34.09,0,0,1,2.83,4.85c.32.6.67,1.17,1,1.74a1,1,0,0,0,1,.51,2,2,0,0,1,.65.06.63.63,0,0,1,.49.65.65.65,0,0,1-.49.7,1.91,1.91,0,0,1-.48.06c-1.37,0-2.75,0-4.13,0a1.84,1.84,0,0,1-.92-.31c-.52-.33-1-.72-1.49-1.09a11.65,11.65,0,0,0-2.19-1.36,7.56,7.56,0,0,1-3.6-4c-.16-.34-.29-.7-.45-1.1-.33.19-.65.36-.95.56a.47.47,0,0,0-.14.3L29.48,34h.62c.51,0,.82.3.83.72a.72.72,0,0,1-.81.74c-1.36,0-2.72,0-4.09,0a2,2,0,0,1-2-2,4.41,4.41,0,0,0-.64-2.75,5.88,5.88,0,0,1-.41-1c-.73,1.46-3,5.48-3.7,7h1.05a3.62,3.62,0,0,1,.57,0,.73.73,0,0,1,.68.73.72.72,0,0,1-.7.71,30,30,0,0,1-3.91,0,5.8,5.8,0,0,1-2-.93.85.85,0,0,1-.27-.65,5.24,5.24,0,0,0-1.26-3.34c-.28-.37-.54-.77-.79-1.12-.83.6-1.62,1.25-2.48,1.79a12.57,12.57,0,0,1-4.61,1.87.47.47,0,0,0-.29.32,2.47,2.47,0,0,0,0,.61l.27.09a.68.68,0,0,1,.49.71.63.63,0,0,1-.59.66,24.67,24.67,0,0,1-2.58,0,.88.88,0,0,1-.56-.48c-.54-1.26-1-2.53-1.53-3.79A.77.77,0,0,1,.94,33l.12-.13A5.86,5.86,0,0,0,3,29.67,55.69,55.69,0,0,1,7,20.2a30.41,30.41,0,0,1,2.2-3.33A6,6,0,0,1,12.33,15a18.85,18.85,0,0,1,6.45-1,18.65,18.65,0,0,1,2.22.26c3.28-1.72,4.16-2.63,5.4-3.2A10.38,10.38,0,0,1,29.53,10a4,4,0,0,1,3,.73,2.9,2.9,0,0,0,3.31.36l.29-.1a6.45,6.45,0,0,0,1.95-.79,1.8,1.8,0,0,1,2.63.62,1.55,1.55,0,0,0,.47.36c.85.54,1.75,1,2.54,1.62a3.78,3.78,0,0,1,1.44,2.73.93.93,0,0,0,.31.57c.33.28.72.49,1.08.75s.47.38.7.58Z",transform:"translate(-0.71 -9.82)"})}),(0,t.jsx)("span",{className:"text-[#EA3943] px-2",children:null==a?void 0:a.bearish})]}),(0,t.jsx)("span",{children:"/"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"text-[#16C784] px-2",children:null==a?void 0:a.bullish}),(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-black dark:fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.9 31.76",children:(0,t.jsx)("path",{d:"M46.45,19.09c-.12.75-.18,1.51-.37,2.24a8.88,8.88,0,0,1-.76,2,2.17,2.17,0,0,1-2.94,1.05c-.44-.17-.86-.41-1.28-.6l-.83,2.79c.73.42,1.51.87,2.28,1.35a1.05,1.05,0,0,1,.42.55,11,11,0,0,0,1.12,2.73,12.1,12.1,0,0,1,1.83,5.92,14.72,14.72,0,0,1-.28,2.46c0,.12-.19.3-.29.3-1.24,0-2.48,0-3.74,0a2.16,2.16,0,0,1,.89-1.67c.64-.54.65-.54.39-1.34a9.65,9.65,0,0,0-2.24-4A5.7,5.7,0,0,0,39.43,32a.74.74,0,0,0-1.2.35A5.12,5.12,0,0,0,37.78,34a1.12,1.12,0,0,1-.59,1,12.06,12.06,0,0,1-2.11.81,29.22,29.22,0,0,1-3.06.53c-1.31.18-1.64.64-1.28,1.91,0,0,0,.06,0,.11H26.82a2.83,2.83,0,0,1,.63-1.88,5.6,5.6,0,0,1,2.45-1.63,12.92,12.92,0,0,0,2.31-1.11,3,3,0,0,0,1.32
1-2.45,1,1,0,0,0-.17-.65,16.13,16.13,0,0,0-6.51-4.76,11.06,11.06,0,0,0-4.37-.75.58.58,0,0,0-.56.32,11.74,11.74,0,0,1-5.82,5,2.24,2.24,0,0,1-.46.14,1.35,1.35,0,0,0-1.23,1.72c0,.21.08.42.12.65l-.28,0H10.8a3,3,0,0,1,.69-2.37,8.35,8.35,0,0,1,3-2.25c.34-.18.7-.33,1-.49-.59,0-1.18,0-1.77,0-.83,0-1.66-.07-2.49-.14a.65.65,0,0,0-.64.26,2.82,2.82,0,0,0-.54,1.8,1.77,1.77,0,0,1-.29-.07c-1-.33-2-.68-2.95-1a.43.43,0,0,1-.34-.55,1.82,1.82,0,0,1,1-1.34,12.59,12.59,0,0,1,3.23-1.05,12,12,0,0,0,1.89-.54,1.51,1.51,0,0,0,.76-2.47,9.16,9.16,0,0,0-1.05-1.28,1,1,0,0,0-1.7.59,17,17,0,0,1-.41,2c-.27.83-.61,1-1.48.9a4.67,4.67,0,0,1-1.37-.39A.76.76,0,0,1,7,24a3.1,3.1,0,0,0-.51-2,3.72,3.72,0,0,1-.44-1.09c-.08-.29-.24-.35-.51-.33a3.68,3.68,0,0,0-2.08.94c-.68.55-1.32,1.15-1.91,1.66a3.3,3.3,0,0,1,.38-1.65A8.09,8.09,0,0,1,3,19.91,14.83,14.83,0,0,1,4.6,18.63a10.85,10.85,0,0,0-2.53.17,12.44,12.44,0,0,1,1.17-1.13,5.3,5.3,0,0,1,3.29-1A.49.49,0,0,0,7,16.35a18.27,18.27,0,0,1,1.2-1.93A19.81,19.81,0,0,1,12.34,10a8.9,8.9,0,0,1,9.83-.7,18.78,18.78,0,0,1,5.51,4.32,12.17,12.17,0,0,0,7.09,4.05,14.55,14.55,0,0,1,3.28.72,4.49,4.49,0,0,1,3,3.72,1,1,0,0,0,.35.56,6.93,6.93,0,0,0,1.08.66,1.7,1.7,0,0,0,2.63-1.14,8.37,8.37,0,0,0,.31-1.8,2.67,2.67,0,0,1,.5-1.5c.18-.24.35-.49.52-.73Z",transform:"translate(-1.55 -8.12)"})})]})]}),(0,t.jsxs)("div",{className:"relative min-h-[3rem]",children:[(0,t.jsx)("div",{className:"TotalIndicator h-3 rounded-md mt-2"}),(0,t.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",className:"indicatorFlag absolute fill-black dark:fill-White inline mr-4",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M7 0L13.0622 10.5H0.937822L7 0Z"})})]})]}),k?(0,t.jsx)(o.Z,{}):(0,t.jsx)(r.Fragment,{children:f?(0,t.jsx)("p",{className:"text-center",children:" Thanks, your vote has been submitted. "}):(0,t.jsx)(r.Fragment,{children:k?(0,t.jsx)(o.Z,{}):(0,t.jsx)(r.Fragment,{children:b?(0,t.jsx)("p",{className:"text-center",children:" You already have voted today. Try again tomorrow."}):(0,t.jsxs)("div",{className:"flex items-center gap-4 ",children:[(0,t.jsxs)("button",{className:"w-[50%] h-8 border border-Notification text-center rounded-lg relative group hover:drop-shadow-md BearishBtn ",onClick:()=>{C("bearish")},children:[(0,t.jsx)("div",{className:"z-1 absolute px-4 py-1 w-full",children:(0,t.jsxs)("span",{className:"flex gap-2 items-center justify-center",children:[(0,t.jsxs)("svg",{className:"h-5 w-5 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42.18 40.24",children:[(0,t.jsx)("path",{d:"M2.91,25.25a8.48,8.48,0,0,1,.52-1.41,15.07,15.07,0,0,1,1.16-1.49,4.13,4.13,0,0,1-.73-3,4.26,4.26,0,0,1,1.68-2.79,4.27,4.27,0,0,1-.78-3.15,4.19,4.19,0,0,1,1.68-2.75,4.35,4.35,0,0,1-.81-2.23A4.19,4.19,0,0,1,9.82,3.91c1.12,0,2.25,0,3.37,0,2.7,0,5.39.06,8.08,0A22.78,22.78,0,0,1,31,5.66c.79.34,1.61.61,2.49.94V4.75H45.09V30.8H33.46V27.28l-.22.18c-2.73,3.06-5.45,6.11-8.19,9.15a2.38,2.38,0,0,0-.65,1.82c.06,1.22,0,2.44,0,3.67a1.84,1.84,0,0,1-2.17,2,7.45,7.45,0,0,1-7-7.44,16.7,16.7,0,0,1,1-5.26c.13-.45.26-.89.4-1.39h-.53c-2.86,0-5.72-.05-8.58,0A4.35,4.35,0,0,1,3,26.47l0-.06Zm19,16.33V41.1c0-1.19,0-2.39,0-3.59a2.15,2.15,0,0,1,.45-1.41c.63-.81,1.22-1.64,1.9-2.39,3-3.29,5.95-6.55,8.92-9.83a1,1,0,0,0,.25-.6q0-6.83,0-13.65a.48.48,0,0,0-.38-.53q-2.22-.81-4.43-1.65a16.45,16.45,0,0,0-5.84-1.07H10a2.66,2.66,0,0,0-.69.08,1.71,1.71,0,0,0,0,3.3l.39.09V12.3H9a1.71,1.71,0,0,0-.37,3.4c.09,0,.23.11.23.17,0,.76,0,1.53,0,2.3-.43,0-.8,0-1.16.07a1.68,1.68,0,0,0-1.4,2.09,1.74,1.74,0,0,0,1.79,1.32v2.47c-.4,0-.77,0-1.14,0A1.7,1.7,0,0,0,5.4,25.64a1.66,1.66,0,0,0,1.14,1.79,2.94,2.94,0,0,0,.89.12H19.9c0,.18-.07.32-.11.45-.43,1.46-.86,2.92-1.28,4.38a11.9,11.9,0,0,0-.76,4.18,6,6,0,0,0,.66,2.6A4.77,4.77,0,0,0,21.94,41.58ZM42.62,28.34V7.22H36V28.34Z",transform:"translate(-2.91 -3.88)"}),(0,t.jsx)("path",{d:"M21.94,41.58a4.77,4.77,0,0,1-3.53-2.42,6,6,0,0,1-.66-2.6,11.9,11.9,0,0,1,.76-4.18c.42-1.46.85-2.92,1.28-4.38,0-.13.06-.27.11-.45H7.43a2.94,2.94,0,0,1-.89-.12A1.66,1.66,0,0,1,5.4,25.64,1.7,1.7,0,0,1,7,24.12c.37,0,.74,0,1.14,0V21.65a1.74,1.74,0,0,1-1.79-1.32,1.68,1.68,0,0,1,1.4-2.09c.36,0,.73,0,1.16-.07,0-.77,0-1.54,0-2.3,0-.06-.14-.14-.23-.17A1.71,
11.71,0,0,1,9,12.3h.74V9.85l-.39-.09a1.71,1.71,0,0,1,0-3.3A2.66,2.66,0,0,1,10,6.38H22.82a16.45,16.45,0,0,1,5.84,1.07q2.2.84,4.43,1.65a.48.48,0,0,1,.38.53q0,6.82,0,13.65a1,1,0,0,1-.25.6c-3,3.28-6,6.54-8.92,9.83-.68.75-1.27,1.58-1.9,2.39a2.15,2.15,0,0,0-.45,1.41c0,1.2,0,2.4,0,3.59Z",transform:"translate(-2.91 -3.88)",fill:"#b7ae09"}),(0,t.jsx)("path",{d:"M42.62,28.34H36V7.22h6.66Z",transform:"translate(-2.91 -3.88)",fill:"#000a2e"})]}),(0,t.jsx)("span",{className:"font-bold text-xs xl:text-[10px] 2xl:text-base text-center",children:"I'm Bearish"})]})}),(0,t.jsx)("div",{className:"Bearish h-8 w-full bg-Notification/75 rounded-lg group-hover:bg-Notification/20 z-0"})]}),(0,t.jsxs)("button",{className:"w-[50%] h-8 border border-dark-action-Primary text-center rounded-lg relative group hover:drop-shadow-md ",style:{direction:"rtl"},onClick:()=>{C("bullish")},children:[(0,t.jsx)("div",{className:"z-1 absolute px-4 py-1 w-full",children:(0,t.jsxs)("span",{className:"flex gap-2 items-center justify-center",children:[(0,t.jsx)("span",{className:"font-bold text-xs xl:text-[10px] 2xl:text-base text-center",children:" I'm Bullish"}),(0,t.jsxs)("svg",{className:"h-5 w-5 ",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40.89 39",children:[(0,t.jsx)("path",{d:"M44.44,22.78a7,7,0,0,1-.51,1.37,13,13,0,0,1-1.11,1.45,4,4,0,0,1,.7,2.95,4.09,4.09,0,0,1-1.63,2.7,4.11,4.11,0,0,1,.76,3A4.06,4.06,0,0,1,41,37a4.31,4.31,0,0,1,.79,2.16,4.06,4.06,0,0,1-4.06,4.34c-1.09,0-2.18,0-3.28,0-2.61,0-5.22-.06-7.83,0a22,22,0,0,1-9.38-1.72c-.77-.32-1.56-.59-2.41-.91v1.8H3.56V17.4H14.83v3.42a1.7,1.7,0,0,0,.21-.18Q19,16.2,23,11.77A2.27,2.27,0,0,0,23.61,10c-.06-1.18,0-2.37,0-3.55a1.78,1.78,0,0,1,2.1-1.95,7.22,7.22,0,0,1,6.77,7.21,16.31,16.31,0,0,1-.93,5.1c-.13.43-.25.86-.39,1.34h.52c2.77,0,5.54.05,8.31,0A4.24,4.24,0,0,1,44.4,21.6s0,0,0,.07ZM26,7v.47c0,1.16,0,2.32,0,3.48a2.12,2.12,0,0,1-.43,1.38c-.61.77-1.18,1.58-1.84,2.31-2.87,3.19-5.77,6.35-8.65,9.52a1,1,0,0,0-.24.59q0,6.61,0,13.23a.46.46,0,0,0,.37.51c1.43.52,2.87,1.06,4.3,1.6a16.08,16.08,0,0,0,5.66,1H37.53A2.93,2.93,0,0,0,38.2,41a1.64,1.64,0,0,0,1.22-1.63,1.65,1.65,0,0,0-1.25-1.57l-.37-.08V35.34h.71a1.66,1.66,0,0,0,.36-3.3c-.09,0-.22-.1-.22-.16,0-.74,0-1.48,0-2.23.41,0,.77,0,1.12-.07a1.62,1.62,0,0,0,1.35-2,1.69,1.69,0,0,0-1.73-1.29V23.89c.39,0,.75,0,1.11,0a1.65,1.65,0,0,0,.43-3.21,3.07,3.07,0,0,0-.86-.11H28l.1-.43c.41-1.42.83-2.83,1.24-4.25a11.66,11.66,0,0,0,.74-4.05,5.82,5.82,0,0,0-.64-2.53A4.68,4.68,0,0,0,26,7ZM6,19.79V40.26h6.46V19.79Z",transform:"translate(-3.56 -4.5)"}),(0,t.jsx)("path",{d:"M26,7A4.68,4.68,0,0,1,29.42,9.3a5.82,5.82,0,0,1,.64,2.53,11.66,11.66,0,0,1-.74,4.05c-.41,1.42-.83,2.83-1.24,4.25l-.1.43H40.06a3.07,3.07,0,0,1,.86.11,1.65,1.65,0,0,1-.43,3.21c-.36,0-.72,0-1.11,0v2.38a1.69,1.69,0,0,1,1.73,1.29,1.62,1.62,0,0,1-1.35,2c-.35.05-.71.05-1.12.07,0,.75,0,1.49,0,2.23,0,.06.13.14.22.16a1.66,1.66,0,0,1-.36,3.3H37.8v2.38l.37.08a1.65,1.65,0,0,1,1.25,1.57A1.64,1.64,0,0,1,38.2,41a2.93,2.93,0,0,1-.67.08H25.15a16.08,16.08,0,0,1-5.66-1c-1.43-.54-2.87-1.08-4.3-1.6a.46.46,0,0,1-.37-.51q0-6.61,0-13.23a1,1,0,0,1,.24-.59c2.88-3.17,5.78-6.33,8.65-9.52.66-.73,1.23-1.54,1.84-2.31A2.12,2.12,0,0,0,26,10.9c0-1.16,0-2.32,0-3.48Z",transform:"translate(-3.56 -4.5)",fill:"#b7ae09"}),(0,t.jsx)("path",{d:"M6,19.79h6.46V40.26H6Z",transform:"translate(-3.56 -4.5)",fill:"#000a2e"})]})]})}),(0,t.jsx)("div",{className:"Bullish h-8 w-full bg-dark-action-Primary/75 rounded-lg group-hover:bg-dark-action-Primary/20 z-0 "})]})]})})})}),(0,t.jsx)(n(),{isOpen:g,contentLabel:"Login To Continue",onRequestClose:()=>m(!1),className:" w-full lg:w-1/3 mx-auto mt-10 lg:mt-40 outline-none",overlayClassName:"bg-dark-label-Gray700 bg-opacity-80 w-screen h-screen fixed top-0 left-0 right-0 bottom-0 z-100",closeTimeoutMS:500,children:(0,t.jsx)(c.Z,{setModalVisible:m,modalVisible:g,afterLogin:"reload"})})]})}},2090:function(e,a,l){l.d(a,{Z:function(){return i}});var t=l(5893),r=l(7294),s=l(2978),n=l(6458),c=l(3346);function i(){let{coin:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,a=(0,s.F)(c.II),[l,i]=(0,r.useState)(null),[o,d]=(0,r.useState)(null),[h,x]=(0,r.useState)(null);return(0,r.useEffect)(()=>{i(!0),null!=e&&void 0!=e&&fetch("".concat(a,"/v1/public/sentiment/bullishAndBearishHistory/").concat(e),{method:"GET",headers:{"Content-Type":"application/json","Accept-Language":"en-EN"}}).then(e=>e.json()).then(e=>{if((null==e?void 0:e.code)==200&&(null==e?void 0:e.code_message)=="successful"){var a,l;d(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.data),x(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.links)}i(!1)}).catch(e=>{console.error("There was an error!",e),i(!1)})},[e]),(0,t.jsx)("div",{className:"min-h-[400px] mt-10",children:(0,t.jsxs)(r.Fragment,{children:[null!=o&&0==o.length&&(0,t.jsx)("p",{className:"text-center",children:"No data, be the first one to Vote."}),(0,t.jsx)("div",{className:"border border-[#8f8f8f]/80 mt-8 rounded-md w-full lg:w-[70%] mx-auto",children:(0,t.jsxs)("table",{className:"w-full text-[14px] ",children:[(0,t.jsx)("thead",{className:" h-16 border border-[#8f8f8f]/40 bg-[#8f8f8f]/25",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"border border-[#8f8f8f]/40",children:"#"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/40",children:"Date"}),(0,t.jsx)("th",{className:"border border-[#8f8f8f]/40",children:"Bearish%"}),(0,t.jsx)("th",{className:"pr-2 border border-[#8f8f8f]/40 ",children:"Bullish %"}),(0,t.jsx)("th",{className:"pr-2 border border-[#8f8f8f]/40",children:"Daily result"})]})}),l&&(0,t.jsx)("tbody",{className:"text-right",children:(0,t.jsx)("tr",{children:(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)(n.Z,{})})})})}),(0,t.jsx)("tbody",{className:"text-right",children:!l&&null!=o&&o.length>0&&o.map((e,a)=>(0,t.jsxs)("tr",{className:"h-10 hover:bg-light-menu/50",children:[(0,t.jsx)("td",{className:"text-center border border-[#8f8f8f]/40",children:a+1}),(0,t.jsx)("td",{className:"text-center border border-[#8f8f8f]/40",children:null==e?void 0:e.day_date}),(0,t.jsx)("td",{className:"text-center pl-2 border border-[#8f8f8f]/40",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-black dark:fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.58 28.35",children:(0,t.jsx)("path",{d:"M47.29,17.92c-.2.56-.43,1.11-.59,1.68a1.07,1.07,0,0,1-.94.86c-.85.1-1.71.19-2.57.25a2.46,2.46,0,0,0-1.62.56,1.19,1.19,0,0,1-.73.21c-.91,0-1.81,0-2.7,0,.15.88.34,1.73.44,2.59s.1,1.55.15,2.33a1,1,0,0,0,.16.52,34.09,34.09,0,0,1,2.83,4.85c.32.6.67,1.17,1,1.74a1,1,0,0,0,1,.51,2,2,0,0,1,.65.06.63.63,0,0,1,.49.65.65.65,0,0,1-.49.7,1.91,1.91,0,0,1-.48.06c-1.37,0-2.75,0-4.13,0a1.84,1.84,0,0,1-.92-.31c-.52-.33-1-.72-1.49-1.09a11.65,11.65,0,0,0-2.19-1.36,7.56,7.56,0,0,1-3.6-4c-.16-.34-.29-.7-.45-1.1-.33.19-.65.36-.95.56a.47.47,0,0,0-.14.3L29.48,34h.62c.51,0,.82.3.83.72a.72.72,0,0,1-.81.74c-1.36,0-2.72,0-4.09,0a2,2,0,0,1-2-2,4.41,4.41,0,0,0-.64-2.75,5.88,5.88,0,0,1-.41-1c-.73,1.46-3,5.48-3.7,7h1.05a3.62,3.62,0,0,1,.57,0,.73.73,0,0,1,.68.73.72.72,0,0,1-.7.71,30,30,0,0,1-3.91,0,5.8,5.8,0,0,1-2-.93.85.85,0,0,1-.27-.65,5.24,5.24,0,0,0-1.26-3.34c-.28-.37-.54-.77-.79-1.12-.83.6-1.62,1.25-2.48,1.79a12.57,12.57,0,0,1-4.61,1.87.47.47,0,0,0-.29.32,2.47,2.47,0,0,0,0,.61l.27.09a.68.68,0,0,1,.49.71.63.63,0,0,1-.59.66,24.67,24.67,0,0,1-2.58,0,.88.88,0,0,1-.56-.48c-.54-1.26-1-2.53-1.53-3.79A.77.77,0,0,1,.94,33l.12-.13A5.86,5.86,0,0,0,3,29.67,55.69,55.69,0,0,1,7,20.2a30.41,30.41,0,0,1,2.2-3.33A6,6,0,0,1,12.33,15a18.85,18.85,0,0,1,6.45-1,
118.65,18.65,0,0,1,2.22.26c3.28-1.72,4.16-2.63,5.4-3.2A10.38,10.38,0,0,1,29.53,10a4,4,0,0,1,3,.73,2.9,2.9,0,0,0,3.31.36l.29-.1a6.45,6.45,0,0,0,1.95-.79,1.8,1.8,0,0,1,2.63.62,1.55,1.55,0,0,0,.47.36c.85.54,1.75,1,2.54,1.62a3.78,3.78,0,0,1,1.44,2.73.93.93,0,0,0,.31.57c.33.28.72.49,1.08.75s.47.38.7.58Z",transform:"translate(-0.71 -9.82)"})}),(0,t.jsx)("span",{className:"text-[#EA3943] px-2",children:null==e?void 0:e.bearish})]})}),(0,t.jsx)("td",{className:"text-center pr-2 border border-[#8f8f8f]/40",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"text-[#16C784] px-2",children:null==e?void 0:e.bullish}),(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-black dark:fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.9 31.76",children:(0,t.jsx)("path",{d:"M46.45,19.09c-.12.75-.18,1.51-.37,2.24a8.88,8.88,0,0,1-.76,2,2.17,2.17,0,0,1-2.94,1.05c-.44-.17-.86-.41-1.28-.6l-.83,2.79c.73.42,1.51.87,2.28,1.35a1.05,1.05,0,0,1,.42.55,11,11,0,0,0,1.12,2.73,12.1,12.1,0,0,1,1.83,5.92,14.72,14.72,0,0,1-.28,2.46c0,.12-.19.3-.29.3-1.24,0-2.48,0-3.74,0a2.16,2.16,0,0,1,.89-1.67c.64-.54.65-.54.39-1.34a9.65,9.65,0,0,0-2.24-4A5.7,5.7,0,0,0,39.43,32a.74.74,0,0,0-1.2.35A5.12,5.12,0,0,0,37.78,34a1.12,1.12,0,0,1-.59,1,12.06,12.06,0,0,1-2.11.81,29.22,29.22,0,0,1-3.06.53c-1.31.18-1.64.64-1.28,1.91,0,0,0,.06,0,.11H26.82a2.83,2.83,0,0,1,.63-1.88,5.6,5.6,0,0,1,2.45-1.63,12.92,12.92,0,0,0,2.31-1.11,3,3,0,0,0,1.32-2.45,1,1,0,0,0-.17-.65,16.13,16.13,0,0,0-6.51-4.76,11.06,11.06,0,0,0-4.37-.75.58.58,0,0,0-.56.32,11.74,11.74,0,0,1-5.82,5,2.24,2.24,0,0,1-.46.14,1.35,1.35,0,0,0-1.23,1.72c0,.21.08.42.12.65l-.28,0H10.8a3,3,0,0,1,.69-2.37,8.35,8.35,0,0,1,3-2.25c.34-.18.7-.33,1-.49-.59,0-1.18,0-1.77,0-.83,0-1.66-.07-2.49-.14a.65.65,0,0,0-.64.26,2.82,2.82,0,0,0-.54,1.8,1.77,1.77,0,0,1-.29-.07c-1-.33-2-.68-2.95-1a.43.43,0,0,1-.34-.55,1.82,1.82,0,0,1,1-1.34,12.59,12.59,0,0,1,3.23-1.05,12,12,0,0,0,1.89-.54,1.51,1.51,0,0,0,.76-2.47,9.16,9.16,0,0,0-1.05-1.28,1,1,0,0,0-1.7.59,17,17,0,0,1-.41,2c-.27.83-.61,1-1.48.9a4.67,4.67,0,0,1-1.37-.39A.76.76,0,0,1,7,24a3.1,3.1,0,0,0-.51-2,3.72,3.72,0,0,1-.44-1.09c-.08-.29-.24-.35-.51-.33a3.68,3.68,0,0,0-2.08.94c-.68.55-1.32,1.15-1.91,1.66a3.3,3.3,0,0,1,.38-1.65A8.09,8.09,0,0,1,3,19.91,14.83,14.83,0,0,1,4.6,18.63a10.85,10.85,0,0,0-2.53.17,12.44,12.44,0,0,1,1.17-1.13,5.3,5.3,0,0,1,3.29-1A.49.49,0,0,0,7,16.35a18.27,18.27,0,0,1,1.2-1.93A19.81,19.81,0,0,1,12.34,10a8.9,8.9,0,0,1,9.83-.7,18.78,18.78,0,0,1,5.51,4.32,12.17,12.17,0,0,0,7.09,4.05,14.55,14.55,0,0,1,3.28.72,4.49,4.49,0,0,1,3,3.72,1,1,0,0,0,.35.56,6.93,6.93,0,0,0,1.08.66,1.7,1.7,0,0,0,2.63-1.14,8.37,8.37,0,0,0,.31-1.8,2.67,2.67,0,0,1,.5-1.5c.18-.24.35-.49.52-.73Z",transform:"translate(-1.55 -8.12)"})})]})}),(0,t.jsxs)("td",{className:"text-center pr-2 border border-[#8f8f8f]/40",children:[(null==e?void 0:e.bullish)==(null==e?void 0:e.bearish)&&(0,t.jsxs)("span",{children:[(0,t.jsx)("svg",{className:"h-5 w-5 inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.07 29.4",children:(0,t.jsx)("path",{d:"M31.26,38a1.89,1.89,0,0,1-.64-1.48A2.19,2.19,0,0,1,31.26,35L40,26.21H2.67a2.23,2.23,0,0,1-2.2-2.29,2.18,2.18,0,0,1,2.2-2.12H40l-8.73-8.73A2.21,2.21,0,1,1,34.39,10l12.5,12.5a2.21,2.21,0,0,1,0,3.12l-12.5,12.5A2.17,2.17,0,0,1,31.26,38Z",transform:"translate(-0.47 -9.3)"})})," Neutral"]}),(null==e?void 0:e.bullish)>(null==e?void 0:e.bearish)&&e.bullish<=75&&(0,t.jsxs)("span",{children:[(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-[#16C784]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.9 31.76",children:(0,t.jsx)("path",{d:"M46.45,19.09c-.12.75-.18,1.51-.37,2.24a8.88,8.88,0,0,1-.76,2,2.17,2.17,0,0,1-2.94,1.05c-.44-.17-.86-.41-1.28-.6l-.83,2.79c.73.42,1.51.87,2.28,1.35a1.05,1.05,0,0,1,.42.55,11,11,0,0,0,1.12,2.73,12.1,12.1,0,0,1,1.83,5.92,14.72,14.72,0,0,1-.28,2.46c0,.12-.19.3-.29.3-1.24,0-2.48,0-3.74,0a2.16,2.16,0,0,1,.89-1.67c.64-.54.65-.54.39-1.34a9.65,9.65,0,0,0-2.24-4A5.7,5.7,0,0,0,39.43,32a.74.74,0,0,0-1.2.35A5.12,5.12,0,0,0,37.78,34a1.12,1.12,0,0,1-.59,1,12.06,12.06,0,0,1-2.11.81,29.22,29.22,0,0,1-3.06.53c-1.31.18-1.64.64-1.28,1.91,0,0,0,.06,0,.11H26.82a2.83,2.83,0,0,1,.63-1.88,5.6,5.6,0,0,1,2.45-1.63,12.92,12.92,0,0,0,2.31-1.11,3,3,0,0,0,1.32
1-2.45,1,1,0,0,0-.17-.65,16.13,16.13,0,0,0-6.51-4.76,11.06,11.06,0,0,0-4.37-.75.58.58,0,0,0-.56.32,11.74,11.74,0,0,1-5.82,5,2.24,2.24,0,0,1-.46.14,1.35,1.35,0,0,0-1.23,1.72c0,.21.08.42.12.65l-.28,0H10.8a3,3,0,0,1,.69-2.37,8.35,8.35,0,0,1,3-2.25c.34-.18.7-.33,1-.49-.59,0-1.18,0-1.77,0-.83,0-1.66-.07-2.49-.14a.65.65,0,0,0-.64.26,2.82,2.82,0,0,0-.54,1.8,1.77,1.77,0,0,1-.29-.07c-1-.33-2-.68-2.95-1a.43.43,0,0,1-.34-.55,1.82,1.82,0,0,1,1-1.34,12.59,12.59,0,0,1,3.23-1.05,12,12,0,0,0,1.89-.54,1.51,1.51,0,0,0,.76-2.47,9.16,9.16,0,0,0-1.05-1.28,1,1,0,0,0-1.7.59,17,17,0,0,1-.41,2c-.27.83-.61,1-1.48.9a4.67,4.67,0,0,1-1.37-.39A.76.76,0,0,1,7,24a3.1,3.1,0,0,0-.51-2,3.72,3.72,0,0,1-.44-1.09c-.08-.29-.24-.35-.51-.33a3.68,3.68,0,0,0-2.08.94c-.68.55-1.32,1.15-1.91,1.66a3.3,3.3,0,0,1,.38-1.65A8.09,8.09,0,0,1,3,19.91,14.83,14.83,0,0,1,4.6,18.63a10.85,10.85,0,0,0-2.53.17,12.44,12.44,0,0,1,1.17-1.13,5.3,5.3,0,0,1,3.29-1A.49.49,0,0,0,7,16.35a18.27,18.27,0,0,1,1.2-1.93A19.81,19.81,0,0,1,12.34,10a8.9,8.9,0,0,1,9.83-.7,18.78,18.78,0,0,1,5.51,4.32,12.17,12.17,0,0,0,7.09,4.05,14.55,14.55,0,0,1,3.28.72,4.49,4.49,0,0,1,3,3.72,1,1,0,0,0,.35.56,6.93,6.93,0,0,0,1.08.66,1.7,1.7,0,0,0,2.63-1.14,8.37,8.37,0,0,0,.31-1.8,2.67,2.67,0,0,1,.5-1.5c.18-.24.35-.49.52-.73Z",transform:"translate(-1.55 -8.12)"})})," Bullish"]}),(null==e?void 0:e.bullish)>(null==e?void 0:e.bearish)&&e.bullish>75&&(0,t.jsxs)("span",{children:[(0,t.jsx)("svg",{className:"h-7 w-7 inline-block fill-[#16C784]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.9 31.76",children:(0,t.jsx)("path",{d:"M46.45,19.09c-.12.75-.18,1.51-.37,2.24a8.88,8.88,0,0,1-.76,2,2.17,2.17,0,0,1-2.94,1.05c-.44-.17-.86-.41-1.28-.6l-.83,2.79c.73.42,1.51.87,2.28,1.35a1.05,1.05,0,0,1,.42.55,11,11,0,0,0,1.12,2.73,12.1,12.1,0,0,1,1.83,5.92,14.72,14.72,0,0,1-.28,2.46c0,.12-.19.3-.29.3-1.24,0-2.48,0-3.74,0a2.16,2.16,0,0,1,.89-1.67c.64-.54.65-.54.39-1.34a9.65,9.65,0,0,0-2.24-4A5.7,5.7,0,0,0,39.43,32a.74.74,0,0,0-1.2.35A5.12,5.12,0,0,0,37.78,34a1.12,1.12,0,0,1-.59,1,12.06,12.06,0,0,1-2.11.81,29.22,29.22,0,0,1-3.06.53c-1.31.18-1.64.64-1.28,1.91,0,0,0,.06,0,.11H26.82a2.83,2.83,0,0,1,.63-1.88,5.6,5.6,0,0,1,2.45-1.63,12.92,12.92,0,0,0,2.31-1.11,3,3,0,0,0,1.32-2.45,1,1,0,0,0-.17-.65,16.13,16.13,0,0,0-6.51-4.76,11.06,11.06,0,0,0-4.37-.75.58.58,0,0,0-.56.32,11.74,11.74,0,0,1-5.82,5,2.24,2.24,0,0,1-.46.14,1.35,1.35,0,0,0-1.23,1.72c0,.21.08.42.12.65l-.28,0H10.8a3,3,0,0,1,.69-2.37,8.35,8.35,0,0,1,3-2.25c.34-.18.7-.33,1-.49-.59,0-1.18,0-1.77,0-.83,0-1.66-.07-2.49-.14a.65.65,0,0,0-.64.26,2.82,2.82,0,0,0-.54,1.8,1.77,1.77,0,0,1-.29-.07c-1-.33-2-.68-2.95-1a.43.43,0,0,1-.34-.55,1.82,1.82,0,0,1,1-1.34,12.59,12.59,0,0,1,3.23-1.05,12,12,0,0,0,1.89-.54,1.51,1.51,0,0,0,.76-2.47,9.16,9.16,0,0,0-1.05-1.28,1,1,0,0,0-1.7.59,17,17,0,0,1-.41,2c-.27.83-.61,1-1.48.9a4.67,4.67,0,0,1-1.37-.39A.76.76,0,0,1,7,24a3.1,3.1,0,0,0-.51-2,3.72,3.72,0,0,1-.44-1.09c-.08-.29-.24-.35-.51-.33a3.68,3.68,0,0,0-2.08.94c-.68.55-1.32,1.15-1.91,1.66a3.3,3.3,0,0,1,.38-1.65A8.09,8.09,0,0,1,3,19.91,14.83,14.83,0,0,1,4.6,18.63a10.85,10.85,0,0,0-2.53.17,12.44,12.44,0,0,1,1.17-1.13,5.3,5.3,0,0,1,3.29-1A.49.49,0,0,0,7,16.35a18.27,18.27,0,0,1,1.2-1.93A19.81,19.81,0,0,1,12.34,10a8.9,8.9,0,0,1,9.83-.7,18.78,18.78,0,0,1,5.51,4.32,12.17,12.17,0,0,0,7.09,4.05,14.55,14.55,0,0,1,3.28.72,4.49,4.49,0,0,1,3,3.72,1,1,0,0,0,.35.56,6.93,6.93,0,0,0,1.08.66,1.7,1.7,0,0,0,2.63-1.14,8.37,8.37,0,0,0,.31-1.8,2.67,2.67,0,0,1,.5-1.5c.18-.24.35-.49.52-.73Z",transform:"translate(-1.55 -8.12)"})})," Strong bullish"]}),(null==e?void 0:e.bearish)>(null==e?void 0:e.bullish)&&e.bearish<=75&&(0,t.jsxs)("span",{children:[" ",(0,t.jsx)("svg",{className:"h-5 w-5 inline-block fill-[#EA3943]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.58 28.35",children:(0,t.jsx)("path",{d:"M47.29,17.92c-.2.56-.43,1.11-.59,1.68a1.07,1.07,0,0,1-.94.86c-.85.1-1.71.19-2.57.25a2.46,2.46,0,0,0-1.62.56,1.19,1.19,0,0,1-.73.21c-.91,0-1.81,0-2.7,0,.15.88.34,1.73.44,2.59s.1,1.55.15,2.33a1,1,0,0,0,.16.52,34.09,34.09,0,0,1,2.83,4.85c.32.6.67,1.17,1,1.74a1,1,0,0,0,1,.51,2,2,0,0,1,.65.06.63.63,0,0,1,.49.65.65.65,0,0,1-.49.7,1.91,1.91,0,0,1-.48.06c-1.37,0-2.75,0-4.13,0a1.84,1.84,0,0,1-.92-.31c-.52-.33-1-.72-1.49-1.09a11.65,11.65,0,0,0-2.19-1.36,7.56,7.56,0,0,1-3.6-4c-.16-.34-.29-.7-.45-1.1-.33.19-.65.36-.95.56a.47.47,0,0,0-.14.3L29.48,34h.62c.51,0,.82.3.83.72a.72.72,0,0,1-.81.74c-1.36,0-2.72,0-4.09,0a2,2,0,0,1-2-2,4.41,4.41,0,0,0-.64-2.75,5.88,5.88,0,0,1-.41-1c-.73,1.46-3,5.48-3.7,7h1.05a3.62,3.62,0,0,1,.57,0,.73.73,0,0,1,.68.73.72.72,0,0,1-.7.71,30,30,0,0,1-3.91,0,5.8,5.8,0,0,1-2-.93.85.85,0,0,1-.27-.65,5.24,5.24,0,0,0-1.26-3.34c-.28-.37-.54-.77-.79-1.12-.83.6-1.62,1.25-2.48,1.79a12.57,12.57,0,0,1-4.61,1.87.47.47,0,0,0-.29.32,2.47,2.47,0,0,0,0,.61l.27.09a.68.68,0,0,1,.49.71.63.63,0,0,1-.59.66,24.67,24.67,0,0,1-2.58,0,.88.88,0,0,1-.56-.48c-.54-1.26-1-2.53-1.53-3.79A.77.77,0,0,1,.94,33l.12-.13A5.86,5.86,0,0,0,3,29.67,55.69,55.69,0,0,1,7,20.2a30.41,30.41,0,0,1,2.2-3.33A6,6,0,0,1,12.33,15a18.85,18.85,0,0,1,6.45-1,
118.65,18.65,0,0,1,2.22.26c3.28-1.72,4.16-2.63,5.4-3.2A10.38,10.38,0,0,1,29.53,10a4,4,0,0,1,3,.73,2.9,2.9,0,0,0,3.31.36l.29-.1a6.45,6.45,0,0,0,1.95-.79,1.8,1.8,0,0,1,2.63.62,1.55,1.55,0,0,0,.47.36c.85.54,1.75,1,2.54,1.62a3.78,3.78,0,0,1,1.44,2.73.93.93,0,0,0,.31.57c.33.28.72.49,1.08.75s.47.38.7.58Z",transform:"translate(-0.71 -9.82)"})})," Bearish"]}),(null==e?void 0:e.bearish)>(null==e?void 0:e.bullish)&&e.bearish>75&&(0,t.jsxs)("span",{children:[" ",(0,t.jsx)("svg",{className:"h-7 w-7 inline-block fill-[#EA3943]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.58 28.35",children:(0,t.jsx)("path",{d:"M47.29,17.92c-.2.56-.43,1.11-.59,1.68a1.07,1.07,0,0,1-.94.86c-.85.1-1.71.19-2.57.25a2.46,2.46,0,0,0-1.62.56,1.19,1.19,0,0,1-.73.21c-.91,0-1.81,0-2.7,0,.15.88.34,1.73.44,2.59s.1,1.55.15,2.33a1,1,0,0,0,.16.52,34.09,34.09,0,0,1,2.83,4.85c.32.6.67,1.17,1,1.74a1,1,0,0,0,1,.51,2,2,0,0,1,.65.06.63.63,0,0,1,.49.65.65.65,0,0,1-.49.7,1.91,1.91,0,0,1-.48.06c-1.37,0-2.75,0-4.13,0a1.84,1.84,0,0,1-.92-.31c-.52-.33-1-.72-1.49-1.09a11.65,11.65,0,0,0-2.19-1.36,7.56,7.56,0,0,1-3.6-4c-.16-.34-.29-.7-.45-1.1-.33.19-.65.36-.95.56a.47.47,0,0,0-.14.3L29.48,34h.62c.51,0,.82.3.83.72a.72.72,0,0,1-.81.74c-1.36,0-2.72,0-4.09,0a2,2,0,0,1-2-2,4.41,4.41,0,0,0-.64-2.75,5.88,5.88,0,0,1-.41-1c-.73,1.46-3,5.48-3.7,7h1.05a3.62,3.62,0,0,1,.57,0,.73.73,0,0,1,.68.73.72.72,0,0,1-.7.71,30,30,0,0,1-3.91,0,5.8,5.8,0,0,1-2-.93.85.85,0,0,1-.27-.65,5.24,5.24,0,0,0-1.26-3.34c-.28-.37-.54-.77-.79-1.12-.83.6-1.62,1.25-2.48,1.79a12.57,12.57,0,0,1-4.61,1.87.47.47,0,0,0-.29.32,2.47,2.47,0,0,0,0,.61l.27.09a.68.68,0,0,1,.49.71.63.63,0,0,1-.59.66,24.67,24.67,0,0,1-2.58,0,.88.88,0,0,1-.56-.48c-.54-1.26-1-2.53-1.53-3.79A.77.77,0,0,1,.94,33l.12-.13A5.86,5.86,0,0,0,3,29.67,55.69,55.69,0,0,1,7,20.2a30.41,30.41,0,0,1,2.2-3.33A6,6,0,0,1,12.33,15a18.85,18.85,0,0,1,6.45-1,18.65,18.65,0,0,1,2.22.26c3.28-1.72,4.16-2.63,5.4-3.2A10.38,10.38,0,0,1,29.53,10a4,4,0,0,1,3,.73,2.9,2.9,0,0,0,3.31.36l.29-.1a6.45,6.45,0,0,0,1.95-.79,1.8,1.8,0,0,1,2.63.62,1.55,1.55,0,0,0,.47.36c.85.54,1.75,1,2.54,1.62a3.78,3.78,0,0,1,1.44,2.73.93.93,0,0,0,.31.57c.33.28.72.49,1.08.75s.47.38.7.58Z",transform:"translate(-0.71 -9.82)"})}),"Strong bearish"]})]})]},null==e?void 0:e.day_date))})]})}),null!=o&&o.length>0&&null!==h&&h.length>0&&(0,t.jsx)("ul",{className:"list-none flex justify-center gap-4 mt-4 items-center",children:h.map((e,a)=>{let l=e.label;switch(l){case"« Previous":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full rotate-180 drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{setPageNumber(Number(pageNumber)+1)},disabled:null===e.url})},a);case"Next »":return(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"p-2 bg-nextPage dark:bg-nextPage-light rounded-full drop-shadow-lg block bg-center bg-no-repeat w-6 h-6 "+(null===e.url?"opacity-0":"cursor-pointer"),onClick:()=>{setPageNumber(Number(pageNumber)+1)},disabled:null===e.url})},a);case"...":return(0,t.jsxs)("li",{className:"p-2 w-6 h-6",children:[" ",e.label]},a);default:return(0,t.jsx)("li",{className:"rounded-full drop-shadow-lg text-center w-7 h-7 "+(e.active?" cursor-default border ":"bg-light-background-Gray900 cursor-pointer"),onClick:()=>{e.active||setPageNumber(e.label)},children:e.label},a)}})})]})})}},4439:function(e,a,l){l.d(a,{Z:function(){return d}});var t=l(5893),r=l(7294),s=l(8745),n=l(6486),c=l(5514);let i=function(){let{price:e,currencyMultiplication:a,currentCurrency:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return"IRR"==l?(0,t.jsx)("span",{children:(0,c.OH)(e*(void 0!=a?a["".concat((0,n.lowerCase)(l))]:1),!0)}):(0,t.jsx)("span",{children:(0,c.OH)(e*(void 0!=a?a["".concat((0,n.lowerCase)(l))]:1))})},o=function(){let{percentage:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,a=e.split(".");return(0,t.jsxs)("p",{className:"font-light text-dark-action-Secondary",children:[a[0],".",a[1].slice(0,2),"%"]})};function d(){let{currentCurrency:e,topThreeGainers:a,currencyMultiplication:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("h3",{className:"px-8 pt-2 font-bold text-xl",children:[(0,t.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",className:"fill-Primary/80 inline mr-4",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M7 0L13.0622 10.5H0.937822L7 0Z"})}),"Top 3 Gainers:"]}),(0,t.jsx)("div",{className:" my-4 2xl:m-4 px-0 xl:px-4",children:(null==a?void 0:a.length)>0&&a.map(a=>(0,t.jsxs)("div",{className:"flex justify-between text-light-label-black dark:text-dark-label-black items-center hover:bg-dark-label-Gray700/20 p-2 rounded-sm",children:[(0,t.jsx)("a",{href:"../coin/".concat(a.coin_url),className:"text-light-label-black dark:text-dark-label-black",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("img",{src:a.full_name,width:60,height:60,loading:"lazy",alt:a.coin_name,onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null}}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold text-light-label-black dark:text-dark-label-black",children:a.coin_name}),(0,t.jsx)("p",{className:"font-light text-light-label-black dark:text-dark-label-black",children:a.full_name})]})]})}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsxs)("p",{className:"text-light-label-black dark:text-dark-label-black",children:[(0,s.Z)(e),(0,t.jsx)(i,{price:a.last_price,currencyMultiplication:l,currentCurrency:e})]}),(0,t.jsx)(o,{percentage:a.price_change_percent})]})]},a.full_name))})]})}},4470:function(e,a,l){l.d(a,{Z:function(){return d}});var t=l(5893),r=l(7294),s=l(8745),n=l(6486),c=l(5514);let i=function(){let{price:e,currencyMultiplication:a,currentCurrency:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return"IRR"==l?(0,t.jsx)("span",{children:(0,c.OH)(e*(void 0!=a?a["".concat((0,n.lowerCase)(l))]:1),!0)}):(0,t.jsx)("span",{children:(0,c.OH)(e*(void 0!=a?a["".concat((0,n.lowerCase)(l))]:1))})},o=function(){let{percentage:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,a=e.split(".");return(0,t.jsxs)("p",{className:"font-light text-Notification",children:[a[0],".",a[1].slice(0,2),"%"]})};function d(){let{currentCurrency:e,topThreeLosers:a,currencyMultiplication:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props;return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsxs)("h3",{className:"px-8 pt-2 font-bold text-xl",children:[(0,t.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",className:"fill-Notification/80 rotate-180 inline mr-4",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M7 0L13.0622 10.5H0.937822L7 0Z"})}),"Top 3 Losers:"]}),(0,t.jsx)("div",{className:"my-4 2xl:m-4 px-0 xl:px-4",children:(null==a?void 0:a.length)>0&&a.map(a=>(0,t.jsxs)("div",{className:"flex justify-between text-light-label-black dark:text-dark-label-black items-center hover:bg-dark-label-Gray700/20 p-2 rounded-sm",children:[(0,t.jsx)("a",{href:"../coin/".concat(a.coin_url),className:"text-light-label-black dark:text-dark-label-black",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("img",{src:a.full_name,width:60,height:60,loading:"lazy",alt:a.coin_name,onError:e=>{e.target.src="/images/notFoundCoin.png",e.target.onerror=null}}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold text-light-label-black dark:text-dark-label-black",children:a.coin_name}),(0,t.jsx)("p",{className:"font-light text-light-label-black dark:text-dark-label-black",children:a.full_name})]})]})}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsxs)("p",{className:"text-light-label-black dark:text-dark-label-black",children:[(0,s.Z)(e),(0,t.jsx)(i,{price:a.last_price,currencyMultiplication:l,currentCurrency:e})]}),(0,t.jsx)(o,{percentage:a.price_change_percent})]})]},a.full_name))})]})}},9225:function(e,a,l){l.d(a,{Z:function(){return h}});var t=l(5893),r=l(2978),s=l(6458),n=l(7294),c=l(1664),i=l.n(c),o=l(9145);l(5237);var d=l(3346);function h(){let{coin:e,trading_enable:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,{ref:l,isUserMenuExpanded:c,setIsUserMenuExpanded:h}
1=function(e){let[a,l]=(0,n.useState)(e),t=(0,n.useRef)(null),r=e=>{"Escape"===e.key&&l(!1)},s=e=>{t.current&&!t.current.contains(e.target)&&l(!1)};return(0,n.useEffect)(()=>(document.addEventListener("keydown",r,!0),document.addEventListener("click",s,!0),()=>{document.removeEventListener("keydown",r,!0),document.removeEventListener("click",s,!0)})),{ref:t,isUserMenuExpanded:a,setIsUserMenuExpanded:l}}(!1),x=(0,r.F)(d.II),[u,g]=(0,n.useState)(!1),[m,b]=(0,n.useState)(),[p,f]=(0,n.useState)(!1),j=()=>{let a=JSON.parse(localStorage.getItem("exchangeSymbols"));if(a){let l=null==a?void 0:a.data.filter(a=>a.base==e);b(l)}else g(!0),fetch("".concat(x,"/v1/public/exchangeSymbols"),{method:"GET",headers:{"Content-Type":"application/json","Accept-Language":"en-EN"}}).then(e=>e.json()).then(a=>{let l=null==a?void 0:a.data.filter(a=>a.base==e);localStorage.setItem("exchangeSymbols",JSON.stringify({data:null==a?void 0:a.data,date:new Date})),b(l),g(!1)}).catch(e=>{console.error("There was an error!",e),g(!1)})};return(0,t.jsxs)("span",{className:"userMenu-dropdown inline-block relative w-full my-2",children:[(0,t.jsxs)("button",{id:e,className:"block text-center lg:px-2 py-1 w-full my-1 rounded-md bg-dark-action-Primary hover:bg-dark-action-Secondary hover:text-light-background-White ",onClick:()=>{h(!c),j()},disabled:!a,children:["Trade",a?(0,t.jsx)(o.u,{className:"bg-[#999999]",anchorSelect:"#".concat(e),place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Trade"}):(0,t.jsx)(o.u,{className:"bg-[#999999]",anchorSelect:"#".concat(e),place:"top",type:"info",effect:"float","aria-haspopup":"true",content:"Trading is not available on Orading"})]}),(0,t.jsx)("div",{ref:l,className:"userMenu-dropdown-menu absolute right-0 bg-light-background-White dark:bg-light-label-Gray900 min-w-full rounded-sm z-10 w-max "+(c?"block":" hidden"),children:u?(0,t.jsx)(s.Z,{}):(0,t.jsx)("ul",{className:"max-h-[390px] w-full overflow-y-auto",children:(null==m?void 0:m.length)>0&&(null==m?void 0:m.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)(i(),{href:"/my/trade/".concat(e.base,"_").concat(e.quote),className:"block py-1 px-2 text-center text-light-label-black dark:text-dark-label-black hover:bg-opacity-10 hover:bg-dark-label-Gray700",children:[e.base," / ",e.quote]})},a)))})})]})}},4231:function(e,a,l){l(5893),l(7294),l(1664)},617:function(e,a,l){l.d(a,{Z:function(){return c}});var t=l(5893),r=l(7294),s=l(6378),n=l(9379);function c(){let{setModalVisible:e,modalVisible:a,afterLogin:l,source:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:props,[i,o]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:"min-h-56 bg-light-background-White dark:bg-dark-background-gray900 rounded-2xl",children:[(0,t.jsx)("button",{className:"p-5 block ml-auto mr-4",onClick:()=>{e(!1)},children:"\xd7"}),(0,t.jsx)("h1",{className:"font-bold text-xl text-center",children:"You should be logged in first"}),(0,t.jsxs)("div",{className:"px-2 py-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("button",{onClick:()=>{o(!1)},className:"px-12 w-1/2 py-6 font-bold text-lg text-light-label-Gray700 border-solid border-r-2 border-r-light-label-Gray400 "+(i?"opacity-20":"border-light-action-Primary border-solid border-b-4"),children:"Sign in"}),(0,t.jsx)("button",{onClick:()=>{o(!0)},className:"px-12 w-1/2 py-6 font-bold text-lg text-light-label-Gray700 "+(i?"border-light-action-Primary border-solid border-b-4 ":"opacity-20"),children:"Sign up"})]}),i?(0,t.jsx)(n.Z,{}):(0,t.jsx)(s.Z,{afterLogin:l,source:c})]})]})}},3281:function(e,a,l){l.d(a,{Z:function(){return r}});var t=l(5893);function r(){return(0,t.jsxs)("div",{className:" text-center",children:[(0,t.jsx)("img",{src:"../images/internetDC.svg",width:"50%",alt:"internetDC",className:"mx-auto my-2"}),(0,t.jsx)("p",{children:"It seems something get wrong, try again later. "}),(0,t.jsxs)("button",{onClick:()=>{location.reload()},className:"px-3 py-2 text-dark-action-Secondary hover:bg-dark-action-Secondary/50 group hover:text-light-background-White border border-dark-action-Secondary rounded-lg my-4",children:[(0,t.jsxs)("svg",{className:"w-6 h-6 inline mr-3 fill-dark-action-Secondary group-hover:fill-White",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40.09 40.13",children:[(0,t.jsx)("path",{d:"M34.78,7c.83-.83,1.65-1.68,2.49-2.51a1.79,1.79,0,0,1,2.44-.16,1.72,1.72,0,0,1,.68,1.4c0,2.45,
10,4.9,0,7.35a1.74,1.74,0,0,1-1.73,1.76c-2.48,0-4.95,0-7.43,0A1.81,1.81,0,0,1,30,11.8c.56-.6,1.16-1.17,1.74-1.75L32,9.71a15.5,15.5,0,0,0-3.55-1.5,16.4,16.4,0,0,0-20.63,13,23.87,23.87,0,0,0-.25,2.67A1.83,1.83,0,1,1,4,23.83a20,20,0,0,1,30.4-17c.09,0,.17.11.26.15S34.67,7,34.78,7Z",transform:"translate(-3.96 -3.94)"}),(0,t.jsx)("path",{d:"M16,38.25a15.41,15.41,0,0,0,5.59,1.94A16.07,16.07,0,0,0,36,35.12a15.9,15.9,0,0,0,4.39-10.85,2.27,2.27,0,0,1,.39-1.41,1.83,1.83,0,0,1,2-.59A1.8,1.8,0,0,1,44,24.08,17.85,17.85,0,0,1,43.39,29c-2.16,7.46-7,12.34-14.47,14.36a19.22,19.22,0,0,1-15.31-2.26.4.4,0,0,0-.6.08c-.73.75-1.47,1.47-2.2,2.2a1.83,1.83,0,0,1-3.2-1.34c0-2.33,0-4.67,0-7A1.8,1.8,0,0,1,9.54,33.1h7a1.81,1.81,0,0,1,1.84,1.12,1.79,1.79,0,0,1-.52,2.13Z",transform:"translate(-3.96 -3.94)"})]}),"Reload Page"]})]})}},8745:function(e,a,l){l.d(a,{Z:function(){return r},c:function(){return s}});var t=l(5893);function r(e){let a;switch(e){case"USD":case"CAD":case"AUD":a=(0,t.jsx)("span",{children:"$"});break;case"Eur":a=(0,t.jsx)("span",{children:"â¬"});break;case"GBP":a=(0,t.jsx)("span",{children:"\xa3"});break;case"JPY":a=(0,t.jsx)("span",{children:"\xa5"});break;case"CHF":a=(0,t.jsx)("span",{children:"CHF"});break;case"RUB":a=(0,t.jsx)("span",{children:"â½"});break;case"CNY":a=(0,t.jsx)("span",{children:"å
"});break;case"IRR":a=(0,t.jsx)("span",{children:"ï·¼"});break;case"INR":a=(0,t.jsx)("span",{children:"â¹"})}return a}function s(e){let a;switch(e){case"USD":case"Eur":case"GBP":case"CAD":case"AUD":a="en";break;case"JPY":a="ja";break;case"CHF":a="sv_SE";break;case"RUB":a="ru";break;case"CNY":a="zh_CN";break;case"IRR":a="fa_IR";break;case"INR":a="in"}return 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.