1import{_ as c}from"./Bdv2xjB9.js";import{_ as d}from"./Dlx19IXY.js";import{d as m,c as p,m as g,o as f,p as u,g as e,k as x,i as o,L as _,H as s}from"#entry";import{f as h}from"./C6SJhmet.js";const v={class:"relative overflow-hidden h-[180px] bg-gray-200 dark:bg-zinc-600 max-lg:h-[191px]"},b={class:"p-4 flex flex-col gap-2"},w={class:"font-xl leading-5 line-clamp-2 max-lg:line-clamp-3 text-gray-950 font-semibold dark:text-gray-200"},y={class:"font-light text-zinc-500 dark:text-gray-400 max-md:text-xs"},D=m({__name:"PostPreview",props:{post:{}},setup(t){const a=t,i=_(),r=p(()=>i.public.imageProvider==="ipx"?a.post.image_url:a.post.image_path);return(k,z)=>{const l=c,n=d;return f(),g(n,{to:`/blog/${t.post.slug}`,title:t.post.title,class:"group review-preview-item w-full flex flex-col bg-white rounded-xl overflow-hidden dark:border-zinc-700 dark:bg-zinc-800"},{default:u(()=>[e("div",v,[x(l,{provider:o(i).public.imageProvider,src:o(r),loading:"lazy",alt:t.post.title,quality:80,height:"180",format:"webp",class:"w-full h-full object-cover transition-transform duration-1000 transform group-hover:scale-110"},null,8,["provider","src","alt"])]),e("div",b,[e("h3",w,s(t.post.title),1),e("p",y,s(o(h)(new Date(t.post.created_at),"MMM dd, yyyy")),1)])]),_:1},8,["to","title"])}}});export{D as _};
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.