System.register(["./store-legacy2.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632","./utils-lib-legacy.js?v=20260328163632","./naive-ui-legacy.js?v=20260328163632","./__commonjsHelpers__-legacy.js?v=20260328163632","./env-lib-legacy.js?v=20260328163632"],(function(e,t){"use strict";var n,l,c,s,a,r,i,o,u,p,d,f,m,v,x,k,y,h,b,g,w,_,j,S,U,z,C,W,F;return{setters:[function(e){n=e.H},function(e){l=e.k,c=e.ah,s=e.o,a=e.az,r=e.V,i=e.W,o=e.X,u=e.Z,p=e.Y,d=e.j,f=e.F,m=e.L,v=e.O,x=e.K,k=e._,y=e.a1,h=e.a3},function(e){b=e.u,g=e.l,w=e.h,_=e._},function(e){j=e.n,S=e.b,U=e.N,z=e.k,C=e.F,W=e.l,F=e.B},null,null],execute:function(){var t={class:"h-full p-20px"},H={class:"commend-title"},L={class:"text-16px inline-block"},M={class:"commend-msg"},N={key:0},O={class:"flex recommend-soft-list overflow-y-auto flex-wrap gap-[15px]"},V={class:"rounded-4px recommend-cont"},q={class:"mb-[10px] pl-5px recommend-title text-center inline-block w-full font-bold text-[18px]"},A={class:"soft-list"},B={key:0,class:"flex items-baseline my-8"},D={class:"mr-10px whitespace-nowrap"},I={class:"whitespace-nowrap"},K={class:"whitespace-nowrap"},P={key:0,class:"pt-20px pb-10px text-danger text-center"},R={href:"https://www.bt.cn/bbs/thread-34406-1-1.html",target:"_blank",class:"btlink"},X={key:1,class:"h-47px"},Y={class:"flex justify-center"},Z=l({__name:"index",emits:["close"],setup:function(e,l){var _=l.emit,Z=b().isWin,E=n(),G=c(E),J=G.recommend,Q=_;return G.emits.value=Q,s((function(){a(document.querySelector(".close-ad"),"click",(function(){E.cancelShowRec()}))})),function(e,n){var l=j,c=S,s=U,a=z,b=C,_=W,G=F;return r(),i("div",t,[o("div",H,[o("div",L,u(p(g)("一键安装套件")),1),o("div",M,[d("  -- "+u(p(g)("我们为您提供以下套件一键安装，请按需选择或在")),1),o("span",{class:"text-primary cursor-pointer hover:text-[#1d9534]",onClick:n[0]||(n[0]=function(){var e;return p(E).goSoft&&(e=p(E)).goSoft.apply(e,arguments)})},u(p(g)("软件商店")),1),d(u(p(g)("页面中手动安装，推荐安装")),1),p(Z)?(r(),i(f,{key:1},[d(u(p(g)("Nginx套件，兼容性最佳。")),1)],64)):(r(),i("span",N,'"'+u(p(g)("LAMP"))+'"',1))])]),o("div",O,[(r(!0),i(f,null,m(p(J),(function(e,t){return r(),i("div",{key:e.type,class:"recommend-soft-item flex-1"},[o("div",V,[o("span",q,u(e.title),1),o("ul",A,[(r(!0),i(f,null,m(e.soft,(function(e,n){return r(),i("li",{key:n,class:"flex items-center"},[v(p(w),{type:"icons",src:"soft/ico-".concat(e.icon).concat(e.icon.includes(".png")?"":".svg"),class:x(["ml-2px mr-10px","docker"!==e.icon?"!w-[32px] !max-h-[32px]":"!mr-[6px] !w-[55px] !h-[32px]"])},null,8,["src","class"]),"docker"!==e.icon?(r(),k(l,{key:0,value:e.value,"onUpdate:value":[function(t){return e.value=t},function(n){return p(E).changeSoftwareVersion(e,t)}],class:"flex-1 mr-[20px]",size:"small",options:e.options,consistentMenuWidth:!1},null,8,["value","onUpdate:value","options"])):y("",!0),"docker"===e.icon?(r(),k(c,{key:1,class:"no-drap mr-[20px]",value:p(g)("Docker服务"),readOnly:""},null,8,["value"])):y("",!0),v(s,{size:"large",checked:e.selected,"onUpdate:checked":function(t){return e.selected=t},disabled:e.disabled},null,8,["checked","onUpdate:checked","disabled"])])})),128))]),p(Z)?(r(),i(f,{key:1},["apache"===e.type?(r(),i("div",P,[d(u(p(g)("需要专业运维，否则会占用大量内存"))+" ",1),o("a",R," > "+u(p(g)("使用帮助")),1)])):(r(),i("div",X))],64)):(r(),i("div",B,[o("span",D,u(p(g)("安装方式"))+"：",1),v(_,{value:e.install,"onUpdate:value":function(t){return e.install=t},class:"whitespace-nowrap"},{default:h((function(){return[v(b,{class:"item popper-dark",placement:"top-start"},{default:h((function(){return[o("div",I,u(p(g)("即rpm/deb，安装时间极快（5-10分钟），版本与稳定性略低于编译安装，适合快速部署测试")),1)]})),trigger:h((function(){return[v(a,{class:"!mr-[12px]",value:1},{default:h((function(){return[d(u(p(g)("极速安装")),1)]})),_:1})]})),_:1}),v(b,{class:"item popper-dark",placement:"top-start"},{default:h((function(){return[o("div",K,u(p(g)("安装时间长（30分钟到2小时），性能最大化，适合生产环境")),1)]})),trigger:h((function(){return[v(a,{class:"!mr-0",value:0},{default:h((function(){return[d(u(p(g)("编译安装")),1)]})),_:1})]})),_:1})]})),_:2},1032,["value","onUpdate:value"])])),o("div",Y,[v(G,{type:"primary",onClick:function(e){return p(E).installSoft(t)}},{default:h((function(){return[d(u(p(g)("一键安装")),1)]})),_:2},1032,["onClick"])])])])})),128))])])}}});e("default",_(Z,[["__scopeId","data-v-b9ab7632"]]))}}}));
