/* empty css                     */import{c as t}from"./helpers-DDTkKuvc.js";const a=["Basisseminar – Besser informiert in die Selbstständigkeit","NBank-Beratungssprechtag in Göttingen","Aktuelle Änderungen im Zoll- und Aussenwirtschaftsrecht zum Jahreswechsel 2022/2023","Social Media Manager/-in (IHK) - Webinar"],i=[{type:"reserved",label:"Anmeldefrist abgelaufen"},{type:"waiting-list",label:"Warteliste"},{type:"open",label:"Freie Plätze vorhanden"}],c={date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:a[Math.floor(Math.random()*a.length)],link:"#",details:null},p={date:null,title:a[Math.floor(Math.random()*a.length)],link:"#",details:null},f={date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:a[Math.floor(Math.random()*a.length)],link:"#",details:{date:"20.09.2022",time:"19:00 Uhr",price:"299 €",location:"Musterstraße 12, 12345 Muster",status:i[Math.floor(Math.random()*i.length)]}},M=({event:e=c,isExtended:h=!1})=>{const l=t("div",["event-teaser","variant-base"]),n=t("div",["date-box"],null,l),r=t("div",["text-box","date-wrapper"],null,l);if(h&&(e=f,e.title=a[Math.floor(Math.random()*a.length)],e.details.status=i[Math.floor(Math.random()*i.length)]),e.date?(t("span",["weekday"],e.date.weekday,n),t("span",["day"],e.date.day,n),t("span",["month"],e.date.month,n)):n.classList.add("no-date"),t("p",["ev-title"],e.title,r),e.details)for(const[d,s]of Object.entries(e.details))typeof s=="string"?t("div",[d],s,r):typeof s=="object"&&t("div",[d,s.type],s.label,r);const o=t("a",["teaser--link"],"",l);return o.href=e.link,o.setAttribute("aria-label","Beschreibender Link-Text"),l};export{c as E,p as N,f as S,a,M as c};
