import{_ as l}from"./CEdIFHZn.js";import{_ as u}from"./BR_ubjDa.js";import{_ as f}from"./ncYpbZOT.js";import{u as x}from"./B1YZX18f.js";import{u as g}from"./DTzhji9-.js";import{v as k,y,_ as C,p as i,w as h,o as p}from"./CChoqk00.js";import"./Ba4kvkeX.js";import"./DgZ9OEJo.js";import"./4Fu3KWqy.js";import"./Du23p2ZK.js";import"./oBAm95WQ.js";import"./dbr-bJEC.js";import"./D7TmchvX.js";import"./BBOawLyY.js";const w=k({__name:"index",async setup(d,{expose:m}){m();let e,t;const{getChartData:n}=x(48,.5),{data:c,error:a,status:_}=([e,t]=y(()=>n()),e=await e,t(),e),s=["CPU","Memory","Disk","LoadAverage","Network","TopProcesses"],{tracker:o}=g();o("page_view","page","monitoring");const r={getChartData:n,data:c,error:a,status:_,titles:s,tracker:o};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function v(d,m,e,t,n,c){const a=l,_=u,s=f;return p(),i(s,null,{default:h(()=>{var o,r;return[t.status!=="pending"&&((o=t.data)!=null&&o.data)?(p(),i(a,{key:0,titles:t.titles,data:(r=t.data)==null?void 0:r.data,layout:"thirdColumGrid",pending:t.status==="pending"},null,8,["data","pending"])):(p(),i(_,{key:1,error:t.error},null,8,["error"]))]}),_:1})}const O=C(w,[["render",v],["__file","index.vue"]]);export{O as default};
