1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9418],{359:(e,t,l)=>{l.d(t,{NewsListingClient:()=>T});var r=l(67770),a=l(71122),s=l(23878),n=l(36582),i=l(42758),o=l(85130),c=l(61508),d=l(3748),m=l(24351),u=l(90968),p=l(79335),x=l(24302),h=l(4313),g=l(51236),f=l(47616),v=l(97820),y=l(75677),j=l(64744);function b(e,t,l,r){let a=t.filter(e=>("productL1"===r||!l.productL1||!!e.productL1Ids.includes(Number(l.productL1)))&&("market"===r||!l.market||!!e.marketKeys.includes(l.market))&&("solution"===r||!l.solution||!!e.solutionIds.includes(Number(l.solution))));if("productL1"===r){let t=new Set(a.flatMap(e=>e.productL1Ids));return e.filter(e=>t.has(Number(e.id)))}if("market"===r){let t=new Set(a.flatMap(e=>e.marketKeys));return e.filter(e=>t.has(String(e.id)))}let s=new Set(a.flatMap(e=>e.solutionIds));return e.filter(e=>s.has(Number(e.id)))}let w={"products-level-1":[],"products-level-2":[],"products-level-3":[]},N={docs:[],hasNextPage:!1,hasPrevPage:!1,limit:9,nextPage:null,page:1,pagingCounter:1,prevPage:null,totalDocs:0,totalPages:1};function k(e,t,l){l?e.set(t,l):e.delete(t)}function S(e,t,l,r){return r?(e.set(`where[and][${t}][${l}][contains]`,r),t+1):t}function C(e,t,l){let r,a=(r=l.match(/^(markets-level-[12]):(\d+)$/))?{relationTo:r[1],id:r[2]}:null;return a?(e.set(`where[and][${t}][and][0][markets.relationTo][equals]`,a.relationTo),e.set(`where[and][${t}][and][1][markets.value][equals]`,a.id),t+1):t}function L(e,t,l){let r=l.trim();return r?(e.set(`where[and][${t}][title][like]`,r),t+1):t}function $(e,t,l){if(!(l["products-level-1"].length>0||l["products-level-2"].length>0||l["products-level-3"].length>0))return t;let r=0;return["products-level-1","products-level-2","products-level-3"].forEach(a=>{l[a].forEach(l=>{e.set(`where[and][${t}][or][${r}][and][0][products.relationTo][equals]`,a),e.set(`where[and][${t}][or][${r}][and][1][products.value][equals]`,String(l)),r+=1})}),t+1}function P({className:e,label:t}){return(0,r.jsx)(p.X,{className:e,children:t})}function z({article:e,locale:t,newsLabel:l}){return e.publishedAt?(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-2 text-sm font-medium text-current",children:[(0,r.jsx)("span",{children:l}),(0,r.jsx)("span",{className:"text-secondary",children:"/"}),(0,r.jsx)("time",{dateTime:new Date(e.publishedAt).toISOString(),children:(0,i.ku)(e.publishedAt,t)})]}):null}function E({article:e,locale:t,featuredLabel:l,newsLabel:a,viewLabel:s}){let n=(0,d.hI)("posts",e.slug,t);return(0,r.jsxs)("section",{className:"relative left-1/2 w-screen -translate-x-1/2 bg-white pt-5 md:flex md:min-
1h-[500px] md:items-center md:py-[50px]",children:[(0,r.jsx)(h.OverImageLines,{className:"absolute top-[-30px] right-[calc(((100vw-min(100vw,80rem))/2)+1rem)] z-10 hidden h-[515px] w-[187px] md:block"}),(0,r.jsxs)("div",{className:"relative md:absolute md:inset-0",children:[(0,m.FN)(e.image)&&(0,r.jsx)(y.Q,{resource:e.image,size:"large",className:"h-[280px] w-full object-cover md:h-full"}),(0,r.jsx)(h.MobileTeamStoryLines,{className:"absolute top-[-20px] right-5 z-10 h-[138px] w-[51px] md:hidden"})]}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] pb-8 md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative bg-white p-5 text-primary md:w-1/2 md:p-0 md:py-[50px] md:pr-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(P,{className:"mb-7.5",label:l}),(0,r.jsx)("h2",{className:"display",children:e.title}),(0,r.jsx)(z,{article:e,locale:t,newsLabel:a}),e.summary&&(0,r.jsx)("p",{className:"mt-5 text-base",children:e.summary}),(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(u.vx,{href:n,tone:"pgrey",variant:"default",children:s})})]})]})})]})}async function I({locale:e,market:t,news:l,productMatch:r,signal:a,solution:s,productL1:n}){async function i(n){let i=await fetch(`/api/posts?${function({locale:e,market:t,matchFilters:l,news:r,productMatch:a,solution:s}){let n=new URLSearchParams;if(n.set("limit","1"),n.set("sort","-publishedAt"),n.set("depth","1"),n.set("locale",e),n.set("where[and][0][_status][equals]","published"),n.set("where[and][1][featuredArticle][equals]","true"),!l)return n.toString();let i=2;return i=S(n,2,"solutions",s),i=C(n,i,t),i=$(n,i,a),L(n,i,r),n.toString()}({locale:e,market:t,matchFilters:n,news:l,productMatch:r,solution:s})}`,{signal:a});if(!i.ok)throw Error("Failed to load featured article.");return(await i.json()).docs[0]??null}return i(!!function({market:e,news:t,productL1:l,solution:r}){return!!(e||t.trim()||l||r)}({market:t,news:l,productL1:n,solution:s})||!1)}function T({locale:e,markets:t,solutions:l,productsLevel1:d,facets:m,labels:u}){let p=(0,o.Qk)(u,o.Ds),h=(0,s.usePathname)(),y=(0,s.useRouter)(),P=(0,s.useSearchParams)(),[z,M]=(0,a.useState)(N),[F,B]=(0,a.useState)(null),[A,R]=(0,a.useState)(!0),[q,U]=(0,a.useState)(!1),[D,_]=(0,a.useState)(P.get("news")??""),[O,H]=(0,a.useState)(w),[Q,X]=(0,a.useState)(()=>!P.get("productL1")),K=(0,a.useRef)(new Map),V=P.get("solution")??"",W=P.get("market")??"",Z=P.get("news")??"",G=P.get("page")??"1",Y=P.get("productL1")??"",J=(0,a.useMemo)(()=>({productL1:Y,market:W,solution:V}),[W,Y,V]),ee=(0,a.useMemo)(()=>b(d,m,J,"productL1"),[J,m,d]),et=(0,a.useMemo)(()=>b(t,m,J,"market"),[J,m,t]),el=(0,a.useMemo)(()=>b(l,m,J,"solution"),[J,m,l]),er=(0,a.useMemo)(()=>JSON.stringify({locale:e,market:W,news:Z,page:G,productMatch:O,solution:V}),[e,W,Z,G,O,V]),ea=(0,a.useCallback)((e,t="push")=>{let l=new URLSearchParams(P);k(l,"solution",e.solution??V),k(l,"market",e.market??W),k(l,"news",e.news??Z),k(l,"productL1",e.productL1??Y),l.delete("productL2"),l.delete("productL3"),l.delete("page");let r=l.toString(),a=r?`${h}?${r}`:h;"replace"===t?y.replace(a,{scroll:!1}):y.push(a,{scroll:!1})},[W,Z,h,Y,y,P,V]);(0,a.useEffect)(()=>{let e={};Y&&!ee.some(e=>String(e.id)===Y)&&(e.productL1=""),W&&!et.some(e=>String(e.id)===W)&&(e.market=""),V&&!el.some(e=>String(e.id)===V)&&(e.solution=""),0!==Object.keys(e).length&&ea(e,"replace")},[et,ee,el,W,Y,V,ea]),(0,a.useEffect)(()=>{_(Z)},[Z]),(0,a.useEffect)(()=>{if(D===Z)return;let e=window.setTimeout(()=>{ea({news:D.trim()},"replace")},350);return()=>window.clearTimeout(e)},[Z,D,ea]),(0,a.useEffect)(()=>{let t=new AbortController;return async function(){if(!Y){H(w),X(!0);return}X(!1);let l=`${e}:${Y}`,r=K.current.get(l);if(r){H(r),X(!0);return}try{let r=await (0,c.X)(Number(Y),e,t.signal);K.current.set(l,r),H(r),X(!0)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(H({"products-level-1":[Number(Y)],"products-level-2":[],"products-level-3":[]}),X(!0))}}(),()=>t.abort()},[e,Y]),(0,a.useEffect)(()=>
1{if(!Q)return;let t=new AbortController;return async function(){R(!0);try{let l=await I({locale:e,market:W,news:Z,productMatch:O,productL1:Y,signal:t.signal,solution:V}),r=await fetch(`/api/posts?${function({excludeId:e,locale:t,market:l,news:r,page:a,productMatch:s,solution:n}){var i;let o=new URLSearchParams;o.set("limit","9"),o.set("page",a),o.set("sort","-publishedAt"),o.set("depth","2"),o.set("locale",t);let c=0;return i=c,o.set(`where[and][${i}][_status][equals]`,"published"),c=S(o,c=i+1,"solutions",n),c=C(o,c,l),c=$(o,c,s),c=L(o,c,r),null!=e&&o.set(`where[and][${c}][id][not_equals]`,String(e)),o.toString()}({excludeId:l?.id,locale:e,market:W,news:Z,page:G,productMatch:O,solution:V})}`,{signal:t.signal});if(!r.ok)throw Error("Failed to load news.");let a=await r.json();M(a),B(l)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(M(N),B(null))}finally{t.signal.aborted||R(!1)}}(),()=>t.abort()},[er,e,W,Z,G,Y,O,Q,V]);let es=F?z.docs.filter(e=>e.id!==F.id):z.docs,en=es.slice(0,3),ei=es.slice(3),eo=e=>e%2==0?"default":"alt",ec={...z,nextPage:z.nextPage??void 0,page:z.page??void 0,prevPage:z.prevPage??void 0};return(0,r.jsxs)("div",{className:"pb-5 md:pb-[50px]",children:[(0,r.jsx)("div",{className:"container mb-[15px] md:hidden",children:(0,r.jsxs)("button",{type:"button",className:(0,n.cn)("group flex w-full items-center justify-center gap-2 px-4 py-3 text-[16px] font-normal transition-colors hover:bg-primary hover:text-white",q?"bg-primary text-white":"bg-pgrey text-primary"),"aria-expanded":q,onClick:()=>U(e=>!e),children:[(0,r.jsx)("span",{children:"Filter articles"}),(0,r.jsx)(x._r,{className:(0,n.cn)("transition-colors group-hover:text-secondary",q?"text-secondary":"text-tertiary")})]})}),(0,r.jsx)(f.F,{className:(0,n.cn)("md:mb-[30px] md:block md:py-5",q?"mb-[15px] block py-5":"hidden"),children:(0,r.jsx)("form",{className:q?"container flex flex-col gap-4":"container hidden flex-col gap-4 md:flex",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-end",children:[(0,r.jsx)(g.x,{label:p.searchByProduct,value:Y,emptyLabel:p.allProducts,options:ee,onChange:e=>ea({productL1:e})}),(0,r.jsx)(g.x,{label:p.searchBySolution,value:V,emptyLabel:p.allSolutions,options:el,onChange:e=>ea({solution:e})}),(0,r.jsx)(g.x,{label:p.searchByMarket,value:W,emptyLabel:p.allMarkets,options:et,onChange:e=>ea({market:e})}),(0,r.jsxs)("label",{className:"flex w-full flex-col gap-2 md:flex-1",children:[(0,r.jsx)("span",{className:"font-sans text-base leading-none font-bold text-primary",children:p.searchForNews}),(0,r.jsxs)("span",{className:"relative block",children:[(0,r.jsx)("input",{type:"search",value:D,onChange:e=>_(e.currentTarget.value),className:"h-12 w-full border border-tertiary bg-white px-4 pr-12 text-primary outline-none placeholder:text-primary focus:ring-0 focus:outline-none",placeholder:p.searchPlaceholder}),(0,r.jsx)(x.Uz,{className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2"})]})]})]})})}),(0,r.jsx)("div",{className:"container",children:A?(0,r.jsx)("p",{className:"text-primary",children:p.loading}):es.length||F?(0,r.jsxs)(r.Fragment,{children:[en.length?(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:en.map((t,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(v.a,{post:t,collection:"posts",locale:(0,i.vv)(e),variant:eo(l),typeLabel:p.itemType})},t.id))}):null,F&&(0,r.jsx)("div",{className:"my-5 md:my-[30px]",children:(0,r.jsx)(E,{article:F,locale:e,featuredLabel:p.featured,newsLabel:p.itemType,viewLabel:p.view})}),ei.length?(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:ei.map((t,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(v.a,{post:t,collection:"posts",locale:(0,i.vv)(e),variant:eo(l+en.length),typeLabel:p.itemType})},t.id))}):null,es.length?(0,r.jsx)(j.y,{...ec}):null]}):(0,r.jsx)("p",{className:"text-primary",children:p.empty})})]})}},522:(e,t,l)=>{l.d(t,{h:()=>n});var r=l(67770),a=l(36582),s=l(56457);function n({value:e,className:t,wrapperClassName:l="space-y-4"}){let i=(0,s.j)(e);return i.length?1===i.length?(0,r.jsx)("p",{className:t,children:i[0]}):(0,r.jsx)("div",{className:(0,a.cn)(l),children:i.map((e,l)=>(0,r.jsx)("p",{className:t,children:e},l))}):null}},10134:(e,t,l)=>{l.d(t,{ContentSearchBannerClient:()=>o});var r=l(67770),a=l(85711),s=l(4313),n=l(68300),i=l(31157);function o({leftContent:e,aboveSearchContent:t,searchPlaceholder:l}){return(0,r.jsxs)("section",{className:"relative bg-primary max-md:pt-5 md:bg-white",children:[(0,r.jsx)(a.Xs,{className:"absolute inset-y-0 left-0 hidden h-full w-[calc(((100vw-min(100vw,80rem))/2)+1rem+((min(100vw,80rem)-2rem)*0.583333))] md:block"}),(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsxs)("div",{className:"grid grid-cols-12",children:[(0,r.jsx)("div",{className:"order-2 col-span-12 pb-5 text-white md:order-1 md:col-span-5 md:py-[50px]",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(s.CtaLines,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsx)("div",{className:"xs:max-md:pt-5",children:(0,r.jsx)(i.s,{data:e})})]})}),(0,r.jsx)("div",{className:"order-1 col-span-12 mb-5 bg-white p-5 md:order-2 md:col-span-4 md:col-start-8 md:mb-0 md:flex md:items-center md:px-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(i.s,{data:t}),(0,r.jsx)(n.ContentSearchInput,{className:"mx-auto mt-5 w-full max-w-[369px]",inputClassName:"h-[50px]",placeholder:l,showLeadingIcon:!0,submitIcon:"arrow"})]})})]})})]})}},10313:(e,t,l)=>{l.d(t,{VideoPlayer:()=>d});var r=l(67770),a=l(71122),s=l(23878),n=l(36582),i=l(70754),o=l(8802),c=l(24351);function d({video:e,poster:t,className:l}){let m=(0,s.usePathname)()||"/",u=(0,i.xU)((0,o.lu)(m)).playVideo,p=(0,a.useRef)(null),[x,h]=(0,a.useState)(!1);if(!e||!(0,c.FN)(e))return null;let g=t&&(0,c.FN)(t)?t.url??void 0:void 0;return(0,r.jsxs)("div",{className:(0,n.cn)("group relative overflow-hidden bg-pblack",l),children:[(0,r.jsx)("video",{ref:p,poster:g,playsInl
1ine:!0,preload:"metadata",controls:x,className:"aspect-video h-auto w-full object-cover",onPause:function(){h(!1)},onEnded:function(){h(!1)},children:(0,r.jsx)("source",{src:e.url??void 0,type:e.mimeType??void 0})}),!x&&(0,r.jsx)("button",{onClick:function(){let e=p.current;e&&(e.play(),h(!0))},"aria-label":u,className:(0,n.cn)("absolute inset-0 flex items-center justify-center","bg-pblack/40 transition-colors duration-300","hover:bg-pblack/50"),children:(0,r.jsx)("span",{className:(0,n.cn)("flex h-20 w-20 items-center justify-center rounded-full","bg-secondary text-primary shadow-lg","transition-transform duration-300 group-hover:scale-110","ring-4 ring-secondary/30"),children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-8 w-8 translate-x-0.5","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M8 5.14v14l11-7-11-7z"})})})})]})}},11187:(e,t,l)=>{l.d(t,{MultiFormBlockClient:()=>p});var r=l(67770),a=l(71122),s=l(17951),n=l(36582),i=l(69774),o=l(85711),c=l(90968),d=l(4313),m=l(55263),u=l(31157);function p({forms:e,richText:t,additionalText:l,settings:x}){let h=e.findIndex(e=>{var t;return(t=e.form).title===i.XP||!!t.fields?.some(e=>("text"===e.blockType||"select"===e.blockType)&&"location"===e.name&&!("hidden"in e&&e.hidden))}),[g,f]=(0,a.useState)(0),v=e[g]??e[0];if((0,a.useEffect)(()=>{function e(e){let t=e.detail;!t?.selectGeneralEnquiry||h<0||f(h)}return window.addEventListener(i.W2,e),()=>{window.removeEventListener(i.W2,e)}},[h]),!v)return null;let y=(0,r.jsx)("div",{className:"flex flex-col gap-3 md:flex-row md:flex-wrap",role:"tablist","aria-label":"Choose a form",children:e.map((e,t)=>{let l=v.id===e.id;return(0,r.jsx)(c.$n,{type:"button",icon:e.buttonIcon,"aria-selected":l,role:"tab",className:(0,n.cn)("w-full justify-center border text-center transition-colors md:w-auto",l?"border-primary bg-primary text-white hover:bg-primary hover:text-white [&_svg]:text-secondary hover:[&_svg]:text-secondary":"border-tertiary bg-white text-primary hover:border-primary hover:bg-primary hover:text-white [&_svg]:text-tertiary hover:[&_svg]:text-secondary"),onClick:()=>f(t),children:e.buttonTitle},e.id)})});return(0,r.jsxs)("section",{id:"contact-enquiry-form","data-form-scroll-target":!0,className:"relative scroll-mt-28 overflow-hidden bg-white",children:[(0,r.jsx)(o.r5,{className:"absolute inset-y-0 left-0 hidden h-full w-[77vw] md:block"}),l?(0,r.jsx)(d.OverImageLines2,{className:"pointer-events-none absolute top-0 right-4 z-10 hidden h-[397px] w-[148px] md:right-[max(1rem,calc((100vw-80rem)/2+1rem))] md:block"}):null,(0,r.jsx)(s.m,{settings:{...x,backgroundColor:"none"},className:"relative z-10 max-md:w-full max-md:max-w-none max-md:px-0",children:(0,r.jsxs)("div",{className:"relative grid grid-cols-12 md:items-end md:gap-x-7.5",children:[(0,r.jsxs)("div",{className:"bullets-light col-span-12 bg-pgrey p-5 text-body md:col-span-7 md:self-start md:bg-transparent md:p-0 md:pr-6",children:[t?(0,r.jsxs)("div",{className:"mb-6 flex items-start gap-x-3.75 md:mb-8 md:block",children:[(0,r.jsx)(d.HeaderLines,{className:"h-[105px] w-[47px] shrink-0 md:hidden"}),(0,r.jsxs)("div",{className:"mr-[47px] min-w-0 flex-1 md:mr-0",children:[(0,r.jsx)(u.s,{data:t,className:"max-w-none"}),(0,r.jsx)("div",{className:"mt-6 md:mt-8",children:y})]})]}):(0,r.jsx)("div",{className:"mb-6 md:mb-8",children:y}),v.formHeading?(0,r.jsx)(u.s,{data:v.formHeading,className:"mb-6 max-w-none md:mb-8"}):null,(0,r.jsx)(m.FormBuilder,{form:v.form,layout:"stacked",redirectUrl:v.redirectUrl,disclaimer:v.privacyDisclaimer?(0,r.jsx)(u.s,{data:v.privacyDisclaimer,className:"max-w-full [&_a]:underline [&_p]:m-0"}):null},v.form.id)]}),l?(0,r.jsx)("div",{className:"relative col-span-12 bg-white p-5 text-body md:col-span-4 md:col-start-9 md:bg-transparent md:px-8 md:pt-[427px] md:pb-8",children:(0,r.jsx)("div",{className:"relative z-10 min-w-0 md:ml-auto md:max-w-[378px] md:text-right",children:(0,r.jsx)(u.s,{data:l,className:"max-w-none"})})}):null]})})]})}},11250:(e,t,l)=>{l.d(t,{d:()=>n});var r=l(67770),a=l(71122),s=l(36582);function n({children:e,className:t}){let l=(0,a.useRef)(null),[i,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=l.current;if(!e)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void o(!0);let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(o(!0),t.disconnect())}
1,{rootMargin:"0px 0px -10% 0px",threshold:.2});return t.observe(e),()=>t.disconnect()},[]),(0,r.jsx)("div",{ref:l,className:t,children:a.Children.map(e,(e,t)=>(0,r.jsx)("div",{className:(0,s.cn)("transition-[opacity,translate] duration-1200 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none",i?"translate-y-0 opacity-100":"translate-y-24 opacity-0"),style:{transitionDelay:i?`${240*t}ms`:"0ms"},children:e}))})}},12135:(e,t,l)=>{l.d(t,{StickySectionNav:()=>i});var r=l(67770),a=l(71122),s=l(36582),n=l(24302);function i({items:e}){let[t,l]=(0,a.useState)(e[0]?.id),[o,c]=(0,a.useState)(100);return((0,a.useEffect)(()=>{if(0===e.length)return;let t=()=>{let e=document.querySelector("[data-site-header]");e&&c(e.getBoundingClientRect().height)},r=()=>{let t=o+40,r=e[0]?.id;for(let l of e){let e=document.getElementById(l.id);if(e)if(e.getBoundingClientRect().top<=t)r=l.id;else break}window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2&&(r=e[e.length-1]?.id??r),l(r)};return t(),r(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",t),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",t),window.removeEventListener("resize",r)}},[o,e]),0===e.length)?null:(0,r.jsx)("nav",{"aria-label":"Page sections",className:"sticky z-40 hidden h-[60px] bg-tertiary lg:block","data-product-sticky-nav":!0,style:{top:o},children:(0,r.jsx)("div",{className:"container h-full",children:(0,r.jsx)("ul",{className:"flex h-full items-stretch justify-center overflow-x-auto",children:e.map(e=>{let a=t===e.id;return(0,r.jsx)("li",{className:"flex",children:(0,r.jsxs)("a",{href:`#${e.id}`,onClick:t=>{t.preventDefault(),l(e.id),function(e,t){let l=document.getElementById(e);if(!l)return;let r=l.getBoundingClientRect().top+window.scrollY-t;window.history.pushState(null,"",`#${e}`),window.scrollTo({top:r,behavior:"smooth"})}(e.id,o)},className:(0,s.cn)("group relative z-10 flex h-full items-center px-4 text-[18px] leading-none font-light text-white no-underline transition-colors hover:bg-pgrey hover:text-primary hover:no-underline",a&&"bg-pgrey text-primary"),children:[(0,r.jsx)("span",{children:e.label}),(0,r.jsx)(n.UL,{className:(0,s.cn)("ml-2 text-pgrey transition-colors group-hover:text-tertiary",a&&"text-tertiary")})]})},e.id)})})})})}},12906:(e,t,l)=>{l.d(t,{ServicesListingBlockClient:()=>g});var r=l(67770),a=l(52288),s=l(64777),n=l(8802),i=l(26742),o=l(86472),c=l(3748),d=l(70012),m=l(42022),u=l(94699),p=l(4313),x=l(99476),h=l(31157);function g({content:e,addCta:t,cta:l,services:f,locale:v=n.Xn}){var y,j;let b,w,N=(y=f,j=v,b=new Set,w=y.map(e=>{let t=function(e,t){let l=(0,s.Hr)(e)||"section",r=l,a=2;for(;t.has(r);)r=`${l}-${a}`,a+=1;return t.add(r),r}(e.title,b);return{buttonText:e.listingButtonText,description:(0,o.F)(e.listingSummary),href:(0,c.hI)("services",e.slug,j),id:t,imageUrl:(0,i.a)(e.listingImage),title:e.title,subItems:[]}}),{items:y.map((e,t)=>({id:w[t].id,href:(0,c.hI)("services",e.slug,j),image:e.listingImage,summary:e.listingSummary,title:e.title})),sections:w}),k=N.items.length>5,S=!k&&N.items.length>0;return(0,r.jsxs)(r.Fragment,{children:[S?(0,r.jsx)(x.x,{title:"Services:",items:N.items.map(e=>({id:e.id,label:e.title}))}):null,(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsx)("div",{className:"grid grid-cols-12",children:(0,r.jsx)("div",{className:"col-span-12 py-5 md:py-[50px] lg:col-span-10 lg:col-start-2",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(p.CtaLines,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 xs:max-md:pt-5 md:flex md:flex-row md:items-center md:gap-x-10",children:[(0,r.jsx)("div",{className:"max-w-[630px] min-w-0 flex-1",children:(0,r.jsx)(h.s,{data:e})}),(0,a.s)(t,l)&&(0,r.jsx)("div",{className:"mt-5 shrink-0 md:mt-0",children:(0,r.jsx)(d.O,{button:l})})]})]})})})}),k?(0,r.jsx)("section",{className:"bg-pgrey-light py-7.5 md:py-[50px]",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"grid gap-5 md:grid-cols-2 md:gap-[30px] lg:grid-cols-3",children:N.items.map(e=>(0,r.jsx)(m.T,{href:e.href,image:e.image,summary:e.summary,title:e.title},e.id))})})}):N.sections.map((e,t)=>(0,r.jsx)(u.H,{section:e,index:t},e.id))]})}},17951:(e,t,l)=>{l.d(t,{m:()=>i});var r=l(67770),a=l(36582),s=l(34775);let n={width:"container",backgroundColor:"none",py:"medium"};function i({settings:e,children:t,className:l,containerClassName:o,...c}){let d={...n,...e};return(0,r.jsx)("div",{id:d.anchor||void 0,"data-slot":"container","data-width":d.width,"data-padding":d.py,"data-background-color":d.backgroundColor,className:(0,a.cn)(o,"small"===d.py&&"py-4 md:py-6","medium"===d.py&&"py-8 md:py-12","large"===d.py&&"py-12 md:py-24",(0,s.Ao)(d.backgroundColor)),...c,children:(0,r.jsx)("div",{className:(0,a.cn)("full"===d.width&&"w-full px-4","wide"===d.width&&"container max-w-360","container"===d.width&&"container","narrow"===d.width&&"container max-w-228",l),children:t})})}},17967:(e,t,l)=>{l.d(t,{IconListingCard:()=>i});var r=l(67770),a=l(70012),s=l(75677),n=l(31157);function i({image:e,title:t,iconImage:l,summary:o,cta:c,index:d}){let m="object"==typeof o&&null!==o&&"root"in o?o:null,u="string"==typeof o&&o.trim()?o.trim():null;return(0,r.jsxs)("article",{className:"relative flex flex-col bg-white",children:[(0,r.jsxs)("div",{className:"relative h-[207px] bg-pgrey md:h-[378px]",children:[(0,r.jsx)(s.Q,{resource:e,fill:!0,className:"object-cover"}),(0,r.jsx)("h2",{className:"display absolute -top-[55px] right-1 translate-y-1/2 text-[60px] leading-none font-bold text-secondary md:-top-[80px] md:text-[80px]",children:String(d+1).padStart(2,"0")})]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col pt-5",children:[(0,r.jsxs)("div",{className:"flex-1",children:[t?(0,r.jsxs)("div",{className:"flex items-center gap-x-3",children:[l?(0,r.jsx)("span",{className:"relative size-8 shrink-0",children:(0,r.jsx)(s.Q,{resource:l,fill:!0,className:"object-contain"})}):null,(0,r.jsx)("h3",{className:"display text-primary",children:t})]}):null,m?(0,r.jsx)(n.s,{data:m,className:t?"mt-5 min-w-0":"min-w-0"}):null,u?(0,r.jsx)("p",{className:t?"mt-5 text-base":"text-base",children:u}):null]}),c?(0,r.jsx)("div",{className:"pt-5",children:(0,r.jsx)(a.O,{button:c})}):null]})]})}},18023:(e,t,l)=>{l.d(t,{InsightsListingClient:()=>I});var r=l(67770),a=l(71122),s=l(23878),n=l(42758),i=l(85130),o=l(61508),c=l(3748),d=l(24351),m=l(90968),u=l(79335),p=l(24302),x=l(4313),h=l(51236),g=l(47616),f=l(97820),v=l(75677),y=l(64744);function j(e,t,l,r){let a=t.filter(e=>("productL1"===r||!l.productL1||!!e.productL1Ids.includes(Number(l.productL1)))&&("market"===r||!l.market||!!e.marketKeys.includes(l.market))&&("solution"===r||!l.solution||!!e.s
1olutionIds.includes(Number(l.solution))));if("productL1"===r){let t=new Set(a.flatMap(e=>e.productL1Ids));return e.filter(e=>t.has(Number(e.id)))}if("market"===r){let t=new Set(a.flatMap(e=>e.marketKeys));return e.filter(e=>t.has(String(e.id)))}let s=new Set(a.flatMap(e=>e.solutionIds));return e.filter(e=>s.has(Number(e.id)))}let b={"products-level-1":[],"products-level-2":[],"products-level-3":[]},w={docs:[],hasNextPage:!1,hasPrevPage:!1,limit:9,nextPage:null,page:1,pagingCounter:1,prevPage:null,totalDocs:0,totalPages:1};function N(e,t,l){l?e.set(t,l):e.delete(t)}function k(e,t,l,r){return r?(e.set(`where[and][${t}][${l}][contains]`,r),t+1):t}function S(e,t,l){let r,a=(r=l.match(/^(markets-level-[12]):(\d+)$/))?{relationTo:r[1],id:r[2]}:null;return a?(e.set(`where[and][${t}][and][0][markets.relationTo][equals]`,a.relationTo),e.set(`where[and][${t}][and][1][markets.value][equals]`,a.id),t+1):t}function C(e,t,l){let r=l.trim();return r?(e.set(`where[and][${t}][title][like]`,r),t+1):t}function L(e,t,l){if(!(l["products-level-1"].length>0||l["products-level-2"].length>0||l["products-level-3"].length>0))return t;let r=0;return["products-level-1","products-level-2","products-level-3"].forEach(a=>{l[a].forEach(l=>{e.set(`where[and][${t}][or][${r}][and][0][products.relationTo][equals]`,a),e.set(`where[and][${t}][or][${r}][and][1][products.value][equals]`,String(l)),r+=1})}),t+1}function $({className:e,label:t}){return(0,r.jsx)(u.X,{className:e,children:t})}function P({insightsLabel:e}){return(0,r.jsx)("div",{className:"mt-3 flex flex-wrap items-center gap-x-2 text-sm font-medium text-current",children:(0,r.jsx)("span",{children:e})})}function z({insight:e,locale:t,featuredLabel:l,insightsLabel:a,viewLabel:s}){let n=(0,c.hI)("insights",e.slug,t);return(0,r.jsxs)("section",{className:"relative left-1/2 w-screen -translate-x-1/2 bg-white pt-5 md:flex md:min-
1h-[500px] md:items-center md:py-[50px]",children:[(0,r.jsx)(x.OverImageLines,{className:"absolute top-[-30px] right-[calc(((100vw-min(100vw,80rem))/2)+1rem)] z-10 hidden h-[515px] w-[187px] md:block"}),(0,r.jsxs)("div",{className:"relative md:absolute md:inset-0",children:[(0,d.FN)(e.image)&&(0,r.jsx)(v.Q,{resource:e.image,size:"large",className:"h-[280px] w-full object-cover md:h-full"}),(0,r.jsx)(x.MobileTeamStoryLines,{className:"absolute top-[-20px] right-5 z-10 h-[138px] w-[51px] md:hidden"})]}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] pb-8 md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative bg-white p-5 text-primary md:w-1/2 md:p-0 md:py-[50px] md:pr-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)($,{className:"mb-7.5",label:l}),(0,r.jsx)("h2",{className:"display",children:e.title}),(0,r.jsx)(P,{insightsLabel:a}),e.summary&&(0,r.jsx)("p",{className:"mt-5 text-base",children:e.summary}),(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(m.vx,{href:n,tone:"pgrey",variant:"default",children:s})})]})]})})]})}async function E({locale:e,market:t,insightsSearch:l,productMatch:r,signal:a,solution:s,productL1:n}){async function i(n){let i=await fetch(`/api/insights?${function({locale:e,market:t,matchFilters:l,insightsSearch:r,productMatch:a,solution:s}){let n=new URLSearchParams;if(n.set("limit","1"),n.set("sort","-publishedAt"),n.set("depth","1"),n.set("locale",e),n.set("where[and][0][_status][equals]","published"),n.set("where[and][1][featuredInsight][equals]","true"),!l)return n.toString();let i=2;return i=k(n,2,"solutions",s),i=S(n,i,t),i=L(n,i,a),C(n,i,r),n.toString()}({locale:e,market:t,matchFilters:n,insightsSearch:l,productMatch:r,solution:s})}`,{signal:a});if(!i.ok)throw Error("Failed to load featured insight.");return(await i.json()).docs[0]??null}return i(!!function({market:e,insightsSearch:t,productL1:l,solution:r}){return!!(e||t.trim()||l||r)}({market:t,insightsSearch:l,productL1:n,solution:s})||!1)}function I({locale:e,markets:t,solutions:l,productsLevel1:c,facets:d,labels:m}){let u=(0,i.Qk)(m,i.jz),x=(0,s.usePathname)(),v=(0,s.useRouter)(),$=(0,s.useSearchParams)(),[P,T]=(0,a.useState)(w),[M,F]=(0,a.useState)(null),[B,A]=(0,a.useState)(!0),[R,q]=(0,a.useState)($.get("insights")??""),[U,D]=(0,a.useState)(b),[_,O]=(0,a.useState)(()=>!$.get("productL1")),H=(0,a.useRef)(new Map),Q=$.get("solution")??"",X=$.get("market")??"",K=$.get("insights")??"",V=$.get("page")??"1",W=$.get("productL1")??"",Z=(0,a.useMemo)(()=>({productL1:W,market:X,solution:Q}),[X,W,Q]),G=(0,a.useMemo)(()=>j(c,d,Z,"productL1"),[Z,d,c]),Y=(0,a.useMemo)(()=>j(t,d,Z,"market"),[Z,d,t]),J=(0,a.useMemo)(()=>j(l,d,Z,"solution"),[Z,d,l]),ee=(0,a.useMemo)(()=>JSON.stringify({locale:e,market:X,insightsSearch:K,page:V,productMatch:U,solution:Q}),[e,X,K,V,U,Q]),et=(0,a.useCallback)((e,t="push")=>{let l=new URLSearchParams($);N(l,"solution",e.solution??Q),N(l,"market",e.market??X),N(l,"insights",e.insights??K),N(l,"productL1",e.productL1??W),l.delete("productL2"),l.delete("productL3"),l.delete("page");let r=l.toString(),a=r?`${x}?${r}`:x;"replace"===t?v.replace(a,{scroll:!1}):v.push(a,{scroll:!1})},[X,K,x,W,v,$,Q]);(0,a.useEffect)(()=>{let e={};W&&!G.some(e=>String(e.id)===W)&&(e.productL1=""),X&&!Y.some(e=>String(e.id)===X)&&(e.market=""),Q&&!J.some(e=>String(e.id)===Q)&&(e.solution=""),0!==Object.keys(e).length&&et(e,"replace")},[Y,G,J,X,W,Q,et]),(0,a.useEffect)(()=>{q(K)},[K]),(0,a.useEffect)(()=>{if(R===K)return;let e=window.setTimeout(()=>{et({insights:R.trim()},"replace")},350);return()=>window.clearTimeout(e)},[K,R,et]),(0,a.useEffect)(()=>{let t=new AbortController;return async function(){if(!W){D(b),O(!0);return}O(!1);let l=`${e}:${W}`,r=H.current.get(l);if(r){D(r),O(!0);return}try{let r=await (0,o.X)(Number(W),e,t.signal);H.current.set(l,r),D(r),O(!0)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(D({"products-level-1":[Number(W)],"products-level-2":[],"products-level-3":[]}),O(!0))}}(),()=>t.abort()},[e,W]),(0,a.useEffect)(()=>
1{if(!_)return;let t=new AbortController;return async function(){A(!0);try{let l=await E({locale:e,market:X,insightsSearch:K,productMatch:U,productL1:W,signal:t.signal,solution:Q}),r=await fetch(`/api/insights?${function({excludeId:e,locale:t,market:l,insightsSearch:r,page:a,productMatch:s,solution:n}){var i;let o=new URLSearchParams;o.set("limit","9"),o.set("page",a),o.set("sort","-publishedAt"),o.set("depth","2"),o.set("locale",t);let c=0;return i=c,o.set(`where[and][${i}][_status][equals]`,"published"),c=k(o,c=i+1,"solutions",n),c=S(o,c,l),c=L(o,c,s),c=C(o,c,r),null!=e&&o.set(`where[and][${c}][id][not_equals]`,String(e)),o.toString()}({excludeId:l?.id,locale:e,market:X,insightsSearch:K,page:V,productMatch:U,solution:Q})}`,{signal:t.signal});if(!r.ok)throw Error("Failed to load insights.");let a=await r.json();T(a),F(l)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(T(w),F(null))}finally{t.signal.aborted||A(!1)}}(),()=>t.abort()},[ee,e,X,K,V,W,U,_,Q]);let el=P.docs.slice(0,3),er=P.docs.slice(3),ea=e=>e%2==0?"default":"alt",es={...P,nextPage:P.nextPage??void 0,page:P.page??void 0,prevPage:P.prevPage??void 0};return(0,r.jsxs)("div",{className:"pb-5 md:pb-[50px]",children:[(0,r.jsx)(g.F,{className:"mb-[15px] py-5 md:mb-[30px]",children:(0,r.jsx)("form",{className:"container flex flex-col gap-4",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-end",children:[(0,r.jsx)(h.x,{label:u.searchByProduct,value:W,emptyLabel:u.allProducts,options:G,onChange:e=>et({productL1:e})}),(0,r.jsx)(h.x,{label:u.searchBySolution,value:Q,emptyLabel:u.allSolutions,options:J,onChange:e=>et({solution:e})}),(0,r.jsx)(h.x,{label:u.searchByMarket,value:X,emptyLabel:u.allMarkets,options:Y,onChange:e=>et({market:e})}),(0,r.jsxs)("label",{className:"flex w-full flex-col gap-2 md:flex-1",children:[(0,r.jsx)("span",{className:"font-sans text-base leading-none font-bold text-primary",children:u.searchForInsights}),(0,r.jsxs)("span",{className:"relative block",children:[(0,r.jsx)("input",{type:"search",value:R,onChange:e=>q(e.currentTarget.value),className:"h-12 w-full border border-tertiary bg-white px-4 pr-12 text-primary outline-none placeholder:text-primary focus:ring-0 focus:outline-none",placeholder:u.searchPlaceholder}),(0,r.jsx)(p.Uz,{className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2"})]})]})]})})}),(0,r.jsx)("div",{className:"container",children:B?(0,r.jsx)("p",{className:"text-primary",children:u.loading}):P.docs.length||M?(0,r.jsxs)(r.Fragment,{children:[el.length?(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:el.map((t,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(f.a,{post:t,collection:"insights",locale:(0,n.vv)(e),variant:ea(l),typeLabel:u.itemType})},t.id))}):null,M&&(0,r.jsx)("div",{className:"my-5 md:my-[30px]",children:(0,r.jsx)(z,{insight:M,locale:e,featuredLabel:M.featuredInsightLabel?.trim()||u.featured,insightsLabel:u.itemType,viewLabel:u.view})}),er.length?(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:er.map((t,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(f.a,{post:t,collection:"insights",locale:(0,n.vv)(e),variant:ea(l+el.length),typeLabel:u.itemType})},t.id))}):null,P.docs.length?(0,r.jsx)(y.y,{...es}):null]}):(0,r.jsx)("p",{className:"text-primary",children:u.empty})})]})}},18864:(e,t,l)=>{l.d(t,{dK:()=>d,Iu:()=>m,M_:()=>g,cU:()=>u,n$:()=>p,WA:()=>h,Eb:()=>x});var r=l(67770);l(71122);var a=l(27189),s=l.n(a),n=l(59521);let i={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};i.node;let o=(0,n.A)(i);var c=l(36582);function d({className:e,...t}){return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:(0,c.cn)("mx-auto flex w-full justify-center",e),...t})}function m({className:e,...t}){return(0,r.jsx)("ul",{"data-slot":"pagination-content",className:(0,c.cn)("flex flex-row items-center gap-x-2.5",e),...t})}function u({...e}){return(0,r.jsx)("li",{"data-slot":"pagination-item",...e})}function p({className:e,isActive:t,...l}){return(0,r.jsx)(s(),{"aria-current":t?"page":void 0,"data-slot":"pagination-link","data-active":t,className:(0,
1c.cn)("flex size-10 items-center justify-center border border-tertiary bg-white p-0 text-base font-medium text-tertiary no-underline transition-colors hover:bg-tertiary hover:text-white aria-[current=page]:border-tertiary aria-[current=page]:bg-tertiary aria-[current=page]:text-white",e),...l})}function x({className:e,...t}){return(0,r.jsx)(p,{"aria-label":"Go to previous page",className:(0,c.cn)("border-0 bg-pgrey hover:bg-pgrey hover:text-tertiary",e),...t,children:(0,r.jsx)("svg",{"aria-hidden":"true",width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M2.90076 7.11155L7.66412 12.0861C7.88804 12.32 8 12.6176 8 12.979C8 13.3404 7.88804 13.638 7.66412 13.8719C7.4402 14.1057 7.15522 14.2227 6.80916 14.2227C6.4631 14.2227 6.17812 14.1057 5.9542 13.8719L0.335877 8.00442C0.21374 7.87687 0.127226 7.73868 0.0763353 7.58987C0.0254444 7.44106 -6.06805e-07 7.28162 -6.21673e-07 7.11155C-6.36541e-07 6.94147 0.0254443 6.78203 0.0763352 6.63322C0.127226 6.48441 0.21374 6.34622 0.335877 6.21867L5.9542 0.351207C6.17812 0.117358 6.4631 0.000434056 6.80916 0.000434026C7.15522 0.000433996 7.4402 0.117358 7.66412 0.351207C7.88804 0.585055 8 0.88268 8 1.24408C8 1.60548 7.88804 1.90311 7.66412 2.13696L2.90076 7.11155Z",fill:"#4F758B"})})})}function h({className:e,...t}){return(0,r.jsx)(p,{"aria-label":"Go to next page",className:(0,c.cn)("border-0 bg-pgrey hover:bg-pgrey hover:text-tertiary",e),...t,children:(0,r.jsx)("svg",{"aria-hidden":"true",width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.09924 7.11111L0.335878 2.13652C0.111959 1.90267 0 1.60505 0 1.24365C0 0.882245 0.111959 0.58462 0.335878 0.350772C0.559796 0.116924 0.844784 0 1.19084 0C1.5369 0 1.82188 0.116924 2.0458 0.350772L7.66412 6.21824C7.78626 6.34579 7.87277 6.48397 7.92366 6.63279C7.97456 6.7816 8 6.94104 8 7.11111C8 7.28118 7.97456 7.44062 7.92366 7.58944C7.87277 7.73825 7.78626 7.87643 7.66412 8.00399L2.0458 13.8714C1.82188 14.1053 1.5369 14.2222 1.19084 14.2222C0.844784 14.2222 0.559796 14.1053 0.335878 13.8714C0.111959 13.6376 0 13.34 0 12.9786C0 12.6172 0.111959 12.3195 0.335878 12.0857L5.09924 7.11111Z",fill:"#4F758B"})})})}function g({className:e,...t}){return(0,r.jsxs)("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:(0,c.cn)("flex size-9 items-center justify-center",e),...t,children:[(0,r.jsx)(o,{className:"size-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})}},23978:(e,t,l)=>{l.d(t,{JobListingBlockClient:()=>u});var r=l(67770),a=l(71122),s=l(36582),n=l(42758),i=l(85130),o=l(90968),c=l(24302),d=l(75677),m=l(31157);function u({jobs:e,labels:t,locale:l}){let p=(0,a.useId)(),x=(0,i.Qk)(t,i.Fg),[h,g]=(0,a.useState)(e[0]?.id??null);return e.length?(0,r.jsx)("section",{className:"bg-white py-[30px] md:py-[70px]",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"space-y-2",children:e.map(e=>{var t;let a,i=h===e.id,u=(t=e.closingDate,t?(0,n.ku)(t,l):null),f=(a=e.jobDescriptionFile)&&"object"==typeof a?a.url??null:null,v=[e.location,e.employmentType,u].filter(e=>!!e),y="object"==typeof e.media?e.media:null;return(0,r.jsxs)("article",{children:[(0,r.jsxs)("button",{type:"button","aria-expanded":i,"aria-controls":`${p}-${e.id}-panel`,onClick:()=>g(i?null:e.id),className:(0,s.cn)("flex w-full cursor-pointer items-center justify-between gap-4 px-5 py-4 text-left text-primary transition-colors",i?"bg-primary text-white":"bg-pgrey hover:bg-pgrey-light"),children:[(0,r.jsx)("span",{className:"font-display text-xl md:text-2xl",children:e.title}),(0,r.jsx)(c.Hw,{className:(0,s.cn)("size-5 shrink-0 transition-transform duration-300 motion-reduce:transition-none",i?"rotate-0 text-current":"rotate-90 text-tertiary")})]}),(0,r.jsx)("div",{id:`${p}-${e.id}-panel`,className:(0,s.cn)("grid transition-[grid-template-rows] duration-300 ease-out motion-reduce:transition-none",i?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)("div",{className:"border border-t-0 border-primary bg-white",children:(0,r.jsxs)("div",{className:"grid md:grid-cols-[minmax(0,6fr)_minmax(0,4fr)]",children:[(0,r.jsxs)("div",{className:"p-5 md:p-7",children:[v.length>0?(0,r.jsx)("p",{className:"text-[25px] leading-tight font-bold text-primary",children:v.map((t,l)=>(0,r.jsxs)("span",{children:[l>0?(0,r.jsx)("span",{className:"text-secondary",children:" / "}):null,t]}
1,`${e.id}-${t}`))}):null,e.description?(0,r.jsx)(m.s,{data:e.description,className:"mt-7.5 font-light [&_p]:text-[16px]"}):null]}),y||e.applyEmail||f?(0,r.jsxs)("div",{className:"space-y-5 p-5 md:self-center md:bg-pgrey/25",children:[y?(0,r.jsx)("div",{className:"relative aspect-[4/3] w-full bg-pgrey-light",children:(0,r.jsx)(d.Q,{resource:y,fill:!0,className:"object-cover"})}):null,e.applyEmail||f?(0,r.jsxs)("div",{className:"flex flex-wrap gap-4",children:[e.applyEmail?(0,r.jsx)(o.vx,{href:`mailto:${e.applyEmail}`,tone:"primary",children:x.apply}):null,f?(0,r.jsxs)(o.vx,{href:f,target:"_blank",rel:"noopener noreferrer",noIcon:!0,className:"border border-tertiary bg-white text-primary hover:bg-tertiary hover:text-white",children:[(0,r.jsx)(c.Oi,{className:"text-tertiary group-hover:text-white"}),x.download]}):null]}):null]}):null]})})})})]},e.id)})})})}):(0,r.jsx)("section",{className:"bg-white py-[30px] md:py-[70px]",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("p",{className:"max-w-3xl text-lg text-primary md:text-xl",children:x.empty})})})}},26742:(e,t,l)=>{function r(e){if(!e)return!1;let t=e.trim();return/^https?:\/\//i.test(t)}function a(e,t){if(e&&"object"==typeof e&&"string"==typeof e.url){let t=e.url.trim();if(r(t)||t.startsWith("/"))return t}if("string"==typeof t){let e=t.trim();if(r(e))return e}return null}l.d(t,{a:()=>a})},30064:(e,t,l)=>{l.d(t,{EventListingClient:()=>E});var r=l(67770),a=l(71122),s=l(23878),n=l(36582),i=l(70754),o=l(64428),c=l(42758),d=l(85130),m=l(3748),u=l(24351),p=l(90968),x=l(79335),h=l(24302),g=l(4313),f=l(51236),v=l(47616),y=l(97820),j=l(75677),b=l(64744);let w={docs:[],hasNextPage:!1,hasPrevPage:!1,limit:9,nextPage:null,page:1,pagingCounter:1,prevPage:null,totalDocs:0,totalPages:1};function N(e,t,l){l?e.set(t,l):e.delete(t)}function k(e,t,l){return l?(e.set(`where[and][${t}][location][equals]`,l),t+1):t}function S(e,t,l){let r=function(e){if(!e||!/^\d{4}-\d{2}-\d{2}$/.test(e))return null;let t=new Date(`${e}T00:00:00.000Z`),l=new Date(`${e}T23:59:59.999Z`);return Number.isNaN(t.getTime())||Number.isNaN(l.getTime())?null:{start:t.toISOString(),end:l.toISOString()}}(l);return r?(e.set(`where[and][${t}][or][0][and][0][eventStart][greater_than_equal]`,r.start),e.set(`where[and][${t}][or][0][and][1][eventStart][less_than_equal]`,r.end),e.set(`where[and][${t}][or][1][and][0][eventStart][less_than_equal]`,r.end),e.set(`where[and][${t}][or][1][and][1][eventEnd][greater_than_equal]`,r.start),t+1):t}function C(e,t,l){let r=l.trim();return r?(e.set(`where[and][${t}][title][like]`,r),t+1):t}function L({className:e,label:t}){return(0,r.jsx)(x.X,{className:e,children:t})}function $({event:e,locale:t}){let l="object"==typeof e.location&&e.location?e.location.title:null,a=(0,o.z)({...e,locale:t}),s=!!(l||a.date);return s||a.time?(0,r.jsxs)("div",{className:"mt-3 text-sm font-medium text-current",children:[s&&(0,r.jsxs)("p",{children:[l,l&&a.date&&(0,r.jsx)("span",{className:"text-secondary",children:" / "}),a.date,a.time&&(0,r.jsx)("span",{className:"text-secondary",children:" /"})]}),a.time&&(0,r.jsxs)("p",{className:s?"mt-0":void 0,children:[!s&&(0,r.jsx)("span",{className:"text-secondary",children:"/ "}),a.time]})]}):null}function P({event:e,locale:t,featuredLabel:l,viewLabel:a}){let s=(0,m.hI)("events",e.slug,t);return(0,r.jsxs)("section",{className:"relative left-1/2 w-screen -translate-x-1/2 bg-white pt-5 md:flex md:min-
1h-[500px] md:items-center md:py-[50px]",children:[(0,r.jsx)(g.OverImageLines,{className:"absolute top-[-30px] right-[calc(((100vw-min(100vw,80rem))/2)+1rem)] z-10 hidden h-[515px] w-[187px] md:block"}),(0,r.jsxs)("div",{className:"relative md:absolute md:inset-0",children:[(0,u.FN)(e.image)&&(0,r.jsx)(j.Q,{resource:e.image,size:"large",className:"h-[280px] w-full object-cover md:h-full"}),(0,r.jsx)(g.MobileTeamStoryLines,{className:"absolute top-[-20px] right-5 z-10 h-[138px] w-[51px] md:hidden"})]}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] pb-8 md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative bg-white p-5 text-primary md:w-1/2 md:p-0 md:py-[50px] md:pr-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(L,{className:"mb-7.5",label:l}),(0,r.jsx)("h2",{className:"display",children:e.title}),(0,r.jsx)($,{event:e,locale:t}),e.summary&&(0,r.jsx)("p",{className:"mt-5 text-base",children:e.summary}),(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(p.vx,{href:s,tone:"pgrey",variant:"default",children:a})})]})]})})]})}async function z({date:e,event:t,locale:l,location:r,signal:a}){async function s(s){let n=await fetch(`/api/events?${function({date:e,event:t,locale:l,location:r,matchFilters:a}){let s=new URLSearchParams;if(s.set("limit","1"),s.set("sort","-publishedAt"),s.set("depth","1"),s.set("locale",l),s.set("where[and][0][_status][equals]","published"),s.set("where[and][1][featuredEvent][equals]","true"),!a)return s.toString();let n=2;return n=k(s,2,r),n=S(s,n,e),C(s,n,t),s.toString()}({date:e,event:t,locale:l,location:r,matchFilters:s})}`,{signal:a});if(!n.ok)throw Error("Failed to load featured event.");return(await n.json()).docs[0]??null}if(function({date:e,event:t,location:l}){return!!(e||t.trim()||l)}({date:e,event:t,location:r})){let e=await s(!0);if(e)return e}return s(!1)}function E({locations:e,locale:t,labels:l}){var o;let m=(0,d.Qk)(l,d.$b),u=(0,i.S)(m.featured,(0,c.vv)(t),{chromeKey:"featureEvent",englishDefaults:[d.$b.featured,"Feature Event"]}),p=(0,s.usePathname)(),x=(0,s.useRouter)(),g=(0,s.useSearchParams)(),[j,L]=(0,a.useState)(w),[$,I]=(0,a.useState)(null),[T,M]=(0,a.useState)(!0),[F,B]=(0,a.useState)(!1),[A,R]=(0,a.useState)(g.get("event")??""),q=g.get("location")??"",U=g.get("date")??"",D=g.get("event")??"",_=g.get("page")??"1",O=(0,a.useCallback)((e,t="push")=>{let l=new URLSearchParams(g);N(l,"location",e.location??q),N(l,"date",e.date??U),N(l,"event",e.event??D),l.delete("page");let r=l.toString(),a=r?`${p}?${r}`:p;"replace"===t?x.replace(a,{scroll:!1}):x.push(a,{scroll:!1})},[U,D,q,p,x,g]);(0,a.useEffect)(()=>{R(D)},[D]),(0,a.useEffect)(()=>{if(A===D)return;let e=window.setTimeout(()=>{O({event:A.trim()},"replace")},350);return()=>window.clearTimeout(e)},[D,A,O]),(0,a.useEffect)(()=>{let e=new AbortController;return async function(){M(!0);try{let l=await z({date:U,event:D,locale:t,location:q,signal:e.signal}),r=await fetch(`/api/events?${function({date:e,event:t,excludeId:l,locale:r,location:a,page:s}){var n;let i=new URLSearchParams;i.set("limit","9"),i.set("page",s),i.set("sort","-publishedAt"),i.set("depth","2"),i.set("locale",r);let o=0;return n=o,i.set(`where[and][${n}][_status][equals]`,"published"),o=k(i,o=n+1,a),o=S(i,o,e),o=C(i,o,t),null!=l&&i.set(`where[and][${o}][id][not_equals]`,String(l)),i.toString()}({date:U,event:D,excludeId:l?.id,locale:t,location:q,page:_})}`,{signal:e.signal});if(!r.ok)throw Error("Failed to load events.");let a=await r.json();L(a),I(l)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(L(w),I(null))}finally{e.signal.aborted||M(!1)}}(),()=>e.abort()},[U,D,t,q,_]);let H=$?j.docs.filter(e=>e.id!==$.id):j.docs,Q=H.slice(0,3),X=H.slice(3),K=e=>e%2==0?"default":"alt",V=(o=m.selectDate,U?(0,c.ku)(`${U}T00:00:00`,t):o),W={...j,nextPage:j.nextPage??void 0,page:j.page??void 0,prevPage:j.prevPage??void 0};return(0,r.jsxs)("div",{className:"pb-5 md:pb-[50px]",children:[(0,r.jsx)("div",{className:"container mb-[15px] md:hidden",children:(0,r.jsxs)("button",{type:"button",className:(0,n.cn)("group flex w-full items-center justify-center gap-2 px-4 py-3 text-[16px] font-normal transition-colors hover:bg-primary hover:text-white",F?"bg-primary text-white":"bg-pgrey text-primary"),"aria-expanded":F,onClick:()=>B(e=>!e),children:[(0,r.jsx)("span",{children:"Filter events"}),(0,r.jsx)(h._r,{className:(0,n.cn)("transition-colors group-hover:text-secondary",F?"text-secondary":"text-tertiary")})]})}),(0,r.jsx)(v.F,{className:(0,n.cn)("md:mb-[30px] md:block md:py-5",F?"mb
1-[15px] block py-5":"hidden"),children:(0,r.jsxs)("form",{className:F?"container flex flex-col gap-4 md:flex-row md:items-end":"container hidden flex-col gap-4 md:flex md:flex-row md:items-end",onSubmit:function(e){e.preventDefault(),O({event:A.trim()})},children:[(0,r.jsx)(f.x,{className:"md:flex-1 lg:w-[276px] lg:flex-none",label:m.searchByLocation,value:q,emptyLabel:m.allLocations,options:e,onChange:e=>O({location:e})}),(0,r.jsxs)("label",{className:"flex w-full flex-col gap-2 md:flex-1 lg:w-[276px] lg:flex-none",children:[(0,r.jsx)("span",{className:"font-sans text-base leading-none font-bold text-primary",children:m.searchByDate}),(0,r.jsxs)("span",{className:"relative block h-12",children:[(0,r.jsx)("span",{className:"pointer-events-none flex h-12 w-full items-center border border-tertiary bg-white px-4 pr-12 text-primary",children:V}),(0,r.jsx)(h.CT,{className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2"}),(0,r.jsx)("input",{type:"date","aria-label":m.selectDate,value:U,onClick:e=>{var t;"function"==typeof(t=e.currentTarget).showPicker&&t.showPicker()},onChange:e=>O({date:e.currentTarget.value}),className:"absolute inset-0 h-12 w-full cursor-pointer opacity-0 outline-none focus:ring-0 focus:outline-none"})]})]}),(0,r.jsxs)("label",{className:"flex w-full flex-col gap-2 md:flex-1 lg:w-[276px] lg:flex-none",children:[(0,r.jsx)("span",{className:"font-sans text-base leading-none font-bold text-primary",children:m.searchByEvent}),(0,r.jsxs)("span",{className:"relative block",children:[(0,r.jsx)("input",{type:"search",value:A,onChange:e=>R(e.currentTarget.value),className:"h-12 w-full border border-tertiary bg-white px-4 pr-12 text-primary outline-none placeholder:text-primary focus:ring-0 focus:outline-none",placeholder:m.searchPlaceholder}),(0,r.jsx)(h.Uz,{className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2"})]})]})]})}),(0,r.jsx)("div",{className:"container",children:T?(0,r.jsx)("p",{className:"text-primary",children:m.loading}):H.length||$?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:Q.map((e,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(y.a,{post:e,collection:"events",locale:(0,c.vv)(t),variant:K(l)})},e.id))}),$&&(0,r.jsx)("div",{className:"my-5 md:my-[30px]",children:(0,r.jsx)(P,{event:$,locale:t,featuredLabel:u,viewLabel:m.view})}),X.length?(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-3 md:gap-[30px]",children:X.map((e,l)=>(0,r.jsx)("li",{children:(0,r.jsx)(y.a,{post:e,collection:"events",locale:(0,c.vv)(t),variant:K(l+Q.length)})},e.id))}):null,(0,r.jsx)(b.y,{...W})]}):(0,r.jsx)("p",{className:"text-primary",children:m.empty})})]})}},30473:(e,t,l)=>{l.d(t,{ContentCardsBlock:()=>i});var r=l(67770),a=l(17951),s=l(31157);function n({content:e,index:t}){return(0,r.jsxs)("article",{className:"relative flex min-h-[220px] flex-col bg-primary px-5 pt-[30px] pb-5 text-white md:min-h-[260px] md:pt-[50px]",children:[(0,r.jsx)("h2",{className:"display absolute -top-[60px] right-1 translate-y-1/2 text-[60px] leading-none font-bold text-secondary md:-top-[85px] md:text-[80px]",children:String(t+1).padStart(2,"0")}),e?(0,r.jsx)(s.s,{data:e,className:"relative z-10 min-w-0 text-white [&_a]:text-white"}):null]})}function i({introContent:e,centerIntroContent:t,settings:l,cards:o}){var c;let d=o??[];return(0,r.jsx)(a.m,{settings:l,containerClassName:"relative",children:(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-y-7.5",children:[(0,r.jsx)("div",{className:`col-span-12 ${t?"md:col-span-8 md:col-start-3":"md:col-span-8"}`,children:(0,r.jsx)(s.s,{data:e})}),(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)("div",{className:`grid max-md:gap-y-12 md:gap-5 ${e?"pt-12 md:pt-17.5":"pt-0"} ${1===(c=d.length)?"md:grid-cols-1":2===c?"md:grid-cols-2":3===c?"md:grid-cols-3":"md:grid-cols-2 lg:grid-cols-4"}`,children:d.map((e,t)=>(0,r.jsx)(n,{content:e.content,index:t},e.id??t))})})]})})}},33958:(e,t,l)=>{l.d(t,{MarketsListingBlockClient:()=>f});var r=l(67770),a=l(52288),s=l(64777),n=l(8802),i=l(57641),o=l(26742),c=l(86472),d=l(3748),m=l(70012),u=l(42022),p=l(94699),x=l(4313),h=l(99476),g=l(31157);function f({content:e,addCta:t,cta:l,level1Markets:s,level2Markets:b,locale:w=n.Xn}){let N=function(e,t,l){let r=new Map,a=[],s=new Set;for(let e of t){let t="object"==typeof e.parent&&null!==e.parent?e.parent.id:e.parent??null;if("number"==typeof t){let l=r.get(t)??[];l.push(e),r.set(t,l);continue}a.push(e)}for(let e of r.values())e.sort((e,t)=>
1y({weight:v(e),title:e.title,id:String(e.id)},{weight:v(t),title:t.title,id:String(t.id)}));let n=[...e.map(e=>{let t=r.get(e.id)??[],a=j(e.title,s);return{buttonText:e.listingButtonText,description:(0,c.F)(e.listingSummary),href:(0,d.hI)("markets-level-1",e.slug,l),id:a,imageUrl:(0,o.a)(e.listingImage),title:e.title,weight:v(e),marketKey:`markets-level-1:${e.id}`,subItems:t.map(t=>({label:t.title,slug:t.slug??"",href:(0,i.bz)(t,l,e.slug)}))}}),...a.map(e=>{let t=j(e.title,s);return{buttonText:e.listingButtonText,description:(0,c.F)(e.listingSummary),href:(0,i.bz)(e,l),id:t,imageUrl:(0,o.a)(e.listingImage),title:e.title,weight:v(e),marketKey:`markets-level-2:${e.id}`,subItems:[]}})].sort(y),m=new Map(n.map(e=>[e.marketKey,e.id]));return{allItems:[...e.map(e=>({market:e,collection:"markets-level-1",weight:v(e),title:e.title,id:String(e.id),marketKey:`markets-level-1:${e.id}`,parentSlug:null})),...a.map(e=>({market:e,collection:"markets-level-2",weight:v(e),title:e.title,id:String(e.id),marketKey:`markets-level-2:${e.id}`,parentSlug:null}))].sort(y).map(e=>{var t,r,a,n;return t=e.market,r=e.collection,a=m.get(e.marketKey)??j(e.market.title,s),n=e.parentSlug,{id:a,href:"markets-level-2"===r?(0,i.bz)(t,l,n):(0,d.hI)(r,t.slug,l),image:t.listingImage,summary:t.listingSummary,title:t.title}}),sections:n.map(({marketKey:e,weight:t,...l})=>l)}}(s,b,w),k=N.allItems.length>5,S=!k&&N.allItems.length>0;return(0,r.jsxs)(r.Fragment,{children:[S?(0,r.jsx)(h.x,{title:"Markets:",items:N.allItems.map(e=>({id:e.id,label:e.title}))}):null,(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsx)("div",{className:"grid grid-cols-12",children:(0,r.jsx)("div",{className:"col-span-12 py-5 md:py-[50px] lg:col-span-10 lg:col-start-2",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(x.CtaLines,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 xs:max-md:pt-5 md:flex md:flex-row md:items-center md:gap-x-10",children:[(0,r.jsx)("div",{className:"max-w-[630px] min-w-0 flex-1",children:(0,r.jsx)(g.s,{data:e})}),(0,a.s)(t,l)&&(0,r.jsx)("div",{className:"mt-5 shrink-0 md:mt-0",children:(0,r.jsx)(m.O,{button:l})})]})]})})})}),k?(0,r.jsx)("section",{className:"container",children:(0,r.jsx)("div",{className:"grid gap-5 md:grid-cols-2 md:gap-[30px] lg:grid-cols-3",children:N.allItems.map(e=>(0,r.jsx)(u.T,{href:e.href,image:e.image,summary:e.summary,title:e.title},e.id))})}):N.sections.map((e,t)=>(0,r.jsx)(p.H,{section:e,index:t},e.id))]})}function v(e){return"number"==typeof e.weight?e.weight:0}function y(e,t){if(e.weight!==t.weight)return e.weight-t.weight;let l=e.title.localeCompare(t.title);return 0!==l?l:e.id.localeCompare(t.id)}function j(e,t){let l=(0,s.Hr)(e)||"section",r=l,a=2;for(;t.has(r);)r=`${l}-${a}`,a+=1;return t.add(r),r}},38026:(e,t,l)=>{l.d(t,{MR:()=>s,c:()=>n});var r=l(8802);l(35080);let a="/products";function s(e,t=r.Xn){return function(e,t=r.Xn){return`${(0,r.b)(t)}${e}`}(e.pathname?e.pathname:function(...e){let t=e.filter(Boolean);return 0===t.length?a:`${a}/${t.join("/")}`}(e.slug),t)}function n(e){let t=e.trim().replace(/[^a-zA-Z0-9_-]+/g,"-");return`sku-${t}`}},39208:(e,t,l)=>{l.d(t,{CollectionReferenceCardsClient:()=>f});var r=l(67770),a=l(47426),s=l(17951),n=l(36582),i=l(8802),o=l(57641),c=l(38026),d=l(3748),m=l(50019),u=l(11250),p=l(31157);let x=["products-level-1","products-level-2","products-level-3"],h=["markets-level-1","markets-level-2"];function g(e){return"object"==typeof e&&null!==e&&"root"in e}function f({introContent:e,centerIntroContent:t,settings:l,locale:v=i.Xn,cards:y}){let j=(e,t)=>{let l=e.document,a=function(e,t,l){if(t.slug)return x.includes(e)?(0,c.MR)({slug:t.slug,pathname:t.pathname},l):h.includes(e)?(0,o.bz)({slug:t.slug,pathname:t.pathname},l):(0,d.hI)(e,t.slug,l)}(e.relationTo,l,v),s=l.title?.trim()||null;return(0,r.jsx)(m.l,{image:l.listingImage??l.image??l.websitePicture1Media??l.meta?.image,title:s,summary:g(l.listingSummary)?l.listingSummary:"string"==typeof l.summary&&l.summary.trim()||g(l.summary)?l.summary:"string"==typeof l.descriptionShort&&l.descriptionShort.trim()?l.descriptionShort:"string"==typeof l.descriptionMedium&&l.descriptionMedium.trim()?l.descriptionMedium:"string"==typeof l.descriptionLong&&l.descriptionLong.trim()?l.descriptionLong:"string"==typeof l.descriptionFamily&&l.descriptionFamily.trim()?l.descriptionFamily:"string"==typeof l.meta?.description&&l.meta.description.trim()?l.meta.description:null,index:t,showIndex:!1,href:a,listingButtonText:l.listingButtonText},t)};return(0,r.jsx)(s.m,{settings:l,containerClassName:"relative overflow-hidden",children:(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-y-2 md:gap-y-7.5",children:[e&&(0,r.jsx)("div",{className:`col-span-12 ${t&&"md:col-span-8 md:col-start-3"}`,children:(0,r.jsx)(p.s,{data:e})}),(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsx)("div",{className:`overflow-visible ${e?"pt-12":"pt-5"} md:hidden`,children:(0,r.jsx)(a.RC,{slidesPerView:1.3,spaceBetween:20,className:"!overflow-visible",children:y.map((e,t)=>(0,r.jsx)(a.qr,{className:"h-auto",children:j(e,t)},t))})}),(0,r.jsx)(u.d,{className:(0,n.cn)("hidden pt-10 md:grid md:gap-5",2===y.length?"md:grid-cols-2":"md:grid-cols-3"),children:y.map(j)})]})]})})}},42022:(e,t,l)=>{l.d(t,{T:()=>d});var r=l(67770),a=l(27189),s=l.n(a),n=l(36582),i=l(26742),o=l(86472),
1c=l(24302);function d({href:e,image:t,summary:l,title:a}){let m=(0,i.a)(t),u=(0,o.F)(l);return(0,r.jsxs)(s(),{href:e,"aria-label":`View ${a}`,className:"group relative flex h-[207px] overflow-hidden bg-pblack p-5 text-white no-underline md:h-[378px]",children:[m?(0,r.jsx)("img",{src:m,alt:"",className:"absolute inset-0 size-full object-cover"}):null,(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(0deg,rgba(34,32,31,0.8)_0%,rgba(34,32,31,0)_100%)]","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative z-10 mt-auto w-full",children:[(0,r.jsxs)("div",{className:"flex items-end justify-between gap-5 text-secondary transition-transform duration-500 md:text-pgrey md:group-hover:-translate-y-1 md:group-hover:text-secondary",children:[(0,r.jsx)("h2",{className:"font-display text-[25px] leading-[1.1] text-white md:text-[30px]",children:a}),(0,r.jsx)(c.Qq,{className:"transition-colors duration-500"})]}),u?(0,r.jsx)("p",{className:(0,n.cn)("mt-4 overflow-hidden text-[16px] leading-normal text-white opacity-100 transition-all duration-500","md:mt-0 md:max-h-0 md:opacity-0 md:group-hover:mt-4 md:group-hover:max-h-40 md:group-hover:opacity-100"),children:u}):null]})]})}},42758:(e,t,l)=>{l.d(t,{Ny:()=>i,ku:()=>c,vv:()=>n,wF:()=>o});var r=l(8802);let a={en:"en-GB","en-us":"en-US",de:"de-DE",es:"es-ES",fr:"fr-FR",pt:"pt-PT",zh:"zh-CN"},s={day:"numeric",month:"long",year:"numeric"};function n(e){return(0,r.d9)(e)?e:r.Xn}function i(e){return a[n(e)]}function o(e,t){return new Intl.DateTimeFormat(i(t),s).formatToParts(e).map(e=>"month"===e.type&&e.value?e.value.charAt(0).toUpperCase()+e.value.slice(1):e.value).join("")}function c(e,t){return o(new Date(e),t)}},47387:(e,t,l)=>{l.d(t,{ProductAzListingBlockClient:()=>y});var r=l(67770),a=l(71122),s=l(23878),n=l(70754),i=l(8802),o=l(85130),c=l(85711),d=l(24302),m=l(4313),u=l(18864),p=l(27189),x=l.n(p),h=l(34775);function g({title:e,description:t,href:l,imageUrl:a}){let s=t?(0,h.sz)(t):null;return(0,r.jsxs)(x(),{href:l,className:"group relative flex h-[207px] overflow-hidden bg-pblack p-5 text-white no-underline md:h-[378px]",children:[a?(0,r.jsx)("img",{src:a,alt:"",className:"absolute inset-0 size-full object-cover"}):null,(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(0deg,rgba(34,32,31,0.8)_0%,rgba(34,32,31,0)_100%)]","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative z-10 mt-auto w-full",children:[(0,r.jsxs)("div",{className:"flex items-end justify-between gap-5 text-secondary transition-transform duration-500 md:text-pgrey md:group-hover:-translate-y-1 md:group-hover:text-secondary",children:[(0,r.jsx)("h2",{className:"font-display text-[25px] leading-[1.1] text-white md:text-[30px]",children:e}),(0,r.jsx)(d.Qq,{className:"transition-colors duration-500"})]}),s?(0,r.jsx)("p",{className:"mt-4 overflow-hidden text-[16px] leading-normal text-white opacity-100 transition-all duration-500 md:mt-0 md:max-h-0 md:opacity-0 md:group-hover:mt-4 md:group-hover:max-h-40 md:group-hover:opacity-100",children:s}):null]})]})}var f=l(31157);function v(e){return!!e?.root?.children?.length}function y({categories:e,families:t,labels:l,leftContent:u,rightContent:p,searchPlaceholder:x,skus:h,types:w}){let N=(0,s.usePathname)()||"/",{filterProducts:k}=(0,n.xU)((0,i.lu)(N)),S=(0,o.Qk)(l,o.l9),[C,L]=(0,a.useState)(""),[$,P]=(0,a.useState)(null),[z,E]=(0,a.useState)(null),[I,T]=(0,a.useState)(null),[M,F]=(0,a.useState)(1),[B,A]=(0,a.useState)(!1),R=(0,a.useMemo)(()=>null==$?w:w.filter(e=>e.parentId===$),[$,w]),q=(0,a.useMemo)(()=>{if(null!=z)return t.filter(e=>e.parentId===z);if(null!=$){let e=new Set(R.map(e=>e.id));return t.filter(t=>t.parentId===$||null!=t.parentId&&e.has(t.parentId))}return t},[$,t,z,R]),U=(0,a.useMemo)(()=>{let e=C.trim().toLowerCase();return h.filter(t=>(null==$||t.level1Id===$)&&(null==z||t.level2Id===z)&&(null==I||t.level3Id===I)&&(!e||`${t.title} ${t.description??""}`.toLowerCase().includes(e)))},[$,I,C,h,z]),D=Math.max(1,Math.ceil(U.length/12)),_=Math.min(M,D),O=U.slice((_-1)*12,12*_),H=""!==C.trim()||null!=$||null!=z||null!=I,Q=(0,a.useMemo)(()=>{let l=[],r=e.find(e=>e.id===$),a=w.find(e=>e.id===z),s=t.find(e=>e.id===I);return r&&l.push({id:`category-${r.id}`,title:r.title,onClear:()=>X(null)}),a&&l.push({id:`type-${a.id}`,title:a.title,onClear:()=>K(null)}),s&&l.push({id:`family-${s.id}`,title:s.title,onClear:()=>V(null)}),l},[e,$,t,I,z,w]);function X(e){P(e),E(null),T(null),F(1)}function K(e){E(e),T(null),F(1)}function V(e){T(e),F(1)}return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("section",{className:"relative bg-primary max-md:pt-5 md:bg-white",children:[(0,r.jsx)(c.Xs,{className:"absolute inset-y-0 left-0 hidden h-full w-[calc(((100vw-min(100vw,80rem))/2)+1rem+((min(100vw,80rem)-2rem)*0.583333))] md:block"}),(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsxs)("div",{className:"grid grid-cols-12",children:[(0,r.jsx)("div",{className:"order-1 col-span-12 pb-5 text-white md:col-span-5 md:py-[50px]",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(m.CtaLine
1s,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsx)("div",{className:"xs:max-md:pt-5",children:v(u)?(0,r.jsx)(f.s,{data:u}):null})]})}),(0,r.jsx)("div",{className:"order-2 col-span-12 mb-5 bg-white p-5 md:col-span-4 md:col-start-8 md:mb-0 md:flex md:items-center md:px-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"w-full",children:[v(p)?(0,r.jsx)(f.s,{data:p,className:"text-center [&_p]:text-primary"}):null,(0,r.jsx)("form",{className:"mt-5",onSubmit:e=>{e.preventDefault(),F(1)},children:(0,r.jsxs)("label",{className:"relative block",children:[(0,r.jsx)("span",{className:"sr-only",children:x}),(0,r.jsx)(d.Uz,{className:"pointer-events-none absolute top-1/2 left-4 -translate-y-1/2"}),(0,r.jsx)("input",{type:"search",value:C,onChange:e=>{L(e.target.value),F(1)},placeholder:x,className:"h-12 w-full border border-tertiary bg-white pr-12 pl-12 text-primary outline-none placeholder:text-primary/50 focus:ring-0 focus:outline-none"}),(0,r.jsx)("button",{type:"submit",className:"absolute top-1/2 right-3 -translate-y-1/2 text-primary","aria-label":x,children:(0,r.jsx)(d.Qq,{})})]})})]})})]})})]}),(0,r.jsx)("section",{className:"bg-white py-[30px] md:py-[70px]",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("p",{className:"mb-10 text-center text-[25px] leading-tight font-bold text-primary",children:S.showing.replace("{count}",String(U.length))}),(0,r.jsxs)("div",{className:"grid gap-y-5 lg:grid-cols-[280px_minmax(0,1fr)] lg:gap-10",children:[(0,r.jsxs)("aside",{className:"space-y-5 lg:space-y-8",children:[(0,r.jsxs)("button",{type:"button",className:"flex w-full items-center justify-center gap-2 bg-pgrey px-4 py-3 text-[16px] font-normal text-primary transition-colors hover:bg-primary hover:text-white lg:hidden","aria-expanded":B,onClick:()=>A(e=>!e),children:[(0,r.jsx)("span",{children:k}),(0,r.jsx)(d._r,{})]}),Q.length?(0,r.jsx)("div",{className:"space-y-3 lg:hidden",children:Q.map(e=>(0,r.jsxs)("button",{type:"button",className:"group flex cursor-pointer items-center gap-2.5 text-pblack",onClick:e.onClear,children:[(0,r.jsx)("span",{className:"flex size-[15px] shrink-0 items-center justify-center rounded-[2px] border border-primary bg-primary text-white transition-colors",children:(0,r.jsx)(d.xY,{})}),(0,r.jsx)("span",{className:"text-[16px] leading-tight font-bold",children:e.title})]},e.id))}):null,H?(0,r.jsxs)("button",{type:"button",onClick:function(){L(""),P(null),E(null),T(null),F(1)},className:"flex w-full items-center justify-center gap-2 border border-primary bg-white px-4 py-3 text-[16px] font-normal text-primary transition-colors hover:bg-primary hover:text-white",children:[(0,r.jsx)("span",{children:S.clearFilters}),(0,r.jsx)(d.uM,{})]}):null,(0,r.jsxs)("div",{className:B?"space-y-8 lg:block":"hidden space-y-8 lg:block",children:[(0,r.jsx)(j,{heading:S.category,allLabel:S.allProducts,options:e,value:$,onChange:X}),(0,r.jsx)(j,{heading:S.type,allLabel:S.allProducts,options:R,value:z,onChange:K}),(0,r.jsx)(j,{heading:S.product,allLabel:S.allProducts,options:q,value:I,onChange:V})]})]}),(0,r.jsxs)("div",{children:[O.length?(0,r.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 xl:grid-cols-3",children:O.map(e=>(0,r.jsx)(g,{title:e.title,description:e.description,href:e.href,imageUrl:e.imageUrl},e.id))}):(0,r.jsx)("p",{className:"text-pblack",children:S.empty}),D>1?(0,r.jsx)(b,{currentPage:_,totalPages:D,onChange:F}):null]})]})]})})]})}function j({heading:e,allLabel:t,options:l,value:a,onChange:s}){let n=e.toLowerCase().replace(/\s+/g,"-"),i=[{id:null,title:t},...l];return(0,r.jsxs)("fieldset",{children:[(0,r.jsxs)("legend",{className:"mb-5 flex h-10 w-full items-center",children:[(0,r.jsxs)("span",{className:"relative flex h-10 min-w-0 flex-1 items-center px-4",children:[(0,r.jsx)(c.Pw,{className:"absolute inset-0 h-full w-full"}),(0,r.jsx)("span",{className:"relative z-10 text-[16px] leading-none font-bold text-primary uppercase",children:e})]}),(0,r.jsx)(c.Kb,{className:"-ml-[17px] h-10 w-[27px] shrink-0"})]}),(0,r.jsx)("div",{className:"space-y-3",children:i.map(e=>{let t=a===e.id;return(0,r.jsxs)("label",{className:"group flex cursor-pointer items-center gap-2.5 text-pblack",children:[(0,r.jsx)("input",{type:"radio",name:n,checked:t,onChange:()=>s(e.id),className:"peer sr-only"}),(0,r.jsx)("span",{className:"flex size-[15px] shrink-0 items-center justify-center rounded-[2px] border border-tertiary bg-white text-transparent transition-colors group-hover:border-primary group-hover:bg-primary group-hover:text-white peer-checked:border-primary peer-checked:bg-primary peer-checked:text-white",children:(0,r.jsx)(d.xY,{})}),(0,r.jsx)("span",{className:"text-[16px] leading-tight font-light peer-checked:font-bold",children:e.title})]},e.id??"all")})})]})}function b({currentPage:e,totalPages:t,onChange:l}){let a=Math.max(1,e-2),s=Math.min(t,e+2),n=Array.from({length:s-a+1},(e,t)=>a+t);function i(e){return`#product-az-page-${e}`}function o(e){l(Math.min(t,Math.max(1,e)))}return(0,r.jsx)(u.dK,{className:"mt-[50px]",children:(0,r.jsxs)(u.Iu,{children:[e>1?(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.Eb,{href:i(e-1),onClick:t=>{t.preventDefault(),o(e-1)}})}):null,a>1?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.n$,{href:i(1),isActive:1===e,onClick:e=>{e.preventDefault(),o(1)},children:"1"})}),a>2?(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.M_,{})}):null]}):null,n.map(t=>(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.n$,{href:i(t),isActive:t===e,onClick:e=>{e.preventDefault(),o(t)},children:t})},`product-az-page-${t}`)),s<t?(0,r.jsxs)(r.Fragment,{children:[s<t-1?(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.M_,{})}):null,(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.n$,{href:i(t),isActive:e===t,onClick:e=>{e.preventDefault(),o(t)},children:t})})]}):null,e<t?(0,r.jsx)(u.cU,{children:(0,r.jsx)(u.WA,{href:i(e+1),onClick:t=>{t.preventDefault(),o(e+1)}})}):null]})})}},47616:(e,t,l)=>{l.d(t,{F:()=>n});var r=l(67770),a=l(71122),s=l(36582);function n({children:e,className:t}){let l=function(e=100){let[t,l]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let e=()=>{let e=document.querySelector("[data-site-header]");e&&l(e.getBoundingClientRect().height)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),t}();return(0,r.jsx)("div",{className:(0,s.cn)("sticky z-40 bg-pgrey",t),style:{to
1p:l},"data-listing-sticky-filters":!0,children:e})}},49733:(e,t,l)=>{l.d(t,{LargeImageNumberBannerClient:()=>m});var r=l(67770),a=l(71122),s=l(47426),n=l(36582),i=l(34775),o=l(73991),c=l(31157);function d({item:e,index:t,numberClassName:l}){return(0,r.jsxs)("div",{className:"flex gap-5 md:items-center",children:[(0,r.jsx)("h3",{className:(0,n.cn)("display text-[35px] font-bold md:text-[70px]",l),children:String(t+1).padStart(2,"0")}),e.numberContent&&(0,r.jsx)(c.s,{data:e.numberContent,className:"min-w-0"})]})}function m({media:e,introContent:t,centerIntroContent:l,numberContentBlocks:u,settings:p}){let x=u??[],h=p?.backgroundColor??"tertiary",g=(0,i.M4)(h),{ref:f,isVisible:v}=function(){let e=(0,a.useRef)(null),[t,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=e.current;if(!t)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void l(!0);let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(l(!0),r.disconnect())},{rootMargin:"0px 0px -10% 0px",threshold:.25});return r.observe(t),()=>r.disconnect()},[]),{ref:e,isVisible:t}}();return(0,r.jsxs)("div",{className:"relative min-h-[500px] pt-5 md:min-h-[950px] md:pt-12.5",children:[(0,r.jsx)(o.$,{resource:e,size:"large",className:"absolute inset-0 h-full w-full object-cover"}),(0,r.jsxs)("div",{ref:f,className:(0,n.cn)("relative z-10 overflow-hidden py-5 md:py-12.5",(0,n.cn)(("primary"===h||"tertiary"===h||"pblack"===h)&&"text-white bullets-light","secondary"===h&&"text-white bullets-dark",("pgrey"===h||"pgrey-light"===h||"white"===h)&&"text-body bullets-light")),children:[(0,r.jsx)("div",{className:(0,n.cn)("absolute inset-0 transition-transform duration-1000 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none",(0,n.cn)("primary"===h&&"bg-primary","secondary"===h&&"bg-secondary","tertiary"===h&&"bg-tertiary","pgrey"===h&&"bg-pgrey","pgrey-light"===h&&"bg-pgrey-light","pblack"===h&&"bg-pblack","white"===h&&"bg-white"),v?"translate-x-0":"-translate-x-full"),"aria-hidden":"true"}),(0,r.jsxs)("div",{className:(0,n.cn)("relative z-10 container transition-[opacity,translate] delay-700 duration-800 ease-out motion-reduce:transition-none",v?"translate-y-0 opacity-100":"translate-y-6 opacity-0"),children:[(0,r.jsx)("div",{className:"mb-5 grid grid-cols-12 md:mb-7.5",children:(0,r.jsx)("div",{className:`col-span-12 ${l&&"md:col-span-8 md:col-start-3"}`,children:(0,r.jsx)(c.s,{data:t})})}),(0,r.jsx)("div",{className:"md:hidden",children:(0,r.jsx)(s.RC,{slidesPerView:1.3,spaceBetween:20,className:"w-full",children:x.map((e,t)=>(0,r.jsx)(s.qr,{children:(0,r.jsx)(d,{item:e,index:t,numberClassName:g})},t))})}),(0,r.jsx)("div",{className:"hidden gap-5 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10 lg:grid-cols-3",children:x.map((e,t)=>(0,r.jsx)(d,{item:e,index:t,numberClassName:g},t))})]})]})]})}},50019:(e,t,l)=>{l.d(t,{l:()=>m});var r=l(67770),a=l(23878),s=l(90968),n=l(70012),i=l(75677),o=l(31157),c=l(8802),d=l(70754);function m({image:e,title:t,summary:l,href:u,listingButtonText:p,cta:x,index:h,showIndex:g=!0}){let f=(0,a.usePathname)()||"/",v=(0,c.lu)(f),y=(0,d.NI)("string"==typeof p?p:null,v),j="object"==typeof l&&null!==l&&"root"in l?l:null,b="string"==typeof l&&l.trim()?l.trim():null;return(0,r.jsxs)("article",{className:"relative flex flex-col bg-white",children:[(0,r.jsxs)("div",{className:"relative h-[250px] bg-pgrey md:h-[378px]",children:[(0,r.jsx)(i.Q,{resource:e,fill:!0,sizes:"(min-width: 1280px) 405px, (min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw",className:"object-cover"}),g?(0,r.jsx)("h2",{className:"display absolute -top-[75px] right-1 translate-y-1/2 text-[60px] font-bold text-secondary md:-top-[100px] md:text-[80px]",children:String(h+1).padStart(2,"0")}):null]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col pt-5",children:[(0,r.jsxs)("div",{className:"flex-1",children:[t?(0,r.jsx)("h3",{className:"display text-primary",children:t}):null,j?(0,r.jsx)(o.s,{data:j,className:t?"mt-5 min-w-0":"min-w-0"}):null,b?(0,r.jsx)("p",{className:t?"mt-5 font-light":"font-light",children:b}):null]}),u&&(0,r.jsx)("div",{className:"pt-5",children:(0,r.jsx)(s.vx,{href:u,variant:"default",tone:"pgrey",className:"max-w-full sm:whitespace-normal",children:y})}),x&&(0,r.jsx)("div",{className:"pt-5",children:(0,r.jsx)(n.O,{button:x})})]})]})}},51236:(e,t,l)=>{l.d(t,{x:()=>i});var r=l(67770),a=l(71122),s=l(36582),n=l(24302);
1function i({className:e,label:t,value:l,onChange:o,emptyLabel:c,options:d}){let[m,u]=(0,a.useState)(!1),p=(0,a.useId)(),x=(0,a.useRef)(null),h=d.find(e=>String(e.id)===l),g=h?.title||c;return(0,a.useEffect)(()=>{if(m)return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)};function e(e){x.current?.contains(e.target)||u(!1)}function t(e){"Escape"===e.key&&u(!1)}},[m]),(0,r.jsxs)("div",{className:(0,s.cn)("flex w-full flex-col gap-2 md:flex-1",e),children:[(0,r.jsx)("span",{id:`${p}-label`,className:"font-sans text-base leading-none font-bold text-primary",children:t}),(0,r.jsxs)("div",{ref:x,className:"relative",children:[(0,r.jsxs)("button",{type:"button","aria-haspopup":"listbox","aria-expanded":m,"aria-labelledby":`${p}-label ${p}-value`,onClick:()=>u(e=>!e),className:"flex h-12 w-full items-center justify-between gap-3 border border-tertiary bg-white px-4 text-left text-primary outline-none focus:ring-0 focus:outline-none",children:[(0,r.jsx)("span",{id:`${p}-value`,className:"min-w-0 truncate",children:g}),(0,r.jsx)(n.vs,{className:(0,s.cn)("transition-transform duration-200 ease-out",m&&"rotate-180")})]}),m?(0,r.jsxs)("div",{className:"absolute top-full right-0 left-0 z-[200] mt-1 max-h-72 overflow-y-auto border border-tertiary bg-white shadow-sm",children:[(0,r.jsx)("button",{type:"button",role:"option","aria-selected":""===l,onClick:()=>void(o(""),u(!1)),className:(0,s.cn)("block w-full px-4 py-3 text-left text-base text-primary transition-colors duration-150 outline-none hover:bg-pgrey focus:bg-pgrey",""===l&&"font-bold"),children:c}),d.map(e=>{let t=String(e.id),a=t===l;return(0,r.jsx)("button",{type:"button",role:"option","aria-selected":a,onClick:()=>{o(t),u(!1)},className:(0,s.cn)("block w-full px-4 py-3 text-left text-base text-primary transition-colors duration-150 outline-none hover:bg-pgrey focus:bg-pgrey",a&&"font-bold"),children:e.title},t)})]}):null]})]})}},52185:(e,t,l)=>{l.d(t,{EmbedFrame:()=>s});var r=l(67770),a=l(71122);function s({url:e,heightClass:t,title:l}){let[n,i]=(0,a.useState)(!1),o=function(e){try{let t=new URL(e);if(t.hostname.endsWith("canto.global")&&t.pathname.startsWith("/v/"))return`${t.origin}/index.html#${t.pathname}${t.search}`}catch{}return e}(e);return(0,r.jsxs)("div",{className:`relative overflow-hidden bg-white ${t}`,children:[!n&&(0,r.jsx)("div",{className:"absolute inset-0 z-10 flex items-center justify-center bg-pgrey-light","aria-hidden":"true",children:(0,r.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-2 border-primary border-t-transparent"})}),(0,r.jsx)("iframe",{src:o,title:l,onLoad:()=>i(!0),className:"absolute inset-0 h-full w-full border-0 bg-white",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade"})]})}},52288:(e,t,l)=>{l.d(t,{s:()=>r});function r(e,t){return!0===e&&"string"==typeof t?.label&&t.label.length>0}},56457:(e,t,l)=>
1{function r(e){return e?e.replace(/\\n/g,"\n").replace(/\r\n/g,"\n").replace(/\r/g,"\n").replace(/<br\s*\/?>/gi,"\n").replace(/<\/p>\s*<p[^>]*>/gi,"\n\n").replace(/<[^>]+>/g," ").split(/\n\s*\n/).map(e=>e.replace(/\s+/g," ").trim()).filter(Boolean):[]}function a(e){return r(e).join(" ")}l.d(t,{j:()=>r,w:()=>a})},57641:(e,t,l)=>{l.d(t,{bz:()=>i}),l(70754);var r=l(8802);let a="/markets";function s(...e){let t=e.filter(Boolean);return 0===t.length?a:`${a}/${t.join("/")}`}function n(e,t=r.Xn){return`${(0,r.b)(t)}${e}`}function i(e,t=r.Xn,l){if(e.pathname)return n(e.pathname,t);let a="string"==typeof e.slug?e.slug:"",o=l??("object"==typeof e.parent&&e.parent&&"slug"in e.parent?e.parent.slug:null);return o&&a?n(s(o,a),t):n(s(a),t)}},61311:(e,t,l)=>{l.d(t,{ProductsListingBlockClient:()=>v});var r=l(67770),a=l(52288),s=l(70754),n=l(64777),i=l(8802);function o(e){return"number"==typeof e&&Number.isFinite(e)?e:0}function c(e,t){let l=o(e.weight)-o(t.weight);return 0!==l?l:(e.title??"").localeCompare(t.title??"",void 0,{sensitivity:"base"})}var d=l(26742),m=l(38026),u=l(86472),p=l(70012),x=l(94699),h=l(4313),g=l(99476),f=l(31157);function v({content:e,addCta:t,cta:l,level1Products:n,level2Products:o,level3UnderL1Products:d=[],locale:N=i.Xn}){let k=(0,s.xU)(N),S=function(e,t,l,r){let a=new Map,s=new Map,n=[],i=new Set;for(let e of t){let t="object"==typeof e.parent&&null!==e.parent?e.parent.id:e.parent??null;if("number"==typeof t){let l=a.get(t)??[];l.push(e),a.set(t,l);continue}n.push(e)}for(let e of l){let t=function(e){if(null==e)return null;if("number"==typeof e)return{relationTo:"products-level-2",id:e};if("object"==typeof e&&null!==e){if("relationTo"in e&&"value"in e){if("products-level-1"!==e.relationTo&&"products-level-2"!==e.relationTo)return null;let t=e.value;return"number"==typeof t?{relationTo:e.relationTo,id:t}:t&&"object"==typeof t&&"id"in t?{relationTo:e.relationTo,id:t.id,doc:t}:null}if("id"in e)return{relationTo:"products-level-2",id:e.id,doc:e}}return null}(e.parent);if(!t||"products-level-1"!==t.relationTo)continue;let l=s.get(t.id)??[];l.push(e),s.set(t.id,l)}return{sections:[...e.map(e=>{let t=a.get(e.id)??[],l=s.get(e.id)??[],n=b(e.title,i),o=[...t.map(e=>({id:`l2-${e.id}`,title:e.title,label:e.title,slug:e.slug,href:(0,m.MR)(e,r),weight:e.weight})),...l.map(e=>({id:`l3-${e.id}`,title:e.title,label:e.title,slug:e.slug,href:(0,m.MR)(e,r),weight:e.weight}))].sort(c).map(({label:e,slug:t,href:l})=>({label:e,slug:t,href:l}));return{buttonText:`All ${e.title.toLowerCase()}`,description:j(e),href:(0,m.MR)(e,r),id:n,imageUrl:y(e),title:e.title,productKey:`products-level-1:${e.id}`,subItems:o}}),...n.map(e=>{let t=b(e.title,i);return{buttonText:`All ${e.title.toLowerCase()}`,description:j(e),href:(0,m.MR)(e,r),id:t,imageUrl:y(e),title:e.title,productKey:`products-level-2:${e.id}`,subItems:[]}})].sort(w).map(({productKey:e,...t})=>t)}}(n,o,d,N),C=S.sections.length>0,L=(0,u.F)(e).length>0;return(0,r.jsxs)(r.Fragment,{children:[C?(0,r.jsx)(g.x,{title:`${k.products}:`,items:S.sections.map(e=>({id:e.id,label:e.title}))}):null,L?(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsx)("div",{className:"grid grid-cols-12",children:(0,r.jsx)("div",{className:"col-span-12 py-5 md:py-[50px] lg:col-span-10 lg:col-start-2",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(h.CtaLines,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 xs:max-md:pt-5 md:flex md:flex-row md:items-center md:gap-x-10",children:[(0,r.jsx)("div",{className:"max-w-[630px] min-w-0 flex-1",children:(0,r.jsx)(f.s,{data:e})}),(0,a.s)(t,l)&&(0,r.jsx)("div",{className:"mt-5 shrink-0 md:mt-0",children:(0,r.jsx)(p.O,{button:l})})]})]})})})}):null,S.sections.map((e,t)=>(0,r.jsx)(x.H,{section:e,index:t},e.id))]})}function y(e){return(0,d.a)(e.websitePicture1Media,e.websitePicture1)||null}function j(e){return e.descriptionShort?.trim()||""}function b(e,t){let l=(0,n.Hr)(e)||"section",r=l,a=2;for(;t.has(r);)r=`${l}-${a}`,a+=1;return t.add(r),r}function w(e,t){let l=e.title.localeCompare(t.title);return 0!==l?l:e.id.localeCompare(t.id)}},61508:(e,t,l)=>{async function r(e,t,l,r){if(0===t.length)return[];let a=await Promise.all(t.map(async t=>{let a=new URLSearchParams;if(a.set("limit","1000"),a.set("pagination","false"),a.set("sort","title"),a.set("depth","0"),a.set("locale",l),a.set("where[and][0][_status][equals]","published"),"products-level-3"===e){let e=t.relationTo??"products-level-2";a.set("where[and][1][parent.relationTo][equals]",e),a.set("where[and][1][parent.value][equals]",String(t.id))}else a.set("where[and][1][parent][equals]",String(t.id));let s=await fetch(`/api/${e}?${a.toString()}`,{signal:r});if(!s.ok)throw Error(`Failed to load ${e}.`);return(await s.json()).docs??[]})),s=new Map;for(let e of a.flat())s.set(e.id,e);return[...s.values()]}async function a(e,t,l){let a=(await r("products-level-2",[{id:e}],t,l)).map(e=>e.id),[s,n]=await Promise.all([r("products-level-3",a.map(e=>({id:e,relationTo:"products-level-2"})),t,l),r("products-level-3",[{id:e,relationTo:"products-level-1"}],t,l)]);return{"products-level-1":[e],"products-level-2":a,"products-level-3":[...new Set([...s.map(e=>e.id),...n.map(e=>e.id)])]}}l.d(t,{X:()=>a})},64428:(e,t,l)=>{l.d(t,{z:()=>o});var r=l(42758);function a(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function s(e,t){let l,a=(l=(0,r.Ny)(t??"en"),new Intl.DateTimeFormat(l,{hour:"numeric",minute:"2-digit",hour12:l.startsWith("en")}
1)).format(e);return(0,r.Ny)(t??"en").startsWith("en")?a.replace(/\s?(am|pm)$/i,"$1").toLowerCase():a}function n(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t}function i(e,t){return(0,r.wF)(e,t??"en")}function o({eventStart:e,eventEnd:t,includeTime:l,eventStartTime:r,eventEndTime:c,locale:d}){let m=n(e);if(!m)return{date:null,time:null};let u=n(t),p=i(m,d);if(!l)return u?{date:a(m,u)?p:`${p} - ${i(u,d)}`,time:null}:{date:p,time:null};let x=n(r)??n(e),h=u?n(c)??n(t):null,g=x?s(x,d):null,f=h?s(h,d):null;if(!u)return{date:p,time:g};let v=i(u,d);return{date:a(m,u)?p:`${p} - ${v}`,time:g&&f?g===f?g:`${g} - ${f}`:g}}},64744:(e,t,l)=>{l.d(t,{y:()=>n});var r=l(67770),a=l(23878),s=l(18864);function n({hasNextPage:e,hasPrevPage:t,nextPage:l,prevPage:i,page:o=1,totalPages:c}){let d=(0,a.usePathname)(),m=(0,a.useSearchParams)();if(1===c)return null;let u=e=>{let t=new URLSearchParams(m);return t.set("page",e.toString()),`${d}?${t.toString()}`};return(0,r.jsx)(s.dK,{className:"mt-[50px]",children:(0,r.jsxs)(s.Iu,{children:[t&&i&&(0,r.jsx)(s.cU,{children:(0,r.jsx)(s.Eb,{href:u(i)})}),(0,r.jsx)(s.cU,{children:(0,r.jsx)(s.n$,{href:u(o),isActive:!0,"aria-current":"page",children:o})}),(0,r.jsx)(s.cU,{children:(0,r.jsx)("span",{className:"flex h-10 items-center justify-center text-[16px] font-normal text-primary",children:"of"})}),(0,r.jsx)(s.cU,{children:(0,r.jsx)(s.n$,{href:u(c),isActive:o===c,"aria-current":o===c?"page":void 0,children:c})}),e&&l&&(0,r.jsx)(s.cU,{children:(0,r.jsx)(s.WA,{href:u(l),prefetch:!0})})]})})}},64777:(e,t,l)=>{l.d(t,{Hr:()=>r});function r(e){return e.toLowerCase().replace(/[^\w]+/g,"-").replace(/^-+|-+$/g,"").replace(/--+/g,"-")}},65254:(e,t,l)=>{l.d(t,{CollectionReferenceBannerClient:()=>x});var r=l(67770),a=l(27189),s=l.n(a),n=l(52288),i=l(36582),o=l(3748),c=l(90968),d=l(70012),m=l(4313),u=l(73991),p=l(31157);function x({content:e,addCta:t,cta:l,media:a,pageLinks:h}){return(0,r.jsx)("section",{className:"bg-white pt-5 md:pt-[30px]",children:(0,r.jsxs)("div",{className:"relative md:flex md:min-
1h-[500px] md:items-center md:py-[50px]",children:[(0,r.jsxs)("div",{className:"relative md:absolute md:inset-0",children:[(0,r.jsx)(u.$,{resource:a,size:"large",sizes:"100vw",className:"h-[280px] w-full object-cover md:h-full"}),(0,r.jsx)(m.MobileTeamStoryLines,{className:"absolute top-[-20px] right-5 z-10 h-[138px] w-[51px] md:hidden"})]}),(0,r.jsx)(m.OverImageLines,{className:"absolute top-[-30px] right-[calc(((100vw-min(100vw,80rem))/2)+1rem)] z-10 hidden h-[515px] w-[187px] md:block"}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative bg-white max-md:px-5 max-md:pt-5 md:w-1/2 md:py-[50px] md:pr-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative grid grid-cols-12 gap-y-7.5",children:[(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsx)(p.s,{data:e}),(0,n.s)(t,l)&&(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(d.O,{button:l})})]}),(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)("div",{className:"grid grid-cols-2 gap-x-[15px] pt-2.5 md:gap-x-[30px]",children:h.map((e,t)=>{let l=e.document,a=e.relationTo,n=(0,o.FU)(a,l),d=t>=h.length-2;return(0,r.jsxs)(s(),{href:n,className:(0,i.cn)("group flex min-h-12 items-center justify-between gap-3 border-t border-pgrey py-3 text-base font-medium text-primary no-underline",d&&"border-b"),children:[(0,r.jsx)("span",{children:l.title}),(0,r.jsx)(c.a2,{className:"text-tertiary"})]},t)})})})]})]})})]})})}},65538:(e,t,l)=>{function r(e){return"object"==typeof e&&null!==e&&"title"in e}function a(e){return e&&"object"==typeof e?"relationTo"in e&&"value"in e?r(e.value)?e.value:null:r(e)?e:null:null}l.d(t,{O:()=>a})},65897:(e,t,l)=>{l.d(t,{a:()=>r});function r(e){return"string"==typeof e?e.trim()||null:"object"==typeof e&&null!==e&&"title"in e&&"string"==typeof e.title&&e.title.trim()||null}},67166:(e,t,l)=>{l.d(t,{LatestNewsClient:()=>y});var r=l(67770),a=l(47426),s=l(17951),n=l(70754),i=l(64428),o=l(3748),c=l(27189),d=l.n(c),m=l(36582),u=l(24302),p=l(75677);function x({type:e,date:t}){return(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-2 text-base font-medium text-primary",children:[(0,r.jsx)("span",{children:e}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-secondary",children:"/"}),(0,r.jsx)("time",{dateTime:new Date(t).toISOString(),children:new Date(t).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]})]})}function h({location:e,date:t,time:l}){let a=!!(e||t);return(0,r.jsxs)("div",{className:"mt-3 text-base font-medium text-primary",children:[a&&(0,r.jsxs)("p",{children:[e,e&&t&&(0,r.jsx)("span",{className:"text-secondary",children:" / "}),t,l&&(0,r.jsx)("span",{className:"text-secondary",children:" /"})]}),l&&(0,r.jsxs)("p",{className:a?"mt-0":void 0,children:[!a&&(0,r.jsx)("span",{className:"text-secondary",children:"/ "}),l]})]})}function g({image:e,title:t,type:l,date:a,summary:s,href:n,variant:i="default",eventMeta:o}){let c="alt"===i;return(0,r.jsxs)("article",{className:"group flex h-full flex-col",children:[(0,r.jsx)("div",{className:(0,m.cn)("p-5 pb-0",c&&"bg-pgrey-light"),children:e&&n?(0,r.jsx)(d(),{href:n,"aria-label":`Read more about ${t}`,className:"relative block aspect-[3/2] w-full shrink-0 overflow-hidden bg-white no-underline",children:(0,r.jsx)(p.Q,{resource:e,size:"thumbnail",fill:!0,className:"object-cover transition-transform duration-300 ease-in-out group-hover:scale-105"})}):e?(0,r.jsx)("div",{className:"relative aspect-[3/2] w-full shrink-0 overflow-hidden bg-white",children:(0,r.jsx)(p.Q,{resource:e,size:"thumbnail",fill:!0,className:"object-cover transition-transform duration-300 ease-in-out group-hover:scale-105"})}):null}),(0,r.jsxs)("div",{className:(0,m.cn)("flex flex-1 flex-col px-5 pt-5 pb-5",c&&"bg-pgrey-light"),children:[(0,r.jsx)("h3",{className:"display text-primary",children:n?(0,r.jsx)(d(),{href:n,className:"text-current no-underline",children:t}):t}),c&&o?(0,r.jsx)(h,{location:o.location,date:o.date,time:o.time}):(0,r.jsx)(x,{type:l,date:a}),s&&(0,r.jsx)("p",{className:"mt-5 text-base",children:s}),n&&(0,r.jsx)(d(),{href:n,"aria-label":`Read more about ${t}`,className:"mt-auto inline-flex self-start pt-7 text-tertiary no-u
1nderline transition-transform duration-200 ease-out hover:translate-x-1 hover:-translate-y-1 focus-visible:outline-offset-4 motion-reduce:transition-none",children:(0,r.jsx)(u.Qq,{})})]})]})}var f=l(31157);function v({card:e,locale:t}){var l;let a="events"===e.relationTo,s="insights"===e.relationTo,c=a?(0,i.z)({...e.document,locale:t}):{date:null,time:null};return(0,r.jsx)(g,{image:e.document.image,title:e.document.title,type:function(e,t){let l=(0,n.xU)(t);switch(e){case"posts":return l.news;case"insights":return l.insights;case"events":return l.event}}(e.relationTo,t),date:a||s?void 0:e.document.publishedAt,summary:e.document.summary,href:(0,o.hI)(e.relationTo,e.document.slug,t),variant:a?"alt":"default",eventMeta:a?{location:(l=e.document.location)&&"object"==typeof l&&"title"in l?String(l.title||""):null,date:c.date,time:c.time}:void 0})}function y({introContent:e,centerIntroContent:t,settings:l,locale:n,cards:i}){let o=i??[];return o.length?(0,r.jsx)(s.m,{settings:l,containerClassName:"relative",children:(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-y-7.5",children:[(0,r.jsx)("div",{className:`col-span-12 ${t&&"md:col-span-8 md:col-start-3"}`,children:(0,r.jsx)(f.s,{data:e,className:"min-w-0"})}),(0,r.jsx)("div",{className:"col-span-12 lg:hidden",children:(0,r.jsx)(a.RC,{slidesPerView:1.2,spaceBetween:15,className:"w-full",children:o.map((e,t)=>(0,r.jsx)(a.qr,{children:(0,r.jsx)(v,{card:e,locale:n})},`${e.relationTo}-${e.document?.id??t}`))})}),(0,r.jsx)("div",{className:"col-span-12 hidden lg:block",children:(0,r.jsx)("ol",{className:"grid grid-cols-12 md:gap-x-7.5",children:o.map((e,t)=>(0,r.jsx)("li",{className:"col-span-4",children:(0,r.jsx)(v,{card:e,locale:n})},`${e.relationTo}-${e.document?.id??t}`))})})]})}):null}},67214:(e,t,l)=>{l.d(t,{TimelineClient:()=>d});var r=l(67770),a=l(71122),s=l(47426),n=l(24302),i=l(4313),o=l(75677),c=l(31157);function d({items:e}){let[t,l]=(0,a.useState)(null),[m,u]=(0,a.useState)(0),[p,x]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1);if(!e.length)return null;let f=e.length>3;function v(e){u(e.realIndex??e.activeIndex),x(f||!e.isBeginning),g(f||!e.isEnd)}return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("button",{type:"button","aria-label":"Previous timeline item",disabled:!p,onClick:()=>t?.slidePrev(),className:"absolute top-[206px] left-0 z-20 hidden size-10 -translate-y-1/2 items-center justify-center bg-pgrey text-tertiary transition-colors hover:bg-primary hover:text-white disabled:pointer-events-none disabled:opacity-40 md:flex",children:(0,r.jsx)(n.mH,{direction:"previous"})}),(0,r.jsxs)("div",{className:"relative md:mx-[70px]",children:[(0,r.jsx)("div",{className:"pointer-events-none absolute top-[92px] right-0 left-0 z-0 h-[5px] bg-tertiary md:top-[90px]"}),(0,r.jsx)(s.RC,{loop:f,slidesPerView:1.3,spaceBetween:20,breakpoints:{768:{slidesPerView:2,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:30}},onSwiper:e=>{l(e),v(e)},onSlideChange:v,onResize:v,className:"relative z-10 w-full",children:e.map((e,t)=>{let l=t===m,a=!!e.image;return(0,r.jsx)(s.qr,{className:"h-auto",children:(0,r.jsxs)("article",{className:"flex h-full flex-col",children:[l?(0,r.jsxs)(r.Fragment,{children:[e.year?(0,r.jsx)("h3",{className:"relative z-30 animate-in font-display text-[60px] leading-none font-bold text-primary duration-500 ease-out fade-in-0 slide-in-from-bottom-3 motion-reduce:animate-none md:-translate-y-2 md:text-[80px] motion-reduce:md:translate-y-0",children:e.year}):null,e.image?(0,r.jsx)("div",{className:"relative z-20 -mt-10 aspect-square w-[332px] max-w-full animate-in overflow-hidden bg-pgrey duration-500 ease-out fade-in-0 slide-in-from-bottom-5 zoom-in-95 motion-reduce:animate-none",children:(0,r.jsx)(o.Q,{resource:e.image,preferOriginal:!0,fill:!0,sizes:"(min-width: 768px) 332px, calc(100vw - 40px)",className:"object-cover"})}):null]}):e.year?(0,r.jsxs)("div",{className:"relative z-20 flex items-center gap-x-3",children:[(0,r.jsx)(i.TimelineYearLine,{className:"h-[78px] w-[38px] shrink-0"}),(0,r.jsx)("h3",{className:"font-display text-[60px] leading-none font-bold text-primary md:text-[80px]",children:e.year})]}):null,e.description?(0,r.jsxs)("div",{className:l?a?"mt-5 flex items-start gap-x-3.75":"mt-12 flex items-start gap-x-3.75 md:mt-10":"mt-[70px] flex items-start gap-x-3.75 md:mt-[50px]",children:[l&&a?(0,r.jsx)(i.TimelineContentLine,{className:"h-20 w-[37
1px] shrink-0 animate-in duration-500 ease-out fade-in-0 slide-in-from-bottom-2 motion-reduce:animate-none"}):null,(0,r.jsx)(c.s,{data:e.description,className:"min-w-0 font-light [&_p]:text-[16px]"})]}):null]})},e.id??t)})})]}),(0,r.jsx)("button",{type:"button","aria-label":"Next timeline item",disabled:!h,onClick:()=>t?.slideNext(),className:"absolute top-[206px] right-0 z-20 hidden size-10 -translate-y-1/2 items-center justify-center bg-pgrey text-tertiary transition-colors hover:bg-primary hover:text-white disabled:pointer-events-none disabled:opacity-40 md:flex",children:(0,r.jsx)(n.mH,{direction:"next"})})]})}},68300:(e,t,l)=>{l.d(t,{ContentSearchInput:()=>c});var r=l(67770),a=l(27189),s=l.n(a),n=l(36582),i=l(24302),o=l(85901);function c({className:e,inputClassName:t,inputId:l="content-search",placeholder:a,searchPath:d="/search",submitIcon:m="search",showLeadingIcon:u=!1}){let{activeIndex:p,closeSuggestions:x,containerRef:h,handleInputFocus:g,handleKeyDown:f,handleQueryChange:v,handleSubmit:y,inputRef:j,isLoading:b,labels:w,listboxId:N,localizedSearchPath:k,query:S,setActiveIndex:C,showDropdown:L,trimmedQuery:$,visibleSuggestions:P}=(0,o.L)({searchPath:d}),z=P.length;return(0,r.jsxs)("div",{ref:h,className:(0,n.cn)("relative w-full",e),children:[(0,r.jsxs)("form",{action:k,onSubmit:y,children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:l,children:w.searchTheSite}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{ref:j,id:l,name:"q",type:"search",value:S,onChange:e=>v(e.target.value),onFocus:g,onKeyDown:f,placeholder:a??w.placeholder,autoComplete:"off",role:"combobox","aria-expanded":L,"aria-controls":L?N:void 0,"aria-autocomplete":"list","aria-activedescendant":L&&p>=0?`${N}-option-${p}`:void 0,className:(0,n.cn)("h-12 w-full border border-tertiary bg-white px-4 pr-12 text-primary outline-none placeholder:text-[16px] placeholder:font-light placeholder:text-primary focus:ring-0 focus:outline-none",u&&"pl-12",t)}),u?(0,r.jsx)(i.Uz,{className:"pointer-events-none absolute top-1/2 left-4 -translate-y-1/2"}):null,(0,r.jsx)("button",{type:"submit","aria-label":w.search,className:"absolute top-0 right-0 flex h-full w-12 items-center justify-center text-tertiary",children:"arrow"===m?(0,r.jsx)(i.Qq,{}):(0,r.jsx)(i.Uz,{})})]})]}),L?(0,r.jsxs)("ul",{id:N,role:"listbox",className:"absolute top-[calc(100%+8px)] z-50 max-h-[min(24rem,calc(100vh-12rem))] w-full overflow-y-auto border border-pgrey bg-white p-1",children:[b?(0,r.jsx)("li",{className:"px-4 py-2 text-sm text-primary/60",children:w.searching}):null,b||0!==P.length?null:(0,r.jsx)("li",{className:"px-4 py-2 text-sm text-primary/60",children:w.noSuggestions}),P.map((e,t)=>(0,r.jsx)("li",{id:`${N}-option-${t}`,role:"option","aria-selected":p===t,children:(0,r.jsxs)(s(),{href:e.href,className:(0,n.cn)("flex flex-col gap-0.5 px-4 py-2 text-base text-primary no-underline hover:bg-pgrey-light",p===t&&"bg-pgrey-light"),onMouseEnter:()=>C(t),onClick:x,children:[(0,r.jsx)("span",{className:"font-semibold",children:e.title}),e.type?(0,r.jsx)("span",{className:"text-xs text-primary/60 uppercase",children:e.type}):null]})},e.id)),(0,r.jsx)("li",{id:`${N}-option-${z}`,role:"option","aria-selected":p===z,children:(0,r.jsxs)(s(),{href:(0,o.O)(k,$),className:(0,n.cn)("block px-4 py-2 text-base font-semibold text-tertiary no-underline hover:bg-pgrey-light",p===z&&"bg-pgrey-light"),onMouseEnter:()=>C(z),onClick:x,children:["View all results for â",$,"â"]})})]}):null]})}},69493:(e,t,l)=>{l.d(t,{ProjectsListingClient:()=>A});var r=l(67770),a=l(71122),s=l(27189),n=l.n(s),i=l(23878),o=l(36582),c=l(85130),d=l(61508),m=l(65897),u=l(65538),p=l(3748),x=l(24351),h=l(90968),g=l(79335),f=l(24302),v=l(91724),y=l(51236),j=l(47616),b=l(73991),w=l(75677),N=l(64744);function k(e,t,l,r){let a=t.filter(e=>("productL1"===r||!l.productL1||!!e.productL1Ids.includes(Number(l.productL1)))&&("market"===r||!l.market||e.marketKey===l.market)&&("location"===r||!l.location||String(e.locationId??"")===l.location));if("productL1"===r){let t=new Set(a.flatMap(e=>e.productL1Ids));return e.filter(e=>t.has(Number(e.id)))}if("market"===r){let t=new Set(a.map(e=>e.marketKey).filter(e=>!!e));return e.filter(e=>t.has(String(e.id)))}let s=new Set(a.map(e=>e.locationId).filter(e=>null!=e));return e.filter(e=>s.has(Number(e.id)))}let S={"products-level-1":[],"products-level-2":[],"products-level-3":[]},C={docs:[],hasNextPage:!1,hasPrevPage:!1,limit:8,nextPage:null,page:1,pagingCounter:1,prevPage:null,totalDocs:0,totalPages:1};function L(e,t,l){l?e.set(t,l):e.delete(t)}function $(e,t,l,r){if(!r)return t;if("market"===l){let l,a=(l=r.match(/^(markets-level-[12]):(\d+)$/))?{relationTo:l[1],id:l[2]}:null;return a?(e.set(`where[and][${t}][and][0][market.relationTo][equals]`,a.relationTo),e.set(`where[and][${t}][and][1][market.value][equals]`,a.id),t+1):t}return e.set(`where[and][${t}][${l}][equals]`,r),t+1}function P(e,t,l){if(!(l["products-level-1"].length>0||l["products-level-2"].length>0||l["products-level-3"].length>0))return t;let r=0;return["products-level-1","products-level-2","products-level-3"].forEach(a=>
1{l[a].forEach(l=>{e.set(`where[and][${t}][or][${r}][and][0][products.relationTo][equals]`,a),e.set(`where[and][${t}][or][${r}][and][1][products.value][equals]`,String(l)),r+=1})}),t+1}function z(e,t,l){let r=l.trim();return r?(e.set(`where[and][${t}][title][like]`,r),t+1):t}async function E({locale:e,location:t,market:l,productL1:r,productMatch:a,search:s,signal:n}){async function i(r){let i=await fetch(`/api/projects?${function({locale:e,location:t,market:l,matchFilters:r,productMatch:a,search:s}){let n=new URLSearchParams;if(n.set("limit","1"),n.set("sort","-publishedAt"),n.set("depth","2"),n.set("locale",e),n.set("where[and][0][_status][equals]","published"),n.set("where[and][1][featuredProject][equals]","true"),!r)return n.toString();let i=2;return i=$(n,2,"market",l),i=$(n,i,"location",t),i=P(n,i,a),z(n,i,s),n.toString()}({locale:e,location:t,market:l,matchFilters:r,productMatch:a,search:s})}`,{signal:n});if(!i.ok)throw Error("Failed to load featured project.");return(await i.json()).docs[0]??null}return i(!!function({location:e,market:t,productL1:l,search:r}){return!!(e||t||l||r.trim())}({location:t,market:l,productL1:r,search:s})||!1)}function I({className:e,label:t}){return(0,r.jsx)(g.X,{className:e,children:t})}function T({project:e}){let t=(0,m.a)(e.location),l=(0,u.O)(e.market),a=l?.title?.trim()||null,s=l&&(0,x.FN)(l.listingIcon)?l.listingIcon:null;return a||t?(0,r.jsxs)("ul",{className:"mb-5 flex flex-wrap items-center gap-x-5 gap-y-2 text-base font-normal text-primary",children:[a?(0,r.jsxs)("li",{className:"inline-flex items-center gap-x-2",children:[s?.url?(0,r.jsx)("img",{src:s.url,alt:"",className:"h-[40px] w-auto object-contain"}):null,(0,r.jsx)("span",{children:a})]}):null,t?(0,r.jsxs)("li",{className:"inline-flex items-center gap-x-2",children:[(0,r.jsx)(f.Nn,{className:"text-tertiary"}),(0,r.jsx)("span",{children:t})]}):null]}):null}function M({project:e}){let t=e.shortname?.trim()||null,l=e.completionYear??null;return t||l?(0,r.jsxs)("div",{className:"mt-5 flex items-center gap-x-[5px] text-base font-normal text-primary",children:[t?(0,r.jsx)("span",{children:t}):null,t&&l?(0,r.jsx)("span",{className:"text-base font-normal text-secondary",children:"/"}):null,l?(0,r.jsx)("span",{children:l}):null]}):null}function F({project:e,locale:t,featuredLabel:l,viewLabel:a}){let s=(0,x.FN)(e.image)?e.image:null,n=e.slug?(0,p.hI)("projects",e.slug,t):null;return(0,r.jsx)("section",{className:"relative bg-white",children:(0,r.jsxs)("div",{className:"relative left-1/2 w-screen -translate-x-1/2 bg-white md:flex md:min-
1h-[500px] md:items-center md:py-[70px]",children:[(0,r.jsx)("div",{className:"relative md:absolute md:inset-0",children:s?(0,r.jsx)(w.Q,{resource:s,size:"large",className:"h-[280px] w-full object-cover md:h-full"}):null}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] pb-8 md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative min-w-0 bg-white max-md:p-5 md:w-1/2 md:max-w-1/2 md:py-[50px] md:pr-[30px] md:pl-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(I,{className:"mb-7.5",label:l}),(0,r.jsx)(T,{project:e}),(0,r.jsx)("h3",{className:"font-display",children:e.title}),(0,r.jsx)(M,{project:e}),e.summary?(0,r.jsx)("p",{className:"mt-5 text-base",children:e.summary}):null,n?(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(h.vx,{href:n,tone:"pgrey",variant:"default",children:a})}):null]})]})})]})})}function B({project:e,locale:t,itemTypeLabel:l,viewLabel:a}){let s=(0,x.FN)(e.image)?e.image:null,i=e.slug?(0,p.hI)("projects",e.slug,t):null;return(0,r.jsxs)("article",{className:"flex h-full flex-col",children:[(0,r.jsx)(n(),{href:i??"#","aria-disabled":!i,tabIndex:i?void 0:-1,className:(0,o.cn)("relative aspect-[16/10] overflow-hidden bg-primary/80 no-underline",!i&&"pointer-events-none"),children:s?(0,r.jsx)(b.$,{resource:s,size:"card",className:"absolute inset-0 h-full w-full object-cover"}):null}),(0,r.jsxs)("div",{className:"relative z-10 mx-5 -mt-[60px] flex flex-1 flex-col bg-white p-5",children:[(0,r.jsx)(I,{className:"mb-5",label:l,variant:"project"}),(0,r.jsx)(T,{project:e}),(0,r.jsx)("h3",{className:(0,v.A)(e.title,{size:"card",tag:"h3"}),children:i?(0,r.jsx)(n(),{href:i,className:"text-current no-underline",children:e.title}):e.title}),(0,r.jsx)(M,{project:e}),e.summary?(0,r.jsx)("p",{className:"mt-3 text-base leading-relaxed font-light text-pblack",children:e.summary}):null,i?(0,r.jsx)(h.vx,{href:i,tone:"pgrey",variant:"default",className:"mt-6 w-fit",children:a}):null]})]})}function A({locale:e,markets:t,locations:l,productsLevel1:s,facets:n,labels:m}){let u=(0,c.Qk)(m,c.kf),p=(0,i.usePathname)(),x=(0,i.useRouter)(),h=(0,i.useSearchParams)(),[g,v]=(0,a.useState)(C),[b,w]=(0,a.useState)(null),[I,T]=(0,a.useState)(!0),[M,R]=(0,a.useState)(!1),[q,U]=(0,a.useState)(h.get("project")??""),[D,_]=(0,a.useState)(S),[O,H]=(0,a.useState)(()=>!h.get("productL1")),Q=(0,a.useRef)(new Map),X=h.get("market")??"",K=h.get("location")??"",V=h.get("project")??"",W=h.get("page")??"1",Z=h.get("productL1")??"",G=(0,a.useMemo)(()=>({productL1:Z,market:X,location:K}),[K,X,Z]),Y=(0,a.useMemo)(()=>k(s,n,G,"productL1"),[G,n,s]),J=(0,a.useMemo)(()=>k(t,n,G,"market"),[G,n,t]),ee=(0,a.useMemo)(()=>k(l,n,G,"location"),[G,n,l]),et=(0,a.useMemo)(()=>(function({locale:e,location:t,market:l,page:r,productMatch:a,search:s}){var n;let i=new URLSearchParams;i.set("limit","8"),i.set("page",r),i.set("sort","-publishedAt"),i.set("depth","2"),i.set("locale",e);let o=0;return n=0,i.set(`where[and][${n}][_status][equals]`,"published"),o=n+1,i.set(`where[and][${o}][featuredProject][not_equals]`,"true"),o+=1,o=$(i,o,"market",l),o=$(i,o,"location",t),o=P(i,o,a),z(i,o,s),i.toString()})({locale:e,location:K,market:X,page:W,productMatch:D,search:V}),[e,K,X,W,D,V]),el=(0,a.useCallback)((e,t="push")=>{let l=new URLSearchParams(h);L(l,"productL1",e.productL1??Z),L(l,"market",e.market??X),L(l,"location",e.location??K),L(l,"project",e.project??V),l.delete("page");let r=l.toString(),a=r?`${p}?${r}`:p;"replace"===t?x.replace(a,{scroll:!1}):x.push(a,{scroll:!1})},[K,X,p,Z,x,V,h]);(0,a.useEffect)(()=>{let e={};Z&&!Y.some(e=>String(e.id)===Z)&&(e.productL1=""),X&&!J.some(e=>String(e.id)===X)&&(e.market=""),K&&!ee.some(e=>String(e.id)===K)&&(e.location=""),0!==Object.keys(e).length&&el(e,"replace")},[ee,J,Y,K,X,Z,el]),(0,a.useEffect)(()=>{U(V)},[V]),(0,a.useEffect)(()=>{if(q===V)return;let e=window.setTimeout(()=>{el({project:q.trim()},"replace")},350);return()=>window.clearTimeout(e)},[V,q,el]),(0,a.useEffect)(()=>{let t=new AbortController;return async function(){if(!Z){_(S),H(!0);return}H(!1);let l=`${e}:${Z}`,r=Q.current.get(l);if(r){_(r),H(!0);return}try{let r=await (0,d.X)(Number(Z),e,t.signal);Q.current.set(l,r),_(r),H(!0)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(_({"products-level-1":[Number(Z)],"products-level-2":[],"products-level-3":[]}),H(!0))}}(),()=>t.abort()},[e,Z]),(0,a.useEffect)(()=>
1{if(!O)return;let t=new AbortController;return async function(){T(!0);try{let[l,r]=await Promise.all([fetch(`/api/projects?${et}`,{signal:t.signal}),E({locale:e,location:K,market:X,productL1:Z,productMatch:D,search:V,signal:t.signal})]);if(!l.ok)throw Error("Failed to load projects.");let a=await l.json();v(a),w(r)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(v(C),w(null))}finally{t.signal.aborted||T(!1)}}(),()=>t.abort()},[e,K,X,Z,D,O,et,V]);let er={...g,nextPage:g.nextPage??void 0,page:g.page??void 0,prevPage:g.prevPage??void 0};return(0,r.jsxs)("div",{className:"pb-5 md:pb-[50px]",children:[(0,r.jsx)("div",{className:"container mb-[15px] md:hidden",children:(0,r.jsxs)("button",{type:"button",className:(0,o.cn)("group flex w-full items-center justify-center gap-2 px-4 py-3 text-[16px] font-normal transition-colors hover:bg-primary hover:text-white",M?"bg-primary text-white":"bg-pgrey text-primary"),"aria-expanded":M,onClick:()=>R(e=>!e),children:[(0,r.jsx)("span",{children:"Filter products"}),(0,r.jsx)(f._r,{className:(0,o.cn)("transition-colors group-hover:text-secondary",M?"text-secondary":"text-tertiary")})]})}),(0,r.jsx)(j.F,{className:(0,o.cn)("md:mb-[30px] md:block md:py-5",M?"mb-[15px] block py-5":"hidden"),children:(0,r.jsx)("form",{className:(0,o.cn)("container flex-col gap-4 md:flex",M?"flex":"hidden"),onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-end",children:[(0,r.jsx)(y.x,{label:u.searchByProduct,value:Z,emptyLabel:u.allProducts,options:Y,onChange:e=>el({productL1:e})}),(0,r.jsx)(y.x,{label:u.searchByMarket,value:X,emptyLabel:u.allMarkets,options:J,onChange:e=>el({market:e})}),(0,r.jsx)(y.x,{label:u.searchByLocation,value:K,emptyLabel:u.allLocations,options:ee,onChange:e=>el({location:e})}),(0,r.jsxs)("label",{className:"flex w-full flex-col gap-2 md:flex-1",children:[(0,r.jsx)("span",{className:"font-sans text-base leading-none font-bold text-primary",children:u.searchForProjects}),(0,r.jsxs)("span",{className:"relative block",children:[(0,r.jsx)("input",{type:"search",value:q,onChange:e=>U(e.currentTarget.value),className:"h-12 w-full border border-tertiary bg-white px-4 pr-12 text-primary outline-none placeholder:text-primary focus:ring-0 focus:outline-none",placeholder:u.searchPlaceholder}),(0,r.jsx)(f.Uz,{className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2"})]})]})]})})}),!I&&b?(0,r.jsx)("div",{className:"mb-5 md:mb-[30px]",children:(0,r.jsx)(F,{project:b,locale:e,featuredLabel:u.featured,viewLabel:u.view})}):null,(0,r.jsx)("div",{className:"container",children:I?(0,r.jsx)("p",{className:"text-primary",children:u.loading}):g.docs.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("ol",{className:"grid gap-y-5 md:grid-cols-2 md:gap-[30px]",children:g.docs.map(t=>(0,r.jsx)("li",{children:(0,r.jsx)(B,{project:t,locale:e,itemTypeLabel:u.itemType,viewLabel:u.view})},t.id))}),(0,r.jsx)(N.y,{...er})]}):b?null:(0,r.jsx)("p",{className:"text-primary",children:u.empty})})]})}},70012:(e,t,l)=>{l.d(t,{O:()=>o});var r=l(67770),a=l(36582),s=l(34775),n=l(90968),i=l(70816);function o({button:e,className:t}){var l,c;let d=e.buttonType??"normal",m=e.buttonStyle??"default",u=e.buttonIcon??"arrow",p="outline"===m||"keyline"===m?m:"default",x="outline"===m?void 0:e.buttonColor,h=(0,a.cn)(t,"outline"===m&&function(e){switch(e){case"secondary":return"border-current text-secondary hover:text-primary";case"tertiary":return"border-current text-tertiary hover:text-primary";case"pgrey":case"pgreyLight":case"pgrey-light":return"border-current text-primary hover:text-tertiary";case"pblack":return"border-current text-pblack hover:text-primary";case"white":return"border-current text-white hover:text-secondary";default:return"border-current text-primary hover:text-secondary"}}(e.buttonColor),e.displayActiveState&&(l=m,c=e.buttonColor,"outline"===l?function(e){switch(e){case"secondary":case"tertiary":case"pblack":return"text-primary hover:text-primary";case"pgrey":case"pgreyLight":case"pgrey-light":return"text-tertiary hover:text-tertiary";default:return"text-secondary hover:text-secondary"}}(c):"keyline"!==l?function(e){switch(e){case"secondary":case"tertiary":case"pgreyLight":case"pgrey-light":case"pblack":return"bg-primary text-white hover:bg-primary hover:text-white";case"pgrey":return"bg-primary text-white hover:bg-primary hover:text-white [&_svg]:text-secondary hover:[&_svg]:text-secondary";default:return"bg-secondary text-primary hover:bg-secondary hover:text-primary"}}(c):void 0));return"icon"===d?(0,r.jsx)(n.$n,{asChild:!0,noIcon:!0,tone:x,variant:p,"data-icon-button":"true",className:h,children:(0,r.jsxs)(i.Link,{link:e,children:[e.label,(0,r.jsx)(n.a2,{icon:u})]})}):"link"===d?(0,r.jsx)(n.$n,{asChild:!0,noIcon:!0,variant:"link",className:(0,a.cn)(t,(0,s.By)(e.buttonColor)),children:(0,r.jsxs)(i.Link,{link:e,children:[e.label,(0,r.jsx)(n.a2,{icon:u})]})}):(0,r.jsx)(n.$n,{asChild:!0,noIcon:!0,tone:x,variant:p,className:h,children:(0,r.jsxs)(i.Link,{link:e,children:[e.label,(0,r.jsx)(n.a2,{icon:u})]})})}},76085:(e,t,l)=>{l.d(t,{LargeImageBannerClient:()=>m});var r=l(67770),a=l(71122),s=l(47426),n=l(36582),i=l(34775),o=l(73991),c=l(31157);function d({item:e,numberClassName:t}){return(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:(0,n.cn)("display text-[35px] font-bold md:text-[70px]",t),children:e.heading}),e.content?(0,r.jsx)(c.s,{data:e.content,className:"mt-2 min-w-0"}):null]})}function m({media:e,introContent:t,centerIntroContent:l,bannerContentBlocks:u,settings:p}){let x=u??[],h=p?.backgroundColor??"tertiary",g=(0,i.M4)(h),{ref:f,isVisible:v}=function(){let e=(0,a.useRef)(null),[t,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=e.current;if(!t)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void l(!0);let r=new IntersectionObserver(([e])=>{e.isIntersecting&&(l(!0),r.disconnect())}
1,{rootMargin:"0px 0px -10% 0px",threshold:.25});return r.observe(t),()=>r.disconnect()},[]),{ref:e,isVisible:t}}();return(0,r.jsxs)("div",{className:"relative min-h-[500px] pt-5 md:min-h-[950px] md:pt-12.5",children:[(0,r.jsx)(o.$,{resource:e,size:"large",className:"absolute inset-0 h-full w-full object-cover"}),(0,r.jsxs)("div",{ref:f,className:(0,n.cn)("relative z-10 overflow-hidden py-5 md:py-12.5",(0,n.cn)(("primary"===h||"tertiary"===h||"pblack"===h)&&"text-white bullets-light","secondary"===h&&"text-white bullets-dark",("pgrey"===h||"pgrey-light"===h||"white"===h)&&"text-body bullets-light")),children:[(0,r.jsx)("div",{className:(0,n.cn)("absolute inset-0 transition-transform duration-1000 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none",(0,n.cn)("primary"===h&&"bg-primary","secondary"===h&&"bg-secondary","tertiary"===h&&"bg-tertiary","pgrey"===h&&"bg-pgrey","pgrey-light"===h&&"bg-pgrey-light","pblack"===h&&"bg-pblack","white"===h&&"bg-white"),v?"translate-x-0":"-translate-x-full"),"aria-hidden":"true"}),(0,r.jsxs)("div",{className:(0,n.cn)("relative z-10 container transition-[opacity,translate] delay-700 duration-800 ease-out motion-reduce:transition-none",v?"translate-y-0 opacity-100":"translate-y-6 opacity-0"),children:[(0,r.jsx)("div",{className:"mb-5 grid grid-cols-12 md:mb-7.5",children:(0,r.jsx)("div",{className:`col-span-12 ${l&&"md:col-span-8 md:col-start-3"}`,children:(0,r.jsx)(c.s,{data:t})})}),(0,r.jsx)("div",{className:"md:hidden",children:(0,r.jsx)(s.RC,{slidesPerView:2.3,spaceBetween:10,className:"w-full",children:x.map((e,t)=>(0,r.jsx)(s.qr,{children:(0,r.jsx)(d,{item:e,numberClassName:g})},e.id??t))})}),(0,r.jsx)("div",{className:"hidden gap-5 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10 lg:grid-cols-3",children:x.map((e,t)=>(0,r.jsx)(d,{item:e,numberClassName:g},e.id??t))})]})]})]})}},78327:(e,t,l)=>{l.d(t,{TrackLengthClient:()=>n});var r=l(67770),a=l(71122),s=l(4313);function n({measurement:e,trackLengthKm:t,unitofmeasurement:l}){let i=(0,a.useRef)(null),[o,c]=(0,a.useState)("0");return(0,a.useEffect)(()=>{let e=i.current;if(!e)return;let l=function(e){let[,t=""]=String(e).split(".");return t.length}(t),r=0,a=!1,s=new IntersectionObserver(([e])=>{if(e?.isIntersecting&&!a){let e,n;a=!0,e=performance.now(),n=a=>{var s;let i=Math.min((a-e)/1600,1);c((s=t*(1-Math.pow(1-i,3)),l>0?s.toFixed(l):Math.round(s).toString())),i<1&&(r=requestAnimationFrame(n))},r=requestAnimationFrame(n),s.disconnect()}},{threshold:.4});return s.observe(e),()=>{s.disconnect(),cancelAnimationFrame(r)}},[t]),(0,r.jsx)("div",{className:"relative flex items-center justify-center bg-tertiary py-[30px] md:py-[50px]",children:(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-x-5 gap-y-4",children:[e&&(0,r.jsx)("p",{className:"text-[20px] font-light text-white",children:e}),(0,r.jsx)(s.NumberSlashLine,{className:"h-20 w-[31px] shrink-0"}),(0,r.jsxs)("p",{className:"display text-[60px] leading-none font-bold text-pgrey md:text-[80px]",children:[(0,r.jsx)("span",{ref:i,children:o}),l&&(0,r.jsx)("span",{children:l})]})]})})}},78814:(e,t,l)=>{l.d(t,{SolutionsListingBlockClient:()=>g});var r=l(67770),a=l(52288),s=l(64777),n=l(8802),i=l(26742),o=l(86472),c=l(3748),d=l(70012),m=l(42022),u=l(94699),p=l(4313),x=l(99476),h=l(31157);function g({content:e,addCta:t,cta:l,solutions:f,locale:v=n.Xn}){var y,j;let b,w,N=(y=f,j=v,b=new Set,w=y.map(e=>{let t=function(e,t){let l=(0,s.Hr)(e)||"section",r=l,a=2;for(;t.has(r);)r=`${l}-${a}`,a+=1;return t.add(r),r}(e.title,b);return{buttonText:e.listingButtonText,description:(0,o.F)(e.listingSummary),href:(0,c.hI)("solutions",e.slug,j),id:t,imageUrl:(0,i.a)(e.listingImage),title:e.title,subItems:[]}}),{items:y.map((e,t)=>({id:w[t].id,href:(0,c.hI)("solutions",e.slug,j),image:e.listingImage,summary:e.listingSummary,title:e.title})),sections:w}),k=N.items.length>5,S=!k&&N.items.length>0;return(0,r.jsxs)(r.Fragment,{children:[S?(0,r.jsx)(x.x,{title:"Solutions:",items:N.items.map(e=>({id:e.id,label:e.title}))}):null,(0,r.jsx)("div",{className:"relative z-10 container",children:(0,r.jsx)("div",{className:"grid grid-cols-12",children:(0,r.jsx)("div",{className:"col-span-12 py-5 md:py-[50px] lg:col-span-10 lg:col-start-2",children:(0,r.jsxs)("div",{className:"flex items-start gap-x-3.75 md:items-center md:gap-x-7.5",children:[(0,r.jsx)(p.CtaLines,{className:"h-[105px] w-[47px] shrink-0 md:h-[184px] md:w-[83px]"}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 xs:max-md:pt-5 md:flex md:flex-row md:items-center md:gap-x-10",children:[(0,r.jsx)("div",{className:"max-w-[630px] min-w-0 flex-1",children:(0,r.jsx)(h.s,{data:e})}),(0,a.s)(t,l)&&(0,r.jsx)("div",{className:"mt-5 shrink-0 md:mt-0",children:(0,r.jsx)(d.O,{button:l})})]})]})})})}),k?(0,r.jsx)("section",{className:"container",children:(0,r.jsx)("div",{className:"grid gap-5 md:grid-cols-2 md:gap-[30px] lg:grid-cols-3",children:N.items.map(e=>(0,r.jsx)(m.T,{href:e.href,image:e.image,summary:e.summary,title:e.title},e.id))})}):N.sections.map((e,t)=>(0,r.jsx)(u.H,{section:e,index:t},e.id))]})}},79335:(e,t,l)=>{l.d(t,{X:()=>i});var r=l(67770),a=l(36582),s=l(85711);let n={default:{accent:s.fH,accentClassName:"-ml-[17px] h-10 w-[27px]",heightClassName:"h-10",paddingClassName:"pl-2.5 pr-[27px]",slantWidth:"17px"},map:{accent:s.Dp,accentClassName:"-ml-[13px] h-[30px] w-[21px]",heightClassName:"h-[30px]",paddingClassName:"pl-2.5 pr-[23px]",slantWidth:"13px"},media:{accent:s.Dc,accentClassName:"-ml-[19px] h-[43px] w-[29px]",heightClassName:"h-[43px]",paddingClassName:"pl-2.5 pr-[29px]",slantWidth:"19px"}};function i({backgroundClassName:e="bg-primary",children:t,className:l,labelClassName:s,size:o="default"}){let c=n[o],d=c.accent;return(0,r.jsxs)("div",{className:(0,a.cn)("flex items-center",c.heightClassName,l),children:[(0,r.jsx)("div",{className:(0,a.cn)("flex w-fit items-center",c.heightClassName,c.paddingClassName,e),style:{clipPath:`polygon(0 0, 100% 0, calc(100% - ${c.slantWidth}) 100%, 0 100%)`},children:(0,r.jsx)("span",{className:(0,a.cn)("relative z-10 text-base font-bold whitespace-nowrap text-white uppercase",s),children:t})}),(0,r.jsx)(d,{className:(0,a.cn)("shrink-0",c.accentClassName)})]})}},82229:(e,t,l)=>{l.d(t,{LeadershipTeamListingClient:()=>d});var r=l(67770),a=l(8802),s=l(3748),n=l(24351),i=l(90968),o=l(75677),c=l(31157);function d({members:e,locale:t=a.Xn}){return e.length?(0,r.jsx)("section",{className:"bg-white py-7.5 md:py-[50px]",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("ul",{className:"grid grid-cols-1 gap-x-3.75 gap-y-7.5 md:grid-cols-2 md:gap-x-7.5 lg:grid-cols-3 lg:gap-y-12.5",children:e.map(e=>{let l=(0,s.hI)("team-members",e.slug,t),a=(0,n.FN)(e.image)?e.image:null,d=!function(e){if(!e||"object"!=typeof e||!("root"in e))return!1;let t=e.root?.children;return Array.isArray(t)&&t.length>0}(e.summary)?null:e.summary;return(0,r.jsx)("li",{className:"flex h-full flex-col",children:(0,r.jsxs)("article",{className:"flex h-full flex-col items-center text-center md:items-start md:text-left",children:[(0,r.jsx)("div",{className:"relative h-[268.5px] w-[179px] overflow-hidden bg-pgrey-light md:h-[284px] md:w-[189px]",children:a?(0,r.jsx)(o.Q,{resource:a,fill:!0,sizes:"(min-width: 768px) 189px, 179px",className:"object-cover"}):null}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col pt-5",children:[(0,r.jsx)("h3",{className:"font-display text-[25px] font-normal text-primary md:text-[30px]",children:e.name}),e.jobTitle?(0,r.jsx)("p",{className:"mt-2 text-[16px] font-bold text-tertiary",children:e.jobTitle}):null,d?(0,r.jsx)("div",{className:"mt-4 flex-1 text-body [&_p]:mb-0 [&_p]:text-base [&_p]:leading-relaxed",children:(0,r.jsx)(c.s,{data:d})}):(0,r.jsx)("div",{className:"flex-1"}),(0,r.jsx)("div",{className:"pt-5",children:(0,r.jsx)(i.vx,{href:l,tone:"pgrey",children:function(e,t){let l=e.trim().split(/\s+/)[0]||e;switch(t){case"fr":return/^[aeiouyhà âäéèêëïîôùûüáà âäéèêëÃìîïóòôöúùûü]/i.test(l.trim())?`Voir le profil d'${l}`:`Voir le profil de ${l}`;case"de":return`Profil von ${l} ansehen`;case"es":return`Ver el perfil de ${l}`;case"pt":return`Ver o perfil de ${l}`;case"zh":return`æ¥ç${l}çç®ä»`;default:return`See ${l}'s profile`}}(e.name,t)})})]})]})},e.id)})})})}):null}},85130:(e,t,l)=>{l.d(t,{$b:()=>n,Ds:()=>r,Fg:()=>
1o,Qk:()=>c,jz:()=>a,kf:()=>s,l9:()=>i});let r={searchByProduct:"Search by product",searchBySolution:"Search by solution",searchByMarket:"Search by market",searchForNews:"Search for news",allProducts:"All products",allSolutions:"All solutions",allMarkets:"All markets",searchPlaceholder:"Type search here",loading:"Loading news...",empty:"No news found.",featured:"Featured Article",view:"View article",itemType:"News"},a={searchByProduct:"Search by product",searchBySolution:"Search by solution",searchByMarket:"Search by market",searchForInsights:"Search for insights",allProducts:"All products",allSolutions:"All solutions",allMarkets:"All markets",searchPlaceholder:"Type search here",loading:"Loading insights...",empty:"No insights found.",featured:"Featured Insight",view:"View insight",itemType:"Insights"},s={searchByProduct:"Search by product",searchByMarket:"Search by market",searchByLocation:"Search by location",searchForProjects:"Search for projects",allProducts:"All products",allMarkets:"All markets",allLocations:"All locations",searchPlaceholder:"Type search here",loading:"Loading projects...",empty:"No projects found.",featured:"Featured Project",view:"Read the case study",itemType:"Project"},n={searchByLocation:"Search by location",searchByDate:"Search by date",searchByEvent:"Search by event",allLocations:"All locations",searchPlaceholder:"Type search here",selectDate:"Select date",loading:"Loading events...",empty:"No events found.",featured:"Feature Event",view:"View event"},i={category:"Category",type:"Type",product:"Product",allProducts:"All products",showing:"Showing {count} products",clearFilters:"Clear filters",empty:"No products found."},o={empty:"Check back soon to find our latest opportunities.",apply:"Apply for this role",download:"Full Job Description"};function c(e,t){let l={...t};if(!e)return l;for(let r of Object.keys(t)){let t=e[r];"string"==typeof t&&t.trim()&&(l[r]=t.trim())}return l}},85711:(e,t,l)=>{l.d(t,{Dc:()=>o,Dp:()=>i,Kb:()=>m,Pw:()=>d,Xs:()=>s,fH:()=>c,r5:()=>n});var r=l(67770),a=l(36582);function s({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"807",height:"284",viewBox:"0 0 809 284",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none overflow-visible text-primary",e),...t,children:(0,r.jsx)("path",{d:"M0 0H760L639.061 284H0V0Z",fill:"currentColor"})})}function n({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"1113",height:"806",viewBox:"0 0 1113 806",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none text-pgrey",e),...t,children:(0,r.jsx)("path",{d:"M0 0H1113L771.023 806H0V0Z",fill:"currentColor"})})}function i({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"21",height:"30",viewBox:"0 0 21 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none text-secondary",e),...t,children:(0,r.jsx)("path",{d:"M21 0H13.2388L0 30H7.7612L21 0Z",fill:"currentColor"})})}function o({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"29",height:"43",viewBox:"0 0 29 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none text-secondary",e),...t,children:(0,r.jsx)("path",{d:"M28.8008 0H18.1562L-0.00090451 42.7755H10.6437L28.8008 0Z",fill:"currentColor"})})}function c({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"27",height:"40",viewBox:"0 0 27 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none text-secondary",e),...t,children:(0,r.jsx)("path",{d:"M26.9336 0H16.9797L0.000720228 40H9.9546L26.9336 0Z",fill:"currentColor"})})}function d({className:e,style:t,...l}){return(0,r.jsx)("span",{"aria-hidden":"true",className:(0,a.cn)("pointer-events-none block bg-pgrey",e),style:{clipPath:"polygon(0 0, 100% 0, calc(100% - 17px) 100%, 0 100%)",...t},...l})}function m({className:e,...t}){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"27",height:"40",viewBox:"0 0 27 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:(0,a.cn)("pointer-events-none text-secondary",e),...t,children:(0,r.jsx)("path",{d:"M26.9336 0H16.9797L0.000720228 40H9.9546L26.9336 0Z",fill:"currentColor"})})}},86472:(e,t,l)=>{l.d(t,{F:()=>r});function r(e){var t;let l,r;return e&&e.root&&Array.isArray(e.root.children)?(t=e.root.children,l=[],(r=e=>{for(let t of e)"text"in t&&"string"==typeof t.text&&l.push(t.text),"children"in t&&Array.isArray(t.children)&&r(t.children)})(t),l.join(" ").replace(/\s+/g," ").trim()):""}},88595:(e,t,l)=>{l.d(t,{LocationsDistributorsMapClient:()=>g});var r=l(67770),a=l(71122),s=l(82518),n=l(69774),i=l(24302),o=l(90968),c=l(79335);function d({item:e,copy:t,onClose:l,onContact:a}){let s="location"===e.type?t.locationLabel:t.distributorLabel,n="location"===e.type?t.contactThisLocation:t.contactThisDistributor,m=e.email?`mailto:${e.email}`:e.number?`tel:${e.number.replace(/\s+/g,"")}`:"#";return(0,r.jsxs)("div",{className:"relative w-[min(276px,calc(100vw-40px))] border border-pgrey bg-white p-5 text-body",children:[(0,r.jsx)("button",{type:"button","aria-label":t.closeLocationDetail
1s,onClick:l,className:"absolute top-2.5 right-2.5 flex size-5 items-center justify-center",children:(0,r.jsx)(i.oL,{})}),(0,r.jsx)(c.X,{className:"mb-5",labelClassName:"font-moderat text-sm",size:"map",children:s}),(0,r.jsxs)("div",{className:"font-moderat space-y-5 pr-8",children:[(0,r.jsx)("h3",{className:"font-display text-[25px] leading-none font-normal text-primary",children:e.title}),e.address?(0,r.jsx)("p",{className:"text-base leading-[1.4] font-light whitespace-pre-line text-[#22201F]",children:e.address}):null,e.number?(0,r.jsx)("div",{className:"space-y-2.5",children:(0,r.jsx)("a",{href:`tel:${e.number.replace(/\s+/g,"")}`,className:"block text-base leading-[1.4] font-bold text-primary no-underline",children:e.number})}):null]}),a?(0,r.jsx)(o.$n,{type:"button",tone:"pgrey",className:"font-moderat mt-5 font-normal",onClick:()=>a(e),children:n}):(0,r.jsx)(o.vx,{href:m,tone:"pgrey",className:"font-moderat mt-5 font-normal",children:n})]})}let m={lat:13.81376,lng:26.85156},u="google-maps-js-api",p=null;function x(){return window.google?.maps}function h(e,t,l=!1){let r="location"===t;if(l){let l=r?32:34,a=r?38:30;return{url:new URL("location"===t?"/map/location-marker-active.svg":"/map/distributor-marker-active.svg",window.location.origin).toString(),scaledSize:new e.Size(l,a),anchor:new e.Point(l/2,a)}}let a=r?i.Ar:i.A5,s=r?21:34,n=r?25:30;return{url:`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(a)}`,scaledSize:new e.Size(s,n),anchor:new e.Point(s/2,n)}}function g({apiKey:e,copy:t,locations:l}){let o=(0,a.useRef)(null),c=(0,a.useRef)(null),f=(0,a.useRef)([]),v=(0,a.useRef)(null),y=(0,a.useRef)(null),[j,b]=(0,a.useState)(null),w=(0,a.useRef)(j),[N,k]=(0,a.useState)(!1),[S,C]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{w.current=j},[j]),(0,a.useEffect)(()=>{if(!e||!o.current)return;let t=!1;return(x()?Promise.resolve():p||(p=new Promise((t,l)=>{let r=document.getElementById(u);if(r){r.addEventListener("load",()=>t(),{once:!0}),r.addEventListener("error",()=>l(Error("Google Maps failed to load")),{once:!0});return}let a=document.createElement("script");a.id=u,a.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(e)}`,a.async=!0,a.defer=!0,a.addEventListener("load",()=>t(),{once:!0}),a.addEventListener("error",()=>l(Error("Google Maps failed to load")),{once:!0}),document.head.appendChild(a)}))).then(()=>{let e=x();e&&!t&&o.current&&(c.current=new e.Map(o.current,{center:m,zoom:2.62,isFractionalZoomEnabled:!0,mapTypeControl:!1,streetViewControl:!1,fullscreenControl:!0}),k(!0))}).catch(()=>C(!0)),()=>{t=!0}},[e]),(0,a.useEffect)(()=>{let e=x(),t=c.current;if(N&&e&&t&&(f.current.forEach(({marker:e})=>e.setMap(null)),f.current=[],l.length))return l.forEach(l=>{let r={lat:l.latitude,lng:l.longitude},a=new e.Marker({map:t,position:r,title:l.title,icon:h(e,l.type,w.current?.id===l.id),zIndex:w.current?.id===l.id?1e3:1});a.addListener("click",()=>{b({...l,position:r}),"location"===l.type&&(0,n.Cf)({location:l.title,selectGeneralEnquiry:!0})}),f.current.push({item:l,marker:a})}),()=>{f.current.forEach(({marker:e})=>e.setMap(null)),f.current=[]}},[N,l]),(0,a.useEffect)(()=>{let e=x();N&&e&&0!==f.current.length&&f.current.forEach(({item:t,marker:l})=>{let r=j?.id===t.id;l.setIcon(h(e,t.type,r)),l.setZIndex(r?1e3:1)})},[N,j]),(0,a.useEffect)(()=>{let e=x(),l=c.current;if(!N||!e||!l||(v.current?.setMap(null),v.current=null,y.current=null,!j))return;let a=new e.OverlayView,i=document.createElement("div"),m=!1;return i.style.position="absolute",i.style.transform="translate(-50%, calc(-100% - 44px))",i.style.zIndex="10",l.panTo(j.position),a.onAdd=()=>{let e=a.getPanes();if(!e)return;e.floatPane.appendChild(i);let l=(0,s.createRoot)(i);y.current=l,l.render((0,r.jsx)(d,{item:j,copy:t,onClose:()=>b(null),onContact:e=>{(0,n.Cf)({location:"location"===e.type?e.title:"",selectGeneralEnquiry:!0,scroll:!0}),(0,n.FU)(),queueMicrotask(()=>b(null))}}))},a.draw=()=>{let t=a.getProjection().fromLatLngToDivPixel(new e.LatLng(j.position.lat,j.position.lng));t&&(i.style.left=`${t.x}px`,i.style.top=`${t.y}px`,!m&&o.current&&(m=!0,window.setTimeout(()=>{window.requestAnimationFrame(()=>{o.current&&function({element:e,map:t,mapElement:l,pinClearancePx:r}){let a=e.getBoundingClientRect(),s=l.getBoundingClientRect(),n=0,i=0;a.left<s.left+20?n=a.left-s.left-20:a.right>s.right-20&&(n=a.right-s.right+20),a.top<s.top+20?i=a.top-s.top-20:a.bottom+r>s.bottom-20&&(i=a.bottom+r-s.bottom+20),(0!==n||0!==i)&&t.panBy(n,i)}({element:i,map:l,mapElement:o.current,pinClearancePx:44})})},250)))},a.onRemove=()=>{let e=y.current;y.current=null,i.remove(),e&&queueMicrotask(()=>{e.unmount()})},a.setMap(l),v.current=a,()=>{a.setMap(null),v.current=null}},[t,N,j]),(0,r.jsx)("section",{className:"w-full bg-white py-[30px] md:py-[70px]",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"mb-8 flex items-center justify-center md:mb-12",children:(0,r.jsxs)("div",{className:"flex min-w-[131px] items-center justify-center gap-2 border-b-[3px] border-tertiary px-1 pb-2.5 text-base font-bold text-primary uppercase",children:[t.locationsTab," ",(0,r.jsx)(i.Nn,{})]})}),(0,r.jsxs)("div",{className:"relative h-[500px] w-full overflow-hidden bg-pgrey-light",children:[e?S?(0,r.jsx)("div",{className:"flex h-full w-full items-center justify-center px-5 text-center text-base font-bold text-primary",children:"Google Maps could not be loaded."}):null:(0,r.jsx)("div",{className:"flex h-full w-full items-center justify-center px-5 text-center text-base font-bold text-primary",children:"Google Maps API key is missing."}),(0,r.jsx)("div",{ref:o,className:"h-full w-full"})]})]})})}},91724:(e,t,l)=>{l.d(t,{A:()=>a}),l(67770);var r=l(36582);function a(e,{tag:t="h1",size:l="leaderboard",className:s}={}){let n=e.trim(),i=n.length,o=Math.max(0,...n.split(/\s+/).map(e=>e.length)),c=i>90||o>16,d=i>55||o>12,m="h3"===t?"text-h3":"h2"===t?"text-h2":"text-h1 leading-[1.15]",u="card"===l?c?"text-[24px] leading-[1.15] md:text-[28px]":d?"text-h3 leading-[1.1] md:text-[36px]":"text-h3 leading-[1.1] md:text-[40px] md:leading-none":c?"text-[28px] leading-[1.1] md:text-[34px] md:leading-9":d?`${m} md:text-[44px] md:leading-[46px]`:`${m} md:text-[60px] md:leading-[60px]`;return(0,r.cn)("display min-w-0 max-w-full text-balance break-words hyphens-auto text-primary",u,s)}},94699:(e,t,l)=>{l.d(t,{H:()=>p});var r=l(67770),a=l(27189),s=l.n(a),n=l(23878),i=l(36582),o=l(70754),c=l(8802),d=l(90968),m=l(522);let u=["text-left","image-left","banner","image-left","text-left"];function p({index:e,section:t}){let l=u[e%u.length];if("banner"===l)return(0,r.jsx)(x,{section:t});let a="text-left"===l;return(0,r.jsx)("section",{id:t.id,className:(0,i.cn)(a?"bg-pgrey/25":"bg-white"),children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"grid grid-cols-12 items-start gap-y-8 py-8 md:items-center md:gap-x-12 md:py-[50px] lg:gap-x-16",children:[(0,r.jsx)("div",{className:(0,i.cn)("order-2 col-span-12 md:col-span-6",a?"md:order-1":"md:order-2 md:col-start-7"),children:(0,r.jsx)(h,{section:t})}),(0,r.jsx)("div",{className:(0,i.cn)("order-1 col-span-12 md:col-span-6",a?"md:order-2 md:col-start-7":"md:order-1"),children:(0,r.jsx)(g,{imageUrl:t.imageUrl,title:t.title})})]})})})}function x({section:e}){return(0,r.jsxs)("section",{id:e.id,className:"relative bg-white md:flex md:min-
1h-[500px] md:items-center md:py-[50px]",children:[(0,r.jsx)(g,{imageUrl:e.imageUrl,title:e.title,variant:"banner",className:"h-[280px] w-full object-cover md:absolute md:inset-0 md:h-full"}),(0,r.jsx)("div",{className:"relative z-10 container -mt-[140px] pb-8 md:mt-0 md:py-[50px]",children:(0,r.jsxs)("div",{className:"relative bg-white max-md:px-5 max-md:pt-5 md:w-1/2 md:py-[50px] md:pr-[30px]",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 left-[calc(50%-50vw)] hidden bg-white md:block","aria-hidden":"true"}),(0,r.jsx)(h,{section:e})]})})]})}function h({section:e}){let t=(0,n.usePathname)()||"/",l=(0,o.NI)(e.buttonText,(0,c.lu)(t));return(0,r.jsxs)("div",{className:"relative grid grid-cols-12 gap-y-7.5",children:[(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsx)("h2",{className:"font-fenice text-h2 text-primary",children:e.title}),e.description?(0,r.jsx)("div",{className:"mt-4 md:mt-6",children:(0,r.jsx)(m.h,{value:e.description,className:"text-base text-primary/80",wrapperClassName:"space-y-3"})}):null,(0,r.jsx)("div",{className:"mt-5",children:(0,r.jsx)(d.vx,{href:e.href,tone:"pgrey",variant:"default",children:l})})]}),e.subItems.length>0?(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)("div",{className:"grid grid-cols-2 gap-x-[15px] pt-2.5 md:gap-x-[30px]",children:e.subItems.map((t,l)=>{let a=l>=e.subItems.length-2;return(0,r.jsxs)(s(),{href:t.href,className:(0,i.cn)("group flex min-h-12 items-center justify-between gap-3 border-t border-pgrey py-3 text-base font-medium text-primary no-underline",a&&"border-b"),children:[(0,r.jsx)("span",{children:t.label}),(0,r.jsx)(d.a2,{className:"text-tertiary"})]},t.slug)})})}):null]})}function g({className:e,imageUrl:t,title:l,variant:a="split"}){return(0,r.jsx)("div",{className:(0,i.cn)("relative overflow-hidden bg-pgrey","split"===a&&"aspect-[582/325] md:aspect-auto md:h-[325px]","banner"===a&&"bg-tertiary/40",e),children:t?(0,r.jsx)("img",{src:t,alt:"",className:"size-full object-cover"}):(0,r.jsx)("span",{className:"sr-only",children:l})})}},97820:(e,t,l)=>{l.d(t,{a:()=>g});var r=l(67770),a=l(27189),s=l.n(a),n=l(36582),i=l(70754),o=l(64428),c=l(8802),d=l(42758),m=l(3748),u=l(24302),p=l(75677);function x({type:e,date:t,locale:l}){return(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-2 text-base font-medium text-primary",children:[(0,r.jsx)("span",{children:e}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-secondary",children:"/"}),(0,r.jsx)("time",{dateTime:new Date(t).toISOString(),children:(0,d.ku)(t,l)})]})]})}function h({post:e,locale:t}){let l="object"==typeof e.location&&e.location?e.location.title:null,a=(0,o.z)({...e,locale:t}),s=!!(l||a.date);return(0,r.jsxs)("div",{className:"mt-3 text-base font-medium text-primary",children:[s&&(0,r.jsxs)("p",{children:[l,l&&a.date&&(0,r.jsx)("span",{className:"text-secondary",children:" / "}),a.date,a.time&&(0,r.jsx)("span",{className:"text-secondary",children:" /"})]}),a.time&&(0,r.jsxs)("p",{className:s?"mt-0":void 0,children:[!s&&(0,r.jsx)("span",{className:"text-secondary",children:"/ "}),a.time]})]})}function g({post:e,collection:t="posts",locale:l=c.Xn,variant:a="alt",typeLabel:o}){let d=(0,m.hI)(t,e.slug,l),f=e.image,v="alt"===a,y="insights"!==t;return(0,r.jsxs)("article",{className:"group flex h-full flex-col",children:[(0,r.jsx)("div",{className:(0,n.cn)("p-5 pb-0",v&&"bg-pgrey-light"),children:f&&(0,r.jsx)(s(),{href:d,"aria-label":`Read more about ${e.title}`,className:"relative block aspect-[3/2] w-full shrink-0 overflow-hidden bg-white no-underline",children:(0,r.jsx)(p.Q,{resource:f,size:"thumbnail",fill:!0,className:"object-cover"})})}),(0,r.jsxs)("div",{className:(0,n.cn)("flex flex-1 flex-col px-5 pt-5 pb-5",v&&"bg-pgrey-light"),children:[(0,r.jsx)("h3",{className:"display text-primary",children:(0,r.jsx)(s(),{href:d,className:"text-current no-underline",children:e.title})}),"events"===t?(0,r.jsx)(h,{post:e,locale:l}):(0,r.jsx)(x,{type:o?.trim()||function(e,t){let l=(0,i.xU)(t);switch(e){case"posts":return l.news;case"events":return l.events;case"insights":return l.insights;case"projects":return l.project}}(t,l),date:y?e.publishedAt:null,locale:l}),e.summary&&(0,r.jsx)("p",{className:"mt-5 text-base",children:e.summary}),(0,r.jsx)(s(),{href:d,"aria-label":`Read more about ${e.title}`,className:"mt-auto inline-flex self-start pt-7 text-tertiary no-u
1nderline transition-transform duration-200 ease-out hover:translate-x-1 hover:-translate-y-1 focus-visible:outline-offset-4 motion-reduce:transition-none",children:(0,r.jsx)(u.Qq,{})})]})]})}},99302:(e,t,l)=>{l.d(t,{ListingCardsClient:()=>d});var r=l(67770),a=l(47426),s=l(17951),n=l(36582),i=l(50019),o=l(11250),c=l(31157);function d({introContent:e,centerIntroContent:t,settings:l,cards:m}){let u=m??[],p=(e,t)=>(0,r.jsx)(i.l,{image:e.listingImage,summary:e.listingSummary,index:t,cta:!0===e.addCta?e.cta:null},e.id??t);return(0,r.jsx)(s.m,{settings:l,containerClassName:"relative overflow-hidden",children:(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-y-2 md:gap-y-7.5",children:[e&&(0,r.jsx)("div",{className:`col-span-12 ${t&&"md:col-span-8 md:col-start-3"}`,children:(0,r.jsx)(c.s,{data:e})}),(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsx)("div",{className:`overflow-visible ${e?"pt-12":"pt-5"} md:hidden`,children:(0,r.jsx)(a.RC,{slidesPerView:1.3,spaceBetween:20,className:"!overflow-visible",children:u.map((e,t)=>(0,r.jsx)(a.qr,{className:"h-auto",children:p(e,t)},e.id??t))})}),(0,r.jsx)(o.d,{className:(0,n.cn)("hidden pt-10 md:grid md:gap-5",2===u.length?"md:grid-cols-2":"md:grid-cols-3"),children:u.map(p)})]})]})})}},99476:(e,t,l)=>{l.d(t,{x:()=>i});var r=l(67770),a=l(71122),s=l(36582),n=l(24302);function i({items:e,title:t}){let[l,o]=(0,a.useState)(e[0]?.id),[c,d]=(0,a.useState)(100);return((0,a.useEffect)(()=>{if(0===e.length)return;let t=()=>{let e=document.querySelector("[data-site-header]");e&&d(e.getBoundingClientRect().height)},l=()=>{let t=c+40,l=e[0]?.id;for(let r of e){let e=document.getElementById(r.id);if(e)if(e.getBoundingClientRect().top<=t)l=r.id;else break}window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2&&(l=e[e.length-1]?.id??l),o(l)};return t(),l(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",t),window.addEventListener("resize",l),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",t),window.removeEventListener("resize",l)}},[c,e]),0===e.length)?null:(0,r.jsx)("nav",{"aria-label":"Listing sections",className:'sticky z-40 hidden h-[60px] bg-tertiary lg:block [html[lang^="de"]_&]:h-[80px]',style:{top:c},children:(0,r.jsx)("div",{className:"container h-full",children:(0,r.jsxs)("div",{className:"flex h-full items-stretch justify-center overflow-x-auto",children:[(0,r.jsx)("p",{className:"flex h-full items-center pr-4 text-[18px] leading-none font-bold text-white",children:t}),(0,r.jsx)("ul",{className:"flex h-full items-stretch",children:e.map(e=>{let t=l===e.id;return(0,r.jsx)("li",{className:'flex [html[lang^="de"]_&]:max-w-[250px]',children:(0,r.jsxs)("a",{href:`#${e.id}`,onClick:t=>{t.preventDefault(),o(e.id),function(e,t){let l=document.getElementById(e);if(!l)return;let r=l.getBoundingClientRect().top+window.scrollY-t;window.history.pushState(null,"",`#${e}`),window.scrollTo({top:r,behavior:"smooth"})}(e.id,c)},className:(0,s.cn)("group relative z-10 flex h-full items-center px-4 text-[18px] leading-none font-light text-white no-underline transition-colors hover:bg-pgrey hover:text-primary hover:no-underline",t&&"bg-pgrey text-primary"),children:[(0,r.jsx)("span",{className:'[html[lang^="de"]_&]:break-all',children:e.label}),(0,r.jsx)(n.UL,{className:(0,s.cn)("ml-2 text-pgrey transition-colors group-hover:text-tertiary",t&&"text-tertiary")})]})},e.id)})})]})})})}}}]);
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.