1import{_ as b}from"./56p-yg89.js";import{d as v,u as w,bG as y,a as k,c as C,o as s,K as x,l as a,j as l,x as D,p as r,s as h,k as p,E as B,n as N,J as S,m as F,F as I,W as V}from"./DZ7mik94.js";import{_ as $}from"./CvFJ8Mle.js";import{u as E}from"./Bupw4VqN.js";import"./iik6CYzq.js";const G={class:"relative border-l-2 border-slate-100 ml-4 md:ml-8 space-y-16"},L={class:"flex flex-col md:flex-row gap-6 md:gap-12 items-start group"},j={class:"md:w-26 flex-shrink-0 flex flex-col md:items-end"},W={class:"text-2xl md:text-3xl font-black text-slate-900 leading-none tracking-tight"},z={class:"text-sm font-bold font-mono text-slate-400 mt-1"},J={class:"flex-1 bg-white border border-slate-100 rounded-2xl p-6 md:p-8 hover:shadow-xl hover:shadow-slate-200/50 transition-all duration-300 font-sans"},K={class:"text-3xl font-bold text-slate-900 mb-6"},M={class:"prose prose-slate max-w-none mb-6"},O={key:0,class:"rounded-xl overflow-hidden border border-slate-100 bg-slate-50 mb-6"},P=["src","alt"],R={key:1,class:"mt-8"},T=v({__name:"index",async setup(U){let n,u;const{t:Y}=w(),{data:c}=([n,u]=y(()=>E("/webapi/changelog",{key:"changelog-data",getCachedData(t,o){return o.payload.data[t]||o.static.data[t]}},"$vBlf774IOG")),n=await n,u(),n),f=k(()=>c.value&&c.value.success?c.value.data.items.map(t=>({id:t.id,date:t.date,title:t.title,content:t.content,image:t.image||void 0,cta:t.cta_label&&t.cta_link?{label:t.cta_label,link:t.cta_link}:void 0})):[]),m=t=>{const o=new Date(t),d=o.toLocaleString("en-US",{month:"short"}),i=o.getDate().toString().padStart(2,"0"),_=o.getFullYear();return{primary:`${d} ${i}`,secondary:_}};return(t,o)=>{const d=b,i=N,_=S,g=$;return s(),C(g,{title:"Changelog",subtitle:"Explore the latest updates, improvements, and fixes to the WisGate platform.","max-content-width":"max-w-7xl"},{default:x(()=>[a("div",G,[(s(!0),l(I,null,D(F(f),e=>(s(),l("div",{key:e.id,class:"relative pl-8 md:pl-16"},[o[0]||(o[0]=a("div",{class:"absolute -left-[9px] top-6 w-4 h-4 rounded-full border-4 border-white bg-slate-300 font-sans z-10 transition-colors duration-300 group-hover:bg-slate-500"},null,-1)),a("div",L,[a("div",j,[a("div",W,r(m(e.date).primary),1),a("div",z,r(m(e.date).secondary),1)]),a("div",J,[a("h2",K,r(e.title),1),a("div",M,[p(d,{value:e.content,tag:"article"},null,8,["value"])]),e.image?(s(),l("div",O,[a("img",{src:e.image,alt:e.title,class:"w-full h-auto object-cover"},null,8,P)])):h("",!0),e.cta?(s(),l("div",R,[p(_,{to:e.cta.link,class:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-slate-900 text-white font-bold hover:opacity-90 transition-opacity"},{default:x(()=>[B(r(e.cta.label)+" ",1),p(i,{name:"lucide:arrow-right",class:"w-4 h-4"})]),_:2},1032,["to"])])):h("",!0)])])]))),128))])]),_:1})}}}),Z=V(T,[["__scopeId","data-v-3e1d163d"]]);export{Z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.