1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[916],{916:(e,r,l)=>{l.r(r),l.d(r,{default:()=>i});var s=l(89142),a=l(27030),n=l(42416),t=l(56833),u=l(68e3);function i({service:e}){let{t:r}=(0,t.Bd)(),{widget:l}=e,{data:b,error:o}=(0,u.A)(l,"stats");return o?(0,s.jsx)(n.A,{service:e,error:o}):b?(0,s.jsxs)(n.A,{service:e,children:[(0,s.jsx)(a.A,{label:"calibreweb.books",value:r("common.number",{value:b.books})}),(0,s.jsx)(a.A,{label:"calibreweb.authors",value:r("common.number",{value:b.authors})}),(0,s.jsx)(a.A,{label:"calibreweb.categories",value:r("common.number",{value:b.categories})}),(0,s.jsx)(a.A,{label:"calibreweb.series",value:r("common.number",{value:b.series})})]}):(0,s.jsxs)(n.A,{service:e,children:[(0,s.jsx)(a.A,{label:"calibreweb.books"}),(0,s.jsx)(a.A,{label:"calibreweb.authors"}),(0,s.jsx)(a.A,{label:"calibreweb.categories"}),(0,s.jsx)(a.A,{label:"calibreweb.series"})]})}},18165:(e,r,l)=>{function s(e,r=null){return null==e||""===e?r:"number"==typeof e?Number.isInteger(e)&&e>=0?e:r:"string"==typeof e&&/^\d+$/.test(e)?Number(e):r}function a(e,r){let l=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&l.append("endpoint",r),l}function n(e,r,l){let s=a(e,r);return l&&s.append("query",JSON.stringify(l)),`/api/services/proxy?${s.toString()}`}l.d(r,{$C:()=>n,Sk:()=>s,_V:()=>a})},68e3:(e,r,l)=>{l.d(r,{A:()=>n});var s=l(45911),a=l(18165);function n(e,...r){let l={};r&&r[1]?.refreshInterval&&(l.refreshInterval=r[1].refreshInterval);let t=(0,a.$C)(e,...r);""===r[0]&&(t=null);let{data:u,error:i,mutate:b}=(0,s.Ay)(t,l);return{data:u,error:u?.error??i,mutate:b}}}}]);
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.