1import{i as e,n as t}from"./DFKnjcOR.js";import{D as n,J as r,On as i,Zn as a,_ as o,b as s,bt as c,g as l,k as u,mt as d,o as f,qt as p,v as m}from"./B4b-2GOK.js";import{t as h}from"./Cu1eWn-S.js";import{t as g}from"./CgdQ4AwD.js";import{t as _}from"./DqTQKdbW.js";import{t as v}from"./Hd1Rk5dq2.js";import{t as y}from"./BxWDuHU82.js";import{i as b}from"./B82WPTON2.js";import{t as x}from"./BJOkDUC22.js";var S={class:`relative h-[300px] overflow-hidden`},C={class:`flex grow flex-col justify-between gap-6 px-5 pb-5`},w={class:`flex gap-2`},T={class:`flex h-full flex-col justify-between gap-2`},E={class:`flex items-center`},D=u({__name:`BlogCard`,props:{title:{},tags:{},date:{},readingTime:{},image:{},url:{}},setup(e){let u=e,{localeProperties:D}=t(),O=r(b),k=l(()=>new Date(u.date).toLocaleDateString(D.value.code,{year:`numeric`,month:`long`,day:`numeric`}));return(t,r)=>{let l=g,u=h;return d(),m(u,{class:`flex flex-col gap-5 overflow-hidden rounded-2xl bg-white transition-all duration-150 hover:scale-[1.02]`,to:i(x)(e.url,i(D).displayLang),target:`_blank`},{default:p(()=>[o(`div`,S,[n(l,{src:e.image.src,alt:t.$t(e.image.alt),class:`absolute inset-0 size-full object-cover object-center`,format:`webp`,sizes:`225px md:300px lg:400px`,loading:`lazy`},null,8,[`src`,`alt`])]),o(`div`,C,[o(`ul`,w,[(d(!0),s(f,null,c(e.tags,e=>(d(),s(`li`,{key:e,class:a([`rounded-full px-4 py-[11px]`,{"bg-grey-300":i(O)===`tracker`,"bg-green-200":i(O)===`animal`}])},[n(v,{class:`font-semibold first-letter:capitalize`,text:e},null,8,[`text`])],2))),128))]),o(`div`,T,[n(y,{class:`font-medium`,text:e.title},null,8,[`text`]),o(`div`,E,[n(_,{class:`text-grey-600`,text:i(k),translation:!1},null,8,[`text`]),r[0]||=o(`div`,{class:`mx-4 size-1 rounded-full bg-grey-600`},null,-1),n(_,{class:`text-grey-600`,text:t.$t(`readingTime`,{n:e.readingTime}),translation:!1},null,8,[`text`])])])])]),_:1},8,[`to`])}}}),O=e({default:()=>k}),k=Object.assign(D,{__name:`CustomsBlogCard`});export{O as n,k 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.