1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66],{0:(e,t,a)=>{a.d(t,{DH:()=>i,Kq:()=>l,PI:()=>n,Tm:()=>s,Zs:()=>c,bs:()=>r,lt:()=>m,nY:()=>u,o_:()=>d,w5:()=>o});let l="company",i="country",r="customerNetUserId",s="email",n="form",o="message",d="name",c="captcha",u="req",m="subject"},66:(e,t,a)=>{a.r(t),a.d(t,{DynamicBorderContent:()=>o});var l=a(7876),i=a(4825),r=a(7273),s=a(4232),n=a(7949);let o=e=>{let{children:t,backgroundImage:a,focalpoint:o,id:d,className:c,frequency:u,position:m}=e,{page:h}=(0,i.M5)(),p={auto:h?.mode?.isEditing?"pointer-events-auto":"",none:h?.mode?.isEditing?"pointer-events-none":""},[g,x]=(0,s.useState)(0),[v,f]=(0,s.useState)(1),b=(0,s.useRef)(null),j=(0,s.useRef)(null),E=(0,s.useCallback)(()=>{let e=b.current?.getBoundingClientRect()?.top??0,t=j.current?.getBoundingClientRect()?.top??0,a=j.current?.getBoundingClientRect()?.height??0,l=window.innerHeight/2+470,i=Math.min(Math.max((t+a/2-l)/(t-e+a/2-l),0),1);x(.7*(1-i)),f(i)},[f,x]);return(0,s.useEffect)(()=>(window.addEventListener("scroll",E,{passive:!0}),()=>{window.removeEventListener("scroll",E)}),[E]),(0,l.jsxs)("div",{ref:b,className:c??"",children:[(0,l.jsx)("div",{className:`left-0 top-0 z-0 h-screen ${h?.mode?.isEditing?"relative":"sticky"}`,children:(0,l.jsxs)("div",{className:"absolute left-0 top-0 h-full w-full",children:[(0,l.jsx)("div",{className:`absolute h-full w-full bg-color-black ${p.none}`,style:{opacity:h?.mode?.isEditing?.7:g}}),(0,l.jsx)(r._,{field:a,title:a?.value?.alt,alt:a?.value?.alt,srcSet:h?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:h?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:"h-full w-full object-cover",style:o?{objectPosition:o}:{}}),u&&m&&(0,l.jsx)(n.RasteredGrid,{position:m,frequency:u}),!h?.mode?.isEditing&&(0,l.jsxs)("div",{className:`absolute top-0 h-full w-full ${p.none}`,children:[(0,l.jsx)("div",{className:"absolute top-0 h-8 w-full origin-top bg-color-white lg:h-13 xl:h-19",style:{transform:`scale(1, ${v})`}}),(0,l.jsx)("div",{className:"absolute right-0 h-full w-8 origin-right bg-color-white lg:w-13 xl:w-19",style:{transform:`scale(${v}, 1)`}}),(0,l.jsx)("div",{className:"absolute bottom-0 h-8 w-full origin-bottom bg-color-white lg:h-13 xl:h-19",style:{transform:`scale(1, ${v})`}}),(0,l.jsx)("div",{className:"absolute left-0 h-full w-8 origin-left bg-color-white lg:w-13 xl:w-19",style:{transform:`scale(${v}, 1)`}})]})]})}),(0,l.jsx)("div",{className:`box z-20 flex h-screen items-center ${p.none} ${h?.mode?.isEditing?"absolute top-0":"relative"}`,id:d,children:(0,l.jsx)("div",{className:"w-full",ref:j,children:t})})]})}},85:(e,t,a)=>{a.d(t,{Jy:()=>l,iZ:()=>r,tb:()=>i});let l=()=>{let e=new Set;e.add("www.asml.com"),e.add(window.location.hostname);let t="https://www.asml.com";if(t)try{let a=new URL(t).hostname;e.add(a)}catch{}return e},i=(e,t)=>{if(!e)return!1;if(e.startsWith("http://")||e.startsWith("https://"))try{let a=new URL(e);if(!l().has(a.hostname))return!0;let i=(e=>{try{let t=new URL(e).pathname.split("/")[1];if(!t)return null;return/^[a-z]{2}(-[a-z]{2})?$/i.test(t)?t.toLowerCase():null}catch{return null}})(e),r=t??null;if(i&&r&&i!==r)return!0}catch{return!0}return!1},r=e=>{if(!e)return"_blank";if(e.startsWith("/"))return"_self";try{let t=new URL(e),a=l();if(a.add("investor.asml.com"),a.has(t.hostname))return"_self"}catch{}return"_blank"}},151:(e,t,a)=>{a.r(t),a.d(t,{getChartDescription:()=>l});let l=e=>{let{dataSource:t,unit:a,isStackedBarChart:l,heading:i,stackedLabels:r}=e;if(!t||0===t.length)return"";let s=[i];return t.forEach((e,t)=>{let i=l&&r?e.label.data.value||r[t]||"":e.label.data.value||"",n=""!==i?`${i}: `:"",o=[],d=Number(e.value.data.value)||0,c=e.legendTitle?.data?.value||e.label?.data?.value||"";l?(0!==d&&(c?o.push(`${c}: ${d}${a}`):o.push(`${d}${a}`)),e.children.results.length>
10&&e.children.results.forEach(e=>{let t=e.legendTitle?.data?.value||"",l=Number(e.value.data.value)||0;t&&0!==l&&o.push(`${t}: ${l}${a}`)}),o.length>0?s.push(`${n}${o.join(", ")}.`):s.push(`${n.trim()}`)):0!==d?c?s.push(`${n}${c}: ${d}${a}.`):s.push(`${n}${d}${a}.`):s.push(`${n.trim()}`)}),s.join(" ")}},272:(e,t,a)=>{a.d(t,{t:()=>l});function l({value:e,ms:t,onTick:a,instantTick:i=!0}){return new Promise(l=>{let r=0;i&&(a(r,e),r+=1);let s=setInterval(()=>{a(r,e),(r+=1)>=e&&(clearInterval(s),l())},t)})}},276:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var l=a(7876),i=a(4825),r=a(9228),s=a(6631),n=a(2650),o=a(2769),d=a(6479);let c=e=>{let{apiResult:t,rendering:a,params:c}=e,u=c?.RenderingIdentifier??void 0,m=(0,o.N)(c),{page:h}=(0,i.M5)(),{t:p}=(0,n.s9)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"aria-live":"polite",id:u,className:`component py-12 ${m}`,children:(void 0!==t||h?.mode?.isEditing)&&(0,l.jsx)("div",{className:"guttered-box",children:(0,l.jsx)("div",{className:"guttered",children:(0,l.jsxs)("div",{className:"fluid-grid gap-y-8",children:[(204===t||h?.mode?.isEditing)&&(0,l.jsx)(r.O,{name:"unsubscribe-successful",rendering:a}),(204!==t||h?.mode?.isEditing)&&(0,l.jsx)(r.O,{name:"unsubscribe-unsuccessful",rendering:a})]})})})}),void 0===t&&!h?.mode?.isEditing&&(0,l.jsx)(s.Loader,{loadingMessage:p(d.A.ACC_UNSUBSCRIBE_IN_PROGRESS)})]})}},297:(e,t,a)=>{a.r(t),a.d(t,{SectionNavigationMobileMenu:()=>c});var l=a(7876),i=a(4825),r=a(5401),s=a(2650),n=a(6479),o=a(9466),d=a(9099);let c=e=>{let{menuItems:t}=e,{t:a}=(0,s.s9)(),{page:c}=(0,i.M5)(),u=(0,d.useRouter)(),m=e=>e.title?.value?e.title?.value?.toString():"";return 0===t.length?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)("div",{className:"quick-link-list relative z-20 col-span-12 bg-color-white sm:hidden",children:(0,l.jsx)("div",{className:"guttered-box",children:(0,l.jsx)("div",{className:"guttered",children:(0,l.jsxs)("nav",{"aria-label":a(n.A.ACC_NAV_QUICKLINKS),children:[(0,l.jsx)(r.E,{className:"quick-link-list-title",field:{value:a(n.A.ACC_NAV_QUICKLINKS)},tag:"h3"}),(0,l.jsx)("ul",{className:"quick-links-container",children:t.map((e,t)=>(0,l.jsx)("li",{className:"quick-link-container",children:(0,l.jsx)("a",{href:"#"+e.anchor,id:"menu-"+e.anchor+"-section","data-section-menu-index":t,onClick:()=>((e,t)=>{if(c?.mode.isEditing)return;let a=document.getElementById(e+"-section");a&&a.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}),(0,o.NL)(t,"section-mobile-navigation","navigation",u.asPath.substring(1).split("#")[0].split("/").join(":").toLowerCase())})(e.anchor,m(e)),className:'className="quick-link"',children:(0,l.jsx)("span",{className:"quick-link-text",children:m(e)})})},"annualreport__menu-item--"+e.anchor))})]})})})})}},369:(e,t,a)=>{a.r(t),a.d(t,{ConditonalWrapper:()=>l});let l=({condition:e,wrapper:t,children:a})=>e?t(a):a},443:(e,t,a)=>{a.r(t),a.d(t,{SectionNavigationMenu:()=>h});var l=a(7876),i=a(4825),r=a(8359),s=a(4232),n=a(2650),o=a(6479),d=a(9149),c=a.n(d),u=a(9466),m=a(9099);let h=e=>{let{menuItems:t}=e,[a,d]=(0,s.useState)(null),{page:h}=(0,i.M5)(),p=(0,m.useRouter)(),g=(0,s.useRef)(null),x=(0,s.useRef)(null),v=(0,s.useRef)(null),f=(0,s.useRef)(null),[b,j]=(0,s.useState)(!1),[E,N]=(0,s.useState)(!1),w=(0,s.useRef)(E),[y,_]=(0,s.useState)(!0),[A,S]=(0,s.useState)(!0),C=(0,s.useRef)(null),T=(0,s.useRef)(null),{t:I}=(0,n.s9)();(0,s.useEffect)(()=>{w.current=E},[E]);let L=e=>e.title?.value?e.title?.value?.toString():"",k=(0,s.useCallback)(()=>{let e=document.getElementById("content")?.querySelectorAll('[id]:not([id=""])');e&&e.forEach(e=>{let t=e.getAttribute("id");t&&-1===t.indexOf("section")&&(e.style.scrollMarginTop="280px")})},[]);(0,s.useEffect)(()=>{if(!h?.mode?.isEditing){let e=window.location.hash;if(e){k();let t=setTimeout(()=>{let t=e.substring(1,e.length)+"-section",a=document.getElementById(t);a&&a.scrollIntoView({behavior:"smooth",block:"start",inline:"start"})},100);return()=>clearTimeout(t)}}},[]),(0,s.useEffect)(()=>{if(h?.mode?.isEditing)return;let e=document.getElementsByClassName("main-header")[0];e&&e?.style?.setProperty("transform","unset");let t=document.querySelector("#sub-nav-container");t?g.current&&t.appendChild(g.current):j(!0)},[h?.mode?.isEditing]);let R=(0,s.useCallback)(e=>{let t=!e[0].isIntersecting;t?a?.classList.add("sm:rounded-bl-none"):a?.classList.remove("sm:rounded-bl-none"),N(t)},[a]);(0,s.useEffect)(()=>
1{if(!h?.mode?.isEditing){if(E&&t.length>0){let e={threshold:1},t=new IntersectionObserver(e=>{e.forEach(e=>{_(e.isIntersecting)})},e),a=new IntersectionObserver(e=>{e.forEach(e=>{S(e.isIntersecting)})},e);return setTimeout(()=>{C.current&&t.observe(C.current),T.current&&a.observe(T.current)},300),()=>{_(!0),S(!0),t.disconnect(),a.disconnect()}}return()=>{}}},[E]),(0,s.useEffect)(()=>{if(h?.mode?.isEditing)return;let e=document.getElementsByClassName("hero-banner"),t=new IntersectionObserver(R,{threshold:.4});return e&&e[0]&&t.observe(e[0]),()=>{t.disconnect()}},[R]),(0,s.useEffect)(()=>{if(h?.mode?.isEditing)return;let e=new MutationObserver(()=>{let t=document.querySelector(".sub-nav-rounded");t&&(d(t),e.disconnect())});return e.observe(document.body,{childList:!0,subtree:!0}),()=>e.disconnect()},[]);let $=(0,s.useCallback)(c()(()=>{let e=document.querySelectorAll(".section-nav-content"),t=0,a="";e.forEach(e=>{let l=e.getBoundingClientRect(),i=Math.max(l.top,0),r=Math.max(Math.min(l.bottom,window.innerHeight)-i,0);r>t&&(t=r,a=e.id)});let l=document.getElementById(a),i=v.current;if(f.current&&l&&i){let e=Array.from(document.querySelectorAll(".section-menu-item").entries()).find(([,e])=>e.children[0].children[0].id==="menu-"+a);if(!e)return;let t=e[1];w.current&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"});let l=t.getBoundingClientRect();i.style.left=l.x+f.current.scrollLeft-20+"px",i.style.width=l.width+"px"}},20),[]);if((0,s.useEffect)(()=>{if(!h?.mode?.isEditing)return window.addEventListener("scroll",$),()=>{window.removeEventListener("scroll",$)}},[$]),!t)return(0,l.jsx)(l.Fragment,{});let D=e=>{let t;if(h?.mode?.isEditing||!f.current)return;let a=document.querySelectorAll(".section-menu-item [data-section-menu-index]");if("left"==e){let e=Number.MIN_SAFE_INTEGER;a.forEach(a=>{let l=a.getBoundingClientRect().x-48;l<0&&l>e&&(e=l,t=a)})}else if("right"==e){let e=Number.MAX_SAFE_INTEGER;a.forEach(a=>{let l=a.getBoundingClientRect().left;if(l>0&&l<e){e=l,t=a;let i=a.getAttribute("data-section-menu-index");i&&(t=document.querySelector(".section-menu-item [data-section-menu-index='"+(+i+1)+"']"))}})}if(t){let e=t.getAttribute("data-section-menu-index");e&&0==+e&&f.current?f.current.scrollTo({left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}};return(0,l.jsx)("nav",{className:`z-100 col-span-12 hidden w-fit sm:block ${b?"fixed top-13 w-full":"section-nav-max-width absolute top-17"}`,ref:g,"aria-label":I(o.A.ACC_NAV_ANNUALREPORT_MENU),children:t?.length>0&&(0,l.jsxs)("div",{className:"items-center self-center p-3 sm:flex sm:pt-2",children:[(0,l.jsx)("div",{ref:x,className:`section-nav-shadow flex flex-row items-center overflow-hidden scroll-smooth rounded-b-2xl bg-color-black bg-opacity-70 backdrop-blur-md ${b?"mb-0 rounded-t-2xl":""}`,children:(0,l.jsxs)("div",{ref:f,className:`scrollbar-hide overflow-auto whitespace-nowrap px-2 transition-height duration-300 ${b||E?"h-12":"h-0"}`,children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{ref:C}),t.map((e,t)=>(0,l.jsx)("div",{className:"section-menu-item whitespace-nowrap",children:(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("a",{href:"#"+e.anchor,title:e.tooltip?.value,id:"menu-"+e.anchor+"-section","data-section-menu-index":t,onClick:()=>((e,t)=>{if(h?.mode?.isEditing)return;let a=document.getElementById(e+"-section");a&&a.scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),(0,u.NL)(t,"section-navigation","navigation",p.asPath.substring(1).split("#")[0].split("/").join(":").toLowerCase())})(e.anchor,L(e)),className:"sub-nav-focus-ring section-sub-nav-focus-ring flex scroll-ml-10 items-center gap-3 rounded-full px-4 pb-2 pt-3 text-base font-medium text-color-white transition-colors duration-200 hover:text-color-yellow",children:(0,l.jsx)("span",{className:"pointer-events-none",children:L(e)})})})},"annualreport__menu-item--"+e.anchor)),(0,l.jsx)("div",{ref:T}),"\xa0"]}),(0,l.jsx)("div",{className:"relative h-1 w-full",children:(0,l.jsx)("div",{ref:v,className:"absolute bottom-0 h-1 w-0 bg-color-white transition-all duration-300","aria-hidden":!0})})]})}),(0,l.jsxs)("div",{className:`z-10 block transition-opacity duration-200 ${E||b?"opacity-100":"opacity-0"}`,children:[(0,l.jsx)("button",{className:`left-paddle absolute bottom-0 left-2 top-2 m-2 ml-3 h-8 w-8 rounded-50 bg-color-white ${!y?"sub-nav-visible-animation":"sub-nav-invisible-animation"}`,onClick:()=>{h?.mode?.isEditing||D("left")},children:(0,l.jsx)(r.SVGIcon,{className:"fill-color-primary p-2",icon:"arrow-left"})}),(0,l.jsx)("button",{className:`right-paddle absolute bottom-0 right-2 top-2 m-2 mr-3 h-8 w-8 rounded-50 bg-color-white ${!A?"sub-nav-visible-animation":"sub-nav-invisible-animation"} `,onClick:()=>{h?.mode?.isEditing||D("right")},children:(0,l.jsx)(r.SVGIcon,{className:"fill-color-primary p-2",icon:"arrow-right"})})]})]})})}},464:(e,t,a)=>{a.d(t,{A:()=>s});var l=a(463),i=a(3380);class r extends i.I{constructor(e){super(e),this.initOptions=e}async getSiteMap(e,t){let a=e.siteName||this.initOptions.defaultSite,l=this.getGraphqlSitemapXMLService(a);if(e.id){let t=await l.getSitemap(e.id);if(!t)throw Error("REDIRECT_404");let a=await fetch(t);if(!a.ok)throw Error("REDIRECT_404");return await a.text()}let i=await l.fetchSitemaps(t);
1if(!i.length)throw Error("REDIRECT_404");let r=e.reqHost,s=e.reqProtocol,n=i.map(e=>{let t=e.split("/"),a=t[t.length-1],l=`${s}://${r}/${a}`.replace(/&/g,"&");return`<sitemap> 2 <loc>${l}</loc> 3 </sitemap>`}).join("");return`<?xml version="1.0" encoding="UTF-8"?> 4 <sitemapindex xmlns="http://sitemaps.org/schemas/sitemap/0.9" encoding="UTF-8">${n} 5 <sitemap> 6 <loc>${s}://${r}/en/job_posting-sitemap.xml</loc> 7 </sitemap></sitemapindex> 8 `}}let s=new r({...l.A})},691:(e,t,a)=>{a.d(t,{z:()=>s});var l=a(464),i=a(5364);let r=async(e,t,a)=>{let r={retries:i.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(i.env.GRAPH_QL_SERVICE_RETRIES,10)||0};try{return await l.A.getData(`{ 9 item(path:"${e}" language:"${t||"en"}") { 10 children(first:35, after:"${a}"){ 11 total 12 pageInfo{ 13 endCursor 14 hasNext 15 } 16 results { 17 label: field(name: "label") { 18 jsonValue 19 } 20 value: field(name: "value") { 21 jsonValue 22 } 23 } 24 } 25 } 26 }`,r)}catch(a){return console.error(`Error getting country dropdown options from: ${e} - language: ${t||"en"}`),console.error(a),null}},s=async e=>{let t={retries:i.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(i.env.GRAPH_QL_SERVICE_RETRIES,10)||0},a=[],s=[],n=[],o="/sitecore/content/asmlcom/asmlcom/Settings/Form Settings/Form Dropdowns/countries";try{let t=!1,l="",i=await r(o,e,l);for(i?.item?.children?.results&&(a=i.item.children.results,t=i.item.children.pageInfo?.hasNext,l=i.item.children.pageInfo?.endCursor);t;){t=!1;let i=await r(o,e,l);i?.item?.children?.results&&(a=a.concat(i.item.children.results),t=i.item.children.pageInfo?.hasNext,l=i.item.children.pageInfo?.endCursor)}}catch(t){console.error(`Error getting country dropdown options from: ${o} - language: ${e||"en"}`),console.error(t)}let d="/sitecore/content/asmlcom/asmlcom/Settings/Form Settings/Customer registration required fields";try{let a=await l.A.getData(`{ 27 item(path:"${d}" 28 language:"${e||"en"}") { 29 children(first:20){ 30 results{ 31 name 32 } 33 } 34 } 35 }`,t);a?.item?.children?.results&&(s=a?.item?.children?.results?.map(e=>e.name))}catch(t){console.error(`Error getting reguired fields from: ${d} - language: ${e||"en"}`),console.error(t)}try{let a=await l.A.getData(`{ 36 item(path:"/sitecore/content/asmlcom/asmlcom/Settings/Form Settings/Field lengths" 37 language:"${e||"en"}") { 38 children{ 39 results{ 40 name 41 length: field(name: "length") { 42 data: jsonValue 43 } 44 } 45 } 46 } 47 } 48 `,t);a?.item?.children?.results&&(n=a.item.children.results.map(e=>({name:e.name,length:Number.isInteger(Number.parseInt(e.length?.data?.value))?e.length.data.value:100})))}catch(t){console.error(`Error getting reguired fields from: ${d} - language: ${e||"en"}`),console.error(t)}return{countryOptions:a,requiredFields:s,fieldLengths:n}}},811:(e,t,a)=>{var l=a(5364);let i=a(9052),r=a(3711),{getPublicUrl:s}=a(3718),n=a(1071),o=s(),d=(l.env.SUPPORTED_LANGUAGES?l.env.SUPPORTED_LANGUAGES:"en").split(","),c=` 49 default-src 'self' ${l.env.SEC_HEADER_CSP_DOMAINS??""}; 50 script-src 'self' ${l.env.SEC_HEADER_SCRIPT_CSP_DOMAINS??""}; 51 child-src 'self' ${l.env.SEC_HEADER_CHILD_CSP_DOMAINS??""}; 52 style-src 'self' ${l.env.SEC_HEADER_STYLE_CSP_DOMAINS??""}; 53 img-src 'self' ${l.env.SEC_HEADER_IMG_CSP_DOMAINS??""}; 54 connect-src 'self' ${l.env.SEC_HEADER_CONNECT_CSP_DOMAINS??""}; 55 font-src 'self' ${l.env.SEC_HEADER_CSP_FONTS??""}; 56 ${l.env.SEC_HEADER_CSP_REPORT_URI?"report-uri "+l.env.SEC_HEADER_CSP_REPORT_URI:""}; 57 object-src 'none'; 58 base-uri 'self'; 59 frame-src 'self' ${l.env.SEC_HEADER_FRAME_CSP_DOMAINS??""}; 60 manifest-src 'self'; 61 media-src 'self' ${l.env.SEC_HEADER_MEDIA_CSP_DOMAINS??""}; 62 worker-src 'none'; 63`,u=l.env.SEC_HEADER_HSTS_MAXAGE,m=l.env.SEC_HEADER_HSTS_INCLUDESUBDOMAIN,h=l.env.SEC_HEADER_HSTS_PRELOAD,p=`${u?`max-age=${u};`:""} ${m?`${m};`:""} ${h?`${h};`:""}`;e.exports={assetPrefix:o,distDir:l.env.NEXTJS_DIST_DIR||".next",env:{PUBLIC_URL:o,iFrameDomains:l.env.SEC_HEADER_FRAME_CSP_DOMAINS},i18n:{locales:d,defaultLocale:l.env.DEFAULT_LANGUAGE||"default",localeDetection:!1},reactStrictMode:!0,poweredByHeader:!1,trailingSlash:!1,redirects:async()=>n,rewrites:async()=>[{source:"/healthz",destination:"/api/healthz"},{source:"/robots.txt",destination:"/api/robots"},{source:"/sitemap:id([\\w-]{0,}).xml",destination:"/api/sitemap"},{source:"/en/job_posting-sitemap.xml",destination:"/api/job-posting-sitemap",locale:!1}
63,{source:"/de-de/karriere/stellenangebote/:path",destination:"/de-de/careers/find-your-job/:path",locale:!1},{source:"/feaas-render",destination:"/api/editing/feaas/render"}],images:{dangerouslyAllowSVG:!0,contentSecurityPolicy:"default-src 'self'; script-src 'none'; sandbox;",domains:[],remotePatterns:[...l.env.SITECORE_EXPERIENCE_EDGE_HOSTNAME?[{protocol:l.env.SITECORE_EXPERIENCE_EDGE_HOSTNAME.match(/^https?/)?.[0],hostname:l.env.SITECORE_EXPERIENCE_EDGE_HOSTNAME.match(/:\/\/([A-Za-z0-9.-]+)/)?.[1],pathname:"/*/media/**"}]:[],{protocol:"https",hostname:"edge*.**",port:""},{protocol:"https",hostname:"xmc-*.**",port:""},{protocol:"https",hostname:"feaas*.blob.core.windows.net",port:""}]},headers:async()=>l.env.IS_EDITING_HOST?[]:[{source:"/:path*",headers:[{key:"Content-Security-Policy",value:c.replace(/\s{2,}/g," ").trim()},{key:"Strict-Transport-Security",value:p.replace(/\s{2,}/g," ").trim()},{key:"X-Frame-Options",value:l.env.SEC_HEADER_X_FRAME_OPTIONS??""},{key:"X-Content-Type-Options",value:l.env.SEC_HEADER_X_CONTENT_TYPE_OPTIONS??""},{key:"Referrer-Policy",value:l.env.SEC_HEADER_REFERRER_POLICY??""},{key:"Access-Control-Allow-Origin",value:"*"},{key:"Permissions-Policy",value:l.env.SEC_HEADER_PERMISSIONS_POLICY??""},{key:"Cross-Origin-Embedder-Policy",value:l.env.SEC_HEADER_COEP??"unsafe-none"},{key:"Cross-Origin-Opener-Policy",value:l.env.SEC_HEADER_COOP??"unsafe-none"}]}],experimental:{scrollRestoration:!0},webpack:(e,t)=>(t.isServer?e.externals=[{"@sitecore-feaas/clientside/react":"commonjs @sitecore-feaas/clientside/react","@sitecore/byoc":"commonjs @sitecore/byoc","@sitecore/byoc/react":"commonjs @sitecore/byoc/react"},...e.externals]:(e.resolve.fallback.fs=!1,e.resolve.fallback.child_process=!1,e.module.rules.unshift({test:/src\\components\\.*\.tsx$/,use:["@sitecore-content-sdk\\nextjs\\component-props-loader"]})),e),sassOptions:{importer:new r({"@sass":i.join("/","../../../assets","sass"),"@fontawesome":i.join("/","../../../../node_modules","font-awesome")}).getImporter(),quietDeps:!0,silenceDeprecations:["import","legacy-js-api"]}}},876:(e,t,a)=>{a.d(t,{F:()=>i,h:()=>l});let l=e=>e&&e?.value?.linktype!=="internal"?i(e)&&!!e?.value?.text:!!e&&e?.value?.linktype==="internal"&&i(e),i=e=>!!e?.value?.href&&"http://"!==e.value.href||!!e?.value?.anchor},898:(e,t,a)=>{a.r(t),a.d(t,{Switch:()=>i});var l=a(7876);let i=e=>e?(0,l.jsxs)("div",{className:`switch-button-container ${e?.className}`,children:[(0,l.jsx)("span",{className:"switch-button-label","aria-hidden":"true",children:e?.offLabel}),(0,l.jsx)("button",{type:"button",id:"cookieSwitch",className:"switch-button",onClick:e.onToggle,"aria-pressed":"false","aria-label":e?.ariaLabel,children:(0,l.jsx)("span",{className:"slider",role:"none"})}),(0,l.jsx)("span",{className:"switch-button-label","aria-hidden":"true",children:e?.onLabel})]}):(0,l.jsx)(l.Fragment,{})},990:(e,t,a)=>{a.d(t,{E:()=>r,u:()=>s});var l=a(4232);let i=(0,l.createContext)(2),r=()=>(0,l.useContext)(i),s=i.Provider},1071:e=>{e.exports=[{source:"/ko-kr",destination:"/en",permanent:!1,locale:!1,statusCode:302},{source:"/ko-kr/:path+",destination:"/en/:path+",permanent:!1,locale:!1,statusCode:302},{source:"/default/nl-nl",destination:"/en",statusCode:301,locale:!1},{source:"/default/nl-nl/:path+",destination:"/en/:path+",statusCode:301,locale:!1},{source:"/default/de",destination:"/de-de",permanent:!0,locale:!1},{source:"/default/de/:path+",destination:"/de-de/:path+",permanent:!0,locale:!1},{source:"/en/job-alert",destination:"/en/careers/job-alert",permanent:!0,locale:!1},{source:"/en/saved-jobs",destination:"/en/careers/saved-jobs",permanent:!0,locale:!1},{source:"/de-de/saved-jobs",destination:"/de-de/karriere/saved-jobs",permanent:!0,locale:!1},{source:"/en/careers/find-your-job/:first/:second/:third/:title",destination:"/en/careers/find-your-job/:title",permanent:!0,locale:!1},{source:"/de-de/karriere/stellenangebote/:first/:second/:third/:title",destination:"/de-de/karriere/stellenangebote/:title",permanent:!0,locale:!1},{source:"/default/karriere",destination:"/de-de/karriere",permanent:!0,locale:!1},{source:"/default/careers/job-categories/:path*",destination:"/en/careers/technical-fields/:path*",permanent:!0,locale:!1,statusCode:301}]},1263:(e,t,a)=>{a.r(t),a.d(t,{getFilterQuery:()=>r,jobFilterFields:()=>l});let l={SearchWidgetID:"SearchWidgetID",SourceID:"SourceID",jobIds:"job_id",country:"job_country",city:"job_city_state",technicalField:"job_te
63chnical_fields",experienceLevel:"job_experience_levels",degree:"job_degrees",team:"job_teams",type:"job_type",educationalBackground:"job_educational_backgrounds"},i=["jobIds","SearchWidgetID"],r=e=>{let{jobIds:t}=e,a=[];if(t.value)a.push({name:"job_id",values:t.value.toString().split("|").map(e=>e.trim())});else{let t={...l};i.forEach(e=>delete t[e]);let r=["degree","educationalBackground","experienceLevel","team","technicalField","type"];Object.keys(t).forEach(t=>{if(r.filter(e=>e==t.toString()).length>0){if(e[t]){let i=e[t];i.length>0&&a.push({name:l[t.toString()],values:i.map(e=>e.fields?.facetValue?.value||"")})}}else e[t].value&&t.toString()&&a.push({name:l[t.toString()],values:e[t]?.value?.toString()?.split("|").map(e=>e.trim())})})}return a}},1391:(e,t,a)=>{a.r(t),a.d(t,{Robots:()=>n});var l=a(7876),i=a(7328),r=a.n(i),s=a(5364);let n=e=>{let t=e.noIndex?.value?"noindex":"index",a=e.noFollow?.value?"nofollow":"follow";return"true"===s.env.NEXT_PUBLIC_FORCE_NO_INDEX&&(t="noindex",a="nofollow"),(0,l.jsx)(r(),{children:(0,l.jsx)("meta",{name:"robots",content:`${t},${a}`})})}},1457:(e,t,a)=>{a.r(t),a.d(t,{fieldSchema:()=>i});var l=a(3062);let i={region:[{name:"region",fieldType:l.s.radiolist}],focusArea:[{name:"focusArea",fieldType:l.s.checkboxlist}],organization:[{name:"organization",fieldType:l.s.input},{name:"organizationAddress",fieldType:l.s.input},{name:"chamberOfCommerceNr",fieldType:l.s.input},{name:"foundingYear",fieldType:l.s.input},{name:"contactPerson",fieldType:l.s.input},{name:"salutation",fieldType:l.s.dropdown},{name:"phone",fieldType:l.s.input},{name:"emailAddress",fieldType:l.s.email},{name:"website",fieldType:l.s.input},{name:"asmlRelation",fieldType:l.s.radiolist,fieldSubType:l.s.boolean},{name:"relationExplained",fieldType:l.s.textarea}],project:[{name:"projectName",fieldType:l.s.input},{name:"projectWebsite",fieldType:l.s.input},{name:"projectLocation",fieldType:l.s.input},{name:"projectDescription",fieldType:l.s.textarea},{name:"projectAudience",fieldType:l.s.input},{name:"participants",fieldType:l.s.input},{name:"whySponsor",fieldType:l.s.textarea},{name:"projectDateStart",fieldType:l.s.datepicker},{name:"projectDateEnd",fieldType:l.s.datepicker},{name:"currency",fieldType:l.s.radiolist},{name:"projectBudget",fieldType:l.s.number},{name:"requestedAmount",fieldType:l.s.number},{name:"otherSponsors",fieldType:l.s.input},{name:"deliveryMeasures",fieldType:l.s.textarea},{name:"riskMeasures",fieldType:l.s.textarea},{name:"governmentApprovalNeeded",fieldType:l.s.radiolist,fieldSubType:l.s.boolean},{name:"approvalDescription",fieldType:l.s.textarea},{name:"additionalComments",fieldType:l.s.textarea}]}},1668:(e,t,a)=>{a.r(t),a.d(t,{HeaderSearchBar:()=>w,QuickSearchBar:()=>_,SiteSearchBar:()=>y});var l=a(7876),i=a(4232),r=a(9099),s=a(4285),n=a(4825),o=a(5401),d=a(7782),c=a(8595),u=a(6350),m=a(8529),h=a(4940),p=a(2432),g=a(2650),x=a(2146),v=a(6479),f=a(3706),b=a(6422);let j="icon",E="text",N=({searchBarVariant:e,placeholder:t,action:a,buttonDisplay:N,buttonType:w,id:y,retainKeyword:_,retainQueryStrings:A,alwaysShowIcon:S})=>{let C=(0,s.$A)(),T=(0,r.useRouter)(),[I,L]=(0,i.useState)(""),{page:k}=(0,n.M5)(),{defaultSorting:R,showBanner:$,setShowBanner:D}=C,{sortByParam:O,queryParam:F}=u.A,M="search_term_string",P=(0,g.s9)().locale(),{t:V}=(0,g.s9)(),B=(0,f.a)(b.p.lg);(0,i.useEffect)(()=>{let e=(0,c.xs)(F,window?.location?.search);L(_&&e?e:"")},[_]);let H=!B&&!S;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("form",{className:"search-bar-form",method:"GET",onSubmit:e=>{e.preventDefault();let t=((e,t)=>{let a=e.split("?"),l=a[0],i=new URLSearchParams(a?.[1]?`?${a?.[1]}`:"");if(i.has(F)&&i.delete(F),i.has(O)&&i.delete(O),A&&t){let e=new URLSearchParams(t);I?e.set(F,I):e.delete(F),R?e.set(O,R):e.delete(O),e.forEach((e,t)=>{i.has(t)||i.set(t,e)})}else I?i.set(F,I):i.delete(F),R?i.set(O,R):i.delete(O);let r=i.toString();return`${l}${r?`?${r}`:""}`})(`${a?.value?.href}${a?.value?.querystring||""}`,window?.location?.search);a?.value?.linktype===x.J.EXTERNAL?window.location.href=t:T.push(t),$||D(!0)},role:"search",children:[(0,l.jsxs)("div",{className:`search-bar ${e}`,children:[(0,l.jsx)(p.SitelinksSearchboxLd,{sitelinksSearchbox:{name:"ASML",url:`https://www.asml.com/${P}/`,potentialAction:{target:`https://www.asml.com/${P}/search?query={${M}}`,query_input:`required name=${M}`}}}),(0,l.jsx)("label",{htmlFor:y,className:"sr-only",children:V(v.A.SEARCH_INPUT_LABEL)}),(0,l.jsx)("input",{id:y,className:"search-bar-input",onChange:e=>{L(e.target.value)},placeholder:k?.mode?.isEditing?"":t?.value?.toString(),value:I,name:"query",autoComplete:"off",readOnly:k?.mode?.isEditing,maxLength:100}),k?.mode?.isEditing&&(0,l.jsx)("div",{className:`absolute left-5 ${e?.includes("quick-search-bar")?"top-5 max-sm:top-3":"top-3 lg:top-5"}`,children:(0,l.jsx)(o.E,{tag:"span",field:t,className:`${e?.includes("search-bar--header")?"text-color-gray-700":"text-color-primary-350"}`})}),(0,l.jsx)(m.CommonButton,{className:`button--search ${H?"cursor-default":"cursor-pointer"} ${"search-bar--bordered"===e?"bg-color-white":""} ${N??"block"}`,icon:(0,l.jsx)(h.SearchIcon,{}),type:H&&w===E?void 0:"submit",disabled:H,ariaHidden:H,title:a?.value?.title,ariaLabel:V(v.A.SEARCH_NOW)})]}),w===E&&(0,l.jsx)("div",{className:"search-bar-button-container",children:k?.mode?.isEditing?(0,l.jsx)(d.N,{field:a,className:"button--box-lightblue"}):(0,l.jsx)(m.CommonButton,{text:a?.value?.text,className:"button--box-lightblue",title:a?.value?.title,type:"submit",ariaLabel:V(v.A.SEARCH_NOW)})})]}),w===j&&k?.mode?.isEditing&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(d.N,{field:a,className:"text-sm text-color-gray-500"})})]})},w=e=>e?(0,l.jsx)(N,{...e,searchBarVariant:"search-bar--header",buttonType:j,alwaysShowIcon:!0}):(0,l.jsx)(l.Fragment,{}),y=e=>e?(0,l.jsx)(N,{...e,searchBarVariant:"search-bar--bordered",buttonType:E,retainKeyword:!0}):(0,l.jsx)(l.Fragment,{}),_=e=>e?(0,l.jsx)(N,{...e,searchBarVariant:"search-bar--bordered quick-search-bar",buttonType:j,retainKeyword:!0,alwaysShowIcon:!0}):(0,l.jsx)(l.Fragment,{})},1714:(e,t,a)=>{a.r(t),a.d(t,{ScrollytellingMenu:()=>m});var l=a(7876),i=a(8359),r=a(4825),s=a(5401),n=a(2650),o=a(4940),d=a(6479),c=a(4232),u=a(7300);let m=e=>{let{currentSlide:t,menuItems:a,setMenuOpen:m,menuOpen:h,downloadLink:p}=e,{page:g}=(0,r.M5)(),{t:x}=(0,n.s9)();(0,c.useEffect)(()=>(window.addEventListener("keydown",e=>{"Escape"===e.key&&(m(!1),setTimeout(()=>{v.current?.focus()},0))}),()=>window.removeEventListener("keydown",close)),[h]);let v=(0,c.useRef)(null);if(!a)return(0,l.jsx)(l.Fragment,{});let f=e=>{e.preventDefault(),m(!1),setTimeout(()=>{v.current?.focus()},0)},b={menu:h?"is-visible ":"",topic:(e,a)=>""===t&&0===a||t===e?"is-active":""};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(()=>(0,l.jsx)(u.s,{isActive:h,children:(0,l.jsx)("nav",{"aria-label":x(d.A.ACC_NAV_SCROLLYTELLING_MENU),className:`scrollytelling__menu duration-200 ease-out ${b.menu}`,children:(0,l.jsxs)("ul",{className:"scrollytelling__menu-items h-full",children:[(0,l.jsx)("li",{className:"scrollytelling__menu-items--header scrollytelling__menu-item",children:(0,l.jsxs)("button",{onClick:f,tabIndex:h?0:-1,children:[(0,l.jsx)("span",{className:"text-span",children:x(d.A.SCROLLYTELLING_CLOSE)}),(0,l.jsx)("span",{className:"icon-span fill-color-white",role:"presentation",children:(0,l.jsx)(o.XIcon,{})})]})}),a?.length>0&&(0,l.jsxs)(l.Fragment,{children:[a.map((e,a)=>(0,l.jsx)("li",{className:`scrollytelling__menu-items--anchor scrollytelling__menu-item ${b.topic(e.anchor,a)} ${0===a?"mt-auto":""}`,children:(0,l.jsx)("a",{href:"#",tabIndex:h?0:-1,onClick:a=>{g?.mode?.isEditing||((e,a)=>{if(e.preventDefault(),a===t)return;m(!1);
63let l=document.getElementById(a);if(l){let e=l.querySelector(".has-bg-img.fade-in");l.classList.remove("reveal"),e?.classList.remove("fade-in"),l.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{l.classList.add("reveal"),e?.classList.add("fade-in")},250);let t=l.getElementsByTagName("h2");t&&t[0]&&t[0].focus()}})(a,e.anchor)},children:g?.mode?.isEditing?(0,l.jsx)(s.E,{field:e.title}):e.title?.value?e.title?.value?.toString():e.fallbackTitle})},"scrollytelling__menu-item--"+e.anchor)),(0,l.jsx)("li",{className:"scrollytelling__menu-items--download scrollytelling__menu-item mt-auto",children:p?.value?.href&&(0,l.jsxs)("a",{className:"download",href:p?.value?.href,title:p?.value?.text,target:"_blank",rel:"noreferrer",tabIndex:h?0:-1,children:[p?.value?.text,(0,l.jsx)("div",{className:"icon-span",children:(0,l.jsx)(i.SVGIcon,{icon:"download-solid"})})]})})]})]})})}),{}),(0,l.jsxs)("button",{"aria-label":x(d.A.SCROLLYTELLING_OPEN_MENU),className:"scrollytelling__indicators",title:x(d.A.SCROLLYTELLING_OPEN_MENU),type:"button",tabIndex:0,onClick:()=>{m(!0)},ref:v,children:[(0,l.jsx)("div",{className:"scrollytelling__indicator--label",children:(0,l.jsx)("span",{"data-text":x(d.A.SCROLLYTELLING_MENU),"data-text-hover":x(d.A.SCROLLYTELLING_OPEN_MENU)})}),a?.map((e,t)=>(0,l.jsx)("div",{className:`scrollytelling__indicator--topic ${b.topic(e.anchor,t)}`},"scrollytelling__indicator--topic-"+e.anchor))]}),(0,l.jsx)("div",{className:"scrollytelling__indicator--shadow"})]})}},1807:(e,t,a)=>{a.d(t,{Z:()=>l});let l="captcha"},1896:(e,t,a)=>{a.r(t),a.d(t,{BarChart:()=>j});var l=a(7876),i=a(4232),r=a(2836),s=a(4860),n=a(9276),o=a(4825),d=a(2769),c=a(1134),u=a(1047),m=a(7879),h=a(9605),p=a(661),g=a(6479),x=a(2650),v=a(6422),f=a(151),b=a(7327);let j=e=>{let{page:t}=(0,o.M5)(),{t:a}=(0,x.s9)(),j=(0,i.useRef)(null),E=(0,i.useRef)(null),N=a(g.A.ACC_CHARTS_VALUES_PER_LABEL),{fields:w,params:y}=e,_=e.axis,A="1"===y.showLegend,S="1"===y.showGrid,C="1"===y.showDataLabels,T="1"===y.showLegendValues,I=Number(y.animationDuration),L=y.RenderingIdentifier,k=y.culture,R=(0,d.N)(y),$=w.data.datasource?.children.results??void 0,D=w.data.datasource?.children.results.length===1,O="x"===_,F=(0,i.useRef)(!1),M=()=>D&&O?r.N.BarVerticalSingle:D&&!O?r.N.BarHorizontalSingle:O?r.N.BarVerticalMultiple:r.N.BarHorizontalMultiple;u.Chart.register(u.BarElement,u.CategoryScale,u.LinearScale,h.default,p.A,m.A);let P=(0,i.useMemo)(()=>$?D?[""]:$?.map(e=>e.label.data.value??""):[],[$]),V=(0,i.useMemo)(()=>{let e;return $?[{data:$.map((e,t)=>({x:O?t:Number(e.value.data.value)||0,y:O?Number(e.value.data.value)||0:t,legendTitle:e.legendTitle?.data?.value,color:e.color.data?.fields.Color.value})),backgroundColor:$.map(e=>e.color.data?.fields.Color.value),barThickness:40},...(e=[],$.forEach((t,a)=>{t.children.results.length>0&&(F.current=!0,t.children.results.forEach(t=>{let l=Array($.length).fill({});l[a]={x:O?a:Number(t?.value?.data?.value),y:O?Number(t?.value?.data?.value):a,legendTitle:t?.legendTitle?.data?.value,color:t.color.data?.fields.Color.value};let i={data:l,backgroundColor:t.color.data?.fields.Color.value,barThickness:40};e.push(i)}))}),e)]:[]},[$]),B=(0,i.useMemo)(()=>$?D?"40px":40*$.length+($.length+2)*20:"0px",[$]),H=C&&(F.current||!F.current&&!A||!F.current&&A&&!T);if((!$||!w.data.datasource)&&t?.mode?.isEditing)return(0,l.jsx)("p",{children:"No datasource found"});if(!$||!w.data.datasource)return(0,l.jsx)(l.Fragment,{});let U=()=>{if(0===$.length)return 0;if(D){let e=Number($[0].value.data.value);return e+$[0].children?.results.reduce((e,t)=>e+Number(t.value.data.value),0)}let e=[];return $.forEach(t=>{let a;a=0+Number(t.value.data.value)+t.children.results.reduce((e,t)=>e+Number(t.value.data.value),0),e.push(a)}),Math.max(...e)},G={color:v.U.colorBlack900,font:{family:v.U.fontFamily,size:v.U.textSm}},q={indexAxis:_,responsive:!0,maintainAspectRatio:!1,locale:k,parsing:!1,animation:{duration:t?.mode?.isEditing?0:I},elements:{bar:{borderWidth:0,borderSkipped:!0}},scales:{x:{stacked:!0,max:O?void 0:U(),grid:{display:S},ticks:{display:O,...G}},y:{stacked:!0,max:O?U():void 0,grid:{display:S},ticks:{display:!O,...G}}}
63,plugins:{legend:{display:!1},tooltip:{enabled:!1},deferred:{delay:t?.mode?.isEditing||0===I?0:300},datalabels:{display:C,anchor:v.U.center,align:v.U.center,color:v.U.colorWhite,font:{family:v.U.fontFamily,size:v.U.textSm,weight:v.U.fontBold},formatter:e=>e&&(e.x||e.y)?O&&0!==e.y?e.y?.toLocaleString(k)+w.data.datasource.unit.data.value:O||0===e.x?"":e.x?.toLocaleString(k)+w.data.datasource.unit.data.value:""},annotation:{annotations:{}}}},z={...q,plugins:{...q.plugins},scales:{...q.scales,x:{...q.scales?.x,border:{display:!1}},y:{...q.scales?.y,ticks:{display:!1},border:{display:!1}}},layout:{...q.layout,padding:{left:-40,bottom:-40}}},W={labels:P,datasets:V},Y=`${L}-chart-description`;return(0,l.jsxs)("div",{id:L,className:`component chart-v2 relative z-10 ${R}`,children:[(0,l.jsx)(b.ChartHeading,{datasource:w.data.datasource,params:y,chartType:M()}),(0,l.jsxs)("div",{className:`chart-wrapper ${D&&!O?"lg:flex lg:w-full lg:flex-col":""} ${!D?"lg:flex lg:w-full lg:flex-row":""} ${D&&O?"flex flex-row":""}`,children:[(0,l.jsxs)("div",{ref:E,className:`relative h-85 ${D||!A?"lg:w-full":"lg:w-2/3"}`,style:{height:O?"":B,width:O&&D?"40px":O?B:"",maxWidth:"100%"},children:[(0,l.jsx)(c.Bar,{data:W,options:D?z:q,ref:j,"aria-label":O&&D?a(g.A.ACC_CHARTS_VERTICAL_SINGLE_BARCHART_LABEL,{numberOfValues:$[0].children.results.length+1}):O?a(g.A.ACC_CHARTS_VERTICAL_BARCHART_LABEL,{numberOfLabels:W.labels?.length,labels:W.labels?.join(", ")}):!O&&D?a(g.A.ACC_CHARTS_HORIZONTAL_SINGLE_BARCHART_LABEL,{numberOfValues:$[0].children.results.length+1}):a(g.A.ACC_CHARTS_HORIZONTAL_BARCHART_LABEL,{numberOfLabels:W.labels?.length,labels:W.labels?.join(", ")}),"aria-describedby":H?Y:void 0}),H&&(0,l.jsx)("div",{id:Y,className:"sr-only",children:H?(0,f.getChartDescription)({dataSource:$,unit:w.data.datasource?.unit?.data?.value,isStackedBarChart:F.current,stackedLabels:P,heading:N}):""}),(0,l.jsx)(n.ChartTooltipReact,{chart:j.current,datasource:w.data.datasource,parentContainerRef:E,correctForDataLabels:C,chartType:M(),locale:k})]}),A&&(0,l.jsx)(s.ChartLegend,{datasource:w.data.datasource,chartType:M(),showValues:T,showAnimation:0!==I,locale:k})]})]})}},2146:(e,t,a)=>{a.d(t,{J:()=>l});let l={EXTERNAL:"external",INTERNAL:"internal"}},2327:(e,t,a)=>{a.r(t),a.d(t,{EventLegends:()=>r});var l=a(7876),i=a(8555);let r=({eventDetails:e})=>(0,l.jsx)("div",{className:"component custom-container--respy content-cards col-span-12 !py-12",children:(0,l.jsx)("ul",{className:"content-cards-wrapper",children:e?.map((e,t)=>(0,l.jsx)("li",{className:"list-none pr-6",children:(0,l.jsx)("a",{href:`#${(0,i.B)(e.title?.data?.value)}`,className:"content-card has-link content-card-title !mb-0 !pr-0 after:mt-2",children:e.title?.data?.value})},`elink_${t}`))})})},2376:(e,t,a)=>{a.d(t,{i:()=>r});var l=a(85);let i=["investor.asml.com","ourbrand.asml.com","asml.wd3.myworkdayjobs.com"],r=e=>{if(e&&(e.startsWith("http://")||e.startsWith("https://")))try{let{hostname:t}=new URL(e);return(()=>{let e=(0,l.Jy)();for(let t of i)e.add(t);return e})().has(t)?"noopener":"noopener noreferrer"}catch{return"noopener noreferrer"}}},2428:(e,t,a)=>{a.r(t),a.d(t,{SmartRichText:()=>m});var l=a(7876),i=a(9239),r=a(4825),s=a(9099),n=a(85),o=a(2376);let d="</a>",c=/href=["']([^"']*)["']/i,u=/\srel=(["'])[^"']*\1/i,m=({field:e,editable:t=!0,...a})=>{let{page:m}=(0,r.M5)(),h=(0,s.useRouter)(),p=!m?.mode?.isEditing&&e?.value?{...e,value:((e,t)=>{if(!e)return e;let a="",l=0;for(;l<e.length;){let i=e.indexOf("<a ",l);if(-1===i){a+=e.slice(l);break}a+=e.slice(l,i);let r=function(e,t){let a=null,l=t;for(;l<e.length;){let t=e[l];if(a)t===a&&(a=null);else if('"'===t||"'"===t)a=t;else if(">"===t)break;l++}return l}(e,i+2),s=e.slice(i,r+1),m=function(e){let t=c.exec(e);return t?.[1]??""}(s),h=(0,o.i)(m),p=(0,n.tb)(m,t);if(void 0===h&&!p){a+=s,l=r+1;continue}let g=void 0!==h?function(e,t){let a=` rel="${t}"`;return u.test(e)?e.replace(u,a):e.slice(0,-1)+a+">"}(s,h):s;if(!p){a+=g,l=r+1;continue}let x=e.indexOf(d,r+1),v=x>=0,f=v?e.slice(r+1,x):"";a+=f.includes("external-icon")?g+f+d:g+f+'<span class="external-icon" aria-hidden="true">  </span>'+d,l=v?x+d.length:r+1}return a})(e.value,h.locale)}:e;return(0,l.jsx)(i.s,{field:p,editable:t,...a})};m.displayName="SmartRichText"},2432:(e,t,a)=>{a.r(t),a.d(t,{SitelinksSearchboxLd:()=>s});var l=a(7876),i=a(5105),r=a.n(i);let s=e=>{let t={"@context":"https://schema.org","@type":"WebSite",name:e.sitelinksSearchbox?.name,url:e.sitelinksSearchbox?.url,potentialAction:{"@type":"SearchAction",target:e.sitelinksSearchbox?.potentialAction?.target,"query-input":e.sitelinksSearchbox?.potentialAction?.query_input}};return(0,l.jsx)(r(),{type:"application/ld+json",id:"SitelinksSearchboxLdId",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}},2443:(e,t,a)=>{a.r(t),a.d(t,{Chapters:()=>i});var l=a(7876);let i=({chapters:e,webcastHelper:t})=>0===e.length?(0,l.jsx)(l.Fragment,{}
63):(0,l.jsx)("div",{className:"webcast-chapters flex flex-col gap-6",children:(0,l.jsx)("div",{className:"flex flex-col divide-y divide-color-primary-350 divide-opacity-40 border-b border-t border-color-primary-350 border-opacity-40",children:e.map((e,a)=>(0,l.jsxs)("div",{className:"flex items-center justify-between self-stretch p-4",onClick:()=>t?.goToChapter(a),onKeyDown:()=>t?.goToChapter(a),role:"button",tabIndex:0,children:[(0,l.jsx)("span",{className:"chapter-info w-full cursor-pointer text-cardtext text-color-primary",children:e.value}),(0,l.jsx)("span",{className:"chapter-info text-subtitle text-color-gray",children:t.formatSecondsAsTimestamp(e.offset)})]},`chapter_${a}`))})})},2459:(e,t,a)=>{a.d(t,{w:()=>i});var l=a(5741);let i=async(e,t,a,i)=>{let r;try{r=await fetch(e,{method:"POST",headers:{"accept-encoding":"gzip, deflate, br","Content-Type":"application/json",authorization:t,accept:"application/json"},body:a,signal:i??void 0})}catch(i){let t=i instanceof Error?i:Error(String(i));throw t.message=`Sitecore search request failed to ${e}: ${t.message}`,(0,l.vV)(t,"error",e,a),i}if(!r.ok){let t=Error(`Sitecore search request failed with status ${r.status} to ${e}`);throw(0,l.vV)(t,"error",e,a),t}return r.json()}},2473:(e,t,a)=>{a.d(t,{e:()=>l});let l={DEFAULT_CULTURE:"en-US",BORDER_COLOR:"#fff",DEFAULT_BORDER_WIDTH:1,PIE_BORDER_WIDTH:2,LABEL_FONT_WEIGHT:"bold",DEFAULT_LABEL_COLOR:"#fff",DEFAULT_BACKGROUND_COLOR:"#000000",DEFAULT_TOTAL_ANIMATION_DURATION:3500,DEFAULT_HIGHLIGHT_DELAY:1e3,DEFAULT_HIGHLIGHT_DURATION:1500,DEFAULT_TOOLTIP_ANIMATION_DURATION:1e3,DEFAULT_HIGHLIGHT_COLOR:"#df1995"}},2482:(e,t,a)=>{a.r(t),a.d(t,{OrganizationLd:()=>s});var l=a(7876),i=a(5105),r=a.n(i);let s=e=>{let t={"@context":"https://schema.org","@type":"Organization",url:e.organization?.url,logo:e.organization?.logo,sameAs:e.organization?.sameAs};return(0,l.jsx)(r(),{type:"application/ld+json",id:"OrganizationLdId",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}},2499:(e,t,a)=>{a.r(t),a.d(t,{validationFails:()=>r});var l=a(6479),i=a(9466);let r=(e,t,a,r,s,n,o)=>{let d=o(l.A.HTML_REGEX_PATTERN)||"<[^>]*>",c=o(l.A.EMAIL_FIELD_PATTERN)||'^(([^<>()[]\\.,;:s@"]+(.[^<>()[]\\.,;:s@"]+)*)|(.+))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$',u=e?.trim()??"",m=!1;return r.includes(t)&&(null==e||""==u)&&(a.push({Fieldname:t,ErrorMessage:o(l.A.FORM_FIELD_REQUIRED)||"This is a required field"}),m=!0),s&&u.match(d)?.length&&(a.push({Fieldname:t,ErrorMessage:o(l.A.FORM_NO_HTML_TAGS)||"HTML tags are not allowed"}),m=!0),n&&!u.match(c)?.length&&(a.push({Fieldname:t,ErrorMessage:o(l.A.EMAIL_ADDRESS_INVALID)||"Email address contains an invalid email address."}),(0,i.hO)(o(l.A.EMAIL_ADDRESS_INVALID)||"Email address contains an invalid email address."),m=!0),m}},2517:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var l=a(7876),i=a(4232);let r=({tabs:e})=>{let[t,a]=(0,i.useState)(0),r=e=>{a(e)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"webcast-tabs z-12 flex justify-evenly divide-x divide-color-gray-250 border border-color-gray-250 text-center",children:e.map((a,i)=>(0,l.jsx)("div",{className:`w-full ${e.length>1?"cursor-pointer":""} z-10 p-2 ${i===t?"bg-color-gray-100 shadow-tab":"hover:bg-gradient-white-lighterblue bg-color-white"}`,onClick:()=>r(i),onKeyDown:()=>r(i),role:"button",tabIndex:0,children:(0,l.jsx)("span",{className:"text-paragraph text-color-primary xl:font-medium [&]:font-medium",children:a.label})},i))}),e.map((e,a)=>(0,l.jsx)("div",{className:`tab-content ${t!==a?"hidden":""}`,children:e.content},`tab-content-${a}`))]})}},2769:(e,t,a)=>{a.d(t,{D:()=>l,N:()=>i});let l=e=>null!=e&&"1"==e,i=e=>null!=e?`${e.GridParameters??""} ${e.Styles??""}`:""},2796:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var l=a(7876),i=a(4232);let r=({fieldId:e,defaultIconName:t,spriteName:a="ui",onIconSelectHandler:r})=>{let[s,n]=(0,i.useState)(""),[o,d]=(0,i.useState)(""),c="-none-",u=`/images/icons/${a.toLocaleLowerCase()}.svg`,m=async(e,t)=>{let a=document.querySelector(`#${t} span`);if(a){let t=e===c?"":e;a.textContent=t;let l=new Event("blur",{bubbles:!0});a.dispatchEvent(l),d(e),r&&r(t)}};(0,i.useEffect)(()=>{fetch(u).then(e=>{if(!e.ok)throw Error(`Failed to fetch SVG, status: ${e.status}`);return e.text()}).then(e=>{n(e)}).catch(e=>
63console.error("Error downloading and converting SVG:",e))},[]);let h=o||t||c;return(0,l.jsx)("div",{className:"flex h-40 flex-wrap gap-2 overflow-auto border border-color-gray-200",children:""!==s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{onClick:async()=>{m(c,e)},onKeyDown:async()=>{m(c,e)},role:"button",tabIndex:0,className:`rounded p-2 text-center text-sm font-semibold text-color-gray hover:bg-color-gray-200 ${h===c?"bg-color-gray-250":""}`,children:"None"}),Array.from(new DOMParser().parseFromString(s,"image/svg+xml").querySelectorAll("symbol")).reduce((e,t)=>(e.some(e=>e.id===t.id)||e.push(t),e),[]).map((t,a)=>(0,l.jsx)("div",{className:`rounded p-2 text-center hover:bg-color-gray-200 ${h===t.id?"bg-color-gray-250":""}`,title:t.id,onKeyDown:async()=>{m(t.id,e)},role:"button",tabIndex:-1,onClick:async()=>{m(t.id,e)},children:(0,l.jsx)("svg",{className:"h-6 w-6",fill:"currentColor",children:(0,l.jsx)("use",{href:`${u}#${t.id}`})})},a))]})})}},2836:(e,t,a)=>{a.d(t,{N:()=>i});var l,i=((l={})[l.PieSingle=0]="PieSingle",l[l.PieMultiple=1]="PieMultiple",l[l.DoughnutSingle=2]="DoughnutSingle",l[l.DoughnutMultiple=3]="DoughnutMultiple",l[l.BarHorizontalSingle=4]="BarHorizontalSingle",l[l.BarHorizontalMultiple=5]="BarHorizontalMultiple",l[l.BarVerticalSingle=6]="BarVerticalSingle",l[l.BarVerticalMultiple=7]="BarVerticalMultiple",l)},2951:(e,t,a)=>{a.r(t),a.d(t,{SearchResultsDefault:()=>x});var l=a(7876),i=a(2650),r=a(3410),s=a(4825),n=a(9228),o=a(5401),d=a(5668),c=a(6479),u=a(1576),m=a.n(u),h=a(6557),p=a.n(h),g=a(5510);p().extend(m());let x=e=>{let{params:t,rendering:a,results:u,isResultsLoading:m,showBanner:h,handleClick:x,generateUrl:v,variant:f,hasError:b}=e,{index:j}=t??{index:-1},{page:E}=(0,s.M5)(),{t:N}=(0,i.s9)();return(0,l.jsxs)("ul",{children:["default"===f&&(0,l.jsx)("li",{className:`w-full ${(m||!h||-1===j)&&!E?.mode?.isEditing?"hidden":`order-${j}`}`,children:(0,l.jsx)(n.O,{name:"jobs-alert-banner",rendering:a})}),!b&&u?.map((e,t)=>{var a,i;let s;return(0,l.jsx)("li",{className:`order-${j>t+1?t+1:t+2}`,children:(0,l.jsxs)(g.SmartAnchor,{externalIconTargetClassName:"search-results-title-text",href:v(e.url),locale:E?.locale?.toLocaleLowerCase()||"en",className:"search-results__item",onClick:a=>{a.target?.classList?.contains("favorite-button")||x(t,e.id,e.url,e.type)},children:["job_detail_page"===e.type&&(a=e.job_date_posted,s=p()(a),(Date.now()-s.valueOf())/864e5<=7)&&(0,l.jsx)("p",{className:"search-results__date-posted",children:N(c.A.JOBS_SEARCH_RESULTS_NEW_LABEL)}),"job_detail_page"!==e.type&&(0,l.jsxs)("p",{className:"search-results__date-posted",children:["articles"!==f&&(0,l.jsx)(o.E,{field:{value:(i=e.type,N(`${c.A.SEARCH_RESULT_LABEL_PREFIX}${i}`)||N(`${c.A.SEARCH_RESULT_LABEL_PREFIX}-asml_page`)||"Page")}}),!!e.publish_date&&(0,l.jsx)(o.E,{field:{value:(e=>{if(""===e)return"";let t=new Date(e),a=!!t&&p()(t).utc().locale(E?.locale?.toLocaleLowerCase()||"en").format("MMMM D, YYYY");return"site"===f?" - "+a:a})(e?.publish_date)}})]}),(0,l.jsxs)("div",{className:"search-results__title",children:[(0,l.jsx)(d.w,{className:"search-results-title-text",children:(0,l.jsx)(o.E,{field:{value:e.name}})}),"job_detail_page"===e.type&&(0,l.jsx)(r.Favorite,{jobId:e.job_id,jobTitle:e.name})]}),"job_detail_page"!==e.type&&!!e.description&&(0,l.jsx)(o.E,{field:{value:e.description},className:"mt-2 text-cardtext",tag:"p"}),"job_detail_page"===e.type&&(0,l.jsxs)("ul",{className:"search-results__fields",children:[e.job_location&&(0,l.jsx)("li",{children:e.job_location}),e.job_teams?.map((e,t)=>""!==e&&(0,l.jsx)("li",{children:e},t)),"Internship"===e.job_type&&(0,l.jsx)("li",{className:"search-results__job-type",children:e.job_type})]})]})},t)})]})}},2963:(e,t,a)=>{a.r(t),a.d(t,{PieChart:()=>j});var l=a(7876),i=a(4232),r=a(2836),s=a(4860),n=a(9276),o=a(4825),d=a(2769),c=a(1134),u=a(1047),m=a(7879),h=a(9605),p=a(661),g=a(6479),x=a(2650),v=a(6422),f=a(151),b=a(7327);let j=e=>{let{page:t}=(0,o.M5)(),{t:a}=(0,x.s9)(),j=(0,i.useRef)(null),E=(0,i.useRef)(null),N=a(g.A.ACC_CHARTS_VALUES_PER_LABEL),{fields:w,params:y}=e,_="1"===y.showLegend,A="1"===y.showDataLabels,S="1"===y.showLegendValues,C=Number(y.animationDuration),T=y.Ren
63deringIdentifier,I=`${T}-pie-description`,L=y.culture,k=(0,d.N)(y),R=w.data.datasource?.children.results??void 0,$=1===R.length,D=$?r.N.PieSingle:r.N.PieMultiple,O=R.some(e=>e.children.results.length>0);u.Chart.register(u.ArcElement,u.CategoryScale,u.LinearScale,u.RadialLinearScale,h.default,p.A,m.A);let F=(0,i.useMemo)(()=>R?[{data:R.map(e=>e.value.data.value),backgroundColor:R.map(e=>e.color.data?.fields.Color.value)}]:[],[R]),M=A&&!_||_&&!S;if((!R||!w.data.datasource)&&t?.mode?.isEditing)return(0,l.jsx)("p",{children:"No datasource found"});if(!R||!w.data.datasource)return(0,l.jsx)(l.Fragment,{});if(t?.mode?.isEditing&&O)return(0,l.jsx)("p",{children:"Stacked data found. Pie charts are not allowed to have stacked data. Remove the children or change the variant to a bar chart."});if(O)return(0,l.jsx)(l.Fragment,{});let P={responsive:!0,maintainAspectRatio:!0,locale:L,animation:{duration:t?.mode?.isEditing?0:C},elements:{arc:{borderWidth:0}},scales:{x:{display:!1},y:{display:!1}},plugins:{legend:{display:!1},tooltip:{enabled:!1},deferred:{delay:t?.mode?.isEditing||0===C?0:300},datalabels:{display:A,anchor:$?v.U.start:v.U.center,align:v.U.center,color:v.U.colorWhite,font:{family:v.U.fontFamily,size:v.U.textSm,weight:v.U.fontBold},formatter:e=>(+e).toLocaleString(L)+w.data.datasource.unit.data.value},annotation:{annotations:{}}}},V={datasets:F};return(0,l.jsxs)("div",{id:T,className:`component chart-v2 relative z-10 ${k}`,children:[(0,l.jsx)(b.ChartHeading,{datasource:w.data.datasource,params:y,chartType:D}),(0,l.jsxs)("div",{className:"lg:flex lg:w-full lg:flex-row lg:gap-x-12",children:[(0,l.jsx)("div",{className:"flex justify-center lg:w-105",children:(0,l.jsxs)("div",{ref:E,className:"relative w-full max-w-105","aria-labelledby":M?I:void 0,children:[(0,l.jsx)(c.Pie,{data:V,options:P,ref:j,"aria-label":a(g.A.ACC_CHARTS_PIECHART_LABEL,{numberOfSlices:V.labels?.length})}),M&&(0,l.jsx)("div",{id:I,className:"sr-only",children:M?(0,f.getChartDescription)({dataSource:R,unit:w.data.datasource?.unit?.data?.value,isStackedBarChart:!1,heading:N}):""}),(0,l.jsx)(n.ChartTooltipReact,{chart:j.current,datasource:w.data.datasource,parentContainerRef:E,correctForDataLabels:A,chartType:D,locale:L})]})}),_&&(0,l.jsx)(s.ChartLegend,{datasource:w.data.datasource,chartType:D,showValues:S,showAnimation:0!==C,locale:L})]})]})}},3062:(e,t,a)=>{a.d(t,{s:()=>l});let l={email:"email",input:"input",number:"number",boolean:"boolean",textarea:"textarea",dropdown:"dropdown",radiolist:"radiolist",datepicker:"datepicker",checkboxlist:"checkboxlist"}},3151:(e,t,a)=>{a.d(t,{HI:()=>l,IB:()=>i,YF:()=>r});let l={large:"large",medium:"medium",small:"small",scaled:"scaled",sideImage:"side-image",sideImageLarge:"side-image-large"},i={hero:"hero",article:"article",productDetail:"productDetail"},r={normalLayout:"normal",sideImageLayout:"side-image",editingDefaultImage:"/sitecore/shell/Themes/Standard/Images/WebEdit/default_image.svg"}},3272:(e,t,a)=>{a.r(t),a.d(t,{VideoComponent:()=>i});var l=a(7876);let i=({id:e,url:t,title:a,controls:i,autoPlay:r,isActive:s,sendVideoEvent:n})=>(0,l.jsx)("div",{className:"corp-tv-video-container",children:(0,l.jsx)("video",{id:e,src:t.trim(),title:a,controls:i,autoPlay:!!s&&!!r,onEnded:()=>n(0,a),className:`corp-tv-video-component ${s?"":"hidden"}`,"data-testid":e,children:(0,l.jsx)("track",{kind:"captions"})})})},3391:(e,t,a)=>{a.d(t,{y:()=>s});var l=a(8495),i=a(4913),r=a(5357);let s=()=>{if(!(0,i.$)(l.$.functional))return"";let e=(0,r.R)("uuid");if(!e){let t="126200477";if(!t)return console.error("Missing domain ID"),"";e=n(t),(0,r.T)("uuid",e,365)}return e},n=e=>{let t="xx-xx-4x-1p-".replace(/[x]/g,()=>o(36*Math.random()|0));for(let e=0;e<5;e++)t+=("0000"+(1679615*Math.random()|0).toString(36)).slice(-4);let a=e;return a+("-"+t+"-"+Date.now())},o=e=>String.fromCharCode(e<10?e+48:e<36?e+87:e+29)},3402:(e,t,a)=>{a.d(t,{G:()=>l});let l=(e,t)=>{if(!e.length||!t)return -1;let a=e.indexOf(t);return a<0&&(a=e.findIndex(e=>e?.id===t)),a}},3410:(e,t,a)=>{a.r(t),a.d(t,{Favorite:()=>m});var l=a(7876),i=a(4232),r=a(8359),s=a(4825),n=a(9948),o=a(9466),d=a(3402),c=a(2650),u=a(6479);let m=e=>{let{jobId:t,jobTitle:a,callback:m}=e,[h,p]=(0,i.useState)(!1),[g,x]=(0,i.useState)(!1),{page:v}=(0,s.M5)(),f=(v?.locale||"en").toLowerCase(),[b,j,E]=(0,n.lT)(["favorites-"+f]),[
63N,w]=(0,i.useState)(!1),y=(0,i.useRef)(0),_=(0,i.useRef)(!1),{t:A}=(0,c.s9)();return(0,i.useEffect)(()=>{let e=b["favorites-"+f];p((0,d.G)(e??[],t)>=0)},[t]),(0,i.useEffect)(()=>{_.current||(_.current=!0,y.current=Date.now())}),(0,l.jsxs)("button",{"aria-label":A(h?u.A.ACC_JOB_REMOVE_JOB:u.A.ACC_JOB_SAVE_JOB,{job_title:a}),className:"favorite-button",onClick:e=>{if(e.preventDefault(),v?.mode?.isEditing)return;g||x(!0);let l=b["favorites-"+f]??[],i=(0,d.G)(l,t);i>=0?l.splice(i,1):((0,o.lN)(t,a),l.push(t)),N||w(!0),j("favorites-"+f,l,{path:"/",maxAge:31536e3}),p(!h),m&&m(),l.length<=0&&E("favorites-"+f,{path:"/"})},"data-job-id":t,onFocus:e=>{e.currentTarget.matches(":focus-visible")&&e.currentTarget.scrollIntoView({behavior:"smooth",block:"center"})},children:[(0,l.jsx)("output",{className:"sr-only","aria-live":"polite",children:h&&A(u.A.HEADER_SAVED_JOBS_TOAST)}),(0,l.jsx)(r.SVGIcon,{icon:"favorite",className:h?"like-fade-leave-active like-fade-leave-to":"like-fade-enter-active"}),(0,l.jsx)(r.SVGIcon,{icon:"favorite-solid",className:h?"like-fade-enter-active":"like-fade-leave-active like-fade-leave-to"}),(0,l.jsx)(r.SVGIcon,{icon:"favorite-solid",className:h?N?"fly-enter-active":"like-fade-enter-active":"like-fly-out"})]})}},3581:(e,t,a)=>{a.r(t),a.d(t,{Default:()=>w,HeroBanner:()=>A,Large:()=>j,Medium:()=>E,SideImage:()=>_,SideImageLarge:()=>y,Small:()=>N});var l=a(7876),i=a(4232),r=a(4825),s=a(7273),n=a(9228),o=a(5401),d=a(8996),c=a(4791),u=a(8359),m=a(3151),h=a(876),p=a(6651),g=a(7949),x=a(2769),v=a(2650),f=a(6479),b=a(9323);let j=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.large,layout:m.YF.normalLayout,...e}),E=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.medium,layout:m.YF.normalLayout,...e}),N=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.small,layout:m.YF.normalLayout,...e}),w=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.scaled,layout:m.YF.normalLayout,...e}),y=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.sideImageLarge,layout:m.YF.sideImageLayout,...e}),_=e=>(0,l.jsx)(A,{bannerType:m.IB.hero,variant:m.HI.sideImage,layout:m.YF.sideImageLayout,...e}),A=e=>{let{fields:t,params:a,rendering:j,variant:E,layout:N,bannerType:w}=e,y=a?.RenderingIdentifier??void 0,{page:_}=(0,r.M5)(),[A,S]=(0,i.useState)(!1),[C,T]=(0,i.useState)(!0),[I,L]=(0,i.useState)(!1),[k,R]=(0,i.useState)(!1),[$,D]=(0,i.useState)(!0),O=(0,i.useRef)(null),F=(0,i.useRef)(null),M=(0,x.N)(a),{t:P}=(0,v.s9)(),V=(0,i.useCallback)(()=>{let e=window.innerWidth<768;R(t=>t!==e?e:t)},[]);(0,i.useEffect)(()=>{V(),T(M.indexOf("bg-dark")>-1),L(M.indexOf("show-video-mobile")>-1),O&&N!==m.YF.sideImageLayout&&S(!0)},[M,V,N]),(0,i.useEffect)(()=>(window.addEventListener("resize",V),()=>{window.removeEventListener("resize",V)}),[V]);let B=(0,b.j)(),H=!!(e=>{if(e&&0>e.indexOf(m.YF.editingDefaultImage))return e})(t?.backgroundImage?.value?.src),U={customStyles:M,imageAnimation:N===m.YF.sideImageLayout&&!A&&(0,x.D)(a.enableAnimation)&&!_?.mode?.isEditing?E===m.HI.sideImage?"animate-image-reveal-medium-xs md:animate-image-reveal-medium-md xl:animate-image-reveal-medium-xl":"animate-image-reveal-medium-xs md:animate-image-reveal-medium-md lg:animate-image-reveal-large-lg xxl:animate-image-reveal-large-xxl":"",transition:A||!(0,x.D)(a.enableAnimation)||_?.mode?.isEditing||!H&&E===m.HI.sideImageLarge?"translate-y-0 opacity-100":"translate-y-full opacity-min",pointerAuto:_?.mode?.isEditing?"pointer-events-auto":"",pointerNone:_?.mode?.isEditing?"pointer-events-none":""},G=`${t?.backgroundImageFocalPoint?.Left} ${t?.backgroundImageFocalPoint?.Top}`,q=!!j?.placeholders?.["hero-banner-quick-link-list"]?.length&&j?.placeholders?.["hero-banner-quick-link-list"]?.length!==0,z=!!j?.placeholders?.["hero-banner-sub-navigation"]?.length&&j?.placeholders?.["hero-banner-sub-navigation"]?.length!==0,{setNavigationPath:W}=(0,p.Sz)(),Y=e=>{W([`hero cta:${e?.value?.text}`])};if(!t||!e?.fields)return(0,l.jsx)(l.Fragment,{});let J=t.video?.value?.href,Q=J&&(k&&I||!k);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`component hero-banner hero-banner--main hero-banner--${E} ${U.customStyles} ${_?.mode?.isEditing?"is-sitecore-editing":""}`,id:y,children:[N!==m.YF.sideImageLayout&&(0,x.D)(a.enableAnimation)&&!_?.mode?.isEditing&&(0,l.jsx)(d.AnimatedBlinds,{}),(0,l.jsx)("div",{className:"hero-banner-image-container","aria-hidden":w!==m.IB.productDetail,children:(_?.mode?.isEditing||H)&&(0,l.jsxs)("div",{className:`hero-banner-image-wrapper ${H?"has-bg-img":""} ${U.imageAnimation}`,onAnimationEnd:N===m.YF.sideImageLayout&&(0,x.D)(a.enableAnimation)?()=>S(!0):void 0,children:[Q&&!B&&(0,l.jsx)("video",{ref:F,className:"m-auto h-full min-w-full object-cover md:block",crossOrigin:"anonymous",loop:!0,autoPlay:!_?.mode?.isEditing,muted:!0,preload:"metadata",playsInl
63ine:!0,children:(0,l.jsx)("source",{src:J,type:"video/mp4"})},J),(0,l.jsx)(s._,{srcSet:_?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:_?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:"hero-banner-image page-image",field:t.backgroundImage,alt:t.backgroundImage?.value?.alt,style:G?{objectPosition:G}:{},layout:"fill"})]})}),a.Frequency&&a.Position&&(0,l.jsx)(g.RasteredGrid,{position:a.Position,frequency:a.Frequency}),(0,l.jsx)("div",{className:`hero-banner-content-container ${(0,x.D)(a.enableAnimation)?"hero-banner-content-animate":""} ${q?"has-quick-links":""} ${z?"pb-12":""} ${U.pointerNone}`,children:(0,l.jsx)("div",{className:"fluid-grid",children:(0,l.jsxs)("div",{className:`hero-banner-content ${U.transition} ${U.pointerAuto}`,ref:O,children:[(0,l.jsx)(n.O,{name:"hero-banner-breadcrumb",rendering:j,passThroughComponentProps:{bgDark:C}}),(0,l.jsx)(o.E,{field:t?.title,className:`hero-banner-title ${U.pointerAuto} page-title`,tag:"h1"}),(_?.mode?.isEditing||!!t?.subtitle)&&(0,l.jsx)(o.E,{field:t?.subtitle,className:`hero-banner-subtitle ${U.pointerAuto} page-subtitle ${t?.cta&&"max-h-[198px]"}`,tag:"p"}),(_?.mode?.isEditing||(0,h.h)(t?.cta))&&(0,l.jsx)(l.Fragment,{children:(0,x.D)(a?.displayCtaAsPrimaryButton)?(0,l.jsx)(c.TextLink,{field:t?.cta,className:"btn primary-btn button-responsive button--box-lightblue icon",onClick:()=>Y(t?.cta)}):(0,l.jsx)(c.TextLink,{field:t?.cta,className:`hero-banner-cta ${_?.mode?.isEditing?U.pointerNone:U.pointerAuto}`,onClick:()=>Y(t?.cta)})})]})})})]}),w===m.IB.hero&&(0,l.jsx)(n.O,{name:"hero-banner-sub-navigation",rendering:j,passThroughComponentProps:{bgDark:C,heroBannerVariant:E}}),N===m.YF.normalLayout&&E!==m.HI.scaled&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(n.O,{name:"hero-banner-quick-link-list",rendering:j,passThroughComponentProps:{bgDark:C,heroBannerVariant:E}})}),Q&&!B&&(0,l.jsxs)("button",{id:"videoPause",className:`relative z-20 float-right ${E==m.HI.medium&&q?"-mt-63 lg:-mt-43":z?"-mt-29":"-mt-9"} mb-3 mr-3 h-6 w-10 rounded-2xl bg-color-black bg-opacity-50`,title:P($?f.A.PAUSE_BUTTON:f.A.PLAY_BUTTON),onClick:()=>{F.current&&(F.current.paused?(D(!0),F.current.play()):(D(!1),F.current.pause()))},children:[(0,l.jsx)("span",{className:"sr-only",children:P($?f.A.PAUSE_BUTTON:f.A.PLAY_BUTTON)}),(0,l.jsx)(u.SVGIcon,{className:"fill-color-white hover:fill-color-yellow",spriteName:"ui",icon:$?"pause":"play"})]})]})}},3630:(e,t,a)=>{a.r(t),a.d(t,{ArticlesLd:()=>n});var l=a(7876),i=a(8595),r=a(5105),s=a.n(r);let n=e=>{let t=(0,i.yI)(e.path||"",e.language||"en"),a={"@type":"ImageObject",url:"https://www.asml.com/assets/images/ASML-logo.jpg"},r={"@context":"https://schema.org","@type":"NewsArticle",mainEntityOfPage:{"@type":"WebPage","@id":t},headline:e.article?.title,image:{"@type":"ImageObject",url:e.article?.imageUrl},datePublished:e.article?.publishedDate,dateModified:e.article?.modifiedDate,author:{"@type":e.article?.author?.type,name:e.article?.author?.name,logo:e.article?.author?.type!=="Person"?a:void 0},keyWords:e.article?.keywords,publisher:{"@type":"Organization",name:"ASML",logo:a},description:e.article?.description};return(0,l.jsx)(s(),{type:"application/ld+json",id:"ArticlesLd",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})}},3691:(e,t,a)=>{a.d(t,{N:()=>s});var l=a(7876),i=a(4825),r=a(4232);function s(e){return function(t){let a=(0,r.useRef)(null),[s,n]=(0,r.useState)(t.params.Styles),{page:o}=(0,i.M5)(),d=o?.mode?.isEditing;return((0,r.useEffect)(()=>{if(!a.current||!d)return;let e=new MutationObserver(e=>{e.forEach(e=>{if("attributes"===e.type&&"class"===e.attributeName){let[,...e]=a.current?.classList.value.split(" ")??[];n(e.join(" "))}})});return e.observe(a.current,{attributes:!0}),()=>{e.disconnect()}},[d,t.params]),d)?(t.params.Styles=s,(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:a,className:"component "+s,style:{display:"none"}}),(0,l.jsx)(e,{...t})]})):(0,l.jsx)(e,{...t})}}},3706:(e,t,a)=>{a.d(t,{a:()=>r});var l=a(4232),i=a(6422);let r=(e=i.p.sm)=>
63{let[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=()=>{a(window.innerWidth<=e)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),t}},3718:(e,t,a)=>{var l=a(5364);e.exports={getPublicUrl:function(){if(l.env.VERCEL_URL&&"production"!==l.env.VERCEL_ENV)return`https://${l.env.VERCEL_URL}`;let e="https://www.asml.com";if(void 0===e)console.warn("An PUBLIC_URL environment variable is not defined. Falling back to http://localhost:3000."),e="http://localhost:3000";else try{new URL(e)}catch(t){throw Error(`The PUBLIC_URL environment variable '${e}' is not a valid URL.`)}return e.toString().replace(/\/$/,"")}}},3721:(e,t,a)=>{a.r(t),a.d(t,{MetaTags:()=>s});var l=a(7876),i=a(7328),r=a.n(i);let s=e=>{let t=function(e){if(!e||0===e.length)return null;let t=e.split("&"),a=new Map;return t.forEach(e=>{let[t,l]=e.split("="),i=l;try{i=decodeURIComponent(l)}catch(e){}a.set(t,i)}),a}(e?.seoCustomMetaData?.value?.toString());return(0,l.jsxs)(r(),{children:[!!e.metaPageTitle?.value&&(0,l.jsx)("meta",{name:"title",content:e.metaPageTitle.value?.toString()}),!!e.metaDescription?.value&&(0,l.jsx)("meta",{name:"description",content:e.metaDescription.value?.toString()}),(0,l.jsx)("meta",{name:"theme-color",content:"#10069F"}),t&&[...t].map(([e,t])=>(0,l.jsx)("meta",{name:e,content:t},e))]})}},3729:(e,t,a)=>{a.d(t,{H:()=>n});var l=a(2459),i=a(6300),r=a(3391),s=a(6350);let n=async(e,t)=>{let a="https://discover-euc1.sitecorecloud.io/discover/v2/126200477",i="01-967712c8-5a349c1760436ea6dccfd7bb02bfbe4dc2ccc36c",r=JSON.stringify(o(e.rfk_id,e.sources,e.includeFacets,e.includeContent,e.limit,e.offset,e.locale,e.activeFilters,e.personalization,e.query,e.sorting));if(!a)throw Error("No endpoint set");if(!i)throw Error("No auth key set");try{return await (0,l.w)(a,i,r,t)}catch(e){console.error(e)}},o=(e,t,a=!1,l=!0,n=s.A.resultsLimit,o=0,d="en-us",c,u,m,h)=>{let{language:p,country:g}=(0,i.y)(d),x={context:{page:{uri:window.document.location.href},locale:{country:g,language:p}},widget:{items:[{entity:"content",rfk_id:e,search:{limit:n,offset:o}}]}};if(a&&(x.widget.items[0].search.facet={all:!0}),void 0!==t&&t.length>0&&(x.widget.items[0].sources=t.split(";")),l&&(x.widget.items[0].search.content={}),Array.isArray(c)&&c.length>0){let e=c.map(e=>e.type?e:{...e,type:"anyOf"});x.widget.items[0].search.filter={type:"and",filters:e}}m&&(x.widget.items[0].search.query={keyphrase:m,operator:"and"});let v=(0,r.y)();return v&&(x.context.user={uuid:v}),u&&(x.widget.items[0].search.personalization=u),h&&(x.widget.items[0].search.sort={value:[{name:`sorting_${h}`}]}),x}},3853:(e,t,a)=>{a.d(t,{$:()=>i,K:()=>l});let l=e=>{let t="",a=!1;if(e.innerHTML){let l=new DOMParser().parseFromString(e.innerHTML,"text/html").querySelector('a[class="custom-link"]');l&&(t=l.getAttribute("href")||"",a="_blank"===l.getAttribute("target"))}return{title:e.innerText||"",url:t,opensInNewWindow:a}},i=(e,t,a,l)=>(e.setAttribute("contenteditable","true"),t||(e.textContent=""),e.addEventListener("click",function(){a&&a(e),l&&l(!0)}),e)},3880:(e,t,a)=>{a.d(t,{A:()=>j});var l=a(7876),i=a(7806),r=a(9914),s=a(8770),n=a(1376),o=a(4825),d=a(2479),c=a(4232),u=a(935),m=a(463);let h=()=>{let{page:{layout:e,siteName:t,mode:a}}=(0,o.M5)(),{route:i,context:r}=e.sitecore;return(0,c.useEffect)(()=>{if(!a.isNormal||!i?.itemId)return;let e=i.itemLanguage||m.A.defaultLanguage,t=m.A.personalize?.scope,l=d.E8.getPageVariantId(i.itemId,e,r.variantId,t);(0,u.pageView)({channel:"WEB",currency:"EUR",page:i.name,pageVariantId:l,language:e}).catch(e=>console.debug(e))},[a,i,r.variantId,t]),(0,l.jsx)(l.Fragment,{})};var p=a(4587),g=a.n(p),x=a(4218),v=a(811),f=a.n(v);let b=()=>(x.setElementImplementation("img",e=>{let{children:t,src:a,alt:i,...r}=e;return(0,l.jsx)(g(),{height:1920,width:1200,unoptimized:!(e=>{if(e.startsWith("http")){let t=new URL(e),a=f().images?.domains||[],l=f().images?.remotePatterns||[];return a.some(e=>t.hostname===e)||l.some(e=>e.protocol===t.protocol.slice(0,-1)&&RegExp("^"+e.hostname.replace(".","\\.").replace(/\*/g,".*")+"$").test(t.hostname))}return!0})(a),src:a,alt:i,...r})}),(0,l.jsx)(l.Fragment,{})),j=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.AdobeDTM,{}),(0,l.jsx)(r.default,{}),(0,l.jsx)(s.A,{}),(0,l.jsx)(h,{}),(0,l.jsx)(b,{}),(0,l.jsx)(n.D,{})]})},3963:(e,t,a)=>{a.d(t,{V:()=>l});let l={relatedContentLink:"Related Content Link",relatedStoryLink:"Related Story Link",templateSuffix:"Page"}},4055:(e,t,a)=>{a.d(t,{BK:()=>s,oo:()=>n});var l=a(7876),i=a(4232);let r=(0,i.createContext)({jobData:void 0});function s({children:e,jobData:t}){return(0,l.jsx)(r.Provider,{value:{jobData:t},children:e})}function n(){return(0,i.useContext)(r)}},4089:(e,t,a)=>{a.r(t),a.d(t,{DoughnutChart:()=>E});var l=a(7876),i=a(4232),r=a(2836),s=a(4860),n=a(9276),o=a(4825),d=a(2769),c=a(1047),u=a(7879),m=a(9605),h=a(661),p=a(6479),g=a(2650),x=a(6422),v=a(1134),f=a(3706),b=a(151),j=a(7327);let E=e=>{let{page:t}=(0,o.M5)(),{t:a}=(0,g.s9)(),E=(0,f.a)(),N=(0,f.a)(x.p.lg),w=a(p.A.ACC_CHARTS_VALUES_PER_LABEL),y=(0,i.useRef)(null),_=(0,i.useRef)(null),{fields:A,params:S}=e,C="1"===S.showLegend,T="1"===S.showDataLabels,I="1"===S.showLegendValues,L=Number(S.animationDuration),k=S.RenderingIdentifier,R=`${k}-doughnut-description`,$=S.culture,D=(0,d.N)(S),O=A.data.datasource?.children.results??void 0,F=1===O.length?r.N.DoughnutSingle:r.N.DoughnutMultiple,M=O.some(e=>e.children.results.length>0),P=A.data.datasource.doughnutLabelTop.data.value,V=A.data.datasource.doughnutLabelCenter.data.value,B=A.data.datasource.doughnutLabelBottom.data.value;c.Chart.register(c.ArcElement,c.CategoryScale,c.LinearScale,c.RadialLinearScale,m.default,h.A,u.A);let H=(0,i.useMemo)(()=>O?[{data:O.map(e=>e.value.data.value),backgroundColor:O.map(e=>
63e.color.data?.fields.Color.value)}]:[],[O]),U=T&&!C||C&&!I;if((!O||!A.data.datasource)&&t?.mode?.isEditing)return(0,l.jsx)("p",{children:"No datasource found"});if(!O||!A.data.datasource)return(0,l.jsx)(l.Fragment,{});if(t?.mode?.isEditing&&M)return(0,l.jsx)("p",{children:"Stacked data found. Doughnut charts are not allowed to have stacked data. Remove the children or change the variant to a bar chart."});if(M)return(0,l.jsx)(l.Fragment,{});let G={responsive:!0,maintainAspectRatio:!0,locale:$,animation:{duration:t?.mode?.isEditing?0:L},cutout:"64%",elements:{arc:{borderWidth:0}},scales:{x:{display:!1},y:{display:!1}},plugins:{legend:{display:!1},tooltip:{enabled:!1},deferred:{delay:t?.mode?.isEditing||0===L?0:300},datalabels:{display:T,anchor:x.U.center,align:x.U.center,color:x.U.colorWhite,font:{family:x.U.fontFamily,size:x.U.textSm,weight:x.U.fontBold},formatter:e=>(+e).toLocaleString($)+A.data.datasource.unit.data.value},annotation:{annotations:{dLabel:{type:"label",content:()=>[P,V,B],font:[{size:20,family:x.U.fontFamily,weight:x.U.fontLighter},{size:E||N?36:48,family:x.U.fontFamily,weight:x.U.fontBold},{size:24,family:x.U.fontFamily,weight:x.U.fontLighter}],color:x.U.colorAsmlBlue}}}}},q={datasets:H};return(0,l.jsxs)("div",{id:k,className:`component chart-v2 relative z-10 ${D}`,children:[(0,l.jsx)(j.ChartHeading,{datasource:A.data.datasource,params:S,chartType:F}),(0,l.jsxs)("div",{className:"lg:flex lg:w-full lg:flex-row lg:gap-x-12",children:[(0,l.jsx)("div",{className:"flex justify-center lg:w-105",children:(0,l.jsxs)("div",{ref:_,className:"relative w-full max-w-105","aria-labelledby":U?R:void 0,children:[(0,l.jsx)(v.Doughnut,{data:q,options:G,ref:y,"aria-label":(()=>{if(!P&&!B&&!V)return a(p.A.ACC_CHARTS_DOUGHNUTCHART_NO_ANNOTATIONS_LABEL,{numberOfSlices:q?.datasets[0]?.data?.length??0});let e=[P,V,B].map(e=>String(e)).filter(e=>e&&""!==e.trim()).join(", ");return a(p.A.ACC_CHARTS_DOUGHNUTCHART_ANNOTATED_LABEL,{numberOfSlices:q?.datasets[0]?.data?.length??0,centerLabels:e})})()}),U&&(0,l.jsx)("div",{id:R,className:"sr-only",children:U?(0,b.getChartDescription)({dataSource:O,unit:A.data.datasource?.unit?.data?.value,isStackedBarChart:!1,heading:w}):""}),(0,l.jsx)(n.ChartTooltipReact,{chart:y.current,datasource:A.data.datasource,parentContainerRef:_,correctForDataLabels:T,chartType:F,locale:$})]})}),C&&(0,l.jsx)(s.ChartLegend,{datasource:A.data.datasource,chartType:F,showValues:I,showAnimation:0!==L,locale:$})]})]})}},4172:(e,t,a)=>{a.r(t),a.d(t,{getHref:()=>i});var l=a(8595);let i=(e,t,a)=>(0,l.Tz)({baseUrl:e,facets:t,availableFilters:a})},4213:(e,t,a)=>{a.d(t,{k:()=>r});var l=a(5516),i=a(5364);class r{constructor(e,t,a){this.playerId="",this.buildScriptElement=(e,t,a)=>{let r=document.createElement("script");return r.id=e,a&&r.setAttribute("data-video-url",a),t&&r.setAttribute("data-video-id",t),r.setAttribute("data-id",e),r.setAttribute("data-show-chapters","true"),r.src=i.env.QUADIA_SCRIPT_SRC||l.$.scriptSrc,r},this.playerInstance=()=>window.QuadiaPlayer.players[this.playerId],this.getChapters=async()=>{try{return await this.playerInstance().get(l.T.chapters)}catch(e){return[]}},this.goToChapter=e=>{this.playerInstance().$emit(l.T.goToChapter,e)},this.formatSecondsAsTimestamp=e=>{let t=new Date(0);t.setSeconds(e);let a=t.getUTCHours(),l=t.getUTCMinutes();return`${a}:${String(l).padStart(2,"0")}:${String(t.getUTCSeconds()).padStart(2,"0")}`},this.playerId=e,this.webcastScript=this.buildScriptElement(e,t,a)}}},4285:(e,t,a)=>{a.d(t,{$A:()=>o,YL:()=>n});var l=a(7876),i=a(4232),r=a(6350);let s=(0,i.createContext)({filterValues:{current:[]},cityFacetValues:void 0,setCityFacetValues:()=>{},activeFilters:[],setActiveFilters:()=>{},isFilterOpen:!1,setIsFilterOpen:()=>{},hasFilter:{current:!1},isFilterReady:!1,setFilterReady:()=>{},isResultsLoading:!0,setIsResultsLoading:()=>{},resultDetails:void 0,setResultDetails:()=>{},offset:0,setOffset:()=>{},resultLimit:{current:0},sorting:void 0,setSorting:()=>{},defaultSorting:void 0,setDefaultSorting:()=>{},showBanner:!1,setShowBanner:()=>{}});function n({children:e}){let t=(0,i.useRef)([]),a=(0,i.useRef)(!1),o=(0,i.useRef)(r.A.resultsLimit),[d,c]=(0,i.useState)(),[u,m]=(0,i.useState)([]),[h,p]=(0,i.useState)(!1),[g,x]=(0,i.useState)(!1),[v,f]=(0,i.useState)(!1),[b,j]=(0,i.useState)(),[E,N]=(0,i.useState)(0),[w,y]=(0,i.useState)(void 0),[_,A]=(0,i.useState)(void 0),[S,C]=(0,i.useState)(!1);return(0,l.jsx)(s.Provider,{value:{filterValues:t,cityFacetValues:d,setCityFacetValues:c,activeFilters:u,setActiveFilters:m,isFilterOpen:h,setIsFilterOpen:p,hasFilter:a,isFilterReady:g,setFilterReady:x,isResultsLoading:v,setIsResultsLoading:f,resultDetails:b,setRe
63sultDetails:j,offset:E,setOffset:N,resultLimit:o,sorting:w,setSorting:y,defaultSorting:_,setDefaultSorting:A,showBanner:S,setShowBanner:C},children:e})}function o(){return(0,i.useContext)(s)}},4402:(e,t,a)=>{a.r(t),a.d(t,{default:()=>E});var l=a(7876),i=a(4825),r=a(7273),s=a(5401),n=a(9228),o=a(488),d=a(4940),c=a(4232),u=a(2650),m=a(5537),h=a(6479),p=a(8359),g=a(9466),x=a(5668),v=a(990),f=a(2769),b=a(5145);let j='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',E=(0,o.w)()(e=>{let{fields:t,params:a,rendering:o,isPrimaryHeading:E,id:N,setCurrentSlide:w,closeMenu:y,isLastIndex:_,isScrolling:A}=e,{page:S}=(0,i.M5)(),{t:C}=(0,u.s9)(),T=S?.mode?.isEditing||!1,I=(0,v.E)()-1,L=E?I:Math.min(I+1,6),k=(0,f.D)(a?.showDetails),R=`${t?.bgImageFocalPoint?.Left} ${t?.bgImageFocalPoint?.Top}`,$=!!o.placeholders?.["scrollytelling-details"]?.length,[D,O]=(0,c.useState)(T),[F,M]=(0,c.useState)(T),P=(0,c.useRef)(null),V=(0,c.useRef)(null),B=(0,c.useRef)(null),H=(0,c.useRef)(!1),U=e=>B.current?.querySelector(e),G=e=>{e&&e.focus({preventScroll:!0})},q=e=>{e&&(G(e),e.scrollIntoView({behavior:"smooth",block:"nearest"}))},z=e=>{let t=V.current;if(!t)return null;let a=Array.from(document.querySelectorAll(".scrollytelling__button")),l=a.indexOf(t);return l<0?null:a["previous"===e?l-1:l+1]??null};(0,c.useEffect)(()=>{if(T||!D||!H.current)return;let e=setTimeout(()=>{G(V.current)},150);return()=>clearTimeout(e)},[D,T]),(0,c.useEffect)(()=>{if(T)return;let e=V.current;!async function(){e&&(e.classList.add("scrollytelling__button--animated"),e.style.width="auto",await new Promise(e=>setTimeout(e,250)),e.classList.remove("scrollytelling__button--animated"),e.style.width=`${e.clientWidth}px`)}()},[D]),(0,c.useEffect)(()=>{if(T)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&100*e.intersectionRatio>=40&&(w(e.target.id),y(),(0,g.NL)("scrolly telling","scroll","scrolled"))})},{threshold:.4});return P.current&&e.observe(P.current),M(!0),()=>{P.current&&e.unobserve(P.current)}},[]);let W={customStyles:(0,f.N)(a),details:D?"is-open":"hidden",pointerEventsAuto:T?"pointer-events-auto":"",pointerEventsNone:T?"pointer-events-none":"",sectionReveal:F?" reveal":"",scrolling:!E&&A?"scrolling":""};return(0,l.jsxs)("section",{onWheel:()=>y(),onTouchStart:()=>y(),onClick:()=>y(),id:N,className:`component ${W.scrolling} scrollytelling__slide${W.sectionReveal}`,"data-uid":o.uid,ref:P,children:[(0,l.jsxs)("div",{className:"hero-banner hero-banner--main hero-banner--large",children:[(0,l.jsxs)("div",{className:"hero-banner-image-container",children:[(0,l.jsxs)("div",{className:"scrollytelling__slide-image-wrapper",children:[(0,l.jsx)(r._,{field:t.backgroundImage,title:t.backgroundImage?.value?.alt,alt:t.backgroundImage?.value?.alt,srcSet:T?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:T?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:`hero-banner-image ${W.pointerEventsAuto}`,style:R?{objectPosition:R}:{}}),(0,l.jsx)("div",{className:`hero-banner-image-wrapper has-bg-img ${F?"fade-in":"hidden"} ${W.pointerEventsNone}`})]}),!k&&(0,l.jsx)(m.VisualGrid,{})]}),(0,l.jsx)("div",{className:`hero-banner-content-container ${W.pointerEventsNone}`,children:(0,l.jsx)("div",{className:"fluid-grid",children:(0,l.jsxs)("div",{className:`hero-banner-content ${W.pointerEventsAuto}`,children:[(0,l.jsx)(s.E,{className:"hero-banner-label",field:t.subtitle,tag:"span"}),(0,l.jsx)(x.w,{overrideLevel:L,className:"hero-banner-title heading-1",children:(0,l.jsx)(s.E,{className:"hero-banner-title-text",field:t.title,tag:"span"})}),(0,l.jsx)(s.E,{className:"hero-banner-subtitle",field:t.introduction,tag:"p"}),(T||!!t.downloadLink?.value?.href)&&(0,l.jsx)(b.SmartLink,{field:t.downloadLink,role:"heading",className:`hero-banner-cta ${W.pointerEventsAuto}`})]})})})]}
63),k&&(0,l.jsx)("div",{ref:B,className:`scrollytelling__details ${W.details}`,onKeyDown:e=>{if(!D||T||"Tab"!==e.key)return;let t=Array.from(B.current?.querySelectorAll(j)??[]);if(0===t.length)return;let a=t[0],l=t[t.length-1];if(e.shiftKey&&e.target===a){e.preventDefault(),G(V.current);return}if(!e.shiftKey&&e.target===l){let t=z("next");t&&(e.preventDefault(),q(t))}},children:(0,l.jsx)("div",{className:"fluid-grid auto-rows-max",children:(0,l.jsx)(v.u,{value:Math.min(L+1,6),children:(0,l.jsx)(n.O,{rendering:o,name:"scrollytelling-details",passThroughComponentProps:{detailsOpen:D}})})})}),k?T||!$?(0,l.jsx)(m.VisualGrid,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{ref:V,"aria-label":C(D?h.A.SCROLLYTELLING_CLOSE_SECTION:h.A.SCROLLYTELLING_MORE_DETAILS),"aria-expanded":D,className:`scrollytelling__button shadow-scrollybtn ${D?"is-active":""}`,onClick:e=>{H.current=0===e.detail,w(N);let t=k&&!D||T;O(t),t?(setTimeout(()=>{window.scrollBy({top:178,behavior:"smooth"})},50*!!_),(0,g.NL)("scrolly telling",void 0,"dragger open")):(setTimeout(()=>{P?.current?.scrollIntoView({behavior:"smooth",block:"start"})},50),(0,g.NL)("scrolly telling",void 0,"dragger close"))},onKeyDown:e=>{if(!T){if(!D&&"Tab"===e.key&&!e.shiftKey){let t=z("next");t?.classList.contains("is-active")&&(e.preventDefault(),q(t));return}if(D){if("Tab"===e.key&&e.shiftKey){e.preventDefault();let t=z("previous");t?q(t):G(V.current);return}if("Tab"===e.key&&!e.shiftKey){let t=U(j);t&&(e.preventDefault(),q(t))}if("ArrowDown"===e.key){let t=U('h1, h2, h3, h4, h5, h6, [role="heading"], p, li, blockquote');t&&(e.preventDefault(),t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),q(t))}}}},type:"button",children:[(0,l.jsx)("span",{className:"text-span",children:C(D?h.A.SCROLLYTELLING_CLOSE_SECTION:h.A.SCROLLYTELLING_MORE_DETAILS)}),(0,l.jsx)("span",{className:"icon-span",role:"presentation",children:(0,l.jsx)(d.PlusIcon,{})})]}),(0,l.jsx)("div",{className:"-mt-12 h-12",children:(0,l.jsx)(m.VisualGrid,{})})]}):(0,l.jsxs)("div",{className:"scrollytelling__scroll",children:[(0,l.jsx)("span",{className:"text-span",children:C(h.A.SCROLLYTELLING_SCROLL)}),(0,l.jsx)("span",{className:"icon-span",role:"presentation",children:(0,l.jsx)(p.SVGIcon,{alt:"long arrow",icon:"long-arrow",spriteName:"long-arrow"})})]})]})})},4513:(e,t,a)=>{a.r(t),a.d(t,{NavigationItem:()=>c});var l=a(7876),i=a(4232),r=a(9099),s=a(4825),n=a(8765),o=a(7300),d=a(5145);let c=e=>{let t,a,u,m,{children:h,onClick:p,onBackClick:g,link:x,isOpen:v,hamburgerRef:f}=e,b=(0,r.useRouter)(),{page:j}=(0,s.M5)(),E=j?.mode?.isEditing,[N,w]=(0,i.useState)(!1),y=h?.results?.length,_={...e,hamburgerRef:f,link:x,navigationLevel:e.navigationLevel},A=e=>""===e?[]:e.split("-").map(e=>Number(e)),S={isActive:""!=e.navigationPath&&e.navigationPath.startsWith(e.activeNavigationPath)?"is-active":"invisible not-active",isHidden:(t=A(e.navigationPath),a=A(e.activeNavigationPath),u=t.length,m=a.length,1!==u&&(m>0&&t[0]!==a[0]||(!(m>0)||2!==u)&&(3!==u||!(m>=2)||t[1]!==a[1])&&1))?"invisible opacity-0":"visible opacity-100",base:"navigation-item relative text-color-white text-left transition-all duration-400 hover:text-color-yellow mr-3 xl:hover:mr-0 xl:hover:ml-3 ",level:()=>{switch(A(e.navigationPath).length){case 1:return"text-navigation1 -mb-2";case 2:return"text-navigation2 xl:w-[240px]";case 3:return"text-navigation2 py-1 -mb-2 xl:w-[240px]"}return""}},C=e=>{e.stopPropagation(),p?.(e,_)};return(0,i.useEffect)(()=>{let{asPath:t}=b,a=e?.link?.data.value?.href?.toLowerCase();if(a){let l=a.split("/");if(l.length>=2){let a=l.slice(2);t&&w(((e,t,a)=>{if(e.length===t.length&&e.every(function(e,a){return e===t[a]}))return!0;if(e.length>=a&&t.length>=a){let l=!0;for(let i=0;i<a;i++)e[i]!==t[i]&&(l=!1);return l}return!1})(a,t.split("/").splice(1),e.navigationLevel))}}},[b.asPath,e.activeNavigationPath]),(0,l.jsxs)("li",{onClick:E?e=>e.preventDefault():C,"data-navigation-path":e.navigationPath,className:` ${(A(e.navigationPath).length,"mb-2")} flex transition-all duration-400 xl:w-32p8 xxl:w-16p5 ${S.isHidden}
63 ${N?"xl:border-b xl:border-solid xl:border-color-primary-350/40":""}`,children:[y?(0,l.jsx)("button",{className:`${S.base} ${S.level()} ${N?"text-color-yellow":""}`,"aria-haspopup":"menu","aria-expanded":""!=e.navigationPath&&(e.navigationPath==e.activeNavigationPath||e.activeNavigationPath.startsWith(e.navigationPath)),"aria-controls":"menu-"+e.navigationPath,onClick:E?e=>e.preventDefault():C,onDoubleClick:!E||e.navigationLevel>=3?()=>{}:C,children:e?.link?.data.value?.text}):(0,l.jsx)(d.SmartLink,{className:`${S.base} ${S.level()} ${N?"text-color-yellow":""}`,field:e?e.link.data.value:{value:{href:"",linktype:"internal"}},onClick:E?e=>e.preventDefault():C,onDoubleClick:!E||e.navigationLevel>=3?()=>{}:C}),y>0&&(0,l.jsx)(o.s,{disableTabIndex:!0,isActive:v&&e.navigationLevel==A(e.activeNavigationPath).length,elementsAddStart:f&&f.current?[f.current]:void 0,children:(0,l.jsxs)("ul",{id:"menu-"+e.navigationPath,"data-level":e.navigationLevel+1,className:`absolute left-0 top-0 w-full translate-x-full opacity-0 ease-in-out [transition:_opacity_0.3s,_transform_0.3s,_visibility_0.3s] xl:translate-x-32p9 xxl:translate-x-16p5 ${S.isHidden} ${S.isActive}`,children:[(0,l.jsx)("li",{className:`flex transition-all duration-400 ${e.navigationPath==e.activeNavigationPath?"":"hidden"}`,children:(0,l.jsx)(n.NavigationBackButton,{onClick:e=>{e.stopPropagation(),g?.(e,_)},activeMenuLevel:e.navigationLevel})}),h?.results?.map((t,a)=>{let i={...t,navigationLevel:e.navigationLevel+1,navigationPath:e.navigationPath+"-"+a,activeNavigationPath:e.activeNavigationPath,isOpen:e.isOpen,hamburgerRef:e.hamburgerRef,onClick:p,onBackClick:g};return(0,l.jsx)(c,{...i},a)})]})})]})}},4633:(e,t,a)=>{a.r(t),a.d(t,{FormikCaptcha:()=>o});var l=a(7876),i=a(3808),r=a(4825),s=a(8229),n=a(6054);let o=e=>{let{ref:t,captchaToken:a,locale:o,captchaVariant:d,skipCaptcha:c,cookieEnabled:u,showCaptchaError:m}=e,{page:h}=(0,r.M5)(),[p,g,x]=(0,i.useField)(a);return(0,l.jsxs)("div",{className:"form-captcha",children:[!h?.mode?.isEditing&&"hcaptcha"===d.toLowerCase()&&!c&&u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.A,{ref:t,size:"normal",sitekey:"ebac4ac0-1738-429a-bc9c-69c472fa593e",onVerify:e=>x.setValue(e)}),(0,l.jsx)("input",{...p,name:a,hidden:!0})]}),!h?.mode?.isEditing&&"hcaptcha"!==d.toLowerCase()&&!c&&u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{ref:t,onChange:e=>x.setValue(e),size:"normal",sitekey:"6Le-Wf0mAAAAAIs8eySMDtmXNCyqkoA0A0Brqrqp",hl:o}),(0,l.jsx)("input",{...p,name:a,hidden:!0})]}),h?.mode?.isEditing&&"hcaptcha"===d.toLowerCase()&&(0,l.jsx)("p",{children:"HCaptcha placeholder"}),h?.mode?.isEditing&&"hcaptcha"!==d.toLowerCase()&&(0,l.jsx)("p",{children:"ReCaptcha placeholder"}),!!g?.error&&m&&(0,l.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":p.name,children:g?.error})]})}},4665:(e,t,a)=>{a.d(t,{T:()=>l});let l=e=>{if(!e||!e.current)return null;let t=new FormData(e.current),a={};for(let[e,l]of t.entries())a[e]=l;return JSON.stringify(a)}},4766:(e,t,a)=>{a.d(t,{Ac:()=>n,TV:()=>c,Tp:()=>m,oQ:()=>d,v_:()=>o});var l=a(3391),i=a(6300),r=a(2459),s=a(6350);let n=(e,t,a,l)=>{m({name:"entity_page",action:"view",locale:t,entities:[{id:e||"",entity_type:"content",entity_subtype:a,uri:l||""}]})},o=(e,t,a,l,i,r,s,n)=>{m({keyword:i,name:"widget",action:"click",actionCause:"entity",searchWidgetID:r,locale:s,entities:[{id:t,entity_type:"content",entity_subtype:l.replaceAll(" ","_")?.toLowerCase(),uri:a}],pageLoadTime:n,index:e})},d=(e,t,a,l,i,r,s)=>{u((e=>{if(!e?.widgets?.[0]?.content)return;let t=[];
63return e.widgets[0].content.forEach(e=>{t.push({id:e.id,entity_type:"content",entity_subtype:e.type.replaceAll(" ","_")?.toLowerCase(),uri:e.url})}),t})(e)||[],t,a,l,i,r,s)},c=(e,t,a,l,i,r,s)=>{let n;u((n=[],e.forEach(e=>{n.push({id:e?.job_id,entity_type:"content",entity_subtype:e.type?.replaceAll(" ","_")?.toLowerCase(),uri:e?.url})}),n),t,a,l,i,r,s)},u=(e,t,a,l,i,r,s)=>{m({keyword:r,name:"widget",action:"view",searchWidgetID:a,locale:l,entities:e,totalResults:i,pageLoadTime:t,pageNumber:s})},m=async e=>{let t="https://discover-euc1.sitecorecloud.io/event/61398015-126200477/v4/publish",a="01-967712c8-5a349c1760436ea6dccfd7bb02bfbe4dc2ccc36c";if(!t)return void console.log("Missing events endpoint");if(!a)return void console.log("Missing API key");let i=(0,l.y)();if(i)return await (0,r.w)(t,a,JSON.stringify(h(e.name,e.action,e.locale,i,e.searchWidgetID,e.pageLoadTime,e.keyword,e.filters,e.entities,e.totalResults,e.actionCause,e.actionSubType,e.pageNumber,e.index))).catch(e=>{console.error("Failed to send event data",e)})},h=(e,t,a,l,r,n,o,d,c,u,m,h,p,g)=>{let{language:x,country:v}=(0,i.y)(a),f={name:e,action:t,action_cause:m,action_sub_type:h,client_time_ms:Date.now(),uuid:l,value:{index:g,context:{page:{locale_country:v,locale_language:x,uri:window.location.href},browser:{user_agent:window.navigator.userAgent}},rfk_id:r,request:{keyword:o,num_requested:s.A.resultsLimit,num_results:0,page_size:0,total_results:0},filters:d,entities:c},page_load_time_ms:n||Date.now()};return f.value.request&&c&&"view"===t&&(f.value.request.num_requested=s.A.resultsLimit,f.value.request.num_results=c.length,f.value.request.page_size=c.length,f.value.request.total_results=u,f.value.request.page_number=p),f}},4791:(e,t,a)=>{a.r(t),a.d(t,{TextLink:()=>n});var l=a(7876),i=a(4825),r=a(876),s=a(5145);let n=e=>{let{field:t,variant:a,className:n,onClick:o}=e,{page:d}=(0,i.M5)();return t&&(d?.mode?.isEditing||(0,r.h)(t))?(0,l.jsx)(s.SmartLink,{...e,className:`${a||""} ${n} ${d?.mode?.isEditing?"pointer-events-auto":""}`,field:t,onClick:o,target:t.value.href?.includes(".pdf")?"_blank":t.value.target}):(0,l.jsx)(l.Fragment,{})};n.defaultPtops={variant:"button--box-lightblue"}},4860:(e,t,a)=>{a.r(t),a.d(t,{ChartLegend:()=>c});var l=a(7876),i=a(4232),r=a(3706),s=a(2650),n=a(6479),o=a(4825),d=a(2836);let c=({datasource:e,chartType:t,showValues:a,showAnimation:c,locale:u})=>{let[m,h]=(0,i.useState)(!1),[p,g]=(0,i.useState)([]),{page:x}=(0,o.M5)(),v=(0,i.useRef)([]),f=(0,r.a)(),{t:b}=(0,s.s9)(),j=(0,i.useMemo)(()=>{let t=new Map;return e.children.results.forEach(e=>{let a=e.legendTitle.data.value;t.has(a)||t.set(a,e),e.children.results.length>0&&e.children.results.forEach(e=>{let a=e.legendTitle.data.value;t.has(a)||t.set(a,e)})}),Array.from(t.values())},[e]),E=(0,i.useCallback)(e=>{e.forEach(e=>{let t=Number(e.target.getAttribute("data-index"));e.isIntersecting&&g(e=>{if(e[t])return e;let a=[...e];return a[t]=!0,a})})},[]);return(0,i.useEffect)(()=>{if(x?.mode?.isEditing)return;let e=new IntersectionObserver(E,{threshold:.5});return v.current.forEach(t=>{t&&e.observe(t)}),()=>e.disconnect()},[j,m]),(0,l.jsxs)("div",{children:[(0,l.jsx)("ul",{className:`chart-legend relative gap-3 ${(()=>{switch(t){case d.N.PieSingle:case d.N.DoughnutSingle:return"flex justify-center items-center mt-6 sm:mt-8 lg:mt-0 h-full";case d.N.PieMultiple:case d.N.DoughnutMultiple:return"grid grid-cols-1 max-w-145 ml-auto mt-6 sm:mt-8 mr-auto sm:grid-cols-2 lg:grid-cols-1 lg:mt-1";case d.N.BarHorizontalMultiple:return"flex flex-col mt-5 sm:mt-8 lg:ml-12 lg:mt-5";case d.N.BarVerticalMultiple:return"flex flex-col mt-0 sm:mt-8 lg:ml-12 lg:mt-0";case d.N.BarVerticalSingle:return"grid grid-cols-1 mt-0 ml-9 sm:ml-12 sm:grid-cols-2";case d.N.BarHorizontalSingle:default:if(0===e.children.results[0].children.results.length)return"flex justify-center w-full mt-6 sm:mt-8";return"grid grid-cols-1 max-w-145 ml-auto mt-6 sm:mt-8 mr-auto sm:grid-cols-2"}})()}`,children:j.map((t,i)=>{let r;if(i>=3&&!m&&f)return;let s=m?i/3-1:i,o=p[i];return(0,l.jsxs)("li",{className:`flex gap-3 opacity-0 duration-200 ${o&&c?"animate-fade-in":""} ${x?.mode?.isEditing||!c?"opacity-100":""} `,"data-index":`${i}`,ref:e=>{v.current[i]=e},style:{animationDelay:`${100*s}ms`,animationFillMode:"forwards"},children:[(0,l.jsx)("div",{className:"mt-1 h-4 min-h-4 w-4 min-w-4 rounded-full",style:{background:t?.color?.data?.f
63ields?.Color?.value??"#000000"}}),(0,l.jsxs)("div",{role:"group","aria-label":(r=`${b(n.A.ACC_CHARTS_LEGEND_ITEM)}: ${i+1}. ${t?.legendTitle?.data?.value}`,a&&(r+=`: ${t?.value?.data?.value}${e?.unit?.data?.value}`),r),children:[a&&(0,l.jsx)("p",{className:"chart-legend-number text-xl font-bold text-color-black","aria-hidden":!0,children:`${t.value.data.value?(+t.value.data.value)?.toLocaleString(u):""}${e.unit.data.value}`}),(0,l.jsx)("p",{"aria-hidden":!0,className:"text-color-black-900",children:t.legendTitle.data.value})]})]},`legend-${i}`)})}),j.length>3&&f&&(0,l.jsx)("button",{onClick:()=>h(!m),className:"float-right mt-6 border-b-1 border-b-color-primary-150 text-color-black-900","aria-label":m?b(n.A.ACC_CHARTS_HIDE_LEGEND):b(n.A.ACC_CHARTS_REVEAL_LEGEND),"aria-expanded":m,children:m?b(n.A.GENERAL_READ_LESS):b(n.A.GENERAL_READ_MORE)})]})}},4880:(e,t,a)=>{a.r(t),a.d(t,{HotspotDetails:()=>y});var l=a(7876),i=a(4825),r=a(5401),s=a(7273),n=a(4232),o=a(9948),d=a(2650),c=a(4913),u=a(8495),m=a(876),h=a(8529),p=a(8359),g=a(898),x=a(6479),v=a(4259),f=a(9466),b=a(6141),j=a(5537),E=a(5145),N=a(5668),w=a(7300);let y=e=>{let{hotspotFields:t,fields:a,index:y,pageViewEvent:_}=e,{page:A}=(0,i.M5)(),S={auto:A?.mode?.isEditing?"pointer-events-auto":"",none:A?.mode?.isEditing?"pointer-events-none":""}
63,[C,T]=(0,n.useState)(!1),[I,L]=(0,n.useState)(!1),[k]=(0,o.lT)(),{t:R}=(0,d.s9)(),$=(0,n.useRef)(-1),D=(0,n.useRef)(void 0),O=(0,n.useRef)(null),[F,M]=(0,n.useState)(!1),P=(a.youtubeVideoID?.value).trim(),V=e=>e?.Left&&e?.Top?`${e?.Left} ${e?.Top}`:"",B=(0,n.useCallback)(()=>{let e=O.current;e&&(e.classList.remove("shown"),D.current?.stopVideo?.(),setTimeout(()=>{T(!1),e.classList.add("hidden");let t=document.querySelector(`.hotspot-point-trigger[data-hotspot-index="${y}"]`);t?.focus()},500),_?.())},[y,_]);return(0,n.useEffect)(()=>{A?.mode?.isEditing||L((0,c.$)(u.$.functional))},[A,k]),(0,n.useEffect)(()=>{let e=O.current;if(!e)return;let t=()=>{M(e.classList.contains("shown")&&!e.classList.contains("hidden"))};t();let a=new MutationObserver(t);return a.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>{a.disconnect()}},[]),(0,n.useEffect)(()=>{if(!F)return;let e=e=>{"Escape"===e.key&&(e.preventDefault(),B())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[B,F]),(0,l.jsx)("div",{className:"hotspot-details pointer-events-auto hidden","data-index":y,ref:O,children:(0,l.jsxs)(w.s,{isActive:F,className:"h-full",children:[(0,l.jsx)(j.VisualGrid,{className:"opacity-50"}),(0,l.jsx)("div",{className:"bg-gradient-purple-blue absolute left-0 top-0 -z-1 h-full w-full opacity-90"}),(0,l.jsxs)("div",{className:"grid h-full grid-cols-12 max-md:z-10 md:mx-8 lg:mx-13 xl:mx-19.5",children:[(0,l.jsx)("div",{className:"col-span-12 flex flex-col justify-center md:col-span-4 md:col-start-3",children:(0,l.jsxs)("div",{className:"text-color-white max-md:mx-8",children:[(0,l.jsx)(N.w,{className:"visual-grid--px mb-6 mr-8 after:w-[calc(100%+2rem)]",children:(0,l.jsx)(r.E,{field:a.label})}),(0,l.jsx)(r.E,{field:a.description,tag:"p",className:"mb-6 mr-20 block text-body"}),(A?.mode?.isEditing||(0,m.h)(a.link))&&(0,l.jsx)(E.SmartLink,{field:a.link,className:"button--yellowline-white"})]})}),(0,l.jsx)("div",{className:"col-span-12 min-h-56 max-md:relative md:col-span-6 md:col-start-7",children:a.youtubeVideoID?.value&&C?(0,l.jsx)("div",{className:"absolute h-full w-full md:w-50p",children:(0,l.jsx)(v.A,{videoId:P,id:`ytplayer-${P}`,className:"h-full w-full",opts:{width:"100%",height:"100%",playerVars:{autoplay:1,rel:0}},onStateChange:e=>{0===e.data?(0,f.KH)(a.title?.value,"finished"):1===e.data&&2!==$.current&&(0,f.KH)(a.title?.value,"start"),$.current=e.data},onReady:e=>{D.current=e.target}})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute h-full w-full md:w-50p",children:(0,l.jsx)(s._,{field:a.image,title:a.image?.value?.alt,alt:a.image?.value?.alt,srcSet:A?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:A?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:"h-full object-cover max-md:w-full",style:V(a.imageFocalPoint)?{objectPosition:V(a.imageFocalPoint)}:{}})}),a.youtubeVideoID?.value&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute flex h-full w-full flex-col items-center justify-center bg-color-black/40 md:w-50p",children:(0,l.jsx)(h.CommonButton,{ariaLabel:R(x.A.PLAY_BUTTON),className:`play-button relative ${S.auto}`,icon:(0,l.jsx)(p.SVGIcon,{spriteName:"ui",icon:"play"}),onClick:I||A?.mode?.isEditing?()=>T(!0):void 0})}),(0,l.jsx)("div",{className:A?.mode?.isEditing||I?"hidden":"onetrust-overlay-container w-full md:w-50p",children:(0,l.jsxs)("div",{className:"onetrust-overlay",children:[(0,l.jsx)(r.E,{field:t.enableCookieTitle,className:`onetrust-cookie-title ${S.auto}`,tag:"h2"}),(0,l.jsx)(r.E,{field:t.enableCookieSubtitle,className:`onetrust-cookie-subtitle ${S.auto}`,tag:"p"}),(0,l.jsx)(g.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,c.l)(),onLabel:R(x.A.ONETRUST_OVERLAY_ENABLE),offLabel:R(x.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:R(x.A.ONETRUST_SWITCH_LABEL)})]})})]}),A?.mode?.isEditing&&(0,l.jsx)("div",{className:"relative z-20",children:(0,l.jsx)(b.HiddenProperties,{properties:["youtubeVideoID"],fields:a})})]})})]}),(0,l.jsx)("div",{className:"absolute left-50p top-0 z-20 -translate-x-50p -translate-y-50p md:translate-y-[150%]",children:(0,l.jsx)("button",{className:"hotspot-details-button",type:"button","aria-label":R(x.A.ACC_HOTSPOT_CLOSE_SECTION),onClick:B,children:(0,l.jsx)("span",{"aria-hidden":"true",children:"+"})})})]})})}},4913:(e,t,a)=>{a.d(t,{$:()=>s,l:()=>r});var l=a(8495),i=a(5357);let r=()=>{window.OneTrust&&window.OneTrust.UpdateConsent("Category",`${l.$.functional}:1`)},s=e=>((0,i.R)("OptanonConsent")||"").indexOf(`${e}:1`)>0},4940:(e,t,a)=>{a.r(t),a.d(t,{CarouselChevronLeft:()=>r,CarouselChevronRight:()=>s,ChevronLeft:()=>n,ChevronRight:()=>
63o,ClearFormat:()=>j,Database:()=>d,DeleteEntireColumn:()=>p,DeleteEntireRow:()=>v,Gesture:()=>c,HamburgerIcon:()=>E,Hyperlink:()=>b,InsertColumnAfter:()=>m,InsertColumnBefore:()=>h,InsertRowAfter:()=>x,InsertRowBefore:()=>g,MinusCircle:()=>f,PlusCircle:()=>u,PlusIcon:()=>N,SearchIcon:()=>w,XIcon:()=>y});var l=a(7876),i=a(8359);let r=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.94975 0.0502621L5.65686 0.757369L1.41423 4.99999L5.65687 9.24262L4.94976 9.94973L0.707128 5.7071L0.707112 5.70712L5.03015e-06 5.00001L2.12145e-05 4.99999L1.17736e-05 4.99998L0.707118 4.29288L0.707128 4.29289L4.94975 0.0502621Z",fill:"white"})}),s=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.84923 9.94974L5.14212 9.24263L9.38475 5.00001L5.14212 0.757376L5.84922 0.0502692L10.0919 4.2929L10.0919 4.29288L10.799 4.99999L10.799 5.00001L10.799 5.00002L10.0919 5.70712L10.0919 5.70711L5.84923 9.94974Z",fill:"white"})}),n=({ariaHidden:e=!0})=>(0,l.jsx)("svg",{width:"6",height:"9",viewBox:"0 0 6 9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":e,children:(0,l.jsx)("path",{d:"M4.52.571.887 4.208H.884l-.606.606 4.243 4.242.606-.606-3.635-3.636 3.635-3.637L4.52.571Z",fill:"currentColor",fillRule:"nonzero"})}),o=({ariaHidden:e=!0})=>(0,l.jsx)("svg",{width:"6",height:"9",viewBox:"0 0 6 9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":e,children:(0,l.jsx)("path",{d:"M1.52 9.056 5.157 5.42h.001l.606-.606L1.521.57l-.606.606L4.55 4.814.915 8.45l.606.606Z",fill:"currentColor",fillRule:"nonzero"})}),d=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"h-6 w-6",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})}),c=e=>{let{className:t,isActive:a}=e,n=Object.values({className:t,isActive:a?"animate-hide-icon opacity-0":"animate-show-icon opacity-100"}).join(" ").trim();return(0,l.jsxs)("div",{className:`z-20 flex w-fit items-center gap-4 roun
63ded-28px bg-color-black-900/70 px-8 py-3 ${n}`,children:[(0,l.jsx)("span",{className:"h-2.5 w-2.5 fill-color-white",role:"presentation",children:(0,l.jsx)(r,{})}),(0,l.jsx)("span",{className:"my-0.25 h-7.5 w-8 fill-color-yellow",role:"presentation",children:(0,l.jsx)(i.SVGIcon,{className:"animate-move-swipe-gesture",icon:"grab-action"})}),(0,l.jsx)("span",{className:"h-2.5 w-2.5 fill-color-white",role:"presentation",children:(0,l.jsx)(s,{})})]})},u=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"h-6 w-6",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})}),m=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M1740 0c99.24 0 180 80.76 180 180v1560c0 99.24-80.76 180-180 180H180c-99.24 0-180-80.76-180-180V180C0 80.76 80.76 0 180 0h1560Zm60 1740V180c0-33-26.88-60-60-60H720v1680h1020c33.12 0 60-27 60-60Zm-1620 60h420v-480H120v420c0 33 26.88 60 60 60Zm-60-600h480V720H120v480Zm60-1080c-33.12 0-60 27-60 60v420h480V120H180Zm963.516 390h240v330h330v240h-330v330h-240v-330h-330V840h330V510Z",fillRule:"evenodd"})}),h=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M120 180v1560c0 33 26.88 60 60 60h1020V120H180c-33.12 0-60 27-60 60Zm1620-60h-420v480h480V180c0-33-26.88-60-60-60Zm60 600h-480v480h480V720Zm-60 1080c33.12 0 60-27 60-60v-420h-480v480h420ZM180 1920c-99.24 0-180-80.76-180-180V180C0 80.76 80.76 0 180 0h1560c99.24 0 180 80.76 180 180v1560c0 99.24-80.76 180-180 180H180Zm596.484-510h-240v-330h-330V840h330V510h240v330h330v240h-330v330Z",fillRule:"evenodd"})}),p=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M1800 1740c0 33-27 60-60 60h-420v-300h-120v300H720v-300H600v300H180c-33.12 0-60-27-60-60V180c0-33 26.88-60 60-60h420v300h120V120h480v300h120V120h420c33 0 60 27 60 60v1560ZM1740 0H180C80.76 0 0 80.76 0 180v1560c0 99.24 80.76 180 180 180h1560c99.24 0 180-80.76 180-180V180c0-99.24-80.76-180-180-180Zm-305.16 654.84-169.68-169.68L960 790.32 654.84 485.16 485.16 654.84 790.32 960l-305.16 305.16 169.68 169.68L960 1129.68l305.16 305.16 169.68-169.68L1129.68 960l305.16-305.16Z",fillRule:"evenodd"})}),g=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M1740 120H180c-33 0-60 26.88-60 60v1020h1680V180c0-33.12-27-60-60-60Zm60 1620v-420h-480v480h420c33 0 60-26.88 60-60Zm-600 60v-480H720v480h480Zm-1080-60c0 33.12 27 60 60 60h420v-480H120v420ZM0 180C0 80.76 80.76 0 180 0h1560c99.24 0 180 80.76 180 180v1560c0 99.24-80.76 180-180 180H180c-99.24 0-180-80.76-180-180V180Zm510 596.484v-240h330v-330h240v330h330v240h-330v330H840v-330H510Z",fillRule:"evenodd"})}),x=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M180 1800h1560c33 0 60-26.88 60-60V720H120v1020c0 33.12 27 60 60 60ZM120 180v420h480V120H180c-33 0-60 26.88-60 60Zm600-60v480h480V120H720Zm1080 60c0-33.12-27-60-60-60h-420v480h480V180Zm120 1560c0 99.24-80.76 180-180 180H180c-99.24 0-180-80.76-180-180V180C0 80.76 80.76 0 180 0h1560c99.24 0 180 80.76 180 180v1560Zm-510-596.484v240h-330v330H840v-330H510v-240h330v-330h240v330h330Z",fillRule:"evenodd"})}),v=()=>(0,l.jsx)("svg",{fill:"#807f8b",viewBox:"0 0 1920 1920",strokeWidth:"1.5",stroke:"currentColor",className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M180 1800c-33 0-60-27-60-60v-420h300v-120H120V720h300V600H120V180c0-33.12 27-60 60-60h1560c33 0 60 26.88 60 60v420h-300v120h300v480h-300v120h300v420c0 33-27 60-60 60H180Zm1740-60V180c0-99.24-80.76-180-180-180H180C80.76 0 0 80.76 0 180v1560c0 99.24 80.76 180 180 180h1560c99.24 0 180-80.76 180-180ZM485.32 1265 655 1434.68l305.16-305.16 305.16 305.16L1435 1265l-305.16-305.16L1435 654.68 1265.32 485 960.16 790.16 655 485 485.32 654.68l305.16 305.16L485.32 1265Z",fillRule:"evenodd"})}),f=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"h-6 w-6",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})}),b=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"h-6 w-6",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"})}),j=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"h-6 w-6",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m6.75 12H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})}),E=({isActive:e=!1})=>(0,l.jsxs)("div",{className:`hamburger-icon ${e?"is-active":""}`,children:[(0,l.jsx)("div",{className:"bars top-bar",children:(0,l.jsx)("span",{className:"bar",role:"presentation"})}),(0,l.jsx)("div",{className:"bars mid-bar",role:"presentation",children:(0,l.jsx)("span",{className:"bar"})}),(0,l.jsx)("div",{className:"bars bot-bar",role:"presentation",children:(0,l.jsx)("span",{className:"bar"})})]}),N=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",children:(0,l.jsx)("path",{d:"M19.5019 11.7336L11.4003 11.7298L11.4041 19.8314L9.59666 19.832L9.60562 11.7304L1.50401 11.7394L1.50459 9.93193L9.6062 9.93569L9.6088 1.84044L11.4035 1.83987L11.4009 9.93511L19.4962 9.93251L19.5019 11.7336Z",fill:"white"})}),w=({isActive:e=!1})=>(0,l.jsx)("span",{className:`search-icon ${e?"is-active":""}`}),y=({width:e="21",height:t="21"})=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 21 21",children:(0,l.jsx)("path",{d:"M18.715 20.3853L10.5 12.1574L2.28497 20.3853L0.450806 18.5512L8.67872 10.3362L0.450806 2.12115L2.28497 0.286987L10.5 8.5149L18.715 0.299904L20.5362 2.12115L12.3212 10.3362L20.5362 18.5512L18.715 20.3853Z"})})},5145:(e,t,a)=>{a.r(t),a.d(t,{SmartLink:()=>u,isExternalLinkField:()=>c});var l=a(7876),i=a(4232),r=a(7782),s=a(2146),n=a(8906),o=a(2376);let d=e=>{if(e)return"object"==typeof e&&"value"in e?e.value:e},c=e=>{let t=d(e);return!!t&&t.linktype===s.J.EXTERNAL},u=(0,i.forwardRef)(({field:e,children:t,externalIconTargetClassName:a,disableExternalIcon:i,showLinkTextWithChildrenPresent:s,rel:u,...m},h)=>{let p=c(e)&&!i,g=null!=t&&!1!==t,x=(0,o.i)(d(e)?.href),v=(0,n.Iu)(t,p,a),f=Object.fromEntries(Object.entries(m).filter(([,e])=>void 0!==e));return(0,l.jsx)(r.N,{field:e,showLinkTextWithChildrenPresent:s??!g,"data-smartlink-external":p?"true":void 0,rel:x,...f,ref:h,children:v})});u.displayName="SmartLink"},5188:(e,t,a)=>{a.r(t),a.d(t,{NavigationPanel:()=>g});var l=a(7876),i=a(4825),r=a(9228),s=a(8529),n=a(8359),o=a(5537),d=a(4232),c=a(2650),u=a(6479),m=a(9099),h=a(6651),p=a(7300);let g=({rendering:e,backdropOnclick:t,isOpen:a,hamburgerRef:g})=>{let{page:x}=(0,i.M5)(),[v,f]=(0,d.useState)(""),[b,j]=(0,d.useState)(""),[E,N]=(0,d.useState)(""),[w,y]=(0,d.useState)(""),[_,A]=(0,d.useState)(1),S=(0,d.useRef)([]),{setNavigationPath:C}=(0,h.Sz)(),{t:T}=(0,c.s9)(),I=(0,m.useRouter)(),L=(0,d.useRef)(null),k=(0,d.useRef)(null),R=(0,d.useRef)(null),$=(0,d.useCallback)((e,t,a)=>{null!==e&&(N(v),f(e),N("")),null!==t&&(y(b),j(t),y("")),A(a)},[v,b]);(0,d.useEffect)(()=>{!a&&1!==_&&window.innerWidth<992&&D()},[a,_]);let D=(0,d.useCallback)(()=>$("","",1),[$]);(0,d.useEffect)(()=>{I.events.on("routeChangeStart",D)},[D,I.events]);let O={open:a?"is-open":"",sitecoreStatus:x?.mode?.isEditing?"is-sitecore-editing":""};return(0,l.jsxs)(p.s,{isActive:a,disableTabIndex:!0,elementsAddStart:[g.current],children:[(0,l.jsx)("div",{className:`backdrop ${O.open}`,onClick:t,onKeyDown:()=>t,role:"button","aria-hidden":!0}),(0,l.jsxs)("div",{className:`nav-panel headroom ${O.open} ${O.sitecoreStatus} current-level-${_}`,ref:L,children:[(0,l.jsx)(o.VisualGrid,{}),(0,l.jsx)("div",{className:"fluid-grid box h-screen w-screen",children:(0,l.jsxs)("div",{className:"relative col-span-12 h-full py-21 md:col-span-10 md:col-start-3 xl:col-span-12",children:[(0,l.jsx)("div",{className:"nav-back-button",children:(0,l.jsx)(s.CommonButton,{icon:(0,l.jsx)(n.SVGIcon,{spriteName:"ui",icon:"arrow-left",alt:T(u.A.HEADER_ICON_PREVIOUS)}),iconHeight:"h-6",iconWidth:"w-6",onClick:e=>{e.preventDefault(),3===_?($(null,"",2),R.current?.focus()):(D(),k.current?.focus())},switchOrder:!0,text:T(u.A.HEADER_BACK),className:1===_?"invisible":""})}),(0,l.jsx)(o.VisualGridLine,{className:"mb-11.25 md:hidden"}),(0,l.jsxs)("nav",{className:"nav","aria-label":T(u.A.ACC_NAV_PRIMARY_NAVIGATION),children:[(0,l.jsx)("ul",{className:"nav--main",children:(0,l.jsx)(r.O,{name:"main-navigation-items",rendering:e,passThroughComponentProps:{activeIndeces:[v,b],prevIndeces:[E,w],handleClick:(e,t,a,l,i)=>{if(1===i?S.current=[`menu:${a?.value?.text}`]:2===i&&S.current?.length===1?S.current[1]=a?.value?.text||"":2===i&&S.current?.length===2&&(S.current[2]=a?.value?.text||""),l)return void C(S.current);e.preventDefault();let r=e.currentTarget;1===i?(k.current=r,$(t,"",2)):(R.current=r,$(null,t,3))},currentLevel:1}})}),(0,l.jsx)(r.O,{name:"meta-navigation",rendering:e,passThroughComponentProps:{className:"nav--meta"}}),(0,l.jsx)(o.VisualGridLine,{className:"w-4/5 lg:hidden"})]})]})})]})]})}},5357:(e,t,a)=>{a.d(t,{R:()=>l,T:()=>i});let l=e=>{let t=e+"=",a=decodeURIComponent(document.cookie).split(";");for(let e=0;e<a.length;e++){let l=a[e];for(;" "===l.charAt(0);)l=l.substring(1);if(0===l.indexOf(t))return l.substring(t.length,l.length)}};function i(e,t,a){let l=new Date;l.setTime(l.getTime()+24*a*36e5);let i="expires="+l.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}},5379:(e,t,a)=>{a.r(t),a.d(t,{AdobePageView:()=>c});var l=a(7876),i=a(4232),r=a(6651),s=a(9099),n=a(9466),o=a(4825),d=a(9454);let c=()=>{let{pageTemplate:e,navigationPath:t,setNavigationPath:a}=(0,r.Sz)(),c=(0,s.useRouter)(),[u,m]=(0,i.useState)(d.A.get("sc_cid")),h=(0,i.useRef)(""),p=(0,i.useRef)(void 0),g=(0,i.useRef)(""),{page:x}=(0,o.M5)(),v=(0,i.useRef)(!1);(0,i.useEffect)(()=>{v.current=!0},[]),(0,i.useEffect)(()=>{let e=d.A.get("sc_cid");
63e!==u&&m(e)},[v,u]),(0,i.useEffect)(()=>{(!f()||b())&&(h.current=c.asPath.split("?")?.[0],p.current=c.query.query||void 0,j(),g.current=document.querySelector(".pagination-results")?.getAttribute("data-results-count")||"")},[c.asPath,u]);let f=()=>""!==h.current&&h.current===c.asPath.split("?")?.[0],b=()=>p.current!==c.query?.query,j=async()=>{let l=0;await new Promise(i=>{let r=setInterval(()=>{(("Jobs Search Page"!==e||document.querySelector(".pagination-results")?.getAttribute("data-results-count")&&g.current!==document.querySelector(".pagination-results")?.getAttribute("data-results-count"))&&d.A.get("sc_cid")&&window?.adv_event||l>19)&&(clearInterval(r),i(!0),(0,n.rg)(c,x.locale||"en",e||"",t,d.A.get("sc_cid"),new URLSearchParams(window.location.search)),a([])),++l},200)})};return(0,l.jsx)(l.Fragment,{})}},5398:(e,t,a)=>{a.r(t),a.d(t,{AnnualReportMenu:()=>j});var l=a(7876),i=a(4825),r=a(5401),s=a(7782),n=a(8359),o=a(4791),d=a(9149),c=a.n(d),u=a(9099),m=a(4232),h=a(9466),p=a(876),g=a(6651),x=a(9948),v=a(7654),f=a(2650),b=a(6479);let j=e=>{let{menuItems:t,quickLinksText:a,ctaButton:d}=e,[j,E]=(0,m.useState)(["",""]),[N,w]=(0,m.useState)(0),[y,_]=(0,m.useState)([]),[A,S]=(0,m.useState)(0),[C,T]=(0,m.useState)(null),[I,L]=(0,m.useState)(null),[k,R]=(0,m.useState)(!0),[$,D]=(0,m.useState)(!0),[O,F]=(0,m.useState)(!0),[M,P]=(0,m.useState)(!0),{page:V}=(0,i.M5)(),B=(0,m.useRef)(null),H=(0,m.useRef)(null),U=(0,m.useRef)([]),G=(0,m.useRef)(null),q=(0,m.useRef)(null),z=(0,m.useRef)([]),W=(0,m.useRef)([]),[Y]=(0,x.lT)(["sc_cid"]),{pageTemplate:J,navigationPath:Q}=(0,g.Sz)(),{t:K}=(0,f.s9)(),X=e=>e.shortMenuTitle?.value?e.shortMenuTitle?.value?.toString():e.title?.value,{setNavigationPath:Z}=(0,g.Sz)(),ee=(0,u.useRouter)();(0,m.useEffect)(()=>{},[z.current[0]]),(0,m.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){let t=e.target.id.split("---"),a=en(t[0],t[1]);if(a>-1){let e=document.getElementById("submenu-"+j[0]+"-"+a);e&&(e.getBoundingClientRect().right>window.innerWidth-100?el("right"):e.getBoundingClientRect().left<0&&el("left"))}E([t[0],t[1]])}})},{threshold:.4}),a=t.filter(e=>e.anchor===j[0]);if(a[0]){let t=a[0].submenuItems;t&&setTimeout(()=>{t.forEach(t=>{let a=document?.getElementById(t.anchor);a&&a&&e.observe(a)})},300)}},[j[0]]),(0,m.useEffect)(()=>{if(ee.isReady){window.addEventListener("hashchange",function(){let e=window.location.hash.substring(1).split("---")??[];e.length>1&&j[0]!=e[0]&&j[1]!=e[1]?(E([e[0],e[1]]),window.scrollY>800&&setTimeout(()=>{let t=document.getElementById(e[0]+"---"+e[1]);t?.scrollIntoView()},100)):1==e.length&&j[0]!=e[0]&&(E([e[0],""]),window.scrollY>800&&setTimeout(()=>{let t=document.getElementById(e[0]);t?.scrollIntoView()},100))});let e=document.getElementsByClassName("hero-banner-container");e&&e[0]&&T(e[0]);let t=document.getElementsByClassName("main-header");if(t&&t[0]){let e=t[0];e?.style?.setProperty("transform","unset"),L(e)}let a=document.getElementsByClassName("hero-banner-content-container");if(a&&a[0]&&(a[0].style.paddingBottom="50px"),z.current&&z.current.length>0){let e=new IntersectionObserver(t=>eu(t,e),{root:null,rootMargin:"0px",threshold:1});z.current.forEach(t=>{e.observe(t)})}if(W.current&&W.current.length>0){let e=new IntersectionObserver(t=>em(t,e),{root:null,rootMargin:"0px",threshold:1});W.current.forEach(t=>{e.observe(t)})}}},[ee.isReady]),(0,m.useEffect)(()=>{if(t.length>0&&t[0].submenuItems.length>0){_(Array(t.length).fill(0)),E([t[0].anchor,t[0].submenuItems[0].anchor]);let e={root:null,rootMargin:"0px",threshold:1},a=new IntersectionObserver(e=>ed(e,a),e);G.current&&a.observe(G.current);let l=new IntersectionObserver(e=>ec(e,l),e);q.current&&l.observe(q.current)}if(window.location.hash){let e=window.location.hash.substring(1).split("---")??[];e.length>1?E([e[0],e[1]]):e.length>0&&E([e[0],""])}},[t]);let et=(0,m.useCallback)(c()(()=>{I?.style?.setProperty("transform","unset"),S(window.scrollY)},20),[A]);if((0,m.useEffect)(()=>(window.addEventListener("scroll",et),()=>{window.removeEventListener("scroll",et)}),[et]),!t)return(0,l.jsx)(l.Fragment,{});let ea=e=>{if(H.current){let a=document.getElementById("menu-"+t["right"==e?N:N-1].anchor);if(a)if("right"==e&&N<t.length-1){let e=a?.clientWidth-48*(0==N);H.current.scrollLeft+=e,w(N+1)}else N>0&&(H.current.scrollLeft-=a?.clientWidth,w(N-1))}},el=e=>{let a=es(j[0]);
63if(U.current[a]){let l=document.getElementById("submenu-"+j[0]+"-"+("right"==e?y[a]:y[a]-1));if(l){if("right"==e&&y[a]<t.length-1){let e=l?.clientWidth-36*(0==y[a]);U.current[a].scrollLeft+=e;let t=y[a];y.splice(a,1,t+1),_(y)}else if(y[a]>0){U.current[a].scrollLeft-=l?.clientWidth;let e=y[a];y.splice(a,1,e-1),_(y)}}else y.splice(a,1,0),_(y),U.current[a].scrollLeft=0}},ei=e=>{let t="menu:"+j[0]+":"+e;(0,h.NL)("navigation","sub-menu","chosen menu item",t),j.length>1&&e===j[1]||E([j.length>0?j[0]:"",e])},er=e=>t.filter(t=>t.anchor==e)[0]?.submenuItems,es=e=>t.findIndex(t=>t.anchor==e),en=(e,t)=>er(e).findIndex(a=>a.anchor==e+"---"+t),eo=()=>{let e=!1;return!V?.mode?.isEditing&&(C&&B&&B.current&&(e=A>C?.clientHeight-B.current?.clientHeight-50),e)},ed=e=>{e.forEach(e=>{e.isIntersecting?(R(!0),w(0)):R(!1)})},ec=e=>{e.forEach(e=>{e.isIntersecting?D(!0):D(!1)})},eu=e=>{e.forEach(e=>{e.isIntersecting?(F(!0),setTimeout(()=>{let e=es(j[0]);y.splice(e,1,0),_(y)},500)):F(!1)})},em=e=>{e.forEach(e=>{e.isIntersecting?P(!0):P(!1)})},eh=e=>j[1]===e?" md:text-color-black ":" md:text-color-white";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("nav",{className:`z-100 col-span-12 ${eo()?"sticky w-full top-12 ":"relative"}`,ref:B,"aria-label":K(b.A.ACC_NAV_ANNUALREPORT_MENU),children:t?.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"hidden",id:"active-main-menu","data-active-menu":j[0]}),(0,l.jsxs)("div",{className:"items-center self-center p-3 md:flex",children:[(0,l.jsxs)("div",{ref:H,className:`mb-9 flex w-full flex-row items-center overflow-hidden scroll-smooth bg-color-ar-gray bg-opacity-90 p-3 ${eo()?"rounded-3xl md:rounded-bl-none md:rounded-t-3xl md:rounded-br-3xl":"rounded-3xl"}`,children:[(0,l.jsx)("div",{ref:G}),t.map((e,t)=>{let a,i;return(0,l.jsxs)("div",{className:"whitespace-nowrap",children:[(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("a",{href:"#"+e.anchor,id:"menu-"+e.anchor,className:`flex items-center gap-3 rounded-full px-6 py-2 text-lg font-medium ${(a=e.anchor,j[0]===a?"bg-color-yellow text-color-black":"text-color-white")}`,onClick:()=>{var t;V?.mode?.isEditing||(t=e.anchor,(0,h.rg)(ee,V?.locale||"en",J||"",Q,Y.sc_cid||"",void 0,t),j.length>0&&t!==j[0]&&E([t,j.length>1?j[1]:""]))},children:(0,l.jsx)("span",{className:"pointer-events-none",children:X(e)})})}),e.submenuItems&&e.submenuItems?.length>0&&(0,l.jsxs)("div",{className:`justify-left absolute left-0 top-20 ml-3 hidden max-w-93p flex-col items-center space-x-unset md:w-auto md:rounded-b-3xl ${(i=e.anchor,eo()&&(j[0]===i?"md:flex md:flex-row":"hidden"))}`,children:[(0,l.jsxs)("div",{ref:e=>{U.current[t]=e},className:"left-0 flex w-full flex-row items-center overflow-hidden scroll-smooth bg-color-ar-gray bg-opacity-90 p-3 md:rounded-b-3xl",children:[(0,l.jsx)("div",{ref:e=>{z.current[t]=e}}),e.submenuItems?.map((t,a)=>(0,l.jsx)("a",{id:"submenu-"+e.anchor+"-"+a,href:"#"+t.anchor,className:`block border-b-1 border-color-gray-250 p-3 font-medium text-color-primary md:rounded-full md:border-none md:p-0 md:px-6 ${eh(t.anchor.split("---")[1])}`,onClick:()=>{V?.mode?.isEditing||ei(t.anchor.split("---")[1])},children:V?.mode?.isEditing?(0,l.jsx)(r.E,{field:t.title}):X(t)},t.anchor)),(0,l.jsx)("div",{ref:e=>{W.current[t]=e}})]}),(0,l.jsxs)("div",{className:"submenu-paddles z-10",children:[(0,l.jsx)("button",{className:`left-paddle absolute bottom-0 left-2 top-0 m-1.5 h-9 w-9 rounded-50 bg-color-white ${!O&&y[t]>0?"":"hidden"}`,onClick:()=>{V?.mode?.isEditing||el("left")},children:(0,l.jsx)(n.SVGIcon,{className:"fill-color-primary p-2",icon:"arrow-left"})}),(0,l.jsx)("button",{className:`right-paddle absolute bottom-0 right-2 top-0 m-1.5 h-9 w-9 rounded-50 bg-color-white ${!M?"":"hidden"}`,onClick:()=>{V?.mode?.isEditing||el("right")},children:(0,l.jsx)(n.SVGIcon,{className:"fill-color-primary p-2",icon:"arrow-right"})})]})]})]},"annualreport__menu-item--"+e.anchor)}),(V?.mode?.isEditing||(0,p.h)(d))&&(0,l.jsxs)("div",{id:"cta-wrapper",className:"ml-8 hidden md:flex",children:[(0,l.jsx)(s.N,{field:d,className:"min-w-9",children:(0,l.jsx)(n.SVGIcon,{className:"block max-h-7 max-w-7 rounded-full border-2 border-color-white fill-color-white",icon:"arrow-down"})}),(0,l.jsx)(o.TextLink,{field:d,disableExternalIcon:!0,className:"button--yellowline-white ml-2 block whitespace-nowrap pb-0 text-lg",onClick:()=>{let e,t,a;return e=d?.value?.text??"",t=(0,v.Q)(d?.value?.href)??"",a=(0,v.T)(t),void((0,h.rp)(e,a),Z([`ar cta:${d?.value?.text}`]))}})]}),(0,l.jsx)("div",{ref:q})]}),(0,l.jsxs)("div",{className:"mainmenu-paddles z-10 block",children:[(0,l.jsx)("button",{className:`left-paddle absolute bottom-0 left-2 top-0 m-6 h-12 w-12 rounded-50 bg-color-white ${k?"hidden":""}`,onClick:()=>{V?.mode?.isEditing||ea("left")},children:(0,l.jsx)(n.SVGIcon,{className:"fill-color-primary p-3",icon:"arrow-left"})}),(0,l.jsx)("button",{className:`right-paddle absolute bottom-0 right-2 top-0 m-6 h-12 w-12 rounded-50 bg-color-white ${$?"hidden":""} `,onClick:()=>{V?.mode?.isEditing||ea("right")},children:(0,l.jsx)(n.SVGIcon,{className:"fill-color-primary p-3",icon:"arrow-right"})})]})]})]})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"scroll-mt-105",id:j[0]}),er(j[0])&&er(j[0])?.length>0&&(0,l.jsxs)("div",{className:"col-span-12 ml-6 grid flex-col space-x-unset bg-color-white p-3 md:hidden",children:[(0,l.jsx)(r.E,{className:"inline-block pb-4 text-base uppercase leading-4 tracking-5 text-color-primary-350 md:hidden",field:a,tag:"span"}),er(j[0])?.map(e=>(0,l.jsx)("a",{href:"#"+e.anchor,className:`block border-b-1 border-color-gray-250 p-2 font-semibold text-color-primary md:rounded-full md:border-none md:p-0 md:px-6 ${eh(e.anchor.split("---")[1])}`,onClick:()=>{V?.mode?.isEditing||ei(e.anchor.split("---")[1])},children:V?.mode?.isEditing?(0,l.jsx)(r.E,{field:e.title}):X(e)},e.anchor))]})]})]})}},5510:(e,t,a)=>{a.r(t),a.d(t,{SmartAnchor:()=>u});var l=a(7876),i=a(4232),r=a(8230),s=a.n(r),n=a(9099),o=a(85),d=a(8906),c=a(2376);let u=(0,i.forwardRef)(({href:e,children:t,externalIconTargetClassName:a,locale:i,rel:r,...u},m)=>{let h=(0,n.useRouter)(),p=(0,o.tb)(e,h.locale),g=(0,o.iZ)(e),x=(0,c.i)(e),v=(0,d.Iu)(t,p||!e,a),f=Object.fromEntries(Object.entries(u).filter(([,e])=>void 0!==e));return p||!e?(0,l.jsx)("a",{href:e,ref:m,target:g,rel:x,"data-smartlink-external":p?"true":void 0,...f,children:v}):(0,l.jsx)(s(),{href:e,locale:i,ref:m,target:"_self",rel:x,...f,children:t})});u.displayName="SmartAnchor"},5516:(e,t,a)=>{a.d(t,{$:()=>l,T:()=>i});let l={scriptSrc:"https://player.quadia.net/quadia.player.min.js",askQuestionEndpoint:"https://transmitter.livedirector.quadia.net/ask-question",statusMessageDuration:4e3,timeout:5e3,iframeSrc:"https://livedirector-assets.s3.eu-west-1.amazonaws.com/custom-integrations/iframe-asml.html"},i={duration:"duration",chapters:"chapters",playerReady:"playerReady",goToChapter:"gotochapter",pause:"pause"}},5537:(e,t,a)=>{a.r(t),a.d(t,{VisualGrid:()=>i,VisualGridLine:()=>r});var l=a(7876);let i=({className:e=""})=>(0,l.jsx)("div",{className:`visual-grid--vertical box pointer-events-none absolute left-0 top-0 z-10 h-full ${e}`,children:(0,l.jsxs)("div",{className:"grid h-full grid-cols-12",children:[(0,l.jsx)("div",{className:"col-span-6 h-full border-x border-color-primary-350/40 md:col-span-2 md:border-l-0"}),(0,l.jsx)("div",{className:"col-span-4 hidden h-full border-r border-color-primary-350/40 md:block xl:hidden"}),(0,l.jsx)("div",{className:"col-span-4 hidden h-full border-r border-color-primary-350/40 md:block xl:hidden"}),(0,l.jsx)("div",{className:"col-span-6 h-full border-r border-color-primary-350/40 md:hidden xl:col-span-2 xl:block"}),(0,l.jsx)("div",{className:"col-span-2 hidden h-full border-r border-color-primary-350/40 xl:block"}),(0,l.jsx)("div",{className:"col-span-2 hidden h-full border-r border-color-primary-350/40 xl:block"}),(0,l.jsx)("div",{className:"col-span-2 hidden h-full border-color-primary-350/40 md:block xl:border-r"})]})}),r=({className:e=""})=>(0,l.jsx)("div",{className:`visual-grid--line h-px bg-color-primary-350/40 ${e}`})},5633:(e,t,a)=>{a.r(t),a.d(t,{JobPostingsLd:()=>s});var l=a(7876),i=a(5105),r=a.n(i);let s=e=>{let t={"@context":"https://schema.org","@type":"JobPosting",title:e.jobPostings?.title,de
63scription:e.jobPostings?.description,identifier:{"@type":"PropertyValue",name:e.jobPostings?.hiringOrganization.name,value:e.jobPostings?.identifier.value},datePosted:e.jobPostings?.datePosted,validThrough:e.jobPostings?.validThrough,directApply:!0,employmentType:e.jobPostings?.employmentType,hiringOrganization:{"@type":"Organization",name:e.jobPostings?.hiringOrganization.name,sameAs:e.jobPostings?.hiringOrganization.sameAs},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",streetAddress:e.jobPostings?.jobLocation.address.streetAddress,addressLocality:e.jobPostings?.jobLocation.address.addressLocality,addressRegion:e.jobPostings?.jobLocation.address.addressRegion,postalCode:e.jobPostings?.jobLocation.address.postalCode,addressCountry:e.jobPostings?.jobLocation.address.addressCountry}}};return(0,l.jsx)(r(),{type:"application/ld+json",id:"JobPostingsLdId",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}},5668:(e,t,a)=>{a.d(t,{w:()=>n});var l=a(7876),i=a(4232),r=a(990),s=a(4825);let n=({children:e,overrideLevel:t,...a})=>{let n=(0,s.M5)(),o=(0,r.E)(),d=`h${t??o}`;return!n?.page?.mode?.isEditing&&function(e){if(null==e||!1===e)return!0;if("string"==typeof e)return""===e.trim();if("number"==typeof e)return!1;if((0,i.isValidElement)(e)){let t=e.props;if(void 0!==t.field){let e=t.field;return!e?.value}}return!1}(e)?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)(d,{...a,children:e})};n.displayName="SectionHeading"},5733:(e,t,a)=>{a.r(t),a.d(t,{FAQLd:()=>s});var l=a(7876),i=a(5105),r=a.n(i);let s=e=>{let t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.faq?.map(e=>
63({"@type":"Question",name:e.name,acceptedAnswer:{"@type":"Answer",text:e.acceptedAnswer.text}}))};return(0,l.jsx)(r(),{type:"application/ld+json",id:"FAQLdId",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}},5839:(e,t,a)=>{a.r(t),a.d(t,{QuestionForm:()=>m});var l=a(7876),i=a(4825),r=a(5401),s=a(8359),n=a(4232),o=a(9948),d=a(5516),c=a(4665),u=a(5364);let m=({fields:e,dropdownValues:t})=>{let{page:a}=(0,i.M5)(),m=(0,n.useRef)(null),[h,p]=(0,n.useState)({}),[g,x]=(0,n.useState)(!0),[v,f]=(0,n.useState)(!1),[b,j]=(0,n.useState)(""),[E,N]=(0,n.useState)(!0),[w]=(0,o.lT)(["uuid"]),y=async t=>{if(t.preventDefault(),!a?.mode?.isEditing&&m&&m.current){let t=(0,c.T)(m);if(t){let a=JSON.parse(t);await _(a,e.BroadCastSlugId?.value),m?.current?.reset()}}},_=async(t,a)=>{f(!0);let l=e.ExtraTextFieldTitle&&e.ExtraTextFieldTitle.value?`\r 64${e.ExtraTextFieldTitle.value}:${t.extraTextField}`:"",i={broadcastSlug:a,question:{name:t.name,email:t.email,type:"content",message:`Publication: ${t.publication}\r 65Question: ${t.question}\r 66Additional questions: ${t.additionalQuestions}${l}`},identifiers:{uid:w?.uuid||"no_uuid_provided"}};(await fetch(u.env.QUADIA_ASK_QUESTION_ENDPOINT||d.$.askQuestionEndpoint,{method:"POST",body:JSON.stringify(i),headers:{"Content-Type":"application/json"}})).ok?j(e.SuccessMessage?.value):(N(!1),j(e.FailedMessage?.value)),f(!1),A()},A=()=>{setTimeout(()=>{j(""),N(!0)},d.$.statusMessageDuration)},S=(0,l.jsx)("div",{className:`${E?"text-color-black":"text-color-red"} font-cardtext mb-4 bg-color-blue-100 p-4`,children:(0,l.jsx)("p",{children:b})});return""===b?(0,l.jsxs)("form",{ref:m,onSubmit:y,className:"form relative z-10 !mt-0 mb-4 flex w-full flex-col gap-8 sm:w-75",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.NameFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsx)("input",{className:"form-box",id:"name",name:"name",type:"text","aria-label":"name"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.EmailFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsx)("input",{className:"form-box",id:"email",type:"email",name:"email","aria-label":"email"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.PublicationFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsx)("input",{className:"form-box",id:"publication",name:"publication",type:"text","aria-label":"publication"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.QuestionFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsx)("textarea",{id:"question",name:"question","aria-label":"question",rows:3,className:"form-box resize-none",required:!0,onChange:e=>{let{name:t,value:a,required:l}=e.target;p({...h,[t]:a}),l&&x(!0)},onBlur:e=>{let{value:t,required:a}=e.target;a&&!t&&x(!1)},maxLength:1024}),""===h.question&&!g&&(0,l.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":"question",children:e.RequiredFieldMessage?.value})]}),(a?.mode?.isEditing||t.length>0)&&(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.AdditionalQuestionFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsxs)("div",{className:"form-dropdown",children:[(0,l.jsx)("select",{name:"additionalQuestions",children:t?.map(e=>(0,l.jsx)("option",{value:e.value,children:e.text},e.value))}),(0,l.jsx)(s.SVGIcon,{icon:"chevron-down"})]})]}),(a?.mode?.isEditing||e.ExtraTextFieldTitle?.value)&&(0,l.jsxs)("div",{children:[(0,l.jsx)(r.E,{field:e.ExtraTextFieldTitle,tag:"label",className:"form-label normal-case"}),(0,l.jsx)("input",{className:"form-box",id:"extraTextField",name:"extraTextField",type:"text"})]}),(0,l.jsx)("div",{className:"form-submit-button !mt-0 flex items-center justify-between",children:(0,l.jsx)(r.E,{field:e.SubmitButtonTitle,tag:"button",type:a?.mode?.isEditing?"button":"submit",disabled:v,className:"button--box-lightblue disabled:opacity-50"})})]}):S}},6141:(e,t,a)=>{a.r(t),a.d(t,{HiddenProperties:()=>d});var l=a(7876),i=a(4825),r=a(5401),s=a(8359),n=a(4232),o=a(2796);let d=e=>{let{properties:t,fields:a,className:d,uiIconField:c,pictogramIconField:u,onIconSelectHandler:m}=e,{page:h}
66=(0,i.M5)(),[p,g]=(0,n.useState)(!1),x=(0,n.useRef)(null);if(!e)return(0,l.jsx)(l.Fragment,{});let v=(e,t)=>{let a=`vid_${Math.floor(9e4*Math.random())+1e4}`,i="UI"===e?"UI Icons":e;return(0,l.jsxs)("div",{className:"hidden-properties__item",children:[(0,l.jsxs)("span",{className:"hidden-properties__item-label",role:"presentation",children:[i,":"]}),(0,l.jsx)("div",{id:a,className:"hidden",children:(0,l.jsx)(r.E,{className:"hidden-properties__item-value",field:t})})," ",(0,l.jsx)(o.default,{onIconSelectHandler:m,fieldId:a,defaultIconName:t?.value,spriteName:e})]})};return h?.mode?.isEditing?(0,l.jsx)("div",{className:`hidden-properties__container ${d||""} ${c||u?"icon-selector":""}`,ref:x,children:(0,l.jsxs)("div",{className:`hidden-properties ${p?"is-open":""}`,children:[(0,l.jsxs)("button",{type:"button",title:"Hidden properties",onClick:e=>{p?x.current?.closest(".component.hidden-properties__open")?.classList?.remove("hidden-properties__open"):x.current?.closest(".component")?.classList?.add("hidden-properties__open"),g(!p),e.stopPropagation()},children:[(0,l.jsx)("span",{className:"text-span",role:"none",children:"Hidden properties"}),(0,l.jsx)("span",{className:"icon-span",role:"presentation",children:(0,l.jsx)(s.SVGIcon,{icon:p?"chevron-up":"chevron-down"})})]}),(0,l.jsxs)("div",{className:`hidden-properties__items ${p?"block":"hidden"}`,children:[t.map((e,t)=>{let i,s=a[e];return(0,l.jsxs)("div",{className:"hidden-properties__item",children:[(0,l.jsx)("span",{className:"hidden-properties__item-label",children:`${(i=e.replace(/([A-Z])/g," $1")).charAt(0).toUpperCase()+i.slice(1)}: `}),(0,l.jsx)(r.E,{className:"hidden-properties__item-value",field:s})]},t)}),c&&v("UI",c),u&&v("Pictograms",u)]})]})}):(0,l.jsx)(l.Fragment,{})}},6300:(e,t,a)=>{a.d(t,{y:()=>l});let l=e=>{let t=e?.toLowerCase()?.split("-")||[],a="en",l="us";return t.length>1&&(a=t[0],l=t[1]),{language:a,country:l}}},6350:(e,t,a)=>{a.d(t,{A:()=>l});let l={resultsLimit:25,gridResultsLimit:10,pageParam:"page",sortByParam:"sort_by",countryParam:"job_country",cityParam:"job_city",cityAndStateParam:"job_city_state",queryParam:"query",jobTypeParam:"job_type",teamParam:"job_teams",techFldParam:"job_technical_fields",degreeParam:"job_degrees",expParam:"job_experience_levels",eduParam:"job_educational_backgrounds"}},6422:(e,t,a)=>{a.d(t,{U:()=>l,p:()=>i});let l={fontFamily:"NeueHaasGrotesk",textSm:14,fontBold:"bold",fontLighter:"lighter",colorBlack900:"#181818",colorAsmlBlue:"#10069F",colorWhite:"#FFFFFF",center:"center",start:"start"},i={xxs:530,xs:576,sm:640,md:768,lg:992,xl:1200,xxl:1600}},6439:(e,t,a)=>{a.r(t),a.d(t,{Captcha:()=>g,GetCaptchaToken:()=>u,resetCaptcha:()=>p,skipCaptcha:()=>m,validateCaptcha:()=>h});var l=a(7876),i=a(4232),r=a(4825),s=a(8229),n=a(1807),o=a(6054),d=a(369),c=a(5364);let u=(e,t)=>"hcaptcha"===t.toLowerCase()?e?.current?.getResponse():e?.current?.getValue(),m=e=>!1,h=(e,t)=>{if("hcaptcha"===e.toLowerCase())return new Promise(e=>{let a=c.env.ASML_HCAPTCHA_SECRET;""===a&&console.error("validateHCaptcha: missing process.env.ASML_HCAPTCHA_SECRET");let l=c.env.HCAPTCHA_BASE_URL;""===l&&console.error("validateHCaptcha: missing process.env.HCAPTCHA_BASE_URL"),(null==t||""==t)&&console.error("validateHCaptcha: response_key not set");let i=`${l}`,r=new FormData;r.append("secret",a?.toString()??""),r.append("response",t),fetch(i,{method:"post",body:r}).then(e=>e.json()).then(t=>{!0==t.success?e(!0):(console.error("hcaptcha result",t),e(!1))}).catch(t=>{console.error("hcaptcha result",t),e(!1)})});return new Promise(e=>{let a=c.env.ASML_RECAPTCHA_SECRET;a||console.error("validateCaptcha: secret_key missing!");let l=c.env.RECAPTCHA_BASE_URL;l||console.error("validateCaptcha: recaptchaBaseUrl missing!"),fetch(`${l}?secret=${a}&response=${t}`,{method:"post"}).then(e=>e.json()).then(t=>{!0==t.success?e(!0):e(!1)}).catch(()=>{e(!1)})})},p=e=>{try{"hcaptcha"===e.toLowerCase()?window.hcaptcha?.reset():window.grecaptcha?.reset()}catch(e){console.error(e)}},g=e=>{let{ref:t,locale:a,captchaVariant:c,errorMessageState:u,className:m,skipCaptcha:h,cookieEnabled:p}=e,{page:g}=(0,r.M5)(),[x,v]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{v(!0)},Number("300")??1);return()=>clearTimeout(e)}
66,[]),(0,l.jsx)(d.ConditonalWrapper,{condition:null!=m&&""!=m,wrapper:e=>(0,l.jsx)("div",{className:m,children:e}),children:(0,l.jsxs)(l.Fragment,{children:[!g?.mode?.isEditing&&"hcaptcha"===c.toLowerCase()&&!h&&x&&p&&(0,l.jsx)(o.A,{ref:t,size:"normal",sitekey:"ebac4ac0-1738-429a-bc9c-69c472fa593e",reCaptchaCompat:!1}),!g?.mode?.isEditing&&"hcaptcha"!==c.toLowerCase()&&!h&&p&&(0,l.jsx)(s.A,{ref:t,size:"normal",sitekey:"6Le-Wf0mAAAAAIs8eySMDtmXNCyqkoA0A0Brqrqp",hl:a}),g?.mode?.isEditing&&"hcaptcha"===c.toLowerCase()&&(0,l.jsx)("p",{children:"HCaptcha placeholder"}),g?.mode?.isEditing&&"hcaptcha"!==c.toLowerCase()&&(0,l.jsx)("p",{children:"ReCaptcha placeholder"}),null!=u&&u.find(e=>e.Fieldname===n.Z)&&(0,l.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":u.find(e=>e.Fieldname==n.Z)?.Fieldname,children:u.find(e=>e.Fieldname==n.Z)?.ErrorMessage})]})})}},6479:(e,t,a)=>{a.d(t,{A:()=>l});let l={ACC_AVERAGE_RATING_OF:"average-rating-of",ACC_BIG_CAROUSEL_LABEL:"big-carousel-label",ACC_CHARTS_HIDE_LEGEND:"charts-hide-legend",ACC_CHARTS_HORIZONTAL_BARCHART_LABEL:"chart-horizontal-barchart-label",ACC_CHARTS_HORIZONTAL_SINGLE_BARCHART_LABEL:"chart-horizontal-single-barchart-label",ACC_CHARTS_LEGEND_ITEM:"charts-legend-item",ACC_CHARTS_REVEAL_LEGEND:"charts-reveal-legend",ACC_CHARTS_VERTICAL_BARCHART_LABEL:"chart-vertical-barchart-label",ACC_CHARTS_VERTICAL_SINGLE_BARCHART_LABEL:"chart-vertical-single-barchart-label",ACC_CHARTS_PIECHART_LABEL:"chart-piechart-label",ACC_CHARTS_DOUGHNUTCHART_NO_ANNOTATIONS_LABEL:"chart-doughnutchart-label",ACC_CHARTS_DOUGHNUTCHART_ANNOTATED_LABEL:"chart-doughnutchart-annotated-label",ACC_CHARTS_VALUES_PER_LABEL:"chart-values-per-label",ACC_FINISHED_LOADING_FORM:"finished-loading-form",ACC_HOTSPOT_CLOSE_SECTION:"hotspot-close-section",ACC_HOTSPOT_EXPAND_SECTION:"hotspot-expand-section",ACC_ITEM:"item",ACC_JOB_ALERT_LINK:"job-alert-link",ACC_JOB_ALERT_BUTTON:"job-alert-button",ACC_JOB_SAVE_JOB:"job-save-job-button",ACC_JOB_REMOVE_JOB:"job-remove-from-saved-jobs-button",ACC_LOADING:"loading",ACC_MEDIA_DOWNLOAD_LINKS:"download-links",ACC_MEDIA_ENLARGE_IMAGE_BUTTON:"enlarge-image-button",ACC_MIXED_CARDS_LABEL:"mixed-cards-label",ACC_MODAL_CLOSE:"modal-close",ACC_NAV_ANNUALREPORT_MENU:"nav-annualreport-menu",ACC_NAV_BREADCRUMBS:"nav-breadcrumbs",ACC_NAV_PRIMARY_NAVIGATION:"nav-primary-navigation",ACC_NAV_QUICKLINKS:"nav-quicklinks",ACC_NAV_SCROLLYTELLING_MENU:"nav-scrollytelling-menu",ACC_NAV_SECONDARY_NAVIGATION:"nav-secondary-navigation",ACC_NEXT_ITEM:"next-item",ACC_OUT_OF_5:"out-of-5",ACC_OUT_OF_5_STARS:"out-of-5-stars",ACC_PAGINATION:"pagination",ACC_PAGINATION_ELLIPSIS:"pagination-ellipsis",ACC_PAN_IMAGE_DOWN:"pan-image-down",ACC_PAN_IMAGE_LEFT:"pan-image-left",ACC_PAN_IMAGE_RIGHT:"pan-image-right",ACC_PAN_IMAGE_UP:"pan-image-up",ACC_PREVIOUS_ITEM:"previous-item",ACC_SEARCH_NO_RESULTS:"search-no-results",ACC_SEARCH_RESULTS_FOUND:"search-results-found",ACC_UNSUBSCRIBE_IN_PROGRESS:"unsubscribe-in-progress",ARTICLE_SUMMARY_READ_MORE:"article-summary-read-more",ARTICLE_SUMMARY_TYPE_PREFIX:"article-summary-details-type-",AUTHOR_BY:"author-by",DEFAULT_DATE:"0001-01-01T00:00:00Z",EMAIL_ADDRESS_INVALID:"form-email-address-invalid",EMAIL_FIELD_MAX_LENGTH:"email-field-max-length",EMAIL_FIELD_PATTERN:"email-field-pattern",EMAIL_FIELD_REQUIRED_MESSAGE:"email-field-required",EVENTS_INVALID_END_DATE:"events-invalid-end-date",EVENTS_NO_START_DATE:"events-no-start-date",FACET_JOBTYPE_ALL:"facet-job_type-all",FACET_JOBTYPE_FIX:"facet-job_type-fix",FACET_JOBTYPE_INT:"facet-job_type-internship",FORM_FIELD_MIN_AMOUNT:"form-field-min-amount",FORM_FIELD_MAX_LENGTH:"form-field-max-length",FORM_FIELD_NUMBERS_ONLY:"form-field-numbers-only",FORM_FIELD_NUMBERS_ONLY_NO_SEPARATORS:"form-field-numbers-only-no-separators",FORM_FIELD_REQUIRED:"form-field-required",FORM_LABEL_OPTIONAL:"form-label-optional",FORM_NO_FILTER_SELECTED_MESSAGE:"no-filter-selected-message",FORM_NO_HTML_TAGS:"form-no-html-tags",FORM_CAPTCHA_REQUIRED_MESSAGE:"captcha-required-message",FORM_SAVE_FAILED_MESSAGE:"form-save-failed-message",FORM_SAVE_FAILED_MESSAGE_JOB_ALERT_SUBSCRIPTION:"form-save-failed-message-job-alert-subscription",GENERAL_READ_MORE:"general-read-more",GENERAL_READ_LESS:"general-read-less",HEADER_BACK:"header-back",HEADER_ICON_PREVIOUS:"header-icon-previous",HEADER_SAVED_JOBS_TOAST:"header-saved-jobs-toast",HEADER_SKIP:"header-skip",HTML_REGEX_PATTERN:"html-regex-pattern",IFRAME_WHITELIST_WARNING:"iframe-whitelist-warning",JOB_SEARCH_ACTIVE_FILTERS_LABEL:"job-active-filters-label",JOB_SEARCH_LO
66CATION_FILTER_LABEL:"job-filter-location-label",JOB_SEARCH_REMOVE_FILTER_LABEL:"job-filter-remove-filter-label",JOB_SEARCH_SELECT_CITIES_FILTER_LABEL:"job-select-cities-label",JOBS_CATEGORY_LINK_TEXT:"jobs-category-link-text-",JOBS_CATEGORY_LINK:"jobs-category-link-",JOBS_CITY_LINK_TEXT:"jobs-city-link-text-",JOBS_CITY_LINK:"jobs-city-link-",JOBS_COUNTRY_LINK_TEXT:"jobs-country-link-text-",JOBS_COUNTRY_LINK:"jobs-country-link-",JOBS_LISTING_HERO_BANNER_APPLY_NOW_LABEL:"job-listing-hero-banner-apply-now-button",JOBS_LISTING_HERO_BANNER_APPLYING_LABEL:"job-listing-hero-banner-applying-button",JOBS_SEARCH_RESULTS_COUNTER_SINGULAR:"jobs-search-results-counter-singular",JOBS_SEARCH_RESULTS_COUNTER:"jobs-search-results-counter",JOBS_SEARCH_RESULTS_NEW_LABEL:"job-search-results-new-label",JOBS_SEARCH_RESULTS_PAGE_INDICATOR:"jobs-search-results-page-indicator",JOBS_SEARCH_SEARCH_SORTING:"job-search-search-sorting",JOBS_SOCIAL_SHARE_EMAIL_BODY:"jobs-social-share-email-body",JOBS_SOCIAL_SHARE_EMAIL_LABEL:"jobs-social-share-email-label",JOBS_SOCIAL_SHARE_EMAIL_SUBJECT:"jobs-social-share-email-subject",JOBS_SOCIAL_SHARE_FACEBOOK_LABEL:"jobs-social-share-facebook-label",JOBS_SOCIAL_SHARE_FACEBOOK:"jobs-social-share-facebook",JOBS_SOCIAL_SHARE_HEADLINE:"jobs-social-share-headline",JOBS_SOCIAL_SHARE_LINKEDIN_LABEL:"jobs-social-share-linkedin-label",JOBS_SOCIAL_SHARE_LINKEDIN:"jobs-social-share-linkedin",JOBS_SOCIAL_SHARE_TWITTER_LABEL:"jobs-social-share-twitter-label",JOBS_SOCIAL_SHARE_TWITTER:"jobs-social-share-twitter",JOBS_SOCIAL_SHARE_WHATSAPP_LABEL:"jobs-social-share-whatsapp-label",JOBS_SOCIAL_SHARE_WHATSAPP:"jobs-social-share-whatsapp",JOBS_TEAM_LINK_TEXT:"jobs-team-link-text-",JOBS_TEAM_LINK:"jobs-team-link-",ONETRUST_OVERLAY_DISABLE:"onetrust-overlay-disable",ONETRUST_OVERLAY_ENABLE:"onetrust-overlay-enable",ONETRUST_SWITCH_LABEL:"onetrust-switch-label",PLAY_BUTTON:"play-button",PLAY_BUTTON_TITLE:"play-button-title",PAUSE_BUTTON:"pause-button",PAGINATION_NEXT:"pagination-next",PAGINATION_PREV:"pagination-prev",QUICK_FILTERS_LABEL:"quick-filters",QUICK_FILTER_TYPE_PREFIX:"quick-filter-",SCROLLYTELLING_CLOSE_SECTION:"scrollytelling-close-section",SCROLLYTELLING_CLOSE:"scrollytelling-close",SCROLLYTELLING_MENU:"scrollytelling-menu",SCROLLYTELLING_MORE_DETAILS:"scrollytelling-more-details",SCROLLYTELLING_OPEN_MENU:"scrollytelling-open-menu",SCROLLYTELLING_SCROLL:"scrollytelling-scroll",SEARCH_INPUT_LABEL:"search-input-label",SEARCH_NOW:"search-now",SEARCH_RESULT_LABEL_PREFIX:"search-result-label-",SEARCH_RESULTS_LOADING:"search-results-loading",SITE_SEARCH_SEARCH_NOW_LABEL:"site-search-search-now",STACKING_STATS_READ_MORE:"stacking-stats-read-more",STACKING_STATS_SEE_STATS:"stacking-stats-see-stats",TIMELINE_NEXT_ARROW:"timeline-next-arrow",TIMELINE_PREVIOUS_ARROW:"timeline-previous-arrow",TIMELINE_SLIDEVIEW_DISABLED:"timeline-slideview-disabled",TIMELINE_SLIDEVIEW_TOGGLE:"timeline-slideview-toggle",TIMELINE_STEP_LABEL:"timeline-step-label",TIMELINE_TILEVIEW_TOGGLE:"timeline-tileview-toggle",TOGGLE_MAIN_HEADER:"toggle-main-header",TOGGLE_SEARCH:"toggle-search"}},6631:(e,t,a)=>{a.r(t),a.d(t,{Loader:()=>s});var l=a(7876),i=a(2650),r=a(6479);let s=e=>{let{t:t}=(0,i.s9)();return(0,l.jsxs)("div",{className:"loader","aria-live":"polite","aria-label":""!=e.loadingMessage?e.loadingMessage:t(r.A.ACC_LOADING),children:[(0,l.jsxs)("div",{className:"loader__spinner",children:[(0,l.jsx)("div",{className:"loader__spinner-bar"}),(0,l.jsx)("div",{className:"loader__spinner-bar"}),(0,l.jsx)("div",{className:"loader__spinner-bar"}),(0,l.jsx)("div",{className:"loader__spinner-bar"}),(0,l.jsx)("div",{className:"loader__spinner-bar"})]}),(0,l.jsx)("div",{className:"loader__overlay"})]})}},6651:(e,t,a)=>{a.d(t,{Sz:()=>n,Ts:()=>s});var l=a(7876),i=a(4232);let r=(0,i.createContext)({pageTitle:void 0,pageTemplate:void 0,pageId:void 0,navigationPath:[],setNavigationPath:()=>{},displayName:void 0});function s({pageTitle:e,children:t,layoutData:a}){let n=a?.sitecore?.route?.templateName,o=a?.sitecore?.route?.itemId,d=(0,i.useRef)([]),c=a?.sitecore?.route?.displayName;return(0,l.jsx)(r.Provider,{value:{pageTitle:e,pageId:o,pageTemplate:n,navigationPath:d.current,setNavigationPath:e
66=>{d.current=e},displayName:c},children:t})}function n(){return(0,i.useContext)(r)}},6730:(e,t,a)=>{a.r(t),a.d(t,{BaseCorpTvContent:()=>b,VideoChapters:()=>j});var l=a(7876),i=a(4232),r=a(2650),s=a(4825),n=a(7273),o=a(5401),d=a(7782),c=a(8359),u=a(8529),m=a(3272),h=a(4820),p=a(6479),g=a(2769),x=a(5668),v=a(7190);let f={active:!0,dragFree:!0,containScroll:"trimSnaps",container:".video-titles"},b=e=>{let{fields:t,params:a,variant:d,showVideo:h,activeVideoId:v,sendVideoEvent:f,handleShowVideo:b}=e,{page:j}=(0,s.M5)(),{t:E}=(0,r.s9)(),N=t?.data?.item?.children,w={pointerAuto:j?.mode?.isEditing?"pointer-events-auto":"",pointerNone:j?.mode?.isEditing?"pointer-events-none":""};(0,i.useEffect)(()=>{h&&a?.autoPlay&&y(v)},[h]),(0,i.useEffect)(()=>{a?.autoPlay&&h&&y(v)},[v]);let y=e=>{if(!j?.mode?.isEditing){let t=document.getElementById(e);t?.play()}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`corp-tv-video-wrapper ${!j?.mode?.isEditing&&h?"":"!h-0"}`,children:[(0,l.jsx)(m.VideoComponent,{id:t?.data?.item?.id,title:String(t?.data?.item?.corpTVChapter?.jsonValue?.value?.title),url:String(t?.data?.item?.corpTVChapter?.jsonValue?.value?.href).trim(),controls:!j?.mode?.isEditing&&(0,g.D)(a?.control),autoPlay:!j?.mode?.isEditing&&(0,g.D)(a?.autoPlay),isActive:h&&v===t?.data?.item?.id,sendVideoEvent:f}),N?.results?.length>0&&N?.results?.map((e,t)=>(0,l.jsx)(l.Fragment,{children:e?.corpTVChapter?.jsonValue?.value?.href?(0,l.jsx)(m.VideoComponent,{id:e?.id,title:String(e?.corpTVChapter?.jsonValue?.value?.title),url:String(e?.corpTVChapter?.jsonValue?.value?.href).trim(),controls:!j?.mode?.isEditing&&(0,g.D)(a?.control),autoPlay:!j?.mode?.isEditing&&(0,g.D)(a?.autoPlay),isActive:h&&v===e?.id,sendVideoEvent:f},t+1):void 0}))]}),(0,l.jsxs)("div",{className:`corp-tv-content-wrapper ${h?"!hidden !h-0":""} ${N?.results?.length>0?"has-chapters":""}`,children:[(0,l.jsx)("div",{className:"corp-tv-image-container",children:(0,l.jsx)(n._,{layout:"fill",className:"corp-tv-image",field:t?.data?.item?.mediaImage?.jsonValue,alt:"",srcSet:j?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:j?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px"})}),(0,l.jsxs)("div",{className:`corp-tv-content-container ${w.pointerNone}`,children:[(0,l.jsx)(u.CommonButton,{ariaLabel:E(p.A.PLAY_BUTTON),className:`play-button ${w.pointerAuto}`,icon:(0,l.jsx)(c.SVGIcon,{spriteName:"ui",icon:"play"}),onClick:b}),"default"===d&&(0,l.jsx)(x.w,{className:`corp-tv-image-media-title ${w.pointerAuto}`,children:(0,l.jsx)(o.E,{field:t?.data?.item?.mediaTitle?.jsonValue})})]})]})]})},j=e=>{let{fields:t,showVideo:a,emblaVideoApi:i,sendVideoEvent:r,activeVideoId:n,setActiveVideoId:c}=e,{page:u}=(0,s.M5)(),[m,p]=(0,h.A)(f),g=t?.data?.item?.children,b=async(e,t,a)=>{if(e.preventDefault(),e.nativeEvent.preventDefault(),!u?.mode?.isEditing&&t!==n){let l=e.nativeEvent.target?.title??"";await j(n),p&&i&&(i.scrollTo(a),p.scrollTo(a),r(1,l),c(t))}},j=e=>{if(!u?.mode?.isEditing){let t=document.getElementById(e);t?.load()}};return(0,l.jsx)(v.w,{children:g?.results?.length>0?(u?.mode?.isEditing||!u?.mode?.isEditing&&a)&&(0,l.jsxs)("div",{className:"video-title-wrapper",children:[(0,l.jsx)(x.w,{className:"video-chapter-header heading-4",children:(0,l.jsx)(o.E,{field:t?.data?.item?.chapterTitle?.jsonValue})}),(0,l.jsx)("div",{ref:m,className:"corp-tv-chapters-wrapper",children:(0,l.jsxs)("ul",{className:"video-titles",children:[(0,l.jsx)("li",{children:u?.mode?.isEditing?(0,l.jsx)(d.N,{field:t?.data?.item?.corpTVChapter?.jsonValue,href:void 0,className:`${n===t?.data?.item?.id?"active":""}`,"data-testid":t?.data?.item?.corpTVChapter?.jsonValue?.value?.title}):(0,l.jsx)("button",{onClick:e=>b(e,t?.data?.item?.id,0),className:`${n===t?.data?.item?.id?"active":""}`,"data-testid":t?.data?.item?.corpTVChapter?.jsonValue?.value?.title,children:t?.data?.item?.corpTVChapter?.jsonValue?.value?.title})}),g?.results?.map((e,t)=>(0,l.jsx)(l.Fragment,{children:u?.mode?.isEditing||e?.corpTVChapter?.jsonValue?.value?.href?(0,l.jsx)("li",{children:u?.mode?.isEditing?(0,l.jsx)(d.N,{editable:!0,field:e?.corpTVChapter?.jsonValue,href:void 0,className:`${n===e?.id?"active":""}`,"data-testid":e?.corpTVChapter?.jsonValue?.value?.title}):(0,l.jsx)("button",{onClick:a=>b(a,e?.id,t+1),className:`${n===e?.id?"active":""}`,"data-testid":e?.corpTVChapter?.jsonValue?.value?.title,children:e?.corpTVChapter?.jsonValue?.value?.title})},t+1):void 0}))]})})]}):u?.mode?.isEditing?(0,l.jsxs)("div",{className:"video-title-wrapper",children:[(0,l.jsx)(x.w,{className:"video-chapter-header heading-4",children:(0,l.jsx)(o.E,{field:t?.data?.item?.chapterTitle?.jsonValue})}
66),(0,l.jsx)("div",{ref:m,className:"corp-tv-chapters-wrapper",children:(0,l.jsx)("ul",{className:"video-titles",children:(0,l.jsx)("li",{children:(0,l.jsx)(d.N,{field:t?.data?.item?.corpTVChapter?.jsonValue,href:void 0,className:`${n===t?.data?.item?.id?"active":""}`})})})})]}):void 0})}},6783:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(5364);let i={},r={success:"true",status:"OK",jsessionid:"",response:{attributionURL:"https://www.glassdoor.com/Reviews/ASML-Reviews-E5781.htm",currentPageNumber:1,totalNumberOfPages:283,totalRecordCount:2822,employer:{id:5781,name:"ASML",isEEP:!1,hq:"Veldhoven, Netherlands",website:"www.asml.com",industry:"Electronics Manufacturing",numberOfRatings:2822,reviewsUrl:"https://www.glassdoor.com/Reviews/ASML-Reviews-E5781.htm?t.p=153443&t.s=j&t.a=c",reviewsAnchorText:"ASML Reviews",jobsUrl:"https://www.glassdoor.com/Jobs/ASML-Jobs-E5781.htm?t.p=153443&t.s=j&t.a=c",jobsAnchorText:"ASML Jobs",overallRating:4.1,ratingDescription:"Very Satisfied",cultureAndValuesRating:3.78,seniorLeadershipRating:3.44,compensationAndBenefitsRating:3.89,careerOpportunitiesRating:3.77,workLifeBalanceRating:3.71,diversityAndInclusionRating:4.2,diversityAndInclusionRatingCount:1591,starImageSrc:"https://www.glassdoor.com/static/img/api/gd-rating-4dot0.png",squareLogo:"https://media.glassdoor.com/sqll/5781/asml-squareLogo-1633542903160.png",recommendToFriendRating:.86,recommendToFriendRatingCount:2822,employmentStatusfilter:[],reviewCount:3249,salaryCount:2703,interviewCount:1086,photoCount:79,jobCount:808,companyPhotos:[],isOpenCompany:!1,isEmployerRep:!1,overviewPhoto:"https://media.glassdoor.com/m/25/bc/ad/db/employee-event.jpg",sectorId:10015,sectorName:"Manufacturing",industryId:200070,industryName:"Electronics Manufacturing"},isEmployerRep:!1}},s=l.env.GLASSDOOR_CACHE_LIFETIME_HOURS?36e5*l.env.GLASSDOOR_CACHE_LIFETIME_HOURS:864e5,n={getCache:()=>i,get:async()=>{if(i.glassdoor&&i.date&&Date.now()-i.date<s)return console.log("returning from cache"),i.glassdoor;{let e=l.env.GLASSDOOR_DETAILS_API_ENDPOINT,t=fetch(`${e}`||"",{method:"GET",headers:{"Content-Type":"application/json"}}),a=new Promise((e,t)=>setTimeout(()=>t(Error("API request timed out")),5e3));try{let e=await Promise.race([t,a]);if(!e||200!==e.status)return r;{let t=await e.json();return i.glassdoor=t,i.date=Date.now(),t}}catch(e){return r}}}}},6807:(e,t,a)=>{a.r(t),a.d(t,{ASMLChart:()=>u});var l=a(7876),i=a(4825),r=a(5401),s=a(7430),n=a(272),o=a(4232),d=a(2473),c=a(2769);let u=e=>{let{page:t}=(0,i.M5)(),{fields:u,params:m,rendering:h,chartType:p,ChartModule:g}=e,x=`chart_${h.uid}`,[v,f]=(0,o.useState)(!1),[b,j]=(0,o.useState)(!0),E=(0,c.N)(m),N=(0,o.useRef)(null),w=new s.B(e),y=w.getChartOptions(b),_={borderWidth:"bar"===p?d.e.DEFAULT_BORDER_WIDTH:d.e.PIE_BORDER_WIDTH,borderColor:[d.e.BORDER_COLOR]},A={labels:w.parentChartLabels,datasets:[{..._,backgroundColor:w.parentBackgroundColors,data:w.parentDataSet.map((e,t)=>0===t?e:null)}]},S={labels:w.parentChartLabels,datasets:[{..._,backgroundColor:w.parentBackgroundColors,data:w.parentDataSet}]};w.stackedChartItems.forEach(e=>{S.datasets.push({..._,data:e.map(e=>e.value),backgroundColor:w.parentBackgroundColors}),A.datasets.push({..._,data:e.map(()=>null),backgroundColor:e.map(e=>e.color)})});let C=()=>{(j((0,c.N)(m).indexOf("bg-dark")>-1),new Promise((e,t)=>{if(N&&N.current){let a=w.parentDataSet.length;if(w.animationDuration>0)(0,n.t)({value:a,ms:w.animationDuration/(a>1?a-1:1),onTick:e=>{N&&N.current&&(N.current.data.datasets.forEach((t,a)=>{t.data[e]=S.datasets[a].data[e],t.label=S.datasets[a].label}),N.current.update())},instantTick:!0}).then(()=>{e(!0)}).catch(e=>{t(e)});else for(let e=0;e<a;e++)N&&N.current&&(N.current.data.datasets.forEach((t,a)=>{t.data[e]=S.datasets[a].data[e],t.label=S.datasets[a].label}),N.current.update())}else t(Error("refChart not available"))})).then(e=>{let t;e&&(t=w.highlightEnabledDataSet).length>0&&setTimeout(()=>{N&&N.current&&(0,n.t)({value:t.length,ms:w.highlightDuration,onTick:e=>{var a=t[e];if(N&&N.current){let e=w.highlightColor;if(e){let t=Array.isArray(e)?e:[e];
66N.current.data.datasets.forEach((e,l)=>{Array.isArray(e.backgroundColor)&&(e.backgroundColor[a]=t[l%t.length])}),N.current.update()}}},instantTick:!0})},w.highlightDelay)})};return(0,o.useEffect)(()=>{(async()=>{let e=await Promise.resolve().then(a.bind(a,9605)),t=await Promise.resolve().then(a.bind(a,1047));t.Chart.register(t.ArcElement,t.Tooltip,t.Legend,t.LinearScale,t.BarElement,t.CategoryScale,t.Title,e?.default,t.BarController,t.PieController,t.DoughnutController)})().then(()=>{f(!0)})},[]),(0,o.useEffect)(()=>{if(!v)return;if(t?.mode?.isEditing)return void C();let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&C()})},{root:null});return N.current&&e.observe(N.current.canvas),()=>{N.current&&(e.unobserve(N.current.canvas),N.current.destroy())}},[v]),(0,l.jsxs)("div",{className:`component chart custom-container z-70 ${E}`,children:[(0,l.jsxs)("div",{className:"chart-headings mb-2",children:[(0,l.jsx)(r.E,{field:u.data.datasource.title.data,tag:"p",className:"chart-title"}),(0,l.jsx)(r.E,{field:u.data.datasource.unit.data,tag:"p",className:"chart-unit"})]}),v&&(0,l.jsx)(g,{ref:N,id:x,type:p,data:A,options:y,datasetIdKey:`dset_${p}_${x}`},`${x}_key`)]})}},6871:(e,t,a)=>{a.r(t),a.d(t,{OpenGraphTags:()=>o});var l=a(7876),i=a(7328),r=a.n(i),s=a(6651),n=a(8595);let o=e=>{let{pageTemplate:t}=(0,s.Sz)(),a=(0,n.yI)(e.itemPath||"",e.language);return(0,l.jsxs)(r(),{children:[(0,l.jsx)("meta",{property:"og:type",content:(e=>{switch(e.toLowerCase()){case"press release page":case"share buyback page":case"story page":return"article";default:return"website"}})(t??"")}),(0,l.jsx)("meta",{property:"og:url",content:a}),(0,l.jsx)("meta",{property:"og:site_name",content:"ASML"}),(!!e.ogTitle?.value||!!e.Title?.value||!!e?.metaPageTitle?.value)&&(0,l.jsx)("meta",{property:"og:title",content:e?.ogTitle?.value?.toString()||e?.metaPageTitle?.value?.toString()||e?.Title?.value?.toString()}),(!!e?.ogDescription?.value||!!e?.metaDescription?.value)&&(0,l.jsx)("meta",{property:"og:description",content:e?.ogDescription?.value?.toString()||e?.metaDescription?.value?.toString()}),(!!e?.ogImage?.value?.src||!!e?.pageImage?.value?.src)&&(0,l.jsx)("meta",{property:"og:image",content:e?.ogImage?.value?.src?.toString()||e?.pageImage?.value?.src?.toString()}),!!e?.articleDate?.value&&(0,l.jsx)("meta",{property:"article:published_time",content:e.articleDate.value}),!!e?.ArticleTags&&(0,l.jsx)("meta",{property:"article:tag",content:e.ArticleTags.map(e=>e.displayName)?.join(",")})]})}},6956:(e,t,a)=>{a.d(t,{A_:()=>o,Ak:()=>c,Ck:()=>d,DH:()=>m,E8:()=>g,NT:()=>h,Pt:()=>r,SC:()=>s,Si:()=>p,c4:()=>u,r_:()=>n,tO:()=>i,ug:()=>l,yb:()=>x});let l="accountManager",i="firstName",r="lastName",s="companyEmailAddress",n="telephone",o="organization",d="fabname",c="city",u="state",m="country",h="reasonForRequest",p="C",g="form-server-error",x="field-validation-error"},7099:(e,t,a)=>{a.r(t),a.d(t,{TwitterTags:()=>s});var l=a(7876),i=a(7328),r=a.n(i);let s=e=>(0,l.jsxs)(r(),{children:[(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(!!e?.twitterTitle?.value||!!e?.Title?.value||!!e?.metaPageTitle?.value)&&(0,l.jsx)("meta",{name:"twitter:title",content:e?.twitterTitle?.value?.toString()||e?.metaPageTitle?.value?.toString()||e?.Title?.value?.toString()}),(!!e?.twitterDescription?.value||!!e?.metaDescription?.value)&&(0,l.jsx)("meta",{name:"twitter:description",content:e.twitterDescription?.value?.toString()||e?.metaDescription?.value?.toString()}),(!!e?.twitterImage?.value?.src||!!e?.pageImage?.value?.src)&&(0,l.jsx)("meta",{name:"twitter:image",content:e?.twitterImage?.value?.src?.toString()||e?.pageImage?.value?.src?.toString()})]})},7153:(e,t,a)=>{a.r(t),a.d(t,{TableControls:()=>n});var l=a(7876),i=a(4232),r=a(3853),s=a(4940);let n=e=>{let[t,a]=(0,i.useState)(!1),[n,o]=(0,i.useState)(),d=(0,i.useRef)(null),c=(0,i.useRef)(null),u=(0,i.useRef)(null),m=(0,i.useRef)(null),[h,p]=(0,i.useState)({RowIndex:-1,CellIndex:-1,ColDeleteRestricted:!1,RowDeleteRestricted:!1}),g=e=>{document.execCommand(e,!1,void 0)},x=(0,l.jsx)("div",{className:"hyperlink-modal absolute inset-0 z-70 flex w-full items-center justify-center p-4 md:inset-0",children:(0,l.jsxs)("div",{className:"w-96 border-1 border-solid bg-color-gray-100 p-4 shadow-lg",children:[(0,l.jsxs)("section",{className:"w-full",children:[(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("label",{htmlFor:"url",className:"mb-2 block text-sm tracking-normal",children:"Link URL"}),(0,l.jsx)("input",{ref:c,defaultValue:n?.url,type:"url",autoFocus:!0,id:"url",className:"block w-full border p-2 text-sm",placeholder:"Link URL"})]}),(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("label",{htmlFor:"linkTitle",className:"mb-2 block text-sm tracking-normal",children:"Link title"}),(0,l.jsx)("input",{ref:d,defaultValue:n?.title,type:"text",id:"linkTitle",className:"block w-full border p-2 text-sm",placeholder:"Link title"})]}),(0,l.jsxs)("div",{className:"mb-4 flex items-center",children:[(0,l.jsx)("input",{ref:u,defaultChecked:n?.opensInNewWindow,id:"default-checkbox",type:"checkbox",className:"h-4 w-4 roun
66ded pr-2 focus:ring-2"}),(0,l.jsx)("label",{htmlFor:"default-checkbox",className:"text-sm tracking-wide",children:"\xa0Opens in new window"})]})]}),(0,l.jsxs)("div",{className:"flex justify-end",children:[(0,l.jsx)("span",{className:"text-xs",role:"none",children:"Existing text formatting will be removed when you assign a link. You can re-format after the link has been added."}),(0,l.jsx)("button",{onClick:()=>(()=>{if(c&&c.current){let t=u&&u.current?.checked||!1,a=d?.current?.value||"";(c.current.value||""!==c.current.value)&&(a=`<a href="${c.current.value}" target="${t?"_blank":"_self"}" class="custom-link">${d?.current?.value||""}</a>`),e.currentCell&&(e.currentCell.innerHTML=a||"")}a(!1)})(),className:"px-4 py-2 focus:outline-none",children:"Apply"}),(0,l.jsx)("button",{onClick:()=>a(!1),className:"px-4 py-2 focus:outline-none",children:"Close"})]})]})}),v=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"row-controls flex items-center gap-2 pl-2",children:[(0,l.jsx)("button",{type:"button",onClick:()=>{e.table&&e.table.rows.length>2&&e.table.deleteRow(-1)},className:"control-element",children:(0,s.MinusCircle)()}),(0,l.jsx)("span",{className:"cursor-default",children:"Rows"}),(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table){let t=e.table.insertRow(),a=e.table.rows[0].cells.length;for(let l=0;l<a;l++)(0,r.$)(t.insertCell(),!1,e.setCurrentCell,e.setCellControlsOpen)}},children:(0,s.PlusCircle)()})]}),(0,l.jsxs)("div",{className:"col-controls flex items-center gap-2 pl-2",children:[(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table){let t=e.table.querySelector("thead tr");t.cells.length>1&&t.deleteCell(-1),e.table.querySelectorAll("tbody tr").forEach(e=>{e.cells.length>1&&e.deleteCell(-1)})}},children:(0,s.MinusCircle)()}),(0,l.jsx)("span",{className:"cursor-default",children:"Columns"}),(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table){let t=e.table.querySelector("thead tr"),a=(0,r.$)(document.createElement("th"));(0,r.$)(a,!1,e.setCurrentCell,e.setCellControlsOpen),t.appendChild(a),e.table.querySelectorAll("tbody tr").forEach(t=>{(0,r.$)(t.insertCell(),!1,e.setCurrentCell,e.setCellControlsOpen)})}},children:(0,s.PlusCircle)()})]})]}),f=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"row-controls flex items-center gap-2 pl-4",children:[(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table&&h.RowIndex>0){let t=e.table.insertRow(h.RowIndex),a=e.table.rows[0].cells.length;for(let l=0;l<a;l++)(0,r.$)(t.insertCell(),!1,e.setCurrentCell,e.setCellControlsOpen)}},className:`${h.RowIndex<1?"deactivated":""}`,title:`Insert row before${h.RowIndex<1?" (Cannot insert above the header)":""}`,children:(0,s.InsertRowBefore)()}),(0,l.jsx)("button",{type:"button",onClick:()=>{e.table&&h.RowIndex>0&&e.table.rows.length>2&&(e.table.deleteRow(h.RowIndex),b())},className:`${h.RowDeleteRestricted||h.RowIndex<1?"deactivated":""}`,title:`Delete entire row${h.RowIndex<1?" (Cannot delete the header row. This can be hidden via the Styles option)":h.RowDeleteRestricted?" (Cannot delete the last non-header row)":""}`,children:(0,s.DeleteEntireRow)()}),(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table){let t=-1===h.RowIndex?2:1,a=e.table.insertRow(h.RowIndex+t),l=e.table.rows[0].cells.length;for(let t=0;t<l;t++)(0,r.$)(a.insertCell(),!1,e.setCurrentCell,e.setCellControlsOpen)}},title:"Insert row after",children:(0,s.InsertRowAfter)()})]}),(0,l.jsxs)("div",{className:"col-controls flex items-center gap-2 pl-4",children:[(0,l.jsx)("button",{type:"button",onClick:()=>{if(e.table&&h.CellIndex>=0){let t=e.table.querySelector("thead tr"),a=(0,r.$)(document.createElement("th"));(0,r.$)(a,!1,e.setCurrentCell,e.setCellControlsOpen);let l=e.table.querySelectorAll("tbody tr");t.insertBefore(a,t.cells[h.CellIndex]),l.forEach(t=>{let a=t.insertCell(h.CellIndex);(0,r.$)(a,!1,e.setCurrentCell,e.setCellControlsOpen)})}},title:"Insert column before",children:(0,s.InsertColumnBefore)()}),(0,l.jsx)("button",{type:"button",className:`${h.ColDeleteRestricted?"deactivated":""}`,onClick:()=>{if(e.table){let t=e.table.querySelector("thead tr");t.cells.length>1&&t.deleteCell(h.CellIndex),e.table.querySelectorAll("tbody tr").forEach(t=>{t.cells.length>1&&e.currentCell&&t.deleteCell(h.CellIndex)}),b()}},title:`Delete entire column${h.ColDeleteRestricted?" (Cannot delete last remaining column)":""}`,children:(0,s.DeleteEntireColumn)()}),(0,l.jsx)("button",{type:"button",onClick:()=>
66{if(e.table&&h.CellIndex>=0){let t=e.table.querySelector("thead tr"),a=(0,r.$)(document.createElement("th"));(0,r.$)(a,!1,e.setCurrentCell,e.setCellControlsOpen);let l=e.table.querySelectorAll("tbody tr");t.insertBefore(a,t.cells[h.CellIndex+1]),l.forEach(t=>{let a=t.insertCell(h.CellIndex+1);(0,r.$)(a,!1,e.setCurrentCell,e.setCellControlsOpen)})}},title:"Insert column after",children:(0,s.InsertColumnAfter)()})]})]}),b=()=>{o(void 0),e.setCellControlsOpen&&e.setCellControlsOpen(!1)};return(0,i.useEffect)(()=>{if(e.currentCell&&m&&m.current){m.current.value=e.currentCell.getAttribute("class")||"default";let t=e.currentCell.parentElement;p({RowIndex:t?.rowIndex||-1,CellIndex:e.currentCell.cellIndex||0,ColDeleteRestricted:t?.childElementCount<=1,RowDeleteRestricted:e.table?.rows?.length<=2})}},[e.currentCell,e.table]),(0,l.jsxs)("div",{className:"table-controls bg-primary-200 flex flex-row items-center gap-2",children:[t&&x,(0,l.jsxs)("div",{className:"divide-0 flex flex-col gap-4 divide-solid overflow-x-auto rounded-tl rounded-tr bg-color-gray-100 p-2 sm:flex-row sm:divide-x",children:[(0,l.jsxs)("button",{onClick:e.onSaveHandler,className:"data-controls flex cursor-pointer items-center gap-2 p-1",children:[(0,s.Database)(),(0,l.jsx)("span",{children:"Save"})]}),e.cellControlsOpen?f:v,(0,l.jsxs)("div",{className:`cell-controls bg-gray-500 flex items-center gap-4 px-2 text-xl ${e.cellControlsOpen?"":"hidden"}`,children:[(0,l.jsx)("button",{type:"button",title:"Insert hyperlink",onClick:()=>{a(!0),o((0,r.K)(e.currentCell))},children:(0,s.Hyperlink)()}),(0,l.jsx)("button",{type:"button",title:"Set selected text to Bold (CTRL+B)",onClick:()=>{g("bold")},className:"px-2 font-bold",children:(0,l.jsx)("span",{role:"none",children:"B"})}),(0,l.jsx)("button",{type:"button",title:"Set selected text as Underlined (CTRL+U)",onClick:()=>{g("underline")},children:(0,l.jsx)("span",{className:"px-2 underline",role:"none",children:"U"})}),(0,l.jsx)("button",{type:"button",title:"Set selected text to Italic (CTRL+I)",onClick:()=>{g("italic")},children:(0,l.jsx)("span",{className:"px-2 italic",role:"none",children:"I"})}),(0,l.jsx)("button",{type:"button",title:"Format selected text into Superscript",onClick:()=>{g("superscript")},children:(0,l.jsxs)("span",{className:"px-2",role:"none",children:["A",(0,l.jsx)("sup",{className:"text-xs",role:"none",children:"2"})]})}),(0,l.jsx)("button",{type:"button",title:"Format selected text into Subscript",onClick:()=>{g("subscript")},children:(0,l.jsxs)("span",{className:"px-2",children:["A",(0,l.jsx)("sub",{className:"text-xs",children:"2"})]})}),(0,l.jsx)("button",{type:"button",title:"Clear formatting",onClick:()=>{g("removeFormat")},children:(0,s.ClearFormat)()}),(0,l.jsxs)("select",{ref:m,onChange:t=>{var a;return a=t.currentTarget.value||"",void(e.currentCell?.removeAttribute("class"),e.currentCell?.classList.add(a))},className:"block h-7 w-28 rounded p-1 text-sm",defaultValue:"default",children:[(0,l.jsx)("option",{value:"default",children:"Default"}),(0,l.jsx)("option",{value:"large",children:"Large"}),(0,l.jsx)("option",{value:"extra-large",children:"Extra-large"})]})]})]})]})}},7190:(e,t,a)=>{a.d(t,{w:()=>r});var l=a(7876),i=a(990);let r=({children:e})=>{let t=Math.min((0,i.E)()+1,6);return(0,l.jsx)(i.u,{value:t,children:e})};r.displayName="Section"},7199:(e,t,a)=>{a.r(t),a.d(t,{BypassBlock:()=>s});var l=a(7876),i=a(2650),r=a(6479);let s=()=>{let{t:e}=(0,i.s9)();return(0,l.jsx)("a",{href:"#content",className:"bypass-block sr-only !absolute left-8 top-20 bg-color-white text-xl font-medium text-color-primary focus-within:not-sr-only lg:left-13 xl:left-19.5",children:e(r.A.HEADER_SKIP)})}},7262:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var l=a(7876),i=a(4825),r=a(9228),s=a(4232);let n=e=>{let{placeholderKey:t,rendering:a,index:n}=e,{page:o}=(0,i.M5)(),d=(0,s.useRef)(null),c=(0,s.useRef)(!1);return c.current=e.isDragging,(0,s.useEffect)(()=>{let e=d.current;if(!e)return;let t=e.querySelectorAll("a"),a=e=>{c.current&&e.preventDefault()};return t.forEach(e=>e.addEventListener("click",a)),()=>
66{t.forEach(e=>e.removeEventListener("click",a))}},[t,a]),(0,l.jsx)("li",{ref:d,"data-big-carousel-index":n,className:`big-carousel-item ml-9 h-54 w-82 overflow-hidden whitespace-normal ${o?.mode?.isEditing?"content-card-overflow-hidden":""} flex flex-shrink-0 flex-grow-0 items-center justify-center text-color-black sm:ml-12 xl:ml-20 xl:h-70 xl:w-108 xxl:ml-32 xxl:h-88 xxl:w-136`,children:(0,l.jsx)(r.O,{name:t,rendering:a})})}},7300:(e,t,a)=>{a.d(t,{s:()=>r});var l=a(7876),i=a(4232);let r=({children:e,isActive:t=!0,disableTabIndex:a=!1,elementsAddStart:r,className:s})=>{let n=(0,i.useRef)(null),[o,d]=(0,i.useState)([]);return(0,i.useEffect)(()=>{!1!==a&&0!==o.length&&o.forEach(e=>{e&&(e.setAttribute("tabindex",t?"0":"-1"),e.setAttribute("aria-hidden",t?"false":"true"))})},[t,o]),(0,i.useEffect)(()=>{if(!n.current)return;let e=n.current,a=Array.from(e.querySelectorAll('button, a, input, select, textarea, [tabindex]:not([tabindex="-1"]), summary')).filter(t=>t.closest("[data-focustrap]")===e);if(d(a),r&&(a=[...r.filter(e=>null!==e&&e instanceof HTMLElement),...a]),!t||0===a.length)return;let l=a[0];l.focus();let i=a[a.length-1],s=e=>{t&&"Tab"===e.key&&(e.shiftKey&&document.activeElement===l?(e.preventDefault(),i.focus()):e.shiftKey||document.activeElement!==i||(e.preventDefault(),l.focus()))};return r&&r?.length>0&&r[0]&&r[0].addEventListener("keydown",s),e.addEventListener("keydown",s),()=>{e.removeEventListener("keydown",s),r&&r?.length>0&&r[0]&&r[0].removeEventListener("keydown",s)}},[n,t]),(0,l.jsx)("div",{"data-focustrap":!0,ref:n,className:s,children:e})}},7327:(e,t,a)=>{a.r(t),a.d(t,{ChartHeading:()=>n});var l=a(7876),i=a(5668),r=a(2836),s=a(5401);let n=({datasource:e,chartType:t})=>{let a=""!==e.subtitle.data.value;return(0,l.jsxs)("div",{className:`chart-headings flex flex-col gap-1 ${t===r.N.BarHorizontalMultiple?"mb-1 sm:mb-3":a?"mb-4 sm:mb-6":"mb-6 sm:mb-8"}`,children:[(0,l.jsx)(i.w,{className:"block text-2xl font-bold tracking-normal text-color-primary",children:(0,l.jsx)(s.E,{field:e.title.data})}),(0,l.jsx)(s.E,{field:e.subtitle.data,tag:"p",className:"text-base text-color-primary"})]})}},7373:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var l=a(7876),i=a(4232),r=a(8359),s=a(2650),n=a(6479),o=a(4825),d=a(488),c=a(8230),u=a.n(c),m=a(9466);let h=(0,d.w)()(({jobData:e})=>{let{t:t}=(0,s.s9)(),{page:a}=(0,o.M5)(),[d,c]=(0,i.useState)(""),h=(0,i.useRef)(0);(0,i.useEffect)(()=>{0===h.current&&(h.current=Date.now())}),(0,i.useEffect)(()=>{c(window.location.href)},[]);let p=[{href:`mailto:?subject=${encodeURIComponent(t(n.A.JOBS_SOCIAL_SHARE_EMAIL_SUBJECT))}&body=${encodeURIComponent(t(n.A.JOBS_SOCIAL_SHARE_EMAIL_BODY).replace("${jobTitle}",e?.displayJobTitle??"Job Title").replace("${jobLink}",d))}`,name:t(n.A.JOBS_SOCIAL_SHARE_EMAIL_LABEL),icon:"email"},{href:`${t(n.A.JOBS_SOCIAL_SHARE_WHATSAPP).replace("${jobLink}",encodeURIComponent(d))}`,name:t(n.A.JOBS_SOCIAL_SHARE_WHATSAPP_LABEL),icon:"whatsapp"},{href:`${t(n.A.JOBS_SOCIAL_SHARE_TWITTER).replace("${jobLink}",encodeURIComponent(d))}`,name:t(n.A.JOBS_SOCIAL_SHARE_TWITTER_LABEL),icon:"twitter"},{href:`${t(n.A.JOBS_SOCIAL_SHARE_LINKEDIN).replace("${jobLink}",encodeURIComponent(d))}`,name:t(n.A.JOBS_SOCIAL_SHARE_LINKEDIN_LABEL),icon:"linkedin"},{href:`${t(n.A.JOBS_SOCIAL_SHARE_FACEBOOK).replace("${jobLink}",encodeURIComponent(d))}`,name:t(n.A.JOBS_SOCIAL_SHARE_FACEBOOK_LABEL),icon:"facebook"}];return(0,l.jsxs)("div",{className:"jobs-social-share",children:[(0,l.jsx)("div",{className:"jobs-social-share-header",children:t(n.A.JOBS_SOCIAL_SHARE_HEADLINE)}),(0,l.jsx)("ul",{className:"jobs-social-share-channels",children:p.map((t,i)=>(0,l.jsx)("li",{children:(0,l.jsx)(u(),{onClick:()=>{var l;return l=t.name,void(!a?.mode?.isEditing&&(0,m.ZH)(e?.id,e?.displayJobTitle,l))},href:t.href,title:t.name,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(r.SVGIcon,{spriteName:"social",icon:t.icon})})},i))})]})})},7430:(e,t,a)=>{a.d(t,{B:()=>r});var l=a(2473);function i(e){return/^\d+$/.test(e)}class r{constructor(e){this.parentDataSet=[],this.parentBackgroundColors=[],this.parentChartLabels=[],this.animationDuration=0,this.highlightDelay=0,this.highlightDuration=0,this.highlightEnabledDataSet=[],this.highlightColor="",this.stackedCh
66artItems=[],this.getChartOptions=e=>{let t=parseInt(this.params.SuggestedMax)||0,a=this.flatDataSets.filter((e,t,a)=>t===a.findIndex(t=>t.title&&t.color===e.color)),r=this.getToolTipItems(a),s=e=>{if(!e)return null;if(this.params.Culture){let t=String(e).split(".")[1],a=t?t.length:0;return parseFloat(e).toLocaleString(this.params.Culture,{minimumFractionDigits:a,maximumFractionDigits:a})}return e},n={animation:{duration:i(this.params.AnimationDuration)?this.animationDuration:l.e.DEFAULT_TOTAL_ANIMATION_DURATION},responsive:"1"===this.params.Responsive,locale:this.params.Culture&&""!==this.params.Culture.trim()?this.params.Culture:l.e.DEFAULT_CULTURE,plugins:{tooltip:{enabled:!0,animation:{duration:i(this.params.AnimationDuration)?this.animationDuration:l.e.DEFAULT_TOOLTIP_ANIMATION_DURATION},filter:e=>{let t=r[e.dataIndex][e.datasetIndex];return!!t&&!t.hidden},callbacks:{label:function(e){let t=r[e.dataIndex][e.datasetIndex];return`${t&&t.title?t.title+":":""} 67 ${s(e.raw)}`}}},legend:{labels:{filter:e=>void 0!==e.text&&""!==e.text.trim(),generateLabels:function(){return a.map(t=>({text:t.title??"",fontColor:e?"white":"black",fillStyle:t.color||"",lineWidth:0}))}},onClick:()=>!1,display:"1"===this.params.Legend},datalabels:{formatter:s,labels:{title:{color:l.e.DEFAULT_LABEL_COLOR,font:{weight:"bold"}},value:{color:"white",font:{weight:"bold"}}}}}};if("bar"===this.chartType){let a="1"===this.params.ShowGrid,l="1"===this.params.StackedValues;n.scales={x:{stacked:l,grid:{display:a},ticks:{color:e?"white":"gray"}},y:{beginAtZero:!0,grid:{display:a},stacked:l,suggestedMax:t,ticks:{color:e?"white":"gray",callback:function(e){return 0!==e?s(e):""}}}}}return i(this.params.AnimationDuration)&&(n.transitions={active:{animation:{duration:this.animationDuration}}}),n},this.getToolTipItems=e=>this.datasource.children.results.map(t=>{let a=e.find(e=>e.color===t.color.data?.fields?.Color?.value);return[{title:a?.title,hidden:t.hideOnHover.data.value},...t.children.results.map(t=>{let a=e.find(e=>e.color===t.color.data?.fields.Color.value);return{title:a?.title,hidden:t.hideOnHover.data.value}})]}),this.getFlatDataSets=e=>e.reduce((e,t)=>(e.push({title:t.legendTitle?.data?.value||"",color:t.color?.data?.fields?.Color?.value}),t.children?.results?.length>0&&e.push(...this.getFlatDataSets(t.children.results)),e),[]),this.params=e.params,this.datasource=e.fields.data.datasource,this.chartType=e.chartType,this.parentDataSet=this.datasource.children.results.map(e=>e.value?.data?.value),this.parentBackgroundColors=this.datasource.children.results.map(e=>e.color?.data?.fields?.Color?.value||l.e.DEFAULT_BACKGROUND_COLOR),this.animationDuration=i(this.params.AnimationDuration)?parseInt(this.params.AnimationDuration):l.e.DEFAULT_TOTAL_ANIMATION_DURATION,this.highlightDelay=i(this.params.HighlightDelay)?parseInt(this.params.HighlightDelay):l.e.DEFAULT_HIGHLIGHT_DELAY,this.highlightDuration=i(this.params.HighlightDuration)?parseInt(this.params.HighlightDuration):l.e.DEFAULT_HIGHLIGHT_DURATION,this.highlightEnabledDataSet=this.datasource.children.results.map((e,t)=>e.highlight.data.value?t:-1).filter(e=>-1!==e),this.highlightColor=this.datasource.highlightColor?.data?.fields?.Color?.value||l.e.DEFAULT_HIGHLIGHT_COLOR,this.parentChartLabels=this.datasource.children.results.map(e=>e.label.data?.value);const t=Math.max(...this.datasource.children.results.map(e=>e.children.results.length));
67this.stackedChartItems=Array.from({length:t},(e,t)=>this.datasource.children.results.map(e=>{let a=e.children.results[t];return{color:a?.color?.data?.fields?.Color?.value||"",value:a?.value.data?.value||null,hideTooltip:a?.hideOnHover?.data?.value||!1}})),this.flatDataSets=this.getFlatDataSets(this.datasource.children.results)}}},7573:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(7876),i=a(7328),r=a.n(i),s=a(464);let n=({layoutData:e,enableStyles:t,enableThemes:a})=>{let i=s.A.getHeadLinks(e,{enableStyles:t,enableThemes:a});return 0===i.length?null:(0,l.jsx)(r(),{children:i.map(({rel:e,href:t})=>(0,l.jsx)("link",{rel:e,href:t},t))})}},7615:(e,t,a)=>{a.r(t),a.d(t,{SecondaryNavigationItem:()=>r});var l=a(7876),i=a(5145);let r=e=>(0,l.jsx)("li",{className:"secondary-nav-item w-fit",children:(0,l.jsx)(i.SmartLink,{className:"relative mb-1 flex pr-3 align-middle text-h4 font-light leading-8 text-color-white transition-all duration-200 hover:text-color-yellow xl:hover:pl-3 xl:hover:pr-0",field:e?.link?.data?.value})})},7654:(e,t,a)=>{a.d(t,{Q:()=>l,T:()=>i});let l=e=>{if(!e)return null;let t=e.split(".");return 1===t.length?null:t[t.length-1].split("?")[0]},i=e=>{let t="";switch(e){case"docx":case"doc":t="Doc";break;case"zip":t="ZIP";break;case"pdf":t="PDF";break;case"xlsx":case"xls":t="Excel";break;case"pptx":case"ppt":t="Powerpoint";break;case"jpg":case"jpeg":t="JPG";break;case"png":t="PNG";break;default:t="File"}return t}},7662:(e,t,a)=>{a.d(t,{L:()=>c});var l=a(464),i=a(2850),r=a(6715),s=a(463);class n{constructor(){this.transformer=null,this.initializeTransformer()}initializeTransformer(){let e=s.A.rewriteMediaUrls;if(!e){this.transformer=null;return}if("function"==typeof e)this.transformer=e;else if(!0===e){let e=(0,i.NP)();this.transformer=(0,r.Qr)(e)}}rewriteUrl(e){return this.transformer&&e?this.transformer(e):e}rewriteImageField(e){return this.transformer&&e?.value?.src?{...e,value:{...e.value,src:this.transformer(e.value.src)}}:e}rewriteData(e){return this.transformer?(0,r.Wx)(e,this.transformer):e}isEnabled(){return null!==this.transformer}}let o=new n;var d=a(5364);let c=async(e,t)=>{let a={retries:d.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(d.env.GRAPH_QL_SERVICE_RETRIES,10)||0};try{let i=await l.A.getData(`{ 68 item(path:"${e}" language:"${t&&"default"!==t?t:"en"}") { 69 template{ 70 name 71 } 72 title: field(name: "Title") { 73 data: jsonValue 74 } 75 subtitle: field(name: "Subtitle") { 76 data: jsonValue 77 } 78 articleDate: field(name: "articleDate") { 79 data: jsonValue 80 } 81 summary: field(name: "Summary") { 82 data: jsonValue 83 } 84 image: field(name: "Image") { 85 data: jsonValue 86 } 87 } 88 }`,a);return i?.item?.image?.data&&(i.item.image.data=o.rewriteImageField(i.item.image.data)),i}catch(a){return console.error(`Error getting featured article from: ${e} - language: ${t||"en"}`),console.error(a),{}}}},7799:(e,t,a)=>{a.d(t,{A:()=>s2});var l={};a.r(l),a.d(l,{default:()=>eJ});var i={};a.r(i),a.d(i,{Articles:()=>tj,Default:()=>tf,Site:()=>tE,Stories:()=>tb});var r={};a.r(r),a.d(r,{Default:()=>ty,Tags:()=>t_});var s={};a.r(s),a.d(s,{default:()=>tA});var n={};a.r(n),a.d(n,{Header:()=>tk,QuickSearch:()=>tR,default:()=>t$});var o={};a.r(o),a.d(o,{Default:()=>tO});var d={};a.r(d),a.d(d,{default:()=>tF});var c={};a.r(c),a.d(c,{JobSearchFilterButton:()=>tH,default:()=>tU});var u={};a.r(u),a.d(u,{default:()=>tq});var m={};a.r(m),a.d(m,{default:()=>tz});var h={};a.r(h),a.d(h,{default:()=>tJ});var p={};a.r(p),a.d(p,{default:()=>tK});var g={};a.r(g),a.d(g,{Default:()=>ae,default:()=>al,getComponentServerProps:()=>ai,hCaptcha:()=>t7});var x={};a.r(x),a.d(x,{Default:()=>as,default:()=>ad,getComponentServerProps:()=>ac,hCaptcha:()=>ar});var v={};a.r(v),a.d(v,{Default:()=>a_,default:()=>aS,getComponentServerProps:()=>aA});var f={};a.r(f),a.d(f,{default:()=>aL,getComponentServerProps:()=>ak});var b={};a.r(b),a.d(b,{default:()=>aP});var j={};a.r(j),a.d(j,{default:()=>aV});var E={};a.r(E),a.d(E,{Default:()=>aU,default:()=>aG});var N={};a.r(N),a.d(N,{default:()=>az});var w={};a.r(w),a.d(w,{default:()=>aQ});var y={};a.r(y),a.d(y,{Default:()=>aK,default:()=>aX});var _={};a.r(_),a.d(_,{default:()=>aZ});var A={};a.r(A),a.d(A,{default:()=>a0});var S={};a.r(S),a.d(S,{default:()=>a6});var C={};a.r(C),a.d(C,{WithPlaceholder:()=>a8,default:()=>le});var T={};a.r(T),a.d(T,{Inline:()=>ll,default:()=>li});var I={};a.r(I),a.d(I,{Default:()=>ls,Download:()=>ln,default:()=>lo});var L={};a.r(L),a.d(L,{Default:()=>lu,FooterBreadcrumbs:()=>lc});var k={};a.r(k),a.d(k,{Default:()=>lf});var R={};a.r(R),a.d(R,{default:()=>lE});var $={};a.r($),a.d($,{FixedHeight:()=>lT,default:()=>lI});var D={};a.r(D),a.d(D,{default:()=>lL});var O={};a.r(O),a.d(O,{Default:()=>lO,Inline:()=>lF});var F={};a.r(F),a.d(F,{default:()=>lB});var M={};
88a.r(M),a.d(M,{default:()=>lU});var P={};a.r(P),a.d(P,{default:()=>lG});var V={};a.r(V),a.d(V,{RowView:()=>lZ,default:()=>l1,getComponentServerProps:()=>l0});var B={};a.r(B),a.d(B,{default:()=>l3});var H={};a.r(H),a.d(H,{Default:()=>l9});var U={};a.r(U),a.d(U,{default:()=>ia});var G={};a.r(G),a.d(G,{default:()=>il});var q={};a.r(q),a.d(q,{Table:()=>io,default:()=>id});var z={};a.r(z),a.d(z,{default:()=>ic});var W={};a.r(W),a.d(W,{default:()=>im});var Y={};a.r(Y),a.d(Y,{default:()=>ip});var J={};a.r(J),a.d(J,{default:()=>ix});var Q={};a.r(Q),a.d(Q,{default:()=>ib});var K={};a.r(K),a.d(K,{Default:()=>iN});var X={};a.r(X),a.d(X,{default:()=>iw});var Z={};a.r(Z),a.d(Z,{Default:()=>iC,Stories:()=>iT});var ee={};a.r(ee),a.d(ee,{default:()=>iR});var et={};a.r(et),a.d(et,{ImageLeft:()=>i$,default:()=>iD});var ea={};a.r(ea),a.d(ea,{Default:()=>iM,SideImageLarge:()=>iF,default:()=>iV});var el={};a.r(el),a.d(el,{default:()=>iH});var ei={};a.r(ei),a.d(ei,{default:()=>iz});var er={};a.r(er),a.d(er,{Centered:()=>iK,Default:()=>iX,LargeText:()=>iZ,SplitCenter:()=>i1,StackedText:()=>i0});var es={};a.r(es),a.d(es,{HotspotPoint:()=>i5,default:()=>i3});var en={};a.r(en),a.d(en,{default:()=>i8,getComponentServerProps:()=>i7});var eo={};a.r(eo),a.d(eo,{default:()=>re});var ed={};a.r(ed),a.d(ed,{Default:()=>ra,NoGutters:()=>rl});var ec={};a.r(ec),a.d(ec,{default:()=>rr});var eu={};a.r(eu),a.d(eu,{default:()=>rn});var em={};a.r(em),a.d(em,{Default:()=>ro,LeftAligned:()=>rd,WithImage:()=>rc});var eh={};a.r(eh),a.d(eh,{Default:()=>rm,LeftAligned:()=>rh});var ep={};a.r(ep),a.d(ep,{BigImageQuote:()=>rx,Default:()=>rg});var eg={};a.r(eg),a.d(eg,{WithoutHeading:()=>rf,default:()=>rj});var ex={};a.r(ex),a.d(ex,{default:()=>rE});var ev={};a.r(ev),a.d(ev,{Default:()=>r_,Large:()=>rN,Medium:()=>rw,SideImage:()=>rS,SideImageLarge:()=>rA,Small:()=>ry,default:()=>rT});var ef={};a.r(ef),a.d(ef,{Default:()=>rL,default:()=>rk});var eb={};a.r(eb),a.d(eb,{Default:()=>rR,default:()=>r$});var ej={};a.r(ej),a.d(ej,{Default:()=>rD});var eE={};a.r(eE),a.d(eE,{default:()=>rM});var eN={};a.r(eN),a.d(eN,{default:()=>rK,hCaptcha:()=>rJ});var ew={};a.r(ew),a.d(ew,{default:()=>r5,getComponentServerProps:()=>r6,hCaptcha:()=>r0});var ey={};a.r(ey),a.d(ey,{Default:()=>r8,default:()=>st,getComponentServerProps:()=>sa,hCaptcha:()=>r4});var e_={};a.r(e_),a.d(e_,{default:()=>sr});var eA={};a.r(eA),a.d(eA,{default:()=>ss});var eS={};a.r(eS);var eC={};a.r(eC),a.d(eC,{BarHorizontal:()=>sp,Default:()=>sh,Doughnut:()=>sx,Pie:()=>sg});var eT={};a.r(eT),a.d(eT,{Default:()=>sw,Doughnut:()=>s_,Pie:()=>sy});var eI={};a.r(eI),a.d(eI,{default:()=>sS});var eL={};a.r(eL),a.d(eL,{default:()=>sC});var ek={};a.r(ek),a.d(ek,{default:()=>sT});var eR={};a.r(eR),a.d(eR,{default:()=>sI});var e$={};a.r(e$),a.d(e$,{default:()=>sD});var eD={};a.r(eD),a.d(eD,{default:()=>sF});var eO={};a.r(eO),a.d(eO,{default:()=>sP});var eF={};a.r(eF),a.d(eF,{default:()=>sV}
88);var eM={};a.r(eM),a.d(eM,{default:()=>sB});var eP={};a.r(eP),a.d(eP,{Default:()=>sG,default:()=>sz,hCaptcha:()=>sU});var eV={};a.r(eV),a.d(eV,{default:()=>sW});var eB={};a.r(eB),a.d(eB,{JobAlertLink:()=>sY,default:()=>sJ});var eH={};a.r(eH),a.d(eH,{default:()=>s0,getComponentServerProps:()=>sZ});var eU={};a.r(eU),a.d(eU,{default:()=>s1});var eG=a(2571),eq=a(5271),ez=a(8313),eW=a(7876),eY=a(9228);let eJ=e=>(0,eW.jsx)(eY.O,{name:e.rendering?.params?.sig||"",rendering:e.rendering});var eQ=a(7099),eK=a(8415),eX=a(1391),eZ=a(6871),e0=a(3721),e1=a(2432),e2=a(2482),e5=a(5633),e6=a(5733),e3=a(9195),e9=a(3630),e4=a(9511),e8=a(5379),e7=a(7806),te=a(8831),tt=a(9167),ta=a(2951),tl=a(4232),ti=a(2650),tr=a(4285),ts=a(6631),tn=a(4825),to=a(6350),td=a(8595),tc=a(9099),tu=a(9466),tm=a(4766),th=a(6479),tp=a(3729),tg=a(2769),tx=a(7190);let tv=e=>{let{fields:t,params:a,variant:l}=e,{t:i}=(0,ti.s9)(),{page:r}=(0,tn.M5)(),s=(0,tc.useRouter)(),{activeFilters:n,defaultSorting:o,isFilterReady:d,isResultsLoading:c,offset:u,resultDetails:m,setIsResultsLoading:h,setResultDetails:p,sorting:g,showBanner:x,setShowBanner:v,filterValues:f,setActiveFilters:b,setFilterReady:j,resultLimit:E}=(0,tr.$A)(),[N,w]=(0,tl.useState)(""),[y,_]=(0,tl.useState)(void 0),[A,S]=(0,tl.useState)(""),[C,T]=(0,tl.useState)(!1),[I,L]=(0,tl.useState)(!1),[k,R]=(0,tl.useState)(!0),$=(0,tl.useRef)(0),D=(0,tl.useRef)(""),O=(0,tl.useRef)(!0),F=a?.RenderingIdentifier??void 0;E.current="stories"!==l?to.A.resultsLimit:to.A.gridResultsLimit,(0,tl.useEffect)(()=>()=>{v(!1)},[]);let M=(e,a,l,i)=>{(0,tm.v_)(e,a,l,i,new URLSearchParams(window.location.search).get(to.A.queryParam)??"",t.SearchWidgetID?.value,r?.locale||"en-us",$.current)},P=(e,a,l)=>{let s=new AbortController,d=s.signal,c=(0,td.xs)(to.A.queryParam,window?.location?.search);if(D.current=c,!r?.mode?.isEditing)return h(!0),T(!1),L(!1),(0,tp.H)({activeFilters:n,offset:e,query:c??void 0,locale:r?.locale||"en-us",rfk_id:t.SearchWidgetID?.value,sources:t.S
88ourceID?.value,sorting:a||(c?o:void 0),limit:E.current},d).then(e=>{let a,l,s,n;if(e?.widgets?.[0]&&e?.widgets?.[0].total_item!==void 0)e?.widgets?.[0].offset>e?.widgets?.[0].total_item&&(L(!0),(0,tu.hO)(t?.errorMessage?.value));else{T(!0),(0,tu.hO)(t?.errorMessage?.value);return}a=e.widgets[0],l=a?.total_item,s=a?.offset/E.current+1,n=a?.limit>0?Math.ceil((l??0)/E.current):0,R(!1),p({total:l,currentPage:s,totalPages:n}),_(a?a.content:void 0),S(i(1!==l?th.A.JOBS_SEARCH_RESULTS_COUNTER:th.A.JOBS_SEARCH_RESULTS_COUNTER_SINGULAR).replaceAll("${count}",(l??0).toString())),w(i(th.A.JOBS_SEARCH_RESULTS_PAGE_INDICATOR).replaceAll("${page}",s.toString()).replaceAll("${totalPages}",n.toString())),(0,tm.oQ)(e,$.current,t.SearchWidgetID?.value,r?.locale||"en-us",e?.widgets?.[0]?.total_item,new URLSearchParams(window.location.search).get(to.A.queryParam)??"",1+e?.widgets?.[0]?.offset/E.current)}).catch(e=>{"AbortError"!==e.name&&(console.error("Failed to get search results",e),T(!0),(0,tu.hO)(t?.errorMessage?.value))}).finally(()=>{h(!1),"function"==typeof l&&l()}),()=>{s.abort()}},V=()=>{p({total:void 0,currentPage:1,totalPages:0}),_(void 0),R(!0),D.current=""},B=(0,tl.useCallback)(e=>(0,td.Jv)(e,r?.locale),[]);return((0,tl.useEffect)(()=>{$.current=Date.now()},[]),(0,tl.useEffect)(()=>{O.current||P(u,g)},[u]),(0,tl.useEffect)(()=>{O.current||P(0,g)},[g]),(0,tl.useEffect)(()=>{if(!O.current&&D.current!==s.query.query&&(D.current||s.query.query)){if("stories"===l)return void b([]);if("site"===l&&!s.query.query)return void V();P(0,g)}},[s.query]),(0,tl.useEffect)(()=>{O.current||P(0,"")},[n]),(0,tl.useEffect)(()=>{O.current&&d&&(O.current=!1,("site"!==l||s.query.query)&&P(0,g))},[d]),(0,tl.useEffect)(()=>("site"===l&&(f.current=[],b([]),j(!0)),()=>{V(),O.current=!0}),[]),t)?(0,eW.jsxs)("div",{id:F,className:`component ${"stories"===l?"search-stories":`search-results search-results--${l}`} ${k?"search-results--empty":""} ${c?"is-loading":""} ${(0,tg.N)(a)}`,"data-search-type":t.searchType?.value,children:[(0,eW.jsx)(tt.SearchResultsFields,{...e,offset:u,hasError:C,hasWrongPagenumber:I,resultsCountText:A,paginationText:N,results:y,resultDetails:m}),(0,eW.jsxs)("div",{className:"search-results__items",children:[(0,eW.jsxs)("div",{"aria-live":"polite",children:[!c&&(y?.length==null||y?.length==0)&&(0,eW.jsx)("span",{className:"sr-only",children:i(th.A.ACC_SEARCH_NO_RESULTS)}),!c&&y&&y?.length>0&&(0,eW.jsx)("span",{className:"sr-only",children:i(th.A.ACC_SEARCH_RESULTS_FOUND,{resultsFound:m?.total})})]}),(0,eW.jsx)(tx.w,{children:"stories"===l?(0,eW.jsx)(te.SearchStories,{...e,results:y,handleResultClick:M,generateUrl:B,hasError:C||I}):(0,eW.jsx)(ta.SearchResultsDefault,{...e,results:y,showBanner:x,isResultsLoading:c,handleClick:M,generateUrl:B,hasError:C||I})}),c&&(0,eW.jsx)(ts.Loader,{})]})]}):(0,eW.jsx)("div",{id:F,className:`component ${"default"===l?"search-results":"search-stories"}`})},tf=e=>(0,eW.jsx)(tv,{...e,variant:"default"}),tb=e=>(0,eW.jsx)(tv,{...e,variant:"stories"}),tj=e=>(0,eW.jsx)(tv,{...e,variant:"articles"}),tE=e=>(0,eW.jsx)(tv,{...e,variant:"site"});var tN=a(5668);let tw=({fields:e,params:t,variant:a})=>{let{filterValues:l,activeFilters:i,hasFilter:r,setActiveFilters:s,setFilterReady:n}=(0,tr.$A)(),[o,d]=(0,tl.useState)([]),{page:c}=(0,tn.M5)(),u=(0,tc.useRouter)(),{t:m}=(0,ti.s9)(),h=(0,tl.useRef)(0),p=(0,tl.useRef)(void 0),g=(0,tl.useId)(),x=m(th.A.QUICK_FILTERS_LABEL),v=async()=>{let t=await (0,tp.H)({locale:c?.locale||"en-us",rfk_id:e.SearchWidgetID?.value,sources:e.SourceID?.value,includeFacets:!0,includeContent:!1});if(t?.widgets?.length)return[{facetName:{value:a.toString(),jsonValue:{value:void 0}},title:{value:a.toString(),jsonValue:{value:void 0}},expand:{value:"1",jsonValue:{value:void 0}},value:t.widgets[0].facet?.find(e=>e.name===a)?.value?.filter(e=>!!e.text)}]};return(0,tl.useEffect)(()=>{if(0===h.current)return r.current=!0,h.current=Date.now(),(async()=>{let e=await v();l.current=e,d(e),s((0,td.TX)(window.location?.search).filter(e=>e.name===a)),n(!0)})(),()=>{l.current=[],s([])}},[]),(0,eW.jsx)("div",{className:`component ${(0,tg.N)(t)??""}`,children:(c?.mode?.isEditing||!!o?.[0]?.value&&o[0].value.length>1)&&(0,eW.jsxs)("div",{className:"quick-filter--container",role:"group","aria-labelledby":g,children:[(0,eW.jsx)(tN.w,{className:"sr-only",id:g,children:x}),(0,eW.jsx)("ul",{className:"quick-filter--list",children:c?.mode?.isEditing?(0,eW.jsx)("li",{children:(0,eW.jsx)("span",{className:"quick-filter--pill",children:a})}):o?.[0]?.value?.map((e,t)=>{var r,n;let o,d=(r=e?.text,!!(o=i?.find(e=>e.name===a))&&o.values?.includes(r));return(0,eW.jsx)("li",{children:(0,eW.jsx)("button",{type:"button",role:"switch","aria-checked":d,className:`quick-filter--pill ${d?"active":""}`,onClick:()=>{var t,r,n;let o,d,c,m,h;return t=e?.text,o=structuredClone(i),void(!(d=o?.find(e=>e.name===a))&&(o=[d={name:a}]),d.values?d.values.includes(t)?d.values.splice(d.values.indexOf(t),1):d.values.push(t):d.values=[t],d.values.length<=0&&(o=[]),r=o,c=window?.location?.search,m={baseUrl:(u?.locale?"/"+u.locale:"")+u.asPath.split("?")[0],facets:r,existingQueryString:c,availableFilters:l.current?.map(e=>e.facetName?.jsonValue?.value)},(h=(0,td.Tz)(m))&&u.push(h,void 0,{shallow:!0}),s(o),n=o,p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{(0,tu.eU)(n),clearTimeout(p.current),p.current=void 0},2e3))},children:(n=e?.text,"tags"===a?n:m(`${th.A.QUICK_FILTER_TYPE_PREFIX}${n}`)||n)})},t)})})]})})},ty=e=>(0,eW.jsx)(tw,{...e,variant:"type"}),t_=e=>(0,eW.jsx)(tw,{...e,variant:"tags"}),tA=e=>{let{rendering:t}=e;return(0,eW.jsx)("div",{className:"search-container",children:(0,eW.jsx)(eY.O,{name:"search-components",rendering:t})})};var tS=a(5401),tC=a(488),tT=a(1668),tI=a(5537),tL=a(7300);let tk=e=>{let{fields:t,params:a,backdropOnclick:l,isOpen:i,searchButtonRef:r}=e,s=a?.RenderingIdentifier??void 0,n=(0,tg.N)(a),{setDefaultSorting:o}=(0,tr.$A)();return((0,tl.useEffect)(()=>{o("")},[t]),e)?(0,eW.jsx)(tL.s,{isActive:i,disableTabIndex:!0,elementsAddStart:[r?.current],children:(0,eW.jsxs)("div",{className:`${n}`,id:s,children:[(0,eW.jsx)("div",{className:`backdrop ${i?"is-open":""}`,onClick:l,onKeyDown:()=>l,role:"button","aria-hidden":!0}),(0,eW.jsxs)("div",{className:`sb-headroom headroom ${i?"is-open":""}`,children:[(0,eW.jsx)(tI.VisualGrid,{}),(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered flex h-full items-center",children:(0,eW.jsxs)("div",{className:"block w-full",children:[(0,eW.jsx)(tN.w,{className:"mb-4 block text-nav1 text-color-white",children:(0,eW.jsx)(tS.E,{field:t?.label})}),(0,eW.jsx)(tT.HeaderSearchBar,{action:t?.searchPage,placeholder:t?.placeholderText,retainQueryStrings:(0,tg.D)(a.retainQueryStrings),id:"header-search-bar"})]})})})]})]})}):(0,eW.jsx)(eW.Fragment,{})},tR=e=>{let{fields:t,params:a}=e,l=(0,tg.N)(a),i=a?.RenderingIdentifier??void 0,{setDefaultSorting:r}=(0,tr.$A)();return((0,tl.useEffect)(()=>{r("")},[t]),e)?(0,eW.jsx)("div",{className:`component quick-search ${l}`,id:i,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered",children:(0,eW.jsxs)("div",{className:"quick-search-container",children:[(0,eW.jsx)("div",{className:"quick-search-title-container",children:(0,eW.jsx)(tN.w,{className:"quick-search-title",children:(0,eW.jsx)(tS.E,{field:t?.label})})}),(0,eW.jsx)("div",{className:"quick-search-bar-container",children:(0,eW.jsx)(tT.QuickSearchBar,{action:t?.searchPage,placeholder:t?.placeholderText,retainQueryStrings:(0,tg.D)(a.retainQueryStrings),id:"quick-search-bar"})})]})})})}):(0,eW.jsx)(eW.Fragment,{})},t$=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=(0,tg.N)(a),i=a?.RenderingIdentifier??void 0,{setDefaultSorting:r}=(0,tr.$A)();return(0,tl.useEffect)(()=>{r("")},[t]),(0,eW.jsx)("div",{className:`component site-search ${l}`,id:i,children:(0,eW.jsx)("div",{className:"site-search-container",children:(0,eW.jsx)("div",{className:"site-search-bar-container",children:(0,eW.jsx)(tT.SiteSearchBar,{placeholder:t?.placeholderText,action:t?.searchPage,retainQueryStrings:(0,tg.D)(a.retainQueryStrings),id:"site-search-bar"})})})})});var tD=a(8359);let tO=e=>{let{params:t}=e,{setOffset:a,resultDetails:l,setResultDetails:i,activeFilters:r,filterValues:s,showBanner:n,setShowBanner:o,resultLimit:d}=(0,tr.$A)(),{page:c}=(0,tn.M5)(),[u,m]=(0,tl.useState)([]),h=(0,tc.useRouter)(),{t:p}=(0,ti.s9)(),g=(e,t)=>{e.preventDefault(),a((t-1)*d.current),i({total:l?.total,totalPages:l?.totalPages||1,currentPage:t}),n||o(!0);let r=document?.querySelector(".search-results")?.getBoundingClientRect()?.top??0,s=window.innerWidth>=992?24:54;window.scrollTo(window.scrollX,r-s+window.scrollY)};return((0,tl.useEffect)(()=>{let e=(0,td.xs)(to.A.pageParam,window.location.search);e&&a((Number.parseInt(e)-1)*d.current)},[]),(0,tl.useEffect)(()=>{let e;c?.mode?.isEditing?m(["1","2","3","4","5","…","42"]):(m((e=[1],l?(l.totalPages<=7&&l.totalPages>
88=2?Array(l.totalPages-2).fill(0).forEach((t,a)=>{a+1>=l.totalPages-1||e.push(a+2)}):l.currentPage<5?([,,,,].fill(0).forEach((t,a)=>{a+1>=l.totalPages-1||e.push(a+2)}),e.push("…")):e=l.currentPage>=l.totalPages-3?e.concat(["…",l.totalPages-4,l.totalPages-3,l.totalPages-2,l.totalPages-1]):e.concat(["…",l.currentPage-1,l.currentPage,l.currentPage+1,"…"]),e.push(l?.totalPages||1),e):[])),h.isReady&&(()=>{var e;let t,a;if(!l?.currentPage?.toString())return;let i=new URLSearchParams(window.location.search);if(l?.currentPage===1&&!i.has(to.A.pageParam))return;let n=(e=l?.currentPage||1,t=window?.location?.search,a={baseUrl:(h?.locale?"/"+h.locale:"")+h.asPath.split("?")[0],facets:r,existingQueryString:t,availableFilters:s.current?.map(e=>e.facetName?.jsonValue?.value),removeQueries:[to.A.pageParam],newParams:1!==e?[{name:to.A.pageParam,value:e.toString()}]:void 0},(0,td.Tz)(a));n&&h.push(n,void 0,{shallow:!0})})())},[l,h.isReady]),c?.mode?.isEditing||l&&!(l.totalPages<=1))?(0,eW.jsx)("nav",{className:`component pagination ${(0,tg.N)(t)}`,"aria-label":p(th.A.ACC_PAGINATION),children:(0,eW.jsxs)("ul",{children:[(0,eW.jsx)("li",{className:`pagination-prev ${(l?.currentPage||1)>1&&!c?.mode?.isEditing?"":"disabled"}`,children:(0,eW.jsx)("button",{role:"link",onClick:e=>g(e,(l?.currentPage||1)-1),title:p(th.A.PAGINATION_PREV),"aria-label":p(th.A.PAGINATION_PREV),disabled:1===(l?.currentPage||1),children:(0,eW.jsx)(tD.SVGIcon,{icon:"wide-arrow-left"})})}),u?.map((e,t)=>(0,eW.jsxs)("li",{className:`pagination-link ${e===(l?.currentPage||1)||c?.mode?.isEditing&&"1"===e?"active":isNaN(e)||c?.mode?.isEditing?"disabled":""}`,children:["…"===e&&(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("span",{className:"sr-only",children:p(th.A.ACC_PAGINATION_ELLIPSIS)}),(0,eW.jsx)("span",{"aria-hidden":"true",children:e})]}),"…"!==e&&(0,eW.jsx)("button",{role:"link",onClick:t=>g(t,e),"aria-current":e===(l?.currentPage||1)||c?.mode?.isEditing&&"1"===e?"page":void 0,children:e})]},t)),(0,eW.jsx)("li",{className:`pagination-next ${l&&(l?.currentPage||1)<l.totalPages&&!c?.mode?.isEditing?"":"disabled"}`,children:(0,eW.jsx)("button",{role:"link",onClick:e=>g(e,(l?.currentPage||1)+1),title:p(th.A.PAGINATION_NEXT),"aria-label":p(th.A.PAGINATION_NEXT),disabled:(l?.currentPage||1)===(l?.totalPages||1),children:(0,eW.jsx)(tD.SVGIcon,{icon:"wide-arrow-right"})})})]})}):(0,eW.jsx)("div",{className:"py-6"})},tF=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=(0,tr.$A)(),{page:i}=(0,tn.M5)(),[r,s]=(0,tl.useState)(!1),[n,o]=(0,tl.useState)(!1),d=(0,tl.useRef)(!1),{setSorting:c,sorting:u,setDefaultSorting:m}=l,{sortByParam:h,queryParam:p,pageParam:g}=to.A,x=a?.RenderingIdentifier??void 0,v=(0,tc.useRouter)();return((0,tl.useEffect)(()=>{let e=(0,td.xs)(p,window.location.search),{resultDetails:t}=l;o(!!e&&!!t?.total&&t.total>1)}),(0,tl.useEffect)(()=>{m((t.data.datasource.children.results?.[0].value.jsonValue.value||"").toString())},[t]),(0,tl.useEffect)(()=>{let e=(0,td.xs)(h,window.location.search);return e&&v.isReady&&(d.current=!0,c(e)),()=>{c(void 0)}},[v.isReady]),(0,tl.useEffect)(()=>{if(d.current){d.current=!1;return}(e=>{if(!e)return;let{pathname:t,search:a}=window.location,l=(0,td.Tz)({baseUrl:t,existingQueryString:a,removeQueries:[h,g],newParams:e?[{name:h,value:e}]:void 0});l&&v.push(l,void 0,{shallow:!0})})(u)},[u]),t?.data?.datasource?.children?.results)?(0,eW.jsx)(eW.Fragment,{children:i?.mode?.isEditing?(0,eW.jsx)("div",{id:x,className:`${(0,tg.N)(a)} job-search-sorting__container`,children:(0,eW.jsxs)("div",{className:"job-search-sorting__dropdown__container",children:[(0,eW.jsxs)("div",{className:"flex w-full justify-end gap-2",children:[(0,eW.jsx)(tS.E,{className:"text-base font-normal normal-case tracking-normal text-color-primary-700",field:t?.data?.datasource.title.data}),(0,eW.jsxs)("button",{type:"button",className:"job-search-sorting__dropdown__btn",onClick:()=>s(!r),children:[(0,eW.jsx)("span",{role:"presentation",children:t.data.datasource.children.results?.[0]?.label?.jsonValue?.value||""}),(0,eW.jsx)("span",{className:"job-search-sorting__icon",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"chevron-down"})})]})]}),(0,eW.jsx)("div",{className:`${r?"block":"hidden"} job-search-sorting__dropdown__background`,children:(0,eW.jsx)("table",{className:"job-search-sorting__dropdown__options",children:(0,eW.jsx)("tbody",{children:t.data.datasource.children.results?.map((e,t)=>(0,eW.jsxs)("tr",{className:"hidden-properties__item",children:[(0,eW.jsx)("td",{children:(0,eW.jsx)("span",{className:"hidden-properties__item-label",children:(0,eW.jsx)(tS.E,{field:e.label?.jsonValue})})}),(0,eW.jsx)("td",{children:(0,eW.jsx)(tS.E,{field:e.value?.jsonValue})})]},t))})})})]})}):(0,eW.jsxs)("div",{className:`hidden w-full items-baseline justify-end gap-2 ${n?"lg:flex":""}`,children:[(0,eW.jsx)("label",{htmlFor:"job-search-sorting-dropdown",className:"text-base font-normal normal-case tracking-normal text-color-primary-700",children:t?.data?.datasource?.title?.data?.value||""}),(0,eW.jsxs)("div",{id:x,"data-testid":x,className:`${(0,tg.N)(a)} relative`,children:[(0,eW.jsx)("span",{className:"job-search-sorting__icon",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"chevron-down"})}),(0,eW.jsx)("select",{id:"job-search-sorting-dropdown","data-testid":"job-search-sorting-dropdown",className:"job-search-sorting__dropdown cursor-pointer focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-color-gray",value:u,onChange:e=>{c(e.target.value)},children:t.data.datasource.children.results?.map((e,t)=>(0,eW.jsx)("option",{"data-testid":"job-search-sorting-dropdown-option",value:e.value?.jsonValue?.value,children:e.label?.jsonValue?.value},t))})]})]})}):(0,eW.jsx)(eW.Fragment,{})});var tM=a(4940),tP=a(8513);let tV=async({country:e,rfk_id:t,sources:a,locale:l,cityFieldDefinitions:i})=>{if(!e)return;let r=new AbortController,s=await (0,tp.H)({rfk_id:t,sources:a,locale:l,includeFacets:!0,includeContent:!1,activeFilters:[{name:to.A.countryParam,values:[e]}]},r.signal),n=s?.widgets?.[0]?.facet?.find(e=>e.name===to.A.cityAndStateParam);if(!n)return;let o=i?.find(e=>e.facetName?.jsonValue?.value===to.A.cityAndStateParam);if(o)return{...o,value:n.value}};var tB=a(7891);let tH=e=>{let{setIsFilterOpen:t,activeFilters:a}=(0,tr.$A)(),{page:l}=(0,tn.M5)(),i=l?.mode?.isEditing,[r,s]=(0,tl.useState)(0),n=()=>(t(!0),window.addEventListener("keydown",e=>{"Escape"===e.key&&t(!1)}),()=>window.removeEventListener("keydown",close));return((0,tl.useEffect)(()=>
88{if(a?.length>0){let e=0;a.forEach(t=>{t.values&&(e+=t.values.length)}),s(e)}},[a]),e.fields)?(0,eW.jsxs)("button",{className:"search-filter-button",onClick:i?void 0:n,onDoubleClick:i?n:()=>{},children:[i?(0,eW.jsxs)("span",{className:"absolute right-18 top-5 text-sm font-normal leading-0 text-color-primary lg:hidden",children:["0\xa0",(0,eW.jsx)(tS.E,{field:e.fields.data.datasource.activeFiltersLabel.jsonValue})]}):(0,eW.jsx)("span",{className:"active-filters",children:`${r} ${e.fields.data.datasource.activeFiltersLabel?.value}`}),(0,eW.jsx)("span",{className:"text-span",children:(0,eW.jsx)(tS.E,{field:e?.fields?.data?.datasource?.resultsLabel?.jsonValue})}),(0,eW.jsx)("span",{className:"icon-span",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"filter"})})]}):(0,eW.jsx)(eW.Fragment,{})},tU=(0,tC.w)()(e=>{let{params:t,fields:a}=e,{activeFilters:l,setActiveFilters:i,filterValues:r,isFilterOpen:s,setIsFilterOpen:n,hasFilter:o,setFilterReady:d,isResultsLoading:c,setOffset:u,resultDetails:m,setResultDetails:h,showBanner:p,setShowBanner:g,cityFacetValues:x,setCityFacetValues:v}=(0,tr.$A)(),f=(0,tg.N)(t),[b,j]=(0,tl.useState)([]),[E,N]=(0,tl.useState)(l),[w,y]=(0,tl.useState)(""),_=a?.data?.datasource?.defaultLocation?.value,A=a?.data?.datasource?.children?.results,S=A?.find(e=>e.facetName?.jsonValue?.value==to.A.jobTypeParam),C=[],T=(0,tl.useRef)(!1),{page:I}=(0,tn.M5)(),L=I?.mode?.isEditing,{t:k}=(0,ti.s9)(),R=(0,tc.useRouter)(),$=e=>{i(e),N(e)},[D,O]=(0,tl.useState)([]),F=(0,tl.useRef)(void 0),[M,P]=(0,tl.useState)(!1),[V,B]=(0,tl.useState)(""),H=(0,tl.useRef)([]),[U,G]=(0,tl.useState)({fields:{data:{item:{title:{jsonValue:{}},children:{results:[]}}}},params:{}}),q=(0,tl.useRef)(0),z=(0,tl.useRef)(!1);(0,tl.useEffect)(()=>{0===q.current&&(q.current=Date.now())});let W=async()=>{let e=await (0,tp.H)({rfk_id:a.data.datasource.searchWidgetID?.value,sources:a.data.datasource.sourceID?.value,locale:I?.locale||"en-us",includeFacets:!0,includeContent:!1});if(e?.widgets?.length)return a?.data?.datasource?.children?.results?.map(t=>{let a=e.widgets[0].facet?.find(e=>e.name===t.facetName.jsonValue.value);return{title:{jsonValue:t.title.jsonValue},facetName:{jsonValue:t.facetName.jsonValue},expand:{jsonValue:t.expand?.jsonValue},placeholderText:{jsonValue:t.placeholderText?.jsonValue},subheading:{jsonValue:t.subheading?.jsonValue},hideOnInternship:{jsonValue:t.hideOnInternship?.jsonValue},popupTitle:{jsonValue:t.popupTitle?.jsonValue},popupFolderLocation:{jsonValue:t.popupFolderLocation?.jsonValue,targetItem:t.popupFolderLocation?.targetItem},value:a?.value}})},Y=(e,t)=>{let a=e.target.value,l=structuredClone(E),i=l.findIndex(e=>e.name===t);if(e.target.checked)i<0?l.push({name:t,values:[a]}):l[i].values?.push(a);else{let e=[...l[i]?.values].filter(e=>e!==a)??[];e.length<=0?l.splice(i,1):l[i].values=e}u(0),ea(l),et(e.target),p||g(!0)},J=async e=>{let t=await tV({country:e,rfk_id:a.data.datasource.searchWidgetID?.value,sources:a.data.datasource.sourceID?.value,locale:I?.locale||"en-us",cityFieldDefinitions:r.current.length>0?r.current:D});return v(t),t?[t]:[]},Q=async(e,t)=>{let a=e.target,l=a.value,i=structuredClone(E);if(a.options[a.selectedIndex].disabled)i=E?.filter(e=>e.name!==t&&e.name!==to.A.cityAndStateParam),v(void 0);else{let e=[t,to.A.cityAndStateParam],a=E?.filter(t=>!e.includes(t.name));a.push({name:t,values:[l]});let r=t===to.A.countryParam?await J(l):[];if(r){let e=1===r.length?r[0].value?.filter(e=>E.some(t=>t.name===to.A.cityAndStateParam&&t.values?.includes(e.text))):void 0;e?.length?a.push({name:to.A.cityAndStateParam,values:e.map(e=>e.text)}):1===r.length&&r[0].value?.length===1&&a.push({name:to.A.cityAndStateParam,values:[r[0].value[0].text]})}i=a}ea(i),et(e.target),p||g(!0)},K=()=>{n(!s)},X=async e=>{let t={fields:{data:{item:{title:{jsonValue:{}},children:{results:[]}}}},params:{}};B(e.popupTitle?.jsonValue?.value),e.popupFolderLocation?.targetItem?.children.results.forEach(e=>{"1"===e.active.value&&t.fields.data?.item.children.results.push({title:{jsonValue:{value:e.title.value}},content:{jsonValue:{value:e.content.value}}})}),G(t)},Z=(0,eW.jsx)("div",{className:"relative z-120","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:(0,eW.jsx)("div",{className:"fixed inset-0 bg-color-black bg-opacity-60 transition-opacity",children:(0,eW.jsx)("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:(0,eW.jsx)(tL.s,{isActive:M,children:(0,eW.jsx)("div",{className:"flex min-h-full items-end justify-center sm:items-center sm:p-0",children:(0,eW.jsxs)("div",{className:"m-8 w-full rounded-lg bg-color-white md:w-42p5",children:[(0,eW.jsxs)("div",{className:"flex justify-between border-b-1 border-color-primary-350/40 px-4 py-6 md:px-12",children:[(0,eW.jsx)(tN.w,{className:"text-h5 text-color-primary",id:"modal-title",children:V}),(0,eW.jsx)("button",{className:"icon-span fill-color-primary",onClick:()=>{P(!1)},"aria-label":k(th.A.ACC_MODAL_CLOSE),children:(0,eW.jsx)(tM.XIcon,{width:"16",height:"16"})})]}),(0,eW.jsx)("div",{className:"px-4 py-6 md:px-12",children:(0,eW.jsx)(tB.default,{params:U.params,fields:U.fields})})]})})})})})}),ee=(0,tl.useCallback)(()=>{let e=document.documentElement;s&&window.innerWidth<992?e.classList.add("disable-scroll"):e.classList.remove("disable-scroll")},[s]),et=e=>{setTimeout(()=>{e.focus()},0)},ea=e=>{let t=e.filter(e=>D?.find(t=>t.facetName.jsonValue.value===e.name));$(t),F.current&&clearTimeout(F.current),F.current=setTimeout(()=>{(0,tu.eU)(t),clearTimeout(F.current),F.current=void 0},2e3);let a=(0,td.Tz)({baseUrl:window.location.pathname,facets:t,existingQueryString:window.location.search,availableFilters:D?.map(e=>e.facetName.jsonValue.value)});R.push(a,void 0,{shallow:!0})};return(0,tl.useEffect)(()=>
88{if(!z.current)return z.current=!0,o.current=!0,(async()=>{let e=await W();r.current=e,O(e);let t=(0,td.TX)(window.location.search),a=t.find(e=>e.name===to.A.cityParam);if(a){let l=t.indexOf(a),i=[],r=e.find(e=>e.facetName.jsonValue.value===to.A.cityAndStateParam)?.value;a.values?.forEach(e=>{let t=r?.find(t=>t.text.includes(e));t&&i.push(t?.text)});let s={name:to.A.cityAndStateParam,values:i};t.fill(s,l,l+1);let n=(0,td.Tz)({baseUrl:window.location.pathname,facets:E,existingQueryString:window.location.search,availableFilters:D?.map(e=>e.facetName.jsonValue.value),removeQueries:[to.A.cityParam],newParams:[{name:to.A.cityAndStateParam,value:i.join("|")}]});R.replace(n,void 0,{shallow:!0})}let l=[...e?.map(e=>e.facetName.jsonValue.value),to.A.pageParam,to.A.sortByParam],i=E.filter(t=>e.some(e=>e.facetName?.jsonValue?.value===t.name)),s=S?.default?.jsonValue?.value?.toString()??"";if(t?.find(e=>l.includes(e.name))){let a=(i=t.filter(t=>e.find(e=>e.facetName.jsonValue.value===t.name))).find(e=>e.name===S?.facetName.jsonValue.value);s&&!a?i.push({name:S?.facetName.jsonValue.value?.toString()??"",values:[s]}):(a||s)&&(!a||a.values?.indexOf("Internship")===-1)||y("hidden")}else _&&(i.push({name:to.A.countryParam,values:[_]}),await J(_)),s&&i.push({name:S?.facetName.jsonValue.value?.toString()??"",values:[s]});i.some(e=>e.name!==S?.facetName.jsonValue.value)&&g(!0),i.length&&($(i),F.current&&clearTimeout(F.current),F.current=setTimeout(()=>{(0,tu.eU)(i),clearTimeout(F.current),F.current=void 0},2e3)),d(!0)})(),()=>{null==E&&$([])}},[R.isReady]),(0,tl.useEffect)(()=>(ee(),window.addEventListener("resize",ee),()=>{window.removeEventListener("resize",ee)}),[ee]),(0,tl.useEffect)(()=>{if(E.length<=0){j([]),v(void 0);return}if(!T.current){T.current=!0;let e=E.find(e=>e.name===to.A.countryParam);e?.values?.[0]&&J(e?.values?.[0])}E.filter(e=>e.name!==to.A.jobTypeParam).forEach(e=>{e?.values?.forEach(t=>{if(!b.some(a=>a?.key?.includes(e.name)&&a?.value?.includes(t))){let a=k("facet_"+e.name+"_"+t.toLowerCase())||t;b.push({key:e.name,value:t,text:a}),j(b)}})}),j(b.filter(e=>E.some(t=>t.name==e.key&&t?.values?.includes(e.value))))},[E]),(0,tl.useEffect)(()=>(window.addEventListener("keydown",e=>{"Escape"===e.key&&P(!1)}),()=>window.removeEventListener("keydown",close)),[M]),(0,eW.jsxs)("div",{className:`component search-filter relative ${s?"is-open":""} ${f}`,children:[(0,eW.jsxs)(tL.s,{isActive:s,children:[(b.length>0||I?.mode?.isEditing)&&(0,eW.jsxs)("div",{className:"chips",children:[(0,eW.jsx)(tN.w,{className:"chips__title",children:(0,eW.jsx)(tS.E,{field:e.fields?.data?.datasource?.selectedFiltersHeading?.jsonValue})}),(0,eW.jsx)("div",{className:"chips__container",children:(0,eW.jsxs)(eW.Fragment,{children:[!I?.mode?.isEditing&&b.map((e,t)=>(0,eW.jsx)("button",{className:"chip",onClick:t=>{var a,l;let i;return a=e.key,l=e.value,t.preventDefault(),void((i=E?.map(e=>e.name===a?{...e,values:e?.values?.filter(e=>e!==l||e===S?.default?.jsonValue?.value)}:e).filter(e=>(e?.values??[]).length>0)).every(e=>e.name!==to.A.countryParam)&&(i=i.filter(e=>e.name!==to.A.cityAndStateParam),v(void 0)),!i.find(e=>e.name===S?.facetName?.jsonValue?.value)&&S?.default?.jsonValue?.value&&i.push({name:S.facetName.jsonValue.value?.toString()??"",values:[S.default.jsonValue.value.toString()??""]}),ea(i))},"aria-label":`${e.text} ${k(th.A.JOB_SEARCH_REMOVE_FILTER_LABEL)}`,children:e.text},t)),(0,eW.jsx)("button",{className:"chip__clear",onClick:I?.mode?.isEditing?void 0:e=>{if(e.preventDefault(),h({total:m?.total,totalPages:m?.totalPages||1,currentPage:1}),u(0),S?.default?.jsonValue?.value){let e=S?.facetName?.jsonValue?.value?.toString()??"",t=S?.default?.jsonValue?.value.toString()??"",a=[];a.push({name:e,values:[t]}),v(void 0),j([]),ea(a),y("");return}v(void 0),ea([]),j([])},children:(0,eW.jsx)(tS.E,{field:e.fields?.data?.datasource?.resetFilterLabel?.jsonValue})})]})})]}),(0,eW.jsxs)("div",{className:"search-filter__heading",children:[(0,eW.jsx)(tN.w,{className:"search-filter__heading-text",children:(0,eW.jsx)(tS.E,{field:e.fields?.data?.datasource?.filterHeading?.jsonValue})}),(0,eW.jsx)("button",{onClick:K,children:"\xd7"})]}),(0,eW.jsx)("div",{className:"search-filter__sidebar-filters",children:L?A?.map(e=>{let t=e.facetName.jsonValue.value?.toString()??"";if(t!==to.A.cityAndStateParam&&"job_location"!==t)return(0,eW.jsxs)("section",{className:`form-section ${e.expand?.jsonValue?.value==="true"?"is-open":""}`,"aria-labelledby":"",children:[(0,eW.jsx)("button",{onClick:void 0,children:(0,eW.jsx)(tS.E,{tag:"p",field:e.title.jsonValue})}),t===to.A.countryParam?(0,eW.jsx)(tP.Dropdown,{activeFilters:[],onChange:void 0,filter:void 0,placeholderField:e.placeholderText?.jsonValue,children:x?.value&&x.value&&(0,eW.jsx)(tP.FieldSet,{labelledby:void 0,disabled:c,field:e})}):(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsxs)("div",{className:"flex",children:[(0,eW.jsx)("p",{className:"pr-2",children:"Expand: "}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.expand?.jsonValue})]}),(0,eW.jsxs)("div",{className:"flex",children:[(0,eW.jsx)("p",{className:"pr-2",children:"Hide on Internship: "}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.hideOnInternship?.jsonValue})]})]})]},t)}):D?.map((e,t)=>{let a=e.facetName.jsonValue.value?.toString()??"",l=e.hideOnInternship?.jsonValue?.value,i=e.title?.jsonValue?.value;if("true"===l&&C.push(a),a!==to.A.cityAndStateParam&&"job_location"!==a)return e.value&&(0,eW.jsxs)("section",{className:`form-section ${e.expand?.jsonValue?.value==="true"?"is-open":""} ${"true"===l&&w?w:""}`,id:`filter-panel-${a}`,children:[(0,eW.jsx)("button",{title:i,onClick:()=>(e=>{let t=H.current[e];if(!t)return;let a=t.closest("section");a&&(a.classList.contains("is-open")?(a.classList.remove("is-open"),t.setAttribute("aria-expanded","fal
88se")):(a.classList.add("is-open"),t.setAttribute("aria-expanded","true")))})(t),type:"button","aria-expanded":e.expand?.jsonValue?.value==="true","aria-controls":`filter-panel-${a}`,"aria-label":`${i}`,id:`filter-button-${a}`,ref:e=>{H.current[t]=e},children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(tN.w,{className:"pt-0.5",children:(0,eW.jsx)(tS.E,{field:e.title.jsonValue})})})}),a===to.A.countryParam?(0,eW.jsx)(tP.Dropdown,{activeFilters:E,onChange:e=>Q(e,a),filter:e,placeholderField:e.placeholderText?.jsonValue,id:`filter-panel-${a}`,children:x?.value&&[x].map(t=>t.value&&(0,eW.jsx)(tP.FieldSet,{labelledby:`filter-button-${a}`,disabled:!!c,field:e,children:(0,eW.jsx)(tP.Checkboxes,{activeFilters:E,filter:t,onChange:e=>Y(e,t.facetName.jsonValue.value?.toString()??"")})},t.facetName.jsonValue.value))}):(0,eW.jsxs)(tP.FieldSet,{disabled:!!c,field:e,labelledby:`filter-button-${a}`,id:`filter-panel-${a}`,children:[e.popupTitle?.jsonValue?.value!=""&&(0,eW.jsx)("button",{className:"search-filter__about-link",onClick:()=>{X(e),P(!0)},children:e.popupTitle?.jsonValue?.value}),a===to.A.jobTypeParam?(0,eW.jsx)(tP.RadioButtons,{activeFilters:E,filter:e,onChange:e=>{let t,l,i,r;return t=e.target.value,l=structuredClone(E),r=(i=(e,t)=>t.findIndex(t=>t.name===e))(a,l),void(e.target.checked&&(r<0?l.push({name:a,values:[t]}):l[r].values?.splice(0,1,t),"Internship"===t?(C.forEach(e=>{let t=i(e,l);t>0&&l.splice(t,1)}),y("hidden")):y("")),u(0),ea(l),et(e.target),!p&&g(!0))}}):(0,eW.jsx)(tP.Checkboxes,{activeFilters:E,filter:e,onChange:e=>Y(e,a)})]})]},a)})}),(0,eW.jsxs)("div",{className:`search-filter__apply-bar ${b.length>0||I?.mode?.isEditing?"is-open":""}`,children:[(0,eW.jsxs)("span",{className:"search-filter__apply-bar__text",children:[m?.total," ",(0,eW.jsx)(tS.E,{field:a.data.datasource.resultsLabel?.jsonValue})]}),(0,eW.jsxs)("button",{className:"button--box-white icon",onClick:L?void 0:K,onDoubleClick:L?K:()=>{},children:[(0,eW.jsx)("span",{className:"text-span",children:(0,eW.jsx)(tS.E,{field:a.data.datasource.showResultLabel?.jsonValue})}),(0,eW.jsx)("span",{className:"icon-span",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"wide-arrow-right"})})]})]})]}),M&&Z]})});var tG=a(2428);let tq=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a);return(0,eW.jsx)(tG.SmartRichText,{id:l||void 0,className:`component custom-html ${i}`,field:t?.html})}),tz=e=>{let{params:t,rendering:a}=e,l=t?.RenderingIdentifier??void 0,i=(0,tg.N)(t);return(0,eW.jsx)("div",{id:l,"data-testid":l,className:`component ${i} custom-container rte-container fluid-grid`,children:(0,eW.jsx)(eY.O,{name:"content-component-placeholder",rendering:a})})};var tW=a(5105),tY=a.n(tW);let tJ=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i="iframeAutoHeight",r=(0,tg.N)(a),{page:s}=(0,tn.M5)(),{t:n}=(0,ti.s9)(),o=!1;if(s?.mode?.isEditing){let e="https://asml.demdex.net https://*.youtube.com https://*.google.com https://*.asml.com https://*.qualtrics.com https://asmllaserbox.com https://*.doubleclick.net https://*.everesttech.net https://*.adobedc.net https://*.adobedtm.com https://*.quadia.net https://*.mouseflow.com https://*.eurolandir.com https://*.snapchat.com https://*.amazonaws.com https://*.companywebcast.com https://*.euronext.com https://*.intractive.app https://*.webflow.io https://*.beardbt.com https://*.hcaptcha.com https://hcaptcha.com".split(" ").map(e=>{let t=e.replace(/\./g,"\\.").replace(/\*/g,".*");return RegExp(`^${t}.+$`)}),a=t.url?.value;a&&e&&(o=e.some(e=>e.test(a)))}return(0,tl.useEffect)(()=>{(0,tg.D)(a?.eurolandAutoAdjustHeight)&&setTimeout(()=>{window.EurolandToolIntegrationObject&&window.EurolandToolIntegrationObject.
88set(i)},2e3)},[]),(0,eW.jsxs)("div",{className:`component ${r} iframe-container`,children:[(0,tg.D)(a?.eurolandAutoAdjustHeight)&&(0,eW.jsx)(tY(),{type:"text/javascript",src:"https://tools.euroland.com/tools/common/eurolandiframeautoheight/eurolandtoolsintegrationobject.js"}),s?.mode?.isEditing&&(0,eW.jsx)("span",{className:`iframe-whitelist-warning ${o?"hidden":"show"}`,children:n(th.A.IFRAME_WHITELIST_WARNING)}),(0,eW.jsx)("iframe",{className:`iframe-element ${s?.mode?.isEditing?"iframe-page-builder":""}`,id:i,"data-testid":l,title:`${t?.url?.value}`,src:`${t?.url?.value}`,height:t?.height?.value})]})};var tQ=a(276);let tK=e=>{let{rendering:t,params:a}=e,l=(0,tc.useRouter)(),[i,r]=(0,tl.useState)();return(0,tl.useEffect)(()=>{if(!l.isReady)return;let e=l.query.subscription;if(e){let t=`/api/newsAlert/news-alert-unsubscribe-api?subscription=${e}`;(async()=>{r((await fetch(t)).status)})()}else r(400)},[l,l.isReady]),(0,eW.jsx)(tQ.default,{apiResult:i,rendering:t,params:a})};var tX=a(4699),tZ=a(7782),t0=a(9334),t1=a(4913),t2=a(9948),t5=a(8495),t6=a(898),t3=a(876),t9=a(2499),t4=a(1807),t8=a(6439);let t7=e=>(0,eW.jsx)(at,{captchaVariant:"hcaptcha",...e}),ae=e=>(0,eW.jsx)(at,{captchaVariant:"default",...e}),at=e=>{let{fields:t,params:a,rendering:l,captchaVariant:i}=e,{page:r}=(0,tn.M5)(),s=(0,tl.useRef)(!1),n=(0,tl.useRef)(!1),o=a?.RenderingIdentifier??void 0,[d,c]=(0,tl.useState)(!0),u=(0,tl.useRef)(null),[m,h]=(0,tl.useState)(void 0),[p,g]=(0,tl.useState)([]),[x,v]=(0,tl.useState)(!1),[f,b]=(0,tl.useState)(!1),[j]=(0,t2.lT)(),{t:E}=(0,ti.s9)(),N=(0,tl.useRef)(null),w=(0,tc.useRouter)(),y=r?.locale||"en-us",[_,A]=(0,tl.useState)(!1),S={container:(0,tg.N)(a),pointerAuto:r?.mode?.isEditing?"pointer-events-auto":"",pointerNone:r?.mode?.isEditing?"pointer-events-none":""},C=(0,tX.Fz)(l.uid)??{fieldLengths:[],requiredFields:[]},T=C.fieldLengths,I=C.requiredFields,L=async e=>{let a,l;e.preventDefault();let r=document.getElementById("newsAlert-form-email");if(a=[],l=!0,(0,t9.validationFails)(r.value,"email",a,I,!0,!0,E)&&(l=!1),d||(l=!1,a.push({Fieldname:"form",ErrorMessage:E(th.A.FORM_SAVE_FAILED_MESSAGE)??""})),(0,t8.GetCaptchaToken)(u,i)||!1!==x||(l=!1,a.push({Fieldname:t4.Z,ErrorMessage:E(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE)??""})),a.length>0&&((0,tu.hO)(a.map(e=>e.ErrorMessage).join(",")),g(a)),!l)return void(0,t8.resetCaptcha)(i);b(!0);let s=[String(t?.stories?.value)],n=JSON.stringify({emailaddress:r.value.trim(),newsTypes:s,captchaToken:(0,t8.GetCaptchaToken)(u,i)??"",url:window?.location?.href??"",skipCaptcha:x,captchaType:i});try{let e=await fetch("/api/newsAlert/news-alert-form-api",{method:"POST",headers:{"Content-Type":"application/json"},body:n}),a=await e.json();if("201"===a.status&&window)k(),c(!0),(0,t3.h)(t.submit)&&w.push(t?.submit?.value?.href||"");else{let e;b(!1),(e=[]).push({Fieldname:"form",ErrorMessage:E(th.A.FORM_SAVE_FAILED_MESSAGE)??""}),g(e)}}catch(e){b(!1),c(!1)}},k=()=>{(0,tu.Pg)(t?.formName?.value,t?.formType?.value,"2",t?.formName?.value?.toString().toLowerCase(),"success","form success")},R=async()=>{let e=0;await new Promise(t=>{let a=setInterval(()=>{(window?.adv_event||e>19)&&(clearInterval(a),t(!0)),++e},200)}),s.current||(0,tu.Pg)(t?.formName?.value??"",t?.formType?.value??"","1",t?.formName?.value?.toString().toLowerCase(),"start","form start"),s.current=!0},$=()=>{n.current||((0,tu.Pg)(t?.formName?.value,t?.formType?.value,"1",t?.formName?.value?.toString().toLowerCase(),"first interaction"),n.current=!0)};return(0,tl.useEffect)(()=>{r?.mode?.isEditing||h((0,t1.$)(t5.$.functional))},[r,j]),(0,tl.useEffect)(()=>{r?.mode?.isEditing||R()},[]),(0,tl.useEffect)(()=>{let e=(0,td.TX)(window.location.search),t=e?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),a=t?.values?.[0]==="true";(0,t8.skipCaptcha)(a)&&v(!0),A(!0)},[w.isReady]),f?(0,eW.jsx)(ts.Loader,{}):(0,eW.jsx)("div",{className:`component news-alert-form asml-form ${S.container}`,id:o,"data-form-name":t.formName?.value,"data-form-type":t.formType?.value,children:(0,eW.jsxs)("div",{className:"news-alert-form--wrapper",ref:N,children:[(0,eW.jsx)("div",{className:r?.mode?.isEditing||!1!==m?"hidden":"onetrust-overlay-container",children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${S.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:t?.enableCookieTitle})}),(0,eW.jsx)(tS.E,{field:t?.enableCookieSubtitle,className:`onetrust-cookie-subtitle lg:mb-6 ${S.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:E(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:E(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:E(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsxs)("form",{onSubmit:L,children:[(0,eW.jsxs)("div",{className:"news-alert--email",children:[(0,eW.jsx)(tN.w,{className:"news-alert-emailAddress",children:(0,eW.jsx)(tS.E,{field:t?.emailTitle})}),(0,eW.jsx)(aa,{fieldType:"text",name:"email",label:t?.emailLabel,sendFirstInteraction:$,errorMessage:p.find(e=>"email"==e.Fieldname)?.ErrorMessage,placeholder:t?.emailPlaceholder,length:T.find(e=>"email"===e.name)?.length,blurHandler:()=>{$();let e=document.getElementById("newsAlert-form-email"),t=[],a=(0,t9.validationFails)(e.value,"email",t,I,!0,!0,E);g(t),a&&(0,tu.hO)(t.map(e=>e.ErrorMessage).join(","))}})]}),(0,eW.jsxs)("div",{className:"news-alert--submit",children:[_&&(0,eW.jsx)(t8.Captcha,{ref:u,className:"form-captcha",locale:y,captchaVariant:i,errorMessageState:p,skipCaptcha:x,cookieEnabled:m??!1}),(0,eW.jsx)("div",{className:"form-submit-button",children:r?.mode?.isEditing?(0,eW.jsx)(tZ.N,{editable:!0,field:t?.submit,className:"button--box-lightblue"}):(0,eW.jsx)("input",{type:"submit",value:t?.submit?.value?.text,className:"button--box-lightblue"})}),p.find(e=>"form"===e.Fieldname)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":p.find(e=>"form"===e.Fieldname)?.Fieldname,children:p.find(e=>"form"===e.Fieldname)?.ErrorMessage}),(0,eW.jsx)(tG.SmartRichText,{field:t?.privacyNotice,className:"form-note [&_a:hover]:underline"})]})]})]})})},aa=e=>{let{fieldType:t,name:a,label:l,placeholder:i,length:r,errorMessage:s,defaultChecked:n}=e,{page:o}=(0,tn.M5)();if(!e)return(0,eW.jsx)(eW.Fragment,{});
88let d="text"===t?"form-input":`form-input-${t}`;return(0,eW.jsxs)("div",{className:`${d}`,children:["text"===t&&(o?.mode?.isEditing?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(tS.E,{field:l,tag:"p",className:"mb-4 flex-grow text-color-gray"}),(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:i})})]}):(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(tS.E,{field:l,tag:"p",className:"mb-4 flex-grow text-color-gray"}),(0,eW.jsx)("input",{type:t,name:a,"aria-label":a,id:`newsAlert-form-${a}`,readOnly:o?.mode?.isEditing,placeholder:`${o?.mode?.isEditing||!i?.value?"":i?.value}`,maxLength:r,onBlur:e.blurHandler})]})),"checkbox"===t&&(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("input",{type:t,"aria-label":a,onClick:e.sendFirstInteraction,id:`newsAlert-form-${a}`,readOnly:o?.mode?.isEditing,defaultChecked:n}),(0,eW.jsx)(tS.E,{field:l,tag:"label",htmlFor:`newsAlert-form-${a}`})]}),!!s&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":a,children:s})]})},al=(0,tC.w)()(ae),ai=async(e,t,a)=>await (0,t0.u)(a?.locale),ar=e=>(0,eW.jsx)(an,{captchaVariant:"hcaptcha",...e}),as=e=>(0,eW.jsx)(an,{captchaVariant:"default",...e}),an=e=>{let{fields:t,params:a,rendering:l,captchaVariant:i}=e,{page:r}=(0,tn.M5)(),s=(0,tl.useRef)(!1),n=(0,tl.useRef)(!1),o=a?.RenderingIdentifier??void 0,[d,c]=(0,tl.useState)(!0),u=(0,tl.useRef)(null),[m,h]=(0,tl.useState)(void 0),[p,g]=(0,tl.useState)([]),[x,v]=(0,tl.useState)(!1),[f,b]=(0,tl.useState)(!1),[j]=(0,t2.lT)(),{t:E}=(0,ti.s9)(),N=(0,tl.useRef)(null),w=(0,tc.useRouter)(),y=r?.locale||"en-us",[_,A]=(0,tl.useState)(!1),S={container:(0,tg.N)(a),pointerAuto:r?.mode?.isEditing?"pointer-events-auto":"",pointerNone:r?.mode?.isEditing?"pointer-events-none":""},C=(0,tX.Fz)(l.uid)??{fieldLengths:[],requiredFields:[]},T=C.fieldLengths,I=C.requiredFields,L=async e=>{let a,l;e.preventDefault();let r=document.getElementById("newsAlert-form-email"),s=document.getElementById("newsAlert-form-pressReleaseAnnouncement"),n=document.getElementById("newsAlert-form-stories"),o=document.getElementById("newsAlert-form-shareBuyBackUpdates");if(a=[],l=!0,s.checked||n.checked||o.checked||(l=!1,a.push({Fieldname:"newsAlert",ErrorMessage:E(th.A.FORM_FIELD_REQUIRED)??""})),(0,t9.validationFails)(r.value,"email",a,I,!0,!0,E)&&(l=!1),d||(l=!1,a.push({Fieldname:"form",ErrorMessage:E(th.A.FORM_SAVE_FAILED_MESSAGE)??""})),(0,t8.GetCaptchaToken)(u,i)||!1!==x||(l=!1,a.push({Fieldname:t4.Z,ErrorMessage:E(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE)??""})),a.length>0&&((0,tu.hO)(a.map(e=>e.ErrorMessage).join(",")),g(a)),!l)return void(0,t8.resetCaptcha)(i);b(!0);let m=[];s.checked&&m.push(String(t?.pressReleaseAnnouncements?.value)),n.checked&&m.push(String(t?.stories?.value)),o.checked&&m.push(String(t?.financialResults?.value));let h=JSON.stringify({emailaddress:r.value.trim(),newsTypes:m,captchaToken:(0,t8.GetCaptchaToken)(u,i)??"",url:window?.location?.href??"",skipCaptcha:x,captchaType:i});try{let e=await fetch("/api/newsAlert/news-alert-form-api",{method:"POST",headers:{"Content-Type":"application/json"},body:h}),a=await e.json();if("201"===a.status&&window)k(),c(!0),(0,t3.h)(t.submit)&&w.push(t?.submit?.value?.href||"");else{let e;b(!1),(e=[]).push({Fieldname:"form",ErrorMessage:E(th.A.FORM_SAVE_FAILED_MESSAGE)??""}),g(e)}}catch(e){b(!1),c(!1)}},k=()=>{(0,tu.Pg)(t?.formName?.value,t?.formType?.value,"2",t?.formName?.value?.toString().toLowerCase(),"success","form success")},R=async()=>{let e=0;await new Promise(t=>{let a=setInterval(()=>{(window?.adv_event||e>19)&&(clearInterval(a),t(!0)),++e},200)}),s.current||(0,tu.Pg)(t?.formName?.value??"",t?.formType?.value??"","1",t?.formName?.value?.toString().toLowerCase(),"start","form start"),s.current=!0},$=()=>{n.current||((0,tu.Pg)(t?.formName?.value,t?.formType?.value,"1",t?.formName?.value?.toString().toLowerCase(),"first interaction"),n.current=!0)};return(0,tl.useEffect)(()=>{r?.mode?.isEditing||h((0,t1.$)(t5.$.functional))},[r,j]),(0,tl.useEffect)(()=>{r?.mode?.isEditing||R()},[]),(0,tl.useEffect)(()=>{let e=(0,td.TX)(window.location.search),t=e?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),a=t?.values?.[0]==="true";(0,t8.skipCaptcha)(a)&&v(!0),A(!0)},[w.isReady]),f?(0,eW.jsx)(ts.Loader,{}):(0,eW.jsx)("div",{className:`component news-alert-form asml-form ${S.container}`,id:o,"data-form-name":t.formName?.value,"data-form-type":t.formType?.value,children:(0,eW.jsxs)("div",{className:"news-alert-form--wrapper",ref:N,children:[(0,eW.jsx)("div",{className:r?.mode?.isEditing||!1!==m?"hidden":"onetrust-overlay-container",children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${S.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:t?.enableCookieTitle})}),(0,eW.jsx)(tS.E,{field:t?.enableCookieSubtitle,className:`onetrust-cookie-subtitle lg:mb-6 ${S.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:E(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:E(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:E(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsxs)("form",{onSubmit:L,children:[(0,eW.jsxs)("div",{className:"news-alert--news-types",children:[(0,eW.jsx)(tN.w,{className:"news-alert-checkboxes-title",children:(0,eW.jsx)(tS.E,{field:t?.newsAlertTitle})}),(0,eW.jsx)(ao,{fieldType:"checkbox",name:"pressReleaseAnnouncement",label:t?.pressReleaseAnnouncementLabel,placeholder:t?.pressReleaseAnnouncementLabel,sendFirstInteraction:$,defaultChecked:!!t?.enableByDefaultPressReleaseAnnouncement?.value}),(0,eW.jsx)(ao,{fieldType:"checkbox",name:"stories",label:t?.storiesLabel,placeholder:t?.storiesLabel,sendFirstInteraction:$,defaultChecked:!!t?.enableByDefaultStories?.value}),(0,eW.jsx)(ao,{fieldType:"checkbox",name:"shareBuyBackUpdates",label:t?.shareBuyBackUpdatesLabel,placeholder:t?.shareBuyBackUpdatesLabel,sendFirstInteraction:$,defaultChecked:!!t?.enableByDefaultBuyBackUpdates?.value}),p.find(e=>"newsAlert"===e.Fieldname)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":p.find(e=>"newsAlert"===e.Fieldname)?.Fieldname,children:p.find(e=>"newsAlert"===e.Fieldname)?.ErrorMessage})]}),(0,eW.jsx)("hr",{className:"horizontal-grid-line"}),(0,eW.jsxs)("div",{className:"news-alert--email",children:[(0,eW.jsx)(tN.w,{className:"news-alert-emailAddress",children:(0,eW.jsx)(tS.E,{field:t?.emailTitle})}),(0,eW.jsx)(ao,{fieldType:"text",name:"email",label:t?.emailLabel,sendFirstInteraction:$,errorMessage:p.find(e=>"email"==e.Fieldname)?.ErrorMessage,placeholder:t?.emailPlaceholder,length:T.find(e=>"email"===e.name)?.length,blurHandler:()=>{$();let e=document.getElementById("newsAlert-form-email"),t=[],a=(0,t9.validationFails)(e.value,"email",t,I,!0,!0,E);g(t),a&&(0,tu.hO)(t.map(e=>e.ErrorMessage).join(","))}})]}),(0,eW.jsxs)("div",{className:"news-alert--submit",children:[_&&(0,eW.jsx)(t8.Captcha,{ref:u,className:"form-captcha",locale:y,captchaVariant:i,errorMessageState:p,skipCaptcha:x,cookieEnabled:m??!1}),(0,eW.jsx)("div",{className:"form-submit-button",children:r?.mode?.isEditing?(0,eW.jsx)(tZ.N,{editable:!0,field:t?.submit,className:"button--box-lightblue"}):(0,eW.jsx)("input",{type:"submit",value:t?.submit?.value?.text,className:"button--box-lightblue"})}),p.find(e=>"form"===e.Fieldname)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":p.find(e=>"form"===e.Fieldname)?.Fieldname,children:p.find(e=>"form"===e.Fieldname)?.ErrorMessage}),(0,eW.jsx)(tG.SmartRichText,{field:t?.privacyNotice,className:"form-note [&_a:hover]:underline"})]})]})]})})},ao=e=>{let{fieldType:t,name:a,label:l,placeholder:i,length:r,errorMessage:s,defaultChecked:n}=e,{page:o}=(0,tn.M5)();if(!e)return(0,eW.jsx)(eW.Fragment,{});
88let d="text"===t?"form-input":`form-input-${t}`;return(0,eW.jsxs)("div",{className:`${d}`,children:["text"===t&&(o?.mode?.isEditing?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(tS.E,{field:l,tag:"p",className:"mb-4 flex-grow text-color-gray"}),(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:i})})]}):(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(tS.E,{field:l,tag:"p",className:"mb-4 flex-grow text-color-gray"}),(0,eW.jsx)("input",{type:t,name:a,"aria-label":a,id:`newsAlert-form-${a}`,readOnly:o?.mode?.isEditing,placeholder:`${o?.mode?.isEditing||!i?.value?"":i?.value}`,maxLength:r,onBlur:e.blurHandler})]})),"checkbox"===t&&(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("input",{type:t,"aria-label":a,onClick:e.sendFirstInteraction,id:`newsAlert-form-${a}`,readOnly:o?.mode?.isEditing,defaultChecked:n}),(0,eW.jsx)(tS.E,{field:l,tag:"label",htmlFor:`newsAlert-form-${a}`})]}),!!s&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":a,children:s})]})},ad=(0,tC.w)()(as),ac=async(e,t,a)=>await (0,t0.u)(a?.locale);var au=a(6557),am=a.n(au),ah=a(5364);function ap(e){return{title:e.title,releaseDate:e.releaseDate.date,hostedUrl:e.link.hostedUrl}}let ag={get:async function e(){let e=ah.env.FP_ACCESS_ID,t=ah.env.FP_API_BASE_URL||"";if(!e)return console.error("FP_ACCESS_ID environment variable is not set"),{data:[],error:"FP API configuration missing"};let a=`${t}/${e}/news?size=3&category=Press%20Release%7CAnnouncement`,l=fetch(a,{method:"GET",headers:{"Content-Type":"application/json"}}),i=new Promise((e,t)=>setTimeout(()=>t(Error("FP API request timed out after 10 seconds")),1e4));try{let e=await Promise.race([l,i]);if(!e.ok)return console.error(`FP API error: ${a} ${e.status} ${e.statusText}`),{data:[],error:`API returned status ${e.status}`};let t=await e.json();if(t.error)return console.error("FP API error:",t.error),{data:[],error:t.error.message||"Unknown API error"};return{data:(t.data||[]).map(ap),error:null}}catch(e){return console.error("Error fetching from FP API:",e),{data:[],error:e instanceof Error?e.message:"Unknown error occurred"}}}},ax="https://clientapi.gcs-web.com/data/mock-access-id",av="https://investors.example.com",af=[{id:3001,link:{url:`${ax}/news/3001`,hostedUrl:`${av}/node/3001`},title:"Placeholder press release for Strong Q2 2024 Financial Results",type:{title:"Earnings",id:1},teaser:"ASML announces second-quarter net sales of €6.2 billion, with net income of €1.6 billion, driven by continued demand for EUV lithography systems.",language:"en",releaseDate:{dateUTC:"2024-07-17T05:30:00",date:"2024-07-17T07:30:00",timezone:{name:"Europe/Amsterdam",code:"CEST"}},body:[{type:"html",link:{id:null,source:"api",title:null,url:`${ax}/news/3001/html`}}],additionalFormats:[{id:null,source:"document",title:"PDF Version",url:`${av}/documents/q2-2024-results.pdf`}],categories:[{title:"Financial Results",id:10},{title:"Featured News",id:11}],unpublishOn:null,thumbnail:`${av}/images/q2-2024-thumbnail.jpg`,createdOnUTC:"2024-07-16T14:00:00",lastUpdatedUTC:"2024-07-17T05:35:00"},{id:3002,link:{url:`${ax}/news/3002`,hostedUrl:`${av}/node/3002`},title:"Placeholder press release for Next-Generation High-NA EUV System",type:{title:"General",id:2},teaser:"ASML introduces the TWINSCAN EXE:5000, delivering improved resolution and throughput for advanced semiconductor manufacturing at the 2nm node and beyond.",language:"en",releaseDate:{dateUTC:"2024-06-12T08:00:00",date:"2024-06-12T10:00:00",timezone:{name:"Europe/Amsterdam",code:"CEST"}},body:[{type:"html",link:{id:null,source:"api",title:null,url:`${ax}/news/3002/html`}}],additionalFormats:[],categories:[{title:"Innovation",id:12}],unpublishOn:null,thumbnail:null,createdOnUTC:"2024-06-11T12:00:00",lastUpdatedUTC:"2024-06-12T08:05:00"},{id:3003,link:{url:`${ax}/news/3003`,hostedUrl:`${av}/node/3003`},title:"Placeholder press release for Annual General Meeting of Shareholders 2024",type:{title:"Corporate",id:3},teaser:"ASML Holding N.V. hereby gives notice that its Annual General Meeting of Shareholders will be held on Wednesday, 24 April 2024.",language:"en",releaseDate:{dateUTC:"2024-03-06T07:00:00",date:"2024-03-06T08:00:00",timezone:{name:"Europe/Amsterdam",code:"CET"}}
88,body:[{type:"html",link:{id:null,source:"api",title:null,url:`${ax}/news/3003/html`}},{type:"document",link:{id:null,source:"document",title:"AGM Agenda",url:`${av}/documents/agm-agenda-2024.pdf`}}],additionalFormats:[{id:null,source:"document",title:"PDF Version",url:`${av}/documents/agm-notice-2024.pdf`},{id:null,source:"document",title:"Proxy Statement",url:`${av}/documents/proxy-statement-2024.pdf`}],categories:[{title:"Shareholders",id:13},{title:"Corporate Governance",id:14}],unpublishOn:"2024-04-25T00:00:00",thumbnail:null,createdOnUTC:"2024-03-05T16:00:00",lastUpdatedUTC:"2024-03-06T07:10:00"},{id:3004,link:{url:`${ax}/news/3004`,hostedUrl:`${av}/node/3004`},title:"Placeholder press release for Investor Day 2024",type:{title:"Events",id:4},teaser:"ASML will host its Investor Day on 14 November 2024 in Veldhoven, Netherlands. Management will provide a strategic update and long-term financial targets.",language:"en",releaseDate:{dateUTC:"2024-09-03T07:00:00",date:"2024-09-03T09:00:00",timezone:{name:"Europe/Amsterdam",code:"CEST"}},body:[{type:"html",link:{id:null,source:"api",title:null,url:`${ax}/news/3004/html`}}],additionalFormats:[],categories:[{title:"Investor Relations",id:15},{title:"Featured News",id:11}],unpublishOn:null,thumbnail:`${av}/images/investor-day-thumbnail.jpg`,createdOnUTC:"2024-09-02T11:00:00",lastUpdatedUTC:"2024-09-03T07:05:00"},{id:3005,link:{url:`${ax}/news/3005`,hostedUrl:`${av}/node/3005`},title:"Placeholder press release 1 for Q1 2024 financial results",type:{title:"Earnings",id:1},teaser:"ASML reports first-quarter net sales of €5.3 billion with continued strong bookings, reflecting healthy demand across logic and memory customer segments.",language:"en",releaseDate:{dateUTC:"2024-04-17T05:30:00",date:"2024-04-17T07:30:00",timezone:{name:"Europe/Amsterdam",code:"CEST"}},body:[{type:"html",link:{id:null,source:"api",title:null,url:`${ax}/news/3005/html`}}],additionalFormats:[{id:null,source:"document",title:"PDF Version",url:`${av}/documents/q1-2024-results.pdf`}],categories:[{title:"Financial Results",id:10}],unpublishOn:null,thumbnail:null,createdOnUTC:"2024-04-16T14:00:00",lastUpdatedUTC:"2024-04-17T05:35:00"}];function ab(e){return{title:e.title,releaseDate:e.releaseDate.date,hostedUrl:e.link.hostedUrl}}let aj={get:async()=>Promise.resolve(function(){if(0===af.length)return{data:[],error:null};let e=[...af].sort((e,t)=>{let a=new Date(e.releaseDate.dateUTC).getTime();return new Date(t.releaseDate.dateUTC).getTime()-a});return{data:e.slice(0,Math.min(3,e.length)).map(ab),error:null}}())};var aE=a(5364);class aN{create(){return aE.env.FP_API_BASE_URL&&aE.env.FP_ACCESS_ID?ag:aj}}let aw=new aN;var ay=a(5510);let a_=e=>{let{fields:t,params:a,rendering:l}=e,i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a);if(!e||!t)return(0,eW.jsx)(eW.Fragment,{});let s=(0,tX.Fz)(l.uid)||{data:[],error:null},[n,o]=(0,tl.useState)(null),d=async()=>{try{let e=await fetch("/api/notified/latest-press-releases"),t=await e.json();t.articles&&!t.error?o(t.articles):console.error("Error fetching press releases:",t.error)}catch(e){console.error("Error fetching press releases:",e)}};(0,tl.useEffect)(()=>{d()},[]),(0,tl.useEffect)(()=>{let e=setInterval(()=>{d()},6e4);return()=>clearInterval(e)},[]);let c=n||s.data||[];return c&&0!==c.length?(0,eW.jsx)("div",{id:i||void 0,className:`component related-content related-content--latest-press-releases ${r}`,children:(0,eW.jsx)("div",{className:"related-content-contents",children:(0,eW.jsxs)("div",{className:"related-content-container",children:[(0,eW.jsx)("div",{className:"related-content-heading-container",children:(0,eW.jsx)(tN.w,{className:"related-content-heading",children:(0,eW.jsx)(tS.E,{field:t?.title})})}),(0,eW.jsx)("ul",{className:"contents list-none",children:(0,eW.jsx)(tx.w,{children:c.map((e,t)=>(0,eW.jsx)("li",{className:"related-content-card-container block",children:(0,eW.jsx)(ay.SmartAnchor,{externalIconTargetClassName:"related-content-card-title",href:e.hostedUrl,className:"related-content-card related-content-card--story",children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[(0,eW.jsxs)("span",{className:"related-content-card-subtitle",children:[am()(new Date(e.releaseDate)).format("MMMM D, YYYY"),"\xa0"]}),(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:e.title})]})})},t))})})]})})}):(0,eW.jsx)(eW.Fragment,{})},aA=async()=>{let e=aw.create();return{data:(await e.get()).data}},aS=(0,tC.w)()(a_);var aC=a(7885),aT=a(8230),aI=a.n(aT);let aL=e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),s=[],n=t?.data?.datasource?.latestPressReleasesPicker?.picker;if(e?.articles){let t=e.articles.reduce((e,t)=>
88e.concat(t),[]).sort((e,t)=>new Date(e.articleDate.data.value).getTime()-new Date(t.articleDate.data.value).getTime()).reverse(),a=new Map;t.forEach(e=>{a.has(e.articleDate.data.value)||(a.set(e.articleDate.data.value,!0),s.push(e))})}return t?(0,eW.jsx)("div",{id:i||void 0,className:`component related-content related-content--latest-press-releases ${r}`,children:(0,eW.jsx)("div",{className:"related-content-contents",children:(0,eW.jsxs)("div",{className:"related-content-container",children:[(0,eW.jsx)("div",{className:"related-content-heading-container",children:(0,eW.jsx)(tN.w,{className:"related-content-heading",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.latestPressReleasesTitle?.title})})}),(0,eW.jsx)(tx.w,{children:n&&n.length>0&&l?.mode?.isEditing?(0,eW.jsxs)("div",{className:"related-content-card-container",children:[(0,eW.jsx)("p",{className:"related-content-title",children:"Using Article Tags: "}),n.map((e,t)=>(0,eW.jsx)("p",{className:"related-content-title",children:e.displayName},t))]}):s.length>0?(0,eW.jsx)("ul",{className:"contents list-none",children:s.slice(0,3).map((e,t)=>{let a="https://www.asml.com"+e?.url?.path.toLowerCase();return(0,eW.jsx)("li",{className:"related-content-card-container block",children:(0,eW.jsx)(aI(),{className:"related-content-card related-content-card--story",href:a,children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[!!e?.articleDate?.data.value&&(0,eW.jsxs)("span",{className:"related-content-card-subtitle",children:[am()(new Date(e.articleDate.data.value)).format("MMMM D, YYYY"),"\xa0"]}),(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tS.E,{editable:!1,field:l?.mode?.isEditing||e?.title?.data?.value?e?.title?.data:e?.navigationTitle?.data})})]})})},t)})}):t?.data?.datasource?.children?.results&&t.data.datasource.children.results?.length>0?(0,eW.jsx)("ul",{className:"contents list-none",children:t.data.datasource.children.results.map((e,t)=>(0,eW.jsx)("li",{className:"related-content-card-container",children:l?.mode?.isEditing?(0,eW.jsx)("div",{className:"related-content-card related-content-card--story",children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[(0,eW.jsx)(tS.E,{className:"related-content-card-subtitle",tag:"p",field:e?.subtitle?.jsonValue}),(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tZ.N,{field:e?.link?.jsonValue})})]})}):(0,eW.jsx)(tZ.N,{className:"related-content-card related-content-card--story",field:e?.link?.jsonValue,onClick:(0,t3.h)(e?.link?.jsonValue)?void 0:e=>{e.preventDefault()},children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[!!e?.subtitle?.jsonValue?.value&&(0,eW.jsx)("p",{className:"related-content-card-subtitle",children:e.subt
88itle.jsonValue.value}),(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tS.E,{editable:!1,field:{value:e.link?.jsonValue?.value?.text?e.link.jsonValue?.value.text:(0,td.z0)(e.link.jsonValue.value.href)}})})]})})},t))}):null})]})})}):(0,eW.jsx)(eW.Fragment,{})},ak=async e=>{let t=e?.fields,a=t?.data?.datasource?.latestPressReleasesPicker?.picker;try{return{articles:await Promise.all(a.map(async e=>e?.id?(0,aC.getArticlePagesByTags)(e.id):null))}}catch(e){return console.error(e),{articles:[]}}};var aR=a(7654),a$=a(4e3),aD=a(3151),aO=a(3706),aF=a(6422),aM=a(5145);let aP=(0,tC.w)()(e=>{let{params:t}=e,a=e?.fields?.data?.datasource?.children?.results,l=e?.fields?.data?.datasource?.highlightedLink?.jsonValue,i=(0,aO.a)(aF.p.lg),[r,s]=(0,tl.useState)(!1),[n,o]=(0,tl.useState)(!1),{page:d}=(0,tn.M5)(),c=(0,tl.useRef)(null),u=(0,tl.useRef)(null),m=(0,tl.useRef)(null),{t:h}=(0,ti.s9)(),p=null!=(0,aR.Q)(l?.value?.href),[g,x]=(0,tl.useState)(!0),[v,f]=(0,tl.useState)(!0),b=(0,tl.useRef)(null),j=(0,tl.useRef)(null),E=(0,tl.useRef)(""),N=(0,a$.usePathname)(),w=(e=!1)=>{let t=document.getElementsByClassName("hero-banner");if(t&&t[0]){let a=t[0].clientHeight/2;window.scrollTo({top:a,left:0,behavior:e?"instant":"smooth"})}},y=e=>{if(d?.mode?.isEditing)return;let t=e.target;t&&t.pathname===window.location.pathname&&w()},_=e=>{d?.mode?.isEditing||e?.target?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})};{let e=window.location.hash;""===E.current&&""!==e&&(E.current=e)}(0,tl.useEffect)(()=>{if(o(d?.mode?.isEditing||(0,t3.h)(l)),d?.mode?.isEditing)return;let e=document.getElementsByClassName("main-header")[0];e&&e?.style?.setProperty("transform","unset")},[]),(0,tl.useEffect)(()=>{if(!d?.mode?.isEditing){if(a.length>0||d?.mode?.isEditing){let e={root:null,rootMargin:"0px",threshold:1},t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?x(!0):x(!1)})},e);b.current&&t.observe(b.current);let a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?f(!0):f(!1)})},e);return j.current&&a.observe(j.current),()=>{t.disconnect(),a.disconnect()}}return()=>{}}},[a]),(0,tl.useEffect)(()=>{if(d?.mode?.isEditing)return;let e=m.current;if(e)if("#sub-nav"==E.current){e.scrollIntoView({behavior:"instant",block:"nearest",inline:"start"}),w(!0),e.focus(),e.blur();return}else{e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"});let t=document.getElementsByClassName("main-header")[0];t.focus(),t.blur(),window.scrollTo({top:0,behavior:"instant"})}},[m.current]);let A=e=>{let t;if(d?.mode?.isEditing||!u.current)return;let a=document.querySelectorAll("[data-menu-index]");if("left"==e){let e=Number.MIN_SAFE_INTEGER;a.forEach(a=>{let l=a.getBoundingClientRect().x-72;l<0&&l>e&&(e=l,t=a)})}else if("right"==e){let e=Number.MAX_SAFE_INTEGER;a.forEach(a=>{let l=a.getBoundingClientRect().left;if(l>0&&l<e){e=l,t=a;let i=a.getAttribute("data-menu-index");i&&(t=document.querySelector("[data-menu-index='"+(+i+1)+"']"))}})}if(t){let e=t.getAttribute("data-menu-index");e&&0==+e?u.current.scrollTo({left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}},S=(0,tl.useCallback)(e=>{s(!e[0].isIntersecting)},[]);(0,tl.useEffect)(()=>{if(d?.mode?.isEditing)return;let t=document.getElementsByClassName("hero-banner"),a={threshold:0,rootMargin:"-142px 0px 0px 0px"};(e.heroBannerVariant==aD.HI.scaled||e.heroBannerVariant==aD.HI.sideImageLarge||e.heroBannerVariant==aD.HI.sideImage||e.heroBannerVariant==aD.HI.small)&&(a={threshold:0,rootMargin:"-50px 0px 0px 0px"});let l=new IntersectionObserver(S,a);return t&&t[0]&&l.observe(t[0]),()=>{l.disconnect()}},[S]);let C=()=>l?.value.href===""?(0,eW.jsx)(eW.Fragment,{}):n?(0,eW.jsx)("div",{className:"absolute bottom-0 left-0 hidden w-full pr-3 sm:relative sm:block sm:w-unset sm:px-0 lg:ml-auto lg:pl-4 lg:pr-2",children:(0,eW.jsx)("div",{className:"w-full rounded-b-2xl bg-color-black bg-opacity-75 p-3 sm:mr-3 sm:w-fit sm:rounded-none sm:border-r-1 sm:border-r-color-gray-700 sm:bg-color-transparent sm:py-0 sm:pl-0 sm:pr-5 lg:mr-0 lg:border-none lg:pb-0 lg:pr-0 lg:pt-0",children:(0,eW.jsxs)("a",{id:"cta-wrapper",className:"sub-nav-focus-ring flex items-center justify-center py-2 text-base sm:ml-0 sm:text-lg md:focus-visible:ml-0 lg:focus-visible:mr-2 lg:focus-visible:px-6",onClick:()=>{d?.mode?.isEditing||(e=>{if(d?.mode?.isEditing)return;let t=e?.value?.text??"",a=(0,aR.Q)(e?.value?.href)??"";if(a){let e=(0,aR.T)(a);(0,tu.rp)(t,e)}})(l)},href:l?.value.href,title:l?.value.title,target:l?.value.target,children:[p&&(0,eW.jsx)("div",{className:"mr-2 max-h-5 min-h-5 min-w-5 max-w-5 sm:max-h-7 sm:min-h-7 sm:min-w-7 sm:max-w-7 lg:mr-0",children:(0,eW.jsx)(tD.SVGIcon,{className:"block max-h-5 max-w-5 rounded-full border-2 border-color-white fill-color-white sm:max-h-7 sm:max-w-7 lg:mr-0",icon:"arrow-down"})}),(0,eW.jsx)("p",{className:"button--yellowline-white block w-fit whitespace-nowrap pb-0 text-base sm:text-lg lg:ml-3",children:l?.value.text})]})})}):(0,eW.jsx)(eW.Fragment,{});return a?.length===0?(0,eW.jsx)("span",{children:"Use the design tab to add items to the sub navigation"}):e?.fields?.data?.datasource?(0,eW.jsx)("nav",{className:`z-100 col-span-12 mb-0 w-full ${e.heroBannerVariant==aD.HI.scaled||e.heroBannerVariant==aD.HI.sideImageLarge||e.heroBannerVariant==aD.HI.sideImage||e.heroBannerVariant==aD.HI.small?"mt-1":r?"-mt-22":"-mt-23 sm:-mt-22"} ${e.heroBannerVariant==aD.HI.scaled||e.heroBannerVariant==aD.HI.sideImageLarge||e.heroBannerVariant==aD.HI.sideImage||e.heroBannerVariant==aD.HI.small?r?"fixed w-full top-12":"relative":r?"fixed w-full top-34 sm:top-35":"relative"}`,ref:c,id:"sub-nav-container","aria-label":h(th.A.ACC_NAV_ANNUALREPORT_MENU),children:(0,eW.jsxs)("div",{className:"items-center self-center p-3 sm:pt-2",children:[(0,eW.jsx)("div",{className:"sub-nav-rounded sub-nav-shadow mb-0 block w-full flex-col items-center justify-between overflow-hidden scroll-smooth rounded-2xl rounded-b-2xl bg-color-black bg-opacity-60 backdrop-blur-md sm:py-3",children:(0,eW.jsxs)("div",{ref:u,className:"sub-nav-inset-shadow scrollbar-hide flex items-center gap-1 overflow-auto whitespace-nowrap py-3 pl-2 pr-1 sm:p-0 sm:pl-6 sm:pr-4 sm:shadow-none lg:w-full lg:pl-2 lg:pr-1",children:[(0,eW.jsx)("div",{ref:b}),i&&(0,eW.jsx)(C,{}),a?.length>0&&a.filter(e=>e?.link.jsonValue).map((e,a)=>{var l;return(0,eW.jsx)("div",{className:"whitespace-nowrap",children:(0,eW.jsxs)("div",{className:"relative",children:[(0,eW.jsx)(aM.SmartLink,{field:(l=e?.link.jsonValue,"1"===t.scrollDown&&(l.value.anchor="sub-nav"),l),ref:(e?.link?.jsonValue?.value?.href).toLowerCase().endsWith(N.toLowerCase())?m:null,onClick:y,onFocus:_,prefetch:!1,"data-menu-index":a,className:`sub-nav-focus-ring block rounded-3xl px-4 py-2 text-lg font-medium transition-colors duration-200 ${n||a>0?"scroll-ml-16":""} ${(e=>{if(!e)return"";let t="/"===N?"/home":N;return e.toLowerCase().endsWith(t.toLowerCase())?"bg-color-yellow text-color-black rounded-3xl active-link":"text-color-white hover:text-color-yellow"})(e?.link?.jsonValue?.value?.href)}`})," "]})},a)}),!i&&(0,eW.jsx)(C,{}),(0,eW.jsx)("div",{ref:j})]})}),(0,eW.jsxs)("div",{className:"z-10 block",children:[(0,eW.jsx)("button",{className:`left-paddle absolute bottom-0 left-3 top-3 m-2 h-12 w-12 rounded-50 bg-color-white ${!g?"sub-nav-visible-animation":"sub-nav-invisible-animation"} sm:left-1 md:left-3`,onClick:()=>{d?.mode?.isEditing||A("left")},children:(0,eW.jsx)(tD.SVGIcon,{className:"fill-color-primary p-3",icon:"arrow-left"})}),(0,eW.jsx)("button",{className:`right-paddle absolute bottom-0 right-3 top-3 m-2 h-12 w-12 rounded-50 bg-color-white transition-opacity ${!v?"sub-nav-visible-animation":"sub-nav-invisible-animation"} sm:right-1 md:right-3`,onClick:()=>{d?.mode?.isEditing||A("right")},children:(0,eW.jsx)(tD.SVGIcon,{className:"fill-color-primary p-3",icon:"arrow-right"})})]})]})}):(0,eW.jsx)("span",{children:"Datasource is missing"})}),aV=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,t3.h)(t?.link),s=(0,tc.useRouter)(),n=s.asPath.split("?")?.[0]=="/",o=(0,tg.D)(a?.showBrandLogo),d=(0,tg.N)(a);return t?(0,eW.jsxs)("nav",{className:`component sticky-header ${d}`,id:i,children:[o&&(0,eW.jsx)("div",{className:"sticky-header-logo-container",children:(0,eW.jsx)(aI(),{className:l?.mode?.isEditing?"disable-link":"",href:"https://www.asml.com","data-testid":"sticky-header-link","aria-current":n?"page":void 0,children:(0,eW.jsx)("span",{className:"sticky-header-logo",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{alt:"ASML Logo",icon:"logo",spriteName:"asml-logo",isDecorative:!1})})})}),(l?.mode?.isEditing||t?.description.value||t?.link.value)&&(0,eW.jsxs)("div",{className:"sticky-header-contents",children:[(l?.mode?.isEditing||t?.description?.value)&&(0,eW.jsx)("div",{className:"sticky-header-text",children:(0,eW.jsx)(tS.E,{field:t.description})}),l?.mode?.isEditing?(0,eW.jsx)("div",{className:"sticky-header-btn",children:(0,eW.jsxs)("div",{className:"btn button--box-white icon",children:[(0,eW.jsx)(aM.SmartLink,{field:t?.link,className:"text-span"}),!(0,aM.isExternalLinkField)(t?.link)&&(0,eW.jsx)("span",{className:"icon-span chevron-right",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"chevron-right"})})]})}):r&&(0,eW.jsx)("div",{className:"sticky-header-btn",children:(0,eW.jsx)(aM.SmartLink,{field:{...t?.link,value:{...t?.link?.value,text:(0,eW.jsx)("span",{className:"text-span",children:t?.link?.value?.text}),href:t?.link?.value.href}},lang:"en",showLinkTextWithChildrenPresent:!0,className:"btn button--box-white icon",target:t?.link?.value.target,children:!(0,aM.isExternalLinkField)(t?.link)&&(0,eW.jsx)("span",{className:"icon-span chevron-right",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"chevron-right"})})})})]})]}):(0,eW.jsx)(eW.Fragment,{})});var aB=a(9149),aH=a.n(aB);
88let aU=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),r=(0,aR.Q)(t?.link?.value?.href)??"",[s,n]=(0,tl.useState)(-1),[o,d]=(0,tl.useState)(!1),[c,u]=(0,tl.useState)(!1),[m,h]=(0,tl.useState)(!1),p=(0,tl.useRef)(!1),{page:g}=(0,tn.M5)(),x=(e=null)=>{null==e&&(e=document.getElementById("hero-banner"));let t=window.innerHeight-(e?.clientHeight??0)+window.scrollY>72;u(t),t&&d(!0),n(p.current&&t?0:-1)},v=(0,tl.useCallback)(aH()(()=>{x()},20),[]);(0,tl.useEffect)(()=>{if(g?.mode?.isEditing)return;let e=document.getElementById("hero-banner");return!e||e&&0===e.clientHeight?(u(!0),n(p.current?0:-1),d(!0)):(x(e),window.addEventListener("scroll",v)),()=>{window.removeEventListener("scroll",v)}},[]),(0,tl.useEffect)(()=>{let e=new IntersectionObserver(t=>f(t,e)),t=document.getElementById("footer");return t&&e.observe(t),()=>{e.disconnect()}},[]);let f=e=>{h(!e[0].isIntersecting),p.current=!e[0].isIntersecting,n(e[0].isIntersecting||!c?-1:0)};return(0,eW.jsx)(eW.Fragment,{children:(g?.mode?.isEditing||(0,t3.h)(t?.link))&&(0,eW.jsx)("div",{id:l,tabIndex:s,className:`component primary-btn ${g?.mode?.isEditing?"!absolute right-0":""} !z-120 ${i}`,role:r&&r.length>0?"button":"link",children:(0,eW.jsx)(aM.SmartLink,{onClick:()=>{if(!g?.mode?.isEditing&&t?.link?.value?.href&&r&&r.length>0){let e=t?.link?.value?.text??"";(0,tu.rp)(e,r)}},field:t?.link,className:`sticky-button btn button--box mb-3 mr-3 h-12 rounded-3xl bg-color-yellow text-center text-base font-semibold text-color-black ${g?.mode?.isEditing?"float-right":"fixed bottom-0 right-0 hidden"} ${g?.mode?.isEditing?"":c&&m?"!block animate-fade-in sm:!hidden":o?"!block animate-fade-out sm:!hidden":""}`,style:{animationFillMode:"forwards"},target:t?.link?.value?.target})})})},aG=(0,tC.w)()(aU);var aq=a(7890);let az=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{styles:l,id:i}={styles:(0,tg.N)(a),id:a?.RenderingIdentifier},{page:r}=(0,tn.M5)(),s=r?.mode?.isEditing;return(0,eW.jsxs)("div",{className:`component social-link-list ${l}`,id:i||void 0,children:[(0,eW.jsx)(tN.w,{className:"social-link-list-title",children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsxs)("ul",{className:"social-links-container",children:[(0,tg.D)(a?.facebook)&&(s||(0,t3.F)(t.facebook))&&(0,eW.jsx)(aq.SocialLink,{name:"facebook",link:t.facebook}),(0,tg.D)(a?.linkedin)&&(s||(0,t3.F)(t.linkedin))&&(0,eW.jsx)(aq.SocialLink,{name:"linkedin",link:t.linkedin}),(0,tg.D)(a?.twitter)&&(s||(0,t3.F)(t.twitter))&&(0,eW.jsx)(aq.SocialLink,{name:"twitter",link:t.twitter}),(0,tg.D)(a?.youtube)&&(s||(0,t3.F)(t.youtube))&&(0,eW.jsx)(aq.SocialLink,{name:"youtube",link:t.youtube}),(0,tg.D)(a?.instagram)&&(s||(0,t3.F)(t.instagram))&&(0,eW.jsx)(aq.SocialLink,{name:"instagram",link:t.instagram}),(0,tg.D)(a?.wechat)&&(s||(0,t3.F)(t.wechat))&&(0,eW.jsx)(aq.SocialLink,{name:"wechat",link:t.wechat}),(0,tg.D)(a?.whatsapp)&&(s||(0,t3.F)(t.whatsapp))&&(0,eW.jsx)(aq.SocialLink,{name:"whatsapp",link:t.whatsapp}),(0,tg.D)(a?.glassdoor)&&(s||(0,t3.F)(t.glassdoor))&&(0,eW.jsx)(aq.SocialLink,{name:"glassdoor",link:t.glassdoor}),(0,tg.D)(a?.email)&&(s||(0,t3.F)(t.email))&&(0,eW.jsx)(aq.SocialLink,{name:"email",link:t.email}),(0,tg.D)(a?.note)&&(s||(0,t3.F)(t.note))&&(0,eW.jsx)(aq.SocialLink,{name:"note",link:t.note})]})]})});var aW=a(297),aY=a(443),aJ=a(8555);let aQ=e=>{let{params:t,rendering:a}=e,l=t?.RenderingIdentifier??void 0,i=(0,tg.N)(t),[r,s]=(0,tl.useState)([]),n=(0,tc.useRouter)();(0,tl.useEffect)(()=>{s(o()??[])},[n.isReady]);let o=()=>{let e=[];
88if(a?.placeholders){let t=a?.placeholders?.["section-navigation"].filter(e=>e?.componentName=="Section"),l=t?.length??0;for(let a=0;a<l;a++){let l=t[a];if(l){let t=l.fields,a=t?.navigationTitle,i=t?.tooltip;if(!a?.value)return;let r=t.anchor?.value?t.anchor.value:(0,aJ.f)(a.value);e.push({anchor:r.toString(),tooltip:i,title:a,uid:"",bottom:0,top:0})}}}let t={};return e?.forEach(e=>{void 0===t[e.anchor]?t[e.anchor]=1:(e.anchor=`${e.anchor}-${t[e.anchor]}`,t[e.anchor]++)}),e};return(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{id:"section-navigation",className:"scroll-mt-111 sm:scroll-mt-96"}),(0,eW.jsxs)("div",{id:l,"data-testid":l,className:`component ${i} fluid-grid`,children:[(0,eW.jsx)(aY.SectionNavigationMenu,{menuItems:r},"section_navigation_menu"),(0,eW.jsx)(aW.SectionNavigationMobileMenu,{menuItems:r},"section_navigation_mobile_menu"),(0,eW.jsx)(eY.O,{name:"section-navigation",rendering:a})]})]})},aK=e=>{let{rendering:t,params:a}=e,l=e.fields?.navigationTitle?.value?e.fields.navigationTitle?.value?.toString():"",i=(0,tg.N)(a),r=(e?.fields?.anchor?.value??"").length>0?e.fields.anchor.value:(0,aJ.f)(l);return(0,eW.jsx)("section",{id:r+"-section",className:`component ${i} fluid-grid section-nav-content scroll-mt-50 sm:first-of-type:pt-16`,"data-uid":t.uid,children:(0,eW.jsx)(eY.O,{rendering:t,name:"section"})})},aX=(0,tC.w)()(aK),aZ=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=e=>e.replaceAll(" ","-").toLowerCase();return l?.mode?.isEditing?(0,eW.jsx)("li",{className:"quick-link-container",children:(0,eW.jsxs)("div",{className:"quick-link",children:[a?.icon&&(0,eW.jsx)("span",{className:"quick-link-icon",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:`${i(a.icon)}`})}),(0,eW.jsx)(aM.SmartLink,{field:t.link,className:"quick-link-text"})]})}):(0,t3.h)(t.link)?(0,eW.jsx)("li",{className:"quick-link-container",children:(0,eW.jsxs)(aM.SmartLink,{field:t.link,prefetch:!1,className:`quick-link ${a.icon?"has-icon":""}`,externalIconTargetClassName:"quick-link-text",children:[!!a.icon&&(0,eW.jsx)("span",{className:"quick-link-icon",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:`${i(a.icon)}`})}),(0,eW.jsx)("p",{className:"quick-link-text",children:t.link?.value?.text})]})}):(0,eW.jsx)(eW.Fragment,{})}),a0=(0,tC.w)()(e=>{let{fields:t,rendering:a,heroBannerVariant:l,bgDark:i}=e,{page:r}=(0,tn.M5)(),s=r?.mode?.isEditing?"is-sitecore-editing":"",{t:n}=(0,ti.s9)();return(0,eW.jsx)("div",{className:`quick-link-list ${"large"===l?"quick-link-list--large":""} ${s} ${i?"bg-dark":"bg-light"}`,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered",children:(0,eW.jsxs)("nav",{"aria-label":n(th.A.ACC_NAV_QUICKLINKS),children:[(0,eW.jsx)(tN.w,{className:"quick-link-list-title",children:(0,eW.jsx)(tS.E,{field:t.title})}),(0,eW.jsx)("ul",{className:"quick-links-container",children:(0,eW.jsx)(eY.O,{name:"quick-links",rendering:a})})]})})})})});var a1=a(7615),a2=a(4513),a5=a(8765);let a6=(0,tC.w)()(e=>{let{rendering:t,fields:a,backdropOnclick:l,isOpen:i,hamburgerRef:r}=e,{MenuItems:s,SecondaryMenuItems:n}=a?.data?.datasource||{},{page:o}=(0,tn.M5)(),[d,c]=(0,tl.useState)(""),{t:u}=(0,ti.s9)(),m=(e,t)=>{t.children&&t.children.results.length>0&&c(t.navigationPath)},h=e=>""===e?[]:e.split("-").map(e=>Number(e)),p=e=>{c(d.substring(0,d.lastIndexOf("-"))),e.preventDefault()},g={menuWidth:(()=>{switch(h(d).length){case 0:return"xl:w-35p4 xxl:w-27p3";case 1:return"xl:w-57p5 xxl:w-42p5";case 2:return"xl:w-90p xxl:w-57p6";default:return"xl:w-35p4 "}})(),menuTranslateX:(()=>{let e=h(d).length,t="translate-x-0 xl:transition-none";switch(e){case 0:default:return t;case 1:return t+" max-xl:-translate-x-full";case 2:return t+" max-xl:-translate-x-200p"}})(),animate:"transition-all duration-400 ease-in-out-1",open:i?"is-open":""};if(!t?.dataSource)return(0,eW.jsx)(eW.Fragment,{});let x=t?.dataSource??"";return(0,eW.jsxs)(tL.s,{isActive:i&&0==h(d).length,disableTabIndex:!0,elementsAddStart:r&&r.current?[r.current]:void 0,children:[(0,eW.jsx)("div",{className:`backdrop ${g.open}`,onClick:l,onKeyDown:()=>l,role:"button","aria-hidden":!0}),(0,eW.jsxs)("div",{className:`main-menu bg-gradient-purple-blue fixed left-0 top-0 h-screen w-screen overflow-y-auto overflow-x-hidden ${g.animate} ${g.menuWidth} ${i?"translate-x-0":"-translate-x-full"}`,children:[(0,eW.jsx)(tI.VisualGrid,{className:"!-z-1"}),(0,eW.jsx)("div",{className:"fluid-grid box h-screen w-screen",children:(0,eW.jsx)("div",{className:"relative col-span-12 h-full py-25",children:(0,eW.jsxs)("nav",{className:`scrollbar-hide absolute left-0 w-full ${g.animate} `,"aria-label":u(th.A.ACC_NAV_PRIMARY_NAVIGATION),children:[s?.results?.length==0&&o?.mode?.isEditing&&(0,eW.jsx)("div",{children:"Add menu items using the Content Editor"}),(0,eW.jsx)("ul",{"data-level":"0",className:`mb-4.5 mt-13 ${g.menuTranslateX} ${g.animate} `,children:s?.results?.length>0&&s?.results?.map((e,t)=>(0,tl.createElement)(a2.NavigationItem,{...e,navigationLevel:1,navigationPath:t.toString(),activeNavigationPath:d,onClick:m,onBackClick:p,isOpen:i,hamburgerRef:r,key:t}))}),(0,eW.jsx)("nav",{className:`${g.animate} ${h(d).length>0?"max-xl:-translate-x-full":""}`,"aria-label":u(th.A.ACC_NAV_SECONDARY_NAVIGATION),children:(0,eW.jsx)("ul",{children:n?.results?.length>0&&n?.results?.map((e,t)=>(0,tl.createElement)(a1.SecondaryNavigationItem,{...e,key:t,navigationLevel:9}))})})]})})}),(0,eW.jsx)("div",{id:x})]})]})});var a3=a(5188),a9=a(8529),a4=a(7199);let a8=e=>(0,eW.jsx)(a7,{...e,withMenuPlaceholder:!0}),a7=e=>{let{fields:t,rendering:a,withMenuPlaceholder:l}=e,{page:i}=(0,tn.M5)(),r=(i?.locale||"en").toLowerCase(),[s]=(0,t2.lT)(["favorites-"+r]),n=(0,tc.useRouter)(),{t:o}=(0,ti.s9)(),[d,c]=(0,tl.useState)(0),[u,m]=(0,tl.useState)(!1),[h,p]=(0,tl.useState)(!0),[g,x]=(0,tl.useState)([]),[v,f]=(0,tl.useState)(!1),[b,j]=(0,tl.useState)(!1),[E,N]=(0,tl.useState)(!1),[w,y]=(0,tl.useState)(!1),[_,A]=(0,tl.useState)(!1),[S,C]=(0,tl.useState)(0),T=(0,tl.useRef)(null),I=(0,tl.useRef)(!1),L=(0,tl.useRef)(null),k=(0,tl.useRef)(null),R=()=>{L.current?.focus&&L.current?.focus(),j(!1),N(!1)},$=()=>{j(!1),N(!1)},D=()=>j(e=>!e),O=(0,tl.useCallback)(aH()(()=>{let e=T.current,t=window.innerWidth<768;p(t&&scrollY<40&&scrollY>S||t&&scrollY>250&&scrollY<S||!t&&scrollY<S||scrollY<=0||b||E);let a=(e&&window.getComputedStyle(e).transform)??null,l=-((d??0)*1)==(a?new DOMMatrixReadOnly(a).m42:0);m(scrollY>S&&scrollY>d&&l||scrollY<S),A(scrollY>d),C(window.scrollY)},20),[d,u,b,E,S]);(0,tl.useEffect)(()=>(C(window.scrollY),window.addEventListener("scroll",O),()=>{window.removeEventListener("scroll",O)}),[O]),(0,tl.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(j(!1),N(!1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[b]),(0,tl.useEffect)(()=>{let e=T.current;if(e&&window){let{scrollY:t}=window,a=e.querySelector(".main-header-icons")?.scrollHeight??0;t>a&&(m(!0),A(!0)),c(a),C(t)}},[]),(0,tl.useEffect)(()=>n.events.on("routeChangeStart",$),[n.events]),(0,tl.useEffect)(()=>{let e=s["favorites-"+r];T.current&&(I.current?e?e.length>g.length&&f(!0):f(!1):(x(e??[]),setTimeout(()=>{I.current=!0},0))),x(e??[])},[s["favorites-"+r]]),(0,tl.useEffect)(()=>{let e=setTimeout(()=>{f(!1)},3e3);v||(clearTimeout(e),f(!1))},[v]);let F={display:h?"show":"hide",nav:b?"open-nav":"",search:E?"open-search":"",sitecore:i?.mode?.isEditing?"is-sitecore-editing":"",sticky:_?"is-sticky":"",theme:!b&&!E&&(t.data?.contextItem?.invertColor?.data?.value||_)?"bg-light":"bg-dark"},M={isOpen:b,onClick:D,backdropOnclick:R,ariaLabel:o(th.A.TOGGLE_MAIN_HEADER),hamburgerRef:L,ariaExpanded:b,openSearch:E};return(0,tl.useEffect)(()=>{let e=window.requestAnimationFrame(()=>y(!0));return()=>{window.cancelAnimationFrame(e)}},[]),(0,eW.jsxs)("div",{className:`main-header ${F.sitecore} ${F.theme} ${F.display} ${F.sticky} ${F.nav} ${F.search}
88 ${w?"is-hydrated":""}`,ref:T,tabIndex:-1,children:[(0,eW.jsxs)("div",{className:"main-header-icons",children:[(0,eW.jsx)(a4.BypassBlock,{}),(0,eW.jsx)("div",{className:"main-header-logo-container",children:i?.mode?.isEditing?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("span",{className:"main-header-logo",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{alt:"ASML Logo",icon:"logo",spriteName:"asml-logo",isDecorative:!1})}),(0,eW.jsx)(tZ.N,{field:t.data?.datasource?.homeLink?.data,className:"main-header-logo-caption pointer-events-auto"})]}):(0,eW.jsx)(tZ.N,{field:t.data?.datasource?.homeLink?.data,className:"main-header-logo",title:t.data?.datasource?.homeLink?.data.value.text,children:(0,eW.jsx)(tD.SVGIcon,{alt:"ASML Logo",icon:"logo",spriteName:"asml-logo",isDecorative:!1})})}),(0,eW.jsxs)("div",{className:"main-header-icons-container",children:[(0,eW.jsx)("div",{className:"main-header-hamburger-container",children:!E&&(0,eW.jsx)(a9.CommonButton,{className:`main-header-hamburger ${i?.mode?.isEditing?"pointer-events-auto":""}`,icon:(0,eW.jsx)(tM.HamburgerIcon,{isActive:b}),onClick:D,ariaLabel:o(th.A.TOGGLE_MAIN_HEADER),ref:L,ariaExpanded:b})}),(0,eW.jsx)("div",{className:"main-header-search-container",children:!b&&(0,eW.jsx)(a9.CommonButton,{className:`main-header-search ${i?.mode?.isEditing?"pointer-events-auto":""}`,icon:(0,eW.jsx)(tM.SearchIcon,{isActive:E}),onClick:()=>N(e=>!e),ref:k,ariaLabel:o(th.A.TOGGLE_SEARCH),ariaExpanded:E})}),(0,eW.jsxs)("div",{className:`main-header-saved-jobs__container ${!i?.mode?.isEditing&&g.length>0?"":"invisible"}`,children:[(0,eW.jsxs)(tZ.N,{field:t?.data?.datasource?.savedJobsBtn?.data,className:"main-header-saved-jobs",tabIndex:b||E?-1:0,children:[(0,eW.jsx)("span",{className:"span-icon",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"favorite-solid"})}),t?.data?.datasource?.savedJobsBtn?.data?.value?.text&&(0,eW.jsx)("p",{children:t?.data?.datasource?.savedJobsBtn?.data?.value?.text})]}),(0,eW.jsx)("div",{"aria-hidden":!v,className:`main-header-saved-jobs__popup ${v?"is-active":""}`,children:o(th.A.HEADER_SAVED_JOBS_TOAST)})]}),i?.mode?.isEditing&&i?.layout?.sitecore?.route?.templateName=="Partial Design"&&i?.layout?.sitecore?.route?.name=="Header"&&(0,eW.jsx)("div",{className:"main-header-saved-jobs__container",children:(0,eW.jsxs)("div",{className:"main-header-saved-jobs",children:[(0,eW.jsx)("span",{className:"span-icon",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"favorite-solid"})}),(0,eW.jsx)(tZ.N,{field:t?.data?.datasource?.savedJobsBtn?.data,className:`${i?.mode?.isEditing?"pointer-events-auto":""}`})]})})]})]}),(0,eW.jsxs)("div",{className:`${i?.mode?.isEditing?"pointer-events-auto":""}`,"aria-hidden":!b,children:[l?(0,eW.jsx)(eY.O,{name:"ph-main-menu",rendering:a,passThroughComponentProps:M}):(0,eW.jsx)(a3.NavigationPanel,{rendering:a,backdropOnclick:R,isOpen:b,hamburgerRef:L}),(0,eW.jsx)(eY.O,{name:"search-panel",rendering:a,passThroughComponentProps:{backdropOnclick:R,isOpen:E,searchButtonRef:k}})]})]})},le=(0,tC.w)()(e=>(0,eW.jsx)(a7,{...e,withMenuPlaceholder:!1}));var lt=a(6651);let la=(e,t,a)=>{e.currentTarget.closest("#footer")&&a([`footer:${t?.value?.text}`])},ll=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),{setNavigationPath:r}=(0,lt.Sz)();return e?t.data.datasource?(0,eW.jsx)("div",{className:`component ${i} link-list--inline`,id:l,children:(0,eW.jsx)("div",{className:`${i.includes("text-right")?"lg:text-right":"lg:text-left"} link-list-items-container`,children:t.data.datasource.children.results.filter(e=>e?.field?.link).map((e,t)=>(0,eW.jsx)("div",{className:"link-list-item-container",children:(0,eW.jsx)(aM.SmartLink,{field:e.field.link,className:"link-list-item",prefetch:!1,onClick:t=>la(t,e.field.link,r),title:void 0})},t))})}):(0,eW.jsx)("div",{className:i,id:l||void 0}):(0,eW.jsx)(eW.Fragment,{})},li=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),{setNavigationPath:s}=(0,lt.Sz)();return t.data.datasource?(0,eW.jsxs)("div",{role:"navigation",id:i,"aria-label":t.data.datasource?.field?.title?.value?.toString(),className:`component ${r} link-list--default`,children:[(l?.mode?.isEditing||!!t.data.datasource?.field?.title?.value)&&(0,eW.jsx)(tN.w,{className:"link-list-title",children:(0,eW.jsx)(tS.E,{field:t.data.datasource?.field?.title})}),(0,eW.jsx)("ul",{children:t.data.datasource.children.results.filter(e=>e?.field?.link).map((e,t)=>(0,eW.jsx)("li",{className:"link-list-items-container",children:(0,eW.jsx)(aM.SmartLink,{field:e.field.link,className:"link-list-item",prefetch:!1,onClick:t=>la(t,e.field.link,s),title:void 0})},t))})]}):(0,eW.jsx)("div",{className:r,id:i}
88)}),lr=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),r=!!a?.icon,s=a?.buttonType?.includes("button--yellowline")||!a?.buttonType,{page:n}=(0,tn.M5)();return(0,eW.jsx)("div",{id:l,className:`component primary-btn ${i}`,children:n?.mode?.isEditing?(0,eW.jsxs)("div",{className:`btn ${a?.buttonType||"button--yellowline-blue"} ${r?"icon":""}`,children:[(0,eW.jsx)(aM.SmartLink,{field:t?.callToAction,className:"text-span",title:void 0}),r&&!s&&!(0,aM.isExternalLinkField)(t?.callToAction)&&(0,eW.jsx)("span",{className:`icon-span ${a?.icon}`,role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:a?.icon})})]}):(0,eW.jsx)(aM.SmartLink,{field:{...t?.callToAction,value:{...t?.callToAction?.value,text:(0,eW.jsx)("span",{className:"text-span",children:t?.callToAction?.value?.text})}},title:void 0,showLinkTextWithChildrenPresent:r||(0,aM.isExternalLinkField)(t?.callToAction),className:`btn ${a?.buttonType??"button--yellowline-blue"} ${r?"icon":""}`,target:t?.callToAction?.value?.target,children:r&&!s&&!(0,aM.isExternalLinkField)(t?.callToAction)&&(0,eW.jsx)("span",{className:`icon-span ${a?.icon}`,children:(0,eW.jsx)(tD.SVGIcon,{icon:a?.icon})})})})},ls=e=>(0,eW.jsx)(lr,{...e}),ln=e=>(0,eW.jsx)(lr,{...e,download:!0}),lo=(0,tC.w)()(ls);var ld=a(4055);let lc=e=>{let{fields:t,params:a}=e,{jobData:l}=(0,ld.oo)(),{navigationTitle:i,url:r,ancestors:s}=t?.data?.contextItem??{},n=a.RenderingIdentifier??void 0,{page:o}=(0,tn.M5)(),{t:d}=(0,ti.s9)();if(!t||t?.data?.contextItem?.url?.path?.startsWith("//"))return(0,eW.jsx)(eW.Fragment,{});let c=l?l?.displayJobTitle:i?.value,u=c?{navigationTitle:{value:c},url:{path:l?l?.detailPageUrl:r?.path}}:void 0,m={breadcrumbs:[...s].reverse().concat(u||[]).map(e=>({title:e.navigationTitle?.value??"",url:e.url?.path?.toLowerCase()}))||void 0,placeholder:[{title:"Breadcrumbs",url:"/"}]},h=r?.path?.toLowerCase()?.includes("/presentation/"),p=o?.mode?.isEditing,g=h&&p?m.placeholder:m.breadcrumbs,x=(0,tg.N)(a),v=t.data.contextItem.hideFooter?.data?.value?t.data.contextItem.hideFooter?.data?.value:void 0;return(0,eW.jsxs)("div",{className:`component breadcrumbs--footer ${v?"hidden":x}`,id:n,children:[(0,eW.jsx)(e3.BreadcrumbsLd,{breadcrumbs:g?.map((e,t)=>({position:t+1,name:e.title,item:e.url}))}),g?.length>1||h?(0,eW.jsx)("nav",{"aria-label":d(th.A.ACC_NAV_BREADCRUMBS),children:(0,eW.jsx)("ol",{children:g?.map((e,t)=>{let a=t===g.length-1;return(0,eW.jsxs)("li",{children:[(0,eW.jsx)(aI(),{title:e?.title,className:"breadcrumb-item",href:e?.url,"aria-current":a?"page":void 0,children:e?.title}),0!==t&&(0,eW.jsx)("span",{className:"absolute left-2 top-0.75","aria-hidden":"true",children:"/"})]},t)})})}):null]})},lu=e=>{let{t:t}=(0,ti.s9)();if(!e||e?.fields?.data?.contextItem?.url?.path?.startsWith("//"))return(0,eW.jsx)(eW.Fragment,{});let a=[...e.fields.data?.contextItem?.ancestors].reverse().concat([{navigationTitle:{value:e.fields.data?.contextItem?.navigationTitle?.value},url:{path:e.fields.data?.contextItem?.url?.path}}]).map(e=>({title:e.navigationTitle?.value||"",url:e.url.path.toLowerCase()}))??"";return a?(0,eW.jsx)("div",{className:"component breadcrumbs--hero-banner",children:(0,eW.jsx)("nav",{"aria-label":t(th.A.ACC_NAV_BREADCRUMBS),children:(0,eW.jsx)("ol",{children:a.map((e,t)=>{let l=2==a.length&&0===t||a.length>2&&t===a.length-2,i=2===a.length&&1===t;return(2===a.length||a.length>2&&t!==a.length-1)&&(0,eW.jsxs)("li",{className:`${l?"mobile-back-item":""} ${i?"current-page-item":""}`,children:[l&&(0,eW.jsx)(tM.ChevronLeft,{ariaHidden:!0}),(0,eW.jsx)(aI(),{href:e.url,title:e.title,children:e.title}),!i&&(0,eW.jsx)(tM.ChevronRight,{ariaHidden:!0})]},t)})})})}):(0,eW.jsx)(eW.Fragment,{})};var lm=a(4213),lh=a(5516),lp=a(2443),lg=a(2517),lx=a(5839),lv=a(5364);let lf=e=>{let{page:t}=(0,tn.M5)(),{fields:a,params:l,rendering:i}=e,r=`player_${i?.uid??void 0}`,s=(0,tg.N)(l),n=(0,tl.useRef)(null),[o,d]=(0,tl.useState)([]),[c,u]=(0,tl.useState)(),[m,h]=(0,tl.useState)(!1),p=[],g=a.OnDemandVideoId?.value.trim(),x=a.BroadCastSlugId.value.trim(),v=()=>{setTimeout(()=>{h(!1)},t?.mode?.isEditing?0:lh.$.timeout)};if((0,tl.useEffect)(()=>{a.OnDemandVideoId?.value?u(new lm.k(a.PlayerId?.value||r,g)):a.BroadCastSlugId&&(h(!0),v())},[]),(0,tl.useEffect)(()=>{c?.playerInstance&&(h(!0),document.querySelector(`script#${r}`)||(n.current?.appendChild(c.webcastScript),c.webcastScript.onload=()=>{c.playerInstance().$on(lh.T.playerReady,function(){a.OnDemandVideoId?.value&&c.getChapters().then(e=>{d(e)}),h(!1)}),v()}))},[c]),(t?.mode?.isEditing||a.SupportText?.value)&&p.push({label:(0,eW.jsx)(tS.E,{field:a.BrowserSupportTitle}),content:(0,eW.jsx)(tG.SmartRichText,{field:a.SupportText})}),(t?.mode?.isEditing||o.length>
880)&&p.push({label:(0,eW.jsx)(tS.E,{field:a.ChaptersTitle}),content:c&&o.length>0?(0,eW.jsx)(lp.Chapters,{chapters:o,webcastHelper:c}):(0,eW.jsx)("p",{className:"pb-2 text-color-gray-250",children:"[Video does not contain any chapters. This tab will not be shown on the published version]"})}),t?.mode?.isEditing||a.BroadCastSlugId?.value&&!a.OnDemandVideoId?.value&&a.QuestionTabTitle?.value){let e=a.DropdownValues?.value&&a.DropdownValues?.value.trim()!==""?a.DropdownValues?.value?.trim().split(/\r?\n/).map(e=>({text:e,value:e})):[];p.push({label:(0,eW.jsx)(tS.E,{field:a.QuestionTabTitle}),content:(0,eW.jsxs)(eW.Fragment,{children:[t?.mode?.isEditing&&(0,eW.jsxs)("p",{className:"pb-2 text-color-gray-250",children:["[Before this form shows on the published mode, the Broadcast Slug ID must be defined and there should be ",(0,eW.jsx)("u",{children:"no"})," On-Demand Video ID supplied. The submission will also succeed if you have a valid Broadcast Slug Id.]"]}),(0,eW.jsx)(lx.QuestionForm,{fields:a,dropdownValues:e})]})})}return t?.mode?.isEditing||a.BroadCastSlugId?.value||a.OnDemandVideoId?.value?(0,eW.jsx)("div",{id:`webcast_${r}`,className:`component webcast custom-container ${s}`,suppressHydrationWarning:!0,children:(0,eW.jsxs)("div",{id:a.PlayerId?.value,className:"main-contents flex flex-col gap-6",children:[(0,eW.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,eW.jsx)(tN.w,{className:"video-title text-h6 font-medium text-color-primary",children:(0,eW.jsx)(tS.E,{field:a.VideoTitle})}),(0,eW.jsxs)("div",{className:"relative z-70 min-h-56",ref:n,children:[m&&(0,eW.jsx)(ts.Loader,{}),!a.BroadCastSlugId?.value&&!a.OnDemandVideoId?.value&&(0,eW.jsx)("span",{role:"none",children:"[Broadcast Slug ID or On-Demand Video ID is missing]"}),a.BroadCastSlugId?.value&&!a.OnDemandVideoId?.value&&(0,eW.jsx)("iframe",{src:`${lv.env.QUADIA_IFRAME_SRC||lh.$.iframeSrc}#${x}`,title:a.VideoTitle.value,allowFullScreen:!0,allow:"autoplay; fullscreen; clipboard-write",className:`aspect-video w-full bg-color-black ${t?.mode?.isEditing?"iframe-page-builder":""}`,onLoad:()=>{h(!1)}})]})]}),p.length>0&&(0,eW.jsx)(lg.default,{tabs:p})]})}):(0,eW.jsx)(eW.Fragment,{})};var lb=a(7273),lj=a(4259);let lE=(0,tC.w)()(e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),[r]=(0,t2.lT)(),s=a?.RenderingIdentifier??void 0,n=(0,tl.useRef)(-1),o=`${t?.bannerFocalPoint?.Left} ${t?.bannerFocalPoint?.Top}`,{t:d}=(0,ti.s9)(),[c,u]=(0,tl.useState)(!1),[m,h]=(0,tl.useState)(!1),p={container:(0,tg.N)(a),pointerAuto:i?.mode?.isEditing?"pointer-events-auto":"",pointerNone:i?.mode?.isEditing?"pointer-events-none":""};return(0,tl.useEffect)(()=>{i?.mode?.isEditing||h((0,t1.$)(t5.$.functional))},[i,r]),(0,eW.jsx)("div",{id:s,className:`component video-banner ${p.container}`,children:c?(0,eW.jsx)(lj.A,{videoId:(t?.youtubeid?.value).trim(),id:`ytplayer-${l.uid}`,className:"video-banner-wrapper-sitecore",opts:{width:"100%",height:"100%",playerVars:{autoplay:1,rel:0}},onStateChange:e=>{e?.data===0?(0,tu.KH)(t.title?.value,"finished"):e?.data===1&&2!==n.current&&3!==n.current&&(0,tu.KH)(t.title?.value,"start"),n.current=e.data}}):(0,eW.jsxs)("div",{className:"relative block h-full w-full bg-color-white",children:[(0,eW.jsx)("div",{className:"absolute left-0 top-0 h-full w-full overflow-hidden bg-color-black/40",children:(0,eW.jsx)(lb._,{srcSet:i?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:i?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:"video-banner-image",style:o?{objectPosition:o}:{},field:t.banner,title:t.banner.value?.alt,alt:void 0,layout:"fill"})}),(0,eW.jsxs)("div",{className:`video-banner-content-container ${p.pointerNone}`,children:[(0,eW.jsx)("div",{className:i?.mode?.isEditing||m?"hidden":"onetrust-overlay-container",children:(0,eW.jsx)("div",{className:"onetrust-overlay"})}),(0,eW.jsx)(a9.CommonButton,{ariaLabel:d(th.A.PLAY_BUTTON_TITLE,{title:t.title?.value}),className:`play-button relative ${p.pointerAuto}`,icon:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"play"}),onClick:m?()=>{u(!0)}:void 0}),(0,eW.jsx)(tN.w,{className:`video-banner-title ${p.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:i?.mode?.isEditing||m?t.title:t?.enableCookieTitle})}),(0,eW.jsx)(tS.E,{field:i?.mode?.isEditing||m?t.text:t?.enableCookieSubtitle,role:"heading",className:`video-banner-description ${p.pointerAuto}`,tag:"p"}),!i?.mode?.isEditing&&!m&&(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:d(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:d(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:d(th.A.ONETRUST_SWITCH_LABEL)})]})]})})});var lN=a(8937);let lw=({children:e,enableImageEnlargement:t,isEditing:a,zoomButtonAriaLabel:l,onButtonClick:i,onButtonKeyDown:r,anchorClassName:s,anchorProps:n})=>{let{href:o,...d}=n??{};return t&&!a?(0,eW.jsxs)("button",{className:"relative block w-full border-0 bg-color-transparent p-0 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",onClick:i,onKeyDown:r,"aria-label":l,children:[e,(0,eW.jsx)(lN.ZoomIndicator,{EnableImageEnlargement:{value:t}})]}):o?(0,eW.jsx)("a",{className:s,href:o,...d,children:e}):(0,eW.jsx)(eW.Fragment,{children:e})},ly=[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],l_="(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",lA=e=>{let t=e.currentTarget.querySelector("img");t?.click()},lS=e=>{let{key:t}=e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t))return;let a=e.currentTarget.querySelector("img");a&&(0,lN.panZoomableImage)(a,t)&&e.preventDefault()},lC=e=>(0,eW.jsx)("div",{className:`component image ${(0,tg.N)(e.params)}`.trimEnd(),children:(0,eW.jsx)("div",{className:"component-content",children:(0,eW.jsx)("span",{className:"is-empty-hint",children:"Image"})})}),lT=e=>{let{params:t,fields:a}=e,{page:l}=(0,tn.M5)(),{t:i}=(0,ti.s9)();if(!e)return(0,eW.jsx)(eW.Fragment,{});if(a){let e=t?.RenderingIdentifier??void 0,r=(0,tg.N)(t),s=`${a?.imageFocalPoint?.Left} ${a?.imageFocalPoint?.Top}`,n=a.image?.value?.alt??"",o=i(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:n}),d=!l?.mode?.isEditing&&(0,t3.h)(a.targetUrl)?a.targetUrl.value:void 0,c=l?.mode?.isEditing?void 0:ly,u=l?.mode?.isEditing?void 0:l_;return(0,eW.jsx)("div",{className:`component image fixed-height-image ${r}`,id:e,children:(0,eW.jsx)("div",{className:"component-content",children:(0,eW.jsxs)("figure",{children:[(0,eW.jsx)(lw,{enableImageEnlargement:a.EnableImageEnlargement?.value,isEditing:l?.mode?.isEditing,zoomButtonAriaLabel:o,onButtonClick:lA,onButtonKeyDown:lS,anchorClassName:"relative",anchorProps:d,children:(0,eW.jsx)(lb._,{srcSet:c,sizes:u,field:a.image,title:a.image.value?.alt,alt:a.image?.value?.alt,className:"object-cover",style:s?{objectPosition:s}:{},loading:"lazy"})}),(a.imageCaption?.value||l?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"image-caption field-imagecaption mt-4 block text-sm leading-4 text-color-gray-700",field:a.imageCaption})})]})})})}return(0,eW.jsx)(lC,{...e})},lI=(0,tC.w)()(e=>{let{params:t,fields:a}=e,{page:l}=(0,tn.M5)(),{t:i}=(0,ti.s9)();if(a){let e=t?.RenderingIdentifier??void 0,r=(0,tg.N)(t),s=`${a?.imageFocalPoint?.Left} ${a?.imageFocalPoint?.Top}`,n=a.image?.value?.alt??"",o=i(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:n}),d=!l?.mode?.isEditing&&(0,t3.h)(a.targetUrl)?a.targetUrl.value:void 0,c=l?.mode?.isEditing?void 0:ly,u=l?.mode?.isEditing?void 0:l_;return(0,eW.jsx)("div",{className:`component image ${r}`,id:e,children:(0,eW.jsx)("div",{className:"component-content",children:(0,eW.jsxs)("figure",{children:[(0,eW.jsx)(lw,{enableImageEnlargement:a.EnableImageEnlargement?.value,isEditing:l?.mode?.isEditing,zoomButtonAriaLabel:o,onButtonClick:lA,onButtonKeyDown:lS,anchorClassName:"relative",anchorProps:d,children:(0,eW.jsx)(lb._,{srcSet:c,sizes:u,field:a.image,title:a.image.value?.alt,alt:a.image?.value?.alt,className:"w-full object-cover",style:s?{objectPosition:s}:{},loading:"lazy"})}),(a.imageCaption?.value||l?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"image-caption field-imagecaption mt-4 block text-sm leading-4 text-color-gray-700",field:a.imageCaption})})]})})})}return(0,eW.jsx)(lC,{...e})}),lL=(0,tC.w)()(e=>{let{fields:t,params:a,rendering:l}=e,i=a?.RenderingIdentifier??void 0,{page:r}=(0,tn.M5)(),s=(0,tl.useRef)(-1),[n,o]=(0,tl.useState)(!1),[d,c]=(0,tl.useState)(!1),[u]=(0,t2.lT)(),{t:m}=(0,ti.s9)(),h={container:(0,tg.N)(a),pointerAuto:r?.mode?.isEditing?"pointer-events-auto":"",pointerNone:r?.mode?.isEditing?"pointer-events-none":""},p=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`;return(0,tl.useEffect)(()=>{r?.mode?.isEditing||o((0,t1.$)(t5.$.functional))},[tn.M5,u]),(0,eW.jsx)("div",{id:i,className:`component yt-video ${h.container}`,children:(0,eW.jsx)("div",{className:"yt-video-wrapper",children:d?(0,eW.jsx)(lj.A,{videoId:(t?.youtubeid?.value).trim(),id:`ytplayer-${l.uid}`,className:"yt-video-wrapper",opts:{width:"100%",height:"100%",playerVars:{autoplay:1,rel:0}},onStateChange:e=>{e?.data===0?(0,tu.KH)(t.videoTitle?.value,"finished"):e?.data===1&&2!==s.current&&3!==s.current&&(0,tu.KH)(t.videoTitle?.value,"start"),s.current=e.data}}):(0,eW.jsxs)("div",{className:"yt-video-content-wrapper",children:[(0,eW.jsx)("div",{className:"yt-video-image-container",children:(0,eW.jsx)(lb._,{srcSet:r?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:r?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:"yt-video-image",field:t.image,alt:"",style:p?{objectPosition:p}:{}})}),(0,eW.jsxs)("div",{className:`yt-video-content-container ${h.pointerNone}`,children:[(0,eW.jsx)("div",{className:r?.mode?.isEditing||n?"hidden":"onetrust-overlay-container",children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title--small ${h.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:t?.enableCookieTitle})}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:m(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:m(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:m(th.A.ONETRUST_SWITCH_LABEL)})]})}),n&&(0,eW.jsx)(a9.CommonButton,{ariaLabel:m(th.A.PLAY_BUTTON),className:`play-button ${h.pointerAuto}`,icon:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"play"}),onClick:()=>c(!0)})]})]})})})});var lk=a(3272),lR=a(6730),l$=a(4820);let lD={active:!0,watchDrag:!1,container:".corp-tv-video-wrapper"},lO=e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),[i,r]=(0,tl.useState)(!1),[s,n]=(0,tl.useState)(t?.data?.item?.id),o=a?.RenderingIdentifier??void 0,[d,c]=(0,l$.A)(lD),u=(0,tg.N)(a),m="default",h=(e,t)=>{l?.mode?.isEditing||(0===e?(0,tu.KH)(t,"finished"):1===e&&(0,tu.KH)(t,"start"))},p=async()=>{l?.mode?.isEditing||(r(!0),h(1,t?.data?.item?.corpTVChapter?.jsonValue?.value?.title??""))};return(0,eW.jsxs)("div",{id:o,"data-testid":o,ref:d,className:`component corp-tv ${u} ${l?.locale==="en"?"lang-en":""} ${m} ${i?"!pt-0":""}
88`,children:[(0,eW.jsx)(lR.BaseCorpTvContent,{...e,variant:m,emblaVideoApi:c,showVideo:i,sendVideoEvent:h,handleShowVideo:p,activeVideoId:s,setActiveVideoId:n}),(0,eW.jsx)(lR.VideoChapters,{...e,variant:m,emblaVideoApi:c,showVideo:i,sendVideoEvent:h,handleShowVideo:p,activeVideoId:s,setActiveVideoId:n})]})},lF=e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),[i,r]=(0,tl.useState)(!1),[s,n]=(0,tl.useState)(t?.data?.item?.id),o=a?.RenderingIdentifier??void 0,[d,c]=(0,l$.A)(lD),u=(0,tg.N)(a),m="inline",h=(e,t)=>{l?.mode?.isEditing||(0===e?(0,tu.KH)(t,"finished"):1===e&&(0,tu.KH)(t,"start"))},p=async()=>{l?.mode?.isEditing||(r(!0),h(1,t?.data?.item?.corpTVChapter?.jsonValue?.value?.title??""))};return(0,eW.jsxs)("div",{id:o,"data-testid":o,ref:d,className:`component corp-tv ${u} ${l?.locale==="en"?"lang-en":""} ${m} ${i?"!pt-0":""}`,children:[(0,eW.jsx)("div",{className:"inline-wrapper",children:(0,eW.jsx)(lR.BaseCorpTvContent,{...e,variant:m,emblaVideoApi:c,showVideo:i,sendVideoEvent:h,handleShowVideo:p,activeVideoId:s,setActiveVideoId:n})}),(0,eW.jsx)(lR.VideoChapters,{...e,variant:m,emblaVideoApi:c,showVideo:i,sendVideoEvent:h,handleShowVideo:p,activeVideoId:s,setActiveVideoId:n})]})};var lM=a(4791);let lP=({docType:e})=>(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{className:"px-0 text-color-gray-850 lg:px-2",children:(0,eW.jsx)("span",{className:"doctype",children:e})}),(0,eW.jsx)("div",{className:"px-2 lg:px-4",children:(0,eW.jsx)("span",{className:"icon-span download-solid",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"download-solid"})})})]}),lV=({item:e,bg:t})=>{let{page:a}=(0,tn.M5)(),l=e?.link?.data?.value,{t:i}=(0,ti.s9)(),r=l?.text;""==r&&l?.href&&(r=l.href);let s=l?.title??"",n=l?(0,aR.Q)(l?.href)??"":"",o=(0,aR.T)(n),d=l?.href||"#",c="underline-yellow--long relative flex items-center fill-color-primary after:mt-6 after:duration-600 hover:after:w-full",u="w-full p-4 text-lg font-normal text-color-primary lg:pr-6",m="text-color-primary",h="text-cardtitle font-normal text-color-primary visual-grid";return a?.mode?.isEditing||"#"!==d?(0,eW.jsxs)("div",{className:`z-20 col-span-12 mb-3 ${t?"border-1 border-color-gray-100 bg-color-gray-100 hover:border-color-primary":"border-1 border-color-gray-600 bg-color-white hover:bg-color-gray-100"}`,children:[a?.mode?.isEditing&&(0,eW.jsxs)("span",{className:c,children:[(0,eW.jsxs)("div",{className:u,children:[!!s&&(0,eW.jsx)("p",{className:m,children:s}),a?.mode?.isEditing&&(0,eW.jsx)(lM.TextLink,{field:e?.link?.data,className:h,disableExternalIcon:!0})]}),(0,eW.jsx)(lP,{docType:o})]}),!a?.mode?.isEditing&&(0,eW.jsxs)("a",{className:c,href:d,download:!0,rel:"noopener noreferer",target:"doc-xls"===o?"_self":"_blank",onClick:()=>{(0,tu.rp)(r??"",o)},"aria-label":i(th.A.ACC_MEDIA_DOWNLOAD_LINKS,{filename:r,docType:o}),children:[(0,eW.jsxs)("div",{className:u,children:[!!s&&(0,eW.jsx)("p",{className:m,children:s}),""!=r&&(0,eW.jsx)("span",{className:h,children:r})]}),(0,eW.jsx)(lP,{docType:o})]})]}):(0,eW.jsx)(eW.Fragment,{})},lB=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),s=t?.data?.datasource?.image;return(0,eW.jsxs)("div",{id:i,className:`component download-links mt-6 ${r} ${(0,tg.D)(a?.stickyAllDownloads)?"z-0 md:sticky md:top-40":"z-10"} `,children:[(l?.mode?.isEditing||!!t.data.datasource?.header)&&(0,eW.jsx)(tN.w,{className:"inline pb-2 text-4xl font-semibold tracking-normal text-color-primary",children:(0,eW.jsx)(tS.E,{field:t.data.datasource?.header.data})}),(null!=s||l?.mode?.isEditing)&&(0,eW.jsx)(lb._,{srcSet:l?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500}],sizes:l?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",field:s.data,alt:s.data.value?.alt,className:"mb-6 block h-auto w-full object-cover"}),(0,eW.jsx)("ul",{className:"!list-none",children:t?.data?.datasource?.children?.results?.map((e,t)=>(0,eW.jsx)("li",{children:(0,eW.jsx)(lV,{item:e,bg:(0,tg.D)(a?.bgGray)},t)}))})]})}),lH=({item:e,bg:t})=>{let{page:a}=(0,tn.M5)(),l=e?.download?.data,{t:i}=(0,ti.s9)(),r=l?l?.fields.Title?.value?.toString()??"":"",s=l?l?.fields.Extension?.value?.toString()??"":"",n=(0,aR.T)(s),o=l?.url||"#",d=l?.name;return(!e?.download?.data&&e?.externalLink?.data&&e.externalLink.data.value?.linktype==="external"&&(r=e.externalLink.data.value?.title??"",s=(0,aR.Q)(e.externalLink.data.value.href)??"",n=(0,aR.T)(s),o=e.externalLink.data.value.href??"#",d=e.externalLink.data.value.text??void 0),a?.mode?.isEditing||"#"!==o)?(0,eW.jsx)("div",{className:`download-l
88ink-wrapper ${t?"bg-color-dark":"bg-color-light"}`,children:(0,eW.jsxs)("a",{className:"download-link-contents",..."#"!==o?{href:o}:{},..."#"!==o&&d?{download:d}:{},rel:"noopener noreferer",target:"doc-xls"===n?"_self":"_blank",onClick:()=>{(0,tu.rp)(r??"",n)},"aria-label":`${r} ${i(th.A.ACC_MEDIA_DOWNLOAD_LINKS)}`,children:[(0,eW.jsxs)("div",{className:"download-link-text-container",children:[(0,eW.jsx)(tS.E,{field:e?.header?.data,className:"download-link-subtitle"}),!!r&&(0,eW.jsx)("p",{className:"download-link-title visual-grid",children:r.toString()})]}),(0,eW.jsx)("div",{className:"download-link-doctype-container",children:(0,eW.jsx)("span",{className:"doctype",role:"presentation",children:n})}),(0,eW.jsx)("div",{className:"download-link-download-icon-container",children:(0,eW.jsx)("span",{className:"download-link-button icon-span download-solid",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:"download-solid"})})})]})}):(0,eW.jsx)(eW.Fragment,{})},lU=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),s=t?.data?.datasource?.image;return(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{id:i,className:`component download-links mt-6 ${r} ${(0,tg.D)(a?.stickyAllDownloads)?"z-0 md:sticky md:top-40":"z-10"} `,children:[(l?.mode?.isEditing||!!t.data.datasource?.header)&&(0,eW.jsx)(tN.w,{className:"pb-2 text-4xl font-semibold text-color-primary",children:(0,eW.jsx)(tS.E,{field:t.data.datasource?.header.data})}),(null!=s||l?.mode?.isEditing)&&(0,eW.jsx)(lb._,{srcSet:l?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500}],sizes:l?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",field:s.data,alt:s.data.value?.alt,className:"download-l
88ink-image"}),t?.data?.datasource?.children?.results&&t?.data?.datasource?.children?.results?.map((e,t)=>(0,eW.jsx)(lH,{item:e,bg:(0,tg.D)(a?.bgGray)},t))]})})}),lG=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),{page:r}=(0,tn.M5)(),s=t?.baseUrl?.value??"https://asml.engagestream.euronext.com",n=t?.width?.value??"960",o=t?.height?.value??"540";return(0,eW.jsx)(eW.Fragment,{children:r?.mode?.isEditing&&t?.webcastID?.value===""?(0,eW.jsx)("div",{className:`agm-webcast component ${i}`,children:(0,eW.jsx)("div",{className:"m-8",children:"Webcast component needs webcastID to work"})}):(0,eW.jsxs)("div",{className:`agm-webcast component ${i} ${r?.mode?.isEditing?"pageEditing":""}`,id:l,children:[(0,eW.jsx)(tY(),{src:`${s}/assets/iframe-resizer/js/iframeResizer.min.js`}),(0,eW.jsx)(tY(),{async:!0,id:"iframeResizerInit",dangerouslySetInnerHTML:{__html:"setTimeout(() => {iFrameResize()},1000);"}}),(0,eW.jsx)("iframe",{src:`${s}/${t?.webcastID?.value}?embed-view=1`,allowFullScreen:!0,width:n,height:o,scrolling:"no",frameBorder:"0",className:r?.mode?.isEditing?"iframe-page-builder":""})]})})});var lq=a(8960),lz=a(1576),lW=a.n(lz),lY=a(8864),lJ=a(2327),lQ=a(464);let lK=(e,t)=>{if(!(e?.length<8))return t?am()(e.replace("Z",t)).utc():am()(e).utc()},lX=(e,t="",a="",l=!0)=>{let{fields:i,params:r,sharedEvents:s}=e;am().extend(lW());let n=[],o=(e,l)=>{let i=s?.map(e=>({title:{data:e?.title},description:{data:e?.description},link:{value:e?.link?.value,data:e?.link},location:{data:e?.location},startDate:{data:e?.startDate},endDate:{data:e?.endDate},timeDescription:{data:e?.timeDescription},timeZone:{fields:e?.timeZone?.fields,data:{fields:e?.timeZone?.fields}},_startDate:e?._startDate,image:{data:e?.image}}));i?.length>0&&e?.eventDetails&&(e.eventDetails.results=i),e?.eventDetails?.results.forEach(e=>{let l=e.timeZone?.data?.fields?.offset?.value,i=am()(lK(e.startDate?.data?.value,l)).utc(),s=am()(lK(e.endDate?.data?.value,l)).utc(),o=am()().utc();if((0,tg.D)(r?.pastEventsOnly)&&i.isAfter(o)||!(0,tg.D)(r?.pastEventsOnly)&&o.isAfter(i))return;let d="_";e.startDate?.data?.value?.toString()?.startsWith("0001")?d=t:i.valueOf()>s.valueOf()?d=a:r?.groupInQuarters&&(d=`Q${Math.floor(i.month()/3)+1} - ${i.year()}`),e._startDate=i.valueOf();let c=n.find(e=>e.eventGroup===d);c?c.events.push(e):n.push({eventGroup:d,events:[e],eventGroupDate:am()(`${i.year()}-${i.month()+1}-01`).valueOf()})}),(0,tg.D)(r?.allLevels)&&e?.eventFolders?.results&&e?.eventFolders?.results?.forEach(e=>{o(e,l+1)})};return o(i?.data?.datasource,0),l&&(n.forEach(e=>{e.events=e.events.sort((e,t)=>e._startDate>t._startDate?1:-1)}),n=n.sort((e,t)=>"_"===e.eventGroup?-1:e.eventGroupDate>t.eventGroupDate?1:-1)),n},lZ=e=>{let{fields:t,params:a,sharedEvents:l,intro:i}=e,r=(0,tg.N)(a),[s,n]=(0,tl.useState)([]),{page:o}=(0,tn.M5)();return a&&(a.groupInQuarters="0"),(0,tl.useEffect)(()=>{(t?.data?.datasource?.eventDetails?.results||l?.length!==0)&&n(lX(e,"","",!1))},[e?.fields,a?.allLevels,a?.groupInQuarters,a?.pastEventsOnly]),(0,eW.jsxs)("div",{className:`component events--row-view ${r}`,children:[o?.mode?.isEditing||(0,tg.D)(a?.showLegends)||i?.data?.value?(0,eW.jsxs)(eW.Fragment,{children:[(o?.mode?.isEditing||i?.data?.value)&&(0,eW.jsx)("div",{className:`component rte-container fluid-grid col-span-12 ${(0,tg.D)(a?.showLegends)?"pb-0":"pb-12"}`,children:(0,eW.jsx)("div",{className:"component font-weight--light custom-rich-text col-span-12 px-6 pt-12 md:col-span-8 md:col-start-3 xl:col-span-6 xl:col-start-4",children:(0,eW.jsx)(tN.w,{className:"rte-align-center",children:(0,eW.jsx)(tS.E,{field:i?.data})})})}),(0,tg.D)(a?.showLegends)&&s&&s.length>0&&(0,eW.jsx)(lJ.EventLegends,{eventDetails:s[0].events})]}):(0,eW.jsx)(eW.Fragment,{}),s.map((e,t)=>(0,eW.jsx)("div",{className:"events-container mt-0",children:e.events.map((e,t)=>(0,tl.createElement)(lY.EventDetail,{...e,params:a,key:t,rowVersion:!0}))},t))]})},l0=async(e,t)=>{let a=await lQ.A.getData(lq.GET_SHARED_EVENTS,{datasource:e.dataSource,language:t.sitecore.context.language});return{sharedEvents:a?.datasource?.sharedEvents?.results?.map(e=>e.fields)??null,intro:a?.datasource?.intro??null}},l1=(0,tC.w)()(e=>{let{fields:t,params:a,sharedEvents:l}=e,i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),[s,n]=(0,tl.useState)([]),{page:o}=(0,tn.M5)(),{t:d}=(0,ti.s9)();return(0,tl.useEffect)(()=>{(t?.data?.datasource?.eventDetails?.results||l?.length!==0)&&n(lX(e,d(th.A.EVENTS_NO_START_DATE),d(th.A.EVENTS_INVALID_END_DATE)))},[e?.fields,a?.allLevels,a?.groupInQuarters,a?.pastEventsOnly]),(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{className:`component events box ${r}`,id:i,children:[o?.mode?.isEditing&&s.length<=0&&(0,eW.jsx)("div",{className:"events-container",children:(0,eW.jsx)(tN.w,{className:"events-header",children:(0,eW.jsx)(tS.E,{field:{value:`Q${Math.floor(new Date(Date.now()).getUTCMonth()/3)+1} - ${new Date(Date.now()).getFullYear()}`}})})}),s.map((e,t)=>{if(e.eventGroup!==d(th.A.EVENTS_NO_START_DATE)&&e.eventGroup!==d(th.A.EVENTS_INVALID_END_DATE)||o?.mode?.isEditing)return(0,eW.jsxs)("div",{className:"guttered",children:["_"!==e.eventGroup&&(0,eW.jsx)(tN.w,{className:"events__header",children:(0,eW.jsx)(tS.E,{field:{value:e.eventGroup}})}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("ul",{className:"events-container",children:e.events.map((e,t)=>(0,eW.jsx)("li",{className:"col-span-4 grid md:col-span-2 xxl:col-span-1",children:(0,eW.jsx)(lY.EventDetail,{...e,params:a})},t))})})]},t)})]})})});var l2=a(2796),l5=a(6141),l6=a(9914);let l3=(0,tC.w)()(e=>{let{params:t,fields:a}=e,{page:l}=(0,tn.M5)(),i=null!=t?`${(0,tg.N)(t)??""}`.trimEnd():"",r=t?.buttonType==="button--yellowline-blue"||!t?.buttonType,s=t?.RenderingIdentifier??void 0,n=!!t?.icon;return(0,eW.jsx)("div",{className:`component ${i}`,children:(0,eW.jsx)("button",{id:s,onClick:e=>{l?.mode?.isEditing||(e.stopPropagation(),window.OneTrust&&window.OneTrust.ToggleInfoDisplay())},className:"primary-btn","aria-haspopup":"dialog","aria-controls":"onetrust-consent-sdk",children:(0,eW.jsxs)("div",{className:`btn button-responsive ${t?.buttonType||"button--box-lightblue"} ${n?"icon":""}`,children:[(0,eW.jsx)(tS.E,{tag:"span",field:a?.callToAction,className:"text-span"}),n&&!r&&(0,eW.jsx)("span",{className:"icon-span",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{icon:t?.icon})})]})})})}),l9=e=>{let{params:t}=e,a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t);return((0,tl.useEffect)(()=>{window.OneTrust&&window.OneTrust.initializeCookiePolicyHtml()}),e)?(0,eW.jsx)("div",{id:a,className:`component cookie-overview ${l}`,children:(0,eW.jsx)("div",{id:"ot-sdk-cookie-policy"})}):(0,eW.jsx)(eW.Fragment,{})};var l4=a(8871),l8=a(8847),l7=a.n(l8);a(1805),a(103);var ie=a(9323);let it=l7()(()=>a.e(888).then(a.bind(a,7888)).then(e=>e.Swiper),{loadableGenerated:{webpack:()=>[7888]},ssr:!1}),ia=(0,tC.w)()(e=>{let{fields:t,params:l,rendering:i}=e,{page:r}=(0,tn.M5)(),{t:s}=(0,ti.s9)(),n=(0,ie.j)(),o=l?.RenderingIdentifier??void 0,d=r?.mode?.isEditing??!1,c=(0,tl.useMemo)(()=>({active:!0,containScroll:"trimSnaps",watchDrag:!0,slides:".ts__slide-wrapper",duration:20*!n}),[n]),u=i?.placeholders?.["timeline-story-slides"],[m,h]=(0,tl.useState)(null),[p,g]=(0,tl.useState)(!0),[x,v]=(0,tl.useState)(!1),[f,b]=(0,l$.A)(c),[j,E]=(0,tl.useState)(null),[N,w]=(0,tl.useState)(!d),[y,_]=(0,tl.useState)(!1),[A,S]=(0,tl.useState)(!0),[C,T]=(0,tl.useState)(""),[I,L]=(0,tl.useState)(d),k=(0,tl.useRef)(null),R=(0,tl.useRef)(null),[$,D]=(0,tl.useState)([]);(0,tl.useEffect)(()=>{(async()=>{0===$.length&&await a.e(618).then(a.bind(a,4618)).then(e=>{let{A11y:t,EffectFade:a,Navigation:l,Pagination:i}=e;D([t,a,l,i])})})()},[]);let O=()=>{let e=R.current;if(m&&e){let t=e.querySelectorAll(".swiper-pagination-bullet");if(t.length>0){let a=0;t.forEach((e,t)=>{e.classList.contains("swiper-pagination-bullet-active")&&(a=t)}
88),t.forEach(e=>{e.style.transform=`translateX(${-(a*m)}px)`,e.setAttribute("tabindex","-1")}),e.style.transform=`translateX(-${.5*m}px)`}}},F=()=>{let e=R.current;if(e){let t=e.querySelector(".swiper-pagination-bullet");if(!t)return null;let a=window.getComputedStyle(t);return parseInt(a.getPropertyValue("width"),10)+(parseInt(a.getPropertyValue("margin-left"),10)+parseInt(a.getPropertyValue("margin-right"),10))}return null},M=e=>{E("fade-leave"),N||w(!0),setTimeout(()=>{_(!1),S(!1),L(e)},250)},P=()=>{if(y){let e=F();h(F()),m==e&&O()}else{let e;e=F(),h(F()),_(!0),m==e&&O()}};(0,tl.useEffect)(()=>{m&&O()},[m]),(0,tl.useEffect)(()=>{"fade-enter"===j&&setTimeout(()=>E(null),100)},[j]),(0,tl.useEffect)(()=>{if(b){E("fade-enter"),v(b.canScrollPrev()),g(b.canScrollNext()),b.on("select",()=>{v(b.canScrollPrev()),g(b.canScrollNext());let e=b.selectedScrollSnap(),t=(0,tg.D)(l.showIntro)||d?e:e+1,a=u[t],i=a?.fields?.slideTitle?.value?.toString()??"",r=a?.fields?.body?.value?.toString()??"";T([[s(th.A.TIMELINE_STEP_LABEL),`${t}:`,i].filter(Boolean).join(" "),r].filter(Boolean).join(". "))});let e=k.current;if(!e)return;let t=()=>{let t=b.rootNode();if(t){t.style.minHeight="auto";let a=(window.innerHeight-e.clientHeight)/2;t.style.minHeight=`${Math.floor(t.clientHeight+a)}px`}};e&&(t(),new ResizeObserver(()=>{t()}).observe(e))}},[b]);let V=Object.values({custom:(0,tg.N)(l),fadeAnimation:j??"",isSitecoreEditing:d?"is-sitecore-editing":"",isSwiperInit:A?"is-swiper-init":"",view:`ts--${I?"tileview":"slideview"}`}).join(" ").trimEnd(),B=()=>{d&&document.documentElement.classList.remove("overflow-x-hidden")};return(0,eW.jsxs)("div",{onClick:()=>{d&&document.documentElement.classList.add("overflow-x-hidden")},onBlur:B,onKeyDown:B,className:`component ts ${V}`,id:o,children:[(0,eW.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:C}),I?(0,eW.jsxs)("div",{className:"mt-auto h-auto w-full overflow-hidden",ref:k,children:[(0,eW.jsx)("div",{className:"guttered-box mb-6 mt-auto h-auto",children:(0,eW.jsx)("div",{className:"guttered",children:(0,eW.jsx)(tN.w,{id:o?`${o}-heading`:void 0,className:"ts-heading heading-2 visual-grid [&.visual-grid]:after:w-200p",children:(0,eW.jsx)(tS.E,{field:t.title})})})}),(0,eW.jsx)("div",{className:"fluid-grid box grid-container relative h-auto pb-17",ref:f,role:"region","aria-labelledby":o?`${o}-heading`:void 0,children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("div",{className:"col-span-12 flex h-full flex-row md:col-span-10 md:col-start-3",children:(0,eW.jsx)(eY.O,{rendering:i,name:"timeline-story-slides",passThroughComponentProps:{introSlideUid:u[0]?.uid??"",showIntro:(0,tg.D)(l.showIntro),slideUids:u.map(e=>e.uid??""),tileView:I}})})})})]}):$.length>0&&(0,eW.jsx)(it,{a11y:{enabled:!1},className:"h-screen",effect:"fade",grabCursor:!0,modules:$,navigation:{disabledClass:"invisible",enabled:!0,nextEl:`${o?`#${o}`:""}.ts__arrow--next`,prevEl:`${o?`#${o}`:""}.ts__arrow--prev`},onAfterInit:e=>{e.slides.forEach((t,a)=>{a!==e.activeIndex&&t.setAttribute("inert","")}),setTimeout(()=>{P(),S(!0),E("fade-enter")},500)},onResize:()=>P(),onSlideChangeTransitionStart:()=>O(),onSliderMove:aH()(()=>O(),300),onSlideChange:e=>{w(0==e.activeIndex),e.slides.forEach((t,a)=>{a===e.activeIndex?t.removeAttribute("inert"):t.setAttribute("inert","")});let t=u[e.activeIndex],a=t?.fields?.slideTitle?.value?.toString()??"",l=t?.fields?.body?.value?.toString()??"";T([[s(th.A.TIMELINE_STEP_LABEL),`${e.activeIndex}:`,a].filter(Boolean).join(" "),l].filter(Boolean).join(". "))},pagination:{clickable:!0,el:`${o?`#${o}`:""}.ts__pagination`,enabled:!0,renderBullet:(e,t)=>`<span class="${t}">${u[e]?.fields?.navigationTitle?.value?.toString()}</span>`},slidesPerView:1,spaceBetween:0,speed:500,observer:!0,observeParents:!0,observeSlideChildren:!0,children:u?.map((t,a)=>(0,eW.jsx)(l4.default,{index:a,introSlideUid:u[0]?.uid??"",showIntro:(0,tg.D)(l.showIntro),slideUids:u.map(e=>e.uid??""),tileView:I,...e},`ts__slide--${a}`))}),!I&&(0,eW.jsx)("div",{"aria-hidden":"true",className:`ts__pagination ${N?"opacity-0":""}`,ref:R}),(0,eW.jsxs)("div",{className:"ts__controls",children:[!I&&(0,eW.jsx)("button",{type:"button",className:"ts__arrow--prev h-6 w-9","aria-label":s(th.A.TIMELINE_PREVIOUS_ARROW),children:(0,eW.jsx)(tD.SVGIcon,{icon:"long-white-left"})}),I&&(0,eW.jsx)("button",{type:"button",className:"ts__arrow--prev h-6 w-9",disabled:!x,"aria-label":s(th.A.TIMELINE_PREVIOUS_ARROW),onClick:()=>b?.scrollPrev(),children:(0,eW.jsx)(tD.SVGIcon,{icon:"long-white-left"})}),(0,eW.jsx)("span",{className:"ts__border--sm",role:"none"}),(0,eW.jsx)("button",{className:"ts_view_button flex h-6 w-6 items-center justify-center",type:"button",disabled:r?.mode?.isEditing||!I,onClick:()=>M(!1),"aria-label":`${r?.mode?.isEditing?s(th.A.TIMELINE_SLIDEVIEW_DISABLED):s(th.A.TIMELINE_SLIDEVIEW_TOGGLE)}`,children:(0,eW.jsx)(tD.SVGIcon,{icon:"listview",className:"h-5 w-5",ignoreBaseStyles:!0})}),(0,eW.jsx)("span",{className:"ts__border--sm [&]:bg-color-transparent",role:"none"}),(0,eW.jsx)("button",{type:"button",className:"ts_view_button flex h-6 w-6 items-center justify-center",disabled:r?.mode?.isEditing||I,onClick:()=>M(!0),"aria-label":s(th.A.TIMELINE_TILEVIEW_TOGGLE),children:(0,eW.jsx)(tD.SVGIcon,{icon:"tileview",className:"h-5 w-5",ignoreBaseStyles:!0})}),(0,eW.jsx)("span",{className:"ts__border--sm",role:"none"}),!I&&(0,eW.jsx)("button",{type:"button",className:"ts__arrow--next h-6 w-9","aria-label":s(th.A.TIMELINE_NEXT_ARROW),children:(0,eW.jsx)(tD.SVGIcon,{icon:"long-white-right"})}),I&&(0,eW.jsx)("button",{type:"button",className:"ts__arrow--next h-6 w-9",disabled:!p,"aria-label":s(th.A.TIMELINE_NEXT_ARROW),onClick:()=>b?.scrollNext(),children:(0,eW.jsx)(tD.SVGIcon,{icon:"long-white-right"})})]}),!I&&(0,eW.jsxs)("div",{className:`ts__border ${N?"is-active":""}`,children:[(0,eW.jsx)("div",{className:"ts__border-left"}),(0,eW.jsx)("div",{className:"ts__border-right"})]})]})}),il=(0,tC.w)()(e=>
88{let{fields:t,introSlideUid:a,rendering:l,showIntro:i,slideUids:r,tileView:s,params:n}=e,{page:o}=(0,tn.M5)(),{t:d}=(0,ti.s9)(),c=(0,tg.N)(n),u=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,m=l.uid===a,h=o?.mode?.isEditing,p=r?r.indexOf(l.uid??"")+1:0;return m&&!h&&!i&&s?(0,eW.jsx)(eW.Fragment,{}):(0,eW.jsxs)("div",{className:`component ts__slide-wrapper ${c}`,children:[(0,eW.jsx)("div",{className:"ts__image",children:(0,eW.jsx)(lb._,{field:t?.backgroundImage,alt:s?t?.backgroundImage?.value?.alt||void 0:"",style:u?{objectPosition:u}:{},srcSet:h?void 0:[{mw:576},{mw:768},{mw:1200},{mw:1920}],sizes:h?void 0:"(max-width: 576px) 576px, (max-width: 768px) 768px, (max-width: 1200px) 1200, 1920"})}),(0,eW.jsx)("div",{className:"ts__body",children:(0,eW.jsxs)("div",{className:"ts__body-wrapper",children:[(0,eW.jsxs)(tN.w,{className:"ts__body-title visual-grid","aria-hidden":!s||void 0,children:[p>0&&s&&(0,eW.jsxs)("span",{className:"sr-only",children:[d(th.A.TIMELINE_STEP_LABEL)," ",p-1,":"," "]}),(0,eW.jsx)(tS.E,{tag:"span",field:t?.slideTitle})]}),(0,eW.jsx)(tS.E,{className:"ts__body-text",field:t?.body,tag:"p","aria-hidden":!s||void 0}),m&&!s&&(0,eW.jsx)(tM.Gesture,{className:"mx-auto","aria-hidden":"true"})]})}),s&&(0,eW.jsx)("div",{className:"navigation-title-tileview",children:(0,eW.jsx)(tS.E,{tag:"p",field:t?.navigationTitle})})]})});var ii=a(7153),ir=a(3853);let is=e=>{("Backspace"===e.key||"Delete"===e.key)&&e.stopPropagation()},io=e=>{let{page:t}=(0,tn.M5)(),{fields:a,params:l,rendering:i}=e,r=a?.Caption?.value||"",s=`tbl_${i?.uid??void 0}`,n=`${s}`,o=(0,tg.N)(l),d=(0,tl.useRef)(null),c=(0,tl.useRef)(null),[u,m]=(0,tl.useState)(),[h,p]=(0,tl.useState)(),[g,x]=(0,tl.useState)(!1);return((0,tl.useEffect)(()=>{if(t?.mode?.isEditing){let e=new DOMParser().parseFromString(a?.TableMarkup.value,"text/html"),t=e.querySelector("table");if(t){let a=t.querySelector("caption");a&&a.remove();let l=e.createElement("caption");l.className="table-caption",l.innerHTML=r,t.insertBefore(l,t.firstChild),t.addEventListener("blur",function(){x(!1)}),t.querySelectorAll("th, td").forEach(e=>{(0,ir.$)(e,!0,p,x)}),d&&d.current&&!d.current.firstChild&&(d.current.appendChild(t),m(t))}}},[]),(0,tl.useEffect)(()=>{c&&c.current&&c.current.parentElement?.addEventListener("keydown",is)},[]),a?.TableMarkup==null||a?.TableMarkup==void 0)?t?.mode.isPreview||t?.mode.isEditing?(0,eW.jsx)("div",{className:`component custom-table custom-container z-10 ${o}`,children:(0,eW.jsx)("span",{children:"Datasource missing"})}):(0,eW.jsx)(eW.Fragment,{}):(0,eW.jsx)("div",{ref:c,className:`component custom-table custom-container z-10 ${o}`,id:s,onKeyDown:()=>x(!1),onMouseLeave:()=>x(!1),suppressHydrationWarning:!0,children:(0,eW.jsx)("div",{className:"flex flex-col gap-4",children:t?.mode?.isEditing?(0,eW.jsxs)("section",{className:"relative",children:[(0,eW.jsx)("div",{className:"hidden",children:(0,eW.jsx)(tS.E,{field:a?.TableMarkup,id:n})}),u&&(0,eW.jsx)(ii.TableControls,{table:u,onSaveHandler:()=>{let e=document.querySelector(`#${n} span`);if(e&&u){e.textContent=(u.outerHTML||"").replaceAll('contenteditable="true"',"");let t=new Event("input",{bubbles:!0});e.dispatchEvent(t)}},setCurrentCell:p,currentCell:h,setCellControlsOpen:x,cellControlsOpen:g}),(0,eW.jsx)("div",{className:"table-container",suppressHydrationWarning:!0,ref:d})]}):(0,eW.jsx)("div",{className:"table-container",dangerouslySetInnerHTML:{__html:(e=>{if(!e)return"";let t=`<caption class="table-caption">${r}</caption>`;return e.replace(/(<table\b[^>]*>)(?:\s*<caption\b[^>]*>[\s\S]*?<\/caption>)?/i,`$1${t}`)})(a?.TableMarkup?.value)}})})})},id=io,ic=(0,tC.w)()(e=>{let{rendering:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tl.useRef)(null),[r,s]=(0,tl.useState)(),n=(0,tg.N)(a);return(0,tl.useEffect)(()=>{i.current&&new ResizeObserver(()=>{s(i.current?.clientWidth)}).observe(i.current)},[i.current]),(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsx)("div",{id:l,ref:i,className:`component stacking-stats-v2 flex flex-wrap gap-4 ${n}`,children:(0,eW.jsx)(eY.O,{name:"stacking-stats",rendering:t,passThroughComponentProps:{parentWidth:r,styles:n}})})})});var iu=a(3691);let im=(0,tC.w)()((0,iu.N)(e=>{let{fields:t,params:a,parentWidth:l}=e,i=e.styles,r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a);0>s.indexOf("bg-gradient")&&(s+=" bg-gradient-blue-lightblue");let[n,o]=(0,tl.useState)(!1),[d,c]=(0,tl.useState)(!1),{page:u}=(0,tn.M5)(),m=(0,tl.useRef)(!1),{t:h}=(0,ti.s9)(),[p,g]=(0,tl.useState)(!1),x={disableAnimation:!!(u?.mode?.isEditing||i&&i.indexOf("disable-animation")>-1),prevent:""};x.prevent="",l&&l<500&&(x.prevent+="prevent-two "),l&&l<800&&(x.prevent+="prevent-three "),l&&l<1e3&&(x.prevent+="prevent-four ");let v=p?"":"min-h-16",f=u?.mode?.isEditing?"pointer-events-auto":"",b=()=>{!u?.mode?.isEditing&&t?.readMoreContentRichText?.value&&!d&&(m.current=!p,p?(0,tu.NL)(t?.title?.value?.toString()??"","closed stats","highlight card"):(0,tu.NL)(t?.title?.value?.toString()??"","see stats","highlight card"),c(!0),o(!n),setTimeout(()=>{g(!p),c(!1)},300))},j=()=>{d||(c(!0),o(!n),setTimeout(()=>{g(!p),c(!1)},300))};return(0,eW.jsx)("div",{id:r,className:`component stacking-stat-wrapper-v2 z-10 box-border w-full ${s} ${x.disableAnimation?"":"stacking-stat-v2-is-animated"} ${x.prevent}
88 ${p?"stacking-stat-is-showing-back":"stacking-stat-is-showing-front"}`,style:x.disableAnimation?{}:{transform:n?"rotateY(180deg)":"rotateY(0)",transition:"transform 0.6s linear",transformStyle:"preserve-3d"},children:(0,eW.jsxs)("div",{"aria-live":"polite",role:t?.readMoreContentRichText?.value?"button":"",tabIndex:t?.readMoreContentRichText?.value?0:-1,onKeyDown:e=>{"Enter"===e.key&&!u?.mode?.isEditing&&t?.readMoreContentRichText?.value&&b()},onClick:()=>u?.mode?.isEditing?{}:t?.readMoreContentRichText?.value?b():{},style:x.disableAnimation?{}:{transform:p?"rotateY(180deg)":"rotateY(0)"},className:`relative flex min-h-66.5 w-full flex-col border-1 border-color-primary-350 p-6 ${!p?"justify-between":""} ${t?.readMoreContentRichText?.value?"cursor-pointer":""} `,children:[(0,eW.jsx)("div",{className:`stacking-stat-title ${v} mb-4 text-xl font-semibold leading-none -tracking-[0.6%]`,children:(0,eW.jsx)(tS.E,{className:`${f}`,field:t?.title})}),(0,eW.jsxs)("div",{className:"mb-8 flex flex-col flex-wrap",children:[(0,eW.jsx)("div",{"aria-hidden":m.current,className:`${p?"hidden":""}`}),(0,eW.jsxs)("div",{"aria-hidden":p,className:`${p?"hidden":""}`,children:[(0,eW.jsx)("div",{className:"stacking-stat-gradient-title stacking-stat-content-v2 absolute bottom-0 mb-19 whitespace-nowrap bg-clip-text text-stacking font-bold leading-normal tracking-normal text-color-transparent caret-color-black",children:(0,eW.jsx)(tS.E,{className:`${f}`,field:t?.statContent})}),(0,eW.jsx)("div",{className:"stacking-stat-subtitle absolute bottom-0 text-base font-normal leading-tight text-color-black",children:(0,eW.jsx)(tS.E,{className:`${f}`,field:t?.statSubtitle})}),(t?.readMoreContentRichText?.value||u?.mode?.isEditing)&&(0,eW.jsx)("div",{onClick:j,className:"absolute bottom-0 right-0 mb-6 mr-6 border-b-1 border-color-primary-150 pb-1 text-right align-middle text-base font-normal leading-tight text-color-black",children:(0,eW.jsx)("span",{children:h(th.A.STACKING_STATS_READ_MORE)})})]}),(0,eW.jsx)("div",{"aria-hidden":!m.current,className:`${p?"":"hidden"}`}),(0,eW.jsxs)("div",{"aria-hidden":!p,className:`${p?"":"hidden"}`,children:[(0,eW.jsx)("div",{className:"stacking-stat-content-v2 pb-2 text-left text-base font-normal leading-tight text-color-white",children:(0,eW.jsx)(tG.SmartRichText,{className:`${f}`,field:t?.readMoreContentRichText})}),(0,eW.jsx)("div",{onClick:j,className:"absolute bottom-0 right-0 mb-6 mr-6 border-b-1 border-color-primary-150 pb-1 text-right align-middle text-base font-normal leading-tight text-color-white",children:(0,eW.jsx)("span",{children:h(th.A.STACKING_STATS_SEE_STATS)})})]})]})]})})})),ih=({item:e,styles:t,parentWidth:a})=>{let l=()=>{s||(n(!0),r(!i),setTimeout(()=>{u(!c),n(!1)},300))},[i,r]=(0,tl.useState)(!1),[s,n]=(0,tl.useState)(!1),{page:o}=(0,tn.M5)(),{t:d}=(0,ti.s9)(),[c,u]=(0,tl.useState)(!1),m={disableAnimation:!!(t&&t.indexOf("disableAnimation")>-1),switchSubtitle:!!(t&&t.indexOf("switchSubtitle")>-1),prevent:""};m.prevent="",a&&a<500&&(m.prevent+="prevent-two "),a&&a<800&&(m.prevent+="prevent-three "),a&&a<1e3&&(m.prevent+="prevent-four ");let h=i&&!m.disableAnimation?"rotateY(180deg)":"rotateY(0)",p=c&&!m.disableAnimation?"rotateY(180deg)":"rotateY(0)",g=c?"":"min-h-16",x=o?.mode?.isEditing?"pointer-events-auto":"",v=e?.background?.targetItem?.value?.value?e.background.targetItem.value.value:"bg-color-white",f=v.indexOf("bg-dark")>=0?" text-color-white":" text-color-primary",b=c?"":"hidden",j=c?"hidden":"";return(0,eW.jsx)("div",{style:{transform:h,transition:"all 0.6s linear",transformStyle:"preserve-3d"},className:`component stacking-stat-wrapper z-10 box-border w-full p-4 ${m.prevent}`,children:(0,eW.jsxs)("div",{onClick:()=>void(!o?.mode?.isEditing&&e?.readMoreContentRichText?.data?.value&&!s&&(!c&&(0,tu.NL)(e?.title?.data?.value?.toString()??"","see stats","highlight card"),n(!0),r(!i),setTimeout(()=>{u(!c),n(!1)},300))),style:{transform:p},className:`relative flex min-h-66.5 w-full flex-col border-1 border-color-primary-350 p-4 ${e?.readMoreContentRichText?.data?.value?"cursor-pointer":""} ${e?.readMoreContentRichText?.data?.value&&!c?"bg-color-gray-100 text-color-primary":v+f}`,children:[(0,eW.jsx)("div",{className:`stacking-stat-title ${g} mb-4 text-xl font-semibold`,children:(0,eW.jsx)(tS.E,{className:`${x}`,field:e?.title?.data})}),(0,eW.jsx)("div",{className:`stacking-stat-content whitespace-nowrap pb-2 text-stacking font-bold ${j}`,children:(0,eW.jsx)(tS.E,{className:`${x}`,field:e?.statContent?.data})}),(0,eW.jsx)("div",{className:`stacking-stat-subtitle text-base font-normal ${j}`,children:(0,eW.jsx)(tS.E,{className:`${x}`,field:e?.statSubtitle?.data})}),(0,eW.jsx)("div",{className:`stacking-stat-content pb-2 text-left text-base font-normal ${b}`,children:(0,eW.jsx)(tG.SmartRichText,{className:`${x}`,field:e?.readMoreContentRichText?.data})}),(e?.readMoreContentRichText?.data?.value||o?.mode?.isEditing)&&(0,eW.jsx)("div",{className:`stacking-stat-readmore absolute bottom-0 right-0 mb-3 mr-4 border-b-1 pb-1 text-right text-base font-normal ${j}`,children:(0,eW.jsx)("span",{onClick:()=>o?.mode?.isEditing?l():"",children:d(th.A.STACKING_STATS_READ_MORE)})}),(0,eW.jsx)("div",{className:`stacking-stat-readmore absolute bottom-0 right-0 mb-3 mr-4 border-b-1 pb-1 text-right text-base font-normal ${b}`,children:(0,eW.jsx)("span",{onClick:()=>o?.mode?.isEditing?l():"",children:d(th.A.STACKING_STATS_SEE_STATS)})})]})})},ip=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,{page:i}=(0,tn.M5)(),r=(0,tl.useRef)(null),[s,n]=(0,tl.useState)();(0,tl.useEffect)(()=>{r.current&&new ResizeObserver(()=>{n(r.current?.clientWidth)}).observe(r.current)},[r.current]);let o=(0,tg.N)(a);return(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{id:l,ref:r,className:`component stacking-stats flex flex-wrap ${o}`,children:[t?.data?.datasource?.children?.results.length==0&&i?.mode?.isEditing&&(0,eW.jsx)("div",{children:"Please add stats using the Manage items option"}),t?.data?.datasource?.children?.results&&t?.data?.datasource?.children?.results?.map((e,t)=>(0,eW.jsx)(ih,{item:e,styles:o,parentWidth:s},t))]})})});var ig=a(3963);let ix=e=>{let{fields:t,params:a}=e,{styles:l,id:i}={styles:(0,tg.N)(a),id:a?.RenderingIdentifier},{page:r}=(0,tn.M5)(),[s,n]=(0,tl.useState)(""),o=(0,lt.Sz)(),d=!1;t?.data?.contextItem?.ancestors!=void 0&&t.data.contextItem.ancestors.length>0&&(d=t?.data?.contextItem?.ancestors[0].enableSocialSharingForChildren.value=="1");let c=t?.data?.item?.children?.results.length>0,u=e=>{if(null!==e){let t=String(e?.SocialMediaUrl?.jsonValue?.value);if(""!==t)return`${t.replace("${currentLink}",encodeURIComponent(s))}`;{let t=String(e.EmailSubject?.jsonValue?.value),a=`${String(e.EmailBody?.jsonValue?.value).replace("${currentLink}",s).replace("${currentTitle}",o?.pageTitle?o?.pageTitle:"")}`;return`${String(e.EmailRecipient?.jsonValue?.value).replace("${subject}",t).replace("${body}",encodeURIComponent(a))}`}}return""};return(0,tl.useEffect)(()=>{n(`${window.location.href}`)},[]),(0,eW.jsx)("div",{className:`component social-network-share ${l}`,id:i||void 0,children:d&&c&&(0,eW.jsxs)("div",{className:"social-share",children:[(0,eW.jsx)("div",{className:"social-share-header bg-color-transparent",children:t?.data?.item?.ShareLabel?.jsonValue?.value}),(0,eW.jsx)("ul",{className:"social-share-channels",children:t?.data?.item?.children?.results?.map((e,t)=>{let a;return(0,eW.jsx)("li",{onClick:()=>{(e=>{if(r?.mode?.isEditing||null==e)return;let t=o?.pageTitle!=void 0?o?.pageTitle:"",a=String(e.SocialMediaName?.jsonValue?.value),l=u(e),i=o?.pageTemplate?.replace(ig.V.templateSuffix,"");(0,tu.o0)(a,"Share",l,t,i?i.trim():"")})(e)},children:(a={href:u(e),name:String(e?.SocialMediaName?.jsonValue?.value),icon:String(e?.SocialMediaName?.jsonValue?.value).toLowerCase()},(0,eW.jsx)(aI(),{href:a.href,title:a.name,target:"_blank",rel:"noopener noreferrer",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"social",icon:a.icon})}
88))},t)})})]})})};var iv=a(66);let ib=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{styles:l,id:i}={styles:(0,tg.N)(a),id:a?.RenderingIdentifier??void 0},{page:r}=(0,tn.M5)(),s={auto:r?.mode?.isEditing?"pointer-events-auto":"",none:r?.mode?.isEditing?"pointer-events-none":""},n=`${t?.bgImageFocalPoint?.Left} ${t?.bgImageFocalPoint?.Top}`;return(0,eW.jsx)("div",{className:`component section-breaker ${l} relative`,children:(0,eW.jsx)(iv.DynamicBorderContent,{backgroundImage:t.bgImage,focalpoint:n,id:i,frequency:a.Frequency,position:a.Position,children:(0,eW.jsx)("div",{className:"fluid-grid",children:(0,eW.jsxs)("div",{className:`section-breaker--content ${s.auto}`,children:[(0,eW.jsx)(tN.w,{className:"visual-grid--px heading-2 mb-4 block w-full break-words text-color-white after:bottom-1.25 xl:after:bottom-2.25",children:(0,eW.jsx)(tS.E,{field:t.title})}),(0,eW.jsx)(tS.E,{field:t.subtitle,className:"mb-4 block max-w-full break-words text-htagline text-color-white lg:text-htaglinelg xl:text-htaglinexl",tag:"p"}),(r?.mode?.isEditing||!!t.cta?.value?.href)&&(0,eW.jsx)("div",{children:(0,eW.jsx)(lM.TextLink,{field:t.cta,variant:"button--yellowline-white",className:s.auto})})]})})})})});var ij=a(4402),iE=a(1714);let iN=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=(0,tc.useRouter)(),s=i?.mode?.isEditing||!1,n=t?.topic?.value?t.topic.value:t?.subtitle?.value,o=e.params.EnabledPlaceholders?.split(",")??[],[d,c]=(0,tl.useState)([]),[u,m]=(0,tl.useState)(""),[h,p]=(0,tl.useState)(!1),[g,x]=(0,tl.useState)(!s),v=+!(0,tg.D)(a.hideMainSlide),f="scrollytelling-scroll",b="no-scroll";(0,tl.useEffect)(()=>{let e=history.scrollRestoration;return history.scrollRestoration="manual",()=>{history.scrollRestoration=e}},[]),(0,tl.useEffect)(()=>(document.documentElement.classList.add(f),c(j()??[]),()=>{document.documentElement.classList.remove(f)}),[]),(0,tl.useEffect)(()=>{if(s)return;let e="scroll",t=aH()(()=>{x(!1),window.removeEventListener(e,t)},300);return window.addEventListener(e,t),()=>{window.removeEventListener(e,t)}},[]),(0,tl.useEffect)(()=>(h?document.documentElement.classList.add(b):document.documentElement.classList.remove(b),()=>{document.documentElement.classList.remove(b)}),[h]);let j=()=>{let e=n&&!(0,tg.D)(a.hideMainSlide)?[{anchor:(0,aJ.f)(n)||l.uid,title:t.topic,uid:l.uid,fallbackTitle:n,downloadLink:t.downloadLink}]:[];if(l?.placeholders){let t=Object.keys(l.placeholders).length;for(let a=1;a<=t;a++){let t=l?.placeholders?.[`slide-${a}`],i=t?.find(e=>e?.componentName==="ScrollytellingSlide");if(i){let t=i.fields?.topic?.value?i.fields.topic.value:i.fields?.subtitle?.value;if(s&&!t)return;e.push({anchor:(0,aJ.f)(t),title:i.fields?.topic,uid:"",fallbackTitle:t})}}}let i={};return e?.forEach(e=>{void 0===i[e.anchor]?i[e.anchor]=1:(e.anchor=`${e.anchor}-${i[e.anchor]}`,i[e.anchor]++)}),e},E=()=>{h&&p(!1)};return(0,tl.useEffect)(()=>{!s&&g&&setTimeout(()=>{let e=window.location.hash;e&&(0===d.length||e!==`#${d[0]?.anchor}`)||x(!1)},500)},[d]),(0,tl.useEffect)(()=>{if(!s&&!g){if(!u)return;let e=`#${u}`;window.location.hash!==e&&window.history.replaceState(window.history.state,"",e)}},[u]),(0,tl.useEffect)(()=>{if(s)return;let e=e=>{let{pathname:t}=r,a=r.asPath.includes("#");e!==t&&a&&setTimeout(()=>{let e=r.asPath.split("#")[1];m(e);let t=document.getElementById(e);t&&t.scrollIntoView({block:"start",behavior:"smooth"})},50)};return r.events.on("routeChangeComplete",e),()=>{r.events.off("routeChangeComplete",e)}},[r]),(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(iE.ScrollytellingMenu,{menuItems:d,currentSlide:u,setMenuOpen:p,menuOpen:h,downloadLink:t.downloadLink}),(0,eW.jsxs)("div",{className:"component scrollytelling",children:[!(0,tg.D)(a.hideMainSlide)&&(0,eW.jsx)(ij.default,{id:d[0]?.anchor,params:a,fields:t,setCurrentSlide:m,isPrimaryHeading:!0,closeMenu:E,rendering:l,isScrolling:g}),o.map((e,t)=>{let i=`slide-${e}`,r=d.length-v,s={id:d[t+v]?.anchor,setCurrentSlide:m,closeMenu:E,isLastIndex:t+v===r,isScrolling:g,isPrimaryHeading:!!(0,tg.D)(a.hideMainSlide)&&0===t};return(0,eW.jsx)(eY.O,{name:i,rendering:l,passThroughComponentProps:s},t)})]}),(0,eW.jsxs)("div",{className:"comp-info","aria-hidden":"true",children:[(0,eW.jsx)("div",{className:"comp-info__arrow",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"long-arrow",icon:"long-arrow",alt:"long arrow"})}),(0,eW.jsxs)("label",{className:"comp-info__label",children:[d?(d.findIndex(e=>e.anchor===u)+1)?.toString()?.padStart(2,"0"):"01","\xa0/\xa0",d?.length?.toString()?.padStart(2,"0")]})]})]})},iw=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),r=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"";return(0,eW.jsx)("div",{className:`component ${i} custom-rich-text ${r}`,id:l,children:(0,eW.jsx)(tG.SmartRichText,{field:t?.content})})});var iy=a(2146);let i_="contents",iA=[{mw:100},{mw:320},{mw:500}],iS="(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",iC=e=>(0,eW.jsx)(iI,{...e,variant:i_}),iT=e=>(0,eW.jsx)(iI,{...e,variant:"stories"}),iI=e=>{let{fields:t,variant:a,params:l}=e,i=l?.RenderingIdentifier??void 0;am().extend(lW());let r={container:(0,tg.N)(l),variant:`related-content--${a===i_?"contents":"stories"}`};return t?.data?.datasource?(0,eW.jsx)("div",{id:i||void 0,className:`component related-content ${r.variant} ${r.container}`,children:(0,eW.jsx)("div",{className:"related-content-contents",children:(0,eW.jsxs)("div",{className:"related-content-container",children:[(0,eW.jsx)("div",{className:"related-content-heading-container",children:(0,eW.jsx)(tN.w,{className:"related-content-heading",children:(0,eW.jsx)(tS.E,{field:t.data?.datasource?.field?.title})})}),t.data?.datasource?.children?.results&&t.data?.datasource?.children?.results?.length>0?(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("ul",{className:"contents",children:t.data.datasource.children.results.map((e,t)=>(0,eW.jsxs)("li",{className:"related-content-card-container list-none",children:[e.template?.name===ig.V.relatedContentLink&&(0,eW.jsx)(iL,{fields:e},t),e.template?.name===ig.V.relatedStoryLink&&(0,eW.jsx)(ik,{fields:e,params:l},t)]},t))})}):null]})})}):(0,eW.jsx)(eW.Fragment,{})},iL=({fields:e})=>{let{page:t}=(0,tn.M5)();return e?t?.mode?.isEditing?(0,eW.jsxs)("div",{className:"related-content-card related-content-card--content",children:[(0,eW.jsx)(lb._,{editable:e.link?.data?.value?.linktype!==iy.J.INTERNAL,srcSet:t?.mode?.isEditing?void 0:iA,sizes:t?.mode?.isEditing?void 0:iS,className:"related-content-card-image",field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e.link?.targetItem?.image?.data:e.bgImage?.data,alt:""}),(0,eW.jsxs)("div",{className:"related-content-card-body rte-container",children:[(0,eW.jsx)(aM.SmartLink,{className:"related-content-card-title",field:e.link?.data}),(0,eW.jsx)(tG.SmartRichText,{className:"related-content-card-text",editable:e.link?.data?.value?.linktype!==iy.J.INTERNAL,field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e?.link?.targetItem?.summary?.data:e?.content?.data})]})]}):(0,eW.jsxs)(aM.SmartLink,{externalIconTargetClassName:"related-content-card-title",className:"related-content-card related-content-card--content",field:e.link?.data,onClick:(0,t3.h)(e.link?.data)?void 0:e=>{e.preventDefault()},children:[(0,eW.jsx)(lb._,{srcSet:t?.mode?.isEditing?void 0:iA,sizes:t?.mode?.isEditing?void 0:iS,className:"related-content-card-image",field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e.link?.targetItem?.image?.data:e.bgImage?.data,alt:""}),(0,eW.jsxs)("div",{className:"related-content-card-body rte-container",children:[e.link?.data?.value?.linktype===iy.J.INTERNAL?(0,eW.jsx)(tS.E,{editable:!1,field:{value:e?.link?.targetItem?.title?.data?.value},className:"related-content-card-title",tag:"h3"}):(0,eW.jsx)(tS.E,{editable:!1,field:{value:e.link.data.value.text},className:"related-content-card-title",tag:"h3"}),(0,eW.jsx)(tG.SmartRichText,{className:"related-content-card-text",field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e.link?.targetItem?.summary?.data:e.content.data})]})]}):(0,eW.jsx)(eW.Fragment,{})},ik=({fields:e})=>{let{page:t}=(0,tn.M5)();return e?t?.mode?.isEditing?(0,eW.jsxs)("div",{className:"related-content-card related-content-card--story",children:[(0,eW.jsx)(lb._,{editable:e.link?.data?.value?.linktype!==iy.J.INTERNAL,srcSet:t?.mode?.isEditing?void 0:iA,sizes:t?.mode?.isEditing?void 0:iS,className:"related-content-card-image",field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e.link?.targetItem?.image?.data:e.bgImage?.data,alt:""}),(0,eW.jsxs)("div",{className:"related-content-card-body",children:[e.link?.data?.value?.linktype==iy.J.INTERNAL?(0,eW.jsx)("p",{className:"related-content-card-subtitle",children:e.link?.targetItem?.articleDate?.data?.value&&e.link?.targetItem?.articleDate?.data?.value!=th.A.DEFAULT_DATE?am()(e.link?.targetItem?.articleDate?.data?.value).utc().format("MMMM DD, YYYY"):e.link?.targetItem?.subtitle?e.link?.targetItem?.subtitle?.data?.value:void 0}):(0,eW.jsx)(tS.E,{editable:!0,field:e?.subtitle?.data,className:"related-content-card-subtitle",tag:"p"}),(0,eW.jsx)(aM.SmartLink,{editable:!0,className:"related-content-card-title",field:e.link?.data})]})]}):(0,eW.jsxs)(aM.SmartLink,{className:"related-content-card related-content-card--story",field:e.link?.data,onClick:(0,t3.h)(e.link?.data)?void 0:e=>{e.preventDefault()},children:[(0,eW.jsx)(lb._,{srcSet:[{mw:100},{mw:320},{mw:500}],sizes:"(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",className:"related-content-card-image",field:e.link.data.value.linktype===iy.J.INTERNAL?e.link?.targetItem?.image?.data:e.bgImage?.data,alt:""}),(0,eW.jsxs)("div",{className:"related-content-card-body",children:[e.link?.data?.value?.linktype==iy.J.INTERNAL?(0,eW.jsx)("p",{className:"related-content-card-subtitle",children:e.link?.targetItem?.articleDate?.data?.value&&e.link?.targetItem?.articleDate?.data?.value!=th.A.DEFAULT_DATE?am()(e.link?.targetItem?.articleDate?.data?.value).utc().format("MMMM DD, YYYY"):e.link?.targetItem?.subtitle?e.link?.targetItem?.subtitle?.data?.value:void 0}):(0,eW.jsx)(tS.E,{editable:!1,field:e?.subtitle?.data,className:"related-content-card-subtitle",tag:"p"}),(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tS.E,{editable:!1,field:e.link?.data?.value?.linktype===iy.J.INTERNAL?e.link?.targetItem?.title?.data:{value:e?.link?.data?.value?.text}})})]})]}):(0,eW.jsx)(eW.Fragment,{})},iR=(0,tC.w)()(e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),[n,o]=(0,tl.useState)(!!i?.mode?.isEditing);return(0,eW.jsxs)("div",{id:r,className:`component read-more-panel rte-container ${s}`,children:[(!!t?.text?.value||i?.mode?.isEditing)&&(0,eW.jsx)("div",{className:"read-more-panel-title-container",children:(0,eW.jsx)(tN.w,{className:"read-more-panel-title",children:(0,eW.jsx)(tS.E,{field:t?.text})})}),(0,eW.jsxs)("div",{className:`read-more-panel-content-container ${n?"show":"hide"}`,"aria-hidden":!n,children:[(0,eW.jsxs)("div",{className:"read-more-panel-button-container",children:[(0,eW.jsx)("hr",{className:"read-more-panel-button-line"}),(0,eW.jsx)("button",{className:"read-more-panel-button",onClick:()=>
88{if(o(!n),!i?.mode?.isEditing){let e=r||l?.uid;(0,tu.NL)(`${t?.text?.value} - ${e}`,void 0,n?"read more close":"read more open")}},"aria-label":t?.text.value,"aria-expanded":n,children:(0,eW.jsx)(tD.SVGIcon,{icon:"plus",className:"read-more-panel-button-icon"})})]}),(0,eW.jsx)("div",{className:"read-more-panel-content","aria-hidden":!n,children:(0,eW.jsx)("div",{className:"read-more-panel-content-grid",children:(0,eW.jsx)("div",{className:"component-wrapper fluid-grid",children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"read-more-panel-content",rendering:l})})})})})]})]})}),i$=e=>{let{params:t,fields:a}=e,l=t?.RenderingIdentifier??void 0,i=(0,tg.N)(t),r=`${a?.imageFocalPoint?.Left} ${a?.imageFocalPoint?.Top}`,{page:s}=(0,tn.M5)();return a?(0,eW.jsxs)("div",{id:l||void 0,className:`component quotes quotes--image-left ${i}`,children:[(0,eW.jsx)("div",{className:"quotes-section__image",children:(0,eW.jsx)("div",{className:"full-image relative z-10 md:h-65",children:(0,eW.jsx)(lb._,{srcSet:s?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576}],sizes:s?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, 576px",field:a?.image,title:a?.image?.value?.alt,alt:a?.image?.value?.alt,className:"object-fill md:object-cover",style:r?{objectPosition:r}:{},loading:"lazy"})})}),(0,eW.jsxs)("div",{className:"quotes-section__text",children:[(0,eW.jsx)(tS.E,{tag:"blockquote",field:a?.quote,className:"quotes-text"}),(0,eW.jsx)(tS.E,{tag:"figcaption",field:a?.name,className:"quotes-author"}),(0,eW.jsxs)("div",{className:"quotes-info",children:[(0,eW.jsx)(tS.E,{tag:"p",field:a?.role}),(0,eW.jsx)(tS.E,{tag:"p",field:a?.location})]})]})]}):(0,eW.jsx)(eW.Fragment,{})},iD=(0,tC.w)()(e=>{let{params:t,fields:a}=e,l=t?.RenderingIdentifier??void 0,i=(0,tg.N)(t),r=`${a?.imageFocalPoint?.Left} ${a?.imageFocalPoint?.Top}`,{page:s}=(0,tn.M5)();return(0,eW.jsxs)("div",{id:l||void 0,className:`component quotes quotes--default ${i}`,children:[(0,eW.jsxs)("div",{className:"quotes-section__text",children:[(0,eW.jsx)(tS.E,{tag:"blockquote",field:a?.quote,className:"quotes-text"}),(0,eW.jsxs)("cite",{className:"-mt-[1px] not-italic",children:[(0,eW.jsx)(tS.E,{tag:"p",field:a?.name,className:"quotes-author mb-6 block"}),(0,eW.jsxs)("div",{className:"quotes-info",children:[(0,eW.jsx)(tS.E,{tag:"p",field:a?.role}),(0,eW.jsx)(tS.E,{tag:"p",field:a?.location})]})]})]}),(0,eW.jsx)("div",{className:"quotes-section__image",children:(0,eW.jsx)("div",{className:"full-image relative z-10 md:h-65",children:(0,eW.jsx)(lb._,{srcSet:s?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576}],sizes:s?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, 576px",field:a?.image,title:void 0,alt:a?.image?.value?.alt,className:"object-fill md:object-cover",style:r?{objectPosition:r}:{},loading:"lazy"})})})]})});var iO=a(3581);let iF=e=>(0,eW.jsx)(iP,{bannerType:aD.IB.productDetail,variant:aD.HI.sideImageLarge,layout:aD.YF.sideImageLayout,...e}),iM=e=>(0,eW.jsx)(iP,{bannerType:aD.IB.productDetail,variant:aD.HI.sideImage,layout:aD.YF.sideImageLayout,...e}),iP=e=>{let{fields:t}=e,a={...e,fields:{backgroundImage:t.Image,backgroundImageFocalPoint:t.ImageFocalPoint,title:t.Title,subtitle:t.Subtitle}};return t?(0,eW.jsx)(iO.HeroBanner,{...a}):(0,eW.jsx)("p",{children:"Error: Failed to fetch field properties"})},iV=(0,tC.w)()(iP);var iB=a(8742);let iH=(0,tC.w)()(e=>{let t,{fields:a,params:l}=e,{title:i,children:r}=a?.data?.datasource||{},s=l?.RenderingIdentifier??void 0,{page:n}=(0,tn.M5)(),o=(0,tl.useRef)(null),d=(0,tl.useRef)(null),[c,u]=(0,tl.useState)(!0),[m,h]=(0,tl.useState)(!0),[p,g]=(0,tl.useState)(!1),x=(0,tl.useRef)(0),[v,f]=(0,tl.useState)(!1),{t:b}=(0,ti.s9)(),[j,E]=(0,tl.useState)(!1),N=(0,tl.useRef)({startX:0,scrollLeft:0}),w=0,y=0,_=(0,tl.useRef)(null),A={root:null,rootMargin:"0px",threshold:.5};(0,tl.useEffect)(()=>{let e=new IntersectionObserver(t=>C(t,e),A);d.current&&e.observe(d.current);let t=new IntersectionObserver(e=>S(e,t),A);o.current&&t.observe(o.current)},[]);let S=e=>
88{e.forEach(e=>{e.isIntersecting?u(!0):u(!1)})},C=e=>{e.forEach(e=>{e.isIntersecting?h(!0):h(!1)})},T=(0,tg.N)(l);(0,tl.useEffect)(()=>(_.current&&(_.current.addEventListener("scroll",k),_.current.addEventListener("keydown",I)),()=>{_.current?.removeEventListener("scroll",k),_.current?.removeEventListener("keydown",I)}),[_]);let I=e=>{n?.mode?.isEditing||("ArrowRight"===e.key?(R("right"),e.preventDefault()):"ArrowLeft"===e.key&&(R("left"),e.preventDefault()))},L=()=>{if(n?.mode?.isEditing||(E(!1),!_.current))return;let e=_.current,a=()=>{e.scrollLeft-=w,Math.abs(w*=.95)>.5?t=requestAnimationFrame(a):cancelAnimationFrame(t)};a(),window.getSelection()?window.getSelection()?.removeAllRanges():document.getSelection()&&document.getSelection()?.empty()},k=(0,tl.useCallback)(aH()(()=>{if(!_.current)return;g(!0);let e=_.current.querySelectorAll("[data-mixed-card-index]"),t=Number.MAX_SAFE_INTEGER,a=-1;e.forEach((e,l)=>{let i=Math.max(e.getBoundingClientRect().left,-50);i>-50&&i<t&&(t=i,a=l)}),x.current=a},20),[]),R=e=>{if(g(!0),!_.current)return;let t=_.current.querySelector("[data-mixed-card-index='"+(x.current+("left"==e?-1:1))+"']");if(t){let e=t.getAttribute("data-mixed-card-index");e&&0==+e?_.current.scrollTo({left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}};return(0,tl.useEffect)(()=>{let e=_.current;if(!e)return;let t=e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",e=>e.preventDefault(),{passive:!1}),e.querySelectorAll("img").forEach(e=>{e.setAttribute("draggable","false")})},a=()=>{e.querySelectorAll("a").forEach(t)};a();let l=new MutationObserver(a);return l.observe(e,{childList:!0,subtree:!0}),()=>l.disconnect()},[]),(0,eW.jsxs)("div",{id:s,className:`component mixed-cards ${T}`,children:[(0,eW.jsx)("p",{className:"sr-only relative",children:b(th.A.ACC_MIXED_CARDS_LABEL,{numberOfComponents:r.results.length})}),(0,eW.jsxs)("div",{className:"mixed-cards-heading-wrapper mb-8 flex lg:mx-45",children:[i?.data?.value||n?.mode?.isEditing?(0,eW.jsx)(tN.w,{className:"mixed-cards-title flex flex-1 items-center text-h3 leading-7 text-color-primary lg:text-4xl lg:leading-9",children:(0,eW.jsx)(tS.E,{field:i?.data})}):(0,eW.jsx)("div",{className:"flex-1 text-h4 leading-6 md:text-h3 md:leading-7 lg:text-4xl lg:leading-9",children:"\xa0"}),(0,eW.jsxs)("div",{className:"paddles float-right ml-4 pr-[1px] pt-[1px] sm:ml-8",children:[(0,eW.jsx)("button",{"aria-label":b(th.A.ACC_PREVIOUS_ITEM),className:"left-paddle relative mr-3 h-12 w-12 rounded-50 bg-color-white shadow-arrow",onClick:()=>R("left"),children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${!c?"fill-color-primary":"fill-color-primary-350"} `,icon:"arrow-left"})}),(0,eW.jsx)("button",{"aria-label":b(th.A.ACC_NEXT_ITEM),className:"right-paddle relative float-right h-12 w-12 rounded-50 bg-color-white shadow-arrow",onClick:()=>R("right"),children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${!m?"fill-color-primary":"fill-color-primary-350"} `,icon:"arrow-right"})})]})]}),(0,eW.jsxs)("div",{className:`scrollbar-hide relative z-10 flex overflow-auto [&>a]:[-webkit-user-drag:none] [&>a]:[user-drag:none] [&>a_img]:[-webkit-user-drag:none] [&>a_img]:[user-drag:none] ${j?"cursor-grabbing":"cursor-grab"}`,ref:_,role:"tabpanel",onMouseDown:e=>{if(n?.mode?.isEditing||!_.current)return;let t=_.current,a=e.pageX-t.offsetLeft;N.current={startX:a,scrollLeft:t.scrollLeft},E(!0),f(!1),y=a,window.getSelection()?window.getSelection()?.removeAllRanges():document.getSelection()&&document.getSelection()?.empty()},onMouseUp:L,onMouseMove:e=>{if(n?.mode?.isEditing||!j||!_.current)return;e.preventDefault();let t=_.current,a=e.pageX-t.offsetLeft,l=a-N.current.startX;t.scrollLeft=N.current.scrollLeft-l,w=a-y,y=a,Math.abs(e.clientX-N.current.startX)>5&&f(!0)},onMouseLeave:L,tabIndex:-1,"aria-label":b(th.A.ACC_MIXED_CARDS_LABEL,{numberOfComponents:r.results.length}),"aria-live":"polite",children:[!n?.mode?.isEditing&&!m&&(0,eW.jsx)(tM.Gesture,{className:"absolute left-50p z-10 mt-32",isActive:p}),(0,eW.jsx)("div",{ref:o}),r?.results?.length==0&&n?.mode?.isEditing&&(0,eW.jsx)("div",{children:"Add cards using the Manage items option"}),(0,eW.jsx)(tx.w,{children:r?.results?.length>0&&r?.results?.map((e,t)=>(0,tl.createElement)(iB.default,{...e,key:t,index:t,isLast:t===r.results.length-1,isDragging:v}))}),(0,eW.jsx)("div",{className:"min-w-[1px]",ref:d})]})]})}),iU=(e,t)=>e?.hasOwnProperty("folderTitle")?iG(e,t):(0,eW.jsx)("div",{className:"location-overview-content",children:iq(e)}),iG=(e,t)=>
88{let a=e?.itemName?.toLocaleLowerCase()?.replace(" ","-");return(0,eW.jsx)(eW.Fragment,{children:e?.locationData?.results?(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{className:"location-overview-content",id:a,children:[(0,eW.jsxs)("div",{className:"location-overview-heading",children:[(0,eW.jsx)(tN.w,{className:"location-overview-card-heading",children:(0,eW.jsx)(tS.E,{field:e?.folderTitle?.data,editable:!1})}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.subTitle?.data,className:"location-overview-card-sub-heading",editable:!1})]}),(0,eW.jsx)("ul",{children:e?.locationData?.results?e.locationData.results.map(e=>iq(e)):e?.locationFolder?.results?.map(e=>iU(e,t))})]})}):e?.locationFolder?.results?.map(e=>iU(e,t))})},iq=e=>e?.title?(0,eW.jsxs)("li",{className:"location-overview-details",children:[(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(tN.w,{className:"location-overview-card-title",children:(0,eW.jsx)(tS.E,{field:e?.title?.data,editable:!1})})}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.description?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.addressLine1?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.addressLine2?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.addressLine3?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.addressLine4?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.postalCode?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.region?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.country?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"a",field:e?.phoneNumber?.data,className:"location-overview-card-link",href:"tel:"+e?.phoneNumber?.data.value,editable:!1}),(0,eW.jsx)(tS.E,{tag:"a",field:e?.emailAddress?.data,className:"location-overview-card-link",href:"mailto:"+e?.emailAddress?.data.value,editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.latitude?.data,className:"location-overview-card-text",editable:!1}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.longitude?.data,className:"location-overview-card-text",editable:!1})]},e?.title?.data?.value):(0,eW.jsx)(eW.Fragment,{}),iz=(0,tC.w)()(({fields:e,params:t})=>{let a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t),{page:i}=(0,tn.M5)(),r=e?.data?.datasource;return(0,eW.jsx)("div",{id:a,className:`component location-overview ${l}`,children:(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{className:"location-overview-title-container",children:(0,eW.jsx)("div",{className:"heading-text",children:(0,eW.jsx)(tN.w,{className:"location-overview-title-text",children:(0,eW.jsx)(tS.E,{field:r?.locationOverviewTitle?.data})})})}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("div",{className:"location-overview-content-container",children:r?.locationFolder?.targetItem||!i?.mode?.isEditing?iU(r?.locationFolder.targetItem,t):(0,eW.jsx)("div",{className:"no-source",children:(0,eW.jsx)("p",{children:"Select datasource"})})})})]})})}),iW=[{mw:100},{mw:320},{mw:500},{mw:576},{mw:1200}],iY="(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 575px, 1200px",iJ=e=>{let t=e.currentTarget.querySelector("img");t?.click()},iQ=e=>{let{key:t}=e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t))return;let a=e.currentTarget.querySelector("img");a&&(0,lN.panZoomableImage)(a,t)&&e.preventDefault()},iK=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"",d=t.image?.value?.alt??"",{t:c}=(0,ti.s9)(),u=c(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:d});return(0,eW.jsx)("div",{id:r,className:`component itb itb--centered ${s}`,"data-testid":r,children:(0,eW.jsxs)("div",{className:"itb-container component-wrapper",children:[(0,eW.jsx)(tN.w,{className:`itb-img-title heading-4 text-color-primary ${o}`,children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{tag:"p",className:"itb-img-intro mb-6 text-lgbody text-color-primary xl:text-lgbodyxl",field:t?.largeParagraph}),(0,eW.jsx)(tG.SmartRichText,{field:t?.text,className:`itb-rt custom-rich-text ${o}`}),(0,eW.jsxs)("figure",{children:[(0,eW.jsx)("div",{className:"itb-img",children:(0,eW.jsx)(lw,{enableImageEnlargement:t.EnableImageEnlargement?.value,isEditing:i?.mode?.isEditing,zoomButtonAriaLabel:u,onButtonClick:iJ,onButtonKeyDown:iQ,children:(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,style:n?{objectPosition:n}:{},srcSet:i?.mode?.isEditing?void 0:iW,sizes:i?.mode?.isEditing?void 0:iY})})}),(t?.imageCaption?.value||i?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"itb-img-caption image-caption",field:t?.imageCaption})})]}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-a",rendering:l})})]})})},iX=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"",d=t.image?.value?.alt??"",{t:c}=(0,ti.s9)(),u=c(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:d});return(0,eW.jsxs)("div",{id:r,className:`component itb itb--default ${s}`,"data-testid":r,children:[(0,eW.jsxs)("div",{className:"itb-text-col component-wrapper",children:[(0,eW.jsx)(tN.w,{className:`itb-img-title heading-4 text-color-primary ${o}`,children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{tag:"p",className:"itb-img-intro mb-6 text-lgbody text-color-primary xl:text-lgbodyxl",field:t?.largeParagraph}),(0,eW.jsx)(tG.SmartRichText,{field:t?.text,className:`itb-rt custom-rich-text ${o}`}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-a",rendering:l})})]}),(0,eW.jsxs)("div",{className:"itb-media-col component-wrapper",children:[(0,eW.jsxs)("figure",{children:[(0,eW.jsx)("div",{className:"itb-img",children:(0,eW.jsx)(lw,{enableImageEnlargement:t.EnableImageEnlargement?.value,isEditing:i?.mode?.isEditing,zoomButtonAriaLabel:u,onButtonClick:iJ,onButtonKeyDown:iQ,children:(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,style:n?{objectPosition:n}:{},srcSet:i?.mode?.isEditing?void 0:iW,sizes:i?.mode?.isEditing?void 0:iY})})}),(t?.imageCaption?.value||i?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"itb-img-caption image-caption",field:t?.imageCaption})})]}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-b",rendering:l})})]})]})},iZ=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"",d=t.image?.value?.alt??"",{t:c}=(0,ti.s9)(),u=c(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:d});return(0,eW.jsxs)("div",{id:r,className:`component itb itb--lg-txt ${s}`,"data-testid":r,children:[(0,eW.jsxs)("div",{className:"itb-text-col component-wrapper",children:[(0,eW.jsx)(tN.w,{className:`itb-img-title heading-4 text-color-primary ${o}`,children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{tag:"p",className:"itb-img-intro mb-6 text-lgbody text-color-primary xl:text-lgbodyxl",field:t?.largeParagraph}),(0,eW.jsx)(tG.SmartRichText,{field:t?.text,className:`itb-rt custom-rich-text ${o}`}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-a",rendering:l})})]}),(0,eW.jsx)("div",{className:"itb-media-col component-wrapper",children:(0,eW.jsxs)("figure",{children:[(0,eW.jsx)("div",{className:"itb-img",children:(0,eW.jsx)(lw,{enableImageEnlargement:t.EnableImageEnlargement?.value,isEditing:i?.mode?.isEditing,zoomButtonAriaLabel:u,onButtonClick:iJ,onButtonKeyDown:iQ,children:(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,style:n?{objectPosition:n}:{},srcSet:i?.mode?.isEditing?void 0:iW,sizes:i?.mode?.isEditing?void 0:iY})})}),(t?.imageCaption?.value||i?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"itb-img-caption image-caption",field:t?.imageCaption})})]})})]})},i0=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"",d=t.image?.value?.alt??"",{t:c}=(0,ti.s9)(),u=c(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:d});return(0,eW.jsxs)("div",{id:r,className:`component itb itb--stacked-txt ${s}`,"data-testid":r,children:[(0,eW.jsxs)("div",{className:"itb-text-col component-wrapper",children:[(0,eW.jsx)(tN.w,{className:`itb-img-title heading-4 text-color-primary ${o}`,children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{tag:"p",className:"itb-img-intro mb-6 text-lgbody text-color-primary xl:text-lgbodyxl",field:t?.largeParagraph}),(0,eW.jsx)(tG.SmartRichText,{field:t?.text,className:`itb-rt custom-rich-text ${o}`}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-a",rendering:l})})]}),(0,eW.jsxs)("div",{className:"itb-media-col component-wrapper",children:[(0,eW.jsxs)("figure",{children:[(0,eW.jsx)("div",{className:"itb-img",children:(0,eW.jsx)(lw,{enableImageEnlargement:t.EnableImageEnlargement?.value,isEditing:i?.mode?.isEditing,zoomButtonAriaLabel:u,onButtonClick:iJ,onButtonKeyDown:iQ,children:(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,style:n?{objectPosition:n}:{},srcSet:i?.mode?.isEditing?void 0:iW,sizes:i?.mode?.isEditing?void 0:iY})})}),(t?.imageCaption?.value||i?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"itb-img-caption image-caption",field:t?.imageCaption})})]}),(0,eW.jsx)(tG.SmartRichText,{field:t?.stackedText,className:"itb-img-rt custom-rich-text"}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-b",rendering:l})})]})]})},i1=e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tg.D)(a?.ShowHeaderUnderline)?"header-bottom-border":"",d=t.image?.value?.alt??"",{t:c}=(0,ti.s9)(),u=c(th.A.ACC_MEDIA_ENLARGE_IMAGE_BUTTON,{imageAlt:d});return(0,eW.jsxs)("div",{id:r,className:`component itb itb--split-center ${s}`,"data-testid":r,children:[(0,eW.jsxs)("div",{className:"itb-text-col component-wrapper",children:[(0,eW.jsx)(tN.w,{className:"itb-img-title heading-4 text-color-primary",children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{tag:"p",className:"itb-img-intro mb-6 text-lgbody text-color-primary xl:text-lgbodyxl",field:t?.largeParagraph}),(0,eW.jsx)(tG.SmartRichText,{field:t?.text,className:`itb-rt custom-rich-text ${o}`}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-a",rendering:l})})]}),(0,eW.jsxs)("div",{className:"itb-media-col component-wrapper",children:[(0,eW.jsxs)("figure",{children:[(0,eW.jsx)("div",{className:"itb-img",children:(0,eW.jsx)(lw,{enableImageEnlargement:t.EnableImageEnlargement?.value,isEditing:i?.mode?.isEditing,zoomButtonAriaLabel:u,onButtonClick:iJ,onButtonKeyDown:iQ,children:(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,style:n?{objectPosition:n}:{},srcSet:i?.mode?.isEditing?void 0:iW,sizes:i?.mode?.isEditing?void 0:iY})})}),(t?.imageCaption?.value||i?.mode?.isEditing)&&(0,eW.jsx)("figcaption",{children:(0,eW.jsx)(tG.SmartRichText,{className:"itb-img-caption image-caption",field:t?.imageCaption})})]}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"image-text-block-placeholder-b",rendering:l})})]})]})};var i2=a(4880);let i5=e=>{let{fields:t,index:a,pageViewEvent:l}=e,[i,r]=(0,tl.useState)(!1),{page:s}=(0,tn.M5)(),{t:n}=(0,ti.s9)(),o=t.title?.value?n(th.A.ACC_HOTSPOT_EXPAND_SECTION)+": "+t.title.value:n(th.A.ACC_HOTSPOT_EXPAND_SECTION),d={auto:s?.mode?.isEditing?"pointer-events-auto":"",none:s?.mode?.isEditing?"pointer-events-none":""},c=t.top?.value,u=t.left?.value;return(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{className:`hotspot-point-popup text-color-white ${i?"active":""}
88`,style:{top:`${c}%`||"0",left:`${u}%`||"0"},children:(0,eW.jsx)("p",{children:t.title?.value})}),(0,eW.jsx)("div",{className:`absolute -translate-x-50p -translate-y-50p ${d.auto}`,style:{top:`${c}%`||"0",left:`${u}%`||"0"},children:(0,eW.jsx)(i6,{clickCallback:()=>{let e=document.querySelector(`.hotspot-details[data-index="${a}"]`);e?.classList?.remove("hidden"),setTimeout(()=>{e?.classList?.add("shown")},1),l&&l()},hoverCallback:()=>{r(!0)},unhoverCallback:()=>{r(!1)},focusCallback:()=>{r(!0)},blurCallback:()=>{r(!1)},keyDownCallback:e=>{"Escape"===e.key&&r(!1)},ariaLabel:o,hotspotIndex:a})})]})},i6=e=>(0,eW.jsxs)("button",{type:"button",className:`hover:bg-gradient-purple-blue relative mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-color-blue-600 text-[2.8125rem] text-color-white ${e.hotspotIndex?"hotspot-point-trigger":""} focus-visible:rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2`,onClick:e.clickCallback,onMouseEnter:e.hoverCallback,onMouseLeave:e.unhoverCallback,onFocus:e.focusCallback,onBlur:e.blurCallback,onKeyDown:e.keyDownCallback,"aria-label":e.ariaLabel,"data-hotspot-index":e.hotspotIndex,title:void 0,children:[(0,eW.jsx)("span",{"aria-hidden":"true",children:"+"}),(0,eW.jsx)("span",{className:"absolute left-50p top-50p h-10.5 w-10.5 -translate-x-50p -translate-y-50p rounded-full border-3 border-color-white transition-[height,width] duration-150 ease-out hover:h-[3.625rem] hover:w-[3.625rem]",role:"none"})]}),i3=(0,tC.w)()(e=>{let{rendering:t,fields:a,params:l}=e,i=(0,tg.N)(l),r=l?.RenderingIdentifier??void 0,{page:s}=(0,tn.M5)(),n={auto:s?.mode?.isEditing?"pointer-events-auto":"",none:s?.mode?.isEditing?"pointer-events-none":""},[o,d]=(0,tl.useState)(a.initialImage?.value?.src||s?.mode?.isEditing?"inactive":"showing"),c=(0,tl.useRef)(null),u=`${a?.initialImageFocalPoint?.Left?.value} ${a?.initialImageFocalPoint?.Top?.value}`,m=a?.backgroundImage?.value?Number.parseInt(a.backgroundImage.value.width)/Number.parseInt(a.backgroundImage.value.height):1.76,h=(0,tc.useRouter)(),{pageTemplate:p,navigationPath:g}=(0,lt.Sz)(),[x]=(0,t2.lT)(["sc_cid"]),v=()=>{(0,tu.rg)(h,s?.locale||"en",p||"",g,x.sc_cid)};if((0,tl.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll(".hotspot-scrollable");e&&e.forEach(e=>{window.innerWidth>=768?e.removeAttribute("style"):e.setAttribute("style",`width:${Math.round(37.5*m)}rem`)})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),!a)return(0,eW.jsx)(eW.Fragment,{});let{t:f}=(0,ti.s9)(),b=a.title?.value?f(th.A.ACC_HOTSPOT_EXPAND_SECTION)+": "+a.title.value:f(th.A.ACC_HOTSPOT_EXPAND_SECTION);return(0,eW.jsxs)("div",{className:`component hotspot relative ${i} ${o} ${s?.mode?.isEditing?"editing":""}`,ref:c,children:[(s?.mode?.isEditing||!!a.initialImage?.value?.src)&&(0,eW.jsx)(iv.DynamicBorderContent,{backgroundImage:a.initialImage,focalpoint:u,id:r,className:"hotspot-intro",children:(0,eW.jsx)("div",{className:"grid grid-cols-12",children:(0,eW.jsxs)("div",{className:`col-span-6 col-start-4 text-center ${n.auto}`,children:[(0,eW.jsx)(tN.w,{className:"hotspot-intro-title",children:(0,eW.jsx)(tS.E,{field:a.title})}),(0,eW.jsx)(tS.E,{className:"hotspot-intro-description",field:a.description,tag:"p"}),(0,eW.jsx)(i6,{clickCallback:()=>{c.current?.scrollIntoView({behavior:"smooth"}),"inactive"===o&&(d("showing"),v()),setTimeout(()=>{d("shown")},500)},ariaLabel:b})]})})}),(0,eW.jsxs)("div",{className:"hotspot-main relative my-12 w-full",children:[(0,eW.jsxs)("div",{className:"relative max-md:overflow-x-auto max-md:whitespace-nowrap",children:[(0,eW.jsx)("div",{className:"hotspot-scrollable left-0 top-0 max-md:h-150 lg:w-full",children:(0,eW.jsx)(lb._,{field:a.backgroundImage,title:a.backgroundImage?.value?.alt,alt:a.backgroundImage?.value?.alt,srcSet:s?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:s?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",className:`h-full w-full object-cover ${n.auto}`})}),!!a.hotspotPoints&&(0,eW.jsx)("div",{className:`hotspot-scrollable absolute left-0 top-0 h-full w-full overflow-x-hidden ${n.none}`,children:(0,eW.jsx)("div",{children:a.hotspotPoints.map((e,a)=>(0,eW.jsx)(i5,{fields:e,index:`${t.uid}-${a}`,pageViewEvent:v},a))})})]}),!!a.hotspotPoints&&(0,eW.jsx)("div",{className:"pointer-events-none absolute left-0 top-0 h-full w-full",children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("div",{className:"h-full w-full",children:a.hotspotPoints.map((e,l)=>(0,eW.jsx)(i2.HotspotDetails,{hotspotFields:a,fields:e,index:`${t.uid}-${l}`,pageViewEvent:v},l))})})})]})]})});var i9=a(8996),i4=a(7662);let i8=(0,tC.w)()(e=>{let{fields:t,params:a,rendering:l}=e,{page:i}=(0,tn.M5)(),r=a?.RenderingIdentifier??void 0,s=(0,tg.N)(a),n=`${t?.imageFocalPoint?.Left} ${t?.imageFocalPoint?.Top}`,o=(0,tX.Fz)(l.uid),d=t?.callToAction?.value?.linktype!=iy.J.INTERNAL;return am().extend(lW()),(0,eW.jsx)("div",{className:`component featured-content ${s}`,id:r,children:(0,eW.jsxs)("div",{className:"guttered-box",children:[(0,eW.jsxs)("div",{className:"featured-content-text-container rte-container",children:[d?(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(tN.w,{className:"featured-content-subtitle",children:(0,eW.jsx)(tS.E,{editable:!0,field:t.subTitle})})}):o?.item?.articleDate?.data&&o?.item?.articleDate?.data?.value!=th.A.DEFAULT_DATE?(0,eW.jsx)("p",{className:"featured-content-subtitle",children:o?.item?.template?.name?.replace(ig.V.templateSuffix,"")+" - "+am()(o?.item?.articleDate?.data?.value).utc().format("MMMM DD, YYYY")}):!o?.item?.articleDate&&(0,eW.jsx)("p",{className:"featured-content-subtitle",children:o?.item?.subtitle?.data?.value}),(0,eW.jsx)(tN.w,{className:"featured-content-title",children:(0,eW.jsx)(tS.E,{editable:d,field:d?t?.title:o?.item?.title?.data})}),(0,eW.jsx)(tG.SmartRichText,{editable:d,className:"featured-content-content",field:d?t?.content:{value:o?.item?.articleDate?o?.item?.summary?.data?.value||o?.item?.subtitle?.data?.value:o?.item?.summary?.data?.value}}),(i?.mode?.isEditing||t?.callToAction)&&(0,eW.jsx)(aM.SmartLink,{className:"featured-content-button",field:t?.callToAction})]}),(0,eW.jsx)("div",{className:"featured-content-image-container",children:(0,eW.jsx)(lb._,{editable:d,field:d?t?.image:o?.item?.image?.data,title:t?.image?.value?.alt,alt:t?.image?.value?.alt,className:"h-full w-full object-cover",style:n?{objectPosition:n}:{},loading:"lazy",srcSet:i?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992}],sizes:i?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, 992px"})})]})})}),i7=async(e,t)=>{let a=e?.fields?.callToAction;return a.value?.id?await (0,i4.L)(a?.value?.id,t.sitecore.context.language):{}},re=(0,tC.w)()(e=>{let{fields:t,params:a,noAnimate:l}=e,i=a?.RenderingIdentifier??void 0,{page:r}=(0,tn.M5)(),s=(0,tg.N)(a),n=e?.variant!=="noGutters"?"col-span-12 md:col-span-6 lg:mb-12 xl:col-span-3":"col-span-12 xl:col-span-6",o=RegExp("icon--(\\w+(-\\w+)*)"),d=s.match(o)?.[0]?s.match(o)?.[0]?.replace("icon--",""):null,[c,u]=(0,tl.useState)(t.PictogramName?.value||d),m=(0,tl.useRef)(null),[h,p]=(0,tl.useState)(!1),g=(0,tl.useRef)(""),x=(0,tl.useRef)(null),v=(0,tl.useRef)(null),f=()=>{let e={width:window.innerWidth>=1600?"1.375rem":window.innerWidth>
88=992?"1.25rem":".875rem",height:window.innerWidth>=1600?3.5:window.innerWidth>=992?3:2.25},t=v.current?.querySelectorAll("div.transition-all");if(t&&t.length>0){let a=[];t.forEach(t=>{if(t){let l=t.getAttribute("data-value");if(null!==l&&/^\d+$/.test(l)){let i=-(parseInt(l)*e.height*1)+"rem";a.push({element:t,margin:i,adjustWidth:"1"===l})}}}),setTimeout(()=>{for(let t of a)t.element.style.marginTop=t.margin,t.adjustWidth&&setTimeout(()=>{t.element.style.width=e.width},600)},100)}};if((0,tl.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{p(e.isIntersecting)});if(x.current&&e.observe(x.current),h&&!+l)return f(),()=>e.disconnect()},[h]),(0,tl.useEffect)(()=>{let e=aH()(()=>{let e=window.innerWidth>=1600?"xxl":window.innerWidth>=992?"lg":"default";g.current===e||+l||(g.current=e,f())},200);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),t){let e=t.figures?t.figures.value?.toString().split(""):[];return(0,eW.jsxs)("div",{className:`component facts-and-figures-item pr-2 ${n} ${s}`,ref:m,children:[(0,eW.jsx)(l5.HiddenProperties,{properties:[],fields:t,pictogramIconField:t.PictogramName,onIconSelectHandler:e=>{u(e)}}),(0,eW.jsxs)("div",{className:"flex w-full flex-row items-start overflow-hidden xl:flex-col",ref:x,children:[r?.mode?.isEditing||c?(0,eW.jsx)(eW.Fragment,{children:c?(0,eW.jsx)("span",{className:"facts-and-figures--icon z-1 block h-12.5 w-12.5 lg:mb-2 lg:h-16 lg:w-16 max-xl:mr-6",role:"presentation",children:(0,eW.jsx)(tD.SVGIcon,{className:"svg-icon min-w-16 [&_use]:scale-100",spriteName:"pictograms",icon:`${c}`,isDecorative:!0})}):(0,eW.jsx)("span",{className:"block h-12 w-20 text-color-gray-600 max-md:mr-6 md:mb-2 lg:h-16 lg:w-max",role:"none",children:"[No icon in field]"})}):null,(0,eW.jsxs)("div",{className:"facts-and-figures--text",children:[(0,eW.jsx)("div",{className:"heading-2 flex h-10 flex-row overflow-hidden whitespace-break-spaces lg:mb-4 lg:h-12 xxl:h-14.5",ref:v,children:r?.mode?.isEditing||+l?(0,eW.jsx)(tS.E,{field:t.figures}):e&&e.length>0?e.map((e,t)=>{let a=/^\d+$/.test(e);return(0,eW.jsx)("div",{className:` ${a?"transition-all duration-2000 ease-ease":""}`,"data-value":e,children:a?[...Array.from(Array(10).keys())].map((e,t)=>(0,eW.jsx)("span",{className:"block",children:e},t)):e},t)}):null}),(0,eW.jsx)(tS.E,{tag:"p",field:t.title,className:"relative z-1 text-cardtitle [&+p]:mt-2 xl:[&+p]:mt-4"}),(0,eW.jsx)(tS.E,{tag:"p",field:t.subtitle,className:"relative z-1 mt-2 text-subtitle xl:mt-4"})]})]})]})}return(0,eW.jsx)("div",{className:n,id:i||void 0})});var rt=a(7949);let ra=e=>{let{fields:t,rendering:a,params:l}=e,i=l?.RenderingIdentifier??void 0,r=(0,tg.N)(l),{page:s}=(0,tn.M5)();return t?(0,eW.jsxs)("div",{id:i,className:`component facts-and-figures relative py-12 ${r}`,children:[l.Frequency&&l.Position&&(0,eW.jsx)(rt.RasteredGrid,{position:l.Position,frequency:l.Frequency}),(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsxs)("div",{className:"guttered",children:[s?.mode?.isEditing||t.title?.value?(0,eW.jsx)("div",{className:"mb-[3.875rem] w-full","aria-label":t.title?.value?.toString(),children:(0,eW.jsx)(tN.w,{className:"facts-and-figures--title text-base font-normal tracking-normal",children:(0,eW.jsx)(tS.E,{field:t.title})})}):null,(0,eW.jsx)("div",{className:"fluid-grid gap-y-8",children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"facts-and-figures-items",rendering:a,passThroughComponentProps:{noAnimate:(0,tg.D)(l?.noAnimate)}})})})]})})]}):(0,eW.jsx)("div",{className:r,id:i||void 0})},rl=e=>{let{fields:t,rendering:a,params:l}=e,i=l?.RenderingIdentifier??void 0,r=(0,tg.N)(l),{page:s}=(0,tn.M5)();return t?(0,eW.jsxs)("div",{id:i,className:`component facts-and-figures relative ${r}`,children:[l.Frequency&&l.Position&&(0,eW.jsx)(rt.RasteredGrid,{position:l.Position,frequency:l.Frequency}),(0,eW.jsxs)("div",{children:[s?.mode?.isEditing||t.title?.value?(0,eW.jsx)("div",{className:"mb-[3.875rem] w-full",children:(0,eW.jsx)(tN.w,{className:"facts-and-figures--title text-base font-normal tracking-normal",children:(0,eW.jsx)(tS.E,{field:t.title})})}):null,(0,eW.jsx)("div",{className:"fluid-grid gap-y-8",children:(0,eW.jsx)(tx.w,{children:(0,eW.jsx)(eY.O,{name:"facts-and-figures-items",rendering:a,passThroughComponentProps:{noAnimate:l.noAnimate,variant:"noGutters"}})})})]})]}):(0,eW.jsx)("div",{className:r,id:i||void 0})},ri=e=>{let{fields:t,isEditing:a}=e;if(!e)return(0,eW.jsx)(eW.Fragment,{});let l=a||!t.image?.data.value?.src?(0,eW.jsx)("span",{className:"content-card-svg",role:"presentation",children:t.uiIconName?.data?.value?(0,eW.jsx)(tD.SVGIcon,{icon:t.uiIconName.data.value,spriteName:"ui",className:"svg-icon [&_use]:scale-100"}):t.pictogramName?.data?.value?(0,eW.jsx)(tD.SVGIcon,{icon:t.pictogramName.data.value,spriteName:"pictograms",className:"svg-icon [&_use]:scale-100"}):(0,eW.jsx)(eW.Fragment,{})}):(0,eW.jsx)(eW.Fragment,{});return(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)(l5.HiddenProperties,{properties:[],fields:t,pictogramIconField:t.pictogramName?.data,uiIconField:t.uiIconName?.data}),(t.uiIconName?.data?.value||t.pictogramName?.data?.value)&&l,(0,eW.jsx)(lb._,{srcSet:a?void 0:[{mw:100},{mw:320}],sizes:a?void 0:"(max-width: 99px) 100px, 320px",field:t.image?.data,alt:"",className:"content-card-image"}),a?(0,eW.jsx)(aM.SmartLink,{field:t.link?.data,className:"content-card-title"}):(0,eW.jsx)(tN.w,{className:"content-card-title",children:(0,eW.jsx)(tS.E,{field:{value:t.link?.data?.value?.text}})}),(0,eW.jsx)(tG.SmartRichText,{field:t.text?.data,className:"content-card-text rte-container break-words"})]})},rr=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),{page:r}=(0,tn.M5)();if(!t?.data?.datasource?.children?.results?.length&&!r?.mode?.isEditing)return(0,eW.jsx)(eW.Fragment,{});let s=[];if(t.data.datasource?.children?.results?.length){let e=[...t.data.datasource.children.results];for(let a=0;a<Math.ceil(t.data.datasource.children.results.length/4);a++)s.push(e.splice(0,4))}return(0,eW.jsx)("div",{className:`component custom-container--respy content-cards ${i}`,id:l,children:(0,eW.jsxs)("ul",{className:"content-cards-wrapper",children:[!s.length&&r?.mode?.isEditing&&(0,eW.jsx)("div",{children:"No content"}),s.map((e,t)=>e.map((e,l)=>!r?.mode?.isEditing&&(0,t3.h)(e.link.data)?(0,eW.jsx)("li",{className:"list-none",children:(0,eW.jsx)(aM.SmartLink,{field:e.link?.data,className:"content-card has-link",externalIconTargetClassName:"content-card-title",target:e.link?.data?.value?.href?.includes(".pdf")?"_blank":e.link?.data?.value?.target,children:ri({f
88ields:e,params:a,isEditing:!!r?.mode?.isEditing})})},`${t}${l}`):(0,eW.jsx)("li",{className:"list-none",children:(0,eW.jsx)("div",{className:`content-card ${r?.mode?.isEditing?"has-link":""}`,children:ri({fields:e,params:a,isEditing:!!r?.mode?.isEditing})})},`${t}${l}`)))]})})});var rs=a(8364);let rn=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{title:l,subtitle:i,children:r}=t?.data?.datasource||{},s=a?.RenderingIdentifier??void 0,{page:n}=(0,tn.M5)(),o=n?.mode?.isEditing,[d,c]=(0,tl.useState)(!1),[u,m]=(0,tl.useState)(!1),[h,p]=(0,tl.useState)(!0),[g,x]=(0,l$.A)({active:!0,container:".carousel-mobile",containScroll:"trimSnaps",dragFree:!0,watchFocus:(e,t)=>{let a=e.rootNode(),l=a.querySelector(".carousel-wrapper");l&&(l.scrollLeft=0),a.scrollLeft=0;let i=t.target.closest("li");if(!i||e.slideNodes().includes(i))return!0;let r=a.getBoundingClientRect(),s=i.getBoundingClientRect();if(s.left>=r.left&&s.right<=r.right)return!1;let n=e.internalEngine(),o=0;return o=s.left<r.left?r.left-s.left:-(s.right-r.right),n.scrollBody.useBaseFriction().useDuration(0),n.scrollTo.distance(o,!1),!1},breakpoints:{"(min-width: 768px)":{container:".carousel-desktop"}}}),{t:v}=(0,ti.s9)(),f=(0,tl.useCallback)(()=>{c(!0)},[]),b=(0,tl.useCallback)(()=>{x&&(m(x.canScrollPrev()),p(x.canScrollNext()))},[x]),j=e=>{x&&(c(!0),"left"===e?x.scrollPrev():x.scrollNext())};return(0,tl.useEffect)(()=>{e?.detailsOpen&&x&&x.reInit()},[x,e]),(0,tl.useEffect)(()=>{x&&(d?d&&x.off("scroll",f):x.on("scroll",f))},[x,d,f]),(0,tl.useEffect)(()=>{if(x)return b(),x.on("select",b),x.on("reInit",b),x.on("scroll",b),()=>{x.off("select",b),x.off("reInit",b),x.off("scroll",b)}},[x,b]),(0,eW.jsxs)("div",{id:s,className:`component carousel relative ${(0,tg.N)(a)??""}`,onClick:()=>c(!0),onKeyDown:()=>c(!0),ref:g,children:[(0,eW.jsx)("div",{className:`carousel-wrapper ${(0,tg.D)(a?.overlap)?"-mb-30":""}`,children:(0,eW.jsxs)("div",{className:"carousel-desktop",children:[(0,eW.jsx)("div",{className:"carousel-heading",children:(0,eW.jsxs)("hgroup",{children:[(0,eW.jsx)(tS.E,{field:i?.data,tag:"p",className:"carousel-subtitle"}),(0,eW.jsx)(tN.w,{className:`carousel-title ${!i?.data?.value&&!o?"mt-12":""}`,children:(0,eW.jsx)(tS.E,{field:l?.data})})]})}),(0,eW.jsxs)("ul",{className:"carousel-mobile",children:[(0,eW.jsx)(tM.Gesture,{className:"absolute left-58.75 top-16 max-md:hidden",isActive:d,"aria-hidden":!0}),(0,eW.jsx)(tx.w,{children:r?.results?.length>0&&r?.results?.map((e,t)=>(0,tl.createElement)(rs.default,{...e,key:t}))})]})]})}),!o&&(0,eW.jsx)("div",{className:`z-30 mt-6 flex w-full justify-end pb-8 ${(0,tg.D)(a?.overlap)?"absolute -bottom-12 -mb-32":"relative"}`,children:(0,eW.jsxs)("div",{className:"arrow-paddles mr-9 block",children:[(0,eW.jsx)("button",{"aria-label":v(th.A.ACC_PREVIOUS_ITEM),className:"left-paddle relative float-left mr-3 h-12 w-12 rounded-50 bg-color-white shadow-arrow",onClick:()=>j("left"),disabled:!u,children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${u?"fill-color-primary":"fill-color-primary-350"}`,icon:"arrow-left"})}),(0,eW.jsx)("button",{"aria-label":v(th.A.ACC_NEXT_ITEM),className:"right-paddle relative float-right h-12 w-12 rounded-50 bg-color-white shadow-arrow",onClick:()=>j("right"),disabled:!h,children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${h?"fill-color-primary":"fill-color-primary-350"}`,icon:"arrow-right"})})]})})]})}),ro=e=>{let{params:t}=e,a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t);return e?(0,eW.jsx)("div",{id:a,className:`component crtb crtb--default ${l??""}`,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered justify-center py-12 text-center xl:col-span-12 xxl:col-span-6 xxl:col-start-4",children:(0,eW.jsx)("div",{className:"mx-auto px-4 xl:w-[58%] xxl:w-full",children:(0,eW.jsx)(ru,{...e})})})})}):(0,eW.jsx)(eW.Fragment,{})}
88,rd=e=>{let{params:t}=e,a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t);return e?(0,eW.jsx)("div",{id:a,className:`component crtb crtb--left-aligned ${l??""}`,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered py-12",children:(0,eW.jsx)(ru,{...e})})})}):(0,eW.jsx)(eW.Fragment,{})},rc=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),{page:r}=(0,tn.M5)(),s=[{mw:100},{mw:320},{mw:500},{mw:576},{mw:1200}],n="(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 575px, 1200px",o=()=>{r?.mode?.isEditing||(0,tu.NL)(t?.title?.value,t?.callToAction?.value.text,"call to action with image")};return e?(0,eW.jsxs)("div",{id:l,className:`component relative z-10 mt-6 w-full ${i??""}`,children:[(0,eW.jsxs)("div",{className:"relative -mt-6 xl:grid xl:auto-rows-auto xl:grid-cols-12 xl:px-19",children:[(0,eW.jsx)("div",{className:"xl:col-span-2"}),(0,eW.jsxs)("div",{className:"md:grid md:auto-rows-auto md:grid-cols-12 md:px-8 lg:px-13 xl:col-span-4 xl:px-0",children:[(0,eW.jsx)("div",{className:"md:col-span-2 xl:hidden"}),(0,eW.jsxs)("div",{className:"w-full px-8 md:col-span-8 md:px-0 xl:col-span-12",children:[r?.mode?.isEditing&&(0,eW.jsx)(lb._,{loading:"lazy",field:t?.image,title:t?.image?.value?.title,alt:t?.image?.value?.alt,srcSet:r?.mode?.isEditing?void 0:s,sizes:r?.mode?.isEditing?void 0:n,className:"h-full w-full border-r-1 border-color-white/60 object-cover xl:border-none"}),!r?.mode?.isEditing&&(0,eW.jsx)(tZ.N,{field:t?.callToAction,href:t?.callToAction.value.href,tabIndex:-1,children:(0,eW.jsx)(lb._,{onClick:o,loading:"lazy",field:t?.image,title:t?.image?.value?.title,alt:t?.image?.value?.alt,srcSet:r?.mode?.isEditing?void 0:s,sizes:r?.mode?.isEditing?void 0:n,className:"h-full w-full border-r-1 border-color-white/60 object-cover xl:border-none"})})]})]}),(0,eW.jsxs)("div",{className:"border-color-white/60 md:grid md:auto-rows-auto md:grid-cols-12 md:px-8 lg:px-13 xl:col-span-4 xl:border-b-1 xl:px-0",children:[(0,eW.jsx)("div",{className:"md:col-span-2 xl:hidden"}),(0,eW.jsx)("div",{className:"px-8 md:col-span-8 md:px-0 xl:col-span-12",children:(0,eW.jsx)("div",{className:"border-r-1 border-color-white/60 xl:h-full",children:(0,eW.jsx)(aI(),{href:t?.callToAction.value.href,target:t?.callToAction.value.target,title:t?.callToAction.value.title,tabIndex:-1,className:"group",children:(0,eW.jsx)("div",{className:"relative bg-color-white p-8 pl-10 xl:flex xl:h-full xl:items-center",children:(r?.mode?.isEditing||t?.title)&&(0,eW.jsx)(tN.w,{onClick:o,className:"static text-4xl font-bold -tracking-0.5 text-color-primary after:absolute after:bottom-0 after:left-10 after:mt-7 after:h-1 after:w-10 after:bg-color-yellow after:transition-all after:duration-300 after:ease-out group-hover:after:w-20 md:text-5xl md:-tracking-1.25",children:(0,eW.jsx)(tS.E,{field:t?.title})})})})})})]})]}),(0,eW.jsxs)("div",{className:"relative border-t-1 border-color-white/60 xl:grid xl:auto-rows-auto xl:grid-cols-12 xl:border-t-1 xl:px-19",children:[(0,eW.jsx)("div",{className:"col-span-0 xl:col-span-10"}),(0,eW.jsxs)("div",{className:"border-t-1 border-color-transparent md:grid md:auto-rows-auto md:grid-cols-12 md:px-8 lg:px-13 xl:col-span-2 xl:block xl:border-t-0 xl:px-0",children:[(0,eW.jsx)("div",{className:"md:col-span-2 xl:hidden"}),(0,eW.jsx)("div",{className:"px-8 md:col-span-8 md:px-0 xl:-mr-18",children:(0,eW.jsx)("div",{className:"flex w-full justify-end border-r-1 border-color-white/60 pb-23 md:pb-8 xl:justify-start xl:border-l-1 xl:border-r-0",children:(r?.mode?.isEditing||t?.callToAction?.value.href!=""||t?.callToAction?.value.text!=void 0)&&(0,eW.jsxs)(aM.SmartLink,{onClick:o,field:t?.callToAction,className:"cta-withimage-button flex items-center bg-color-white px-6 py-4 text-xl font-semibold text-color-primary",children:[(0,eW.jsx)("span",{className:"cta-withimage-button-text",children:t.callToAction?.value.text}),!(0,aM.isExternalLinkField)(t?.callToAction)&&(0,eW.jsx)(tD.SVGIcon,{className:"cta-withimage-button-icon ml-1 h-7 max-h-7 w-7 min-w-7 max-w-7 fill-color-primary",icon:"arrow-right"})]})})}),(0,eW.jsx)("div",{className:"md:col-span-2 xl:hidden"})]})]})]}):(0,eW.jsx)(eW.Fragment,{})},ru=e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=()=>{l?.mode?.isEditing||(0,tu.NL)(t?.title?.value,t?.callToAction?.value.text,"call to action text")};return t?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsxs)("div",{className:"crtb-content rte-container",onClick:i,children:[(l?.mode?.isEditing||t?.title)&&(0,eW.jsx)(tN.w,{className:"crtb-title",children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tG.SmartRichText,{field:t?.content,className:"crtb-text"})]}),(l?.mode?.isEditing||t?.callToAction?.value.href!=""||t?.callToAction?.value.text!=void 0)&&(0,eW.jsx)(aM.SmartLink,{onClick:i,field:t?.callToAction,className:`${a?.buttonType} crtb-button`})]}):(0,eW.jsx)(eW.Fragment,{})},rm=e=>{let{params:t}=e,a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t);return e?(0,eW.jsx)("div",{id:a,className:`component crtb crtb--default ${l??""}`,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered justify-center py-12 text-center xl:col-span-12 xxl:col-span-6 xxl:col-start-4",children:(0,eW.jsx)("div",{className:"mx-auto px-4 xl:w-[58%] xxl:w-full",children:(0,eW.jsx)(rp,{...e})})})})}):(0,eW.jsx)(eW.Fragment,{})},rh=e=>{let{params:t}=e,a=t?.RenderingIdentifier??void 0,l=(0,tg.N)(t);return e?(0,eW.jsx)("div",{id:a,className:`component crtb crtb--left-aligned ${l??""}`,children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered py-12",children:(0,eW.jsx)(rp,{...e})})})}):(0,eW.jsx)(eW.Fragment,{})},rp=e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)();return t?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsxs)("div",{className:"crtb-content rte-container",children:[(l?.mode?.isEditing||t?.title)&&(0,eW.jsx)(tN.w,{role:"heading",className:"crtb-title",children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tG.SmartRichText,{field:t?.content,className:"crtb-text"})]}),l?.mode?.isEditing?(0,eW.jsx)(tZ.N,{field:t?.callToAction,className:`${a?.buttonType} crtb-button`}):(t?.callToAction?.value.href!=""||t?.callToAction?.value.text!=void 0)&&(0,eW.jsx)(tZ.N,{field:t?.callToAction,className:`${a?.buttonType} crtb-button`})]}):(0,eW.jsx)(eW.Fragment,{})},rg=e=>(0,eW.jsx)(rx,{...e}),rx=e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,{page:i}=(0,tn.M5)(),r=(0,tl.useRef)(null),s=`${t?.backgroundImageFocalPoint?.Left} ${t?.backgroundImageFocalPoint?.Top}`,n=!!(e=>{if(e&&0>e.indexOf(aD.YF.editingDefaultImage))return e})(t?.backgroundImage?.value?.src),o={pointerAuto:i?.mode?.isEditing?"pointer-events-auto":"",pointerNone:i?.mode?.isEditing?"pointer-events-none":""},{setNavigationPath:d}=(0,lt.Sz)(),c=e=>{d([`biq cta:${e?.value?.text}`])};if(!t||!e?.fields)return(0,eW.jsx)(eW.Fragment,{});let u=(0,tg.N)(a);return(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{className:`component big-image-quote relative flex items-center ${u} ${i?.mode?.isEditing?"is-sitecore-editing":""}`,id:l,children:[!i?.mode?.isEditing,(0,eW.jsx)("div",{className:"big-image-quote-image-container absolute left-0 top-0 z-0 h-full w-full overflow-hidden",children:(i?.mode?.isEditing||n)&&(0,eW.jsx)("div",{className:`h-full w-auto ${n?"has-bg-img":""}`,children:(0,eW.jsx)(lb._,{className:"big-image-quote-image page-image h-full max-h-unset w-auto object-cover lg:w-full lg:max-w-full",field:t.backgroundImage,title:t.backgroundImage?.value?.alt,alt:t.backgroundImage?.value?.alt,srcSet:i?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576},{mw:750},{mw:768},{mw:992},{mw:1e3},{mw:1200},{mw:1600},{mw:1920}],sizes:i?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, (max-width: 575px) 576px, (max-width: 749px) 750px, (max-width: 767px) 768px, (max-width: 991px) 992px, (max-width: 999px) 1000px, (max-width: 1199px) 1200px, (max-width: 1599px) 1600px, 1920px",style:s?{objectPosition:s}:{},layout:"fill"})})}),(0,eW.jsxs)("div",{className:`big-image-quote-container relative z-20 flex items-center lg:w-full ${o.pointerNone}`,children:[(0,eW.jsx)("div",{className:"flex min-h-105 min-w-0 basis-50
88p items-center px-6 py-10 lg:min-h-165 lg:px-15 lg:pl-20 lg:pr-30",children:(0,eW.jsxs)("div",{className:"big-image-quote-content w-full min-w-0",ref:r,children:[(0,eW.jsx)(tS.E,{field:t?.quote,role:"heading",tag:"blockquote",className:`${o.pointerAuto} quote-text text-h4lg font-bold lg:text-quote`}),(0,eW.jsx)(tS.E,{field:t?.quoteAuthor,role:"heading",className:`quote-author block pt-5 text-xl font-bold not-italic ${o.pointerAuto}`,tag:"cite"}),(i?.mode?.isEditing||!!t?.subtitle)&&(0,eW.jsx)(tS.E,{field:t?.subtitle,role:"heading",className:`quote-subtext pt-5 text-base ${o.pointerAuto}`,tag:"p"}),(i?.mode?.isEditing||(0,t3.h)(t?.cta))&&(0,eW.jsx)(eW.Fragment,{children:a?.imageRight?(0,eW.jsx)("button",{className:"primary-btn",children:(0,eW.jsx)(lM.TextLink,{field:t?.cta,className:"btn button-responsive button--box-lightblue icon",onClick:()=>c(t?.cta)})}):(0,eW.jsx)(lM.TextLink,{field:t?.cta,className:`quote-cta pt-8 ${i?.mode?.isEditing?o.pointerNone:o.pointerAuto}`,onClick:()=>c(t?.cta)})})]})}),(0,eW.jsx)("div",{className:"flex min-h-105 basis-50p items-center lg:min-h-165"})]})]})})};var rv=a(7262);let rf=e=>(0,eW.jsx)(rb,{...e,withHeader:!1}),rb=e=>{let t,{fields:a,params:l,rendering:i,withHeader:r}=e,{children:s,title:n,subtitle:o}=a?.data?.datasource||{},d=l?.RenderingIdentifier??void 0,{page:c}=(0,tn.M5)(),[u,m]=(0,tl.useState)(!0),[h,p]=(0,tl.useState)(!0),[g,x]=(0,tl.useState)("0%"),[v,f]=(0,tl.useState)(!1),b=(0,tl.useRef)(null),j=(0,tl.useRef)(null),E=(0,tl.useRef)(null),N=(0,tl.useRef)(0),w=(0,tl.useRef)(0),y=(0,tl.useRef)(0),[_,A]=(0,tl.useState)(!1),{t:S}=(0,ti.s9)(),[C,T]=(0,tl.useState)(!1),I=(0,tl.useRef)({startX:0,scrollLeft:0});y.current=s.results.length-2;let L=0,k=0,R=()=>{if(c?.mode?.isEditing||(T(!1),!b.current))return;let e=b.current;L=Math.max(Math.min(L,50),-50);let a=()=>{let l=e.scrollLeft-L;l=Math.max(0,Math.min(l,e.scrollWidth-e.clientWidth)),e.scrollLeft=l,Math.abs(L*=.92)>.5?t=requestAnimationFrame(a):cancelAnimationFrame(t)};a(),f(!1),globalThis.getSelection()?globalThis.getSelection()?.removeAllRanges():document.getSelection()&&document.getSelection()?.empty(),v&&(0,tu.NL)(d??"big-carousel-no-id","drag","big carousel")},$=(0,tl.useCallback)(aH()(()=>{if(!b.current)return;A(!0);let e=b.current.querySelectorAll("[data-big-carousel-index]"),t=Number.MAX_SAFE_INTEGER,a=-1;e.forEach((e,l)=>{let i=Math.max(e.getBoundingClientRect().left,-50);i>-50&&i<t&&(t=i,a=l)}),N.current=a;let l=[];for(let e=0;e<a&&e<y.current-1;e++)l.push(e);let{scrollLeft:i,scrollWidth:r,clientWidth:s}=b.current;w.current=s,100===Math.round(i/(r-s)*100)?x(100-100/(y.current+(s<768?2:1))+"%"):x(100/(y.current+(s<768?2:1))*N.current+"%")},20),[]),D=e=>{c?.mode?.isEditing||("ArrowRight"===e.key?(O("right"),e.preventDefault()):"ArrowLeft"===e.key&&(O("left"),e.preventDefault()))},O=e=>{if(A(!0),!b.current)return;let t=b.current.querySelector("[data-big-carousel-index='"+(N.current+("left"==e?-1:1))+"']");if(t){let e=t.getAttribute("data-big-carousel-index");e&&0==+e?b.current.scrollTo({left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}c?.mode?.isEditing||(0,tu.NL)(d??"big-carousel-no-id","click","big carousel")};return(0,tl.useEffect)(()=>(b.current&&(b.current.addEventListener("scroll",$),b.current.addEventListener("keydown",D)),()=>{b.current?.removeEventListener("scroll",$),b.current?.removeEventListener("keydown",D)}),[b]),(0,tl.useEffect)(()=>{let e={root:null,rootMargin:"0px",threshold:1},t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?m(!0):m(!1)})},e);j.current&&t.observe(j.current);let a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?p(!0):p(!1)})},e);E.current&&a.observe(E.current)},[]),(0,tl.useEffect)(()=>{let e=b.current;if(!e)return;let t=e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",e=>e.preventDefault(),{passive:!1}),e.querySelectorAll("img").forEach(e=>{e.setAttribute("draggable","false")})},a=()=>{e.querySelectorAll("a").forEach(t)};a();let l=new MutationObserver(a);return l.observe(e,{childList:!0,subtree:!0}),()=>l.disconnect()}
88,[]),(0,eW.jsxs)("div",{id:d,className:`component big-carousel overflow-hidden ${c?.mode?.isEditing?"content-card-overflow-hidden":""} ${(0,tg.N)(l)??""}`,children:[r&&(0,eW.jsxs)("div",{className:`big-carousel-header-wrapper ${o?.data?.value?"min-h-44":"min-h-34"} py-8 pl-9 sm:py-10 sm:pl-12 lg:py-11 xl:pl-20 xxl:pl-32`,children:[(0,eW.jsx)(tN.w,{className:"big-carousel-title heading-3 mb-2 text-h3xxl text-color-primary",children:(0,eW.jsx)(tS.E,{field:n?.data})}),(0,eW.jsx)(tS.E,{tag:"p",className:"big-carousel-subtitle text-xl text-color-black",field:o?.data})]}),(0,eW.jsxs)("div",{className:`big-carousel-wrapper select-none bg-color-white ${r?"pt-13":"pt-8"} `,children:[(0,eW.jsx)("div",{className:"mb-8",children:(0,eW.jsxs)("ul",{role:"tabpanel",onMouseDown:e=>{if(c?.mode?.isEditing||!b.current)return;let t=b.current,a=e.pageX-t.offsetLeft;I.current={startX:a,scrollLeft:t.scrollLeft},T(!0),f(!1),k=a,globalThis.getSelection()?globalThis.getSelection()?.removeAllRanges():document.getSelection()&&document.getSelection()?.empty()},onMouseUp:R,onMouseMove:e=>{if(c?.mode?.isEditing||!C||!b.current)return;e.preventDefault();let t=b.current,a=e.pageX-t.offsetLeft,l=a-I.current.startX;t.scrollLeft=I.current.scrollLeft-l,L=a-k,k=a,Math.abs(e.clientX-I.current.startX)>5&&f(!0)},onMouseLeave:R,onTouchEnd:()=>{c?.mode?.isEditing||(0,tu.NL)(d??"big-carousel-no-id","drag","big carousel")},ref:b,tabIndex:-1,"aria-label":S(th.A.ACC_BIG_CAROUSEL_LABEL,{numberOfComponents:s.results.length}),"aria-live":"polite",className:`big-carousel-container !scroll scrollbar-hide relative z-10 flex scroll-p-9 overflow-auto pr-9 sm:scroll-p-12 sm:pr-12 xl:scroll-p-20 xl:pr-20 xxl:scroll-p-32 xxl:pr-32 [&>a]:[-webkit-user-drag:none] [&>a]:[user-drag:none] [&>a_img]:[-webkit-user-drag:none] [&>a_img]:[user-drag:none] ${C?"cursor-grabbing":"cursor-grab"}`,children:[!c?.mode?.isEditing&&!h&&(0,eW.jsx)(tM.Gesture,{className:"absolute left-50p mt-16",isActive:_}),(0,eW.jsx)("div",{ref:j}),(0,eW.jsx)(tx.w,{children:s.results.map((e,t)=>{let a=`ph-bigcarousel-item-${t+1}`;return(0,eW.jsx)(rv.default,{params:l,index:t,rendering:i,placeholderKey:a,isDragging:v})})}),(0,eW.jsx)("div",{ref:E})]})}),(0,eW.jsxs)("div",{className:"z-10 flex w-full bg-color-white px-9 pb-8 sm:px-12 xl:px-20 xxl:px-32",children:[(0,eW.jsx)("div",{className:"big-carousel-scroll-indicator duration-800 relative float-left mb-6 mt-5 h-1 flex-1 rounded bg-color-primary-150 transition-all ease-in-out-1",children:(0,eW.jsx)("div",{className:"scroll-part absolute h-1 rounded bg-color-primary transition-all duration-600 ease-in-out-1",style:{width:u&&h?"100%":100/(y.current+(w.current<768?2:1))+"%",left:g}})}),(0,eW.jsxs)("div",{className:"arrow-paddles float-right ml-8 block",children:[(0,eW.jsx)("button",{"aria-label":S(th.A.ACC_PREVIOUS_ITEM),className:"left-paddle relative float-left mr-3 h-12 w-12 rounded-50 shadow-arrow",onClick:()=>{O("left")},children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${!u?"fill-color-primary":"fill-color-primary-350"} `,icon:"arrow-left"})}),(0,eW.jsx)("button",{"aria-label":S(th.A.ACC_NEXT_ITEM),className:"right-paddle relative float-right h-12 w-12 rounded-50 shadow-arrow",onClick:()=>{O("right")},children:(0,eW.jsx)(tD.SVGIcon,{className:`p-3 transition-all duration-200 ${!h?"fill-color-primary":"fill-color-primary-350"} `,icon:"arrow-right"})})]})]})]})]})},rj=(0,tC.w)()(e=>(0,eW.jsx)(rb,{...e,withHeader:!0})),rE=e=>{let{page:t}=(0,tn.M5)(),{fields:a,params:l}=e,i=l?.RenderingIdentifier??void 0,r=(0,tg.N)(l),{t:s}=(0,ti.s9)();if(am().extend(lW()),!a?.data?.contextItem)return t?.mode?.isEditing?(0,eW.jsx)("p",{children:"Failed to fetch field properties"}):(0,eW.jsx)(eW.Fragment,{});let n=a.data.contextItem.articleDate?.data?.value&&"0001-01-01T00:00:00Z"!==a.data.contextItem.articleDate.data.value?am()(a.data.contextItem.articleDate.data.value):void 0,o=!!n&&n.utc().format("MMMM D, YYYY"),d=s(`${th.A.ARTICLE_SUMMARY_TYPE_PREFIX}${a.data.contextItem.template?.name.toLowerCase().replaceAll(" ","_")}`)||a.data.contextItem.template?.name,c=a.data?.contextItem?.articleAuthor?.data,u=c?c?.fields.name?.value?.toString():"",m=!d&&!c&&!a.data.contextItem.articleLocation?.data?.value&&!n,h={path:a.data?.contextItem?.url?.path,language:t?.locale||"en",article:{author:{type:u?"Person":"Organization",name:u||"ASML"},description:a.data?.contextItem?.subtitle?.data?.value||"",imageUrl:a.data?.contextItem?.image?.data?.value?.src||"",keywords:a.data?.contextItem?.searchKeywords?.data?.value||"",modifiedDate:a.data?.contextItem?.modified?.data?.value||"",publishedDate:a.data?.contextItem?.articleDate?.data?.value||"",title:a.data?.contextItem?.title?.data?.value||""}};return m&&!t?.mode?.isEditing?(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsx)(e9.ArticlesLd,{...h})}):(0,eW.jsxs)("div",{id:i,className:`component article-summary-details col-span-12 ${r}`,children:[(0,eW.jsx)("div",{className:"article-summary-details-wrapper",children:(0,eW.jsx)("div",{className:"details-container",children:t?.mode?.isEditing?(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("strong",{children:a.data.contextItem.template?.name?.toLowerCase()==="story page"?(0,eW.jsx)(tS.E,{field:a.data.contextItem.readingTime.data}):!!d&&`${d} - `}),(0,eW.jsx)("p",{children:u?`${th.A.AUTHOR_BY?s(th.A.AUTHOR_BY):""} ${u}, `.trimStart():"[No Author]"}),(0,eW.jsx)(tS.E,{field:a.data.contextItem.articleLocation?.data,tag:"p"}),(0,eW.jsxs)("p",{children:[", ",o||"[NO DATE IN FIELD]"]})]}):(0,eW.jsxs)("p",{"data-testid":"article-details-template",children:[(0,eW.jsx)("strong",{children:a.data.contextItem.template?.name?.toLowerCase()==="story page"?!!a.data.contextItem.readingTime.data?.value&&`${a.data.contextItem.readingTime.data.value} - `:!!d&&`${d} - `}),u?`${th.A.AUTHOR_BY?s(th.A.AUTHOR_BY):""} ${u}, `.trimStart():!!a.data.contextItem.articleLocation?.data?.value&&`${a.data.contextItem.articleLocation.data.value}, `,o||""]})})}),(0,eW.jsx)(e9.ArticlesLd,{...h})]})},rN=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.large,layout:aD.YF.normalLayout,...e}),rw=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.medium,layout:aD.YF.normalLayout,...e}),ry=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.small,layout:aD.YF.normalLayout,...e}),r_=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.scaled,layout:aD.YF.normalLayout,...e}),rA=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.sideImageLarge,layout:aD.YF.sideImageLayout,...e}),rS=e=>(0,eW.jsx)(rC,{bannerType:aD.IB.article,variant:aD.HI.sideImage,layout:aD.YF.sideImageLayout,...e}),rC=e=>{let{fields:t}=e,a={...e,fields:{backgroundImage:t.Image,backgroundImageFocalPoint:t.ImageFocalPoint,title:t.Title,subtitle:t.Subtitle,cta:t.articleCTA}};return t?(0,eW.jsx)(iO.HeroBanner,{...a}
88):(0,eW.jsx)("p",{children:"Error: Failed to fetch field properties"})},rT=r_;var rI=a(5398);let rL=e=>{let{rendering:t,id:a,params:l}=e,{page:i}=(0,tn.M5)(),r=i?.mode?.isEditing||!1,s=e.fields?.showTitle?.value?.toString()==="true",n=e.fields?.shortMenuTitle?.value?e.fields.shortMenuTitle?.value?.toString():e.fields.title?.value,o=(0,tg.N)(l),d=(e?.fields?.anchor?.value??"").length>0?e.fields.anchor.value:(0,aJ.f)(n);return(0,eW.jsxs)("section",{id:a,className:`component annualreport__item__section fluid-grid col-span-12 ${r?"min-h-56 py-8":""} ${o}`,"data-uid":t.uid,children:[(0,eW.jsx)(tN.w,{id:e.parentAnchor+"---"+d,role:"heading",className:`col-span-12 scroll-mt-46 ${s||r?"":"invisible h-0"} text-center text-sm font-medium tracking-5 text-color-gray-800`,children:(0,eW.jsx)(tS.E,{field:e.fields.title})}),(0,eW.jsx)(eY.O,{rendering:t,name:"annual-report-item-section"})]})},rk=(0,tC.w)()(rL),rR=e=>{let{rendering:t,id:a,params:l}=e,{page:i}=(0,tn.M5)(),r=i?.mode?.isEditing||!1,s=e.fields?.showTitle?.value?.toString()==="true",[n,o]=(0,tl.useState)(null),d=e.fields.shortMenuTitle?.value?e.fields.shortMenuTitle?.value?.toString():e.fields.title?.value,c=(0,tg.N)(l),u=r?"min-h-56 py-8 ":"",m=(e?.fields?.anchor?.value??"").length>0?e.fields.anchor.value:(0,aJ.f)(d),h=(0,tc.useRouter)(),p=e=>{for(let t of e)if("attributes"===t.type){let e=document.getElementById("active-main-menu");e&&o(e.getAttribute("data-active-menu"))}};return(0,tl.useEffect)(()=>{let e;(e="#active-main-menu",new Promise(t=>{if(document.querySelector(e))return t(document.querySelector(e));let a=new MutationObserver(()=>{document.querySelector(e)&&(a.disconnect(),t(document.querySelector(e)))});a.observe(document.body,{childList:!0,subtree:!0})})).then(e=>{e&&(o(e.getAttribute("data-active-menu")),new MutationObserver(p).observe(e,{attributes:!0}))})},[h.isReady]),(0,eW.jsx)(eW.Fragment,{children:(r||n==m)&&(0,eW.jsxs)("section",{id:a,className:`component annualreport__item ${c} ${u}`,"data-uid":t.uid,children:[(0,eW.jsx)(tN.w,{role:"heading",className:`col-span-12 ${s||r?"":"invisible h-0"} text-center text-sm font-medium tracking-5 text-color-gray-800`,children:(0,eW.jsx)(tS.E,{field:e.fields.title})}),(0,eW.jsx)(eY.O,{rendering:t,name:"annual-report-item",passThroughComponentProps:{parentAnchor:m}})]})})},r$=(0,tC.w)()(rR),rD=e=>{let{rendering:t,params:a}=e,[l,i]=(0,tl.useState)([]),{page:r}=(0,tn.M5)(),s=r?.mode?.isEditing||!1,n=(0,tc.useRouter)(),o=(0,tg.N)(a);(0,tl.useEffect)(()=>{i(d()??[])},[n.isReady]),(0,tl.useEffect)(()=>{if(r?.mode?.isEditing)return},[]);let d=()=>{let e=[];
88if(t?.placeholders){let a=t?.placeholders?.["annual-report"].filter(e=>e?.componentName=="AnnualReportItem"),l=a?.length??0;for(let t=0;t<l;t++){let l=a[t];if(l){let t=[],a=l.fields,i=a?.shortMenuTitle?.value?a.shortMenuTitle:a?.title,r=a.anchor?.value?a.anchor.value:(0,aJ.f)(i.value);if(l?.placeholders){let e=l?.placeholders?.["annual-report-item"].filter(e=>e?.componentName=="AnnualReportItemSection"),a=e.length;for(let l=0;l<a;l++){let a=e[l],i=a.fields?.shortMenuTitle?.value?a.fields.shortMenuTitle.value:a.fields?.title?.value,s=a.fields?.anchor?.value?a.fields?.anchor?.value:(0,aJ.f)(i);i.length>0&&s.length>0&&t.push({anchor:r+"---"+s,title:a.fields?.shortMenuTitle?.value?a.fields?.shortMenuTitle:a.fields?.title,uid:"",submenuItems:[],showTitle:!1,bottom:0,top:0})}}if(!i)return;e.push({anchor:r.toString(),title:i,uid:"",submenuItems:t,showTitle:!1,bottom:0,top:0})}}}let a={};return e?.forEach(e=>{void 0===a[e.anchor]?a[e.anchor]=1:(e.anchor=`${e.anchor}-${a[e.anchor]}`,a[e.anchor]++)}),e};return(0,eW.jsxs)("div",{className:`component annualreport ${o}`,children:[(0,eW.jsx)(rI.AnnualReportMenu,{menuItems:l,quickLinksText:e?.fields?.quickLinksText,ctaButton:e?.fields?.ctaButton},"ar_menu"),(0,eW.jsx)("div",{className:`my-8 grid ${s?"min-h-56 py-8":""}`,children:(0,eW.jsx)(eY.O,{rendering:t,name:"annual-report"})})]})},rO=[{mw:100},{mw:320},{mw:500}],rF=({fields:e,params:t})=>{let{page:a}=(0,tn.M5)();return e?(0,eW.jsxs)("div",{className:"about-the-author-card-body",children:[(0,eW.jsxs)("div",{className:"about-the-author-profile-container",children:[(0,tg.D)(t?.showImage)&&e.picture?.value?.src&&(0,eW.jsx)(lb._,{className:"about-the-author-card-image",field:e.picture,editable:!1,title:e.picture?.value.alt,alt:e.picture?.value.alt,sizes:a?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",srcSet:a?.mode?.isEditing?void 0:rO}),(0,eW.jsxs)("div",{className:"about-the-author-text-container",children:[e.name?.value&&(0,eW.jsx)(tN.w,{className:`about-the-author-card-name ${!(0,tg.D)(t?.showImage)?"inline":""}`,children:(0,eW.jsx)(tS.E,{editable:!1,field:e.name})}),(0,tg.D)(t?.showTitle)&&e.title?.value&&(0,eW.jsx)("p",{className:"about-the-author-card-title",children:e.title.value}),(0,tg.D)(t?.showPhoneNumber)&&e.telephone?.value&&(0,eW.jsx)("a",{href:`tel:${e.telephone.value}`,className:"about-the-author-card-link mt-2",children:e.telephone.value})]})]}),(0,tg.D)(t?.showSummary)&&e.summary?.value&&(0,eW.jsx)("div",{className:"about-the-author-text-container",children:(0,eW.jsx)("p",{className:"about-the-author-card-text",children:e.summary.value})}),(0,tg.D)(t?.showEmail)&&e.email?.value&&(0,eW.jsx)("div",{className:"about-the-author-text-container link",children:(0,eW.jsx)("a",{href:`mailto:${e.email.value}`,className:"about-the-author-card-link",children:e.email.value})}),(0,tg.D)(t?.showLink)&&(0,t3.h)(e.link)&&(0,eW.jsx)("div",{className:"about-the-author-text-container link",children:(0,eW.jsx)(aM.SmartLink,{field:e.link,className:"about-the-author-card-link"})}),(0,tg.D)(t?.showLocation)&&e.location?.value&&(0,eW.jsx)("div",{className:"about-the-author-text-container",children:(0,eW.jsx)("p",{className:"about-the-author-card-text",children:e.location.value})})]}):(0,eW.jsx)(eW.Fragment,{})},rM=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a);return t?.data?.datasource?(0,eW.jsx)("div",{id:l||void 0,className:`component about-the-author ${i}`,children:(0,eW.jsx)("div",{className:"about-the-author-gutter",children:(0,eW.jsxs)("div",{className:"about-the-author-container",children:[(0,eW.jsx)("div",{className:"about-the-author-heading-container",children:(0,eW.jsx)(tN.w,{className:"about-the-author-heading",children:(0,eW.jsx)(tS.E,{field:t.data.datasource.heading?.data})})}),t.data.datasource?.picker&&t.data.datasource.picker?.data?.length>0?(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("div",{className:"about-the-author-deck",children:t.data.datasource.picker.data.map((e,t)=>(0,eW.jsx)("div",{className:"about-the-author-card",children:(0,eW.jsx)(rF,{fields:e.fields,params:a},t)},t))})}):null]})})}):(0,eW.jsx)(eW.Fragment,{})});var rP=a(4633),rV=a(9163),rB=a(1457),rH=a(3062),rU=a(1408);let rG="sponsoring-request-form",rq="captchaToken",rz=Object.keys(rB.fieldSchema).flatMap(e=>rB.fieldSchema[`${e}`]),rW=l7()(()=>Promise.resolve().then(a.bind(a,3808)).then(e=>e.Formik),{loadableGenerated:{webpack:()=>[3808]},ssr:!1}),rY=l7()(()=>Promise.resolve().then(a.bind(a,3808)).then(e=>
88e.Form),{loadableGenerated:{webpack:()=>[3808]},ssr:!1}),rJ=e=>(0,eW.jsx)(rQ,{captchaVariant:"hcaptcha",...e}),rQ=e=>{let t,a,l,i,r,{fields:s,params:n,rendering:o,captchaVariant:d}=e,{page:c}=(0,tn.M5)(),u=(0,tl.useRef)(!1),{t:m}=(0,ti.s9)(),h=(0,tc.useRouter)(),p=(0,tl.useRef)(null),[g,x]=(0,tl.useState)(!1),[v,f]=(0,tl.useState)(!1),[b,j]=(0,tl.useState)(""),[E,N]=(0,tl.useState)(!1);am().extend(lW());let w=c?.locale||"en-us",[y,_]=(0,tl.useState)(!1),[A,S]=(0,tl.useState)(void 0),[C]=(0,t2.lT)(),T=n?.RenderingIdentifier??void 0,I=s?.data?.item,L=I?.fieldLengths?.targetItem?.children?.results?.map(e=>({name:e?.name,length:e?.length?.data})),k=I?.requiredFields?.targetItem?.children?.results?.map(e=>e?.name),R=I?.minAmounts?.targetItem?.children?.results?.map(e=>({name:e?.name,amount:e?.minimum?.data})),$={container:(0,tg.N)(n),pointerAuto:c?.mode?.isEditing?"pointer-events-auto":"",pointerNone:c?.mode?.isEditing?"pointer-events-none":""},D=()=>{u.current||((0,tu.Pg)(s?.data?.item?.formName?.data?.value,s?.data?.item?.formType?.data?.value,"1",s?.data?.item?.formName?.data?.value?.toString().toLowerCase(),"first interaction","form interaction"),u.current=!0)},O=()=>{setTimeout(()=>{let e=document.querySelector(".form-invalid-text");e?.parentElement&&e.attributes.getNamedItem("data-invalid-form-field")?.value!=="captchaToken"&&e.parentElement.scrollIntoView({block:"center"}),f(!0)},500)},F=async e=>{N(!0);let t=structuredClone(e);delete t[`${rG}`],rz.forEach(e=>{let a=t[`${e?.name}`];a||e?.fieldType!==rH.s.number?a||(t[`${e?.name}`]=""):t[`${e?.name}`]=0}),rz.filter(e=>e.fieldType===rH.s.email).map(e=>e.name).forEach(e=>{t[`${e}`]=t[`${e}`]?.trim()||""}),rz.filter(e=>e.fieldType===rH.s.checkboxlist).map(e=>e.name).forEach(e=>{t[`${e}`]=t[`${e}`]?.join(",")||""}),rz.filter(e=>e.fieldType===rH.s.datepicker).map(e=>e.name).forEach(e=>{t[`${e}`]=am()(t[`${e}`]).utc(!0).toISOString()||""}),rz.filter(e=>e.fieldSubType===rH.s.boolean).map(e=>e.name).forEach(e=>{t[`${e}`]=t[`${e}`]?.toLowerCase()==="yes"}),rz.filter(e=>e.fieldType===rH.s.number).map(e=>e.name).forEach(e=>{t[`${e}`]=+t[`${e}`].replace(",","")});let a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...t,ds:o.dataSource,lang:c?.locale,url:window?.location?.href??"",skipCaptcha:g,captchaType:d})};await fetch("/api/sponsoring-request-form-api",a).then(e=>{if(200===e.status){let e=I?.submit?.data;(0,t3.h)(e)&&h.push(e?.value?.href||"")}else N(!1),j(m(th.A.FORM_SAVE_FAILED_MESSAGE)),(0,t8.resetCaptcha)(d)}).catch(()=>{N(!1),j(m(th.A.FORM_SAVE_FAILED_MESSAGE)),(0,t8.resetCaptcha)(d)})};return(0,tl.useEffect)(()=>{c?.mode?.isEditing||S((0,t1.$)(t5.$.functional))},[c,C]),(0,tl.useEffect)(()=>{let e=(0,td.TX)(window.location.search),t=e?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),a=t?.values?.[0]==="true";(0,t8.skipCaptcha)(a)&&x(!0),_(!0)},[h.isReady]),E?(0,eW.jsx)(ts.Loader,{}):(0,eW.jsx)("div",{className:`component ${rG} ${$.container}`,id:T,"data-form-name":I?.formName?.data?.value,"data-form-type":I?.formType?.data?.value,children:(0,eW.jsxs)("div",{className:"sponsoring-request-form__wrapper",children:[(0,eW.jsx)("div",{className:`guttered ${!c?.mode?.isEditing&&!1===A?"onetrust-overlay-container":"hidden"}`,children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${$.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:s?.data?.item?.enableCookieTitle?.data})}),(0,eW.jsx)(tS.E,{field:s?.data?.item?.enableCookieSubtitle?.data,className:`onetrust-cookie-subtitle lg:mb-6 ${$.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:m(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:m(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:m(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsx)(rW,{initialValues:(t={},rz.forEach(e=>{e.fieldType===rH.s.checkboxlist?t[`${e.name}`]=[]:t[`${e.name}`]=void 0}),t[`${rq}`]=void 0,t[`${rG}`]=void 0,t),validationSchema:(a={},l=/^[0-9\.\,]*$/,i=/^[0-9]*$/,r=/[\.\,]/g,rz.forEach(e=>{let t=k?.includes(e.name),s=L?.find(t=>t.name===e.name)?.length?.value,n=R?.find(t=>t.name===e.name)?.amount?.value;if(e.fieldType===rH.s.number)t&&n?a[`${e.name}`]=rU.string().required(m(th.A.FORM_FIELD_REQUIRED)).test("is-numbers-only",m(th.A.FORM_FIELD_NUMBERS_ONLY),e=>!!e.match(l)?.length&&!isNaN(+e.replaceAll(r,""))).test("is-numbers-only-no-separators",m(th.A.FORM_FIELD_NUMBERS_ONLY_NO_SEPARATORS),e=>!!e.match(i)?.length&&!isNaN(+e)).test("min-amount",m(th.A.FORM_FIELD_MIN_AMOUNT),e=>parseFloat(e)>=n):t?a[`${e.name}`]=rU.string().required(m(th.A.FORM_FIELD_REQUIRED)).test("is-numbers-only",m(th.A.FORM_FIELD_NUMBERS_ONLY),e=>!!e.match(l)?.length&&!isNaN(+e.replaceAll(r,""))).test("is-numbers-only-no-separators",m(th.A.FORM_FIELD_NUMBERS_ONLY_NO_SEPARATORS),e=>!!e.match(i)?.length&&!isNaN(+e)):n?a[`${e.name}`]=rU.string().test("is-numbers-only",m(th.A.FORM_FIELD_NUMBERS_ONLY),e=>!!e.match(l)?.length&&!isNaN(+e.replaceAll(r,""))).test("is-numbers-only-no-separators",m(th.A.FORM_FIELD_NUMBERS_ONLY_NO_SEPARATORS),e=>!!e.match(i)?.length&&!isNaN(+e)).test("has-min-amount",m(th.A.FORM_FIELD_MIN_AMOUNT),e=>!!e.match(l)?.length&&!isNaN(+e.replaceAll(r,""))&&parseFloat(e)>=n):a[`${e.name}`]=rU.string().test("is-numbers-only",m(th.A.FORM_FIELD_NUMBERS_ONLY),e=>!!e&&!!e.match(l)?.length&&!isNaN(+e.replaceAll(r,""))).test("is-numbers-only-no-separators",m(th.A.FORM_FIELD_NUMBERS_ONLY_NO_SEPARATORS),e=>!!e.match(i)?.length&&!isNaN(+e));else if(e.fieldType===rH.s.email){let l=m(th.A.EMAIL_FIELD_PATTERN),i=s||255;a[`${e.name}`]=t?rU.string().trim().email(m(th.A.EMAIL_ADDRESS_INVALID)).required(m(th.A.FORM_FIELD_REQUIRED)).test("is-email-valid",m(th.A.EMAIL_ADDRESS_INVALID),e=>!!e?.match(l)?.length).max(i,m(th.A.FORM_FIELD_MAX_LENGTH).replace("{max}",`${i}`)):rU.string().trim().email(m(th.A.EMAIL_ADDRESS_INVALID)).test("is-email-valid",m(th.A.EMAIL_ADDRESS_INVALID),e=>!!e?.match(l)?.length).max(i,m(th.A.FORM_FIELD_MAX_LENGTH).replace("{max}",`${i}`))}else if(e.fieldType===rH.s.checkboxlist)a[`${e.name}`]=t?rU.array().of(rU.string()).min(1,m(th.A.FORM_FIELD_REQUIRED)).required(m(th.A.FORM_FIELD_REQUIRED)):rU.array().of(rU.string());else{let l=s||(e.fieldType===rH.s.textarea?512:255);a[`${e.name}`]=t?rU.string().max(l,m(th.A.FORM_FIELD_MAX_LENGTH).replace("{max}",`${l}`)).required(m(th.A.FORM_FIELD_REQUIRED)).test("no-html-tags",m(th.A.FORM_NO_HTML_TAGS),e=>!/<\/?[\w\s="/.':;#-\/\?]+>/.test(e)):rU.string().max(l,m(th.A.FORM_FIELD_MAX_LENGTH).replace("{max}",`${l}`))}}),!1===g&&(a[`${rq}`]=rU.string().required(m(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE))),a[`${rG}`]=rU.string(),rU.object().shape(a)),isInitialValid:!1,onSubmit:F,validateOnBlur:!0,validateOnChange:!0,children:({errors:e})=>{let t,a;return(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsxs)(rY,{children:[Object.keys(rB.fieldSchema).map((e,t)=>(0,eW.jsxs)(tl.Fragment,{children:[(0,eW.jsxs)("div",{className:"form-title-section",children:[(0,eW.jsx)("div",{className:"form-title--black",children:(0,eW.jsx)(tN.w,{className:"form-title-text",children:(0,eW.jsx)(tS.E,{field:I?.[`${e}Title`]?.data})})}),Object.hasOwn(I||{},`${e}SubTitle`)&&(0,eW.jsx)("div",{className:"form-subtitle-text",children:(0,eW.jsx)(tS.E,{tag:"p",field:I?.[`${e}SubTitle`]?.data})})]}),(0,eW.jsx)("div",{className:"form-field-section",children:rB.fieldSchema?.[`${e}`].map(e=>{let t=e.fieldType===rH.s.dropdown||e.fieldType===rH.s.radiolist||e.fieldType===rH.s.checkboxlist,a=Object.hasOwn(I||{},`${e.name}Placeholder`),l=L?.find(t=>t.name===e.name)?.length?.value;return(0,eW.jsx)(rV.FormField,{name:e.name,sendInteraction:D,fieldType:e.fieldType===rH.s.email?rH.s.input
88:e.fieldType,rows:2,style:"mt-8",maxLength:l,optional:!k?.includes(e.name),label:I?.[`${e.name}Label`]?.data,placeholder:a?I?.[`${e.name}Placeholder`]?.data:void 0,options:t?I?.[`${e.name}`]?.targetItem?.children?.results:void 0},e.name)})})]},t)),y&&(0,eW.jsx)(rP.FormikCaptcha,{ref:p,locale:w,captchaToken:rq,captchaVariant:d,skipCaptcha:g,cookieEnabled:A??!1,showCaptchaError:v}),(0,eW.jsxs)("div",{className:"form-submit-button",children:[c?.mode?.isEditing&&(0,eW.jsx)(tZ.N,{field:I?.submit?.data,className:"button--box-lightblue"}),!c?.mode?.isEditing&&!0===A&&(0,eW.jsx)("input",{type:"submit","aria-label":"submit",onClick:O,value:I?.submit?.data?.value?.text,className:"button--box-lightblue"})]}),b&&(0,eW.jsx)("span",{className:"form-invalid-text",children:b}),e?.[rG]&&(0,eW.jsx)("span",{className:"form-invalid-text","data-submit-fail":e?.[rG]?.toString(),children:e?.[rG]?.toString()}),(0,eW.jsx)("div",{className:"form-field-section",children:(0,eW.jsx)(tG.SmartRichText,{field:I?.privacyNotice?.data,className:"form-note"})})]}),(t={...e},delete t[`${rG}`],(a=Object.values(t)).length>0&&(0,tu.hO)(a.join(",")),null)]})}})]})})},rK=(0,tC.w)()(e=>(0,eW.jsx)(rQ,{captchaVariant:"default",...e}));var rX=a(6956),rZ=a(691);let r0=e=>(0,eW.jsx)(r1,{captchaVariant:"hcaptcha",...e}),r1=e=>{let{fields:t,params:a,rendering:l,captchaVariant:i}=e,{page:r}=(0,tn.M5)(),s=a?.RenderingIdentifier??void 0,n=(0,tl.useRef)(null),{t:o}=(0,ti.s9)(),[d,c]=(0,tl.useState)([]),[u,m]=(0,tl.useState)(void 0),[h]=(0,t2.lT)(),[p,g]=(0,tl.useState)(""),[x,v]=(0,tl.useState)(""),[f,b]=(0,tl.useState)(""),[j,E]=(0,tl.useState)(""),[N,w]=(0,tl.useState)(""),[y,_]=(0,tl.useState)(""),[A,S]=(0,tl.useState)(""),[C,T]=(0,tl.useState)(""),[I,L]=(0,tl.useState)(""),[k,R]=(0,tl.useState)(""),[$,D]=(0,tl.useState)(""),O=(0,tc.useRouter)(),[F,M]=(0,tl.useState)(!0),[P,V]=(0,tl.useState)(!1),[B,H]=(0,tl.useState)(!1),U=(0,tX.Fz)(l.uid)??{countryOptions:[],requiredFields:[],fieldLengths:[]},G=U.countryOptions,q=U.requiredFields,z=U.fieldLengths,W=r?.locale||"en-us",[Y,J]=(0,tl.useState)(!1),Q={pointerAuto:r?.mode?.isEditing?"pointer-events-auto":"",pointerNone:r?.mode?.isEditing?"pointer-events-none":""},K=e=>{let t=z.find(e=>"default"===e.name)?.length;return e===rX.NT&&(t=z.find(e=>e.name===rX.NT)?.length),t},X=(e,t)=>{let a=d.filter(e=>e.Fieldname!=t),l=e.target;(0,t9.validationFails)(l.value,t,a,q,!0,t==rX.SC,o),c(a)},Z=async e=>{let a,l;if(e.preventDefault(),a=!0,l=[],(0,t8.GetCaptchaToken)(n,i)||!1!==P||(a=!1,l.push({Fieldname:t4.Z,ErrorMessage:o(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE)??""})),F||(a=!1,l.push({Fieldname:"form",ErrorMessage:o(th.A.FORM_SAVE_FAILED_MESSAGE)??""})),(0,t9.validationFails)(p,rX.ug,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(x,rX.tO,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(f,rX.Pt,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(y,rX.A_,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(A,rX.Ck,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(C,rX.Ak,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(I,rX.c4,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)(k,rX.DH,l,q,!0,!1,o)&&(a=!1),(0,t9.validationFails)($,rX.NT,l,[],!0,!1,o)&&(a=!1),(0,t9.validationFails)(j,rX.SC,l,q,!0,!0,o)&&(a=!1),a||(0,t8.resetCaptcha)(i),c(l),!a)return void setTimeout(()=>{let e=document.querySelector(".form-invalid-text");e?.parentElement&&e.parentElement.scrollIntoView({block:"center"})},0);H(!0);let r=JSON.stringify({accountManager:p,firstName:x,lastName:f,email:j.trim(),city:C,state:I,countryCode:k,fabName:A,primaryPhone:N,requestReason:$,organization:y,identityType:rX.Si,captchaToken:(0,t8.GetCaptchaToken)(n,i)??"",url:window?.location?.href??"",skipCaptcha:P,captchaType:i});try{let e=await fetch("/api/registration-customer-form-api",{method:"POST",headers:{"Content-Type":"application/json"},body:r}),a=await e.json();if("200"===a.status&&window)M(!0),(0,t3.h)(t.submit)&&O.push(t?.submit?.value?.href||"");else if("422"===a.status){let e;H(!1),(e=[]).push({Fieldname:rX.yb,ErrorMessage:t.fieldValidationError.value??""}),c(e)}else{let e;H(!1),(e=[]).push({Fieldname:rX.E8,ErrorMessage:o(th.A.FORM_SAVE_FAILED_MESSAGE)??""}),c(e)}}catch(e){H(!1),M(!1)}},ee=(e,t)=>
88{switch(e){case rX.ug:g(t);break;case rX.tO:v(t);break;case rX.Pt:b(t);break;case rX.SC:E(t);break;case rX.r_:w(t);break;case rX.A_:_(t);break;case rX.Ck:S(t);break;case rX.Ak:T(t);break;case rX.c4:L(t);break;case rX.DH:R(t);break;case rX.NT:D(t)}};return(0,tl.useEffect)(()=>{r?.mode?.isEditing||m((0,t1.$)(t5.$.functional))},[r,h]),(0,tl.useEffect)(()=>{let e=(0,td.TX)(window.location.search),t=e?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),a=t?.values?.[0]==="true";(0,t8.skipCaptcha)(a)&&V(!0),J(!0)},[O.isReady]),B?(0,eW.jsx)(ts.Loader,{}):(0,eW.jsxs)("div",{className:`component guttered-box registration-for-customer-form asml-form relative z-10 py-12 ${(0,tg.N)(a)}`,id:s,"data-form-name":t.formName?.value,"data-form-type":t.formType?.value,children:[(0,eW.jsx)(tN.w,{className:"form-grid-width--el mb-6 text-h6 font-medium text-color-primary",children:(0,eW.jsx)(tS.E,{field:t?.registrationTitle})}),(0,eW.jsx)(tS.E,{field:t?.registrationSubTitle,tag:"p",className:"text-paragraph form-grid-width--el mb-8 text-color-gray"}),(0,eW.jsxs)("div",{className:"fluid-grid relative col-span-12",children:[(0,eW.jsx)("div",{className:`guttered ${!r?.mode?.isEditing&&!1===u?"onetrust-overlay-container":"hidden"}`,children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${Q.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:t?.enableCookieTitle})}),(0,eW.jsx)(tS.E,{field:t?.enableCookieSubtitle,className:`onetrust-cookie-subtitle lg:mb-6 ${Q.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:o(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:o(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:o(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsxs)("form",{className:"form-grid-width [&_.form-dropdown]:mt-8 [&_.form-input:first-child]:mt-0",onSubmit:Z,children:[(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.ug,label:t?.accountManager,placeholder:t?.accountManagerPlaceholder,length:K(rX.ug),errorMessage:d.find(e=>e.Fieldname==rX.ug)?.ErrorMessage,optional:!q.includes(rX.ug),blurHandler:e=>X(e,rX.ug)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.tO,label:t?.firstName,placeholder:t?.firstNamePlaceholder,length:K(rX.tO),errorMessage:d.find(e=>e.Fieldname==rX.tO)?.ErrorMessage,optional:!q.includes(rX.tO),blurHandler:e=>X(e,rX.tO)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.Pt,label:t?.lastName,placeholder:t?.lastNamePlaceholder,length:K(rX.Pt),errorMessage:d.find(e=>e.Fieldname==rX.Pt)?.ErrorMessage,optional:!q.includes(rX.Pt),blurHandler:e=>X(e,rX.Pt)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.SC,label:t?.companyEmailAddress,placeholder:t?.companyEmailAddressPlaceholder,length:K(rX.SC),errorMessage:d.find(e=>e.Fieldname==rX.SC)?.ErrorMessage,optional:!q.includes(rX.SC),blurHandler:e=>X(e,rX.SC)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.r_,label:t?.telephone,placeholder:t?.telephonePlaceholder,errorMessage:d.find(e=>e.Fieldname==rX.r_)?.ErrorMessage,optional:!q.includes(rX.r_),blurHandler:e=>X(e,rX.r_)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.A_,label:t?.organization,placeholder:t?.organizationPlaceholder,length:K(rX.A_),errorMessage:d.find(e=>e.Fieldname==rX.A_)?.ErrorMessage,optional:!q.includes(rX.A_),blurHandler:e=>X(e,rX.A_)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.Ck,label:t?.fabName,placeholder:t?.fabNamePlaceholder,length:K(rX.Ck),errorMessage:d.find(e=>e.Fieldname==rX.Ck)?.ErrorMessage,optional:!q.includes(rX.Ck),blurHandler:e=>X(e,rX.Ck)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.Ak,label:t?.city,placeholder:t?.cityPlaceholder,length:K(rX.Ak),errorMessage:d.find(e=>e.Fieldname==rX.Ak)?.ErrorMessage,optional:!q.includes(rX.Ak),blurHandler:e=>X(e,rX.Ak)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"input",name:rX.c4,label:t?.state,placeholder:t?.statePlaceholder,length:K(rX.c4),errorMessage:d.find(e=>e.Fieldname==rX.c4)?.ErrorMessage,optional:!q.includes(rX.c4),blurHandler:e=>X(e,rX.c4)}),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"dropdown",name:rX.DH,label:t?.country,placeholder:t?.countryPlaceholder,options:G,errorMessage:d.find(e=>e.Fieldname==rX.DH)?.ErrorMessage,optional:!q.includes(rX.DH),blurHandler:e=>X(e,rX.DH)}
88),(0,eW.jsx)(r2,{handleOnChange:ee,fieldType:"textarea",name:rX.NT,label:t?.reasonForRequest,placeholder:t?.reasonForRequestPlaceholder,length:K(rX.NT),errorMessage:d.find(e=>e.Fieldname==rX.NT)?.ErrorMessage,optional:!q.includes(rX.NT),blurHandler:e=>X(e,rX.NT)}),Y&&(0,eW.jsx)(t8.Captcha,{ref:n,className:"form-captcha",locale:W,captchaVariant:i,errorMessageState:d,skipCaptcha:P,cookieEnabled:u??!1}),(r?.mode?.isEditing||!0===u)&&(0,eW.jsx)(eW.Fragment,{children:(0,eW.jsxs)("div",{className:"form-submit-button",children:[r?.mode?.isEditing?(0,eW.jsx)(tZ.N,{field:t?.submit,className:"button--box-lightblue"}):(0,eW.jsx)("input",{type:"submit",value:t?.submit?.value?.text,className:"button--box-lightblue"}),d.find(e=>e.Fieldname===rX.E8)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":d.find(e=>e.Fieldname===rX.E8)?.Fieldname,children:d.find(e=>e.Fieldname==rX.E8)?.ErrorMessage}),(d.find(e=>e.Fieldname===rX.yb)||r?.mode?.isEditing)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":d.find(e=>e.Fieldname===rX.yb)?.Fieldname,children:(0,eW.jsx)(tG.SmartRichText,{field:t?.fieldValidationError,tag:"p",className:"flex-grow"})})]})}),(0,eW.jsx)(tG.SmartRichText,{field:t?.registrationNotice,className:"form-note"})]})]}),(0,eW.jsx)(tS.E,{field:t?.registrationNote,tag:"p",className:"form-note--lg form-grid-width--el"})]})},r2=e=>{let{handleOnChange:t,fieldType:a,name:l,label:i,placeholder:r,length:s,errorMessage:n,options:o,optional:d}=e,{page:c}=(0,tn.M5)(),{t:u}=(0,ti.s9)();return e?(0,eW.jsxs)("div",{className:`form-${a}`,children:[(0,eW.jsxs)("div",{className:"flex",children:[(0,eW.jsx)("label",{htmlFor:`registration-form-${l}`,className:"flex-grow",children:i?.value}),!0===d&&(0,eW.jsxs)("div",{className:"form-label-optional",children:["(",u(th.A.FORM_LABEL_OPTIONAL),")"]})]}),"input"===a&&(c?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:r})}):(0,eW.jsx)("input",{name:l,id:`registration-form-${l}`,readOnly:c?.mode?.isEditing,placeholder:`${c?.mode?.isEditing||!r?.value?"":r?.value}`,maxLength:s,onChange:e=>t(l,e.target.value),onBlur:e.blurHandler,"aria-describedby":n?`${l}-error`:void 0})),"textarea"===a&&(c?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:r})}):(0,eW.jsx)("textarea",{name:l,id:`registration-form-${l}`,readOnly:c?.mode?.isEditing,placeholder:`${c?.mode?.isEditing||!r?.value?"":r?.value}`,rows:4,maxLength:s??512,onChange:e=>t(l,e.target.value),onBlur:e.blurHandler,"aria-describedby":n?`${l}-error`:void 0})),"dropdown"===a&&(0,eW.jsxs)("div",{className:"form-dropdown__wrapper",children:[c?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box form-box--editor",children:(0,eW.jsx)(tS.E,{field:r})}):(0,eW.jsxs)("select",{name:l,id:`registration-form-${l}`,disabled:c?.mode?.isEditing,onChange:e=>t(l,e.target.value),onBlur:e.blurHandler,"aria-describedby":n?`${l}-error`:void 0,children:[(0,eW.jsx)("option",{value:r?.value,children:r?.value},"placeholder"),o?.map((e,t)=>(0,eW.jsx)("option",{value:e.value?.jsonValue?.value,children:e.label?.jsonValue?.value},t))]}),(0,eW.jsx)(tD.SVGIcon,{icon:"chevron-down"})]}),!!n&&(0,eW.jsx)("span",{className:"form-invalid-text",id:`${l}-error`,"data-invalid-form-field":l,children:n})]}):(0,eW.jsx)(eW.Fragment,{})},r5=(0,tC.w)()(e=>(0,eW.jsx)(r1,{captchaVariant:"default",...e})),r6=async(e,t)=>await (0,rZ.z)(t?.sitecore?.context?.language);var r3=a(0),r9=a(5364);let r4=e=>(0,eW.jsx)(r7,{captchaVariant:"hcaptcha",...e}),r8=e=>(0,eW.jsx)(r7,{captchaVariant:"default",...e}),r7=e=>{let{fields:t,params:a,rendering:l,captchaVariant:i}=e,{page:r}=(0,tn.M5)(),s=a?.RenderingIdentifier??void 0,n=r?.locale||"en-us",{t:o}=(0,ti.s9)(),d=(0,tX.Fz)(l.uid)??{subjectOptions:[],fieldLengths:[],requiredFields:[]},c=d.subjectOptions,u=d.fieldLengths,m=d.requiredFields,h=(0,tl.createRef)(),[p,g]=(0,tl.useState)([]),x=(0,tc.useRouter)(),v=(0,tl.useRef)(!1),f=(0,tl.useRef)(!1),[b,j]=(0,tl.useState)(void 0),[E]=(0,t2.lT)(),[N,w]=(0,tl.useState)(!1),[y,_]=(0,tl.useState)(!1),[A,S]=(0,tl.useState)(!1),C={container:(0,tg.N)(a),pointerAuto:r?.mode?.isEditing?"pointer-events-auto":"",pointerNone:r?.mode?.isEditing?"pointer-events-none":""},T=async e=>{e.preventDefault();let a=document.getElementById("contact-form-name"),s=document.getElementById("contact-form-email"),n=document.getElementById("contact-form-subject"),d=document.getElementById("contact-form-message"),c=document.getElementById("contact-form-company"),u=document.getElementById("contact-form-country"),p=document.getElementById("contact-form-customerNetUserId"),v=document.getElementById("contact-form-req"),f=!1,b=[];a&&(0,t9.validationFails)(a.value,r3.o_,b,m,!0,!1,o)&&(f=!0),s&&(0,t9.validationFails)(s.value,r3.Tm,b,m,!0,!0,o)&&(f=!0),n&&(0,t9.validationFails)(n.value,r3.lt,b,m,!0,!1,o)&&(f=!0),c&&(0,t9.validationFails)(c.value,r3.Kq,b,m,!0,!1,o)&&(f=!0),u&&(0,t9.validationFails)(u.value,r3.DH,b,m,!0,!1,o)&&(f=!0),p&&(0,t9.validationFails)(p.value,r3.bs,b,m,!0,!1,o)&&(f=!0),v&&(0,t9.validationFails)(v.value,r3.nY,b,m,!0,!1,o)&&(f=!0),d&&(0,t9.validationFails)(d.value,r3.w5,b,m,!0,!1,o)&&(f=!0);let j=document.querySelector(".form-invalid-text");if(j?.parentElement&&j.parentElement.scrollIntoView({block:"center"}),!1===N&&((0,t8.GetCaptchaToken)(h,i)||(b.push({Fieldname:r3.Zs,ErrorMessage:o(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE)??""}),f=!0),g(b),f))return(0,t8.resetCaptcha)(i),(0,tu.hO)(b.map(e=>e.ErrorMessage).join(",")),!1;_(!0);let E={name:a.value.trim(),email:s.value.trim(),message:d.value.trim(),subject:n?.value?.trim()||null,jobId:v?.value?.trim()||null,companyName:c?.value.trim()||null,country:u?.value.trim()||null,customerNetUserId:p?.value.trim()||null,ds:l.dataSource,lang:r?.locale,captchaToken:(0,t8.GetCaptchaToken)(h,i),captchaType:i,url:window?.location?.href??"",skipCaptcha:N};try{let e=await fetch("/api/contact-form-api",{method:"POST",body:JSON.stringify(E)});if(200!==e.status){_(!1);let t=await e.json();return console.error(`Contact form error: ${t}`),h?.current&&(0,t8.resetCaptcha)(i),b.push({Fieldname:r3.PI,ErrorMessage:o(th.A.FORM_SAVE_FAILED_MESSAGE)??""}),!1}if((0,tu.Pg)(t?.formName?.value,t?.formType?.value,"2",t?.formName?.value?.toString().toLowerCase(),"success","form success"),!(0,t3.h)(t.submit))return _(!1),!1;if(t?.submit?.value?.linktype===iy.J.EXTERNAL)return window.location.href=t?.submit?.value?.href||".",!0;x.push(t?.submit?.value?.href||"")}catch(e){return _(!1),console.error("Contact form error"),b.push({Fieldname:r3.PI,ErrorMessage:o(th.A.FORM_SAVE_FAILED_MESSAGE)??""}),!1}return!0},I=(e,a)=>{let l=p.filter(e=>e.Fieldname!=a),i=e.target;(0,t9.validationFails)(i.value,a,l,m,!0,a==r3.Tm,o),g(l),f.current||((0,tu.Pg)(t?.formName?.value,t?.formType?.value,"1",t?.formName?.value?.toString().toLowerCase(),"first interaction","form interaction"),f.current=!0)},L=async()=>{let e=0;await new Promise(t=>{let a=setInterval(()=>{(window?.adv_event||e>9)&&(clearInterval(a),t(!0)),++e},200)}),v.current||(0,tu.Pg)(t?.formName?.value,t?.formType?.value,"1",t?.formName?.value?.toString().toLowerCase(),"start","form start"),v.current=!0};return(0,tl.useEffect)(()=>{r?.mode?.isEditing||j((0,t1.$)(t5.$.functional))},[r,E]),(0,tl.useEffect)(()=>{r?.mode?.isEditing||L()},[]),(0,tl.useEffect)(()=>{let e=(0,td.TX)(window.location.search),t=e?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),a=t?.values?.[0]==="true";(0,t8.skipCaptcha)(a)&&w(!0),S(!0)},[x.isReady]),y?(0,eW.jsx)(ts.Loader,{}):(0,eW.jsx)("div",{className:`component contact-form asml-form ${C.container}`,id:s,"data-form-name":t.formName?.value,"data-form-type":t.formType?.value,children:(0,eW.jsxs)("div",{className:"contact-form__wrapper",children:[(0,eW.jsx)("div",{className:r?.mode?.isEditing||!1!==b?"hidden":"onetrust-overlay-container",children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${C.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:t?.enableCookieTitle})}),(0,eW.jsx)(tS.E,{field:t?.enableCookieSubtitle,className:`onetrust-cookie-subtitle lg:mb-6 ${C.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:o(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:o(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:o(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsx)("div",{className:"form-title--black",children:(0,eW.jsx)(tN.w,{className:"form-title-text",children:(0,eW.jsx)(tS.E,{field:t?.title})})}),(0,eW.jsxs)("form",{onSubmit:T,children:[(0,eW.jsx)(se,{onBlur:e=>I(e,r3.o_),fieldType:"input",name:r3.o_,label:t?.nameLabel,placeholder:t?.namePlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.o_)?.ErrorMessage,length:u.find(e=>e.name===r3.o_)?.length,optional:!m.includes(r3.o_)}),(0,eW.jsx)(se,{onBlur:e=>I(e,r3.Tm),fieldType:"input",name:r3.Tm,label:t?.emailLabel,placeholder:t?.emailPlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.Tm)?.ErrorMessage,length:u.find(e=>e.name===r3.Tm)?.length,optional:!m.includes(r3.Tm)}),(0,tg.D)(a?.showCompany)&&(0,eW.jsx)(se,{onBlur:e=>I(e,r3.Kq),fieldType:"input",name:r3.Kq,label:t?.company,placeholder:t?.companyPlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.Kq)?.ErrorMessage,length:u.find(e=>e.name===r3.Kq)?.length,optional:!m.includes(r3.Kq)}),(0,tg.D)(a?.showCountry)&&(0,eW.jsx)(se,{onBlur:e=>I(e,r3.DH),fieldType:"input",name:r3.DH,label:t?.country,placeholder:t?.countryPlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.DH)?.ErrorMessage,length:u.find(e=>e.name===r3.DH)?.length,optional:!m.includes(r3.DH)}),(0,tg.D)(a?.showCustomerNetUserID)&&(0,eW.jsx)(se,{onBlur:e=>I(e,r3.bs),fieldType:"input",name:r3.bs,label:t?.customerNetUserId,placeholder:t?.customerNetUserIdPlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.bs)?.ErrorMessage,length:u.find(e=>e.name===r3.bs)?.length,optional:!m.includes(r3.bs)}),(0,tg.D)(a?.showReq)&&(0,eW.jsx)(se,{onBlur:e=>I(e,r3.nY),fieldType:"input",name:r3.nY,label:t?.reqLabel,placeholder:t?.reqPlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.nY)?.ErrorMessage,length:u.find(e=>e.name===r3.nY)?.length,optional:!m.includes(r3.nY)}),(0,tg.D)(a?.showSubject)&&(0,eW.jsx)(se,{onBlur:e=>I(e,r3.lt),fieldType:"dropdown",name:r3.lt,label:t?.subjectLabel,placeholder:t?.subjectPlaceholder,options:c,errorMessage:p.find(e=>e.Fieldname==r3.lt)?.ErrorMessage,optional:!m.includes(r3.lt)}),(0,eW.jsx)(se,{onBlur:e=>
88I(e,r3.w5),fieldType:"textarea",name:r3.w5,label:t?.messageLabel,placeholder:t?.messagePlaceholder,errorMessage:p.find(e=>e.Fieldname==r3.w5)?.ErrorMessage,length:u.find(e=>e.name===r3.w5)?.length,optional:!m.includes(r3.w5)}),A&&(0,eW.jsx)(t8.Captcha,{ref:h,className:"form-captcha",locale:n,captchaVariant:i,errorMessageState:p,skipCaptcha:N,cookieEnabled:b??!1}),(r?.mode?.isEditing||!0===b)&&(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{className:"form-submit-button",children:r?.mode?.isEditing?(0,eW.jsx)(tZ.N,{field:t?.submit,className:"button--box-lightblue"}):(0,eW.jsx)("input",{type:"submit",value:t?.submit?.value?.text,className:"button--box-lightblue","aria-describedby":p.find(e=>e.Fieldname===r3.PI)?"contact-form-submit-error-description":void 0})}),p.find(e=>e.Fieldname===r3.PI)&&(0,eW.jsx)("span",{id:"contact-form-submit-error-description",className:"form-invalid-text","data-invalid-form-field":p.find(e=>e.Fieldname==r3.PI)?.Fieldname,children:p.find(e=>e.Fieldname==r3.PI)?.ErrorMessage})]}),(0,eW.jsx)(tG.SmartRichText,{field:t?.privacyNotice,className:"form-note"})]})]})})},se=e=>{let{fieldType:t,name:a,label:l,optional:i,options:r,placeholder:s,length:n,errorMessage:o}=e,{page:d}=(0,tn.M5)(),{t:c}=(0,ti.s9)();return e?(0,eW.jsxs)("div",{className:`form-${t}`,children:[(0,eW.jsxs)("div",{className:"form-label-container",children:[(0,eW.jsx)(tS.E,{field:l,tag:"label",className:"flex-grow",htmlFor:`contact-form-${a}`}),!0===i&&(0,eW.jsxs)("div",{className:"form-label-optional flex-shrink",children:["(",c(th.A.FORM_LABEL_OPTIONAL),")"]})]}),"input"===t&&(d?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:s})}):(0,eW.jsx)("input",{onBlur:e.onBlur,name:a,"aria-label":a,id:`contact-form-${a}`,readOnly:d?.mode?.isEditing,placeholder:`${d?.mode?.isEditing||!s?.value?"":s?.value}`,maxLength:n,"aria-describedby":o?`contact-form-${a}-error-description`:void 0})),"textarea"===t&&(d?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box",children:(0,eW.jsx)(tS.E,{field:s})}):(0,eW.jsx)("textarea",{onBlur:e.onBlur,name:a,"aria-label":a,id:`contact-form-${a}`,readOnly:d?.mode?.isEditing,placeholder:`${d?.mode?.isEditing||!s?.value?"":s?.value}`,rows:20,maxLength:n,"aria-describedby":o?`contact-form-${a}-error-description`:void 0})),"dropdown"===t&&(0,eW.jsxs)("div",{className:"form-dropdown__wrapper",role:"presentation",children:[d?.mode?.isEditing?(0,eW.jsx)("div",{className:"form-box form-box--editor",children:(0,eW.jsx)(tS.E,{field:s})}):(0,eW.jsxs)("select",{name:a,id:`contact-form-${a}`,disabled:d?.mode?.isEditing,children:[!d?.mode?.isEditing&&s?.value&&(0,eW.jsx)("option",{children:s?.value}),r?.map((e,t)=>(0,eW.jsx)("option",{value:e.value?.jsonValue?.value,children:e.label?.jsonValue?.value},t))]}),(0,eW.jsx)(tD.SVGIcon,{icon:"chevron-down"})]}),!!o&&(0,eW.jsx)("span",{id:`contact-form-${a}-error-description`,className:"form-invalid-text","data-invalid-form-field":a,children:o})]}):(0,eW.jsx)(eW.Fragment,{})},st=(0,tC.w)()(r8),sa=async(e,t)=>{let a="/sitecore/content/asmlcom/asmlcom/Settings/Form Settings/Form Dropdowns/subject",l=[],i=[],r=[],s={retries:r9.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(r9.env.GRAPH_QL_SERVICE_RETRIES,10)||0};try{let e=await lQ.A.getData(`{ 89 item(path:"${a}" language:"${t?.sitecore?.context?.language||"en"}") { 90 children { 91 results { 92 label: field(name: "label") { 93 jsonValue 94 } 95 value: field(name: "value") { 96 jsonValue 97 } 98 } 99 } 100 } 101 }`,s);e?.item?.children?.results&&(l=e.item.children.results)}catch(e){console.error(`Error getting dropdown options from: ${a} - language: ${t?.sitecore?.context?.language||"en"}`),console.error(e)}try{let e=await lQ.A.getData(`{ 102 item( 103 path: "/sitecore/content/asmlcom/asmlcom/Settings/Form Settings" 104 language: "${t?.sitecore?.context?.language||"en"}" 105 ) { 106 fieldLengths: children(includeTemplateIDs: "{EE7B9A23-4F36-4BF8-8DE9-23BB3E8AA453}") { 107 results { 108 children { 109 results { 110 name 111 length: field(name: "length") { 112 data: jsonValue 113 } 114 } 115 } 116 } 117 } 118 requiredFields: children(includeTemplateIDs: "{CC89F019-6B85-4173-8930-295A32C7FB0F}") { 119 results { 120 children { 121 results { 122 name 123 } 124 } 125 } 126 } 127 } 128 } 129 `,s);e?.item?.fieldLengths?.results?.[0]?.children?.results&&(i=e.item.fieldLengths.results[0].children.results.map(e=>({name:e.name,length:Number.isInteger(Number.parseInt(e.length?.data?.value))?e.length.data.value:100}))),e?.item?.requiredFields?.results?.[0]?.children?.results&&(r=e.item.requiredFields.results[0].children.results.map(e=>e.name))}catch(e){console.error(`Error getting dropdown options from: ${a} - language: ${t?.sitecore?.context?.language||"en"}`),console.error(e)}return{subjectOptions:l,requiredFields:r,fieldLengths:i}},sl=[{mw:100},{mw:320},{mw:500}],si=({fields:e,params:t})=>{let{page:a}=(0,tn.M5)();return e?(0,eW.jsxs)(eW.Fragment,{children:[(0,tg.D)(t?.showImage)&&e.picture?.value?.src&&(0,eW.jsx)(lb._,{className:"contact-cards-card-image",field:e?.picture,editable:!1,alt:e.picture?.value.alt,sizes:a?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, 500px",srcSet:a?.mode?.isEditing?void 0:sl}),(0,eW.jsxs)("div",{className:"rte-container",children:[e.name?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)(tN.w,{className:"contact-cards-card-name w-full",children:(0,eW.jsx)(tS.E,{editable:!1,field:e.name})})}),(0,tg.D)(t?.showTitle)&&e.title?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)("p",{className:"contact-cards-card-text",children:e.title.value})}),(0,tg.D)(t?.showSummary)&&e.summary?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)("p",{className:"contact-cards-card-text",children:e.summary.value})}),(0,tg.D)(t?.showEmail)&&e.email?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)("a",{href:`mailto:${e?.email.value}`,className:"contact-cards-card-link",children:e.email.value})}),(0,tg.D)(t?.showPhoneNumber)&&e.telephone?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)("a",{href:`tel:${e.telephone.value}`,className:"contact-cards-card-link",children:e.telephone.value})}),(0,tg.D)(t?.showLink)&&(0,t3.h)(e.link)&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)(aM.SmartLink,{title:void 0,field:e.link,className:"contact-cards-card-link"})}),(0,tg.D)(t?.showLocation)&&e.location?.value&&(0,eW.jsx)("div",{className:"contact-card-text-container",children:(0,eW.jsx)("p",{className:"contact-cards-card-text",children:e.location.value})})]})]}):(0,eW.jsx)(eW.Fragment,{})},sr=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a);return t?.data?.datasource?(0,eW.jsx)("div",{id:l||void 0,className:`component contact-cards ${i}`,children:(0,eW.jsx)("div",{className:"contact-cards-wrapper",children:(0,eW.jsxs)("div",{className:"contact-cards-container",children:[(0,eW.jsx)("div",{className:"contact-cards-heading-container",children:(0,eW.jsx)(tN.w,{className:"contact-cards-heading",children:(0,eW.jsx)(tS.E,{field:t.data.datasource.heading?.data})})}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("div",{className:"contact-cards-deck",children:t.data.datasource?.picker&&t.data.datasource.picker?.data?.length>0?t.data.datasource.picker.data.map((e,t)=>(0,eW.jsx)("div",{className:"contact-cards-card",children:(0,eW.jsx)(si,{fields:e.fields,params:a},t)},t)):null})})]})})}):(0,eW.jsx)(eW.Fragment,{})}),ss=(0,tC.w)()(e=>
129{let[t,a]=(0,tl.useState)(!1);(0,tl.useEffect)(()=>{let e=document.createElement("script");e.src="https://flows.beamery.eu/embedded-bootstrapper.js",e.type="text/javascript",document.head.append(e),a(!0)},[]);let{fields:l,params:i}=e,r=i?.RenderingIdentifier??void 0,s=(0,tg.N)(i),{page:n}=(0,tn.M5)();return(0,eW.jsx)(eW.Fragment,{children:n?.mode?.isEditing&&l?.convertFlowID?.value===""?(0,eW.jsx)("div",{className:`beamery-convert-flow component ${s}`,children:(0,eW.jsx)("div",{className:"m-8",children:"Beamery component needs convertFlowID to work"})}):t&&(0,eW.jsx)("div",{className:`beamery-convert-flow component ${s} `,id:r,"data-beamery-convert-flow-id":l?.convertFlowID?.value,"data-beamery-convert-company-id":"330db93699ac101d6154"})})});var sn=a(3410),so=a(274),sd=a(369),sc=a(1896),su=a(2963),sm=a(4089);let sh=e=>(0,eW.jsx)(sc.BarChart,{...e,axis:"x"}),sp=e=>(0,eW.jsx)(sc.BarChart,{...e,axis:"y"}),sg=e=>(0,eW.jsx)(su.PieChart,{...e}),sx=e=>(0,eW.jsx)(sm.DoughnutChart,{...e});var sv=a(9276),sf=a(4860),sb=a(7327),sj=a(151),sE=a(6807);let sN=l7()(()=>Promise.resolve().then(a.bind(a,6807)).then(e=>e.ASMLChart),{loadableGenerated:{webpack:()=>[6807]},ssr:!1}),sw=e=>{let[t,l]=(0,tl.useState)();return(0,tl.useEffect)(()=>{Promise.resolve().then(a.bind(a,1134)).then(e=>{l(e.Chart)})},[]),(0,eW.jsx)(eW.Fragment,{children:t&&(0,eW.jsx)(sN,{...e,chartType:"bar",ChartModule:t})})},sy=e=>{let[t,l]=(0,tl.useState)();return(0,tl.useEffect)(()=>{Promise.resolve().then(a.bind(a,1134)).then(e=>{l(e.Chart)})},[]),(0,eW.jsx)(eW.Fragment,{children:t&&(0,eW.jsx)(sN,{...e,chartType:"pie",ChartModule:t})})},s_=e=>{let[t,l]=(0,tl.useState)();return(0,tl.useEffect)(()=>{Promise.resolve().then(a.bind(a,1134)).then(e=>{l(e.Chart)})},[]),(0,eW.jsx)(eW.Fragment,{children:t&&(0,eW.jsx)(sN,{...e,chartType:"doughnut",ChartModule:t})})};var sA=a(3402);let sS=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),i=(0,tg.N)(a),r=a?.RenderingIdentifier??void 0,s=(0,tl.useRef)(!1),n=(0,tl.useRef)([]),o=(0,tl.useRef)(null),d=(l?.locale||"en").toLowerCase(),[c]=(0,t2.lT)(["favorites-"+d]),[u,m]=(0,tl.useState)(null),[h,p]=(0,tl.useState)(void 0),[g,x]=(0,tl.useState)(void 0),v=(0,tl.useRef)([]),[f,b]=(0,tl.useState)(!1),j=(0,tl.useRef)(0),E=()=>{h&&0!==h.length&&h?.forEach(e=>{let t=o.current?.querySelectorAll(".saved-jobs__item")??[];t?.forEach(t=>{t.getAttribute("data-key")===e?"add"===u&&t.classList.add("list-enter-to"):"remove"===u&&t.classList.add("list-move"),setTimeout(()=>{t.classList.remove("list-enter-active","list-enter","list-enter-to","list-move")},1e3)})})};return(0,tl.useEffect)(()=>{0===j.current&&(j.current=Date.now())}),(0,tl.useEffect)(()=>{let e=async()=>{let e=new AbortController,a=e.signal,i=n.current?.map(e=>"string"==typeof e?e:e?.id);if(!i||0===i.length){console.error("filterValues is required to fetch job details."),b(!0);return}return await (0,tp.H)({rfk_id:t?.SearchWidgetID?.value,sources:t?.SourceID?.value,activeFilters:[{name:"job_id",values:i}],locale:l?.locale||"en-us"},a).then(e=>{let t=e?.widgets?.[0]?.content??[];x(e=>{let a=new Map((e??[]).map((e,t)=>[String(e.job_id),t])),l=[...t,...v.current],i=new Map;for(let e of l)i.set(String(e.job_id),e);let r=Array.from(i.values());return r.sort((e,t)=>{let l=a.get(String(e.job_id)),i=a.get(String(t.job_id));return void 0===l&&void 0===i?0:void 0===l?1:void 0===i?-1:l-i}),r})}).catch(e=>{"AbortError"!==e.name&&console.error(e)}),b(!0),()=>e.abort()};"add"===u?e():"remove"===u&&E()},[u,h]),(0,tl.useEffect)(()=>{if(g){let e=new IntersectionObserver(([a])=>{!0===a.isIntersecting&&(e.disconnect(),(0,tm.TV)(g||[],j.current,t.SearchWidgetID?.value,l?.locale||"en-us"))});return o.current&&e.observe(o.current),()=>{e.disconnect()}}},[g]),(0,tl.useEffect)(()=>{s.current=!0},[]),(0,tl.useEffect)(()=>{m("add");let e=c["favorites-"+d];p(e),n.current=e},[]),(0,tl.useEffect)(()=>{"add"===u&&E()},[g]),(0,eW.jsx)("div",{id:r,className:`component saved-jobs ${i}`,"data-testid":r,children:(0,eW.jsxs)("div",{className:"saved-jobs__container",children:[(l?.mode?.isEditing||f&&(!g||Array.isArray(g)&&g.length<=0)&&v.current.length<=0)&&(0,eW.jsx)("div",{className:"alert alert--primary",children:(0,eW.jsx)(tS.E,{field:t?.noSavedJobs})}),Array.isArray(g)&&g.length>0&&(0,eW.jsx)("ul",{className:"saved-jobs__items",ref:o,children:g.map(e=>(0,eW.jsxs)("li",{className:"saved-jobs__item list-enter-active list-enter","data-key":e.job_id,children:[(0,eW.jsxs)("div",{className:"search-results__title",children:[(0,eW.jsx)(aI(),{href:e.url||"#",className:"search-results__item",children:(0,eW.jsx)(tN.w,{children:(0,eW.jsx)(tS.E,{field:{value:e.name}})})}),(0,eW.jsx)(sn.Favorite,{jobId:e.job_id,jobTitle:e.name,callback:()=>(e=>{let t,a=Array.isArray(n.current)?[...n.current]:[],l=(0,sA.G)(a,e),i=Array.isArray(g)&&g.some(t=>String(t.job_id)===String(e));if(l>=0){if(Array.isArray(g)){let t=g.findIndex(t=>String(t.job_id)===String(e));t>=0&&(v.current=[...v.current,g[t]])}a.splice(l,1),n.current=a,x(t=>t?.map(t=>String(t.job_id)===String(e)?{...t,isFavorite:!1}:t)),m("remove"),t=[e]}else v.current=v.current.filter(t=>String(t.job_id)!==String(e)),n.current=[...a,e],x(t=>t?.map(t=>String(t.job_id)===String(e)?{...t,isFavorite:!0}:t)),i?(m(null),t=void 0):(m("add"),t=[e]);p(t)})(e.job_id)})]}),(0,eW.jsxs)("ul",{className:"search-results__fields",children:[e.job_location&&(0,eW.jsx)("li",{children:e.job_location}),e.job_teams?.map((e,t)=>""!==e&&(0,eW.jsx)("li",{children:e},t))]})]},e.job_id))})]})})}),sC=(0,tC.w)()(e=>{let{fields:t,params:a,jobData:l}=e,i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),{page:s}=(0,tn.M5)(),{t:n}=(0,ti.s9)(),[o,d]=(0,tl.useState)(void 0),[c,u]=(0,tl.useState)(),m=(0,tl.useRef)(null),h=(0,tl.useRef)(0),p=(0,tl.useRef)(!1),g=(0,tc.useRouter)(),x=async()=>{let e=new AbortController,t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({expiredJobUrl:g.asPath,sitecoreLocale:s?.locale??"en"}),signal:e.signal??void 0},a=await fetch("/api/careers/getExpiredJob",t);return 200==a.status&&u(JSON.parse((await a.json()).data)),()=>{e.abort()}};return((0,tl.useEffect)(()=>{p.current=!0},[]),(0,tl.useEffect)(()=>{l?u(l):x()},[p]),(0,tl.useEffect)(()=>
129{if(!c)return;let e=[];c?.location&&e.push({name:"job_location",type:"eq",value:"US"===c.country.toUpperCase()?c.cityAndState+", "+c.country:c.location}),c?.technicalField?.length&&e.push({name:"job_technical_fields",type:"anyOf",values:c?.technicalField});let a={fields:["job_experience_levels","job_degrees"],ids:[c?.id??""],algorithm:"mlt"};(0,tp.H)({activeFilters:e,locale:s?.locale||"en-us",rfk_id:t.SearchWidgetID?.value,sources:t.SourceID?.value,personalization:a,limit:4}).then(e=>{e?.widgets[0]?.total_item>0&&d(e?.widgets[0]?.content?.filter(e=>e.id!==c?.id)?.slice(0,3)||[])})},[c]),(0,tl.useEffect)(()=>{p.current||(p.current=!0,h.current=Date.now())}),(0,tl.useEffect)(()=>{if(o){let e=new IntersectionObserver(([a])=>{!0===a.isIntersecting&&(e.disconnect(),(0,tm.TV)(o||[],h.current,t.SearchWidgetID?.value,s?.locale||"en-us"))});return m.current&&e.observe(m.current),()=>{e.disconnect()}}},[o]),void 0!==o&&o?.length!==0||s?.mode?.isEditing)?(0,eW.jsx)("section",{id:i||void 0,className:`component related-content related-content--related-jobs ${r}`,ref:m,children:(0,eW.jsxs)("div",{className:"related-content-container",children:[(0,eW.jsx)("div",{className:"related-content-heading-container",children:(0,eW.jsx)(tN.w,{className:"related-content-heading",children:(0,eW.jsx)(tS.E,{field:t.title})})}),(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("ul",{className:"contents",children:o?o.map((e,a)=>(0,eW.jsx)("li",{className:"related-content-card-container",children:(0,eW.jsx)(aI(),{href:"/"+e.url.split(`/${s?.locale?.toLowerCase()}/`||"en").pop(),onClick:()=>{(0,tm.v_)(a,e.job_id,e.url,e.type,void 0,t.SearchWidgetID?.value,s?.locale||"en-us",h.current)},className:"related-content-card related-jobs-card--story",locale:s?.locale?.toLocaleLowerCase(),children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[(Date.now()-Date.parse(e.job_date_posted))/864e5<7?(0,eW.jsx)("p",{className:"related-content-card-subtitle",children:n(th.A.JOBS_SEARCH_RESULTS_NEW_LABEL)}):null,(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tS.E,{editable:!1,field:{value:e.name}})}),e.job_location&&(0,eW.jsx)("p",{children:e.job_location}),e.job_teams&&(0,eW.jsx)("p",{children:e.job_teams[0]})]})})},a)):null})})]})}):(0,eW.jsx)(eW.Fragment,{})}),sT=(0,tC.w)()(e=>{let{fields:t,params:a}=e,l=a?.RenderingIdentifier??void 0,i=(0,tg.N)(a),{page:r}=(0,tn.M5)(),{t:s}=(0,ti.s9)(),[n,o]=(0,tl.useState)(void 0),d=(0,tl.useRef)(null),[c,u]=(0,tl.useState)(void 0),m=(0,tl.useRef)(0),h=(0,tl.useRef)(!1),p=(0,tl.useRef)([]),[g]=(0,t2.lT)(["recently_viewed"]);return((0,tl.useEffect)(()=>{if(!p?.current||p?.current?.length<1)return;let e=p.current?.map(e=>"string"==typeof e?e:e?.id);e&&0!==e.length?(0,tp.H)({rfk_id:t.SearchWidgetID?.value,sources:t.S
129ourceID?.value,activeFilters:[{name:"job_id",values:e}],locale:r?.locale||"en-us",limit:3}).then(t=>{if(t?.widgets[0]?.total_item>0){let a=t?.widgets[0]?.content;p&&a?.sort((t,a)=>(e?.indexOf(t.job_id)||0)-(e?.indexOf(a.job_id)||0)),o(a||[])}}):console.error("jobIdFilter is required to fetch recently viewed job details.")},[c,p]),(0,tl.useEffect)(()=>{h.current=!0},[]),(0,tl.useEffect)(()=>{if(n){let e=new IntersectionObserver(([a])=>{!0===a.isIntersecting&&(e.disconnect(),(0,tm.TV)(n||[],m.current,t.SearchWidgetID?.value,r?.locale||"en-us"))});return setTimeout(()=>{d.current&&e.observe(d.current)},400),()=>{e.disconnect()}}},[n]),(0,tl.useEffect)(()=>{u(g.recently_viewed),p.current=g.recently_viewed},[h,g]),(0,tl.useEffect)(()=>{h.current||(h.current=!0,m.current=Date.now())}),n?.length!==0||r?.mode?.isEditing)?(0,eW.jsx)("div",{id:l||void 0,className:`component related-content related-content--related-jobs ${i}`,ref:d,children:(0,eW.jsxs)("div",{className:"related-content-container",children:[(r?.mode?.isEditing||n)&&(0,eW.jsx)("div",{className:"related-content-heading-container",children:(0,eW.jsx)(tN.w,{className:"related-content-heading",children:(0,eW.jsx)(tS.E,{field:t.title})})}),(0,eW.jsx)(tx.w,{children:n?n.map((e,a)=>(0,eW.jsx)("div",{className:"related-content-card-container",children:(0,eW.jsx)(aI(),{href:"/"+e.url.split(`/${r?.locale?.toLowerCase()}/`||"en").pop(),onClick:()=>{(0,tm.v_)(a,e.job_id,e.url,e.type,void 0,t.SearchWidgetID?.value,r?.locale||"en-us",m.current)},className:"related-content-card related-jobs-card--story",locale:r?.locale?.toLocaleLowerCase(),children:(0,eW.jsxs)("div",{className:"related-content-card-body",children:[(Date.now()-Date.parse(e.job_date_posted))/864e5<7?(0,eW.jsx)("p",{className:"related-content-card-subtitle",children:s(th.A.JOBS_SEARCH_RESULTS_NEW_LABEL)}):null,(0,eW.jsx)(tN.w,{className:"related-content-card-title",children:(0,eW.jsx)(tS.E,{editable:!1,field:{value:e.name}})}),e.job_location&&(0,eW.jsx)("p",{children:e.job_location}),e.job_teams&&(0,eW.jsx)("p",{children:e.job_teams[0]})]})})},a)):null})]})}):(0,eW.jsx)(eW.Fragment,{})}),sI=({params:e})=>{let[t,a]=(0,t2.lT)(["recently_viewed"]),{page:l}=(0,tn.M5)(),i=e?.RenderingIdentifier??void 0,{jobData:r}=(0,ld.oo)();return(0,tl.useEffect)(()=>{if(!l?.mode?.isEditing&&(0,t1.$)(t5.$.functional)&&r?.id){let e=t.recently_viewed??[];0>(0,sA.G)(e,r?.id)&&e.unshift(r?.id),e.length>3&&(e.length=3),a("recently_viewed",e,{path:"/",maxAge:31536e3})}},[r]),l?.mode?.isEditing?(0,eW.jsx)("div",{id:i,className:"component col-span-12",children:(0,eW.jsx)("div",{className:"guttered-box",children:(0,eW.jsx)("div",{className:"guttered justify-center py-12 text-center xl:col-span-12 xxl:col-span-6 xxl:col-start-4",children:(0,eW.jsx)("span",{role:"none",children:"Set Recently Viewed Items component"})})})}):(0,eW.jsx)(eW.Fragment,{})};var sL=a(1263),sk=a(9116),sR=a(9530),s$=a(4172);let sD=(0,tC.w)()(e=>{let{fields:t,params:a}=e,{page:l}=(0,tn.M5)(),[i,r]=(0,tl.useState)(void 0),[s,n]=(0,tl.useState)(!1),o=(0,tl.useRef)(null),d=a?.RenderingIdentifier??void 0,c=(0,tg.N)(a),u=(0,tl.useRef)(0);(0,tl.useEffect)(()=>{if(0!==u.current)return;u.current=Date.now();let e=(0,sL.getFilterQuery)(t),a=Array.isArray(e)&&e.length>0;l?.mode?.isEditing||(0,tp.H)({rfk_id:t.SearchWidgetID?.value,sources:t.S
129ourceID?.value,activeFilters:a?e:[],locale:l?.locale}).then(t=>{let l=a?e.find(e=>e.name===sL.jobFilterFields.jobIds):null,i=t?.widgets[0]?.content;l&&i?.sort((e,t)=>(l.values?.indexOf(e.job_id)||0)-(l.values?.indexOf(t.job_id)||0)),r(i?.slice(0,4)||[])}).catch(e=>{console.error(e),r([])})}),(0,tl.useEffect)(()=>{if(i){let e=new IntersectionObserver(([a])=>{!0===a.isIntersecting&&(e.disconnect(),(0,tm.TV)(i||[],u.current,t.SearchWidgetID?.value,l?.locale||"en-us"))});return o.current&&e.observe(o.current),()=>{e.disconnect()}}},[i]),(0,tl.useEffect)(()=>{let e=()=>{n(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let m=()=>(0,eW.jsxs)("div",{className:"open-jobs__alert-cta",children:[(0,eW.jsx)(tS.E,{field:t?.jobAlertText,tag:"p"}),(0,eW.jsx)(sR.default,{...e,params:{...e.params,styles:""},showByDefault:!1,href:(0,s$.getHref)(e.fields?.callToAction?.value?.href||"",(0,sL.getFilterQuery)(t)||[],Object.values(sL.jobFilterFields)||[])})]});return(0,eW.jsx)("div",{id:d,className:`component ${c} open-jobs`,ref:o,children:(0,eW.jsxs)("div",{className:"open-jobs__container md:grid md:grid-cols-12",children:[(0,eW.jsxs)("div",{className:"flex h-full w-full flex-col md:col-span-5",children:[(0,eW.jsx)(tN.w,{className:"open-jobs__title",children:(0,eW.jsx)(tS.E,{field:t?.title})}),(0,eW.jsx)(tS.E,{field:t?.subtitle,tag:"p",className:"open-jobs__subtitle"}),!s&&m()]}),(0,eW.jsx)("div",{className:"max-md:hidden md:col-span-1"}),(0,eW.jsxs)("div",{className:"w-full md:col-span-6",children:[(0,eW.jsxs)("div",{className:"open-jobs__list",children:[(l?.mode?.isEditing||Array.isArray(i)&&i.length<1)&&(0,eW.jsx)("div",{className:"custom-rich-text",children:(0,eW.jsx)(tG.SmartRichText,{field:t.noMatchesMessage})}),!l?.mode?.isEditing&&!Array.isArray(i)&&(0,eW.jsx)(ts.Loader,{}),Array.isArray(i)&&i.length>0&&(0,eW.jsx)(tx.w,{children:(0,eW.jsx)("ul",{children:i.map((e,t)=>(0,eW.jsx)(sk.OpenJobLink,{...e,params:a,index:t},t))})})]}),(0,eW.jsx)("div",{className:"open-jobs__view-cta",children:l?.mode?.isEditing?(0,eW.jsx)("div",{className:"button--box-lightblue",children:(0,eW.jsx)(tZ.N,{field:t?.viewJobsCta,className:"text-span"})}):(0,eW.jsx)(tZ.N,{field:t?.viewJobsCta,className:t?.viewJobsCta?.value?.text?"button--box-lightblue":"hidden",href:(0,s$.getHref)(e.fields?.viewJobsCta?.value?.href||"",(0,sL.getFilterQuery)(t)||[],Object.values(sL.jobFilterFields)||[]),title:void 0,children:(0,eW.jsx)("span",{className:"text-span",children:t?.viewJobsCta?.value?.text})})}),s&&m()]})]})})});var sO=a(7373);let sF=(0,tC.w)()(({fields:e,jobData:t,params:a})=>{let[l,i]=(0,tl.useState)(!1),[r,s]=(0,tl.useState)(""),[n,o]=(0,tl.useState)(!1),{navigationTitle:d,url:c,ancestors:u}=e?.data?.contextItem?.field?.targetItem??{},{page:m}=(0,tn.M5)(),{t:h}=(0,ti.s9)(),p=a?.RenderingIdentifier??void 0,g=t?.id??"",x=(0,tl.useRef)(null),v=(0,tg.N)(a).indexOf("bg-dark")>=0,f=(0,tl.useRef)(0),[b]=(0,t2.lT)(["sc_cid"]),[j]=(0,t2.lT)(["ppc"]),E=u?.map(e=>({navigationTitle:e?.navigationTitle?.value??"",url:e?.url?.path})).reverse().concat([{navigationTitle:d?.value??"",url:c?.path??""}])??[];(0,tl.useEffect)(()=>{0===f.current&&(f.current=Date.now())});let N=(e,a,l,s)=>{if(e.preventDefault(),m?.mode?.isEditing)return;let n=e.currentTarget;i(!0),setTimeout(()=>{let e=s?.trim()||n?.getAttribute("href")?.trim()||t?.applyUrl;if(!e)return void i(!1);let o=e;try{let a=new URL(e,window.location.origin);a.searchParams.set("utm_source_platform",b.sc_cid||""),a.searchParams.set("utm_term",t?.id||""),a.searchParams.set("utm_id",j?.ppc||""),a.searchParams.delete("agid"),o=a.toString()}catch{}n?.setAttribute("href",o),window.open(o,"_blank","noopener,noreferrer"),(0,tu.S_)(a||"",l||"","is-sticky"===r?"bottom":"top"),w(),i(!1)},100)},w=()=>{let e={name:"order_confirm",action:"add",actionSubType:"conversion",actionCause:"entity",locale:m?.locale||"en-us",entities:[{id:g,uri:t?.detailPageUrl||window.location.href,entity_type:"content",entity_subtype:"job_detail_page"}],pageLoadTime:f.current};(0,tm.Tp)(e)};return(0,tl.useEffect)(()=>{n&&window.innerWidth>=768?s(""):s("is-sticky")},[n]),(0,tl.useEffect)(()=>{let e=new IntersectionObserver(e=>
129{e.forEach(e=>{o(e.isIntersecting)})},{root:null,rootMargin:"0px",threshold:.01});return x.current&&e.observe(x.current),()=>e.disconnect()},[]),(0,eW.jsx)("div",{id:p,className:`component hero-banner-container col-span-12 ${(0,tg.N)(a)}`,ref:x,children:(0,eW.jsx)("div",{className:`hero-banner hero-banner--job ${v?"bg-dark":"bg-light"}`,children:(0,eW.jsx)("div",{className:"hero-banner-content-container",children:(0,eW.jsx)("div",{className:"fluid-grid",children:(0,eW.jsxs)("div",{className:"hero-banner-content",children:[(0,eW.jsx)("div",{className:"breadcrumbs--hero-banner xl:!mb-10",children:(0,eW.jsx)("nav",{"aria-label":h(th.A.ACC_NAV_BREADCRUMBS),children:(0,eW.jsx)("ol",{children:E.map((e,t)=>{let a=E.length-1===t;return(0,eW.jsxs)("li",{className:a?"mobile-back-item":"",children:[a&&(0,eW.jsx)(tM.ChevronLeft,{}),(0,eW.jsx)(ay.SmartAnchor,{href:e.url.toLowerCase(),title:e.navigationTitle,children:e.navigationTitle}),(0,eW.jsx)(tM.ChevronRight,{})]},t)})})})}),(0,eW.jsx)("h1",{className:"hero-banner-job-title relative text-4xl font-bold leading-1 tracking-[-1px] text-color-primary after:absolute after:bottom-1.5 after:right-0 after:-z-1 after:block after:h-px after:w-200p after:bg-color-primary-350 after:opacity-40 after:content-[''] xl:-ml-11.5 xl:text-5xl",children:m?.mode?.isEditing?"Job Listing Header":t?.displayJobTitle}),(0,eW.jsx)("div",{className:"job-listing-button-container",children:(0,eW.jsx)("div",{className:`job-listing-button-wrapper ${"is-sticky"===r?"pointer-events-auto fixed bottom-0 left-0 right-0 z-[9999]":"pt-6"}`,"aria-hidden":!1,children:(0,eW.jsxs)("div",{className:`job-listing-button ${l?"loading":""}`,children:[(0,eW.jsxs)(ay.SmartAnchor,{href:t?.applyUrl,tabIndex:0,className:"job-listing-button--apply",target:"_blank",title:h(l?th.A.JOBS_LISTING_HERO_BANNER_APPLYING_LABEL:th.A.JOBS_LISTING_HERO_BANNER_APPLY_NOW_LABEL),onClick:e=>N(e,t?.id,t?.displayJobTitle,t?.applyUrl),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),N(e,t?.id,t?.displayJobTitle,t?.applyUrl))},onFocus:e=>{e.currentTarget.matches(":focus-visible")&&e.currentTarget.scrollIntoView({behavior:"smooth",block:"center"})},children:[l&&(0,eW.jsx)("div",{className:"loading-icon"}),(0,eW.jsx)("span",{className:"text-span",children:h(l?th.A.JOBS_LISTING_HERO_BANNER_APPLYING_LABEL:th.A.JOBS_LISTING_HERO_BANNER_APPLY_NOW_LABEL)})]}),(0,eW.jsx)("div",{className:"job-listing-button--favorite",children:(0,eW.jsx)(sn.Favorite,{jobId:g,jobTitle:t?.displayJobTitle})})]})})})]})})})})})}),sM=e=>{let{labelField:t,data:a,editingData:l}=e,{page:i}=(0,tn.M5)();return(0,eW.jsxs)("div",{className:"job-details-item",children:[(0,eW.jsx)(tS.E,{field:t,className:"job-details-item-label",tag:"h3"}),i?.mode?.isEditing?(0,eW.jsx)("p",{className:"job-details-item-value",children:l}):!!a&&(Array.isArray(a)?a.length>2?(0,eW.jsx)("ul",{className:"job-details-list",children:a.map((e,t)=>(0,eW.jsx)("li",{className:"job-details-item-value",children:e},t))}):(0,eW.jsx)("p",{className:"job-details-item-value",children:a.join(", ")}):(0,eW.jsx)("p",{className:"job-details-item-value",children:a}))]})},sP=(0,tC.w)()(({fields:e,jobData:t,params:a,rendering:l})=>{let{page:i}=(0,tn.M5)(),r=(0,tg.N)(a);return(0,eW.jsx)("div",{className:`component job-details ${r}`,children:(0,eW.jsxs)("div",{className:"job-details-wrapper",children:[(0,eW.jsx)("div",{id:"jobAnalyticsData","data-job-id":t?.id,"data-job-title":t?.displayJobTitle,"data-job-degree":t?.degree?.join(", "),"data-job-experience":t?.experienceLevel?.join(", "),"data-job-team":t?.team?.join(", "),"data-job-travel":t?.travel,"data-job-location":"US"===(t?.country??"").toUpperCase()?t?.cityAndState+", "+t?.country:t?.location,"data-job-category":t?.technicalField,"data-job-date":t?.datePosted}),(0,eW.jsx)(tN.w,{className:"job-details-title mb-6 block text-2.5xl font-bold leading-7 text-color-primary xl:text-4xl xl:leading-9",children:(0,eW.jsx)(tS.E,{field:e.sectionTitle})}),(0,eW.jsxs)("div",{className:"job-details-container",children:[(i?.mode?.isEditing||!!t?.location)&&"US"!==(t?.country??"").toUpperCase()&&(0,eW.jsx)(sM,{labelField:e.location,data:t?.location,editingData:"Location"}),(i?.mode?.isEditing||!!t?.cityAndState)&&"US"===(t?.country??"").toUpperCase()&&(0,eW.jsx)(sM,{labelField:e.location,data:t?.cityAndState+", "+t?.country,editingData:"Location"}),(i?.mode?.isEditing||!!t?.team)&&(0,eW.jsx)(sM,{labelField:e.team,data:t?.team,editingData:"Team"}),(i?.mode?.isEditing||!!t?.experienceLevel)&&(0,eW.jsx)(sM,{labelField:e.experience,data:t?.experienceLevel,editingData:"Experience Level"}
129),(i?.mode?.isEditing||!!t?.educationalBackground)&&(0,eW.jsx)(sM,{labelField:e.educationalBackground,data:t?.educationalBackground,editingData:"Education background"}),(i?.mode?.isEditing||!!t?.technicalField)&&(0,eW.jsx)(sM,{labelField:e.category,data:t?.technicalField,editingData:"Technical Field"}),(i?.mode?.isEditing||!!t?.travel)&&(0,eW.jsx)(sM,{labelField:e.travel,data:t?.travel,editingData:"Travel"}),(i?.mode?.isEditing||!!t?.programmingLanguages)&&(0,eW.jsx)(sM,{labelField:e.programmingLanguage,data:t?.programmingLanguages,editingData:"Programming languages"}),(i?.mode?.isEditing||!!t?.remoteWork)&&(0,eW.jsx)(sM,{labelField:e.remoteWork,data:t?.remoteWork,editingData:"Remote work"}),(i?.mode?.isEditing||!!t?.timeType)&&(0,eW.jsx)(sM,{labelField:e.timeType,data:t?.timeType,editingData:"Time type"})]}),(0,eW.jsx)(sO.default,{jobData:t,rendering:l,params:a})]})})}),sV=(0,tC.w)()(({fields:e,jobData:t,params:a})=>{let{page:l}=(0,tn.M5)(),i=a?.RenderingIdentifier??void 0,r=(0,tg.N)(a),{t:s}=(0,ti.s9)();return(0,eW.jsx)("div",{id:i||void 0,className:`component job-description ${r}`,children:(0,eW.jsxs)("div",{className:"job-description__wrapper",children:[l?.mode?.isEditing&&(0,eW.jsx)("strong",{children:"Job vacancy body"}),(0,eW.jsxs)("div",{className:"job-description__job-id",children:[t?.datePosted&&(Date.now()-Date.parse(t.datePosted))/864e5<7&&(0,eW.jsx)("span",{className:"mr-4",children:s(th.A.JOBS_SEARCH_RESULTS_NEW_LABEL)}),t?.id&&(0,eW.jsxs)("span",{children:[(0,eW.jsx)(tS.E,{field:e.jobIdLabel,tag:"strong"}),(0,eW.jsx)("span",{className:"font-normal",children:t.id})]})]}),t?.descriptionExternal&&(0,eW.jsx)(tG.SmartRichText,{field:{value:t?.descriptionExternal},editable:!1}),t?.descriptionExternal&&t?.payTransparencyDescription&&(0,eW.jsx)("p",{children:"\xa0"}),t?.payTransparencyDescription&&(0,eW.jsx)(tG.SmartRichText,{field:{value:t?.payTransparencyDescription},editable:!1})]})})}),sB=e=>{let{rendering:t,params:a}=e,l=(0,tc.useRouter)(),[i,r]=(0,tl.useState)();return(0,tl.useEffect)(()=>{if(!l.isReady)return;let e={id:l.query.subscription,ppc:l.query.ppc};if(e.id){let t=`/api/careers/unsubscribe?subscription=${e.id}&ppc=${e.ppc}`;(async()=>{r((await fetch(t)).status)})()}else r(400)},[l,l.isReady]),(0,eW.jsx)(tQ.default,{apiResult:i,rendering:t,params:a})};var sH=a(6300);let sU=e=>(0,eW.jsx)(sq,{captchaVariant:"hcaptcha",...e}),sG=e=>(0,eW.jsx)(sq,{captchaVariant:"default",...e}),sq=e=>{let{params:t,fields:a,captchaVariant:l}=e,{page:i}=(0,tn.M5)(),r=t?.RenderingIdentifier??void 0,s={container:(0,tg.N)(t),pointerAuto:i?.mode?.isEditing?"pointer-events-auto":"",pointerNone:i?.mode?.isEditing?"pointer-events-none":""},[n,o]=(0,tl.useState)(""),d=(0,tl.useRef)(null),[c,u]=(0,tl.useState)([]),[m,h]=(0,tl.useState)(!0),{activeFilters:p,setActiveFilters:g,filterValues:x,isFilterOpen:v,hasFilter:f,isResultsLoading:b,setOffset:j}=(0,tr.$A)(),[E,N]=(0,tl.useState)([]),[w,y]=(0,tl.useState)(p),[_,A]=(0,tl.useState)([]),[S,C]=(0,tl.useState)(""),[T,I]=(0,tl.useState)(void 0),[L]=(0,t2.lT)(),k=a?.data?.datasource?.jobSearchFilterItems?.targetItem?.children?.results,R=k?.find(e=>e.facetName?.jsonValue?.value?.toString()==to.A.jobTypeParam),$=[],D=(0,tl.useRef)(!1),O=(0,tl.useRef)(!1),F=(0,tl.useRef)(!1),M=i?.mode?.isEditing,P=i?.locale||"en-us",{t:V}=(0,ti.s9)(),B=(0,tc.useRouter)(),H=e=>{g(e),y(e)},[U,G]=(0,tl.useState)([]),q=(0,tl.useRef)(void 0),z=(0,tl.useRef)(0),W=(0,tl.useRef)(null),[Y,J]=(0,tl.useState)(!1),[Q,K]=(0,tl.useState)(!1),[X,Z]=(0,tl.useState)(!1);(0,tl.useEffect)(()=>{i?.mode?.isEditing||I((0,t1.$)(t5.$.functional))},[i,L]),(0,tl.useEffect)(()=>{0===z.current&&(z.current=Date.now(),ee())});let ee=async()=>{let e=0;await new Promise(t=>{let a=setInterval(()=>{(window?.adv_event||e>9)&&(clearInterval(a),t(!0)),++e},200)}),O.current||(0,tu.Pg)(a?.data.datasource.formName?.jsonValue?.value,a?.data.datasource.formType?.jsonValue?.value,"1",a?.data.datasource.formName?.jsonValue?.value?.toString().toLowerCase(),"start","form start"),O.current=!0},et=async()=>{let e=await (0,tp.H)({rfk_id:a.data.datasource.searchWidgetID?.jsonValue?.value,locale:i?.locale||"en-us",includeFacets:!0,includeContent:!1});if(e?.widgets?.length)return a?.data?.datasource?.jobSearchFilterItems?.targetItem?.children?.results?.map(t=>{let a=e.widgets[0].facet?.find(e=>e.name===t.facetName.jsonValue.value);return{title:{jsonValue:t.title.jsonValue},facetName:{jsonValue:t.facetName.jsonValue},expand:{jsonValue:t.expand?.jsonValue},placeholderText:{jsonValue:t.placeholderText?.jsonValue},subheading:{jsonValue:t.subheading?.jsonValue},hideOnInternship:{jsonValue:t.hideOnInternship?.jsonValue},popupFolderLocation:{jsonValue:t.popupFolderLocation?.jsonValue},value:a?.value}})},ea=(e,t)=>{er();let a=e.target.value,l=structuredClone(w),i=l.findIndex(e=>e.name===t);if(e.target.checked)i<0?l.push({name:t,values:[a]}):l[i].values?.push(a);else{let e=[...l[i]?.values].filter(e=>e!==a)??[];e.length<=0?l.splice(i,1):l[i].values=e}j(0),ed(l),eo(e.target)},el=async(e,t)=>{er();let a=e.target,l=a.value,i=structuredClone(w),r=await es(l);if(a.options[a.selectedIndex].disabled)i=w?.filter(e=>e.name!==t);else{let e=[t,to.A.cityAndStateParam],a=w?.filter(t=>!e.includes(t.name));if(a.push({name:t,values:[l]}),r){let e=1===r.length?r[0].value?.filter(e=>w.some(t=>t.name===to.A.cityAndStateParam&&t.values?.includes(e.text))):void 0;e?.length?a.push({name:to.A.cityAndStateParam,values:e.map(e=>e.text)}):1===r.length&&r[0].value?.length===1&&a.push({name:to.A.cityAndStateParam,values:[r[0].value[0].text]})}i=a}ed(i),eo(e.target)},ei=e=>{er(),e.preventDefault();let t=e.target.closest("section");if(t){let a=e.target.closest("button");t.classList.contains("is-open")?(t.classList.remove("is-open"),a&&a.setAttribute("aria-expanded","fal
129se")):(a&&a.setAttribute("aria-expanded","true"),t.classList.add("is-open"))}},er=()=>{F.current||((0,tu.Pg)(a?.data.datasource.formName?.jsonValue?.value,a?.data.datasource.formType?.jsonValue?.value,"1",a?.data.datasource.formName?.jsonValue?.value?.toString().toLowerCase(),"first interaction","form interaction"),F.current=!0)},es=async e=>{if(!e)return A([]),[];let t=await tV({country:e,rfk_id:a.data.datasource.searchWidgetID?.jsonValue?.value,locale:i?.locale||"en-us",cityFieldDefinitions:U}),l=t?[t]:[];return A(l),l},en=(0,tl.useCallback)(()=>{let e=document.documentElement;v&&window.innerWidth<992?e.classList.add("disable-scroll"):e.classList.remove("disable-scroll")},[v]),eo=e=>{setTimeout(()=>{e.focus()},0)},ed=e=>{let t=e.filter(e=>U?.find(t=>t.facetName.jsonValue.value===e.name));H(t),q.current&&clearTimeout(q.current),q.current=setTimeout(()=>{(0,tu.eU)(t),clearTimeout(q.current),q.current=void 0},2e3);let a=(0,td.Tz)({baseUrl:window.location.pathname,facets:t,existingQueryString:window.location.search,availableFilters:U?.map(e=>e.facetName.jsonValue.value)});B.push(a,void 0,{shallow:!0})};(0,tl.useEffect)(()=>(f.current=!0,(async()=>{let e=await et();x.current=e,G(e);let t=(0,td.TX)(window.location.search),a=t.find(e=>e.name===to.A.cityParam);if(a){let l=t.indexOf(a),i=[],r=e.find(e=>e.facetName.jsonValue.value===to.A.cityAndStateParam)?.value;a.values?.forEach(e=>{let t=r?.find(t=>t.text.includes(e));t&&i.push(t?.text)});let s={name:to.A.cityAndStateParam,values:i};t.fill(s,l,l+1);let n=(0,td.Tz)({baseUrl:window.location.pathname,facets:w,existingQueryString:window.location.search,availableFilters:U?.map(e=>e.facetName.jsonValue.value),removeQueries:[to.A.cityParam],newParams:[{name:to.A.cityAndStateParam,value:i.join("|")}]});B.replace(n,void 0,{shallow:!0})}let l=[...e?.map(e=>e.facetName.jsonValue.value),to.A.pageParam,to.A.sortByParam],i=t?.find(({name:e})=>"skip_recaptcha"===e||"skip_captcha"===e),r=i?.values?.[0]==="true";(0,t8.skipCaptcha)(r)&&J(!0);let s=structuredClone(w),n=R?.default?.jsonValue?.value?.toString();if(t?.find(e=>l.includes(e.name))){let a=(s=t.filter(t=>e.find(e=>e.facetName.jsonValue.value===t.name))).find(e=>e.name===R?.facetName.jsonValue.value?.toString());n&&!a?s.push({name:R?.facetName.jsonValue.value?.toString()??"",values:[n]}):(a||n)&&(!a||a.values?.indexOf("Internship")===-1)||C("hidden")}else n&&s.push({name:R?.facetName.jsonValue.value?.toString()??"",values:[n]});s.length&&H(s)})(),Z(!0),()=>{g([])}),[B.isReady]),(0,tl.useEffect)(()=>(en(),window.addEventListener("resize",en),()=>{window.removeEventListener("resize",en)}),[en]),(0,tl.useEffect)(()=>{if(w.length<=0){N([]),es("");return}if(!D.current){D.current=!0;let e=w.find(e=>e.name===to.A.countryParam);e?.values?.[0]&&es(e?.values?.[0])}w.filter(e=>e.name!==to.A.jobTypeParam).forEach(e=>{e?.values?.forEach(t=>{if(!E.some(a=>a?.key?.includes(e.name)&&a?.value?.includes(t))){let a=V("facet_"+e.name+"_"+t.toLowerCase())||t;E.push({key:e.name,value:t,text:a}),N(E)}})}),N(E.filter(e=>w.some(t=>t.name==e.key&&t?.values?.includes(e.value))))},[w]);let ec=async e=>{let t,i,r;if(e.preventDefault(),t=[],i=!0,(0,t8.GetCaptchaToken)(d,l)||!1!==Y||(i=!1,t.push({Fieldname:t4.Z,ErrorMessage:V(th.A.FORM_CAPTCHA_REQUIRED_MESSAGE)??""})),r=V(th.A.EMAIL_FIELD_PATTERN),n?n.trim().match(r)?.length||(i=!1,t.push({Fieldname:"emailaddress",ErrorMessage:V(th.A.EMAIL_ADDRESS_INVALID)??""})):(i=!1,t.push({Fieldname:"emailaddress",ErrorMessage:V(th.A.EMAIL_FIELD_REQUIRED_MESSAGE)??""})),m||(i=!1,t.push({Fieldname:"form",ErrorMessage:V(th.A.FORM_SAVE_FAILED_MESSAGE_JOB_ALERT_SUBSCRIPTION)??""})),w?.filter(e=>e.name!==to.A.jobTypeParam)?.length===0&&(i=!1,t.push({Fieldname:"filter",ErrorMessage:V(th.A.FORM_NO_FILTER_SELECTED_MESSAGE)??""})),i||((0,t8.resetCaptcha)(l),(0,tu.hO)(t.map(e=>e.ErrorMessage).join(","))),u(t),!i)return;K(!0);let s={emailaddress:e.target.emailaddress.value.trim(),jobType:w?.find(e=>e.name===to.A.jobTypeParam)?.values?.[0]??"",country:w?.find(e=>e.name===to.A.countryParam)?.values?.[0]??"",city:w?.find(e=>e.name===to.A.cityAndStateParam)?.values??[],technicalField:w?.find(e=>e.name===to.A.techFldParam)?.values??[],team:w?.find(e=>e.name===to.A.teamParam)?.values??[],degree:w?.find(e=>e.name===to.A.degreeParam)?.values??[],experienceLevel:w?.find(e=>
129e.name===to.A.expParam)?.values??[],educationalBackground:w?.find(e=>e.name===to.A.eduParam)?.values??[],captchaToken:(0,t8.GetCaptchaToken)(d,l)??"",language:(0,sH.y)(P).language,url:window?.location?.href??"",skipCaptcha:Y,captchaType:l},o=JSON.stringify(s),c=await fetch("/api/careers/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:o});if((await c.json()).data===s.emailaddress&&window){h(!0),K(!1),(0,tu.Pg)(a?.data.datasource.formName?.jsonValue?.value,a?.data.datasource.formType?.jsonValue?.value,"2",a?.data.datasource.formName?.jsonValue?.value?.toString().toLowerCase(),"success","form success");let e=a?.data?.datasource?.thankyouPage?.jsonValue;e?.value?.linktype===iy.J.EXTERNAL?window.location.href=e?.value?.href||".":B.push(e?.value?.href||"")}else{K(!1);let e=[];e.push({Fieldname:"form",ErrorMessage:V(th.A.FORM_SAVE_FAILED_MESSAGE_JOB_ALERT_SUBSCRIPTION)??""}),u(e),h(!1)}};return(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{id:r,className:`component job-alert-form asml-form ${s.container}`,"data-form-name":a?.data?.datasource?.formName?.jsonValue?.value,"data-form-type":a?.data?.datasource?.formType?.jsonValue?.value,"data-testid":"JobAlertSubscriptionForm",children:(0,eW.jsxs)("div",{className:"guttered-box",ref:W,children:[(0,eW.jsx)("div",{className:`guttered ${!i?.mode?.isEditing&&!1===T?"onetrust-overlay-container":"hidden"}`,children:(0,eW.jsxs)("div",{className:"onetrust-overlay",children:[(0,eW.jsx)(tN.w,{className:`onetrust-cookie-title mb-6 ${s.pointerAuto}`,children:(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.enableCookieTitle?.jsonValue})}),(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.enableCookieSubtitle?.jsonValue,className:`onetrust-cookie-subtitle lg:mb-6 ${s.pointerAuto}`,tag:"p"}),(0,eW.jsx)(t6.Switch,{className:"onetrust-cookie-toggle",onToggle:()=>(0,t1.l)(),onLabel:V(th.A.ONETRUST_OVERLAY_ENABLE),offLabel:V(th.A.ONETRUST_OVERLAY_DISABLE),ariaLabel:V(th.A.ONETRUST_SWITCH_LABEL)})]})}),(0,eW.jsxs)("div",{className:"guttered md:col-span-6 md:col-start-3 xl:col-span-3 xl:col-start-3",children:[(0,eW.jsx)("div",{className:"form-title",children:(i?.mode?.isEditing||!!a?.data?.datasource?.filterHeading?.jsonValue)&&(0,eW.jsx)(tN.w,{children:(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.filterHeading?.jsonValue})})}),(0,eW.jsx)("section",{className:"form-section",children:(0,eW.jsxs)("div",{className:"chips",children:[(i?.mode?.isEditing||!!a?.data?.datasource?.filterSubtitle?.jsonValue&&0===E.length)&&(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.filterSubtitle?.jsonValue,tag:"p",className:"chips__placeholder"}),(0,eW.jsx)("div",{className:"chips__container min-h-6",children:(0,eW.jsx)(eW.Fragment,{children:!i?.mode?.isEditing&&E.map((e,t)=>(0,eW.jsx)("button",{className:"chip","aria-label":`${e.text} ${V(th.A.JOB_SEARCH_REMOVE_FILTER_LABEL)}`,onClick:t=>{var a,l;let i;return a=e.key,l=e.value,er(),t.preventDefault(),void((i=w?.map(e=>e.name===a?{...e,values:e?.values?.filter(e=>e!==l||e===R?.default?.jsonValue?.value)}:e).filter(e=>(e?.values??[]).length>0)).every(e=>e.name!==to.A.countryParam)&&(i=i.filter(e=>e.name!==to.A.cityAndStateParam),A([])),!i.find(e=>e.name===R?.facetName.jsonValue.value)&&R?.default?.jsonValue?.value&&i.push({name:R.facetName.jsonValue.value?.toString()??"",values:[R.default.jsonValue.value.toString()]}),ed(i))},children:e.value},t))})})]})}),(0,eW.jsx)(tx.w,{children:M?k?.map(e=>{let t=e.facetName.jsonValue.value;if(t!==to.A.cityAndStateParam)return(0,eW.jsxs)("section",{className:`form-section ${e.expand?.jsonValue?.value&&"is-open"}`,children:[(0,eW.jsx)("button",{onClick:void 0,children:(0,eW.jsx)(tS.E,{tag:"p",field:e.title.jsonValue})}),t===to.A.countryParam?(0,eW.jsx)(tP.Dropdown,{activeFilters:[],onChange:void 0,onBlur:er,filter:void 0,placeholderField:e.placeholderText?.jsonValue,children:_?.map(a=>a.value&&(0,eW.jsx)(tP.FieldSet,{disabled:!!b,field:e,labelledby:`filter-button-${t}`},a.facetName.jsonValue.value))}):(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsxs)("div",{className:"flex",children:[(0,eW.jsx)("p",{className:"pr-2",children:"Expand: "}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.expand?.jsonValue})]}),(0,eW.jsxs)("div",{className:"flex",children:[(0,eW.jsx)("p",{className:"pr-2",children:"Hide on Internship: "}),(0,eW.jsx)(tS.E,{tag:"p",field:e?.hideOnInternship?.jsonValue})]})]})]},t)}):U?.map(e=>{let t=e.facetName.jsonValue.value?.toString()??"",a=e.hideOnInternship?.jsonValue?.value,l=e.title?.jsonValue?.value;if("true"===a&&$.push(t),t!==to.A.cityAndStateParam&&"job_location"!==t)return e.value&&(0,eW.jsxs)("section",{className:`form-section ${e.expand?.jsonValue?.value==="true"?"is-open":""} ${"true"===a&&S}`,id:`filter-panel-${t}`,children:[(0,eW.jsx)("button",{type:"button",title:l,onClick:ei,"aria-controls":`filter-panel-${t}`,"aria-label":l,"aria-expanded":e.expand?.jsonValue?.value==="true",id:`filter-button-${t}`,children:(0,eW.jsx)(tN.w,{children:(0,eW.jsx)(tS.E,{field:e.title.jsonValue})})}),t===to.A.countryParam&&(0,eW.jsx)(tP.Dropdown,{onBlur:er,activeFilters:w,onChange:e=>el(e,t),filter:e,placeholderField:e.placeholderText?.jsonValue,id:`filter-panel-${t}`,role:"region",children:_?.map(a=>a.value&&(0,eW.jsx)(tP.FieldSet,{labelledby:`filter-button-${t}`,disabled:!!b,field:e,children:(0,eW.jsx)(tP.Checkboxes,{activeFilters:w,filter:a,onChange:e=>ea(e,a.facetName.jsonValue.value?.toString()??"")})},a.facetName.jsonValue.value))}),t===to.A.jobTypeParam&&(0,eW.jsx)(tP.FieldSet,{disabled:!!b,field:e,labelledby:`filter-button-${t}`,children:(0,eW.jsx)(tP.RadioButtons,{activeFilters:w,filter:e,onChange:e=>{let a,l,i,r;return er(),a=e.target.value,l=structuredClone(w),r=(i=(e,t)=>t.findIndex(t=>t.name===e))(t,l),void(e.target.checked&&(r<0?l.push({name:t,values:[a]}
129):l[r].values?.splice(0,1,a),"Internship"===a?($.forEach(e=>{let t=i(e,l);t>0&&l.splice(t,1)}),C("hidden"),l.forEach(e=>{$.indexOf(e.name)>-1&&(e.values=[])})):C("")),j(0),ed(l),eo(e.target))}})}),t!==to.A.cityAndStateParam&&t!==to.A.countryParam&&t!==to.A.jobTypeParam&&(0,eW.jsx)(tP.FieldSet,{disabled:!!b,field:e,role:"region",id:`filter-panel-${t}`,labelledby:`filter-button-${t}`,children:(0,eW.jsx)(tP.Checkboxes,{activeFilters:w,filter:e,onChange:e=>ea(e,t)})})]},t)})}),(0,eW.jsxs)("section",{className:"pt-8",children:[(0,eW.jsxs)("div",{className:"form-title",children:[(i?.mode?.isEditing||!!a?.data?.datasource?.emailAddressTitle?.jsonValue)&&(0,eW.jsx)(tN.w,{children:(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.emailAddressTitle?.jsonValue})}),(i?.mode?.isEditing||!!a?.data?.datasource?.emailAddressSubtitle?.jsonValue)&&(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.emailAddressSubtitle?.jsonValue,tag:"p"})]}),(0,eW.jsxs)("form",{onSubmit:e=>ec(e),className:"form",children:[(0,eW.jsxs)("div",{className:"form-input",children:[(0,eW.jsx)("label",{htmlFor:"emailaddress",children:(i?.mode?.isEditing||!!a?.data?.datasource?.emailAddressLabel?.jsonValue)&&(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.emailAddressLabel?.jsonValue})}),i?.mode?.isEditing?(0,eW.jsx)(tS.E,{field:a?.data?.datasource?.emailAddressPlaceholder?.jsonValue,className:"form-box",tag:"p"}):(0,eW.jsx)("input",{type:"text",autoComplete:"email",id:"emailaddress",name:"emailaddress","aria-label":"emailaddress",onBlur:()=>{er();let e=document.getElementById("emailaddress"),t=[],a=(0,t9.validationFails)(e.value,"emailaddress",t,["emailaddress"],!0,!0,V);u(t),a&&(0,tu.hO)(t.map(e=>e.ErrorMessage).join(","))},placeholder:a.data?.datasource?.emailAddressPlaceholder?.jsonValue?.value?.toString(),maxLength:V(th.A.EMAIL_FIELD_MAX_LENGTH)?parseInt(V(th.A.EMAIL_FIELD_MAX_LENGTH)):255,value:n,onChange:e=>o(e.target.value)}),c.find(e=>"emailaddress"===e.Fieldname)&&(0,eW.jsx)("span",{"aria-invalid":!0,className:"form-invalid-text","data-invalid-text":c.find(e=>"emailaddress"===e.Fieldname)?.Fieldname,children:c.find(e=>"emailaddress"===e.Fieldname)?.ErrorMessage})]}),X&&(0,eW.jsx)(t8.Captcha,{ref:d,className:"form-captcha",locale:P,captchaVariant:l,errorMessageState:c,skipCaptcha:Y,cookieEnabled:T??!1}),c.find(e=>"filter"===e.Fieldname)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-text":c.find(e=>"filter"===e.Fieldname)?.Fieldname,children:V(th.A.FORM_NO_FILTER_SELECTED_MESSAGE)}),(i?.mode?.isEditing||!0===T)&&(0,eW.jsxs)(eW.Fragment,{children:[(0,eW.jsx)("div",{className:"form-submit-button",children:i?.mode?.isEditing?(0,eW.jsx)(tZ.N,{field:a?.data?.datasource?.thankyouPage.jsonValue,className:"button--box-lightblue"}):(0,eW.jsx)("button",{className:"button--box-lightblue",type:"submit",children:a?.data?.datasource?.thankyouPage?.jsonValue.value.text})}),(0,eW.jsx)(tG.SmartRichText,{field:a?.data?.datasource?.privacyText?.jsonValue,className:"form-note",tag:"p"}),c.find(e=>"form"===e.Fieldname)&&(0,eW.jsx)("span",{className:"form-invalid-text","data-invalid-text":c.find(e=>"form"===e.Fieldname)?.Fieldname,children:V(th.A.FORM_SAVE_FAILED_MESSAGE_JOB_ALERT_SUBSCRIPTION)})]})]})]})]})]})}),!i?.mode?.isEditing&&(0,eW.jsx)("div",{"aria-live":"polite",className:"sr-only",children:Q?V(th.A.ACC_LOADING):V(th.A.ACC_FINISHED_LOADING_FORM)}),Q&&(0,eW.jsx)(ts.Loader,{})]})},sz=(0,tC.w)()(sG),sW=(0,tC.w)()(({fields:e,params:t})=>{let a,l=t?.RenderingIdentifier??void 0,i=(0,tg.N)(t),r=(0,tr.$A)();return(0,eW.jsx)("div",{id:l,className:`component search-results-banner ${i}`,children:(0,eW.jsxs)("div",{className:"search-results-banner-wrapper",children:[(0,eW.jsxs)("div",{className:"search-results-banner-title-container",children:[(0,eW.jsx)(tS.E,{field:e?.subtitle,tag:"p",className:"search-results-banner-subtitle"}),(0,eW.jsx)(tN.w,{className:"search-results-banner-title visual-grid",children:(0,eW.jsx)(tS.E,{field:e?.title})})]}),(0,eW.jsx)("div",{className:"search-results-banner-button-container",children:(0,eW.jsxs)(tZ.N,{field:e?.callToAction,href:(a={baseUrl:e?.callToAction?.value?.href||"",facets:r.activeFilters,availableFilters:r.filterValues.current?.map(e=>e.facetName?.jsonValue?.value)},(0,td.Tz)(a)),"data-testid":l,className:"search-results-banner-button icon",children:[(0,eW.jsx)("span",{className:"text-span",children:e?.callToAction?.value?.text}),(0,eW.jsx)("span",{className:"icon-span",children:(0,eW.jsx)(tD.SVGIcon,{icon:"wide-arrow-right"})})]})})]})})}),sY=e=>{let t=(0,tr.$A)(),a=e.params?.RenderingIdentifier??void 0,l=(0,tl.useRef)(0);return((0,tl.useEffect)(()=>{0===l.current&&(l.current=Date.now())}),e.fields)?(0,eW.jsx)(sR.default,{id:a,href:(0,s$.getHref)(e.fields?.callToAction?.value?.href||"",t.activeFilters,t.filterValues.current.map(e=>e.facetName?.jsonValue?.value)||[]),...e}):(0,eW.jsx)(eW.Fragment,{})},sJ=(0,tC.w)()(({fields:e,params:t})=>{let{page:a}=(0,tn.M5)(),l=(0,tr.$A)(),i=t?.RenderingIdentifier??void 0,r=(0,tl.useRef)(0),{t:s}=(0,ti.s9)();return(0,tl.useEffect)(()=>{0===r.current&&(r.current=Date.now())}),(0,eW.jsx)(eW.Fragment,{children:a?.mode?.isEditing?(0,eW.jsxs)("div",{id:i,className:`component job-alert job-alert--button ${(0,tg.N)(t)}`,"aria-label":s(th.A.ACC_JOB_ALERT_BUTTON),children:[(0,eW.jsx)("span",{className:"job-alert-icon",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"bell"})}),(0,eW.jsx)(tZ.N,{field:e?.callToAction,className:"text-span [.primary-btn.btn--font-normal_&]:text-[1.25rem] [.primary-btn.btn--font-small_&]:text-[1rem]"})]}):(0,eW.jsxs)("a",{...e?.callToAction,id:i,"data-testid":i,className:`component job-alert job-alert--button ${(0,tg.N)(t)}`,"aria-label":s(th.A.ACC_JOB_ALERT_BUTTON),href:(0,s$.getHref)(e?.callToAction?.value?.href||"",l.activeFilters,l.filterValues.current.map(e=>e.facetName?.jsonValue?.value)||[]),children:[(0,eW.jsx)("span",{className:"job-alert-icon",children:(0,eW.jsx)(tD.SVGIcon,{spriteName:"ui",icon:"bell"})}),(0,eW.jsx)("span",{className:"job-alert-text pt-0.5",children:e?.callToAction?.value?.text})]})})});var sQ=a(6783);let sK=e=>{let{fillPercentage:t,label:a}=e;return(0,eW.jsxs)("div",{className:"glassdoor-stars-svg",role:"img","aria-label":a,children:[(0,eW.jsx)("div",{className:"glassdoor-stars-svg__base","aria-hidden":"true"}),(0,eW.jsx)("div",{className:"glassdoor-stars-svg__fill-mask",style:{width:`${t}%`},children:(0,eW.jsx)("div",{className:"glassdoor-stars-svg__fill","aria-hidden":"true"})})]})},sX=e=>{let{percentage:t,text:a,score:l,scoreLabel:i}=e;return(0,eW.jsxs)("div",{className:"glassdoor-score",children:[(0,eW.jsx)("div",{className:"glassdoor-score__bar",children:(0,eW.jsx)("div",{className:"glassdoor-score__bar-fill",style:{width:`${t}%`}})}),(0,eW.jsxs)("div",{className:"glassdoor-score__title",children:[(0,eW.jsx)(tS.E,{field:a,tag:"p"}),(0,eW.jsxs)("p",{children:[(0,eW.jsx)("span",{"aria-hidden":"true",children:l}),(0,eW.jsx)("span",{className:"sr-only",children:i})]})]})]})},sZ=async()=>await sQ.A.get(),s0=(0,tC.w)()(e=>{let{page:t}=(0,tn.M5)(),{fields:a,params:l,rendering:i}=e,r=l?.RenderingIdentifier??void 0,s=(0,tg.N)(l),n=(0,tX.Fz)(i.uid);if(!n?.response&&!t?.mode?.isEditing&&"jest-test-uid"!==i.uid)return(0,eW.jsx)("div",{className:`component glassdoor ${s}`,id:r,children:(0,eW.jsx)("div",{className:"glassdoor__wrapper",children:(0,eW.jsx)("div",{className:"glassdoor__container",children:(0,eW.jsx)("div",{className:"error-message-API",children:(0,eW.jsx)(tS.E,{field:a?.errorMessageAPIDown})})})})});let{t:o}=(0,ti.s9)(),d=Math.round(n?.response?.employer?.overallRating*10)/10||0,c=Math.round(n?.response?.employer?.cultureAndValuesRating*10)/10||0,u=Math.round(n?.response?.employer?.workLifeBalanceRating*10)/10||0,m=Math.round(n?.response?.employer?.seniorLeadershipRating*10)/10||0,h=Math.round(n?.response?.employer?.compensationAndBenefitsRating*10)/10||0,p=Math.round(n?.response?.employer?.careerOpportunitiesRating*10)/10||0,g=Math.round(n?.response?.employer?.diversityAndInclusionRating*10)/10||0,x=Math.round(n?.response?.employer?.numberOfRatings*10)/10||0,v=d/5*100,f=c/5*100,b=u/5*100,j=m/5*100,E=h/5*100,N=p/5*100,w=g/5*100,y=o(th.A.ACC_OUT_OF_5_STARS,{numberOfStars:d}),_=o(th.A.ACC_AVERAGE_RATING_OF,{totalScore:d,numberOfRatings:x}),A=e=>o(th.A.ACC_OUT_OF_5,{score:e});return(0,eW.jsx)("div",{className:`component glassdoor ${s}`,id:r,children:(0,eW.jsx)("div",{className:"glassdoor__wrapper",children:(0,eW.jsxs)("div",{className:"glassdoor__container",children:[t?.mode?.isEditing?(0,eW.jsx)("div",{className:"error-message-API",children:(0,eW.jsx)(tS.E,{field:a?.errorMessageAPIDown})}):null,(0,eW.jsxs)("div",{className:"glassdoor__header",children:[(0,eW.jsx)(tN.w,{className:"glassdoor-title",children:(0,eW.jsx)(tS.E,{field:a?.title})}),(0,eW.jsx)("a",{className:"glassdoor-link",href:"https://www.glassdoor.com/Overview/Working-at-ASML-EI_IE5781.11,15.htm",target:"_blank",rel:"noreferrer",children:(0,eW.jsx)(lb._,{field:a?.glassdoorIcon,className:"glassdoor-image",srcSet:t?.mode?.isEditing?void 0:[{mw:100},{mw:320}],sizes:t?.mode?.isEditing?void 0:"(max-width: 99px) 100px, 320px"})})]}),(0,eW.jsxs)("div",{className:"glassdoor__overall-ratings",children:[(0,eW.jsxs)("div",{className:"glassdoor-overall",children:[(0,eW.jsxs)("p",{className:"glassdoor-rating","data-testid":a?.numberOfRatings?.value,children:[(0,eW.jsxs)("span",{"aria-hidden":"true",children:[d,(0,eW.jsxs)("span",{children:["/",x,"\xa0",(0,eW.jsx)(tS.E,{field:a?.numberOfRatings})]})]}),(0,eW.jsx)("span",{className:"sr-only",children:_})]}),(0,eW.jsx)("div",{className:"glassdoor-stars",children:(0,eW.jsx)(sK,{fillPercentage:v,label:y})})]}),(0,eW.jsxs)("div",{className:"glassdoor__ratings",children:[(0,eW.jsx)(sX,{percentage:f,text:a?.cultureAndValuesLabel,score:c,scoreLabel:A(c)}),(0,eW.jsx)(sX,{percentage:b,text:a?.workLifeBalanceLabel,score:u,scoreLabel:A(u)}
129),(0,eW.jsx)(sX,{percentage:j,text:a?.seniorManagementLabel,score:m,scoreLabel:A(m)}),(0,eW.jsx)(sX,{percentage:E,text:a?.compensationAndBenefitsLabel,score:h,scoreLabel:A(h)}),(0,eW.jsx)(sX,{percentage:N,text:a?.careerOpportunitiesLabel,score:p,scoreLabel:A(p)}),(0,eW.jsx)(sX,{percentage:w,text:a?.diversityAndInclusionLabel,score:g,scoreLabel:A(g)})]})]})]})})})}),s1=(0,tC.w)()(e=>{let{fields:t,params:a,jobData:l}=e,{page:i}=(0,tn.M5)(),{t:r}=(0,ti.s9)(),s=(0,tg.N)(a),n=(e,t)=>r(e?.toLowerCase()?.replace(/[^\w\s\-]|&/g,"")?.replace(/\s+/g,"-"))||t,o=t?.data?.categories?.children?.results?.find(e=>l?.technicalField?.map(e=>e.toLocaleLowerCase())?.includes(e?.facetName?.value?.toLowerCase())),d=t?.data?.teams?.children?.results?.find(e=>l?.team?.map(e=>e.toLocaleLowerCase())?.includes(e?.facetName?.value?.toLowerCase())),c=t?.data?.locations?.children?.results?.find(e=>e?.facetName?.value?.toLowerCase()===l?.country?.toLocaleLowerCase()),u={path:n(`${th.A.JOBS_CITY_LINK}${l?.city}`,""),label:n(`${th.A.JOBS_CITY_LINK_TEXT}${l?.cityAndState}`,l?.cityAndState||"")};return i?.mode?.isEditing||o||d||u.path&&u.label||c?(0,eW.jsx)("div",{className:`component additional-job-info guttered-box ${s}`,children:(0,eW.jsxs)("div",{className:"guttered",children:[(0,eW.jsx)("div",{className:"additional-job-info-title-container",children:(0,eW.jsx)(tN.w,{className:"additional-job-info-title",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.title.jsonValue})})}),(0,eW.jsx)(tx.w,{children:(0,eW.jsxs)("div",{className:"grid w-full grid-cols-1 gap-y-8 lg:grid-cols-2",children:[o||i?.mode?.isEditing?(0,eW.jsxs)("div",{className:"additional-job-info-item",children:[(0,eW.jsx)(tN.w,{className:"additional-job-info-item-title",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.category.jsonValue})}),(0,eW.jsx)("ul",{children:(0,eW.jsx)("li",{children:!!o?.url?.path&&!!o?.navigationTitle?.value&&(0,eW.jsx)(aI(),{href:o?.url?.path||"#",title:o?.navigationTitle?.value,children:o?.navigationTitle?.value})})})]}):null,d||i?.mode?.isEditing?(0,eW.jsxs)("div",{className:"additional-job-info-item",children:[(0,eW.jsx)(tN.w,{className:"additional-job-info-item-title",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.team.jsonValue})}),!!d?.url?.path&&!!d?.navigationTitle?.value&&(0,eW.jsx)("ul",{children:(0,eW.jsx)("li",{children:(0,eW.jsx)(aI(),{href:d.url.path||"#",title:d?.navigationTitle?.value,children:d?.navigationTitle?.value})})})]}):null,u.path&&u.label||c||i?.mode?.isEditing?(0,eW.jsxs)("div",{className:"additional-job-info-item",children:[(0,eW.jsx)(tN.w,{className:"additional-job-info-item-title",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.location.jsonValue})}),(0,eW.jsxs)("ul",{children:[!!u.path&&!!u.label&&(0,eW.jsx)("li",{children:(0,eW.jsx)(aI(),{href:u.path||"#",title:u.label,children:u.label})}),!!c&&(0,eW.jsx)("li",{children:(0,eW.jsx)(aI(),{href:c?.url.path||"#",title:c?.navigationTitle?.value,children:c?.navigationTitle?.value})})]})]}):null,(i?.mode?.isEditing||(0,t3.h)(t?.data?.datasource?.asml_link_1.jsonValue)||(0,t3.h)(t?.data?.datasource?.asml_link_2.jsonValue))&&(0,eW.jsxs)("div",{className:"additional-job-info-item",children:[(0,eW.jsx)(tN.w,{className:"additional-job-info-item-title",children:(0,eW.jsx)(tS.E,{field:t?.data?.datasource?.asml.jsonValue})}),(0,eW.jsxs)("ul",{children:[(i?.mode?.isEditing||(0,t3.h)(t?.data?.datasource?.asml_link_1.jsonValue))&&(0,eW.jsx)("li",{children:(0,eW.jsx)(tZ.N,{field:t?.data?.datasource?.asml_link_1.jsonValue})}),(i?.mode?.isEditing||(0,t3.h)(t?.data?.datasource?.asml_link_2.jsonValue))&&(0,eW.jsx)("li",{children:(0,eW.jsx)(tZ.N,{field:t?.data?.datasource?.asml_link_2.jsonValue})})]})]})]})})]})}):(0,eW.jsx)(eW.Fragment,{})}),s2=new Map([["BYOCWrapper",eG],["FEaaSWrapper",eq],["Form",ez.lV],["PartialDesignDynamicPlaceholder",{...l}],["TwitterTags",{...eQ}],["SearchTags",{...eK}],["Robots",{...eX}
129],["OpenGraphTags",{...eZ}],["MetaTags",{...e0}],["SitelinksSearchboxLd",{...e1}],["OrganizationLd",{...e2}],["JobPostingsLd",{...e5}],["FAQLd",{...e6}],["BreadcrumbsLd",{...e3}],["ArticlesLd",{...e9}],["CanonicalTags",{...e4}],["AdobePageView",{...e8}],["AdobeDTM",{...e7}],["SearchResultsStories",{...te}],["SearchResultsFields",{...tt}],["SearchResultsDefault",{...ta}],["SearchResults",{...i}],["SearchQuickFilter",{...r}],["SearchContainer",{...s}],["SearchBar",{...n}],["Pagination",{...o}],["JobSearchSorting",{...d}],["JobSearchFilter",{...c}],["CustomHtml",{...u}],["CustomContainer",{...m}],["Iframe",{...h}],["NewsAlertUnsubscribe",{...p}],["NewsAlertFormV2",{...g}],["NewsAlertForm",{...x}],["LatestPressReleasesV2",{...v}],["LatestPressReleasesHelper",{...aC}],["LatestPressReleases",{...f}],["SubNavigation",{...b}],["StickyHeader",{...j}],["StickyButton",{...E}],["SocialMediaChannels",{...N}],["SocialLink",{...aq}],["SectionNavigationMobileMenu",{...aW}],["SectionNavigationMenu",{...aY}],["SectionNavigation",{...w}],["Section",{...y}],["QuickLinksItem",{..._}],["QuickLinks",{...A}],["SecondaryNavigationItem",{...a1}],["NavigationItem",{...a2}],["NavigationBackButton",{...a5}],["MainMenu",{...S}],["NavigationPanel",{...a3}],["MainHeader",{...C}],["BypassBlock",{...a4}],["LinkList",{...T}],["Button",{...I}],["Breadcrumbs",{...L}],["Webcast",{...k}],["Tabs",{...lg}],["QuestionForm",{...lx}],["Chapters",{...lp}],["VideoBanner",{...R}],["ImageBlock",{...$}],["EmbeddedVideo",{...D}],["VideoComponent",{...lk}],["EmbeddedCorpTv",{...O}],["BaseCorpTVContent",{...lR}],["Downloads",{...F}],["DownloadsObsolete",{...M}],["AGMWebcast",{...P}],["sharedEvents",{...lq}],["Events",{...V}],["EventLegends",{...lJ}],["EventDetail",{...lY}],["SvgGrid",{...l2}],["HiddenProperties",{...l5}],["OneTrust",{...l6}],["CookiePreferences",{...B}],["CookieConsent",{...H}],["TimelineStorySwiperSlide",{...l4}],["TimelineStorySlider",{...U}],["TimelineStorySlide",{...G}],["TableControls",{...ii}],["Table",{...q}],["StackingStatsV2",{...z}],["StackingStatItemV2",{...W}],["StackingStats",{...Y}],["SocialNetworkShare",{...J}],["SectionBreaker",{...Q}],["ScrollytellingSlide",{...ij}],["ScrollytellingMenu",{...iE}],["Scrollytelling",{...K}],["CustomRichText",{...X}],["RelatedContentCards",{...Z}],["ReadMorePanel",{...ee}],["Quote",{...et}],["ProductDetailsHeroBanner",{...ea}],["MixedCards",{...el}],["MixedCard",{...iB}],["LocationOverview",{...ei}],["ImageTextBlock",{...er}],["HotspotDetails",{...i2}],["Hotspot",{...es}],["HeroBanner",{...iO}],["AnimatedBlinds",{...i9}],["FeaturedContent",{...en}],["FactsAndFiguresItem",{...eo}],["FactsAndFigures",{...ed}],["ContentCards",{...ec}],["CarouselItem",{...rs}],["Carousel",{...eu}],["CallToAction",{...em}],["CTATextBlock",{...eh}],["BigImageQuote",{...ep}],["BigCarouselItem",{...rv}],["BigCarousel",{...eg}],["ArticleSummaryDetails",{...ex}],["ArticleHeroBanner",{...ev}],["AnnualReportMenu",{...rI}],["AnnualReportItemSection",{...ef}],["AnnualReportItem",{...eb}],["AnnualReport",{...ej}],["Accordion",{...tB}],["AboutTheAuthor",{...eE}],["FormikCaptcha",{...rP}],["FormField",{...rV}],["SponsoringRequestFormSchema",{...rB}],["SponsoringRequestForm",{...eN}],["RegistrationForCustomerForm",{...ew}],["ContactForm",{...ey}],["ContactCards",{...e_}],["BeameryConvertFlow",{...eA}],["VisualGrids",{...tI}],["TextLink",{...lM}],["Switch",{...t6}],["SmartRichText",{...tG}],["SmartLink",{...aM}],["SmartAnchor",{...ay}],["SearchBars",{...tT}],["SVGIcon",{...tD}],["Loader",{...ts}],["ImageEnlargement",{...lN}],["Icons",{...tM}],["FormControls",{...tP}],["Favorite",{...sn}],["ErrorBoundary",{...so}],["DynamicBorderContent",{...iv}],["CommonButton",{...a9}],["Captcha",{...t8}],["Validation",{...t9}],["UnsubscribeComponent",{...eS,...tQ}],["RasteredGrid",{...rt}],["ConditionalWrapper ",{...sd}],["ChartV2",{...eC}],["ChartTooltip",{...sv}],["ChartLegend",{...sf}],["ChartHeading",{...sb}],["ChartDescription",{...sj}],["PieChart",{...su}],["DoughnutChart",{...sm}],["BarChart",{...sc}],["ChartModule",{...sE}],["Chart",{...eT}],["SavedJobs",{...eI}],["RelatedJobs",{...eL}],["ShowRecentlyViewedItems",{...ek}],["SetRecentlyViewedItems",{...eR}],["OpenJobsUtil",{...sL}],["OpenJobs",{...e$}],["OpenJobLink",{...sk}],["JobsSocialShare",{...sO}],["JobDetailsHeroBanner",{...eD}],["JobDetails",{...eO}],["JobDescription",{...eF}],["Unsubscribe",{...eM}],["JobAlertSubscriptionForm",{...eP}],["JobAlertBanner",{...eV}],["JobAlertLinkComponent",{...sR}],["JobAlertButtonGetHref",{...s$}],["JobAlertButton",{...eB}],["Glassdoor",{...eH}],["AdditionalJobInfo",{...eU}]])},7806:(e,t,a)=>{a.r(t),a.d(t,{AdobeDTM:()=>n});var l=a(7876),i=a(5105),r=a.n(i),s=a(4825);let n=()=>{let{page:e}=(0,s.M5)(),t=e.layout.sitecore.route;return e.mode.isNormal&&t?.itemId?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r(),{defer:!0,src:"/js/analytics/adobe/adv_dcf_ASML.js"})}):(0,l.jsx)(l.Fragment,{})}},7885:(e,t,a)=>{a.r(t),a.d(t,{getArticlePagesByTags:()=>r});var l=a(464),i=a(5364);let r=async e=>{let t=[];try{let a={retries:i.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(i.env.GRAPH_QL_SERVICE_RETRIES,10)||0},r=await l.A.getData(`{ 130 search( 131 where: { 132 AND: [ 133 { 134 name: "_path" 135 value: "{37500823-8E05-487F-AE90-6B2952175853}" 136 operator: CONTAINS 137 }, 138 { 139 name: "ArticleTags" 140 value: "${e}" 141 operator: CONTAINS 142 } 143 ] 144 } 145 orderBy: { name: "ArticleDate", direction: DESC } 146 first: 3 147 ) { 148 results { 149 title: field(name: "Title") { 150 data: jsonValue 151 } 152 navigationTitle: field(name: "NavigationTitle") { 153 data: jsonValue 154 } 155 url {
156 path 157 } 158 articleDate: field(name: "ArticleDate") { 159 data: jsonValue 160 } 161 } 162 } 163 }`,a);r?.search?.results&&(t=r.search.results)}catch(e){console.error(e)}return t}},7890:(e,t,a)=>{a.r(t),a.d(t,{SocialLink:()=>o});var l=a(7876),i=a(4825),r=a(7782),s=a(8359),n=a(9466);let o=e=>{let{name:t,link:a}=e,{page:o}=(0,i.M5)();return e?(0,l.jsx)("li",{className:"social-link-container",children:o?.mode?.isEditing?(0,l.jsx)("div",{className:`social-link social-link--${t}`,children:(0,l.jsxs)("span",{className:"social-link-icon",role:"presentation",children:[(0,l.jsx)(s.SVGIcon,{spriteName:"social",icon:t}),(0,l.jsx)(r.N,{field:a,className:"text-xs"})]})}):(0,l.jsx)(r.N,{field:a,className:"social-link",title:a.value?.text??t,"aria-label":a.value?.text??t,onClick:o?.mode?.isEditing?void 0:()=>(0,n.o0)(a.value?.title||a.value?.text||t,"Follow",a?.value?.href||"","",""),children:(0,l.jsx)("span",{className:"social-link-icon",role:"presentation",children:(0,l.jsx)(s.SVGIcon,{spriteName:"social",icon:t,isDecorative:!0})})})}):(0,l.jsx)(l.Fragment,{})}},7891:(e,t,a)=>{a.r(t),a.d(t,{Accordion:()=>h,default:()=>p});var l=a(7876),i=a(8359),r=a(4825),s=a(5401),n=a(2428),o=a(9466),d=a(5733),c=a(2769),u=a(5668),m=a(7190);let h=e=>{let{fields:t,params:a}=e,{page:h}=(0,r.M5)(),p=(0,c.N)(a),g=a?.RenderingIdentifier??void 0,x=e=>{let t=e.target;("svg"!==t.nodeName||t.classList.contains("accordion-icon"))&&e.preventDefault()};if(!t)return(0,l.jsx)(l.Fragment,{});let v=t.data.item?.children?.results;return(0,l.jsxs)("div",{className:`component accordion-container ${p}`,id:g,children:[(0,l.jsx)(d.FAQLd,{faq:v?.map(e=>({name:e.title.jsonValue.value,acceptedAnswer:{text:e.content.jsonValue.value}}))}),(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(u.w,{className:"accordion-heading",children:(0,l.jsx)(s.E,{field:t?.data?.item?.title?.jsonValue})}),(0,l.jsx)(m.w,{children:t.data?.item?.children?.results&&t.data.item.children.results.map((e,t)=>e?(0,l.jsxs)("details",{className:"accordion",open:h?.mode?.isEditing,onClick:h?.mode?.isEditing?x:()=>{var t;return t=e.title?.jsonValue?.value?.toString()||"",void(0,o.NL)(t,void 0,"faq open")},children:[(0,l.jsxs)("summary",{className:"accordion-summary",children:[(0,l.jsx)(u.w,{className:"accordion-title",children:(0,l.jsx)(s.E,{field:e.title?.jsonValue})}),(0,l.jsx)("span",{className:"accordion-icon",children:(0,l.jsx)(i.SVGIcon,{spriteName:"ui",icon:"chevron-down"})})]}),(0,l.jsx)("div",{className:"accordion-text rte-container",children:(0,l.jsx)(n.SmartRichText,{field:e.content?.jsonValue})})]},t):(0,l.jsx)(l.Fragment,{}))})]})]})},p=h},7949:(e,t,a)=>{a.r(t),a.d(t,{RasteredGrid:()=>i});var l=a(7876);let i=({position:e,frequency:t})=>{let a=()=>{switch(t){case"2x":break;case"4x":return 4;case"8x":return 8;case"12x":return 12}return 2},i=Array(a()).fill("");return(0,l.jsxs)("div",{className:`rastered-grid-v grid--${t} grid--${e.toLowerCase()} pointer-events-none overflow-hidden`,children:[("Full"===e||"Left"===e)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"rastered-grid-v--group group-1",children:[Array(a()/2).fill("").map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line offset-left"},t)),i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))]}),(0,l.jsx)("div",{className:"rastered-grid-v--group group-2",children:i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))}),(0,l.jsx)("div",{className:"rastered-grid-v--group group-3",children:i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))})]}),("Full"===e||"Right"===e)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"rastered-grid-v--group group-4",children:i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))}),(0,l.jsx)("div",{className:"rastered-grid-v--group group-5",children:i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))}),(0,l.jsxs)("div",{className:"rastered-grid-v--group group-6",children:[Array(a()/2).fill("").map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line offset-right"},t)),i.map((e,t)=>(0,l.jsx)("div",{className:"rastered-grid-v--line"},t))]})]})]})}},8359:(e,t,a)=>{a.r(t),a.d(t,{SVGIcon:()=>i});var l=a(7876);let i=e=>{let{alt:t,forceHidden:a,className:i,spriteName:r,icon:s,xOffset:n,yOffset:o,heightOverride:d,widthOverride:c,isDecorative:u}=e;return e?(0,l.jsxs)("svg",{className:`${e.ignoreBaseStyles?"":"h-full w-full object-cover object-center"} ${i??""}`,role:"img",xlinkTitle:t,"aria-hidden":void 0===t||""===t||!!a,children:[!1===u?(0,l.jsx)("title",{children:t}):"",(0,l.jsx)("use",{href:((e,t="ui")=>{let a="";return a=`/images/icons/${t}.svg`,`${a}#${e}`})(s,r),x:n,y:o,height:d,width:c})]}):(0,l.jsx)(l.Fragment,{})}},8364:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var l=a(7876),i=a(4825),r=a(7273),s=a(5401),n=a(2428),o=a(5668),d=a(876),c=a(5145);let u=e=>{let{title:t,content:a,callToAction:u,backgroundImage:m}=e||{},{page:h}=(0,i.M5)(),p=h?.mode?.isEditing,g={container:"inline-block h-95 w-65 md:h-125 md:w-73.25",carousel:"group relative mr-px block h-full max-w-full text-color-white",linkText:`font-medium ${p?"opacity-100":"opacity-0 transition-opacity ease-out-300 group-hover:opacity-100"}`,linkDiv:`underline-yellow after:h-0.75 group-hover:after:w-full ${p?"after:w-full":""}`,contentText:`ease-in-out-300-all overflow-hidden rte-container ${p?"max-h-75":"max-h-0 group-hover:max-h-75"}`,backgroundDiv:`bg-gradient-transparent-black opacity-50 pointer-events-none absolute left-0 top-0 h-full w-full ${p?"opacity-100":"group-hover:bg-gradient-black opacity-100 transition-opacity duration-300 ease-in-out group-hover:opacity-100"}`},x=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:`h-full w-full ${m?.data?.value===void 0?"bg-color-gray-400":""}`,children:(0,l.jsxs)("div",{className:"relative h-full w-full",children:[(0,l.jsx)(r._,{srcSet:h?.mode?.isEditing?void 0:[{mw:507},{mw:667}],sizes:h?.mode?.isEditing?void 0:"(max-width: 768px) 507px, 667px",className:"h-full w-full object-cover object-center md:h-125",field:m.data,title:m.data.value?.alt,alt:m.data.value?.alt}),(0,l.jsx)("div",{className:g.backgroundDiv})]})}),(0,l.jsxs)("div",{className:"carousel-content-text absolute bottom-0 left-0 w-full whitespace-normal px-8 pb-12.25 xl:pb-[57px]",children:[(0,l.jsx)(o.w,{className:"carousel-text mb-2 block text-h5",children:(0,l.jsx)(s.E,{field:t.data})}),(0,l.jsx)("div",{className:"absolute bottom-7.5 left-8 xl:bottom-10",children:(p||!!u?.data?.value?.text||(0,d.h)(u?.data))&&(0,l.jsx)("div",{className:g.linkDiv,children:p?(0,l.jsx)(c.SmartLink,{className:g.linkText,field:u?.data}):(0,l.jsx)("p",{className:`${g.linkText}`,children:u?.data?.value?.text||u?.data?.value?.href})})}),(0,l.jsx)("div",{className:g.contentText,children:a?.data?.value||p?(0,l.jsx)(n.SmartRichText,{tag:"div",field:a.data,className:"mb-8 whitespace-normal leading-normal"}):(0,l.jsx)("p",{className:"mb-8"})})]})]});return e?(0,l.jsx)("li",{className:g.container,children:p||!(0,d.h)(u?.data)?(0,l.jsx)("div",{className:g.carousel,children:x()}):(0,l.jsx)(c.SmartLink,{field:u?.data,className:g.carousel,externalIconTargetClassName:"carousel-text",children:x()})}):(0,l.jsx)(l.Fragment,{})}},8415:(e,t,a)=>{a.r(t),a.d(t,{SearchTags:()=>n});var l=a(7876),i=a(7328),r=a.n(i),s=a(6651);let n=e=>{let{searchKeywords:t,includeInSearchResults:a,publicationDate:i}=e,{pageTemplate:n,pageId:o,pageTitle:d,displayName:c}=(0,s.Sz)();
163return(0,l.jsxs)(r(),{children:[(0,l.jsx)("meta",{name:"sc:page_type",content:n?.replaceAll(" ","_")?.toLowerCase()}),(0,l.jsx)("meta",{name:"sc:page_id",content:o}),d&&(0,l.jsx)("meta",{name:"sc:page_title",content:d}),c&&(0,l.jsx)("meta",{name:"sc:page_display_name",content:c}),!!t?.value&&(0,l.jsx)("meta",{name:"sc:page_keywords",content:t.value}),(0,l.jsx)("meta",{name:"sc:include_in_search_results",content:a?.value?"true":"false"}),!!i?.value&&"0001-01-01T00:00:00Z"!==i.value&&(0,l.jsx)("meta",{name:"sc:publication_date",content:i.value})]})}},8495:(e,t,a)=>{a.d(t,{$:()=>l});let l={necessary:"C0001",performance:"C0002",functional:"C0003",targeting:"C0004"}},8513:(e,t,a)=>{a.r(t),a.d(t,{Checkboxes:()=>c,Dropdown:()=>u,FieldSet:()=>m,RadioButtons:()=>d});var l=a(7876),i=a(4232),r=a(8359),s=a(4825),n=a(5401),o=a(2650);let d=({activeFilters:e,filter:t,...a})=>{let{t:i}=(0,o.s9)();return(0,l.jsx)("div",{className:"form-radio",children:t?.value?.map((r,s)=>(0,l.jsxs)("div",{children:[(0,l.jsx)("input",{checked:e?.find(e=>e.name===t.facetName.jsonValue.value)?.values?.includes(r.text)||!1,id:t.facetName.jsonValue.value+":"+r.text,name:t.facetName.jsonValue.value?.toString()??"","aria-label":i("facet_"+t.facetName.jsonValue.value+"_"+r.text.toLowerCase())?i("facet_"+t.facetName.jsonValue.value+"_"+r.text.toLowerCase()):r.text,type:"radio",value:r.text,"data-
163position":s+1,...a}),(0,l.jsx)("label",{htmlFor:t.facetName.jsonValue.value+":"+r.text,children:i("facet_"+t.facetName.jsonValue.value+"_"+r.text.toLowerCase())?i("facet_"+t.facetName.jsonValue.value+"_"+r.text.toLowerCase()):r.text})]},r.id+s.toString()))})},c=({activeFilters:e,filter:t,...a})=>(0,l.jsx)("ul",{className:"form-checkbox",children:t?.value?.map((i,r)=>(0,l.jsxs)("li",{children:[(0,l.jsx)("input",{checked:e?.find(e=>e.name===t.facetName.jsonValue.value)?.values?.includes(i.text)||!1,id:t.facetName.jsonValue.value+":"+i.text,type:"checkbox",value:i.text,"data-position":r+1,...a}),(0,l.jsxs)("label",{htmlFor:t.facetName.jsonValue.value+":"+i.text,children:[(0,l.jsx)("span",{className:"checkbox-ui","aria-hidden":"true"}),i.text]})]},i.id))}),u=({activeFilters:e,children:t,filter:a,placeholderField:o,...d})=>{let c=e?.filter(e=>e.name===a?.facetName.jsonValue.value)?.[0]?.values?.[0]??o?.value,{role:u,...m}=d,h=(0,i.useRef)(null),{page:p}=(0,s.M5)();return(0,l.jsxs)("div",{className:"form",role:u,children:[(0,l.jsxs)("div",{className:"form-dropdown",children:[p?.mode?.isEditing?(0,l.jsx)("div",{className:"form-box form-box--editor",children:(0,l.jsx)(n.E,{field:o})}):(0,l.jsxs)("select",{value:c,...m,ref:h,"aria-label":a?.title.jsonValue.value?.toString()??"",className:"cursor-pointer",children:[(0,l.jsx)("option",{disabled:!0,value:o?.value,children:o?.value},"placeholder"),a?.value?.map(e=>(0,l.jsx)("option",{value:e.text,children:e.text},e.id))]}),(0,l.jsx)(r.SVGIcon,{icon:"chevron-down",className:"transition-all duration-300"})]}),t]})},m=({children:e,field:t,labelledby:a})=>{let{page:i}=(0,s.M5)();return t?(0,l.jsx)("div",{className:"form",role:"group","aria-labelledby":a,children:i?.mode?.isEditing?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(n.E,{tag:"p",field:t?.subheading?.jsonValue,className:"form-subheading"})}):(0,l.jsxs)(l.Fragment,{children:[t?.subheading?.jsonValue?.value&&(0,l.jsx)("p",{className:"form-subheading",children:t?.subheading?.jsonValue?.value}),e]})}):(0,l.jsx)(l.Fragment,{})}},8529:(e,t,a)=>{a.r(t),a.d(t,{CommonButton:()=>i});var l=a(7876);let i=({className:e="",color:t="white",icon:a,iconHeight:i="h-full",iconWidth:r="w-full",onClick:s,switchOrder:n=!1,text:o="",title:d="",type:c="button",ariaLabel:u="button",ariaExpanded:m,textClassName:h,ref:p,disabled:g,ariaHidden:x})=>{let v=`${n?"order-last":""}${void 0!==h?" "+h:""}`;return(0,l.jsxs)("button",{className:`flex items-center ${n?"space-x-reverse":""} text-color-${t} ${e}`,onClick:s,title:d,type:c,"aria-label":u,"aria-expanded":m,ref:p,disabled:g,"aria-hidden":x,children:[o?(0,l.jsx)("p",{className:""!==v?v:void 0,children:o}):null,a?(0,l.jsx)("span",{className:`fill-color-${t} ${i} ${r}`,children:a}):null]})}},8555:(e,t,a)=>{a.d(t,{B:()=>i,f:()=>l});let l=e=>e.replaceAll(/[^A-z0-9]+/g,"-").replaceAll(/-{2,}/g,"-").toLowerCase(),i=e=>e.replaceAll(/[^\p{L}\p{N}]+/gu,"-").replaceAll(/-{2,}/g,"-").toLowerCase()},8595:(e,t,a)=>{a.d(t,{Jv:()=>o,TX:()=>r,Tz:()=>n,xs:()=>s,yI:()=>d,z0:()=>c});var l=a(5364);let i=(l.env.SUPPORTED_LANGUAGES?l.env.SUPPORTED_LANGUAGES:"en").split(","),r=e=>{let t=new URLSearchParams(e),a=[];return t.forEach((e,t)=>{a.push({name:t,values:e.split("|")})}),a??[]},s=(e,t)=>new URLSearchParams(t).get(e),n=e=>{let{baseUrl:t="",facets:a=[],existingQueryString:l,availableFilters:i,removeQueries:r,newParams:s}=e,n=l?new URLSearchParams(l):new URLSearchParams;r?.forEach(e=>{n.has(e)&&n.delete(e)}),i?.forEach(e=>{let t=a?.find(t=>t.name===e);t?(t.values?.sort(),n.set(`${t.name}`,`${t.values?.join("|")??""}`)):n.delete(e)}),s?.length&&s.forEach(e=>{n.set(e.name,e.value)}),n.sort();let o=n.toString().trim();return`${t?`${t}`:""}${o?`?${o}`:""}`},o=(e,t)=>e.startsWith("http://")||e.startsWith("https://")?e:`/${e}`.split(`/${t?.toLowerCase()}/`||"en").pop(),d=(e,t)=>e.startsWith("https://www.asml.com")||e.startsWith("https://")||e.startsWith("http://")?e?.toLowerCase():`https://www.asml.com${t&&!e.toLowerCase().startsWith(`/${t.toLowerCase()}/`)?`/${t}`:""}${e}`.toLowerCase(),c=(e,t)=>{if(void 0===e)return"";let a=e.match(/[^/]+(?=\/?$)/);return!a||a[0]==t||i.includes(a[0])?"Home":a[0].replace(/-/g," ").split(" ").join(" ")}},8742:(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var l=a(7876),i=a(4825),r=a(7273),s=a(5401),n=a(7782),o=a(876),d=a(6557),c=a.n(d),u=a(8359),m=a(6479),h=a(5668),p=a(9466),g=a(2650),x=a(5145);let v=e=>{let{title:t,subtitle:a,date:d,callToAction:v,displayCta:f,image:b}=e||{},{page:j}=(0,i.M5)(),E=j?.mode?.isEditing,{t:N}=(0,g.s9)(),w=e.background.targetItem?.value?.value?e.background.targetItem.value.value:"bg-color-white",y=w.indexOf("bg-dark")>=0,_=y?" text-color-white":" text-color-black-900",A=y?" fill-color-white":" fill-color-primary",S=b.data.value?.src!=null,C=a?.data?.value,T=d?.data?.value!=m.A.DEFAULT_DATE,I=e.isLast,L=e.isDragging,k=(0,x.isExternalLinkField)(v?.data),R={container:"mixed-card flex w-72 min-w-72 lg:w-85 lg:min-w-85 border-1 border-color-primary-350 "+w+" "+(y?" text-color-white":" text-color-primary")+" "+(0===e.index?"ml-0 lg:ml-45":"")+" "+(I?"mr-0":"mr-4")+" "+(E?"":"h-95 min-h-95 lg:h-112 lg:min-h-112"),card:"flex flex-col h-full w-full max-w-full "+(S?"":"p-6 sm:p-8")},$=()=>(0,l.jsxs)(l.Fragment,{children:[(b?.data?.value?.src||E)&&(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsx)(r._,{srcSet:j?.mode?.isEditing?void 0:[{mw:288},{mw:340}],sizes:j?.mode?.isEditing?void 0:"(max-width: 768px) 288px, 340px",className:"h-50 w-full object-cover object-center",field:b.data,title:b.data.value?.alt,alt:b.data.value?.alt})}),(d?.data?.value!=m.A.DEFAULT_DATE||E)&&(0,l.jsx)("div",{className:`mb-3 text-sm font-bold uppercase tracking-5 ${_} ${S?"px-6":""}`,children:E?(0,l.jsx)(s.E,{tag:"div",field:d?.data,className:"mb-8 whitespace-normal leading-normal"}):c()(d?.data?.value).utc().format("MMMM DD, YYYY")}),t?.data?.value||E?(0,l.jsx)(h.w,{className:`mixed-card-title z-auto mb-4 whitespace-normal ${S?"px-6":""} ${S||C||T?"text-xl leading-6 tracking-normal lg:text-2xl/6":"text-mixedcardsmall lg:text-mixedcard"} font-bold"`,"data-smartlink-icon-target":!k||f?.data?.value||a?.data?.value?void 0:"true",children:(0,l.jsx)(s.E,{field:t?.data})}):(0,l.jsx)("p",{className:"mb-8"}),(a?.data?.value||E)&&(0,l.jsx)(s.E,{tag:"div",field:a?.data,className:`mixed-card-subtitle mb-4 whitespace-normal text-base font-semibold leading-normal ${S?"px-6":""} ${_}`,"data-smartlink-icon-target":!k||f?.data?.value||t?.data?.value?void 0:"true"}),(0,l.jsx)("div",{className:`underline-yellow--long ${S?"px-6":""}`}),(v?.data?.value.href&&f?.data?.value||E)&&(0,l.jsxs)("div",{className:"mr-auto mt-auto whitespace-normal border-1 px-8 py-3 text-center text-xl font-semibold",children:[E&&f?.data?.value&&(0,l.jsx)(x.SmartLink,{field:v?.data}),E&&!f?.data?.value&&(0,l.jsx)(n.N,{field:v?.data}),!E&&(0,l.jsx)("span",{className:"mixed-card-cta",children:v?.data.value.text}),!k&&(0,l.jsx)("span",{className:"icon-span ml-2",children:(0,l.jsx)(u.SVGIcon,{icon:"wide-arrow-right",className:`float-right max-h-6 max-w-10 ${A}`})})]})]});return e?(0,l.jsxs)("div",{className:`relative ${R.container}`,"data-mixed-card-index":e.index,children:[(0,l.jsx)("p",{className:"sr-only",children:N(m.A.ACC_ITEM)+" "+(+e.index+1)}),E||!(0,o.h)(v?.data)?(0,l.jsx)("div",{className:R.card,children:$()}):(0,l.jsx)(x.SmartLink,{field:v?.data,className:R.card,onClick:e=>{var a;return a=t?.data?.value?.toString()||"",void(L&&e.preventDefault(),(0,p.NL)(a,void 0,"read more open"))},externalIconTargetClassName:f?.data?.value?"mixed-card-cta":a?.data?.value?"mixed-card-subtitle":"mixed-card-title",children:$()})]}):(0,l.jsx)(l.Fragment,{})}},8765:(e,t,a)=>{a.r(t),a.d(t,{NavigationBackButton:()=>o});var l=a(7876),i=a(8529),r=a(8359),s=a(2650),n=a(6479);let o=e=>{let{t:t}=(0,s.s9)(),{onClick:a}=e;return(0,l.jsx)("div",{className:"relative z-1 -mt-13 mb-3 w-full p-2 transition-opacity delay-400 duration-300 ease-in-out max-xl:border-b max-xl:border-solid max-xl:border-color-primary-350/40",children:(0,l.jsx)(i.CommonButton,{icon:(0,l.jsx)(r.SVGIcon,{className:"mr-3",spriteName:"ui",icon:"arrow-left",alt:t(n.A.HEADER_ICON_PREVIOUS),forceHidden:!0}),iconHeight:"h-6",iconWidth:"w-9",onClick:a,switchOrder:!0,text:t(n.A.HEADER_BACK),ariaLabel:t(n.A.HEADER_BACK),className:"-ml-5 text-xl font-light leading-5"})})}},8770:(e,t,a)=>{a.d(t,{A:()=>h});var l=a(7876),i=a(4232),r=a(4218),s=a(935),n=a(4825),o=a(2130);a(5639);var d=a(8847),c=a.n(d),u=a(463);let m=c()(()=>a.e(328).then(a.bind(a,8328)),{loadableGenerated:{webpack:()=>[8328]},ssr:!1});r.enableNextClientsideComponents(c(),m);let h=()=>{let{page:e}=(0,i.useContext)(n.w_),{pageState:t}=e.layout.sitecore.context;return r.setContextProperties({sitecoreEdgeUrl:u.A.api.edge?.edgeUrl,sitecoreEdgeContextId:u.A.api.edge?.contextId,pageState:t||o.IY.Normal,siteName:e.siteName||u.A.defaultSite,eventsSDK:s}),(0,l.jsx)(r.ExternalComponentBundle,{})}},8831:(e,t,a)=>{a.r(t),a.d(t,{SearchStories:()=>c});var l=a(7876),i=a(4232),r=a(7273),s=a(4825),n=a(9099),o=a(5510),d=a(5668);let c=e=>{let{results:t,handleResultClick:c,generateUrl:u,hasError:m}=e,{page:h}=(0,s.M5)(),[p,g]=(0,i.useState)(530),[x,v]=(0,i.useState)([]),f=(0,i.useRef)(null),b=(0,i.useRef)(null),j=(0,n.useRouter)();(0,i.useEffect)(()=>{let e=()=>{g(window.innerWidth)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,i.useEffect)(()=>{E(p)}
163,[p]),(0,i.useEffect)(()=>{(async()=>{b.current&&f.current||(b.current=(await a.e(407).then(a.t.bind(a,2407,23))).default,f.current=new(await a.e(0).then(a.t.bind(a,1619,23))).default(".search-stories__grid",{itemSelector:".search-story",columnWidth:".search-story-sizer"})),f.current?.reloadItems&&f.current.reloadItems(),f.current?.layout&&f.current.layout(),b.current(".search-stories__grid").on("progress",()=>{f.current?.reloadItems&&f.current.reloadItems(),f.current?.layout&&f.current.layout()}),E(window.innerWidth)})()},[t,j.isReady]);let E=e=>{let a=1;e>=576&&e<1200?a=2:e>=1200&&e<1600?a=3:e>=1600&&(a=4);let l=(t?.length||0)%a;0===l&&(l=a);let i=t?.length||-1,r=[];for(let e=1;e<=l;e++)r.push(i-e);v(r)};return(0,l.jsx)("div",{className:"search-stories__grid",children:!h?.mode?.isEditing&&!m&&t?.map((e,t)=>(0,l.jsx)("div",{className:`search-story search-story-sizer bg-color-white ${x.includes(t)?"!pb-0":""}`,children:(0,l.jsxs)(o.SmartAnchor,{externalIconTargetClassName:"search-results-title-heading",href:u(e.url),locale:h?.locale?.toLocaleLowerCase()||"en",className:"search-results__item",onClick:()=>
163{c(t,e.id,e.url,e.type)},children:[(0,l.jsx)(r._,{field:{value:{src:e?.image_url}},title:e?.name,alt:e?.name,className:"search-results__image"}),(0,l.jsx)("div",{className:"search-results__title",children:(0,l.jsx)(d.w,{className:"search-results-title-heading",children:e?.name})})]})},t))})}},8864:(e,t,a)=>{a.r(t),a.d(t,{EventDetail:()=>v});var l=a(7876),i=a(4825),r=a(5401),s=a(7782),n=a(7273),o=a(2428),d=a(6557),c=a.n(d),u=a(1576),m=a.n(u),h=a(876),p=a(8555),g=a(5145),x=a(5668);let v=e=>{let{page:t}=(0,i.M5)(),a=t?.mode?.isEditing;return e?e.rowVersion?(0,l.jsx)(b,{...e}):a||!(0,h.F)(e?.link?.data)?(0,l.jsx)("div",{className:"event-detail-container md:mr-4",children:f({...e,isEditing:a})}):(0,l.jsx)(g.SmartLink,{field:e?.link?.data,className:"event-detail-container has-link md:mr-4",externalIconTargetClassName:"event-detail__date",children:f({...e,isEditing:a})}):(0,l.jsx)(l.Fragment,{})},f=e=>{c().extend(m());let t=c()(e?.startDate?.data?.value).utc(),a=c()(e?.endDate?.data?.value).utc();return(0,l.jsxs)("div",{className:"event-detail",children:[(0,l.jsxs)("div",{className:"event-detail-datetime",children:[(0,l.jsx)(x.w,{className:"event-detail__date",...e?.isEditing&&(0,g.isExternalLinkField)(e?.link?.data)?{"data-smartlink-icon-target":"true"}:{},children:`${t.year()>1?t.format("MMMM D"):"Start date"}-${a.year()>1?a.format(t.year()===a.year()&&t.month()===a.month()?"D":"MMMM D"):"End date"}`}),(0,l.jsx)(r.E,{field:e?.timeDescription?.data,tag:"p",className:"event-detail__time"})]}),(0,l.jsxs)("div",{className:"event-detail-content",children:[(0,l.jsx)(r.E,{field:e?.title?.data,className:"event-detail__title",tag:"p"}),(0,l.jsx)(r.E,{field:e?.location?.data,className:"event-detail__description",tag:"p"}),(0,l.jsx)(o.SmartRichText,{field:e?.description?.data,className:"event-detail___description",tag:"p"})]}),e?.isEditing&&(0,l.jsx)(s.N,{field:e?.link?.data,className:"text-xs"})]})},b=e=>{let{page:t}=(0,i.M5)();return(0,l.jsxs)("div",{className:"itb itb--default col-span-12 bg-color-white odd:bg-color-blue-200",id:`${(0,p.B)(e.title?.data?.value)}`,children:[(0,l.jsxs)("div",{className:"itb-text-col component-wrapper",children:[(0,l.jsx)(x.w,{className:"heading-4 text-color-primary",children:(0,l.jsx)(r.E,{field:e?.title?.data})}),(0,l.jsx)(r.E,{field:e?.timeDescription?.data,tag:"p",className:"event-datetime"}),(0,l.jsx)(o.SmartRichText,{field:e?.description?.data,className:"itb-rt custom-rich-text !text-color-gray"}),(t?.mode?.isEditing||e?.link?.data?.value?.href)&&(0,l.jsx)("div",{className:"primary-btn",children:(0,l.jsx)(g.SmartLink,{field:e?.link.data,className:"btn button--yellowline mt-6 !text-color-primary"})})]}),(0,l.jsx)("div",{className:"itb-media-col component-wrapper",children:(0,l.jsx)("div",{className:"itb-img",children:(0,l.jsx)(n._,{loading:"lazy",field:e?.image?.data,title:e?.image?.value?.alt,alt:e?.image?.value?.alt,srcSet:t?.mode?.isEditing?void 0:[{mw:100},{mw:320},{mw:500},{mw:576}],sizes:t?.mode?.isEditing?void 0:"(max-width: 99px) 100px, (max-width: 319px) 320px, (max-width: 499px) 500px, 576px"})})})]})}},8871:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var l=a(7876),i=a(8847),r=a.n(i),s=a(9228);let n=r()(()=>a.e(888).then(a.bind(a,7888)).then(e=>e.SwiperSlide),{loadableGenerated:{webpack:()=>[7888]},ssr:!1}),o=e=>{let{index:t,rendering:a,introSlideUid:i,showIntro:r,slideUids:o,tileView:d}=e;return(0,l.jsx)(n,{children:(0,l.jsx)(s.O,{rendering:a,name:"timeline-story-slides",render:e=>e.length>0&&e[t]?e[t]:void 0,passThroughComponentProps:{introSlideUid:i,showIntro:r,slideUids:o,tileView:d}})})};o.displayName="SwiperSlider";let d=o},8906:(e,t,a)=>{a.d(t,{Iu:()=>r});var l=a(4232);let i=(e,t,a,r="target")=>l.Children.map(e,(e,s)=>{var n;let o=`${r}-${s}`;if(!(0,l.isValidElement)(e)||a.matched)return e;if(n=e.props?.className,"string"==typeof n&&n.split(/\s+/).includes(t))return a.matched=!0,(0,l.cloneElement)(e,{"data-smartlink-icon-target":"true"});let d=e.props?.children;return void 0===d?e:(0,l.cloneElement)(e,void 0,i(d,t,a,o))}),r=(e,t,a)=>{let r=null!=e&&!1!==e,s=t&&r&&!!a,n={matched:!1},o=s?i(e,a,n):e;return!t||s&&n.matched?o:(0,l.createElement)(l.Fragment,null,o,(0,l.createElement)("span",{key:"self-marker","aria-hidden":"true","data-smartlink-icon-marker":"true"}))}},8937:(e,t,a)=>{a.r(t),a.d(t,{ZoomIndicator:()=>p,panZoomableImage:()=>h});var l=a(7876),i=a(4825),r=a(4232),s=a(8359),n=a(8477),o=a(7502),d=a(2650),c=a(6479),u=a(7300);let m=new WeakMap,h=(e,t)=>{let a=m.get(e);if(!a||!a.shown)return!1;let l=window.innerWidth/2,i=window.innerHeight/2,r=a.keyboardPanPoint??{x:l,y:i};switch(t){case"ArrowLeft":r.x+=40;break;case"ArrowRight":r.x-=40;break;case"ArrowUp":r.y+=40;break;case"ArrowDown":r.y-=40}a.keyboardPanPoint=r;let s=a.target;if(s?.translate&&s?.scale){let t=l-r.x,n=i-r.y,o=a.options.scaleExtra;e.style.transform=`translate3d(${s.translate.x+t}px, ${s.translate.y+n}px, 0px) scale(${s.scale.x+o}, ${s.scale.y+o})`}return!0},p=e=>{let{page:t}=(0,i.M5)(),a=e?.EnableImageEnlargement?.value,o=(0,r.useRef)(null),m=(0,r.useRef)(null),[p,x]=(0,r.useState)(!1),[v,f]=(0,r.useState)(null),{t:b}=(0,d.s9)();if((0,r.useEffect)(()=>
163{if(a&&!t?.mode?.isEditing){let e=o?.current?.parentElement?.querySelector("img");e&&"1"!==e.getAttribute("zoomable")&&(m.current=e,g(e,{onOpen:()=>x(!0),onClose:()=>x(!1)}),e.setAttribute("zoomable","1"))}},[]),(0,r.useEffect)(()=>{f(document.body)},[]),!a)return(0,l.jsx)(l.Fragment,{});let j=(e,t)=>{e.preventDefault(),e.stopPropagation(),m.current&&h(m.current,t)},E=(e,t)=>{e.preventDefault(),e.stopPropagation(),m.current&&h(m.current,t)},N=e=>{e.preventDefault(),e.stopPropagation()};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:o,className:"image-zoom-indicator pointer-events-none absolute bottom-0 left-0 z-10 opacity-100 transition duration-300 ease-in-out",children:(0,l.jsx)(s.SVGIcon,{ignoreBaseStyles:!0,className:"relative bottom-0 left-0 box-content h-8 w-8 bg-zoom-indicator fill-color-white p-3",icon:"zoom-in"})}),p&&v&&(0,n.createPortal)((0,l.jsx)("div",{className:"pointer-events-none fixed inset-0 z-120",style:{zIndex:9999},"aria-hidden":!1,children:(0,l.jsxs)(u.s,{isActive:!0,children:[(0,l.jsx)("button",{type:"button","aria-label":b(c.A.ACC_PAN_IMAGE_UP),className:"pointer-events-auto absolute left-1/2 top-6 flex h-12 w-12 -translate-x-1/2 cursor-pointer items-center justify-center rounded-full border-0 bg-zoom-indicator p-0",onMouseDown:N,onTouchStart:N,onPointerDown:N,onTouchEnd:e=>E(e,"ArrowUp"),onClick:e=>j(e,"ArrowUp"),children:(0,l.jsx)(s.SVGIcon,{ignoreBaseStyles:!0,className:"h-6 w-6 -rotate-90 fill-color-white",icon:"arrow-right"})}),(0,l.jsx)("button",{type:"button","aria-label":b(c.A.ACC_PAN_IMAGE_RIGHT),className:"pointer-events-auto absolute right-6 top-1/2 flex h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border-0 bg-zoom-indicator p-0",onMouseDown:N,onTouchStart:N,onPointerDown:N,onTouchEnd:e=>E(e,"ArrowRight"),onClick:e=>j(e,"ArrowRight"),children:(0,l.jsx)(s.SVGIcon,{ignoreBaseStyles:!0,className:"h-6 w-6 fill-color-white",icon:"arrow-right"})}),(0,l.jsx)("button",{type:"button","aria-label":b(c.A.ACC_PAN_IMAGE_DOWN),className:"pointer-events-auto absolute bottom-6 left-1/2 flex h-12 w-12 -translate-x-1/2 cursor-pointer items-center justify-center rounded-full border-0 bg-zoom-indicator p-0",onMouseDown:N,onTouchStart:N,onPointerDown:N,onTouchEnd:e=>E(e,"ArrowDown"),onClick:e=>j(e,"ArrowDown"),children:(0,l.jsx)(s.SVGIcon,{ignoreBaseStyles:!0,className:"h-6 w-6 rotate-90 fill-color-white",icon:"arrow-right"})}),(0,l.jsx)("button",{type:"button","aria-label":b(c.A.ACC_PAN_IMAGE_LEFT),className:"pointer-events-auto absolute left-6 top-1/2 flex h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border-0 bg-zoom-indicator p-0",onMouseDown:N,onTouchStart:N,onPointerDown:N,onTouchEnd:e=>E(e,"ArrowLeft"),onClick:e=>j(e,"ArrowLeft"),children:(0,l.jsx)(s.SVGIcon,{ignoreBaseStyles:!0,className:"h-6 w-6 rotate-180 fill-color-white",icon:"arrow-right"})})]})}),v)]})},g=(e,t)=>{let a=new o.A({enableGrab:!0,onBeforeOpen(e){e.classList.add("image-zoom-active"),a.keyboardPanPoint={x:window.innerWidth/2,y:window.innerHeight/2},t?.onOpen?.()},onBeforeClose(e){e.classList.remove("image-zoom-active"),a.keyboardPanPoint=null,t?.onClose?.()},scrollThreshold:100,closeOnWindowResize:!1});{let e=a.grab?.bind(a),t=a.move?.bind(a),l=a.release?.bind(a);e&&(a.grab=(t,l,...i)=>(a.invertedGrabOrigin={x:t,y:l},e(t,l,...i))),t&&(a.move=(e,l,...i)=>{let r=a.invertedGrabOrigin;return r?t(2*r.x-e,2*r.y-l,...i):t(e,l,...i)}),l&&(a.release=(...e)=>(a.invertedGrabOrigin=null,l(...e)))}m.set(e,a),a.listen(e)}},8960:(e,t,a)=>{a.r(t),a.d(t,{GET_SHARED_EVENTS:()=>l});let l=` 164query ShareEventsQuery($datasource: String!, $language: String!) { 165 datasource: item(path: $datasource, language: $language) { 166 intro: field(name: "Intro"){ 167 data: jsonValue 168 } 169 sharedEvents: field(name: "SharedEvents") { 170 results: jsonValue 171 } 172 } 173 } 174 `},8996:(e,t,a)=>{a.r(t),a.d(t,{AnimatedBlinds:()=>r});var l=a(7876),i=a(4232);let r=()=>{let[e,t]=(0,i.useState)("");return(0,i.useEffect)(()=>{t("translate-y-full")},[]),(0,l.jsxs)("div",{className:"box pointer-events-none absolute top-0 z-20 grid h-full grid-cols-12 overflow-hidden",children:[(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full w-8 lg:w-13 xl:w-19.5",children:(0,l.jsx)("div",{className:"relative h-full w-full",children:(0,l.jsx)("div",{className:`animated-blind delay-[225ms] ${e}`})})}),(0,l.jsx)("div",{className:"relative col-span-6 md:col-span-2",children:(0,l.jsx)("div",{className:`animated-blind delay-[200ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden md:col-span-4 md:block xl:hidden",children:(0,l.jsx)("div",{className:`animated-blind delay-[175ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden md:col-span-4 md:block xl:hidden",children:(0,l.jsx)("div",{className:`animated-blind delay-[150ms] ${e}`})}),(0,l.jsx)("div",{className:"relative col-span-6 md:hidden xl:col-span-2 xl:block",children:(0,l.jsx)("div",{className:`animated-blind delay-[125ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden md:hidden xl:col-span-2 xl:block",children:(0,l.jsx)("div",{className:`animated-blind delay-[100ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden md:hidden xl:col-span-2 xl:block",children:(0,l.jsx)("div",{className:`animated-blind delay-[75ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden xl:col-span-2 xl:block",children:(0,l.jsx)("div",{className:`animated-blind delay-[50ms] ${e}`})}),(0,l.jsx)("div",{className:"relative hidden md:col-span-2 md:block",children:(0,l.jsx)("div",{className:`animated-blind delay-[25ms] ${e}`})}),(0,l.jsx)("div",{className:"absolute right-0 top-0 h-full w-8 lg:w-13 xl:w-19.5",children:(0,l.jsx)("div",{className:"relative h-full w-full",children:(0,l.jsx)("div",{className:`animated-blind delay-[0] ${e}`})})})]})}},9116:(e,t,a)=>{a.r(t),a.d(t,{OpenJobLink:()=>u});var l=a(7876),i=a(4232),r=a(8230),s=a.n(r),n=a(4825),o=a(5401),d=a(5668),c=a(4766);let u=e=>{let{page:t}=(0,n.M5)(),a=(0,i.useRef)(0);return((0,i.useEffect)(()=>{0===a.current&&(a.current=Date.now())}),e)?(0,l.jsx)("li",{className:"open-job",children:(0,l.jsxs)(s(),{href:e?.url||"#",onClick:()=>{(0,c.v_)(e?.index,e?.job_id,e?.url,e?.type,void 0,void 0,t?.locale||"en-us",a.current)},title:void 0,className:"open-job__link",children:[(0,l.jsx)(d.w,{className:"open-job__title",children:(0,l.jsx)(o.E,{field:{value:e?.name}})}),(0,l.jsxs)("div",{className:"open-job__description",children:[(0,l.jsx)("p",{children:e?.job_location}),Array.isArray(e?.job_teams)&&e.job_teams.length>0&&e.job_teams.map((e,t)=>(0,l.jsx)("p",{children:e},t))]})]})}):(0,l.jsx)(l.Fragment,{})}},9163:(e,t,a)=>{a.r(t),a.d(t,{FormField:()=>u});var l=a(7876),i=a(2650),r=a(3808),s=a(4825),n=a(5401),o=a(8359),d=a(3062),c=a(6479);let u=e=>{let{fieldType:t,name:a,label:u,style:m,rows:h,maxLength:p,optional:g,options:x,placeholder:v}=e,{page:f}=(0,s.M5)(),{t:b}=(0,i.s9)(),[j,E]=(0,r.useField)(`${a}`);return e?(0,l.jsxs)("div",{className:`form-${t} ${m}`,children:[t!==d.s.radiolist&&t!==d.s.checkboxlist&&(0,l.jsxs)("div",{className:"form-label-container",children:[(0,l.jsx)(n.E,{field:u,tag:"label",className:"form-label normal-case",htmlFor:a}),!0===g&&(0,l.jsxs)("span",{className:"flex items-end",children:["(",b(c.A.FORM_LABEL_OPTIONAL),")"]})]}),(t===d.s.input||t===d.s.number||t===d.s.email)&&(f?.mode?.isEditing?v?(0,l.jsx)("div",{id:a,className:"form-box",children:(0,l.jsx)(n.E,{field:v})}):(0,l.jsx)("input",{disabled:!0}):(0,l.jsx)("input",{id:a,onClick:e.sendInteraction,placeholder:`${f?.mode?.isEditing||!v?.value?"":v?.value}`,type:t===d.s.email?d.s.email:d.s.input,maxLength:t===d.s.input||t===d.s.email?p||255:void 0,"aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,...j})),t===d.s.datepicker&&(0,l.jsxs)("div",{className:"date-field-container",children:[(0,l.jsx)("input",{id:a,type:"date",onClick:e.sendInteraction,disabled:f?.mode?.isEditing,placeholder:`${f?.mode?.isEditing||!v?.value?"":v?.value}`,"aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,...j}),(0,l.jsx)(o.SVGIcon,{icon:"calendar",spriteName:"pictograms"})]}),t===d.s.textarea&&(f?.mode?.isEditing?v?(0,l.jsx)("div",{id:a,className:"form-box",children:(0,l.jsx)(n.E,{field:v})}):(0,l.jsx)("textarea",{rows:h||20,disabled:!0}):(0,l.jsx)("textarea",{id:a,onClick:e.sendInteraction,placeholder:`${f?.mode?.isEditing||!v?.value?"":v?.value}`,rows:h||20,maxLength:p||512,"aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,...j})),t===d.s.dropdown&&(0,l.jsxs)("div",{id:a,className:"form-dropdown__wrapper",children:[(0,l.jsxs)("select",{disabled:f?.mode?.isEditing,"aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,...j,children:[(0,l.jsx)("option",{disabled:!g}),x?.map((e,t)=>(0,l.jsx)("option",{value:e.value?.data?.value,children:e.label?.data?.value},t))]}),(0,l.jsx)(o.SVGIcon,{icon:"chevron-down"})]}),t===d.s.radiolist&&(0,l.jsxs)("fieldset",{className:"form-radio","aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,children:[(0,l.jsxs)("legend",{className:"form-label normal-case",children:[(0,l.jsx)(n.E,{field:u}),!0===g&&(0,l.jsxs)("span",{className:"flex items-end",children:["(",b(c.A.FORM_LABEL_OPTIONAL),")"]})]}),(0,l.jsx)("div",{id:a,className:"!flex-col",children:x?.map((t,i)=>(0,l.jsxs)("div",{className:"radio-list-options",children:[(0,l.jsx)("input",{...j,onClick:e.sendInteraction,t
174ype:"radio",value:t?.value?.data?.value,id:`${a}-${t?.value?.data?.value}`,checked:t?.value?.data?.value===j?.value}),(0,l.jsx)("label",{className:"text-cardtext normal-case text-color-gray",htmlFor:`${a}-${t?.value?.data?.value}`,children:t?.label?.data?.value})]},i))})]}),t===d.s.checkboxlist&&(0,l.jsxs)("fieldset",{className:"form-checkbox","aria-describedby":E?.error&&E.touched?`${a}-error`:void 0,children:[(0,l.jsxs)("legend",{className:"form-label normal-case",children:[(0,l.jsx)(n.E,{field:u}),!0===g&&(0,l.jsxs)("span",{className:"flex items-end",children:["(",b(c.A.FORM_LABEL_OPTIONAL),")"]})]}),(0,l.jsx)("ul",{id:a,children:x?.map((t,i)=>(0,l.jsxs)("li",{className:"check-box-options",children:[(0,l.jsx)("input",{...j,type:"checkbox",onClick:e.sendInteraction,value:t?.value?.data?.value,id:`${a}-${t?.value?.data?.value}`}),(0,l.jsxs)("label",{className:"ml-3 text-cardtext normal-case text-color-gray",htmlFor:`${a}-${t?.value?.data?.value}`,children:[(0,l.jsx)("span",{className:"checkbox-ui","aria-hidden":"true"}),t?.label?.data?.value]})]},i))})]}),!!E?.error&&!!E.touched&&(0,l.jsx)("span",{className:"form-invalid-text","data-invalid-form-field":a,id:`${a}-error`,children:E?.error})]}):(0,l.jsx)(l.Fragment,{})}},9167:(e,t,a)=>{a.r(t),a.d(t,{SearchResultsFields:()=>s});var l=a(7876),i=a(4825),r=a(2428);let s=e=>{let{fields:t,offset:a,hasError:s,hasWrongPagenumber:n,resultsCountText:o,paginationText:d,results:c,resultDetails:u,variant:m}=e,{page:h}=(0,i.M5)();return(0,l.jsxs)(l.Fragment,{children:[(h?.mode?.isEditing||u?.total!==void 0&&u?.total===0)&&(0,l.jsx)("div",{className:"custom-rich-text col-span-12 py-12",children:(0,l.jsx)(r.SmartRichText,{field:t.noResults})}),(h?.mode?.isEditing||s&&a>=0)&&(0,l.jsx)("div",{className:"custom-rich-text col-span-12 py-12",children:(0,l.jsx)(r.SmartRichText,{field:t.errorMessage})}),(h?.mode?.isEditing||(u?.total??0)>0&&u?.totalPages===0||s&&a<0||n)&&(0,l.jsx)("div",{className:"custom-rich-text col-span-12 py-12",children:(0,l.jsx)(r.SmartRichText,{field:t.pageNumberError})}),("default"===m||"site"===m)&&!!c&&c.length>0&&!n&&(0,l.jsxs)("div",{className:"pagination-results","data-results-count":u?.total,children:[!!o&&(0,l.jsx)("div",{className:"pagination-results__results",children:(0,l.jsx)("h2",{className:"text-inherit tracking-inherit spacing-inherit font-weight-inherit",dangerouslySetInnerHTML:{__html:o}})}),!!d&&!!u?.totalPages&&(0,l.jsx)("div",{className:"pagination-results__pagination",children:(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:d}})})]})]})}},9195:(e,t,a)=>{a.r(t),a.d(t,{BreadcrumbsLd:()=>s});var l=a(7876),i=a(5105),r=a.n(i);let s=e=>{let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.breadcrumbs?.map((t,a)=>({"@type":"ListItem",position:t.position.toString(),name:t.name,item:e.breadcrumbs?.length!==a+1?t.item.startsWith("http")?t.item:"https://www.asml.com"+t.item:void 0}))};return(0,l.jsx)(r(),{type:"application/ld+json",id:"BreadcrumbsLdId",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}},9276:(e,t,a)=>{a.r(t),a.d(t,{ChartTooltipReact:()=>n});var l=a(7876),i=a(4825),r=a(4232),s=a(2836);let n=({chart:e,datasource:t,parentContainerRef:a,correctForDataLabels:n,chartType:o,locale:d})=>{let[c,u]=(0,r.useState)(!1),[m,h]=(0,r.useState)(0),[p,g]=(0,r.useState)(!1),[x,v]=(0,r.useState)(),[f,b]=(0,r.useState)({x:0,y:0}),[j,E]=(0,r.useState)(!0),[N,w]=(0,r.useState)(""),[y,_]=(0,r.useState)("unset"),[A,S]=(0,r.useState)(""),[C,T]=(0,r.useState)(""),{page:I}=(0,i.M5)(),L=(0,r.useRef)(null);return(0,r.useEffect)(()=>{x&&b(((t,a)=>{switch(o){case s.N.PieSingle:var l=t,i=a;let r=L.current;if(!r||!l.x||!l.y)return l;let d=l.x>e.width/2;g(d);let c=n&&i.circumference>.5?14:0;d&&(l.x=l.x-r.clientWidth-c),d||(l.x=l.x+c);let m=r.clientHeight;return l.y=e.canvas.clientHeight/2-m/2,u(!0),l;case s.N.PieMultiple:case s.N.DoughnutSingle:case s.N.DoughnutMultiple:var h=t,p=a;let x=L.current;if(!x||!h.x||!h.y)return h;let v=h.x>e.width/2;g(v);let f=n&&p.circumference>.5?14:0;v&&(h.x=h.x-x.clientWidth-f),v||(h.x=h.x+f);let b=x.clientHeight;return h.y=h.y-b/2,u(!0),h;case s.N.BarHorizontalSingle:case s.N.BarHorizontalMultiple:return((t,a)=>{let l=L.current;if(!l||!t.x||!t.y)return t;let i=a.$animations.width?._to;i||(i=a.width);let r=t.x>e.width/2;g(r);let s=14*!!n;r&&(t.x=t.x-i/2-s-l.offsetWidth),r||(t.x=t.x-i/2+s);let o=l.clientHeight;return t.y=t.y-o/2,t.x<0&&(t.x=0),u(!0),t})(t,a);case s.N.BarVerticalSingle:case s.N.BarVerticalMultiple:default:return((t,a)=>{let l=L.current;if(!l||!t)return t;let i=a.$animations.width?._to,r=a.$animations.height?._to;i&&r||(r=a.height,i=a.width);let s=t?.x??0,o=t?.y??0,d=s>e.width/2;g(d);let c=12*!!n;return d&&(t.x=s-i/2-c-l.offsetWidth+20),d||(t.x=s-i/2+c+20),t.y=o-l.clientHeight/2+r/2,0===t.y&&(t.y+=r/2),s<0&&(t.x=0),u(!0),t})(t,a)}})(x.tooltipPosition(!0),x))},[m,A,x,c]),(0,r.useEffect)(()=>{let e={current:window.innerWidth},t=()=>{let t=L.current;if(!t)return;let a=window.innerWidth;a!==e.current&&(e.current=a,E(!1),u(!1),v(void 0),b(e=>({x:0,y:e.y})),t.style.left="0")};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),(0,r.useEffect)(()=>
174{if(I?.mode?.isEditing)return;let e=e=>{"Escape"===e.key&&(u(!1),v(void 0))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),(0,r.useEffect)(()=>{I?.mode?.isEditing||e&&(_(e.width/2+"px"),e.options.onHover=(a,l)=>{if(0===l.length){u(!1),v(void 0);return}let i=l[0].element;v(i);let r="";(o===s.N.BarHorizontalSingle||o===s.N.BarHorizontalMultiple)&&(r=e.scales.y.ticks[i.$context.index].label),(o===s.N.BarVerticalSingle||o===s.N.BarVerticalMultiple)&&(r=e.scales.x.ticks[i.$context.index].label),r&&T(r+". ");let n=t.children.results[l[0].index];if(o===s.N.BarHorizontalMultiple||o===s.N.BarHorizontalSingle){let e=i.$context.raw;h(e.x),S(e.legendTitle);return}if(o===s.N.BarVerticalMultiple||o===s.N.BarVerticalSingle){let e=i.$context.raw;h(e.y),S(e.legendTitle);return}h(+i.$context.raw),S(n.legendTitle.data.value)})},[e]),(0,r.useEffect)(()=>{let e=o===s.N.BarHorizontalSingle||o===s.N.BarHorizontalMultiple||(o===s.N.BarVerticalSingle||o===s.N.BarVerticalMultiple)&&t.children.results.length>1;c&&w(`${e?C:""}${A}: ${m}${t.unit.data.value}.`),c&&j||w("")},[c,A,m,C,j]),(0,r.useEffect)(()=>{let e=a.current;if(!e)return;let t=()=>{E(!0)},l=()=>{E(!1)},i=t=>{e.contains(t.target)?E(!0):(E(!1),u(!1),v(void 0))};return e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",l),document.addEventListener("mousedown",i),document.addEventListener("touchstart",i),()=>{e.removeEventListener("mouseenter",t),e.removeEventListener("mouseleave",l),document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i)}},[a]),(0,l.jsx)("div",{ref:L,className:`pointer-events-none absolute z-100 flex h-50 items-center opacity-0 transition-all ${c&&j?"animate-fade-in":"animate-fade-out"} ${0===m?"hidden":""}`,style:{left:f?.x??0,top:f?.y??0,maxWidth:y,animationFillMode:"forwards"},role:"tooltip",children:(0,l.jsxs)("div",{className:"relative flex items-center",children:[(0,l.jsx)("div",{className:`h-3 min-h-3 w-2 min-w-2 ${p?"order-1 -scale-100":""}`,children:(0,l.jsx)("div",{className:"chart-tooltip-arrow-left border-r-color-gray-100"})}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 bg-color-gray-100 p-3","aria-hidden":!0,children:[(0,l.jsx)("p",{className:"block text-2xl font-bold text-color-primary",children:`${m.toLocaleString(d)}${t.unit.data.value}`}),A&&(0,l.jsx)("p",{className:"block text-color-black-900",children:A})]}),(0,l.jsx)("div",{className:"sr-only","aria-live":"polite",children:N})]})})}},9323:(e,t,a)=>{a.d(t,{j:()=>i});var l=a(4232);function i(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)"),a=()=>t(e.matches);return(t(e.matches),"function"==typeof e.addEventListener)?(e.addEventListener("change",a),()=>e.removeEventListener("change",a)):()=>!1},[]),e}},9334:(e,t,a)=>{a.d(t,{u:()=>r});var l=a(464),i=a(5364);let r=async e=>{let t={retries:i.env.GRAPH_QL_SERVICE_RETRIES&&parseInt(i.env.GRAPH_QL_SERVICE_RETRIES,10)||0},a=[],r=[],s="/sitecore/content/asmlcom/asmlcom/Settings/Form Settings";try{let i=await l.A.getData(`{ 175 item( 176 path: "${s}" 177 language: "${e||"en"}" 178 ) { 179 fieldLengths: children(includeTemplateIDs: "{EE7B9A23-4F36-4BF8-8DE9-23BB3E8AA453}") { 180 results { 181 children { 182 results { 183 name 184 length: field(name: "length") { 185 data: jsonValue 186 } 187 } 188 } 189 } 190 } 191 requiredFields: children(includeTemplateIDs: "{CC89F019-6B85-4173-8930-295A32C7FB0F}") { 192 results { 193 children { 194 results { 195 name 196 } 197 } 198 } 199 } 200 } 201 } 202 `,t);i?.item?.fieldLengths?.results?.[0]?.children?.results&&(a=i.item.fieldLengths.results[0].children.results.map(e=>({name:e.name,length:Number.isInteger(Number.parseInt(e.length?.data?.value))?e.length.data.value:100}))),i?.item?.requiredFields?.results?.[0]?.children?.results&&(r=i.item.requiredFields.results[0].children.results.map(e=>e.name))}catch(t){console.error(`Error getting form settings from: ${s} - language: ${e||"en"}`),console.error(t)}return{fieldLengths:a,requiredFields:r}}},9466:(e,t,a)=>{a.d(t,{S_:()=>d,rp:()=>u,hO:()=>m,Pg:()=>x,NL:()=>v,eU:()=>f,rg:()=>o,lN:()=>h,o0:()=>g,ZH:()=>p,KH:()=>c});let l={sendEvent([e,t]){window.adv_event?window.adv_event.push([e,t]):console.error("window.adv_event is not available",[e,t])},createSocialInteractionEvent:({name:e,type:t,url:a,articleName:l="",contentType:i=""})=>["social interaction",{social_name:e,social_type:t,social_url:a,article_name:l,content_type:i}],createPageViewEvent:({section:e,name:t,type:a,language:l,publication_date:i,...r})=>["pageview",{page_section:e,page_name:t,page_type:a,page_language:l,publication_date:i,...r}],createJobSearchPageView({numberOfResults:e,searchTerm:t}){let a={...this.getPageDimensions(),search_number_of_results:e.toString()};return t&&(a.search_terms=t),["pageview",a]},getPageDimensions:()=>window.pageDimensions,createFormEvent:({page:e,form:t,...a})=>["pageview",{page_section:e.section,page_name:e.name,page_type:e.type,page_language:e.language,form_name:t.name,form_type:t.type,form_step:t.step,form_step_name:t.stepName,form_status:t.status,...a}],createFormInteractionEvent:({name:e,type:t,step:a,stepName:l,status:i,event_name:r})=>[r,{form_name:e,form_type:t,form_step:a,form_step_name:l,form_status:i}],createContentInteractionEvent:({name:e,region:t,type:a,path:l})=>["interaction",{interaction_name:e,interaction_region:t,interaction_type:a,interaction_path:l}],createCookieEvent:e=>["consent update",{choice_made_consent:!0,marketing_consent:e.marketing,analytics_consent:e.anal
202ytics,functional_social_consent:e.socialMedia}],createDownloadEvent:({fileName:e,fileFormat:t})=>["download",{downloaded_file_name:e,downloaded_file_format:t}],createVideoEvent:({type:e,title:t})=>["video interaction",{video_title:t,interaction_type:e}],createApplyJobEvent:({id:e,title:t,interactionRegion:a})=>["apply now",{req_id:e,job_title:t,interaction_region:a}],createErrorEvent:e=>["error",{error_message:e}],createSaveJobEvent:({id:e,title:t})=>["like",{req_id:e,job_title:t}],createShareJobEvent:({id:e,title:t,channel:a})=>["share",{req_id:e,job_title:t,share_type:a}],createApplyFilterEvent:({filters:e})=>["apply filter",e]},i="story page",r="announcement page",s="press release page",n="share buyback page",o=(e,t,a,i,r,s,n)=>{let o=[],d=document.querySelector(".hero-banner-title")?.innerHTML;document.querySelectorAll(".breadcrumb-item")?.forEach(e=>{let t=e.getAttribute("title");t&&o.push(t.toLowerCase())}),E(a)&&d&&o.push(d),n&&o.push(n);let c=[];s?.forEach((e,t)=>{let a=j(t),l=b(e?.length&&e.length>1?e:e?.[0]);a&&c?.push({name:a,title:l||""})});let u=document.querySelector(".asml-form")?.getAttribute("data-form-name"),m=N(a||""),h=o.length>1?o[1].toLowerCase():"home",p=o.length?o.join(":"):"home",g=document.querySelector("#jobAnalyticsData"),x=document.querySelector(".pagination-results"),v=document.querySelector(".search-results"),f=document.querySelector('meta[property="article:published_time"]'),w={section:h,name:p,type:m,language:t,publication_date:g?.getAttribute("data-job-date")||f?.getAttribute("content")||void 0,error_message:"error"===m?d:void 0,visitor_id:r,req_id:g?.getAttribute("data-job-id")||void 0,job_title:g?.getAttribute("data-job-title")||void 0,job_degree:g?.getAttribute("data-job-degree")||void 0,job_experience:g?.getAttribute("data-job-experience")||void 0,job_team:g?.getAttribute("data-job-team")||void 0,job_travel:g?.getAttribute("data-job-travel")||void 0,job_location:g?.getAttribute("data-job-location")||void 0,job_category:g?.getAttribute("data-job-category")||void 0,form_name:u,form_type:document.querySelector("[data-form-type]")?.getAttribute("data-form-type")||void 0,form_step:u?"1":void 0,form_step_name:u||void 0,form_status:u?"first interaction":void 0,search_type:v?.getAttribute("data-search-type")||void 0,search_terms:e.query.query,search_number_of_results:x?x.getAttribute("data-results-count"):v?"0":void 0,navigation:i.length>0?i.join(":").toLowerCase():void 0,ab_test_id:void 0,applied_filters:void 0,applied_filters_list:c?.length?c:void 0,applied_filters_list_array:void 0,article_name:void 0,content_type:"content page"===m&&"careers"!==h?d:void 0};l.sendEvent(l.createPageViewEvent(w))},d=(e,t,a)=>{l.sendEvent(l.createApplyJobEvent({id:e,title:t,interactionRegion:a}))},c=(e,t)=>{l.sendEvent(l.createVideoEvent({type:`video ${t}`,title:e}))},u=(e,t)=>{l.sendEvent(l.createDownloadEvent({fileName:e,fileFormat:t}))},m=e=>{l.sendEvent(l.createErrorEvent(e))},h=(e,t)=>{l.sendEvent(l.createSaveJobEvent({id:e,title:t}))},p=(e,t,a)=>{l.sendEvent(l.createShareJobEvent({id:e,title:t,channel:a}))},g=(e,t,a,i,r)=>{l.sendEvent(l.createSocialInteractionEvent({name:e,type:t,url:a,articleName:i,contentType:r}))},x=(e,t,a,i,r,s="form interaction")=>{l.sendEvent(l.createFormInteractionEvent({name:e,type:t,step:a,stepName:i,status:r,event_name:s}))},v=(e,t,a,i)=>{l.sendEvent(l.createContentInteractionEvent({name:e,region:t,type:a,path:i}))},f=e=>{let t=[];e.forEach(e=>{let a=j(e.name),l=b(e.values?.length&&e.values.length>1?e.values:e.values?.[0]);a&&t.push({name:a,title:l||""})}),l.sendEvent(l.createApplyFilterEvent({filters:{applied_filters:t}}))},b=e=>"string"!=typeof e?e:"fix"===e.toLowerCase()?"Jobs":e,j=e=>{switch(e){case"job_type":return"jobtype";case"job_country":return"country";case"job_city_state":return"city";case"job_technical_fields":return"jobcategory";case"job_teams":return"team";case"job_experience_levels":return"workexperiencelevel";case"job_degrees":return"educationallevel";case"job_educational_backgrounds":return"educationalbackground";case"tags":case"type":return"articletags";default:return}},E=e=>{switch(e.toLowerCase()){case i:case r:case s:case n:return!0;default:return!1}},N=e=>{switch(e.toLowerCase()){case"home page":return"home";case"404 not found page":case"410 gone page":return"error";
202case"form page":return"form";case"jobs search page":return"job overview page";case"job detail page":return"job detail page";case i:return i;case r:return r;case s:return s;case n:return n;default:return"content page"}}},9511:(e,t,a)=>{a.r(t),a.d(t,{CanonicalTags:()=>s});var l=a(7876),i=a(7328),r=a.n(i);let s=e=>{let t;if(!e)return(0,l.jsx)(l.Fragment,{});let{language:a,itemPath:i}=e,{href:s,linktype:n}=e?.canonicalUrl?.value??{href:void 0,linktype:void 0},o=a.toLowerCase(),d=i.toLowerCase();"/"===d?d=`/${o}`:d.startsWith(`/${o}/`)||(d=`/${o}${d}`);let c=`https://www.asml.com${d}`,u=s?.toLowerCase()??"";"/"===u?u=`/${o}`:u.startsWith(`/${o}/`)||(u=`/${o}${u}`);let m=`https://www.asml.com${u}`;return(0,l.jsx)(r(),{children:(0,l.jsx)("link",{rel:"canonical",href:(t=!!s?.startsWith("http"),s&&"internal"===n?m.toLocaleLowerCase():s&&"external"===n&&t?s:c.toLocaleLowerCase())})})}},9530:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var l=a(7876),i=a(4825),r=a(7782),s=a(488),n=a(2650),o=a(6479),d=a(2769);let c=(0,s.w)()(e=>{let{fields:t,params:a,id:s,showByDefault:c=!0,href:u}=e,{page:m}=(0,i.M5)(),h=m?.mode?.isEditing||c?"Create a job alert":"",{t:p}=(0,n.s9)();return(0,l.jsx)(r.N,{id:s,field:{...t?.callToAction,value:{...t?.callToAction?.value,text:(0,l.jsx)("span",{className:"job-alert-text",children:t?.callToAction?.value?.text||h})}},href:u,className:`component job-alert job-alert--link ${(0,d.N)(a)}`,"aria-label":p(o.A.ACC_JOB_ALERT_LINK),"data-testid":t?.callToAction?.value?.text})})},9914:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o});var l=a(7876),i=a(5105),r=a.n(i),s=a(4825),n=a(653);let o=()=>{let{page:e}=(0,s.M5)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("style",{children:`#onetrust-consent-sdk { font-family: ${n.uC.style.fontFamily}; }`}),(0,l.jsx)(r(),{defer:!0,src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",type:"text/javascript","data-domain-script":"e28f1e2e-794f-4c89-808c-dcd843c69f72"}),(0,l.jsx)(r(),{defer:!0,id:"onetrust-optanon",children:'function OptanonWrapper() {window.addEventListener("OTConsentApplied",event =>{location.reload()});}'}),e.mode?.isEditing&&(0,l.jsx)("style",{children:"#onetrust-consent-sdk, #onetrust-consent-sdk { display: none }"})]})}}}]);
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.