import{i as s,v as t}from"./page_layout.js?v=1753954525509";const{t:e}=s.global,a=s=>t.post("/data?action=getSiteThirtyTotal",{site_type:"PHP",...s}),i=s=>t.post("/data?action=getSiteWafConfig",s),o=s=>t.post("/plugin?action=a&name=btwaf&s=set_site_obj_open",s,{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0}}),p=s=>t.post("/panel/public/get_soft_status",{...s}),n=s=>t.post("/system?action=ServiceAdmin",{...s},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0}}),c=()=>t.post("/plugin?action=a&name=security_notice&s=get_status",{},{requestOptions:{isOriginalResult:!0,prefix:""}}),g=s=>t.post("/plugin?action=a&name=security_notice&s=".concat(s?"start_site":"stop_site"),{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0}}),_=()=>t.post("/site?action=get_https_mode"),r=()=>t.post("/site?action=set_https_mode",{},{requestOptions:{loading:e("WP.api.tamper_8"),successMessage:!0}});export{o as a,a as b,i as c,g as d,c as e,r as f,p as g,_ as h,n as s};
