System.register(["./index-legacy237.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy20.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy21.js?v=1753954525509","./public-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./index-legacy101.js?v=1753954525509","./php-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./alarm-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509","./common-legacy.js?v=1753954525509"],(function(e,l){"use strict";var n,a,t,s,u,i,c,o,p,r,_,d,g,y,v,x,m,h,w,f,j,k,P,b,A,U,S,O,C,T,B,H,K,L,W;return{setters:[e=>{n=e._},e=>{a=e._,t=e.a},e=>{s=e._},e=>{u=e.b,i=e.c,c=e.f},e=>{o=e.ek,p=e.c,r=e.el,_=e.em,d=e.w,g=e.O,y=e.e7},e=>{v=e.k,x=e.P,m=e.U,h=e.V,w=e.Q,f=e.X,j=e.r,k=e.a1,P=e.a2,b=e.F,A=e.O,U=e.W,S=e.a3,O=e.al,C=e.j,T=e.ah},e=>{B=e.c1,H=e.cG,K=e.bY,L=e.ay},e=>{W=e._},null,null,null,null,null,null,null,null,null,null],execute:function(){const l=v({__name:"index",setup(e,{expose:l}){const{t:n}=x(),{table:a,columns:t}=u([{key:"title",title:n("Plugin.Apache.index_12")},{width:"30%",key:"value",title:n("Plugin.Apache.index_13")}]),s={RestartTime:n("Plugin.Apache.index_1"),UpTime:n("Plugin.Apache.index_2"),TotalAccesses:n("Plugin.Apache.index_3"),TotalKBytes:n("Plugin.Apache.index_4"),ReqPerSec:n("Plugin.Apache.index_5"),BusyWorkers:n("Plugin.Apache.index_6"),IdleWorkers:n("Plugin.Apache.index_7"),workercpu:n("Plugin.Apache.index_8"),workermem:n("Plugin.Apache.index_9")},{loading:r,setLoading:_}=i(),d=async()=>{try{_(!0);const{message:e}=await o();p(e)&&(a.data=Object.entries(e).map((([e,l])=>({title:`${s[e]}(${e})`,value:l}))))}finally{_(!1)}};return d(),l({init:d}),(e,l)=>{const n=c;return m(),h("div",null,[w(n,{data:f(a).data,columns:f(t),loading:f(r)},null,8,["data","columns","loading"])])}}}),$={class:"w-150px! text-right"},q={class:"w-250px! color-#666"},F={class:"text-center"},I=v({__name:"index",setup(e,{expose:l}){const{t:n}=x(),a=j(),t=[{label:n("Config.Panel.index_83_1"),value:"On"},{label:n("Config.Safe.index_84"),value:"Off"}],s=async()=>{const e=a.value.reduce(((e,l)=>(e[l.name]=l.value,e)),{});await r(e)},{loading:u,setLoading:c}=i(),o=async()=>{try{c(!0);const{message:e}=await _();d(e)&&(a.value=e)}finally{c(!1)}};return o(),l({init:o}),(e,l)=>{const n=B,i=H,c=K,o=L,p=g;return m(),k(p,{show:f(u)},{default:P((()=>[(m(!0),h(b,null,A(f(a),((e,l)=>(m(),k(c,{class:"items-center flex-nowrap! py-2px mb-16px",key:l},{default:P((()=>[U("div",$,S(e.name),1),"KeepAlive"!==e.name?(m(),k(n,{key:0,class:"w-150px!",value:e.value,"onUpdate:value":l=>e.value=l,min:0,"show-button":!1},null,8,["value","onUpdate:value"])):O("",!0),"KeepAlive"===e.name?(m(),k(i,{key:1,class:"w-150px!",value:e.value,"onUpdate:value":l=>e.value=l,options:t},null,8,["value","onUpdate:value"])):O("",!0),U("div",q,S(e.ps),1)])),_:2},1024)))),128)),U("div",F,[w(o,{type:"primary",onClick:s},{default:P((()=>[C(S(e.$t("Public.Btn.Save")),1)])),_:1})])])),_:1},8,["show"])}}}),N=v({__name:"index",setup(e,{expose:l}){const n=j("None"),{loading:a,setLoading:t}=i(),s=async()=>{try{t(!0);const{message:e}=await y({path:"/www/wwwlogs/error_log"});p(e)&&(n.value=e.result?e.result:"None")}finally{t(!1)}};return s(),l({init:s}),(e,l)=>{const t=W,s=g;return m(),k(s,{class:"h-580px",show:f(a)},{default:P((()=>[w(t,{log:f(n)},null,8,["log"])])),_:1},8,["show"])}}});e("default",v({__name:"index",setup(e){const{t:u}=x(),i=j("service"),c=[{key:"service",label:u("Security.History.Index_10"),component:a},{key:"file",label:u("Site.Config.index_15"),data:{path:"/www/server/apache/conf/httpd.conf"},component:t},{key:"version",label:u("Plugin.Ftp.index_9"),component:s},{key:"load",label:u("Home.index_30"),component:l},{key:"optimization",label:u("Plugin.Mysql.index_27"),component:I},{key:"logs",label:u("Docker.App.index_5"),component:N}];return(e,l)=>{const a=n;return m(),k(a,{value:f(i),"onUpdate:value":l[0]||(l[0]=e=>T(i)?i.value=e:null),data:c},null,8,["value"])}}}))}}}));
