import{u as e,ai as t,l as r}from"./utils-lib.js?v=20260328163632";import{u as a}from"./store4.js?v=20260328163632";import{_ as s,a as i}from"./useMethod7.js?v=20260328163632";import{_ as n,a as o,b as p,c as m}from"./index.vue_vue_type_script_setup_true_lang9.js?v=20260328163632";import{_ as u,b as _,a as d}from"./index.vue_vue_type_script_setup_true_lang18.js?v=20260328163632";import{_ as l}from"./index.vue_vue_type_script_setup_true_lang13.js?v=20260328163632";import{_ as j,a as v}from"./index.vue_vue_type_script_setup_true_lang14.js?v=20260328163632";import{_ as c,a as b}from"./index.vue_vue_type_script_setup_true_lang11.js?v=20260328163632";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang12.js?v=20260328163632";import{k as f,a9 as g,r as y,c as h,w as M,V as T,_ as w,Y as J}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";import"./index85.js?v=20260328163632";import"./index199.js?v=20260328163632";import"./site.js?v=20260328163632";import"./index158.js?v=20260328163632";import"./ace.js?v=20260328163632";import"./index84.js?v=20260328163632";import"./index38.js?v=20260328163632";import"./index91.js?v=20260328163632";import"./index92.js?v=20260328163632";import"./useMethod4.js?v=20260328163632";import"./index98.js?v=20260328163632";import"./index.vue_vue_type_script_setup_true_lang10.js?v=20260328163632";import"./index88.js?v=20260328163632";import"./index118.js?v=20260328163632";import"./logs.js?v=20260328163632";import"./index97.js?v=20260328163632";import"./useMethod5.js?v=20260328163632";const P=f({__name:"index",setup(f){const{plugin:P}=e(),{webserver:S}=g(P.value),{siteType:k,settingTabActive:A,isJump:B,siteInfo:C,resetTab:F}=a(),H=y(A.value||"project"),I=h((()=>{var e,t;return"nodejs"===k.value&&"PM2"===(null==(t=null==(e=C.value)?void 0:e.project_config)?void 0:t.project_type)})),L=h((()=>{var e,t;return[{tab:r("项目配置"),name:"project",render:"NodeJs"===(null==(t=null==(e=C.value)?void 0:e.project_config)?void 0:t.project_type)?()=>s:()=>i},{tab:r("域名管理"),name:"domain",render:()=>n},{tab:"外网映射",name:"mapping",render:()=>u},..."iis"===S.value?[{tab:r("错误页"),name:"errorPage",render:()=>c}]:[],..."apache"!==S.value?[{tab:r("流量限制"),name:"limit",render:()=>x}]:[],{tab:r("伪静态"),name:"pseudo",render:()=>l},{tab:r("默认文档"),name:"default",render:()=>b},{tab:r("配置文件"),name:"configFile",render:()=>o},{tab:r("SSL"),name:"ssl",render:()=>p},{tab:r("重定向"),name:"redirect",render:()=>j},{tab:r("负载状态"),name:"load",render:()=>_},...I.value?[]:[{tab:r("服务状态"),name:"state",render:()=>d}],{tab:r("浏览器缓存"),name:"staticCache",render:()=>v},{tab:r("日志管理"),name:"logsManager",render:()=>m}]})),{BtTabs:N}=t({type:"card",placement:"left",value:H,options:L});return M((()=>B.value),(e=>{e&&(H.value=A.value,F())})),(e,t)=>(T(),w(J(N)))}});export{P as default};
