import{A as a,db as t,_ as s,c as e,d as i,p as l}from"./page_layout.js?v=1764830988434";import{k as n,am as c,c as p,a0 as d,a2 as r,V as m,a3 as o,W as g,S as u,a4 as v,U as f,j as y}from"./vue.js?v=1764830988434";import{m as w,b as _}from"./public.js?v=1764830988434";import{dk as x,aC as b,dP as h,dQ as k,bJ as W,dS as z}from"./naive.js?v=1764830988434";import"./common.js?v=1764830988434";import"./__commonjsHelpers__.js?v=1764830988434";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"},C={class:"mb-20px text-center text-22px font-bold"},B={class:"mb-20px"},R={class:"ul-style"},S={class:"text-center mb-40px"},A={class:"w-90% mx-auto"},G="btwaf",H=l(n({__name:"index",setup(l){const n=c(),{theme:H}=a(),J=p(()=>"dark"===H),M=t(),{isBuy:N}=d(M),O=()=>{w(G,()=>{n.push("/waf/overview")})},P=async()=>{const{message:a}=await e({sName:G});i(a)&&_({source:25,plugin:{name:a.title,pid:a.pid,type:a.type,plugin:!0,renew:0,ps:a.ps}})};return(a,t)=>{const e=s,i=x,l=b,n=W,c=k,p=h,d=z;return m(),r(d,{class:"p-16px"},{default:o(()=>[g(i,{"show-icon":!1},{default:o(()=>[u("div",I,[g(e,{class:"text-warning",name:"base-warning",size:"21"}),u("span",$,v(a.$t("Waf.Install.index_1")),1)])]),_:1}),u("div",j,[u("div",C,v(a.$t("Waf.Install.index_2")),1),u("div",B,[u("ul",R,[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",S,[f(N)?(m(),r(l,{key:0,type:"primary",class:"text-14px",onClick:O},{default:o(()=>[y(v(a.$t("Waf.Install.index_8")),1)]),_:1})):(m(),r(l,{key:1,type:"primary",class:"text-14px",onClick:P},{default:o(()=>[y(v(a.$t("Waf.Install.index_9")),1)]),_:1}))]),u("div",A,[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(J)?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(J)?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(J)?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(J)?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(J)?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(J)?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(J)?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(J)?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(J)?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(J)?f("/static/vite/images/20.png"):f("/static/vite/images/10.png")},null,8,["src"])]),_:1})]),_:1})])])]),_:1})}}}),[["__scopeId","data-v-73d2f93d"]]);export{H as default};
