<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[627],{1475:function(e,t,a){Promise.resolve().then(a.bind(a,1613)),Promise.resolve().then(a.bind(a,8763)),Promise.resolve().then(a.bind(a,4825)),Promise.resolve().then(a.bind(a,9754))},8763:function(e,t,a){"use strict";a.d(t,{ApplicationFormPage:function(){return B}});var l=a(6832),r=a(7404),s=a(7424),n=a(1456);let i=(0,s.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:a,...r}=e;return(0,l.jsx)("div",{className:(0,n.cn)(i({variant:a}),t),...r})}var c=a(4449),d=a(8445),u=a(3912);let m=e=&gt;{let{company:t,job:a,jobHandle:r,languages:s,locale:n}=e,i=(0,d.useRouter)(),m=(0,u.useTranslations)(),f={remote:m("APPLICATION_PROCESS_REMOTE_BADGE"),office_and_remote:m("APPLICATION_PROCESS_HYBRID_BADGE"),office:null},x=(null==a?void 0:a.remote)?f[a.remote]:null;return(0,l.jsxs)("div",{className:"relative flex flex-col justify-end gap-y-4 pt-7 lg:pt-16",children:[(0,l.jsx)("div",{className:"absolute left-0 top-0 z-[-1] h-[88%] max-h-[250px] w-full bg-header-mobile bg-cover bg-center bg-no-repeat lg:max-h-[390px] lg:bg-header-desktop"}),(0,l.jsx)(c.W,{languages:s,onLanguageChange:e=&gt;{i.push("/".concat(e,"/apply/").concat(r||""))},selectedLanguage:n}),(0,l.jsxs)("div",{className:"site-wrapper space-y-3 pt-0","data-testid":"application-header-test",children:[(0,l.jsx)("h1",{className:"w-full text-[32px] font-medium",children:m(r?"APPLICATION_PROCESS_HEADER_TEXT":"APPLICATION_PROCESS_SPECULATIVE_HEADER_TEXT")}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-y-5 rounded-2xl border border-accent bg-white p-7",children:[!!r&amp;&amp;(0,l.jsxs)(o,{variant:"outline",className:"w-max gap-x-2 py-0",children:[(0,l.jsx)("div",{className:"flex h-4 items-center justify-center",children:(0,l.jsx)("span",{className:"block h-1.5 w-1.5 rounded-full bg-success"})}),(0,l.jsx)("div",{className:"text-sm font-semibold text-success",children:m("APPLICATION_PROCESS_HEADER_STATUS")})]}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("div",{className:"text-lg font-semibold lg:text-2xl","aria-label":r?a.title:t.name,children:r?a.title:t.name}),(0,l.jsx)("div",{className:"text-sm text-typo-secondary lg:text-base","aria-label":r?t.name:m("APPLICATION_PROCESS_SPECULATIVE_APPLICATION_LABEL"),children:r?t.name:m("APPLICATION_PROCESS_SPECULATIVE_APPLICATION_LABEL")})]}),!!r&amp;&amp;(0,l.jsx)(l.Fragment,{children:(!!a.location||!!a.remote)&amp;&amp;(0,l.jsxs)("div",{className:"flex flex-col items-start gap-x-1.5 gap-y-1.5 md:flex-row md:items-center",children:[!!a.location&amp;&amp;(0,l.jsx)(o,{variant:"secondary",className:"w-auto max-w-full overflow-hidden bg-grey-accent hover:bg-grey-accent",children:(0,l.jsx)("div",{className:"truncate text-sm font-semibold text-typo-secondary md:max-w-full","aria-label":"Job location:"+a.location,children:a.location})}),!!x&amp;&amp;(0,l.jsx)(o,{variant:"secondary",className:"bg-grey-accent hover:bg-grey-accent",children:(0,l.jsx)("div",{className:"truncate text-sm font-semibold text-typo-secondary","aria-label":x,children:x})})]})})]})]})]})};var f=a(5838),x=a(6099),p=a(8661),_=a(4583),h=a(8052),g=a(2434),E=a(615),v=a(5617),b=a(2015),S=a(1452);let j=e=&gt;{let{formSteps:t,onSubmitForm:a,captchaKey:s,serverErrors:n,toggleLoader:i,locale:o}=e,c=(0,u.useTranslations)(),d=(0,E.K)(t,c),m=(0,v.O4)(t),{fileUploadStatuses:j}=(0,S.s)(e=&gt;e),N=(0,f.cI)({resolver:(0,g.F)(d),mode:"onBlur",defaultValues:m,shouldFocusError:!1}),T=(0,r.useRef)(null),{formState:{errors:P,isSubmitting:y},control:A}=N,I=async e=&gt;{if(w())return;i(!0);let l=(0,v.XA)(e,t,o);if(s&amp;&amp;null!==T.current){await T.current.executeAsync();let e=T.current.getValue();if(null===e)return;l.append("google_captcha_value",e)}a(l)},C=e=&gt;{var t,a;if(!e)return;let l=document.getElementsByName(e);null!==l&amp;&amp;(null===(t=l[0])||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),null===(a=l[0])||void 0===a||a.focus({preventScroll:!0}))},O=()=&gt;{let e=(0,v.oM)(P,t);null!==e&amp;&amp;C(e)},w=()=&gt;{for(let e in j)if("loading"===j[e])return C(e),!0;return!1};(0,r.useEffect)(()=&gt;{0!==Object.keys(P).length&amp;&amp;O()},[P,y]),(0,r.useEffect)(()=&gt;{n.length&amp;&amp;(n.forEach(e=&gt;{N.setError(e.field,{type:"custom",message:(0,v.JQ)(e,c)},{shouldFocus:!0})}),O())},[n.length]);let L=e=&gt;e.fields.map((t,a)=&gt;(0,l.jsx)(h.Wi,{control:N.control,name:t.name,render:a=&gt;{let{field:r,fieldState:s}=a;return(0,l.jsxs)(h.xJ,{className:"pb-8",children:[t.label&amp;&amp;(0,l.jsx)(h.lX,{required:t.required||!1,children:t.label}),(0,l.jsx)(h.NI,{children:(0,l.jsx)(_.g,{formField:t,field:{...r,state:s},formStep:e.key,control:A})}),(0,l.jsx)(h.zG,{className:"text-error"})]})}},a));return(0,l.jsx)("div",{className:"flex flex-col space-y-3 pb-14 pt-14",children:(0,l.jsx)(h.l0,{...N,children:(0,l.jsxs)("form",{onSubmit:N.handleSubmit(I),className:"space-y-6",noValidate:!0,children:[t.map((e,t)=&gt;(0,l.jsxs)("div",{className:"pb-8",children:[(0,l.jsx)(x.A,{step:e.key}),L(e)]},t)),!!s&amp;&amp;(0,l.jsx)(b.Z,{ref:T,sitekey:s,size:"invisible"}),(0,l.jsx)(p.z,{type:"submit",className:"w-full hover:bg-primary-light lg:h-14 lg:py-4 lg:text-lg","aria-label":c("APPLICATION_PROCESS_SUBMIT_BUTTON_TEXT"),children:c("APPLICATION_PROCESS_SUBMIT_BUTTON_TEXT")})]})})})};var N=a(4950),T=a(9525),P=a(1164),y=a(4945),A=a(9321),I=a(2830),C=a(9472);let O=(0,r.memo)(e=&gt;{let{candidateEmail:t,talenthubOptInUrl:a,applicationTrackingCode:s}=e,i=(0,u.useTranslations)(),{track:o}=(0,C.Q)(),c=(0,r.useRef)(!1);(0,r.useEffect)(()=&gt;{o(C.z.VISIT_SUCCESS_PAGE_EVENT)},[o]),(0,r.useEffect)(()=&gt;{if(s&amp;&amp;!c.current){let e=document.createElement("div");e.innerHTML=s,e.querySelectorAll("script").forEach(e=&gt;{let t=document.createElement("script");t.type="text/javascript",e.src?t.src=e.src:t.textContent=e.innerHTML,document.body.appendChild(t)}),e.remove(),c.current=!0}},[s]);let d=null==s?void 0:s.replace(/&lt;script.*?&gt;.*?&lt;\/script&gt;/gi,"");return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"mx-auto flex h-screen max-w-[700px] flex-col items-center justify-center gap-y-6 p-10 text-center",children:[(0,l.jsx)(y.Q,{src:(0,n.d)("/icons/high-five"),className:"h-[100px] w-[100px] lg:mb-[50px] lg:w-[150px]"}),(0,l.jsx)("h1",{className:"text-3xl font-semibold",children:i("APPLICATION_PROCESS_SUCCESS_PAGE_TITLE")}),(0,l.jsx)("div",{children:i.rich("APPLICATION_PROCESS_SUCCESS_PAGE_DESCRIPTION",{candidateEmail:t,b:()=&gt;(0,l.jsx)("b",{children:t}),break:()=&gt;(0,l.jsx)("div",{className:"my-0.5"})})}),a&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(A.Z,{className:"h-4 w-5"}),(0,l.jsx)("h1",{className:"text-3xl font-semibold",children:i("APPLICATION_PROCESS_SUCCESS_PAGE_TALENTHUB_TITLE")}),(0,l.jsx)("div",{children:i("APPLICATION_PROCESS_SUCCESS_PAGE_TALENTHUB_DESCRIPTION")}),(0,l.jsx)(I.default,{href:null!=a?a:"",className:(0,n.cn)((0,p.d)({variant:"default"}),"mt-4 w-full lg:w-[350px]"),onClick:()=&gt;o(C.z.CLICK_TALENTHUB_LINK_EVENT),children:i("APPLICATION_PROCESS_SUCCESS_PAGE_TALENTHUB_BUTTON")})]}),d&amp;&amp;(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:d}})]})})});var w=a(6536);let L={data:{},errors:[],meta:{}},R=e=&gt;{let{applicationForm:t,locale:a,jobHandle:s,accountUrl:n,cookiesList:i}=e;(0,r.useEffect)(()=&gt;{window&amp;&amp;window===window.top&amp;&amp;window.history.replaceState({},"",window.location.pathname)},[]);let{setAccountInfo:o,formIdentifier:c,setFormIdentifier:d}=(0,S.s)(e=&gt;e),[u,f]=(0,r.useState)(L),[x,p]=(0,r.useState)(),{steps:_,meta:h}=t,[g,E]=(0,r.useState)(!1),{track:v}=(0,C.Q)(),b=e=&gt;{e?document.body.style.overflow="hidden":document.body.style.overflow="auto",E(e)},y=async e=&gt;{f(L);let t=await (0,N.R2)(e,s,c,h.csrfToken,n,i);if(t.meta.status in P.K){v(C.z.SUBMIT_FORM_ERROR_EVENT,t.meta.status),p(t),b(!1);return}200===t.meta.status&amp;&amp;v(C.z.SUBMIT_FORM_EVENT),f(t),b(!1)},A=0;if((0,r.useEffect)(()=&gt;{!A&amp;&amp;(v(C.z.VISIT_APPLICATION_PAGE_EVENT),A++)},[A]),(0,r.useEffect)(()=&gt;{o({name:h.company.name,url:n}),!c&amp;&amp;h.form_identifier&amp;&amp;d(h.form_identifier)},[n,h,c]),x)return(0,l.jsx)(T.j,{code:x.meta.status,data:x.data,accountUrl:n});if(200===u.meta.status||201===u.meta.status){var I,R;return(0,l.jsx)(O,{candidateEmail:(null===(I=u.data)||void 0===I?void 0:I.candidate_email)||null,talenthubOptInUrl:(null===(R=u.data)||void 0===R?void 0:R.talenthub_opt_in_url)||null,applicationTrackingCode:h.application_tracking_code||null})}return(0,l.jsxs)("main",{children:[(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(m,{company:h.company,job:h.job,jobHandle:s,locale:a,languages:h.languages}),(0,l.jsx)("div",{className:"site-wrapper",children:(0,l.jsx)(j,{formSteps:_,onSubmitForm:y,captchaKey:h.google_captcha_public_key,serverErrors:u.errors,toggleLoader:b,locale:a})})]}),g&amp;&amp;(0,l.jsx)(w.a,{})]})};var U=a(8753),k=a(5861);let B=e=&gt;{let{applicationForm:t,locale:a,jobHandle:s,accountUrl:n,cookiesList:i}=e,{meta:o}=t,c=(0,U.ac)("(max-width: 768px)"),u=(0,d.useRouter)(),m=t.meta.languages.options.some(e=&gt;e.value===a);(0,r.useEffect)(()=&gt;{m||u.replace("/".concat(t.meta.languages.default,"/apply/").concat(s||""))},[t.meta.languages.default,m,s,u]);let f=(0,l.jsx)(k.G,{data:{isMobile:c,jobHandle:s,formIdentifier:o.form_identifier},children:(0,l.jsx)(R,{applicationForm:t,locale:a,jobHandle:s,accountUrl:n,cookiesList:i})});return m?f:null}},9754:function(e,t,a){"use strict";a.r(t),a.d(t,{MouseflowScript:function(){return i}});var l=a(6832),r=a(7404),s=a(6111),n=a(1295);let i=e=&gt;{let{isTestAccount:t}=e,[a,i]=(0,r.useState)(!1),o="development"!==n.v.env.NODE_ENV&amp;&amp;!t;return((0,r.useEffect)(()=&gt;{o&amp;&amp;(window._mfq=window._mfq||[],a||i(!0))},[]),o&amp;&amp;a)?(0,l.jsx)(s.default,{strategy:"afterInteractive",src:"//cdn.mouseflow.com/projects/a32dae7e-ab3d-461a-962d-b573280cc2c9.js"}):null}}},function(e){e.O(0,[983,711,987,263,15,867,351,918,744],function(){return e(e.s=1475)}),_N_E=e.O()}]);</pre></body></html>