PageSourceSearch

https://stephenwade.com/_next/static/chunks/pages/nissan-testdrive-09ba2dbc1d72c40c.js

js stephenwade.com collected 2026-10-01 15:40:34 UTC 46,927 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1183],{37428:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(37876),r=s(14232);class a extends r.Component{render(){let e=[],t=0,s=0;for(;;)if(this.props.children[t]){let i=null;if("select"==this.props.children[t].type||"input"==this.props.children[t].type&&"submit"!=this.props.children[t].props.type||"textarea"==this.props.children[t].type){let e=()=>{};this.props.children[t].props.onChange&&(e=this.props.children[t].props.onChange),i=(0,r.cloneElement)(this.props.children[t],{onChange:this.onFormChildChange(s,e),key:t}),s++}else i=(0,r.cloneElement)(this.props.children[t],{key:t});e.push(i),t++}else break;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("form",{onSubmit:e=>{e.preventDefault(),this.buttonClick()},className:this.props.className,id:this.props.id,style:this.props.style,children:e})})}constructor(e){super(e),this.errorMsgSet=e=>{this.setState(()=>({errorMsg:e}))},this.buttonClick=()=>{let e={};for(let t=0;t<this.state.inputValues.length;t++){let s=this.state.inputNames[t];for(;s in e;)s+="Duplicate";let i=this.state.inputValues[t];e[s]=i}this.props.onSubmit(e)},this.onFormChildChange=(e,t)=>
1s=>{let i={inputValues:this.state.inputValues};i.inputValues[e]=s.target.value,this.setState(i),t(s)};let t=r.Children.toArray(this.props.children),s={errorMsg:"",inputNames:[],inputValues:[]};r.Children.map(t,(e,t)=>{("select"==e.type||"input"==e.type&&"submit"!=e.props.type||"textarea"==e.type)&&(e.props.value?s.inputValues.push(e.props.value):e.props.defaultValue?s.inputValues.push(e.props.defaultValue):s.inputValues.push(""),s.inputNames.push(e.props.name))}),this.state=s}}a.defaultProps={className:"",style:{},id:"Form",onSubmit:e=>!0};let n=a},39663:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>w,default:()=>g});var i=s(37876),r=s(14232),a=s(37428),n=s(77328),o=s.n(n),l=s(56557),u=s.n(l);class c extends r.Component{componentDidMount(){this.timerID=setInterval(()=>this.tick(),1e3)}componentWillUnmount(){this.timerID&&clearInterval(this.timerID)}tick(){let e=new Date,t=e.getDay(),s=this.daysOfWeek[this.props.day]-t;s<0?s+=7:5==t&&(s=7);let i=new Date(e);i.setDate(e.getDate()+s),i.setHours(0,0,0,0);let r=i.getTime()-e.getTime(),a=Math.floor(r/864e5),n=Math.floor(r/36e5%24),o=Math.floor(r/1e3/60%60),l=Math.floor(r/1e3%60);this.setState({timeLeft:"".concat(a,":").concat(n,":").concat(o,":").concat(l," seconds"),days:a,hours:n,minutes:o,seconds:l})}render(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"sw-flex sw-justify-center",style:{justifyContent:"space-evenly"},children:[(0,i.jsxs)("div",{className:"sw-flex sw-flex-col sw-justify-center",children:[(0,i.jsxs)("p",{style:{border:"2px solid #ff5959",width:"33px",height:"26px",lineHeight:"22px",textAlign:"center",backgroundColor:"#ff5959",color:"black",borderRadius:"3px",marginLeft:"auto",marginRight:"auto",fontSize:"18px",marginBottom:"2px"},className:"pulse ".concat(this.props.className),children:["0",this.state.days]}),(0,i.jsx)("p",{style:{marginTop:"0",fontSize:"14px"},className:"",children:"Days"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{style:{border:"2px solid #ff5959",width:"33px",height:"26px",lineHeight:"22px",textAlign:"center",backgroundColor:"#ff5959",color:"black",borderRadius:"3px",marginLeft:"auto",marginRight:"auto",fontSize:"18px",marginBottom:"2px"},className:"pulse ".concat(this.props.className),children:this.state.hours<10?"0".concat(this.state.hours):this.state.hours}),(0,i.jsx)("p",{style:{marginTop:"0",fontSize:"14px"},className:"",children:"Hours"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{style:{border:"2px solid #ff5959",width:"33px",height:"26px",lineHeight:"22px",textAlign:"center",backgroundColor:"#ff5959",color:"black",borderRadius:"3px",marginLeft:"auto",marginRight:"auto",fontSize:"18px",marginBottom:"2px"},className:"pulse ".concat(this.props.className),children:this.state.minutes<10?"0".concat(this.state.minutes):this.state.minutes}),(0,i.jsx)("p",{style:{marginTop:"0",fontSize:"14px"},className:"",children:"Minutes"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{style:{border:"2px solid #ff5959",width:"33px",height:"26px",lineHeight:"22px",textAlign:"center",backgroundColor:"#ff5959",color:"black",borderRadius:"3px",marginLeft:"auto",marginRight:"auto",fontSize:"18px",marginBottom:"2px"},className:"pulse ".concat(this.props.className),children:this.state.seconds<10?"0".concat(this.state.seconds):this.state.seconds}),(0,i.jsx)("p",{style:{marginTop:"0",fontSize:"14px"},className:"",children:"Seconds"})]})]}),(0,i.jsx)("style",{children:"\n                    .pulse {\n                        animation: pulse-animation 2s infinite;\n                        color: red;\n                        font-weight: bold;\n                    }\n                    \n                    @keyframes pulse-animation {\n                        0% { transform: scale(1); }\n                        50% { transform: scale(1.1); }\n                        100% { transform: scale(1); }\n                    }\n                    "})]})}constructor(e){super(e),this.state={timeLeft:"",days:0,hours:0,minutes:0,seconds:0},this.timerID=null,this.daysOfWeek={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}}}c.defaultProps={style:{},day:"",className:"",id:""};var d=s(39119),h=s(82892),m=s(24797),p=s(45105),f=s.n(p),y=s(73298);class x extends r.Component{componentDidUpdate(e,t){this.props.searchTerm!==e.searchTerm&&this.setState({searchFilter:this.props.searchTerm,currPage:0,loading:!0},()=>{}),t.formSubmitted!==this.state.formSubmitted&&this.setState({showModal:!0})}render(){async function e(e){return new Promise(t=>setTimeout(t,e))}let t=u()().subtract(1,"day");return u()(),(0,i.jsxs)("div",{children:[(0,i.jsx)(f(),{crossOrigin:"use-credentials",src:"https://script.carumai.io/buckets/scripts/leadPopUPSRP.js",StockVINSelector:".stock",id:"sw-LeadPopUpSRP-script",onReady:async()=>
1{if(await e(1500),!this.state.user){let e=await (0,d.Bz)();this.setState({user:e},()=>{if(e){let t={fName:e.firstName,lName:e.lastName,phone:e.phoneNumber,email:e.email,contact:"Email"};this.setState({popupScriptLoaded:!0},()=>{InitiateSWLeadPopUpSRPPlugin(t)})}})}}}),(0,i.jsx)(o(),{children:(0,i.jsx)("title",{children:"Nissan | Stephen Wade Auto Center"})}),(0,i.jsxs)("div",{style:{backgroundColor:"transparent"},className:"sw-p-0",children:[(0,i.jsxs)("div",{className:"sw-white sw-round-md sw-flex sw-justify-center sw-flex-wrap sw-none-phone",style:{backgroundColor:"white",flexDirection:"column"},children:[(0,i.jsx)("div",{className:"sw-flex",style:{background:"linear-gradient(281.24deg, #314158 0%, #090e21 100%)",height:"118px",width:"100%"},children:(0,i.jsx)("div",{style:{margin:"auto"},children:(0,i.jsx)("h2",{style:{margin:"auto"},className:"sw--white sw--center",children:"Schedule your Test Drive Today at Stephen Wade Nissan!"})})}),(0,i.jsx)("div",{className:"sw-flex",style:{margin:"auto",flexDirection:"column"},children:(0,i.jsx)("div",{className:"sw-w-80P-phone sw-m-t-md",children:(0,i.jsxs)(a.A,{onSubmit:this.handleFetch,children:[(0,i.jsxs)("div",{className:"sw-flex",style:{justifyContent:"space-between"},children:[(0,i.jsxs)("div",{className:"sw-flex",style:{flexDirection:"column",width:"48%"},children:[(0,i.jsx)("label",{className:"sw-w-30P",htmlFor:"firstName",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"First Name"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userFirstName",name:"userFirstName",defaultValue:this.state.firstNameInput,placeholder:"First Name",onChange:e=>{this.setState({firstNameInput:e.target.value})}})]}),(0,i.jsxs)("div",{className:"sw-flex",style:{flexDirection:"column",width:"48%"},children:[(0,i.jsx)("label",{className:"sw-w-30P",htmlFor:"firstName",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Last Name"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userLastName",name:"userLastName",defaultValue:this.state.lastNameInput,placeholder:"Last Name",onChange:e=>{this.setState({lastNameInput:e.target.value})}})]})]}),(0,i.jsxs)("div",{className:"sw-m-tb-sm sw-flex sw-justify-between sw-align-center",style:{flexDirection:"column"},children:[(0,i.jsx)("label",{className:"sw-w-100P",htmlFor:"userPhone",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Phone"}),(0,i.jsx)("input",{className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userPhone",name:"userPhone",defaultValue:this.state.phoneNumberInput,placeholder:"(435) 555-5555",onChange:e=>{this.setState({phoneNumberInput:e.target.value})}})]}),(0,i.jsxs)("div",{className:"sw-m-tb-sm sw-flex sw-justify-between sw-align-center",style:{flexDirection:"column"},children:[(0,i.jsx)("label",{className:"sw-w-100P",htmlFor:"userEmail",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Email"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userEmail",name:"userEmail",defaultValue:this.state.emailAddressInput,placeholder:"Email",onChange:e=>
1{this.setState({emailAddressInput:e.target.value})}})]}),(0,i.jsxs)("div",{className:"sw-flex",style:{margin:"auto",flexDirection:"column"},children:[(0,i.jsx)("h4",{className:"sw--center",style:{marginTop:"12px"},children:"Select a date and time to test drive your vehicle"}),(0,i.jsxs)("div",{className:"sw-w-80P-phone sw-m-t-md sw-align-center sw-justify-center",style:{height:"75px"},children:[(0,i.jsxs)("div",{style:{width:"100%"},className:"sw-flex sw-flex-wrap sw-justify-center",children:[(0,i.jsx)(m.A,{onDateChange:e=>{this.setState({dateInput:e.format("YYYY-MM-DD")})},style:{flex:"1"},"aria-label":"select date",theme:"light-theme",minDate:t}),(0,i.jsxs)("select",{required:!0,"aria-required":"true","aria-label":"select time",value:this.state.timeInput,onChange:e=>this.setState({timeInput:e.target.value}),style:{flex:"1",marginLeft:"5px"},name:"Time",className:"selectArrowShow",children:[(0,i.jsx)("option",{value:"",children:"Select a time"}),(0,i.jsx)("option",{value:"9:00am",children:"9:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"10:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"11:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"12:00pm"}),(0,i.jsx)("option",{value:"1:00pm",children:"1:00pm"}),(0,i.jsx)("option",{value:"11:00am",children:"2:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"3:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"4:00pm"}),(0,i.jsx)("option",{value:"5:00pm",children:"5:00pm"})]})]}),(0,i.jsx)("div",{className:"sw-w-100P sw-m-t-md sw-m-b-xlg sw-flex sw-justify-center",style:{flexDirection:"column"}})]})]}),(0,i.jsxs)("div",{className:"sw-w-100P sw-m-t-md sw-m-b-xlg sw-flex sw-justify-center",style:{flexDirection:"column"},children:[(0,i.jsx)("div",{className:"sw-flex",style:{justifyContent:"space-between",width:"100%"},children:this.state.formSubmitted?(0,i.jsx)(h.A,{style:{maxWidth:"343.65px",margin:"auto"},type:"success",closable:!1,children:(0,i.jsx)("div",{style:{flexDirection:"column",padding:"8px",margin:"auto"},className:"sw-flex sw--center sw-justify-center",children:(0,i.jsx)("p",{className:"sw--bold",style:{margin:"0",fontSize:"14px"},children:"Thank you. A Stephen Wade representative will reach out to you soon."})})}):(0,i.jsx)("button",{style:{opacity:this.state.formSubmitted?"40%":"100%",pointerEvents:this.state.formSubmitted?"none":"auto",width:"115px",height:"45px",margin:"auto",marginTop:"0px",marginBottom:"24px"},"aria-label":"submit",type:"submit",className:"sw--center sw-primary",children:"Submit"})}),this.state.submitError&&(0,i.jsx)("p",{className:"sw--danger sw--center",children:this.state.submitError})]})]})})}),(0,i.jsx)("p",{className:"sw--center sw-w-75P",style:{margin:"auto",position:"relative",top:"-30px",fontSize:"12px"},children:"*By submitting your first name, last name, email, phone number, you agree that we may use this information to contact you regarding your inquiry and to provide you with promotional offers. All offers on approved credit. Not all buyers will qualify. Special offer $1 down payment for $289 per month Example PRE-OWNED 2021 HYUNDAI ACCENT SE Stock: 1076070 based on 7.3% APR financing for 60 months. Total amount financed $14,499.00. Selection of marked down vehicles & massive vehicle selection under $20,000 subject to change without notice. Special $1 and $90 down payment, & low financing rates for up to 72 months, subject to credit approval. Deferred payments for 90 days or until March 2024 on approved credit, excludes factory leases. Top dollar for trade based on dealer approval. Special dealer invoice pricing on all new 2023 Nissan Rogues, see dealer for details. If we buy your vehicle, owner is responsible for all remaining loan balance. Vehicle must have clean title. Remaining auto loan balance on trade-in will be added to the new auto loan amount. Dealer is not responsible for existing loan balance on trade in or vehicle purchase. All prices, specifications and availability subject to change without notice. All prices plus tax, title, license, and dealer fees: $499 Doc Fee, $699 IKON & $221 Maintenance. Customer will not qualify for all offers. Some offers cannot be combined. See dealer for details.*"})]}),(0,i.jsxs)("div",{className:"sw-white sw-round-md sw-flex sw-justify-center sw-none sw-flex-phone",style:{backgroundColor:"white",flexDirection:"column",margin:"auto",width:"100%"},children:[(0,i.jsx)("div",{className:"sw-flex",style:{background:"linear-gradient(281.24deg, #314158 0%, #090e21 100%)",height:"118px",width:"100%"},children:(0,i.jsx)("div",{style:{margin:"auto"},children:(0,i.jsx)("h2",{style:{margin:"auto"},className:"sw--white sw--center",children:"Schedule your Test Drive Today!"})})}),(0,i.jsx)("div",{className:"sw-flex",style:{margin:"auto"},children:(0,i.jsx)("div",{className:"sw-w-80P-phone sw-m-t-md",style:{margin:"auto",marginTop:"12px"},children:(0,i.jsxs)(a.A,{onSubmit:this.handleFetch,children:[(0,i.jsxs)("div",{className:"sw-flex",style:{justifyContent:"space-between"},children:[(0,i.jsxs)("div",{className:"sw-flex",style:{flexDirection:"column",width:"48%"},children:[(0,i.jsx)("label",{className:"sw-w-30P",htmlFor:"firstName",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"First Name"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userFirstName",name:"userFirstName",defaultValue:this.state.firstNameInput,placeholder:"First Name",onChange:e=>{this.setState({firstNameInput:e.target.value})}})]}),(0,i.jsxs)("div",{className:"sw-flex",style:{flexDirection:"column",width:"48%"},children:[(0,i.jsx)("label",{className:"sw-w-30P",htmlFor:"firstName",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Last Name"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userLastName",name:"userLastName",defaultValue:this.state.lastNameInput,placeholder:"First Name",onChange:e=>{this.setState({lastNameInput:e.target.value})}})]})]}),(0,i.jsxs)("div",{className:"sw-m-tb-sm sw-flex sw-justify-between sw-align-center",style:{flexDirection:"column"},children:[(0,i.jsx)("label",{className:"sw-w-100P",htmlFor:"userPhone",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Phone"}),(0,i.jsx)("input",{pattern:"^\\d{3}-?\\d{3}-?\\d{4}$",className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"},type:"text",id:"userPhone",name:"userPhone",defaultValue:this.state.phoneNumberInput,placeholder:"(435) 555-5555",onChange:e=>{this.setState({phoneNumberInput:e.target.value})}})]}),(0,i.jsxs)("div",{className:"sw-m-tb-sm sw-flex sw-justify-between sw-align-center",style:{flexDirection:"column"},children:[(0,i.jsx)("label",{className:"sw-w-100P",htmlFor:"userEmail",style:{fontSize:"10pt",whiteSpace:"nowrap"},children:"Email"}),(0,i.jsx)("input",{required:!0,className:"sw-w-70P sw-m-tb-0",style:{marginBottom:"10px",width:"100%",padding:"12px 20px",boxSizing:"border-box",border:"1px solid #ccc",borderRadius:"8px",backgroundColor:"#f8f8f8",fontSize:"16px",resize:"none"}
1,type:"text",id:"userEmail",name:"userEmail",defaultValue:this.state.emailAddressInput,placeholder:"Email",onChange:e=>{this.setState({emailAddressInput:e.target.value})}})]}),(0,i.jsx)("h5",{className:"sw--center",style:{marginTop:"12px",fontSize:"20px"},children:"Select a date and time to test drive your vehicle"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(m.A,{onDateChange:e=>{this.setState({dateInput:e.format("YYYY-MM-DD")})},style:{flex:"1"},"aria-label":"select date",theme:"light-theme",minDate:t}),(0,i.jsxs)("select",{required:!0,"aria-required":"true","aria-label":"select time",value:this.state.timeInput,onChange:e=>this.setState({timeInput:e.target.value}),name:"Time",className:"selectArrowShow",children:[(0,i.jsx)("option",{value:"",children:"Select a time"}),(0,i.jsx)("option",{value:"9:00am",children:"9:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"10:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"11:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"12:00pm"}),(0,i.jsx)("option",{value:"1:00pm",children:"1:00pm"}),(0,i.jsx)("option",{value:"11:00am",children:"2:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"3:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"4:00pm"}),(0,i.jsx)("option",{value:"5:00pm",children:"5:00pm"})]})]}),(0,i.jsxs)("div",{className:"sw-w-100P sw-m-t-md sw-m-b-xlg sw-flex sw-justify-center",children:[(0,i.jsx)("div",{className:"sw-flex",style:{justifyContent:"space-between",width:"100%"},children:this.state.formSubmitted?(0,i.jsx)(h.A,{style:{maxWidth:"343.65px",margin:"auto"},type:"success",closable:!1,children:(0,i.jsx)("div",{style:{flexDirection:"column",padding:"8px",margin:"auto"},className:"sw-flex sw--center sw-justify-center",children:(0,i.jsx)("p",{className:"sw--bold",style:{margin:"0",fontSize:"14px"},children:"Thank you. A Stephen Wade representative will reach out to you soon."})})}):(0,i.jsx)("button",{style:{opacity:this.state.formSubmitted?"40%":"100%",pointerEvents:this.state.formSubmitted?"none":"auto",width:"115px",height:"45px",margin:"auto",marginTop:"0px",marginBottom:"24px"},"aria-label":"submit",type:"submit",className:"sw--center sw-primary",children:"Submit"})}),this.state.submitError&&(0,i.jsx)("p",{className:"sw--danger sw--center",children:this.state.submitError})]})]})})}),(0,i.jsx)("p",{className:"sw--center sw-w-75P",style:{margin:"auto",position:"relative",top:"-35px",fontSize:"12px"},children:"*By submitting your first name, last name, email, phone number, you agree that we may use this information to contact you regarding your inquiry and to provide you with promotional offers. All offers on approved credit. Not all buyers will qualify. Special offer $1 down payment for $289 per month Example PRE-OWNED 2021 HYUNDAI ACCENT SE Stock: 1076070 based on 7.3% APR financing for 60 months. Total amount financed $14,499.00. Selection of marked down vehicles & massive vehicle selection under $20,000 subject to change without notice. Special $1 and $90 down payment, & low financing rates for up to 72 months, subject to credit approval. Deferred payments for 90 days or until March 2024 on approved credit, excludes factory leases. Top dollar for trade based on dealer approval. Special dealer invoice pricing on all new 2023 Nissan Rogues, see dealer for details. If we buy your vehicle, owner is responsible for all remaining loan balance. Vehicle must have clean title. Remaining auto loan balance on trade-in will be added to the new auto loan amount. Dealer is not responsible for existing loan balance on trade in or vehicle purchase. All prices, specifications and availability subject to change without notice. All prices plus tax, title, license, and dealer fees: $499 Doc Fee, $699 IKON & $221 Maintenance. Customer will not qualify for all offers. Some offers cannot be combined. See dealer for details.*"}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{})]}),(0,i.jsxs)("div",{className:"sw-white sw-round-md sw-flex sw-justify-center sw-flex-wrap sw-none",style:{backgroundColor:"white",flexDirection:"column",margin:"auto"},children:[(0,i.jsx)("div",{className:"sw-flex",style:{background:"linear-gradient(281.24deg, #eb0a1e 0%, #79050f 100%)",height:"118px",width:"100%"},children:(0,i.jsx)("div",{style:{margin:"auto"},children:(0,i.jsx)("h3",{style:{margin:"auto",padding:"12px",fontSize:"24px"},className:"sw--white sw--center",children:"Congratulations! You've recieved $0 off your purchase!"})})}),(0,i.jsxs)("div",{className:"sw-flex sw-flex-col",style:{margin:"auto"},children:[(0,i.jsx)("p",{className:"sw--center sw--bold",style:{marginBottom:"0"},children:"OFFER EXPIRES IN"}),(0,i.jsx)(c,{day:"Saturday",className:"sw--center sw--bold",style:{color:"red",fontSize:"20px"}}),(0,i.jsx)("h4",{className:"sw--center",style:{marginTop:"4px",fontSize:"20px"},children:"Select a date and time to test drive your vehicle"}),(0,i.jsx)("div",{className:"sw-w-80P-phone sw-m-t-md sw-flex-col",style:{margin:"auto",marginTop:"12px"},children:(0,i.jsxs)(a.A,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(m.A,{onDateChange:e=>{this.setState({dateInput:e.format("YYYY-MM-DD")})},style:{flex:"1"},"aria-label":"select date",theme:"light-theme",minDate:t}),(0,i.jsxs)("select",{required:!0,"aria-required":"true","aria-label":"select time",value:this.state.timeInput,onChange:e=>this.setState({timeInput:e.target.value}),name:"Time",className:"selectArrowShow",children:[(0,i.jsx)("option",{value:"",children:"Select a time"}),(0,i.jsx)("option",{value:"9:00am",children:"9:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"10:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"11:00am"}),(0,i.jsx)("option",{value:"11:00am",children:"12:00pm"}),(0,i.jsx)("option",{value:"1:00pm",children:"1:00pm"}),(0,i.jsx)("option",{value:"11:00am",children:"2:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"3:00pm"}),(0,i.jsx)("option",{value:"3:00pm",children:"4:00pm"}),(0,i.jsx)("option",{value:"5:00pm",children:"5:00pm"})]})]}),(0,i.jsx)("div",{className:"sw-w-100P sw-m-t-md sw-m-b-xlg sw-flex sw-justify-center"})]})})]}),(0,i.jsx)("p",{className:"sw--center sw-w-75P",style:{margin:"auto",position:"relative",top:"-53px",fontSize:"12px"},children:"*By submitting this info, you agree that we may use this information to contact you regarding your inquiry and to provide you with promotional offers. New cars only. Does not appply to all brands. On approved credit only. Cannot be combined with other offers. Must be presented prior to negotiations. See dealer for details.*"})]})]})]})}async getViewsForEachVehicle(){let e=await fetch("https://dms.carumai.io/api/vehicles/statistics/vehicle/views/"),t=await e.json();if(!e.ok)return Promise.reject(t&&t.message||e.statusText);this.setState({webViews:t})}async postLead(){let e=await fetch("/api/leads/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({leadBucketId:"b605983f-4380-40e2-b251-0062d887a01a",FirstName:this.state.firstNameInput,LastName:this.state.lastNameInput,PhoneNumber:this.state.phoneNumberInput,Email:this.state.emailAddressInput,StoreCode:this.state.storeCode,additionalFormData:{date:this.state.dateInput,time:this.state.timeInput}})}).catch(()=>null),t=e?await e.json().catch(()=>null):null;return!!e&&!!e.ok&&!!t&&!t.error||(console.error("Post lead error"),!1)}async componentDidMount(){try{let e=Math.random();e<.6?this.setState({giftCardAmount:25}):e<.8?this.setState({giftCardAmount:50}):this.setState({giftCardAmount:75})}catch(e){console.log(e)}}constructor(e){super(e),this.mController=null,this.handleRadioButtonPreferredContactMethodOptionChange=e=>{this.setState({userPreferredContactMethod:e.target.value})},this.handleSubmit=async()=>
1{if(this.setState({storeCode:"Nissan"}),this.setState({submitError:""}),!await this.postLead())return void this.setState({submitError:"We couldn't schedule your test drive. Please try again."});fetch("https://crm.carumai.io/api/leads/sendToCRM",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({defaultHeaders:!0,defaultProvider:!0,leadJSON:{},leadXML:"<vehicle status='' interest='buy'>\n            <year></year>\n            <make></make>\n            <model></model>\n            <vin></vin>\n            <stock></stock>\n            </vehicle>\n            <customer>\n            <contact primarycontact='1'>\n            <name part='first'>".concat(this.state.firstNameInput,"</name>\n            <name part='last'>").concat(this.state.lastNameInput,"</name>\n            <email preferredcontact=>").concat(this.state.emailAddressInput,"</email>\n            <phone type='cellphone' preferredcontact='1'>").concat(this.state.phoneNumberInput,"</phone>\n            </contact>\n            <comments>This peerson has scheduled a test drive on ").concat(this.state.dateInput," at ").concat(this.state.timeInput," at Stephen Wade Nissan.</comments>\n            </customer>"),source:"New Cars CTA",storeCode:this.state.storeCode,bcc:"[email protected]"})}).then(e=>{if(201==e.status||200==e.status){var t="";t+="<html><body>"+("<h2>Hello, "+this.state.firstNameInput+" "+this.state.lastNameInput)+"</h2>"+("<p>Your test drive has been succesfully scheduled at Stephen Wade Nissan on "+this.state.dateInput+" at "+this.state.timeInput)+'.</p><a href="http://stephenwade.com/images/tc-voucher.webp">Click here for your voucher.</a><p>Best regards.</p></body></html>',this.sendEmail(this.state.emailAddressInput,t),this.setState({showPaymentPeriodPopup:!1,showPendingSubmitForPaymentPopup:!1,showThankYouPopup:!0,formSubmitted:!0}),(0,y.c)("nissan_test_drive")}else this.setState({submitError:"We couldn't schedule your test drive. Please try again."})}).catch(e=>{console.log(e),this.setState({submitError:"We couldn't schedule your test drive. Please try again."})})},this.testSubmit=()=>{var e="";e+="<html><body>"+("<h2>Hello, "+this.state.firstNameInput+" "+this.state.lastNameInput)+"</h2>"+("<p>Your test drive has been succesfully scheduled at Stephen Wade Nissan on "+this.state.dateInput+" at "+this.state.timeInput)+'.</p><a href="http://localhost:3000/images/tc-voucher.webp">Click here for your voucher.</a><p>Best regards.</p></body></html>',this.sendEmail(this.state.emailAddressInput,e),this.setState({showPaymentPeriodPopup:!1,showPendingSubmitForPaymentPopup:!1,showThankYouPopup:!0,formSubmitted:!0})},this.handleFetch=()=>{this.setState({storeCode:"Nissan"},()=>{this.handleSubmit()})},this.sendEmail=(e,t)=>fetch("https://crm.carumai.io/api/swacRoutes/sendEmail",{method:"POST",body:JSON.stringify({to:[e],cc:[],bcc:[],subject:"Your Test Drive has been Scheduled at Stephen Wade Nissan!",content:t,useHTML:"true"}),headers:{"Content-Type":"application/json"}}),this.mLazyLoadingTrigger=r.createRef(),this.state={showModal:!1,formSubmitted:!1,submitError:"",giftCardAmount:0,firstNameInput:"",lastNameInput:"",emailAddressInput
1:"",phoneNumberInput:"",dateInput:"",timeInput:"",userPreferredContactMethod:"",showThankYouPopup:!1,showPendingSubmitForPaymentPopup:!1,showPaymentPeriodPopup:!1,storeCode:"",favoriteVehicles:[],hoveringCarousel:!1,hoveringIndex:0,inventory:this.props.initialInventory,filterLocations:[],filterMakes:[],filterModels:[],filterYears:[],filterBodyStyles:[],filterFeatures:[],filterTrims:[],filterTransmissions:[],filterFuelTypes:[],filterColors:[],webViews:[],loading:this.props.firstLoad,totalInventory:this.props.totalInventory,switchNew:!!this.props.queryParams.new&&this.props.queryParams.new,switchUsed:!!this.props.queryParams.used&&this.props.queryParams.used,switchCertfied:!!this.props.queryParams.certified&&this.props.queryParams.certified,switchSpecials:!!this.props.queryParams.specials&&this.props.queryParams.specials,switchFuel:!!this.props.queryParams.efficient&&this.props.queryParams.efficient,priceSliderStart:this.props.queryParams.minPrice?this.props.queryParams.minPrice:0,priceSliderEnd:this.props.queryParams.maxPrice?this.props.queryParams.maxPrice:2e5,mileageSliderStart:this.props.queryParams.minMileage?this.props.queryParams.minMileage:0,mileageSliderEnd:this.props.queryParams.maxMileage?this.props.queryParams.maxMileage:2e5,mpgSliderStart:this.props.queryParams.minMPG?this.props.queryParams.minMPG:0,mpgSliderEnd:this.props.queryParams.maxMPG?this.props.queryParams.maxMPG:100,sortSelect:this.props.queryParams.sortBy?this.props.queryParams.sortBy:"Default",locationModal:!1,makeModal:!1,modelModal:!1,yearModal:!1,bodyStyleModal:!1,featureModal:!1,trimModal:!1,transmissionModal:!1,fuelTypeModal:!1,colorModal:!1,showScrollToTopButton:!1,currPage:0,displayStart:0,displayEnd:this.props.totalInventory<60?this.props.totalInventory:60,searchFilter:this.props.queryParams.SearchQuery?this.props.queryParams.SearchQuery:"",dealerFilterList:[],locationInitials:this.props.queryParams.LocationNum?this.props.queryParams.LocationNum:[],makesFilter:this.props.queryParams.Make?this.props.queryParams.Make:[],modelsFilter:this.props.queryParams.Model?this.props.queryParams.Model:[],yearsFilter:this.props.queryParams.Years?this.props.queryParams.Years:[],bodyStylesFilter:this.props.queryParams.BodyStyles?this.props.queryParams.BodyStyles:[],featuresFilter:this.props.queryParams.Features?this.props.queryParams.Features:[],featuresFilterNum:this.props.queryParams.FeaturesNum?this.props.queryParams.FeaturesNum:[],trimsFilter:this.props.queryParams.Trims?this.props.queryParams.Trims:[],transmissionsFilter:this.props.queryParams.Trans?this.props.queryParams.Trans:[],fuelTypesFilter:this.props.queryParams.FuelType?this.props.queryParams.FuelType:[],colorsFilter:this.props.queryParams.Color?this.props.queryParams.Color:[],priceRange:["0","200000"],allFilters:this.props.filterList,displayClearFilter:!1,loadingNextPage:!1,test:20,hotDeals:[],botNavDisplay:0,language:this.props.language,recommendedVehicles:[],userSignedIn:!1,user:null,popupScriptLoaded:!1,filtering:this.props.filtering,shopByPaymentAvailable:!1,shopByPaymentRangeMin:0,shopByPaymentRangeMax:0,shopByPaymentDownPayment:0,shopByPaymentMonthsToPayoff:0,interrupters:[{title:"Why Buy from Us?",subtitle:"We did the homework for you!",imageUrl:"https://img.youtube.com/vi/8R8dex4V_Oo/maxresdefault.jpg",linkURl:"https://google.com",youtubeVideoCode:"8R8dex4V_Oo",buttonText:""},{title:"Why Buy from Us?",subtitle:"We did the homework for you!",imageUrl:"",linkURl:"https://google.com",youtubeVideoCode:"rooQx44lNhw",buttonText:""},{title:"Why Buy from Us?",subtitle:"We did the homework for you!",imageUrl:"",linkURl:"https://google.com",youtubeVideoCode:"3t0hh6GoEg4",buttonText:""}],youtubeVideoCode:"",shopByPaymentDisclaimer:!1}}}var w=!0;let g=x},56557:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",s="minute",i="hour",r="week",a="month",n="quarter",o="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,s){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(s)+e},m="en",p={};p[m]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","
1st","nd","rd"],s=e%100;return"["+e+(t[(s-20)%10]||t[s]||t[0])+"]"}};var f="$isDayjsObject",y=function(e){return e instanceof b||!(!e||!e[f])},x=function e(t,s,i){var r;if(!t)return m;if("string"==typeof t){var a=t.toLowerCase();p[a]&&(r=a),s&&(p[a]=s,r=a);var n=t.split("-");if(!r&&n.length>1)return e(n[0])}else{var o=t.name;p[o]=t,r=o}return!i&&r&&(m=r),r||!i&&m},w=function(e,t){if(y(e))return e.clone();var s="object"==typeof t?t:{};return s.date=e,s.args=arguments,new b(s)},g={s:h,z:function(e){var t=-e.utcOffset(),s=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(s/60),2,"0")+":"+h(s%60,2,"0")},m:function e(t,s){if(t.date()<s.date())return-e(s,t);var i=12*(s.year()-t.year())+(s.month()-t.month()),r=t.clone().add(i,a),n=s-r<0,o=t.clone().add(i+(n?-1:1),a);return+(-(i+(s-r)/(n?r-o:o-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:a,y:o,w:r,d:"day",D:l,h:i,m:s,s:t,ms:e,Q:n})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};g.l=x,g.i=y,g.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function h(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[f]=!0}var m=h.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,s=e.utc;if(null===t)return new Date(NaN);if(g.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(c);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return s?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return g},m.isValid=function(){return this.$d.toString()!==u},m.isSame=function(e,t){var s=w(e);return this.startOf(t)<=s&&s<=this.endOf(t)},m.isAfter=function(e,t){return w(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<w(e)},m.$g=function(e,t,s){return g.u(e)?this[t]:this.set(s,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,n){var u=this,c=!!g.u(n)||n,d=g.p(e),h=function(e,t){var s=g.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?s:s.endOf("day")},m=function(e,t){return g.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,f=this.$M,y=this.$D,x="set"+(this.$u?"UTC":"");switch(d){case o:return c?h(1,0):h(31,11);case a:return c?h(1,f):h(0,f+1);
1case r:var w=this.$locale().weekStart||0,b=(p<w?p+7:p)-w;return h(c?y-b:y+(6-b),f);case"day":case l:return m(x+"Hours",0);case i:return m(x+"Minutes",1);case s:return m(x+"Seconds",2);case t:return m(x+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(r,n){var u,c=g.p(r),d="set"+(this.$u?"UTC":""),h=((u={}).day=d+"Date",u[l]=d+"Date",u[a]=d+"Month",u[o]=d+"FullYear",u[i]=d+"Hours",u[s]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],m="day"===c?this.$D+(n-this.$W):n;if(c===a||c===o){var p=this.clone().set(l,1);p.$d[h](m),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[g.p(e)]()},m.add=function(e,n){var l,u=this;e=Number(e);var c=g.p(n),d=function(t){var s=w(u);return g.w(s.date(s.date()+Math.round(t*e)),u)};if(c===a)return this.set(a,this.$M+e);if(c===o)return this.set(o,this.$y+e);if("day"===c)return d(1);if(c===r)return d(7);var h=((l={})[s]=6e4,l[i]=36e5,l[t]=1e3,l)[c]||1,m=this.$d.getTime()+e*h;return g.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,s=this.$locale();if(!this.isValid())return s.invalidDate||u;var i=e||"YYYY-MM-DDTHH:mm:ssZ",r=g.z(this),a=this.$H,n=this.$m,o=this.$M,l=s.weekdays,c=s.months,h=s.meridiem,m=function(e,s,r,a){return e&&(e[s]||e(t,i))||r[s].slice(0,a)},p=function(e){return g.s(a%12||12,e,"0")},f=h||function(e,t,s){var i=e<12?"AM":"PM";return s?i.toLowerCase():i};return i.replace(d,function(e,i){return i||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return g.s(t.$y,4,"0");case"M":return o+1;case"MM":return g.s(o+1,2,"0");case"MMM":return m(s.monthsShort,o,c,3);case"MMMM":return m(c,o);case"D":return t.$D;case"DD":return g.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(s.weekdaysMin,t.$W,l,2);case"ddd":return m(s.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return g.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return f(a,n,!0);case"A":return f(a,n,!1);case"m":return String(n);case"mm":return g.s(n,2,"0");case"s":return String(t.$s);case"ss":return g.s(t.$s,2,"0");case"SSS":return g.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,l,u){var c,d=this,h=g.p(l),m=w(e),p=(m.utcOffset()-this.utcOffset())*6e4,f=this-m,y=function(){return g.m(d,m)};switch(h){case o:c=y()/12;break;case a:c=y();break;case n:c=y()/3;break;case r:c=(f-p)/6048e5;break;case"day":c=(f-p)/864e5;break;case i:c=f/36e5;break;case s:c=f/6e4;break;case t:c=f/1e3;break;default:c=f}return u?c:g.a(c)},m.daysInMonth=function(){return this.endOf(a).$D},m.$locale=function(){return p[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var s=this.clone(),i=x(e,t,!0);return i&&(s.$L=i),s},m.clone=function(){return g.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},h}(),v=b.prototype;return w.prototype=v,[["$ms",e],["$s",t],["$m",s],["$H",i],["$W","day"],["$M",a],["$y",o],["$D",l]].forEach(function(e){v[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),w.extend=function(e,t){return e.$i||(e(t,b,w),e.$i=!0),w},w.locale=x,w.isDayjs=y,w.unix=function(e){return w(1e3*e)},w.en=p[m],w.Ls=p,w.p={},w}()},64301:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(s,i,r){var a,n=function(e,s,i){void 0===i&&(i={});var r,a,n,o,l=new Date(e);return(void 0===(r=i)&&(r={}),(o=t[n=s+"|"+(a=r.timeZoneName||"short")])||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),t[n]=o),o).formatToParts(l)},o=function(t,s){for(var i=n(t,s),a=[],o=0;o<i.length;o+=1){var l=i[o],u=l.type,c=l.value,d=e[u];d>=0&&(a[d]=parseInt(c,10))}var h=a[3],m=a[0]+"-"+a[1]+"-"+a[2]+" "+(24===h?0:h)+":"+a[4]+":"+a[5]+":000",p=+t;return(r.utc(m).valueOf()-(p-=p%1e3))/6e4},l=i.prototype;l.tz=function(e,t){void 0===e&&(e=a);
1var s,i=this.utcOffset(),n=this.toDate(),o=n.toLocaleString("en-US",{timeZone:e}),l=Math.round((n-new Date(o))/1e3/60),u=-(15*Math.round(n.getTimezoneOffset()/15))-l;if(Number(u)){if(s=r(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=s.utcOffset();s=s.add(i-c,"minute")}}else s=this.utcOffset(0,t);return s.$x.$timezone=e,s},l.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),s=n(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return s&&s.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var s=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(s,e,t).tz(this.$x.$timezone,!0)},r.tz=function(e,t,s){var i=s&&t,n=s||t||a,l=o(+r(),n);if("string"!=typeof e)return r(e).tz(n);var u=function(e,t,s){var i=e-60*t*1e3,r=o(i,s);if(t===r)return[i,t];var a=o(i-=60*(r-t)*1e3,s);return r===a?[i,r]:[e-60*Math.min(r,a)*1e3,Math.max(r,a)]}(r.utc(e,i).valueOf(),l,n),c=u[0],d=u[1],h=r(c).utcOffset(d);return h.$x.$timezone=n,h},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){a=e}}}()},77328:(e,t,s)=>{e.exports=s(29269)},82892:(e,t,s)=>{"use strict";s.d(t,{A:()=>u});var i=s(37876),r=s(14232),a=s(10284),n=s.n(a),o=s(72193);class l extends r.Component{render(){let e="sw-".concat(this.props.type,"-D sw-m-t-0 sw-round sw-flex sw-justify-between sw-p-tb-xsm sw-align-center");return this.props.render&&!this.state.closed?(0,i.jsx)("figure",{className:this.props.className,id:this.props.id,style:this.props.style,children:(0,i.jsxs)("figcaption",{className:e,style:{color:this.props.textColor},children:[this.props.children,this.renderCloseButton()]})}):null}renderCloseButton(){return this.props.closable?(0,i.jsx)("button",{"aria-label":"close button",className:"sw-flex sw-align-center sw-justify-center sw-round-100P sw-w-35px sw-h-30px sw-grey sw--white sw-p-0 sw-m-l-sm sw-shadow-0 sw-shadow-0-hov",style:{cursor:"pointer",background:"transparent"},onClick:()=>{this.setState({closed:!0},()=>{this.props.renderHandler(this.props.render)})},onKeyDown:e=>{this.props.closable&&"Enter"===e.key&&this.setState({closed:!0})},children:(0,i.jsx)(n(),{path:o.hyP,size:1})}):null}constructor(e){super(e),this.state={closed:!1}}}l.defaultProps={type:"info",renderHandler:()=>{},closable:!0,textColor:"white",render:!0,id:"Alert",className:"",style:{}};let u=l},84406:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/nissan-testdrive",function(){return s(39663)}])},86090:function(e){e.exports=function(){"use strict";var e,t,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,i=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,r={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},a=function(e){return e instanceof d},n=function(e,t,s){return new d(e,s,t.$l)},o=function(e){return t.p(e)+"s"},l=function(e){return e<0},u=function(e){return l(e)?Math.ceil(e):Math.floor(e)},c=function(e,t){return e?l(e)?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},d=function(){function l(e,t,s){var a=this;if(this.$d={},this.$l=s,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return n(e*r[o(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){a.$d[o(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var l=e.match(i);if(l){var u=l.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=u[0],this.$d.months=u[1],this.$d.weeks=u[2],this.$d.days=u[3],this.$d.hours=u[4],this.$d.minutes=u[5],this.$d.seconds=u[6],this.calMilliseconds(),this}}return this}var d=l.prototype;return d.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,s){return t+(e.$d[s]||0)*r[s]},0)},d.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=u(e/31536e6),e%=31536e6,this.$d.months=u(e/2628e6),e%=2628e6,this.$d.days=u(e/864e5),e%=864e5,this.$d.hours=u(e/36e5),e
1%=36e5,this.$d.minutes=u(e/6e4),e%=6e4,this.$d.seconds=u(e/1e3),e%=1e3,this.$d.milliseconds=e},d.toISOString=function(){var e=c(this.$d.years,"Y"),t=c(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=7*this.$d.weeks);var i=c(s,"D"),r=c(this.$d.hours,"H"),a=c(this.$d.minutes,"M"),n=this.$d.seconds||0;this.$d.milliseconds&&(n+=this.$d.milliseconds/1e3,n=Math.round(1e3*n)/1e3);var o=c(n,"S"),l=e.negative||t.negative||i.negative||r.negative||a.negative||o.negative,u=r.format||a.format||o.format?"T":"",d=(l?"-":"")+"P"+e.format+t.format+i.format+u+r.format+a.format+o.format;return"P"===d||"-P"===d?"P0D":d},d.toJSON=function(){return this.toISOString()},d.format=function(e){var i={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return(e||"YYYY-MM-DDTHH:mm:ss").replace(s,function(e,t){return t||String(i[e])})},d.as=function(e){return this.$ms/r[o(e)]},d.get=function(e){var t=this.$ms,s=o(e);return"milliseconds"===s?t%=1e3:t="weeks"===s?u(t/r[s]):this.$d[s],t||0},d.add=function(e,t,s){var i;return i=t?e*r[o(t)]:a(e)?e.$ms:n(e,this).$ms,n(this.$ms+i*(s?-1:1),this)},d.subtract=function(e,t){return this.add(e,t,!0)},d.locale=function(e){var t=this.clone();return t.$l=e,t},d.clone=function(){return n(this.$ms,this)},d.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},d.valueOf=function(){return this.asMilliseconds()},d.milliseconds=function(){return this.get("milliseconds")},d.asMilliseconds=function(){return this.as("milliseconds")},d.seconds=function(){return this.get("seconds")},d.asSeconds=function(){return this.as("seconds")},d.minutes=function(){return this.get("minutes")},d.asMinutes=function(){return this.as("minutes")},d.hours=function(){return this.get("hours")},d.asHours=function(){return this.as("hours")},d.days=function(){return this.get("days")},d.asDays=function(){return this.as("days")},d.weeks=function(){return this.get("weeks")},d.asWeeks=function(){return this.as("weeks")},d.months=function(){return this.get("months")},d.asMonths=function(){return this.as("months")},d.years=function(){return this.get("years")},d.asYears=function(){return this.as("years")},l}(),h=function(e,t,s){return e.add(t.years()*s,"y").add(t.months()*s,"M").add(t.days()*s,"d").add(t.hours()*s,"h").add(t.minutes()*s,"m").add(t.seconds()*s,"s").add(t.milliseconds()*s,"ms")};return function(s,i,r){e=r,t=r().$utils(),r.duration=function(e,t){return n(e,{$l:r.locale()},t)},r.isDuration=a;var o=i.prototype.add,l=i.prototype.subtract;i.prototype.add=function(e,t){return a(e)?h(this,e,1):o.bind(this)(e,t)},i.prototype.subtract=function(e,t){return a(e)?h(this,e,-1):l.bind(this)(e,t)}}}()}},e=>{e.O(0,[4797,636,6593,8792],()=>e(e.s=84406)),_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.