import{a as u,o as e,b as i,f as s,c as r,w as n,k as c,F as g,v as m,h as _,t as o,l as h,j as p,m as b}from"./entry.2e87a052.js";const f={props:{post:{type:Object,required:!0}},computed:{postTitleExcerpt(){return this.post.title.rendered?this.post.title.rendered.length<=45?this.post.title.rendered:this.post.title.rendered.substring(0,45)+"...":""}}},x={class:"blog-single-grid"},k={class:"blog-image"},v=["src","alt"],N={class:"blog-info"},y={key:0,class:"blog-thumb-category"},B={class:"blog-meta"};function V(C,E,t,T,j,d){const l=b;return e(),i("div",x,[s("div",k,[t.post.post_img_thumbnail_large?(e(),r(l,{key:0,to:`/blog/${t.post.slug}`,class:"d-block",title:t.post.title.rendered},{default:n(()=>[s("img",{src:t.post.post_img_thumbnail_large,alt:t.post.title.rendered},null,8,v)]),_:1},8,["to","title"])):c("",!0)]),s("div",N,[t.post.post_categories.length?(e(),i("div",y,[(e(!0),i(g,null,m(t.post.post_categories,a=>(e(),r(l,{key:`post-cat-${a.term_id}`,to:"#",class:h(a.slug)},{default:n(()=>[_(o(a.name),1)]),_:2},1032,["class"]))),128))])):c("",!0),s("h6",null,[p(l,{to:`/blog/${t.post.slug}`,title:t.post.title.rendered},{default:n(()=>[_(o(d.postTitleExcerpt),1)]),_:1},8,["to","title"])]),s("div",B,o(t.post.post_date_formated)+" - "+o(t.post.reading_time)+" Read",1)])])}const F=u(f,[["render",V]]);export{F as _};
