PageSourceSearch

https://eluxemburgensia.lu/_nuxt/yqTWTfTD.js

js eluxemburgensia.lu collected 2026-10-02 10:09:51 UTC 977 bytes, 1 lines download raw bytes

1import{d as y}from"./DzA_KLH1.js";import{t as l,a as v}from"./BdCe-Mka.js";import{F as h}from"./C1zMZTeu.js";import{r as o}from"./DnGSyLZq.js";function b(m,f,r){const t=o(m),u=o([]),c=o(!0),a=o({numFound:0,currentPage:-1}),i=o(""),d=y(e=>{i.value=e,r&&l(r,v.SEARCH,e),u.value=[],s(0)},400),P=(e,n)=>{t.value=e,n||(u.value=[],s(0))},p=()=>{const e=Math.ceil(a.value.numFound/t.value.nbByPage);a.value={...a.value,computed:{maxPage:e,hasNext:a.value.currentPage<e-1,hasPrevious:a.value.currentPage>0}}},g=async()=>s(a.value.currentPage+1),s=async e=>{c.value=!0,r&&l(r,v.PAGE_CHANGE,`${e}`);const n=await f(e,t.value,i.value);if(t.value.cumulative){const A=[...u.value,...n.articles],F=h.fromArray(A).uniqueByField("id");u.value=F}else u.value=n.articles;a.value={...a.value,currentPage:e,numFound:n.numFound},p(),c.value=!1};return{loading:c,configuration:t,paginationState:a,items:u,searchTerm:i,updateSearchTerm:d,updateConfiguration:P,loadMore:g,fetchPage:s}}export{b as u};

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.