import{_ as l}from"./Ct1HywIS.js";import{_ as f}from"./BECNrDz6.js";import{_ as x}from"./xhP_boNp.js";import{u as g}from"./CJnKyk0K.js";import{v as k,y,A as C,_ as h,p as s,w,o as _}from"./CibDhUcP.js";import{u as v}from"./fWHo1AcK.js";import"./7Y0YHGTE.js";import"./CTMooejj.js";import"./5LXQy1qV.js";import"./CW5dyef9.js";import"./nOI-3DST.js";import"./BpJC44XK.js";import"./CBXHUQO1.js";import"./BCJxuefG.js";const A=k({__name:"index",async setup(d,{expose:i}){i();let o,e;const{getChartData:r}=g(48,.5),{data:p,error:n,status:a}=([o,e]=y(()=>r()),o=await o,e(),o),{t}=C(),u=[t("CPU"),t("Memory"),t("Disk"),t("LoadAverage"),t("Network"),t("TopProcesses")],{tracker:c}=v();c("page_view","page","monitoring");const m={getChartData:r,data:p,error:n,status:a,t,titles:u,tracker:c};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}});function P(d,i,o,e,r,p){const n=l,a=f,t=x;return _(),s(t,null,{default:w(()=>[e.status!=="pending"?(_(),s(n,{key:0,titles:e.titles,data:e.data.data,layout:"thirdColumGrid",pending:e.status==="pending"},null,8,["data","pending"])):(_(),s(a,{key:1,error:e.error},null,8,["error"]))]),_:1})}const q=h(A,[["render",P],["__file","index.vue"]]);export{q as default};
