1import f from"./DJGDVVDO.js";import d from"./BGjvBoYB.js";import{_ as g,u as b}from"./DCNi1OA_.js";import{_ as v}from"./CfYGE7eN.js";import{useAisWidgets as h}from"./DzkqjiXC.js";import{a0 as k,p as y,o,h as r,z as a,t as A,g as c,W as $,a8 as C}from"./BipNxojO.js";import"./OCKdcrQV.js";const R='content.component:"pnt-article" OR content.component:"pnt-recipe"',W=k({__name:"articles",setup(w){const{t:i}=y(),{widgets:l}=h("pintys-global",({indexName:n})=>[b({sortBy:["name:desc"],attribute:"content.category",showMore:!0,limit:8,operator:"or"},n)]),s={"content.category":"pnt-articles-categories"};return(n,x)=>{const u=f,m=d,p=g,_=v;return o(),r(_,C(c(l),{configure:{filters:R},translate:{currentRefinements:(t,e)=>e.value(s[t.attribute],t.value)?.value?.current}}),{hit:a(({item:t,index:e})=>[(o(),r(u,{key:t.objectID,blok:t,class:"col-span-1 max-md:hidden"},null,8,["blok"])),(o(),r(m,{key:t.objectID,blok:t,class:"col-span-1 md:hidden"},null,8,["blok"])),$(n.$slots,"hit",{index:e})]),filters:a(()=>[A(p,{title:c(i)("filters.label_categories_articles"),attribute:"content.category",class:"border-t-0!",translate:(t,e)=>e.value(s["content.category"],t.value)?.value?.current??e.value("pnt-recipes-categories",t.value)?.value?.current},null,8,["title","translate"])]),_:3},16,["configure","translate"])}}});export{W 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.