1import{_ as y,u as v,n as x,a as P,h as r,z as $,c as z,b as n,d as l,e as s,f as e,k as B,o as k,j as h,t as c}from"./DJCfE3oe.js";import{T as K}from"./BfV1YUxR.js";import{_ as N}from"./CNGek6Ve.js";import{u as L}from"./DCC_uw-i.js";import"./COHZjUSn.js";import"./XdutmGHI.js";import"./4b-VKyp0.js";import"./Fg2r6g1O.js";import"./CYNsn-zs.js";import"./DQYp1PVJ.js";import"./BWkcWVCU.js";import"./UwAkD10u.js";import"./DLPiwjp5.js";import"./CPJeIeTf.js";import"./D9FxPwaw.js";import"./BOnZHrTo.js";import"./CHIgUVhi.js";import"./eTfifEnw.js";import"./C3cZX21v.js";const T={class:"scrapers"},V={class:"params"},A={class:"empty"},I={__name:"scrapers",setup(j){const{t:o,locale:D}=v(),p=x();P(()=>({title:`${o("centre.webScraperCount.t5")} - 911Proxy`}));const m=r(1),_=r(0),g=r(10),u=r(!0),d=r([]),w=r([{title:o("centre.webScraperCount.information.t22"),cell:"name",width:320},{title:o("centre.webScraperCount.information.t23"),colKey:"count",width:260},{title:o("centre.webScraperCount.t7"),cell:(t,{row:a})=>`${a.last_duration_seconds}s`,width:220},{title:o("centre.webScraperCount.t8"),colKey:"last_status",width:220},{title:o("centre.webScraperCount.t9"),colKey:"last_completed_at2",width:220}]);async function S(){u.value=!0,await L({limit:50}).then(({code:t,data:a,msg:i})=>{t==200&&(d.value=a.list,_.value=a.list.length)}).finally(()=>{u.value=!1})}function b({current:t}){m.value=t}return $(()=>{S()}),(t,a)=>{const i=B,C=K;return k(),z("div",T,[n("div",V,[l(i,{to:e(p)("/centre/api-scraper/")},{default:s(()=>[h(c(t.$t("centre.webScraperCount.t6")),1)]),_:1},8,["to"])]),l(C,{data:e(d),columns:e(w),rowKey:"id",pagination:{pageSize:e(g),total:e(_),current:e(m),totalContent:!1,showPageSize:!1,showPreviousAndNextBtn:!0,maxPageBtn:5},loading:e(u),onPageChange:b},{name:s(({row:f})=>[l(i,{to:e(p)(`/centre/api-scraper/${f.scraper_sign}/`)},{default:s(()=>[n("span",null,c(f.scraper_name),1)]),_:2},1032,["to"])]),empty:s(()=>[n("div",A,[a[0]||(a[0]=n("img",{loading:"lazy",width:"100",height:"100",src:N,alt:"911proxy"},null,-1)),n("p",null,c(t.$t("centre.webScraperCount.t10")),1),n("h3",null,c(t.$t("centre.webScraperCount.t11")),1),l(i,{to:e(p)("/centre/api-scraper/")},{default:s(()=>[h(c(t.$t("centre.webScraperCount.t12")),1)]),_:1},8,["to"])])]),_:1},8,["data","columns","pagination","loading"])])}}},rt=y(I,[["__scopeId","data-v-2872461b"]]);export{rt as default};
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.