1import y from"./QytdzVpQ.js";import h from"./wK-Zg_bY.js";import{u as E}from"./sfJ__S09.js";import{q as v}from"./r6p6DBYr.js";import{aT as D,aU as w,aX as c,bh as F,ba as m,b0 as s,a$ as p,b4 as d,bb as k,bc as x}from"./CRg5yRSm.js";import"./CyGs6YwV.js";import"./fH1kIIAi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"282707ff51fe123ead96b084f4963cd751621eb4"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="5bcabd35-92d5-4c50-812d-c9d6cb4ff335",t._sentryDebugIdIdentifier="sentry-dbid-5bcabd35-92d5-4c50-812d-c9d6cb4ff335")}catch{}})();const C={class:"blog-posts"},I=D({__name:"BlogListing",props:{categoryFilter:{default:()=>[]},tagFilter:{default:()=>[]},limit:{default:0}},async setup(t){let o,l;const{locale:u}=w(),a=t,f=c(()=>u.value==="de"?"/blog/":`/${u.value}/blog/`),_=c(()=>[f.value,a.categoryFilter.join("_"),a.limit].filter(e=>e).join("_")),{data:b}=([o,l]=F(()=>E(_.value,()=>v("blog").select("path","stem","title","image","author","releaseDate","blogCategories","articleTags","description","tags").where("path","LIKE",`${f.value}%`).order("releaseDate","DESC").order("id","DESC").all(),"$dH0Nr9QKp3")),o=await o,l(),o),i=c(()=>{let e=b.value??[];return a.categoryFilter.length&&(e=e.filter(n=>n.blogCategories?.some(r=>a.categoryFilter.includes(r)))),a.tagFilter.length&&(e=e.filter(n=>n.tags?.some(r=>a.tagFilter.includes(r)))),a.limit?e.slice(0,a.limit):e});return(e,n)=>{const r=y;return s(),m("div",C,[d(i)&&d(i).length>0?(s(!0),m(k,{key:0},x(d(i),g=>(s(),p(h,{key:g.path,name:g.path,class:"mt-8 mt-md-16"},null,8,["name"]))),128)):(s(),p(r,{key:1}))])}}}),K=Object.assign(I,{__name:"BlogListing"});export{K 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.