import{t as e}from"./jsx-runtime-B6e-FjZo.js";import{t}from"./marketing-shell-BgmMHIlN.js";import{Ar as n,Ht as r,Sr as i}from"./app-figJB8d1.js";import{t as a}from"./markdown-lite-CypFvHVS.js";var o=n(),s=e();function c(e){let n=(0,o.c)(39),{shell:a,brand:c,entries:u}=e,{t:d}=r(),f;n[0]!==c||n[1]!==d?(f=d(`Changelog — :brand`,{brand:c}),n[0]=c,n[1]=d,n[2]=f):f=n[2];let p;n[3]!==c||n[4]!==d?(p=d(`Release notes for :brand — every shipped change, organised by version.`,{brand:c}),n[3]=c,n[4]=d,n[5]=p):p=n[5];let m;n[6]===p?m=n[7]:(m=(0,s.jsx)(`meta`,{name:`description`,content:p}),n[6]=p,n[7]=m);let h;n[8]!==f||n[9]!==m?(h=(0,s.jsx)(i,{title:f,children:m}),n[8]=f,n[9]=m,n[10]=h):h=n[10];let g;n[11]===d?g=n[12]:(g=d(`Changelog`),n[11]=d,n[12]=g);let _;n[13]===g?_=n[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}),n[13]=g,n[14]=_);let v;n[15]!==c||n[16]!==d?(v=d(`What's new in :brand`,{brand:c}),n[15]=c,n[16]=d,n[17]=v):v=n[17];let y;n[18]===v?y=n[19]:(y=(0,s.jsx)(`h1`,{className:`mt-5 text-4xl font-bold tracking-tight text-slate-950 sm:text-5xl`,children:v}),n[18]=v,n[19]=y);let b;n[20]===d?b=n[21]:(b=d(`Every shipped change, newest first. Linkable per version — anchor on`),n[20]=d,n[21]=b);let x;n[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`}),n[22]=x):x=n[22];let S;n[23]===b?S=n[24]:(S=(0,s.jsxs)(`p`,{className:`mt-4 max-w-2xl text-base leading-7 text-slate-600`,children:[b,` `,x,`.`]}),n[23]=b,n[24]=S);let C;n[25]!==S||n[26]!==_||n[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]})})}),n[25]=S,n[26]=_,n[27]=y,n[28]=C):C=n[28];let w;n[29]!==u||n[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)})}),n[29]=u,n[30]=d,n[31]=w):w=n[31];let T;n[32]!==a||n[33]!==C||n[34]!==w?(T=(0,s.jsxs)(t,{content:a,children:[C,w]}),n[32]=a,n[33]=C,n[34]=w,n[35]=T):T=n[35];let E;return n[36]!==T||n[37]!==h?(E=(0,s.jsxs)(s.Fragment,{children:[h,T]}),n[36]=T,n[37]=h,n[38]=E):E=n[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)(a,{markdown:e.body,variant:`changelog`})})]},e.version)}export{c as default};