import{d,m as _,R as i,c as t,a as k,f as a,w as n,o,n as f,g as s,bA as y,j as P,bB as h,bC as v,F as w,h as b}from"./index-18beffd6.js";import{u as g}from"./usePageTitle-5c97edcb.js";const N=d({__name:"WorkPools",setup(x){const r=_(),l={interval:3e4},e=i(r.workPools.getWorkPools,[{}],l),c=t(()=>e.response??[]),p=t(()=>e.executed&&c.value.length==0),u=t(()=>e.executed);return g("Work Pools"),(B,C)=>{const m=k("p-layout-default");return o(),a(m,{class:"work-pools"},{header:n(()=>[f(s(y))]),default:n(()=>[u.value?(o(),P(w,{key:0},[p.value?(o(),a(s(h),{key:0})):(o(),a(s(v),{key:1,onUpdate:s(e).refresh},null,8,["onUpdate"]))],64)):b("",!0)]),_:1})}}});export{N as default};
