PageSourceSearch

https://suzuki.co.uk/_next/static/chunks/pages/requestService-71edf2a69653e7fb.js

js suzuki.co.uk collected 2026-10-02 05:40:07 UTC 16,139 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[872],{323:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=323,e.exports=t},641:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var a=s(7876);s(4232);var n=s(4587),c=s.n(n),l=s(9613),i=s.n(l);let r={src:"/_next/static/media/empty-circle.0d9ec71f.svg",height:16,width:17,blurWidth:0,blurHeight:0},_={src:"/_next/static/media/full-circle.d83c21d1.svg",height:16,width:17,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/check-full-circle.1ae8e626.svg",height:16,width:17,blurWidth:0,blurHeight:0},d=e=>{let{stepBar:t,currentStep:s}=e;return(0,a.jsx)("div",{className:i().timeline_container,children:t&&t.map((e,n)=>(0,a.jsxs)("div",{className:i().timeline_content,children:[(0,a.jsx)("div",{className:"".concat(i().step_name," ").concat(n+1===s?"".concat(i().active):""),children:e.name},"StepBar-".concat(n)),(0,a.jsxs)("div",{className:i().timeline_step,children:[(0,a.jsx)(c(),{src:((e,t)=>e+1===t?_:e+1<t?o:r)(n,s),alt:"circle",width:16,height:16,className:i().check_icon}),n<t.length-1&&(0,a.jsx)("div",{className:"".concat(i().line," step-").concat(n," ").concat(n+1<s&&s>1?"".concat(i().active):"")})]})]},"step-".concat(n)))})}},781:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>h});var a=s(7876),n=s(4587),c=s.n(n),l=s(4232),i=s(2116),r=s.n(i),_=s(8384),o=s(6063);let d=[{numberPlate:"DY64ZBZ",resultPlate:"Suzuki Swift SZ4 Auto"}],h=e=>{let{setStepPage:t}=e,[s,n]=(0,l.useState)(""),[i,h]=(0,l.useState)([]),[u,m]=(0,l.useState)("");return(0,a.jsx)("div",{className:r().step_container,children:(0,a.jsxs)("div",{className:r().container,children:[(0,a.jsxs)("div",{className:r().header_content,children:[(0,a.jsx)("h1",{className:r().header_content_title,children:"PLEASE ENTER YOUR REGISTRATION NUMBER"}),(0,a.jsx)("p",{className:r().header_content_description,children:"Just pop in your registration info, and we’ll help with the rest."})]}),(0,a.jsx)("div",{className:r().label,children:"Vehicle registration number (VRN)"}),(0,a.jsx)("div",{className:r().search_content,children:(0,a.jsxs)("div",{className:r().search_content_input,children:[(0,a.jsx)("input",{type:"text",className:r().input_search,value:s,onChange:e=>n(e.target.value)}),(0,a.jsx)("div",{onClick:()=>(e=>{let t=d.find(t=>t.numberPlate===e);t?(m(""),h([t])):m("The registration number was not found! Please check it and search again.")})(s),className:r().input_button,children:(0,a.jsx)(c(),{src:_.A,alt:"search",width:20,height:20})})]})}),u&&(0,a.jsx)("div",{className:r().error_search,children:u}),i.length>0&&(null==i?void 0:i.map((e,s)=>(0,a.jsxs)("div",{className:r().search_result,onClick:()=>t(2),children:[(0,a.jsx)("div",{className:r().search_result_title,children:null==e?void 0:e.resultPlate}),(0,a.jsxs)("div",{onClick:e=>{e.stopPropagation(),h([]),n("")},className:r().search_result_cancel,children:[(0,a.jsx)("span",{className:r().search_result_cancel_text,children:"CHANGE"}),(0,a.jsx)(c(),{src:o.A,alt:"cancel-service",width:24,height:24})]})]},"result-number-".concat(s))))]})})}},1583:e=>{e.exports={step_container:"styles_step_container__Y7KY1",header_content:"styles_header_content__5Pe3x",header_content_title:"styles_header_content_title__HaiF6",header_content_description:"styles_header_content_description__tqnlx"}},1996:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>u});var a=s(7876),n=s(4232),c=s(7380),l=s.n(c),i=s(781),r=s(6014),_=s(4059),o=s(5201),d=s(3963),h=s(641);let u=()=>{let[e,t]=(0,n.useState)(1),[s,c]=(0,n.useState)(""),[u,m]=(0,n.useState)(),[x,p]=(0,n.useState)({textSearched:"",postalCode:"",showOnlyMotabilityDealers:!1}),[b,v]=(0,n.useState)(),[j,N]=(0,n.useState)({emailAddress:"",phoneNumber:"",firstName:"",surname:"",title:"",email:!1,phone:!1,sms:!1,post:!1,manufacturerScheduledService:!1,bookPlusService:!1,mot:!1,recallServiceCampaign:!1,otherService:!1,postCode:x}),y=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var e;null==(e=y.current)||e.scrollIntoView()},[e]),(0,a.jsxs)("div",{className:l().page_container,children:["HEADER",(0,a.jsxs)("div",{className:l().header,children:[(0,a.jsx)("h3",{className:l().header_title,children:"REQUEST A SERVICE,"}),(0,a.jsx)("h3",{className:l().header_title,children:"MOT OR REPAIR"}),(0,a.jsx)("p",{className:l().header_description,children:"Expert care for your Suzuki (and you!) starts here."})]}),(0,a.jsx)("div",{className:l().page_container,ref:y,children:(0,a.jsx)("div",{className:l().cars_container,children:(0,a.jsxs)("div",{className:l().container_wrapper,children:[(0,a.jsx)("div",{className:l().progress_bar,children:(0,a.jsx)(h.A,{stepBar:[{step:1,name:"Registration number"},{step:2,name:"Find a dealer"}
1,{step:3,name:"Date and time"},{step:4,name:"Your details"},{step:5,name:"Confirmation"}],currentStep:e})}),(0,a.jsx)(()=>{switch(e){case 1:return(0,a.jsx)(i.default,{setStepPage:t});case 2:return(0,a.jsx)(r.default,{postCode:x,setPostCode:p,selectedDealerPage:b,setSelectedDealerPage:v,setStepPage:t});case 3:return(0,a.jsx)(_.default,{isCheckedDate:s,setIsCheckedDate:c,dateCalendar:u,setDateCalendar:m,setStepPage:t});case 4:return(0,a.jsx)(o.default,{postCode:x,setStepPage:t,formDetails:j,selectedDealerPage:b,setFormDetails:N});case 5:return(0,a.jsx)(d.default,{selectedDealerPage:b,isCheckedDate:s,dateCalendar:u,formDetails:j,setStepPage:t});default:return console.error("stepPage doesn't exist in RequestTestDrive"),null}},{})]})})})]})}},2116:e=>{e.exports={step_container:"styles_step_container__uP0c3",container:"styles_container__mclfi",header_content:"styles_header_content__Jriuh",header_content_title:"styles_header_content_title__Hesm_",header_content_description:"styles_header_content_description___bmGl",label:"styles_label__Zj8oZ",search_content:"styles_search_content___J6vb",search_content_input
1:"styles_search_content_input__SeHNh",input_search:"styles_input_search__ysGK5",input_button:"styles_input_button__I9uNh",error_search:"styles_error_search__rqM6H",search_result:"styles_search_result__BMwO9",search_result_title:"styles_search_result_title__xmS77",search_result_cancel:"styles_search_result_cancel___XzXw",search_result_cancel_text:"styles_search_result_cancel_text__10vYO"}},3963:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>h});var a=s(7876),n=s(4587),c=s.n(n),l=s(3992),i=s.n(l),r=s(7390),_=s(4701);let o={src:"/_next/static/media/locationThankYouIcon.cd018e6a.svg",height:24,width:24,blurWidth:0,blurHeight:0},d={src:"/_next/static/media/callThankYou.a7f4b767.svg",height:20,width:20,blurWidth:0,blurHeight:0},h=e=>{let{isCheckedDate:t,dateCalendar:s,formDetails:n,selectedDealerPage:l}=e;return(0,a.jsx)(r.A,{title:"Thank you!",subtitle:"Your chosen dealer will be in touch shortly - review your booking details below.",content:(0,a.jsx)("div",{className:i().step_container,children:(0,a.jsx)("div",{className:i().container,children:(0,a.jsx)("div",{className:i().information,children:(0,a.jsxs)("div",{className:i().about_content,children:[(0,a.jsxs)("div",{className:i().about_content_left,children:[(0,a.jsx)("span",{className:i().about_content_left_title,children:null==l?void 0:l.name}),(0,a.jsxs)("div",{className:i().about_content_left_contact,children:[(0,a.jsx)(c(),{src:o,alt:"location",width:24,height:24}),(0,a.jsxs)("p",{children:[(0,a.jsx)(_.A,{html:(null==l?void 0:l.address)||""}),","," ",null==l?void 0:l.postcode]})]}),(0,a.jsxs)("div",{className:i().about_content_left_contact,children:[(0,a.jsx)(c(),{src:d,alt:"call",width:24,height:24}),(0,a.jsx)("p",{children:"02087 488 844"})]})]}),(0,a.jsxs)("div",{className:i().about_content_right,children:[(0,a.jsx)("span",{className:i().about_content_right_title,children:"Your details"}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Name:"," ",(0,a.jsxs)("b",{children:[null==n?void 0:n.firstName," ",null==n?void 0:n.surname]})]}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Email: ",(0,a.jsx)("b",{children:null==n?void 0:n.emailAddress})]}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Phone: ",(0,a.jsx)("b",{children:null==n?void 0:n.phoneNumber})]}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Callback date:"," ",(0,a.jsxs)("b",{children:[" ",s&&new Date(s).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"}),", ",t||"Anytime"]})]}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Contact method:"," ",(0,a.jsxs)("b",{children:[" ",[(null==n?void 0:n.phone)&&"Phone",(null==n?void 0:n.post)&&"Post",(null==n?void 0:n.email)&&"Email",(null==n?void 0:n.sms)&&"SMS"].filter(Boolean).join(", ")]})]}),(0,a.jsxs)("div",{className:i().about_content_right_detail,children:["Services required:"," ",(0,a.jsxs)("b",{children:[" ",[(null==n?void 0:n.manufacturerScheduledService)&&"Book a manufacturer scheduled service",(null==n?void 0:n.bookPlusService)&&"Book a 7 year plus service",(null==n?void 0:n.mot)&&"MOT",(null==n?void 0:n.recallServiceCampaign)&&"Recall and/or service campaign",(null==n?void 0:n.otherService)&&"Other / I’m just not sure. I Need help with an issue."].filter(Boolean).join(", ")]})]})]})]})})})})})}},3992:e=>{e.exports={step_container:"styles_step_container__limui",container:"styles_container__dCjbF",information:"styles_information__4gI60",about_content:"styles_about_content__tevas",about_content_left:"styles_about_content_left__1IZaU",about_content_left_title:"styles_about_content_left_title__d0SE4",about_content_left_contact:"styles_about_content_left_contact__Kk9N6",about_content_right:"styles_about_content_right__rP6Vh",about_content_right_title:"styles_about_content_right_title__Y_6fV",about_content_right_detail:"styles_about_content_right_detail__2tMbX"}},4046:e=>{e.exports={step_container:"styles_step_container__U_XkK",container:"styles_container__uvE_V",header_content:"styles_header_content__V7_Ef",header_content_title:"styles_header_content_title__0p2qN",header_content_description:"styles_header_content_description__0Hogx",date_content:"styles_date_content__wJQCz",checks_content:"styles_checks_content__rSosK",check_button:"styles_check_button__DL_Ag",unchecked:"styles_unchecked__rcJh9",check_box:"styles_check_box__LFNrX",checked_blue:"styles_checked_blue__QTuYP",check_box_checked:"styles_check_box_checked__q6js3",check_button_description:"styles_check_button_description__9i43C",line_bottom:"styles_line_bottom__6juo1",bottom_choice:"styles_bottom_choice___6W93",back_upper:"styles_back_upper__i2VvM",button_deactivated:"styles_button_deactivated__GUN3f",back_down:"styles_back_down__zHJhu"}},4059:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>p});var a=s(7876),n=s(4587),c=s.n(n),l=s(4232),i=s(4046),r=s.n(i),_=s(4566),o=s(6856);s(5833);var d=s(4916),h=s.n(d);let u=e=>{let{updateDate:t,selectedDate:s}=e;return(0,a.jsxs)("div",{className:h().container,children:[(0,a.jsx)("div",{className:h().label,children:"Date"}),(0,a.jsx)(o.Ay,{selected:s,onChange:e=>{e&&t(e)},dateFormat:"dd MMMM yyyy",placeholderText:"Select",className:h().calendar})]})};var m=s(3553);let x={src:"/_next/static/media/checkbox.6b61bf65.svg",height:24,width:24,blurWidth:0,blurHeight:0},p=e=>{let{isCheckedDate:t,setIsCheckedDate:s,dateCalendar:n,setDateCalendar:i,setStepPage:o}=e,[d,h]=(0,l.useState)(t),[p,b]=(0,l.useState)(n),v=()=>{i&&s&&(i(p),s(d))};return(0,a.jsxs)("div",{className:r().step_container,children:[(0,a.jsxs)("div",{className:r().container,children:[(0,a.jsxs)("div",{className:r().header_content,children:[(0,a.jsx)("h3",{className:r().header_content_title,children:"Preferred date and time"}),(0,a.jsx)("p",{className:r().header_content_description,children:"Please provide both your Mobile number and Email Address so that we can fulfil your request."})]}),(0,a.jsx)("div",{className:r().date_content,children:(0,a.jsx)(u,{updateDate:e=>{b(e)},selectedDate:p})}),(0,a.jsxs)("div",{className:r().checks_content,children:[(0,a.jsxs)("div",{className:"".concat(r().check_button," ").concat(!p&&r().unchecked),children:[(0,a.jsx)("div",{className:"".concat(r().check_box," ").concat(d===m.UW.Morning&&r().checked_blue),onClick:()=>{p&&h(d===m.UW.Morning?"":"Morning")},children:d===m.UW.Morning&&(0,a.jsx)("div",{className:r().check_box_checked,children:(0,a.jsx)(c(),{src:x,alt:"check",width:20,height:20})})}),(0,a.jsx)("p",{className:r().check_button_description,children:"Morning"})]}),(0,a.jsxs)("div",{className:"".concat(r().check_button," ").concat(!p&&r().unchecked),children:[(0,a.jsx)("div",{className:"".concat(r().check_box," ").concat(d===m.UW.Afternoon&&r().checked_blue),onClick:()=>{p&&h(d===m.UW.Afternoon?"":"Afternoon")},children:d===m.UW.Afternoon&&(0,a.jsx)("div",{className:r().check_box_checked,children:(0,a.jsx)(c(),{src:x,alt:"check",width:20,height:20})})}),(0,a.jsx)("p",{className:r().check_button_description,children:"Afternoon"})]}),(0,a.jsxs)("div",{className:"".concat(r().check_button," ").concat(!p&&r().unchecked),children:[(0,a.jsx)("div",{className:"".concat(r().check_box," ").concat(d===m.UW.Anytime&&r().checked_blue),onClick:()=>{p&&h(d===m.UW.Anytime?"":"Anytime")},children:d===m.UW.Anytime&&(0,a.jsx)("div",{className:r().check_box_checked,children:(0,a.jsx)(c(),{src:x,alt:"check",width:20,height:20})})}),(0,a.jsx)("p",{className:r().check_button_description,children:"Anytime"})]})]}),(0,a.jsx)("div",{className:r().line_bottom}),(0,a.jsxs)("div",{className:r().bottom_choice,children:[(0,a.jsx)("div",{className:r().back_upper,children:(0,a.jsx)(_.A,{name:"FIND A DEALER",arrowColor:m.iW.Red,arrowPosition:m.B8.Left,handleClick:()=>{v(),o(2)},buttonType:m.Mr.White})}),p?(0,a.jsx)(_.A,{handleClick:()=>{v(),o(4)},name:"Next",buttonType:m.Mr.Blue}):(0,a.jsx)(_.A,{className:r().button_deactivated,name:"Next",buttonType:m.Mr.Blue})]})]}),(0,a.jsx)("div",{className:r().back_down,children:(0,a.jsx)(_.A,{name:"FIND A DEALER",arrowColor:m.iW.Red,arrowPosition:m.B8.Left,handleClick:()=>{v(),o(2)},buttonType:m.Mr.White})})]})}},4916:e=>{e.exports={container:"styles_container__OYe3o",label:"styles_label__qwryM",calendar:"styles_calendar__BbYZ9"}},5201:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var a=s(7876),n=s(1583),c=s.n(n),l=s(7727);let i=e=>{let{postCode:t,setStepPage:s,setFormDetails:n,formDetails:i,selectedDealerPage:r}=e;return(0,a.jsxs)("div",{className:c().step_container,children:[(0,a.jsxs)("div",{className:c().header_content,children:[(0,a.jsx)("h3",{className:c().header_content_title,children:"YOUR DETAILS"}),(0,a.jsx)("p",{className:c().header_content_description,children:"Please leave you number here and we will call you with all the information you need."})]}),(0,a.jsx)(l.default,{postCode:t,setStepPage:s,setFormDetails:n,formDetails:i,selectedDealerPage:r})]})}},7380:e=>{e.exports={page_container:"styles_page_container__X9__C",header:"styles_header__RTUe1",header_title:"styles_header_title__DyGRg",header_description:"styles_header_description__HHzVA",cars_container:"styles_cars_container__lUR08",container_wrapper:"styles_container_wrapper__jgtJE",progress_bar:"styles_progress_bar__3gZ9r"}},7390:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(7876),n=s(4701),c=s(2514),l=s(7576),i=s.n(l);let r=e=>{let{title:t,subtitle:s,content:l}=e;return(0,a.jsxs)("div",{className:i().thank_you,children:[(0,a.jsx)(c.A,{level:"h3",text:t}),(0,a.jsx)(n.A,{html:s,className:i().paragraph}),l&&l]})}},7427:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/requestService",function(){return s(1996)}])},7576:e=>{e.exports={thank_you:"styles_thank_you__Zcwd_",paragraph:"styles_paragraph__Cigav"}},8384:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a={src:"/_next/static/media/searchImageButton.f2a19484.svg",height:20,width:20,blurWidth:0,blurHeight:0}},9613:e=>{e.exports={timeline_container:"styles_timeline_container__YYiiQ",timeline_content:"styles_timeline_content__aemqE",step_name:"styles_step_name__3gBuy",active:"styles_active__Rkkgk",timeline_step:"styles_timeline_step__LIOKM",line:"styles_line__bWlxr"}}},e=>{e.O(0,[759,121,701,587,436,543,230,213,452,727,602,636,593,792],()=>e(e.s=7427)),_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.