System.register(["./index-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,t){"use strict";var a,i,l,n,d,o,s,p,c,r,x,v,u,m,g,b,f,h,y,_,k,H,U,w,j,C,$,z,M,I,L;return{setters:[e=>{a=e.a},e=>{i=e.k,l=e.P,n=e.r,d=e.c,o=e.aq,s=e.a5,p=e.R,c=e.S,r=e.U,x=e.a4,v=e.F,u=e.O,m=e.H,g=e.V,b=e.X,f=e.a3,h=e.ay,y=e.aj,_=e.I,k=e.j},e=>{H=e.a9,U=e.gL,w=e.c,j=e.gM,C=e.gJ,$=e.P,z=e.p},e=>{M=e.p},e=>{I=e._,L=e.aC}],execute:function(){var t=document.createElement("style");t.textContent='.card[data-v-76523929]{background:var(--home-update-detail-bg);margin-bottom:20px;border-radius:4px;padding:20px 24px}.version[data-v-76523929]{position:relative;margin-left:95px;padding:5px 0 0 2px;border-left:5px solid #e1e1e1}.version .active[data-v-76523929]{position:absolute;left:-10px;top:21px;display:block;width:15px;height:15px;margin-bottom:10px;background-color:#20a53a;border-radius:50%}.version .active[data-v-76523929]:after{content:"";position:relative;top:5px;left:5px;display:block;height:5px;width:5px;border-radius:50%;background-color:#fff}.version .date[data-v-76523929]{position:absolute;left:-90px;top:13px;line-height:30px;font-size:13px;color:var(--home-update-detail-date)}.version .text[data-v-76523929]{margin-top:7px;margin-left:5px;margin-bottom:5px;padding-left:15px;line-height:32px;border-bottom:1px solid #ececec;font-size:15px;color:#20a53a}.version .content[data-v-76523929]{line-height:24px;font-size:12px;min-height:40px;padding-left:20px;color:#888}\n',document.head.appendChild(t);const P={class:"w-650px"},B={class:"card"},S={class:"mb-12px font-bold text-18px text-center"},T={class:"min-h-172px text-13px"},q={class:"card"},E={class:"mb-10px text-16px text-center"},F={class:"h-180px overflow-auto"},J={class:"date"},O={class:"text"},R=["innerHTML"],V={class:"font-bold"},X={class:"text-error"};e("B",z(i({__name:"details",emits:["close"],setup(e,{emit:t}){const i=t,{t:z}=l(),A=n(!1),D=n(5),G=d((()=>D.value>0)),K=d((()=>!A.value)),N=n([]),Q=n([]),{height:W}=o(),Y=d((()=>W.value?.9*W.value+"px":"auto")),Z=()=>{const e=setInterval((()=>{D.value--,D.value<=0&&clearInterval(e)}),1e3)},ee=()=>{i("close")},te=()=>{M({title:z("Home.Update.index_24"),content:z("Home.Update.index_25"),onConfirm:async()=>{await j(),await C(),$()}})};return(async()=>{const{message:e}=await U();w(e)&&(N.value=e.beta_ps.split("<br>").map((e=>e.trim())),Q.value=e.list,Z())})(),(e,t)=>{const i=s("i18n-t"),l=I,n=L,d=a;return p(),c("div",P,[r("div",{class:"p-20px overflow-auto",style:_({maxHeight:g(Y)})},[r("div",B,[r("div",S,x(e.$t("Home.Update.index_20")),1),r("ul",T,[(p(!0),c(v,null,u(g(N),((e,t)=>(p(),c("li",{key:e,class:m(["indent--15px pl-15px leading-20px",{"mt-8px":0!==t}])},x(e),3)))),128))])]),r("div",q,[r("div",E,x(e.$t("Home.Update.index_21")),1),r("div",F,[(p(!0),c(v,null,u(g(Q),(e=>(p(),c("div",{key:e.version,class:"version"},[t[1]||(t[1]=r("div",{class:"active"},null,-1)),r("div",J,x(g(H)(e.uptime,"yyyy-MM-dd")),1),r("div",O,x(e.version),1),r("div",{class:"content",innerHTML:e.upmsg},null,8,R)])))),128))])]),r("div",null,[b(l,{checked:g(A),"onUpdate:checked":t[0]||(t[0]=e=>y(A)?A.value=e:null),disabled:g(G)},{default:f((()=>[b(i,{tag:"div",class:"text-14px",keypath:"Home.Update.index_23_1"},h({title:f((()=>[r("span",V,x(e.$t("Home.Update.index_23_2")),1)])),_:2},[g(D)>0?{name:"wait",fn:f((()=>[r("span",X,x(e.$t("Home.Update.index_23_3",[g(D)])),1)])),key:"0"}:void 0]),1024)])),_:1},8,["checked","disabled"])])],4),b(d,null,{default:f((()=>[b(n,{class:"cancel-btn",size:"small",color:"#cbcbcb",onClick:ee},{default:f((()=>[k(x(e.$t("Public.Btn.Cancel")),1)])),_:1}),b(n,{type:"primary",size:"small",disabled:g(K),onClick:te},{default:f((()=>[k(x(e.$t("Home.Update.index_19")),1)])),_:1},8,["disabled"])])),_:1})])}}}),[["__scopeId","data-v-76523929"]]))}}}));
