PageSourceSearch

https://www.freelancermap.com/build-redesign/client/assets_js_comp…mponents_insights-bar-chart_tsx.072bc682.js

js freelancermap.com collected 2026-10-02 02:28:51 UTC 2,155 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunkflm=self.webpackChunkflm||[]).push([["assets_js_components_data-insights_components_insights-bar-chart_tsx"],{
1"./assets/js/components/data-insights/components/insights-bar-chart.tsx":(function(R,c,o){o.r(c);var d=o("./node_modules/.pnpm/[email protected]/node_modules/react/index.js"),n=o("./node_modules/.pnpm/[email protected]/node_modules/chart.js/dist/chart.js"),p=o("./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-chartjs-2/dist/index.js"),s=o("./assets/js/components/data-insights/components/insights-chart-common.ts"),_=o("./assets/js/components/data-insights/store/use-insights-config.ts");n.t1.register(n.PP,n.kc,n.E8,n.m_,n.s$);const h=s.f6[0],g=48,u=12,b=({series:a,maxYTicks:i},f)=>{const{locale:r}=(0,_.D)(),m=i?(0,s.yC)((0,s.Yu)(a),i):void 0,E={labels:a[0]?.chart.points.map(t=>t.label)??[],datasets:a.map(({chart:t,color:l})=>({label:t.title,data:t.points.map(e=>e.value),backgroundColor:l??h,borderRadius:{topLeft:4,topRight:4,bottomLeft:0,bottomRight:0},borderSkipped:!1,barPercentage:.7,categoryPercentage:a.length>1?.8:1,maxBarThickness:g}))},P={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},border:{display:!1},ticks:{color:s.NS,font:{size:12},autoSkip:!0,autoSkipPadding:u,maxRotation:0,padding:8}},y:{min:0,max:m?.max,grid:{color:s.AL},border:{display:!1},ticks:{color:s.NS,font:{size:12},padding:8,maxTicksLimit:i,stepSize:m?.stepSize,callback:t=>(0,s.bM)(t,r,a[0]?.chart.unit)}}},plugins:{legend:{display:a.length>1,position:"bottom",align:"start",labels:{usePointStyle:!0,pointStyle:"rectRounded",boxWidth:10,boxHeight:10,padding:16,color:"#222222",font:{size:12}}},tooltip:{displayColors:a.length>1,callbacks:{title:()=>null,label:t=>{const l=a[t.datasetIndex]?.chart.unit,e=(0,s.bM)(t.raw,r,l);return a.length>1?`${t.dataset.label}: ${e}`:`${t.label}: ${e}`}}
1,yAlign:"bottom",caretPadding:10,caretSize:3,animation:{duration:0}}}};return d.createElement(p.yP,{ref:f,data:E,options:P,plugins:[s.fV]})};c.default=(0,d.forwardRef)(b)})
1}]);
2
3//# sourceMappingURL=assets_js_components_data-insights_components_insights-bar-chart_tsx.072bc682.js.map

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.