System.register(["./index-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./soft-legacy2.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy18.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509"],(function(e,t){"use strict";var a,l,n,s,c,i,u,o,p,r,_,d,m,g,y,v,x,f,h,j,b,w,k,S,H,$,C,P,T;return{setters:[e=>{a=e._},e=>{l=e.e,n=e._},e=>{s=e.u,c=e.b,i=e.c,u=e.p,o=e.cg,p=e.m,r=e.b_,_=e.e},e=>{d=e.c},e=>{m=e.g},e=>{g=e._},e=>{y=e.cK,v=e.bY,x=e.ay},e=>{f=e.k,h=e.P,j=e.r,b=e.X,w=e.U,k=e.V,S=e.Q,H=e.a2,$=e.W,C=e.a3,P=e.j,T=e.al},null,null,null,null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent=".item[data-v-5996c66a]{--un-bg-opacity:1;background-color:rgb(245 246 250 / var(--un-bg-opacity));padding:20px;font-size:14px;--un-text-opacity:1;color:rgb(119 119 119 / var(--un-text-opacity))}.item p[data-v-5996c66a]{word-break:break-all;line-height:25px}\n",document.head.appendChild(t);const U={key:0,class:"p-30px"},W=["src"],I=["title"],L={class:"color-#888888"},M={class:"font-600 mt-30px"},N=["innerHTML"];e("default",_(f({__name:"app-update",props:{row:{},callback:{},hide:{}},setup(e){const{t:t}=h(),_=s(),f=e,{row:q}=f,z=["nginx","apache","mysql","php"],E=j(),K=j(),O=j(),Q=async(e=1)=>{const{message:a}=await o({sName:q.name,version:5===O.value?q.m_version:K.value,upgrade:5===O.value?q.m_version:K.value,type:e});if(i(a)){if(a.result)return p.success(a.result),_.taskCount+=1,f.callback?.(),f.hide(),void r();await d({name:a.name,tmp_path:a.tmp_path,title:t("Soft.index_21")},(()=>{f.callback?.()}))}f.hide()},R=()=>{var e;e=q.name,z.includes(e)||e.startsWith("php-")?V.show=!0:Q(1)},V=l(t("Home.Install.index_7"),{name:q.name,callback:()=>{Q(0)}});return(async()=>{const{message:e}=await c({sName:q.name},!0);i(e)&&(O.value=e.type,K.value=q.m_version+"."+q.version,E.value=e.version)})(),(e,l)=>{const s=y,c=v,i=x,o=u,p=n,r=a;return b(q)?(w(),k("div",U,[S(c,{class:"justify-between! items-center"},{default:H((()=>[S(c,{class:"items-center"},{default:H((()=>[$("img",{class:"w-40px",src:b(m)(b(q).name)},null,8,W),$("div",null,[$("p",{class:"font-600 text-18px max-w-290px truncate",title:`${b(q).title} ${b(E)}`},C(b(q).title)+" "+C(b(q).title.indexOf("PHP-")>-1?"":b(E)),9,I),S(s,{dot:""},{default:H((()=>[$("p",L,C(e.$t("Soft.index_51"))+"："+C(b(K)),1)])),_:1})])])),_:1}),S(c,null,{default:H((()=>[S(i,{type:"primary",onClick:R},{default:H((()=>[P(C(e.$t("Home.Update.index_19")),1)])),_:1})])),_:1}),S(o)])),_:1}),$("div",M,C(b(t)("Soft.index_52"))+"：",1),$("span",{class:"py-10px inline-block leading-20px color-#777777",innerHTML:b(q).update_msg},null,8,N),S(p,null,{default:H((()=>[$("li",null,C(e.$t("Soft.index_35")),1),$("li",null,C(b(t)("Soft.index_53")),1),$("li",null,C(b(t)("Soft.index_54")),1)])),_:1}),S(r,{show:b(V).show,"onUpdate:show":l[0]||(l[0]=e=>b(V).show=e),title:b(V).title,data:b(V).data,width:480,footer:!0,"confirm-text":e.$t("WP.TableRow.index_13"),component:g},null,8,["show","title","data","confirm-text"])])):T("",!0)}}}),[["__scopeId","data-v-5996c66a"]]))}}}));
