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AI,SAAStG,MAAO,IAAKP,OAAQ,YAIzE","sources":["webpack://_N_E/?44e5","webpack://_N_E/./app/services/api.js","webpack://_N_E/./app/services/auth.service.js","webpack://_N_E/./app/services/booking.service.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/LeftCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/LeftCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/MenuOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/RightOutlined.js","webpack://_N_E/./node_modules/antd/es/divider/style/index.js","webpack://_N_E/./node_modules/antd/es/divider/index.js","webpack://_N_E/./app/components/HomeHeader2.jsx","webpack://_N_E/./app/components/LoadingScreen.jsx","webpack://_N_E/./app/components/Modals.jsx","webpack://_N_E/./app/components/PracticeCard.jsx","webpack://_N_E/./app/components/PriceTier.jsx","webpack://_N_E/./app/contexts/AuthProvider.jsx","webpack://_N_E/./app/contexts/MembershipProvider.jsx","webpack://_N_E/./app/contexts/PreviousPathContext.jsx","webpack://_N_E/./app/patient/membership/page.jsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src3441668444/src/Dinma-webapp-frontend/app/patient/membership/page.jsx\");\n","import axios from \"axios\";\n\nexport const api = axios.create({\n baseURL: process.env.NEXT_PUBLIC_API_URL ?? \"http://localhost:4000\",\n headers: { \"Content-Type\": \"application/json\" },\n});\n\nexport const setAuthorizationToken = (token) => {\n api.defaults.headers.common.Authorization = `JWT ${token}`;\n};\n\nexport const noAuthApi = axios.create({\n baseURL: process.env.NEXT_PUBLIC_API_URL ?? \"http://localhost:4000\",\n headers: { \"Content-Type\": \"application/json\" },\n});\n","import { api, noAuthApi, setAuthorizationToken } from \"./api\";\nimport { endpoints } from \"../resources/resources\";\nimport { AUTH_TOKEN_KEY } from \"../resources/resources\";\n\nexport class AuthService {\n static async createPractitioner(formData) {\n const res = await noAuthApi.post(\n endpoints.auth.onboardPractitioner,\n formData\n );\n if (res.data.status === true) {\n localStorage.setItem(AUTH_TOKEN_KEY, res.data.data.token);\n setAuthorizationToken(res.data.data.token);\n return res;\n }\n return res;\n }\n\n static async createPatient(formData) {\n const res = await noAuthApi.post(endpoints.auth.onboardPatient, formData);\n if (res.data.status === true) {\n localStorage.setItem(AUTH_TOKEN_KEY, res.data.data.token);\n setAuthorizationToken(res.data.data.token);\n return res;\n }\n return res;\n }\n\n static async loginUser(email, password) {\n const res = await noAuthApi.post(endpoints.auth.loginUser, {\n email,\n password,\n });\n\n if (res.data.status === \"success\") {\n localStorage.setItem(AUTH_TOKEN_KEY, res.data.data.token);\n setAuthorizationToken(res.data.data.token);\n }\n\n return res;\n }\n\n static async createTempUser(formData) {\n const res = await noAuthApi.post(endpoints.auth.createTempUser, formData);\n return res;\n }\n\n static async createTempPatient(formData) {\n const res = await noAuthApi.post(\n endpoints.auth.createTempPatient,\n formData\n );\n return res;\n }\n\n static async verifyEmail(formData) {\n const res = await noAuthApi.post(endpoints.auth.sendOTP, formData);\n return res;\n }\n\n static async confirmEmail(formData) {\n const res = await noAuthApi.post(endpoints.auth.validateOTP, formData);\n return res;\n }\n\n static async validatePmMethod(formData) {\n const res = await noAuthApi.post(endpoints.auth.verifyPmMethod, formData);\n return res;\n }\n\n static async stripeOnboarding(formData) {\n const res = await api.post(endpoints.auth.stripeOnboarding, formData);\n return res;\n }\n\n static async stripeUpdate(formData) {\n const res = await api.put(endpoints.auth.stripeUpdate, formData);\n return res;\n }\n\n static async saveProviderBankAccount(formData) {\n const res = await api.post(endpoints.auth.bankAccount, formData);\n return res;\n }\n\n static async requestPasswordOTP(formData) {\n const res = await noAuthApi.post(\n endpoints.auth.sendForgotPasswordOTP,\n formData\n );\n return res;\n }\n\n static async resetPassword(formData) {\n const res = await noAuthApi.post(\n endpoints.auth.resetForgotPassword,\n formData\n );\n return res;\n }\n\n static async getAuthenticatedPatient() {\n const res = await api.get(endpoints.auth.getAuthPatient);\n return res;\n }\n\n static async requestMembership(formdata) {\n const res = await noAuthApi.post(\n endpoints.auth.requestMembership,\n formdata\n );\n return res;\n }\n\n static async newOnboardPatient(formdata) {\n const res = await noAuthApi.post(\n endpoints.auth.newOnboardPatient,\n formdata\n );\n return res;\n }\n\n static async editOnboardPatientProfile(formdata, email) {\n const res = await noAuthApi.put(\n endpoints.auth.editOnboardingProfile +\n `?email=${encodeURIComponent(email)}`,\n formdata\n );\n return res;\n }\n\n static async getProviderInsurance() {\n const data = await noAuthApi.get(endpoints.booking.getAllInsuranceList);\n return data;\n }\n\n static async getOnboardingPatientDetail(userId) {\n const data = await noAuthApi.get(\n endpoints.auth.getNewPatientDetail + `?id=${encodeURIComponent(userId)}`\n );\n return data;\n }\n\n static async getListOfPractices() {\n const data = await noAuthApi.get(endpoints.dashboard.getListOfPractices);\n return data;\n }\n\n static async filterPractice(membership_type, practice_id) {\n const res = await noAuthApi.get(\n endpoints.auth.filterPractice +\n `?membership_type=${encodeURIComponent(\n membership_type ? membership_type : \"\"\n )}&practice_id=${encodeURIComponent(practice_id ? practice_id : \"\")}`\n );\n return res;\n }\n}\n","import { api, noAuthApi } from \"../services/api\";\nimport { endpoints } from \"../resources/resources\";\n\nexport class BookingService {\n static async getGeneralBookingDetails() {\n const data = await api.get(endpoints.booking.getGeneralBookingDetails);\n return data;\n }\n\n static async makeBookingRequest(formData) {\n const data = await api.post(endpoints.booking.bookingRequest, formData);\n return data;\n }\n\n static async adminMakeBookingRequest(patientId, formData) {\n const data = await api.post(\n endpoints.admin.bookingRequest +\n `?patient_id=${encodeURIComponent(patientId)}`,\n formData\n );\n return data;\n }\n\n static async getPatientAndProvidderDetailsWithBookingId(id) {\n const data = await api.get(\n `${\n endpoints.booking.getProviderAndPatientDetailsFromBooingId\n }?id=${encodeURIComponent(id)}`\n );\n return data;\n }\n\n static async homePageBooking(formData) {\n const data = await noAuthApi.post(\n endpoints.booking.getProvidersBasedOnCareTimeframe,\n formData\n );\n return data;\n }\n\n static async directBooking(formData) {\n const data = await noAuthApi.post(\n endpoints.booking.getProviderBasedOnCareTimeframe,\n formData\n );\n return data;\n }\n\n static async getOthersBooking(formData) {\n const data = await noAuthApi.post(\n endpoints.booking.getOtherProvidersBasedOnCareTimeframe,\n formData\n );\n return data;\n }\n\n static async editPatientAddress(formData) {\n const data = await api.put(endpoints.booking.editAddress, formData);\n return data;\n }\n\n static async verifyStripePaymentMethod() {\n const data = await api.get(endpoints.booking.verifyStripePaymentMethod);\n return data;\n }\n\n static async getProviderInsurance() {\n const data = await api.get(endpoints.booking.getAllInsuranceList);\n return data;\n }\n\n static async finalizeBooking(formData) {\n const data = await api.put(endpoints.booking.finalizeBooking, formData);\n return data;\n }\n\n static async adminFinalizeBooking(patientID, formData) {\n const data = await api.put(\n endpoints.admin.finalizeBooking +\n `?patient_id=${encodeURIComponent(patientID)}`,\n formData\n );\n return data;\n }\n\n static async careHasBeenCompleted(formData) {\n const data = await api.post(endpoints.booking.makePayment, formData);\n return data;\n }\n\n static async validateBookingInsurance() {\n const data = await api.get(endpoints.booking.validateBookingInsurance);\n return data;\n }\n\n static async adminValidateBookingInsurance(patientId) {\n const data = await api.get(\n endpoints.admin.validateBooking +\n `?patient_id=${encodeURIComponent(patientId)}`\n );\n return data;\n }\n\n static async adminValidateStripePaymentMethod(patientId) {\n const data = await api.get(\n endpoints.admin.verifyStripePaymentMethod +\n `?patient_id=${encodeURIComponent(patientId)}`\n );\n return data;\n }\n}\n","// This icon file is generated automatically.\nvar LeftCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"left-circle\", \"theme\": \"outlined\" };\nexport default LeftCircleOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftCircleOutlined = function LeftCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftCircleOutlinedSvg\n }));\n};\n\n/**![left-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwMy4zIDMyNy41bC0yNDYgMTc4YTcuOTUgNy45NSAwIDAwMCAxMi45bDI0NiAxNzhjNS4zIDMuOCAxMi43IDAgMTIuNy02LjVWNjQzYzAtMTAuMi00LjktMTkuOS0xMy4yLTI1LjlMNDU3LjQgNTEybDE0NS40LTEwNS4yYzguMy02IDEzLjItMTUuNiAxMy4yLTI1LjlWMzM0YzAtNi41LTcuNC0xMC4zLTEyLjctNi41eiIgLz48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftCircleOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar LeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z\" } }] }, \"name\": \"left\", \"theme\": \"outlined\" };\nexport default LeftOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftOutlinedSvg\n }));\n};\n\n/**![left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcyNCAyMTguM1YxNDFjMC02LjctNy43LTEwLjQtMTIuOS02LjNMMjYwLjMgNDg2LjhhMzEuODYgMzEuODYgMCAwMDAgNTAuM2w0NTAuOCAzNTIuMWM1LjMgNC4xIDEyLjkuNCAxMi45LTYuM3YtNzcuM2MwLTQuOS0yLjMtOS42LTYuMS0xMi42bC0zNjAtMjgxIDM2MC0yODEuMWMzLjgtMyA2LjEtNy43IDYuMS0xMi42eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar MenuOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"menu\", \"theme\": \"outlined\" };\nexport default MenuOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MenuOutlinedSvg from \"@ant-design/icons-svg/es/asn/MenuOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MenuOutlined = function MenuOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MenuOutlinedSvg\n }));\n};\n\n/**![menu](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkwNCAxNjBIMTIwYy00LjQgMC04IDMuNi04IDh2NjRjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTY0YzAtNC40LTMuNi04LTgtOHptMCA2MjRIMTIwYy00LjQgMC04IDMuNi04IDh2NjRjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTY0YzAtNC40LTMuNi04LTgtOHptMC0zMTJIMTIwYy00LjQgMC04IDMuNi04IDh2NjRjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTY0YzAtNC40LTMuNi04LTgtOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MenuOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MenuOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar RightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z\" } }] }, \"name\": \"right\", \"theme\": \"outlined\" };\nexport default RightOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\n\n/**![right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2NS43IDQ4Ni44TDMxNC45IDEzNC43QTcuOTcgNy45NyAwIDAwMzAyIDE0MXY3Ny4zYzAgNC45IDIuMyA5LjYgNi4xIDEyLjZsMzYwIDI4MS4xLTM2MCAyODEuMWMtMy45IDMtNi4xIDcuNy02LjEgMTIuNlY4ODNjMCA2LjcgNy43IDEwLjQgMTIuOSA2LjNsNDUwLjgtMzUyLjFhMzEuOTYgMzEuOTYgMCAwMDAtNTAuNHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RightOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RightOutlined';\n}\nexport default RefIcon;","import { unit } from '@ant-design/cssinjs';\nimport { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\n// ============================== Shared ==============================\nconst genSharedDividerStyle = token => {\n const {\n componentCls,\n sizePaddingEdgeHorizontal,\n colorSplit,\n lineWidth,\n textPaddingInline,\n orientationMargin,\n verticalMarginInline\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n borderBlockStart: `${unit(lineWidth)} solid ${colorSplit}`,\n // vertical\n '&-vertical': {\n position: 'relative',\n top: '-0.06em',\n display: 'inline-block',\n height: '0.9em',\n marginInline: verticalMarginInline,\n marginBlock: 0,\n verticalAlign: 'middle',\n borderTop: 0,\n borderInlineStart: `${unit(lineWidth)} solid ${colorSplit}`\n },\n '&-horizontal': {\n display: 'flex',\n clear: 'both',\n width: '100%',\n minWidth: '100%',\n // Fix https://github.com/ant-design/ant-design/issues/10914\n margin: `${unit(token.dividerHorizontalGutterMargin)} 0`\n },\n [`&-horizontal${componentCls}-with-text`]: {\n display: 'flex',\n alignItems: 'center',\n margin: `${unit(token.dividerHorizontalWithTextGutterMargin)} 0`,\n color: token.colorTextHeading,\n fontWeight: 500,\n fontSize: token.fontSizeLG,\n whiteSpace: 'nowrap',\n textAlign: 'center',\n borderBlockStart: `0 ${colorSplit}`,\n '&::before, &::after': {\n position: 'relative',\n width: '50%',\n borderBlockStart: `${unit(lineWidth)} solid transparent`,\n // Chrome not accept `inherit` in `border-top`\n borderBlockStartColor: 'inherit',\n borderBlockEnd: 0,\n transform: 'translateY(50%)',\n content: \"''\"\n }\n },\n [`&-horizontal${componentCls}-with-text-left`]: {\n '&::before': {\n width: `calc(${orientationMargin} * 100%)`\n },\n '&::after': {\n width: `calc(100% - ${orientationMargin} * 100%)`\n }\n },\n [`&-horizontal${componentCls}-with-text-right`]: {\n '&::before': {\n width: `calc(100% - ${orientationMargin} * 100%)`\n },\n '&::after': {\n width: `calc(${orientationMargin} * 100%)`\n }\n },\n [`${componentCls}-inner-text`]: {\n display: 'inline-block',\n paddingBlock: 0,\n paddingInline: textPaddingInline\n },\n '&-dashed': {\n background: 'none',\n borderColor: colorSplit,\n borderStyle: 'dashed',\n borderWidth: `${unit(lineWidth)} 0 0`\n },\n [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: {\n '&::before, &::after': {\n borderStyle: 'dashed none none'\n }\n },\n [`&-vertical${componentCls}-dashed`]: {\n borderInlineStartWidth: lineWidth,\n borderInlineEnd: 0,\n borderBlockStart: 0,\n borderBlockEnd: 0\n },\n '&-dotted': {\n background: 'none',\n borderColor: colorSplit,\n borderStyle: 'dotted',\n borderWidth: `${unit(lineWidth)} 0 0`\n },\n [`&-horizontal${componentCls}-with-text${componentCls}-dotted`]: {\n '&::before, &::after': {\n borderStyle: 'dotted none none'\n }\n },\n [`&-vertical${componentCls}-dotted`]: {\n borderInlineStartWidth: lineWidth,\n borderInlineEnd: 0,\n borderBlockStart: 0,\n borderBlockEnd: 0\n },\n [`&-plain${componentCls}-with-text`]: {\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.fontSize\n },\n [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: {\n '&::before': {\n width: 0\n },\n '&::after': {\n width: '100%'\n },\n [`${componentCls}-inner-text`]: {\n paddingInlineStart: sizePaddingEdgeHorizontal\n }\n },\n [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: {\n '&::before': {\n width: '100%'\n },\n '&::after': {\n width: 0\n },\n [`${componentCls}-inner-text`]: {\n paddingInlineEnd: sizePaddingEdgeHorizontal\n }\n }\n })\n };\n};\nexport const prepareComponentToken = token => ({\n textPaddingInline: '1em',\n orientationMargin: 0.05,\n verticalMarginInline: token.marginXS\n});\n// ============================== Export ==============================\nexport default genStyleHooks('Divider', token => {\n const dividerToken = mergeToken(token, {\n dividerHorizontalWithTextGutterMargin: token.margin,\n dividerHorizontalGutterMargin: token.marginLG,\n sizePaddingEdgeHorizontal: 0\n });\n return [genSharedDividerStyle(dividerToken)];\n}, prepareComponentToken, {\n unitless: {\n orientationMargin: true\n }\n});","\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nconst Divider = props => {\n const {\n getPrefixCls,\n direction,\n divider\n } = React.useContext(ConfigContext);\n const {\n prefixCls: customizePrefixCls,\n type = 'horizontal',\n orientation = 'center',\n orientationMargin,\n className,\n rootClassName,\n children,\n dashed,\n variant = 'solid',\n plain,\n style\n } = props,\n restProps = __rest(props, [\"prefixCls\", \"type\", \"orientation\", \"orientationMargin\", \"className\", \"rootClassName\", \"children\", \"dashed\", \"variant\", \"plain\", \"style\"]);\n const prefixCls = getPrefixCls('divider', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const hasChildren = !!children;\n const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;\n const hasCustomMarginRight = orientation === 'right' && orientationMargin != null;\n const classString = classNames(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, cssVarCls, `${prefixCls}-${type}`, {\n [`${prefixCls}-with-text`]: hasChildren,\n [`${prefixCls}-with-text-${orientation}`]: hasChildren,\n [`${prefixCls}-dashed`]: !!dashed,\n [`${prefixCls}-${variant}`]: variant !== 'solid',\n [`${prefixCls}-plain`]: !!plain,\n [`${prefixCls}-rtl`]: direction === 'rtl',\n [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft,\n [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight\n }, className, rootClassName);\n const memoizedOrientationMargin = React.useMemo(() => {\n if (typeof orientationMargin === 'number') {\n return orientationMargin;\n }\n if (/^\\d+$/.test(orientationMargin)) {\n return Number(orientationMargin);\n }\n return orientationMargin;\n }, [orientationMargin]);\n const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && {\n marginLeft: memoizedOrientationMargin\n }), hasCustomMarginRight && {\n marginRight: memoizedOrientationMargin\n });\n // Warning children not work in vertical mode\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Divider');\n process.env.NODE_ENV !== \"production\" ? warning(!children || type !== 'vertical', 'usage', '`children` not working in `vertical` mode.') : void 0;\n }\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({\n className: classString,\n style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style)\n }, restProps, {\n // biome-ignore lint/a11y/useAriaPropsForRole: divider do not need aria-value\n role: \"separator\"\n }), children && type !== 'vertical' && (/*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-inner-text`,\n style: innerStyle\n }, children))));\n};\nif (process.env.NODE_ENV !== 'production') {\n Divider.displayName = 'Divider';\n}\nexport default Divider;","\"use client\";\n\nimport { CloseOutlined, MenuOutlined } from \"@ant-design/icons\";\nimport Image from \"next/image\";\nimport Link from \"next/link\";\nimport { usePathname } from \"next/navigation\";\nimport { usePreviousPath } from \"../contexts/PreviousPathContext\";\nimport { useState } from \"react\";\nconst HomeHeader2 = () => {\n const [mobileNav, setMobileNav] = useState(false);\n const {\n previousPath,\n setPreviousPath\n } = usePreviousPath();\n const pathname = usePathname();\n const handlePrevPath = () => {\n setPreviousPath(pathname);\n };\n const toggleNav = () => {\n setMobileNav(!mobileNav);\n };\n return
\n
\n
\n \n \"dinma\n \n \n
\n {mobileNav ? : }\n
\n {mobileNav ? : \"\"}\n
\n
\n
;\n};\nexport default HomeHeader2;","import React from \"react\";\nimport { Spin } from \"antd\";\nexport const LoadingScreen = () => {\n return
\n \n
;\n};","\"use client\";\n\nimport { Button, Drawer, Space, Modal } from \"antd\";\nimport { useAuth } from \"../contexts/AuthProvider\";\nexport const info = (title, content, handleOk) => {\n Modal.info({\n title: title,\n content:
\n

