1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3713],{13304:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(37876);a(14232);let r=e=>{let{fill:t,width:a,height:r}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:a||"24",height:r||"25",viewBox:"0 0 24 25",fill:"none",children:(0,n.jsx)("path",{d:"M6 12.5137H18",stroke:t||"#0F0F0F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},69667:e=>{e.exports={page:"status_page__VwCwd",pageLoader:"status_pageLoader___sPEb",warrantySection:"status_warrantySection__TTgbs",extendedWarrantyContainer:"status_extendedWarrantyContainer__6liWS",extendedWarrantyContent:"status_extendedWarrantyContent__uAWj5",mototPrice:"status_mototPrice__F1nQZ",description:"status_description__e7qk9",imageContainer:"status_imageContainer__ciZ_D",extendedWarrantyImage:"status_extendedWarrantyImage__GT7gG",store:"status_store__6rHwf",frequentSection:"status_frequentSection__Ht3Bh",container:"status_container__bgWRd",cardContainer:"status_cardContainer__QZOne",accordianSection:"status_accordianSection__olimz",accordianMainContainer:"status_accordianMainContainer__4g3V7",accordianWrapper:"status_accordianWrapper__5Z3A_",accordianContentWrapper:"status_accordianContentWrapper__QxpPz"}},98389:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>f,default:()=>g});var n=a(37876),r=a(14232),i=a(69667),s=a.n(i),o=a(98901),l=a(52358),d=a(27212),c=a(31443),u=a(92170),_=a(13304),m=a(39091),p=a(77922),h=a(31777),v=a(15153),w=a(74917);let y=[{title:"Booking",faqs:[{question:"Why do electric scooters come with different riding modes and how do they impact the performance?",answer:"Electric scooters come with different riding modes to control how the motor and battery deliver power, giving the rider flexibility to choose between performance and efficiency depending on the situation. "},{question:"Does Simple One has cruise control in it?",answer:"Yes, 2 models will have cruise control in it. Simple One and Simple Ultra"},{question:"What warranty options will be available for the new Simple energy scooters?",answer:"3 Years standard and we have extended 8 Years Warranty (Ref - warranty section in website)"},{question:"Do all the 4 models will have 4 level advanced regen?",answer:"Regen is available in all the models,but advanced regen or 4 level of regen is available on touch clusters or the two models,ie Simple One and One Ultra. Simple OneS (non touch) will have only Level 1 by default "},{question:"Which IP rating of water and dust resistance is available for the new variants?",answer:"HMI: IP67(Touch & non touch) "}]}];var f=!0;let g=e=>{var t,a,i,f,g,x,b;let{}=e,S=(0,h.d4)(e=>null==e?void 0:e.auth),j=(0,h.d4)(e=>e.prebook.prebookOrderID),[I,N]=(0,r.useState)(null),[C,P]=(0,r.useState)(null),{mutate:W,data:k,isPending:q}=(0,m.Tn)(p.cI,"/order",null!=(g=null==S?void 0:S.accessToken)?g:""),{mutate:O,data:E,isPending:T}=(0,m.Tn)(p.VR,"/order",null!=(x=null==S?void 0:S.accessToken)?x:""),{mutate:A,data:M,isPending:B}=(0,m.Tn)(v.j_,"/order",null!=(b=null==S?void 0:S.accessToken)?b:"","",e=>{var t;(null==e||null==(t=e.verifyPayment)?void 0:t.data)&&(W({orderId:j}),O({orderId:j}))});(0,r.useEffect)(()=>{(null==j?void 0:j.length)>2&&A({orderId:j})},[j]),(0,r.useEffect)(()=>{window.history.replaceState(null,"","/prebook/status");let e=()=>{window.location.replace("/")};return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}},[]),(0,r.useEffect)(()=>{(async()=>{try{var e;let t=await w.A.post("/graphql",{query:v.Uu});(null==t||null==(e=t.data)?void 0:e.data)&&P(t.data.data)}catch(e){}})()},[]);let D=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{var e,t,a,n,r,i,s,o,l,d,c,u,_;let m=null==k||null==(e=k.getOrderById)?void 0:e.data,p=null==M||null==(t=M.verifyPayment)?void 0:t.data;if(!m||D.current)return;let h=(m.orderStatus||"").toUpperCase(),v=(null==p||null==(n=p.cashfreeOrderStatus)||null==(a=n.toUpperCase)?void 0:a.call(n))||"";if(!(["CONFIRMED","PAID"].includes(h)||"PAID"===v))return;let w=m.orderNumber||m.orderId||j,y=m.model||"Prebook",f=Number(1947);{let e=window.gtag,t={transaction_id:w,value:f,currency:"INR",items:[{item_name:y,quantity:1}],orderId:m.orderId,orderNumber:m.orderNumber,variantId:m.variantId,customer_name:(null==(i=m.paymentMetadata)||null==(r=i.customer_details)?void 0:r.customer_name)||"",customer_email:(null==(o=m.paymentMetadata)||null==(s=o.customer_details)?void 0:s.customer_email)||"",customer_phone:(null==(d=m.paymentMetadata)||null==(l=d.customer_details)?void 0:l.customer_phone)||"",customer_id:(null==(u=m.paymentMetadata)||null==(c=u.customer_details)?void 0:c.customer_id)||"",facilityId:(null==(_=m.dealer)?void 0:_.facilityId)||""};null==e||e("event","purchase",t),D.current=!0}},[null==k||null==(t=k.getOrderById)?void 0:t.data,null==M||null==(a=M.verifyPayment)?void 0:a.data,j]),(0,n.jsxs)("div",{className:s().page,children:[(0,n.jsx)("div",{className:s().c
1ontainer,children:(0,n.jsx)("div",{className:s().cardContainer,children:(0,n.jsx)(o.A,{data:k,cashfreeStatus:null==M||null==(f=M.verifyPayment)||null==(i=f.data)?void 0:i.cashfreePaymentStatus,isLoading:q||T||B,timelineData:E,hideTopBar:!0,showNavigationButton:!0,assets:C||void 0})})}),(0,n.jsxs)("div",{className:s().frequentSection,children:[(0,n.jsx)("div",{className:s().header,children:(0,n.jsxs)("h1",{children:["Frequently ",(0,n.jsx)("br",{})," asked questions"]})}),(0,n.jsx)("div",{className:s().accordianSection,children:null==y?void 0:y[0].faqs.map((e,t)=>(0,n.jsx)("div",{className:s().accordianMainContainer,children:(0,n.jsx)(l.A,{isOpen:I===t,setIsOpen:()=>N(I===t?null:t),title:(0,n.jsxs)("div",{className:"".concat(s().accordianWrapper," ").concat(I===t?s().removeBorderRadius:""),children:[(0,n.jsx)("p",{children:e.question}),(0,n.jsx)(d.N,{mode:"wait",initial:!1,children:I===t?(0,n.jsx)(c.P.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},children:(0,n.jsx)(_.A,{})},"minus"):(0,n.jsx)(c.P.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},children:(0,n.jsx)(u.A,{})},"plus")})]}),children:(0,n.jsx)("div",{className:s().accordianContentWrapper,children:e.answer})})},t))})]})]})}},99017:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/prebook/status",function(){return a(98389)}])}},e=>{e.O(0,[3716,8901,636,6593,8792],()=>e(e.s=99017)),_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.