1import v from"./o17oftnj.js";import{_ as y}from"./SbAe6jDn.js";import l from"./BZGgxSOV.js";import{u as g}from"./BdYz40au.js";import{o as e,c as s,n as r,v as n,a,t as c,i as k,j as d,b as i,F as f,r as _,w as m,d as u}from"./B7A9RFpj.js";import"./B8IKnCnP.js";const x=["src"],L={class:"post-body"},N={class:"post-text-container"},B={class:"card-subtitle my-2"},w={class:"row"},z={class:"col-sm-12 text-left"},C={key:0},D={key:1},O={__name:"PostPreview",props:{post:{type:Object,required:!0},verticalStyle:{type:Boolean,required:!0}},setup(t){return(M,S)=>{const h=v,p=y;return t.post?(e(),s("div",{key:0,class:r(["post-container",t.post.category])},[t.post.thumbnailImage?(e(),s("img",{key:0,class:r([t.verticalStyle?"img-vertical":"img-horizontal","post-image"]),src:t.post.thumbnailImage},null,10,x)):n("",!0),a("div",L,[a("div",N,[a("small",B,c(k(g)(t.post.publishOn,"MMMM DD, YYYY zz")),1),t.post.disclaimer?(e(),d(l,{key:0,tag:"div",paragraph:"",class:"card-text",html:t.post.disclaimer},null,8,["html"])):n("",!0),i(l,{tag:"h3",class:"card-title",html:t.post.title},null,8,["html"]),t.post.description?(e(),d(l,{key:1,tag:"div",paragraph:"",class:"post-description",html:t.post.description},null,8,["html"])):n("",!0)]),a("div",w,[a("div",z,[(e(!0),s(f,null,_(t.post.buttons,(o,b)=>(e(),s("div",{key:b,class:"post-external-button"},[o.buttonLink?(e(),s("div",C,[i(h,{url:o.buttonLink,class:"btn btn-secondary"},{default:m(()=>[u(c(o.buttonLabel),1)]),_:2},1032,["url"])])):(e(),s("div",D,[i(p,{to:`/posts/${t.post.postId}`,class:"btn btn-secondary"},{default:m(()=>[u(c(o.buttonLabel),1)]),_:2},1032,["to"])]))]))),128))])])])],2)):n("",!0)}}};export{O as default};
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.