1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8026],{26117:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard",function(){return a(20775)}])},46780:function(e,n,a){"use strict";var s=a(85893);a(67294);n.Z=function(e){var n=e.onClick;return(0,s.jsx)("div",{onClick:n,className:"Arrow_left2"})}},98210:function(e,n,a){"use strict";var s=a(85893),i=(a(67294),a(27859)),t=a.n(i);n.Z=function(){return(0,s.jsxs)("div",{className:t().lds_ring,children:[(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{}),(0,s.jsx)("div",{})]})}},78967:function(e,n,a){"use strict";var s=a(85893);a(67294);n.Z=function(e){var n=e.onClick;return(0,s.jsx)("div",{onClick:n,className:"Arrow_right2"})}},20775:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return de}});var s=a(85893),i=a(67294),t=a(34051),o=a.n(t),r=a(30381),l=a.n(r),c=a(95382),d=a.n(c),u=a(77349),p=a(30286),v=(a(64055),a(41059),a(9473)),m=a(67923),h=a(6285),_=a(22920),x=a(93922);function g(e,n,a,s,i,t,o){try{var r=e[t](o),l=r.value}catch(c){return void a(c)}r.done?n(l):Promise.resolve(l).then(s,i)}function f(e){return function(){var n=this,a=arguments;return new Promise((function(s,i){var t=e.apply(n,a);function o(e){g(t,s,i,o,r,"next",e)}function r(e){g(t,s,i,o,r,"throw",e)}o(void 0)}))}}function j(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}var w=function(){var e=(0,v.I0)(),n=(0,i.useState)(!1),a=n[0],t=n[1],r=(0,i.useState)(),c=r[0],g=r[1],w=(0,i.useState)(),N=w[0],b=w[1],C=(0,v.v9)((function(e){return e.website.isLoading})),S=(0,i.useState)(!1),y=S[0],A=S[1],k=(0,v.v9)((function(e){return e.user.adminMonthlyReport})),D=(0,i.useState)({selection:{startDate:new Date,endDate:new Date,key:"selection"}}),O=D[0],T=D[1],B=function(e){T(function(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},s=Object.keys(a);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),s.forEach((function(n){j(e,n,a[n])}))}return e}({},O,e))},M=function(){var n=f(o().mark((function n(){var a;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e(m.Gg.actions.setLoading()),n.next=4,h.Z.getAdminDashboardDetail({startDate:O.selection.startDate,endDate:O.selection.endDate});case 4:a=n.sent,g(a.data),e(m.Gg.actions.disableLoading()),n.next=13;break;case 9:n.prev=9,n.t0=n.catch(0),e(m.Gg.actions.disableLoading()),_.Am.error("".concat(n.t0.response.data?n.t0.response.data.message:"Something went wrong!!"));case 13:case"end":return n.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}(),L=function(){var n=f(o().mark((function n(){var a;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!k||!Object.keys(k).length){n.next=4;break}b(k),n.next=18;break;case 4:return n.prev=4,A(!0),n.next=8,h.Z.getAdminMonthlyDashboardDetail();case 8:a=n.sent,b(a.data),e(x.sv.actions.setMonthlyReportDetail({adminMonthlyReport:a.data})),A(!1),n.next=18;break;case 14:n.prev=14,n.t0=n.catch(4),A(!1),_.Am.error("".concat(n.t0.response.data?n.t0.response.message:"Something went wrong!!"));case 18:case"end":return n.stop()}}),n,null,[[4,14]])})));return function(){return n.apply(this,arguments)}}();return(0,i.useEffect)((function(){M()}),[O]),(0,i.useEffect)((function(){L()}),[]),(0,s.jsx)(i.Fragment,{children:(0,s.jsx)("div",{className:"dashboard_container",children:(0,s.jsxs)("div",{className:d().dashCont,children:[(0,s.jsxs)("div",{className:d().mainHeading,children:[(0,s.jsx)("h3",{children:"Admin Dashboard"}),(0,s.jsxs)("div",{className:d().appointmentpara,children:[(0,s.jsx)("button",{onClick:function(){t(!a)},className:d().daterangeButton,children:"Select Date"}),(0,s.jsx)("div",{onMouseLeave:function(){t(!1)},children:a&&(0,s.jsx)(p.Dw,{onChange:function(e){B(e)},months:1,minDate:(0,u.default)(new Date("01/01/2023"),1),maxDate:(0,u.default)(new Date,365),direction:"vertical",scroll:{enabled:!0},ranges:[O.selection],className:d().dateRangeSelector})})]})]}),(0,s.jsxs)("p",{className:d().sletdates,children:["Start Date: ",l()(O.selection.startDate).format("MMM DD, YYYY"),", End Date: ",l()(O.selection.endDate).format("MMM DD, YYYY")]}),(0,s.jsxs)("div",{className:d().dashGraphBoaRD,children:[(0,s.jsxs)("div",{className:d().leftAdminDash,children:[(0,s.jsx)("h4",{children:"PAYMENTS"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().payBoxDB,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===c||void 0===c?void 0:c.totalNewPayments}),(0,s.jsx)("p",{className:d().para1,children:"NEW"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===c||void 0===c?void 0:c.totalRepeatPayments}),(0,s.jsx)("p",{className:d().para1,children:"REPEAT"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===c||void 0===c?void 0:c.totalFailedPayment}),(0,s.jsx)("p",{className:d().para1,children:"FAILED"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:(null===c||void 0===c?void 0:c.totalNewPayments)+(null===c||void 0===c?void 0:c.totalRepeatPayments)}),(0,s.jsx)("p",{className:d().para1,children:"TOTAL"})]})]}),(0,s.jsx)("h4",{children:"REVENUE"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===c||void 0===c?void 0:c.totalNewPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"NEW"})]}),(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===c||void 0===c?void 0:c.totalRepeatPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"REPEAT"})]}),(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===c||void 0===c?void 0:c.totalPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"TOTAL"})]})]}),(0,s.jsx)("h4",{children:"SESSIONS"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box3,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===c||void 0===c?void 0:c.totalSessionPurchased}),(0,s.jsx)("p",{className:d().para1,children:"PURCHASED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===c||void 0===c?void 0:c.totalBookedAppointment}),(0,s.jsx)("p",{className:d().para1,children:"BOOKED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===c||void 0===c?void 0:c.totalcompletedAppointment}),(0,s.jsx)("p",{className:d().para1,children:"COMPLETED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===c||void 0===c?void 0:c.totalCancelledAppointment}),(0,s.jsx)("p",{className:d().para1,children:"CANCELLED"})]})]}),(0,s.jsx)("h4",{children:"ASSESSMENTS"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box2,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===c||void 0===c?void 0:c.totalAssesmentCount}),(0,s.jsx)("p",{className:d().para1,children:"TAKEN"})]}),(0,s.jsxs)("div",{className:d().box2,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===c||void 0===c?void 0:c.totalAssesmentConversion}),(0,s.jsx)("p",{className:d().para1,children:"CONVERSIONS"})]})]}),(0,s.jsx)("h4",{children:"FREE SESSIONS"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===c||void 0===c?void 0:c.totalFreeSessionRequest}),(0,s.jsx)("p",{className:d().para1,children:"REQUESTS"})]}),(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===c||void 0===c?void 0:c.totalFreeSession}),(0,s.jsx)("p",{className:d().para1,children:"TAKEN"})]}),(0,s.jsxs)("div",{className:d().box1,children:[C?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===c||void 0===c?void 0:c.totalFreeSessionConversion}),(0,s.jsx)("p",{className:d().para1,children:"CONVERSIONS"})]})]})]}),(0,s.jsxs)("div",{className:d().rightAdminDash,children:[(0,s.jsx)("h4",{children:"PAYMENTS (MTD)"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().payBoxDB,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===N||void 0===N?void 0:N.totalNewPayments}),(0,s.jsx)("p",{className:d().para1,children:"NEW"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===N||void 0===N?void 0:N.totalRepeatPayments}),(0,s.jsx)("p",{className:d().para1,children:"REPEAT"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===N||void 0===N?void 0:N.totalFailedPayment}),(0,s.jsx)("p",{className:d().para1,children:"FAILED"})]}),(0,s.jsxs)("div",{className:d().payBoxDB,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:(null===N||void 0===N?void 0:N.totalNewPayments)+(null===N||void 0===N?void 0:N.totalRepeatPayments)}),(0,s.jsx)("p",{className:d().para1,children:"TOTAL"})]})]}),(0,s.jsx)("h4",{children:"REVENUE (MTD)"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===N||void 0===N?void 0:N.totalNewPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"NEW"})]}),(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===N||void 0===N?void 0:N.totalRepeatPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"REPEAT"})]}),(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===N||void 0===N?void 0:N.totalPaymentAmount}),(0,s.jsx)("p",{className:d().para1,children:"TOTAL"})]})]}),(0,s.jsx)("h4",{children:"SESSIONS (MTD)"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box3,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===N||void 0===N?void 0:N.totalSessionPurchased}),(0,s.jsx)("p",{className:d().para1,children:"PURCHASED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===N||void 0===N?void 0:N.totalBookedAppointment}),(0,s.jsx)("p",{className:d().para1,children:"BOOKED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading2,children:null===N||void 0===N?void 0:N.totalcompletedAppointment}),(0,s.jsx)("p",{className:d().para1,children:"COMPLETED"})]}),(0,s.jsxs)("div",{className:d().box3,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading3,children:null===N||void 0===N?void 0:N.totalCancelledAppointment}),(0,s.jsx)("p",{className:d().para1,children:"CANCELLED"})]})]}),(0,s.jsx)("h4",{children:"ASSESSMENTS (MTD)"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box2,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===N||void 0===N?void 0:N.totalAssesmentCount}),(0,s.jsx)("p",{className:d().para1,children:"TAKEN"})]}),(0,s.jsxs)("div",{className:d().box2,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===N||void 0===N?void 0:N.totalAssesmentConversion}),(0,s.jsx)("p",{className:d().para1,children:"CONVERSIONS"})]})]}),(0,s.jsx)("h4",{children:"FREE SESSIONS (MTD)"}),(0,s.jsxs)("div",{className:d().paymentMainSection,children:[(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===N||void 0===N?void 0:N.totalFreeSessionRequest}),(0,s.jsx)("p",{className:d().para1,children:"REQUESTS"})]}),(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading5,children:null===N||void 0===N?void 0:N.totalFreeSession}),(0,s.jsx)("p",{className:d().para1,children:"TAKEN"})]}),(0,s.jsxs)("div",{className:d().box1,children:[y?(0,s.jsx)("p",{children:"Calculating.."}):(0,s.jsx)("h3",{className:d().heading1,children:null===N||void 0===N?void 0:N.totalFreeSessionConversion}),(0,s.jsx)("p",{className:d().para1,children:"CONVERSIONS"})]})]})]})]})]})})})},N=a(44607),b=a.n(N),C=a(25675),S=a.n(C),y=a(41664),A=a.n(y),k=a(11163),D=a(6055),O=(a(73873),a(41548),a(46066)),T=a(47516),B=[{image:"/images/ava-guy4.png",review:"Counsellor Janvi helped me manage my anxiety, how to regulate my emotions, how to not take things too personally and that helped me overcome the phase of depression and helped in creating a structure where I can function properly without much help. She has managed to understand my needs. Thanks to Janvi and BetterLYF that I am feeling myself again in just two months, \u270c\ud83c\udffb",name:"Harsh Pandit",counselor:"Janvi"},{image:"/images/ava-guy.png",review:"I would say that the biggest thing for me has been the feeling of being heard and understood. I appreciate the non-judgmental and safe space that BetterLyf has provided for me to explore my thoughts and feelings. I have found the counseling process to be very helpful and beneficial for me. Thank y
1ou!",name:"Sahil Shimpi",counselor:"Aishwerya"},{image:"/images/ava-girl2.png",review:"Session with Yukti Jindal have been very insightful. She has helped tremendously and has given my life journey a perspective.",name:"Aditi Agrawal",counselor:"Yukti"},{image:"/images/ava-guy3.png",review:"Great experience with Vanshika Bhateja, she made me feel heard and asked meaningful questions. It was worth it. Thank you so much Vanshika, for your insight and guidance. I felt much better after our sessions, and would recommend her to anyone seeking therapy.",name:"Duangrudee Methakullachat",counselor:"Vanshika"},{image:"/images/riya.png",review:"Dear Mannika,The way you care for your clients' well being is commendable.Sessions with you have been insightful. You have helped fill the voids in my self understanding.Thank you for being a Guide/Mentor in the journey.Grateful to you:)",name:"RIYA AJMERA",counselor:"Mannika"}],M=a(46737),L=a.n(M),E=a(78967),R=a(46780),P=a(53854),U=a(86893),I=a(2585);function Z(e,n,a,s,i,t,o){try{var r=e[t](o),l=r.value}catch(c){return void a(c)}r.done?n(l):Promise.resolve(l).then(s,i)}function H(e){return function(){var n=this,a=arguments;return new Promise((function(s,i){var t=e.apply(n,a);function o(e){Z(t,s,i,o,r,"next",e)}function r(e){Z(t,s,i,o,r,"throw",e)}o(void 0)}))}}function G(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function V(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},s=Object.keys(a);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),s.forEach((function(n){G(e,n,a[n])}))}return e}var F={arrows:!0,rows:1,dots:!1,slidesToShow:1,infinite:!0,autoplay:!0,swipeToSlide:!0,nextArrow:(0,s.jsx)(E.Z,{}),prevArrow:(0,s.jsx)(R.Z,{}),responsive:[{breakpoint:1023,settings:{slidesToShow:1,dots:!1,arrows:!0}},{breakpoint:800,settings:{slidesToShow:1,rows:1,dots:!0,arrows:!1}},{breakpoint:576,settings:{slidesToShow:1,dots:!1,arrows:!0}}]},Y={arrows:!1,rows:1,dots:!0,slidesToShow:1,infinite:!0,swipeToSlide:!0,nextArrow:(0,s.jsx)(E.Z,{}),prevArrow:(0,s.jsx)(R.Z,{}),responsive:[{breakpoint:1023,settings:{slidesToShow:1}},{breakpoint:800,settings:{slidesToShow:1,rows:1,dots:!0,arrows:!1}},{breakpoint:576,settings:{slidesToShow:1,dots:!0,arrows:!1}}]},W=function(){var e,n,a,t={dots:!1,arrow:!0,slidesToShow:1,slidesToScroll:1,infinite:!1,swipeToSlide:!0,nextArrow:(0,s.jsx)(E.Z,{}),prevArrow:(0,s.jsx)(R.Z,{})},r=(0,v.I0)(),c=(0,k.useRouter)(),d=(0,i.useState)(!1),u=d[0],p=d[1],h=(0,i.useState)(!1),g=h[0],f=h[1],j=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.profile})),w=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.user.isCouple})),N=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.totalBal})),C=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.totalBalConsumed})),y=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.totalCoupleBal})),M=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.totalCoupleBalConsumed})),Z=(0,v.v9)((function(e){var n,a,s,i,t,o;return(null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a||null===(s=a.partnerRefrence)||void 0===s?void 0:s.totalCoupleBal)?null===(i=e.user)||void 0===i||null===(t=i.user)||void 0===t||null===(o=t.partnerRefrence)||void 0===o?void 0:o.totalCoupleBal:0})),G=(0,v.v9)((function(e){var n,a,s,i,t,o;return(null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a||null===(s=a.partnerRefrence)||void 0===s?void 0:s.totalCoupleBalConsumed)?null===(i=e.user)||void 0===i||null===(t=i.user)||void 0===t||null===(o=t.partnerRefrence)||void 0===o?void 0:o.totalCoupleBalConsumed:0})),W=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.user.corporateRefrence})),z=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.appointments})),q=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.update})),J=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.user.regRefrence})),Q=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.user})),K=(0,i.useState)([]),X=K[0],$=K[1],ee=(0,i.useState)({}),ne=ee[0],ae=ee[1],se=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.counselor})),ie=(0,v.v9)((function(e){var n,a;return null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.userSpecificOffer})),te=(0,i.useState)(!1),oe=te[0],re=te[1],le=(0,i.useState)(!1),ce=le[0],de=le[1],ue=(0,v.v9)((function(e){var n;return null===(n=e.user)||void 0===n?void 0:n.user})),pe=(0,i.useState)(!1),ve=pe[0],me=pe[1],he=(0,i.useState)(!0),_e=(he[0],he[1]),xe=(0,i.useState)(!1),ge=xe[0],fe=xe[1];console.log(ge);var je=(0,i.useState)(!1),we=je[0],Ne=je[1],be=(0,i.useState)(!1),Ce=be[0],Se=be[1];(0,i.useEffect)((function(){if(ue){(null===ue||void 0===ue?void 0:ue.isActive)||(r(x.sv.actions.setUserLoggedIn()),c.replace({pathname:"/auth"}),localStorage.clear(),L()({title:"Account Verification Required",text:"Please Relogin To Verify Your Account.",icon:"warning",dangerMode:!0,buttons:{can:{text:"OK",value:"can"}}}));var e=function(){var e=H(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D.Z.clientDetail();case 2:e.sent.user.isLoggedIn||L()({title:"Password Reset Required",text:"Please Reset your password to Verify Your Account.",icon:"warning",dangerMode:!0,buttons:{can:{text:"OK",value:"can"}}}).then((function(e){if("can"===e)localStorage.clear(),c.replace({pathname:"/auth/forgotPassword"})}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e(),_e(null===ue||void 0===ue?void 0:ue.isSkipped)}}),[ue]),(0,i.useEffect)((function(){(null===j||void 0===j?void 0:j.isComplete)||c.replace({pathname:"/dashboard/onboarding"})}),[]);var ye=function(){var e=H(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r(m.Gg.actions.setLoading()),e.next=4,D.Z.clientDetail();case 4:n=e.sent,r(x.sv.actions.setClientDetail(n)),r(m.Gg.actions.disableLoading()),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),r(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();(0,i.useEffect)((function(){ye();var e=setInterval((function(){ye()}),42e4);return function(){return clearInterval(e)}}),[]);var Ae=function(){"CORPORATE"===J||"CORPORATE_DEPENDENT"===J?(("RETAINER"===(null===W||void 0===W?void 0:W.corporatePlan)||0!=(null===W||void 0===W?void 0:W.corporateBalence)||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0!=N||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0!=y||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0===y)&&c.push({pathname:"/dashboard/scheduleAppointment"}),0===(null===W||void 0===W?void 0:W.corporateBalence)&&0!=N&&c.push({pathname:"/dashboard/scheduleAppointment"})):w?y+Z+N<=0?c.push({pathname:"/pricing"}):c.push({pathname:"/dashboard/scheduleAppointment"}):N<=0&&y<=0&&Z<=0?c.push({pathname:"/pricing"}):c.push({pathname:"/dashboard/scheduleAppointment"})},ke=function(){return"CORPORATE"!==J&&"CORPORATE_DEPENDENT"!==J?w?y+Z+N<=0?b().is_low:"":N<=0&&y<=0&&Z<=0?b().is_low:"":"RETAINER"===(null===W||void 0===W?void 0:W.corporatePlan)||0!=(null===W||void 0===W?void 0:W.corporateBalence)||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0!=N||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0!=y||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0===y?""
1:void 0},De=function(){return"CORPORATE"!==J&&"CORPORATE_DEPENDENT"!==J?w?y+Z+N<=0?"Add Sessions":"Book Session":N<=0&&y<=0&&Z<=0?"Add Sessions":"Book Session":"RETAINER"===(null===W||void 0===W?void 0:W.corporatePlan)||0!=(null===W||void 0===W?void 0:W.corporateBalence)||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0!=N||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0!=y||0===(null===W||void 0===W?void 0:W.corporateBalence)&&0===N&&0===y?"Book Session":void 0};(0,i.useEffect)((function(){if(0!=z.length){var e=[],n=l()().format(),a=[];z.forEach((function(e){l()(e.appointmentEndTime).isAfter(l()(n))&&a.push(e)})),a.forEach((function(n){var a=V({},n),s=l()(),i=l()(n.appointmentStartTime),t=l().duration(i.diff(s)).asHours();t>=24?(a.IsResheduleValid=!0,a.IsCancellationValid=!0):(a.IsResheduleValid=!1,a.IsCancellationValid=!0,a.IsJoinSessionValid=!0),t>1&&(a.IsJoinSessionValid=!0,a.IsCancellationValid=!0),e.push(a)})),$(e)}else $([])}),[z]),(0,i.useEffect)((function(){window.document.body.classList.remove("disNon");var e=Intl.DateTimeFormat().resolvedOptions().timeZone,n=["delhi","banglore","kolkata","calcutta"].some((function(n){return e.toLowerCase().includes(n.toLowerCase())}));me(!n)}),[]);var Oe=function(){window.document.body.classList.remove("disNon"),p(!1),Se(!1)},Te=function(){var e=H(o().mark((function e(n){var a,s,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ae(n),a=l()(),s=l()(null===n||void 0===n?void 0:n.appointmentStartTime),i=l().duration(s.diff(a)),i.asHours()<24?(fe(!0),Ne(!1)):(fe(!1),Ne(!1));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Be=function(){var e=H(o().mark((function e(n){var a,s,i,t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r(m.Gg.actions.setLoading()),f(!0),e.next=6,D.Z.cancelAppointment({appointmentId:ne._id,isFinancial:null===ne||void 0===ne||null===(a=ne.counselor)||void 0===a?void 0:a.financialCounselor,cancelConsentReaded:we});case 6:t=e.sent,ye(),200!==t.status||"Reschedule"!==n||(null===ne||void 0===ne||null===(s=ne.counselor)||void 0===s?void 0:s.financialCounselor)?200===t.status&&"Reschedule"===n&&(null===ne||void 0===ne||null===(i=ne.counselor)||void 0===i?void 0:i.financialCounselor)&&c.replace({pathname:"/dashboard/nutritionConsultation?advisor=true"}):c.replace({pathname:"/dashboard/scheduleAppointment"}),f(!1),r(m.Gg.actions.disableLoading()),e.next=18;break;case 13:e.prev=13,e.t0=e.catch(0),f(!1),r(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 18:p(!1);case 19:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(n){return e.apply(this,arguments)}}(),Me=function(){window.document.body.classList.add("disNon"),re(!0)},Le=function(e){return e.includes("ASSESSMENT COMPLETED")?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#C68FE6"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/assessmentCompleted.svg",alt:"about",layout:"fill"})})}):e.includes("NEW APPOINTMENT")?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#86D293"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/newAppointment.svg",alt:"about",layout:"fill"})})}):"WELCOME TO BETTERLYF"===e.toUpperCase()?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#7CF5FF"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/record-folder.svg",alt:"about",layout:"fill"})})}):e.includes("APPOINTMENT CANCELLED")?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#FFCCCC"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/cancelAppointment.svg",alt:"about",layout:"fill"})})}):e.includes("APPOINTMENT RESCHEDULED")?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:" #FFF7E0"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/resheduleAppointment.svg",alt:"about",layout:"fill"})})}):e.includes("NEW MESSAGE")?(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#FCDE70"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/chat.svg",alt:"about",layout:"fill"})})}):(0,s.jsx)("div",{className:b().task_outer,style:{backgroundColor:"#ECDFCC"},children:(0,s.jsx)("span",{className:b().task_image,children:(0,s.jsx)(S(),{src:"/images/switch-camera.svg",alt:"about",layout:"fill"})})})},Ee=function(e){var n=l()(),a=l()(e);return l().duration(a.diff(n)).asHours()<24?{msg:"*Cancellation Window Closed - Please contact Customer Support for assistance. 100% cancellation charges apply for cancellations made less than 24 hours before the scheduled session.",status:!1}:{msg:"*You Are eligible for free cancellation",status:!0}},Re=function(){var e=H(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r(m.Gg.actions.setLoading()),e.next=4,D.Z.unReadMessages({userData:{_id:null===ue||void 0===ue?void 0:ue._id}});case 4:n=e.sent,r(x.sv.actions.userUnreadMessage(null===n||void 0===n?void 0:n.chatList.length)),r(m.Gg.actions.disableLoading()),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),r(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();(0,i.useEffect)((function(){Re()}),[ue]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("section",{className:"dashboard_container",children:[(0,s.jsxs)("div",{className:b().topHeadingMain,children:[(0,s.jsxs)("div",{className:b().topLeftHeading,children:[(0,s.jsx)("h4",{children:"Dashboard"}),(0,s.jsxs)("p",{children:["Your account summary as on ",(0,s.jsx)("strong",{children:l()().format("LL")})," "]})]}),(0,s.jsx)("div",{className:b().topRighttHeading,children:(0,s.jsx)("button",{onClick:Ae,className:"comman-button",children:De()})})]}),(0,s.jsx)("div",{className:b().userBalMainContainer,children:"CORPORATE"===J||"CORPORATE_DEPENDENT"===J?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:b().boxBal_1,children:[(0,s.jsx)("div",{className:b().iconBal_1,children:(0,s.jsxs)("span",{children:[(0,s.jsx)(P.TSD,{})," "]})}),(0,s.jsxs)("div",{className:b().contBal_1,children:[(0,s.jsx)("h6",{children:"Corporate Balance"}),(0,s.jsxs)("h2",{style:{display:"flex",alignItems:"center"},children:["\u221e ",(0,s.jsx)("span",{style:{marginLeft:"10px"},children:"Sessions"})]})]})]})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b().boxBal_1,children:[(0,s.jsx)("div",{className:b().iconBal_1,children:(0,s.jsxs)("span",{children:[(0,s.jsx)(U.fzv,{})," "]})}),(0,s.jsxs)("div",{className:b().contBal_1,children:[(0,s.jsx)("h6",{children:"Individual Balance"}),(0,s.jsxs)("h2",{className:ke(),children:[N," ",(0,s.jsx)("span",{children:"Sessions"})]})]})]}),(0,s.jsxs)("div",{className:b().boxBal_1,children:[(0,s.jsx)("div",{className:b().iconBal_1,children:(0,s.jsx)("span",{children:(0,s.jsx)(U.WY8,{})})}),(0,s.jsxs)("div",{className:b().contBal_1,children:[(0,s.jsx)("h6",{children:"Couple Balance"}),(0,s.jsxs)("h2",{className:ke(),children:[y+Z," ",(0,s.jsx)("span",{children:"Sessions"})]})]})]}),(0,s.jsxs)("div",{className:b().boxBal_1,children:[(0,s.jsx)("div",{className:b().iconBal_1,children:(0,s.jsx)("span",{children:(0,s.jsx)(U.CZk,{})})}),(0,s.jsxs)("div",{className:b().contBal_1,children:[(0,s.jsx)("h6",{children:"Session Consumed"}),(0,s.jsxs)("h2",{children:[M+G+C," ",(0,s.jsx)("span",{children:"Sessions"})]})]})]}),(0,s.jsxs)("div",{className:b().boxBal_1,children:[(0,s.jsx)("div",{className:b().iconBal_1,children:(0,s.jsxs)("span",{children:[(0,s.jsx)(I.fCv,{})," "]})}),(0,s.jsxs)("div",{className:b().contBal_1,children:[(0,s.jsx)("h6",{children:"Self Help Balance"}),(0,s.jsxs)("h2",{children:[((null===Q||void 0===Q?void 0:Q.totalSelfHelpBal)||0)+((null===Q||void 0===Q||null===(e=Q.partnerRefrence)||void 0===e?void 0:e.totalSelfHelpBal)||0)," ",(0,s.jsx)("span",{children:"Sessions"})]})]})]})]})}),(0,s.jsxs)("div",{className:b().userDetailsModeContainer,children:[(0,s.jsx)("div",{className:b().leftCardDetail
1sUserMain,children:(0,s.jsx)("div",{className:"".concat(b().appo_left2," ").concat(0===X.length?"".concat(b().empty):{}),children:X.length>0?(0,s.jsx)(O.Z,V({},t,{className:b().sliderPadding,children:X.map((function(e,n){var a,i,t,o,r,c,d;return(0,s.jsxs)("div",{className:b().appiontCartViewMain,children:[(0,s.jsxs)("div",{className:b().upcommingHeader,children:[(0,s.jsx)("div",{className:b().counImageIcon,children:(0,s.jsx)("img",{src:null===e||void 0===e||null===(a=e.counselor)||void 0===a?void 0:a.councellorProfilePicture,alt:""})}),(0,s.jsxs)("div",{className:b().counContentText,children:[(0,s.jsx)("h4",{children:(null===e||void 0===e||null===(i=e.counselor)||void 0===i||null===(t=i.slug)||void 0===t?void 0:t.charAt(0).toUpperCase())+(null===e||void 0===e||null===(o=e.counselor)||void 0===o||null===(r=o.slug)||void 0===r?void 0:r.slice(1))}),(0,s.jsx)("p",{children:null===e||void 0===e||null===(c=e.counselor)||void 0===c?void 0:c.educationalDegree})]})]}),(0,s.jsx)("h4",{style:{textAlign:"center",marginTop:"10"},children:"Upcoming Appointment"}),(0,s.jsxs)("div",{className:b().userCardDetailsMain,children:[(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Appointment Date:"}),(0,s.jsx)("li",{children:ve?l()(null===e||void 0===e?void 0:e.appointmentStartTime).format("D MMM YYYY"):l()(null===e||void 0===e?void 0:e.appointmentDate).format("LL")})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Time:"}),(0,s.jsxs)("li",{children:[l()(null===e||void 0===e?void 0:e.appointmentStartTime).format("LT")," - ","PSYCHIATRIST"===(null===e||void 0===e||null===(d=e.counselor)||void 0===d?void 0:d.specificRole)?l()(e.appointmentEndTime).subtract(30,"minutes").format("LT"):l()(e.appointmentEndTime).subtract(15,"minutes").format("LT")]})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Session Mode:"}),(0,s.jsx)("li",{children:null===e||void 0===e?void 0:e.session_mode})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Session Type:"}),(0,s.jsx)("li",{children:null===e||void 0===e?void 0:e.session_type})]}),(null===e||void 0===e?void 0:e.testIncluded)&&(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:"Consultation Included"}),(0,s.jsx)("li",{style:{color:"var(--primary-color)"},children:null===e||void 0===e?void 0:e.testType})]}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{style:{fontWeight:"bold"},children:"Session Deduction:"}),(0,s.jsx)("li",{style:{fontWeight:"bold"},children:null===e||void 0===e?void 0:e.session_consumed})]}),(0,s.jsx)("div",{className:b().detail_card,children:(0,s.jsxs)("div",{className:b().appointment_buttons,children:[(null===e||void 0===e?void 0:e.IsJoinSessionValid)&&(0,s.jsx)("button",{className:b().aptReschbtn,onClick:function(){var n;"VIDEO"===(n=e).session_mode&&(window.location.href=n.meetLink.hangoutLink),"CALL"===n.session_mode&&Me(),"CHAT"===n.session_mode&&(window.location.href="https://tawk.to/chat/578f3cbf8d43861a4c8948ce/default")},children:"Join Now"}),l()()>l()(null===e||void 0===e?void 0:e.appointmentStartTime)?null:(null===e||void 0===e?void 0:e.IsCancellationValid)&&(null===e||void 0===e?void 0:e.user)===ue._id&&(0,s.jsx)("button",{className:b().aptReschbtnCancel,style:{backgroundColor:e.IsResheduleValid?"rgb(239, 159, 47)":"",width:e.IsResheduleValid?"200px":""},onClick:function(){Te(e),window.document.body.classList.add("disNon"),p(!0)},children:g?(0,s.jsx)("span",{children:"Loading..."}):e.IsResheduleValid?"Cancel/Reschedule":"Cancel"})]})})]})]})}))})):se?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:b().attachCounsellorCard,children:(0,s.jsxs)("div",{className:b().attachCardMain,children:[(0,s.jsx)("img",{src:null===se||void 0===se?void 0:se.councellorProfilePicture,alt:""}),(0,s.jsx)("h4",{children:(null===se||void 0===se||null===(n=se.slug)||void 0===n?void 0:n.charAt(0).toUpperCase())+(null===se||void 0===se||null===(a=se.slug)||void 0===a?void 0:a.slice(1))}),(0,s.jsx)("p",{children:null===se||void 0===se?void 0:se.educationalDegree}),(0,s.jsx)("div",{className:b().empty_button,children:(0,s.jsx)("button",{className:b().bookBtnDash,onClick:Ae,children:De()})})]})})}):(0,s.jsx)("div",{className:b().cardAppDetailsMainDe,children:(0,s.jsxs)("div",{className:b().empty_button,children:[(0,s.jsx)("h3",{className:b().no_appointment,children:"No Upcoming Appointment "}),(0,s.jsx)("img",{src:"/images/con-banner.svg",alt:""}),(0,s.jsx)("button",{className:b().bookBtnDash,onClick:Ae,children:De()})]})})})}),(0,s.jsx)("div",{className:b().rightCardOfferNewUpdateMain,children:"CORPORATE"===J&&"662a1bfbf071224bdcd87215"==(null===W||void 0===W?void 0:W._id)?(0,s.jsxs)(O.Z,V({},F,{children:[(0,s.jsx)(A(),{href:"/dashboard",children:(0,s.jsx)("span",{className:b().clientLogo,children:(0,s.jsx)("img",{src:"/images/corporate/PVRDash.png",alt:"PVR"})})}),(0,s.jsx)(A(),{href:"/dashboard",children:(0,s.jsx)("span",{className:b().clientLogo,children:(0,s.jsx)("img",{src:"/images/corporate/PVRDash2.png",alt:"PVR2"})})})]})):(0,s.jsxs)(O.Z,V({},F,{children:[(0,s.jsx)(A(),{href:"/pricing",children:(null===ie||void 0===ie?void 0:ie.enabled)?(0,s.jsx)(s.Fragment,{children:"BACK_20"===(null===ie||void 0===ie?void 0:ie.offerId)&&(0,s.jsx)("img",{src:"/images/banners/BACK_20.jpeg",alt:""})}):(0,s.jsx)("img",{src:"/images/banners/CARE15.jpeg",alt:"CARE15"})}),(0,s.jsx)(A(),{href:"/dashboard/profile/referFriend",children:(0,s.jsx)("img",{src:"/images/user-dashbanner-3.png",alt:""})}),(0,s.jsx)(A(),{href:"/get-started",children:(0,s.jsx)("img",{src:"/images/user-dashbanner-1.png",alt:""})})]}))})]}),(0,s.jsxs)("div",{className:b().userUpdateMainSectionCont,children:[(0,s.jsxs)("div",{className:b().leftUserNewUpdateBetterlyf,children:[(0,s.jsxs)("div",{className:b().textHeaderUpdate,children:[q.length>0?(0,s.jsx)("h4",{children:"My Updates"}):(0,s.jsx)("h4",{children:"No Updates"}),(0,s.jsx)(A(),{href:"/dashboard/myUpdates",children:(0,s.jsx)("button",{className:b().viewAllUpdateListbtn,children:"View All Update"})})]}),q.map((function(e,n){if(n<4)return(0,s.jsxs)("div",{className:b().updateListMain,children:[(0,s.jsx)("div",{className:b().iconUpdateList,children:Le(null===e||void 0===e?void 0:e.updateHeading)}),(0,s.jsxs)("div",{className:b().contentUpdateList,children:[(0,s.jsx)("h6",{children:null===e||void 0===e?void 0:e.updateHeading}),(0,s.jsx)("p",{children:null===e||void 0===e?void 0:e.updateSubHead})]})]},n)}))]}),(0,s.jsxs)("div",{className:b().rightUserNewUpdateBetterlyf,children:[(0,s.jsxs)("div",{className:b().userNewUpdateListMainBetlf,children:[(0,s.jsx)("h4",{children:"Self Help Program"}),(0,s.jsx)("p",{children:"Wellness programs designed through a blend of research, proven therapies, and real-life sessions. Programs inspired by CBT, Positive Psychology, & other therapeutic techniques."}
1),(0,s.jsx)(A(),{href:"/dashboard/wellness-programs",children:(0,s.jsx)("button",{children:"Get Started"})})]}),(0,s.jsxs)("div",{className:b().userNewUpdateListMainBetlf2,children:[(0,s.jsx)("h4",{children:"Free Assessments"}),(0,s.jsx)("p",{children:"We can't improve what we don't measure. Get in touch with your thoughts & feelings. Quickest & easiest way to evaluate symptoms of a mental health conditions."}),(0,s.jsx)(A(),{href:"/dashboard/assessment",children:(0,s.jsx)("button",{children:"Get Started"})})]})]})]}),(0,s.jsx)("div",{className:b().userTestominalsMainContianer,children:(0,s.jsx)(O.Z,V({},Y,{children:null===B||void 0===B?void 0:B.map((function(e,n){return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:b().reviewsMainCard,children:[(0,s.jsx)("img",{src:e.image,alt:"images"}),(0,s.jsxs)("div",{className:b().reviewsLeftMainCon,children:[(0,s.jsxs)("h4",{children:["What are other clients saying about - ",(0,s.jsx)("strong",{style:{color:"#00B8D3"},children:e.counselor})]}),(0,s.jsx)("p",{children:e.review}),(0,s.jsx)("h4",{children:e.name})]})]})})}))}))})]}),u&&(0,s.jsx)("section",{className:"popup",style:{position:"fixed"},children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[ge?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("p",{children:"Cancel Appointment"})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("p",{children:"Cancel/Reschedule Appointment"})}),(0,s.jsx)("span",{onClick:function(){Oe()},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsxs)("div",{className:"popuprow",children:[(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Session Mode"}),(0,s.jsx)("p",{children:ne.session_mode})]}),(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Appointment time"}),(0,s.jsx)("p",{children:ne.appointmentDate})]}),(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Appointment Time"}),(0,s.jsxs)("p",{children:[" ","".concat(l()(ne.appointmentStartTime).format("LT")," - ").concat(l()(ne.appointmentEndTime).subtract(15,"minutes").format("LT"))]})]})]}),(0,s.jsx)("p",{style:{fontSize:16},className:Ee(ne.appointmentStartTime).status?"successText":"dangerText",children:(0,s.jsx)("u",{style:{textDecoration:"none"},children:Ee(ne.appointmentStartTime).status?"":Ee(ne.appointmentStartTime).msg})}),(0,s.jsx)("div",{className:"popButtonView",style:{marginTop:20},children:ge?(0,s.jsx)("button",{className:"popsubmitbtn",style:{backgroundColor:"#00b8d3"},onClick:function(){c.push({pathname:"/contact-us"})},children:"Contact Us"}):(0,s.jsxs)("div",{className:b().reschuldepopuptext,children:[(0,s.jsxs)("div",{className:b().reschuldepopup,children:[(0,s.jsx)("button",{className:"popsubmitbtn",style:{backgroundColor:"#e74c3c"},onClick:function(){Be("Cancel"),Oe()},children:"Cancel"}),(0,s.jsx)("button",{className:"popsubmitbtn",style:{backgroundColor:"rgb(239, 159, 47)"},onClick:function(){Be("Reschedule"),Oe()},children:"Reschedule"})]}),(0,s.jsxs)("div",{style:{fontSize:"10px",display:"flex",justifyContent:"space-between",marginTop:"10px"},children:[(0,s.jsx)("span",{style:{color:"#e74c3c"},children:"*Free Cancellation"}),(0,s.jsx)("span",{style:{color:"rgb(239, 159, 47)"},children:"*Cancel Current & Book New"})]})]})}),Ce?(0,s.jsx)("p",{style:{float:"right",color:"var(--danger-color)"},children:"Please click the checkbox to proceed."}):null]})]})})}),oe&&(0,s.jsx)("section",{className:"popup",style:{position:"fixed"},children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Join Call"}),(0,s.jsx)("span",{onClick:function(){window.document.body.classList.remove("disNon"),re(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("p",{className:"popupBodyTitle",children:"Please Hold For Couple Of Minutes!!"}),(0,s.jsx)("p",{className:"popupBodyDesc",children:"Counselor Is About To Call You.."})]})]})})}),ce&&(0,s.jsx)("section",{className:"popup",style:{position:"fixed"},children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Start Chat:"}),(0,s.jsx)("span",{onClick:function(){window.document.body.classList.remove("disNon"),de(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("p",{className:"popupBodyTitle",children:'Click "Chat With Us" on the bottom right of the page.'}),(0,s.jsx)("p",{className:"popupBodyDesc",children:"Mention Your
110 Digit ID on chat to Start Session."})]})]})})})]})},z=a(71970),q=a(34408),J=a.n(q),Q=a(80471),K=a(97553),X=a(98210),$=a(11976);function ee(e,n,a,s,i,t,o){try{var r=e[t](o),l=r.value}catch(c){return void a(c)}r.done?n(l):Promise.resolve(l).then(s,i)}function ne(e){return function(){var n=this,a=arguments;return new Promise((function(s,i){var t=e.apply(n,a);function o(e){ee(t,s,i,o,r,"next",e)}function r(e){ee(t,s,i,o,r,"throw",e)}o(void 0)}))}}function ae(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function se(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},s=Object.keys(a);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),s.forEach((function(n){ae(e,n,a[n])}))}return e}var ie={dots:!1,arrow:!0,slidesToShow:1,slidesToScroll:1,infinite:!1,swipeToSlide:!0,nextArrow:(0,s.jsx)(E.Z,{}),prevArrow:(0,s.jsx)(R.Z,{})},te=function(){var e,n,a,t=(0,v.I0)(),r=(0,k.useRouter)(),c=(0,v.v9)((function(e){return e.website.isLoading})),d=(0,v.v9)((function(e){return e.user.profile._id})),u=((0,v.v9)((function(e){return e.user.user.userEmail})),(0,i.useState)(5)),p=u[0],g=u[1],f=(0,i.useState)(),j=f[0],w=f[1],N=(0,i.useState)(),b=N[0],C=N[1],y=(0,i.useState)(),B=y[0],M=y[1],E=(0,i.useState)([]),R=E[0],P=E[1],I=(0,i.useState)(l()().format("L")),Z=I[0],H=I[1],G=(0,i.useState)([]),V=G[0],F=G[1],Y=(0,i.useState)(),W=Y[0],z=Y[1],q=(0,i.useState)({}),ee=q[0],ae=q[1],te=(0,i.useState)(""),oe=te[0],re=te[1],le=(0,i.useState)(""),ce=le[0],de=le[1],ue=(0,i.useState)(""),pe=ue[0],ve=ue[1],me=(0,i.useState)(!1),he=me[0],_e=me[1],xe=(0,i.useState)(!1),ge=xe[0],fe=xe[1],je=(0,i.useState)(),we=je[0],Ne=je[1],be=(0,i.useState)(!1),Ce=be[0],Se=be[1],ye=(0,i.useState)(!1),Ae=ye[0],ke=(ye[1],(0,i.useState)(!1)),De=ke[0],Oe=(ke[1],(0,i.useState)(!1)),Te=Oe[0],Be=Oe[1],Me=(0,i.useState)(!1),Le=Me[0],Ee=Me[1],Re=(0,v.v9)((function(e){return e.user.profile._id})),Pe=(0,i.useState)(!1),Ue=Pe[0],Ie=Pe[1],Ze=(0,i.useState)(),He=Ze[0],Ge=Ze[1],Ve=(0,i.useState)([]),Fe=Ve[0],Ye=Ve[1],We=(0,i.useState)(),ze=We[0],qe=We[1],Je=(0,i.useState)(),Qe=Je[0],Ke=Je[1],Xe=(0,i.useState)(!1),$e=Xe[0],en=Xe[1],nn=(0,v.v9)((function(e){return e.user.profile.financialCounselor})),an=(0,v.v9)((function(e){return e.user.profile.counselorStatus})),sn=((0,v.v9)((function(e){return e.user.profile.teleID})),(0,v.v9)((function(e){return e.user.user.userPhone}))),tn=new $.DV(4222265,"4e45e8f0-4dfa-4c4a-9bc1-3e35f7cd1265"),on=(0,i.useState)(!1),rn=on[0],ln=on[1],cn=(0,i.useState)(!1),dn=cn[0],un=cn[1],pn=(0,v.v9)((function(e){return e.user.user._id})),vn=(0,i.useState)(0),mn=vn[0],hn=vn[1],_n=(0,i.useState)(0),xn=_n[0],gn=_n[1],fn=(0,i.useState)(!1),jn=fn[0],wn=fn[1],Nn=(0,i.useState)(0),bn=Nn[0],Cn=Nn[1],Sn=(0,i.useState)(!1),yn=Sn[0],An=Sn[1],kn=(0,i.useState)(""),Dn=kn[0],On=kn[1],Tn=(0,i.useState)(!1),Bn=Tn[0],Mn=Tn[1],Ln=function(){var e=ne(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=4,D.Z.pendingRecord({counselorID:Re});case 4:((null===(n=e.sent)||void 0===n?void 0:n.pendingRecords)>0||(null===n||void 0===n?void 0:n.unclosedSessions)>0||(null===n||void 0===n?void 0:n.unreadChats)>0)&&(hn(null===n||void 0===n?void 0:n.pendingRecords),gn(null===n||void 0===n?void 0:n.unclosedSessions),Cn(null===n||void 0===n?void 0:n.unreadChats),wn(!0)),t(m.Gg.actions.disableLoading()),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),En=function(){var e=ne(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=4,D.Z.counselorUnreadMessages(pn);case 4:n=e.sent,t(x.sv.actions.userUnreadMessage(null===n||void 0===n?void 0:n.chatList.length)),t(x.sv.actions.counselorArticles(null===n||void 0===n?void 0:n.countAssignedArticle)),t(m.Gg.actions.disableLoading()),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}(),Rn=function(){var e=ne(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,Se(!0),ln(!1),t(m.Gg.actions.setLoading()),e.next=6,h.Z.markComplete({appointmentID:n,counselorID:Re});case 6:e.sent,r.push("/dashboard/appointments/markComplete?appointmentDetail=".concat(n)),Se(!1),t(m.Gg.actions.disableLoading()),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),Se(!1),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(n){return e.apply(this,arguments)}}(),Pn=function(){var e=ne(o().mark((function e(n,a){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ke(a),L()({title:"Mark No Show",text:"Are You Sure You Want To Mark This Appointment as No Show ",icon:"warning",dangerMode:!0,buttons:{can:{text:"Mark No Show",value:"can"},del:{text:"Cancel",value:"del"}}}).then((function(e){if("can"===e)Un(n)}));case 2:case"end":return e.stop()}}),e)})));return function(n,a){return e.apply(this,arguments)}}(),Un=function(){var e=ne(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,Be(!0),t(m.Gg.actions.setLoading()),e.next=5,h.Z.markNoShow({appointmentID:n,counselorID:Re});case 5:e.sent,Be(!1),Ee(!Le),Zn(),t(m.Gg.actions.disableLoading()),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),Be(!1),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(n){return e.apply(this,arguments)}}(),In=function(){var e=ne(o().mark((function e(){var n,a,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=5,h.Z.getCounselorProfile();case 5:s=e.sent,w(null===s||void 0===s||null===(n=s.data)||void 0===n||null===(a=n.profile)||void 0===a?void 0:a.financialCounselor),C(s.data),t(m.Gg.actions.disableLoading()),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Zn=function(){var e=ne(o().mark((function e(){var n,a,s,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=4,h.Z.getCounselorRoaster({date:l()(Z).format("MM/DD/YYYY"),counselorID:d});case 4:n=e.sent,(a=n.data).sort((function(e,n){return l()(e.slotStartTime).isBefore(l()(n.slotStartTime))?-1:1})),M(a),s=a.filter((function(e){return!0===e.isSlotAccoupied&&("BOOKED"===e.appointment.appointmentStatus||"RE-SHEDULED"===e.appointment.appointmentStatus)})),Ye(s),t(m.Gg.actions.disableLoading()),Z===l()().format("MM/DD/YYYY")&&qn(a),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat((null===(i=e.t0.response)||void 0===i?void 0:i.data)?e.t0.response.data.message:"Something went wrong!!"));case 19:case"end":return e.stop()}}),e,null,[[0,14]])}
1)));return function(){return e.apply(this,arguments)}}(),Hn=function(e,n,a,s,i,t){z(t),de(""),ve(n);var o=V;V.includes(n)?(o=V.filter((function(e){return e!=n})),F(o)):F([n])},Gn=function(){var e=ne(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),n={clientID:ee._id,slots:V,counselorID:d,session_mode:we,appointmentDate:Z,isFinancial:j},e.next=5,h.Z.bookAppointment(n);case 5:e.sent,Zn(),fe(!1),t(m.Gg.actions.disableLoading()),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Vn=(function(){var e=ne(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=4,h.Z.searchClient(oe);case 4:n=e.sent,ae(n.data[0]),t(m.Gg.actions.disableLoading()),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))}(),function(){var e=ne(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(m.Gg.actions.setLoading()),e.next=4,h.Z.addComment({slotId:pe,comment:ce});case 4:n=e.sent,ae(n.data),_e(!1),t(m.Gg.actions.disableLoading()),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}()),Fn=function(){var e=ne(o().mark((function e(n,a,s){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,en(!0),t(m.Gg.actions.setLoading()),e.next=5,h.Z.canceluserAppointment({appointmentID:n,isDeductionRequired:a,cancellationReason:Dn});case 5:e.sent,Zn(),en(!1),Ie(!1),Ge(""),t(m.Gg.actions.disableLoading()),e.next=18;break;case 13:e.prev=13,e.t0=e.catch(0),en(!1),t(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 18:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(n,a,s){return e.apply(this,arguments)}}(),Yn=new $.GB,Wn=function(){var e=ne(o().mark((function e(n){var a,s,i,t,r,l,c,d,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("VIDEO"===n.appointment.session_mode&&(window.location.href=n.appointment.meetLink.hangoutLink),"CALL"!==n.appointment.session_mode){e.next=18;break}if(!(null===n||void 0===n||null===(a=n.appointment)||void 0===a||null===(s=a.user)||void 0===s?void 0:s.userPhone)){e.next=17;break}return r=Number("91".concat(sn)),l=918031406683,c=Number("91".concat(null===n||void 0===n||null===(i=n.appointment)||void 0===i||null===(t=i.user)||void 0===t?void 0:t.userPhone)),Yn.record(),Yn.call(c,l),d=Yn.PCMO(),e.next=13,tn.voice.call(r,l,d);case 13:200===(u=e.sent).cmi_code?L()({title:"Success",text:"Call Initiated.Please wait....",icon:"success",dangerMode:!1,buttons:{can:{text:"Ok",value:"can"}}}):_.Am.error(u.msg),e.next=18;break;case 17:_.Am.error("No Phone Number Available");case 18:"CHAT"===n.appointment.session_mode&&(window.location.href="https://tawk.to/chat/578f3cbf8d43861a4c8948ce/default");case 19:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();(0,i.useEffect)((function(){In(),En(),Ln()}),[]),(0,i.useEffect)((function(){Zn(),un(!1),An(!1)}),[Z]),(0,i.useEffect)((function(){for(var e=[],n=0;n<8;n++){var a={day:0===n?l()().format("L"):l()().add(n,"day").format("L")};e.push(a)}P(e)}),[]);var zn=function(){var e=ne(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:oe?r.replace("dashboard/bookAppointment?clientID=".concat(oe)):un(!0);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),qn=function(){var e=ne(o().mark((function e(n){var a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(a=null===n||void 0===n?void 0:n.filter((function(e){return l()()>
1l()(e.slotStartTime)&&l()()<l()(e.slotEndTime)&&!1===e.isBlockApplied&&!1===e.isGap&&!1===e.isLeaveApplied&&!1===e.isSelfBlockApplied&&!1===e.isSlotAccoupied})))&&a[0]&&An(!0);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,s.jsxs)(i.Fragment,{children:[(0,s.jsxs)("div",{className:"dashboard_container",children:[(0,s.jsx)("div",{className:J().first,children:(0,s.jsxs)("p",{className:J().first_para,children:["Your account summary as on ",l()().format("LL")]})}),(0,s.jsxs)("div",{className:J().main_container,children:[(0,s.jsxs)("div",{className:J().card_container,children:[(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading1,children:null===b||void 0===b?void 0:b.finishedAppointments}),(0,s.jsxs)("p",{className:J().para1,children:["Completed ",(0,s.jsx)("br",{})," Appointments"]})]}),(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading2,children:null===b||void 0===b?void 0:b.resheduledAppointments}),(0,s.jsxs)("p",{className:J().para1,children:["Re-Scheduled ",(0,s.jsx)("br",{})," Appointments"]})]}),(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading3,children:null===b||void 0===b?void 0:b.cancelledAppointments}),(0,s.jsxs)("p",{className:J().para1,children:["Cancelled ",(0,s.jsx)("br",{})," Appointments"]})]}),(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading4,children:null===b||void 0===b?void 0:b.pendingAppointment}),(0,s.jsxs)("p",{className:J().para1,children:["Pending ",(0,s.jsx)("br",{})," Appointments"]})]})]}),(0,s.jsxs)("div",{className:J().card_container1,children:[(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading5,children:null===b||void 0===b?void 0:b.sessionTillDate}),(0,s.jsxs)("p",{className:J().para1,children:["Session Taken ",(0,s.jsx)("br",{})," Till Date"]})]}),(0,s.jsxs)("div",{className:J().inner_content,children:[(0,s.jsx)("h3",{className:J().heading5,children:null===(null===b||void 0===b?void 0:b.repatPercent.repeatPercentage)?"0%":"".concat(null===b||void 0===b?void 0:b.repatPercent.repeatPercentage,"%")}),(0,s.jsxs)("p",{className:J().para1,children:["Repeat ",(0,s.jsx)("br",{})," Percentage"]})]})]})]}),(0,s.jsxs)("div",{className:J().select_date,children:[(0,s.jsx)("p",{className:J().heading_date,children:"Select Date"}),(0,s.jsx)("div",{className:J().second_line,children:null===R||void 0===R?void 0:R.map((function(e,n){return(0,s.jsx)("div",{className:"".concat(J().date," ").concat(Z===e.day?"".concat(J().selected):{}),onClick:function(){H(e.day)},children:(0,s.jsx)("p",{className:J().para_date,children:e.day})},n)}))}),(0,s.jsx)("p",{className:J().heading_date,children:"Select Time"}),(0,s.jsx)("div",{className:J().select_time_conDsbrd,children:null===B||void 0===B?void 0:B.map((function(e,n){return e.isSlotAccoupied?(0,s.jsx)("div",{className:"".concat(J().date," ").concat((V.includes(e._id),"".concat(J().booked))),onClick:function(){Hn(e.counselor,e._id,e.slotDate,e.slotStartTime,e.slotEndTime,e)},children:(0,s.jsx)("p",{className:J().para_date,children:l()(e.slotStartTime).format("LT")})},n):(0,s.jsx)("div",{className:"".concat(J().date," ").concat(V.includes(e._id)?"".concat(J().selected):"".concat(J().unbooked)),onClick:function(){Hn(e.counselor,e._id,e.slotDate,e.slotStartTime,e.slotEndTime,e)},children:(0,s.jsx)("p",{className:J().para_date,children:l()(e.slotStartTime).format("LT")})},n)}))}),function(){var e,n,a,t,o,r,c,d,u;if(W)return W.isSlotAccoupied?(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)("hr",{className:J().horizontalLine}),(0,s.jsx)("p",{className:J().heading_date,children:"Appointment Details"}),(0,s.jsxs)("div",{className:J().second_line3,children:[(0,s.jsxs)("div",{className:J().details,children:[(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Appointment ID"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:"BTR_".concat(null===W||void 0===W||null===(e=W.appointment)||void 0===e||null===(n=e._id)||void 0===n?void 0:n.substring((null===W||void 0===W?void 0:W.appointment._id.length)-15))})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"User 10 Digit ID"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:null===W||void 0===W||null===(a=W.appointment)||void 0===a||null===(t=a.user)||void 0===t?void 0:t.uniqueIdentifier})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Booking Status"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:null===W||void 0===W||null===(o=W.appointment)||void 0===o?void 0:o.appointmentStatus})]})]}),(0,s.jsxs)("div",{className:J().details3,children:[(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Session Duration"}),(0,s.jsxs)("p",{className:J().Appointment_para1,children:[l()(null===W||void 0===W||null===(r=W.appointment)||void 0===r?void 0:r.appointmentStartTime).format("LT")," - ",l()(null===W||void 0===W||null===(c=W.appointment)||void 0===c?void 0:c.appointmentEndTime).subtract(15,"minutes").format("LT")]})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Session Type"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:null===W||void 0===W||null===(d=W.a
1ppointment)||void 0===d?void 0:d.session_mode})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Client Type"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:null===W||void 0===W||null===(u=W.appointment)||void 0===u?void 0:u.session_type})]})]})]})]}):(0,s.jsx)(i.Fragment,{children:(0,s.jsxs)("div",{className:J().second_line1,children:[(0,s.jsx)("input",{type:"text",id:"ClientId",className:J().clientInput,onChange:function(e){re(e.target.value)},placeholder:"Enter Client ID"}),(0,s.jsx)("button",{className:J().clientLabel,onClick:function(){zn()},children:"Book Appointment"}),dn?(0,s.jsx)("p",{className:J().errorText,children:"*Please Enter Client Id"}):null]})})}()]}),(0,s.jsxs)("div",{className:J().Upcoming_Appointments,children:[(0,s.jsxs)("div",{style:{width:"100%"},className:"".concat(J().upcoming_details," ").concat(0===Fe.length?"".concat(J().emptyappointment):{}),children:[(0,s.jsxs)("div",{className:J().upcoming_main,children:[(0,s.jsx)("h3",{className:J().upcoming1,children:"Upcoming Appointments"}),(0,s.jsx)(A(),{href:"dashboard/appointments",children:(0,s.jsx)("h3",{className:J().upcoming2,children:"View All"})})]}),(0,s.jsx)("h2",{className:J().nocase_heading,children:"No Upcoming Appointments For Day"}),(0,s.jsx)("div",{children:(0,s.jsx)(O.Z,se({},ie,{children:Fe.map((function(e,n){var a,i,t,o,r,c,d,u,p,v,m,h,_,x,g,f;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:J().appointmenttest,children:[(0,s.jsx)("p",{className:J().upcomingpara,children:"Appointment Details"}),(0,s.jsxs)("div",{className:J().upcomingdetails,children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:J().upcomingimage,children:(0,s.jsx)("img",{src:null===e||void 0===e||null===(a=e.appointment)||void 0===a||null===(i=a.user)||void 0===i?void 0:i.userProfilePicture,alt:"arrow"})})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:J().upcomingname,children:[null===e||void 0===e||null===(t=e.appointment)||void 0===t||null===(o=t.user)||void 0===o?void 0:o.firstName,"(",null===e||void 0===e||null===(r=e.appointment)||void 0===r||null===(c=r.user)||void 0===c?void 0:c.uniqueIdentifier,")"]}),(0,s.jsxs)("div",{className:J().upcomingbutton,children:[(0,s.jsx)("button",{className:J().btn1,children:null===e||void 0===e||null===(d=e.appointment)||void 0===d?void 0:d.session_type}),!nn&&(0,s.jsx)(A(),{href:"/dashboard/client/".concat(null===e||void 0===e||null===(u=e.appointment)||void 0===u||null===(p=u.user)||void 0===p?void 0:p._id),children:(0,s.jsxs)("p",{className:J().upcomingpara1,children:[" View Detail \xa0",(0,s.jsx)(Q.TtW,{size:12})]})})]})]})]}),(0,s.jsxs)("div",{className:J().Upcomingdetails4,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Appointment Id"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:"BTR_".concat(null===e||void 0===e||null===(v=e.appointment)||void 0===v||null===(m=v._id)||void 0===m?void 0:m.substring((null===e||void 0===e||null===(h=e.appointment)||void 0===h?void 0:h._id.length)-15))})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Date & Time"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:l()(null===e||void 0===e||null===(_=e.appointment)||void 0===_?void 0:_.appointmentStartTime).format("lll")})]}),(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Appointment Mode"}),(0,s.jsx)("p",{className:J().Appointment_para1,children:null===e||void 0===e||null===(x=e.appointment)||void 0===x?void 0:x.session_mode})]}),(null===e||void 0===e||null===(g=e.appointment)||void 0===g?void 0:g.testIncluded)&&(0,s.jsxs)("div",{className:J().details2,children:[(0,s.jsx)("p",{className:J().Appointment_para,children:"Consultation Included"}),(0,s.jsx)("p",{className:J().Appointment_para1,style:{color:"var(--primary-color)"},children:null===e||void 0===e||null===(f=e.appointment)||void 0===f?void 0:f.testType})]}),(0,s.jsxs)("div",{className:J().Upcomingdetails5,children:[(0,s.jsx)("button",{className:J().btn3,onClick:function(){Wn(e)},children:Ae?(0,s.jsx)(X.Z,{}):"Start Session"}),(0,s.jsx)("button",{className:J().btn5,onClick:function(){var n,a,s,i,t;i=null===e||void 0===e||null===(n=e.appointment)||void 0===n?void 0:n._id,t=null===e||void 0===e||null===(a=e.appointment)||void 0===a||null===(s=a.user)||void 0===s?void 0:s.userCountryCode,ln(!0),qe(i),Ke(t)},children:"Complete"}),(0,s.jsx)("button",{className:J().btn4,onClick:function(){var n,a,s;Pn(null===e||void 0===e||null===(n=e.appointment)||void 0===n?void 0:n._id,null===e||void 0===e||null===(a=e.appointment)||void 0===a||null===(s=a.user)||void 0===s?void 0:s.userCountryCode)},children:Te?(0,s.jsx)(X.Z,{}):"Mark No Show"}),(0,s.jsx)("button",{className:J().cancelbtn,onClick:function(){var n,a,s,i,t;i=null===e||void 0===e||null===(n=e.appointment)||void 0===n?void 0:n._id,t=null===e||void 0===e||null===(a=e.appointment)||void 0===a||null===(s=a.user)||void 0===s?void 0:s.userCountryCode,Ie(!0),Ge(i),Ke(t)},children:De?(0,s.jsx)(X.Z,{}):"Cancel"})]})]})})}))}))})]}),(0,s.jsxs)("div",{className:"".concat(J().upcoming_details1," ").
1concat(0===(null===b||void 0===b?void 0:b.updates.length)?"".concat(J().emptyappointment," "):{}),children:[(0,s.jsx)("div",{className:J().upcoming_main,children:(0,s.jsx)("h3",{className:J().upcoming1,children:"My Updates"})}),(0,s.jsx)("h2",{className:J().nocase_heading,children:"No Updates"}),(0,s.jsx)("div",{className:J().appointmenttest_myUpdate,children:null===b||void 0===b||null===(e=b.updates)||void 0===e?void 0:e.slice(0,p).map((function(e,n){return(0,s.jsxs)("div",{className:J().myupdates,children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:J().upcomingimage,children:(a=e,a.updateHeading.includes("NEW APPOINTMENT")?(0,s.jsx)("div",{className:J().task_outer,style:{backgroundColor:"#86D293"},children:(0,s.jsx)("span",{className:J().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/newAppointment.svg",alt:"about",layout:"fill"})})}):a.updateHeading.includes("APPOINTMENT CANCELLED")?(0,s.jsx)("div",{className:J().task_outer,style:{backgroundColor:"#FFCCCC"},children:(0,s.jsx)("span",{className:J().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/cancelAppointment.svg",alt:"about",layout:"fill"})})}):a.updateHeading.includes("APPOINTMENT RESCHEDULED")?(0,s.jsx)("div",{className:J().task_outer,style:{backgroundColor:" #FFF7E0"},children:(0,s.jsx)("span",{className:J().task_image,children:(0,s.jsx)(S(),{src:"/images/icons/resheduleAppointment.svg",alt:"about",layout:"fill"})})}):a.updateHeading.includes("NEW MESSAGE")?(0,s.jsx)("div",{className:J().task_outer,style:{backgroundColor:"#FCDE70"},children:(0,s.jsx)("span",{className:J().task_image,children:(0,s.jsx)(S(),{src:"/images/chat.svg",alt:"about",layout:"fill"})})}):(0,s.jsx)("div",{className:J().task_outer,style:{backgroundColor:"#ECDFCC"},children:(0,s.jsx)("span",{className:J().task_image,children:(0,s.jsx)(S(),{src:"/images/switch-camera.svg",alt:"about",layout:"fill"})})}))})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:J().mydetailspara,children:null===e||void 0===e?void 0:e.updateHeading}),(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:J().mydetailsSub,children:null===e||void 0===e?void 0:e.updateSubHead})})]})]},n);var a}))}),(0,s.jsxs)("div",{className:J().myupdate_list,children:[p>5&&(0,s.jsx)("button",{className:J().lestBtnUpdate,onClick:function(){return g(5)},children:"View Less"}),(null===b||void 0===b||null===(n=b.updates)||void 0===n?void 0:n.length)>p&&(0,s.jsx)("button",{className:J().viewBtnUpdate,onClick:function(){return g(p+5)},children:"View More"})]})]})]}),(0,s.jsxs)("div",{className:J().Pending_Record,children:[(0,s.jsxs)("div",{className:"".concat(J().upcoming_details22," ").concat(0===(null===b||void 0===b?void 0:b.pendingRecord.length)?"".concat(J().emptyappointment):{}),children:[(0,s.jsxs)("div",{className:J().upcoming_main,children:[(0,s.jsx)("h3",{className:J().upcoming1,children:"Pending Record"}),(0,s.jsx)("h3",{className:J().upcoming2,children:"View All"})]}),(0,s.jsx)("h2",{className:J().nocase_heading,children:"No Updates"}),(0,s.jsxs)("div",{className:J().appointmenttest,children:[0!==(null===b||void 0===b?void 0:b.pendingRecord.length)?(0,s.jsxs)("div",{className:J().pendingrecords,children:[(0,s.jsx)("p",{className:J().pending11,children:"Client ID"}),(0,s.jsx)("p",{className:J().pending2,children:"Actions"})]}):null,null===b||void 0===b||null===(a=b.pendingRecord)||void 0===a?void 0:a.map((function(e,n){var a;return(0,s.jsxs)("div",{className:J().pendingrecords1,children:[(0,s.jsx)("p",{className:J().pending1,children:null===e||void 0===e||null===(a=e.user)||void 0===a?void 0:a.uniqueIdentifier}),(0,s.jsxs)("p",{className:J().pending22,children:[(0,s.jsx)(U.vPQ,{})," Fill Record"]})]},n)}))]})]}),(0,s.jsxs)("div",{className:J().upcoming_details1,children:[(0,s.jsxs)("div",{className:J().upcoming_main,children:[(0,s.jsx)("h3",{className:J().upcoming1,children:"Follow Ups"}),(0,s.jsx)("h3",{className:J().upcoming2,children:"View All"})]}),(0,s.jsx)("h2",{className:J().nocase_heading,children:"No Updates"})]})]})]}),he&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Add Comment"}),(0,s.jsx)("span",{onClick:function(){_e(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("textarea",{name:"",id:"",cols:68,rows:10,placeholder:"Write your comment...",value:ce,onChange:function(e){de(e.target.value)}}),(0,s.jsx)("div",{className:"popButtonView",children:(0,s.jsx)("button",{className:"popsubmitbtn",onClick:Vn,children:"Submit"})})]})]})})}),ge&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Book Appointment"}),(0,s.jsx)("span",{onClick:function(){fe(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsxs)("div",{className:"popuprow",children:[(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Client ID :"}),(0,s.jsx)("p",{children:null===ee||void 0===ee?void 0:ee.uniqueIdentifier})]}),(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Last Appointment :"}),(0,s.jsx)("p",{children:(null===ee||void 0===ee?void 0:ee.appointmentDetail)&&0!=(null===ee||void 0===ee?void 0:ee.appointmentDetail.length)?l()(null===ee||void 0===ee?void 0:ee.appointmentDetail[0].appointmentStartTime).format("LL"):"-"})]}),(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Last Appointment Status :"}),(0,s.jsxs)("p",{children:[(null===ee||void 0===ee?void 0:ee.appointmentDetail)&&0!=(null===ee||void 0===ee?void 0:ee.appointmentDetail.length)?null===ee||void 0===ee?void 0:ee.appointmentDetail[0].appointmentStatus:"-"," "]})]}),(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:"Mode :"}),(0,s.jsx)("span",{children:(0,s.jsx)(K.ZP,{options:[{value:"VIDEO",label:"VIDEO"},{value:"CALL",label:"CALL"},{value:"CHAT",label:"CHAT"}],onChange:function(e){Ne(null===e||void 0===e?void 0:e.value)}})})]})]}),(0,s.jsx)("div",{className:"popButtonView",children:(0,s.jsx)("button",{className:"popsubmitbtn",onClick:Gn,children:c?"Loading..":"Submit"})})]})]})})}),Ue&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Cancel Appointment"}),(0,s.jsx)("span",{onClick:function(){Ie(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("p",{className:"popupBodyDesc dangerText",children:"Are You Sure You Want To Cancel This Appointment."}),(0,s.jsx)("p",{className:"popupBodyDesc",children:"Please Select Is Deduction Required In Cancellation."}),(0,s.jsxs)("div",{className:J().commentDetail,children:[(0,s.jsxs)("label",{className:J().label,children:["Reason for cancellation ",(0,s.jsx)("span",{children:"*"})]}),(0,s.jsxs)("div",{className:J().inputWrapper,children:[(0,s.jsx)("input",{type:"text",maxLength:100,minLength:10,value:Dn,onChange:function(e){return n=e.target.value,On(n),void(n.length>=10&&Mn(!1));var n},placeholder:"Enter reason for cancellation",className:J().input}),(0,s.jsxs)("span",{className:J().counter,children:[Dn.length,"/100"]})]}),Bn&&(0,s.jsx)("p",{className:J().errorReason,children:"*Minimum 10 characters required"})]}),Dn.length>=10?(0,s.jsx)("div",{className:"popButtonView",children:(0,s.jsx)("button",{className:J().floatingpopsubmitbtn,onClick:function(){Fn(He,!1,Qe)},children:$e?(0,s.jsx)("span",{children:"Loading..."}):"No Deduction & Cancel"})}):(0,s.jsx)("div",{className:"popButtonView",children:(0,s.jsx)("button",{className:J().floatingpopsubmitbtnDis,onClick:function(){Mn(!0)},children:"No Deduction & Cancel"})})]})]})})}),rn&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Complete Appointment"}),(0,s.jsx)("span",{onClick:function(){ln(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("p",{className:J().dangerText,children:"Are You Sure You Want To Complete Appointment."}),(0,s.jsx)("div",{className:"popButtonView",children:Ce?(0,s.jsx)("button",{className:J().floatingpopsubmitbtn,children:(0,s.jsx)(X.Z,{})}):(0,s.jsx)("button",{className:J().floatingpopsubmitbtn,onClick:function(){Rn(ze)},children:"Complete"})})]})]})})}),(0,s.jsx)("div",{className:J().recordContainer,children:jn&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Alert"}),(0,s.jsx)("span",{onClick:function(){return wn(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[mn>0&&(0,s.jsxs)("div",{className:J().alertText,children:[(0,s.jsxs)("p",{style:{color:"var(--danger-color)",marginBottom:"10px",fontSize:"16px"},children:["You have ",mn," pending session"," ",mn>1?"notes":"note","."]}),(0,s.jsx)(A(),{href:"/dashboard/pendingRecord",children:(0,s.jsx)("span",{children:(0,s.jsx)("img",{src:"/images/arrow.svg",alt:"Navigate"})})})]}),xn>0&&(0,s.jsxs)("div",{className:J().alertText,children:[(0,s.jsxs)("p",{style:{color:"var(--danger-color)",marginBottom:"10px",fontSize:"16px"},children:["You have ",xn," unmarked"," ",xn>1?"appointments":"appointment","."]}),(0,s.jsx)(A(),{href:"/dashboard/appointments",children:(0,s.jsx)("span",{children:(0,s.jsx)("img",{src:"/images/arrow.svg",alt:"Navigate"})})})]}),bn>0&&(0,s.jsxs)("div",{className:J().alertText,children:[(0,s.jsxs)("p",{style:{color:"var(--danger-color)",marginBottom:"10px",fontSize:"16px"},children:["You have ",bn," unread"," ",bn>
11?"chats":"chat","."]}),(0,s.jsx)(A(),{href:"/dashboard/counsellorChat",children:(0,s.jsx)("span",{children:(0,s.jsx)("img",{src:"/images/arrow.svg",alt:"Navigate"})})})]})]})]})})})}),yn&&("ACTIVE"==an||"NOTICE_PERIOD"==an)&&(0,s.jsx)("section",{className:"popup",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Free Slot"}),(0,s.jsx)("span",{onClick:function(){An(!1)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsxs)("div",{className:"popupDetailContainer",children:[(0,s.jsx)("p",{className:J().lightText,children:"\u200bYou Have an Unbooked Slot: Kindly Take Up Free Sessions If Available or Your Secondary Deliverables."}),(0,s.jsx)("div",{className:"popButtonView",children:(0,s.jsx)("button",{className:J().floatingpopsubmitbtn,onClick:function(){r.replace("dashboard/checkinLead")},children:"Go"})})]})]})})})]})};function oe(e,n){(null==n||n>e.length)&&(n=e.length);for(var a=0,s=new Array(n);a<n;a++)s[a]=e[a];return s}function re(e,n,a,s,i,t,o){try{var r=e[t](o),l=r.value}catch(c){return void a(c)}r.done?n(l):Promise.resolve(l).then(s,i)}function le(e){return function(e){if(Array.isArray(e))return oe(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return oe(e,n);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return oe(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ce=function(){var e=(0,k.useRouter)(),n=(0,v.v9)((function(e){var n,a;return null===e||void 0===e||null===(n=e.user)||void 0===n||null===(a=n.user)||void 0===a?void 0:a.uniqueIdentifier})),a=(0,i.useState)([]),t=a[0],r=a[1],c=(0,i.useState)([]),d=c[0],u=c[1],p=(0,v.I0)(),x=(0,i.useState)(!1),g=x[0],f=x[1],j=function(){var e,n=(e=o().mark((function e(){var n,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,p(m.Gg.actions.setLoading()),e.next=4,h.Z.getCounselorSlots({startDate:t[0],endDate:t[6]});case 4:n=e.sent,(a=n.data.map((function(e){return e.slots.length<=2&&e.slots.length>0?e.reason="Only Two Days Slot Open":0===e.totalSlots?e.reason="No Slot Opened":e.totalSlots<10&&(e.reason="Less than 10 slots open"),e})).filter((function(e){return e.reason}))).length>0&&(f(!0),u(a)),p(m.Gg.actions.disableLoading()),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),p(m.Gg.actions.disableLoading()),_.Am.error("".concat(e.t0.response.data?e.t0.response.data.message:"Something went wrong!!"));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})),function(){var n=this,a=arguments;return new Promise((function(s,i){var t=e.apply(n,a);function o(e){re(t,s,i,o,r,"next",e)}function r(e){re(t,s,i,o,r,"throw",e)}o(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,i.useEffect)((function(){"6400520611"!==n&&e.replace({pathname:"/dashboard/dayPlanner"})}),[n]),(0,i.useEffect)((function(){for(var e=le(t),n=0;n<7;n++){var a=l()().add(n,"days").format("L");e.push(a)}r(e)}),[]),(0,i.useEffect)((function(){7==t.length&&"6400520611"===n&&j()}),[t]),(0,s.jsxs)("div",{className:"dashboard_container",children:[(0,s.jsx)("h3",{children:"Management Dashboard"}),g&&(0,s.jsx)("section",{className:"popup",style:{position:"fixed"},children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"containerPopUp",children:[(0,s.jsxs)("div",{className:"popupHeader",children:[(0,s.jsx)("p",{children:"Part Time Counselor Slots Issues"}),(0,s.jsx)("span",{onClick:function(){f(!g)},children:(0,s.jsx)(T.czh,{size:30})})]}),(0,s.jsx)("hr",{className:"popupdivider"}),(0,s.jsx)("div",{className:"popupDetailContainer",children:(0,s.jsx)("div",{className:"popuprow",children:d.map((function(e,n){return(0,s.jsxs)("div",{className:"popupdatarow",children:[(0,s.jsx)("p",{children:e.counselorName}),(0,s.jsx)("p",{children:e.reason})]})}))})})]})})})]})};var de=function(){var e=(0,v.v9)((function(e){var n;return null===(n=e.user.user)||void 0===n?void 0:n.userRole}));return"USER"===e||"CORPORATE"===e?(0,s.jsx)(W,{}):"COUNSELOR"===e?(0,s.jsx)(te,{}):"ADMIN"===e?(0,s.jsx)(w,{}):"CRM"===e?(0,s.jsx)(z.default,{}):"MANAGEMENT"===e?(0,s.jsx)(ce,{}):void 0}},6055:function(e,n,a){"use strict";var s=a(58437),i="user/",t={clientDetail:function(){var e="".concat(i,"clientDetail");return s.Z.get(e,{headers:{authorization:localStorage.getItem("token")}})},saveProfile:function(e){var n="".concat(i,"completeProfile");return s.Z.post(n,e,{headers:{authorization:localStorage.getItem("token")}})},getAvailability:function(e){var n="".concat(i,"getAvailability");return s.Z.post(n,e)},getAvailabilityNew:function(e){var n="".concat(i,"getAvailabilityNew");return s.Z.post(n,e)},bookAppointment:function(e){var n="".concat(i,"bookAppointmentNew");return s.Z.post(n,e,{headers:{authorization:localStorage.getItem("token")}})},getMyProgress:function(e){var n="".concat(i,"myProgress?dataID=").concat(e);return s.Z.get(n,{headers:{authorization:localStorage.getItem("token")}})},getReadingMaterial:function(e){var n="".concat(i,"reading?pageNumber=").concat(e);return s.Z.get(n,{headers:{authorization:localStorage.getItem("token")}})},getMyActivity:function(e){var n="".concat(i,"myActivity?page=").concat(e);return s.Z.get(n,{headers:{authorization:localStorage.getItem("token")}})},cancelAppointment:function(e){var n="".concat(i,"cancelAppointment");return s.Z.put(n,e)},resheduleAppointment:function(e){var n="".concat(i,"rescheduleAppointment");return s.Z.put(n,e)},raiseQuery:function(e){var n="".concat(i,"raiseQuery");return s.Z.post(n,e)},replyQuery:function(e){var n="".concat(i,"replyQuery");return s.Z.put(n,e)},getQueryDetail:function(e){var n="".concat(i,"getQueryDetail?queryID=").concat(e);return s.Z.get(n)},getAllUserQuery:function(){var e="".concat(i,"getAllUserQuery");return s.Z.get(e)},reopenQuery:function(e){var n="".concat(i,"reopenQuery");return s.Z.put(n,e)},closeQuery:function(e){var n="".concat(i,"closeQuery");return s.Z.put(n,e)},getUserDeductionHistory:function(e){var n="".concat(i,"sessionDeductionHistory?page=").concat(e);return s.Z.get(n)},paymentHistory:function(){var e="".concat(i,"paymentHistory");return s.Z.get(e)},updateProfileSettings:function(e){var n="".concat(i,"updateProfile");return s.Z.post(n,e)},addDependent:function(e){var n="".concat(i,"addDependent");return s.Z.post(n,e)},getDependent:function(){var e="".concat(i,"userDependents");return s.Z.get(e)},deleteDependent:function(e){var n="".concat(i,"deleteDependent");return s.Z.post(n,e)},getAppointmentDetail:function(e){var n="".concat(i,"getAppointmentDetail");return s.Z.post(n,e)},sendReferralMail:function(e){var n="".concat(i,"sendReferralMail?refEmail=").concat(e);return s.Z.post(n)},sendReferralSms:function(e){var n="".concat(i,"sendReferralSms?refSms=").concat(e);return s.Z.post(n)},switchCounselor:function(e){var n="".concat(i,"switchCounselor");return s.Z.post(n,e)},userBalWithoutPay:function(e){var n=e.startDate,a=e.endDate,t="".concat(i,"usersWithoutBalance?startDate=").concat(n,"&endDate=").concat(a);return s.Z.get(t)},userLastAppointment:function(e){var n="".concat(i,"lastCompleteAppointment");return s.Z.post(n,e)},updateLastAppointment:function(e){var n="".concat(i,"updateLastAppointment");return s.Z.post(n,e)},updateSkipped:function(e){var n="".concat(i,"isSkipped");return s.Z.put(n,e)},editRefferals:function(e){var n="".concat(i,"referralEdit");return s.Z.put(n,e)},createReferrals:function(e){var n="".concat(i,"referral");return s.Z.post(n,e)},deleteReferrals:function(e){var n="".concat(i,"referralDelete");return s.Z.post(n,e)},clientReferals:function(){var e="".concat(i,"referralDetails");return s.Z.get(e)},redeemSessions:function(e){var n="".concat(i,"redeemReferral");return s.Z.post(n,e)},getStartedCounselor:function(e){var n="".concat(i,"getStartedCounselor");return s.Z.post(n,e)},partTimeAnalyticsTest:function(e){var n="".concat(i,"partTimePerformanceClientsTest");return s.Z.post(n,e)},sendMessage:function(e){var n="".concat(i,"chat");return s.Z.post(n,e)},chatAttachment:function(e,n){var a="".concat(i,"uploadImageChat/").concat(n);return s.Z.post(a,e)},getAllChats:function(e){var n="".concat(i,"chat?userId=").concat(e);return s.Z.get(n,e)},unReadMessages:function(e){var n="".concat(i,"userUnreadChats");return s.Z.get(n,e)},counselorUnreadMessages:function(e){var n="".concat(i,"counselorUnreadChats");return s.Z.get(n,e)},readMessages:function(){var e="".concat(i,"userReadStatusUpdate");return s.Z.post(e)},pendingRecord:function(e){var n="".concat(i,"pendingRecord");return s.Z.post(n,e)}};n.Z=t},27859:function(e){e.exports={lds_ring:"loader_lds_ring__LHo_i"}},95382:function(e){e.exports={dashCont:"adminOverview_dashCont__JwxTM",mainHeading:"adminOverview_mainHeading__hqsBk",appointmentpara:"adminOverview_appointmentpara__7_C68",daterangeButton:"adminOverview_daterangeButton__BXBGK",dateRangeSelector:"adminOverview_dateRangeSelector__PWjrm",main_container:"adminOverview_main_container__TzkBP",card_container:"adminOverview_card_container__sYqC7",card_container1:"adminOverview_card_container1__JvIpQ",second_line:"adminOverview_second_line__ySp6x",inner_content:"adminOverview_inner_content__hGlzN",inner_content1:"adminOverview_inner_content1__qELjT",heading1:"adminOverview_heading1__AonAB",heading2:"adminOverview_heading2__WS9jt",heading3:"adminOverview_heading3__F54cm",heading4:"adminOverview_heading4__zIsio",heading5:"adminOverview_heading5__T7GCv",heading6:"adminOverview_heading6__XfGUW",heading7:"adminOverview_heading7__0vJkE",para1:"adminOverview_para1__G_N_y",subChart:"adminOverview_subChart___6B1V",chart_container:"adminOverview_chart_container__TOv3x",assessMainAdmin:"adminOverview_assessMainAdmin__VVwWV",assBox:"adminOverview_assBox__tN718",paymentMainSection:"adminOverview_paymentMainSection__easMX",payBoxDB:"adminOverview_payBoxDB__NlVgw",leftSideAdm:"adminOverview_leftSideAdm___MpYW",box1:"adminOverview_box1__y7mC6",box2:"adminOverview_box2__iT8t_",box3:"adminOverview_box3__hHbCk",rightSideAdm:"adminOverview_rightSideAdm__2masW",dashGraphBoaRD:"adminOverview_dashGraphBoaRD__XZk6k",leftAdminDash:"adminOverview_leftAdminDash__iIIww",rightAdminDash:"adminOverview_rightAdminDash__oKfoz",counselorActivity:"adminOverview_counselorActivity__d_Z1f",couselorAulis:"adminOverview_couselorAulis__SXUHP",sletdates:"adminOverview_sletdates__EAgRp"}},34408:function(e){e.exports={first:"counselorOverview_first__cCerf",first_para:"counselorOverview_first_para__VahE0",main_container:"counselorOverview_main_container__qmcMH",card_container:"counselorOverview_card_container__j5xjM",inner_content:"counselorOverview_inner_content__VBuM_",card_container1:"counselorOverview_card_container1__wXbHn",task_outer:"counselorOverview_task_outer__1wNWL",task_image:"counselorOverview_task_image__U2LBh",second_line:"counselorOverview_second_line__knv8L",select_time_conDsbrd:"counselorOverview_select_time_conDsbrd__4LQKt",booked:"counselorOverview_booked__vD71_",unbooked:"counselorOverview_unbooked__L58P3",heading1:"counselorOverview_heading1__qiOX3",heading2:"counselorOverview_heading2__E_1FE",heading3:"counselorOverview_heading3__JHMuc",heading4:"counselorOverview_heading4__kf6PG",heading5:"counselorOverview_heading5__UhDvb",heading6:"counselorOverview_heading6__4WTHQ",heading7:"counselorOverview_heading7__C5Ru_",para1:"counselorOverview_para1__Cmh9B",bar1:"c
1ounselorOverview_bar1__JUvxQ",Innerbar1:"counselorOverview_Innerbar1__bCeDF",select_date:"counselorOverview_select_date___PVt8",date:"counselorOverview_date__hhV_j",para_date:"counselorOverview_para_date__hol1g",selected:"counselorOverview_selected__Givrs",heading_date:"counselorOverview_heading_date__fQpX6",second_line1:"counselorOverview_second_line1__5OlM_",clientInput:"counselorOverview_clientInput__GdGqN",clientLabel:"counselorOverview_clientLabel__KRRDC",clientLabel1:"counselorOverview_clientLabel1__6o_FW",second_line2:"counselorOverview_second_line2__1zPbc",horizontalLine:"counselorOverview_horizontalLine__0idlS",Appointment_Details:"counselorOverview_Appointment_Details__K02ee",Appointment_para:"counselorOverview_Appointment_para__qXOwu",Appointment_para1:"counselorOverview_Appointment_para1__etCTD",second_line3:"counselorOverview_second_line3__w8ILi",details:"counselorOverview_details__YsuPK",details2:"counselorOverview_details2__5e_VN",details3:"counselorOverview_details3__Niwqc",upcoming1:"counselorOverview_upcoming1__iJT2O",first2:"counselorOverview_first2__STTXR",upcoming:"counselorOverview_upcoming__gRw_T",Upcoming_Appointments:"counselorOverview_Upcoming_Appointments__sY72W",Pending_Record:"counselorOverview_Pending_Record__GHPeM",upcoming_details1:"counselorOverview_upcoming_details1__ICuzV",appointmenttest_myUpdate:"counselorOverview_appointmenttest_myUpdate__6mhE5",upcoming_details:"counselorOverview_upcoming_details__juM0u",upcoming_main:"counselorOverview_upcoming_main__VqLUR",upcoming2:"counselorOverview_upcoming2__euV5K",upcomingpara:"counselorOverview_upcomingpara__Yx23J",upcomingdetails:"counselorOverview_upcomingdetails__2gmny",upcomingimage:"counselorOverview_upcomingimage__l85qs",upcomingname:"counselorOverview_upcomingname__W8hTe",upcomingbutton:"counselorOverview_upcomingbutton__J6Cno",btn1:"counselorOverview_btn1__hnJpz",btn2:"counselorOverview_btn2__aiIM1",upcomingpara1:"counselorOverview_upcomingpara1__DYSLP",Upcomingdetails4:"counselorOverview_Upcomingdetails4__8n7v_",Upcomingdetails5:"counselorOverview_Upcomingdetails5__xkyvJ",btn3:"counselorOverview_btn3__k8neU",btn5:"counselorOverview_btn5__1WZBj",cancelbtn:"counselorOverview_cancelbtn__Mhou4",btn4:"counselorOverview_btn4__iJj3A",myupdates1:"counselorOverview_myupdates1__i56EP",mydetailspara:"counselorOverview_mydetailspara__Htv8H",myupdates:"counselorOverview_myupdates__iky1I",mydetailsSub:"counselorOverview_mydetailsSub__n8Exj",pendingrecords:"counselorOverview_pendingrecords__bPmwZ",upcoming_details22:"counselorOverview_upcoming_details22__9184h",pending1:"counselorOverview_pending1__9cBNO",pending11:"counselorOverview_pending11__Wwriv",pending22:"counselorOverview_pending22__xiVJi",pending2:"counselorOverview_pending2__8FNAq",pendingrecords1:"counselorOverview_pendingrecords1__f4diN",emptyappointment:"counselorOverview_emptyappointment__rReT2",nocase_heading:"counselorOverview_nocase_heading__DwFlO",appointmenttest:"counselorOverview_appointmenttest__KPxMq",myupdate_list:"counselorOverview_myupdate_list__dXFVW",lestBtnUpdate:"counselorOverview_lestBtnUpdate__I0v7m",viewBtnUpdate:"counselorOverview_viewBtnUpdate__XMzQm",floatingpopsubmitbtn:"counselorOverview_floatingpopsubmitbtn__KxIz0",floatingpopsubmitbtnDis:"counselorOverview_floatingpopsubmitbtnDis__gZI2_",popButtonView:"counselorOverview_popButtonView__aKQ5E",dangerText:"counselorOverview_dangerText__ZHccm",lightText:"counselorOverview_lightText__LXY9b",errorText:"counselorOverview_errorText__URlaE",alertText:"counselorOverview_alertText__BiLcM",recordContainer:"counselorOverview_recordContainer__pD3kO",commentDetail:"counselorOverview_commentDetail__8SGvF",label:"counselorOverview_label__LGOdD",inputWrapper:"counselorOverview_inputWrapper__SZJxO",input:"counselorOverview_input__dfPva",counter:"counselorOverview_counter__VD1V_",errorReason:"counselorOverview_errorReason__wDNnb",inner_content1:"counselorOverview_inner_content1__vyuBb"}},44607:function(e){e.exports={userdash:"useroverview_userdash__aJ8UZ",booking_card:"useroverview_booking_card__n8YdD",booking_main:"useroverview_booking_main__8X_Nb",booking_left:"useroverview_booking_left__2jmwz",left_content:"useroverview_left_content__fCUgB",left_content1:"useroverview_left_content1__RLZLp",left_content2:"useroverview_left_content2__2D0lz",booking_right:"useroverview_booking_right____IMP",booking_content:"useroverview_booking_content__NmPCA",booking_appointment:"useroverview_booking_appointment__uN1mJ",layout_image:"useroverview_layout_image__4R75_",task_outer:"useroverview_task_outer__cjljF",task_image:"useroverview_task_image__6IXS5",appo_left:"useroverview_appo_left__3c9cz",appo_right:"useroverview_appo_right__Mx9g3",popsubmitbtndisable:"useroverview_popsubmitbtndisable__X6HHC",checkbox_outer:"useroverview_checkbox_outer__3TF_Q",noUpdates:"useroverview_noUpdates__oKSBT",heading:"useroverview_heading__mfMDK",appo_list_right:"useroverview_appo_list_right__HAnYg",appo_content:"useroverview_appo_content__p5NBa",mainDashBoardApp:"useroverview_mainDashBoardApp__ssXfi",detail_card:"useroverview_detail_card__jjpHw",detail
1:"useroverview_detail__VZLic",detail_content:"useroverview_detail_content__5sCMm",stars_image:"useroverview_stars_image__X1JIB",booking_feedback:"useroverview_booking_feedback__2wVqP",feedback_first:"useroverview_feedback_first__Sgnmc",second_image:"useroverview_second_image__r0Nig",feedback_third:"useroverview_feedback_third__NSW_J",feedback_second:"useroverview_feedback_second__U_ip_",second_main:"useroverview_second_main__6QRVw",second_content:"useroverview_second_content__HRG14",review_image:"useroverview_review_image__SOWdF",review_contenttext:"useroverview_review_contenttext__5GQ_s",booking_review:"useroverview_booking_review___ghBN",review_content:"useroverview_review_content__ue2lp",booking_upcomming:"useroverview_booking_upcomming__kkxQH",upcome_image:"useroverview_upcome_image__3nOII",empty:"useroverview_empty__jl_Ww",empty_button:"useroverview_empty_button__RFAGp",no_appointment:"useroverview_no_appointment__kLVkt",appo_list:"useroverview_appo_list__qn_Sf",noAppoint:"useroverview_noAppoint__HCOtl",is_low:"useroverview_is_low__1QBJq",appointment_buttons:"useroverview_appointment_buttons__GW20_",userApttext:"useroverview_userApttext__TPfNq",appcondition:"useroverview_appcondition__SR6Sn",dash_balMain:"useroverview_dash_balMain__anAyA",left_bookSessionBtn:"useroverview_left_bookSessionBtn__wWXSh",right_sessionsBalDas:"useroverview_right_sessionsBalDas__nh86h",session_BalBox:"useroverview_session_BalBox__v2BbJ",self_help_main:"useroverview_self_help_main__k3cxB",left_selfHelp:"useroverview_left_selfHelp__e3pDg",right_selfHelp:"useroverview_right_selfHelp__VD8Xe",isSkippedDetail:"useroverview_isSkippedDetail__LTSgv",isSkippedFooter:"useroverview_isSkippedFooter__wBtJy",popupContainer:"useroverview_popupContainer__YGd_g",userReviewsMainDash:"useroverview_userReviewsMainDash__T_TzZ",reviewMainDashCon:"useroverview_reviewMainDashCon__x4kJq",reviewMainLeft:"useroverview_reviewMainLeft__YT1nn",reviewMainRight:"useroverview_reviewMainRight___OIA7",topHeadingMain:"useroverview_topHeadingMain___UwtA",userBalMain:"useroverview_userBalMain__R_o32",bookingCardButton:"useroverview_bookingCardButton__r0n0_",user_dashboardLeftSection:"useroverview_user_dashboardLeftSection__PxadG",sessionDetailsBalanceMain:"useroverview_sessionDetailsBalanceMain__o_HL_",session_BalBoxCorporate:"useroverview_session_BalBoxCorporate__GuMsJ",bookingCardIndBal:"useroverview_bookingCardIndBal__qrSKO",bookingCardCupBal:"useroverview_bookingCardCupBal__idRMb",bookingCardConBal:"useroverview_bookingCardConBal__zyxL9",bookingCardSelfBal:"useroverview_bookingCardSelfBal__cJ_F_",user_dashboardRightSection:"useroverview_user_dashboardRightSection__W4FG2",updateSection:"useroverview_updateSection__HYEgU",bookingAppointmentButton:"useroverview_bookingAppointmentButton__t_Wul",leftBookingAppointmentText:"useroverview_leftBookingAppointmentText__4Qefd",bookSlotUpdateMain:"useroverview_bookSlotUpdateMain__ojTdD",selfHelpUserBoard:"useroverview_selfHelpUserBoard__6YLxS",myUpdateAllNewMain:"useroverview_myUpdateAllNewMain__G8NLT",myUpdatesMainHeading:"useroverview_myUpdatesMainHeading__5pokW",userDashboardReviewsMain:"useroverview_userDashboardReviewsMain__HHIsO",reviewsMainCard:"useroverview_reviewsMainCard__5GlBD",reviewsLeftMainCon:"useroverview_reviewsLeftMainCon__gNd9b",updateSection1:"useroverview_updateSection1__v8045",updateListMain:"useroverview_updateListMain__M9n4M",iconUpdateList:"useroverview_iconUpdateList__RRXbx",contentUpdateList:"useroverview_contentUpdateList__ieRFv",newAddOnUpdateMain:"useroverview_newAddOnUpdateMain__DXTG9",leftNewUpdate:"useroverview_leftNewUpdate__sHEE_",rightNewUpdate:"useroverview_rightNewUpdate__hQIou",iconUpdateList1:"useroverview_iconUpdateList1__cZ6d0",sessionNoteUpdateMain:"useroverview_sessionNoteUpdateMain__onlk_",userBalMainContainer:"useroverview_userBalMainContainer__0ZClj",boxBal_1:"useroverview_boxBal_1__dqY5u",iconBal_1:"useroverview_iconBal_1__t67oo",contBal_1:"useroverview_contBal_1__gXPkU",userAppotMainContainer:"useroverview_userAppotMainContainer__r7bYL",left_UserMainContainer:"useroverview_left_UserMainContainer__1ua44",userAppCardMain:"useroverview_userAppCardMain__lkX1A",appo_left2:"useroverview_appo_left2__2Mbtw",right_UserMainContainer:"useroverview_right_UserMainContainer__Ya0Wg",userNewUpdateListMainBetlf:"useroverview_userNewUpdateListMainBetlf__Llrpm",userNewUpdateListMainBetlf2:"useroverview_userNewUpdateListMainBetlf2__2vhaC",userNotifyUpdateMain:"useroverview_userNotifyUpdateMain__6EFdi",coupon_row:"useroverview_coupon_row__AGTCc",cpnCode:"useroverview_cpnCode__O7KP0",cpnBtn:"useroverview_cpnBtn__5ZWG9",dashCard2:"useroverview_dashCard2__modwg",cardHeader:"useroverview_cardHeader__I49Ka",leftImag:"useroverview_leftImag__Ra_zc",rightCont:"useroverview_rightCont__8tWIe",iconModeT:"useroverview_iconModeT__6e65_",iconMain:"useroverview_iconMain__1Vr1x",cardBody:"useroverview_cardBody__UaHto",listTag:"useroverview_listTag__lQK7n",listLang:"useroverview_listLang__zsI4_",listTypes:"useroverview_listTypes__KcTpg",viewBtnCon:"useroverview_viewBtnCon__tf_lF",bookBtnDash:"useroverview_bookBtnDash__izIwQ",updateListDashMain:"useroverview_updateListDashMain__9G_wk",userNewUpdateListMainBetlf5:"useroverview_userNewUpdateListMainBetlf5__XCvx5",userNewUpdateListMainBetlf6:"useroverview_userNewUpdateListMainBetlf6__EY1Hd",attachCounsellorCard:"useroverview_attachCounsellorCard__cIrFP",attachCardMain:"useroverview_attachCardMain__rPqIj",userTestominalsMainContianer:"useroverview_userTestominalsMainContianer__3yYMN",userDetailsModeContainer:"useroverview_userDetailsModeContainer__kR_ur",leftCardDetail
1sUserMain:"useroverview_leftCardDetailsUserMain__mrAee",rightCardOfferNewUpdateMain:"useroverview_rightCardOfferNewUpdateMain__wTKh3",appiontCartViewMain:"useroverview_appiontCartViewMain__r4Wf3",upcommingHeader:"useroverview_upcommingHeader__48DBg",counImageIcon:"useroverview_counImageIcon__W7bSZ",counContentText:"useroverview_counContentText__NN7A9",userCardDetailsMain:"useroverview_userCardDetailsMain__A_T_q",aptReschbtn:"useroverview_aptReschbtn__OBVcU",aptReschbtnCancel:"useroverview_aptReschbtnCancel__cXuZV",cardAppDetailsMainDe:"useroverview_cardAppDetailsMainDe___xHfM",userUpdateMainSectionCont:"useroverview_userUpdateMainSectionCont__vnvDT",leftUserNewUpdateBetterlyf:"useroverview_leftUserNewUpdateBetterlyf__BdaFH",rightUserNewUpdateBetterlyf:"useroverview_rightUserNewUpdateBetterlyf__7bvQ4",textHeaderUpdate:"useroverview_textHeaderUpdate__TCuC_",viewAllUpdateListbtn:"useroverview_viewAllUpdateListbtn__aTSHe",clientLogo:"useroverview_clientLogo__bmXoN",reschuldepopup:"useroverview_reschuldepopup__93rl4",reschuldepopuptext:"useroverview_reschuldepopuptext__luo8b",updateCont:"useroverview_updateCont__pIr5y",dashboard_container:"useroverview_dashboard_container__9_sBh",topLeftHeading:"useroverview_topLeftHeading__e_8__",topRighttHeading:"useroverview_topRighttHeading__If8Y1",userdash_main:"useroverview_userdash_main__ThqNr"}},64055:function(){},41059:function(){}},function(e){e.O(0,[4980,955,2501,7553,6893,286,7729,1976,1970,9774,2888,179],(function(){return n=26117,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.