(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5987],{491:function(t,e,r){"use strict";var n,i=r(11720);function o(){return o=Object.assign||function(t){for(var e=1;e0&&u&&(0,n.tZ)(p.Vm,{messages:e}),(0,n.tZ)(b,{isBanner:u,NewsletterMsg:o,status:r})]}),(0,n.tZ)("div",{className:a().imageColumn,children:(0,n.tZ)(c(),{src:l,alt:"preview",width:"514",height:"350",layout:"fill",objectFit:"cover"})})]})})}))},34419:function(t,e,r){"use strict";r.d(e,{Q:function(){return h}});var n=r(26042),i=r(97997),o=r(11720),a=r(14924),s=r(89330),l=r.n(s),c=r(94184),u=r.n(c),d=function(t){var e,r=t.width,n=t.height,o=t.type;return""!==o?(0,i.tZ)("div",{className:u()((e={},(0,a.Z)(e,l().root,!0),(0,a.Z)(e,l().video,"video"===o),(0,a.Z)(e,l().webstory,"webstory"===o),e)),style:{width:r||""}}):r&&n?(0,i.tZ)("div",{className:u()((0,a.Z)({},l().root,!0)),style:{width:r,height:n}}):null},h=function(t){var e=(0,o.useState)(!1),r=e[0],a=e[1];return(0,o.useEffect)((function(){var t=function(){a(!0),window.removeEventListener("scroll",t)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t)}}),[]),r?(0,i.tZ)("iframe",(0,n.Z)({},t)):(0,i.tZ)(d,{width:t.width,height:t.height,type:t.type})}},17072:function(t,e,r){"use strict";r.d(e,{Z:function(){return v}});var n,i=r(14924),o=r(97997),a=r(11720),s=r(94184),l=r.n(s),c=r(48218),u=r.n(c);function d(){return d=Object.assign||function(t){for(var e=1;e=250?r(!0):window.scrollY<250&&r(!1)};return(0,o.tZ)("div",{className:l()((n={},(0,i.Z)(n,u().root,!0),(0,i.Z)(n,u().visible,e),n)),children:(0,o.tZ)("a",{href:"#AppShell-root",onClick:function(t){t.preventDefault();var e=t.currentTarget.href.replace(/.*\#/,""),r=document.getElementById(e);window.scrollTo({top:null===r||void 0===r?void 0:r.getBoundingClientRect().top,behavior:"smooth"})},className:u().buttonWrapper,children:(0,o.BX)("span",{className:u().content,children:[(0,o.tZ)(h,{})," Back to top"]})})})}},13277:function(t,e,r){"use strict";var n=r(97997),i=r(11720),o=r(41664),a=r.n(o),s=r(25675),l=r.n(s),c=r(7031),u=r(52707),d=r(77761),h=r.n(d),v=(0,i.forwardRef)((function(t,e){var r,i=(r=t.item.url,"/".concat(r)),o=t.item.image;return(0,n.tZ)(u.Z,{ref:e,className:h().cardItem,cardInfoClassName:h().cardInfo,cardActionsClassName:h().cardActions,link:i,img:(0,n.tZ)(l(),{src:o,alt:"preview",width:t.card.width,height:t.card.height,objectFit:"cover"}),content:function(e){var r=e.title;return(0,n.tZ)(a(),{href:i,prefetch:!1,children:(0,n.tZ)("a",{className:r,style:{maxWidth:"".concat(t.card.width,"px")},children:t.item.title})})},cta:(0,n.BX)("div",{className:"actionsContainer",children:[(0,n.tZ)("span",{children:" "}),(0,n.tZ)(c.Z,{to:i,variant:"primary-light",children:t.buttonText})]})},t.item.title)}));e.Z=v},74885:function(t,e,r){"use strict";r.d(e,{ZP:function(){return w}});var n,i=r(14924),o=r(97997),a=r(11720),s=r(39637),l=r.n(s);function c(){return c=Object.assign||function(t){for(var e=1;eN.current.clientWidth},y=function(){return null!=N.current?Math.ceil(N.current.scrollLeft)/f:0};return(0,a.useEffect)((function(){if(b.current&&b.current.length>=2&&N.current&&b.current[1]&&b.current[0]){var t=b.current[1].base.offsetLeft-b.current[0].base.offsetLeft;w(t);var e=B();Z(e)}}),[b]),(0,a.useEffect)((function(){window.addEventListener("resize",(function(){if(f&&b.current&&b.current.length>=2&&N.current){var t=B();Z(t)}}),{passive:!0})}),[f]),(0,o.BX)("div",{className:l().root,children:[(0,o.tZ)("h3",{className:"blogHeader",children:t.title}),(0,o.tZ)("div",{className:m()((r={},(0,i.Z)(r,l().items,!0),(0,i.Z)(r,l().scrollable,_),(0,i.Z)(r,l().mobileList,"mobile-list"===t.variant),r)),ref:N,children:null===(e=t.items)||void 0===e?void 0:e.map((function(e,r){return(0,o.tZ)(p,{ref:function(t){return b.current.push(t)},itemComponent:t.itemComponent,item:e,card:t.card,buttonText:t.buttonText},r)}))}),_&&(0,o.BX)("div",{children:[(0,o.tZ)("div",{className:l().navContainer,children:(0,o.tZ)("span",{onClick:function(){if(null!=N.current&&c-1!==-1){var e=y(),r=e===c?c-1:Math.floor(e===t.items.length-1?e-1:e);N.current.scrollTo({top:0,left:f*r,behavior:"smooth"}),u(r)}},className:m()((0,i.Z)({},l().nav,!0)),children:(0,o.tZ)(v,{})})}),(0,o.tZ)("div",{className:l().navContainer,children:(0,o.tZ)("span",{onClick:function(){if(null!=N.current){var t=y(),e=t===c?c+1:Math.ceil(0===t?t+1:t);N.current.scrollTo({top:0,left:f*e,behavior:"smooth"}),u(e)}},className:m()((n={},(0,i.Z)(n,l().nav,!0),(0,i.Z)(n,l().navNext,!0),n)),children:(0,o.tZ)(d,{})})})]})]})}},88924:function(t,e,r){"use strict";r.d(e,{AB:function(){return n},U5:function(){return c}});var n,i=r(26042),o=r(69396),a=r(61330),s=r(90522);!function(t){t.Banner="banner",t.Footer="footer",t.None="none"}(n||(n={}));var l={status:s.rq.Idle,messages:[],dispatchLocation:n.None};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case a.QP.NewsletterSubscribe:return(0,o.Z)((0,i.Z)({},t),{status:s.rq.Pending,dispatchLocation:e.payload.location,messages:[]});case a.QP.NewsletterSubscribeSuccess:return(0,o.Z)((0,i.Z)({},t),{dispatchLocation:e.payload.location,status:s.rq.Success,messages:[{type:s.Cs.Success,text:e.payload.message,i18n:!0}]});case a.QP.NewsletterSubscribeError:return(0,o.Z)((0,i.Z)({},t),{status:s.rq.Error,dispatchLocation:e.payload.location,messages:[{type:s.Cs.Error,text:e.payload.message,i18n:!1}]});default:return t}}},87176:function(t){t.exports={wrapper:"Newsletter_wrapper__BlQ7a",dataColumn:"Newsletter_dataColumn__kPkt6",imageColumn:"Newsletter_imageColumn__mG1e6",title:"Newsletter_title__tZylc",emailInput:"Newsletter_emailInput__WLAUK",loader:"Newsletter_loader__7MbFd"}},89330:function(t){t.exports={root:"Placeholder_root__ZeBRh",webstory:"Placeholder_webstory__Tdwln",video:"Placeholder_video__BDyM_"}},48218:function(t){t.exports={root:"ScrollTop_root__TmWdX",buttonWrapper:"ScrollTop_buttonWrapper__AZ5UM",content:"ScrollTop_content__Y2vnH",visible:"ScrollTop_visible__MFuke"}},77761:function(t){t.exports={cardItem:"ListItem_cardItem__LZGZG",cardInfo:"ListItem_cardInfo__N7Z3_",cardActions:"ListItem_cardActions__X_DlG"}},39637:function(t){t.exports={navContainer:"Slider_navContainer__HaZpk",nav:"Slider_nav__CtMzI",navNext:"Slider_navNext__cWQBF",items:"Slider_items__UpVBw",actionsContainer:"Slider_actionsContainer__qpfkK",root:"Slider_root__ryLd3"}}}]);