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