1import{d as f,r as p,y as g,S as v,X as h,C as y,z as b,A as E,B as L,N as T,a0 as x,_ as k,g as r,h as e,F as D,L as w,l as F,o as l,i as u,k as m,G as _,j as M}from"./index-DmnRqbby.js";import{g as N}from"./datetime-DhbZ2Ho9.js";import"./fromUnixTime-B8XkyvZc.js";import"./toDate-qOSwr3PX.js";const S=f({props:{reloadList:{type:String,default:""}},setup(a){const t=x(),o=p(!1),i=p([]),d=async()=>{o.value=!0;try{const n=await y.get("/content/pages/events/list");i.value=n.data.events}catch(n){b("Events List: onMounted/events/fetchEvents",L.DEBUG,E.ALERT,n.message),t.dispatch("app/addNotification",{text:n.message,type:T.ERROR})}finally{o.value=!1}};return g(async()=>{d()}),{isRequestingData:o,events:i,getDateFormattedFromTS:N,sanitizeHTML:v,sanitizeOptions:h}}}),z={class:"main-container"},B={class:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"},C={class:"header"},R={class:"heading"},H={class:"content p-5"},V={class:"description-wrapper"},$=["innerHTML"],A={class:"pt-5"};function I(a,t,o,i,d,n){const c=F("router-link");return l(),r("div",z,[t[1]||(t[1]=e("div",{class:"flex flex-wrap items-center justify-between mb-8"},[e("h1",{class:"header-text mb-3"},[e("span",{class:"font-bold"},"Veranstaltungen")])],-1)),e("div",B,[(l(!0),r(D,null,w(a.events,s=>(l(),r("div",{key:"event-"+s.uid,class:"card card--event"},[e("div",C,[e("h2",R,[u(c,{class:"text-eb-color event-title",to:{name:"EventDetailPage",params:{uid:s.uid}}},{default:m(()=>[e("span",null,_(s.title),1)]),_:2},1032,["to"])])]),e("div",H,[e("div",V,[e("div",{class:"description",innerHTML:a.sanitizeHTML(s.description,a.sanitizeOptions)},null,8,$)]),e("div",A,_(a.getDateFormattedFromTS(s.date)),1)]),u(c,{class:"btn-primary w-full inline-block py-2",to:{name:"EventDetailPage",params:{uid:s.uid}}},{default:m(()=>t[0]||(t[0]=[M(" Informationen ")])),_:2,__:[0]},1032,["to"])]))),128))])])}const q=k(S,[["render",I],["__scopeId","data-v-b2ca87bd"]]);export{q 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.