1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2141],{12141:function(e,t,a){a.r(t),a.d(t,{CostComparisonBarChart:function(){return o}});var r=a(85893),i=a(90243),n=a(67294);function l(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}let o=e=>{let{auPairAnnual:t,nannyAnnual:a}=e,o=15e3*Math.ceil(Math.max(t,a,1)/15e3),c="Bar chart comparing annual childcare cost: Au pair ".concat(l(t),", traditional nanny ").concat(l(a),"."),s=(0,n.useMemo)(()=>({grid:{left:52,right:12,top:16,bottom:28},tooltip:{trigger:"axis",axisPointer:{type:"none"},formatter:e=>{let t=(Array.isArray(e)?e:[e])[0];return(null==t?void 0:t.name)==null||null==t.value?"":"".concat(t.name,"<br/>").concat(l(t.value))}},xAxis:{type:"category",data:["Au Pair","Traditional Nanny"],axisLine:{lineStyle:{color:"#d0d0d0"}},axisTick:{show:!1},axisLabel:{color:"#171717",fontWeight:400,fontSize:11,interval:0,width:100,overflow:"break"}},yAxis:{type:"value",max:o,splitNumber:4,axisLine:{show:!0,lineStyle:{color:"#d0d0d0"}},axisLabel:{color:"#666666",formatter:e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e).replace(".00","")},splitLine:{lineStyle:{color:"#e5e5e5"}}},series:[{type:"bar",barMaxWidth:180,itemStyle:{borderRadius:[8,8,0,0]},emphasis:{disabled:!0},data:[{value:t,itemStyle:{color:"#DAB1FF"}},{value:a,itemStyle:{color:"#DFDFDF"}}]}]}),[t,a,o]);return(0,r.jsx)("div",{className:"my-5 min-h-[220px] w-full",role:"img","aria-label":c,children:(0,r.jsx)(i.Z,{option:s,style:{height:220,width:"100%"},opts:{renderer:"canvas"},notMerge:!0,lazyUpdate:!0})})}}}]);
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.