import{bf as s,i as a}from"./page_layout.js?v=1763625242172";const t=a=>s.post("/btwaf/get_site_config3.json",a),e=()=>s.post("/plugin?action=a&name=btwaf&s=get_config"),i=t=>s.post("/plugin?action=a&name=btwaf&s=set_obj_open",t,{requestOptions:{loading:a.global.t("Waf.Api.site_2"),successMessage:!0}}),n=a=>s.post("/plugin?action=a&name=btwaf&s=get_site_config_byname",a),o=t=>s.post("/plugin?action=a&name=btwaf&s=set_site_obj_open",t,{requestOptions:{loading:a.global.t("Waf.Api.site_3"),successMessage:!0}}),l=()=>s.post("/plugin?action=a&name=btwaf&s=city"),g=()=>s.post("/plugin?action=a&name=btwaf&s=stop_cc_status"),p=()=>s.post("/plugin?action=a&name=btwaf&s=check_renji",{},{requestOptions:{loading:a.global.t("Waf.Api.site_4")}}),_=a=>s.post("/plugin?action=a&name=btwaf&s=set_site_cc_conf",a,{requestOptions:{successMessage:!0}}),c=t=>s.post("/plugin?action=a&name=btwaf&s=set_site_retry",t,{requestOptions:{loading:a.global.t("Waf.Api.site_5"),successMessage:!0}}),u=a=>s.post("/plugin?action=a&name=btwaf&s=get_site_disable_rule",a),f=a=>s.post("/plugin?action=a&name=btwaf&s=get_site_rule",a),b=t=>s.post("/plugin?action=a&name=btwaf&s=add_site_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_6"),successMessage:!0}}),r=t=>s.post("/plugin?action=a&name=btwaf&s=add_site_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_6"),successMessage:!0}}),d=t=>s.post("/plugin?action=a&name=btwaf&s=add_site_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_6"),successMessage:!0}}),m=t=>s.post("/plugin?action=a&name=btwaf&s=remove_site_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_7"),successMessage:!0}}),w=t=>s.post("/plugin?action=a&name=btwaf&s=set_site_disable_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_8"),successMessage:!0}}),q=a=>s.post("/plugin?action=a&name=btwaf&s=get_rule",a),O=t=>s.post("/plugin?action=a&name=btwaf&s=save_scan_rule",t,{requestOptions:{loading:a.global.t("Waf.Api.site_9"),successMessage:!0}}),A=t=>s.post("/plugin?action=a&name=btwaf&s=set_spider",t,{requestOptions:{loading:a.global.t("Waf.Api.site_10"),successMessage:!0}}),W=a=>s.post("/plugin?action=a&name=btwaf&s=get_site_cdn_header",a),M=t=>s.post("/plugin?action=a&name=btwaf&s=add_site_cdn_header",t,{requestOptions:{loading:a.global.t("Waf.Api.site_11"),successMessage:!0}}),j=t=>s.post("/plugin?action=a&name=btwaf&s=remove_site_cdn_header",t,{requestOptions:{loading:a.global.t("Waf.Api.site_12"),successMessage:!0}}),y=t=>s.post("/plugin?action=a&name=btwaf&s=get_logs_list",t,{requestOptions:{loading:a.global.t("Waf.Api.site_13")}}),h=a=>s.post("/btwaf/get_safe_logs_sql2.json",a),v=t=>s.post("/plugin?action=a&name=btwaf&s=start_crawler",t,{requestOptions:{loading:a.global.t("Waf.Site.API.index_1"),successMessage:!0}}),x=t=>s.post("/btwaf/start_limiting_timeout.json",{site:t.site,limiting:JSON.stringify(t.limiting)},{requestOptions:{loading:a.global.t("Waf.Site.API.index_2"),successMessage:!0}});export{d as A,x as a,o as b,e as c,i as d,y as e,h as f,t as g,n as h,p as i,l as j,g as k,_ as l,c as m,w as n,u as o,q as p,O as q,A as r,v as s,j as t,W as u,M as v,m as w,f as x,b as y,r as z};
