PageSourceSearch

https://www.afjql.fr/_app/immutable/nodes/10.DD60nxRI.js

js afjql.fr collected 2026-10-04 13:24:37 UTC 5,519 bytes, 1 lines download raw bytes

1import{d as ct,i as w,a as m,f as h,b as c,g as dt}from"../chunks/DitfCwLp.js";import{p as vt,c as ut,h as gt,e as n,g as t,l as F,i as mt,j as d,n as v,r as o,k as f,y as Y,a as ht}from"../chunks/BOeOocOY.js";import{l,e as Z,h as tt,s as J,i as et}from"../chunks/BKsb4KTf.js";import{u as rt}from"../chunks/CDrsR-yx.js";import{P as pt}from"../chunks/BgXr01GD.js";import{S as ft}from"../chunks/Bhl2UZj0.js";var xt=h('<section class="px-6 py-16"><p class="text-center text-sm text-slate"> </p></section>'),_t=h('<img loading="lazy" decoding="async" width="160" height="100" class="h-12 w-12 shrink-0 rounded-lg object-cover sm:h-25 sm:w-40"/>'),bt=h('<p class="text-sm text-slate"> </p>'),yt=h('<a class="group flex items-start gap-5 rounded-xl border border-light-gray bg-white p-6 transition-all hover:border-red/30 hover:shadow-md"><!> <div class="flex-1"><div class="mb-1 flex items-center gap-3"><span class="font-ui text-xs tracking-wider text-red"> </span></div> <h3 class="mb-1 text-lg font-bold text-navy"> </h3> <!></div> <div class="hidden h-10 w-10 shrink-0 items-center justify-center rounded-full border border-light-gray text-slate transition-all group-hover:border-red group-hover:text-red sm:flex">→</div></a>'),wt=h('<section class="px-6 py-16"><div class="mx-auto max-w-225"><div class="section-label"> </div> <h2 class="mb-8 text-2xl font-bold text-navy"> </h2> <div class="flex flex-col gap-4"></div></div></section>'),Ft=h('<img loading="lazy" decoding="async" width="120" height="80" class="h-10 w-10 shrink-0 rounded-md object-cover sm:h-16 sm:w-24"/>
1'),St=h('<a class="group flex items-center gap-4 rounded-lg border border-light-gray bg-white/60 p-5 transition-all hover:bg-white"><!> <div class="flex-1"><span class="font-ui text-xs text-slate"> </span> <h3 class="text-base font-bold text-navy/70"> </h3></div> <span class="font-ui text-xs text-slate transition-colors group-hover:text-red">→</span></a>'),kt=h('<div class="mt-8 text-center"><button class="rounded-full border border-navy/15 px-7 py-2.5 font-ui text-[13px] text-navy transition-colors hover:bg-cream"> </button></div>'),Jt=h('<section class="px-6 py-16"><div class="mx-auto max-w-225"><div class="section-label"> </div> <h2 class="mb-8 text-2xl font-bold text-navy"> </h2> <div class="flex flex-col gap-3"></div> <!></div></section>'),Pt=h("<!> <!> <!> <!> <!>",1);function Nt(at,I){vt(I,!0);const M=6;let S=mt(M);const D=F(()=>I.data.events??[]),O=new Date().toISOString().slice(0,10),T=F(()=>t(D).filter(e=>e.dateStart&&e.dateStart>=O)),z=F(()=>t(D).filter(e=>!e.dateStart||e.dateStart<O)),V=F(()=>t(z).slice(0,t(S))),st=F(()=>t(S)<t(z).length);function q(e){return e?new Date(e).toLocaleDateString(l.current==="fr"?"fr-FR":"ja-JP",{year:"numeric",month:"long",day:"numeric"}):""}function E(e){return typeof e.slug=="string"?e.slug:e.slug?.current||""}var G=Pt(),K=ut(G);ft(K,{title:"Événements — AFJQL",description:"Les prochains rendez-vous et événements passés de l'Amicale Franco-Japonaise du Quartier Latin : ateliers, concerts, expositions."});var U=n(K,2);{let e=F(()=>l.current==="fr"?"Événements":"イベント"),i=F(()=>l.current==="fr"?"Nos prochains rendez-vous et événements passés":"今後のイベントと過去のイベント");pt(U,{get title(){return t(e)},get subtitle(){return t(i)}})}var W=n(U,2);{var nt=e=>{var i=xt(),x=d(i),_=v(x,!0);o(i),f(()=>c(_,l.current==="fr"?"Aucun événement pour le moment. Revenez bientôt !":"イベントは近日公開。お楽しみに!")),m(e,i)};w(W,e=>{t(D).length===0&&e(nt)})}var X=n(W,2);{var it=e=>{var i=wt(),x=d(i),_=d(x),N=v(_,!0),P=n(_,2),R=v(P,!0),k=n(P,2);Z(k,21,()=>t(T),et,(H,a)=>{var u=yt(),r=d(u);{var p=s=>{var g=_t();f(C=>{J(g,"src",C),J(g,"alt",t(a).image.alt||(l.current==="fr"?t(a).titleFr:t(a).titleJp||t(a).titleFr))},[()=>rt(t(a).image).width(160).height(100).url()]),m(s,g)};w(r,s=>{t(a).image&&s(p)})}var b=n(r,2),j=d(b),L=d(j),$=v(L,!0);o(j);var A=n(j,2),Q=v(A,!0),B=n(A,2);{var y=s=>{var g=bt(),C=v(g);f(()=>c(C,`📍 ${t(a).locationName??""}`)),m(s,g)};w(B,s=>{t(a).locationName&&s(y)})}o(b),Y(2),o(u),f((s,g)=>{J(u,"href",s),c($,g),c(Q,l.current==="fr"?t(a).titleFr:t(a).titleJp||t(a).titleFr)},[()=>tt(`/evenements/${E(t(a))}`),()=>q(t(a).dateStart)]),m(H,u)}),o(k),o(x),o(i),f(()=>{c(N,l.current==="fr"?"À venir":"今後のイベント"),c(R,l.current==="fr"?"Prochains événements":"次回のイベント")}),m(e,i)};w(X,e=>{t(T).length>0&&e(it)})}var ot=n(X,2);{var lt=e=>{var i=Jt(),x=d(i),_=d(x),N=v(_,!0),P=n(_,2),R=v(P,!0),k=n(P,2);Z(k,21,()=>t(V),et,(u,r)=>{var p=St(),b=d(p);{var j=y=>{var s=Ft();f(g=>{J(s,"src",g),J(s,"alt",t(r).image.alt||(l.current==="fr"?t(r).titleFr:t(r).titleJp||t(r).titleFr))},[()=>rt(t(r).image).width(120).height(80).url()]),m(y,s)};w(b,y=>{t(r).image&&y(j)})}var L=n(b,2),$=d(L),A=v($,!0),Q=n($,2),B=v(Q,!0);o(L),Y(2),o(p),f((y,s)=>{J(p,"href",y),c(A,s),c(B,l.current==="fr"?t(r).titleFr:t(r).titleJp||t(r).titleFr)},[()=>tt(`/evenements/${E(t(r))}`),()=>q(t(r).dateStart)]),m(u,p)}),o(k);var H=n(k,2);{var a=u=>{var r=kt(),p=d(r),b=v(p,!0);o(r),f(()=>c(b,l.current==="fr"?`Voir plus (${t(z).length-t(S)} restants)`:`もっと見る(残り${t(z).length-t(S)}件)`)),dt("click",p,()=>ht(S,t(S)+M)),m(u,r)};w(H,u=>{t(st)&&u(a)})}o(x),o(i),f(()=>{c(N,l.current==="fr"?"Rétrospective":"過去のイベント"),c(R,l.current==="fr"?"Événements passés":"終了したイベント")}),m(e,i)};w(ot,e=>{t(V).length>0&&e(lt)})}m(at,G),gt()}ct(["click"]);export{Nt as component};

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.