PageSourceSearch

https://stephenwade.com/_next/static/chunks/pages/redrock-b3d0513abd092bf3.js

js stephenwade.com collected 2026-10-01 15:40:48 UTC 16,810 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[754],{37428:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(37876),a=s(14232);class i extends a.Component{render(){let e=[],t=0,s=0;for(;;)if(this.props.children[t]){let r=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),r=(0,a.cloneElement)(this.props.children[t],{onChange:this.onFormChildChange(s,e),key:t}),s++}else r=(0,a.cloneElement)(this.props.children[t],{key:t});e.push(r),t++}else break;return(0,r.jsx)(r.Fragment,{children:(0,r.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 r=this.state.inputValues[t];e[s]=r}this.props.onSubmit(e)},this.onFormChildChange=(e,t)=>
1s=>{let r={inputValues:this.state.inputValues};r.inputValues[e]=s.target.value,this.setState(r),t(s)};let t=a.Children.toArray(this.props.children),s={errorMsg:"",inputNames:[],inputValues:[]};a.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}}i.defaultProps={className:"",style:{},id:"Form",onSubmit:e=>!0};let o=i},62060:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/redrock",function(){return s(99894)}])},77328:(e,t,s)=>{e.exports=s(29269)},82892:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var r=s(37876),a=s(14232),i=s(10284),o=s.n(i),n=s(72193);class l extends a.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,r.jsx)("figure",{className:this.props.className,id:this.props.id,style:this.props.style,children:(0,r.jsxs)("figcaption",{className:e,style:{color:this.props.textColor},children:[this.props.children,this.renderCloseButton()]})}):null}renderCloseButton(){return this.props.closable?(0,r.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,r.jsx)(o(),{path:n.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 p=l},99894:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>g,default:()=>w});var r=s(37876),a=s(14232),i=s(77328),o=s.n(i),n=s(37428),l=s(10284),p=s.n(l),h=s(72193),d=s(39119),c=s(82892),u=s(45105),m=s.n(u);class y extends a.Component{componentDidUpdate(e,t){}async handleSubmit(){let e=await fetch("/api/leads/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({leadBucketId:"bce60f23-3da4-4e3d-9701-3b39908cc34d",FirstName:this.state.firstName,LastName:this.state.lastName,PhoneNumber:this.state.phoneNumber,Email:this.state.email,additionalFormData:{rewardAmount:this.state.address,bikeSize:this.state.bikeSize}})}).catch(()=>null),t=e?await e.json().catch(()=>null):null;if(!e||!e.ok||!t||t.error){console.error("Post lead error"),this.setState({submitError:"We couldn't submit your entry. Please try again."});return}this.setState({formSubmitted:!0,submitError:""})}render(){async function e(e){return new Promise(t=>setTimeout(t,e))}return window.location.pathname.includes("/redtagsale"),this.state.language,(0,r.jsxs)("div",{children:[(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"Stephen Wade Auto Center | Labor Day"}),(0,r.jsx)("meta",{name:"keywords",content:"red tag sale, special offers, discounted prices, limited-time deals, car promotions"}),(0,r.jsx)("meta",{name:"author",content:"Stephen Wade Auto Center"}),(0,r.jsx)("meta",{name:"description",content:"Discover the exciting Red Tag Sale at Stephen Wade Auto Center. Take advantage of special offers, discounted prices, and limited-time deals on a wide selection of cars. Don't miss out on our exclusive car promotions. Visit us now to find your dream car at unbeatable prices."}),(0,r.jsx)("meta",{name:"referrer",content:"origin"}),(0,r.jsx)("link",{rel:"canonical",href:"https://www.stephenwade.com/redtagsale"})]}),(0,r.jsx)(m(),{crossOrigin:"use-credentials",src:"https://script.carumai.io/buckets/scripts/leadPopUPSRP.js",StockVINSelector:".stock",id:"sw-LeadPopUpSRP-script",onReady:async()=>{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,r.jsx)(m(),{src:"https://kit.fontawesome.com/87e4a2d3ee.js",crossOrigin:"anonymous"}),(0,r.jsxs)("div",{style:{width:"100%",margin:"auto",backgroundColor:"#232f3e",alignItems:"center",minHeight:"100vh",flexDirection:"column",backgroundPosition:"50% 28%",background:"linear-gradient(180deg, #232f3e 0%, rgba(35, 47, 62, 0.7) 0%), url(/images/pattern_background_min.webp) no-repeat center top fixed",backgroundSize:"cover",backgroundRepeat:"no-repeat"}
1,id:"modLeadSection",className:"sw-flex sw-p-tb-lg",children:[(0,r.jsxs)("div",{className:"sw--white",style:{width:"100%",flexDirection:"column"},children:[(0,r.jsx)("h1",{className:"sw-justify-center sw--size-xxlg sw--center",style:{margin:"auto",padding:"10px 0 10px 0",fontSize:"36px"},children:"Stephen Wade Auto Center Bicycle Give Away"}),(0,r.jsx)("hr",{style:{margin:"auto",marginTop:"5px",height:"2px",width:"75%",backgroundColor:"#ccc",border:"none"}}),(0,r.jsx)("div",{className:"sw-justify-center sw--size-xxlg sw--center",style:{margin:"auto",padding:"10px 0 10px 0",fontSize:"16px",maxWidth:"600px"},children:"Stephen Wade Auto Center is partnering with Red Rock Bicycle to give away Specialized bikes, designed for kids aged 18 and under, at the season finale in November. All who register for any Intermountain Cup series race are automatically entered to win one of the Specialized Mountain Bikes. Spectators and customers of Stephen Wade Auto Center can also enter by filling out the form below for a chance to win one (1) of the five (5) bikes at the Season Finale in November in St. George at the I-CUP Season Finale."}),(0,r.jsx)("div",{className:"sw-justify-center sw--size-xxlg sw--center",style:{margin:"auto",padding:"10px 0 10px 0",fontSize:"16px",maxWidth:"600px"},children:"How to Enter: Fill out the form below to enter our giveaway. Ensure all information provided is accurate and complete for eligibility. Entrants aged 18 and under are eligible to win."})]}),(0,r.jsxs)(n.A,{className:"sw-flex",style:{flexDirection:"column",margin:"15px",maxWidth:"550px",padding:"20px",borderRadius:"5px",marginTop:"auto",marginBottom:"auto",backgroundColor:"white"},onSubmit:this.handleSubmit,children:[(0,r.jsx)("div",{className:"sw-flex sw-justify-center sw--center",style:{fontSize:"24px",fontWeight:"bold"},children:"Fill out the form below to enter."}),(0,r.jsx)("input",{value:this.state.firstName,onChange:e=>this.setState({firstName:e.target.value}),type:"text",name:"firstName",placeholder:"First Name",required:!0}),(0,r.jsx)("input",{value:this.state.lastName,onChange:e=>this.setState({lastName:e.target.value}),type:"text",name:"lastName",placeholder:"Last Name",required:!0}),(0,r.jsx)("input",{value:this.state.address,onChange:e=>this.setState({address:e.target.value}),type:"text",name:"Address",placeholder:"Address",required:!0}),(0,r.jsx)("input",{value:this.state.phoneNumber,onChange:e=>this.setState({phoneNumber:e.target.value}),type:"tel",name:"phoneNumber",placeholder:"Phone Number",required:!0,pattern:"^\\d{3}-?\\d{3}-?\\d{4}$"}),(0,r.jsx)("input",{value:this.state.email,onChange:e=>this.setState({email:e.target.value}),type:"text",name:"email",placeholder:"Email Address",required:!0,pattern:"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"}),(0,r.jsxs)("select",{name:"SelectedStore",required:!0,className:"selectArrowShow",value:this.state.bikeSize,onChange:e=>this.setState({bikeSize:e.target.value}),children:[(0,r.jsx)("option",{value:"",children:"Select Bike Size"}),(0,r.jsx)("option",{value:"Extra Small",children:"Extra Small"}),(0,r.jsx)("option",{value:"Small",children:"Small"}),(0,r.jsx)("option",{value:"Medium",children:"Medium"}),(0,r.jsx)("option",{value:"Large",children:"Large"})]}),(0,r.jsx)(c.A,{render:this.state.formSubmitted,style:{height:"75%",maxWidth:"343.65px"},type:"success",closable:!1,children:(0,r.jsxs)("div",{style:{flexDirection:"column",padding:"8px"},className:"sw-flex",children:[(0,r.jsx)("h3",{style:{fontSize:"16px",marginBottom:"4px"},children:"Thank you."}),(0,r.jsx)("p",{style:{margin:"0",fontSize:"14px"},children:(0,r.jsx)("strong",{children:"We have received your entry for the Red Rock Bicycle competition"})})]})}),(0,r.jsx)("span",{className:"sw--danger sw--center",style:{display:this.state.submitError?"block":"none"},children:this.state.submitError}),!this.state.formSubmitted&&(0,r.jsx)("button",{style:{opacity:this.state.formSubmitted?"40%":"100%",pointerEvents:this.state.formSubmitted?"none":"auto",width:"100%",margin:"auto",marginTop:"24px",marginBottom:"24px"},"aria-label":"submit",type:"submit",className:"sw--center sw-primary",children:"Submit"}),(0,r.jsx)("i",{style:{fontSize:"12px"},children:"Geographic Restrictions Apply: Please note that our services are currently available exclusively to residents of specific geographic locations. We do not offer shipping for bikes. Our service area includes Southern Nevada, Southern Utah (specifically Iron and Washington counties), and Beaver Dam, AZ. Additionally, we are operational in Sevier County due to our race events in Richfield, UT. We appreciate your understanding."}),(0,r.jsx)("br",{}),(0,r.jsx)("i",{style:{fontSize:"12px"},children:"For Participants Under 13: If you are under the age of 13, please have your parent or legal guardian complete this entry form on your behalf. Stephen Wade Auto Center and Red Rock Bicycle are committed to complying with the Children's Online Privacy Protection Act (COPPA). We do not knowingly collect personal information from children under 13 without obtaining verifiable parental consent. If we discover that any personal information has been submitted by a child under 13 without such consent, we will delete that information promptly. If you believe we might have any information from or about a child under 13 without consent, please contact us at [your contact information]."})]})]}),(0,r.jsx)("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                        ").replace(/^\s+|\s+$/g,"").replace(/\s+/g," "),style:{bottom:120,right:20},onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,r.jsx)(p(),{path:h.iDA,size:1.4})})]})}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})}componentWillUnmount(){window.removeEventListener("scroll",this.handleScroll)}constructor(e){super(e),this.mController=null,this.handleScroll=()=>{window.scrollY>0&&!this.state.showScrollToTopButton?this.setState({showScrollToTopButton:!0}):0===window.scrollY&&this.state.showScrollToTopButton&&this.setState({showScrollToTopButton:!1}),this.mLazyLoadingTrigger.current&&!this.state.loadingNextPage&&this.mLazyLoadingTrigger.current.getBoundingClientRect().top<window.innerHeight&&this.setState({currPage:this.state.currPage+1,loadingNextPage:!0},()=>{})},this.mLazyLoadingTrigger=a.createRef(),this.handleScroll=this.handleScroll.bind(this),this.handleSubmit=this.handleSubmit.bind(this);let t=0,s=0,r=60;this.props.queryParams.page&&(s=60*(t=parseInt(this.props.queryParams.page)),r=(t+1)*60),this.state={success:!1,successMessage:"Account successfully created!",error:!1,errorMessage:"",redTagFormSubmitted:!1,storePhoneNumber:"",vehicleInfo:{},vehicleYear:"",vehicleMake:"",vehicleModel:"",vehicleVin:"",vehicleStockNumber:"",storeCode:"",srpFormSubmitted:!1,redTagModal:!1,showModal:!1,firstName:"",lastName:"",phoneNumber:"",email:"",address:"",bikeSize:"",dateOfBirth:"",password:"",confirmPassword:"",preferedContactMethod:"",formSubmitted:!1,submitError:"",bdcMember:!1,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",priceRangeModal:!1,mileageModal:!1,mpgModal:!1,locationModal:!1,makeModal:!1,modelModal:!1,yearModal:!1,bodyStyleModal:!1,featureModal:!1,trimModal:!1,transmissionModal:!1,fuelTypeModal:!1,colorMod
1al:!1,showScrollToTopButton:!1,currPage:this.props.queryParams.page?parseInt(this.props.queryParams.page):0,displayStart:s,displayEnd:this.props.totalInventory<r?this.props.totalInventory:r,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:this.props.hotDeals,botNavDisplay:0,language:this.props.language,recommendedVehicles:this.props.recommendedVehicles,userSignedIn:!1,user:this.props.users,popupScriptLoaded:!1,filtering:this.props.filtering,shopByPaymentAvailable:this.props.shopByPaymentAvailable,shopByPaymentRangeMin:this.props.shopByPaymentRangeMin,shopByPaymentRangeMax:this.props.shopByPaymentRangeMax,shopByPaymentDownPayment:this.props.shopByPaymentDownPayment,shopByPaymentMonthsToPayoff:this.props.shopByPaymentMonthsToPayoff,interrupters:[],youtubeVideoCode:"",shopByPaymentDisclaimer:!1,heartButtonSignInModal:!1,isMobile:!1}}}var g=!0;let w=y}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=62060)),_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.