import{A as a,dF as t,b as s,c as e,_ as i,p as l}from"./page_layout.js?v=1763625242172";import{k as n,am as c,c as p,a0 as d,R as r,a2 as m,a3 as o,X as g,U as u,a4 as v,V as f,j as y}from"./vue.js?v=1763625242172";import{m as w,b as _}from"./public.js?v=1763625242172";import{dS as x,dk as b,aC as h,bJ as k,dQ as z,dR as W}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const I={class:"flex items-center py-6px px-4px waf-alert-tips"},$={class:"ml-8px",style:{color:"var(--color-text-5)"}},j={class:"py-52px"},R={class:"mb-20px text-center text-22px font-bold"},C={class:"mb-20px"},B={class:"ul-style"},A={class:"text-center mb-40px"},S={class:"w-90% mx-auto"},F="btwaf",G=l(n({__name:"index",setup(l){const n=c(),{theme:G}=a(),H=p((()=>"dark"===G)),J=t(),{isBuy:M}=d(J),N=()=>{w(F,(()=>{n.push("/waf/overview")}))},O=async()=>{const{message:a}=await s({sName:F});e(a)&&_({source:25,plugin:{name:a.title,pid:a.pid,type:a.type,plugin:!0,renew:0,ps:a.ps}})};return(a,t)=>{const s=i,e=b,l=h,n=k,c=z,p=W,d=x;return r(),m(d,{class:"p-16px"},{default:o((()=>[g(e,{"show-icon":!1},{default:o((()=>[u("div",I,[g(s,{class:"text-warning",name:"base-warning",size:"21"}),u("span",$,v(a.$t("Waf.Install.index_1")),1)])])),_:1}),u("div",j,[u("div",R,v(a.$t("Waf.Install.index_2")),1),u("div",C,[u("ul",B,[u("li",null,v(a.$t("Waf.Install.index_3")),1),u("li",null,v(a.$t("Waf.Install.index_4")),1),u("li",null,v(a.$t("Waf.Install.index_5")),1),u("li",null,v(a.$t("Waf.Install.index_6")),1),u("li",null,v(a.$t("Waf.Install.index_7")),1)])]),u("div",A,[f(M)?(r(),m(l,{key:0,type:"primary",class:"text-14px",onClick:N},{default:o((()=>[y(v(a.$t("Waf.Install.index_8")),1)])),_:1})):(r(),m(l,{key:1,type:"primary",class:"text-14px",onClick:O},{default:o((()=>[y(v(a.$t("Waf.Install.index_9")),1)])),_:1}))]),u("div",S,[g(p,{class:"install-tabs",type:"line",placement:"left"},{default:o((()=>[g(c,{name:"overview",tab:"Overview","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/11.png"):f("/static/vite/images/1.png")},null,8,["src"])])),_:1}),g(c,{name:"website",tab:"WebSite","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/12.png"):f("/static/vite/images/2.png")},null,8,["src"])])),_:1}),g(c,{name:"blockade",tab:"Blockade","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/13.png"):f("/static/vite/images/3.png")},null,8,["src"])])),_:1}),g(c,{name:"black-white",tab:"Black/White list","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/14.png"):f("/static/vite/images/4.png")},null,8,["src"])])),_:1}),g(c,{name:"region",tab:"Region","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/15.png"):f("/static/vite/images/5.png")},null,8,["src"])])),_:1}),g(c,{name:"traffic",tab:"Traffic","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/16.png"):f("/static/vite/images/6.png")},null,8,["src"])])),_:1}),g(c,{name:"custom-rules",tab:"Custom Rules","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/17.png"):f("/static/vite/images/7.png")},null,8,["src"])])),_:1}),g(c,{name:"attack-map",tab:"Attack Map","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/18.png"):f("/static/vite/images/8.png")},null,8,["src"])])),_:1}),g(c,{name:"report",tab:"Report","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/19.png"):f("/static/vite/images/9.png")},null,8,["src"])])),_:1}),g(c,{name:"global",tab:"Global","display-directive":"show:lazy"},{default:o((()=>[g(n,{width:"100%",src:f(H)?f("/static/vite/images/20.png"):f("/static/vite/images/10.png")},null,8,["src"])])),_:1})])),_:1})])])])),_:1})}}}),[["__scopeId","data-v-73d2f93d"]]);export{G as default};
