1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2222],{62013:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout",function(){return t(95569)}])},98210:function(e,n,t){"use strict";var o=t(85893),c=(t(67294),t(27859)),s=t.n(c);n.Z=function(){return(0,o.jsxs)("div",{className:s().lds_ring,children:[(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{})]})}},95569:function(e,n,t){"use strict";t.r(n);var o=t(34051),c=t.n(o),s=t(85893),i=t(67294),a=t(18037),r=t.n(a),l=t(9473),u=t(11163),d=t(67923),h=t(98862),p=t(93922),m=t(22920),g=t(90248),v=t(87536),_=t(41664),f=t.n(_),k=t(9669),x=t.n(k),j=t(97553),b=t(47896),S=t(89583),C=t(33370),N=t(30381),w=t.n(N),y=t(98210);function P(e,n,t,o,c,s,i){try{var a=e[s](i),r=a.value}catch(l){return void t(l)}a.done?n(r):Promise.resolve(r).then(o,c)}function I(e){return function(){var n=this,t=arguments;return new Promise((function(o,c){var s=e.apply(n,t);function i(e){P(s,o,c,i,a,"next",e)}function a(e){P(s,o,c,i,a,"throw",e)}i(void 0)}))}}function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},o=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),o.forEach((function(n){R(e,n,t[n])}))}return e}n.default=function(){var e=(0,l.I0)(),n=(0,u.useRouter)(),t=(0,v.cI)(),o=t.register,a=t.handleSubmit,_=t.formState.errors,k=t.setValue,N=(0,v.cI)(),P=N.register,R=N.handleSubmit,A=N.formState.errors,E=(0,l.v9)((function(e){return e.user.isUserLoggedIn})),D=(0,l.v9)((function(e){return e.user.user})),T=(0,l.v9)((function(e){return e.user.profile})),M=(0,l.v9)((function(e){var n,t;return null===(n=e.user)||void 0===n||null===(t=n.user)||void 0===t?void 0:t.regRefrence})),B=(0,l.v9)((function(e){var n,t,o;return null===(n=e.user)||void 0===n||null===(t=n.user)||void 0===t||null===(o=t.corporateRefrence)||void 0===o?void 0:o._id})),G=(0,i.useState)({value:"+91",label:"India"}),U=G[0],O=G[1],F=(0,i.useState)(!1),Z=F[0],V=F[1],Y=(0,i.useState)("RAZORPAY"),z=Y[0],W=(Y[1],(0,i.useState)("INR")),q=W[0],H=W[1],$=(0,i.useState)(!1),K=$[0],Q=$[1],X=(0,i.useState)(),J=X[0],ee=X[1],ne=(0,i.useState)(),te=ne[0],oe=ne[1],ce=(0,i.useState)(),se=ce[0],ie=ce[1],ae=(0,i.useState)(),re=(ae[0],ae[1]),le=(0,i.useState)(!0),ue=le[0],de=le[1],he=(0,i.useState)(!0),pe=he[0],me=he[1],ge=(0,i.useState)(!1),ve=ge[0],_e=ge[1],fe=function(){return _e(!ve)},ke=(0,i.useState)(!1),xe=ke[0],je=ke[1],be=(0,i.useState)(!1),Se=be[0],Ce=(be[1],(0,l.v9)((function(e){return e.website.isCheckoutLeave}))),Ne=(0,l.v9)((function(e){return e.website.isCheckoutUrl})),we=(0,i.useState)(""),ye=we[0],Pe=we[1],Ie=(0,i.useState)(!1),Re=Ie[0],Le=Ie[1],Ae=(0,i.useState)(!1),Ee=Ae[0],De=Ae[1];(0,i.useEffect)((function(){if("RAZORPAY"===z){var e=document.createElement("script");e.src="https://checkout.razorpay.com/v1/checkout.js",e.async=!0,document.body.appendChild(e)}}),[z]),(0,i.useEffect)((function(){localStorage.getItem("planID")?Me():n.replace({pathname:"/pricing"})}),[]),(0,i.useEffect)((function(){}),[se]);var Te=new C.Z("9f43c44d30fd83edcb00cc23fc08c5b5fd4863f4e2e00277f8d5896f",{max:1e3,maxAge:6e5}),Me=function(){var n=I(c().mark((function n(){var t,o,s,i,a,r;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Te.lookup();case 2:return t=n.sent,n.next=5,null===t||void 0===t?void 0:t.country_code;case 5:if(o=n.sent,n.prev=6,e(d.Gg.actions.setLoading()),200!=t.status){n.next=12;break}H("IN"===o?"INR":"USD"),n.next=20;break;case 12:return n.next=15,x().get("https://api.ipify.org/?format=json");case 15:return i=n.sent,n.next=18,x().get("https://ipinfo.io/".concat(i.data.ip,"?token=03503dfe6b4737"));case 18:"IN"===(null===(a=n.sent)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.country)?H("INR"):H("USD");case 20:return n.next=22,h.Z.getSinglePlan({planID:localStorage.getItem("planID")});case 22:r=n.sent,ie(r.data),e(d.Gg.actions.disableLoading()),n.next=31;break;case 27:n.prev=27,n.t0=n.catch(6),e(d.Gg.actions.disableLoading()),m.Am.error("".concat(n.t0.response.data?n.t0.response.data.message:"Something went wrong!!"));case 31:case"end":return n.stop()}}),n,null,[[6,27]])})));return function(){return n.apply(this,arguments)}}(),Be=function(){var n=I(c().mark((function n(){var t,o;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!E){n.next=18;break}if(e(d.Gg.actions.setLoading()),t={planID:localStorage.getItem("planID"),currency:q,couponcode:J,gst:se.gstPercent},!J){n.next=14;break}return n.next=7,h.Z.applyCouponCode(t);case 7:o=n.sent,Q(!0),V(!1),oe(o.data),ee(""),n.next=15;break;case 14:m.Am.error("Kindly Enter The Coupon Code");case 15:e(d.Gg.actions.disableLoading()),n.next=19;break;case 18:m.Am.error("Please Login To Apply Coupon Code.");case 19:n.next=25;break;case 21:n.prev=21,n.t0=n.catch(0),e(d.Gg.actions.disableLoading()),m.Am.error("".concat(n.t0.response.data?n.t0.response.data.message:"Something went wrong!!"));case 25:case"end":return n.stop()}}),n,null,[[0,21]])})));return function(){return n.apply(this,arguments)}}(),Ge=function(){var n=I(c().mark((function n(){var t,o,s;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e(d.Gg.actions.setLoading()),t={isCouponCodeApplied:K,couponID:te?te.couponID:"",planID:localStorage.getItem("planID"),currency:q,isGiftCard:!1,gst:se.gstPercent},n.next=5,h.Z.razorpayPayment(t);case 5:o=n.sent,re(o.data),s={key:"rzp_live_mj8Qax23h2xAFc",amount:100*o.data.amount,currency:o.data.currency,name:"betterLYF",description:"Mental Health",image:"https://www.betterlyf.com/images/betterlyf-logo-new.png",order_id:o.data.id,callback_url:"https://api.betterlyf.com/v1/betterLYF/razorpayCallback",prefill:{name:T.userName,email:D.userEmail,contact:D.userPhone},modal:{ondismiss:I(c().mark((function e(){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={LeadDetails:[{Attribute:"EmailAddress",Value:D.userEmail},{Attribute:"mx1_Corporate_Id",Value:"662a1bfbf071224bdcd87215"===B&&"CORPORATE"==M?B:""}],Activity:{EmailAddress:D.userEmail,ActivityEvent:227,ActivityNote:"Missed Transaction",Fields:[{SchemaName:"mx_Custom_1",Value:se.planName},{SchemaName:"mx_Custom_2",Value:w().utc(se.createdAt).format("YYYY-MM-DD HH:mm:ss")},{SchemaName:"mx_Custom_3",Value:"RAZORPAY"},{SchemaName:"mx_Custom_4",Value:"INR"===t.currency?"\u20b9 ".concat(null===se||void 0===se?void 0:se.planCostInRupees):"$ ".concat(null===se||void 0===se?void 0:se.planCostInUSD)},{SchemaName:"mx_Custom_11",Value:"No"}]}},e.next=3,x().post("https://api-in21.leadsquared.com/v2/ProspectActivity.svc/CreateCustom?accessKey=u$r870495fbc498fac09fdc8d75da3c2a1d&secretKey=ec8f3e4936be7af2bc05da8171d0560cc8036e3f",n);case 3:e.sent;case 4:case"end":return e.stop()}}),e)})))}},new window.Razorpay(s).open(),e(d.Gg.actions.disableLoading()),n.next=17;break;case 13:n.prev=13,n.t0=n.catch(0),e(d.Gg.actions.disableLoading()),m.Am.error("".concat(n.t0));case 17:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(){return n.apply(this,arguments)}}(),Ue=function(){var n=I(c().mark((function n(t){var o,s;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e(d.Gg.actions.setLoading()),De(!0),o={credencialType:"email",userCredencial:t.userCredencial.toLowerCase(),userPassword:t.userPassword},n.next=6,g.Z.userLogin(o);case 6:s=n.sent,e(p.sv.actions.loginSuccess({user:s.data.user,token:s.data.accessToken,profile:s.data.profile})),localStorage.setItem("token","".concat(s.data.accessToken.token)),De(!1),e(d.Gg.actions.disableLoading()),n.next=18;break;case 13:n.prev=13,n.t0=n.catch(0),e(d.Gg.actions.disableLoading()),De(!1),m.Am.error("".concat(n.t0.response.data?n.t0.response.data.message:"Something went wrong!!"));case 18:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e){return n.apply(this,arguments)}}(),Oe=function(){var n=I(c().mark((function n(t){var o,s;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e(d.Gg.actions.setLoading()),De(!0),o={userEmail:t.userCredencial.toLowerCase(),userPassword:t.userPassword,userPhone:t.userPhone,userCountryCode:U.value},n.next=6,g.Z.checkoutRegister(o);case 6:s=n.sent,e(p.sv.actions.loginSuccess({user:s.data.user,token:s.data.accessToken,profile:s.data.profile})),localStorage.setItem("token","".concat(s.data.accessToken.token)),e(d.Gg.actions.disableLoading()),De(!1),n.next=20;break;case 13:n.prev=13,n.t0=n.catch(0),De(!1),e(d.Gg.actions.disableLoading()),me(!pe),k("userCredencial",t.userCredencial),m.Am.error("".concat(n.t0.response.data?n.t0.response.data.message:"Something went wrong!!"));case 20:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e){return n.apply(this,arguments)}}(),Fe=function(){var e=I(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"RAZORPAY"===z&&Ge();case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ze=function(e){if("DISCUSS"===e){return{packageDeatil:["Share in a Safe Space","Release Pent-Up Emotions","Build your therapy plan & Grow!"],isPopular:!1,costPerSession:{usd:"40",inr:"999"},validity:"1",imageURL:"/images/pricingold/discuss1.png",alttag:"DISCUSS",selfMonths:"1 Months Self help Access",buttonColor:"#FBC343"}}if("UNDERSTAND"===e){return{packageDeatil:["Identify Negative Thoughts","Dig Deeper Into Your Concerns","Plan Short-Term Goals"],isPopular:!1,costPerSession:{usd:"40",inr:"833"},validity:"1",imageURL:"/images/pricingold/understand1.png",alttag:"UNDERSTAND",selfMonths:"3 Months Self help Access",buttonColor:"#90B1FF"}}if("INTROSPECT"===e){return{packageDeatil:["Gather Actionable Insights","Enhance Emotional Intelligence","Achieve a Short Term Goal"],isPopular:!0,costPerSession:{usd:"40",inr:"800"},validity:"1",imageURL:"/images/pricingold/introspect1.png",alttag:"INTROSPECT",selfMonths:"6 Months Self help Access",buttonColor:"#438A81",isBestValue:"Most Popular"}}
1if("EMPOWERED"===e){return{packageDeatil:["Develop Problem Solving Skills","Build Resilience","Reclaim Yourself"],isPopular:!1,costPerSession:{usd:"40",inr:"750"},validity:"1",imageURL:"/images/pricingold/empower1.png",alttag:"EMPOWERED",selfMonths:"9 Months Self help Access",buttonColor:"#FFC199"}}if("BLISS"===e){return{packageDeatil:["Stay on Top of Your Life Goals","Make Better Decisions","Become Your Own Therapist"],isPopular:!0,costPerSession:{usd:"40",inr:"715"},validity:"1",imageURL:"/images/pricingold/bliss1.png",alttag:"BLISS",selfMonths:"12 Months Self help Access",buttonColor:"#FF5FA9",isBestValue:"Best Value"}}if("DISCOVER"===e){return{packageDeatil:["Experience A Safe Space","Explore The Differences","Build Therapy Plan"],isPopular:!1,costPerSession:{usd:"40",inr:"850"},validity:"1",imageURL:"/images/pricingold/discover1.png",alttag:"DISCOVER",selfMonths:"3 Months Self help Access",buttonColor:"#FFC800",coupleSession:"1 Couple 2 Individual Appointments"}}if("REFLECT"===e){return{packageDeatil:["Understand Yourself & Them","Learn Skills to Handle Differences","Achieve Short Term Goal"],isPopular:!0,costPerSession:{usd:"40",inr:"825"},validity:"1",imageURL:"/images/pricingold/reflect1.png",alttag:"REFLECT",selfMonths:"9 Months Self help Access",buttonColor:"#96D6E3",coupleSession:"3 Couple 2 Individual Appointments",isBestValue:"Most Popular"}}return{packageDeatil:["Envision a Shared Life Together","Reignite Trust & Intimacy","Create A Resilient Relationship"],isPopular:!0,costPerSession:{usd:"40",inr:"800"},validity:"1",imageURL:"/images/pricingold/rekindle1.png",alttag:"REKINDLE",selfMonths:"12 Months Self help Access",buttonColor:"#E899C7",coupleSession:"5 Couple 4 Individual Appointments",isBestValue:"Best Value"}};(0,i.useEffect)((function(){return n.beforePopState((function(t){t.url;var o=t.as;t.options;return n.asPath===o||(je(!0),window.document.body.classList.add("disNon"),n.replace("/checkout"),e(d.Gg.actions.setCheckoutLeave()),e(d.Gg.actions.setCheckoutUrl("/pricing")),!1)})),function(){n.beforePopState((function(){return!0}))}}),[n]),(0,i.useEffect)((function(){Ce&&(je(!0),window.document.body.classList.add("disNon"))}),[Ce]);var Ve=function(e){Pe(e)},Ye=function(){var t=I(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!ye){t.next=22;break}return Le(!1),t.prev=2,e(d.Gg.actions.setLoading()),t.next=6,h.Z.leavingReason({reason:ye,userID:(null===D||void 0===D?void 0:D.uniqueIdentifier)?null===D||void 0===D?void 0:D.uniqueIdentifier:"N/A"});case 6:t.sent,je(!1),window.document.body.classList.remove("disNon"),n.replace({pathname:"".concat(Ne)}),Ce&&e(d.Gg.actions.setCheckoutLeave()),e(d.Gg.actions.disableLoading()),e(d.Gg.actions.setCheckoutUrl("")),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(2),e(d.Gg.actions.disableLoading()),m.Am.error("".concat(t.t0.response.data?t.t0.response.data.message:"Something went wrong!!"));case 20:t.next=23;break;case 22:Le(!0);case 23:case"end":return t.stop()}}),t,null,[[2,16]])})));return function(){return t.apply(this,arguments)}}();return(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)("section",{className:r().checkout,children:(0,s.jsxs)("div",{className:r().checkout_main,children:[(0,s.jsxs)("div",{className:r().checkout_left,children:[(0,s.jsxs)("div",{className:r().payment_info,children:[(0,s.jsx)("h3",{children:"Order Details"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Plan Name"}),(0,s.jsx)("li",{children:(null===se||void 0===se?void 0:se.planName)?null===se||void 0===se?void 0:se.planName:"Loading..."})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Plan Charges"}),(0,s.jsx)("li",{children:"INR"===q?"\u20b9 ".concat((null===se||void 0===se?void 0:se.planCostInRupees)?null===se||void 0===se?void 0:se.planCostInRupees:"Loading..."):"$ ".concat((null===se||void 0===se?void 0:se.planCostInUSD)?null===se||void 0===se?void 0:se.planCostInUSD:"")})]}),K&&(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["Discount ( Coupon Applied : ",null===te||void 0===te?void 0:te.codeName," )"]}),(0,s.jsxs)("li",{children:[" ",(0,s.jsx)("p",{children:"-"}),"INR"===q?"\u20b9 ".concat(null===te||void 0===te?void 0:te.discountAmount):"$ ".concat(null===te||void 0===te?void 0:te.discountAmount)]})]}),q&&"INR"===q&&(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["SGST ","".concat((null===se||void 0===se?void 0:se.gstPercent)/2,"%")]}),(0,s.jsx)("li",{children:(null===se||void 0===se?void 0:se.gstPercent)?Math.ceil(.09*(K?(null===se||void 0===se?void 0:se.planCostInRupees)-(null===te||void 0===te?void 0:te.discountAmount):null===se||void 0===se?void 0:se.planCostInRupees)).toFixed(2):"Loading..."})]}),q&&"INR"===q&&(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["CGST ","".concat((null===se||void 0===se?void 0:se.gstPercent)/2,"%")]}),(0,s.jsx)("li",{children:(null===se||void 0===se?void 0:se.gstPercent)?Math.ceil(.09*(K?(null===se||void 0===se?void 0:se.planCostInRupees)-(null===te||void 0===te?void 0:te.discountAmount):null===se||void 0===se?void 0:se.planCostInRupees)).toFixed(2):"Loading..."})]}),(0,s.jsxs)("div",{className:r().total,children:[(0,s.jsx)("h4",{children:"Total Amount Payable : "}),(0,s.jsx)("h5",{children:"".concat(K?"INR"===q?"\u20b9 ".concat(Math.ceil(.09*((null===se||void 0===se?void 0:se.planCostInRupees)-(null===te||void 0===te?void 0:te.discountAmount)))+Math.ceil(.09*((null===se||void 0===se?void 0:se.planCostInRupees)-(null===te||void 0===te?void 0:te.discountAmount)))+(null===se||void 0===se?void 0:se.planCostInRupees)-(null===te||void 0===te?void 0:te.discountAmount)):"$ ".concat(null===te||void 0===te?void 0:te.finalPrice):"INR"===q?"\u20b9 ".concat(Math.ceil(.09*(null===se||void 0===se?void 0:se.planCostInRupees))+Math.ceil(.09*(null===se||void 0===se?void 0:se.planCostInRupees))+(null===se||void 0===se?void 0:se.planCostInRupees)):"$ ".concat(null===se||void 0===se?void 0:se.planCostInUSD))})]}),(0,s.jsxs)("div",{className:r().cupon,children:[(0,s.jsx)("div",{className:r().cupon_code,children:(0,s.jsxs)("p",{children:["Have a coupon code ?"," ",E?(0,s.jsx)("a",{onClick:function(){V(!Z)},children:"Apply Here"}):(0,s.jsx)("a",{onClick:function(){me(!1)},children:"Login To Apply"})]})}),Z&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:r().checkoutMainCoupn,children:[(0,s.jsxs)("div",{className:r().checkout_coupon,children:[(0,s.jsx)("input",{type:"text",placeholder:"Enter Code",onChange:function(e){ee(e.target.value)}}),(0,s.jsx)("button",{className:r().checkout_couponBtn,onClick:Be,children:"Apply"})]}),(0,s.jsx)("p",{children:"*Refund & Cancellation Policy Apply"})]})})]}),E?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:r().payment_info,children:[(0,s.jsx)("h3",{children:"User Info"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"User Email"}),(0,s.jsx)("li",{children:D.userEmail})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"User Phone"}),(0,s.jsx)("li",{children:D.userPhone})]})]})}):pe?(0,s.jsxs)("div",{className:r().contact_info,children:[(0,s.jsx)("h4",{children:"Sign Up To Proceed"}),(0,s.jsxs)("p",{children:["Already have an account?"," ",(0,s.jsx)("span",{onClick:function(){me(!pe)},children:Ee?(0,s.jsx)(y.Z,{}):"Login"})]}),(0,s.jsxs)("form",{onSubmit:R(Oe),children:[(0,s.jsxs)("div",{className:r().checkout_signup,children:[(0,s.jsx)("div",{className:r().checkout_select,children:(0,s.jsx)(j.ZP,{options:b.N,value:U,onChange:function(e){O(e)}})}),(0,s.jsxs)("div",{className:r().checkout_mobile_num,children:[(0,s.jsx)("input",L({type:"text",placeholder:"Mobile*"},P("userPhone",{required:!0,pattern:"+91"===(null===U||void 0===U?void 0:U.value)?/^[0-9]{10}$/:/^[0-9]+$/,minLength:"+91"===(null===U||void 0===U?void 0:U.value)?10:void 0,maxLength:"+91"===(null===U||void 0===U?void 0:U.value)?10:void 0}),{className:A.userPhone?r().error:""})),A.userPhone&&(0,s.jsx)("p",{className:r().error_msg,children:"Enter Valid Mobile Number"})]})]}),(0,s.jsxs)("div",{className:r().checkout_login,children:[(0,s.jsx)("input",L({type:"text",placeholder:"Email*"},P("userCredencial",{required:!0,pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,5})+$/}),{className:A.userCredencial?r().error:""})),A.userCredencial&&(0,s.jsx)("p",{className:r().error_msg,children:"Enter Valid Email"})]}),(0,s.jsxs)("div",{className:r().checkout_login,children:[(0,s.jsx)("input",L({type:ve?"text":"password",placeholder:"Password*"},P("userPassword",{required:!0}),{className:A.userCredencial?r().error:""})),ve?(0,s.jsx)("span",{onClick:fe,className:r().pass_show,children:(0,s.jsx)(S.z5B,{})}):(0,s.jsx)("span",{onClick:fe,className:r().pass_show,children:(0,s.jsx)(S.tjB,{})}),A.userPassword&&(0,s.jsx)("p",{className:r().error_msg,children:"Enter Valid Password"})]}),(0,s.jsx)("div",{className:r().checkout_login,children:(0,s.jsx)("button",{className:r().comman_buttonlogin,children:Ee?(0,s.jsx)(y.Z,{}):"Submit"})}),(0,s.jsx)("div",{className:r().checkout_checkTrms,children:(0,s.jsxs)("span",{children:["By signing up, you agree to our"," ",(0,s.jsx)(f(),{href:"/terms",children:"Terms & Conditions"})," and"," ",(0,s.jsx)(f(),{href:"/privacy",children:"Privacy Policy"})," "]})})]})]}):(0,s.jsxs)("div",{className:r().contact_info,children:[(0,s.jsx)("h4",{children:"Login To Proceed"}),(0,s.jsxs)("p",{children:["Don\u2019t have an account?"," ",(0,s.jsx)("span",{onClick:function(){me(!pe)},children:"Sign Up"})]}),(0,s.jsxs)("form",{onSubmit:a(Ue),children:[(0,s.jsxs)("div",{className:r().checkout_login,children:[(0,s.jsx)("input",L({type:"text",placeholder:"Email*"},o("userCredencial",{required:!0,pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/}),{className:_.userCredencial?r().error:""})),_.userCredencial&&(0,s.jsx)("p",{className:r().error_msg,children:"Enter Valid Email"})]}),(0,s.jsxs)("div",{className:r().checkout_login,children:[(0,s.jsx)("input",L({type:ve?"text":"password",placeholder:"Password*"},o("userPassword",{required:!0}),{className:_.userCredencial?r().error:""})),ve?(0,s.jsx)("span",{onClick:fe,className:r().pass_show,children:(0,s.jsx)(S.z5B,{})}):(0,s.jsx)("span",{onClick:fe,className:r().pass_show,children:(0,s.jsx)(S.tjB,{})}),_.userPassword&&(0,s.jsx)("p",{className:r().error_msg,children:"Enter Valid Password"})]}),(0,s.jsx)("div",{className:r().checkout_login,children:(0,s.jsx)("button",{className:r().comman_buttonlogin,children:Ee?(0,s.jsx)(y.Z,{}):"Submit"})}),(0,s.jsx)("div",{className:r().checkout_checkTrms})]})]})]}),(0,s.jsxs)("div",{className:r().pay_button,children:[E?(0,s.jsxs)("div",{className:r().pay_line,children:[(0,s.jsx)("input",{type:"checkbox",checked:ue,onClick:function(){de(!ue)}}),(0,s.jsx)("p",{children:"I Agree to the Terms & Conditions & Privacy Policy"})]}):(0,s.jsx)(s.Fragment,{}),E&&ue?(0,s.jsx)("button",{className:"comman-button",onClick:Fe,children:"PAY NOW"}):(0,s.jsx)(s.Fragment,{})]}),(0,s.jsx)("div",{className:r().checkSocial2,children:(0,s.jsx)("img",{src:"/images/revewies-second.png",alt:""})})]}),(0,s.jsxs)("div",{className:r().checkout_right,children:[(0,s.jsxs)("div",{className:r().bsdkMain,children:[(0,s.jsx)("h3",{children:null===se||void 0===se?void 0:se.planName}),(0,s.jsxs)("div",{className:r().bsdk1,children:[(0,s.jsx)("div",{className:r().lftBsdk,children:(0,s.jsx)("img",{src:"".concat(Ze(null===se||void 0===se?void 0:se.planName).imageURL),alt:"winner"})}),(0,s.jsx)("div",{className:r().rgtBsdkt,children:(0,s.jsx)("ul",{children:Ze(null===se||void 0===se?void 0:se.planName).packageDeatil.map((function(e,n){return(0,s.jsx)("li",{children:e},n)}))})})]})]}),(0,s.jsx)("div",{className:r().checkSocial,children:(0,s.jsx)("img",{src:"/images/revewies-second.png",alt:""})})]})]})}),xe&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"containerPopUp",children:(0,s.jsxs)("div",{className:r().checkoutPopup,children:[(0,s.jsx)("h3",{children:"Submit a reason for leaving the checkout process:"}),Re&&(0,s.jsx)("span",{className:r().error_msg,children:"Select a Reason for submit"}),(0,s.jsx)("div",{className:r().reasonSect,children:(0,s.jsx)("div",{className:"new",children:(0,s.jsxs)("form",{children:[(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field1",name:"reason",onClick:function(){Ve("Did not find the right counsellor")},checked:"Did not find the right counsellor"===ye}),(0,s.jsx)("label",{htmlFor:"field1",children:"Did not find the right counsellor"})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field2",name:"reason",onClick:function(){Ve("Price expectation not matching")},checked:"Price expectation not matching"===ye}),(0,s.jsx)("label",{htmlFor:"field2",children:"Price expectation not matching."})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field3",name:"reason",onClick:function(){Ve("Website not user friendly")},checked:"Website not user friendly"===ye}),(0,s.jsx)("label",{htmlFor:"field3",children:"Website not user friendly."})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field4",name:"reason",onClick:function(){Ve("Technical error")},checked:"Technical error"===ye}),(0,s.jsx)("label",{htmlFor:"field4",children:"Technical error."})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field5",name:"reason",onClick:function(){Ve("Reviews are not good")},checked:"Reviews are not good"===ye}),(0,s.jsx)("label",{htmlFor:"field5",children:"Reviews are not good."})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{type:"checkbox",id:"field6",name:"reason",onClick:function(){Ve("Not sure right now. Will visit again")},checked:"Not sure right now. Will visit again"===ye}),(0,s.jsx)("label",{htmlFor:"field6",children:"Not sure right now. Will visit again."})]})]})})}),(0,s.jsxs)("div",{className:r().buttonSection,children:[(0,s.jsx)("button",{className:r().subBtn,onClick:Ye,children:"Submit"}),(0,s.jsx)("button",{className:r().canBtn,onClick:function(){Ce&&e(d.Gg.actions.setCheckoutLeave()),e(d.Gg.actions.setCheckoutUrl("")),je(!1),window.document.body.classList.remove("disNon"),n.replace({pathname:"/checkout"})}
1,children:" I Want To Pay Now"})]}),Se&&(0,s.jsx)("div",{className:r().successMessage,children:"Successfully Submitted!"})]})})})})]})}},90248:function(e,n,t){"use strict";var o=t(58437),c="auth/",s={userLogin:function(e){var n="".concat(c,"login");return o.Z.post(n,e)},userRegistration:function(e){var n="".concat(c,"register");return o.Z.post(n,e)},checkoutRegister:function(e){var n="".concat(c,"checkoutRegister");return o.Z.post(n,e)},forgotPassword:function(e){var n="".concat(c,"forgotPassword");return o.Z.post(n,e)},resendOtp:function(e){var n="".concat(c,"resendOTP");return o.Z.post(n)},verifyOtp:function(e){var n="".concat(c,"validateOTP");return o.Z.post(n,e,{headers:{authorization:localStorage.getItem("token")}})},resetPassword:function(e){var n="".concat(c,"resetPassword");return o.Z.post(n,e,{headers:{authorization:localStorage.getItem("token")}})},generateAutoLink:function(e){var n="".concat(c,"generateAutoLoginLink");return o.Z.post(n,e,{headers:{authorization:localStorage.getItem("token")}})},validateAutoLogin:function(e){var n="".concat(c,"validateAutoLoginLink");return o.Z.post(n,e)},validateCorporateLogin:function(e){var n="".concat(c,"pvrLogin");return o.Z.post(n,e)},userCorporateRegistration:function(e){var n="".concat(c,"pvrRegisteration");return o.Z.post(n,e)},socialAuth:function(e){var n="".concat(c,"socialAuth");return o.Z.post(n,e)}};n.Z=s},27859:function(e){e.exports={lds_ring:"loader_lds_ring__LHo_i"}},18037:function(e){e.exports={method_image:"checkout_method_image__zca8b",checkout_tag:"checkout_checkout_tag__VhqCK",right_forget:"checkout_right_forget__3JSke",forgot:"checkout_forgot__4V2sB",method:"checkout_method__c2wMO",list:"checkout_list__9s54d",active:"checkout_active__3QcL9",method_list:"checkout_method_list__CJRRk",contact_info:"checkout_contact_info__etgVe",checkout_login:"checkout_checkout_login__SHGdP",pass_show:"checkout_pass_show__fmaQp",comman_buttonlogin:"checkout_comman_buttonlogin__gxgTl",comman_button:"checkout_comman_button__EIzcQ",checkout_checkTrms:"checkout_checkout_checkTrms__VzGKA",sign_in:"checkout_sign_in__oNzmE",input_container:"checkout_input_container__WvFw5",error:"checkout_error__4LkpX",payment_info:"checkout_payment_info__Gb3z_",total:"checkout_total__Yd1XU",cupon:"checkout_cupon__Tno2y",cupon_code:"checkout_cupon_code__I9plE",checkout_coupon:"checkout_checkout_coupon__xzVju",checkout_couponBtn:"checkout_checkout_couponBtn__MaX2F",checkoutMainCoupn:"checkout_checkoutMainCoupn__q31Yg",checkout_signup:"checkout_checkout_signup__kV9JA",checkout_select:"checkout_checkout_select__25riW",checkout_mobile_num:"checkout_checkout_mobile_num__d6yiW",pay_line:"checkout_pay_line__VbntV",pay_button:"checkout_pay_button__aoB5M",error_msg:"checkout_error_msg__C0R9_",checkout_left:"checkout_checkout_left__6U9Ew",checkout:"checkout_checkout__KYgPI",winner_image:"checkout_winner_image__z7aYu",checkout_right:"checkout_checkout_right__2lAV0",checkout_main:"checkout_checkout_main__3cdRj",heading:"checkout_heading__UFhfk",checkoutPopup:"checkout_checkoutPopup__cOZKJ",buttonSection:"checkout_buttonSection__ePj3y",canBtn:"checkout_canBtn__vx7W9",subBtn:"checkout_subBtn__S5rga",backBtnHome:"checkout_backBtnHome__tTOdU",textBtmLine:"checkout_textBtmLine__kYIoa",checkSocial:"checkout_checkSocial__nVkqq",checkSocial2:"checkout_checkSocial2__N_sNF",bsdkMain:"checkout_bsdkMain__ZLORl",bsdk1:"checkout_bsdk1__dMtTn",lftBsdk:"checkout_lftBsdk__LxZTO",rgtBsdkt:"checkout_rgtBsdkt__LQe_e"}}},function(e){e.O(0,[7553,3370,7536,7896,9774,2888,179],(function(){return n=62013,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.