1import{D as e,E as t,On as n,_ as r,b as i,bt as a,g as o,k as s,mt as c,nr as l,o as u,qt as d,v as f,y as p}from"./CrzdsfCC.js";import{t as m}from"./BwhuZxJb.js";import{n as h}from"./BkVb9gRD.js";import{t as g}from"./IjQ84A3x.js";var _={class:`flex flex-col gap-y-5 md:flex-row md:gap-3`},v=[`height`,`width`,`src`,`alt`],y={class:`flex max-w-xs flex-col`},b={class:`flex max-w-72 gap-1`},x={key:0},S={class:`line-clamp-3 cursor-pointer pt-1 text-2xl font-semibold text-black transition hover:text-orange-700`},C={class:`line-clamp-4 hidden pt-2 text-base text-gray-700 md:block`},w=Object.assign(s({__name:`PostCard4`,props:{post:{}},setup(s){let w=o(()=>s.post.categories?.slice(0,3));return(o,T)=>{let E=m;return c(),i(`article`,_,[e(E,{to:(`createPermalink`in o?o.createPermalink:n(h))(s.post)},{default:d(()=>[r(`img`,{height:s.post.featured_image?.height,width:s.post.featured_image?.width,src:s.post.thumbnail?.conversions?.w512??s.post.featured_image?.conversions?.w512??s.post.thumbnail?.url??s.post.featured_image?.url??`/img/placeholder.png`,alt:`Image for article ${s.post?.title}`,class:`aspect-video h-full w-full object-cover object-center md:w-96`},null,8,v)]),_:1},8,[`to`]),r(`header`,y,[r(`div`,b,[(c(!0),i(u,null,a(n(w),(e,r)=>(c(),f(E,{to:`/category/${(`createNestedRoute`in o?o.createNestedRoute:n(g))(e)}`,class:`text-xs font-semibold whitespace-nowrap text-orange-600 uppercase`},{default:d(()=>[t(l(e.name)+` `,1),r===n(w)?.length-1?p(``,!0):(c(),i(`span`,x,`,`))]),_:2},1032,[`to`]))),256))]),e(E,{to:(`createPermalink`in o?o.createPermalink:n(h))(s.post)},{default:d(()=>[r(`h3`,S,l(s.post.title),1)]),_:1},8,[`to`]),r(`p`,C,l(s.post.excerpt),1)])])}}}),{__name:`PostCard4`});export{w as t};
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.