1import f from"./BBJ6cNau.js";import{o as g}from"./MdetPT2a.js";import{_ as D,c as m,d as p,e as n,j as x,B as c,f as y,i as v,y as b}from"./CaYbQgOs.js";const H={class:"tw-relative"},C={class:"colonnes-resp-2-5 tw-aspect-square tw-relative tw-overflow-hidden cadre-zoom"},S={class:"etiquettes"},k={class:"text-1-5 tw-text-white tw-text-center tw-capitalize simple-gradient etiquette"},q={key:0,class:"text-1-5 tw-text-white tw-text-center tw-bg-primary etiquette"},F={class:"tw-p-12"},L={class:"text-1-8 tw-uppercase tw-text-center"},z={class:"tw-text-primary text-1-8 tw-text-center"},B={__name:"RencontreEdition",props:["rencontre"],setup(e){const i=e;function w(s){const t={id:s,slug:i.rencontre.slug,type:"rencontre",page:!1};g(t)}const _=b(()=>{const s=i.rencontre.Horaires.horaires[0].dateDebut,t=i.rencontre.Horaires.horaires[0].dateFin;let r;if(t){const o=new Date(s),l=new Date(t),a={day:"numeric",month:"numeric"},d=o.toLocaleDateString("fr-CH",a),u=l.toLocaleDateString("fr-CH",a);r="du "+d+" au "+u}else{const o=new Date(s),l={weekday:"long",day:"numeric",month:"numeric"},a={hour:"2-digit",minute:"2-digit"},d=o.toLocaleDateString("fr-CH",l),u=o.toLocaleTimeString("fr-CA",a);let h=o.getFullYear().toString().slice(-2);r=d+h+" | "+u}return r});return(s,t)=>{const r=f;return m(),p("div",{class:"colonnes-resp-2-5 tw-cursor-pointer listing-border edition-teaser",onClick:t[0]||(t[0]=o=>w(e.rencontre.databaseId))},[n("div",H,[n("div",C,[x(r,{class:"colonnes-resp-2-5 tw-aspect-square zoomed-image tw-absolute",src:e.rencontre.champsRencontre.rencontre.image},null,8,["src"])]),n("div",S,[n("span",k,c(y(_)),1),e.rencontre.Horaires.horaires[0].lieu?(m(),p("span",q,c(e.rencontre.Horaires.horaires[0].lieu),1)):v("",!0)])]),n("div",F,[n("h3",L,c(e.rencontre.title),1),n("h4",z,c(e.rencontre.typesDeRencontre.nodes[0]?.name),1)])])}}},T=D(B,[["__scopeId","data-v-fb244073"]]);export{T 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.