PageSourceSearch

https://csmarketcap.com/_nuxt/DZP98mpD.js

js csmarketcap.com collected 2026-09-24 10:17:46 UTC 4,343 bytes, 6 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Fq3ta2ag.js","./Lr0KXYLG.js","./Yo4uLWVr.js","./F-A8tqvQ.js","./entry.BTbwCG15.css","./H9K-j5ha.js","./Cg2TYJA3.js"])))=>i.map(i=>d[i]);
2import{a as M,$ as D,V as E,o as I,b as S,f as y,v as w,k as h,_,A as R}from"./F-A8tqvQ.js";const L={class:"sales-chart"},N=.5,z=M({__name:"ChartRow",props:{data:{}},setup(B){const c=B;let l,t,b;async function A(){t||([l,t,{default:b}]=await Promise.all([_(()=>import("./Fq3ta2ag.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),_(()=>import("./H9K-j5ha.js"),__vite__mapDeps([5,2,1,3,4]),import.meta.url),_(()=>import("./Cg2TYJA3.js"),__vite__mapDeps([6,1]),import.meta.url)]))}const v=D(),F=h(()=>v.currency),g=h(()=>v.rate),m=w(),C=w(null),p=h(()=>{const s=[];if(c.data?.days&&c.data?.days.length>0){for(const e of c.data?.days)if(e){const n=new Date(e.date),o=(+e.total_value/1e3*g.value).toFixed(0),i=Number.parseInt(e.total_count);s.push({date:n,value:o,amount:i})}}else if(c.data?.weeks&&c.data?.weeks.length>0){for(const e of c.data?.weeks)if(e){const n=new Date(e.week_start_date),o=new Date(e.week_end_date),i=(+e.total_value/1e3*g.value).toFixed(0),a=Number.parseInt(e.total_count);s.push({date:n,endDate:o,value:i,amount:a})}}return s});async function T(){if(await A(),!m.value)return;function s(r){r instanceof t.InterfaceColorSet&&(r.setFor("secondaryButton",t.color("#2683ec")),r.setFor("secondaryButtonHover",t.color("#2683ec").lighten(-.2)),r.setFor("secondaryButtonDown",t.color("#2683ec").lighten(-.2)),r.setFor("secondaryButtonActive",t.color("#2683ec").lighten(-.2)),r.setFor("secondaryButtonText",t.color("#000")),r.setFor("secondaryButtonStroke",t.color("#2683ec")),r.setFor("text",t.color("#97A1B5"))),r instanceof t.ColorSet&&(r.list=[t.color("#58E2B0"),t.color("#1e2330")])}t.useTheme(b),t.useTheme(s),t.options.animationsEnabled=!1,setTimeout(()=>{t.options.animationsEnabled=!0},1200);const e=t.create(m.value,l.XYChart);e.data=p.value;const n=e.xAxes.push(new l.DateAxis);n.renderer.grid.template.location=0,n.renderer.grid.template.disabled=!0;const o=e.yAxes.push(new l.ValueAxis);o.renderer.grid.template.location=0,o.renderer.grid.template.strokeWidth=0,o.renderer.grid.template.stroke="#26262C",o.renderer.inside=!0,o.renderer.labels.template.verticalCenter="bottom",o.renderer.grid.template.disabled=!0,o.renderer.labels.template.disabled=!0,o.startLocation=.5,o.endLocation=.5;const i=p.value.map(r=>Number(r.value)).filter(r=>Number.isFinite(r));if(i.length){const r=Math.min(...i),k=Math.max(...i),f=(r+k)/2,x=(Math.max(k-r,Math.abs(f)*N)||1)*1.1;o.min=f-x/2,o.max=f+x/2,o.strictMinMax=!0}n.adapter.add("getTooltipText",()=>"");const a=e.series.push(new l.LineSeries),d=a.bullets.push(new l.CircleBullet);d.circle.radius=4,d.circle.fill=a.stroke,d.circle.strokeWidth=2,d.defaultState.properties.opacity=0;const O=d.states.create("hover");O.properties.opacity=1,d.tooltipText=a.tooltipText,a.fill=t.color("rgba(73, 195, 198, 0.10)"),a.dataFields.valueY="value",a.dataFields.dateX="date",a.zIndex=2,a.tooltipHTML=`<div class="chart-tooltip">
3      <b class="value"><span class="c-${F.value}"></span> {valueY}</b>
4      <b class="amount">{amount}</b>
5      <p class="date">{date}</p>
6    </div>`,a.tooltip.getFillFromObject=!1,a.tooltip.background.fill=t.color("rgba(16, 19, 25, 0.8)"),a.tooltip.background.stroke=t.color("rgba(255,255,255, 0.14)"),a.tooltip.background.propertyFields.stroke="red",a.strokeWidth=1,a.fillOpacity=1,n.tooltip.disabled=!0,o.tooltip.disabled=!0;const u=new t.LinearGradientModifier;u.opacities=[1,0],u.offsets=[0,1],u.gradient.rotation=90,a.segments.template.fillModifier=u,e.cursor=new l.XYCursor,e.zoomOutButton.background.cornerRadius(5,5,5,5),e.zoomOutButton.background.fill=t.color("#303741"),e.zoomOutButton.icon.stroke=t.color("#eee"),e.zoomOutButton.icon.strokeWidth=2,e.zoomOutButton.background.states.getKey("hover").properties.fill=t.color("#606271"),e.zoomOutButton.background.states.getKey("down").properties.fill=t.color("#606271"),C.value=e,e.logo.disabled=!0}return E(p,s=>{s.length&&T()},{immediate:!0}),(s,e)=>(I(),S("div",L,[e[0]||(e[0]=y("div",{id:"rangeselector"},null,-1)),y("div",{ref_key:"chartSales",ref:m,class:"chart"},null,512)]))}}),P=Object.assign(R(z,[["__scopeId","data-v-6fdc2707"]]),{__name:"PagesMainV2StatisticsCh
6artRow"});export{P as default};

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.