import{bf as s,i as e}from"./page_layout.js?v=1764233927359";const{t:t}=e.global,i=(e,t="PHP")=>s.post("/data?action=getSiteThirtyTotal",{site_type:t,...e}),o=e=>s.post("/data?action=getSiteWafConfig",e),a=e=>s.post("/plugin?action=a&name=btwaf&s=set_site_obj_open",e,{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),n=e=>s.post("/panel/public/get_soft_status",{...e}),g=e=>s.post("/system?action=ServiceAdmin",{...e},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),c=()=>s.post("/plugin?action=a&name=security_notice&s=get_status",{},{requestOptions:{isOriginalResult:!0,prefix:""}}),p=e=>s.post("/plugin?action=a&name=security_notice&s=".concat(e?"start_site":"stop_site"),{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),_=()=>s.post("/site?action=get_https_mode"),u=()=>s.post("/site?action=set_https_mode",{},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),d=e=>s.post("/site?action=get_site_maintenance",e),l=e=>s.post("/site?action=set_site_maintenance",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),r=e=>s.post("/site?action=get_current_webservice",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),q=(e,i=!0)=>s.post("/site?action=switch_webservice",e,{requestOptions:{loading:t("Login.index_22"),successMessage:i}}),O=e=>s.post("/site?action=multi_service_check_repair",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),M=e=>s.post("/site?action=website_rollback",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),x=()=>s.post("/site?action=get_multi_webservice_status"),m=()=>s.post("/git?action=get_ssh_key"),b=e=>s.post("/git?action=get_deploy_records",e),y=e=>s.post("/git?action=manual_deploy_site",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),L=e=>s.post("/git?action=get_site_git_conf",e),h=e=>s.post("/git?action=save_site_git_conf",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),f=e=>s.post("/git?action=del_site_git",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),w=e=>s.post("/git?action=refresh_webhook_url",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),k=e=>s.post("/git?action=add_key_repository",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),v=e=>s.post("/git?action=get_site_deploy_log",e),P=e=>s.post("/git?action=git_rollback",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),W=e=>s.post("/git?action=save_deploy_sh",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),j=e=>s.post("/git?action=get_deploy_sh",e),S=e=>s.post("/git?action=get_deploy_script",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),A=e=>s.post("/git?action=update_deploy_sh",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),C=e=>s.post("/git?action=get_webhook_log",e),H=e=>s.post("/git?action=clear_webhook_log",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),T=e=>s.post("/git?action=del_script",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),z=()=>s.post("/site?action=get_site_global"),B=e=>s.post("/site?action=get_cdn_ip",e),D=e=>s.post("/site?action=set_site_global",e,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}});export{h as A,f as B,C,H as D,u as E,_ as F,B as G,D as H,z as I,v as J,i as a,o as b,a as c,r as d,p as e,c as f,n as g,q as h,M as i,O as j,x as k,m as l,l as m,d as n,S as o,P as p,b as q,L as r,g as s,W as t,A as u,y as v,T as w,j as x,w as y,k as z};
