1import{j as e}from"./vendor-motion-hRg_q8lq.js";import{ao as w,c as v,u as k,ap as _,L as u,H as M}from"./index-BKzE8EQ8.js";import{b as S,r as x}from"./vendor-react-E98sgxjj.js";import{u as D}from"./vendor-query-bOUN_gKe.js";import{P as p,L as h}from"./LandingFooter-DjCjfhwD.js";import{A as j}from"./index-BxtVm1Yj.js";import{M as P}from"./index-DtA29OOy.js";import{r as A}from"./index-Cq7f-X06.js";import"./vendor-fa-Bn2dnpnC.js";import"./useLocaleNavigate-BNriJdRU.js";import"./UserAvatarMenu-BoKKInby.js";import"./Tooltip-C8AvPGtA.js";import"./Avatar-B60wpoS5.js";import"./MediaImage-DKgx-nW4.js";import"./tabBarStore-624ukDKJ.js";import"./socialLinks-DmmZmq5v.js";import"./exploreHandoff-RQymaHkp.js";import"./AuthShell-DPeun0C_.js";import"./AuthPanel-B4zt6SJ5.js";import"./pendingReferral-B4JPXhl_.js";import"./LaunchPromoClips-eRoWsyBt.js";function L(o,n,a="en-US"){const r=new Date(o),l=new Date(n),i=r.toLocaleDateString(a,{month:"long",day:"numeric"}),s=l.toLocaleDateString(a,{month:"long",day:"numeric",year:"numeric"});return`${i} â ${s}`}function f(o){let n=o.replace(/<h1\b[^>]*>[\s\S]*?<\/h1>/gi,"");return n=n.replace(/^\s*# [^\n\r]+[\n\r]?/gm,""),n}function ee(){const o=w(),{slug:n}=S(),{isLight:a}=v(),{t:r,i18n:l}
1=k("marketing"),[i,s]=x.useState(!1),[c,b]=x.useState("signup"),m=N=>{b(N||"signup"),s(!0)},{data:t=null,isFetching:d,isError:y}=D({queryKey:["changelog","detail",n],queryFn:()=>_.get(n),enabled:!!n,retry:!1}),g=!n||d;return y&&!d||!g&&!t?e.jsxs("div",{"data-prerender-error":"1",className:"min-h-screen bg-background text-foreground",children:[e.jsx(p,{onAuthClick:m,skipScrolled:!0}),e.jsxs("main",{className:"max-w-3xl mx-auto px-4 pt-32 pb-20 text-center",children:[e.jsx("h1",{className:"text-3xl font-bold text-foreground mb-4",children:r("changelogDetail.notFound")}),e.jsx("p",{className:"text-muted-foreground mb-8",children:r("changelogDetail.notFoundDescription")}),e.jsx(u,{to:"/changelog",className:"text-accent hover:text-accent/80 underline",children:r("changelogDetail.backToChangelog")})]}),e.jsx(h,{}),e.jsx(j,{isOpen:i,onClose:()=>s(!1),initialMode:c})]}):e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(M,{children:t&&t.slug===n&&e.jsxs(e.Fragment,{children:[e.jsx("title",{children:`${t.title} ${r("changelogDetail.titleSuffix")}`}),e.jsx("meta",{name:"description",content:t.subtitle?.trim()||t.title}),typeof window>"u"?"":e.jsx("link",{rel:"canonical",href:o}),e.jsx("meta",{property:"og:url",content:o}),e.jsx("meta",{property:"og:title",content:t.title}),e.jsx("meta",{property:"og:description",content:t.subtitle?.trim()||t.title}),t.cover_image&&e.jsx("meta",{property:"og:image",content:t.cover_image}),e.jsx("meta",{property:"og:type",content:"article"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:t.title}),e.jsx("meta",{name:"twitter:description",content:t.subtitle?.trim()||t.title}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.subtitle,datePublished:t.published_at,publisher:{"@type":"Organization",name:"Tesana",logo:{"@type":"ImageObject",url:"https://tesana.ai/logos/logo.png"}},mainEntityOfPage:{"@type":"WebPage","@id":o}})})]})}),e.jsx(p,{onAuthClick:m,skipScrolled:!0}),e.jsxs("main",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 pt-32 pb-20",children:[e.jsxs(u,{to:"/changelog",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors mb-8",children:[e.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})}),r("changelogDetail.allUpdates")]}),g?e.jsx("div",{className:"flex justify-center py-20",children:e.jsx("div",{className:"w-8 h-8 border-2 border-foreground
1/20 border-t-foreground/60 rounded-full animate-spin"})}):t?e.jsxs(e.Fragment,{children:[e.jsxs("header",{className:"mb-10",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[t.version_label&&e.jsx("span",{className:"text-xs font-medium px-2.5 py-1 rounded-full bg-accent/10 text-accent",children:t.version_label}),e.jsx("span",{className:"text-sm text-muted-foreground",children:L(t.period_start,t.period_end,l.language)}),e.jsx("span",{className:`text-sm ${a?"text-gray-400":"text-white/30"}`,children:r("changelog.minRead",{minutes:t.reading_time_minutes})})]}),e.jsx("h1",{className:"text-3xl md:text-4xl text-foreground leading-tight mb-4",children:t.title}),t.subtitle&&e.jsx("p",{className:"text-lg text-muted-foreground",children:t.subtitle}),t.cover_image&&e.jsx("div",{className:"mt-6 rounded-xl overflow-hidden",children:e.jsx("img",{src:t.cover_image,alt:t.title,className:"w-full h-auto object-cover"})})]}),t.body_html?e.jsx("article",{className:"blog-article-content",dangerouslySetInnerHTML:{__html:f(t.body_html)}}):t.body?e.jsx("article",{className:"blog-article-content",children:e.jsx(P,{remarkPlugins:[A],children:f(t.body)})}):null]}):null]}),e.jsx(h,{}),e.jsx(j,{isOpen:i,onClose:()=>s(!1),initialMode:c})]})}export{ee 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.