1import{r as k,u as V,Z as q,K as M,S as U,j as s,f as O,L as W,g as z,e as Z}from"./index-BxhRqWhv.js";import{c as G,r as J}from"./text-CC8iOyB8.js";import{c as Q}from"./parallax-C8FXQBEA.js";import{R as h}from"./RichText-CnIhK15H.js";import{R as X}from"./RichHeading-Tavqv88b.js";import{C as Y}from"./ContactForm-DMucSkKi.js";z.registerPlugin(U);function ss(i,r="large",v="medium_large"){var N,w,b;const c=i==null?void 0:i.node,t=((N=c==null?void 0:c.mediaDetails)==null?void 0:N.sizes)??[];return((w=t.find(x=>x.name===r))==null?void 0:w.sourceUrl)??((b=t.find(x=>x.name===v))==null?void 0:b.sourceUrl)??(c==null?void 0:c.guid)??""}function is(){var P,A,H,T;const i=k.useRef(null),{page:r}=V()??{},{pathname:v}=q(),c=(r==null?void 0:r.title)||"Untitled",t=(r==null?void 0:r.acfLandingPageBuilder)||"",N=t.acfHeadline||"",w=t.acfShowForm||!1,b=t.acfContactFormHeading||"",x=t.acfIntroduction||"",R=((A=(P=t.featuredVideo)==null?void 0:P.node)==null?void 0:A.mediaItemUrl)||((T=(H=t.featuredVideo)==null?void 0:H.node)==null?void 0:T.guid)||"",p=ss(t.acfFeaturedImage),o=(t==null?void 0:t.acfSections)||[],L=k.useRef({});return k.useEffect(()=>{const e=[];return Object.values(L.current).forEach(l=>{if(l){const n=M(l);n&&e.push(n)}}),()=>{e.forEach(l=>l())}},[o]),k.useEffect(()=>{let e=[];const l=()=>{var j,m;e.forEach(a=>a()),e=[],(j=U.getById("parallax-fill"))==null||j.kill();const d=(m=i.current)==null?void 0:m.querySelector('[data-transition-dock="service-featured-media"]');d&&z.set(d,{x:0,y:0,scale:1,clearProps:"transform,willChange,borderRadius,zIndex,position"});const u=Z(i.current),f=Q(i.current),g=G();u&&e.push(u),f&&e.push(f),g&&e.push(g),J()},n=()=>{requestAnimationFrame(()=>l())};return document.documentElement.classList.contains("page-transitioning")?window.addEventListener("page-transition:complete",n,{once:!0}):l(),()=>{var d;window.removeEventListener("page-transition:complete",n),e.forEach(u=>u()),(d=U.getById("parallax-fill"))==null||d.kill()}},[v,R,p,o]),s.jsxs("div",{ref:i,className:"relative",children:[s.jsx(O,{title:c,description:"",pathname:v}),s.jsx("section",{className:"page-hero parallax-fill-section relative w-full px-3 md:px-5 py-5 md:pt-0 md:pb-5 bg-white min-h-[80vh]__ md:min-h-screen flex flex-col justify-end",children:s.jsxs("div",{className:"grid grid-cols-12 w-full grid-rows-[30px_auto]",children:[s.jsx("div",{className:"col-span-12 change-logo-back","aria-hidden":"true"}),s.jsxs("div",{className:"col-start-1 col-span-12 md:col-span-10 lg:col-span-5 text-coffee mt-30 lg:mt-0 mb-12 lg:mb-0","data-blur":!0,children:[s.jsx("div",{className:"eyebrow max-w-[36ch]",children:c}),s.jsx("h1",{className:"hero-title w-[22ch]",children:s.jsx("span",{children:N})})]}),s.jsx("div",{className:"col-start-1 col-span-12 lg:col-start-8 lg:col-span-5",children:s.jsx("div",{className:"featured-image",children:R?s.jsx("div",{className:"ratio service-featured-media parallax-fill rounded-[10px]",style:{"--aspect-ratio-desktop":"54%","--aspect-ratio-mobile":"54%"},"data-transition-dock":"service-featured-media",children:s.jsx("video",{src:R,poster:p?`${p}.webp`:void 0,autoPlay:!0,muted:!0,loop:!0,playsInline:!0})}):s.jsxs("picture",{className:"ratio service-featured-media parallax-fill rounded-[10px]",style:{"--aspect-ratio-desktop":"54%","--aspect-ratio-mobile":"54%"},"data-transition-dock":"service-featured-media",children:[p?s.jsx("source",{srcSet:`${p}.webp`,type:"image/webp"}):null,p?s.jsx("img",{src:`${p}.webp`,alt:c}):null]})})})]})}),s.jsx("section",{className:"px-3 md:px-5 pt-10 lg:pt-20 bg-white section-light change-logo",children:s.jsx("div",{className:"grid grid-cols-12 w-full",children:s.jsx("div",{className:"col-start-1 col-span-12 md:col-span-10 lg:col-span-5 slide-up-subtle",children:s.jsx(h,{html:x})})})}),o==null?void 0:o.map((e,l)=>{const n=(e==null?void 0:e.acfHeadline)||"",d=(e==null?void 0:e.acfIntroduction)||"",u=(e==null?void 0:e.acfContent)||"",f=(e==null?void 0:e.acfContentAfter)||"",g=(e==null?void 0:e.acfSteps)||[],j=(e==null?void 0:e.acfFeatures)||[],m=(e==null?void 0:e.acfCta)||"";return n?s.jsx("section",{className:`px-3 md:px-5 py-10 md:py-20 bg-white section-light${l===0?" change-logo__":""}`,children:s.jsxs("div",{className:"grid grid-cols-12 w-full",children:[n&&s.jsxs("div",{className:"col-span-12 lg:col-span-5 max-w-[70ch] mb-5 lg:mb-0 slide-up-subtle",children:[s.jsx(X,{as:"h2",html:n,className:"font-literata section-heading"}),s.jsx("div",{className:"mt-10 slide-up-subtle",children:d&&s.jsx(h,{html:d})})]}),u&&s.jsx("div",{className:"col-start-1 col-span-12 lg:col-start-7 lg:col-span-6 section-content slide-up-subtle",children:s.jsx(h,{html:u})}),g.length>0&&s.jsx("div",{className:"col-start-1 col-span-12 md:col-start-7 md:col-span-5 step-list",children:g.map((a,y)=>{const C=(a==null?void 0:a.acfTitle)||"",S=(a==null?void 0:a.acfContent)||"",E=`section-${l}-step-${y}`;return!C&&!S?null:s.jsxs("div",{className:"step-item slide-up-subtle",children:[s.jsxs("div",{className:"step-title",children:[s.jsxs("span",{children:["Step ",y+1]})," ",C]}),s.jsx("div",{className:"step-content",children:s.jsx(h,{html:S})})]},E)})}),j.length>0&&s.jsx("div",{className:"col-start-1 col-span-12 md:col-start-7 md:col-span-5 feature-list",children:j.map((a,y)=>{const C=(a==null?void 0:a.acfTitle)||"",S=(a==null?void 0:a.acfContent)||"",E=(a==null?void 0:a.acfSwag)||"",D=`section-${l}-feature-${y}`;return s.jsxs("div",{className:"feature-item slide-up-subtle",children:[s.jsx("div",{className:"feature-title",children:C}),s.jsx("div",{className:"feature-content",children:s.jsx(h,{html:S})}),E&&s.jsx("div",{className:"swags my-20",children:E.map(($,K)=>{const _=$.acfPreUnit??"",B=$.acfPostUnit??"",I=$.acfNumber??"",F=$.acfDetail??"";return s.jsx("div",{className:"swag landing-page flex slide-up-subtle",children:s.jsxs("div",{className:"swag-numbers flex justify-start items-start",children:[_&&s.jsx("span",{className:"swag-unit pre",children:_}),I&&s.jsx("span",{className:"swag-number",children:I}),B&&s.jsx("span",{className:"swag-unit",children:B}),F&&s.jsx("span",{className:"ps-5 pt-2 swag-detail",children:F})]})},`swag-${K}`)})})]},D)})}),f&&s.jsx("div",{className:"col-start-1 col-span-12 md:col-start-7 md:col-span-6 section-content slide-up-subtle",children:s.jsx(h,{html:f})}),m&&s.jsx("div",{className:"button-wrapper col-start-1 col-span-12 md:col-start-7 md:col-span-6 slide-up-subtle md:mt-4",children:s.jsx(W,{to:m.url,ref:a=>{L.current[l]=a},title:m.title,target:m.target,className:"btn relative mt-10",children:s.jsx("span",{children:m.title})})})]})},`section-${l}`):null}),w&&s.jsx("section",{className:`px-3 md:px-5 pt-10 md:pt-20${o!=null&&o.length?"":" change-logo"}`,children:s.jsx("div",{className:"grid grid-cols-12 w-full",children:s.jsx("div",{className:"col-start-1 col-span-12 md:col-start-7 md:col-span-5 slide-up-subtle",children:s.jsx(Y,{variant:"dark",heading:b})})})})]})}export{is as 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.