1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8378],{22077:(e,r,t)=>{t.d(r,{A:()=>a});var s=t(3696),n=t(70570);function a(e,...r){let t={};r&&r[1]?.refreshInterval&&(t.refreshInterval=r[1].refreshInterval);let l=(0,n.$C)(e,...r);""===r[0]&&(l=null);let{data:i,error:d,mutate:u}=(0,s.Ay)(l,t);return{data:i,error:i?.error??d,mutate:u}}},70570:(e,r,t)=>{function s(e,r){let t=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&t.append("endpoint",r),t}function n(e,r,t){let n=s(e,r);return t&&n.append("query",JSON.stringify(t)),`/api/services/proxy?${n.toString()}`}t.d(r,{$C:()=>n,_V:()=>s})},78378:(e,r,t)=>{t.r(r),t.d(r,{default:()=>i});var s=t(33499),n=t(22237),a=t(13691),l=t(22077);function i({service:e}){let{widget:r}=e,{data:t,error:i}=(0,l.A)(r,"nodes");if(i)return(0,s.jsx)(a.A,{service:e,error:i});if(!t)return(0,s.jsxs)(a.A,{service:e,children:[(0,s.jsx)(n.A,{label:"pterodactyl.nodes"}),(0,s.jsx)(n.A,{label:"pterodactyl.servers"})]});let d=t.data.reduce((e,r)=>(r.attributes?.relationships?.servers?.data?.length??0)+e,0);return(0,s.jsxs)(a.A,{service:e,children:[(0,s.jsx)(n.A,{label:"pterodactyl.nodes",value:t.data.length}),(0,s.jsx)(n.A,{label:"pterodactyl.servers",value:d})]})}}}]);
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.