import{_ as e,a as t,i as n,s as r}from"./i18n-DfIivedY.js";import{t as i}from"./markdown-lite-DXMYFXRe.js";import{t as a}from"./marketing-shell-Buirr78R.js";var o=e(),s=t();function c(e){let t=(0,o.c)(39),{shell:i,brand:c,entries:u}=e,{t:d}=n(),f;t[0]!==c||t[1]!==d?(f=d(`Changelog — :brand`,{brand:c}),t[0]=c,t[1]=d,t[2]=f):f=t[2];let p;t[3]!==c||t[4]!==d?(p=d(`Release notes for :brand — every shipped change, organised by version.`,{brand:c}),t[3]=c,t[4]=d,t[5]=p):p=t[5];let m;t[6]===p?m=t[7]:(m=(0,s.jsx)(`meta`,{name:`description`,content:p}),t[6]=p,t[7]=m);let h;t[8]!==f||t[9]!==m?(h=(0,s.jsx)(r,{title:f,children:m}),t[8]=f,t[9]=m,t[10]=h):h=t[10];let g;t[11]===d?g=t[12]:(g=d(`Changelog`),t[11]=d,t[12]=g);let _;t[13]===g?_=t[14]:(_=(0,s.jsx)(`span`,{className:`inline-flex items-center gap-2 rounded-full border border-slate-900/10 bg-white/85 px-3 py-1 text-xs font-semibold tracking-[0.2em] text-slate-600 uppercase`,children:g}),t[13]=g,t[14]=_);let v;t[15]!==c||t[16]!==d?(v=d(`What's new in :brand`,{brand:c}),t[15]=c,t[16]=d,t[17]=v):v=t[17];let y;t[18]===v?y=t[19]:(y=(0,s.jsx)(`h1`,{className:`mt-5 text-4xl font-bold tracking-tight text-slate-950 sm:text-5xl`,children:v}),t[18]=v,t[19]=y);let b;t[20]===d?b=t[21]:(b=d(`Every shipped change, newest first. Linkable per version — anchor on`),t[20]=d,t[21]=b);let x;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,s.jsx)(`code`,{className:`rounded bg-slate-100 px-1 font-mono text-sm`,children:`#vX.Y.Z`}),t[22]=x):x=t[22];let S;t[23]===b?S=t[24]:(S=(0,s.jsxs)(`p`,{className:`mt-4 max-w-2xl text-base leading-7 text-slate-600`,children:[b,` `,x,`.`]}),t[23]=b,t[24]=S);let C;t[25]!==S||t[26]!==_||t[27]!==y?(C=(0,s.jsx)(`section`,{className:`mx-auto max-w-3xl px-6 pt-16 pb-10 lg:pt-20`,children:(0,s.jsx)(`div`,{className:`flex items-end justify-between gap-4`,children:(0,s.jsxs)(`div`,{children:[_,y,S]})})}),t[25]=S,t[26]=_,t[27]=y,t[28]=C):C=t[28];let w;t[29]!==u||t[30]!==d?(w=(0,s.jsx)(`section`,{className:`mx-auto max-w-3xl px-6 pb-24`,children:u.length===0?(0,s.jsx)(`p`,{className:`text-sm text-slate-500`,children:d(`No published entries yet.`)}):(0,s.jsx)(`div`,{className:`grid gap-12`,children:u.map(l)})}),t[29]=u,t[30]=d,t[31]=w):w=t[31];let T;t[32]!==i||t[33]!==C||t[34]!==w?(T=(0,s.jsxs)(a,{content:i,children:[C,w]}),t[32]=i,t[33]=C,t[34]=w,t[35]=T):T=t[35];let E;return t[36]!==T||t[37]!==h?(E=(0,s.jsxs)(s.Fragment,{children:[h,T]}),t[36]=T,t[37]=h,t[38]=E):E=t[38],E}function l(e){return(0,s.jsxs)(`article`,{id:e.version,className:`scroll-mt-24`,children:[(0,s.jsxs)(`header`,{className:`flex flex-wrap items-baseline gap-3 border-b border-slate-900/10 pb-3`,children:[(0,s.jsx)(`h2`,{className:`font-mono text-2xl font-bold tracking-tight text-slate-950`,children:e.version}),e.released_at_human&&(0,s.jsx)(`time`,{className:`text-sm text-slate-500`,dateTime:e.released_at??void 0,children:e.released_at_human})]}),(0,s.jsx)(`h3`,{className:`mt-4 text-lg font-semibold text-slate-900`,children:e.title}),(0,s.jsx)(`div`,{className:`mt-3 text-[15px] leading-7 text-slate-700`,children:(0,s.jsx)(i,{markdown:e.body,variant:`changelog`})})]},e.version)}export{c as default};