import"./DsnmJJEf.js";import"./DHvMlcED.js";import{e as i,f as u,a as d}from"./BfUaJvxP.js";import{I as p,g as f}from"./CuIpA3jY.js";import{l as g,s as $}from"./C8yDvkQM.js";import{b as s,c as l}from"./CF1ujZlL.js";function I(e,t){const r=g(t,["children","$$slots","$$events","$$legacy"]);const a=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]];p(e,$({name:"activity"},()=>r,{get iconNode(){return a},children:(c,y)=>{var n=i(),o=u(n);f(o,t,"default",{}),d(c,n)},$$slots:{default:!0}}))}function S(e,t){const r=g(t,["children","$$slots","$$events","$$legacy"]);const a=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 6v6l4 2"}]];p(e,$({name:"clock"},()=>r,{get iconNode(){return a},children:(c,y)=>{var n=i(),o=u(n);f(o,t,"default",{}),d(c,n)},$$slots:{default:!0}}))}async function B(){return s.get("/system/backups")}async function N(){return s.post("/system/backup")}async function U(e){return s.delete(`/system/backups/${encodeURIComponent(e)}`)}function C(e){return`${`${l.serverUrl}${l.apiPrefix||"/api/v1"}`}/system/backups/${encodeURIComponent(e)}/download?token=${l.accessToken}`}async function x(){return s.get("/scheduler/status")}async function A(){return s.get("/scheduler/jobs")}async function F(e=!1){return s.post("/scheduler/run",{force:e})}async function P(e){const t={};return e.page&&(t.page=String(e.page)),e.per_page&&(t.per_page=String(e.per_page)),e.level&&(t.level=e.level),e.search&&(t.search=e.search),s.getFullBody("/system/logs",t)}async function R(){return s.get("/reports")}async function j(e){return s.post("/gpm/direct-install",{url:e})}async function w(e){return s.uploadFile("/gpm/direct-install",e,{fieldName:"file"})}export{I as A,S as C,C as a,x as b,N as c,U as d,P as e,R as f,B as g,j as h,w as i,A as j,F as r};
