import{dc as s,Y as a,l as e,_ as t}from"./utils-lib.js?v=20260328163632";import{k as i,ah as o,o as l,U as n,V as r,W as c,l as d,Y as m,F as v,L as p,X as u,Z as f,a1 as g}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const _={class:"p-[20px]"},h={class:"h-[320px] overflow-auto"},y={class:"log-info-item-date"},b={class:"log-info-item-title"},j=["innerHTML"],x={key:1,class:"flex items-center justify-center h-full"},k={class:"text-[var(--text-color-2)]"},H=t(i({__name:"history-version",setup(t){const{historyData:i,historyLoad:H,pluginModuleInfo:L}=o(s()),{getHistoryVersion:M}=s();return l(M),(s,t)=>{var o,l;const M=n("bt-loading");return r(),c("div",_,[d((r(),c("div",h,[(null==(o=m(i))?void 0:o.length)?(r(!0),c(v,{key:0},p(m(i),((s,i)=>(r(),c("div",{class:"log-info-item",key:i},[t[0]||(t[0]=u("span",{class:"log-info-item-active"},null,-1)),u("div",y,f(m(a)(s.update_time)),1),u("div",b,f(m(L).title+s.m_version+"."+s.version+" - "+(s.beta?m(e)("测试版"):m(e)("正式版"))),1),u("div",{class:"log-info-item-content",innerHTML:s.update_msg.replace(/\n/g,"<br>")},null,8,j)])))),128)):g("",!0),(null==(l=m(i))?void 0:l.length)?g("",!0):(r(),c("div",x,[u("span",k,f(m(e)("暂无日志数据")),1)]))])),[[M,m(H)]])])}}}),[["__scopeId","data-v-c0029c97"]]);export{H as default};
