1import{_}from"./gMQZ3bgY.js";import{_ as g}from"./D2DEg0B1.js";import{d as b,u as f,c as a,e as n,q as P,F as B,r as y,f as k,j as r,k as h,s as C,o,_ as x}from"./49H4LPy_.js";const v={class:"section section--posts"},G={class:"container"},L=["mobile-center"],E=b({__name:"PostGrid",props:{posts:{},noPagination:{type:Boolean,default:!1},mobileCenter:{type:Boolean,default:!1},useLabel:{type:Boolean,default:!1},currentPage:{default:1},totalPages:{default:1},baseUrl:{default:"/blog/"}},setup(e){const s=e,l=f(),c={post:{en:"Blog Post",de:"Blog-Post"},ebook:{en:"eBook",de:"E-Book"},webinar:{en:"Webinar",de:"Webinar"},customer:{en:"Customer Story",de:"Erfahrungsbericht"},glossary:{en:"Glossary",de:"Glossar"},integration:{en:"Integration",de:"Integration"}},i=C(()=>s.useLabel?s.posts.map(t=>({...t,label:t.postType?c[t.postType]?.[l]:void 0})):s.posts);return(t,I)=>{const u=_,d=g;return o(),a("section",v,[n("div",G,[P(t.$slots,"default",{},void 0,!0),n("cto-grid",{"mobile-center":e.mobileCenter},[(o(!0),a(B,null,y(k(i),(p,m)=>(o(),r(u,{key:`post-${m}`,post:p},null,8,["post"]))),128))],8,L),!e.noPagination&&e.totalPages>1?(o(),r(d,{key:0,"current-page":e.currentPage,"total-pages":e.totalPages,"base-url":e.baseUrl},null,8,["current-page","total-pages","base-url"])):h("",!0)])])}}}),N=Object.assign(x(E,[["__scopeId","data-v-69b2eccb"]]),{__name:"PostGrid"});export{N 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.