Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

2 строки
4.2 KiB

  1. import{c as e}from"./helpers-DemszZkW.js";import{$ as d}from"./iframe-CLehcUMy.js";import{c as k}from"./ButtonComponent-C1nc5If8.js";import{I as w}from"./slider-CaVvyOsH.js";class b{constructor(i){this.section=i.addClass("initiated"),this.slides=i.children(),this.slider=new w(i.find(".eventteaserlargeslider")),this.stringLength=0}}d("body").on("ihk-init dynamic-component-loaded gfi-dynamic-init",function(){d(".rotationslider:not(.initiated)").each(function(){new b(d(this))})});const t=["Vertiefungsseminar zur Existenzgründung","Erfolgreiche Unternehmensgründung: Strategien und Fallstudien","Nachhaltige Firmenübergabe","Social Media Manager/-in (IHK) - Webinar"],n=[{type:"reserved",label:"Anmeldefrist abgelaufen"},{type:"waiting-list",label:"Warteliste"},{type:"open",label:"Freie Plätze vorhanden"}],K=[{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Gründung und Nachfolge",bgimage:null},{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Innovation und Umwelt",bgimage:null},{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Aus- und Weiterbildung",bgimage:"./dummy/placeholder-4-3.svg"}],R=[{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Aus- und Weiterbildung",bgimage:"./dummy/placeholder-4-3.svg"},{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Gründung und Nachfolge",bgimage:"./dummy/placeholder-4-3.svg"},{date:{weekday:"Mo.",day:"20",month:"Sep. 2022"},title:t[Math.floor(Math.random()*t.length)],desc:"Entfesseln Sie das volle Potenzial der generativen KI und beherrschen Sie die Kunst des Prompt-Engineerings!",link:"#",details:{date:"20.09.2024",status:n[Math.floor(Math.random()*n.length)]},icon:"Roboter",category:"Innovation und Umwelt",bgimage:"./dummy/placeholder-4-3.svg"}],T=({slides:h=K,widemode:i=!0,moreCta:m={label:"Mehr erfahren",target:"_self"},headline:g="Premium Seminare"})=>{const l=e("section",["rotationslider"],null),p=e("div",["container"],null,l),v=e("div",["container","right-open-container"],null,l);g&&g.length>0&&e("h1",[],g,p);const y=e("div",["eventteaserlargeslider","variant-subtle-primary"],null,v);return h.map((a,P)=>{const M=e("div",["slide"],null,y),S=e("outer",["outer"],null,M),s=e("a",["event-teaser-large"],null,S);i&&s.classList.add("widemode");const o=e("div",["blue-box","variant-solid"],null,s),E=e("div",["img-con"],null,o),u=e("div",["text-box","date-wrapper"],null,s);e("div",["icon-box","pictogram-"+a.icon.toLowerCase().split(" ").join("-")],null,o),e("p",["ev-title"],a.title,o),e("p",["ev-cat"],a.category,o),e("p",["ev-desc"],a.desc,u);const c=e("div",["detail-box"],null,u);if(a.details)for(const[f,r]of Object.entries(a.details))typeof r=="string"?e("div",[f],r,c):typeof r=="object"&&e("div",[f,r.type],r.label,c);m&&c.appendChild(k({elementType:"span",label:m.label,color:"primary",size:"small",preventClick:!1})),a.bgimage&&a.bgimage.length>0&&(E.style="background-image: url("+a.bgimage+");",o.classList.add("background-image")),s.href=a.link}),new b(d(l)),l};export{R as a,T as c,K as s};