1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,869721,e=>{e.v({menu:"Menu-module-scss-module__EOllTa__menu",menuOpening:"Menu-module-scss-module__EOllTa__menuOpening",menuOutlineOnFocus:"Menu-module-scss-module__EOllTa__menuOutlineOnFocus"})},661602,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),i=e.i(174080);let o=i.unstable_batchedUpdates,a=(e,t)=>!0===e||!!(e&&e[t]),l=(e,t)=>"function"==typeof e?e(t):e,s=(e,t)=>(t&&Object.keys(t).forEach(n=>{let r=e[n],i=t[n];"function"==typeof i&&r?e[n]=(...e)=>{i(...e),r(...e)}:e[n]=i}),e),u=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;let{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function c(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return -1}let d=({block:e,element:t,modifiers:n,className:i})=>(0,r.useMemo)(()=>{let r=t?`${e}__${t}`:e,o=r;n&&Object.keys(n).forEach(e=>{let t=n[e];t&&(o+=` ${r}--${!0===t?e:`${e}-${t}`}`)});let a="function"==typeof i?i(n):i;return"string"==typeof a&&(a=a.trim())&&(o+=` ${a}`),o},[e,t,n,i]),f="szh-menu",h=(0,r.createContext)(),m=(0,r.createContext)({}),g=(0,r.createContext)({}),p=(0,r.createContext)({}),v=(0,r.createContext)({}),y=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),b=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),S=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),E=Object.freeze({FIRST:"first",LAST:"last"}),x="absolute",T={preventScroll:!0},_=({className:e,containerRef:n,containerProps:i,children:o,isOpen:u,theming:c,transition:f,onClose:h})=>{let m=a(f,"item");return(0,t.jsx)("div",{...s({onKeyDown:({key:e})=>{e===y.ESC&&l(h,{key:e,reason:S.CANCEL})},onBlur:e=>{u&&!e.currentTarget.contains(e.relatedTarget)&&l(h,{reason:S.BLUR})}},i),className:d({block:"szh-menu-container",modifiers:(0,r.useMemo)(()=>({theme:c,itemTransition:m}),[c,m]),className:e}),style:{position:"absolute",...i?.style},ref:n,children:o})},C=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(n,r,i)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):i?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},w=(e,t)=>Math.round(e)===t?e:t,R="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function M(e,t){"function"==typeof e?e(t):e.current=t}let O=({ariaLabel:e,menuClassName:n,menuStyle:p,arrow:O,arrowProps:A={},anchorPoint:k,anchorRef:I,containerRef:N,containerProps:L,externalRef:P,parentScrollingRef:F,align:j="start",direction:H="bottom",position:D="auto",overflow:B="visible",setDownOverflow:z,repositionFlag:U,captureFocus:$=!0,state:K,endTransition:V,isDisabled:W,menuItemFocus:Y,gap:X=0,shift:G=0,children:J,onClose:q,focusProps:Q,...Z})=>{let ee,et,[en,er]=(0,r.useState)({x:-9999,y:-9999}),[ei,eo]=(0,r.useState)({}),[ea,el]=(0,r.useState)(),[es,eu]=(0,r.useState)(H),[ec]=(0,r.useState)(C),[ed,ef]=(0,r.useReducer)(e=>e+1,1),{transition:eh,boundingBoxRef:em,boundingBoxPadding:eg,rootMenuRef:ep,rootAnchorRef:ev,scrollNodesRef:ey,reposition:eb,viewScroll:eS,submenuCloseDelay:eE}=(0,r.useContext)(v),{submenuCtx:ex,reposSubmenu:eT=U}=(0,r.useContext)(g),e_=(0,r.useRef)(),eC=(0,r.useRef)(),ew=(0,r.useRef)(!1),{hoverItem:eR,dispatch:eM,updateItems:eO}=(e=>{let[t,n]=(0,r.useState)(),i=(0,r.useRef)({items:[],hoverIndex:-1,sorted:!1}).current,o=(0,r.useCallback)((t,r)=>{let{items:o}=i;if(t)if(r)o.push(t);else{let r=o.indexOf(t);r>-1&&(o.splice(r,1),t.contains(document.activeElement)&&(e.current.focus(T),n()))}else i.items=[];i.hoverIndex=-1,i.sorted=!1},[i,e]);return{hoverItem:t,dispatch:(0,r.useCallback)((t,r,o)=>{let{items:a,hoverIndex:l}=i,s=()=>{if(i.sorted)return;let t=e.current.querySelectorAll(".szh-menu__item");a.sort((e,n)=>c(t,e)-c(t,n)),i.sorted=!0},u=-1,d;switch(t){case b.RESET:break;case b.SET:d=r;break;case b.UNSET:d=e=>e===r?void 0:e;break;case b.FIRST:s(),d=a[u=0];break;case b.LAST:s(),u=a.length-1,d=a[u];break;case b.SET_INDEX:s(),d=a[u=o];break;case b.INCREASE:s(),(u=l)<0&&(u=a.indexOf(r)),++u>=a.length&&(u=0),d=a[u];break;case b.DECREASE:s(),(u=l)<0&&(u=a.indexOf(r)),--u<0&&(u=a.length-1),d=a[u]}d||(u=-1),n(d),i.hoverIndex=u},[e,i]),updateItems:o}})(e_),eA=!!K&&"o"===K[0],ek=a(eh,"open"),eI=a(eh,"close"),eN=ey.current,eL=(0,r.useCallback)(e=>{var t,n;let r,i,o,a,l,s,c,d,f,h=I?I.current?.getBoundingClientRect():k?{left:k.x,right:k.x,top:k.y,bottom:k.y,width:0,height:0}:null;if(!h)return;eN.menu||(eN.menu=(em?em.current:u(ep.current))||window);let m=(t=eN.menu,(r=(n=e_.current).getBoundingClientRect()).width=w(r.width,n.offsetWidth),r.height=w(r.height,n.offsetHeight),i=r,o=N.current.getBoundingClientRect(),a=t===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:t.getBoundingClientRect(),l=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};let t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}})(eg),s=e=>e+o.left-a.left-l.left,c=e=>e+o.left+i.width-a.right+l.right,d=e=>e+o.top-a.top-l.top,f=e=>e+o.top+i.height-a.bottom+l.bottom,{menuRect:i,containerRect:o,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:d,getBottomOverflow:f,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{let n=c(e);n>0&&(e-=n,(t=s(e))<0&&(e-=t))}return e},confineVertically:e=>{let t=d(e);if(t<0)e-=t;else{let n=f(e);n>0&&(e-=n,(t=d(e))<0&&(e-=t))}return e}}),{arrowX:g,arrowY:p,x:v,y,computedDirection:b}=(({arrow:e,align:t,direction:n,gap:r,shift:i,position:o,anchorRect:a,arrowRef:l,positionHelpers:s})=>
1{let u,c,{menuRect:d,containerRect:f}=s,h="left"===n||"right"===n,m=h?r:i,g=h?i:r;if(e){let e=l.current;h?m+=e.offsetWidth:g+=e.offsetHeight}let p=a.left-f.left-d.width-m,v=a.right-f.left+m,y=a.top-f.top-d.height-g,b=a.bottom-f.top+g;"end"===t?(u=a.right-f.left-d.width,c=a.bottom-f.top-d.height):"center"===t?(u=a.left-f.left-(d.width-a.width)/2,c=a.top-f.top-(d.height-a.height)/2):(u=a.left-f.left,c=a.top-f.top),u+=m,c+=g;let S={...s,anchorRect:a,placeLeftX:p,placeRightX:v,placeLeftorRightY:c,placeTopY:y,placeBottomY:b,placeToporBottomX:u,arrowRef:l,arrow:e,direction:n,position:o};switch(n){case"left":case"right":return(({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:i,placeRightX:o,getLeftOverflow:a,getRightOverflow:l,confineHorizontally:s,confineVertically:u,arrowRef:c,arrow:d,direction:f,position:h})=>{let m,g,p,v=f,y=r;return"initial"!==h&&(y=u(y),"anchor"===h&&(y=Math.max(y=Math.min(y,e.bottom-t.top),e.top-t.top-n.height))),"left"===v?(m=i,"initial"!==h&&(g=a(m))<0&&((p=l(o))<=0||-g>p)&&(m=o,v="right")):(m=o,"initial"!==h&&(p=l(m))>0&&((g=a(i))>=0||-g<p)&&(m=i,v="left")),"auto"===h&&(m=s(m)),{arrowY:d?(({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:i})=>{let o=n.top-r.top-t+n.height/2,a=1.25*e.current.offsetHeight;return Math.min(o=Math.max(a,o),i.height-a)})({menuY:y,arrowRef:c,anchorRect:e,containerRect:t,menuRect:n}):void 0,x:m,y,computedDirection:v}})(S);default:return(({anchorRect:e,containerRect:t,menuRect:n,placeToporBottomX:r,placeTopY:i,placeBottomY:o,getTopOverflow:a,getBottomOverflow:l,confineHorizontally:s,confineVertically:u,arrowRef:c,arrow:d,direction:f,position:h})=>{let m,g,p,v="top"===f?"top":"bottom",y=r;return"initial"!==h&&(y=s(y),"anchor"===h&&(y=Math.max(y=Math.min(y,e.right-t.left),e.left-t.left-n.width))),"top"===v?(m=i,"initial"!==h&&(g=a(m))<0&&((p=l(o))<=0||-g>p)&&(m=o,v="bottom")):(m=o,"initial"!==h&&(p=l(m))>0&&((g=a(i))>=0||-g<p)&&(m=i,v="top")),"auto"===h&&(m=u(m)),{arrowX:d?(({arrowRef:e,menuX:t,anchorRect:n,containerRect:r,menuRect:i})=>{let o=n.left-r.left-t+n.width/2,a=1.25*e.current.offsetWidth;return Math.min(o=Math.max(a,o),i.width-a)})({menuX:y,arrowRef:c,anchorRect:e,containerRect:t,menuRect:n}):void 0,x:y,y:m,computedDirection:v}})(S)}})({arrow:O,align:j,direction:H,gap:X,shift:G,position:D,anchorRect:h,arrowRef:eC,positionHelpers:m}),{menuRect:S}=m,E=S.height;if(!e&&"visible"!==B){let e,t,{getTopOverflow:n,getBottomOverflow:r}=m,i=r(y);if(i>0)e=E-i,t=i;else{let r=n(y);r<0&&(e=E+r,t=0-r,e>=0&&(y-=r))}e>=0&&el({height:e,overflowAmt:t})}O&&eo({x:g,y:p}),er({x:v,y}),eu(b)},[O,j,eg,H,X,G,D,B,k,I,N,em,ep,eN]);R(()=>{eA&&(eL(),ew.current&&ef()),ew.current=eA},[eA,eL,eT]),R(()=>{ea&&!z&&(e_.current.scrollTop=0)},[ea,z]),R(()=>eO,[eO]),(0,r.useEffect)(()=>{let{menu:e}=eN;if(!eA||!e)return;if(e=e.addEventListener?e:window,!eN.anchors){eN.anchors=[];let t=u(ev&&ev.current);for(;t&&t!==e;)eN.anchors.push(t),t=u(t)}let t=eS;if(eN.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;let n=()=>{"auto"===t?o(()=>eL(!0)):l(q,{reason:S.SCROLL})},r=eN.anchors.concat("initial"!==eS?e:[]);return r.forEach(e=>e.addEventListener("scroll",n)),()=>r.forEach(e=>e.removeEventListener("scroll",n))},[ev,eN,eA,q,eS,eL]);let eP=!!ea&&ea.overflowAmt>0;(0,r.useEffect)(()=>{if(eP||!eA||!F)return;let e=()=>
1o(eL),t=F.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[eA,eP,F,eL]),(0,r.useEffect)(()=>{if(!eA||"function"!=typeof ResizeObserver||"initial"===eb)return;let e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{0>e.indexOf(t)?e.push(t):(0,i.flushSync)(()=>{eL(),ef()})})),n={box:"border-box"};t.observe(e_.current,n);let r=I?.current;return r&&t.observe(r,n),()=>t.disconnect()},[eA,eb,I,eL]),(0,r.useEffect)(()=>{if(!eA){eM(b.RESET),eI||el();return}let{position:e,alwaysUpdate:t}=Y||{},n=()=>{e===E.FIRST?eM(b.FIRST):e===E.LAST?eM(b.LAST):e>=-1&&eM(b.SET_INDEX,void 0,e)};if(t)n();else if($){let e=setTimeout(()=>{let e=e_.current;e&&!e.contains(document.activeElement)&&(e.focus(T),n())},ek?170:100);return()=>clearTimeout(e)}},[eA,ek,eI,$,Y,eM]);let eF=(0,r.useMemo)(()=>({isParentOpen:eA,submenuCtx:ec,dispatch:eM,updateItems:eO}),[eA,ec,eM,eO]);ea&&(z?et=ea.overflowAmt:ee=ea.height);let ej=(0,r.useMemo)(()=>({reposSubmenu:ed,submenuCtx:ec,overflow:B,overflowAmt:et,parentMenuRef:e_,parentDir:es}),[ed,ec,B,et,es]),eH=ee>=0?{maxHeight:ee,overflow:B}:void 0,eD=(0,r.useMemo)(()=>({state:K,align:j,dir:es}),[K,j,es]),eB=d({block:f,element:"arrow",modifiers:(0,r.useMemo)(()=>({dir:es}),[es]),className:A.className}),ez=(0,t.jsxs)("ul",{role:"menu","aria-label":e,...{"aria-disabled":W||void 0,tabIndex:-1},...s({onPointerEnter:ex?.off,onPointerMove:e=>{e.stopPropagation(),ec.on(eE,()=>{eM(b.RESET),e_.current.focus(T)})},onPointerLeave:e=>{e.target===e.currentTarget&&ec.off()},onKeyDown:e=>{switch(e.key){case y.HOME:eM(b.FIRST);break;case y.END:eM(b.LAST);break;case y.UP:eM(b.DECREASE,eR);break;case y.DOWN:eM(b.INCREASE,eR);break;case y.SPACE:e.target&&-1!==e.target.className.indexOf(f)&&e.preventDefault();return;default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===K&&el(),l(V)}},Z),ref:(0,r.useMemo)(()=>P?e_?e=>{M(P,e),M(e_,e)}:P:e_,[P,e_]),className:d({block:f,modifiers:eD,className:n}),style:{...p,...eH,margin:0,display:"closed"===K?"none":void 0,position:x,left:en.x,top:en.y},children:[O&&(0,t.jsx)("li",{"aria-hidden":!0,...A,className:eB,style:{display:"block",position:x,left:ei.x,top:ei.y,...A.style},ref:eC}),(0,t.jsx)(g.Provider,{value:ej,children:(0,t.jsx)(m.Provider,{value:eF,children:(0,t.jsx)(h.Provider,{value:eR,children:l(J,eD)})})})]});return L?(0,t.jsx)(_,{...L,isOpen:eA,children:ez}):ez},A=(0,r.forwardRef)(function({"aria-label":e,className:n,containerProps:o,initialMounted:a,unmountOnClose:s,transition:u,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:f,reposition:h="auto",submenuOpenDelay:m=300,submenuCloseDelay:g=150,viewScroll:b="initial",portal:E,theming:x,onItemClick:T,..._},C){let w=(0,r.useRef)(null),R=(0,r.useRef)({}),{anchorRef:M,state:A,onClose:k}=_,I=(0,r.useMemo)(()=>({initialMounted:a,unmountOnClose:s,transition:u,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:f,rootMenuRef:w,rootAnchorRef:M,scrollNodesRef:R,reposition:h,viewScroll:b,submenuOpenDelay:m,submenuCloseDelay:g}),[a,s,u,c,M,d,f,h,b,m,g]),N=(0,r.useMemo)(()=>({handleClick(e,t){e.stopPropagation||l(T,e);let n=e.keepOpen;void 0===n&&(n=t&&e.key===y.SPACE),n||l(k,{value:e.value,key:e.key,reason:S.CLICK})},handleClose(e){l(k,{key:e,reason:S.CLICK})}}),[T,k]);if(!A)return null;let L=(0,t.jsx)(v.Provider,{value:I,children:(0,t.jsx)(p.Provider,{value:N,children:(0,t.jsx)(O,{..._,ariaLabel:e||"Menu",externalRef:C,containerRef:w,containerProps:{className:n,containerRef:w,containerProps:o,theming:x,transition:u,onClose:k}})})});return!0===E&&"u">typeof document?(0,i.createPortal)(L,document.body):E?E.target?(0,i.createPortal)(L,E.target):E.stablePosition?null:L:L});var k=e.i(343794),I=e.i(869721);e.s(["default",0,function(e){let i,o,a,l,s,u,c,d,f,h,m,g,p=(0,n.c)(44),{children:v,anchor:y,open:b,setOpen:S,onClose:E,id:x,className:T,align:_,direction:C,viewScroll:w,unmountOnClose:R,gap:M,arrow:O,portal:N,outlineOnFocus:L,anchorClassName:P,openOnHover:F}=e,j=void 0===_?"start":_,H=void 0===C?"bottom":C,D=void 0===R||R,B=void 0===M?0:M,z=void 0!==O&&O,U=void 0!==N&&N,$=void 0===L||L,K=void 0!==F&&F,V=(0,r.useRef)(null),W=((e,t)=>
1{let[n]=(0,r.useState)({});return{onMouseDown:()=>{n.v=e&&"closed"!==e},onClick:e=>n.v?n.v=!1:t(!0,e)}})(b,S),[Y,X]=(0,r.useState)(null),[G,J]=(0,r.useState)(b?"open":"closed"),q=(0,r.useRef)(null);p[0]!==G||p[1]!==b?(i=()=>(q.current&&(clearTimeout(q.current),q.current=null),b?("closed"===G||"closing"===G)&&(J("opening"),q.current=setTimeout(()=>{J("open"),q.current=null},200)):("open"===G||"opening"===G)&&(J("closing"),q.current=setTimeout(()=>{J("closed"),q.current=null},200)),()=>{q.current&&clearTimeout(q.current)}),p[0]=G,p[1]=b,p[2]=i):i=p[2],p[3]!==b?(o=[b],p[3]=b,p[4]=o):o=p[4],(0,r.useEffect)(i,o),p[5]!==U?(a=()=>{U&&X("u"<typeof document?null:document.getElementById("motive-menu-portal")??document.getElementById("motive-theme-provider")??document.body)},l=[U],p[5]=U,p[6]=a,p[7]=l):(a=p[6],l=p[7]),(0,r.useEffect)(a,l),p[8]!==K||p[9]!==S?(s=()=>{K&&S(!0)},p[8]=K,p[9]=S,p[10]=s):s=p[10];let Q=s;p[11]!==K||p[12]!==S?(u=()=>{K&&S(!1)},p[11]=K,p[12]=S,p[13]=u):u=p[13];let Z=u;p[14]!==y||p[15]!==P||p[16]!==W||p[17]!==Q||p[18]!==Z?(c=(0,t.jsx)("div",{ref:V,...W,className:P,onMouseEnter:Q,onMouseLeave:Z,children:y}),p[14]=y,p[15]=P,p[16]=W,p[17]=Q,p[18]=Z,p[19]=c):c=p[19];let ee="opening"===G;p[20]!==T||p[21]!==$||p[22]!==ee?(d=(0,k.default)(T,I.default.menu,{[I.default.menuOpening]:ee,[I.default.menuOutlineOnFocus]:$}),p[20]=T,p[21]=$,p[22]=ee,p[23]=d):d=p[23];let et=U&&Y?"auto":void 0===w?"initial":w;return p[24]!==U||p[25]!==Y?(f=!!U&&!!Y&&{target:Y},p[24]=U,p[25]=Y,p[26]=f):f=p[26],p[27]===Symbol.for("react.memo_cache_sentinel")?(h={className:I.default.menuArrow},p[27]=h):h=p[27],p[28]!==j||p[29]!==z||p[30]!==v||p[31]!==H||p[32]!==B||p[33]!==x||p[34]!==G||p[35]!==E||p[36]!==d||p[37]!==et||p[38]!==f||p[39]!==D?(m=(0,t.jsx)(A,{menuClassName:d,state:G,onClose:E,id:x,anchorRef:V,align:j,direction:H,gap:B,unmountOnClose:D,viewScroll:et,portal:f,arrow:z,arrowProps:h,children:v}),p[28]=j,p[29]=z,p[30]=v,p[31]=H,p[32]=B,p[33]=x,p[34]=G,p[35]=E,p[36]=d,p[37]=et,p[38]=f,p[39]=D,p[40]=m):m=p[40],p[41]!==c||p[42]!==m?(g=(0,t.jsxs)(t.Fragment,{children:[c,m]}),p[41]=c,p[42]=m,p[43]=g):g=p[43],g}],661602)},477964,e=>{"use strict";var t=e.i(500932),n=e.i(888164),r=e.i(528443),i=e.i(834211);function o(e){return`${e/16}rem`}function a(e){return e.settings.largeText}e.s(["default",0,function(e){let l,s,u,c,d,f,h,m,g,p,v,y,b,S,E,x,T=(0,t.c)(45);T[0]!==e?(l=void 0===e?{}:e,T[0]=e,T[1]=l):l=T[1];let{forceMobile:_}=l,{navSettings:C,dealer:w}=(0,n.useAppStateContext)(),[R]=(0,r.default)(),M=(0,i.useAccessibilityStore)(a),O=void 0!==_&&_||R,A=+!!w?.dark_mode;T[2]!==A||T[3]!==O||T[4]!==C?.info_header_enabled||T[5]!==C?.nav_type?(s=()=>{if(O)if(C?.nav_type==="genesis")return 61;else return 74;switch(C?.nav_type){case"default":return 58;case"glass":case"centered":return 68+A;case"black_glass":return 69;case"group":case"porsche":return 57;case"bmw":default:return 68;case"hyundai":return C?.info_header_enabled?108:64;case"land_rover":return C?.info_header_enabled?80:48;case"jaguar":return 96;case"trade":case"ptg":return 78;case"big_logo_black":case"big_logo_dynamic":return 100;case"genesis":return 124;case"carshop":return 60;case"volvo":return 64}},T[2]=A,T[3]=O,T[4]=C?.info_header_enabled,T[5]=C?.nav_type,T[6]=s):s=T[6];let k=s;T[7]!==O||T[8]!==C?(u=()=>{if(!C?.info_header_enabled)return 0;if(O)if("genesis"===C.nav_type)return 37;else return 0;switch(C.nav_type){case"genesis":case"hyundai":case"land_rover":case"jaguar":default:return 0;case"carshop":return 42;case"ptg":case"volvo":return 32}},T[7]=O,T[8]=C,T[9]=u):u=T[9];let I=u;T[10]!==O||T[11]!==k||T[12]!==C?.info_header_enabled||T[13]!==C?.nav_type?(c=()=>C?.nav_type==="genesis"?k()-55:C?.nav_type==="hyundai"&&C?.info_header_enabled&&!O?k()-44:C?.nav_type==="land_rover"&&C?.info_header_enabled&&!O?k()-32:C?.nav_type==="porsche"?0:k(),T[10]=O,T[11]=k,T[12]=C?.info_header_enabled,T[13]=C?.nav_type,T[14]=c):c=T[14];let N=c;T[15]!==O?(d=()=>125*!O,T[15]=O,T[16]=d):d=T[16];let L=d;if(T[17]!==L||T[18]!==N||T[19]!==I||T[20]!==M||T[21]!==k){let e=k(),t=I(),n=N(),r=e*M,i=t*M,a=n*M,l=L();b=r,S=o(e),E=i,f=o(t),h=r+i;let s=e+t;T[32]!==s?(m=o(s),T[32]=s,T[33]=m):m=T[33],g=a,p=o(n),v=l,y=o(l),T[17]=L,T[18]=N,T[19]=I,T[20]=M,T[21]=k,T[22]=f,T[23]=h,T[24]=m,T[25]=g,T[26]=p,T[27]=v,T[28]=y,T[29]=b,T[30]=S,T[31]=E}else f=T[22],h=T[23],m=T[24],g=T[25],p=T[26],v=T[27],y=T[28],b=T[29],S=T[30],E=T[31];return T[34]!==f||T[35]!==h||T[36]!==m||T[37]!==g||T[38]!==p||T[39]!==v||T[40]!==y||T[41]!==b||T[42]!==S||T[43]!==E?(x={navBarHeight:b,navBarHeightRem:S,infoBarHeight:E,infoBarHeightRem:f,totalHeight:h,totalHeightRem:m,heightForMegaMenu:g,heightForMegaMenuRem:p,defaultNavHeaderHeight:v,defaultNavHeaderHeightRem:y},T[34]=f,T[35]=h,T[36]=m,T[37]=g,T[38]=p,T[39]=v,T[40]=y,T[41]=b,T[42]=S,T[43]=E,T[44]=x):x=T[44],x}])},834211,666751,e=>{"use strict";var t=e.i(768834),n=e.i(579473);let r="motiveAccessibilityPrefs",i={bigCursor:!1,colorMode:"default",dyslexiaFriendlyFont:!1,easyReadFont:!1,extraTextSpacing:!1,hideImages:!1,hideVideos:!1,highlightLinks:!1,keyboardFocus:!1,largeClickableAreas:!1,largeText:1,muteSounds:!1,readMode:!1,readingLine:!1,readingMask:!1,stopAnimation:!1},o=["lowVision","colorBlindness","dyslexiaFriendly","seizureSafe","reduceDistractions","motorAssistance","cognitiveLearning","keyboardNavigation"],a={lowVision:{largeText:1.2,colorMode:"highContrast",highlightLinks:!0},colorBlindness:{colorMode:"colorBlind"},dyslexiaFriendly:{dyslexiaFriendlyFont:!0,extraTextSpacing:!0,easyReadFont:!0},seizureSafe:{stopAnimation:!0},reduceDistractions:{hideImages:!0,hideVideos:!0,muteSounds:!0,readingMask:!0,stopAnimation:!0},motorAssistance:{largeClickableAreas:!0,bigCursor:!0},cognitiveLearning:{easyReadFont:!0,extraTextSpacing:!0,readMode:!0,readingLine:!0},keyboardNavigation:{keyboardFocus:!0,highlightLinks:!0}};function l(e){return{...i,...a[e]}}function s(e){return o.find(t=>{let n;return n=l(t),Object.keys(i).every(t=>e[t]===n[t])})??null}e.s(["ACCESSIBILITY_MODE_ORDER",0,o,"ACCESSIBILITY_STORAGE_KEY",0,r,"DEFAULT_ACCESSIBILITY_SETTINGS",0,i,"buildSettingsForMode",0,l,"getAccessibilityFontStack",0,function(e){return e.dyslexiaFriendlyFont?"OpenDyslexic, Verdana, sans-serif":e.easyReadFont?"Verdana, Geneva, Tahoma, sans-serif":null},"getThemeTypographyStyle",0,function(e){return{"--line-height-none":"100%","--line-height-sm":e.extraTextSpacing?"140%":"120%","--line-height-md":e.extraTextSpacing?"150%":"130%","--line-height-lg":e.extraTextSpacing?"170%":"150%","--letter-spacing-sm":e.extraTextSpacing?"0.05em":"-0.02em","--letter-spacing-md":e.extraTextSpacing?"0.06em":"-0.03em","--letter-spacing-lg":e.extraTextSpacing?"0.08em":"-0.05em"}},"hasAccessibilityCustomizations",0,function(e,t){return!!t||Object.keys(i).some(t=>e[t]!==i[t])}],666751);let u=(0,t.create)()((0,n.persist)((e,t)=>({activeMode:null,isPanelOpen:!1,settings:i,applyMode:n=>{if(t().activeMode===n)return void e({activeMode:null,settings:i});let r=l(n);e({activeMode:n,settings:r})},closePanel:()=>e({isPanelOpen:!1}),openPanel:()=>e({isPanelOpen:!0}),resetSettings:()=>{e({activeMode:null,settings:i})},setColorMode:n=>{let r={...t().settings,colorMode:n};e({activeMode:s(r),settings:r})},setSetting:(n,r)=>{let i={...t().settings,[n]:r};e({activeMode:s(i),settings:i})}}),{name:r,partialize:e=>({activeMode:e.activeMode,settings:e.settings}),merge:(e,t)=>
1{let{activeMode:n=null,settings:r=i}=e??{};return{...t,activeMode:n,settings:{...i,...r}}}}));e.s(["useAccessibilityStore",0,u],834211)},579473,e=>{"use strict";let t=e=>n=>{try{let r=e(n);if(r instanceof Promise)return r;return{then:e=>t(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:n=>t(n)(e)}}};e.s(["persist",0,(e,n)=>(r,i,o)=>{let a,l={storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var n;let r=e=>null===e?null:JSON.parse(e,void 0),i=null!=(n=t.getItem(e))?n:null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,n)=>t.setItem(e,JSON.stringify(n,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...n},s=!1,u=0,c=new Set,d=new Set,f=l.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),r(...e)},i,o);let h=()=>{let e=l.partialize({...i()});return f.setItem(l.name,{state:e,version:l.version})},m=o.setState;o.setState=(e,t)=>(m(e,t),h());let g=e((...e)=>(r(...e),h()),i,o);o.getInitialState=()=>g;let p=()=>{var e,n;if(!f)return;let o=++u;s=!1,c.forEach(e=>{var t;return e(null!=(t=i())?t:g)});let m=(null==(n=l.onRehydrateStorage)?void 0:n.call(l,null!=(e=i())?e:g))||void 0;return t(f.getItem.bind(f))(l.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===l.version)return[!1,e.state];else{if(l.migrate){let t=l.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(o!==u)return;let[n,s]=e;if(r(a=l.merge(s,null!=(t=i())?t:g),!0),n)return h()}).then(()=>{o===u&&(null==m||m(i(),void 0),a=i(),s=!0,d.forEach(e=>e(a)))}).catch(e=>{o===u&&(null==m||m(void 0,e))})};return o.persist={setOptions:e=>{l={...l,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>p(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},l.skipHydration||p(),a||g}])}]);
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.