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