1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7895],{7227:(e,t,i)=>{i.d(t,{A:()=>r});var l=i(20296),n=i(37876);let r=(e="",t="",i="",r="")=>{let a;return(t||i)&&e&&r&&(a=(0,n.jsx)(l.A,{href:"internal"===e?t:i,type:e,children:r})),a}},20296:(e,t,i)=>{i.d(t,{A:()=>r});var l=i(79600),n=i(37876);let r=e=>{let{children:t,href:i,type:r}=e;return(0,n.jsx)(l.A,{className:"button",href:i,type:r,children:t})}},37895:(e,t,i)=>{i.r(t),i.d(t,{default:()=>y});var l=i(66284),n=i(27454),r=i.n(n),a=i(15039),s=i.n(a),o=i(7227),h=i(79600),d=i(14232),c=i(51665),u=i(18847),A=i.n(u),p=i(37876);function b(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,l)}return i}function g(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?b(Object(i),!0).forEach(function(t){(0,l.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let f=A()(()=>i.e(9357).then(i.bind(i,19357)),{ssr:!1,loadableGenerated:{webpack:()=>[19357]}}),x=e=>{let{mappedSlides:t,addOverlay:i,buttonPosition:l,textPosition:n,image:a,fullWidth:u,overlayContent:A,heading:b,headingType:x,subheading:m,link:y,buttonText:j,linkType:w,internalLink:_,externalLink:v}=e,k=s()("hero","has-bg-image",`button-position-${l}`,`text-position-${n}`,{"is-full-width":u,"has-overlay":i}),O=(0,d.useRef)(),{0:P,1:N}=(0,d.useState)({width:200,height:200}),$=(0,o.A)(w,_,v,j),C=b&&(0,p.jsx)("h1",{className:"hero-headline",children:r()(b)});switch(x){case"h2":C=b&&(0,p.jsx)("h2",{className:"hero-headline",children:r()(b)});break;case"h3":C=b&&(0,p.jsx)("h3",{className:"hero-headline",children:r()(b)})}let S=t?Math.floor(Math.random()*t.length):0;return(0,d.useEffect)(()=>{O.current&&N({width:O.current.offsetWidth,height:O.current.offsetHeight})},[O]),(0,p.jsx)("div",{className:"container container-flush",children:(0,p.jsxs)("div",{className:k,children:[(0,p.jsx)("div",{className:"hero-carousel",ref:O,children:(0,p.jsx)(f,g(g({},{dots:!1,arrows:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,cssEase:"linear",fade:!0,initialSlide:S,speed:1e3}),{},{children:t&&t.map((e,t)=>(0,p.jsx)("div",{children:(0,p.jsx)("div",{style:{width:P.width,height:P.height-6},children:(0,p.jsx)(c.A,{image:e.slideimage,thumbnailSize:"hero_bg_2x",layout:"fill",objectFit:"cover",objectPosition:"center center"})})},t))}))}),(0,p.jsx)("div",{className:"hero-content",children:(0,p.jsxs)(p.Fragment,{children:["image"===y&&(0,p.jsx)(h.A,{className:"hero-link-behind-image",type:w,href:"internal"===w?_:v}),A&&(b||m)&&(0,p.jsxs)("div",{className:"hero-text",children:[b&&C,m&&(0,p.jsx)("p",{className:"hero-subtitle",children:r()(m)})]}),"button"===y&&$&&(0,p.jsx)("div",{className:"hero-button-wrap",children:$})]})})]})})};x.defaultProps={addOverlay:!1,buttonPosition:"center",textPosition:"center",fullWidth:!1,overlayContent:!1,heading:"",headingType:"h1",subheading:"",link:"none",buttonText:"",linkType:"internal",internalLink:"",externalLink:""};let m="hero_carousel_",y=e=>{let{getModuleField:t,module:i}=e,l=t(i,m,"add_overlay"),n=t(i,m,"text_position"),r=t(i,m,"button_position"),a=t(i,m,"button_text"),s=t(i,m,"external_link"),o=t(i,m,"full_width"),h=t(i,m,"heading"),d=t(i,m,"heading_type"),c=t(i,m,"image"),u=t(i,m,"internal_link"),A=t(i,m,"link"),b=t(i,m,"link_type"),g=t(i,m,"overlay_content"),f=t(i,m,"subheading"),y=t(i,m,"slides").map(e=>({slideimage:t(e,m,"image")}));return(0,p.jsx)(x,{mappedSlides:y,addOverlay:l,buttonPosition:r,textPosition:n,buttonText:a,externalLink:s,fullWidth:o,heading:h,headingType:d,image:c,internalLink:u,link:A,linkType:b,overlayContent:g,subheading:f})}},51665:(e,t,i)=>{i.d(t,{A:()=>o});var l=i(54587),n=i.n(l),r=i(42583),a=i(37876);let s=e=>{let t,i,l,{image:s,thumbnailSize:o,fullSize:h,layout:d,quality:c,priority:u,objectFit:A,objectPosition:p,showCaption:b}=e;if(!s)return null;let{alt:g,sizes:f,title:x,caption:m}=s;if(!f)return null;(0,r.A)()&&(window.devicePixelRatio>1||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches)&&(t=f[`${o}_2x`],i=f[`${o}_2x_height`]||f[`${o}_2x-height`],l=f[`${o}_2x_width`]||f[`${o}_2x-width`]);let y=t||f[`${o}`],j=i||f[`${o}-height`]||f[`${o}_height`],w=l||f[`${o}-width`]||f[`${o}_width`];
1return(h&&(y=f.full,j=f.full_height||f["full-height"],w=f.full_width||f["full-width"]),y&&("fill"===d||j&&w))?"fill"===d?(0,a.jsxs)("span",{className:"image",children:[(0,a.jsx)(n(),{src:y,alt:g||x,fill:!0,quality:c,priority:u,style:{objectFit:A,objectPosition:p},placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="}),b&&m&&(0,a.jsx)("small",{style:{display:"block",textAlign:"right"},children:m})]}):(0,a.jsxs)("span",{className:"image",children:[(0,a.jsx)(n(),{src:y,alt:g||x,height:j,width:w,quality:c,priority:u,placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="}),b&&m&&(0,a.jsx)("small",{style:{display:"block",textAlign:"right"},children:m})]}):null};s.defaultProps={thumbnailSize:"post",image:[],fullSize:!1,layout:"intrinsic",quality:65,priority:!1,objectFit:"none",objectPosition:"center center",showCaption:!1};let o=s}}]);
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.