System.register(["./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172"],(function(e,t){"use strict";var i,n,a,s,o,l,c,d,m,r,g,p,h;return{setters:[e=>{i=e.bz,n=e.c,a=e.x,s=e.a,o=e.m,l=e.w},e=>{c=e.u,d=e.w,m=e.x},e=>{r=e.g},e=>{g=e.e,p=e.r,h=e._}],execute:function(){e({a:async function(e){["mysql","nginx","pureftpd","redis","mongodb","apache","memcached","openlitespeed","dnscustom"].includes(e.name)?y(e):(await j(),e.admin?bt.soft.set_lib_config(e.name,e.title,e.version):soft.set_soft_config(e.name,e.title))},b:async function(){await j(),bt.soft.get_soft_find("pgsql_manager",(function(e){for(let t=0;t<e.versions.length;t++){if(1==e.versions[t].setup){bt.soft.set_lib_config("pgsql_manager","PostgreSQL manager");break}bt.soft.install("pgsql_manager");break}}))},u:async function(e,t){await j(),soft.input_zip(e.name,e.tmp_path,e.title,(function(){t?.()}))}});const u=e("p",g({name:"",title:"",s_status:!0,s_version:""})),w=e("m",g({datadir:"",port:3306})),f=(e("g",(async()=>{const{message:e}=await i();n(e)&&(w.datadir=e.datadir,w.port=Number(e.port))})),e("c",p(""))),v=e("d",p([])),y=(e("e",(async()=>{const{message:e}=await r();if(a(e)&&e.length>0){const t=e.filter((e=>"00"!==e.version));v.value=t.reverse().map((e=>({label:e.name,value:e.version}))),f.value=t[0].version}else f.value="",v.value=[]})),e=>{u.name="pureftpd"===e.name?"pure-ftpd":e.name,u.s_version=e.name,u.title=e.title;const t=e.name+"View";_[t](e)}),_={mysqlView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy135.js?v=1763625242172")),void 0)))})},nginxView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy136.js?v=1763625242172")),void 0)))})},pureftpdView(e){c({title:e.title,width:1e3,height:550,component:h((()=>s((()=>t.import("./index-legacy137.js?v=1763625242172")),void 0)))})},redisView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy138.js?v=1763625242172")),void 0)))})},mongodbView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy139.js?v=1763625242172")),void 0)))})},apacheView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy140.js?v=1763625242172")),void 0)))})},memcachedView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy141.js?v=1763625242172")),void 0)))})},openlitespeedView(e){c({title:e.title,width:800,height:660,component:h((()=>s((()=>t.import("./index-legacy142.js?v=1763625242172")),void 0)))})},dnscustomView(e){c({title:e.title,width:900,height:600,component:h((()=>s((()=>t.import("./index-legacy143.js?v=1763625242172")),void 0)))})}};async function j(){const e=o.loading("Loading, please wait...");try{await d(),await m(),await l("/static/ace/ace.js?v=1763625242172"),await l("/static/vite/oldjs/soft.js?v=1763625242172")}finally{e.close()}}}}}));
