1import{j as s}from"./jsx-runtime-u17CrQMm.js";import{r as c}from"./chunk-JMJ3UQ3L-Cl6nLvSq.js";import{B as k}from"./Breadcrumb-acmYejWT.js";import{A as E}from"./AnchorBlock-DDPCunfM.js";import{c as Z}from"./Button-D3dM_5em.js";import{F as _}from"./Footer-WcklWpWr.js";import{u as R}from"./GlobalContext-DX6UDtv4.js";import{e as C}from"./gtm-page-context-B6LBNSpi.js";import{B as H}from"./BlocksRenderer-D4xqFesO.js";import{H as M}from"./index-mFayZ3Jc.js";const A=({englishText:e,teReoText:t,initialShowTeReo:n=!1,onLanguageChange:a,className:o=""})=>{const[l,i]=c.useState(n),h=c.useRef(null),r=c.useRef(null),v=c.useRef(null),[f,x]=c.useState({h1:0,h2:0}),[m,b]=c.useState(!1);c.useLayoutEffect(()=>{const d=()=>{if(r.current&&v.current){const j=r.current.offsetHeight,N=v.current.offsetHeight;x({h1:j,h2:N}),b(!0)}};d();const g=r.current,p=v.current;if(!g||!p)return;const u=new ResizeObserver(d);return u.observe(g),u.observe(p),document.fonts?.ready.then(d).catch(()=>{}),()=>u.disconnect()},[]);const y=m?f.h1+f.h2:void 0,w={"--hero-h1":`${f.h1}px`,"--hero-h2":`${f.h2}px`};return s.jsx("div",{className:` 2 relative flex flex-col items-start justify-between gap-4 3 desktop:flex-row desktop:gap-0 4 ${o} 5 `,children:s.jsxs("div",{ref:h,className:` 6 relative w-full 7 desktop:w-2/3 8 `,style:{height:y,...w},children:[s.jsx("h3",{ref:r,className:` 9 h3-medium absolute right-0 left-0 mb-0 transition-[transform,color] 10 duration-700 ease-in-out 11 ${l?"text-ui-grey-text":"text-primary-soft-black"} 12 `,style:{transform:l?"translateY(var(--hero-h2))":"translateY(0)",opacity:m?1:0,visibility:m?"visible":"hidden"},children:e}),s.jsx("h3",{ref:v,className:` 13 h3-medium absolute right-0 left-0 mb-0 transition-[transform,color] 14 duration-700 ease-in-out 15 ${l?"text-primary-soft-black":"text-ui-grey-text"} 16 `,style:{transform:l?"translateY(0)":"translateY(var(--hero-h1))",opacity:m?1:0,visibility:m?"visible":"hidden"},children:t})]})})},B=({breadcrumbItems:e,heading:t,subheading:n,headingMaori:a,fullBleed:o,anchors:l})=>{const i=o?"content-padding-x":"",h=l&&l.length>0,r=a!=null&&a!=="";return s.jsxs("div",{className:i,children:[e&&s.jsx("div",{className:"mb-4",children:s.jsx(k,{items:e})}),r?s.jsx(A,{englishText:t,teReoText:a}):s.jsx("h3",{className:` 17 h3-medium mb-4 w-full text-primary-soft-black 18 desktop:w-2/3 19 `,children:t}),n&&s.jsx("p",{className:` 20 body-large mt-4 mb-0 w-full text-primary-soft-black 21 desktop:w-2/3 22 `,children:n}),h&&s.jsx(E,{anchors:l})]})},I=e=>c.createElement("svg",{id:"Artwork",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 595.28 226.77",...e},c.createElement("defs",null,c.createElement("style",null,".cls-1{fill:#001231;}.cls-2{fill:#007bc3;}.cls-3{fill:#fff;}.cls-4{fill:#e41d38;}.cls-5{fill:#5da146;}")),c.createElement("g",null,c.createElement("rect",{className:"cls-3",x:396.85,width:198.43,height:226.77}),c.createElement("g",null,c.createElement("path",{className:"cls-4",d:"M566.12,76.5c-2.03-5.28-7.96-7.92-13.24-5.9-4.04,1.55-6.52,5.37-6.57,9.45h0c-.02,1.47-.95,2.84-2.39,3.4l-.4,.15-37.53,14.41h0c-.56,.21-1.08,.17-1.27-.13-.19-.3,0-.78,.42-1.2,0,0,.02-.02,.04-.04l28.85-27.86,.34-.33c1.11-1.07,2.76-1.34,4.08-.74h0c3.71,1.68,8.23,1.04,11.34-1.96,4.07-3.93,4.19-10.42,.25-14.49-3.93-4.07-10.42-4.18-14.49-.25-3.11,3-3.91,7.5-2.3
226,11.27h0c.55,1.35,.23,2.99-.88,4.06l-.31,.3-28.92,27.93h0c-.44,.41-.92,.58-1.22,.38-.29-.2-.31-.71-.08-1.27l.02-.05,15.67-36.91,.19-.44c.6-1.42,2.01-2.31,3.47-2.27h.01c4.07,.09,7.98-2.26,9.67-6.24,2.21-5.21-.22-11.23-5.43-13.44-5.21-2.21-11.23,.22-13.44,5.43-1.69,3.98-.67,8.43,2.23,11.29h0c1.03,1.03,1.37,2.66,.77,4.08l-.17,.39-15.71,37.01h0c-.24,.55-.62,.9-.97,.83-.34-.07-.56-.54-.57-1.14V51.57c0-1.54,.95-2.91,2.3-3.45h0c3.79-1.51,6.46-5.21,6.46-9.53,0-5.66-4.59-10.25-10.25-10.25s-10.25,4.59-10.25,10.25c0,4.32,2.68,8.02,6.46,9.52h.01c1.35,.54,2.3,1.91,2.3,3.45v40.63c0,.6-.22,1.07-.57,1.14-.34,.07-.73-.27-.97-.83h0l-15.69-36.96-.19-.44c-.6-1.42-.26-3.05,.78-4.07h0c2.9-2.88,3.92-7.32,2.23-11.3-2.21-5.21-8.23-7.64-13.44-5.43-5.21,2.21-7.64,8.23-5.43,13.44,1.69,3.98,5.6,6.33,9.67,6.24h0c1.45-.03,2.86,.85,3.47,2.27l.19,.44,15.67,36.91s.02,.05,.02,.05c.23,.56,.21,1.07-.08,1.27-.29,.2-.78,.03-1.22-.38h0l-28.89-27.9-.34-.33c-1.11-1.07-1.43-2.71-.88-4.05h0c1.55-3.78,.75-8.27-2.36-11.28-4.07-3.93-10.56-3.82-14.49,.25-3.93,4.07-3.82,10.56,.25,14.49,3.11,3,7.63,3.64,11.34,1.96h0c1.33-.6,2.97-.34,4.08,.74l.34,.33,28.85,27.86s.04,.04,.04,.04c.43,.43,.61,.9,.42,1.2-.19,.3-.7,.33-1.27,.13h0l-37.49-14.39-.44-.17c-1.44-.55-2.38-1.93-2.39-3.39h0c-.05-4.09-2.54-7.91-6.58-9.46-5.28-2.03-11.21,.61-13.24,5.9-2.03,5.28,.61,11.21,5.9,13.24,4.04,1.55,8.44,.37,11.21-2.62h0c.98-1.07,2.6-1.48,4.04-.92l.4,.15,37.46,14.38s.08,.03,.08,.03c.56,.23,.94,.47,.82,1.19,0,0,0,.04,0,.1-.06,.44-.09,.89-.09,1.35,0,4.32,2.68,8.02,6.46,9.52h.01c1.35,.54,2.3,1.91,2.3,3.45v42.76h2.95v-42.76c0-1.54,.95-2.91,2.3-3.44h0c3.79-1.51,6.46-5.21,6.46-9.53,0-.47-.03-.92-.09-1.37,0-.05,0-.08,0-.08-.12-.72,.26-.96,.82-1.19l.05-.02,37.48-14.39,.4-.15c1.44-.55,3.06-.15,4.04,.92h.01c2.76,3,7.17,4.18,11.21,2.63,5.28-2.03,7.92-7.96,5.89-13.24"}),c.createElement("path",{className:"cls-2",d:"M496.05,175.12c-9.79,0-19.78-4.31-27.25-10.61-9.01,7.29-17.13,10.18-27.24,10.18-5.72,0-11.26-1.14-16.37-3.31v-7.93c5.29,2.7,11.33,4.11,16.38,4.11,9.37,0,22.12-4.82,27.24-13.83,5.12,9.01,17.87,13.83,27.24,13.83s22.12-4.82,27.24-13.83c5.12,9.01,17.87,13.83,27.24,13.83,5.05,0,11.08-1.4,16.38-4.11v7.93c-5.11,2.17-10.65,3.31-16.37,3.31-10.11,0-18.23-2.89-27.24-10.18-7.46,6.3-17.45,10.61-27.25,10.61"}),c.createElement("path",{className:"cls-2",d:"M496.05,179.65c-10.14,0-19.78-3.9-27.23-10.17-7.66,6.32-17.09,10.06-27.24,10.06-5.67,0-11.29-1.25-16.39-3.46v7.56c5.11,2.17,10.65,3.29,16.37,3.29,10.11,0,19.07-3.3,27.24-9.69,7.58,6.53,18.06,9.54,27.25,9.54s19.67-3.02,27.25-9.54c8.18,6.38,17.13,9.69,27.24,9.69,5.72,0,11.26-1.12,16.37-3.29v-7.56c-5.1,2.21-10.71,3.46-16.39,3.46-10.14,0-19.58-3.74-27.24-10.06-7.45,6.27-17.09,10.17-27.23,10.17"}),c.createElement("path",{className:"cls-2",d:"M496.05,198.42c-10.12,0-20.07-2.86-27.24-8.34-8.19,5.91-17.13,8.34-27.25,8.34-5.72,0-10.98-.75-16.37-2.74v-7.36c5.1,2.21,10.71,3.55,16.39,3.55,10.14,0,19.58-3.37,27.23-9.69,7.46,6.27,17.09,9.1,27.23,9.1s19.78-2.83,27.24-9.1c7.66,6.32,17.09,9.69,27.23,9.69,5.68,0,11.29-1.34,16.39-3.55v7.36c-5.39,1.99-10.65,2.74-16.37,2.74-10.12,0-19.06-2.43-27.24-8.34-7.19,5.48-17.13,8.34-27.25,8.34h0Z"}),c.createElement("path",{className:"cls-5",d:"M549.17,99.23c-9.5-.55-19.7,2-29.18,7.9-9.23,5.75-15.98,13.68-19.63,22.06,8.88-4.46,38.41-18.55,64.89-22.79-2.58-3.77-8.11-6.71-16.09-7.17"}),c.createElement("path",{className:"cls-5",d:"M566.3,108.32c-27.59,4.24-58.88,19.58-66.08,23.25,7.54,2.43,16.95,3.48,27.04,2.64,14.06-1.17,26.22-5.74,33.5-11.83,5.46-4.45,6.57-8.92,6.08-12.15-.1-.65-.28-1.29-.53-1.92"}),c.createElement("path",{className:"cls-5",d:"M442.96,99.23c9.5-.55,19.7,2,29.18,7.9,9.23,5.75,15.98,13.68,19.63,22.06-8.87-4.46-38.41-18.55-64.89-22.79,2.58-3.77,8.11-6.71,16.09-7.17"}),c.createElement("path",{className:"cls-5",d:"M425.83,108.32c27.59,4.24,58.88,19.58,66.08,23.25-7.54,2.43-16.95,3.48-27.03,2.64-14.06-1.17-26.22-5.74-33.5-11.83-5.46-4.45-6.57-8.92-6.08-12.15,.1-.65,.28-1.29,.53-1.92"}))),c.createElement("g",null,c.createElement("path",{className:"cls-1",d:"M367,162.9h-5.24v12c0,3.55-1.65,5.62-4.35,5.62-2.2,0-3.42-1.39-3.42-3.89v-13.73h-5.2v14.91c0,4.22,2.66,6.84,6.59,6.84,3.38,0,5.66-1.56,6.63-4.48l.63,3.97h4.35v-21.25Zm-32.23-.51c-4.86,0-8.11,2.45-8.49,6.46l4.9,.76c.04-2.15,1.18-3.34,3.34-3.34s3.3,1.18,3.3,3.25v2.37c-.68-.04-1.65-.13-2.32-.13-6.55,0-10.18,2.49-10.18,6.76,0,3.72,2.62,6.04,6.68,6.04,2.91,0,5.32-1.31,6.12-3.46,.17,.55,.34,1.06,.63,1.56,.8,1.23,2.2,1.9,3.93,1.9,1.14,0,2.32-.3,3.04-.8l-.21-3.55c-.3,.29-.76,.42-1.23,.42-1.
2201,0-1.48-.51-1.48-1.65v-9.76c0-4.52-2.75-6.84-8.03-6.84m-1.18,18.63c-1.99,0-3.21-1.1-3.21-2.83,0-2.24,1.94-3.42,5.7-3.42,.21,0,.84,0,1.73,.13v1.48c0,2.91-1.69,4.65-4.22,4.65m-30.54,3.13h5.2v-11.91c0-3.51,1.69-5.45,4.56-5.45,2.24,0,3.46,1.39,3.46,3.93v13.43h5.24v-14.87c0-4.27-2.58-6.89-6.63-6.89-3.34,0-5.87,1.69-6.93,4.6l-.63-4.1h-4.27v21.25Zm-20.36-25.35h12.72v-3.59h-12.72v3.59Zm6.12,3.59c-4.86,0-8.11,2.45-8.49,6.46l4.9,.76c.04-2.15,1.18-3.34,3.34-3.34s3.29,1.18,3.29,3.25v2.37c-.68-.04-1.65-.13-2.32-.13-6.55,0-10.18,2.49-10.18,6.76,0,3.72,2.62,6.04,6.67,6.04,2.92,0,5.32-1.31,6.13-3.46,.17,.55,.34,1.06,.63,1.56,.8,1.23,2.2,1.9,3.93,1.9,1.14,0,2.32-.3,3.04-.8l-.21-3.55c-.3,.29-.76,.42-1.23,.42-1.01,0-1.48-.51-1.48-1.65v-9.76c0-4.52-2.75-6.84-8.03-6.84m-1.18,18.63c-1.99,0-3.21-1.1-3.21-2.83,0-2.24,1.94-3.42,5.7-3.42,.21,0,.84,0,1.73,.13v1.48c0,2.91-1.69,4.65-4.22,4.65m-30.54,3.13h5.2v-11.91c0-3.51,1.69-5.45,4.56-5.45,2.24,0,3.46,1.39,3.46,3.93v13.43h5.24v-14.87c0-4.27-2.58-6.89-6.63-6.89-3.04,0-5.45,1.48-6.63,4.06v-12.8h-5.2v30.5Zm-23.91-5.83l-3.68-15.42h-5.2l5.91,21.25h5.07l3.72-14.87h.08l3.76,14.87h5.03l5.91-21.25h-5.03l-3.68,15.42h-.08l-3.76-15.42h-4.22l-3.76,15.42h-.08Z"}),c.createElement("path",{className:"cls-1",d:"M366.76,138.01c-1.18,0-1.73-.59-1.73-1.9v-24.88h-5.2v25.86c0,3.25,1.82,5.07,5.15,5.07,1.48,0,2.91-.38,3.89-.93l-.38-3.76c-.55,.38-1.1,.55-1.73,.55m-11.74-17.53h-5.2v21.25h5.2v-21.25Zm-2.62-9.34c-1.86,0-3.25,1.31-3.25,3.13s1.39,3.13,3.25,3.13,3.29-1.31,3.29-3.13-1.43-3.13-3.29-3.13m-14.45,31.09c4.52,0,7.69-2.53,8.41-6.63l-4.6-1.22c-.21,2.41-1.65,3.93-3.8,3.93-3.08,0-4.86-2.62-4.86-7.18s1.77-7.22,4.82-7.22c2.2,0,3.63,1.52,3.8,3.89l4.56-.97c-.46-4.18-3.68-6.84-8.41-6.84-3.08,0-5.49,1.01-7.31,3-1.78,1.99-2.66,4.73-2.66,8.15,0,6.89,3.84,11.11,10.05,11.11m-32.06-.51h5.2v-11.91c0-3.51,1.69-5.45,4.56-5.45,2.24,0,3.47,1.39,3.47,3.93v13.43h5.24v-14.87c0-4.27-2.58-6.89-6.63-6.89-3.34,0-5.87,1.69-6.93,4.6l-.63-4.1h-4.27v21.25Zm-5.19-21.25h-5.24v12c0,3.55-1.65,5.62-4.35,5.62-2.2,0-3.42-1.39-3.42-3.89v-13.73h-5.2v14.91c0,4.22,2.66,6.84,6.59,6.84,3.38,0,5.66-1.56,6.63-4.48l.63,3.97h4.35v-21.25Zm-31.94,17.87c-3.21,0-4.86-2.49-4.86-7.27s1.65-7.22,4.86-7.22,4.9,2.49,4.9,7.22-1.69,7.27-4.9,7.27m0-18.38c-3.08,0-5.58,1.01-7.39,3-1.82,1.99-2.7,4.69-2.7,8.11s.89,6.21,2.7,8.19c1.82,1.99,4.31,2.96,7.39,2.96,6.25,0,10.1-4.22,10.1-11.15s-3.89-11.11-10.1-11.11m-22.68,22.26c5.28,0,9-2.49,10.56-7.05l-4.69-2.24c-.8,3.04-2.96,4.82-5.87,4.82-4.52,0-7.14-3.76-7.14-10.14s2.62-10.1,7.14-10.1c3,0,5.07,1.73,5.87,4.77l4.69-2.28c-1.56-4.56-5.28-7.01-10.56-7.01-3.84,0-6.97,1.31-9.29,3.97-2.32,2.62-3.47,6.17-3.47,10.65s1.14,8.03,3.47,10.69c2.32,2.62,5.45,3.93,9.29,3.93m-25.47-31.01h-5.2v12.04c-.85-2.03-3.17-3.29-6.04-3.29-5.53,0-8.96,4.39-8.96,11.53,0,3.25,.8,5.87,2.37,7.82,1.61,1.94,3.68,2.91,6.25,2.91,3.25,0,5.75-1.61,6.63-4.48l.55,3.97h4.39v-30.5Zm-9.93,26.91c-3.17,0-4.94-2.45-4.94-6.8,0-4.77,1.82-7.44,5.03-7.44,2.66,0,4.65,2.03,4.65,5.2v3.21c0,3.59-1.9,5.83-4.73,5.83m-32.28,3.59h5.2v-11.91c0-3.51,1.69-5.45,4.56-5.45,2.24,0,3.47,1.39,3.47,3.93v13.43h5.24v-14.87c0-4.27-2.58-6.89-6.63-6.89-3.34,0-5.87,1.69-6.93,4.6l-.63-4.1h-4.27v21.25Zm-13.81-21.76c-4.86,0-8.11,2.45-8.49,6.46l4.9,.76c.04-2.15,1.18-3.34,3.34-3.34s3.29,1.18,3.29,3.25v2.37c-.68-.04-1.65-.13-2.32-.13-6.55,0-10.18,2.49-10.18,6.76,0,3.72,2.62,6.04,6.67,6.04,2.92,0,5.32-1.31,6.13-3.46,.17,.55,.34,1.06,.63,1.56,.8,1.23,2.2,1.9,3.93,1.9,1.14,0,2.32-.3,3.04-.8l-.21-3.55c-.3,.29-.76,.42-1.22,.42-1.01,0-1.48-.51-1.48-1.65v-9.76c0-4.52-2.75-6.84-8.03-6.84m-1.18,18.63c-1.99,0-3.21-1.1-3.21-2.83,0-2.24,1.94-3.42,5.7-3.42,.21,0,.85,0,1.73,.13v1.48c0,2.91-1.69,4.65-4.22,4.65m-11.91-.59c-1.18,0-1.73-.59-1.73-1.9v-24.88h-5.2v25.86c0,3.25,1.82,5.07,5.15,5.07,1.48,0,2.92-.38,3.89-.93l-.38-3.76c-.55,.38-1.1,.55-1.73,.55m-15.42-17.53l-6.29,8.03h-1.65v-17.28h-5.2v30.5h5.2v-9.38h1.56l6.93,9.38h6.08l-8.49-11.49,7.73-9.76h-5.87Zm-25.01,21.76c4.52,0,7.69-2.53,8.41-6.63l-4.6-1.22c-.21,2.41-1.65,3.93-3.8,3.93-3.08,0-4.86-2.62-4.86-7.18s1.77-7.22,4.82-7.22c2.2,0,3.63,1.52,3.8,3.89l4.56-.97c-.46-4.18-3.68-6.84-8.41-6.84-3.08,0-5.49,1.01-7.31,3-1.78,1.99-2.66,4.73-2.66,8.15,0,6.89,3.84,11.11,10.05,11.11m-13.86-21.76h-5.24v12c0,3.55-1.65,5.62-4.35,5.62-2.2,0-3.42-1.39-3.42-3.89v-13.73h-5.2v14.91c0,4.22,2.66,6.84,6.59,6.84,3.38,0,5.66-1.56,6.63-4.48l.63,3.97h4.35v-21.25Zm-31.05-6.97h-6l-10.35,28.22h5.24l2.41-6.89h11.24l2.41,6.89h5.41l-10.35-28.22Zm1.06,17.19h-8.28l4.1-11.62h.08l4.1,11.62Z"}),c.createElement("path",{className:"cls-1",d:"M358.12,81.27c2.37,0,3.93,1.77,3.93,4.35,0,.55,0,.84-.04,1.06h-8.79c.34-3.42,2.15-5.41,4.9-5.41m.08,14.53c-3.08,0-4.94-2.32-5.07-6.25h13.43c.21-.68,.42-1.82,.42-2.83,0-5.58-3.38-9.21-8.79-9.21-3.08,0-5.53,1.01-7.35,3.04-1.82,2.03-2.7,4.77-2.7,8.24,0,6.89,3.76,10.98,10.01,10.98,4.39,0,7.6-2.11,8.62-5.87l-4.31-1.39c-.55,2.2-1.94,3.29-4.27,3.29m-31.85,3.46h5.2v-11.91c0-3.51,1.69-5.45,4.56-5.45,2.24,0,3.46,1.39,3.46,3.93v13.43h5.24v-14.87c0-4.27-2.58-6.89-6.63-6.89-3.04,0-5.45,1.48-6.63,4.06v-12.8h-5.2v30.5Zm-7.1-3.76c-1.82,0-2.7-.97-2.7-2.87v-10.73h5.96v-3.89h-5.96v-5.2l-5.24,.68v4.52h-2.87v3.89h2.87v11.36c0,4.22,2.45,6.51,6.97,6.51,1.86,0,3.72-.55,5.07-1.52l-.72-3.85c-1.23,.8-2.2,1.1-3.38,1.1m-25.52,3.76v-17.36h5.03v-3.89h-5.03v-1.77c0-2.53,1.14-3.97,3.21-3.97,1.14,0,1.86,.25,2.7,.97l1.27-3.76c-1.56-.85-2.96-1.23-4.61-1.23-2.32,0-4.22,.72-5.66,2.2-1.39,1.44-2.11,3.34-2.11,5.75v1.82h-2.92v3.89h2.92v17.36h5.2Zm-19.73-3.38c-3.21,0-4.86-2.49-4.86-7.27s1.65-7.22,4.86-7.22,4.9,2.49,4.9,7.22-1.69,7.27-4.9,7.27m0-18.38c-3.08,0-5.58,1.01-7.39,3-1.82,1.98-2.7,4.69-2.7,8.11s.89,6.21,2.7,8.2c1.82,1.98,4.31,2.96,7.39,2.96,6.25,0,10.1-4.22,10.1-11.15s-3.89-11.11-10.1-11.11m-24.54,18c-1.82,0-2.7-.97-2.7-2.87v-10.73h5.96v-3.89h-5.96v-5.2l-5.24,.68v4.52h-2.87v3.89h2.87v11.36c0,4.22,2.45,6.51,6.97,6.51,1.86,0,3.72-.55,5.07-1.52l-.72-3.85c-1.22,.8-2.2,1.1-3.38,1.1m-20.74,3.76v-10.27c0-3.89,2.07-6.29,5.24-6.29,.72,0,1.65,.13,2.15,.3l.3-5.32c-.46-.13-.93-.13-1.39-.13-3.17,0-5.66,2.2-6.51,5.62l-.59-5.15h-4.39v21.25h5.2Zm-18.8-21.76c-4.86,0-8.11,2.45-8.49,6.46l4.9,.76c.04-2.15,1.18-3.34,3.34-3.34s3.29,1.18,3.29,3.25v2.37c-.68-.04-1.65-.13-2.32-.13-6.55,0-10.18,2.49-10.18,6.76,0,3.72,2.62,6.04,6.67,6.04,2.92,0,5.32-1.31,6.13-3.46,.17,.55,.34,1.06,.63,1.56,.8,1.22,2.2,1.9,3.93,1.9,1.14,0,2.32-.29,3.04-.8l-.21-3.55c-.29,.3-.76,.42-1.22,.42-1.01,0-1.48-.51-1.48-1.65v-9.76c0-4.52-2.75-6.84-8.03-6.84m-1.18,18.63c-1.98,0-3.21-1.1-3.21-2.83,0-2.24,1.94-3.42,5.7-3.42,.21,0,.84,0,1.73,.13v1.48c0,2.91-1.69,4.65-4.22,4.65m-15.17-15.84c0,3.38-1.77,4.98-5.37,4.98h-4.65v-9.93h4.65c3.59,0,5.37,1.61,5.37,4.94m5.53,0c0-5.87-3.76-9.25-10.31-9.25h-10.6v28.22h5.37v-9.76h5.24c6.42,0,10.31-3.46,10.31-9.21"}))),T=({isActive:e,setIsActive:t})=>s.jsx("div",{inert:!e,className:` 23 fixed inset-x-0 bottom-0 z-40 w-full border-t border-grey-stroke 24 bg-primary-true-white shadow-[0_-4px_24px_rgba(22,22,22,0.08)] 25 transition-all duration-1000 ease-in-out 26 ${e?"translate-y-0 opacity-100":"pointer-events-none translate-y-full opacity-0"} 27 `,children:s.jsxs("section",{className:` 28 max-width-container mx-auto flex items-center justify-end gap-2 p-1 29 desktop:p-2 30 `,children:[s.jsx(I,{className:`
31 h-auto max-h-16 w-auto max-w-[min(100%,420px)] shrink-0 32 object-contain 33 `,"aria-hidden":!0}),s.jsx("button",{type:"button",onClick:()=>t(!1),className:` 34 group shrink-0 rounded-full p-2 transition-colors 35 hover:bg-primary-soft-black/5 36 focus:outline-none 37 focus-visible:ring-2 focus-visible:ring-primary-soft-black 38 focus-visible:ring-offset-2 39 `,"aria-label":"Dismiss Auckland Council banner",children:s.jsx(Z,{className:"h-5 w-5 text-primary-soft-black"})})]})}),P=({attributes:e,isLivePreview:t=!1})=>{const{councilBanner:n}=R(),[a,o]=c.useState(!1),l=c.useRef(null);return c.useEffect(()=>{C(e)},[e]),c.useEffect(()=>{if(e.slug!=="home")return;const i=l.current;if(!i)return;const h=new IntersectionObserver(([r])=>{r.isIntersecting?o(!1):o(!0)},{threshold:0});return h.observe(i),()=>h.disconnect()},[e.slug]),s.jsxs(s.Fragment,{children:[s.jsx(M,{breadcrumbItems:e?.breadcrumbs,ref:l,imageUrl:e?.main_image,mobileImageUrl:e?.mobile_hero_image??e?.main_image,heroConfig:e?.hero_config,videoDesktopAutoplay:!0,children:s.jsx(B,{breadcrumbItems:e?.breadcrumbs,heading:e?.hero_config?.heading??"",subheading:e?.hero_config?.subheading,headingMaori:e?.hero_config?.heading_maori,fullBleed:e?.hero_config?.full_bleed??!1,anchors:e?.hero_config?.anchors})}),s.jsx("div",{className:"max-width-container mx-auto",children:e?.blocks&&s.jsx(H,{blocks:e.blocks,isLivePreview:t,anchors:e?.hero_config?.anchors})}),s.jsx(_,{}),e.slug==="home"&&s.jsx(T,{isActive:n.isActive&&!a,setIsActive:n.setIsActive})]})};export{P as C};
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.