1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8621],{8621:(e,t,a)=>{a.r(t),a.d(t,{Ngram:()=>d});var i=a(29904),l=a(9960),n=a(5298),s=a(14732),r=a(3038),o=a(98810),c=a(57180);function d(e){let t=(0,s.useTranslations)("wordDetail.ngram"),a={responsive:!0,aspectRatio:3,interaction:{mode:"index",intersect:!1},scales:{x:{type:"linear",title:{display:!1},ticks:{autoSkip:!0,maxTicksLimit:20,callback:function(e){return e.toString().replace(/,/g,"")}},min:1800,max:2019},y:{type:"linear",title:{display:!0,text:"Frequency (per million)",color:"gray",font:{size:(0,o.U)(1080)?8:12}}}},plugins:{colors:{forceOverride:!0},legend:{display:e.dataSource.length>1,labels:{font:{size:14,weight:"bold"},usePointStyle:!0,pointStyle:"circle",padding:24}},tooltip:{position:"nearest",callbacks:{title:function(e){return t("tooltip.title",{year:e[0].parsed.x})},label:function(e){let t=e.dataset.label||"";return"".concat(t,": ").concat(e.parsed.y.toFixed(2))}}}}},{dataSource:l}=e,d=(0,i.useMemo)(()=>({labels:Array(new Date().getFullYear()-1800).fill(0).map((e,t)=>String(1800+t)),datasets:null==l?void 0:l.map(e=>{let{data:t,label:a}=e;return{spanGaps:!0,pointRadius:0,label:a,data:null==t?void 0:t.map((e,t,i)=>({label:i.length>1?a:"",x:1800+t,y:1e6*e}))}})}),[l]);return l&&0!==l.length?(0,c.jsxs)("div",{className:"min-h-unit-7",children:[(0,c.jsx)(r.e0,{title:t.rich("title",{word:()=>(0,c.jsxs)("em",{children:[" ",e.current," "]})})}),(0,c.jsx)(n.N1,{options:a,data:d}),(0,c.jsx)("div",{className:"text-left text-xs font-sans italic py-2 text-spanish-gray dark:text-davis-gray",children:t("subtitle")})]}):null}l.t1.register(l.PP,l.Jy,l.kc,l.FN,l.No,l.tK,l.m_,l.s$)}}]);
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.