1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4787],{3188:(e,t,n)=>{n.d(t,{A:()=>a});var c=n(6314),r=n.n(c)()((function(e){return e[1]}));r.push([e.id,".sector-tags[data-v-795997c8]{float:right}.sector-tags select[data-v-795997c8]{width:auto}",""]);const a=r},3498:(e,t,n)=>{n.d(t,{A:()=>a});var c=n(6314),r=n.n(c)()((function(e){return e[1]}));r.push([e.id,".error-msg[data-v-193c8604]{color:red;font-size:12px}",""]);const a=r},6262:(e,t)=>{t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,c]of t)n[e]=c;return n}},4787:(e,t,n)=>{n.r(t),n.d(t,{default:()=>H});var c=n(9726),r=function(e){return(0,c.Qi)("data-v-795997c8"),e=e(),(0,c.jt)(),e},a={class:"mb-20 c-black"},s={class:"d-inline-block mr-30 mb-10"},o={class:"d-inline-block mr-30 mb-10"},l={class:"d-inline-block mr-30 mb-10"},i={class:"d-inline-block mr-30 mb-10"},u={class:"row mb-30"},d={class:"col-12 col-md-6"},_={class:"button-group"},h=["href"],p=["href"],v=["href"],m=["href"],k=["href"],f={class:"col-12 col-md-6"},b={class:"sector-tags"},y={class:"table-responsive mb-40",id:"table_second"},g={class:"table table--market-cap"},L=["innerHTML"],C=["href"],w=r((function(){return(0,c.Lk)("hr",{class:"mb-60"},null,-1)})),S={class:"text-center"},E=r((function(){return(0,c.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"6",viewBox:"0 0 20 6"},[(0,c.Lk)("path",{fill:"#6C7473","fill-rule":"evenodd",d:"M6 0L1 5 0 6 1.414 6 19.999 6 19.999 5 2.413 5 6 1.415z",transform:"matrix(-1 0 0 1 19.999 0)"})],-1)}));const A={components:{VeeSelect:n(484).A},data:function(){return{coins_loaded:[],coins_offset:25,cryptocurrencies_number:0,market_cap_usd:0,volume_24h_usd:0,bitcoin_dominance_percentage:100,currency:"USD",tags:[]}},mounted:function(){this.currency=this.currency.replace("/",""),document.getElementById("coins_list_"+this.currency).style.display="inline-table",this.get_data()},methods:{attach_currency:function(e){return"USD"==this.currency?"$"+e:"EUR"==this.currency?"â¬"+e:"GBP"==this.currency?"£"+e:"ETH"==this.currency?e+"ETH":"BTC"==this.currency?e+"BTC":"$"+e},load_more_coins:function(){this.coins_loaded.length>this.coins_offset-25?this.display_more():this.get_data()},display_more:function(){this.coins_offset+=25},get_data:function(){var e=this;this.$http.get("/api/coins/"+window.sid+"/"+(parseInt(this.coins_loaded.length)+25)+"?currency="+this.currency).then((function(t){var n,c,r,a,s;e.coins_loaded=e.coins_loaded.concat(null!==(n=t.coins)&&void 0!==n?n:[]),e.cryptocurrencies_number=null!==(c=t.marketdata.cryptocurrencies_number)&&void 0!==c?c:e.cryptocurrencies_number,e.market_cap_usd=null!==(r=t.marketdata.market_cap_usd)&&void 0!==r?r:e.market_cap_usd,e.volume_24h_usd=null!==(a=t.marketdata.volume_24h_usd)&&void 0!==a?a:e.volume_24h_usd,e.bitcoin_dominance_percentage=null!==(s=t.marketdata.bitcoin_dominance_percentage)&&void 0!==s?s:e.bitcoin_dominance_percentage,e.display_more()}))}},created:function(){var e=new URLSearchParams(window.location.search);e.has("currency")&&(this.currency=e.get("currency"),this.currency=this.currency.replace("/",""))},computed:{shown_coins_loaded:function(){return this.coins_loaded.slice(0,this.coins_offset-25)}},props:{loadmore:{default:"Load More"},translations:{default:[]},path:{default:"/coins/"}}};var T=n(5072),M=n.n(T),B=n(3188),U={insert:"head",singleton:!1};M()(B.A,U);B.A.locals;const H=(0,n(6262).A)(A,[["render",function(e,t,n,r,A,T){var M=(0,c.g2)("coin-sector-select");return(0,c.uX)(),(0,c.CE)("div",null,[(0,c.Lk)("div",a,[(0,c.Lk)("div",s,[(0,c.eW)((0,c.v_)(this.translations["coins.coins_cryptocurencies"])+": ",1),(0,c.Lk)("b",null,(0,c.v_)(this.cryptocurrencies_number),1)]),(0,c.Lk)("div",o,[(0,c.eW)((0,c.v_)(this.translations["coins.coins_marketcap"])+": ",1),(0,c.Lk)("b",null,(0,c.v_)(T.attach_currency(e.market_cap_usd.toLocaleString())),1)]),(0,c.Lk)("div",l,[(0,c.eW)((0,c.v_)(this.translations["coins.coins_24vol"])+" ",1),(0,c.Lk)("b",null,(0,c.v_)(T.attach_currency(e.volume_24h_usd.toLocaleString())),1)]),(0,c.Lk)("div",i,[(0,c.eW)((0,c.v_)(this.translations["coins.coins_btcdominance"])+": ",1),(0,c.Lk)("b",null,(0,c.v_)(e.bitcoin_dominance_percentage)+"%",1)])]),(0,c.Lk)("div",u,[(0,c.Lk)("div",d,[(0,c.Lk)("div",_,[(0,c.Lk)("a",{href:n.path,class:(0,c.C4)("USD"==e.currency?"active":"")},"USD",10,h),(0,c.Lk)("a",{href:n.path+"?currency=EUR",class:(0,c.C4)("EUR"==e.currency?"active":"")},"EUR",10,p),(0,c.Lk)("a",{href:n.path+"?currency=GBP",class:(0,c.C4)("GBP"==e.currency?"active":"")},"GBP",10,v),(0,c.Lk)("a",{href:n.path+"?currency=BTC",class:(0,c.C4)("BTC"==e.currency?"active":"")},"BTC",10,m),(0,c.Lk)("a",{href:n.path+"?currency=ETH",class:(0,c.C4)("ETH"==e.currency?"active":"")}
1,"ETH",10,k)])]),(0,c.Lk)("div",f,[(0,c.Lk)("div",b,[(0,c.bF)(M)])])]),(0,c.RG)(e.$slots,"default",{},void 0,!0),(0,c.Lk)("div",y,[(0,c.Lk)("table",g,[(0,c.Lk)("tbody",null,[((0,c.uX)(!0),(0,c.CE)(c.FK,null,(0,c.pI)(this.shown_coins_loaded,(function(e){return(0,c.uX)(),(0,c.CE)("tr",null,[(0,c.Lk)("td",null,(0,c.v_)(e.rank),1),(0,c.Lk)("td",{innerHTML:e.logo},null,8,L),(0,c.Lk)("td",null,[(0,c.Lk)("a",{href:e.gen_url},(0,c.v_)(e.coin_name)+" ("+(0,c.v_)(e.symbol)+")",9,C)]),(0,c.Lk)("td",null,(0,c.v_)(T.attach_currency(Math.round(e.market_cap_usd).toLocaleString())),1),(0,c.Lk)("td",null,(0,c.v_)(T.attach_currency(e.price_usd.toLocaleString())),1),(0,c.Lk)("td",null,(0,c.v_)(T.attach_currency(Math.round(e.volume_24h_usd).toLocaleString())),1),(0,c.Lk)("td",null,[(0,c.eW)((0,c.v_)(Math.round(e.circulating_supply).toLocaleString())+" ",1),(0,c.Lk)("b",null,(0,c.v_)(e.symbol),1)]),(0,c.Lk)("td",{class:(0,c.C4)({deltam:e.percent_change_24h<0,deltap:e.percent_change_24h>0})},(0,c.v_)(e.percent_change_24h)+" % ",3),(0,c.Lk)("td",{class:(0,c.C4)({deltam:e.percent_change_7d<0,deltap:e.percent_change_7d>0})},(0,c.v_)(e.percent_change_7d)+" % ",3)])})),256))])])]),w,(0,c.Lk)("div",S,[(0,c.Lk)("button",{class:"button-more button-more--gradient",onClick:t[0]||(t[0]=function(){return T.load_more_coins&&T.load_more_coins.apply(T,arguments)})},[(0,c.eW)((0,c.v_)(this.loadmore)+" ",1),E])])])}],["__scopeId","data-v-795997c8"]])},484:(e,t,n)=>{n.d(t,{A:()=>h});var c=n(9726),r=["name"],a=["value"],s={class:"error-msg"};var o=n(5261);const l={emits:["update:value"],props:{label:String,name:{type:String,required:!0},rules:{type:[String,Object]},options:Array,placeholder:{type:String,default:""},optionValue:{type:String,default:"value"},optionLabel:{type:String,default:"label"}},data:function(){var e=(0,o.Mt)(this.name,this.rules,{label:this.label}),t=e.errorMessage,n=e.value;return{errorMessage:t,validate:e.validate,value:n}},computed:{labelText:function(){return this.label||(this.name.charAt(0).toUpperCase()+this.name.slice(1)).replace("_"," ")}},watch:{value:function(e){this.validate(),this.$emit("update:value",e)},modelValue:function(e){this.$emit("update:value",e)}}};var i=n(5072),u=n.n(i),d=n(3498),_={insert:"head",singleton:!1};u()(d.A,_);d.A.locals;const h=(0,n(6262).A)(l,[["render",function(e,t,n,o,l,i){return(0,c.uX)(),(0,c.CE)("div",null,[(0,c.bo)((0,c.Lk)("select",{name:n.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return l.value=e})},[((0,c.uX)(!0),(0,c.CE)(c.FK,null,(0,c.pI)(n.options,(function(e,t){return(0,c.uX)(),(0,c.CE)("option",{key:t,value:e[n.optionValue]},(0,c.v_)(e[n.optionLabel]),9,a)})),128))],8,r),[[c.u1,l.value]]),(0,c.Lk)("span",s,(0,c.v_)(l.errorMessage?l.errorMessage.replaceAll("_"," "):""),1)])}],["__scopeId","data-v-193c8604"]])}}]);
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.