1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[8473],{11587(e,s,t){var o=t(76998),i=t(36126),r=t(23446);const l={dots:!0,arrows:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,focusOnSelect:!1},n=e=>{let{children:s,embedSettings:t}=e;const n=(0,o.useRef)(null),d=()=>{const e=n.current.innerSlider,{slideCount:s=1,currentSlide:t=0}=e.state,{slidesToShow:o=l.slidesToShow}=e.props;s-t<o&&e.slickGoTo(s-o)},a=(0,o.useCallback)(e=>{n.current=e,null===e||void 0===e||e.slickGoTo(null===t||void 0===t?void 0:t.currentSlide)},[]);return(0,o.useEffect)(()=>(window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)),[]),(0,r.jsx)(i.A,{...l,...t,ref:a,children:s})};t.d(s,["A",0,n])},73984(e,s,t){t.r(s),t.d(s,{HeroCarouselModule:()=>m,default:()=>v});var o=t(76998),i=t(76738),r=t(91634),l=t(11587),n=t(11947),d=t(13761),a=t(23236),c=t(80097),u=t(54598),y=t(23446);function h(e){var s;const{item:{background:{path:t}={},colorType:r="",displayType:l="",textAlignment:h="CENTRE",theme:p,primaryLink:m}={},forcePlay:v,moduleType:S}=e,{tenantId:g}=(0,d.d4)(e=>{let{pageConfig:s}=e;return s}),f=(0,o.useContext)(n.Dx),{heroCarouselModule:T}=f.siteBuilderModules,x=null===(s=T.visualStyles[l])||void 0===s?void 0:s[r],j=T.displayStyles[l],w=(0,a.gt)(g,t);return(0,y.jsx)(n.NP,{theme:{module:{vStyles:x,dStyles:j,...p,alignStyle:h}},children:(0,y.jsxs)(i.po,{className:"lazy","data-background-image":l===u.yj?void 0:w,"data-testid":"hero-carousel-slide-wrapper",children:[l!==u.yj&&(0,y.jsx)(i.hJ,{}),(0,y.jsx)(i.ye,{type:"link",labelOverwrite:"",ctaConfig:m,ga4:{module_type:S,cta_type:"background link"}}),l===u.C5&&(0,y.jsx)(c.Wx,{section:e.item,moduleType:S}),l===u.q4&&(0,y.jsx)(c.es,{section:e.item,forcePlay:v,moduleType:S}),l===u.yj&&(0,y.jsx)(c.s6,{section:e.item,moduleType:S})]})})}const p={dots:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:5e3,responsive:[{breakpoint:767,settings:{arrows:!1}
1}]};function m(e){const[s,t]=(0,o.useState)(0),[n,d]=(0,o.useState)(0),a=(0,o.useMemo)(()=>({...p,afterChange:t,beforeChange:d}),[]),{section:{subsections:c,type:u}={}}=e,m=n===c.length-1&&0===s;return(0,y.jsx)(r.XN,{section:e.section,children:(0,y.jsx)(i.oC,{"data-testid":"hero-carousel-module-wrapper",children:(0,y.jsx)(l.A,{embedSettings:a,children:c.map((e,s)=>(0,y.jsx)(h,{item:e,forcePlay:m,moduleType:u},s))})})})}const v=m},36126(e,s,t){const o=(0,t(31725).Ay)({resolved:{},chunkName:()=>"ReactSlick",isReady(e){const s=this.resolve(e);return!0===this.resolved[s]&&!!t.m[s]},importAsync:()=>Promise.all([t.e(3155),t.e(4908)]).then(t.bind(t,34155)),requireAsync(e){const s=this.resolve(e);return this.resolved[s]=!1,this.importAsync(e).then(e=>(this.resolved[s]=!0,e))},requireSync(e){const s=this.resolve(e);return t(s)},resolve:()=>34155});t.d(s,["A",0,o])}}]); 2//# sourceMappingURL=HeroCarouselModule.70914b6c.chunk.js.map
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.