import{as as t,a3 as o}from"./index-BTglIPU2.js?v=1773287522785";const{t:a}=o.global,n=e=>t.post("/files?action=GetDir",{...e,disk:!0}),c=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:a("WP.api.tamper_8"),successMessage:!0}}),p=()=>t.post("/files?action=Get_Recycle_bin"),r=e=>t.post("/files?action=GetFileBody",e),u=e=>t.post("/files?action=SaveFileBody",e,{requestOptions:{loading:a("Site.Api.Index_2"),errorMessage:{close:!0}}}),d=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:i=>{}}),f=(e,s)=>t.post("/files?action=upload",e,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:i=>{s==null||s(i)}}),g=e=>t.post("/files?action=DeleteFile",e,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}});export{c as a,f as b,p as c,g as d,n as e,r as g,u as s,d as u};
