import{ag as s,c as a,m as t,K as e,Q as n,u as l,ah as c,ai as i,_ as o,e as x}from"./page_layout.js?v=1753954525509";import{k as p,P as r,r as u,U as d,V as m,Q as _,X as y,$ as f,o as v,a1 as g,a2 as b,a4 as w,W as h,a3 as k,j}from"./vue.js?v=1753954525509";import{l as I,u as $,a as A,m as C}from"./public.js?v=1753954525509";import{_ as P}from"./index101.js?v=1753954525509";import{cD as T,c6 as W,ay as L,bC as N}from"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const Q={class:"h-500px"},z=p({__name:"logs",setup(n){const{t:l}=r(),c=u(!1),i=u(""),{loop:o,clearTimer:x}=I((async()=>{const{message:n}=await s();a(n)&&(i.value=n.result,i.value.includes("|-Successify --- Command executed! ---")&&(x(),t.success(l("Account.Install.index_9")),e()))}),1);return o(),(s,a)=>{const t=P;return d(),m("div",Q,[_(t,{loading:y(c),log:y(i)},null,8,["loading","log"])])}}}),B={class:"flex items-center py-6px px-4px"},D={class:"ml-8px text-#333"},E={class:"py-52px"},H={class:"mb-24px text-center text-24px font-bold"},K={class:"mb-16px"},S={class:"ul-style"},U={key:0,class:"text-center mb-40px"},V={key:1,class:"text-center mb-40px"},X={key:0,class:"text-15px"},q={class:"flex justify-center"},F={class:"w-76%"},G=x(p({__name:"index",setup(s){const{t:t}=r(),e=n(),{isPro:x}=f(l()),p=u(""),I=()=>{A({source:301})},P=async()=>{await i(),setTimeout((()=>{Q()}),1e3)},Q=()=>{$({title:t("Account.Install.index_5"),width:640,component:z})},G=()=>{C("nginx")};return(async()=>{const{message:s}=await c();a(s)&&s.web.setup&&(p.value=s.webserver)})(),v((()=>{1===e.install&&Q()})),(s,a)=>{const t=o,e=W,n=L,l=w("i18n-t"),c=N,i=T;return d(),g(i,{class:"p-16px"},{default:b((()=>[_(e,{"show-icon":!1},{default:b((()=>[h("div",B,[_(t,{class:"text-warning",name:"base-warning",size:"21"}),h("span",D,k(s.$t("Waf.Install.index_1")),1)])])),_:1}),h("div",E,[h("div",H,k(s.$t("Account.Install.index_1")),1),h("div",K,[h("ul",S,[h("li",null,k(s.$t("Account.Install.index_2")),1),h("li",null,k(s.$t("Account.Install.index_3")),1),h("li",null,k(s.$t("Account.Install.index_4")),1)])]),a[0]||(a[0]=h("div",{class:"mb-24px text-center text-14px color-desc"}," This function provides 30 sub-accounts for Pro edition . Each sub-account can independently manage the resources allocated to it. ",-1)),y(x)?(d(),m("div",V,["nginx"===y(p).toLocaleLowerCase()?(d(),g(n,{key:0,type:"primary",class:"px-20px h-38px text-15px",onClick:P},{default:b((()=>[j(k(s.$t("Waf.Install.index_8")),1)])),_:1})):(d(),g(e,{key:1,class:"install-tips inline-flex w-auto mx-auto",type:"warning","show-icon":!1},{default:b((()=>[y(p)?(d(),m("div",X,k(s.$t("Account.Install.index_7",[y(p),"Nginx"])),1)):(d(),g(l,{key:1,tag:"div",keypath:"Account.Install.index_8",scope:"global",class:"text-15px"},{link_1:b((()=>[h("a",{class:"bt-link",href:"javascript:;",onClick:G},k(s.$t("Public.Btn.Install")+" Nginx"),1)])),_:1}))])),_:1}))])):(d(),m("div",U,[_(n,{type:"primary",class:"px-20px h-38px text-15px",onClick:I},{default:b((()=>[j(k(s.$t("WP.Transition.index_7")),1)])),_:1})])),h("div",q,[h("div",F,[_(c,{width:"100%",src:y("/static/vite/images/1.jpg")},null,8,["src"])])])])])),_:1})}}}),[["__scopeId","data-v-1eed34e4"]]);export{G as default};
