import{c as t,f as a,h as n,_ as e}from"./public.js?v=1763625242172";import{x as i}from"./page_layout.js?v=1763625242172";import{T as l}from"./setting.js?v=1763625242172";import{k as s,P as o,X as r,R as d,S as m,V as u,a3 as c,U as p,a4 as f,u as g}from"./vue.js?v=1763625242172";import{_}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const x={class:"p-20px"};const j=s({__name:"attack",setup(s){const{t:j}=o(),{table:S,columns:W,setLoading:b}=t([{key:"url",title:j("Waf.Setting.index_27"),minWidth:100,ellipsis:{tooltip:{width:"trigger"}},render:t=>r("a",{class:"bt-link",href:t.url,target:"_blank"},[t.url])},{key:"mode",title:j("Waf.Setting.index_28"),width:"20%",minWidth:100,render:()=>{let t;return r(_,{checked:!0},"function"==typeof(a=t=j("Waf.Setting.index_30"))||"[object Object]"===Object.prototype.toString.call(a)&&!g(a)?t:{default:()=>[t]});var a}},a({width:100,options:t=>[{label:j("Waf.Setting.index_29"),onClick:()=>{window.open(t.url)}}]})]);return(async()=>{try{b(!0);const{message:t}=await l();i(t)&&(S.data=t.map((t=>({url:t}))))}finally{b(!1)}})(),(t,a)=>{const i=n,l=e;return d(),m("div",x,[r(i,{"loading-num":6,loading:u(S).loading,data:u(S).data,columns:u(W)},null,8,["loading","data","columns"]),r(l,{class:"mt-16px"},{default:c((()=>[p("li",null,f(t.$t("Waf.Setting.index_22")),1),p("li",null,f(t.$t("Waf.Setting.index_23")),1),p("li",null,f(t.$t("Waf.Setting.index_24")),1),p("li",null,f(t.$t("Waf.Setting.index_25")),1),p("li",null,f(t.$t("Waf.Setting.index_26")),1)])),_:1})])}}});export{j as default};
