1import{_ as y}from"./ipdUnuGo.js";import{_ as C}from"./BAcgEUJC.js";import $ from"./CpGz2OWG.js";import{_ as I}from"./DJtskuq3.js";import{r as k,f as A,a as D,p as R,m as U}from"./KOxuAXOH.js";import{m as B}from"./BFE7Q580.js";import{u as E}from"./D4WVVEtf.js";import{G as N,I as P,b as S,c as l,h as e,e as s,g as n,A as V,E as H,l as u,L,o as c}from"./CK_GmbMs.js";import{u as M}from"./B3Qm6o-9.js";import"./BkFPvYMv.js";import"./u5vVCtvr.js";const q={key:0},F={class:"container mx-auto mb-16 max-w-4xl px-4 md:px-6"},G={class:"flex flex-col gap-80"},j={class:"pb-28 text-slate-100"},z={class:"container mx-auto w-full max-w-4xl px-4 md:px-6"},J={class:"mx-auto max-w-[46rem] border-b border-white/10 pb-10"},K={class:"container mx-auto mt-36 px-4 pt-8 md:px-6"},nt={__name:"[slug]",async setup(O){let o,i;const{find:p}=E(),d=N(),g=H(),m=u(()=>d.params.slug),{data:t,pending:_}=([o,i]=P(async()=>M(m.value,async()=>{const a=await p("presses",{populate:["hero","tags"],filters:{slug:{$eq:m.value}},pagination:{limit:100,start:0}});return a.data.length===0&&L("Page not found"),a.data[0].attributes},"$sIMC49kLoe")),o=await o,i(),o),f=t.value.hero.data.attributes.formats.small.url,r=`${g.public.strapi.url}${f}`;S({title:t.value.title,description:t.value.subheadline,ogTitle:t.value.title,ogUrl:`https://tensorpix.ai/press/${t.value.slug}`,ogImage:r,ogImageUrl:r,ogImageSecureUrl:r,ogDescription:t.value.subheadline,twitterDescription:t.value.subheadline,twitterImage:r});const h=u(()=>{if(t.value){const a=U(t.value.content);return B.parse(a)}return""});return(a,b)=>{const x=y,w=C,v=$,T=I;return c(),l("div",null,[!e(_)&&e(t)?(c(),l("main",q,[s("div",F,[n(x,{class:"mx-auto flex max-w-[46rem] flex-col gap-5 border-b border-white/10 pb-10 pt-12 md:pt-16","top-label":("prettyTags"in a?a.prettyTags:e(D))(("parseTags"in a?a.parseTags:e(R))(e(t).tags)),title:e(t).title,subtitle:e(t).subheadline,author:e(t).author,"date-time":e(t).updatedAt,"formatted-date":("formatDate"in a?a.formatDate:e(A))(e(t).updatedAt),"read-time-minutes":("readingTime"in a?a.readingTime:e(k))(e(t).content)},null,8,["top-label","title","subtitle","author","date-time","formatted-date","read-time-minutes"])]),s("main",G,[s("div",j,[s("div",z,[s("article",J,[n(w,{html:e(h)},null,8,["html"])])]),s("section",K,[n(v)])]),s("section",null,[n(T)])])])):V("",!0)])}}};export{nt 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.