1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7978],{98560:function(e,t,l){l.d(t,{Bc:function(){return i},K8:function(){return a}});var r,a,n=l(85893);l(67294),(r=a||(a={})).H1="h1",r.H2="h2",r.H3="h3",r.H4="h4",r.H5="h5",r.H6="h6";let i=e=>{let{headingChoice:t,children:l,...r}=e;switch(t){case"h1":return(0,n.jsx)("h1",{...r,children:l});case"h2":default:return(0,n.jsx)("h2",{...r,children:l});case"h3":return(0,n.jsx)("h3",{...r,children:l});case"h4":return(0,n.jsx)("h4",{...r,children:l});case"h5":return(0,n.jsx)("h5",{...r,children:l});case"h6":return(0,n.jsx)("h6",{...r,children:l})}};t.ZP=i},87978:function(e,t,l){l.r(t),l.d(t,{default:function(){return N}});var r=l(85893),a=l(26905),n=l.n(a),i=l(67294),o=l(13327),s=l.n(o),u=l(19470),d=l.n(u),c=l(57517),h=l(16780),x=l(51674),f=l(2036),m=l(89755),v=l.n(m),b=l(98808),g=l(98560),p=l(29461),y=e=>{let{image:t,textColour:l="black",headlineText:a,headlineDescription:o,ctaButton:u,fiftyFiftyHero:m=!0,headingClass:y}=e,{pageData:j,theme:_}=(0,i.useContext)(h.G),[N,H]=(0,i.useState)(!0),w=(0,p.N5)();(0,i.useEffect)(()=>{let e=setTimeout(()=>H(!1),100);return()=>clearTimeout(e)},[]);let{headingClass:C}=null!=y?y:{headingClass:g.K8.H1};return(0,r.jsxs)("div",{children:[!w&&(0,r.jsx)(d(),{children:(0,r.jsxs)("div",{className:"hidden lg:flex ".concat(m?"items-center":"items-end"," justify-start relative duration-1000 ease-out ").concat(N?"h-[110vh] grayscale":"grayscale-0 h-[700px] xl:h-[600px]"),children:[(0,r.jsx)("div",{className:"".concat(m?"absolute w-1/2 h-[75vh] xl:h-[60vh] right-0":""," "),children:(0,c.$0)(n()(t,"data.attributes.url"))?(0,r.jsx)(v(),{layout:"fill",style:{zIndex:-999},objectFit:"cover",priority:!0,quality:85,blurDataURL:(0,c.$0)(n()(t,"data.attributes.formats.thumbnail.url")),placeholder:"blur",src:(0,c.$0)(n()(t,"data.attributes.url")),alt:(0,b.Z)(t.data,a,"Hero Single Image")}):null}),(0,r.jsx)(s(),{left:!0,cascade:!0,delay:250,children:(0,r.jsxs)("div",{className:"z-10 mx-8 xl:mx-32 py-4 ".concat(m?"":"lg:mb-12"," lg:w-1/4 flex-col gap-3 flex"),children:[(0,r.jsx)(g.Bc,{headingChoice:C,style:{lineHeight:1.2,color:l},className:"font-display ".concat(m?"text-4xl 2xl:text-4xl":"text-3xl 2xl:text-4xl"),children:null!=a?a:n()(j,"attributes.title")}),o?(0,r.jsx)("div",{style:{color:l},className:"hero overflow-hidden text-ellipsis font-body ".concat(m?"text-base":"text-sm"," leading-9 xl:text-base md:leading-relaxed"),dangerouslySetInnerHTML:{__html:o}}):null,(0,r.jsx)("div",{children:(null==u?void 0:u.label)?(0,r.jsx)(x.ZP,{ctaConfig:u}):null})]})})]})},(0,c.$0)(n()(t,"data.attributes.url"))),w&&(0,r.jsxs)("div",{className:"block lg:hidden",children:[(0,c.$0)(n()(t,"data.attributes.url"))?(0,r.jsx)("div",{children:(0,r.jsx)(f.Z,{classNames:"h-[220px]",quality:30,priority:!0,blurDataURL:(0,c.$0)(n()(t,"data.attributes.formats.thumbnail.url")),placeholder:"blur",src:(0,c.$0)(n()(t,"data.attributes.url")),alt:(0,b.Z)(t.data,a,"Hero Single Image")})}):null,(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)("div",{className:"mx-8 py-4 lg:w-1/3 flex-col gap-3 flex",children:[(0,r.jsx)(g.Bc,{headingChoice:C,className:"font-display text-4xl tracking-tight leading-tight",children:null!=a?a:n()(j,"attributes.title")}),o?(0,r.jsx)("div",{className:"hero font-body text-base leading-loose",dangerouslySetInnerHTML:{__html:o}}):null,(0,r.jsx)("div",{children:(null==u?void 0:u.label)?(0,r.jsx)(x.ZP,{ctaConfig:u}):null})]})})]})]})},j=l(33168),_=l(83454),N=e=>{var t;let l=(0,j.c1)(null==e?void 0:null===(t=e.variant)||void 0===t?void 0:t.variant,"heroVariant");return"primary"===l||"true"==="".concat(_.env.NEXT_PUBLIC_DISPLAY_DEV_LOGS)&&console.log("HeroSingleImage: unknown variant [".concat(l,"], using default")),(0,r.jsx)(y,{...e})}},98808:function(e,t){t.Z=function(e,t,l){var r;let a=null!==(r=null==e?void 0:e.attributes)&&void 0!==r?r:e;if(a){if(a.alternativeText&&a.alternativeText.trim().length>0)return a.alternativeText;if(a.caption&&a.caption.trim().length>0)return a.caption;if(t&&t.trim().length>0)return t;if(l&&l.trim().length>0)return l;else if(a.name&&a.name.trim().length>0)return a.name}return t||l}},13327:function(e,t,l){function r(e,t){var l=t.left,r=t.right,a=t.up,n=t.down,i=t.top,o=t.bottom,u=t.big,c=t.mirror,h=t.opposite,x=(l?1:0)|(r?2:0)|(i||n?4:0)|(o||a?8:0)|(c?16:0)|(h?32:0)|(e?64:0)|(u?128:0);if(d.hasOwnProperty(x))return d[x];var f=l||r||a||n||i||o,m=void 0,v=void 0;if(f){if(!c!=!(e&&h)){var b=[r,l,o,i,n,a];l=b[0],r=b[1],i=b[2],o=b[3],a=b[4],n=b[5]}var g=u?"2000px":"100%";m=l?"-"+g:r?g:"0",v=n||i?"-"+g:a||o?g:"0"}return d[x]=(0,s.animation)((e?"to":"from")+" {"+(f?" transform: translate3d("+m+", "+v+", 0);":"")+"}\n "+(e?"from":"to")+" {transform: none;} "),d[x]}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaults,t=e.children,l=(e.out,e.forever),a=e.timeout,n=e.duration,i=void 0===n?s.defaults.duration:n,u=e.delay,d=void 0===u?s.defaults.delay:u,c=e.count,h=void 0===c?s.defaults.count:c,x=function(e,t){var l={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(l[r]=e[r]);return l}(e,["children","out","forever","timeout","duration","delay","count"]),f={make:r,duration:void 0===a?i:a,delay:d,forever:l,count:h,style:{animationFillMode:"both"},reverse:x.left};return(0,o.default)(x,f,f,t)}
1Object.defineProperty(t,"__esModule",{value:!0});var n,i=l(45697),o=(n=l(42580))&&n.__esModule?n:{default:n},s=l(11017),u={out:i.bool,left:i.bool,right:i.bool,top:i.bool,bottom:i.bool,big:i.bool,mirror:i.bool,opposite:i.bool,duration:i.number,timeout:i.number,delay:i.number,count:i.number,forever:i.bool},d={};a.propTypes=u,t.default=a,e.exports=t.default}}]);
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.