{content}

\n
,\n onOk: handleOk,\n centered: true\n });\n};\nexport const success = (title, content, handleOk) => {\n Modal.success({\n title: title,\n content: content,\n onOk: handleOk,\n centered: true\n });\n};\nexport const error = (title, content, handleOk) => {\n Modal.error({\n title: title,\n content: content,\n onOk: handleOk,\n centered: true\n });\n};\nexport const warning = (title, content, handleOk) => {\n Modal.warning({\n title: title,\n content: content,\n onOk: handleOk,\n centered: true\n });\n};\nexport const GlobalModal = ({\n open,\n handleOk,\n handleCancel,\n title,\n content,\n okText,\n confirmLoading,\n cancelButtonProps,\n width,\n footer\n}) => {\n return <>\n {footer ? \n {content}\n : \n {content}\n }\n ;\n};\nexport const GlobalDrawer = ({\n open,\n close,\n children,\n title\n}) => {\n return <>\n \n \n } data-sentry-element=\"Drawer\" data-sentry-source-file=\"Modals.jsx\">\n
\n {children}\n
\n
\n ;\n};","const PracticeCard = ({\n practiceName,\n children,\n price,\n onClick\n}) => {\n return
\n
\n {practiceName}\n ${price}\n
\n
\n \n Provider\n \n \n \n
\n
\n {children}\n
\n
;\n};\nexport default PracticeCard;","import Image from \"next/image\";\nimport { useMembership } from \"../contexts/MembershipProvider\";\nimport { Divider } from \"antd\";\nimport { useState } from \"react\";\nconst PriceTier = ({\n handleNext,\n tiers\n}) => {\n const [stickBgColor, setStickBgColor] = useState({\n one: false,\n two: false,\n three: false,\n four: false\n });\n const {\n setSelectedTier\n } = useMembership();\n const handleClick = num => {\n switch (true) {\n case num === 1:\n setSelectedTier(tiers?.single_member ? \"single_member\" : \"insured_single_member\");\n setStickBgColor(prev => ({\n ...prev,\n one: true,\n two: false,\n three: false,\n four: false\n }));\n return;\n case num === 2:\n setSelectedTier(tiers?.family_2_members ? \"family_2_members\" : \"insured_family_2_members\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: true,\n three: false,\n four: false\n }));\n return;\n case num === 3:\n setSelectedTier(tiers?.family_3_members ? \"family_3_members\" : \"insured_family_3_members\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: false,\n three: true,\n four: false\n }));\n return;\n case num === 4:\n setSelectedTier(tiers?.family_4_members_plus ? \"family_4_members_plus\" : \"insured_family_4_members_plus\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: false,\n three: false,\n four: true\n }));\n return;\n default:\n null;\n return;\n }\n };\n return
\n
\n
handleClick(1)} className={` ${stickBgColor.one ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 group-active:bg-new2-20 group-focus:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Single Adult: $\n {tiers?.single_member || tiers?.insured_single_member} per month\n \n \n Allows access for only account holder\n \n
\n
\n \n
handleClick(2)} className={`${stickBgColor.two ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (2 members): $\n {tiers?.family_2_members || tiers?.insured_family_2_members} per\n month\n \n \n Allows access for account holder plus one other family member\n \n
\n
\n \n
handleClick(3)} className={`${stickBgColor.three ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (3 members): $\n {tiers?.family_3_members || tiers?.insured_family_3_members} per\n month\n \n \n Allows access for account holder plus 2 other family members\n \n
\n
\n \n
handleClick(4)} className={`${stickBgColor.four ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (4+ members): $\n {tiers?.family_4_members_plus || tiers?.insured_family_4_members_plus}{\" \"}\n per month\n \n \n Allows access for account holder plus 3 or more family members\n \n
\n
\n
\n
;\n};\nexport default PriceTier;","\"use client\";\n\nimport React, { createContext, useState, useContext, useEffect, useCallback, useMemo } from \"react\";\nimport { useRouter } from \"next/navigation\";\nimport { AUTH_TOKEN_KEY } from \"../resources/resources\";\nimport { setAuthorizationToken } from \"../services/api\";\nimport { Result } from \"antd\";\nimport Link from \"next/link\";\nimport { LoadingScreen } from \"../components/LoadingScreen\";\nconst AuthContext = createContext({\n currentUser: null,\n logout: () => {}\n});\nconst AuthProvider = ({\n children\n}) => {\n const [isAuthenticated, setIsAuthenticated] = useState(false);\n const [isDrawerOpen, setIsDrawerOpen] = useState(false);\n const [loading, setLoading] = useState(true);\n const [patientCardDetails, setPatientCardDetails] = useState(null); // check BookingProvider to see if the one defined there is the one actually in use.\n\n // omoh, this should move into something else but can be here for now. TODO: make a notifications context to allow opening/closing the drawer from any page other than '/home/dashboard'\n const handleDrawer = () => {\n setIsDrawerOpen(prev => {\n return !prev;\n });\n };\n const router = useRouter();\n useEffect(() => {\n const getAuthUser = async () => {\n try {\n const token = localStorage.getItem(AUTH_TOKEN_KEY);\n token && setAuthorizationToken(token);\n token ? setIsAuthenticated(true) : setIsAuthenticated(false);\n } catch (e) {\n setIsAuthenticated(false);\n console.error(\"error in auth provider:\", e);\n } finally {\n setLoading(false);\n }\n };\n getAuthUser();\n }, []);\n const logout = useCallback(() => {\n setLoading(true);\n localStorage.removeItem(AUTH_TOKEN_KEY);\n setIsAuthenticated(false);\n setAuthorizationToken(null);\n router.replace(\"/\");\n setLoading(false);\n }, [router]); //router is not likely to change, so it's fine to remove it from the dependency list but check thoroughly first\n\n const value = useMemo(() => ({\n logout,\n isDrawerOpen,\n handleDrawer,\n patientCardDetails,\n setPatientCardDetails\n }), [logout, isDrawerOpen, handleDrawer, patientCardDetails, setPatientCardDetails]);\n if (loading) {\n return ;\n }\n if (!isAuthenticated && !loading) {\n return
\n \n Back Home\n } />\n
;\n }\n return {children};\n};\nconst useAuth = () => {\n const context = useContext(AuthContext);\n if (context === undefined) {\n throw Error(\"useAuth() MUST BE USED WITHIN AN !!!\");\n }\n return context;\n};\nexport { AuthProvider, useAuth };","\"use client\";\n\nimport React, { createContext, useContext, useState, useMemo } from \"react\";\nexport const MembershipContext = createContext({\n setPractices: () => {}\n});\nconst MembershipProvider = ({\n children\n}) => {\n const [practices, setPractices] = useState([]);\n const [selectedPractice, setSelectedPractice] = useState({});\n const [selectedTier, setSelectedTier] = useState(\"\");\n const [selectedInsurance, setSelectedInsurance] = useState(\"\");\n const [cardVerified, setCardVerified] = useState(false);\n const [zipcode, setZipcode] = useState(\"\");\n const values = useMemo(() => ({\n practices,\n setPractices,\n selectedPractice,\n setSelectedPractice,\n selectedTier,\n setSelectedTier,\n selectedInsurance,\n setSelectedInsurance,\n cardVerified,\n setCardVerified,\n zipcode,\n setZipcode\n }), [practices, setPractices, selectedPractice, setSelectedPractice, selectedTier, setSelectedTier, selectedInsurance, setSelectedInsurance, cardVerified, setCardVerified, zipcode, setZipcode]);\n return \n {children}\n ;\n};\nconst useMembership = () => {\n const context = useContext(MembershipContext);\n if (context === undefined) {\n throw Error(\"useMembership() MUST BE USED WITHIN A !!!\");\n }\n return context;\n};\nexport { MembershipProvider, useMembership };","// PreviousPathContext.js\n\"use client\";\n\nimport { createContext, useContext, useState } from \"react\";\nconst PreviousPathContext = createContext();\nexport const PreviousPathProvider = ({\n children\n}) => {\n const [previousPath, setPreviousPath] = useState(null);\n return \n {children}\n ;\n};\nexport const usePreviousPath = () => useContext(PreviousPathContext);","\"use client\";\n\nimport { useEffect, useState } from \"react\";\nimport { Input, Select, Form, Button, Pagination, DatePicker } from \"antd\";\nimport axios from \"axios\";\nimport { baseUrl, supportedInsurances } from \"../../resources/resources\";\nimport HomeHeader2 from \"../../components/HomeHeader2\";\nimport Image from \"next/image\";\nimport { LeftCircleOutlined, SearchOutlined } from \"@ant-design/icons\";\nimport { AuthService } from \"../../services/auth.service\";\nimport PracticeCard from \"../../components/PracticeCard\";\nimport PriceTier from \"../../components/PriceTier\";\nimport { useMembership } from \"../../contexts/MembershipProvider\";\nimport { useStripe, useElements, CardNumberElement, CardExpiryElement, CardCvcElement } from \"@stripe/react-stripe-js\";\nimport dayjs from \"dayjs\";\nimport customParseFormat from \"dayjs/plugin/customParseFormat\";\nimport { error, success } from \"../../components/Modals\";\nimport { usaStates } from \"../../resources/resources\";\nimport { BookingService } from \"../../services/booking.service\";\ndayjs.extend(customParseFormat);\n\n// eslint-disable-next-line arrow-body-style\nconst disabledDate = current => {\n // Can not select days after today\n return current && current > dayjs().startOf(\"day\");\n};\nconst CARD_ELEMENT_OPTIONS = {\n style: {\n base: {\n fontSize: \"16px\",\n backgroundColor: \"#ffffff\",\n lineHeight: \"50px\",\n borderRadius: \"4px\",\n padding: \"4px\",\n color: \"#32325d\",\n \"::placeholder\": {\n color: \"#aab7c4\"\n }\n },\n invalid: {\n color: \"#fa755a\"\n }\n }\n};\nexport default function Membership() {\n const [step, setStep] = useState(1);\n const CheckInsurance = () => {\n const [insuranceDetails, setInsuranceDetails] = useState({\n insurance: \"\",\n zipcode: \"\"\n });\n const [subscribeEmail, setSubscribeEmail] = useState(\"\");\n const [insuranceList, setInsuranceList] = useState([]);\n const [cannotSeeZipcode, setCannotSeeZipcode] = useState(false);\n const handleChange = (key, value) => {\n setInsuranceDetails(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n };\n const getListOfInsurances = async () => {\n try {\n const res = await AuthService.getProviderInsurance();\n console.log(\"insurance list:\", res);\n if (res.data.status === \"success\") {\n const formattedData = Array.from(new Set(res.data.data.map(item => item.toLowerCase()))).map(item => ({\n label: item.toLowerCase().replace(/\\b\\w/g, char => char.toUpperCase()),\n // Capitalize each word\n value: item.toLowerCase()\n }));\n\n // Prepend the default option\n const finalList = [{\n label: \"No insurance/Not included\",\n value: \"no_insurance\"\n }, ...formattedData];\n setInsuranceList(finalList);\n }\n } catch (error) {\n console.error(\"Failed to fetch insurance list:\", error);\n }\n };\n const {\n setPractices,\n setSelectedInsurance,\n setZipcode\n } = useMembership();\n const disable = insuranceDetails.zipcode.length < 5;\n const handleSubmit = async () => {\n console.log(\"form:\", insuranceDetails);\n try {\n const response = await AuthService.requestMembership(insuranceDetails);\n console.log(\"ins:\", response);\n if (response.data.status === \"success\") {\n const providers = response.data.data.result;\n setSelectedInsurance(insuranceDetails?.insurance);\n setZipcode(insuranceDetails?.zipcode);\n\n // Use a Map to group by practice_name\n const groupMap = new Map();\n providers.forEach(providerItem => {\n const rawPracticeName = providerItem?.provider?.health_details?.practice_name?.trim() || \"Unknown\";\n const practiceName = rawPracticeName.toLowerCase();\n if (!groupMap.has(practiceName)) {\n groupMap.set(practiceName, {\n practice_name: rawPracticeName,\n smallest_value: providerItem?.provider?.health_details?.smallest_value || null,\n providers: []\n });\n }\n groupMap.get(practiceName).providers.push(providerItem.provider);\n });\n const groupedByPracticeName = Array.from(groupMap.values());\n setPractices(() => groupedByPracticeName);\n console.log(\"Grouped providers by practice_name:\", groupedByPracticeName);\n handleNext();\n }\n if (response.data.status === \"failure\") {\n setCannotSeeZipcode(true);\n }\n } catch (e) {\n if (e.response.data.status === \"failure\" && e.response.data.message === \"No practitioners found matching the criteria\") {\n setCannotSeeZipcode(true);\n }\n console.log(\"error:\", e);\n }\n };\n const handleNext = async () => {\n setStep(prev => prev + 1);\n };\n const subscribeNewsletter = async () => {\n try {\n const response = await axios.post(baseUrl + \"/authentication/save_interested_user_email/\", {\n email: subscribeEmail\n }, {\n headers: {\n \"Content-Type\": \"application/json\"\n }\n });\n if (response.data.status === \"success\") {\n // setSubscribetext(\"done!\");\n success(\"Thanks!\", \"We will notify you once we are available in your region.\", () => setCannotSeeZipcode(false));\n }\n if (response.data.status === \"failure\") {\n // setSubscribetext(\"done!\");\n }\n } catch (err) {\n console.error(\"Error submitting email:\", err);\n }\n };\n useEffect(() => {\n getListOfInsurances();\n }, []);\n return
\n
\n
\n

\n We bill your insurance for your medical expenses and charge a\n monthly membership for a superior experience.\n

\n

\n Membership helps us build the best technology to deliver at home\n medical care, labs and vaccines to you\n

\n

Let's get started

\n
\n
\n

\n Select your Insurance\n

\n

\n Start by selecting your insurance provider\n

\n
\n \n {\n const value = e.target.value;\n // Allow only numbers and limit to 5 digits\n if (/^\\d*$/.test(value) && value.length <= 5) {\n handleChange(\"zipcode\", value);\n }\n }} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n {cannotSeeZipcode ?
\n

\n Sorry we are not available in this region\n

\n

\n Enter your email and we will let you know when we are around\n your area\n

\n \n
\n setSubscribeEmail(e.target.value)} />\n \n
\n
\n
: \"\"}\n \n
\n
\n
\n

\n Here is what membership gets you\n

\n
\n
\n
\n \"v\"\n

Access to technology for easy scheduling

\n
\n
\n \"v\"\n

\n Concierge service with virtual and in-person consultation at\n home or preferred location\n

\n
\n
\n \"v\"\n

At-home labs and vaccine administration

\n
\n
\n \"v\"\n

Same day and expedited appointment

\n
\n
\n \"v\"\n

\n Personalized preventive health plans to keep you out of urgent\n care or emergency rooms\n

\n
\n
\n \"v\"\n

Extended and unrushed visits

\n
\n
\n
\n
\n
;\n };\n const ChooseProviderPractice = () => {\n const {\n practices,\n setSelectedPractice,\n zipcode,\n selectedPractice\n } = useMembership();\n const handleSelectedPractice = item => {\n console.log(\"selected practice\", item);\n setSelectedPractice(item);\n handleNext();\n };\n const handlePrev = () => {\n setStep(prev => prev - 1);\n };\n const handleNext = async () => {\n setStep(prev => prev + 1);\n };\n const itemRender = (_, type, originalElement) => {\n if (type === \"prev\") {\n return {};\n }\n if (type === \"next\") {\n return Next;\n }\n return originalElement;\n };\n return
\n
\n
\n
\n \n Your zip code: {zipcode ? zipcode : \"\"}\n \n \n {practices?.length} Practices are available to choose from\n \n
\n \n
\n
\n
\n

\n Choose your provider practice\n

\n

\n Your practice is a group of providers that will be available to\n deliver on demand treatment to you when and where you need it. You\n can always change you practice in your account profile\n

\n } className=\"w-full sm:w-2/3 h-14 px-2 my-5\" placeholder=\"Find a practice\" data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n\n
\n Selected practice\n {selectedPractice?.practice_name}\n
\n\n {practices?.map((item, index) => {\n return handleSelectedPractice(item)} key={index} practiceName={item?.practice_name} price={item?.smallest_value}>\n {item?.providers?.map((provider, index) => {\n return
\n
\n \n {provider.photo ? \"dr\" : \"\"}\n {provider.first_name + \" \" + provider.last_name}\n \n \n {\"5/5\"}\n \n
\n \n {provider.headline}\n \n
;\n })}\n
;\n })}\n\n
\n \n
\n
\n
\n
;\n };\n const ChooseMembershipTier = () => {\n const [tiers, setTiers] = useState({});\n const {\n selectedPractice,\n selectedInsurance\n } = useMembership();\n const getPriceTier = async () => {\n try {\n const res = await AuthService.filterPractice(selectedInsurance === \"no_insurance\" ? \"individual\" : \"insured\", selectedPractice?.providers[0].health_details.practice_id);\n console.log(\"tiers:\", res);\n if (res.data.status === \"success\") {\n setTiers(res.data.data[0]);\n }\n } catch (e) {\n console.log(\"eeeeeeee:\", e);\n }\n };\n useEffect(() => {\n getPriceTier();\n }, []);\n const handleNext = async () => {\n setStep(prev => prev + 1);\n };\n const handlePrev = () => {\n setStep(prev => prev - 1);\n };\n\n // const handleSelectedTier = () => {\n // setSelectedTier(tiers?.single_member);\n // handleNext();\n // };\n\n return
\n
\n
\n
\n Selected Practice\n \n {selectedPractice?.practice_name}\n \n
\n \n
\n
\n
\n \n Choose Your Membership Tier\n \n \n Select the option that best suits you to have a trusted provider\n group that will work with you to stay healthy. You can always\n change your selection in your account profile\n \n
\n
\n
\n

\n All memberships require a 3-month minimum commitment.\n

\n
\n handleNext()} data-sentry-element=\"PriceTier\" data-sentry-source-file=\"page.jsx\" />\n
\n
\n
\n
;\n };\n const CompleteYourSignUp = () => {\n const [onboardDetails, setOnboardDetails] = useState({\n fullname: \"\",\n first_name: \"\",\n last_name: \"\",\n date_of_birth: \"\",\n email: \"\",\n address: \"\",\n city: \"\",\n state: \"\",\n zip_code: \"\",\n payment_method_id: \"\",\n membership_plan: \"\",\n practice_name: \"\",\n insurance_detail: \"\"\n });\n const {\n selectedPractice,\n selectedTier,\n selectedInsurance\n } = useMembership();\n const stripe = useStripe();\n const elements = useElements();\n const handleValidatePaymentMethod = async formData => {\n try {\n const response = await AuthService.validatePmMethod(formData);\n console.log(\"validating pm method:\", response);\n if (response?.data?.status === \"success\") {\n const updatedDetails = {\n ...onboardDetails,\n payment_method_id: formData.payment_method_id,\n membership_plan: selectedTier.toString(),\n practice_name: selectedPractice.practice_name,\n insurance_detail: selectedInsurance\n };\n setOnboardDetails(updatedDetails);\n onboardPatient(updatedDetails); // Passing updated details here\n }\n if (response?.data?.status === \"failure\") {\n // error(\"Oops!\", response?.data?.message?.message, () => null);\n }\n } catch (err) {\n console.log(\"error validating PmMethod:\", err);\n if (err?.response?.data?.status === \"failure\") {\n // error(\"Oops!\", err?.response?.data?.message?.message, () => null);\n }\n }\n };\n const parseName = fullname => {\n const titles = [\"mr\", \"mrs\", \"sir\", \"dr\"];\n let nameParts = fullname.toLowerCase().split(\" \");\n if (titles.includes(nameParts[0])) {\n nameParts.shift();\n }\n const firstName = nameParts[0]?.charAt(0).toUpperCase() + nameParts[0]?.slice(1);\n const lastName = nameParts.slice(1).length > 0 ? nameParts.slice(1).join(\" \").charAt(0).toUpperCase() + nameParts.slice(1).join(\" \").slice(1) : \"\";\n return {\n first_name: firstName,\n last_name: lastName\n };\n };\n const onboardPatient = async details => {\n // console.log(\"form:\", onboardDetails);\n const {\n first_name,\n last_name\n } = parseName(details?.fullname);\n let prevalues = {\n ...details,\n first_name,\n last_name\n };\n try {\n const res = await AuthService.newOnboardPatient(prevalues);\n console.log(\"onboarded:\", res);\n if (res.data.status === \"success\") {\n handleNext();\n }\n } catch (e) {\n console.log(\"cannot onboard:\", e);\n if (e.response.data.status === \"failure\") {\n error(\"Oops!\", e.response.data.message, () => null);\n }\n }\n console.log(\"form:\", prevalues);\n };\n const handleChange = (key, value) => {\n setOnboardDetails(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n };\n const handleNext = async () => {\n setStep(prev => prev + 1);\n };\n const handlePrev = () => {\n setStep(prev => prev - 1);\n };\n const disable = !onboardDetails.fullname || !onboardDetails.date_of_birth || !onboardDetails.email || !onboardDetails.address || !onboardDetails.city || !onboardDetails.state || !onboardDetails.zip_code;\n const handleSubmit = async () => {\n console.log(\"form:\", onboardDetails);\n if (!stripe || !elements) {\n return;\n }\n let email = onboardDetails.email;\n let zipCode = onboardDetails.zip_code;\n const cardNumberElement = elements.getElement(CardNumberElement);\n const cardExpiryElement = elements.getElement(CardExpiryElement);\n const cardCvCElement = elements.getElement(CardCvcElement);\n if (!cardNumberElement || !cardExpiryElement || !cardCvCElement) {\n setError(\"Card element is not loaded. Please try again.\");\n return;\n }\n const {\n error,\n paymentMethod\n } = await stripe.createPaymentMethod({\n type: \"card\",\n card: elements.getElement(CardNumberElement),\n billing_details: {\n email,\n address: {\n postal_code: zipCode\n }\n }\n });\n if (error) {\n console.log(\"from stripe:\", error.message);\n } else {\n const formData = {\n email: email,\n payment_method_id: paymentMethod.id\n };\n handleChange(\"payment_method_id\", paymentMethod.id);\n handleValidatePaymentMethod(formData);\n }\n };\n return
\n
\n

Complete your sign up

\n
\n
\n \n handleChange(\"fullname\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n
\n
\n \n {\n if (date) {\n // Format the date for server as DD-MM-YYYY\n const formattedDate = date.format(\"DD-MM-YYYY\");\n handleChange(\"date_of_birth\", formattedDate); // Store formatted date for server\n } else {\n handleChange(\"date_of_birth\", null); // Handle case where the date is cleared\n }\n }} data-sentry-element=\"DatePicker\" data-sentry-source-file=\"page.jsx\" />\n \n \n handleChange(\"email\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n
\n
\n \n {/* */}\n \n \n
\n
\n \n {/* */}\n \n \n \n {/* */}\n \n \n
\n
\n \n handleChange(\"address\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n
\n
\n \n handleChange(\"city\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n
\n \n {\n const value = e.target.value;\n // Allow only numbers and limit to 5 digits\n if (/^\\d*$/.test(value) && value.length <= 5) {\n handleChange(\"zip_code\", value);\n }\n }} data-sentry-element=\"Input\" data-sentry-source-file=\"page.jsx\" />\n \n
\n
\n \n
\n
\n
;\n };\n return
\n \n {step === 1 && }\n\n {/* SECOND STEP STARTS HERE */}\n {step === 2 && }\n\n {/* THIRD STEP STARTS HERE */}\n {step === 3 && }\n\n {/* FOURTH STEP STARTS HERE */}\n {step === 4 && }\n\n {/* LAST STEP STARTS HERE */}\n {step === 5 &&
\n
\n \"thanks\"\n
\n
}\n
;\n}"],"names":["Promise","resolve","then","__webpack_require__","bind","api","axios","create","baseURL","process","headers","setAuthorizationToken","defaults","common","Authorization","concat","token","noAuthApi","AuthService","createPractitioner","formData","res","post","endpoints","auth","onboardPractitioner","data","status","localStorage","setItem","AUTH_TOKEN_KEY","createPatient","onboardPatient","loginUser","email","password","createTempUser","createTempPatient","verifyEmail","sendOTP","confirmEmail","validateOTP","validatePmMethod","verifyPmMethod","stripeOnboarding","stripeUpdate","put","saveProviderBankAccount","bankAccount","requestPasswordOTP","sendForgotPasswordOTP","resetPassword","resetForgotPassword","getAuthenticatedPatient","get","getAuthPatient","requestMembership","formdata","newOnboardPatient","editOnboardPatientProfile","editOnboardingProfile","encodeURIComponent","getProviderInsurance","booking","getAllInsuranceList","getOnboardingPatientDetail","userId","getNewPatientDetail","getListOfPractices","dashboard","filterPractice","membership_type","practice_id","BookingService","getGeneralBookingDetails","makeBookingRequest","bookingRequest","adminMakeBookingRequest","patientId","admin","getPatientAndProvidderDetailsWithBookingId","id","getProviderAndPatientDetailsFromBooingId","homePageBooking","getProvidersBasedOnCareTimeframe","directBooking","getProviderBasedOnCareTimeframe","getOthersBooking","getOtherProvidersBasedOnCareTimeframe","editPatientAddress","editAddress","verifyStripePaymentMethod","finalizeBooking","adminFinalizeBooking","patientID","careHasBeenCompleted","makePayment","validateBookingInsurance","adminValidateBookingInsurance","validateBooking","adminValidateStripePaymentMethod","asn_LeftCircleOutlined","icons_LeftCircleOutlined","React","props","ref","AntdIcon","_extends","icon","LeftCircleOutlinedSvg","asn_LeftOutlined","icons_LeftOutlined","LeftOutlinedSvg","asn_MenuOutlined","icons_MenuOutlined","MenuOutlinedSvg","asn_RightOutlined","icons_RightOutlined","RightOutlinedSvg","genSharedDividerStyle","componentCls","sizePaddingEdgeHorizontal","colorSplit","lineWidth","textPaddingInline","orientationMargin","verticalMarginInline","Object","assign","resetComponent","borderBlockStart","unit","position","top","display","height","marginInline","marginBlock","verticalAlign","borderTop","borderInlineStart","clear","width","minWidth","margin","dividerHorizontalGutterMargin","alignItems","dividerHorizontalWithTextGutterMargin","color","colorTextHeading","fontWeight","fontSize","fontSizeLG","whiteSpace","textAlign","borderBlockStartColor","borderBlockEnd","transform","content","paddingBlock","paddingInline","background","borderColor","borderStyle","borderWidth","borderInlineStartWidth","borderInlineEnd","colorText","paddingInlineStart","paddingInlineEnd","divider_style","genStyleHooks","mergeToken","marginLG","marginXS","unitless","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","divider","getPrefixCls","direction","ConfigContext","prefixCls","customizePrefixCls","type","orientation","className","rootClassName","children","dashed","variant","plain","style","restProps","wrapCSSVar","hashId","cssVarCls","useStyle","hasChildren","hasCustomMarginLeft","hasCustomMarginRight","classString","classNames","memoizedOrientationMargin","test","Number","innerStyle","marginLeft","marginRight","role","__webpack_exports__","Z","mobileNav","setMobileNav","useState","previousPath","setPreviousPath","usePreviousPath","pathname","usePathname","handlePrevPath","toggleNav","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","data-sentry-component","data-sentry-source-file","jsxs","Link","href","data-sentry-element","Image","src","alt","nav","ul","li","onClick","CloseOutlined","MenuOutlined","LoadingScreen","Spin","success","title","handleOk","Modal","onOk","centered","error","GlobalDrawer","open","close","param","Fragment","Drawer","closeIcon","borderRadius","placement","onClose","extra","Space","button","practiceName","price","span","handleNext","tiers","stickBgColor","setStickBgColor","one","two","three","four","setSelectedTier","useMembership","handleClick","num","single_member","prev","family_2_members","family_3_members","family_4_members_plus","insured_single_member","Divider","insured_family_2_members","insured_family_3_members","insured_family_4_members_plus","AuthContext","createContext","currentUser","logout","AuthProvider","isAuthenticated","setIsAuthenticated","isDrawerOpen","setIsDrawerOpen","loading","setLoading","patientCardDetails","setPatientCardDetails","handleDrawer","router","useRouter","useEffect","getAuthUser","getItem","console","useCallback","removeItem","replace","value","useMemo","Provider","Result","subTitle","useAuth","context","useContext","undefined","Error","MembershipContext","setPractices","MembershipProvider","practices","selectedPractice","setSelectedPractice","selectedTier","selectedInsurance","setSelectedInsurance","cardVerified","setCardVerified","zipcode","setZipcode","values","PreviousPathContext","PreviousPathProvider","dayjs","customParseFormat","disabledDate","current","startOf","CARD_ELEMENT_OPTIONS","base","backgroundColor","lineHeight","padding","invalid","Membership","step","setStep","section","HomeHeader2","insuranceDetails","setInsuranceDetails","insurance","subscribeEmail","setSubscribeEmail","insuranceList","setInsuranceList","cannotSeeZipcode","setCannotSeeZipcode","handleChange","key","prevInfo","getListOfInsurances","log","formattedData","Array","from","Set","map","item","toLowerCase","label","char","toUpperCase","finalList","disable","handleSubmit","response","providers","result","groupMap","Map","forEach","providerItem","rawPracticeName","provider","health_details","practice_name","trim","has","set","smallest_value","push","groupedByPracticeName","message","subscribeNewsletter","baseUrl","err","Form","layout","name","Item","Select","placeholder","onChange","options","disabled","validateStatus","help","hasFeedback","Input","maxLength","target","Button","h1","br","CheckInsurance","handleSelectedPractice","prefix","index","PracticeCard","photo","first_name","last_name","headline","Pagination","total","itemRender","_","originalElement","a","LeftCircleOutlined","ChooseProviderPractice","setTiers","getPriceTier","PriceTier","ChooseMembershipTier","onboardDetails","setOnboardDetails","fullname","date_of_birth","address","city","state","zip_code","payment_method_id","membership_plan","insurance_detail","stripe","useStripe","elements","useElements","handleValidatePaymentMethod","updatedDetails","toString","parseName","nameParts","split","titles","includes","shift","charAt","slice","join","details","prevalues","zipCode","cardNumberElement","getElement","CardNumberElement","cardExpiryElement","CardExpiryElement","cardCvCElement","CardCvcElement","setError","paymentMethod","createPaymentMethod","card","billing_details","postal_code","DatePicker","format","date","dateString","usaStates","CompleteYourSignUp"],"sourceRoot":""}