PageSourceSearch

https://www.aspenlegal.com.au/_next/static/chunks/448-84e7857fba45d773.js?dpl=dpl_4LY7BBEhgQtaLENQRYU4dHtvuDmQ

js aspenlegal.com.au collected 2026-10-08 03:07:43 UTC 76,268 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[448],{617:function(e,t,a){a.d(t,{Gn:function(){return s},kn:function(){return o},r8:function(){return c}});var l=a(2729),n=a(8806),r=a(1604);function i(){let e=(0,l._)(['\n  mutation (\n    $name: String\n    $email: String\n    $phone: String\n    $interestedIn: String\n    $message: String\n    $location: String\n    $pageId: Int\n  ) {\n    createContactEnquiry(\n      input: {\n        clientMutationId: "Contact Form Enquiry"\n        name: $name\n        email: $email\n        interestedIn: $interestedIn\n        phone: $phone\n        message: $message\n        location: $location\n        pageId: $pageId\n      }\n    ) {\n      data\n      success\n    }\n  }\n']);return i=function(){return e},e}let s=/^\({0,1}((0|\+61)(2|4|3|7|8)){0,1}\){0,1}(\ |-){0,1}[0-9]{2}(\ |-){0,1}[0-9]{2}(\ |-){0,1}[0-9]{1}(\ |-){0,1}[0-9]{3}$/gm,o=r.z.object({name:r.z.string().min(1,{message:"Please enter your name"}),email:r.z.string().email({message:"Please enter a valid email"}),phone:r.z.string().regex(s,{message:"Please enter a valid phone number"}),interestedIn:r.z.string().min(1,{message:"Please select an option"}),message:r.z.string().optional(),agreeTerms:r.z.boolean().refine(e=>!0===e,{message:"You must check this box to submit your enquiry"})}),c=(0,n.Ps)(i())},8234:function(e,t,a){a.d(t,{E:function(){return s}});var l=a(5893),n=a(4075),r=a(8381),i=a(4798),s=a(7294).forwardRef((e,t)=>{let{onClick:a,direction:s="left",className:o,ariaLabel:c,disabled:d,style:u}=e;return(0,l.jsx)("button",{type:"button","aria-label":c,disabled:d,className:(0,i.cn)("group/arrow flex size-[42px]  items-center justify-center duration-150",r.uS.arrowsRounded&&"rounded-subtle",r._g.arrowBackground,r._g.arrowBackgroundHover,d&&"".concat(r._g.arrowBackgroundDisabled," pointer-events-none cursor-not-allowed"),o),onClick:a,ref:t,style:u,children:(0,l.jsx)(n.JO,{name:"page_left",className:(0,i.cn)("h-[16px] w-[10px]","right"===s?"ml-[3px] scale-[-1]":"mr-[3px]",r._g.arrow,r._g.arrowHover,d&&r._g.arrowDisabled)})})})},69:function(e,t,a){a.d(t,{I:function(){return s}});var l=a(9241),n=a(6801),r=a(4798),i=a(7311);let s=e=>{var t,a,s,o;let{wpPost:c,image:d,heading:u,description:m,uri:x,buttonText:p,date:h,eyebrow:v,categories:g,link:f,headingStyles:b,...j}=e,w=u||(null==c?void 0:c.title),y=m||(null==c?void 0:c.excerpt),N=(null==d?void 0:d.sourceUrl)||(null==d?void 0:null===(t=d.node)||void 0===t?void 0:t.sourceUrl)||(null==c?void 0:null===(s=c.featuredImage)||void 0===s?void 0:null===(a=s.node)||void 0===a?void 0:a.sourceUrl),k=N&&{src:N,alt:"Thumbnail for ".concat(w)},_=x||(0,l.Q)(f)||(null==c?void 0:c.uri),S=p||!!_&&(null==f?void 0:f.text),I=(h||(null==c?void 0:c.date))&&(0,n.s)(h||(null==c?void 0:c.date),"DD MMM YY"),T=g||(null==c?void 0:null===(o=c.categories)||void 0===o?void 0:o.nodes),z=_?{href:!S&&_,className:(0,r.cn)("duration-150",b)}:{className:b};return{image:k,heading:w&&(0,i.ZP)(w),headingLinkProps:z,description:y&&(0,i.ZP)(y),uri:_,categories:T,buttonText:S,date:I,eyebrow:v||I,...j}}},9683:function(e,t,a){a.d(t,{FD:function(){return d},UK:function(){return m},hE:function(){return o},xu:function(){return c}});var l=a(5893),n=a(4075),r=a(8381),i=a(4798),s=a(2003);let o=e=>{let{className:t,...a}=e;return(0,l.jsx)("div",{className:(0,i.cn)("cardTextWrapper flex h-100 flex-col",t),...a})},c=e=>{let{className:t,...a}=e;return(0,l.jsx)(n.Ee,{...a,className:(0,i.cn)("cardImage overflow-hidden","group-[:has(a):hover]:[&>img]:scale-110",t)})},d=e=>{let{className:t,...a}=e;return(0,l.jsx)("p",{className:(0,i.cn)("eyebrow typography-footnote font-bold md:mb-[-8px]",r.XU.eyebrow,t),...a})},u=(0,s.j)(["relative flex h-100 overflow-hidden","[&>figure]:shrink-0 [&>figure]:rounded-inherit","[&_a]:expand-pseudo"],{variants:{contained:{true:"shadow-soft"},rounded:{true:"rounded-subtle"},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30"},alignment:{left:"text-left [&_.cardTextWrapper]:items-start",center:"text-center [&_.cardTextWrapper]:items-center"},direction:{column:"flex-col [&>.cardImage]:w-full",row:"flex-row [&>.cardImage]:w-[30%]"},scaleImageOnHover:{true:"group [&>.cardImage>img]:scale-100 [&>.cardImage>img]:duration-500"}},compoundVariants:[{contained:!0,rounded:!0,direction:"row",className:"[&>.cardImage]:rounded-bl-inherit [&>.cardImage]:rounded-br-none [&>.cardImage]:rounded-tr-none"},{contained:!0,rounded:!0,direction:"column",className:"[&>.cardImage]:rounded-bl-none [&>.cardImage]:rounded-br-none [&>.cardImage]:rounded-tl-inherit [&>.cardImage]:rounded-tr-inherit"},{contained:!1,alignment:"left",direction:"column",className:"[&_.cardTextWrapper]:px-0"}],defaultVariants:{direction:"column",alignment:"left",contained:!1,rounded:!1,disabled:!1,scaleImageOnHover:!0}}),m=e=>{let{className:t,children:a,...n}=e;return(0,l.jsx)("div",{className:(0,i.cn)(u(n),t),children:a})}},4442:function(e,t,a){var l=a(5893),n=a(367),r=a(4798);a(7294);var i=a(9858);t.Z=e=>{let{wpPost:t,categories:a,className:s,blogIndexPath:o,...c}=e,{categories:d,...u}=t||{},m=(null==d?void 0:d.nodes)||a,x=null==m?void 0:m.map(e=>{let{name:t,slug:a}=e;return{label:t,uri:(0,n.U)(o,a)}});return(0,l.jsx)(i.Z,{alignment:"left",sizes:"(max-width: 700px) 100v
1w, (max-width: 1024px) 50vw, 37vw",contained:!1,wpPost:u,categories:x,displayPlaceholderImage:!0,className:(0,r.cn)("!bg-transparent [&_.eyebrow]:!text-primaryOne  [&_p]:text-body","[&_h2]:typography-h5 [&_h2]:text-primaryTwo hover:[&_h2]:text-secondaryTwo","[&_.cardButton]:text-primaryOne",s),...c})}},9858:function(e,t,a){var l=a(5893),n=a(4075),r=a(8381),i=a(4798);a(7294);var s=a(69),o=a(9683);t.Z=e=>{let{image:t,heading:a,headingLinkProps:c,description:d,uri:u,buttonText:m,buttonVariant:x,icon:p,eyebrow:h,categories:v,fadeInOnLoad:g,displayPlaceholderImage:f,sizes:b,className:j,...w}=(0,s.I)(e),y=!!t||f;return(0,l.jsxs)(o.UK,{contained:!0,rounded:!0,alignment:"center",hasImage:!!y,className:(0,i.cn)(r.XU.background,u&&r.XU.backgroundHover,j,"group"),...w,children:[(0,l.jsx)(o.xu,{sizes:b,quality:100,fadeInOnLoad:g,displayPlaceholderImage:f,className:"aspect-ratio-[1.77]",...t}),(0,l.jsxs)(o.hE,{className:"gap-2 p-3 md:p-5",children:[h&&(0,l.jsx)(o.FD,{className:"",children:h}),p&&(0,l.jsx)(n.JO,{...p,className:"size-6"}),a&&(0,l.jsx)(n.xv,{as:"h2",textStyle:"h4",className:r.XU.heading,children:(0,l.jsx)(n.xK,{...c,children:a})}),d&&(0,l.jsx)(n.xv,{as:"bodySmall",className:r.XU.description,children:d}),(m&&u||v)&&(0,l.jsxs)(o.hE,{className:"justify-end gap-2",children:[(0,l.jsx)(n.zx,{variant:x||"textLink",href:u,ariaLabel:"Click to read more about ".concat(a),className:"cardButton text-white hover:text-utilitarianThree",children:m}),!!(null==v?void 0:v.length)&&(0,l.jsx)("div",{className:"flex flex-row gap-1",children:v.map((e,t)=>(0,l.jsx)(n.Vp,{...e},t))})]})]})]})}},9411:function(e,t,a){a.d(t,{lr:function(){return d},bb:function(){return u},vr:function(){return c}});var l=a(5893),n=a(4798),r=a(1583),i=a(7294);let s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,a={timer:0},l=()=>{window.clearTimeout(a.timer),a.timer=0},n=()=>{l(),requestAnimationFrame(()=>a.timer=window.setTimeout(r,1e3*t))},r=()=>{e.canScrollNext()?e.scrollNext():e.scrollTo(0),n()};return{play:n,stop:l}};var o=a(7798);let c=e=>{let{watchDrag:t,duration:a=30,autoPlay:l,interval:n=5,dragFree:o,loop:c,align:d="start",startIndex:u=0,containScroll:m,skipSnaps:x,passedIndex:p}=e,[h,v]=(0,r.Z)({loop:c,align:d,duration:a,watchDrag:t,dragFree:o,startIndex:u,skipSnaps:x,containScroll:m}),g=(0,i.useRef)(null),f=(0,i.useRef)(null),b=(0,i.useRef)(null),[j,w]=(0,i.useState)(!1),[y,N]=(0,i.useState)(!1),[k,_]=(0,i.useState)(0),[S,I]=(0,i.useState)([]),T=(0,i.useCallback)(()=>v&&v.scrollPrev(),[v]),z=(0,i.useCallback)(()=>v&&v.scrollNext(),[v]),C=(0,i.useCallback)(e=>v&&v.scrollTo(e),[v]),B=(0,i.useCallback)(e=>{I(e.scrollSnapList())},[]),L=(0,i.useCallback)(e=>{_(e.selectedScrollSnap()),w(e.canScrollPrev()),N(e.canScrollNext())},[]);return((0,i.useEffect)(()=>{if(!v)return;B(v),L(v),v.on("reInit",B),v.on("reInit",L),v.on("select",L),null==v||v.on("resize",()=>B(v));let e=s(v,n);if(l){var t,a,r;e.play(),v.on("pointerDown",e.play),null==f||null===(t=f.current)||void 0===t||t.addEventListener("mousedown",e.play,!1),null==g||null===(a=g.current)||void 0===a||a.addEventListener("mousedown",e.play,!1),null==b||null===(r=b.current)||void 0===r||r.addEventListener("mousedown",e.play,!1)}},[v,l,n,L,B]),(0,i.useEffect)(()=>{(p||0===p)&&v&&C(p)},[p,v,C]),h)?{selectedIndex:k,previousButtonProps:{ref:f,disabled:!j,onClick:()=>T()},nextButtonProps:{ref:g,disabled:!y,onClick:()=>z()},dotProps:{innerRef:b,scrollSnaps:S,selectedIndex:k,scrollTo:C},carouselProps:{emblaRef:h,selectedIndex:k}}:null},d=e=>{let{emblaRef:t,selectedIndex:a,children:r,className:i,fade:s,aspectRatioStyles:o,slideStyles:c="basis-11/12 sm:basis-4/5 md:basis-1/3",gapStyles:d="gap-1 sm:gap-2 md:gap-4",mainColumn:u}=e;return s?(0,l.jsx)("div",{ref:t,className:(0,n.cn)("relative h-full w-full",i),children:(0,l.jsx)("div",{className:(0,n.cn)("!transform-none",o),children:null==r?void 0:r.map((e,t)=>{let r=t===a;return(0,l.jsx)("div",{className:(0,n.cn)(r?"opacity-1":"opacity-0","flex-[0 0 100%] static !transform-none duration-[1500ms] [&>*]:absolute-full"),children:e},t)})})}):(0,l.jsx)("div",{className:(0,n.cn)("flex flex-col items-center overflow-hidden",i),children:(0,l.jsx)("div",{ref:t,className:u?"main-column":"w-full",children:(0,l.jsx)("div",{className:(0,n.cn)("flex will-change-transform",d),children:null==r?void 0:r.map((e,t)=>(0,l.jsx)("div",{className:(0,n.cn)("relative shrink-0 grow-0",c),children:e},t))})})})},u=i.forwardRef((e,t)=>
1{let{scrollSnaps:a,selectedIndex:n,scrollTo:r,className:i}=e;return(0,l.jsx)(o.t,{className:i,ref:t,children:a.map((e,t)=>(0,l.jsx)(o.o,{"aria-label":"Dot ".concat(t+1),className:"".concat(t===n?"active":""," focus-visible"),onClick:()=>r(t)},t))})})},7798:function(e,t,a){a.d(t,{o:function(){return s},t:function(){return i}});var l=a(5893),n=a(8381),r=a(4798);let i=e=>{let{className:t,...a}=e;return(0,l.jsx)("div",{className:(0,r.cn)("inline-grid grid-flow-col justify-start gap-1",t),...a})},s=e=>{let{className:t,...a}=e;return(0,l.jsx)("button",{type:"button",className:(0,r.cn)("relative size-[6px] cursor-pointer rounded-full duration-300","before:content=[''] before:h-[150%] before:w-[calc(100%+8px)] before:absolute-centered",n.Cr.default,n.Cr.hover,n.Cr.active,t),...a})}},4645:function(e,t,a){a.r(t);var l=a(5893),n=a(7294),r=a(4075),i=a(4798),s=a(4575),o=a(7311);let{tableHighlightRow:c,tableHighlightRowAlternate:d,tableHighlightText:u,tableHeading:m,tableHeadingText:x,tableRow:p,tableRowAlternate:h,tableIcon:v,tableIconHighlight:g}={tableHighlightRow:"bg-utilitarianTwo",tableHighlightRowAlternate:"bg-white",tableHighlightText:"text-body",tableHeading:"bg-secondaryOne",tableHeadingText:"text-white",tableRow:"bg-utilitarianTwo",tableRowAlternate:"bg-white",tableIcon:"",tableIconHighlight:"icon-color-primaryOne"},f=e=>{var t;let{display:a,heading:n,className:s}=e;if(!a)return null;let{variant:o,image:c,text:d}=n;return(0,l.jsx)("th",{className:(0,i.cn)(m,x,s),children:"image"===o?(0,l.jsx)(r.Ee,{src:null==c?void 0:null===(t=c.node)||void 0===t?void 0:t.sourceUrl,inheritSize:!0,className:"max-h-[50px] max-w-[100px] md:max-w-[120px]"}):d})},b=e=>({yes:(0,l.jsx)(r.JO,{name:"check_round",className:g}),no:(0,l.jsx)(r.JO,{name:"cross",className:v}),maybe:(0,l.jsx)(r.JO,{name:"question_mark_outline",className:"[&_path]:stroke-utilitarianSix"})})[e],j=e=>{let{label:t,column1:a,column2:n,column3:r,column4:s,columns:m,idOdd:x,isSidebar:v}=e,{column1:{display:g},column2:{display:f},column3:{display:j},column4:{display:w}}=m;return(0,l.jsxs)("tr",{className:(0,i.cn)(x?p:h),children:[(0,l.jsx)("td",{className:(0,i.cn)(u,x?c:d,v&&"md:!w-[165px] md:!min-w-[165px]"),children:(0,l.jsx)("span",{children:(0,o.ZP)(t)})}),g&&(0,l.jsx)("td",{children:b(a)}),f&&(0,l.jsx)("td",{children:b(n)}),j&&(0,l.jsx)("td",{children:b(r)}),w&&(0,l.jsx)("td",{children:b(s)})]})};t.default=e=>{let{avBlockComparisonTableColumns:t,avBlockComparisonTableRows:a,isSidebar:r,id:o}=e;return(0,l.jsx)("figure",{className:(0,i.cn)(s.d.mediumWidth,s.d.extraMargin2,"comparisonTable"),id:o,children:(0,l.jsx)("table",{children:(0,l.jsxs)("tbody",{className:"typography-bodySmall",children:[(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"",children:" "}),Object.keys(t).map((e,a)=>(0,n.createElement)(f,{...t[e],key:a,className:0===a&&"bg-primaryOne"}))]}),null==a?void 0:a.map((e,a)=>(0,n.createElement)(j,{...e,key:a,columns:t,idOdd:a%2==0,secondaryColor:"bg-white",isSidebar:r}))]})})})}},4539:function(e,t,a){var l=a(2729),n=a(5893),r=a(8806),i=a(1068),s=a(3388),o=a(9832),c=a(4075),d=a(4798),u=a(7311),m=a(1163),x=a(7294),p=a(7536),h=a(1604),v=a(617),g=a(1585);function f(){let e=(0,l._)(['\n  mutation (\n    $name: String\n    $email: String\n    $phone: String\n    $location: String\n    $variant: String\n    $pageId: Int\n  ) {\n    createCampaignEnquiry(\n      input: {\n        clientMutationId: "Campaign Landing Form Submission"\n        name: $name\n        email: $email\n        phone: $phone\n        location: $location\n        variant: $variant\n        pageId: $pageId\n      }\n    ) {\n      data\n      success\n    }\n  }\n']);return f=function(){return e},e}let b=e=>(0,n.jsx)(g.oi,{...e,className:"[&_label]:typography-body [&_label]:font-bold"}),j=(0,r.Ps)(f()),w=h.z.object({name:h.z.string().min(1,{message:"Please enter your name"}),email:h.z.string().email({message:"Please enter a valid email"}),phone:h.z.string().refine(e=>e.match(v.Gn)||(null==e?void 0:e.length)===0,{message:"Please enter a valid phone number"}),tickedCheckbox:h.z.boolean().refine(e=>!0===e,{message:"You must check this box to submit your enquiry"})});t.Z=e=>{let{databaseId:t,display:a,heading:l,buttonText:r,checkboxPrompt:h,successMessage:v,hashParam:f,variant:y,className:N}=e,[k,_]=(0,x.useState)(!1),S=(0,m.useRouter)(),I="".concat("https://www.aspenlegal.com.au").concat(S.asPath).split("#")[0],{register:T,handleSubmit:z,formState:{errors:C}}=(0,p.cI)({resolver:(0,o.F)(w.omit(h?{}:{tickedCheckbox:!0}))}),[B]=(0,i.D)(j,{onError:e=>console.log("e:",e),onCompleted:e=>{console.log("d:",e)}});return((0,s.H)(e=>{e===f?_(!0):_(!1)}),a)?k?(0,n.jsx)("div",{className:(0,d.cn)("prose",N,"footer"===y&&"[&_>*]:text-white"),children:(0,u.ZP)(v||"<h5>Thanks for your submission!</h5>")}):(0,n.jsxs)("form",{onSubmit:z(e=>{let{tickedCheckbox:a,phone:l,...n}=e;B({variables:{...n,pageId:t,location:I,variant:y,phone:l||" "}}),S.push(f)}),"data-formid":"campaign-landing",className:(0,d.cn)(N),children:[l&&(0,n.jsx)(c.xv,{as:"h2",textStyle:"h5",className:"text-white",children:l}),(0,n.jsx)(b,{label:"My name",name:"name",register:T,errors:C}),(0,n.jsx)(b,{label:"My email address",name:"email",register:T,errors:C}),(0,n.jsx)(b,{label:"My phone number",secondaryLabel:"(optional)",name:"phone",register:T,errors:C}),h&&(0,n.jsx)(g.XZ,{name:"tickedCheckbox",register:T,errors:C,label:h,className:"text-white [&_label_a]:!text-white [&_label_a:hover]:!text-white"}),(0,n.jsx)(c.zx,{type:"submit",className:"ml-auto",variant:"tertiary",children:r||"Submit"})]}):null}},9470:function(e,t,a){a.d(t,{__:function(){return s},aP:function(){return o},qr:function(){return i}});var l=a(9963),n=a(4798),r=a(1585);let i="relative z-10 pt-[84px] pb-4 sm:pt-[132px] sm:pb-[72px] md:pt-[184px] md:pb-[96px] md:grid md:grid-cols-2 md:gap-[20px] md:place-items-start vbg:pt-[240px] vbg:pb-[130px]",s="md:pr-[20px] lg:pr-[116px] flex flex-col gap-2 md:gap-3",o=(0,n.cn)(r.xk,"mt-5 rounded-subtle border-1 md:mt-0 bg-primaryOne ".concat(l.pZ.border," w-full !gap-3 p-3 shadow-strong md:p-4 "))},5337:function(e,t,a){a.d(t,{t:function(){return x}});var l=a(5893),n=a(6430),r=a(8381),i=a(4798),s=a(7294),o=a(8234),c=a(2003);let d=(0,c.j)("flex h-5 w-5 cursor-pointer items-center justify-center rounded-strong border-2 p-0 font-bold ".concat(r._g.numberDefaultBorder," ").concat(r._g.numberDefaultNumber," ").concat(r._g.numberHoverBorder," ").concat(r._g.numberHoverNumber," "),{variants:{active:{true:"border-none ".concat(r._g.numberActiveBackgroun
1d," ").concat(r._g.numberActiveNumber," ").concat(r._g.numberActiveNumberHover," ")}},defaultVariants:{active:!0}});(0,c.j)("flex h-5 w-5 cursor-pointer content-center items-center justify-center disabled:cursor-not-allowed ".concat(r._g.arrowBackground," ").concat(r._g.arrowBackgroundDisabled," ").concat(r._g.arrowBackgroundHover),{variants:{variant:{rounded:"rounded-strong"}}});var u=e=>{let{pageNumber:t,currentPage:a,pagination:n}=e,[r,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{t===parseInt(a,10)?i(!0):i(!1)},[a,t]),(0,l.jsx)("li",{className:"group",children:(0,l.jsx)("button",{type:"button",className:d({active:r}),onClick:()=>n(t),children:t})})};let m=e=>{let{onClick:t,hidden:a}=e;return(0,l.jsx)("button",{type:"button",onClick:t,hidden:a,className:" hover-opacity ".concat(a?"hidden":"flex"," ").concat(d({active:!1})),children:(0,l.jsx)("span",{children:"..."})})};var x=e=>{let{currentPage:t,setCurrentPage:a,totalPosts:c,postsPerPageInit:d,postsPerPage:x,className:p}=e,h=parseInt(t,10),v=(0,n.G)(["(min-width: 768px)"],[!0],!1),[g,f]=(0,s.useState)([]),b=v?5:3,j=(Math.floor((h-1)/b)+1)*b-(b-1),w=Math.ceil((c-(d||x))/x+1),y=e=>{window.scrollTo({top:0,left:0,behavior:"instant"}),a(e)},N=()=>{y(j+b)},k=()=>{y(j-1)};(0,s.useEffect)(()=>{let e=[];for(let t=j;t<=j+(b-1)&&t<=w;t++)e=[...e,t];f(e)},[j,b,w]);let _=1===h?d:x;return!c||0===c||_&&c<=_?null:(0,l.jsxs)("div",{className:(0,i.cn)("mt-7 grid grid-flow-col justify-center gap-[14px] border-t-2 pt-3 sm:justify-end md:mt-6 md:pt-3",r._g.divider,p),children:[(0,l.jsx)(o.E,{direction:"left",disabled:1===h,onClick:()=>y(h-1),ariaLabel:"Previous page",className:"!rounded-full bg-primaryTwo hover:bg-secondaryTwo"}),(0,l.jsxs)("ul",{className:"grid list-none grid-flow-col gap-[14px] min-[430px]:gap-1 ",children:[(0,l.jsx)(m,{hidden:1===j,onClick:()=>k()}),g.map(e=>(0,l.jsx)(u,{pageNumber:e,currentPage:h,pagination:y},e)),(0,l.jsx)(m,{hidden:w<=j+b,onClick:()=>N()})]}),(0,l.jsx)(o.E,{direction:"right",disabled:0===c||h===w,onClick:()=>y(h+1),ariaLabel:"Next page",className:"!rounded-full bg-primaryTwo hover:bg-secondaryTwo"})]})}},9448:function(e,t,a){a.d(t,{UQ:function(){return e2},vm:function(){return to},Eh:function(){return $.E},Tn:function(){return tt.Z},MV:function(){return z},mv:function(){return e7},g1:function(){return eX},d2:function(){return tv},rt:function(){return tu},B5:function(){return tm},$_:function(){return eo},hJ:function(){return tr},hP:function(){return ts},xR:function(){return eG},HO:function(){return eI},l2:function(){return eZ},$h:function(){return eq},r1:function(){return te.Z},Al:function(){return D},OS:function(){return tf},Jn:function(){return tn},jk:function(){return ti},gc:function(){return A},nk:function(){return d},eH:function(){return tp},dd:function(){return e3.d},Ci:function(){return tg}});var l=a(5893),n=a(9241),r=a(4075),i=a(4798),s=a(7294),o=a(9213),c=a(6310),d=function(e){var t;let{heading:a,description:n,video:d,className:u,aspectRatio:m="aspect-[33.8/19]"}=e,{thumbnail:x,link:p,autoplay:h}=d||{},[v,g]=(0,s.useState)(!x||h),[f,b]=(0,s.useState)(h);return(null==d?void 0:d.link)?(0,l.jsxs)("section",{className:(0,i.cn)("text-center",u),children:[a&&(0,l.jsx)(r.xv,{as:"h2",className:"mb-2 text-heading md:mb-3",children:a}),n&&(0,l.jsx)(r.xv,{className:"mb-2 px-[20px] sm:mb-4 sm:px-[60px]",children:n}),(0,l.jsx)("button",{"aria-label":"Play Video",className:"group relative block w-full cursor-pointer overflow-hidden",type:"button",onClick:()=>{x&&(g(!0),b(!0))},children:(0,l.jsxs)("div",{className:(0,i.cn)(m,"relative mx-auto block max-w-[1120px]",o.mS.rounded&&"overflow-hidden rounded-2"),children:[x&&!v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Ee,{className:"[&>*]:disable-blur absolute left-0 top-0 block h-full w-full ",src:(null==x?void 0:null===(t=x.node)||void 0===t?void 0:t.sourceUrl)||(null==x?void 0:x.sourceUrl),alt:(null==x?void 0:x.altText)||"",sizes:"(max-width: 1024px) 100vw, 85vw"}),(0,l.jsx)("div",{className:"absolute bottom-1/2 left-1/2 top-1/2 flex -translate-x-half translate-y-half transform cursor-pointer items-center justify-center transition duration-100 group-hover:opacity-70 ",children:(0,l.jsx)(r.JO,{name:"play_button",className:(0,i.cn)("size-6 sm:size-[128px]",o.us.videoPlayIcon)})})]}),v&&(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full w-full flex-col ".concat(v?"flex":"none"),children:(0,l.jsx)(c.Z,{className:"absolute left-0 top-0 !h-full !w-full [&>iframe]:absolute [&>iframe]:left-0 [&>iframe]:top-0 [&>iframe]:h-full [&>iframe]:w-full [&>video]:object-cover ",controls:!0,url:p,playing:f,volume:1,muted:h})})]})})]}):null};let u={config:{youtube:{playerVars:{showinfo:0,controls:0,modestbranding:1}}},playing:!0,playsinline:!0,muted:!0,loop:!0};var m=function(e){let{video:t}=e;return(0,l.jsx)("div",{className:"h-full w-full overflow-hidden absolute-full",children:(0,l.jsx)(c.Z,{url:t,...u,width:"100%",height:"100%",className:"left-0 top-0 absolute-full [&>*]:object-cover "})})},x=e=>{let{selectedIndex:t=0,setCurrentSlide:a,items:n,variant:r}=e;if(!n)return null;let s=!t,o=n&&t===n.length-1,c="bg-transparent border-white border-2 hover:border-primaryOne hover:bg-primaryOne";return(0,l.jsxs)("div",{className:(0,i.cn)("absolute left-0 top-[20%] w-full sm:top-[25%] md:top-1/2","fullWidth"===r&&"!top-1/2"),children:[(0,l.jsx)($.E,{className:(0,i.cn)("absolute left-2 -translate-y-half md:left-[20px]",c),ariaLabel:"Previous CTA",onClick:()=>{var e;a(null===(e=n[s?n.length-1:t-1])||void 0===e?void 0:e.cta)}}),(0,l.jsx)($.E,{direction:"right",ariaLabel:"Next CTA",className:(0,i.cn)("absolute right-2 -translate-y-half md:right-[20px]",c),onClick:()=>{var e;a(null===(e=n[o?0:t+1])||void 0===e?void 0:e.cta)}})]})},p=a(9920),h=a(8381),v=a(2003);let g=(0,v.j)("group relative",{variants:{variant:{sideBySide:"".concat(h.f_.background," grid grid-cols-1 md:grid-cols-2"),fullWidth:"".concat(h.Iw.background)},hasImage:{true:"",false:""}},defaultVariants:{variant:"sideBySide",hasImage:!1}
1,compoundVariants:[{variant:"sideBySide",hasImage:!1,class:"md:grid-cols-1"}]}),f=(0,v.j)("relative overflow-hidden [&>*]:absolute-full",{variants:{variant:{sideBySide:"aspect-ratio-[1.44] sm:aspect-ratio-[2.27] md:pt-0",fullWidth:"absolute-full"},scaleImageOnHover:{true:"[&_img]:duration-700 group-hover:[&_img]:scale-110"}},defaultVariants:{variant:"sideBySide",scaleImageOnHover:!1}}),b=(0,v.j)("flex flex-col",{variants:{variant:{sideBySide:["px-3 py-4 md:p-[96px] bg:p-[128px] vbg:p-[256px]","[&_.grid]:justify-items-start [&_a]:self-start"],fullWidth:["items-center px-8 py-4 text-center sm:px-[128px] md:py-[96px] bg:px-[256px] bg:py-[128px] vbg:py-[176px] [&_p]:max-w-[1024px]","relative bg-[#000] bg-opacity-[55%]","[&_.grid]:justify-items-center [&_a]:self-center"]},narrow:{true:"md:!p-8 lg:!p-10 [&_.typography-eyebrow]:text-[10px]  [&_.typography-h2]:text-[32px] [&_p]:text-[16px]"},hasImage:{false:"!bg-transparent"}},defaultVariants:{variant:"sideBySide",narrow:!1}}),j=(0,v.j)("",{variants:{variant:{sideBySide:[h.f_.eyebrow],fullWidth:[h.Iw.eyebrow]}},defaultVariants:{variant:"sideBySide"}}),w=(0,v.j)("",{variants:{variant:{sideBySide:[h.f_.heading],fullWidth:[h.Iw.heading]}},defaultVariants:{variant:"sideBySide"}}),y=(0,v.j)("",{variants:{variant:{sideBySide:[h.f_.description],fullWidth:[h.Iw.description]}},defaultVariants:{variant:"sideBySide"}}),N=e=>{let{subheading:t,heading:a,description:s,link:o,buttonVariant:c,className:d,variant:u}=e,m=(0,n.Q)(o),x=(null==o?void 0:o.text)||!m?{}:{href:m,className:"expand-pseudo hover:text-bright duration-100"};return(0,l.jsxs)("div",{className:(0,i.cn)("grid content-start gap-2",d),children:[t&&(0,l.jsx)(r.xv,{as:"eyebrow",className:(0,i.cn)(j({variant:u})),children:t}),a&&(0,l.jsx)(r.xv,{as:"h2",className:(0,i.cn)(w({variant:u})),children:(0,l.jsx)(r.xK,{...x,children:a})}),s&&(0,l.jsx)(r.xv,{className:(0,i.cn)(y({variant:u})),children:s}),(0,l.jsx)(r.zx,{ariaLabel:"Click to read more about ".concat(a),href:m,variant:c,className:"expand-pseudo md:mt-2",children:null==o?void 0:o.text})]})};var k=e=>{let{currentSlide:t,renderCarousel:a,variant:n,children:r,narrow:i,buttonVariant:s,bodyHeightStyles:o,hasImage:c}=e,d=s||"fullWidth"===n?"primary":"secondary",u=(0,p.useTransition)(t,{from:{opacity:0,height:0,transform:"translateX(0px)"},enter:()=>[{opacity:0,height:"auto",transform:"translateX(-5px)"},{opacity:1,height:"auto",transform:"translateX(0px)"}],leave:()=>async e=>{await e({opacity:0,height:0,transform:"translateX(15px)"})},config:{friction:26,mass:2}}),m={buttonVariant:d,variant:n};return(0,l.jsxs)("div",{className:b({variant:n,narrow:i,hasImage:c}),children:[a?u((e,t)=>(0,l.jsx)(p.animated.div,{style:e,children:(0,l.jsx)(N,{...t,...m,variant:n,className:o})})):(0,l.jsx)(N,{...t,...m}),r]})},_=a(9411),S=a(7798);let I=e=>{let{items:t,selectedIndex:a,setCurrentSlide:n}=e;return(0,l.jsx)(S.t,{className:"mt-2 md:mt-4",children:t.map((e,r)=>(0,l.jsx)(S.o,{"aria-label":"Dot ".concat(r+1),className:(0,i.cn)(r===a&&"active",h.v.default,h.v.hover,h.v.active),onClick:()=>{var e;n(null===(e=t[r])||void 0===e?void 0:e.cta)}},r))})};var T=e=>{let{items:t,selectedIndex:a}=e,[n,i]=(0,s.useState)(!1);(0,s.useEffect)(()=>{i(!0)},[]);let{carouselProps:o}=(0,_.vr)({passedIndex:a});return(0,l.jsx)(_.lr,{fade:!0,...o,children:t.map((e,t)=>{var a,i;let{image:o,video:c}=e.cta,d=!!c;return(0,l.jsxs)(s.Fragment,{children:[n&&d&&(0,l.jsx)(m,{video:c}),!d&&(0,l.jsx)(r.Ee,{src:null==o?void 0:null===(a=o.node)||void 0===a?void 0:a.sourceUrl,alt:(null==o?void 0:null===(i=o.node)||void 0===i?void 0:i.altText)||"CTA Slide Image",sizes:"(max-width: 1023px) 100vw, (min-width: 1024px) 50vw, 45vw"},t)]},t)})})},z=e=>{var t,a,o,c,d,u,p,h,v,b,j,w,y,N;let{image:_,subheading:S,heading:z,description:C,link:B,video:L,items:E,variant:W,bodyHeightStyles:O,buttonVariant:P,imagePosition:U="left",narrow:M,className:H}=e,D={image:_,subheading:S,heading:z,description:C,link:B,imagePosition:U,video:L},[V,$]=(0,s.useState)(!1),[J,Z]=(0,s.useState)(E?E[0].cta:D);(0,s.useEffect)(()=>{$(!0)},[]);let R=null==E?void 0:E.find(e=>e.cta===J),A=R&&(null==E?void 0:E.indexOf(R))||0,K=null,F=!!E&&E.length>1&&(!!(null===(a=E[0])||void 0===a?void 0:null===(t=a.cta)||void 0===t?void 0:t.image)||!!(null===(c=E[0])||void 0===c?void 0:null===(o=c.cta)||void 0===o?void 0:o.video));F?K=(0,l.jsx)(T,{items:E,selectedIndex:A}):((null==J?void 0:J.image)||(null==J?void 0:null===(d=J.video)||void 0===d?void 0:d.node))&&(U=J.imagePosition||"left",
1K=((null==J?void 0:null===(p=J.video)||void 0===p?void 0:null===(u=p.node)||void 0===u?void 0:u.mediaItemUrl)||L)&&V?(0,l.jsx)(m,{video:(null==J?void 0:null===(v=J.video)||void 0===v?void 0:null===(h=v.node)||void 0===h?void 0:h.mediaItemUrl)||(null==L?void 0:null===(b=L.node)||void 0===b?void 0:b.mediaItemUrl)}):(0,l.jsx)(r.Ee,{src:null==J?void 0:null===(w=J.image)||void 0===w?void 0:null===(j=w.node)||void 0===j?void 0:j.sourceUrl,alt:(null==J?void 0:null===(N=J.image)||void 0===N?void 0:null===(y=N.node)||void 0===y?void 0:y.altText)||"",sizes:"(max-width: 1023px) 100vw, (min-width: 1024px) 50vw, 45vw"}));let q=!!K,G=(0,n.Q)(null==J?void 0:J.link);return z||_||(null==E?void 0:E.length)?(0,l.jsxs)("div",{className:(0,i.cn)(g({variant:W,hasImage:q}),H),children:[K&&(0,l.jsx)("div",{className:(0,i.cn)(f({variant:W,scaleImageOnHover:!!G}),"right"===U&&"md:order-1"),children:K}),(0,l.jsx)(k,{variant:W,renderCarousel:F,currentSlide:J,buttonVariant:P,narrow:M,bodyHeightStyles:O,hasImage:q,children:F&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I,{items:E,selectedIndex:A,setCurrentSlide:Z}),(0,l.jsx)(x,{selectedIndex:A,setCurrentSlide:Z,items:E,variant:W})]})})]}):null},C=a(9832),B=a(6394),L=a(7536),E=a(1604),W=a(1585);let O="".concat(h.e1.background," flex justify-center items-center"),P="".concat(h.e1.inputBackground," w-full rounded-subtle overflow-hidden pl-3 pr-[10px] py-1 flex justify-between h-[56px] lg:h-[79px] "),U="".concat(h.e1.inputBackground," ").concat(h.e1.inputBackground," ").concat(h.e1.inputPlaceholder," place grow-[2] border-none overflow-ellipsis mw-[159px] outline-none min-[350px]:mw-0 "),M=E.Ry({email:E.Z_().email({message:"Please enter a valid email address"})}),H=e=>{let{placeholder:t,submitButtonText:a,successMessage:n}=e,[i,o]=(0,s.useState)(!1),{register:c,handleSubmit:d,formState:{errors:u}}=(0,L.cI)({resolver:(0,C.F)(M)});return i?(0,l.jsx)(r.xv,{className:h.e1.successMessage,textStyle:"h5",children:n||"Thanks for signing up!"}):(0,l.jsxs)("form",{className:"relative",onSubmit:d(e=>{let{email:t}=e;fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t})}).then(()=>{}).catch(()=>{}),o(!0)}),"data-formid":"signup-form",children:[(0,l.jsxs)("div",{className:"".concat(P),children:[(0,l.jsx)("input",{className:"typography-bodySmall ".concat(U),type:"text",placeholder:t,...c("email")}),(0,l.jsx)(r.zx,{icon:{name:"send",className:" size-[14px] md:size-3 icon-color-current"},type:"submit",ariaLabel:"Click to signup our newsletter",children:a||"Submit"})]}),(0,l.jsx)(W.Bc,{name:"email",errors:u,className:"".concat(h.e1.error," absolute -bottom-[5px] left-0 translate-y-full transform md:-bottom-[10px]")})]})};var D=()=>{var e;let t=(0,B.Kp)(),{display:a,heading:n,description:s,inputPlaceholder:o,submitButtonText:c,successMessage:d}=(null==t?void 0:null===(e=t.siteOptions)||void 0===e?void 0:e.signUp)||{};return a?(0,l.jsx)("section",{className:"".concat(O),children:(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-cols-1 gap-3 text-center pt-3 pb-4 sm:pt-5 sm:pb-6 md:text-start lg:grid-cols-[1fr_620px] lg:items-center lg:py-8 md:gap-5 ","main-column"),children:[(0,l.jsxs)("div",{className:"".concat("flex flex-col gap-2 items-center sm:flex-row sm:items-start  sm:gap-3 lg:gap-4 "),children:[(0,l.jsx)(r.JO,{name:"email",className:"".concat(h.e1.icon," size-3 lg:size-6")}),(0,l.jsxs)("div",{className:"sm:text-left",children:[(0,l.jsx)(r.xv,{as:"h2",textStyle:"h5",className:"mb-1 ".concat(h.e1.heading," "),children:n}),(0,l.jsx)(r.xv,{as:"bodySmall",className:"".concat(h.e1.description),children:s})]})]}),(0,l.jsx)(H,{placeholder:o,submitButtonText:c,successMessage:d})]})}):null},V=a(8032),$=a(8234);let J=(0,v.j)("relative mx-auto grid grid-cols-1 justify-items-center gap-3 text-center",{variants:{position:{left:"sm:grid-cols-[auto_1fr] sm:items-start sm:justify-start sm:text-left md:gap-5 [&_.buttonDotsWrapperStyles]:sm:flex-row",center:""}},defaultVariants:{position:"left"}}),Z=e=>{let{children:t}=e;return(0,l.jsxs)("div",{className:"inline-flex items-center gap-[20px]",children:[(0,l.jsx)("div",{className:"h-[1px] w-2 ".concat(h.sz.authorDash)}),(0,l.jsx)("figcaption",{className:(0,i.cn)(h.sz.author,"typography-bodySmall"),children:t})]})},R=e=>{let{previousButtonProps:t,nextButtonProps:a}=e;return(0,l.jsxs)("div",{className:"absolute left-0 top-[75px] w-full sm:top-[110px]",children:[(0,l.jsx)($.E,{ariaLabel:"Previous testimonial",...t,className:"absolute left-0 -translate-y-full sm:-left-[66px] sm:-translate-y-1/2 "}),(0,l.jsx)($.E,{ariaLabel:"Next testimonial",...a,direction:"right",className:"absolute right-0 -translate-y-full sm:-right-[66px] sm:-translate-y-1/2 "})]})};var A=e=>{var t,a,o,c,d,u,m;let{image:x,quote:v,author:g,hasLink:f,links:b,items:j,position:w,className:y}
1=e,[N,k]=(0,s.useState)(j?null===(t=j[0])||void 0===t?void 0:t.testimonial:{image:x,quote:v,author:g}),S=(0,s.useRef)(null),{carouselProps:I,dotProps:T,selectedIndex:z,nextButtonProps:C,previousButtonProps:B}=(0,_.vr)({loop:!0,watchDrag:!0,autoPlay:!0}),L=!!j&&j.length>1;(0,V.v)(()=>{if(L){var e;k(null===(e=j[z])||void 0===e?void 0:e.testimonial)}},[z,j,L]);let E=null;L?E=(0,l.jsx)(_.lr,{fade:!0,...I,children:null==j?void 0:j.map((e,t)=>{var a,n,i,s,o;return(0,l.jsx)(r.Ee,{src:(null==e?void 0:null===(i=e.testimonial)||void 0===i?void 0:null===(n=i.image)||void 0===n?void 0:null===(a=n.node)||void 0===a?void 0:a.sourceUrl)||(null==e?void 0:null===(o=e.testimonial)||void 0===o?void 0:null===(s=o.image)||void 0===s?void 0:s.url),displayPlaceholderImage:!0,placeholderImage:"/images/avatar-placeholder.png",alt:"Testimonial Carousel Image ".concat(t),sizes:"(min-width: 320px) 20vw, 20vw",className:"rounded-full"},t)})}):(null==N?void 0:N.image)&&(E=(0,l.jsx)(r.Ee,{src:(null==N?void 0:null===(c=N.image)||void 0===c?void 0:null===(o=c.node)||void 0===o?void 0:o.sourceUrl)||(null==N?void 0:null===(d=N.image)||void 0===d?void 0:d.url),alt:(null==N?void 0:null===(m=N.image)||void 0===m?void 0:null===(u=m.node)||void 0===u?void 0:u.altText)||"",className:"rounded-full absolute-full",displayPlaceholderImage:!0}));let W=(0,p.useTransition)(N,{from:{opacity:0,height:0,transform:"translateX(0px)"},enter:()=>[{opacity:0,height:"auto",transform:"translateX(-5px)"},{opacity:1,height:"auto",transform:"translateX(0px)"}],leave:()=>async e=>{await e({opacity:0,height:0,transform:"translateX(15px)"})},config:{friction:20,mass:1}});return(0,l.jsxs)("div",{className:(0,i.cn)(J({position:w}),y,L&&"sm:max-w-[calc(100%-132px)]"),ref:S,children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"relative w-[96px] h-[96px] rounded-[96px] sm:w-[193px] sm:h-[193px] sm:rounded-[193px]",children:E}),L&&(0,l.jsx)("div",{className:"mt-[20px] inline-flex flex-col items-center gap-[20px]",children:L&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(_.bb,{...T}),f&&(0,l.jsx)(r.Vp,{uri:(0,n.Q)(null==b?void 0:b.link),children:null==b?void 0:null===(a=b.link)||void 0===a?void 0:a.text})]})})]}),(0,l.jsx)("div",{className:"overflow-hidden",children:W((e,t)=>{let{quote:a,author:n}=t||{};return(0,l.jsx)(p.animated.div,{style:{...e},children:a&&(0,l.jsxs)("blockquote",{children:[(0,l.jsxs)(r.xv,{textStyle:"h5",className:"mb-[20px] ".concat(h.sz.quote),children:["“",a,"”"]}),n&&(0,l.jsx)(Z,{children:n})]})})})}),L&&(0,l.jsx)(R,{nextButtonProps:C,previousButtonProps:B})]})};let K=e=>{let{logoText:t}=e;return(0,l.jsxs)("div",{className:"mb-3 md:mb-0",children:[(0,l.jsx)(r.JO,{name:"logo_footer",className:"h-[32px] w-[32px]"}),t&&(0,l.jsx)(r.xv,{as:"h2",textStyle:"h5",className:"".concat(h._d.logoText," mt-2 opacity-30"),children:t})]})},F=e=>{let{copyright:t}=e,a=new Date().getFullYear();return(0,l.jsxs)(r.xv,{className:(0,i.cn)("typography-footnote",h._d.acknowledgementText),children:["\xa9️ ",a," ",t]})},q=e=>{let{secondaryFooterLinks:t}=e;return(0,l.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:null==t?void 0:t.map((e,t)=>{let{label:a,path:n}=e;return(0,l.jsxs)(s.Fragment,{children:[t>0&&(0,l.jsx)("div",{className:"size-[4px] rounded-full ".concat(h._d.secondaryListCircleDivider)}),(0,l.jsx)(Y,{uri:n,"aria-label":"click to access ".concat(a),color:h._d.secondaryListItem,className:"hover-opacity",children:a})]},t)})})},G=e=>{let{className:t,children:a}=e;return(0,l.jsx)("div",{className:(0,i.cn)("grid grid-cols-2 gap-6 sm:gap-y-5","md:flex md:gap-5","lg:justify-end",t),children:a})},Y=e=>{let{icon:t,children:a,uri:n,color:i=h._d.listItem,className:s}=e;return(0,l.jsxs)("div",{className:"flex",children:[t&&(0,l.jsx)(r.JO,{className:"mr-2 size-[18px] ".concat(h._d.contactIcon),name:t}),(0,l.jsx)(r.xv,{as:"footnote",className:"".concat(h._d.listItemHover," ").concat(i," ").concat(s),children:(0,l.jsx)(r.xK,{href:n,className:"!text-[inherit]",children:a})})]})},Q=e=>{let{children:t,heading:a,className:n}=e,s="#"!==a.uri&&a.uri;return(0,l.jsxs)("div",{className:(0,i.cn)("flex flex-col items-baseline gap-2 md:w-[210px] lg:w-[192px]",n),children:[(null==a?void 0:a.label)&&(0,l.jsx)(r.xv,{as:"h2",textStyle:"h6",className:(0,i.cn)(s&&h._d.listHeadingHover,h._d.listHeading,"duration-100"),children:(0,l.jsx)(r.xK,{href:s,children:a.label})}),t]})},X=()=>{let e=()=>!0;return(0,l.jsx)(r.zx,{onClick:()=>void(e()&&window.scrollTo({top:0,behavior:"smooth"})),variant:"secondary",ariaLabel:"Back to top",size:"small",icon:{position:"left",name:"arrow_up"},className:"icon-color-white md:ml-auto",children:"Back to top"})},ee=e=>{let{className:t}=e;return(0,l.jsx)("div",{className:(0,i.cn)("h-[1px] opacity-40",h._d.dividerLine,t)})},et=()=>(0,l.jsxs)("div",{className:"mt-5 flex flex-row items-end gap-3",children:[(0,l.jsx)(ee,{className:"mb-1 w-full"}),(0,l.jsx)(r.xK,{href:"https://driverweb.site/",className:"hover-opacity",rel:"external",children:(0,l.jsx)(r.JO,{name:"poweredDriverWhite",className:(0,i.cn)("h-[35px] w-[82px]",h._d.driverIcon)})})]});var ea=e=>{let{images:t,text:a}=e;return t&&a?(0,l.jsxs)("section",{children:[(0,l.jsx)(ee,{className:"my-6 md:my-8 "}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:gap-3 ",children:[(0,l.jsx)("div",{className:"grid-row mt-[3px] inline-flex w-fit gap-2 ",children:t.map((e,t)=>{let{sourceUrl:a,alt:n}=e.image.node;return(0,l.jsx)("div",{className:"h-3 w-5 md:w-[60px]",children:(0,l.jsx)(r.Ee,{src:a,alt:n,sizes:"80px",inheritSize:!0},t)},t)})}),(0,l.jsx)(r.xv,{as:"bodySmall",className:(0,i.cn)("",h._d.acknowledgementText),children:a})]})]}):null};let el=e=>{let{heading:t,items:a}=e;return(0,l.jsx)(Q,{heading:{label:t},children:a.map((e,t)=>{var a;let{type:n,text:r,value:i,page:s,url:o,icon:c}
1=e,d={phone:{icon:"phone",uri:"tel:".concat(i),text:i},address:{icon:"location",uri:"http://maps.google.com/?q=".concat(i),text:i},page:{icon:c,uri:null==s?void 0:s.node.uri,text:r},custom:{icon:c,uri:o,text:r}};return(0,l.jsx)(Y,{...d[n],children:null===(a=d[n])||void 0===a?void 0:a.text},t)})})},en=e=>{let{uri:t,icon:a,ariaLabel:n}=e;return(0,l.jsx)(r.xK,{href:t,ariaLabel:n,className:"hover-opacity",children:(0,l.jsx)(r.JO,{name:a,className:h._d.socialIcon})})};var er=e=>{let{facebook:t,twitter:a,youtube:n,linkedin:r,pinterest:s,instagram:o,className:c}=e;return(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-flow-col justify-start gap-3",c),children:[t&&(0,l.jsx)(en,{icon:"social_facebook",uri:t,ariaLabel:"Go to facebook"}),a&&(0,l.jsx)(en,{icon:"social_twitter",uri:a,ariaLabel:"Go to twitter"}),n&&(0,l.jsx)(en,{icon:"social_youtube",uri:n,ariaLabel:"Go to youtube"}),r&&(0,l.jsx)(en,{icon:"social_linkedin",uri:r,ariaLabel:"Go to linkedin"}),s&&(0,l.jsx)(en,{icon:"social_pinterest",uri:s,ariaLabel:"Go to pinterest"}),o&&(0,l.jsx)(en,{icon:"social_instagram",uri:o,ariaLabel:"Go to instagram"})]})};let ei=e=>{let{logoText:t,isLanding:a,primaryFooterLinks:n,customColumn:r}=e;return(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-cols-1 md:gap-[40px] lg:grid-cols-[4fr_8fr]"),children:[(0,l.jsx)(K,{logoText:t}),(0,l.jsxs)(G,{children:[!a&&(null==n?void 0:n.map((e,t)=>{let{label:a,path:n,children:r}=e;return(0,l.jsx)(Q,{heading:{label:a,uri:n},children:r.map((e,t)=>{let{label:a,path:n}=e;return(0,l.jsx)(Y,{uri:n,children:a},t)})},t)})),(0,l.jsx)(el,{...r})]})]})},es=e=>{let{backToTop:t,copyright:a,isLanding:n,secondaryFooterLinks:r,showSocialLinks:s,socialLinks:o}=e;return(0,l.jsxs)("div",{className:(0,i.cn)("flex flex-col gap-4 sm:gap-3",t?"md:flex-row md:items-end md:justify-between":"sm:flex-row sm:items-end sm:justify-between"),children:[(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[a&&(0,l.jsx)(F,{copyright:a}),!n&&(0,l.jsx)(q,{secondaryFooterLinks:r})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-5 sm:flex-row sm:items-center md:ml-auto",children:[s&&(0,l.jsx)(er,{...o}),t&&(0,l.jsx)(X,{})]})]})};var eo=e=>{let{menus:t,siteOptions:a,template:n,showSocialLinks:r}=e,i=null==t?void 0:t.footer_menu,s=null==t?void 0:t.secondary_footer_menu,{footer:o}=a||{},{logoText:c,customColumn:d,socialLinks:u,acknowledgement:m,copyright:x,backToTop:p}=o||{},v="landing"===n;return(0,l.jsx)("footer",{className:"py-6 lg:pb-[120px] lg:pt-[92px] ".concat(h._d.background),children:(0,l.jsxs)("div",{className:"main-column",children:[(0,l.jsx)(ei,{logoText:c,isLanding:v,primaryFooterLinks:i,customColumn:d}),(0,l.jsx)(ea,{...m}),(0,l.jsx)(ee,{className:"my-6 md:my-8"}),(0,l.jsx)(es,{backToTop:p,copyright:x,isLanding:v,secondaryFooterLinks:s,showSocialLinks:r,socialLinks:u}),(0,l.jsx)(et,{})]})})},ec=a(1163);let ed={variant:"fullWidth",inverted:!1},eu=(0,v.j)("main-column ".concat(h.UA.fallbackBackground),{variants:{variant:{fullWidth:"",sideBySide:"lg:flex"},inverted:{true:"",false:""}},defaultVariants:ed,compoundVariants:[{variant:"sideBySide",inverted:!1,class:"flex-row-reverse"},{variant:"sideBySide",inverted:!0,class:"flex-row"}]}),em=(0,v.j)("relative [&>*]:absolute-full",{variants:{variant:{fullWidth:"absolute-full",sideBySide:["relative -mx-initGutter aspect-ratio-[1.5]","sm:-mx-smGutter sm:aspect-ratio-[2.6]","lg:!mx-0 lg:w-half lg:aspect-ratio-[100000] lg:[&>*]:w-[50vw]"]},inverted:{false:"",true:""}},defaultVariants:ed,compoundVariants:[{variant:"sideBySide",inverted:!1,class:"lg:[&>*]:!right-0"},{variant:"sideBySide",inverted:!0,class:"relative lg:[&>*]:!left-auto lg:[&>*]:right-0"}]}),ex=(0,v.j)("relative z-10",{variants:{variant:{fullWidth:["pb-6 pt-[112px]","sm:max-w-[327px] sm:pb-9 sm:pt-[136px]","md:max-w-[541px] md:pb-[200px] md:pt-[240px]","vbg:py-[228px]"],sideBySide:["pb-4 pt-3","sm:pb-6 sm:pt-4","md:pb-10 md:pt-8","lg:w-half lg:py-[218px]","vbg:py-[280px]"]},inverted:{false:"",true:""}},defaultVariants:ed,compoundVariants:[{variant:"sideBySide",inverted:!1,class:"lg:pl-4 lg:pr-[128px]"},{variant:"sideBySide",inverted:!0,class:"lg:pl-[128px] lg:pr-4"}]}),ep={config:{youtube:{playerVars:{showinfo:0,controls:0,modestbranding:1}}},playing:!0,playsinline:!0,muted:!0,loop:!0};var eh=e=>{var t,a;let{heading:o,description:d,image:u,video:m,primaryLink:x,secondaryLink:p,variant:v,inverted:g}
1=e,[f,b]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{b(!0)},[]),(0,l.jsxs)("div",{className:eu({variant:v,inverted:g}),children:[(0,l.jsxs)("div",{className:em({variant:v,inverted:g}),children:[f&&m&&(0,l.jsx)("div",{className:"relative overflow-hidden",children:(0,l.jsx)(c.Z,{url:null==m?void 0:null===(t=m.node)||void 0===t?void 0:t.mediaItemUrl,...ep,width:"100%",height:"100%",className:"absolute left-0 top-0 [&>*]:object-cover"})}),u&&!m&&(0,l.jsx)(r.Ee,{priority:!0,src:null==u?void 0:null===(a=u.node)||void 0===a?void 0:a.sourceUrl,alt:(null==u?void 0:u.altText)||"Home Masthead Image",sizes:"100vw",quality:90})]}),(0,l.jsx)("div",{className:ex({variant:v,inverted:g}),children:(0,l.jsxs)("div",{className:"flex flex-col gap-2 md:gap-3",children:[o&&(0,l.jsx)(r.xv,{as:"h1",className:(0,i.cn)("",h.UA.heading),children:o}),d&&(0,l.jsx)(r.xv,{className:(0,i.cn)("sm:text-[18px]",h.UA.description),children:d}),(x||p)&&(0,l.jsxs)("div",{className:"mt-1 flex flex-wrap gap-2",children:[p&&(0,l.jsx)(r.zx,{ariaLabel:"Click to read more about ".concat(o),href:(0,n.Q)(null==p?void 0:p.internalLink),variant:"secondary",children:p.text}),x&&(0,l.jsx)(r.zx,{ariaLabel:"Click to read more about ".concat(o),href:(0,n.Q)(null==x?void 0:x.internalLink),id:"home-masthead-primary-button",children:x.text})]})]})})]})},ev=a(7311);let eg="ml-29 relative 0 ".concat(h.UA.breadcrumbText," font-semibold");var ef=e=>{let{breadcrumbs:t}=e;return(0,l.jsxs)("section",{className:(0,i.cn)("","flex-row items-center gap-2 hidden sm:flex mt-4"),children:[t&&(0,l.jsx)(r.xK,{href:"/",ariaLabel:"Go to home page",className:"hover-opacity",children:(0,l.jsx)(r.JO,{name:"home",className:"".concat(h.UA.breadcrumbHomeIcon," size-2")})}),null==t?void 0:t.map((e,a)=>{let n=a===t.length-1;return(null==e?void 0:e.text)!=="Home"&&(0,l.jsxs)(s.Fragment,{children:[(0,l.jsx)("div",{className:(0,i.cn)("size-[4px] rounded-[4px] opacity-50",h.UA.breadcrumCircle)}),(0,l.jsx)(r.xK,{href:!n&&(null==e?void 0:e.url),children:(0,l.jsx)(r.xv,{as:"footnote",className:(0,i.cn)(eg,n?"font-normal opacity-50":"hover-opacity"),children:(0,ev.ZP)(e.text)})},a)]},a)})]})};let eb=(0,v.j)("relative z-10 ",{variants:{variant:{fullWidth:["pb-[48px] pt-[112px]","sm:max-w-[414px] sm:pb-[72px] sm:pt-[136px]","md:max-w-[676px] md:py-0 md:pb-[128px] md:pt-[200px]","vbg:py-0 vbg:pb-[160px] vbg:pt-[260px]"],sideBySide:["pb-4 pt-3","sm:pb-6 sm:pt-4","md:pb-10 md:pt-8","lg:w-half lg:p-[188px_128px_140px_32px]"]}},defaultVariants:{variant:"fullWidth"}});var ej=e=>{var t;let{heading:a,image:n,variant:i,breadcrumbs:o,video:c}=e,[d,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{u(!0)},[]),(0,l.jsxs)("div",{className:eu({variant:i}),children:[(0,l.jsxs)("div",{className:em({variant:i}),children:[d&&c&&(0,l.jsx)(m,{video:null==c?void 0:null===(t=c.node)||void 0===t?void 0:t.mediaItemUrl}),n&&!c&&(0,l.jsx)(r.Ee,{priority:!0,src:null==n?void 0:n.sourceUrl,alt:(null==n?void 0:n.altText)||"Internal Masthead Image",sizes:"100vw",quality:90})]}),(0,l.jsxs)("div",{className:eb({variant:i}),children:[a&&(0,l.jsx)(r.xv,{as:"h1",className:h.UA.heading,children:a}),(0,l.jsx)(ef,{breadcrumbs:o})]})]})},ew=a(4539),ey=a(9470),eN=e=>{let{databaseId:t,heading:a,description:s,link:o,image:c,form:d,video:u}=e;return(0,l.jsxs)("div",{className:"main-column",children:[(0,l.jsx)(r.VZ,{priority:"video",image:c,video:u,className:"absolute-full",sizes:"100vw",alt:(null==c?void 0:c.altText)||"Masthead Image"}),(0,l.jsxs)("div",{className:ey.qr,children:[(0,l.jsxs)("div",{className:ey.__,children:[a&&(0,l.jsx)(r.xv,{as:"h1",className:h.UA.heading,children:a}),s&&(0,l.jsx)("div",{className:"prose [&_p]:text-white [&_span]:text-white",children:(0,ev.ZP)(s)}),(null==o?void 0:o.text)&&(0,l.jsx)(r.zx,{href:(0,n.Q)(o),className:"mr-auto mt-1",children:null==o?void 0:o.text})]}),(0,l.jsx)(ew.Z,{...d,databaseId:t,variant:"masthead",hashParam:"#submitted",className:(0,i.cn)(ey.aP,"[&_.errorMessage]:text-white [&_a]:!text-white [&_label>span]:text-white [&_label]:text-white","[&_.inputWrapper]:!shadow-transparent")})]})]})},ek=a(2249),e_=a(6430);let eS=e=>{let{queryParam:t,hasImage:a,mobileVariant:l,desktopVariant:n}
1=e,r=(0,ek.b)(t,["fullWidth","sideBySide"]),[i,o]=(0,s.useState)(n),c=(0,e_.G)(["(min-width: 1280px)"],[!0],!1);return(0,s.useEffect)(()=>{a&&(c?o(n):o(l))},[c,n,l,a]),(0,V.v)(()=>{r&&o(r)},[r]),i};var eI=e=>{let{template:t="default",navMenu:a,contactButton:n,phoneNumber:r,landingNavbar:s,...o}=e,{image:c,form:d}=o||{},{query:u}=(0,ec.useRouter)(),m="landing"===t,x=eS({queryParam:null==u?void 0:u.mhv,hasImage:!!c,mobileVariant:"fullWidth",desktopVariant:"fullWidth"}),p={...o,variant:x},v=m?{items:(null==s?void 0:s.display)&&(null==s?void 0:s.items),phoneNumber:null==s?void 0:s.phoneNumber,isLanding:!0}:{items:a,contactButton:n,phoneNumber:r};return(0,l.jsxs)("section",{className:(0,i.cn)("relative",h.UA.fallbackBackground),children:[(e=>{switch(e){case"home":return(0,l.jsx)(eh,{...p});case"landing":return(0,l.jsx)(eN,{...p});default:return(0,l.jsx)(ej,{...p})}})(t),(0,l.jsx)(eZ,{...v}),(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full w-3/4 bg-gradient-to-l from-black/0 to-black/60"}),(0,l.jsx)("div",{className:"absolute top-0 h-1/3 w-full bg-gradient-to-t from-black/0 to-black/50"})]})};let eT=(0,v.j)(" duration-400 translate-z-0 absolute top-[3px] block h-[2px] w-full translate-x-0 translate-y-0 rotate-0 transform transition ease-out ".concat(h.gW.hamburger," "),{variants:{showMenu:{true:" translate-z-0 top-[12px] translate-x-0 rotate-45 transform"}}}),ez=(0,v.j)("translate-z-0 absolute top-[11px] block h-[2px] w-full translate-x-0 translate-y-0 rotate-0 transform opacity-100 duration-100 ease-out ".concat(h.gW.hamburger," "),{variants:{showMenu:{true:"opacity-0"}}}),eC=(0,v.j)("duration-400 translate-z-0 absolute top-[20px] block h-[2px] w-full translate-x-0 translate-y-0 rotate-0 transform transition ease-out ".concat(h.gW.hamburger," "),{variants:{showMenu:{true:" translate-z-0 top-[12px] translate-x-0 -rotate-45 transform "}}});var eB=e=>{let{showMenu:t,setShowMenu:a}=e;return(0,l.jsxs)("button",{type:"button",className:"relative inline-block h-3 w-3 md:hidden ",onClick:()=>a(!t),"aria-label":"click to open the menu",children:[(0,l.jsx)("div",{className:(0,i.cn)("",eT({showMenu:t}))}),(0,l.jsx)("div",{className:(0,i.cn)("",ez({showMenu:t}))}),(0,l.jsx)("div",{className:(0,i.cn)("",eC({showMenu:t}))})]})};let eL=()=>(0,l.jsx)(r.xK,{href:"/",ariaLabel:"SandBox logo",children:(0,l.jsx)(r.JO,{name:"logo_nav",className:(0,i.cn)("hover-opacity","h-[38px] w-[170px]","md:h-[52px] md:w-[236px]")})}),eE=e=>{let{contactButton:t,variant:a,className:s}=e;return(0,l.jsx)(r.zx,{size:"small",icon:{name:"arrow_right",className:"size-2 icon-color-current"},href:(0,n.Q)(t),variant:a,className:(0,i.cn)("my-1 w-100",s),children:t.text})},eW=()=>(0,l.jsx)(r.xK,{href:"/search",ariaLabel:"Click to start searching",children:(0,l.jsx)(r.JO,{name:"search",className:"".concat(h.gW.searchIcon," z-10 hover-opacity")})}),eO=e=>(0,l.jsxs)("div",{...e,className:"grid grid-cols-[auto_1fr] items-center gap-1 rounded-[8px] p-1 md:hidden ".concat(h.gW.backButtonBackground),children:[(0,l.jsx)(r.JO,{name:"arrow_left",className:"".concat(h.gW.searchIcon," size-3")}),(0,l.jsx)(r.xv,{as:"bodySmall",className:"font-bold ".concat(h.gW.dropdownItemTextHover," ").concat(h.gW.backButtonText," "),children:"Back"})]}),eP=e=>{let{phoneNumber:t}=e;return t?(0,l.jsxs)("div",{className:(0,i.cn)("flex shrink-0 items-center md:gap-4"),children:[(0,l.jsx)("div",{className:(0,i.cn)("hidden h-3 w-[1px] md:block",h.gW.divideBeforePhoneColor)}),(0,l.jsxs)(r.xK,{href:"tel:".concat(t),className:(0,i.cn)("group grid-cols-[auto_1fr] items-center md:gap-1 lg:grid",h.gW.phoneText),children:[(0,l.jsx)(r.JO,{className:(0,i.cn)("size-[22px]",h.gW.phoneIcon),name:"phone"}),(0,l.jsx)(r.xv,{className:(0,i.cn)(eH,h.gW.phoneText,"hidden font-bold lg:flex"),children:t})]})]}):null},eU=(0,v.j)("".concat(h.gW.dropdownBackground," absolute -bottom-[10px] -left-1 z-10  w-[260px] translate-y-full gap-1 rounded-subtle p-2 ").concat(h.gW.dropdownItemText," hidden shadow-strong transition-all duration-150 md:group-focus-within:grid md:group-hover:grid"),{variants:{anchorPosition:{right:{"@media(max-width: 1400px)":{left:"auto",right:"-8px"}}}}}),eM="relative rounded-[3px] p-1 duration-[150ms] ".concat(h.gW.dropdownItemText," ").concat(h.gW.dropdownItemBackgroun
1dHover," ").concat(h.gW.dropdownItemTextHover," text-bodySmallDesktop"),eH="relative duration-[150ms] underline-offset-4 decoration-2 ".concat(h.gW.primaryItemUnderline," md:group-hover:underline ").concat(h.gW.primaryItem),eD="absolute -bottom-[12px] translate-y-full left-0 w-full rounded-soft shadow-strong p-2 z-50 sm:bottom-[-20px] md:relative md:bottom-auto md:transform-none md:bg-opacity-0 md:shadow-none md:p-0 md:rounded-none ".concat(h.gW.dropdownBackground," "),eV="relative flex justify-between items-center ".concat(h.gW.dropdownItemText," font-semibold  rouned-[4px] md:px-2  py-1 px-1"),e$=e=>{let{items:t,anchorPosition:a}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute -bottom-[12px] hidden h-3 w-10 bg-transparent md:flex"}),(0,l.jsx)("ul",{className:"".concat(eU({anchorPosition:a})),children:null==t?void 0:t.map((e,t)=>{let{label:a,path:n}=e;return(0,l.jsx)("li",{className:"".concat(eM),children:(0,l.jsx)(r.xK,{href:"".concat(n),"aria-label":"click to access ".concat(a),className:"expand-pseudo",id:"secondary_nav_item",children:(0,l.jsx)("span",{children:a})})},t)})})]})};var eJ=e=>{let{items:t,slot:a,showMenu:n,setShowMenu:o}=e,c=(0,e_.G)(["(min-width: 1024px)"],[!0],!1),[d,u]=(0,s.useState)(null);(0,s.useEffect)(()=>{c&&(u(null),o(!1))},[c,o]);let m=d||t,x=(0,ec.useRouter)();function p(){let e=document.activeElement;o(!1),u(null),((null==e?void 0:e.id)==="primary_nav_item"||(null==e?void 0:e.id)==="secondary_nav_item")&&e.blur()}return(0,s.useEffect)(()=>(x.events.on("routeChangeComplete",p),()=>{x.events.off("routeChangeComplete",p)}),[x.events]),(0,l.jsx)("nav",{className:(0,i.cn)(eD,n?"block":"hidden","md:block"),children:m&&(0,l.jsxs)("ul",{className:"grid gap-1 md:gap-0 md:mr-[calc(-32px/2)] md:grid-flow-col ",children:[d&&(0,l.jsx)(eO,{onClick:()=>u(null)}),m.map((e,t)=>{var a;let n=!!(null==e?void 0:null===(a=e.children)||void 0===a?void 0:a.length),{label:s,path:o}=e,c=t>m.length-3;return(0,l.jsxs)("li",{className:"".concat(eV," group"),children:[(0,l.jsx)(r.xK,{href:"".concat(o),"aria-label":"click to access ".concat(s),className:"desktopSubItemStyles expand-pseudo",id:"primary_nav_item",children:(0,l.jsx)("span",{className:(0,i.cn)(eH,"typography-bodySmall"),children:s})}),n&&(0,l.jsx)(e$,{items:null==e?void 0:e.children,anchorPosition:c&&"right"}),n&&(0,l.jsx)("button",{className:"index-10 relative z-50 grid place-items-center md:hidden ","aria-label":"click to open the menu in this section",onClick:()=>u(null==e?void 0:e.children),type:"button",children:(0,l.jsx)(r.JO,{name:"arrow_right",className:(0,i.cn)(" size-3 ",h.gW.mobileIcon)})})]},t)}),!d&&(0,l.jsx)("div",{className:"md:hidden",children:a})]})})},eZ=e=>{let{items:t,contactButton:a,phoneNumber:n,isLanding:r}=e,[o,c]=(0,s.useState)(!1);return(0,l.jsxs)("nav",{className:(0,i.cn)("main-column sm:top-[48px] md:top-[64px]","absolute left-1/2 top-[24px] z-30 flex h-[40px] -translate-x-1/2 items-center"),children:[(0,l.jsx)(eL,{}),(0,l.jsxs)("section",{className:"ml-auto grid grid-flow-col items-center gap-3 md:gap-4",children:[(0,l.jsx)(eJ,{items:t,showMenu:o,setShowMenu:c,slot:a&&(0,l.jsx)(eE,{contactButton:a,className:(0,i.cn)("flex sm:hidden")})}),(0,l.jsx)(eP,{phoneNumber:n}),a&&(0,l.jsx)(eE,{contactButton:a,variant:"tertiary",className:(0,i.cn)("hidden sm:flex")}),!r&&(0,l.jsx)(eW,{}),(null==t?void 0:t.length)&&(0,l.jsx)(eB,{showMenu:o,setShowMenu:c})]})]})},eR=a(7041),eA=a(1304),eK=a.n(eA);let eF=e=>{let{link:t,className:a,ariaLabel:i}=e;return(null==t?void 0:t.text)?(0,l.jsx)(r.zx,{variant:"secondary",size:"small",href:(0,n.Q)(t),ariaLabel:i,className:a,children:t.text}):null};var eq=e=>{let{display:t,heading:a,description:n,link:o}=e,[c,d]=(0,s.useState)(!1),[u,m]=(0,s.useState)(!1),x=eK()(n||a||""),p=(0,eR.getCookie)(x),v=new Date(Date.now()+12096e5),g=()=>{d(!0),(0,eR.setCookie)(x,!0,{expires:v})};return((0,s.useEffect)(()=>{!t||c||p?m(!1):m(!0)},[t,c,p]),u)?(0,l.jsx)("section",{className:h.kY.background,children:(0,l.jsxs)("div",{className:"sm:item grid grid-cols-[auto_1fr_auto] items-start gap-2 py-2 main-column md:gap-3 md:py-3 ",children:[(0,l.jsx)(r.JO,{name:"notification",className:(0,i.cn)("-mr-1 size-[20px] self-start",h.kY.icon)}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-2 sm:flex-row sm:items-center md:gap-3 ",children:[(0,l.jsxs)("div",{children:[a&&(0,l.jsx)(r.xv,{as:"bodySmall",className:(0,i.cn)("font-bold",h.kY.heading),children:a}),n&&(0,l.jsx)(r.xv,{as:"bodySmall",className:(0,i.cn)("",h.kY.description),children:n})]}),(0,l.jsx)(eF,{className:"sm:hidden",link:o})]}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(eF,{link:o,className:"hidden sm:block",ariaLabel:"Close notification"}),(0,l.jsx)("button",{onClick:()=>g(),type:"submit","aria-label":"Close notification",children:(0,l.jsx)(r.JO,{name:"cross",className:(0,i.cn)("hover-opacity",h.kY.closeIcon)})})]})]})}):(0,l.jsx)("div",{})},eG=e=>{let{heading:t,items:a,className:n}=e;return(null==a?void 0:a.length)?(0,l.jsxs)("section",{className:(0,i.cn)("overflow-hidden",n),children:[t&&(0,l.jsx)(r.xv,{as:"h2",textStyle:"h5",className:"mb-2 text-center",children:t}),(0,l.jsx)("div",{className:"flex flex-wrap justify-center gap-x-3 gap-y-1 sm:gap-y-2 lg:gap-x-5",children:a.map((e,t)=>{var a,n,s;let{image:o,link:c}=e;return o?(0,l.jsx)(r.xK,{href:c,className:(0,i.cn)("w-full max-w-[93px] sm:max-w-[86px] lg:max-w-[151px]",c&&"hover-opacity"),ariaLabel:(null==o?void 0:null===(a=o.node)||void 0===a?void 0:a.altText)||"no name image ".concat(t),children:(0,l.jsx)(r.Ee,{src:null==o?void 0:null===(n=o.node)||void 0===n?void 0:n.sourceUrl,alt:(null==o?void 0:null===(s=o.node)||void 0===s?void 0:s.altText)||"",sizes:"(min-width: 320px) 50vw, 20vw",className:"aspect-ratio-[1.37]"})},t):null})})]}):null};
1let eY=(0,v.j)("".concat(o.us.contentCardsBackground," pt-6 text-center"),{variants:{layout:{sidebar:"-mx-initGutter sm:mx-0 sm:rounded-[20px] lg:py-6",centered:"lg:pt-10"}}}),eQ=(0,v.j)(["grid grid-flow-col gap-3 overflow-x-auto px-initGutter lg:gap-lg","pb-5 sm:pb-8 lg:pb-10","[&>*]:h-auto [&>*]:shrink-0 [&>div]:w-[306px]"],{variants:{variant:{grid:(0,i.cn)("col-span-12 sm:grid-flow-row sm:grid-cols-2 sm:overflow-x-visible sm:px-smGutter","sm:[&>div]:w-full"),slider:(0,i.cn)("mc:px-mainColumnGutter sm:px-smGutter","lg:[&>div]:w-[424px]")},layout:{sidebar:"",centered:""}},compoundVariants:[{variant:"grid",layout:"sidebar",class:"!gap-3 md:[&_h2]:text-[30px]"},{variant:"grid",layout:"centered",class:"md:col-span-8 md:col-start-3 md:px-0 lg:col-span-12 lg:grid-cols-3"}]});var eX=e=>{let{heading:t,items:a,variant:n,layout:o}=e,c="sidebar"===o?"grid":n,{containerRef:d,arrowProps:u}=tg({cardWidth:424,gapWidth:24,cardsToScroll:2});return(null==a?void 0:a.length)?(0,l.jsxs)("div",{className:eY({layout:o}),children:[t&&(0,l.jsx)(r.xv,{as:"h3",className:"mb-3 main-column lg:mb-5",children:t}),(0,l.jsx)("div",{className:(0,i.cn)("relative","grid"===c&&"grid grid-cols-12","grid"===c&&"centered"===o&&"md:main-column"),children:(0,l.jsxs)("div",{className:eQ({layout:o,variant:c}),ref:d,children:[null==a?void 0:a.map((e,t)=>{var a,l;let{card:n}=e;return(0,s.createElement)(te.Z,{...n,image:{sourceUrl:null==n?void 0:null===(l=n.image)||void 0===l?void 0:null===(a=l.node)||void 0===a?void 0:a.sourceUrl},key:t})}),"slider"===c&&(0,l.jsx)(tf,{...u,className:"!w-full md:top-[146px] lg:top-[220px]"})]})})]}):null},e0=a(7398);let e1=e=>{let{heading:t,description:a,value:n,isLast:c,variant:d}=e,u=(0,s.useRef)(null),m=!1;(0,s.useEffect)(()=>{let{current:e}=u;e&&"closed"===e.dataset.state&&(e.style.height="0px")},[]);let x=(0,s.useCallback)(()=>{let{current:e}=u;e&&(m||(e.style.height="unset",m=!0))},[]);return(0,l.jsxs)(e0.ck,{value:n,className:"[&:is(:last-child)>div]:rounded-b-inherit [&:not(:last-child)]:border-b-1 ".concat(o.OT.betweenItemsBorder),children:[(0,l.jsx)(e0.h4,{children:(0,l.jsxs)(e0.xz,{className:"group flex w-full items-center justify-between",onClick:x,children:[(0,l.jsx)(r.xv,{className:"p-2 text-left font-bold md:p-3 ".concat(o.OT.heading),children:t}),(0,l.jsx)(r.JO,{name:"arrow_down",className:(0,i.cn)("mr-2 duration-300 md:mr-3","group-data-[state=open]:rotate-180",o.OT.arrowIconDefault,o.OT.arrowIconActive)})]})}),(0,l.jsx)(e0.VY,{ref:u,className:(0,i.cn)("overflow-hidden border-t-1","data-[state=open]:animate-openRadixAccordion","data-[state=closed]:animate-closeRadixAccordion",o.OT.contentBackground,o.OT.betweenItemsBorder,c&&"!rounded-b-subtle"),children:(0,l.jsx)("div",{className:(0,i.cn)("prose typography-bodySmall p-2 md:p-3",o.OT.contentText,o.OT.contentLink,o.OT.contentLinkHover),children:a&&(0,ev.ZP)(a)})})]})};var e2=e=>{let{type:t="multiple",collapsible:a=!0,items:n,className:r,variant:i="default"}=e;return(0,l.jsx)(e0.fC,{type:t,collapsible:a,className:r,children:(0,l.jsx)("div",{className:"rounded-subtle border-[1px] ".concat(o.OT.border," ").concat(o.OT.headingBackground),children:null==n?void 0:n.map((e,t)=>(0,s.createElement)(e1,{...e,key:t,value:"".concat(null==e?void 0:e.heading,"-").concat(t),isLast:t===n.length-1,variant:i}))})})};a(222);var e3=a(7621),e4=a(9963);let e8=e=>{let{icon:t,link:a}=e;return(0,l.jsx)(r.xK,{href:a,className:"hover-opacity",ariaLabel:"Go to ".concat(t," "),children:(0,l.jsx)(r.JO,{name:t,className:(0,i.cn)("",e4.bp.socialIcon)})})},e5=e=>{let{items:t}=e,a=Object.entries(t);return(0,l.jsx)("div",{className:"flex gap-2 md:gap-3",children:null==a?void 0:a.map((e,t)=>{let[a,n]=e;return n?(0,l.jsx)(e8,{icon:"social_".concat(a),link:n},t):null})})},e6=e=>{let{icon:t,children:a,className:n}=e;return(0,l.jsxs)("div",{className:"grid grid-cols-[auto_1fr] content-start gap-1 md:gap-2 ".concat(n," text-white"),children:[(0,l.jsx)(r.JO,{name:t,className:(0,i.cn)("mt-[3px] size-2 md:mt-0 md:size-3",e4.bp.socialIcon)}),a]})},e9=e=>{let{openingHours:t}=e;return(null==t?void 0:t.length)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,i.cn)("mb-2 mt-2 h-[1px] md:mb-3 md:mt-3",e4.bp.divider)}),(0,l.jsx)(e6,{icon:"clock",children:(0,l.jsx)("div",{className:"grid gap-1 md:gap-2",children:null==t?void 0:t.map((e,t)=>{let{days:a,hours:n}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)(r.xv,{className:(0,i.cn)("font-bold",e4.bp.body),children:a}),(0,l.jsx)(r.xv,{className:(0,i.cn)("",e4.bp.body),children:n})]},t)})})})]}):null};var e7=e=>{let{display:t,address:a,email:n,phone:s,mobile:o,heading:c="Our contact details",socialLinks:d,body:u,displayOpenHours:m,openingHours:x}=e;return t?(0,l.jsxs)("section",{className:(0,i.cn)("h-full rounded-subtle p-4",e4.bp.background),children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 md:gap-3",children:[c&&(0,l.jsxs)("div",{children:[(0,l.jsx)(r.xv,{as:"h2",textStyle:"h6",className:(0,i.cn)(e4.bp.heading),children:c}),(0,l.jsx)("div",{className:(0,i.cn)("mt-2 h-[2px] md:mt-3",e4.bp.divider)})]}),u&&(0,l.jsx)(r.xv,{className:(0,i.cn)("",e4.bp.body),children:(0,ev.ZP)(u)}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 ",children:[a&&(0,l.jsx)(e6,{icon:"pin",className:"md:mr-[20px]",children:(0,l.jsx)(r.xv,{className:"text-white",children:(0,ev.ZP)(a)})}),s&&(0,l.jsx)(e6,{icon:"phone",children:(0,l.jsx)(r.xK,{href:"tel:".concat(s),className:"duration-100 hover:text-white",children:s})}),o&&(0,l.jsx)(e6,{icon:"phone",children:(0,l.jsx)(r.xK,{href:"tel:".concat(o),className:"duration-100 hover:text-white",children:o})}),n&&(0,l.jsx)(e6,{icon:"email",className:"w-min",children:(0,l.jsx)(r.xv,{as:"link",href:"mailto:".concat(n),className:"text-utilitarianThree hover:text-white",children:n})})]}),d&&(0,l.jsx)(e5,{items:d})]}),m&&(0,l.jsx)(e9,{openingHours:x})]}):null};a(5337);var te=a(9858),tt=a(4442),ta=a(69),tl=a(9683),tn=e=>{let{image:t,heading:a,description:n,uri:i,date:s,...o}=(0,ta.I)(e);return(0,l.jsxs)(tl.UK,{contained:!0,direction:"row",alignment:"left",className:"bg-white",...o,children:[(0,l.jsx)(tl.xu,{...t,displayPlaceholderImage:!0}),(0,l.jsxs)(tl.hE,{gap:["8px",null,"16px"],p:["16px 24px",null,"24px"],className:"gap-1 px-3 py-2 md:gap-2 md:p-3",children:[s&&(0,l.jsx)(tl.FD,{children:s}),a&&(0,l.jsx)(r.xv,{as:"h5",children:a}),(0,l.jsx)(r.xv,{as:"bodySmall",className:"hidden md:block",children:n}),i&&(0,l.jsx)(r.zx,{variant:"textLink",href:i,ariaLabel:"Click to read more about ".concat(a),className:"expand-pseudo",children:"Tell me more"})]})]})},tr=e=>{var t,a;let{images:n,isSidebar:s}=e,{nextButtonProps:o,previousButtonProps:c,dotProps:d,carouselProps:u,selectedIndex:m}=(0,_.vr)({watchDrag:!0,loop:!0}),x=(0,i.cn)("mx-auto flex flex-col","sm:w-[calc(100%-114px)]",!s&&"lg:w-full","bg:w-full"),p=null===(a=n[m])||void 0===a?void 0:null===(t=a.attributes)||void 0===t?void 0:t.caption;return(0,l.jsxs)("div",{className:x,children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(_.lr,{...u,aspectRatioStyles:"aspect-ratio-[1.62]",slideStyles:"basis-100",gapStyles:"gap-0",children:n.map((e,t)=>(0,l.jsx)(r.Ee,{src:e.attributes.url,priority:!0,className:"aspect-ratio-[1.77]",sizes:"(max-width: 1023px) 90vw, 1786px"},t))}),(0,l.jsxs)("div",{className:"absolute bottom-1/2 w-full",children:[(0,l.jsx)($.E,{ariaLabel:"Previous gallery image",...c,className:"absolute left-0 -translate-y-1/2 sm:left-[-58px]"}),(0,l.jsx)($.E,{ariaLabel:"Next gallery image",...o,direction:"right",className:"absolute right-0 -translate-y-1/2 sm:right-[-58px]"})]})]}),p&&(0,l.jsx)("figcaption",{children:p}),(0,l.jsx)(_.bb,{...d,className:"mt-3 self-center"})]})},ti=e=>{let{title:t,items:a,className:n,isSidebar:s}=e;return(null==a?void 0:a.length)?(0,l.jsxs)("section",{className:(0,i.cn)("overflow-hidden border-b-2 border-t-2 py-3 main-column md:py-2 md:pb-3 lg:max-w-[1112px] lg:pb-4 lg:pt-3  ",o.lC.border,n),children:[t&&(0,l.jsx)(r.xv,{as:"h2",textStyle:"h5",className:"mb-2 pt-2 text-center md:pt-3 text-utilitarianSix",children:t}),(0,l.jsx)("div",{className:"flex flex-wrap justify-center gap-x-3 gap-y-4 pb-2 sm:gap-y-6 md:gap-x-5 md:gap-y-10 lg:gap-x-6 lg:gap-y-10",children:a.map((e,t)=>{let{heading:n,description:c}=e||{},d=0===t,u=t===a.length-1,m=2===t,x=4===t,p=a.length%2!=0&&t===a.length-1,h=t>=a.length-4;return(0,l.jsxs)("div",{className:(0,i.cn)("relative w-full sm:w-[calc(50%-48px)] md:w-[calc(30%-92px)] lg:w-[calc(25%-36px)]",s&&"md:!w-[calc(50%-48px)]"),children:[!d&&!x&&(0,l.jsx)("div",{className:(0,i.cn)("absolute -left-3 top-0 h-full w-[1px] sm:left-0 md:-left-3 ",o.lC.betweenItemsBorderSpecial,m&&"sm:hidden md:block",p&&"sm:hidden md:block",s&&(m||p)&&"sm:!hidden")}),!u&&(0,l.jsx)("div",{className:(0,i.cn)("absolute -bottom-2 left-0 h-[1px] w-[100vw] sm:-bottom-[24px] md:-bottom-[40px]",o.lC.betweenItemsBorderSpecial,h&&!s&&"md:hidden")}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-1 px-3",children:[(0,l.jsx)(r.xv,{as:"h2",className:(0,i.cn)("text-center",o.lC.contentHeading),children:n}),(0,l.jsx)(r.xv,{className:(0,i.cn)("text-center font-bold ",o.lC.contentDescription),children:c})]})]},t)})})]}):null},ts=e=>{let{items:t,id:a}=e;return(0,l.jsx)("div",{id:a,className:(0,i.cn)("grid grid-cols-[180px] gap-2 sm:grid-cols-[180px_180px_180px] "),children:null==t?void 0:t.map((e,t)=>{var a;let{image:n,link:i}=e;return(0,l.jsx)(r.xK,{href:i,className:"hover-opacity ",children:(0,l.jsx)(r.Ee,{src:null==n?void 0:null===(a=n.node)||void 0===a?void 0:a.sourceUrl,inheritSize:!0},t)},t)})})},to=e=>{let{display:t,link:a,description:s,eyebrow:c,title:d,items:u,isSidebar:m}=e;return t&&(null==u?void 0:u.length)?(0,l.jsx)("div",{className:(0,i.cn)(o.So.background,m&&"rounded-soft"),children:(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-cols-1 items-start gap-4 py-5 main-column md:grid-cols-[3.7fr_8fr] md:gap-7 md:py-10",m&&"md:grid-cols-1 md:py-6"),children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 md:gap-3",children:[c&&(0,l.jsx)(r.xv,{as:"eyebrow",className:(0,i.cn)(o.So.eyebrow),children:c}),d&&(0,l.jsx)(r.xv,{as:"h2",className:(0,i.cn)(o.So.title),children:d}),s&&(0,l.jsx)("div",{className:(0,i.cn)("prose",o.So.description),children:(0,ev.ZP)(s)}),a&&(0,l.jsx)(r.zx,{href:(0,n.Q)(a),className:"mt-1 w-fit",children:null==a?void 0:a.text})]}),(0,l.jsx)(e2,{items:u,className:"rounded-soft shadow-soft",variant:"overview"})]})}):null};let tc=e=>{let{subheading:t,heading:a,description:s,link:o}=e,c=(0,n.Q)(o);return(0,l.jsxs)("div",{className:(0,i.cn)("grid content-start justify-items-start gap-2 md:gap-3"),children:[a&&(0,l.jsx)(r.xv,{as:"h2",className:(0,i.cn)(h.vi.heading),children:a}),t&&(0,l.jsx)(r.xv,{as:"h2",textStyle:"h5",className:(0,i.cn)(h.vi.eyebrow),children:t}),s&&(0,l.jsx)(r.xv,{className:(0,i.cn)(h.vi.description),children:s}),c&&(0,l.jsx)(r.zx,{ariaLabel:"Click to read more about ".concat(a),href:c,className:"md:mt-2",children:null==o?void 0:o.text})]})},td=e=>{let{listPosition:t,listStyle:a,list:n}=e;return(0,l.jsx)("div",{className:(0,i.cn)("order-2 grid grid-cols-1 content-start gap-4 md:order-1 md:pt-1","right"===t?"md:order-2":"md:-order-1"),children:n.map((e,t)=>{let{description:n}=e||{};return(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-cols-[32px_1fr] items-start gap-2 md:grid-cols-[48px_1fr] md:gap-3"),children:["ticks"===a&&(0,l.jsx)(r.JO,{name:"check_round",className:(0,i.cn)("size-[32px] md:size-[48px]",h.gf.icon)}),"numbered"===a&&(0,l.jsx)("div",{className:(0,i.cn)("relative mt-[6px] grid h-4 place-content-center rounded-full md:mt-0 md:h-6 ",h.gf.numberedBackgroun
1d),children:(0,l.jsx)(r.xv,{textStyle:"body",className:(0,i.cn)("text-whites z-10 -mt-[2px] text-center text-[18px] font-black md:text-[24px]",h.gf.numberedText),children:t+1})}),(0,l.jsx)(r.xv,{className:(0,i.cn)("text-powderSnow pt-[10px]","ticks"===a&&"pt-[6px] md:pt-[11px]",h.vi.description),children:n})]},t)})})};var tu=e=>{let{data:t,isSidebar:a}=e;return(0,l.jsxs)("div",{className:(0,i.cn)("grid grid-cols-1 gap-4 md:grid-cols-2 md:content-start md:gap-10 ","border-b-2 border-t-2 py-5 md:py-8",h.vi.background,h.vi.border,a&&"md:grid-cols-1"),children:[(0,l.jsx)(td,{...t}),(0,l.jsx)(tc,{...t})]})},tm=e=>{var t;let{data:a,isSidebar:n}=e,{image:s,heading:o,imagePosition:c,video:d}=a;return o||s||d?(0,l.jsxs)("div",{className:(0,i.cn)("group relative","grid grid-cols-1 gap-4 md:grid-cols-2 md:content-start md:gap-5 ","border-b-2 border-t-2 py-5 md:py-8",h.vi.background,h.vi.border,n&&"md:grid-cols-1"),children:[(0,l.jsx)("div",{className:(0,i.cn)("relative order-2 overflow-hidden","md:order-1 md:pt-0","right"===c?"md:order-2":"md:-order-1"),children:(0,l.jsx)(r.VZ,{video:d,image:s,priority:"video",sizes:"(max-width: 1023px) 100vw, (min-width: 1024px) 50vw, 45vw",alt:null==s?void 0:null===(t=s.node)||void 0===t?void 0:t.altText,inheritSize:!0,className:"sm:m-auto sm:w-[60%] md:w-full [&_img]:duration-700 group-hover:[&_img]:scale-110"})}),(0,l.jsx)(tc,{...a})]}):null};a(4645);var tx=a(4575),tp=e=>{let{icon:t,content:a,link:s,isSidebar:o,id:c}=e;return(0,l.jsxs)("div",{id:c,className:(0,i.cn)("flex flex-col gap-2 p-4 shadow-strong md:flex-row md:gap-4 md:p-8 lg:p-10","border-l-4",h.tb.border,tx.d.wideWidth,tx.d.extraMargin2,o&&"md:flex-col md:gap-2 md:!p-4"),children:[(0,l.jsx)(r.JO,{name:{arrow:"arrow_right","check-mark":"check_round","quote-mark":"quote","idea-insight":"idea","question-mark":"question_mark",info:"info"}[t],className:(0,i.cn)("size-4 md:size-6",h.tb.icon,o&&"md:!size-4")}),(0,l.jsxs)("div",{className:(0,i.cn)("prose",o&&"[&_h2]:text-h2Mobile [&_h3]:text-h3Mobile [&_h4]:text-h4Mobile [&_p]:text-bodyMobile"),children:[(0,ev.ZP)(a),(0,l.jsx)(r.zx,{href:(0,n.Q)(s),variant:"textLink",size:o?"small":"standard",icon:{name:"arrow_right",position:"left",className:(0,i.cn)("!icon-color-secondaryThree group-hover:!icon-color-secondaryOne",o&&"!size-2")},children:null==s?void 0:s.text})]})]})};a(1682);let th=e=>{let{label:t,file:a}=e;if(!(null==a?void 0:a.node))return null;let{fileSize:n,mediaItemUrl:i,title:s,mimeType:o}=a.node,c=Math.round(n/1e3),d=(null==o?void 0:o.split("/")[1])||"File";return(0,l.jsxs)("div",{className:"typography-bodySmall relative flex gap-2 rounded-[4px] bg-white p-2 shadow-soft",children:[(0,l.jsx)(r.JO,{name:"download",className:"icon-color-utilitarianFour"}),(0,l.jsx)("a",{href:i,target:"_blank",download:!0,className:"expand-pseudo",rel:"noreferrer",children:t||s}),(0,l.jsxs)("span",{className:"typography-footnote ml-auto shrink-0 uppercase leading-[1.5]",children:[d,c?", ".concat(c,"KB"):""]})]})};var tv=e=>{let{documents:t,className:a}=e;return(null==t?void 0:t.length)?(0,l.jsx)("div",{className:(0,i.cn)("grid gap-1",a),children:t.map((e,t)=>(0,s.createElement)(th,{...e,key:t}))}):null};let tg=e=>{let{cardWidth:t=300,gapWidth:a=16,cardsToScroll:l=1,resetDependency:n}=e,r=(0,s.useRef)(null),[i,o]=(0,s.useState)(!0),[c,d]=(0,s.useState)(!1),[u,m]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=null==r?void 0:r.current;e&&(null==e||e.addEventListener("scroll",()=>{let t=null==e?void 0:e.scrollLeft;0===t?o(!0):o(!1),t>=e.scrollWidth-e.clientWidth-4?d(!0):d(!1)}))},[]),(0,s.useEffect)(()=>{let e=null==r?void 0:r.current,t=()=>{e&&e.scrollWidth>e.clientWidth&&m(!0)},a=()=>{m(!1)},l=r.current;return null==l||l.addEventListener("mouseover",t),null==l||l.addEventListener("mouseout",a),()=>{null==l||l.removeEventListener("mouseover",t),null==l||l.removeEventListener("mouseout",a)}},[]),(0,s.useEffect)(()=>{if(n){let e=null==r?void 0:r.current;e&&(e.scrollLeft=0)}},[n]),{containerRef:r,arrowProps:{showArrows:u,sideScroll:e=>{let n=r.current,i=(null==n?void 0:n.scrollLeft)||0,s=t+a,o=s*l+(Math.floor(i/s)*s-i)*("left"===e?-1:1),c=0,d=setInterval(()=>{let t;if(n){if("left"===e)c>=i&&(t=!0),n.scrollLeft-=10;else{let e=n.scrollWidth-n.clientWidth;(null==n?void 0:n.scrollLeft)>=e&&(t=!0),n.scrollLeft+=10}((c+=10)>=o||t)&&(t=!0,window.clearInterval(d))}},1)},leftHidden:i,rightHidden:c}}};var tf=e=>{let{className:t,sideScroll:a,leftHidden:n,rightHidden:r,showArrows:s,arrowStyles:o}=e;return(0,l.jsxs)("div",{className:(0,i.cn)("pointer-events-none absolute hidden w-full justify-between duration-200 md:flex","left-0 top-[100px] z-30 px-[28px]",t,!s&&"opacity-0"),children:[(0,l.jsx)($.E,{onClick:()=>a("left"),ariaLabel:"Scroll the slider to the left",style:{pointerEvents:n?"none":"all"},className:(0,i.cn)(n&&"opacity-0",o)}),(0,l.jsx)($.E,{direction:"right",onClick:()=>a("right"),ariaLabel:"Scroll the slider to the rights",style:{pointerEvents:r?"none":"all"},className:(0,i.cn)(r&&"opacity-0",o)})]})}},2249:function(e,t,a){a.d(t,{b:function(){return l}});let l=(e,t)=>
1t.includes(e)?e:null},367:function(e,t,a){a.d(t,{U:function(){return l}});let l=(e,t)=>t?"".concat(e,"/?filters=").concat(t):e},9241:function(e,t,a){a.d(t,{Q:function(){return l}});let l=e=>{var t,a,l;if(!e)return null;let{type:n}=e,r=null;return"string"==typeof e&&(r=e),(null==e?void 0:e.uri)&&(r=null==e?void 0:e.uri),(null==e?void 0:null===(t=e.node)||void 0===t?void 0:t.uri)&&(r=null==e?void 0:null===(a=e.node)||void 0===a?void 0:a.uri),"internal"===n&&(e.internalLink&&(r=e.internalLink.uri),e.internal_link&&(r=e.internal_link),(null===(l=e.internalLink)||void 0===l?void 0:l.node)&&(r=e.internalLink.node.uri)),"custom"===n&&(e.customLink&&(r=e.customLink),e.custom_link&&(r=e.custom_link)),r}},6801:function(e,t,a){a.d(t,{s:function(){return n}});var l=a(7484);let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DD MMMM YYYY";return l(e).format(t)}},3388:function(e,t,a){a.d(t,{H:function(){return i}});var l=a(1163),n=a(7294);let r=e=>e.substring(e.indexOf("#")),i=e=>{let t=(0,l.useRouter)();(0,n.useEffect)(()=>{let a=r(t.asPath);a&&e(a);let l=t=>{e(r(t))};return t.events.on("hashChangeStart",l),()=>{t.events.off("hashChangeStart",l)}},[e,t.asPath,t.events])}},6430:function(e,t,a){a.d(t,{G:function(){return n}});var l=a(7294);let n=(e,t,a)=>{let n=[];n=e.map(e=>window.matchMedia(e));let r=(0,l.useCallback)(()=>{let e=n.findIndex(e=>e.matches);return void 0!==t[e]?t[e]:a},[n,a,t]),[i,s]=(0,l.useState)(r);return(0,l.useEffect)(()=>{let e=()=>s(r);return n.forEach(t=>t.addListener(e)),()=>n.forEach(t=>t.removeListener(e))},[n,r]),i}},9213:function(e,t,a){a.d(t,{OT:function(){return i},Op:function(){return r},So:function(){return s},gU:function(){return n},lC:function(){return o},mS:function(){return l},us:function(){return c}});let l={rounded:!1},n={captionBackground:"bg-utilitarianTwo",captionText:"text-body"},r={primaryDot:"bg-secondaryThree",secondaryDot:"bg-primaryTwo",primaryNumber:"text-secondaryThree",secondaryNumber:"text-primaryTwo"},i={border:"border-transparent",betweenItemsBorder:"border-secondaryTwo",heading:"text-white",headingBackground:"bg-primaryTwo",arrowIconDefault:"icon-color-utilitarianFour",arrowIconActive:"group-data-[state=open]:icon-color-white",contentBackground:"bg-secondaryTwo",contentText:"text-utilitarianTwo",contentLink:"[&_a]:text-linkDefault",contentLinkHover:"[&_a:hover]:text-linkHover"},s={background:"bg-utilitarianTwo",eyebrow:"text-secondaryThree",title:"text-he†ding",description:"text-body"},o={border:"border-dividerPrimary",betweenItemsBorder:"border-dividerPrimary",betweenItemsBorderSpecial:"bg-dividerPrimary",heading:"text-utilitarianSix",contentHeading:"text-primaryTwo",contentDescription:"text-utilitarianFive"},c={divider:"border-dividerPrimary",relatedContentBackground:"bg-utilitarianTwo",contentCardsBackground:"bg-utilitarianTwo",videoPlayIcon:"icon-color-white",iconBase:"icon-color-secondaryTwo"}},4575:function(e,t,a){a.d(t,{d:function(){return l}});let l={extraMargin1:"wysiwyg_extraMargin1",extraMargin2:"wysiwyg_extraMargin2",mediumWidth:"wysiwyg_mediumWidth",largeWidth:"wysiwyg_largeWidth",wideWidth:"wysiwyg_wideWidth",fullWidth:"wysiwyg_fullWidth"},n=".".concat(l.mediumWidth,", figure.wp-block-image:not(.size-medium), blockquote, iframe, figure.wp-block-table"),r=".".concat(l.largeWidth),i=".".concat(l.wideWidth),s=".".concat(l.fullWidth,", figure.alignwide, figure.alignfull");":not(".concat(n,", ").concat(r,", ").concat(i,", ").concat(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.