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