import{as as t,a3 as o}from"./index-BTglIPU2.js?v=1773287522785";const{t:s}=o.global,n=e=>t.post("/files?action=GetDir",e),a=e=>t.post("/files?action=GetDirNew&tojs=GetFiles",e),l=e=>t.post("/files?action=CreateFile",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingFile"),successMessage:!0}}),c=e=>t.post("/files?action=CreateDir",e,{requestOptions:{loading:s("file.buttonGroup.loading.creatingDirectory"),successMessage:!0}}),u=e=>t.post("/files?action=GetFileBody",e),p=(e,i=!0)=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:i?s("file.api.saving"):""}}),g=e=>t.post("/files?action=del_history",e,{requestOptions:{loading:s("file.api.deleting"),successMessage:!0}}),f=e=>t.post("/files?action=re_history",e,{requestOptions:{loading:s("file.api.recovering")}}),d=e=>t.post("/files?action=files_search",e),F=e=>t.post("/files?action=read_history",e);export{c as a,u as b,l as c,p as d,a as e,f,n as g,g as h,F as r,d as s};
