/* empty css               */import{c as o,f as m}from"./helpers-DDTkKuvc.js";import{$ as h}from"./iframe-DSGyX7_4.js";import{c as x}from"./ButtonComponent-C1nc5If8.js";import{I as k}from"./slider-yW1VQyzO.js";const f=[{kicker:"Lorem Ipsum dolor",headline:"Möglichkeiten der Integration",copy:"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",imageSrc:"./dummy/placeholder-3-2.svg",copyright:"Quelle: DigiZeitschriften e.V.",cta:"Mehr erfahren",link:"#",contextImg:"./logos/wirtschaftsdialoge.svg"},{kicker:"Lorem Ipsum dolor 2",headline:"Möglichkeiten der Integration",copy:"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",imageSrc:null,cta:"Mehr erfahren",link:"#",context:"Wirtschaftsmagazin"},{kicker:"Lorem Ipsum dolor 2",headline:"Möglichkeiten der Integration",copy:"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",imageSrc:"./dummy/placeholder-3-2.svg",copyright:"© Marco Mustermann für Mustervideos",cta:"Mehr erfahren",link:"#"}],M=({slides:g=f})=>{const l=o("section",["rotation"],null),u=o("div",["container"],null,l),s=o("div",["slider","variant-solid"],null,u);return g.map((e,d)=>{const p=o("div",["slide"],null,s),a=o("outer",["outer"],null,p),i=e.context?e.context:"",r=e.contextImg?e.contextImg:"";if(e.imageSrc&&e.imageSrc.length>0){const t=o("div",["image-box"],null,a);if(m(e.imageSrc,900,600,"Slide "+d,[],t),e.copyright&&e.copyright.length>0&&(o("span",["copyright"],e.copyright,t).setAttribute("aria-hidden","true"),o("span",["sr-only"],e.copyright,t)),r){const c=o("div",["context-box","variant-solid","context-box--image"],null,t);m(r,200,50,"",[],c)}else i&&o("div",["context-box","variant-solid"],i,t)}const n=o("div",["text-box"],null,a);if(e.kicker&&e.kicker.length>0&&o("span",["kicker"],e.kicker,n),e.headline&&e.headline.length>0&&o("h3",["like-h2"],e.headline,n),e.kicker&&e.kicker.length>0&&o("p",[],e.copy,n),e.cta&&e.link){const t=o("p",[],"",n),c=x({color:"white",icon:"pfeil-simple-rechts",iconPosition:"icon-right",label:e.cta});t.appendChild(c)}if((!e.imageSrc||e.imageSrc.length<=0)&&i)if(n.classList.add("context"),r){const t=o("div",["context-box","variant-solid","context-box--image"],null,n);m(r,200,50,"",[],t)}else i&&o("div",["context-box","variant-solid"],i,n)}),new k(h(s)),l};export{M as c,f as s};
