1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1840,8450],{1360:(e,t,l)=>{"use strict";l.d(t,{default:()=>ee});var n=l(94799),r=l(59140),o=l(34023),a=l(59249),i=l(37945),s=l(59787),c=l(77047),d=l(44729),u=l(10683),m=l(22319),h=l(99007),f=l(30577),v=l(36887),x=l(85079),p=l(49897),g=l(36291),b=l(41081),w=l(41463),y=l.n(w),j=l(96589),L=l(48908),C=l(89370);let{mobileSubMenu:S,mobileIsOpenMenu:N,mobileIsCloseMenu:E,mobileIsOpenIcon:k,mobileIsCloseIcon:A,mobileSubMenuContent:I,mobileSubMenuContentList:P,mobileSubmenuContentItemList:R,mobileSubmenuContentItem:B,mobileSubmenuListItem:T,mobileSubmenuContainer:_,mobileSubmenuLayout:U,mobileIcon:D,mobileMenuLabel:M,mobileHiddenLabel:H,mobileSubmenuUtility:O,mobileSubmenuUtilityActive:Q,mobileSubmenuUtilityInActive:F,mobileSubmenuUtilityItem:V,mobileSubmenuIconLayout:W,mobileSubmmenuIconLink:q,mobileMarginBtm:z,dropdownContainer:G,dropdownList:Z,dropdownItemActive:$,dropdownItem:K,itemLink:J}={mobileMarginBtm:"mb-2",mobileSubMenu:"w-full flex justify-between items-center py-2 px-4 text-left text-base font-normal focus:outline-none text-ford-blue",mobileIsOpenMenu:"text-ford-motion-blue",mobileIsCloseMenu:"text-ford-blue",mobileIsOpenIcon:"ml-2 text-3xl text-ford-motion-blue",mobileIsCloseIcon:"ml-2 text-3xl text-ford-blue",mobileSubMenuContent:"overflow-hidden transition-max-height duration-500 ease-in-out",mobileSubMenuContentList:"pl-3 py-2",mobileSubmenuContentItemList:"py-2 mt[-20px]",mobileSubmenuContentItem:"block px-1 py-2 leading-8 text-ford-gray hover:text-ford-blue hover:border-1 hover:border-ford-blue border-b text-base font-normal",mobileSubmenuListItem:"block px-1 py-2 leading-8 text-ford-gray hover:text-ford-blue hover:border-1 hover:border-ford-blue border-b",mobileSubmenuContainer:"flex justify-end",mobileSubmenuLayout:"block md:hidden p-2 rounded focus:outline-none md:relative absolute md:right-0 right-0 md:top-0 top-3",mobileIcon:"w-6 h-[2px] bg-gray-800 mb-1 transition-transform duration-300",mobileMenuLabel:"text-[8px] leading-7 font-thin",mobileHiddenLabel:"hidden",mobileSubmenuUtility:"fixed top-[60px] left-0 size-full bg-white z-50 transition-transform duration-300 ease-in-out",mobileSubmenuUtilityActive:"translate-x-0",mobileSubmenuUtilityInActive:"-translate-x-full",mobileSubmenuUtilityItem:"p-1 mt-3 mb-6",mobileSubmenuIconLayout:"flex justify-end items-center",mobileSubmmenuIconLink:"flex mr-4 hover:border-b-2 hover:border-ford-blue w-auto h-auto",dropdownContainer:" overflow-hidden transition-max-height duration-500 ease-in-out",dropdownList:"px-6 pb-6",dropdownItem:"py-3 text-imgText-lg text-ford-gray-neutral border-b border-b-ford-border-gray1 hover:text-ford-blue hover:border-b-ford-blue text-left",dropdownItemActive:"block w-full text-imgText-lg text-ford-motion-blue border-b border-b-ford-motion-blue pb-3 text-left pointer-events-none cursor-default",itemLink:"block w-full cursor-clickable"},X=e=>{let{title:t,children:l,isOpen:r,onClick:a,customStyles:i}=e,s=(0,o.useRef)(null),{customMobileSubMenu:c,customMobileIsOpenMenu:d,customMobileIsCloseMenu:v,customMobileIsOpenIcon:x,customMobileIsCloseIcon:p}=null!=i?i:{};return(0,o.useEffect)(()=>{if(s.current){let e="".concat(Math.max(s.current.scrollHeight,350),"px");s.current.style.maxHeight=r?e:"0px"}},[r]),(0,n.jsxs)("div",{className:z,children:[(0,n.jsxs)(u.UnstyledButton,{"aria-label":"Toggle ".concat(t),className:(0,h.B)({color:"white",className:"".concat((0,j.QP)(S,c)," ").concat(r?(0,j.QP)(N,d):(0,j.QP)(E,v))}),onPress:a,children:[t,r?(0,n.jsx)(f.m,{as:"span",className:(0,j.QP)(k,x),children:"-"}):(0,n.jsx)(f.m,{as:"span",className:(0,j.QP)(A,p),children:"+"})]}),(0,n.jsx)("div",{ref:s,className:I,"data-testid":"content-ref",children:(0,n.jsx)(m.y,{className:P,spacing:"none",children:l})})]})},Y=e=>{let{menuData:t,locale:l,categoryBanner:r,aemPortUrl:w,basePath:S,headerKey:N,preferCacheData:E=!1,customStyles:k}=e,[A,I]=(0,o.useState)(!1),[P,z]=(0,o.useState)(null),[Y,ee]=(0,o.useState)(!1),[et,el]=(0,o.useState)(!1),[en,er]=(0,o.useState)(!1),eo=(0,i.useSharedConfig)(),{languageList:ea,multiLanguage:ei}=eo,es=(0,a.L)(ea,S,w),{utility:ec,vehicleDashboard:ed,myAccount:eu,vehicleDashboardUrl:em,myAccountUrl:eh,signOutUrl:ef,signOutLabel:ev,dealershipUrl:ex,searchURL:ep="",menu:eg,myreservation:eb,myreservationUrl:ew,bookATestDrive:ey,bookATestDriveUrl:ej,askFord:eL,talkToAnExpert:eC,talkToAnExpertUrl:eS,raq:eN,raqUrl:eE,chatUrl:ek,chatWithUs:eA,isSearchAvailable:eI=!1}
1=eo.header,eP=[{label:ed,url:em},{label:eu,url:eh},{url:ew,label:eb},{url:ej,label:ey},{url:eS,label:eC},{url:eE,label:eN},{url:ek,label:eA},{url:ep,label:eL},...ef?[{url:ef,label:ev}]:[]],{customMobileSubmenuLayout:eR="",customMobileSubmenuUtility:eB="",mobileSubMenu:eT={},customMobileSubmenuContentItem:e_="",customMobileSubmenuListItem:eU="",customMobileSubmmenuIconLink:eD="",mobileDropdown:eM={},customMobileItemLink:eH="",customMobileSearchSlideoutWrapper:eO=""}=k||{},{customMobileDropdownItem:eQ="",customMobileDropdownItemActive:eF=""}=eM,eV=()=>{I(e=>!e)},eW=(0,s.w)(t,N),eq=null==eW?void 0:eW.leftSideNavigations,ez=e=>{var t;z(t=>t===e?null:e),eq&&(null==(t=eq[e])?void 0:t.selectView)==="catalog"&&ee(P!==e)},eG=()=>{er(!0)};return(0,o.useEffect)(()=>(A?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow=""),()=>{document.documentElement.style.overflow="",document.body.style.overflow=""}),[A]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:_,children:(0,n.jsxs)(u.UnstyledButton,{"aria-label":"Menu toggle",className:(0,h.B)({color:"white",className:(0,j.QP)(U,eR)}),onPress:eV,children:[A?(0,n.jsx)(v.U,{height:"21",viewBoxHeight:"21",viewBoxWidth:"26",width:"26",onClick:eV}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:D}),(0,n.jsx)("div",{className:D}),(0,n.jsx)("div",{className:D})]}),(0,n.jsx)(f.m,{as:"span",className:"".concat(M," ").concat(A?H:""),children:eg})]})}),(0,n.jsx)("div",{className:"".concat((0,j.QP)(O,eB)," ").concat(A?Q:F),id:"mobile-submenu-utility",style:{overflowY:"auto"},children:A&&(0,n.jsxs)("div",{className:V,children:[null==eq?void 0:eq.map((e,t)=>{var o,a;return(0,n.jsx)(X,{aemPortUrl:w,customStyles:eT,isOpen:P===t,title:"catalog"===e.selectView?null==e||null==(o=e.vehicleMenu)?void 0:o.menuLabel:null==e||null==(a=e.singleMenu)?void 0:a.menuLabel,onClick:()=>ez(t),children:(null==e?void 0:e.selectView)==="catalog"?(0,n.jsx)(C.A,{aemPortUrl:w,categoryBanner:r,"data-testid":"vehicle-menu",locale:l,preferCacheData:E,vehicleIndex:Y}):(null==e?void 0:e.singleMenu)&&(e=>{if(null==e?void 0:e.menuLinks){let t=(e=>{let t=e_?(0,j.QP)(B,e_):B,l=e.replaceAll("<ul>",'<ul class="'.concat(R,'">')).replaceAll("<li>",'<li class="'.concat(t,'">'));return l.replaceAll(/<a href="(.*?)"(.*?)>/g,(e,t,l)=>{let n=(0,c.s)(t,w);return'<a href="'.concat(n,'" target="_self" _link_action="_self" ').concat(l,">")})})(null==e?void 0:e.menuLinks);return(0,n.jsx)("div",{children:(0,b.Ay)(t)})}return(0,n.jsx)(m.y.Item,{children:"No items available"})})(e.singleMenu)},"mobile-".concat(t))}),(0,n.jsx)(X,{aemPortUrl:w,customStyles:eT,isOpen:P===d.WHK,title:ec,onClick:()=>ez(d.WHK),children:(0,n.jsx)(m.y,{spacing:"none",children:eP.filter(e=>e.url&&e.label).map((e,t)=>(0,n.jsx)(m.y.Item,{className:(0,j.QP)(T,eU),children:(0,n.jsx)(y(),{href:e.url,children:e.label})},"mobileList-".concat(t)))})},"utility-submenu"),et&&(0,n.jsx)("div",{className:G,role:"navigation",children:(0,n.jsx)(m.y,{className:Z,spacing:"none",children:es.filter(e=>{var t;return null==(t=e.label)?void 0:t.trim()}).map(e=>{var t;return(0,n.jsx)(m.y.Item,{className:null!=(t=null==e?void 0:e.active)&&t?eF?(0,j.QP)($,eF):$:eQ?(0,j.QP)(K,eQ):K,children:(0,n.jsx)(y(),{className:eH?(0,j.QP)(J,eH):J,href:e.url||"#",children:e.label})},e.label)})})}),(0,n.jsxs)("div",{className:W,children:[ei&&(0,n.jsx)(u.UnstyledButton,{"aria-label":"Language",className:(0,h.B)({variant:"tertiary",color:"white",isIconOnly:!0,className:(0,j.QP)(q,eD)}),onClick:()=>{el(e=>!e)},children:(0,n.jsx)(x.H,{})}),(0,n.jsx)(y(),{"aria-label":"Dealership Link",className:(0,j.QP)(q,eD),href:ex,children:(0,n.jsx)(p.B,{height:"18",viewBoxHeight:"18",viewBoxWidth:"17",width:"17"})}),(()=>{var e,t;return eI&&ep&&!(null==eW||null==(e=eW.generativeAI)?void 0:e.displayAISearch)?(0,n.jsx)(y(),{"aria-label":"Search Link",className:(0,j.QP)(q,eD),href:ep,children:(0,n.jsx)(g.G,{height:"16",viewBoxHeight:"16",viewBoxWidth:"16",width:"16"})}):(null==eW||null==(t=eW.generativeAI)?void 0:t.displayAISearch)?(0,n.jsx)(u.UnstyledButton,{isIconOnly:!0,"aria-label":"Search Link",className:(0,j.QP)(q,eD),variant:"tertiary",onPress:eG,children:(0,n.jsx)(g.G,{height:"16",viewBoxHeight:"16",viewBoxWidth:"16",width:"16"})}):null})()]})]})}),en&&(0,n.jsx)(L.A,{customSlideoutWrapper:eO,headerContent:eW,isOpen:en,placeholder:"Search",onClose:()=>{er(!1)}})]})},ee=e=>{let{aemPortUrl:t,basePath:l,categoryBanner:o,locale:a,menuData:i,isInitialMobile:s,headerKey:c,customStyles:d}=e,{isMobile:u}=(0,r.X)(s);return u?(0,n.jsx)(Y,{aemPortUrl:t,basePath:l,categoryBanner:o,customStyles:d,headerKey:c,isInitialMobile:s,locale:a,menuData:i}):null}},4816:(e,t,l)=>{"use strict";l.d(t,{AccordionFooter:()=>f});var n=l(94799),r=l(82833),o=l(2504),a=l(34023);let i=e=>{let{width:t="24",height:l="24",viewBoxWidth:r="24",viewBoxHeight:o="24",className:a="",ariaHidden:i,ariaLabel:s}=e;return(0,n.jsx)("svg",{"aria-hidden":i?"true":void 0,"aria-label":null!=s?s:"Arrow Up",className:"size-6 rotate-90 ".concat(a),fill:"none",height:l,role:"img",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 ".concat(r," ").concat(o),width:t,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M15.75 19.5 8.25 12l7.5-7.5",strokeLinecap:"round",strokeLinejoin:"round"})})},s=e=>{let{height:t="24",width:l="24",fill:r,stroke:o,viewBox:a="0 0 ".concat(l," ").concat(t),strokeWidth:s="1",chevron:c=!1}=e;return c?(0,n.jsx)(i,{ariaHidden:!0}):(0,n.jsx)("svg",{"aria-hidden":"true",className:r||"fill-ford-text-moderate(default)","data-testid":"maximize-accordion-icon",fill:"none",height:t,viewBox:a,width:l,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:r||"fill-ford-text-moderate(default) hover:fill-ford-fill-interactive-hover",d:"M5.40027 12.5998V11.3998H18.6003V12.5998L5.40027 12.5998Z",stroke:o,strokeWidth:s})})};var c=l(48735);let d=e=>{let{height:t="24",width:l="24",fill:r,stroke:o,viewBox:a="0 0 ".concat(l," ").concat(t),strokeWidth:i="1",chevron:s=!1}=e;return s?(0,n.jsx)(c.Z,{ariaHidden:!0}):(0,n.jsx)("svg",{"aria-hidden":"true",className:r||"fill-ford-text-moderate(default)","data-testid":"minimize-accordion-icon",fill:"none",height:t,viewBox:a,width:l,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:r||"fill-ford-text-moderate(default) hover:fill-ford-fill-interactive-hover",d:"M18.5999 11.3999H12.5999V5.3999H11.3999V11.3999H5.3999V12.5999H11.3999V18.5999H12.5999V12.5999H18.5999V11.3999Z",stroke:o,strokeWidth:i})})},u={height:"16",width:"16",fill:"fill-ford-motion-blue",stroke:"#066fef",viewBox:"7 4 10 16"},m=e=>{let{isExpanded:t,children:l}=e;return(0,n.jsx)("div",{"aria-hidden":!t,className:"".concat("grid overflow-hidden transition-all ease-out"," duration-100 ").concat(t?"grid-rows-[1fr]":"grid-rows-[0fr]"),role:"region",children:(0,n.jsx)("div",{className:"min-h-0 overflow-hidden",children:l})})},h=e=>{let{isExpanded:t,header:l}=e,r={HEADER_CONTAINER:"flex w-full items-center justify-between",HEADER_TEXT:"text-ford-text-moderate(default) font-FordF-1-Regular text-ford-size-16px font-normal leading-8 py-5",EXPANDED_TIT
1LE:"text-ford-fill-interactive"};return(0,n.jsxs)("div",{className:"".concat(r.HEADER_TEXT," ").concat(r.HEADER_CONTAINER),children:[(0,n.jsx)("div",{className:t?r.EXPANDED_TITLE:"",children:l}),(0,n.jsx)("div",{children:t?(0,n.jsx)(s,{fill:u.fill,height:u.height,stroke:u.stroke,viewBox:u.viewBox,width:u.width}):(0,n.jsx)(d,{fill:u.fill,height:u.height,stroke:u.stroke,viewBox:u.viewBox,width:u.width})})]})},f=e=>{let{accordionWrapper:t="",accordionHeader:l="",accordionContent:i}=e,[s,c]=a.useState(()=>new Set([]));return(0,n.jsx)(r.f,{className:t,expandedKeys:s,onExpandedChange:c,children:(0,n.jsx)(o.c,{className:"text-ford-gray-neutral border-b border-t border-solid px-4",customContent:e=>(0,n.jsx)(m,{isExpanded:e,children:i}),customHeader:e=>(0,n.jsx)(h,{header:String(l),isExpanded:e}),"data-testid":"disclosure-footer-accordion",headerClassName:"gap-2 text-sm leading-5 font-bold capitalize transition-colors ford-component-btn !outline-none select-none disabled:pointer-events-none disabled:text-ford-text-subtle focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ford-fill-strongest disabled:bg-transparent border-none hover:text-ford-fill-interactive-hover outline-ford-fill-strongest no-caret relative z-10 h-auto w-full rounded-sm p-0 text-left outline-offset-2 cursor-pointer flex justify-between items-center text-ford-gray-neutral"})})}},6916:(e,t,l)=>{"use strict";l.d(t,{AdobeLaunchBasic:()=>i});var n=l(94799),r=l(46041),o=l(64421);l(34023);var a=l(96819);let i=e=>{let{src:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{dangerouslySetInnerHTML:{__html:"window.digitaldata=window.digitaldata||{};window.digitaldata.page=window.digitaldata.page||{};window.digitaldata.vehicle=window.digitaldata.vehicle||{};window.digitaldata.event=window.digitaldata.event||{};"},id:"digitaldata-init",strategy:"afterInteractive"}),(0,n.jsx)(o.default,{src:t,strategy:"lazyOnload",type:"text/javascript",onLoad:()=>{var e;a.zS.init(),window.dispatchEvent(new Event(r.VRD.ANALYTICS_LOADED)),null==(e=globalThis._satellite)||e.pageBottom()}})]})}},8539:()=>{},9178:(e,t,l)=>{"use strict";l.d(t,{ContentSquareTraceId:()=>a});var n=l(46041),r=l(35530),o=l(34023);let a=()=>((0,o.useEffect)(()=>{let e=(0,r.R)(n.$Ku.NV_XTID);if(e){var t;window._uxa=null!=(t=window._uxa)?t:[],window._uxa.push(["setCustomVariable",1,"traceId",e])}},[]),null)},14481:(e,t,l)=>{"use strict";l.d(t,{FordPayScriptLoader:()=>a});var n=l(94799),r=l(71066),o=l(64421);let a=e=>{let{scriptSrc:t}=e;return t?(0,n.jsx)(o.default,{src:t,strategy:"afterInteractive",type:"module"}):(r.A.error("[FordPayV3]: FordPay script source URL is missing; skipping FordPay script load"),null)}},20323:()=>{},28860:(e,t,l)=>{"use strict";l.d(t,{T:()=>o});var n=l(46041),r=l(34023);let o=e=>{let{authenticated:t,logoutBaseUrl:l,redirectUrl:o}=e,a=(0,r.useRef)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(!1),c=(0,r.useCallback)(()=>{if(s.current)return;s.current=!0;let e=Date.now();if(localStorage.setItem(n.O1p,e.toString()),t&&l){let e=window.location.pathname,t=new URL("".concat(l,"?redirectUrl=").concat(encodeURIComponent(window.location.href)),window.location.origin);e===n.Hoq&&window.history.replaceState(null,"",t.toString()),window.location.href=t.toString()}else if(!t&&o){let e=new URL(o,window.location.origin).toString();window.location.replace(e)}},[t,l,o]),d=(0,r.useCallback)(()=>{let e=Date.now(),t=localStorage.getItem(n.O1p),l=t?Number(t):0;if(l&&e-l<n.UUH)return void c();let r=localStorage.getItem(n.NHT);(r?Number(r):0)+n.Afn<e&&c()},[c]),u=(0,r.useCallback)(()=>{a.current&&clearTimeout(a.current);let e=Date.now().toString();a.current=window.setTimeout(()=>{localStorage.setItem(n.NHT,e)},n.ngG)},[]),m=(0,r.useCallback)(()=>{u()},[u]),h=(0,r.useCallback)(e=>{(e.key===n.NHT||e.key===n.O1p)&&d()},[d]);(0,r.useEffect)(()=>{if(!(t&&l||!t&&o)){s.current=!1;return}s.current=!1,localStorage.setItem(n.NHT,Date.now().toString()),localStorage.removeItem(n.O1p),i.current=window.setInterval(()=>{d()},n.esZ);for(let e of n.mop)window.addEventListener(e,m);return window.addEventListener("storage",h),()=>{null!==i.current&&clearInterval(i.current),null!==a.current&&clearTimeout(a.current);for(let e of n.mop)window.removeEventListener(e,m);window.removeEventListener("storage",h),s.current=!1}},[t,l,o,m,h,d])}},29039:(e,t,l)=>{"use strict";l.d(t,{$:()=>r});var n=l(31162);let r=(0,n.createServerReference)("404d8c888844488a0f6102dea09550b81de7374109",n.callServer,void 0,n.findSourceMapURL,"getUserDataFromToken")},31232:(e,t,l)=>{"use strict";l.d(t,{Navbar:()=>f});var n=l(75592),r=l(45564),o=l(28860),a=l(63281),i=l(29039),s=l(46041),c=l(71066),d=l(67457),u=l(53997),m=l(12535),h=l(34023);let f=e=>{let{headerDomIds:t}=e,[l,f]=(0,h.useState)(!1),{msal:v}=(0,r.h)(),x=(0,a.R)("@nvc/search"),p=v?s.R$b[x]:s.znH[x],g=(0,h.useRef)(null),{AUTH:b,UNAUTH:w,FIRST_NAME:y,SIGN_IN_BUTTON:j,SIGN_OUT_BUTTON:L}=t;(0,h.useEffect)(()=>{(async()=>{f(await (0,d.w)())})()},[]),(0,h.useLayoutEffect)(()=>{(async()=>{let e=await (0,u.R)(m.$K.LOGIN_STATUS),t=await (0,u.R)(m.$K.FMA_COOKIE_NAME),l=await (0,u.R)(m.$K.FMA_LOGIN_STATUS)===m.bJ.LOGGED_IN;e!==m.bJ.LOGGED_IN||t||l||(0,n.A)(window.location.href,s.IQj.SYNDICATE_HEADER_LOGIN,!0);let r="".concat(p,"?redirectUrl=").concat(encodeURIComponent(window.location.href));e===m.bJ.LOGGED_OUT&&t&&l&&r&&(window.location.href=r)})()},[]);let C=async()=>(g.current||(g.current=await (0,i.$)()),g.current),S=()=>{(0,n.A)(window.location.href,s.IQj.SYNDICATE_HEADER_LOGIN)},N=()=>{p&&(window.location.href="".concat(p,"?redirectUrl=").concat(encodeURIComponent(window.location.href)))};function E(e){let t=document.querySelector(y);e&&t&&(t.textContent="Welcome back, ".concat(e,"."))}async function k(){let{userGuid:e,firstName:t}=await C();"FPS"in window&&e&&window.FPS.setExternalRef("CSDN",e,{error(){c.A.debug("Unable to set setExternalRef")},success(){c.A.debug("Successfully set setExternalRef")}}),E(t)}return(0,o.T)({authenticated:l,logoutBaseUrl:p}),(0,h.useEffect)(()=>{let e=document.querySelector(w),t=document.querySelector(b);l?(null==e||e.classList.add("hidden"),null==t||t.classList.remove("hidden")):(null==e||e.classList.remove("hidden"),null==t||t.classList.add("hidden"))},[l]),(0,h.useEffect)(()=>{let e=document.querySelector(j),t=document.querySelectorAll(L);return async function(){if(l){let{firstName:l}=await C();
1E(l),t.forEach(e=>{e.classList.add("cursor-pointer"),e.addEventListener("click",N),e.classList.remove("hidden")}),null==e||e.classList.add("hidden"),window.fma={isAuthenticated:!0}}else null==e||e.classList.add("cursor-pointer"),null==e||e.addEventListener("click",S),t.forEach(e=>e.classList.add("hidden"))}(),window.document.addEventListener(s.VRD.FPS_LOADED,k),()=>{null==e||e.removeEventListener("click",S),t.forEach(e=>e.removeEventListener("click",N)),window.document.removeEventListener(s.VRD.FPS_LOADED,k)}},[l,p,k]),!0}},36291:(e,t,l)=>{"use strict";l.d(t,{G:()=>r});var n=l(94799);let r=e=>{let{viewBoxHeight:t="16",viewBoxWidth:l="16",width:r="16",height:o="16"}=e;return(0,n.jsx)("svg",{"data-testid":"search-icon",fill:"none",height:o,id:"search-icon",viewBox:"0 0 ".concat(l," ").concat(t),width:r,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{clipRule:"evenodd",d:"M1.99167 6.45683C1.99167 3.99483 3.99467 1.99183 6.45667 1.99183C8.91867 1.99183 10.9217 3.99483 10.9217 6.45683C10.9217 8.91783 8.91867 10.9208 6.45667 10.9208C3.99467 10.9208 1.99167 8.91783 1.99167 6.45683ZM14.7447 14.7448C14.9377 14.5508 14.9377 14.2368 14.7447 14.0428L10.6487 9.94783C11.5517 8.86483 12.0437 7.42883 11.8837 5.87583C11.6257 3.39083 9.64467 1.35683 7.16567 1.04483C3.59567 0.59483 0.595667 3.59683 1.04467 7.16583C1.35667 9.64483 3.38967 11.6258 5.87567 11.8828C7.42867 12.0438 8.86467 11.5518 9.94767 10.6488L14.0427 14.7448C14.2367 14.9378 14.5507 14.9378 14.7447 14.7448Z",fill:"#00095B",fillRule:"evenodd"})})}},41840:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var n=l(94799);l(34023);var r=l(79069);l(97365);let o=e=>{let{className:t,dataTestId:l,height:o="32",viewBox:a="0 0 64 32",width:i="64",...s}=e,c=(0,r.JT)(s,"graphics-symbol"),d=(0,r.r)(s);return(0,n.jsxs)("svg",{"aria-label":"Loading animation with bouncing dots",className:"bouncing-dots ".concat(null!=t?t:""),"data-testid":l||"bouncing-dots-icon",fill:"none",height:o,viewBox:a,width:i,xmlns:"http://www.w3.org/2000/svg",...c,...d,children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_1087_876)",children:[(0,n.jsx)("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H56C60.4183 0 64 3.58172 64 8V24C64 28.4183 60.4183 32 56 32H8C3.58172 32 0 28.4183 0 24V8Z",fill:"white"}),(0,n.jsx)("g",{className:"dot1",children:(0,n.jsx)("g",{className:"dot-bounce",children:(0,n.jsx)("g",{className:"dot-scale",children:(0,n.jsx)("path",{className:"dot",d:"M20 20C22.2091 20 24 18.2091 24 16C24 13.7909 22.2091 12 20 12C17.7909 12 16 13.7909 16 16C16 18.2091 17.7909 20 20 20Z",fill:"#0562D2"})})})}),(0,n.jsx)("g",{className:"dot2",children:(0,n.jsx)("g",{className:"dot-bounce",children:(0,n.jsx)("g",{className:"dot-scale",children:(0,n.jsx)("path",{className:"dot",d:"M32 20C34.2091 20 36 18.2091 36 16C36 13.7909 34.2091 12 32 12C29.7909 12 28 13.7909 28 16C28 18.2091 29.7909 20 32 20Z",fill:"#0562D2"})})})}),(0,n.jsx)("g",{className:"dot3",children:(0,n.jsx)("g",{className:"dot-bounce",children:(0,n.jsx)("g",{className:"dot-scale",children:(0,n.jsx)("path",{className:"dot",d:"M44 20C46.2091 20 48 18.2091 48 16C48 13.7909 46.2091 12 44 12C41.7909 12 40 13.7909 40 16C40 18.2091 41.7909 20 44 20Z",fill:"#0562D2"})})})})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_1087_876",children:(0,n.jsx)("rect",{fill:"white",height:"32",width:"64"})})})]})}},42546:(e,t,l)=>{"use strict";l.d(t,{TraceIdManager:()=>i});var n=l(46041),r=l(53997),o=l(34023),a=l(82107);let i=e=>{let{brand:t}=e,l=function(e){let t=n.bLJ;return e===n.afT&&(t=n.vUF),t}(t);return(0,o.useEffect)(()=>{if(!(0,r.R)(n.$Ku.NV_XTID)){let e=(0,a.A)().replaceAll("-","").slice(1),t=(0,a.A)().replaceAll("-","").slice(0,16),r="".concat(l+e,"-").concat(t);document.cookie="".concat(n.$Ku.NV_XTID,"=").concat(encodeURIComponent(r),"; path=/")}},[]),null}},43594:(e,t,l)=>{"use strict";l.d(t,{OmniChat:()=>o});var n=l(94799),r=l(64421);function o(e){let{env:t,...l}=e;return(0,n.jsx)(r.default,{className:"optanon-category-2-4",src:"https://fordtccchat".concat(t,"sa.blob.core.windows.net/chatwidget/cxhubchat.js"),onLoad:()=>{var e,l,n,r,o,a;(null==(e=window)?void 0:e.CXHubFord)&&(null==(a=window)||null==(o=a.CXHubFord)||null==(r=o.Dynamics)||null==(n=r.Omnichannel)||null==(l=n.CXHubChatLogic)||l.loadChatWidgetFromAzureBlob(t))},...l,strategy:"lazyOnload"})}},46434:(e,t,l)=>{"use strict";l.d(t,{N:()=>r});var n=l(94799);function r(e){let{html:t}=e;return Array.isArray(t)?(0,n.jsx)(n.Fragment,{children:t.map(e=>{var t;return(0,n.jsx)("div",{className:null!=(t=e.className)?t:"",dangerouslySetInnerHTML:{__html:e.value},id:e.id},e.key)})}):(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})}},46772:(e,t,l)=>{Promise.resolve().then(l.t.bind(l,8539,23)),Promise.resolve().then(l.bind(l,94320)),Promise.resolve().then(l.t.bind(l,41463,23)),Promise.resolve().then(l.t.bind(l,89750,23)),Promise.resolve().then(l.bind(l,4816)),Promise.resolve().then(l.bind(l,93752)),Promise.resolve().then(l.bind(l,1360)),Promise.resolve().then(l.bind(l,54515)),Promise.resolve().then(l.bind(l,72447)),Promise.resolve().then(l.bind(l,37945)),Promise.resolve().then(l.bind(l,30616)),Promise.resolve().then(l.bind(l,9178)),Promise.resolve().then(l.bind(l,54184)),Promise.resolve().then(l.bind(l,70682)),Promise.resolve().then(l.bind(l,42546)),Promise.resolve().then(l.bind(l,57780)),Promise.resolve().then(l.bind(l,98476)),Promise.resolve().then(l.bind(l,10683)),Promise.resolve().then(l.bind(l,41840)),Promise.resolve().then(l.t.bind(l,83307,23)),Promise.resolve().then(l.bind(l,50082)),Promise.resolve().then(l.bind(l,14481)),Promise.resolve().then(l.bind(l,31232)),Promise.resolve().then(l.bind(l,70996)),Promise.resolve().then(l.bind(l,96734)),Promise.resolve().then(l.bind(l,64891)),Promise.resolve().then(l.bind(l,6916)),Promise.resolve().then(l.t.bind(l,20323,23)),Promise.resolve().then(l.bind(l,43594)),Promise.resolve().then(l.bind(l,5509))}
1,48908:(e,t,l)=>{"use strict";l.d(t,{A:()=>D});var n=l(94799);let r={inputBoxClasses:{searchInputWrapper:"md:block lg:block xl:block w-full ford-component-select border border-ford-black rounded-lg h-10 xs:mt-[22px] lg:mt-6 items-center",searchForm:"m-0 px-4 py-2 h-10",searchInput:{input:"w-full h-full text-sm font-medium leading-6 focus:outline-none !pl-10",wrapper:"w-full min-h-8 relative",inputWrapper:"shadow-none min-h-8 h-[38px] bg-transparent border-none data-[hover=true]:bg-transparent group-data-[focus=true]:bg-transparent left-0 right-0"},searchButton:"text-ford-motion-blue left-4 pointer-events-auto",searchCloseButton:"block p-0 right-4",expandButton:"hidden",wrapper:"contents",emptyListLabel:"text-center",searchIconFillColor:"fill-ford-motion-blue"},popoverProps:{className:"w-[var(--trigger-width)] mt-[3px] border-none"},errorClass:" md:block lg:block xl:block max-w-[600px] ford-component-select border border-ford-fill-danger-strong border-[2px] rounded-lg mt-6 xs:mt-[22px]",noSuggestionsErrorClass:"w-full text-ford-fill-danger-strong text-xs not-italic font-normal text-left pt-1 mb-2"},o={container:"flex flex-col h-full w-full lg:items-center lg:justify-center pt-11 lg:!h-[320px] lg:px-8 lg:py-2 space-y-4",title:"text-ford-size-16px leading-ford-lineheight-24px text-ford-fill-interactive w-full text-center font-normal lg:hidden",searchWrapper:"flex-shrink-0 lg:w-[380px]",quickLinksWrapper:"flex-1 lg:overflow-hidden lg:w-[380px]"},a={slideoutWrapper:"h-full !w-full sm:!w-full lg:!w-full xl:!w-full 2xl:!w-full flex items-center justify-center bg-white !top-16 lg:!h-[320px]",slideoutOverlay:"bg-transparent",searchContentWrapper:"pt-6"},i={container:"h-full w-full overflow-hidden lg:ml-2",innerContainer:"mb-4 ml-4 h-full lg:ml-0",title:"mb-0 text-sm font-medium leading-6 text-ford-text-deepblue",linksWrapper:"mt-2",linkButton:"mb-4 flex w-full items-center text-left text-[12px] font-normal leading-none tracking-normal transition-colors duration-150 hover:text-blue-600 focus:text-blue-600 focus:outline-none lg:mb-3",suggestionButton:"mb-3",highlightedText:"text-ford-light-blue",normalText:"text-gray-600",arrowIcon:"mr-1 text-lg leading-none text-blue-600",linkText:"ml-0.5"};var s=l(59140),c=l(71066);let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"autoComplete";if(!e)return"";let{imgslServiceLayerUrl:l,marketNameText:n,vertexAutoSuggestionPath:r,vertexPageSearchPath:o}=e,a=new URL("".concat(l).concat("autoComplete"===t?r:o));return a.searchParams.append("market",n),a.toString()},u=e=>e.map((e,t)=>({id:(t+1).toString(),label:e.title,value:e.title,path:e.quickLinkPath})),m=e=>"object"==typeof e&&null!==e&&"title"in e&&"quickLinkPath"in e&&"string"==typeof e.title&&"string"==typeof e.quickLinkPath;
1var h=l(56747),f=l(65955),v=l(22960),x=l(41081),p=l(96589),g=l(77795);let b=e=>{var t,l;let{children:r,classNames:o={},headerContent:a,footerContent:i,ariaTitle:s,...c}=e,d=(0,p.QP)(null==(t=h.Z$.top)?void 0:t.wrapper,o.wrapper,"z-modal !w-full h-auto"),u=(0,p.QP)(null==(l=h.Z$.top)?void 0:l.base,o.base),m=(0,p.QP)(o.backdrop,"z-modal"),b=(0,f.mg)(a);return(0,n.jsx)(g.Slideout,{animationConfig:h.zq.fromTop,classNames:{wrapper:d,body:u,backdrop:m,closeButton:"top-1 right-1 md:top-2 md:right-6 bg-transparent hover:bg-transparent",...o},"data-testid":"top-slideout",...c,children:(0,n.jsxs)(v.m,{children:[(0,n.jsx)(g.SlideoutHeader,{ariaTitle:s,className:"p-0",children:b?(0,x.Ay)(b):""}),r,i?(0,n.jsx)("div",{"data-testid":"top-slideout-footer-content",children:i}):null]})})};var w=l(34023),y=l(44729),j=l(42890);let L={[y.feM]:y.n52},C={options:{timeout:1e4}},S=async e=>{try{return await j.Ay.get(e,L,{},C)}catch(e){throw c.A.error("Failed to fetch vertex autoComplete Api data, ".concat(JSON.stringify(e))),Error("Failed to fetch vertex autoComplete Api data")}};var N=l(57231),E=l(10683),k=l(42767),A=l(30577),I=l(38863),P=l(47851);let R=e=>{let{width:t="9",height:l="8",viewBoxWidth:r="9",viewBoxHeight:o="8",fillColor:a="fill-[#00095B]",className:i,ariaLabel:s="Line Arrow",ariaHidden:c=!1,dataTestId:d="line-arrow-icon",style:u,onClick:m,...h}=e;return(0,n.jsx)("svg",{"aria-hidden":c,"aria-label":c?void 0:s,className:i,"data-testid":d,fill:"none",height:l,role:"img",style:u,viewBox:"0 0 ".concat(r," ").concat(o),width:t,xmlns:"http://www.w3.org/2000/svg",...m&&{onClick:m},...h,children:(0,n.jsx)("path",{className:a,d:"M4.96376 0.146447C4.78477 -0.0488155 4.49457 -0.0488155 4.31558 0.146447C4.13659 0.341709 4.13659 0.658291 4.31558 0.853553L6.74149 3.5H0.514669C0.261538 3.5 0.0563354 3.72386 0.0563354 4C0.0563354 4.27614 0.261538 4.5 0.514669 4.5H6.74149L4.31558 7.14645C4.13659 7.34171 4.13659 7.65829 4.31558 7.85355C4.49457 8.04882 4.78477 8.04882 4.96376 7.85355L8.17209 4.35355C8.35108 4.15829 8.35108 3.84171 8.17209 3.64645L4.96376 0.146447Z"})})};var B=l(3215),T=l.n(B);let _=e=>{var t;let{searchValue:l,onQuickLinkClick:r,quicklinkAndSuggestion:o,className:a,onSuggestionClick:s}=e,{suggestionTitleText:d,enableQuickLink:h,quickLinkItems:f,quickLinkTitle:v,suggestions:x}=o,{container:g,innerContainer:b,title:y,linksWrapper:j,linkButton:L,suggestionButton:C,highlightedText:S,normalText:N,arrowIcon:k,linkText:I}=i,B=w.useMemo(()=>(e=>{try{if("string"!=typeof e)return u(e||[]);{let t=JSON.parse(e);if((e=>Array.isArray(e)&&e.every(m))(t))return u(t);return[]}}catch(e){return c.A.error("Failed to parse quickLinkItems: ".concat(JSON.stringify(e))),[]}})(f),[f]),_=w.useMemo(()=>(e=>{let{searchValue:t,quickLinks:l,suggestions:n}=e;return t&&0!==t.length?(null==n?void 0:n.filter(e=>e.value.toLowerCase().includes(t.toLowerCase())))||[]:l})({searchValue:l,quickLinks:B,suggestions:x}),[l,B,x]),U=0===l.length&&h,D=l.length>0&&(null!=(t=null==_?void 0:_.length)?t:0)>0;return h||D?(0,n.jsx)("div",{className:T()(g,a),children:(0,n.jsxs)("div",{className:b,children:[(U||D)&&(0,n.jsx)(A.m,{as:"h3",className:y,children:U?v:d}),(0,n.jsx)("div",{className:j,children:null==_?void 0:_.slice(0,D?5:void 0).map(e=>(0,n.jsxs)(E.UnstyledButton,{className:(0,p.QP)(L,D&&C),onClick:()=>{"path"in e&&e.path?null==r||r(e.path):null==s||s(e.value)},children:[D?(0,n.jsx)(P.A,{fillColor:"fill-ford-light-blue",height:18,viewPortHeight:24,viewPortWidth:24,width:20}):(0,n.jsx)(R,{className:k,fillColor:"fill-ford-text-deepblue",height:12,width:12}),(0,n.jsx)(A.m,{as:"p",className:I,children:D?(e=>{let t=e.toLowerCase(),r=l.toLowerCase(),o=0,a=[];for(;o<=e.length;){let i=t.indexOf(r,o);if(-1===i){o<e.length&&a.push((0,n.jsx)(A.m,{as:"span",className:N,children:e.slice(o)},"n-".concat(o)));break}i>o&&a.push((0,n.jsx)(A.m,{as:"span",className:N,children:e.slice(o,i)},"n-".concat(i))),a.push((0,n.jsx)(A.m,{as:"span",className:S,children:e.slice(i,i+l.length)},"h-".concat(i))),o=i+l.length}return a})(e.value):(0,n.jsx)(A.m,{as:"span",className:S,children:e.value})})]},e.id))})]})}):null},U=e=>{var t,l,a;let{placeholder:i,selectedInputValue:s,onInputChange:d,quicklinkAndSuggestion:u,searchContentWrapper:m,onQuickLinkClick:h,onClose:f}=e,{redirectUrl:v}=u||{},{inputBoxClasses:x}
1=r,{container:g,title:b,searchWrapper:w,quickLinksWrapper:j}=o,L={placeholder:i||"Search",ariaLabels:y.kJF},C=e=>{if(!e)return;let t=(0,N.c6)(e);t&&window.location.assign(t)},S=s&&s.length>0,R=(0,n.jsx)(E.UnstyledButton,{"aria-label":L.ariaLabels.submit,className:"flex items-center justify-center ".concat(S?"cursor-pointer":""),isDisabled:!S,onPress:()=>C(s||""),children:(0,n.jsx)(P.A,{fillColor:null==x?void 0:x.searchIconFillColor,height:"24",width:"24"})});return(0,n.jsxs)("div",{className:(0,p.QP)(g,m),children:[(0,n.jsx)(A.m,{as:"h3",className:b,children:null==u?void 0:u.searchTitleText}),(0,n.jsx)("div",{className:w,children:(0,n.jsx)("div",{className:null==x?void 0:x.searchInputWrapper,children:(0,n.jsx)(k.V,{showClearButton:!0,classes:{inputContainer:"w-full",inputBase:null==x||null==(t=x.searchInput)?void 0:t.wrapper,input:null==x||null==(l=x.searchInput)?void 0:l.input,inputWrapper:null==x||null==(a=x.searchInput)?void 0:a.inputWrapper,leftIcon:null==x?void 0:x.searchButton,rightIcon:null==x?void 0:x.searchCloseButton},leftIcon:R,placeholder:L.placeholder,rightIcon:(0,n.jsx)(I.A,{height:"24",width:"24"}),rightIconAriaLabel:L.ariaLabels.close,value:s||"",onChange:e=>null==d?void 0:d(e),onClear:f,onSearch:C})})}),(0,n.jsx)("div",{className:j,children:u&&(0,n.jsx)(_,{quicklinkAndSuggestion:u,searchValue:s||"",onQuickLinkClick:h,onSuggestionClick:e=>{if(d&&d(e),v)try{let t=new URL(v,window.location.origin);t.searchParams.set("search",e),window.open(t.toString(),"_self")}catch(e){c.A.warn("Failed to open search URL:",e)}}})})]})},D=e=>{let{placeholder:t,isOpen:l=!1,onClose:r,isInitialMobile:o,headerContent:i,customSlideoutWrapper:u}=e,[m,h]=(0,w.useState)(""),[f,v]=(0,w.useState)(l),[x,g]=(0,w.useState)(),{generativeAI:y,quickLink:j}=i||{},{slideoutWrapper:L,slideoutOverlay:C,searchContentWrapper:N}=a,E=d(y);(0,w.useEffect)(()=>{j&&g({...j,searchTitleText:null==y?void 0:y.searchTitleText,suggestionTitleText:null==y?void 0:y.suggestionTitleText,redirectUrl:null==y?void 0:y.redirectUrl})},[j,null==y?void 0:y.searchTitleText,null==y?void 0:y.suggestionTitleText,null==y?void 0:y.redirectUrl]),(0,w.useEffect)(()=>{let e=async()=>{try{let e=await S(E);g(t=>t?{...t,suggestions:e}:void 0)}catch(e){c.A.error("Failed to fetch autocomplete data:",E)}};E&&e()},[E]);let k=(0,w.useCallback)(e=>{h(e)},[]),A=(0,w.useCallback)(()=>{v(!1),null==r||r()},[r]);(0,w.useEffect)(()=>{v(l)},[l]);let I=(0,w.useCallback)(()=>{h("")},[]),{isMobile:P}=(0,s.X)(o),R=(0,n.jsx)(U,{placeholder:t,quicklinkAndSuggestion:x,searchContentWrapper:N,selectedInputValue:m,onClose:I,onInputChange:k,onQuickLinkClick:e=>{window.open(e,"_blank")}});return P?(0,n.jsx)(b,{hideCloseButton:!0,classNames:{wrapper:u?(0,p.QP)(L,u):L,overlay:C},isOpen:f,onClose:A,children:R}):R}},54184:(e,t,l)=>{"use strict";l.d(t,{LogsSW:()=>a});var n=l(34267),r=l(34023);let o=(0,n.pino)(),a=e=>((0,r.useEffect)(()=>{var t,l;let n=new URLSearchParams(Object.entries(e).filter(e=>{let[,t]=e;return null!=t}).map(e=>{let[t,l]=e;return[t,l]}).filter(e=>{let[t]=e;return t&&["namespace","timeout"].includes(t)})).toString(),r=null==(t=e.namespace)?void 0:t.split("/")[1],a=null!=(l=e.publicUrl)?l:"/".concat(r,"/nvc/"),i=async e=>{try{let t=await navigator.serviceWorker.register(e);return o.debug("Log Service Worker registered: ",t),t}catch(e){return o.debug("Log Service Worker registration failed: ",e),null}},s=async e=>(await navigator.serviceWorker.getRegistrations()).some(t=>{var l;return null==(l=t.active)?void 0:l.scriptURL.includes(e)})?(o.debug("Log Service Worker is already registered for this URL."),null):i(e),c="".concat(a,"service-worker.js?").concat(n);"serviceWorker"in navigator&&r&&s(c)},[e]),null)},54515:(e,t,l)=>{"use strict";l.d(t,{default:()=>k});var n=l(94799),r=l(59787),o=l(77047),a=l(44729),i=l(46434),s=l(10683),c=l(99007),d=l(34023),u=l(96589),m=l(89370);let{leftSideActive:h,leftSideInActive:f,leftSideVehicleMenu:v,leftSideNavUlElements:x,leftSideNavliElements:p,leftSideNavVehicleMenu:g,leftSideVehicleMenuActive:b,leftSideVehicleMenuInActive:w,leftSideVehicleMenuWidth:y,leftSideSingleMenuContainer:j,leftSideSingleMenu:L,leftSideSingleMenuLayout:C,leftSideSingleMenuLayoutWidth:S,leftSideNavrelative:N}={leftSideActive:"text-ford-motion-blue underline underline-offset-[16px] decoration-4 bold-text",leftSideInActive:"text-ford-blue",leftSideVehicleMenu:"!p-0 text-ford-blue text-base hover:underline hover:underline-offset-[16px] hover:decoration-4 bold-text bg-transparent",leftSideNavUlElements:"pt-5 pb-10",leftSideNavliElements:"block px-2 mx-4 py-2 leading-8 text-ford-gray border-b hover:text-ford-blue hover:border-ford-blue font-normal text-base",leftSideNavVehicleMenu:"absolute left-[-54px] overflow-hidden mt-4 w-screen bg-ford-white shadow-lg transition-all duration-300 ease-in-out",leftSideVehicleMenuActive:"opacity-100 translate-y-0",leftSideVehicleMenuInActive:"opacity-0 translate-y-[-10px] pointer-events-none",leftSideVehicleMenuWidth:"max-h-[85vh] overflow-y-auto z-[999]",leftSideSingleMenuContainer:"hidden md:flex md:items-center md:gap-[30px]",leftSideSingleMenu:"absolute left-0 mt-4 w-72 bg-ford-white shadow-lg transition-all duration-300 ease-in-out rounded-b-md",leftSideSingleMenuLayout:"!p-0 font-extrabold text-base hover:underline hover:underline-offset-[16px] hover:decoration-4 bold-text bg-transparent",leftSideSingleMenuLayoutWidth:"max-h-[70vh] overflow-y-auto z-[999]",leftSideNavrelative:"relative"},{SELECT_VIEW:E}=a.kJC,k=e=>{let{leftheaderdata:t,locale:l,aemPortUrl:a,headerKey:k,preferCacheData:A=!1,customStyles:I}=e,P=(0,r.w)(t,k),R=null==P?void 0:P.leftSideNavigations,[B,T]=(0,d.useState)(null),[_,U]=(0,d.useState)(!1),{customLeftSideNavVehicleMenu:D="",customLeftSideSingleMenuContainer:M="",customLeftSideSingleMenuLayout:H="",customLeftSideSingleMenu:O="",customLeftSideVehicleMenu:Q="",customLeftSideActive:F="",customLeftSideInActive:V="",customLeftSideNavliElements:W="",customLeftSideNavrelative:q=""}=I||{},z=null==P?void 0:P.categoryBannerDetailsList,[G,Z]=(0,d.useState)(null),$=(0,d.useRef)(null),K=e=>{$.current&&e.target instanceof HTMLElement&&!$.current.contains(e.target)&&(Z(null),T(null))},J=e=>{var t;T(e),(e=>{Z(t=>t===e?null:e)})(e),R&&(null==(t=R[e])?void 0:t.selectView)===E&&U(!0)};return(0,d.useEffect)(()=>(document.addEventListener("mousedown",K),()=>{document.removeEventListener("mousedown",K)}),[G,z,_]),(0,n.jsx)("nav",{ref:$,className:(0,u.QP)(j,M),children:null==R?void 0:R.map((e,t)=>{let r=(null==e?void 0:e.vehicleMenu)||(null==e?void 0:e.singleMenu);return((e,t)=>{var r;return R&&(null==(r=R[t])?void 0:r.selectView)===E?(0,n.jsxs)("div",{className:(0,u.QP)(N,q),children:[(0,n.jsx)(s.UnstyledButton,{className:(0,
1c.B)({color:"white",className:"".concat((0,u.QP)(v,Q)," ").concat(B===t?(0,u.QP)(h,F):(0,u.QP)(f,V))}),onClick:()=>{J(t)},children:null==e?void 0:e.menuLabel}),G===t&&(0,n.jsx)("div",{className:"".concat((0,u.QP)(g,D)," ").concat(G===t?b:w," ").concat(y),id:"left-side-nav-open-vehicles-drop-down",children:(0,n.jsx)(m.A,{aemPortUrl:a,categoryBanner:z,locale:l,preferCacheData:A,vehicleIndex:_})})]},t):null})(r,t)||(0,n.jsxs)("div",{className:(0,u.QP)(N,q),children:[(0,n.jsx)(s.UnstyledButton,{className:(0,c.B)({color:"white",className:"".concat((0,u.QP)(C,H)," ").concat(B===t?(0,u.QP)(h,F):(0,u.QP)(f,V))}),onClick:()=>(null==r?void 0:r.menuLinks)&&J(t),children:null==r?void 0:r.menuLabel}),G===t&&(null==r?void 0:r.menuLinks)&&(0,n.jsx)("div",{className:"".concat((0,u.QP)(L,O)," ").concat(G===t?b:w," ").concat(S),id:"left-side-nav-open-drop-down",children:(0,n.jsx)(i.N,{html:(e=>{let t=W?(0,u.QP)(p,W):p,l=e.replaceAll("<ul>",'<ul class="'.concat(x,'">')).replaceAll("<li>",'<li class="'.concat(t,'">'));return l.replaceAll(/<a href="(.*?)"(.*?)>/g,(e,t,l)=>{let n=(0,o.s)(t,a);return'<a href="'.concat(n,'" target="_self" _link_action="_self" ').concat(l,">")})})(null==r?void 0:r.menuLinks)})})]},null==r?void 0:r.menuLabel)})})}},57780:(e,t,l)=>{"use strict";l.d(t,{NWebVitals:()=>o});var n=l(17957),r=l(7192);let o=e=>{let{namespace:t}=e;return(0,r.useReportWebVitals)(e=>{(0,n.Ay)({namespace:t.split("/")[1]}).debug(JSON.stringify(e))}),null}},59249:(e,t,l)=>{"use strict";l.d(t,{L:()=>n});let n=(e,t,l)=>{if(!e||!t||!l)return[];let n=l.replace(/\/en$/,"");return e.filter(e=>void 0!==e.locale).map(e=>{let l=[n,e.locale||"",t].filter(Boolean);return{...e,url:l.join("/")}})}},59787:(e,t,l)=>{"use strict";l.d(t,{w:()=>n});let n=(e,t)=>{var l,n;let r=null==e||null==(n=e[":items"])||null==(l=n.root)?void 0:l[":items"];if(!r)return;let o="string"==typeof t?t.trim():"";if(o&&r[o])return r[o];if(r.header)return r.header;let a=Object.keys(r);if(1===a.length){let e=a[0];if("string"==typeof e&&e.startsWith("header")){let t=r[e];if(t)return t}}}},63281:(e,t,l)=>{"use strict";l.d(t,{R:()=>o});let n=["@nvc/cart","@nvc/home","@nvc/search","@nvc/pdp","@nvc/checkout"],r=n.join(", ");function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{sourceName:l}=t;if(!e){if(l)throw Error("".concat(l," is not defined."));throw Error("Application namespace is not defined.")}if(!(e&&n.some(t=>t===e))){if(l)throw Error("".concat(l," '").concat(e,"' is not a supported application namespace. Must be one of: ").concat(r));throw Error("Invalid application namespace: ".concat(e,". Must be one of: ").concat(r))}return e}},64891:(e,t,l)=>{"use strict";l.d(t,{AdobeLaunch:()=>m});var n=l(94799),r=l(46041),o=l(70158),a=l(53997);let i=()=>{var e;return(0,o.B)()&&null!=(e=window.OptanonActiveGroups)?e:""},s=async(e,t)=>{if(t===r.jpR){let t=i();return e.every(e=>t.includes(e))}if(t!==r.Fpr)return!1;{let t=function(e){if(!e)return null;let t=e.match(/groups=([^&]*)/);return t&&t[1]?decodeURIComponent(t[1]):null}(await (0,a.R)(r.be9)),l=function(e){return e?e.split(",").filter(e=>e.endsWith(":1")).map(e=>e.slice(0,-2)).join(","):""}(null!=t?t:"");return e.every(e=>l.includes(e))}};var c=l(64421),d=l(34023),u=l(96819);let m=e=>{let{src:t,optanonGroupIds:l}=e,[o,a]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{(async()=>{a(await s(l,r.Fpr))})()},[l]),(0,d.useEffect)(()=>{o||((async()=>{let{promise:e}=(e=>{let{condition:t,timeout:l=1e4,interval:n=100}=e,r=null,o=null;return{promise:new Promise(e=>{o=e;let a=Date.now(),i=()=>t()?void e(!0):Date.now()-a>=l?void e(!1):void(r=setTimeout(i,n));i()}),cancel:()=>{null!==r&&(clearTimeout(r),r=null),o&&o(!1)}}})({condition:()=>i().length>4,timeout:6e4,interval:1e3});await e&&a(await s(l,r.jpR))})(),u.zS.init())},[o,l]),o)?(0,n.jsx)(c.default,{className:"optanon-category-2-3-4",src:t,type:"text/javascript",onLoad:()=>{u.zS.init(),window.dispatchEvent(new Event(r.VRD.ANALYTICS_LOADED))}}):null}},70682:(e,t,l)=>{"use strict";l.d(t,{NVCGuidManager:()=>d});var n=l(96932),r=l(46041);let o={get expires(){return r.BRq/r.xzs},get sameSite(){return r.DlQ},get secure(){return!0}};var a=l(71066),i=l(12535),s=l(34023),c=l(82107);function d(){return(0,s.useEffect)(()=>
1{if((0,n.Ri)(i.$K.NVC_GT_UID))return;let e=(0,n.Ri)(i.$K.FPS_GT_UID);if(e)(0,n.TV)(i.$K.NVC_GT_UID,e,o),a.A.info("NVC_GT_UID set on client side from guestGuid: ".concat(e));else{let e=(0,c.A)();(0,n.TV)(i.$K.NVC_GT_UID,e,o),a.A.info("NVC_GT_UID set on client side: ".concat(e))}},[]),null}},70996:(e,t,l)=>{"use strict";l.d(t,{SyndicatedHeaderAuth:()=>v});var n=l(75592),r=l(46041),o=l(53997),a=l(34023),i=l(71066),s=l(99600),c=l(45564),d=l(28860),u=l(63281),m=l(29039),h=l(97871),f=l(1608);let v=e=>{let{headerDomIds:t,application:l,signInRedirectPath:v}=e,x=(0,f.useTranslations)("common"),p=(0,a.useRef)(null),{authenticated:g}=(0,s.A)(),{msal:b}=(0,c.h)(),w=(0,u.R)("@nvc/search"),y=b?r.R$b[w]:r.znH[w],j=(0,a.useCallback)(async()=>(p.current||(p.current=await (0,m.$)()),p.current),[]),L=(0,a.useCallback)(()=>v?"".concat(window.location.origin).concat(v):window.location.href,[v]),C=(0,a.useCallback)(()=>{(0,n.A)(L(),r.IQj.SYNDICATE_HEADER_LOGIN)},[L]),S=(0,a.useCallback)(async()=>{let{userGuid:e}=await j();"FPS"in window&&e&&window.FPS.setExternalRef("CSDN",e,{error(){i.A.debug("Unable to set setExternalRef")},success(){i.A.debug("Successfully set setExternalRef")}})},[j]),N=(0,a.useCallback)(()=>{y&&window.location.assign("".concat(y,"?redirectUrl=").concat(encodeURIComponent(window.location.href)))},[y]),E=(0,a.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),C())},[C]),k=(0,a.useCallback)(()=>{p.current=null},[]);return((e,t)=>{(0,a.useLayoutEffect)(()=>{(async()=>{let l=await (0,o.R)("loginStatus"),a=await (0,o.R)("fma_YmFuYW5h"),i=await (0,o.R)("fmaloginStatus")==="logged in";if("logged in"!==l||a||i||(0,n.A)(e(),r.IQj.SYNDICATE_HEADER_LOGIN,!0),t&&"logged out"===l&&a&&i){let e="".concat(t,"?redirectUrl=").concat(encodeURIComponent(window.location.href));window.location.assign(e)}})()},[e,t])})(L,y),(e=>{let{headerDomIds:t,authenticated:l,fetchUserData:n,handleSignIn:o,handleSignOut:s,handleKeyboardEvent:c,setUserId:d,onUnauthenticated:u,t:m}=e;(0,a.useEffect)(()=>{let{SIGNIN_DESKTOP:e,CREATE_DESKTOP:a,FIRST_NAME_DESKTOP:h,FPR_DESKTOP:f,RESERVATION_DESKTOP:v,SIGNOUT_DESKTOP:x,VEHICLE_DESKTOP:p,CHECK_ORDER_STATUS_DESKTOP:g,FPR_DUPLICATE_DESKTOP:b,SIGNIN_MOBILE:w,CREATE_MOBILE:y,FIRST_NAME_MOBILE:j,FPR_MOBILE:L,RESERVATION_MOBILE:C,SIGNOUT_MOBILE:S,VEHICLE_MOBILE:N,CHECK_ORDER_STATUS_MOBILE:E,FPR_DUPLICATE_MOBILE:k}=t,A=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let n=[...new Set(t)];return[...document.querySelectorAll(n.map(e=>"#".concat(e)).join(", "))]},I=A(e,w),P=A(a,y),R=A(h,j),B=A(p,N),T=A(v,C),_=A(f,L),U=A(x,S),D=A(g,E),M=A(b,k),H=e=>e instanceof HTMLAnchorElement?e:e.querySelector("a"),O=document.querySelector(".fgx-search-form, .search-bar__form");async function Q(){let{firstName:e}=await n();R.forEach(t=>{let l=t.querySelector("span");l&&e?l.textContent=m("account",{firstName:e}):e&&(t.textContent=m("account",{firstName:e}))}),e&&[...document.querySelectorAll(".my-account-auth-greeting")].filter(e=>!e.closest(".navigation-menu__list-item--hide-on-desktop")).forEach(t=>{t.textContent="Hi ".concat(e),t.style.display="inline"}),[...I,...P,...D,...M].forEach(e=>e.classList.add("hidden")),U.forEach(e=>{var t;e.classList.add("cursor-pointer"),null==(t=H(e))||t.removeAttribute("href"),e.addEventListener("click",s)}),[..._,...U,...R,...T,...B].forEach(e=>{e.classList.contains("hidden")&&e.classList.remove("hidden")})}return O&&(O.getAttribute("action")||O.setAttribute("action","//".concat(window.location.hostname,"/search/"))),l?(window.fma={...window.fma,isAuthenticated:!0},Q().catch(e=>i.A.error(e,"Failed to fetch user data"))):(u(),[...I,...P].forEach(e=>{e.classList.add("cursor-pointer"),e.addEventListener("click",o);let t=H(e);null==t||t.removeAttribute("href"),null==t||t.setAttribute("role","button"),null==t||t.setAttribute("aria-label","Sign In"),e.setAttribute("tabindex","0"),e.addEventListener("keydown",c)}),[..._,...U,...R,...T,...B].forEach(e=>e.classList.add("hidden")),window.fma={...window.fma,isAuthenticated:!1}),window.document.addEventListener(r.VRD.FPS_LOADED,d),()=>
1{U.forEach(e=>e.removeEventListener("click",s)),[...I,...P].forEach(e=>{e.removeEventListener("click",o),e.removeEventListener("keydown",c)}),window.document.removeEventListener(r.VRD.FPS_LOADED,d)}},[l,n,c,o,s,t,u,d,m])})({headerDomIds:t,authenticated:g,fetchUserData:j,handleSignIn:C,handleSignOut:N,handleKeyboardEvent:E,setUserId:S,onUnauthenticated:k,t:x}),(0,d.T)({authenticated:g,logoutBaseUrl:y}),(0,h.c)("Accessories Login",{application:l}),null}},72447:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var n=l(94799),r=l(59249),o=l(37945),a=l(44729),i=l(10683),s=l(6337),c=l(22319),d=l(99007),u=l(85079),m=l(49897),h=l(36291);let f=e=>{let{viewBoxHeight:t="16",viewBoxWidth:l="16",width:r="16",height:o="16",fillColor:a="fill-ford-blue"}=e;return(0,n.jsx)("svg",{"data-testid":"user-icon",fill:"none",height:o,id:"user-icon",viewBox:"0 0 ".concat(l," ").concat(t),width:r,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:a,d:"M5.79989 4.2314C5.79989 5.41889 6.78668 6.38495 7.99967 6.38495C9.21376 6.38495 10.2006 5.41889 10.2006 4.2314C10.2006 3.04283 9.21376 2.07677 7.99967 2.07677C6.78668 2.07677 5.79989 3.04283 5.79989 4.2314ZM11.3004 4.2314C11.3004 6.01589 9.82358 7.46172 7.99967 7.46172C6.17687 7.46172 4.69889 6.01589 4.69889 4.2314C4.69889 2.44691 6.17687 1 7.99967 1C9.82358 1 11.3004 2.44691 11.3004 4.2314ZM12.4001 12.3081V13.9232H3.59989V12.3081C3.59989 10.8232 4.83394 9.61505 6.35072 9.61505H9.65039C11.1661 9.61505 12.4001 10.8232 12.4001 12.3081ZM2.5 15H13.5V12.307C13.5 10.2262 11.777 8.53936 9.65039 8.53936H6.34961C4.22412 8.53936 2.5 10.2262 2.5 12.307V15Z",fill:"#00095B",fillRule:"evenodd"})})};var v=l(34023),x=l(96589),p=l(48908);let{rightSideNavIcons:g,dropdownContainer:b,dropdownList:w,rightSideNavContainer:y,rightSideNavLayout:j,dropdownActive:L,dropdownInactive:C,dropdownBtn:S,dropdownOpenActive:N,dropdownOpenInactive:E,itemLink:k,dropdownItemActive:A,dropdownItem:I,iconFillColor:P,iconFillColorActive:R,expandSearchStyle:B}={rightSideNavIcons:"text-ford-blue py-2 flex flex-col items-center border-b-4 border-transparent hover:border-ford-blue",rightSideNavContainer:"hidden relative md:flex md:items-center md:gap-4",rightSideNavLayout:"relative flex flex-col items-center",dropdownActive:"text-ford-motion-blue underline border-b-4 border-ford-motion-blue",dropdownInactive:"text-ford-blue border-b-4 border-transparent hover:border-b-4 hover:border-ford-blue",dropdownBtn:"focus:outline-none",dropdownOpenActive:"text-ford-motion-blue",dropdownOpenInactive:"text-ford-blue",languageDropdown:"list-none m-0 px-6 pb-9 pt-10 bg-white",dropdownItem:"py-3 text-imgText-lg text-ford-gray-neutral border-b border-b-ford-border-gray1 hover:text-ford-blue hover:border-b-ford-blue text-left",dropdownItemActive:"block w-full text-imgText-lg text-ford-motion-blue border-b border-b-ford-motion-blue pb-3 text-left pointer-events-none cursor-default",itemLink:"block w-full cursor-clickable no-underline",dropdownContainer:"absolute right-0 mt-11 w-60 bg-ford-white shadow-lg z-[999] rounded-b-lg min-w-[320px] p-0 border-none border-l border-r border-b border-gray-300 shadow-[0_4px_4px_rgba(0,0,0,0.25)]",dropdownList:"px-6 pb-9 pt-[47px]",iconFillColor:"fill-ford-blue",iconFillColorActive:"fill-ford-motion-blue",expandSearchStyle:"fixed inset-x-0 top-16 z-50 w-screen overflow-hidden rounded-bl-lg rounded-br-lg bg-white opacity-100 shadow-[0_4px_4px_0_rgba(1,2,3,0.3)] transition-all duration-700 ease-out"},T=(e,t,l)=>(0,n.jsx)("div",{className:t?(0,x.QP)(b,t):b,id:"right-side-nav-open-drop-down",role:"navigation",children:(0,n.jsx)(c.y,{className:w,spacing:"none",children:e.filter(e=>{var t;return null==(t=e.label)?void 0:t.trim()}).map(e=>{var t;return(0,n.jsx)(c.y.Item,{className:null!=(t=null==e?void 0:e.active)&&t?(null==l?void 0:l.customDropdownItemActive)?(0,x.QP)(A,l.customDropdownItemActive):A:(null==l?void 0:l.customDropdownItem)?(0,x.QP)(I,l.customDropdownItem):I,children:(0,n.jsx)(s.N,{className:(null==l?void 0:l.customItemLink)?(0,x.QP)(k,l.customItemLink):k,href:e.url||"#",children:e.label})},e.label)})})}),_=e=>{var t;let{aemPortUrl:l,basePath:c,headerContent:b,customStyles:w}=e,k=(0,o.useSharedConfig)(),{languageList:A,multiLanguage:I}=k,{vehicleDashboard:_,myAccount:U,vehicleDashboardUrl:D,dealershipUrl:M,searchURL:H="",myAccountUrl:O,signOutUrl:Q,signOutLabel:F,myreservation:V,myreservationUrl:W,bookATestDrive:q,bookATestDriveUrl:z,askFord:G,talkToAnExpert:Z,talkToAnExpertUrl:$,raq:K,raqUrl:J,chatUrl:X,chatWithUs:Y,isSearchAvailable:ee=!0}=k.header,et=[{url:W,label:V},{url:D,label:_},{url:O,label:U},{url:z,label:q},{url:J,label:K},{url:H,label:G},{url:$,label:Z},{url:X,label:Y},...Q?[{url:Q,label:F}]:[]],{customRightSideNavContainer:el="",rightNavDropdown:en={},rightNavIcons:er={},customItemLink:eo="",customExpandedSearchContainer:ea=""}=w||{},{customDropdownContainer:ei="",customDropdownActive:es="",customDropdownInactive:ec="",customDropdownOpenActive:ed="",customDropdownOpenInactive:eu="",customDropdownItem:em="",customDropdownItemActive:eh=""}
1=en,{customRightSideNavIcons:ef="",customIconFillColor:ev="",customIconFillColorActive:ex=""}=er,ep={customDropdownItem:em,customDropdownItemActive:eh,customItemLink:eo},[eg,eb]=(0,v.useState)(!1),[ew,ey]=(0,v.useState)(!1),[ej,eL]=(0,v.useState)(!1),eC=(0,v.useRef)(null),eS=(0,r.L)(A,c,l),eN=()=>{eL(e=>!e),eb(!1),ey(!1)},eE=e=>{eC.current&&e.target instanceof HTMLElement&&!eC.current.contains(e.target)&&(eb(!1),ey(!1),eL(!1))},ek=()=>{eb(!1),ey(!1),eL(!1)};(0,v.useEffect)(()=>(document.addEventListener("mousedown",eE),window.addEventListener("scroll",ek,!0),()=>{document.removeEventListener("mousedown",eE),window.removeEventListener("scroll",ek,!0)}),[eg,ew,ej]);let eA=()=>{var e;return(null==b||null==(e=b.generativeAI)?void 0:e.displayAISearch)==="true"?(0,n.jsx)(i.UnstyledButton,{isIconOnly:!0,"aria-label":"Search Site",className:(0,x.QP)(g,ef),variant:"tertiary",onClick:eN,children:(0,n.jsx)(h.G,{height:"16",viewBoxHeight:"16",viewBoxWidth:"16",width:"16"})}):ee&&H&&(0,n.jsx)(s.N,{"aria-label":"Search Site",className:(0,x.QP)(g,ef),href:H,children:(0,n.jsx)(h.G,{height:"16",viewBoxHeight:"16",viewBoxWidth:"16",width:"16"})})};return(0,n.jsxs)("div",{ref:eC,className:(0,x.QP)(y,el),children:[((e,t)=>(0,n.jsx)(s.N,{"aria-label":"location"===e?"Find a Dealership":"Search Site",className:(0,x.QP)(g,ef),href:t,children:"location"===e?(0,n.jsx)(m.B,{height:"18",viewBoxHeight:"18",viewBoxWidth:"17",width:"17"}):eA()}))("location",M),et&&(0,n.jsxs)("div",{className:"".concat(j," ").concat(eg?(0,x.QP)(L,es):(0,x.QP)(C,ec)," "),children:[(0,n.jsx)(i.UnstyledButton,{"aria-label":"User Icon",className:(0,d.B)({variant:"tertiary",color:"blue",isIconOnly:!0,className:"".concat(S," ").concat(eg?(0,x.QP)(N,ed):(0,x.QP)(E,eu))}),onClick:()=>void(eb(e=>!e),ey(!1),eL(!1)),children:(0,n.jsx)(f,{fillColor:eg?(0,x.QP)(R,ex):(0,x.QP)(P,ev),height:a.Jiw,viewBoxHeight:a.Jiw,viewBoxWidth:a.Jiw,width:a.Jiw})}),eg&&T(et,ei,ep)]}),I&&(0,n.jsxs)("div",{className:"".concat(j," ").concat(ew?(0,x.QP)(L,es):(0,x.QP)(C,ec)),children:[(0,n.jsx)(i.UnstyledButton,{"aria-label":"Language Icon",className:(0,d.B)({variant:"tertiary",color:"blue",isIconOnly:!0,className:"".concat(S," ").concat(ew?(0,x.QP)(N,ed):(0,x.QP)(E,eu))}),onClick:()=>void(ey(e=>!e),eb(!1),eL(!1)),children:(0,n.jsx)(u.H,{"data-test-id":"lll",fillColor:ew?(0,x.QP)(R,ex):(0,x.QP)(P,ev)})}),ew&&T(eS,ei,ep)]}),eA(),(null==b||null==(t=b.generativeAI)?void 0:t.displayAISearch)==="true"&&(()=>{let e="".concat(B," ").concat(ej?"max-h-[400px]":"pointer-events-none max-h-0");return(0,n.jsx)("div",{className:ea?(0,x.QP)(e,ea):e,children:(0,n.jsx)("div",{className:"min-h-[300px]",children:(0,n.jsx)(p.A,{headerContent:b,placeholder:"Search"})})})})()]})}},75592:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var n=l(31162);let r=(0,n.createServerReference)("70e2a77660ad488c02983602c9827620387b2b5246",n.callServer,void 0,n.findSourceMapURL,"redirectToFMA")},77047:(e,t,l)=>{"use strict";l.d(t,{s:()=>o});var n=l(71066),r=l(69538);let o=(e,t)=>{try{if(!e)throw Error("URL is undefined");let l=e.trim();if(!(e=>e.startsWith("/")||e.startsWith("http://")||e.startsWith("https://"))(l))return n.A.warn("Invalid URL format, returning the original URL:",l),l;let o=(e=>{let t=e||r.env.AEM_PORT_URL;if(!t)throw Error("AEM host URL is not defined");return t})(t);return new URL(l,o).toString()}catch(t){return n.A.error("Error while replacing the URL",t),(null==e?void 0:e.trim())||""}}},79277:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var n=l(94799),r=l(37945),o=l(77047),a=l(71066);let i=e=>t=>{let l,{href:i,aemHostUrl:s,...c}=t;if(s&&""!==s)l=s;else if("function"==typeof r.useSharedConfig){var d;l=null==(d=(0,r.useSharedConfig)())?void 0:d.aemPortUrl}else l="";if(null===i||"string"!=typeof i)return a.A.error("AEM Link HOC: Invalid or missing href",{href:i}),(0,n.jsx)(e,{...c,href:i||""});let u=(0,o.s)(i,l);return(0,n.jsx)(e,{...c,href:u})}},83307:()=>{},85079:(e,t,l)=>{"use strict";l.d(t,{H:()=>r});var n=l(94799);let r=e=>{let{viewBoxHeight:t="16",viewBoxWidth:l="16",width:r="16",height:o="16",fillColor:a="fill-[#00095B]"}=e;return(0,n.jsx)("svg",{"data-testid":"language-globe-icon",fill:"none",height:o,id:"language-globe-icon",viewBox:"0 0 ".concat(l," ").concat(t),width:r,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:a,clipRule:"evenodd",d:"M10.1135 14.5636C11.3574 12.7631 12.0311 10.6816 12.1349 8.57135H14.9625C14.7264 11.4119 12.7558 13.7652 10.1135 14.5636ZM1.30659 8.57135H4.13547C4.23804 10.6816 4.91178 12.7631 6.15577 14.5636C3.51459 13.7652 1.54387 11.4119 1.30659 8.57135ZM6.15577 1.43643C4.91178 3.23689 4.23804 5.31841 4.13547 7.42865H1.30659C1.54387 4.58808 3.51459 2.23475 6.15577 1.43643ZM8.70448 7.42865V1.46061C10.1169 3.19884 10.8782 5.29789 10.9946 7.42865H8.70448ZM8.70448 8.57135H10.9946C10.8782 10.7021 10.1169 12.8012 8.70448 14.5394V8.57135ZM7.56188 8.57135V14.5394C6.14916 12.8012 5.38781 10.7021 5.27149 8.57135H7.56188ZM7.56188 7.42865H5.27149C5.38781 5.29789 6.14916 3.19884 7.56188 1.46061V7.42865ZM14.9625 7.42865H12.1349C12.0311 5.31841 11.3574 3.23689 10.1125 1.43643C12.7558 2.23475 14.7264 4.58808 14.9625 7.42865ZM8.13318 0C3.71621 0 0.134612 3.58159 0.134612 8C0.134612 12.4184 3.71621 16 8.13318 16C12.5502 16 16.1332 12.4184 16.1332 8C16.1332 3.58159 12.5502 0 8.13318 0Z",fillRule:"evenodd"})})}},89370:(e,t,l)=>{"use strict";l.d(t,{A:()=>P});var n=l(94799),r=l(59140),o=l(44729),a=l(42890),i=l(71066),s=l(34023),c=l(31162);let d=(0,c.createServerReference)("7fb0bbeb2c75347981fa9c74b6a0dae3272f65aefd",c.callServer,void 0,c.findSourceMapURL,"fetchVehicleMenuData");var u=l(37945),m=l(46041),h=l(77047),f=l(98476),v=l(46434),x=l(10683),p=l(22319),g=l(99007),b=l(30577);let w=e=>{let{width:t="24",height:l="24",className:r="",strokeWidth:o=2,viewBox:a="0 0 ".concat(t," ").concat(l),strokeLineCap:i="round",strokeLinejoin:s="round",fillColor:c="currentColor",role:d}=e;return(0,n.jsx)("svg",{className:"size-6 ".concat(r),fill:"none",height:l,...d&&{role:d}
1,stroke:c||"currentColor",strokeWidth:o,viewBox:a,width:t,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M15.75 19.5 8.25 12l7.5-7.5",strokeLinecap:i,strokeLinejoin:s})})},y=()=>(0,n.jsx)("svg",{className:"size-6","data-testid":"arrow-right-icon",fill:"none",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"m8.25 4.5 7.5 7.5-7.5 7.5",strokeLinecap:"round",strokeLinejoin:"round"})});var j=l(41463),L=l.n(j);let C={blurbIconWrapper:"flex items-center justify-center gap-2 mb-[16px]",blurbLabelStyle:"text-ford-fill-strongest text-ford-size-12px",blurbIconImageStyle:"object-contain"};var S=l(69538);let N=e=>{let{blurbIconUrl:t,blurbLabel:l}=e,{blurbIconImageStyle:r,blurbIconWrapper:o,blurbLabelStyle:a}=C;return(0,n.jsxs)("div",{className:o,children:[t&&(0,n.jsx)(f.ElektronImage,{alt:l||"nameplate blurb image",className:r,dataTestid:"blurb-icon-image",fallbackUrl:m.RUf,height:16,prioritizeImage:!1,src:"".concat(S.env.AEM_PORT_URL||m.Pkm).concat(t),width:16}),l&&(0,n.jsx)(b.m,{className:a,children:l})]})};var E=l(79277);let k=e=>{let{categories:t,selectedCategory:l,onCategoryClick:r}=e;return(0,n.jsx)(p.y,{className:"m-px w-full p-3 lg:m-[15px] lg:w-[30%]","data-testid":"vehicle-menu-category",spacing:"none",children:null==t?void 0:t.map((e,t)=>(0,n.jsxs)(p.y.Item,{className:"".concat(o.EGq.vehicle_cursor," text-base font-normal ").concat(e.category===l?o.EGq.vehicle_category_cursor:""),onClick:()=>e.category&&r(e.category),children:[e.category,(0,n.jsx)(y,{})]},"".concat(e.category,"-").concat(t)))})},A=(0,E.A)(L()),I=e=>{let{nameplates:t,aemPortUrl:l}=e;return(0,n.jsx)("div",{className:"grid grid-cols-1 items-stretch gap-6 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:null==t?void 0:t.map((e,t)=>(0,n.jsxs)("div",{className:"mx-auto rounded-lg p-4 transition-shadow duration-300 hover:shadow-lg",children:[(null==e?void 0:e.path)&&(0,n.jsxs)(A,{aemHostUrl:l,className:"grid flex-1 grid-rows-[24px_135px_auto] items-start justify-items-center",href:null==e?void 0:e.path,prefetch:!1,children:[e.blurbIcon||e.blurbMessage?(0,n.jsx)(N,{blurbIconUrl:e.blurbIcon,blurbLabel:e.blurbMessage}):(0,n.jsx)("div",{"aria-hidden":"true",className:"h-6"}),(0,n.jsx)(f.ElektronImage,{alt:e.imgAltText||"nameplate image",className:"mx-auto mb-2 object-contain",dataTestid:"",fallbackUrl:m.RUf,height:115,prioritizeImage:!1,src:e.image,width:255}),(0,n.jsxs)("div",{className:"mt-2 flex items-center justify-center",children:[(0,n.jsx)(b.m,{className:"text-base font-black",children:e.name}),(0,n.jsx)(w,{className:"h-5 rotate-180 pr-0.5",strokeWidth:3,width:12})]})]}),e.additionalLabel&&e.additionalCTA&&(0,n.jsx)(A,{aemHostUrl:l,className:"text-ford-blue",href:e.additionalCTA,prefetch:!1,children:(0,n.jsx)(b.m,{className:"item-center text-ford-motion-blue mb-1 flex justify-center text-sm",children:e.additionalLabel})})]},"nameplate-".concat(t)))})};function P(e){var t;let{categoryBanner:l,locale:c,aemPortUrl:m,vehicleIndex:f,preferCacheData:p=!1}=e,y=(0,u.useSharedConfig)(),{allVehicleData:j,selectedCategory:L,setSelectedCategory:C}=function(e){let{locale:t,vehicleIndex:l,preferCacheData:n=!1,vehicleUrl:r}=e,[c,u]=(0,s.useState)(null),[m,h]=(0,s.useState)(""),f=(0,s.useRef)(!1),v=(0,s.useRef)(t);return(0,s.useEffect)(()=>{l&&(v.current!==t&&(v.current=t,f.current=!1),f.current||(f.current=!0,(async()=>{try{var e,l;let i=null;if(n){let l="".concat(o.ruK).concat(encodeURIComponent(t)),n=await a.Ay.get(l);i=null!=(e=null==n?void 0:n.data)?e:null}else i=await d(t,r);Array.isArray(i)?(u(i),h((null==(l=i[0])?void 0:l.category)||"")):(u([]),h(""))}catch(e){i.A.error(e),u([]),h("")}})()))},[l,t,n]),{allVehicleData:c,selectedCategory:m,setSelectedCategory:h}}({locale:c,vehicleIndex:f,preferCacheData:p,vehicleUrl:null==y||null==(t=y.header)?void 0:t.vehicleUrl}),[S,N]=(0,s.useState)(!1),{isMobile:E}=(0,r.X)();(0,s.useEffect)(()=>{f||N(!1)},[f]);let A=(0,s.useMemo)(()=>"banner-".concat(L),[L]),P=(0,s.useMemo)(()=>j?j.find(e=>e.category===L):void 0,[j,L]),R=(0,s.useMemo)(()=>{let e=l&&l.find(e=>{let{vehiclecategories:t}=e;return t.toLowerCase()===L.toLowerCase()});return e&&((e,t)=>{let l=new DOMParser().parseFromString(e,"text/html");((e,t)=>
1{for(let l of e.querySelectorAll("a")){let e=l.getAttribute("href");if(e){let n=(0,h.s)(e,t);n&&l.setAttribute("href",n)}l.classList.add("text-ford-motion-blue","hover:underline","normal-text","text-sm");let n=!!l.closest(".header-nav-multiple-cta-links-container"),r=/(^|\s)m[trxy]?-[0-9]/.test(l.className),o=l.classList.contains("no-mt");n||r||o?(n||o)&&(l.className=l.className.split(/\s+/).filter(e=>!(e.startsWith("mt-")&&"mt-0"!==e)).join(" ")):l.classList.add("mt-2")}})(l,t);for(let e of l.querySelectorAll("*"))e.removeAttribute("style");let n=(e=>{let t,l,n=e.querySelector('[data-banner-dynamic="true"]'),r=e.querySelector(".cmp-richtext");if(!n&&!r)return!1;let o=(t=n,l=r,t&&l&&t!==l&&t.contains(l)?l:null!=t?t:l);if(!o)return!1;o.classList.add("ford-richtext-container","md:mt-2.5");let a=o.querySelector(".header-nav-multiple-cta-container.onlydesktop"),i=o.querySelector(".header-nav-multiple-cta-container.onlymobile");return(e=>{if(!e)return;e.classList.add("hidden","md:flex","md:flex-row","md:items-center","md:justify-between","md:w-full");let t=e.querySelector(".header-nav-text-heading");t&&t.classList.add("text-left","bold-text","font-bold","text-base","flex-shrink-0");let l=e.querySelector(".header-nav-multiple-cta-links-container");l&&l.classList.add("flex","items-center","justify-end","ml-auto")})(a),(e=>{if(!e)return;e.classList.add("flex-col","items-center","justify-center","md:hidden");let t=e.querySelector(".header-nav-text-heading");t&&t.classList.add("text-center","bold-text","font-bold","text-base");let l=e.querySelector(".header-nav-multiple-cta-links-container");l&&l.classList.add("flex","items-center","justify-center","space-x-2","xs:mt-2.5")})(i),((e,t,l)=>{if(t||l)return;e.querySelectorAll(":scope > .header-nav-text-heading").forEach(e=>e.classList.add("text-left","bold-text","font-bold","text-base"));let n=e.querySelector(":scope > .header-nav-multiple-cta-links-container");n&&n.classList.add("flex","items-center","justify-start")})(o,!!a,!!i),o.querySelectorAll(".vertical-line").forEach(e=>e.classList.add("border-l","border-gray-300","h-4","mx-2")),!0})(l);return{html:l.body.innerHTML,hasCmpRichtext:n}})(e.categoriesbanner,m)},[l,L,m]),B=()=>(0,n.jsx)("div",{className:"flex","data-testid":"vehicle-menu-banner",children:R&&(0,n.jsx)("div",{className:"bold-text bg-ford-white shadow-ford-vehicle-banner-shadow mb-[30px] h-24 w-full px-10 py-5 text-base md:rounded-lg ".concat("string"==typeof R?"text-center":(null==R?void 0:R.hasCmpRichtext)?"ford-richtext-banner":"text-center"," "),children:(0,n.jsx)(v.N,{html:"string"==typeof R?R:null==R?void 0:R.html},A)})});return f&&j&&(null==j?void 0:j.length)!==0?(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row","data-testid":"vehicle-menu",children:[(0,n.jsx)(k,{categories:j||[],selectedCategory:L,onCategoryClick:e=>{C(e),E&&N(!0)}}),E&&S?(0,n.jsxs)("div",{className:"fixed inset-0 left-0 top-0 z-[200] h-full w-full translate-y-full overflow-y-auto bg-white transition-transform duration-200 ease-in","data-testid":"vehicle-menu-drawer",style:{transform:"translateX(0)",transition:"transform 0.3s ease-in-out"},children:[(0,n.jsxs)("div",{className:"flex items-center p-4",children:[(0,n.jsx)(x.UnstyledButton,{"aria-label":"back",className:(0,g.B)({color:"white",className:"text-ford-blue p-0"}),onPress:()=>N(!1),children:(0,n.jsx)(w,{className:"text-ford-motion-blue"})}),(0,n.jsx)(b.m,{as:"h2",className:"text-ford-motion-blue flex-1 text-center text-base",children:L})]}),(0,n.jsxs)("div",{className:"xs:p-0 p-4",children:[B(),(0,n.jsx)(I,{aemPortUrl:m,nameplates:null==P?void 0:P.nameplates})]})]}):(0,n.jsxs)("div",{className:"xs:hidden m-px w-full p-3 lg:m-[15px] lg:block lg:w-[75%]",children:[B(),(0,n.jsx)(I,{aemPortUrl:m,nameplates:null==P?void 0:P.nameplates})]})]}):null}},93752:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>A});var n=l(94799),r=l(41463),o=l.n(r),a=l(37945),i=l(44729),s=l(34023),c=l(46041),d=l(46434),u=l(10683),m=l(99007);let h=e=>{let{width:t,height:l,fillColor:r="#F0F0F0",className:o=""}=e;return(0,n.jsx)("svg",{"data-testid":"close-icon",fill:"none",height:l,viewBox:"0 0 ".concat(t," ").concat(l),width:t,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:o,d:"M6.84 6L12 11.16L11.16 12L6 6.84L0.84 12L0 11.16L5.16 6L0 0.84L0.84 0L6 5.16L11.16 0L12 0.84L6.84 6Z",fill:r})})};var f=l(96589);
1let{footerPopupContainer:v,footerPopupContent:x,footerPopupCloseBtn:p,popupHeader:g,popupTitle:b,popupBtnContainer:w,popupContinueBtn:y,popupCancelBtn:j}={footerPopupContainer:"fixed inset-0 z-[9999] flex items-center justify-center bg-ford-black/50 px-4",footerPopupContent:"bg-ford-white rounded-lg shadow-lg p-6 sm:p-8 md:p-12 w-full sm:w-3/4 md:w-2/3 lg:w-1/2 xl:w-1/3 max-w-md sm:max-w-lg md:max-w-xl relative",footerPopupSection:"flex flex-col md:flex-row md:gap-4 space-y-2",footerPopupCloseBtn:"absolute top-2 right-2 sm:top-4 sm:right-4 text-gray-500 hover:text-gray-700 focus:outline-none p-1",popupHeader:"mt-2 sm:mt-4 mb-4 sm:mb-6 text-center",popupTitle:"text-gray-800 text-sm sm:text-base leading-relaxed",popupBtnContainer:"flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4 justify-center",popupContinueBtn:"rounded-full px-4 sm:px-6 py-2 w-full sm:w-auto",popupCancelBtn:"rounded-full border border-ford-motion-blue bg-ford-white text-ford-motion-blue px-4 sm:px-6 py-2 w-full sm:w-auto"},{TWENTY_FOUR:L}=c.hS5,C=e=>{let{isOpened:t,setIsOpened:l,title:r,primaryButtonText:o,secondaryButtonText:a,onPrimaryClick:i,onSecondaryClick:s,customStyles:c}=e,{customFooterPopupContent:C="",customFooterPopupCloseIcon:S=""}=c||{};return t?(0,n.jsx)("div",{className:v,children:(0,n.jsxs)("div",{className:(0,f.QP)(x,C),"data-testid":"footer-popup-content",children:[(0,n.jsx)(u.UnstyledButton,{"aria-label":"Close popup",className:(0,m.B)({variant:"tertiary",className:p}),onClick:()=>{l(!1)},children:(0,n.jsx)(h,{className:(0,f.QP)("fill-ford-blue",S),height:L,width:L})}),(0,n.jsx)("div",{className:g,children:r&&(0,n.jsx)(d.N,{html:[{key:"footer-external-link",value:r,className:b}]})}),(0,n.jsxs)("div",{className:w,children:[(0,n.jsx)(u.UnstyledButton,{className:(0,m.B)({variant:"primary",className:y}),onClick:i,children:o}),(0,n.jsx)(u.UnstyledButton,{className:(0,m.B)({variant:"secondary",className:j}),onClick:s,children:a})]})]})}):null},{CANCEL:S}=i.HMu,{BLANK:N}=i.DqB,E=e=>{let{children:t,popupTitle:l,continueButtonText:r=i.mlO,cancelButtonText:o=S,showPopup:c=!1,reverseButtonsRole:d=!1,urlTarget:u=N,customPopupStyles:m}
1=e,[h,f]=(0,s.useState)(!1),[v,x]=(0,s.useState)(""),{fmaAkamaiDomain:p}=(0,a.useSharedConfig)();if(!p)throw Error("fmaAkamaiDomain is not defined");let g=(0,s.useCallback)(e=>{let t=e.target.closest("a[href]");if(!t)return;let l=t.href;!l.includes(p)||c?(e.preventDefault(),e.stopPropagation(),x(l),f(!0)):(f(!1),window.open(l,u))},[u,c,p]),b=(0,s.useCallback)(()=>{f(!1),v&&window.open(v,u)},[v]),w=(0,s.useCallback)(()=>{f(!1),x("")},[v]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{cursor:"default"},onClick:g,children:t}),(0,n.jsx)(C,{customStyles:m,isOpened:h,primaryButtonText:r,secondaryButtonText:o,setIsOpened:f,title:l,onPrimaryClick:d?w:b,onSecondaryClick:d?b:w})]})},k=(0,l(79277).A)(o()),A=e=>{let{href:t,target:l,className:r,children:o,aemHostUrl:a,popupTitle:i="Please confirm if you want to leave the page and redirect to clicked link",continueButtonText:s,cancelButtonText:c,showPopup:d=!1,reverseButtonsRole:u=!1,ariaLabel:m,customPopupStyles:h}=e;return(0,n.jsx)(E,{cancelButtonText:c,continueButtonText:s,customPopupStyles:h,popupTitle:i,reverseButtonsRole:u,showPopup:d,urlTarget:l,children:(0,n.jsx)(k,{aemHostUrl:a,"aria-label":m,className:r,href:t,prefetch:!1,target:l,onClick:e=>{e.preventDefault()},children:o})})}},96734:(e,t,l)=>{"use strict";l.d(t,{SyndicatedHeaderLogin:()=>v});var n=l(75592),r=l(45564),o=l(28860),a=l(63281),i=l(29039),s=l(46041),c=l(97871),d=l(71066),u=l(67457),m=l(53997),h=l(1608),f=l(34023);let v=e=>{let{headerDomIds:t,application:l,signInRedirectPath:v}=e,x=(0,h.useTranslations)("common"),[p,g]=(0,f.useState)(!1),b=(0,f.useRef)(null);(0,f.useEffect)(()=>{(0,u.w)().then(g)},[]);let{msal:w}=(0,r.h)(),y=(0,a.R)("@nvc/search"),j=w?s.R$b[y]:s.znH[y],L=async()=>(b.current||(b.current=await (0,i.$)()),b.current),C=()=>v?"".concat(window.location.origin).concat(v):window.location.href;(0,f.useLayoutEffect)(()=>{(async()=>{let e=await (0,m.R)("loginStatus"),t=await (0,m.R)("fma_YmFuYW5h"),l=await (0,m.R)("fmaloginStatus")==="logged in";"logged in"!==e||t||l||(0,n.A)(C(),s.IQj.SYNDICATE_HEADER_LOGIN,!0);let r="".concat(j,"?redirectUrl=").concat(encodeURIComponent(window.location.href));"logged out"===e&&t&&l&&r&&(window.location.href=r)})()},[]);let S=()=>{(0,n.A)(C(),s.IQj.SYNDICATE_HEADER_LOGIN)};async function N(){let{userGuid:e}=await L();"FPS"in window&&e&&window.FPS.setExternalRef("CSDN",e,{error(){d.A.debug("Unable to set setExternalRef")},success(){d.A.debug("Successfully set setExternalRef")}})}let E=()=>{j&&(window.location.href="".concat(j,"?redirectUrl=").concat(encodeURIComponent(window.location.href)))},k=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),S())};return(0,f.useEffect)(()=>{let{SIGNIN_DESKTOP:e,CREATE_DESKTOP:l,FIRST_NAME_DESKTOP:n,FPR_DESKTOP:r,RESERVATION_DESKTOP:o,SIGNOUT_DESKTOP:a,VEHICLE_DESKTOP:i,CHECK_ORDER_STATUS_DESKTOP:c,FPR_DUPLICATE_DESKTOP:d}=t,u=document.getElementById(e),m=document.getElementById(l),h=document.getElementById(n),f=document.getElementById(i),v=document.getElementById(o),g=document.getElementById(r),b=document.getElementById(a),w=document.getElementById(c),y=document.getElementById(d),{SIGNIN_MOBILE:j,CREATE_MOBILE:C,FIRST_NAME_MOBILE:A,FPR_MOBILE:I,RESERVATION_MOBILE:P,SIGNOUT_MOBILE:R,VEHICLE_MOBILE:B,CHECK_ORDER_STATUS_MOBILE:T,FPR_DUPLICATE_MOBILE:_}=t,U=document.getElementById(j),D=document.getElementById(C),M=document.getElementById(A),H=document.getElementById(B),O=document.getElementById(P),Q=document.getElementById(I),F=document.getElementById(R),V=document.getElementById(T),W=document.getElementById(_),q=document.querySelector(".fgx-search-form");async function z(){let{firstName:e}=await L(),t=t=>{let l=null==t?void 0:t.querySelector("span");l&&e&&(l.textContent=x("account",{firstName:e}))};t(h),t(M),null==u||u.classList.add("hidden"),null==m||m.classList.add("hidden"),null==w||w.classList.add("hidden"),null==y||y.classList.add("hidden"),null==U||U.classList.add("hidden"),null==D||D.classList.add("hidden"),null==V||V.classList.add("hidden"),null==W||W.classList.add("hidden"),null==b||b.classList.add("cursor-pointer"),null==F||F.classList.add("cursor-pointer"),null==b||b.addEventListener("click",E),null==F||F.addEventListener("click",E),window.fma={isAuthenticated:!0}
1,[g,b,h,v,f].forEach(e=>{(null==e?void 0:e.classList.contains("hidden"))&&(null==e||e.classList.remove("hidden"))}),[Q,F,M,O,H].forEach(e=>{(null==e?void 0:e.classList.contains("hidden"))&&(null==e||e.classList.remove("hidden"))})}if(q&&(q.getAttribute("action")||q.setAttribute("action","//".concat(window.location.hostname,"/search/"))),p)z();else{var G,Z,$,K;[u,m,U,D].forEach(e=>null==e?void 0:e.classList.add("cursor-pointer")),[u,m,U,D].forEach(e=>null==e?void 0:e.addEventListener("click",S)),[u,m,U,D].forEach(e=>{var t;return null==e||null==(t=e.querySelector("a"))?void 0:t.removeAttribute("href")}),null==u||null==(G=u.querySelector("a"))||G.setAttribute("role","button"),null==m||null==(Z=m.querySelector("a"))||Z.setAttribute("role","button"),null==u||null==($=u.querySelector("a"))||$.setAttribute("aria-label","Sign In"),null==m||null==(K=m.querySelector("a"))||K.setAttribute("aria-label","Sign In"),null==u||u.setAttribute("tabindex","0"),null==m||m.setAttribute("tabindex","0"),null==u||u.addEventListener("keydown",k),null==m||m.addEventListener("keydown",k),[g,b,h,v,f].forEach(e=>null==e?void 0:e.classList.add("hidden")),[Q,F,M,O,H].forEach(e=>null==e?void 0:e.classList.add("hidden")),window.fma={isAuthenticated:!1}}return window.document.addEventListener(s.VRD.FPS_LOADED,N),()=>{[b,F].forEach(e=>null==e?void 0:e.removeEventListener("click",E)),[u,m,U,D].forEach(e=>null==e?void 0:e.removeEventListener("click",S)),null==u||u.removeEventListener("keydown",k),null==m||m.removeEventListener("keydown",k),window.document.removeEventListener(s.VRD.FPS_LOADED,N)}},[N]),(0,o.T)({authenticated:p,logoutBaseUrl:j}),(0,c.c)("Accessories Login",{application:l}),!0}},97365:()=>{},97871:(e,t,l)=>{"use strict";l.d(t,{c:()=>h});var n=l(71066),r=l(34023),o=l(42890),a=l(53997),i=l(67457),s=l(46041);let c=e=>({message:e}),d=async e=>{let{application:t,action:l,sfId:n}=e,r=await (0,a.R)(s.$Ku.SALES_FORCE_SYNCED);if(!await (0,i.w)())return c("User is not logged in");if(r)return c("Salesforce CRM is already synced with userGuid");try{let e="/api/".concat(t,"/v1/salesforce-sync?action=").concat(encodeURIComponent(l),"&sfId=").concat(encodeURIComponent(n));return await o.Ay.get(e)}catch(e){return{message:"Failed to sync user with Salesforce"}}},{isSFContainerAvailable:u,getAnonymousId:m}={isSFContainerAvailable:()=>!!window.SalesforceInteractions,getAnonymousId:()=>{var e;return null==(e=window.SalesforceInteractions)?void 0:e.getAnonymousId()}},h=(e,t)=>{let{disabled:l,application:o}=t,a=async()=>{try{let t=m();if(void 0===t)return;await d({action:e,application:o,sfId:t})}catch(e){n.A.warn("Failed to sync Salesforce user:",e)}},i=()=>{window.document.removeEventListener(s.VRD.SALESFORCE_INTERACTION_INIT,a)};(0,r.useEffect)(()=>{if(!l)return u()?a():window.document.addEventListener(s.VRD.SALESFORCE_INTERACTION_INIT,a),i},[l,e,o])}}},e=>{e.O(0,[510,6176,9353,3958,5391,7611,7731,2704,9166,3340,7964,7408,89,7358],()=>e(e.s=46772)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.