1import{u as k,_ as v}from"./hGIbwhVh.js";import{_ as x}from"./79Cfb-l-.js";import{_ as A}from"./zWONcVvA.js";import{d as y,e as B,x as C,w as m,a as E,f as b,q as _,b as u,g as a,u as h,o as n}from"./C7Q8xst1.js";import{u as H}from"./CgF82TX6.js";import"./CEBsvvRR.js";const j=y({__name:"[page]",async setup(I){var p;let e,s;const{get:i}=h(),{locale:c}=B(),{params:g}=C(),{buildSEOTags:f}=k(),{data:t}=([e,s]=m(()=>i(`/api/pages/news?locale=${c.value}`)),e=await e,s(),e),{data:o}=([e,s]=m(()=>i(`/api/articles?locale=${c.value}&limit=9&page=${g.page}`)),e=await e,s(),e);return H({...f((p=t==null?void 0:t.value)==null?void 0:p.seo)}),(N,O)=>{var l,r;const d=v,w=x,$=A;return n(),E("div",null,[b(d,{title:a(t).title,image:a(t).image||void 0},null,8,["title","image"]),a(o)?(n(),_(w,{key:0,articles:a(o).items,type:"grid-news"},null,8,["articles"])):u("",!0),(l=a(o))!=null&&l.pagination?(n(),_($,{key:1,prefix:"/news/page",config:(r=a(o))==null?void 0:r.pagination},null,8,["config"])):u("",!0)])}}});export{j 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.