import{$ as g}from"./iframe-DSGyX7_4.js";import{c as r}from"./helpers-DDTkKuvc.js";import{c as S}from"./TeaserComponent-CRAu8zU-.js";import{M as z}from"./masonry-DF8GBAUS.js";import{c as w}from"./TeaserSocialComponent-CnUQXuUp.js";import{a as A}from"./LinkListComponent-CWUWPHDq.js";const T=[{imageSrc:"./dummy/placeholder-3-2.svg"},{imageSrc:"./dummy/placeholder-3-2.svg",headline:"Ausgeglichenheit ist der erste Schritt aus der Krise",copy:"Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vestibulum id ligula porta felis euismod semper. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec id elit non mi porta gravida at eget metus."},{kicker:"Corona",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Wirtschaftsverbände bieten Unterstützung bei Impfkampagne an",copy:"Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et."},{kicker:"Betriebsklima",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Fördert Duzen das Betriebsklima?",copy:"Nulla vitae elit libero, a pharetra augue. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor."},{kicker:"Hygiene",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Hygiene am Arbeitsplatz",copy:"Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores sed diam nonumy eirmod tempor invidunt et ea rebum."},{kicker:"Bildung",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Bachelor und Master Professional kommen",copy:"Nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. At vero eos et accusam et justo duo dolores et ea rebum."},{kicker:"Integration",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Weniger Hürden für Fachkräfte aus dem Ausland"},{kicker:"Bildung",imageSrc:"./dummy/placeholder-3-2.svg",headline:"5 Beispiele, wie sich Unternehmen für ihr Umfeld engagieren",copy:"Nulla vitae elit libero, a pharetra augue. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor."},{kicker:"Aktuelles",imageSrc:"./dummy/placeholder-3-2.svg",headline:"Das Neuste aus der Wirtschaft",copy:"Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et."}],j=({type:a="regular",background:s=null,headline:o="",teasers:n=T,showReadingTime:h=!1,hideKicker:c=!1,maxItems:e=-1,includeChart:p=!1,includeSocial:d=!1,includeLinklist:f=!1})=>{const k={type:"regular",kicker:"Fachkräfte",headline:"Anteil der Frauen im Bereich Engineering steigt",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. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita, no sea takimata sanctus est.",imageSrc:"./dummy/placeholder-3-2.svg",copyright:"@ shutterstock.com",showReadingTime:!1,link:"#",imageSize:"large"};switch(a){case"regular":e=e===-1?3:e;break;case"text":e=e===-1?3:e;break;case"hero":e=e===-1?2:e;break;case"fullwidth":e=1;break;case"magazine":e=n.length;break}const t=r("section",a==="magazine"?["teasers","magazine-style"]:["teasers"]);a!=="magazine"&&(t.dataset.items=e>3?"3":e.toString()),s&&s.length>0&&(t.dataset.background=s);const m=r("div",["container"],null,t);o&&o.length>0&&r("h2",[],o,m);const l=r("div",["row"],null,m);function v(i){return p&&i===e-1?"chart":a==="magazine"?"regular":a}return d&&(e-=1),n.map((i,u)=>{if(u>=e)return;const b=r("div",["col"],null,l),y=S({...k,...i,type:v(u),showReadingTime:a==="magazine"||a==="fullwidth"?!0:h,kicker:c?null:i.kicker,linklistData:f&&u===e-1?A:null});b.appendChild(y)}),d&&r("div",["col"],null,l).appendChild(w({kicker:c?null:"Ihre IHK bei Twitter"})),a==="magazine"&&g(document).ready(()=>{const i=window.ihk.translations.loadMoreArticles;t.dataset.type="masonry",new z(g(l),i,[{minWidth:0,batchSize:2},{minWidth:567,batchSize:3},{minWidth:1e3,batchSize:6}])}),t};export{j as c,T as t};
