PageSourceSearch

https://stephenwade.com/_next/static/chunks/pages/index-b9de0f3c67c2896d.js

js stephenwade.com collected 2026-09-24 12:18:25 UTC 86,422 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{16760:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(78551)}])},35471:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var r=s(37876),a=s(75961),i=s.n(a),o=s(14232),n=s(54587),l=s.n(n);let c=[{name:"Nissan",src:{src:"/_next/static/media/logo--nissan.d06d469e.webp",height:424,width:600,blurDataURL:"data:image/webp;base64,UklGRnAAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDEAAAAAAAA5R0c6AAAAMx8AAB4zABI9LiwsIj4RET4nLDI4PRIAMx8AAB4zAAAAOUdHOgkAAFZQOCAYAAAAMAEAnQEqCAAGAAJAOCWkAANwAP77nMAA",blurWidth:8,blurHeight:6},serviceUrl:"https://www.stephenwadenissan.com/service/schedule-service/",inventoryUrl:"https://www.stephenwadenissan.com/new-vehicles/"},{name:"Honda",src:{src:"/_next/static/media/logo-honda.d36e6c5f.webp",height:87,width:102,blurDataURL:"data:image/webp;base64,UklGRpoAAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSDkAAAAAAAInNjUgAAAAWJgGG5FLAABVniVXblUAAFKNxNpcUgAAPppkjIArAAAABBAPAgAAAAAAAAAAAAAAVlA4IDoAAADQAQCdASoIAAcAAkA4JaQAD4ANWon04AD+6V6xT6VUY6yK06flXVzn+VnckIR6sA5lyDSov03FQAAA",blurWidth:8,blurHeight:7},serviceUrl:"https://www.stephenwadehonda.com/scheduleservice",inventoryUrl:"https://www.stephenwadehonda.com/inventory/new"},{name:"Mercedes-Benz",src:{src:"/_next/static/media/logo-mercedes-benz.5a06b039.webp",height:2050,width:2050,blurDataURL:"data:image/webp;base64,UklGRoAAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSEEAAAAAAChwf39wKAAoYgBERABiKHAAAGhoAABwZwAAnJwAAGdnCJrb25oIZ3h3RAEBRHd4KGIAAAAAYigAKHBnZ3AoAABWUDggGAAAADABAJ0BKggACAACQDglpAADcAD++5zAAA==",blurWidth:8,blurHeight:8},scale:.7,serviceUrl:"https://www.mbstgeorge.com/service/schedule-service/",inventoryUrl:"https://www.mbstgeorge.com/used-vehicles/"},{name:"Toyota",src:{src:"/_next/static/media/logo-toyota.500273c0.webp",height:64,width:102,blurDataURL:"data:image/webp;base64,UklGRowAAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAAARKc3BEAgAKp4yNiJuaBEJSNK6sLGcsCYookYcwhwMAA0RubD4BAABWUDggPAAAALABAJ0BKggABQACQDglpAAC/E7CJoAA/k9tbCD9FHnkObP1cNB8J++0ay12q2t+Qw/zMYMtF5idDAAAAA==",blurWidth:8,blurHeight:5},serviceUrl:"https://www.stephenwadetoyota.com/service/schedule-service/",inventoryUrl:"https://www.stephenwadetoyota.com/used-vehicles/"},{name:"Chevrolet",src:{src:"/_next/static/media/logo-chevy.2f5f7095.webp",height:87,width:102,blurDataURL:"data:image/webp;base64,UklGRp4AAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSC8AAAABUFJbT/ZNrwCWIJCDBP+KCktCKA5+khRzHCJEROLhYmBg7mumR9JYqpI9ACL8AABWUDggSAAAABACAJ0BKggABwACQDgllALDtinm+ybvYAAA9qFZEkvw4zf35oohv2/qWcMrm/wiDT7fBSjZKfkFa+do5vAx/06i4kJvkECAAA==",blurWidth:8,blurHeight:7},serviceUrl:"https://www.stephenwadechevrolet.com/service/serviceapptform/",inventoryUrl:"https://www.stephenwadechevrolet.com/used-vehicles/?"},{name:"Mazda",src:{src:"/_next/static/media/logo-mazda.4d475dd2.webp",height:87,width:102,blurDataURL:"data:image/webp;base64,UklGRpwAAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSDkAAAAAABd3VlV2GwAAu1kBAVPAAAG/eI+NdbwEALMCJy8BsgAAP4VNTYJCAAAAARcXAQAAAAAAAAAAAAAAVlA4IDwAAACwAQCdASoIAAcAAkA4JaQAAp25+JgAAP7aKEFuL6rZG+jyphW5gfq+IOvYzRzkbSGDYsstIjSUajaAQAA=",blurWidth:8,blurHeight:7},serviceUrl:"https://www.stephenwademazda.com/scheduleservice",inventoryUrl:"https://www.stephenwademazda.com/inventory/new/"},{name:"Cadillac",src:{src:"/_next/static/media/logo-cadillac.e0502c0a.webp",height:87,width:102,blurDataURL:"data:image/webp;base64,UklGRn4AAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSCoAAAAFUBLbVvRYMxBmJwkeRy8iIFEMadDILUJEJM6SOdkrIDYAXUMmo0ad+AZWUDggLgAAAHABAJ0BKggABwACQDglpAAClmgAAOHqU8vvYMVMQzfITLwyFxB6iHhzdwAEoAA=",blurWidth:8,blurHeight:7},serviceUrl:"https://www.stephenwadecadillac.com/service/serviceapptform/",inventoryUrl:"https://www.stephenwadecadillac.com/used-vehicles/?"},{name:"Jeep",src:{src:"/_next/static/media/logo-jeep.a13c75ed.webp",height:65,width:115,blurDataURL:"data:image/webp;base64,UklGRnwAAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAAAAAAAAAAAAAhDINMR4lAFS+sbajsJ4CXzJjNmSZWAAAAAAAAAAAAABWUDggLAAAALABAJ0BKggABQACQDgllAADFmCORAAA/vtxZQF5gPyrKtKn6yYpBdYwAAAA",blurWidth:8,blurHeight:5},serviceUrl:"https://www.stephenwadechryslerdodgejeep.com/online-service-scheduler/",inventoryUrl:"https://www.stephenwadechryslerdodgejeep.com/used-vehicles/"},{name:"Fiat",src:{src:"/_next/static/media/logo-fiat.d8a5b0a5.webp",height:76,width:101,blurDataURL:"data:image/webp;base64,UklGRpQAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSCoAAAABYBvZtpLT1Bec7LeIa0x9DjejhogIMFUTA36XrgCrJG1/6SU9AYj6sQRWUDggRAAAANABAJ0BKggABgACQDgljALsANyoo88AAP7Nt1OXpfAnP9krFnzGX59xrNN160EtUyhj9yEOxcExuYj+d6HzRQVD5AAA",blurWidth:8,blurHeight:6},serviceUrl:"https://www.stephenwadechryslerdodgejeep.com/online-service-scheduler/",inventoryUrl:"https://www.stephenwadechryslerdodgejeep.com/used-vehicles/"},{name:"RAM",src:{src:"/_next/static/media/logo-ram.1d9c6f34.webp",height:77,width:102,blurDataURL:"data:image/webp;base64,UklGRpAAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSCwAAAABUFRbO/RMO0JQxrEf9iSSQh6NxhIREfgx5whQ9t67Qv4F4k9g197LAaZ1A1ZQOCA+AAAAkAEAnQEqCAAGAAJAOCWkAAJdCnFgAP6HBpms85fICf3Fy4k0k37mtyyX4wHweV3Y/hynGu3VM55B8gKoAAA=",blurWidth:8,blurHeight:6},serviceUrl:"https://www.stephenwadechryslerdodgejeep.com/online-service-scheduler/",inventoryUrl:"https://www.stephenwadechryslerdodgejeep.com/used-vehicles/"},{name:"Chrysler",src:{src:"/_next/static/media/logo-chrysler.88360ffc.webp",height:99,width:132,blurDataURL:"data:image/webp;base64,UklGRnAAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSCsAAAABT6C4bSQ1trM/poOICOoL+TAwDAJAUgZZRJLBEnPssHEOEf1P1O1bE6IAAF
1ZQOCAeAAAAMAEAnQEqCAAGAAJAOCWkAANwAP7w+qZSi0isosAA",blurWidth:8,blurHeight:6},serviceUrl:"https://www.stephenwadechryslerdodgejeep.com/online-service-scheduler/",inventoryUrl:"https://www.stephenwadechryslerdodgejeep.com/used-vehicles/"},{name:"Dodge",src:{src:"/_next/static/media/logo-dodge.47a61be4.webp",height:85,width:102,blurDataURL:"data:image/webp;base64,UklGRpIAAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSCkAAAABP6CobRs413x7ABmBRURofjhgGICa65VGLgkMYv4WG0NE/5NP0zVEHABWUDggQgAAALABAJ0BKggABwACQDgliAJ0AQsa4IAA/qLS3Ncihdsu3uHMG4MlzdyqcY00LxOo7aSuZlz6t4OvUuf/ZyZ/YAAAAA==",blurWidth:8,blurHeight:7},serviceUrl:"https://www.stephenwadechryslerdodgejeep.com/online-service-scheduler/",inventoryUrl:"https://www.stephenwadechryslerdodgejeep.com/used-vehicles/"}];class d extends o.Component{isClient(){return!0}render(){this.props.type;let e=e=>{let{brand:t,index:s}=e;return(0,r.jsxs)("div",{className:"brand-card",style:{width:this.isClient()&&window.innerWidth<500?"100px":"180px",height:this.isClient()&&window.innerWidth<500?"100px":"180px",margin:"10px",borderRadius:"12px",backgroundColor:"#ffffff",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)",transition:"all 0.3s ease",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",overflow:"hidden"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-8px) scale(1.05)",e.currentTarget.style.boxShadow="0 12px 24px rgba(0, 0, 0, 0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0) scale(1)",e.currentTarget.style.boxShadow="0 4px 6px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)("a",{"aria-label":"".concat(t.name," link"),href:this.props.service?t.serviceUrl:t.inventoryUrl,target:"_blank",rel:"noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",textDecoration:"none"},children:(0,r.jsx)(l(),{src:t.src,alt:"Logo of ".concat(t.name," on the website of Stephen Wade Auto Showroom in St. George, Utah"),width:this.isClient()&&window.innerWidth<500?100:120,height:this.isClient()&&window.innerWidth<500?100:120,style:{maxWidth:this.isClient()&&window.innerWidth<500?100:120,maxHeight:this.isClient()&&window.innerWidth<500?100:120,objectFit:"contain",transform:t.scale?"scale(".concat(t.scale,")"):void 0,transition:"transform 0.3s ease"},className:"brand-image"})}),(0,r.jsx)("div",{style:{position:"absolute",bottom:"0",left:"0",right:"0",background:"linear-gradient(transparent, rgba(0,0,0,0.1))",height:"30px",opacity:"0",transition:"opacity 0.3s ease"},className:"brand-overlay"})]})};return(0,r.jsxs)("div",{id:this.props.id,style:{...this.props.style},className:"jsx-d765022eebfb3e73 "+(this.props.className||""),children:[(0,r.jsxs)("div",{style:{padding:"2rem 0"},className:"jsx-d765022eebfb3e73",children:[(0,r.jsx)("h2",{style:{padding:"12px",margin:"auto",fontSize:"28px",fontWeight:"600",color:"#333"},className:"jsx-d765022eebfb3e73 sw-flex sw-justify-center",children:this.props.header}),(0,r.jsx)("div",{style:{maxWidth:"1200px",margin:"0 auto"},className:"jsx-d765022eebfb3e73 sw-flex sw-justify-center sw-flex-wrap",children:c.map((t,s)=>(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(e,{brand:t,index:s})},s))})]}),(0,r.jsx)(i(),{id:"d765022eebfb3e73",children:".brand-card.jsx-d765022eebfb3e73:hover .brand-image.jsx-d765022eebfb3e73{transform:scale(1.1)}.brand-card.jsx-d765022eebfb3e73:hover .brand-overlay.jsx-d765022eebfb3e73{opacity:1}@media(max-width:768px){.brand-card.jsx-d765022eebfb3e73{width:140px!important;height:140px!important;margin:8px!important}.brand-card.jsx-d765022eebfb3e73 img.jsx-d765022eebfb3e73{max-width:90px!important;max-height:90px!important}}"})]})}constructor(e){super(e),this.state={}}}d.defaultProps={type:"info",className:"",id:"brand",service:!1};let h=d},64826:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r={src:"/_next/static/media/laborDaybanner.18ebf454.png",height:724,width:2172,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAM1BMVEV1dYpSbZGLlqfQvMCdnauul59tT19tcIa1usMwQGE+S2rBqK+Dh5obL1RYZ4FAPVevjZRWMaqzAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVR4nGNgZOFgYeLg4WNgY2VmFeDm4mTgZ2dgYGDn5AUACKUAqjG5kL4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:3}},78551:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>O,default:()=>z});var r=s(37876),a=s(75961),i=s.n(a),o=s(14232),n=s(77328),l=s.n(n),c=s(45105),d=s.n(c),h=s(3688),p=s(10284),u=s.n(p),g=s(72193),w=s(72313),y=s(51514),m=s(54587),x=s.n(m),b=s(90733),A=s(4917),f=s.n(A),S=s(12033),v=s(98906),k=s(95575);
1class j extends o.Component{renderCard(e){let t=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u(),{path:e.icon,color:this.props.iconColor,className:"sw-w-25px sw-h-25px sw-w-20px-phone sw-h-20px-phone",style:{marginRight:8,display:"block"}}),(0,r.jsx)("span",{className:"sw--white sw--bold sw--size-sm",style:{whiteSpace:"nowrap"},children:e.label})]}),s="sw-flex sw-align-center sw-border sw-round sw-m-r-sm sw-p-sm sw-p-xsm-tablet sw-transition-swing sw-h-50px sw-min-w-105px",a={borderColor:"rgba(255,255,255,0.1)",backgroundColor:"#243243",cursor:"pointer",textDecoration:"none",alignItems:"center",display:"flex"};return e.link?(0,r.jsx)("a",{href:e.link,target:"_self",rel:"",className:s,style:a,tabIndex:0,onMouseOver:e=>e.currentTarget.style.borderColor=this.props.iconColor,onFocus:e=>e.currentTarget.style.borderColor=this.props.iconColor,onMouseOut:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",children:t}):(0,r.jsx)("div",{className:s,style:a,tabIndex:0,onMouseOver:e=>e.currentTarget.style.borderColor=this.props.iconColor,onFocus:e=>e.currentTarget.style.borderColor=this.props.iconColor,onMouseOut:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",children:t})}render(){let{className:e,style:t}=this.props;return(0,r.jsxs)("div",{className:"sw-primary sw-round-10px sw-p-sm sw-m-b-md sw-w-100P sw-p-xsm sw-p-xsm-phone ".concat(e||"").trim(),style:{maxWidth:"100%",...t},children:[(0,r.jsx)("div",{className:"sw--white sw--bold sw--size-md sw-m-b-xsm sw--center-lap",style:{whiteSpace:"nowrap",textShadow:"0 1px 0 #000, 1px 0 0 #000, 0 -1px 0 #000, -1px 0 0 #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000"},children:this.props.title}),(0,r.jsx)(v.p,{showArrows:!0,arrowColor:this.props.arrowColor,className:"sw-w-100P sw-flex-row sw-flex-row-phone",children:this.props.items.map((e,t)=>(0,r.jsx)(v.q,{"aria-label":e.label,children:this.renderCard(e)},t))})]})}}j.defaultProps={iconColor:"#f3b332",className:"",style:{},arrowColor:null};var C=s(46252);class M extends o.Component{componentDidUpdate(e){this.state.active!==this.props.activeByDefault&&this.props.controlled&&this.setState({active:this.props.activeByDefault})}render(){var e;let{className:t,id:s,style:a}=this.props,i=this.props.width,o=this.props.height,n=o-8,l=Math.min(Math.max(null!=(e=this.props.knobWidth)?e:38,n),Math.max(0,i-8)),c=i-l-8,d=(this.props.activeColor||"").startsWith("sw-"),h=d?"#272727":this.props.activeColor,p=this.state.active?this.props.onLabel:this.props.offLabel;return(0,r.jsx)("div",{className:"sw-inline-block sw-position-relative sw-round ".concat(this.state.active&&d?this.props.activeColor:""," ").concat(t||""),id:s,style:{width:i,height:o,borderRadius:9999,cursor:this.props.disabled?"not-allowed":"pointer",background:(this.state.active,"linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2))"),boxShadow:this.state.active?"inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(255,255,255,0.18), 0 0 18px rgba(255,255,255,0.25)":"inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 24px rgba(0,0,0,0.35)",transition:"box-shadow 220ms ease, background 220ms ease",padding:4,...a},onClick:this.toggle,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&this.toggle()},tabIndex:0,role:"switch","aria-label":p,"aria-checked":this.state.active,children:(0,r.jsx)("div",{className:"sw-position-absolute sw-flex sw-align-center sw-justify-center",style:{top:4,left:4,width:l,height:n,borderRadius:9999,background:this.state.active?h:"#FFFFFF",color:this.state.active?"#FFFFFF":"#272727",fontWeight:900,fontSize:Math.max(11,Math.min(6,n/2.6)),letterSpacing:.5,textTransform:"uppercase",transform:this.state.active?"translateX(".concat(c,"px)"):"translateX(0px)",transition:"transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, box-shadow 220ms ease",userSelect:"none"},children:p})})}constructor(e){super(e),this.toggle=()=>{this.props.disabled||this.setState({active:!this.state.active},()=>{this.props.onChange&&this.props.onChange(this.state.active)})},this.state={active:this.props.activeByDefault||!1}}}M.defaultProps={activeByDefault:!1,className:"",id:"SwitchV2",style:{},onChange:()=>{},controlled:!0,activeColor:"#272727",onLabel:"New",offLabel:"Used",width:80,height:25,knobWidth:38};var B=s(35471),T=s(64826);let D={src:"/_next/static/media/laborDaybanner-sm.5fe3d2d2.png",height:213,width:640,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAM1BMVEV0dYpuUGDQu78/S2mnmqSzuMJSbZGRmqtsb4UxQGGDh5tbaYOvjJTBqK8/PVizmqIbLlTJ+9/2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVR4nGNgY2FlZ2fl4mZgZGHi5+Fl5mTg42BgYODgFAAACKYAqsDoMNUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3};var R=s(15270);let N={src:"/_next/static/media/groupMap.500f3ae9.png"},U="RBUXJv8Pkb4",W="https://www.youtube.com/embed/".concat(U,"?rel=0&modestbranding=1&controls=1"),P="https://img.youtube.com/vi/".concat(U,"/maxresdefault.jpg");function F(){let[e,t]=o.useState(!1);return(0,r.jsx)("div",{className:"sw-flex sw-justify-center",style:{width:"100%",padding:"1.5rem 1rem",maxWidth:"1400px",margin:"0 auto",boxSizing:"border-box"},children:(0,r.jsx)("div",{style:{position:"relative",width:"100%",maxWidth:"900px",aspectRatio:"16 / 9",overflow:"hidden"},children:e?(0,r.jsx)("iframe",{title:"YouTube video player",src:"".concat(W,"&autoplay=1"),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0},allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",sandbox:"allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-top-navigation"}):(0,r.jsx)("button",{type:"button","aria-label":"Play promotion video",onClick:()=>t(!0),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,padding:0,cursor:"pointer",backgroundImage:"url(".concat(P,")"),backgroundPosition:"center",backgroundSize:"cover"},children:(0,r.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"78px",height:"56px",borderRadius:"14px",backgroundColor:"rgba(255, 0, 0, 0.9)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,r.jsx)("span",{style:{width:0,height:0,borderTop:"13px solid transparent",borderBottom:"13px solid transparent",borderLeft:"22px solid white",marginLeft:"5px"}})})})})})}class L extends o.Component{componentDidUpdate(e){this.props.language!==this.state.language&&this.setState({language:this.props.language})}calculateFinancePayment(e){return .0075*(e-3e3)/(1-Math.pow(1.0075,-36))}async fetchTopSearches(){try{let e=await fetch("/api/filters/searches"),t=await e.json();this.setState({topSearches:t.topSearches||[]})}catch(e){console.error("Error fetching top searches:",e)}}generateSearchLink(e){let t=e.toLowerCase().trim(),s={tacoma:'Make=%5B"Toyota"%5D&Model=%5B"Tacoma"%5D',tesla:'Make=%5B"Tesla"%5D',nissan:'Make=%5B"Nissan"%5D',lexus:'Make=%5B"Lexus"%5D',toyota:'Make=%5B"Toyota"%5D',honda:'Make=%5B"Honda"%5D',ford:'Make=%5B"Ford"%5D',chevrolet:'Make=%5B"Chevrolet"%5D',chevy:'Make=%5B"Chevrolet"%5D',jeep:'Make=%5B"Jeep"%5D',ram:'Make=%5B"Ram"%5D',bmw:'Make=%5B"BMW"%5D',mercedes:'Make=%5B"Mercedes-Benz"%5D',"mercedes-benz":'Make=%5B"Mercedes-Benz"%5D',volkswagen:'Make=%5B"Volkswagen"%5D',vw:'Make=%5B"Volkswagen"%5D',cadillac:'Make=%5B"Cadillac"%5D',subaru:'Make=%5B"Subaru"%5D',camry:'Model=%5B"Camry"%5D',accord:'Model=%5B"Accord%20Hybrid"%2C"Accord%20Sedan"%5D',"f-150":'Model=%5B"F-150"%5D',silverado:'Model=%5B"Silverado%201500"%5D',"cr-v":'Model=%5B"CR-V"%2C"CR-V%20Hybrid"%5D',rogue:'Model=%5B"Rogue"%5D',"grand cherokee":'Model=%5B"Grand%20Cherokee"%2C"Grand%20Cherokee%20L"%2C"Grand%20Cherokee%204xe"%5D',tahoe:'Model=%5B"Tahoe"%5D',1500:'Model=%5B"1500"%5D',civ
1ic:"SearchQuery=civic","civic type r":"SearchQuery=civic type r","civic hybrid":"SearchQuery=civic hybrid","civic sedan":"SearchQuery=civic sedan","civic coupe":"SearchQuery=civic coupe","civic hatchback":'Model=%5B"Civic%20Hatchback"%5D',"4runner":'Model=%5B"4Runner"%5D',leather:'Features=%5B"Leather%20seats"%5D',sunroof:'Features=%5B"Sun%2Fmoonroof"%5D',moonroof:'Features=%5B"Sun%2Fmoonroof"%5D',"remote start":'Features=%5B"Remote%20start"%5D',navigation:'Features=%5B"Navigation%20System"%5D',"premium audio":'Features=%5B"Premium%20Audio"%5D',"heated seats":'Features=%5B"Heated%20Seats"%5D',"backup camera":'Features=%5B"Back-up%20Camera"%5D',bluetooth:'Features=%5B"Bluetooth"%5D',"apple carplay":'Features=%5B"Apple%20CarPlay"%5D',"android auto":'Features=%5B"Android%20Auto"%5D',truck:'BodyStyles=%5B"Truck"%5D',suv:'BodyStyles=%5B"SUV"%5D',sedan:'BodyStyles=%5B"Sedan"%5D',pickup:'BodyStyles=%5B"Truck"%5D',certified:"certified=true",cpo:"certified=true","low mileage":"maxMileage=20000&used=true","under 25k":"maxPrice=25000","under 30k":"maxPrice=30000","under 40k":"maxPrice=40000",specials:"specials=true",used:"used=true",new:"newVehicle=true"};if(s[t])return"/inventory?".concat(s[t],"&");let r=t.split(" "),a=[];for(let e of r)s[e]&&a.push(s[e]);return a.length>0?"/inventory?".concat(a.join("&"),"&"):"/inventory?SearchQuery=".concat(encodeURIComponent(t),"&")}getIconForSearchTerm(e){let t=e.toLowerCase();if(t.includes("truck")||t.includes("pickup")||t.includes("1500")||t.includes("2500")||t.includes("3500")||t.includes("silverado")||t.includes("f-150")||t.includes("tacoma"))return g.PgB;if(t.includes("suv")||t.includes("crossover")||t.includes("cr-v")||t.includes("rogue")||t.includes("grand cherokee")||t.includes("tahoe")||t.includes("4runner"))return g.H00;if(t.includes("sedan")||t.includes("car")||t.includes("camry")||t.includes("accord"))return g.d9K;if(t.includes("mileage")||t.includes("miles")||t.includes("low mileage"))return g.um;if(t.includes("certified")||t.includes("cpo"))return g.Hnj;else if(t.includes("leather"))return g.UIH;else if(t.includes("sunroof")||t.includes("moonroof"))return g.vmQ;else if(t.includes("remote"))return g.HDR;else if(t.includes("audio")||t.includes("sound")||t.includes("premium audio"))return g.fjg;else if(t.includes("road")||t.includes("drive"))return g.nB$;else if(t.includes("price")||t.includes("under"))return g.HzW;else return g.d9K}getPopularSearchItems(){return this.state.topSearches.map(e=>({icon:this.getIconForSearchTerm(e.search||e.term),label:e.search||e.term,link:this.generateSearchLink(e.search||e.term)}))}async componentDidMount(){this.fetchTopSearches(),this.isDesktopCheckerForPageUpButton=window.innerWidth>576,this.setState({screenWidth:window.innerWidth}),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll),window.addEventListener("click",this.handleClickOutside);let e=[];this.state.user.length>0&&this.setState({loadedRecommendedVehicles:!0});let t=await fetch("/api/users/recentlyViewedVehicleUniversal",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stockNumbers:(0,w.e)()})});if(t.ok&&((e=await t.json()).sort((e,t)=>(0,w.e)().indexOf(e.StockNumber)-(0,w.e)().indexOf(t.StockNumber)),e.forEach(e=>{e.PhotoURLs=e.PhotoURLs.split(","),e.PhotoURLs.forEach((t,s)=>{t.includes("640x480")&&(e.PhotoURLs[s]=t.replace("640x480","1280x720"))})}),this.setState({recentlyViewedVehicles:e})),e.length<10){let t=(0,w.e)(),s=e.length>0?e[e.length-1].StockNumber:t.length>0?t[t.length-1]:null;if(!s)return void this.fetchArticles();let r=await fetch("/api/inventory/similarVehicles?stock=".concat(s)),a=await r.json(),i={MSRP:"MSRP",Odometer:"Odometer",PhotoURLs:"PhotoURLs",SwagPrice:"AskingPrice",VIN:"VIN",bodystyle:"BodyStyle",certified:"CertifiedUsedCar",isPhotoed:"isPhotoed",make:"Make",model:"Model",nu:"nu",stock_num:"StockNumber",websiteVDPURL:"websiteVDPURL",year:"ModelYear"},o=e=>{let t={};return Object.keys(e).forEach(s=>{i[s]?t[i[s]]=e[s]:t[s]=e[s]}),t},n=[];Array.isArray(a)?n=a.map(o):a&&"object"==typeof a&&(n=[o(a)]),n.forEac
1h(e=>{e.PhotoURLs=e.PhotoURLs.split(","),e.PhotoURLs.forEach((t,s)=>{t.includes("640x480")&&(e.PhotoURLs[s]=t.replace("640x480","1280x720"))})}),this.setState({similarVehicles:n})}this.fetchArticles()}handleSearchChange(e){let t=e.target.value;this.setState({searchVehicles:t}),t.length>0&&""!==t.trim()?this.fetchSuggestions(t):this.setState({suggestions:[]})}fetchSuggestions(e){let t=this.state.currentFetchId+1;this.setState({currentFetchId:t}),fetch("/api/srp/search?search=".concat(encodeURIComponent(e))).then(e=>e.json()).then(e=>{if(this.state.currentFetchId===t){let t=(Array.isArray(null==e?void 0:e.vehicles)?e.vehicles:[]).map(e=>(""!==e.photoURLs.trim()||0!==e.photoURLs.length?(e.photoURLs=e.photoURLs.split(","),e.isPhotoed&&(e.photoURLs[0]="https://cdn.carumai.com/".concat(e.VIN,"/cover-photo-large.jpg"))):e.photoURLs=e.photoURLs.split(","),e));this.setState({suggestions:t})}}).catch(e=>{console.error("Error fetching suggestions:",e)})}componentWillUnmount(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("click",this.handleClickOutside),window.removeEventListener("resize",this.handleResize)}setURLParams(){this.setState({allFilters:[]},()=>{let e=[],t="?";this.state.selectedMakes.length>0&&(this.state.selectedMakes.forEach(t=>{this.state.allFilters.includes(t)||e.push(t)}),t+="Make="+encodeURIComponent(JSON.stringify(this.state.selectedMakes))+"&"),this.state.selectedModels.length>0&&(this.state.selectedModels.forEach(t=>{this.state.allFilters.includes(t)||e.push(t)}),t+="Model="+encodeURIComponent(JSON.stringify(this.state.selectedModels))+"&"),this.state.selectedBodyStyles.length>0&&(this.state.selectedBodyStyles.forEach(t=>{this.state.allFilters.includes(t)||e.push(t)}),t+="BodyStyles="+encodeURIComponent(JSON.stringify(this.state.selectedBodyStyles))+"&"),this.state.priceSliderStart>0&&(e.push("Min Price: $"+this.state.priceSliderStart.toLocaleString()),t+="minPrice="+encodeURIComponent(this.state.priceSliderStart)+"&"),this.state.priceSliderEnd<2e5&&(e.push("Max Price: $"+this.state.priceSliderEnd.toLocaleString()),t+="maxPrice="+encodeURIComponent(this.state.priceSliderEnd)+"&"),this.state.switchUsed?t+="new=true&":t+="used=true&",this.setState({allFilters:e}),window.location.href="/inventory"+t})}handleScroll(){window.scrollY>0&&!this.state.showScrollToTopButton?this.setState({showScrollToTopButton:!0}):0===window.scrollY&&this.state.showScrollToTopButton&&this.setState({showScrollToTopButton:!1})}render(){let e="sw-align-center sw-border sw-round sw-m-r-sm sw-p-sm sw-p-xsm-tablet sw-transition-swing sw-flex sw-justify-between",t={borderColor:"rgba(255,255,255,0.1)",cursor:"pointer",textDecoration:"none",alignItems:"center",display:"",position:"relative",transition:"background 0.2s",background:"rgba(255, 255, 255, 0.15)",border:"1px solid rgba(203, 203, 203, 1.5)",backdropFilter:"blur(6px)",WebkitBackdropFilter:"blur(6px)",boxShadow:"0 4px 10px rgba(0,0,0,0.1), 0 0 18px rgba(243,179,50,var(--spill))",overflow:"hidden","--glow":0,"--spill":0};return(0,r.jsxs)("div",{children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:"New & Used Car Dealerships in St. George, Utah"}),(0,r.jsx)("meta",{name:"description",content:"Stephen Wade Auto Center is your go-to destination for quality new and used cars in St. George. Visit us today for unparalleled service in Southern Utah."}),(0,r.jsx)("meta",{name:"keywords",content:"Stephen Wade, Auto Center, St. George, Utah, Southern Utah, new cars, used cars, Toyota, Nissan, Chevy, Chrysler, Fiat, Mercedes, Dodge, trucks, SUVs, dealership, service, trade-in"}),(0,r.jsx)("meta",{name:"author",content:"Stephen Wade Auto Center"}),(0,r.jsx)("meta",{name:"referrer",content:"origin"}),(0,r.jsx)("meta",{name:"robots",content:"index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1"}),(0,r.jsx)("meta",{name:"googlebot",content:"index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,r.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,r.jsx)("link",{rel:"canonical",href:"https://www.stephenwade.com/"}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"https://www.stephenwade.com/"}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"en",href:"https://www.stephenwade.com/"}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"es",href:"https://www.stephenwade.com/es/"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:title",content:"New & Used Car Dealerships in St. George, Utah"}),(0,r.jsx)("meta",{property:"og:description",content:"Southern Utah's auto mall for new and used vehicles, expert service, and easy trade-ins. Shop top brands at Stephen Wade Auto Center in St. George, Utah."}),(0,r.jsx)("meta",{property:"og:url",content:"https://www.stephenwade.com/"}),(0,r.jsx)("meta",{property:"og:image",content:"https://www.stephenwade.com/images/swac-black.webp"}),(0,r.jsx)("meta",{property:"og:site_name",content:"Stephen Wade Auto Center"}),(0,r.jsx)("meta",{property:"og:image:alt",content:"Stephen Wade Auto Center logo"}),(0,r.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,r.jsx)("meta",{property:"og:locale:alternate",content:"es_US"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:"New & Used Car Dealerships in St. George, Utah"}),(0,r.jsx)("meta",{name:"twitter:description",content:"Southern Utah's one-stop auto mall for new & used vehicles, expert service, and easy trade-ins. Shop top brands at Stephen Wade Auto Center."}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://www.stephenwade.com/images/swac-black.webp"}),(0,r.jsx)("meta",{name:"twitter:site",content:"@StephenWadeAuto"}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization","@id":"https://www.stephenwade.com/#organization",name:"Stephen Wade Auto Center",url:"https://www.stephenwade.com/",logo:"https://www.stephenwade.com/images/swac-black.webp",sameAs:["https://twitter.com/StephenWadeAuto"]})}}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebSite","@id":"https://www.stephenwade.com/#website",url:"https://www.stephenwade.com/",name:"Stephen Wade Auto Center",publisher:{"@id":"https://www.stephenwade.com/#organization"},potentialAction:{"@type":"SearchAction",target:"https://www.stephenwade.com/inventory?search={search_term_string}","query-input":"required name=search_term_string"}})}}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-toyota",name:"Stephen Wade Toyota",url:"https://www.stephenwade.com/toyota",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"}
1,telephone:"+1-435-253-6873",address:{"@type":"PostalAddress",streetAddress:"150 Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.07763722294798,longitude:-113.58720960758419},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"09:00",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"09:00",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"20:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"18:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-honda",name:"Stephen Wade Honda",url:"https://www.stephenwade.com/honda",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"},telephone:"+1-435-409-4574",address:{"@type":"PostalAddress",streetAddress:"1630 Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.080154024983415,longitude:-113.5858828489628},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:30",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"20:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"15:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-mazda",name:"Stephen Wade Mazda",url:"https://www.stephenwade.com/mazda",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"},telephone:"+1-435-409-4574",address:{"@type":"PostalAddress",streetAddress:"1630 Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.080114438401885,longitude:-113.58636777277707},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:30",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"15:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-cjdr",name:"Stephen Wade Chrysler Jeep Dodge Ram",url:"https://www.stephenwade.com/cjdr",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"},telephone:"+1-435-634-4200",address:{"@type":"PostalAddress",streetAddress:"1724 S Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.07869048498456,longitude:-113.58676274546875},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:30",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"17:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-nissan",name:"Stephen Wade Nissan",url:"https://www.stephenwade.com/nissan",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"}
1,telephone:"+1-435-634-4522",address:{"@type":"PostalAddress",streetAddress:"230 Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.07777158478238,longitude:-113.58830593341442},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:30",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"17:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-chevrolet",name:"Stephen Wade Chevrolet",url:"https://www.stephenwade.com/chevy",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"},telephone:"+1-435-986-7996",address:{"@type":"PostalAddress",streetAddress:"1670 Auto Mall Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.07956639351326,longitude:-113.58595008391296},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:00",closes:"19:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:00",closes:"19:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"08:00",closes:"15:00"}]}]},{"@type":"AutoDealer","@id":"https://www.stephenwade.com/#dealer-mercedes-benz",name:"Mercedes-Benz of St. George",url:"https://www.stephenwade.com/mercedes-benz",parentOrganization:{"@id":"https://www.stephenwade.com/#organization"},telephone:"+1-435-634-7533",address:{"@type":"PostalAddress",streetAddress:"1792 S Black Ridge Dr",addressLocality:"St. George",addressRegion:"UT",postalCode:"84770",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:37.0774072890203,longitude:-113.58954019815525},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"09:00",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"09:00",closes:"18:00"}],department:[{"@type":"AutoRepair",name:"Service & Parts",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"07:30",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"07:30",closes:"15:00"}]}]}]})}}),(0,r.jsx)("meta",{name:"google-site-verification",content:"3v3zvxt3elcfjskipcvPAmzNzKwTVKoYH53WY4RDE4w"})]}),(0,r.jsx)(d(),{id:"onsite",strategy:"afterInteractive",type:"text/javascript",src:"https://onsite.optimonk.com/script.js?account=252468",async:!0}),(0,r.jsx)("button",{"aria-label":"up button",className:"\n                            sw-position-fixed sw-w-50px sw-h-50px sw-round-100P sw-transition-swing sw-primary-D sw-z-10 \n                            sw-flex sw-justify-center sw-align-center sw-p-0 sw-shadow-0 sw-shadow-0-hov sw-primary-hov \n                            ".concat(this.state.showScrollToTopButton?"sw-opacity-100P":"sw-opacity-0P","\n                        "),title:"Scroll to top",style:{bottom:120,right:15},onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,r.jsx)(u(),{path:g.iDA,size:1.4})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(h.F,{cycle:!0,cycleInterval:6e3,backgroundColor:"#fff",hideArrows:!0,height:"300px",hideDelimiters:!0,className:"sw-h-100P",style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/mercedes/mercedes-beauty.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%",zIndex:-2},children:[(0,r.jsx)(h.A,{style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/toyota/toyota-beauty.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%"}}),(0,r.jsx)(h.A,{style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/nissan/nissan-beauty.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%"}}),(0,r.jsx)(h.A,{style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/chevycad/184 Panorama 1920 614.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%"}}),(0,r.jsx)(h.A,{style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/hondamazda/hondamazda-beauty.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%"}}),(0,r.jsx)(h.A,{style:{background:'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/images/cjdrf/cjdr-beauty.webp") no-repeat center center',backgroundSize:"cover",height:"500px",width:"100%"}})]}),(0,r.jsxs)("div",{className:"sw-w-95P-tablet homepage-hero",children:[(0,r.jsx)(x(),{src:y.A,alt:"Stephen Wade Auto Center",width:0,height:0,sizes:"100vw",style:{width:"auto"},className:"sw-h-75px sw-m-b-sm"}),(0,r.jsx)("h1",{className:"sw-none-phone sw-m-b-sm sw-m-b-0-lap",style:{color:"#fff",fontSize:"2rem",fontWeight:"bold"},children:"Inventory Search"}),(0,r.jsxs)("div",{style:{display:"flex",gap:"1rem",width:"100%"},className:"sw-flex sw-justify-center sw-align-center sw-flex-wrap sw-m-b-sm sw-m-b-0-lap",children:[(0,r.jsxs)("span",{className:"btn-icon-only-phone",style:{display:"flex",alignItems:"center",gap:"0.5rem",padding:"0.75rem 1.5rem",borderRadius:"8px",border:"none",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",fontWeight:"900",width:"150px",position:"relative"},onMouseEnter:e=>{"vehicle"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#007bff")},onMouseLeave:e=>{"vehicle"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#fff")},onClick:e=>{e.currentTarget.style.color="#fff",this.setState({selectedFilterType:"vehicle"})},children:[(0,r.jsx)(u(),{path:g.jVN,size:1.3}),(0,r.jsx)("span",{className:"sw-none-phone",children:"Vehicle"}),"vehicle"===this.state.selectedFilterType&&(0,r.jsx)("span",{style:{position:"absolute",left:this.state.screenWidth<=576?"8px":"10%",bottom:this.state.screenWidth<=576?"4px":"6px",width:this.state.screenWidth<=576?"calc(100% - 16px)":"80%",height:"3px",background:"#fff",borderRadius:"2px",display:"block",pointerEvents:"none"}})]}),(0,r.jsxs)("span",{className:"btn-icon-only-phone btn-mobile-tiles",style:{display:"flex",alignItems:"center",gap:"0.5rem",padding:"0.75rem 1.5rem",borderRadius:"8px",border:"none",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",fontWeight:"900",width:"160px",position:"relative"},onMouseEnter:e=>{"mobileTiles"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#007bff")},onMouseLeave:e=>{"mobileTiles"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#fff")},onClick:e=>{e.currentTarget.style.color="#fff",this.setState({selectedFilterType:"mobileTiles"})},children:[(0,r.jsx)(u(),{path:g.w8u,size:1.3}),(0,r.jsx)("span",{className:"sw-none-phone sw--white",children:"Popular Filters"}),"mobileTiles"===this.state.selectedFilterType&&(0,r.jsx)("span",{style:{position:"absolute",left:"10%",bottom:"6px",width:"80%",height:"3px",background:"#fff",borderRadius:"2px",display:"block",pointerEvents:"none"}})]}),(0,r.jsxs)("span",{className:"btn-icon-only-phone",style:{display:"flex",alignItems:"center",gap:"0.5rem",padding:"0.75rem 1.5rem",borderRadius:"8px",border:"none",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",fontWeight:"900",width:"150px",position:"relative"},onMouseEnter:e=>{"budget"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#007bff")},onMouseLeave:e=>{"budget"!==this.state.selectedFilterType&&(e.currentTarget.style.color="#fff")},onClick:e=>{e.currentTarget.style.color="#fff",this.setState({selectedFilterType:"budget"})},children:[(0,r.jsx)(u(),{path:g.qq5,size:1.3}),(0,r.jsx)("span",{className:"sw-none-phone",children:"Budget"}),"budget"===this.state.selectedFilterType&&(0,r.jsx)("span",{style:{position:"absolute",left:"10%",bottom:"6px",width:"80%",height:"3px",background:"#fff",borderRadius:"2px",display:"block",pointerEvents:"none"}})]})]}),(0,r.jsxs)("div",{children:["vehicle"===this.state.selectedFilterType&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"sw-flex sw-justify-center sw-align-center sw-flex-wrap sw-m-t-sm-lap",style:{gap:"1rem"},children:[(0,r.jsx)("div",{ref:this.bodyStyleDropdownRef,className:"sw-m-lr-sm sw-w-250px",style:{backgroundColor:"rgba(255, 255, 255, 0.2)",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",backdropFilter:"blur(10px)",fontWeight:"500",borderRadius:"8px",position:"relative",zIndex:104},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.35)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.2)"},onClick:async()=>{let e=!this.state.bodyStyleDropdownOpen;this.setState({bodyStyleDropdownOpen:e,loadingBodyStyles:!!e,makeDropdownOpen:!1,loadingMakes:!1,modelDropdownOpen:!1,loadingModels:!1});try{let e=await fetch("/api/filters/bodyStyles",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:this.state.selectedLocations,make:this.state.selectedMakes,model:this.state.selectedModels,trim:this.state.selectedTrims,year:this.state.selectedYears,trans:this.state.selectedTrans,fuel:this.state.selectedFuelTypes,feature:this.state.selectedFeatures,color:this.state.selectedColors,engine:this.state.selectedEngineTypes,orderBy:this.state.sortSelect,certified:this.state.switchCertfied,special:this.state.switchSpecials,minPrice:this.state.priceSliderStart,maxPrice:this.state.priceSliderEnd,minMileage:this.state.mileageSliderStart,maxMileage:this.state.mileageSliderEnd,minMPG:this.state.mpgSliderStart,maxMPG:this.state.mpgSliderEnd,newVehicle:this.state.switchNew,used:this.state.switchUsed,search:this.state.searchVehicles,fuelEfficient:!!this.state.switchFuel})}),t=await e.json();this.setState({filterBodyStyles:t,loadingBodyStyles:!1,displayNoFilters:0===t.length},()=>{})}catch(e){console.log(e)}},children:(0,r.jsxs)("div",{className:"sw-p-sm",children:[(0,r.jsxs)("div",{className:"sw-flex sw-justify-between sw--bold sw-align-center",children:[(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",overflow:"hidden",flex:1,minWidth:0},children:[(0,r.jsx)("span",{style:{fontSize:this.state.selectedBodyStyles.length>0?"9px":"inherit",opacity:this.state.selectedBodyStyles.length>0?.5:1,transition:"all 0.2s ease",lineHeight:this.state.selectedBodyStyles.length>0?"1.2":"inherit"},children:"Body Style"}),this.state.selectedBodyStyles.length>0&&(0,r.jsx)("span",{style:{fontSize:"13px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:this.state.selectedBodyStyles.join(", ")})]}),(0,r.jsx)(u(),{path:g.W5x,size:1,style:{transform:this.state.bodyStyleDropdownOpen?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease-in-out",flexShrink:0}})]}),(0,r.jsxs)("div",{style:{backgroundColor:"rgba(0, 0, 0, 0.8)",position:"absolute",top:"100%",left:"0",right:"0",zIndex:110,maxHeight:this.state.bodyStyleDropdownOpen?"500px":"0px",overflowY:"scroll",transition:"max-height 0.2s ease"},children:[(0,r.jsxs)("div",{className:"sw-m-sm",children:[(0,r.jsx)("input",{type:"text",style:{fontSize:"16px"},className:"sw-m-t-0 sw-m-b-xsm",placeholder:"Search Body Styles...",value:this.state.searchBodyStyles,onClick:e=>e.stopPropagation(),onChange:e=>{this.setState({searchBodyStyles:e.target.value})}}),(0,r.jsx)("button",{className:"sw-m-t-sm",style:{fontSize:"13px",color:"#fff",cursor:"pointer",textDecoration:"underline",background:"transparent",border:"none",transition:"color 0.2s"},onClick:()=>{this.setState({searchBodyStyles:"",loadingBodyStyles:!0,selectedBodyStyles:[]})},onMouseEnter:e=>e.currentTarget.style.color="#f3b332",onMouseLeave:e=>e.currentTarget.style.color="#fff",children:"Clear Filters"})]}),this.state.loadingBodyStyles?[void 0].map((e,t)=>(0,r.jsx)(b.A,{children:(0,r.jsx)("div",{style:{height:"32px",margin:"6px 0"}})},t)):this.state.filterBodyStyles.filter(e=>""!==e.BodyStyle&&e.BodyStyle.toLowerCase().includes(this.state.searchBodyStyles.toLowerCase())).map((s,a)=>(0,r.jsxs)("div",{onFocus:e=>e.currentTarget.style.borderColor="#f3b332",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",onMouseMove:e=>{let t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left,a=e.clientY-t.top;e.currentTarget.style.setProperty("--x","".concat(r,"px")),e.currentTarget.style.setProperty("--y","".concat(a,"px")),e.currentTarget.style.setProperty("--glow",this.state.selectedBodyStyles.includes(s.BodyStyle)?"0.3":"0.1");let i=e.currentTarget.previousElementSibling,o=e.currentTarget.nextElementSibling;i&&i.style.setProperty("--spill","0.2"),o&&o.style.setProperty("--spill","0.2"),this.state.selectedBodyStyles.includes(s.BodyStyle)?e.currentTarget.style.color="white":e.currentTarget.style.color="#007bff"},onMouseLeave:e=>{e.currentTarget.style.removeProperty("--x"),e.currentTarget.style.removeProperty("--y"),e.currentTarget.style.setProperty("--glow","0");let t=e.currentTarget.previousElementSibling,r=e.currentTarget.nextElementSibling;t&&t.style.setProperty("--spill","0"),r&&r.style.setProperty("--spill","0"),this.state.selectedBodyStyles.includes(s.BodyStyle),e.currentTarget.style.color="white"},style:{...t,color:(this.state.selectedBodyStyles.includes(s.BodyStyle),"white"),backgroundColor:this.state.selectedBodyStyles.includes(s.BodyStyle)?"#007bff":"rgba(255,255,255,0.15)",background:"radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(243,179,50,var(--glow)) 0 30%, transparent 60%), ".concat(this.state.selectedBodyStyles.includes(s.BodyStyle)?"#007bff":"rgba(255,255,255,0.15)")},className:"".concat(e," sw-m-sm "),onClick:e=>{if(e.stopPropagation(),this.state.selectedBodyStyles.includes(s.BodyStyle)){let e=JSON.parse(JSON.stringify(this.state.selectedBodyStyles));e=e.filter(e=>e!==s.BodyStyle),this.setState({selectedBodyStyles:e,loading:!0},()=>{})}else this.setState({selectedBodyStyles:[...this.state.selectedBodyStyles,s.BodyStyle],loading:!0},()=>{})},children:[(0,r.jsx)("span",{children:s.BodyStyle}),(0,r.jsxs)("span",{children:["(",s.Count,")"]})]},a))]})]})}),(0,r.jsx)("div",{ref:this.makeDropdownRef,className:"sw-m-lr-sm sw-w-250px",style:{backgroundColor:"rgba(255, 255, 255, 0.2)",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",backdropFilter:"blur(10px)",fontWeight:"500",borderRadius:"8px",position:"relative",zIndex:103},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.35)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.2)"},onClick:async()=>{let e=!this.state.makeDropdownOpen;this.setState({makeDropdownOpen:e,loadingMakes:!!e,bodyStyleDropdownOpen:!1,modelDropdownOpen:!1,loadingModels:!1});try{let e=await fetch("/api/filters/makes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:this.state.selectedLocations,model:this.state.selectedModels,year:this.state.selectedYears,trim:this.state.selectedTrims,trans:this.state.selectedTrans,body:this.state.selectedBodyStyles,fuel:this.state.selectedFuelTypes,feature:this.state.selectedFeatures,color:this.state.selectedColors,engine:this.state.selectedEngineTypes,orderBy:this.state.sortSelect,certified:this.state.switchCertfied,special:this.state.switchSpecials,minPrice:this.state.priceSliderStart,maxPrice:this.state.priceSliderEnd,minMileage:this.state.mileageSliderStart,maxMileage:this.state.mileageSliderEnd,minMPG:this.state.mpgSliderStart,maxMPG:this.state.mpgSliderEnd,newVehicle:this.state.switchNew,used:this.state.switchUsed,search:this.state.searchVehicles,fuelEfficient:!!this.state.switchFuel})}),t=await e.json();this.setState({filterMakes:t,loadingMakes:!1,displayNoFilters:0===t.length},()=>{})}catch(e){co
1nsole.log(e)}},children:(0,r.jsxs)("div",{className:"sw-p-sm",children:[(0,r.jsxs)("div",{className:"sw-flex sw-justify-between sw--bold sw-align-center",children:[(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",overflow:"hidden",flex:1,minWidth:0},children:[(0,r.jsx)("span",{style:{fontSize:this.state.selectedMakes.length>0?"9px":"inherit",opacity:this.state.selectedMakes.length>0?.5:1,transition:"all 0.2s ease",lineHeight:this.state.selectedMakes.length>0?"1.2":"inherit"},children:"Make"}),this.state.selectedMakes.length>0&&(0,r.jsx)("span",{style:{fontSize:"13px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:this.state.selectedMakes.join(", ")})]}),(0,r.jsx)(u(),{path:g.W5x,size:1,style:{transform:this.state.makeDropdownOpen?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease-in-out",flexShrink:0}})]}),(0,r.jsxs)("div",{style:{backgroundColor:"rgba(0, 0, 0, 0.8)",backdropFilter:"blur(10px)",position:"absolute",top:"100%",left:"0",right:"0",zIndex:110,maxHeight:this.state.makeDropdownOpen?"500px":"0px",overflowY:"scroll",transition:"max-height 0.2s ease"},children:[(0,r.jsxs)("div",{className:"sw-m-sm",children:[(0,r.jsx)("input",{type:"text",style:{fontSize:"16px"},className:"sw-m-t-0 sw-m-b-xsm",placeholder:"Search Makes...",value:this.state.searchMakes,onClick:e=>e.stopPropagation(),onChange:e=>{this.setState({searchMakes:e.target.value})}}),(0,r.jsx)("button",{className:"sw-m-t-sm",style:{fontSize:"13px",color:"#fff",cursor:"pointer",textDecoration:"underline",background:"transparent",border:"none",transition:"color 0.2s"},onClick:()=>{this.setState({searchMakes:"",loadingMakes:!0,selectedMakes:[]})},onMouseEnter:e=>e.currentTarget.style.color="#f3b332",onMouseLeave:e=>e.currentTarget.style.color="#fff",children:"Clear Filters"})]}),this.state.loadingMakes?[void 0].map((e,t)=>(0,r.jsx)(b.A,{children:(0,r.jsx)("div",{style:{height:"32px",margin:"6px 0"}})},t)):this.state.filterMakes.filter(e=>""!==e.Make&&e.Make.toLowerCase().includes(this.state.searchMakes.toLowerCase())).map((s,a)=>(0,r.jsxs)("div",{onFocus:e=>e.currentTarget.style.borderColor="#f3b332",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",onMouseMove:e=>{let t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left,a=e.clientY-t.top;e.currentTarget.style.setProperty("--x","".concat(r,"px")),e.currentTarget.style.setProperty("--y","".concat(a,"px")),e.currentTarget.style.setProperty("--glow",this.state.selectedMakes.includes(s.Make)?"0.3":"0.1");let i=e.currentTarget.previousElementSibling,o=e.currentTarget.nextElementSibling;i&&i.style.setProperty("--spill","0.2"),o&&o.style.setProperty("--spill","0.2"),this.state.selectedMakes.includes(s.Make)?e.currentTarget.style.color="white":e.currentTarget.style.color="#007bff"},onMouseLeave:e=>{e.currentTarget.style.removeProperty("--x"),e.currentTarget.style.removeProperty("--y"),e.currentTarget.style.setProperty("--glow","0");let t=e.currentTarget.previousElementSibling,r=e.currentTarget.nextElementSibling;t&&t.style.setProperty("--spill","0"),r&&r.style.setProperty("--spill","0"),this.state.selectedMakes.includes(s.Make),e.currentTarget.style.color="white"},style:{...t,color:(this.state.selectedMakes.includes(s.Make),"white"),backgroundColor:this.state.selectedMakes.includes(s.Make)?"#007bff":"rgba(255,255,255,0.15)",background:"radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(243,179,50,var(--glow)) 0 30%, transparent 60%), ".concat(this.state.selectedMakes.includes(s.Make)?"#007bff":"rgba(255,255,255,0.15)")},className:"".concat(e," sw-m-sm "),onClick:e=>{if(e.stopPropagation(),this.state.selectedMakes.includes(s.Make)){let e=JSON.parse(JSON.stringify(this.state.selectedMakes));e=e.filter(e=>e!==s.Make),this.setState({selectedMakes:e,loading:!0},()=>{})}else this.setState({selectedMakes:[...this.state.selectedMakes,s.Make],loading:!0},()=>{})},children:[(0,r.jsx)("span",{children:s.Make}),(0,r.jsxs)("span",{children:["(",s.Count,")"]})]},a))]})]})}),(0,r.jsx)("div",{ref:this.modelDropdownRef,className:"sw-m-lr-sm sw-w-250px",style:{backgroundColor:"rgba(255, 255, 255, 0.2)",color:"#fff",cursor:"pointer",transition:"all 0.3s ease",backdropFilter:"blur(10px)",fontWeight:"500",borderRadius:"8px",position:"relative",zIndex:101},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.35)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.2)"},onClick:async()=>{let e=!this.state.modelDropdownOpen;this.setState({modelDropdownOpen:e,loadingModels:!!e,bodyStyleDropdownOpen:!1,loadingBodyStyles:!1,makeDropdownOpen:!1,loadingMakes:!1});try{let e=await fetch("/api/filters/models",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:this.state.selectedLocations,make:this.state.selectedMakes,year:this.state.selectedYears,trim:this.state.selectedTrims,trans:this.state.selectedTrans,body:this.state.selectedBodyStyles,fuel:this.state.selectedFuelTypes,feature:this.state.selectedFeatures,color:this.state.selectedColors,engine:this.state.selectedEngineTypes,orderBy:this.state.sortSelect,certified:this.state.switchCertfied,special:this.state.switchSpecials,minPrice:this.state.priceSliderStart,maxPrice:this.state.priceSliderEnd,minMileage:this.state.mileageSliderStart,maxMileage:this.state.mileageSliderEnd,minMPG:this.state.mpgSliderStart,maxMPG:this.state.mpgSliderEnd,newVehicle:this.state.switchNew,used:this.state.switchUsed,search:this.state.searchVehicles,fuelEfficient:!!this.state.switchFuel})}),t=await e.json();this.setState({filterModels:t,loadingModels:!1,displayNoFilters:0===t.length},()=>{})}catch(e){console.log(e)}},children:(0,r.jsxs)("div",{className:"sw-p-sm",children:[(0,r.jsxs)("div",{className:"sw-flex sw-justify-between sw--bold sw-align-center",children:[(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",overflow:"hidden",flex:1,minWidth:0},children:[(0,r.jsx)("span",{style:{fontSize:this.state.selectedModels.length>0?"9px":"inherit",opacity:this.state.selectedModels.length>0?.5:1,transition:"all 0.2s ease",lineHeight:this.state.selectedModels.length>0?"1.2":"inherit"},children:"Model"}),this.state.selectedModels.length>0&&(0,r.jsx)("span",{style:{fontSize:"13px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:this.state.selectedModels.join(", ")})]}),(0,r.jsx)(u(),{path:g.W5x,size:1,style:{transform:this.state.modelDropdownOpen?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease-in-out",flexShrink:0}})]}),(0,r.jsxs)("div",{style:{backgroundColor:"rgba(0, 0, 0, 0.8)",backdropFilter:"blur(10px)",position:"absolute",top:"100%",left:"0",right:"0",zIndex:110,maxHeight:this.state.modelDropdownOpen?"500px":"0px",overflowY:"scroll",transition:"max-height 0.2s ease"},children:[(0,r.jsxs)("div",{className:"sw-m-sm",children:[(0,r.jsx)("input",{type:"text",style:{fontSize:"16px"},className:"sw-m-t-0 sw-m-b-xsm",placeholder:"Search Models...",value:this.state.searchModels,onClick:e=>e.stopPropagation(),onChange:e=>{this.setState({searchModels:e.target.value})}}),(0,r.jsx)("button",{className:"sw-m-t-sm",style:{fontSize:"13px",color:"#fff",cursor:"pointer",textDecoration:"underline",background:"transparent",border:"none",transition:"color 0.2s"},onClick:()=>{this.setState({searchModels:"",loadingModels:!0,selectedModels:[]})},onMouseEnter:e=>e.currentTarget.style.color="#f3b332",onMouseLeave:e=>e.currentTarget.style.color="#fff",children:"Clear Filters"})]}),this.state.loadingModels?[void 0].map((e,t)=>(0,r.jsx)(b.A,{children:(0,r.jsx)("div",{style:{height:"32px",margin:"6px 0"}})},t)):this.state.filterModels.filter(e=>""!==e.Model&&e.Model.toLowerCase().includes(this.state.searchModels.toLowerCase())).map((s,a)=>(0,r.jsxs)("div",{onFocus:e=>e.currentTarget.style.borderColor="#f3b332",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.1)",onMouseMove:e=>{let t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left,a=e.clientY-t.top;e.currentTarget.style.setProperty("--x","".concat(r,"px")),e.currentTarget.style.setProperty("--y","".concat(a,"px")),e.currentTarget.style.setProperty("--glow",this.state.selectedModels.includes(s.Model)?"0.3":"0.1");let i=e.currentTarget.previousElementSibling,o=e.currentTarget.nextElementSibling;i&&i.style.setProperty("--spill","0.2"),o&&o.style.setProperty("--spill","0.2"),this.state.selectedModels.includes(s.Model)?e.currentTarget.style.color="white":e.currentTarget.style.color="#007bff"},onMouseLeave:e=>{e.currentTarget.style.removeProperty("--x"),e.currentTarget.style.removeProperty("--y"),e.currentTarget.style.setProperty("--glow","0");let t=e.currentTarget.previousElementSibling,r=e.currentTarget.nextElementSibling;t&&t.style.setProperty("--spill","0"),r&&r.style.setProperty("--spill","0"),this.state.selectedModels.includes(s.Model),e.currentTarget.style.color="white"},style:{...t,color:(this.state.selectedModels.includes(s.Model),"white"),backgroundColor:this.state.selectedModels.includes(s.Model)?"#007bff":"rgba(255,255,255,0.15)",background:"radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(243,179,50,var(--glow)) 0 30%, transparent 60%), ".concat(this.state.selectedModels.includes(s.Model)?"#007bff":"rgba(255,255,255,0.15)")},className:"".concat(e," sw-m-sm "),onClick:e=>{if(e.stopPropagation(),this.state.selectedModels.includes(s.Model)){let e=JSON.parse(JSON.stringify(this.state.selectedModels));e=e.filter(e=>e!==s.Model),this.setState({selectedModels:e,loading:!0},()=>{})}else this.setState({selectedModels:[...this.state.selectedModels,s.Model],loading:!0},()=>{})},children:[(0,r.jsx)("span",{children:s.Model}),(0,r.jsxs)("span",{children:["(",s.Count,")"]})]},a))]})]})})]}),(0,r.jsxs)("div",{className:"filters-action-wrap",children:[(0,r.jsx)("span",{className:"clear-link",style:{color:"#fff",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"underline",width:"150px",borderRadius:"8px",zIndex:45},onClick:()=>{this.setState({selectedBodyStyles:[],selectedMakes:[],selectedModels:[]})},children:"Clear All Filters"}),(0,r.jsxs)("div",{className:"action-row",children:[(0,r.jsx)("div",{className:"sw-flex sw-align-center sw-justify-center sw-m-sm",children:(0,r.jsx)(M,{activeByDefault:this.state.switchUsed,activeColor:"sw-info",onChange:e=>{this.setState({switchUsed:e,switchNew:!e})}})}),(0,r.jsx)("button",{className:"sw-m-sm sw-p-sm",style:{backgroundColor:"#007bff",color:"#fff",transition:"all 0.3s ease",backdropFilter:"blur(10px)",width:"100px",borderRadius:"8px",border:"1px solid rgba(255,255,255,0.15)",zIndex:45},onClick:()=>{this.setURLParams()},onMouseOver:e=>e.currentTarget.style.borderColor="#f3b332",onFocus:e=>e.currentTarget.style.borderColor="#f3b332",onMouseOut:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.15)",onBlur:e=>e.currentTarget.style.borderColor="rgba(255,255,255,0.15)",children:(0,r.jsx)("span",{style:{WebkitTextStroke:".1px rgb(255, 255, 255)",textShadow:"rgb(0, 0, 0, 0.8) 0p
1x 1px 0px, rgb(0, 0, 0, 0.8) 1px 0px 0px, rgb(0, 0, 0, 0.8) 0px -1px 0px, rgb(0, 0, 0, 0.8) -1px 0px 0px, rgb(0, 0, 0, 0.8) 1px 1px 0px, rgb(0, 0, 0, 0.8) -1px -1px 0px, rgb(0, 0, 0, 0.8) 1px -1px 0px, rgb(0, 0, 0, 0.8) -1px 1px 0px"},children:"Search"})})]})]})]}),"keyword"===this.state.selectedFilterType&&(0,r.jsx)("div",{className:"sw--white",children:(0,r.jsx)("div",{className:"sw-flex sw-justify-center sw-w-100P",children:(0,r.jsx)("div",{className:"sw-m-rl-sm sw-m-0 sw-p-0 ",style:{position:"relative",width:"100%"},children:(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t="?";this.setState({isInputFocused:!1,currentFetchId:0}),""!==this.state.searchVehicles&&(t+="SearchQuery="+encodeURIComponent(this.state.searchVehicles)+"&"),fetch("/api/srp/trackSearchTerm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({term:this.state.searchVehicles.trim()})}).catch(e=>{console.error("Failed to log search term:",e)}),window.location.href="/inventory"+t},className:"sw-w-100P sw-justify-center",style:{display:"flex"},children:[(0,r.jsx)("input",{id:"searchInput",type:"text",style:{fontSize:"16px",backgroundColor:"rgba(0, 0, 0, 0.4)",color:"white",WebkitTextFillColor:"white",caretColor:"white",borderTopLeftRadius:"5px",borderBottomLeftRadius:"5px",borderTopRightRadius:"0",borderBottomRightRadius:"0"},className:"sw-m-t-0 sw-m-b-0 sw-w-450px sw--white",placeholder:"Search by Make, Model, or VIN...",value:this.state.searchVehicles,onChange:this.handleSearchChange,onFocus:()=>this.setState({isInputFocused:!0})}),(0,r.jsx)("button",{type:"submit","aria-label":"Search",className:"sw-w-60px sw-m-0 sw-primary sw-white-hov sw--black-hov sw-transition-swing ",style:{borderTopRightRadius:"5px",borderBottomRightRadius:"5px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0",backgroundColor:"#007bff"},children:(0,r.jsx)(u(),{"aria-labelledby":"Search",path:g.U4M,size:1})}),this.state.suggestions.length>0&&this.state.isInputFocused&&this.state.searchVehicles.length>0&&(0,r.jsx)("ul",{className:"suggestions-list",style:{width:"510px",left:"unset"},children:this.state.suggestions.map((e,t)=>{let s=[];return s=e.photoURLs,(0,r.jsx)("span",{onClick:()=>{window.location.href="/vehicle?sid="+e.stockNumber},children:(0,r.jsxs)("li",{className:"sw-flex",style:{backgroundColor:this.state.suggestions.indexOf(e)%2==0?"white":"#e6e6e6"},children:[(0,r.jsx)(x(),{src:s[0],width:200,height:100,alt:"No Picture Available",className:"image-container-search"}),(0,r.jsxs)("div",{className:"sw--size-lg sw--bold sw--black",children:[e.nu," ",e.make," ",e.model," ",e.year," ",e.trim,(0,r.jsxs)("p",{className:"sw--size-sm sw--gray sw-m-0 sw-p-0",children:["stock: ",e.stockNumber," VIN: ",e.VIN]}),(0,r.jsx)("p",{className:"sw--size-lg sw-m-0 sw-p-0",style:{color:"#e08d1f"},children:"New"===e.nu?e.MSRP>0?"$"+e.MSRP.toLocaleString():"Call Us":e.AskingPrice>0?"$"+e.AskingPrice.toLocaleString():"Call Us"})]})]},e.stockNumber)},e.stockNumber)})})]})})})}),"budget"===this.state.selectedFilterType&&(0,r.jsx)("div",{className:"sw--white sw-flex sw-flex-wrap sw-justify-center sw-align-center sw-m-t-sm-lap",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"sw-m-rl-md sw-m-t-md-lap",children:["cash"===this.state.selectedTab&&(0,r.jsxs)("span",{className:"sw--bold",children:[(0,r.jsx)("span",{className:"sw--size-md",children:"Price"}),(0,r.jsxs)("span",{style:{position:"relative",display:"inline-block",marginLeft:"4px",cursor:"pointer"},onMouseEnter:e=>{let t=e.currentTarget.querySelector("span.tooltip-text");t.style.visibility="visible",t.style.opacity="1"},onMouseLeave:e=>{let t=e.currentTarget.querySelector("span.tooltip-text");t.style.visibility="hidden",t.style.opacity="0"},children:[(0,r.jsx)(u(),{path:g.nO4,size:.8}),(0,r.jsx)("span",{className:"tooltip-text",style:{visibility:"hidden",opacity:0,width:"180px",backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",textAlign:"center",borderRadius:"4px",padding:"4px 6px",position:"absolute",bottom:"125%",left:"50%",transform:"translateX(-50%)",transition:"opacity 0.3s",zIndex:1e3,fontSize:"12px",pointerEvents:"none"},children:"Used vehicles reflect dealer asking price; new vehicles reflect MSRP. Actual prices may vary. See dealer for details."})]})]}),(0,r.jsx)("h3",{children:"cash"===this.state.selectedTab&&"$".concat(this.state.priceSliderStart.toLocaleStr
1ing()," - $").concat(this.state.priceSliderEnd.toLocaleString())})]}),(0,r.jsx)("div",{className:"sw-flex sw-justify-around",children:(0,r.jsx)("div",{className:"sw-flex-col sw-w-250px sw-m-md sw--center",children:(0,r.jsx)(S.A,{"aria-label":"slider",min:0,max:2e5,step:1e3,color:"info",initialStart:this.state.priceSliderStart,initialEnd:this.state.priceSliderEnd,size:"md",onChange:(e,t)=>{this.setState({priceSliderStart:e,priceSliderEnd:t})}})})}),(0,r.jsxs)("div",{className:"sw-flex sw-justify-center sw-align-center",children:[(0,r.jsx)("span",{className:"sw-m-sm sw-p-sm",style:{color:"#fff",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"underline",width:"150px",borderRadius:"8px",zIndex:45},onClick:()=>{this.setState({priceSliderStart:0,priceSliderEnd:2e5})},children:"Clear All Filters"}),(0,r.jsx)("button",{className:"sw-m-sm sw-p-sm",style:{backgroundColor:"rgba(255, 255, 255, 0.2)",color:"#fff",transition:"all 0.3s ease",backdropFilter:"blur(10px)",width:"100px",borderRadius:"8px",zIndex:45},onClick:()=>{this.setURLParams()},children:"Search"})]})]})}),"mobileTiles"===this.state.selectedFilterType&&(0,r.jsx)("div",{className:"sw-none sw-flex-lap sw-flex-wrap sw-justify-center sw-align-center sw-m-t-sm-lap",children:(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",margin:"0 auto"},children:[(0,r.jsx)(j,{title:"Popular Searches",items:[...this.getPopularSearchItems(),{icon:g.d9K,label:"Cars under $25,000",link:"/inventory?maxPrice=25000&"},{icon:g.nB$,label:"Low Mileage",link:"/inventory?maxMileage=20000&used=true&"},{icon:g.PgB,label:"Used trucks",link:"/used-vehicles/trucks"},{icon:g.H00,label:"Used SUVs",link:'/inventory?BodyStyles=%5B"SUV"%5D&used=true&'},{icon:g.Hnj,label:"Certified pre-owned",link:"/inventory?certified=true&"},{icon:g.um,label:"Low mileage vehicles",link:"/inventory?sortBy=Lowest%20Miles&"},{icon:g.HzW,label:"Vehicle specials",link:"/inventory?specials=true&"},{icon:g.UIH,label:"Cars with leather seats",link:'/inventory?Features=%5B"Leather%20seats"%5D&'},{icon:g.vmQ,label:"Cars with sunroof",link:'/inventory?Features=%5B"Sun%2Fmoonroof"%5D&'},{icon:g.HDR,label:"Cars with remote start",link:'/inventory?Features=%5B"Remote%20start"%5D&'},{icon:g.fjg,label:"Cars with premium audio",link:'/inventory?Features=%5B"Premium%20audio"%5D&'}],className:"sw-w-100P sw-p-0 sw-m-0 sw-m-lr-md",style:{maxWidth:"unset",margin:0,backgroundColor:"#fff0"}}),(0,r.jsx)(j,{title:"Quick Filters",items:[{icon:g.S5s,label:"Low Mileage",link:"/inventory?maxMileage=20000&used=true&"},{icon:g.PgB,label:"RAM 1500",link:'/inventory?Make=%5B"Ram"%5D&Model=%5B"1500"%5D&'},{icon:g.PgB,label:"Toyota Tacoma",link:'/inventory?Make=%5B"Toyota"%5D&Model=%5B"Tacoma"%2C"Tacoma%204WD"%5D&'},{icon:g.H00,label:"Honda CR-V",link:'/inventory?Make=%5B"Honda"%5D&Model=%5B"CR-V"%2C"CR-V%20Hybrid"%5D&'},{icon:g.PgB,label:"Ford F-150",link:'/inventory?Make=%5B"Ford"%5D&Model=%5B"F-150"%5D&'},{icon:g.PgB,label:"Chevy Silverado",link:'/inventory?Make=%5B"Chevrolet"%5D&Model=%5B"Silverado%201500"%5D&'},{icon:g.H00,label:"Nissan Rogue",link:'/inventory?Make=%5B"Nissan"%5D&Model=%5B"Rogue"%5D&'},{icon:g.H00,label:"Jeep Grand Cherokee",link:'/inventory?Make=%5B"Jeep"%5D&Model=%5B"Grand%20Cherokee"%2C"Grand%20Cherokee%20L"%2C"Grand%20Cherokee%204xe"%5D&'},{icon:g.d9K,label:"Toyota Camry",link:'/inventory?Make=%5B"Toyota"%5D&Model=%5B"Camry"%5D&'},{icon:g.d9K,label:"Honda Accord",link:'/inventory?Make=%5B"Honda"%5D&Model=%5B"Accord%20Hybrid"%2C"Accord%20Sedan"%5D&'},{icon:g.H00,label:"Chevy Tahoe",link:'/inventory?Make=%5B"Chevrolet"%5D&Model=%5B"Tahoe"%5D&'}],className:"sw-w-100P sw-p-0 sw-m-0",style:{maxWidth:"unset",margin:0,backgroundColor:"#fff0"}})]})})]})]}),(0,r.jsx)("div",{id:"incentive-home","data-incentive-placement":"auto","data-incentive-context":"home",className:"sw-m-auto sw-w-80P-lap sw-flex sw-justify-center"}),(0,r.jsx)(d(),{src:"https://script.carumai.io/buckets/scripts/incentiveEmbedProd.js",strategy:"afterInteractive","data-store":"45abf83f-5adb-4a65-a068-f2f9d752acd3","data-context":"home"}),(0,r.jsx)(F,{}),(0,r.jsx)("div",{className:"sw-none-lap",style:{padding:"2rem 2rem",backgroundColor:""},children:(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",margin:"0 auto",maxWidth:"1400px"},children:[(0,r.jsx)(j,{title:"Popular Searches",items:[...this.getPopularSearchItems(),{icon:g.d9K,label:"Cars under $25,000",link:"/inventory?maxPrice=25000&"},{icon:g.nB$,label:"Low Mileage",link:"/inventory?maxMileage=20000&used=true&"},{icon:g.PgB,label:"Used trucks",link:"/used-vehicles/trucks"},{icon:g.H00,label:"Used SUVs",link:'/inventory?BodyStyles=%5B"SUV"%5D&used=true&'},{icon:g.Hnj,label:"Certified pre-owned",link:"/inventory?certified=true&"},{icon:g.um,label:"Low mileage vehicles",link:"/inventory?sortBy=Lowest%20Miles&"},{icon:g.HzW,label:"Vehicle specials",link:"/inventory?specials=true&"},{icon:g.UIH,label:"Cars with leather seats",link:'/inventory?Features=%5B"Leather%20seats"%5D&'},{icon:g.vmQ,label:"Cars with sunroof",link:'/inventory?Features=%5B"Sun%2Fmoonroof"%5D&'},{icon:g.HDR,label:"Cars with remote start",link:'/inventory?Features=%5B"Remote%20start"%5D&'},{icon:g.fjg,label:"Cars with premium audio",link:'/inventory?Features=%5B"Premium%20audio"%5D&'}],className:"sw-w-100P sw-p-0 sw-m-0 sw-container",arrowColor:"sw--white",style:{maxWidth:"unset",margin:0,backgroundColor:"white"}}),(0,r.jsx)(j,{title:"Quick Filters",items:[{icon:g.S5s,label:"Low Mileage",link:"/inventory?maxMileage=20000&used=true&"},{icon:g.PgB,label:"RAM 1500",link:'/inventory?Make=%5B"Ram"%5D&Model=%5B"1500"%5D&'},{icon:g.PgB,label:"Toyota Tacoma",link:'/inventory?Make=%5B"Toyota"%5D&Model=%5B"Tacoma"%2C"Tacoma%204WD"%5D&'},{icon:g.H00,label:"Honda CR-V",link:'/inventory?Make=%5B"Honda"%5D&Model=%5B"CR-V"%2C"CR-V%20Hybrid"%5D&'},{icon:g.PgB,label:"Ford F-150",link:'/inventory?Make=%5B"Ford"%5D&Model=%5B"F-150"%5D&'},{icon:g.PgB,label:"Chevy Silverado",link:'/inventory?Make=%5B"Chevrolet"%5D&Model=%5B"Silverado%201500"%5D&'},{icon:g.H00,label:"Nissan Rogue",link:'/inventory?Make=%5B"Nissan"%5D&Model=%5B"Rogue"%5D&'},{icon:g.H00,label:"Jeep Grand Cherokee",link:'/inventory?Make=%5B"Jeep"%5D&Model=%5B"Grand%20Cherokee"%2C"Grand%20Cherokee%20L"%2C"Grand%20Cherokee%204xe"%5D&'},{icon:g.d9K,label:"Toyota Camry",link:'/inventory?Make=%5B"Toyota"%5D&Model=%5B"Camry"%5D&'},{icon:g.d9K,label:"Honda Accord",link:'/inventory?Make=%5B"Honda"%5D&Model=%5B"Accord%20Hybrid"%2C"Accord%20Sedan"%5D&'},{icon:g.H00,label:"Chevy Tahoe",link:'/inventory?Make=%5B"Chevrolet"%5D&Model=%5B"Tahoe"%5D&'}],className:"sw-w-100P sw-p-0 sw-m-0 sw-container",arrowColor:"sw--white",style:{maxWidth:"unset",margin:0,backgroundColor:"white"}})]})}),(0,r.jsx)("div",{style:{backgroundColor:"",position:"relative",zIndex:1},className:"sw-p-rl-md sw-p-rl-xsm-lap sw-p-t-xsm-lap sw-p-b-xsm",children:(0,r.jsxs)("div",{className:"three-boxes sw-flex-wrap-lap",style:{maxWidth:"1600px",margin:"0 auto",display:"flex",justifyContent:"space-evenly",gap:"1rem"},children:[(0,r.jsxs)("div",{className:"box finance sw-round-10px sw-round-0-lap sw-h-300px sw-h-200px-lap",style:{background:'linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/NewandUsed.jpg")',backgroundSize:"cover",backgroundPosition:"center",width:"400px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",cursor:"pointer",transition:"transform 0.3s ease, box-shadow 0.3s ease",position:"relative",overflow:"hidden"},onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 8px 25px rgba(0,0,0,0.3)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="0 4px 15px rgba(0,0,0,0.2)"},onClick:()=>window.location.href="/finance",children:[(0,r.jsx)("h2",{style:{color:"#fff",fontSize:"2rem",fontWeight:"bold",marginBottom:"1rem",textAlign:"center",textShadow:"2px 2px 4px rgba(0,0,0,0.7)"},children:"Finance"}),(0,r.jsx)("p",{style:{color:"#fff",fontSize:"1.1rem",textAlign:"center",maxWidth:"250px",textShadow:"1px 1px 2px rgba(0,0,0,0.7)"},className:"sw-none-phone",children:"Get the best financing options with our expert team. We'll help you find the right loan for your budget."})]}),(0,r.jsxs)("div",{className:"box trade sw-round-10px sw-round-0-lap sw-h-300px sw-h-200px-lap",style:{background:'linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/sell-trade.jpg")',backgroundSize:"cover",backgroundPosition:"center",width:"400px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",cursor:"pointer",transition:"transform 0.3s ease, box-shadow 0.3s ease",position:"relative",overflow:"hidden"},onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 8px 25px rgba(0,0,0,0.3)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="0 4px 15px rgba(0,0,0,0.2)"},onClick:()=>window.location.href="/sell-your-car",children:[(0,r.jsx)("h2",{style:{color:"#fff",fontSize:"2rem",fontWeight:"bold",marginBottom:"1rem",textAlign:"center",textShadow:"2px 2px 4px rgba(0,0,0,0.7)"},children:"Trade-In"}),(0,r.jsx)("p",{style:{color:"#fff",fontSize:"1.1rem",textAlign:"center",maxWidth:"250px",textShadow:"1px 1px 2px rgba(0,0,0,0.7)"},className:"sw-none-phone",children:"Get top value for your trade-in with a professional KBB appraisal. Upgrade your ride today and let us handle the rest!"})]}),(0,r.jsxs)("div",{className:"box service sw-round-10px sw-round-0-lap sw-h-300px sw-h-200px-lap",style:{background:'linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/Service1.webp")',backgroundSize:"cover",backgroundPosition:"center",width:"400px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",cursor:"pointer",transition:"transform 0.3s ease, box-shadow 0.3s ease",position:"relative",overflow:"hidden"},onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 8px 25px rgba(0,0,0,0.3)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="0 4px 15px rgba(0,0,0,0.2)"},onClick:()=>window.location.href="/service",children:[(0,r.jsx)("h2",{style:{color:"#fff",fontSize:"2rem",fontWeight:"bold",marginBottom:"1rem",textAlign:"center",textShadow:"2px 2px 4px rgba(0,0,0,0.7)"},children:"Service Center"}),(0,r.jsx)("p",{style:{color:"#fff",fontSize:"1.1rem",textAlign:"center",maxWidth:"250px",textShadow:"1px 1px 2px rgba(0,0,0,0.7)"},className:"sw-none-phone",children:"Schedule a service appointment with our expert technicians. We'll keep your vehicle running smoothly and safely."})]})]})}),(0,r.jsx)("div",{className:"red-tag-sale-banner sw-flex sw-justify-center sw-m-t-md sw-m-b-md",children:(0,r.jsxs)("a",{href:"/redtagsale","aria-label":"Learn more about the Labor Day Sales Event",children:[(0,r.jsx)(x(),{src:T.A,alt:"Labor Day Sales Event: 90 days no payments all September on approved credit, plus up to $2,000 over KBB for your trade",width:2172,height:724,sizes:"1170px",className:"red-tag-sale-banner__desktop"}),(0,r.jsx)(x(),{src:D,alt:"Labor Day Sales Event: 90 days no payments all September on approved credit, plus up to $2,000 over KBB for your trade",width:640,height:213,sizes:"(max-width: 992px) 100vw, 0px",className:"red-tag-sale-banner__mobile"})]})}),(0,r.jsx)("div",{className:"",style:{backgroundColor:""},children:this.state.recentlyViewedVehicles.length>0?(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"sw-flex sw-flex-col sw-justify-center sw-align-center",children:[(0,r.jsx)("h2",{className:"sw--size-xlg-lap sw-m-t-md",children:"Pick up where you left off"}),(0,r.jsx)("p",{style:{color:"gray",fontSize:"14px",textAlign:"center",fontWeight:"bold"},children:"Your recently viewed vehicles (most recent first)"})]}),(0,r.jsx)("div",{className:"",children:(0,r.jsx)("div",{className:"sw-round-10px",children:(0,r.jsx)("div",{className:"sw-flex sw-flex-wrap-tablet sw-m-lr-md sw-m-lr-0-lap",children:(0,r.jsxs)(v.p,{className:"sw-m-auto sw-w-100P",style:{touchAction:"none"},displayScrollbar:!0,showArrows:!1,altButtons:!0,autoScroll:!1,centerActiveSlide:!1,autoScrollInterval:3e3,children:[this.state.recentlyViewedVehicles.map((e,t)=>{let s=e.PhotoURLs||[];
1return e.isPhotoed&&(s[0]="https://cdn.carumai.com/".concat(e.VIN,"/cover-photo-large.jpg")),(0,r.jsx)(v.q,{children:(0,r.jsx)(k.A,{variant:"carousel",vehicle:e,photoURLs:s,index:t,positionIndex:t,isMobile:this.state.screenWidth<=768},t)},t)}),this.state.similarVehicles.length>0?(0,r.jsx)(v.q,{children:(0,r.jsx)(C.Zp,{style:{width:"150px",height:"280px",backgroundColor:"#2d3748",color:"gold"},children:(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,r.jsx)("span",{style:{fontSize:"1.5rem",fontWeight:"bold",letterSpacing:"2px",lineHeight:"1.1",textAlign:"center"},children:"Similar Vehicles..."})})},1)},1):null,this.state.similarVehicles.length>0?this.state.similarVehicles.map((e,t)=>{if(t>6)return null;let s=e.PhotoURLs||[];return e.isPhotoed&&(s[0]="https://cdn.carumai.com/".concat(e.VIN,"/cover-photo-large.jpg")),(0,r.jsx)(v.q,{children:(0,r.jsx)(k.A,{variant:"carousel",vehicle:e,photoURLs:s,index:t,isMobile:this.state.screenWidth<=768},t)},t)}):null]})})})})]}):null}),(0,r.jsx)(B.A,{header:"Our Brands",type:"info"}),(0,r.jsx)("div",{style:{backgroundColor:"#111",color:"#fff",padding:"20px 20px"},children:(0,r.jsxs)("div",{style:{maxWidth:"1600px",margin:"0 auto"},className:"jsx-f643d7c90bb8c9fb ",children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"40px"},className:"jsx-f643d7c90bb8c9fb",children:[(0,r.jsx)("h2",{style:{fontSize:"2.5rem",fontWeight:"bold",color:"#fff",margin:0},className:"jsx-f643d7c90bb8c9fb",children:"Articles"}),(0,r.jsxs)("a",{href:"/blog",style:{color:"#fff",textDecoration:"none",fontSize:"1.1rem",display:"flex",alignItems:"center",gap:"8px",transition:"opacity 0.3s ease"},onMouseEnter:e=>e.currentTarget.style.opacity="0.7",onMouseLeave:e=>e.currentTarget.style.opacity="1",className:"jsx-f643d7c90bb8c9fb",children:["VIEW ALL",(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"jsx-f643d7c90bb8c9fb",children:(0,r.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7",className:"jsx-f643d7c90bb8c9fb"})})]})]}),(0,r.jsx)("div",{className:"jsx-f643d7c90bb8c9fb article-cards-container here",children:this.state.articles.map((e,t)=>(0,r.jsxs)("div",{style:{background:"#1a1a1a",borderRadius:"12px",overflow:"hidden",transition:"transform 0.3s ease, box-shadow 0.3s ease",cursor:"pointer",flexShrink:0},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-5px)",e.currentTarget.style.boxShadow="0 10px 25px rgba(0,0,0,0.3)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="none"},onClick:()=>window.location.href="/blog/articles/".concat(e.slug),className:"jsx-f643d7c90bb8c9fb article-card sw-w-400px sw-w-300px-lap",children:[(0,r.jsx)("div",{style:{height:"200px",background:"linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(".concat(e.photoURL||"/images/ep-background.jpg",")"),backgroundSize:"cover",backgroundPosition:"center",position:"relative"},className:"jsx-f643d7c90bb8c9fb",children:(0,r.jsx)("div",{style:{position:"absolute",top:"15px",left:"15px",background:"rgba(0,0,0,0.8)",color:"#fff",padding:"6px 12px",borderRadius:"6px",fontSize:"0.85rem",fontWeight:"bold"},className:"jsx-f643d7c90bb8c9fb",children:new Date(e.createdAt).toLocaleDateString("es"===this.state.language?"es-US":"en-US",{month:"short",day:"2-digit",year:"numeric"}).toUpperCase()})}),(0,r.jsxs)("div",{style:{padding:"25px"},className:"jsx-f643d7c90bb8c9fb",children:[(0,r.jsx)("h3",{style:{fontSize:"1.3rem",fontWeight:"bold",color:"#fff",marginBottom:"15px",lineHeight:"1.4",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},className:"jsx-f643d7c90bb8c9fb",children:e.title}),(0,r.jsx)("p",{style:{color:"#ccc",fontSize:"0.95rem",lineHeight:"1.6",marginBottom:"20px",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},className:"jsx-f643d7c90bb8c9fb",children:e.description}),(0,r.jsx)("button",{style:{background:"linear-gradient(135deg, #007bff, #0056b3)",color:"#fff",border:"none",padding:"10px 20px",borderRadius:"6px",fontSize:"0.9rem",fontWeight:"bold",cursor:"pointer",transition:"all 0.3s ease"},onMouseEnter:e=>{e.currentTarget.style.background="linear-gradient(135deg, #0056b3, #004085)",e.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:e=>{e.currentTarget.style.background="linear-gradient(135deg, #007bff, #0056b3)",e.currentTarget.style.transform="translateY(0)"},className:"jsx-f643d7c90bb8c9fb",children:"Read More"})]})]},t))}),(0,r.jsx)(i(),{id:"f643d7c90bb8c9fb",children:"@media(max-width:768px){.articles-grid.jsx-f643d7c90bb8c9fb{grid-template-columns:1fr;gap:20px}.articles-header.jsx-f643d7c90bb8c9fb h2.jsx-f643d7c90bb8c9fb{font-size:2rem}}"})]})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"reviewshomepage"}),(0,r.jsx)(d(),{id:"sw-featured-reviews-script",src:"https://script.carumai.io/buckets/scripts/reviewsWidget.js",crossorigin:"use-credentials",insertSelector:".reviewshomepage",backgroundColor:"#131921",buttonColor:"#1976D2",location:"ALL",header:"What Our Customers Say About Us",headerColor:"white",moreReviewsLink:"https://www.stephenwade.com/reviews/",writereviewplaceid:"ChIJHUqQXjhFyoARhwwLd0h-Pos",onReady:()=>{InitiateSWReviewsWidgetPlugin()}})]}),(0,r.jsx)(R.A,{}),(0,r.jsx)("div",{className:"sw-grow-1",children:(0,r.jsx)("a",{href:"https://maps.app.goo.gl/uNemXhk2smMEbWME7",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)("img",{src:N.src,alt:"Map showing all dealership locations",style:{width:"100%",height:"400px",objectFit:"cover"}})})})]})]})}constructor(e){let t=0;t=window.innerWidth,super(e),this.bodyStyleDropdownRef=o.createRef(),this.makeDropdownRef=o.createRef(),this.modelDropdownRef=o.createRef(),this.mobileStyleForPageUp
1Button={bottom:130,right:15,zIndex:11},this.desktopStyleForPageUpButton={bottom:70},this.isDesktopCheckerForPageUpButton=!1,this.fetchArticles=async()=>{let e=await fetch("/api/articles"),t=(await e.json()).sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime());this.setState({articles:t.slice(0,4)},()=>{})},this.handleResize=()=>{this.setState({screenWidth:window.innerWidth})},this.handleClickOutside=e=>{let t=e.target,s=this.bodyStyleDropdownRef.current&&!this.bodyStyleDropdownRef.current.contains(t),r=this.makeDropdownRef.current&&!this.makeDropdownRef.current.contains(t),a=this.modelDropdownRef.current&&!this.modelDropdownRef.current.contains(t);s&&r&&a&&this.setState({bodyStyleDropdownOpen:!1,makeDropdownOpen:!1,modelDropdownOpen:!1,loadingBodyStyles:!1,loadingMakes:!1,loadingModels:!1})},this.handleScroll=this.handleScroll.bind(this),this.state={incentiveVehicles:[],incentiveVehiclesLoaded:!1,language:"en",recentlyViewedVehicles:this.props.recentlyViewedVehicles?this.props.recentlyViewedVehicles:[],recommendedVehicles:this.props.recommendedVehicles?this.props.recommendedVehicles:[],hoveringCarousel:!1,hoveringIndex:0,loadedRecommendedVehicles:!!this.props.loadedRecommendedVehicles&&this.props.loadedRecommendedVehicles,showScrollToTopButton:!1,incentiveImages:this.props.incentiveImages?this.props.incentiveImages:[],incentiveModal:!1,selectedIncentiveStore:"",screenWidth:t,user:this.props.user?this.props.user:[],eventVehicles:[],selectedFilterType:"vehicle",toyotaIncentives:[],nissanIncentives:[],mercedesIncentives:[],hondaMazdaIncentives:[],chevyCadIncentives:[],cjdrIncentives:[],toyotaIncentiveVideos:[],nissanIncentiveVideos:[],mercedesIncentiveVideos:[],hondaMazdaIncentiveVideos:[],chevyCadIncentiveVideos:[],cjdrIncentiveVideos:[],selectedBodyStyles:[],selectedModels:[],selectedLocations:[],selectedYears:[],selectedFeatures:[],selectedMakes:[],selectedTrims:[],selectedTrans:[],selectedFuelTypes:[],selectedColors:[],selectedEngineTypes:[],filterLocations:[],filterMakes:[],filterModels:[],filterYears:[],filterTrims:[],filterTrans:[],filterBodyStyles:[],filterFuelTypes:[],filterFeatures:[],filterColors:[],filterEngineTypes:[],priceSliderStart:0,priceSliderEnd:2e5,mileageSliderEnd:2e5,mileageSliderStart:0,mpgSliderStart:0,mpgSliderEnd:100,switchNew:!1,switchUsed:!1,switchCertfied:!1,switchSpecials:!1,switchFuel:!1,switch25:!1,sortSelect:"Default",allFilters:[],bodyStyleDropdownOpen:!1,loadingBodyStyles:!1,searchVehicles:"",displayNoFilters:!1,searchBodyStyles:"",loading:!1,makeDropdownOpen:!1,loadingMakes:!1,searchMakes:"",modelDropdownOpen:!1,loadingModels:!1,searchModels:"",suggestions:[],isInputFocused:!1,currentFetchId:0,selectedTab:"cash",similarVehicles:[],articles:[],topSearches:[]},this.handleSearchChange=this.handleSearchChange.bind(this),this.fetchSuggestions=f()(this.fetchSuggestions.bind(this),200)}}var O=!0;let z=L}},e=>{e.O(0,[147,4829,5270,636,6593,8792],()=>e(e.s=16760)),_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.