1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4938],{98567:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/verify",function(){return n(67627)}])},98210:function(t,e,n){"use strict";var r=n(85893),a=(n(67294),n(27859)),o=n.n(a);e.Z=function(){return(0,r.jsxs)("div",{className:o().lds_ring,children:[(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{})]})}},67627:function(t,e,n){"use strict";n.r(e);var r=n(34051),a=n.n(r),o=n(85893),i=n(67294),_=n(11163),s=n(90628),c=n.n(s),u=n(9473),d=n(67923),h=n(93922),l=n(90248),g=n(22920),p=n(98210),f=n(46737),m=n.n(f);function v(t,e,n,r,a,o,i){try{var _=t[o](i),s=_.value}catch(c){return void n(c)}_.done?e(s):Promise.resolve(s).then(r,a)}function x(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(t){v(o,r,a,i,_,"next",t)}function _(t){v(o,r,a,i,_,"throw",t)}i(void 0)}))}}e.default=function(){var t=(0,_.useRouter)(),e=(0,u.I0)(),n=(0,u.v9)((function(t){return t.website.isLoading})),r=(0,i.useState)(""),s=r[0],f=r[1],v=function(){var r=x(a().mark((function r(){var o,i;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n){r.next=15;break}return r.prev=1,e(d.Gg.actions.setLoading()),o={mode:"MOBILE_VERIFICATION"===t.query.verify?"mobile":"email"},r.next=6,l.Z.resendOtp(o);case 6:200===(i=r.sent).status&&g.Am.success("".concat(i.message)),e(d.Gg.actions.disableLoading()),r.next=15;break;case 11:r.prev=11,r.t0=r.catch(1),e(d.Gg.actions.disableLoading()),g.Am.error("".concat(r.t0.response.data?r.t0.response.data.message:"Something went wrong!!"));case 15:case"end":return r.stop()}}),r,null,[[1,11]])})));return function(){return r.apply(this,arguments)}}(),b=function(){var r=x(a().mark((function r(){var o,i;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n){r.next=17;break}return r.prev=1,e(d.Gg.actions.setLoading()),o={mode:"MOBILE_VERIFICATION"===t.query.verify?"mobile":"email",otp:s},r.next=6,l.Z.verifyOtp(o);case 6:i=r.sent,e(d.Gg.actions.disableLoading()),"ACCOUNT_VERIFICATION"===t.query.mode&&(e(h.sv.actions.setUserLoggedIn()),e(h.sv.actions.loginSuccess({user:i.data.user,token:i.data.accessToken,profile:i.data.profile})),localStorage.setItem("token","".concat(i.data.accessToken.token)),"USER"===i.data.user.userRole?t.replace({pathname:"/dashboard/onboarding"}):t.replace({pathname:"/dashboard"})),"RESET_PASSWORD"===t.query.mode&&t.replace({pathname:"/auth/resetPassword",query:{mode:t.query.mode}}),e(d.Gg.actions.disableLoading()),r.next=17;break;case 13:r.prev=13,r.t0=r.catch(1),e(d.Gg.actions.disableLoading()),m()({title:"Error",text:"".concat(r.t0.response.data?r.t0.response.data.message:"Something went wrong!!"),icon:"warning",dangerMode:!1,buttons:{can:{text:"Ok",value:"can"}}});case 17:case"end":return r.stop()}}),r,null,[[1,13]])})));return function(){return r.apply(this,arguments)}}();return(0,i.useEffect)((function(){e(d.Gg.actions.disableLoading())}),[]),(0,o.jsx)(i.Fragment,{children:(0,o.jsx)("section",{className:"verify_otp",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:c().sign_up_container,children:[(0,o.jsx)("div",{className:c().left_form_container,children:(0,o.jsxs)("div",{className:c().verify_otp_sections,children:[(0,o.jsx)("h1",{className:c().heading_signup,children:"Verify OTP"}),(0,o.jsx)("p",{children:"Please enter the 6 digit OTP sent to your registered email ID."}),(0,o.jsx)("input",{min:0,maxLength:6,required:!0,type:"text",value:s,onChange:function(t){f(t.target.value)}}),(0,o.jsx)("p",{className:c().resond_text,onClick:v,children:"Resend OTP"}),(0,o.jsx)("button",{className:c().signup_button,onClick:b,children:n?(0,o.jsx)(p.Z,{}):"Verify OTP"})]})}),(0,o.jsx)("div",{className:c().right_form_container,children:(0,o.jsx)("img",{src:"/images/login-lottie.svg",alt:"login-lottie",className:c().imgAuth})})]})})})})}},90248:function(t,e,n){"use strict";var r=n(58437),a="auth/",o={userLogin:function(t){var e="".concat(a,"login");return r.Z.post(e,t)},userRegistration:function(t){var e="".concat(a,"register");return r.Z.post(e,t)},checkoutRegister:function(t){var e="".concat(a,"checkoutRegister");return r.Z.post(e,t)},forgotPassword:function(t){var e="".concat(a,"forgotPassword");return r.Z.post(e,t)},resendOtp:function(t){var e="".concat(a,"resendOTP");return r.Z.post(e)},verifyOtp:function(t){var e="".concat(a,"validateOTP");return r.Z.post(e,t,{headers:{authorization:localStorage.getItem("token")}})},resetPassword:function(t){var e="".concat(a,"resetPassword");return r.Z.post(e,t,{headers:{authorization:localStorage.getItem("token")}})},generateAutoLink:function(t){var e="".concat(a,"generateAutoLoginLink");return r.Z.post(e,t,{headers:{authorization:localStorage.getItem("token")}})},validateAutoLogin:function(t){var e="".concat(a,"validateAutoLoginLink");return r.Z.post(e,t)},validateCorporateLogin:function(t){var e="".concat(a,"pvrLogin");return r.Z.post(e,t)},userCorporateRegistration:function(t){var e="".concat(a,"pvrRegisteration");return r.Z.post(e,t)},socialAuth:function(t){var e="".concat(a,"socialAuth");return r.Z.post(e,t)}};e.Z=o},27859:function(t){t.exports={lds_ring:"loader_lds_ring__LHo_i"}},90628:function(t){t.exports={error:"auth_error__N_H5J",error_msg:"auth_error_msg__t6yeA",headingAuth:"auth_headingAuth___gxbA",form_container:"auth_form_container__0ZEI8",form:"auth_form__CNmxJ",form_main:"auth_form_main__HrhkE",input_container:"auth_input_container__KUiAt",forgot:"auth_forgot__JwD6B",click_drop:"auth_click_drop__dv2d_",numbers_dropdown:"auth_numbers_dropdown__GzuJ6",drop_input:"auth_drop_input__hr05u",policy:"auth_policy__ZEyDH",back_to_login:"auth_back_to_login__bOSYL",login_via:"auth_login_via__99MpA",already_account:"auth_already_account__hBS7c",social_media:"auth_social_media__aIQrV",checkbox_outer:"auth_checkbox_outer__BUjjk",sign_up_container:"auth_sign_up_container__poo6c",left_form_container:"auth_left_form_container__inSl8",heading_signup:"auth_heading_signup__cYqm_",input_first_line:"auth_input_first_line__xibqE",error_msg1:"auth_error_msg1__Sa0F1",set_country_code:"auth_set_country_code__CFwDT",selects_dropDown:"auth_selects_dropDown__5abuy",enter_mobile_number:"auth_enter_mobile_number__4COX8",input_email:"auth_input_email__0Sn4a",heading_forget:"auth_heading_forget__wN7TG",input_email_forget:"auth_input_email_forget__r5PCb",input_confirm_password:"auth_input_confirm_password__emNvp",pass_show:"auth_pass_show__IoO5R",right_form_container:"auth_right_form_container__mqrAl",imgAuth:"auth_imgAuth__RN5Q8",signup_button:"auth_signup_button__TLx32",trsm_condtions:"auth_trsm_condtions__v8n48",input_check_mark:"auth_input_check_mark__WyoKQ",left_remarks:"auth_left_remarks__9UPcN",right_forget:"auth_right_forget__qjq_w",toggle_case:"auth_toggle_case__f7zyC",verify_otp_sections:"auth_verify_otp_sections__WvbtX",resond_text:"auth_resond_text__yPl_N",verify_box:"auth_verify_box__SSVtI"}}},function(t){t.O(0,[9774,2888,179],(function(){return e=98567,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.