PageSourceSearch

https://saintgenisdhiersac.fr/_nuxt/Cb6mNWy9.js

js saintgenisdhiersac.fr collected 2026-10-02 21:41:58 UTC 2,176 bytes, 1 lines download raw bytes

1import{_ as F}from"./BXbBzVEl.js";import{_ as P}from"./CcAwt9PE.js";import{_ as j}from"./nhJWSjjs.js";import{x as D,r as f,O as x,B as p,u as O,c,a as s,t as l,g as e,F as U,K as E,b as v,i as M,Q as k,R as y,A as Q,P as A,o as n,j as $,w as R,k as V,d as G}from"./DUoPAE5K.js";import{a as B}from"./DZDkPkTh.js";import{s as H}from"./BYK8a5yG.js";import"./BqqvAdOw.js";const J={class:"main-cover"},K={class:"h1"},S=["src"],T={class:"main-path"},z={class:"regular-section"},W={key:0,class:"blog-grid"},X=["src","alt"],Y={class:"blog-card-text"},Z={key:0},tt={key:1},et={key:1},ut={__name:"index",async setup(st){let a,r;const d=Q(),N=D(),g=f(8),i=f(Number.parseInt(N.query.page||1)-1),{data:w}=([a,r]=x(()=>k(d.public.API_URL,y({page:"agenda"},"get-static-page"),"$6bLuEOQPJ5")),a=await a,r(),a),{data:m}=([a,r]=x(()=>k(d.public.API_URL,{query:{page_index:i},...y({page:"mon-quotidien:agenda",items_count:g.value,subpage:!0,published:!0},"get-build-page")},"$Vn8nBmnR_G")),a=await a,r(),a),u=p(()=>A(w).value.result||{}),h=p(()=>A(m).value.result||{});O({title:"Actualités"});const C=p(()=>{var _,o;return Math.ceil(Number.parseInt((o=(_=m.value)==null?void 0:_.params)==null?void 0:o.total_items)/g.value)||1});return(_,o)=>{const I=F,L=P,q=j;return n(),c("main",null,[s("section",J,[s("h1",K,l(e(u).title||"Agenda"),1),s("img",{src:e(B)(e(u).img,"/img/cover.jpeg"),alt:"Nous contacter"},null,8,S),s("div",T," Mon quotidien > "+l(e(u).title||"Agenda"),1)]),s("section",z,[Object.keys(e(h)).length?(n(),c("div",W,[(n(!0),c(U,null,E(e(h),(t,b)=>(n(),$(L,{key:"page-link-"+b,to:"/"+b.replaceAll(":","/"),class:"blog-card"},{default:R(()=>[s("img",{src:e(B)(t.short_img||t.img),alt:t.title},null,8,X),s("div",Y,[s("h3",null,l(t.short_title||t.title),1),t.short_text?(n(),c("p",Z,l(t.short_text),1)):V("",!0),t.date?(n(),c("b",tt,l(e(H)(t.date)),1)):V("",!0),v(I,{class:"blue"},{default:R(()=>o[1]||(o[1]=[G("Lire plus")])),_:1})])]),_:2},1032,["to"]))),128))])):(n(),c("div",et," Aucun article ")),s("div",null,[v(q,{modelValue:e(i),"onUpdate:modelValue":o[0]||(o[0]=t=>M(i)?i.value=t:null),"pages-count":e(C)},null,8,["modelValue","pages-count"])])])])}}};export{ut 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.