PageSourceSearch

https://www.afjql.fr/_app/immutable/nodes/11.Ca-U2MyA.js

js afjql.fr collected 2026-10-04 13:24:39 UTC 4,893 bytes, 1 lines download raw bytes

1import{i as m,a as s,f as v,b as d,t as M}from"../chunks/DitfCwLp.js";import{p as me,c as T,h as ve,g as e,e as i,l as o,j as p,r as u,n as h,k as c}from"../chunks/BOeOocOY.js";import{l as f,h as pe,s as y}from"../chunks/BKsb4KTf.js";import{u as U}from"../chunks/CDrsR-yx.js";import{P as ue}from"../chunks/BgXr01GD.js";import{R as fe,m as ge,P as xe}from"../chunks/DZwEuY35.js";import{S as _e}from"../chunks/Bhl2UZj0.js";import{N as he}from"../chunks/DjNQBNdg.js";import{a as b}from"../chunks/DbX8Jsgi.js";var ye=v('<img width="800" height="400" class="mb-8 w-full rounded-xl object-cover"/>'),be=v('<div class="flex items-center gap-2 font-ui text-sm text-slate"> <!></div>'),Le=v('<p class="text-[15px] leading-relaxed text-slate"> </p>'),Ae=v('<p class="text-slate"> </p>'),Fe=v('<a target="_blank" rel="noopener noreferrer" class="mt-8 inline-block rounded-full bg-red px-8 py-3 font-ui text-sm tracking-wide text-white transition-colors hover:bg-red-hover"> </a>'),Se=v('<section class="px-6 py-16"><div class="mx-auto max-w-200"><!> <div class="mb-6 flex flex-wrap gap-4"><div class="flex items-center gap-2 font-ui text-sm text-red"> <!></div> <!></div> <!> <!> <div class="mt-12"><a class="font-ui text-sm text-blue transition-colors hover:text-blue-light"> </a></div> <!></div></section> <!>',1),Ee=v("<!> <!> <!>",1);function Ce(B,g){me(g,!0);const t=o(()=>g.data.event),H=o(()=>ge(g.data.related?.upcoming,g.data.related?.latest)),k=o(()=>f.current==="fr"?e(t)?.titleFr:e(t)?.titleJp||e(t)?.titleFr),x=o(()=>f.current==="fr"?e(t)?.descriptionFr:e(t)?.descriptionJp||e(t)?.descriptionFr),N=o(()=>e(t)?.seoExcerpt?.trim()?e(t).seoExcerpt.trim().slice(0,160):`Événement de l'AFJQL${e(t)?.locationName?` — ${e(t).locationName}`:""}`),L=o(()=>e(t)?.image?U(e(t).image).width(1200).height(630).url():void 0),K=o(()=>({"@context":"https://schema.org","@type":"Event",name:e(t)?.titleFr,...e(t)?.dateStart?{startDate:e(t).dateStart}:{},...e(t)?.dateStart?{endDate:e(t).dateEnd||e(t).dateStart}:{},eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",...e(t)?.locationName?{location:{"@type":"Place",name:e(t).locationName,...e(t)?.locationAddress?{address:{"@type":"PostalAddress",streetAddress:e(t).locationAddress,addressCountry:"FR"}}:{}}}:{},offers:{"@type":"Offer",url:e(t)?.externalLink||`${b}/evenements/${e(t)?.slug?.current??""}`,price:"0",priceCurrency:"EUR",availability:"https://schema.org/InStock",...e(t)?.dateStart?{validFrom:e(t).dateStart}:{}},...e(L)?{image:e(L)}:{},description:e(N),organizer:{"@type":"Organization",name:"Amicale Franco-Japonaise du Quartier Latin",url:b}})),q=o(()=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Accueil",item:b},{"@type":"ListItem",position:2,name:"Événements",item:`${b}/evenements`},{"@type":"ListItem",position:3,name:e(t)?.titleFr}]}));function P(l){return l?new Date(l).toLocaleDateString(f.current==="fr"?"fr-FR":"ja-JP",{weekday:"long",year:"numeric",month:"long",day:"numeric"}):""}var R=Ee(),D=T(R);{let l=o(()=>`${e(t)?.titleFr??"Événement"} — AFJQL`),_=o(()=>[e(K),e(q)]);_e(D,{get title(){return e(l)},get description(){return e(N)},get image(){return e(L)},get jsonLd(){return e(_)}})}var I=i(D,2);ue(I,{get title(){return e(k)}});var G=i(I,2);{var V=l=>{var _=Se(),A=T(_),J=p(A),j=p(J);{var W=r=>{var a=ye();c(n=>{y(a,"src",n),y(a,"alt",e(t).image.alt||e(k))},[()=>U(e(t).image).width(800).height(400).url()]),s(r,a)};m(j,r=>{e(t).image&&r(W)})}var F=i(j,2),S=p(F),C=p(S),X=i(C);{var Y=r=>{var a=M();c(n=>d(a,`→ ${n??""}`),[()=>P(e(t).dateEnd)]),s(r,a)};m(X,r=>{e(t).dateEnd&&r(Y)})}u(S);var Z=i(S,2);{var ee=r=>{var a=be(),n=p(a),de=i(n);{var ce=w=>{var z=M();c(()=>d(z,`— ${e(t).locationAddress??""}`)),s(w,z)};m(de,w=>{e(t).locationAddress&&w(ce)})}u(a),c(()=>d(n,`📍 ${e(t).locationName??""} `)),s(r,a)};m(Z,r=>{e(t).locationName&&r(ee)})}u(F);var $=i(F,2);{var te=r=>{xe(r,{get content(){return e(x)}})},re=o(()=>Array.isArray(e(x))),ae=r=>{var a=Le(),n=h(a,!0);c(()=>d(n,e(x))),s(r,a)},ne=r=>{var a=Ae(),n=h(a,!0);c(()=>d(n,f.current==="fr"?"Contenu à venir...":"コンテンツ準備中...")),s(r,a)};m($,r=>{e(re)?r(te):typeof e(x)=="string"?r(ae,1):r(ne,-1)})}var O=i($,2);{var ie=r=>{var a=Fe(),n=h(a,!0);c(()=>{y(a,"href",e(t).externalLink),d(n,f.current==="fr"?"En savoir plus →":"詳しく見る →")}),s(r,a)};m(O,r=>{e(t).externalLink&&r(ie)})}var E=i(O,2),Q=p(E),oe=h(Q);u(E);var se=i(E,2);fe(se,{get items(){return e(H)},basePath:"/evenements",labelKey:"related.events"}),u(J),u(A);var le=i(A,2);he(le,{}),c((r,a)=>{d(C,`📅 ${r??""} `),y(Q,"href",a),d(oe,`← ${f.current==="fr"?"Retour aux événements":"イベント一覧に戻る"}`)},[()=>P(e(t).dateStart),()=>pe("/evenements")]),s(l,_)};m(G,l=>{e(t)&&l(V)})}s(B,R),ve()}export{Ce 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.