1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1530,7114],{44414:e=>{e.exports={breakpoints:"'../../../styling/breakpoints.css'",md:"720px",lg:"940px",homepage_carousel_headline:"HomepageCarousel_homepage_carousel_headline__LzO5t",carousel_arrows__wrapper:"HomepageCarousel_carousel_arrows__wrapper__fTBcu",overlay:"HomepageCarousel_overlay__v9gml",carousel_image__wrapper:"HomepageCarousel_carousel_image__wrapper__5ouQF",carousel_image:"HomepageCarousel_carousel_image__1TVu6",carousel_subtitle:"HomepageCarousel_carousel_subtitle__UjcZb",carousel_subtitle_headline:"HomepageCarousel_carousel_subtitle_headline__eeay9",pagination_bullet:"HomepageCarousel_pagination_bullet__zGnV3",pagination_bullet_active:"HomepageCarousel_pagination_bullet_active__t8h3J",carousel__image_large:"HomepageCarousel_carousel__image_large__3wnUA",carousel__image_medium:"HomepageCarousel_carousel__image_medium__7lILm",carousel__image_small:"HomepageCarousel_carousel__image_small__8iw1I",carousel__wrapper:"HomepageCarousel_carousel__wrapper__R1Noc"}},61530:(e,a,l)=>{"use strict";l.d(a,{t:()=>s});let s=e=>({enabled:!0,containerMessage:e,firstSlideMessage:"This is the first ".concat(e),prevSlideMessage:"Previous ".concat(e),nextSlideMessage:"Next ".concat(e),paginationBulletMessage:"Go to ".concat(e," {{index}}"),lastSlideMessage:"This is the last ".concat(e),slideRole:"group",id:null,slideLabelMessage:"".concat(e," {{index}}/{{slidesLength}}")})},97114:(e,a,l)=>{"use strict";l.r(a),l.d(a,{HomepageCarouselBlok:()=>f,default:()=>y});var s=l(65321),i=l(97109),r=l(41787),o=l(31117),_=l(82894),t=l(61530),n=l(81325),c=l(68879),u=l(41534),d=l(2523),g=l(44414),m=l.n(g),p=l(84300),h=l(85580),v=l(98849),x=l(28554),w=l(46371),b=l(46624),j=l(13369),k=l(64758),C=l(84530);let H=e=>{var a,l,i,r,o,t,n,c;let{headline:u,image:d,link:g,assetRatio:H,title:N}=e,S={...g,link:{...(0,w.Q)({link:g})},story:g.story||{}};return(0,s.jsxs)("div",{className:m().carousel_element__wrapper,children:[(0,s.jsx)("div",{className:"".concat(m().carousel_image__wrapper," ").concat((0,b._V)((0,b.gQ)(H===k.w.LARGE,m().carousel__image_large),(0,b.gQ)(H===k.w.MEDIUM,m().carousel__image_medium),(0,b.gQ)(H===k.w.SMALL,m().carousel__image_small))),children:(0,s.jsx)(h._,{src:(0,j.Z)(null==d||null==(a=d[0])?void 0:a.image),className:m().carousel_image,alt:(null==(l=d[0])?void 0:l.alt_text)||"",imageSizes:C.LR[H||"large"],sizes:"(max-width: 344px) 33vw, (max-width: 719px) 50vw, (max-width: 939px) 70vw, 1200px",copyrightText:null==(i=d[0])?void 0:i.copyright,priority:!0})}),(0,s.jsxs)("div",{className:m().carousel_subtitle,children:[(0,s.jsx)(_.$,{className:m().carousel_subtitle_headline,tag:_.e.H2,children:u}),(0,s.jsxs)("span",{children:[(0,s.jsx)(p.q,{className:m().link_icon}),(0,s.jsx)(v.M,{href:null==S||null==(r=S.link)?void 0:r.href,title:null==S||null==(o=S.story)?void 0:o.name,target:null==S?void 0:S.target,variant:x.W9.Primary,piwik_click_id:null==S||null==(t=S.link)?void 0:t.piwik_click_id,anchor:null==S||null==(n=S.link)?void 0:n.anchor,children:N||(null==S||null==(c=S.story)?void 0:c.name)||""})]})]})]})},N=e=>{var a,l,g,p,h;let{asset_ratio:v,carousel_elements:x,headline:w}=e,[b,j]=(0,i.useState)({isStartSlide:!0,isLastSlide:!1}),k=(0,i.useRef)(void 0),C=(0,t.t)("Carousel"),N=(0,n.y)({imageHeight:[234,292,390],assetRatio:v});return(0,s.jsx)(c.mc,{spacingWithoutSeparator:!0,children:(0,s.jsxs)(c.fI,{children:[(0,s.jsx)(c.fv,{className:m().homepage_carousel_headline,children:(0,s.jsx)(_.$,{tag:_.e.H1,children:w})}),x&&(null==(a=x[0])?void 0:a.images)?(0,s.jsx)(c.fv,{xs:12,className:m().carousel_element__wrapper,children:(0,s.jsxs)(o.RC,{className:"".concat(m().carousel__wrapper," carousel__swiper"),onSlideChange:e=>{j({isLastSlide:e.isEnd,isStartSlide:e.isBeginning})},autoplay:{pauseOnMouseEnter:!0,delay:2500},slidesPerView:1,onBeforeInit:e=>{k.current=e},modules:[r.Ij,r.dK,r.Jq],pagination:{clickable:!0,bulletClass:"".concat(m().pagination_bullet),bulletActiveClass:"".concat(m().pagination_bullet_active)},a11y:C,children:[null==(g=x[0])||null==(l=g.images)?void 0:l.map(e=>(0,s.jsxs)(o.qr,{children:[(0,s.jsx)(H,{_uid:e._uid,headline:e.headline,image:e.image,assetRatio:v,link:e.link,title:e.title}),(0,s.jsx)("div",{className:m().overlay})]},"".concat(e._uid,"_slide"))),(0,s.jsxs)("div",{className:m().carousel_arrows__wrapper,children:[(0,s.jsx)(d.tg,{className:"".concat(m().slider__arrows," "),clickHandler:()=>{var e;
1return null==(e=k.current)?void 0:e.slidePrev()},direction:"left",disabled:null==b?void 0:b.isStartSlide}),(0,s.jsx)(d.tg,{className:m().slider__arrows,clickHandler:()=>{var e;return null==(e=k.current)?void 0:e.slideNext()},direction:"right",disabled:null==b?void 0:b.isLastSlide})]})]})}):(0,s.jsx)(c.fv,{xs:12,children:(0,s.jsx)(u.h4,{assetRatio:v,imageHeight:N,video:null==(p=x[0])?void 0:p.video,fallback_image:null==(h=x[0])?void 0:h.fallback_image})})]})})};var S=l(93525);let f=e=>{let{blok:a}=e;return(0,s.jsx)(S.P,{blok:a,moduleName:"HomepageCarousel",children:(0,s.jsx)(N,{...a})})},y=f}}]);
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.