PageSourceSearch

https://valuestreamai.com/_next/static/chunks/common-da9da53d-2d48b119a07676f4.js

js valuestreamai.com collected 2026-10-05 03:45:13 UTC 11,231 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2],{6728:function(a,e,s){s.d(e,{Bw:function(){return formatValue}});function formatValue(a,e){let s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"$";s=a>=1e9?"".concat((a/1e9).toFixed(1),"B"):a>=1e6?"".concat((a/1e6).toFixed(a%1e6==0?0:1),"M"):a>=1e4?"".concat(Math.round(a/1e3),"k"):Number.isInteger(a)?a.toLocaleString():a.toFixed(2);let l=n&&"percent"!==e?" ".concat(n):"";return"".concat("currency"===e?t:"").concat(s).concat("percent"===e?"%":"").concat(l)}},5675:function(a,e,s){s.r(e),s.d(e,{ProgressPeople:function(){return ProgressPeople}});var n=s(7437),t=s(4922),l=s(5108),i=s(505);function ProgressPeople(a){let{rows:e,total:s=20,label:r,title:c,source:o}=a;return(0,n.jsx)(l.VisualFrame,{label:r,title:c,source:o,children:(0,n.jsx)(t.E.div,{className:"vs-ppl",variants:(0,i.nC)(.1,.1),children:e.map(a=>(0,n.jsxs)(t.E.div,{className:"vs-ppl-row",variants:{hidden:{opacity:0,x:-10},show:{opacity:1,x:0,transition:i.ST.soft}},children:[(0,n.jsxs)("div",{className:"vs-ppl-head",children:[(0,n.jsx)("span",{className:"vs-ppl-label",children:a.label}),(0,n.jsxs)("span",{className:"vs-ppl-num",children:[Math.round(a.filled/s*100),"%"]})]}),(0,n.jsx)(t.E.div,{className:"vs-ppl-icons",variants:(0,i.nC)(.018,.05),children:Array.from({length:s},(e,s)=>(0,n.jsx)(t.E.svg,{viewBox:"0 0 24 24",className:"vs-ppl-icon".concat(s<a.filled?" is-on":""),variants:{hidden:{opacity:0,y:6},show:{opacity:1,y:0,transition:i.ST.snap}},children:(0,n.jsx)("path",{d:"M12 12a4.2 4.2 0 1 0 0-8.4 4.2 4.2 0 0 0 0 8.4Zm0 2.1c-4 0-7.4 2.2-7.4 4.9V21h14.8v-2c0-2.7-3.4-4.9-7.4-4.9Z"})},s))}),a.note&&(0,n.jsx)("span",{className:"vs-ppl-note",children:a.note})]},a.label))})})}},5108:function(a,e,s){s.r(e),s.d(e,{AnimatedNumber:function(){return AnimatedNumber},GridLines:function(){return GridLines},VisualFrame:function(){return VisualFrame}});var n=s(7437),t=s(2265),l=s(906),i=s(505);function AnimatedNumber(a){let{to:e,format:s,delay:r=0,className:c}=a,o=(0,t.useRef)(null),d=(0,l.YD)(o,{amount:.2}),u=(0,l.JZ)(),h=(0,l.c$)(0),v=(0,l.q_)(h,{...i.ST.count,restDelta:Math.max(5e-4*Math.abs(e),.001),restSpeed:Math.max(.002*Math.abs(e),.01)}),m=u?h:v,p=Number.isInteger(e),x=(0,l.Hm)(m,a=>s(p?Math.round(a):a));return(0,t.useEffect)(()=>{if(!d){h.set(0);return}if(u){h.set(e);return}let a=setTimeout(()=>h.set(e),1e3*r);return()=>clearTimeout(a)},[d,e,r,h,u]),(0,n.jsx)("span",{ref:o,className:"vs-num ".concat(null!=c?c:"").trim(),"data-value":s(e),children:(0,n.jsx)(l.EA.span,{className:"vs-anim",children:x})})}
1function VisualFrame(a){let{label:e,title:s,source:t,children:r,className:c=""}=a;return(0,n.jsxs)(l.EA.figure,{className:"vs-visual ".concat(c),initial:"hidden",whileInView:"show",viewport:i.m1,variants:{hidden:{opacity:0,y:22},show:{opacity:1,y:0,transition:i.ST.soft}},children:[(0,n.jsx)(l.EA.span,{className:"vs-visual-rule",variants:{hidden:{scaleX:0},show:{scaleX:1,transition:{...i.ST.glide,delay:.1}}}}),(e||s)&&(0,n.jsxs)("figcaption",{className:"vs-visual-head",children:[e&&(0,n.jsx)("span",{className:"vs-visual-label",children:e}),s&&(0,n.jsx)("span",{className:"vs-visual-title",children:s})]}),(0,n.jsx)("div",{className:"vs-visual-body",children:r}),t&&(0,n.jsx)("div",{className:"vs-visual-source",children:t})]})}function GridLines(a){let{count:e=5}=a;return(0,n.jsx)("div",{className:"vs-grid","aria-hidden":!0,children:Array.from({length:e}).map((a,e)=>(0,n.jsx)(l.EA.span,{className:"vs-grid-line",variants:{hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{...i.ST.soft,delay:.12+.05*e}}}},e))})}},7274:function(a,e,s){s.r(e),s.d(e,{DonutChart:function(){return DonutChart},Funnel:function(){return Funnel},Heatmap:function(){return Heatmap},RadarChart:function(){return RadarChart},Treemap:function(){return Treemap}});var n=s(7437),t=s(4922),l=s(2265),i=s(5108),r=s(505);let c=["#3ef58b","#2bc873","#1f9b5b","#5ef9a5","#166f43","#0f452b"],o=2*Math.PI*62;function DonutChart(a){let{slices:e,unit:s="",label:d,title:u,source:h}=a,[v,m]=(0,l.useState)(null),p=e.reduce((a,e)=>a+e.value,0)||1,x=0,f=e.map((a,e)=>{let s=a.value/p,n={...a,frac:s,dash:s*o,offset:-x*o,color:c[e%c.length]};return x+=s,n}),j=null!=v?f[v]:null;return(0,n.jsx)(i.VisualFrame,{label:d,title:u,source:h,children:(0,n.jsxs)("div",{className:"vs-donut",children:[(0,n.jsxs)("div",{className:"vs-donut-ring",onPointerLeave:()=>m(null),children:[(0,n.jsx)(t.E.svg,{viewBox:"0 0 160 160",className:"vs-donut-svg".concat(null!==v?" has-hover":""),role:"img","aria-label":u||"Donut chart",variants:(0,r.nC)(.02,0),initial:"hidden",whileInView:"show",viewport:r.m1,children:(0,n.jsx)("g",{transform:"rotate(-90 80 80)",children:f.map((a,e)=>(0,n.jsx)(t.E.circle,{cx:"80",cy:"80",r:62,fill:"none",stroke:a.color,strokeWidth:v===e?26:20,strokeDasharray:"".concat(a.dash," ").concat(o),variants:{hidden:{strokeDashoffset:o,opacity:0},show:{strokeDashoffset:a.offset,opacity:1,transition:{...r.ST.glide,delay:.1+.1*e}}},onPointerEnter:()=>m(e),className:"vs-donut-arc".concat(v===e?" is-on":"")},a.label))})}),(0,n.jsx)("div",{className:"vs-donut-centre",children:(0,n.jsxs)(t.E.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:r.ST.snap,children:[(0,n.jsx)("div",{className:"vs-donut-centre-num",children:j?"".concat(Math.round(100*j.frac),"%"):(0,n.jsx)(i.AnimatedNumber,{to:p,delay:.3,format:a=>"".concat(s).concat(Math.round(a).toLocaleString())})}),(0,n.jsx)("div",{className:"vs-donut-centre-cap",children:j?j.label:"total"})]},j?j.label:"total")})]}),(0,n.jsx)(t.E.ul,{className:"vs-donut-key".concat(null!==v?" has-hover":""),variants:(0,r.nC)(.07,.35),initial:"hidden",whileInView:"show",viewport:r.m1,onPointerLeave:()=>m(null),children:f.map((a,e)=>(0,n.jsxs)(t.E.li,{variants:{hidden:{opacity:0,x:10},show:{opacity:1,x:0,transition:r.ST.soft}},onPointerEnter:()=>m(e),className:v===e?"is-on":"",children:[(0,n.jsx)("span",{className:"vs-donut-dot",style:{background:a.color}}),(0,n.jsx)("span",{className:"vs-donut-name",children:a.label}),(0,n.jsxs)("span",{className:"vs-donut-num",children:[Math.round(100*a.frac),"%",(0,n.jsxs)("em",{children:[s,a.value.toLocaleString()]})]})]},a.label))})]})})}function RadarChart(a){let{axes:e,series:s,label:c,title:o,source:d}=a,[u,h]=(0,l.useState)(null),v=["#3ef58b","#5b8cff","#ffb03e"],pt=(a,s)=>{let n=2*Math.PI*a/e.length-Math.PI/2;return[150+78*Math.cos(n)*s,128+78*Math.sin(n)*s]},poly=a=>a.map((a,e)=>pt(e,a/100).join(",")).join(" ");return(0,n.jsx)(i.VisualFrame,{label:c,title:o,source:d,children:(0,n.jsxs)("div",{className:"vs-radar",children:[(0,n.jsxs)("svg",{viewBox:"0 0 300 262",className:"vs-radar-svg",role:"img","aria-label":o||"Radar chart",children:[[.25,.5,.75,1].map((a,s)=>(0,n.jsx)(t.E.polygon,{points:e.map((e,s)=>pt(s,a).join(",")).join(" "),fill:"none",stroke:"rgba(62,245,139,0.13)",variants:{hidden:{opacity:0,scale:.85},show:{opacity:1,scale:1,transition:{...r.ST.soft,delay:.05*s}}},style:{transformOrigin:"".concat(150,"px ").concat(128,"px")}},a)),e.map((a,e)=>{let[s,t]=pt(e,1);return(0,n.jsx)("line",{x1:150,y1:128,x2:s,y2:t,stroke:"rgba(62,245,139,0.1)"},e)}),s.map((a,e)=>
1(0,n.jsx)(t.E.polygon,{points:poly(a.values),fill:v[e%v.length],fillOpacity:null!==u&&u!==e?.04:.16,stroke:v[e%v.length],strokeWidth:"2",strokeOpacity:null!==u&&u!==e?.25:1,variants:{hidden:{opacity:0,scale:.4},show:{opacity:1,scale:1,transition:{...r.ST.glide,delay:.2+.12*e}}},style:{transformOrigin:"".concat(150,"px ").concat(128,"px"),transition:"fill-opacity .2s, stroke-opacity .2s"}},a.name)),e.map((a,e)=>{let[s,t]=pt(e,1.26);return(0,n.jsx)("text",{x:s,y:t,className:"vs-radar-axis",textAnchor:"middle",dominantBaseline:"middle",children:a},a)})]}),(0,n.jsx)("div",{className:"vs-legend is-stacked",onPointerLeave:()=>h(null),children:s.map((a,e)=>(0,n.jsxs)("button",{type:"button",className:"vs-legend-item".concat(null!==u&&u!==e?" is-off":""),onPointerEnter:()=>h(e),children:[(0,n.jsx)("i",{style:{background:v[e%v.length]}}),a.name]},a.name))})]})})}function Funnel(a){var e;let{stages:s,label:l,title:c,source:o}=a,d=(null===(e=s[0])||void 0===e?void 0:e.value)||1;return(0,n.jsx)(i.VisualFrame,{label:l,title:c,source:o,children:(0,n.jsx)(t.E.div,{className:"vs-funnel",variants:(0,r.nC)(.11,.1),children:s.map((a,e)=>{let l=a.value/d*100,c=e>0?s[e-1].value:null,o=c?Math.round((c-a.value)/c*100):null;return(0,n.jsxs)(t.E.div,{className:"vs-funnel-stage",variants:{hidden:{opacity:0,y:14},show:{opacity:1,y:0,transition:r.ST.soft}},children:[(0,n.jsxs)(t.E.div,{className:"vs-funnel-bar",variants:{hidden:{width:0,opacity:0},show:{width:"".concat(l,"%"),opacity:1,transition:r.ST.bar}},children:[(0,n.jsx)("span",{className:"vs-funnel-label",children:a.label}),(0,n.jsx)("span",{className:"vs-funnel-num",children:(0,n.jsx)(i.AnimatedNumber,{to:a.value,delay:.2+.11*e,format:a=>Math.round(a).toLocaleString()})})]}),null!==o&&(0,n.jsxs)(t.E.span,{className:"vs-funnel-drop",variants:{hidden:{opacity:0,x:-6},show:{opacity:1,x:0,transition:{...r.ST.soft,delay:.4+.11*e}}},children:["−",o,"%"]})]},a.label)})})})}function Treemap(a){let{cells:e,unit:s="$",label:c,title:o,source:d}=a,[u,h]=(0,l.useState)(null),v=e.reduce((a,e)=>a+e.value,0)||1,m=["#3ef58b","#2bc873","#1f9b5b","#5ef9a5","#166f43","#0f452b"];return(0,n.jsx)(i.VisualFrame,{label:c,title:o,source:d,children:(0,n.jsx)(t.E.div,{className:"vs-tree".concat(null!==u?" has-hover":""),variants:(0,r.nC)(.07,.1),onPointerLeave:()=>h(null),children:e.map((a,e)=>(0,n.jsxs)(t.E.div,{className:"vs-tree-cell".concat(u===e?" is-on":""),style:{flexGrow:a.value,flexBasis:"".concat(Math.max(a.value/v*100,14),"%"),background:m[e%m.length]},variants:{hidden:{opacity:0,scale:.86},show:{opacity:1,scale:1,transition:r.ST.soft}},onPointerEnter:()=>h(e),whileHover:{scale:1.02},children:[(0,n.jsx)("span",{className:"vs-tree-label",children:a.label}),(0,n.jsxs)("span",{className:"vs-tree-num",children:[s,a.value.toLocaleString()]}),(0,n.jsxs)("span",{className:"vs-tree-pct",children:[Math.round(a.value/v*100),"%"]})]},a.label))})})}function Heatmap(a){let{cols:e,rows:s,label:c,title:o,source:d}=a,[u,h]=(0,l.useState)(null),v=Math.max(...s.flatMap(a=>a.values))||1;return(0,n.jsx)(i.VisualFrame,{label:c,title:o,source:d,children:(0,n.jsxs)("div",{className:"vs-heat",onPointerLeave:()=>h(null),children:[(0,n.jsxs)("div",{className:"vs-heat-head",children:[(0,n.jsx)("span",{}),e.map(a=>(0,n.jsx)("span",{className:"vs-heat-col",children:a},a))]}),(0,n.jsx)(t.E.div,{className:"vs-heat-body",variants:(0,r.nC)(.05,.1),children:s.map((a,e)=>(0,n.jsxs)(t.E.div,{className:"vs-heat-row",variants:{hidden:{opacity:0,x:-8},show:{opacity:1,x:0,transition:r.ST.soft}},children:[(0,n.jsx)("span",{className:"vs-heat-rowlabel",children:a.label}),a.values.map((a,s)=>{let l="".concat(e,"-").concat(s);return(0,n.jsx)(t.E.span,{className:"vs-heat-cell".concat(u===l?" is-on":""),style:{background:"rgba(62,245,139,".concat(.08+a/v*.72,")")},variants:{hidden:{opacity:0,scale:.6},show:{opacity:1,scale:1,transition:{...r.ST.snap,delay:.03*s}}},onPointerEnter:()=>h(l),whileHover:{scale:1.09,zIndex:2},children:a},s)})]},a.label))})]})})}}}]);

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.