1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,74129,e=>{"use strict";var t=e.i(72043),r=e.i(91788),s=e.i(59461),a=e.i(91398);let l=r.forwardRef(({bsPrefix:e,size:r,vertical:l=!1,className:n,role:i="group",as:o="div",...d},u)=>{let c=(0,s.useBootstrapPrefix)(e,"btn-group"),h=c;return l&&(h=`${c}-vertical`),(0,a.jsx)(o,{...d,ref:u,role:i,className:(0,t.default)(n,h,r&&`${c}-${r}`)})});l.displayName="ButtonGroup",e.s(["ButtonGroup",0,l],74129)},72196,8174,e=>{"use strict";var t=e.i(72043),r=e.i(91788),s=e.i(19734),a=e.i(84276),l=e.i(88270),n=e.i(67338),i=e.i(22132),o=e.i(60611),d=e.i(43007);let u=r.createContext(null);var c=e.i(98240),h=e.i(41211),p=e.i(5576),f=e.i(9084),m=e.i(91398);let g=["children","usePopper"],x=()=>{};function b(e={}){let t=(0,r.useContext)(u),[s,a]=(0,c.default)(),l=(0,r.useRef)(!1),{flip:n,offset:i,rootCloseEvent:o,fixed:d=!1,placement:m,popperConfig:g={},enableEventListeners:v=!0,usePopper:y=!!t}=e,w=(null==t?void 0:t.show)==null?!!e.show:t.show;w&&!l.current&&(l.current=!0);let{placement:j,setMenu:N,menuElement:k,toggleElement:C}=t||{},P=(0,h.default)(C,k,(0,f.default)({placement:m||j||"bottom-start",enabled:y,enableEvents:null==v?w:v,offset:i,flip:n,fixed:d,arrowElement:s,popperConfig:g})),O=Object.assign({ref:N||x,"aria-labelledby":null==C?void 0:C.id},P.attributes.popper,{style:P.styles.popper}),_={show:w,placement:j,hasShown:l.current,toggle:null==t?void 0:t.toggle,popper:y?P:null,arrowProps:y?Object.assign({ref:a},P.attributes.arrow,{style:P.styles.arrow}):{}};return(0,p.default)(k,e=>{null==t||t.toggle(!1,e)},{clickTrigger:o,disabled:!w}),[O,_]}function v(e){let{children:t,usePopper:r=!0}=e,[s,a]=b(Object.assign({},function(e,t){if(null==e)return{};var r={};for(var s in e)if(({}).hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}(e,g),{usePopper:r}));return(0,m.jsx)(m.Fragment,{children:t(s,a)})}v.displayName="DropdownMenu";var y=e.i(17917);let w=e=>{var t;return(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())==="menu"},j=()=>{};function N(){let e=(0,y.useSSRSafeId)(),{show:t=!1,toggle:s=j,setToggle:a,menuElement:l}=(0,r.useContext)(u)||{},n={id:e,ref:a||j,onClick:(0,r.useCallback)(e=>{s(!t,e)},[t,s]),"aria-expanded":!!t};return l&&w(l)&&(n["aria-haspopup"]=!0),[n,{show:t,toggle:s}]}function k({children:e}){let[t,r]=N();return(0,m.jsx)(m.Fragment,{children:e(t,r)})}k.displayName="DropdownToggle";var C=e.i(94825),P=e.i(71822),O=e.i(54269),_=e.i(62017);let E=["eventKey","disabled","onClick","active","as"];function S({key:e,href:t,active:s,disabled:a,onClick:l}){let n=(0,r.useContext)(C.default),{activeKey:i}=(0,r.useContext)(P.default)||{},o=(0,C.makeEventKey)(e,t),u=null==s&&null!=e?(0,C.makeEventKey)(i)===o:s;return[{onClick:(0,d.default)(e=>{a||(null==l||l(e),n&&!e.isPropagationStopped()&&n(o,e))}),"aria-disabled":a||void 0,"aria-selected":u,[(0,_.dataAttr)("dropdown-item")]:""},{isActive:u}]}let I=r.forwardRef((e,t)=>{let{eventKey:r,disabled:s,onClick:a,active:l,as:n=O.default}=e,i=function(e,t){if(null==e)return{};var r={};for(var s in e)if(({}).hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}(e,E),[o]=S({key:r,href:i.href,disabled:s,onClick:a,active:l});return(0,m.jsx)(n,Object.assign({},i,{ref:t},o))});I.displayName="DropdownItem";var $=e.i(66984);function T(){let e=(0,i.default)(),t=(0,r.useRef)(null),s=(0,r.useCallback)(r=>{t.current=r,e()},[e]);return[t,s]}function R({defaultShow:e,show:t,onSelect:i,onToggle:c,itemSelector:h=`* [${(0,_.dataAttr)("dropdown-item")}]`,focusFirstItemOnShow:p,placement:f="bottom-start",children:g}){let x=(0,$.default)(),[b,v]=(0,l.useUncontrolledProp)(t,e,c),[y,j]=T(),N=y.current,[k,P]=T(),O=k.current,E=(0,n.default)(b),S=(0,r.useRef)(null),I=(0,r.useRef)(!1),D=(0,r.useContext)(C.default),B=(0,r.useCallback)((e,t,r=null==t?void 0:t.type)=>{v(e,{originalEvent:t,source:r})},[v]),F=(0,d.default)((e,t)=>{null==i||i(e,t),B(!1,t,"select"),t.isPropagationStopped()||null==D||D(e,t)}),A=(0,r.useMemo)(()=>({toggle:B,placement:f,show:b,menuElement:N,toggleElement:O,setMenu:j,setToggle:P}),[B,f,b,N,O,j,P]);
1N&&E&&!b&&(I.current=N.contains(N.ownerDocument.activeElement));let M=(0,d.default)(()=>{O&&O.focus&&O.focus()}),L=(0,d.default)(()=>{let e=S.current,t=p;if(null==t&&(t=!!(y.current&&w(y.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;let r=(0,s.default)(y.current,h)[0];r&&r.focus&&r.focus()});(0,r.useEffect)(()=>{b?L():I.current&&(I.current=!1,M())},[b,I,M,L]),(0,r.useEffect)(()=>{S.current=null});let U=(e,t)=>{if(!y.current)return null;let r=(0,s.default)(y.current,h),a=r.indexOf(e)+t;return a=Math.max(0,Math.min(a,r.length)),r[a]};return(0,o.default)((0,r.useCallback)(()=>x.document,[x]),"keydown",e=>{var t,r;let{key:s}=e,l=e.target,n=null==(t=y.current)?void 0:t.contains(l),i=null==(r=k.current)?void 0:r.contains(l);if(/input|textarea/i.test(l.tagName)&&(" "===s||"Escape"!==s&&n||"Escape"===s&&"search"===l.type)||!n&&!i||"Tab"===s&&(!y.current||!b))return;S.current=e.type;let o={originalEvent:e,source:e.type};switch(s){case"ArrowUp":{let t=U(l,-1);t&&t.focus&&t.focus(),e.preventDefault();return}case"ArrowDown":if(e.preventDefault(),b){let e=U(l,1);e&&e.focus&&e.focus()}else v(!0,o);return;case"Tab":(0,a.default)(l.ownerDocument,"keyup",e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=y.current)&&t.contains(e.target)||v(!1,o)},{once:!0});break;case"Escape":"Escape"===s&&(e.preventDefault(),e.stopPropagation()),v(!1,o)}}),(0,m.jsx)(C.default.Provider,{value:F,children:(0,m.jsx)(u.Provider,{value:A,children:g})})}R.displayName="Dropdown",R.Menu=v,R.Toggle=k,R.Item=I,e.i(46966);var D=e.i(15041),B=e.i(93920);let F=r.createContext({});F.displayName="DropdownContext";var A=e.i(59461);let M=r.forwardRef(({className:e,bsPrefix:r,as:s="hr",role:a="separator",...l},n)=>(r=(0,A.useBootstrapPrefix)(r,"dropdown-divider"),(0,m.jsx)(s,{ref:n,className:(0,t.default)(e,r),role:a,...l})));M.displayName="DropdownDivider";let L=r.forwardRef(({className:e,bsPrefix:r,as:s="div",role:a="heading",...l},n)=>(r=(0,A.useBootstrapPrefix)(r,"dropdown-header"),(0,m.jsx)(s,{ref:n,className:(0,t.default)(e,r),role:a,...l})));L.displayName="DropdownHeader";var U=e.i(90811);let W=r.forwardRef(({bsPrefix:e,className:r,eventKey:s,disabled:a=!1,onClick:l,active:n,as:i=U.default,...o},d)=>{let u=(0,A.useBootstrapPrefix)(e,"dropdown-item"),[c,h]=S({key:s,href:o.href,disabled:a,onClick:l,active:n});return(0,m.jsx)(i,{...o,...c,ref:d,className:(0,t.default)(r,u,h.isActive&&"active",a&&"disabled")})});W.displayName="DropdownItem",e.s(["default",0,W],8174);let G=r.forwardRef(({className:e,bsPrefix:r,as:s="span",...a},l)=>(r=(0,A.useBootstrapPrefix)(r,"dropdown-item-text"),(0,m.jsx)(s,{ref:l,className:(0,t.default)(e,r),...a})));G.displayName="DropdownItemText";var H=e.i(37324),V=e.i(65763);e.i(40137);var q=e.i(48990),J=e.i(89843);function K(e,t,r){let s=e?r?"bottom-start":"bottom-end":r?"bottom-end":"bottom-start";return"up"===t?s=e?r?"top-start":"top-end":r?"top-end":"top-start":"end"===t?s=e?r?"left-end":"right-end":r?"left-start":"right-start":"start"===t?s=e?r?"right-end":"left-end":r?"right-start":"left-start":"down-centered"===t?s="bottom":"up-centered"===t&&(s="top"),s}let X=r.forwardRef(({bsPrefix:e,className:s,align:a,rootCloseEvent:l,flip:n=!0,show:i,renderOnMount:o,as:d="div",popperConfig:u,variant:c,...h},p)=>{let f=!1,g=(0,r.useContext)(J.default),x=(0,A.useBootstrapPrefix)(e,"dropdown-menu"),{align:v,drop:y,isRTL:w}=(0,r.useContext)(F);a=a||v;let j=(0,r.useContext)(q.default),N=[];if(a)if("object"==typeof a){let e=Object.keys(a);if(e.length){let t=e[0],r=a[t];f="start"===r,N.push(`${x}-${t}-${r}`)}}else"end"===a&&(f=!0);let k=K(f,y,w),[C,{hasShown:P,popper:O,show:_,toggle:E}]=b({flip:n,rootCloseEvent:l,show:i,usePopper:!g&&0===N.length,offset:[0,2],popperConfig:u,placement:k});if(C.ref=(0,V.default)(p,C.ref),(0,H.default)(()=>{_&&(null==O||O.update())},[_]),!P&&!o&&!j)return null;"string"!=typeof d&&(C.show=_,C.close=()=>null==E?void 0:E(!1),C.align=a);let S=h.style;return null!=O&&O.placement&&(S={...h.style,...C.style},h["x-placement"]=O.placement),(0,m.jsx)(d,{...h,...C,style:S,...(N.length||g)&&{"data-bs-popper":"static"},className:(0,t.default)(s,x,_&&"show",f&&`${x}-end`,c&&`${x}-${c}`,...N)})});X.displayName="DropdownMenu";var z=e.i(66194);let Q=r.forwardRef(({bsPrefix:e,split:s,className:a,childBsPrefix:l,as:n=z.default,...i},o)=>{let d=(0,A.useBootstrapPrefix)(e,"dropdown-toggle"),c=(0,r.useContext)(u);void 0!==l&&(i.bsPrefix=l);let[h]=N();return h.ref=(0,V.default)(h.ref,o),(0,m.jsx)(n,{className:(0,t.default)(a,d,s&&`${d}-split`,(null==c?void 0:c.show)&&"show"),...h,...i})});Q.displayName="DropdownToggle";let Y=r.forwardRef((e,s)=>{let{bsPrefix:a,drop:l="down",show:n,className:i,align:o="start",onSelect:d,onToggle:u,focusFirstItemOnShow:c,as:h="div",navbar:p,autoClose:f=!0,...g}=(0,D.useUncontrolled)(e,{show:"onToggle"}),x=(0,r.useContext)(q.default),b=(0,A.useBootstrapPrefix)(a,"dropdown"),v=(0,A.useIsRTL)(),y=(0,B.default)((e,t)=>{var r,s;(null==(r=t.originalEvent)||null==(r=r.target)?void 0:r.classList.contains("dropdown-toggle"))&&"mousedown"===t.source||(t.originalEvent.currentTarget===document&&("keydown"!==t.source||"Escape"===t.originalEvent.key)&&(t.source="rootClose"),s=t.source,(!1===f?"click"===s:"inside"===f?"rootClose"!==s:"outside"!==f||"select"!==s)&&(null==u||u(e,t)))}),w=K("end"===o,l,v),j=(0,r.useMemo)(()=>({align:o,drop:l,isRTL:v}),[o,l,v]),N={down:b,"down-centered":`${b}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,m.jsx)(F.Provider,{value:j,children:(0,m.jsx)(R,{placement:w,show:n,onSelect:d,onToggle:y,focusFirstItemOnShow:c,itemSelector:`.${b}-item:not(.disabled):not(:disabled)`,children:x?g.children:(0,m.jsx)(h,{...g,ref:s,className:(0,t.default)(i,n&&"show",N[l])})})})});Y.displayName="Dropdown";let Z=Object.assign(Y,{Toggle:Q,Menu:X,Item:W,ItemText:G,Divider:M,Header:L});e.s(["Dropdown",0,Z],72196)},48990,e=>{"use strict";let t=e.i(91788).createContext(null);t.displayName="InputGroupContext",e.s(["default",0,t])},84943,e=>{"use strict";var t=e.i(72043),r=e.i(37324),s=e.i(91788);let a=new WeakMap,l=(e,t)=>
1{if(!e||!t)return;let r=a.get(t)||new Map;a.set(t,r);let s=r.get(e);return s||((s=t.matchMedia(e)).refCount=0,r.set(s.media,s)),s},n=function(e){let t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}return function(i,o,d){let u;return"object"==typeof i?(u=i,d=o,o=!0):u={[i]:o=o||!0},function(e,t="u"<typeof window?void 0:window){let n=l(e,t),[i,o]=(0,s.useState)(()=>!!n&&n.matches);return(0,r.default)(()=>{let r=l(e,t);if(!r)return o(!1);let s=a.get(t),n=()=>{o(r.matches)};return r.refCount++,r.addListener(n),n(),()=>{r.removeListener(n),r.refCount--,r.refCount<=0&&(null==s||s.delete(r.media)),r=void 0}},[e]),i}((0,s.useMemo)(()=>Object.entries(u).reduce((r,[s,a])=>{let l,i;return("up"===a||!0===a)&&(r=n(r,("number"==typeof(l=e[s])&&(l=`${l}px`),`(min-width: ${l})`))),("down"===a||!0===a)&&(r=n(r,(i="number"==typeof(i=e[t[Math.min(t.indexOf(s)+1,t.length-1)]])?`${i-.2}px`:`calc(${i} - 0.2px)`,`(max-width: ${i})`))),r},""),[JSON.stringify(u)]),d)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});var i=e.i(93920),o=e.i(26594),d=e.i(17264),u=e.i(59461),c=e.i(91398);let h=s.forwardRef(({className:e,bsPrefix:r,as:s="div",...a},l)=>(r=(0,u.useBootstrapPrefix)(r,"offcanvas-body"),(0,c.jsx)(s,{ref:l,className:(0,t.default)(e,r),...a})));h.displayName="OffcanvasBody";var p=e.i(83344),f=e.i(33068),m=e.i(13881),g=e.i(53475);let x={[p.ENTERING]:"show",[p.ENTERED]:"show"},b=s.forwardRef(({bsPrefix:e,className:r,children:a,in:l=!1,mountOnEnter:n=!1,unmountOnExit:i=!1,appear:o=!1,...d},h)=>(e=(0,u.useBootstrapPrefix)(e,"offcanvas"),(0,c.jsx)(g.default,{ref:h,addEndListener:m.default,in:l,mountOnEnter:n,unmountOnExit:i,appear:o,...d,childRef:(0,f.getChildRef)(a),children:(l,n)=>s.cloneElement(a,{...n,className:(0,t.default)(r,a.props.className,(l===p.ENTERING||l===p.EXITING)&&`${e}-toggling`,x[l])})})));b.displayName="OffcanvasToggling";var v=e.i(64135),y=e.i(23270);let w=s.forwardRef(({bsPrefix:e,className:r,closeLabel:s="Close",closeButton:a=!1,...l},n)=>(e=(0,u.useBootstrapPrefix)(e,"offcanvas-header"),(0,c.jsx)(y.default,{ref:n,...l,className:(0,t.default)(r,e),closeLabel:s,closeButton:a})));w.displayName="OffcanvasHeader";let j=(0,e.i(89451).default)("h5"),N=s.forwardRef(({className:e,bsPrefix:r,as:s=j,...a},l)=>(r=(0,u.useBootstrapPrefix)(r,"offcanvas-title"),(0,c.jsx)(s,{ref:l,className:(0,t.default)(e,r),...a})));N.displayName="OffcanvasTitle";var k=e.i(78696);function C(e){return(0,c.jsx)(b,{...e})}function P(e){return(0,c.jsx)(d.default,{...e})}let O=s.forwardRef(({bsPrefix:e,className:r,children:a,"aria-labelledby":l,placement:d="start",responsive:h,show:p=!1,backdrop:f=!0,keyboard:m=!0,scroll:g=!1,onEscapeKeyDown:x,onShow:b,onHide:y,container:w,autoFocus:j=!0,enforceFocus:N=!0,restoreFocus:O=!0,restoreFocusOptions:_,onEntered:E,onExit:S,onExiting:I,onEnter:$,onEntering:T,onExited:R,backdropClassName:D,manager:B,renderStaticNode:F=!1,...A},M)=>{let L=(0,s.useRef)();e=(0,u.useBootstrapPrefix)(e,"offcanvas");let[U,W]=(0,s.useState)(!1),G=(0,i.default)(y),H=n(h||"xs","up");(0,s.useEffect)(()=>{W(h?p&&!H:p)},[p,h,H]);let V=(0,s.useMemo)(()=>({onHide:G}),[G]),q=(0,s.useCallback)(r=>(0,c.jsx)("div",{...r,className:(0,t.default)(`${e}-backdrop`,D)}),[D,e]),J=s=>(0,c.jsx)("div",{...s,...A,className:(0,t.default)(r,h?`${e}-${h}`:e,`${e}-${d}`),"aria-labelledby":l,children:a});return(0,c.jsxs)(c.Fragment,{children:[!U&&(h||F)&&J({}),(0,c.jsx)(v.default.Provider,{value:V,children:(0,c.jsx)(o.default,{show:U,ref:M,backdrop:f,container:w,keyboard:m,autoFocus:j,enforceFocus:N&&!g,restoreFocus:O,restoreFocusOptions:_,onEscapeKeyDown:x,onShow:b,onHide:G,onEnter:(e,...t)=>{e&&(e.style.visibility="visible"),null==$||$(e,...t)},onEntering:T,onEntered:E,onExit:S,onExiting:I,onExited:(e,...t)=>{e&&(e.style.visibility=""),null==R||R(...t)},manager:B||(g?(L.current||(L.current=new k.default({handleContainerOverflow:!1})),L.current):(0,k.getSharedManager)()),transition:C,backdropTransition:P,renderBackdrop:q,renderDialog:J})})]})});O.displayName="Offcanvas";let _=Object.assign(O,{Body:h,Header:w,Title:N});e.s(["Offcanvas",0,_],84943)},31924,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(41158),a=e.i(26019),l=e.i(72196),n=e.i(80495),i=e.i(46910),o=e.i(19771),d=e.i(80649),u=e.i(3200);e.s(["default",0,function(c){let h=c.style,{favorites:p,remove:f}=(0,i.default)(),[m,g]=(0,r.useState)(null),[x,b]=(0,r.useState)("loading");return(0,r.useEffect)(()=>{null===m&&(b("loading"),0===p.length?b("empty"):(0,o.getComparison)(e.g.dealerId,p,"",(0,n.getCookie)("clientIp")).then(e=>{e?.results?g(e.results):b("empty")}).finally(()=>b("idle")))},[m]),(0,r.useEffect)(()=>{g(null),b("loading")},[c.favCount]),(0,t.jsx)(t.Fragment,{children:"loading"===x?(0,t.jsx)(l.Dropdown.Item,{className:"border-bottom",onClick:()=>!1,children:(0,t.jsx)(d.default,{})}):"empty"===x?null:(0,t.jsx)("div",{className:"border-top border-start border-end",children:p.slice(0,10).map((e,r)=>{var n=m.title[r]??"";if(""!=n)if("list"===h)return(0,t.jsxs)(s.default,{href:m.url[r],className:"d-block align-middle p-3 bg-white border-bottom",title:n,children:[m.photos[r].length>0?(0,t.jsx)("img",{src:m.photos[r][0].large,width:"64",height:"48",alt:m.title[r],className:"compare-img img-fluid me-3"}):(0,t.jsx)(a.default,{src:"https://static.overfuel.com/images/assets/no-photo.png",alt:"New arrival",width:"64",height:"48",className:"img-fluid me-3"}),n]},"favorite_"+r);else return(0,t.jsxs)(l.Dropdown.Item,{as:s.default,href:m.url[r],title:n,className:"border-bottom px-3 w-100 text-truncate",children:[(0,t.jsx)(u.default,{className:"fa-regular fa-times text-primary me-3 text-medium",onClick:t=>{t.preventDefault(),t.stopPropagation(),f(e)}}),m.photos[r].length>0?(0,t.jsx)(a.default,{src:m.photos[r][0].large,width:"64",height:"48",alt:m.title[r],className:"compare-img img-fluid me-3"}):(0,t.jsx)(a.default,{src:"https://static.overfuel.com/images/assets/no-photo.png",alt:"New arrival",width:"64",height:"48",className:"img-fluid me-3"}),n]},"favorite_"+r)})})})}])},41064,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(41158),a=e.i(72196),l=e.i(80495),n=e.i(56572),i=e.i(12040),o=e.i(19771),d=e.i(80649);e.i(3200);var u=e.i(13138);function c({title:e,price:r,mileage:s,photo:a}){let l=r>0?(0,i.formatCurrency)(r):null,n=s>0?(0,i.numberWithCommas)(s):null;return(0,t.jsxs)("span",{className:"d-flex align-items-center w-100",children:[(0,t.jsx)("span",{className:"flex-shrink-0 me-3 overflow-hidden",style:{width:67,height:50},children:(0,t.jsx)("img",{src:a||"https://static.overfuel.com/images/assets/no-photo.png",alt:e,width:67,height:50,style:{width:"100%",height:"100%",objectFit:"cover"}})}),(0,t.jsxs)("span",{className:"text-truncate",style:{minWidth:0},children:[(0,t.jsx)("strong",{className:"d-block text-truncate",children:e}),(l||n)&&(0,t.jsxs)("span",{className:"d-block text-truncate",children:[l&&(0,t.jsx)(t.Fragment,{children:l}),l&&n&&(0,t.jsx)(t.Fragment,{children:" ⢠"}),n&&(0,t.jsxs)(t.Fragment,{children:[n," mi."]})]})]})]})}e.s(["RecentVehicle",0,c,"RecentVehicleSkeleton",0,function(){return(0,t.jsxs)("span",{className:"d-flex align-items-center w-100",children:[(0,t.jsx)(u.default,{width:"67px",height:"50px",$marginbottom:"0",className:"flex-shrink-0 me-3"}),(0,t.jsxs)("span",{className:"flex-grow-1",style:{minWidth:0},children:[(0,t.jsx)(u.default,{width:"70%",height:"1rem",$marginbottom:"6px"}),(0,t.jsx)(u.default,{width:"50%",height:"0.875rem",$marginbottom:"0"})]})]})},"default",0,function(i){let u=i.style,{recent:h}=(0,n.default)(),[p,f]=(0,r.useState)(null),[m,g]=(0,r.useState)("loading"),x=async()=>{0===h.length?g("empty"):await (0,o.getComparison)(e.g.dealerId,h,"",(0,l.getCookie)("clientIp")).then(e=>{e?.results?f(e?.results):g("empty")}).finally(()=>g("idle"))};return(0,r.useEffect)(()=>{null===p&&(g("loading"),x())},[p]),(0,r.useEffect)(()=>{f(null),g("loading")},[h]),(0,t.jsx)(t.Fragment,{children:"loading"===m?(0,t.jsx)(a.Dropdown.Item,{className:"border-bottom",onClick:()=>!1,children:(0,t.jsx)(d.default,{})}):"empty"===m?null:(0,t.jsx)(t.Fragment,{children:h.slice(0,10).map((e,r)=>{var l=p.title[r]??"";if(""!=l){let e=(0,t.jsx)(c,{title:l,price:p.price?.[r],mileage:p.mileage?.[r],photo:p.photos?.[r]?.length>0?p.photos[r][0].large:null});return"list"===u?(0,t.jsx)(s.default,{href:p.url[r],className:"d-block p-3 bg-white border-bottom",title:l,children:e},"recent_"+r):(0,t.jsx)(a.Dropdown.Item,{as:s.default,href:p.url[r],title:l,className:"border-bottom w-100",children:e},"recent_"+r)}})})})}])},94997,e=>{"use strict";var t=e.i(91788);let r=0,s=new Set;function a(e,t){return"itemlist"===e||!!t}function l(e,t,r){return"item"===e?"VDP":a(e,r)?`SRP${t.capitalone_srp_datapagetype??""}`:null}e.s(["capitalOnePageType",0,l,"declaresSearchPage",0,a,"useCapitalOneConfigGeneration",0,function(){let[e,a]=(0,t.useState)(r);return(0,t.useEffect)(()=>(s.add(a),a(r),()=>s.delete(a)),[]),e},"useCapitalOneLoader",0,function(a,n,i){let o=(0,t.useRef)(null);(0,t.useEffect)(()=>
1{if(!a?.capitalone_token)return;let t=document.querySelector('script[src*="digital-retail.autodriven.com/loader.js"]'),d=o.current??t?.getAttribute("data-page-type")??null,u=l(n,a,i),c=!!t&&!!u&&u!==d;if(e.g.devDebug&&console.log("capital one page type",{pagetype:n,hasInventory:!!i,wants:u??"(none for this route)",registered:t?d:"(no loader in this document)",action:c?"re-registering config":"ok"}),!c)return;let h=document.createElement("script");h.src=`https://digital-retail.autodriven.com/digitalretail/auth/dealer/~/client/bundles/button-settings?origin=${btoa(window.location.origin)}&clienttokens=${encodeURIComponent(a.capitalone_token)}&dealerPageType=${encodeURIComponent(u)}`,h.onload=()=>{!1===e.g.DWITE?.globalParams?.clientConfigs?.[a.capitalone_token]?.isClientEnabled&&document.querySelectorAll("capital-one-entry-button").forEach(e=>e.remove()),h.remove(),o.current=u,r+=1,s.forEach(e=>e(r))},h.onerror=()=>{h.remove()},document.head.appendChild(h)},[n,i,a])}])},51528,e=>{"use strict";var t=e.i(91398),r=e.i(26019),s=e.i(12040);e.s(["default",0,function({dealer:e}){let a=!1!==(0,s.mapOem)(e?.settings,s.OEM_ORDER_WITH_CDJR_CADILLAC),l=e.settings.logo,n=l&&[".webm",".mp4"].some(e=>l.toLowerCase().endsWith(e));return a?e.settings?.which_oem==="kia"?(0,t.jsxs)("div",{className:"d-flex align-items-center",children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"160",height:"40",className:"kia-logo",src:e.settings?.header_theme?"https://static.overfuel.com/images/logos/kia-logo-light.webp":"https://static.overfuel.com/images/logos/kia-logo-dark.webp",alt:e.name}),(0,t.jsx)("span",{className:"logo-text kia-logo-text",children:e.name})]}):e.settings?.which_oem==="mitsubishi"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"57",height:"60",className:"my-2",src:e.settings?.header_theme?"/oem/mitsubishi-black.webp":"/oem/mitsubishi-white.webp",alt:e.name}),(0,t.jsx)("span",{className:"text-large logo-text ps-4 font-weight-bold",children:e.name})]}):e.settings?.which_oem==="nissan"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"60",height:"50",className:"my-1",src:e.settings?.header_theme?"/oem/nissan-black.webp":"/oem/nissan-white.webp",alt:e.name}),(0,t.jsx)("span",{className:"text-large logo-text ps-4 font-weight-bold",children:e.name})]}):e.settings?.which_oem==="lotus"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"65",height:"65",className:"my-3",src:"/oem/lotus.webp",alt:e.name}),(0,t.jsxs)("span",{className:"text-large logo-text ps-4 pt-1 text-uppercase text-primary",children:["Lotus"," ",(0,t.jsx)("span",{className:"text-white",children:e.name.replace("Lotus","").replace("Lotus of","")})]})]}):e.settings?.which_oem==="audi"?(0,t.jsxs)("div",{className:"d-flex align-items-center",children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"71",height:"25",className:"my-3",src:e.settings?.header_theme?"/oem/audi-white.webp":"/oem/audi-black.webp",alt:e.name}),(0,t.jsx)("span",{className:"text-large logo-text ps-4 text-dark",children:e.name})]}):e.settings?.which_oem==="bentley"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",width:"130",height:"60",className:"my-3",src:e.settings?.header_theme?"/oem/bentley-black.webp":"/oem/bentley-white.webp",alt:e.name}),(0,t.jsx)("span",{className:"text-large logo-text ps-4 text-uppercase extrabold text-dark",children:e.name})]}):n?(0,t.jsx)("video",{src:l,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,width:e.settings.logo_width??203,height:e.settings.logo_height??70,alt:e.name,style:{maxWidth:"100%"},id:"logo"}):(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",src:l,width:e.settings.logo_width??203,height:e.settings.logo_height??70,alt:e.name,id:"logo"}):n?(0,t.jsx)("video",{src:l,autoPlay:!0,loop:!0,muted:!0,playsInl
1ine:!0,width:e.settings.logo_width??203,height:e.settings.logo_height??70,alt:e.name,style:{maxWidth:"100%"},id:"logo"}):(0,t.jsx)(r.default,{priority:!0,fetchPriority:"high",loading:"eager",decoding:"async",src:l,width:e.settings.logo_width??203,height:e.settings.logo_height??70,alt:e.name,id:"logo"})}])},31350,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(41158),a=e.i(74129),l=e.i(72102),n=e.i(19293),i=e.i(12040);e.s(["default",0,function({location:e,isMobile:o=!1}){let d=e.hours[1].hours.sales.length>0||e.hours[2].hours.sales.length>0||e.hours[3].hours.sales.length>0||e.hours[4].hours.sales.length>0||e.hours[5].hours.sales.length>0||e.hours[6].hours.sales.length>0||e.hours[7].hours.sales.length>0,u=e.hours[1].hours.service.length>0||e.hours[2].hours.service.length>0||e.hours[3].hours.service.length>0||e.hours[4].hours.service.length>0||e.hours[5].hours.service.length>0||e.hours[6].hours.service.length>0||e.hours[7].hours.service.length>0,c=e.hours[1].hours.parts.length>0||e.hours[2].hours.parts.length>0||e.hours[3].hours.parts.length>0||e.hours[4].hours.parts.length>0||e.hours[5].hours.parts.length>0||e.hours[6].hours.parts.length>0||e.hours[7].hours.parts.length>0,h=e.hours[1].hours.rentals.length>0||e.hours[2].hours.rentals.length>0||e.hours[3].hours.rentals.length>0||e.hours[4].hours.rentals.length>0||e.hours[5].hours.rentals.length>0||e.hours[6].hours.rentals.length>0||e.hours[7].hours.rentals.length>0,p=e.hours[1].hours.collision.length>0||e.hours[2].hours.collision.length>0||e.hours[3].hours.collision.length>0||e.hours[4].hours.collision.length>0||e.hours[5].hours.collision.length>0||e.hours[6].hours.collision.length>0||e.hours[7].hours.collision.length>0,f=0;d&&f++,u&&f++,c&&f++,h&&f++,p&&f++;let[m,g]=(0,r.useState)(d?"sales":u?"service":c?"parts":h?"rentals":p?"collision":"sales");return(0,t.jsxs)(t.Fragment,{children:[f>1&&o&&5==f?(0,t.jsx)("div",{className:"py-4 mx-n3 mb-3 bg-light border-bottom text-nowrap overflow-scroll","data-cy":"location-hours-buttons",children:(0,t.jsxs)(n.Container,{className:"px-2",children:[d&&(0,t.jsx)(s.default,{href:"",onClick:()=>g("sales"),className:`${"sales"===m?"border-primary":"border-dark"} me-3 rounded border bg-white p-2`,children:"Sales"}),u&&(0,t.jsx)(s.default,{href:"",onClick:()=>g("service"),className:`${"service"===m?"border-primary":"border-dark"} me-3 rounded border bg-white p-2`,children:"Service"}),c&&(0,t.jsx)(s.default,{href:"",onClick:()=>g("parts"),className:`${"parts"===m?"border-primary":"border-dark"} me-3 rounded border bg-white p-2`,children:"Parts"}),h&&(0,t.jsx)(s.default,{href:"",onClick:()=>g("rentals"),className:`${"rentals"===m?"border-primary":"border-dark"} me-3 rounded border bg-white p-2`,children:"Rentals"}),p&&(0,t.jsx)(s.default,{href:"",onClick:()=>g("collision"),className:`${"collision"===m?"border-primary":"border-dark"} me-3 rounded border bg-white p-2`,children:"Collision"})]})}):f>1?(0,t.jsxs)(a.ButtonGroup,{className:"w-100 mb-3",children:[d&&(0,t.jsx)(l.Button,{variant:"default",onClick:()=>g("sales"),className:"sales"===m?"active":"",children:"Sales"}),u&&(0,t.jsx)(l.Button,{variant:"default",onClick:()=>g("service"),className:"service"===m?"active":"",children:"Service"}),c&&(0,t.jsx)(l.Button,{variant:"default",onClick:()=>g("parts"),className:"parts"===m?"active":"",children:"Parts"}),h&&(0,t.jsx)(l.Button,{variant:"default",onClick:()=>g("rentals"),className:"rentals"===m?"active":"",children:"Rentals"}),p&&(0,t.jsx)(l.Button,{variant:"default",onClick:()=>g("collision"),className:"collision"===m?"active":"",children:"Collision"})]}):null,(0,t.jsxs)("table",{width:"100%",className:"bg-white table-bordered table table-sm rounded text-center mb-0",children:[(0,t.jsx)("thead",{className:"thead-light small bg-lighter",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{width:"40%",children:"Day"}),(0,t.jsxs)("th",{children:[(0,i.camelCaseString)(m)," Hours"]})]})}),(0,t.jsx)("tbody",{children:i.getIsoDayList.map((r,s)=>{let a=e.hours[s+1]?.hours[m]??[],l=a.length>0,n="Closed",i="";if(l){let e=a[0];e.appointmentonly?n="Appointment Only":!0===e.closed?n="Closed":(n=`${e.openformatted} - ${e.closeformatted}`,i="no")}return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"px-2 py-1 border-bottom",children:r}),(e.hours[1].hours[m].length>0||e.hours[2].hours[m].length>0||e.hours[3].hours[m].length>0||e.hours[4].hours[m].length>0||e.hours[5].hours[m].length>0||e.hours[6].hours[m].length>0||e.hours[7].hours[m].length>0)&&(0,t.jsx)("td",{className:"px-2 py-1 border-bottom",translate:i,children:n})]},"lochours_"+s)})})]})]})}])},26668,e=>{"use strict";e.i(50461);var t=e.i(12040);let r=async(e,r,s=null)=>(0,t.makeApiCall)("post","https://api.overfuel.com/api/1.0/dealers/"+e+"/crm/forms",JSON.stringify(r),s),s=async(e,r=null)=>(0,t.makeApiCall)("get","https://api.overfuel.com/api/1.0/unsubscribe/"+e,null,r),a=async(e,r=null)=>(0,t.makeApiCall)("post","https://api.overfuel.com/api/1.0/unsubscribe/"+e,null,r),l=async(e,r=null)=>(0,t.makeApiCall)("post","https://api.overfuel.com/api/1.0/unsubscribe/"+e+"/resubscribe",null,r);e.s(["resolveUnsubscribe",0,s,"resubscribe",0,l,"submitForm",0,r,"unsubscribe",0,a])},98634,e=>{"use strict";e.i(50461);var t=e.i(5888),r=e.i(58652);let s={tradeId:0,trade:{},decoded:{},vehicle:{},tradePendingId:0,title:null,vin:null,error:null,vehicleFound:!1,vinOrPlate:null,partialVinMatch:!1},a=(0,t.create)((0,r.persist)((e,t)=>({...s,update:t=>{e(e=>({...Object.assign({},e,t)}))},wipeTradeState:()=>{e(e=>s)},decodeVin:async(t,r)=>
1{e({error:null}),t("submitting"),await fetch("https://api.overfuel.com/api/1.0/utilities/vindecode/"+r).then(e=>e.json()).then(t=>{if(""!==t?.results?.query_responses?.dataone?.query_error?.error_message)e({error:"The VIN number entered is invalid or could not be found. Please verify that it is correct and try again."});else{let s=t.results.query_responses.dataone.us_market_data.us_styles[0].basic_data,a=s.year+" "+s.make+" "+s.model+(null!==s.trim?" "+s.trim:"");e({decoded:t.results.query_responses.dataone.us_market_data,vehicle:s,title:a,vin:r}),t.results.query_responses.dataone.us_market_data.us_styles.length>1?e({partialVinMatch:!0}):e({vehicleFound:!0})}}).finally(()=>t("idle"))},decodePlate:async(r,s,a,l,n)=>{if(e({error:null}),r("submitting"),!l||!n){e({error:"Unable to decode plate right now. Please refresh and try again."}),r("idle");return}await fetch("/api/trade/platedecode",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({dealerId:l,visitor:n,plate:s,state:a})}).then(e=>e.json()).then(s=>{let a=s?.results?.vehicle||s?.results?.vehicles?.[0],l=s?.results?.vin;a&&l?(e({vehicle:a,vin:l,title:a.year+" "+a.make+" "+a.model+(a?.trim!==null?" "+a.trim:""),tradePendingId:a?.id?parseInt(a.id,10):0,vehicleFound:!0}),t().decodeVin(r,l)):(e({error:s?.results?.errors||"The license plate/state information entered could not be found. Please verify that it is correct and try again."}),r("idle"))})},saveAPI:async(r,s,a,l,n,i,o)=>{e({error:null}),s("submitting");var d={...a,method:t().vinOrPlate,referrer:n,step:1,tpvid:t().tradePendingId,year:t().vehicle.year||a?.year,make:t().vehicle.make||a?.make,model:t().vehicle.model||a?.model,trim:t().vehicle.trim||a?.trim,vin:t().vin||a?.vin};l?.id&&(d.inventory_id=l.id),d?.condition||(d.condition="ignore"),await fetch("https://api.overfuel.com/api/1.0/dealers/"+r+"/visitors/"+i+"/trade",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)}).then(e=>e.json()).then(t=>{if(t.results?.id)e({tradeId:t.results.id,trade:t.results.trade[0]}),o();else{let r=[];Object.entries(t?.results?.errors).map(e=>r.push(e[1])),e({error:r})}}).finally(()=>s("idle"))},updateAPI:async(t,r,s,a,l,n=null)=>{e({error:null});let i={...r,step:s};null!==n&&(i=n),i?.condition||(i.condition="ignore"),i?.tires||(i.tires="ok"),Object.keys(i).map((e,t)=>{e.includes("[]")&&"object"==typeof i[e]&&Object.keys(i[e]).length>0&&(i[e.replace("[]","")]=i[e].join(","),delete i[e])}),await fetch("https://api.overfuel.com/api/1.0/dealers/"+t+"/visitors/"+a+"/trade/"+l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}).then(e=>e.json()).then(t=>{if(t.results.status)return e({tradeId:t.results.id,trade:t.results.trade[0]}),!0;if(t.results?.errors){let r=[];return Object.entries(t?.results?.errors).map(e=>r.push(e[1])),e({error:r,trade:t.results.trade[0]}),!1}})}}),{name:"of_trade",storage:(0,r.createJSONStorage)(()=>localStorage)}));e.s(["default",0,a])}]);
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.