import{m as d,d as i,o as p,f as u,w as _,h as e,k as a,t as r,_ as f}from"./CWtpRkXC.js";import{u as m}from"./BnrcbPnf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="16f917dc-a8f5-4a37-96a0-32c7e47d8cc4",t._sentryDebugIdIdentifier="sentry-dbid-16f917dc-a8f5-4a37-96a0-32c7e47d8cc4")}catch{}})();const g=["src"],b={class:"p-8"},h={class:"mb-4 mt-1.5 text-2xl font-medium leading-tight"},w={class:"opacity-75"},D=d({__name:"blog-teaser",props:{post:{},baseUrl:{}},setup(t){const s=t,{assetUrl:n}=m(),c=i(()=>s.post.url?s.post.url:`${s.baseUrl}/post/${s.post.slug}`);return(o,y)=>{const l=f;return p(),u(l,{to:a(c),class:"bg-white rounded-sm shadow-sm overflow-clip"},{default:_(()=>[e("img",{src:a(n)(o.post.teaser_image.s370x278.url),class:"block w-full"},null,8,g),e("div",b,[e("h3",h,r(o.post.title),1),e("p",w,r(o.post.teaser_text),1)])]),_:1},8,["to"])}}});export{D as _};
