import{Rt as e,jr as t}from"./index-DW8vg_xD.js";function n(){let n=t([]),r=t(!1);async function i(t){r.value=!0;try{n.value=(await e.getList(`/servers/`,{per_page:t?.perPage??200})).items}catch{n.value=[]}finally{r.value=!1}}return{servers:n,loading:r,loadServers:i}}export{n as t};